]>
Commit | Line | Data |
---|---|---|
7ece3881 GJL |
1 | 2011-08-11 Georg-Johann Lay <avr@gjlay.de> |
2 | ||
3 | PR target/49687 | |
4 | * config/avr/avr.md (smulqi3_highpart): New insn. | |
5 | (umulqi3_highpart): New insn. | |
6 | (*subqi3.ashiftrt7): New insn. | |
7 | (smulhi3_highpart): New expander. | |
8 | (umulhi3_highpart): Nex expander. | |
9 | (*smulhi3_highpart_call): New insn. | |
10 | (*umulhi3_highpart_call): New insn. | |
11 | (extend_u): New code attribute. | |
12 | (extend_prefix): Rename code attribute to extend_su. | |
13 | * config/avr/avr.c (avr_rtx_costs): Report costs of highpart of | |
14 | widening QI/HI multiply. | |
15 | ||
fb2c2b16 IR |
16 | 2011-08-11 Ira Rosen <ira.rosen@linaro.org> |
17 | ||
18 | PR tree-optimization/50039 | |
19 | * tree-vect-patterns.c (vect_operation_fits_smaller_type): Check | |
20 | that DEF_STMT has a stmt_vec_info. | |
21 | ||
b126811e RG |
22 | 2011-08-10 Richard Guenther <rguenther@suse.de> |
23 | ||
24 | * tree.h (can_trust_pointer_alignment): Remove. | |
25 | * builtins.c (can_trust_pointer_alignment): Remove. | |
26 | ||
0e3a99ae AS |
27 | 2011-08-10 Artjoms Sinkarovs <artyom.shinakroff@gmail.com> |
28 | ||
29 | * c-typeck.c (scalar_to_vector): New function. Try scalar to | |
30 | vector conversion. | |
31 | (stv_conv): New enum for scalar_to_vector return type. | |
32 | (build_binary_op): Adjust. | |
33 | * doc/extend.texi: Description of scalar to vector expansion. | |
34 | ||
0eb77834 RG |
35 | 2011-08-10 Richard Guenther <rguenther@suse.de> |
36 | ||
37 | * tree.h (get_pointer_alignment): Remove max-align argument. | |
38 | (get_object_alignment): Likewise. | |
39 | * builtins.c (get_object_alignment_1): Adjust. | |
40 | (get_object_alignment): Remove max-align argument. | |
41 | (get_pointer_alignment): Likewise. | |
42 | (expand_builtin_strlen): Adjust. | |
43 | (expand_builtin_memcpy): Likewise. | |
44 | (expand_builtin_mempcpy_args): Likewise. | |
45 | (expand_builtin_strncpy): Likewise. | |
46 | (expand_builtin_memset_args): Likewise. | |
47 | (expand_builtin_memcmp): Likewise. | |
48 | (expand_builtin_strcmp): Likewise. | |
49 | (expand_builtin_strncmp): Likewise. | |
50 | (get_builtin_sync_mem): Likewise. | |
51 | (fold_builtin_memset): Likewise. | |
52 | (fold_builtin_memory_op): Likewise. | |
53 | (expand_builtin_memory_chk): Likewise. | |
54 | * emit-rtl.c (get_mem_align_offset): Likewise. | |
55 | (set_mem_attributes_minus_bitpos): Likewise. | |
56 | * expr.c (expand_assignment): Likewise. | |
57 | (expand_expr_real_1): Likewise. | |
58 | * tree-sra.c (tree_non_mode_aligned_mem_p): Likewise. | |
59 | * tree-ssa-forwprop.c (simplify_builtin_call): Likewise. | |
60 | * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Likewise. | |
61 | * tree-vect-data-refs.c (vect_compute_data_ref_alignment): Likewise. | |
62 | * value-prof.c (gimple_stringops_transform): Likewise. | |
63 | ||
1c7836f0 PM |
64 | 2011-08-10 Paulo J. Matos <paulo.matos@csr.com> |
65 | ||
66 | * doc/tm.texi.in (CLASS_MAX_NREGS): Fix typo. | |
67 | * doc/tm.texi: Regenerate. | |
68 | ||
4ada410b GJL |
69 | 2011-08-10 Georg-Johann Lay <avr@gjlay.de> |
70 | ||
71 | PR target/29560 | |
72 | * config/avr/avr.md (*ashlhiqi3): New insn-and-split. | |
73 | (*ashl<extend_prefix>qihiqi3): New insn-and-splits. | |
74 | (*ashl<extend_prefix>qihiqi3.mem): New insn-and-splits. | |
75 | Add peephole2 to map ashlhi3 to ashlqi3 if high part of | |
76 | shift target is unused. | |
77 | ||
d1f4e15f RG |
78 | 2011-08-10 Richard Guenther <rguenther@suse.de> |
79 | ||
80 | PR tree-optimization/49937 | |
81 | * tree-ssa-ccp.c (get_value_from_alignment): Re-implement | |
82 | using get_object_alignment_1. | |
83 | ||
2813f1b1 UB |
84 | 2011-08-09 Uros Bizjak <ubizjak@gmail.com> |
85 | ||
86 | * config/i386/i386.c (ix86_emit_i387_round): New function. | |
87 | * config/i386/i386-protos.h (ix86_emit_i387_round): Declare. | |
88 | * config/i386/i386.md (round<mode>2): Use X87MODEF mode iterator. | |
89 | Use ix86_emit_i387_round to expand round function for i387 math. | |
90 | (lround<X87MODEF:mode><SWI248x:mode>2): Use X87MODEF mode iterator. | |
91 | Use ix86_emit_i387_round to expand {l,ll}round function for i387 math. | |
92 | ||
c6412d86 RO |
93 | 2011-08-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
94 | ||
95 | * config/sync.c: Move to ../libgcc. | |
2813f1b1 | 96 | * Makefile.in (libgcc.mvars): Remove LIBGCC_SYNC, LIBGCC_SYNC_CFLAGS. |
c6412d86 RO |
97 | * config/mips/t-libgcc-mips16 (LIBGCC_SYNC, LIBGCC_SYNC_CFLAGS): |
98 | Remove. | |
99 | ||
6e9ee54c AS |
100 | 2011-08-09 Anatoly Sokolov <aesok@post.ru> |
101 | ||
102 | * config/mmix/mmix.h (REGISTER_MOVE_COST): Remove macro. | |
103 | * config/mmix/mmix-protos.h (mmix_register_move_cost): Remove. | |
104 | * config/mmix/mmix.c (mmix_register_move_cost): Make static. | |
105 | Change 'from' and 'to' arguments type to reg_class_t. | |
106 | (TARGET_REGISTER_MOVE_COST): Define. | |
107 | ||
394b1520 VM |
108 | 2011-08-09 Vladimir Makarov <vmakarov@redhat.com> |
109 | ||
110 | PR target/50026 | |
111 | Revert: | |
112 | PR rtl-optimization/49990 | |
113 | * ira-costs.c (print_allocno_costs, print_pseudo_costs): Don't | |
114 | ignore classes which can not change mode. | |
115 | (find_costs_and_classes): Ditto. | |
116 | ||
4001900f RG |
117 | 2011-08-09 Richard Guenther <rguenther@suse.de> |
118 | ||
119 | * tree-vrp.c (zero_nonzero_bits_from_vr): Also return precise | |
120 | information for ranges with only negative values. | |
121 | (extract_range_from_binary_expr_1): Adjust BIT_IOR_EXPR and | |
122 | BIT_AND_EXPR handling to handle ranges with negative values. | |
123 | ||
6cf9eb27 KY |
124 | 2011-08-09 Kirill Yukhin <kirill.yukhin@intel.com> |
125 | ||
126 | * config/i386/i386.c: Remove traling spaces. | |
127 | * config/i386/sse.md: Likewise. | |
bbb20f2f | 128 | (*fma_fmadd_<mode>): Fix insn alternative 1 mnemonic. |
6cf9eb27 KY |
129 | (*fma_fmsub_<mode>): Likewise. |
130 | (*fma_fnmadd_<mode>): Likewise. | |
131 | (*fma_fnmsub_<mode>): Likewise. | |
132 | ||
d6257cf0 NC |
133 | 2011-08-09 Nick Clifton <nickc@redhat.com> |
134 | ||
135 | * config/rx/rx.md: Disable extender peepholes at -O3. | |
136 | ||
3968b050 UB |
137 | 2011-08-09 Uros Bizjak <ubizjak@gmail.com> |
138 | ||
139 | PR target/49781 | |
140 | * config/i386/i386.md (reload_noff_load): New. | |
141 | (reload_noff_store): Ditto. | |
142 | * config/i386/i386.c (ix86_secondary_reload): Use | |
143 | CODE_FOR_reload_noff_load and CODE_FOR_reload_noff_store to handle | |
144 | double-word moves from/to non-offsetable addresses instead of | |
145 | generating XMM temporary. | |
146 | ||
2292df60 AS |
147 | 2011-08-09 Anatoly Sokolov <aesok@post.ru> |
148 | ||
149 | * config/mmix/mmix.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): Remove. | |
150 | ||
1684ca6b IR |
151 | 2011-08-09 Ira Rosen <ira.rosen@linaro.org> |
152 | ||
153 | PR tree-optimization/50014 | |
154 | * tree-vect-loop.c (vectorizable_reduction): Get def type before | |
155 | calling vect_get_vec_def_for_stmt_copy (). | |
156 | ||
40118062 VM |
157 | 2011-08-08 Vladimir Makarov <vmakarov@redhat.com> |
158 | ||
159 | PR rtl-optimization/49990 | |
160 | * ira-costs.c (print_allocno_costs, print_pseudo_costs): Don't | |
161 | ignore classes which can not change mode. | |
162 | (find_costs_and_classes): Ditto. | |
163 | ||
8714c21f RH |
164 | 2011-08-08 Richard Henderson <rth@redhat.com> |
165 | ||
166 | PR middle-end/49990 | |
167 | * config/i386/i386.c (ix86_expand_prologue): Call | |
168 | for SEH target gen_prologue_use instead of gen_blockage | |
169 | at prologue's end. | |
170 | ||
1ad663a8 MJ |
171 | 2011-08-08 Martin Jambor <mjambor@suse.cz> |
172 | ||
173 | PR middle-end/49923 | |
174 | * tree-sra.c (access_precludes_ipa_sra_p): Also check access | |
175 | memory alignment. | |
176 | ||
f0efc7aa DN |
177 | 2011-08-08 Diego Novillo <dnovillo@google.com> |
178 | ||
179 | * Makefile.in (LTO_STREAMER_H): Add DIAGNOSTIC_H. | |
180 | (DATA_STREAMER_H): New. | |
181 | (GIMPLE_STREAMER_H): New. | |
182 | (TREE_STREAMER_H): New. | |
183 | (STREAMER_HOOKS_H): New. | |
184 | (OBJS): Add data-streamer.o, data-streamer-in.o, data-streamer-out.o, | |
185 | gimple-streamer-in.o, gimple-streamer-out.o, streamer-hooks.o, | |
186 | tree-streamer.o, tree-streamer-in.o and tree-streamer-out.o. | |
187 | (data-streamer.o): New. | |
188 | (data-streamer-in.o): New. | |
189 | (data-streamer-out.o): New. | |
190 | (gimple-streamer-in.o): New. | |
191 | (gimple-streamer-out.o): New. | |
192 | (streamer-hooks.o): New. | |
193 | (tree-streamer.o): New. | |
194 | (tree-streamer-in.o): New. | |
195 | (tree-streamer-out.o): New. | |
3968b050 | 196 | (lto-cgraph.o): Add dependency on DATA_STREAMER_H and TREE_STREAMER_H. |
f0efc7aa DN |
197 | (lto-streamer-in.o): Add dependency on DATA_STREAMER_H, |
198 | GIMPLE_STREAMER_H and TREE_STREAMER_H. | |
199 | (lto-streamer-out.o): Add dependency on DATA_STREAMER_H, | |
200 | GIMPLE_STREAMER_H and TREE_STREAMER_H. | |
201 | (lto-streamer.o): Add dependency on STREAMER_HOOKS_H. | |
3968b050 | 202 | (ipa-prop.o): Add dependency on DATA_STREAMER_H and TREE_STREAMER_H. |
f0efc7aa DN |
203 | (ipa-inline-analysis.o): Likewise. |
204 | (ipa-pure-const.o): Likewise. | |
205 | * data-streamer-in.c: New. | |
206 | * data-streamer-out.c: New. | |
207 | * data-streamer.c: New. | |
208 | * data-streamer.h: New. | |
209 | * gimple-streamer-in.c: New. | |
210 | * gimple-streamer-out.c: New. | |
211 | * gimple-streamer.h: New. | |
212 | * ipa-inline-analysis.c: Include data-streamer.h. | |
213 | * ipa-prop.c: Include data-streamer.h. | |
214 | * ipa-pure-const.c: Include data-streamer.h. | |
215 | * lto-cgraph.c: Include data-streamer.h. | |
216 | * lto-section-in.c (lto_input_uleb128): Move to data-streamer-in.c. | |
217 | (lto_input_widest_uint_uleb128): Likewise. | |
218 | (lto_input_sleb128): Likewise. | |
219 | (bp_unpack_var_len_unsigned): Likewise. | |
220 | (bp_unpack_var_len_int): Likewise. | |
221 | * lto-section-out.c (lto_output_uleb128_stream): Move to | |
222 | data-streamer-out.c. | |
223 | (lto_output_widest_uint_uleb128_stream): Likewise. | |
224 | (lto_output_sleb128_stream): Likewise. | |
225 | (bp_pack_var_len_unsigned): Likewise. | |
226 | (bp_pack_var_len_int): Likewise. | |
3968b050 | 227 | * lto-streamer-in.c: Include data-streamer.h and gimple-streamer.h. |
f0efc7aa DN |
228 | (struct string_slot): Remove. Update all users. |
229 | (lto_tag_check_set): Make extern. | |
230 | (lto_tag_check_range): Move to lto-streamer.h. | |
231 | (lto_tag_check): Likewise. | |
232 | (hash_string_slot_node): Remove. Update all users. | |
233 | (eq_string_slot_node): Remove. Update all users. | |
234 | (string_for_index): Move to data-streamer-in.c | |
235 | (input_string_internal): Likewise. | |
236 | (input_string_cst): Move to tree-streamer-in.c. | |
237 | (input_identifier): Likewise. | |
238 | (lto_input_string): Move to data-streamer-in.c | |
239 | (input_record_start): Move to data-streamer.h | |
240 | (canon_file_name): Use new definition of struct string_slot | |
3968b050 | 241 | from data-streamer.h. Set S_SLOT.LEN. |
f0efc7aa DN |
242 | (lto_input_location): Make extern. |
243 | (lto_input_chain): Move to tree-streamer-in.c. | |
244 | (lto_init_eh): Make extern. | |
245 | (input_phi): Move to gimple-streamer-in.c. | |
246 | (input_gimple_stmt): Likewise. | |
247 | (input_bb): Likewise. | |
248 | (unpack_ts_base_value_fields): Move to tree-streamer-in.c. | |
249 | (unpack_ts_real_cst_value_fields): Likewise. | |
250 | (unpack_ts_fixed_cst_value_fields): Likewise. | |
251 | (unpack_ts_decl_common_value_fields): Likewise. | |
252 | (unpack_ts_decl_wrtl_value_fields): Likewise. | |
253 | (unpack_ts_decl_with_vis_value_fields): Likewise. | |
254 | (unpack_ts_function_decl_value_fields): Likewise. | |
255 | (unpack_ts_type_common_value_fields): Likewise. | |
256 | (unpack_ts_block_value_fields): Likewise. | |
257 | (unpack_ts_translation_unit_decl_value_fields): Likewise. | |
258 | (unpack_value_fields): Likewise. | |
259 | (lto_materialize_tree): Likewise. | |
260 | (lto_input_ts_common_tree_pointers): Likewise. | |
261 | (lto_input_ts_vector_tree_pointers): Likewise. | |
262 | (lto_input_ts_complex_tree_pointers): Likewise. | |
263 | (lto_input_ts_decl_minimal_tree_pointers): Likewise. | |
264 | (lto_input_ts_decl_common_tree_pointers): Likewise. | |
265 | (lto_input_ts_decl_non_common_tree_pointers): Likewise. | |
266 | (lto_input_ts_decl_with_vis_tree_pointers): Likewise. | |
267 | (lto_input_ts_field_decl_tree_pointers): Likewise. | |
268 | (lto_input_ts_function_decl_tree_pointers): Likewise. | |
269 | (lto_input_ts_type_common_tree_pointers): Likewise. | |
270 | (lto_input_ts_type_non_common_tree_pointers): Likewise. | |
271 | (lto_input_ts_list_tree_pointers): Likewise. | |
272 | (lto_input_ts_vec_tree_pointers): Likewise. | |
273 | (lto_input_ts_exp_tree_pointers): Likewise. | |
274 | (lto_input_ts_block_tree_pointers): Likewise. | |
275 | (lto_input_ts_binfo_tree_pointers): Likewise. | |
276 | (lto_input_ts_constructor_tree_pointers): Likewise. | |
277 | (lto_input_ts_target_option): Likewise. | |
278 | (lto_input_ts_translation_unit_decl_tree_pointers): Likewise. | |
279 | (lto_input_tree_pointers): Likewise. | |
280 | (lto_get_pickled_tree): Likewise. | |
281 | (lto_get_builtin_tree): Likewise. | |
282 | (lto_read_tree): Likewise. | |
283 | (lto_input_integer_cst): Likewise. | |
284 | (lto_input_tree): Likewise. | |
285 | * lto-streamer-out.c: Include data-streamer.h, | |
286 | gimple-streamer.h and streamer-hooks.h. | |
287 | (struct string_slot): Move to data-streamer.h. | |
288 | (hash_string_slot_node): Likewise. | |
289 | (eq_string_slot_node): Likewise. | |
290 | (lto_string_index): Move to data-streamer-out.c. | |
291 | (lto_output_string_with_length): Likewise. | |
292 | (lto_output_string): Likewise. | |
293 | (output_string_cst): Move to tree-streamer-out.c. | |
294 | (output_identifier): Likewise. | |
295 | (output_zero): Move to data-streamer-out.c | |
296 | (output_uleb128): Likewise. | |
297 | (output_sleb128): Likewise. | |
298 | (output_record_start): Move to data-streamer.h | |
299 | (pack_ts_base_value_fields): Move to tree-streamer-out.c. | |
300 | (pack_ts_real_cst_value_fields): Likewise. | |
301 | (pack_ts_fixed_cst_value_fields): Likewise. | |
302 | (pack_ts_decl_common_value_fields): Likewise. | |
303 | (pack_ts_decl_wrtl_value_fields): Likewise. | |
304 | (pack_ts_decl_with_vis_value_fields): Likewise. | |
305 | (pack_ts_function_decl_value_fields): Likewise. | |
306 | (pack_ts_type_common_value_fields): Likewise. | |
307 | (pack_ts_block_value_fields): Likewise. | |
308 | (pack_ts_translation_unit_decl_value_fields): Likewise. | |
309 | (pack_value_fields): Likewise. | |
310 | (lto_output_chain): Likewise. | |
311 | (lto_output_ts_common_tree_pointers): Likewise. | |
312 | (lto_output_ts_vector_tree_pointers): Likewise. | |
313 | (lto_output_ts_complex_tree_pointers): Likewise. | |
314 | (lto_output_ts_decl_minimal_tree_pointers): Likewise. | |
315 | (lto_output_ts_decl_common_tree_pointers): Likewise. | |
316 | (lto_output_ts_decl_non_common_tree_pointers): Likewise. | |
317 | (lto_output_ts_decl_with_vis_tree_pointers): Likewise. | |
318 | (lto_output_ts_field_decl_tree_pointers): Likewise. | |
319 | (lto_output_ts_function_decl_tree_pointers): Likewise. | |
320 | (lto_output_ts_type_common_tree_pointers): Likewise. | |
321 | (lto_output_ts_type_non_common_tree_pointers): Likewise. | |
322 | (lto_output_ts_list_tree_pointers): Likewise. | |
323 | (lto_output_ts_vec_tree_pointers): Likewise. | |
324 | (lto_output_ts_exp_tree_pointers): Likewise. | |
325 | (lto_output_ts_block_tree_pointers): Likewise. | |
326 | (lto_output_ts_binfo_tree_pointers): Likewise. | |
327 | (lto_output_ts_constructor_tree_pointers): Likewise. | |
328 | (lto_output_ts_target_option): Likewise. | |
329 | (lto_output_ts_translation_unit_decl_tree_pointers): Likewise. | |
330 | (lto_output_tree_pointers): Likewise. | |
331 | (lto_output_tree_header): Likewise. | |
332 | (lto_output_builtin_tree): Likewise. | |
333 | (lto_write_tree): Likewise. | |
334 | (lto_output_integer_cst): Likewise. | |
335 | (lto_output_tree): Likewise. | |
336 | (output_phi): Move to gimple-streamer-out.c. | |
337 | (output_gimple_stmt): Likewise. | |
338 | (output_bb): Likewise. | |
339 | * lto-streamer.c: Include tree-streamer.h and streamer-hooks.h. | |
340 | (streamer_hooks): Move to streamer-hooks.c. | |
341 | (check_handled_ts_structures): Move to tree-streamer.c | |
342 | (lto_streamer_cache_add_to_node_array): Likewise. | |
343 | (lto_streamer_cache_insert_1): Likewise. | |
344 | (lto_streamer_cache_insert): Likewise. | |
345 | (lto_streamer_cache_insert_at): Likewise. | |
346 | (lto_streamer_cache_append): Likewise. | |
347 | (lto_streamer_cache_lookup): Likewise. | |
348 | (lto_streamer_cache_get): Likewise. | |
349 | (lto_record_common_node): Likewise. | |
350 | (lto_preload_common_nodes): Likewise. | |
351 | (lto_streamer_cache_create): Likewise. | |
352 | (lto_streamer_cache_delete): Likewise. | |
353 | (streamer_hooks_init): Move to streamer-hooks.c. | |
354 | * lto-streamer.h: Include diagnostic.h | |
355 | (struct output_block, struct lto_input_block, | |
3968b050 | 356 | struct data_in, struct bitpack_d): Remove forward declarations. |
f0efc7aa DN |
357 | (struct bitpack_d): Move to data-streamer.h. |
358 | (struct lto_streamer_cache_d): Move to tree-streamer.h. | |
359 | (struct streamer_hooks): Move to streamer-hooks.h. | |
360 | (bp_pack_var_len_unsigned): Move to data-streamer.h. | |
361 | (bp_pack_var_len_int): Likewise. | |
362 | (bp_unpack_var_len_unsigned): Likewise. | |
363 | (bp_unpack_var_len_int): Likewise. | |
364 | (lto_input_location): Declare. | |
365 | (lto_tag_check_set): Declare. | |
366 | (lto_init_eh): Declare. | |
367 | (lto_output_tree_ref): Declare. | |
368 | (lto_output_location): Declare. | |
369 | (bitpack_create): Move to data-streamer.h. | |
370 | (bp_pack_value): Likewise. | |
371 | (lto_output_bitpack): Likewise. | |
372 | (lto_input_bitpack): Likewise. | |
373 | (bp_unpack_value): Likewise. | |
374 | (lto_output_1_stream): Likewise. | |
375 | (lto_input_1_unsigned): Likewise. | |
376 | (lto_output_int_in_range): Likewise. | |
377 | (lto_input_int_in_range): Likewise. | |
378 | (bp_pack_int_in_range): Likewise. | |
379 | (bp_unpack_int_in_range): Likewise. | |
380 | (lto_output_enum): Likewise. | |
381 | (lto_input_enum): Likewise. | |
382 | (bp_pack_enum): Likewise. | |
383 | (bp_unpack_enum): Likewise. | |
384 | * streamer-hooks.c: New. | |
385 | * streamer-hooks.h: New. | |
386 | * tree-streamer-in.c: New. | |
387 | * tree-streamer-out.c: New. | |
388 | * tree-streamer.c: New. | |
389 | * tree-streamer.h: New. | |
390 | ||
ddaad3c8 RO |
391 | 2011-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
392 | ||
393 | * gthr-posix95.h: Remove. | |
394 | * gthr.h [_PTHREADS95]: Remove. | |
395 | * configure.ac (enable_threads): Remove posix95. | |
396 | * configure: Regenerate. | |
3968b050 | 397 | * doc/install.texi (Configuration, --enable-threads): Remove posix95. |
ddaad3c8 | 398 | |
3968b050 | 399 | 2011-08-08 Uros Bizjak <ubizjak@gmail.com> |
473b30ce UB |
400 | |
401 | PR target/49781 | |
402 | * config/i386/i386.c (ix86_decompose_address): Allow zero-extended | |
403 | SImode addresses. | |
404 | (ix86_print_operand_address): Handle zero-extended addresses. | |
405 | (memory_address_length): Add length of addr32 prefix for | |
406 | zero-extended addresses. | |
407 | (ix86_secondary_reload): Handle moves to/from double-word general | |
408 | registers from/to zero-extended addresses. | |
409 | * config/i386/predicates.md (lea_address_operand): Reject | |
410 | zero-extended operands. | |
411 | ||
cca2207a L |
412 | 2011-08-08 H.J. Lu <hongjiu.lu@intel.com> |
413 | ||
414 | PR other/48007 | |
473b30ce | 415 | * config.gcc (libgcc_tm_file): Add i386/value-unwind.h for Linux/x86. |
cca2207a L |
416 | |
417 | * system.h (REG_VALUE_IN_UNWIND_CONTEXT): Poisoned. | |
418 | (ASSUME_EXTENDED_UNWIND_CONTEXT): Likewise. | |
419 | ||
420 | * unwind-dw2.c (ASSUME_EXTENDED_UNWIND_CONTEXT): New. | |
421 | (_Unwind_Context_Reg_Val): Likewise. | |
422 | (_Unwind_Get_Unwind_Word): Likewise. | |
423 | (_Unwind_Get_Unwind_Context_Reg_Val): Likewise. | |
424 | (_Unwind_Context): Use _Unwind_Context_Reg_Val on the reg field. | |
425 | (_Unwind_IsExtendedContext): Check ASSUME_EXTENDED_UNWIND_CONTEXT | |
426 | for EXTENDED_CONTEXT_BIT. | |
427 | (__frame_state_for): Likewise. | |
428 | (uw_init_context_1): Likewise. | |
429 | (_Unwind_GetGR): Updated. | |
430 | (_Unwind_SetGR): Likewise. | |
431 | (_Unwind_GetGRPtr): Likewise. | |
432 | (_Unwind_SetGRPtr): Likewise. | |
433 | (_Unwind_SetGRValue): Likewise. | |
434 | (_Unwind_GRByValue): Likewise. | |
435 | (uw_install_context_1): Likewise. | |
436 | ||
437 | * doc/tm.texi.in: Document REG_VALUE_IN_UNWIND_CONTEXT and | |
438 | ASSUME_EXTENDED_UNWIND_CONTEXT. | |
439 | * doc/tm.texi: Regenerated. | |
440 | ||
b6ee5bef RO |
441 | 2011-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
442 | ||
443 | * Makefile.in (gengtype$(exeext)): Add $(LDFLAGS). | |
444 | ||
46135ba7 RO |
445 | 2011-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
446 | ||
447 | * doc/invoke.texi (DEC Alpha Options, -mcpu): native support isn't | |
448 | Linux/GNU-specific. | |
449 | (DEC Alpha Options, -mtune): Likewise. | |
450 | (MIPS Options, -march): native is supported on IRIX. | |
451 | ||
e3b3fa45 RO |
452 | 2011-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
453 | ||
454 | * config/sparc/driver-sparc.c: New file. | |
455 | * config/sparc/x-sparc: New file. | |
473b30ce UB |
456 | * config.host: Use driver-sparc.o, sparc/x-sparc on sparc*-*-solaris2*. |
457 | * config/sparc/sparc.opt (native): New value for enum processor_type. | |
e3b3fa45 RO |
458 | * config/sparc/sparc-opts.h (PROCESSOR_NATIVE): Declare. |
459 | * config/sparc/sparc.c (sparc_option_override): Abort if | |
460 | PROCESSOR_NATIVE gets here. | |
461 | * config/sparc/sol2.h [__sparc__] (host_detect_local_cpu): Declare. | |
462 | (EXTRA_SPEC_FUNCTIONS, MCPU_MTUNE_NATIVE_SPECS, | |
463 | DRIVER_SELF_SPECS): Define. | |
464 | * doc/invoke.texi (SPARC Options, -mcpu): Document native. | |
465 | (SPARC Options, -mtune): Likewise. | |
466 | * configure.ac (EXTRA_GCC_LIBS): Check for libkstat. | |
467 | Substitute result. | |
468 | * configure: Regenerate. | |
469 | * Makefile.in (EXTRA_GCC_LIBS): Set. | |
470 | (xgcc$(exeext)): Add $(EXTRA_GCC_LIBS). | |
471 | (cpp$(exeext)): Likewise. | |
472 | ||
ce6bfa50 RG |
473 | 2011-08-08 Richard Guenther <rguenther@suse.de> |
474 | ||
475 | * tree-vrp.c (extract_range_from_unary_expr_1): New function, | |
476 | split out from ... | |
477 | (extract_range_from_unary_expr): ... here. Handle BIT_NOT_EXPR | |
478 | by composition. | |
479 | ||
daae4650 MP |
480 | 2011-08-08 Mikael Pettersson <mikpe@it.uu.se> |
481 | ||
482 | PR tree-optimization/50005 | |
483 | * ipa-inline-analysis (remap_predicate): Add cast to | |
484 | silence signed/unsigned comparison warning. | |
485 | ||
3e762578 RS |
486 | 2011-08-08 Richard Sandiford <richard.sandiford@linaro.org> |
487 | ||
488 | * modulo-sched.c (get_sched_window): Use a table for the debug output. | |
489 | Print the current ii. | |
490 | (sms_schedule_by_order): Reduce whitespace in dump line. | |
491 | ||
fe43febc RS |
492 | 2011-08-08 Richard Sandiford <richard.sandiford@linaro.org> |
493 | ||
494 | * modulo-sched.c (get_sched_window): Use just one loop for predecessors | |
495 | and one loop for successors. Fix upper bound of memory range. | |
496 | ||
1e46eb2a UB |
497 | 2011-08-06 Uros Bizjak <ubizjak@gmail.com> |
498 | ||
499 | PR target/50001 | |
500 | * config/alpha/alpha.c (alpha_instantiate_decls): New function. | |
501 | (TARGET_INSTANTIATE_DECLS): New define. | |
502 | ||
cc3801b0 | 503 | 2011-08-06 Paolo Bonzini <bonzini@gnu.org> |
473b30ce | 504 | Mikael Morin <mikael.morin@sfr.fr> |
cc3801b0 PB |
505 | |
506 | * Makefile.in (INCLUDES_FOR_TARGET): New. | |
507 | (LIBGCC2_CFLAGS): Use it. | |
1e46eb2a | 508 | (CRTSTUFF_CFLAGS): Use it instead of INCLUDES. |
cc3801b0 | 509 | |
f68c9aa8 UB |
510 | 2011-08-06 Uros Bizjak <ubizjak@gmail.com> |
511 | ||
512 | * config/i386/i386.c (ix86_compute_frame_layout): Simplify | |
513 | frame->save_regs_using_mov calculation. | |
514 | ||
cd7c6bc5 UB |
515 | 2011-08-06 Uros Bizjak <ubizjak@gmail.com> |
516 | ||
517 | * config/i386/i386.md (ssemodesuffix): Remove V8SI mode. | |
518 | * config/i386/sse.md (castmode): New mode attribute. | |
519 | (avx_<castmode><avxsizesuffix>_<castmode>): Rename from | |
520 | avx_<ssemodesuffix><avxsizesuffix>_<ssemodesuffix>. | |
521 | ||
9911e25a JH |
522 | 2011-08-05 Jan Hubicka <jh@suse.cz> |
523 | ||
524 | PR middle-end/49494 | |
525 | * ipa-inline-analysis.c (remap_predicate): Add bounds check. | |
526 | ||
75d3e6e3 JH |
527 | 2011-08-05 Jan Hubicka <jh@suse.cz> |
528 | ||
529 | PR middle-end/49500 | |
530 | * tree-emultls.c (new_emutls_decl):Add alias_of parameter; | |
531 | handle aliases. | |
532 | (create_emultls_var):New function. | |
533 | (ipa_lower_emutls): Handle aliases correctly. | |
534 | ||
f791d333 JH |
535 | 2011-08-05 Jan Hubicka <jh@suse.cz> |
536 | ||
537 | PR middle-end/49735 | |
538 | * ipa-inline.c (recursive_inlining): Look through aliases. | |
539 | ||
f93b21e2 JM |
540 | 2011-08-05 Jason Merrill <jason@redhat.com> |
541 | ||
542 | * config/i386/i386.c (setup_incoming_varargs_ms_64): Move | |
543 | declarations to beginning of function. | |
544 | ||
2c331232 BS |
545 | 2011-08-05 Bernd Schmidt <bernds@codesourcery.com> |
546 | ||
547 | PR rtl-optimization/49900 | |
548 | * sched-ebb.c (add_deps_for_risky_insns): Also add dependencies to | |
549 | ensure basic blocks stay in the same order. | |
550 | ||
44e95206 AH |
551 | 2011-08-05 Aldy Hernandez <aldyh@redhat.com> |
552 | ||
553 | * config/s390/s390.c (s390_expand_cs_hqi): Add new arguments to | |
554 | store_bit_field. | |
555 | (s390_expand_atomic): Same. | |
556 | ||
6fe818aa RH |
557 | 2011-08-05 Richard Henderson <rth@redhat.com> |
558 | ||
559 | PR rtl-opt/49977 | |
560 | * dwarf2cfi.c (scan_insn_after): Split out of ... | |
561 | (scan_trace): ... here. Correctly place notes wrt sequences. | |
562 | ||
7ac17442 KK |
563 | 2011-08-05 Kaz Kojima <kkojima@gcc.gnu.org> |
564 | Richard Henderson <rth@redhat.com> | |
565 | ||
566 | PR rtl-opt/49982 | |
567 | * expr.c (fixup_args_size_notes): Look through no-op moves. | |
568 | ||
24911a50 UB |
569 | 2011-08-05 Uros Bizjak <ubizjak@gmail.com> |
570 | ||
571 | * config/i386/i386.md (*push<mode>2): Use "o" constraint instead | |
572 | of "m" for operand 0. Add type and mode attribute. | |
573 | (*pushxf_nointeger"): Use "<" constraint for operand 0. | |
574 | (*pushdf_rex64): New pattern, split out of *pushdf. Use "m" | |
575 | constraint instead of "o" for opreand 1. | |
576 | (*pushdf): Disable for TARGET_64BIT. Correct mode attribute. | |
42443bdb UB |
577 | (*movdi_internal_rex64): Use "!o" constraint instead of "!m" for |
578 | operand 0, alternative 4. | |
579 | (*movdf_internal_rex64): Ditto for operand 0, alernative 6. | |
24911a50 UB |
580 | |
581 | 2011-08-05 Uros Bizjak <ubizjak@gmail.com> | |
582 | ||
583 | * config/i386/predicates.md (lea_address_operand): Rename from | |
584 | no_seg_address_operand. | |
585 | * config/i386/i386.md (*lea_1): Update operand 1 predicate for rename. | |
586 | (*lea_1_zext): Ditto. | |
587 | (*lea_2): Ditto. | |
588 | (*lea_2_zext): Ditto. | |
589 | ||
590 | 2011-08-05 Uros Bizjak <ubizjak@gmail.com> | |
591 | ||
592 | * config/i386/i386.c (ix86_print_operand_address): Handle SUBREGs of | |
593 | parts.base and parts.index. | |
594 | * config/i386/predicates.md (aligned_operand): Ditto. | |
595 | (cmpxchg8b_pic_memory_operand): Ditto. | |
596 | ||
aca0b0b3 RO |
597 | 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
598 | ||
599 | * config/soft-fp: Move to ../libgcc. | |
600 | * Makefile.in (SFP_MACHINE): Remove. | |
601 | (libgcc-support): Remove $(SFP_MACHINE) dependency. | |
602 | * config/arm/sfp-machine.h: Move to ../libgcc/config/arm. | |
603 | * config/arm/t-arm-softfp: Move to | |
604 | ../libgcc/config/arm/t-softfp. | |
605 | * config/c6x/sfp-machine.h: Move to ../libgcc/config/c6x. | |
606 | * config/c6x/t-c6x-softfp: Remove. | |
607 | * config/i386/sfp-machine.h: Move to ../libgcc/config/i386. | |
608 | * config/i386/t-fprules-softfp: Move to | |
609 | ../libgcc/config/t-softfp-tf. | |
610 | * config/ia64/sfp-machine.h: Move to ../libgcc/config/ia64. | |
611 | * config/ia64/t-fprules-softfp: Remove. | |
612 | * config/lm32/sfp-machine.h: Move to ../libgcc/config/lm32. | |
613 | * config/lm32/t-fprules-softfp: Remove. | |
614 | * config/moxie/sfp-machine.h: Remove. | |
615 | * config/moxie/t-moxie-softfp: Remove. | |
616 | * config/rs6000/darwin-ldouble-format: Move to | |
617 | ../libgcc/config/rs6000/ibm-ldouble-format. | |
618 | * config/rs6000/darwin-ldouble.c: Move to | |
619 | ../libgcc/config/rs6000/ibm-ldouble.c | |
620 | * config/rs6000/libgcc-ppc-glibc.ver: Move to ../libgcc/config/rs6000. | |
621 | * config/rs6000/libgcc-ppc64.ver: Likewise. | |
622 | * config/rs6000/sfp-machine.h: Likewise. | |
623 | * config/rs6000/t-aix43 (SHLIB_MAPFILES): Remove | |
624 | $(srcdir)/config/rs6000/libgcc-ppc64.ver. | |
625 | (LIB2FUNCS_EXTRA): Remove. | |
626 | (TARGET_LIBGCC2_CFLAGS): Remove. | |
627 | * config/rs6000/t-aix52: Likewise | |
628 | * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Remove | |
629 | $(srcdir)/config/rs6000/darwin-ldouble.c. | |
630 | (SHLIB_MAPFILES): Remove. | |
631 | * config/rs6000/t-darwin64 (LIB2FUNCS_EXTRA): Remove | |
632 | $(srcdir)/config/rs6000/darwin-ldouble.c. | |
633 | * config/rs6000/t-fprules-softfp: Move to | |
634 | ../libgcc/config/t-softfp-sfdf. | |
635 | * config/rs6000/t-freebsd: Move to ../libgcc/config/rs6000. | |
636 | * config/rs6000/t-linux64 (softfp_wrap_start, softfp_wrap_end): Remove. | |
637 | * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Remove | |
638 | $(srcdir)/config/rs6000/darwin-ldouble.c. | |
639 | * config/score/sfp-machine.h: Move to ../libgcc/config/score. | |
640 | * config/score/t-score-softfp: Remove. | |
641 | * config.gcc (arm*-*-linux*): Remove arm/t-arm-softfp, | |
642 | soft-fp/t-softfp from tmake_file. | |
643 | (arm*-*-uclinux*): Likewise. | |
644 | (arm*-*-ecos-elf): Likewise. | |
645 | (arm*-*-eabi*, arm*-*-symbianelf*): Likewise. | |
646 | (arm*-*-rtems*): Likewise. | |
647 | (arm*-*-elf): Likewise. | |
648 | (moxie-*-elf): Remove moxie/t-moxie-softfp, soft-fp/t-softfp from | |
649 | tmake_file. | |
650 | (moxie-*-uclinux*): Likewise. | |
651 | (moxie-*-rtems*): Likewise. | |
652 | (lm32-*-elf*): Remove lm32/t-fprules-softfp, soft-fp/t-softfp from | |
653 | tmake_file. | |
654 | (lm32-*-rtems*): Likewise. | |
655 | (lm32-*-uclinux*): Likewise. | |
656 | (powerpc-*-freebsd*): Remove rs6000/t-freebsd, | |
657 | rs6000/t-fprules-softfp, soft-fp/t-softfp from tmake_file. | |
658 | (powerpc-*-linux*, powerpc64-*-linux*): Remove | |
659 | rs6000/t-fprules-softfp, soft-fp/t-softfp from tmake_file. | |
660 | (score-*-elf): Remove score/t-score-softfp, soft-fp/t-softfp from | |
661 | tmake_file. | |
662 | (tic6x-*-elf): Remove c6x/t-c6x-softfp, soft-fp/t-softfp from | |
663 | tmake_file. | |
664 | (tic6x-*-uclinux): Likewise. | |
665 | (i[34567]86-*-darwin*, x86_64-*-darwin*): Remove i386/t-fprules-softfp, | |
666 | soft-fp/t-softfp from tmake_file. | |
667 | (i[34567]86-*-linux*, x86_64-*-linux*, i[34567]86-*-kfreebsd*-gnu) | |
668 | (x86_64-*-kfreebsd*-gnu, i[34567]86-*-gnu*): Likewise. | |
669 | (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*): Likewise. | |
24911a50 | 670 | (i[34567]86-*-cygwin*, i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise. |
aca0b0b3 RO |
671 | (i[34567]86-*-freebsd*, x86_64-*-freebsd*): Likewise. |
672 | ||
569dc494 RO |
673 | 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
674 | ||
675 | * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS, TPBIT_FUNCS): Remove. | |
24911a50 | 676 | (libgcc-support): Remove $(FPBIT), $(DPBIT), $(TPBIT) dependencies. |
569dc494 RO |
677 | (libgcc.mvars): Remove FPBIT, FPBIT_FUNCS, DPBIT, DPBIT_FUNCS, |
678 | TPBIT, TPBIT_FUNCS. | |
679 | * config/fp-bit.c, config/fp-bit.h: Move to ../libgcc. | |
680 | * config/arm/t-strongarm-elf (FPBIT, DPBIT, dp-bit.c, fp-bit.c): | |
681 | Remove. | |
682 | * config/arm/t-vxworks: Likewise. | |
683 | * config/arm/t-wince-pe: Likewise. | |
684 | * config/avr/t-avr (fp-bit.c, FPBIT): Remove. | |
685 | * config/bfin/t-bfin (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove. | |
686 | * config/bfin/t-bfin-elf: Likewise. | |
687 | * config/bfin/t-bfin-linux: Likewise. | |
688 | * config/bfin/t-bfin-uclinux: Likewise. | |
689 | * config/cris/t-cris (FPBIT, DPBIT, dp-bit.c, tmplibgcc_fp_bit.c): | |
690 | Remove. | |
691 | * config/fr30/t-fr30: Likewise. | |
692 | * config/frv/t-frv: Likewise. | |
693 | * config/h8300/t-h8300 (FPBIT, fp-bit.c): Remove. | |
694 | * config/iq2000/t-iq2000 (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove. | |
695 | * config/m32c/t-m32c: Likewise. | |
696 | * config/m32r/t-linux: (LIB2FUNCS_EXTRA, fp-bit.c, dp-bit.c): Remove. | |
697 | * config/m32r/t-m32r (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove. | |
698 | * config/mcore/t-mcore: Likewise. | |
699 | * config/mep/t-mep: Likewise. | |
700 | * config/microblaze/t-microblaze: Likewise. | |
701 | * config/mips/t-linux64 (TPBIT, tp-bit.c): Remove. | |
702 | * config/mips/t-mips (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove. | |
703 | * config/mips/t-sdemtk (FPBIT, DPBIT): Remove. | |
704 | * config/mips/t-sr71k (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove. | |
705 | * config/mn10300/t-linux: Remove. | |
706 | * config/mn10300/t-mn10300 (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove. | |
707 | * config/pdp11/t-pdp11: Likewise. | |
708 | * config/picochip/t-picochip (FPBIT, fp-bit.c): Remove. | |
709 | * config/rs6000/ppc64-fp.c: Move to ../libgcc/config/rs6000. | |
710 | * config/rs6000/t-aix43 (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove. | |
711 | (LIB2FUNCS_EXTRA): Remove $(srcdir)/config/rs6000/ppc64-fp.c. | |
712 | * config/rs6000/t-aix52: Likewise. | |
713 | * config/rs6000/t-darwin (LIB2FUNCS_EXTRA): Remove | |
714 | $(srcdir)/config/rs6000/ppc64-fp.c. | |
715 | * config/rs6000/t-fprules-fpbit: Remove. | |
716 | * config/rs6000/t-linux64 (LIB2FUNCS_EXTRA): Remove. | |
717 | * config/rs6000/t-lynx (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove. | |
718 | * config/sh/t-netbsd (FPBIT, DPBIT): Remove. | |
719 | * config/sh/t-sh (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove. | |
720 | * config/sparc/t-elf: Likewise. | |
721 | * config/sparc/t-leon: Likewise. | |
722 | * config/sparc/t-leon3: Likewise. | |
723 | * config/spu/t-spu-elf: Likewise. | |
724 | (DPBIT_FUNCS): Remove. | |
725 | * config/stormy16/t-stormy16 (FPBIT, DPBIT, dp-bit.c, fp-bit.c): Remove. | |
726 | * config/v850/t-v850: Likewise. | |
727 | * config.gcc (avr-*-rtems*): Add avr/avr-lib.h to libgcc_tm_file. | |
728 | (avr-*-*): Likewise. | |
729 | (h8300-*-rtems*): Set libgcc_tm_file. | |
730 | (h8300-*-elf*): Likewise. | |
731 | (powerpc-*-eabisimaltivec*): Remove rs6000/t-fprules-fpbit from | |
732 | tmake_file. | |
733 | (powerpc-*-eabisim*): Likewise. | |
734 | (powerpc-*-elf*): Likewise. | |
735 | (powerpc-*-eabialtivec*): Likewise. | |
736 | (powerpc-xilinx-eabi*): Likewise. | |
737 | (powerpc-*-eabi*): Likewise. | |
738 | (powerpc-*-rtems*): Likewise. | |
739 | (powerpc-wrs-vxworks, powerpc-wrs-vxworksae): Likewise. | |
740 | (powerpcle-*-elf*): Likewise. | |
741 | (powerpcle-*-eabisim*): Likewise. | |
742 | (powerpcle-*-eabi*): Likewise. | |
743 | (rx-*-elf*): Add rx/rx-lib.h to libgcc_tm_file. | |
744 | (am33_2.0-*-linux*): Remove mn10300/t-linux from tmake_file. | |
745 | * doc/fragments.texi (Target Fragment, Floating Point Emulation): | |
746 | Remove. | |
747 | ||
201cdb74 RO |
748 | 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
749 | ||
750 | * Makefile.in (UNWIND_H): Remove. | |
751 | (LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED): Move to | |
752 | ../libgcc/Makefile.in. | |
753 | (LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL): Likewise. | |
754 | (LIBUNWINDDEP): Remove. | |
755 | (libgcc-support): Remove LIB2ADDEH, $(srcdir)/emutls.c dependencies. | |
756 | (libgcc.mvars): Remove LIB2ADDEH, LIB2ADDEHSTATIC, LIB2ADDEHSHARED, | |
757 | LIBUNWIND, SHLIBUNWIND_LINK, SHLIBUNWIND_INSTALL. | |
758 | (stmp-int-hdrs): Remove $(UNWIND_H) dependency. | |
759 | Don't copy $(UNWIND_H). | |
24911a50 | 760 | * config.gcc (ia64*-*-linux*): Remove with_system_libunwind handling. |
201cdb74 RO |
761 | * configure.ac (GCC_CHECK_UNWIND_GETIPINFO): Remove. |
762 | * aclocal.m4: Regenerate. | |
763 | * configure: Regenerate. | |
764 | * emutls.c, unwind-c.c, unwind-compat.c, unwind-compat.h, | |
765 | unwind-dw2-fde-compat.c, unwind-dw2-fde-glibc.c, unwind-dw2-fde.c, | |
766 | unwind-dw2-fde.h, unwind-dw2.c, unwind-dw2.h, unwind-generic.h, | |
767 | unwind-pe.h, unwind-sjlj.c, unwind.inc: Move to ../libgcc. | |
768 | * unwind-dw2-fde-darwin.c: Move to ../libgcc/config. | |
769 | * config/arm/libunwind.S, config/arm/pr-support.c, | |
770 | config/arm/unwind-arm.c, config/arm/unwind-arm.h: Move to | |
771 | ../libgcc/config/arm. | |
772 | * config/arm/t-bpabi (UNWIND_H, LIB2ADDEH): Remove. | |
773 | * config/arm/t-symbian (UNWIND_H, LIB2ADDEH): Remove. | |
774 | * config/frv/t-frv ($(T)frvbegin$(objext)): Use | |
775 | $(srcdir)/../libgcc to refer to unwind-dw2-fde.h. | |
776 | ($(T)frvend$(objext)): Likewise. | |
777 | * config/ia64/t-glibc (LIB2ADDEH): Remove. | |
778 | * config/ia64/t-glibc-libunwind: Move to ../libgcc/config/ia64. | |
779 | * config/ia64/fde-glibc.c, config/ia64/fde-vms.c, | |
780 | config/ia64/unwind-ia64.c, config/ia64/unwind-ia64.h: Move to | |
781 | ../libgcc/config/ia64. | |
782 | * config/ia64/t-hpux (LIB2ADDEH): Remove. | |
783 | * config/ia64/t-ia64 (LIB2ADDEH): Remove. | |
784 | * config/ia64/t-vms (LIB2ADDEH): Remove. | |
785 | * config/ia64/vms.h (UNW_IVMS_MODE, | |
786 | MD_UNW_COMPATIBLE_PERSONALITY_P): Remove. | |
787 | * config/picochip/t-picochip (LIB2ADDEH): Remove. | |
788 | * config/rs6000/aix.h (R_LR, MD_FROB_UPDATE_CONTEXT): Remove. | |
789 | * config/rs6000/t-darwin (LIB2ADDEH): Remove. | |
790 | * config/rs6000/darwin-fallback.c: Move to ../libgcc/config/rs6000. | |
791 | * config/sh/t-sh ($(T)unwind-dw2-Os-4-200.o): Use | |
792 | $(srcdir)/../libgcc to refer to unwinder sources. | |
793 | * config/spu/t-spu-elf (LIB2ADDEH): Remove. | |
794 | * config/t-darwin (LIB2ADDEH): Remove. | |
795 | * config/t-freebsd (LIB2ADDEH): Remove. | |
796 | * config/t-libunwind (LIB2ADDEH, LIB2ADDEHSTATIC): Remove. | |
797 | * config/t-libunwind-elf: Move to ../libgcc/config. | |
798 | * config/t-linux (LIB2ADDEH): Remove. | |
799 | * config/t-sol2 (LIB2ADDEH): Remove. | |
800 | * config/xtensa/t-xtensa (LIB2ADDEH): Remove. | |
801 | * system.h (MD_FROB_UPDATE_CONTEXT): Poison. | |
802 | ||
cee0d6d2 L |
803 | 2011-08-05 H.J. Lu <hongjiu.lu@intel.com> |
804 | ||
805 | * config/i386/i386.c (processor_alias_table): Add core-avx-i. | |
806 | ||
807 | * doc/invoke.texi: Document core-avx-i. | |
808 | ||
96c891b3 RO |
809 | 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
810 | ||
811 | * tsystem.h (CONST_CAST2, CONST_CAST): Define. | |
812 | ||
2aacf3c3 IR |
813 | 2011-08-05 Ira Rosen <ira.rosen@linaro.org> |
814 | ||
815 | * tree-vect-loop.c (vect_create_epilog_for_reduction): Use the | |
816 | result of multiple results reduction when extracting the final | |
817 | value using scalar code. | |
818 | ||
0f36b2da RG |
819 | 2011-08-05 Richard Guenther <rguenther@suse.de> |
820 | ||
821 | PR tree-optimization/49984 | |
822 | * tree-vrp.c (extract_range_from_binary_expr_1): Handle BIT_XOR_EXPR. | |
823 | ||
8b201bc5 RG |
824 | 2011-08-05 Richard Guenther <rguenther@suse.de> |
825 | ||
826 | * tree-vrp.c (zero_nonzero_bits_from_vr): Make sure to always | |
827 | return true for constant integer ranges. | |
828 | (extract_range_from_binary_expr_1): Simplify BIT_AND_EXPR and | |
829 | BIT_IOR_EXPR handling. | |
830 | ||
c1ea7f07 KT |
831 | 2011-08-04 Kai Tietz <ktietz@redhat.com> |
832 | ||
833 | * config/i386/i386.c (setup_incoming_varargs_ms_64): Set | |
834 | ix86_varargs_gpr_size and ix86_varargs_fpr_size to zero. | |
835 | ||
1107f3ae IR |
836 | 2011-08-04 Ira Rosen <ira.rosen@linaro.org> |
837 | ||
838 | * tree-vectorizer.h (struct _stmt_vec_info): Add new field for | |
839 | pattern def statement, and its access macro. | |
840 | (NUM_PATTERNS): Set to 5. | |
841 | * tree-vect-loop.c (vect_determine_vectorization_factor): Handle | |
842 | pattern def statement. | |
843 | (vect_transform_loop): Likewise. | |
844 | * tree-vect-patterns.c (vect_vect_recog_func_ptrs): Add new | |
845 | function vect_recog_over_widening_pattern (). | |
846 | (vect_operation_fits_smaller_type): New function. | |
847 | (vect_recog_over_widening_pattern, vect_mark_pattern_stmts): | |
848 | Likewise. | |
849 | (vect_pattern_recog_1): Move the code that marks pattern | |
850 | statements to vect_mark_pattern_stmts (), and call it. Update | |
851 | documentation. | |
852 | * tree-vect-stmts.c (vect_supportable_shift): New function. | |
853 | (vect_analyze_stmt): Handle pattern def statement. | |
854 | (new_stmt_vec_info): Initialize pattern def statement. | |
855 | ||
6394830f RH |
856 | 2011-08-04 Richard Henderson <rth@redhat.com> |
857 | ||
858 | PR target/49964 | |
859 | * config/i386/i386.c (ix86_expand_call): Don't create nested | |
860 | PARALLELs for TARGET_VZEROUPPER. | |
861 | (ix86_split_call_vzeroupper): Fix extraction of the original call. | |
862 | * config/i386/i386.md (*call_rex64_ms_sysv_vzeroupper): Don't | |
863 | recognize nested PARALLELs. | |
864 | (*call_pop_vzeroupper, *sibcall_pop_vzeroupper, | |
865 | *call_value_rex64_ms_sysv_vzeroupper, *call_value_pop_vzeroupper, | |
866 | *sibcall_value_pop_vzeroupper): Likewise. | |
867 | ||
faf7a23d RH |
868 | 2011-08-04 Richard Henderson <rth@redhat.com> |
869 | ||
870 | PR middle-end/49968 | |
871 | * calls.c (expand_call): Use fixup_args_size_notes for | |
872 | emit_stack_restore. | |
873 | * expr.c (fixup_args_size_notes): Allow STACK_POINTER_REGNUM sets | |
874 | in non-standard modes. | |
875 | ||
84f405a1 JJ |
876 | 2011-08-04 Jakub Jelinek <jakub@redhat.com> |
877 | ||
878 | * gcc.c (self_spec): New variable. | |
879 | (static_specs): Add self_spec. | |
880 | (main): Call do_self_spec on "self_spec" specs after reading | |
881 | user specs files. Move compare_debug handling right after that. | |
882 | ||
4d320da4 RG |
883 | 2011-08-04 Richard Guenther <rguenther@suse.de> |
884 | ||
885 | * tree-vrp.c (vrp_expr_computes_nonnegative): Remove. | |
886 | (value_range_nonnegative_p): New function. | |
887 | (ssa_name_nonnegative_p): Use it. | |
888 | (value_range_constant_singleton): New function. | |
889 | (op_with_constant_singleton_value_range): Use it. | |
890 | (extract_range_from_binary_expr_1): New function, split out from ... | |
891 | (extract_range_from_binary_expr): ... this. Remove fallback | |
892 | constant folding done here. | |
893 | ||
7e29ba60 RG |
894 | 2011-08-04 Richard Guenther <rguenther@suse.de> |
895 | ||
896 | PR tree-optimization/49806 | |
897 | * tree-vrp.c (op_with_boolean_value_range_p): New function. | |
898 | (simplify_truth_ops_using_ranges): Simplify. Allow inserting | |
899 | a new statement for a final conversion to bool. | |
900 | ||
f142b5bc RG |
901 | 2011-08-04 Romain Geissler <romain.geissler@gmail.com> |
902 | ||
903 | * gengtype-state.c: Include "bconfig.h" if | |
904 | GENERATOR_FILE is defined, "config.h" otherwise. | |
905 | * gengtype.c: Likewise. | |
906 | * gengtype-lex.l: Likewise. | |
907 | * gengtype-parse.c: Likewise. | |
908 | * Makefile.in (gengtype-lex.o-warn): New variable. | |
909 | (plugin_resourcesdir): Likewise. | |
910 | (plugin_bindir): Likewise. | |
911 | (plugin_includedir): Use $(plugin_resourcesdir) as prefix base. | |
912 | (MOSTLYCLEANFILES): Add gengtype$(exeext). | |
913 | (native): Depend on gengtype$(exeext) is $enable_plugin | |
914 | is set to "yes". | |
915 | (gtype.state): Depend on s-gtype. Use temporary file. | |
916 | (gengtype-lex.o): New rule. | |
917 | (gengtype-parse.o): Likewise. | |
918 | (gengtype-state.o): Likewise. | |
919 | (gengtype$(exeext)): Likewise. | |
920 | (install-gengtype): Likewise. | |
921 | (gengtype.o): Likewise. | |
922 | (build/gengtype.o): Depend on version.h. | |
923 | (build/gengtype-state): Depend on double-int.h, version.h, | |
924 | $(HASHTAB_H), $(OBSTACK_H), $(XREGEX_H) and build/errors.o. | |
925 | (install-plugin): Depend on install-gengtype. | |
926 | ||
8dd00781 JJ |
927 | 2011-08-04 Jakub Jelinek <jakub@redhat.com> |
928 | ||
929 | PR middle-end/49905 | |
930 | * tree.h (init_attributes): New prototype. | |
931 | * attribs.c (init_attributes): No longer static. | |
932 | ||
6eb9142a RR |
933 | 2011-08-04 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
934 | ||
935 | * config/arm/arm.c (arm_set_fixed_optab_libfunc): Constify | |
936 | maybe_suffix. | |
937 | ||
63a73071 DL |
938 | 2011-08-03 David Li <davidxl@google.com> |
939 | ||
940 | * tree-optimize.c (execute_fixup_cfg): Fix up entry | |
941 | outgoing edge counts after inlining. | |
942 | ||
90037898 DL |
943 | 2011-08-03 David Li <davidxl@google.com> |
944 | ||
945 | * profile.c (compute_branch_probabilities): Compute | |
946 | function frequency after profile annotation. | |
947 | ||
ea6c2b0e AM |
948 | 2011-08-04 Alan Modra <amodra@gmail.com> |
949 | ||
950 | * config/rs6000/rs6000.c (rs6000_emit_epilogue): Simplify | |
951 | use_backchain_to_restore_sp initialisation. | |
952 | (rs6000_legitimate_offset_address_p): Simplify offset test. | |
953 | ||
4b39813a RH |
954 | 2011-08-03 Richard Henderson <rth@redhat.com> |
955 | ||
956 | * config/spu/spu.md: Use define_c_enum instead of define_constants. | |
957 | (UNSPECV_BLOCKAGE, UNSPECV_LNOP, UNSPECV_SYNC): Rename from UNSPEC_*. | |
958 | (UNSPECV_NOP): New. | |
959 | ||
a6365e99 RH |
960 | 2011-08-03 Richard Henderson <rth@redhat.com> |
961 | ||
962 | PR target/34888 | |
963 | * config/avr/avr.md: New splitter for REG_ARGS_SIZE 0. | |
964 | ||
cb3d2e33 JJ |
965 | 2011-08-03 Jakub Jelinek <jakub@redhat.com> |
966 | ||
967 | PR tree-optimization/49948 | |
968 | * gimple.c (walk_stmt_load_store_addr_ops): Walk CONSTRUCTOR elements. | |
969 | ||
35bdbc69 AS |
970 | 2011-08-03 Anatoly Sokolov <aesok@post.ru> |
971 | ||
972 | * config/m32c/m32c.c (class_sizes): Remove. | |
973 | (reduce_class): Change arguments and return type to reg_class_t. | |
974 | Change type cc var to HARD_REG_SET. Change type best var to | |
975 | reg_class_t. Change type best_size var to unsigned int. Remove | |
976 | initialization class_sizes var. Use reg_class_size array instead | |
977 | of class_sizes. Use reg_class_contents array instead | |
978 | of class_contents. | |
979 | ||
a130fb24 RG |
980 | 2011-08-03 Richard Guenther <rguenther@suse.de> |
981 | ||
982 | PR middle-end/49958 | |
983 | * fold-const.c (fold_binary_loc): Only associate | |
984 | (+ (+ (* a b) c) (* d e)) as (+ (+ (* a b) (* d e)) c) if | |
985 | overflow wraps. | |
986 | ||
276e0224 AM |
987 | 2011-08-03 Alan Modra <amodra@gmail.com> |
988 | ||
989 | PR rtl-optimization/49941 | |
990 | * jump.c (mark_jump_label): Comment. | |
991 | (mark_jump_label_1): Set JUMP_LABEL for return jumps. | |
992 | * emit-rtl.c (copy_rtx_if_shared_1, copy_insn_1): Leave RETURN shared. | |
993 | (mark_used_flags): Don't mark RETURN. | |
994 | ||
eb723fa3 RG |
995 | 2011-08-03 Richard Guenther <rguenther@suse.de> |
996 | ||
997 | PR tree-optimization/49938 | |
998 | * tree-scalar-evolution.c (interpret_loop_phi): Gracefully | |
999 | deal with a POLYNOMIAL_CHREC. | |
1000 | ||
edc429ff RE |
1001 | 2011-08-03 Revital Eres <revital.eres@linaro.org> |
1002 | ||
1003 | * modulo-sched.c (calculate_stage_count, | |
1004 | calculate_must_precede_follow, get_sched_window, | |
1005 | try_scheduling_node_in_cycle, remove_node_from_ps): Add | |
1006 | declaration. | |
1007 | (update_node_sched_params, set_must_precede_follow, optimize_sc): | |
1008 | New functions. | |
1009 | (reset_sched_times): Call update_node_sched_params. | |
1010 | (sms_schedule): Call optimize_sc. | |
1011 | (get_sched_window): Change function arguments. | |
1012 | (sms_schedule_by_order): Update call to get_sched_window. | |
1013 | Call set_must_precede_follow. | |
1014 | (calculate_stage_count): Add function argument. | |
1015 | ||
9a08d230 RH |
1016 | 2011-08-02 Richard Henderson <rth@redhat.com> |
1017 | ||
1018 | PR target/49864 | |
a3fef928 | 1019 | PR target/49879 |
9a08d230 RH |
1020 | * reg-notes.def (REG_ARGS_SIZE): New. |
1021 | * calls.c (emit_call_1): Emit REG_ARGS_SIZE for call_pop. | |
1022 | (expand_call): Add REG_ARGS_SIZE to emit_stack_restore. | |
1023 | * cfgcleanup.c (old_insns_match_p): Don't allow cross-jumping to | |
1024 | different stack levels. | |
1025 | * combine-stack-adj.c (adjust_frame_related_expr): Remove. | |
1026 | (maybe_move_args_size_note): New. | |
1027 | (combine_stack_adjustments_for_block): Use it. | |
1028 | * combine.c (distribute_notes): Place REG_ARGS_SIZE. | |
1029 | * dwarf2cfi.c (dw_cfi_row_struct): Remove args_size member. | |
1030 | (dw_trace_info): Add beg_true_args_size, end_true_args_size, | |
1031 | beg_delay_args_size, end_delay_args_size, eh_head, args_size_undefined. | |
1032 | (cur_cfa): New. | |
1033 | (queued_args_size): Remove. | |
1034 | (add_cfi_args_size): Assert size is non-negative. | |
1035 | (stack_adjust_offset, dwarf2out_args_size): Remove. | |
1036 | (dwarf2out_stack_adjust, dwarf2out_notice_stack_adjust): Remove. | |
1037 | (notice_args_size, notice_eh_throw): New. | |
1038 | (dwarf2out_frame_debug_def_cfa): Use cur_cfa. | |
1039 | (dwarf2out_frame_debug_adjust_cfa): Likewise. | |
1040 | (dwarf2out_frame_debug_cfa_offset): Likewise. | |
1041 | (dwarf2out_frame_debug_expr): Likewise. Don't stack_adjust_offset. | |
1042 | (dwarf2out_frame_debug): Don't handle non-frame-related-p insns. | |
1043 | (change_cfi_row): Don't emit args_size. | |
1044 | (maybe_record_trace_start_abnormal): Split out from ... | |
1045 | (maybe_record_trace_start): Here. Set args_size_undefined. | |
1046 | (create_trace_edges): Update to match. | |
1047 | (scan_trace): Handle REG_ARGS_SIZE. | |
1048 | (connect_traces): Connect args_size between EH insns. | |
1049 | * emit-rtl.c (try_split): Handle REG_ARGS_SIZE. | |
1050 | * explow.c (suppress_reg_args_size): New. | |
1051 | (adjust_stack_1): Split out from ... | |
1052 | (adjust_stack): ... here. | |
1053 | (anti_adjust_stack): Use it. | |
1054 | (allocate_dynamic_stack_space): Suppress REG_ARGS_SIZE. | |
1055 | * expr.c (mem_autoinc_base): New. | |
1056 | (fixup_args_size_notes): New. | |
1057 | (emit_single_push_insn_1): Rename from emit_single_push_insn. | |
1058 | (emit_single_push_insn): New. Generate REG_ARGS_SIZE. | |
1059 | * recog.c (peep2_attempt): Handle REG_ARGS_SIZE. | |
1060 | * reload1.c (reload_as_needed): Likewise. | |
1061 | * rtl.h (fixup_args_size_notes): Declare. | |
1062 | ||
9f813990 PC |
1063 | 2011-08-02 Paolo Carlini <paolo.carlini@oracle.com> |
1064 | ||
1065 | PR bootstrap/49914 | |
1066 | * fold-const.c (fold_plusminus_mult_expr): Use abs_hwi instead | |
1067 | of abs. | |
1068 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Likewise. | |
1069 | * tree-ssa-loop-prefetch.c (prune_ref_by_group_reuse): Likewise. | |
1070 | ||
8f1594b2 RH |
1071 | 2011-08-02 Richard Henderson <rth@redhat.com> |
1072 | ||
1073 | * config/h8300/h8300.c (push, pop): Return the insn. | |
1074 | (h8300_swap_into_er6): Generate correct unwind info. | |
1075 | (h8300_swap_out_of_er6): Likewise. | |
cde7b553 RH |
1076 | * dwarf2cfi.c (def_cfa_1): Clear cfa_cfi if we no longer have a |
1077 | complex cfa expression. | |
1078 | (dwarf2out_frame_debug_def_cfa): Allow (plus (mem) (const_int)) too. | |
8f1594b2 | 1079 | |
3ed2c643 L |
1080 | 2011-08-02 H.J. Lu <hongjiu.lu@intel.com> |
1081 | ||
1082 | * config/i386/driver-i386.c (host_detect_local_cpu): Fix a typo. | |
1083 | ||
f9b4f8c1 RH |
1084 | 2011-08-02 Richard Henderson <rth@redhat.com> |
1085 | ||
1086 | PR target/49878 | |
1087 | * config/h8300/h8300.c (h8300_move_ok): New. | |
1088 | * config/h8300/h8300-protos.h: Declare it. | |
1089 | * config/h8300/h8300.md (P): New mode iterator. | |
1090 | (*movqi_h8300, *movqi_h8300hs, movqi): Use h8300_move_ok. | |
1091 | (*movqi_h8sx, *movhi_h8300, *movhi_h8300hs, movhi): Likewise. | |
1092 | (movsi, *movsi_h8300, *movsi_h8300hs): Likewise. | |
1093 | (*pushqi1_h8300): Rename from pushqi1_h8300; use PRE_MODIFY. | |
1094 | (*pushqi1_h8300hs_<P>): Macroize from pushqi1_h8300hs_advanced | |
1095 | and pushqi1_h8300hs_normal; use PRE_MODIFY and | |
1096 | register_no_sp_elim_operand. | |
1097 | (*pushhi1_h8300hs_<P>): Similarly. | |
1098 | (pushqi1, pushhi1, pushhi1_h8300): Remove. | |
1099 | * config/h8300/predicates.md (register_no_sp_elim_operand): New. | |
1100 | ||
b7cef595 RH |
1101 | 2011-08-02 Richard Henderson <rth@redhat.com> |
1102 | ||
1103 | PR target/49881 | |
1104 | * config/avr/avr.md (push<MPUSH>1): Don't constrain the operand. | |
1105 | ||
20906c66 JJ |
1106 | 2011-08-02 Jakub Jelinek <jakub@redhat.com> |
1107 | ||
1108 | * c-parser.c (enum c_parser_prec): New enum, moved from within | |
1109 | c_parser_binary_expression. | |
1110 | (c_parser_binary_expression): Add PREC argument. Stop parsing | |
1111 | if operator has lower or equal precedence than PREC. | |
1112 | (c_parser_conditional_expression, c_parser_omp_for_loop): Adjust | |
1113 | callers. | |
1114 | (c_parser_omp_atomic): Handle parsing OpenMP 3.1 atomics. | |
1115 | Adjust c_finish_omp_atomic caller. | |
1116 | (c_parser_omp_taskyield): New function. | |
1117 | (c_parser_pragma): Handle PRAGMA_OMP_TASKYIELD. | |
1118 | (c_parser_omp_clause_name): Handle final and mergeable clauses. | |
1119 | (c_parser_omp_clause_final, c_parser_omp_clause_mergeable): New | |
1120 | functions. | |
1121 | (c_parser_omp_all_clauses): Handle PRAGMA_OMP_CLAUSE_FINAL | |
1122 | and PRAGMA_OMP_CLAUSE_MERGEABLE. | |
1123 | (OMP_TASK_CLAUSE_MASK): Allow final and mergeable clauses. | |
1124 | (c_parser_omp_clause_reduction): Handle min and max. | |
1125 | * c-typeck.c (c_finish_omp_clauses): Don't complain about | |
1126 | const qualified predetermined vars in firstprivate clause. | |
1127 | andle OMP_CLAUSE_FINAL and OMP_CLAUSE_MERGEABLE. | |
1128 | Handle MIN_EXPR and MAX_EXPR. | |
1129 | * tree-pretty-print.c (dump_omp_clause): Handle OMP_CLAUSE_FINAL | |
1130 | and OMP_CLAUSE_MERGEABLE. | |
1131 | (dump_generic_node): Handle OMP_ATOMIC_READ, OMP_ATOMIC_CAPTURE_OLD | |
1132 | and OMP_ATOMIC_CAPTURE_NEW. | |
1133 | * tree.c (omp_clause_num_ops): Add OMP_CLAUSE_FINAL and | |
1134 | OMP_CLAUSE_MERGEABLE. | |
1135 | (omp_clause_code_name): Likewise. | |
1136 | (walk_tree_1): Handle OMP_CLAUSE_FINAL and OMP_CLAUSE_MERGEABLE. | |
1137 | * tree.h (enum omp_clause_code): Add OMP_CLAUSE_FINAL | |
1138 | and OMP_CLAUSE_MERGEABLE. | |
1139 | (OMP_CLAUSE_FINAL_EXPR): Define. | |
1140 | * omp-low.c (scan_sharing_clauses): Handle OMP_CLAUSE_FINAL and | |
1141 | OMP_CLAUSE_MERGEABLE. | |
1142 | (expand_task_call): Likewise. | |
1143 | (expand_omp_atomic_load, expand_omp_atomic_store): New functions. | |
1144 | (expand_omp_atomic_fetch_op): Handle cases where old or new | |
1145 | value is needed afterwards. | |
1146 | (expand_omp_atomic): Call expand_omp_atomic_load resp. | |
1147 | expand_omp_atomic_store. | |
1148 | * gimplify.c (gimplify_omp_atomic, gimplify_expr): Handle | |
1149 | OMP_ATOMIC_READ, OMP_ATOMIC_CAPTURE_OLD and OMP_ATOMIC_CAPTURE_NEW. | |
1150 | (gimplify_scan_omp_clauses, gimplify_adjust_omp_clauses): Handle | |
1151 | OMP_CLAUSE_FINAL and OMP_CLAUSE_MERGEABLE. | |
1152 | * tree-nested.c (convert_nonlocal_omp_clauses, | |
1153 | convert_local_omp_clauses): Likewise. | |
1154 | * tree.def (OMP_ATOMIC_READ, OMP_ATOMIC_CAPTURE_OLD, | |
1155 | OMP_ATOMIC_CAPTURE_NEW): New. | |
1156 | * gimple.h (GF_OMP_ATOMIC_NEED_VALUE): New. | |
1157 | (gimple_omp_atomic_need_value_p, gimple_omp_atomic_set_need_value): | |
1158 | New inlines. | |
1159 | * omp-builtins.def (BUILT_IN_GOMP_TASKYIELD): New builtin. | |
1160 | * doc/generic.texi: Mention OMP_CLAUSE_COLLAPSE, | |
1161 | OMP_CLAUSE_UNTIED, OMP_CLAUSE_FINAL and OMP_CLAUSE_MERGEABLE. | |
1162 | ||
9b80d091 KT |
1163 | 2011-08-02 Kai Tietz <ktietz@redhat.com> |
1164 | ||
1165 | * gimple.c (canonicalize_cond_expr_cond): Handle cast from | |
1166 | boolean-type. | |
1167 | (ssa_forward_propagate_and_combine): Interprete result of | |
1168 | forward_propagate_comparison. | |
1169 | * gcc/gimple-fold.c (fold_gimple_assign): Add canonicalization for | |
1170 | boolean-typed operands for comparisons. | |
1171 | ||
7ea56b23 | 1172 | 2011-08-02 Georg-Johann Lay <avr@gjlay.de> |
276e0224 | 1173 | |
7ea56b23 GJL |
1174 | * config/avr/libgcc.S: Gather related function in the |
1175 | same input section. | |
276e0224 | 1176 | (__mulqihi3, __mulqihi3, __divmodqi4, __divmodhi4, __udivmodsi4, |
7ea56b23 GJL |
1177 | __divmodsi4): Use XCALL/XJMP instead of rcall/rjmp for external |
1178 | references. | |
1179 | (__udivmodqi4, __divmodqi4, __udivmodhi4, __divmodhi4, | |
1180 | __udivmodsi4, __divmodsi4, __prologue_saves__, | |
1181 | __epilogue_restores__, _exit, __tablejump2__, __tablejump__, | |
1182 | __do_copy_data, __do_clear_bss, __do_global_ctors, | |
1183 | __do_global_dtors, __tablejump_elpm__): Enclose in DEFUN/ENDF. | |
1184 | ||
643e867f UB |
1185 | 2011-08-02 Uros Bizjak <ubizjak@gmail.com> |
1186 | ||
1187 | PR target/47766 | |
1188 | * doc/md.texi (stack_protect_set): The pattern moves ptr_mode value. | |
1189 | (stack_protect_test): The pattern compares ptr_mode value. | |
1190 | ||
390fa588 AM |
1191 | 2011-08-02 Alan Modra <amodra@gmail.com> |
1192 | ||
1193 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Add REG_CFA_RESTORE | |
1194 | note for save_LR_around_toc_setup sequence. | |
1195 | ||
d4be16f6 L |
1196 | 2011-08-01 H.J. Lu <hongjiu.lu@intel.com> |
1197 | ||
643e867f | 1198 | * config/i386/lzcntintrin.h (__lzcnt64): Replace long with long long. |
d4be16f6 | 1199 | |
3c67fd9c SP |
1200 | 2011-08-01 Sebastian Pop <sebastian.pop@amd.com> |
1201 | Joseph Myers <joseph@codesourcery.com> | |
1202 | ||
1203 | * Makefile.in (hwint.o): Depend on DIAGNOSTIC_CORE_H. | |
1204 | * hwint.c: Include diagnostic-core.h. | |
1205 | (abs_hwi): New. | |
1206 | (gcd): Moved here... | |
1207 | (pos_mul_hwi): New. | |
1208 | (mul_hwi): New. | |
1209 | (least_common_multiple): Moved here... | |
1210 | * hwint.h (gcd): ... from here. | |
1211 | (least_common_multiple): ... from here. | |
1212 | (HOST_WIDE_INT_MIN): New. | |
1213 | (HOST_WIDE_INT_MAX): New. | |
1214 | (abs_hwi): Declared. | |
1215 | (gcd): Declared. | |
1216 | (pos_mul_hwi): Declared. | |
1217 | (mul_hwi): Declared. | |
1218 | (least_common_multiple): Declared. | |
1219 | * omega.c (check_pos_mul): Removed. | |
1220 | (check_mul): Removed. | |
1221 | (omega_solve_geq): Use pos_mul_hwi instead of check_pos_mul and | |
1222 | mul_hwi instead of check_mul. | |
1223 | ||
172c08a5 RH |
1224 | 2011-08-01 Richard Henderson <rth@redhat.com> |
1225 | ||
1226 | PR target/49881 | |
1227 | * config/avr/avr.h (PUSH_ROUNDING): New. | |
1228 | * config/avr/avr.md (pushqi1): Rename from *pushqi. | |
1229 | (*pushhi, *pushsi, *pushsf): Remove. | |
1230 | (MPUSH): New mode iterator. | |
1231 | (push<MPUSH>1): New expander. | |
1232 | ||
0d5e496f AS |
1233 | 2011-08-01 Anatoly Sokolov <aesok@post.ru> |
1234 | ||
1235 | * config/mmix/mmix.h (PREFERRED_RELOAD_CLASS, | |
1236 | PREFERRED_OUTPUT_RELOAD_CLASS): Remove macro. | |
1237 | * config/mmix/mmix-protos.h (mmix_preferred_reload_class, | |
1238 | mmix_preferred_output_reload_class): Remove. | |
1239 | * config/mmix/mmix.c (mmix_preferred_reload_class, | |
1240 | mmix_preferred_output_reload_class): Make static. Change rclass | |
1241 | argument and return type to reg_class_t. | |
1242 | (TARGET_PREFERRED_RELOAD_CLASS, | |
1243 | TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. | |
1244 | ||
a44250f4 JR |
1245 | 2011-08-01 Joern Rennecke <joern.rennecke@embecosm.com> |
1246 | ||
1247 | * mode-switching.c (optimize_mode_switching): Fix bug in MODE_AFTER | |
1248 | handling. | |
1249 | ||
efd7630c L |
1250 | 2011-08-01 H.J. Lu <hongjiu.lu@intel.com> |
1251 | ||
1252 | PR target/47766 | |
1253 | * config/i386/i386.md (PTR): New. | |
1254 | (stack_protect_set: Check TARGET_LP64 instead of TARGET_64BIT. | |
1255 | (stack_protect_test): Likewise. | |
1256 | (stack_protect_set_<mode>): Replace ":P" with ":PTR". | |
1257 | (stack_tls_protect_set_<mode>): Likewise. | |
1258 | (stack_tls_protect_test_<mode>): Likewise. | |
1259 | ||
03acddfe UB |
1260 | 2011-08-01 Uros Bizjak <ubizjak@gmail.com> |
1261 | ||
1262 | PR target/49927 | |
1263 | * config/i386/i386.c (ix86_address_subreg_operand): New. | |
1264 | (ix86_decompose_address): Use ix86_address_subreg_operand. | |
1265 | (ix86_legitimate_address_p): Do not assert that subregs satisfy | |
1266 | register_no_elim_operand in DImode. | |
1267 | ||
67f2d54f IR |
1268 | 2011-08-01 Ira Rosen <ira.rosen@linaro.org> |
1269 | ||
1270 | PR tree-optimization/49926 | |
1271 | * tree-vect-loop.c (vect_is_slp_reduction): Check that a statement | |
1272 | in a chain doesn't have uses both inside and outside the loop. | |
1273 | ||
f2c308fa | 1274 | 2011-08-01 Georg-Johann Lay <avr@gjlay.de> |
03acddfe | 1275 | |
f2c308fa GJL |
1276 | * config/avr/avr.h (mcu_type_s): Add errata_skip field. |
1277 | * config/avr/avr-devices.c (avr_mcu_types): Use it. | |
1278 | * config/avr/avr-mcus.def (AVR_MCU): Use it. | |
1279 | * config/avr/avr-c.c (avr_cpu_cpp_builtins): Use it to builtin | |
1280 | define __AVR_ERRATA_SKIP__ and __AVR_ERRATA_SKIP_JMP_CALL__. | |
1281 | * config/avr/libgcc.S (__mulshisi3, __ffshi2, __fmulsu_exit): | |
1282 | Use __AVR_ERRATA_SKIP_JMP_CALL__ instead of __AVR_HAVE_JMP_CALL__ | |
1283 | to detect if XJMP must not be skipped. | |
1284 | ||
bd15e32c AM |
1285 | 2011-08-02 Alan Modra <amodra@gmail.com> |
1286 | ||
03acddfe UB |
1287 | * config/rs6000/rs6000-protos.h (rs6000_save_toc_in_prologue_p): |
1288 | Delete. | |
bd15e32c AM |
1289 | * config/rs6000/rs6000.c (rs6000_save_toc_in_prologue_p): Make static. |
1290 | (rs6000_emit_prologue): Don't prematurely return when | |
1291 | TARGET_SINGLE_PIC_BASE. Don't emit eh_frame info in | |
1292 | save_toc_in_prologue case. | |
1293 | (rs6000_call_indirect_aix): Only disallow save_toc_in_prologue for | |
1294 | calls_alloca. | |
1295 | ||
d80de9e1 | 1296 | 2011-08-01 Georg-Johann Lay <avr@gjlay.de> |
bd15e32c | 1297 | |
d80de9e1 GJL |
1298 | * config/avr/avr-devices.c: Delete SVN property svn:executable. |
1299 | * config/avr/predicates.md: Ditto. | |
1300 | * config/avr/driver-avr.c: Ditto. | |
1301 | * config/avr/genopt.sh: Set SVN property svn:executable to *. | |
1302 | ||
ee222ce0 L |
1303 | 2011-08-01 H.J. Lu <hongjiu.lu@intel.com> |
1304 | ||
1305 | * calls.c (emit_library_call_value_1): Declare size only if | |
1306 | BLOCK_REG_PADDING is defined. | |
1307 | ||
5fcafa60 KY |
1308 | 2011-08-01 Kirill Yukhin <kirill.yukhin@intel.com> |
1309 | ||
1310 | PR target/49547 | |
03acddfe | 1311 | * config.gcc (i[34567]86-*-*): Replace abmintrin.h with lzcntintrin.h. |
5fcafa60 KY |
1312 | (x86_64-*-*): Likewise. |
1313 | * config/i386/i386.opt (mlzcnt): New. | |
1314 | * config/i386/abmintrin.h: File removed. | |
1315 | (__lzcnt_u16, __lzcnt, __lzcnt_u64): Moved to ... | |
03acddfe | 1316 | * config/i386/lzcntintrin.h: ... here. New file. |
5fcafa60 KY |
1317 | (__lzcnt): Rename to ... |
1318 | (__lzcnt32): ... this. | |
1319 | * config/i386/bmiintrin.h (head): Update copyright year. | |
1320 | (__lzcnt_u16): Removed. | |
1321 | (__lzcnt_u32): Likewise. | |
1322 | (__lzcnt_u64): Likewise. | |
1323 | * config/i386/x86intrin.h: Include lzcntintrin.h when __LZCNT__ | |
1324 | is defined, remove abmintrin.h. | |
1325 | * config/i386/cpuid.h (bit_LZCNT): New. | |
1326 | * config/i386/driver-i386.c (host_detect_local_cpu): Detect | |
1327 | LZCNT feature. | |
1328 | * config/i386/i386-c.c (ix86_target_macros_internal): Define | |
1329 | __LZCNT__ if needed. | |
1330 | * config/i386/i386.c (ix86_target_string): New option -mlzcnt. | |
1331 | (ix86_option_override_internal): Handle LZCNT option. | |
1332 | (ix86_valid_target_attribute_inner_p): Likewise. | |
1333 | (struct builtin_description bdesc_args) <IX86_BUILTIN_CLZS>: Update. | |
1334 | * config/i386/i386.h (TARGET_LZCNT): New. | |
1335 | (CLZ_DEFINED_VALUE_AT_ZERO): Update. | |
1336 | * config/i386/i386.md (clz<mode>2): Update insn constraint. | |
1337 | (clz<mode>2_lzcnt): Likewise. | |
1338 | * doc/invoke.texi: Mention -mlzcnt option. | |
1339 | * doc/extend.texi: Likewise. | |
1340 | ||
655b30bf JB |
1341 | 2011-08-01 Julian Brown <julian@codesourcery.com> |
1342 | ||
1343 | * configure.ac (fixed-point): Add ARM support. | |
1344 | * configure: Regenerate. | |
1345 | * config/arm/arm.c (arm_fixed_mode_set): New struct. | |
1346 | (arm_set_fixed_optab_libfunc): New. | |
1347 | (arm_set_fixed_conv_libfunc): New. | |
1348 | (arm_init_libfuncs): Initialise fixed-point helper libfuncs with | |
1349 | ARM-specific names. | |
1350 | (aapcs_libcall_value): Return sub-word-size fixed-point libcall | |
1351 | return values in SImode. | |
1352 | (arm_return_in_msb): Return fixed-point types in the msb. | |
1353 | (arm_pad_reg_upwards, arm_pad_arg_upwards): Pad fixed-point types | |
1354 | upwards. | |
1355 | (arm_scalar_mode_supported_p): Support fixed-point modes. | |
1356 | (arm_vector_mode_supported_p): Support vector fixed-point modes. | |
1357 | * config/arm/arm.h (SHORT_FRACT_TYPE_SIZE, FRACT_TYPE_SIZE) | |
1358 | (LONG_FRACT_TYPE_SIZE, LONG_LONG_FRACT_TYPE_SIZE) | |
1359 | (SHORT_ACCUM_TYPE_SIZE, ACCUM_TYPE_SIZE, LONG_ACCUM_TYPE_SIZE) | |
1360 | (LONG_LONG_ACCUM_TYPE_SIZE, MAX_FIXED_MODE_SIZE): Define. | |
1361 | * config/arm/iterators.md (FIXED, ADDSUB, UQADDSUB, QADDSUB, QMUL): | |
1362 | New mode iterators. | |
1363 | (qaddsub_suf): New mode attribute. | |
1364 | * config/arm/arm-modes.def (FRACT, UFRACT, ACCUM, UACCUM): Declare | |
1365 | vector modes. | |
1366 | * config/arm/predicates.md (sat_shift_operator): New predicate. | |
1367 | * config/arm/arm-fixed.md: New. | |
1368 | * config/arm/arm.md: Include arm-fixed.md. | |
1369 | * config/arm/t-arm (MD_INCLUDES): Add arm-fixed.md. | |
1370 | ||
460b171d JB |
1371 | 2011-08-01 Julian Brown <julian@codesourcery.com> |
1372 | ||
1373 | * calls.c (emit_library_call_value_1): Support padding for libcall | |
1374 | arguments and return values. | |
1375 | * config/arm/arm.c (arm_pad_arg_upward): Pad half-float values | |
1376 | downwards in big-endian mode. | |
1377 | ||
b6193c94 RO |
1378 | 2011-08-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1379 | ||
1380 | PR debug/49887 | |
1381 | * config/sol2.c (solaris_code_end): Rename to solaris_file_end. | |
1382 | * config/sol2-protos.h: Likewise. | |
1383 | * config/i386/i386.c (ix86_code_end) [TARGET_SOLARIS]: Don't call | |
1384 | solaris_code_end. | |
1385 | * config/i386/sol2.h [!USE_GAS] (TARGET_ASM_FILE_END): Redefine. | |
1386 | * config/sparc/sparc.c (sparc_file_end) [TARGET_SOLARIS]: Call | |
1387 | solaris_file_end. | |
1388 | * config/sparc/sol2.h (TARGET_ASM_CODE_END): Remove. | |
1389 | ||
0747aae4 JB |
1390 | 2011-08-01 Julian Brown <julian@codesourcery.com> |
1391 | ||
1392 | * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Support FIXED_CST. | |
1393 | ||
848fac28 JB |
1394 | 2011-08-01 Julian Brown <julian@codesourcery.com> |
1395 | ||
1396 | * final.c (output_addr_const): Print fixed-point constants as | |
1397 | decimal not hex. | |
1398 | ||
e62a2b6e RG |
1399 | 2011-08-01 Richard Guenther <rguenther@suse.de> |
1400 | ||
1401 | * stor-layout.c (initialize_sizetypes): Properly sign-extend | |
1402 | bitsiztype TYPE_MAX_VALUE. | |
1403 | ||
f64398b5 JB |
1404 | 2011-08-01 Julian Brown <julian@codesourcery.com> |
1405 | ||
1406 | * optabs.c (prepare_cmp_insn): Use correct biasing for fixed-point | |
1407 | comparison helpers. | |
1408 | ||
c469244e RH |
1409 | 2011-07-31 Richard Henderson <rth@redhat.com> |
1410 | ||
1411 | * config/h8300/crti.asm: Add flags to .section directive. | |
1412 | * config/h8300/crtn.asm: Likewise. | |
1413 | ||
b87ac615 RH |
1414 | 2011-07-31 Richard Henderson <rth@redhat.com> |
1415 | ||
1416 | * stor-layout.c (initialize_sizetypes): Handle unsigned short. | |
1417 | * tree.c (build_common_tree_nodes): Likewise. | |
1418 | ||
05eb5cc3 KK |
1419 | 2011-07-31 Kaz Kojima <kkojima@gcc.gnu.org> |
1420 | ||
1421 | PR target/49880 | |
1422 | * config/sh/sh.md (udivsi3_i1): Enable for TARGET_DIVIDE_CALL_DIV1. | |
1423 | (divsi3_i1): Likewise. | |
1424 | ||
a3059635 BS |
1425 | 2011-07-31 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
1426 | ||
1427 | PR tree-optimization/49749 | |
1428 | * tree-ssa-reassoc.c (get_rank): New forward declaration. | |
1429 | (PHI_LOOP_BIAS): New macro. | |
1430 | (phi_rank): New function. | |
1431 | (loop_carried_phi): Likewise. | |
1432 | (propagate_rank): Likewise. | |
1433 | (get_rank): Add calls to phi_rank and propagate_rank. | |
bd15e32c | 1434 | |
3ee7be4c L |
1435 | 2011-07-31 H.J. Lu <hongjiu.lu@intel.com> |
1436 | ||
1437 | * config/i386/x86-64.h (SIZE_TYPE): Check TARGET_LP64 instead | |
1438 | of TARGET_64BIT. | |
1439 | (PTRDIFF_TYPE): Likewise. | |
1440 | ||
deb1f617 UB |
1441 | 2011-07-31 Uros Bizjak <ubizjak@gmail.com> |
1442 | ||
1443 | PR target/49920 | |
1444 | * config/i386/i386.md (strset): Do not expand strset_singleop | |
1445 | when %eax or $edi are fixed. | |
1446 | (*strsetdi_rex_1): Disable when %eax or %edi are fixed. | |
1447 | (*strsetsi_1): Ditto. | |
1448 | (*strsethi_1): Ditto. | |
1449 | (*strsetqi_1): Ditto. | |
1450 | (*rep_stosdi_rex64): Disable when %eax, %ecx or %edi are fixed. | |
1451 | (*rep_stossi): Ditto. | |
1452 | (*rep_stosqi): Ditto. | |
03acddfe | 1453 | (*strlenqi_1): Ditto. |
deb1f617 UB |
1454 | (cmpstrnsi): Also fail when %ecx is fixed. |
1455 | (*cmpstrnqi_nz_1): Disable when %ecx, %esi or %edi are fixed. | |
1456 | (*cmpstrnqi_1): Ditto. | |
deb1f617 UB |
1457 | (*strmovdi_rex_1): Disable when %esi or %edi are fixed. |
1458 | (*strmovsi_1): Ditto. | |
1459 | (*strmovhi_1): Ditto. | |
1460 | (*strmovqi_1): Ditto. | |
1461 | (*rep_movdi_rex64): Disable when %ecx, %esi or %edi are fixed. | |
1462 | (*rep_movsi): Ditto. | |
1463 | (*rep_movqi): Ditto. | |
1464 | ||
03e69b12 MP |
1465 | 2011-07-31 Mikael Pettersson <mikpe@it.uu.se> |
1466 | ||
1467 | PR target/47908 | |
1468 | * config/m68k/m68k.c (m68k_override_options_after_change): New function. | |
1469 | Disable instruction scheduling for non-ColdFire targets. | |
1470 | (TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE): Define. | |
1471 | ||
dcaac07d RE |
1472 | 2011-07-31 Revital Eres <revital.eres@linaro.org> |
1473 | ||
1474 | * ddg.c (create_ddg_dep_from_intra_loop_link): Remove the creation | |
1475 | of anti-dep edge from a branch. | |
1476 | (add_cross_iteration_register_deps): Create anti-dep edge from | |
1477 | a branch. | |
1478 | ||
413e50a2 RE |
1479 | 2011-07-31 Revital Eres <revital.eres@linaro.org> |
1480 | ||
1481 | * modulo-sched.c: Change comment. | |
1482 | (reset_sched_times): Fix print message. | |
1483 | (print_partial_schedule): Add print info. | |
1484 | ||
f047e518 TV |
1485 | 2011-07-31 Tom de Vries <tom@codesourcery.com> |
1486 | ||
1487 | PR middle-end/43513 | |
1488 | * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Use max of | |
1489 | get_object_alignment and TYPE_ALIGN. | |
1490 | ||
b3421a06 TV |
1491 | 2011-07-30 Tom de Vries <tom@codesourcery.com> |
1492 | ||
1493 | PR middle-end/43513 | |
1494 | * tree-ssa-dce.c (ref_may_be_aliased): Add assert. | |
1495 | (propagate_necessity): Handle WITH_SIZE_EXPR call arg. | |
1496 | ||
cc822cc1 RO |
1497 | 2011-07-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1498 | ||
1499 | * config/mips/driver-native.c [__sgi__]: Include <invent.h>, | |
1500 | <sys/sbd.h>. | |
1501 | (cpu_types): New array. | |
1502 | (cputype): New function. | |
1503 | (host_detect_local_cpu): Only define buf, f if !__sgi__. | |
1504 | Use scaninvent instead of /proc/cpuinfo if __sgi__. | |
1505 | * config.host: Also use driver-native.o, mips/x-native on | |
1506 | mips-sgi-irix*. | |
deb1f617 | 1507 | * config/mips/iris6.h [__mips__] (host_detect_local_cpu): Declare. |
cc822cc1 RO |
1508 | (EXTRA_SPEC_FUNCTIONS, MARCH_MTUNE_NATIVE_SPECS): Define. |
1509 | (DRIVER_SELF_SPECS): Add MARCH_MTUNE_NATIVE_SPECS. | |
1510 | ||
25142650 JJ |
1511 | 2011-07-29 Jakub Jelinek <jakub@redhat.com> |
1512 | ||
1513 | PR middle-end/49897 | |
1514 | PR middle-end/49898 | |
1515 | * omp-low.c (use_pointer_for_field): If disallowing copy-in/out | |
1516 | in nested parallel and outer is a gimple_reg, mark it as addressable | |
1517 | and set its bit in task_shared_vars bitmap too. | |
1518 | ||
89840058 UB |
1519 | 2011-07-29 Uros Bizjak <ubizjak@gmail.com> |
1520 | ||
1521 | * config/i386/predicates.md (tp_or_register_operand): Remove predicate. | |
1522 | ||
d2da41f5 RO |
1523 | 2011-07-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1524 | ||
1525 | * config/alpha/driver-alpha.c (IMPLVER_EV4_FAMILY, | |
1526 | IMPLVER_EV5_FAMILY, IMPLVER_EV6_FAMILY, IMPLVER_EV7_FAMILY): Define. | |
1527 | (AMASK_BWX, AMASK_FIX, AMASK_CIX, AMASK_MVI, AMASK_PRECISE, | |
1528 | AMASK_LOCKPFTCHOK): Define. | |
1529 | (host_detect_local_cpu): Remove buf, f, cpu_names. | |
1530 | Define cpu_types, implver, amask. | |
1531 | Use __builtin_alpha_implver, __builtin_alpha_amask to determine | |
1532 | native CPU. | |
1533 | * config.host: Also use driver-alpha.o, alpha/x-alpha on | |
1534 | alpha*-dec-osf*. | |
1535 | * config/alpha/osf5.h [__alpha__ || __alpha] | |
1536 | (host_detect_local_cpu): Declare. | |
1537 | (EXTRA_SPEC_FUNCTIONS, MCPU_MTUNE_NATIVE_SPECS) | |
1538 | (DRIVER_SELF_SPECS): Define. | |
1539 | ||
dadecee2 UB |
1540 | 2011-07-29 Uros Bizjak <ubizjak@gmail.com> |
1541 | ||
1542 | PR target/47715 | |
1543 | * config/i386/i386.md (*load_tp_x32): New. | |
1544 | (*load_tp_x32_zext): Ditto. | |
1545 | (*add_tp_x32): Ditto. | |
1546 | (*add_tp_x32_zext): Ditto. | |
1547 | (*load_tp_<mode>): Disable for TARGET_X32 targets. | |
1548 | (*add_tp_<mode>): Ditto. | |
1549 | * config/i386/i386.c (get_thread_pointer): Load thread pointer in | |
1550 | ptr_mode and convert to Pmode if needed. | |
1551 | ||
db7ccee2 | 1552 | 2011-07-29 Georg-Johann Lay <avr@gjlay.de> |
dadecee2 | 1553 | |
db7ccee2 GJL |
1554 | PR target/49687 |
1555 | * config/avr/avr.md (mulsi3, *mulsi3, mulu<mode>si3, | |
1556 | muls<mode>si3, mulohisi3, mulhisi3, umulhisi3, usmulhisi3, | |
1557 | *<any_extend:extend_prefix><any_extend2:extend_prefix>mul<QIHI:mode><QIHI2:mode>si3): | |
1558 | Add X to register footprint: Clobber r26/r27. | |
1559 | ||
96d03496 RG |
1560 | 2011-07-29 Richard Guenther <rguenther@suse.de> |
1561 | ||
1562 | * builtins.c (fold_builtin_signbit): Build the comparison | |
1563 | with a proper type. | |
1564 | ||
64fb0d3a RG |
1565 | 2011-07-29 Richard Guenther <rguenther@suse.de> |
1566 | ||
1567 | PR tree-optimization/49893 | |
1568 | * tree-predcom.c (suitable_reference_p): Volatile references | |
1569 | are not suitable. | |
1570 | ||
6130646b | 1571 | 2011-07-29 Georg-Johann Lay <avr@gjlay.de> |
dadecee2 | 1572 | |
6130646b GJL |
1573 | PR target/49313 |
1574 | * config/avr/libgcc.S (__ffshi2): Don't skip 2-word instruction. | |
1575 | (__ctzsi2): Result for 0 may be undefined. | |
1576 | (__ctzhi2): Result for 0 may be undefined. | |
1577 | (__popcounthi2): Don't clobber r30. Use __popcounthi2_tail. | |
1578 | (__popcountsi2): Ditto. And don't clobber r26. | |
1579 | (__popcountdi2): Ditto. And don't clobber r27. | |
1580 | * config/avr/avr.md (UNSPEC_COPYSIGN): New c_enum. | |
1581 | (parityhi2): New expand. | |
1582 | (paritysi2): New expand. | |
1583 | (popcounthi2): New expand. | |
1584 | (popcountsi2): New expand. | |
1585 | (clzhi2): New expand. | |
1586 | (clzsi2): New expand. | |
1587 | (ctzhi2): New expand. | |
1588 | (ctzsi2): New expand. | |
1589 | (ffshi2): New expand. | |
1590 | (ffssi2): New expand. | |
1591 | (copysignsf3): New insn. | |
1592 | (bswapsi2): New expand. | |
1593 | (*parityhi2.libgcc): New insn. | |
1594 | (*parityqihi2.libgcc): New insn. | |
1595 | (*paritysihi2.libgcc): New insn. | |
1596 | (*popcounthi2.libgcc): New insn. | |
1597 | (*popcountsi2.libgcc): New insn. | |
1598 | (*popcountqi2.libgcc): New insn. | |
1599 | (*popcountqihi2.libgcc): New insn-and-split. | |
1600 | (*clzhi2.libgcc): New insn. | |
1601 | (*clzsihi2.libgcc): New insn. | |
1602 | (*ctzhi2.libgcc): New insn. | |
1603 | (*ctzsihi2.libgcc): New insn. | |
1604 | (*ffshi2.libgcc): New insn. | |
1605 | (*ffssihi2.libgcc): New insn. | |
1606 | (*bswapsi2.libgcc): New insn. | |
1607 | ||
a9b332d4 RG |
1608 | 2011-07-29 Richard Guenther <rguenther@suse.de> |
1609 | ||
1610 | * tree-vrp.c (get_value_range): Only set parameter default | |
1611 | definitions to varying, leave others at undefined. | |
1612 | (extract_range_from_binary_expr): Fix undefined handling. | |
1613 | (vrp_visit_phi_node): Handle merged undefined state. | |
1614 | ||
154516d9 WG |
1615 | 2011-07-29 Wei Guozhi <carrot@google.com> |
1616 | ||
1617 | PR rtl-optimization/49799 | |
1618 | * combine.c (make_compound_operation): Check if the bit field is valid | |
1619 | before change it to bit field extraction. | |
1620 | ||
e40a0b69 BS |
1621 | 2011-07-29 Bernd Schmidt <bernds@codesourcery.com> |
1622 | ||
1623 | PR rtl-optimization/49891 | |
1624 | * cfgrtl.c (force_nonfallthru_and_redirect): Set JUMP_LABEL for | |
1625 | newly created returnjumps. | |
1626 | ||
13a23442 DD |
1627 | 2011-07-28 DJ Delorie <dj@redhat.com> |
1628 | ||
69135c94 DD |
1629 | * expr.c (expand_expr_addr_expr_1): Detect a user request for a |
1630 | local frame in a naked function, and produce a suitable error for | |
1631 | that specific case. | |
1632 | ||
13a23442 DD |
1633 | * config/m32c/m32c.c (m32c_secondary_reload_class): Allow PSI |
1634 | registers to be reloaded in HI classes when the target is HI. | |
1635 | ||
6c6c79a9 SP |
1636 | 2011-07-28 Sebastian Pop <sebastian.pop@amd.com> |
1637 | ||
1638 | * graphite-clast-to-gimple.c: Replace v1, v2, lb, ub with | |
1639 | bound_one, bound_two. | |
1640 | ||
0c43dbaf SP |
1641 | 2011-07-28 Sebastian Pop <sebastian.pop@amd.com> |
1642 | ||
1643 | PR middle-end/48648 | |
1644 | * graphite-clast-to-gimple.c (clast_get_body_of_loop): Handle | |
1645 | CLAST assignments. | |
1646 | (translate_clast): Same. | |
1647 | (translate_clast_assignment): New. | |
1648 | ||
60cf26cc SP |
1649 | 2011-07-28 Sebastian Pop <sebastian.pop@amd.com> |
1650 | ||
1651 | PR tree-optimization/49876 | |
1652 | * sese.c (rename_uses): Do not return false on gloog_error: set | |
1653 | the new_expr to integer_zero_node and continue code generation. | |
1654 | (graphite_copy_stmts_from_block): Remove early exit on gloog_error. | |
1655 | ||
4fe249e7 JJ |
1656 | 2011-07-28 Jakub Jelinek <jakub@redhat.com> |
1657 | ||
1658 | PR debug/49846 | |
1659 | * var-tracking.c (prepare_call_arguments): For non-MODE_INT stack | |
1660 | arguments also check if they aren't initialized with a MODE_INT | |
1661 | mode of the same size. | |
1662 | ||
86f98641 AH |
1663 | 2011-07-28 Aldy Hernandez <aldyh@redhat.com> |
1664 | ||
1665 | * expr.c (get_bit_range): Handle *MEM_REF's. | |
1666 | ||
dc0ff1c8 BS |
1667 | 2011-07-28 Bernd Schmidt <bernds@codesourcery.com> |
1668 | ||
1669 | * rtlanal.c (tablejump_p): False for returns. | |
1670 | * reorg.c (first_active_target_insn): New static function. | |
1671 | (find_end_label): Set JUMP_LABEL for a new returnjump. | |
1672 | (optimize_skip, get_jump_flags, rare_destination, | |
1673 | mostly_true_jump, get_branch_condition, | |
1674 | steal_delay_list_from_target, own_thread_p, | |
1675 | fill_simple_delay_slots, follow_jumps, fill_slots_from_thread, | |
1676 | fill_eager_delay_slots, relax_delay_slots, make_return_insns, | |
1677 | dbr_schedule): Adjust to handle ret_rtx in JUMP_LABELs. | |
1678 | * jump.c (delete_related_insns): Likewise. | |
1679 | (jump_to_label_p): New function. | |
1680 | (redirect_target): New static function. | |
1681 | (redirect_exp_1): Use it. Adjust to handle ret_rtx in JUMP_LABELS. | |
1682 | (redirect_jump_1): Assert that the new label is nonnull. | |
1683 | (redirect_jump): Likewise. | |
1684 | (redirect_jump_2): Check for ANY_RETURN_P rather than NULL labels. | |
1685 | * ifcvt.c (find_if_case_1): Take care when redirecting jumps to the | |
1686 | exit block. | |
1687 | (dead_or_predicable): Change NEW_DEST arg to DEST_EDGE. All callers | |
1688 | changed. Ensure that the right label is passed to redirect_jump. | |
1689 | * function.c (emit_return_into_block, | |
1690 | thread_prologue_and_epilogue_insns): Ensure new returnjumps have | |
1691 | ret_rtx in their JUMP_LABEL. | |
1692 | * print-rtl.c (print_rtx): Handle ret_rtx in a JUMP_LABEL. | |
1693 | * emit-rtl.c (skip_consecutive_labels): Allow the caller to | |
1694 | pass ret_rtx as label. | |
1695 | * cfglayout.c (fixup_reorder_chain): Use | |
1696 | force_nonfallthru_and_redirect rather than force_nonfallthru. | |
1697 | (duplicate_insn_chain): Copy JUMP_LABELs for returns. | |
1698 | * rtl.h (ANY_RETURN_P): New macro. | |
1699 | (jump_to_label_p): Declare. | |
1700 | * resource.c (find_dead_or_set_registers): Handle ret_rtx in | |
1701 | JUMP_LABELs. | |
1702 | (mark_target_live_regs): Likewise. | |
1703 | * basic-block.h (force_nonfallthru_and_redirect): Declare. | |
1704 | * cfgrtl.c (force_nonfallthru_and_redirect): No longer static. | |
1705 | * config/alpha/alpha.c (alpha_tablejump_addr_vec, | |
1706 | alpha_tablejump_best_label): Remove functions. | |
1707 | * config/alpha/alpha-protos.c (alpha_tablejump_addr_vec, | |
1708 | alpha_tablejump_best_label): Remove declarations. | |
1709 | * config/sh/sh.c (barrier_align, split_branches): Adjust for | |
1710 | ret_rtx in JUMP_LABELs. | |
1711 | * config/arm/arm.c (is_jump_table): Likewise. | |
1712 | ||
a2e49bb2 UB |
1713 | 2011-07-28 Uros Bizjak <ubizjak@gmail.com> |
1714 | ||
1715 | * config/i386/predicates.md (pic_32bit_opreand): Do not define as | |
1716 | special predicate. Remove explicit mode checks. | |
1717 | ||
64153cce JJ |
1718 | 2011-07-28 Jakub Jelinek <jakub@redhat.com> |
1719 | ||
a2e49bb2 UB |
1720 | * dwarf2out.c (resolve_addr): For -gdwarf-2 don't optimize |
1721 | DW_AT_data_member_location containing just DW_OP_plus_uconst. | |
b3882148 | 1722 | |
64153cce JJ |
1723 | PR debug/49871 |
1724 | * dwarf2out.c (size_of_die, value_format, output_die): Use | |
1725 | DW_FORM_udata instead of DW_FORM_data[48] for | |
1726 | dw_val_class_unsigned_const DW_AT_data_member_location for DWARF 3. | |
1727 | ||
0465f4f8 L |
1728 | 2011-07-28 H.J. Lu <hongjiu.lu@intel.com> |
1729 | ||
844bf05b UB |
1730 | * config/i386/i386.md (*tls_global_dynamic_64): Update |
1731 | length attribute. | |
0465f4f8 | 1732 | |
f51c4a8a UB |
1733 | 2011-07-28 Uros Bizjak <ubizjak@gmail.com> |
1734 | ||
1735 | PR target/47715 | |
1736 | * config/i386/i386.md (*tls_global_dynamic_64): Remove mode from | |
1737 | tls_symbolic_operand check. Update code sequence for TARGET_X32. | |
1738 | (tls_global_dynamic_64): Remove mode from tls_symbolic_operand check. | |
1739 | (tls_dynamic_gnu2_64): Ditto. | |
1740 | (*tls_dynamic_gnu2_lea_64): Ditto. | |
1741 | (*tls_dynamic_gnu2_call_64): Ditto. | |
1742 | (*tls_dynamic_gnu2_combine_64): Ditto. | |
1743 | ||
5e9627ca L |
1744 | 2011-07-28 H.J. Lu <hongjiu.lu@intel.com> |
1745 | ||
1746 | * config.gcc: Set need_64bit_hwint to yes for x86 targets. | |
1747 | ||
40b9321d L |
1748 | 2011-07-28 H.J. Lu <hongjiu.lu@intel.com> |
1749 | ||
1750 | PR target/47364 | |
1751 | * config/i386/i386.md (strlen<mode>): Replace SWI48x with P. | |
1752 | ||
95f89bb3 RR |
1753 | 2011-07-28 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
1754 | ||
1755 | * config/arm/vfp.md ("*movdf_vfp"): Handle the VFP constraints | |
1756 | before the core constraints. Adjust attributes. | |
a2e49bb2 | 1757 | ("*thumb2_movdf_vfp"): Likewise. |
95f89bb3 | 1758 | |
98958241 KT |
1759 | 2011-07-28 Kai Tietz <ktietz@redhat.com> |
1760 | ||
f51c4a8a | 1761 | * tree-vrp.c (simplify_stmt_using_ranges): Remove TRUTH_NOT_EXPR case. |
98958241 KT |
1762 | (simplify_truth_ops_using_ranges): Likewise. |
1763 | (build_assert_expr_for): Likewise. | |
1764 | (build_assert_expr_for_1): Remove TRUTH_NOT_EXPR case | |
1765 | and handle BIT_NOT_EXPR for truth-operation. | |
1766 | ||
f627fef2 | 1767 | 2011-07-28 Georg-Johann Lay <avr@gjlay.de> |
f51c4a8a | 1768 | |
f627fef2 GJL |
1769 | PR target/49313 |
1770 | Undo r176835 from trunk | |
1771 | 2011-07-27 Georg-Johann Lay | |
1772 | ||
296799ba | 1773 | 2011-07-28 Georg-Johann Lay <avr@gjlay.de> |
f51c4a8a | 1774 | |
296799ba GJL |
1775 | PR target/49687 |
1776 | * config/avr/t-avr (LIB1ASMFUNCS): Remove _xmulhisi3_exit. | |
1777 | Add _muluhisi3, _mulshisi3, _usmulhisi3. | |
1778 | * config/avr/libgcc.S (__mulsi3): Rewrite. | |
1779 | (__mulhisi3): Rewrite. | |
1780 | (__umulhisi3): Rewrite. | |
1781 | (__usmulhisi3): New. | |
1782 | (__muluhisi3): New. | |
1783 | (__mulshisi3): New. | |
1784 | (__mulohisi3): New. | |
1785 | (__mulqi3, __mulqihi3, __umulqihi3, __mulhi3): Use DEFUN/ENDF to | |
1786 | declare. | |
1787 | * config/avr/predicates.md (pseudo_register_operand): Rewrite. | |
1788 | (pseudo_register_or_const_int_operand): New. | |
1789 | (combine_pseudo_register_operand): New. | |
1790 | (u16_operand): New. | |
1791 | (s16_operand): New. | |
1792 | (o16_operand): New. | |
1793 | * config/avr/avr.c (avr_rtx_costs): Handle costs for mult:SI. | |
1794 | * config/avr/avr.md (QIHI, QIHI2): New mode iterators. | |
1795 | (any_extend, any_extend2): New code iterators. | |
1796 | (extend_prefix): New code attribute. | |
1797 | (mulsi3): Rewrite. Turn insn to expander. | |
1798 | (mulhisi3): Ditto. | |
1799 | (umulhisi3): Ditto. | |
1800 | (usmulhisi3): New expander. | |
1801 | (*mulsi3): New insn-and-split. | |
1802 | (mulu<mode>si3): New insn-and-split. | |
1803 | (muls<mode>si3): New insn-and-split. | |
1804 | (mulohisi3): New insn-and-split. | |
1805 | (*uumulqihisi3, *uumulhiqisi3, *uumulhihisi3, *uumulqiqisi3, | |
1806 | *usmulqihisi3, *usmulhiqisi3, *usmulhihisi3, *usmulqiqisi3, | |
1807 | *sumulqihisi3, *sumulhiqisi3, *sumulhihisi3, *sumulqiqisi3, | |
1808 | *ssmulqihisi3, *ssmulhiqisi3, *ssmulhihisi3, *ssmulqiqisi3): New | |
1809 | insn-and-split. | |
1810 | (*mulsi3_call): Rewrite. | |
1811 | (*mulhisi3_call): Rewrite. | |
1812 | (*umulhisi3_call): Rewrite. | |
1813 | (*usmulhisi3_call): New insn. | |
1814 | (*muluhisi3_call): New insn. | |
1815 | (*mulshisi3_call): New insn. | |
1816 | (*mulohisi3_call): New insn. | |
1817 | (extendqihi2): Use combine_pseudo_register_operand as predicate | |
1818 | for operand 1. | |
1819 | (extendqisi2): Ditto. | |
1820 | (zero_extendqihi2): Ditto. | |
1821 | (zero_extendqisi2): Ditto. | |
1822 | (zero_extendhisi2): Ditto. | |
1823 | (extendhisi2): Ditto. Don't early-clobber operand 0. | |
1824 | ||
d8fa1b73 UB |
1825 | 2011-07-28 Uros Bizjak <ubizjak@gmail.com> |
1826 | ||
1827 | * config/i386/i386.c (add->lea splitter): Add SWI mode to PLUS RTX. | |
1828 | ||
3689198d SP |
1829 | 2011-07-27 Sebastian Pop <sebastian.pop@amd.com> |
1830 | ||
1831 | PR tree-optimization/49471 | |
1832 | * tree-ssa-loop-manip.c (canonicalize_loop_ivs): Build an unsigned | |
1833 | iv only when the largest type is unsigned. Do not call | |
1834 | lang_hooks.types.type_for_size. | |
1835 | ||
27165edd SP |
1836 | 2011-07-27 Sebastian Pop <sebastian.pop@amd.com> |
1837 | ||
1838 | PR middle-end/45450 | |
1839 | * graphite-poly.c (apply_poly_transforms): Disable legality check | |
1840 | after an openscop read. | |
1841 | ||
bd4a54da SP |
1842 | 2011-07-27 Sebastian Pop <sebastian.pop@amd.com> |
1843 | ||
1844 | PR middle-end/47691 | |
1845 | * graphite-clast-to-gimple.c (translate_clast_user): Update use of | |
1846 | copy_bb_and_scalar_dependences. | |
1847 | * sese.c (rename_uses): Do not call gcc_assert. Set gloog_error. | |
1848 | (graphite_copy_stmts_from_block): Update call to rename_uses. | |
1849 | (copy_bb_and_scalar_dependences): Update call to | |
1850 | graphite_copy_stmts_from_block. | |
1851 | * sese.h (copy_bb_and_scalar_dependences): Update declaration. | |
1852 | ||
04c9ea12 | 1853 | 2011-07-27 Georg-Johann Lay <avr@gjlay.de> |
bd4a54da | 1854 | |
04c9ea12 GJL |
1855 | PR target/49313 |
1856 | * config/avr/libgcc.S (__ffshi2): Don't skip 2-word instruction. | |
1857 | (__ctzsi2): Result for 0 may be undefined. | |
1858 | (__ctzhi2): Result for 0 may be undefined. | |
1859 | (__popcounthi2): Don't clobber r30. Use __popcounthi2_tail. | |
1860 | (__popcountsi2): Ditto. And don't clobber r26. | |
1861 | (__popcountdi2): Ditto. And don't clobber r27. | |
1862 | * config/avr/avr.md (UNSPEC_COPYSIGN): New c_enum. | |
1863 | (parityhi2): New expand. | |
1864 | (paritysi2): New expand. | |
1865 | (popcounthi2): New expand. | |
1866 | (popcountsi2): New expand. | |
1867 | (clzhi2): New expand. | |
1868 | (clzsi2): New expand. | |
1869 | (ctzhi2): New expand. | |
1870 | (ctzsi2): New expand. | |
1871 | (ffshi2): New expand. | |
1872 | (ffssi2): New expand. | |
1873 | (copysignsf3): New insn. | |
1874 | (bswapsi2): New expand. | |
1875 | (*parityhi2.libgcc): New insn. | |
1876 | (*parityqihi2.libgcc): New insn. | |
1877 | (*paritysihi2.libgcc): New insn. | |
1878 | (*popcounthi2.libgcc): New insn. | |
1879 | (*popcountsi2.libgcc): New insn. | |
1880 | (*popcountqi2.libgcc): New insn. | |
1881 | (*popcountqihi2.libgcc): New insn-and-split. | |
1882 | (*clzhi2.libgcc): New insn. | |
1883 | (*clzsihi2.libgcc): New insn. | |
1884 | (*ctzhi2.libgcc): New insn. | |
1885 | (*ctzsihi2.libgcc): New insn. | |
1886 | (*ffshi2.libgcc): New insn. | |
1887 | (*ffssihi2.libgcc): New insn. | |
1888 | (*bswapsi2.libgcc): New insn. | |
1889 | ||
479a4921 UB |
1890 | 2011-07-27 Uros Bizjak <ubizjak@gmail.com> |
1891 | ||
1892 | * config/i386/i386.c (ix86_expand_move): Do not explicitly check | |
1893 | the mode of symbolic_opreand RTXes. | |
1894 | ||
7aecd4e8 UB |
1895 | 2011-07-27 Uros Bizjak <ubizjak@gmail.com> |
1896 | ||
a2e49bb2 UB |
1897 | * config/i386/predicates.md (x86_64_movabs_operand): Return false |
1898 | for pic_32bit_operand RTXes. | |
7aecd4e8 UB |
1899 | * config/i386/i386.c (ix86_expand_move): Check x86_64_movabs_operand |
1900 | in DImode. | |
1901 | ||
eb9820c0 KT |
1902 | 2011-07-27 Kai Tietz <ktietz@redhat.com> |
1903 | ||
2fe83a0c KT |
1904 | * config/i386/i386.c (ix86_option_override_internal): Allow -mabi |
1905 | for 32-bit, too. | |
1906 | (ix86_handle_abi_attribute): Allow function attributes | |
1907 | ms_abi/sysv_abi in 32-bit mode, too. | |
1908 | * doc/extend.texi: Adjust attribute documentation. | |
1909 | ||
eb9820c0 KT |
1910 | * gimple-fold.c (or_comparisons_1): Remove TRUTH_AND/OR |
1911 | expression handling. | |
1912 | (and_var_with_comparison_1): Likewise. | |
1913 | ||
1169e45d AH |
1914 | 2011-07-27 Aldy Hernandez <aldyh@redhat.com> |
1915 | ||
1916 | * params.h (ALLOW_STORE_DATA_RACES): New. | |
1917 | * params.def (PARAM_ALLOW_STORE_DATA_RACES): New. | |
1918 | * Makefile.in (expr.o): Depend on PARAMS_H. | |
1919 | * machmode.h (get_best_mode): Add argument. | |
1920 | * fold-const.c (optimize_bit_field_compare): Add argument to | |
1921 | get_best_mode. | |
1922 | (fold_truthop): Same. | |
1923 | * ifcvt.c (noce_emit_move_insn): Add argument to store_bit_field. | |
1924 | * expr.c (emit_group_store): Same. | |
1925 | (copy_blkmode_from_reg): Same. | |
1926 | (write_complex_part): Same. | |
1927 | (optimize_bitfield_assignment_op): Add argument. | |
1928 | Add argument to get_best_mode. | |
1929 | (get_bit_range): New. | |
7aecd4e8 | 1930 | (expand_assignment): Calculate maxbits and pass it down accordingly. |
1169e45d | 1931 | (store_field): New argument. |
7aecd4e8 | 1932 | (expand_expr_real_2): New argument to store_field. Include params.h. |
1169e45d AH |
1933 | * expr.h (store_bit_field): New argument. |
1934 | * stor-layout.c (get_best_mode): Restrict mode expansion by taking | |
1935 | into account maxbits. | |
1936 | * calls.c (store_unaligned_arguments_into_pseudos): New argument | |
1937 | to store_bit_field. | |
1938 | * expmed.c (store_bit_field_1): New argument. Use it. | |
1939 | (store_bit_field): Same. | |
1940 | (store_fixed_bit_field): Same. | |
1941 | (store_split_bit_field): Same. | |
1942 | (extract_bit_field_1): Pass new argument to get_best_mode. | |
1943 | (extract_bit_field): Same. | |
1944 | * stmt.c (store_bit_field): Pass new argument to store_bit_field. | |
1945 | * doc/invoke.texi: Document parameter allow-store-data-races. | |
1946 | ||
7bbdd4e9 JJ |
1947 | 2011-07-27 Jakub Jelinek <jakub@redhat.com> |
1948 | ||
7aecd4e8 | 1949 | * dwarf2out.c (gen_producer_string): Ignore also -fverbose-asm option. |
7bbdd4e9 | 1950 | |
aebf4828 KT |
1951 | 2011-07-27 Kai Tietz <ktietz@redhat.com> |
1952 | ||
1953 | * tree-vrp.c (extract_range_from_binary_expr): Remove | |
1954 | TRUTH-binary cases and add new bitwise-cases. | |
1955 | (extract_range_from_assignment): Likewise. | |
1956 | (register_edge_assert_for_1): Likeiwise. | |
1957 | (register_edge_assert_for): Likewise. | |
1958 | (simplify_truth_ops_using_ranges): Likewise. | |
1959 | (simplify_stmt_using_ranges): Likewise. | |
1960 | ||
65ceed36 L |
1961 | 2011-07-26 H.J. Lu <hongjiu.lu@intel.com> |
1962 | ||
1963 | PR target/47372 | |
1964 | * config/i386/i386.c (ix86_delegitimize_address): Call | |
1965 | simplify_gen_subreg for PIC with mode of x only if modes of | |
1966 | x and orig_x are different. | |
1967 | ||
b56bc05b JJ |
1968 | 2011-07-26 Jakub Jelinek <jakub@redhat.com> |
1969 | ||
1970 | * dwarf2out.c (output_macinfo_op): Ensure fd->filename points | |
1971 | to GC allocated copy of the string. | |
1972 | (dwarf2out_finish): Emit .debug_macinfo or .debug_macro sections | |
1973 | before .debug_line, not after it. | |
1974 | ||
bce26def SP |
1975 | 2011-07-26 Sebastian Pop <sebastian.pop@amd.com> |
1976 | ||
1977 | PR middle-end/47046 | |
1978 | * tree-chrec.h (evolution_function_is_affine_p): Recursively call | |
1979 | evolution_function_is_affine_p on CHREC_RIGHT. | |
1980 | ||
5f72e02d SP |
1981 | 2011-07-26 Sebastian Pop <sebastian.pop@amd.com> |
1982 | ||
1983 | * tree-data-ref.c (max_stmt_executions_tree): Do not call | |
1984 | lang_hooks.types.type_for_size. | |
1985 | ||
cbc1994b SP |
1986 | 2011-07-26 Sebastian Pop <sebastian.pop@amd.com> |
1987 | ||
1988 | PR middle-end/47653 | |
1989 | * graphite-scop-detection.c (graphite_can_represent_loop): Discard | |
1990 | loops using wrapping semantics. | |
1991 | ||
4c7d6755 SP |
1992 | 2011-07-26 Sebastian Pop <sebastian.pop@amd.com> |
1993 | ||
1994 | PR middle-end/48805 | |
1995 | * tree-scalar-evolution.c (instantiate_scev_r): Return | |
1996 | chrec_dont_know for ADDR_EXPR. | |
1997 | ||
e207e41f UB |
1998 | 2011-07-26 Uros Bizjak <ubizjak@gmail.com> |
1999 | H.J. Lu <hongjiu.lu@intel.com> | |
2000 | ||
2001 | PR target/47369 | |
2002 | PR target/49853 | |
2003 | * config/i386/i386.c (ix86_expand_move): Call convert_to_mode | |
2004 | if legitimize_tls_address returned operand in wrong mode. Allow | |
2005 | SImode and DImode symbolic operand for PIC. Call convert_to_mode | |
2006 | if legitimize_pic_address returned operand in wrong mode. | |
2007 | ||
842eeb9b MJ |
2008 | 2011-07-26 Martin Jambor <mjambor@suse.cz> |
2009 | ||
2010 | * tree-sra.c (tree_non_mode_aligned_mem_p): Strip conversions and | |
2011 | return false for invariants. | |
2012 | ||
98d2c0ad UB |
2013 | 2011-07-26 Uros Bizjak <ubizjak@gmail.com> |
2014 | ||
2015 | * config/i386/i386.md (add->lea splitter): Implement using SWI | |
2016 | mode iterator. Change operand 2 predicate to <nonmemory_operand>. | |
2017 | (add->lea zext splitter): Change operand 2 predicate to | |
2018 | x86_64_nonmemory_operand. | |
2019 | ||
c21510a9 RG |
2020 | 2011-07-26 Richard Guenther <rguenther@suse.de> |
2021 | ||
2022 | * predict.c (maybe_hot_frequency_p): Make sure a zero entry-block | |
2023 | frequency makes everything hot. | |
2024 | ||
9f61fd17 RG |
2025 | 2011-07-26 Richard Guenther <rguenther@suse.de> |
2026 | ||
2027 | PR tree-optimization/49840 | |
2028 | * tree-vrp.c (range_fits_type_p): Properly handle full | |
2029 | double-int precision. | |
2030 | ||
5bf3d50d MJ |
2031 | 2011-07-26 Martin Jambor <mjambor@suse.cz> |
2032 | ||
2033 | PR bootstrap/49786 | |
2034 | * ipa-cp.c (update_profiling_info): Avoid overflow when updating | |
2035 | counts. | |
2036 | (update_specialized_profile): Likewise. | |
2037 | ||
536e3f49 UB |
2038 | 2011-07-26 Uros Bizjak <ubizjak@gmail.com> |
2039 | H.J. Lu <hongjiu.lu@intel.com> | |
2040 | ||
2041 | PR target/47381 | |
2042 | PR target/49832 | |
2043 | PR target/49833 | |
2044 | * config/i386/i386.md (i): Change SImode attribute to "e". | |
2045 | (g): Change SImode attribute to "rme". | |
2046 | (di): Change SImode attribute to "nF". | |
2047 | (general_operand): Change SImode attribute to x86_64_general_operand. | |
2048 | (general_szext_operand): Change SImode attribute to | |
2049 | x86_64_szext_general_operand. | |
2050 | (immediate_operand): Change SImode attribute to | |
2051 | x86_64_immediate_operand. | |
2052 | (nonmemory_operand): Change SImode attribute to | |
2053 | x86_64_nonmemory_operand. | |
2054 | (*movdi_internal_rex64): Remove mode from pic_32bit_operand check. | |
2055 | (*movsi_internal): Ditto. Use "e" constraint in alternative 2. | |
2056 | (*lea_1): Use SWI48 mode iterator. | |
2057 | (*lea_1_zext): New insn pattern. | |
2058 | (testsi_ccno_1): Use x86_64_nonmemory_operand predicate for operand 2. | |
2059 | (*bt<mode>): Ditto. | |
2060 | (*add<mode>1): Use x86_64_general_operand predicate for operand 2. | |
2061 | Update operand constraints. | |
2062 | (addsi_1_zext): Ditto. | |
2063 | (*add<mode>2): Ditto. | |
2064 | (*addsi_3_zext): Ditto. | |
2065 | (*subsi_1_zext): Ditto. | |
2066 | (*subsi_2_zext): Ditto. | |
2067 | (*subsi_3_zext): Ditto. | |
2068 | (*addsi3_carry_zext): Ditto. | |
2069 | (*<plusminus_insn>si3_zext_cc_overflow): Ditto. | |
2070 | (*mulsi3_1_zext): Ditto. | |
2071 | (*andsi_1): Ditto. | |
2072 | (*andsi_1_zext): Ditto. | |
2073 | (*andsi_2_zext): Ditto. | |
2074 | (*<any_or:code>si_1_zext): Ditto. | |
2075 | (*<any_or:code>si_2_zext): Ditto. | |
2076 | (*test<mode>_1): Use <general_operand> predicate for operand 1. | |
2077 | (*and<mode>_2): Ditto. | |
2078 | (mov<mode>cc): Use <general_operand> predicate for operands 1 and 2. | |
2079 | (add->lea splitter): Check operand modes in insn constraint. Extend | |
2080 | operands less than SImode wide to SImode. | |
2081 | (add->lea zext splitter): Do not extend input operands to DImode. | |
2082 | (*lea_general_1): Handle only QImode and HImode operands. | |
2083 | (*lea_general_2): Ditto. | |
2084 | (*lea_general_3): Ditto. | |
2085 | (*lea_general_1_zext): Remove. | |
2086 | (*lea_general_2_zext): Ditto. | |
2087 | (*lea_general_3_zext): Ditto. | |
2088 | (*lea_general_4): Check operand modes in insn constraint. Extend | |
2089 | operands less than SImode wide to SImode. | |
2090 | (ashift->lea splitter): Ditto. | |
2091 | * config/i386/i386.c (ix86_print_operand_address): Print address | |
2092 | registers with 'q' modifier on 64bit targets. | |
2093 | * config/i386/predicates.md (pic_32bit_opreand): Define as special | |
2094 | predicate. Reject non-SI and non-DI modes. | |
2095 | ||
0de204de AP |
2096 | 2011-07-25 Andrew Pinski <apinski@cavium.com> |
2097 | ||
2098 | PR tree-opt/49671 | |
2099 | * tree-inline.c (remap_gimple_op_r): Copy TREE_THIS_VOLATILE and | |
2100 | TREE_THIS_NOTRAP into the inner most MEM_REF. | |
2101 | Always copy TREE_THIS_VOLATILE. | |
2102 | * tree-sra.c (ptr_parm_has_direct_uses): Check that the lhs, rhs and | |
2103 | arguments are not volatile references. | |
2104 | ||
104fcc7a RH |
2105 | 2011-07-25 Richard Henderson <rth@redhat.com> |
2106 | ||
2107 | * insn-notes.def (NOTE_INSN_CFA_RESTORE_STATE): Remove. | |
2108 | * final.c (final_scan_insn): Don't test for it. | |
2109 | (rest_of_clean_state): Likewise. | |
2110 | ||
c24a6738 RH |
2111 | 2011-07-25 Richard Henderson <rth@redhat.com> |
2112 | ||
2113 | PR debug/49841 | |
2114 | * config/rs6000/rs6000.c (rs6000_frame_related): Return the insn. | |
2115 | (emit_frame_save): Likewise. | |
2116 | (rs6000_emit_prologue): Move the FRAME_RELATED_EXPR from the save | |
2117 | insn onto a dummy blockage insn after the join label. | |
2118 | ||
200e10dc RH |
2119 | 2011-07-25 Richard Henderson <rth@redhat.com> |
2120 | ||
2121 | * dwarf2cfi.c (dw_trace_info): Add ID member. | |
2122 | (get_trace_index): Remove. Change users to use ID member. | |
2123 | (before_next_cfi_note): New. | |
2124 | (connect_traces): Remove unreachable traces before the main loop. | |
2125 | Look across one trace and generate remember/restore_state if needed. | |
2126 | ||
a5d0ce89 RH |
2127 | 2011-07-25 Richard Henderson <rth@redhat.com> |
2128 | ||
2129 | * dwarf2cfi.c (dump_cfi_row, debug_cfi_row): New. | |
2130 | ||
c344a866 JR |
2131 | 2011-07-25 Joern Rennecke <joern.rennecke@embecosm.com> |
2132 | ||
2133 | * genattr.c (write_upcase, gen_attr <enum definition writing>): | |
2134 | Move to ... | |
2135 | * genattr-common.c ... here. | |
2136 | (main): Call gen_attr. | |
2137 | * optc-gen.awk: Make generated program include insn-attr-common.h . | |
2138 | * Makefile.in (oprions.o): Depend on insn-attr-common.h | |
2139 | ||
4645179e AS |
2140 | 2011-07-25 Anatoly Sokolov <aesok@post.ru> |
2141 | ||
2142 | * config/m32c/m32c.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS, | |
2143 | PRINT_OPERAND_PUNCT_VALID_P): Remove macro. | |
2144 | * config/m32c/m32c-protos.h (m32c_print_operand_punct_valid_p, | |
2145 | m32c_print_operand, m32c_print_operand_address): Remove. | |
2146 | * config/m32c/m32c.c (m32c_print_operand_punct_valid_p): Make static. | |
2147 | Change return type to bool. Change argument type to bool. | |
2148 | (m32c_print_operand, m32c_print_operand_address): Make static. | |
2149 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS, | |
2150 | TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define. | |
2151 | ||
8175c19c RO |
2152 | 2011-07-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2153 | ||
2154 | * doc/sourcebuild.texi (Effective-Target Keywords, Environment | |
2155 | attributes): Document mmap. | |
2156 | ||
5057fa13 AS |
2157 | 2011-07-25 Anatoly Sokolov <aesok@post.ru> |
2158 | ||
2159 | * config/mmix/mmix.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS, | |
2160 | PRINT_OPERAND_PUNCT_VALID_P): Remove macro. | |
2161 | * config/mmix/mmix-protos.h (mmix_print_operand_punct_valid_p, | |
2162 | mmix_print_operand, mmix_print_operand_address): Remove. | |
2163 | * config/mmix/mmix.c (mmix_print_operand_punct_valid_p): Make static. | |
2164 | Change return type to bool. Change argument type to bool. | |
2165 | (mmix_print_operand, mmix_print_operand_address): Make static. | |
536e3f49 | 2166 | (mmix_intval, mmix_output_condition): Change 'x' argument type |
5057fa13 AS |
2167 | to const_rtx. |
2168 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS, | |
2169 | TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define. | |
2170 | ||
f4da258f | 2171 | 2011-07-25 Georg-Johann Lay <avr@gjlay.de> |
536e3f49 | 2172 | |
f4da258f GJL |
2173 | PR target/39386 |
2174 | * config/avr/avr.c (out_shift_with_cnt): Use tmp_reg as | |
2175 | shift counter for x << x and x >> x shifts. | |
2176 | ||
1500b428 RO |
2177 | 2011-07-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2178 | ||
2179 | PR target/47124 | |
2180 | * config.gcc: Reject *-*-solaris2 configuration. | |
2181 | ||
59daeef4 RS |
2182 | 2011-07-25 Richard Sandiford <richard.sandiford@linaro.org> |
2183 | ||
2184 | PR tree-optimization/49809 | |
2185 | * tree-ssa-phiopt.c (cond_if_else_store_replacement): Use | |
2186 | gimple_get_lhs instead of gimple_assign_lhs. | |
2187 | ||
4d1c7421 RO |
2188 | 2011-07-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2189 | ||
2190 | * system.h [__cplusplus]: Wrap C function declarations in extern "C". | |
2191 | ||
7fdab8d4 RG |
2192 | 2011-07-25 Richard Guenther <rguenther@suse.de> |
2193 | ||
2194 | PR tree-optimization/49822 | |
2195 | * tree-ssa-forwprop.c (remove_prop_source_from_use): Robustify | |
2196 | more. Make sure to preserve stmts with side-effects. Properly | |
2197 | handle virtual defs, follow a longer def chain. | |
2198 | ||
1baae426 RG |
2199 | 2011-07-22 Romain Geissler <romain.geissler@gmail.com> |
2200 | ||
2201 | PR plugins/45348 | |
2202 | PR plugins/48425 | |
2203 | PR plugins/46577 | |
2204 | * Makefile.in: Do not flatten c-family directory when installing | |
2205 | plugin headers. | |
2206 | ||
264b47b0 EB |
2207 | 2011-07-25 Eric Botcazou <ebotcazou@adacore.com> |
2208 | ||
2209 | * ipa-inline.c (can_inline_edge_p): Look into DECL_STRUCT_FUNCTION of | |
2210 | original nodes if we are dealing with virtual clones. | |
2211 | ||
3d02ae65 BS |
2212 | 2011-07-25 Bernd Schmidt <bernds@codesourcery.com> |
2213 | ||
2214 | * common/config/c6x/c6x-common.c: New file. | |
2215 | ||
2eaa698b RZ |
2216 | 2011-07-25 Roman Zhuykov <zhroma@ispras.ru> |
2217 | ||
2218 | * tree-flow.h (tree_ssa_loop_version): Remove unused declaration. | |
2219 | ||
ebeadd91 RG |
2220 | 2011-07-25 Richard Guenther <rguenther@suse.de> |
2221 | ||
2222 | PR tree-optimization/49715 | |
2223 | * tree-vrp.c: Include expr.h and optabs.h. | |
2224 | (range_fits_type_): New function. | |
2225 | (simplify_float_conversion_using_ranges): Likewise. | |
2226 | (simplify_stmt_using_ranges): Call it. | |
2227 | * Makefile.in (tree-vrp.o): Add $(EXPR_H) and $(OPTABS_H) dependencies. | |
2228 | * optabs.c (can_float_p): Export. | |
2229 | * optabs.h (can_float_p): Declare. | |
2230 | ||
d9256277 RG |
2231 | 2011-07-25 Richard Guenther <rguenther@suse.de> |
2232 | ||
2233 | * tree-vrp.c (num_vr_values, values_propagated): New global vars. | |
2234 | (get_value_range): For out-of-range SSA names or names created | |
2235 | after propagation return a read-only varying range. | |
2236 | (dump_all_value_ranges): Adjust. | |
2237 | (vrp_initialize): Likewise. | |
2238 | (vrp_finalize): Likewise. | |
2239 | ||
149e741d RH |
2240 | 2011-07-24 Richard Henderson <rth@redhat.com> |
2241 | ||
2242 | PR debug/49831 | |
2243 | * dwarf2cfi.c (connect_traces): Allow unvisited traces. Skip | |
2244 | them entirely. | |
2245 | ||
981dc735 RH |
2246 | 2011-07-24 Richard Henderson <rth@redhat.com> |
2247 | ||
2248 | PR debug/49825 | |
2249 | * dwarf2cfi.c (dwarf2out_stack_adjust): Move A_O_A test earlier. | |
2250 | (dwarf2out_notice_stack_adjust): Use args_size from call_insn. | |
2251 | ||
3382318a RH |
2252 | 2011-07-24 Richard Henderson <rth@redhat.com> |
2253 | ||
2254 | PR debug/49827 | |
2255 | * dwarf2cfi.c (create_trace_edges): Handle sequences properly. | |
2256 | ||
2f23f97a RH |
2257 | 2011-07-24 Richard Henderson <rth@redhat.com> |
2258 | ||
2259 | * dwarf2cfi.c (maybe_record_trace_start): Add abnormal parameter. | |
2260 | Zero args_size for abnormal edges. Adjust all callers. | |
2261 | ||
2edb462e RH |
2262 | 2011-07-24 Richard Henderson <rth@redhat.com> |
2263 | ||
2264 | PR debug/49825 | |
2265 | * dwarf2cfi.c (cfi_row_equal_p): Don't compare args_size. | |
2266 | ||
96d5384b L |
2267 | 2011-07-24 H.J. Lu <hongjiu.lu@intel.com> |
2268 | ||
2269 | PR bootstrap/49835 | |
2270 | * collect2.c (demangle_flag): Removed. | |
2271 | ||
df45fc34 SL |
2272 | 2011-07-24 Sandra Loosemore <sandra@codesourcery.com> |
2273 | ||
2274 | * configure.ac (demangler_in_ld): Default to yes. | |
2275 | * configure: Regenerated. | |
2276 | * collect2.c (main): When HAVE_LD_DEMANGLE is defined, don't | |
2277 | mess with COLLECT_NO_DEMANGLE, and just pass --demangle and | |
2278 | --no-demangle options straight through to ld. When | |
2279 | HAVE_LD_DEMANGLE is not defined, set COLLECT_NO_DEMANGLE in a | |
2280 | way that has the intended effect on Windows. | |
2281 | ||
829bdd4b RH |
2282 | 2011-07-23 Richard Henderson <rth@redhat.com> |
2283 | ||
2284 | * dwarf2cfi.c: Include basic-block.h. | |
2285 | (dw_label_info): Remove. | |
2286 | (trace_work_list, trace_index): New. | |
2287 | (remember_row, emit_cfa_remember): Remove. | |
2288 | (dw_trace_info_hash, dw_trace_info_eq): New. | |
2289 | (get_trace_index, get_trace_info): New. | |
2290 | (save_point_p): New. | |
2291 | (free_cfi_row): Remove. | |
2292 | (add_cfi): Do not emit DW_CFA_remember_state. | |
2293 | (cfa_row_equal_p): New. | |
2294 | (barrier_args_size): Remove. | |
2295 | (compute_barrier_args_size_1, compute_barrier_args_size): Remove. | |
2296 | (dwarf2out_notice_stack_adjust): Don't compute_barrier_args_size. | |
2297 | (maybe_record_trace_start, create_trace_edges, scan_trace): New. | |
2298 | (dwarf2out_cfi_begin_epilogue): Remove. | |
2299 | (dwarf2out_frame_debug_restore_state): Remove. | |
2300 | (connect_traces, create_pseudo_cfg): New. | |
2301 | (create_cfi_notes, execute_dwarf2_frame): Rewrite using traces. | |
2302 | * Makefile.in (dwarf2cfi.o): Update. | |
2303 | ||
43215a89 RH |
2304 | 2011-07-23 Richard Henderson <rth@redhat.com> |
2305 | ||
2306 | * dwarf2cfi.c (dw_trace_info): New. | |
2307 | (dw_label_info): New. | |
2308 | (cie_return_save): New. | |
2309 | (cur_trace): New. | |
2310 | (queued_args_size): Rename from args_size. Update all users. | |
2311 | (cfa_store, cfa_temp, regs_saved_in_regs): Remove. | |
2312 | (def_cfa_1): Use cur_trace instead of cfa_*. | |
2313 | (dwarf2out_stack_adjust, record_reg_saved_in_reg): Likewise. | |
2314 | (clobbers_queued_reg_save, reg_saved_in): Likewise. | |
2315 | (dwarf2out_frame_debug_expr): Likewise. | |
2316 | (create_cie_data): Split out from ... | |
2317 | (execute_dwarf2_frame): ... here. Initialize cur_trace. | |
2318 | ||
6ffc63e1 RH |
2319 | 2011-07-23 Richard Henderson <rth@redhat.com> |
2320 | ||
2321 | * dwarf2cfi.c (regs_saved_in_regs): Allocate from heap, not gc. | |
2322 | Update all users to match. | |
2323 | (execute_dwarf2_frame): Free reg_saved_in_data. | |
2324 | ||
999646c1 RH |
2325 | 2011-07-23 Richard Henderson <rth@redhat.com> |
2326 | ||
2327 | * dwarf2cfi.c (queued_reg_save): Reorder for packing. Don't GTY. | |
2328 | (queued_reg_saves): Don't GTY. Change to a VEC. | |
2329 | (queue_reg_save): Update to match. | |
2330 | (dwarf2out_flush_queued_reg_saves): Likewise. | |
2331 | (clobbers_queued_reg_save): Likewise. | |
2332 | (reg_saved_in): Likewise. | |
2333 | (execute_dwarf2_frame): Free queued_reg_saves. | |
2334 | ||
ce363ef2 RH |
2335 | 2011-07-23 Richard Henderson <rth@redhat.com> |
2336 | ||
2337 | * dwarf2cfi.c (dw_cfi_row_ref): Remove. Update all users. | |
2338 | ||
57e16c96 RH |
2339 | 2011-07-23 Richard Henderson <rth@redhat.com> |
2340 | ||
2341 | * dwarf2cfi.c (add_cfi_args_size): Split out from... | |
2342 | (dwarf2out_args_size): ... here. | |
2343 | (add_cfi_restore): Split out from ... | |
2344 | (dwarf2out_frame_debug_cfa_restore): ... here. | |
2345 | (def_cfa_0): Split out from ... | |
2346 | (def_cfa_1): ... here. | |
2347 | (cfi_oprnd_equal_p, cfi_equal_p): New. | |
2348 | (change_cfi_row): New. | |
2349 | (add_cfis_to_fde): Set fde->dw_fde_switch_cfi_index. | |
2350 | (create_cfi_notes): Use change_cfi_row at SWITCH_TEXT note. | |
2351 | (output_cfis): Remove. | |
2352 | * dwarf2out.c (output_fde): Simplify output_cfi loop. | |
2353 | (dwarf2out_switch_text_section): Don't call output_cfis. | |
2354 | (dw_val_equal_p, loc_descr_equal_p_1, loc_descr_equal_p): New. | |
2355 | * dwarf2out.h: Update decls. | |
2356 | (enum dw_val_class): Add dw_val_class_none. | |
2357 | ||
f1a0e830 RH |
2358 | 2011-07-23 Richard Henderson <rth@redhat.com> |
2359 | ||
2360 | * dwarf2cfi.c (update_row_reg_save): New. | |
2361 | (dwarf2out_frame_debug_cfa_expression): Use it. | |
2362 | (dwarf2out_frame_debug_cfa_restore): Likewise. | |
2363 | (reg_save): Likewise. Do not emit DW_CFA_same_value. | |
2364 | ||
141618e2 RH |
2365 | 2011-07-23 Richard Henderson <rth@redhat.com> |
2366 | ||
2367 | * dwarf2cfi.c (add_cfi_insn): Rename from cfi_insn. Update all users. | |
2368 | ||
f17d3401 RH |
2369 | 2011-07-23 Richard Henderson <rth@redhat.com> |
2370 | ||
2371 | * dwarf2cfi.c (dw_cfi_row, dw_cfi_row_ref): New. | |
2372 | (cie_cfi_row): New. | |
2373 | (new_cfi_row, copy_cfi_row, free_cfi_row): New. | |
2374 | (cfa, old_cfa, cfa_remember, old_cfa_remember, old_args_size): Remove. | |
2375 | (cur_row, remember_row): New. | |
2376 | (def_cfa_1): Use cur_row instead of the old_* variables. | |
2377 | (dwarf2out_frame_debug_restore_state): Similarly. | |
2378 | (dwarf2out_args_size, dwarf2out_notice_stack_adjust): Likewise. | |
2379 | (dwarf2out_frame_debug_def_cfa): Use a local variable instead of cfa. | |
2380 | (dwarf2out_frame_debug_adjust_cfa): Likewise. | |
2381 | (dwarf2out_frame_debug_cfa_offset): Likewise. | |
2382 | (dwarf2out_frame_debug_expr): Likewise. | |
2383 | (execute_dwarf2_frame): Set up cur_row. | |
2384 | * dwarf2out.h (struct cfa_loc): Mark for GTY. | |
2385 | ||
0be7e7a6 RH |
2386 | 2011-07-23 Richard Henderson <rth@redhat.com> |
2387 | ||
2388 | * basic-block.h (EDGE_PRESERVE): New. | |
2389 | (EDGE_ALL_FLAGS, EDGE_COMPLEX): Include it. | |
2390 | * bb-reorder.c: Include except.h. | |
2391 | (fix_up_crossing_landing_pad): New. | |
536e3f49 | 2392 | (find_rarely_executed_basic_blocks_and_crossing_edges): Place |
0be7e7a6 RH |
2393 | landing pads in the right partition. Duplicate as necessary. |
2394 | (partition_hot_cold_basic_blocks): Fix up DF info after | |
2395 | duplicating landing pads. | |
2396 | * cfg.c (dump_edge_info): Add crossing and preserve to bitnames. | |
2397 | * cfgrtl.c (rtl_verify_flow_info_1): Validate that EDGE_CROSSING | |
2398 | is set properly. Validate that EH edges are not CROSSING. | |
2399 | * except.c (expand_dw2_landing_pad_for_region): Split out from ... | |
2400 | (dw2_build_landing_pads): ... here. | |
2401 | (convert_to_eh_region_ranges): Remove code to fixup crossing | |
2402 | landing pads. | |
2403 | * except.h (expand_dw2_landing_pad_for_region): Declare. | |
2404 | * tree-cfg.c (gimple_can_merge_blocks_p): Don't merge PRESERVE edges. | |
2405 | ||
e0170551 RE |
2406 | 2011-07-23 Richard Earnshaw <rearnsha@arm.com> |
2407 | ||
2408 | PR target/49816 | |
2409 | * arm.c (aapcs_vfp_allocate_return_reg): Return NULL on failure. | |
2410 | ||
15c2ccba JM |
2411 | 2011-07-22 Jason Merrill <jason@redhat.com> |
2412 | ||
2413 | * doc/invoke.texi (C++ Dialect Options): Document -Wno-narrowing. | |
2414 | ||
295331a4 RH |
2415 | 2011-07-22 Richard Henderson <rth@redhat.com> |
2416 | ||
2417 | * bb-reorder.c (gate_handle_partition_blocks): Honor optimize. | |
2418 | ||
5f93b30a RH |
2419 | 2011-07-22 Richard Henderson <rth@redhat.com> |
2420 | ||
2421 | * jump.c (maybe_propagate_label_ref): Split out of... | |
2422 | (mark_all_labels): ... here. Do not attempt label_ref | |
2423 | propagation while in cfglayout mode. | |
2424 | ||
e967adf4 JJ |
2425 | 2011-07-22 Jakub Jelinek <jakub@redhat.com> |
2426 | ||
520cda8c JJ |
2427 | * dwarf2out.c (struct macinfo_struct): Change code to unsigned char. |
2428 | (DEBUG_MACRO_SECTION, DEBUG_MACRO_SECTION_LABEL): Define. | |
2429 | (dwarf_attr_name): Handle DW_AT_GNU_macros. | |
2430 | (dwarf2out_define): If the vector is empty and | |
2431 | lineno is 0, emit a dummy entry first. | |
2432 | (dwarf2out_undef): Likewise. Remove redundant semicolon. | |
2433 | (htab_macinfo_hash, htab_macinfo_eq, output_macinfo_op, | |
2434 | optimize_macinfo_range): New functions. | |
2435 | (output_macinfo): Use them. If !dwarf_strict and .debug_str is | |
2436 | mergeable, optimize longer strings using | |
2437 | DW_MACRO_GNU_{define,undef}_indirect and if HAVE_COMDAT_GROUP, | |
2438 | optimize longer sequences of define/undef ops from headers | |
2439 | using DW_MACRO_GNU_transparent_include. For !dwarf_strict | |
2440 | emit a section headers. | |
2441 | (dwarf2out_init): For !dwarf_strict set debug_macinfo_section | |
2442 | and macinfo_section_label to DEBUG_MACRO_SECTION | |
2443 | resp. DEBUG_MACRO_SECTION_LABEL. | |
2444 | (dwarf2out_finish): For !dwarf_strict emit DW_AT_GNU_macros | |
2445 | instead of DW_AT_macro_info. | |
2446 | ||
e967adf4 JJ |
2447 | PR other/32998 |
2448 | * common.opt (grecord-gcc-switches, gno-record-gcc-switches): New | |
2449 | options. | |
2450 | * dwarf2out.c: Include opts.h. | |
2451 | (dchar_p): New typedef. Define heap VEC for it. | |
2452 | (producer_string): New variable. | |
2453 | (gen_producer_string): New function. | |
2454 | (gen_compile_unit_die): Use it. | |
536e3f49 | 2455 | (dwarf2out_finish): Fix up comp_unit_die () DW_AT_producer if needed. |
e967adf4 JJ |
2456 | * Makefile.in (dwarf2out.o): Depend on $(OPTS_H). |
2457 | * doc/invoke.texi: Document -grecord-gcc-switches and | |
2458 | -gno-record-gcc-switches, add a -grecord-gcc-switches reference | |
2459 | to -frecord-gcc-switches description. | |
2460 | ||
3a636414 JM |
2461 | 2011-07-22 Jason Merrill <jason@redhat.com> |
2462 | ||
2463 | PR c++/30112 | |
2464 | * c-decl.c (c_linkage_bindings): Define. | |
2465 | ||
8b9b2275 EB |
2466 | 2011-07-22 Eric Botcazou <ebotcazou@adacore.com> |
2467 | ||
2468 | PR debug/49815 | |
2469 | * var-tracking.c (vt_finalize): Always free windowed_parm_regs. | |
2470 | ||
3de69514 L |
2471 | 2011-07-22 H.J. Lu <hongjiu.lu@intel.com> |
2472 | ||
2473 | * config/i386/i386.c (ix86_option_override_internal): Disallow | |
2474 | MS ABI in x32 mode. | |
2475 | (ix86_init_builtins): Call ix86_init_builtins_va_builtins_abi | |
2476 | only for TARGET_LP64. | |
536e3f49 | 2477 | (ix86_handle_abi_attribute): Check TARGET_LP64 instead of TARGET_64BIT. |
3de69514 | 2478 | |
49f6f4f7 | 2479 | 2011-07-22 Michael Meissner <meissner@linux.vnet.ibm.com> |
e56fa6bb MM |
2480 | |
2481 | * config/rs6000/rs6000.c (rs6000_xcoff_strip_dollar): Rewrite to | |
2482 | avoid warnings when GCC is built with a C++ compiler. | |
2483 | ||
b75d1e21 MJ |
2484 | 2011-07-22 Martin Jambor <mjambor@suse.cz> |
2485 | ||
2486 | PR lto/49796 | |
2487 | * cgraphunit.c (verify_edge_corresponds_to_fndecl): Return false | |
536e3f49 | 2488 | if decl node is in another partition, call cgraph_get_node only once. |
b75d1e21 | 2489 | |
63708bf5 UB |
2490 | 2011-07-22 Uros Bizjak <ubizjak@gmail.com> |
2491 | ||
e3c666fd | 2492 | * config.gcc (x86_64-*-linux*): Set |
63708bf5 UB |
2493 | default_gnu_indirect_function to yes. |
2494 | ||
27315aa6 RG |
2495 | 2011-07-22 Richard Guenther <rguenther@suse.de> |
2496 | ||
2497 | PR tree-optimization/45819 | |
2498 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Properly | |
2499 | preserve volatile and notrap flags. | |
2500 | ||
5b6d595b RO |
2501 | 2011-07-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2502 | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | |
2503 | ||
2504 | PR bootstrap/49794 | |
2505 | * configure.ac: Test AM_ICONV with CXX. | |
2506 | * configure: Regenerate. | |
2507 | * config/sol2-c.c (solaris_format_types): Use EXPORTED_CONST. | |
2508 | ||
7e2fe488 RO |
2509 | 2011-07-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2510 | ||
2511 | PR bootstrap/49797 | |
2512 | * graphite-clast-to-gimple.c (CLOOG_LANGUAGE_C): Provide if missing. | |
2513 | (set_cloog_options): Use it. | |
2514 | ||
d423df48 JJ |
2515 | 2011-07-22 Jakub Jelinek <jakub@redhat.com> |
2516 | ||
2517 | PR c++/49756 | |
2518 | * gcc.c (main): Call stack_limit_increase (64MB). | |
2519 | * toplev.c (toplev_main): Likewise. | |
2520 | ||
7fd72c6f L |
2521 | 2011-07-21 H.J. Lu <hongjiu.lu@intel.com> |
2522 | ||
2523 | * config/i386/i386.c (ix86_expand_call): Call copy_to_mode_reg | |
2524 | instead of force_reg. | |
2525 | ||
96f0b772 L |
2526 | 2011-07-21 H.J. Lu <hongjiu.lu@intel.com> |
2527 | ||
2528 | * config/i386/i386.c (ix86_expand_move): Convert to Pmode if | |
2529 | needed and use force_reg after convert. | |
2530 | (ix86_expand_call): Likewise. | |
2531 | (ix86_expand_special_args_builtin): Likewise. | |
2532 | (ix86_expand_builtin): Likewise. | |
2533 | ||
ef74e2ba SP |
2534 | 2011-07-21 Sebastian Pop <sebastian.pop@amd.com> |
2535 | ||
2536 | PR middle-end/47654 | |
2537 | PR middle-end/49649 | |
2538 | * graphite-clast-to-gimple.c (type_for_clast_term): Pass v1 and v2 | |
2539 | in parameter. Initialize v1 and v2 based on the values returned | |
2540 | by clast_name_to_lb_ub. | |
2541 | (type_for_clast_red): Pass v1 and v2 in parameter, and set their | |
2542 | values. | |
2543 | (type_for_clast_bin): Same. | |
2544 | (type_for_clast_expr): Same. | |
2545 | (type_for_clast_eq): Update calls to type_for_clast_expr. | |
2546 | (type_for_clast_for): Same. | |
2547 | (build_iv_mapping): Same. | |
2548 | * graphite-ppl.h (value_min): New. | |
2549 | ||
84f2ffea SP |
2550 | 2011-07-21 Sebastian Pop <sebastian.pop@amd.com> |
2551 | ||
2552 | * graphite-clast-to-gimple.c (type_for_interval): Generate signed | |
2553 | types whenever possible. | |
2554 | ||
3d9784cb SP |
2555 | 2011-07-21 Sebastian Pop <sebastian.pop@amd.com> |
2556 | ||
2557 | * graphite-clast-to-gimple.c (struct clast_name_index): Add lb | |
2558 | and ub fields. | |
2559 | (new_clast_name_index): Add lb and ub parameters. | |
2560 | (free_clast_name_index): New. | |
2561 | (clast_name_to_lb_ub): New. | |
2562 | (save_clast_name_index): Add lb and ub parameters. | |
2563 | (compute_bounds_for_param): New. | |
2564 | (type_for_level): Removed. | |
2565 | (type_for_clast_for): Removed level parameter. Do not call | |
2566 | type_for_level. | |
2567 | (graphite_create_new_loop): Store the lb and ub for the clast_name | |
2568 | of the iterator of the loop that has been generated. | |
2569 | (graphite_create_new_loop_guard): Remove parameter level. | |
2570 | (create_params_index): Store the lb and ub of each parameter. | |
2571 | (gloog): Use free_clast_name_index. Pass to create_params_index | |
2572 | the current scop. | |
2573 | ||
12b30e6d SP |
2574 | 2011-07-21 Sebastian Pop <sebastian.pop@amd.com> |
2575 | ||
2576 | * graphite-clast-to-gimple.c (max_signed_precision_type): Removed. | |
2577 | (max_precision_type): Inline max_signed_precision_type. | |
2578 | (type_for_clast_red): Use max_precision_type. | |
2579 | (type_for_clast_bin): Same. | |
2580 | (type_for_clast_for): Same. | |
2581 | ||
0cdd9dcf SP |
2582 | 2011-07-21 Sebastian Pop <sebastian.pop@amd.com> |
2583 | ||
2584 | * graphite-clast-to-gimple.c (gcc_type_for_interval): Renamed | |
2585 | type_for_interval. | |
2586 | (gcc_type_for_value): Renamed type_for_value. | |
2587 | (gcc_type_for_clast_term): Renamed type_for_clast_term. | |
2588 | (gcc_type_for_clast_expr): Renamed type_for_clast_expr. | |
2589 | (gcc_type_for_clast_red): Renamed type_for_clast_red. | |
2590 | (gcc_type_for_clast_bin): Renamed type_for_clast_bin. | |
2591 | (gcc_type_for_clast_eq): Renamed type_for_clast_eq. | |
2592 | (graphite_translate_clast_equation): Update calls. | |
2593 | (compute_type_for_level): Renamed type_for_level. | |
2594 | (gcc_type_for_iv_of_clast_loop): Renamed type_for_clast_for. | |
2595 | (build_iv_mapping): Update calls. | |
2596 | (graphite_create_new_loop_guard): Same. | |
2597 | ||
8aab43a0 SP |
2598 | 2011-07-21 Sebastian Pop <sebastian.pop@amd.com> |
2599 | ||
2600 | * graphite-clast-to-gimple.c (clast_get_body_of_loop): Add fixme | |
2601 | comment. | |
2602 | ||
cf7eab7d SP |
2603 | 2011-07-21 Sebastian Pop <sebastian.pop@amd.com> |
2604 | ||
2605 | * graphite-clast-to-gimple.c (struct ivs_params): New. | |
2606 | (clast_name_to_gcc): Use ivs_params to pass around parameters. | |
2607 | (clast_to_gcc_expression): Same. | |
2608 | (clast_to_gcc_expression_red): Same. | |
2609 | (gcc_type_for_clast_term): Same. | |
2610 | (gcc_type_for_clast_expr): Same. | |
2611 | (gcc_type_for_clast_red): Same. | |
2612 | (gcc_type_for_clast_bin): Same. | |
2613 | (gcc_type_for_clast_eq): Same. | |
2614 | (graphite_translate_clast_equation): Same. | |
2615 | (graphite_create_guard_cond_expr): Same. | |
2616 | (graphite_create_new_guard): Same. | |
2617 | (graphite_create_new_loop): Same. | |
2618 | (build_iv_mapping): Same. | |
2619 | (translate_clast_user): Same. | |
2620 | (graphite_create_new_loop_guard): Same. | |
2621 | (translate_clast): Same. | |
2622 | (translate_clast_for_loop): Same. | |
2623 | (translate_clast_for): Same. | |
2624 | (translate_clast_guard): Same. | |
2625 | (initialize_cloog_names): Fix typo. | |
2626 | (gloog): Initialize an ivs_params struct, pass it to translate_clast. | |
2627 | ||
7b1e9596 SP |
2628 | 2011-07-21 Sebastian Pop <sebastian.pop@amd.com> |
2629 | ||
2630 | * graphite-clast-to-gimple.c (struct clast_name_index): Add level. | |
2631 | (new_clast_name_index): Add level parameter. | |
2632 | (clast_name_to_level): New. | |
2633 | (save_clast_name_index): Add level parameter. | |
2634 | (newivs_to_depth_to_newiv): Removed. | |
2635 | (clast_name_to_gcc): Inlined newivs_to_depth_to_newiv. | |
2636 | (graphite_create_new_loop): Add level parameter. Pass level to | |
2637 | save_clast_name_index. | |
2638 | (translate_clast_for_loop): Pass level to graphite_create_new_loop. | |
2639 | (create_params_index): Pass level to save_clast_name_index. | |
2640 | ||
6e6568db SP |
2641 | 2011-07-21 Sebastian Pop <sebastian.pop@amd.com> |
2642 | ||
2643 | * graphite-clast-to-gimple.c (graphite_create_new_loop): Do not | |
2644 | recompute type, lb, and ub. Get them from... | |
2645 | (graphite_create_new_loop_guard): ...here. Pass in parameter | |
2646 | pointers to type, lb, and ub. | |
2647 | (translate_clast_for_loop): Update function calls. | |
2648 | (translate_clast_for): Same. | |
2649 | ||
dff62090 SP |
2650 | 2011-07-21 Sebastian Pop <sebastian.pop@amd.com> |
2651 | ||
2652 | * graphite-clast-to-gimple.c (compute_bounds_for_level): Call | |
2653 | psct_dynamic_dim. | |
2654 | (translate_clast_for_loop): Pass loop level to dependency_in_loop_p. | |
2655 | (gcc_type_for_iv_of_clast_loop): Update use of level. | |
2656 | (gloog): Start counting nesting level from 0. | |
2657 | * graphite-clast-to-gimple.h (get_scattering_level): Removed. | |
2658 | * graphite-dependences.c (graphite_carried_dependence_level_k): Call | |
2659 | psct_dynamic_dim on level. | |
2660 | ||
628c1ac9 L |
2661 | 2011-07-21 H.J. Lu <hongjiu.lu@intel.com> |
2662 | ||
2663 | * config/i386/i386.c (ix86_legitimize_address): Convert to | |
2664 | Pmode if needed. | |
2665 | ||
08a8923e L |
2666 | 2011-07-21 H.J. Lu <hongjiu.lu@intel.com> |
2667 | ||
2668 | * config/i386/i386.c (function_value_64): Always return pointers | |
2669 | in Pmode. | |
2670 | (ix86_promote_function_mode): New. | |
2671 | (TARGET_PROMOTE_FUNCTION_MODE): Likewise. | |
2672 | ||
777a4e9a BS |
2673 | 2011-07-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
2674 | ||
2675 | PR tree-optimization/49749 | |
2676 | * tree-ssa-reassoc.c (get_rank): Fix operand scan conditions and | |
2677 | remove no-longer-used maxrank variable. | |
63708bf5 | 2678 | |
e9514725 | 2679 | 2011-07-21 Georg-Johann Lay <avr@gjlay.de> |
63708bf5 | 2680 | |
e9514725 GJL |
2681 | * config/avr/avr.c (final_prescan_insn): Fix printing of rtx_costs. |
2682 | ||
9ca1483b JM |
2683 | 2011-07-21 Jason Merrill <jason@redhat.com> |
2684 | ||
2685 | * system.h (HAVE_DESIGNATED_UNION_INITIALIZERS): New. | |
2686 | * recog.h (struct insn_data_d): Check it instead of | |
2687 | HAVE_DESIGNATED_INITIALIZERS. | |
2688 | * genoutput.c (output_insn_data): Likewise. | |
2689 | ||
3ceaf2f5 RG |
2690 | 2011-07-21 Richard Guenther <rguenther@suse.de> |
2691 | ||
2692 | PR tree-optimization/49770 | |
2693 | * tree-ssa-sccvn.c (valueize_refs_1): Return whether we | |
2694 | valueized any operand. Renamed from ... | |
2695 | (valueize_refs): ... this. New wrapper around valueize_refs_1. | |
2696 | (valueize_shared_reference_ops_from_ref): Return whether we | |
2697 | valueized any operand. | |
2698 | (vn_reference_lookup): Only when we valueized any operand | |
2699 | use the valueized reference for alias analysis. Do not preserve | |
2700 | the original reference tree in this case. | |
2701 | ||
7c53a140 UB |
2702 | 2011-07-21 Uros Bizjak <ubizjak@gmail.com> |
2703 | ||
2704 | * config/i386/i386.c (ix86_decompose_address): Reject all but | |
a4235495 | 2705 | register operands and subregs of DImode hard registers in index. |
7c53a140 | 2706 | |
7f3ff782 KT |
2707 | 2011-07-21 Kai Tietz <ktietz@redhat.com> |
2708 | ||
2709 | * fold-const.c (fold_unary_loc): Preserve indirect | |
2710 | comparison cast to none-boolean type. | |
2711 | * tree-ssa.c (useless_type_conversion_p): Preserve cast | |
2712 | from/to boolean-type. | |
7c53a140 UB |
2713 | * gimplify.c (gimple_boolify): Handle boolification of comparisons. |
2714 | (gimplify_expr): Boolifiy non aggregate-typed comparisons. | |
7f3ff782 KT |
2715 | * tree-cfg.c (verify_gimple_comparison): Check result |
2716 | type of comparison expression. | |
7c53a140 UB |
2717 | * tree-ssa-forwprop.c (forward_propagate_comparison): Adjust test |
2718 | of condition result and disallow type-cast sinking into comparison. | |
7f3ff782 | 2719 | |
91bc6112 RG |
2720 | 2011-07-21 Richard Guenther <rguenther@suse.de> |
2721 | ||
2722 | * tree-ssa-forwprop.c (combine_conversions): Return whether | |
2723 | we have to run cfg-cleanup. Properly remove dead stmts. | |
2724 | (ssa_forward_propagate_and_combine): Adjust. | |
2725 | ||
d6f23738 RS |
2726 | 2011-07-21 Richard Sandiford <richard.sandiford@linaro.org> |
2727 | ||
2728 | * regcprop.c (maybe_mode_change): Check HARD_REGNO_MODE_OK. | |
2729 | ||
fec3cad3 KT |
2730 | 2011-07-21 Kai Tietz <ktietz@redhat.com> |
2731 | ||
2732 | * tree-ssa-propagate.c (substitute_and_fold): Use | |
2733 | do_dce flag to deside, if BB's statements are scanned | |
2734 | in last to first, or first to last order. | |
2735 | ||
21f3ae2f | 2736 | 2011-07-21 Georg-Johann Lay <avr@gjlay.de> |
7c53a140 | 2737 | |
21f3ae2f GJL |
2738 | * config/avr/avr.c (avr_rtx_costs): Set cost of CONST, LABEL_REF to 0. |
2739 | ||
6025b127 L |
2740 | 2011-07-20 H.J. Lu <hongjiu.lu@intel.com> |
2741 | Uros Bizjak <ubizjak@gmail.com> | |
2742 | Richard Henderson <rth@redhat.com> | |
2743 | ||
2744 | * config/i386/constraints.md (w): New. | |
2745 | ||
2746 | * config/i386/i386.c (ix86_output_addr_vec_elt): Check | |
2747 | TARGET_LP64 instead of TARGET_64BIT for ASM_QUAD. | |
2748 | ||
2749 | * config/i386/i386.h (CASE_VECTOR_MODE): Check TARGET_LP64 | |
2750 | instead of TARGET_64BIT. | |
2751 | ||
2752 | * config/i386/i386.md (indirect_jump): Replace | |
2753 | nonimmediate_operand with indirect_branch_operand. | |
2754 | (*indirect_jump): Likewise. Replace constraint "m" with "w". | |
a4235495 UB |
2755 | (tablejump): Replace nonimmediate_operand with indirect_branch_operand. |
2756 | Convert operand 0 to Pmode for x32 if not PIC. | |
6025b127 L |
2757 | (*tablejump_1): Replace nonimmediate_operand with |
2758 | indirect_branch_operand. Replace constraint "m" with "w". | |
2759 | (*call_vzeroupper): Replace constraint "m" with "w". | |
2760 | (*call): Likewise. | |
2761 | (*call_rex64_ms_sysv_vzeroupper): Likewise. | |
2762 | (*call_rex64_ms_sysv): Likewise. | |
2763 | (*call_value_vzeroupper): Likewise. | |
2764 | (*call_value): Likewise. | |
2765 | (*call_value_rex64_ms_sysv_vzeroupper): Likewise. | |
2766 | (*call_value_rex64_ms_sysv): Likewise. | |
a4235495 | 2767 | (set_got_offset_rex64): Check TARGET_LP64 instead of TARGET_64BIT. |
6025b127 L |
2768 | |
2769 | * config/i386/predicates.md (indirect_branch_operand): New. | |
2770 | (call_insn_operand): Support x32. | |
2771 | ||
7f8925a1 ME |
2772 | 2011-07-20 Michael Eager <eager@eagercon.com> |
2773 | ||
2774 | * params.def (PARAM_MAX_VARTRACK_EXPR_DEPTH): Default to 12. | |
2775 | ||
510a442a RH |
2776 | 2011-07-20 Richard Henderson <rth@redhat.com> |
2777 | ||
2778 | * cfg.c (dump_bb_info): Dump basic_block->flags. | |
2779 | * cfgrtl.c (print_rtl_with_bb): Use dump_bb_info. | |
2780 | ||
00b40d0d UB |
2781 | 2011-07-20 Uros Bizjak <ubizjak@gmail.com> |
2782 | ||
2783 | * config/i386/i386.c (ix86_decompose_address): Allow only subregs | |
2784 | of DImode hard registers in index. | |
2785 | (ix86_legitimate_address_p): Allow subregs of base and index to span | |
2786 | more than a word. Assert that subregs of base and index satisfy | |
2787 | register_no_elim_operand predicates. Reject addresses where | |
2788 | base and index have different modes. | |
2789 | ||
87f53554 RM |
2790 | 2011-07-20 Robert Millan <rmh@gnu.org> |
2791 | ||
2792 | * config.gcc (mips*-*-linux*): Remove redundant tm_file entry. | |
2793 | ||
742f29ab UW |
2794 | 2011-07-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
2795 | ||
2796 | * bb-reorder.c (fix_crossing_conditional_branches): Fix crash by | |
2797 | removing now-unnecessary assignment. | |
2798 | ||
d05f3564 UW |
2799 | 2011-07-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
2800 | ||
2801 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Restore setting | |
2802 | memory address space to the type's address space. | |
2803 | ||
8c352fa8 | 2804 | 2011-07-20 Georg-Johann Lay <avr@gjlay.de> |
00b40d0d | 2805 | |
8c352fa8 GJL |
2806 | PR target/36467 |
2807 | PR target/49687 | |
00b40d0d UB |
2808 | * config/avr/avr.md (mulhi3): Use register_or_s9_operand for operand2 |
2809 | and expand appropriately if there is a CONST_INT in operand2. | |
8c352fa8 GJL |
2810 | (usmulqihi3): New insn. |
2811 | (*sumulqihi3): New insn. | |
2812 | (*osmulqihi3): New insn. | |
2813 | (*oumulqihi3): New insn. | |
2814 | (*muluqihi3.uconst): New insn_and_split. | |
2815 | (*muluqihi3.sconst): New insn_and_split. | |
2816 | (*mulsqihi3.sconst): New insn_and_split. | |
2817 | (*mulsqihi3.uconst): New insn_and_split. | |
2818 | (*mulsqihi3.oconst): New insn_and_split. | |
2819 | (*ashifthi3.signx.const): New insn_and_split. | |
2820 | (*ashifthi3.signx.const7): New insn_and_split. | |
2821 | (*ashifthi3.zerox.const): New insn_and_split. | |
2822 | (mulsqihi3): New insn. | |
2823 | (muluqihi3): New insn. | |
2824 | (muloqihi3): New insn. | |
2825 | * config/avr/predicates.md (const_2_to_7_operand): New. | |
2826 | (const_2_to_6_operand): New. | |
2827 | (u8_operand): New. | |
2828 | (s8_operand): New. | |
2829 | (o8_operand): New. | |
2830 | (s9_operand): New. | |
2831 | (register_or_s9_operand): New. | |
2832 | ||
be31603a KT |
2833 | 2011-07-20 Kai Tietz <ktietz@redhat.com> |
2834 | ||
2835 | * builtins.c (fold_builtin_expect): See through the cast | |
2836 | from truthvalue_type_node to long. | |
2837 | ||
c36193c6 MM |
2838 | 2011-07-20 Michael Meissner <meissner@linux.vnet.ibm.com> |
2839 | ||
2840 | * config/rs6000/vsx.md (vsx_fma*): Use 4 argument fma instructions | |
2841 | where we can use them from the standard and altivec instruction | |
2842 | sets, instead of always using the 3 operand VSX forms that require | |
2843 | the destination to overlap one of the inputs. | |
2844 | (vsx_fms*): Ditto. | |
2845 | (vsx_fnma*): Ditto. | |
2846 | (vsx_fnms*): Ditto. | |
2847 | ||
2848 | * config/rs6000/rs6000.md (fmadf4_fpr): Set fp_type fp_maddsub_d | |
2849 | for DF types. | |
2850 | (fmsdf4_fpr): Ditto. | |
2851 | (nfmadf4_fpr): Ditto. | |
2852 | (nfmsdf4_fpr): Ditto. | |
2853 | ||
02aec184 SL |
2854 | 2011-07-20 Sandra Loosemore <sandra@codesourcery.com> |
2855 | ||
2856 | * genrecog.c (make_insn_sequence): Correct position numbering | |
2857 | when filtering out match_scratch and match_dup. | |
2858 | ||
f8ecf734 RG |
2859 | 2011-07-20 Richard Guenther <rguenther@suse.de> |
2860 | ||
2861 | * tree-ssa-forwprop.c (remove_prop_source_from_use): Robustify | |
2862 | against already removed statements. | |
2863 | (forward_propagate_into_comparison): Remove dead defining stmts. | |
2864 | (forward_propagate_into_gimple_cond): Likewise. | |
2865 | (forward_propagate_into_cond): Simplify. | |
2866 | (ssa_forward_propagate_and_combine): Handle changed cfg from | |
2867 | forward_propagate_into_comparison. | |
2868 | * tree-ssa-phiopt.c (conditional_replacement): Use proper | |
2869 | locations for newly built statements. | |
2870 | ||
73451ae7 GJL |
2871 | 2011-07-20 Georg-Johann Lay <avr@gjlay.de> |
2872 | ||
2873 | * config/avr/avr.c (avr_rtx_costs): Set cost of SYMBOL_REF to 0. | |
2874 | ||
c4100a35 AK |
2875 | 2011-07-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2876 | ||
2877 | * config/s390/s390.c (s390_class_max_nregs): Fix return type. | |
2878 | * config/s390/s390-protos.h (s390_class_max_nregs): Likewise. | |
2879 | ||
dca412a1 RG |
2880 | 2011-07-20 Richard Guenther <rguenther@suse.de> |
2881 | ||
2882 | PR middle-end/18908 | |
2883 | * tree.c (integer_all_onesp): Use TYPE_PRECISION, not mode precision. | |
2884 | * tree-ssa-forwprop.c (simplify_bitwise_binary): Remove bogus | |
2885 | ADDR_EXPR folding. Canonicalize X ^ ~0 as ~X. | |
2886 | ||
73d7e266 VM |
2887 | 2011-07-20 Vladimir Makarov <vmakarov@redhat.com> |
2888 | ||
2889 | * config/frv/frv.c (frv_register_move_cost): Define explicitly | |
2890 | costs for subclasses of GR_REGS. | |
2891 | ||
5e27a6d4 UB |
2892 | 2011-07-20 Uros Bizjak <ubizjak@gmail.com> |
2893 | ||
2894 | PR target/49780 | |
2895 | * config/i386/predicates.md (no_seg_addres_operand): No more special. | |
2896 | * config/i386/i386.c (ix86_decompose_address): Allow only subregs | |
2897 | of DImode hard registers in base. | |
2898 | (ix86_legitimate_address_p): Allow SImode and DImode base and index | |
2899 | registers. | |
2900 | ||
74d8fa44 RG |
2901 | 2011-07-20 Richard Guenther <rguenther@suse.de> |
2902 | ||
5e27a6d4 | 2903 | * tree-ssa-structalias.c (new_var_info): Allocate oldsolution lazily. |
74d8fa44 RG |
2904 | (unify_nodes): Deal with that. |
2905 | (solve_graph): Likewise. | |
2906 | ||
b0e43da8 CLT |
2907 | 2011-07-20 Chung-Lin Tang <cltang@codesourcery.com> |
2908 | ||
2909 | * config/arm/arm.c (arm_canonicalize_comparison): Add case to | |
2910 | canonicalize left operand from ZERO_EXTEND to AND. | |
2911 | ||
a8c44c52 AS |
2912 | 2011-07-20 Anatoly Sokolov <aesok@post.ru> |
2913 | ||
2914 | * target.def (class_max_nregs): New hook. | |
2915 | * doc/tm.texi.in (TARGET_CLASS_MAX_NREGS): Document. | |
2916 | * doc/tm.texi: Regenerate. | |
2917 | * targhooks.c (default_class_max_nregs): New function. | |
2918 | * targhooks.h (default_class_max_nregs): Declare. | |
2919 | * ira.h (target_ira): Change type x_ira_reg_class_max_nregs and | |
2920 | x_ira_reg_class_min_nregs arrays to unsigned char. | |
2921 | * ira.c (setup_reg_class_nregs): Use TARGET_CLASS_MAX_NREGS target | |
2922 | hook instead of CLASS_MAX_NREGS macro. | |
2923 | * reginfo.c (restore_register_info): Ditto. | |
2924 | * ira-conflicts.c (process_regs_for_copy): Use | |
2925 | ira_reg_class_max_nregs array instead of CLASS_MAX_NREGS macro. | |
2926 | Change type rclass and aclass vars to reg_class_t. | |
2927 | * ira-costs.c (record_reg_classes): Use ira_reg_class_max_nregs | |
2928 | array instead of CLASS_MAX_NREGS macro. Change type rclass var to | |
2929 | reg_class_t. | |
2930 | * reload.c (combine_reloads, find_reloads, find_reloads_address_1): | |
2931 | Use ira_reg_class_max_nregs array instead of CLASS_MAX_NREGS macro. | |
2932 | ||
2933 | * config/i386/i386.h (CLASS_MAX_NREGS): Remove. | |
2934 | * config/i386/i386.c (ix86_class_max_nregs): New function. | |
2935 | (ix86_register_move_cost): Use TARGET_CLASS_MAX_NREGS target hook | |
2936 | instead of CLASS_MAX_NREGS macro. | |
2937 | (TARGET_CLASS_MAX_NREGS): Define. | |
2938 | * config/avr/avr.h (CLASS_MAX_NREGS): Remove. | |
2939 | * config/avr/avr-protos.h (class_max_nregs): Remove declaration. | |
2940 | * config/avr/avr.c (class_max_nregs): Remove function. | |
2941 | * config/alpha/alpha.h (CLASS_MAX_NREGS): Remove. | |
2942 | * config/spu/spu.h (CLASS_MAX_NREGS): Remove. | |
2943 | * config/mep/mep.h (CLASS_MAX_NREGS): Remove. | |
2944 | * config/m32r/m32r.h (CLASS_MAX_NREGS): Remove. | |
2945 | * config/microblaze/microblaze.h (CLASS_MAX_NREGS): Remove. | |
2946 | * config/xtensa/xtensa.h (CLASS_MAX_NREGS): Remove. | |
2947 | * config/stormy16/stormy16.h (CLASS_MAX_NREGS): Remove. | |
2948 | * config/lm32/lm32.h (CLASS_MAX_NREGS): Remove. | |
2949 | * config/moxie/moxie.h (CLASS_MAX_NREGS): Remove. | |
2950 | * config/iq2000/iq2000.h (CLASS_MAX_NREGS): Remove. | |
2951 | * config/mn10300/mn10300.h (CLASS_MAX_NREGS): Remove. | |
2952 | * config/score/score.h (CLASS_MAX_NREGS): Remove. | |
2953 | * config/vax/vax.h (CLASS_MAX_NREGS): Remove. | |
2954 | * config/h8300/h8300.h (CLASS_MAX_NREGS): Remove. | |
2955 | * config/v850/v850.h (CLASS_MAX_NREGS): Remove. | |
2956 | ||
fd811f03 EB |
2957 | 2011-07-19 Eric Botcazou <ebotcazou@adacore.com> |
2958 | ||
2959 | * cif-code.def (OVERWRITABLE): Fix typo and move around. | |
2960 | (TARGET_OPTIMIZATION_MISMATCH): Delete. | |
2961 | (EH_PERSONALITY): Fix typo. | |
2962 | (NON_CALL_EXCEPTIONS): Fix message. | |
2963 | (OPTIMIZATION_MISMATCH): Adjust message. | |
2964 | * ipa-inline.c (can_inline_edge_p): Use CIF_OPTIMIZATION_MISMATCH. | |
2965 | ||
78767fd9 ILT |
2966 | 2011-07-19 Ian Lance Taylor <iant@google.com> |
2967 | ||
2968 | * doc/install.texi (Configuration): Document | |
2969 | --enable-build-poststage1-with-cxx. | |
2970 | ||
0baeec1b RM |
2971 | 2011-07-19 Robert Millan <rmh@gnu.org> |
2972 | ||
2973 | * config/mips/gnu-user.h: Copy from linux.h. Update comments. | |
2974 | (GLIBC_DYNAMIC_LINKER): Remove. | |
2975 | ||
2976 | * config/mips/gnu-user64.h: Copy from linux64.h. Update comments. | |
2977 | (GLIBC_DYNAMIC_LINKER32, GLIBC_DYNAMIC_LINKER64) | |
2978 | (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32) | |
2979 | (BIONIC_DYNAMIC_LINKERN32, GNU_USER_DYNAMIC_LINKERN32): Remove. | |
2980 | (LINK_SPEC): Use GNU_USER_DYNAMIC_LINKER32, | |
2981 | GNU_USER_DYNAMIC_LINKER64 and GNU_USER_LINK_EMULATIONN32. | |
2982 | ||
2983 | * config/mips/linux.h: Remove everything except for ... | |
2984 | (GLIBC_DYNAMIC_LINKER): ... this macro. | |
2985 | ||
2986 | * config/mips/linux64.h: Remove everything except for ... | |
2987 | (GLIBC_DYNAMIC_LINKER32, GLIBC_DYNAMIC_LINKER64) | |
2988 | (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32) | |
2989 | (BIONIC_DYNAMIC_LINKERN32): ... these macros. | |
2990 | (GNU_USER_LINK_EMULATION32, GNU_USER_LINK_EMULATION64) | |
2991 | (GNU_USER_LINK_EMULATIONN32): New macros. | |
2992 | ||
5e27a6d4 UB |
2993 | * config.gcc (mips64*-*-linux* | mipsisa64*-*-linux* | mips-*-linux*): |
2994 | Use the new headers. | |
0baeec1b | 2995 | |
754c3d5d RS |
2996 | 2011-07-19 Richard Sandiford <rdsandiford@googlemail.com> |
2997 | ||
2998 | * rtl.h (mem_attrs): Turn offset and size fields into HOST_WIDE_INTs. | |
2999 | Add offset_known_p and size_known_p fields. | |
3000 | (MEM_OFFSET_KNOWN_P): Update accordingly. | |
3001 | (MEM_OFFSET, MEM_SIZE_KNOWN_P, MEM_SIZE): Likewise. | |
3002 | * emit-rtl.c (mem_attrs_htab_hash): Update after mem_attrs changes. | |
3003 | (mem_attrs_eq_p, set_mem_attributes_minus_bitpos, set_mem_offset) | |
3004 | (clear_mem_offset, set_mem_size, clear_mem_size, change_address) | |
3005 | (adjust_address_1, widen_memory_access, set_mem_attrs_for_spill) | |
3006 | (init_emit_regs): Likewise. | |
3007 | ||
527210c4 RS |
3008 | 2011-07-19 Richard Sandiford <rdsandiford@googlemail.com> |
3009 | ||
3010 | * doc/rtl.texi (MEM_OFFSET_KNOWN_P): Document. | |
3011 | (MEM_OFFSET): Change from returning an rtx to returning a | |
3012 | HOST_WIDE_INT. | |
3013 | * rtl.h (MEM_OFFSET_KNOWN_P): New macro. | |
3014 | (MEM_OFFSET): Return a HOST_WIDE_INT rather than an rtx. | |
3015 | * emit-rtl.h (set_mem_offset): Take a HOST_WIDE_INT rather than an rtx. | |
3016 | (clear_mem_offset): Declare. | |
3017 | * alias.c (ao_ref_from_mem): Adjust uses of MEM_OFFSET, using | |
3018 | MEM_OFFSET_KNOWN_P to test whether the offset is known, and | |
3019 | MEM_OFFSET to get a HOST_WIDE_INT offset. | |
3020 | (nonoverlapping_memrefs_p): Likewise. Adjust calls to... | |
3021 | (adjust_offset_for_component_ref): Take a bool "known_p" | |
3022 | parameter and a HOST_WIDE_INT "offset" parameter. | |
3023 | * builtins.c (get_memory_rtx): As for ao_ref_from_mem. | |
3024 | Adjust calls to set_mem_offset, passing a HOST_WIDE_INT rather | |
3025 | than an rtx. Use clear_mem_offset to clear the offset. | |
3026 | * cfgcleanup.c (merge_memattrs): Likewise. | |
3027 | * dwarf2out.c (tls_mem_loc_descriptor): Likewise. | |
3028 | * function.c (assign_parm_find_stack_rtl): Likewise. | |
3029 | (assign_parm_setup_stack): Likewise. | |
3030 | * print-rtl.c (print_rtx): Likewise. | |
3031 | * reload.c (find_reloads_subreg_address): Likewise. | |
3032 | * simplify-rtx.c (delegitimize_mem_from_attrs): Likewise. | |
3033 | * var-tracking.c (INT_MEM_OFFSET): Likewise. | |
3034 | * emit-rtl.c (set_reg_attrs_from_value): Likewise. | |
3035 | (get_mem_align_offset): Likewise. | |
3036 | (set_mem_offset): Take a HOST_WIDE_INT rather than an rtx. | |
3037 | (clear_mem_offset): New function. | |
3038 | * config/mips/mips.c (r10k_safe_mem_expr_p): Take a HOST_WIDE_INT | |
3039 | offset rather than an rtx. Assume both the expressio and offset | |
3040 | are available. | |
3041 | (r10k_needs_protection_p_1): Update accordingly, checking the | |
3042 | expression and offset availability here instead. | |
3043 | ||
f5541398 RS |
3044 | 2011-07-19 Richard Sandiford <rdsandiford@googlemail.com> |
3045 | ||
3046 | * doc/rtl.texi (MEM_SIZE_KNOWN_P): Document. | |
3047 | (MEM_SIZE): Change from returning an rtx to returning a HOST_WIDE_INT. | |
3048 | * rtl.h (MEM_SIZE_KNOWN_P): New macro. | |
3049 | (MEM_SIZE): Return a HOST_WIDE_INT rather than an rtx. | |
3050 | * emit-rtl.h (set_mem_size): Take a HOST_WIDE_INT rather than an rtx. | |
3051 | (clear_mem_size): Declare. | |
3052 | * emit-rtl.c (set_mem_size): Take a HOST_WIDE_INT rather than an rtx. | |
3053 | (clear_mem_size): New function. | |
3054 | * alias.c (ao_ref_from_mem): Adjust uses of MEM_SIZE, using | |
3055 | MEM_SIZE_KNOWN_P to test whether the size is known, and MEM_SIZE | |
3056 | to get a HOST_WIDE_INT size. Adjust calls to set_mem_size, | |
3057 | passing a HOST_WIDE_INT rather than an rtx. Use clear_mem_size | |
3058 | to clear the size. | |
3059 | (nonoverlapping_memrefs_p): Likewise. | |
3060 | * builtins.c (get_memory_rtx, expand_builtin_memcmp): Likewise. | |
3061 | (expand_builtin_init_trampoline): Likewise. | |
3062 | * calls.c (compute_argument_addresses): Likewise. | |
3063 | * cfgcleanup.c (merge_memattrs): Likewise. | |
3064 | * dce.c (find_call_stack_args): Likewise. | |
3065 | * dse.c (record_store, scan_insn): Likewise. | |
3066 | * dwarf2out.c (dw_sra_loc_expr): Likewise. | |
3067 | * expr.c (emit_block_move_hints): Likewise. | |
3068 | * function.c (assign_parm_find_stack_rtl): Likewise. | |
3069 | * print-rtl.c (print_rtx): Likewise. | |
3070 | * reload.c (find_reloads_subreg_address): Likewise. | |
3071 | * rtlanal.c (may_trap_p_1): Likewise. | |
3072 | * var-tracking.c (track_expr_p): Likewise. | |
3073 | * varasm.c (assemble_trampoline_template): Likewise. | |
3074 | * config/arm/arm.c (arm_print_operand): Likewise. | |
3075 | * config/h8300/h8300.c (h8sx_emit_movmd): Likewise. | |
3076 | * config/i386/i386.c (expand_movmem_via_rep_mov): Likewise. | |
3077 | (expand_setmem_via_rep_stos, expand_constant_movmem_prologue) | |
3078 | (expand_constant_setmem_prologue): Likewise. | |
3079 | * config/mips/mips.c (mips_get_unaligned_mem): Likewise. | |
3080 | * config/rs6000/rs6000.c (expand_block_move): Likewise. | |
3081 | (adjacent_mem_locations): Likewise. | |
3082 | * config/s390/s390.c (s390_expand_setmem): Likewise. | |
3083 | (s390_expand_insv): Likewise. | |
3084 | * config/s390/s390.md (*extzv<mode>, *extv<mode>): Likewise. | |
3085 | (*extendqi<mode>2_short_displ): Likewise. | |
3086 | * config/sh/sh.c (expand_block_move): Likewise. | |
3087 | * config/sh/sh.md (extv, extzv): Likewise. | |
3088 | ||
f12144dd RS |
3089 | 2011-07-19 Richard Sandiford <rdsandiford@googlemail.com> |
3090 | ||
3091 | * emit-rtl.c (mem_attrs_eq_p): New function, split out from... | |
3092 | (mem_attrs_htab_eq): ...here. | |
3093 | (find_mem_attrs): Replace with... | |
3094 | (set_mem_attrs): ...this function. Take a mem_attrs structure | |
3095 | rather than individual fields. | |
3096 | (set_mem_attributes_minus_bitpos, set_mem_alias_set) | |
3097 | (set_mem_addr_space, set_mem_align, set_mem_expr, set_mem_offset) | |
3098 | (set_mem_size, change_address, adjust_address_1, offset_address) | |
3099 | (widen_memory_access, get_spill_slot_decl, set_mem_attrs_for_spill): | |
3100 | Update accordingly. | |
3101 | ||
1c3f523e RS |
3102 | 2011-07-19 Richard Sandiford <rdsandiford@googlemail.com> |
3103 | ||
3104 | * rtl.h (MEM_ALIAS_SET, MEM_EXPR, MEM_OFFSET, MEM_ADDR_SPACE) | |
3105 | (MEM_SIZE, MEM_ALIGN): Redefine in terms of get_mem_attrs. | |
3106 | Provide a dummy definition of MEM_ADDR_SPACE for generators. | |
3107 | (target_rtl): Add x_mode_mem_attrs. | |
3108 | (mode_mem_attrs): New macro. | |
3109 | (get_mem_attrs): New function. | |
3110 | * emit-rtl.c (get_mem_attrs): Rename to... | |
3111 | (find_mem_attrs): ...this. | |
3112 | (set_mem_attributes_minus_bitpos, set_mem_alias_set) | |
3113 | (set_mem_addr_space, set_mem_align, set_mem_expr, set_mem_offset) | |
3114 | (set_mem_size, change_address, adjust_address_1, offset_address) | |
3115 | (widen_memory_access, get_spill_slot_decl, set_mem_attrs_for_spill): | |
3116 | Update accordingly. | |
3117 | (init_emit_regs): Initialize mode_mem_attrs. | |
3118 | ||
3046b1a9 RG |
3119 | 2011-07-19 Richard Guenther <rguenther@suse.de> |
3120 | ||
3121 | * tree-ssa-forwprop.c (lookup_logical_inverted_value): Remove | |
3122 | TRUTH_*_EXPR handling. | |
3123 | * tree-ssa-operands.c (get_expr_operands): Likewise. | |
3124 | * tree-ssa-pre.c (fully_constant_expression): Likewise. | |
3125 | * tree-ssa-uninit.c (use_pred_not_overlap_with_undef_path_pre): | |
3126 | Likewise. | |
3127 | (is_and_or_or): Likewise. | |
3128 | (is_norm_cond_subset_of): Likewise. | |
3129 | ||
5d49b6a7 RG |
3130 | 2011-07-19 Richard Guenther <rguenther@suse.de> |
3131 | ||
3132 | * tree.h (fold_build_pointer_plus_loc): New helper function. | |
3133 | (fold_build_pointer_plus_hwi_loc): Likewise. | |
3134 | (fold_build_pointer_plus): Define. | |
3135 | (fold_build_pointer_plus_hwi): Likewise. | |
3136 | * builtins.c (std_gimplify_va_arg_expr): Use fold_build_pointer_plus. | |
3137 | (fold_builtin_memory_op): Likewise. | |
3138 | (fold_builtin_stpcpy): Likewise. | |
3139 | (fold_builtin_memchr): Likewise. | |
3140 | (fold_builtin_strstr): Likewise. | |
3141 | (fold_builtin_strchr): Likewise. | |
3142 | (fold_builtin_strrchr): Likewise. | |
3143 | (fold_builtin_strpbrk): Likewise. | |
3144 | (fold_builtin_strcat): Likewise. | |
3145 | (expand_builtin_memory_chk): Likewise. | |
3146 | (fold_builtin_memory_chk): Likewise. | |
3147 | * c-typeck.c (build_unary_op): Likewise. | |
3148 | * cgraphunit.c (thunk_adjust): Likewise. | |
3149 | * fold-const.c (build_range_check): Likewise. | |
3150 | (fold_binary_loc): Likewise. | |
3151 | * omp-low.c (extract_omp_for_data): Likewise. | |
3152 | (expand_omp_for_generic): Likewise. | |
3153 | (expand_omp_for_static_nochunk): Likewise. | |
3154 | (expand_omp_for_static_chunk): Likewise. | |
3155 | * tree-affine.c (add_elt_to_tree): Likewise. | |
3156 | * tree-data-ref.c (split_constant_offset_1): Likewise. | |
3157 | * tree-loop-distribution.c (generate_memset_zero): Likewise. | |
3158 | * tree-mudflap.c (mf_xform_derefs_1): Likewise. | |
3159 | * tree-predcom.c (ref_at_iteration): Likewise. | |
3160 | * tree-ssa-address.c (tree_mem_ref_addr): Likewise. | |
3161 | (add_to_parts): Likewise. | |
3162 | (create_mem_ref): Likewise. | |
3163 | * tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Likewise. | |
3164 | * tree-ssa-loop-niter.c (number_of_iterations_lt_to_ne): Likewise. | |
3165 | (number_of_iterations_le): Likewise. | |
3166 | * tree-ssa-loop-prefetch.c (issue_prefetch_ref): Likewise. | |
3167 | * tree-vect-data-refs.c (vect_analyze_data_refs): Likewise. | |
3168 | (vect_create_addr_base_for_vector_ref): Likewise. | |
3169 | * tree-vect-loop-manip.c (vect_update_ivs_after_vectorizer): Likewise. | |
3170 | (vect_create_cond_for_alias_checks): Likewise. | |
3171 | * tree-vrp.c (extract_range_from_assert): Likewise. | |
3172 | * config/alpha/alpha.c (alpha_va_start): Likewise. | |
3173 | (alpha_gimplify_va_arg_1): Likewise. | |
3174 | * config/i386/i386.c (ix86_va_start): Likewise. | |
3175 | (ix86_gimplify_va_arg): Likewise. | |
3176 | * config/ia64/ia64.c (ia64_gimplify_va_arg): Likewise. | |
3177 | * config/mep/mep.c (mep_expand_va_start): Likewise. | |
3178 | (mep_gimplify_va_arg_expr): Likewise. | |
3179 | * config/mips/mips.c (mips_va_start): Likewise. | |
3180 | (mips_gimplify_va_arg_expr): Likewise. | |
3181 | * config/pa/pa.c (hppa_gimplify_va_arg_expr): Likewise. | |
3182 | * config/rs6000/rs6000.c (rs6000_va_start): Likewise. | |
3183 | (rs6000_gimplify_va_arg): Likewise. | |
3184 | * config/s390/s390.c (s390_va_start): Likewise. | |
3185 | (s390_gimplify_va_arg): Likewise. | |
3186 | * config/sh/sh.c (sh_va_start): Likewise. | |
3187 | (sh_gimplify_va_arg_expr): Likewise. | |
3188 | * config/sparc/sparc.c (sparc_gimplify_va_arg): Likewise. | |
3189 | * config/spu/spu.c (spu_va_start): Likewise. | |
3190 | (spu_gimplify_va_arg_expr): Likewise. | |
3191 | * config/stormy16/stormy16.c (xstormy16_expand_builtin_va_start): | |
3192 | Likewise. | |
3193 | (xstormy16_gimplify_va_arg_expr): Likewise. | |
3194 | * config/xtensa/xtensa.c (xtensa_va_start): Likewise. | |
3195 | (xtensa_gimplify_va_arg_expr): Likewise. | |
3196 | ||
d906fd7f RG |
3197 | 2011-07-19 Richard Guenther <rguenther@suse.de> |
3198 | ||
3199 | * expr.c (expand_expr_real_2): Remove TRUTH_*_EXPR handling. | |
3200 | (expand_expr_real_1): Remove TRUTH_*IF_EXPR and STATEMENT_LIST | |
3201 | handling. | |
3202 | ||
3203 | PR middle-end/18908 | |
3204 | * expr.c (expand_expr_real_2): Do not unnecessarily truncate the | |
3205 | result of BIT_*_EXPR to bitfield precision. | |
3206 | ||
1b14d815 RS |
3207 | 2011-07-19 Richard Sandiford <richard.sandiford@linaro.org> |
3208 | ||
3209 | PR tree-optimization/49742 | |
3210 | * tree-data-ref.c (get_references_in_stmt): Treat the lhs of a call | |
3211 | as a potential write. | |
3212 | ||
d906fd7f RG |
3213 | 2011-07-19 Richard Guenther <rguenther@suse.de> |
3214 | ||
3215 | * Makefile.in (tree-ssa-forwprop.o): Depend on gimple-pretty-print.h. | |
3216 | * tree-ssa-forwprop.c: Include gimple-pretty-print.h. | |
3217 | (forward_propagate_comparison): Simplify, remove obsolete code. | |
3218 | ||
53020648 RG |
3219 | 2011-07-19 Richard Guenther <rguenther@suse.de> |
3220 | ||
3221 | * gimplify.c (gimplify_expr): Gimplify TRUTH_NOT_EXPR as | |
3222 | BIT_XOR_EXPR, same as the RTL expander does. | |
3223 | * tree-cfg.c (verify_expr): Disallow TRUTH_NOT_EXPR in the gimple IL. | |
3224 | (verify_gimple_assign_unary): Likewise. | |
3225 | * tree-ssa-propagate.c (valid_gimple_rhs_p): Disallow TRUTH_*_EXPR. | |
3226 | * tree-ssa-forwprop.c (forward_propagate_comparison): Handle | |
3227 | BIT_NOT_EXPR and BIT_XOR_EXPR instead of TRUTH_NOT_EXPR. | |
3228 | ||
b8b2b009 JJ |
3229 | 2011-07-19 Jakub Jelinek <jakub@redhat.com> |
3230 | ||
3231 | PR tree-optimization/49768 | |
3232 | * gimple-fold.c (fold_nonarray_ctor_reference): Return NULL | |
3233 | if offset is smaller than bitoffset, but offset+size is bigger | |
3234 | than bitoffset. | |
3235 | ||
338f655d IR |
3236 | 2011-07-19 Ira Rosen <ira.rosen@linaro.org> |
3237 | ||
3238 | PR tree-optimization/49771 | |
3239 | * tree-vect-loop-manip.c (vect_vfa_segment_size): In case of | |
3240 | zero step, set segment length to the size of the data-ref's type. | |
3241 | ||
310bc633 MJ |
3242 | 2011-07-18 Martin Jambor <mjambor@suse.cz> |
3243 | ||
3244 | * ipa-prop.h: Include alloc-pool.h, all sorts of updates to general | |
3245 | comments. | |
3246 | (ipcp_values_pool): Declare. | |
3247 | (ipcp_sources_pool): Likewise. | |
3248 | (ipcp_lattice): Changed to forward declaration. | |
3249 | (ipa_param_descriptor): Removed fields ipcp_lattice, types and | |
3250 | cannot_devirtualize. | |
3251 | (ipa_node_params): New fields descriptors, lattices, known_vals, | |
3252 | clone_for_all_contexts and node dead, removed fields params and | |
3253 | count_scale. | |
3254 | (ipa_set_param_count): Removed. | |
3255 | (ipa_get_param_count): Made to work with descriptors vector. | |
3256 | (ipa_get_param): Updated. | |
3257 | (ipa_param_cannot_devirtualize_p): Removed. | |
3258 | (ipa_param_types_vec_empty): Likewise. | |
3259 | (ipa_set_param_used): New function. | |
3260 | (ipa_get_param_used): Updated to use descriptors vector. | |
3261 | (ipa_func_list): Removed. | |
3262 | (ipa_init_func_list): Removed declaration. | |
3263 | (ipa_push_func_to_list_1): Likewise. | |
3264 | (ipa_pop_func_from_list): Likewise. | |
3265 | (ipa_push_func_to_list): Removed. | |
3266 | (ipa_lattice_from_jfunc): Remove declaration. | |
3267 | (ipa_get_jf_pass_through_result): Declare. | |
3268 | (ipa_get_jf_ancestor_result): Likewise. | |
3269 | (ipa_value_from_jfunc): Likewise. | |
3270 | (ipa_get_lattice): Update. | |
3271 | (ipa_lat_is_single_const): New function. | |
3272 | * ipa-prop.c (ipa_push_func_to_list_1): Removed. | |
3273 | (ipa_init_func_list): Likewise. | |
3274 | (ipa_pop_func_from_list): Likewise. | |
3275 | (ipa_get_param_decl_index): Fix coding style. | |
3276 | (count_formal_params): Removed. | |
3277 | (count_formal_params_1): Renamed to count_formal_params. | |
3278 | (ipa_populate_param_decls): Update to use descriptors vector. | |
3279 | (ipa_initialize_node_params): Likewise. | |
3280 | (visit_ref_for_mod_analysis): Use ipa_set_param_used. | |
3281 | (ipa_analyze_params_uses): Likewise. | |
3282 | (ipa_free_node_params_substructures): Likewise and free also lattices | |
3283 | and known values. | |
3284 | (duplicate_array): Removed. | |
3285 | (ipa_edge_duplication_hook): Add the new edge to the list of edge | |
3286 | clones. | |
3287 | (ipa_node_duplication_hook): Update to use new lattices. | |
3288 | (ipa_free_all_structures_after_ipa_cp): Free alloc pools. | |
3289 | (ipa_free_all_structures_after_iinln): Likewise. | |
3290 | (ipa_write_node_info): Update to use new lattices. | |
3291 | (ipa_read_node_info): Likewise. | |
3292 | (ipa_get_jf_pass_through_result): New function. | |
3293 | (ipa_get_jf_ancestor_result): Likewise. | |
3294 | (ipa_value_from_jfunc): Likewise. | |
3295 | (ipa_cst_from_jfunc): Reimplemented using ipa_value_from_jfunc. | |
3296 | * ipa-cp.c: Reimplemented. | |
3297 | * params.def (PARAM_DEVIRT_TYPE_LIST_SIZE): Removed. | |
3298 | (PARAM_IPA_CP_VALUE_LIST_SIZE): New parameter. | |
3299 | (PARAM_IPA_CP_EVAL_THRESHOLD): Likewise. | |
3300 | * Makefile.in (IPA_PROP_H): Added alloc-pool.h to dependencies. | |
3301 | * doc/invoke.texi (devirt-type-list-size): Removed description. | |
3302 | (ipa-cp-value-list-size): Added description. | |
3303 | ||
6774a66f RH |
3304 | 2011-07-18 Richard Henderson <rth@redhat.com> |
3305 | ||
3306 | * bb-reorder.c (fix_crossing_conditional_branches): Emit all insns | |
3307 | before calling create_basic_block. | |
3308 | ||
8b316874 JJ |
3309 | 2011-07-18 Jakub Jelinek <jakub@redhat.com> |
3310 | ||
3311 | PR middle-end/49675 | |
3312 | * tree.c (build_common_builtin_nodes): Register | |
3313 | __builtin_return_address, __cyg_profile_func_enter | |
3314 | and __cyg_profile_func_exit. | |
3315 | ||
9f68560b RH |
3316 | 2011-07-18 Richard Henderson <rth@redhat.com> |
3317 | ||
3318 | * bb-reorder.c (emit_barrier_after_bb): Split out of ... | |
3319 | (add_labels_and_missing_jumps): ... here. | |
3320 | (fix_up_fall_thru_edges, fix_crossing_conditional_branches): Use it. | |
3321 | ||
03126412 UB |
3322 | 2011-07-18 Uros Bizjak <ubizjak@gmail.com> |
3323 | ||
3324 | PR target/47744 | |
3325 | * config/i386/i386.c (ix86_decompose_address): Allow only subregs | |
3326 | of DImode hard registers in PLUS address chains. | |
3327 | ||
fbf80ef7 RO |
3328 | 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3329 | ||
3330 | PR bootstrap/49769 | |
3331 | * config.gcc (alpha*-*-linux*): Add crtfastmath.o to extra_parts. | |
3332 | (alpha*-*-freebsd*): Likewise. | |
3333 | (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu, | |
3334 | i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*, | |
3335 | i[34567]86-*-kopensolaris*-gnu): Add crtprec32.o, crtprec64.o, | |
3336 | crtprec80.o, crtfastmath.o to extra_parts for all targets. | |
3337 | (ia64*-*-elf*): Remove extra_parts. | |
3338 | (sparc-*-linux*): Add crtfastmath.o to extra_parts. | |
3339 | (sparc64-*-linux*): Likewise. | |
3340 | (sparc64-*-freebsd*): Likewise. | |
3341 | ||
3342 | Revert: | |
3343 | * config.gcc (ia64*-*-freebsd*): Remove crtfastmath.o from extra_parts. | |
3344 | (ia64*-*-linux*): Likewise. | |
3345 | (mips64*-*-linux*): Likewise. | |
3346 | (mips*-*-linux*): Likewise. | |
3347 | ||
daf633ba DE |
3348 | 2011-07-18 David Edelsohn <dje.gcc@gmail.com> |
3349 | ||
3350 | * doc/install.texi (Specific, *-ibm-aix*): AIX assembler bug. | |
3351 | ||
4b4455e5 RG |
3352 | 2011-07-18 Richard Guenther <rguenther@suse.de> |
3353 | ||
3354 | * gimplify.c (gimplify_expr): Use input_location, not saved_location | |
3355 | when building new trees. | |
3356 | ||
e002c7cb RG |
3357 | 2011-07-18 Richard Guenther <rguenther@suse.de> |
3358 | ||
3359 | * expr.c (expand_expr_real_2): Properly truncate the BIT_NOT_EXPR | |
3360 | expansion result to bitfield precision if required. | |
3361 | ||
e44dbbe1 RO |
3362 | 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3363 | ||
3364 | * config.gcc (i[3456x]86-*-netware*): Remove. | |
3365 | ||
3366 | * gthr-nks.h: Remove. | |
3367 | * configure.ac (enable_threads): Remove nks. | |
3368 | * configure: Regenerate. | |
3369 | ||
3370 | * config/i386/i386.c (ix86_encode_section_info): Remove netware | |
3371 | reference. | |
3372 | * config/i386/i386.h (KEEP_AGGREGATE_RETURN_POINTER): Remove | |
3373 | <netware.h> reference. | |
3374 | ||
3375 | * config/i386/netware-libgcc.c, | |
3376 | gcc/config/i386/netware-libgcc.def, | |
3377 | gcc/config/i386/netware-libgcc.exp, gcc/config/i386/netware.c, | |
3378 | gcc/config/i386/netware.h, gcc/config/i386/netware.opt, | |
3379 | gcc/config/i386/nwld.c, gcc/config/i386/nwld.h, | |
3380 | gcc/config/i386/t-netware, gcc/config/i386/t-nwld: Remove | |
3381 | ||
3382 | * doc/extend.texi (Function Attributes, | |
3383 | callee_pop_aggregate_return): Remove i?86-netware reference. | |
3384 | * doc/install.texi (Configuration, --enable-threads): Remove nks. | |
3385 | ||
fd862017 JDA |
3386 | 2011-07-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3387 | ||
3388 | PR target/49746 | |
3389 | Revert: | |
3390 | 2010-12-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | |
3391 | ||
3392 | * config/pa/pa.md: Add ",*" condition to 64-bit add/subtract boolean | |
3393 | patterns. | |
3394 | ||
1ff24749 EB |
3395 | 2011-07-17 Eric Botcazou <ebotcazou@adacore.com> |
3396 | ||
3397 | PR middle-end/49732 | |
3398 | * tree.c (walk_tree_1) <DECL_EXPR>: Do not walk a pointed-to type. | |
3399 | ||
a4a2c37d MK |
3400 | 2011-07-16 Matthias Klose <doko@ubuntu.com> |
3401 | ||
3402 | * doc/install.texi: Document --enable-static-libjava. | |
3403 | ||
ea6136a2 RH |
3404 | 2011-07-15 Richard Henderson <rth@redhat.com> |
3405 | ||
3406 | * bb-reorder.c (find_rarely_executed_basic_blocks_and_crossing_edges): | |
3407 | Replace all three arguments by returning a VEC of edges. | |
3408 | (add_labels_and_missing_jumps): Accept a VEC of edges, not bare | |
3409 | pointers and counts. | |
3410 | (fix_edges_for_rarely_executed_code): Merge ... | |
3411 | (rest_of_handle_partition_blocks): ... into... | |
3412 | (partition_hot_cold_basic_blocks): ... here. Return todo items if | |
3413 | any work was performed. | |
3414 | (pass_partition_blocks): Clear todo_flags_finish. | |
3415 | ||
6545e33e PC |
3416 | 2011-07-15 Paolo Carlini <paolo.carlini@oracle.com> |
3417 | Jakub Jelinek <jakub@redhat.com> | |
3418 | Jonathan Wakely <jwakely.gcc@gmail.com> | |
3419 | ||
3420 | PR libstdc++/49745 | |
3421 | * gthr-posix.h: Do not include <unistd.h> unconditionally; use | |
3422 | _GTHREADS_USE_MUTEX_TIMEDLOCK instead of _POSIX_TIMEOUTS. | |
3423 | ||
6feeed06 JM |
3424 | 2011-07-15 Jason Merrill <jason@redhat.com> |
3425 | ||
3426 | PR testsuite/49741 | |
3427 | * Makefile.in ($(lang_checks_parallelized)): Allow --extra_opts | |
3428 | rather than --tool_opts. | |
3429 | ||
44762055 BS |
3430 | 2011-07-15 Basile Starynkevitch <basile@starynkevitch.net> |
3431 | ||
3432 | * doc/plugins.texi (Building GCC plugins): gengtype needs its | |
0fa71447 | 3433 | corresponding gtype.state. |
44762055 | 3434 | |
1be0310c JDA |
3435 | 2011-07-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3436 | ||
3437 | PR target/49723 | |
3438 | * config/pa/pa.md (casesi): Use gen_int_mode instead of GEN_INT. | |
3439 | ||
12c5ffe5 EB |
3440 | 2011-07-15 Eric Botcazou <ebotcazou@adacore.com> |
3441 | ||
3442 | PR target/48220 | |
3443 | * doc/md.texi (Standard Names): Document window_save. | |
3444 | * cfgexpand.c (expand_debug_parm_decl): New function extracted from | |
3445 | expand_debug_expr and expand_debug_source_expr. If the target has | |
3446 | a window_save instruction, adjust the ENTRY_VALUE_EXP. | |
3447 | (expand_debug_expr) <SSA_NAME>: Call expand_debug_parm_decl if the | |
3448 | SSA_NAME_VAR is a parameter. | |
3449 | (expand_debug_source_expr) <PARM_DECL>: Call expand_debug_parm_decl. | |
3450 | * var-tracking.c (parm_reg_t): New type and associated vector type. | |
3451 | (windowed_parm_regs): New variable. | |
3452 | (adjust_insn): If the target has a window_save instruction and this | |
3453 | is the instruction, make its effect on parameter registers explicit. | |
3454 | (next_non_note_insn_var_location): New function. | |
3455 | (emit_notes_in_bb): Use it instead of NEXT_INSN throughout. | |
3456 | (vt_add_function_parameter): If the target has a window_save insn, | |
3457 | adjust the incoming RTL and record that in windowed_parm_regs. | |
3458 | (vt_finalize): Free windowed_parm_regs. | |
3459 | ||
bcead286 BS |
3460 | 2011-07-15 Bernd Schmidt <bernds@codesourcery.com> |
3461 | ||
3462 | * doc/invoke.texi (C6X Options): New section. | |
3463 | * doc/md.texi (TI C6X family): New section. | |
3464 | * config.gcc: Handle tic6x, in particular tic6x-*-elf and | |
3465 | tic6x-*-uclinux. | |
3466 | * longlong.h (add_ssaaaa, __umulsidi3, umul_ppmm, | |
3467 | count_leading_zeros, count_trailing_zeros, UMUL_TIME, UDIV_TIME): | |
3468 | Provide C6X definitions. | |
3469 | * config/c6x/c6x.md: New file. | |
3470 | * config/c6x/constraints.md: New file. | |
3471 | * config/c6x/predicates.md: New file. | |
3472 | * config/c6x/c6x-sched.md.in: New file. | |
3473 | * config/c6x/c6x-sched.md: New file. | |
3474 | * config/c6x/gensched.sh: New file. | |
3475 | * config/c6x/c6x-mult.md.in: New file. | |
3476 | * config/c6x/genmult.sh: New file. | |
3477 | * config/c6x/c6x-mult.md: New file. | |
3478 | * config/c6x/sync.md: New file. | |
3479 | * config/c6x/c6x-protos.h: New file. | |
3480 | * config/c6x/sfp-machine.h: New file. | |
3481 | * config/c6x/c6x.c: New file. | |
3482 | * config/c6x/c6x.h: New file. | |
3483 | * config/c6x/crti.s: New file. | |
3484 | * config/c6x/crtn.s: New file. | |
3485 | * config/c6x/lib1funcs.asm: New file. | |
3486 | * config/c6x/c6x-modes.def: New file. | |
3487 | * config/c6x/genopt.sh: New file. | |
3488 | * config/c6x/c6x.opt: New file. | |
3489 | * config/c6x/c6x-tables.opt: New file. | |
3490 | * config/c6x/c6x-opts.h: New file. | |
3491 | * config/c6x/c6x-isas.def: New file. | |
3492 | * config/c6x/elf.h: New file. | |
3493 | * config/c6x/elf-common.h: New file. | |
3494 | * config/c6x/uclinux-elf.h: New file. | |
3495 | * config/c6x/t-c6x: New file. | |
3496 | * config/c6x/t-c6x-elf: New file. | |
3497 | * config/c6x/t-c6x-uclinux: New file. | |
3498 | * config/c6x/t-c6x-softfp: New file. | |
3499 | * config/c6x/gtd.c: New file. | |
3500 | * config/c6x/gtf.c: New file. | |
3501 | * config/c6x/ltd.c: New file. | |
3502 | * config/c6x/ltf.c: New file. | |
3503 | * config/c6x/ged.c: New file. | |
3504 | * config/c6x/gef.c: New file. | |
3505 | * config/c6x/led.c: New file. | |
3506 | * config/c6x/lef.c: New file. | |
3507 | * config/c6x/eqd.c: New file. | |
3508 | * config/c6x/eqf.c: New file. | |
3509 | * config/c6x/libgcc-c6xeabi.ver: New file. | |
3510 | ||
aef0e7a8 BS |
3511 | Revert |
3512 | 2003-07-10 Eric Botcazou <ebotcazou@libertysurf.fr> | |
3513 | PR rtl-optimization/11320 | |
3514 | * sched-int.h (struct deps) [reg_conditional_sets]: New field. | |
3515 | (struct sched_info) [compute_jump_reg_dependencies]: New prototype. | |
3516 | * sched-deps.c (sched_analyze_insn) [JUMP_INSN]: Update call to | |
3517 | current_sched_info->compute_jump_reg_dependencies. Record which | |
3518 | registers are used and which registers are set by the jump. | |
3519 | Clear deps->reg_conditional_sets after a barrier. | |
3520 | Set deps->reg_conditional_sets if the insn is a COND_EXEC. | |
3521 | Clear deps->reg_conditional_sets if the insn is not a COND_EXEC. | |
3522 | (init_deps): Initialize reg_conditional_sets. | |
3523 | (free_deps): Clear reg_conditional_sets. | |
3524 | * sched-ebb.c (compute_jump_reg_dependencies): New prototype. | |
3525 | Mark registers live on entry of the fallthrough block and conditionally | |
3526 | set as set by the jump. Mark registers live on entry of non-fallthrough | |
3527 | blocks as used by the jump. | |
3528 | * sched-rgn.c (compute_jump_reg_dependencies): New prototype. | |
3529 | Mark new parameters as unused. | |
3530 | ||
9bed2f0d AP |
3531 | 2011-07-14 Andrew Pinski <pinskia@gmail.com> |
3532 | ||
3533 | PR tree-opt/49309 | |
3534 | * tree-mudflap.c (mf_xform_derefs_1 <case MEM_REF>): | |
3535 | Use fold_build2_loc instead of build2. | |
3536 | Use the correct type for the new tree. | |
3537 | ||
1f88caaa BS |
3538 | 2011-07-14 Bernd Schmidt <bernds@codesourcery.com> |
3539 | ||
3540 | PR rtl-optimization/11320 | |
3541 | * config/ia64/ia64.md (load_symptr_low): Show a MEM. | |
3542 | * config/ia64/ia64.c (ia64_expand_load_address): Generate it. | |
3543 | ||
d772f97c | 3544 | 2011-07-14 Georg-Johann Lay <avr@gjlay.de> |
1f88caaa | 3545 | |
d772f97c GJL |
3546 | PR target/49487 |
3547 | * config/avr/avr.md (rotl<mode>3): Generate SCRATCH instead | |
3548 | of REG. | |
3549 | (*rotw<mode>): Use const_int_operand for operand2. | |
3550 | Use match_scatch for operand3. | |
3551 | (*rotb<mode>): Ditto | |
3552 | * config/avr/avr.c (avr_rotate_bytes): Treat SCRATCH. | |
3553 | ||
1a5d20a4 RG |
3554 | 2011-07-14 Richard Guenther <rguenther@suse.de> |
3555 | ||
3556 | PR tree-optimization/49651 | |
3557 | * tree-ssa-structalias.c (get_constraint_for_1): Properly | |
3558 | handle dereferences with subvariables. | |
3559 | ||
5fbcc0ed RG |
3560 | 2011-07-14 Richard Guenther <rguenther@suse.de> |
3561 | ||
3562 | * gimple-fold.c (fold_gimple_assign): Remove operand swapping. | |
3563 | (fold_stmt_1): Do it here directly on gimple and as a first thing. | |
3564 | ||
fbf3fee2 RG |
3565 | 2011-07-14 Richard Guenther <rguenther@suse.de> |
3566 | ||
3567 | * fold-const.c (fold_binary_loc): Convert the !bool_var result, | |
3568 | not bool_var when folding bool_var != 1 or bool_var == 0. | |
3569 | ||
b953c2b8 BS |
3570 | 2011-07-14 Bernd Schmidt <bernds@codesourcery.com> |
3571 | ||
3572 | * haifa-sched.c (schedule_insns): Remove outdated comment. | |
3573 | (schedule_block): When computing a known value for TODO_SPEC, | |
3574 | just set it rather than using logical operations. | |
3575 | (try_ready): Likewise. Use a local variable rather than a | |
3576 | pointer to TODO_SPEC. Reorder an if statement to move the | |
3577 | easy case to the then block. | |
3578 | * sched-deps.c (dep_spec_p): New static function. | |
3579 | (update_dep): Use it to decide whether to call | |
3580 | change_spec_dep_to_hard. | |
3581 | (get_back_and_forw_lists): Use it. | |
3582 | (sd_resolve_dep): Likewise. | |
3583 | (init_dep): If !USE_DEPS_LIST, use zero to initialize status. | |
3584 | (haifa_note_mem_dep): Likewise. | |
3585 | (check_dep): Likewise. | |
3586 | (sd_add_dep): Also clear SPECULATIVE bits if not DO_SPECULATION. | |
3587 | (sched_free_deps): Free in two passes. | |
3588 | ||
1f098f07 RS |
3589 | 2011-07-14 Richard Sandiford <richard.sandiford@linaro.org> |
3590 | ||
3591 | PR middle-end/49736 | |
3592 | * expr.c (all_zeros_p): Undo bogus part of last change. | |
3593 | ||
73059910 MK |
3594 | 2011-07-14 Matthias Klose <doko@ubuntu.com> |
3595 | ||
3596 | * doc/extend.texi (optimize attribute): Fix typo. | |
3597 | ||
bd5d002e RG |
3598 | 2011-07-14 Richard Guenther <rguenther@suse.de> |
3599 | ||
3600 | * gimplify.c (gimplify_expr): Only do required conversions. | |
3601 | ||
eb1dcdff GJL |
3602 | 2011-07-14 Georg-Johann Lay <avr@gjlay.de> |
3603 | ||
3604 | PR target/43746 | |
3605 | * config/avr/elf.h (TARGET_ASM_SELECT_SECTION): Remove, | |
3606 | i.e. use default_elf_select_section. | |
3607 | (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Remove. | |
3608 | (READONLY_DATA_SECTION_ASM_OP): Remove. | |
3609 | (TARGET_ASM_NAMED_SECTION): Move from here... | |
3610 | * config/avr/avr.c: ...to here. | |
03126412 | 3611 | (avr_asm_init_sections): Set unnamed callback of readonly_data_section. |
eb1dcdff GJL |
3612 | (avr_asm_named_section): Make static. |
3613 | ||
d31fb329 RO |
3614 | 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3615 | ||
3616 | PR bootstrap/49739 | |
03126412 UB |
3617 | * config.gcc (extra_parts): Add crtprec32.o crtprec64.o crtprec80.o |
3618 | and crtfastmath.o for Linux/x86. | |
d31fb329 | 3619 | |
26965010 BS |
3620 | 2011-07-14 Bernd Schmidt <bernds@codesourcery.com> |
3621 | ||
3622 | * haifa-sched.c: Include "hashtab.h" | |
3623 | (sched_no_dce): New global variable. | |
3624 | (INSN_EXACT_TICK, INSN_TICK_ESTIMATE, FEEDS_BACKTRACK_INSN, | |
3625 | SHADOW_P): New macros. | |
3626 | (last_clock_var, cycle_issued_insns): Move declarations. | |
3627 | (must_backtrack): New static variable. | |
3628 | (struct delay_pair): New structure. | |
3629 | (delay_htab, delay_htab_i2): New static variables. | |
3630 | (delay_hash_i1, delay_hash_i2, delay_i1_eq, delay_i2_eq, | |
3631 | record_delay_slot_pair, pair_delay, add_delay_dependencies): New | |
3632 | functions. | |
3633 | (dep_cost_1): If delay pairs exist, try to look up the insns and | |
3634 | use the correct pair delay if we find them. | |
3635 | (rank-for_schedule): Tweak priority for insns that must be scheduled | |
3636 | soon to avoid backtracking. | |
3637 | (queue_insn): Detect conditions which force backtracking. | |
3638 | (ready_add): Likewise. | |
3639 | (struct sched_block_state): Add member shadows_only_p. | |
3640 | (struct haifa_save_data): New structure. | |
3641 | (backtrack_queue): New static variable. | |
3642 | (mark_backtrack_feeds, copy_insn_list, save_backtrack_point, | |
3643 | unschedule_insns_until, restore_last_backtrack_point, | |
3644 | free_topmost_backtrack_point, free_backtrack_queue, | |
3645 | estimate_insn_tick, estimate_shadow_tick): New functions. | |
3646 | (prune_ready_list): New arg shadows_only_p. All callers changed. | |
3647 | If true, remove everything that isn't SHADOW_P. Look up delay | |
03126412 | 3648 | pairs and estimate ticks to avoid scheduling the first insn too early. |
26965010 BS |
3649 | (verify_shadows): New function. |
3650 | (schedule_block): Add machinery to enable backtracking. | |
3651 | (sched_init): Take sched_no_dce into account when setting | |
3652 | DF_LR_RUN_DCE. | |
3653 | (free_delay_pairs): New function. | |
3654 | (init_h_i_d): Initialize INSN_EXACT_TICK. | |
3655 | * Makefile.in (haifa-sched.o): Add $(HASHTAB_H). | |
3656 | * sched-deps.c (sd_unresolve_dep): New function. | |
3657 | * sched-int. (struct haifa_sched_info): New fields save_state | |
3658 | and restore_state. | |
3659 | (struct _haifa_insn_data): New fields exact_tick, tick_estimate, | |
3660 | feeds_backtrack_insn and shadow_p. | |
3661 | (DO_BACKTRACKING): New value in enum SCHED_FLAGS. | |
3662 | (sched_no_dce): Declare variable. | |
3663 | (record_delay_slot_pair, free_delay_pairs, add_delay_dependencies, | |
3664 | sd_unresolve_dep): Declare functions. | |
3665 | * modulo-sched.c (sms_sched_info): Clear the two new fields. | |
3666 | * sched-rgn.c (rgn_const_sched_info): Likewise. | |
3667 | * sel-sched-ir.c (sched_sel_haifa_sched_info): Likewise. | |
3668 | * sched-ebb.c (save_ebb_state, restore_ebb_state): New functions. | |
3669 | (ebb_sched_info): Add them for the two new fields. | |
3670 | (add_deps_for_risky_insns): Call add_delay_dependencies. | |
3671 | ||
1db75f6c MM |
3672 | 2011-07-13 Michael Meissner <meissner@linux.vnet.ibm.com> |
3673 | ||
3674 | * config/rs6000/rs6000.opt (-mpointers-to-nested-functions): | |
3675 | Rename -mr11. | |
3676 | * config/rs6000/rs6000.c (rs6000_trampoline_init): Ditto. | |
3677 | (rs6000_call_indirect_aix): Ditto. | |
3678 | * config/rs6000/rs6000.md (call_indirect_aix<ptrsize>): Ditto. | |
3679 | (call_indirect_aix<ptrsize>_internal): Ditto. | |
3680 | (call_indirect_aix<ptrsize>_nor11): Ditto. | |
3681 | (call_indirect_aix<ptrsize>_internal2): Ditto. | |
3682 | (call_value_indirect_aix<ptrsize>): Ditto. | |
3683 | (call_value_indirect_aix<ptrsize>_internal): Ditto. | |
3684 | (call_value_indirect_aix<ptrsize>_nor11): Ditto. | |
3685 | (call_value_indirect_aix<ptrsize>_internal2): Ditto. | |
3686 | * doc/invoke.texi (RS/6000 and PowerPC Options): Ditto. | |
3687 | ||
e2995714 JM |
3688 | 2011-07-13 Jason Merrill <jason@redhat.com> |
3689 | ||
3690 | * Makefile.in ($(lang_checks_parallelized)): Allow --tool_opts. | |
3691 | ||
4dfe3ad5 UW |
3692 | 2011-07-13 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
3693 | ||
3694 | * config/spu/spu.c (spu_init_libfuncs): Install __clrsbdi2. | |
3695 | * config/spu/spu.md ("clrsb<mode>2"): New expander. | |
3696 | ||
dddc6762 TS |
3697 | 2011-07-13 Thomas Schwinge <thomas@schwinge.name> |
3698 | ||
3699 | * acinclude.m4 (gcc_GAS_CHECK_FEATURE): Use AS_ECHO instead of echo. | |
3700 | * configure: Regenerate. | |
3701 | ||
b4d80e56 UW |
3702 | 2011-07-13 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
3703 | ||
3704 | * config/spu/spu.c (TARGET_ASM_FILE_START): Do not define. | |
3705 | (asm_file_start): Remove. | |
3706 | (spu_machine_dependent_reorg): Call compute_bb_for_insn and | |
3707 | free_bb_for_insn around code that modifies insns before | |
3708 | restarting df analysis. | |
3709 | ||
9e34e53f RO |
3710 | 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3711 | ||
3712 | PR target/49541 | |
03126412 | 3713 | * config/sol2.h (LIB_SPEC): Simplify. Move LIB_THREAD_LDFLAGS_SPEC ... |
9e34e53f RO |
3714 | (LINK_SPEC): ... here. |
3715 | ||
51564684 BS |
3716 | 2011-07-13 Bernd Schmidt <bernds@codesourcery.com> |
3717 | ||
3718 | * haifa-sched.c (struct sched_block_state): New. | |
3719 | (schedule_block): Move some local variables into such a structure. | |
3720 | ||
b3fe1584 RO |
3721 | 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3722 | ||
3723 | * config/i386/crtprec.c: Move to ../libgcc/config/i386. | |
3724 | * config/i386/t-crtpc: Remove. | |
3725 | * config/t-darwin (EXTRA_MULTILIB_PARTS): Remove. | |
3726 | * config.gcc (i[34567]86-*-darwin*): Remove i386/t-crtpc from | |
3727 | tmake_file. | |
3728 | (x86_64-*-darwin*): Likewise. | |
3729 | (i[34567]86-*-linux*): Likewise. | |
3730 | (x86_64-*-linux*): Likewise. | |
3731 | ||
3732 | * config/i386/sol2.h (ENDFILE_SPEC): Redefine. | |
3733 | Handle -mpc32, -mpc64, -mpc80. | |
3734 | ||
35d8090d RO |
3735 | 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3736 | ||
3737 | * config/alpha/crtfastmath.c: Move to ../libgcc/config/alpha. | |
3738 | * config/alpha/t-crtfm: Remove. | |
3739 | * config/i386/crtfastmath.c: Move to ../libgcc/config/i386. | |
3740 | * config/i386/t-crtfm: Remove. | |
3741 | * config/ia64/crtfastmath.c: Move to ../libgcc/config/ia64. | |
3742 | * config/mips/crtfastmath.c: Move to ../libgcc/config/mips. | |
3743 | * config/sparc/crtfastmath.c: Move to ../libgcc/config/sparc. | |
3744 | * config/sparc/t-crtfm: Remove. | |
3745 | ||
3746 | * config.gcc (alpha*-*-linux*): Remove alpha/t-crtfm from tmake_file. | |
3747 | (alpha*-*-freebsd*): Likewise. | |
3748 | (i[34567]86-*-darwin*): Remove i386/t-crtfm from tmake_file. | |
3749 | (x86_64-*-darwin*): Likewise. | |
3750 | (i[34567]86-*-linux*): Likewise. | |
3751 | (x86_64-*-linux*): Likewise. | |
3752 | (x86_64-*-mingw*): Likewise. | |
3753 | (ia64*-*-elf*): Remove crtfastmath.o from extra_parts. | |
3754 | (ia64*-*-freebsd*): Likewise. | |
3755 | (ia64*-*-linux*): Likewise. | |
3756 | (mips64*-*-linux*): Likewise. | |
3757 | (mips*-*-linux*): Likewise. | |
3758 | (sparc-*-linux*): Remove sparc/t-crtfm from tmake_file. | |
3759 | (sparc64-*-linux*): Likewise. | |
3760 | (sparc64-*-freebsd*): Likewise. | |
3761 | ||
e141542e RO |
3762 | 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3763 | ||
3764 | * config/darwin-crt2.c: Move to ../libgcc/config/rs6000. | |
3765 | * config/darwin-crt3.c: Move to ../libgcc/config. | |
3766 | * config/t-darwin (EXTRA_MULTILIB_PARTS): Remove. | |
3767 | ($(T)crt3$(objext)): Remove. | |
3768 | * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): Remove. | |
3769 | ($(T)crt2$(objext)): Remove. | |
3770 | * config.gcc (powerpc-*-darwin*): Remove extra_parts. | |
3771 | (powerpc64-*-darwin*): Likewise. | |
3772 | ||
72fbc381 L |
3773 | 2011-07-13 H.J. Lu <hongjiu.lu@intel.com> |
3774 | ||
03126412 | 3775 | * config/i386/i386.c (x86_output_mi_thunk): Support ptr_mode != Pmode. |
72fbc381 L |
3776 | |
3777 | * config/i386/i386.md (*addsi_1_zext): Renamed to ... | |
3778 | (addsi_1_zext): This. | |
3779 | ||
727a65e6 BS |
3780 | 2011-07-13 Bernd Schmidt <bernds@codesourcery.com> |
3781 | ||
3782 | * doc/tm.texi.in (TARGET_ASM_MERGEABLE_RODATA_PREFIX): Add hook. | |
3783 | * doc/tm.texi: Regenerate. | |
73451ae7 | 3784 | * target.def (mergeable_rodata_prefix): New defhookpod. |
727a65e6 BS |
3785 | * varasm.c (mergeable_string_section, mergeable_constant_section): |
3786 | Use it. Allocate name with alloca. | |
3787 | ||
cb77b6cf L |
3788 | 2011-07-13 H.J. Lu <hongjiu.lu@intel.com> |
3789 | ||
3790 | * doc/invoke.texi (x86): Remove -mfused-madd and add -mfma. | |
3791 | ||
36fc3799 RS |
3792 | 2011-07-13 Richard Sandiford <richard.sandiford@linaro.org> |
3793 | ||
3794 | * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): Tighten | |
3795 | overlap check. | |
3796 | ||
953d0c90 RS |
3797 | 2011-07-13 Richard Sandiford <richard.sandiford@linaro.org> |
3798 | ||
3799 | * tree.h (categorize_ctor_elements): Remove comment. Fix long line. | |
3800 | (count_type_elements): Delete. | |
3801 | (complete_ctor_at_level_p): Declare. | |
3802 | * expr.c (flexible_array_member_p): New function, split out from... | |
3803 | (count_type_elements): ...here. Make static. Replace allow_flexarr | |
3804 | parameter with for_ctor_p. When for_ctor_p is true, return the | |
3805 | number of elements that should appear in the top-level constructor, | |
3806 | otherwise return an estimate of the number of scalars. | |
3807 | (categorize_ctor_elements): Replace p_must_clear with p_complete. | |
3808 | (categorize_ctor_elements_1): Likewise. Use complete_ctor_at_level_p. | |
3809 | (complete_ctor_at_level_p): New function, borrowing union logic | |
3810 | from old categorize_ctor_elements_1. | |
3811 | (mostly_zeros_p): Return true if the constructor is not complete. | |
3812 | (all_zeros_p): Update call to categorize_ctor_elements. | |
3813 | * gimplify.c (gimplify_init_constructor): Update call to | |
3814 | categorize_ctor_elements. Don't call count_type_elements. | |
3815 | Unconditionally prevent clearing for variable-sized types, | |
3816 | otherwise rely on categorize_ctor_elements to detect | |
3817 | incomplete initializers. | |
3818 | ||
9111c715 RG |
3819 | 2011-07-13 Richard Guenther <rguenther@suse.de> |
3820 | ||
3821 | * tree-vrp.c (simplify_conversion_using_ranges): Make sure | |
3822 | the final type is integral. | |
3823 | ||
a19af9c4 BS |
3824 | 2011-07-13 Bernd Schmidt <bernds@codesourcery.com> |
3825 | ||
3826 | * sched-int.h (struct _dep): Add member cost. | |
3827 | (DEP_COST, UNKNOWN_DEP_COST): New macros. | |
3828 | * sched-deps.c (init_dep_1): Initialize DEP_COST. | |
3829 | * haifa-sched.c (dep_cost_1): Use and set DEP_COST. | |
3830 | (sched_change_pattern): Reset it for dependent insns. | |
3831 | ||
2d1efe2d RO |
3832 | 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3833 | ||
3834 | * Makefile.in (CRT0STUFF_T_CFLAGS): Remove. | |
3835 | ($(T)crt0.o, $(T)mcrt0.o, s-crt0): Remove. | |
3836 | * config/i386/netware-crt0.c: Move to ../libgcc/config/i386. | |
3837 | * config/i386/t-nwld (CRTSTUFF_T_CFLAGS, CRT0STUFF_T_CFLAGS): Remove. | |
3838 | (CRT0_S, MCRT0_S): Remove. | |
3839 | ($(T)libgcc.def, $(T)libc.def, $(T)libcpre.def, $(T)posixpre.def): | |
3840 | Remove. | |
3841 | (s-crt0): Remove. | |
3842 | * config.gcc (i[3456x]86-*-netware*): Remove extra_parts. | |
3843 | ||
e84a58ff EB |
3844 | 2011-07-12 Eric Botcazou <ebotcazou@adacore.com> |
3845 | ||
3846 | * cse.c (insert_with_costs): Put semi-colon after empty loop body | |
3847 | on the next line. | |
3848 | * emit-rtl.c (push_to_sequence): Likewise. | |
3849 | * haifa-sched.c (max_issue): Likewise. | |
3850 | * matrix-reorg.c (add_allocation_site): Likewise. | |
3851 | * postreload-gcse.c (eliminate_partially_redundant_load): Likewise. | |
3852 | * reload.c (alternative_allows_const_pool_ref): Likewise. | |
3853 | * sched-rgn.c (rgn_add_block): Likewise. | |
3854 | (rgn_fix_recovery_cfg): Likewise. | |
3855 | * tree.c (attribute_list_contained): Likewise. | |
3856 | ||
3a4ffde6 UB |
3857 | 2011-07-12 Uros Bizjak <ubizjak@gmail.com> |
3858 | ||
3859 | * config/i386/i386.c: Tidy processor feature bitmasks. | |
3860 | (m_P4_NOCONA): New. | |
3861 | ||
10b75750 AP |
3862 | 2011-07-12 Andrew Pinski <pinskia@gmail.com> |
3863 | ||
3864 | PR rtl-opt/49474 | |
3865 | * cprop.c (find_implicit_sets): Correct the condition. | |
3866 | ||
4f42d714 RH |
3867 | 2011-07-12 Richard Henderson <rth@redhat.com> |
3868 | ||
3869 | PR target/49713 | |
3870 | * dwarf2out.h (dwarf_frame_regnum): Remove. | |
3871 | * dwarf2out.c (based_loc_descr): Revert last change. Initialize regno | |
3872 | earlier from DWARF_FRAME_REGNUM. Never use dbx_reg_number. | |
3873 | * dwarf2cfi.c (dw_stack_pointer_regnum, dw_frame_pointer_regnum): New. | |
3874 | (execute_dwarf2_frame): Initialize them. | |
3875 | (DW_STACK_POINTER_REGNUM, DW_FRAME_POINTER_REGNUM): Remove; replace | |
3876 | users of the macros with the variables. | |
3877 | (expand_builtin_dwarf_sp_column): Revert last change. | |
3878 | (expand_builtin_init_dwarf_reg_sizes): Likewise. Compute the | |
3879 | result of DWARF_FRAME_REGNUM into a local variable. | |
3880 | ||
3a5e4ad6 RH |
3881 | 2011-07-12 Richard Henderson <rth@redhat.com> |
3882 | ||
3883 | PR target/49714 | |
3884 | * config/i386/i386.c (x86_output_mi_thunk): Use | |
3885 | machopic_indirect_call_target instead of machopic_indirection_name | |
3886 | directly. | |
3887 | ||
9e9bd455 LG |
3888 | 2011-07-12 Laurent GUERBY <laurent@guerby.net> |
3889 | Eric Botcazou <ebotcazou@adacore.com> | |
3890 | ||
3891 | * prefix.h: Wrap up in extern "C" block. | |
3892 | ||
4d652a18 HJ |
3893 | 2011-07-12 Harsha Jagasia <harsha.jagasia@amd.com> |
3894 | ||
3895 | AMD bdver2 Enablement | |
3896 | * config.gcc (i[34567]86-*-linux* | ...): Add bdver2. | |
3897 | (case ${target}): Add bdver2. | |
3898 | * config/i386/driver-i386.c (host_detect_local_cpu): Let | |
3899 | -march=native recognize bdver2 processors. | |
3900 | * config/i386/i386-c.c (ix86_target_macros_internal): Add | |
3901 | bdver2 def_and_undef | |
3902 | * config/i386/i386.c (struct processor_costs bdver2_cost): New | |
3903 | bdver2 cost table. | |
3904 | (m_BDVER2): New definition. | |
3905 | (m_AMD_MULTIPLE): Includes m_BDVER2. | |
3906 | (initial_ix86_tune_features): Add bdver2 tuning. | |
3907 | (processor_target_table): Add bdver2 entry. | |
3908 | (static const char *const cpu_names): Add bdver2 entry. | |
3909 | (ix86_option_override_internal): Add bdver2 instruction sets. | |
3910 | (ix86_issue_rate): Add bdver2. | |
3911 | (ix86_adjust_cost): Add bdver2. | |
3912 | (has_dispatch): Add bdver2. | |
3913 | * config/i386/i386.h (TARGET_BDVER2): New definition. | |
3914 | (enum target_cpu_default): Add TARGET_CPU_DEFAULT_bdver2. | |
3915 | (enum processor_type): Add PROCESSOR_BDVER2. | |
3916 | * config/i386/i386.md (define_attr "cpu"): Add bdver2. | |
3917 | * config/i386/i386.opt ( mdispatch-scheduler): Add bdver2 to | |
3918 | description. | |
3919 | ||
5756d08c RH |
3920 | 2011-07-12 Richard Henderson <rth@redhat.com> |
3921 | ||
3922 | PR target/49714 | |
3923 | * config/i386/i386.c (x86_output_mi_thunk): Fix mode for | |
3924 | destination address in memory on some paths. | |
3925 | ||
123148b5 BS |
3926 | 2011-07-12 Bernd Schmidt <bernds@codesourcery.com> |
3927 | ||
3928 | * doc/tm.texi.in (FUNCTION_ARG_PADDING): Mention | |
3929 | TARGET_FUNCTION_ARG_ROUND_BOUNDARY. | |
3930 | (TARGET_FUNCTION_ARG_ROUND_BOUNDARY): Add hook. | |
3931 | * function.c (locate_and_pad_parm): Take it into account. | |
3932 | * target.def (function_arg_round_boundary): New hook. | |
3933 | * targhooks.c (default_function_arg_round_boundary): New function. | |
3934 | * targhooks.h (default_function_arg_round_boundary): Declare. | |
3935 | * doc/tm.texi: Regenerate. | |
3936 | ||
b7a83ad8 RG |
3937 | 2011-07-12 Richard Guenther <rguenther@suse.de> |
3938 | ||
3939 | * tree-ssa-copyrename.c (rename_ssa_copies): Zero statistics. | |
3940 | Do not perform no-op changes. | |
3941 | ||
12c4ecb1 RS |
3942 | 2011-07-12 Richard Sandiford <richard.sandiford@linaro.org> |
3943 | ||
3944 | * config/arm/predicates.md (neon_struct_operand): Make a normal | |
3945 | predicate. | |
3946 | (neon_struct_or_register_operand): New predicate. | |
3947 | * config/arm/neon.md (movmisalign<mode>): Replace predicates | |
3948 | with neon_struct_or_register_operand. | |
3949 | (*movmisalign<mode>_neon_store, *movmisalign<mode>_neon_load): Use | |
3950 | neon_struct_operand instead of memory_operand. | |
3951 | ||
ab079773 MJ |
3952 | 2011-07-12 Martin Jambor <mjambor@suse.cz> |
3953 | ||
3954 | * cgraph.h (cgraph_get_node_or_alias): Removed declaration. | |
3955 | * cgraph.c (cgraph_get_node_or_alias): Removed. | |
3956 | (change_decl_assembler_name): Changed all calls to | |
3957 | cgraph_get_node_or_alias to a call to cgraph_get_node. | |
3958 | (cgraph_make_decl_local): Likewise. | |
3959 | * lto-symtab.c (lto_symtab_resolve_symbols): Likewise. | |
3960 | * varasm.c (default_binds_local_p_1): Likewise. | |
3961 | (decl_binds_to_current_def_p): Likewise. | |
3962 | ||
d5fed62d JJ |
3963 | 2011-07-12 Jakub Jelinek <jakub@redhat.com> |
3964 | ||
3965 | PR tree-optimization/49712 | |
3966 | * tree-ssa-loop-im.c (gen_lsm_tmp_name): Handle TARGET_MEM_REF. | |
3967 | ||
c0b6224a BS |
3968 | 2011-07-11 Bernd Schmidt <bernds@codesourcery.com> |
3969 | ||
3970 | * genautomata.c (add_arc): Return void. All callers changed. | |
3971 | (make_automaton): Remove dead code. | |
3972 | ||
7263c6d7 RH |
3973 | 2011-07-11 Richard Henderson <rth@redhat.com> |
3974 | ||
3975 | * dwarf2cfi.c (DW_STACK_POINTER_REGNUM): New. | |
3976 | (DW_FRAME_POINTER_REGNUM): New. | |
3977 | (expand_builtin_init_dwarf_reg_sizes): Use unsigned for rnum. | |
3978 | (def_cfa_1): Do not convert reg to DWARF_FRAME_REGNUM here. | |
3979 | (dwf_regno): New. | |
3980 | (dwarf2out_flush_queued_reg_saves, dwarf2out_frame_debug_def_cfa, | |
3981 | dwarf2out_frame_debug_adjust_cfa, dwarf2out_frame_debug_cfa_register, | |
3982 | dwarf2out_frame_debug_cfa_expression, dwarf2out_frame_debug_expr): | |
3983 | Use it. | |
3984 | * dwarf2out.c (based_loc_descr): Use dwarf_frame_regnum. | |
3985 | * dwarf2out.h (dwarf_frame_regnum): New. | |
3986 | (struct cfa_loc): Document the domain of the reg member. | |
3987 | ||
f9610d20 UB |
3988 | 2011-07-11 Uros Bizjak <ubizjak@gmail.com> |
3989 | ||
3990 | * config/i386/i386.c (ix86_trampoline_init): Switch arms of if expr. | |
3991 | Use offset everywhere. Always assert that offset <= TRAMPOLINE_SIZE. | |
3992 | ||
96ae7458 JJ |
3993 | 2011-07-11 Jakub Jelinek <jakub@redhat.com> |
3994 | ||
3995 | PR debug/49676 | |
3996 | * dwarf2out.c (int_shift_loc_descriptor): New function. | |
3997 | (int_loc_descriptor): If shorter, emit i as | |
3998 | (i >> shift), shift, DW_OP_shl for suitable shift value. | |
3999 | Similarly, try to optimize large negative values using | |
4000 | DW_OP_neg of a positive value if shorter. | |
4001 | (size_of_int_shift_loc_descriptor): New function. | |
4002 | (size_of_int_loc_descriptor): Adjust to match int_loc_descriptor | |
4003 | changes. | |
4004 | (mem_loc_descriptor) <case CONST_INT>: Emit zero-extended constants | |
4005 | that fit into DWARF2_ADDR_SIZE bytes as int_loc_descriptor + | |
4006 | DW_OP_GNU_convert instead of DW_OP_GNU_const_type if the former | |
4007 | is shorter. | |
4008 | (resolve_addr_in_expr): Optimize DW_OP_plus_uconst with a large | |
4009 | addend as added DW_OP_plus if it is shorter. | |
4010 | ||
feffaec4 RO |
4011 | 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4012 | ||
4013 | * config/i386/sol2.h [!USE_GLD] (CTORS_SECTION_ASM_OP): Define. | |
4014 | (DTORS_SECTION_ASM_OP): Define. | |
4015 | ||
2d8d5935 RO |
4016 | 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4017 | ||
4018 | * config/dfp-bit.c, config/dfp-bit.h: Move to ../libgcc. | |
4019 | * config/t-dfprules: Move to ../libgcc/config. | |
4020 | * config.gcc (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu, | |
4021 | i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*, | |
4022 | i[34567]86-*-kopensolaris*-gnu): Remove t-dfprules from tmake_file. | |
4023 | (x86_64-*-linux*, x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): | |
4024 | Likewise. | |
4025 | (i[34567]86-*-cygwin*): Likewise. | |
4026 | (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise. | |
4027 | (powerpc-*-linux*, powerpc64-*-linux*): Likewise. | |
4028 | * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): Remove. | |
4029 | (libgcc.mvars): Remove DFP_ENABLE, DFP_CFLAGS, D32PBIT_FUNCS, | |
4030 | D64PBIT_FUNCS, D128PBIT_FUNCS. | |
4031 | ||
dcc95c20 RG |
4032 | 2011-07-11 Richard Guenther <rguenther@suse.de> |
4033 | ||
4034 | * tree-vrp.c (simplify_conversion_using_ranges): Manually | |
4035 | translate the source value-range through the conversion chain. | |
4036 | ||
28164eed RS |
4037 | 2011-07-11 Richard Sandiford <richard.sandiford@linaro.org> |
4038 | ||
4039 | * expr.c (expand_expr_real_1): Use expand_insn for movmisalign. | |
4040 | ||
f3054223 AL |
4041 | 2011-07-11 Arthur Loiret <aloiret@debian.org> |
4042 | ||
4043 | * config.gcc (s390-*-linux*): If 'enabled_targets' is 'all', build | |
4044 | a bi-arch compiler defaulting to 31-bit. In this case: | |
4045 | (tmake_file): Add s390/t-linux64. | |
4046 | * doc/install.texi: Add s390-linux to the list of targets supporting | |
4047 | --enable-targets=all. | |
4048 | ||
bd5ab709 AL |
4049 | 2011-07-11 Arthur Loiret <aloiret@debian.org> |
4050 | Matthias Klose <doko@debian.org> | |
4051 | ||
4052 | * config.gcc (mips*-*-linux*): If 'enabled_targets' is 'all', build | |
4053 | a tri-arch compiler defaulting to 32-bit (ABI o32). In this case: | |
4054 | (tm_file): Add mips/linux64.h. | |
4055 | (tmake_file): Add mips/t-linux64. | |
4056 | (tm_defines): Add MIPS_ABI_DEFAULT=ABI_32. | |
4057 | * config/mips/linux64.h (DRIVER_SELF_SPECS): Use MULTILIB_ABI_DEFAULT | |
4058 | instead of hardcoded mabi=n32. | |
4059 | * config/mips/t-linux64 (MULTILIB_DIRNAMES): Set to 'n32 . 64' if | |
4060 | tm_defines contains MIPS_ABI_DEFAULT ABI_32, to follow the glibc | |
4061 | convention. | |
4062 | ||
d3b7e946 AK |
4063 | 2011-07-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
4064 | ||
4065 | * passes.c (init_optimization_passes): Add invariant motion pass | |
4066 | after induction variable optimization. | |
4067 | ||
7e4ec472 | 4068 | 2011-07-11 Georg-Johann Lay <avr@gjlay.de> |
f9610d20 | 4069 | |
7e4ec472 GJL |
4070 | PR target/39633 |
4071 | * config/avr/avr.c (notice_update_cc): For ashiftrt:QI, only | |
4072 | offsets 1..5 set cc0 in a usable way. | |
4073 | ||
0e65e631 RG |
4074 | 2011-07-11 Romain Geissler <romain.geissler@gmail.com> |
4075 | ||
4076 | * tree.h (call_expr_arg): Remove. | |
4077 | (call_expr_argp): Likewise. | |
4078 | ||
18970372 EB |
4079 | 2011-07-11 Eric Botcazou <ebotcazou@adacore.com> |
4080 | ||
4081 | * config/sparc/sparc.md (save_register_window_1): Rename to... | |
4082 | (window_save): ...this. | |
4083 | * config/sparc/sparc.c (emit_save_register_window): Rename to... | |
4084 | (emit_window_save): ...this. | |
4085 | (sparc_expand_prologue): Adjust to above renaming. | |
4086 | ||
9e419e38 L |
4087 | 2011-07-10 H.J. Lu <hongjiu.lu@intel.com> |
4088 | ||
4089 | * config/i386/i386.c (ix86_trampoline_init): Use movl instead | |
4090 | of movabs for x32. | |
4091 | ||
3db72de3 RH |
4092 | 2011-07-10 Richard Henderson <rth@redhat.com> |
4093 | ||
4094 | * config/i386/i386.c (x86_output_mi_thunk): Generate rtl and | |
4095 | run final, instead of emitting text directly. | |
4096 | ||
a1f91bca L |
4097 | 2011-07-10 H.J. Lu <hongjiu.lu@intel.com> |
4098 | ||
4099 | * config/i386/i386.c (ix86_option_override_internal): Turn on | |
4100 | OPTION_MASK_ISA_64BIT for TARGET_X32. Only allow small and | |
4101 | small PIC models for TARGET_X32. | |
4102 | ||
a50023f9 HPN |
4103 | 2011-07-10 Hans-Peter Nilsson <hp@axis.com> |
4104 | ||
9a0b29f0 HPN |
4105 | PR target/49684 |
4106 | * config/cris/t-elfmulti (CRTSTUFF_T_CFLAGS): Don't include | |
4107 | $(LIBGCC2_CFLAGS). | |
4108 | ||
a50023f9 HPN |
4109 | PR bootstrap/49680 |
4110 | * config/cris/cris.c (cris_asm_output_case_end): Robustify against | |
4111 | stray notes and debug insns by using prev_nonnote_nondebug_insn | |
4112 | instead of PREV_INSN. | |
4113 | ||
948d330e RH |
4114 | 2011-07-09 Richard Henderson <rth@redhat.com> |
4115 | ||
4116 | * defaults.h (DWARF2_ADDR_SIZE, DWARF_OFFSET_SIZE, | |
4117 | DWARF_TYPE_SIGNATURE_SIZE): Move from ... | |
4118 | * dwarf2out.c: ... here. | |
4119 | (output_all_cfis): Remove. | |
4120 | (dwarf2out_switch_text_section): Use output_cfis directly. | |
4121 | (size_of_locs): Export. | |
4122 | (output_loc_sequence, output_loc_sequence_raw): Export. | |
4123 | (div_data_align, need_data_align_sf_opcode, dwarf_cfi_name, output_cfi, | |
4124 | output_cfi_directive, dwarf2out_emit_cfi, output_cfis, output_cfa_loc, | |
4125 | output_cfa_loc_raw): Move to ... | |
4126 | * dwarfcfi.c: ... here. | |
4127 | * dwarf2out.h: Update decls. | |
4128 | ||
db42e39d RH |
4129 | 2011-07-09 Richard Henderson <rth@redhat.com> |
4130 | ||
4131 | * defaults.h (DWARF_CIE_DATA_ALIGNMENT, DWARF_FRAME_RETURN_COLUMN, | |
4132 | DWARF_FRAME_REGNUM, DWARF2_FRAME_REG_OUT): Move from ... | |
4133 | * dwarf2cfi.c: ... here. | |
4134 | (PTR_SIZE, DWARF_OFFSET_SIZE, DWARF_INITIAL_LENGTH_SIZE): Remove. | |
4135 | (DWARF_ROUND, DWARF_CIE_ID): Remove. | |
4136 | * dwarf2out.c (INCOMING_RETURN_ADDR_RTX): Remove. | |
4137 | (DWARF2_FRAME_REG_OUT, DWARF_CIE_DATA_ALIGNMENT): Remove. | |
4138 | (DWARF_FRAME_RETURN_COLUMN, DWARF_FRAME_REGNUM): Remove. | |
4139 | ||
a8e5c0e7 RH |
4140 | 2011-07-09 Richard Henderson <rth@redhat.com> |
4141 | ||
4142 | * dwarf2cfi.c (cie_return_save): New. | |
4143 | (queue_reg_save): Use compare_reg_or_pc. | |
4144 | (dwarf2out_flush_queued_reg_saves): Handle pc_rtx as return column. | |
4145 | (dwarf2out_frame_debug_expr): Likewise. | |
4146 | (dwarf2out_frame_debug_cfa_register): Record saved reg for pc too. | |
4147 | (initial_return_save): Likewise. | |
4148 | (execute_dwarf2_frame): Save and restore initial return save from | |
4149 | the cie to the fde. | |
4150 | * config/mips/mips.c (mips_frame_set): Remove special case for | |
4151 | DWARF_FRAME_RETURN_COLUMN. | |
4152 | ||
4a8ee122 RH |
4153 | 2011-07-09 Richard Henderson <rth@redhat.com> |
4154 | ||
4155 | * dwarf2cfi.c (lookup_cfa): Remove. | |
4156 | (execute_dwarf2_frame): Assert queues are empty on entry. | |
4157 | Setup initial cfa directly, not via lookup_cfa. | |
4158 | Don't clear args_size state here. | |
4159 | ||
3edb53aa RH |
4160 | 2011-07-09 Richard Henderson <rth@redhat.com> |
4161 | ||
4162 | * dwarf2cfi.c (add_cfi_vec): New. | |
4163 | (add_cfi): Rename from add_fde_cfi. Add the element to add_cfi_vec. | |
4164 | (def_cfa_1, reg_save): Remove for_cie argument. Update all callers. | |
4165 | (execute_dwarf2_frame): Set add_cfi_vec. | |
4166 | ||
ded49a7f RH |
4167 | 2011-07-09 Richard Henderson <rth@redhat.com> |
4168 | ||
4169 | * defaults.h (ASM_COMMENT_START): Move here... | |
4170 | * dwarf2asm.c: ... from here. | |
4171 | * dwarf2out.c, final.c, vmsdbgout.c: Remove duplicates. | |
4172 | * toplev.c: Remove ifndef tests of ASM_COMMENT_START. | |
4173 | * varasm.c: Likewise. | |
4174 | ||
45fba6d1 RH |
4175 | 2011-07-09 Richard Henderson <rth@redhat.com> |
4176 | ||
4177 | PR debug/49686 | |
4178 | * dwarf2cfi.c (dwarf2out_frame_debug): Don't set cfi_insn here... | |
4179 | (create_cfi_notes): ... do it here instead. | |
4180 | ||
5b696ba2 JJ |
4181 | 2011-07-09 Jakub Jelinek <jakub@redhat.com> |
4182 | ||
4183 | PR debug/49676 | |
4184 | * dwarf2out.c (size_of_int_loc_descriptor): New function. | |
4185 | (address_of_int_loc_descriptor): Use it. | |
f9610d20 | 4186 | (scompare_loc_descriptor): Optimize EQ/NE comparison with constant. |
5b696ba2 | 4187 | |
8662b2ba RH |
4188 | 2011-07-09 Richard Henderson <rth@redhat.com> |
4189 | ||
4190 | * config/pdp11/pdp11.md (define_c_enum "unspecv"): New. | |
4191 | (prologue, epilogue): New. | |
4192 | (return, *rts): New. | |
4193 | (blockage, setd, seti): New. | |
4194 | * config/pdp11/pdp11.c (TARGET_ASM_FUNCTION_PROLOGUE): Remove. | |
4195 | (TARGET_ASM_FUNCTION_EPILOGUE): Remove. | |
4196 | (pdp11_saved_regno): New. | |
4197 | (pdp11_expand_prologue): Rename from pdp11_output_function_prologue; | |
4198 | generate rtl instead of text. | |
4199 | (pdp11_expand_epilogue): Similarly from pdp11_output_function_epilogue. | |
4200 | (pdp11_sp_frame_offset): Export. Use pdp11_saved_regno. | |
4201 | * config/pdp11/pdp11-protos.h: Update. | |
4202 | ||
28b21ebb RH |
4203 | 2011-07-09 Richard Henderson <rth@redhat.com> |
4204 | ||
4205 | * config/rs6000/rs6000.c (rs6000_output_function_prologue): Don't | |
4206 | try to insert an rtl prologue here. | |
4207 | (rs6000_output_function_epilogue): Similarly. | |
4208 | * config/rs6000/rs6000.md (prologue): Emit a barrier to | |
4209 | satisfy !TARGET_SCHED_PROLOG. | |
4210 | (epilogue, sibcall_epilogue): Likewise. | |
4211 | ||
0a222ba7 EB |
4212 | 2011-07-09 Eric Botcazou <ebotcazou@adacore.com> |
4213 | ||
4214 | * config/sparc/sparc.h (STACK_SAVEAREA_MODE): Move around. | |
4215 | (FP_REG_P): Delete. | |
4216 | (IN_OR_GLOBAL_P): Likewise. | |
4217 | ||
2fda8e14 JM |
4218 | 2011-07-08 Jason Merrill <jason@redhat.com> |
4219 | ||
4063e61b JM |
4220 | PR c++/45437 |
4221 | * gimplify.c (goa_stabilize_expr): Handle RHS preevaluation in | |
4222 | compound assignment. | |
4223 | ||
2fda8e14 JM |
4224 | * cgraph.c (cgraph_add_to_same_comdat_group): New. |
4225 | * cgraph.h: Declare it. | |
4226 | * ipa.c (function_and_variable_visibility): Make sure thunks | |
4227 | have the right visibility. | |
4228 | ||
830f11fe RH |
4229 | 2011-07-08 Richard Henderson <rth@redhat.com> |
4230 | ||
4231 | PR bootstrap/49680 | |
4232 | * dwarf2cfi.c (dwarf2out_frame_debug): Insert cfi notes after | |
4233 | any tablejump vector. | |
4234 | ||
965b2557 RH |
4235 | PR bootstrap/49680 |
4236 | * dwarf2cfi.c (create_cfi_notes): Flush queued saves at the | |
4237 | end of the prologue. | |
4238 | ||
70db9095 JJ |
4239 | 2011-07-08 Jakub Jelinek <jakub@redhat.com> |
4240 | ||
4241 | PR target/49621 | |
4242 | * config/rs6000/rs6000.c (rs6000_emit_vector_cond_expr): Use | |
f9610d20 | 4243 | CONST0_RTX (dest_mode) instead of const0_rtx as second operand of NE. |
70db9095 JJ |
4244 | * config/rs6000/vector.md (vector_select_<mode>, |
4245 | vector_select_<mode>_uns): Change second operand of NE to | |
4246 | CONST0_RTX (<MODE>mode) instead of const0_rtx. | |
4247 | * config/rs6000/altivec.md (*altivec_vsel<mode>, | |
4248 | *altivec_vsel<mode>_uns): Expect second operand of NE to be | |
4249 | zero_constant of the corresponding vector mode. | |
4250 | * config/rs6000/vsx.md (*vsx_xxsel<mode>, *vsx_xxsel<mode>_uns): | |
4251 | Likewise. | |
4252 | ||
e92c5020 SP |
4253 | 2011-07-08 Sebastian Pop <sebastian.pop@amd.com> |
4254 | ||
4255 | * graphite-dependences.c (build_alias_set_powerset): Remove | |
4256 | continue from loop, add one more assert. | |
4257 | ||
3e4f8484 | 4258 | 2011-07-08 Georg-Johann Lay <avr@gjlay.de> |
f9610d20 | 4259 | |
3e4f8484 GJL |
4260 | PR target/46779 |
4261 | * config/avr/avr.c (avr_hard_regno_mode_ok): Rewrite. | |
4262 | In particular, allow 8-bit values in r28 and r29. | |
4263 | (avr_hard_regno_scratch_ok): Disallow any register that might be | |
4264 | part of the frame pointer. | |
4265 | (avr_hard_regno_rename_ok): Same. | |
4266 | (avr_legitimate_address_p): Don't allow SUBREGs. | |
4267 | ||
0094f21b JB |
4268 | 2011-07-08 Julian Brown <julian@codesourcery.com> |
4269 | ||
4270 | * config/arm/neon.md (vec_shr_<mode>, vec_shl_<mode>): Disable in | |
4271 | big-endian mode. | |
4272 | (reduc_splus_<mode>, reduc_uplus_<mode>, reduc_smin_<mode>) | |
4273 | (reduc_smax_<mode>, reduc_umin_<mode>, reduc_umax_<mode>) | |
4274 | (neon_vec_unpack<US>_lo_<mode>, neon_vec_unpack<US>_hi_<mode>) | |
4275 | (vec_unpack<US>_hi_<mode>, vec_unpack<US>_lo_<mode>) | |
4276 | (neon_vec_<US>mult_lo_<mode>, vec_widen_<US>mult_lo_<mode>) | |
4277 | (neon_vec_<US>mult_hi_<mode>, vec_widen_<US>mult_hi_<mode>) | |
4278 | (vec_pack_trunc_<mode>, neon_vec_pack_trunc_<mode>): Disable for Q | |
4279 | registers in big-endian mode. | |
4280 | ||
9ae60101 BS |
4281 | 2011-07-08 Bernd Schmidt <bernds@codesourcery.com> |
4282 | ||
4283 | * genattrtab.c (evaluate_eq_attr): Allow an attribute to be defined | |
4284 | in terms of another. | |
4285 | (write_attr_value): Write a cast if necessary. | |
4286 | ||
c0a6a1ef BS |
4287 | * defaults.h (REG_WORDS_BIG_ENDIAN): Provide a default. |
4288 | * doc/tm.texi.in (WORDS_BIG_ENDIAN): Mention REG_WORDS_BIG_ENDIAN. | |
4289 | (REG_WORDS_BIG_ENDIAN): Document. | |
4290 | * doc/tm.texi: Regenerate. | |
4291 | * reload.c (operands_match_p): Take it into account. | |
4292 | (reload_adjust_reg_for_mode): Likewise. | |
4293 | * rtlanal.c (subreg_get_info): Likewise. | |
4294 | ||
b862187a RG |
4295 | 2011-07-08 Richard Guenther <rguenther@suse.de> |
4296 | ||
4297 | * fold-const.c (fold_binary_loc): Remove index +p PTR -> PTR +p index | |
4298 | folding. | |
4299 | ||
e8e8c74b KT |
4300 | 2011-07-08 Kai Tietz <ktietz@redhat.com> |
4301 | ||
4302 | * fold-const.c (fold_truth_andor): Factored out truth_andor | |
4303 | label from fold_binary as function. | |
4304 | (fold_binary_loc): Replace truth_andor lable | |
4305 | by function fold_truth_andor. | |
4306 | ||
6c3cb698 KY |
4307 | 2011-07-08 Kirill Yukhin <kirill.yukhin@intel.com> |
4308 | ||
4309 | PR middle-end/49519 | |
4310 | * calls.c (mem_overlaps_already_clobbered_arg_p): Additional | |
4311 | check if address is stored in register. If so - give up. | |
4312 | (check_sibcall_argument_overlap_1): Do not perform check of | |
4313 | overlapping when it is call to address. | |
4314 | ||
7d8d6d73 | 4315 | 2011-07-08 Georg-Johann Lay <avr@gjlay.de> |
9ae60101 | 4316 | |
7d8d6d73 GJL |
4317 | * config/avr/avr.c (output_reload_insisf): Use 'REG_Z+1' instead |
4318 | of magic '31'. | |
4319 | ||
69660a70 BS |
4320 | 2011-07-08 Bernd Schmidt <bernds@codesourcery.com> |
4321 | ||
4322 | * optabs.c (expand_binop): Use GET_MODE_PRECISION instead of | |
4323 | GET_MODE_BITSIZE where appropriate. | |
4324 | (widen_leading, expand_parity, expand_ctz, expand_ffs, | |
4325 | expand_unop, expand_abs_nojump, expand_one_cmpl_abs_nojump, | |
4326 | expand_float, expand_fix): Likewise. | |
4327 | * expr.c (convert_move, convert_modes, expand_expr_real_2, | |
4328 | expand_expr_real_1, reduce_to_bit_field_precision): Likewise. | |
4329 | * stor-layout.c (get_mode_bounds): Likewise. | |
4330 | * cfgexpand.c (convert_debug_memory_address, expand_debug_expr): | |
4331 | Likewise. | |
4332 | * convert.c (convert_to_integer): Likewise. | |
4333 | * expmed.c (expand_shift_1): Likewise. | |
4334 | ||
86cdf393 BS |
4335 | * rtlanal.c (nonzero_bits1): Don't compare GET_MODE_SIZE against |
4336 | a bitsize. | |
4337 | ||
0d44736e BS |
4338 | * optabs.c (expand_binop): Tighten conditions for doubleword |
4339 | expansions. | |
f9610d20 | 4340 | (widen_bswap): Assert that mode bitsize and precision are the same. |
0d44736e BS |
4341 | * stor-layout.c (get_best_mode): Skip modes that have lower |
4342 | precision than bitsize. | |
4343 | * recog.c (simplify_while_replacing): Assert that bitsize and | |
4344 | precision are the same. | |
4345 | ||
2c50b2c3 RO |
4346 | 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4347 | ||
4348 | * Makefile.in (LIBGCOV): Remove. | |
4349 | (libgcc.mvars): Remove LIBGCOV. | |
4350 | * libgov.c: Move to ../libgcc. | |
4351 | ||
a039d7c2 RO |
4352 | 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4353 | ||
4354 | * config/fixed-bit.c, config/fixed-bit.h: Move to ../libgcc. | |
4355 | ||
e923ef41 MJ |
4356 | 2011-07-08 Martin Jambor <mjambor@suse.cz> |
4357 | ||
4358 | * tree-sra.c (analyze_all_variable_accesses): Dump that a struture | |
4359 | is too big for total scalarization. | |
4360 | ||
b709e189 RH |
4361 | 2011-07-07 Richard Henderson <rth@redhat.com> |
4362 | ||
4363 | * config/alpha/elf.h (MIPS_DEBUGGING_INFO): Undef. | |
4364 | (DBX_DEBUGGING_INFO): Undef. | |
4365 | ||
2867fa7c RH |
4366 | 2011-07-07 Richard Henderson <rth@redhat.com> |
4367 | ||
4368 | * dwarf2out.c (output_cfi_directive): Export. Add FILE parameter. | |
4369 | Handle some opcodes specially for debugging. | |
4370 | * print-rtl.c: Include dwarf2out.h | |
4371 | (print_rtx): Handle NOTE_INSN_CFI. | |
4372 | * Makefile.in (print-rtl.o): Update. | |
4373 | ||
7644b3c7 RH |
4374 | 2011-07-07 Richard Henderson <rth@redhat.com> |
4375 | ||
4376 | * tree-pass.h (pass_dwarf2_frame): Declare. | |
4377 | * passes.c (init_optimization_passes): Add it. | |
4378 | * dwarf2cfi.c (dwarf2out_frame_debug): Make static. | |
4379 | (create_cfi_notes): Rename from dwarf2out_frame_debug_after_prologue; | |
4380 | make static, do not call add_cfis_to_fde. | |
4381 | (dwarf2out_frame_debug_init, dwarf2cfi_function_init, | |
4382 | dwarf2out_frame_init): Merge into... | |
4383 | (execute_dwarf2_frame): ... here. New function. | |
4384 | (dwarf2out_do_frame, dwarf2out_do_cfi_asm): Make boolean. Change | |
4385 | saved_do_cfi_asm to a tri-state variable. | |
4386 | (gate_dwarf2_frame, pass_dwarf2_frame): New. | |
4387 | * dwarf2out.c (dwarf2out_begin_prologue): Only allocate the fde | |
4388 | if it has yet to be done. Don't call dwarf2cfi_function_init. | |
4389 | * dwarf2out.h, debug.h: Update decls. | |
4390 | * final.c (final_start_function): Don't call | |
4391 | dwarf2out_frame_debug_init or dwarf2out_frame_debug_after_prologue. | |
4392 | * lto-streamer-in.c (lto_init_eh): Don't call dwarf2out_frame_init. | |
4393 | * toplev.c (lang_dependent_init): Likewise. | |
4394 | ||
a518b996 RH |
4395 | 2011-07-07 Richard Henderson <rth@redhat.com> |
4396 | ||
4397 | * dwarf2out.c (fde_table, fde_table_allocated, fde_table_in_use, | |
4398 | FDE_TABLE_INCREMENT): Replace with... | |
4399 | (fde_vec): ... this, a new vector. | |
4400 | (current_fde): Remove. Replace all users with cfun->fde. | |
4401 | (output_call_frame_info): Use FOR_EACH_VEC_ELT over fde_vec. | |
4402 | (size_of_aranges, dwarf2out_finish): Likewise. | |
4403 | (dwarf2out_alloc_current_fde): Break out from ... | |
4404 | (dwarf2out_begin_prologue): ... here. | |
4405 | (dwarf2out_frame_init): Remove. | |
4406 | * dwarf2cfi.c: Update all users of current_fde. | |
4407 | (dwarf2out_frame_init): Rename from dwarf2cfi_frame_init. | |
4408 | * dwarf2out.h: Update decls. | |
4409 | (dw_fde_node): Add fde_index member. | |
4410 | * function.h (struct function): Add fde member. | |
4411 | ||
89e25f95 BS |
4412 | 2011-07-07 Bernd Schmidt <bernds@codesourcery.com> |
4413 | Richard Henderson <rth@redhat.com> | |
4414 | ||
4415 | * dwarf2cfi.c (add_cfi): Remove. | |
4416 | (dwarf2out_cfi_label): Remove force argument. Only generate the | |
4417 | label name. | |
4418 | (add_fde_cfi): Simplify the different code paths. | |
4419 | (add_cie_cfi): New. | |
4420 | (old_cfa, old_cfa_remember): New. | |
4421 | (def_cfa_1, reg_save): Remove label, add for_cie parameter. | |
4422 | (last_reg_save_label): Remove. | |
4423 | (dwarf2out_args_size, dwarf2out_stack_adjust, queue_reg_save, | |
4424 | dwarf2out_frame_debug_def_cfa, dwarf2out_frame_debug_adjust_cfa, | |
4425 | dwarf2out_frame_debug_cfa_offset, dwarf2out_frame_debug_cfa_register, | |
4426 | dwarf2out_frame_debug_cfa_expression, | |
4427 | dwarf2out_frame_debug_cfa_restore, | |
4428 | dwarf2out_frame_debug_cfa_window_save, | |
4429 | dwarf2out_frame_debug_expr): Remove label parameter. | |
4430 | (cfi_label_required_p, add_cfis_to_fde): New. | |
4431 | (dwarf2out_frame_debug_after_prologue): New. | |
4432 | (dwarf2cfi_frame_init): Initialize old_cfa. | |
4433 | (dwarf2out_frame_debug_restore_state): Likewise. | |
4434 | * dwarf2out.c (dwarf2out_emit_cfi): Only do output for cfi_asm. | |
4435 | (dwarf2out_switch_text_section): Don't clear dw_fde_current_label here. | |
4436 | * final.c (final_start_function): Call | |
4437 | dwarf2out_frame_debug_after_prologue. | |
4438 | ||
bc5612ed BS |
4439 | 2011-07-07 Bernd Schmidt <bernds@codesourcery.com> |
4440 | Richard Henderson <rth@redhat.com> | |
4441 | ||
4442 | * dwarf2cfi.c (cfi_insn): New. | |
4443 | (dwarf2out_cfi_label): Don't emit cfi label here. | |
4444 | (add_fde_cfi): Create a NOTE_INSN_CFI. | |
4445 | (dwarf2out_frame_debug): Setup cfi_insn. | |
4446 | (dwarf2out_frame_debug_init): Loop over insns creating CFI notes. | |
4447 | (dwarf2out_cfi_begin_epilogue): Make static. | |
4448 | (dwarf2out_frame_debug_restore_state): Make static. | |
4449 | * dwarf2out.c (output_cfi_directive): Make static. | |
4450 | (dwarf2out_emit_cfi): New. | |
4451 | * dwarf2out.h: Update. | |
4452 | * final.c (final): Remove CFI notes. | |
4453 | (final_scan_insn): Don't call dwarf2out_cfi_begin_epilogue, | |
4454 | dwarf2out_frame_debug_restore_state, dwarf2out_frame_debug. | |
4455 | Handle NOTE_INSN_CFI and NOTE_INSN_CFI_LABEL. | |
4456 | * insn-notes.def (NOTE_INSN_CFI): New. | |
4457 | (NOTE_INSN_CFI_LABEL): New. | |
4458 | * rtl.h (union rtunion_def): Add rt_cfi member. | |
4459 | (XCFI, XCCFI, NOTE_CFI, NOTE_LABEL_NUMBER): New. | |
4460 | ||
647a1567 RH |
4461 | 2011-07-07 Richard Henderson <rth@redhat.com> |
4462 | ||
4463 | * dwarf2cfi.c: New file. | |
4464 | * Makefile.in (OBJS): Add it. | |
4465 | (GTFILES): Add dwarf2cfi.c and dwarf2out.h. | |
4466 | * gengtype.c (open_base_files): Include dwarf2out.h. | |
4467 | * coretypes.h (enum var_init_status): Move from ... | |
4468 | * rtl.h: ... here. | |
4469 | * dwarf2out.c (saved_do_cfi_asm, dwarf2out_do_frame, | |
4470 | dwarf2out_do_cfi_asm, cie_cfi_vec, dwarf2out_cfi_label_num, | |
4471 | expand_builtin_dwarf_sp_column, init_return_column_size, | |
4472 | expand_builtin_init_dwarf_reg_sizes, new_cfi, add_cfi, | |
4473 | dwarf2out_cfi_label, emit_cfa_remember, any_cfis_emitted, add_fde_cfi, | |
4474 | lookup_cfa_1, lookup_cfa, cfa, cfa_store, cfa_remember, args_size, | |
4475 | old_args_size, cfa_equal_p, def_cfa_1, reg_save, initial_return_save, | |
4476 | stack_adjust_offset, barrier_args_size, compute_barrier_args_size_1, | |
4477 | compute_barrier_args_size, dwarf2out_args_size, | |
4478 | dwarf2out_stack_adjust, dwarf2out_notice_stack_adjust, | |
4479 | queued_reg_saves, reg_saved_in_data, regs_saved_in_regs, | |
4480 | compare_reg_or_pc, record_reg_saved_in_reg, last_reg_save_label, | |
4481 | queue_reg_save, dwarf2out_flush_queued_reg_saves, | |
4482 | clobbers_queued_reg_save, reg_saved_in, cfa_temp, | |
4483 | dwarf2out_frame_debug_def_cfa, dwarf2out_frame_debug_adjust_cfa, | |
4484 | dwarf2out_frame_debug_cfa_offset, dwarf2out_frame_debug_cfa_register, | |
4485 | dwarf2out_frame_debug_cfa_expression, | |
4486 | dwarf2out_frame_debug_cfa_restore, | |
4487 | dwarf2out_frame_debug_cfa_window_save, dwarf2out_frame_debug_expr, | |
4488 | dwarf2out_frame_debug, dwarf2out_frame_debug_init, | |
4489 | dwarf2out_cfi_begin_epilogue, dwarf2out_frame_debug_restore_state, | |
4490 | get_cfa_from_loc_descr): Move to dwarf2cfi.c. | |
4491 | (dw_cfi_ref, dw_fde_ref, dw_cfi_oprnd_ref, enum dw_cfi_oprnd_type, | |
4492 | dw_cfi_oprnd, dw_cfi_node, cfi_vec, dw_cfa_location, dw_fde_node, | |
4493 | dw_val_ref, dw_die_ref, const_dw_die_ref, dw_loc_descr_ref, | |
4494 | dw_loc_list_ref, enum dw_val_class, dw_vec_const, dw_val_node, | |
4495 | dw_loc_descr_node): Move to dwarf2out.h. | |
4496 | (current_fde, output_cfi_directive, build_cfa_loc, get_address_mode, | |
4497 | mem_loc_descriptor): Export. | |
4498 | (build_cfa_aligned_loc): Export. Take CFA as a parameter. | |
4499 | (dwarf2out_frame_init): Extract CIE generation code to | |
4500 | dwarf2cfi_frame_init. | |
4501 | ||
b286d9ed EB |
4502 | 2011-07-07 Eric Botcazou <ebotcazou@adacore.com> |
4503 | ||
4504 | PR target/49660 | |
4505 | * config/sparc/sol2.h [TARGET_64BIT_DEFAULT] (TARGET_DEFAULT): Add | |
4506 | MASK_V8PLUS, remove commented out flag and reorder. | |
4507 | ||
c4603e7c JJ |
4508 | 2011-07-07 Jakub Jelinek <jakub@redhat.com> |
4509 | ||
4510 | PR c/49644 | |
4511 | * c-typeck.c (build_binary_op): For MULT_EXPR and TRUNC_DIV_EXPR with | |
4512 | one non-complex and one complex argument, call c_save_expr on both | |
4513 | operands. | |
4514 | ||
81361831 MJ |
4515 | 2011-07-07 Martin Jambor <mjambor@suse.cz> |
4516 | ||
4517 | PR middle-end/49495 | |
4518 | * cgraphunit.c (verify_edge_corresponds_to_fndecl): New function. | |
4519 | (verify_cgraph_node): Some functinality moved to | |
4520 | verify_edge_corresponds_to_fndecl, call it. | |
4521 | ||
1e4b2746 JM |
4522 | 2011-07-07 Joseph Myers <joseph@codesourcery.com> |
4523 | ||
4524 | * config.gcc (*local*): Remove. | |
4525 | * doc/install-old.texi: Don't mention local configurations. | |
4526 | ||
d7ff1e11 JJ |
4527 | 2011-07-07 Jakub Jelinek <jakub@redhat.com> |
4528 | ||
4529 | PR debug/49522 | |
4530 | * df-problems.c (dead_debug_reset): Remove dead_debug_uses | |
4531 | referencing debug insns that have been reset. | |
4532 | (dead_debug_insert_before): Don't assert reg is non-NULL, | |
4533 | instead return immediately if it is NULL. | |
4534 | ||
2492731a JM |
4535 | 2011-07-07 Joseph Myers <joseph@codesourcery.com> |
4536 | ||
f9610d20 | 4537 | * config/i386/t-crtpic, config/i386/t-svr3dbx, config/pa/t-pa: Remove. |
2492731a | 4538 | |
9d9c740d BS |
4539 | 2011-07-07 Bernd Schmidt <bernds@codesourcery.com> |
4540 | ||
4541 | * hw-doloop.c: New file. | |
4542 | * hw-doloop.h: New file. | |
4543 | * Makefile.in (OBJS): Add hw-doloop.o. | |
4544 | (hw-doloop.o): New rule. | |
4545 | ($(obj_out_file)): Add hw-doloop.h dependency. | |
4546 | * config/bfin/bfin.c: Include "hw-doloop.h". | |
4547 | (loop_info, DEF_VEC_P for loop_info, loop_info_d): Remove. | |
4548 | (bfin_dump_loops, bfin_bb_in_loop, bfin_scan_loop): Remove. | |
4549 | (hwloop_optimize): Renamed from bfin_optimize_loop. Argument | |
4550 | type changed to hwloop_info. Return bool, true if the loop was | |
4551 | successfully optimized. Remove code that was moved to | |
4552 | hw-doloop.c, and adjust other parts. | |
4553 | (hwloop_fail): New static function, containing parts that used | |
4554 | to be in bfin_optimize_loop. | |
4555 | (bfin_discover_loop, bfin_discover_loops, free_loops, | |
4556 | bfin_reorder_loops): Remove. | |
4557 | (hwloop_pattern_reg): New static function. | |
4558 | (bfin_doloop_hooks): New variable. | |
4559 | (bfin_reorg_loops): Remove most code, call reorg_loops. | |
4560 | * config/bfin/bfin.md (doloop_end splitter): Also enable if | |
4561 | loop counter is a memory_operand. | |
4562 | ||
f0ea7581 L |
4563 | 2011-07-07 H.J. Lu <hongjiu.lu@intel.com> |
4564 | ||
f9610d20 | 4565 | * config.gcc: Support --with-multilib-list for x86 Linux targets. |
f0ea7581 L |
4566 | |
4567 | * configure.ac: Mention x86-64 for --with-multilib-list. | |
4568 | * configure: Regenerated. | |
4569 | ||
4570 | * config/i386/gnu-user64.h (SPEC_64): Support x32. | |
4571 | (SPEC_32): Likewise. | |
4572 | (ASM_SPEC): Likewise. | |
4573 | (LINK_SPEC): Likewise. | |
4574 | (TARGET_THREAD_SSP_OFFSET): Likewise. | |
4575 | (TARGET_THREAD_SPLIT_STACK_OFFSET): Likewise. | |
4576 | (SPEC_X32): New. | |
4577 | ||
4578 | * config/i386/i386.h (TARGET_X32): New. | |
4579 | (TARGET_LP64): New. | |
4580 | (LONG_TYPE_SIZE): Likewise. | |
4581 | (POINTER_SIZE): Likewise. | |
4582 | (POINTERS_EXTEND_UNSIGNED): Likewise. | |
4583 | (OPT_ARCH64): Support x32. | |
4584 | (OPT_ARCH32): Likewise. | |
4585 | ||
4586 | * config/i386/i386.opt (mx32): New. | |
4587 | ||
4588 | * config/i386/kfreebsd-gnu64.h (GNU_USER_LINK_EMULATIONX32): New. | |
4589 | (GLIBC_DYNAMIC_LINKERX32): Likewise. | |
4590 | * config/i386/linux64.h (GNU_USER_LINK_EMULATIONX32): Likewise. | |
4591 | (GLIBC_DYNAMIC_LINKERX32): Likewise. | |
4592 | ||
4593 | * config/linux.h (UCLIBC_DYNAMIC_LINKERX32): New. | |
4594 | (BIONIC_DYNAMIC_LINKERX32): Likewise. | |
4595 | (GNU_USER_DYNAMIC_LINKERX32): Likewise. | |
4596 | ||
4597 | * config/i386/t-linux64: Support TM_MULTILIB_CONFIG. | |
4598 | ||
f9610d20 | 4599 | * doc/install.texi: Document --with-multilib-list for Linux/x86-64. |
f0ea7581 L |
4600 | |
4601 | * doc/invoke.texi: Document -mx32. | |
4602 | ||
38460025 RS |
4603 | 2011-07-07 Richard Sandiford <richard.sandiford@linaro.org> |
4604 | ||
4605 | * doc/invoke.texi (mwords-little-endian): Deprecate. | |
4606 | * config/arm/arm.opt (mwords-little-endian): Likewise. | |
4607 | * config/arm/arm.c (arm_option_override): Warn about the deprecation | |
4608 | of -mwords-little-endian. | |
4609 | ||
3f125532 RS |
4610 | 2011-07-07 Richard Sandiford <richard.sandiford@linaro.org> |
4611 | ||
4612 | * reload1.c (choose_reload_regs): Use mode sizes to check whether | |
4613 | an old reload register completely defines the required value. | |
4614 | ||
bbc210ab RG |
4615 | 2011-07-07 Richard Guenther <rguenther@suse.de> |
4616 | ||
4617 | * fold-const.c (fold_unary_loc): Do not strip sign-changes | |
4618 | for NEGATE_EXPR. | |
4619 | ||
29c5134a RG |
4620 | 2011-07-07 Richard Guenther <rguenther@suse.de> |
4621 | ||
4622 | * tree-vrp.c (simplify_conversion_using_ranges): New function. | |
4623 | (simplify_stmt_using_ranges): Call it. | |
4624 | ||
0816a42a KT |
4625 | 2011-07-07 Kai Tietz <ktietz@redhat.com> |
4626 | ||
4627 | * tree-ssa-forwprop.c (truth_valued_ssa_name): New function. | |
4628 | (lookup_logical_inverted_value): Likewise. | |
4629 | (simplify_bitwise_binary_1): Likewise. | |
4630 | (simplify_bitwise_binary): Use simplify_bitwise_binary_1. | |
4631 | ||
3ce9f090 JM |
4632 | 2011-07-07 Joseph Myers <joseph@codesourcery.com> |
4633 | ||
4634 | * gcc.c (%[Spec]): Don't document. | |
4635 | (struct spec_list): Update comment. | |
4636 | (do_spec_1): Don't handle %[Spec]. | |
4637 | * doc/invoke.texi (%[@var{name}]): Remove documentation of spec. | |
4638 | ||
41dfca87 JM |
4639 | 2011-07-07 Joseph Myers <joseph@codesourcery.com> |
4640 | ||
4641 | * common/common-target-def.h (TARGET_HAVE_NAMED_SECTIONS): Don't | |
4642 | default based on TARGET_ASM_NAMED_SECTION. | |
4643 | * common/common-target.def (have_named_sections): Default to true. | |
4644 | * common/config/default-common.c: Don't include tm.h. | |
4645 | * common/config/picochip/picochip-common.c | |
4646 | (TARGET_HAVE_NAMED_SECTIONS): Don't define. | |
4647 | * common/config/m32c/m32c-common.c: Remove. | |
4648 | * config.gcc (m32c*-*-*): Set target_has_targetm_common=no. | |
f9610d20 UB |
4649 | * config/alpha/osf5.h (TARGET_HAVE_NAMED_SECTIONS): Define to false. |
4650 | * config/i386/openbsd.h (TARGET_HAVE_NAMED_SECTIONS): Define to false. | |
4651 | * config/m68k/openbsd.h (TARGET_HAVE_NAMED_SECTIONS): Define to false. | |
41dfca87 | 4652 | * config/pa/som.h (TARGET_HAVE_NAMED_SECTIONS): Define to false. |
f9610d20 UB |
4653 | * config/pdp11/pdp11.h (TARGET_HAVE_NAMED_SECTIONS): Define to false. |
4654 | * config/vax/openbsd.h (TARGET_HAVE_NAMED_SECTIONS): Define to false. | |
41dfca87 | 4655 | |
19c44640 JJ |
4656 | 2011-07-07 Jakub Jelinek <jakub@redhat.com> |
4657 | ||
4658 | PR middle-end/49640 | |
f9610d20 UB |
4659 | * gimplify.c (gimplify_compound_lval): For last 2 ARRAY_*REF operands |
4660 | and last COMPONENT_REF operand call gimplify_expr on it if non-NULL. | |
19c44640 | 4661 | |
891a2e42 RO |
4662 | 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4663 | ||
4664 | PR libmudflap/49550 | |
4665 | * gcc.c (MFWRAP_SPEC): Also wrap mmap64. | |
4666 | ||
fbdd5d87 RO |
4667 | 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4668 | ||
4669 | PR target/39150 | |
4670 | * configure.ac (gcc_cv_as_hidden): Also accept | |
4671 | x86_64-*-solaris2.1[0-9]*. | |
4672 | (gcc_cv_as_cfi_directive): Likewise. | |
4673 | (gcc_cv_as_comdat_group_group): Likewise. | |
4674 | (set_have_as_tls): Likewise. | |
4675 | * configure: Regenerate. | |
4676 | * config.gcc (i[34567]86-*-solaris2*): Also handle | |
4677 | x86_64-*-solaris2.1[0-9]*. | |
4678 | * config.host (i[34567]86-*-solaris2*): Likewise. | |
4679 | * config/sparc/sol2.h (ASM_CPU_DEFAULT_SPEC): Remove. | |
4680 | * config/sol2-bi.h (ASM_CPU_DEFAULT_SPEC): Redefine. | |
4681 | [USE_GLD] (ARCH_DEFAULT_EMULATION): Define. | |
4682 | (TARGET_LD_EMULATION): Use it. | |
4683 | * config/i386/sol2.h (ASM_CPU_DEFAULT_SPEC): Define. | |
4684 | (SUBTARGET_CPU_EXTRA_SPECS): Add asm_cpu_default. | |
4685 | * config/i386/sol2-bi.h (ASM_CPU32_DEFAULT_SPEC): Define. | |
4686 | (ASM_CPU64_DEFAULT_SPEC): Define. | |
4687 | (ASM_CPU_SPEC): Use %(asm_cpu_default). | |
4688 | (ASM_SPEC): Redefine. | |
4689 | (DEFAULT_ARCH32_P): Define using TARGET_64BIT_DEFAULT. | |
4690 | * config/host-solaris.c [__x86_64__] (TRY_EMPTY_VM_SPACE): Reduce. | |
f9610d20 | 4691 | * doc/install.texi (Specific, amd64-*-solaris2.1[0-9]*): Document. |
fbdd5d87 RO |
4692 | (Specific, i?86-*-solaris2.10): Mention x86_64-*-solaris2.1[0-9]* |
4693 | configuration. | |
4694 | (Specific, x86_64-*-solaris2.1[0-9]*): Document. | |
4695 | ||
fcf7471a RO |
4696 | 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4697 | ||
4698 | * config/sol2.h (ASM_SPEC): Split into ... | |
4699 | (ASM_SPEC_BASE, ASM_PIC_SPEC): ... this. | |
4700 | * config/i386/sol2.h (ASM_SPEC): Define using ASM_SPEC_BASE. | |
4701 | * config/i386/sol2-bi.h (ASM_CPU_SPEC): Redefine. | |
4702 | (ASM_SPEC): Use ASM_SPEC_BASE. | |
4703 | * config/sparc/sol2.h (ASM_SPEC): Redefine. | |
4704 | ||
1e6a67d1 | 4705 | 2011-07-07 Georg-Johann Lay <avr@gjlay.de> |
f9610d20 | 4706 | |
1e6a67d1 GJL |
4707 | * config/avr/avr.md (*reload_insi): Change predicate #1 to |
4708 | const_int_operand. Ditto for peep2 producing this insn. | |
4709 | Add argument to output_reload_insisf call. | |
4710 | (*movsi,*movsf): Add argument to output_movsisf call. | |
4711 | (*reload_insf): New insn and new peep2 to produce it. | |
4712 | * config/avr/avr-protos.h (output_movsisf): Change prototype. | |
4713 | (output_reload_insisf): Change prototype. | |
4714 | * config/avr/avr.c (avr_asm_len): New function. | |
4715 | (output_reload_insisf): Rewrite. | |
4716 | (output_movsisf): Change prototype. output_reload_insisf for | |
4717 | all CONST_INT and CONST_DOUBLE. ALlow moving 0.0f to memory. | |
4718 | (adjust_insn_length): Add argument to output_movsisf and | |
4719 | output_reload_insisf call. | |
4720 | ||
6a4bdc79 BS |
4721 | 2011-07-07 Bernd Schmidt <bernds@codesourcery.com> |
4722 | ||
4723 | * emit-rtl.c (paradoxical_subreg_p): New function. | |
4724 | * rtl.h (paradoxical_subreg_p): Declare. | |
4725 | * combine.c (set_nonzero_bits_and_sign_copies, get_last_value, | |
4726 | apply_distributive_law, simplify_comparison, simplify_set): Use it. | |
4727 | * cse.c (record_jump_cond, cse_insn): Likewise. | |
4728 | * expr.c (force_operand): Likewise. | |
4729 | * rtlanal.c (num_sign_bit_copies1): Likewise. | |
4730 | * reload1.c (eliminate_regs_1, strip_paradoxical_subreg): Likewise. | |
4731 | * reload.c (push_secondary_reload, find_reloads_toplev): Likewise. | |
4732 | (push_reload): Use precision to check for paradoxical subregs. | |
4733 | * expmed.c (extract_bit_field_1): Likewise. | |
4734 | ||
46c9550f BS |
4735 | * machmode.h (HWI_COMPUTABLE_MODE_P): New macro. |
4736 | * combine.c (set_nonzero_bits_and_sign_copies): Use it. | |
4737 | (find_split-point, combine_simplify_rtx, simplify_if_then_else, | |
4738 | simplify_set, simplify_logical, expand_compound_operation, | |
4739 | make_extraction, force_to_mode, if_then_else_cond, extended_count, | |
4740 | try_widen_shift_mode, simplify_shift_const_1, simplify_comparison, | |
4741 | record_value_for_reg): Likewise. | |
4742 | * expmed.c (expand_widening_mult, expand_mult_highpart): Likewise. | |
4743 | * simplify-rtx. c (simplify_unary_operation_1, | |
4744 | simplify_binary_operation_1, simplify_const_relational_operation): | |
4745 | Likewise. | |
4746 | ||
5511bc5a BS |
4747 | * explow.c (trunc_int_for_mode): Use GET_MODE_PRECISION |
4748 | instead of GET_MODE_BITSIZE where appropriate. | |
4749 | * rtlanal.c (subreg_lsb_1, subreg_get_info, nonzero_bits1, | |
4750 | num_sign_bit_copies1, canonicalize_condition, low_bitmask_len, | |
4751 | init_num_sign_bit_copies_in_rep): Likewise. | |
4752 | * cse.c (fold_rtx, cse_insn): Likewise. | |
4753 | * loop-doloop.c (doloop_modify, doloop_optimize): Likewise. | |
4754 | * simplify-rtx.c (simplify_unary_operation_1, | |
4755 | simplify_const_unary_operation, simplify_binary_operation_1, | |
4756 | simplify_const_binary_operation, simplify_ternary_operation, | |
4757 | simplify_const_relational_operation, simplify_subreg): Likewise. | |
4758 | * combine.c (try_combine, find_split_point, combine_simplify_rtx, | |
4759 | simplify_if_then_else, simplify_set, expand_compound_operation, | |
4760 | expand_field_assignment, make_extraction, if_then_else_cond, | |
4761 | make_compound_operation, force_to_mode, make_field_assignment, | |
4762 | reg_nonzero_bits_for_combine, reg_num_sign_bit_copies_for_combine, | |
4763 | extended_count, try_widen_shift_mode, simplify_shift_const_1, | |
4764 | simplify_comparison, record_promoted_value, simplify_compare_const, | |
4765 | record_dead_and_set_regs_1): Likewise. | |
4766 | ||
d58c1a38 BS |
4767 | Revert: |
4768 | * simplify-rtx.c (simplify_const_binary_operation): Use the | |
f9610d20 UB |
4769 | shift_truncation_mask hook instead of performing modulo by width. |
4770 | Compare against mode precision, not bitsize. | |
d58c1a38 | 4771 | * combine.c (combine_simplify_rtx, simplify_shift_const_1): |
f9610d20 | 4772 | Use shift_truncation_mask instead of constructing the value manually. |
d58c1a38 | 4773 | |
76594d53 MM |
4774 | 2011-07-06 Michael Meissner <meissner@linux.vnet.ibm.com> |
4775 | ||
4776 | * config/rs6000/rs6000-protos.h (rs6000_call_indirect_aix): New | |
4777 | declaration. | |
4778 | (rs6000_save_toc_in_prologue_p): Ditto. | |
4779 | ||
4780 | * config/rs6000/rs6000.opt (-mr11): New switch to disable loading | |
4781 | up the static chain (r11) during indirect function calls. | |
4782 | (-msave-toc-indirect): New undocumented debug switch. | |
4783 | ||
4784 | * config/rs6000/rs6000.c (struct machine_function): Add | |
4785 | save_toc_in_prologue field to note whether the prologue needs to | |
4786 | save the TOC value in the reserved stack location. | |
4787 | (rs6000_emit_prologue): Use TOC_REGNUM instead of 2. If we need | |
4788 | to save the TOC in the prologue, do so. | |
4789 | (rs6000_trampoline_init): Don't allow creating AIX style | |
4790 | trampolines if -mno-r11 is in effect. | |
4791 | (rs6000_call_indirect_aix): New function to create AIX style | |
4792 | indirect calls, adding support for -mno-r11 to suppress loading | |
4793 | the static chain, and saving the TOC in the prologue instead of | |
4794 | the call body. | |
4795 | (rs6000_save_toc_in_prologue_p): Return true if we are saving the | |
4796 | TOC in the prologue. | |
4797 | ||
4798 | * config/rs6000/rs6000.md (STACK_POINTER_REGNUM): Add more fixed | |
4799 | register numbers. | |
4800 | (TOC_REGNUM): Ditto. | |
4801 | (STATIC_CHAIN_REGNUM): Ditto. | |
4802 | (ARG_POINTER_REGNUM): Ditto. | |
4803 | (SFP_REGNO): Delete, unused. | |
4804 | (TOC_SAVE_OFFSET_32BIT): Add constants for AIX TOC save and | |
4805 | function descriptor offsets. | |
4806 | (TOC_SAVE_OFFSET_64BIT): Ditto. | |
4807 | (AIX_FUNC_DESC_TOC_32BIT): Ditto. | |
4808 | (AIX_FUNC_DESC_TOC_64BIT): Ditto. | |
4809 | (AIX_FUNC_DESC_SC_32BIT): Ditto. | |
4810 | (AIX_FUNC_DESC_SC_64BIT): Ditto. | |
f9610d20 UB |
4811 | (ptrload): New mode attribute for the appropriate load of a pointer. |
4812 | (call_indirect_aix32): Delete, rewrite AIX indirect function calls. | |
76594d53 MM |
4813 | (call_indirect_aix64): Ditto. |
4814 | (call_value_indirect_aix32): Ditto. | |
4815 | (call_value_indirect_aix64): Ditto. | |
4816 | (call_indirect_nonlocal_aix32_internal): Ditto. | |
4817 | (call_indirect_nonlocal_aix32): Ditto. | |
4818 | (call_indirect_nonlocal_aix64_internal): Ditto. | |
4819 | (call_indirect_nonlocal_aix64): Ditto. | |
4820 | (call): Rewrite AIX indirect function calls. Add support for | |
4821 | eliminating the static chain, and for moving the save of the TOC | |
4822 | to the function prologue. | |
4823 | (call_value): Ditto. | |
4824 | (call_indirect_aix<ptrsize>): Ditto. | |
4825 | (call_indirect_aix<ptrsize>_internal): Ditto. | |
4826 | (call_indirect_aix<ptrsize>_internal2): Ditto. | |
4827 | (call_indirect_aix<ptrsize>_nor11): Ditto. | |
4828 | (call_value_indirect_aix<ptrsize>): Ditto. | |
4829 | (call_value_indirect_aix<ptrsize>_internal): Ditto. | |
4830 | (call_value_indirect_aix<ptrsize>_internal2): Ditto. | |
4831 | (call_value_indirect_aix<ptrsize>_nor11): Ditto. | |
4832 | (call_nonlocal_aix32): Relocate in the rs6000.md file. | |
4833 | (call_nonlocal_aix64): Ditto. | |
4834 | ||
4835 | * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mr11 and | |
4836 | -mno-r11 documentation. | |
4837 | ||
49d6830d JW |
4838 | 2011-07-06 Jonathan Wakely <jwakely.gcc@gmail.com> |
4839 | ||
4840 | PR other/49658 | |
4841 | * doc/extend.texi (Compound Literals): Fix typo. | |
4842 | ||
c884924f JG |
4843 | 2011-07-06 James Greenhalgh <james.greenhalgh@arm.com> |
4844 | ||
f9610d20 | 4845 | * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Add __ARM_FEATURE_DSP. |
c884924f | 4846 | |
bf588455 BS |
4847 | 2011-07-06 Basile Starynkevitch <basile@starynkevitch.net> |
4848 | ||
4849 | * configure.ac (plugin-version.h): Generate | |
4850 | GCCPLUGIN_VERSION_MAJOR, GCCPLUGIN_VERSION_MINOR, | |
4851 | GCCPLUGIN_VERSION_PATCHLEVEL, GCCPLUGIN_VERSION constant integer | |
4852 | macros. | |
4853 | ||
4854 | * configure: Regenerate. | |
4855 | ||
4856 | * doc/plugins.texi (Building GCC plugins): Mention | |
4857 | GCCPLUGIN_VERSION ... constant macros in plugin-version.h. | |
4858 | ||
d0edd768 BS |
4859 | 2011-07-06 Bernd Schmidt <bernds@codesourcery.com> |
4860 | ||
4861 | * machmode.h (TRULY_NOOP_TRUNCATION_MODES_P): New macro. | |
4862 | * combine.c (make_extraction, gen_lowpart_or_truncate, | |
4863 | apply_distributive_law, simplify_comparison, | |
4864 | reg_truncated_to_mode, record_truncated_value): Use it. | |
4865 | * cse.c (notreg_cost): Likewise. | |
4866 | * expmed.c (store_bit_field_1, extract_bit_field_1): Likewise. | |
4867 | * expr.c (convert_move, convert_modes): Likewise. | |
4868 | * optabs.c (expand_binop, expand_unop): Likewise. | |
4869 | * postreload.c (move2add_last_label): Likewise. | |
4870 | * regmove.c (optimize_reg_copy_3): Likewise. | |
4871 | * rtlhooks.c (gen_lowpart_general): Likewise. | |
4872 | * simplify-rtx.c (simplify_unary_operation_1): Likewise. | |
4873 | ||
e5cabdfb JM |
4874 | 2011-07-06 Joseph Myers <joseph@codesourcery.com> |
4875 | ||
4876 | * config/rs6000/vxworks.h (WORDS_BIG_ENDIAN): Define. | |
4877 | ||
2d0c270f BS |
4878 | 2011-07-06 Bernd Schmidt <bernds@codesourcery.com> |
4879 | ||
4880 | * cse.c (find_comparison_args): Use val_mode_signbit_set_p. | |
4881 | * simplify-rtx.c (mode_signbit_p): Use GET_MODE_PRECISION. | |
4882 | (val_mode_signbit_p, val_mode_signbit_set_p): New functions. | |
4883 | (simplify_const_unary_operation, simplify_binary_operation_1, | |
f9610d20 UB |
4884 | simplify_const_binary_operation, simplify_const_relational_operation): |
4885 | Use them. Use GET_MODE_MASK for masking and sign-extensions. | |
2d0c270f BS |
4886 | * combine.c (set_nonzero_bits_and_sign_copies, simplify_set, |
4887 | combine_simplify_rtx, force_to_mode, reg_nonzero_bits_for_combine, | |
4888 | simplify_shift_const_1, simplify_comparison): Likewise. | |
4889 | * expr.c (convert_modes): Likewise. | |
4890 | * rtlanal.c (nonzero_bits1, canonicalize_condition): Likewise. | |
f9610d20 | 4891 | * expmed.c (emit_cstore, emit_store_flag_1, emit_store_flag): Likewise. |
2d0c270f BS |
4892 | * rtl.h (val_mode_signbit_p, val_mode_signbit_set_p): Declare. |
4893 | ||
f9c08345 BS |
4894 | * simplify-rtx.c (simplify_ternary_operation): Remove dead code. |
4895 | ||
6d6c9525 RG |
4896 | 2011-07-06 Richard Guenther <rguenther@suse.de> |
4897 | ||
4898 | PR tree-optimization/49645 | |
4899 | * c-decl.c (finish_decl): Also set DECL_HARD_REGISTER for global | |
4900 | register variables. | |
4901 | * tree-ssa-sccvn.c (vn_reference_op_eq): Disregard differences | |
4902 | in type qualification here ... | |
4903 | (copy_reference_ops_from_ref): ... not here. | |
4904 | (vn_reference_lookup_3): ... or here. | |
4905 | (copy_reference_ops_from_ref): Record decl bases as MEM[&decl]. | |
4906 | (vn_reference_lookup): Do the lookup with a valueized ao-ref. | |
4907 | ||
d1a6ec10 ILT |
4908 | 2011-07-06 Ian Lance Taylor <iant@google.com> |
4909 | ||
4910 | * doc/install.texi (Configuration): It's | |
4911 | --enable-gnu-indirect-function, not --enable-indirect-function. | |
4912 | ||
ff3e08af BS |
4913 | 2011-07-06 Bernd Schmidt <bernds@codesourcery.com> |
4914 | ||
4915 | * simplify-rtx.c (simplify_const_binary_operation): Use the | |
f9610d20 UB |
4916 | shift_truncation_mask hook instead of performing modulo by width. |
4917 | Compare against mode precision, not bitsize. | |
ff3e08af | 4918 | * combine.c (combine_simplify_rtx, simplify_shift_const_1): |
f9610d20 | 4919 | Use shift_truncation_mask instead of constructing the value manually. |
ff3e08af | 4920 | |
a369b639 L |
4921 | 2011-07-06 H.J. Lu <hongjiu.lu@intel.com> |
4922 | ||
4923 | PR middle-end/47383 | |
4924 | * tree-ssa-address.c (addr_for_mem_ref): Use pointer_mode for | |
4925 | address computation and convert to address_mode if needed. | |
4926 | ||
1a072294 RG |
4927 | 2011-07-06 Richard Guenther <rguenther@suse.de> |
4928 | ||
4929 | * tree.c (build_common_tree_nodes_2): Merge with | |
4930 | build_common_tree_nodes. | |
4931 | * tree.h (build_common_tree_nodes): Adjust prototype. | |
4932 | (build_common_tree_nodes_2): Remove. | |
4933 | * doc/tm.texi.in (lang_hooks.builtin_function): Adjust. | |
4934 | * doc/tm.texi (lang_hooks.builtin_function): Regenerate. | |
4935 | ||
f2c3a8ce JJ |
4936 | 2011-07-05 Jakub Jelinek <jakub@redhat.com> |
4937 | ||
4938 | PR tree-optimization/49618 | |
4939 | * tree-eh.c (tree_could_trap_p) <case CALL_EXPR>: For DECL_WEAK | |
4940 | t recurse on the decl. | |
4941 | <case FUNCTION_DECL, case VAR_DECL>: For DECL_WEAK decls | |
4942 | return true if expr isn't known to be defined in current | |
4943 | TU or some other LTO partition. | |
4944 | ||
3aa439ed MM |
4945 | 2011-07-05 Michael Meissner <meissner@linux.vnet.ibm.com> |
4946 | ||
4947 | * params.def (PARAM_CASE_VALUES_THRESHOLD): New parameter to | |
4948 | override CASE_VALUES_THRESHOLD. | |
4949 | ||
4950 | * stmt.c (toplevel): Include params.h. | |
4951 | (case_values_threshold): Use the --param case-values-threshold | |
4952 | value if non-zero, otherwise use machine dependent value. | |
4953 | (expand_case): Use case_values_threshold. | |
4954 | ||
4955 | * Makefile.in (stmt.o): Add $(PARAMS_H) dependency. | |
4956 | ||
4957 | * doc/invoke.texi (--param case-values-threshold): Document. | |
4958 | ||
49956667 RH |
4959 | 2011-07-05 Richard Henderson <rth@redhat.com> |
4960 | ||
4961 | * dwarf2out.c (dwarf2out_cfi_label): Make static. | |
4962 | (dwarf2out_flush_queued_reg_saves): Make static. | |
4963 | (dwarf2out_reg_save): Remove. | |
4964 | (dwarf2out_return_save): Remove. | |
4965 | (dwarf2out_return_reg): Remove. | |
4966 | (dwarf2out_reg_save_reg): Remove. | |
4967 | (dwarf2out_def_cfa): Merge into ... | |
4968 | (dwarf2out_frame_init): ... here. | |
4969 | * dwarf2out.h, tree.h: Remove declarations as necessary. | |
4970 | ||
9f2ff8e5 RH |
4971 | 2011-07-05 Richard Henderson <rth@redhat.com> |
4972 | ||
c2b40eba RH |
4973 | * config/ia64/ia64.c (ia64_dwarf_handle_frame_unspec): Remove. |
4974 | (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Remove. | |
4975 | (ia64_expand_epilogue): Emit an empty FRAME_RELATED_EXPR for | |
4976 | the alloc insn. | |
4977 | ||
7d3c6cd8 RH |
4978 | * config/ia64/ia64.c (ia64_emit_deleted_label_after_insn): Remove. |
4979 | (IA64_CHANGE_CFA_IN_EPILOGUE): Remove. | |
4980 | (process_epilogue): Don't call dwarf2out_def_cfa. | |
4981 | ||
5f740973 RH |
4982 | * config/ia64/ia64.c (ia64_expand_prologue): Use pc_rtx to |
4983 | indicate the return address save. | |
4984 | (process_cfa_register): Likewise. | |
4985 | ||
a1880147 RH |
4986 | * config/ia64/ia64.c (ia64_dwarf2out_def_steady_cfa): Remove. |
4987 | (process_cfa_adjust_cfa, ia64_asm_unwind_emit): Don't call it. | |
4988 | ||
9f2ff8e5 RH |
4989 | * config/ia64/ia64.c (ia64_expand_prologue): Emit REG_CFA_REGISTER |
4990 | for ar.pfs save at alloc insn. | |
4991 | ||
ddc6e7d6 RH |
4992 | 2011-07-05 Richard Henderson <rth@redhat.com> |
4993 | ||
4994 | * config/arm/arm.c (arm_dwarf_handle_frame_unspec): Remove. | |
4995 | (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Remove. | |
4996 | (arm_expand_prologue): Use REG_CFA_REGISTER to mark the | |
4997 | stack pointer save. | |
4998 | (arm_unwind_emit_set): Don't recognize UNSPEC_STACK_ALIGN. | |
4999 | (arm_unwind_emit): Walk REG_NOTES for unwinding notes. Emit | |
5000 | proper unwind info for a REG_CFA_REGISTER save of stack pointer. | |
5001 | * config/arm/arm.md (UNSPEC_STACK_ALIGN): Remove. | |
5002 | ||
a3515605 RH |
5003 | 2011-07-05 Richard Henderson <rth@redhat.com> |
5004 | ||
5005 | * config/vax/vax.md (define_c_enum unspecv): New. Define the | |
5006 | VUNSPEC_* constants here instead of via define_constants. | |
5007 | (VUNSPEC_PEM): New constant. | |
5008 | (procedure_entry_mask): New insn. | |
5009 | (prologue): New expander. | |
5010 | * config/vax/vax.c (vax_add_reg_cfa_offset): New. | |
5011 | (vax_expand_prologue): Rename from vax_output_function_prologue; | |
5012 | emit rtl instead of text. | |
5013 | (TARGET_ASM_FUNCTION_PROLOGUE): Remove. | |
5014 | (print_operand): Add 'x' prefix. | |
5015 | ||
a7adbbcb L |
5016 | 2011-07-05 H.J. Lu <hongjiu.lu@intel.com> |
5017 | ||
5018 | PR middle-end/47715 | |
5019 | * calls.c (precompute_register_parameters): Promote the function | |
5020 | argument before checking non-legitimate constant. | |
5021 | ||
cec11ec4 SP |
5022 | 2011-07-05 Sebastian Pop <sebastian.pop@amd.com> |
5023 | ||
5024 | PR tree-optimization/47654 | |
5025 | * graphite-blocking.c (pbb_strip_mine_time_depth): Do not return bool. | |
5026 | (lst_do_strip_mine_loop): Return an int. | |
5027 | (lst_do_strip_mine): Same. | |
5028 | (scop_do_strip_mine): Same. | |
5029 | (scop_do_block): Loop blocking should strip-mine at least two loops. | |
5030 | * graphite-interchange.c (lst_interchange_select_outer): Return an int. | |
5031 | (scop_do_interchange): Same. | |
5032 | * graphite-poly.h (scop_do_interchange): Update declaration. | |
5033 | (scop_do_strip_mine): Same. | |
5034 | ||
9b0d314a SP |
5035 | 2011-07-05 Sebastian Pop <sebastian.pop@amd.com> |
5036 | ||
5037 | * graphite-clast-to-gimple.c (precision_for_value): Removed. | |
5038 | (precision_for_interval): Removed. | |
5039 | (gcc_type_for_interval): Use mpz_sizeinbase. | |
5040 | ||
81d6d080 SP |
5041 | 2011-07-05 Sebastian Pop <sebastian.pop@amd.com> |
5042 | ||
5043 | * graphite-ppl.h (value_max): Correct computation of max. | |
5044 | ||
369e3430 SP |
5045 | 2011-07-05 Sebastian Pop <sebastian.pop@amd.com> |
5046 | ||
5047 | * graphite-clast-to-gimple.c (clast_name_to_index): Add missing space. | |
5048 | ||
fce5dddd RG |
5049 | 2011-07-05 Richard Guenther <rguenther@suse.de> |
5050 | ||
5051 | * c-decl.c (c_init_decl_processing): Defer building common | |
5052 | tree nodes to c_common_nodes_and_builtins. | |
5053 | ||
12037899 RL |
5054 | 2011-07-05 Razya Ladelsky <razya@il.ibm.com> |
5055 | ||
5056 | PR tree-optimization/49580 | |
f9610d20 | 5057 | * tree-cfg.c (gimple_duplicate_sese_tail): Remove handling of |
12037899 | 5058 | the loop's number of iterations. |
f9610d20 UB |
5059 | * tree-parloops.c (transform_to_exit_first_loop): Add the |
5060 | handling of the loop's number of iterations before the call | |
12037899 | 5061 | to gimple_duplicate_sese_tail. |
28b21ebb | 5062 | Insert the stmt caclculating the new rhs of the loop's |
12037899 RL |
5063 | condition stmt to the preheader instead of iters_bb. |
5064 | ||
509a31f8 L |
5065 | 2011-07-05 H.J. Lu <hongjiu.lu@intel.com> |
5066 | ||
5067 | PR rtl-optimization/47449 | |
5068 | * fwprop.c (forward_propagate_subreg): Don't propagate hard | |
5069 | register nor zero/sign extended hard register. | |
5070 | ||
39becbac RG |
5071 | 2011-07-05 Richard Guenther <rguenther@suse.de> |
5072 | ||
5073 | PR tree-optimization/49518 | |
5074 | PR tree-optimization/49628 | |
5075 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Skip | |
5076 | irrelevant and invariant data-references. | |
5077 | (vect_analyze_data_ref_access): For invariant loads clear the | |
5078 | group association. | |
5079 | ||
15923c25 JJ |
5080 | 2011-07-04 Jakub Jelinek <jakub@redhat.com> |
5081 | ||
af421d9c JJ |
5082 | PR rtl-optimization/49619 |
5083 | * combine.c (combine_simplify_rtx): In PLUS -> IOR simplification | |
5084 | pass VOIDmode as op0_mode to recursive call, and return temp even | |
5085 | when different from tor, just if it is not IOR of the original | |
5086 | PLUS arguments. | |
5087 | ||
707f9919 JJ |
5088 | PR rtl-optimization/49472 |
5089 | * simplify-rtx.c (simplify_unary_operation_1) <case NEG>: When | |
5090 | negating MULT, negate the second operand instead of first. | |
5091 | (simplify_binary_operation_1) <case MULT>: If one operand is | |
f9610d20 UB |
5092 | a NEG and the other is MULT, don't attempt to optimize by negation |
5093 | of the MULT operand if it only moves the NEG operation around. | |
707f9919 | 5094 | |
15923c25 JJ |
5095 | PR debug/49602 |
5096 | * tree-into-ssa.c (rewrite_debug_stmt_uses): Disregard | |
5097 | get_current_def return value if it can't be trusted to be | |
5098 | the current value of the variable in the current bb. | |
5099 | ||
0d5e0c1b UB |
5100 | 2011-07-04 Uros Bizjak <ubizjak@gmail.com> |
5101 | ||
5102 | PR target/49600 | |
5103 | * config/i386/i386.md (SSE2 int->float split): Push operand 1 in | |
5104 | general register to memory for !TARGET_INTER_UNIT_MOVES. | |
5105 | ||
db297e20 GJL |
5106 | 2011-07-04 Georg-Johann Lay <avr@gjlay.de> |
5107 | ||
5108 | PR target/44643 | |
5109 | * config/avr/avr.c (avr_insert_attributes): Use TYPE_READONLY | |
5110 | instead of TREE_READONLY. | |
5111 | ||
f451d14d GJL |
5112 | 2011-07-04 Georg-Johann Lay <avr@gjlay.de> |
5113 | ||
5114 | * doc/extend.texi (AVR Built-in Functions): Update documentation | |
5115 | of __builtin_avr_fmul*. | |
0d5e0c1b | 5116 | * config/avr/avr.c (avr_init_builtins): Don't depend on AVR_HAVE_MUL. |
f451d14d GJL |
5117 | * config/avr/avr-c.c (avr_cpu_cpp_builtins): Ditto. |
5118 | * config/avr/avr.md (fmul): Rename to fmul_insn. | |
5119 | (fmuls): Rename to fmuls_insn. | |
5120 | (fmulsu): Rename to fmulsu_insn. | |
5121 | (fmul,fmuls,fmulsu): New expander. | |
5122 | (*fmul.call,*fmuls.call,*fmulsu.call): New Insn. | |
5123 | * config/avr/t-avr (LIB1ASMFUNCS): Add _fmul, _fmuls, _fmulsu. | |
5124 | * config/avr/libgcc.S (__fmul): New function. | |
5125 | (__fmuls): New function. | |
5126 | (__fmulsu,__fmulsu_exit): New function. | |
5127 | ||
30f1e6de RG |
5128 | 2011-07-04 Richard Guenther <rguenther@suse.de> |
5129 | ||
5130 | PR tree-optimization/49615 | |
5131 | * tree-cfgcleanup.c (split_bbs_on_noreturn_calls): Fix | |
5132 | basic-block index check. | |
5133 | ||
6dab9931 GJL |
5134 | 2011-07-04 Georg-Johann Lay <avr@gjlay.de> |
5135 | ||
5136 | * longlong.h (count_leading_zeros, count_trailing_zeros, | |
5137 | COUNT_LEADING_ZEROS_0): Define for target avr if W_TYPE_SIZE is 16 | |
5138 | resp. 64. | |
5139 | ||
b5066d8b IR |
5140 | 2011-07-03 Ira Rosen <ira.rosen@linaro.org> |
5141 | ||
5142 | PR tree-optimization/49610 | |
5143 | * tree-vect-loop.c (vect_is_slp_reduction): Check that DEF_STMT has | |
5144 | a basic block. | |
5145 | ||
bc712852 EB |
5146 | 2011-07-02 Eric Botcazou <ebotcazou@adacore.com> |
5147 | Olivier Hainque <hainque@adacore.com> | |
5148 | Nicolas Setton <setton@adacore.com> | |
5149 | ||
5150 | * tree.h (TYPE_ARTIFICIAL): New flag. | |
5151 | * dwarf2out.c (modified_type_die): Add a DW_AT_artificial attribute to | |
5152 | the DIE of the type if it is artificial. | |
5153 | (gen_array_type_die): Likewise. | |
5154 | (gen_enumeration_type_die): Likewise. | |
5155 | (gen_struct_or_union_type_die): Likewise. | |
5156 | * lto-streamer-in.c (unpack_ts_base_value_fields): Use TYPE_ARTIFICIAL. | |
5157 | * lto-streamer-out.c (pack_ts_base_value_fields): Likewise. | |
5158 | ||
8b1bdcc5 JJ |
5159 | 2011-07-01 Jakub Jelinek <jakub@redhat.com> |
5160 | ||
5161 | * tree-object-size.c (pass_through_call): Handle | |
5162 | BUILT_IN_ASSUME_ALIGNED. | |
5163 | ||
06e88d73 MJ |
5164 | 2011-07-01 Martin Jambor <mjambor@suse.cz> |
5165 | ||
5166 | * tree-sra.c (tree_non_mode_aligned_mem_p): Also ignore MEM_REFs. | |
5167 | ||
6bbec3e1 L |
5168 | 2011-07-01 H.J. Lu <hongjiu.lu@intel.com> |
5169 | ||
5170 | PR middle-end/48016 | |
5171 | * explow.c (update_nonlocal_goto_save_area): Use proper mode | |
5172 | for stack save area. | |
5173 | * function.c (expand_function_start): Likewise. | |
5174 | ||
e8fdf1cd RG |
5175 | 2011-07-01 Richard Guenther <rguenther@suse.de> |
5176 | ||
5177 | PR middle-end/49596 | |
5178 | * cgraph.h (varpool_all_refs_explicit_p): Not analyzed nodes | |
5179 | may have unknown refs. | |
5180 | ||
80d3dd38 KT |
5181 | 2011-07-01 Kai Tietz <ktietz@redhat.com> |
5182 | ||
5183 | * tree-ssa-forwprop.c (simplify_bitwise_binary): Fix typo. | |
5184 | ||
179fc656 RO |
5185 | 2011-07-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5186 | ||
5187 | * config.gcc: Obsolete alpha*-dec-osf5.1, mips-sgi-irix6.5. | |
5188 | * doc/install.texi (Specific, alpha*-dec-osf5.1): Document it. | |
5189 | (Specific, mips-sgi-irix6): Likewise. | |
5190 | ||
14a393a3 RO |
5191 | 2011-07-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5192 | ||
5193 | PR libmudflap/49549 | |
5194 | * doc/sourcebuild.texi (Effective-Target Keywords): Document gld. | |
5195 | ||
3aecd443 JJ |
5196 | 2011-07-01 Jakub Jelinek <jakub@redhat.com> |
5197 | ||
5198 | * tree-pretty-print.c (dump_generic_code) <case CONSTRUCTOR>: Print | |
5199 | [idx]= and [idx1 ... idx2]= before initializers if needed for | |
5200 | array initializers. | |
5201 | ||
7474f719 CL |
5202 | 2011-07-01 Chen Liqin <liqin.gcc@gmail.com> |
5203 | ||
5204 | * config.gcc (score-*-elf): Remove score7.o. | |
5205 | * config/score/t-score-elf: Likewise. | |
5206 | * config/score/score.c: Merge score7 to score.c and | |
5207 | remove forwarding functions. | |
5208 | * config/score/score7.c: Deleted. | |
5209 | * config/score/score7.h: Deleted. | |
5210 | ||
ab70d825 RG |
5211 | 2011-07-01 Richard Guenther <rguenther@suse.de> |
5212 | ||
5213 | PR tree-optimization/49603 | |
0d5e0c1b | 5214 | * tree-vect-stmts.c (vectorizable_load): Remove unnecessary assert. |
ab70d825 | 5215 | |
1ac93f10 MJ |
5216 | 2011-06-30 Martin Jambor <mjambor@suse.cz> |
5217 | ||
5218 | * tree-sra.c (struct access): Rename total_scalarization to | |
5219 | grp_total_scalarization | |
5220 | (completely_scalarize_var): New function. | |
5221 | (sort_and_splice_var_accesses): Set total_scalarization in the | |
5222 | representative access. | |
5223 | (analyze_access_subtree): Propagate total scalarization accross the | |
5224 | tree, no holes in totally scalarized trees, simplify coverage | |
5225 | computation. | |
5226 | (analyze_all_variable_accesses): Call completely_scalarize_var instead | |
5227 | of completely_scalarize_record. | |
5228 | ||
97f309c3 RH |
5229 | 2011-06-30 Richard Henderson <rth@redhat.com> |
5230 | ||
5231 | * config/i386/i386.h (X86_TUNE_DEEP_BRANCH_PREDICTION): Remove. | |
5232 | (TARGET_DEEP_BRANCH_PREDICTION): Remove. | |
5233 | * config/i386/i386.c: Don't include dwarf2out.h. | |
5234 | (initial_ix86_tune_features): Remove X86_TUNE_DEEP_BRANCH_PREDICTION. | |
5235 | (output_set_got): Don't test TARGET_DEEP_BRANCH_PREDICTION, delete | |
5236 | all code dead thereafter. Don't do dwarf2out_flush_queued_reg_saves. | |
5237 | (ix86_expand_prologue): Set REG_CFA_FLUSH_QUEUE on set_got insn. | |
5238 | (machopic_output_stub): Don't test TARGET_DEEP_BRANCH_PREDICTION. | |
5239 | ||
ef284364 RH |
5240 | 2011-06-30 Richard Henderson <rth@redhat.com> |
5241 | ||
5242 | * reg-notes.def (REG_CFA_FLUSH_QUEUE): New. | |
5243 | * dwarf2out.c (dwarf2out_frame_debug): Handle it. | |
5244 | * final.c (final_scan_insn): Look for it, and invoke | |
5245 | dwarf2out_frame_debug before the insn if found. | |
5246 | ||
c8412f97 RH |
5247 | 2011-06-30 Richard Henderson <rth@redhat.com> |
5248 | ||
5249 | * dwarf2out.c (dwarf2out_frame_debug_cfa_offset): Allow PC_RTX | |
5250 | as a source, and interpret that as DWARF_FRAME_RETURN_COLUMN. | |
5251 | ||
e3f903d8 RH |
5252 | 2011-06-30 Richard Henderson <rth@redhat.com> |
5253 | ||
5254 | * dwarf2out.c (struct reg_saved_in_data): Provide a typedef. | |
5255 | Define a vector of this type. | |
5256 | (regs_saved_in_regs): Use a VEC. | |
5257 | (num_regs_saved_in_regs): Remove. | |
5258 | (compare_reg_or_pc): New. | |
5259 | (record_reg_saved_in_reg): Split out from... | |
5260 | (dwarf2out_flush_queued_reg_saves): ... here. | |
5261 | (clobbers_queued_reg_save): Update for VEC. | |
5262 | (reg_saved_in): Likewise. | |
5263 | (dwarf2out_frame_debug_init): Likewise. | |
5264 | (dwarf2out_reg_save_reg): Use record_reg_saved_in_reg. | |
5265 | (dwarf2out_frame_debug_cfa_register): Likewise. | |
5266 | ||
e2c9010a EB |
5267 | 2011-06-30 Eric Botcazou <ebotcazou@adacore.com> |
5268 | ||
5269 | PR tree-optimization/49572 | |
5270 | * tree-ssa-dom.c (initialize_hash_element) <GIMPLE_SINGLE_RHS>: Use the | |
5271 | type of the RHS instead of that of the LHS for the expression type. | |
5272 | ||
dbb07bbc EB |
5273 | 2011-06-30 Eric Botcazou <ebotcazou@adacore.com> |
5274 | ||
5275 | * df-scan.c (df_get_entry_block_def_set): Use INCOMING_REGNO macro | |
5276 | unconditionally. | |
5277 | ||
1565af08 RG |
5278 | 2011-06-30 Richard Guenther <rguenther@suse.de> |
5279 | ||
5280 | * opts.c (finish_options): Do not disable IPA-PTA during ltrans. | |
5281 | * tree-ssa-structalias.c (create_variable_info_for): Do not | |
5282 | add initial constraints for non-var-decls. Properly handle | |
5283 | globals in other ltrans partitions. | |
5284 | (intra_create_variable_infos): Manually create constraints for | |
5285 | the fake no-alias parameter. | |
5286 | (ipa_pta_execute): Dump the cgraph, handle ltrans partitions properly | |
5287 | and assert there are no clones. | |
5288 | ||
42373e0b RG |
5289 | 2011-06-30 Richard Guenther <rguenther@suse.de> |
5290 | ||
5291 | PR tree-optimization/46787 | |
5292 | * tree-data-ref.c (dr_address_invariant_p): Remove. | |
5293 | (find_data_references_in_stmt): Invariant accesses are ok now. | |
0d5e0c1b | 5294 | * tree-vect-stmts.c (vectorizable_load): Handle invariant loads. |
42373e0b RG |
5295 | * tree-vect-data-refs.c (vect_analyze_data_ref_access): Allow |
5296 | invariant loads. | |
5297 | ||
7aa62ea1 MJ |
5298 | 2011-06-30 Martin Jambor <mjambor@suse.cz> |
5299 | ||
5300 | PR tree-optimization/49094 | |
5301 | * tree-sra.c (tree_non_mode_aligned_mem_p): New function. | |
5302 | (build_accesses_from_assign): Use it. | |
5303 | ||
f60f32b3 JJ |
5304 | 2011-06-30 Jakub Jelinek <jakub@redhat.com> |
5305 | ||
d9048d16 JJ |
5306 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Fix |
5307 | handling of BUILT_IN_ASSUME_ALIGNED. | |
5308 | ||
f60f32b3 JJ |
5309 | PR debug/49364 |
5310 | * dwarf2out.c (output_abbrev_section): Don't return early | |
5311 | if abbrev_die_table_in_use is 1. | |
5312 | (dwarf2out_finish): Instead don't call output_abbrev_section | |
5313 | nor emit abbrev_section_label in that case. | |
5314 | ||
7cce15d4 NC |
5315 | 2011-06-30 Nick Clifton <nickc@redhat.com> |
5316 | ||
5317 | * config/v850/v850.h (CPP_SPEC): Define __v850e__ when compiling | |
5318 | for the V850E. | |
5319 | ||
ce7e54ff JJ |
5320 | 2011-06-30 Jakub Jelinek <jakub@redhat.com> |
5321 | ||
5322 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Fix | |
5323 | handling of BUILT_IN_MEMPCPY_CHK and BUILT_IN_STPCPY_CHK. | |
5324 | ||
83197f37 IR |
5325 | 2011-06-30 Ira Rosen <ira.rosen@linaro.org> |
5326 | ||
5327 | * tree-vect-loop.c (vect_determine_vectorization_factor): Handle | |
5328 | both pattern and original statements if necessary. | |
5329 | (vect_transform_loop): Likewise. | |
5330 | * tree-vect-patterns.c (vect_pattern_recog): Update documentation. | |
5331 | * tree-vect-stmts.c (vect_mark_relevant): Add new argument. | |
5332 | Mark the pattern statement only if the original statement doesn't | |
5333 | have its own uses. | |
5334 | (process_use): Call vect_mark_relevant with additional parameter. | |
5335 | (vect_mark_stmts_to_be_vectorized): Likewise. | |
5336 | (vect_get_vec_def_for_operand): Use vectorized pattern statement. | |
5337 | (vect_analyze_stmt): Handle both pattern and original statements | |
5338 | if necessary. | |
5339 | (vect_transform_stmt): Don't store vectorized pattern statement | |
5340 | in the original statement. | |
5341 | (vect_is_simple_use_1): Use related pattern statement only if the | |
5342 | original statement is irrelevant. | |
5343 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Likewise. | |
5344 | ||
dbb07bbc | 5345 | 2011-06-29 Changpeng Fang <changpeng.fang@amd.com> |
5c0d88e6 | 5346 | |
dbb07bbc EB |
5347 | * config/i386/i386.opt (mprefer-avx128): Redefine the flag as a Mask |
5348 | option. | |
5349 | * config/i386/i386.h (ix86_tune_indices): Add X86_TUNE_AVX128_OPTIMAL | |
5350 | entry. | |
5c0d88e6 CF |
5351 | (TARGET_AVX128_OPTIMAL): New definition. |
5352 | * config/i386/i386.c (initial_ix86_tune_features): Initialize | |
5353 | X86_TUNE_AVX128_OPTIMAL entry. | |
5354 | (ix86_option_override_internal): Enable the generation | |
5355 | of the 128-bit instructions when TARGET_AVX128_OPTIMAL is set. | |
5356 | (ix86_preferred_simd_mode): Use TARGET_PREFER_AVX128. | |
5357 | (ix86_autovectorize_vector_sizes): Use TARGET_PREFER_AVX128. | |
5358 | ||
931050d0 EB |
5359 | 2011-06-29 Eric Botcazou <ebotcazou@adacore.com> |
5360 | ||
5361 | PR tree-optimization/49539 | |
5362 | * tree-ssa-forwprop.c (can_propagate_from): Check for abnormal SSA | |
5363 | names by means of stmt_references_abnormal_ssa_name. | |
5364 | (associate_plusminus): Call can_propagate_from before propagating | |
5365 | from definition statements. | |
5366 | (ssa_forward_propagate_and_combine): Remove superfluous newline. | |
5367 | ||
dfedbe40 RG |
5368 | 2011-06-29 Richard Guenther <rguenther@suse.de> |
5369 | ||
5370 | * doc/invoke.texi: Document -scev dump modifier. | |
5371 | * tree-pass.h (TDF_SCEV): New dump flag. | |
5372 | * tree-dump.c (dump_option_value_in): Add scev. | |
5373 | * tree-chrec.c: Replace all TDF_DETAILS checks with TDF_SCEV. | |
5374 | * tree-scalar-evolution.c: Likewise. | |
5375 | ||
3a86cfeb NS |
5376 | 2011-06-29 Nathan Sidwell <nathan@codesourcery.com> |
5377 | ||
5378 | * config/arm/unwind-arm.c (enum __cxa_type_match_result): New. | |
5379 | (cxa_type_match): Correct declaration. | |
0d5e0c1b UB |
5380 | (__gnu_unwind_pr_common): Reconstruct additional indirection |
5381 | when __cxa_type_match returns succeeded_with_ptr_to_base. | |
3a86cfeb | 5382 | |
f3678bfb UW |
5383 | 2011-06-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
5384 | ||
5385 | PR rtl-optimization/49114 | |
5386 | * reload.c (struct replacement): Remove SUBREG_LOC member. | |
5387 | (push_reload): Do not set it. | |
5388 | (push_replacement): Likewise. | |
5389 | (subst_reload): Remove dead code. | |
5390 | (copy_replacements): Remove assertion. | |
5391 | (copy_replacements_1): Do not handle SUBREG_LOC. | |
5392 | (move_replacements): Likewise. | |
5393 | (find_replacement): Remove dead code. Use reload_adjust_reg_for_mode. | |
5394 | Detect subregs via recursive descent instead of via SUBREG_LOC. | |
5395 | ||
433ba0a5 | 5396 | 2011-06-29 Georg-Johann Lay <avr@gjlay.de> |
0d5e0c1b | 5397 | |
433ba0a5 GJL |
5398 | * config/avr/avr.c (avr_encode_section_info): Dispatch to |
5399 | default_encode_section_info. | |
5400 | ||
73f6eabc RS |
5401 | 2011-06-29 Richard Sandiford <richard.sandiford@linaro.org> |
5402 | ||
5403 | PR tree-optimization/49545 | |
5404 | * builtins.c (get_object_alignment_1): Update function comment. | |
5405 | Do not use DECL_ALIGN for functions, but test | |
5406 | TARGET_PTRMEMFUNC_VBIT_LOCATION instead. | |
5407 | * fold-const.c (get_pointer_modulus_and_residue): Don't check | |
5408 | for functions here. | |
5409 | * tree-ssa-ccp.c (get_value_from_alignment): Likewise. | |
5410 | ||
a0f33d3a JJ |
5411 | 2011-06-29 Jakub Jelinek <jakub@redhat.com> |
5412 | ||
5413 | PR debug/49567 | |
0d5e0c1b UB |
5414 | * dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTEND>: Give up for |
5415 | non-MODE_INT modes instead of asserting the mode has MODE_INT class. | |
a0f33d3a | 5416 | |
946c8b23 | 5417 | 2011-06-29 Georg-Johann Lay <avr@gjlay.de> |
0d5e0c1b | 5418 | |
946c8b23 | 5419 | PR target/34734 |
0d5e0c1b | 5420 | * config/avr/avr.c (avr_handle_progmem_attribute): Move warning |
946c8b23 GJL |
5421 | about uninitialized data attributed 'progmem' from here... |
5422 | (avr_encode_section_info): ...to this new function. | |
5423 | (TARGET_ENCODE_SECTION_INFO): New define. | |
5424 | (avr_section_type_flags): For data in ".progmem.data", remove | |
5425 | section flag SECTION_WRITE. | |
5426 | ||
9a63dee4 | 5427 | 2011-06-29 Georg-Johann Lay <avr@gjlay.de> |
0d5e0c1b | 5428 | |
9a63dee4 GJL |
5429 | * config/avr/t-avr (LIB1ASMFUNCS): Add _mulhisi3, _umulhisi3, |
5430 | _xmulhisi3_exit. | |
5431 | * config/avr/libgcc.S (_xmulhisi3_exit): New Function. | |
5432 | (__mulhisi3): Optimize if have MUL*. Use XJMP instead of rjmp. | |
5433 | (__umulhisi3): Ditto. | |
5434 | * config/avr/avr.md (mulhisi3): New insn expender. | |
5435 | (umulhisi3): New insn expender. | |
5436 | (*mulhisi3_call): New insn. | |
5437 | (*umulhisi3_call): New insn. | |
5438 | ||
4374ce45 JM |
5439 | 2011-06-28 Joseph Myers <joseph@codesourcery.com> |
5440 | ||
5441 | * Makefile.in (LIBGCC2_CFLAGS): Remove -D__GCC_FLOAT_NOT_NEEDED. | |
5442 | ||
94759030 RH |
5443 | 2011-06-28 Richard Henderson <rth@redhat.com> |
5444 | ||
5445 | * config/arm/arm.c (thumb_pop): Rename from thumb_pushpop. Delete | |
5446 | all code and arguments that handled pushes. Update all callers. | |
5447 | ||
d018b46e RH |
5448 | 2011-06-28 Richard Henderson <rth@redhat.com> |
5449 | ||
5450 | * config/arm/arm.c (arm_output_function_prologue): Don't call | |
5451 | thumb1_output_function_prologue. | |
5452 | (arm_expand_prologue): Avoid dead store. | |
5453 | (number_of_first_bit_set): Use ctz_hwi. | |
5454 | (thumb1_emit_multi_reg_push): New. | |
5455 | (thumb1_expand_prologue): Merge thumb1_output_function_prologue | |
5456 | to emit the entire prologue as rtl. | |
5457 | (thumb1_output_interwork): Split out from | |
5458 | thumb1_output_function_prologue. | |
5459 | (thumb1_output_function_prologue): Remove. | |
5460 | (arm_attr_length_push_multi): Handle thumb1. | |
5461 | * config/arm/arm.md (VUNSPEC_THUMB1_INTERWORK): New. | |
5462 | (prologue_thumb1_interwork): New. | |
5463 | (*push_multi): Allow thumb1; use push_mult_memory_operand. | |
5464 | * config/arm/predicates.md (push_mult_memory_operand): New. | |
5465 | ||
97269a23 EB |
5466 | 2011-06-28 Eric Botcazou <ebotcazou@adacore.com> |
5467 | ||
5468 | * config/sparc/sync.md (*stbar): Delete. | |
5469 | (*membar_v8): New insn to implement UNSPEC_MEMBAR in SPARC-V8. | |
5470 | ||
4a9206ce EB |
5471 | 2011-06-28 Eric Botcazou <ebotcazou@adacore.com> |
5472 | ||
5473 | * tree-ssa-dom.c (initialize_hash_element): Fix oversight. | |
5474 | ||
6138f9bd RO |
5475 | 2011-06-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5476 | ||
5477 | * config/sparc/sol2-64.h (TARGET_DEFAULT): Remove. | |
5478 | (TARGET_64BIT_DEFAULT): Define. | |
5479 | * config.gcc (sparc*-*-solaris2*): Move sparc/sol2-64.h to front | |
5480 | of tm_file. | |
5481 | * config/sparc/sol2.h [TARGET_64BIT_DEFAULT] (TARGET_DEFAULT): Define. | |
5482 | ||
a7d0d30f JM |
5483 | 2011-06-28 Joseph Myers <joseph@codesourcery.com> |
5484 | ||
5485 | * common.opt (in_lto_p): New Variable entry. | |
5486 | * flags.h (in_lto_p): Move to common.opt. | |
5487 | * gcc.c: Include params.h. | |
5488 | (set_option_handlers): Also use common_handle_option and | |
5489 | target_handle_option. | |
0d5e0c1b | 5490 | (main): Call global_init_params, finish_params and init_options_struct. |
a7d0d30f JM |
5491 | * opts.c (debug_type_names): Move from toplev.c. |
5492 | (print_filtered_help): Access quiet_flag through opts pointer. | |
0d5e0c1b UB |
5493 | (common_handle_option): Return early in the driver for some options. |
5494 | Access in_lto_p, dwarf_version and warn_maybe_uninitialized through | |
5495 | opts pointer. | |
a7d0d30f JM |
5496 | * toplev.c (in_lto_p): Move to common.opt. |
5497 | (debug_type_names): Move to opts.c. | |
5498 | * Makefile.in (OBJS): Remove opts.o. | |
5499 | (OBJS-libcommon-target): Add opts.o. | |
5500 | (gcc.o): Update dependencies. | |
5501 | ||
420863a9 KT |
5502 | 2011-06-28 Kai Tietz <ktietz@redhat.com> |
5503 | ||
0d5e0c1b | 5504 | * tree-ssa-forwprop.c (simplify_bitwise_binary): Improve type sinking. |
420863a9 | 5505 | |
0498a2be RR |
5506 | 2011-06-28 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
5507 | ||
5508 | * config/arm/vfp.md ("*divsf3_vfp"): Replace '+' constraint modifier | |
5509 | with '=' constraint modifier. | |
5510 | (*divdf3_vfp): Likewise. | |
5511 | ("*mulsf3_vfp"): Likewise. | |
5512 | ("*muldf3_vfp"): Likewise. | |
5513 | ("*mulsf3negsf_vfp"): Likewise. | |
5514 | ("*muldf3negdf_vfp"): Likewise. | |
5515 | ||
4a68b724 NC |
5516 | 2011-06-28 Nick Clifton <nickc@redhat.com> |
5517 | ||
5518 | * config/mn10300/mn10300.h (LINK_SPEC): Do not use linker | |
5519 | relaxation when performing an incremental link. | |
5520 | ||
72a32729 KT |
5521 | 2011-06-28 Kai Tietz <ktietz@redhat.com> |
5522 | ||
5523 | * tree-ssa-math-opts.c (execute_optimize_bswap): Search | |
5524 | within BB from last to first. | |
5525 | ||
88a00ef7 JM |
5526 | 2011-06-28 Joseph Myers <joseph@codesourcery.com> |
5527 | ||
5528 | * genattr-common.c: New. Based on genattr.c. | |
5529 | * Makefile.in (INSN_ATTR_H): Include insn-attr-common.h. | |
5530 | (MOSTLYCLEANFILES): Add insn-attr-common.h. | |
5531 | (opts.o): Update dependencies. | |
5532 | (.PRECIOUS): Add insn-attr-common.h. | |
5533 | (simple_rtl_generated_h): Add insn-attr-common.h. | |
5534 | (build/genattr-common.o): New. | |
5535 | (genprogrtl): Add attr-common. | |
5536 | * genattr.c (main): Include insn-attr-common.h. Don't generate | |
5537 | definitions of DELAY_SLOTS or INSN_SCHEDULING. | |
0d5e0c1b | 5538 | * opts.c: Include insn-attr-common.h instead of rtl.h and insn-attr.h. |
88a00ef7 | 5539 | |
880962ac GJL |
5540 | 2011-06-28 Georg-Johann Lay <avr@gjlay.de> |
5541 | ||
4a68b724 | 5542 | * config.gcc (tm_file): Add elfos.h and avr/elf.h for |
880962ac | 5543 | avr-*-* and avr-*-rtems* targets. |
4a68b724 | 5544 | |
880962ac GJL |
5545 | * config/avr/elf.h: New file. |
5546 | (ASM_OUTPUT_BEFORE_CASE_LABEL): Define. | |
5547 | (TARGET_ASM_SELECT_SECTION): Define. | |
5548 | (INIT_SECTION_ASM_OP): Undefine. | |
5549 | (FINI_SECTION_ASM_OP): Undefine. | |
5550 | (READONLY_DATA_SECTION_ASM_OP): Undefine. | |
5551 | (PCC_BITFIELD_TYPE_MATTERS): Undefine. | |
5552 | (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Undefine. | |
5553 | * config/avr/avr.h: | |
5554 | (PREFERRED_DEBUGGING_TYPE): Move to elf.h. | |
5555 | (TARGET_ASM_NAMED_SECTION): Move to elf.h. | |
5556 | (MAX_OFILE_ALIGNMENT): Move to elf.h. | |
5557 | (STRING_LIMIT): Move to elf.h. | |
5558 | (ASM_DECLARE_FUNCTION_NAME): Move to elf.h. | |
5559 | (ASM_DECLARE_OBJECT_NAME): Remove. | |
5560 | (ESCAPES): Remove. | |
5561 | (ASM_OUTPUT_SKIP): Remove. | |
5562 | (DWARF2_DEBUGGING_INFO): Remove. | |
5563 | (OBJECT_FORMAT_ELF): Remove. | |
5564 | (USER_LABEL_PREFIX): Remove. | |
5565 | (ASM_OUTPUT_EXTERNAL): Remove. | |
5566 | (ASM_OUTPUT_ASCII): Remove. | |
5567 | (TYPE_ASM_OP): Remove. | |
5568 | (SIZE_ASM_OP): Remove. | |
5569 | (WEAK_ASM_OP): Remove. | |
5570 | (STRING_ASM_OP): Remove. | |
5571 | (SET_ASM_OP): Remove. | |
5572 | (ASM_WEAKEN_LABEL): Remove. | |
5573 | (TYPE_OPERAND_FMT): Remove. | |
5574 | (ASM_DECLARE_FUNCTION_SIZE): Remove. | |
5575 | (ASM_FINISH_DECLARE_OBJECT): Remove. | |
5576 | (NO_DOLLAR_IN_LABEL): Remove. | |
5577 | (ASM_GENERATE_INTERNAL_LABEL): Remove. | |
5578 | (ASM_OUTPUT_CASE_LABEL): Remove. | |
5579 | * config/avr/avr.c (avr_asm_output_aligned_decl_common): Use | |
5580 | ASM_OUTPUT_ALIGNED_LOCAL, ASM_OUTPUT_ALIGNED_COMMON. | |
5581 | (gas_output_ascii): Remove. | |
5582 | (gas_output_limited_string): Remove. | |
5583 | (TARGET_ASM_FILE_START_FILE_DIRECTIVE): Remove. | |
5584 | * config/avr/avr-protos.h | |
5585 | (gas_output_ascii): Remove prototye. | |
5586 | (gas_output_limited_string): Remove prototype. | |
5587 | ||
a1b5eb93 RE |
5588 | 2011-06-27 Richard Earnshaw <rearnsha@arm.com> |
5589 | ||
5590 | PR target/48637 | |
5591 | * arm.c (arm_print_operand): Allow sym+offset. Don't abort on invalid | |
5592 | asm operands. | |
5593 | ||
310e71a8 JH |
5594 | 2011-06-27 Jan Hubicka <jh@suse.cz> |
5595 | ||
4a9206ce EB |
5596 | * ipa.c (cgraph_address_taken_from_non_vtable_p): Walk references of |
5597 | node instead of references in node. | |
310e71a8 | 5598 | |
171da07a RH |
5599 | 2011-06-27 Richard Henderson <rth@redhat.com> |
5600 | ||
5601 | * config/alpha/alpha.c (vms_patch_builtins): Provide dummy definition. | |
5602 | * config/ia64/ia64.c (ia64_init_builtins): Call vms_patch_builtins | |
5603 | inside ifdef. | |
5604 | ||
dc2a58da JJ |
5605 | 2011-06-27 Jakub Jelinek <jakub@redhat.com> |
5606 | ||
56300785 JJ |
5607 | * c-decl.c (union lang_tree_node): Use it in chain_next expression. |
5608 | ||
45d439ac JJ |
5609 | * builtin-types.def (BT_FN_PTR_CONST_PTR_SIZE_VAR): New. |
5610 | * builtins.def (BUILT_IN_ASSUME_ALIGNED): New builtin. | |
5611 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call, | |
5612 | find_func_clobbers): Handle BUILT_IN_ASSUME_ALIGNED. | |
5613 | * tree-ssa-ccp.c (bit_value_assume_aligned): New function. | |
5614 | (evaluate_stmt, execute_fold_all_builtins): Handle | |
5615 | BUILT_IN_ASSUME_ALIGNED. | |
5616 | * tree-ssa-dce.c (propagate_necessity): Likewise. | |
5617 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1, | |
5618 | call_may_clobber_ref_p_1): Likewise. | |
5619 | * builtins.c (is_simple_builtin, expand_builtin): Likewise. | |
5620 | (expand_builtin_assume_aligned): New function. | |
5621 | * doc/extend.texi (__builtin_assume_aligned): Document. | |
5622 | ||
dc2a58da JJ |
5623 | PR debug/49544 |
5624 | * cselib.c (promote_debug_loc): If cselib_preserve_constants | |
5625 | and l has two DEBUG_INSN owned locs instead of just one, adjust | |
5626 | the second location's setting_insn too. | |
5627 | ||
0d72f628 RO |
5628 | 2011-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5629 | ||
5630 | PR libmudflap/38738 | |
5631 | * config/sol2.h [!USE_GLD] (MFLIB_SPEC): Define. | |
5632 | ||
bebd619e NC |
5633 | 2011-06-27 Nick Clifton <nickc@redhat.com> |
5634 | ||
0d5e0c1b UB |
5635 | * config/mn10300/mn10300.md (clzsi2): Use XOR after BSCH to convert |
5636 | bit position of highest bit set into a count of the high zero bits. | |
bebd619e | 5637 | |
353b39fa EB |
5638 | 2011-06-27 Eric Botcazou <ebotcazou@adacore.com> |
5639 | ||
5640 | * dwarf2out.c (TYPE_DECL_IS_STUB): Extend mechanism to all types. | |
5641 | ||
a7af037b EB |
5642 | 2011-06-27 Eric Botcazou <ebotcazou@adacore.com> |
5643 | ||
5644 | PR lto/48492 | |
5645 | * dwarf2out.c (dwarf2out_finish): Do not attach a DIE on the limbo list | |
5646 | to a NULL parent. | |
5647 | ||
1c86160a RG |
5648 | 2011-06-27 Richard Guenther <rguenther@suse.de> |
5649 | ||
5650 | PR tree-optimization/49394 | |
5651 | * passes.c (execute_one_pass): Restore current_pass after | |
5652 | applying IPA transforms. | |
5653 | ||
5da49a9d KT |
5654 | 2011-06-27 Kai Tietz <ktietz@redhat.com> |
5655 | ||
5656 | * tree-ssa-math-opts.c (do_shift_rotate): Zero bits | |
5657 | out of type precision after operation. | |
0d5e0c1b UB |
5658 | (find_bswap): Take for limit value the integer auto-promotion |
5659 | into account. | |
5da49a9d | 5660 | |
9242213f EB |
5661 | 2011-06-27 Eric Botcazou <ebotcazou@adacore.com> |
5662 | ||
5663 | * reorg.c (fill_simple_delay_slots): Use stop_search_p to stop the | |
5664 | forward scan as well. | |
5665 | ||
db8b22ef TG |
5666 | 2011-06-27 Tristan Gingold <gingold@adacore.com> |
5667 | ||
5668 | PR target/44241 | |
5669 | * config/vms/vms-protos.h: New file. | |
5670 | * config/vms/vms-crtlmap.map: New file. | |
5671 | * config/vms/vms.c: New file. | |
5672 | * config/vms/make-crtlmap.awk: New file. | |
5673 | * config/vms/vms-crtl.h: File removed. | |
5674 | * config/vms/vms-crtl-64.h: File removed. | |
5675 | * config/vms/t-vms (vms-crtlmap.h, vms.o): New targets. | |
5676 | * config/alpha/vms64.h: Do not include vms-crtl-64.h | |
5677 | * config/alpha/alpha.c (alpha_init_builtins): Remove code to | |
5678 | clear some builtins on VMS. Calls vms_patch_builtins. | |
5679 | (avms_asm_output_external): Remove. | |
5680 | * config/alpha/vms.h (ASM_OUTPUT_EXTERNAL): Remove. | |
5681 | (struct crtl_name_spec): Remove | |
5682 | (DO_CTRL_NAMES): Remove. | |
5683 | * config/ia64/vms.h (struct crtl_name_spec): Remove | |
5684 | (DO_CTRL_NAMES): Remove. | |
5685 | * config/ia64/ia64.c (alpha_init_builtins): Remove code to | |
5686 | clear some builtins on VMS. Calls vms_patch_builtins. | |
5687 | (ia64_asm_output_external): Remove DO_CRTL_NAME. | |
5688 | * config/ia64/vms64.h: Do not include vms-crtl-64.h | |
0d5e0c1b | 5689 | * config.gcc (*-*-*vms*): Define extra_objs, target_gtfiles, tm_p_file. |
db8b22ef | 5690 | |
b213221d TG |
5691 | 2011-06-27 Tristan Gingold <gingold@adacore.com> |
5692 | ||
5693 | * config/alpha/alpha.c (alpha_end_function): Always generate .end | |
5694 | directive on VMS. | |
5695 | ||
157b9300 EB |
5696 | 2011-06-27 Eric Botcazou <ebotcazou@adacore.com> |
5697 | ||
5698 | * config/sparc/sparc.c (sparc_frame_pointer_required): Return true if | |
5699 | the function receives nonlocal gotos. | |
5700 | ||
ccbf5bb4 RG |
5701 | 2011-06-27 Richard Guenther <rguenther@suse.de> |
5702 | ||
5703 | PR tree-optimization/49536 | |
5704 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): | |
5705 | For non-scalar inner types use a scalar type according to | |
5706 | the scalar inner mode. | |
5707 | ||
fe4cd14b RG |
5708 | 2011-06-27 Richard Guenther <rguenther@suse.de> |
5709 | ||
5710 | PR tree-optimization/49365 | |
5711 | * params.def (min-insn-to-prefetch-ratio): Reduce from 10 to 9. | |
5712 | ||
afc3f22f RS |
5713 | 2011-06-27 Richard Guenther <rguenther@suse.de> |
5714 | ||
5715 | PR tree-optimization/49169 | |
5716 | * fold-const.c (get_pointer_modulus_and_residue): Don't rely on | |
5717 | the alignment of function decls. | |
5718 | ||
92590751 | 5719 | 2011-06-26 Iain Sandoe <iains@gcc.gnu.org> |
a45a766b IS |
5720 | |
5721 | PR target/47997 | |
5722 | * config/darwin.c (darwin_mergeable_string_section): Place string | |
5723 | constants in '.cstring' rather than '.const' when CF/NSStrings are | |
5724 | active. | |
5725 | ||
605354f3 EB |
5726 | 2011-06-26 Eric Botcazou <ebotcazou@adacore.com> |
5727 | ||
5728 | * config/sparc/sparc.c (save_local_or_in_reg_p): Adjust comment. | |
5729 | (emit_save_register_window): Likewise. | |
5730 | (sparc_expand_prologue): Use SIZE_INT_RTX and SIZE_RTX variables. | |
5731 | (sparc_flat_expand_prologue): Add comment. Always emit blockage. | |
5732 | Swap back %o7/%i7 in register naming. | |
5733 | ||
0e9197f5 IS |
5734 | 2011-06-25 Iain Sandoe <iains@gcc.gnu.org> |
5735 | ||
5736 | PR driver/49371 | |
5737 | * config/darwin.c (darwin_override_options): Improve warning when | |
5738 | mdynamic-no-pic is given together with fPIC/fpic, also warn when it | |
5739 | is given with fpie/fPIE. | |
5740 | * config/darwin.h (PIE_SPEC): New, (LINK_SPEC): Use PIE_SPEC. | |
5741 | * config/darwin9.h (PIE_SPEC): New. | |
53461199 | 5742 | |
605354f3 | 5743 | 2011-06-25 Basile Starynkevitch <basile@starynkevitch.net> |
53461199 BS |
5744 | |
5745 | * timevar.c (timevar_print): Increase width for display of timevar | |
5746 | name. | |
5747 | ||
f796c438 JJ |
5748 | 2011-06-24 Jakub Jelinek <jakub@redhat.com> |
5749 | ||
5750 | PR c++/46400 | |
5751 | * c-decl.c (union lang_tree_node): Use TYPE_NEXT_VARIANT | |
5752 | instead of TYPE_CHAIN for chain_next for types. | |
5753 | ||
a7289eaf RH |
5754 | 2011-06-24 Richard Henderson <rth@redhat.com> |
5755 | ||
5756 | * config/sparc/sparc.md (create_flat_frame_1<P:mode>): Remove. | |
5757 | (create_flat_frame_2<P:mode>, create_flat_frame_3<P:mode>): Remove. | |
5758 | * config/sparc/sparc.c (gen_create_flat_frame_1): Remove. | |
5759 | (gen_create_flat_frame_2, gen_create_flat_frame_3): Remove. | |
5760 | (sparc_flat_expand_prologue): Emit individual instructions | |
5761 | instead of one of the above. | |
5762 | ||
c4b9a87e ER |
5763 | 2011-06-24 Easwaran Raman <eraman@google.com> |
5764 | ||
5765 | PR rtl-optimization/49429 | |
5766 | PR target/49454 | |
5767 | * expr.c (emit_block_move_hints): Mark MEM_EXPR(x) and | |
5768 | MEM_EXPR(y) addressable if emit_block_move_via_libcall is | |
5769 | used to copy y into x. | |
5770 | * calls.c (initialize_argument_information): Mark | |
5771 | an argument addressable if it is passed by invisible reference. | |
5772 | (emit_library_call_value_1): Mark MEM_EXPR (val) addressable | |
5773 | if it is passed by reference. | |
5774 | ||
5ac6c59e L |
5775 | 2011-06-24 H.J. Lu <hongjiu.lu@intel.com> |
5776 | ||
5777 | PR rtl-optimization/49504 | |
5778 | * rtlanal.c (nonzero_bits1): Properly handle addition or | |
1f134bd6 L |
5779 | subtraction of a pointer in Pmode if pointers extend unsigned. |
5780 | (num_sign_bit_copies1): Likewise. | |
5ac6c59e | 5781 | |
b807e627 MJ |
5782 | 2011-06-24 Martin Jambor <mjambor@suse.cz> |
5783 | ||
5784 | PR tree-optimizations/49516 | |
5785 | * tree-sra.c (sra_modify_assign): Choose the safe path for | |
5786 | aggregate copies if we also did scalar replacements. | |
5787 | ||
9a1ea4b9 RR |
5788 | 2011-06-24 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
5789 | ||
5790 | PR target/49335 | |
5791 | * config/arm/predicates.md (add_operator): New. | |
0d5e0c1b | 5792 | * config/arm/arm.md ("*arith_shiftsi"): Fix for SP reg usage in Thumb2. |
9a1ea4b9 | 5793 | |
949cfd0a AK |
5794 | 2011-06-24 Andi Kleen <ak@linux.intel.com> |
5795 | ||
5796 | * tree-sra.c (type_internals_preclude_sra_p): Add msg | |
5797 | parameter. Split up ifs and report reason in *msg. | |
5798 | (reject): Add. | |
5799 | (find_var_candiate): Add msg variable. | |
5800 | Split up ifs and report reason to reject. | |
5801 | (find_param_candidates): Add msg variable. | |
5802 | Pass msg to type_internals_preclude_sra_p. | |
5803 | ||
49e9c661 | 5804 | 2011-06-23 Jeff Law <law@redhat.com> |
ad3577df | 5805 | |
b0c11403 JL |
5806 | PR middle-end/48770 |
5807 | * reload.h (reload): Change to return a bool. | |
5808 | * ira.c (ira): If requested by reload, run a fast DCE pass after | |
5809 | reload has completed. Fix comment typo. | |
5810 | * reload1.c (need_dce): New file scoped static. | |
5811 | (reload): Set reload_completed here. Return whether or not a DCE | |
5812 | pass after reload is needed. | |
5813 | (delete_dead_insn): Set need_dce as needed. | |
5814 | ||
ad3577df JL |
5815 | PR middle-end/49465 |
5816 | * tree-ssa-threadupate.c (fix_duplicate_block_edges): Fix condition | |
5817 | to detect threading through joiner block. If there was already | |
5818 | an edge to the new target, then do not change the PHI nodes. | |
5819 | ||
7cf64710 JJ |
5820 | 2011-06-23 Jakub Jelinek <jakub@redhat.com> |
5821 | ||
5822 | * tree-vect-data-refs.c (vect_compute_data_ref_alignment): Use | |
5823 | get_pointer_alignment to see if base isn't sufficiently aligned. | |
5824 | ||
febb1302 JH |
5825 | 2011-06-23 Jan Hubicka <jh@suse.cz> |
5826 | ||
5827 | PR tree-optimize/49373 | |
5828 | * tree-pass.h (all_late_ipa_passes): Declare. | |
5829 | * cgraphunit.c (init_lowered_empty_function): Fix properties. | |
4a9206ce EB |
5830 | (cgraph_optimize): Execute late passes; remove unreachable funcions |
5831 | after materialization. | |
5832 | * ipa-inline.c (gate_ipa_inline): Enable only when optimizing or | |
5833 | LTOing. | |
febb1302 JH |
5834 | * passes.c (all_late_ipa_passes): Declare. |
5835 | (dump_passes, register_pass): Handle late ipa passes. | |
4a9206ce EB |
5836 | (init_optimization_passes): Move ipa_pta to late passes; schedule |
5837 | fixup_cfg at beggining of all_passes. | |
febb1302 JH |
5838 | (apply_ipa_transforms): New function. |
5839 | (execute_one_pass): When doing simple ipa pass, apply all transforms. | |
5840 | ||
4c77620d JM |
5841 | 2011-06-23 Joseph Myers <joseph@codesourcery.com> |
5842 | ||
5843 | * params.c: Include common/common-target.h. Don't include tm.h. | |
5844 | (lang_independent_params): Move from toplev.c. | |
5845 | (global_init_params): New. | |
5846 | * params.h (global_init_params): Declare. | |
5847 | * target.def (default_params): Move to common-target.def. | |
5848 | * toplev.c (lang_independent_options): Remove. | |
5849 | (lang_independent_params): Move to params.c. | |
5850 | (general_init): Use global_init_params. | |
5851 | * common/common-target.def (option_default_params): Move from | |
5852 | target.def. | |
5853 | * common/config/ia64/ia64-common.c: Include params.h. | |
5854 | (ia64_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): Move | |
5855 | from ia64.c. | |
5856 | * common/config/rs6000/rs6000-common.c: Include params.h. | |
5857 | (rs6000_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): Move | |
5858 | from rs6000.c. | |
5859 | * common/config/sh/sh-common.c: Include params.h. | |
5860 | (sh_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): Move | |
5861 | from sh.c. | |
5862 | * common/config/spu/spu-common.c: Include params.h. | |
5863 | (spu_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): Move | |
5864 | from spu.c. | |
5865 | * config/ia64/ia64.c (ia64_option_default_params, | |
5866 | TARGET_OPTION_DEFAULT_PARAMS): Move to ia64-common.c. | |
5867 | * config/rs6000/rs6000.c (rs6000_option_default_params, | |
5868 | TARGET_OPTION_DEFAULT_PARAMS): Move to rs6000-common.c. | |
5869 | * config/sh/sh.c (sh_option_default_params, | |
5870 | TARGET_OPTION_DEFAULT_PARAMS): Move to sh-common.c. | |
5871 | * config/spu/spu.c (spu_option_default_params, | |
5872 | TARGET_OPTION_DEFAULT_PARAMS): Move to spu-common.c. | |
5873 | * Makefile.in (OBJS): Remove params.o. | |
5874 | (OBJS-libcommon-target): Add params.o. | |
5875 | (params.o, $(common_out_object_file)): Update dependencies. | |
5876 | * doc/tm.texi: Regenerate. | |
5877 | ||
6aad1e38 AM |
5878 | 2011-06-23 Alan Modra <amodra@gmail.com> |
5879 | ||
5880 | PR bootstrap/49383 | |
5881 | * config/rs6000/rs6000.c (call_ABI_of_interest): Adjust cgraph | |
5882 | invocation for 2011-06-09 changes. | |
5883 | ||
4fb489e7 JJ |
5884 | 2011-06-22 Jakub Jelinek <jakub@redhat.com> |
5885 | ||
fb79f500 JJ |
5886 | PR libgomp/49490 |
5887 | * omp-low.c (expand_omp_for_static_nochunk): Only | |
0d5e0c1b UB |
5888 | use n ceil/ nthreads size for the first n % nthreads threads in the |
5889 | team instead of all threads except for the last few ones which | |
fb79f500 JJ |
5890 | get less work or none at all. |
5891 | ||
4fb489e7 JJ |
5892 | PR debug/49496 |
5893 | * tree-vect-patterns.c (vect_recog_widen_mult_pattern): Ignore debug | |
5894 | uses. | |
5895 | ||
9c7c9f10 RG |
5896 | 2011-06-22 Richard Guenther <rguenther@suse.de> |
5897 | ||
5898 | PR tree-optimization/49493 | |
5899 | * tree-ssa-structalias.c (get_constraint_for_ssa_var): | |
5900 | Refer to the alias target of variables. | |
5901 | (associate_varinfo_to_alias_1): Remove. | |
5902 | (ipa_pta_execute): Do not associate aliases with anything. | |
5903 | * cgraph.h (varpool_alias_aliased_node): Fix cut&paste errors. | |
5904 | (cgraph_function_node): Likewise. | |
5905 | (cgraph_function_or_thunk_node): Likewise. | |
5906 | (varpool_variable_node): Likewise. | |
5907 | ||
7cf13d1f NS |
5908 | 2011-06-22 Nathan Sidwell <nathan@codesourcery.com> |
5909 | ||
0d5e0c1b | 5910 | * config/arm/arm.h (OPTION_DEFAULT_SPECS): Fix -mtls-dialect typo. |
7cf13d1f NS |
5911 | * config.gcc (arm*-*-linux*): Default to gnu tls. |
5912 | (arm*-*-*): Add --with-tls option. | |
5913 | (all_defaults): Add 'tls'. | |
5914 | ||
78a8eb4e RH |
5915 | 2011-06-22 Richard Henderson <rth@redhat.com> |
5916 | ||
5917 | * reg-notes.def (REG_CFA_WINDOW_SAVE): New. | |
5918 | * dwarf2out.c (dwarf2out_frame_debug): Handle it. | |
5919 | (dwarf2out_frame_debug_cfa_window_save): Rename from | |
5920 | dwarf2out_window_save; make static. | |
5921 | * tree.h (dwarf2out_window_save): Don't declare. | |
5922 | ||
5923 | * config/sparc/sparc.c (sparc_dwarf_handle_frame_unspec): Remove. | |
5924 | (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Remove. | |
5925 | (emit_save_register_window): Rename from gen_save_register_window; | |
5926 | emit the insn and add REG_CFA_* notes. | |
5927 | (sparc_expand_prologue): Update to match. | |
5928 | * config/sparc/sparc.md (save_register_window_1): Simplify from | |
5929 | save_register_window<P:mode>. | |
5930 | ||
3b4c46d7 L |
5931 | 2011-06-22 H.J. Lu <hongjiu.lu@intel.com> |
5932 | ||
5933 | PR target/49497 | |
5934 | * config/i386/i386.md (*lea_general_2): Always allow SImode. | |
5935 | (*lea_general_2_zext): Likewise. | |
5936 | (imul to lea peepholes): Use const359_operand and check | |
5937 | TARGET_PARTIAL_REG_STALL. | |
5938 | ||
5939 | * config/i386/predicates.md (const359_operand): New. | |
5940 | ||
4399cf59 MM |
5941 | 2011-06-22 Michael Matz <matz@suse.de> |
5942 | ||
5943 | * cgraphunit.c (assemble_thunk): Use correct return type. | |
5944 | ||
31a0c825 | 5945 | 2011-06-22 Dmitry Plotnikov <dplotnikov@ispras.ru> |
0d5e0c1b | 5946 | Dmitry Melnik <dm@ispras.ru> |
31a0c825 DP |
5947 | |
5948 | * config/arm/arm.c (neon_immediate_valid_for_shift): New function. | |
5949 | (neon_output_shift_immediate): Ditto. | |
5950 | * config/arm/arm-protos.h (neon_immediate_valid_for_shift): New | |
5951 | prototype. | |
5952 | (neon_output_shift_immediate): Ditto. | |
5953 | * config/arm/neon.md (vashl<mode>3): Modified constraint. | |
5954 | (vashr<mode>3_imm): New insn pattern. | |
5955 | (vlshr<mode>3_imm): Ditto. | |
5956 | (vashr<mode>3): Modified constraint. | |
5957 | (vlshr<mode>3): Ditto. | |
5958 | * config/arm/predicates.md (imm_for_neon_lshift_operand): New | |
5959 | predicate. | |
5960 | (imm_for_neon_rshift_operand): Ditto. | |
5961 | (imm_lshift_or_reg_neon): Ditto. | |
5962 | (imm_rshift_or_reg_neon): Ditto. | |
5963 | ||
5964 | * optabs.c (init_optabs): Init optab codes for vashl, vashr, vlshr. | |
5965 | ||
ddb555ed JJ |
5966 | 2011-06-22 Jakub Jelinek <jakub@redhat.com> |
5967 | ||
36dc1a88 JJ |
5968 | * tree-ssa-ccp.c (evaluate_stmt): Try bitwise tracking for |
5969 | builtin calls even if likelyvalue is not CONSTANT. | |
5970 | Handle BUILT_IN_STRDUP and BUILT_IN_STRNDUP like BUILT_IN_MALLOC. | |
5971 | Return get_value_for_expr of first operand | |
5972 | for BUILT_IN_{MEM{CPY,MOVE,SET},STR{,N}CPY}{,_CHK}. | |
5973 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle | |
5974 | BUILT_IN_{MEM{{,P}CPY,MOVE,SET},STR{,N}C{PY,AT},STPCPY}_CHK like | |
5975 | their non-checking counterparts. | |
5976 | (call_may_clobber_ref_p_1): Likewise. | |
5977 | (stmt_kills_ref_p_1): Handle BUILT_IN_MEM{{,P}CPY,MOVE,SET}_CHK | |
5978 | like their non-checking counterparts. | |
5979 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
5980 | Handle BUILT_IN_{MEM{{,P}CPY,MOVE,SET},STR{,N}C{PY,AT},STPCPY}_CHK | |
5981 | like their non-checking counterparts. | |
5982 | (find_func_clobbers): Likewise. | |
5983 | * tree-ssa-dce.c (propagate_necessity): Handle BUILT_IN_MEMSET_CHK | |
5984 | like BUILT_IN_MEMSET and BUILT_IN_CALLOC like BUILT_IN_MALLOC. | |
5985 | ||
41cd4957 JJ |
5986 | * dwarf2out.c (size_of_loc_descr, output_loc_operands, |
5987 | mark_base_types, hash_loc_operands, compare_loc_operands): Allow | |
5988 | DW_OP_GNU_convert and DW_OP_GNU_reinterpret to use constant instead | |
5989 | of base type reference as argument. | |
5990 | (resolve_addr_in_expr): Likewise. Fix keep computation. | |
5991 | (convert_descriptor_to_signed): Renamed to... | |
0d5e0c1b UB |
5992 | (convert_descriptor_to_mode): ... this. For wider types convert to |
5993 | unsigned instead of signed, for <= DWARF2_ADDR_SIZE convert to untyped. | |
41cd4957 JJ |
5994 | (typed_binop): New function. |
5995 | (scompare_loc_descriptor, ucompare_loc_descriptor, | |
5996 | minmax_loc_descriptor, mem_loc_descriptor): For wider integer modes | |
5997 | default to unsigned type instead of signed. | |
5998 | ||
ddb555ed JJ |
5999 | PR debug/47858 |
6000 | * gimple.h (enum gimple_debug_subcode): Add GIMPLE_DEBUG_SOURCE_BIND. | |
6001 | (gimple_build_debug_source_bind_stat): New prototype. | |
6002 | (gimple_build_debug_source_bind): Define. | |
6003 | (gimple_debug_source_bind_p, gimple_debug_source_bind_get_var, | |
6004 | gimple_debug_source_bind_get_value, | |
6005 | gimple_debug_source_bind_get_value_ptr, | |
6006 | gimple_debug_source_bind_set_var, | |
6007 | gimple_debug_source_bind_set_value): New inlines. | |
6008 | * gimple.c (gimple_build_debug_source_bind_stat): New function. | |
6009 | * gimple-pretty-print.c (dump_gimple_debug): Handle | |
6010 | GIMPLE_DEBUG_SOURCE_BIND. | |
6011 | * sese.c (rename_uses): Handle gimple_debug_source_bind_p. | |
6012 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise. | |
6013 | * tree-parloops.c (eliminate_local_variables, | |
6014 | separate_decls_in_region): Likewise. | |
6015 | (separate_decls_in_region_debug): Renamed from | |
6016 | separate_decls_in_region_debug_bind. Handle | |
6017 | gimple_debug_source_bind_p. | |
6018 | * tree.h (decl_debug_args_lookup, decl_debug_args_insert): New | |
6019 | prototypes. | |
6020 | (DECL_HAS_DEBUG_ARGS_P): Define. | |
6021 | (struct tree_function_decl): Add has_debug_args_flag field. | |
6022 | * tree.c (debug_args_for_decl): New variable. | |
6023 | (decl_debug_args_lookup, decl_debug_args_insert): New functions. | |
6024 | * tree-into-ssa.c (mark_def_sites): Handle uses in debug stmts. | |
6025 | (rewrite_debug_stmt_uses): New function. | |
6026 | (rewrite_stmt): Use it to rewrite debug stmt uses. | |
6027 | * rtl.def (DEBUG_PARAMETER_REF): New. | |
6028 | * rtl.h (DEBUG_PARAMETER_REF_DECL): Define. | |
6029 | * cselib.c (rtx_equal_for_cselib_1, cselib_hash_rtx): Handle | |
6030 | DEBUG_PARAMETER_REF. | |
6031 | * rtl.c (rtx_equal_p_cb, rtx_equal_p, iterative_hash_rtx): Likewise. | |
6032 | * print-rtl.c (print_rtx): Likewise. | |
6033 | * tree-sra.c (sra_ipa_reset_debug_stmts): Prefer replacing of | |
6034 | SSA_NAMEs with DEBUG_EXPR_DECLs initialized in source bind | |
6035 | debug stmts in the first bb. | |
6036 | * tree-inline.c (remap_ssa_name): If remapping default def | |
6037 | of a PARM_DECL fails, map to a DEBUG_EXPR_DECL set in | |
6038 | a source bind debug stmt. | |
6039 | (remap_gimple_stmt): Handle gimple_debug_source_bind_p. | |
6040 | (maybe_move_debug_stmts_to_successors): Likewise. | |
6041 | (copy_debug_stmt): Likewise. Avoid shadowing a variable. | |
6042 | (tree_function_versioning): If DECL_HAS_DEBUG_ARGS_P, copy | |
6043 | debug args vector from old_decl to new_decl. | |
6044 | * ipa-prop.c (ipa_modify_call_arguments): For optimized away | |
6045 | or modified parameters, add debug bind stmts before call | |
0d5e0c1b | 6046 | setting DEBUG_EXPR_DECL which is remembered in debug args vector. |
ddb555ed JJ |
6047 | * cfgexpand.c (expand_call_stmt): Call expand_debug_expr |
6048 | on DECL_DEBUG_EXPRs from debug args vector. | |
6049 | (expand_debug_source_expr): New function. | |
6050 | (expand_debug_locations): Use it for source bind insns. | |
6051 | (expand_gimple_basic_block): Handle gimple_debug_source_bind_p. | |
6052 | * var-tracking.c (prepare_call_arguments): Add debug args | |
6053 | to call_arguments if any. | |
6054 | * dwarf2out.c (dwarf_stack_op_name, size_of_loc_descr, | |
0d5e0c1b UB |
6055 | output_loc_operands, output_loc_operands_raw, resolve_addr_in_expr, |
6056 | compare_loc_operands): Handle DW_OP_GNU_parameter_ref. | |
ddb555ed JJ |
6057 | (get_ref_die_offset, parameter_ref_descriptor): New functions. |
6058 | (mem_loc_descriptor): Handle DEBUG_PARAMETER_REF. | |
6059 | (gen_subprogram_die): Handle parameters identified by | |
6060 | DEBUG_PARAMETER_REF. | |
6061 | ||
ccdc2164 NS |
6062 | 2011-06-22 Nathan Sidwell <nathan@codesourcery.com> |
6063 | ||
6064 | * doc/invoke.texi (ARM Options): Document -mtls-dialect option. | |
6065 | * doc/install.texi (Configuration): Document --with-tls. | |
ccdc2164 NS |
6066 | * config/arm/arm.c (enum tls_reloc): Add TLS_DESCSEQ. |
6067 | (arm_call_tls_get_addr): Clean up. Assert not tls descriptor. | |
6068 | (arm_tls_descseq_addr): New. | |
6069 | (legitimize_tls_address): Add tlsdesc support. | |
6070 | (arm_cannot_copy_insn_p): Check for tlscall. | |
6071 | (arm_emit_tls_decoration): Likewise. | |
6072 | * config/arm/arm.h (TARGET_GNU2_TLS): New. | |
6073 | (OPTION_DEFAULT_SPECS): Add with-tls support. | |
6074 | * config/arm/arm.md (R1_REGNUM): Define. | |
6075 | (tlscall): New. | |
6076 | * config/arm/arm.opt (tls_type): New enumeration type and values. | |
6077 | (mtls-dialect): New switch. | |
6078 | * config/arm/arm-opts.h (enum tls_type): New. | |
6079 | ||
70e41a6a NP |
6080 | 2011-06-21 Nicola Pero <nicola.pero@meta-innovation.com> |
6081 | ||
6082 | * attribs.c (register_attribute): Added assert to check that all | |
6083 | attribute specs are registered with a name that is not empty and | |
6084 | does not start with '_'. | |
6085 | (decl_attributes): Avoid the lookup of the "naked" attribute spec | |
6086 | if the function has no attributes. | |
6087 | * tree.c (is_attribute_with_length_p): Removed. | |
6088 | (is_attribute_p): Removed. | |
0d5e0c1b | 6089 | (private_is_attribute_p): New. |
70e41a6a NP |
6090 | (private_lookup_attribute): New. |
6091 | (lookup_attribute): Removed. | |
6092 | (lookup_ident_attribute): New. | |
6093 | (remove_attribute): Require the first argument to be in the form | |
6094 | 'text', not '__text__'. Updated asserts. | |
6095 | (merge_attributes): Use lookup_ident_attributes instead of | |
6096 | lookup_attribute. | |
6097 | (merge_dllimport_decl_attributes): Use remove_attribute. | |
6098 | (attribute_list_contained): Likewise. | |
6099 | (attribute_list_equal): Immediately return 1 if the arguments are | |
6100 | identical pointers. | |
6101 | * tree.h (is_attribute_p): Made inline. Return a 'bool', not an | |
6102 | 'int'. Require the first argument to be in the form 'text', not | |
6103 | '__text__'. Require the second argument to be an identifier. | |
6104 | (lookup_attribute): Made inline. Require the first argument to be | |
6105 | in the form 'text', not '__text__'. | |
6106 | (private_is_attribute_p, private_lookup_attribute): New. | |
6107 | Updated comments. | |
0d5e0c1b | 6108 | |
e0a8ecf2 AM |
6109 | 2011-06-21 Andrew MacLeod <amacleod@redhat.com> |
6110 | ||
6111 | * builtins.c: Add sync_ or SYNC__ to builtin names. | |
6112 | * sync-builtins.def: Add sync_ or SYNC__ to builtin names. | |
6113 | * omp-low.c: Add sync_ or SYNC__ to builtin names. | |
6114 | ||
663827d3 | 6115 | 2011-06-21 Georg-Johann Lay <avr@gjlay.de> |
637c11bd | 6116 | |
663827d3 GJL |
6117 | PR target/33049 |
6118 | * config/avr/avr.md (extzv): New expander. | |
6119 | (*extzv): New insn. | |
6120 | (*extzv.qihi1, *extzv.qihi2): New insn-and-split. | |
6121 | * config/avr/constraints.md (C04): New constraint. | |
6122 | * doc/md.texi (Machine Constraints): Document it. | |
6123 | ||
146aef0b JJ |
6124 | 2011-06-21 Jakub Jelinek <jakub@redhat.com> |
6125 | ||
6126 | PR middle-end/49489 | |
6127 | * builtins.c (expand_builtin_unop): Call expand_unop with 0 as | |
6128 | unsignedp argument instead of 1 for clrsb_optab. | |
6129 | (fold_builtin_bitop): Fix masking for width > HOST_BITS_PER_WIDE_INT | |
6130 | and < 2 * HOST_BITS_PER_WIDE_INT. Optimize BUILT_IN_CLRSB*. | |
6131 | (fold_builtin_1): Call fold_builtin_binop for BUILT_IN_CLRSB*. | |
6132 | * optabs.c (widen_leading): Call widen_operand and expand_unop | |
6133 | with 0 as unsignedp argument instead of 1 for clrsb_optab. | |
637c11bd | 6134 | (expand_unop): Subtract difference of mode sizes also for clrsb_optab. |
146aef0b | 6135 | |
c0503294 GJL |
6136 | 2011-06-21 Georg-Johann Lay <avr@gjlay.de> |
6137 | ||
6138 | * config/avr/avr.md (*jcindirect_jump): Fix build warning. | |
6139 | ||
3801c801 BS |
6140 | 2011-06-21 Bernd Schmidt <bernds@codesourcery.com> |
6141 | ||
0bddee8e BS |
6142 | * gensupport.c (add_define_attr): New static function. |
6143 | (is_predicable): Allow multi-alternative lists for the "predicable" | |
6144 | attribute. | |
6145 | (modify_attr_enabled_ce, alter_attrs_for_insn): New static functions. | |
6146 | (process_one_cond_exec): Call alter_attrs_for_insn. | |
6147 | * doc/md.texi (Defining Attributes): Mention some standard names. | |
6148 | (Conditional Execution): Update documentation for "predicable". | |
6149 | ||
3801c801 BS |
6150 | * doc/extend.texi (__builtin_clrsb, __builtin_clrsbl, |
6151 | __builtin_clrsbll): Document. | |
6152 | * doc/rtl.texi (clrsb): New entry. | |
6153 | * optabs.c (widen_leading): Renamed from widen_clz. New argument | |
6154 | UNOPTAB. All callers changed. Use UNOPTAB instead of clz_optab. | |
6155 | (expand_unop): Handle clrsb_optab. | |
6156 | (init_optabs): Initialize it. | |
6157 | * optabs.h (enum optab_index): New entry OTI_clrsb. | |
6158 | (clrsb_optab): Define. | |
6159 | * genopinit.c (optabs): Add an entry for it. | |
6160 | * builtins.c (expand_builtin): Handle clrsb builtin functions. | |
6161 | * builtins.def (BUILT_IN_CLRSB, BUILT_IN_CLRSBIMAX, BUILT_IN_CLRSBL, | |
6162 | BUILT_IN_CLRSBLL): New. | |
6163 | * rtl.def (CLRSB): New code. | |
6164 | * dwarf2out.c (mem_loc_descriptor): Handle it. | |
6165 | * simplify-rtx.c (simplify_const_unary_operation): Likewise. | |
6166 | Use op_mode rather than mode when optimizing ffs, clz, ctz, parity | |
6167 | and popcount. | |
6168 | * libgcc2.c (__clrsbSI2, __clrsbDI2): New functions. | |
6169 | * libgcc2.h (__clrsbSI2, __clrsbDI2): Define and declare. | |
6170 | (__ctzDI2): Move declaration. | |
6171 | * config/bfin/bfin.md (clrsbsi2): New expander. | |
6172 | (signbitssi2): Use the CLRSB rtx. | |
6173 | (clrsbhi2): Renamed from signbitshi2. Use the CLRSB rtx. | |
6174 | * config/bfin/bfin.c (bdesc_1arg): Changed accordingly. | |
6175 | ||
55f01229 RG |
6176 | 2011-06-21 Richard Guenther <rguenther@suse.de> |
6177 | ||
637c11bd | 6178 | * ipa-inline-transform.c (inline_transform): Fix previous change. |
55f01229 | 6179 | |
5181cd6a IR |
6180 | 2011-06-21 Ira Rosen <ira.rosen@linaro.org> |
6181 | ||
6182 | PR tree-optimization/49478 | |
6183 | * tree-vect-loop.c (vectorizable_reduction): Handle DOT_PROD_EXPR | |
6184 | with constant operand. | |
6185 | ||
e4ee3d70 RG |
6186 | 2011-06-21 Richard Guenther <rguenther@suse.de> |
6187 | ||
6188 | * ipa-inline-transform.c (inline_transform): Fix typo. | |
637c11bd | 6189 | |
7b7ec6c5 RG |
6190 | 2011-06-21 Richard Guenther <rguenther@suse.de> |
6191 | ||
6192 | PR tree-optimization/49483 | |
6193 | * tree-vect-stmts.c (vectorizable_assignment): Also handle | |
6194 | VIEW_CONVERT_EXPR conversions. | |
6195 | ||
1b916ca6 JM |
6196 | 2011-06-21 Joseph Myers <joseph@codesourcery.com> |
6197 | ||
6198 | * config/avr/avr-mcus.def, config/avr/genopt.sh: New files. | |
6199 | * config/avr/avr-tables.opt: New file (generated). | |
6200 | * config.gcc (avr-*-*): Use avr/avr-tables.opt. | |
6201 | * config/avr/avr-devices.c (avr_mcu_types): Move contents to | |
6202 | avr-mcus.def. | |
6203 | * config/avr/avr.c (avr_help, TARGET_HELP): Remove. | |
6204 | (avr_option_override): Don't process -mmcu= argument here. Set | |
6205 | avr_current_device using avr_mcu_index. | |
637c11bd | 6206 | (avr_file_start): Use avr_current_device->name instead of avr_mcu_name. |
1b916ca6 JM |
6207 | * config/avr/avr.opt (mmcu=): Use Enum. |
6208 | * config/avr/t-avr (avr-devices.o): Update dependencies. | |
6209 | ($(srcdir)/config/avr/avr-tables.opt): New. | |
6210 | * target.def (help): Remove. | |
6211 | * doc/tm.texi.in (TARGET_HELP): Remove. | |
6212 | * doc/tm.texi: Regenerate. | |
6213 | * opts.c: Don't include target.h. | |
6214 | (common_handle_option): Don't call targetm.help. | |
6215 | * system.h (TARGET_HELP): Poison. | |
6216 | * Makefile.in (opts.o): Update dependencies. | |
6217 | ||
7ecfa34f RO |
6218 | 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6219 | ||
6220 | * config/usegld.h: New file. | |
6221 | * config/sol2.h (PREFERRED_DEBUGGING_TYPE): Remove. | |
6222 | (CPP_SUBTARGET_SPEC): Remove -compat-bsd support. | |
637c11bd | 6223 | (LIB_SPEC): Likewise. Search /lib. |
7ecfa34f RO |
6224 | (LINK_ARCH32_SPEC_BASE): Remove -compat-bsd support. |
6225 | (RDYNAMIC_SPEC): Handle GNU ld. | |
637c11bd UB |
6226 | [HAVE_LD_EH_FRAME_HDR && TARGET_DL_ITERATE_PHDR] (LINK_EH_SPEC): |
6227 | Define. | |
7ecfa34f RO |
6228 | (SUPPORTS_INIT_PRIORITY): Only disable for Sun ld. |
6229 | (SUBTARGET_INSERT_ATTRIBUTES, SUBTARGET_ATTRIBUTE_TABLE): Define. | |
6230 | [!USE_GAS] (NO_DBX_BNSYM_ENSYM): Redefine. | |
6231 | (STACK_CHECK_STATIC_BUILTIN): Define. | |
6232 | * config/sol2.opt (compat-bsd): Remove. | |
6233 | * config/sol2-10.h (TARGET_C99_FUNCTIONS): Remove undef. | |
6234 | * config/sol2-bi.h: New file. | |
6235 | * config/sol2-gld.h: Remove. | |
6236 | * config/i386/sol2.h (TLS_COMMON_ASM_OP): Only define if !USE_GAS. | |
6237 | (NO_DBX_BNSYM_ENSYM): Remove. | |
6238 | (SUBTARGET_INSERT_ATTRIBUTES, SUBTARGET_ATTRIBUTE_TABLE): Remove. | |
6239 | (STACK_CHECK_STATIC_BUILTIN): Remove. | |
6240 | Test USE_GLD instead of TARGET_GNU_LD. | |
6241 | * config/i386/sol2-10.h: Rename to ... | |
6242 | * config/i386/sol2-bi.h .. this. | |
6243 | (SUBTARGET_EXTRA_SPECS): Redefine. | |
6244 | (WCHAR_TYPE, WCHAR_TYPE_SIZE, WINT_TYPE, WINT_TYPE_SIZE): Remove. | |
6245 | (MULTILIB_DEFAULTS): Remove. | |
6246 | (DEFAULT_ARCH32_P): Define. | |
6247 | (LINK_ARCH64_SPEC_BASE, LINK_ARCH64_SPEC): Remove. | |
6248 | (ARCH64_SUBDIR): Define. | |
6249 | Test USE_GLD instead of TARGET_GNU_LD. | |
6250 | (I386_EMULATION): Rename to ... | |
6251 | (ARCH32_EMULATION): ... this. | |
6252 | (X86_64_EMULATION): Rename to ... | |
6253 | (ARCH64_EMULATION): ... this. | |
6254 | (TARGET_LD_EMULATION): Remove. | |
6255 | (LINK_ARCH_SPEC): Remove. | |
6256 | * config/i386/sol2-gas.h: Remove. | |
6257 | * config/i386/t-sol2-10: Rename to ... | |
6258 | * config/i386/t-sol2-64: ... this. | |
6259 | * config/sparc/sol2.h (SPARC_DEFAULT_CMODEL): Redefine. | |
6260 | (AS_SPARC64_FLAG): Define. | |
6261 | (ASM_CPU32_DEFAULT_SPEC, ASM_CPU64_DEFAULT_SPEC): Redefine. | |
6262 | (CPP_CPU64_DEFAULT_SPEC, ASM_CPU32_DEFAULT_SPEC): Redefine | |
6263 | depending on TARGET_CPU_DEFAULT. | |
6264 | (CPP_CPU_SPEC): Redefine. | |
6265 | (ASM_CPU_SPEC): Handle DEFAULT_ARCH32_P. | |
6266 | (CPP_CPU_DEFAULT_SPEC, ASM_CPU_DEFAULT_SPEC): Redefine. | |
6267 | (CPP_ARCH32_SPEC, CPP_ARCH64_SPEC, CPP_ARCH_SPEC): Redefine. | |
6268 | (ASM_ARCH_SPEC, ASM_ARCH32_SPEC, ASM_ARCH64_SPEC, | |
6269 | ASM_ARCH_DEFAULT_SPEC): Redefine. | |
6270 | (SUBTARGET_EXTRA_SPECS): Add LINK_ARCH32_SPEC, LINK_ARCH64_SPEC, | |
6271 | LINK_ARCH_DEFAULT_SPEC. | |
6272 | [USE_GLD] (ARCH32_EMULATION, ARCH64_EMULATION): Define. | |
6273 | [USE_GLD] (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC): Redefine. | |
6274 | (ARCH64_SUBDIR): Define. | |
6275 | (LINK_ARCH64_SPEC): Redefine. | |
6276 | (CC1_SPEC): Redefine. | |
6277 | (OPTION_DEFAULT_SPECS): Redefine. | |
6278 | (MULTILIB_DEFAULTS): Define. | |
6279 | (WCHAR_TYPE, WCHAR_TYPE_SIZE, WINT_TYPE, WINT_TYPE_SIZE): Redefine. | |
6280 | [USE_GAS && HAVE_AS_TLS] (TARGET_SUN_TLS, TARGET_GNU_TLS): Redefine. | |
6281 | [USE_GLD] (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undef. | |
6282 | (NO_DBX_BNSYM_ENSYM): Remove. | |
6283 | (SUBTARGET_INSERT_ATTRIBUTES, SUBTARGET_ATTRIBUTE_TABLE): Remove. | |
6284 | (ASM_OUTPUT_ALIGN_WITH_NOP): Only define if !USE_GAS. | |
6285 | (TARGET_ASM_NAMED_SECTION): Likewise. | |
6286 | (STACK_CHECK_STATIC_BUILTIN): Remove. | |
6287 | * config/sparc/sol2-bi.h: Remove. | |
6288 | * config/sparc/sol2-gas-bi.h: Remove. | |
6289 | * config/sparc/sol2-gas.h: Remove. | |
6290 | * config/sparc/sol2-gld-bi.h: Remove. | |
6291 | * config.gcc (i[34567]86-*-solaris2*, sparc*-*-solaris2*): Move | |
6292 | common parts ... | |
6293 | (*-*-solaris2*): ... here. | |
6294 | ||
4b583c43 | 6295 | 2011-06-21 Christian Bruel <christian.bruel@st.com> |
637c11bd | 6296 | |
4b583c43 | 6297 | PR other/43564 |
637c11bd UB |
6298 | * ipa-inline.c (can_inline_edge_p): Check |
6299 | !DECL_DISREGARD_INLINE_LIMITS. | |
6300 | ||
3bb556ad | 6301 | 2011-06-21 Christian Bruel <christian.bruel@st.com> |
637c11bd | 6302 | |
3bb556ad CB |
6303 | PR middle-end/49139 |
6304 | * cgraphunit.c (process_function_and_variable_attributes): warn when | |
6305 | always_inline functions that are not inline. | |
637c11bd UB |
6306 | * ipa-inline-transform.c (inline_transform): Always call |
6307 | optimize_inline. | |
6308 | * tree-inline.c (tree_inlinable_function_p): Use error instead | |
6309 | of sorry. | |
3bb556ad | 6310 | (expand_call_inline): Likewise. |
637c11bd | 6311 | |
f1ee724c JJ |
6312 | 2011-06-21 Jakub Jelinek <jakub@redhat.com> |
6313 | ||
6314 | * Makefile.in (dg_target_exps): Set. | |
6315 | (check_gcc_parallelize): Parallelize gcc testing into 10 jobs | |
6316 | instead of 7, try to divide it more evenly. | |
6317 | ||
6318 | 2011-06-20 Changpeng Fang <changpeng.fang@amd.com> | |
97ef5ae6 | 6319 | |
931050d0 | 6320 | PR target/49089 |
97ef5ae6 CF |
6321 | * config/i386/i386.c (avx256_split_unaligned_load): New definition. |
6322 | (avx256_split_unaligned_store): New definition. | |
6323 | (ix86_option_override_internal): Enable avx256 unaligned load/store | |
6324 | splitting only when avx256_split_unaligned_load/store is set. | |
6325 | ||
998c75b6 BS |
6326 | 2011-06-20 Bernd Schmidt <bernds@codesourcery.com> |
6327 | ||
6328 | * regrename.c (scan_rtx_reg): Handle the case where we write to an | |
6329 | open chain in a smaller mode without failing the entire block. | |
6330 | ||
3a769784 AM |
6331 | 2011-06-21 Alan Modra <amodra@gmail.com> |
6332 | ||
6333 | * config/rs6000/rs6000.c (rs6000_cannot_force_const_mem): Match | |
6334 | CONST high part large-toc address. | |
6335 | (rs6000_tls_referenced_p): Make static. | |
6336 | * config/rs6000/rs6000-protos.h (rs6000_tls_referenced_p): Delete. | |
6337 | ||
c2954af9 RR |
6338 | 2011-06-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
6339 | ||
6340 | PR target/49385 | |
6341 | * config/arm/thumb2.md (*thumb2_movhi_insn): Make sure atleast | |
6342 | one of the operands is a register. | |
6343 | ||
a95015b6 KT |
6344 | 2011-06-20 Kai Tietz <ktietz@redhat.com> |
6345 | ||
637c11bd UB |
6346 | * fold-const.c (fold_binary_loc): Add missing folding for truth-not |
6347 | operations in combination with binary and. | |
a95015b6 | 6348 | |
49a30d00 BS |
6349 | 2011-06-20 Bernd Schmidt <bernds@codesourcery.com> |
6350 | ||
6351 | * regrename.c (do_replace): Don't update notes. | |
6352 | ||
3bae1d98 AM |
6353 | 2011-06-20 Alan Modra <amodra@gmail.com> |
6354 | ||
6355 | * config/rs6000/rs6000.c (create_TOC_reference): Wrap high part | |
6356 | of toc-relative address in CONST. | |
6357 | (rs6000_delegitimize_address): Recognize changed address. | |
6358 | (rs6000_legitimize_reload_address): Likewise. | |
6359 | (rs6000_emit_move): Don't force these constants to memory. | |
6360 | * config/rs6000/rs6000.md (tls_gd, tls_gd_high): Wrap high part of | |
6361 | toc-relative address in CONST. | |
6362 | (tls_ld, tls_ld_high, tls_got_dtprel, tls_got_dtprel_high): Likewise. | |
6363 | (tls_got_tprel, tls_got_tprel_high, largetoc_high): Likewise. | |
6364 | ||
10937b0c L |
6365 | 2011-06-18 H.J. Lu <hongjiu.lu@intel.com> |
6366 | ||
637c11bd | 6367 | * longlong.h (count_leading_zeros): Use long long builtin for x86-64. |
10937b0c L |
6368 | (count_trailing_zeros): Likewise. |
6369 | ||
0c587260 L |
6370 | 2011-06-18 H.J. Lu <hongjiu.lu@intel.com> |
6371 | ||
6372 | PR other/49325 | |
6373 | * acinclude.m4 (gcc_AC_INITFINI_ARRAY): Properly check if | |
6374 | .init_array can be used with .ctors on targets. | |
6375 | * configure: Regenerated. | |
6376 | ||
c020c92b EB |
6377 | 2011-06-18 Eric Botcazou <ebotcazou@adacore.com> |
6378 | ||
6379 | * tree-sra.c (type_internals_preclude_sra_p) <ARRAY_TYPE>: Return true | |
6380 | if the element type is volatile. | |
6381 | ||
cd35bcf7 JH |
6382 | 2011-06-18 Jan Hubicka <jh@suse.cz> |
6383 | ||
6384 | * lto-symtab.c (lto_varpool_replace_node): Remove code handling | |
6385 | extra name aliases. | |
6386 | (lto_symtab_resolve_can_prevail_p): Likewise. | |
6387 | (lto_symtab_merge_cgraph_nodes): Update alias_of pointers. | |
6388 | * cgraphbuild.c (record_reference): Remove extra body alias code. | |
6389 | (mark_load): Likewise. | |
6390 | (mark_store): Likewise. | |
6391 | * cgraph.h (varpool_node): Remove extra_name filed; | |
6392 | add alias_of and extraname_alias. | |
6393 | (varpool_create_variable_alias, varpool_for_node_and_aliases): Declare. | |
6394 | (varpool_alias_aliased_node): New inline function. | |
6395 | (varpool_variable_node): New function. | |
6396 | * cgraphunit.c (handle_alias_pairs): Handle also variable aliases. | |
6397 | * ipa-ref.c (ipa_record_reference): Allow aliases on variables. | |
6398 | * lto-cgraph.c (lto_output_varpool_node): Update streaming. | |
6399 | (input_varpool_node): Likewise. | |
6400 | * lto-streamer-out.c (produce_symtab): Remove extra name aliases. | |
6401 | (varpool_externally_visible_p): Remove extra body alias code. | |
6402 | (function_and_variable_visibility): Likewise. | |
6403 | * tree-ssa-structalias.c (associate_varinfo_to_alias_1): New function. | |
6404 | (ipa_pta_execute): Use it. | |
6405 | * varpool.c (varpool_remove_node): Remove extra name alias code. | |
6406 | (varpool_mark_needed_node): Likewise. | |
6407 | (varpool_analyze_pending_decls): Analyze aliases. | |
6408 | (assemble_aliases): New functoin. | |
6409 | (varpool_assemble_decl): Use it. | |
6410 | (varpool_create_variable_alias): New function. | |
6411 | (varpool_extra_name_alias): Rewrite. | |
6412 | (varpool_for_node_and_aliases): New function. | |
6413 | ||
c96b4102 JJ |
6414 | 2011-06-18 Jakub Jelinek <jakub@redhat.com> |
6415 | ||
6416 | PR target/49411 | |
6417 | * config/i386/i386.c (ix86_expand_multi_arg_builtins): If | |
6418 | last_arg_constant and last argument doesn't match its predicate, | |
6419 | for xop_vpermil2<mode>3 error out and for xop_rotl<mode>3 | |
6420 | if it is CONST_INT, mask it, otherwise expand using rotl<mode>3. | |
6421 | (ix86_expand_sse_pcmpestr, ix86_expand_sse_pcmpistr): Fix | |
6422 | spelling of error message. | |
6423 | * config/i386/sse.md (sse4a_extrqi, sse4a_insertqi, | |
6424 | vcvtps2ph, *vcvtps2ph, *vcvtps2ph_store, vcvtps2ph256): Use | |
6425 | const_0_to_255_operand instead of const_int_operand. | |
6426 | ||
6427 | Revert: | |
6428 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> | |
6429 | ||
6430 | * config/i386/sse.md (blendbits): Remove mode attribute. | |
6431 | (<sse4_1>_blend<ssemodesuffix><avxsizesuffix>): Use const_int_operand | |
6432 | instead of const_0_to_<blendbits>_operand for operand 3 predicate. | |
6433 | Check integer value of operand 3 in insn constraint. | |
6434 | ||
9a2091cd HPN |
6435 | 2011-06-17 Hans-Peter Nilsson <hp@axis.com> |
6436 | ||
6437 | PR rtl-optimization/48542 | |
6438 | * reload.c (find_equiv_reg): Stop looking when finding a | |
6439 | setjmp-type call. | |
6440 | * reload1.c (reload_as_needed): Invalidate all reload | |
6441 | registers when crossing a setjmp-type call. | |
6442 | ||
361b51c0 JL |
6443 | 2011-06-16 Jeff Law <law@redhat.com> |
6444 | ||
6445 | * tree-ssa-threadupdate.c (struct redirection_data): New field | |
6446 | intermediate_edge. | |
6447 | (THREAD_TARGET2): Define. | |
637c11bd | 6448 | (redirection_data_eq): Also check that the intermediate edge is equal. |
361b51c0 JL |
6449 | (lookup_redirection_data): Drop useless argument. Extract the |
6450 | outgoing_edge and intermediate edge from E. Callers updated. | |
6451 | (copy_phi_args, update_destination_phis): New functions. | |
6452 | (fix_duplicate_block_edges): Likewise. | |
6453 | (create_edge_and_update_destination_phis): Duplicate all the edges | |
6454 | hung off e->aux. Use copy_phi_args. | |
6455 | (create_duplicates): Use fix_duplicate_block_edges. | |
6456 | (fixup_template_block): Likewise. | |
6457 | (redirect_edges): If necessary, redirect the joiner block's incoming | |
6458 | edge to the duplicate of the joiner block. | |
6459 | (thread_block): Don't muck up loops when threading through a joiner | |
6460 | block. | |
637c11bd | 6461 | (thread_through_loop_header): Handle threading through a joiner block. |
361b51c0 JL |
6462 | (mark_threaded_blocks, register_jump_thread): Likewise. |
6463 | * tree-flow.h (register_jump_thread): Add new argument. Callers | |
6464 | updated. | |
6465 | * tree-ssa-threadedge.c (phi_args_equal_on_edges): New function. | |
6466 | (thread_across_edge): Handle threading through a joiner block. | |
637c11bd | 6467 | |
ee460e75 MJ |
6468 | 2011-06-16 Martin Jambor <mjambor@suse.cz> |
6469 | ||
6470 | PR tree-optimization/49343 | |
6471 | * tree-sra.c (build_ref_for_model): Use component_ref_field_offset to | |
6472 | calculate offset, provide 2nd operand for the new COMPONENT_REF. | |
6473 | ||
a285ba2e IS |
6474 | 2011-06-16 Iain Sandoe <iains@gcc.gnu.org> |
6475 | ||
6476 | * config/darwin-protos.h (machopic_select_rtx_section): Move to | |
6477 | inside RTX_CODE ifdef. | |
6478 | ||
0703f020 TV |
6479 | 2011-06-16 Tom de Vries <tom@codesourcery.com> |
6480 | ||
6481 | PR target/45098 | |
637c11bd UB |
6482 | * tree-ssa-loop-niter.c (infer_loop_bounds_from_pointer_arith): |
6483 | Disallow NULL pointer for pointer arithmetic. | |
0703f020 | 6484 | |
900c07da RR |
6485 | 2011-06-16 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
6486 | ||
6487 | PR target/49398 | |
6488 | Revert. | |
6489 | 2011-06-10 Wei Guozhi <carrot@google.com> | |
6490 | ||
6491 | PR target/45335 | |
6492 | * config/arm/ldmstm.md (ldm2_ia, stm2_ia, ldm2_ib, stm2_ib, ldm2_da, | |
6493 | stm2_da, ldm2_db, stm2_db): Add condition !arm_arch7 to these insns. | |
6494 | (ldrd, ldrd_reg1, ldrd_reg2 and peephole2): New insn patterns and | |
6495 | related peephole2. | |
6496 | (strd, strd_reg1, strd_reg2 and peephole2): New insn patterns and | |
6497 | related peephole2. | |
6498 | * config/arm/arm-protos.h (arm_check_ldrd_operands): New prototype. | |
6499 | (arm_legitimate_ldrd_p): New prototype. | |
6500 | (arm_output_ldrd): New prototype. | |
6501 | * config/arm/arm.c (arm_check_ldrd_operands): New function. | |
6502 | (arm_legitimate_ldrd_p): New function. | |
6503 | (arm_output_ldrd): New function. | |
6504 | ||
c020c92b | 6505 | 2011-06-16 Joern Rennecke <joern.rennecke@embecosm.com> |
d5cc9181 JR |
6506 | |
6507 | PR middle-end/46500 | |
6508 | * doc/tm.texi.in: Update Copyright date. | |
6509 | * doc/tm.texi: Regenerate. | |
6510 | * targhooks.c (default_setup_incoming_varargs): Replace | |
6511 | CUMULATIVE_ARGS* argument type with cumulative_args_t. | |
6512 | (default_pretend_outgoing_varargs_named): Likewise. | |
6513 | (hook_pass_by_reference_must_pass_in_stack): Likewise. | |
6514 | (hook_callee_copies_named): Likewise. | |
6515 | (default_function_arg_advance): Likewise. | |
6516 | (default_function_arg): Likewise. | |
6517 | (default_function_incoming_arg): Likewise. | |
6518 | (hook_bool_CUMULATIVE_ARGS_false): Likewise. | |
6519 | (hook_bool_CUMULATIVE_ARGS_true): Likewise. | |
6520 | (hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false): Likewise. | |
6521 | (hook_bool_CUMULATIVE_ARGS_mode_tree_bool_true): Likewise. | |
6522 | (hook_int_CUMULATIVE_ARGS_mode_tree_bool_0): Likewise. | |
6523 | * targhooks.h (default_setup_incoming_varargs): Likewise. | |
6524 | (default_pretend_outgoing_varargs_named): Likewise. | |
6525 | (hook_pass_by_reference_must_pass_in_stack): Likewise. | |
6526 | (hook_callee_copies_named): Likewise. | |
6527 | (default_function_arg_advance): Likewise. | |
6528 | (default_function_arg): Likewise. | |
6529 | (default_function_incoming_arg): Likewise. | |
6530 | (hook_bool_CUMULATIVE_ARGS_false): Likewise. | |
6531 | (hook_bool_CUMULATIVE_ARGS_true): Likewise. | |
6532 | (hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false): Likewise. | |
6533 | (hook_bool_CUMULATIVE_ARGS_mode_tree_bool_true): Likewise. | |
6534 | (hook_int_CUMULATIVE_ARGS_mode_tree_bool_0): Likewise. | |
6535 | * target.def (pass_by_reference): Likewise. | |
6536 | (setup_incoming_varargs, strict_argument_naming): Likewise. | |
6537 | (pretend_outgoing_varargs_named, callee_copies): Likewise. | |
6538 | (arg_partial_bytes, function_arg_advance, function_arg): Likewise. | |
6539 | (function_incoming_arg): Likewise. | |
6540 | * target.h: Don't include "tm.h" . | |
6541 | (cumulative_args_t): New typedef. | |
6542 | [GCC_TM_H] (get_cumulative_args): New static inline function. | |
6543 | [GCC_TM_H] (pack_cumulative_args): Likewise. | |
6544 | * config/alpha/alpha.c (alpha_function_arg): Replace CUMULATIVE_ARGS* | |
6545 | argument type with cumulative_args_t. | |
6546 | (alpha_function_arg_advance, alpha_arg_partial_bytes): Likewise. | |
6547 | (alpha_pass_by_reference, alpha_setup_incoming_varargs): Likewise. | |
6548 | * config/frv/frv.c (frv_setup_incoming_varargs): Likewise. | |
6549 | (frv_arg_partial_bytes, frv_function_arg): Likewise. | |
6550 | (frv_function_incoming_arg, frv_function_arg_advance): Likewise. | |
6551 | (frv_function_arg_1): Likewise. | |
6552 | * config/s390/s390.c (s390_pass_by_reference): Likewise. | |
6553 | (s390_function_arg_advance, s390_function_arg): Likewise. | |
6554 | * config/m32c/m32c.c (m32c_function_arg): Likewise. | |
6555 | (m32c_pass_by_reference, m32c_function_arg_advance): Likewise. | |
6556 | (m32c_strict_argument_naming): Likewise. | |
6557 | * config/spu/spu.c (spu_pass_by_reference, spu_function_arg): Likewise. | |
6558 | (spu_function_arg_advance): Likewise. | |
6559 | (spu_setup_incoming_varargs): Likewise. Make static. | |
6560 | * config/spu/spu-protos.h (spu_setup_incoming_varargs): | |
6561 | Remove prototype. | |
6562 | * config/sparc/sparc.c (sparc_strict_argument_naming): Replace | |
6563 | CUMULATIVE_ARGS* argument type with cumulative_args_t. | |
6564 | (sparc_pass_by_reference, sparc_function_arg_advance): Likewise. | |
6565 | (sparc_function_arg, sparc_function_incoming_arg): Likewise. | |
6566 | (sparc_arg_partial_bytes, sparc_function_arg_1): Likewise. | |
6567 | * config/mep/mep.c (mep_setup_incoming_varargs): Likewise. | |
6568 | (mep_pass_by_reference, mep_function_arg): Likewise. | |
6569 | (mep_function_arg_advance): Likewise. | |
6570 | * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise. | |
6571 | (m32r_pass_by_reference, m32r_arg_partial_bytes): Likewise. | |
6572 | (m32r_function_arg, m32r_function_arg_advance): Likewise. | |
6573 | * config/rx/rx.c (rx_function_arg, rx_function_arg_advance): Likewise. | |
6574 | * config/i386/i386.c (ix86_function_arg_advance): Likewise. | |
6575 | (ix86_function_arg, ix86_pass_by_reference): Likewise. | |
6576 | (ix86_setup_incoming_varargs): Likewise. | |
6577 | * config/sh/sh.c (sh_setup_incoming_varargs): Likewise. | |
6578 | (sh_strict_argument_naming): Likewise. | |
6579 | (sh_pretend_outgoing_varargs_named, sh_pass_by_reference): Likewise. | |
6580 | (sh_callee_copies, sh_arg_partial_bytes): Likewise. | |
6581 | (sh_function_arg_advance, sh_function_arg): Likewise. | |
6582 | * config/pdp11/pdp11.c (pdp11_function_arg): Likewise. | |
6583 | (pdp11_function_arg_advance): Likewise. | |
6584 | * config/microblaze/microblaze.c (microblaze_function_arg_advance): | |
6585 | Likewise. | |
6586 | (microblaze_function_arg, function_arg_partial_bytes): Likewise. | |
6587 | * config/avr/avr.c (avr_function_arg): Likewise. | |
6588 | (avr_function_arg_advance): Likewise. | |
6589 | * config/xtensa/xtensa.c (xtensa_function_arg_advance): Likewise. | |
6590 | (xtensa_function_arg, xtensa_function_incoming_arg): Likewise. | |
6591 | (xtensa_function_arg_1): Likewise. | |
637c11bd UB |
6592 | * config/stormy16/stormy16.c (xstormy16_function_arg_advance): |
6593 | Likewise. | |
d5cc9181 JR |
6594 | (xstormy16_function_arg): Likewise. |
6595 | * config/fr30/fr30.c (fr30_setup_incoming_varargs): Likewise. | |
6596 | (fr30_arg_partial_bytes, fr30_function_arg): Likewise. | |
6597 | (fr30_function_arg_advance): Likewise. | |
6598 | * config/lm32/lm32.c (lm32_setup_incoming_varargs): Likewise. | |
6599 | (lm32_function_arg, lm32_function_arg_advance): Likewise. | |
6600 | * config/moxie/moxie.c (moxie_setup_incoming_varargs): Likewise. | |
6601 | (moxie_function_arg, moxie_function_arg_advance): Likewise. | |
6602 | (moxie_pass_by_reference, moxie_arg_partial_bytes): Likewise. | |
6603 | * config/cris/cris.c (cris_setup_incoming_varargs): Likewise. | |
6604 | (cris_pass_by_reference, cris_arg_partial_bytes): Likewise. | |
6605 | (cris_function_arg, cris_function_incoming_arg): Likewise. | |
6606 | (cris_function_arg_advance, cris_function_arg_1): Likewise. | |
6607 | * config/iq2000/iq2000.c (iq2000_setup_incoming_varargs): Likewise. | |
6608 | (iq2000_pass_by_reference, iq2000_arg_partial_bytes): Likewise. | |
6609 | (iq2000_function_arg, iq2000_function_arg_advance): Likewise. | |
6610 | * config/mn10300/mn10300.c (mn10300_pass_by_reference): Likewise. | |
6611 | (mn10300_function_arg, mn10300_function_arg_advance): Likewise. | |
6612 | (mn10300_arg_partial_bytes): Likewise. | |
6613 | * config/ia64/ia64.c (ia64_setup_incoming_varargs): Likewise. | |
6614 | (ia64_arg_partial_bytes, ia64_function_arg): Likewise. | |
6615 | (ia64_function_incoming_arg, ia64_function_arg_advance): Likewise. | |
6616 | (ia64_function_arg_1): Likewise. | |
6617 | * config/m68k/m68k.c (m68k_function_arg_advance): Likewise. | |
6618 | (m68k_function_arg): Likewise. | |
6619 | * config/rs6000/rs6000.c (rs6000_function_arg_advance): Likewise. | |
6620 | (rs6000_function_arg, setup_incoming_varargs): Likewise. | |
6621 | (rs6000_pass_by_reference, rs6000_arg_partial_bytes): Likewise. | |
6622 | * config/picochip/picochip.c (picochip_arg_partial_bytes): Likewise. | |
6623 | (picochip_function_arg, picochip_incoming_function_arg): Likewise. | |
6624 | (picochip_arg_advance): Likewise. | |
6625 | * config/mcore/mcore.c (mcore_setup_incoming_varargs): Likewise. | |
6626 | (mcore_arg_partial_bytes, mcore_function_arg): Likewise. | |
6627 | (mcore_function_arg_advance): Likewise. | |
6628 | * config/score/score.c (score_pass_by_reference): Likewise. | |
6629 | (score_function_arg_advance): Likewise. | |
6630 | (score_arg_partial_bytes): Likewise. Make static. | |
6631 | * config/score/score-protos.h (score_arg_partial_bytes): Don't declare. | |
6632 | * config/arm/arm.c (arm_arg_partial_bytes): Replace | |
6633 | CUMULATIVE_ARGS* argument type with cumulative_args_t. | |
6634 | (arm_function_arg, arm_function_arg_advance): Likewise. | |
6635 | (arm_setup_incoming_varargs, arm_pass_by_reference): Likewise. | |
6636 | * config/pa/pa.c (pa_pass_by_reference): Likewise. | |
6637 | (pa_arg_partial_bytes, pa_function_arg_advance): Likewise. | |
6638 | (pa_function_arg): Likewise. | |
6639 | * config/mips/mips.c (mips_strict_argument_naming): Likewise. | |
6640 | (mips_function_arg, mips_function_arg_advance): Likewise. | |
6641 | (mips_arg_partial_bytes, mips_pass_by_reference): Likewise. | |
6642 | (mips_callee_copies, mips_setup_incoming_varargs): Likewise. | |
6643 | * config/vax/vax.c (vax_function_arg): Likewise. | |
6644 | (vax_function_arg_advance): Likewise. | |
6645 | * config/h8300/h8300.c (h8300_function_arg): Likewise. | |
6646 | (h8300_function_arg_advance): Likewise. | |
6647 | * config/v850/v850.c (v850_pass_by_reference): Likewise. | |
6648 | (v850_strict_argument_naming, v850_function_arg): Likewise. | |
6649 | (v850_arg_partial_bytes, v850_function_arg_advance): Likewise. | |
6650 | (v850_setup_incoming_varargs): Likewise. | |
6651 | * config/mmix/mmix.c (mmix_setup_incoming_varargs): Likewise. | |
6652 | (mmix_function_arg_advance, mmix_function_incoming_arg): Likewise. | |
6653 | (mmix_function_arg, mmix_pass_by_reference): Likewise. | |
6654 | (mmix_function_arg_1): Replace const CUMULATIVE_ARGS* argument type | |
6655 | with const void *. | |
6656 | * config/bfin/bfin.c (setup_incoming_varargs): Replace | |
6657 | CUMULATIVE_ARGS* argument type with cumulative_args_t. | |
6658 | (bfin_function_arg_advance, bfin_function_arg): Likewise. | |
6659 | (bfin_arg_partial_bytes, bfin_pass_by_reference): Likewise. | |
6660 | * calls.c (emit_call_1): Change type of args_so_far to | |
6661 | cumulative_args_t. Changed all callers. | |
6662 | (initialize_argument_information): Likewise. | |
6663 | (expand_call, emit_library_call_value_1): Use pack_cumulative_args. | |
6664 | * dse.c (get_call_args): Likewise. | |
6665 | * expr.c (block_move_libcall_safe_for_call_parm): Likewise. | |
6666 | * function.c (pass_by_reference, reference_callee_copied): Likewise. | |
6667 | (struct assign_parm_data_all): Rename args_so_far to args_so_far_v. | |
6668 | New member args_so_far_v. Changed all users. | |
6669 | * var-tracking.c (prepare_call_arguments): Use pack_cumulative_args. | |
6670 | * config/iq2000/iq2000.c (iq2000_expand_prologue): Likewise. | |
6671 | * config/mips/mips.c (mips_output_args_xfer): Likewise. | |
6672 | * config/s390/s390.c (s390_call_saved_register_used): Likewise. | |
6673 | * config/sh/sh.c (sh_output_mi_thunk): Likewise. | |
637c11bd UB |
6674 | * config/microblaze/microblaze.c (microblaze_expand_prologue): |
6675 | Likewise. | |
d5cc9181 JR |
6676 | * config/m32r/m32r.c (m32r_return_in_memory): Adjust for changed |
6677 | m32r_pass_by_reference. | |
6678 | ||
51312233 IR |
6679 | 2011-06-16 Ira Rosen <ira.rosen@linaro.org> |
6680 | ||
6681 | * tree-vectorizer.h (vect_recog_func_ptr): Change the first | |
6682 | argument to be a VEC of statements. | |
637c11bd UB |
6683 | * tree-vect-loop.c (vect_determine_vectorization_factor): Remove the |
6684 | assert that pattern statements have to have their vector type set. | |
51312233 IR |
6685 | * tree-vect-patterns.c (vect_recog_widen_sum_pattern): |
6686 | Change the first argument to be a VEC of statements. Update | |
6687 | documentation. | |
6688 | (vect_recog_dot_prod_pattern, vect_recog_pow_pattern): Likewise. | |
6689 | (vect_handle_widen_mult_by_const): New function. | |
637c11bd UB |
6690 | (vect_recog_widen_mult_pattern): Change the first argument to be a |
6691 | VEC of statements. Update documentation. Check that the constant is | |
6692 | INTEGER_CST. Support multiplication by a constant that fits an | |
6693 | intermediate type - call vect_handle_widen_mult_by_const. | |
51312233 IR |
6694 | (vect_pattern_recog_1): Update vect_recog_func_ptr and its |
6695 | call. Handle additional pattern statements if necessary. | |
6696 | ||
fd4df33d NC |
6697 | 2011-06-16 Nick Clifton <nickc@redhat.com> |
6698 | ||
6699 | PR target/49427 | |
6700 | * config.gcc: Set cpu_type to v850 for any V850 architecture. | |
6701 | (v850*-*-*): Delete explicit setting of tm_p_file, tmake_file, | |
6702 | md_file, extra_modes, out_file and extra_options are these are all | |
6703 | deduced from cpu_type. | |
6704 | ||
fbd05da0 GJL |
6705 | 2011-06-16 Georg-Johann Lay <avr@gjlay.de> |
6706 | ||
6707 | * config/avr/libgcc.S (__ashldi3, __ashrdi3, __lshrdi3): Set shift | |
6708 | truncation mask to 63. | |
6709 | ||
0ad8bb3b GJL |
6710 | 2011-06-16 Georg-Johann Lay <avr@gjlay.de> |
6711 | ||
6712 | PR target/49313 | |
6713 | PR target/29524 | |
6714 | * longlong.h: Add AVR support: | |
6715 | (count_leading_zeros): New macro. | |
6716 | (count_trailing_zeros): New macro. | |
6717 | (COUNT_LEADING_ZEROS_0): New macro. | |
637c11bd UB |
6718 | * config/avr/t-avr (LIB1ASMFUNCS): Add _ffssi2, _ffshi2, _loop_ffsqi2, |
6719 | _ctzsi2, _ctzhi2, _clzdi2, _clzsi2, _clzhi2, _paritydi2, _paritysi2, | |
6720 | _parityhi2, _popcounthi2,_popcountsi2, _popcountdi2, _popcountqi2, | |
6721 | _bswapsi2, _bswapdi2, _ashldi3, _ashrdi3, _lshrdi3. | |
0ad8bb3b GJL |
6722 | (LIB2FUNCS_EXCLUDE): Add _clz. |
6723 | * config/avr/libgcc.S (XCALL): Move up in file. | |
6724 | (XJMP): New C Macro. | |
6725 | (DEFUN): New asm macro. | |
6726 | (ENDF): New asm macro. | |
6727 | (__ffssi2): New function. | |
6728 | (__ffshi2): New function. | |
6729 | (__loop_ffsqi2): New function. | |
6730 | (__ctzsi2): New function. | |
6731 | (__ctzhi2): New function. | |
6732 | (__clzdi2): New function. | |
6733 | (__clzsi2): New function. | |
6734 | (__clzhi2): New function. | |
6735 | (__paritydi2): New function. | |
6736 | (__paritysi2): New function. | |
6737 | (__parityhi2): New function. | |
59c1e10b | 6738 | (__parityqi2): New function. |
0ad8bb3b GJL |
6739 | (__popcounthi2): New function. |
6740 | (__popcountsi2): New function. | |
6741 | (__popcountdi2): New function. | |
6742 | (__popcountqi2): New function. | |
6743 | (__bswapsi2): New function. | |
6744 | (__bswapdi2): New function. | |
6745 | (__ashldi3): New function. | |
6746 | (__ashrdi3): New function. | |
6747 | (__lshrdi3): New function. | |
6748 | Fix suspicous lines. | |
6749 | ||
12430896 RG |
6750 | 2011-06-16 Richard Guenther <rguenther@suse.de> |
6751 | ||
6752 | * gimple.c (canonicalize_cond_expr_cond): (bool)x is not | |
6753 | the same as x != 0. | |
637c11bd UB |
6754 | * fold-const.c (fold_binary_loc): Do not fold X & 1 != 0 |
6755 | to (bool) X & 1. | |
12430896 RG |
6756 | * ipa-prop.c (ipa_analyze_indirect_call_uses): Also allow |
6757 | equality compares against zero for the lower bit. | |
6758 | ||
09302442 JJ |
6759 | 2011-06-16 Jakub Jelinek <jakub@redhat.com> |
6760 | ||
6761 | PR tree-optimization/49419 | |
6762 | * tree-vrp.c (execute_vrp): Call init_range_assertions | |
6763 | before estimate_numbers_of_iterations, call | |
6764 | free_number_of_iterations_estimates before calling | |
6765 | remove_range_assertions. | |
6766 | ||
81c41166 RE |
6767 | 2011-06-16 Revital Eres <revital.eres@linaro.org> |
6768 | ||
6769 | * modulo-sched.c (struct ps_insn): Remove row_rest_count field. | |
6770 | (struct partial_schedule): Add rows_length field. | |
6771 | (verify_partial_schedule): Check rows_length. | |
6772 | (ps_insert_empty_row): Handle rows_length. | |
6773 | (create_partial_schedule): Likewise. | |
6774 | (free_partial_schedule): Likewise. | |
6775 | (reset_partial_schedule): Likewise. | |
6776 | (create_ps_insn): Remove rest_count argument. | |
6777 | (remove_node_from_ps): Update rows_length. | |
6778 | (add_node_to_ps): Update rows_length and call create_ps_insn | |
6779 | without passing row_rest_count. | |
6780 | (rotate_partial_schedule): Update rows_length. | |
6781 | ||
d24dc7b3 RE |
6782 | 2011-06-16 Revital Eres <revital.eres@linaro.org> |
6783 | ||
6784 | * ddg.c (add_intra_loop_mem_dep): New function. | |
6785 | (build_intra_loop_deps): Call it. | |
6786 | ||
361b51c0 | 6787 | 2011-06-13 Jeff Law <law@redhat.com> |
2098e438 JL |
6788 | |
6789 | * df-problems.c (df_lr_local_compute): Manually CSE | |
6790 | PIC_OFFSET_TABLE_REGNUM. | |
6791 | * df-scan.c (df_get_regular_block_artificial_uses): Likewise. | |
6792 | (df_get_entry_block_def_set, df_get_exit_block_use_set): Likewise. | |
6793 | ||
85ce9375 JH |
6794 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
6795 | ||
6796 | * cgraphunit.c (handle_alias_pairs): New function. | |
6797 | (cgraph_finalize_compilation_unit): Use it. | |
6798 | * ipa.c (cgraph_externally_visible_p): Remove hack marking asm names | |
6799 | as externally visible. | |
6800 | ||
a577c405 RG |
6801 | 2011-06-15 Richard Guenther <rguenther@suse.de> |
6802 | ||
6803 | * expr.c (expand_expr_real_2): Reduce all integral types to | |
6804 | bitfield precision. | |
6805 | (expand_expr_real_1): Likewise. | |
6806 | ||
93536c97 MJ |
6807 | 2011-06-15 Martin Jambor <mjambor@suse.cz> |
6808 | ||
6809 | PR tree-optimization/48613 | |
6810 | * ipa-prop.c (ipa_prop_write_jump_functions): Return immediately if | |
6811 | ipa_node_params_vector is NULL. | |
fd4df33d | 6812 | |
ba45cfc4 JJ |
6813 | 2011-06-15 Jakub Jelinek <jakub@redhat.com> |
6814 | ||
6815 | PR debug/49382 | |
6816 | * dwarf2out.c (dw_loc_list_node): Add force field. | |
637c11bd UB |
6817 | (add_var_loc_to_decl): For PARM_DECL, attempt to keep the incoming |
6818 | location in the list, even if it is modified before first real insn. | |
ba45cfc4 | 6819 | (output_loc_list): Emit empty ranges with force flag set. |
637c11bd | 6820 | (dw_loc_list): If first range of a PARM_DECL is empty, set force flag. |
ba45cfc4 | 6821 | |
6fc5966f AM |
6822 | 2011-06-15 Alexander Monakov <amonakov@ispras.ru> |
6823 | ||
6824 | PR target/49349 | |
6825 | * sel-sched.c (find_place_for_bookkeeping): Add new parameter | |
6826 | (fence_to_rewind). Use it to notice when bookkeeping will be placed | |
6827 | above a fence. Update comments. | |
6828 | (generate_bookkeeping_insn): Rewind fence when bookkeeping code is | |
6829 | placed just above it. Do not allow NULL place_to_insert. | |
6830 | ||
9d5e7640 IR |
6831 | 2011-06-15 Ira Rosen <ira.rosen@linaro.org> |
6832 | ||
6833 | * tree-vect-loop-manip.c (remove_dead_stmts_from_loop): Remove. | |
6834 | (slpeel_tree_peel_loop_to_edge): Don't call | |
6835 | remove_dead_stmts_from_loop. | |
6836 | * tree-vect-loop.c (vect_determine_vectorization_factor): Don't | |
6837 | remove irrelevant pattern statements. For irrelevant statements | |
6838 | check if it is the last statement of a detected pattern, use | |
6839 | corresponding pattern statement instead. | |
6840 | (destroy_loop_vec_info): No need to remove pattern statements, | |
6841 | only free stmt_vec_info. | |
6842 | (vect_transform_loop): For irrelevant statements check if it is | |
6843 | the last statement of a detected pattern, use corresponding | |
6844 | pattern statement instead. | |
6845 | * tree-vect-patterns.c (vect_pattern_recog_1): Don't insert | |
6846 | pattern statements. Set basic block for the new statement. | |
6847 | (vect_pattern_recog): Update documentation. | |
6848 | * tree-vect-stmts.c (vect_mark_stmts_to_be_vectorized): Scan | |
6849 | operands of pattern statements. | |
6850 | (vectorizable_call): Fix printing. In case of a pattern statement | |
6851 | use the lhs of the original statement when creating a dummy | |
6852 | statement to replace the original call. | |
6853 | (vect_analyze_stmt): For irrelevant statements check if it is | |
6854 | the last statement of a detected pattern, use corresponding | |
6855 | pattern statement instead. | |
6856 | * tree-vect-slp.c (vect_schedule_slp_instance): For pattern | |
6857 | statements use gsi of the original statement. | |
6858 | ||
677f3fa8 JM |
6859 | 2011-06-14 Joseph Myers <joseph@codesourcery.com> |
6860 | ||
6861 | * target-def.h (TARGET_HAVE_NAMED_SECTIONS): Move to | |
6862 | common/common-target-def.h. | |
6863 | * target.def (default_target_flags, handle_option, | |
6864 | supports_split_stack, optimization_table, init_struct, | |
6865 | except_unwind_info, unwind_tables_default, have_named_sections): | |
6866 | Move to common/common-target.def. | |
6867 | * target.h (enum opt_levels, struct default_options): Move to | |
6868 | common/common-target.h. | |
6869 | * targhooks.c (default_except_unwind_info, | |
6870 | dwarf2_except_unwind_info, sjlj_except_unwind_info, | |
6871 | default_target_handle_option, empty_optimization_table): Move to | |
6872 | common/common-targhooks.c. | |
6873 | * targhooks.h (default_except_unwind_info, | |
6874 | dwarf2_except_unwind_info, sjlj_except_unwind_info, | |
6875 | default_target_handle_option, empty_optimization_table): Move to | |
6876 | common/common-targhooks.h. | |
6877 | * common/common-target-def.h: Include common/common-targhooks.h. | |
6878 | (TARGET_HAVE_NAMED_SECTIONS): Define if TARGET_ASM_NAMED_SECTION | |
6879 | defined. | |
6880 | * common/common-target.def (handle_option, option_init_struct, | |
6881 | option_optimization_table, default_target_flags, | |
6882 | except_unwind_info, supports_split_stack, unwind_tables_default, | |
6883 | have_named_sections): Move from target.def. | |
6884 | (HOOK_PREFIX): Undefine at end of file. | |
6885 | * common/common-target.h: Include input.h. | |
6886 | (enum opt_levels, struct default_options): Move from target.h. | |
6887 | * common/common-targhooks.c, common/common-targhooks.h: New. | |
6888 | * config.gcc (target_has_targetm_common): Default to yes. | |
6889 | (moxie*): Set target_has_targetm_common=no. | |
6890 | (hppa*-*-*): Don't set target_has_targetm_common=yes. | |
6891 | * doc/tm.texi: Regenerate. | |
6892 | * Makefile.in (COMMON_TARGET_H): Add $(INPUT_H). | |
6893 | (C_TARGET_DEF_H): Add common/common-targhooks.h. | |
6894 | (GCC_OBJS): Remove vec.o. | |
6895 | (OBJS): Remove hooks.o and vec.o. | |
6896 | (OBJS-libcommon-target): Add vec.o, hooks.o and | |
6897 | common/common-targhooks.o. | |
6898 | (c-family/c-common.o, c-family/c-cppbuiltin.o, lto-opts.o, tree.o, | |
6899 | tree-tailcall.o, opts.o, toplev.o, varasm.o, function.o, except.o, | |
6900 | expr.o, explow.o, dbxout.o, dwarf2out.o, cfgrtl.o, haifa-sched.o, | |
6901 | cfglayout.o, $(out_object_file), $(common_out_object_file)): | |
6902 | Update dependencies. | |
6903 | (common/common-targhooks.o): New. | |
637c11bd | 6904 | * common/config/default-common.c: Include tm.h. Add FIXME comment. |
677f3fa8 JM |
6905 | * common/config/pa/pa-common.c: Include more headers. Take |
6906 | copyright dates from pa.c. | |
6907 | (pa_option_optimization_table, pa_handle_option, | |
6908 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_DEFAULT_TARGET_FLAGS, | |
6909 | TARGET_HANDLE_OPTION): Move from pa.c. | |
6910 | * common/config/alpha/alpha-common.c, | |
6911 | common/config/arm/arm-common.c, common/config/avr/avr-common.c, | |
6912 | common/config/bfin/bfin-common.c, | |
6913 | common/config/cris/cris-common.c, | |
6914 | common/config/fr30/fr30-common.c, common/config/frv/frv-common.c, | |
6915 | common/config/h8300/h8300-common.c, | |
6916 | common/config/i386/i386-common.c, | |
6917 | common/config/ia64/ia64-common.c, | |
6918 | common/config/iq2000/iq2000-common.c, | |
6919 | common/config/lm32/lm32-common.c, | |
6920 | common/config/m32c/m32c-common.c, | |
6921 | common/config/m32r/m32r-common.c, | |
6922 | common/config/m68k/m68k-common.c, | |
6923 | common/config/mcore/mcore-common.c, | |
6924 | common/config/mep/mep-common.c, | |
6925 | common/config/microblaze/microblaze-common.c, | |
6926 | common/config/mips/mips-common.c, | |
6927 | common/config/mmix/mmix-common.c, | |
6928 | common/config/mn10300/mn10300-common.c, | |
6929 | common/config/pdp11/pdp11-common.c, | |
6930 | common/config/picochip/picochip-common.c, | |
6931 | common/config/rs6000/rs6000-common.c, | |
6932 | common/config/rx/rx-common.c, common/config/s390/s390-common.c, | |
6933 | common/config/score/score-common.c, common/config/sh/sh-common.c, | |
6934 | common/config/sparc/sparc-common.c, | |
6935 | common/config/spu/spu-common.c, common/config/v850/v850-common.c, | |
6936 | common/config/vax/vax-common.c, | |
6937 | common/config/xstormy16/xstormy16-common.c, | |
6938 | common/config/xtensa/xtensa-common.c: New. | |
6939 | * config/alpha/alpha.c: Include common/common-target.h. | |
6940 | (alpha_option_optimization_table, alpha_handle_option, | |
6941 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
6942 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to alpha-common.c. | |
6943 | * config/arm/arm-protos.h (arm_except_unwind_info): Declare. | |
6944 | * config/arm/arm.c (arm_option_optimization_table, | |
6945 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE, | |
6946 | TARGET_EXCEPT_UNWIND_INFO, arm_except_unwind_info): Move to | |
6947 | arm-common.c. | |
6948 | * config/avr/avr.c (avr_option_optimization_table, | |
6949 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INFO): Move | |
6950 | to avr-common.c. | |
6951 | * config/bfin/bfin.c (struct bfin_cpu): Move to bfin.h. | |
6952 | (bfin_cpus, bfin_handle_option, TARGET_HANDLE_OPTION, | |
6953 | TARGET_DEFAULT_TARGET_FLAGS): Move to bfin-common.c. | |
6954 | * config/bfin/bfin.h struct bfin_cpu): Move from bfin.c. | |
6955 | * config/cris/cris.c (cris_option_optimization_table, | |
6956 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
6957 | TARGET_OPTION_OPTIMIZATION_TABLE, cris_handle_option): Move to | |
6958 | cris-common.c. | |
6959 | * config/fr30/fr30.c (fr30_option_optimization_table, | |
6960 | TARGET_EXCEPT_UNWIND_INFO, TARGET_OPTION_OPTIMIZATION_TABLE): Move | |
6961 | to fr30-common.c. | |
6962 | * config/frv/frv.c (frv_option_optimization_table, | |
6963 | MASK_DEFAULT_ALLOC_CC, TARGET_DEFAULT_TARGET_FLAGS, | |
6964 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to frv-common.c. | |
6965 | * config/h8300/h8300.c (h8300_option_optimization_table, | |
6966 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE, | |
6967 | TARGET_EXCEPT_UNWIND_INFO): Move to h8300-common.c. | |
6968 | * config/i386/i386-protos.h (ix86_handle_option): Declare. | |
6969 | * config/i386/i386.c: Include common/common-target.h. | |
6970 | (OPTION_MASK_ISA_MMX_SET, OPTION_MASK_ISA_3DNOW_SET, | |
6971 | OPTION_MASK_ISA_SSE_SET, OPTION_MASK_ISA_SSE2_SET, | |
6972 | OPTION_MASK_ISA_SSE3_SET, OPTION_MASK_ISA_SSSE3_SET, | |
6973 | OPTION_MASK_ISA_SSE4_1_SET, OPTION_MASK_ISA_SSE4_2_SET, | |
6974 | OPTION_MASK_ISA_AVX_SET, OPTION_MASK_ISA_FMA_SET, | |
6975 | OPTION_MASK_ISA_SSE4_SET, OPTION_MASK_ISA_SSE4A_SET, | |
6976 | OPTION_MASK_ISA_FMA4_SET, OPTION_MASK_ISA_XOP_SET, | |
6977 | OPTION_MASK_ISA_LWP_SET, OPTION_MASK_ISA_AES_SET, | |
6978 | OPTION_MASK_ISA_PCLMUL_SET, OPTION_MASK_ISA_ABM_SET, | |
6979 | OPTION_MASK_ISA_BMI_SET, OPTION_MASK_ISA_TBM_SET, | |
6980 | OPTION_MASK_ISA_POPCNT_SET, OPTION_MASK_ISA_CX16_SET, | |
6981 | OPTION_MASK_ISA_SAHF_SET, OPTION_MASK_ISA_MOVBE_SET, | |
6982 | OPTION_MASK_ISA_CRC32_SET, OPTION_MASK_ISA_FSGSBASE_SET, | |
6983 | OPTION_MASK_ISA_RDRND_SET, OPTION_MASK_ISA_F16C_SET, | |
6984 | OPTION_MASK_ISA_MMX_UNSET, OPTION_MASK_ISA_3DNOW_UNSET, | |
6985 | OPTION_MASK_ISA_3DNOW_A_UNSET, OPTION_MASK_ISA_SSE_UNSET, | |
6986 | OPTION_MASK_ISA_SSE2_UNSET, OPTION_MASK_ISA_SSE3_UNSET, | |
6987 | OPTION_MASK_ISA_SSSE3_UNSET, OPTION_MASK_ISA_SSE4_1_UNSET, | |
6988 | OPTION_MASK_ISA_SSE4_2_UNSET, OPTION_MASK_ISA_AVX_UNSET, | |
6989 | OPTION_MASK_ISA_FMA_UNSET, OPTION_MASK_ISA_SSE4_UNSET, | |
6990 | OPTION_MASK_ISA_SSE4A_UNSET, OPTION_MASK_ISA_FMA4_UNSET, | |
6991 | OPTION_MASK_ISA_XOP_UNSET, OPTION_MASK_ISA_LWP_UNSET, | |
6992 | OPTION_MASK_ISA_AES_UNSET, OPTION_MASK_ISA_PCLMUL_UNSET, | |
6993 | OPTION_MASK_ISA_ABM_UNSET, OPTION_MASK_ISA_BMI_UNSET, | |
6994 | OPTION_MASK_ISA_TBM_UNSET, OPTION_MASK_ISA_POPCNT_UNSET, | |
6995 | OPTION_MASK_ISA_CX16_UNSET, OPTION_MASK_ISA_SAHF_UNSET, | |
6996 | OPTION_MASK_ISA_MOVBE_UNSET, OPTION_MASK_ISA_CRC32_UNSET, | |
6997 | OPTION_MASK_ISA_FSGSBASE_UNSET, OPTION_MASK_ISA_RDRND_UNSET, | |
6998 | OPTION_MASK_ISA_F16C_UNSET, ix86_handle_option, | |
6999 | ix86_option_optimization_table, ix86_option_init_struct, | |
7000 | ix86_supports_split_stack, TARGET_DEFAULT_TARGET_FLAGS, | |
7001 | TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE, | |
7002 | TARGET_OPTION_INIT_STRUCT, TARGET_SUPPORTS_SPLIT_STACK): Move to | |
7003 | i386-common.c. | |
7004 | * config/i386/t-i386 (i386.o): Update dependencies. | |
7005 | * config/ia64/ia64-protos.h (ia64_except_unwind_info): Declare. | |
7006 | * config/ia64/ia64.c (ia64_option_optimization_table, | |
7007 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INFO, | |
7008 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
7009 | ia64_handle_option): Move to ia64-common.c. | |
7010 | * config/iq2000/iq2000.c (iq2000_option_optimization_table, | |
7011 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to iq2000-common.c. | |
7012 | * config/lm32/lm32.c (lm32_option_optimization_table, | |
7013 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INFO): Move | |
7014 | to lm32-common.c. | |
7015 | * config/m32c/m32c.c (TARGET_HAVE_NAMED_SECTIONS): Move to | |
7016 | m32c-common.c. | |
7017 | * config/m32r/m32r.c (m32r_option_optimization_table, | |
7018 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
7019 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INFO, | |
7020 | m32r_handle_option): Move to m32r-common.c. | |
7021 | (m32r_memory_move_cost): Remove comment referring to | |
7022 | TARGET_HANDLE_OPTION. | |
7023 | * config/m68k/m68k.c (TARGET_HANDLE_OPTION, m68k_handle_option): | |
7024 | Move to m68k-common.c. | |
7025 | * config/mcore/mcore.c (mcore_option_optimization_table, | |
7026 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE, | |
7027 | TARGET_EXCEPT_UNWIND_INFO): Move to mcore-common.c. | |
7028 | * config/mep/mep.c (mep_option_optimization_table, | |
7029 | mep_handle_option, TARGET_HANDLE_OPTION, | |
7030 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_DEFAULT_TARGET_FLAGS): | |
7031 | Move to mep-common.c. | |
7032 | * config/microblaze/microblaze.c | |
7033 | (microblaze_option_optimization_table, | |
7034 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE, | |
7035 | TARGET_EXCEPT_UNWIND_INFO): Move to microblaze-common.c. | |
7036 | * config/mips/mips.c (mips_handle_option, | |
7037 | mips_option_optimization_table, TARGET_OPTION_OPTIMIZATION_TABLE, | |
7038 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Move to | |
7039 | mips-common.c. | |
7040 | * config/mmix/mmix.c (mmix_option_optimization_table, | |
7041 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE): | |
7042 | Move to mmix-common.c. | |
7043 | * config/mn10300/mn10300.c (mn10300_option_optimization_table, | |
7044 | mn10300_handle_option, TARGET_EXCEPT_UNWIND_INFO, | |
7045 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
7046 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to mn10300-common.c. | |
7047 | * config/pa/pa.c: Include common/common-target.h. | |
7048 | (pa_option_optimization_table, TARGET_OPTION_OPTIMIZATION_TABLE, | |
7049 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
7050 | pa_handle_option): Move to pa-common.c. | |
7051 | (pa_option_override): Use targetm_common.except_unwind_info. | |
7052 | (pa_asm_output_mi_thunk, pa_function_section): Use | |
7053 | targetm_common.have_named_sections. | |
7054 | * config/pdp11/pdp11.c (pdp11_option_optimization_table, | |
7055 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
7056 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_OPTION_INIT_STRUCT, | |
7057 | pdp11_handle_option, pdp11_option_init_struct): Move to | |
7058 | pdp11-common.c. | |
7059 | * config/picochip/picochip.c (picochip_option_optimization_table, | |
7060 | TARGET_HAVE_NAMED_SECTIONS, TARGET_OPTION_OPTIMIZATION_TABLE, | |
7061 | TARGET_EXCEPT_UNWIND_INFO): Move to picochip-common.c. | |
7062 | * config/rs6000/rs6000.c: Include common/common-target.h. | |
7063 | (rs6000_option_optimization_table, TARGET_HANDLE_OPTION, | |
7064 | TARGET_OPTION_INIT_STRUCT, TARGET_OPTION_OPTIMIZATION_TABLE, | |
7065 | TARGET_DEFAULT_TARGET_FLAGS, rs6000_option_init_struct, | |
7066 | rs6000_handle_option): Move to rs6000-common.c. | |
7067 | * config/rs6000/t-rs6000 (rs6000.o): Update dependencies. | |
7068 | * config/rx/rx.c (rx_handle_option, rx_option_optimization_table, | |
7069 | TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE, | |
7070 | TARGET_EXCEPT_UNWIND_INFO): Move to rx-common.c. | |
7071 | * config/s390/s390.c (processor_flags_table, | |
7072 | s390_option_optimization_table, s390_option_init_struct, | |
7073 | s390_handle_option, TARGET_DEFAULT_TARGET_FLAGS, | |
7074 | TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE, | |
7075 | TARGET_OPTION_INIT_STRUCT): Move to s390-common.c. | |
7076 | * config/s390/s390.h (processor_flags_table): Declare. | |
7077 | * config/score/score.c (score_option_optimization_table, | |
7078 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
7079 | TARGET_OPTION_OPTIMIZATION_TABLE, MASK_ALL_CPU_BITS, | |
7080 | score_handle_option): Move to score-common.c. | |
7081 | * config/sh/sh.c (sh_option_optimization_table, | |
7082 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_OPTION_INIT_STRUCT, | |
7083 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
7084 | sh_handle_option, sh_option_init_struct): Move to sh-common.c. | |
7085 | * config/sparc/sparc.c: Include common/common-target.h. | |
7086 | (sparc_option_optimization_table, TARGET_DEFAULT_TARGET_FLAGS, | |
7087 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to sparc-common.c. | |
7088 | * config/spu/spu.c (TARGET_DEFAULT_TARGET_FLAGS, | |
7089 | TARGET_OPTION_INIT_STRUCT, TARGET_EXCEPT_UNWIND_INFO, | |
7090 | spu_option_init_struct): Move to spu-common.c. | |
7091 | * config/stormy16/stormy16.c (xstorym16_option_optimization_table, | |
7092 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to xstormy16-common.c. | |
7093 | * config/v850/v850.c (small_memory_physical_max, | |
7094 | v850_handle_memory_optionn v850_handle_option, | |
7095 | v850_option_optimization_table, TARGET_DEFAULT_TARGET_FLAGS, | |
7096 | TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE): Move to | |
7097 | v850-common.c. | |
637c11bd | 7098 | * config/vax/vax.c (TARGET_DEFAULT_TARGET_FLAGS): Move to vax-common.c. |
677f3fa8 JM |
7099 | * config/xtensa/xtensa.c (xtensa_option_optimization_table, |
7100 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE): | |
7101 | Move to xtensa-common.c. | |
7102 | * cfglayout.c: Include common/common-target.h. | |
7103 | (fixup_reorder_chain): Use targetm_common.have_named_sections. | |
7104 | * cfgrtl.c: Include common/common-target.h. | |
7105 | (force_nonfallthru_and_redirect, commit_one_edge_insertion): Use | |
7106 | targetm_common.have_named_sections. | |
7107 | * dbxout.c: Include common/common-target.h. | |
7108 | (dbxout_function_end): Use targetm_common.have_named_sections. | |
7109 | * defaults.h (STACK_OLD_CHECK_PROTECT, STACK_CHECK_PROTECT): Use | |
7110 | targetm_common.except_unwind_info. | |
7111 | * dwarf2out.c: Include common/common-target.h. | |
7112 | (dwarf2out_do_frame, dwarf2out_do_cfi_asm, | |
7113 | dwarf2out_begin_prologue, dwarf2out_frame_init, | |
7114 | dwarf2out_frame_finish, dwarf2out_assembly_start): Use | |
7115 | targetm_common.except_unwind_info. | |
7116 | * except.c: Include common/common-target.h. | |
7117 | (init_eh, finish_eh_generation, | |
7118 | output_one_function_exception_table): Use | |
7119 | targetm_common.except_unwind_info. | |
637c11bd | 7120 | (switch_to_exception_section): Use targetm_common.have_named_sections. |
677f3fa8 JM |
7121 | * explow.c: Include common/common-target.h. |
7122 | * expr.c: Include common/common-target.h. | |
637c11bd | 7123 | (build_personality_function): Use targetm_common.except_unwind_info. |
677f3fa8 JM |
7124 | * function.c: Include common/common-target.h. |
7125 | (expand_function_end): Use targetm_common.except_unwind_info. | |
7126 | * haifa-sched.c: Include common/common-target.h. | |
637c11bd | 7127 | (sched_create_recovery_edges): Use targetm_common.have_named_sections. |
677f3fa8 JM |
7128 | * lto-opts.c: Include common/common-target.h instead of target.h. |
7129 | (lto_reissue_options): Use targetm_common.handle_option. | |
7130 | * opts.c: Include common/common-target.h. | |
7131 | (target_handle_option): Use targetm_common.handle_option. | |
7132 | (init_options_struct): Update comment referring to | |
7133 | targetm.target_option.optimization. Use | |
7134 | targetm_common.default_target_flags, | |
7135 | targetm_common.unwind_tables_default and | |
7136 | targetm_common.option_init_struct. | |
7137 | (default_options_optimization): Use | |
7138 | targetm_common.option_optimization_table. | |
7139 | (finish_options): Use targetm_common.except_unwind_info, | |
7140 | targetm_common.unwind_tables_default, | |
7141 | targetm_common.have_named_sections and | |
7142 | targetm_common.supports_split_stack. | |
7143 | * toplev.c: Include common/common-target.h. | |
7144 | (process_options): Use targetm_common.have_named_sections. | |
7145 | * tree-tailcall.c: Include common/common-target.h. | |
637c11bd | 7146 | (suitable_for_tail_call_opt_p): Use targetm_common.except_unwind_info. |
677f3fa8 | 7147 | * tree.c: Include common/common-target.h. |
637c11bd | 7148 | (build_common_builtin_nodes): Use targetm_common.except_unwind_info. |
677f3fa8 JM |
7149 | * varasm.c: Include common/common-target.h. |
7150 | (resolve_unique_section, hot_function_section, | |
7151 | default_function_section): Use targetm_common.have_named_sections. | |
7152 | ||
d26c7090 ER |
7153 | 2011-06-14 Easwaran Raman <eraman@google.com> |
7154 | ||
7155 | PR rtl-optimization/44194 | |
7156 | * dse.c: Include tree-flow.h | |
7157 | (insn_info): Add new field non_frame_wild_read. | |
7158 | (group_info): Add new fields escaped_n and escaped_p. | |
7159 | (kill_on_calls): New variable. | |
7160 | (get_group_info): Initialize gi->escaped_n and gi->escaped_p. | |
7161 | (dse_step0): Initialize kill_on_calls. | |
7162 | (can_escape): New function. | |
7163 | (set_usage_bits): Add additional parameter; record information | |
7164 | about escaped locations. | |
637c11bd | 7165 | (record_store): Pass EXPR corresponding to MEM to set_usage_bits. |
d26c7090 ER |
7166 | (dse_step2_nospill): Set kill_on_calls based on |
7167 | group->escaped_n and group->escaped_n. | |
7168 | (add_wild_read): Refactor into... | |
7169 | (reset_active_stores): ... New function, and | |
7170 | (free_read_records): ... New function. | |
7171 | (add_non_frame_wild_read): New function. | |
7172 | (scan_insn): Call add_non_frame_wild_read on non-const calls. | |
637c11bd | 7173 | (scan_reads_nospill): Handle instructions with non_frame_wild_read. |
d26c7090 ER |
7174 | (dse_step5_nospill): Call scan_reads_nospill for instructions |
7175 | marked as non_frame_wild_read. | |
637c11bd | 7176 | (dse_step7): Free escaped_n, escaped_p and kill_on_calls bitmaps. |
d26c7090 | 7177 | |
c49a6962 JM |
7178 | 2011-06-14 Joseph Myers <joseph@codesourcery.com> |
7179 | ||
7180 | * common/common-target-def.h, common/common-target.def, | |
7181 | common/common-target.h, common/config/default-common.c, | |
7182 | common/config/pa/pa-common.c: New files. | |
7183 | * Makefile.in (common_out_file, common_out_object_file, | |
7184 | COMMON_TARGET_H, COMMON_TARGET_DEF_H): New. | |
7185 | (OBJS-libcommon-target): Include $(common_out_object_file). | |
7186 | (prefix.o): Update dependencies. | |
7187 | ($(common_out_object_file), common/common-target-hooks-def.h, | |
7188 | s-common-target-hooks-def-h): New. | |
7189 | (s-tm-texi): Also check timestamp on common-target.def. | |
7190 | (build/genhooks.o): Update dependencies. | |
7191 | * config.gcc (common_out_file, target_has_targetm_common): Define. | |
7192 | * config/pa/som.h (ALWAYS_STRIP_DOTDOT): Replace with | |
7193 | TARGET_ALWAYS_STRIP_DOTDOT. | |
7194 | * configure.ac (common_out_object_file): Define. | |
7195 | (common_out_file, common_out_object_file): Substitute. | |
7196 | (common): Create directory. | |
7197 | * configure: Regenerate. | |
7198 | * doc/tm.texi.in (targetm_common): Document. | |
7199 | (TARGET_ALWAYS_STRIP_DOTDOT): Add @hook entry. | |
7200 | * doc/tm.texi: Regenerate. | |
7201 | * genhooks.c (hook_array): Also include common/common-target.def. | |
7202 | * prefix.c (tm.h): Don't include. | |
7203 | (common/common-target.h): Include. | |
7204 | (ALWAYS_STRIP_DOTDOT): Don't define. | |
7205 | (update_path): Use targetm_common.always_strip_dotdot instead of | |
7206 | ALWAYS_STRIP_DOTDOT. | |
7207 | * system.h (ALWAYS_STRIP_DOTDOT): Poison. | |
7208 | ||
22c5fa5f DL |
7209 | 2011-06-14 David Li <davidxl@google.com> |
7210 | ||
7211 | * passes.c (execute_function_todo): Remove TODO_dump_func. | |
7212 | (execute_one_pass): Remove TODO_dump_func. | |
7213 | (execute_function_dump): New function. | |
7214 | * tree-vrp.c: Remove TODO_dump_func. | |
7215 | * regrename.c: Remove TODO_dump_func. | |
7216 | * fwprop.c: Remove TODO_dump_func. | |
7217 | * tree-into-ssa.c: Remove TODO_dump_func. | |
7218 | * tree-complex.c: Remove TODO_dump_func. | |
7219 | * tracer.c: Remove TODO_dump_func. | |
7220 | * tree-loop-distribution.c: Remove TODO_dump_func. | |
7221 | * postreload-gcse.c: Remove TODO_dump_func. | |
7222 | * postreload.c: Remove TODO_dump_func. | |
7223 | * tree-ssa-loop-ch.c: Remove TODO_dump_func. | |
7224 | * tree-tailcall.c: Remove TODO_dump_func. | |
7225 | * ipa-cp.c: Remove TODO_dump_func. | |
7226 | * final.c: Remove TODO_dump_func. | |
7227 | * tree-emutls.c: Remove TODO_dump_func. | |
7228 | * omp-low.c: Remove TODO_dump_func. | |
7229 | * tree-ssa-dse.c: Remove TODO_dump_func. | |
7230 | * tree-ssa-uncprop.c: Remove TODO_dump_func. | |
7231 | * auto-inc-dec.c: Remove TODO_dump_func. | |
7232 | * reorg.c: Remove TODO_dump_func. | |
7233 | * tree-ssa-copyrename.c: Remove TODO_dump_func. | |
7234 | * tree-ssa-ccp.c: Remove TODO_dump_func. | |
7235 | * compare-elim.c: Remove TODO_dump_func. | |
7236 | * mode-switching.c: Remove TODO_dump_func. | |
7237 | * modulo-sched.c: Remove TODO_dump_func. | |
7238 | * tree-call-cdce.c: Remove TODO_dump_func. | |
7239 | * cse.c: Remove TODO_dump_func. | |
7240 | * web.c: Remove TODO_dump_func. | |
7241 | * tree-stdarg.c: Remove TODO_dump_func. | |
7242 | * lto-streamer-out.c: Remove TODO_dump_func. | |
7243 | * tree-ssa-math-opts.c: Remove TODO_dump_func. | |
7244 | * tree-ssa-dom.c: Remove TODO_dump_func. | |
7245 | * tree-nrv.c: Remove TODO_dump_func. | |
7246 | * loop-init.c: Remove TODO_dump_func. | |
7247 | * gimple-low.c: Remove TODO_dump_func. | |
7248 | * ipa-inline.c: Remove TODO_dump_func. | |
7249 | * tree-ssa-sink.c: Remove TODO_dump_func. | |
7250 | * jump.c: Remove TODO_dump_func. | |
7251 | * ifcvt.c: Remove TODO_dump_func. | |
7252 | * tree-ssa-loop.c: Remove TODO_dump_func. | |
7253 | * recog.c: Remove TODO_dump_func. | |
7254 | * dse.c: Remove TODO_dump_func. | |
7255 | * tree-ssa-ifcombine.c: Remove TODO_dump_func. | |
7256 | * matrix-reorg.c: Remove TODO_dump_func. | |
7257 | * tree-eh.c: Remove TODO_dump_func. | |
7258 | * regmove.c: Remove TODO_dump_func. | |
7259 | * function.c: Remove TODO_dump_func. | |
7260 | * tree-vectorizer.c: Remove TODO_dump_func. | |
7261 | * ipa-split.c: Remove TODO_dump_func. | |
7262 | * gcse.c: Remove TODO_dump_func. | |
7263 | * tree-if-conv.c: Remove TODO_dump_func. | |
7264 | * init-regs.c: Remove TODO_dump_func. | |
7265 | * tree-ssa-phiopt.c: Remove TODO_dump_func. | |
7266 | * implicit-zee.c: Remove TODO_dump_func. | |
7267 | * lower-subreg.c: Remove TODO_dump_func. | |
7268 | * bt-load.c: Remove TODO_dump_func. | |
7269 | * tree-dfa.c: Remove TODO_dump_func. | |
7270 | * except.c: Remove TODO_dump_func. | |
7271 | * emit-rtl.c: Remove TODO_dump_func. | |
7272 | * store-motion.c: Remove TODO_dump_func. | |
7273 | * cfgexpand.c: Remove TODO_dump_func. | |
7274 | * tree-cfgcleanup.c: Remove TODO_dump_func. | |
7275 | * cfgcleanup.c: Remove TODO_dump_func. | |
7276 | * tree-ssa-pre.c: Remove TODO_dump_func. | |
7277 | * tree-sra.c: Remove TODO_dump_func. | |
7278 | * tree-mudflap.c: Remove TODO_dump_func. | |
7279 | * tree-ssa-copy.c: Remove TODO_dump_func. | |
7280 | * cfglayout.c: Remove TODO_dump_func. | |
7281 | * tree-ssa-forwprop.c: Remove TODO_dump_func. | |
7282 | * tree-ssa-dce.c: Remove TODO_dump_func. | |
7283 | * ira.c: Remove TODO_dump_func. | |
7284 | * tree-ssa.c: Remove TODO_dump_func. | |
7285 | * integrate.c: Remove TODO_dump_func. | |
7286 | * tree-optimize.c: Remove TODO_dump_func. | |
7287 | * tree-ssa-phiprop.c: Remove TODO_dump_func. | |
7288 | * tree-object-size.c: Remove TODO_dump_func. | |
7289 | * combine.c: Remove TODO_dump_func. | |
7290 | * bb-reorder.c: Remove TODO_dump_func. | |
7291 | * cprop.c: Remove TODO_dump_func. | |
7292 | * var-tracking.c: Remove TODO_dump_func. | |
7293 | * tree-profile.c: Remove TODO_dump_func. | |
7294 | * tree-vect-generic.c: Remove TODO_dump_func. | |
7295 | * reg-stack.c: Remove TODO_dump_func. | |
7296 | * sched-rgn.c: Remove TODO_dump_func. | |
7297 | * tree-ssa-structalias.c: Remove TODO_dump_func. | |
7298 | * tree-switch-conversion.c: Remove TODO_dump_func. | |
7299 | * tree-cfg.c: Remove TODO_dump_func. | |
7300 | * tree-ssa-reassoc.c: Remove TODO_dump_func. | |
7301 | * combine-stack-adj.c: Remove TODO_dump_func. | |
7302 | * dce.c: Remove TODO_dump_func. | |
7303 | * tree-ssanames.c: Remove TODO_dump_func. | |
7304 | * regcprop.c: Remove TODO_dump_func. | |
7305 | ||
fa465762 L |
7306 | 2011-06-14 H.J. Lu <hongjiu.lu@intel.com> |
7307 | ||
7308 | PR middle-end/47364 | |
7309 | * builtins.c (expand_builtin_strlen): Expand strlen to Pmode | |
7310 | and properly handle result not in Pmode. | |
7311 | ||
7d8d16c3 RM |
7312 | 2011-06-14 Robert Millan <rmh@gnu.org> |
7313 | ||
7314 | * config/i386/kfreebsd-gnu.h: Resync with `config/i386/linux.h'. | |
7315 | * config/kfreebsd-gnu.h (GNU_USER_DYNAMIC_LINKER): Resync with | |
7316 | `config/linux.h'. | |
7317 | ||
7318 | * config/i386/kfreebsd-gnu64.h: New file. | |
7319 | * config.gcc (x86_64-*-kfreebsd*-gnu): Replace `i386/kfreebsd-gnu.h' | |
7320 | with `i386/kfreebsd-gnu64.h'. | |
7321 | ||
7322 | * config/i386/linux64.h (GNU_USER_LINK_EMULATION32) | |
7323 | (GNU_USER_LINK_EMULATION64): New macros. | |
7324 | * config/i386/gnu-user64.h (LINK_SPEC): Rely on | |
7325 | `GNU_USER_LINK_EMULATION32' and `GNU_USER_LINK_EMULATION64' instead | |
7326 | of hardcoding `elf_i386' and `elf_x86_64'. | |
7327 | ||
0ccef3d2 NC |
7328 | 2011-06-14 Nick Clifton <nickc@redhat.com> |
7329 | ||
7330 | PR target/49403 | |
7331 | * config/v850/v850.c (v850_memory_move_cost): Add reg_class_t parameter. | |
7332 | ||
7333 | PR target/49402 | |
7334 | * config.gcc(v850*-*-*): Avoid duplication of v850.opt. | |
7335 | ||
8a76c4a0 JJ |
7336 | 2011-06-14 Jakub Jelinek <jakub@redhat.com> |
7337 | ||
1ace6185 JJ |
7338 | PR fortran/49103 |
7339 | * tree.h (DECL_NONSHAREABLE): Define. | |
7340 | (struct tree_decl_common): Change decl_common_unused to | |
7341 | decl_nonshareable_flag. | |
7342 | * cfgexpand.c (expand_used_vars_for_block, clear_tree_used): | |
7343 | Ignore vars with DECL_NONSHAREABLE bit set. | |
7344 | * tree-cfg.c (gimple_duplicate_bb): Set DECL_NONSHAREABLE | |
7345 | on stores to automatic aggregate vars. | |
7346 | ||
8a76c4a0 JJ |
7347 | PR rtl-optimization/49390 |
7348 | Revert: | |
7349 | 2010-06-29 Bernd Schmidt <bernds@codesourcery.com> | |
7350 | ||
7351 | * cse.c (exp_equiv_p): For MEMs, if for_gcse, only compare | |
7352 | MEM_ALIAS_SET. | |
7353 | ||
b4a9343c ZD |
7354 | 2011-06-14 Zdenek Dvorak <ook@ucw.cz> |
7355 | Tom de Vries <tom@codesourcery.com> | |
7356 | ||
7357 | PR target/45098 | |
7358 | * cfgloop.h (nb_iterations_upper_bound, nb_iterations_estimate): | |
7359 | Document changed semantics. | |
7360 | (max_stmt_executions, max_stmt_executions_int): Declare. | |
7361 | * tree-data-ref.c (estimated_loop_iterations) | |
7362 | (estimated_loop_iterations_int): Move functions... | |
7363 | * tree-ssa-loop-niter.c (estimated_loop_iterations) | |
7364 | (estimated_loop_iterations_int): here. | |
7365 | (record_estimate): Change nb_iterations_upper_bound and | |
7366 | nb_iterations_estimate semantics. | |
7367 | (max_stmt_executions, max_stmt_executions_int): New function. | |
7368 | * tree-data-ref.c (estimated_loop_iterations_tree): Rename to ... | |
7369 | (max_stmt_executions_tree): this. | |
7370 | (analyze_miv_subscript): Use max_stmt_executions_tree instead of | |
7371 | estimated_loop_iterations_tree. | |
7372 | tree-ssa-loop-ivopts.c (avg_loop_niter): Use | |
7373 | max_stmt_executions_int instead of estimated_loop_iterations_int. | |
7374 | * predict.c (predict_loops): Idem. | |
7375 | * tree-parloops.c (parallelize_loops): Idem. | |
7376 | * tree-data-ref.c (analyze_siv_subscript_cst_affine) | |
7377 | (compute_overlap_steps_for_affine_1_2, analyze_subscript_affine_affine) | |
7378 | (init_omega_for_ddr_1): Idem. | |
7379 | * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse) | |
7380 | (loop_prefetch_arrays): Idem | |
7381 | * graphite-sese-to-poly.c (build_loop_iteration_domains): Use | |
7382 | max_stmt_executions instead of estimated_loop_iterations. | |
7383 | * tree-data-ref.c (estimated_loop_iterations_tree): Idem. | |
7384 | * tree-vrp.c (adjust_range_with_scev): Use estimated_loop_iterations | |
7385 | instead of nb_iterations_upper_bound. | |
7386 | ||
d2640c43 JH |
7387 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
7388 | ||
7389 | * ipa.c (cgraph_address_taken_from_non_vtable_p): Check the ref type. | |
7390 | ||
40873cdd RH |
7391 | 2011-06-14 Richard Henderson <rth@redhat.com> |
7392 | ||
7393 | PR debug/48459 | |
7394 | * dwarf2out.c (frame_pointer_fb_offset_valid): New. | |
7395 | (based_loc_descr): Assert it's true. | |
7396 | (compute_frame_pointer_to_fb_displacement): Set it, rather than | |
7397 | aborting immediately. | |
7398 | ||
73e8cb24 SL |
7399 | 2011-06-14 Sanjin Liu <scliu@faraday-tech.com> |
7400 | Mingfeng Wu <mingfeng@faraday-tech.com> | |
7401 | ||
7402 | * doc/invoke.texi: Re-add missing -mcpu docs for Faraday cores. | |
7403 | ||
f835f0a7 JH |
7404 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
7405 | ||
7406 | * ipa-cp.c (ipcp_iterate_stage): Revert accidental commit. | |
7407 | ||
ee6f1177 JH |
7408 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
7409 | ||
7410 | * cgraph.c (cgraph_make_decl_local): Handle DECL_ONE_ONLY | |
7411 | similarly to DECL_COMDAT. | |
7412 | * cgraphunit.c (cgraph_analyze_function): Likewise. | |
7413 | * ipa.c (function_and_variable_visibility): Likewise. | |
7414 | ||
618abf9a JH |
7415 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
7416 | ||
7417 | * lto-streamer-out.c (lto_output_ts_binfo_tree_pointers): Do not output | |
7418 | BINFO_VIRTUALS when streaming for ltrans unit. | |
7419 | ||
a45fe02f DE |
7420 | 2011-06-13 David Edelsohn <dje.gcc@gmail.com> |
7421 | ||
7422 | * config/rs6000/rs6000.md (movdi_mfpgpr): Remove POWER mnemonic. | |
7423 | (movdi_internal64): Same. | |
7424 | ||
7425 | 2011-06-13 Edmar Wienskoski <edmar@freescale.com> | |
7426 | ||
e641e495 | 7427 | PR target/44618 |
7d8d16c3 RM |
7428 | * config/rs6000/rs6000.md (save_gpregs_<mode>): Replaced pattern with |
7429 | a set of similar patterns, where the MATCH_OPERAND for the function | |
7430 | argument is replaced with individual references to hardware registers. | |
a45fe02f DE |
7431 | (save_fpregs_<mode>): Ditto |
7432 | (restore_gpregs_<mode>): Ditto | |
7433 | (return_and_restore_gpregs_<mode>): Ditto | |
7434 | (return_and_restore_fpregs_<mode>): Ditto | |
7435 | (return_and_restore_fpregs_aix_<mode>): Ditto | |
7436 | ||
8775a18b JH |
7437 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
7438 | ||
7439 | * ipa-utils.c (postorder_stack): New structure. | |
7440 | (ipa_reverse_postorder): Handle aliases. | |
7441 | ||
7442 | 2011-06-13 Jan Hubicka <jh@suse.cz> | |
7443 | ||
7444 | * ipa-inline.c (reset_edge_caches): Walk aliases. | |
7445 | (update_caller_keys): Do not test inlinability of aliases. | |
7446 | * ipa-inline-analysis.c (do_estimate_edge_time): Look through alias. | |
7447 | (do_estimate_growth): Fix typo. | |
7448 | ||
6c69a029 JH |
7449 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
7450 | ||
7451 | * ipa-inline-transform.c (+can_remove_node_now_p_1): Break out from... | |
7452 | (can_remove_node_now_p): ... here; handle same comdat groups. | |
7453 | (clone_inlined_nodes): Update use of can_remove_node_now_p add TODO. | |
7454 | (inline_call): Update use of can_remove_node_now_p. | |
7455 | ||
10c63ba4 | 7456 | 2011-06-13 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
495f8c14 | 7457 | |
10c63ba4 | 7458 | * config/h8300/h8300.md (bsetqi_msx, bclrqi_msx, bnotqi_msx): Added |
495f8c14 KP |
7459 | condition to disallow non-identical memory locations. |
7460 | (*andqi3_2, andqi3_1, iorqi3_1, xorqi3_1): Reorder insn to give | |
7461 | preference to bit manipulation instructions. | |
495f8c14 | 7462 | |
9aa3f5c5 JH |
7463 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
7464 | ||
7465 | * cgraph.c (cgraph_for_node_thunks_and_aliases, | |
7466 | cgraph_for_node_and_aliases): Fix thinko in recursive walking. | |
7467 | (nonremovable_p): New function. | |
7468 | (cgraph_can_remove_if_no_direct_calls_p): New function. | |
7469 | (used_from_object_file_p): New functoin. | |
10c63ba4 EB |
7470 | (cgraph_will_be_removed_from_program_if_no_direct_calls): Look for |
7471 | references from aliases. | |
9aa3f5c5 JH |
7472 | * cgraph.h (cgraph_can_remove_if_no_direct_calls_p): Bring offline. |
7473 | * ipa-inline.c (check_caller_edge): New function. | |
10c63ba4 EB |
7474 | (want_inline_function_called_once_p): Use it; accept aliases called |
7475 | once, too. | |
9aa3f5c5 JH |
7476 | * ipa-inline-analysis.c (do_estimate_growth): Remove FIXME. |
7477 | ||
30cecf17 RR |
7478 | 2011-06-13 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
7479 | ||
7480 | PR target/48454 | |
7481 | * config/arm/neon.md (vec_pack_trunc): Set the lengths | |
7482 | correctly for the case with Quad vectors. | |
7483 | ||
29f85237 JJ |
7484 | 2011-06-13 Jakub Jelinek <jakub@redhat.com> |
7485 | Ira Rosen <ira.rosen@linaro.org> | |
7486 | ||
7487 | PR tree-optimization/49352 | |
7488 | * tree-vect-loop.c (vect_is_slp_reduction): Don't count debug uses at | |
7489 | all, make sure loop_use_stmt after the loop is a def stmt of a used | |
7490 | SSA_NAME that is the only one defined inside of the loop. Don't | |
7491 | check for COND_EXPR and GIMPLE_BINARY_RHS. | |
7492 | (vect_is_simple_reduction_1): Call vect_is_slp_reduction only if | |
7493 | check_reduction is true. | |
7494 | ||
c3e3f090 JH |
7495 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
7496 | ||
7497 | PR middle-end/49373 | |
7498 | * ipa.c (cgraph_externally_visible_p): Check resolution info. | |
7499 | ||
516e0768 JH |
7500 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
7501 | ||
7502 | PR middle-end/48836 | |
7503 | * ipa-inline-transform.c: Include tree-pass.h | |
7504 | (inline_transform): Set TODO_update_ssa_only_virtuals. | |
7505 | * Makefile.in (ipa-inline-transform.o): Add tree-pass.h. | |
7506 | ||
903b0a8b JH |
7507 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
7508 | ||
7509 | PR middle-end/49378 | |
7510 | * ipa.c (cgraph_non_local_node_p_1, cgraph_local_node_p): Rule out | |
7511 | aliases and thunks. | |
7512 | ||
44542f8e IR |
7513 | 2011-06-12 Ira Rosen <ira.rosen@linaro.org> |
7514 | ||
7515 | * tree-vect-data-refs.c (vect_peeling_hash_get_most_frequent): | |
7516 | Take number of iterations to peel into account for equally frequent | |
7517 | misalignment values. | |
7518 | ||
ea89702b JH |
7519 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
7520 | ||
637c11bd UB |
7521 | * lto-streamer-out.c (produce_symtab): Stream out the newly |
7522 | represented aliases. | |
ea89702b | 7523 | |
380ed5ed JH |
7524 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
7525 | ||
637c11bd UB |
7526 | * ipa-prop.c (ipa_make_edge_direct_to_target): Fix code setting |
7527 | varying args. | |
380ed5ed JH |
7528 | (ipa_update_after_lto_read): Likewise. |
7529 | (ipa_write_node_info): Do not sream call_with_var_arguments. | |
7530 | (ipa_read_node_info): Likewise. | |
7531 | ||
00cfc363 JH |
7532 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
7533 | ||
7534 | * ipa.c (cgraph_comdat_can_be_unshared_p): Fix pasto. | |
7535 | ||
39e2db00 JH |
7536 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
7537 | ||
7538 | * lto-symtab.c (lto_cgraph_replace_node): Kill same body alias code. | |
7539 | (lto_symtab_resolve_can_prevail_p): Likewise. | |
7540 | (lto_symtab_merge_cgraph_nodes): Update merging of aliases. | |
7541 | * cgraph.c (same_body_aliases_done): New global var. | |
7542 | (cgraph_same_body_alias_1): Rename to ... | |
7543 | (cgraph_create_function_alias): ... this one; reorg to new | |
7544 | representation. | |
7545 | (cgraph_same_body_alias): Use cgraph_create_function_alias; | |
7546 | record references when asked to. | |
7547 | (cgraph_add_thunk): Fix formating. | |
7548 | (cgraph_get_node): Kill same body alias code. | |
7549 | (cgraph_node_for_asm): Likewise. | |
7550 | (cgraph_remove_same_body_alias): Remove. | |
7551 | (cgraph_remove_node): Kill same body alias code. | |
7552 | (cgraph_mark_address_taken_node): Mark also the aliased function | |
7553 | as having address taken. | |
7554 | (dump_cgraph_node): Dump same body aliases. | |
7555 | (cgraph_for_node_thunks_and_aliases): Update for new alias | |
7556 | representation. | |
7557 | (cgraph_for_node_and_aliases): Likewise. | |
7558 | * cgraph.h (same_body): Kll pointer. | |
7559 | (same_body_alias): Update comment. | |
7560 | (same_body_aliases_done): Declare. | |
7561 | (cgraph_remove_same_body_alias): Remove declaration. | |
7562 | (cgraph_create_function_alias): Declare. | |
7563 | (cgraph_process_same_body_aliases): Declare. | |
7564 | (cgraph_function_with_gimple_body_p): Check for alias. | |
7565 | (cgraph_can_remove_if_no_direct_calls_p): Look for aliases. | |
7566 | (cgraph_alias_aliased_node): New function. | |
7567 | (cgraph_function_node): Update for new aliases. | |
7568 | (cgraph_function_or_thunk_node): Likewise. | |
7569 | * ipa-inline-transform.c (can_remove_node_now_p): Look for aliases. | |
7570 | (inline_call): Remove dead aliases. | |
10c63ba4 EB |
7571 | * cgraphunit.c (cgraph_decide_is_function_needed): Disable assembler |
7572 | name hack for same body aliases. | |
39e2db00 JH |
7573 | (clone_of_p): Look through aliases. |
7574 | (verify_cgraph_node): Verify aliases. | |
7575 | (cgraph_analyze_function): Analyze aliases; fixup C++ bugs. | |
7576 | (cgraph_process_same_body_aliases): New function. | |
7577 | (process_function_and_variable_attributes): Disable weakref warning on | |
7578 | alias. | |
7579 | (cgraph_analyze_functions): Handle aliases. | |
7580 | (cgraph_mark_functions_to_output): Handle aliases same way as thunks. | |
7581 | (assemble_thunks): Rename to ... | |
7582 | (assemble_thunks_and_aliases): ... this one; handle aliases, too. | |
7583 | (cgraph_expand_function): Remove alias output code. | |
7584 | (cgraph_output_in_order): Skip aliases. | |
7585 | (cgraph_preserve_function_body_p): Aliases don't need preserving. | |
7586 | * ipa-ref.c (ipa_ref_use_name): Add alias reference. | |
7587 | (ipa_record_reference): Do not assert on alias references. | |
7588 | (ipa_ref_has_aliases_p): New function. | |
7589 | * ipa-ref.h (enum ipa_ref_use): Add IPA_REF_ALIAS. | |
7590 | (ipa_ref_has_aliases_p): Declare. | |
7591 | * lto-cgraph.c (lto_output_node): Handle aliases. | |
7592 | (input_node): Likewise. | |
7593 | * lto-streamer-out.c (lto_output): Skip aliases. | |
7594 | (produce_symtab): Kill same_body_alias code. | |
7595 | * ipa-utils.c (ipa_reverse_postorder): Add FIXME. | |
7596 | (ipa_reverse_postorder): Use cgraph_only_called_directly_or_aliased_p. | |
7597 | * ipa-inline.c (update_caller_keys): Walk aliases. | |
7598 | (inline_small_functions): Fix thinko in previous patch. | |
7599 | * ipa.c (cgraph_externally_visible_p): Do not walk aliases. | |
7600 | (function_and_variable_visibility): Do not walk same body aliases. | |
7601 | * tree-ssa-structalias.c (associate_varinfo_to_alias): New function. | |
7602 | (ipa_pta_execute): Use it. | |
7603 | ||
9ee65b55 UB |
7604 | 2011-06-11 Uros Bizjak <ubizjak@gmail.com> |
7605 | ||
7606 | * config/i386/sse.md (vec_dupv4sf): Correct mode of forced register. | |
7607 | (*vec_dupv2df): Rename from vec_dupv2df. | |
7608 | (vec_dupv2df): New expander. | |
7609 | ||
7610 | 2011-06-11 Uros Bizjak <ubizjak@gmail.com> | |
7611 | ||
7612 | * config/i386/sse.md (AVX_VEC_DUP_MODE): Rename from AVX256MODE24P. | |
7613 | ||
7614 | 2011-06-11 Uros Bizjak <ubizjak@gmail.com> | |
7615 | ||
7616 | * config/i386/i386.md: Use default value in "isa" attribute. | |
7617 | * config/i386/sse.md: Ditto. | |
7618 | * config/i386/mmx.md: Ditto. | |
7619 | ||
ba68a139 WG |
7620 | 2011-06-10 Wei Guozhi <carrot@google.com> |
7621 | ||
7622 | PR target/45335 | |
7623 | * config/arm/ldmstm.md (ldm2_ia, stm2_ia, ldm2_ib, stm2_ib, ldm2_da, | |
7624 | stm2_da, ldm2_db, stm2_db): Add condition !arm_arch7 to these insns. | |
7625 | (ldrd, ldrd_reg1, ldrd_reg2 and peephole2): New insn patterns and | |
7626 | related peephole2. | |
7627 | (strd, strd_reg1, strd_reg2 and peephole2): New insn patterns and | |
7628 | related peephole2. | |
7629 | * config/arm/arm-protos.h (arm_check_ldrd_operands): New prototype. | |
7630 | (arm_legitimate_ldrd_p): New prototype. | |
7631 | (arm_output_ldrd): New prototype. | |
7632 | * config/arm/arm.c (arm_check_ldrd_operands): New function. | |
7633 | (arm_legitimate_ldrd_p): New function. | |
7634 | (arm_output_ldrd): New function. | |
7635 | ||
deced1e2 XDL |
7636 | 2011-06-10 David Li <davidxl@google.com> |
7637 | ||
7638 | * cgraphunit.c (cgraph_finalize_compilation_unit): Pass dump. | |
7639 | * passes.c (passr_eq): New function. | |
7640 | (create_pass_tab): New function. | |
7641 | (pass_traverse): New function. | |
7642 | (dump_one_pass): New function. | |
7643 | (dump_pass_list): New function. | |
7644 | (dump_passes): New function. | |
7645 | ||
71fb4f92 JH |
7646 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
7647 | ||
7648 | * cgraph.c (cgraph_set_nothrow_flag_1): Update cgraph after | |
7649 | setting the nothrow flag. | |
7650 | * ipa-reference.c (propagate): Skip aliases. | |
7651 | * ipa-pure-const.c (propagate_pure_const): Skip aliases. | |
7652 | (propagate_nothrow): Skip aliases; do not update cgraph. | |
7653 | (local_pure_const): Do not update cgraph. | |
7654 | * tree-profile.c (tree_profiling): Do fixup_cfg. | |
7655 | ||
41817394 JH |
7656 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
7657 | ||
7658 | * ipa.c (cgraph_non_local_node_p_1): Break out from ...; | |
7659 | (cgraph_local_node_p): ... here; handle aliases. | |
7660 | (has_addr_references_p): Break out from ...; | |
7661 | (cgraph_remove_unreachable_nodes) ... here. | |
7662 | ||
fb37c1de JH |
7663 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
7664 | ||
7665 | * opts.c (default_options): Enlist OPT_finline_functions_called_once. | |
9ee65b55 UB |
7666 | * common.opt (flag_inline_functions_called_once): Do not |
7667 | initialize to 1. | |
fb37c1de | 7668 | |
0818c24c JH |
7669 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
7670 | ||
7671 | * ipa-cp.c (ipcp_versionable_function_p): Thunks are not versionable. | |
9ee65b55 UB |
7672 | (ipcp_initialize_node_lattices): Do not deal with aliases; |
7673 | Do not try to propagate through thunks. | |
0818c24c JH |
7674 | (ipcp_change_tops_to_bottom): Do not deal with aliases. |
7675 | ||
c8246dbe JH |
7676 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
7677 | ||
9ee65b55 UB |
7678 | * ipa-prop.c (ipa_write_node_info): Stream jump functions |
7679 | for indirect calls. | |
c8246dbe JH |
7680 | (ipa_read_node_info): Likewise. |
7681 | ||
d7e2a1c1 BS |
7682 | 2011-06-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
7683 | ||
7684 | PR lto/49302 | |
7685 | * tree-ssa-math-opts.c (powi_as_mults): Minor cleanup. | |
7686 | (build_and_insert_call): Likewise. | |
7687 | (build_and_insert_ref): New. | |
7688 | (gimple_expand_builtin_pow): Minor cleanup. | |
7689 | (gimple_expand_builtin_cabs): New. | |
7690 | (execute_cse_sincos): Add case for BUILT_IN_CABS. | |
9ee65b55 | 7691 | |
749f25d8 JH |
7692 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
7693 | ||
7694 | * ipa-cp.c (ipcp_versionable_function_p): Aliases are not versionable. | |
7695 | (ipcp_cloning_candidate_p): Aliases are not clonning candidates. | |
7696 | (ipcp_initialize_node_lattices): We don't propagate through an aliases. | |
7697 | (ipcp_propagate_stage): Skip aliases when propagating. | |
7698 | (ipcp_need_redirect_p): Skip aliases. | |
7699 | (ipcp_insert_stage): Use FOR_EACH_FUNCTION_WITH_GIMPLE_BODY and | |
7700 | collect_callers_of_node. | |
7701 | * ipa-prop.c (ipa_init_func_list): Do not analyze datastructures | |
7702 | for aliases. | |
7703 | (ipa_compute_jump_functions): Look through aliases. | |
7704 | ||
8340fbd7 RO |
7705 | 2011-06-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7706 | ||
7707 | * doc/sourcebuild.texi (Effective-Target Keywords, pie): Document it. | |
7708 | ||
9aaa7e47 HPN |
7709 | 2011-06-10 Hans-Peter Nilsson <hp@axis.com> |
7710 | ||
7711 | * ira-costs.c: Remove #ifdefs on dead FORBIDDEN_INC_DEC_CLASSES. | |
7712 | Adjust comments. | |
7713 | * system.h (FORBIDDEN_INC_DEC_CLASSES): Poison. | |
7714 | ||
f1724940 JH |
7715 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
7716 | ||
7717 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): | |
7718 | Update call of gimple_get_virt_method_for_binfo. | |
7719 | * gimple-fold.c (gimple_get_virt_method_for_binfo): Remove | |
7720 | refuse_thunks parameter. | |
7721 | (gimple_fold_call): Update. | |
7722 | * ipa-prop.c (try_make_edge_direct_virtual_call): Update. | |
7723 | ||
a6f834c5 JH |
7724 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
7725 | ||
7726 | * tree-sra.c (all_callers_have_enough_arguments_p): Rename to ... | |
7727 | (not_all_callers_have_enough_arguments_p): ... this one; turn into | |
7728 | worker for cgraph_for_node_and_aliases. | |
7729 | (convert_callers_for_node): Break out from ... | |
7730 | (convert_callers): ... here. | |
7731 | (modify_function): Use collect_callers_of_node. | |
7732 | (ipa_early_sra): Use cgraph_for_node_and_aliases. | |
7733 | ||
7871eee3 RG |
7734 | 2011-06-10 Richard Guenther <rguenther@suse.de> |
7735 | ||
7736 | PR tree-optimization/49361 | |
7737 | * fold-const.c (fold_binary_loc): Only fold x * x to pow (x, 2.0) | |
7738 | when not already in gimple form. | |
7739 | ||
dae957ae RG |
7740 | 2011-06-10 Richard Guenther <rguenther@suse.de> |
7741 | ||
7742 | PR bootstrap/49344 | |
7743 | * tree-ssa-math-opts.c (convert_mult_to_fma): Use | |
7744 | FOR_EACH_PHI_OR_STMT_USE. | |
7745 | ||
a5b1779f JH |
7746 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
7747 | ||
7748 | * ipa-inline-transform.c (can_remove_node_now_p): Move out of... | |
7749 | (clone_inlined_nodes): ... here. | |
7750 | (inline_call): Use cgraph_function_or_thunk_node; redirect edge | |
7751 | to real destination prior inlining. | |
7752 | * ipa-inline.c (caller_growth_limits, can_inline_edge_p, | |
7753 | can_early_inline_edge_p, want_early_inline_function_p, | |
7754 | want_early_inline_function_p, want_inline_small_function_p, | |
7755 | want_inline_self_recursive_call_p, want_inline_function_called_once_p, | |
7756 | edge_badness, update_all_callee_keys, lookup_recursive_calls, | |
7757 | add_new_edges_to_heap, inline_small_functions, flatten_function, | |
7758 | inline_always_inline_functions, early_inline_small_functions): Use | |
7759 | cgraph_function_or_thunk_node. | |
7760 | * ipa-inline-analysis.c (evaluate_conditions_for_edge, | |
7761 | dump_inline_edge_summary, estimate_function_body_sizes): Likewise. | |
7762 | (do_estimate_edge_growth_1): Break out from ... | |
7763 | (do_estimate_growth) ... here; walk aliases. | |
7764 | (inline_generate_summary): Skip aliases. | |
7765 | ||
c1ae3ca5 RG |
7766 | 2011-06-10 Richard Guenther <rguenther@suse.de> |
7767 | ||
9ee65b55 UB |
7768 | * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Scan stmts |
7769 | forward when combining, visit inserted stmts when a stmt was changed. | |
c1ae3ca5 | 7770 | |
b504a918 PC |
7771 | 2011-06-10 Paolo Carlini <paolo.carlini@oracle.com> |
7772 | ||
7773 | * tree.h (error_operand_p): Add. | |
7774 | * dbxout.c (dbxout_type_fields): Use the latter. | |
7775 | * c-decl.c (add_stmt): Likewise. | |
7776 | * gimplify.c (omp_add_variable, omp_notice_variable, | |
7777 | gimplify_scan_omp_clauses): Likewise. | |
7778 | ||
3f5ea9dc | 7779 | 2011-06-10 Georg-Johann Lay <avr@gjlay.de> |
b504a918 | 7780 | |
3f5ea9dc GJL |
7781 | * config/avr/avr.c (avr_function_arg_advance): Fix thinko about |
7782 | when a value is actually passed in regs. | |
7783 | ||
b11b0904 | 7784 | 2011-06-10 Eric Botcazou <ebotcazou@adacore.com> |
870c3cf8 | 7785 | Laurent Rougé <laurent.rouge@menta.fr> |
b11b0904 EB |
7786 | |
7787 | * doc/invoke.texi (SPARC options): Add -mflat. | |
7788 | * config/sparc/sparc.opt: Likewise. | |
7789 | * config/sparc/sparc-protos.h (sparc_expand_epilogue): Add parameter. | |
7790 | (sparc_flat_expand_prologue): Declare. | |
7791 | (sparc_flat_expand_epilogue): Likewise. | |
7792 | * config/sparc/sparc.h (CPP_CPU_SPEC): Do not handle -msoft-float. | |
7793 | (CPP_ENDIAN_SPEC): Replace with... | |
7794 | (CPP_OTHER_SPEC): ...this. Also handle -mflat and -msoft-float. | |
7795 | (CPP_SPEC): Adjust to above change. | |
7796 | (EXTRA_SPECS): Likewise. | |
7797 | (SPARC_INCOMING_INT_ARG_FIRST): Add TARGET_FLAT handling. | |
7798 | (INCOMING_REGNO): Likewise. | |
7799 | (OUTGOING_REGNO): Likewise. | |
7800 | (LOCAL_REGNO): Likewise. | |
7801 | (SETUP_FRAME_ADDRESSES): Likewise. | |
7802 | (FIXED_REGISTERS): Set 0 for %fp. | |
7803 | (CALL_USED_REGISTERS): Likewise. | |
7804 | (INITIAL_ELIMINATION_OFFSET): Pass current_function_is_leaf. | |
7805 | (EXIT_IGNORE_STACK): Define to 1 unconditionally. | |
7806 | (RETURN_ADDR_REGNUM): Define. | |
7807 | (RETURN_ADDR_RTX): Use it. | |
7808 | (INCOMING_RETURN_ADDR_REGNUM): Define. | |
7809 | (INCOMING_RETURN_ADDR_RTX): Use it. | |
7810 | (DWARF_FRAME_RETURN_COLUMN): Likewise. | |
7811 | (EH_RETURN_REGNUM): Define. | |
7812 | (EH_RETURN_STACKADJ_RTX): Use it. | |
7813 | (EH_RETURN_HANDLER_RTX): Delete. | |
7814 | (EPILOGUE_USES): Use them and add TARGET_FLAT handling. | |
7815 | * config/sparc/sparc.c (apparent_fsize, actual_fsize, num_gfregs): | |
7816 | Delete. | |
7817 | (struct machine_function): Add frame_size, apparent_frame_size, | |
7818 | frame_base_reg, frame_base_offset, n_global_fp_regs and | |
7819 | save_local_in_regs_p fields. | |
7820 | (sparc_frame_size, sparc_apparent_frame_size, sparc_frame_base_reg, | |
7821 | sparc_frame_base_offset, sparc_n_global_fp_regs, | |
7822 | sparc_save_local_in_regs_p): New macros. | |
7823 | (sparc_option_override): Error out if -fcall-saved-REG is specified | |
7824 | for Out registers. | |
7825 | (eligible_for_restore_insn): Fix formatting. | |
7826 | (eligible_for_return_delay): Likewise. Add TARGET_FLAT handling. | |
7827 | (eligible_for_sibcall_delay): Likewise. | |
7828 | (RTX_OK_FOR_OFFSET_P, RTX_OK_FOR_OLO10_P): Add MODE parameter. | |
7829 | (sparc_legitimate_address_p): Adjust to above change. | |
7830 | (save_global_or_fp_reg_p): New predicate. | |
7831 | (return_addr_reg_needed_p): Likewise. | |
7832 | (save_local_or_in_reg_p): Likewise. | |
7833 | (sparc_compute_frame_size): Use them. Add TARGET_FLAT handling. | |
7834 | (SORR_SAVE, SORR_RESTORE): Delete. | |
7835 | (sorr_pred_t): New typedef. | |
7836 | (sorr_act_t): New enum. | |
7837 | (save_or_restore_regs): Rename to... | |
7838 | (emit_save_or_restore_regs): ...this. Change type of LOW and HIGH | |
7839 | parameters, remove ACTION parameter, add LEAF_FUNCTION_P, SAVE_P, | |
7840 | ACTION_TRUE and ACTION_FALSE parameters. Implement more general | |
7841 | mechanism. Add CFI information for double-word saves in 32-bit mode. | |
7842 | (emit_adjust_base_to_offset): New function extracted from... | |
7843 | (emit_save_or_restore_regs): ...this. Rename the rest to... | |
7844 | (emit_save_or_restore_regs_global_fp_regs): ...this. | |
7845 | (emit_save_or_restore_regs_local_in_regs): New function. | |
7846 | (gen_create_flat_frame_[123]): New functions. | |
7847 | (sparc_expand_prologue): Use SIZE local variable. Adjust. | |
7848 | (sparc_flat_expand_prologue): New function. | |
7849 | (sparc_asm_function_prologue): Add TARGET_FLAT handling. | |
7850 | (sparc_expand_epilogue): Use SIZE local variable. Adjust. | |
7851 | (sparc_flat_expand_epilogue): New function. | |
7852 | (sparc_can_use_return_insn_p): Add TARGET_FLAT handling. | |
7853 | (output_return): Likewise. | |
7854 | (output_sibcall): Likewise. | |
7855 | (sparc_output_mi_thunk): Likewise. | |
7856 | (sparc_frame_pointer_required): Likewise. | |
7857 | (sparc_conditional_register_usage): If TARGET_FLAT, disable the leaf | |
7858 | function optimization. | |
7859 | * config/sparc/sparc.md (flat): New attribute. | |
7860 | (prologue): Add TARGET_FLAT handling. | |
7861 | (save_register_window): Disable if TARGET_FLAT. | |
7862 | (create_flat_frame_[123]): New patterns. | |
7863 | (epilogue): Add TARGET_FLAT handling. | |
7864 | (sibcall_epilogue): Likewise. | |
7865 | (eh_return): New expander. | |
7866 | (eh_return_internal): New insn and splitter. | |
7867 | (return_internal): Add TARGET_FLAT handling. | |
7868 | (untyped_return): Remove bogus test and use RETURN_ADDR_REGNUM. | |
7869 | (save_stack_nonlocal): Use RETURN_ADDR_REGNUM. | |
7870 | (nonlocal_goto): Add TARGET_FLAT handling. | |
7871 | * config/sparc/t-elf: Add -mflat multilib. | |
7872 | * config/sparc/t-leon: Likewise. | |
7873 | ||
fede8efa JH |
7874 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
7875 | ||
7876 | * ipa-utils.c (searchc): Use cgraph_function_or_thunk_node. | |
7877 | * ipa-pure-const.c (analyze_function): Aliases don't need analysis. | |
7878 | (self_recursive_p): Use cgraph_function_node. | |
7879 | (propagate_pure_const): Likewise. | |
7880 | (propagate_nothrow): Likewise. | |
7881 | * ipa-reference.c (ipa_reference_get_not_read_global): Use | |
7882 | cgraph_function_node. | |
7883 | (propagate_bits): Likewise. | |
7884 | (propagate): Likewise. | |
7885 | ||
0127c76f RR |
7886 | 2011-06-10 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
7887 | Richard Earnshaw <rearnsha@arm.com> | |
7888 | ||
9ee65b55 | 7889 | * config/arm/arm.c (const_ok_for_op): Check to see if mvn can be used. |
0127c76f RR |
7890 | * config/arm/vfp.md (*arm_movdi_vfp): Delete. |
7891 | (*thumb2_movdi_vfp): Delete. | |
7892 | (*arm_movdi_vfp_cortexa8): Delete. | |
7893 | (*movdi_vfp): Consolidate from *arm_movdi_vfp and *thumb2_movdi_vfp. | |
7894 | (*movdi_vfp_cortexa8): Likewise. | |
7895 | ||
f93fe5a0 RG |
7896 | 2011-06-10 Richard Guenther <rguenther@suse.de> |
7897 | ||
7898 | * stor-layout.c (initialize_sizetypes): Give names to all | |
7899 | sizetype kinds. | |
7900 | ||
f2164f87 IR |
7901 | 2011-06-10 Ira Rosen <ira.rosen@linaro.org> |
7902 | ||
7903 | PR tree-optimization/49318 | |
7904 | * tree-vect-loop.c (vect_determine_vectorization_factor): Remove | |
7905 | irrelevant pattern statements. | |
7906 | ||
3f91c962 HPN |
7907 | 2011-06-10 Hans-Peter Nilsson <hp@axis.com> |
7908 | ||
3d223145 HPN |
7909 | * system.h (SETJMP_VIA_SAVE_AREA): Poison. |
7910 | ||
3f91c962 HPN |
7911 | PR bootstrap/49354 |
7912 | * ira-costs.c (setup_regno_cost_classes_by_mode): Add missing cast | |
7913 | to last assignment. | |
7914 | ||
b125ad45 JH |
7915 | 2011-06-09 Jan Hubicka <jh@suse.cz> |
7916 | ||
7917 | * cgraphunit.c (cgraph_reset_node): Do not set redefined_extern_inline; | |
7918 | do not recompute reachable flag. | |
7919 | (cgraph_finalize_function, cgraph_analyze_functions): Set | |
7920 | redefined_extern_inline here. | |
7921 | ||
be330ed4 JH |
7922 | 2011-06-09 Jan Hubicka <jh@suse.cz> |
7923 | ||
7924 | * cgraph.h (cgraph_only_called_directly_or_aliased_p): Rename from ... | |
7925 | (cgraph_only_called_directly_p): ... this one; bring offline. | |
7926 | (resolution_used_from_other_file_p, cgraph_used_from_object_file_p, | |
7927 | varpool_used_from_object_file_p): Drop names from the declaratoin. | |
7928 | (cgraph_for_node_thunks_and_aliases, cgraph_for_node_and_aliases, | |
7929 | collect_callers_of_node): New. | |
7930 | (cgraph_function_node, cgraph_function_or_thunk_node): New functions. | |
7931 | (cgraph_edge_recursive_p): Use cgraph_function_node. | |
7932 | * cgraph.c (cgraph_add_thunk): Check that thunk is not already alias. | |
7933 | (cgraph_node_cannot_be_local_p_1): Break out from ... | |
7934 | (cgraph_node_can_be_local_p): ... here; walk aliases. | |
7935 | (cgraph_for_node_thunks_and_aliases): New function. | |
7936 | (cgraph_for_node_and_aliases): New function. | |
7937 | (cgraph_make_node_local_1): Break out from ... | |
9ee65b55 UB |
7938 | (cgraph_make_node_local) ... here; use |
7939 | cgraph_for_node_thunks_and_aliases. | |
be330ed4 | 7940 | (cgraph_set_nothrow_flag_1): Break out from ... |
9ee65b55 UB |
7941 | (cgraph_set_nothrow_flag) ... here; |
7942 | use cgraph_for_node_thunks_and_aliases. | |
be330ed4 | 7943 | (cgraph_set_const_flag_1): Break out from ... |
9ee65b55 UB |
7944 | (cgraph_set_const_flag) ... here; |
7945 | use cgraph_for_node_thunks_and_aliases. | |
be330ed4 | 7946 | (cgraph_set_pure_flag_1): Break out from ... |
9ee65b55 UB |
7947 | (cgraph_set_pure_flag) ... here; |
7948 | use cgraph_for_node_thunks_and_aliases. | |
be330ed4 | 7949 | (cgraph_propagate_frequency_1): Break out from ... |
9ee65b55 UB |
7950 | (cgraph_propagate_frequency) ... here; use |
7951 | cgraph_for_node_thunks_and_aliases. | |
be330ed4 | 7952 | (cgraph_used_from_object_file_p): Do not care about aliases. |
9ee65b55 UB |
7953 | (cgraph_not_only_called_directly_p_1, cgraph_only_called_directly_p): |
7954 | New functions. | |
be330ed4 JH |
7955 | (collect_callers_of_node_1, collect_callers_of_node): New functions. |
7956 | ||
2ea91d6b HPN |
7957 | 2011-06-10 Hans-Peter Nilsson <hp@axis.com> |
7958 | ||
7959 | PR rtl-optimization/49154 | |
7960 | * config/cris/cris.h (FIXED_REGISTERS): Include CRIS_CC0_REGNUM. | |
7961 | (enum reg_class): Add SRP_REGS and MOF_SRP_REGS. | |
7962 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS) | |
7963 | (PREFERRED_RELOAD_CLASS, SECONDARY_RELOAD_CLASS): Adjust to fit. | |
7964 | * config/cris/cris.h (cris_register_move_cost): Remove | |
7965 | !TARGET_V32 code. Tweak comments. | |
7966 | ||
9cf4fb5a JH |
7967 | 2011-06-09 Jan Hubicka <jh@suse.cz> |
7968 | ||
7969 | * cgraphbuild.c (record_eh_tables): Mark personality function as having | |
7970 | address taken. | |
7971 | ||
6049a4c8 HPN |
7972 | 2011-06-10 Hans-Peter Nilsson <hp@axis.com> |
7973 | ||
c577822e | 7974 | PR rtl-optimization/49154 |
9ee65b55 UB |
7975 | * ira-costs.c (setup_regno_cost_classes_by_mode): If there already |
7976 | is a matching slot in the hashtable, assign it to classes_ptr. | |
c577822e | 7977 | |
54e1e4f7 | 7978 | PR rtl-optimization/49154 |
6049a4c8 HPN |
7979 | * doc/tm.texi.in (Register Classes): Document rule for the narrowest |
7980 | register classes. | |
7981 | * doc/tm.texi: Regenerate. | |
7982 | ||
3be68b64 KK |
7983 | 2011-06-09 Kaz Kojima <kkojima@gcc.gnu.org> |
7984 | ||
7985 | PR target/49307 | |
7986 | * config/sh/sh.md (UNSPEC_CHKADD): New. | |
7987 | (chk_guard_add): New define_insn_and_split. | |
7988 | (symGOT_load): Use chk_guard_add instead of blockage. | |
7989 | ||
bf806a90 KT |
7990 | 2011-06-09 Kai Tietz <ktietz@redhat.com> |
7991 | ||
7992 | * libgcc2.c (L_trampoline): Include windows.h for mingw targets. | |
7993 | ||
d5a9738b EB |
7994 | 2011-06-09 Eric Botcazou <ebotcazou@adacore.com> |
7995 | ||
7996 | * config/sparc/sparc.md (return_internal): Adjust 'length' attribute. | |
7997 | ||
527e82c2 WG |
7998 | 2011-06-09 Wei Guozhi <carrot@google.com> |
7999 | ||
8000 | PR target/46975 | |
8001 | * config/arm/arm.md (*addsi3_carryin_compare0_<optab>): New pattern. | |
8002 | (peephole2 for conditional move): Generate 16 bit instructions. | |
8003 | ||
b8bc3a43 UB |
8004 | 2011-06-09 Uros Bizjak <ubizjak@gmail.com> |
8005 | ||
8006 | * config/i386/i386.md (*movdi_internal_rex64): Merge | |
8007 | alternatives 6 and 8. | |
8008 | ||
4745da6e DL |
8009 | 2011-06-09 David Li <davidxl@google.com> |
8010 | ||
8011 | * cgraphunit.c (cgraph_finalize_compilation_unit): Pass dump. | |
8012 | * passes.c (passr_eq): New function. | |
8013 | (create_pass_tab): New function. | |
8014 | (pass_traverse): New function. | |
8015 | (dump_one_pass): New function. | |
8016 | (dump_pass_list): New function. | |
8017 | (dump_passes): New function. | |
8018 | ||
bdf67bcb DL |
8019 | 2011-06-09 David Li <davidxl@google.com> |
8020 | ||
8021 | * tree-complex.c (tree_lower_complex): Gate cleanup. | |
8022 | * tree-stdarg.c (check_all_va_list_escapes): Ditto. | |
8023 | (execute_optimize_stdarg): Ditto. | |
8024 | * tree-eh.c (execute_lower_eh_dispatch): Ditto. | |
8025 | (execute_cleanup_eh_1): Ditto. | |
8026 | (execute_cleanup_eh): Ditto. | |
8027 | * gcse.c (gate_rtl_pre): Ditto. | |
8028 | (execute_rtl_pre): Ditto. | |
8029 | * except.c (finish_eh_generation): Ditto. | |
8030 | (convert_to_eh_region_ranges): Ditto. | |
8031 | * cprop.c (one_cprop_pass): Ditto. | |
8032 | ||
547fdef8 BS |
8033 | 2011-06-09 Bernd Schmidt <bernds@codesourcery.com> |
8034 | ||
8035 | PR target/48673 | |
8036 | * config/ia64/ia64.c (ia64_reorg): Clear BB_DISABLE_SCHEDULE flag | |
8037 | in all basic blocks. | |
8038 | ||
10e48e39 RO |
8039 | 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8040 | ||
8041 | * config/alpha/netbsd.h (ENABLE_EXECUTE_STACK): Remove. | |
8042 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
8043 | * config/alpha/osf5.h (ENABLE_EXECUTE_STACK): Remove. | |
8044 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
8045 | * config/darwin.h (ENABLE_EXECUTE_STACK): Remove. | |
8046 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
8047 | * config/i386/mingw32.h (MINGW_ENABLE_EXECUTE_STACK): Remove. | |
8048 | (ENABLE_EXECUTE_STACK): Remove. | |
8049 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
8050 | [IN_LIBGCC2]: Don't include <windows.h>. | |
8051 | * config/i386/netbsd-elf.h (ENABLE_EXECUTE_STACK): Remove. | |
8052 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
8053 | * config/i386/netbsd64.h (ENABLE_EXECUTE_STACK): Remove. | |
8054 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
8055 | * config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Remove. | |
8056 | * config/openbsd.h (ENABLE_EXECUTE_STACK): Remove. | |
8057 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
8058 | * config/sol2.h (ENABLE_EXECUTE_STACK): Remove. | |
8059 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
8060 | * config/sparc/freebsd.h (ENABLE_EXECUTE_STACK): Remove. | |
8061 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
8062 | * config/sparc/netbsd-elf.h (ENABLE_EXECUTE_STACK): Remove. | |
8063 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
8064 | * config/alpha/alpha.c (alpha_trampoline_init): Test | |
8065 | HAVE_ENABLE_EXECUTE_STACK. | |
8066 | * config/i386/i386.c (ix86_trampoline_init): Likewise. | |
8067 | * config/sparc/sparc.c (sparc32_initialize_trampoline): Likewise. | |
8068 | (sparc64_initialize_trampoline): Likewise. | |
8069 | * libgcc2.c [L_enable_execute_stack]: Remove. | |
8070 | * system.h (ENABLE_EXECUTE_STACK): Poison. | |
8071 | * doc/tm.texi.in (Trampolines, ENABLE_EXECUTE_STACK): Remove. | |
8072 | * doc/tm.texi: Regenerate. | |
8073 | * Makefile.in (LIBGCC2_CFLAGS): Add -fbuilding-libgcc. | |
8074 | ||
8ced31fe JJ |
8075 | 2011-06-09 Jakub Jelinek <jakub@redhat.com> |
8076 | ||
8077 | PR middle-end/49308 | |
8078 | * dce.c (reset_unmarked_insns_debug_uses): Avoid shadowing insn | |
8079 | variable. After resetting and rescanning insn continue with previous | |
8080 | statement. | |
8081 | ||
ee610fcd RO |
8082 | 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8083 | ||
8084 | * configure.ac (gcc_cv_as_hidden): Enable on *-*-darwin*. | |
8085 | (gcc_cv_ld_hidden): Likewise. | |
8086 | * configure: Regenerate. | |
8087 | * config/i386/i386.c (USE_HIDDEN_LINKONCE): Remove TARGET_MACHO. | |
8088 | (ix86_stack_protect_fail): Mark unused. | |
8089 | (TARGET_STACK_PROTECT_FAIL) [TARGET_MACHO]: Don't redefine. | |
8090 | * config/rs6000/rs6000.c (rs6000_assemble_visibility) | |
8091 | [TARGET_MACHO]: Don't define. | |
8092 | (TARGET_ASM_ASSEMBLE_VISIBILITY): Likewise. | |
8093 | (TARGET_STACK_PROTECT_FAIL): Likewise. | |
8094 | (rs6000_stack_protect_fail): Mark unused. | |
8095 | * dwarf2asm.c (dw2_output_indirect_constant_1): Mark decl hidden if | |
b8bc3a43 | 8096 | USE_LINKONCE_INDIRECT. Don't emit .hidden expicitly. |
ee610fcd | 8097 | |
8f2e22ff AK |
8098 | 2011-06-08 Andi Kleen <ak@linux.intel.com> |
8099 | ||
8100 | * varasm.c (get_section): Print location of other conflict | |
8101 | for section conflicts. | |
8102 | ||
815cecbe AK |
8103 | 2011-06-08 Andi Kleen <ak@linux.intel.com> |
8104 | ||
8105 | * config/i386/driver-i386.c (host_detect_local_cpu): | |
8106 | Add model 0x2d Intel CPU. | |
8107 | ||
1460ec5c AK |
8108 | 2011-06-08 Andi Kleen <ak@linux.intel.com> |
8109 | ||
8110 | * reginfo.c (global_regs_decl): Add. | |
b8bc3a43 UB |
8111 | (globalize_reg): Add decl parameter. Compute location. Pass location |
8112 | to warnings and add inform. Store decl in global_regs_decl. | |
1460ec5c AK |
8113 | * rtl.h (globalize_reg): Update prototype. |
8114 | * varasm.c (make_decl_rtl): Pass decl to globalize_reg(). | |
8115 | ||
df17530a MX |
8116 | 2011-06-09 Mingjie Xing <mingjie.xing@gmail.com> |
8117 | ||
8118 | * treestruct.def (TS_TYPE_DECL): Fix the printable name typo. | |
8119 | ||
409fed48 KK |
8120 | 2011-06-08 Kaz Kojima <kkojima@gcc.gnu.org> |
8121 | ||
8122 | PR target/49305 | |
8123 | * config/sh/predicates.md (general_movsrc_operand): Check | |
8124 | mode for memory with indexed address for QI and HImode. | |
8125 | (general_movdst_operand): Likewise. | |
8126 | ||
87c16a45 NP |
8127 | 2011-06-09 Nicola Pero <nicola.pero@meta-innovation.com> |
8128 | ||
b8bc3a43 | 8129 | * doc/objc.texi (Traditional GNU Objective-C runtime API): Updated. |
87c16a45 | 8130 | |
49931fcb AO |
8131 | 2011-06-08 Alexandre Oliva <aoliva@redhat.com> |
8132 | ||
8133 | * tree-flow-inline.h (op_iter_init): Reject GIMPLE_PHI stmts. | |
8134 | (num_ssa_operands): Likewise. | |
8135 | (op_iter_init_phiuse): Forward-declare. | |
8136 | (delink_stmt_imm_use): Iterate with FOR_EACH_PHI_OR_STMT_USE. | |
8137 | ||
29494d1f NC |
8138 | 2011-06-08 Nick Clifton <nickc@redhat.com> |
8139 | ||
8140 | * doc/invoke.texi (ARM Options): Update description of | |
8141 | -mthumb-interwork. | |
8142 | ||
4ffae7ff L |
8143 | 2011-06-08 H.J. Lu <hongjiu.lu@intel.com> |
8144 | ||
8145 | * config/i386/driver-i386.c (host_detect_local_cpu): Support | |
8146 | unknown Intel family 0x6 CPUs. | |
8147 | ||
d9c77712 MJ |
8148 | 2011-06-08 Martin Jambor <mjambor@suse.cz> |
8149 | ||
8150 | * tree-sra.c (mark_rw_status): Removed. | |
8151 | (analyze_access_subtree): New parameter parent instead of | |
8152 | mark_read and mark_write, propagate from that. | |
8153 | ||
b1def36c JB |
8154 | 2011-06-08 Julian Brown <julian@codesourcery.com> |
8155 | ||
8156 | * config/arm/arm.c (arm_libcall_uses_aapcs_base): Use correct ABI | |
8157 | for double-precision helper functions in hard-float mode if only | |
8158 | single-precision arithmetic is supported in hardware. | |
8159 | ||
6c8e9fc9 AM |
8160 | 2011-06-08 Alexander Monakov <amonakov@ispras.ru> |
8161 | ||
8162 | PR rtl-optimization/49303 | |
8163 | * sel-sched.c (move_op): Use correct type for 'res'. Verify that | |
8164 | code_motion_path_driver returned 0 or 1. | |
8165 | (sel_region_finish): Clear h_d_i_d. | |
8166 | ||
c2bbcb0d KK |
8167 | 2011-06-08 Kaz Kojima <kkojima@gcc.gnu.org> |
8168 | ||
8169 | * config/sh/sh.c (prepare_move_operands): Set pic register | |
8170 | appropriately for global and local dynamic tls models even | |
8171 | if flag_pic is unset. | |
8172 | ||
6976ae51 JM |
8173 | 2011-06-07 Jason Merrill <jason@redhat.com> |
8174 | ||
8175 | * pretty-print.h (ATTRIBUTE_GCC_PPDIAG): Use GCC_DIAG_STYLE if set. | |
8176 | ||
bb5b1f5e XDL |
8177 | 2011-06-07 Xinliang David Li <davidxl@google.com> |
8178 | * passes.c (enable_disable_pass): Handle assembler name. | |
8179 | (is_pass_explicitly_enabled_or_disabled): Ditto. | |
8180 | ||
91ffe356 RO |
8181 | 2011-06-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8182 | ||
8183 | PR tree-optimization/48497 | |
8184 | * doc/sourcebuild.texi (Directives, dg-additional-options): Document. | |
8185 | ||
06bc3ec7 BS |
8186 | 2011-06-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
8187 | ||
8188 | PR tree-optimization/46728 | |
8189 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Change FIXME | |
8190 | to use gimple_val_nonnegative_real_p. | |
8191 | * gimple-fold.c (gimple_val_nonnegative_real_p): New function. | |
8192 | * gimple.h (gimple_val_nonnegative_real_p): New declaration. | |
29494d1f | 8193 | |
c074d740 L |
8194 | 2011-06-07 H.J. Lu <hongjiu.lu@intel.com> |
8195 | ||
8196 | * config/i386/i386.md (*movsf_internal): Optimize AVX check. | |
8197 | ||
8973b112 SG |
8198 | 2011-06-07 Sergey Grechanik <mouseentity@ispras.ru> |
8199 | ||
8200 | * config/arm/arm.c (coproc_secondary_reload_class): Return NO_REGS for | |
8201 | constant vectors. | |
8202 | ||
67b88453 RG |
8203 | 2011-06-07 Richard Guenther <rguenther@suse.de> |
8204 | ||
8205 | * stor-layout.c (initialize_sizetypes): Initialize all | |
8206 | sizetypes based on target definitions. | |
8207 | (set_sizetype): Remove. | |
8208 | * tree.c (build_common_tree_nodes): Do not call set_sizetype. | |
8209 | * tree.h (set_sizetype): Remove. | |
8210 | ||
1dcad079 NC |
8211 | 2011-06-07 Nick Clifton <nickc@redhat.com> |
8212 | ||
8213 | * config.gcc: Unify V850 architecture options and add support for | |
8214 | newer V850 architectures. | |
8215 | * config/v850/t-v850e: Delete. | |
8216 | ||
009db074 RG |
8217 | 2011-06-07 Richard Guenther <rguenther@suse.de> |
8218 | ||
8219 | * tree.c (build_common_tree_nodes): Also initialize size_type_node. | |
8220 | Call set_sizetype from here. | |
8221 | ||
f373314f AS |
8222 | 2011-06-07 Andrew Stubbs <ams@codesourcery.com> |
8223 | ||
8224 | * config/arm/arm.md (*maddhidi4tb, *maddhidi4tt): New define_insns. | |
8225 | (*maddhisi4tb, *maddhisi4tt): New define_insns. | |
8226 | ||
c536876e AS |
8227 | 2011-06-07 Bernd Schmidt <bernds@codesourcery.com> |
8228 | Andrew Stubbs <ams@codesourcery.com> | |
8229 | ||
8230 | * simplify-rtx.c (simplify_unary_operation_1): Canonicalize widening | |
8231 | multiplies. | |
8232 | * doc/md.texi (Canonicalization of Instructions): Document widening | |
8233 | multiply canonicalization. | |
8234 | ||
308dc890 JJ |
8235 | 2011-06-07 Jakub Jelinek <jakub@redhat.com> |
8236 | ||
8237 | PR gcov-profile/49299 | |
b8bc3a43 | 8238 | * value-prof.c (gimple_ic): Don't assume icall has a fallthru edge. |
308dc890 | 8239 | |
383d9c83 IR |
8240 | 2011-06-07 Ira Rosen <ira.rosen@linaro.org> |
8241 | ||
8242 | * tree-vectorizer.h (vect_recog_func_ptr): Make last argument to be | |
8243 | a pointer. | |
8244 | * tree-vect-patterns.c (vect_recog_widen_sum_pattern, | |
8245 | vect_recog_widen_mult_pattern, vect_recog_dot_prod_pattern, | |
8246 | vect_recog_pow_pattern): Likewise. | |
8247 | (vect_pattern_recog_1): Remove declaration. | |
8248 | (widened_name_p): Remove declaration. Add new argument to specify | |
8249 | whether to check that both types are either signed or unsigned. | |
8250 | (vect_recog_widen_mult_pattern): Update documentation. Handle | |
8251 | unsigned patterns and multiplication by constants. | |
8252 | (vect_pattern_recog_1): Update vect_recog_func references. Use | |
8253 | statement information from the statement returned from pattern | |
8254 | detection functions. | |
8255 | (vect_pattern_recog): Update vect_recog_func reference. | |
8256 | * tree-vect-stmts.c (vectorizable_type_promotion): For widening | |
8257 | multiplication by a constant use the type of the other operand. | |
8258 | ||
4de4b0f2 RS |
8259 | 2011-06-06 Richard Sandiford <rdsandiford@googlemail.com> |
8260 | ||
8261 | PR rtl-optimization/49145 | |
8262 | * combine.c (make_compound_operation): Handle ZERO_EXTEND specially. | |
8263 | ||
a9d24544 JJ |
8264 | 2011-06-06 Jakub Jelinek <jakub@redhat.com> |
8265 | ||
99a5e049 JJ |
8266 | PR debug/49262 |
8267 | * dwarf2out.c (native_encode_initializer): Decrement count in each | |
8268 | iteration. | |
8269 | ||
04902d4c JJ |
8270 | PR debug/49294 |
8271 | * dwarf2out.c (mem_loc_descriptor) <do_shift>: Give up for | |
8272 | non-MODE_INT modes. | |
8273 | ||
a9d24544 JJ |
8274 | PR c++/49264 |
8275 | * gimple-fold.c (fold_stmt_1): Don't try to fold *& on the lhs | |
8276 | if stmt folded into nothing. | |
b8bc3a43 UB |
8277 | * tree-inline.c (fold_marked_statements): If a builtin at the end of |
8278 | a bb folded into nothing, just update cgraph edges and move to next bb. | |
a9d24544 JJ |
8279 | * cgraph.c (cgraph_update_edges_for_call_stmt_node): Allow new_stmt |
8280 | to be NULL. Don't compute count and frequency if new_call is NULL. | |
8281 | ||
47c79d56 DN |
8282 | 2011-06-04 Diego Novillo <dnovillo@google.com> |
8283 | ||
8284 | * Makefile.in (lto-compress.o): Add dependency on LTO_STREAMER_H. | |
8285 | (cgraph.o): Likewise. | |
8286 | (cgraphunit.o): Likewise. | |
8287 | * cgraphunit.c: Include lto-streamer.h | |
8288 | (cgraph_finalize_compilation_unit): Call lto_streamer_hooks_init | |
8289 | if LTO is enabled. | |
8290 | * lto-streamer-in.c (unpack_value_fields): Call | |
8291 | streamer_hooks.unpack_value_fields if set. | |
8292 | (lto_materialize_tree): For unhandled nodes, first try to | |
8293 | call lto_streamer_hooks.alloc_tree, if it exists. | |
8294 | (lto_input_ts_decl_common_tree_pointers): Move reading of | |
8295 | DECL_INITIAL to lto_streamer_read_tree. | |
8296 | (lto_read_tree): Call lto_streamer_hooks.read_tree if set. | |
8297 | (lto_streamer_read_tree): New. | |
8298 | (lto_reader_init): Rename from lto_init_reader. | |
8299 | Move initialization code to lto/lto.c. | |
8300 | * lto-streamer-out.c (pack_value_fields): Call | |
8301 | streamer_hooks.pack_value_fields if set. | |
b8bc3a43 UB |
8302 | (lto_output_tree_ref): For tree nodes that are not normally indexable, |
8303 | call streamer_hooks.indexable_with_decls_p before giving up. | |
47c79d56 | 8304 | (lto_output_ts_decl_common_tree_pointers): Move handling |
b8bc3a43 UB |
8305 | for FUNCTION_DECL and TRANSLATION_UNIT_DECL to lto_streamer_write_tree. |
8306 | (lto_output_tree_header): Call streamer_hooks.is_streamable instead of | |
8307 | lto_is_streamable. Call lto_streamer_hooks.output_tree_header if set. | |
8308 | (lto_write_tree): Call lto_streamer_hooks.write_tree if set. | |
47c79d56 DN |
8309 | (lto_streamer_write_tree): New. |
8310 | (lto_output): Call lto_streamer_init directly. | |
8311 | (lto_writer_init): Remove. | |
8312 | * lto-streamer.c (streamer_hooks): New. | |
8313 | (lto_streamer_cache_create): Call streamer_hooks.preload_common_nodes | |
8314 | instead of lto_preload_common_nodes. | |
8315 | (lto_is_streamable): Move from lto-streamer.h | |
8316 | (lto_streamer_hooks_init): New. | |
8317 | (streamer_hooks): New. | |
8318 | (streamer_hooks_init): New. | |
8319 | * lto-streamer.h (struct output_block): Forward declare. | |
8320 | (struct lto_input_block): Likewise. | |
8321 | (struct data_in): Likewise. | |
8322 | (struct bitpack_d): Likewise. | |
8323 | (struct streamer_hooks): Declare. | |
8324 | (streamer_hooks): Declare. | |
8325 | (lto_streamer_hooks_init): Declare. | |
8326 | (lto_streamer_write_tree): Declare. | |
8327 | (lto_streamer_read_tree): Declare. | |
8328 | (streamer_hooks_init): Declare. | |
8329 | (lto_is_streamable): Move to lto-streamer.c | |
8330 | ||
22afe143 AK |
8331 | 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
8332 | ||
8333 | * longlong.h (smul_ppmm): The resulting register pair contains the | |
8334 | higher order word first. | |
8335 | ||
3906ea1b BS |
8336 | 2011-06-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
8337 | ||
8338 | PR tree-optimization/46728 | |
8339 | * builtins.c (powi_table): Remove. | |
8340 | (powi_lookup_cost): Remove. | |
8341 | (powi_cost): Remove. | |
8342 | (expand_powi_1): Remove. | |
8343 | (expand_powi): Remove. | |
8344 | (expand_builtin_pow_root): Remove. | |
8345 | (expand_builtin_pow): Remove. | |
8346 | (expand_builtin_powi): Eliminate handling of constant exponent. | |
8347 | (expand_builtin): Use expand_builtin_mathfn_2 for BUILT_IN_POW. | |
b8bc3a43 | 8348 | |
3598cabd AO |
8349 | 2011-06-06 Alexandre Oliva <aoliva@redhat.com> |
8350 | ||
8351 | * cprop.c (local_cprop_pass): Don't set changed for debug insns. | |
8352 | ||
a7a110bb AO |
8353 | 2011-06-06 Alexandre Oliva <aoliva@redhat.com> |
8354 | ||
8355 | * dce.c (reset_unmarked_insns_debug_uses): New. | |
8356 | (delete_unmarked_insns): Skip debug insns. | |
8357 | (prescan_insns_for_dce): Likewise. | |
8358 | (rest_of_handle_ud_dce): Reset debug uses of removed sets. | |
8359 | * reg-stack.c (subst_stack_regs_in_debug_insn): Signal when no | |
8360 | active reg can be found. | |
8361 | (subst_all_stack_regs_in_debug_insn): New. Reset debug insn then. | |
8362 | (convert_regs_1): Use it. | |
8363 | ||
6d8402ac AO |
8364 | 2011-06-06 Alexandre Oliva <aoliva@redhat.com> |
8365 | ||
8366 | * tree-pretty-print.c (dump_function_header): Add flags. | |
8367 | Don't dump decl_uid with nouid. | |
8368 | * tree-pretty-print.h (dump_function_header): Adjust. | |
8369 | * final.c (rest_of_clean_state): Pass dump_flags on, with nouid. | |
8370 | * passes.c (pass_init_dump_file): Pass dump_flags on. | |
8371 | * tree-cfg.c (gimple_dump_cfg): Pass flags on. | |
8372 | ||
f75e1f1e AO |
8373 | 2011-06-06 Alexandre Oliva <aoliva@redhat.com> |
8374 | ||
8375 | PR bootstrap/49270 | |
8376 | * ipa-inline-analysis.c (read_predicate): Initialize all clauses. | |
8377 | ||
275311c4 MP |
8378 | 2011-06-06 Mikael Pettersson <mikpe@it.uu.se> |
8379 | ||
8380 | PR tree-optimization/49243 | |
8381 | * calls.c (setjmp_call_p): Also check if fndecl has the | |
8382 | returns_twice attribute. | |
8383 | ||
aa4203e7 RO |
8384 | 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8385 | ||
8386 | * config/mips/iris6.h (ENDFILE_SPEC): Use crtfastmath.o if | |
8387 | -ffast-math etc. | |
8388 | ||
48f9d59a RH |
8389 | 2011-06-06 Richard Henderson <rth@redhat.com> |
8390 | Georg-Johann Lay <avr@gjlay.de> | |
8391 | ||
8392 | PR target/42210 | |
8393 | * config/avr/predicates.md (const1_operand, const_0_to_7_operand): | |
8394 | New predicates. | |
8395 | * config/avr/avr.md ("insv"): New insn expander. | |
8396 | ("*movbitqi.1-6.a", "*movbitqi.1-6.b", "*movbitqi.0", "*insv.io", | |
8397 | "*insv.not.io", "*insv.reg"): New insns. | |
8398 | ||
11494830 HPN |
8399 | 2011-06-06 Hans-Peter Nilsson <hp@bitrange.com> |
8400 | ||
8401 | PR target/49285 | |
b8bc3a43 UB |
8402 | * config/mmix/mmix.md ("truncdfsf2", "extendsfdf2"): Correct predicate |
8403 | to nonimmediate_operand from memory_operand for the operand that is to | |
8404 | be forced to memory by the expander. Lose the constraints. | |
11494830 | 8405 | |
679e70df EB |
8406 | 2011-06-05 Eric Botcazou <ebotcazou@adacore.com> |
8407 | ||
8408 | * config/sparc/sparc.c (output_return): Fix thinko in the output of an | |
8409 | EH return when delayed branches are disabled. | |
8410 | ||
4d3d7f15 UB |
8411 | 2011-06-05 Uros Bizjak <ubizjak@gmail.com> |
8412 | ||
8413 | * config/i386/i386.md (*movdf_internal_rex64) <case 8,9,10>: | |
8414 | Remove MODE_TI handling. Remove SSE1 handling in attribute "mode" | |
8415 | calculation. | |
8416 | (*movdf_internal_rex64) <case 6,7,8>: Remove MODE_TI handling. | |
8417 | Simplify MODE_V1DF and MODE_V2SF handling. | |
8418 | (*movsf_internal): Remove x constraint from alternative 7 of operand 1. | |
8419 | Simplify MODE_SF handling. | |
8420 | ||
a45c0557 JH |
8421 | 2011-06-04 Jan Hubicka <jh@suse.cz> |
8422 | ||
8423 | PR tree-optimization/48893 | |
8424 | PR tree-optimization/49091 | |
8425 | PR tree-optimization/49179 | |
8426 | * ipa-inline-analysis.c (evaluate_conditions_for_known_args): | |
8427 | Bounds check. | |
8428 | ||
26740835 JH |
8429 | 2011-06-04 Jan Hubicka <jh@suse.cz> |
8430 | ||
8431 | PR lto/48954 | |
b8bc3a43 UB |
8432 | * lto-cgraph.c (output_node_opt_summary): Handle NULL skip args |
8433 | bitmaps. | |
26740835 | 8434 | |
014ab419 JW |
8435 | 2011-06-04 Jonathan Wakely <jwakely.gcc@gmail.com> |
8436 | ||
8437 | * doc/invoke.texi: Document -Wdelete-non-virtual-dtor. | |
8438 | ||
407bcba7 JJ |
8439 | 2011-06-04 Jakub Jelinek <jakub@redhat.com> |
8440 | ||
8441 | PR target/49281 | |
8442 | * config/i386/i386.md (*lea_general_4): Require INTVAL (operands[3]) | |
8443 | to be strictly smaller than 1 << shiftcount. | |
8444 | ||
e3195c52 JH |
8445 | 2011-06-04 Jan Hubicka <jh@suse.cz> |
8446 | ||
8447 | PR tree-optimize/48929 | |
8448 | * ipa-inline-analysis.c (remap_edge_predicates): Fix handling | |
8449 | of empty predicate. | |
8450 | ||
047d33a0 AO |
8451 | 2011-06-04 Alexandre Oliva <aoliva@redhat.com> |
8452 | ||
8453 | PR debug/48333 | |
8454 | * calls.c (emit_call_1): Prefer the __builtin declaration of | |
8455 | builtin functions. | |
8456 | ||
dc587809 DN |
8457 | 2011-06-03 Diego Novillo <dnovillo@google.com> |
8458 | ||
8459 | * lto-streamer-in.c (unpack_value_fields): Remove unneeded asserts. | |
8460 | (lto_input_tree_pointers): Likewise. | |
8461 | * lto-streamer-out.c (pack_value_fields): Likewise. | |
8462 | (lto_output_tree_pointers): Likewise. | |
8463 | * lto-streamer.h (lto_is_streamable): Add check for OMP_CLAUSE | |
8464 | and OPTIMIZATION_NODE. | |
8465 | ||
58cd1d70 RO |
8466 | 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8467 | ||
8468 | * config/alpha/linux.h (MD_UNWIND_SUPPORT): Remove. | |
8469 | * config/alpha/osf5.h (MD_UNWIND_SUPPORT): Remove. | |
8470 | * config/alpha/vms.h (MD_UNWIND_SUPPORT): Remove. | |
8471 | * config/bfin/linux.h (MD_UNWIND_SUPPORT): Remove. | |
8472 | * config/bfin/uclinux.h (MD_UNWIND_SUPPORT): Remove. | |
8473 | * config/i386/linux.h (MD_UNWIND_SUPPORT): Remove. | |
8474 | * config/i386/linux64.h (MD_UNWIND_SUPPORT): Remove. | |
8475 | * config/i386/sol2.h (MD_UNWIND_SUPPORT): Remove. | |
8476 | * config/i386/mingw32.h (MD_UNWIND_SUPPORT): Remove. | |
8477 | * config/ia64/linux.h (MD_UNWIND_SUPPORT): Remove. | |
8478 | * config/ia64/vms.h (MD_UNWIND_SUPPORT): Remove. | |
8479 | * config/m68k/linux.h (MD_UNWIND_SUPPORT): Remove. | |
8480 | * config/mips/linux.h (MD_UNWIND_SUPPORT): Remove. | |
8481 | * config/pa/pa-hpux.h (MD_UNWIND_SUPPORT): Remove. | |
8482 | * config/pa/pa32-linux.h (MD_UNWIND_SUPPORT): Remove. | |
8483 | * config/rs6000/darwin.h (MD_UNWIND_SUPPORT): Remove. | |
8484 | * config/rs6000/linux.h (MD_UNWIND_SUPPORT): Remove. | |
8485 | * config/rs6000/linux64.h (MD_UNWIND_SUPPORT): Remove. | |
8486 | * config/s390/linux.h (MD_UNWIND_SUPPORT): Remove. | |
8487 | * config/s390/tpf.h (MD_UNWIND_SUPPORT): Remove. | |
8488 | * config/sh/linux.h (MD_UNWIND_SUPPORT): Remove. | |
8489 | * config/sparc/linux.h (MD_UNWIND_SUPPORT): Remove. | |
8490 | * config/sparc/linux64.h (MD_UNWIND_SUPPORT): Remove. | |
8491 | * config/sparc/sol2.h (MD_UNWIND_SUPPORT): Remove. | |
8492 | * config/xtensa/linux.h (MD_UNWIND_SUPPORT): Remove. | |
8493 | * config/alpha/linux-unwind.h: Move to ../libgcc/config/alpha. | |
8494 | * config/alpha/osf5-unwind.h: Move to ../libgcc/config/alpha. | |
8495 | * config/alpha/vms-unwind.h: Move to ../libgcc/config/alpha. | |
8496 | * config/bfin/linux-unwind.h: Move to ../libgcc/config/bfin. | |
8497 | * config/i386/linux-unwind.h: Move to ../libgcc/config/i386. | |
8498 | * config/i386/sol2-unwind.h: Move to ../libgcc/config/i386. | |
8499 | * config/i386/w32-unwind.h: Move to ../libgcc/config/i386. | |
8500 | * config/ia64/linux-unwind.h: Move to ../libgcc/config/ia64. | |
8501 | * config/ia64/vms-unwind.h: Move to ../libgcc/config/ia64. | |
8502 | * config/m68k/linux-unwind.h: Move to ../libgcc/config/m68k. | |
8503 | * config/mips/linux-unwind.h: Move to ../libgcc/config/mips. | |
8504 | * config/pa/hpux-unwind.h: Move to ../libgcc/config/pa. | |
8505 | * config/pa/linux-unwind.h: Move to ../libgcc/config/pa. | |
8506 | * config/rs6000/darwin-unwind.h: Move to ../libgcc/config/rs6000. | |
8507 | * config/rs6000/linux-unwind.h: Move to ../libgcc/config/rs6000. | |
8508 | * config/s390/linux-unwind.h: Move to ../libgcc/config/s390. | |
8509 | * config/s390/tpf-unwind.h: Move to ../libgcc/config/s390. | |
8510 | * config/sh/linux-unwind.h: Move to ../libgcc/config/sh. | |
8511 | * config/sparc/linux-unwind.h: Move to ../libgcc/config/sparc. | |
8512 | * config/sparc/sol2-unwind.h: Move to ../libgcc/config/sparc. | |
8513 | * config/xtensa/linux-unwind.h: Move to ../libgcc/config/xtensa. | |
8514 | * config/darwin9.h (DARWIN_LIBSYSTEM_HAS_UNWIND): Remove. | |
8515 | * system.h (MD_UNWIND_SUPPORT): Poison. | |
8516 | * doc/tm.texi.in (Exception Handling, MD_UNWIND_SUPPORT): Remove. | |
8517 | * doc/tm.texi: Regenerate. | |
8518 | * unwind-dw2.c: Include md-unwind-support.h instead of | |
8519 | MD_UNWIND_SUPPORT. | |
8520 | * config/ia64/unwind-ia64.c: Likewise. | |
8521 | * config/xtensa/unwind-dw2-xtensa.c: Likewise. | |
8522 | ||
10c63ba4 | 8523 | 2011-06-03 Jack Howarth <howarth@bromo.med.uc.edu> |
34e0c8d5 JH |
8524 | |
8525 | * varpool.c (varpool_extra_name_alias): Return NULL, not false. | |
8526 | ||
1b7a0148 RH |
8527 | 2011-06-03 Richard Henderson <rth@redhat.com> |
8528 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
8529 | ||
8530 | * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__] | |
8531 | (sigill_hdlr): Correct insn, insn size. | |
8532 | (set_fast_math) [!__x86_64__ && __sun__ && __svr4__]: Use movaps. | |
8533 | ||
737346fa RO |
8534 | 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8535 | ||
8536 | * config.gcc (mips-sgi-irix6.5*): Set tmake_file to mips/t-irix6 | |
8537 | t-slibgcc-dummy. | |
8538 | * config/mips/irix-crti.asm: Move to ../libgcc/config/mips/irix-crti.S. | |
8539 | * config/mips/irix-crtn.asm: Move to ../libgcc/config/mips/irix-crtn.S. | |
8540 | * config/mips/t-iris: Remove. | |
8541 | * config/mips/t-irix6: New file. | |
8542 | * config/mips/t-slibgcc-irix: Move to ../libgcc/config/mips. | |
8543 | ||
c192cee6 RO |
8544 | 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8545 | ||
8546 | * Makefile.in (LIB2ADDEHDEP): Remove. | |
8547 | * config/arm/t-bpabi (LIB2ADDEHDEP): Remove. | |
8548 | * config/arm/t-symbian (LIB2ADDEHDEP): Remove. | |
8549 | * config/picochip/t-picochip (LIB2ADDEHDEP): Remove. | |
8550 | * config/t-darwin (LIB2ADDEHDEP): Remove. | |
8551 | * config/t-freebsd (LIB2ADDEHDEP): Remove. | |
8552 | * config/t-linux (LIB2ADDEHDEP): Remove. | |
8553 | ||
d5828cc7 DN |
8554 | 2011-06-03 Diego Novillo <dnovillo@google.com> |
8555 | ||
8556 | * lto-streamer-in.c (get_resolution): Move to lto/lto.c. | |
8557 | (lto_register_var_decl_in_symtab): Likewise. | |
8558 | (lto_register_function_decl_in_symtab): Likewise. | |
8559 | (lto_read_tree): Move VAR_DECL and FUNCTION_DECL registration | |
8929d9ea | 8560 | logic to uniquify_nodes. |
d5828cc7 | 8561 | |
ee33b5f0 RO |
8562 | 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8563 | ||
8564 | * config/alpha/t-osf5: Remove. | |
8565 | * config/alpha/t-osf-pthread: Remove. | |
8566 | * config.gcc (alpha*-dec-osf5.1*): Set tmake_file to t-slibgcc-dummy. | |
8567 | * mkmap-flat.awk: Handle osf_export for Tru64 UNIX linker -input file. | |
8568 | ||
16868d84 JB |
8569 | 2011-06-03 Julian Brown <julian@codesourcery.com> |
8570 | ||
8571 | * config/arm/arm-cores.def (strongarm, strongarm110, strongarm1100) | |
8572 | (strongarm1110): Use strongarm tuning. | |
4d3d7f15 | 8573 | * config/arm/arm-protos.h (tune_params): Add max_insns_skipped field. |
16868d84 JB |
8574 | * config/arm/arm.c (arm_strongarm_tune): New. |
8575 | (arm_slowmul_tune, arm_fastmul_tune, arm_xscale_tune, arm_9e_tune) | |
8576 | (arm_v6t2_tune, arm_cortex_tune, arm_cortex_a5_tune) | |
8577 | (arm_cortex_a9_tune, arm_fa726te_tune): Add max_insns_skipped field | |
8578 | setting, using previous defaults or 1 for Cortex-A5. | |
8579 | (arm_option_override): Set max_insns_skipped from current tuning. | |
8580 | ||
1cec1285 NS |
8581 | 2011-06-03 Nathan Sidwell <nathan@codesourcery.com> |
8582 | ||
8583 | * doc/install.texi (Options specification): Document --with-specs. | |
8584 | ||
eed55426 RR |
8585 | 2011-06-02 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
8586 | ||
8587 | * config/arm/neon.md (orndi3_neon): Actually split it. | |
8588 | ||
d5b6cc25 AO |
8589 | 2011-06-02 Alexandre Oliva <aoliva@redhat.com> |
8590 | ||
8591 | * params.def (PARAM_MAX_VARTRACK_EXPR_DEPTH): Bump default to 10. | |
8592 | * var-tracking.c (reverse_op): Limite recurse depth to 5. | |
8593 | ||
2ba42841 AO |
8594 | 2011-06-02 Alexandre Oliva <aoliva@redhat.com> |
8595 | ||
8596 | PR debug/47590 | |
8597 | * target.def (delay_sched2, delay_vartrack): New. | |
8598 | * doc/tm.texi.in: Update. | |
8599 | * doc/tm.texi: Rebuild. | |
8600 | * sched-rgn.c (gate_handle_sched2): Fail if delay_sched2. | |
8601 | * var-tracking.c (gate_handle_var_tracking): Likewise. | |
8602 | * config/bfin/bfin.c (bfin_flag_schedule_insns2): Drop. | |
8603 | (bfin_flag_var_tracking): Drop. | |
8604 | (output_file_start): Don't save and override flag_var_tracking. | |
8605 | (bfin_option_override): Ditto flag_schedule_insns_after_reload. | |
8606 | (bfin_reorg): Test original variables. | |
8607 | (TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define. | |
8608 | * config/ia64/ia64.c (ia64_flag_schedule_insns2): Drop. | |
8609 | (ia64_flag_var_tracking): Drop. | |
8610 | (TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define. | |
8611 | (ia64_file_start): Don't save and override flag_var_tracking. | |
8612 | (ia64_override_options_after_change): Ditto | |
8613 | flag_schedule_insns_after_reload. | |
8614 | (ia64_reorg): Test original variables. | |
8615 | * config/picochip/picochip.c (picochip_flag_schedule_insns2): Drop. | |
8616 | (picochip_flag_var_tracking): Drop. | |
8617 | (TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define. | |
8618 | (picochip_option_override): Don't save and override | |
8619 | flag_schedule_insns_after_reload. | |
8620 | (picochip_asm_file_start): Ditto flag_var_tracking. | |
8621 | (picochip_reorg): Test original variables. | |
8622 | * config/spu/spu.c (spu_flag_var_tracking): Drop. | |
8623 | (TARGET_DELAY_VARTRACK): Define. | |
8624 | (spu_var_tracking): New. | |
8625 | (spu_machine_dependent_reorg): Call it. | |
8626 | (asm_file_start): Don't save and override flag_var_tracking. | |
8627 | ||
a700b5f0 KK |
8628 | 2011-06-02 Kaz Kojima <kkojima@gcc.gnu.org> |
8629 | ||
8630 | PR target/49163 | |
8631 | * config/sh/predicates.md (general_movsrc_operand): Return 0 | |
8632 | for memory and memory subreg of which address is an invalid | |
8633 | indexed address for QI and HImode. | |
8634 | (general_movdst_operand): Likewise. | |
8635 | ||
76015c34 EB |
8636 | 2011-06-02 Eric Botcazou <ebotcazou@adacore.com> |
8637 | ||
8638 | * cse.c (cse_find_path): Refine change to exclude EDGE_ABNORMAL_CALL | |
8639 | edges only, when there is a non-local label in the function. | |
8640 | * postreload-gcse.c (bb_has_well_behaved_predecessors): Likewise. | |
8641 | ||
4e76acd2 UB |
8642 | 2011-06-02 Uros Bizjak <ubizjak@gmail.com> |
8643 | ||
8644 | * config/i386/constraints.md (Y3): New register constraint. | |
8645 | * config/i386/sse.md (*vec_interleave_highv2df): Merge with | |
8646 | *sse3_interleave_highv2df and *sse2_interleave_highv2df. | |
8647 | (*vec_interleave_lowv2df): Merge with *sse3_interleave_lowv2df and | |
8648 | *sse2_interleave_lowv2df. | |
8649 | ||
288f605f JB |
8650 | 2011-06-02 Julian Brown <julian@codesourcery.com> |
8651 | ||
8652 | * config/arm/arm-cores.def (cortex-a5): Use cortex_a5 tuning. | |
8653 | * config/arm/arm.c (arm_cortex_a5_branch_cost): New. | |
8654 | (arm_cortex_a5_tune): New. | |
8655 | ||
7ec70105 JB |
8656 | 2011-06-02 Julian Brown <julian@codesourcery.com> |
8657 | ||
153668ec JB |
8658 | * config/arm/arm-protos.h (tune_params): Add branch_cost hook. |
8659 | * config/arm/arm.c (arm_default_branch_cost): New. | |
8660 | (arm_slowmul_tune, arm_fastmul_tune, arm_xscale_tune, arm_9e_tune) | |
8661 | (arm_v6t2_tune, arm_cortex_tune, arm_cortex_a9_tune) | |
8662 | (arm_fa726_tune): Set branch_cost field using | |
8663 | arm_default_branch_cost. | |
8664 | * config/arm/arm.h (BRANCH_COST): Use branch_cost hook from | |
8665 | current_tune structure. | |
8666 | * dojump.c (tm_p.h): Include file. | |
8667 | ||
8668 | 2011-06-02 Julian Brown <julian@codesourcery.com> | |
8669 | ||
8670 | * config/arm/arm-cores.def (arm1156t2-s, arm1156t2f-s): Use v6t2 | |
8671 | tuning. | |
7ec70105 JB |
8672 | (cortex-a5, cortex-a8, cortex-a15, cortex-r4, cortex-r4f, cortex-m4) |
8673 | (cortex-m3, cortex-m1, cortex-m0): Use cortex tuning. | |
8674 | * config/arm/arm-protos.h (tune_params): Add prefer_constant_pool | |
8675 | field. | |
8676 | * config/arm/arm.c (arm_slowmul_tune, arm_fastmul_tune) | |
8677 | (arm_xscale_tune, arm_9e_tune, arm_cortex_a9_tune) | |
8678 | (arm_fa726te_tune): Add prefer_constant_pool setting. | |
8679 | (arm_v6t2_tune, arm_cortex_tune): New. | |
8680 | * config/arm/arm.h (TARGET_USE_MOVT): Make dependent on | |
8681 | prefer_constant_pool setting. | |
8682 | ||
aad61732 UB |
8683 | 2011-06-02 Uros Bizjak <ubizjak@gmail.com> |
8684 | ||
4e76acd2 UB |
8685 | * config/i386/i386.c (standard_sse_constant_p) <case 1>: Simplify |
8686 | switch statement. | |
aad61732 UB |
8687 | * config/i386/i386.md (*movdf_internal_rex64) <case 8,9,10>: Ditto. |
8688 | (*movdf_internal) <case 6,7,8>: Ditto. | |
8689 | ||
4e76acd2 | 8690 | * config/i386/constraints.md (Y4): New register constraint. |
aad61732 UB |
8691 | * config/i386/sse.md (vec_set<mode>_0): Merge with |
8692 | *vec_set<mode>_0_sse4_1 and *vec_set<mode>_0_sse2. | |
8693 | (*vec_extractv2di_1): Merge from *vec_extractv2di_1_sse2 and | |
8694 | *vec_extractv2di_1_sse. | |
8695 | (*vec_concatv2di_rex64): Merge from *vec_concatv2di_rex64_sse4_1 | |
8696 | and *vec_concatv2di_rex64_sse. | |
8697 | ||
6e588138 SH |
8698 | 2011-06-02 Stuart Henderson <shenders@gcc.gnu.org> |
8699 | ||
8700 | PR target/48807 | |
8701 | * config/bfin/bfin.c (bfin_function_ok_for_sibcall): Check return value | |
8702 | of cgraph_local_info for null before attempting to use it. | |
8703 | ||
bc6d3f91 EB |
8704 | 2011-06-02 Eric Botcazou <ebotcazou@adacore.com> |
8705 | ||
8706 | * function.h (struct stack_usage): Remove dynamic_alloc_count field. | |
8707 | (current_function_dynamic_alloc_count): Delete. | |
8708 | * builtins.c (expand_builtin_setjmp_setup): Do not set calls_setjmp. | |
8709 | (expand_builtin_nonlocal_goto): Remove obsolete comment. | |
8710 | (expand_builtin_update_setjmp_buf): Remove dead code. | |
8711 | * cse.c (cse_find_path): Do not follow a single abnormal incoming edge. | |
8712 | * explow.c (allocate_dynamic_stack_space): Remove SETJMP_VIA_SAVE_AREA | |
8713 | support. | |
8714 | * function.c (instantiate_virtual_regs): Likewise. | |
8715 | * postreload-gcse.c (bb_has_well_behaved_predecessors): Return false | |
8716 | for a block with a single abnormal incoming edge. | |
8717 | * config/sparc/sparc.h (STACK_SAVEAREA_MODE): Define. | |
a21ede65 | 8718 | (SETJMP_VIA_SAVE_AREA): Delete. |
bc6d3f91 EB |
8719 | * config/sparc/sparc-protos.h (load_got_register): Declare. |
8720 | * config/sparc/sparc.c (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Define. | |
8721 | (load_got_register): Make global. | |
8722 | (sparc_frame_pointer_required): Add 'static'. | |
8723 | (sparc_can_eliminate): Likewise. Call sparc_frame_pointer_required. | |
8724 | (sparc_builtin_setjmp_frame_value): New function. | |
8725 | * config/sparc/sparc.md (UNSPECV_SETJMP): Remove. | |
8726 | (save_stack_nonlocal): New expander. | |
8727 | (restore_stack_nonlocal): Likewise. | |
8728 | (nonlocal_goto): Remove modes, adjust predicates and reimplement. | |
8729 | (nonlocal_goto_internal): New insn. | |
8730 | (goto_handler_and_restore): Delete. | |
8731 | (builtin_setjmp_setup): Likewise. | |
8732 | (do_builtin_setjmp_setup): Likewise. | |
8733 | (setjmp): Likewise. | |
8734 | (builtin_setjmp_receiver): New expander. | |
8735 | ||
69282fee DL |
8736 | 2011-06-01 David Li <davidxl@google.com> |
8737 | ||
8738 | PR middle-end/49261 | |
8739 | * tree-pretty-print.c (dump_function_header): Format cleanup. | |
8740 | ||
e95873dd KK |
8741 | 2011-06-01 Kaz Kojima <kkojima@gcc.gnu.org> |
8742 | ||
8743 | PR target/49238 | |
8744 | * config/sh/sh.c (expand_cbranchdi4): Use a scratch register if | |
8745 | needed when original operands are used for msw_skip comparison. | |
8746 | ||
88c15821 JJ |
8747 | 2011-06-01 Jakub Jelinek <jakub@redhat.com> |
8748 | ||
8749 | PR debug/49250 | |
8750 | * var-tracking.c (add_uses, add_stores): Don't call | |
8751 | cselib_subst_to_values on ENTRY_VALUE. | |
8752 | ||
07233947 DN |
8753 | 2011-06-01 Diego Novillo <dnovillo@google.com> |
8754 | ||
8755 | * lto-streamer-out.c (lto_output_ts_decl_with_vis_tree_pointers): Call | |
8756 | output_record_start with LTO_null instead of output_zero. | |
8757 | (lto_output_ts_binfo_tree_pointers): Likewise. | |
8758 | (lto_output_tree): Likewise. | |
8759 | (output_eh_try_list): Likewise. | |
8760 | (output_eh_region): Likewise. | |
8761 | (output_eh_lp): Likewise. | |
8762 | (output_eh_regions): Likewise. | |
8763 | (output_bb): Likewise. | |
8764 | (output_function): Likewise. | |
8765 | (output_unreferenced_globals): Likewise. | |
8766 | * lto-streamer.h (enum LTO_tags): Reserve MAX_TREE_CODES | |
8767 | instead of NUM_TREE_CODES. | |
8768 | (lto_tag_is_tree_code_p): Check max value against MAX_TREE_CODES. | |
8769 | (lto_output_int_in_range): Change << to >> when shifting VAL. | |
8770 | ||
4ee3537a DN |
8771 | 2011-06-01 Diego Novillo <dnovillo@google.com> |
8772 | ||
8773 | * lto-streamer-out.c (lto_output_ts_decl_non_common_tree_pointers): | |
8774 | Remove assertion for DECL_SAVED_TREE in FUNCTION_DECL nodes. | |
8775 | ||
02972eaf RS |
8776 | 2011-06-01 Richard Sandiford <rdsandiford@googlemail.com> |
8777 | ||
8778 | PR target/45074 | |
8779 | * optabs.h (valid_multiword_target_p): Declare. | |
8780 | * expmed.c (extract_bit_field_1): Check valid_multiword_target_p when | |
8781 | doing multi-word operations. | |
8782 | * optabs.c (expand_binop): Likewise. | |
8783 | (expand_doubleword_bswap): Likewise. | |
8784 | (expand_absneg_bit): Likewise. | |
8785 | (expand_unop): Likewise. | |
8786 | (expand_copysign_bit): Likewise. | |
8787 | (multiword_target_p): New function. | |
8788 | ||
4d41c2d1 RS |
8789 | 2011-06-01 Richard Sandiford <rdsandiford@googlemail.com> |
8790 | ||
8791 | PR rtl-optimization/48830 | |
8792 | PR rtl-optimization/48808 | |
8793 | PR rtl-optimization/48792 | |
8794 | * reload.c (push_reload): Check contains_reg_of_mode. | |
8795 | * reload1.c (strip_paradoxical_subreg): New function. | |
8796 | (gen_reload_chain_without_interm_reg_p): Use it to handle | |
8797 | paradoxical subregs. | |
8798 | (emit_output_reload_insns, gen_reload): Likewise. | |
8799 | ||
5f57dccb DL |
8800 | 2011-06-01 David Li <davidxl@google.com> |
8801 | ||
8802 | * predict.c : Change pass name | |
8803 | * ipa.c: Ditto. | |
8804 | * dce.c: Ditto. | |
8805 | * tree-profile.c: Ditto. | |
8806 | * except.c: Ditto. | |
8807 | ||
ea6cf778 DL |
8808 | 2011-06-01 David Li <davidxl@google.com> |
8809 | ||
8810 | * tree-pretty-print.c (dump_function_header): New function. | |
8811 | * final.c (rest_of_clean_state): Use header dumper. | |
8812 | * tree-cfg.c (gimple_dump_cfg): Use header dumper. | |
8813 | * passes.c (pass_init_dump_file): Use header dumper. | |
8814 | ||
ebdc0d4b JJ |
8815 | 2011-06-01 Jakub Jelinek <jakub@redhat.com> |
8816 | ||
eeeb9b49 JJ |
8817 | * dwarf2out.c (compare_loc_descriptor, scompare_loc_descriptor, |
8818 | ucompare_loc_descriptor, minmax_loc_descriptor, clz_loc_descriptor, | |
8819 | popcount_loc_descriptor, bswap_loc_descriptor, rotate_loc_descriptor): | |
8820 | New functions. | |
8821 | (mem_loc_descriptor): Use them. | |
8822 | ||
ebdc0d4b JJ |
8823 | * var-tracking.c (create_entry_value): New function. |
8824 | (vt_add_function_parameter): Use it. | |
8825 | ||
0699e415 RO |
8826 | 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8827 | ||
8828 | * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]: | |
8829 | Include <signal.h>, <ucontext.h>. | |
8830 | (sigill_caught): Define. | |
8831 | (sigill_hdlr): New function. | |
8832 | (set_fast_math) [!__x86_64__ && __sun__ && __svr4__]: Check if SSE | |
8833 | insns can be executed. | |
aad61732 | 8834 | * config/sol2.h (ENDFILE_SPEC): Use crtfastmath.o if -ffast-math etc. |
0699e415 RO |
8835 | * config/sparc/sol2.h (ENDFILE_SPEC): Remove. |
8836 | ||
ca24c5ad RO |
8837 | 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8838 | ||
8839 | * config/t-slibgcc-darwin: Move to ... | |
aad61732 | 8840 | * config/t-slibgcc-dummy: ... this. Clarify comments. |
ca24c5ad RO |
8841 | * config.gcc (i[34567]86-*-darwin*, x86_64-*-darwin*, |
8842 | powerpc-*-darwin*, powerpc64-*-darwin*): Reflect this. | |
8843 | (i[3456x]86-*-netware*): Add t-slibgcc-dummy to tmake_file. | |
aad61732 | 8844 | (i[34567]86-*-rtems*): Remove extra_parts. Use i386/t-rtems. |
ca24c5ad RO |
8845 | Remove i386/t-crtstuff from tmake_file. |
8846 | (i[34567]86-*-solaris2*): Remove t-svr4, | |
8847 | t-slibgcc-elf-ver, t-slibgcc-sld from tmake_file, add | |
8848 | t-slibgcc-dummy. | |
8849 | (sparc-*-elf*, sparc64-*-elf*): Remove tmake_file, extra_parts. | |
8850 | (sparc-*-rtems*, sparc64-*-rtems*): Remove sparc/t-crtin, | |
8851 | sparc/t-crtfm from tmake_file. | |
8852 | (sparc*-*-solaris2*): Remove sparc/t-sol2, sparc/t-crtfm, | |
8853 | t-slibgcc-elf-ver, t-slibgcc-sld, add t-slibgcc-dummy. | |
8854 | Remove extra_parts. | |
8855 | * config/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define. | |
8856 | * config/i386/t-nwld (SHLIB_LINK): Remove. | |
8857 | * config/i386/t-rtems-i386: Rename to ... | |
8858 | * config/i386/t-rtems: ... this. | |
8859 | ($(T)crti.o, $(T)crtn.o): Remove. | |
8860 | (FPBIT, DPBIT, LIB2FUNCS_EXTRA): Remove. | |
8861 | (dp-bit.c, fp-bit.c, xp-bit.c): Remove. | |
8862 | (EXTRA_MULTILIB_PARTS, LIBGCC, INSTALL_LIBGCC): Remove. | |
8863 | * config/i386/t-sol2-10 (LIBGCC, INSTALL_LIBGCC, | |
8864 | EXTRA_MULTILIB_PARTS): Remove. | |
8865 | * config/sparc/t-sol2-64: Likewise. | |
8866 | * config/sparc/t-sol2: Remove. | |
8867 | * config/sparc/t-crtin: Remove. | |
8868 | * config/sparc/gmon-sol2.c: Move to ../libgcc/config. | |
8869 | * config/i386/gmon-sol2.c: Remove. | |
8870 | * config/i386/sol2-c1.asm: Move to ../libgcc/config/i386/sol2-c1.S. | |
8871 | * config/i386/sol2-ci.asm: Move to ../libgcc/config/i386/sol2-ci.S. | |
8872 | * config/i386/sol2-cn.asm: Move to ../libgcc/config/i386/sol2-cn.S. | |
8873 | * config/i386/sol2-gc1.asm: Remove. | |
8874 | * config/sparc/sol2-c1.asm: Move to ../libgcc/config/sparc/sol2-c1.S. | |
8875 | * config/sparc/sol2-ci.asm: Move to ../libgcc/config/sparc/sol2-ci.S. | |
8876 | * config/sparc/sol2-cn.asm: Move to ../libgcc/config/sparc/sol2-cn.S. | |
8877 | * config/t-slibgcc-sld: Remove. | |
8878 | ||
a78d13c3 JJ |
8879 | 2011-06-01 Jakub Jelinek <jakub@redhat.com> |
8880 | ||
8881 | * dwarf2out.c (mem_loc_descriptor) <do_ucompare>: Call | |
8882 | base_type_for_mode with op_mode instead of mode. | |
8883 | ||
572070ef PB |
8884 | 2011-06-01 Paul Brook <paul@cpodesourcery.com> |
8885 | ||
8886 | * config/arm/arm-cores.def: Add cortex-r5. Add DIV flags to | |
8887 | Cortex-A15. | |
8888 | * config/arm/arm-tune.md: Regenerate. | |
8889 | * config/arm/arm-tables.opt: Regenerate. | |
8890 | * config/arm/arm.c (FL_DIV): Rename... | |
8891 | (FL_THUMB_DIV): ... to this. | |
8892 | (FL_ARM_DIV): Define. | |
8893 | (FL_FOR_ARCH7R, FL_FOR_ARCH7M): Use FL_THUMB_DIV. | |
8894 | (arm_arch_hwdiv): Remove. | |
8895 | (arm_arch_thumb_hwdiv, arm_arch_arm_hwdiv): New variables. | |
8896 | (arm_issue_rate): Add cortexr5. | |
8897 | * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Set | |
8898 | __ARM_ARCH_EXT_IDIV__. | |
8899 | (TARGET_IDIV): Define. | |
8900 | (arm_arch_hwdiv): Remove. | |
8901 | (arm_arch_arm_hwdiv, arm_arch_thumb_hwdiv): New prototypes. | |
8902 | * config/arm/arm.md (tune_cortexr4): Add cortexr5. | |
8903 | (divsi3, udivsi3): New patterns. | |
8904 | * config/arm/thumb2.md (divsi3, udivsi3): Remove. | |
8905 | * doc/invoke.texi: Document ARM -mcpu=cortex-r5 | |
8906 | ||
11026b51 MJ |
8907 | 2011-06-01 Martin Jambor <mjambor@suse.cz> |
8908 | ||
8909 | * ipa-utils.c (ipa_dfs_info): New field scc_no. | |
8910 | * ipa-utils.c (searchc): Set scc_no. | |
8911 | ||
b6156cf2 MJ |
8912 | 2011-06-01 Martin Jambor <mjambor@suse.cz> |
8913 | ||
8914 | * ipa-utils.c (searchc_env): New field allow_overwritable. | |
8915 | (searchc): do not ignore edges to overwritable nodes if indicated | |
8916 | by env->allow_overwritable. | |
8917 | (ipa_reduced_postorder): Set env.allow_overwritable. | |
8918 | ||
6807da97 RG |
8919 | 2011-06-01 Richard Guenther <rguenther@suse.de> |
8920 | ||
8921 | * tree.c (free_lang_data): Do not reset boolean_type_node nor | |
8922 | char_type_node. | |
8923 | * lto-streamer.c (lto_record_common_node): Take node pointer, | |
8924 | do not register types. | |
8925 | (lto_preload_common_nodes): Explicitly skip preloading nodes | |
8926 | that differ between frontends. | |
8927 | ||
66bd20e7 | 8928 | 2011-05-31 Pat Haugen <pthaugen@us.ibm.com> |
ddaf42bc PH |
8929 | |
8930 | * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Remove vr0..vr2 from | |
8931 | NON_FLOAT_REGS. | |
8932 | ||
66bd20e7 | 8933 | 2011-05-31 Pat Haugen <pthaugen@us.ibm.com> |
abdd692e PH |
8934 | |
8935 | * config/rs6000/rs6000.c (rs6000_register_move_cost): Preserve from | |
8936 | parameter value for dump. Dump cost on outermost call only. | |
8937 | (rs6000_memory_move_cost): Dump cost on outermost call only. | |
8938 | ||
7351d8da JJ |
8939 | 2011-05-31 Jakub Jelinek <jakub@redhat.com> |
8940 | ||
ead7c399 JJ |
8941 | * dwarf2out.c (resolve_addr_in_expr): Optimize away redundant |
8942 | DW_OP_GNU_convert ops. | |
8943 | ||
509f4495 JJ |
8944 | * cselib.c (promote_debug_loc): Allow l->next non-NULL for |
8945 | cselib_preserve_constants. | |
8946 | (cselib_lookup_1): If cselib_preserve_constants, | |
8947 | a new VALUE is being created for REG and there is a VALUE for the | |
8948 | same register in wider mode, add another loc with lowpart SUBREG of | |
8949 | the wider VALUE. | |
8950 | (cselib_subst_to_values): Handle ENTRY_VALUE. | |
8951 | * var-tracking.c (replace_expr_with_values): Return NULL for | |
8952 | ENTRY_VALUE too. | |
8953 | * dwarf2out.c (convert_descriptor_to_signed): New function. | |
8954 | (mem_loc_descriptor) <case ZERO_EXTEND>: Optimize using DW_OP_and | |
8955 | instead of two shifts. | |
8956 | (mem_loc_descriptor) <do_shift>: ZERO_EXTEND second argument to | |
8957 | the right mode if needed. | |
8958 | (mem_loc_descriptor) <case MOD>: For typed ops just use DW_OP_mod. | |
8959 | (mem_loc_descriptor) <case UNSIGNED_FIX>: Use | |
8960 | convert_descriptor_to_signed. | |
8961 | (mem_loc_descriptor) <case UDIV, CLZ, CTZ, FFS, POPCOUNT, PARITY, | |
8962 | BSWAP, ROTATE, ROTATERT>: Handle these rtls. | |
8963 | ||
7351d8da JJ |
8964 | PR target/48688 |
8965 | * config/i386/i386.md (*lea_general_4): New define_insn_and_split. | |
8966 | ||
5cc93ee0 UB |
8967 | 2011-05-31 Uros Bizjak <ubizjak@gmail.com> |
8968 | ||
8969 | * config/i386/i386.md: Use SWI248x instead of X87MODEI, SWI24 instead | |
8970 | of X87MODEI12 and SWI48x instead of SSEMODEI24. | |
8971 | (SWI248x): New mode iterator, rename from X87MODEI. | |
8972 | (X87MODEI): Remove mode iterator. | |
8973 | (X87MODEI12): Ditto. | |
8974 | (SSEMODEI24): Ditto. | |
8975 | ||
f0686e78 AO |
8976 | 2011-05-31 Alexandre Oliva <aoliva@redhat.com> |
8977 | ||
8978 | * params.def (PARAM_MAX_VARTRACK_EXPR_DEPTH): New. | |
8979 | * doc/invoke.texi: Document max-vartrack-expr-depth. | |
8980 | * var-tracking.c (EXPR_DEPTH): New. | |
8981 | (reverse_op, vt_expand_loc, vt_expand_loc_dummy): Use it. | |
8982 | ||
f3308413 AO |
8983 | 2011-05-31 Alexandre Oliva <aoliva@redhat.com> |
8984 | ||
8985 | * config/i386/i386.c (ix86_rtx_costs): Drop NEG from sub for FMA. | |
8986 | * config/i386/sse.md: Add n to negated FMA pattern names. | |
8987 | ||
28c14a04 AO |
8988 | 2011-05-31 Alexandre Oliva <aoliva@redhat.com> |
8989 | ||
8990 | * gcc.c (driver_handle_option): Fix disabling of -fcompare-debug. | |
8991 | ||
70efc82d AO |
8992 | 2011-05-31 Alexandre Oliva <aoliva@redhat.com> |
8993 | ||
5cc93ee0 | 8994 | * gengtype-state.c (read_state_params_structs): Initialize previous. |
70efc82d | 8995 | |
6ba5d856 UB |
8996 | 2011-05-31 Uros Bizjak <ubizjak@gmail.com> |
8997 | ||
8998 | * config/i386/i386.md (*pushxf_nointeger): Merge alternatives 1 and 2. | |
8999 | (FP push_operand splitters): Merge {TF,XF,DF}mode splitters. | |
9000 | ||
9001 | 2011-05-31 Uros Bizjak <ubizjak@gmail.com> | |
9002 | ||
9003 | * config/i386/i386.md (*movtf_internal): Avoid allocating general | |
9004 | registers. Penalize F*r->o alternative to prevent partial memory | |
9005 | stalls. Slightly penalize *roF->*r alternative. Generate SSE | |
9006 | CONST_DOUBLE immediates when optimizing function for size. Do not move | |
9007 | CONST_DOUBLEs directly to memory for !TARGET_MEMORY_MISMATCH_STALL. | |
9008 | (*movxf_internal): Slightly penalize Yx*roF->Yx*r alternative. | |
9009 | (*movdf_internal): Slightly penalize Yd*roF->Yd*r alternative. | |
9010 | (*movdf_internal_rex64): Slightly penalize rm->r, F->m and r->m | |
9011 | alternatives. | |
9012 | (*movsf_internal): Slightly penalize rmF->r and Fr->m alternatives. | |
9013 | ||
9014 | (fp_register_operand splitters): Use fp_register_operand | |
9015 | constraint. Do not use FP_REG_P in insn condition. | |
9016 | (any_fp_register_operand splitters): Use any_fp_register_operand | |
9017 | constraint. Do not use ANY_FP_REG_P in insn condition. | |
9018 | ||
533c07c5 JH |
9019 | 2011-05-31 Jan Hubicka <jh@suse.cz> |
9020 | ||
9021 | * cgraph.h (cgraph_inline_failed_t): Give enum a name | |
9022 | * lto-cgraph.c (LDPR_NUM_KNOWN): New macro. | |
9023 | (LTO_cgraph_tags): Add LTO_cgraph_last_tag. | |
9024 | (lto_output_edge): Use output_enum and var_len_unsigned. | |
9025 | (lto_output_varpool_node): Likewise. | |
9026 | (input_overwrite_node): Do not take resolution parameter; | |
9027 | extract it from a bitpack. | |
9028 | (input_node): Do not read resolution; use input_enum and | |
9029 | var_len_unsigned. | |
9030 | (input_varpool_node): Likewise. | |
9031 | (input_edge): Likewise. | |
9032 | (input_cgraph_1): Likewise. | |
9033 | ||
2611db71 RG |
9034 | 2011-05-31 Richard Guenther <rguenther@suse.de> |
9035 | ||
9036 | * gimple.c (gimple_register_canonical_type): Do not register | |
9037 | any types via gimple_register_type. | |
9038 | ||
b9e57365 JH |
9039 | 2011-05-31 Jan Hubicka <jh@suse.cz> |
9040 | ||
9041 | * lto-symtab.c (lto_symtab_merge_cgraph_nodes): Merge alias decl | |
9042 | of thunks. | |
9043 | ||
35979cc2 JJ |
9044 | 2011-05-31 Jakub Jelinek <jakub@redhat.com> |
9045 | ||
9046 | PR rtl-optimization/49235 | |
9047 | * tree-ssa-address.c (gen_addr_rtx): Ignore base if it is const0_rtx. | |
9048 | (create_mem_ref_raw): Create MEM_REF even if base is INTEGER_CST. | |
9049 | ||
8f7de592 IR |
9050 | 2011-05-31 Ira Rosen <ira.rosen@linaro.org> |
9051 | ||
9052 | PR tree-optimization/49093 | |
9053 | * tree-vect-data-refs.c (vect_analyze_data_refs): Fail for volatile | |
9054 | data references. | |
9055 | ||
8d8a3bda DS |
9056 | 2011-05-31 Dodji Seketeli <dodji@redhat.com> |
9057 | ||
9058 | PR debug/49047 | |
9059 | * dwarf2out.c (gen_subprogram_die): Emit linkage name attribute | |
6ba5d856 | 9060 | for concrete functions containing the code of cloned functions. |
8d8a3bda | 9061 | |
2e87621c RG |
9062 | 2011-05-31 Richard Guenther <rguenther@suse.de> |
9063 | ||
9064 | * tree-ssa-forwprop.c (forward_propagate_into_comparison): Rename | |
9065 | to ... | |
9066 | (forward_propagate_into_comparison_1): ... this. | |
9067 | (forward_propagate_comparison): Rename to ... | |
9068 | (forward_propagate_into_comparison): ... this. Split out | |
9069 | real forward propagation code to ... | |
9070 | (forward_propagate_comparison): ... this. | |
9071 | (forward_propagate_into_gimple_cond): Remove looping. | |
9072 | (forward_propagate_into_cond): Likewise. | |
9073 | (simplify_not_neg_expr): Return whether we have done something. | |
9074 | (simplify_gimple_switch): Likewise. | |
9075 | (tree_ssa_forward_propagate_single_use_vars): Rename to ... | |
9076 | (ssa_forward_propagate_and_combine): ... this. Re-structure | |
9077 | to do a forward forward-propagation walk on BBs and a backward | |
6ba5d856 | 9078 | stmt combining walk on BBs. Consistently re-scan changed statements. |
2e87621c RG |
9079 | (pass_forwprop): Adjust. |
9080 | ||
5a880d5d ILT |
9081 | 2011-05-30 Ian Lance Taylor <iant@google.com> |
9082 | ||
9083 | * godump.c (go_format_type): Correct length of name added to | |
9084 | obstack for anonymous field. | |
9085 | ||
5f133038 KK |
9086 | 2011-05-30 Kaz Kojima <kkojima@gcc.gnu.org> |
9087 | ||
9088 | PR target/49186 | |
9089 | * config/sh/sh.c (expand_cbranchdi4): Set msw_skip when the high | |
9090 | part of the second operand is 0. | |
9091 | ||
b17d5426 UB |
9092 | 2011-05-30 Uros Bizjak <ubizjak@gmail.com> |
9093 | ||
9094 | * config/i386/i386.md (*movxf_internal): Penalize FYx*r->o alternative | |
9095 | to prevent partial memory stalls. Do not move CONST_DOUBLEs directly | |
9096 | to memory for !TARGET_MEMORY_MISMATCH_STALL. | |
9097 | (*movdf_internal_rex64): Do not penalize F->r alternative. | |
6ba5d856 | 9098 | (*movdf_internal): Penalize FYd*r->o alternative to prevent partial |
b17d5426 UB |
9099 | memory stalls. Generate SSE and x87 CONST_DOUBLE immediates only |
9100 | when optimizing function for size. Do not move CONST_DOUBLEs | |
9101 | directly to memory for !TARGET_MEMORY_MISMATCH_STALL. | |
6ba5d856 UB |
9102 | (FP move splitters): Merge {TF,XF,DF}mode splitters. Do not handle |
9103 | SUBREGs. Do not check for MEM_P operands in the insn condition, | |
b17d5426 UB |
9104 | check for ANY_FP_REGNO_P instead. |
9105 | * config/i386/constraints.md (Yd): Enable GENERAL_REGS for | |
9106 | TARGET_64BIT and for TARGET_INTEGER_DFMODE_MOVES when optimizing | |
9107 | function for speed. | |
9108 | * config/i386/i386.c (ix86_option_override_internal): Do not | |
9109 | set TARGET_INTEGER_DFMODE_MOVES here. | |
9110 | ||
a0cd843f L |
9111 | 2011-05-30 H.J. Lu <hongjiu.lu@intel.com> |
9112 | ||
9113 | PR target/49168 | |
aad61732 | 9114 | * config/i386/i386.md (*movtf_internal): Handle misaligned load/store. |
a0cd843f | 9115 | |
006a5f38 JJ |
9116 | 2011-05-30 Jakub Jelinek <jakub@redhat.com> |
9117 | ||
9118 | * dwarf2out.c (modified_type_die, gen_reference_type_die): Use | |
9119 | DW_TAG_rvalue_reference_type even for | |
9120 | -gdwarf-4 -fno-debug-types-section. | |
9121 | ||
6e96f98a BS |
9122 | 2011-05-30 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
9123 | ||
9124 | PR tree-optimization/46728 | |
9125 | * tree-ssa-math-opts.c (build_and_insert_call): Reorder parms. | |
9126 | (build_and_insert_binop): New. | |
9127 | (gimple_expand_builtin_pow): Reorder args for | |
9128 | build_and_insert_call; use build_and_insert_binop; add more | |
9129 | optimizations for fractional exponents. | |
b17d5426 | 9130 | |
4f60111f NF |
9131 | 2011-05-30 Nathan Froyd <froydnj@gcc.gnu.org> |
9132 | ||
9133 | PR bootstrap/49190 | |
9134 | ||
9135 | Revert: | |
9136 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> | |
9137 | ||
9138 | * tree.h (struct tree_identifier): Inherit from tree_typed, not | |
9139 | tree_common. | |
9140 | (HT_IDENT_TO_GCC_IDENT): Adjust for said change. | |
9141 | * tree.c (initialize_tree_contains_struct): Mark TS_IDENTIFIER as | |
9142 | TS_BASE instead of TS_COMMON. | |
9143 | * varasm.c (assemble_name): Remove assert. | |
9144 | ||
3fd7879d RS |
9145 | 2011-05-30 Richard Sandiford <rdsandiford@googlemail.com> |
9146 | ||
9147 | * config.gcc: Keep obselete list sorted. | |
9148 | ||
80060f7a JJ |
9149 | 2011-05-30 Jakub Jelinek <jakub@redhat.com> |
9150 | Eric Botcazou <ebotcazou@adacore.com> | |
9151 | ||
9152 | * var-tracking.c (vt_add_function_parameter): Remap incoming MEMs with | |
9153 | crtl->args.internal_arg_pointer based address to arg_pointer_rtx if | |
9154 | there is a DRAP register and arg_pointer_rtx is the CFA pointer. | |
9155 | (vt_init_cfa_base): Don't equate cfa_base_rtx if stack was realigned. | |
9156 | (vt_initialize): Initialize cfa_base_rtx if there is a DRAP register. | |
9157 | ||
17e99cdb RG |
9158 | 2011-05-30 Richard Guenther <rguenther@suse.de> |
9159 | ||
9160 | * gimple.c (gimple_types_compatible_p_1): Compare record | |
9161 | and union type members properly. | |
9162 | ||
42b05b6e RG |
9163 | 2011-05-30 Richard Guenther <rguenther@suse.de> |
9164 | ||
9165 | PR tree-optimization/49210 | |
6ba5d856 UB |
9166 | * ipa-split.c (split_function): Care for the case where the call |
9167 | result is not trivially convertible to the result holding variable. | |
42b05b6e | 9168 | |
f3321158 RG |
9169 | 2011-05-30 Richard Guenther <rguenther@suse.de> |
9170 | ||
9171 | PR tree-optimization/49218 | |
9172 | * tree-vrp.c (adjust_range_with_scev): Properly check whether | |
9173 | overflow occured. | |
9174 | ||
d12d8efe RG |
9175 | 2011-05-30 Richard Guenther <rguenther@suse.de> |
9176 | ||
9177 | * tree-ssa-forwprop.c (forward_propagate_into_comparison): | |
9178 | New function split out from ... | |
9179 | (forward_propagate_into_gimple_cond): ... here. Adjust. | |
9180 | (forward_propagate_into_cond): Likewise. | |
9181 | (forward_propagate_comparison): Also propagate into | |
9182 | comparisons on assignment RHS. Change return value to | |
9183 | behave similar to forward_propagate_into_cond. | |
9184 | (tree_ssa_forward_propagate_single_use_vars): Handle | |
9185 | strict-overflow warnings properly for forward_propagate_comparison. | |
9186 | ||
df33b41f RO |
9187 | 2011-05-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9188 | ||
9189 | * configure.ac (gcc_cv_lto_plugin): Determine lto plugin support | |
9190 | from plugin linker. | |
9191 | * configure: Regenerate. | |
9192 | ||
69940d4d IR |
9193 | 2011-05-30 Ira Rosen <ira.rosen@linaro.org> |
9194 | ||
9195 | PR tree-optimization/49199 | |
9196 | * tree-vect-loop.c (vect_is_slp_reduction): Check that the | |
b17d5426 | 9197 | non-reduction operands are either defined in the loop or by induction. |
69940d4d | 9198 | |
226c52aa XDL |
9199 | 2011-05-29 Xinliang David Li <davidxl@google.com> |
9200 | ||
9201 | * opts-global.c (handle_common_deferred_options): Handle new options. | |
9202 | * passes.c (register_one_dump_file): Call register_pass_name. | |
9203 | (execute_one_pass): Check explicit enable/disable flag. | |
9204 | (passr_hash): New function. | |
9205 | (passr_eq): Ditto. | |
9206 | (register_pass_name): Ditto. | |
9207 | (get_pass_by_name): Ditto. | |
9208 | (pass_hash): Ditto. | |
9209 | (pass_eq): Ditto. | |
9210 | (enable_pass): Ditto. | |
9211 | (disable_pass): Ditto. | |
9212 | (is_pass_explicitly_enabled_or_disabled): Ditto. | |
9213 | ||
491d8eed UB |
9214 | 2011-05-29 Uros Bizjak <ubizjak@gmail.com> |
9215 | ||
9216 | * config/i386/i386.md (*movoi_internal_avx): Use | |
9217 | standard_sse_constant_opcode for alternative 0. | |
9218 | (*movti_internal_sse): Ditto. | |
9219 | (*movti_internal_rex64): Use standard_sse_constant_opcode for | |
9220 | alternative 2. | |
9221 | (*movdi_internal_rex64): Use standard_sse_constant_opcode for | |
9222 | sselog1 type moves. | |
9223 | (*movsi_internal): Ditto. | |
9224 | (*movdi_internal): Ditto. Add ssecvt type moves. | |
9225 | ||
eb93b31f EB |
9226 | 2011-05-29 Eric Botcazou <ebotcazou@adacore.com> |
9227 | ||
9228 | PR target/48830 | |
9229 | * rtlanal.c (simplify_subreg_regno): Adjust comment. | |
9230 | ||
3f831b7d JJ |
9231 | 2011-05-29 Jakub Jelinek <jakub@redhat.com> |
9232 | ||
9233 | PR rtl-optimization/49095 | |
9234 | * config/i386/predicates.md (plusminuslogic_operator): New predicate. | |
9235 | * config/i386/i386.md: Add peepholes for mem {+,-,&,|,^}= x; mem != 0. | |
9236 | ||
ee3ee488 RS |
9237 | 2011-05-29 Richard Sandiford <rdsandiford@googlemail.com> |
9238 | ||
9239 | PR target/43995 | |
9240 | * config/mips/mips.c (mips_pic_call_symbol_from_set): Add a | |
9241 | recurse_p argument. Only follow register copies if it is set, | |
9242 | and prevent mips_find_pic_call_symbol from recursing. | |
9243 | (mips_find_pic_call_symbol): Add a recurse_p argument. | |
9244 | Pass it to mips_pic_call_symbol_from_set. | |
9245 | (mips_annotate_pic_calls): Update accordingly. | |
9246 | ||
65f3dedb RS |
9247 | 2011-05-29 Richard Sandiford <rdsandiford@googlemail.com> |
9248 | ||
9249 | * emit-rtl.c (try_split): Use a loop to search for | |
9250 | NOTE_INSN_CALL_ARG_LOCATIONs. | |
9251 | ||
61e374ab RG |
9252 | 2011-05-29 Richard Guenther <rguenther@suse.de> |
9253 | ||
9254 | PR tree-optimization/49217 | |
9255 | * ipa-pure-const.c (propagate_pure_const): Fix typos. | |
9256 | ||
fac009a8 JH |
9257 | 2011-05-28 Jan Hubicka <jh@suse.cz> |
9258 | ||
9259 | * lto-streamer-out.c (hash_string_slot_node): Hash string based on its | |
9260 | length. | |
9261 | (string_slot_free): Remove | |
9262 | (create_output_block): Initialize obstack. | |
9263 | (destroy_output_block): Free obstack. | |
9264 | (lto_string_index): Add PERSISTENT parameter; do not duplicate | |
9265 | the string unless it needs to be added into the hash. | |
9266 | (lto_output_string_with_length): Add persistent attribute; | |
9267 | handle NULL strings. | |
9268 | (lto_output_string): Add PERSISTENT parameter. | |
9269 | (output_string_cst, output_identifier): Simplify. | |
9270 | (lto_output_location_bitpack): Update. | |
9271 | (lto_output_builtin_tree): Update. | |
9272 | * lto-streamer.h (struct output_block): Add obstack. | |
491d8eed UB |
9273 | (lto_output_string, lto_output_string_with_length): Remove |
9274 | declarations; functions are static now. | |
fac009a8 | 9275 | |
fa766006 JH |
9276 | 2011-05-28 Jan Hubicka <jh@suse.cz> |
9277 | ||
9278 | * lto-streamer-out.c (pack_ts_fixed_cst_value_fields, | |
9279 | pack_ts_decl_common_value_fields, pack_ts_decl_with_vis_value_fields, | |
9280 | pack_ts_function_decl_value_fields, lto_output_builtin_tree, | |
9281 | output_cfg, output_gimple_stmt): Use enum and variable length i/o. | |
9282 | * lto-streamer-in.c (input_cfg, input_gimple_stmt, | |
9283 | unpack_ts_fixed_cst_value_fields, unpack_ts_decl_common_value_fields, | |
9284 | unpack_ts_decl_with_vis_value_fields, | |
9285 | unpack_ts_type_common_value_fields, unpack_ts_block_value_fields, | |
9286 | lto_get_builtin_tree): Use enum and variable length i/o. | |
9287 | * basic-block.h (profile_status_d): Add PROFILE_LAST. | |
9288 | * lto-streamer.h (bp_pack_int_in_range, bp_unpack_int_in_range): | |
9289 | New functions. | |
9290 | (bp_pack_enum, bp_unpack_enum): New macros. | |
9291 | ||
e092158b RS |
9292 | 2011-05-28 Richard Sandiford <rdsandiford@googlemail.com> |
9293 | ||
9294 | * genrecog.c: Remove redundant forward declarations. | |
9295 | ||
7ca2afa0 RS |
9296 | 2011-05-28 Richard Sandiford <rdsandiford@googlemail.com> |
9297 | ||
9298 | * config.gcc: Deprecate mips*-*-openbsd*. | |
9299 | ||
a601a53a RS |
9300 | 2011-05-28 Richard Sandiford <rdsandiford@googlemail.com> |
9301 | ||
9302 | PR bootstrap/49195 | |
9303 | * genrecog.c (add_to_sequence): Use XEXP rather than XVECEXP | |
9304 | for match_op_dup. | |
9305 | ||
fc64b448 AP |
9306 | 2011-05-27 Andrew Pinski <pinskia@gmail.com> |
9307 | ||
9308 | PR middle-end/48981 | |
9309 | * gengtype.c (vec_prefix_type): New function. | |
9310 | (note_def_vec): Use vec_prefix_type and change the length | |
9311 | attribute to be based on the prefix. | |
9312 | * vec.c: Include coretypes.h before vec.h. | |
9313 | (struct vec_prefix): Remove. | |
9314 | (vec_gc_p_reserve): Change the offsetof to sizeof. | |
9315 | (vec_gc_p_reserve_exact): Likewise. | |
9316 | (vec_heap_p_reserve): Likewise. | |
9317 | (vec_heap_p_reserve_exact): Likewise. | |
9318 | (vec_stack_o_reserve_1): Copy from +1 instead of from vec. | |
9319 | (vec_stack_p_reserve): Change the offsetof to sizeof. | |
9320 | (vec_stack_p_reserve_exact): Likewise. | |
9321 | * vec.h (struct vec_prefix): New struct definition. | |
9322 | (VEC_T(T,B)): Use vec_prefix instead of having num/alloc fields. | |
9323 | (VEC_T_GTY(T,B)): Likewise. | |
9324 | (DEF_VEC_FUNC_P(T)): Use prefix field. | |
9325 | (DEF_VEC_NONALLOC_FUNCS_O(T,A)): Likewise. | |
9326 | (DEF_VEC_NONALLOC_FUNCS_I(T,A)): Likewise. | |
9327 | ||
ba869341 BS |
9328 | 2011-05-27 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
9329 | ||
9330 | PR tree-optimization/46728 | |
9331 | * tree-ssa-math-opts.c (powi_as_mults_1): Add gimple_set_location. | |
9332 | (powi_as_mults): Add gimple_set_location. | |
9333 | (build_and_insert_call): New. | |
9334 | (gimple_expand_builtin_pow): Add handling for pow(x,y) when y is | |
9335 | 0.5, 0.25, 0.75, 1./3., or 1./6. | |
491d8eed | 9336 | |
d296760d AM |
9337 | 2011-05-27 Alexander Monakov <amonakov@ispras.ru> |
9338 | ||
9339 | * doc/contrib.texi: Update copyright years. | |
9340 | (Contributors): Add Zdenek Sojka. | |
9341 | ||
38e01f9e NF |
9342 | 2011-05-27 Nathan Froyd <froydnj@codesourcery.com> |
9343 | ||
9344 | * c-decl.c (c_push_function_context): Copy the current statement | |
9345 | list stack. | |
9346 | (add_stmt): Check building_stmt_list_p and push_stmt if necessary. | |
9347 | (finish_struct): Call building_stmt_list_p instead of checking | |
9348 | cur_stmt_list. | |
9349 | * c-parser.c (c_parser_postfix_expression): Likewise. | |
9350 | * c-typeck.c (c_end_compound_stmt): Likewise. | |
9351 | * print-tree.c (print_node) [STATEMENT_LIST]: Don't print TREE_CHAIN. | |
9352 | * tree-iterator.c (stmt_list_cache): Change to a VEC. | |
9353 | (alloc_stmt_list): Adjust for stmt_list_cache's new type. | |
9354 | (free_stmt_list): Likewise. | |
9355 | * tree.h (struct tree_statement_list): Include typed_tree instead | |
9356 | of tree_common. | |
9357 | * tree.c (initialize_tree_contains_struct): Mark TS_STATEMENT_LIST | |
9358 | as TS_TYPED instead of TS_COMMON. | |
9359 | ||
8950516e | 9360 | 2011-05-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
66bd20e7 | 9361 | Uros Bizjak <ubizjak@gmail.com> |
8950516e RO |
9362 | |
9363 | * configure.ac (gcc_cv_as_ix86_tlsgdplt): Check for @tlsgdplt | |
9364 | (HAVE_AS_IX86_TLSGDPTL): Define. | |
9365 | (gcc_cv_as_ix86_tlsldmplt): Check for @tlsldmplt. | |
9366 | (HAVE_AS_IX86_TLSLDMPLT): Define. | |
9367 | * configure: Regenerate. | |
9368 | * config.in: Regenerate. | |
9369 | * config/i386/i386.c (ix86_print_operand): Handle code 'p'. | |
9370 | * config/i386/i386.md (*tls_global_dynamic_32_gnu): If | |
9371 | TARGET_SUN_TLS, use @tlsgdplt or @plt. | |
9372 | (*tls_global_dynamic_64): Use @plt if TARGET_SUN_TLS. | |
9373 | (*tls_local_dynamic_base_32_gnu): If TARGET_SUN_TLS, use | |
9374 | @tlsldmplt or @plt. | |
9375 | (*tls_local_dynamic_base_64): Use @plt if TARGET_SUN_TLS. | |
9376 | ||
b0bd15f7 BS |
9377 | 2011-05-27 Bernd Schmidt <bernds@codesourcery.com> |
9378 | ||
9379 | * sched-int.h (struct _haifa_deps_insn_data): New members cond | |
9380 | and reverse_cond. | |
9381 | (INSN_COND, INSN_REVERSE_COND): New macros. | |
9382 | * sched-deps.c (deps_analyze_insn): Call sched_get_condition_with_rev | |
9383 | once. | |
9384 | (sched_get_condition_with_rev): Cache the results, and look them up | |
9385 | if possible. | |
9386 | (sched_analyze_insn): Destroy INSN_COND of previous insns if they | |
9387 | are clobbered by the current insn. | |
9388 | * target.def (exposed_pipline): New sched data hook. | |
9389 | * doc/tm.texi.in: TARGET_SCHED_EXPOSED_PIPELINE: Add hook. | |
9390 | * doc/tm.texi: Regenerate. | |
9391 | ||
fa65a9cf BS |
9392 | 2011-05-27 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
9393 | ||
9394 | PR tree-optimization/49170 | |
9395 | * tree-ssa-math-opts.c (execute_cse_sincos): Add checks for | |
9396 | sincos or cexp. | |
b0bd15f7 | 9397 | |
c2299dfe RG |
9398 | 2011-05-27 Richard Guenther <rguenther@suse.de> |
9399 | ||
9400 | PR middle-end/49189 | |
9401 | * fold-const.c (fold_unary_loc): Do not re-fold folding conversions | |
9402 | of comparisons. | |
9403 | ||
a95b23b4 BS |
9404 | 2011-05-27 Bernd Schmidt <bernds@codesourcery.com> |
9405 | ||
9406 | * haifa-sched.c (sched_scan_info): Remove. | |
9407 | (schedule_block): Call sched_extend_luids rather than sched_init_luids | |
9408 | with NULL args. | |
9409 | (extend_bb, init_bb, extend_insn, init_insn, init_insns_in_bb): | |
9410 | Remove functions. | |
9411 | (sched_scan): Remove. | |
9412 | (sched_extend_luids): Renamed from luids_extend_insn and no longer | |
9413 | static. All callers changed. | |
9414 | (sched_init_insn_luid): Renamed from luids_init_insn and no longer | |
9415 | static. All callers changed. | |
9416 | (sched_init_luids): Remove all arguments except the first. All | |
9417 | callers changed. Don't use sched_scan. | |
9418 | (haifa_init_h_i_d): Likewise. | |
9419 | (haifa_init_insn): Call sched_extend_luids and sched_init_insn_luid | |
9420 | manually rather than using sched_init_luids. Likewise with | |
9421 | extend_h_i_d, init_h_i_d and haifa_init_h_i_d. | |
9422 | * sel-sched.c (sel_region_target_finish): Call sched_extend_luids | |
9423 | rather than sched_init_luids with NULL args. | |
9424 | * sel-sched-ir.c (new_insns): Remove variable. | |
9425 | (sched_scan): New static function, previously in haifa-sched.c. Remove | |
9426 | all arguments but the first two; all callers changed. | |
9427 | (sel_init_new_insn): Call sched_extend_luids and sched_init_insn_luid | |
9428 | rather than sched_init_luids. | |
9429 | (sel_init_bbs): Remove second argument. All callers changed. | |
9430 | (sel_add_bb): Call sched_extend_luids rather than sched_init_luids | |
9431 | with NULL arguments. | |
9432 | (create_insn_rtx_from_pattern): Likewise. | |
9433 | * sel-sched-ir.h (sel_init_bbs): Adjust declaration. | |
9434 | * sched-int.h (sched_init_luids, haifa_init_h_i_d): Likewise. | |
9435 | (sched_init_insn_luid, sched_extend_luids): Declare. | |
9436 | (sched_scan_info_def, sched_scan_info, sched_scan): Remove | |
9437 | declarations. | |
9438 | ||
f8f972fc RB |
9439 | 2011-05-27 Richard Guenther <rguenther@suse.de> |
9440 | ||
9441 | PR middle-end/49177 | |
9442 | * fold-const.c (fold_unary_loc): Fold (T)(A CMP B) to | |
9443 | A CMP B ? (T) true : (T) false for non-integral types T again. | |
9444 | ||
51a9ed47 JH |
9445 | 2011-05-27 Jan Hubicka <jh@suse.cz> |
9446 | ||
9447 | * lto-streamer-out.c (lto_string_index): break out from...; offset by 1 | |
9448 | so 0 means NULL string. | |
9449 | (lto_output_string_with_length): ... here. | |
f8f972fc RB |
9450 | (lto_output_string, output_string_cst, output_identifier): Update |
9451 | handling of NULL strings. | |
51a9ed47 JH |
9452 | (lto_output_location_bitpack): New function. |
9453 | (lto_output_location): Use it. | |
9454 | (lto_output_tree_ref): Use output_record_start. | |
f8f972fc RB |
9455 | (pack_ts_type_common_value_fields): Pack aliagn & alias set in var |
9456 | len values. | |
9457 | * lto-streamer-in.c (string_for_index): Break out from ...; offset | |
9458 | values by 1. | |
491d8eed | 9459 | (input_string_internal): ... here; |
f8f972fc RB |
9460 | (input_string_cst, input_identifier, lto_input_string): Update handling |
9461 | of NULL strings. | |
51a9ed47 JH |
9462 | (lto_input_location_bitpack): New function |
9463 | (lto_input_location): Use it. | |
f8f972fc RB |
9464 | (unpack_ts_type_common_value_fields): Pack align & alias in var len |
9465 | values. | |
51a9ed47 JH |
9466 | * lto-streamer.h (bp_pack_val_len_unsigned, bp_pack_val_len_int, |
9467 | bp_unpack_val_len_unsigned, bp_unpack_val_len_int): Declare. | |
9468 | (bp_pack_value): Sanity check the value range. | |
9469 | * lto-section-in.c (bp_unpack_val_len_unsigned, bp_unpack_val_len_int): | |
9470 | New functions. | |
9471 | * lto-section-out.h (bp_pack_val_len_unsigned, bp_pack_val_len_int): | |
9472 | New functions. | |
9473 | ||
66bd20e7 | 9474 | 2011-05-27 Hariharan Sandanagobalane <hariharan@picochip.com> |
dc38fc2e HS |
9475 | |
9476 | * config/picochip/picochip.c (reorder_var_tracking_notes): Drop | |
9477 | call_arg_location instructions down the floor. | |
9478 | ||
574e418a VM |
9479 | 2011-05-26 Vladimir Makarov <vmakarov@redhat.com> |
9480 | ||
9481 | PR rtl-optimization/49154 | |
9482 | * ira.c (setup_pressure_classes): Process class without sublcasses | |
9483 | as a candidate for pressure classes. | |
9484 | ||
6a1a787e RS |
9485 | 2011-05-26 Richard Sandiford <rdsandiford@googlemail.com> |
9486 | ||
9487 | PR rtl-optimization/48575 | |
9488 | * genrecog.c (position_type): New enum. | |
9489 | (position): New structure. | |
9490 | (decision): Use position structure instead of a string. | |
9491 | (root_pos, peep2_insn_pos_list): New variables. | |
9492 | (next_position, compare_positions): New functions. | |
9493 | (new_decision): Use position structures instead of strings. | |
9494 | (maybe_both_true): Likewise. | |
9495 | (change_state): Likewise. | |
9496 | (write_tree): Likewise. | |
9497 | (make_insn_sequence): Likewise. | |
9498 | ||
92e948a8 NF |
9499 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> |
9500 | ||
9501 | * tree.c (initialize_tree_contains_struct): Mark TS_BLOCK as | |
9502 | TS_BASE instead of TS_COMMON. | |
9503 | (find_decls_types_r): Check for TS_TYPED structure before looking at | |
9504 | TREE_TYPE. | |
9505 | * tree.h (struct tree_block): Inherit from tree_base, not tree_common. | |
9506 | Add chain field. | |
9507 | (BLOCK_CHAIN): Use new chain field. | |
9508 | ||
66bd20e7 | 9509 | 2011-05-26 Pat Haugen <pthaugen@us.ibm.com> |
c61e40d3 PH |
9510 | |
9511 | * config/rs6000/rs6000.c (rs6000_register_move_cost): Make LR/CTR | |
9512 | moves expensive on Power7 also. | |
9513 | ||
1f498652 RG |
9514 | 2011-05-26 Richard Guenther <rguenther@suse.de> |
9515 | ||
9516 | * fold-const.c (fold_unary_loc): Remove bogus code. | |
9517 | ||
a2fc3e63 NF |
9518 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> |
9519 | ||
9520 | * tree.h (struct tree_identifier): Inherit from tree_typed, not | |
9521 | tree_common. | |
9522 | (HT_IDENT_TO_GCC_IDENT): Adjust for said change. | |
9523 | * tree.c (initialize_tree_contains_struct): Mark TS_IDENTIFIER as | |
9524 | TS_BASE instead of TS_COMMON. | |
9525 | * varasm.c (assemble_name): Remove assert. | |
9526 | ||
d11bf18f BS |
9527 | 2011-05-26 Bernd Schmidt <bernds@codesourcery.com> |
9528 | ||
9529 | * Makefile.in (srcdirify): Change order so that libgcc_objdir is | |
9530 | substituted first. | |
9531 | * libgcc-std.ver: Delete file. | |
9532 | ||
ac8e1875 RG |
9533 | 2011-05-26 Richard Guenther <rguenther@suse.de> |
9534 | ||
9535 | PR tree-optimization/48702 | |
9536 | * tree-ssa-address.c (create_mem_ref_raw): Create MEM_REFs | |
9537 | only when we know the base address is within bounds. | |
9538 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Do not | |
9539 | assume the base address of TARGET_MEM_REFs is in bounds. | |
9540 | ||
7e32e652 RO |
9541 | 2011-05-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9542 | ||
9543 | PR target/49099 | |
9544 | * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Wrap | |
9545 | declaration in TARGET_SOLARIS. | |
9546 | ||
66bd20e7 | 9547 | 2011-05-26 Hariharan Sandanagobalane <hariharan@picochip.com> |
43660e0b HS |
9548 | |
9549 | * config/picochip/picochip.md (cbranchhi4): No :CC for match_operator. | |
491d8eed | 9550 | The instruction is then expanded explicitly. |
43660e0b HS |
9551 | (supported_compare): Callable instruction. |
9552 | (compare): Likewise. | |
9553 | ||
1537737f JJ |
9554 | 2011-05-26 Jakub Jelinek <jakub@redhat.com> |
9555 | ||
9556 | PR c++/49165 | |
9557 | * gimplify.c (shortcut_cond_r): Don't special case | |
9558 | COND_EXPRs if they have void type on one of their arms. | |
9559 | ||
7b1ac803 BS |
9560 | 2011-05-26 Bernd Schmidt <bernds@codesourcery.com> |
9561 | ||
9562 | * haifa-sched.c (schedule-block): Reorder the inner scheduling loop | |
9563 | to reduce duplication, and to achieve a slightly more logical order | |
9564 | of operations. | |
9565 | ||
1aa9438f JJ |
9566 | 2011-05-26 Jakub Jelinek <jakub@redhat.com> |
9567 | ||
9568 | PR tree-optimization/49161 | |
9569 | * tree-vrp.c (struct case_info): New type. | |
9570 | (compare_case_labels): Sort case_info structs instead of | |
9571 | trees, and not primarily by CASE_LABEL uids but by | |
9572 | label_for_block indexes. | |
9573 | (find_switch_asserts): Put case labels into struct case_info | |
9574 | array instead of TREE_VEC, adjust sorting, compare label_for_block | |
9575 | values instead of CASE_LABELs. | |
9576 | ||
50fed7bf RR |
9577 | 2011-05-26 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
9578 | ||
9579 | * config/arm/neon.md ("orn<mode>3_neon"): Canonicalize not. | |
9580 | ("orndi3_neon"): Likewise. | |
9581 | ("bic<mode>3_neon"): Likewise. | |
9582 | ||
48df3fa6 IR |
9583 | 2011-05-26 Ira Rosen <ira.rosen@linaro.org> |
9584 | ||
9585 | PR tree-optimization/49038 | |
9586 | * tree-vect-loop-manip.c (vect_generate_tmps_on_preheader): | |
9587 | Ensure at least one epilogue iteration if required by data | |
9588 | accesses with gaps. | |
9589 | * tree-vectorizer.h (struct _loop_vec_info): Add new field | |
9590 | to mark loops that require peeling for gaps. | |
9591 | * tree-vect-loop.c (new_loop_vec_info): Initialize new field. | |
9592 | (vect_get_known_peeling_cost): Take peeling for gaps into | |
9593 | account. | |
9594 | (vect_transform_loop): Generate epilogue if required by data | |
9595 | access with gaps. | |
9596 | * tree-vect-data-refs.c (vect_analyze_group_access): Mark the | |
9597 | loop as requiring an epilogue if there are gaps in the end of | |
9598 | the strided group. | |
9599 | ||
53febcba ILT |
9600 | 2011-05-25 Ian Lance Taylor <iant@google.com> |
9601 | ||
9602 | * godump.c (go_format_type): Output the first field with a usable | |
9603 | Go type, if any. | |
9604 | ||
dbbc4d4c ILT |
9605 | 2011-05-25 Ian Lance Taylor <iant@google.com> |
9606 | ||
9607 | * godump.c (go_format_type): Check for invalid type names, pointer | |
9608 | target types, and struct field types. | |
9609 | ||
f03a5402 JM |
9610 | 2011-05-25 Jason Merrill <jason@redhat.com> |
9611 | ||
9612 | * print-tree.c (print_node): Only look at TREE_TYPE if TS_TYPED. | |
9613 | ||
c497c412 UB |
9614 | 2011-05-25 Uros Bizjak <ubizjak@gmail.com> |
9615 | ||
9616 | * config/i386/sse.md (*<sse>_maskcmp<mode>3_comm): New pattern. | |
9617 | ||
e470affe L |
9618 | 2011-05-25 H.J. Lu <hongjiu.lu@intel.com> |
9619 | ||
9620 | * config/i386/i386.md (*movqi_extv_1)): Put back | |
9621 | "register_operand" check in "type" calculation. | |
9622 | (*movqi_extzv_2): Likewise. | |
9623 | ||
6c81b2bc L |
9624 | 2011-05-25 H.J. Lu <hongjiu.lu@intel.com> |
9625 | ||
c497c412 | 9626 | * doc/extend.texi (X86 Built-in Functions): Update pause intrinsic. |
6c81b2bc | 9627 | |
0c007eb2 BS |
9628 | 2011-05-25 Bernd Schmidt <bernds@codesourcery.com> |
9629 | ||
9630 | PR bootstrap/49160 | |
9631 | * libgcc2.h (__powisf2, __powidf2, __powitf2, __powixf2, | |
9632 | __mulsc3, __muldc3, __mulxc3, __multc3, __divsc3, __divdc3, | |
9633 | __divxc3, __divtc3): Wrap definitions in #ifndef. | |
9634 | ||
521ca78e L |
9635 | 2011-05-25 H.J. Lu <hongjiu.lu@intel.com> |
9636 | ||
9637 | PR target/49142 | |
9638 | * config/i386/i386.md (*movqi_extv_1_rex64): Remove | |
9639 | "register_operand" check and replace q_regs_operand with | |
9640 | QIreg_operand in "type" calculation. | |
9641 | (*movqi_extv_1): Likewise. | |
9642 | (*movqi_extzv_2_rex64): Likewise. | |
9643 | (*movqi_extzv_2): Likewise. | |
9644 | ||
9645 | * config/i386/predicates.md (QIreg_operand): New. | |
9646 | ||
29f8b844 RG |
9647 | 2011-05-25 Richard Guenther <rguenther@suse.de> |
9648 | ||
9649 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Fix | |
9650 | type-based offset disambiguation, streamline MEM_REF and | |
9651 | TARGET_MEM_REF handling. | |
9652 | ||
74838de3 L |
9653 | 2011-05-25 H.J. Lu <hongjiu.lu@intel.com> |
9654 | ||
9655 | * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_PAUSE. | |
9656 | (bdesc_special_args): Add pause intrinsic. | |
9657 | ||
9658 | * config/i386/i386.md (UNSPEC_PAUSE): New. | |
9659 | (pause): Likewise. | |
9660 | (*pause): Likewise. | |
9661 | * config/i386/ia32intrin.h (__pause): Likewise. | |
9662 | ||
9663 | * doc/extend.texi (X86 Built-in Functions): Add documentation for | |
9664 | pause intrinsic. | |
9665 | ||
d24ad7d6 BS |
9666 | 2011-05-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
9667 | ||
9668 | PR tree-optimization/46728 | |
9669 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): New. | |
9670 | (execute_cse_sincos): Add switch case for BUILT_IN_POW. | |
c497c412 | 9671 | |
d9f8303f NF |
9672 | 2011-05-25 Nathan Froyd <froydnj@codesourcery.com> |
9673 | ||
9674 | * tree.h (struct tree_exp): Inherit from struct tree_typed. | |
9675 | * tree.c (initialize_tree_contains_struct): Mark TS_EXP as TS_TYPED | |
9676 | instead of TS_COMMON. | |
9677 | ||
cdbf4541 BS |
9678 | 2011-05-25 Bernd Schmidt <bernds@codesourcery.com> |
9679 | ||
9680 | * libgcc2.h (__NW, __NDW): Define using a __gnu_ prefix if | |
9681 | LIBGCC2_GNU_PREFIX is defined. | |
9682 | (__N): New macro. | |
9683 | (__powisf2, __powidf2, __powitf2, __powixf2, __bswapsi2, __bswapdi2, | |
9684 | __mulsc3, __muldc3, __mulxc3, __multc3, __divsc3, __divdc3, __divxc3, | |
9685 | __divtc3, __udiv_w_sdiv, __clear_cache, __enable_execute_stack, | |
9686 | __clz_tab): Define using __N. | |
9687 | (__absvsi2, __negvsi2, __addvsi3, __subvsi3, __mulvsi3): Likewise if | |
9688 | COMPAT_SIMODE_TRAPPING_ARITHMETIC. | |
9689 | * target.def (libfunc_gnu_prefix): New hook. | |
9690 | * doc/tm.texi.in (LIBGCC2_GNU_PREFIX): Document. | |
9691 | (TARGET_LIBFUNC_GNU_PREFIX): Add hook. | |
9692 | * doc/tm.texi: Regenerate. | |
9693 | * system.h (LIBGCC2_GNU_PREFIX): Poison. | |
9694 | * optabs.c (gen_libfunc): Take the libfunc_gnu_prefix hook into | |
9695 | account. | |
9696 | (gen_interclass_conv_libfunc, gen_intraclass_conv_libfunc): Likewise. | |
9697 | (init_optabs): Likewise for the bswap libfuncs. | |
9698 | * tree.c (build_common_builtin_nodes): Likewise for complex multiply | |
9699 | and divide. | |
9700 | * config/t-slibgcc-elf-ver (SHLIB_MAPFILES): Use $$(libgcc_objdir). | |
9701 | * config/t-slibgcc-sld (SHLIB_MAPFILES): Likewise. | |
9702 | * libgcc-std.ver: Remove. | |
9703 | * Makefile.in (srcdirify): Handle $$(libgcc_objdir). | |
9704 | * config/frv/t-linux (SHLIB_MAPFILES): Use $$(libgcc_objdir) for | |
9705 | libgcc-std.ver. | |
9706 | * config/i386/t-linux (SHLIB_MAPFILES): Likewise. | |
9707 | * config/mips/t-slibgcc-irix (SHLIB_MAPFILES): Likewise. | |
9708 | * config/rs6000/t-aix43 (SHLIB_MAPFILES): Likewise. | |
9709 | * config/rs6000/t-aix52 (SHLIB_MAPFILES): Likewise. | |
9710 | * config/sparc/t-linux (SHLIB_MAPFILES): Likewise. | |
9711 | * config/i386/t-linux (SHLIB_MAPFILES): Likewise. | |
9712 | * config/i386/t-linux (SHLIB_MAPFILES): Likewise. | |
9713 | * config/fixed-bit.h (FIXED_OP): Define differently depending on | |
9714 | LIBGCC2_GNU_PREFIX. All uses changed not to pass leading underscores. | |
9715 | (FIXED_CONVERT_OP, FIXED_CONVERT_OP2): Likewise. | |
9716 | ||
f242c0a5 JH |
9717 | 2011-05-25 Jan Hubicka <jh@suse.cz> |
9718 | ||
9719 | * lto-streamer-out.c (output_record_start): Use lto_output_enum | |
9720 | (lto_output_tree): Use output_record_start. | |
9721 | * lto-streamer-in.c (input_record_start): Use lto_input_enum | |
9722 | (lto_get_pickled_tree): Use input_record_start. | |
9723 | * lto-section-in.c (lto_section_overrun): Turn into fatal error. | |
9724 | (lto_value_range_error): New function. | |
9725 | * lto-streamer.h (lto_value_range_error): Declare. | |
9726 | (lto_output_int_in_range, lto_input_int_in_range): New functions. | |
9727 | (lto_output_enum, lto_input_enum): New macros. | |
9728 | ||
a11e0df4 EB |
9729 | 2011-05-25 Eric Botcazou <ebotcazou@adacore.com> |
9730 | ||
9731 | * common.opt (flag_stack_usage_info): New variable. | |
9732 | (-Wstack-usage): New option. | |
9733 | * doc/invoke.texi (Warning options): Document -Wstack-usage. | |
9734 | * opts.c (common_handle_option) <OPT_Wstack_usage_>: New case. | |
9735 | <OPT_fstack_usage>: Likewise. | |
9736 | * toplev.c (output_stack_usage): Handle -Wstack-usage. | |
9737 | * calls.c (expand_call): Test flag_stack_usage_info variable instead | |
9738 | of flag_stack_usage. | |
9739 | (emit_library_call_value_1): Likewise. | |
9740 | * explow.c (allocate_dynamic_stack_space): Likewise. | |
9741 | * function.c (instantiate_virtual_regs ): Likewise. | |
9742 | (prepare_function_start): Likewise. | |
9743 | (rest_of_handle_thread_prologue_and_epilogue): Likewise. | |
9744 | * config/alpha/alpha.c (alpha_expand_prologue): Likewise. | |
9745 | * config/arm/arm.c (arm_expand_prologue): Likewise. | |
9746 | (thumb1_expand_prologue): Likewise. | |
9747 | * config/avr/avr.c (expand_prologue): Likewise. | |
9748 | * config/i386/i386.c (ix86_expand_prologue): Likewise. | |
9749 | * config/ia64/ia64.c (ia64_expand_prologue): Likewise. | |
9750 | * config/m68k/m68k.c (m68k_expand_prologue): Likewise. | |
9751 | * config/mips/mips.c (mips_expand_prologue): Likewise. | |
9752 | * config/pa/pa.c (hppa_expand_prologue): Likewise. | |
9753 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Likewise. | |
9754 | * config/s390/s390.c (s390_emit_prologue): Likewise. | |
9755 | * config/sh/sh.c (sh_expand_prologue): Likewise. | |
9756 | * config/sparc/sparc.c (sparc_expand_prologue): Likewise. | |
9757 | * config/spu/spu.c (spu_expand_prologue): Likewise. | |
9758 | ||
e7cfe241 RG |
9759 | 2011-05-25 Richard Guenther <rguenther@suse.de> |
9760 | ||
9761 | * gimple.c (iterative_hash_canonical_type): Skip non-FIELD_DECLs. | |
9762 | (gimple_canonical_types_compatible_p): Likewise. | |
9763 | ||
c5235f4c JH |
9764 | 2011-05-25 Jan Hubicka <jh@suse.cz> |
9765 | ||
9766 | PR middle-end/49062 | |
9767 | * ipa.c (function_and_variable_visibility): Only add to same | |
9768 | comdat group list if DECL_ONE_ONLY. | |
9769 | ||
8242a0f6 AB |
9770 | 2011-05-25 Andrey Belevantsev <abel@ispras.ru> |
9771 | ||
9772 | PR rtl-optimization/49014 | |
9773 | * config/i386/athlon.md (athlon_ssecomi): Change type to ssecomi. | |
9774 | ||
642a011d JJ |
9775 | 2011-05-25 Jakub Jelinek <jakub@redhat.com> |
9776 | ||
9777 | PR target/49128 | |
9778 | * config/i386/driver-i386.c (host_detect_local_cpu): Fix a typo. | |
9779 | ||
30a435d8 VM |
9780 | 2011-05-24 Vladimir Makarov <vmakarov@redhat.com> |
9781 | ||
9782 | PR rtl-optimization/48757 | |
9783 | * ira-build.c (loop_with_eh_edge_p): Rename to | |
9784 | loop_with_complex_edge_p, check edges on complexity, make function | |
9785 | conditional. | |
9786 | (mark_loops_for_removal): Make call of loop_with_complex_edge_p | |
9787 | conditional. | |
9788 | ||
24d1bbc7 EB |
9789 | 2011-05-24 Eric Botcazou <ebotcazou@adacore.com> |
9790 | ||
9791 | * config/sparc/sparc.c (sparc_option_override): If not set by the user, | |
9792 | force flag_ira_share_save_slots to 0. | |
9793 | ||
65773087 EB |
9794 | 2011-05-24 Eric Botcazou <ebotcazou@adacore.com> |
9795 | ||
9796 | * var-tracking.c (compute_cfa_pointer): Adjust head comment. | |
9797 | (vt_initialize): Set PROLOGUE_BB unconditionally. | |
9798 | Add block comment about CFA_BASE_RTX machinery. | |
9799 | Reset FP_CFA_OFFSET to -1 on all invalid paths. | |
9800 | Call vt_init_cfa_base only if FP_CFA_OFFSET isn't equal to -1. | |
9801 | ||
4e26ba90 NP |
9802 | 2011-05-24 Nicola Pero <nicola.pero@meta-innovation.com> |
9803 | ||
9804 | PR objc/48187 | |
9805 | * c-parser.c (c_parser_objc_class_instance_variables): More robust | |
9806 | parsing of syntax error in ObjC instance variable lists. In | |
9807 | particular, avoid an infinite loop if there is a stray ']'. | |
9808 | Updated error message. | |
9809 | ||
936fd13c ILT |
9810 | 2011-05-24 Ian Lance Taylor <iant@google.com> |
9811 | ||
9812 | * godump.c (go_define): Don't accept a string immediately after | |
9813 | another operand. | |
9814 | ||
f17333e3 ILT |
9815 | 2011-05-24 Ian Lance Taylor <iant@google.com> |
9816 | ||
9817 | * godump.c (struct godump_container): Add invalid_hash field. | |
9818 | (go_format_type): Return false if type is found in invalid_hash. | |
9819 | (go_output_typedef): Add invalid type to invalid_hash. | |
9820 | (go_finish): Create and delete invalid_hash. | |
9821 | ||
d24ad7d6 | 9822 | 2011-05-24 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
c497c412 | 9823 | |
78be79d5 BS |
9824 | PR tree-optimization/46728 |
9825 | * tree-ssa-math-opts.c (powi_table): New. | |
9826 | (powi_lookup_cost): New. | |
9827 | (powi_cost): New. | |
9828 | (powi_as_mults_1): New. | |
9829 | (powi_as_mults): New. | |
9830 | (gimple_expand_builtin_powi): New. | |
9831 | (execute_cse_sincos): Add switch case for BUILT_IN_POWI. | |
9832 | (gate_cse_sincos): Remove sincos/cexp restriction. | |
f17333e3 | 9833 | |
caee412b RO |
9834 | 2011-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9835 | ||
9836 | PR target/3746 | |
9837 | * config.gcc (alpha*-dec-osf5.1*): Only build mips-tfile, | |
9838 | mips-tdump native. | |
9839 | * mips-tfile.c: Remove CROSS_DIRECTORY_STRUCTURE handling. | |
9840 | * mips-tdump.c: Likewise. | |
9841 | ||
5eed4f27 L |
9842 | 2011-05-24 H.J. Lu <hongjiu.lu@intel.com> |
9843 | ||
9844 | PR target/49128 | |
9845 | * config/i386/driver-i386.c (host_detect_local_cpu): Always | |
9846 | add -mno-XXX. Handle FMA. | |
9847 | ||
8c5fdaae VM |
9848 | 2011-05-24 Vladimir Makarov <vmakarov@redhat.com> |
9849 | ||
9850 | PR rtl-optimization/48633 | |
9851 | * ira-build.c (loop_with_eh_edge_p): New function. | |
9852 | (mark_loops_for_removal): Use it. | |
9853 | ||
9854 | 2011-05-24 Vladimir Makarov <vmakarov@redhat.com> | |
113a5be6 VM |
9855 | |
9856 | PR rtl-optimization/48971 | |
9857 | * ira.c (setup_pressure_classes): Don't check register move cost | |
9858 | for classes with one registers. Don't add pressure class if there | |
9859 | is a pressure class with the same available hard registers. | |
9860 | Check contains_reg_of_mode. Fix a typo in collecting | |
9861 | temp_hard_regset. Ignore hard registers not belonging to a class. | |
9862 | ||
df1f7315 UB |
9863 | 2011-05-24 Uros Bizjak <ubizjak@gmail.com> |
9864 | ||
9865 | PR target/49133 | |
9866 | * config/i386/sse.md (sse2_loadhpd): Remove shufpd alternative. | |
9867 | ||
ee0cb37c EB |
9868 | 2011-05-24 Eric Botcazou <ebotcazou@adacore.com> |
9869 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
9870 | ||
9871 | PR gcov-profile/48845 | |
9872 | * config/sol2.h (LIB_SPEC): Link TLS support for tree profiling. | |
9873 | ||
6a20ce76 RG |
9874 | 2011-05-24 Richard Guenther <rguenther@suse.de> |
9875 | ||
9876 | * gimple.c (compare_type_names_p): Remove for_completion_p arg. | |
9877 | (gimple_compatible_complete_and_incomplete_subtype_p): Remove. | |
9878 | (gimple_types_compatible_p_1): Adjust. | |
9879 | (iterative_hash_canonical_type): Do not bother about complete vs. | |
9880 | incomplete types. | |
9881 | (gimple_canonical_types_compatible_p): Likewise. | |
9882 | ||
2fcb858c RO |
9883 | 2011-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9884 | ||
9885 | * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Remove. | |
9886 | ||
96d91dcf RG |
9887 | 2011-05-24 Richard Guenther <rguenther@suse.de> |
9888 | ||
9889 | PR bootstrap/49078 | |
9890 | * gimple.c (gimple_register_canonical_type): Revert | |
9891 | previous change. | |
9892 | * alias.c (get_alias_set): Only assert that TYPE_CANONICAL | |
9893 | does not for a tree for the case where it matters. Cache | |
9894 | pointer-type alias-sets. | |
9895 | ||
1ed1641d JM |
9896 | 2011-05-24 Joseph Myers <joseph@codesourcery.com> |
9897 | ||
9898 | * Makefile.in (GCC_OBJS): Remove opts-common.o and options.o. | |
9899 | (OBJS): Remove options.o, opts-common.o and prefix.o. | |
9900 | (OBJS-libcommon-target): New. | |
9901 | (ALL_HOST_BACKEND_OBJS): Include $(OBJS-libcommon-target). | |
9902 | (BACKEND): Include libcommon-target.a. | |
9903 | (MOSTLYCLEANFILES): Include libcommon-target.a. | |
9904 | (libcommon-target.a): New. | |
9905 | (xgcc$(exeext), cpp$(exeext)): Use libcommon-target.a instead of | |
9906 | prefix.o. | |
9907 | ||
57dfdff0 JM |
9908 | 2011-05-23 Joseph Myers <joseph@codesourcery.com> |
9909 | ||
9910 | * optc-save-gen.awk: New. Based on optc-gen.awk. Don't generate | |
9911 | parts of output shared with the driver. | |
9912 | * optc-gen.awk: Don't generate parts of output not shared with the | |
9913 | driver. | |
9914 | * opth-gen.awk: Remove GCC_DRIVER conditionals. | |
9915 | * doc/options.texi (SourcerInclude): Mention options-save.c. | |
9916 | * Makefile.in (GCC_OBJS): Use options.o instead of gcc-options.o. | |
9917 | (OBJS): Add options-save.o. | |
9918 | (options-save.c, options-save.o): New. | |
9919 | (options.o): Update dependencies. | |
9920 | (gcc-options.o): Remove. | |
9921 | (mostlyclean): Remove options-save.c. | |
9922 | ||
0e0d82a7 JJ |
9923 | 2011-05-23 Jakub Jelinek <jakub@redhat.com> |
9924 | ||
9166988f JJ |
9925 | PR debug/49032 |
9926 | * dbxout.c: Include cgraph.h. | |
9927 | (dbxout_expand_expr): If a VAR_DECL is TREE_STATIC, not written | |
9928 | and without value expr, return NULL if no varpool node exists for | |
9929 | it or if it is not needed. | |
9930 | * Makefile.in (dbxout.o): Depend on $(CGRAPH_H). | |
9931 | ||
0e0d82a7 JJ |
9932 | PR c/49120 |
9933 | * c-decl.c (start_decl): Convert expr to void_type_node. | |
9934 | ||
65712d5c RS |
9935 | 2011-05-23 Richard Sandiford <rdsandiford@googlemail.com> |
9936 | ||
9937 | PR rtl-optimization/48826 | |
9938 | * emit-rtl.c (try_split): When splitting a call that is followed | |
9939 | by a NOTE_INSN_CALL_ARG_LOCATION, move the note after the new call. | |
9940 | ||
9025085e JJ |
9941 | 2011-05-23 Jakub Jelinek <jakub@redhat.com> |
9942 | ||
9943 | * cfgexpand.c (expand_debug_expr): For unused non-addressable | |
9944 | parameters passed in memory prefer using DECL_INCOMING_RTL over | |
9945 | the pseudos it will be copied into. | |
9946 | ||
34a061be L |
9947 | 2011-05-23 H.J. Lu <hongjiu.lu@intel.com> |
9948 | ||
9949 | PR target/47315 | |
9950 | * config/i386/i386.c (ix86_option_override_internal): Save the | |
9951 | initial options after checking vzeroupper. | |
9952 | ||
c375a3a4 DL |
9953 | 2011-05-23 David Li <davidxl@google.com> |
9954 | ||
9955 | PR tree-optimization/48988 | |
9956 | * tree-ssa-uninit.c (convert_control_dep_chain_into_preds): | |
9957 | Initialize has_valid_pred for each pred chain. | |
9958 | ||
e1caba18 RG |
9959 | 2011-05-23 Richard Guenther <rguenther@suse.de> |
9960 | ||
9961 | * gimple.c (gimple_types_compatible_p_1): Always compare type names. | |
9962 | (iterative_hash_gimple_type): Always hash type names. | |
9963 | ||
dde05067 NF |
9964 | 2011-05-23 Nathan Froyd <froydnj@codesourcery.com> |
9965 | ||
9966 | * c-typeck.c (build_function_call_vec): Tweak call to | |
9967 | check_function_arguments. | |
9968 | ||
094f6ab3 RG |
9969 | 2011-05-23 Richard Guenther <rguenther@suse.de> |
9970 | ||
9971 | PR tree-optimization/49115 | |
9972 | * tree-ssa-alias.c (stmt_kills_ref_p_1): If the assignment | |
9973 | is not necessarily carried out, do not claim it kills the ref. | |
9974 | * tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1): Likewise. | |
9975 | ||
9a9822e1 RG |
9976 | 2011-05-23 Richard Guenther <rguenther@suse.de> |
9977 | ||
9978 | PR middle-end/15419 | |
9979 | * builtins.c (fold_builtin_memory_op): Be less restrictive about | |
9980 | what pointer types we accept for folding. | |
9981 | ||
c8028650 RO |
9982 | 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9983 | ||
9984 | * gthr-gnat.c: Remove. | |
9985 | * gthr-gnat.h: Remove. | |
9986 | * Makefile.in (LIB2ADDEH): Remove $(srcdir)/gthr-gnat.c. | |
9987 | * config/t-freebsd (LIB2ADDEH): Likewise. | |
9988 | * config/t-linux (LIB2ADDEH): Likewise. | |
9989 | * config/t-sol2 (LIB2ADDEH): Likewise. | |
9990 | * config/ia64/t-vms (LIB2ADDEH): Likewise. | |
9991 | * configure.ac (target_thread_file): Remove gnat handling. | |
9992 | * configure: Regenerate. | |
9993 | * doc/install.texi (Configuration, --enable-threads): Remove gnat. | |
9994 | ||
15882fe9 TG |
9995 | 2011-05-23 Tristan Gingold <gingold@adacore.com> |
9996 | Eric Botcazou <ebotcazou@adacore.com> | |
9997 | ||
9998 | * gcov.c (create_file_names): If no object directory is specified, | |
9999 | keep the directory of the file. | |
10000 | ||
da90c957 RO |
10001 | 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
10002 | ||
10003 | * configure.ac (enable_threads): Remove irix; add lynx, tpf; sort list. | |
10004 | * configure: Regenerate. | |
10005 | ||
7bba408b JJ |
10006 | 2011-05-23 Jakub Jelinek <jakub@redhat.com> |
10007 | ||
10008 | PR middle-end/48973 | |
10009 | * expr.c (expand_expr_real_2) <case LT_EXPR>: If do_store_flag | |
10010 | failed and the comparison has a single bit signed type, use | |
10011 | constm1_rtx instead of const1_rtx for true value. | |
10012 | (do_store_flag): If ops->type is single bit signed type, disable | |
10013 | signel bit test optimization and pass -1 instead of 1 as last | |
10014 | parameter to emit_store_flag_force. | |
10015 | ||
bc69f7ff TV |
10016 | 2011-05-23 Tom de Vries <tom@codesourcery.com> |
10017 | ||
10018 | PR target/45098 | |
10019 | * tree-ssa-loop-niter.c (infer_loop_bounds_from_pointer_arith): New | |
10020 | function. | |
10021 | (infer_loop_bounds_from_undefined): Use new function. | |
10022 | ||
29cedf8e RS |
10023 | 2011-05-22 Richard Sandiford <rdsandiford@googlemail.com> |
10024 | ||
10025 | * config/mips/mips.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Delete. | |
10026 | (ASM_SPEC): Add a -O* option here. Pass -O0 for -noasmopt, | |
10027 | -O1 for -fno-delayed-branch, -O2 if optimization is enabled, | |
10028 | and -O0 otherwise. | |
10029 | (EXTRA_SPECS): Remove subtarget_asm_optimizing_spec. | |
10030 | ||
afe8b6ec EB |
10031 | 2011-05-22 Eric Botcazou <ebotcazou@adacore.com> |
10032 | ||
10033 | * cfgcleanup.c (try_forward_edges): Do not update BB_FORWARDER_BLOCK. | |
10034 | (try_optimize_cfg): Update BB_FORWARDER_BLOCK if try_forward_edges | |
10035 | returns true. | |
10036 | ||
872dab53 RS |
10037 | 2011-05-22 Richard Sandiford <rdsandiford@googlemail.com> |
10038 | ||
10039 | * config/mips/mips.c (mips_default_arch): Honor MIPS_ISA_DEFAULT. | |
10040 | ||
145f6c5b EB |
10041 | 2011-05-22 Eric Botcazou <ebotcazou@adacore.com> |
10042 | ||
10043 | * config/sparc/sparc.c (sparc_delegitimize_address): Handle | |
10044 | UNSPEC_MOVE_PIC pattern. | |
10045 | ||
8ac79835 EB |
10046 | 2011-05-22 Eric Botcazou <ebotcazou@adacore.com> |
10047 | ||
10048 | * config.gcc (sparc-*-elf*): Add sparc/t-crtin. | |
10049 | (sparc-*-rtems*): Likewise. | |
10050 | (sparc64-*-elf*): Likewise. | |
10051 | (sparc64-*-rtems*): Likewise. | |
10052 | (sparc*-*-solaris2*): Likewise. Remove crti.o crtn.o extra parts. | |
10053 | * config/sparc/t-crtin: New file. | |
10054 | * config/sparc/t-sol2 (crti.o): Delete rule. | |
10055 | (crtn.o): Likewise. | |
10056 | * config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Delete. | |
10057 | * config/sparc/t-sol2-64 (EXTRA_MULTILIB_PARTS): Likewise. | |
10058 | * config/sparc/sp64-elf.h (STARTFILE_SPEC): Tidy and add crti.o. | |
10059 | (ENDFILE_SPEC): Add crtn.o. | |
10060 | ||
5fb43dd8 TV |
10061 | 2011-05-22 Tom de Vries <tom@codesourcery.com> |
10062 | ||
10063 | PR middle-end/48689 | |
10064 | * fold-const.c (fold_checksum_tree): Guard TREE_CHAIN use with | |
10065 | CODE_CONTAINS_STRUCT (TS_COMMON). | |
10066 | ||
ccb1b17b JJ |
10067 | 2011-05-22 Jakub Jelinek <jakub@redhat.com> |
10068 | ||
10069 | PR middle-end/49029 | |
10070 | * expmed.c (extract_fixed_bit_field): Test whether target can be used | |
10071 | only after deciding which mode to use. | |
10072 | ||
50ad7db2 TV |
10073 | 2011-05-22 Tom de Vries <tom@codesourcery.com> |
10074 | ||
10075 | PR target/45098 | |
dc0a3366 | 10076 | * tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Fix const test |
50ad7db2 TV |
10077 | for call to get_shiftadd_cost. |
10078 | ||
ef230b38 UB |
10079 | 2011-05-22 Uros Bizjak <ubizjak@gmail.com> |
10080 | ||
10081 | PR target/49104 | |
10082 | * config/i386/cpuid.h (bit_MMXEXT): New define. | |
10083 | ||
15f072f9 NC |
10084 | 2011-05-22 Nick Clifton <nickc@redhat.com> |
10085 | ||
10086 | * config/stormy16/stormy16.c (xstormy16_init_builtins): prevent | |
10087 | initialisation of non-existant args[2] element. Use args[] array | |
10088 | not arg[] array to pass arguments to build_function_type_list. | |
10089 | ||
e38fdc94 IR |
10090 | 2011-05-22 Ira Rosen <ira.rosen@linaro.org> |
10091 | ||
10092 | PR tree-optimization/49087 | |
ef230b38 | 10093 | * tree-vect-loop.c (vect_is_slp_reduction): Fail if LHS has no uses. |
e38fdc94 | 10094 | |
5b018c65 JM |
10095 | 2011-05-21 Jason Merrill <jason@redhat.com> |
10096 | ||
10097 | PR c++/49092 | |
10098 | * dwarf2out.c (tree_add_const_value_attribute_for_decl): Check for | |
10099 | static storage duration. | |
10100 | ||
abd9a770 EB |
10101 | 2011-05-21 Eric Botcazou <ebotcazou@adacore.com> |
10102 | ||
10103 | * config/sparc/sparc.md (setjmp): Handle PIC mode and use the hard | |
10104 | frame pointer. | |
10105 | ||
bd9a3248 EB |
10106 | 2011-05-21 Eric Botcazou <ebotcazou@adacore.com> |
10107 | ||
10108 | * config/sparc/sparc.c (eligible_for_return_delay): Do not return | |
10109 | false if there are call-saved registers here... | |
10110 | (sparc_can_use_return_insn_p): ...but here instead. | |
10111 | (save_or_restore_regs): Fix thinko. | |
10112 | (sparc_expand_prologue): Use current_function_is_leaf. | |
10113 | (sparc_frame_pointer_required): Likewise. | |
10114 | ||
a5dfec9a NC |
10115 | 2011-05-21 Nick Clifton <nickc@redhat.com> |
10116 | ||
10117 | PR target/49098 | |
10118 | * config/rx/rx.c (rx_memory_move_cost): Note unused parameters. | |
10119 | ||
555c3771 NP |
10120 | 2011-05-21 Nicola Pero <nicola.pero@meta-innovation.com> |
10121 | ||
10122 | * gengtype.c (walk_type): Implemented "atomic" GTY option. | |
10123 | * doc/gty.texi (GTY Options): Document "atomic" GTY option. | |
10124 | ||
86fa5de4 JM |
10125 | 2011-05-21 Joseph Myers <joseph@codesourcery.com> |
10126 | ||
10127 | * opt-read.awk: New. Split out of optc-gen.awk and opth-gen.awk. | |
10128 | * optc-gen.awk: Move common code to opt-read.awk. | |
10129 | * opth-gen.awk: Likewise. | |
ef230b38 | 10130 | * Makefile.in (options.c, s-options-h): Update to use opt-read.awk. |
86fa5de4 | 10131 | |
bce33ab2 NF |
10132 | 2011-05-20 Nathan Froyd <froydnj@codesourcery.com> |
10133 | ||
10134 | * godump.c (go_format_type): Don't use TYPE_ARG_TYPES. | |
10135 | ||
e6450c11 TV |
10136 | 2011-05-20 Tom de Vries <tom@codesourcery.com> |
10137 | ||
10138 | PR target/45098 | |
10139 | * tree-ssa-loop-ivopts.c: Include expmed.h. | |
10140 | (get_shiftadd_cost): New function. | |
10141 | (force_expr_to_var_cost): Declare forward. Use get_shiftadd_cost. | |
10142 | ||
0e8b84ec JJ |
10143 | 2011-05-20 Jakub Jelinek <jakub@redhat.com> |
10144 | ||
10145 | PR bootstrap/49086 | |
10146 | * gimple-fold.c (and_comparisons_1, or_comparisons_1): Return NULL | |
10147 | for PHI args that are SSA_NAME_IS_DEFAULT_DEF. | |
10148 | ||
946bdf67 JM |
10149 | 2011-05-20 Joseph Myers <joseph@codesourcery.com> |
10150 | ||
10151 | * Makefile.in: Update comment referring to $(OBJS-common). | |
10152 | ||
c53aafdf ILT |
10153 | 2011-05-20 Ian Lance Taylor <iant@google.com> |
10154 | ||
10155 | * godump.c (go_output_typedef): Put enum constants in the macro | |
10156 | hash table to avoid duplicate Go const definitions. | |
10157 | ||
2691e6d7 JM |
10158 | 2011-05-20 Joseph Myers <joseph@codesourcery.com> |
10159 | ||
10160 | * Makefile.in (LIBDEPS): Add libcommon.a. | |
10161 | (LIBS): Likewise. | |
10162 | (GCC_OBJS): Remove diagnostic.o, pretty-print.o and input.o. | |
10163 | (OBJS-common): Remove diagnostic.o, input.o, intl.o, | |
10164 | pretty-print.o and version.o. | |
10165 | (OBJS-libcommon): New. | |
10166 | (ALL_HOST_BACKEND_OBJS): Add $(OBJS-libcommon). | |
10167 | (BACKEND): Add libcommon.a. | |
10168 | (MOSTLYCLEANFILES): Likewise. | |
10169 | (libcommon.a): New. | |
10170 | (xgcc$(exeext)): Don't explicitly use version.o and intl.o. | |
10171 | (cpp$(exeext)): Likewise. | |
10172 | (COLLECT2_OBJS): Remove intl.o, version.o, diagnostic.o, | |
10173 | pretty-print.o and input.o. | |
10174 | (lto-wrapper$(exeext)): Don't explicitly use intl.o. | |
10175 | (lto-wrapper.o): Depend on $(DIAGNOSTIC_H). | |
10176 | (errors.o): Remove. | |
10177 | (mips-tfile): Don't explicitly use version.o. | |
10178 | (mips-tdump): Likewise. | |
10179 | (gcov.o): Depend on $(DIAGNOSTIC_H). | |
10180 | (gcov-dump.o): Depend on intl.h and $(DIAGNOSTIC_H). | |
10181 | (GCOV_OBJS): Remove intl.o, version.o and errors.o. | |
10182 | (GCOV_DUMP_OBJS): Remove version.o and errors.o. | |
10183 | * gcov-dump.c: Include intl.h and diagnostic.h. | |
10184 | (main): Initialize diagnostics. | |
10185 | * gcov.c: Include diagnostic.h. | |
10186 | (fnotice): Remove. | |
10187 | (main): Initialize diagnostics. | |
10188 | * lto-wrapper.c: Include diagnostic.h. | |
10189 | (main): Initialize diagnostics. | |
10190 | ||
252b3e8c MM |
10191 | 2011-05-20 Michael Matz <matz@suse.de> |
10192 | ||
10193 | * Makefile.in (OBJS-common, OBJS-md, OBJS-archive): Merge into OBJS. | |
10194 | ||
2ee36ba6 MM |
10195 | 2011-05-20 Michael Matz <matz@suse.de> |
10196 | Richard Guenther <rguenther@suse.de> | |
10197 | ||
10198 | * lto-streamer.c (lto_record_common_node): Don't track seen nodes, | |
10199 | use lto_streamer_cache_append directly instead of returning a VEC. | |
10200 | (preload_common_node): Remove. | |
10201 | (lto_get_common_nodes): Rename to lto_preload_common_nodes, don't | |
10202 | track seen nodes. | |
10203 | (lto_streamer_cache_create): Call lto_preload_common_nodes. | |
10204 | ||
90ff582f RG |
10205 | 2011-05-20 Richard Guenther <rguenther@suse.de> |
10206 | ||
10207 | PR tree-optimization/49079 | |
10208 | * tree-dfa.c (get_ref_base_and_extent): Handle view-converting | |
10209 | MEM_REFs correctly for the trailing array access detection. | |
10210 | Special case constants the same way as decls for overall size | |
10211 | constraining. | |
10212 | ||
3cda91d8 UB |
10213 | 2011-05-20 Uros Bizjak <ubizjak@gmail.com> |
10214 | ||
10215 | * config/i386/mingw32.h (OUTPUT_QUOTED_STRING): Fix macro | |
10216 | argument expansion. | |
10217 | ||
6c66f733 JJ |
10218 | 2011-05-20 Jakub Jelinek <jakub@redhat.com> |
10219 | ||
10220 | PR tree-optimization/49073 | |
3cda91d8 UB |
10221 | * gimple-fold.c (and_comparisons_1, or_comparisons_1): Return NULL if |
10222 | PHI argument is SSA_NAME, whose def_stmt is dominated by the PHI. | |
6c66f733 JJ |
10223 | * tree-ssa-ifcombine.c (tree_ssa_ifcombine): Calculate dominators. |
10224 | ||
0ea80a16 RG |
10225 | 2011-05-20 Richard Guenther <rguenther@suse.de> |
10226 | ||
10227 | PR middle-end/48849 | |
10228 | * gimple.c (gimple_register_canonical_type): Compute TYPE_CANONICAL | |
10229 | of pointer types the same way the middle-end does. | |
10230 | ||
fb291a1e RG |
10231 | 2011-05-20 Richard Guenther <rguenther@suse.de> |
10232 | ||
3cda91d8 UB |
10233 | * gimple.c (gimple_register_type_1): Do not fiddle with main-variant |
10234 | or pointer-to chains. Delay all fixup to uniquify_nodes. | |
fb291a1e | 10235 | |
37cb25ed QN |
10236 | 2011-05-19 Quentin Neill <quentin.neill@amd.com> |
10237 | ||
10238 | * config/i386/sse.md (fma4_fmsubadd): Use <ssemodesuffix>. | |
10239 | (fma4_fmaddsub): Likewise | |
10240 | ||
a30726a4 JH |
10241 | 2011-05-19 Jan Hubicka <jh@suse.cz> |
10242 | ||
10243 | * gimple.c (gtc_visited, gtc_ob, type_pair_hash, type_pair_eq): Remove. | |
10244 | (GIMPLE_TYPE_PAIR_SIZE): New macro. | |
10245 | (type_pair_cache): New static var. | |
10246 | (lookup_type_pair): Use fixed sized custom hash; make inline. | |
10247 | (gtc_visit, gimple_types_compatible_p, gimple_register_type_1): Update | |
10248 | calls of lookup_type_pair. | |
10249 | (print_gimple_types_stats): Remove cache stats. | |
10250 | (free_gimple_type_tables): Free type_pair_cache instead of gtc_visited | |
10251 | and gtc_ob. | |
10252 | ||
0955cf61 UB |
10253 | 2011-05-19 Uros Bizjak <ubizjak@gmail.com> |
10254 | ||
10255 | * config/i386/i386.c (option_override_internal): Enable TARGET_CMOVE | |
10256 | when TARGET_RDRND is active. | |
10257 | (ix86_expand_builtin) <case IX86_BUILTIN_RDRAND{16,32,64}_STEP>: | |
10258 | Generate dummy SImode target register when target is NULL. | |
10259 | ||
12d844c8 JM |
10260 | 2011-05-19 Joseph Myers <joseph@codesourcery.com> |
10261 | ||
10262 | * config/arm/arm-fpus.def: New. | |
10263 | * config/arm/genopt.sh: Generate Enum and EnumValue entries from | |
10264 | arm-fpus.def. | |
10265 | * config/arm/arm-tables.opt: Regenerate. | |
10266 | * config/arm/arm.c (all_fpus): Move contents to arm-fpus.def. | |
10267 | (arm_option_override): Don't decode FPU name to string here. | |
10268 | * config/arm/arm.opt (mfpu=): Use Enum. | |
10269 | * config/arm/t-arm ($(srcdir)/config/arm/arm-tables.opt, arm.o): | |
10270 | Update dependencies. | |
10271 | ||
9e350e99 JM |
10272 | 2011-05-19 Joseph Myers <joseph@codesourcery.com> |
10273 | ||
10274 | * collect2.c: Include diagnostic.h. | |
10275 | (fatal_perror, fatal, error, fancy_abort): Remove. | |
10276 | (main): Set progname. Call xmalloc_set_program_name and | |
10277 | diagnostic_initialize. | |
10278 | (maybe_run_lto_and_relink, main, collect_execute, scan_prog_file, | |
10279 | scan_libraries, resolve_lib_name): Call fatal_error instead of | |
10280 | fatal and fatal_perror. | |
10281 | * collect2.h (error, fatal, fatal_perror): Don't declare. | |
10282 | * tlink.c: Include diagnostic-core.h. | |
10283 | (recompile_files): Call fatal_error instead of fatal_perror. | |
10284 | * Makefile.in (COLLECT2_OBJS): Include diagnostic.o, | |
10285 | pretty-print.o and input.o. | |
10286 | (collect2.o, tlink.o): Update dependencies. | |
10287 | ||
86ff4081 RO |
10288 | 2011-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
10289 | ||
10290 | * config/i386/i386.md (tls_initial_exec_64_sun): Add semicolon. | |
10291 | ||
2ca48caa RO |
10292 | 2011-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
10293 | ||
10294 | PR target/40483 | |
10295 | * configure.ac (gcc_cv_as_comdat_group_group): Check for Sun as | |
10296 | COMDAT group syntax, both SPARC and x86 variants. | |
10297 | (HAVE_COMDAT_GROUP): Also define if gcc_cv_as_comdat_group_group. | |
10298 | * configure: Regenerate. | |
10299 | * config/sol2.h (TARGET_SOLARIS): Define. | |
10300 | (PUSHSECTION_FORMAT): Remove. | |
10301 | (SECTION_NAME_FORMAT): Define. | |
10302 | * config/sol2.c: Include hashtab.h. | |
10303 | (solaris_output_init_fini): Replace PUSHSECTION_FORMAT by its | |
10304 | expansion, using SECTION_NAME_FORMAT. | |
10305 | (solaris_comdat_htab): New variable. | |
10306 | (struct comdat_entry): Define. | |
10307 | (comdat_hash): New function. | |
10308 | (comdat_eq): New function. | |
10309 | (solaris_elf_asm_comdat_section): New function. | |
10310 | (solaris_define_comdat_signature): New function. | |
10311 | (solaris_code_end): New function. | |
10312 | * config/sol2-protos.h (solaris_elf_asm_comdat_section): Declare. | |
10313 | (solaris_code_end): Declare. | |
10314 | * config/t-sol2 (sol2.o): Add $HASHTAB_H dependency. | |
10315 | * config/i386/i386.c (ix86_code_end) [TARGET_SOLARIS]: Call | |
10316 | solaris_code_end. | |
10317 | (i386_solaris_elf_named_section): Wrap in TARGET_SOLARIS. | |
10318 | Remove ATTRIBUTE_UNUSED. | |
10319 | [!USE_GAS]: Call solaris_elf_asm_comdat_section for | |
10320 | SECTION_LINKONCE sections if HAVE_COMDAT_GROUP. | |
0955cf61 | 10321 | * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Likewise. |
2ca48caa RO |
10322 | * config/i386/sol2-10.h (TARGET_ASM_NAMED_SECTION): Moved ... |
10323 | * config/i386/sol2.h (TARGET_ASM_NAMED_SECTION): ... here. | |
10324 | * config/sparc/sol2.h (TARGET_ASM_CODE_END): Redefine. | |
10325 | (PUSHSECTION_FORMAT): Remove. | |
10326 | (SECTION_NAME_FORMAT): Redefine. | |
10327 | ||
da5fb469 KT |
10328 | 2011-05-19 Kai Tietz <ktietz@redhat.com> |
10329 | ||
10330 | * tree-cfg.c (verify_gimple_assign_binary): Barf on | |
10331 | TRUTH_AND_EXPR, TRUTH_OR_EXPR, and TRUTH_XOR_EXPR. | |
10332 | (gimplify_expr): Move TRUTH_AND|OR|XOR_EXPR to its binary form. | |
10333 | ||
1651e703 | 10334 | 2011-05-19 Anatoly Sokolov <aesok@post.ru> |
0967b228 AS |
10335 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
10336 | ||
10337 | * config/t-sol2 (sol2.o): Add $(TARGET_H) dependency. | |
10338 | ||
e497b9bd RG |
10339 | 2011-05-19 Richard Guenther <rguenther@suse.de> |
10340 | ||
10341 | PR middle-end/48985 | |
10342 | * tree-object-size.c (addr_object_size): If the pointed-to | |
10343 | variable is a decl use DECL_SIZE_UNIT instead of TYPE_SIZE_UNIT. | |
10344 | ||
31b3ca64 RG |
10345 | 2011-05-19 Richard Guenther <rguenther@suse.de> |
10346 | ||
10347 | * gimple.c (gimple_types_compatible_p_1): Compare names of | |
10348 | the types themselves. | |
10349 | (iterative_hash_gimple_type): And hash them that way. | |
10350 | (gimple_register_type_1): If we register a main variant properly | |
10351 | initialize the leader to ourselves. | |
10352 | ||
bb8d292d TV |
10353 | 2011-05-19 Tom de Vries <tom@codesourcery.com> |
10354 | ||
10355 | PR target/45098 | |
10356 | * tree-ssa-loop-ivopts.c (get_expr_id): Factored new function out of | |
10357 | get_loop_invariant_expr_id. | |
10358 | (get_loop_invariant_expr_id): Use get_expr_id. | |
10359 | (parm_decl_cost): New function. | |
10360 | (determine_use_iv_cost_condition): Use get_expr_id and parm_decl_cost. | |
10361 | Improve bound cost estimation. Use different inv_expr_id for elim and | |
10362 | express cases. | |
10363 | ||
a53c5024 TV |
10364 | 2011-05-19 Tom de Vries <tom@codesourcery.com> |
10365 | ||
10366 | PR target/45098 | |
10367 | * tree-ssa-loop-ivopts.c (determine_iv_cost): Prevent | |
10368 | cost_base.cost == 0. | |
10369 | ||
31f9eb59 L |
10370 | 2011-05-18 H.J. Lu <hongjiu.lu@intel.com> |
10371 | ||
10372 | PR target/49002 | |
66bd20e7 EB |
10373 | * config/i386/sse.md |
10374 | (avx_<ssemodesuffix><avxsizesuffix>_<ssemodesuffix>): Properly handle | |
10375 | load cast. | |
31f9eb59 | 10376 | |
681056ae JJ |
10377 | 2011-05-18 Jakub Jelinek <jakub@redhat.com> |
10378 | ||
10379 | PR tree-optimization/49039 | |
10380 | * tree-vrp.c (extract_range_from_binary_expr): For | |
10381 | MIN_EXPR <~[a, b], ~[c, d]> and MAX_EXPR <~[a, b], ~[c, d]> | |
10382 | return ~[MAX_EXPR <a, c>, MIN_EXPR <b, d>]. | |
10383 | ||
b5ee6752 TV |
10384 | 2011-05-18 Tom de Vries <tom@codesourcery.com> |
10385 | ||
10386 | PR target/45098 | |
10387 | * tree-ssa-loop-ivopts.c (computation_cost): Prevent cost of 0. | |
10388 | ||
0bda47a3 UB |
10389 | 2011-05-18 Uros Bizjak <ubizjak@gmail.com> |
10390 | ||
10391 | * config/i386/i386.md (*tls_global_dynamic_32_gnu): Split asm template. | |
10392 | (*tls_global_dynamic_64): Ditto. | |
10393 | (*tls_local_dynamic_base_32_gnu): Ditto. | |
10394 | (*tls_local_dynamic_base_64): Ditto. | |
10395 | (tls_initial_exec_64_sun): Ditto. | |
10396 | ||
033b0805 SH |
10397 | 2011-05-18 Stuart Henderson <shenders@gcc.gnu.org> |
10398 | ||
10399 | * doc/invoke.texi (Blackfin Options): -mcpu accepts bf592. | |
10400 | * config/bfin/t-bfin-elf (MULTILIB_MATCHES): Select bf532-none for | |
10401 | bf592-none. | |
10402 | * config/bfin/t-bfin-linux (MULTILIB_MATCHES): Likewise. | |
10403 | * config/bfin/t-bfin-uclinux (MULTILIB_MATCHES): Likewise. | |
10404 | * config/bfin/bfin.c (bfin_cpus): Add bf592. | |
10405 | * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define | |
0bda47a3 | 10406 | __ADSPBF592__ and __ADSPBF59x__ for BFIN_CPU_BF592. |
033b0805 SH |
10407 | * config/bfin/bfin-opts.h (bfin_cpu_type): Add BFIN_CPU_BF592. |
10408 | * config/bfin/elf.h (LIB_SPEC): Add bf592. | |
10409 | ||
ba163417 JM |
10410 | 2011-05-18 Joseph Myers <joseph@codesourcery.com> |
10411 | ||
10412 | * config/arm/arm-opts.h (enum arm_fp16_format_type, enum | |
0bda47a3 | 10413 | arm_abi_type, enum float_abi_type, enum arm_tp_type): Move from arm.h. |
ba163417 JM |
10414 | * config/arm/arm.c (arm_float_abi, arm_fp16_format, arm_abi, |
10415 | target_thread_pointer, arm_structure_size_boundary, struct | |
10416 | float_abi, all_float_abis, struct fp16_format, all_fp16_formats, | |
10417 | struct abi_name, arm_all_abis): Remove. | |
0bda47a3 UB |
10418 | (arm_option_override) Don't process most enumerated option values here. |
10419 | Don't process target_fpe_name here. Work with integer not string for | |
10420 | structure size boundary; use separate diagnostics for each case. | |
ba163417 JM |
10421 | * config/arm/arm.h (enum float_abi_type, enum |
10422 | arm_fp16_format_type, enum arm_abi_type, enum arm_tp_type): Move | |
10423 | to arm-opts.h. | |
10424 | (arm_float_abi, arm_fp16_format, arm_abi, target_thread_pointer, | |
10425 | arm_structure_size_boundary): Remove. | |
10426 | * config/arm/arm.opt (mabi=): Use Enum and Init. | |
10427 | (arm_abi_type): New Enum and EnumValue entries. | |
10428 | (mfloat-abi=): Use Enum and Init. | |
10429 | (float_abi_type): New Enum and EnumValue entries. | |
0bda47a3 | 10430 | (mfp=, mfpe=): Replace by separate Alias entries for each argument. |
ba163417 JM |
10431 | (mfp16-format=): Use Enum and Init. |
10432 | (arm_fp16_format_type): New Enum and EnumValue entries. | |
10433 | (mstructure-size-boundary=): Use UInteger and Init. | |
10434 | (mtp=): Use Enum and Init. | |
10435 | (arm_tp_type): New Enum and EnumValue entries. | |
10436 | ||
179184e3 RG |
10437 | 2011-05-18 Richard Guenther <rguenther@suse.de> |
10438 | ||
10439 | PR tree-optimization/49018 | |
10440 | * gimple.c (gimple_has_side_effects): Volatile asms have side-effects. | |
10441 | * tree-ssa-ifcombine.c (bb_no_side_effects_p): Use | |
10442 | gimple_has_side_effects. | |
10443 | ||
93b2a207 RG |
10444 | 2011-05-18 Richard Guenther <rguenther@suse.de> |
10445 | ||
10446 | * gimple.c (gimple_register_type_1): New function, split out from ... | |
10447 | (gimple_register_type): ... here. Avoid infinite recursion. | |
10448 | ||
b010117a IR |
10449 | 2011-05-18 Ira Rosen <ira.rosen@linaro.org> |
10450 | ||
10451 | PR tree-optimization/41881 | |
10452 | * tree-vectorizer.h (struct _loop_vec_info): Add new field | |
10453 | reduction_chains along with a macro for its access. | |
10454 | * tree-vect-loop.c (new_loop_vec_info): Initialize reduction chains. | |
10455 | (destroy_loop_vec_info): Free reduction chains. | |
10456 | (vect_analyze_loop_2): Return false if vect_analyze_slp() returns false. | |
10457 | (vect_is_slp_reduction): New function. | |
10458 | (vect_is_simple_reduction_1): Call vect_is_slp_reduction. | |
10459 | (vect_create_epilog_for_reduction): Support SLP reduction chains. | |
10460 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Allow different | |
10461 | definition types for reduction chains. | |
10462 | (vect_supported_load_permutation_p): Don't allow permutations for | |
10463 | reduction chains. | |
10464 | (vect_analyze_slp_instance): Support reduction chains. | |
10465 | (vect_analyze_slp): Try to build SLP instance from reduction chains. | |
10466 | (vect_get_constant_vectors): Handle reduction chains. | |
10467 | (vect_schedule_slp_instance): Mark the first statement of the | |
10468 | reduction chain as reduction. | |
10469 | ||
e14c1050 IR |
10470 | 2011-05-18 Ira Rosen <ira.rosen@linaro.org> |
10471 | ||
10472 | * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): Use new | |
10473 | names for group elements access. | |
10474 | * tree-vectorizer.h (struct _stmt_vec_info): Use interleaving info for | |
10475 | reduction chains as well. Remove data reference and interleaving | |
10476 | related words from the fields names. | |
10477 | * tree-vect-loop.c (vect_transform_loop): Use new names for group | |
10478 | elements access. | |
10479 | * tree-vect-data-refs.c (vect_get_place_in_interleaving_chain, | |
10480 | vect_insert_into_interleaving_chain, vect_update_interleaving_chain, | |
10481 | vect_update_interleaving_chain, vect_same_range_drs, | |
10482 | vect_analyze_data_ref_dependence, vect_update_misalignment_for_peel, | |
10483 | vect_verify_datarefs_alignment, vector_alignment_reachable_p, | |
10484 | vect_peeling_hash_get_lowest_cost, vect_enhance_data_refs_alignment, | |
10485 | vect_analyze_group_access, vect_analyze_data_ref_access, | |
10486 | vect_create_data_ref_ptr, vect_transform_strided_load, | |
10487 | vect_record_strided_load_vectors): Likewise. | |
10488 | * tree-vect-stmts.c (vect_model_simple_cost, vect_model_store_cost, | |
10489 | vect_model_load_cost, vectorizable_store, vectorizable_load, | |
10490 | vect_remove_stores, new_stmt_vec_info): Likewise. | |
10491 | * tree-vect-slp.c (vect_build_slp_tree, | |
10492 | vect_supported_slp_permutation_p, vect_analyze_slp_instance): Likewise. | |
10493 | ||
51c213f7 RG |
10494 | 2011-05-18 Richard Guenther <rguenther@suse.de> |
10495 | ||
10496 | PR middle-end/48989 | |
10497 | * tree-cfg.c (verify_gimple_assign_unary): Adjust TRUTH op | |
10498 | operand verification. | |
10499 | (verify_gimple_assign_binary): Likewise. | |
10500 | * tree-ssa.c (useless_type_conversion_p): Preserve conversions | |
10501 | to non-1-precision BOOLEAN_TYPEs. | |
10502 | ||
8f5e5434 TV |
10503 | 2011-05-18 Tom de Vries <tom@codesourcery.com> |
10504 | ||
10505 | PR target/45098 | |
10506 | * tree-ssa-loop-ivopts.c (seq_cost): Fix call to rtx_cost. | |
10507 | ||
116bc3a4 JJ |
10508 | 2011-05-18 Jakub Jelinek <jakub@redhat.com> |
10509 | ||
10510 | PR tree-optimization/49000 | |
10511 | * tree-ssa.c (execute_update_addresses_taken): Call | |
10512 | maybe_rewrite_mem_ref_base on debug stmt value. If it couldn't | |
10513 | be rewritten and decl has been marked for renaming, reset | |
10514 | the debug stmt. | |
10515 | ||
26a8964c JM |
10516 | 2011-05-17 Joseph Myers <joseph@codesourcery.com> |
10517 | ||
10518 | * config/i386/i386.c (ix86_valid_target_attribute_tree): Use | |
10519 | enum_opts_set when testing if attributes have set -mfpmath=. | |
10520 | ||
82bd45d7 RS |
10521 | 2011-05-17 Richard Sandiford <rdsandiford@googlemail.com> |
10522 | ||
10523 | * config/mips/mips.c (mips_handle_option): Remove unused variable. | |
10524 | ||
267ffce3 UB |
10525 | 2011-05-17 Uros Bizjak <ubizjak@gmail.com> |
10526 | ||
10527 | * ipa-inline-analysis.c (inline_node_duplication_hook): Initialize | |
10528 | info->entry with 0 | |
10529 | * tree-inline.c (maybe_inline_call_in_expr): Initialize | |
10530 | id.transform_lang_insert_block with NULL. | |
10531 | ||
10532 | 2011-05-17 Uros Bizjak <ubizjak@gmail.com> | |
d9403b0d UB |
10533 | |
10534 | * config/i386/i386-protos.h (output_fix_trunc): Change arg 3 to bool. | |
10535 | (output_fp_compare): Change args 3 and 4 to bool. | |
10536 | (ix86_expand_call): Change arg 6 to bool. | |
10537 | (ix86_attr_length_immediate_default): Change arg 2 to bool. | |
10538 | (ix86_attr_length_vex_default): Change arg 3 to bool. | |
10539 | * config/i386/i386.md: Update all uses. | |
10540 | * config/i386/i386.c: Ditto. | |
10541 | (ix86_flags_dependent): Change return type to bool. | |
10542 | ||
5beaf664 RG |
10543 | 2011-05-17 Richard Guenther <rguenther@suse.de> |
10544 | ||
10545 | * gimple.c (type_hash_pair_compare): Fix comparison. | |
10546 | ||
008bad7a RG |
10547 | 2011-05-17 Richard Guenther <rguenther@suse.de> |
10548 | ||
10549 | * gimple.c (iterative_hash_gimple_type): Simplify singleton | |
10550 | case some more, fix final hash value of the non-singleton case. | |
10551 | ||
36461340 RG |
10552 | 2011-05-17 Richard Guenther <rguenther@suse.de> |
10553 | ||
10554 | PR bootstrap/49013 | |
10555 | Revert | |
10556 | 2011-05-16 Richard Guenther <rguenther@suse.de> | |
10557 | ||
10558 | * gimple.c (gimple_types_compatible_p_1): Use names of the | |
10559 | type itself, not its main variant. | |
10560 | (iterative_hash_gimple_type): Likewise. | |
10561 | ||
6b6a59f3 RG |
10562 | 2011-05-17 Richard Guenther <rguenther@suse.de> |
10563 | ||
10564 | * gimple.c (gimple_register_canonical_type): Use the main-variant | |
10565 | leader for computing the canonical type. | |
10566 | ||
4ffc4134 NC |
10567 | 2011-05-17 Nick Clifton <nickc@redhat.com> |
10568 | ||
a1d8754e NC |
10569 | * config/rx/rx.c (rx_memory_move_cost): Include cost of register |
10570 | moves. | |
10571 | ||
4ffc4134 NC |
10572 | * config/rx/rx.md: Add peephole to remove redundant extensions |
10573 | after loads. | |
39960f7a NC |
10574 | (bitset_in_memory): Use rx_restricted_mem_operand. |
10575 | (bitinvert_in_memory): Likewise. | |
10576 | (bitclr_in_memory): Likewise. | |
4ffc4134 | 10577 | |
b3db92ac KI |
10578 | 2011-05-17 Kazuhio Inaoka <kazuhiro.inaoka.ud@renesas.com> |
10579 | Nick Clifton <nickc@redhat.com> | |
10580 | ||
10581 | * config/rx/rx.md: Add peepholes to match a register move followed | |
10582 | by a comparison of the moved register. Replace these with an | |
10583 | addition of zero that does both actions in one instruction. | |
10584 | ||
8637e32a JJ |
10585 | 2011-05-17 Jakub Jelinek <jakub@redhat.com> |
10586 | ||
10587 | PR target/48986 | |
10588 | * config/i386/sync.md (sync_old_add<mode>): Relax operand 2 | |
10589 | predicate to allow CONST_INT. | |
10590 | (*sync_old_add_cmp<mode>): New insn and peephole2 for it. | |
10591 | ||
8023568e JM |
10592 | 2011-05-16 Joseph Myers <joseph@codesourcery.com> |
10593 | ||
10594 | * opts-common.c (opt_enum_arg_to_value): New. | |
10595 | * opts.h (opt_enum_arg_to_value): Declare. | |
10596 | * config/i386/i386.opt (fpmath): Remove. | |
10597 | (mfpmath=): Use Enum, Init and Save. | |
10598 | (fpmath_unit): New Enum and EnumValue entries. | |
10599 | * config/i386/i386-c.c (ix86_pragma_target_parse): Update field | |
10600 | name for function fpmath state. | |
10601 | * config/i386/i386-opts.h (enum fpmath_unit): Move from i386.h. | |
10602 | * config/i386/i386.c: Include diagnostic.h. | |
10603 | (ix86_fpmath, IX86_FUNCTION_SPECIFIC_FPMATH): Remove. | |
d9403b0d | 10604 | (ix86_target_string): Take enum fpmath_unit value instead of string. |
8023568e | 10605 | (ix86_debug_options): Update call to ix86_target_string. |
d9403b0d | 10606 | (ix86_option_override_internal): Don't process fpmath strings here. |
8023568e JM |
10607 | (x86_function_specific_save, ix86_function_specific_restore): |
10608 | Don't handle fpmath state specially. | |
10609 | (ix86_function_specific_print): Pass fpmath state to | |
10610 | ix86_target_string instead of printing in this function. | |
10611 | (ix86_valid_target_attribute_inner_p): Take gcc_options pointer. | |
10612 | Handle enum attributes. | |
10613 | (IX86_ATTR_ENUM, ix86_opt_enum): New. | |
10614 | (ix86_valid_target_attribute_tree): Update option_strings | |
10615 | handling. Handle fpmath as enum option. | |
10616 | (ix86_can_inline_p): Update field names for function fpmath state. | |
10617 | (ix86_expand_builtin): Update call to ix86_target_string. | |
10618 | * config/i386/i386.h (enum fpmath_unit): Move to i386-opts.h. | |
10619 | (ix86_fpmath): Remove. | |
10620 | * config/i386/t-i386 (i386.o): Update dependencies. | |
10621 | ||
9e8d926e JM |
10622 | 2011-05-16 Joseph Myers <joseph@codesourcery.com> |
10623 | ||
10624 | PR preprocessor/48677 | |
10625 | * cppspec.c (lang_specific_driver): Set new_decoded_options[0] | |
10626 | from decoded_options[0], not from itself. | |
10627 | ||
f6449011 UB |
10628 | 2011-05-16 Uros Bizjak <ubizjak@gmail.com> |
10629 | ||
10630 | * config/i386/constraints.md (z): New constraint. | |
10631 | * config/i386/i386.c (c): New mode attribute. | |
10632 | (*call): Merge insn pattern from *call_0, *call_1, *call_1_rex64 and | |
10633 | *call_1_rex64_large patterns using "P" mode iterator. Use "<c>zm" | |
10634 | constraint for operand 0. | |
10635 | (*call_vzeroupper): Ditto. | |
10636 | (*call_rex64_ms_sysv): Ditto. Use "rzm" constraint for operand 0. | |
10637 | (*call_rex64_ms_sysv_vzeroupper): Ditto. | |
10638 | (*call_pop): Merge insn pattern from *call_pop_0 and *call_pop_1. | |
10639 | Use "lzm" constraint for operand 0. | |
10640 | (*call_pop_vzeroupper): Ditto. | |
10641 | (*sibcall): Merge insn pattern from *sibcall_0, *sibcall_1 and | |
10642 | *sibcall_1_rex64 patterns using "P" mode iterator. Use "Uz" | |
10643 | constraint for operand 0. | |
10644 | (*sibcall_vzeroupper): Ditto. | |
10645 | (*sibcall_rex64_ms_sysv): Ditto. | |
10646 | (*sibcall_rex64_ms_sysv_vzeroupper): Ditto. | |
10647 | (*sibcall_pop): Merge insn pattern from *sibcall_pop_0 and | |
10648 | *sibcall_pop_1. Use "Uz" constraint for operand 0. | |
10649 | (*sibcall_pop_vzeroupper): Ditto. | |
10650 | (*call_value): Merge insn pattern from *call_value_0, *call_value_1, | |
10651 | *call_value_1_rex64 and *call_value_1_rex64_large patterns using "P" | |
10652 | mode iterator. Use "<c>zm" constraint for operand 1. | |
10653 | (*call_value_vzeroupper): Ditto. | |
10654 | (*call_value_rex64_ms_sysv): Ditto. Use "rzm" constraint | |
d9403b0d | 10655 | for operand 1. |
f6449011 UB |
10656 | (*call_value_rex64_ms_sysv_vzeroupper): Ditto. |
10657 | (*call_value_pop): Merge insn pattern from *call_value_pop_0 and | |
10658 | *call_value_pop_1. Use "lzm" constraint for operand 1. | |
10659 | (*call_value_pop_vzeroupper): Ditto. | |
10660 | (*sibcall_value): Merge insn pattern from *sibcall_value_0, | |
10661 | *sibcall_value_1 and *sibcall_value_1_rex64 patterns using "P" | |
10662 | mode iterator. Use "Uz" constraint for operand 1. | |
10663 | (*sibcall_value_vzeroupper): Ditto. | |
10664 | (*sibcall_value_rex64_ms_sysv): Ditto. | |
10665 | (*sibcall_value_rex64_ms_sysv_vzeroupper): Ditto. | |
10666 | (*sibcall_value_pop): Rename from *sibcall_pop_1. Use "Uz" | |
10667 | constraint for operand 1. | |
10668 | (*sibcall_value_pop_vzeroupper): Ditto. | |
10669 | (*tls_global_dynamic_64): Use constant_call_address_operand predicate | |
10670 | and "z" constraint for operand 2. | |
10671 | (*tls_global_dynamic_32_gnu): Ditto. | |
10672 | (*tls_local_dynamic_base_32_gnu): Ditto. | |
10673 | (*tls_local_dynamic_base_64): Ditto. | |
10674 | (*tls_local_dynamic_32_once): Ditto. | |
10675 | * config/i386/i386.c (ix86_output_call_insn): Remove int_addr argument. | |
10676 | Update all callers. | |
10677 | * config/i386/i386-protos.h (ix86_output_call_insn): Update prototype. | |
10678 | ||
c11b6902 RG |
10679 | 2011-05-16 Richard Guenther <rguenther@suse.de> |
10680 | ||
10681 | * gimple.c (gimple_types_compatible_p_1): Use names of the | |
10682 | type itself, not its main variant. | |
10683 | (iterative_hash_gimple_type): Likewise. | |
10684 | ||
1e83b5f1 RG |
10685 | 2011-05-16 Richard Guenther <rguenther@suse.de> |
10686 | ||
f6449011 UB |
10687 | * gimple.c (iterative_hash_gimple_type): Re-instantiate change to |
10688 | always visit pointer target and function result and argument types. | |
1e83b5f1 | 10689 | |
62e36382 JM |
10690 | 2011-05-16 Jason Merrill <jason@redhat.com> |
10691 | ||
10692 | PR c++/48999 | |
10693 | * tree-inline.c (copy_statement_list): Put back recursion. | |
10694 | ||
687027a4 GJL |
10695 | 2011-05-16 Georg-Johann Lay <avr@gjlay.de> |
10696 | ||
10697 | PR target/27663 | |
10698 | PR target/41076 | |
10699 | * config/avr/predicates.md (const_8_16_24_operand): New predicate. | |
10700 | * config/avr/avr.md ("*ior<mode>qi.byte0", | |
10701 | "*ior<mode>qi.byte1-3"): New define_insn_and_split patterns. | |
10702 | ||
f24a5190 GJL |
10703 | 2011-05-16 Georg-Johann Lay <avr@gjlay.de> |
10704 | ||
10705 | PR target/45099 | |
10706 | * config/avr/avr.c (avr_function_arg_advance): Error if a fixed | |
10707 | register is needed for a function argument. | |
10708 | ||
3066f593 RG |
10709 | 2011-05-16 Richard Guenther <rguenther@suse.de> |
10710 | ||
10711 | * gimple.c (struct type_hash_pair): New type. | |
10712 | (type_hash_pair_compare): New function. | |
f6449011 | 10713 | (iterative_hash_gimple_type): Mix in SCC member hashes in hash-order. |
3066f593 | 10714 | |
b2ab2cf4 RE |
10715 | 2011-05-16 Revital Eres <revital.eres@linaro.org> |
10716 | ||
f6449011 | 10717 | * modulo-sched.c (doloop_register_get): Check !DEBUG_INSN_P first. |
b2ab2cf4 | 10718 | |
dfb737fc UB |
10719 | 2011-05-15 Uros Bizjak <ubizjak@gmail.com> |
10720 | ||
10721 | * config/i386/i386.md (floating point move splitters): Fix | |
10722 | usage of standard_80387_constant_p. | |
f6449011 | 10723 | * config/i386/i386.c (ix86_preferred_reload_class): Ditto. |
dfb737fc | 10724 | |
8caa1de0 UB |
10725 | 2011-05-15 Uros Bizjak <ubizjak@gmail.com> |
10726 | ||
10727 | * config/i386/i386.md (*movdf_internal): Simplify insn condition. | |
10728 | ||
8a519095 EB |
10729 | 2011-05-14 Eric Botcazou <ebotcazou@adacore.com> |
10730 | ||
10731 | * tree-ssa-loop-im.c (SET_ALWAYS_EXECUTED_IN): New macro. | |
10732 | (fill_always_executed_in): Use [SET_]ALWAYS_EXECUTED_IN. | |
10733 | (tree_ssa_lim_finalize): Likewise. | |
10734 | ||
479fecd3 UB |
10735 | 2011-05-14 Uros Bizjak <ubizjak@gmail.com> |
10736 | ||
10737 | * config/i386/constraint.md (Yd, Yx): New register constraints. | |
10738 | * config/i386/i386.md (*pushdf): Merge with *pushdf_nointeger. Use | |
10739 | Yd conditional register constraint. | |
10740 | (*movtf_internal): Use standard_sse_constant_opcode. | |
10741 | (*movxf_internal): Merge with *movxf_internal_nointeger. Use | |
10742 | Yx conditional register constraint. | |
10743 | (*movdf_internal): Merge with *movdf_internal_nointeger. Use | |
10744 | Yd conditional register constraint. Use standard_sse_constant_p to | |
10745 | check for valid SSE constants and call standard_sse_constant_opcode to | |
10746 | output SSE insn. | |
10747 | (*movsf_internal): Use standard_sse_constant_p to check for valid SSE | |
10748 | constants and call standard_sse_constant_opcode to output SSE insn. | |
10749 | * config/i386/i386.c (ix86_option_ovverride_internal): Set | |
10750 | TARGET_INTEGER_DFMODE_MOVES for 64bit targets. Clear it when | |
10751 | optimize_size is set. | |
10752 | (standard_sse_constant_opcode): Output conditional AVX insn templates. | |
10753 | ||
2d8c9ad5 TB |
10754 | 2011-05-14 Tobias Burnus <burnus@net-b.de> |
10755 | ||
10756 | * doc/invoke.texi (-Ofast): Also enables -fstack-arrays. | |
10757 | ||
411a20d6 MJ |
10758 | 2011-05-13 Martin Jambor <mjambor@suse.cz> |
10759 | ||
10760 | * ipa-prop.c (ipa_cst_from_jfunc): New function. | |
10761 | * ipa-prop.h (ipa_cst_from_jfunc): Declare. | |
10762 | * ipa-inline-analysis.c (evaluate_conditions_for_edge): Use it. | |
10763 | (evaluate_conditions_for_ipcp_clone): Removed. | |
10764 | (estimate_ipcp_clone_size_and_time): Accept vector of known constants. | |
10765 | * ipa-cp.c (ipcp_estimate_growth): Build vector of known constants. | |
10766 | * ipa-inline.h (estimate_ipcp_clone_size_and_time): Update. | |
10767 | ||
dc764d10 EB |
10768 | 2011-05-13 Eric Botcazou <ebotcazou@adacore.com> |
10769 | ||
10770 | * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Adjust dump message. | |
10771 | * regcprop.c (copyprop_hardreg_forward): Test MAY_HAVE_DEBUG_INSNS in | |
10772 | lieu of MAY_HAVE_DEBUG_STMTS. | |
10773 | * tree-cfgcleanup.c (remove_forwarder_block): Do not attempt to move | |
10774 | debug statements if !MAY_HAVE_DEBUG_STMTS. | |
10775 | ||
9f47a24e MT |
10776 | 2011-05-13 Martin Thuresson <martint@google.com> |
10777 | ||
10778 | PR gcov-profile/47793 | |
10779 | * libgcov.c (gcov_exit): Support relative profile paths. | |
10780 | * doc/invoke.texi (-fprofile-dir): Update for above change. | |
10781 | ||
b8a71aed RG |
10782 | 2011-05-13 Richard Guenther <rguenther@suse.de> |
10783 | ||
10784 | * gimple.c (gimple_canonical_types_compatible_p): Do not use | |
10785 | type-pair caching, do not compare hashes. | |
10786 | ||
eb9f9259 NF |
10787 | 2011-05-13 Nathan Froyd <froydnj@codesourcery.com> |
10788 | ||
10789 | PR middle-end/48965 | |
10790 | * tree-cfg.c (edge_to_cases_cleanup): Return true. | |
10791 | (verify_expr) [CASE_LABEL_EXPR]: Add checking. | |
10792 | ||
3c6cbf7a KT |
10793 | 2011-05-13 Kai Tietz <ktietz@redhat.com> |
10794 | ||
10795 | * gimplify.c (gimplify_expr): Make sure operand is boolified. | |
10796 | * tree-cfg.c (verify_gimple_assign_unary): Check for boolean | |
10797 | compatible type for TRUTH_NOT_EXPR. | |
10798 | ||
2e7f5dc0 L |
10799 | 2011-05-13 H.J. Lu <hongjiu.lu@intel.com> |
10800 | ||
dc764d10 | 10801 | * config/i386/i386.c (ix86_save_reg): Change return type to bool. |
2e7f5dc0 L |
10802 | (ix86_hard_regno_mode_ok): Change return value to bool. Use |
10803 | can_create_pseudo_p (). | |
10804 | ||
e834e95c RG |
10805 | 2011-05-13 Richard Guenther <rguenther@suse.de> |
10806 | ||
10807 | PR lto/48978 | |
10808 | * gimple.c (iterative_hash_gimple_type): Revert change in | |
10809 | pointer target and function result and argument hashing. | |
10810 | ||
34203483 UB |
10811 | 2011-05-13 Uros Bizjak <ubizjak@gmail.com> |
10812 | ||
10813 | * config/i386/i386.md (*movxf_internal): Use !can_create_pseudo (). | |
10814 | (*movxf_internal_nointeger): Ditto. | |
10815 | (*movdf_internal_rex64): Ditto. | |
10816 | (*movdf_internal): Ditto. | |
10817 | (*movdf_internal_nointeger): Ditto. | |
10818 | (*movsf_internal): Ditto. | |
10819 | (sincos splitters): Use can_create_pseudo (). | |
10820 | ||
7eb68c06 JM |
10821 | 2011-05-13 Joseph Myers <joseph@codesourcery.com> |
10822 | ||
10823 | * config/i386/i386-opts.h: New. | |
10824 | * gcc/config/i386/i386.c (stringop_alg, ix86_cmodel, | |
10825 | ix86_asm_dialect, ix86_regparm, ix86_abi, ix86_branch_cost, | |
10826 | ix86_section_threshold): Remove. | |
10827 | (ix86_handle_option): Move MAX_CODE_ALIGN define here. Handle | |
10828 | OPT_malign_loops_, OPT_malign_jumps_, OPT_malign_functions_ and | |
10829 | OPT_mbranch_cost_. | |
10830 | (ix86_option_override_internal): Don't decode strings for options | |
10831 | other than -march=, -mtune= and -mfpmath=. Don't allow for | |
10832 | __attribute__ uses in remaining diagnostics for options with | |
34203483 | 10833 | string arguments. Don't check for integer arguments being negative. |
7eb68c06 | 10834 | * gcc/config/i386/i386.h (enum stringop_alg, enum calling_abi, |
34203483 | 10835 | enum tls_dialect, enum cmodel, enum asm_dialect): Move to i386-opts.h. |
7eb68c06 JM |
10836 | (ix86_abi, ix86_tls_dialect, ix86_cmodel, ix86_asm_dialect, |
10837 | ix86_branch_cost, ix86_section_threshold): Remove. | |
10838 | * gcc/config/i386/i386.opt (config/i386/i386-opts.h): New | |
10839 | HeaderInclude. | |
10840 | (malign-functions=, malign-jumps=, malign-loops=): Use UInteger | |
10841 | but not Var. | |
10842 | (masm=): Use Enum and Init. | |
10843 | (asm_dialect): New Enum and EnumValue entries. | |
10844 | (mbranch-cost=): Use UInteger. | |
10845 | (mlarge-data-threshold=): Use UInteger and Init. | |
10846 | (mcmodel=): Use Enum and Init. | |
10847 | (cmodel): New Enum and EnumValue entries. | |
10848 | (mpc): Replace with separate mpc32, mpc64 and mpc80 entries. | |
10849 | (mpreferred-stack-boundary=, mincoming-stack-boundary=, | |
10850 | mregparm=): Use UInteger. | |
10851 | (mstringop-strategy=): Use Enum and Init. | |
10852 | (stringop_alg): New Enum and EnumValue entries. | |
10853 | (mtls-dialect=): Use Enum and Init. | |
10854 | (tls_dialect): New Enum and EnumValue entries. | |
10855 | (mabi=): Use Enum and Init. | |
10856 | (calling_abi): New Enum and EnumValue entries. | |
10857 | (mveclibabi=): Use Enum and Init. | |
10858 | (ix86_veclibabi): New Enum and EnumValue entries. | |
10859 | ||
f67e203c NC |
10860 | 2011-05-13 Nick Clifton <nickc@redhat.com> |
10861 | ||
34203483 UB |
10862 | * config/rx/rx.md (mov expander): Fix use of rx_legitimate_constant_p. |
10863 | * config/rx/rx-protos.h (rx_legitimate_constant_p): Rename prototype. | |
f67e203c | 10864 | |
221df0b6 KT |
10865 | 2011-05-13 Kai Tietz <ktietz@redhat.com> |
10866 | ||
10867 | PR middle-end/48984 | |
10868 | * gimplify.c (gimplify_expr): Check for boolean_type_node instead | |
10869 | for BOOLEAN_TYPE for TRUTH-NOT/AND/OR/XOR. | |
10870 | (gimple_boolify): Check for cast for boolean_type_node instead for | |
10871 | BOOLEAN_TYPE. | |
10872 | ||
208cb8cb RG |
10873 | 2011-05-13 Richard Guenther <rguenther@suse.de> |
10874 | ||
10875 | PR tree-optimization/48172 | |
10876 | * tree-vect-loop-manip.c (vect_vfa_segment_size): Avoid | |
10877 | multiplying by number of iterations for equal step. | |
10878 | (vect_create_cond_for_alias_checks): Likewise. | |
10879 | ||
b88ecf55 AS |
10880 | 2011-05-13 Andreas Schwab <schwab@redhat.com> |
10881 | ||
10882 | * configure.ac: Use AS_HELP_STRING throughout. | |
10883 | * configure: Regenerate. | |
10884 | ||
569b527e L |
10885 | 2011-05-12 H.J. Lu <hongjiu.lu@intel.com> |
10886 | ||
34203483 | 10887 | * config/i386/i386.c (ix86_save_reg): Change maybe_eh_return to bool. |
569b527e L |
10888 | (ix86_emit_restore_regs_using_mov): Likewise. |
10889 | (ix86_emit_restore_sse_regs_using_mov): Likewise. | |
10890 | ||
8b9a1428 AS |
10891 | 2011-05-12 Anatoly Sokolov <aesok@post.ru> |
10892 | ||
10893 | * config/sparc/sparc.h (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P, | |
10894 | SYMBOLIC_CONST, RTX_OK_FOR_BASE_P, RTX_OK_FOR_INDEX_P): Remove. | |
10895 | (RTX_OK_FOR_OFFSET_P, RTX_OK_FOR_OLO10_P): Move to... | |
10896 | * config/sparc/sparc.c (RTX_OK_FOR_OFFSET_P, | |
10897 | RTX_OK_FOR_OLO10_P): ...here. | |
10898 | (sparc_mode_dependent_address_p): Use symbolic_operand instead of | |
10899 | SYMBOLIC_CONST. | |
10900 | ||
1d15f620 KT |
10901 | 2011-05-12 Kai Tietz <ktietz@redhat.com> |
10902 | ||
10903 | * gimplify.c (gimple_boolify): Re-boolify expression | |
10904 | arguments even if expression type is of kind BOOLEAN_TYPE. | |
10905 | (gimplify_boolean_expr): Removed. | |
10906 | (gimplify_expr): Boolify truth opcodes AND, ANDIF, OR, ORIF, | |
10907 | and XOR. Additional take care that we keep expression's type. | |
10908 | * tree-cfg.c (verify_gimple_assign_binary): Adjust check for type | |
10909 | of TRUTH_AND|OR|XOR_EXPR. | |
10910 | ||
c2b5fc8d JJ |
10911 | 2011-05-12 Jakub Jelinek <jakub@redhat.com> |
10912 | ||
10913 | PR tree-optimization/48975 | |
10914 | * tree-if-conv.c (combine_blocks): Call free_bb_predicate | |
10915 | on all bbs here and free and clear ifc_bbs at the end. | |
10916 | ||
61332f77 RG |
10917 | 2011-05-12 Richard Guenther <rguenther@suse.de> |
10918 | ||
10919 | * gimple.c (gtc_visit): Compare TREE_ADDRESSABLE, handle | |
10920 | NULLPTR_TYPE similar to VOID_TYPE. Defer type-leader lookup | |
10921 | until after simple checks. | |
10922 | (gimple_types_compatible_p): Likewise. | |
10923 | (iterative_hash_gimple_type): Always hash pointer targets | |
10924 | and function return and argument types. | |
10925 | (iterative_hash_canonical_type): Do not hash TYPE_QUALS, | |
10926 | hash TYPE_ALIGN. Do not hash TYPE_MIN/MAX_VALUE. | |
10927 | (gimple_canonical_types_compatible_p): Compare TREE_ADDRESSABLE, | |
10928 | handle NULLPTR_TYPE similar to VOID_TYPE. Handle non-aggregates | |
10929 | completely in the simple compare section. | |
10930 | (gimple_register_canonical_type): Query the cache again after | |
10931 | registering. | |
10932 | ||
e2a3a5f1 RG |
10933 | 2011-05-12 Richard Guenther <rguenther@suse.de> |
10934 | ||
10935 | PR tree-optimization/48172 | |
10936 | * tree-vect-loop-manip.c (vect_vfa_segment_size): Do not exclude | |
10937 | the number of iterations from the segment size calculation. | |
10938 | (vect_create_cond_for_alias_checks): Adjust. | |
10939 | ||
2c703f3a JJ |
10940 | 2011-05-12 Jakub Jelinek <jakub@redhat.com> |
10941 | ||
10942 | PR debug/48967 | |
10943 | * var-tracking.c (use_narrower_mode_test) <case REG>: Return 1 | |
10944 | if validate_subreg fails. | |
10945 | ||
10946 | 2011-05-12 Hariharan Sandanagobalane <hariharan@picochip.com> | |
b27981e0 HS |
10947 | |
10948 | * ira.c (clarify_prohibited_class_mode_regs): Prevent the function from | |
10949 | accessing beyond the end of REGNO_REG_CLASS array by stopping the loop | |
10950 | early. | |
10951 | ||
87e91fca DD |
10952 | 2011-05-12 DJ Delorie <dj@redhat.com> |
10953 | ||
d53903d6 | 10954 | * config/rx/rx.c (rx_builtins): New arrays - holds builtin functions. |
87e91fca DD |
10955 | (ADD_RX_BUILTIN1, ADD_RX_BUILTIN2, ADD_RX_BUILTIN3): Install |
10956 | created builtin into rx_builtins array. | |
10957 | (rx_builtin_decl): New function. | |
34203483 | 10958 | (TARGET_BUITLIN_DECL): Define. Include gt-rx.h. |
87e91fca | 10959 | |
5f2f13fd DD |
10960 | 2011-05-12 DJ Delorie <dj@redhat.com> |
10961 | Nick Clifton <nickc@redhat.com> | |
10962 | ||
10963 | * config/rx/rx.h (HAVE_PRE_DECREMENT): Fix typo. | |
10964 | * config/rx/rx.c (CC_FLAG_FP): Fix comment. | |
10965 | (rx_is_legitimate_address): Add pre-decrement and post-increment | |
10966 | addressing in HImode and QImode. Fix test for out of range | |
10967 | REG+INT addressing. | |
87e91fca | 10968 | (rx_legitimate_constant_p): Rename to rx_is_legitimate_constant. |
34203483 | 10969 | (rx_align_for_label): Test label before extracting its usage count. |
5f2f13fd | 10970 | (rx_adjust_insn_lengths): Fix selection of insn codes. |
87e91fca | 10971 | (TARGET_LEGITIMATE_CONSTANT_P): Use renamed function. |
5f2f13fd | 10972 | |
57421f45 JM |
10973 | 2011-05-11 Jason Merrill <jason@redhat.com> |
10974 | ||
10975 | * tree.c (type_hash_canon): Use struct tree_type_non_common. | |
10976 | ||
898c90c0 EB |
10977 | 2011-05-11 Eric Botcazou <ebotcazou@adacore.com> |
10978 | ||
10979 | * cfgrtl.c (commit_one_edge_insertion): Remove always-true test and | |
10980 | reindent the subsequent block. | |
10981 | ||
79bec923 ST |
10982 | 2011-05-11 Satoru Takabayashi <satorux@google.com> |
10983 | Paul Pluzhnikov <ppluzhnikov@google.com> | |
10984 | ||
34203483 | 10985 | * doc/install.texi (Configuration): Document --with-linker-hash-style. |
e77e2cbb PP |
10986 | * gcc.c (init_spec): Handle LINKER_HASH_STYLE. |
10987 | * config.in: Add LINKER_HASH_STYLE. | |
10988 | * configure.ac: Add --with-linker-hash-style. | |
10989 | * configure: Regenerate. | |
79bec923 | 10990 | |
d0340959 RG |
10991 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
10992 | ||
10993 | PR middle-end/48964 | |
10994 | * gimple.c (iterative_hash_canonical_type): Fix typo. | |
10995 | ||
cb032fee UB |
10996 | 2011-05-11 Uros Bizjak <ubizjak@gmail.com> |
10997 | ||
10998 | * config/i386/i386.c (legitimize_tls_address) | |
479fecd3 | 10999 | <case TLS_MODEL_GLOBAL_DYNAMIC>: Call gen_tls_dynamic_gnu2_{32,64} |
cb032fee UB |
11000 | expanders directly for TARGET_GNU2_TLS. Determine pic and |
11001 | __tls_get_addr symbol reference here. Update call to | |
11002 | gen_tls_global_dynamic_{32,64} for added arguments. | |
479fecd3 | 11003 | <case TLS_MODEL_LOCAL_DYNAMIC>: Call gen_tls_dynamic_gnu2_{32,64} |
cb032fee UB |
11004 | expanders directly for TARGET_GNU2_TLS. Determine |
11005 | __tls_get_addr symbol reference here. Update call to | |
11006 | gen_tls_local_dynamic_base_{32,64} for added arguments. Attach | |
11007 | unique UNSPEC REG_EQUIV to libcall block. | |
11008 | (ix86_tls_get_addr): Declare static. | |
11009 | * config/i386/i386-protos.h (ix86_tls_get_addr): Remove declaration. | |
11010 | * config/i386/i386.md (tls_global_dynamic_32): Add operand 2 and 3. | |
11011 | Do not determine pic and __tls_get_addr symbol reference here. Do not | |
11012 | call gen_tls_dynamic_gnu2_32 for TARGET_GNU2_TLS. | |
11013 | (tls_local_dynamic_base_32): Ditto for operands 1 and 2. | |
11014 | (tls_global_dynamic_64): Add operand 2. Do not determine | |
11015 | __tls_get_addr symbol reference here. Do not call | |
11016 | gen_tls_dynamic_gnu2_64 for TARGET_GNU2_TLS here. | |
11017 | (tls_local_dynamic_base64): Ditto for operand 1. | |
11018 | ||
6d3cc8f0 EB |
11019 | 2011-05-11 Eric Botcazou <ebotcazou@adacore.com> |
11020 | ||
11021 | * function.c (expand_function_start): Initialize stack_check_probe_note | |
11022 | only if the generic stack checking mechanism is used. | |
11023 | ||
51e020fc RG |
11024 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
11025 | ||
11026 | PR tree-optimization/15256 | |
11027 | * tree-ssa-forwprop.c (simplify_bitwise_binary): Canonicalize | |
11028 | (A & B) | C, combine (A op CST1) op CST2. | |
11029 | (tree_ssa_forward_propagate_single_use_vars): Only bother to | |
11030 | visit assigns that have uses. | |
11031 | ||
51545682 NF |
11032 | 2011-05-11 Nathan Froyd <froydnj@codesourcery.com> |
11033 | ||
cb032fee | 11034 | * ggc-page.c (extra_order_size_table): Use struct tree_type_non_common. |
51545682 NF |
11035 | * lto-streamer-in.c (unpack_ts_type_value_fields): Rename to... |
11036 | (unpack_ts_type_common_value_fields): ...this. Update comment. | |
11037 | (unpack_value_fields): Adjust for renaming. | |
11038 | (lto_input_ts_type_tree_pointers): Split into... | |
11039 | (lto_input_ts_type_common_tree_pointer): ...this and... | |
11040 | (lto_input_ts_type_non_common_tree_pointers): ...this. | |
11041 | (lto_input_tree_pointers): Adjust for above split. | |
11042 | * lto-streamer-out.c (pack_ts_type_value_fields): Rename to... | |
11043 | (pack_ts_type_common_value_fields): ...this. Update comment. | |
11044 | (lto_output_ts_type_tree_pointers): Split into... | |
11045 | (lto_output_ts_type_common_tree_pointers): ...this and... | |
11046 | (lto_output_ts_type_non_common_tree_pointers): ...this. | |
11047 | (lto_output_tree_pointers): Adjust for above split. | |
11048 | * lto-streamer.c (check_handled_ts_structures): Mark TS_TYPE_COMMON, | |
11049 | TS_TYPE_WITH_LANG_SPECIFIC, and TS_TYPE_NON_COMMON as handled. | |
11050 | * stor-layout.c (vector_type_mode): Adjust location of mode field. | |
11051 | * tree.h (MARK_TS_TYPE_COMMON, MARK_TS_TYPE_WITH_LANG_SPECIFIC): | |
11052 | Define. | |
11053 | (struct tree_type): Split into... | |
11054 | (struct tree_type_common: ...this and... | |
11055 | (struct tree_type_with_lang_specific): ...this and... | |
11056 | (struct tree_type_non_common): ...this. Adjust accessor macros | |
11057 | accordingly. | |
11058 | (TYPE_VALUES_RAW): Define. | |
11059 | (union tree_node): Update for above changes. | |
11060 | * tree.c (tree_node_structure_for_code) [tcc_type]: Return | |
11061 | TS_TYPE_NON_COMMON. | |
11062 | (initialize_tree_contains_struct) [TS_TYPE]: Use TS_TYPE_COMMON. | |
11063 | Add TS_TYPE_WITH_LANG_SPECIFIC and TS_TYPE_NON_COMMON. | |
11064 | (tree_code_size) [tcc_type]: Use struct tree_type_non_common. | |
11065 | * treestructu.def (TS_TYPE): Remove. | |
11066 | (TS_TYPE_COMMON, TS_TYPE_WITH_LANG_SPECIFIC, TS_TYPE_NON_COMMON): | |
11067 | Define. | |
11068 | ||
b03c3082 JJ |
11069 | 2011-05-11 Jakub Jelinek <jakub@redhat.com> |
11070 | ||
11071 | PR debug/48159 | |
11072 | * tree-ssa.c (reset_debug_uses): New function. | |
11073 | * tree-flow.h (reset_debug_uses): New prototype. | |
11074 | * tree-data-ref.c (stmts_from_loop): Ignore debug stmts. | |
11075 | * tree-loop-distribution.c (generate_loops_for_partition): Call | |
11076 | reset_debug_uses on the stmts that will be removed. Keep around | |
11077 | all debug stmts, don't count them as bits in partition bitmap. | |
11078 | (generate_builtin): Don't count debug stmts or labels as bits in | |
11079 | partition bitmap. | |
11080 | ||
b5e04de5 RG |
11081 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
11082 | ||
11083 | * gimple.c (gimple_type_hash_1): Merge with ... | |
11084 | (gimple_type_hash): ... this. | |
11085 | (gtc_visit): Remove mode parameter and simplify accordingly. | |
11086 | (gimple_types_compatible_p_1): Likewise. | |
11087 | (gimple_types_compatible_p): Likewise. | |
11088 | (iterative_hash_gimple_type): Likewise. | |
11089 | (visit): Likewise. | |
11090 | (gimple_type_eq): Adjust. | |
11091 | ||
fc6970e4 RE |
11092 | 2011-05-11 Revital Eres <revital.eres@linaro.org> |
11093 | ||
11094 | * ddg.c (create_ddg_dep_from_intra_loop_link): If a true dep edge | |
11095 | enters the branch create an anti edge in the opposite direction | |
11096 | to prevent the creation of reg-moves. | |
11097 | * modulo-sched.c: Adjust comment to reflect the fact we are | |
11098 | scheduling closing branch. | |
11099 | (PS_STAGE_COUNT): Rename to CALC_STAGE_COUNT and redefine. | |
11100 | (stage_count): New field in struct partial_schedule. | |
11101 | (calculate_stage_count): New function. | |
11102 | (normalize_sched_times): Rename to reset_sched_times and handle | |
11103 | incrementing the sched time of the nodes by a constant value | |
11104 | passed as parameter. | |
11105 | (duplicate_insns_of_cycles): Skip closing branch. | |
11106 | (sms_schedule_by_order): Schedule closing branch. | |
11107 | (ps_insn_find_column): Handle closing branch. | |
11108 | (sms_schedule): Call reset_sched_times and adjust the code to | |
11109 | support scheduling of the closing branch. | |
11110 | (ps_insert_empty_row): Update calls to normalize_sched_times | |
11111 | and rotate_partial_schedule functions. | |
11112 | ||
41a58a92 RG |
11113 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
11114 | ||
11115 | PR middle-end/48953 | |
11116 | * tree-inline.c (remap_gimple_op_r): Also remap types of MEM_REFs. | |
11117 | ||
e9f8dcf9 JM |
11118 | 2011-05-11 Joseph Myers <joseph@codesourcery.com> |
11119 | ||
cb032fee UB |
11120 | * opts.c (finish_options): Move warning settings from process_options. |
11121 | * toplev.c (process_options): Move warning settings to finish_options. | |
e9f8dcf9 | 11122 | |
10c224a9 RG |
11123 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
11124 | ||
11125 | PR tree-optimization/18041 | |
11126 | * tree-ssa-forwprop.c (simplify_bitwise_and): Rename to ... | |
11127 | (simplify_bitwise_binary): ... this. Handle operand conversions | |
11128 | by applying them to the result instead. | |
11129 | (tree_ssa_forward_propagate_single_use_vars): Adjust. CSE tree code. | |
11130 | ||
825b27de RG |
11131 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
11132 | ||
11133 | * gimple.c (gimple_canonical_types_compatible_p): Split out | |
11134 | from gimple_types_compatible_p and friends. Do not recurse | |
11135 | to pointed-to types. | |
11136 | (gimple_canonical_type_eq): Use it. | |
11137 | (iterative_hash_canonical_type): Split out from | |
11138 | iterative_hash_gimple_type and friends. Do not recurse | |
11139 | to pointed-to types. | |
11140 | (gimple_canonical_type_hash): Use it, allocate the hash here. | |
11141 | ||
ca756625 RE |
11142 | 2011-05-11 Revital Eres <revital.eres@linaro.org> |
11143 | ||
11144 | * modulo-sched.c (doloop_register_get): Ignore DEBUG_INSNs while | |
11145 | recognizing doloop. | |
11146 | ||
b8abece3 RE |
11147 | 2011-05-11 Revital Eres <revital.eres@linaro.org> |
11148 | ||
11149 | * loop-doloop.c (doloop_condition_get): Use prev_nondebug_insn | |
11150 | instead of PREV_INSN. | |
11151 | ||
ce7b3761 RE |
11152 | 2011-05-11 Revital Eres <revital.eres@linaro.org> |
11153 | ||
11154 | * modulo-sched.c (sms_schedule): Support new form of doloop pattern | |
11155 | * loop-doloop.c (doloop_condition_get): Likewise. | |
11156 | * config/arm/thumb2.md (*thumb2_addsi3_compare0): Remove "*". | |
11157 | (doloop_end): New. | |
11158 | * config/arm/arm.md (*addsi3_compare0): Remove "*". | |
11159 | ||
a9dc9d37 NF |
11160 | 2011-05-10 Nathan Froyd <froydnj@codesourcery.com> |
11161 | ||
11162 | * tree.def (CASE_LABEL_EXPR): Add an operand. | |
11163 | * tree.h (CASE_CHAIN): Use TREE_OPERAND instead of TREE_CHAIN. | |
11164 | ||
96703596 JM |
11165 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
11166 | ||
11167 | * c-decl.c (c_override_global_bindings_to_false): Remove. | |
11168 | (global_bindings_p): Don't check | |
11169 | c_override_global_bindings_to_false. | |
11170 | * c-tree.h (c_override_global_bindings_to_false): Remove. | |
11171 | * c-typeck.c (composite_type): Don't set | |
11172 | c_override_global_bindings_to_false. | |
11173 | ||
dbcc9f08 MM |
11174 | 2011-05-10 Michael Meissner <meissner@linux.vnet.ibm.com> |
11175 | ||
11176 | PR target/48857, 48495 | |
11177 | * config/rs6000/rs6000.h (VSX_SCALAR_MODE): Delete. | |
11178 | (VSX_MODE): Ditto. | |
11179 | (VSX_MOVE_MODE): Ditto. | |
11180 | (ALTIVEC_OR_VSX_VECTOR_MODE): New macro, combine all Altivec and | |
11181 | VSX vector types. Add V2DImode. | |
11182 | (HARD_REGNO_CALLER_SAVE_MODE): Use it instead of | |
11183 | ALTIVEC_VECTOR_MODE and VSX_VECTOR_MODE calls. | |
11184 | (MODES_TIEABLE_P): Ditto. | |
11185 | ||
11186 | * config/rs6000/rs6000.c (rs6000_emit_move): Use | |
11187 | ALTIVEC_OR_VSX_MODE instead of ALTIVEC_VECTOR_MODE and | |
11188 | VSX_VECTOR_MODE. | |
11189 | (init_cumulative_args): Ditto. | |
11190 | (rs6000_function_arg_boundary): Ditto. | |
11191 | (rs6000_function_arg_advance_1): Ditto. | |
11192 | (rs6000_function_arg): Ditto. | |
11193 | (rs6000_function_ok_for_sibcall): Ditto. | |
11194 | (emit_frame_save): Ditto. | |
11195 | (rs6000_function_value): Ditto. | |
11196 | (rs6000_libcall_value): Ditto. | |
11197 | ||
4a68b4ca JM |
11198 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
11199 | ||
11200 | * config.gcc (i[34567]86-*-darwin*, x86_64-*-darwin*): Add | |
11201 | i386/darwin-lib.h to $libgcc_tm_file. | |
11202 | * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Remove. | |
11203 | ||
bcb521e9 JM |
11204 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
11205 | ||
11206 | * doc/sourcebuild.texi (Back End): Mention contrib/config-list.mk. | |
11207 | ||
f10d3ac9 JM |
11208 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
11209 | ||
cb032fee | 11210 | * config/rs6000/genopt.sh, config/rs6000/rs6000-cpus.def: New files. |
f10d3ac9 JM |
11211 | * config/rs6000/rs6000-tables.opt: New file (generated). |
11212 | * config.gcc (powerpc*-*-*, rs6000*-*-*): Add | |
11213 | rs6000/rs6000-tables.opt to extra_options. | |
11214 | * config/rs6000/rs6000-opts.h (RS6000_CPU_OPTION_NATIVE): Define. | |
11215 | * config/rs6000/rs6000.c (rs6000_select): Remove. | |
11216 | (processor_target_table): Move contents to rs6000-cpus.def. | |
11217 | (darwin_rs6000_override_options): Check | |
11218 | global_options_set.x_rs6000_cpu_index instead of | |
11219 | rs6000_select[1].string. | |
11220 | (rs6000_option_override_internal): Likewise. | |
11221 | (rs6000_handle_option): Don't assert that global structures are in | |
11222 | use. Don't handle OPT_mcpu_ and OPT_mtune_ here. | |
11223 | (rs6000_default_cpu): New variable. | |
11224 | (rs6000_file_start): Set it instead of local default_cpu. Check | |
11225 | rs6000_default_cpu, global_options_set.x_rs6000_cpu_index and | |
11226 | global_options_set.x_rs6000_tune_index instead of rs6000_select. | |
11227 | (rs6000_darwin_file_start): Check rs6000_default_cpu and | |
11228 | global_options_set.x_rs6000_cpu_index instead of rs6000_select. | |
11229 | * config/rs6000/rs6000.h (struct rs6000_cpu_select, | |
11230 | rs6000_select): Remove. | |
11231 | * config/rs6000/rs6000.opt (rs6000_cpu_index, rs6000_tune_index): | |
11232 | Remove. | |
11233 | (mcpu=, mtune=): Use Var, Init, Enum and Save. | |
11234 | * config/rs6000/t-rs6000 | |
11235 | ($(srcdir)/config/rs6000/rs6000-tables.opt): New. | |
11236 | * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Check | |
11237 | global_options_set.x_rs6000_cpu_index instead of | |
11238 | rs6000_select[1].string. | |
11239 | * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Check | |
11240 | global_options_set.x_rs6000_cpu_index instead of | |
11241 | rs6000_select[1].string. | |
11242 | ||
80cf2e08 JM |
11243 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
11244 | ||
11245 | * config.gcc (libgcc_tm_file): Define instead of including files | |
11246 | from ../../libgcc/config/ in tm_file. | |
cb032fee | 11247 | * configure.ac (libgcc_tm_file_list, libgcc_tm_include_list): Define. |
80cf2e08 JM |
11248 | * configure: Regenerate. |
11249 | * Makefile.in (libgcc_tm_file_list, libgcc_tm_include_list, | |
11250 | libgcc_tm.h, cs-libgcc_tm.h): New. | |
11251 | (TM_H): Include libgcc_tm.h and $(libgcc_tm_file_list). | |
11252 | (clean): Remove libgcc_tm.h. | |
11253 | * config/arm/symbian.h (RENAME_LIBRARY): Remove. | |
11254 | * mkconfig.sh: Include libgcc_tm.h in tm.h if USED_FOR_TARGET. | |
11255 | * system.h (DECLARE_LIBRARY_RENAMES): Poison. | |
11256 | ||
fd01a351 GJL |
11257 | 2011-05-10 Georg-Johann Lay <avr@gjlay.de> |
11258 | ||
11259 | PR target/48896 | |
11260 | * config/avr/avr.c (avr_ret_register): Return unsigned int | |
11261 | instead of int. | |
11262 | (avr_function_value): Mark fn_decl_or_type as unused, don't pass | |
11263 | it to avr_libcall_value. | |
11264 | avr_expand_builtin): Use EXPAND_NORMAL as arg 4 in calls to | |
11265 | expand_expr. | |
11266 | (avr_expand_binop_builtin): Ditto. | |
11267 | (avr_expand_unop_builtin): Ditto. | |
11268 | ||
34cc3c86 DD |
11269 | 2011-05-10 DJ Delorie <dj@redhat.com> |
11270 | ||
11271 | * config/rx/rx.h (JUMP_ALIGN, LABEL_ALIGN, LOOP_ALIGN): Define. | |
11272 | (LABEL_ALIGN_AFTER_BARRIER): Pass label to rx_align_for_label | |
11273 | * config/rx/rx.c (rx_align_for_label): Add label and | |
11274 | uses_threshold parameters. Do not align when the label is not | |
11275 | used enough. | |
11276 | * config/rx/rx-protos.h (rx_align_for_label): Update prototype. | |
11277 | ||
be173289 RG |
11278 | 2011-05-10 Richard Guenther <rguenther@suse.de> |
11279 | ||
11280 | * tree-ssa-forwprop.c (combine_conversions): Pattern-match | |
11281 | a series of conversions and apply foldings similar to what | |
11282 | fold-const does. | |
11283 | (tree_ssa_forward_propagate_single_use_vars): Call it. | |
11284 | ||
e7f78021 JJ |
11285 | 2011-05-10 Jakub Jelinek <jakub@redhat.com> |
11286 | ||
6ae70ea2 JJ |
11287 | PR tree-optimization/48611 |
11288 | PR tree-optimization/48794 | |
11289 | * tree-eh.c (remove_unreachable_handlers): Don't remove regions | |
11290 | referenced from RESX or EH_DISPATCH arguments. | |
11291 | ||
e7f78021 JJ |
11292 | PR debug/48928 |
11293 | * dfp.c (decimal_to_decnumber): Handle conversion from | |
11294 | dconst{1,2,m1,half}. | |
11295 | ||
fca132b9 UB |
11296 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> |
11297 | ||
11298 | * config/i386/i386.c (ix86_autovectorize_vector_sizes): Return 0 | |
11299 | for !flag_prefer_avx128. | |
11300 | (ix86_preferred_simd_mode): Return word_mode for DFmode without SSE2. | |
11301 | ||
e4c03378 EB |
11302 | 2011-05-09 Eric Botcazou <ebotcazou@adacore.com> |
11303 | ||
11304 | * fold-const.c (fold_range_test): Pass LOC to build_range_check. | |
11305 | (fold_ternary_loc): Use expr_location_or. | |
11306 | ||
805d6a75 L |
11307 | 2011-05-09 H.J. Lu <hongjiu.lu@intel.com> |
11308 | ||
11309 | PR debug/48853 | |
11310 | * dwarf2out.c (mem_loc_descriptor) <case SUBREG>: If | |
11311 | POINTERS_EXTEND_UNSIGNED is defined, don't give up if mode is | |
11312 | Pmode and mem_mode is not VOIDmode. | |
11313 | ||
e4c03378 | 11314 | 2011-05-09 Ville Voutilainen <ville.voutilainen@gmail.com> |
b5da71d4 | 11315 | |
e4c03378 EB |
11316 | * tree.h (TYPE_UNQUALIFIED, TYPE_QUAL_CONST, TYPE_QUAL_VOLATILE, |
11317 | TYPE_QUAL_RESTRICT): Convert to enum. | |
b5da71d4 | 11318 | |
51e7f377 UB |
11319 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> |
11320 | ||
11321 | * config/i386/predicates.md (const_pow2_1_to_2_operand): Remove. | |
11322 | (const_pow2_1_to_8_operand): Ditto. | |
11323 | (const_pow2_1_to_128_operand): Ditto. | |
11324 | (const_pow2_1_to_32768_operand): Ditto. | |
11325 | * config/i386/mmx.md (*mmx_pinsrw): Use const_int_operand instead of | |
11326 | const_pow2_1_to_8_operand for operand 3 predicate. Use exact_log2 | |
11327 | in insn constraint to check integer value of operand 3. | |
11328 | * config/i386/sse.md (*vec_setv4sf_sse4_1): Ditto. | |
11329 | ||
11330 | (PINSR_MODE): New mode iterator. | |
11331 | (sse2p4_1): New mode attribute. | |
11332 | (<sse2p4_1>_pinsr<ssemodesuffix>): Merge insn from sse4_1_pinsrb, | |
11333 | sse2_pinsrw, sse4_1_pinsrd and sse4_1_pinsrq using PINSR_MODE mode | |
11334 | iterator. Use const_int_operand instead of | |
11335 | const_pow2_1_to_{2,8,128,32768}_operand for operand 3 predicate. Use | |
11336 | exact_log2 in insn constraint to check integer value of operand 3. | |
11337 | ||
11338 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> | |
11339 | ||
11340 | * config/i386/sse.md (blendbits): Remove mode attribute. | |
11341 | (<sse4_1>_blend<ssemodesuffix><avxsizesuffix>): Use const_int_operand | |
11342 | instead of const_0_to_<blendbits>_operand for operand 3 predicate. | |
11343 | Check integer value of operand 3 in insn constraint. | |
11344 | ||
0ca8de87 RG |
11345 | 2011-05-09 Richard Guenther <rguenther@suse.de> |
11346 | ||
11347 | * lto-symtab.c (lto_cgraph_replace_node): Use types_compatible_p | |
11348 | for diagnostics. | |
11349 | (lto_symtab_merge): Likewise. Do not register types here. | |
11350 | (lto_symtab_merge_decls_2): Likewise. | |
11351 | (lto_symtab_merge_decls_1): Likewise. | |
11352 | * gimple.h (enum gtc_mode, gimple_types_compatible_p): Do not declare. | |
11353 | * gimple.c (enum gtc_mode): Declare. | |
11354 | (gimple_types_compatible_p): Make static. | |
11355 | ||
a9e6994a AK |
11356 | 2011-05-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
11357 | ||
11358 | * config/s390/s390.md (TD/TF mem to reg move splitter): Make the | |
11359 | temporary register to match Pmode. | |
11360 | ||
fb55d62e UB |
11361 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> |
11362 | ||
11363 | * config/i386/sse.md (*vec_concatv4si): Merge from *vec_concatv4si_1 | |
11364 | and *vec_concatv4si_1_avx. | |
11365 | ||
eb1485a6 UB |
11366 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> |
11367 | ||
11368 | PR rtl-optimization/48927 | |
11369 | * ira-conflicts.c (commutative_constraint_p): Use | |
11370 | recog_data.alternative_enabled_p to disable alternatives where | |
11371 | "enabled" attribute is false. | |
11372 | (get_dup_num): Ditto. | |
11373 | * ira-lives.c (single_reg_class): Ditto. | |
11374 | (ira_implicitly_set_insn_hard_regs): Ditto. | |
11375 | ||
c46d001a EB |
11376 | 2011-05-09 Eric Botcazou <ebotcazou@adacore.com> |
11377 | ||
11378 | * var-tracking.c (find_mem_expr_in_1pdv): Fix thinko. | |
11379 | (dataflow_set_preserve_mem_locs): Likewise. | |
11380 | ||
11381 | 2011-05-09 Philipp Thomas <pth@suse.de> | |
11382 | ||
6d9e7c41 PT |
11383 | * config/mep/mep.c (mep_validate_vliw): Syntax description |
11384 | should not be translated. | |
11385 | ||
d371df6f JM |
11386 | 2011-05-09 Joseph Myers <joseph@codesourcery.com> |
11387 | ||
11388 | * config/mips/genopt.sh, config/mips/mips-cpus.def: New files. | |
11389 | * config/mips/mips-tables.opt: New file (generated). | |
eb1485a6 | 11390 | * config.gcc (mips*-*-*): Add mips/mips-tables.opt to extra_options. |
d371df6f JM |
11391 | * config/mips/mips-opts.h (MIPS_ARCH_OPTION_FROM_ABI, |
11392 | MIPS_ARCH_OPTION_NATIVE): Define. | |
11393 | * config/mips/mips.c (mips_cpu_info_table): Move contents to | |
11394 | mips-cpus.def. | |
11395 | (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p, | |
11396 | mips_parse_cpu): Remove. | |
11397 | (mips_cpu_info_from_opt, mips_default_arch): New. | |
11398 | (mips_handle_option): Don't assert that global structures are in | |
11399 | use. Don't handle OPT_march_, OPT_mtune_ and OPT_mips here. | |
11400 | (mips_option_override): Use new variables and functions to set | |
eb1485a6 | 11401 | state of these options. Use strcmp to check for individual CPU names. |
d371df6f JM |
11402 | * config/mips/mips.h (MIPS_CPU_STRING_DEFAULT): Remove default |
11403 | definition. | |
11404 | * config/mips/mips.opt (march=): Use ToLower and Enum. | |
11405 | (mips): Use ToLower, Enum and Var. | |
11406 | (mtune=): Use ToLower and Enum. | |
11407 | * config/mips/t-mips ($(srcdir)/config/mips/mips-tables.opt): New. | |
11408 | ||
4fc07af9 JH |
11409 | 2011-05-08 Jan Hubicka <jh@suse.cz> |
11410 | ||
11411 | * gimple.c (type_pair_hash, type_pair_eq, lookup_type_pair): | |
11412 | Arrange type pairs to be UID ordered. | |
11413 | (gimple_lookup_type_leader): Make inline. | |
11414 | ||
2cf320a8 NC |
11415 | 2011-05-09 Nick Clifton <nickc@redhat.com> |
11416 | ||
61d6def5 NC |
11417 | PR target/48899 |
11418 | * config/iq2000/iq2000.opt (iq2000_tune): Initialise to | |
11419 | PROCESSOR_DEFAULT. | |
11420 | ||
2cf320a8 NC |
11421 | PR target/48897 |
11422 | * config/mn10300/mn10300.c (extract_bundle): Remove spurious local | |
11423 | variable 's'. | |
11424 | ||
4f82319d CLT |
11425 | 2011-05-08 Chung-Lin Tang <cltang@codesourcery.com> |
11426 | ||
11427 | * combine.c (simplify_comparison): Abstract out parts into... | |
11428 | (simplify_compare_const): ... new function. | |
11429 | (try_combine): Generalize parallel arithmetic/compare combining | |
11430 | to call simplify_compare_const() and CANONICALIZE_COMPARE(). | |
11431 | ||
74605a11 JH |
11432 | 2011-05-08 Jan Hubicka <jh@suse.cz> |
11433 | ||
11434 | * cgraph.c (cgraph_clone_node): Add call_duplication_hook parameter. | |
eb1485a6 UB |
11435 | (cgraph_create_virtual_clone): Call hooks once virtual clone |
11436 | is finished. | |
74605a11 | 11437 | * cgraph.h (cgraph_clone_node): Update prototype. |
eb1485a6 UB |
11438 | * ipa-cp.c (ipcp_estimate_growth): Use |
11439 | estimate_ipcp_clone_size_and_time. | |
74605a11 JH |
11440 | * ipa-inline-transform.c (clone_inlined_nodes): Update. |
11441 | * lto-cgraph.c (input_node): Update. | |
11442 | * ipa-inline.c (recursive_inlining): Update. | |
11443 | * ipa-inline.h (estimate_ipcp_clone_size_and_time): New function. | |
11444 | (evaluate_conditions_for_known_args): Break out from ... | |
11445 | (evaluate_conditions_for_edge): ... here. | |
11446 | (evaluate_conditions_for_ipcp_clone): New function. | |
11447 | (inline_node_duplication_hook): Update clone summary based | |
11448 | on parameter map. | |
11449 | (estimate_callee_size_and_time): Rename to ... | |
11450 | (estimate_node_size_and_time): take NODE instead of EDGE; | |
11451 | take POSSIBLE_TRUTHS as argument. | |
11452 | (estimate_callee_size_and_time): Update. | |
11453 | (estimate_ipcp_clone_size_and_time): New function. | |
11454 | (do_estimate_edge_time): Update. | |
11455 | ||
5c049507 RG |
11456 | 2011-05-08 Richard Guenther <rguenther@suse.de> |
11457 | ||
11458 | PR middle-end/48908 | |
11459 | PR middle-end/48905 | |
11460 | * expmed.c (expand_shift_1): Compute adjusted constant shift | |
11461 | amount manually. | |
11462 | ||
f64c36ba EB |
11463 | 2011-05-08 Eric Botcazou <ebotcazou@adacore.com> |
11464 | ||
11465 | * config/avr/avr.c (print_operand_address): Fix invalid RTL access. | |
11466 | ||
c461a957 EB |
11467 | 2011-05-08 Eric Botcazou <ebotcazou@adacore.com> |
11468 | ||
11469 | * config/rs6000/rs6000.c (output_profile_hook): Fix thinko. | |
11470 | ||
7c74e556 JW |
11471 | 2011-05-08 Jonathan Wakely <jwakely.gcc@gmail.com> |
11472 | ||
11473 | * doc/invoke.texi (-fuse-linker-plugin): Improve grammar. | |
11474 | ||
b4c0a884 JH |
11475 | 2011-05-07 Jan Hubicka <jh@suse.cz> |
11476 | ||
a9bcb3f0 EB |
11477 | * ipa-inline-transform.c (inline_call): Account when program size |
11478 | decreases. | |
b4c0a884 | 11479 | * ipa-inline.c (relative_time_benefit): New function. |
a9bcb3f0 EB |
11480 | (edge_badness): Reorganize to be power 2 based; fix thinko when |
11481 | computing badness for negative growth; update comments to match | |
11482 | reality; better dumps. | |
b4c0a884 | 11483 | |
c99c0026 EB |
11484 | 2011-05-07 Eric Botcazou <ebotcazou@adacore.com> |
11485 | ||
11486 | * langhooks.h (lang_hooks_for_types): Change global_bindings_p's return | |
11487 | type to bool and adjust comment. | |
11488 | * fold-const.c (fold_range_test): Adjust call to global_bindings_p. | |
11489 | (fold_mathfn_compare): Remove calls to global_bindings_p. | |
11490 | (fold_inf_compare): Likewise. | |
11491 | * stor-layout.c (variable_size): Adjust call to global_bindings_p. | |
11492 | * c-tree.h (global_bindings_p): Adjust prototype. | |
11493 | * c-decl.c (global_bindings_p): Return bool and simplify. | |
11494 | ||
1400c8e5 ZD |
11495 | 2011-05-07 Zdenek Dvorak <ook@ucw.cz> |
11496 | ||
11497 | PR tree-optimization/48837 | |
11498 | * tree-tailcall.c (tree_optimize_tail_calls_1): Do not mark tailcalls | |
11499 | when accumulator transformation is performed. | |
11500 | ||
5d0878e7 JH |
11501 | 2011-05-06 Jan Hubicka <jh@suse.cz> |
11502 | ||
a9bcb3f0 EB |
11503 | * i386.h (ix86_tune_indices): Add |
11504 | X86_TUNE_SOFTWARE_PREFETCHING_BENEFICIAL. | |
eb1485a6 | 11505 | (TARGET_SOFTWARE_PREFETCHING_BENEFICIAL): New macro. |
a9bcb3f0 EB |
11506 | * i386.c (initial_ix86_tune_features): Add |
11507 | X86_SOFTARE_PREFETCHING_BENEFICIAL. | |
5d0878e7 JH |
11508 | (software_prefetching_beneficial_p): Remove predicate. |
11509 | (ix86_option_override_internal): Use new macro. | |
11510 | ||
58696ce5 JH |
11511 | 2011-05-06 Jan Hubicka <jh@suse.cz> |
11512 | ||
11513 | * ipa-inline.c (update_callee_keys): Don't reset node growth cache. | |
11514 | ||
c47d0034 JH |
11515 | 2011-05-06 Jan Hubicka <jh@suse.cz> |
11516 | ||
11517 | * cgraph.c (cgraph_add_thunk): Create real function node instead | |
11518 | of alias node; finalize it and mark needed/reachale; arrange visibility | |
11519 | to be right and add it into the corresponding same comdat group list. | |
11520 | (dump_cgraph_node): Dump thunks. | |
11521 | * cgraph.h (cgraph_first_defined_function, cgraph_next_defined_function, | |
a9bcb3f0 EB |
11522 | cgraph_function_with_gimple_body_p, |
11523 | cgraph_first_function_with_gimple_body, | |
c47d0034 JH |
11524 | cgraph_next_function_with_gimple_body): New functions. |
11525 | (FOR_EACH_FUNCTION_WITH_GIMPLE_BODY, FOR_EACH_DEFINED_FUNCTION): | |
11526 | New macros. | |
11527 | * ipa-cp.c (ipcp_need_redirect_p): Thunks can't be redirected. | |
11528 | (ipcp_generate_summary): Use FOR_EACH_FUNCTION_WITH_GIMPLE_BODY. | |
11529 | * cgraphunit.c (cgraph_finalize_function): Only look into possible | |
11530 | devirtualization when optimizing. | |
11531 | (verify_cgraph_node): Verify thunks. | |
11532 | (cgraph_analyze_function): Analyze thunks. | |
11533 | (cgraph_mark_functions_to_output): Output thunks only in combination | |
11534 | with function they are assigned to. | |
11535 | (assemble_thunk): Turn thunk into non-thunk; don't try to turn | |
11536 | alias into normal node. | |
11537 | (assemble_thunks): New functoin. | |
11538 | (cgraph_expand_function): Use it. | |
11539 | * lto-cgraph.c (lto_output_node): Stream thunks. | |
11540 | (input_overwrite_node): Stream in thunks. | |
11541 | * ipa-pure-const.c (analyze_function): Thunks do nothing interesting. | |
11542 | * lto-streamer-out.c (lto_output): Do not try to output thunk's body. | |
11543 | * ipa-inline.c (inline_small_functions): Use FOR_EACH_DEFINED_FUNCTION. | |
11544 | * ipa-inline-analysis.c (compute_inline_parameters): "Analyze" thunks. | |
11545 | (inline_analyze_function): Do not care about thunk jump functions. | |
11546 | (inline_generate_summary):Use FOR_EACH_DEFINED_FUNCTION. | |
a9bcb3f0 EB |
11547 | * ipa-prop.c (ipa_prop_write_jump_functions): Use |
11548 | cgraph_function_with_gimple_body_p. | |
11549 | * passes.c (do_per_function_toporder): Use | |
11550 | cgraph_function_with_gimple_body_p. | |
c47d0034 JH |
11551 | (execute_one_pass);Use FOR_EACH_FUNCTION_WITH_GIMPLE_BODY. |
11552 | (ipa_write_summaries): Use cgraph_function_with_gimple_body_p. | |
11553 | (function_called_by_processed_nodes_p): Likewise. | |
11554 | ||
d8f426ec JM |
11555 | 2011-05-06 Joseph Myers <joseph@codesourcery.com> |
11556 | ||
11557 | * config/rs6000/rs6000.opt (rs6000_ieeequad, rs6000_altivec_abi, | |
11558 | rs6000_spe_abi, rs6000_darwin64_abi): Remove TargetVariable | |
11559 | entries. | |
11560 | (mabi=): Replace with separate entries for mabi=altivec, | |
11561 | mabi=no-altivec, mabi=spe, mabi=no-spe, mabi=d64, mabi=d32, | |
11562 | mabi=ieeelongdouble and mabi=ibmlongdouble. | |
11563 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Move | |
11564 | check for -mabi=spe without SPE ABI support here. | |
11565 | (rs6000_handle_option): Replace OPT_mabi_ handling with | |
11566 | OPT_mabi_altivec and OPT_mabi_spe handling. | |
11567 | ||
80bde45b CC |
11568 | 2011-05-06 Cary Coutant <ccoutant@google.com> |
11569 | ||
11570 | * dwarf2out.c (contains_subprogram_definition): New function. | |
11571 | (should_move_die_to_comdat): Call it. | |
11572 | ||
a91926b9 JL |
11573 | 2011-05-06 Jeff Law <law@redhat.com> |
11574 | ||
11575 | * tree-ssa-threadupdate.c (create_block_for_threading): Do not call | |
11576 | remove_ctrl_stmt_and_useless_edges. | |
11577 | (create_duplicates): Call remove_ctrl_stmt_and_useless_edges. | |
11578 | (fixup_template_block, thread_single_edge): Likewise. | |
11579 | (mark_threaded_blocks): Use THREAD_TARGET. | |
11580 | ||
1fc1b66d AM |
11581 | 2011-05-06 Alan Modra <amodra@gmail.com> |
11582 | ||
11583 | PR target/48900 | |
11584 | * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Use | |
11585 | const0_rtx as the arg to the dummy __tls_get_addr libcall. | |
11586 | ||
e194de64 UB |
11587 | 2011-05-06 Uros Bizjak <ubizjak@gmail.com> |
11588 | ||
11589 | * config/i386/i386.md (*movdf_internal_nointeger): Apply "*" | |
11590 | constraint modifier to "r". | |
11591 | ||
d740dc9e JM |
11592 | 2011-05-06 Joseph Myers <joseph@codesourcery.com> |
11593 | ||
11594 | * config/rs6000/rs6000.c (rs6000_handle_option): Don't handle and | |
11595 | fall through for OPT_mcmodel_. | |
11596 | ||
cab78b15 AK |
11597 | 2011-05-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
11598 | ||
11599 | * config/s390/s390.c (s390_asm_trampoline_template): Comment | |
11600 | instruction sizes. | |
e194de64 | 11601 | (s390_trampoline_init): Replace UNITS_PER_WORD with UNITS_PER_LONG. |
cab78b15 | 11602 | |
ee6824ae RR |
11603 | 2011-05-06 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
11604 | ||
eb1485a6 UB |
11605 | PR target/47930 |
11606 | * config/arm/arm.opt (marm): Document it. | |
11607 | (mthumb): Reject negative variant. | |
ee6824ae | 11608 | |
9ef58464 UB |
11609 | 2011-05-06 Uros Bizjak <ubizjak@gmail.com> |
11610 | ||
11611 | PR target/48898 | |
11612 | * config/i386/netware.c (i386_nlm_maybe_mangle_decl_assembler_name): | |
11613 | Fix typo in "ccvt" variable name. | |
11614 | ||
155b6176 TG |
11615 | 2011-05-06 Tristan Gingold <gingold@adacore.com> |
11616 | ||
11617 | PR target/48895 | |
11618 | * config/vms/vms-ar.c (main): Remove cwd variable. | |
11619 | ||
3becc47b JJ |
11620 | 2011-05-06 Jakub Jelinek <jakub@redhat.com> |
11621 | ||
11622 | PR debug/48902 | |
11623 | * var-tracking.c (prepare_call_arguments): Move else before #endif. | |
11624 | ||
3d528853 NF |
11625 | 2011-05-05 Nathan Froyd <froydnj@codesourcery.com> |
11626 | ||
11627 | * except.c (sjlj_emit_dispatch_table): Call build_case_label. | |
11628 | * gimplify.c (gimplify_switch_expr): Likewise. | |
11629 | * omp-low.c (expand_omp_sections): Likewise. | |
11630 | * tree-eh.c (lower_try_finally_switch): Likewise. | |
11631 | (lower_eh_dispatch): Likewise. | |
11632 | * tree.h (build_case_label): Declare. | |
11633 | * tree.c (build_case_label): Define. | |
11634 | ||
deb5046b JM |
11635 | 2011-05-05 Jason Merrill <jason@redhat.com> |
11636 | ||
11637 | PR c++/40975 | |
11638 | * tree-inline.c (copy_tree_r): Use copy_statement_list. | |
11639 | (copy_statement_list): Don't recurse. | |
11640 | * stor-layout.c (copy_self_referential_tree_r): Don't allow | |
11641 | STATEMENT_LIST. | |
11642 | ||
013c0411 JM |
11643 | 2011-05-05 Joseph Myers <joseph@codesourcery.com> |
11644 | ||
11645 | * config/rs6000/rs6000.c (rs6000_handle_option): Don't fall | |
11646 | through from -mfpu= handling. | |
11647 | * config/rs6000/rs6000.opt (mfpu=): Use Var and Init. | |
11648 | ||
a0905f8b BS |
11649 | 2011-05-05 Bernd Schmidt <bernds@codesourcery.com> |
11650 | ||
11651 | * dwarf2out.c (dwarf2out_frame_debug_expr) [rule 10]: Handle | |
11652 | POST_MODIFY. | |
11653 | ||
fc4538e4 SE |
11654 | 2011-05-05 Steve Ellcey <sje@cup.hp.com> |
11655 | ||
11656 | * config.gcc (hppa*64*-*-hpux11*): Modify tm_file and extra_options | |
11657 | for 11.31. | |
11658 | (hppa[12]*-*-hpux11*): Ditto. | |
11659 | (ia64*-*-hpux*): Add ia64/hpux-unix2003.h to tm_file. | |
11660 | * config/ia64/hpux-unix2003.h: New. | |
11661 | * config/pa/pa-hpux1131.opt: New. | |
11662 | * config/pa/pa-hpux1131.h: New. | |
11663 | * config/pa/pa64-hpux.h (STARTFILE_SPEC): Use unix2003.o if requested. | |
11664 | * config/pa/pa-hpux.opt (flag_pa_unix): Check TARGET_HPUX_11_31 value. | |
4eec64ff | 11665 | * config/pa/pa.h (TARGET_HPUX_11_31): Provide default (0) value. |
fc4538e4 | 11666 | |
1e30c578 JJ |
11667 | 2011-05-05 Jakub Jelinek <jakub@redhat.com> |
11668 | ||
11669 | PR debug/48853 | |
11670 | * dwarf2out.c (mem_loc_descriptor) <case SUBREG>: Pass mem_mode | |
11671 | instead of mode as 3rd argument to recursive call. | |
11672 | (mem_loc_descriptor) <case REG>: If POINTERS_EXTEND_UNSIGNED, don't | |
11673 | emit DW_OP_GNU_regval_type if mode is Pmode and mem_mode is not | |
11674 | VOIDmode. | |
11675 | (mem_loc_descriptor) <case SYMBOL_REF>: If POINTERS_EXTEND_UNSIGNED, | |
11676 | don't give up if mode is Pmode and mem_mode is not VOIDmode. | |
11677 | (mem_loc_descriptor) <case CONST_INT>: If POINTERS_EXTEND_UNSIGNED, | |
11678 | use int_loc_descriptor if mode is Pmode and mem_mode is not VOIDmode. | |
11679 | ||
d19eb620 JB |
11680 | 2011-05-05 Julian Brown <julian@codesourcery.com> |
11681 | ||
11682 | * config/arm/neon.md (vec_set<mode>_internal): Fix misplaced | |
11683 | parenthesis in D-register case. | |
11684 | ||
c860fe8c JM |
11685 | 2011-05-05 Joseph Myers <joseph@codesourcery.com> |
11686 | ||
11687 | * opt-functions.awk (var_type_struct): Handle Enum options. | |
11688 | * optc-gen.awk: Don't check range of variables of character type. | |
11689 | * config/rs6000/rs6000.c (rs6000_sched_insert_nops_str, | |
11690 | rs6000_sched_costly_dep_str, rs6000_recip_name, rs6000_abi_name, | |
11691 | rs6000_sdata_name, rs6000_explicit_options): Remove. | |
11692 | (rs6000_option_override_internal): Check for -malign-power here. | |
11693 | Use global_options_set instead of rs6000_explicit_options. | |
11694 | (rs6000_parse_fpu_option): Remove. | |
11695 | (rs6000_handle_option): Access variables via opts and opts_set | |
11696 | pointers. Use error_at and warning_at. Add fall-through | |
11697 | comments. Don't handle OPT_mcmodel_, OPT_maix_struct_return, | |
11698 | OPT_msvr4_struct_return, OPT_mvrsave, OPT_mspe, OPT_mcall_, | |
11699 | OPT_msdata_, OPT_mtls_size_, OPT_mtraceback_, OPT_mfloat_gprs_, | |
11700 | OPT_msched_costly_dep_, OPT_malign_ or OPT_mrecip_ explicitly | |
11701 | here. Don't use rs6000_parse_fpu_option. | |
11702 | * config/rs6000/rs6000.h (fpu_type): Remove declaration. | |
11703 | * config/rs6000/rs6000.opt (rs6000_long_double_type_size, | |
11704 | rs6000_spe, rs6000_float_gprs): Remove TargetVariable entries. | |
11705 | (mrecip=): Use Var. | |
11706 | (mspe): Use Var and Save. | |
11707 | (mtraceback=): Use Enum and Var. | |
11708 | (rs6000_traceback_type): New Enum and EnumValue entries. | |
11709 | (mfloat-gprs=): Use Enum, Var and Save. | |
11710 | (rs6000_float_gprs): New Enum and EnumValue entries. | |
11711 | (mlong-double-): use Var and Save. | |
11712 | (msched-costly-dep=, minsert-sched-nops=): Use Var. | |
11713 | (malign-): Use Enum and Var. | |
11714 | (rs6000_alignment_flags): New Enum and EnumValue entries. | |
11715 | (mfpu=): Use Enum. | |
11716 | (fpu_type_t): New Enum and EnumValue entries. | |
11717 | * config/rs6000/aix43.h (SUBTARGET_OVERRIDE_OPTIONS): Use | |
11718 | global_options_set instead of rs6000_explicit_options. | |
11719 | * config/rs6000/aix52.h (SUBTARGET_OVERRIDE_OPTIONS): Use | |
11720 | global_options_set instead of rs6000_explicit_options. | |
11721 | * config/rs6000/aix53.h (SUBTARGET_OVERRIDE_OPTIONS): Use | |
11722 | global_options_set instead of rs6000_explicit_options. | |
11723 | * config/rs6000/aix61.h (SUBTARGET_OVERRIDE_OPTIONS): Use | |
11724 | global_options_set instead of rs6000_explicit_options. | |
11725 | * config/rs6000/e500-double.h (SUB3TARGET_OVERRIDE_OPTIONS): Use | |
11726 | global_options_set instead of rs6000_explicit_options. | |
11727 | * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use | |
11728 | global_options_set instead of rs6000_explicit_options. | |
11729 | (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Remove commented-out | |
11730 | definition. | |
11731 | * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use | |
11732 | global_options_set instead of rs6000_explicit_options. | |
11733 | * config/rs6000/linux64.opt (mcmodel=): Use Enum and Var. | |
11734 | (rs6000_cmodel): New Enum and EnumValue entries. | |
11735 | * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use | |
11736 | global_options_set instead of rs6000_explicit_options. | |
11737 | * config/rs6000/sysv4.opt (mcall-, msdata=): Use Var. | |
11738 | (mtls-size=): Use Enum and Var. | |
11739 | (rs6000_tls_size): New Enum and EnumValue entries. | |
11740 | ||
0691dde9 MM |
11741 | 2011-05-05 Michael Matz <matz@suse.de> |
11742 | ||
11743 | * config/alpha/elf.h (ENDFILE_SPEC): Add Ofast. | |
11744 | * config/alpha/osf5.h (ENDFILE_SPEC): Add Ofast. | |
11745 | * config/alpha/netbsd.h (ENDFILE_SPEC): Add Ofast. | |
11746 | * config/sparc/linux.h (ENDFILE_SPEC): Add Ofast. | |
11747 | * config/sparc/sp64-elf.h (ENDFILE_SPEC): Add Ofast. | |
11748 | * config/sparc/sp-elf.h (ENDFILE_SPEC): Add Ofast. | |
11749 | * config/sparc/linux64.h (ENDFILE_SPEC): Add Ofast. | |
11750 | * config/sparc/freebsd.h (ENDFILE_SPEC): Add Ofast. | |
11751 | * config/sparc/sol2.h (ENDFILE_SPEC): Add Ofast. | |
11752 | * config/i386/cygwin.h (ENDFILE_SPEC): Add Ofast. | |
11753 | * config/i386/gnu-user.h (ENDFILE_SPEC): Add Ofast. | |
11754 | * config/i386/gnu-user64.h (ENDFILE_SPEC): Add Ofast. | |
11755 | * config/i386/darwin.h (ENDFILE_SPEC): Add Ofast. | |
11756 | * config/i386/mingw32.h (ENDFILE_SPEC): Add Ofast. | |
11757 | * config/ia64/linux.h (ENDFILE_SPEC): Add Ofast. | |
11758 | * config/mips/linux.h (ENDFILE_SPEC): Add Ofast. | |
11759 | ||
86529a49 RG |
11760 | 2011-05-05 Richard Guenther <rguenther@suse.de> |
11761 | ||
11762 | * expmed.c (expand_variable_shift): Rename to ... | |
11763 | (expand_shift_1): ... this. Take an expanded shift amount. | |
11764 | For rotates recurse directly not building trees for the shift amount. | |
11765 | (expand_variable_shift): Wrap around expand_shift_1. | |
11766 | (expand_shift): Adjust. | |
11767 | ||
d0228c2e JJ |
11768 | 2011-05-05 Jakub Jelinek <jakub@redhat.com> |
11769 | ||
11770 | * gimplify.c (create_tmp_var_raw): Don't call build_type_variant. | |
11771 | ||
907a08d9 EB |
11772 | 2011-05-05 Eric Botcazou <ebotcazou@adacore.com> |
11773 | ||
11774 | * tree.h (get_pending_sizes): Remove prototype. | |
11775 | (put_pending_size): Likewise. | |
11776 | (put_pending_sizes): Likewise. | |
11777 | * stor-layout.c (pending_sizes): Delete. | |
11778 | (get_pending_sizes): Likewise. | |
11779 | (put_pending_size): Likewise. | |
11780 | (put_pending_sizes): Likewise. | |
11781 | (variable_size): Do not call put_pending_size and tidy up. | |
11782 | * function.h (struct function): Remove dont_save_pending_sizes_p. | |
11783 | * lto-streamer-in.c (input_function): Do not stream it. | |
11784 | * lto-streamer-out.c (output_function): Likewise. | |
11785 | * tree-inline.c (initialize_cfun): Do not copy it. | |
11786 | * c-decl.c (store_parm_decls): Do not set it. | |
11787 | * omp-low.c (create_task_copyfn): Likewise. | |
11788 | * tree-optimize.c (tree_rest_of_compilation): Likewise. | |
11789 | ||
386d9c57 UB |
11790 | 2011-05-05 Uros Bizjak <ubizjak@gmail.com> |
11791 | ||
11792 | * config/i386/i386.md (*movdf_internal_rex64): Simplify nested "if" | |
11793 | conditions. | |
11794 | (*movdf_internal): Ditto. | |
11795 | (*movdf_internal_nointeger): Ditto. | |
11796 | (*movsf_internal): Ditto. | |
11797 | ||
a04a722b JM |
11798 | 2011-05-05 Joseph Myers <joseph@codesourcery.com> |
11799 | ||
11800 | * c-decl.c (finish_decl): Don't call get_pending_sizes. | |
11801 | (grokparm): Add parameter expr. Pass it to grokdeclarator. | |
11802 | (push_parm_decl): Add parameter expr. Pass it to grokdeclarator. | |
11803 | (c_variable_size): Remove. | |
11804 | (grokdeclarator): Use save_expr instead of c_variable_size. Don't | |
11805 | call put_pending_sizes. | |
11806 | (get_parm_info): Add parameter expr. Use it to set | |
11807 | arg_info->pending_sizes. | |
11808 | (store_parm_decls): Use arg_info->pending_sizes instead or calling | |
11809 | get_pending_sizes. | |
11810 | * c-parser.c (c_parser_parms_declarator): Update call to | |
11811 | c_parser_parms_list_declarator. | |
11812 | (c_parser_parms_list_declarator): Take parameter expr. Update | |
11813 | call to push_parm_decl. Update recursive call. Don't call | |
11814 | get_pending_sizes. Update calls to get_parm_info. | |
11815 | (c_parser_objc_method_definition): Update calls to | |
11816 | c_parser_objc_method_decl and objc_start_method_definition. | |
386d9c57 | 11817 | (c_parser_objc_methodproto): Update call to c_parser_objc_method_decl. |
a04a722b JM |
11818 | (c_parser_objc_method_decl): Add parameter expr. Update call to |
11819 | grokparm. | |
386d9c57 | 11820 | (c_parser_objc_try_catch_finally_statement): Update call to grokparm. |
a04a722b JM |
11821 | * c-tree.h (struct c_arg_info.pending_sizes): Change to a tree. |
11822 | (get_parm_info, grokparm, push_parm_decl): Update prototypes. | |
11823 | ||
c92a6f97 MH |
11824 | 2011-05-05 Michael Hope <michael.hope@linaro.org> |
11825 | ||
386d9c57 UB |
11826 | PR pch/45979 |
11827 | * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for | |
11828 | __ARM_EABI__ hosts. | |
c92a6f97 | 11829 | |
07ea0048 UW |
11830 | 2011-05-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
11831 | ||
11832 | * config/spu/spu.c (TARGET_ASM_OUTPUT_MI_THUNK): Define. | |
11833 | (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Likewise. | |
11834 | (spu_output_mi_thunk): New function. | |
11835 | ||
d634bfa1 RO |
11836 | 2011-05-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11837 | ||
11838 | * config/sparc/sol2.h (ASM_OUTPUT_CALL): Use | |
11839 | targetm.asm_out.print_operand. | |
11840 | * config/sol2.c: Include target.h. | |
11841 | ||
40fda55b JH |
11842 | 2011-05-04 Jan Hubicka <jh@suse.cz> |
11843 | ||
11844 | * ipa-inline.c (reset_edge_caches): New function. | |
11845 | (update_caller_keys): Add check_inlinablity_for; do not | |
11846 | reset edge caches; remove now unnecesary loop. | |
386d9c57 | 11847 | (update_callee_keys): Add comments; reset node_growth_cache of callee. |
40fda55b JH |
11848 | (update_all_callee_keys): Likewise. |
11849 | (inline_small_functions): Sanity check cache; update code | |
11850 | recomputing it. | |
11851 | ||
0360f70d BS |
11852 | 2011-05-04 Bernd Schmidt <bernds@codesourcery.com> |
11853 | ||
11854 | PR rtl-optimization/47612 | |
11855 | * df-problems.c (can_move_insns_across): Don't pick a cc0 setter | |
11856 | as the last insn of the sequence to be moved. | |
11857 | ||
7a994646 TB |
11858 | 2011-05-04 Tobias Burnus <burnus@net-b.de> |
11859 | ||
11860 | PR fortran/48864 | |
11861 | * doc/invoke.texi (Ofast): Document that it | |
11862 | enables Fortran's -fno-protect-parens. | |
11863 | ||
7a2f7208 UB |
11864 | 2011-05-04 Uros Bizjak <ubizjak@gmail.com> |
11865 | ||
11866 | * config/i386/i386.c (ix86_reorg): Run move_or_delete_vzeroupper first. | |
11867 | ||
a2d42931 EB |
11868 | 2011-05-04 Eric Botcazou <ebotcazou@adacore.com> |
11869 | ||
11870 | * stor-layout.c (variable_size): Do not issue errors. | |
11871 | ||
f81b1a3d RG |
11872 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
11873 | ||
11874 | * coverage.c (tree_coverage_counter_ref): Use integer_type_node | |
11875 | for array-ref indices. | |
11876 | (tree_coverage_counter_addr): Likewise. | |
11877 | (build_fn_info_type): Use size_int for index types. | |
11878 | (build_gcov_info): Likewise. | |
11879 | ||
c62c040f RG |
11880 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
11881 | ||
11882 | * c-decl.c (check_bitfield_type_and_width): Do not pass NULL | |
11883 | to build_int_cst. | |
11884 | * c-typeck.c (really_start_incremental_init): Use bitsize_int | |
11885 | for constructor indices. | |
11886 | (push_init_level): Likewise. | |
11887 | ||
1e3287d0 RG |
11888 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
11889 | ||
11890 | * explow.c (promote_mode): Move variable declarations before code. | |
11891 | ||
6c32445b NF |
11892 | 2011-05-04 Nathan Froyd <froydnj@codesourcery.com> |
11893 | ||
11894 | * tree.h (build_function_type_array): Declare. | |
11895 | (build_varargs_function_type_array): Declare. | |
11896 | (build_function_type_vec, build_varargs_function_type_vec): Define. | |
11897 | * tree.c (build_function_type_array_1): New function. | |
11898 | (build_function_type_array): New function. | |
11899 | (build_varargs_function_type_array): New function. | |
11900 | ||
fdabf269 RS |
11901 | 2011-05-04 Richard Sandiford <richard.sandiford@linaro.org> |
11902 | ||
11903 | * tree-vect-loop.c (vectorizable_reduction): Check reduction cost | |
11904 | before setting STMT_VINFO_TYPE. | |
11905 | ||
a207915a UW |
11906 | 2011-05-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
11907 | ||
11908 | * config/spu/spu.c (spu_gimplify_va_arg_expr): Call pass_by_reference | |
11909 | instead of spu_pass_by_reference. | |
11910 | ||
5e617be8 AK |
11911 | 2011-05-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
11912 | ||
11913 | * calls.c (emit_library_call_value_1): Invoke | |
11914 | promote_function_mode hook on libcall arguments. | |
11915 | * explow.c (promote_function_mode, promote_mode): Handle TYPE | |
11916 | argument being NULL. | |
11917 | * targhooks.c (default_promote_function_mode): Lisewise. | |
11918 | * config/s390/s390.c (s390_promote_function_mode): Likewise. | |
11919 | * config/sparc/sparc.c (sparc_promote_function_mode): Likewise. | |
11920 | ||
11921 | * doc/tm.texi: Document that TYPE argument might be NULL. | |
11922 | ||
486d04be SH |
11923 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
11924 | ||
11925 | * config/bfin/bfin.c (bfin_cpus): Update silicon revisions. | |
11926 | ||
9b19b026 SH |
11927 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
11928 | ||
11929 | From Bernd Schmidt | |
11930 | * config/bfin/bfin.md (addsi3): Add an alternative for IREGS. | |
11931 | ||
502bc3df RO |
11932 | 2011-05-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11933 | ||
11934 | * config/alpha/alpha.h (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB) | |
11935 | (MIPS_UNMARK_STAB, SHASH_SIZE, THASH_SIZE, ALIGN_SYMTABLE_OFFSET): | |
11936 | Move ... | |
11937 | * mips-tfile.c: ... here. | |
11938 | Don't include coretypes.h, tm.h, filenames.h. | |
11939 | (saber_stop): Remove definition and all calls. | |
11940 | [__SABER__]: Remove. | |
11941 | (__LINE__): Remove default. | |
11942 | (Size_t, Ptrdiff_t): Remove definitions. | |
11943 | Replace by size_t, ptrdiff_t. | |
11944 | [!MIPS_DEBUGGING_INFO]: Remove. | |
11945 | (SHASH_SIZE, THASH_SIZE): Remove defaults. | |
11946 | (progname): Add const. | |
11947 | (STATIC): Remove. | |
11948 | Replace all uses by static. | |
11949 | (ALIGN_SYMTABLE_OFFSET): Remove default. | |
11950 | * mips-tdump.c: Don't include coretypes.h, tm.h. | |
11951 | Remove !MIPS_IS_STAB guard. | |
11952 | * Makefile.in (mips-tfile.o): Remove $(RTL_H), coretypes.h, | |
11953 | $(TM_H), filenames.h dependencies. | |
11954 | (mips-tdump.o): Remove $(RTL_H), coretypes.h, $(TM_H) dependencies. | |
11955 | ||
991eb6ef SH |
11956 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
11957 | ||
11958 | From Jie Zhang | |
11959 | *config/bfin/bfin.c (bfin_extra_live_on_entry): New. | |
11960 | (TARGET_EXTRA_LIVE_ON_ENTRY): Define. | |
11961 | ||
420ccc84 SH |
11962 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
11963 | ||
11964 | From Bernd Schmidt | |
11965 | * config/bfin/bfin.h (FUNCTION_PROFILER): Take TARGET_LONG_CALLS into | |
11966 | account and save/restore RETS. | |
11967 | (PROFILE_BEFORE_PROLOGUE): Define. | |
11968 | (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Add tab character. Correct | |
11969 | the push insn to use predecrement. | |
11970 | ||
9f8d69ee SH |
11971 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
11972 | ||
11973 | From Jie Zhang | |
11974 | * config/bfin/bfin.c (bfin_expand_prologue): Don't clobber P2. | |
11975 | ||
662c03f4 NC |
11976 | 2011-05-04 Nick Clifton <nickc@redhat.com> |
11977 | ||
11978 | * config/mn10300/mn10300.c: Include cfgloop.h. | |
11979 | (DUMP): New macro. | |
11980 | (mn10300_insert_setlb_lcc): New function. Inserts a SETLB and a | |
11981 | Lcc or a FLcc insn into the instruction stream. | |
11982 | (mn10300_block_contains_call): New function. Returns true if the | |
11983 | given basic block contains a CALL insn. | |
11984 | (mn10300_loop_contains_call_insn): New function. Returns true if | |
11985 | the given loop contains a CALL insn. | |
11986 | (mn10300_scan_for_setlb_lcc): New function. Finds opportunities | |
11987 | to use the SETLB and Lcc or FLcc insns. | |
11988 | (mn10300_reorg): Invoke mn10300_scan_for_setlb_lcc when optimizing. | |
11989 | (TARGET_FLAGS): Add MASK_ALLOW_SETLB. | |
11990 | * config/mn10300/mn10300.opt (msetlb): New option. Used to | |
11991 | disable the SETLB optimization. | |
11992 | * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Add | |
11993 | __SETLB__ or __NO_SETLB__. | |
11994 | * config/mn10300/mn10300.md (UNSPEC_SETLB): New constant. | |
11995 | (movsf_internal): Handle MDR register. | |
11996 | (cmpsi): Make visible. | |
11997 | (setlb): New pattern. | |
11998 | (Lcc): New pattern. | |
11999 | (FLcc): New pattern. | |
12000 | ||
843b6915 UB |
12001 | 2011-05-04 Uros Bizjak <ubizjak@gmail.com> |
12002 | ||
12003 | PR target/48860 | |
12004 | * config/i386/i386.md (*movdi_internal_rex64) Use %vmovd | |
12005 | for reg<->xmm moves. | |
12006 | * config/i386/sse.md (*vec_concatv2di_rex64_sse4_1): Ditto. | |
12007 | (vec_concatv2di_rex64_sse): Ditto. | |
12008 | (*sse2_storeq_rex64): Do not emit %v prefix for mov{q} mnemonic. | |
12009 | (*vec_extractv2di_1_rex64): Ditto. | |
12010 | ||
12011 | Revert: | |
12012 | 2011-05-02 Uros Bizjak <ubizjak@gmail.com> | |
12013 | ||
12014 | * config/i386/mmx.md (*mov<mode>_internal_rex64): Use %vmovq for | |
12015 | reg<->xmm moves. | |
12016 | (*movv2sf_internal_rex64): Use %vmovq for reg<->xmm moves. | |
12017 | ||
d35936ab RG |
12018 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
12019 | ||
12020 | * tree.h (int_const_binop): Remove notrunc argument. | |
12021 | * fold-const.c (int_const_binop): Remove notrunc argument. Always | |
12022 | create integer constants that are properly truncated. | |
12023 | (extract_muldiv_1): Expand one notrunc int_const_binop caller. | |
12024 | (const_binop): Remove zero notrunc argument to int_const_binop. | |
12025 | (size_binop_loc): Likewise. | |
12026 | (fold_div_compare): Likewise. | |
12027 | (maybe_canonicalize_comparison_1): Likewise. | |
12028 | (fold_comparison): Likewise. | |
12029 | (fold_binary_loc): Likewise. | |
12030 | (multiple_of_p): Likewise. | |
12031 | * expr.c (store_constructor): Likewise. | |
12032 | * gimple-fold.c (maybe_fold_offset_to_array_ref): Likewise. | |
12033 | (maybe_fold_stmt_addition): Likewise. | |
12034 | * ipa-prop.c (ipa_modify_call_arguments): Likewise. | |
12035 | * stor-layout.c (layout_type): Likewise. | |
12036 | * tree-data-ref.c (tree_fold_divides_p): Likewise. | |
12037 | * tree-sra.c (build_ref_for_offset): Likewise. | |
12038 | (build_user_friendly_ref_for_offset): Likewise. | |
12039 | * tree-ssa-address.c (maybe_fold_tmr): Likewise. | |
12040 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Likewise. | |
12041 | * tree-ssa-loop-niter.c (inverse): Likewise. | |
12042 | * tree-ssa-pre.c (create_component_ref_by_pieces_1): Likewise. | |
12043 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Likewise. | |
12044 | * tree-switch-conversion.c (check_range): Likewise. | |
12045 | (build_constructors): Likewise. | |
12046 | * tree-vect-generic.c (expand_vector_piecewise): Likewise. | |
12047 | * tree-vrp.c (set_and_canonicalize_value_range): Likewise. | |
12048 | (extract_range_from_assert): Likewise. | |
12049 | (vrp_int_const_binop): Likewise. | |
12050 | (extract_range_from_binary_expr): Likewise. | |
12051 | (extract_range_from_unary_expr): Likewise. | |
12052 | (check_array_ref): Likewise. | |
12053 | (find_case_label_range): Likewise. | |
12054 | (simplify_div_or_mod_using_ranges): Likewise. | |
12055 | * tree-cfg.c (group_case_labels_stmt): Use double-ints for | |
12056 | comparing case labels for merging. | |
12057 | ||
8992c063 MW |
12058 | 2011-05-03 Mark Wielaard <mjw@redhat.com> |
12059 | ||
12060 | * dwarf2out.c (debug_str_hash_forced): Removed. | |
12061 | (gen_label_for_indirect_string): Removed. | |
12062 | (get_debug_string_label): Removed. | |
12063 | (AT_string_form): Generate label directly. | |
12064 | (output_indirect_string): Test indirect_string_node for | |
12065 | DW_FORM_strp instead of checking label and refcount. | |
12066 | (prune_indirect_string): Removed. | |
12067 | (prune_unused_types): Don't check debug_str_hash_forced or | |
12068 | call prune_indirect_string. | |
12069 | ||
4868e6ea AO |
12070 | 2011-05-04 Alexandre Oliva <aoliva@redhat.com> |
12071 | ||
12072 | PR other/48093 | |
12073 | * doc/invoke.texi: Document -mtls-dialect and GCC_COMPARE_DEBUG. | |
12074 | ||
01a5c0ab AO |
12075 | 2011-05-04 Alexandre Oliva <aoliva@redhat.com> |
12076 | ||
12077 | PR debug/47994 | |
12078 | PR debug/47919 | |
12079 | * combine.c (try_combine): Skip debug insns at m_split tests. | |
12080 | ||
6ac00218 MW |
12081 | 2011-04-26 Mark Wielaard <mjw@redhat.com> |
12082 | ||
12083 | PR42288 | |
12084 | * dwarf2out.c (dwarf2out_finish): Always call output_aranges () | |
12085 | when info_section_emitted. | |
12086 | ||
3af42a7b JM |
12087 | 2011-05-03 Joseph Myers <joseph@codesourcery.com> |
12088 | ||
12089 | * config/mips/mips-opts.h: New. | |
12090 | * config/mips/mips.c (enum mips_r10k_cache_barrier_setting): Move | |
12091 | to mips-opts.h. | |
12092 | (mips_abi, mips_code_readable, mips_r10k_cache_barriee): Remove. | |
12093 | (mips_handle_option): Don't handle OPT_mabi_, OPT_mcode_readable_ | |
12094 | or OPT_mr10k_cache_barrier_ here. Access mips_cache_flush_func | |
12095 | via opts pointer. | |
12096 | * config/mips/mips.h (enum mips_code_readable_setting): Move to | |
12097 | mips-opts.h. | |
12098 | (mips_abi, mips_code_readable): Don't declare. | |
843b6915 | 12099 | * config/mips/mips.opt (config/mips/mips-opts.h): New HeaderInclude. |
3af42a7b JM |
12100 | (mabi=): Use Enum and Var. |
12101 | (mips_abi): New Enum and EnumValue entries. | |
12102 | (mcode-readable=): Use Enum and Var. | |
12103 | (mips_code_readable_setting): New Enum and EnumValue entries. | |
12104 | (mr10k-cache-barrier=): Use Enum and Var. | |
12105 | (mips_r10k_cache_barrier_setting): New Enum and EnumValue entries. | |
12106 | ||
1cb1a99f JH |
12107 | 2011-05-03 Jan Hubicka <jh@suse.cz> |
12108 | ||
12109 | * cgraph.h (cgraph_node_set_def, varpool_node_set_def): Move out of GTY; | |
12110 | replace hash by pointer map. | |
12111 | (cgraph_node_set_element_def, cgraph_node_set_element, | |
12112 | const_cgraph_node_set_element, varpool_node_set_element_def, | |
12113 | varpool_node_set_element, const_varpool_node_set_element): Remove. | |
12114 | (free_cgraph_node_set, free_varpool_node_set): New function. | |
12115 | (cgraph_node_set_size, varpool_node_set_size): Use vector size. | |
12116 | * tree-emutls.c: Free varpool node set. | |
12117 | * ipa-utils.c (cgraph_node_set_new, cgraph_node_set_add, | |
12118 | cgraph_node_set_remove, cgraph_node_set_find, dump_cgraph_node_set, | |
12119 | debug_cgraph_node_set, free_cgraph_node_set, varpool_node_set_new, | |
12120 | varpool_node_set_add, varpool_node_set_remove, varpool_node_set_find, | |
12121 | dump_varpool_node_set, free_varpool_node_set, debug_varpool_node_set): | |
12122 | Move here from ipa.c; implement using pointer_map | |
12123 | * ipa.c (cgraph_node_set_new, cgraph_node_set_add, | |
12124 | cgraph_node_set_remove, cgraph_node_set_find, dump_cgraph_node_set, | |
12125 | debug_cgraph_node_set, varpool_node_set_new, | |
12126 | varpool_node_set_add, varpool_node_set_remove, varpool_node_set_find, | |
12127 | dump_varpool_node_set, debug_varpool_node_set): | |
12128 | Move to ipa-uitls.c. | |
12129 | * passes.c (ipa_write_summaries): Update. | |
12130 | ||
7f31f4db SH |
12131 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
12132 | ||
7a2f7208 UB |
12133 | From Mike Frysinger: |
12134 | * config/bfin/bfin.c (bfin_cpus[]): Add 0.4 for | |
12135 | bf542/bf544/bf547/bf548/bf549. | |
7f31f4db | 12136 | |
b70fce6d UB |
12137 | 2011-05-03 Uros Bizjak <ubizjak@gmail.com> |
12138 | ||
12139 | * expmed.c (extract_bit_field_1): Remove write-only variable "icode". | |
12140 | ||
265b1d82 SH |
12141 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
12142 | ||
12143 | From Bernd Schmidt: | |
12144 | * config/bfin/bfin.md (MOVCC): New mode_macro. | |
12145 | (mov<mode>cc_insn1, mov<mode>cc_insn2, mov<mode>cc): Renamed from | |
12146 | movsicc_insn1, movsicc_insn2 and movsicc and macroized. Remove | |
12147 | comments from generated assembly. | |
12148 | ||
f0b568f3 SH |
12149 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
12150 | ||
12151 | From Bernd Schmidt | |
12152 | * config/bfin/t-bfin (LIB1ASMFUNCS): Add muldi3 and umulsi3_highpart. | |
12153 | * config/bfin/t-bfin-elf (LIB1ASMFUNCS): Add muldi3. | |
12154 | * config/bfin/t-bfin-linux (LIB1ASMFUNCS): Add muldi3. | |
12155 | * config/bfin/t-bfin-uclinux (LIB1ASMFUNCS): Add muldi3. | |
12156 | * config/bfin/lib1funcs.asm (___muldi3): New function. | |
12157 | ||
2c67cf6e NF |
12158 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
12159 | ||
12160 | * config/stormy16/stormy16 (xstormy16_init_builtins): Call | |
12161 | build_function_type_list instead of build_function_type. | |
12162 | Rearrange initialization of `args' to do so. | |
12163 | ||
f9ac28ad NF |
12164 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
12165 | ||
12166 | * config/i386/i386.c (ix86_code_end): Call build_function_type_list | |
12167 | instead of build_function_type. | |
12168 | ||
22b8798c NF |
12169 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
12170 | ||
12171 | * config/rs6000/rs6000.c (spe_init_builtins): Call | |
12172 | build_function_type_list instead of build_function_type. | |
12173 | (paired_init_builtins, altivec_init_builtins): Likewise. | |
12174 | (builtin_function_type): Likewise. | |
12175 | ||
4cb44528 NF |
12176 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
12177 | ||
12178 | * config/sh/sh.c (sh_media_init_builtins): Call | |
12179 | build_function_type_list instead of build_function_type. | |
12180 | ||
4c203a6a NF |
12181 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
12182 | ||
12183 | * config/sparc/sparc.c (sparc_file_end): Call | |
12184 | build_function_type_list instead of build_function_type. | |
12185 | ||
d6a3d62b NF |
12186 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
12187 | ||
12188 | * config/alpha/alpha.c (alpha_init_builtins): Call | |
12189 | build_function_type_list instead of build_function_type. | |
12190 | ||
de530b86 NF |
12191 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
12192 | ||
12193 | * config/xtensa/xtensa.c (xtensa_init_builtins): Call | |
12194 | build_function_type_list instead of build_function_type. | |
12195 | ||
baeec5f2 NF |
12196 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
12197 | ||
12198 | * config/iq2000/i2000.c (iq2000_init_builtins): Call | |
12199 | build_function_type_list instead of build_function_type. | |
12200 | Delete `endlink' variable. | |
12201 | ||
c19afe52 NF |
12202 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
12203 | ||
12204 | * config/avr/avr.c (avr_init_builtins): Call | |
12205 | build_function_type_list instead of build_function_type. | |
12206 | ||
a341df0a NF |
12207 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
12208 | ||
12209 | * config/picochip/picochip.c (picochip_init_builtins): Call | |
12210 | build_function_type_list instead of build_function_type. | |
12211 | Delete `endlink' variable. | |
12212 | ||
2102b1e1 NF |
12213 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
12214 | ||
12215 | * config/bfin/bfin.c (bfin_init_builtins): Call | |
12216 | build_function_type_list instead of build_function_type. | |
12217 | ||
9f111209 SH |
12218 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
12219 | ||
12220 | From Bernd Schmidt | |
12221 | * config/bfin/bfin.md (rotrsi, rotlsi): Don't take INTVAL of anything | |
12222 | that's not CONST_INT. Seemingly redundant check is due to PR39768. | |
12223 | ||
7071d064 SH |
12224 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
12225 | ||
12226 | From Jie Zhang: | |
12227 | * config/bfin/uclinux.h (LINK_GCC_C_SEQUENCE_SPEC): Make sure | |
12228 | libbffastfp overrides libgcc when -mfast-fp. | |
12229 | ||
748f7574 | 12230 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
44fb48ef SH |
12231 | |
12232 | Originally from Bernd Schmidt | |
12233 | * config/bfin/uclinux.h (SUBTARGET_FDPIC_NOT_SUPPORTED): New macro. | |
12234 | * config/bfin/bfin.c (override_options): Test it and error if | |
12235 | TARGET_FDPIC. | |
12236 | ||
1a3a9152 SH |
12237 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
12238 | ||
12239 | Originally From Bernd Schmidt | |
12240 | * config/bfin/bfin.c (override_options): Disable -fstack-limit for | |
12241 | FD-PIC. | |
12242 | ||
7134c090 JL |
12243 | 2011-05-03 Jeff Law <law@redhat.com> |
12244 | ||
12245 | * tree-ssa-threadupdate.c (THREAD_TARGET): define. | |
12246 | (remove_ctrl_stmt_and_useless_edges): Clear AUX field of outgoing edges. | |
12247 | (craete_edge_and_update_destination_phis): Use THREAD_TARGET rather | |
b70fce6d UB |
12248 | than accessing AUX field directly. Free the AUX field before |
12249 | clearing it. | |
7134c090 JL |
12250 | (thread_block, thread_through_loop_header): Likewise. |
12251 | (thread_single_edge, mark_threaded_blocks): Likewise. | |
12252 | (redirect_edges): Delay clearing the AUX field. Free the AUX field. | |
12253 | (register_jump_thread): Do not attempt to thread to a NULL edge. | |
b70fce6d | 12254 | |
2c7eebae BS |
12255 | 2011-05-03 Bernd Schmidt <bernds@codesourcery.com> |
12256 | ||
12257 | * function.c (init_function_start): Call decide_function_section. | |
12258 | * varasm.c (decide_function_section): New function. | |
12259 | (assemble_start_function): When not using | |
12260 | flag_reorder_blocks_and_partition, don't compute in_cold_section_p | |
12261 | or first_function_block_is_cold. | |
12262 | * rtl.h (decide_function_section): Declare. | |
12263 | ||
17038fcf JJ |
12264 | 2011-05-03 Uros Bizjak <ubizjak@gmail.com> |
12265 | Jakub Jelinek <jakub@redhat.com> | |
12266 | ||
12267 | PR target/48774 | |
12268 | * config/i386/i386.c (ix86_match_ccmode): For CC{A,C,O,S}mode | |
12269 | only succeed if req_mode is the same as set_mode. | |
12270 | ||
3810076b BS |
12271 | 2011-05-03 Bernd Schmidt <bernds@codesourcery.com> |
12272 | ||
12273 | * gengenrtl.c (special_rtx): PC, CC0 and RETURN are special. | |
12274 | * genemit.c (gen_exp): Handle RETURN. | |
12275 | * emit-rtl.c (verify_rtx_sharing): Likewise. | |
12276 | (init_emit_regs): Create pc_rtx, ret_rtx and cc0_rtx specially. | |
12277 | * rtl.c (copy_rtx): RETURN is shared. | |
12278 | * rtl.h (enum global_rtl_index): Add GR_RETURN. | |
12279 | (ret_rtx): New. | |
12280 | * jump.c (redirect_exp_1): Don't use gen_rtx_RETURN. | |
12281 | * config/s390/s390.c (s390_emit_epilogue): Likewise. | |
12282 | * config/rx/rx.c (gen_rx_rtsd_vector): Likewise. | |
12283 | * config/cris/cris.c (cris_expand_return): Likewise. | |
12284 | * config/m68k/m68k.c (m68k_expand_epilogue): Likewise. | |
12285 | * config/rs6000/rs6000.c (rs6000_make_savres_rtx, | |
12286 | rs6000_emit_epilogue, rs6000_output_mi_thunk): Likewise. | |
12287 | * config/picochip/picochip.c (picochip_expand_epilogue): Likewise. | |
12288 | * config/h8300/h8300.c (h8300_push_pop, h8300_expand_epilogue): | |
12289 | Likewise. | |
12290 | * config/v850/v850.c (expand_epilogue): Likewise. | |
12291 | * config/bfin/bfin.c (bfin_expand_call): Likewise. | |
12292 | * config/arm/arm.md (epilogue): Likewise. | |
12293 | * config/mn10300/mn10300.c (mn10300_expand_epilogue): Likewise. | |
12294 | * config/sparc/sparc.c (sparc_struct_value_rtx): Rename ret_rtx | |
12295 | variable to ret_reg. | |
12296 | ||
9efdb4ad RG |
12297 | 2011-05-03 Richard Guenther <rguenther@suse.de> |
12298 | ||
12299 | PR lto/48846 | |
12300 | * lto-streamer-in.c (unpack_ts_decl_common_value_fields): | |
12301 | Stream decl_common.off_align instead of the derived DECL_OFFSET_ALIGN. | |
12302 | * lto-streamer-out.c (pack_ts_decl_common_value_fields): Likewise. | |
12303 | ||
60a45536 RG |
12304 | 2011-05-03 Richard Guenther <rguenther@suse.de> |
12305 | ||
12306 | * c-decl.c (grokdeclarator): Instead of looking at | |
12307 | TREE_OVERFLOW check if the constant fits in the index type. | |
12308 | ||
3188ed59 RS |
12309 | 2011-05-03 Richard Sandiford <richard.sandiford@linaro.org> |
12310 | ||
12311 | * config/arm/neon.md (vec_load_lanes<mode><mode>): New expanders, | |
12312 | (vec_store_lanes<mode><mode>): Likewise. | |
12313 | ||
272c6793 RS |
12314 | 2011-05-03 Richard Sandiford <richard.sandiford@linaro.org> |
12315 | ||
12316 | * doc/md.texi (vec_load_lanes, vec_store_lanes): Document. | |
12317 | * optabs.h (COI_vec_load_lanes, COI_vec_store_lanes): New | |
12318 | convert_optab_index values. | |
12319 | (vec_load_lanes_optab, vec_store_lanes_optab): New convert optabs. | |
12320 | * genopinit.c (optabs): Initialize the new optabs. | |
12321 | * internal-fn.def (LOAD_LANES, STORE_LANES): New internal functions. | |
12322 | * internal-fn.c (get_multi_vector_move, expand_LOAD_LANES) | |
12323 | (expand_STORE_LANES): New functions. | |
12324 | * tree.h (build_array_type_nelts): Declare. | |
12325 | * tree.c (build_array_type_nelts): New function. | |
12326 | * tree-vectorizer.h (vect_model_store_cost): Add a bool argument. | |
12327 | (vect_model_load_cost): Likewise. | |
12328 | (vect_store_lanes_supported, vect_load_lanes_supported) | |
12329 | (vect_record_strided_load_vectors): Declare. | |
12330 | * tree-vect-data-refs.c (vect_lanes_optab_supported_p) | |
12331 | (vect_store_lanes_supported, vect_load_lanes_supported): New functions. | |
12332 | (vect_transform_strided_load): Split out statement recording into... | |
12333 | (vect_record_strided_load_vectors): ...this new function. | |
12334 | * tree-vect-stmts.c (create_vector_array, read_vector_array) | |
12335 | (write_vector_array, create_array_ref): New functions. | |
12336 | (vect_model_store_cost): Add store_lanes_p argument. | |
12337 | (vect_model_load_cost): Add load_lanes_p argument. | |
12338 | (vectorizable_store): Try to use store-lanes functions for | |
12339 | interleaved stores. | |
12340 | (vectorizable_load): Likewise load-lanes and loads. | |
12341 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Update call | |
12342 | to vect_model_store_cost. | |
12343 | (vect_build_slp_tree): Likewise vect_model_load_cost. | |
12344 | ||
0f6d54f7 RS |
12345 | 2011-05-03 Richard Sandiford <richard.sandiford@linaro.org> |
12346 | ||
12347 | * hooks.h (hook_bool_mode_uhwi_false): Declare. | |
12348 | * hooks.c (hook_bool_mode_uhwi_false): New function. | |
12349 | * target.def (array_mode_supported_p): New hook. | |
12350 | * doc/tm.texi.in (TARGET_ARRAY_MODE_SUPPORTED_P): Add @hook. | |
12351 | * doc/tm.texi: Regenerate. | |
12352 | * stor-layout.c (mode_for_array): New function. | |
12353 | (layout_type): Use it. | |
12354 | * config/arm/arm.c (arm_array_mode_supported_p): New function. | |
12355 | (TARGET_ARRAY_MODE_SUPPORTED_P): Define. | |
12356 | ||
b15eacc7 EB |
12357 | 2011-05-03 Eric Botcazou <ebotcazou@adacore.com> |
12358 | ||
12359 | PR target/48723 | |
12360 | * config/i386/i386.c (ix86_expand_prologue): Do not probe the stack | |
12361 | for -fstack-check if the size to allocate is negative. | |
12362 | ||
575bfb00 LC |
12363 | 2011-05-02 Lawrence Crowl <crowl@google.com> |
12364 | ||
12365 | * timevar.h (timevar_cond_start): Remove unused POP_TIMEVAR_AND_RETURN. | |
12366 | (timevar_cond_start): New for starting a timer only when it is not | |
12367 | already running. | |
12368 | (timevar_cond_stop): New for stopping a timer when it was not already | |
12369 | running. | |
12370 | ||
12371 | * timevar.c (timevar_stop): Enable start/stop timers to start again. | |
12372 | (timevar_cond_start): New as above. | |
12373 | (timevar_cond_stop): New as above. | |
12374 | ||
12375 | * timevar.def: Add start/stop timers for compiler phases, | |
12376 | TV_PHASE_SETUP, TV_PHASE_PARSING, TV_PHASE_DEFERRED, TV_PHASE_CGRAPH, | |
12377 | TV_PHASE_DBGINFO (C), TV_PHASE_CHECK_DBGINFO (C++), TV_PHASE_GENERATE, | |
12378 | and TV_PHASE_FINALIZE. | |
12379 | Change push/pop timer TV_PARSE to TV_PARSE_GLOBAL. | |
12380 | Add push/pop timers TV_PARSE_STRUCT, TV_PARSE_ENUM, TV_PARSE_FUNC, | |
12381 | TV_PARSE_INLINE, TV_PARSE_INMETH, TV_TEMPLATE_INST. | |
12382 | Change push/pop timer TV_NAME_LOOKUP into a start/stop timer. | |
12383 | Make unused TV_OVERLOAD into a start/stop timer. | |
12384 | ||
12385 | Remove unused timers TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION. | |
12386 | Mark the strings for TV_NAME_LOOKUP and TV_OVERLOAD with a "|" | |
12387 | to indicate that they are start/stop timers. | |
12388 | ||
12389 | * toplev.c (compile_file): Change TV_PARSE to TV_PARSE_GLOBAL. | |
12390 | Add start/stop timers TV_PHASE_PARSING and TV_PHASE_GENERATE. | |
12391 | Move initialization to do_compile. | |
12392 | (do_compile): Add initialization from above. | |
12393 | Add start/stop timers TV_PHASE_SETUP and TV_PHASE_FINALIZE. | |
12394 | ||
12395 | * c-decl.c (c_write_global_declarations): Add start/stop of | |
12396 | TV_PHASE_DEFERRED, TV_PHASE_CGRAPH, TV_PHASE_DBGINFO. | |
12397 | ||
12398 | * c-parser.c (c_parser_declaration_or_fndef): Push/pop TV_PARSE_FUNC | |
12399 | or TV_PARSE_INLINE, as appropriate. | |
12400 | (c_parser_enum_specifier): Push/pop TV_PARSE_ENUM. | |
12401 | (c_parser_struct_or_union_specifier): Push/pop TV_PARSE_STRUCT. | |
12402 | ||
3533b943 JM |
12403 | 2011-05-02 Jason Merrill <jason@redhat.com> |
12404 | ||
12405 | PR c++/40975 | |
12406 | * tree-inline.c (copy_tree_r): Handle STATEMENT_LIST. | |
12407 | ||
2609a0ce SM |
12408 | 2011-05-02 Simon Martin <simartin@users.sourceforge.net> |
12409 | ||
12410 | PR c/35445 | |
12411 | * c-decl.c (finish_decl): Only create a composite if the types are | |
12412 | compatible. | |
12413 | ||
6b0e4cbb JM |
12414 | 2011-05-02 Joseph Myers <joseph@codesourcery.com> |
12415 | ||
12416 | * config/fr30/fr30-protos.h (Mmode): Don't define. | |
12417 | * config/m32r/m32r-protos.h (Mmode): Don't define. Expand | |
12418 | definition where used. | |
12419 | * config/mn10300/mn10300-protos.h (Mmode, Cstar, Rclas): Don't | |
12420 | define. Expand definitions where used. | |
12421 | * config/rx/rx-protos.h (Mmode, Fargs, Rcode): Don't define. | |
12422 | Expand definitions where used. | |
12423 | * config/rx/rx.c (rx_is_legitimate_address, rx_function_arg_size, | |
12424 | rx_function_arg, rx_function_arg_advance, | |
12425 | rx_function_arg_boundary): Expand definitions of those macros. | |
12426 | * config/v850/v850-protos.h (Mmode): Don't define. Expand | |
12427 | definition where used. | |
12428 | ||
4e938ce6 UB |
12429 | 2011-05-02 Uros Bizjak <ubizjak@gmail.com> |
12430 | ||
12431 | * config/i386/mmx.md (*mov<mode>_internal_rex64): Use %vmovq for | |
12432 | reg<->xmm moves. | |
12433 | (*mov<mode>_internal): Merge with *mov<mode>_internal_avx. | |
12434 | (*movv2sf_internal_rex64): Use %vmovq for reg<->xmm moves. Merge | |
12435 | with *movv2sf_internal_rex64_avx. | |
12436 | (*movv2sf_internal): Merge with *movv2sf_internal_avx. | |
12437 | * config/i386/i386.md (*movdi_internal_rex64) <TYPE_SSEMOV>: | |
12438 | Use %v prefix in insn mnemonic to handle TARGET_AVX. | |
12439 | (*movdi_internal): Add "isa" attribute. Use "maybe_vex" instead of | |
12440 | "vex" in "prefix" attribute calculation. | |
12441 | (*movdf_internal): Output AVX mnemonics. Add "prefix" attribute. | |
12442 | ||
36019c19 SH |
12443 | 2011-05-02 Stuart Henderson <shenders@gcc.gnu.org> |
12444 | ||
7a2f7208 UB |
12445 | PR target/47951 |
12446 | * config/bfin/bfin.md (loop_end): Use matching constraints to ensure | |
12447 | inputs match the output. | |
36019c19 | 12448 | |
f69ea688 AS |
12449 | 2011-05-02 Andreas Schwab <schwab@linux-m68k.org> |
12450 | ||
12451 | PR target/47955 | |
12452 | * config/m68k/m68k.c (m68k_expand_prologue): Set | |
12453 | current_function_static_stack_size. | |
12454 | ||
c33406f5 JH |
12455 | 2011-05-02 Jan Hubicka <jh@suse.cz> |
12456 | ||
12457 | * lto-streamer.c (lto_streamer_cache_insert_1, | |
12458 | lto_streamer_cache_lookup, lto_streamer_cache_create, | |
12459 | lto_streamer_cache_delete): Use pointer map instead of hashtable. | |
12460 | * lto-streamer.h (lto_streamer_cache_d): Turn node_map into pointer_map. | |
12461 | ||
47c94d21 JM |
12462 | 2011-05-02 Joseph Myers <joseph@codesourcery.com> |
12463 | ||
12464 | * config/m68k/genopt.sh, config/m68k/m68k-isas.def, | |
12465 | config/m68k/m68k-microarchs.def, config/m68k/m68k-opts.h, | |
12466 | config/m68k/t-opts: New files. | |
12467 | * config/m68k/m68k-tables.opt: New file (generated). | |
12468 | * config.gcc (fido-*-*, m68k-*-*): Add m68k/m68k-tables.opt to | |
12469 | extra_options and m68k/t-opts to tmake_file. | |
12470 | * config/m68k/m68k.c (m68k_library_id_string): More to m68k.opt. | |
12471 | (all_isas): Initialize using m68k-isas.def. | |
12472 | (all_microarchs): Initialize using m68k-microarchs.def. | |
12473 | (m68k_find_selection): Remove. | |
12474 | (m68k_handle_option): Don't assert that global structures are in | |
12475 | use. Use error_at. Access variables via opts pointer. Don't | |
12476 | handle -march=, -mcpu= and -mtune= here. Set gcc_options fields | |
12477 | directly for -m68020-40 and -m68020-60. | |
12478 | (m68k_option_override): Set m68k_arch_entry, m68k_cpu_entry and | |
12479 | m68k_tune_entry here. | |
12480 | * config/m68k/m68k.h (enum uarch_type, enum target_device): Move | |
12481 | to m68k-opts.h. | |
12482 | (m68k_library_id_string): Remove declaration. | |
4e938ce6 | 12483 | * config/m68k/m68k.opt (config/m68k/m68k-opts.h): New HeaderInclude. |
47c94d21 JM |
12484 | (m68k_library_id_string): New Variable. |
12485 | (march=, mcpu=, mtune=): Use Enum and Var. | |
12486 | ||
e562bf36 RG |
12487 | 2011-05-02 Richard Guenther <rguenther@suse.de> |
12488 | ||
12489 | * varasm.c (output_constructor_regular_field): Compute zero-based | |
12490 | index with double-ints. Make sure to ICE instead of producing | |
12491 | wrong code. | |
12492 | * cgraph.c (cgraph_add_thunk): Do not create new tree nodes | |
12493 | in asserts. Properly use a signed type. | |
12494 | ||
6bec6c98 UB |
12495 | 2011-05-02 Uros Bizjak <ubizjak@gmail.com> |
12496 | ||
12497 | * config/i386/sse.md (V): New mode iterator. | |
12498 | (V_128): Rename from SSEMODE. Make V2DF mode conditional on | |
12499 | TARGET_SSE2. | |
12500 | (V_256): Rename from AVX256MODE. | |
12501 | (VF): Make V4SF mode unconditional. Add TARGET_SSE instruction | |
12502 | condition to all users. | |
12503 | (VF1): Ditto. | |
12504 | (VF2): Make V2DF mode unconditional. Add TARGET_SSE2 instruction | |
12505 | condition to all users. | |
12506 | (VF_128): Make V4SF mode unconditional. | |
12507 | (VF_256): Rename from AVX256MODEF2P. | |
12508 | (VI4F_128): Rename from SSEMODE4S. | |
12509 | (VI8F_128): Rename from SSEMODE2D. | |
12510 | (VI4F_256): Rename from AVX256MODE8P. | |
12511 | (VI8F_256): Rename from AVX256MODE4P. | |
12512 | (avxsizesuffix): Add V16HI, V4DI, V8HI and V2DI modes. | |
12513 | (ssescalarmodesuffix): Remove SF and DF modes. | |
12514 | (SSEMODE124): Remove. | |
12515 | (SSEMODE1248): Ditto. | |
12516 | (SSEMODEF2P): Ditto. | |
12517 | (AVXMODEF2P): Ditto. | |
12518 | (AVXMODEFDP): Ditto. | |
12519 | (AVXMODEFSP): Ditto. | |
12520 | (VEC_EXTRACT_MODE): Make V16QI, V8HI, V4SI, V2DI, V4SF and V2DF modes | |
12521 | unconditional. | |
12522 | (VEC_EXTRACT_EVENODD_MODE): Rename from SSEMODE_EO. Make V4SF mode | |
12523 | unconditional. | |
12524 | (xop_pcmov_<mode><avxsizesuffix>): Merge from xop_pcmov_<mode> and | |
12525 | xop_pcmov_<mode>256. Use V mode iterator. | |
12526 | ||
12527 | Adjust RTX patterns globally for renamed mode attributes. | |
12528 | ||
2dfdcb4b UW |
12529 | 2011-05-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
12530 | ||
12531 | * haifa-sched.c (sched_emit_insn): Emit insn before first | |
12532 | non-scheduled insn. Inform back-end about new insn. Add | |
12533 | new insn to scheduled_insns list. | |
12534 | ||
90bc4623 RG |
12535 | 2011-05-02 Richard Guenther <rguenther@suse.de> |
12536 | ||
12537 | PR tree-optimization/48822 | |
12538 | * tree-ssa-sccvn.c (set_ssa_val_to): Never go up the lattice. | |
12539 | (process_scc): Indicate which iteration we start. | |
12540 | ||
bc0fe8cb JH |
12541 | 2011-05-02 Jan Hubicka <jh@suse.cz> |
12542 | ||
12543 | * lto-section-in.c (lto_input_1_unsigned): Move to lto-streamer.h | |
12544 | (lto_section_overrun): New. | |
12545 | * lto-section-out.c (append_block): Rename to ... | |
12546 | (lto_append_block): ... this one; export. | |
12547 | (lto_output_1_stream): Move lto lto-streamer.h | |
12548 | (lto_output_data_stream): Update. | |
12549 | * lto-streamer.h (lto_section_overrun, lto_append_block): Declare. | |
12550 | (lto_output_1_stream, lto_input_1_unsigned): Turn into inline | |
12551 | functions. | |
12552 | ||
f070a9d1 RG |
12553 | 2011-05-02 Richard Guenther <rguenther@suse.de> |
12554 | ||
12555 | * tree.c (tree_code_counts): New global array. | |
12556 | (record_node_allocation_statistics): Count individual tree codes. | |
12557 | (dump_tree_statistics): Dump individual code stats. | |
12558 | ||
09dfe187 JH |
12559 | 2011-05-01 Jan Hubicka <jh@suse.cz> |
12560 | ||
12561 | * ipa-inline.c (caller_growth_limits): Fix thinko when | |
12562 | looking for largest stack frame. | |
12563 | * ipa-inline.h (dump_inline_summary): Declare. | |
12564 | * ipa-inline-analysis.c (dump_inline_edge_summary): Dump info | |
12565 | on stack usage. | |
12566 | (dump_inline_summary): Export. | |
12567 | (debug_inline_summary): Declare as DEBUG_FUNCTION. | |
12568 | ||
6f76a878 AS |
12569 | 2011-05-01 Anatoly Sokolov <aesok@post.ru> |
12570 | ||
12571 | * reginfo.c (memory_move_cost): Change rclass argument type form | |
12572 | 'enum reg_class' to reg_class_t. | |
12573 | * reload.h (memory_move_cost): Update prototype. | |
12574 | * postreload.c reload_cse_simplify_set): Change type dclass var to | |
12575 | reg_class_t. | |
12576 | * ira-int.h (ira_allocate_cost_vector, ira_free_cost_vector): | |
12577 | Update prototype. | |
12578 | (ira_allocate_and_set_costs): Change aclass argument type form | |
12579 | 'enum reg_class' to reg_class_t. | |
6bec6c98 | 12580 | * ira-build.c (ira_allocate_cost_vector, ira_free_cost_vector): |
6f76a878 AS |
12581 | Change aclass argument type to reg_class_t. |
12582 | (update_conflict_hard_reg_costs): Change type aclass and pref vars | |
12583 | to reg_class_t. | |
12584 | * gcc/ira.c (setup_class_subset_and_memory_move_costs): Adjust | |
12585 | memory_move_cost call. | |
12586 | ||
12587 | * config/ia64/ia64.c (ia64_register_move_cost): Remove 'from' and | |
12588 | 'to' local var. Rename from_i and to_i arguments to 'from' and 'to'. | |
12589 | Change type tmp var to reg_class_t. | |
12590 | ||
9a4ac625 JH |
12591 | 2011-04-30 Jan Hubicka <jh@suse.cz> |
12592 | ||
12593 | * ipa-inline.c (can_inline_edge_p): Disregard limits when | |
12594 | inlining into function with flatten attribute. | |
12595 | (want_inline_small_function_p): Be more realistic about inlining | |
12596 | cold calls where callee size grows. | |
12597 | ||
dd8352ee JH |
12598 | 2011-04-30 Jan Hubicka <jh@suse.cz> |
12599 | ||
12600 | * cgraph.c (cgraph_create_virtual_clone): Clear constructor/destructor | |
12601 | flags. | |
12602 | ||
46e43d2b AS |
12603 | 2011-04-30 Anatoly Sokolov <aesok@post.ru> |
12604 | ||
12605 | * config/sparc/sparc.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS, | |
12606 | PRINT_OPERAND_PUNCT_VALID_P): Remove. | |
12607 | * config/sparc/sparc-protos.h (print_operand): Remove declaration. | |
12608 | * config/sparc/sparc.c (TARGET_PRINT_OPERAND_PUNCT_VALID_P, | |
12609 | TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
12610 | (print_operand): Rename to... | |
12611 | (sparc_print_operand): ...this. Make static. Adjust | |
12612 | sparc_print_operand function call. | |
12613 | (sparc_print_operand_punct_valid_p, sparc_print_operand_address): New | |
12614 | functions. | |
12615 | ||
ecb62563 JH |
12616 | 2011-04-30 Jan Hubicka <jh@suse.cz> |
12617 | ||
6bec6c98 | 12618 | PR middle-end/48752 |
ecb62563 JH |
12619 | * ipa-inline.c (early_inliner): Disable when doing late |
12620 | addition of function. | |
12621 | ||
edb9b69e JJ |
12622 | 2011-04-30 Jakub Jelinek <jakub@redhat.com> |
12623 | ||
be80a87e JJ |
12624 | * dwarf2out.c (get_address_mode): New inline. |
12625 | (mem_loc_descriptor): Add MEM_MODE parameter, adjust recursive calls, | |
12626 | if not dwarf_strict emit | |
12627 | DW_OP_GNU_{{const,regval,deref}_type,convert,reinterpret} when | |
12628 | desirable. Handle FLOAT_EXTEND, FLOAT_TRUNCATE, FLOAT, | |
12629 | UNSIGNED_FLOAT, FIX and UNSIGNED_FIX. Just return NULL for | |
12630 | FMA, STRICT_LOW_PART, CONST_VECTOR and CONST_FIXED. | |
12631 | (dwarf2out_frame_debug_cfa_expression, reg_loc_descriptor, | |
12632 | dw_loc_list_1, cst_pool_loc_descr, loc_list_from_tree): Adjust | |
12633 | mem_loc_descriptor callers. | |
12634 | (dwarf_stack_op_name, size_of_loc_descr, output_loc_operands, | |
12635 | output_loc_operands_raw, hash_loc_operands, compare_loc_operands): | |
12636 | Handle DW_OP_GNU_const_type, DW_OP_GNU_regval_type, | |
12637 | DW_OP_GNU_deref_type, DW_OP_GNU_convert and DW_OP_GNU_reinterpret. | |
12638 | (base_types): New variable. | |
12639 | (get_base_type_offset, calc_base_type_die_sizes, | |
12640 | base_type_for_mode, mark_base_types, base_type_cmp, | |
12641 | move_marked_base_types): New functions. | |
12642 | (calc_die_sizes): Assert that die_offset is 0 or equal to | |
12643 | next_die_offset. | |
12644 | (loc_descriptor): Only handle here lowpart SUBREGs of REG, for | |
12645 | others defer to mem_loc_descriptor. Adjust mem_loc_descriptor | |
12646 | callers. If not dwarf_strict, call mem_loc_descriptor even for | |
12647 | non-MODE_INT modes or MODE_INT modes larger than DWARF2_ADDR_SIZE. | |
12648 | (gen_subprogram_die): Don't give up on call site parameters | |
12649 | with non-integral or large integral modes. Adjust | |
12650 | mem_loc_descriptor callers. | |
12651 | (prune_unused_types): Call prune_unused_types_mark on base_types | |
12652 | vector entries. | |
12653 | (resolve_addr): Call mark_base_types. | |
12654 | (dwarf2out_finish): Call move_marked_base_types. | |
12655 | ||
edb9b69e JJ |
12656 | PR tree-optimization/48809 |
12657 | * tree-switch-conversion.c (build_arrays): Compute tidx in unsigned | |
12658 | type. | |
12659 | (gen_inbound_check): Don't compute index_expr - range_min in utype | |
12660 | again, instead reuse SSA_NAME initialized in build_arrays. | |
12661 | Remove two useless gsi_for_stmt calls. | |
12662 | ||
a6545a3d JL |
12663 | 2011-04-29 Jeff Law <law@redhat.com> |
12664 | ||
12665 | * tree-ssa-threadedge.c (thread_across_edge): Add missing return. | |
12666 | ||
af8bca3c MJ |
12667 | 2011-04-29 Martin Jambor <mjambor@suse.cz> |
12668 | ||
12669 | * cgraph.h (cgraph_postorder): Remove declaration. | |
12670 | * ipa-utils.h (ipa_free_postorder_info): Declare. | |
12671 | (ipa_reverse_postorder): Likewise. | |
12672 | * cgraphunit.c: Include ipa-utils.h. | |
12673 | (cgraph_expand_all_functions): Update call to ipa_reverse_postorder. | |
12674 | * ipa-inline.c: Include ipa-utils.h. | |
12675 | (ipa_inline): Update call to ipa_reverse_postorder. | |
12676 | * ipa-pure-const.c (propagate_pure_const): Update call to | |
12677 | ipa_reduced_postorder and ipa_print_order. Call | |
12678 | ipa_free_postorder_info to clean up. | |
12679 | (propagate_nothrow): Likewise. | |
12680 | * ipa-reference.c (propagate): Removed a useless call to | |
12681 | ipa_utils_reduced_inorder, updated a call to ipa_reduced_postorder | |
12682 | and ipa_print_order. Call ipa_free_postorder_info to clean up. | |
12683 | * ipa.c: Include ipa-utils.h. | |
12684 | (ipa_profile): Update call to ipa_reverse_postorder. | |
12685 | (cgraph_postorder): Moved to... | |
12686 | * ipa-utils.c (ipa_reverse_postorder): ...here and renamed. | |
12687 | (ipa_utils_print_order): Renamed to ipa_print_order. | |
12688 | (ipa_utils_reduced_inorder): Renamed to ipa_reduced_postorder. Updated | |
12689 | comments. | |
12690 | (ipa_free_postorder_info): New function. | |
12691 | * passes.c: Include ipa-utils.h. | |
12692 | (do_per_function_toporder): Update call to ipa_reverse_postorder. | |
12693 | (ipa_write_summaries): Likewise. | |
12694 | * Makefile.in (passes.o): Add IPA_UTILS_H to dependencies. | |
12695 | (cgraphunit.o): Likewise. | |
12696 | (ipa.o): Likewise. | |
12697 | (ipa-inline.o): Likewise. | |
12698 | ||
b15c64ee JH |
12699 | 2011-04-29 Jan Hubicka <jh@suse.cz> |
12700 | ||
12701 | * gcc.dg/tree-ssa/inline-10.c: New testcase. | |
12702 | * gcc.dg/tree-ssa/inline-9.c: Disable partial inlining. | |
12703 | * ipa-inline.h (clause_t): Turn into unsigned int. | |
12704 | * ipa-inline-analysis.c (add_clause): Do more simplification. | |
12705 | (and_predicates): Shortcut more cases. | |
12706 | (predicates_equal_p): Move forward; check that clauses are properly | |
12707 | ordered. | |
12708 | (or_predicates): Shortcut more cases. | |
12709 | (edge_execution_predicate): Rewrite as... | |
12710 | (set_cond_stmt_execution_predicate): ... this function; handle | |
12711 | __builtin_constant_p. | |
12712 | (set_switch_stmt_execution_predicate): New . | |
12713 | (compute_bb_predicates): New. | |
12714 | (will_be_nonconstant_predicate): Update TODO. | |
12715 | (estimate_function_body_sizes): Use compute_bb_predicates | |
12716 | and free them later, always try to estimate if stmt is constant. | |
12717 | (estimate_time_after_inlining, estimate_size_after_inlining): | |
12718 | Gracefully handle optimized out edges. | |
12719 | (read_predicate): Fix off by one error. | |
12720 | ||
a88fdc2a NP |
12721 | 2011-04-29 Nicola Pero <nicola.pero@meta-innovation.com> |
12722 | ||
12723 | * Makefile.in (ENABLE_MAINTAINER_RULES): New. | |
12724 | ||
d984c8ef XDL |
12725 | 2011-04-27 Xinliang David Li <davidxl@google.com> |
12726 | ||
12727 | * tree-profile.c (init_ic_make_global_vars): Set | |
12728 | tls attribute on ic vars. | |
12729 | * coverage.c (coverage_end_function): Initialize | |
12730 | function_list with zero. | |
12731 | ||
45a2c477 RG |
12732 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
12733 | ||
12734 | * builtins.c (fold_builtin_classify_type): Use integer_type_node | |
12735 | for the type of the result. | |
12736 | (fold_builtin_isascii): Likewise. | |
12737 | (fold_builtin_toascii): Use integer_type_node where appropriate. | |
12738 | (fold_builtin_logb): Likewise. | |
12739 | (fold_builtin_frexp): Likewise. | |
12740 | (fold_builtin_strstr): Likewise. | |
12741 | (fold_builtin_strpbrk): Likewise. | |
12742 | (fold_builtin_fputs): Likewise. | |
12743 | (fold_builtin_sprintf): Likewise. | |
12744 | (fold_builtin_snprintf): Likewise. | |
12745 | (fold_builtin_printf): Likewise. | |
12746 | (do_mpfr_remquo): Use a proper type for the assigned constant. | |
12747 | (do_mpfr_lgamma_r): Likewise. | |
12748 | * dwarf2out.c (resolve_one_addr): Use size_int. | |
12749 | * except.c (init_eh): Likewise. | |
12750 | (assign_filter_values): Use integer_type_node for filter values. | |
12751 | (sjlj_emit_dispatch_table): Use integer_type_node for dispatch | |
12752 | indices. | |
12753 | * tree-cfg.c (move_stmt_eh_region_tree_nr): Use integer_type_node | |
12754 | for EH region numbers. | |
12755 | * tree-vrp.c (simplify_div_or_mod_using_ranges): Use integer_type_node | |
12756 | for the shift amount. | |
12757 | ||
eb6c3df1 RG |
12758 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
12759 | ||
12760 | * expr.h (expand_shift): Rename to ... | |
12761 | (expand_variable_shift): ... this. | |
12762 | (expand_shift): Take a constant shift amount. | |
12763 | * expmed.c (expand_shift): Rename to ... | |
12764 | (expand_variable_shift): ... this. | |
12765 | (expand_shift): New wrapper around expand_variable_shift. | |
12766 | * expr.c (convert_move, emit_group_load_1, emit_group_store, | |
12767 | optimize_bitfield_assignment_op, store_field, expand_expr_real_2, | |
12768 | expand_expr_real_1, reduce_to_bit_field_precision): Adjust. | |
12769 | * expmed.c (store_fixed_bit_field, extract_bit_field_1, | |
12770 | extract_fixed_bit_field, extract_split_bit_field, expand_mult_const, | |
12771 | expand_mult, expand_widening_mult, expand_mult_highpart_adjust, | |
12772 | extract_high_half, expand_sdiv_pow2, expand_divmod, emit_cstore, | |
12773 | emit_store_flag_1, emit_store_flag): Likewise. | |
12774 | * builtins.c (expand_builtin_signbit): Likewise. | |
12775 | * calls.c (load_register_parameters): Likewise. | |
12776 | * function.c (assign_parm_setup_block): Likewise. | |
12777 | * lower-subreg.c (resolve_shift_zext): Likewise. | |
12778 | * optabs.c (widen_bswap, expand_abs_nojump, | |
12779 | expand_one_cmpl_abs_nojump, expand_float): Likewise. | |
12780 | * spu/spu.c (spu_expand_extv): Likewise. | |
12781 | * sparc/sparc.c (sparc32_initialize_trampoline): Likewise. | |
12782 | ||
9f616812 RG |
12783 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
12784 | ||
12785 | * tree-inline.c (remap_eh_region_tree_nr): Use integer_type_node | |
12786 | for the remapped region number. | |
12787 | * predict.c (build_predict_expr): Use integer_type_node for the | |
12788 | predict kind. | |
12789 | * fold-const.c (fold_binary_loc): Use integer_type_node for | |
12790 | the shift amount. Use a proper type for the PLUS_EXPR operand. | |
12791 | ||
b823cdfe MM |
12792 | 2011-04-29 Michael Matz <matz@suse.de> |
12793 | ||
12794 | * lto-streamer.c (lto_streamer_cache_insert_1): Accept to override | |
12795 | other trees that just builtins. | |
12796 | (lto_record_common_node): Don't leave NULL TYPE_CANONICAL. | |
12797 | ||
413581ba RG |
12798 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
12799 | ||
12800 | * tree-nested.c (get_trampoline_type): Use size_int. | |
12801 | (get_nl_goto_field): Likewise. | |
12802 | * tree-eh.c (lower_try_finally_switch): Use integer_type_node | |
12803 | for all indexes. | |
12804 | (lower_eh_constructs_2): Likewise. | |
12805 | (lower_resx): Likewise. | |
12806 | (lower_eh_dispatch): Likewise. | |
12807 | * tree-mudflap.c (mf_build_string): Use size_int. | |
12808 | (mudflap_register_call): Use integer_type_node for the flag. | |
12809 | (mudflap_enqueue_constant): Use size_int. | |
12810 | * tree-chrec.c (reset_evolution_in_loop): Copy CHREC_VAR | |
12811 | instead of rebuilding it. | |
12812 | ||
5c04e9f4 RG |
12813 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
12814 | ||
12815 | * tree-ssa-structalias.c (get_fi_for_callee): Restructure. | |
12816 | Handle OBJ_TYPE_REF. | |
12817 | (find_func_aliases_for_call): Use it more consistently. | |
12818 | ||
5c24671b AO |
12819 | 2011-04-29 Alexandre Oliva <aoliva@redhat.com> |
12820 | ||
12821 | * haifa-sched.c (last_nondebug_scheduled_insn): New. | |
12822 | (rank_for_schedule): Use it. | |
12823 | (schedule_block): Set it. | |
12824 | ||
10adac51 XDL |
12825 | 2011-04-28 David Li <davidxl@google.com> |
12826 | ||
12827 | * tree.c (crc32_string): Use crc32_byte. | |
12828 | (crc32_byte): New function. | |
12829 | * tree.h (crc32_byte): New function. | |
12830 | * gcov.c (read_graph_file): Handle new cfg_cksum. | |
12831 | (read_count_file): Ditto. | |
12832 | * profile.c (instrument_values): Ditto. | |
12833 | (get_exec_counts): Ditto. | |
12834 | (read_profile_edge_counts): Ditto. | |
12835 | (compute_branch_probabilities): Ditto. | |
12836 | (compute_value_histograms): Ditto. | |
12837 | (branch_prob): Ditto. | |
12838 | (end_branch_prob): Ditto. | |
12839 | * coverage.c (read_counts_file): Ditto. | |
12840 | (get_coverage_counts): Ditto. | |
12841 | (tree_coverage_counter_addr): Ditto. | |
12842 | (coverage_checksum_string): Ditto. | |
12843 | (coverage_begin_output): Ditto. | |
12844 | (coverage_end_function): Ditto. | |
12845 | (build_fn_info_type): Ditto. | |
12846 | (build_fn_info_value): Ditto. | |
12847 | * libgcov.c (gcov_exit): Ditto. | |
12848 | * gcov-dump.c (tag_function): Ditto. | |
12849 | (compute_checksum): Remove. | |
12850 | ||
5d6358a5 AM |
12851 | 2011-04-29 Alan Modra <amodra@gmail.com> |
12852 | ||
12853 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle | |
12854 | unspec plus offset. Tidy macho code. | |
12855 | ||
85ad2ef5 MJ |
12856 | 2011-04-29 Martin Jambor <mjambor@suse.cz> |
12857 | ||
12858 | * cgraphunit.c (cgraph_preserve_function_body_p): Accept a cgraph | |
12859 | node instead of a decl. Update all callers. | |
12860 | * cgraph.h: Update declaration. | |
12861 | ||
437f4a00 IR |
12862 | 2011-04-28 Ira Rosen <ira.rosen@linaro.org> |
12863 | ||
12864 | PR tree-optimization/48765 | |
12865 | * tree-vectorizer.h (vect_make_slp_decision): Return bool. | |
12866 | * tree-vect-loop.c (vect_analyze_loop_operations): Add new argument | |
12867 | to indicate if loop aware SLP is being used. Scan the statements | |
12868 | and update the vectorization factor according to the type of | |
12869 | vectorization before statement analysis. | |
12870 | (vect_analyze_loop_2): Get a return value from vect_make_slp_decision, | |
12871 | pass it to vect_analyze_loop_operations. | |
12872 | (vectorizable_reduction): Set number of copies to 1 in case of pure | |
12873 | SLP statement. | |
12874 | * tree-vect-stmts.c (vectorizable_conversion, | |
12875 | vectorizable_assignment, vectorizable_shift, | |
12876 | vectorizable_operation, vectorizable_type_demotion, | |
12877 | vectorizable_type_promotion, vectorizable_store, vectorizable_load): | |
12878 | Likewise. | |
12879 | (vectorizable_condition): Move the check that it is not SLP | |
12880 | vectorization before the number of copies check. | |
12881 | * tree-vect-slp.c (vect_make_slp_decision): Return TRUE if decided | |
12882 | to vectorize the loop using SLP. | |
12883 | ||
c6fc44f3 JJ |
12884 | 2011-04-28 Jakub Jelinek <jakub@redhat.com> |
12885 | ||
12886 | PR middle-end/48597 | |
12887 | * final.c (final_scan_insn): Call dwarf2out_frame_debug even for | |
12888 | inline asm. | |
12889 | ||
6c0170ea JM |
12890 | 2011-04-28 Joseph Myers <joseph@codesourcery.com> |
12891 | ||
12892 | * config.gcc (*-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | | |
12893 | *-*-kopensolaris*-gnu): Don't define SINGLE_LIBC. | |
12894 | (i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | | |
12895 | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu, | |
12896 | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu): Don't use | |
12897 | linux*.h headers. | |
6bec6c98 | 12898 | * config/gnu-user.h (TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Define. |
6c0170ea JM |
12899 | * config/i386/gnu.h (MD_UNWIND_SUPPORT): Don't undefine. |
12900 | * config/i386/kfreebsd-gnu.h (MD_UNWIND_SUPPORT): Don't undefine. | |
12901 | * config/i386/knetbsd-gnu.h (MD_UNWIND_SUPPORT): Don't undefine. | |
6bec6c98 | 12902 | * config/i386/kopensolaris-gnu.h (MD_UNWIND_SUPPORT): Don't undefine. |
6c0170ea JM |
12903 | * config/i386/linux-unwind.h (x86_fallback_frame_state): Don't use |
12904 | REG_NAME. | |
12905 | * config/i386/linux.h (REG_NAME): Don't define. | |
12906 | * config/i386/linux64.h (REG_NAME): Don't define. | |
12907 | * config/linux.h (TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): | |
12908 | Undefine before defining. | |
12909 | ||
970dabbd JH |
12910 | 2011-04-28 Jan Hubicka <jh@suse.cz> |
12911 | ||
6bec6c98 UB |
12912 | * ipa-inline-analysis.c (will_be_nonconstant_predicate): Take |
12913 | nonconstant_names array. | |
970dabbd JH |
12914 | (estimate_function_body_sizes): Build nonconstant_names array; handle |
12915 | BUILT_IN_CONSTANT_P. | |
12916 | ||
8d3e3924 RG |
12917 | 2011-04-28 Richard Guenther <rguenther@suse.de> |
12918 | ||
12919 | PR bootstrap/48804 | |
12920 | Revert | |
12921 | 2011-04-28 Richard Guenther <rguenther@suse.de> | |
12922 | ||
12923 | * tree-ssa-structalias.c (solve_constraints): Build succ graph | |
12924 | as late as possible. | |
6bec6c98 | 12925 | |
8576f20a RG |
12926 | 2011-04-28 Richard Guenther <rguenther@suse.de> |
12927 | ||
12928 | * tree-ssa-structalias.c (dump_constraint): Don't end the line. | |
12929 | (debug_constraint): Do it here. | |
12930 | (dump_constraints): And here. | |
12931 | (rewrite_constraints): And here. | |
12932 | (dump_constraint_edge): Remove. | |
12933 | (dump_constraint_graph): Rewrite to produce DOT output. | |
12934 | (solve_constraints): Build succ graph as late as possible. | |
12935 | Dump constraint graphs before and after solving. | |
12936 | ||
e38811ce RG |
12937 | 2011-04-28 Richard Guenther <rguenther@suse.de> |
12938 | ||
12939 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
12940 | New function split out from ... | |
12941 | (find_func_aliases): ... here. Call it. | |
12942 | (find_func_aliases_for_call): Likewise. | |
12943 | ||
fbaf0d0c GDR |
12944 | 2011-04-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
12945 | ||
12946 | * internal-fn.h (internal_fn_name_array): Declare. | |
12947 | (internal_fn_flags_array): Likewise. | |
12948 | ||
cbb734aa UB |
12949 | 2011-04-27 Uros Bizjak <ubizjak@gmail.com> |
12950 | ||
12951 | * config/i386/i386.md (ssemodesuffix): Merge with ssevecsize, | |
12952 | ssemodefsuffix, ssescalarmodesuffix and avxmodesuffixp. | |
12953 | Move from sse.md. | |
12954 | (ssemodefsuffix): Remove. | |
12955 | (ssevecmodesuffix): New mode attribute. | |
12956 | (fix_trunc<mode>di_sse, fix_trunc<mode>si_sse, | |
12957 | *float<SSEMODEI24:mode><MODEF:mode>2_mixed_interunit, | |
12958 | *float<SSEMODEI24:mode><MODEF:mode>2_mixed_nointerunit, | |
12959 | *float<SSEMODEI24:mode><MODEF:mode>2_sse_interunit, | |
12960 | *float<SSEMODEI24:mode><MODEF:mode>2_sse_nointerunit, setcc_<mode>_sse, | |
12961 | *sqrt<mode>2_sse, sse4_1_round<mode>2, <smaxmin:code><mode>3, | |
12962 | *ieee_smin<mode>3, *ieee_smax<mode>3): Adjust assembler templates for | |
12963 | ssemodesuffix mode attribute. | |
12964 | (float splitters): Use ssevecmodesuffix mode attribute. | |
12965 | * config/i386/sse.md (ssescalarmode): Merge with avxscalarmode. | |
12966 | (sseinsmode): Rename from avxvecmode. | |
12967 | (avxsizesuffix): Rename from avxmodesuffix. | |
12968 | (sseintvecmode): Rename from avxpermvecmode. | |
12969 | (ssedoublevecmode): Rename from ssedoublesizemode. | |
12970 | (ssehalfvecmode): Rename from avxhalfvecmode. | |
12971 | (ssescalarmode): Rename from avxscalarmode. | |
12972 | (<sse>_comi, <sse>_ucomi, sse4a_movnt<mode>): Adjust assembler | |
12973 | templates for ssemodesuffix mode attribute. | |
12974 | (*andnot<mode>3, *<any_logic:code><mode>3): Use ssevecmodesuffix | |
12975 | mode attribute. | |
12976 | ||
12977 | Adjust RTX patterns globally for renamed mode attributes. | |
12978 | ||
991278ab JH |
12979 | 2011-04-27 Jan Hubcika <jh@suse.cz> |
12980 | ||
12981 | * ipa-inline.h (struct inline_edge_summary): Add predicate pointer. | |
12982 | * ipa-inline-analysis.c: Include alloc-pool.h. | |
12983 | (edge_predicate_pool): New. | |
12984 | (trye_predicate_p): New function | |
12985 | (false_predicate_p): New function. | |
12986 | (add_clause): Sanity check that false clauses are "optimized"; | |
12987 | never add clauses to predicate that is already known to be false. | |
12988 | (and_predicate): Use flase_predicate_p. | |
12989 | (evaulate_predicate): Rename to ... | |
12990 | (evaluate_predicate): ... this one; update all callers; assert | |
12991 | that false is not listed among possible truths. | |
12992 | (dump_predicate): Use true_predicate_p. | |
12993 | (account_size_time): Use false_predicate_p. | |
12994 | (evaulate_conditions_for_edge): Rename to ... | |
12995 | (evaluate_conditions_for_edge) ... this one. | |
12996 | (edge_set_predicate): New function. | |
12997 | (inline_edge_duplication_hook): Duplicate edge predicates. | |
12998 | (inline_edge_removal_hook): Free edge predicates. | |
cbb734aa | 12999 | (dump_inline_edge_summary): Add INFO parameter; dump edge predicates. |
991278ab JH |
13000 | (dump_inline_summary): Update. |
13001 | (estimate_function_body_sizes): Set edge predicates. | |
13002 | (estimate_calls_size_and_time): Handle predicates. | |
13003 | (estimate_callee_size_and_time): Update. | |
13004 | (remap_predicate): Add toplev_predicate; update comment. | |
13005 | (remap_edge_predicates): New function. | |
13006 | (inline_merge_summary): Compute toplev predicate; update. | |
13007 | (read_predicate): New function. | |
13008 | (read_inline_edge_summary): Use it. | |
13009 | (inline_read_section): Likewise. | |
13010 | (write_predicate): New function. | |
13011 | (write_inline_edge_summary): Use it. | |
13012 | (inline_write_summary): Likewise. | |
13013 | (inline_free_summary): Free alloc pool and edge summary vec. | |
13014 | ||
648b5f85 RG |
13015 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
13016 | ||
13017 | * tree-ssa-structalias.c (changed_count): Remove. | |
13018 | (changed): Use a bitmap. | |
13019 | (unify_nodes): Adjust. | |
13020 | (do_sd_constraint): Likewise. | |
13021 | (do_ds_constraint): Likewise. | |
13022 | (do_complex_constraint): Likewise. | |
13023 | (solve_graph): Likewise. | |
13024 | ||
4d5dcfb2 JH |
13025 | 2011-04-27 Jan Hubicka <jh@suse.cz> |
13026 | ||
13027 | * cgraphunit.c (cgraph_process_new_functions): Fix ordering issue. | |
13028 | ||
200eb7d2 UB |
13029 | 2011-04-27 Uros Bizjak <ubizjak@gmail.com> |
13030 | ||
13031 | * config/i386/predicates.md (avx_vpermilp_*_operand): Remove. | |
13032 | (avx_vperm2f128_*_operand): Ditto. | |
13033 | * config/i386/sse.md (*avx_vpermilp<mode>): Remove operand2 predicate. | |
13034 | Use avx_vpermilp_parallel in insn condition. | |
13035 | (*avx_vperm2f128<mode>_nozero): Remove operand3 predicate. | |
13036 | Use avx_vperm2f128_parallel in insn condition. | |
13037 | ||
7d6e2521 RG |
13038 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
13039 | ||
13040 | * Makefile.in (tree-ssa-structalias.o): Remove | |
13041 | gt-tree-ssa-structalias.h dependency. | |
13042 | (GTFILES): Remove tree-ssa-structalias.c. | |
13043 | * tree.c (allocate_decl_uid): New function. | |
13044 | (make_node_stat): Use it. | |
13045 | (copy_node_stat): Likewise. | |
13046 | * tree.h (allocate_decl_uid): Declare. | |
13047 | * tree-ssa-alias.h (delete_alias_heapvars): Remove. | |
13048 | * tree-ssa.c (delete_tree_ssa): Do not call delete_alias_heapvars. | |
13049 | * tree-flow.h (struct var_ann_d): Remove is_heapvar flag. | |
200eb7d2 | 13050 | * tree-ssa-live.c (remove_unused_locals): Do not check is_heapvar flag. |
7d6e2521 RG |
13051 | * tree-ssa-structalias.c (heapvar_for_stmt): Remove. |
13052 | (struct heapvar_map): Likewise. | |
13053 | (heapvar_map_eq, heapvar_map_hash, heapvar_lookup, | |
13054 | heapvar_insert): Likewise. | |
13055 | (make_heapvar_for): Rename to ... | |
13056 | (make_heapvar): ... this. Simplify. | |
13057 | (fake_var_decl_obstack): New global var. | |
13058 | (build_fake_var_decl): New function. | |
13059 | (make_constraint_from_heapvar): Adjust. | |
13060 | (handle_lhs_call): Likewise. | |
13061 | (create_function_info_for): Likewise. | |
13062 | (intra_create_variable_infos): Likewise. | |
13063 | (init_alias_vars): Allocate fake_var_decl_obstack. | |
13064 | (init_alias_heapvars, delete_alias_heapvars): Remove. | |
13065 | (compute_points_to_sets): Do not call init_alias_heapvars. | |
13066 | (ipa_pta_execute): Likewise. | |
13067 | (delete_points_to_sets): Free fake_var_decl_obstack. | |
13068 | ||
526ed6c2 UW |
13069 | 2011-04-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
13070 | ||
13071 | * config/spu/divmovti4.c (union qword_UTItype): New data type. | |
13072 | (si_from_UTItype, si_to_UTItype): New functions. | |
13073 | (__udivmodti4): Use them to implement type-punning. | |
13074 | * config/spu/multi3.c (union qword_TItype): New data type. | |
13075 | (si_from_TItype, si_to_TItype): New functions. | |
13076 | (__multi3): Use them to implement type-punning. | |
13077 | ||
c187d33c UW |
13078 | 2011-04-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
13079 | ||
13080 | * config/spu/spu.c (spu_expand_epilogue): Do not emit barrier. | |
13081 | ||
40982661 JH |
13082 | 2011-04-27 Jan Hubicka <jh@suse.cz> |
13083 | ||
13084 | * ipa-prop.c (function_insertion_hook_holder): New holder. | |
13085 | (ipa_add_new_function): New function. | |
200eb7d2 UB |
13086 | (ipa_register_cgraph_hooks, ipa_unregister_cgraph_hooks): |
13087 | Register/deregister holder. | |
40982661 | 13088 | |
9aef53ee RG |
13089 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
13090 | ||
13091 | PR tree-optimization/48772 | |
200eb7d2 | 13092 | * tree-ssa-pre.c (eliminate): Update call stmts after elimination only. |
9aef53ee | 13093 | |
f63d806d RG |
13094 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
13095 | ||
13096 | * tree-ssa-alias.c (indirect_refs_may_alias_p): Fix | |
13097 | TARGET_MEM_REF handling. | |
13098 | ||
e1ea7451 NC |
13099 | 2011-04-27 Nick Clifton <nickc@redhat.com> |
13100 | ||
9b5db25d NC |
13101 | * config/frv/frv.h (enum reg_class): Delete EVEN_ACC_REGS, |
13102 | ACC_REGS, FEVEN_REGS, FPR_REGS, EVEN_REGS. | |
13103 | (REG_CLASS_NAMES): Likewise. | |
13104 | (REG_CLASS_CONTENTS): Likewise. | |
13105 | (EVEN_ACC_REGS): New macro. Alias for QUAD_ACC_REGS. | |
13106 | (ACC_REGS): New macro. Alias for QUAD_ACC_REGS. | |
13107 | (FEVEN_REGS): New macro. Alias for QUAD_ACC_REGS. | |
13108 | (FPR_REGS): New macro. Alias for QUAD_ACC_REGS. | |
13109 | (EVEN_REGS): New macro. Alias for QUAD_REGS. | |
13110 | * config/frv/frv.c (frv_secondary_reload_class): Remove use of | |
13111 | duplicate register classes. | |
97d20907 | 13112 | (frv_class_likely_spilled_p): Likewise. |
9b5db25d NC |
13113 | (frv_register_move_cost): Likewise. |
13114 | ||
e1ea7451 NC |
13115 | * config/mcore/mcore.h (REGNO_REG_CLASS): Do not index beyond the |
13116 | end of the regno_reg_class array. | |
13117 | ||
5c2f94b4 JJ |
13118 | 2011-04-27 Jakub Jelinek <jakub@redhat.com> |
13119 | ||
13120 | PR c/48742 | |
13121 | * c-typeck.c (build_binary_op): Don't wrap arguments if | |
13122 | int_operands is true. | |
13123 | ||
57a944d7 KK |
13124 | 2011-04-26 Kaz Kojima <kkojima@gcc.gnu.org> |
13125 | ||
13126 | PR target/48767 | |
13127 | * config/sh/sh.c (sh_gimplify_va_arg_expr): Don't call | |
13128 | targetm.calls.must_pass_in_stack for void type. | |
13129 | ||
898b8927 JH |
13130 | 2011-04-26 Jan Hubicka <jh@suse.cz> |
13131 | ||
13132 | * cgraphbuild.c (build_cgraph_edges): Update call | |
13133 | of cgraph_create_edge and cgraph_create_indirect_edge. | |
13134 | * cgraph.c (cgraph_create_edge_including_clones, | |
13135 | cgraph_create_edge_1, cgraph_allocate_init_indirect_info, | |
13136 | cgraph_update_edges_for_call_stmt_node): Do not take nest | |
13137 | argument; do not initialize call_stmt_size/time. | |
13138 | (dump_cgraph_node): Do not dump nest. | |
13139 | (cgraph_clone_edge): Do not take loop_nest argument; | |
13140 | do not propagate it; do not clone call_stmt_size/time. | |
13141 | (cgraph_clone_node): Likewise. | |
13142 | (cgraph_create_virtual_clone): Update. | |
13143 | * cgraph.h (struct cgraph_edge): Remove | |
13144 | call_stmt_size/call_stmt_time/loop_nest. | |
13145 | (cgraph_create_edge, cgraph_create_indirect_edge, | |
13146 | cgraph_create_edge_including_clones, cgraph_clone_node): Update | |
13147 | prototype. | |
13148 | * tree-emutls.c (gen_emutls_addr): Update. | |
13149 | * ipa-inline-transform.c (update_noncloned_frequencies): Do not handle | |
13150 | loop_nest; handle indirect calls, too. | |
13151 | (clone_inlined_nodes): Do not care about updating inline summaries. | |
13152 | * cgraphunit.c (cgraph_copy_node_for_versioning): Update. | |
13153 | * lto-cgraph.c (lto_output_edge, input_node, input_edge): Do not | |
13154 | stream call_stmt_size/call_stmt_time/loop_nest. | |
13155 | * ipa-inline.c (edge_badness): Update. | |
13156 | (ipa_inline): dump summaries after inlining. | |
13157 | * ipa-inline.h (struct inline_edge_summary, inline_edge_summary_t): | |
200eb7d2 | 13158 | New. |
898b8927 JH |
13159 | (inline_edge_summary): New function. |
13160 | * ipa-inline-analysis.c (edge_duplication_hook_holder): New holder. | |
13161 | (inline_edge_removal_hook): Handle edge summaries. | |
13162 | (inline_edge_duplication_hook): New hook. | |
13163 | (inline_summary_alloc): Alloc hooks. | |
13164 | (initialize_growth_caches): Do not register removal hooks. | |
13165 | (free_growth_caches); Do not free removal hook. | |
13166 | (dump_inline_edge_summary): New function. | |
13167 | (dump_inline_summary): Use it. | |
13168 | (estimate_function_body_sizes, estimate_edge_size_and_time): Update. | |
13169 | (inline_update_callee_summaries): New function. | |
13170 | (inline_merge_summary): Use it. | |
13171 | (do_estimate_edge_time, do_estimate_edge_growth): Update. | |
13172 | (read_inline_edge_summary): New function. | |
13173 | (inline_read_section): Use it. | |
13174 | (write_inline_edge_summary): New function. | |
13175 | (inline_write_summary): Use it. | |
13176 | (inline_free_summary): Free edge new holders. | |
13177 | * tree-inline.c (copy_bb): Update. | |
13178 | ||
ffa03772 JM |
13179 | 2011-04-26 Jason Merrill <jason@redhat.com> |
13180 | ||
13181 | * tree-eh.c (lower_try_finally_switch): Create the label along with | |
13182 | the CASE_LABEL_EXPR. | |
13183 | ||
6d7b45ad DM |
13184 | 2011-04-26 David S. Miller <davem@davemloft.net> |
13185 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
13186 | ||
13187 | * configure.ac (gcc_cv_as_sparc_gotdata_op): Specify alignment. | |
13188 | * configure: Regenerate. | |
13189 | ||
df10b6d4 MM |
13190 | 2011-04-26 Michael Meissner <meissner@linux.vnet.ibm.com> |
13191 | ||
13192 | PR target/48258 | |
13193 | * config/rs6000/vector.md (UNSPEC_REDUC): New unspec for vector | |
13194 | reduction. | |
13195 | (VEC_reduc): New code iterator and splitters for vector reduction. | |
13196 | (VEC_reduc_name): Ditto. | |
13197 | (VEC_reduc_rtx): Ditto. | |
13198 | (reduc_<VEC_reduc_name>_v2df): Vector reduction expanders for VSX. | |
13199 | (reduc_<VEC_reduc_name>_v4sf): Ditto. | |
13200 | ||
13201 | * config/rs6000/rs6000.c (rs6000_expand_vector_extract): Add | |
13202 | support for extracting SF on VSX. | |
13203 | ||
13204 | * config/rs6000/vsx.md (vsx_xscvspdp_scalar2): New insn for | |
13205 | generating xscvspdp. | |
13206 | (vsx_extract_v4sf): New insn to extract SF from V4SF vector. | |
13207 | (vsx_reduc_<VEC_reduc_name>_v2df): New insns and splitters for | |
13208 | double add, minimum, maximum vector reduction. | |
13209 | (vsx_reduc_<VEC_reduc_name>_v4sf): Ditto. | |
13210 | (vsx_reduc_<VEC_reduc_name>_v2df2_scalar): New combiner insn to | |
13211 | optimize double vector reduction. | |
13212 | (vsx_reduc_<VEC_reduc_name>_v4sf_scalar): Ditto. | |
13213 | ||
35a5db04 JM |
13214 | 2011-04-26 Joseph Myers <joseph@codesourcery.com> |
13215 | ||
13216 | * config/fr30/fr30.h (inhibit_libc): Don't define. | |
13217 | * config/m32r/m32r-protos.h: Correct comment. | |
13218 | * config/v850/v850.h (GHS_default_section_names, | |
13219 | GHS_current_section_names): Use tree, not union tree_node *. | |
13220 | ||
2f964ad6 XDL |
13221 | 2011-04-26 Xinliang David Li <davidxl@google.com> |
13222 | ||
200eb7d2 | 13223 | * tree-ssa-uninit.c (warn_uninitialized_phi): Pass warning code. |
2f964ad6 XDL |
13224 | * c-family/c-opts.c (c_common_handle_option): Set |
13225 | warn_maybe_uninitialized. | |
13226 | * opts.c (common_handle_option): Ditto. | |
13227 | * common.opt: New option. | |
13228 | * tree-ssa.c (warn_uninit): Add one more parameter. | |
13229 | (warn_uninitialized_var): Pass warning code. | |
13230 | * tree-flow.h: Interface change. | |
13231 | ||
9c7bd91a RO |
13232 | 2011-04-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13233 | ||
200eb7d2 | 13234 | * config/mips/iris6.h (LOCAL_LABEL_PREFIX): Don't test TARGET_NEWABI. |
9c7bd91a RO |
13235 | (WINT_TYPE_SIZE): Use INT_TYPE_SIZE. |
13236 | (TARGET_OS_CPP_BUILTINS): Remove TARGET_IRIX6 guards. | |
13237 | ||
c2f36e21 RO |
13238 | 2011-04-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13239 | ||
13240 | * config/mips/mips.h (DBX_OUTPUT_SOURCE_LINE): Remove. | |
13241 | * config/mips/mips.opt (mmips-tfile): Remove. | |
13242 | ||
13243 | * doc/install.texi (Specific, mips-*-*): Move mips-tfile, | |
13244 | mips-tdump reference to ... | |
200eb7d2 | 13245 | (Specific, alpha*-dec-osf5.1): ... here. Adapt for Tru64 UNIX. |
c2f36e21 RO |
13246 | * doc/trouble.texi (Cross-Compiler Problems): Replace MIPS |
13247 | reference by Tru64 UNIX. | |
13248 | ||
2c9da85b JJ |
13249 | 2011-04-26 Jakub Jelinek <jakub@redhat.com> |
13250 | ||
0c5f6539 JJ |
13251 | PR debug/48768 |
13252 | * tree-ssa.c (insert_debug_temp_for_var_def): If degenerate_phi_result | |
13253 | is error_mark_node, set value to NULL. | |
13254 | ||
2c9da85b JJ |
13255 | PR tree-optimization/48734 |
13256 | * tree-ssa-reassoc.c (eliminate_redundant_comparison): Give up | |
13257 | if return value from maybe_fold_*_comparsions isn't something | |
13258 | the code is prepared to handle. | |
13259 | ||
77fa1d54 UB |
13260 | 2011-04-26 Uros Bizjak <ubizjak@gmail.com> |
13261 | ||
13262 | * config/i386/predicates.md (ext_QIreg_operand): Remove extra | |
13263 | mode check. | |
13264 | (ext_QIreg_nomode_operands): Remove. | |
13265 | * config/i386/i386.md (*anddi_1): Use ext_QIreg_operand. | |
13266 | (*andsi_1): Ditto. | |
13267 | (*andhi_1): Ditto. | |
13268 | ||
0e2a6c2b AS |
13269 | 2011-04-26 Andrew Stubbs <ams@codesourcery.com> |
13270 | ||
13271 | * config/arm/arm.c (arm_gen_constant): Remove can_negate_initial. | |
13272 | ||
961562d8 RB |
13273 | 2011-04-26 Richard Guenther <rguenther@suse.de> |
13274 | ||
13275 | * c-typeck.c (build_unary_op): Do not expand array-refs via | |
13276 | pointer arithmetic. Only adjust qualifiers for function types. | |
13277 | ||
13278 | 2011-04-26 Richard Guenther <rguenther@suse.de> | |
13279 | ||
13280 | PR middle-end/48694 | |
13281 | * tree.h (OEP_CONSTANT_ADDRESS_OF): New operand_equal_flag. | |
13282 | * fold-const.c (operand_equal_p): For TREE_CONSTANT ADDR_EXPRs | |
77fa1d54 UB |
13283 | compare the operands with OEP_CONSTANT_ADDRESS_OF. Treat trees |
13284 | with TREE_SIDE_EFFECTS equal when OEP_CONSTANT_ADDRESS_OF is set. | |
961562d8 | 13285 | |
a0d260fc PC |
13286 | 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com> |
13287 | ||
6bec6c98 | 13288 | * doc/extend.texi: Document __underlying_type. |
a0d260fc | 13289 | |
4d583bb9 SB |
13290 | 2011-04-25 Segher Boessenkool <segher@kernel.crashing.org> |
13291 | ||
13292 | * config/rs6000/titan.md (automata_option "progress"): Remove. | |
13293 | ||
1f3fcdc3 JL |
13294 | 2011-04-25 Jeff Law <law@redhat.com> |
13295 | ||
13296 | * tree-vrp.c (identify_jump_threads): Handle GIMPLE_SWITCH too. | |
13297 | ||
e5b0dad8 JK |
13298 | 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
13299 | ||
13300 | * system.h (ENUM_BITFIELD): Remove. | |
13301 | ||
5157a881 | 13302 | 2011-04-25 Maxim Kuvyrkov <maxim@codesourcery.com> |
b15eacc7 | 13303 | Eric Botcazou <ebotcazou@adacore.com> |
5157a881 MK |
13304 | |
13305 | * combine.c (combine_simplify_rtx): Avoid mis-simplifying conditionals | |
13306 | for STORE_FLAG_VALUE==-1 case. | |
13307 | ||
ed4c109e RS |
13308 | 2011-04-24 Richard Sandiford <richard.sandiford@linaro.org> |
13309 | ||
13310 | PR target/43804 | |
13311 | * config/m68k/constraints.md (T): Allow PIC operands that satisfy | |
13312 | LEGITIMATE_PIC_OPERAND_P. | |
13313 | ||
f3181aa2 JH |
13314 | 2011-04-24 Jan Hubicka <jh@suse.cz> |
13315 | ||
13316 | * ipa-prop.c (ipa_propagate_indirect_call_infos): Remove obsolette | |
13317 | WPA hack. | |
77fa1d54 UB |
13318 | * ipa-prop.h (ipa_get_param, ipa_is_param_used, |
13319 | ipa_param_cannot_devirtualize_p, ipa_param_types_vec_empty, | |
13320 | ipa_get_ith_jump_func, ipa_get_lattice): Fortify array bounds. | |
f3181aa2 JH |
13321 | * ipa-inline-analysis.c (add_clause): Fix clause ordering. |
13322 | (and_predicates, or_predicates, predicates_equal_p, evaulate_predicate): | |
13323 | Sanity check predicate length. | |
13324 | (remap_predicate): Likewise; sanity check jump functions. | |
13325 | (inline_read_section, inline_write_summary): Sanity check | |
13326 | predicate length. | |
13327 | ||
5307cbaa PC |
13328 | 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
13329 | ||
13330 | PR other/48748 | |
13331 | * doc/extend.texi (Type Traits): Document __is_standard_layout, | |
13332 | __is_literal_type, and __is_trivial; update throughout about | |
13333 | possibly cv-qualified void types. | |
13334 | ||
bebd5f99 GP |
13335 | 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com> |
13336 | ||
13337 | * doc/sourcebuild.texi (Ada Tests): Adjust reference to ACATS | |
13338 | testsuite and make it version agnostic. | |
13339 | ||
7ee28a74 JH |
13340 | 2011-04-22 Jan Hubicka <jh@suse.cz> |
13341 | ||
13342 | * ipa-inline-analysis.c (inline_write_summary): Fix thinko. | |
13343 | ||
16997bc0 JJ |
13344 | 2011-04-23 Jakub Jelinek <jakub@redhat.com> |
13345 | ||
13346 | PR c/48685 | |
13347 | * fold-const.c (fold_convert_loc): Add NOP_EXPR when casting | |
13348 | to VOID_TYPE even around MODIFY_EXPR. | |
13349 | ||
f94d4ab1 MS |
13350 | 2011-04-22 Mike Stump <mikestump@comcast.net> |
13351 | ||
1a84c183 | 13352 | * gensupport.c (read_md_rtx): Fix typo in comment. |
f94d4ab1 MS |
13353 | * config/cris/cris.opt (moverride-best-lib-options): Fix typo in |
13354 | comment. | |
13355 | ||
632b4f8e JH |
13356 | 2011-04-22 Jan Hubicka <jh@suse.cz> |
13357 | ||
13358 | * gengtype.c (open_base_files): Add ipa-inline.h include. | |
77fa1d54 UB |
13359 | * ipa-cp.c (ipcp_get_lattice, ipcp_lattice_from_jfunc): Move to |
13360 | ipa-prop.c; update all uses. | |
632b4f8e | 13361 | * ipa-prop.c: (ipa_get_lattice, ipa_lattice_from_jfunc): ... here. |
77fa1d54 UB |
13362 | * ipa-inline-transform.c (inline_call): Use inline_merge_summary to |
13363 | merge summary of inlined function into former caller. | |
632b4f8e JH |
13364 | * ipa-inline.c (max_benefit): Remove. |
13365 | (edge_badness): Compensate for removal of benefits. | |
77fa1d54 UB |
13366 | (update_caller_keys): Use |
13367 | reset_node_growth_cache/reset_edge_growth_cache. | |
632b4f8e JH |
13368 | (update_callee_keys): Likewise. |
13369 | (update_all_callee_keys): Likewise. | |
77fa1d54 UB |
13370 | (inline_small_functions): Do not collect max_benefit; do not reset |
13371 | estimated_growth; call free_growth_caches and initialize_growth_caches. | |
13372 | * ipa-inline.h (struct condition, type clause_t, struct predicate, | |
13373 | struct size_time_entry): New structures. | |
632b4f8e | 13374 | (INLINE_SIZE_SCALE, INLINE_TIME_SCALE, MAX_CLAUSES): New constants. |
77fa1d54 UB |
13375 | (inline_summary): Remove size_inlining_benefit, time_inlining_benefit |
13376 | and estimated_growth. | |
632b4f8e JH |
13377 | (edge_growth_cache_entry): New structure. |
13378 | (node_growth_cache, edge_growth_cache): New global vars. | |
13379 | (estimate_growth): Turn into inline. | |
13380 | (inline_merge_summary, do_estimate_edge_growth, do_estimate_edge_time, | |
13381 | initialize_growth_caches, free_growth_caches): Declare. | |
13382 | (estimate_edge_growth): Rewrite. | |
13383 | (estimate_edge_time): Implement as inline cache lookup. | |
77fa1d54 UB |
13384 | (reset_node_growth_cache, reset_edge_growth_cache): New inline |
13385 | functions. | |
632b4f8e JH |
13386 | (MAX_TIME): Reduce to allow multiplicatoin by INLINE_SIZE_SCALE. |
13387 | (NUM_CONDITIONS): New constant. | |
13388 | (predicate_conditions): New enum. | |
13389 | (IS_NOT_CONSTANT): New constant. | |
13390 | (edge_removal_hook_holder): New var. | |
13391 | (node_growth_cache, edge_growth_cache): New global vars. | |
77fa1d54 UB |
13392 | (true_predicate, single_cond_predicate, false_predicate, |
13393 | not_inlined_predicate, add_condition, add_clause, and_predicates, | |
13394 | or_predicates, predicates_equal_p, evaulate_predicate, dump_condition, | |
13395 | dump_clause, dump_predicate, account_size_time, | |
632b4f8e JH |
13396 | evaulate_conditions_for_edge): New functions. |
13397 | (inline_summary_alloc): Move to heap. | |
13398 | (inline_node_removal_hook): Clear condition and entry vectors. | |
13399 | (inline_edge_removal_hook): New function. | |
13400 | (initialize_growth_caches, free_growth_caches): New function. | |
13401 | (dump_inline_summary): Update. | |
13402 | (edge_execution_predicate): New function. | |
13403 | (will_be_nonconstant_predicate): New function. | |
13404 | (estimate_function_body_sizes): Compute BB and constantness predicates. | |
13405 | (compute_inline_parameters): Do not clear estimated_growth. | |
13406 | (estimate_edge_size_and_time): New function. | |
13407 | (estimate_calls_size_and_time): New function. | |
13408 | (estimate_callee_size_and_time): New function. | |
13409 | (remap_predicate): New function. | |
13410 | (inline_merge_summary): New function. | |
13411 | (do_estimate_edge_time): New function based on... | |
13412 | (estimate_edge_time): ... this one. | |
13413 | (do_estimate_edge_growth): New function. | |
13414 | (do_estimate_growth): New function based on.... | |
13415 | (estimate_growth): ... this one. | |
13416 | (inline_analyze_function): Analyze after deciding on jump functions. | |
13417 | (inline_read_section): New function. | |
13418 | (inline_read_summary): Use it. | |
13419 | (inline_write_summary): Write all the new data. | |
13420 | * ipa-prop.c (ipa_get_param_decl_index): Export. | |
13421 | (ipa_lattice_from_jfunc): Move here from ipa-cp.c | |
77fa1d54 UB |
13422 | * ipa-prop.h (ipa_get_param_decl_index, ipa_lattice_from_jfunc): |
13423 | Declare. | |
13424 | (ipa_get_lattice): Move here from ipa-cp.c | |
632b4f8e JH |
13425 | * Makefile.in (GTFILES): Add ipa-inline.h and ipa-inline-analysis.c |
13426 | * params.def (PARAM_EARLY_INLINING_INSNS): Set to 11. | |
13427 | * cgraph.h (cgraph_clone_inlined_nodes, compute_inline_parameters, | |
13428 | cgraph_edge_inlinable_p): Remove. | |
13429 | * cgraphunit.c: Include ipainline.h | |
77fa1d54 UB |
13430 | (cgraph_process_new_functions): Update call of |
13431 | compute_inline_parameters. | |
632b4f8e | 13432 | |
1df5b0db RG |
13433 | 2011-04-22 Richard Guenther <rguenther@suse.de> |
13434 | ||
13435 | * tree.c (build_int_cst): Properly create canonicalized integer | |
13436 | constants. | |
13437 | (build_int_cst_type): Remove scary comments. | |
13438 | ||
ae01169c XDL |
13439 | 2011-04-22 Xinliang David Li <davidxl@google.com> |
13440 | ||
13441 | * toplev.c (process_options): Enable -Werror=coverage-mismatch | |
13442 | by default when -Wno-error is not specified. | |
13443 | * opts-global.c (decode_options): Remove call to | |
13444 | control_warning_options. | |
13445 | ||
93dfac24 JJ |
13446 | 2011-04-22 Jakub Jelinek <jakub@redhat.com> |
13447 | ||
13448 | PR tree-optimization/48717 | |
13449 | * tree-ssa-forwprop.c (associate_plusminus): For A + ~A and | |
13450 | ~A + A optimizations use build_int_cst_type instead of build_int_cst. | |
13451 | ||
1b5f5069 JM |
13452 | 2011-04-22 Joseph Myers <joseph@codesourcery.com> |
13453 | ||
13454 | * config/bfin/bfin-protos.h (Mmode): Don't define. Expand | |
13455 | definition where used. | |
13456 | ||
144f4153 JJ |
13457 | 2011-04-22 Jakub Jelinek <jakub@redhat.com> |
13458 | ||
13459 | PR c/48716 | |
13460 | * gimplify.c (gimplify_bind_expr): Mark as GOVD_LOCAL also | |
13461 | TREE_STATIC variables declared inside of some OpenMP construct. | |
13462 | ||
f9fd305b MJ |
13463 | 2011-04-22 Martin Jambor <mjambor@suse.cz> |
13464 | ||
13465 | PR middle-end/48585 | |
1d284ec5 | 13466 | * tree-inline.c (copy_bb): Create new edges only for analyzed nodes. |
f9fd305b | 13467 | |
49819fef AM |
13468 | 2011-04-22 Alexander Monakov <amonakov@ispras.ru> |
13469 | ||
13470 | PR c/36750 | |
13471 | * c-typeck.c (pop_init_level): Do not warn about initializing | |
13472 | with ` = {0}'. | |
13473 | ||
401f6699 AM |
13474 | 2011-04-22 Alan Modra <amodra@gmail.com> |
13475 | ||
13476 | * config/rs6000/rs6000.c (rs6000_function_arg): Remove CALL_LIBCALL | |
13477 | when returning call_cookie. | |
13478 | (rs6000_function_ok_for_sibcall): Allow sibcalls via function | |
13479 | pointers, to functions with no more vector args than the current | |
13480 | function, and some non-local calls for ABI_V4. | |
13481 | * config/rs6000/rs6000.md (sibcall_nonlocal_aix32, | |
13482 | sibcall_nonlocal_aix64): Combine to .. | |
13483 | (sibcall_nonlocal_aix<mode>): ..this. Handle function pointer calls. | |
13484 | (sibcall_value_nonlocal_aix32, sibcall_value_nonlocal_aix64): Combine.. | |
13485 | (sibcall_value_nonlocal_aix<mode>): ..likewise. | |
13486 | (*sibcall_nonlocal_sysv<mode>): Handle function pointer calls. | |
13487 | (sibcall_value_nonlocal_sysv<mode>): Likewise. Correct call cookie | |
13488 | operand. | |
13489 | * config/rs6000/darwin.md (sibcall_nonlocal_darwin64, | |
13490 | sibcall_value_nonlocal_darwin64, sibcall_symbolic_64, | |
13491 | sibcall_value_symbolic_64): Delete. | |
13492 | ||
903d1e67 XDL |
13493 | 2011-04-21 Xinliang David Li <davidxl@google.com> |
13494 | ||
13495 | * cgraph.h: Remove pid. | |
13496 | * cgraph.c: Remove pid. | |
13497 | * value-prof.c (init_node_map): New function. | |
13498 | (del_node_map): New function. | |
13499 | (find_func_by_funcdef_no): New function. | |
13500 | (gimple_ic_transform): Call new function. | |
13501 | * cgraphunit.c (cgraph_finalize_function): Remove pid. | |
13502 | * function.c (get_last_funcdef_no): New function. | |
13503 | * function.h (get_last_funcdef_no): New function. | |
13504 | * tree-profile.c (gimple_gen_ic_func_profiler): Pass funcdef_no | |
13505 | to libgcov function. | |
13506 | (tree-profiling): Call node map init and delete function. | |
13507 | ||
7378e95f ILT |
13508 | 2011-04-21 Ian Lance Taylor <iant@google.com> |
13509 | ||
13510 | * godump.c (go_format_type): Use exported Go name for anonymous | |
13511 | field name. | |
13512 | ||
e84a6fcf NF |
13513 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
13514 | ||
13515 | * config/frv/frv.c (frv_init_builtins): Delete `endlink' variable. | |
13516 | Call builtin_function_type_list instead of builtin_function_type. | |
13517 | (UNARY, BINARY, TRINARY, QUAD): Likewise. | |
13518 | ||
4fe058e2 NF |
13519 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
13520 | ||
13521 | * config/arm/arm.c (arm_init_iwmmxt_builtins): Call | |
13522 | build_function_type_list instead of build_function_type. | |
13523 | Delete variable `endlink'. | |
13524 | ||
1ba0a2d2 NF |
13525 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
13526 | ||
13527 | * config/s390/s390.c (s390_init_builtins): Call | |
13528 | build_function_type_list instead of build_function_type. | |
13529 | ||
c0676219 NF |
13530 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
13531 | ||
13532 | * config/ia64/ia64.c (ia64_init_builtins): Call | |
13533 | build_function_type_list instead of builtin_function_type. | |
13534 | ||
6ddfda8a ER |
13535 | 2011-04-21 Easwaran Raman <eraman@google.com> |
13536 | ||
3a6448ea | 13537 | * cfgexpand.c (stack_var): Remove OFFSET... |
6ddfda8a ER |
13538 | (add_stack_var): ...and its reference here... |
13539 | (expand_stack_vars): ...and here. | |
13540 | (stack_var_cmp): Sort by descending order of size. | |
13541 | (partition_stack_vars): Change heuristic. | |
1d284ec5 | 13542 | (union_stack_vars): Fix to reflect changes in partition_stack_vars. |
6ddfda8a ER |
13543 | (dump_stack_var_partition): Add newline after each partition. |
13544 | ||
23756963 DA |
13545 | 2011-04-21 Dimitrios Apostolou <jimis@gmx.net> |
13546 | Jeff Law <law@redhat.com> | |
13547 | ||
77fa1d54 | 13548 | * gengtype-state.c (read_a_state_token): Fix argument to obstack_free. |
23756963 DA |
13549 | * gengtype.c (matching_file_name_substitute): Likewise. |
13550 | ||
aa2a43d2 RG |
13551 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
13552 | ||
13553 | PR lto/48703 | |
1d284ec5 | 13554 | * tree.c (free_lang_data_in_decl): Do not zero TREE_TYPE of DECL_NAME. |
aa2a43d2 | 13555 | |
4d931f41 EB |
13556 | 2011-04-21 Eric Botcazou <ebotcazou@adacore.com> |
13557 | ||
13558 | * gimple.c (walk_gimple_op) <GIMPLE_CALL>: Fix couple of oversights. | |
13559 | ||
f103fa7a RG |
13560 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
13561 | ||
13562 | * Makefile.in (site.exp): Do not use tmp0 but site.tmp as temporary | |
13563 | file name. | |
13564 | ||
e19f6650 RG |
13565 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
13566 | ||
13567 | * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Handle | |
13568 | MEM_REF and TARGET_MEM_REF, do not care about INDIRECT_REFs. | |
13569 | Use DECL_P, not SSA_VAR_P. | |
13570 | (ptr_derefs_may_alias_p): Likewise. | |
13571 | (ptr_deref_may_alias_ref_p_1): Likewise. | |
13572 | (decl_refs_may_alias_p): Likewise. | |
13573 | (refs_may_alias_p_1): Likewise. | |
13574 | (ref_maybe_used_by_call_p_1): Likewise. | |
13575 | (call_may_clobber_ref_p_1): Likewise. | |
13576 | (indirect_ref_may_alias_decl_p): Assume indirect refrences | |
13577 | are either MEM_REF or TARGET_MEM_REF. | |
13578 | (indirect_refs_may_alias_p): Likewise. | |
13579 | * calls.c (emit_call_1): Build a MEM_REF instead of an INDIRECT_REF | |
13580 | for MEM_EXPR of indirect calls. | |
13581 | ||
9d1831bb TG |
13582 | 2011-04-21 Tristan Gingold <gingold@adacore.com> |
13583 | ||
13584 | * vmsdbgout.c (write_srccorr): Compute file length from the string. | |
13585 | (dst_file_info_struct): Remove flen field. | |
13586 | (lookup_filename): Remove code that set flen field. | |
13587 | ||
f199c029 TG |
13588 | 2011-04-21 Tristan Gingold <gingold@adacore.com> |
13589 | ||
13590 | * config/ia64/ia64.c (ia64_start_function): Add a guard. | |
13591 | ||
2894086e UB |
13592 | 2011-04-21 Uros Bizjak <ubizjak@gmail.com> |
13593 | ||
13594 | PR target/48708 | |
13595 | * config/i386/i386.c (ix86_expand_vector_set) <V2DImode>: Generate | |
13596 | vec_extract and vec_concat for non-SSE4_1 targets. | |
13597 | ||
53f94a5c RG |
13598 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
13599 | ||
13600 | * tree-ssa-alias.c (ref_maybe_used_by_stmt_p): Handle | |
13601 | return statements. | |
13602 | ||
f0dca5ba JM |
13603 | 2011-04-21 Joseph Myers <joseph@codesourcery.com> |
13604 | ||
13605 | * config/i386/cygming.h (union tree_node, TREE): Don't define or | |
13606 | undefine. | |
13607 | (FILE): Don't undefine. | |
13608 | ||
984514ac JM |
13609 | 2011-04-21 Joseph Myers <joseph@codesourcery.com> |
13610 | ||
13611 | * config/alpha/alpha.c (struct machine_function): Use rtx, not | |
13612 | struct rtx_def *. | |
13613 | * config/bfin/bfin.h (bfin_cc_rtx, bfin_rets_rtx): Use rtx, not | |
13614 | struct rtx_def *. | |
13615 | * config/cris/cris-protos.h (STDIO_INCLUDED): Don't define. | |
2894086e | 13616 | * config/h8300/h8300.h (struct cum_arg): Use rtx, not struct rtx_def *. |
984514ac JM |
13617 | * config/iq2000/iq2000.h (struct iq2000_args): Use rtx, not struct |
13618 | rtx_def *. | |
13619 | * config/m32c/m32c-protos.h (MM, UINT): Don't define. Expand | |
13620 | definitions where used. | |
13621 | * config/microblaze/microblaze.h (struct microblaze_args): Use | |
13622 | rtx, not struct rtx_def *. | |
13623 | * config/pa/pa-protos.h (return_addr_rtx): Use rtx, not struct | |
13624 | rtx_def *. | |
2894086e UB |
13625 | * config/pa/pa.h (hppa_pic_save_rtx): Use rtx, not struct rtx_def *. |
13626 | * config/pdp11/pdp11.h (cc0_reg_rtx): Use rtx, not struct rtx_def *. | |
984514ac JM |
13627 | * config/sh/sh-protos.h (sfunc_uses_reg, get_fpscr_rtx): Use rtx, |
13628 | not struct rtx_def *. | |
13629 | * config/sh/sh.h (sh_compare_op0, sh_compare_op1): Use rtx, not | |
13630 | struct rtx_def *. | |
13631 | * config/spu/spu-protos.h (spu_float_const): Use rtx, not struct | |
13632 | rtx_def *. | |
2894086e | 13633 | * config/spu/spu.c (spu_float_const): Use rtx, not struct rtx_def *. |
984514ac | 13634 | |
0b5a2724 RS |
13635 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
13636 | ||
13637 | * tree-vect-data-refs.c (vect_drs_dependent_in_basic_block): Use | |
13638 | operand_equal_p to compare DR_BASE_ADDRESSes. | |
13639 | (vect_check_interleaving): Likewise. | |
13640 | ||
4b18d683 RS |
13641 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
13642 | ||
13643 | PR target/46329 | |
13644 | * config/arm/arm.c (arm_legitimate_constant_p_1): Return false | |
13645 | for all Neon struct constants. | |
13646 | ||
1a627b35 RS |
13647 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
13648 | ||
13649 | * target.def (legitimate_constant_p): New hook. | |
13650 | * doc/tm.texi.in (LEGITIMATE_CONSTANT_P): Replace with... | |
13651 | (TARGET_LEGITIMATE_CONSTANT_P): ...this. | |
13652 | * doc/tm.texi: Regenerate. | |
13653 | * hooks.h (hook_bool_mode_rtx_true): Declare. | |
13654 | * hooks.c (hook_bool_mode_rtx_true): Define. | |
13655 | * system.h (LEGITIMATE_CONSTANT_P): Poison. | |
13656 | * calls.c (precompute_register_parameters): Replace uses of | |
13657 | LEGITIMATE_CONSTANT_P with targetm.legitimate_constant_p. | |
13658 | (emit_library_call_value_1): Likewise. | |
13659 | * expr.c (move_block_to_reg, can_store_by_pieces, emit_move_insn) | |
13660 | (compress_float_constant, emit_push_insn, expand_expr_real_1): Likewise. | |
13661 | * ira-costs.c (scan_one_insn): Likewise. | |
13662 | * recog.c (general_operand, immediate_operand): Likewise. | |
13663 | * reload.c (find_reloads_toplev, find_reloads_address_part): Likewise. | |
13664 | * reload1.c (init_eliminable_invariants): Likewise. | |
13665 | ||
13666 | * config/alpha/alpha-protos.h (alpha_legitimate_constant_p): Add a | |
13667 | mode argument. | |
13668 | * config/alpha/alpha.h (LEGITIMATE_CONSTANT_P): Delete. | |
13669 | * config/alpha/alpha.c (alpha_legitimate_constant_p): Add a mode | |
13670 | argument. | |
13671 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13672 | * config/alpha/predicates.md (input_operand): Update call to | |
13673 | alpha_legitimate_constant_p. | |
13674 | ||
13675 | * config/arm/arm-protos.h (arm_cannot_force_const_mem): Delete. | |
13676 | * config/arm/arm.h (ARM_LEGITIMATE_CONSTANT_P): Likewise. | |
13677 | (THUMB_LEGITIMATE_CONSTANT_P, LEGITIMATE_CONSTANT_P): Likewise. | |
13678 | * config/arm/arm.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13679 | (arm_legitimate_constant_p_1, thumb_legitimate_constant_p) | |
13680 | (arm_legitimate_constant_p): New functions. | |
13681 | (arm_cannot_force_const_mem): Make static. | |
13682 | ||
13683 | * config/avr/avr.h (LEGITIMATE_CONSTANT_P): Delete. | |
13684 | ||
13685 | * config/bfin/bfin-protos.h (bfin_legitimate_constant_p): Delete. | |
13686 | * config/bfin/bfin.h (LEGITIMATE_CONSTANT_P): Delete. | |
13687 | * config/bfin/bfin.c (expand_move): Use targetm.legitimate_constant_p | |
13688 | instead of bfin_legitimate_constant_p. | |
13689 | (bfin_legitimate_constant_p): Make static. Add a mode argument. | |
13690 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13691 | ||
13692 | * config/cris/cris.h (LEGITIMATE_CONSTANT_P): Delete. | |
13693 | ||
13694 | * config/fr30/fr30.h (LEGITIMATE_CONSTANT_P): Delete. | |
13695 | ||
13696 | * config/frv/frv-protos.h (frv_legitimate_constant_p): Delete. | |
13697 | * config/frv/frv.h (LEGITIMATE_CONSTANT_P): Delete. | |
13698 | * config/frv/frv.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13699 | (frv_legitimate_constant_p): Make static. Add a mode argument. | |
13700 | ||
13701 | * config/h8300/h8300-protos.h (h8300_legitimate_constant_p): Delete. | |
13702 | * config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Likewise. | |
13703 | * config/h8300/h8300.c (h8300_legitimate_constant_p): Likewise. | |
13704 | ||
13705 | * config/i386/i386-protos.h (legitimate_constant_p): Delete. | |
13706 | * config/i386/i386.h (LEGITIMATE_CONSTANT_P): Likewise. | |
13707 | * config/i386/i386.c (legitimate_constant_p): Rename to... | |
13708 | (ix86_legitimate_constant_p): ...this. Make static. Add a mode | |
13709 | argument. | |
13710 | (ix86_cannot_force_const_mem): Update accordingly. | |
13711 | (ix86_legitimate_address_p): Likewise. | |
13712 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13713 | * config/i386/i386.md: Update commentary. | |
13714 | ||
13715 | * config/ia64/ia64-protos.h (ia64_legitimate_constant_p): Delete. | |
13716 | * config/ia64/ia64.h (LEGITIMATE_CONSTANT_P): Likewise. | |
13717 | * config/ia64/ia64.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13718 | (ia64_legitimate_constant_p): Make static. Add a mode argument. | |
13719 | ||
13720 | * config/iq2000/iq2000.h (LEGITIMATE_CONSTANT_P): Delete. | |
13721 | ||
13722 | * config/lm32/lm32-protos.h (lm32_legitimate_constant_p): Delete. | |
13723 | * config/lm32/lm32.h (LEGITIMATE_CONSTANT_P): Likewise. | |
13724 | * config/lm32/lm32.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13725 | (lm32_legitimate_constant_p): Make static. Add a mode argument. | |
13726 | ||
13727 | * config/m32c/m32c-protos.h (m32c_legitimate_constant_p): Delete. | |
13728 | * config/m32c/m32c.h (LEGITIMATE_CONSTANT_P): Likewise. | |
13729 | * config/m32c/m32c.c (m32c_legitimate_constant_p): Likewise. | |
13730 | ||
13731 | * config/m32r/m32r.h (LEGITIMATE_CONSTANT_P): Delete. | |
13732 | * config/m32r/m32r.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13733 | (m32r_legitimate_constant_p): New function. | |
13734 | ||
13735 | * config/m68k/m68k-protos.h (m68k_legitimate_constant_p): Declare. | |
13736 | * config/m68k/m68k.h (CONSTANT_ADDRESS_P): Call it instead of | |
13737 | LEGITIMATE_CONSTANT_P. | |
13738 | (LEGITIMATE_CONSTANT_P): Delete. | |
13739 | * config/m68k/m68k.c (m68k_expand_prologue): Call | |
13740 | m68k_legitimate_constant_p instead of LEGITIMATE_CONSTANT_P. | |
13741 | (m68k_legitimate_constant_p): New function. | |
13742 | * config/m68k/m68k.md: Update comments. | |
13743 | ||
13744 | * config/mcore/mcore.h (LEGITIMATE_CONSTANT_P): Delete. | |
13745 | * config/mcore/mcore.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13746 | (mcore_legitimate_constant_p): New function. | |
13747 | ||
13748 | * config/mep/mep-protos.h (mep_legitimate_constant_p): Delete. | |
13749 | * config/mep/mep.h (LEGITIMATE_CONSTANT_P): Likewise. | |
13750 | * config/mep/mep.c (mep_legitimate_constant_p): Make static. | |
13751 | Add a mode argument. | |
13752 | (mep_legitimate_address): Update accordingly. | |
13753 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13754 | ||
13755 | * config/microblaze/microblaze-protos.h (microblaze_const_double_ok): | |
13756 | Delete. | |
13757 | * config/microblaze/microblaze.h (LEGITIMATE_CONSTANT_P): Likewise. | |
13758 | * config/microblaze/microblaze.c (microblaze_const_double_ok): Make | |
13759 | static. Check OP's mode for VOIDmode. | |
13760 | (microblaze_legitimate_constant_p): New function. | |
13761 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13762 | ||
13763 | * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Delete. | |
13764 | * config/mips/mips.c (mips_legitimate_constant_p): New function. | |
13765 | (mips_cannot_force_const_mem): Use it instead of LEGITIMATE_CONSTANT_P. | |
13766 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13767 | * config/mips/predicates.md: Update comments. | |
13768 | ||
13769 | * config/mmix/mmix-protos.h (mmix_legitimate_constant_p): Delete. | |
13770 | * config/mmix/mmix.h (LEGITIMATE_CONSTANT_P): Likewise. | |
13771 | * config/mmix/mmix.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13772 | (mmix_legitimate_constant_p): Make static, return a bool, and take | |
13773 | a mode argument. | |
13774 | (mmix_print_operand_address): Update accordingly. | |
13775 | ||
13776 | * config/mn10300/mn10300-protos.h (mn10300_legitimate_constant_p): | |
13777 | Delete. | |
13778 | * config/mn10300/mn10300.h (LEGITIMATE_CONSTANT_P): Likewise. | |
2894086e UB |
13779 | * config/mn10300/mn10300.c (mn10300_legitimate_constant_p): Make |
13780 | static. Add a mode argument. | |
1a627b35 RS |
13781 | (TARGET_LEGITIMATE_CONSTANT_P): Define. |
13782 | ||
13783 | * config/moxie/moxie.h (LEGITIMATE_CONSTANT_P): Delete. | |
13784 | ||
13785 | * config/pa/pa.h (LEGITIMATE_CONSTANT_P): Delete. | |
13786 | * config/pa/pa.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13787 | (pa_legitimate_constant_p): New function. | |
13788 | ||
13789 | * config/picochip/picochip.h (LEGITIMATE_CONSTANT_P): Delete. | |
13790 | ||
13791 | * config/pdp11/pdp11.h (LEGITIMATE_CONSTANT_P): Delete. | |
13792 | * config/pdp11/pdp11.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13793 | (pdp11_legitimate_constant_p): New function. | |
13794 | ||
13795 | * config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Delete. | |
13796 | * config/rs6000/rs6000.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13797 | (rs6000_legitimate_constant_p): New function. | |
13798 | ||
13799 | * config/rx/rx-protos.h (rx_is_legitimate_constant): Replace with... | |
13800 | (rx_legitimate_constant_p): ...this. | |
13801 | * config/rx/rx.h (LEGITIMATE_CONSTANT_P): Delete. | |
13802 | * config/rx/rx.c (rx_is_legitimate_constant): Replace with... | |
13803 | (rx_legitimate_constant_p): ...this. | |
13804 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13805 | * config/rx/rx.md (mov<register_modes:mode>): Update accordingly. | |
13806 | ||
13807 | * config/s390/s390-protos.h (legitimate_constant_p): Delete. | |
13808 | * config/s390/s390.h (LEGITIMATE_CONSTANT_P): Likewise. | |
13809 | * config/s390/s390.c (legitimate_constant_p): Rename to... | |
13810 | (s390_legitimate_constant_p): ...this. Make static, return a bool, | |
13811 | and add a mode argument. | |
13812 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13813 | ||
13814 | * config/score/score.h (LEGITIMATE_CONSTANT_P): Delete. | |
13815 | ||
13816 | * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Delete. | |
13817 | * config/sh/sh.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13818 | (sh_legitimate_constant_p): New function. | |
13819 | ||
13820 | * config/sparc/sparc-protos.h (legitimate_constant_p): Delete. | |
13821 | * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Delete. | |
13822 | * config/sparc/sparc.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13823 | (legitimate_constant_p): Rename to... | |
13824 | (sparc_legitimate_constant_p): ...this. Make static. Add a mode | |
13825 | argument. | |
13826 | (constant_address_p): Update accordingly. | |
13827 | ||
13828 | * config/spu/spu-protos.h (spu_legitimate_constant_p): Add a mode | |
13829 | argument and return a bool. | |
13830 | * config/spu/spu.h (LEGITIMATE_CONSTANT_P): Delete. | |
13831 | * config/spu/spu.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13832 | (spu_legitimate_constant_p): Add a mode argument and return a bool. | |
13833 | (spu_rtx_costs): Update accordingly. | |
13834 | * config/spu/predicates.md (vec_imm_operand): Likewise. | |
13835 | ||
13836 | * config/stormy16/stormy16.h (LEGITIMATE_CONSTANT_P): Delete. | |
13837 | ||
13838 | * config/v850/v850.h (LEGITIMATE_CONSTANT_P): Delete. | |
13839 | * config/v850/v850.c (v850_legitimate_constant_p): New function. | |
13840 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13841 | ||
13842 | * config/vax/vax-protos.h (legitimate_constant_p): Delete. | |
13843 | * config/vax/vax.h (LEGITIMATE_CONSTANT_P): Likewise. | |
13844 | * config/vax/vax.c (legitimate_constant_p): Likewise. | |
13845 | ||
13846 | * config/xtensa/xtensa.h (LEGITIMATE_CONSTANT_P): Delete. | |
13847 | * config/xtensa/xtensa.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
13848 | (xtensa_legitimate_constant_p): New function. | |
13849 | ||
fbbf66e7 RS |
13850 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
13851 | ||
13852 | * target.def (cannot_force_const_mem): Add a mode argument. | |
13853 | * doc/tm.texi.in (TARGET_CANNOT_FORCE_CONST_MEM): Update accordingly. | |
13854 | * doc/tm.texi: Regenerate. | |
13855 | * hooks.h (hook_bool_mode_rtx_false): Declare. | |
13856 | * hooks.c (hook_bool_mode_const_rtx_false): Fix commentary. | |
13857 | (hook_bool_mode_const_rtx_true): Likewise. | |
13858 | (hook_bool_mode_rtx_false): New function. | |
13859 | * reload.c (CONST_POOL_OK_P): Take a mode argument and require it | |
13860 | to be non-VOID. Update call to cannot_force_const_mem. | |
13861 | (find_reloads): Update accordingly. | |
13862 | * varasm.c (force_const_mem): Update call to cannot_force_const_mem. | |
13863 | * config/alpha/alpha.c (alpha_cannot_force_const_mem): Add a mode | |
13864 | argument. | |
13865 | * config/arm/arm-protos.h (arm_cannot_force_const_mem): Likewise. | |
13866 | * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Update call. | |
13867 | * config/arm/arm.c (arm_cannot_force_const_mem): Add a mode argument. | |
13868 | * config/bfin/bfin.c (bfin_cannot_force_const_mem): Likewise. | |
13869 | * config/frv/frv.c (frv_cannot_force_const_mem): Likewise. | |
13870 | * config/i386/i386.c (ix86_cannot_force_const_mem): Likewise. | |
13871 | * config/ia64/ia64.c (ia64_cannot_force_const_mem): Likewise. | |
13872 | * config/m68k/m68k.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine to... | |
13873 | (m68k_cannot_force_const_mem): ...this new function. | |
13874 | * config/mips/mips.c (mips_cannot_force_const_mem): Add a mode | |
13875 | argument. | |
13876 | (mips_const_insns, mips_legitimize_const_move): Update calls. | |
13877 | (mips_secondary_reload_class): Likewise. | |
13878 | * config/pa/pa.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine to... | |
13879 | (pa_cannot_force_const_mem): ...this new function. | |
2894086e | 13880 | * config/rs6000/rs6000.c (TARGET_CANNOT_FORCE_CONST_MEM): Reefine to... |
fbbf66e7 RS |
13881 | (rs6000_cannot_force_const_mem): ...this new function. |
13882 | * config/s390/s390.c (s390_cannot_force_const_mem): Add a mode | |
13883 | argument. | |
13884 | * config/sparc/sparc.c (sparc_cannot_force_const_mem): Likewise. | |
13885 | * config/xtensa/xtensa.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine | |
13886 | to... | |
13887 | (xtensa_cannot_force_const_mem): ...this new function. | |
13888 | ||
b861891b NF |
13889 | 2011-04-20 Nathan Froyd <froydnj@codesourcery.com> |
13890 | ||
13891 | * config/mips/mips.c (mips16_build_function_stub): Call | |
13892 | build_function_type_list instead of build_function_type. | |
13893 | (mips16_build_call_stub): Likewise. | |
13894 | ||
34149ed5 NF |
13895 | 2011-04-20 Nathan Froyd <froydnj@codesourcery.com> |
13896 | ||
13897 | * config/mep/mep.c (mep_init_builtins): Call build_function_type_list | |
13898 | instead of build_function_type. | |
13899 | ||
12526412 NF |
13900 | 2011-04-20 Nathan Froyd <froydnj@codesourcery.com> |
13901 | ||
13902 | * config/pa/pa.c (pa_init_builtins): Call build_function_type_list | |
13903 | instead of build_function_type. | |
13904 | ||
3b84d61f UB |
13905 | 2011-04-20 Uros Bizjak <ubizjak@gmail.com> |
13906 | ||
13907 | PR target/48678 | |
13908 | * config/i386/i386.md (insv): Change operand 0 constraint to | |
13909 | "register_operand". Change operand 1 and 2 constraint to | |
13910 | "const_int_operand". Expand to pinsr{b,w,d,q} * when appropriate. | |
13911 | * config/i386/sse.md (sse4_1_pinsrb): Export. | |
13912 | (sse2_pinsrw): Ditto. | |
13913 | (sse4_1_pinsrd): Ditto. | |
13914 | (sse4_1_pinsrq): Ditto. | |
13915 | * config/i386/i386-protos.h (ix86_expand_pinsr): Add prototype. | |
13916 | * config/i386/i386.c (ix86_expand_pinsr): New. | |
13917 | ||
4a25752b ER |
13918 | 2011-04-20 Easwaran Raman <eraman@google.com> |
13919 | ||
13920 | * cfgexpand.c (add_alias_set_conflicts): Add conflicts with a variable | |
13921 | containing union type only with -fstrict-aliasing. | |
13922 | ||
04695783 JM |
13923 | 2011-04-20 Jim Meyering <meyering@redhat.com> |
13924 | ||
13925 | Remove useless if-before-free tests. | |
13926 | * calls.c (expand_call, save_area): Likewise. | |
13927 | * cfgcleanup.c (try_forward_edges): Likewise. | |
13928 | * collect2.c (collect_execute): Likewise. | |
13929 | * config/i386/i386.c (ix86_valid_target_attribute_tree): Likewise. | |
13930 | * config/mcore/mcore.c (mcore_expand_prolog): Likewise. | |
13931 | * coverage.c (coverage_checksum_string): Likewise. | |
13932 | * cse.c (init_cse_reg_info, delete_trivially_dead_insns): Likewise. | |
13933 | * cselib.c (cselib_init): Likewise. | |
13934 | * df-core.c (rest_of_handle_df_finish, df_analyze): Likewise. | |
13935 | (df_set_clean_cfg): Likewise. | |
13936 | * function.c (free_after_compilation): Likewise. | |
13937 | * gcc.c (do_spec_1, main): Likewise. | |
13938 | * gcov.c (create_file_names): Likewise. | |
13939 | * gensupport.c (identify_predicable_attribute): Likewise. | |
13940 | * graphite-clast-to-gimple.c (save_clast_name_index): Likewise. | |
13941 | * graphite-sese-to-poly.c (free_data_refs_aux): Likewise. | |
13942 | * haifa-sched.c (haifa_finish_h_i_d): Likewise. | |
13943 | * ipa-prop.c (ipa_free_node_params_substructures): Likewise. | |
13944 | * ipa-pure-const.c (local_pure_const): Likewise. | |
13945 | * ipa-reference.c (propagate): Likewise. | |
13946 | * ira-costs.c (free_ira_costs): Likewise. | |
13947 | * ira.c (free_register_move_costs, build_insn_chain): Likewise. | |
13948 | * matrix-reorg.c (mat_free): Likewise. | |
13949 | * prefix.c (get_key_value): Likewise. | |
13950 | * profile.c (compute_value_histograms): Likewise. | |
13951 | * reload1.c (free_reg_equiv): Likewise. | |
13952 | * sched-deps.c (free_deps): Likewise. | |
13953 | * sel-sched-ir.c (fence_clear): Likewise. | |
13954 | * sese.c (set_rename, if_region_set_false_region): Likewise. | |
13955 | * tree-data-ref.c (free_rdg): Likewise. | |
13956 | * tree-eh.c (lower_try_finally): Likewise. | |
13957 | * tree-ssa-coalesce.c (delete_coalesce_list): Likewise. | |
13958 | * tree-ssa-live.c (delete_var_map): Likewise. | |
13959 | * tree-ssa-loop-ivopts.c (free_loop_data): Likewise. | |
13960 | * tree-ssa-pre.c (phi_trans_add): Likewise. | |
13961 | ||
6788475a JJ |
13962 | 2011-04-20 Jakub Jelinek <jakub@redhat.com> |
13963 | ||
13964 | PR tree-optimization/48611 | |
13965 | * tree-eh.c (note_eh_region_may_contain_throw): Don't propagate | |
13966 | beyond ERT_MUST_NOT_THROW region. | |
13967 | ||
0eda4033 CM |
13968 | 2011-04-20 Catherine Moore <clm@codesourcery.com> |
13969 | ||
13970 | * config/mips/mips.opt (mfix-24k): New. | |
13971 | * config/mips/mips.h (ASM_SPEC): Handle -mfix-24k. | |
13972 | * config/mips/mips.md (length): Increase by 4 for stores if | |
13973 | fixing 24K errata. | |
13974 | * config/mips/mips.c (mips_reorg_process_insns): Do not allow | |
13975 | all noreorder if fixing 24K errata. | |
13976 | * doc/invoke.texi: Document mfix-24k. | |
13977 | ||
01475747 CLT |
13978 | 2011-04-20 Chung-Lin Tang <cltang@codesourcery.com> |
13979 | ||
13980 | * config/arm/arm.c (arm_legitimize_reload_address): For NEON | |
2894086e | 13981 | quad-word modes, reduce to 9-bit index range when above 1016 limit. |
01475747 | 13982 | |
bc2c1a60 AS |
13983 | 2011-04-20 Andrew Stubbs <ams@codesourcery.com> |
13984 | ||
13985 | * config/arm/arm.c (arm_gen_constant): Move movw support .... | |
13986 | (const_ok_for_op): ... to here. | |
13987 | ||
583722ee KT |
13988 | 2011-04-20 Kai Tietz <ktietz@redhat.com> |
13989 | ||
2894086e UB |
13990 | * fold-const.c (fold_binary_loc): Add handling for (X & ~Y) | (~X & Y) |
13991 | and (X && !Y) | (!X && Y) optimization to (X ^ Y). | |
583722ee | 13992 | |
422c0989 AS |
13993 | 2011-04-20 Andrew Stubbs <ams@codesourcery.com> |
13994 | ||
13995 | * config/arm/arm.c (arm_gen_constant): Remove redundant can_invert. | |
13996 | ||
d7978bff RG |
13997 | 2011-04-20 Richard Guenther <rguenther@suse.de> |
13998 | ||
13999 | PR tree-optimization/47892 | |
14000 | * tree-if-conv.c (if_convertible_stmt_p): Const builtins | |
14001 | are if-convertible. | |
14002 | ||
818412ba EB |
14003 | 2011-04-20 Eric Botcazou <ebotcazou@adacore.com> |
14004 | ||
14005 | * config/alpha/vms.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not redefine. | |
14006 | ||
b501ce4e TG |
14007 | 2011-04-20 Tristan Gingold <gingold@adacore.com> |
14008 | ||
14009 | * config/alpha/vms.h (LINK_SPEC): Do not use vms-dwarf2.o for gnu-ld. | |
14010 | ||
516edfdd GJL |
14011 | 2011-04-20 Georg-Johann Lay <avr@gjlay.de> |
14012 | ||
14013 | PR target/18145 | |
14014 | ||
14015 | * config/avr/avr.h (TARGET_ASM_INIT_SECTIONS): Delete. | |
14016 | (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete. | |
14017 | (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. | |
14018 | (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Define. | |
14019 | (TARGET_ASM_NAMED_SECTION): Change to avr_asm_named_section. | |
14020 | ||
14021 | * config/avr/avr-protos.h (avr_asm_output_aligned_common): | |
14022 | New prototype. | |
14023 | ||
14024 | * config/avr/avr.c (TARGET_ASM_INIT_SECTIONS): Define. | |
14025 | (avr_asm_named_section, avr_asm_output_aligned_common, | |
14026 | avr_output_data_section_asm_op, avr_output_bss_section_asm_op): | |
14027 | New functions to update... | |
14028 | (avr_need_clear_bss_p, avr_need_copy_data_p): ...these new variables. | |
14029 | (avr_asm_init_sections): Overwrite section callbacks for | |
14030 | data_section, bss_section. | |
14031 | (avr_file_start): Move output of __do_copy_data, __do_clear_bss | |
14032 | from here to... | |
14033 | (avr_file_end): ...here. | |
14034 | ||
dafc9511 RG |
14035 | 2011-04-20 Richard Guenther <rguenther@suse.de> |
14036 | ||
14037 | PR middle-end/48695 | |
14038 | * tree-ssa-alias.c (aliasing_component_refs_p): Compute base | |
2894086e | 14039 | objects and types here. Adjust for their offset before comparing. |
dafc9511 | 14040 | |
1da0876c RS |
14041 | 2011-04-20 Richard Sandiford <richard.sandiford@linaro.org> |
14042 | ||
14043 | * tree-vect-stmts.c (vectorizable_store): Only chain one related | |
14044 | statement per copy. | |
14045 | ||
25583c4f RS |
14046 | 2011-04-20 Richard Sandiford <richard.sandiford@linaro.org> |
14047 | ||
14048 | * Makefile.in (INTERNAL_FN_DEF, INTERNAL_FN_H): Define. | |
14049 | (GIMPLE_H): Include $(INTERNAL_FN_H). | |
14050 | (OBJS-common): Add internal-fn.o. | |
14051 | (internal-fn.o): New rule. | |
14052 | * internal-fn.def: New file. | |
14053 | * internal-fn.h: Likewise. | |
14054 | * internal-fn.c: Likewise. | |
14055 | * gimple.h: Include internal-fn.h. | |
14056 | (GF_CALL_INTERNAL): New gf_mask. | |
14057 | (gimple_statement_call): Put fntype into a union with a new | |
14058 | internal_fn field. | |
14059 | (gimple_build_call_internal): Declare. | |
14060 | (gimple_build_call_internal_vec): Likewise. | |
14061 | (gimple_call_same_target_p): Likewise. | |
14062 | (gimple_call_internal_p): New function. | |
14063 | (gimple_call_internal_fn): Likewise. | |
14064 | (gimple_call_fntype): Return null for internal calls. | |
14065 | (gimple_call_set_fntype): Assert that the function is not internal. | |
14066 | (gimple_call_set_fn): Likewise. | |
14067 | (gimple_call_set_fndecl): Likewise. | |
14068 | (gimple_call_set_internal_fn): New function. | |
14069 | (gimple_call_addr_fndecl): Handle null functions. | |
14070 | (gimple_call_return_type): Likewise null types. | |
14071 | * gimple.c (gimple_build_call_internal_1): New function. | |
14072 | (gimple_build_call_internal): Likewise. | |
14073 | (gimple_build_call_internal_vec): Likewise. | |
14074 | (gimple_call_same_target_p): Likewise. | |
14075 | (gimple_call_flags): Handle calls to internal functions. | |
14076 | (gimple_call_fnspec): New function. | |
14077 | (gimple_call_arg_flags, gimple_call_return_flags): Use it. | |
14078 | (gimple_has_side_effects): Handle null functions. | |
14079 | (gimple_rhs_has_side_effects): Likewise. | |
14080 | (gimple_call_copy_skip_args): Handle calls to internal functions. | |
14081 | * cfgexpand.c (expand_call_stmt): Likewise. | |
14082 | * expr.c (expand_expr_real_1): Assert that the call isn't internal. | |
14083 | * gimple-fold.c (gimple_fold_call): Handle null functions. | |
14084 | (gimple_fold_stmt_to_constant_1): Don't fold | |
14085 | calls to internal functions. | |
14086 | * gimple-low.c (gimple_check_call_args): Handle calls to internal | |
14087 | functions. | |
14088 | * gimple-pretty-print.c (dump_gimple_call): Likewise. | |
14089 | * ipa-prop.c (ipa_analyze_call_uses): Handle null functions. | |
14090 | * tree-cfg.c (verify_gimple_call): Handle calls to internal functions. | |
14091 | (do_warn_unused_result): Likewise. | |
14092 | * tree-eh.c (same_handler_p): Use gimple_call_same_target_p. | |
14093 | * tree-ssa-ccp.c (ccp_fold_stmt): Handle calls to internal functions. | |
14094 | * tree-ssa-dom.c (hashable_expr): Use the gimple statement to record | |
14095 | the target of a call. | |
14096 | (initialize_hash_element): Update accordingly. | |
14097 | (hashable_expr_equal_p): Use gimple_call_same_target_p. | |
14098 | (iterative_hash_hashable_expr): Handle calls to internal functions. | |
14099 | (print_expr_hash_elt): Likewise. | |
14100 | * tree-ssa-pre.c (can_value_number_call): Likewise. | |
14101 | (eliminate): Handle null functions. | |
14102 | * tree-ssa-sccvn.c (visit_use): Handle calls to internal functions. | |
14103 | * tree-ssa-structalias.c (get_fi_for_callee): Likewise. | |
14104 | (find_func_aliases): Likewise. | |
14105 | * value-prof.c (gimple_ic_transform): Likewise. | |
14106 | (gimple_indirect_call_to_profile): Likewise. | |
14107 | * lto-streamer-in.c (input_gimple_stmt): Likewise. | |
14108 | * lto-streamer-out.c (output_gimple_stmt): Likewise. | |
14109 | ||
1a3118e9 JH |
14110 | 2011-04-19 Jan Hubicka <jh@suse.cz> |
14111 | ||
14112 | * ipa-inline-transform.c (save_inline_function_body): Add comments. | |
9d12f71a EB |
14113 | * ipa-inline.c (inline_small_functions): Compute summaries first, |
14114 | populate heap later. | |
1a3118e9 | 14115 | |
fee8b6da JH |
14116 | 2011-04-19 Jan Hubicka <jh@suse.cz> |
14117 | ||
14118 | * cgraph.h (save_inline_function_body): Remove. | |
14119 | * ipa-inline-transform.c: New file, broke out of... | |
14120 | * ipa-inline.c: ... this one; Update toplevel comment. | |
14121 | (ncalls_inlined, nfunctions_inlined): Move to ipa-inline-transform.c; | |
14122 | make global. | |
14123 | (update_noncloned_frequencies): Move to ipa-inline-transform.c | |
14124 | (cgraph_mark_inline_edge): Rename to inline_call; move to | |
14125 | ipa-inline-transform.c. | |
14126 | (cgraph_clone_inlined_nodes): Rename to clone_inlined_nodes; | |
14127 | move to ipa-inline-transform.c | |
14128 | (recursive_inlining, inline_small_functions, flatten_function, | |
14129 | ipa_inline, inline_always_inline_functions, | |
14130 | early_inline_small_functions): Update. | |
14131 | (inline_transform): Move to ipa-inline-transform.c. | |
14132 | * ipa-inline.h (inline_call, inline_transform, clone_inlined_nodes): | |
14133 | Declare. | |
14134 | * Makefile.in (ipa-inline-transform.o): New file. | |
14135 | * cgraphunit.c (save_inline_function_body): Move to | |
14136 | ipa-inline-transform.c | |
14137 | ||
f0679612 DD |
14138 | 2011-04-19 DJ Delorie <dj@redhat.com> |
14139 | ||
14140 | * config/m32c/m32c.c (m32c_emit_epilogue): Don't try to push | |
14141 | registers if we already know there aren't any. | |
14142 | (m32c_emit_epilogue): Don't emit a barrier here. | |
14143 | (m32c_emit_eh_epilogue): Likewise. | |
14144 | * config/m32c/blkmov.md (movstr): Don't fail on wrong-type | |
14145 | operands at expand time. | |
14146 | * config/m32c/m32c.h (WCHAR_TYPE_SIZE): Change to 4 to match "long | |
14147 | int" wchar type. | |
14148 | (REG_CLASS_CONTENTS, reg_class, REG_CLASS_NAMES): Remove | |
14149 | duplicates. Provide aliases instead. | |
14150 | * config/m32c/prologue.md (eh_return): Emit a barrier here. | |
14151 | (eh_epilogue): Add a "(return)" here as a hint to other parts of | |
14152 | the compiler. | |
14153 | ||
32257ddc AS |
14154 | 2011-04-19 Anatoly Sokolov <aesok@post.ru> |
14155 | ||
14156 | * config/sparc/sparc.h (GENERAL_OR_I64, REGISTER_MOVE_COST): Remove. | |
14157 | * config/sparc/sparc.c (TARGET_REGISTER_MOVE_COST): Define. | |
14158 | (general_or_i64_p, sparc_register_move_cost): New function. | |
14159 | ||
60bea929 RO |
14160 | 2011-04-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14161 | ||
14162 | * doc/install.texi (Configuration, --enable-threads): Remove mach. | |
3b84d61f | 14163 | Add lynx, mipssde. Sort table. |
60bea929 | 14164 | |
444b3995 | 14165 | 2011-04-19 Xinliang David Li <davidxl@google.com> |
3b84d61f | 14166 | |
9d12f71a EB |
14167 | * ipa-cp.c (ipcp_update_profiling): Assert that scale_completement is |
14168 | not negative. | |
444b3995 | 14169 | |
d708ce50 JJ |
14170 | 2011-04-19 Jakub Jelinek <jakub@redhat.com> |
14171 | ||
14172 | PR target/48678 | |
14173 | * config/i386/i386.md (movstrict<mode>): FAIL if operands[0] | |
14174 | is a SUBREG with non-MODE_INT mode inside of it. | |
14175 | ||
49c471e3 MJ |
14176 | 2011-04-19 Martin Jambor <mjambor@suse.cz> |
14177 | ||
14178 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): Devirtualize | |
14179 | also according to actual contants. | |
14180 | * gimple-fold.c (gimple_extract_devirt_binfo_from_cst): New function. | |
14181 | (gimple_fold_call): Use it. | |
14182 | * gimple.h (gimple_extract_devirt_binfo_from_cst): Declare. | |
14183 | ||
0004f992 MJ |
14184 | 2011-04-19 Martin Jambor <mjambor@suse.cz> |
14185 | ||
14186 | * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Return false for scalar | |
14187 | non-pointer assignments. | |
14188 | ||
40591473 MJ |
14189 | 2011-04-19 Martin Jambor <mjambor@suse.cz> |
14190 | ||
14191 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): Take into | |
14192 | account anc_offset and otr_type from the indirect edge info. | |
14193 | * ipa-prop.c (get_ancestor_addr_info): New function. | |
14194 | (compute_complex_ancestor_jump_func): Assignment analysis moved to | |
14195 | get_ancestor_addr_info, call it. | |
14196 | (ipa_note_param_call): Do not initialize information about polymorphic | |
14197 | calls, return the indirect call graph edge. Remove the last | |
14198 | parameter, adjust all callers. | |
14199 | (ipa_analyze_virtual_call_uses): Process also calls to ancestors of | |
14200 | parameters. Initialize polymorphic information in the indirect edge. | |
14201 | ||
abe36b81 EB |
14202 | 2011-04-19 Eric Botcazou <ebotcazou@adacore.com> |
14203 | ||
14204 | PR lto/48148 | |
14205 | * gimple.c (gimple_types_compatible_p_1) <ENUMERAL_TYPE>: Do not merge | |
14206 | the types if they have different enumeration identifiers. | |
14207 | ||
e6416b30 JH |
14208 | 2011-04-19 Jan Hubicka <jh@suse.cz> |
14209 | ||
14210 | * cgraph.h (cgraph_optimize_for_size_p): Declare. | |
14211 | * ipa-cp.c (ipcp_insert_stage): Use cgraph_optimize_for_size_p. | |
14212 | * predict.c (cgraph_optimize_for_size_p): Break out from ... | |
14213 | (optimize_function_for_size_p) ... here. | |
14214 | ||
d39132ea RG |
14215 | 2011-04-19 Richard Guenther <rguenther@suse.de> |
14216 | ||
14217 | PR lto/48207 | |
14218 | * tree.c (free_lang_data): Do not reset the decl-assembler-name | |
14219 | langhook. | |
14220 | ||
ff7037dc EB |
14221 | 2011-04-19 Eric Botcazou <ebotcazou@adacore.com> |
14222 | ||
14223 | * tree-inline.c (expand_call_inline): Do not issue a -Winline warning | |
14224 | if DECL_NO_INLINE_WARNING_P is set on the function. | |
14225 | ||
c1ee2892 BS |
14226 | 2011-04-19 Bernd Schmidt <bernds@codesourcery.com> |
14227 | ||
14228 | PR fortran/47976 | |
14229 | * reload1.c (inc_for_reload): Return void. All callers changed. | |
14230 | (emit_input_reload_insns): Don't try to delete previous output | |
14231 | reloads to a register, or record spill_reg_store for autoincs. | |
fbb20b29 BS |
14232 | |
14233 | 2011-04-19 Basile Starynkevitch <basile@starynkevitch.net> | |
14234 | ||
14235 | * gengtype.h: Updated copyright year. | |
14236 | (struct input_file_st): Add inpisplugin field. | |
14237 | (type_fileloc): New function. | |
14238 | * gengtype.c | |
14239 | (write_typed_struct_alloc_def): Add gcc_assert. | |
14240 | (write_typed_alloc_defns): Ditto. Don't output for plugin files. | |
14241 | (write_typed_alloc_defns): Don't output for plugin files. | |
14242 | (input_file_by_name): Clear inpisplugin field. | |
14243 | (main): Set inpisplugin field for plugin files. | |
14244 | ||
897e0a89 NP |
14245 | 2011-04-19 Nicola Pero <nicola.pero@meta-innovation.com> |
14246 | ||
14247 | * gengtype-state.c (string_eq): New. | |
14248 | (read_state): Use string_eq instead of strcmp when creating the | |
14249 | state_ident_tab. | |
14250 | ||
363ee90e WG |
14251 | 2011-04-19 Wei Guozhi <carrot@google.com> |
14252 | ||
14253 | PR target/47855 | |
14254 | * config/arm/arm-protos.h (thumb1_legitimate_address_p): New prototype. | |
14255 | * config/arm/arm.c (thumb1_legitimate_address_p): Remove the static | |
14256 | linkage. | |
14257 | * config/arm/constraints.md (Uu): New constraint. | |
14258 | * config/arm/arm.md (*arm_movqi_insn): Compute attr "length". | |
14259 | ||
18a24fed TG |
14260 | 2011-04-19 Tristan Gingold <gingold@adacore.com> |
14261 | ||
14262 | * config.gcc (-*-*-*vms): Added. | |
14263 | (alpha64-dec-*vms*,alpha*-dec-*vms*, ia64-hp-*vms*): Common | |
14264 | definitions moved. | |
14265 | * config/vms/vms-ld.c: New file. | |
14266 | * config/vms/vms-ar.c: New file. | |
14267 | * config/vms/t-vmsnative: New file. | |
14268 | ||
1c13f168 XDL |
14269 | 2011-04-18 Xinliang David Li <davidxl@google.com> |
14270 | ||
14271 | * final.c (dump_basic_block_info): Use ASM_COMMENT_START. | |
14272 | ||
84825707 JJ |
14273 | 2011-04-18 Jakub Jelinek <jakub@redhat.com> |
14274 | ||
14275 | PR middle-end/48661 | |
14276 | * gimple-fold.c (gimple_get_virt_method_for_binfo): Return NULL | |
14277 | if TREE_TYPE (v) is non-NULL. | |
14278 | ||
14279 | * gimple-fold.c (gimple_get_virt_method_for_binfo): Renamed from | |
14280 | gimple_get_virt_mehtod_for_binfo. | |
14281 | * gimple.h (gimple_get_virt_method_for_binfo): Likewise. | |
14282 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): Adjust | |
14283 | callers. | |
14284 | * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise. | |
14285 | ||
7d4f8d02 | 14286 | 2011-04-18 Michael Matz <matz@suse.de> |
7254cb57 MM |
14287 | Steve Ellcey <sje@cup.hp.com> |
14288 | ||
7d4f8d02 EB |
14289 | * expr.c (expand_expr_real_2) <CASE_CONVERT>: If OP0 is a constant, |
14290 | use its mode as source mode if it isn't VOIDmode. | |
7254cb57 | 14291 | |
474e8e70 DCR |
14292 | 2011-04-18 Dennis, CHENG Renquan <crquan@fedoraproject.org> |
14293 | ||
14294 | * doc/passes.texi: Fill crossref nodes. | |
14295 | ||
cff41484 JM |
14296 | 2011-04-18 Jim Meyering <meyering@redhat.com> |
14297 | ||
7d4f8d02 | 14298 | Fix doubled-word typos in comments and strings |
cff41484 JM |
14299 | * config/alpha/vms-unwind.h: s/for for/for/ |
14300 | * config/arm/unwind-arm.h: Likewise. | |
14301 | * config/microblaze/microblaze.c: Likewise. | |
14302 | * config/sh/constraints.md: s/in in/in/ | |
14303 | * tree-cfg.c (verify_types_in_gimple_reference): Likewise. | |
14304 | ||
f60c2554 UB |
14305 | 2011-04-18 Uros Bizjak <ubizjak@gmail.com> |
14306 | ||
14307 | * config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): Remove. | |
14308 | (AVX_FLOAT_MODE_P): Ditto. | |
14309 | (AVX128_VEC_FLOAT_MODE_P): Ditto. | |
14310 | (AVX256_VEC_FLOAT_MODE_P): Ditto. | |
14311 | (AVX_VEC_FLOAT_MODE_P): Ditto. | |
14312 | * config/i386/i386.md (UNSPEC_MASKLOAD): Remove. | |
14313 | (UNSPEC_MASKSTORE): Ditto. | |
14314 | * config/i386/sse.md (<sse>_movmsk<ssemodesuffix><avxmodesuffix>): | |
14315 | Merge from <sse>_movmsk<ssemodesuffix> and | |
14316 | avx_movmsk<ssemodesuffix>256. Use VF mode iterator. | |
14317 | (*sse2_maskmovdqu): Merge with *sse2_maskmovdqu_rex64. Use P mode | |
14318 | iterator. | |
14319 | (avx_maskload<ssemodesuffix><avxmodesuffix>): New expander. | |
14320 | (avx_maskstore<ssemodesuffix><avxmodesuffix>): Ditto. | |
14321 | (*avx_maskmov<ssemodesuffix><avxmodesuffix>): New insn. | |
14322 | ||
09a2806f JH |
14323 | 2011-04-18 Jan Hubicka <jh@suse.cz> |
14324 | ||
8a8dccb2 JH |
14325 | * ipa-inline.c (inline_small_functions): Fix pasto in previous patch. |
14326 | ||
09a2806f JH |
14327 | * ipa-inline.c: Fix comment typos; do not inline gt-ipa-inline.h |
14328 | (want_inline_function_called_once_p): Break out the logic from | |
14329 | ipa_inline. | |
14330 | (edge_badness): Ensure that profile is not misupdated. | |
14331 | (lookup_recursive_calls): Prioritize by call frequencies. | |
14332 | (inline_small_functions): Move program size estimates here; | |
14333 | actually process whole queue even when unit growth has been | |
14334 | met. (to properly compute inline_failed reasons and for the | |
f60c2554 | 14335 | case unit size decrease.) Revisit comments on recursive inlining. |
09a2806f JH |
14336 | (ipa_inline): Remove unit summary code; first inline hot calls |
14337 | of functions called once, cold calls next. | |
14338 | (order, nnodes): Remove unused variables. | |
14339 | * Makefile.in (ipa-inline.o): No longer depent on ggc files. | |
14340 | (GTFILES): Remove ipa-inline.c | |
14341 | * sel-sched.c (fill_insns): Silence uninitialized var warning. | |
14342 | ||
3eea52ef EB |
14343 | 2011-04-18 Eric Botcazou <ebotcazou@adacore.com> |
14344 | ||
14345 | * dwarf2out.c (is_redundant_typedef): Add 'inline' to prototype. | |
14346 | ||
229a1c59 | 14347 | 2011-04-18 Jie Zhang <jie@codesourcery.com> |
3eea52ef | 14348 | Richard Earnshaw <rearnsha@arm.com> |
229a1c59 JZ |
14349 | |
14350 | * arm.c (neon_builtin_type_bits): Remove. | |
14351 | (typedef enum neon_builtin_mode): New. | |
14352 | (T_MAX): Don't define. | |
14353 | (typedef enum neon_builtin_datum): Remove bits, codes[], | |
14354 | num_vars and base_fcode. Add mode, code and fcode. | |
14355 | (VAR1, VAR2, VAR3, VAR4, VAR5, VAR6, VAR7, VAR8, VAR9 | |
14356 | VAR10): Change accordingly. | |
14357 | (neon_builtin_data[]): Change accordingly | |
14358 | (arm_init_neon_builtins): Change accordingly. | |
14359 | (neon_builtin_compare): Remove. | |
14360 | (locate_neon_builtin_icode): Remove. | |
14361 | (arm_expand_neon_builtin): Change accordingly. | |
14362 | ||
14363 | * arm.h (enum arm_builtins): Move to ... | |
14364 | * arm.c (enum arm_builtins): ... here; and rearrange builtin code. | |
14365 | ||
14366 | * arm.c (arm_builtin_decl): Declare. | |
14367 | (TARGET_BUILTIN_DECL): Define. | |
14368 | (enum arm_builtins): Correct ARM_BUILTIN_MAX. | |
14369 | (arm_builtin_decls[]): New. | |
14370 | (arm_init_neon_builtins): Store builtin declarations in | |
14371 | arm_builtin_decls[]. | |
14372 | (arm_init_tls_builtins): Likewise. | |
14373 | (arm_init_iwmmxt_builtins): Likewise. Refactor initialization code. | |
14374 | (arm_builtin_decl): New. | |
14375 | ||
75e802cc RG |
14376 | 2011-04-18 Richard Guenther <rguenther@suse.de> |
14377 | ||
14378 | * tree.c (upper_bound_in_type): Build properly canonicalized | |
14379 | INTEGER_CSTs. | |
14380 | (lower_bound_in_type): Likewise. | |
14381 | ||
3b45a007 RG |
14382 | 2011-04-18 Richard Guenther <rguenther@suse.de> |
14383 | ||
14384 | * gimple.h (gimple_call_addr_fndecl): New function. | |
14385 | (gimple_call_fndecl): Use it. | |
14386 | * gimple-fold.c (gimple_fold_call): Fold away OBJ_TYPE_REFs | |
14387 | for direct calls. | |
14388 | * tree-ssa-ccp.c (ccp_fold_stmt): Remove OBJ_TYPE_REF folding. | |
14389 | * tree-ssa-pre.c (eliminate): Also simplify indirect OBJ_TYPE_REFs. | |
14390 | ||
d25a79ea RG |
14391 | 2011-04-18 Richard Guenther <rguenther@suse.de> |
14392 | ||
14393 | PR middle-end/48650 | |
14394 | * tree.c (build_string): STRING_CST is now derived from tree_typed. | |
14395 | ||
7d5fc814 EB |
14396 | 2011-04-18 Eric Botcazou <ebotcazou@adacore.com> |
14397 | ||
14398 | PR lto/48492 | |
14399 | * cfgexpand.c (expand_debug_expr) <VAR_DECL>: Return NULL for a | |
14400 | DECL_IN_CONSTANT_POOL without RTL. | |
14401 | ||
7e7cfcf6 UW |
14402 | 2011-04-18 Ulrich Weigand <ulrich.weigand@linaro.org> |
14403 | Ira Rosen <ira.rosen@linaro.org> | |
14404 | ||
14405 | PR target/48252 | |
14406 | * config/arm/arm.c (neon_emit_pair_result_insn): Swap arguments | |
14407 | to match neon_vzip/vuzp/vtrn_internal. | |
14408 | * config/arm/neon.md (neon_vtrn<mode>_internal): Make both | |
14409 | outputs explicitly dependent on both inputs. | |
14410 | (neon_vzip<mode>_internal, neon_vuzp<mode>_internal): Likewise. | |
14411 | ||
49eab32e JJ |
14412 | 2011-04-18 Jakub Jelinek <jakub@redhat.com> |
14413 | ||
14414 | PR tree-optimization/48616 | |
14415 | * tree-vect-stmts.c (vectorizable_shift): If SLP, determine | |
14416 | whether the shift is by scalar or vector based on whether all SLP | |
14417 | scalar stmts have the same rhs. | |
14418 | ||
e54170f4 CLT |
14419 | 2011-04-17 Chung-Lin Tang <cltang@codesourcery.com> |
14420 | ||
14421 | * config/arm/arm.c (neon_struct_mem_operand): Support POST_INC/PRE_DEC | |
14422 | memory operands. | |
14423 | ||
b14ee6c9 RS |
14424 | 2011-04-17 Richard Sandiford <rdsandiford@googlemail.com> |
14425 | ||
269e0e18 | 14426 | PR target/43700 |
b14ee6c9 RS |
14427 | * config/mips/mips.c (mips_cfun_call_saved_reg_p): Handle global |
14428 | registers. | |
14429 | ||
10158cd3 JH |
14430 | 2011-04-17 Jan Hubicka <jh@suse.cz> |
14431 | ||
14432 | * cgrpah.h (struct cgraph_node): Remove finalized_by_frontend. | |
7d5fc814 EB |
14433 | * cgrpahunit.c (cgraph_finalize_function): Do not set |
14434 | finalized_by_frontend. | |
10158cd3 JH |
14435 | * lto-cgraph.c (lto_output_node, input_overwrite_node): Do not stream |
14436 | finalized_by_frontend. | |
14437 | ||
2e9bb6ba JH |
14438 | 2011-04-17 Jan Hubicka <jh@suse.cz> |
14439 | ||
14440 | * cgraph.c (cgraph_clone_node): Do not handle vtable_method | |
14441 | * cgraph.h (struct cgraph_local_info): Drop vtable_method. | |
14442 | * cgraphunit.c (cgraph_copy_node_for_versioning): Drop vtable_method. | |
7d5fc814 EB |
14443 | * lto-cgraph.c (lto_output_node, input_overwrite_node): Drop vtable |
14444 | method. | |
2e9bb6ba JH |
14445 | * gimple-fold.c (can_refer_decl_in_current_unit_p): Mention PR20991 in |
14446 | gimple-fold.c | |
14447 | * varasm.c (mark_decl_referenced): Drop vtable_method handling code. | |
14448 | ||
beb628e1 EB |
14449 | 2011-04-17 Eric Botcazou <ebotcazou@adacore.com> |
14450 | ||
14451 | PR lto/48538 | |
14452 | * lto-cgraph.c (merge_profile_summaries): Check that lto_file_data | |
14453 | is non-null before accessing it. | |
14454 | (input_cgraph): Remove trailing spaces. | |
14455 | ||
3e2fdd24 RE |
14456 | 2011-04-17 Revital Eres <revital.eres@linaro.org> |
14457 | ||
14458 | * params.def (sms-min-sc): New param flag. | |
14459 | * modulo-sched.c (sms_schedule): Use it. | |
14460 | * doc/invoke.texi (sms-min-sc): Document it. | |
14461 | ||
4c0f7679 JH |
14462 | 2011-04-17 Jan Hubicka <jh@suse.cz> |
14463 | ||
14464 | * lto-symtab.c (lto_cgraph_replace_node): When call statement is | |
14465 | present, also set gimple_call_set_cannot_inline. | |
14466 | * ipa-inline.c: Update toplevel comment. | |
14467 | (MAX_TIME): Remove. | |
14468 | (cgraph_clone_inlined_nodes): Fix linebreaks. | |
14469 | (cgraph_check_inline_limits): Restructure to ... | |
14470 | (caller_growth_limits): ... this one; be more tolerant | |
14471 | on growth in nested inline chains; add explanatory comment; | |
14472 | fix stack accounting thinko introduced by previous patch. | |
14473 | (cgraph_default_inline_p): Remove. | |
14474 | (report_inline_failed_reason): New function. | |
14475 | (can_inline_edge_p): New function. | |
14476 | (can_early_inline_edge_p): New function. | |
14477 | (leaf_node_p): Move upwards in file. | |
14478 | (want_early_inline_function_p): New function. | |
14479 | (want_inline_small_function_p): New function. | |
14480 | (want_inline_self_recursive_call_p): New function. | |
14481 | (cgraph_edge_badness): Rename to ... | |
14482 | (edge_badness) ... this one; fix linebreaks. | |
14483 | (update_edge_key): Update call of edge_baddness; add | |
14484 | detailed dump about queue updates. | |
14485 | (update_caller_keys): Use can_inline_edge_p and | |
14486 | want_inline_small_function_p. | |
14487 | (cgraph_decide_recursive_inlining): Rename to... | |
14488 | (recursive_inlining): Use can_inline_edge_p and | |
f60c2554 UB |
14489 | want_inline_self_recursive_call_p; simplify and remove no longer |
14490 | valid FIXME. | |
4c0f7679 JH |
14491 | (cgraph_set_inline_failed): Remove. |
14492 | (add_new_edges_to_heap): Use can_inline_edge_p and | |
14493 | want_inline_small_function_p. | |
14494 | (cgraph_decide_inlining_of_small_functions): Rename to ... | |
14495 | (inline_small_functions): ... this one; cleanup; use | |
f60c2554 UB |
14496 | can/want predicates; cleanup debug ouput; work edges till fibheap |
14497 | is exhausted and do not stop once unit growth is reached; remove | |
14498 | later loop processing remaining edges. | |
4c0f7679 JH |
14499 | (cgraph_flatten): Rename to ... |
14500 | (flatten_function): ... this one; use can_inline_edge_p | |
14501 | and can_early_inline_edge_p predicates. | |
14502 | (cgraph_decide_inlining): Rename to ... | |
14503 | (ipa_inline): ... this one; remove unreachable nodes before | |
14504 | inlining functions called once; simplify the pass. | |
14505 | (cgraph_perform_always_inlining): Rename to ... | |
14506 | (inline_always_inline_functions): ... this one; use | |
f60c2554 | 14507 | DECL_DISREGARD_INLINE_LIMITS; use can_inline_edge_p predicate. |
4c0f7679 JH |
14508 | (cgraph_decide_inlining_incrementally): Rename to ... |
14509 | (early_inline_small_functions): ... this one; simplify | |
14510 | using new predicates; cleanup; make dumps prettier. | |
14511 | (cgraph_early_inlining): Rename to ... | |
14512 | (early_inliner): newer inline regular functions into always-inlines; | |
14513 | fix updating of call stmt summaries. | |
14514 | (pass_early_inline): Update for new names. | |
14515 | (inline_transform): Fix formating. | |
14516 | (gate_cgraph_decide_inlining): Rename to ... | |
14517 | (pass_ipa_inline): ... this one. | |
14518 | * ipa-inline.h (inline_summary): Remove disregard_inline_limits. | |
14519 | * ipa-inline-analysis.c (dump_inline_summary): Update. | |
14520 | (compute_inline_parameters): Do not compute disregard_inline_limits; | |
14521 | look for mismatching arguments. | |
14522 | (estimate_growth): Fix handlig of non-trivial self recursion. | |
14523 | (inline_read_summary): Do not read info->disregard_inline_limits. | |
14524 | (inline_write_summary): Do not write info->disregard_inline_limits. | |
beb628e1 EB |
14525 | * tree-inline.c (inline_forbidden_into_p, tree_can_inline_p): Remove |
14526 | and move all checks into can_inline_edge_p predicate; re-enable code | |
14527 | comparing optimization levels. | |
4c0f7679 JH |
14528 | (expand_call_inline): Do not test inline_forbidden_into_p. |
14529 | * Makefile.in (ipa-inline.o): Update arguments. | |
14530 | ||
54333b7c RE |
14531 | 2011-04-17 Revital Eres <revital.eres@linaro.org> |
14532 | ||
14533 | * ddg.c (free_ddg_all_sccs): Free sccs field in struct ddg_all_sccs. | |
14534 | ||
42c2bf92 RE |
14535 | 2011-04-17 Revital Eres <revital.eres@linaro.org> |
14536 | ||
14537 | * modulo-sched.c (sms_schedule): Avoid unfreed memory when SMS fails. | |
14538 | ||
b183e9e0 MM |
14539 | 2011-04-17 Michael Matz <matz@suse.de> |
14540 | ||
14541 | PR tree-optimization/48622 | |
14542 | PR lto/48645 | |
14543 | * ipa-inline-analysis.c (inline_read_summary): Read size/time | |
14544 | in same order as they're written. | |
14545 | ||
b8a17fa2 JDA |
14546 | 2011-04-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
14547 | ||
14548 | * config/pa/predicates.md: Reorganize and simplify predicates. | |
14549 | Eliminate duplicate code checks. | |
14550 | (arith_operand): Rename to arith14_operand | |
14551 | (reg_or_ior_operand): Rename to reg_or_cint_ior_operand. | |
14552 | * config/pa/pa.md: Use renamed operands. | |
14553 | * config/pa/pa-protos.h (symbolic_operand): Delete declaration. | |
14554 | (tls_symbolic_operand, function_label_operand, lhs_lshift_cint_operand, | |
14555 | arith11_operand, adddi3_operand, indexed_memory_operand, | |
14556 | symbolic_memory_operand, int11_operand, reg_or_cint_move_operand, | |
14557 | arith5_operand, uint5_operand, pic_label_operand, plus_xor_ior_operator, | |
14558 | borx_reg_operand, shadd_operand, arith_operand, read_only_operand, | |
14559 | move_dest_operand, move_src_operand, prefetch_cc_operand, | |
14560 | prefetch_nocc_operand, and_operand, ior_operand, arith32_operand, | |
14561 | uint32_operand, reg_before_reload_operand, reg_or_0_operand, | |
14562 | reg_or_0_or_nonsymb_mem_operand, pre_cint_operand, post_cint_operand, | |
14563 | div_operand, int5_operand, movb_comparison_operator, | |
14564 | ireg_or_int5_operand, call_operand_address, ior_operand, fp_reg_operand, | |
14565 | arith_double_operand, ireg_operand, lhs_lshift_operand, | |
14566 | pc_or_label_operand, non_hard_reg_operand, eq_neq_comparison_operator, | |
14567 | integer_store_memory_operand): Likewise. | |
14568 | * config/pa/pa.c (adddi3_operand): Move to predicates.md. | |
14569 | (integer_store_memory_operand, read_only_operand, | |
14570 | function_label_operand, borx_reg_operand, | |
14571 | non_hard_reg_operand): Likewise. | |
14572 | (eq_neq_comparison_operator): Delete unused operator. | |
14573 | (legitimize_pic_address): Use VOIDmode for mode argument in calls to | |
14574 | function_label_operand. | |
14575 | (emit_move_sequence): Likewise. | |
14576 | ||
8dfb9f16 UB |
14577 | 2011-04-16 Uros Bizjak <ubizjak@gmail.com> |
14578 | ||
14579 | * config/i386/sse.md (sseunpackmode): New mode attribute. | |
14580 | (ssepackmode): Ditto. | |
14581 | (vec_pack_trunc_<mode>): Macroize expander from | |
14582 | vec_pack_trunc_{v8hi,v4si,v2di} using VI248_128 mode iterator. | |
14583 | (vec_unpacks_lo_<mode>): Macroize expander from | |
14584 | vec_unpacks_lo_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
14585 | (vec_unpacks_hi_<mode>): Macroize expander from | |
14586 | vec_unpacks_hi_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
14587 | (vec_unpacku_lo_<mode>): Macroize expander from | |
14588 | vec_unpacku_lo_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
14589 | (vec_unpacku_hi_<mode>): Macroize expander from | |
14590 | vec_unpacks_hi_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
14591 | * config/i386/i386.c (ix86_expand_sse_unpack): Merge with | |
14592 | ix86_expand_sse4_unpack. | |
14593 | * config/i386/i386-protos.h (ix86_expand_sse4_unpack): Remove. | |
14594 | ||
e7f23018 JH |
14595 | 2011-04-16 Jan Hubicka <jh@suse.cz> |
14596 | ||
14597 | * cgraphbuild.c: Include ipa-inline.h. | |
14598 | (reset_inline_failed): Use initialize_inline_failed. | |
14599 | * cgraph.c: Include ipa-inline.h. | |
14600 | (cgraph_create_node_1): Do not initialize estimated_growth. | |
14601 | (initialize_inline_failed): More to ipa-inline-analysis.c | |
14602 | (dump_cgraph_node): Do not dump inline flags. | |
14603 | * cgraph.h (cgraph_local_info): Remove inlineable, versionable | |
14604 | and disregard_inline_limits flags. | |
14605 | (cgrpah_global_info): Remove estimated_stack_size, stack_frame_offset, | |
14606 | time, size, estimated_growth. | |
8dfb9f16 UB |
14607 | * ipa-cp.c (ipcp_versionable_function_p, ipcp_generate_summary): |
14608 | Update. | |
e7f23018 JH |
14609 | * cgraphunit.c (cgraph_decide_is_function_needed): Use |
14610 | DECL_DISREGARD_INLINE_LIMITS. | |
14611 | (cgraph_analyze_function): Do not initialize | |
14612 | node->local.disregard_inline_limits. | |
14613 | * lto-cgraph.c (lto_output_node, input_overwrite_node): Do not stream | |
14614 | inlinable, versionable and disregard_inline_limits. | |
14615 | * ipa-inline.c (cgraph_clone_inlined_nodes, cgraph_mark_inline_edge, | |
8dfb9f16 UB |
14616 | cgraph_check_inline_limits, cgraph_default_inline_p, |
14617 | cgraph_edge_badness, update_caller_keys, update_callee_keys, | |
14618 | add_new_edges_to_heap): Update. | |
14619 | (cgraph_decide_inlining_of_small_function): Update; set | |
14620 | CIF_FUNCTION_NOT_INLINABLE for uninlinable functions. | |
e7f23018 JH |
14621 | (cgraph_decide_inlining, cgraph_edge_early_inlinable_p, |
14622 | cgraph_decide_inlining_incrementally): Update. | |
8dfb9f16 UB |
14623 | * ipa-inline.h (inline_summary): Add inlinable, versionable, |
14624 | disregard_inline_limits, estimated_stack_size, stack_frame_offset, | |
14625 | time, size and estimated_growth parameters. | |
e7f23018 JH |
14626 | (estimate_edge_growth): Update. |
14627 | (initialize_inline_failed): Declare. | |
14628 | * ipa-split.c: Include ipa-inline.h | |
14629 | (execute_split_functions): Update. | |
14630 | * ipa.c (cgraph_postorder): Use DECL_DISREGARD_INLINE_LIMITS. | |
14631 | (cgraph_remove_unreachable_nodes): Do not clear inlinable flag. | |
14632 | (record_cdtor_fn): Use DECL_DISREGARD_INLINE_LIMITS. | |
14633 | * ipa-inline-analysis.c (inline_node_removal_hook): Update; set | |
14634 | estimated_growth to INT_MIN. | |
14635 | (inline_node_duplication_hook): Likewise. | |
14636 | (dump_inline_summary): Dump new fields. | |
14637 | (compute_inline_parameters): Update. | |
14638 | (estimate_edge_time, estimate_time_after_inlining, | |
14639 | estimate_size_after_inlining, estimate_growth, inline_read_summary, | |
14640 | inline_write_summary): | |
14641 | (initialize_inline_failed): Move here from cgraph.c. | |
14642 | * tree-sra.c: Include ipa-inline.h. | |
14643 | (ipa_sra_preliminary_function_checks): Update. | |
f60c2554 UB |
14644 | * Makefile.in (cgraph.o, cgraphbuild.o): Add dependency on |
14645 | ipa-inline.h. | |
e7f23018 | 14646 | |
e81b8564 UB |
14647 | 2011-04-16 Uros Bizjak <ubizjak@gmail.com> |
14648 | ||
14649 | * config/i386/sse.md (V16): New mode iterator. | |
14650 | (VI1, VI8): Ditto. | |
14651 | (AVXMODEQI, AVXMODEDI): Remove. | |
14652 | (sse2, sse3): New mode attribute. | |
14653 | (mov<mode>): Use V16 mode iterator. | |
14654 | (*mov<mode>_internal): Merge with *avx_mov<mode>_internal. | |
14655 | (push<mode>1): Use V16 mode iterator. | |
14656 | (movmisalign<mode>): Ditto. | |
14657 | (<sse>_movu<ssemodesuffix><avxmodesuffix>): Merge from | |
14658 | <sse>_movu<ssemodesuffix> and avx_movu<ssemodesuffix><avxmodesuffix>. | |
14659 | (*<sse>_movu<ssemodesuffix><avxmodesuffix>): Merge from | |
14660 | *<sse>_movu<ssemodesuffix> and *avx_movu<ssemodesuffix><avxmodesuffix>. | |
14661 | (<sse2>_movdqu<avxmodesuffix>): Merge from sse2_movdqu and | |
14662 | avx_movdqu<avxmodesuffix>. | |
14663 | (*<sse2>_movdqu<avxmodesuffix>): Merge from *sse2_movdqu and | |
14664 | *avx_movdqu<avxmodesuffix>. | |
14665 | (<sse3>_lddqu<avxmodesuffix>) Merge from sse3_lddqu and | |
14666 | avx_lddqu<avxmodesuffix>. | |
14667 | (<sse>_movnt<mode>): Merge with avx_movnt<AVXMODEF2P:mode>. | |
14668 | (<sse2>_movnt<mode>): Merge from sse2_movntv2di and | |
14669 | avx_movnt<AVXMODEDI:mode>. | |
14670 | * config/i386/i386.c (ix86_expand_vector_move_misalign): Update for | |
14671 | renamed sse_movups, sse2_movupd and sse2_movdqu patterns. | |
14672 | ||
4743d438 BS |
14673 | 2011-04-16 Bernd Schmidt <bernds@codesourcery.com> |
14674 | ||
14675 | PR target/48629 | |
14676 | * haifa-sched.c (prune_ready_list, schedule_block): Use | |
14677 | sched_pressure_p rather than flag_sched_pressure. | |
14678 | ||
748f7574 | 14679 | 2011-04-15 Pat Haugen <pthaugen@us.ibm.com> |
eb229cf4 PH |
14680 | |
14681 | * config/rs6000/rs6000.c (call_ABI_of_interest): Call | |
14682 | cgraph_get_node instead of cgraph_get_create_node. | |
14683 | ||
2ba172e0 JJ |
14684 | 2011-04-15 Jakub Jelinek <jakub@redhat.com> |
14685 | ||
14686 | * cfgexpand.c (expand_debug_expr): Use | |
14687 | simplify_gen_{unary,binary,ternary} instead of gen_rtx_*. | |
14688 | ||
63d2a353 MM |
14689 | 2011-04-15 Michael Matz <matz@suse.de> |
14690 | ||
14691 | * tree.h (ALLOCA_FOR_VAR_P): Rename to CALL_ALLOCA_FOR_VAR_P. | |
14692 | * builtins.c (expand_builtin): Use CALL_ALLOCA_FOR_VAR_P. | |
14693 | * function.c (gimplify_parameters): Ditto. | |
14694 | * gimplify.c (gimplify_vla_decl): Ditto. | |
14695 | ||
14696 | * gimple.h (enum gf_mask): Add GF_CALL_ALLOCA_FOR_VAR. | |
14697 | (gimple_call_set_alloca_for_var): New inline function. | |
14698 | (gimple_call_alloca_for_var_p): Ditto. | |
e81b8564 UB |
14699 | * gimple.c (gimple_build_call_from_tree): Remember |
14700 | CALL_ALLOCA_FOR_VAR_P state. | |
63d2a353 MM |
14701 | * cfgexpand.c (expand_call_stmt): Restore CALL_ALLOCA_FOR_VAR_P state. |
14702 | ||
14703 | * tree-inline.c (inline_forbidden_p_stmt): Don't reject alloca | |
14704 | calls if they were for VLA objects. | |
14705 | ||
dee74c34 MJ |
14706 | 2011-04-15 Martin Jambor <mjambor@suse.cz> |
14707 | ||
14708 | * ipa-prop.c (ipa_analyze_virtual_call_uses): Remove handling | |
14709 | of ADR_EXPRs. | |
14710 | ||
8e5837bc MJ |
14711 | 2011-04-15 Martin Jambor <mjambor@suse.cz> |
14712 | ||
14713 | PR middle-end/48601 | |
14714 | * tree-emutls.c (lower_emutls_function_body): Call | |
14715 | cgraph_get_create_node instead of cgraph_get_node. Do not assert the | |
14716 | result is non-NULL. | |
14717 | ||
0dc33c3c NP |
14718 | 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com> |
14719 | ||
14720 | * c-decl.c (detect_field_duplicates): Call | |
14721 | objc_detect_field_duplicates instead of objc_get_interface_ivars. | |
14722 | ||
edcdea5b NF |
14723 | 2011-04-15 Nathan Froyd <froydnj@codesourcery.com> |
14724 | ||
14725 | * gimple.h (gimple_asm_clobbers_memory_p): Declare. | |
14726 | * gimple.c (gimple_asm_clobbers_memory_p): Define. | |
14727 | * ipa-pure-const.c (check_stmt): Call it. | |
14728 | * tree-ssa-operands.c (get_asm_expr_operands): Likewise. | |
14729 | ||
8456558d RG |
14730 | 2011-04-15 Richard Guenther <rguenther@suse.de> |
14731 | ||
14732 | PR tree-optimization/48290 | |
14733 | * tree-ssa-copy.c (copy_prop_visit_phi_node): Propagate constants. | |
14734 | Properly decide inhibiting propagation based on the valueized | |
14735 | operand. Do loop-closed SSA form preserving here ... | |
14736 | (init_copy_prop): ... not here. | |
14737 | ||
266446be L |
14738 | 2011-04-15 H.J. Lu <hongjiu.lu@intel.com> |
14739 | ||
14740 | PR target/48612 | |
14741 | * config/i386/sse.md (*ieee_smin<mode>3): Switch mnemonics. | |
14742 | (*ieee_smax<mode>3): Likewise. | |
14743 | ||
17465c6e AK |
14744 | 2011-04-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
14745 | ||
14746 | * config/s390/s390.md (popcountdi2, popcountsi2, popcounthi2): | |
14747 | Replace match_operand with match_dup for the third operand in | |
14748 | these expanders. | |
14749 | ||
bce204e5 MK |
14750 | 2011-04-15 Maxim Kuvyrkov <maxim@codesourcery.com> |
14751 | ||
14752 | * combine.c (subst, combine_simlify_rtx): Add new argument, use it | |
14753 | to track processing of conditionals. Update all callers. | |
14754 | (try_combine, simplify_if_then_else): Update. | |
14755 | ||
3162fdf4 MK |
14756 | 2011-04-15 Maxim Kuvyrkov <maxim@codesourcery.com> |
14757 | ||
14758 | * config/m68k/m68k.c (m68k_sched_variable_issue): Handle | |
14759 | -fsched-pressure. | |
14760 | ||
79002a57 | 14761 | 2011-04-15 Georg-Johann Lay <avr@gjlay.de> |
e81b8564 | 14762 | |
79002a57 GJL |
14763 | * config/avr/avr.md ("rotl<mode>3",mode=HIDI): Use match_dup |
14764 | instead of match_operand for operand 3. | |
14765 | ||
4fd3a105 RS |
14766 | 2011-04-15 Richard Sandiford <richard.sandiford@linaro.org> |
14767 | ||
14768 | * recog.h (insn_operand_data): Add an "allows_mem" field. | |
14769 | * genoutput.c (output_operand_data): Initialize it. | |
14770 | * optabs.c (maybe_legitimize_operand_same_code): New function. | |
14771 | (maybe_legitimize_operand): Use it when matching the original | |
14772 | op->value. | |
14773 | ||
ad19c4be EB |
14774 | 2011-04-15 Eric Botcazou <ebotcazou@adacore.com> |
14775 | ||
14776 | * gimplify.c: Fix issues in comments throughout. | |
14777 | (voidify_wrapper_expr): Fix long line. | |
14778 | (build_stack_save_restore): Likewise. | |
14779 | (gimplify_loop_expr): Likewise. | |
14780 | (gimplify_compound_lval): Likewise. | |
14781 | (gimplify_init_ctor_eval): Likewise. | |
14782 | (gimplify_modify_expr_rhs): Likewise. | |
14783 | (omp_notice_threadprivate_variable): Likewise. | |
14784 | ||
b25aa0e8 | 14785 | 2011-04-15 Eric Botcazou <ebotcazou@adacore.com> |
e7925582 | 14786 | |
b25aa0e8 EB |
14787 | * cfgexpand.c (expand_call_stmt): Convert the function type to the |
14788 | original one if this is not a builtin function. | |
e7925582 | 14789 | |
09db7afe JJ |
14790 | 2011-04-14 Jakub Jelinek <jakub@redhat.com> |
14791 | ||
14792 | PR target/48605 | |
14793 | * config/i386/sse.md (sse4_1_insertps): If operands[2] is a MEM, | |
14794 | offset it as needed based on top 2 bits in operands[3], change | |
14795 | MEM mode to SFmode and mask those 2 bits away from operands[3]. | |
14796 | ||
c59633d9 NP |
14797 | 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com> |
14798 | ||
14799 | * c-parser.c (c_parser_objc_protocol_definition): Updated for | |
14800 | change from objc_declare_protocols() to objc_declare_protocol(). | |
14801 | ||
5e60198b UB |
14802 | 2011-04-14 Uros Bizjak <ubizjak@gmail.com> |
14803 | ||
14804 | * config/i386/sse.md (sse4_1): New mode attribute. | |
14805 | (<sse4_1>_blend<ssemodesuffix><avxmodesuffix>): Macroize from | |
14806 | avx_blend<ssemodesuffix><avxmodesuffix> and | |
14807 | sse4_1_blend<ssemodesuffix> using VF mode iterator. | |
14808 | (<sse4_1>_blendv<ssemodesuffix><avxmodesuffix>): Macroize from | |
14809 | avx_blendv<ssemodesuffix><avxmodesuffix> and | |
14810 | sse4_1_blendv<ssemodesuffix> using VF mode iterator. | |
14811 | (<sse4_1>_dp<ssemodesuffix><avxmodesuffix>): Macroize from | |
14812 | avx_dp<ssemodesuffix><avxmodesuffix> and | |
14813 | sse4_1_dp<ssemodesuffix> using VF mode iterator. | |
14814 | (sse4_1_mpsadbw): Merge with *avx_mpsadbw. | |
14815 | (sse4_1_packusdw): Merge with *avx_packusdw. | |
14816 | (sse4_1_pblendvb): Merge with *avx_pblendvb. | |
14817 | (sse4_1_pblendw): Merge with *avx_pblendw. | |
14818 | (avx_vtest<ssemodesuffix><avxmodesuffix>): Use VF mode iterator. | |
14819 | (<sse4_1>_round<ssemodesuffix><avxmodesuffix>): Macroize from | |
14820 | avx_round<ssemodesuffix>256 and sse4_1_round<ssemodesuffix> using | |
14821 | VF mode iterator. | |
14822 | (sse4_1_round<ssescalarmodesuffix>): Merge with | |
14823 | *avx_round<ssescalarmodesuffix>. | |
14824 | (aesenc): Merge with *avx_aesenc. | |
14825 | (aesenclast): Merge with *avx_aesenclast. | |
14826 | (aesdec): Merge with *avx_aesdec. | |
14827 | (aesdeclast): Merge with *avx_aesdeclast. | |
14828 | (pclmulqdq): Merge with *pclmulqdq. | |
14829 | * config/i386/predicates.md (reg_not_xmm0_operand_maybe_avx): | |
14830 | New predicate. | |
14831 | (nonimm_not_xmm0_operand_maybe_avx): Ditto. | |
14832 | ||
6f197850 L |
14833 | 2011-04-14 H.J. Lu <hongjiu.lu@intel.com> |
14834 | ||
14835 | PR middle-end/48608 | |
14836 | * cfgexpand.c (get_decl_align_unit): Renamed to ... | |
14837 | (align_local_variable): This. Update DECL_ALIGN. | |
14838 | (add_stack_var): Updated. | |
14839 | (expand_one_stack_var): Likewise. | |
14840 | ||
4a5ba3ed RG |
14841 | 2011-04-14 Richard Guenther <rguenther@suse.de> |
14842 | ||
14843 | * tree-ssa-dse.c (struct dse_global_data, struct dse_block_local_data): | |
14844 | Remove. | |
14845 | (dse_initialize_block_local_data, dse_leave_block, | |
14846 | record_voperand_set, get_stmt_uid): Likewise. | |
14847 | (dse_possible_dead_store_p): Allow any kind of killing stmt. | |
14848 | (dse_optimize_stmt): Remove voperand set handling code. | |
14849 | Simplify and improve to handle any kind of killing stmt. | |
14850 | (dse_record_phi): Remove. | |
14851 | (dse_enter_block): Simplify. | |
14852 | (tree_ssa_dse): Likewise. | |
14853 | * tree-ssa-alias.c (stmt_kills_ref_p_1): Handle some builtins. | |
14854 | ||
10a5dd5d JH |
14855 | 2011-04-14 Jan Hubicka <jh@suse.cz> |
14856 | ||
14857 | * cgraph.c (dump_cgraph_node): Do not dump inline summaries. | |
14858 | * cgraph.h (struct inline_summary): Move to ipa-inline.h | |
14859 | (cgraph_local_info): Remove inline_summary. | |
14860 | * ipa-cp.c: Include ipa-inline.h. | |
14861 | (ipcp_cloning_candidate_p, ipcp_estimate_growth, | |
14862 | ipcp_estimate_cloning_cost, ipcp_insert_stage): Use inline_summary | |
14863 | accesor. | |
14864 | * lto-cgraph.c (lto_output_node): Do not stream inline summary. | |
14865 | (input_overwrite_node): Do not set inline summary. | |
14866 | (input_node): Do not stream inline summary. | |
14867 | * ipa-inline.c (cgraph_decide_inlining): Dump inline summaries. | |
14868 | (cgraph_decide_inlining_incrementally): Do not try to estimate overall | |
14869 | growth; we do not have inline parameters computed for that anyway. | |
14870 | (cgraph_early_inlining): After inlining compute call_stmt_sizes. | |
14871 | * ipa-inline.h (struct inline_summary): Move here from ipa-inline.h | |
14872 | (inline_summary_t): New type and VECtor. | |
14873 | (debug_inline_summary, dump_inline_summaries): Declare. | |
14874 | (inline_summary): Use VOCtor. | |
14875 | (estimate_edge_growth): Kill hack computing call stmt size directly. | |
14876 | * lto-section-in.c (lto_section_name): Add inline section. | |
14877 | * ipa-inline-analysis.c: Include lto-streamer.h | |
14878 | (node_removal_hook_holder, node_duplication_hook_holder): New holders | |
14879 | (inline_node_removal_hook, inline_node_duplication_hook): New functions. | |
14880 | (inline_summary_vec): Define. | |
14881 | (inline_summary_alloc, dump_inline_summary, debug_inline_summary, | |
14882 | dump_inline_summaries): New functions. | |
5e60198b UB |
14883 | (estimate_function_body_sizes): Properly compute size/time of outgoing |
14884 | calls. | |
14885 | (compute_inline_parameters): Alloc inline_summary; do not compute | |
14886 | size/time of incomming calls. | |
10a5dd5d JH |
14887 | (estimate_edge_time): Avoid missing time summary hack. |
14888 | (inline_read_summary): Read inline summary info. | |
14889 | (inline_write_summary): Write inline summary info. | |
14890 | (inline_free_summary): Free all hooks and inline summary vector. | |
14891 | * lto-streamer.h: Add LTO_section_inline_summary section. | |
14892 | * Makefile.in (ipa-cp.o, ipa-inline-analysis.o): Update dependencies. | |
14893 | * ipa.c (cgraph_remove_unreachable_nodes): Fix dump file formating. | |
14894 | ||
b602d918 RS |
14895 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
14896 | ||
14897 | * tree-vectorizer.h (vect_strided_store_supported): Add a | |
14898 | HOST_WIDE_INT argument. | |
14899 | (vect_strided_load_supported): Likewise. | |
14900 | (vect_permute_store_chain): Return void. | |
14901 | (vect_transform_strided_load): Likewise. | |
14902 | (vect_permute_load_chain): Delete. | |
14903 | * tree-vect-data-refs.c (vect_strided_store_supported): Take a | |
14904 | count argument. Check that the count is a power of two. | |
14905 | (vect_strided_load_supported): Likewise. | |
14906 | (vect_permute_store_chain): Return void. Update after above changes. | |
14907 | Assert that the access is supported. | |
14908 | (vect_permute_load_chain): Likewise. | |
14909 | (vect_transform_strided_load): Return void. | |
14910 | * tree-vect-stmts.c (vectorizable_store): Update calls after | |
14911 | above interface changes. | |
14912 | (vectorizable_load): Likewise. | |
14913 | (vect_analyze_stmt): Don't check for strided powers of two here. | |
14914 | ||
ab4472fa RG |
14915 | 2011-04-14 Richard Guenther <rguenther@suse.de> |
14916 | ||
14917 | PR tree-optimization/48590 | |
14918 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle | |
14919 | BUILT_IN_ALLOCA, BUILT_IN_STACK_SAVE and BUILT_IN_STACK_RESTORE. | |
14920 | (call_may_clobber_ref_p_1): Handle BUILT_IN_ALLOCA and | |
14921 | BUILT_IN_STACK_SAVE. | |
14922 | * tree-ssa-dce.c (propagate_necessity): Handle | |
14923 | BUILT_IN_ALLOCA, BUILT_IN_STACK_SAVE and BUILT_IN_STACK_RESTORE. | |
14924 | ||
32dabdaf NP |
14925 | 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com> |
14926 | ||
14927 | * c-parser.c (c_parser_objc_class_declaration): Updated call to | |
14928 | objc_declare_class. | |
14929 | ||
daade206 RG |
14930 | 2011-04-14 Richard Guenther <rguenther@suse.de> |
14931 | ||
14932 | * tree.h (get_object_alignment_1): Declare. | |
14933 | * builtins.c (get_object_alignment_1): Split out worker from ... | |
14934 | (get_object_alignment): ... here. | |
14935 | * fold-const.c (get_pointer_modulus_and_residue): Use | |
14936 | get_object_alignment_1. | |
14937 | ||
920e8172 RS |
14938 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
14939 | ||
14940 | * tree-vectorizer.h (vect_create_data_ref_ptr): Add an extra | |
14941 | type parameter. | |
14942 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add an aggr_type | |
14943 | parameter. Generalise code to handle arrays as well as vectors. | |
14944 | (vect_setup_realignment): Update accordingly. | |
14945 | * tree-vect-stmts.c (vectorizable_store): Likewise. | |
14946 | (vectorizable_load): Likewise. | |
14947 | ||
5ce1ee7f RS |
14948 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
14949 | ||
14950 | * tree-vect-stmts.c (vectorizable_load): Allocate and free dr_chain | |
14951 | within the per-copy loop. | |
14952 | ||
6438fe33 | 14953 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
0ea25ecd RS |
14954 | |
14955 | * tree-vect-stmts.c (vectorizable_load): Print the number of copies | |
14956 | in the dump file. | |
14957 | ||
6438fe33 | 14958 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
77b10485 RS |
14959 | |
14960 | * doc/options.texi (Negative): Explicitly mention that the | |
14961 | Negative chain must be circular. | |
14962 | ||
61e46a7d NF |
14963 | 2011-04-14 Nathan Froyd <froydnj@codesourcery.com> |
14964 | ||
14965 | * function.h (block_chainon): Declare. | |
14966 | * function.c (block_chainon): Define. | |
14967 | ||
43ea6502 | 14968 | 2011-04-14 Anatoly Sokolov <aesok@post.ru> |
5e60198b | 14969 | Eric Weddington <eric.weddington@atmel.com> |
748f7574 | 14970 | Georg-Johann Lay <avr@gjlay.de> |
5e60198b | 14971 | |
f60c2554 | 14972 | * config/avr/avr.c ("insn-codes.h", "optabs.h", "langhooks.h"): |
43ea6502 AS |
14973 | New Includes |
14974 | (avr_init_builtins, avr_expand_builtin, | |
14975 | avr_expand_delay_cycles, avr_expand_unop_builtin, | |
14976 | avr_expand_binop_builtin ): New functions. | |
14977 | (avr_builtin_id): New enum | |
14978 | (struct avr_builtin_description): New struct | |
14979 | (bdesc_1arg, bdesc_2arg): New arrays describing some RTL builtins. | |
14980 | (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define. | |
5e60198b | 14981 | |
43ea6502 | 14982 | * config/avr/avr.md (UNSPEC_FMUL, UNSPEC_FMULS, UNSPEC_FMULSU, |
5e60198b | 14983 | UNSPECV_ENABLE_IRQS, UNSPECV_NOP, UNSPECV_SLEEP, UNSPECV_WDR, |
43ea6502 AS |
14984 | UNSPECV_DELAY_CYCLES): new enumeration values |
14985 | (UNSPEC_SEI, UNSPEC_CLI): Remove enumeration values | |
14986 | ("enable_interrupt"): Use UNSPECV_ENABLE_IRQS | |
14987 | ("disable_interrupt"): Use UNSPECV_ENABLE_IRQS | |
14988 | ("*rotlqi3_4"): rename insn to "rotlqi3_4" | |
14989 | ("delay_cycles_1", "delay_cycles_2", "delay_cycles_3", | |
14990 | "delay_cycles_4", "nopv", "sleep", "wdr", "fmul", "fmuls", | |
14991 | "fmulsu"): New insns | |
5e60198b | 14992 | |
43ea6502 AS |
14993 | * config/avr/avr-c.c: fix line endings |
14994 | (avr_cpu_cpp_builtins): New builtin defines: __BUILTIN_AVR_NOP, | |
14995 | __BUILTIN_AVR_SEI, __BUILTIN_AVR_CLI, __BUILTIN_AVR_WDR, | |
14996 | __BUILTIN_AVR_SLEEP, __BUILTIN_AVR_SWAP, | |
14997 | __BUILTIN_AVR_DELAY_CYCLES, __BUILTIN_AVR_FMUL, | |
14998 | __BUILTIN_AVR_FMULS, __BUILTIN_AVR_FMULSU. | |
5e60198b | 14999 | |
43ea6502 AS |
15000 | * doc/extend.texi (AVR Built-in Functions): New node |
15001 | (Target Builtins): Add documentation of AVR | |
15002 | built-in functions. | |
15003 | ||
8a9b55f3 GJL |
15004 | 2011-04-14 Georg-Johann Lay <avr@gjlay.de> |
15005 | ||
15006 | PR target/44643 | |
15007 | * config/avr/avr.c (avr_insert_attributes): Leave TREE_READONLY | |
15008 | alone. Error if non-const data has attribute progmem. | |
15009 | ||
94bd1825 NF |
15010 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
15011 | ||
15012 | * tree.h (struct tree_constructor): Include tree_typed instead of | |
15013 | tree_common. | |
15014 | * tree.c (initialize_tree_contains_struct): Mark TS_CONSTRUCTOR as | |
15015 | TS_TYPED instead of TS_COMMON. | |
15016 | ||
5e60198b | 15017 | 2011-04-13 Uros Bizjak <ubizjak@gmail.com> |
81b1e7eb UB |
15018 | |
15019 | * config/i386/sse.md (*sse2_uavgv16qi3): Merge with *avx_uavgv16qi3. | |
15020 | (*sse2_uavgv8hi3): Merge with *avx_uavgv8hi3. | |
15021 | (sse2_psadbw): Merge with *avx_psadbw. | |
15022 | (ssse3_phaddwv8hi3): Merge with *avx_phaddwv8hi3. | |
15023 | (ssse3_phadddv4si3): Merge with *avx_phadddv4si3. | |
15024 | (ssse3_phaddswv8hi3): Merge with *avx_phaddswv8hi3. | |
15025 | (ssse3_phsubwv8hi3): Merge with *avx_phsubwv8hi3. | |
15026 | (ssse3_phsubdv4si3): Merge with *avx_phsubdv4si3. | |
15027 | (ssse3_phsubswv8hi3): Merge with *avx_phsubswv8hi3. | |
15028 | (ssse3_pmaddubsw128): Merge with *avx_pmaddubsw128. | |
15029 | (*ssse3_pmulhrswv8hi3): Merge with *avx_pmulhrswv8hi3. | |
15030 | (ssse3_pshufbv16qi3): Merge with *avx_pshufbv16qi3. | |
15031 | (ssse3_psign<mode>3): Merge with *avx_psign<mode>3. | |
15032 | (ssse3_palignrti): Merge with *avx_palignrti. | |
15033 | ||
4b1a4694 NF |
15034 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
15035 | ||
15036 | * tree-flow.h (struct gimple_df): Make free_ssanames a VEC. | |
15037 | * tree-ssanames.c (fini_ssanames): VEC_free it. | |
15038 | (make_ssa_name_fn): Update for VECness of free_ssanames. | |
15039 | (release_ssa_name, release_dead_ssa_names): Likewise. | |
15040 | * tree.h (struct tree_ssa_name): Include tree_typed instead of | |
15041 | tree_common. | |
15042 | * tree.c (initialize_tree_contains_struct): Mark TS_SSA_NAME as | |
15043 | TS_TYPED instead of TS_COMMON. | |
15044 | ||
4da3b811 NF |
15045 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
15046 | ||
15047 | * postreload-gcse.c (gcse_after_reload_main): Add calls to | |
15048 | statistics_counter_event. | |
15049 | * tree-ssa-copyrename.c (stats): Define. | |
15050 | (rename_ssa_copies): Count coalesced SSA_NAMEs. Add call to | |
15051 | statistics_counter_event. | |
15052 | * tree-ssa-math-opts.c (reciprocal_stats, sincos_stats): Define. | |
15053 | (bswap_stats, widen_mul_stats): Define. | |
15054 | (insert_reciprocals): Increment rdivs_inserted. | |
15055 | (execute_cse_reciprocals): Zeroize reciprocal_stats. Increment | |
15056 | rfuncs_inserted. Add calls to statistics_counter_event. | |
15057 | (execute_cse_sincos_1): Increment inserted. | |
15058 | (execute_cse_sincos): Zeroize sincos_stats. Add call to | |
15059 | statistics_counter_event. | |
15060 | (execute_optimize_bswap): Zeroize bswap_stats. Increment fields | |
15061 | of bswap_stats. Add calls to statistics_counter_event. | |
15062 | (convert_mult_to_widen): Increment widen_mults_inserted. | |
15063 | (convert_plusminus_to_widen): Increment maccs_inserted. | |
15064 | (convert_mult_to_fma): Increment fmas_inserted. | |
15065 | (execute_optimize_widening_mul): Zeroize widen_mul_stats. Add | |
15066 | calls to statistics_counter_event. | |
15067 | ||
89fa552a VM |
15068 | 2011-04-13 Vladimir Makarov <vmakarov@redhat.com> |
15069 | ||
15070 | PR rtl-optimization/48455 | |
15071 | * ira-costs.c (find_costs_and_classes): Use i_mem_cost instead of | |
15072 | `temp_costs->mem_cost'. | |
15073 | ||
03dfc36d JH |
15074 | 2011-04-13 Jan Hubicka <jh@suse.cz> |
15075 | ||
15076 | * ipa-inline.h: New file. | |
15077 | * ipa-inline-analysis.c: New file. Broken out of ... | |
15078 | * ipa-inline.c: ... this file; update toplevel comment; | |
15079 | include ipa-inline.h | |
15080 | (inline_summary): Move to ipa-inline.h | |
15081 | (cgraph_estimate_edge_time): Rename to estimate_edge_time; move to | |
15082 | ipa-inline-analysis.c. | |
7d4f8d02 EB |
15083 | (cgraph_estimate_time_after_inlining): Rename to |
15084 | estiamte_time_after_inlining; move to ipa-inline-analysis.c | |
03dfc36d JH |
15085 | (cgraph_estimate_edge_growth): Move to ipa-inline-analysis.c; rename |
15086 | to estimate_edge_growth. | |
15087 | (cgraph_estimate_size_after_inlining): Move to ipa-inline-analysis.c; | |
15088 | rename to estimate_size_after_inlining. | |
15089 | (cgraph_mark_inline_edge): Update for new naming convention. | |
15090 | (cgraph_check_inline_limits): Likewise. | |
15091 | (cgraph_edge_badness): Likewise. | |
15092 | (cgraph_decide_recursive_inlining): Likewise. | |
15093 | (cgraph_decide_inlining_of_small_functions): Likewise. | |
15094 | (cgraph_decide_inlining_incrementally): Likewise. | |
7d4f8d02 EB |
15095 | (cgraph_estimate_growth): Rename to estimate_growth; move to |
15096 | ipa-inline-analysis.c. | |
03dfc36d JH |
15097 | (eliminated_by_inlining_prob): Move to ipa-inline-analysis.c. |
15098 | (estimate_function_body_sizes): Move to ipa-inline-analysis.c. | |
15099 | (compute_inline_parameters): Likewise. | |
15100 | (compute_inline_parameters_for_current): Likewise. | |
15101 | (pass_inline_parameters): Likewise. | |
15102 | (inline_indirect_intraprocedural_analysis): Likewise. | |
15103 | (analyze_function): Rename to inline_analyze_function; likewise. | |
15104 | (add_new_function): Move to ipa-inline-analysis.c. | |
15105 | (inline_generate_summary): Likewise. | |
15106 | (inline_read_summary): Likewise. | |
15107 | (inline_write_summary): Likewise. | |
15108 | * Makefile.in (ipa-inline-analysis.c): New file. | |
15109 | ||
7673c962 RO |
15110 | 2011-04-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
15111 | ||
15112 | * configure.ac (gcc_cv_as_sparc_gotdata_op): Remove GNU ld check. | |
15113 | * configure: Regenerate. | |
15114 | ||
9698252f NF |
15115 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
15116 | ||
15117 | * tree.h (struct tree_int_cst, struct real_value): Include tree_typed | |
15118 | instead of tree_common. | |
15119 | (struct tree_fixed_cst, struct tree_string, struct tree_complex): | |
15120 | Likewise. | |
15121 | * tree.c (initialize_tree_contains_struct): Mark such nodes as being | |
15122 | TS_TYPED rather than TS_COMMON. | |
15123 | * print-tree.c (print_node) [STRING_CST]: Don't print TREE_CHAIN. | |
15124 | ||
3a7bfdd5 GJL |
15125 | 2011-04-01 Georg-Johann Lay <avr@gjlay.de> |
15126 | ||
15127 | PR target/45263 | |
86d83530 GJL |
15128 | * config/avr/libgcc.S (__do_global_ctors, __do_global_dtors): Don't use |
15129 | r20 around calls of __tablejump_elpm__ | |
3a7bfdd5 | 15130 | |
20790697 JJ |
15131 | 2011-04-13 Jakub Jelinek <jakub@redhat.com> |
15132 | ||
15133 | PR middle-end/48591 | |
15134 | * omp-low.c (expand_omp_atomic_fetch_op): Return false if decl is | |
15135 | NULL. | |
15136 | (expand_omp_atomic_pipeline): Return false if cmpxchg is NULL. | |
15137 | ||
094d7661 BS |
15138 | 2011-04-13 Bernd Schmidt <bernds@codesourcery.com> |
15139 | ||
15140 | * dwarf2out.c (struct dw_cfi_struct): Remove member dw_cfi_next. | |
15141 | (dw_cfi_ref): Add DEF_VEC_P and some DEF_VEC_ALLOC_Ps. | |
15142 | (cfi_vec): New typedef. | |
15143 | (struct dw_fde_struct): Make dw_fde_cfi a cfi_vec. Replace | |
15144 | dw_fde_switch_cfi with an integer dw_fde_switch_cfi_index. | |
15145 | (cie_cfi_vec): New static variable. | |
15146 | (cie_cfi_head): Delete. | |
15147 | (add_cfi): Accept a cfi_vec * as first argument. All callers and | |
15148 | declaration changed. Use vector rather than list operations. | |
15149 | (new_cfi): Don't initialize the dw_cfi_next field. | |
15150 | (add_fde_cfi): Allocate cie_cfi_vec if necessary. Use vector | |
15151 | rather than list operations. | |
15152 | (lookup_cfa): Use vector rather than list operations. | |
15153 | (output_cfis): New argument upto. Accept a cfi_vec rather than | |
15154 | a dw_cfi_ref list head as argument. All callers changed. | |
15155 | Iterate over the vector using upto as a maximum index. | |
15156 | (output_all_cfis): New static function. | |
15157 | (output_fde): Use vector rather than list operations. Use the | |
15158 | new upto argument for output_cfis rather than manipulating a | |
15159 | list. | |
15160 | (dwarf2out_begin_prologue): Change initializations to match | |
15161 | new struct members. | |
15162 | (dwarf2out_switch_text_section): Initialize dw_fde_switch_cfi_index | |
15163 | from the vector length rather than searching for the end of a list. | |
15164 | Use output_all_cfis. | |
15165 | (convert_cfa_to_fb_loc_list): Use vector rather than list operations. | |
15166 | ||
673a5740 NC |
15167 | 2011-04-13 Nick Clifton <nickc@redhat.com> |
15168 | ||
15169 | * config/rx/rx.md (movmemsi): Do not use this pattern when | |
15170 | volatile pointers are involved. | |
15171 | ||
1ee8b298 UB |
15172 | 2011-04-13 Uros Bizjak <ubizjak@gmail.com> |
15173 | ||
15174 | * config/i386/sse.md (pinsrbits): Remove. | |
15175 | (sse2_packsswb): Merge with *avx_packsswb. | |
15176 | (sse2_packssdw): Merge with *avx_packssdw. | |
15177 | (sse2_packuswb): Merge with *avx_packuswb. | |
15178 | (vec_interleave_highv16qi): Merge with *avx_interleave_highv16qi. | |
15179 | (vec_interleave_lowv16qi): Merge with *avx_interleave_lowv16qi. | |
15180 | (vec_interleave_highv8hi): Merge with *avx_interleave_highv8hi. | |
15181 | (vec_interleave_lowv8hi): Merge with *avx_interleave_lowv8hi. | |
15182 | (vec_interleave_highv4si): Merge with *avx_interleave_highv4si. | |
15183 | (vec_interleave_lowv4si): Merge with *avx_interleave_lowv4si. | |
15184 | (*sse4_1_pinsrb): Merge with *avx_pinsr<ssevecsize>. | |
15185 | (*sse2_pinsrw): Merge with *avx_pinsr<ssevecsize>. | |
15186 | (*sse4_1_pinsrd): Merge with *avx_pinsr<ssevecsize>. | |
15187 | (*sse4_1_pinsrq): Merge with *avx_pinsrq. | |
15188 | (sse2_loadld): Merge with *avx_loadld. | |
15189 | (*vec_extractv2di_1_rex64): Merge with *vec_extractv2di_1_rex64_avx. | |
15190 | (*vec_extractv2di_1_sse2): Merge with *vec_extractv2di_1_avx. | |
15191 | (*vec_concatv2si_sse4_1): Merge with *vec_concatv2si_avx. | |
15192 | (*vec_concatv2di_rex64_sse4_1): Merge with *vec_concatv2di_rex64_avx. | |
15193 | (vec_concatv2di): Merge with *vec_concatv2di_avx. | |
15194 | ||
81f653d6 NF |
15195 | 2011-04-12 Nathan Froyd <froydnj@codesourcery.com> |
15196 | ||
15197 | * c-decl.c (union lang_tree_node): Check for TS_COMMON before | |
15198 | calling TREE_CHAIN. | |
15199 | * print-tree.c (print_node): Likewise. | |
15200 | * tree-inline.c (copy_tree_r): Likewise. | |
15201 | * c-lang.c (LANG_HOOKS_INIT_TS): Define. | |
15202 | * lto-streamer-in.c (lto_input_tree_pointers): Check for TS_TYPED | |
15203 | instead of TS_COMMON. | |
15204 | * lto-streamer-out.c (lto_output_tree_pointers): Likewise. | |
15205 | * tree.c (initialize_tree_contains_struct): Handle TS_TYPED. | |
15206 | (copy_node_stat): Zero TREE_CHAIN only if necessary. | |
15207 | (MARK_TS_BASE, MARK_TS_TYPED, MARK_TS_COMMON): Move these... | |
15208 | (MARK_TS_DECL_COMMON, MARK_TS_DECL_COMMON, MARK_TS_DECL_WRTL): | |
15209 | ...and these... | |
15210 | (MARK_TS_DECL_WITH_VIS, MARK_TS_DECL_NON_COMMON): ...and these... | |
15211 | * tree.h: ...here. | |
15212 | (TREE_CHAIN): Check for a TS_COMMON structure. | |
15213 | (TREE_TYPE): Check for a TS_TYPED structure. | |
15214 | ||
748f7574 | 15215 | 2011-04-12 Pat Haugen <pthaugen@us.ibm.com> |
ed940a4a PH |
15216 | |
15217 | * config/rs6000/rs6000.c (call_ABI_of_interest): Call | |
15218 | cgraph_get_create_node instead of cgraph_node. | |
15219 | ||
eb345401 NP |
15220 | 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com> |
15221 | ||
15222 | * c-parser.c (c_parser_initelt): Updated call to | |
15223 | objc_build_message_expr. | |
15224 | (c_parser_postfix_expression): Likewise. | |
15225 | ||
a6c46762 KT |
15226 | 2011-04-12 Kai Tietz <ktietz@redhat.com> |
15227 | ||
15228 | * config/i386/mingw32.h (TARGET_SUBTARGET_DEFAULT): Add | |
15229 | MASK_MS_BITFIELD_LAYOUT bit. | |
15230 | ||
b4ccfed9 JJ |
15231 | 2011-04-12 Jakub Jelinek <jakub@redhat.com> |
15232 | ||
15233 | * combine.c (update_cfg_for_uncondjump): Instead of testing at_end | |
15234 | assert it is always true. | |
15235 | (try_combine): Don't call update_cfg_for_uncondjump for noop non-jump | |
15236 | moves. | |
15237 | ||
0d8a2528 NP |
15238 | 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com> |
15239 | ||
15240 | * c-parser.c (c_lex_one_token): Rewritten conditional used when | |
15241 | compiling Objective-C to be more efficient. | |
15242 | ||
06bd234a AF |
15243 | 2011-04-12 Axel Freyn <axel-freyn@gmx.de> |
15244 | ||
15245 | * opts-common.c (decode_cmdline_options_to_array): Remove variable | |
15246 | argv_copied. | |
15247 | ||
28569ac3 RS |
15248 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
15249 | ||
15250 | * recog.h, genoutput.c, optabs.c: Revert last patch. | |
15251 | ||
ae59e00d RR |
15252 | 2011-04-12 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
15253 | ||
81b1e7eb UB |
15254 | PR target/48090 |
15255 | * config/arm/arm.md (*arm_negdi2): Fix early clobber constraints. | |
ae59e00d | 15256 | |
cff1b7e0 RS |
15257 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
15258 | ||
15259 | * recog.h (insn_operand_data): Add an "allows_mem" field. | |
15260 | * genoutput.c (output_operand_data): Initialize it. | |
15261 | * optabs.c (maybe_legitimize_operand_same_code): New function. | |
15262 | (maybe_legitimize_operand): Use it when matching the original | |
15263 | op->value. | |
15264 | ||
77059241 RS |
15265 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
15266 | ||
15267 | * genpreds.c (process_define_predicate): Move most processing | |
15268 | to gensupport.c. Continue to validate the expression. | |
15269 | * genrecog.c (did_you_mean_codes, compute_predicate_codes) | |
15270 | (process_define_predicate): Move processing to gensupport.c. | |
15271 | (main): Remove DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE cases. | |
15272 | * gensupport.c (did_you_mean_codes): Moved from genrecog.c. | |
15273 | (compute_predicate_codes): Moved from genrecog.c. Add lineno | |
15274 | argument. | |
15275 | (valid_predicate_name_p): New function, split out from old | |
15276 | genpreds.c:process_define_predicate. | |
15277 | (process_define_predicate): New function, combining code from | |
15278 | old genpreds.c and genrecog.c functions. | |
15279 | (process_rtx): Call it for DEFINE_PREDICATE and | |
15280 | DEFINE_SPECIAL_PREDICATE. | |
15281 | ||
6308e208 RS |
15282 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
15283 | ||
15284 | * config/arm/arm.c (arm_print_operand): Use MEM_SIZE to get the | |
15285 | size of a '%A' memory reference. | |
15286 | (T_DREG, T_QREG): New neon_builtin_type_bits. | |
15287 | (arm_init_neon_builtins): Assert that the load and store operands | |
15288 | are neon_struct_operands. | |
15289 | (locate_neon_builtin_icode): Provide the neon_builtin_type_bits. | |
15290 | (NEON_ARG_MEMORY): New builtin_arg. | |
15291 | (neon_dereference_pointer): New function. | |
15292 | (arm_expand_neon_args): Add a neon_builtin_type_bits argument. | |
15293 | Handle NEON_ARG_MEMORY. | |
15294 | (arm_expand_neon_builtin): Update after above interface changes. | |
15295 | Use NEON_ARG_MEMORY for loads and stores. | |
15296 | * config/arm/predicates.md (neon_struct_operand): New predicate. | |
15297 | * config/arm/iterators.md (V_two_elem): Tweak formatting. | |
15298 | (V_three_elem): Use BLKmode for accesses that have no associated mode. | |
15299 | (V_four_elem): Tweak formatting. | |
15300 | * config/arm/neon.md (neon_vld1<mode>, neon_vld1_dup<mode>) | |
15301 | (neon_vst1_lane<mode>, neon_vst1<mode>, neon_vld2<mode>) | |
15302 | (neon_vld2_lane<mode>, neon_vld2_dup<mode>, neon_vst2<mode>) | |
15303 | (neon_vst2_lane<mode>, neon_vld3<mode>, neon_vld3_lane<mode>) | |
15304 | (neon_vld3_dup<mode>, neon_vst3<mode>, neon_vst3_lane<mode>) | |
15305 | (neon_vld4<mode>, neon_vld4_lane<mode>, neon_vld4_dup<mode>) | |
15306 | (neon_vst4<mode>): Replace pointer operand with a memory operand. | |
15307 | Use %A in the output template. | |
15308 | (neon_vld3qa<mode>, neon_vld3qb<mode>, neon_vst3qa<mode>) | |
15309 | (neon_vst3qb<mode>, neon_vld4qa<mode>, neon_vld4qb<mode>) | |
15310 | (neon_vst4qa<mode>, neon_vst4qb<mode>): Likewise, but halve | |
15311 | the width of the memory access. Remove post-increment. | |
15312 | * config/arm/neon-testgen.ml: Allow addresses to have an alignment. | |
15313 | ||
e5db8f2f NC |
15314 | 2011-04-12 Nick Clifton <nickc@redhat.com> |
15315 | ||
15316 | * config/v850/v850.c (expand_prologue): Do not use the CALLT | |
15317 | instruction for interrupt handlers if the target is the basic V850 | |
15318 | architecture. | |
15319 | (expand_epilogue): Likewise. | |
15320 | ||
74f091d6 JJ |
15321 | 2011-04-12 Jakub Jelinek <jakub@redhat.com> |
15322 | ||
15323 | PR rtl-optimization/48549 | |
15324 | * combine.c (propagate_for_debug): Also stop after BB_END of | |
15325 | this_basic_block. Process LAST and just stop processing after it. | |
15326 | (combine_instructions): If last_combined_insn has been deleted, | |
15327 | set last_combined_insn to its PREV_INSN. | |
15328 | ||
f20ca725 RG |
15329 | 2011-04-12 Richard Guenther <rguenther@suse.de> |
15330 | ||
15331 | PR tree-optimization/46076 | |
15332 | * gimple.h (struct gimple_statement_call): Add fntype field. | |
15333 | (gimple_call_fntype): Adjust. | |
15334 | (gimple_call_set_fntype): New function. | |
15335 | * gimple.c (gimple_build_call_1): Set the call function type. | |
15336 | * gimplify.c (gimplify_call_expr): Preserve the function | |
15337 | type the frontend used for the call. | |
15338 | (gimplify_modify_expr): Likewise. | |
15339 | * lto-streamer-in.c (input_gimple_stmt): Input the call stmts | |
15340 | function type. | |
15341 | * lto-streamer-out.c (output_gimple_stmt): Output the call stmts | |
15342 | function type. | |
15343 | * tree-ssa.c (useless_type_conversion_p): Function pointer | |
15344 | conversions are useless. | |
15345 | ||
a358e188 MJ |
15346 | 2011-04-12 Martin Jambor <mjambor@suse.cz> |
15347 | ||
15348 | * cgraph.h (cgraph_node): Remove function declaration. | |
15349 | (cgraph_create_node): Declare. | |
15350 | (cgraph_get_create_node): Likewise. | |
15351 | * cgraph.c (cgraph_create_node): Renamed to cgraph_create_node_1. | |
15352 | Updated all callers. | |
15353 | (cgraph_node): Renamed to cgraph_create_node, assert that a node for | |
15354 | the decl does not already exist. Call cgraph_get_create_node instead | |
15355 | of cgraph_node. | |
15356 | (cgraph_get_create_node): New function. | |
15357 | (cgraph_same_body_alias): Update comment. | |
15358 | (cgraph_set_call_stmt): Call cgraph_get_node instead of cgraph_node, | |
15359 | assert it does not return NULL. | |
15360 | (cgraph_update_edges_for_call_stmt): Likewise. | |
15361 | (cgraph_clone_edge): Likewise. | |
15362 | (cgraph_create_virtual_clone): Likewise. | |
15363 | (cgraph_update_edges_for_call_stmt_node): Call cgraph_get_create_node | |
15364 | instead of cgraph_node. | |
15365 | (cgraph_add_new_function): Call cgraph_create_node or | |
15366 | cgraph_get_create_node instead of cgraph_node. | |
15367 | * cgraphbuild.c (record_reference): Call cgraph_get_create_node | |
15368 | instead of cgraph_node. | |
15369 | (record_eh_tables): Likewise. | |
15370 | (mark_address): Likewise. | |
15371 | (mark_load): Likewise. | |
15372 | (build_cgraph_edges): Call cgraph_get_create_node instead | |
15373 | of cgraph_node. | |
15374 | (rebuild_cgraph_edges): Likewise. | |
15375 | * cgraphunit.c (cgraph_finalize_function): Call cgraph_get_create_node | |
15376 | instead of cgraph_node. | |
15377 | (cgraph_copy_node_for_versioning): Call cgraph_create_node instead of | |
15378 | cgraph_node. | |
15379 | * lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Call | |
15380 | cgraph_create_node instead of cgraph_node. | |
15381 | * c-decl.c (finish_function): Call cgraph_get_create_node instead | |
15382 | of cgraph_node. | |
15383 | * lto-cgraph.c (input_node): Likewise. | |
15384 | * lto-streamer-in.c (input_function): Likewise. | |
15385 | * varasm.c (mark_decl_referenced): Likewise. | |
15386 | (assemble_alias): Likewise. | |
15387 | ||
fe660d7b MJ |
15388 | 2011-04-12 Martin Jambor <mjambor@suse.cz> |
15389 | ||
15390 | * tree-inline.c (tree_function_versioning): Call cgraph_get_node | |
15391 | instead of cgraph_node and assert it does not return NULL. | |
15392 | * lto-streamer-in.c (lto_read_body): Likewise. | |
15393 | * omp-low.c (new_omp_context): Likewise. | |
15394 | (create_task_copyfn): Likewise. | |
15395 | * tree-emutls.c (lower_emutls_function_body): Likewise. | |
15396 | * matrix-reorg.c (transform_allocation_sites): Likewise. | |
15397 | ||
bae5cddf JJ |
15398 | 2011-04-12 Jakub Jelinek <jakub@redhat.com> |
15399 | ||
15400 | PR c/48552 | |
15401 | * c-typeck.c (build_asm_expr): Error out on attempts to use | |
15402 | void type outputs or inputs for constraints that allow reg or | |
15403 | don't allow memory. | |
15404 | ||
06eb52ca CLT |
15405 | 2011-04-11 Chung-Lin Tang <cltang@codesourcery.com> |
15406 | Richard Earnshaw <rearnsha@arm.com> | |
15407 | ||
15408 | PR target/48250 | |
15409 | * config/arm/arm.c (arm_legitimize_reload_address): Update cases | |
15410 | to use sign-magnitude offsets. Reject unsupported unaligned | |
15411 | cases. Add detailed description in comments. | |
15412 | * config/arm/arm.md (reload_outdf): Disable for ARM mode; change | |
15413 | condition from TARGET_32BIT to TARGET_ARM. | |
15414 | ||
648a616b NF |
15415 | 2011-04-11 Nathan Froyd <froydnj@codesourcery.com> |
15416 | ||
15417 | * tree.h (struct typed_tree): New. | |
15418 | (struct tree_common): Include it instead of tree_base. | |
15419 | (TREE_TYPE): Update for new location of type field. | |
15420 | (TYPE_USER_ALIGN, TYPE_PACKED): Refer to base field directly. | |
15421 | (DECL_USER_ALIGN, DECL_PACKED): Likewise. | |
15422 | (union tree_node): Add typed field. | |
15423 | * treestruct.def (TS_TYPED): New. | |
15424 | * lto-streamer.c (check_handled_ts_structures): Handle it. | |
15425 | * tree.c (MARK_TS_TYPED): New macro. | |
15426 | (MARK_TS_COMMON): Call it instead of MARK_TS_BASE. | |
15427 | ||
1e6d1da0 EB |
15428 | 2011-04-11 Eric Botcazou <ebotcazou@adacore.com> |
15429 | ||
15430 | * cfghooks.c (redirect_edge_and_branch_force): Localize variable. | |
15431 | (force_nonfallthru): Do not alter the loop nest if no basic block | |
15432 | was created. | |
15433 | ||
15434 | 2011-04-11 Uros Bizjak <ubizjak@gmail.com> | |
d8700b1c UB |
15435 | |
15436 | * config/i386/sse.md (VI): New mode iterator. | |
15437 | (SSEMODEI): Remove. | |
15438 | (AVX256MODEI): Ditto. | |
15439 | (AVXMODEF4P): Ditto. | |
15440 | (avxvecpsmode): Ditto. | |
15441 | (one_cmpl<mode>2): Enable for TARGET_SSE. Use VI mode iterator. | |
15442 | (sse2_andnot<mode>3): New expander. | |
15443 | (*andnot<mode>3): Merge with *sse2_andnot<mode>3 and | |
15444 | *avx_andnot<mode>3. Enable for TARGET_SSE. Use VI mode iterator. | |
15445 | (<any_logic:code><mode>3): Use VI mode iterator. | |
15446 | (*<any_logic:code><mode>3): Merge with *sse2_<any_logic:code><mode>3 | |
15447 | and *avx_<any_logic:code><mode>3. Use VI mode iterator. | |
15448 | (*andnottf3): Handle AVX three-operand constraints. | |
15449 | (*<any_logic:code>tf3): Handle AVX three-operand constraints. | |
15450 | ||
b1372d5d | 15451 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
d8700b1c | 15452 | Robert Millan <rmh@gnu.org> |
b1372d5d JM |
15453 | |
15454 | * config.gcc (x86_64-*-kfreebsd*-gnu): Use i386/kfreebsd-gnu.h. | |
15455 | * config/i386/kfreebsd-gnu.h (GNU_USER_DYNAMIC_LINKER32, | |
15456 | GNU_USER_DYNAMIC_LINKER64): Define. | |
15457 | (REG_NAME): Don't undefine. | |
15458 | (MD_UNWIND_SUPPORT): Undefine. | |
15459 | * config/i386/knetbsd-gnu.h (GNU_USER_LINK_EMULATION): Define. | |
15460 | (REG_NAME): Don't undefine. | |
15461 | (MD_UNWIND_SUPPORT): Undefine. | |
d8700b1c | 15462 | * config/i386/kopensolaris-gnu.h (GNU_USER_LINK_EMULATION): Define. |
b1372d5d | 15463 | |
761c0c6e JM |
15464 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
15465 | ||
15466 | * config/i386/gnu.h (GNU_USER_LINK_EMULATION): Define. | |
15467 | (CPP_SPEC, CC1_SPEC, ENDFILE_SPEC): Remove. | |
15468 | ||
26e0228f XDL |
15469 | 2011-04-11 Xinliang David Li <davidxl@google.com> |
15470 | ||
15471 | * value-profile.c (check_ic_target): New function. | |
15472 | (gimple_ic_transform): Sanity check indirect call target. | |
15473 | * gimple-low.c (gimple_check_call_args): Interface change. | |
15474 | (gimple_check_call_matching_types): New function. | |
15475 | * tree-inline.c (tree_can_inline_p): Call new function. | |
6075765d BS |
15476 | |
15477 | 2011-04-11 Basile Starynkevitch <basile@starynkevitch.net> | |
15478 | ||
15479 | * Makefile.in (PLUGIN_HEADERS): Add gimple-pretty-print.h | |
15480 | tree-pretty-print.h & realmpfr.h. | |
15481 | ||
a58dfa49 VM |
15482 | 2011-04-11 Vladimir Makarov <vmakarov@redhat.com> |
15483 | ||
15484 | PR middle-end/48464 | |
15485 | * ira.c (setup_pressure_classes): Fix typo in loop condition. | |
15486 | (setup_allocno_and_important_classes): Ditto. | |
15487 | ||
107fd1c1 JM |
15488 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
15489 | ||
15490 | * config/alpha/linux-elf.h (LINUX_DYNAMIC_LINKER): Rename to | |
15491 | GNU_USER_DYNAMIC_LINKER. | |
15492 | * config/arm/linux-eabi.h (TARGET_OS_CPP_BUILTINS): Change | |
15493 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15494 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Change | |
15495 | LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. | |
15496 | (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to | |
15497 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15498 | * config/bfin/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
15499 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15500 | * config/bfin/uclinux.h (TARGET_OS_CPP_BUILTINS): Change | |
15501 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15502 | * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Change | |
15503 | LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. | |
15504 | (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to | |
15505 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15506 | * config/frv/linux.h (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
15507 | GNU_USER_DYNAMIC_LINKER. | |
15508 | * config/gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
15509 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15510 | * config/i386/gnu-user.h (TARGET_OS_CPP_BUILTINS): Change | |
15511 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15512 | * config/i386/gnu-user64.h (TARGET_OS_CPP_BUILTINS): Change | |
15513 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15514 | * config/i386/linux.h (GNU_USER_DYNAMIC_LINKER): Remove. | |
15515 | * config/i386/linux64.h (GNU_USER_DYNAMIC_LINKER32, | |
15516 | GNU_USER_DYNAMIC_LINKER64): Remove. | |
15517 | * config/ia64/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
15518 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15519 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
15520 | GNU_USER_DYNAMIC_LINKER. | |
15521 | * config/kfreebsd-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
15522 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15523 | * config/knetbsd-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
15524 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15525 | * config/kopensolaris-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename | |
15526 | to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15527 | * config/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
15528 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15529 | (LINUX_DYNAMIC_LINKER): Rename to GNU_USER_DYNAMIC_LINKER. | |
15530 | (LINUX_DYNAMIC_LINKER32): Rename to GNU_USER_DYNAMIC_LINKER32. | |
15531 | (LINUX_DYNAMIC_LINKER64): Rename to GNU_USER_DYNAMIC_LINKER64. | |
15532 | * config/lm32/uclinux-elf.h (TARGET_OS_CPP_BUILTINS): Change | |
15533 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15534 | * config/m32r/linux.h (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
15535 | GNU_USER_DYNAMIC_LINKER. | |
15536 | (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to | |
15537 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15538 | * config/m68k/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
15539 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15540 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
15541 | GNU_USER_DYNAMIC_LINKER. | |
15542 | * config/m68k/uclinux.h (TARGET_OS_CPP_BUILTINS): Change | |
15543 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15544 | * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
15545 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15546 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
15547 | GNU_USER_DYNAMIC_LINKER. | |
15548 | * config/mips/linux64.h (LINUX_DYNAMIC_LINKERN32): Rename to | |
15549 | GNU_USER_DYNAMIC_LINKERN32. | |
15550 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKERN32 to | |
15551 | GNU_USER_DYNAMIC_LINKERN32. Change LINUX_DYNAMIC_LINKER64 to | |
15552 | GNU_USER_DYNAMIC_LINKER64. Change LINUX_DYNAMIC_LINKER32 to | |
15553 | GNU_USER_DYNAMIC_LINKER32. | |
15554 | * config/mn10300/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
15555 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15556 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
15557 | GNU_USER_DYNAMIC_LINKER. | |
15558 | * config/moxie/uclinux.h (TARGET_OS_CPP_BUILTINS): Change | |
15559 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15560 | * config/pa/pa-linux.h (TARGET_OS_CPP_BUILTINS): Change | |
15561 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
d8700b1c | 15562 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. |
107fd1c1 JM |
15563 | * config/rs6000/linux64.h (LINUX_DYNAMIC_LINKER32): Rename to |
15564 | GNU_USER_DYNAMIC_LINKER32. | |
15565 | (LINUX_DYNAMIC_LINKER64): Rename to GNU_USER_DYNAMIC_LINKER64. | |
15566 | * config/rs6000/sysv4.h (LINUX_DYNAMIC_LINKER): Rename to | |
15567 | GNU_USER_DYNAMIC_LINKER. | |
15568 | * config/s390/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
15569 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15570 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER32 to | |
15571 | GNU_USER_DYNAMIC_LINKER32. Change LINUX_DYNAMIC_LINKER64 to | |
15572 | GNU_USER_DYNAMIC_LINKER64. | |
15573 | * config/sh/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
15574 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15575 | (SUBTARGET_LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
15576 | GNU_USER_DYNAMIC_LINKER. | |
15577 | * config/sparc/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
15578 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15579 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
15580 | GNU_USER_DYNAMIC_LINKER. | |
15581 | * config/sparc/linux64.h (TARGET_OS_CPP_BUILTINS): Change | |
15582 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15583 | (LINK_ARCH32_SPEC): Change LINUX_DYNAMIC_LINKER32 to | |
15584 | GNU_USER_DYNAMIC_LINKER32. | |
15585 | (LINK_ARCH64_SPEC): Change LINUX_DYNAMIC_LINKER64 to | |
15586 | GNU_USER_DYNAMIC_LINKER64. | |
15587 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER64 to | |
15588 | GNU_USER_DYNAMIC_LINKER64. | |
15589 | * config/vax/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
15590 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
15591 | * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
15592 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
d8700b1c | 15593 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. |
107fd1c1 | 15594 | |
e24609cf JM |
15595 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
15596 | ||
15597 | * config/i386/gnu-user.h: Copy from linux.h. Update comments. | |
15598 | (LINK_EMULATION, GLIBC_DYNAMIC_LINKER): Remove. | |
15599 | (SUBTARGET_EXTRA_SPECS): Use GNU_USER_LINK_EMULATION and | |
15600 | GNU_USER_DYNAMIC_LINKER. | |
15601 | (MD_UNWIND_SUPPORT, REG_NAME): Remove. | |
15602 | * config/i386/gnu-user64.h: Copy from linux64.h. Update comments. | |
15603 | (GLIBC_DYNAMIC_LINKER32, GLIBC_DYNAMIC_LINKER64): Remove. | |
15604 | (LINK_SPEC): Use GNU_USER_DYNAMIC_LINKER32 and | |
15605 | GNU_USER_DYNAMIC_LINKER64. | |
15606 | (MD_UNWIND_SUPPORT, REG_NAME): Remove. | |
15607 | * config/i386/kfreebsd-gnu.h (LINK_EMULATION): Change to | |
15608 | GNU_USER_LINK_EMULATION. | |
15609 | * config/i386/linux.h (TARGET_ASM_FILE_START_FILE_DIRECTIVE, | |
15610 | DEFAULT_PCC_STRUCT_RETURN, TARGET_TLS_DIRECT_SEG_REFS_DEFAULT, | |
15611 | ASM_COMMENT_START, DBX_REGISTER_NUMBER, NO_PROFILE_COUNTERS, | |
15612 | MCOUNT_NAME, SUBTARGET_FRAME_POINTER_REQUIRED, SIZE_TYPE, | |
15613 | PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE, TARGET_OS_CPP_BUILTINS, | |
15614 | CPP_SPEC, CC1_SPEC): Remove. | |
15615 | (LINK_EMULATION): Change to GNU_USER_LINK_EMULATION. | |
15616 | (GNU_USER_DYNAMIC_LINKER): Define. | |
15617 | (ASM_SPEC, SUBTARGET_EXTRA_SPECS, LINK_SPEC, ENDFILE_SPEC, | |
15618 | ASM_OUTPUT_ALIGNED_BSS, ASM_OUTPUT_MAX_SKIP_ALIGN, | |
15619 | ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX, CRT_GET_RFIB_DATA, | |
15620 | LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT, TF_SIZE, | |
15621 | TARGET_ASM_FILE_END, STACK_CHECK_MOVING_SP, | |
15622 | STACK_CHECK_STATIC_BUILTIN, TARGET_THREAD_SSP_OFFSET, | |
15623 | TARGET_CAN_SPLIT_STACK, TARGET_THREAD_SPLIT_STACK_OFFSET): Remove. | |
15624 | * config/i386/linux64.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC, | |
15625 | CC1_SPEC, DEFAULT_PCC_STRUCT_RETURN, | |
15626 | TARGET_TLS_DIRECT_SEG_REFS_DEFAULT, SPEC_32, SPEC_64, ASM_SPEC, | |
15627 | LINK_SPEC, ENDFILE_SPEC, MULTILIB_DEFAULTS, LIBGCC2_HAS_TF_MODE, | |
15628 | LIBGCC2_TF_CEXT, TF_SIZE, TARGET_ASM_FILE_END): Remove. | |
15629 | (GNU_USER_DYNAMIC_LINKER32, GNU_USER_DYNAMIC_LINKER64): Define. | |
15630 | (STACK_CHECK_MOVING_SP, STACK_CHECK_STATIC_BUILTIN, | |
15631 | TARGET_THREAD_SSP_OFFSET, TARGET_CAN_SPLIT_STACK, | |
15632 | TARGET_THREAD_SPLIT_STACK_OFFSET): Remove. | |
15633 | * config/i386/gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
15634 | GNU_USER_DYNAMIC_LINKER. | |
15635 | * config/kfreebsd-gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
15636 | GNU_USER_DYNAMIC_LINKER. Unconditionally undefine and redefine. | |
15637 | * config/knetbsd-gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
15638 | GNU_USER_DYNAMIC_LINKER. Unconditionally undefine and redefine. | |
15639 | * config/kopensolaris-gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
15640 | GNU_USER_DYNAMIC_LINKER. Unconditionally undefine and redefine. | |
15641 | * config.gcc (i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | | |
15642 | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* | | |
15643 | i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux* | | |
d8700b1c | 15644 | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu): Use the new headers. |
e24609cf | 15645 | |
b8ce4e94 KT |
15646 | 2011-04-11 Kai Tietz <ktietz@redhat.com> |
15647 | ||
15648 | PR target/9601 | |
15649 | PR target/11772 | |
15650 | * config/i386/i386-protos.h (ix86_get_callcvt): New prototype. | |
15651 | * config/i386/i386.c (ix86_handle_cconv_attribute): Adjust | |
15652 | comment. | |
15653 | (ix86_is_msabi_thiscall): Removed. | |
15654 | (ix86_is_type_thiscall): Likewise. | |
15655 | (ix86_get_callcvt): New function. | |
15656 | (ix86_comp_type_attributes): Simplify check. | |
15657 | (ix86_function_regparm): Use ix86_get_callcvt for calling | |
15658 | convention attribute checks. | |
15659 | (ix86_return_pops_args): Likewise. | |
15660 | (ix86_static_chain): Likewise. | |
15661 | (x86_this_parameter): Likewise. | |
15662 | (x86_output_mi_thunk): Likewise. | |
15663 | (ix86_function_type_abi): Optimize check for types without attributes. | |
15664 | * config/i386/i386.h (IX86_CALLCVT_CDECL, IX86_CALLCVT_STDCALL, | |
15665 | IX86_CALLCVT_FASTCALL, IX86_CALLCVT_THISCALL, IX86_CALLCVT_REGPARM, | |
15666 | IX86_CALLCVT_SSEREGPARM): New macros to represent calling convention | |
15667 | by flag-values. | |
15668 | (IX86_BASE_CALLCVT): Helper macro. | |
15669 | * config/i386/netware.c (i386_nlm_maybe_mangle_decl_assembler_name): | |
15670 | Use ix86_get_callcvt for calling convention attribute checks and avoid | |
15671 | symbol-decoration for stdcall in TARGET_RTD case. | |
15672 | * config/i386/winnt.c (i386_pe_maybe_mangle_decl_assembler_name): | |
15673 | Likewise. | |
15674 | (gen_stdcall_or_fastcall_suffix): Adjust ident and use DECL_ORIGIN | |
15675 | for declaration. | |
15676 | ||
798dd0ba UB |
15677 | 2011-04-11 Uros Bizjak <ubizjak@gmail.com> |
15678 | ||
15679 | * config/i386/sse.md (VI_128): New mode iterator. | |
15680 | (VI12_128): Rename from SSEMODE12. | |
15681 | (VI14_128): Rename from SSEMODE14. | |
15682 | (VI124_128): New mode iterator. | |
15683 | (VI24_128): Rename from SSEMODE248. | |
15684 | (VI248_128): Rename from SSEMODE248. | |
15685 | (SSEMODE124C8): Remove. | |
15686 | (*<plusminus_insn><mode>3): Merge with *avx_<plusminus_insn><mode>3. | |
15687 | (*sse2_<plusminus_insn><mode>3): Merge with | |
15688 | *avx_<plusminus_insn><mode>3. | |
15689 | (*mulv8hi3): Merge with *avx_mulv8hi3. | |
15690 | (*<s>mulv8hi3_highpart): Merge with *avx_<s>mulv8hi3_highpart. | |
15691 | (*sse2_umulv2siv2di3): Merge with *avx_umulv2siv2di3. | |
15692 | (*sse2_pmaddwd): Merge with *avx_pmaddwd. | |
15693 | (*sse4_1_mulv4si3): Merge with *avx_mulv4si3. | |
15694 | (ashr<mode>3): Merge with *avx_ashr<mode>3. | |
15695 | (lshr<mode>3): Merge with *avx_lshr<mode>3. | |
15696 | (ashl<mode>3): Merge with *avx_ashl<mode>3. | |
15697 | (sse2_ashlv1ti3): Merge with *avx_ashlv1ti3. | |
15698 | (sse2_lshrv1ti3): Merge with *avx_lshrv1ti3. | |
15699 | (*sse4_1_<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3. | |
15700 | (*<smaxmin:code>v8hi3): Ditto. | |
15701 | (*sse4_1_<umaxmin:code><mode>3): Merge with *avx_<umaxmin:code><mode>3. | |
15702 | (*<smaxmin:code>v16qi3): Ditto. | |
15703 | (*sse4_1_eqv2di3): Merge with *avx_eq<mode>3. | |
15704 | (*sse2_eq<mode>3): Ditto. | |
15705 | (*sse4_2_eqv2di3): Merge with *avx_gt<mode>3. | |
15706 | (*sse2_gt<mode>3): Ditto. | |
15707 | (vcondv2di): Split out of vcond<mode>. | |
15708 | (vconduv2di): Split out of vcondu<mode>. | |
15709 | ||
956011be RG |
15710 | 2011-04-11 Richard Guenther <rguenther@suse.de> |
15711 | ||
15712 | * gimplify.c (gimple_fold_indirect_ref): Check host_integerp | |
15713 | before calling tree_low_cst. | |
15714 | ||
e6313a78 RG |
15715 | 2011-04-11 Richard Guenther <rguenther@suse.de> |
15716 | ||
15717 | * stor-layout.c (layout_type): Compute all array index size operations | |
15718 | in the original type. | |
15719 | (initialize_sizetypes): Add comment. | |
15720 | (set_sizetype): Do not set TREE_TYPE of a TREE_VEC. | |
15721 | ||
e69d7376 JM |
15722 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
15723 | ||
15724 | * common.opt (Tbss=, Tdata=, Ttext=): New options. | |
15725 | ||
9f9ebcdf MJ |
15726 | 2011-04-11 Martin Jambor <mjambor@suse.cz> |
15727 | ||
15728 | * cgraph.c (cgraph_local_info): Call cgraph_get_node instead | |
15729 | of cgraph_node, handle NULL return value. | |
15730 | (cgraph_global_info): Likewise. | |
15731 | (cgraph_rtl_info): Likewise. | |
15732 | * tree-inline.c (estimate_num_insns): Likewise. | |
15733 | * gimplify.c (unshare_body): Likewise. | |
15734 | (unvisit_body): Likewise. | |
15735 | (gimplify_body): Likewise. | |
15736 | * predict.c (optimize_function_for_size_p): Likewise. | |
15737 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise. | |
15738 | (call_may_clobber_ref_p_1): Likewise. | |
15739 | * varasm.c (function_section_1): Likewise. | |
15740 | (assemble_start_function): Likewise. | |
15741 | ||
581985d7 MJ |
15742 | 2011-04-11 Martin Jambor <mjambor@suse.cz> |
15743 | ||
15744 | * except.c (set_nothrow_function_flags): Call cgraph_get_node instead | |
15745 | of cgraph_node. | |
15746 | * final.c (rest_of_clean_state): Likewise. | |
15747 | * gimple-iterator.c (update_call_edge_frequencies): Likewise. | |
15748 | * passes.c (pass_init_dump_file): Likewise. | |
15749 | (execute_all_ipa_transforms): Likewise. | |
15750 | (function_called_by_processed_nodes_p): Likewise. | |
15751 | * predict.c (maybe_hot_frequency_p): Likewise. | |
15752 | (probably_never_executed_bb_p): Likewise. | |
15753 | (compute_function_frequency): Likewise. | |
15754 | * tree-nested.c (check_for_nested_with_variably_modified): Likewise. | |
15755 | (unnest_nesting_tree_1): Likewise. | |
15756 | (lower_nested_functions): Likewise. | |
15757 | * tree-optimize.c (execute_fixup_cfg): Likewise. | |
15758 | (tree_rest_of_compilation): Likewise. | |
15759 | * tree-profile.c (gimple_gen_ic_func_profiler): Likewise. | |
15760 | * tree-sra.c (ipa_early_sra): Likewise. | |
15761 | * tree-ssa-loop-ivopts.c (computation_cost): Likewise. | |
15762 | * config/i386/i386.c (ix86_compute_frame_layout): Likewise. | |
15763 | * ipa.c (record_cdtor_fn): Likewise. | |
15764 | * ipa-inline.c (cgraph_early_inlining): Likewise. | |
15765 | (compute_inline_parameters_for_current): Likewise. | |
15766 | * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise. | |
15767 | * ipa-pure-const.c (local_pure_const): Likewise. | |
15768 | * ipa-split.c (split_function): Likewise. | |
15769 | (execute_split_functions): Likewise. | |
15770 | * cgraphbuild.c (build_cgraph_edges): Likewise. | |
15771 | (rebuild_cgraph_edges): Likewise. | |
15772 | (cgraph_rebuild_references): Likewise. | |
15773 | (remove_cgraph_callee_edges): Likewise. | |
15774 | * cgraphunit.c (cgraph_mark_if_needed): Likewise. | |
15775 | (verify_cgraph_node): Likewise. | |
15776 | (cgraph_analyze_functions): Likewise. | |
15777 | (cgraph_preserve_function_body_p): Likewise. | |
15778 | (save_inline_function_body): Likewise. | |
15779 | (save_inline_function_body): Likewise. | |
15780 | * tree-inline.c (copy_bb): Likewise. | |
15781 | (optimize_inline_calls): Likewise. | |
15782 | ||
57dbdc5a MJ |
15783 | 2011-04-11 Martin Jambor <mjambor@suse.cz> |
15784 | ||
15785 | PR tree-optimization/48195 | |
15786 | * ipa-cp.c (ipcp_driver): Call ipa_check_create_node_params and | |
15787 | ipa_check_create_edge_args. | |
15788 | (ipcp_generate_summary): Do not call ipa_check_create_node_params and | |
15789 | ipa_check_create_edge_args. | |
15790 | * ipa-inline.c (inline_generate_summary): Do not call | |
15791 | ipa_check_create_node_params and ipa_check_create_edge_args. | |
15792 | * ipa-prop.c (ipa_analyze_node): Call ipa_check_create_node_params and | |
15793 | ipa_check_create_edge_args. | |
15794 | ||
d108e679 AS |
15795 | 2011-04-09 Anatoly Sokolov <aesok@post.ru> |
15796 | ||
15797 | * expr.c (expand_expr_real_1): Use add_to_hard_reg_set function | |
15798 | instead of loop. | |
15799 | * sel-sched.c (mark_unavailable_hard_regs): Likewise. | |
15800 | * function.c (record_hard_reg_sets): Likewise. | |
15801 | * ira.c (compute_regs_asm_clobbered): Likewise. | |
15802 | * sched-deps.c (sched_analyze_1): Likewise. | |
15803 | * reload1.c (mark_reload_reg_in_use, choose_reload_regs): Likewise. | |
15804 | ||
3411bc59 XDL |
15805 | 2011-04-09 Xinliang David Li <davidxl@google.com> |
15806 | ||
15807 | PR tree-optimization/PR48484 | |
15808 | * tree-ssa-uninit.c (convert_control_dep_chain_into_preds): Set | |
15809 | has_valid_pred lazily | |
15810 | ||
b365495a DS |
15811 | 2011-04-09 Duncan Sands <baldrick@free.fr> |
15812 | ||
15813 | * tree.c (array_type_nelts): Bail out if TYPE_MAX_VALUE not set. | |
15814 | ||
68bc509a EB |
15815 | 2011-04-08 Eric Botcazou <ebotcazou@adacore.com> |
15816 | ||
15817 | * combine.c (combine_validate_cost): Adjust comments. Set registered | |
15818 | cost of I0 to zero at the end, if any. | |
15819 | ||
041e059f XDL |
15820 | 2011-04-08 Xinliang David Li <davidxl@google.com> |
15821 | ||
68bc509a EB |
15822 | * ipa-cp.c (ipcp_update_profiling): Correct negative scale factor due |
15823 | to insane profile data. | |
041e059f | 15824 | |
444b3995 XDL |
15825 | 2011-04-08 Xinliang David Li <davidxl@google.com> |
15826 | ||
15827 | * ipa-cp.c (ipcp_update_profiling): Correct | |
15828 | negative scale factor due to insane profile data. | |
15829 | ||
6a801cf2 XDL |
15830 | 2011-04-08 Xinliang David Li <davidxl@google.com> |
15831 | ||
15832 | * final.c (dump_basic_block_info): New function. | |
15833 | (final): Dump basic block. | |
15834 | (final_scan_insn): Remove old dump. | |
15835 | ||
d5f3624e SK |
15836 | 2011-04-08 Steven G. Kargl <kargl@gcc.gnu.org> |
15837 | ||
68bc509a EB |
15838 | PR target/47829 |
15839 | * config.gcc (i386-*-freebsd): Disable unwind table generation for | |
15840 | crtbegin/crtend. | |
d5f3624e | 15841 | |
42821aff MM |
15842 | 2011-04-08 Michael Matz <matz@suse.de> |
15843 | ||
15844 | PR middle-end/48389 | |
15845 | * jump.c (rebuild_jump_labels_1, rebuild_jump_labels_chain): New | |
15846 | functions. | |
15847 | (rebuild_jump_labels): Call rebuild_jump_labels_1. | |
15848 | * rtl.h (rebuild_jump_labels_chain): Declare. | |
15849 | * cfgexpand.c (gimple_expand_cfg): Initialize JUMP_LABEL also on | |
15850 | insns inserted on edges. | |
15851 | ||
ad7be009 JM |
15852 | 2011-04-08 Joseph Myers <joseph@codesourcery.com> |
15853 | ||
15854 | * config.gcc (arm*-*-*): Add arm/arm-tables.opt to extra_options. | |
15855 | * config/arm/arm-arches.def: New. | |
15856 | * config/arm/arm-opts.h: New. | |
15857 | * config/arm/genopt.sh: New. | |
15858 | * config/arm/arm-tables.opt: New (generated). | |
15859 | * config/arm/arm.c (arm_handle_option, arm_target_help, | |
15860 | TARGET_HANDLE_OPTION, TARGET_HELP, arm_find_cpu): Remove. | |
15861 | (all_architectures): Get most table contents from arm-arches.def. | |
15862 | (arm_option_override): Set arm_selected_arch, arm_selected_cpu and | |
15863 | arm_selected_tune here. | |
15864 | * config/arm/arm.h (enum processor_type): Move to arm-opts.h. | |
15865 | * config/arm/arm.opt (config/arm/arm-opts.h): New HeaderInclude. | |
15866 | (march=, mcpu=, mtune=): Use Enum and Var. | |
15867 | * config/arm/t-arm ($(srcdir)/config/arm/arm-tables.opt): New. | |
15868 | (arm.o): Update dependencies. | |
ecbb6fb7 | 15869 | |
42821aff | 15870 | 2011-04-08 Basile Starynkevitch <basile@starynkevitch.net> |
ecbb6fb7 BS |
15871 | |
15872 | * gengtype.c (write_typed_alloc_def): New argument f. Use it instead | |
15873 | of header_file. | |
15874 | (write_typed_struct_alloc_def, write_typed_typedef_alloc_def) | |
15875 | (write_typed_alloc_defns): Likewise. | |
15876 | (main): Calls write_typed_alloc_defns with output_header. | |
15877 | ||
8d189b3f VM |
15878 | 2011-04-08 Vladimir Makarov <vmakarov@redhat.com> |
15879 | ||
68bc509a | 15880 | PR inline-asm/48435 |
8d189b3f VM |
15881 | * ira-color.c (setup_profitable_hard_regs): Add comments. |
15882 | Don't take prohibited hard regs into account. | |
15883 | (setup_conflict_profitable_regs): Rename to | |
15884 | get_conflict_profitable_regs. | |
15885 | (check_hard_reg_p): Check prohibited hard regs. | |
15886 | ||
44f370bf NF |
15887 | 2011-04-08 Nathan Froyd <froydnj@codesourcery.com> |
15888 | ||
15889 | * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Call use_reg. | |
15890 | * config/xtensa/xtensa.c (xtensa_call_tls_desc): Likewise. | |
15891 | * config/sparc/sparc.c (sparc_legitimize_tls_address): Likewise. | |
15892 | ||
483d7ad3 JDA |
15893 | 2011-04-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
15894 | ||
15895 | PR target/48366 | |
15896 | * config/pa/pa.c (hppa_register_move_cost): Increase to 18 cost of | |
b8a17fa2 | 15897 | move from floating point to shift amount register. |
483d7ad3 JDA |
15898 | (emit_move_sequence): Remove secondary reload support for floating |
15899 | point to shift amount amount register copies. | |
15900 | (pa_secondary_reload): Return GENERAL_REGS for floating point/shift | |
15901 | amount register copies. | |
15902 | * config/pa/pa32-regs.h (HARD_REGNO_MODE_OK): For shift amount | |
15903 | register, return false if mode isn't a scalar integer mode. | |
15904 | * config/pa/pa64-regs.h (HARD_REGNO_MODE_OK): Likewise. | |
15905 | ||
97e03fa1 RG |
15906 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
15907 | ||
15908 | * gimple.c (gimple_call_flags): Remove kludge. | |
15909 | ||
9d40778b AM |
15910 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
15911 | ||
15912 | * sel-sched.c (sel_region_init): Move call to | |
15913 | sel_setup_region_sched_flags after setup_current_loop_nest. | |
15914 | ||
19ac7892 AB |
15915 | 2011-04-08 Andrey Belevantsev <abel@ispras.ru> |
15916 | ||
15917 | PR rtl-optimization/48272 | |
19ac7892 AB |
15918 | * sched-deps.c (setup_insn_reg_pressure_info): Export and rename to |
15919 | init_insn_reg_pressure_info. Adjust a caller. | |
15920 | * sched-int.h (init_insn_reg_pressure_info): Declare. | |
15921 | * haifa-sched.c (haifa_init_insn): Call init_insn_reg_pressure_info | |
15922 | when sched-pressure is enabled. | |
15923 | ||
0f8c63cc RG |
15924 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
15925 | ||
15926 | * gimple.c (gimple_set_modified): Do not queue calls to | |
15927 | MODIFIED_NORETURN_CALLS here ... | |
15928 | * tree-ssa-operands.c (update_stmt_operands): ... but here. | |
15929 | ||
5e5a425e RG |
15930 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
15931 | ||
15932 | PR lto/48467 | |
15933 | * toplev.c (lang_dependent_init): Do not open asm_out_file | |
15934 | in WPA mode, nor perform debug machinery initialization. | |
15935 | (finalize): Do not unlink asm_out_file in WPA mode. | |
15936 | ||
9bfc434b RG |
15937 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
15938 | ||
15939 | * gimple.h (gimple_call_fntype): New function. | |
15940 | (gimple_call_return_type): Use it. | |
15941 | * expr.c (expand_expr_real_1): Use gimple_call_fntype. | |
15942 | * gimple-low.c (gimple_check_call_args): Likewise. | |
15943 | * gimple.c (gimple_call_flags): Likewise. | |
15944 | (gimple_call_arg_flags): Likewise. | |
15945 | (gimple_call_return_flags): Likewise. | |
15946 | * tree-cfg.c (verify_gimple_call): Likewise. | |
15947 | (do_warn_unused_result): Likewise. | |
15948 | * tree-ssa-ccp.c (ccp_fold_stmt): Likewise. | |
15949 | * value-prof.c (gimple_ic_transform): Fix fndecl check. | |
15950 | ||
7c1f0b40 DM |
15951 | 2011-04-08 Dmitry Melnik <dm@ispras.ru> |
15952 | ||
15953 | PR rtl-optimization/48235 | |
15954 | * sel-sched.c (code_motion_process_successors): Recompute the last | |
15955 | insn in basic block if control flow changed. | |
15956 | (code_motion_path_driver): Ditto. Recompute the first insn as well. | |
15957 | Update condition for ilist_remove. | |
15958 | ||
ea4d630f AM |
15959 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
15960 | ||
15961 | PR rtl-optimization/48302 | |
15962 | * sel-sched-ir.h (sel_add_loop_preheaders): Update prototype. | |
15963 | * sel-sched-ir.c (sel_add_loop_preheaders): Add 'bbs' argument. Use | |
15964 | it to record added preheader blocks. | |
15965 | * sel-sched.c (setup_current_loop_nest): Add 'bbs' argument. Pass it | |
15966 | on to sel_add_loop_preheaders. | |
15967 | (sel_region_init): Move call to setup_current_loop_nest after | |
15968 | sel_init_bbs. | |
15969 | ||
07643d76 AM |
15970 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
15971 | ||
15972 | PR target/48273 | |
15973 | * cfgloop.h (loop_has_exit_edges): New helper. | |
15974 | * sel-sched-ir.c (init_global_and_expr_for_insn): Make CALLs | |
15975 | non-clonable. | |
15976 | * sel-sched.c (sel_setup_region_sched_flags): Don't pipeline loops | |
15977 | that have no exit edges. | |
15978 | ||
1f3b2b4e AM |
15979 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
15980 | ||
15981 | PR rtl-optimization/48442 | |
15982 | * sel-sched.c (init_seqno): Remove number_of_insns argument. Update | |
15983 | all callers. Adjust assert. | |
15984 | ||
554f1948 JJ |
15985 | 2011-04-08 Jakub Jelinek <jakub@redhat.com> |
15986 | ||
15987 | PR tree-optimization/48377 | |
15988 | * tree-vect-data-refs.c (vector_alignment_reachable_p): Set | |
15989 | is_packed to true even for types with smaller TYPE_ALIGN than | |
15990 | TYPE_SIZE. | |
15991 | ||
ddf72388 RG |
15992 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
15993 | ||
15994 | PR bootstrap/48513 | |
15995 | * doc/tm.texi: Re-generate. | |
15996 | ||
0c27e2d8 WG |
15997 | 2011-04-08 Wei Guozhi <carrot@google.com> |
15998 | ||
15999 | PR target/47855 | |
16000 | * config/arm/arm-protos.h (arm_attr_length_push_multi): New prototype. | |
16001 | * config/arm/arm.c (arm_attr_length_push_multi): New function. | |
16002 | * config/arm/arm.md (*push_multi): Change the length computation to | |
16003 | call a C function. | |
16004 | ||
07c5f94e AS |
16005 | 2011-04-08 Anatoly Sokolov <aesok@post.ru> |
16006 | ||
16007 | * doc/tm.texi.in (ASM_OUTPUT_BSS): Remove documentation. | |
16008 | (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): Update documentation. | |
16009 | * doc/tm.texi: Regenerate. | |
16010 | * system.h (ASM_OUTPUT_BSS): Poison. | |
16011 | * varasm.c (asm_output_bss): Remove function. | |
16012 | (emit_bss, init_varasm_once): Don't use ASM_OUTPUT_BSS macro. | |
798dd0ba | 16013 | |
07c5f94e AS |
16014 | * config/frv/frv.h (BSS_SECTION_ASM_OP): Remove comment. |
16015 | * config/frv/fr30.h (BSS_SECTION_ASM_OP): Likewise. | |
16016 | * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Likewise. | |
16017 | * config/i386/i386elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
16018 | Likewise. | |
16019 | * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
16020 | Likewise. | |
16021 | * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
16022 | Likewise. | |
16023 | * config/m68k/netbsd-elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. | |
16024 | ||
5f2c36e1 JM |
16025 | 2011-04-07 Joseph Myers <joseph@codesourcery.com> |
16026 | ||
16027 | * config/rx/rx.opt (rx610, rx200, rx600): Use Enum not Name on | |
16028 | EnumValue lines. | |
16029 | ||
39e7722b JM |
16030 | 2011-04-07 Joseph Myers <joseph@codesourcery.com> |
16031 | ||
16032 | * config/m68k/m68k.c (m68k_handle_option): Don't handle | |
16033 | OPT_m68000, OPT_mc68000, OPT_m68010, OPT_m68020, OPT_mc68020, | |
16034 | OPT_m68030, OPT_m68040, OPT_m68060, OPT_m68302, OPT_m68332 and | |
16035 | OPT_mcpu32. | |
16036 | * config/m68k/m68k.h (OPTION_DEFAULT_SPECS, ASM_CPU_SPEC): Don't | |
16037 | handle -mc68000, -m68000, -m68302, -m68010, -mc68020, -m68020, | |
16038 | -m68030, -m68040, -m68060, -mcpu32 and -m68332. | |
16039 | * config/m68k/m68k.opt (m68000, m68010, m68020, m68030, m68040, | |
16040 | m68060, m68302, m68332, mc68000, mc68020, mcpu32): Use Alias. | |
16041 | * config/m68k/t-mlibs (CANONICALIZE_OPTIONS): Remove. | |
16042 | (MULTILIB_OPTIONS): Don't use $(CANONICALIZE_OPTIONS). | |
16043 | (MULTILIB_MATCHES): Map -march= options to corresponding -mcpu= | |
16044 | options. Don't map other m68k options manually. Don't handle | |
16045 | old-style options as canonical. | |
16046 | (MULTILIB_EXCEPTIONS): Don't use $(CANONICALIZE_OPTIONS). | |
798dd0ba | 16047 | * doc/install.texi (m68k-*-*): Document binutils version requirement. |
39e7722b | 16048 | |
cf103ca4 EB |
16049 | 2011-04-07 Eric Botcazou <ebotcazou@adacore.com> |
16050 | ||
16051 | * basic-block.h (force_nonfallthru): Move to... | |
16052 | * cfghooks.h (struct cfg_hooks): Add force_nonfallthru hook. | |
16053 | (force_nonfallthru): ...here. | |
16054 | * cfghooks.c (force_nonfallthru): New function. | |
16055 | * cfgrtl.c (force_nonfallthru): Rename into... | |
16056 | (rtl_force_nonfallthru): ...this. | |
16057 | (commit_one_edge_insertion): Do not set AUX field. | |
16058 | (commit_edge_insertions): Do not discover new basic blocks. | |
16059 | (rtl_cfg_hooks): Add rtl_force_nonfallthru. | |
16060 | (cfg_layout_rtl_cfg_hooks): Likewise. | |
16061 | * function.c (thread_prologue_and_epilogue_insns): Remove bogus | |
16062 | ATTRIBUTE_UNUSED. Discover new basic blocks in the prologue insns. | |
16063 | * tree-cfg.c (gimple_cfg_hooks): Add NULL for force_nonfallthru. | |
16064 | ||
14431f58 AS |
16065 | 2011-04-07 Anatoly Sokolov <aesok@post.ru> |
16066 | ||
16067 | * config/mips/mips.h (REG_MODE_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): | |
16068 | Remove macros. | |
16069 | ||
3729983c UB |
16070 | 2011-04-07 Uros Bizjak <ubizjak@gmail.com> |
16071 | ||
16072 | * config/i386/sse.md: Update copyright year. | |
16073 | (avxcvtvecmode): Remove. | |
16074 | (sse_movhlps): Merge with *avx_movhlps. | |
16075 | (sse_movlhps): Merge with *avx_movlhps. | |
16076 | (vec_interleave_highv4sf): Merge with *avx_interleave_highv4sf. | |
16077 | (vec_interleave_lowv4sf): Merge with *avx_interleave_lowv4sf. | |
16078 | (sse_shufps_<mode>): Merge with *avx_shufps_<mode>. | |
16079 | (sse_loadhps): Merge with *avx_loadhps. | |
16080 | (sse_storelps): Merge with *avx_storelps. | |
16081 | (sse_loadlps): Merge with *avx_loadlps. | |
16082 | (sse_movss): Merge with *avx_movss. | |
16083 | (*vec_concatv2sf_sse4_1): Merge with *vec_concatv2sf_avx. | |
16084 | (*vec_concatv4sf_sse): Merge with *vec_concatv4sf_avx. | |
16085 | (*vec_set<mode>_0_sse4_1): Merge with *vec_set<mode>_0_avx. | |
16086 | (*vec_set<mode>_0_sse2): Split multi-unit alternative. | |
16087 | (vec_set<mode>_0): Ditto. | |
16088 | (*vec_setv4sf_sse4_1): Merge with *vec_setv4sf_avx. | |
16089 | (sse4_1_insertps): Merge with *avx_insertps. | |
16090 | (*sse3_interleave_highv2df): Merge with *avx_interleave_highv2df. | |
16091 | (*sse3_interleave_lowv2df): Merge with *avx_interleave_lowv2df. | |
16092 | (vec_interleave_highv2di): Merge with *avx_interleave_highv2di. | |
16093 | (sse2_shufpd_<mode>): Merge with *avx_shufpd_<mode>. | |
16094 | (sse2_storehpd): Merge with *avx_storehpd. | |
16095 | (sse2_loadhpd): Merge with *avx_loadhpd. | |
16096 | (sse2_loadlpd): Merge with *avx_loadlpd. | |
16097 | (sse2_movsd): Merge with *avx_movsd. | |
16098 | (*vec_concatv2df): Merge with *vec_concatv2df. | |
16099 | ||
4e626909 JJ |
16100 | 2011-04-07 Jakub Jelinek <jakub@redhat.com> |
16101 | ||
16102 | PR debug/48343 | |
16103 | * combine.c (combine_instructions): Add last_combined_insn, | |
3729983c | 16104 | update it if insn is after it, pass it to all try_combine calls. |
4e626909 JJ |
16105 | (try_combine): Add last_combined_insn parameter, pass it instead of |
16106 | i3 to propagate_for_debug. | |
16107 | ||
3729983c | 16108 | 2011-04-07 Nick Clifton <nickc@redhat.com> |
5a10b0a9 NC |
16109 | |
16110 | * config/mn10300/mn10300.md (movqi_internal): Add alternatives | |
16111 | to handle MDR <-> data register transfers. | |
16112 | (movhi_internal): Likewise. | |
16113 | ||
20c03367 AM |
16114 | 2011-04-07 Alan Modra <amodra@gmail.com> |
16115 | ||
16116 | * config/rs6000/rs6000.c (rs6000_stack_info): Don't compare against | |
16117 | previous stack info. | |
16118 | ||
bf22920b TV |
16119 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
16120 | ||
16121 | PR target/43920 | |
16122 | * cfgcleanup.c (try_crossjump_to_edge): Add dir parameter. Pass dir to | |
16123 | flow_find_cross_jump. Swap variables to implement backward replacement. | |
16124 | (try_crossjump_bb): Add argument to try_crossjump_to_edge. | |
16125 | ||
823918ae TV |
16126 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
16127 | ||
16128 | PR target/43920 | |
16129 | * cfgcleanup.c (walk_to_nondebug_insn): New function. | |
3729983c UB |
16130 | (flow_find_cross_jump): Use walk_to_nondebug_insn. Recalculate bb1 |
16131 | and bb2. | |
16132 | (try_crossjump_to_edge): Handle case that newpos1 or newpos2 is not | |
16133 | src1 or src2. Redirect edges to the last basic block. Update | |
16134 | frequency and count on multiple basic blocks in case of fallthru. | |
823918ae | 16135 | |
472c95f5 TV |
16136 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
16137 | ||
16138 | PR target/43920 | |
16139 | * cfgcleanup.c (equal_different_set_p, can_replace_by, merge_dir): New | |
16140 | function. | |
3729983c UB |
16141 | (old_insns_match_p): Change return type. Replace return false/true |
16142 | with return dir_none/dir_both. Use can_replace_by. | |
16143 | (flow_find_cross_jump): Add dir_p parameter. Init replacement | |
16144 | direction from dir_p. Register replacement direction in dir, last_dir | |
16145 | and afterlast_dir. Handle new return type of old_insns_match_p using | |
472c95f5 TV |
16146 | merge_dir. Return replacement direction in dir_p. |
16147 | (flow_find_head_matching_sequence, outgoing_edges_match): Handle new | |
16148 | return type of old_insns_match_p. | |
16149 | (try_crossjump_to_edge): Add argument to call to flow_find_cross_jump. | |
16150 | * ifcvt.c ( cond_exec_process_if_block): Add argument to call to | |
16151 | flow_find_cross_jump. | |
16152 | * basic-block.h (enum replace_direction): New type. | |
16153 | (flow_find_cross_jump): Add parameter to declaration. | |
16154 | ||
a95d4000 UB |
16155 | 2011-04-06 Uros Bizjak <ubizjak@gmail.com> |
16156 | ||
16157 | * config/i386/sse.md (AVXMODEDCVTDQ2PS): Remove. | |
16158 | (AVXMODEDCVTPS2DQ): Ditto. | |
16159 | (VEC_FLOAT_MODE): Ditto. | |
16160 | (<sse>_andnot<mode>3): Merge with avx_andnot<mode>3. Use VF mode | |
16161 | iterator. Handle TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL target flag. | |
16162 | (<any_logic:code><mode>3): Use VF mode iterator. | |
16163 | (*<any_logic:code><mode>3): Merge with *avx_<any_logic:code><mode>3. | |
16164 | Use VF mode iterator. | |
16165 | (copysign<mode>3): Use VF mode iterator. | |
16166 | (*andnot<MODEF:mode>3): Merge with *avx_andnot<MODEF:mode>3. Handle | |
16167 | TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL target flag. | |
16168 | (*<any_logic:code><MODEF:mode>3): Merge with | |
16169 | *avx_<any_logic:code><MODEF:mode>3. | |
16170 | (sse_cvtsi2ss): Merge with *avx_cvtsi2ss. | |
16171 | (sse_cvtsi2ssq): Merge with *avx_cvtsi2ssq. | |
16172 | (avx_cvtdq2ps256): Split from avx_cvtdq2ps<avxmodesuffix>. | |
16173 | (avx_cvtdq2ps<avxmodesuffix>): Remove. | |
16174 | (sse2_cvtdq2ps): Use %v modifier. | |
16175 | (avx_cvtps2dq256): Split from avx_cvtps2dq<avxmodesuffix>. | |
16176 | (avx_cvtps2dq<avxmodesuffix>): Remove. | |
16177 | (sse2_cvtps2dq): Use %v modifier. | |
16178 | (avx_cvttps2dq256): Split from avx_cvttps2dq<avxmodesuffix>. | |
16179 | (avx_cvttps2dq<avxmodesuffix>): Remove. | |
16180 | (sse2_cvttps2dq): Use %v modifier. | |
16181 | (sse2_cvtsi2sd): Merge with *avx_cvtsi2sd. | |
16182 | (sse2_cvtsi2sdq): Merge with *avx_cvtsi2sdq. | |
16183 | (sse2_cvtsd2siq): Fix insn template. | |
16184 | (sse2_cvtsd2siq_2): Ditto. | |
16185 | (sse2_cvttsd2siq): Ditto. | |
16186 | (sse2_cvtsd2ss): Merge with *avx_cvtsd2ss. | |
16187 | (sse2_cvtss2sd): Merge with *avx_cvtss2sd. | |
16188 | ||
ad01c437 JM |
16189 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
16190 | ||
16191 | * gcov-io.c: Use GCC Runtime Library Exception. | |
16192 | ||
fe846284 JJ |
16193 | 2011-04-06 Jakub Jelinek <jakub@redhat.com> |
16194 | ||
16195 | PR debug/48466 | |
16196 | * dwarf2out.c (based_loc_descr): If drap_reg is INVALID_REGNUM, use | |
16197 | as base_reg whatever register reg has been eliminated to, instead | |
16198 | of hardcoding STACK_POINTER_REGNUM. | |
16199 | ||
acce4e77 JM |
16200 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
16201 | ||
16202 | * doc/tm.texi.in: Document C target hooks as separate from general | |
16203 | target hooks. | |
16204 | * doc/tm.texi: Regenerate. | |
16205 | * genhooks.c (struct hook_desc): Add docname field. | |
16206 | (HOOK_VECTOR_1, DEFHOOKPOD, DEFHOOK, DEFHOOK_UNDOC). Initialize | |
16207 | docname field. | |
16208 | (hook_array): Include c-target.def. | |
16209 | (emit_documentation): Use docname field in output. | |
16210 | (emit_init_macros): Take docname argument. Only emit definitions | |
16211 | for hooks matching docname. | |
16212 | (main): Expect additional arguments in all cases. Pass argument | |
16213 | to emit_init_macros. | |
16214 | * target.def: Move initial macro definitions and comments to | |
16215 | target-hooks-macros.h. | |
16216 | (gcc_targetcm): Move to c-family/c-target.def. | |
16217 | * target.h (targetcm): Move declaration to c-family/c-target.h. | |
16218 | * targhooks.c (default_handle_c_option): Move to | |
16219 | c-family/c-opts.c. | |
16220 | * targhooks.h (default_handle_c_option): Move declaration to | |
16221 | c-family/c-common.h. | |
16222 | * target-hooks-macros.h: New file. | |
16223 | * config.gcc (target_has_targetcm): Define and use to add to | |
16224 | c_target_objs and cxx_target_objs. | |
16225 | * config/default-c.c: New file. | |
16226 | * config/darwin-c.c: Include c-target.h and c-target-def.h instead | |
16227 | of target.h and target-def.h. | |
16228 | (TARGET_HANDLE_C_OPTION, targetcm): Define later in file. | |
16229 | (darwin_objc_construct_string, darwin_cfstring_ref_p, | |
16230 | darwin_check_cfstring_format_arg): Make static. | |
16231 | (TARGET_OBJC_CONSTRUCT_STRING_OBJECT, | |
16232 | TARGET_STRING_OBJECT_REF_TYPE_P, | |
16233 | TARGET_CHECK_STRING_OBJECT_FORMAT_ARG): Define here. | |
16234 | * config/darwin-protos.h (darwin_objc_construct_string, | |
16235 | darwin_cfstring_ref_p, darwin_check_cfstring_format_arg): Don't | |
16236 | declare. | |
16237 | * config/darwin.h (TARGET_OBJC_CONSTRUCT_STRING_OBJECT, | |
16238 | TARGET_STRING_OBJECT_REF_TYPE_P, | |
a95d4000 | 16239 | TARGET_CHECK_STRING_OBJECT_FORMAT_ARG, TARGET_HAS_TARGETCM): Remove. |
acce4e77 JM |
16240 | * config/t-darwin (darwin-c.o): Update dependencies. |
16241 | * system.h (TARGET_HAS_TARGETCM): Poison. | |
16242 | * Makefile.in (TARGET_H): Update. | |
16243 | (TARGET_DEF, C_TARGET_DEF, C_TARGET_H, C_TARGET_DEF_H): Define. | |
16244 | (c-family/c-format.o, c-family/c-opts.o): Update dependencies. | |
16245 | (default-c.o): New target. | |
16246 | (s-target-hooks-def-h): Pass "Target Hook" string to genhooks. | |
a95d4000 | 16247 | (c-family/c-target-hooks-def.h, s-c-target-hooks-def-h): New targets. |
acce4e77 JM |
16248 | (s-tm-texi): Pass -d option to genhooks. Also test timestamp on |
16249 | c-target.def. | |
16250 | (build/genhooks.o): Update dependencies. | |
16251 | ||
275b4baa | 16252 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
a95d4000 | 16253 | |
275b4baa RG |
16254 | * ipa-inline.c (enum inlining_mode): Remove. |
16255 | (cgraph_flatten): Use some other token. | |
16256 | (cgraph_edge_early_inlinable_p): New function, split out from ... | |
16257 | (cgraph_perform_always_inlining): New function, split out from ... | |
16258 | (cgraph_decide_inlining_incrementally): ... here. | |
16259 | (cgraph_mark_inline_edge): Adjust. | |
16260 | (cgraph_early_inlining): Re-structure. | |
16261 | (pass_early_inline): Require SSA form. | |
16262 | ||
f15b8bdf | 16263 | 2011-04-06 Andrew Stubbs <ams@codesourcery.com> |
9adc580c AS |
16264 | Julian Brown <julian@codesourcery.com> |
16265 | Mark Shinwell <shinwell@codesourcery.com> | |
16266 | ||
16267 | * config/arm/arm.h (arm_class_likely_spilled_p): Check against | |
16268 | LO_REGS only for Thumb-1. | |
16269 | (MODE_BASE_REG_CLASS): Restrict base registers to those which can | |
16270 | be used in short instructions when optimising for size on Thumb-2. | |
16271 | ||
516426da EB |
16272 | 2011-04-06 Eric Botcazou <ebotcazou@adacore.com> |
16273 | ||
16274 | * gimple-low.c (lower_gimple_return): When not optimizing, force labels | |
16275 | associated with user returns to be preserved. | |
16276 | ||
96621ebf TG |
16277 | 2011-04-06 Tristan Gingold <gingold@adacore.com> |
16278 | ||
f15b8bdf EB |
16279 | * dbxout.c (debug_nesting, symbol_queue, symbol_queue_index, |
16280 | symbol_queue_size, DBXOUT_DECR_NESTING, | |
96621ebf TG |
16281 | (DBXOUT_DECR_NESTING_AND_RETURN): Also define |
16282 | if XCOFF_DEBUGGING_INFO. | |
16283 | ||
07c0852e UB |
16284 | 2011-04-06 Uros Bizjak <ubizjak@gmail.com> |
16285 | ||
16286 | * config/i386/i386.md (attribute isa): New. | |
16287 | (attribute enabled): New. | |
16288 | (setcc_<mode>_sse): Merge from *{avx,sse}_setcc<mode>. | |
16289 | (*fop_<mode>_comm_mixed): Merge with *fop_<mode>_comm_mixed_avx. | |
16290 | (*fop_<mode>_comm_sse): Merge with *fop_<mode>_comm_avx. | |
16291 | (*fop_<mode>_1_mixed): Merge with *fop_<mode>_1_mixed_avx. | |
16292 | (*fop_<mode>_1_sse): Merge with *fop_<mode>_1_avx. | |
16293 | (<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3. | |
16294 | (*ieee_smin<mode>3): Merge with *avx_ieee_smin<mode>3. | |
16295 | (*ieee_smax<mode>3): Merge with *avx_ieee_smax<mode>3. | |
16296 | ||
16297 | * config/i386/sse.md (VF): New mode iterator. | |
16298 | (VF1): Ditto. | |
16299 | (VF2): Ditto. | |
16300 | (VF_128): Ditto. | |
16301 | (SSEMODEF4): Remove. | |
16302 | (attribute sse): Handle V8SF and V4DF modes. | |
16303 | (<absneg:code><mode>2): Use VF mode iterator. | |
16304 | (*absneg<mode>2): Merge from *{avx,sse}_absneg<mode>2. Use VF | |
16305 | mode iterator. | |
16306 | (<plusminus_insn><mode>3): Use VF mode iterator. | |
16307 | (*<plusminus_insn><mode>3): Merge with *avx_<plusminus_insn><mode>3. | |
16308 | Use VF mode iterator. | |
16309 | (<sse>_vm<plusminus_insn><mode>3): Merge with | |
16310 | *avx_vm<plusminus_insn><mode>3. Use VF_128 mode iterator. | |
16311 | (mul<mode>3): Use VF mode iterator. | |
16312 | (*mul<mode>3): Merge with *avx_mul<mode>3. Use VF mode iterator. | |
16313 | (<sse>_vmmul<mode>3): Merge with *avx_vmmul<mode>3. Use VF_128 | |
16314 | mode iterator. | |
16315 | (div<VF2:mode>3): Merge from divv2df3 and divv4df3. | |
16316 | (div<VF1:mode>3): Merge from divv4sf3 and divv8sf3. | |
16317 | (<sse>_div<mode>3): Merge with *avx_div<mode>3. Use VF mode iterator. | |
16318 | (<sse>_vmdiv<mode>3): Merge with *avx_vmdiv<mode>3. Use VF_128 | |
16319 | mode iterator. | |
16320 | (<sse>_rcp<mode>2): Merge from avx_rcpv8sf2 and sse_rcpv4sf2. | |
16321 | Use VF1 mode iterator. | |
16322 | (sse_vmrcpv4sf2): Merge with *avx_vmrcpv4sf2. | |
16323 | (sqrt<VF2:mode>2): New expander. | |
16324 | (sqrt<VF1:mode>2): Merge from sqrtv4sf2 and sqrtv8sf2. | |
16325 | (<sse>_sqrt<mode>2): Merge from avx_sqrtv8sf2, sse_sqrtv4sf, sqrtv4df2 | |
16326 | and sqrtv2df2. Use VF mode iterator. | |
16327 | (<sse>_vmsqrt<mode>2): Merge with *avx_vmsqrt<mode>2. Use VF_128 | |
16328 | mode iterator. | |
16329 | (rsqrt<VF1:mode>2): Merge from rsqrtv4sf2 and rsqrtv8sf2. | |
16330 | (<sse>_rsqrt<mode>2): Merge from avx_rsqrtv8sf2 and sse_rsqrt4sf2. | |
16331 | Use VF1 mode iterator. | |
16332 | (sse_vmrsqrtv4sf2): Merge with *avx_vmrsqrtv4sf2. | |
16333 | (<smaxmin:code><mode>3): Use VF mode iterator. | |
16334 | (*<smaxmin:code><mode>3_finite): Merge with | |
16335 | *avx_<smaxmin:code><mode>3_finite. Use VF mode iterator. | |
16336 | (*<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3. | |
16337 | (<sse>_vm<smaxmin:code><mode>2): Merge with | |
16338 | *avx_vm<smaxmin:code><mode>2. Use VF_128 mode iterator. | |
16339 | (*ieee_smin<mode>3): Merge with *avx_ieee_smin<mode>3. Use VF | |
16340 | mode iterator. | |
16341 | (*ieee_smax<mode>3): Merge with *avx_ieee_smax<mode>3. Use VF | |
16342 | mode iterator. | |
16343 | (sse3_addsubv2df3): Merge with *avx_addsubv2df3. | |
16344 | (sse3_addsubv4sf3): Merge with *avx_addsubv4sf3. | |
16345 | (sse3_h<plusminus_insn>v2df3): Merge with *avx_h<plusminus_insn>v2df3. | |
16346 | (sse3_h<plusminus_insn>v4sf3): Merge with *avx_h<plusminus_insn>v4sf3. | |
16347 | (avx_cmp<mode>3): Rename from avx_cmp<ssemodesuffix><mode>3. Use | |
16348 | VF mode iterator. | |
16349 | (avx_vmcmp<mode>3): Rename from avx_cmp<ssescalarmodesuffix><mode>3. | |
16350 | Use VF_128 mode iterator. | |
16351 | (<sse>_maskcmp<mode>3): Merge with *avx_maskcmp<mode>3. Use VF | |
16352 | mode iterator. | |
16353 | (<sse>_vmmaskcmp<mode>3): Merge with *avx_vmmaskcmp<mode>3. Use | |
16354 | VF_128 mode iterator. | |
16355 | (vcond<mode>): Use VF mode iterator. | |
16356 | * config/i386/predicates.md (sse_comparison_operator): Merge with | |
16357 | avx_comparison_float_operator. Do not declare as special_predicate. | |
16358 | * config/i386/i386.c (struct builtin_description): Update for renamed | |
16359 | compare patterns. | |
16360 | (ix86_expand_args_builtin): Ditto. | |
16361 | (ix86_expand_sse_compare_mask): Ditto. | |
16362 | ||
ff5d142c RG |
16363 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
16364 | ||
16365 | * tree-inline.c (estimate_num_insns): For calls simply account | |
16366 | for all passed arguments and a used return value. | |
16367 | ||
d7d1d041 | 16368 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
07c0852e | 16369 | |
d7d1d041 RG |
16370 | PR tree-optimization/47663 |
16371 | * cgraph.h (struct cgraph_edge): Add call_stmt_size and | |
16372 | call_stmt_time fields. | |
16373 | (cgraph_edge_inlinable_p): Declare. | |
16374 | (cgraph_edge_recursive_p): New inline function. | |
16375 | * cgraph.c (cgraph_create_edge_1): Initialize call_stmt_size. | |
16376 | (cgraph_clone_edge): Copy it. | |
16377 | * ipa-inline.c (cgraph_estimate_edge_time): New function. | |
16378 | Account for call stmt time. | |
16379 | (cgraph_estimate_time_after_inlining): Take edge argument. | |
16380 | (cgraph_estimate_edge_growth): Account call stmt size. | |
16381 | (cgraph_estimate_size_after_inlining): Take edge argument. | |
16382 | (cgraph_mark_inline_edge): Adjust. | |
16383 | (cgraph_check_inline_limits): Likewise. | |
16384 | (cgraph_recursive_inlining_p): Remove. | |
16385 | (cgraph_edge_badness): Use cgraph_edge_recursive_p. | |
16386 | (cgraph_decide_recursive_inlining): Take edge argument and | |
16387 | adjust. | |
16388 | (cgraph_decide_inlining_of_small_functions): Do not avoid | |
16389 | diags for recursive inlining here. | |
16390 | (cgraph_flatten): Adjust. | |
16391 | (cgraph_decide_inlining_incrementally): Likewise. | |
16392 | (estimate_function_body_sizes): Remove call cost handling. | |
16393 | (compute_inline_parameters): Initialize caller edge call costs. | |
16394 | (cgraph_estimate_edge_growth): New function. | |
16395 | (cgraph_estimate_growth): Use it. | |
16396 | (cgraph_edge_badness): Likewise. | |
16397 | (cgraph_check_inline_limits): Take an edge argument. | |
16398 | (cgraph_decide_inlining_of_small_functions): Adjust. | |
16399 | (cgraph_decide_inlining): Likewise. | |
16400 | * tree-inline.c (estimate_num_insns): Only account for call | |
16401 | return value if it is used. | |
16402 | (expand_call_inline): Avoid diagnostics on recursive inline | |
16403 | functions here. | |
16404 | * lto-cgraph.c (lto_output_edge): Output edge call costs. | |
16405 | (input_edge): Input edge call costs. | |
16406 | ||
2feb95f7 RO |
16407 | 2011-04-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16408 | ||
16409 | * config/alpha/osf5.h (MAX_OFILE_ALIGNMENT): Define. | |
16410 | ||
26fbd9c2 JW |
16411 | 2011-04-06 Jonathan Wakely <jwakely.gcc@gmail.com> |
16412 | ||
16413 | * doc/invoke.texi (Spec Files): Fix typo. | |
16414 | ||
694dc0ca EB |
16415 | 2011-04-06 Eric Botcazou <ebotcazou@adacore.com> |
16416 | ||
16417 | * profile.c (branch_prob): Move declaration of local variable. Remove | |
16418 | obsolete ??? comment. Expand the location explicitly instead of using | |
16419 | the LOCATION_FILE and LOCATION_LINE macros. | |
16420 | ||
4925d0d5 WG |
16421 | 2011-04-06 Wei Guozhi <carrot@google.com> |
16422 | ||
16423 | PR target/47855 | |
16424 | * config/arm/arm.md (arm_cmpsi_insn): Compute attr "length". | |
16425 | (arm_cond_branch): Likewise. | |
16426 | (arm_cond_branch_reversed): Likewise. | |
16427 | (arm_jump): Likewise. | |
16428 | (push_multi): Likewise. | |
16429 | * config/arm/constraints.md (Py): New constraint. | |
16430 | ||
f55dfa2f NF |
16431 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
16432 | ||
16433 | PR bootstrap/48471 | |
16434 | * dbxout.c (debug_nesting, symbol_queue, symbol_queue_index): | |
16435 | Move these... | |
16436 | (symbol_queue_size, DBXOUT_DECR_NESTING): ...and these... | |
16437 | (DBXOUT_DECR_NESTING_AND_RETURN): ...and this under | |
16438 | #ifdef DBX_DEBUGGING_INFO. | |
16439 | ||
fca96842 BS |
16440 | 2011-04-05 Bernd Schmidt <bernds@codesourcery.com> |
16441 | ||
16442 | PR bootstrap/48403 | |
16443 | * haifa-sched.c (schedule_block): Increment cycle_issued_insns only | |
16444 | if old and new states differ. | |
16445 | ||
30b83e38 JM |
16446 | 2011-04-05 Joseph Myers <joseph@codesourcery.com> |
16447 | ||
16448 | * config/m68k/m68k.c (m68k_handle_option): Don't handle OPT_m5200, | |
16449 | OPT_m5206e, OPT_m528x, OPT_m5307, OPT_m5407 and OPT_mcfv4e. | |
16450 | * config/m68k/m68k.h (OPTION_DEFAULT_SPECS, ASM_CPU_SPEC): Don't | |
16451 | handle -m5200, -m5206e, -m528x, -m5307, -m5407 and -mcfv4e. | |
16452 | * config/m68k/m68k.opt (m5200, m5206e, m528x, m5307, m5407, | |
16453 | mcfv4e): Use Alias. | |
16454 | * config/m68k/t-mlibs (MULTILIB_MATCHES): Don't map legacy | |
16455 | ColdFire options to -mcpu= options. | |
16456 | ||
277a9aa5 JL |
16457 | 2011-04-05 Jeff Law <law@redhat.com> |
16458 | ||
16459 | * tree-ssa-threadupdate.c (determine_bb_domination_status): Always | |
16460 | check if BB is a successor of LOOP->header and return | |
16461 | NONDOMINATING if it is not, regardless of ENABLE_CHECKING. | |
16462 | ||
c1e2610e SB |
16463 | 2011-04-05 Steven Bosscher <steven@gcc.gnu.org> |
16464 | ||
16465 | * cprop.c (struct reg_use): Remove. | |
16466 | (reg_use_table): Make an array of RTX. | |
16467 | (find_used_regs, constprop_register, local_cprop_pass, | |
16468 | bypass_block): Simplify users of reg_use_table. | |
16469 | (cprop_insn): Likewise. Iterate if copy propagation succeeded | |
16470 | on one of the uses found by find_used_regs. | |
16471 | ||
e532f586 NF |
16472 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
16473 | ||
16474 | PR bootstrap/48469 | |
16475 | * combine.c (combine_instructions): #ifdef AUTO_INC_DEC links | |
16476 | declaration. | |
16477 | ||
3fb7c055 NF |
16478 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
16479 | ||
16480 | * combine.c (combine_instructions) [AUTO_INC_DEC]: Declare links | |
16481 | as an rtx. | |
16482 | (try_combine) [AUTO_INC_DEC]: Declare a local link rtx. | |
16483 | ||
b71b43d9 SB |
16484 | 2011-04-05 Steven Bosscher <steven@gcc.gnu.org> |
16485 | ||
16486 | PR middle-end/48441 | |
16487 | * cprop.c (one_cprop_pass): Do not mark_oprs_set of deleted insns. | |
16488 | ||
b405b274 NF |
16489 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
16490 | ||
16491 | * combine.c: Include obstack.h. | |
16492 | (struct insn_link): Define. | |
16493 | (uid_log_links): Adjust type. | |
16494 | (FOR_EACH_LOG_LINK): New macro. | |
16495 | (insn_link_obstack): Declare. | |
16496 | (alloc_insn_link): Define. | |
16497 | (create_log_links): Call it. Use FOR_EACH_LOG_LINK and adjust | |
16498 | type of link variables. | |
16499 | (find_single_use, insn_a_feeds_b, combine_instructions): Likewise. | |
16500 | (try_combine, record_promoted_values, distribute_notes): Likewise. | |
16501 | (distribute_links): Likewise. Tweak prototype. | |
16502 | (clear_log_links): Delete. | |
16503 | (adjust_for_new_dest): Call alloc_insn_link. | |
16504 | * Makefile.in (combine.o): Depend on $(OBSTACK_H). | |
16505 | ||
6409abe3 NF |
16506 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
16507 | ||
16508 | * gcse.c (modify_mem_list): Convert to an array of VECs. | |
16509 | (canon_modify_mem_list, compute_transp): Tweak formatting. | |
16510 | (alloc_gcse_mem): Likewise. Adjust for modify_mem_list change. | |
16511 | (load_killed_in_block_p): Likewise. | |
16512 | (record_last_mem_set_info): Likewise. | |
16513 | (clear_modify_mem_tables): Likewise. | |
16514 | ||
170d8157 TV |
16515 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
16516 | ||
16517 | PR middle-end/48461 | |
16518 | * function.c (emit_use_return_register_into_block): Only define if | |
16519 | HAVE_return. | |
16520 | ||
c5911a55 EB |
16521 | 2011-04-05 Eric Botcazou <ebotcazou@adacore.com> |
16522 | ||
16523 | * stor-layout.c (self_referential_size): Fix 2010-07-13 commit. | |
16524 | ||
abd016e6 JM |
16525 | 2011-04-05 Joseph Myers <joseph@codesourcery.com> |
16526 | ||
16527 | * config/rx/rx-opts.h: New. | |
16528 | * config/rx/rx.c (rx_cpu_type): Remove. | |
16529 | (rx_handle_option): Don't assert that global structures are in | |
16530 | use. Access variables via opts pointer. Defer most handling of | |
16531 | OPT_mint_register_. Use error_at. | |
16532 | (rx_option_override): Handle deferred OPT_mint_register_ here. | |
16533 | * config/rx/rx.h (enum rx_cpu_types): Move to rx-opts.h. | |
16534 | * config/rx/rx.opt (config/rx/rx-opts.h: New HeaderInclude. | |
16535 | (mcpu=): Use Enum and specifiy rx_cpu_type with Var. | |
16536 | (rx_cpu_types): New Enum and EnumValue entries. | |
16537 | (mint-register=): Use Defer and use Var accordingly. | |
16538 | ||
1ed13f83 NF |
16539 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
16540 | ||
16541 | * debug.h (debug_flush_symbol_queue, debug_queue_symbol): Delete. | |
16542 | (debug_free_queue, debug_nesting, symbol_queue_index): Delete. | |
16543 | * final.c (debug_flush_symbol_queue, debug_queue_symbol): | |
16544 | Move these... | |
16545 | (debug_free_queue, debug_nesting, symbol_queue_index): | |
16546 | ...and these... | |
16547 | * dbxout.c: ...to here. Make static. | |
16548 | ||
6ce1edcf NF |
16549 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
16550 | ||
16551 | * gcse.c (modify_pair): Define. Define a VEC of it. | |
16552 | (canon_modify_mem_list): Convert to an array of VECs. | |
16553 | (free_insn_expr_list_list): Delete. | |
16554 | (clear_modify_mem_tables): Call VEC_free instead. | |
16555 | (record_last_mem_set_info): Don't modify canon_modify_mem_list. | |
16556 | (alloc_gcse_mem): Adjust for canon_modify_mem_list change. | |
16557 | (canon_list_insert, compute_transp): Likewise. | |
16558 | ||
c201ac94 TV |
16559 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
16560 | ||
16561 | PR target/43920 | |
16562 | * config/arm/arm.h (BRANCH_COST): Set to 1 for Thumb-2 when optimizing | |
16563 | for size. | |
16564 | ||
4c029f40 TV |
16565 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
16566 | ||
16567 | PR target/43920 | |
16568 | * function.c (emit_use_return_register_into_block): New function. | |
16569 | (thread_prologue_and_epilogue_insns): Use | |
16570 | emit_use_return_register_into_block. | |
16571 | ||
2a562b0a TV |
16572 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
16573 | ||
16574 | PR target/43920 | |
16575 | * cfgcleanup.c (flow_find_cross_jump): Don't count USE or CLOBBER as | |
16576 | insn. | |
16577 | ||
0248bceb TV |
16578 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
16579 | ||
16580 | * cfgcleanup.c (try_crossjump_bb): Remove 2 superfluous variables. | |
16581 | ||
ffa94123 YZ |
16582 | 2011-04-05 Yufeng Zhang <yufeng.zhang@arm.com> |
16583 | ||
798dd0ba UB |
16584 | * config/arm/arm.md (define_constants for unspec): Replace with |
16585 | define_c_enum. | |
16586 | (define_constants for unspecv): Replace with define_c_enum. | |
16587 | * config/arm/neon.md (define_constants for unspec): Replace with | |
16588 | define_c_enum. | |
ffa94123 | 16589 | |
3b8f9b46 RH |
16590 | 2011-04-04 Richard Henderson <rth@redhat.com> |
16591 | ||
720cf80f | 16592 | PR bootstrap/48400 |
3b8f9b46 RH |
16593 | * dwarf2out.c (output_line_info): Always emit line info from |
16594 | at least one section. | |
16595 | (dwarf2out_init): Create text_section_line_info here ... | |
16596 | (set_cur_line_info_table): ... not here. | |
16597 | ||
720cf80f | 16598 | 2011-04-04 Vladimir Makarov <vmakarov@redhat.com> |
e5b0e1ca VM |
16599 | |
16600 | PR target/48380 | |
16601 | * ira.c (ira): Call grow_reg_equivs when fix_reg_equiv_init is | |
720cf80f | 16602 | not called. |
e5b0e1ca | 16603 | |
720cf80f | 16604 | * ira-emit.c (emit_move_list): Update reg_equiv_init insn list. |
e5b0e1ca | 16605 | |
196565d4 SB |
16606 | 2011-04-04 Steven Bosscher <steven@gcc.gnu.org> |
16607 | ||
b77f9eab SB |
16608 | * cprop.c (struct expr): Split 'expr' field in 'dest' and 'src'. |
16609 | (expr_equiv_p): Remove. | |
16610 | (insert_set_in_table): Look at <dest, src> pair instead of expr. | |
16611 | (hash_scan_set): Update call to insert_set_in_table. | |
16612 | (dump_hash_table): Dump <dest, src> pair. | |
16613 | (lookup_set): Simplify. Lookup <dest, src> pair. | |
16614 | (compute_transp): Remove, fold heavily simplified code into... | |
16615 | (compute_local_properties): ...here. Expect COMP and TRANSP | |
16616 | unconditionally. | |
16617 | (find_avail_set): Take set directly from struct expr. | |
16618 | (find_bypass-set): Likewise. | |
16619 | (bypass_block): Likewise. | |
16620 | (cprop_insn): Likewise. Remove redundant INSN_P test. | |
16621 | ||
384d7a55 SB |
16622 | * cprop.c (implicit_set_cond_p): Assume nothing about COND, move |
16623 | checks on form of COND from find_implicit_sets to here. | |
16624 | (find_implicit_sets): Cleanup control flow. Split critical edges | |
16625 | if it exposes implicit sets. Allocate/resize implicit_sets as | |
16626 | necessary. | |
16627 | (one_cprop_pass): Only delete unreachable blocks if local_cprop_pass | |
16628 | changed something. Run df_analyze after find_implicit_sets if any | |
16629 | edges were split. Do not allocate implicit_sets here. | |
16630 | ||
3084ce69 SB |
16631 | * cprop.c: s/gcse/cprop/ everywhere except for flag_gcse. |
16632 | (gcse_obstack): Renamed to cprop_obstack. | |
16633 | (GNEW, GNEWVEC, GNEWVAR): Remove. | |
16634 | (gmalloc): Remove. | |
16635 | (alloc_hash_table): Use XNEWVAR instead of GNEWVAR. | |
16636 | (GOBNEW, GOBNEWVAR): Adjust for gcse_obstack renaming. | |
16637 | (gcse_alloc): Likewise, and rename to cprop_alloc. | |
16638 | (alloc_gcse_men, free_gcse_mem): Remove. | |
16639 | (gcse_constant_p): Rename to cprop_constant_p, and adjust all callers. | |
16640 | (compute_hash_table_work): Allocate and free reg_set_bitmap here. | |
16641 | (one_cprop_pass): Likewise. Adjust for gcse_obstack renaming. | |
16642 | ||
196565d4 SB |
16643 | * cprop.c (oprs_not_set_p): Remove. |
16644 | (mark_set, mark_clobber): Remove. | |
16645 | (mark_oprs_set): Rewrite using DF_INSN_INFO_DEFS cache. | |
16646 | (reg_not_set_p): New function. | |
16647 | (find_avail_set): Use reg_not_set_p instead of oprs_not_set_p. | |
16648 | (cprop_insn): Likewise. | |
16649 | (cprop_jump): Use FOR_EACH_EDGE. | |
16650 | ||
9b69cf83 BS |
16651 | 2011-04-04 Bernd Schmidt <bernds@codesourcery.com> |
16652 | ||
16653 | PR bootstrap/48403 | |
16654 | * haifa-sched.c (nonscheduled_insns_begin): New static variable. | |
16655 | (rank_for_schedule): Use scheduled_insns vector instead of | |
16656 | last_scheduled_insn. | |
16657 | (ok_for_early_queue_removal): Likewise. | |
16658 | (queue_to_ready): Search forward in nonscheduled_insns_begin if | |
16659 | we have a dbg_cnt. | |
16660 | (choose_ready): Likewise. | |
16661 | (commit_schedule): Use VEC_iterate. | |
16662 | (schedule_block): Initialize nonscheduled_insns_begin. If we have | |
16663 | a dbg_cnt, use it and ensure the first insn is in the ready list. | |
16664 | (haifa_sched_init): Allocate scheduled_insns. | |
16665 | (sched_extend_ready_list): Don't allocate it; reserve space. | |
16666 | (haifa_sched_finish): Free it. | |
16667 | ||
24f48c2f JM |
16668 | 2011-04-04 Joseph Myers <joseph@codesourcery.com> |
16669 | ||
16670 | * optc-gen.awk: Always remove type from Variable entry before | |
16671 | recording in var_seen. | |
16672 | ||
8effe856 EB |
16673 | 2011-04-04 Eric Botcazou <ebotcazou@adacore.com> |
16674 | ||
16675 | * cfghooks.c (tidy_fallthru_edges): Add ??? comment. | |
16676 | * tree-inline.c (delete_unreachable_blocks_update_callgraph): Remove | |
16677 | call to tidy_fallthru_edges. | |
16678 | ||
413519ae JM |
16679 | 2011-04-04 Joseph Myers <joseph@codesourcery.com> |
16680 | ||
16681 | * doc/options.texi (ToLower): Document. | |
3729983c | 16682 | * opt-functions.awk (switch_bit_fields): Initialize cl_tolower field. |
413519ae JM |
16683 | * opts-common.c (decode_cmdline_option): Handle cl_tolower. |
16684 | * opts.h (cl_option): Add cl_tolower field. | |
16685 | * config/rx/rx.c (rx_handle_option): Use strcmp of -mcpu= | |
16686 | arguments with lowercase strings. | |
16687 | * config/rx/rx.opt (mcpu=): Add ToLower. | |
16688 | * config/rx/t-rx (MULTILIB_MATCHES): Don't handle uppercase -mcpu= | |
16689 | argument. | |
16690 | ||
7d34a1b0 RS |
16691 | 2011-04-04 Richard Sandiford <richard.sandiford@linaro.org> |
16692 | ||
16693 | * config/pdp11/pdp11.h (IRA_COVER_CLASSES): Delete. | |
16694 | ||
c30e7434 RS |
16695 | 2011-04-04 Richard Sandiford <richard.sandiford@linaro.org> |
16696 | ||
16697 | * config/vax/vax.c: Include reload.h. | |
16698 | ||
112a861d AS |
16699 | 2011-04-04 Anatoly Sokolov <aesok@post.ru> |
16700 | ||
16701 | * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Remove. | |
16702 | * config/sparc/sparc.c (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
16703 | (sparc_preferred_reload_class): New function. | |
16704 | ||
e8c6bb74 JJ |
16705 | 2011-04-04 Jakub Jelinek <jakub@redhat.com> |
16706 | ||
2aeaa366 | 16707 | PR debug/48401 |
e8c6bb74 JJ |
16708 | * cfgexpand.c (expand_gimple_basic_block): Avoid useless assignment. |
16709 | Use PAT_VAR_LOCATION_LOC instead of INSN_VAR_LOCATION_LOC. | |
16710 | ||
2c081caf NF |
16711 | 2011-04-03 Nathan Froyd <froydnj@codesourcery.com> |
16712 | ||
16713 | * tree.h (struct tree_const_decl): Inherit from tree_decl_common. | |
16714 | * tree.c (initialize_tree_contains_struct): Adjust accordingly. | |
16715 | ||
53802f27 AS |
16716 | 2011-04-03 Anatoly Sokolov <aesok@post.ru> |
16717 | ||
16718 | * config/avr/avr.h (ASM_OUTPUT_BSS): Remove. | |
16719 | (ASM_OUTPUT_ALIGNED_BSS): Define. | |
16720 | ||
e89964e3 MM |
16721 | 2011-04-03 Michael Matz <matz@suse.de> |
16722 | ||
16723 | * lto-streamer.h (struct lto_streamer_cache_d): Remove offsets | |
16724 | and next_slot members. | |
16725 | (lto_streamer_cache_insert, lto_streamer_cache_insert_at, | |
16726 | lto_streamer_cache_lookup, lto_streamer_cache_get): Adjust prototypes. | |
16727 | (lto_streamer_cache_append): Declare. | |
16728 | * lto-streamer.c (lto_streamer_cache_add_to_node_array): Use | |
16729 | unsigned index, remove offset parameter, ensure that we append | |
16730 | or update existing entries. | |
16731 | (lto_streamer_cache_insert_1): Use unsigned index, remove offset_p | |
16732 | parameter, update next_slot for append. | |
16733 | (lto_streamer_cache_insert): Use unsigned index, remove offset_p | |
16734 | parameter. | |
16735 | (lto_streamer_cache_insert_at): Likewise. | |
16736 | (lto_streamer_cache_append): New function. | |
16737 | (lto_streamer_cache_lookup): Use unsigned index. | |
16738 | (lto_streamer_cache_get): Likewise. | |
16739 | (lto_record_common_node): Don't test tree_node_can_be_shared. | |
16740 | (preload_common_node): Adjust call to lto_streamer_cache_insert. | |
16741 | (lto_streamer_cache_delete): Don't free offsets member. | |
16742 | * lto-streamer-out.c (eq_string_slot_node): Use memcmp. | |
16743 | (lto_output_string_with_length): Use lto_output_data_stream. | |
16744 | (lto_output_tree_header): Remove ix parameter, don't write it. | |
16745 | (lto_output_builtin_tree): Likewise. | |
16746 | (lto_write_tree): Adjust callers to above, don't track and write | |
16747 | offset, write unsigned index. | |
16748 | (output_unreferenced_globals): Don't emit all global vars. | |
16749 | (write_global_references): Use unsigned indices. | |
16750 | (lto_output_decl_state_refs): Likewise. | |
16751 | (write_symbol): Likewise. | |
16752 | * lto-streamer-in.c (lto_input_chain): Move earlier. | |
16753 | (input_function): Use unsigned index. | |
16754 | (input_alias_pairs): Don't read and then ignore all global vars. | |
16755 | (lto_materialize_tree): Remove ix_p parameter, don't read index, | |
16756 | don't pass it back, use lto_streamer_cache_append. | |
16757 | (lto_register_var_decl_in_symtab): Use unsigned index. | |
16758 | (lto_register_function_decl_in_symtab): Likewise. | |
16759 | (lto_get_pickled_tree): Don't read in or handle offset, read unsigned | |
16760 | index. | |
16761 | (lto_get_builtin_tree): Don't read index, use | |
16762 | lto_streamer_cache_append. | |
16763 | (lto_read_tree): Adjust call to lto_materialize_tree. | |
16764 | ||
16765 | * ipa-inline.c (cgraph_edge_badness): Move growth calculaton, | |
16766 | don't use function calls in arguments to MIN. | |
16767 | ||
16768 | * varasm.c (decl_binds_to_current_def_p): Don't check TREE_PUBLIC | |
16769 | twice. | |
16770 | ||
16771 | * gimple.c (gimple_type_leader_entry): Mark deletable. | |
16772 | ||
b9a5b5b2 AM |
16773 | 2011-04-03 Alan Modra <amodra@gmail.com> |
16774 | ||
16775 | * dwarf2out.c (mem_loc_descriptor): Recurse on LO_SUM. | |
16776 | ||
ac6a641b MM |
16777 | 2011-04-03 Michael Matz <matz@suse.de> |
16778 | ||
16779 | * tree.c (free_lang_data_in_decl): Zero DECL_VINDEX if it's not | |
16780 | an integer. | |
16781 | * tree.h (tree_decl_non_common.vindex): Adjust comment. | |
16782 | ||
0038d4e0 MM |
16783 | 2011-04-03 Michael Matz <matz@suse.de> |
16784 | ||
e9c18386 | 16785 | * cgraphbuild.c (record_reference): Canonicalize constructor values. |
0038d4e0 MM |
16786 | * gimple-fold.c (canonicalize_constructor_val): Accept being called |
16787 | without function context. | |
16788 | * cgraphunit.c (cgraph_finalize_compilation_unit): Clear | |
16789 | current_function_decl and cfun. | |
16790 | ||
91f2fae8 MM |
16791 | 2011-04-03 Michael Matz <matz@suse.de> |
16792 | ||
16793 | * tree.c (decl_init_priority_insert): Don't create entry for | |
16794 | default priority. | |
16795 | (decl_fini_priority_insert): Ditto. | |
16796 | (fields_compatible_p, find_compatible_field): Remove. | |
16797 | * tree.h (fields_compatible_p, find_compatible_field): Remove. | |
16798 | * gimple.c (gimple_compare_field_offset): Adjust block comment. | |
16799 | ||
da29e070 EB |
16800 | 2011-04-03 Eric Botcazou <ebotcazou@adacore.com> |
16801 | ||
16802 | * combine.c (try_combine): Remove useless local variable. | |
16803 | ||
4979c28b | 16804 | 2011-04-03 Richard Guenther <rguenther@suse.de> |
91f2fae8 | 16805 | Ira Rosen <ira.rosen@linaro.org> |
4979c28b RG |
16806 | |
16807 | * tree-if-conv.c (memrefs_read_or_written_unconditionally): Strip all | |
16808 | non-variable offsets and compare the remaining bases of the two | |
16809 | accesses instead of looking for exact same data-ref. | |
16810 | ||
b4ddcaee KT |
16811 | 2011-04-02 Kai Tietz <ktietz@redhat.com> |
16812 | ||
f90298e1 KT |
16813 | PR target/48416 |
16814 | * i386.c (ix86_function_arg_boundary): Fix printf formatter. | |
16815 | ||
b4ddcaee KT |
16816 | * i386.c (ix86_is_msabi_thiscall): New helper function. |
16817 | (ix86_is_type_thiscall): New helper function. | |
16818 | (ix86_comp_type_attributes): Handle thiscall for method-functions | |
16819 | special. | |
16820 | (init_cumulative_args): Likewise. | |
16821 | (find_drap_reg): Likewise. | |
16822 | (ix86_static_chain): Likewise. | |
16823 | (x86_this_parameter): Likewise. | |
16824 | (x86_output_mi_thunk): Likewise. | |
16825 | ||
2a9d769a | 16826 | 2011-04-01 Olivier Hainque <hainque@adacore.com> |
91f2fae8 MM |
16827 | Nicolas Setton <setton@adacore.com> |
16828 | Eric Botcazou <ebotcazou@adacore.com> | |
2a9d769a OH |
16829 | |
16830 | * dwarf2out.c (dwarf_attr_name): Map DW_AT_GNAT_descriptive_type. | |
16831 | (add_gnat_descriptive_type_attribute): New function. | |
16832 | (gen_array_type_die): Call it. | |
16833 | (gen_enumeration_type_die): Likewise. | |
16834 | (gen_struct_or_union_type_die): Likewise. | |
16835 | (modified_type_die): Likewise. | |
16836 | * langhooks.h (lang_hooks_for_types): New descriptive_type hook. | |
16837 | * langhooks-def.h (LANG_HOOKS_DESCRIPTIVE_TYPE): Default to NULL. | |
16838 | (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add LANG_HOOKS_DESCRIPTIVE_TYPE. | |
16839 | ||
15a03a11 JJ |
16840 | 2011-04-01 Jakub Jelinek <jakub@redhat.com> |
16841 | ||
16842 | PR bootstrap/48148 | |
16843 | * dwarf2out.c (resolve_addr): Don't call force_decl_die | |
16844 | if DECL_EXTERNAL has non-NULL DECL_ABSTRACT_ORIGIN. | |
16845 | ||
16846 | Revert: | |
16847 | 2011-03-17 Richard Guenther <rguenther@suse.de> | |
16848 | ||
16849 | PR bootstrap/48148 | |
16850 | * lto-cgraph.c (input_overwrite_node): Clear the abstract | |
16851 | origin for decls in other ltrans units. | |
16852 | (input_varpool_node): Likewise. | |
16853 | ||
19228b93 JJ |
16854 | 2011-04-01 Jakub Jelinek <jakub@redhat.com> |
16855 | ||
16856 | PR middle-end/48335 | |
16857 | * expr.c (expand_assignment): Handle all possibilities | |
16858 | if TO_RTX is CONCAT. | |
e9c18386 | 16859 | * expmed.c (store_bit_field_1): Avoid trying to create invalid SUBREGs. |
19228b93 JJ |
16860 | (store_split_bit_field): If SUBREG_REG (op0) or |
16861 | op0 itself has smaller mode than word, return it | |
16862 | for offset 0 and const0_rtx for out-of-bounds stores. | |
16863 | If word is const0_rtx, skip it. | |
16864 | ||
88cb339e N |
16865 | 2011-04-01 Naveen H.S <naveen.S@kpitcummins.com> |
16866 | ||
16867 | * config/h8300/h8300.c (print_operand_address): Rename to... | |
16868 | (h8300_print_operand_address): ...this. Make static. Adjust comments. | |
16869 | Call h8300_print_operand and h8300_print_operand_address instead of | |
16870 | print_operand and print_operand_address. Declare. | |
16871 | (print_operand): Renake to... | |
16872 | (h8300_print_operand): ...this. Make static. Adjust comments. | |
16873 | Call h8300_print_operand instead of print_operand. Declare. | |
16874 | (h8300_print_operand_punct_valid_p): Moved from h8300.h file. | |
16875 | (h8300_register_move_cost): Likewise. | |
16876 | (TARGET_PRINT_OPERAND_PUNCT_VALID_P, TARGET_PRINT_OPERAND | |
16877 | TARGET_PRINT_OPERAND_ADDRESS, TARGET_REGISTER_MOVE_COST): Define. | |
16878 | * config/h8300/h8300.h (PRINT_OPERAND_ADDRESS, PRINT_OPERAND | |
16879 | PRINT_OPERAND_PUNCT_VALID_P, REGISTER_MOVE_COST): Delete. | |
16880 | * config/h8300/h8300-protos.h (print_operand): Delete. | |
16881 | (print_operand_address): Delete. | |
16882 | ||
756d6ee9 RH |
16883 | 2011-04-01 Richard Henderson <rth@redhat.com> |
16884 | ||
16885 | PR 48400 | |
16886 | * dwarf2out.c (dwarf2out_source_line): Disable discriminators | |
16887 | in strict mode before dwarf4. Re-order tests to early out | |
16888 | before switching sections. | |
16889 | ||
ceaaaeab NF |
16890 | 2011-04-01 Nathan Froyd <froydnj@codesourcery.com> |
16891 | ||
16892 | * config/h8300/constraints.md: New file. | |
16893 | * config/h8300/h8300.md: Include it. Use satisfies_constraint_J, | |
16894 | satisfies_constraint_L, and satisfies_constraint_N for peephole2s. | |
16895 | (*tst_extzv_1_n, *tstsi_variable_bit_qi): Use satisfies_constraint_U. | |
16896 | * config/h8300/predicates.md (bit_operand): Likewise. | |
16897 | (incdec_operand): Use satisfies_constraint_M and | |
16898 | satisfies_constraint_O. Don't use C code block. | |
16899 | * config/h8300/h8300-protos.h (h8300_reg_class_from_letter): Delete. | |
16900 | * config/h8300/h8300.c (h8300_reg_class_from_letter): Delete. | |
16901 | (compute_mov_length): Use satisfies_constraint_G. | |
16902 | (fix_bit_operand): Use satisfies_constraint_U. | |
16903 | * config/h8300/h8300.h (REG_CLASS_FROM_LETTER): Delete. | |
16904 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Delete. | |
16905 | (CONST_OK_FOR_M, CONST_OK_FOR_N, CONST_OK_FOR_O): Delete. | |
16906 | (CONST_OK_FOR_Ppositive, CONST_OK_FOR_Pnegative): Delete. | |
16907 | (CONST_OK_FOR_P, CONSTRAINT_LEN_FOR_P): Delete. | |
16908 | (CONST_OK_FOR_CONSTRAINT_P, CONST_OK_FOR_LETTER_P): Delete. | |
16909 | (CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
16910 | (OK_FOR_Q, OK_FOR_R, OK_FOR_S, OK_FOR_T, OK_FOR_U, OK_FOR_WU): Delete. | |
16911 | (OK_FOR_W, CONSTRAINT_LEN_FOR_W, OK_FOR_Y2, OK_FOR_Y0): Delete. | |
16912 | (OK_FOR_Y, CONSTRAINT_LEN_FOR_Y, OK_FOR_Z): Delete. | |
16913 | (EXTRA_CONSTRAINT_STR, CONSTRAINT_LEN): Delete. | |
16914 | (EXTRA_MEMORY_CONSTRAINT): Delete. | |
16915 | ||
08ae38e0 AP |
16916 | 2011-04-01 Andrew Pinski <pinskia@gmail.com> |
16917 | Michael Meissner <meissner@linux.vnet.ibm.com> | |
16918 | ||
16919 | PR target/48262 | |
16920 | * config/rs6000/vector.md (movmisalign<mode>): Allow for memory | |
16921 | operands, as per the specifications. | |
16922 | ||
16923 | * config/rs6000/altivec.md (vec_extract_evenv4si): Correct modes. | |
16924 | (vec_extract_evenv4sf): Ditto. | |
16925 | (vec_extract_evenv8hi): Ditto. | |
16926 | (vec_extract_evenv16qi): Ditto. | |
16927 | (vec_extract_oddv4si): Ditto. | |
16928 | ||
bdb0b0f6 MW |
16929 | 2011-03-31 Mark Wielaard <mjw@redhat.com> |
16930 | ||
16931 | * dwarf2out.c (dwarf2out_finish): Don't add low_pc and/or | |
16932 | high_pc attribute if the CU has no associated code. Only output | |
16933 | DW_AT_entry_pc for CU if not generating strict dwarf and | |
16934 | dwarf_version < 4. | |
16935 | ||
722279e4 BS |
16936 | 2011-04-01 Bernd Schmidt <bernds@codesourcery.com> |
16937 | ||
16938 | * dwarf2out.h (dwarf2out_frame_debug_init): Declare. | |
16939 | * dwarf2out.c (dwarf2out_frame_debug_init): New function, broken | |
16940 | out of ... | |
16941 | (dwarf2out_frame_debug): ... here. Don't handle a NULL argument. | |
16942 | * final.c (final_start_function): Call the new function rather | |
16943 | than using a NULL argument for dwarf2out_frame_debug. | |
16944 | ||
c5dd277d BS |
16945 | * ifcvt.c (cond_exec_process_insns): Disallow converting a block |
16946 | that contains the prologue. | |
16947 | ||
ec4efea9 BS |
16948 | * haifa-sched.c (queue_insn): New arg REASON. All callers |
16949 | changed. Print it in debugging output. | |
16950 | ||
2a6a0d80 BS |
16951 | * sched-ebb.c (schedule_ebbs): Honor the BB_DISABLE_SCHEDULE flag. |
16952 | ||
86014d07 BS |
16953 | * sched-ebb.c (begin_schedule_ready): Remove second argument. |
16954 | Split most of the code into... | |
16955 | (begin_move_insn): ... here. New function. | |
16956 | (ebb_sched_info): Add a pointer to it. | |
16957 | * haifa-sched.c (scheduled_insns): New static variable. | |
16958 | (sched_extend_ready_list): Allocate it. | |
16959 | (schedule_block): Use it to record the order of scheduled insns. | |
16960 | Perform RTL changes to move insns only after all scheduling | |
16961 | decisions have been made. | |
16962 | * modulo-sched.c (sms_sched_haifa_sched_info): Add NULL entry for the | |
16963 | begin_move_insn field. | |
16964 | * sel-sched-ir.c (sched_sel_haifa_sched_info): Likewise. | |
16965 | * sched-int.h (struct haifa_sched_info): Remove second argument | |
16966 | from begin_schedule_ready hook. Add new member begin_move_insn. | |
16967 | * sched-rgn.c (begin_schedule_ready): Remove second argument. | |
16968 | (rgn_const_sched_info): Add NULL entry for the begin_move_insn field. | |
16969 | ||
9d701248 BS |
16970 | * haifa-sched.c (prune_ready_list): New function, broken out of |
16971 | schedule_block. | |
16972 | (schedule_block): Use it. | |
16973 | ||
1ca1dad5 UW |
16974 | 2011-04-01 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
16975 | ||
16976 | * config/spu/t-spu-elf (dp-bit.c): Use > instead of >>. | |
16977 | ||
49568e45 KT |
16978 | 2011-04-01 Kai Tietz <ktietz@redhat.com> |
16979 | ||
16980 | * config.gcc (*-*-mingw*): Allow as option the | |
16981 | posix threading model. | |
07c0852e | 16982 | * config/i386/mingw32.h (SPEC_PTHREAD1, SPEC_PTHREAD2): |
49568e45 KT |
16983 | New macros defined dependent to TARGET_USE_PTHREAD_BY_DEFAULT |
16984 | definition. | |
16985 | (CPP_SPEC): Add pthread/no-pthread handling. | |
16986 | (LIB_SPEC): Likewise. | |
16987 | * config/i386/mingw-w64.h (CPP_SPEC):Likewise. | |
16988 | (LIB_SPEC): Likewise. | |
16989 | * config/i386/t-cygming (SHLIB_PTHREAD_CFLAG): New | |
16990 | flag to pass -pthread option for shared libgcc build. | |
16991 | (SHLIB_PTHREAD_LDFLAG): New option to pass -lpthread | |
16992 | for shared libgcc build. | |
16993 | * config/i386/t-mingw-pthread: New file. | |
16994 | * config/i386/mingw-pthread.h (TARGET_USE_PTHREAD_BY_DEFAULT): | |
16995 | New define to enable use of library pthread by default. | |
16996 | * config/i386/mingw.opt (pthread): New driver option. | |
16997 | (no-pthread): New driver option. | |
e9c18386 | 16998 | * config/i386/cygming.opt: Make sure trailing empty line is retained. |
49568e45 KT |
16999 | * config/i386/mingw-w64.opt: Likewise. |
17000 | ||
748f7574 | 17001 | 2011-04-01 Gary Funck <gary@intrepid.com> |
636b4106 GF |
17002 | |
17003 | * c-decl.c (grokdeclarator): Fix formatting. | |
17004 | ||
f04713ee RS |
17005 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
17006 | ||
17007 | * expr.c (emit_block_move_via_movmem): Use n_generator_args | |
17008 | instead of n_operands. | |
17009 | (set_storage_via_setmem): Likewise. | |
17010 | * optabs.c (maybe_gen_insn): Likewise. | |
17011 | * config/arm/arm.c (arm_init_neon_builtins): Likewise. | |
17012 | * config/mips/mips.c (mips_expand_builtin_compare_1): Likewise. | |
17013 | (mips_expand_builtin_direct): Likewise. | |
17014 | * config/spu/spu.c (expand_builtin_args): Likewise. | |
17015 | ||
b29387ee RS |
17016 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
17017 | ||
17018 | * recog.h (insn_data_d): Add n_generator_args. | |
17019 | * genoutput.c (data): Likewise. | |
17020 | (output_insn_data): Print it. | |
17021 | (max_opno, num_dups): Delete. | |
17022 | (scan_operands): Just fill in "d->operand[...]". | |
17023 | (gen_insn, gen_peephole, gen_expand, gen_split): Use get_pattern_stats. | |
17024 | ||
e792559a RS |
17025 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
17026 | ||
17027 | * gensupport.h (pattern_stats): New structure. | |
17028 | * gensupport.c (get_pattern_stats_1, get_pattern_stats): New functions. | |
17029 | * genemit.c (max_opno, max_dupno, max_scratch_opno): Delete. | |
17030 | (max_operand_1, max_operand_vec): Delete. | |
17031 | (gen_insn, gen_expand, gen_split): Use get_pattern_stats. | |
17032 | ||
e8110d6f NF |
17033 | 2011-03-31 Nathan Froyd <froydnj@codesourcery.com> |
17034 | ||
17035 | * emit-rtl.c (emit_pattern_after_setloc): New function. | |
17036 | (emit_insn_after_setloc, emit_jump_insn_after_setloc): Call it. | |
17037 | (emit_call_insn_after_setloc, emit_debug_insn_after_setloc): Likewise. | |
17038 | (emit_pattern_after): New function. | |
17039 | (emit_insn_after, emit_jump_insn_after): Call it. | |
17040 | (emit_call_insn_after, emit_debug_insn_after): Likewise. | |
17041 | (emit_pattern_before_setloc): New function. | |
17042 | (emit_insn_before_setloc, emit_jump_insn_before_setloc): Call it. | |
17043 | (emit_call_insn_before_setloc, emit_debug_insn_before_setloc): | |
17044 | Likewise. | |
17045 | (emit_pattern_before): New function. | |
17046 | (emit_insn_before, emit_jump_insn_before): Call it. | |
17047 | (emit_call_insn_before, emit_debug_insn_before): Likewise. | |
17048 | ||
576f85f1 RH |
17049 | 2011-03-31 Richard Henderson <rth@redhat.com> |
17050 | ||
17051 | * dwarf2out.c (dw_separate_line_info_ref): Remove. | |
17052 | (dw_separate_line_info_entry): Remove. | |
17053 | (enum dw_line_info_opcode): New. | |
17054 | (dw_line_info_entry): Use it. | |
17055 | (dw_line_info_table, dw_line_info_table_p): New. | |
17056 | (DWARF_LINE_OPCODE_BASE): Include dwarf3 opcodes. | |
17057 | (line_info_table, line_info_label_num): Remove. | |
17058 | (line_info_table_in_use): Remove. | |
17059 | (separate_line_info_table): Remove. | |
17060 | (separate_line_info_table_allocated): Remove. | |
17061 | (separate_line_info_table_in_use): Remove. | |
17062 | (LINE_INFO_TABLE_INCREMENT): Remove. | |
17063 | (line_info_label_num): New. | |
17064 | (cur_line_info_table): New. | |
17065 | (text_section_line_info, cold_text_section_line_info): New. | |
17066 | (separate_line_info): New. | |
17067 | (SEPARATE_LINE_CODE_LABEL): Remove. | |
17068 | (print_dwarf_line_table): Remove. | |
17069 | (debug_dwarf): Don't dump it. | |
17070 | (output_one_line_info_table): New. | |
17071 | (output_line_info): Use it. | |
17072 | (new_line_info_table): New. | |
17073 | (set_cur_line_info_table): New. | |
17074 | (dwarf2out_switch_text_section): Use it. | |
17075 | (dwarf2out_begin_function): Likewise. | |
17076 | (push_dw_line_info_entry): New. | |
17077 | (dwarf2out_source_line): Rewrite for new line info tables. | |
17078 | (dwarf2out_init): Remove dead initailizations. | |
17079 | ||
300d83d9 JM |
17080 | 2011-03-31 Joseph Myers <joseph@codesourcery.com> |
17081 | ||
17082 | * opts.h (cl_option): Add comments to fields. Add bit-fields for | |
17083 | various flags. | |
17084 | (CL_SEPARATE_NARGS_SHIFT, CL_SEPARATE_NARGS_MASK, | |
17085 | CL_SEPARATE_ALIAS, CL_NO_DRIVER_ARG, CL_REJECT_DRIVER, CL_SAVE, | |
17086 | CL_DISABLED, CL_REPOR, CL_REJECT_NEGATIVE, CL_MISSING_OK, | |
17087 | CL_UINTEGER, CL_NEGATIVE_ALIAS): Remove. | |
17088 | (CL_JOINED, CL_SEPARATE, CL_UNDOCUMENTED): Update bit positions. | |
17089 | * opt-functions.awk (flag_init, switch_bit_fields): New. | |
17090 | (switch_flags): Don't handle flags moved to bit-fields. Don't | |
17091 | generate CL_MISSING_OK or CL_SAVE. | |
17092 | * optc-gen.awk: Update to generate bit-field output as well as | |
17093 | flags field. | |
17094 | * gcc.c (driver_wrong_lang_callback): Use cl_reject_driver | |
17095 | bit-field instead of CL_REJECT_DRIVER flag. | |
17096 | * opts-common.c (generate_canonical_option, | |
17097 | decode_cmdline_option): Use bit-fields instead of CL_* flags. | |
17098 | * opts.c (maybe_default_option): Use cl_reject_negative bit-field | |
17099 | instead of CL_REJECT_NEGATIVE flag. | |
17100 | * toplev.c (print_switch_values): Use cl_report bit-field instead | |
17101 | of CL_REPORT flag. | |
17102 | ||
d4d73ce2 EB |
17103 | 2011-03-31 Eric Botcazou <ebotcazou@adacore.com> |
17104 | ||
17105 | * tree-ssa-pre.c (create_component_ref_by_pieces_1) <ARRAY_REF>: Drop | |
17106 | a zero minimum index only if it is redundant. | |
17107 | ||
b8faca75 VM |
17108 | 2011-03-31 Vladimir Makarov <vmakarov@redhat.com> |
17109 | ||
17110 | PR rtl-optimization/48381 | |
17111 | * ira-color.c (assign_hard_reg): Use hard reg set intersection | |
17112 | instead of ira_class_hard_reg_index for calculating conflicting | |
17113 | hard registers. | |
17114 | ||
7d11cebe SB |
17115 | 2011-03-31 Steven Bosscher <steven@gcc.gnu.org> |
17116 | ||
17117 | * cprop.c: Clean up hash table building. | |
17118 | (reg_avail_info): Remove. | |
17119 | (oprs_available_p): Remove. | |
17120 | (record_last_reg_set_info): Remove. | |
17121 | (record_last_set_info): Remove. | |
17122 | (reg_available_p): New function. | |
17123 | (gcse_constant_p): Do not treat unfolded conditions as constants. | |
17124 | (make_set_regs_unavailable): New function. | |
17125 | (hash_scan_set): Simplify with new reg_available_p. | |
17126 | (compute_hash_table_work): Traverse insns stream only once. | |
17127 | Do not compute reg_avail_info. Traverse insns in reverse order. | |
17128 | Record implicit sets after recording explicit sets from the block. | |
17129 | ||
98faf84f MM |
17130 | 2011-03-31 Michael Matz <matz@suse.de> |
17131 | ||
e9c18386 | 17132 | * builtins.c (build_va_arg_indirect_ref): Use build_simple_mem_ref_loc. |
98faf84f | 17133 | |
f52d97da AS |
17134 | 2011-03-31 Anatoly Sokolov <aesok@post.ru> |
17135 | ||
17136 | * config/h8300/h8300.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove macro. | |
17137 | * config/h8300/h8300-protos.h (h8300_get_index): Remove. | |
17138 | * config/h8300/h8300.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
17139 | (h8300_mode_dependent_address_p): New function. | |
17140 | (h8300_get_index): Make static. | |
17141 | ||
e16b6fd0 JL |
17142 | 2011-03-31 Jeff Law <law@redhat.com> |
17143 | ||
10c51983 JL |
17144 | * reload1.c (elimination_effects): Fix typo in recent change. |
17145 | ||
e9c18386 | 17146 | * tree-ssa-forwprop.c (forward_propagate_into_cond): Avoid |
e16b6fd0 JL |
17147 | typo potentially leading to null pointer dereference. |
17148 | ||
17149 | * caller-save.c (new_saved_hard_reg): Eliminate return value. | |
17150 | (setup_save_areas): Corresponding changes to avoid useless | |
17151 | assignments. | |
17152 | ||
17153 | * jump.c (reversed_comparison_code_parts): Avoid successive return | |
17154 | statements when REVERSE_CONDITION is defined. | |
17155 | ||
17156 | * expr.c (expand_assignment): Avoid useless assignments. | |
17157 | (expand_expr_real_1): Likewise. | |
17158 | (expand_expr_real_2): Avoid useless statements. | |
17159 | ||
17160 | * tree-ssa-phiopt.c (minmax_replacement): Avoid useless statement. | |
17161 | ||
17162 | * cfgexpand.c (expand_gimple_basic_block): Avoid useless assignment. | |
17163 | ||
17164 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Avoid useless | |
17165 | statements. | |
17166 | ||
17167 | * stmt.c (expand_expr_stmt): Avoid useless assignment. | |
17168 | ||
eb1eb914 JM |
17169 | 2011-03-31 Joseph Myers <joseph@codesourcery.com> |
17170 | ||
17171 | PR target/47109 | |
17172 | * doc/tm.texi.in (TARGET_VERSION): Remove. | |
17173 | * doc/tm.texi: Regenerate. | |
17174 | * system.h (TARGET_VERSION, MACHINE_TYPE): Poison. | |
17175 | * collect2.c (main): Don't use TARGET_VERSION. | |
17176 | * mips-tdump.c (main): Don't use TARGET_VERSION. | |
17177 | * mips-tfile.c (main): Don't use TARGET_VERSION. | |
e9c18386 | 17178 | * config.gcc (powerpc-wrs-vxworksae): Don't use rs6000/vxworksae.h. |
eb1eb914 JM |
17179 | * config/rs6000/vxworksae.h: Remove. |
17180 | * config/alpha/alpha.h (TARGET_VERSION): Remove. | |
17181 | * config/alpha/freebsd.h (TARGET_VERSION): Remove. | |
17182 | * config/alpha/linux-elf.h (TARGET_VERSION): Remove. | |
17183 | * config/alpha/netbsd.h (TARGET_VERSION): Remove. | |
17184 | * config/alpha/vms.h (TARGET_NAME, TARGET_VERSION): Remove. | |
17185 | * config/arm/arm.h (TARGET_VERSION): Remove. | |
17186 | * config/arm/coff.h (TARGET_VERSION): Remove. | |
17187 | * config/arm/ecos-elf.h (TARGET_VERSION): Remove. | |
17188 | * config/arm/elf.h (TARGET_VERSION): Remove. | |
17189 | * config/arm/freebsd.h (TARGET_VERSION): Remove. | |
17190 | * config/arm/linux-elf.h (TARGET_VERSION): Remove. | |
17191 | * config/arm/netbsd-elf.h (TARGET_VERSION): Remove. | |
17192 | * config/arm/pe.h (TARGET_VERSION): Remove. | |
17193 | * config/arm/rtems-elf.h (TARGET_VERSION): Remove. | |
17194 | * config/arm/semi.h (TARGET_VERSION): Remove. | |
17195 | * config/arm/uclinux-elf.h (TARGET_VERSION): Remove. | |
17196 | * config/arm/unknown-elf.h (TARGET_VERSION): Remove. | |
17197 | * config/arm/vxworks.h (TARGET_VERSION): Remove. | |
17198 | * config/avr/avr.h (TARGET_VERSION): Remove. | |
17199 | * config/bfin/bfin.h (TARGET_VERSION): Remove. | |
17200 | * config/fr30/fr30.h (TARGET_VERSION): Remove. | |
17201 | * config/frv/frv.h (TARGET_VERSION): Remove. | |
17202 | * config/h8300/h8300.h (TARGET_VERSION): Remove. | |
17203 | * config/i386/cygwin.h (TARGET_VERSION): Remove. | |
17204 | * config/i386/darwin.h (TARGET_VERSION): Remove. | |
17205 | * config/i386/darwin64.h (TARGET_VERSION): Remove. | |
17206 | * config/i386/djgpp.h (TARGET_VERSION): Remove. | |
17207 | * config/i386/freebsd.h (TARGET_VERSION): Remove. | |
17208 | * config/i386/freebsd64.h (TARGET_VERSION): Remove. | |
17209 | * config/i386/gnu.h (TARGET_VERSION): Remove. | |
17210 | * config/i386/i386-interix.h (TARGET_VERSION): Remove. | |
17211 | * config/i386/i386elf.h (TARGET_VERSION): Remove. | |
17212 | * config/i386/linux.h (TARGET_VERSION): Remove. | |
17213 | * config/i386/linux64.h (TARGET_VERSION): Remove. | |
17214 | * config/i386/lynx.h (TARGET_VERSION): Remove. | |
17215 | * config/i386/mingw32.h (TARGET_VERSION): Remove. | |
17216 | * config/i386/netbsd-elf.h (TARGET_VERSION): Remove. | |
17217 | * config/i386/netbsd64.h (TARGET_VERSION): Remove. | |
17218 | * config/i386/netware.h (TARGET_VERSION): Remove. | |
17219 | * config/i386/nto.h (TARGET_VERSION): Remove. | |
17220 | * config/i386/openbsd.h (TARGET_VERSION): Remove. | |
17221 | * config/i386/vxworks.h (TARGET_VERSION): Remove. | |
17222 | * config/ia64/elf.h (TARGET_VERSION): Remove. | |
17223 | * config/ia64/freebsd.h (TARGET_VERSION): Remove. | |
17224 | * config/ia64/hpux.h (TARGET_VERSION): Remove. | |
17225 | * config/ia64/linux.h (TARGET_VERSION): Remove. | |
17226 | * config/ia64/vms.h (TARGET_NAME, TARGET_VERSION): Remove. | |
17227 | * config/iq2000/iq2000.h (IQ2000_VERSION, MACHINE_TYPE, | |
17228 | TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove. | |
17229 | * config/lm32/lm32.h (TARGET_VERSION): Remove. | |
17230 | * config/lm32/uclinux-elf.h (TARGET_VERSION): Remove. | |
17231 | * config/m32c/m32c.h (TARGET_VERSION): Remove. | |
17232 | * config/m32r/linux.h (LINUX_DEFAULT_ELF, TARGET_VERSION): Remove. | |
17233 | * config/m32r/m32r.h (TARGET_VERSION): Remove. | |
17234 | * config/m68k/linux.h (TARGET_VERSION): Remove. | |
17235 | * config/m68k/m68k.h (TARGET_VERSION): Remove. | |
17236 | * config/m68k/netbsd-elf.h (TARGET_VERSION): Remove. | |
17237 | * config/m68k/uclinux.h (TARGET_VERSION): Remove. | |
17238 | * config/mcore/mcore-elf.h (TARGET_VERSION): Remove. | |
17239 | * config/mep/mep.h (TARGET_VERSION): Remove. | |
17240 | * config/microblaze/microblaze.h (MICROBLAZE_VERSION, | |
17241 | MACHINE_TYPE, TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove. | |
17242 | * config/mips/iris6.h (MACHINE_TYPE): Remove. | |
17243 | * config/mips/linux.h (TARGET_VERSION): Remove. | |
17244 | * config/mips/netbsd.h (MACHINE_TYPE): Remove. | |
17245 | * config/mips/vxworks.h (TARGET_VERSION): Remove. | |
17246 | * config/mmix/mmix.h (TARGET_VERSION): Remove. | |
17247 | * config/mn10300/linux.h (TARGET_VERSION): Remove. | |
17248 | * config/mn10300/mn10300.h (TARGET_VERSION): Remove. | |
17249 | * config/pa/pa.h (TARGET_VERSION): Remove. | |
17250 | * config/pdp11/pdp11.h (TARGET_VERSION): Remove. | |
17251 | * config/picochip/picochip.h (TARGET_VERSION): Remove. | |
17252 | * config/rs6000/aix.h (TARGET_VERSION): Remove. | |
17253 | * config/rs6000/darwin.h (TARGET_VERSION): Remove. | |
17254 | * config/rs6000/darwin64.h (TARGET_VERSION): Remove. | |
17255 | * config/rs6000/eabi.h (TARGET_VERSION): Remove. | |
17256 | * config/rs6000/eabialtivec.h (TARGET_VERSION): Remove. | |
17257 | * config/rs6000/eabisim.h (TARGET_VERSION): Remove. | |
17258 | * config/rs6000/eabispe.h (TARGET_VERSION): Remove. | |
17259 | * config/rs6000/freebsd.h (TARGET_VERSION): Remove. | |
17260 | * config/rs6000/linux.h (TARGET_VERSION): Remove. | |
17261 | * config/rs6000/linux64.h (TARGET_VERSION): Remove. | |
17262 | * config/rs6000/linuxaltivec.h (TARGET_VERSION): Remove. | |
17263 | * config/rs6000/linuxspe.h (TARGET_VERSION): Remove. | |
17264 | * config/rs6000/lynx.h (TARGET_VERSION): Remove. | |
17265 | * config/rs6000/netbsd.h (TARGET_VERSION): Remove. | |
17266 | * config/rs6000/sysv4.h (TARGET_VERSION): Remove. | |
17267 | * config/rs6000/vxworks.h (TARGET_VERSION): Remove. | |
17268 | * config/s390/linux.h (TARGET_VERSION): Remove. | |
17269 | * config/s390/s390.h (TARGET_VERSION): Remove. | |
17270 | * config/s390/tpf.h (TARGET_VERSION): Remove. | |
17271 | * config/score/score.h (TARGET_VERSION): Remove. | |
17272 | * config/sh/linux.h (TARGET_VERSION): Remove. | |
17273 | * config/sh/netbsd-elf.h (TARGET_VERSION_ENDIAN, | |
17274 | TARGET_VERSION_CPU, TARGET_VERSION): Remove. | |
17275 | * config/sh/sh.h (TARGET_VERSION): Remove. | |
17276 | * config/sh/sh64.h (TARGET_VERSION): Remove. | |
17277 | * config/sh/superh.h (TARGET_VERSION): Remove. | |
17278 | * config/sh/vxworks.h (TARGET_VERSION): Remove. | |
17279 | * config/sparc/freebsd.h (TARGET_VERSION): Remove. | |
17280 | * config/sparc/linux.h (TARGET_VERSION): Remove. | |
17281 | * config/sparc/linux64.h (TARGET_VERSION): Remove. | |
17282 | * config/sparc/netbsd-elf.h (TARGET_VERSION, TARGET_NAME64, | |
17283 | TARGET_NAME32, TARGET_NAME): Remove. | |
17284 | * config/sparc/openbsd64.h (TARGET_VERSION): Remove. | |
17285 | * config/sparc/sp-elf.h (TARGET_VERSION): Remove. | |
17286 | * config/sparc/sp64-elf.h (TARGET_VERSION): Remove. | |
17287 | * config/sparc/sysv4.h (TARGET_VERSION): Remove. | |
17288 | * config/sparc/vxworks.h (TARGET_VERSION): Remove. | |
17289 | * config/spu/spu.h (TARGET_VERSION): Remove. | |
17290 | * config/stormy16/stormy16.h (TARGET_VERSION): Remove. | |
17291 | * config/v850/v850.h (TARGET_VERSION): Remove. | |
17292 | * config/vax/linux.h (TARGET_VERSION): Remove. | |
17293 | * config/vax/vax.h (TARGET_NAME, TARGET_VERSION): Remove. | |
17294 | * config/xtensa/elf.h (TARGET_VERSION): Remove. | |
17295 | * config/xtensa/linux.h (TARGET_VERSION): Remove. | |
17296 | ||
ace31bca EB |
17297 | 2011-03-31 Eric Botcazou <ebotcazou@adacore.com> |
17298 | ||
17299 | PR target/48142 | |
17300 | * config/i386/i386.c (ix86_adjust_stack_and_probe): Differentiate | |
17301 | frame-related from frame-unrelated adjustments to the stack pointer. | |
17302 | ||
76f9db36 JJ |
17303 | 2011-03-31 Jakub Jelinek <jakub@redhat.com> |
17304 | ||
17305 | * common.opt (fdebug-types-section): Move earlier. | |
17306 | * doc/invoke.texi: Fix up -fno-debug-types-section documentation. | |
17307 | ||
b7826465 AT |
17308 | 2011-03-31 Andreas Tobler <andreast@fgznet.ch> |
17309 | ||
17310 | * config/rs6000/rs6000.c (rs6000_handle_option): Remove unused isel | |
17311 | var. | |
17312 | ||
1290e54c NF |
17313 | 2011-03-30 Nathan Froyd <froydnj@codesourcery.com> |
17314 | ||
17315 | * tree.h (CASE_CHAIN): Define. | |
17316 | * tree-cfg.c (edge_to_cases_cleanup, get_cases_for_edge): Use it. | |
17317 | (gimple_redirect_edge_and_branch): Likewise. | |
17318 | ||
bddc98e1 VM |
17319 | 2011-03-30 Vladimir Makarov <vmakarov@redhat.com> |
17320 | ||
17321 | PR middle-end/48367 | |
17322 | * ira-costs.c (find_costs_and_classes): Fix a typo in i_mem_cost | |
17323 | calculation. | |
17324 | ||
c865e437 JL |
17325 | 2011-03-30 Jeff Law <law@redhat.com> |
17326 | ||
b3750213 | 17327 | * PR bootstrap/48371 |
c865e437 JL |
17328 | * reload1.c (reload): Fix botch in last change. |
17329 | ||
17330 | * reload.h (struct reload): Fix typo introduced in last change. | |
17331 | ||
2cdf9574 JM |
17332 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
17333 | ||
17334 | * config/arm/arm.opt (mhard-float, msoft-float): Mark | |
17335 | Undocumented. Remove help text. | |
17336 | * doc/invoke.texi (ARM Options): Don't document -msoft-float and | |
17337 | -mhard-float. | |
17338 | ||
666a21a2 JM |
17339 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
17340 | ||
17341 | * doc/options.texi (NegativeAlias): Document. | |
17342 | (Alias): Mention NegativeAlias. | |
17343 | * opt-functions.awk: Handle NegativeAlias. | |
e9c18386 | 17344 | * optc-gen.awk: Disallow NegativeAlias with multiple Alias arguments. |
666a21a2 JM |
17345 | * opts-common.c (decode_cmdline_option): Handle CL_NEGATIVE_ALIAS. |
17346 | * opts.h (CL_NEGATIVE_ALIAS): Define. | |
17347 | * config/rs6000/rs6000.c (rs6000_parse_yes_no_option): Remove. | |
17348 | (rs6000_handle_option): Don't handle OPT_mvrsave_, OPT_misel_ and | |
17349 | OPT_mspe_. | |
17350 | * config/rs6000/rs6000.opt (mvrsave=, misel=, mspe=): Replace with | |
17351 | Alias entries. | |
17352 | * config/rs6000/t-spe (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use | |
17353 | mno-spe and mno-isel instead of mspe=no and -misel=no. | |
17354 | ||
0fa4e351 MW |
17355 | 2011-03-29 Mark Wielaard <mjw@redhat.com> |
17356 | ||
17357 | * common.opt (fdebug-types-section): New flag. | |
17358 | * doc/invoke.texi: Document new -fno-debug-types-section flag. | |
17359 | * dwarf2out.c (use_debug_types): New define. | |
17360 | (struct die_struct): Mark die_id with GTY desc use_debug_types. | |
17361 | (print_die): Guard output of type unit signatures using | |
17362 | use_debug_types. | |
17363 | (build_abbrev_table): Replace assert of dwarf_version >= 4 | |
17364 | with assert on use_debug_types. | |
17365 | (size_of_die): Likewise. | |
17366 | (unmark_dies): Likewise. | |
17367 | (value_format): Decide AT_ref_external form on use_debug_types. | |
17368 | (output_die): Replace dwarf_version version check guard with | |
17369 | use_debug_types where appropriate. | |
17370 | (modified_type_die): Likewise. | |
17371 | (gen_reference_type_die): Likewise. | |
17372 | (dwarf2out_start_source_file): Likewise. | |
17373 | (dwarf2out_end_source_file): Likewise. | |
17374 | (prune_unused_types_walk_attribs): Likewise. | |
17375 | (dwarf2out_finish): Likewise. | |
17376 | ||
4648deb4 VM |
17377 | 2011-03-30 Vladimir Makarov <vmakarov@redhat.com> |
17378 | ||
17379 | * ira-color.c (ira_assign_hard_reg): Use only one variable 'mode'. | |
17380 | ||
4f431835 RS |
17381 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
17382 | ||
17383 | PR rtl-optimization/48332 | |
17384 | * optabs.c (expand_binop_directly): Set xmodeN to the target-mandated | |
17385 | mode of input operand N and modeN to its actual mode. | |
17386 | ||
f2034d06 JL |
17387 | 2011-03-30 Jeff Law <law@redhat.com> |
17388 | ||
17389 | * reload.h (reg_equiv_constant): Move into new structure reg_equivs, | |
17390 | define accessor macro. | |
17391 | (reg_equiv_invariant, reg_equiv_memory_loc): Likewise. | |
17392 | (reg_equiv_address, reg_equiv_mem, reg_equiv_alt_mem_list): Likewise. | |
17393 | (reg_equiv_init): Likewise. | |
17394 | (reg_equivs_size): New variable. | |
17395 | (reg_equiv_init_size): Remove. | |
17396 | (allocate_initial_values): Move prototype to here from.... | |
17397 | * integrate.h (allocate_initial_values): Remove prototype. | |
17398 | * integrate.c: Include reload.h. | |
17399 | (allocate_initial_values): Corresponding changes. | |
17400 | * ira.c (find_reg_equiv_invariant_cost): Corresponding changes. | |
17401 | (fix_reg_equiv_init, no_equiv): Corresponding changes. | |
17402 | (update_equiv_regs): Corresponding changes. | |
17403 | (ira): Corresponding changes. | |
17404 | * reload.c (push_reg_equiv_alt_mem): Corresponding changes. | |
17405 | (push_secondary_reload): Corresponding changes. | |
17406 | (push_reload, find_reloads, find_reloads_toplev): Corresponding changes. | |
17407 | (make_memloc, find_reloads_address): Corresponding changes. | |
17408 | (subst_reg_equivs, subst_indexed_address): Corresponding changes. | |
17409 | (find_reloads_address_1): Corresponding changes. | |
17410 | (find_reloads_subreg_address, subst_reloads): Corresponding changes. | |
17411 | (refers_to_regno_for_reload_p): Corresponding changes. | |
17412 | (reg_overlap_mentioned_for_reload_p): Corresponding changes. | |
17413 | (refers_to_mem_for_reload_p, find_equiv_reg): Corresponding changes. | |
17414 | * reload1.c: Include ggc.h. | |
17415 | (grow_reg_equivs): New function. | |
17416 | (replace_pseudos_in, reload): Corresponding changes. | |
17417 | (calculate_needs_all_insns, alter_regs): Corresponding changes. | |
17418 | (eliminate_regs_1, elimination_effects): Corresponding changes. | |
17419 | (emit_input_reload_insns, emit_output_reload_insns): Likewise. | |
17420 | (delete_output_reload): Likewise. | |
17421 | * caller-save.c (mark_referenced_regs): Corresponding changes. | |
17422 | * alpha/alpha.c (resolve_reload_operand): Corresponding changes. | |
17423 | * frv/predicates.md (frv_load_operand): Corresponding changes. | |
17424 | * microblaze/microblaze.c (double_memory_operand): Corresponding | |
17425 | changes. | |
17426 | * avr/avr.h (LEGITIMIZE_RELOAD_ADDRESS): Corresponding changes. | |
17427 | * xtensa/xtensa.c (fixup_subreg_mem): Corresponding changes. | |
e9c18386 | 17428 | * mn10300/mn10300.c (mn10300_secondary_reload): Corresponding changes. |
f2034d06 JL |
17429 | * m68k/m68k.c (emit_move_sequence): Corresponding changes. |
17430 | * arm/arm.c (arm_reload_in_hi, arm_reload_out_hi): Corresponding | |
17431 | changes. | |
17432 | * pa/pa.c (emit_move_sequence): Corresponding changes. | |
17433 | * vax/vax.c (nonindexed_address_p): Corresponding changes. | |
17434 | ||
159b81b0 RS |
17435 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
17436 | ||
17437 | PR target/47551 | |
17438 | * config/arm/arm.c (coproc_secondary_reload_class): Handle | |
17439 | structure modes. Don't check neon_vector_mem_operand for | |
17440 | vector or structure modes. | |
17441 | ||
a6217191 RS |
17442 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
17443 | Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> | |
17444 | ||
17445 | PR target/43590 | |
17446 | * config/arm/neon.md (neon_vld3qa<mode>, neon_vld4qa<mode>): Remove | |
17447 | operand 1 and reshuffle the operands to match. | |
17448 | (neon_vld3<mode>, neon_vld4<mode>): Update accordingly. | |
17449 | ||
bd837408 CS |
17450 | 2011-03-30 Christian Schüler <cschueler@gmx.de> |
17451 | ||
6955d771 | 17452 | PR driver/48208 |
bd837408 | 17453 | * config/c.opt (F): Added 'Driver' to -F option. |
e9c18386 | 17454 | |
6955d771 | 17455 | PR driver/48260 |
bd837408 CS |
17456 | * config/darwin-driver.c (darwin_driver_init): Add '-arch' to |
17457 | handler function. | |
17458 | * config/darwin.opt: Added '-arch' option. | |
17459 | ||
e9c0470a NC |
17460 | 2011-03-30 Nick Clifton <nickc@redhat.com> |
17461 | ||
17462 | * config/rx/rx.md: Add peepholes and patterns to combine | |
17463 | extending loads and simple arithmetic instructions. | |
17464 | * config/rx/rx.h (ADJUST_INSN_LENGTH): Define. | |
e9c18386 UB |
17465 | * config/rx/rx-protos.h (rx_adjust_insn_length): Prototype. |
17466 | * config/rx/rx.c (rx_is_legitimate_address): Allow QI and HI | |
e9c0470a | 17467 | modes to use pre-decrement and post-increment addressing. |
e9c18386 | 17468 | (rx_is_restricted_memory_address): Add range checking of REG+INT |
e9c0470a | 17469 | addresses. |
e9c18386 UB |
17470 | (rx_print_operand): Add support for %Q. Fix handling of %Q. |
17471 | (rx_memory_move_cost): Adjust cost of stores. | |
17472 | (rx_adjust_insn_length): New function. | |
e9c0470a | 17473 | |
8a87e7ab JJ |
17474 | 2011-03-30 Jakub Jelinek <jakub@redhat.com> |
17475 | ||
17476 | PR c/48305 | |
17477 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure | |
17478 | arg10/arg11 in (X ^ Y) == (Z ^ W) are always fold converted to | |
17479 | matching arg00/arg01 types. | |
17480 | ||
12486e03 EB |
17481 | 2011-03-30 Eric Botcazou <ebotcazou@adacore.com> |
17482 | ||
17483 | * cfglayout.c (insn_locators_alloc): Initialize curr_location and | |
17484 | last_location to UNKNOWN_LOCATION. | |
17485 | ||
0b99eef6 L |
17486 | 2011-03-30 H.J. Lu <hongjiu.lu@intel.com> |
17487 | ||
17488 | PR target/48349 | |
17489 | * config/i386/i386.h (REG_CLASS_CONTENTS): Fix a typo in | |
17490 | FLOAT_SSE_REGS. | |
17491 | ||
023592aa JM |
17492 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
17493 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
17494 | ||
17495 | PR bootstrap/48337 | |
17496 | * config/sparc/sparc.opt (sparc_cpu_and_features): Add | |
17497 | Init(PROCESSOR_V7). | |
17498 | (sparc_cpu): Likewise. | |
17499 | * config/sparc/sparc.c (sparc_option_override): Replace 0 by | |
17500 | PROCESSOR_V7. | |
17501 | ||
ad3b266b VM |
17502 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
17503 | ||
17504 | PR target/48336 | |
17505 | PR middle-end/48342 | |
17506 | PR rtl-optimization/48345 | |
17507 | * ira-color.c (setup_conflict_profitable_regs): Exclude prohibited | |
17508 | hard regs for given mode from profitable regs when doing secondary | |
17509 | allocation. | |
17510 | ||
633c9126 JL |
17511 | 2011-03-29 Jeff Law <law@redhat.com> |
17512 | ||
17513 | PR bootstrap/48327 | |
17514 | * tree-ssa-threadupdate.c (struct redirection_data): Remove | |
17515 | do_not_duplicate field. | |
17516 | (lookup_redirection_data): Corresponding changes. | |
17517 | (create_duplicates): Always create a template block. | |
17518 | (redirect_edges): Remove code which reused the original block | |
17519 | when it was going to become unreachable code. | |
17520 | (thread_block): Don't set do_not_duplicate field. | |
17521 | ||
eb50f63a JM |
17522 | 2011-03-29 Joseph Myers <joseph@codesourcery.com> |
17523 | ||
17524 | * lto-opts.c (register_user_option_p, lto_register_user_option): | |
17525 | Make type argument unsigned. | |
17526 | * lto-streamer.h (lto_register_user_option): Make type argument | |
17527 | unsigned. | |
17528 | * opth-gen.awk: Make CL_* macros unsigned. | |
17529 | * opts-common.c (find_opt): Make lang_mask argument unsigned. | |
17530 | * opts.h (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_DRIVER, | |
17531 | CL_TARGET, CL_COMMON, CL_SEPARATE_NARGS_MASK, CL_SEPARATE_ALIAS, | |
17532 | CL_NO_DRIVER_ARG, CL_REJECT_DRIVER, CL_SAVE, CL_DISABLED, | |
17533 | CL_REPORT, CL_JOINED, CL_SEPARATE, CL_REJECT_NEGATIVE, | |
17534 | CL_MISSING_OK, CL_UINTEGER, CL_UNDOCUMENTED): Make unsigned. | |
17535 | (find_opt): Make lang_mask argument unsigned. | |
17536 | ||
76763a6d VM |
17537 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
17538 | ||
17539 | PR rtl-optimization/48331 | |
17540 | PR rtl-optimization/48334 | |
17541 | * ira-color.c (color_allocnos): Call setup_profitable_hard_regs | |
17542 | for any used algorithm. | |
17543 | ||
5c82436e VM |
17544 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
17545 | ||
17546 | * ira-conflicts.c (build_object_conflicts): Add unused attribute | |
17547 | to parent_max. | |
17548 | ||
7a81008b UB |
17549 | 2011-03-29 Uros Bizjak <ubizjak@gmail.com> |
17550 | ||
17551 | * config/alpha/alpha.c (alpha_sr_alias_set): Don't define. | |
17552 | (alpha_option_override): Don't set alpha_sr_alias_set. | |
17553 | (emit_frame_store_1): Use gen_frame_mem rather than calling | |
17554 | set_mem_alias_set. | |
17555 | (alpha_expand_epilogue): Ditto. | |
17556 | ||
86c8d1f6 IR |
17557 | 2011-03-29 Ira Rosen <ira.rosen@linaro.org> |
17558 | ||
17559 | PR tree-optimization/48290 | |
17560 | * tree-vect-loop.c (vect_analyze_loop_operations): In outer loop | |
17561 | vectorization, check that relevant phis in the basic block after | |
17562 | the inner loop are really inner loop's exit phis. | |
17563 | ||
0d12220f RS |
17564 | 2011-03-29 Richard Sandiford <richard.sandiford@linaro.org> |
17565 | ||
e8cf17e7 | 17566 | PR debug/48190 |
0d12220f RS |
17567 | * dwarf2out.c (dw_loc_list_node): Add resolved_addr and replaced. |
17568 | (cached_dw_loc_list_def): New structure. | |
17569 | (cached_dw_loc_list): New typedef. | |
17570 | (cached_dw_loc_list_table): New variable. | |
17571 | (cached_dw_loc_list_table_hash): New function. | |
17572 | (cached_dw_loc_list_table_eq): Likewise. | |
17573 | (add_location_or_const_value_attribute): Take a bool cache_p. | |
17574 | Cache the list when the parameter is true. | |
17575 | (gen_formal_parameter_die): Update caller. | |
17576 | (gen_variable_die): Likewise. | |
17577 | (dwarf2out_finish): Likewise. | |
17578 | (dwarf2out_abstract_function): Nullify cached_dw_loc_list_table | |
17579 | while generating debug info for the decl. | |
17580 | (dwarf2out_function_decl): Clear cached_dw_loc_list_table. | |
17581 | (dwarf2out_init): Initialize cached_dw_loc_list_table. | |
17582 | (resolve_addr): Cache the result of resolving a chain of | |
17583 | location lists. | |
17584 | ||
1756cb66 VM |
17585 | 2011-03-28 Vladimir Makarov <vmakarov@redhat.com> |
17586 | ||
17587 | * ira-color.c (update_left_conflict_sizes_p): Don't assume that | |
17588 | conflict object hard regset nodes have intersecting hard reg sets. | |
7a81008b | 17589 | |
1756cb66 VM |
17590 | * regmove.c (regmove_optimize): Move ira_set_pseudo_classes call |
17591 | after regstat_init_n_sets_and_refs. | |
17592 | ||
17593 | * ira.c: Add more comments at the top. | |
17594 | (setup_stack_reg_pressure_class, setup_pressure_classes): | |
17595 | Add comments how we compute the register pressure classes. | |
17596 | (setup_allocno_and_important_classes): Add more comments. | |
17597 | (setup_class_translate_array, reorder_important_classes) | |
17598 | (setup_reg_class_relations): Add comments. | |
17599 | ||
17600 | * ira-emit.c: Add 2011 to the Copyright line. Add comments at the | |
17601 | start of the file. | |
17602 | ||
17603 | * ira-color.c: Add 2011 to the Copyright line. | |
17604 | (assign_hard_reg): Add more comments. | |
17605 | (improve_allocation): Ditto. | |
17606 | ||
17607 | * ira-costs.c: Add 2011 to the Copyright line. | |
17608 | (setup_cost_classes, setup_regno_cost_classes_by_aclass): Add more | |
17609 | comments. | |
17610 | (setup_regno_cost_classes_by_mode): Ditto. | |
17611 | ||
17612 | Initial patches from ira-improv branch: | |
17613 | ||
17614 | 2010-08-13 Vladimir Makarov <vmakarov@redhat.com> | |
17615 | ||
f60c2554 | 17616 | * ira-build.c (ira_create_object): Remove initialization of |
1756cb66 VM |
17617 | OBJECT_PROFITABLE_HARD_REGS. Initialize OBJECT_ADD_DATA. |
17618 | (ira_create_allocno): Remove initialization of | |
17619 | ALLOCNO_MEM_OPTIMIZED_DEST, ALLOCNO_MEM_OPTIMIZED_DEST_P, | |
17620 | ALLOCNO_SOMEWHERE_RENAMED_P, ALLOCNO_CHILD_RENAMED_P, | |
17621 | ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P, ALLOCNO_COLORABLE_P, | |
17622 | ALLOCNO_NEXT_BUCKET_ALLOCNO, ALLOCNO_PREV_BUCKET_ALLOCNO, | |
17623 | ALLOCNO_FIRST_COALESCED_ALLOCNO, ALLOCNO_NEXT_COALESCED_ALLOCNO. | |
17624 | Initialize ALLOCNO_ADD_DATA. | |
17625 | (copy_info_to_removed_store_destinations): Use ALLOCNO_EMIT_DATA | |
17626 | and allocno_emit_reg instead of ALLOCNO_MEM_OPTIMIZED_DEST_P and | |
17627 | ALLOCNO_REG. | |
17628 | (ira_flattening): Ditto. Use ALLOCNO_EMIT_DATA instead of | |
17629 | ALLOCNO_MEM_OPTIMIZED_DEST and ALLOCNO_SOMEWHERE_RENAMED_P. | |
17630 | ||
17631 | * ira.c (ira_reallocate): Remove. | |
17632 | (setup_pressure_classes): Call | |
17633 | ira_init_register_move_cost_if_necessary. Use | |
17634 | ira_register_move_cost instead of ira_get_register_move_cost. | |
17635 | (setup_allocno_assignment_flags): Use ALLOCNO_EMIT_DATA. | |
17636 | (ira): Call ira_initiate_emit_data and ira_finish_emit_data. | |
17637 | ||
17638 | * ira-color.c: Use ALLOCNO_COLOR_DATA instead of | |
17639 | ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P, ALLOCNO_COLORABLE_P, | |
17640 | ALLOCNO_AVAILABLE_REGS_NUM, ALLOCNO_NEXT_BUCKET_ALLOCNO, | |
17641 | ALLOCNO_PREV_BUCKET_ALLOCNO. ALLOCNO_TEMP. Use OBJECT_COLOR_DATA | |
17642 | instead of OBJECT_PROFITABLE_HARD_REGS, OBJECT_HARD_REGS_NODE, | |
17643 | OBJECT_HARD_REGS_SUBNODES_START, OBJECT_HARD_REGS_SUBNODES_NUM. | |
17644 | Fix formatting. | |
7a81008b | 17645 | (object_hard_regs_t, object_hard_regs_node_t): Move from ira-int.h. |
1756cb66 VM |
17646 | (struct object_hard_regs, struct object_hard_regs_node): Ditto. |
17647 | (struct allocno_color_data): New. | |
17648 | (allocno_color_data_t): New typedef. | |
17649 | (allocno_color_data): New definition. | |
17650 | (ALLOCNO_COLOR_DATA): New macro. | |
17651 | (struct object_color_data): New. | |
17652 | (object_color_data_t): New typedef. | |
17653 | (object_color_data): New definition. | |
17654 | (OBJECT_COLOR_DATA): New macro. | |
17655 | (update_copy_costs, calculate_allocno_spill_cost): Call | |
17656 | ira_init_register_move_cost_if_necessary. Use | |
17657 | ira_register_move_cost instead of ira_get_register_move_cost. | |
17658 | (move_spill_restore, update_curr_costs): Ditto. | |
17659 | (allocno_spill_priority): Make it inline. | |
7a81008b | 17660 | (color_pass): Allocate and free allocno_color_dat and object_color_data. |
1756cb66 VM |
17661 | (struct coalesce_data, coalesce_data_t): New. |
17662 | (allocno_coalesce_data): New definition. | |
17663 | (ALLOCNO_COALESCE_DATA): New macro. | |
17664 | (merge_allocnos, coalesced_allocno_conflict_p): Use | |
17665 | ALLOCNO_COALESCED_DATA instead of ALLOCNO_FIRST_COALESCED_ALLOCNO, | |
17666 | ALLOCNO_NEXT_COALESCED_ALLOCNO, ALLOCNO_TEMP. | |
17667 | (coalesce_allocnos): Ditto. | |
17668 | (setup_coalesced_allocno_costs_and_nums): Ditto. | |
17669 | (collect_spilled_coalesced_allocnos): Ditto. | |
17670 | (slot_coalesced_allocno_live_ranges_intersect_p): Ditto. | |
17671 | (setup_slot_coalesced_allocno_live_ranges): Ditto. | |
17672 | (coalesce_spill_slots): Ditto. | |
17673 | (ira_sort_regnos_for_alter_reg): Ditto. Allocate, initialize and | |
17674 | free allocno_coalesce_data. | |
17675 | ||
17676 | * ira-conflicts.c: Fix formatting. | |
17677 | (process_regs_for_copy): Call | |
17678 | ira_init_register_move_cost_if_necessary. Use | |
17679 | ira_register_move_cost instead of ira_get_register_move_cost. | |
17680 | (build_object_conflicts): Optimize. | |
17681 | ||
17682 | * ira-costs.c (record_reg_classes): Optimize. Call | |
17683 | ira_init_register_move_cost_if_necessary. Use | |
17684 | ira_register_move_cost, ira_may_move_in_cost, and | |
17685 | ira_may_move_out_cost instead of ira_get_register_move_cost and | |
17686 | ira_get_may_move_cost. | |
17687 | (record_address_regs): Ditto. | |
17688 | (scan_one_insn): Optimize. | |
17689 | (find_costs_and_classes): Optimize. | |
17690 | (process_bb_node_for_hard_reg_moves): Call | |
17691 | ira_init_register_move_cost_if_necessary. Use | |
17692 | ira_register_move_cost instead of ira_get_register_move_cost. | |
17693 | ||
17694 | * ira-emit.c: Use allocno_emit_reg, ALLOCNO_EMIT_DATA instead of | |
17695 | ALLOCNO_REG, ALLOCNO_CHILD_RENAMED_P, ALLOCNO_MEM_OPTIMIZED_DEST, | |
17696 | ALLOCNO_MEM_OPTIMIZED_DEST_P, and ALLOCNO_SOMEWHERE_RENAMED_P. | |
17697 | (ira_allocno_emit_data, void_p, new_allocno_emit_data_vec): New | |
17698 | definitions. | |
17699 | (ira_initiate_emit_data, ira_finish_emit_data) | |
17700 | (create_new_allocno): New functions. | |
7a81008b | 17701 | (modify_move_list): Call create_new_alloc instead of ira_create_allocno. |
1756cb66 VM |
17702 | (emit_move_list): Call ira_init_register_move_cost_if_necessary. |
17703 | Use ira_register_move_cost instead of ira_get_register_move_cost. | |
17704 | ||
17705 | * ira-int.h: Fix some comments. | |
7a81008b UB |
17706 | (object_hard_regs_t, object_hard_regs_node_t): Move to ira-color.c. |
17707 | (struct object_hard_regs, struct object_hard_regs_node): Ditto. | |
1756cb66 VM |
17708 | (struct ira_object): Remove profitable_hard_regs, hard_regs_node, |
17709 | hard_regs_subnodes_start, hard_regs_subnodes_num. Add new member | |
17710 | add_data. | |
17711 | (struct ira_allocno): Make mode and aclass a bitfield. Move other | |
17712 | bitfield after mode. Make hard_regno a short int. Make | |
17713 | hard_regno short. Remove first_coalesced_allocno and | |
17714 | next_coalesced_allocno. Move mem_optimized_dest_p, | |
17715 | somewhere_renamed_p, child_renamed_p, reg, and mem_optimized_dest | |
17716 | into struct ira_emit_data. Remove in_graph_p, may_be_spilled_p, | |
17717 | available_regs_num, next_bucket_allocno, prev_bucket_allocno, | |
17718 | temp, colorable_p. Add new member add_data. | |
17719 | (ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P): Remove. | |
17720 | (ALLOCNO_COLORABLE_P, ALLOCNO_AVAILABLE_REGS_NUM): Remove. | |
17721 | (ALLOCNO_NEXT_BUCKET_ALLOCNO, ALLOCNO_PREV_BUCKET_ALLOCNO): Remove. | |
17722 | (ALLOCNO_TEMP, ALLOCNO_FIRST_COALESCED_ALLOCNO): Remove. | |
17723 | (ALLOCNO_NEXT_COALESCED_ALLOCNO): Remove. | |
17724 | (ALLOCNO_ADD_DATA): New macro. | |
17725 | (ira_emit_data_t): New typedef. | |
17726 | (struct ira_emit_data): New. Move mem_optimized_dest_p, | |
17727 | somewhere_renamed_p, child_renamed_p, reg, mem_optimized_dest | |
17728 | from struct ira_allocno. | |
17729 | (ALLOCNO_EMIT_DATA): New macro. | |
17730 | (ira_allocno_emit_data, allocno_emit_reg): New. | |
17731 | (ALLOCNO_PROFITABLE_HARD_REGS, OBJECT_HARD_REGS_NODE): Remove. | |
7a81008b | 17732 | (OBJECT_HARD_REGS_SUBNODES_STAR, OBJECT_HARD_REGS_SUBNODES_NUM): Remove. |
1756cb66 VM |
17733 | (OBJECT_ADD_DATA): New macro. |
17734 | (ira_reallocate): Remove. | |
17735 | (ira_initiate_emit_data, ira_finish_emit_data): New. | |
17736 | (ira_get_register_move_cost, ira_get_may_move_cost): Remove. | |
17737 | (ira_init_register_move_cost_if_necessary): New. | |
17738 | (ira_object_conflict_iter_next): Merge into | |
17739 | ira_object_conflict_iter_cond. | |
7a81008b | 17740 | (FOR_EACH_OBJECT_CONFLICT): Don't use ira_object_conflict_iter_next. |
1756cb66 | 17741 | |
f60c2554 | 17742 | * ira-live.c (process_single_reg_class_operands): Call |
1756cb66 VM |
17743 | ira_init_register_move_cost_if_necessary. Use |
17744 | ira_register_move_cost instead of ira_get_register_move_cost. | |
17745 | ||
17746 | 2010-08-13 Vladimir Makarov <vmakarov@redhat.com> | |
17747 | ||
17748 | * ira-int.h (struct target_ira_int): Remove x_cost_classes. | |
17749 | ||
17750 | * ira-costs.c: Fix formatting. | |
17751 | (cost_classes, cost_classes_num): Remove. | |
17752 | (struct cost_classes, cost_classes_t, const_cost_classes_t): New. | |
17753 | (regno_cost_classes, cost_classes_hash, cost_classes_eq): New. | |
17754 | (cost_classes_del, cost_classes_htab): New. | |
17755 | (cost_classes_aclass_cache, cost_classes_mode_cache): New. | |
17756 | (initiate_regno_cost_classes, setup_cost_classes): New. | |
17757 | (setup_regno_cost_classes_by_aclass): New. | |
7a81008b | 17758 | (setup_regno_cost_classes_by_mode, finish_regno_cost_classes): New. |
1756cb66 VM |
17759 | (record_reg_classes): Use regno_cost_classes instead of |
17760 | cost_classes. Move checking opposite operand up. | |
17761 | (record_address_regs): Use regno_cost_classes | |
17762 | instead of cost_classes. | |
17763 | (scan_one_insn): Ditto. Use always general register. | |
17764 | (print_allocno_costs): Use regno_cost_classes instead of | |
17765 | cost_classes. | |
17766 | (print_pseudo_costs): Ditto. Use Reg_N_REFS. | |
17767 | (find_costs_and_classes): Set up cost classes for each registers. | |
17768 | Use also their mode for this. Use regno_cost_classes instead of | |
17769 | cost_classes. | |
17770 | (setup_allocno_class_and_costs): Use regno_cost_classes instead of | |
17771 | cost_classes. | |
17772 | (free_ira_costs, ira_init_costs): Don't use cost_classes. | |
17773 | (ira_costs, ira_set_pseudo_classes): Call | |
17774 | initiate_regno_cost_classes and finish_regno_cost_classes. | |
17775 | ||
17776 | 2010-10-04 Vladimir Makarov <vmakarov@redhat.com> | |
17777 | ||
17778 | * target-def.h (TARGET_IRA_COVER_CLASSES): Remove. | |
17779 | ||
17780 | * target.def (ira_cover_classes): Remove. | |
17781 | ||
7a81008b | 17782 | * doc/tm.texi: Remove TARGET_IRA_COVER_CLASSES and IRA_COVER_CLASSES. |
1756cb66 VM |
17783 | |
17784 | * doc/tm.texi.in: Ditto. | |
17785 | ||
17786 | * ira-conflicts.c: Remove mentioning cover classes from the file. | |
17787 | Use ALLOCNO_CLASS instead of ALLOCNO_COVER_CLASS. Use | |
7a81008b | 17788 | ALLOCNO_COVER_CLASS_COST instead of ALLOCNO_CLASS_COST. Fix formatting. |
1756cb66 VM |
17789 | |
17790 | * targhooks.c (default_ira_cover_classes): Remove. | |
17791 | ||
17792 | * targhooks.h (default_ira_cover_classes): Ditto. | |
17793 | ||
17794 | * haifa-sched.c: Remove mentioning cover classes from the file. | |
17795 | Use ira_reg_pressure_cover instead of ira_reg_class_cover. Use | |
17796 | ira_pressure_classes and ira_pressure_classes_num instead of | |
17797 | ira_reg_class_cover_size and ira_reg_class_cover. Use | |
17798 | sched_regno_pressure_class instead of sched_regno_cover_class. | |
17799 | (mark_regno_birth_or_death, setup_insn_reg_pressure_info): Use | |
17800 | ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
17801 | ||
17802 | * ira-int.h: Add 2010 to Copyright. Remove mentioning cover | |
17803 | classes from the file. | |
17804 | (object_hard_regs_t, object_hard_regs_node_t): New typedefs. | |
17805 | (struct object_hard_regs, struct object_hard_regs_node): New. | |
17806 | (struct ira_object): New members profitable_hard_regs, | |
17807 | hard_regs_node, hard_regs_subnodes_start, hard_regs_subnodes_num. | |
17808 | (struct ira_allocno): Rename cover_class to aclass. Rename | |
17809 | cover_class_cost and updated_cover_class_cost to class_cost and | |
17810 | updated_class_cost. Remove splay_removed_p and | |
17811 | left_conflict_size. Add new members colorable_p. | |
17812 | (ALLOCNO_SPLAY_REMOVED_P, ALLOCNO_LEFT_CONFLICTS_SIZE): Remove. | |
17813 | (ALLOCNO_COLORABLE_P): New macro. | |
17814 | (ALLOCNO_COVER_CLASS): Rename to ALLOCNO_CLASS. | |
17815 | (ALLOCNO_COVER_CLASS_COST, ALLOCNO_UPDATED_COVER_CLASS_COST): | |
17816 | Rename to ALLOCNO_CLASS_COST and ALLOCNO_UPDATED__CLASS_COST. | |
17817 | (OBJECT_...): Rename parameter C to O. | |
17818 | (OBJECT_PROFITABLE_HARD_REGS): New macro. | |
17819 | (OBJECT_HARD_REGS_NODE, OBJECT_HARD_REGS_SUBNODES_START) | |
17820 | (OBJECT_HARD_REGS_SUBNODES_NUM): New macros. | |
17821 | (struct target_ira_int): New members x_ira_max_memory_move_cost, | |
17822 | x_ira_max_register_move_cost, x_ira_max_may_move_in_cost, | |
17823 | x_ira_max_may_move_out_cost, x_ira_reg_allocno_class_p, | |
17824 | x_ira_reg_pressure_class_p, x_ira_important_class_nums, | |
17825 | x_ira_reg_class_superunion. Rename x_prohibited_class_mode_reg to | |
17826 | x_ira_prohibited_class_mode_reg. Rename x_ira_reg_class_union to | |
17827 | x_ira_reg_class_subunion. | |
17828 | (ira_max_memory_move_cost, ira_max_register_move_cost) | |
17829 | (ira_max_may_move_in_cost, ira_max_may_move_out_cost) | |
17830 | (ira_reg_allocno_class_p, ira_reg_pressure_class_p) | |
17831 | (ira_important_class_nums, ira_reg_class_superunion): New macros. | |
7a81008b | 17832 | (prohibited_class_mode_regs): Rename to ira_prohibited_class_mode_regs. |
1756cb66 VM |
17833 | (ira_reg_class_union): Rename to ira_reg_class_subunion. |
17834 | (ira_debug_class_cover): Rename to ira_debug_allocno_classes. | |
17835 | (ira_set_allocno_cover_class): Rename to ira_set_allocno_class. | |
17836 | (ira_tune_allocno_costs_and_cover_classes): Rename to | |
17837 | ira_tune_allocno_costs. | |
17838 | (ira_debug_hard_regs_forest): New. | |
17839 | (ira_object_conflict_iter_init, ira_object_conflict_iter_cond) | |
17840 | (ira_object_conflict_iter_next): Fix comments. | |
7a81008b | 17841 | (ira_hard_reg_set_intersection_p, hard_reg_set_size): New functions. |
1756cb66 VM |
17842 | (ira_allocate_and_set_costs, ira_allocate_and_copy_costs): Rename |
17843 | cover_class to aclass. | |
17844 | (ira_allocate_and_accumulate_costs): Ditto. | |
17845 | (ira_allocate_and_set_or_copy_costs): Ditto. | |
17846 | ||
17847 | * opts.c (decode_options): Remove ira_cover_class check. | |
17848 | ||
17849 | * ira-color.c: Remove mentioning cover classes from the file. Use | |
17850 | ALLOCNO_CLASS, ALLOCNO_CLASS_COST, and ALLOCNO_UPDATED_CLASS_COST | |
17851 | instead of ALLOCNO_COVER_CLASS, ALLOCNO_COVER_CLASS_COST, and | |
17852 | ALLOCNO_UPDATED_COVER_CLASS_COST. Fix formatting. | |
17853 | (splay-tree.h): Remove include. | |
17854 | (allocno_coalesced_p, processed_coalesced_allocno_bitmap): Move | |
17855 | before copy_freq_compare_func. | |
17856 | (allocnos_for_spilling, removed_splay_allocno_vec): Remove. | |
17857 | (object_hard_regs_vec, object_hard_regs_htab, node_check_tick): | |
17858 | New definitions. | |
17859 | (hard_regs_roots, hard_regs_node_vec): Ditto. | |
17860 | (object_hard_regs_hash, object_hard_regs_eq, find_hard_regs): Ditto. | |
17861 | (insert_hard_regs, init_object_hard_regs, add_object_hard_regs): Ditto. | |
17862 | (finish_object_hard_regs, object_hard_regs_compare): Ditto. | |
17863 | (create_new_object_hard_regs_node): Ditto. | |
17864 | (add_new_object_hard_regs_node_to_forest): Ditto. | |
7a81008b | 17865 | (add_object_hard_regs_to_forest, collect_object_hard_regs_cover): Ditto. |
1756cb66 VM |
17866 | (setup_object_hard_regs_nodes_parent, first_common_ancestor_node): |
17867 | Ditto. | |
17868 | (print_hard_reg_set, print_hard_regs_subforest): Ditto. | |
17869 | (print_hard_regs_forest, ira_debug_hard_regs_forest): Ditto. | |
17870 | (remove_unused_object_hard_regs_nodes): Ditto. | |
17871 | (enumerate_object_hard_regs_nodes): Ditto. | |
17872 | (object_hard_regs_nodes_num, object_hard_regs_nodes): Ditto. | |
17873 | (object_hard_regs_subnode_t): Ditto. | |
17874 | (struct object_hard_regs_subnode): Ditto. | |
17875 | (object_hard_regs_subnodes, object_hard_regs_subnode_index): Ditto. | |
17876 | (setup_object_hard_regs_subnode_index): Ditto. | |
17877 | (get_object_hard_regs_subnodes_num): Ditto. | |
17878 | (form_object_hard_regs_nodes_forest): Ditto. | |
17879 | (finish_object_hard_regs_nodes_tree): Ditto. | |
17880 | (finish_object_hard_regs_nodes_forest): Ditto. | |
17881 | (allocnos_have_intersected_live_ranges_p): Rename to | |
7a81008b | 17882 | allocnos_conflict_by_live_ranges_p. Move before copy_freq_compare_func. |
1756cb66 VM |
17883 | (pseudos_have_intersected_live_ranges_p): Rename to |
17884 | conflict_by_live_ranges_p. Move before copy_freq_compare_func. | |
17885 | (setup_left_conflict_sizes_p, update_left_conflict_sizes_p): Ditto. | |
17886 | (empty_profitable_hard_regs, setup_profitable_hard_regs): Ditto. | |
17887 | (update_copy_costs): Remove assert. Skip cost update if the hard | |
17888 | reg does not belong the class. | |
17889 | (assign_hard_reg): Process only profitable hard regs. | |
17890 | (uncolorable_allocnos_num): Make it scalar. | |
17891 | (allocno_spill_priority): Use ALLOCNO_EXCESS_PRESSURE_POINTS_NUM | |
17892 | and ira_reg_class_max_nregs instead of ALLOCNO_LEFT_CONFLICTS_SIZE | |
17893 | and ira_reg_class_max_nregs. | |
17894 | (bucket_allocno_compare_func): Check frequency first. | |
17895 | (sort_bucket): Add compare function as a parameter. | |
17896 | (add_allocno_to_ordered_bucket): Assume no coalesced allocnos. | |
17897 | (uncolorable_allocnos_splay_tree, USE_SPLAY_P): Remove. | |
17898 | (push_allocno_to_stack): Rewrite for checking new allocno | |
17899 | colorability. | |
7a81008b | 17900 | (remove_allocno_from_bucket_and_push): Print cost too. Remove assert. |
1756cb66 VM |
17901 | (push_only_colorable): Pass new parameter to sort_bucket. |
17902 | (push_allocno_to_spill): Remove. | |
17903 | (allocno_spill_priority_compare): Make it inline and rewrite. | |
17904 | (splay_tree_allocate, splay_tree_free): Remove. | |
17905 | (allocno_spill_sort_compare): New function. | |
17906 | (push_allocnos_to_stack): Sort allocnos for spilling once. Don't | |
17907 | build and use splay tree. Choose first allocno in uncolorable | |
17908 | allocno bucket to spill. Remove setting spill cost. | |
17909 | (all_conflicting_hard_regs): Remove. | |
17910 | (setup_allocno_available_regs_num): Check only profitable hard | |
17911 | regs. Print info about hard regs nodes. | |
17912 | (setup_allocno_left_conflicts_size): Remove. | |
17913 | (put_allocno_into_bucket): Don't call | |
7a81008b | 17914 | setup_allocno_left_conflicts_size. Use setup_left_conflict_sizes_p. |
1756cb66 VM |
17915 | (improve_allocation): New. |
17916 | (color_allocnos): Call setup_profitable_hard_regs, | |
17917 | form_object_hard_regs_nodes_forest, improve_allocation, | |
17918 | finish_object_hard_regs_nodes_forest. Setup spill cost. | |
17919 | (print_loop_title): Use pressure classes. | |
17920 | (color_allocnso): Ditto. | |
17921 | (do_coloring): Remove allocation and freeing splay_tree_node_pool | |
17922 | and allocnos_for_spilling. | |
17923 | (ira_sort_regnos_for_alter_reg): Don't setup members | |
17924 | {first,next}_coalesced_allocno. | |
17925 | (color): Remove allocating and freeing removed_splay_allocno_vec. | |
17926 | (fast_allocation): Use ira_prohibited_class_mode_regs instead of | |
17927 | prohibited_class_mode_regs. | |
17928 | ||
17929 | * ira-lives.c: Remove mentioning cover classes from the file. Fix | |
17930 | formatting. | |
17931 | (update_allocno_pressure_excess_length): Use pressure classes. | |
17932 | (inc_register_pressure, dec_register_pressure): Check for pressure | |
17933 | class. | |
17934 | (mark_pseudo_regno_live, mark_pseudo_regno_subword_live): Use | |
17935 | pressure class. Use ira_reg_class_nregs instead of | |
17936 | ira_reg_class_max_nregs. | |
17937 | (mark_pseudo_regno_dead, mark_pseudo_regno_subword_dead): Ditto. | |
17938 | (mark_hard_reg_live, mark_hard_reg_dead): Use pressure class. | |
17939 | (single_reg_class): Use ira_reg_class_nregs instead of | |
17940 | ira_reg_class_max_nregs. | |
17941 | (process_bb_node_lives): Use pressure classes. | |
17942 | ||
17943 | * ira-emit.c: Remove mentioning cover classes from the file. Use | |
17944 | ALLOCNO_CLASS instead of ALLOCNO_COVER_CLASS. Fix formatting. | |
17945 | (change_loop): Use pressure classes. | |
17946 | (modify_move_list): Call ira_set_allocno_class instead of | |
17947 | ira_set_allocno_cover_class. | |
17948 | ||
17949 | * ira-build.c: Remove mentioning cover classes from the file. Use | |
17950 | ALLOCNO_CLASS and ALLOCNO_CLASS_COST instead of | |
17951 | ALLOCNO_COVER_CLASS and ALLOCNO_COVER_CLASS_COST. Use | |
17952 | ALLOCNO_UPDATED_CLASS_COST instead of | |
17953 | ALLOCNO_UPDATED_COVER_CLASS_COST. Fix formatting. | |
17954 | (ira_create_object): Initiate OBJECT_PROFITABLE_HARD_REGS. | |
17955 | (ira_create_allocno): Remove initialization of | |
17956 | ALLOCNO_SPLAY_REMOVED_P, ALLOCNO_LEFT_CONFLICT_SIZE. Initialize | |
17957 | ALLOCNO_COLORABLE_P. | |
17958 | (ira_set_allocno_cover_class): Rename to ira_set_allocno_class. | |
17959 | Update conflict regs for the objects. | |
17960 | (create_cap_allocno): Remove assert. Don't propagate | |
17961 | ALLOCNO_AVAILABLE_REGS_NUM. | |
17962 | (ira_free_allocno_costs): New function. | |
17963 | (finish_allocno): Change a part of code into call of | |
17964 | ira_free_allocno_costs. | |
17965 | (low_pressure_loop_node_p): Use pressure classes. | |
17966 | (object_range_compare_func): Don't compare classes. | |
17967 | (setup_min_max_conflict_allocno_ids): Ditto. | |
17968 | ||
17969 | * loop-invariant.c: Remove mentioning cover classes from the file. | |
17970 | Use ira_pressure_classes and ira_pressure_classes_num instead of | |
17971 | ira_reg_class_cover_size and ira_reg_class_cover. Fix formatting. | |
7a81008b UB |
17972 | (get_cover_class_and_nregs): Rename to get_cover_pressure_and_nregs. |
17973 | Use ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
17974 | Use reg_allocno_class instead of reg_cover_class. | |
1756cb66 VM |
17975 | (get_inv_cost): Use instead ira_stack_reg_pressure_class of |
17976 | STACK_REG_COVER_CLASS. | |
17977 | (get_regno_cover_class): Rename to get_regno_pressure_class. | |
17978 | (move_loop_invariants): Initialize and finalize regstat. | |
17979 | ||
17980 | * ira.c: Remove mentioning cover classes from the file. Add | |
17981 | comments about coloring without cover classes. Use ALLOCNO_CLASS | |
17982 | instead of ALLOCNO_COVER_CLASS. Fix formatting. | |
17983 | (alloc_reg_class_subclasses, setup_reg_subclasses): Move it before | |
17984 | setup_class_subset_and_memory_move_costs. | |
17985 | (setup_stack_reg_pressure_class, setup_pressure_classes): New. | |
17986 | (setup_cover_and_important_classes): Rename to | |
17987 | setup_allocno_and_important_classes. | |
17988 | (setup_class_translate_array): New. | |
17989 | (setup_class_translate): Call it for allocno and pressure classes. | |
17990 | (cover_class_order): Rename to allocno_class_order. | |
17991 | (comp_reg_classes_func): Use ira_allocno_class_translate instead | |
17992 | of ira_class_translate. | |
17993 | (reorder_important_classes): Set up ira_important_class_nums. | |
17994 | (setup_reg_class_relations): Set up ira_reg_class_superunion. | |
17995 | (print_class_cover): Rename to print_classes. Add parameter. | |
17996 | (ira_debug_class_cover): Rename to ira_debug_allocno_classes. | |
17997 | Print pressure classes too. | |
17998 | (find_reg_class_closure): Rename to find_reg_classes. Don't call | |
17999 | setup_reg_subclasses. | |
7a81008b | 18000 | (ira_hard_regno_cover_class): Rename to ira_hard_regno_allocno_class. |
1756cb66 VM |
18001 | (ira_reg_class_nregs): Rename to ira_reg_class_max_nregs. |
18002 | (setup_prohibited_class_mode_regs): Use | |
7a81008b | 18003 | ira_prohibited_class_mode_regs instead of prohibited_class_mode_regs. |
1756cb66 VM |
18004 | (clarify_prohibited_class_mode_regs): New function. |
18005 | (ira_init_register_move_cost): Set up ira_max_register_move_cost, | |
18006 | ira_max_may_move_in_cost, and ira_max_may_move_out_cost. | |
18007 | (ira_init_once): Initialize them. | |
18008 | (free_register_move_costs): Process them. | |
18009 | (ira_init): Move calls of find_reg_classes and | |
18010 | setup_hard_regno_aclass after setup_prohibited_class_mode_regs. | |
18011 | Call clarify_prohibited_class_mode_regs. | |
18012 | (ira_no_alloc_reg): Remove. | |
18013 | (too_high_register_pressure_p): Use pressure classes. | |
18014 | ||
18015 | * sched-deps.c: Remove mentioning cover classes from the file. | |
18016 | Use ira_reg_pressure_cover instead of ira_reg_class_cover. Use | |
18017 | ira_pressure_classes and ira_pressure_classes_num instead of | |
18018 | ira_reg_class_cover_size and ira_reg_class_cover. | |
18019 | (mark_insn_hard_regno_birth, mark_hard_regno_death): Use | |
18020 | sched_regno_pressure_class instead of sched_regno_cover_class. | |
18021 | (mark_insn_pseudo_birth, mark_pseudo_death): Ditto. Use | |
18022 | ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
18023 | ||
18024 | * ira.h: Add 2010 to Copyright. | |
18025 | (ira_no_alloc_reg): Remove external. | |
18026 | (struct target_ira): Rename x_ira_hard_regno_cover_class, | |
18027 | x_ira_reg_class_cover_size, x_ira_reg_class_cover, and | |
18028 | x_ira_class_translate to x_ira_hard_regno_allocno_class, | |
18029 | x_ira_allocno_classes_num, x_ira_allocno_classes, and | |
18030 | x_ira_allocno_class_translate. Add x_ira_pressure_classes_num, | |
18031 | x_ira_pressure_classes, x_ira_pressure_class_translate, and | |
18032 | x_ira_stack_reg_pressure_class. Rename x_ira_reg_class_nregs to | |
18033 | x_ira_reg_class_max_nregs. Add x_ira_reg_class_min_nregs and | |
18034 | x_ira_no_alloc_regs. | |
7a81008b | 18035 | (ira_hard_regno_cover_class): Rename to ira_hard_regno_allocno_class. |
1756cb66 VM |
18036 | (ira_reg_class_cover_size, ira_reg_class_cover): Rename to |
18037 | ira_allocno_classes_num and ira_allocno_classes. | |
18038 | (ira_class_translate): Rename to ira_allocno_class_translate. | |
18039 | (ira_pressure_classes_num, ira_pressure_classes): New definitions. | |
18040 | (ira_pressure_class_translate, ira_stack_reg_pressure_class): Ditto. | |
18041 | (ira_reg_class_nregs): Rename to ira_reg_class_max_nregs. | |
18042 | (ira_reg_class_min_nregs, ira_stack_reg_pressure_class): New | |
18043 | (ira_no_alloc_regs): New. | |
18044 | ||
18045 | * ira-costs.c: Add 2010 to Copyright. Remove mentioning cover | |
18046 | classes from the file. Use ALLOCNO_CLASS instead of | |
18047 | ALLOCNO_COVER_CLASS. Use ALLOCNO_CLASS_COST instead of | |
18048 | ALLOCNO_COVER_CLASS_COST. | |
18049 | (regno_cover_class): Rename to regno_aclass. | |
18050 | (record_reg_classes): Use ira_reg_class_subunion instead of | |
18051 | ira_reg_class_union. | |
18052 | (record_address_regs): Check overflow. | |
18053 | (scan_one_insn): Ditto. | |
7a81008b | 18054 | (print_allocno_costs): Print total mem cost fore regional allocation. |
1756cb66 VM |
18055 | (print_pseudo_costs): Use REG_N_REFS. |
18056 | (find_costs_and_classes): Use classes intersected with them on the | |
18057 | 1st pass. Check overflow. Use ira_reg_class_subunion instead of | |
18058 | ira_reg_class_union. Use ira_allocno_class_translate and | |
18059 | regno_aclass instead of ira_class_translate and regno_cover_class. | |
18060 | Modify code for finding regno_aclass. Setup preferred classes for | |
18061 | the next pass. | |
18062 | (setup_allocno_cover_class_and_costs): Rename to | |
18063 | setup_allocno_class_and_costs. Use regno_aclass instead of | |
18064 | regno_cover_class. Use ira_set_allocno_class instead of | |
18065 | ira_set_allocno_cover_class. | |
18066 | (init_costs, finish_costs): Use regno_aclass instead of | |
18067 | regno_cover_class. | |
18068 | (ira_costs): Use setup_allocno_class_and_costs instead of | |
18069 | setup_allocno_cover_class_and_costs. | |
18070 | (ira_tune_allocno_costs_and_cover_classes): Rename to | |
18071 | ira_tune_allocno_costs. Check overflow. Skip conflict hard regs | |
18072 | by processing objects. Use ira_reg_class_max_nregs instead of | |
18073 | ira_reg_class_nregs. | |
18074 | ||
18075 | * rtl.h (reg_cover_class): Rename to reg_allocno_class. | |
18076 | ||
18077 | * sched-int.h: Remove mentioning cover classes from the file. | |
18078 | (sched_regno_cover_class): Rename to sched_regno_pressure_class. | |
18079 | ||
18080 | * reginfo.c: Add 2010 to Copyright. Remove mentioning cover | |
18081 | classes from the file. | |
18082 | (struct reg_pref): Rename coverclass into allocnoclass. | |
18083 | (reg_cover_class): Rename to reg_allocno_class. | |
18084 | ||
7a81008b | 18085 | * Makefile.in (ira-color.o): Remove SPLAY_TREE_H from dependencies. |
1756cb66 VM |
18086 | |
18087 | * config/alpha/alpha.h (IRA_COVER_CLASSES): Remove. | |
18088 | ||
18089 | * config/arm/arm.h (IRA_COVER_CLASSES): Ditto. | |
18090 | ||
18091 | * config/avr/avr.h (IRA_COVER_CLASSES): Ditto. | |
18092 | ||
18093 | * config/bfin/bfin.h (IRA_COVER_CLASSES): Ditto. | |
18094 | ||
18095 | * config/cris/cris.h (IRA_COVER_CLASSES): Ditto. | |
18096 | ||
18097 | * config/fr30/fr30.h (IRA_COVER_CLASSES): Ditto. | |
18098 | ||
18099 | * config/frv/frv.h (IRA_COVER_CLASSES): Ditto. | |
18100 | ||
18101 | * config/h8300/h8300.h (IRA_COVER_CLASSES): Ditto. | |
18102 | ||
18103 | * config/i386/i386.h (STACK_REG_COVER_CLASS): Ditto. | |
18104 | ||
18105 | * config/i386/i386.c (TARGET_IRA_COVER_CLASSES) | |
18106 | (i386_ira_cover_classes): Ditto. | |
18107 | ||
18108 | * config/ia64/ia64.h (IRA_COVER_CLASSES): Ditto. | |
18109 | ||
18110 | * config/iq2000/iq2000.h (IRA_COVER_CLASSES): Ditto. | |
18111 | ||
18112 | * config/m32r/m32r.h (IRA_COVER_CLASSES): Ditto. | |
18113 | ||
18114 | * config/m68k/m68k.h (IRA_COVER_CLASSES): Ditto. | |
18115 | ||
18116 | * config/mcore/mcore.h (IRA_COVER_CLASSES): Ditto. | |
18117 | ||
18118 | * config/mep/mep.h (IRA_COVER_CLASSES): Ditto. | |
18119 | ||
18120 | * config/mips/mips.c (TARGET_IRA_COVER_CLASSES) | |
18121 | (mips_ira_cover_classes): Ditto. | |
18122 | ||
18123 | * config/mn10300/mn10300.h (IRA_COVER_CLASSES): Ditto. | |
18124 | ||
18125 | * config/moxie/moxie.h (IRA_COVER_CLASSES): Ditto. | |
18126 | ||
18127 | * config/pa/pa64-regs.h (IRA_COVER_CLASSES): Ditto. | |
18128 | ||
18129 | * config/pa/pa32-regs.h (IRA_COVER_CLASSES): Ditto. | |
18130 | ||
18131 | * config/picochip/picochip.h (IRA_COVER_CLASSES): Ditto. | |
18132 | ||
18133 | * config/rs6000/rs6000.h (IRA_COVER_CLASSES_PRE_VSX) | |
18134 | (IRA_COVER_CLASSES_VSX): Ditto. | |
18135 | ||
18136 | * config/rs6000/rs6000.c (TARGET_IRA_COVER_CLASSES) | |
18137 | (rs6000_ira_cover_classes): Ditto. | |
18138 | ||
18139 | * config/rx/rx.h (IRA_COVER_CLASSES): Ditto. | |
18140 | ||
18141 | * config/s390/s390.h (IRA_COVER_CLASSES): Ditto. | |
18142 | ||
18143 | * config/score/score.h (IRA_COVER_CLASSES): Ditto. | |
18144 | ||
18145 | * config/sh/sh.h (IRA_COVER_CLASSES): Ditto. | |
18146 | ||
18147 | * config/sparc/sparc.h (IRA_COVER_CLASSES): Ditto. | |
18148 | ||
18149 | * config/spu/spu.h (IRA_COVER_CLASSES): Ditto. | |
18150 | ||
18151 | * config/stormy16/stormy16.h (IRA_COVER_CLASSES): Ditto. | |
18152 | ||
18153 | * config/v850/v850.h (IRA_COVER_CLASSES): Ditto. | |
18154 | ||
18155 | * config/vax/vax.h (IRA_COVER_CLASSES): Ditto. | |
18156 | ||
18157 | * config/xtensa/xtensa.h (IRA_COVER_CLASSES): Ditto. | |
18158 | ||
2b80199f JJ |
18159 | 2011-03-29 Jakub Jelinek <jakub@redhat.com> |
18160 | ||
71dae1fe JJ |
18161 | PR debug/48253 |
18162 | * dwarf2out.c (struct dw_fde_struct): Remove dw_fde_hot_section_label, | |
18163 | dw_fde_hot_section_end_label, dw_fde_unlikely_section_label, | |
18164 | dw_fde_unlikely_section_end_label, cold_in_std_section, | |
18165 | dw_fde_switched_sections and dw_fde_switched_cold_to_hot fields. | |
18166 | Add dw_fde_second_begin, dw_fde_second_end and second_in_std_section | |
18167 | fields. | |
18168 | (output_fde): Use dw_fde_second_{begin,end} if second is | |
18169 | true, otherwise dw_fde_{begin,end}. | |
18170 | (output_call_frame_info): Test dw_fde_second_begin != NULL | |
18171 | instead of dw_fde_switched_sections. | |
18172 | (dwarf2out_begin_prologue): Stop initializing removed dw_fde_struct | |
18173 | fields, initialize new fields. Initialize in_std_section | |
18174 | unconditionally from the first partition. | |
18175 | (dwarf2out_end_epilogue): Don't override dw_fde_end when | |
18176 | dw_fde_second_begin is non-NULL. | |
18177 | (dwarf2out_switch_text_section): Stop initializing removed | |
18178 | dw_fde_struct fields, initialize new fields, initialize | |
18179 | also dw_fde_end here. Set dw_fde_switch_cfi even when | |
18180 | dwarf2out_do_cfi_asm (). Call var_location_switch_text_section. | |
18181 | (struct var_loc_list_def): Add last_before_switch field. | |
18182 | (arange_table, arange_table_allocated, arange_table_in_use, | |
18183 | ARANGE_TABLE_INCREMENT, add_arange): Removed. | |
18184 | (size_of_aranges): Count !in_std_section and !second_in_std_section | |
18185 | hunks in fdes, instead of looking at arange_table_in_use. | |
18186 | (output_aranges): Add aranges_length argument, don't call | |
18187 | size_of_aranges here. Instead of using aranges_table* | |
18188 | emit ranges for fdes when !in_std_section resp. | |
18189 | !second_in_std_section. | |
18190 | (dw_loc_list): Break ranges crossing section switch. | |
18191 | (convert_cfa_to_fb_loc_list): Likewise. If switched sections, | |
7a81008b | 18192 | use dw_fde_second_end instead of dw_fde_end as end of last range. |
71dae1fe JJ |
18193 | (gen_subprogram_die): Don't call add_arange. Use |
18194 | dw_fde_{begin,end} for first partition and if switched | |
18195 | section dw_fde_second_{begin,end} for the second. | |
18196 | (var_location_switch_text_section_1, | |
18197 | var_location_switch_text_section): New functions. | |
18198 | (dwarf2out_begin_function): Initialize cold_text_section even | |
18199 | when function_section () isn't text_section. | |
18200 | (prune_unused_types): Don't walk arange_table. | |
18201 | (dwarf2out_finish): Don't needlessly test | |
18202 | flag_reorder_blocks_and_partition when testing cold_text_section_used. | |
18203 | If info_section_emitted, call size_of_aranges and if it indicates | |
18204 | non-empty .debug_aranges, call output_aranges with the computed | |
18205 | size. Stop using removed dw_fde_struct fields, use | |
18206 | dw_fde_{begin,end} for first partition and dw_fde_second_{begin,end} | |
18207 | for second. | |
18208 | ||
2b80199f JJ |
18209 | PR debug/48203 |
18210 | * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Only | |
18211 | create ENTRY_VALUE if incoming or address of incoming's MEM | |
18212 | is a hard REG. | |
18213 | * dwarf2out.c (mem_loc_descriptor): Don't emit | |
18214 | DW_OP_GNU_entry_value of DW_OP_fbreg. | |
18215 | * var-tracking.c (vt_add_function_parameter): Ensure cselib_lookup | |
18216 | on ENTRY_VALUE is able to find the canonical parameter VALUE. | |
18217 | * cselib.c (rtx_equal_for_cselib_1) <case ENTRY_VALUE>: Use | |
18218 | rtx_equal_p instead of rtx_equal_for_cselib_1 to compare | |
18219 | ENTRY_VALUE_EXPs. | |
18220 | (cselib_hash_rtx) <case ENTRY_VALUE>: If ENTRY_VALUE_EXP | |
18221 | is a REG_P or MEM_P with REG_P address, compute hash directly | |
18222 | instead of calling cselib_hash_rtx on ENTRY_VALUE_EXP. | |
18223 | (preserve_only_constants): Don't clear VALUES forwaring | |
18224 | ENTRY_VALUE to some other VALUE. | |
18225 | ||
8a445129 RS |
18226 | 2011-03-28 Richard Sandiford <richard.sandiford@linaro.org> |
18227 | ||
18228 | * builtins.c (expand_builtin_memset_args): Use gen_int_mode | |
18229 | instead of GEN_INT. | |
18230 | ||
c82fee88 EB |
18231 | 2011-03-28 Eric Botcazou <ebotcazou@adacore.com> |
18232 | ||
18233 | * cfgexpand.c (expand_gimple_cond): Always set the source location and | |
18234 | block before expanding the statement. | |
18235 | (expand_gimple_stmt_1): Likewise. Set them here... | |
18236 | (expand_gimple_stmt): ...and not here. Tidy. | |
18237 | * cfglayout.c (curr_insn_locator): Return 0 if the current location is | |
18238 | unknown. | |
18239 | ||
e45425ec SB |
18240 | 2011-03-28 Steven Bosscher <steven@gcc.gnu.org> |
18241 | ||
18242 | * Makefile.in: New rule for cprop.o. | |
18243 | * gcse.c: Move constant/copy propagation to cprop.c. | |
18244 | (compute_local_properties): Only handle expression tables. | |
18245 | (hash_scan_set, compute_hash_table_work, alloc_hash_table,): Likewise. | |
18246 | (one_pre_gcse_pass, one_code_hoisting_pass): Likewise. | |
18247 | (hash_set, insert_set_in_table, gcse_constant_p, lookup_set, | |
18248 | next_set, reset_opr_set_tables, oprs_not_set_p, mark_call, mark_set, | |
7a81008b | 18249 | mark_clobber, mark_oprs_set, alloc_cprop_mem, free_cprop_mem, |
e45425ec SB |
18250 | compute_cprop_data, find_used_regs, try_replace_reg, |
18251 | find_avail_set, cprop_jump, constprop_register, cprop_insn, | |
18252 | local_cprop_find_used_regs, do_local_cprop, local_cprop_pass, | |
18253 | fis_get_condition, implicit_set_cond_p, find_implicit_sets, | |
18254 | find_bypass_set, reg_killed_on_edge, bypass_block, | |
18255 | bypass_conditional_jumps, one_cprop_pass, gate_rtl_cprop, | |
18256 | execute_rtl_cprop, pass_rtl_cprop): Move to... | |
18257 | * cprop.c: ...here. New file, constant/copy propagation for RTL | |
18258 | moved from gcse.c to here with minor cleanups in duplicated code. | |
18259 | ||
c09d5426 L |
18260 | 2011-03-28 H.J. Lu <hongjiu.lu@intel.com> |
18261 | ||
18262 | * config/i386/i386.c (flag_opts): Fix a typo in | |
18263 | -mavx256-split-unaligned-store. | |
18264 | ||
9eaa7740 AS |
18265 | 2011-03-28 Anatoly Sokolov <aesok@post.ru> |
18266 | ||
18267 | * config/h8300/h8300.h (FUNCTION_VALUE_REGNO_P, FUNCTION_VALUE, | |
18268 | LIBCALL_VALUE): Remove macros. | |
18269 | * config/h8300/h8300.c (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
18270 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
18271 | (h8300_function_value, h8300_libcall_value, | |
18272 | h8300_function_value_regno_p): New functions. | |
18273 | ||
dcec2be2 AS |
18274 | 2011-03-28 Anatoly Sokolov <aesok@post.ru> |
18275 | ||
18276 | * config/h8300/h8300.h (ASM_OUTPUT_BSS): Remove macro. | |
18277 | ||
520af9ec JL |
18278 | 2011-03-28 Jeff Law <law@redhat.com> |
18279 | ||
18280 | * tree-ssa-threadupdate.c (redirect_edges): Call | |
18281 | create_edge_and_update_destination_phis as needed. | |
18282 | (create_edge_and_update_destination_phis): Accept new BB argument. | |
18283 | All callers updated. | |
18284 | (thread_block): Do not update the profile when threading around | |
18285 | intermediate blocks. | |
18286 | (thread_single_edge): Likewise. | |
18287 | (determine_bb_domination_status): If BB is not a successor of the | |
18288 | loop header, return NONDOMINATING. | |
18289 | (register_jump_thread): Note when we register a jump thread around | |
18290 | an intermediate block. | |
18291 | * tree-ssa-threadedge.c (thread_around_empty_block): New function. | |
18292 | (thread_across_edge): Use it. | |
18293 | ||
7450b54f TG |
18294 | 2011-03-28 Tristan Gingold <gingold@adacore.com> |
18295 | ||
18296 | * config/ia64/ia64.c (ia64_promote_function_mode): Fix promotion | |
18297 | when for_return is 2. | |
18298 | ||
649beb33 JL |
18299 | 2011-03-28 Jeff Law <law@redhat.com> |
18300 | ||
18301 | * var-tracking.c (canonicalize_values_mark): Delete unused | |
18302 | lhs assignment. | |
18303 | (canonicalize_values_star, set_variable_part): Likewise. | |
18304 | (clobber_variable_part, delete_variable_part): Likewise. | |
18305 | ||
d5b8da97 SB |
18306 | 2011-03-28 Steven Bosscher <steven@gcc.gnu.org> |
18307 | ||
18308 | * gcse.c (free_gcse_mem): Free reg_set_bitmap. | |
18309 | ||
322dd859 MJ |
18310 | 2011-03-28 Martin Jambor <mjambor@suse.cz> |
18311 | ||
18312 | * tree-inline.c (expand_call_inline): Do not check that destination | |
18313 | node is analyzed. | |
18314 | (optimize_inline_calls): Assert that destination node is analyzed. | |
18315 | * cgraph.c (cgraph_add_new_function): Call cgraph_analyze_function, do | |
18316 | not call tree_lowering_passes. | |
18317 | * cgraph.h (cgraph_analyze_function): Declare. | |
18318 | * cgraphunit.c (cgraph_analyze_function): Make public. | |
18319 | ||
aa53e58b JM |
18320 | 2011-03-28 Joseph Myers <joseph@codesourcery.com> |
18321 | ||
18322 | * config/sparc/sparc-opts.h: New. | |
18323 | * config/sparc/sparc.c (sparc_handle_option, sparc_select, | |
18324 | sparc_cpu, fpu_option_set, TARGET_HANDLE_OPTION): Remove. | |
18325 | (sparc_option_override): Store processor_type enumeration rather | |
18326 | than string in cpu_default. Remove name and enumeration from | |
18327 | cpu_table. Directly default -mcpu then default -mtune from -mcpu | |
18328 | without using sparc_select. Use target_flags_explicit instead of | |
18329 | fpu_option_set. | |
18330 | * config/sparc/sparc.h (enum processor_type): Move to | |
18331 | sparc-opts.h. | |
18332 | (sparc_cpu, struct sparc_cpu_select, sparc_select): Remove. | |
18333 | * config/sparc/sparc.opt (config/sparc/sparc-opts.h): New | |
18334 | HeaderInclude entry. | |
18335 | (mcpu=, mtune=): Use Var and Enum. | |
18336 | (sparc_processor_type): New Enum and EnumValue entries. | |
18337 | ||
dd350eba RO |
18338 | 2011-03-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18339 | Iain Sandoe <iains@gcc.gnu.org> | |
18340 | ||
18341 | PR target/48245 | |
18342 | * config/darwin.h (LINK_COMMAND_SPEC_A): Use LINK_PLUGIN_SPEC. | |
18343 | ||
1b29f05e EB |
18344 | 2011-03-28 Eric Botcazou <ebotcazou@adacore.com> |
18345 | ||
18346 | * tree-vectorizer.h (vect_create_data_ref_ptr): Adjust prototype. | |
18347 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add GSI parameter. | |
18348 | Insert new statements at it in lieu of STMT. | |
18349 | (vect_setup_realignment): Adjust call to vect_create_data_ref_ptr. | |
18350 | * tree-vect-stmts.c (vectorizable_store): Likewise. | |
18351 | (vectorizable_load): Likewise. | |
18352 | ||
506e6808 UB |
18353 | 2011-03-28 Uros Bizjak <ubizjak@gmail.com> |
18354 | ||
18355 | * config/alpha/alpha.md (addtf3): Change mode of operands to TFmode. | |
18356 | (divtf3): Ditto. | |
18357 | (multf3): Ditto. | |
18358 | (subtf3): Ditto. | |
18359 | ||
2e939ee9 L |
18360 | 2011-03-27 H.J. Lu <hongjiu.lu@intel.com> |
18361 | ||
18362 | * config/i386/sse.md (*avx_mov<mode>_internal): Don't assert | |
18363 | unaligned 256bit load/store. | |
18364 | (*avx_movu<ssemodesuffix><avxmodesuffix>): Likewise. | |
18365 | (*avx_movdqu<avxmodesuffix>): Likewise. | |
18366 | ||
5e85ab88 JDA |
18367 | 2011-03-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
18368 | ||
18369 | PR target/48288 | |
18370 | * config/pa/predicates.md (reg_or_ior_operand): New predicate. | |
18371 | * config/pa/pa.md (iordi3): Use new predicate in expander. | |
18372 | (iorsi3): Likewise. | |
18373 | ||
47be3d6d AS |
18374 | 2011-03-27 Anatoly Sokolov <aesok@post.ru> |
18375 | ||
506e6808 | 18376 | * config/mips/mips.h (LIBCALL_VALUE, FUNCTION_VALUE, |
47be3d6d | 18377 | FUNCTION_VALUE_REGNO_P): Remove macros. |
506e6808 UB |
18378 | * config/mips/mips-protos.h (mips_function_value): Remove. |
18379 | * config/mips/mips.c (mips_function_value): Rename to... | |
47be3d6d AS |
18380 | (mips_function_value_1): ... this. Make static. Handle receiving |
18381 | the function type in 'fn_decl_or_type' argument. | |
18382 | (mips_function_value, mips_libcall_value, | |
18383 | mips_function_value_regno_p): New function. | |
18384 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
18385 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
18386 | ||
d253656a L |
18387 | 2011-03-27 H.J. Lu <hongjiu.lu@intel.com> |
18388 | ||
18389 | * config/i386/i386.c (flag_opts): Add -mavx256-split-unaligned-load | |
18390 | and -mavx256-split-unaligned-store. | |
18391 | (ix86_option_override_internal): Split 32-byte AVX unaligned | |
18392 | load/store by default. | |
18393 | (ix86_avx256_split_vector_move_misalign): New. | |
18394 | (ix86_expand_vector_move_misalign): Use it. | |
18395 | ||
18396 | * config/i386/i386.opt: Add -mavx256-split-unaligned-load and | |
18397 | -mavx256-split-unaligned-store. | |
18398 | ||
18399 | * config/i386/sse.md (*avx_mov<mode>_internal): Verify unaligned | |
18400 | 256bit load/store. Generate unaligned store on misaligned memory | |
18401 | operand. | |
18402 | (*avx_movu<ssemodesuffix><avxmodesuffix>): Verify unaligned | |
18403 | 256bit load/store. | |
18404 | (*avx_movdqu<avxmodesuffix>): Likewise. | |
18405 | ||
18406 | * doc/invoke.texi: Document -mavx256-split-unaligned-load and | |
18407 | -mavx256-split-unaligned-store. | |
18408 | ||
1ea9206a RS |
18409 | 2011-03-27 Richard Sandiford <rdsandiford@googlemail.com> |
18410 | ||
18411 | PR target/38598 | |
18412 | * config/mips/mips.md (extendsidi2): Add an "l" alternative. | |
18413 | Update commentary. | |
18414 | ||
b99ce2a8 RS |
18415 | 2011-03-27 Richard Sandiford <rdsandiford@googlemail.com> |
18416 | ||
18417 | * config/mips/mips.c (mips_prepare_builtin_arg): Replace icode and | |
18418 | opno arguments with an expand_operand. Use create_input_operand. | |
18419 | (mips_prepare_builtin_target): Delete. | |
18420 | (mips_expand_builtin_insn, mips_expand_builtin_compare_1): New | |
18421 | functions. | |
18422 | (mips_expand_builtin_direct): Use create_output_operand and | |
18423 | mips_expand_builtin_insn. Update call to mips_prepare_builtin_arg. | |
18424 | (mips_expand_builtin_movtf): Likewise. Use mips_expand_fp_comparison. | |
18425 | (mips_expand_builtin_compare): Use mips_expand_fp_comparison. | |
18426 | ||
69d52339 IR |
18427 | 2011-03-27 Ira Rosen <ira.rosen@linaro.org> |
18428 | ||
18429 | * config/arm/arm.c (arm_autovectorize_vector_sizes): New | |
18430 | function. | |
18431 | (TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES): Define. | |
18432 | ||
ba5e9aca EB |
18433 | 2011-03-26 Eric Botcazou <ebotcazou@adacore.com> |
18434 | ||
18435 | * basic-block.h (fixup_abnormal_edges): Adjust prototype. | |
18436 | * reload1.c (reload): Adjust call to fixup_abnormal_edges. Rediscover | |
18437 | basic blocks and call commit_edge_insertions directly. | |
18438 | (fixup_abnormal_edges): Move from here to... | |
18439 | * cfgrtl.c (fixup_abnormal_edges): ...here. Only insert instructions | |
18440 | on the edges and return whether some have actually been inserted. | |
18441 | * reg-stack.c (convert_regs): Fix up abnormal edges before inserting | |
18442 | compensation code. | |
18443 | ||
5d369d58 AB |
18444 | 2011-03-26 Andrey Belevantsev <abel@ispras.ru> |
18445 | ||
18446 | PR rtl-optimization/48144 | |
18447 | * sel-sched-ir.c (merge_history_vect): Factor out from ... | |
18448 | (merge_expr_data): ... here. | |
18449 | (av_set_intersect): Rename to av_set_code_motion_filter. | |
18450 | Update all callers. Call merge_history_vect when an expression | |
18451 | is found in both sets. | |
18452 | * sel-sched-ir.h (av_set_code_motion_filter): Add prototype. | |
18453 | ||
f082c000 AM |
18454 | 2011-03-26 Alan Modra <amodra@gmail.com> |
18455 | ||
18456 | * config/rs6000/predicates.md (word_offset_memref_op): Handle | |
18457 | cmodel medium addresses. | |
18458 | * config/rs6000/rs6000.c (rs6000_secondary_reload): Handle misaligned | |
18459 | 64-bit gpr loads and stores. | |
18460 | (rs6000_secondary_reload_ppc64): New function. | |
18461 | * config/rs6000/rs6000-protos.h: Declare it. | |
18462 | * config/rs6000/rs6000.md (reload_di_store, reload_di_load): New. | |
18463 | ||
8ac5e12e AM |
18464 | 2011-03-26 Alan Modra <amodra@gmail.com> |
18465 | ||
18466 | PR target/47487 | |
18467 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Support | |
18468 | GNU Go in traceback table. | |
18469 | ||
c2654ded RH |
18470 | 2011-03-25 Richard Henderson <rth@redhat.com> |
18471 | ||
18472 | * expr.c (emit_block_move_via_movmem): Only use 6 operand variant | |
18473 | if there are exactly 6 operands. | |
18474 | (set_storage_via_setmem): Similarly. | |
18475 | ||
ba78087b KT |
18476 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
18477 | ||
18478 | * collect2.c (write_c_file_stat): Handle backslash | |
18479 | as right-hand directory separator. | |
18480 | (resolve_lib_name): Use IS_DIR_SEPARATOR instead of | |
18481 | checking just for slash. | |
18482 | * coverage.c (coverage_init): Use IS_ABSOLUTE_PATH | |
18483 | instead of checking for trailing slash. | |
18484 | * gcc.c (record_temp_file): Use filename_cmp instead | |
18485 | of strcmp. | |
18486 | (do_spec_1): Likewise. | |
18487 | (replace_outfile_spec_function): Likewise. | |
18488 | (is_directory): Use filename_ncmp instead of strncmp. | |
18489 | (print_multilib_info): Likewise. | |
18490 | * gcov.c (find_source): Use filename_cmp instead | |
18491 | instead of strcmp. | |
18492 | (make_gcov_file_name): Fix order of slash/backslash | |
18493 | checks. | |
18494 | * incpath.c (DIRS_EQ): Use filename_cmp instead of strcmp. | |
18495 | (add_standard_paths): Likewise. | |
18496 | * mips-tfile.c (saber_stop): Handle backslash. | |
18497 | * prefix.c (update_path): Use filename_ncmp instead of | |
18498 | strncmp. | |
18499 | * profile.c (output_location): Use filename_cmp instead | |
18500 | of strcmp. | |
18501 | * read-md.c (handle_toplevel_file): Handle backslash. | |
18502 | * tlink.c (frob_extension): Likewise. | |
18503 | * tree-cfg.c (same_line_p): Use filename_cmp instead of | |
18504 | strcmp. | |
18505 | * tree-dump.c (dequeue_and_dump): Handle backslash. | |
18506 | * tree.c (get_file_function_name): Likewise. | |
18507 | * gengtype.c (read_input_list): Likewise. | |
18508 | (get_file_realbasename): Likewise. | |
18509 | (get_output_file_with_visibility): Use filename_cmp | |
18510 | instead of strcmp. | |
18511 | ||
75f6ec9a RS |
18512 | 2011-03-25 Richard Sandiford <richard.sandiford@linaro.org> |
18513 | ||
18514 | * config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Restrict FPA_REGS | |
18515 | case to VFPv1. | |
18516 | ||
6c4e2997 NF |
18517 | 2011-03-25 Nathan Froyd <froydnj@codesourcery.com> |
18518 | ||
18519 | * fold-const.c (expr_location_or): New function. | |
18520 | (fold_truth_not_expr): Call it. | |
18521 | ||
0edf1bb2 JL |
18522 | 2011-03-25 Jeff Law <law@redhat.com> |
18523 | ||
18524 | * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Add missing | |
18525 | va_end. | |
18526 | * c-family/c-common.c (def_fn_type): Likewise. | |
18527 | * ada/gcc-interface/utils.c (def_fn_type): Likewise. | |
18528 | * emit-rtl.c (gen_rtvec): Likewise. | |
18529 | * lto/lto-lang.c (def_fn_type): Likewise. | |
18530 | ||
fdc2de95 RG |
18531 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
18532 | ||
18533 | * tree-ssa-copy.c (stmt_may_generate_copy): Copies from constants | |
18534 | also generate copies. | |
18535 | (fini_copy_prop): Handle constant values properly. | |
18536 | ||
21385db0 JJ |
18537 | 2011-03-25 Jakub Jelinek <jakub@redhat.com> |
18538 | ||
18539 | * dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTRACT>: Compare | |
18540 | mode size instead of bitsize with DWARF2_ADDR_SIZE. | |
18541 | (hash_loc_operands, compare_loc_operands): Handle | |
18542 | DW_OP_GNU_entry_value. | |
18543 | ||
6510e8bb KT |
18544 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
18545 | ||
18546 | * config/i386/cygming.h (DWARF_FRAME_REGISTERS): Adjust comment. | |
18547 | (STACK_BOUNDARY): Check for bit-ness in case of MS_ABI. | |
18548 | * config/i386/i386.c (ix86_conditional_register_usage): Adjust | |
18549 | comment and use macro TARGET_64BIT_MS_ABI instead. | |
18550 | (ix86_keep_aggregate_return_pointer): Optimize for 64-bit case | |
18551 | and change default behavior for 32-bit MS_ABI. | |
18552 | (ix86_reg_parm_stack_space): Check additionally for bit-ness. | |
18553 | (ix86_function_type_abi): Allow check for ms_abi/sysv_abi for | |
18554 | 32-bit, too. | |
18555 | (ix86_cfun_abi): Likewise. | |
18556 | (ix86_maybe_switch_abi): Adjust comment. | |
18557 | (init_cumulative_args): Check for bit-ness in MS_ABI case. | |
18558 | (ix86_gimplify_va_arg): Check just for not TARGET_64BIT_MS_ABI | |
18559 | instead of checking for SYSV_ABI. | |
18560 | (ix86_nsaved_sseregs): Likewise. | |
18561 | (ix86_compute_frame_layout): Set only for 64-bit MS_ABI alignment | |
18562 | to 16 bytes. | |
18563 | (ix86_expand_call): Use TARGET_64BIT_MS_ABI macro. | |
18564 | * config/i386.h (TARGET_32BIT_MS_ABI): New macro. | |
18565 | (ACCUMULATE_OUTGOING_ARGS): Check explicit for 64-bit MS_ABI. | |
18566 | (OUTGOING_REG_PARM_STACK_SPACE): Likewise. | |
18567 | * config/mingw32.h (DEFAULT_ABI): Change default always to MS_ABI. | |
18568 | ||
34019e28 RG |
18569 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
18570 | ||
18571 | * tree-flow.h (verify_stmts): Rename to verify_gimple_in_cfg. | |
18572 | (verify_types_in_gimple_seq): Rename to verify_gimple_in_seq. | |
18573 | (verify_gimple): Remove. | |
18574 | * tree-cfg.c (verify_gimple_call): Merge verification | |
18575 | from verify_stmts. | |
18576 | (verify_gimple_phi): Merge verification from verify_stmts. | |
18577 | (verify_gimple_label): New function. | |
18578 | (verify_types_in_gimple_seq_2): Rename to verify_gimple_in_seq_2. | |
18579 | (verify_types_in_gimple_seq): Rename to verify_gimple_in_seq. | |
18580 | (verify_stmt): Merge into verify_gimple_in_cfg and callees. | |
18581 | (verify_stmts): Rename to verify_gimple_in_cfg. | |
18582 | (verify_gimple_in_cfg): New function. | |
18583 | * passes.c (execute_function_todo): Call verify_gimple_in_cfg. | |
18584 | * tree-ssa.c (verify_ssa): Likewise. | |
18585 | * gimplify.c (gimplify_body): Call verify_gimple_in_seq. | |
18586 | ||
605896f5 RG |
18587 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
18588 | ||
18589 | * passes.c (init_optimization_passes): Add FRE pass after | |
18590 | early SRA. | |
18591 | ||
7baa7c13 BS |
18592 | 2011-03-25 Bernd Schmidt <bernds@codesourcery.com> |
18593 | Andrew Stubbs <ams@codesourcery.com> | |
18594 | ||
18595 | * config/arm/vfp.md (arm_movdi_vfp): Enable only when not tuning | |
18596 | for Cortex-A8. | |
18597 | (arm_movdi_vfp_cortexa8): New pattern. | |
18598 | * config/arm/neon.md (adddi3_neon, subdi3_neon, anddi3_neon, | |
18599 | iordi3_neon, xordi3_neon): Add alternatives to discourage Neon | |
18600 | instructions when tuning for Cortex-A8. Set attribute "arch". | |
18601 | * config/arm/arm.md: Move include arm-tune.md up a bit. | |
18602 | (define_attr "arch"): Add "onlya8" and "nota8" values. | |
18603 | (define_attr "arch_enabled"): Handle "onlya8" and "nota8". | |
18604 | ||
45dbce1b NF |
18605 | 2011-03-25 Nathan Froyd <froydnj@codesourcery.com> |
18606 | ||
4ff08abf | 18607 | PR bootstrap/48282 |
45dbce1b NF |
18608 | Revert: |
18609 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> | |
18610 | ||
18611 | * function.c (instantiate_virtual_regs): Use FOR_EACH_BB and | |
18612 | FOR_BB_INSNS_SAFE to iterate through insns. Re-indent. | |
18613 | (pass_instantiate_virtual_regs): Require PROP_cfglayout. | |
18614 | * passes.c (init_optimization_passes): Move | |
18615 | pass_instantiate_virtual_regs after pass_into_cfg_layout_mode. | |
18616 | ||
ac9a30ae KT |
18617 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
18618 | ||
18619 | * c-typeck.c (comptypes_internal): Replace target | |
18620 | hook call of comp_type_attributes by version in tree.c file. | |
18621 | * gimple.c (gimple_types_compatible_p_1): Likewise. | |
18622 | * tree-ssa.c (useless_type_conversion_p): Likewise. | |
18623 | * tree.c (build_type_attribute_qual_variant): Likewise. | |
18624 | (attribute_value_equal): New static helper function. | |
18625 | (comp_type_attributes): New function. | |
18626 | (merge_attributes): Use attribute_value_equal for comparison. | |
18627 | (attribute_list_contained): Likewise. | |
18628 | * tree.h (comp_type_attributes): New prototype. | |
18629 | ||
afdac116 RG |
18630 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
18631 | ||
18632 | * tree-cfg.c (verify_gimple_assign_unary): Drop special casing | |
18633 | of complex types at -O0. | |
18634 | (verify_gimple_assign_binary): Likewise. | |
18635 | (verify_gimple_assign_ternary): Likewise. | |
18636 | ||
ec6165f8 MW |
18637 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
18638 | ||
18639 | * dwarf2out.c (size_of_die): Modify comment to say DW_FORM_ref_sig8. | |
18640 | (value_format): Use DW_FORM_ref_sig8, not DW_FORM_sig8. | |
18641 | ||
2a5ac39a MW |
18642 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
18643 | ||
18644 | PR debug/48041 | |
18645 | * dwarf2out.c (output_abbrev_section): Only write table when | |
18646 | abbrev_die_table_in_use > 1. | |
18647 | ||
e533b2a4 RH |
18648 | 2011-02-24 Richard Henderson <rth@redhat.com> |
18649 | ||
18650 | * config/alpha/alpha.c (alpha_expand_unaligned_load): Use extql. | |
18651 | (alpha_expand_unaligned_store): Use mskwl, mskll, mskql. | |
18652 | (alpha_expand_unaligned_load_words): Use extql. | |
18653 | (alpha_expand_unaligned_store_words): Use insqh, mskqh, mskql. | |
18654 | (emit_insxl): Handle all modes for consistency. | |
18655 | ||
0b2a7367 RH |
18656 | 2011-02-24 Richard Henderson <rth@redhat.com> |
18657 | ||
18658 | * config/alpha/alpha.c (get_aligned_mem): Don't test WORDS_BIG_ENDIAN. | |
18659 | (alpha_expand_unaligned_load): Likewise. | |
18660 | (alpha_expand_unaligned_store): Likewise. | |
18661 | (alpha_expand_unaligned_load_words): Likewise. | |
18662 | (alpha_expand_unaligned_store_words): Likewise. | |
18663 | (emit_insxl, alpha_split_compare_and_swap_12): Likewise. | |
18664 | (alpha_split_lock_test_and_set_12): Likewise. | |
18665 | (print_operand, alpha_fold_builtin_extxx): Likewise. | |
18666 | (alpha_fold_builtin_insxx, alpha_fold_builtin_mskxx): Likewise. | |
18667 | * config/alpha/alpha.md (bswapsi2, insv, extv, extzv): Likewise. | |
18668 | (builtin_extwh, builtin_extlh, builtin_extql): Likewise. | |
18669 | (unaligned_extendqidi_be, unaligned_extendhidi_be, extxl_be): Remove. | |
18670 | (*extxl_1_be, *extql_2_be, extqh_be, extlh_be, extwh_be): Remove. | |
18671 | (insbl_be, inswl_be, insll_be, insql_be, mskxl_be): Remove. | |
18672 | (unaligned_loadqi_be, unaligned_loadhi_be): Remove. | |
18673 | (unaligned_storeqi_be, unaligned_storehi_be): Remove. | |
18674 | (extbl): Rename from builtin_extbl; don't test WORDS_BIG_ENDIAN. | |
18675 | (extwl, extll, extql): Similarly. | |
18676 | (inswh, inslh, insqh): Similarly. | |
18677 | (mskbl, mskwl, mskll, mskql): Similarly. | |
18678 | (mskwh, msklh, mskqh): Similarly. | |
18679 | ||
315b2bef RH |
18680 | 2011-02-24 Richard Henderson <rth@redhat.com> |
18681 | ||
18682 | * config/alpha/alpha.md (attribute isa): Add er, ner. | |
18683 | (attribute enabled): Handle them. | |
18684 | (*movdi): Merge *movdi_{er_nofix,nofix,er_fix,fix}. | |
18685 | ||
67102517 RH |
18686 | 2011-02-24 Richard Henderson <rth@redhat.com> |
18687 | ||
18688 | * config/alpha/alpha.md (attribute isa): Add vms. | |
18689 | (attribute enabled): Handle it. | |
18690 | (*movsf): Merge *movsf_{nofix,fix,nofp}. | |
18691 | (*movdf): Merge *movdf_{nofix,fix,nofp}. | |
18692 | (*movtf): Rename from *movtf_internal for consistency. | |
18693 | (*movsi): Merge with *movsi_nt_vms. | |
18694 | (*movhi): Merge *movhi_nobwx, *movhi_bwx. | |
18695 | (*movqi): Merge *movqi_nobwx, *movqi_bwx. | |
18696 | (*mov<VEC>): Merge *mov<VEC>_fix, *mov<VEC>_nofix. | |
18697 | * config/alpha/constraint.md ("f"): Use NO_REGS when fpu is disabled. | |
18698 | ||
6aba5cb4 RH |
18699 | 2011-02-24 Richard Henderson <rth@redhat.com> |
18700 | ||
18701 | * config/alpha/alpha.md (extendqihi2): Implement for BWX only. | |
18702 | (extendqisi2, extendhisi2): Likewise. | |
18703 | (extendqidi2): Simplify BWX/non-BWX expansions. | |
18704 | (extendhidi2): Similarly. | |
18705 | ||
bdfb351b RH |
18706 | 2011-02-24 Richard Henderson <rth@redhat.com> |
18707 | ||
18708 | * config/alpha/alpha.md (attribute isa): New. | |
18709 | (attribute enabled): New. | |
18710 | (zero_extendqihi2): Merge from *zero_extendqihi2_{bwx,nobwx}. | |
18711 | (zero_extendqisi2, zero_extendqidi2): Similarly. | |
18712 | (zero_extendhisi2, zero_extendhidi2): Similarly. | |
18713 | * config/alpha/predicates.md (reg_or_bwx_memory_operand): New. | |
18714 | ||
6abe71eb RH |
18715 | 2011-02-24 Richard Henderson <rth@redhat.com> |
18716 | ||
18717 | * config/alpha/predicates.md (input_operand): Revert last change; | |
18718 | update comment to mention 32-bit VMS rather than Windows. | |
18719 | ||
7114321e NF |
18720 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
18721 | ||
18722 | * function.c (instantiate_virtual_regs): Use FOR_EACH_BB and | |
18723 | FOR_BB_INSNS_SAFE to iterate through insns. Re-indent. | |
18724 | (pass_instantiate_virtual_regs): Require PROP_cfglayout. | |
18725 | * passes.c (init_optimization_passes): Move | |
18726 | pass_instantiate_virtual_regs after pass_into_cfg_layout_mode. | |
18727 | ||
c8679567 EB |
18728 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
18729 | ||
18730 | * dojump.c (do_jump_by_parts_greater_rtx): Optimize in specific cases. | |
18731 | ||
27173058 UB |
18732 | 2011-03-24 Uros Bizjak <ubizjak@gmail.com> |
18733 | ||
18734 | * config/i386/i386.md (ix86_print_operand): Output DFmode const_double | |
18735 | correctly. | |
18736 | ||
6f0c9f06 JJ |
18737 | 2011-03-24 Jakub Jelinek <jakub@redhat.com> |
18738 | ||
18739 | PR debug/48204 | |
18740 | * simplify-rtx.c (simplify_const_unary_operation): Call | |
18741 | real_convert when changing mode class with FLOAT_EXTEND. | |
18742 | ||
662666e5 NC |
18743 | 2011-03-24 Nick Clifton <nickc@redhat.com> |
18744 | ||
18745 | * config/rx/rx.h (LABEL_ALIGN_FOR_BARRIER): Define. | |
18746 | (ASM_OUTPUT_MAX_SKIP_ALIGN): Define. | |
18747 | * config/rx/rx.c (rx_option_override): Set align_jumps, | |
18748 | align_loops and align_labels if not set by the user. | |
18749 | (rx_align_for_label): New function. | |
18750 | (rx_max_skip_for_label): New function. | |
18751 | (TARGET_ASM_JUMP_ALIGN_MAX_SKIP): Define. | |
18752 | (TARGET_ASM_LOOP_ALIGN_MAX_SKIP): Define. | |
18753 | (TARGET_ASM_LABEL_ALIGN_MAX_SKIP): Define. | |
18754 | (TARGET_ASM_LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Define. | |
18755 | * config/rx/rx-protos.h (rx_align_for_label): Add prototype. | |
18756 | ||
2b99b2b8 RS |
18757 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
18758 | ||
18759 | PR rtl-optimization/48263 | |
18760 | * optabs.c (expand_binop_directly): Reinstate convert_modes code | |
18761 | and original commutative_p handling. Use maybe_gen_insn. | |
18762 | ||
ccecd6ea AK |
18763 | 2011-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
18764 | ||
18765 | * reload.c (find_reloads_subreg_address): Add address_reloaded | |
18766 | parameter and return true there if the full address has been | |
18767 | reloaded. | |
18768 | (find_reloads_toplev): Pass address_reloaded flag. | |
18769 | (find_reloads_address_1): Don't use address_reloaded parameter. | |
18770 | ||
67295642 JL |
18771 | 2011-03-24 Jeff Law <law@redhat.com> |
18772 | ||
18773 | * tree-ssa-live.c (remove_unused_scope_block_p): Remove set but | |
18774 | unused variable "ann". | |
18775 | (remove_unused_locals): Likewise. | |
18776 | ||
18777 | * tree-ssa-copy.c (propagate_tree_value_into_stmt): Remove useless | |
18778 | statement. | |
18779 | ||
18780 | * cfglayout.c (fixup_reorder_chain): Do not dereference E_FALL | |
18781 | after it is freed. | |
18782 | ||
212aa74f AK |
18783 | 2011-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
18784 | ||
18785 | * config/s390/s390.c (s390_preferred_reload_class): Return NO_REGS | |
18786 | for invalid symbolic addresses. | |
18787 | (s390_secondary_reload): Don't use s390_check_symref_alignment for | |
18788 | larl operands. | |
18789 | ||
fe784e0d EB |
18790 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
18791 | ||
18792 | * fold-const.c (fold_ternary_loc): Preserve the location (if any) of | |
18793 | the argument in calls to fold_truth_not_expr. | |
18794 | ||
63ee8641 NF |
18795 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
18796 | ||
18797 | * tree.c (record_node_allocation_statistics): New function. | |
18798 | (make_node_stat, copy_node_stat, build_string): Call it. | |
18799 | (make_tree_binfo_stat, make_tree_vec_stat, tree_cons_stat): Likewise. | |
18800 | (build1_stat, build_omp_clause): Likewise. | |
18801 | ||
61be2a1c RS |
18802 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
18803 | ||
18804 | * builtins.c (expand_movstr): Fix endp == 1 adjustment after | |
18805 | last commit. | |
18806 | ||
a881aaa7 RG |
18807 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
18808 | ||
18809 | PR tree-optimization/48271 | |
18810 | * tree-ssa-dom.c (tree_ssa_dominator_optimize): Only cleanup | |
18811 | blocks that still exist. | |
18812 | ||
dbaa912c RG |
18813 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
18814 | ||
18815 | PR tree-optimization/48270 | |
18816 | * tree-ssa-phiopt.c (cond_if_else_store_replacement): Do | |
18817 | not free datarefs before ddrs. | |
18818 | ||
1d60cc55 EB |
18819 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
18820 | ||
18821 | * tree-sra.c (build_ref_for_offset): Strip useless type conversions | |
18822 | from the address built for a reference with variable offset. | |
18823 | ||
c78dd519 UB |
18824 | 2011-03-24 Uros Bizjak <ubizjak@gmail.com> |
18825 | ||
18826 | PR target/48237 | |
18827 | * config/i386/i386.md (*movdf_internal_rex64): Do not split | |
18828 | alternatives that can be handled with movq or movabsq insn. | |
18829 | (*movdf_internal): Disable for !TARGET_64BIT. | |
18830 | (*movdf_internal_nointeger): Ditto. | |
18831 | * config/i386/i386.c (ix86_print_operand): Handle DFmode immediates. | |
18832 | ||
b25b9e8f NF |
18833 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
18834 | ||
18835 | * system.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Poison. | |
18836 | (FUNCTION_ARG_ADVANCE): Likewise. | |
18837 | * tm.texi.in: Change references to them to hook references. | |
18838 | * tm.texi: Regenerate. | |
c78dd519 | 18839 | * targhooks.c (default_function_arg): Eliminate check for target macro. |
b25b9e8f NF |
18840 | (default_function_incoming_arg): Likewise. |
18841 | (default_function_arg_advance): Likewise. | |
c78dd519 | 18842 | * target.def (function_arg, function_incoming_arg): Change to DEFHOOK. |
b25b9e8f NF |
18843 | (function_arg_advance): Likewise. |
18844 | * target-def.h: Eliminate FUNCTION_INCOMING_ARG check. | |
18845 | ||
190b2187 RG |
18846 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
18847 | ||
18848 | PR middle-end/48269 | |
18849 | * tree-object-size.c (addr_object_size): Do not double-account | |
18850 | for MEM_REF offsets. | |
18851 | ||
a183b5c7 DN |
18852 | 2011-03-24 Diego Novillo <dnovillo@google.com> |
18853 | ||
18854 | * lto-opts.c (input_data_block): Move to lto-streamer-in.c. | |
c78dd519 | 18855 | * lto-streamer-in.c (input_string_internal): Add clarifying comments. |
a183b5c7 DN |
18856 | (lto_input_data_block): Move from lto-opts.c. Make extern. |
18857 | Update all users. | |
18858 | (lto_input_string): Rename from input_string. Make extern. | |
18859 | Update all users. | |
18860 | * lto-streamer-out.c (lto_output_string_with_length): Rename from | |
18861 | output_string_with_length. | |
18862 | Output 0 to indicate a non-NULL string. Update all callers to | |
18863 | not emit 0. | |
18864 | (lto_output_string): Rename from output_string. Make extern. | |
18865 | Update all users. | |
18866 | (lto_output_decl_state_streams): Make extern. | |
18867 | (lto_output_decl_state_refs): Make extern. | |
18868 | * lto-streamer.h (lto_input_string): Declare. | |
18869 | (lto_input_data_block): Declare. | |
18870 | (lto_output_string): Declare. | |
18871 | (lto_output_string_with_length): Declare. | |
18872 | (lto_output_decl_state_streams): Declare. | |
18873 | (lto_output_decl_state_refs): Declare. | |
18874 | ||
cfef45c8 RG |
18875 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
18876 | ||
18877 | PR tree-optimization/46562 | |
18878 | * tree.c (build_invariant_address): New function. | |
18879 | * tree.h (build_invariant_address): Declare. | |
18880 | * tree-dfa.c (get_addr_base_and_unit_offset): Wrap around | |
18881 | a renamed function moved ... | |
18882 | * tree-flow-inline.h (get_addr_base_and_unit_offset_1): ... here. | |
18883 | Take valueization callback parameter. | |
18884 | * tree-flow.h (gimple_fold_stmt_to_constant): Declare. | |
18885 | * gimple-fold.h: New file. | |
18886 | * tree-ssa-ccp.c (ccp_fold): Use gimple_fold_stmt_to_constant_1. | |
18887 | (ccp_fold, fold_const_aggregate_ref, | |
18888 | fold_ctor_reference, fold_nonarray_ctor_reference, | |
18889 | fold_array_ctor_reference, fold_string_cst_ctor_reference, | |
18890 | get_base_constructor): Move ... | |
18891 | * gimple-fold.c: ... here. | |
18892 | (gimple_fold_stmt_to_constant_1): New function | |
18893 | split out from ccp_fold. Take a valueization callback parameter. | |
18894 | Valueize all operands. | |
18895 | (gimple_fold_stmt_to_constant): New wrapper function. | |
18896 | (fold_const_aggregate_ref_1): New function split out from | |
18897 | fold_const_aggregate_ref. Take a valueization callback parameter. | |
18898 | (fold_const_aggregate_ref): Wrap fold_const_aggregate_ref_1. | |
18899 | * tree-ssa-sccvn.c (simplify_binary_expression): Simplify | |
18900 | invariant POINTER_PLUS_EXPRs to invariant form. | |
18901 | (vn_valueize): New function. | |
18902 | (try_to_simplify): Simplify by using gimple_fold_stmt_to_constant. | |
18903 | * tree-vrp.c (vrp_valueize): New function. | |
18904 | (vrp_visit_assignment_or_call): Use gimple_fold_stmt_to_constant | |
18905 | to fold statements to constants. | |
18906 | * tree-ssa-pre.c (eliminate): Properly guard propagation of | |
18907 | function declarations. | |
18908 | * Makefile.in (tree-ssa-sccvn.o, tree-vrp.o, gimple-fold.o, | |
18909 | tree-ssa-ccp.o): Add gimple-fold.h dependencies. | |
18910 | ||
5e0a7e40 RS |
18911 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
18912 | ||
18913 | * config/h8300/predicates.md (jump_address_operand): Fix register | |
18914 | mode check. | |
18915 | ||
bfe068c3 IR |
18916 | 2011-03-24 Ira Rosen <ira.rosen@linaro.org> |
18917 | ||
18918 | * doc/invoke.texi (max-stores-to-sink): Document. | |
18919 | * params.h (MAX_STORES_TO_SINK): Define. | |
18920 | * opts.c (finish_options): Set MAX_STORES_TO_SINK to 0 | |
18921 | if either vectorization or if-conversion is disabled. | |
18922 | * tree-data-ref.c (dr_equal_offsets_p1): Moved and renamed from | |
18923 | tree-vect-data-refs.c vect_equal_offsets. | |
18924 | (dr_equal_offsets_p): New function. | |
18925 | (find_data_references_in_bb): Remove static. | |
18926 | * tree-data-ref.h (find_data_references_in_bb): Declare. | |
18927 | (dr_equal_offsets_p): Likewise. | |
18928 | * tree-vect-data-refs.c (vect_equal_offsets): Move to tree-data-ref.c. | |
18929 | (vect_drs_dependent_in_basic_block): Update calls to | |
18930 | vect_equal_offsets. | |
18931 | (vect_check_interleaving): Likewise. | |
18932 | * tree-ssa-phiopt.c: Include cfgloop.h and tree-data-ref.h. | |
18933 | (cond_if_else_store_replacement): Rename to... | |
18934 | (cond_if_else_store_replacement_1): ... this. Change arguments and | |
18935 | documentation. | |
18936 | (cond_if_else_store_replacement): New function. | |
18937 | * Makefile.in (tree-ssa-phiopt.o): Adjust dependencies. | |
18938 | * params.def (PARAM_MAX_STORES_TO_SINK): Define. | |
18939 | ||
4908b0bf CLT |
18940 | 2011-03-23 Chung-Lin Tang <cltang@codesourcery.com> |
18941 | ||
18942 | PR target/46934 | |
18943 | * config/arm/arm.md (casesi): Use the gen_int_mode() function | |
18944 | to subtract lower bound instead of GEN_INT(). | |
18945 | ||
2be478a2 JW |
18946 | 2011-03-23 Jonathan Wakely <jwakely.gcc@gmail.com> |
18947 | ||
18948 | PR other/48179 | |
18949 | PR other/48221 | |
18950 | PR other/48234 | |
18951 | * doc/extend.texi (Alignment): Move section to match order in TOC. | |
18952 | * doc/invoke.texi (i386 and x86-64 Windows Options): Likewise. | |
18953 | (Warning Options): Adjust -Wno-cpp summary and remove stray backslash. | |
18954 | ||
0c617be4 JL |
18955 | 2011-03-23 Jeff Law <law@redhat.com> |
18956 | ||
18957 | * cfg.c (redirect_edge_succ_nodup): Duplicate the varm map | |
18958 | before removing the edge. | |
18959 | ||
18960 | * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Do not use E after | |
18961 | it may have been freed by redirect_branch_edge or | |
18962 | redirect_edge_succ_nodup. | |
18963 | ||
58da96fe RG |
18964 | 2011-03-23 Richard Guenther <rguenther@suse.de> |
18965 | ||
c78dd519 | 18966 | * tree-stdarg.c (va_list_counter_bump): Handle bumps via MEM_REF. |
58da96fe RG |
18967 | (check_va_list_escapes): Likewise. |
18968 | (check_all_va_list_escapes): Likewise. | |
18969 | ||
b8beb4d1 RG |
18970 | 2011-03-23 Richard Guenther <rguenther@suse.de> |
18971 | ||
18972 | * Makefile.in (IPA_TYPE_ESCAPE_H): Remove. | |
18973 | (OBJS-archive): Remove ipa-struct-reorg.o and ipa-type-escape.o. | |
18974 | (tree-ssa-alias.o): Do not depend on IPA_TYPE_ESCAPE_H. | |
18975 | (alias.o): Likewise. | |
18976 | (ipa-type-escape.o): Remove. | |
18977 | (ipa-struct-reorg.o): Likewise. | |
18978 | (GTFILES): Remove ipa-struct-reorg.c. | |
18979 | * alias.c: Do not include ipa-type-escape.h. | |
18980 | * tree-ssa-alias.c: Likewise. | |
18981 | * common.opt (fipa-struct-reorg): Preserve for backward compatibility. | |
18982 | * opts.c (finish_options): Do not reset flag_ipa_struct_reorg. | |
18983 | * passes.c (init_optimization_passes): Remove ipa-struct-reorg | |
18984 | and ipa-type-escape passes. | |
18985 | * tree-pass.h (pass_ipa_type_escape): Remove. | |
18986 | (pass_ipa_struct_reorg): Likewise. | |
18987 | * ipa-struct-reorg.h: Remove. | |
18988 | * ipa-struct-reorg.c: Likewise. | |
18989 | * ipa-type-escape.h: Likewise. | |
18990 | * ipa-type-escape.c: Likewise. | |
18991 | * doc/invoke.texi (-fipa-struct-reorg): Remove. | |
18992 | (--param struct-reorg-cold-struct-ratio): Likewise. | |
18993 | * params.def (PARAM_STRUCT_REORG_COLD_STRUCT_RATIO): Likewise. | |
18994 | * params.h (STRUCT_REORG_COLD_STRUCT_RATIO): Likewise. | |
18995 | * timevar.def (TV_IPA_TYPE_ESCAPE): Likewise. | |
18996 | ||
f137aa63 AK |
18997 | 2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
18998 | ||
18999 | * config/s390/2084.md: Enable all insn reservations also for z9_ec | |
19000 | cpu attribute value. | |
19001 | * config/s390/s390-opts.h (enum s390_arch_option): Remove. | |
19002 | (enum processor_type): Add PROCESSOR_2094_Z9_EC. | |
19003 | * config/s390/s390.c (processor_flags_table): New constant array. | |
19004 | (s390_handle_arch_option): Remove. | |
19005 | (s390_handle_option): Remove s390_handle_arch_option invocations | |
19006 | and OPT_mwarn_framesize_ handling. | |
19007 | (s390_option_override): Remove s390_handle_arch_option invocation. | |
19008 | (s390_emit_prologue): Remove use of HOST_WIDE_INT_PRINT_DEC in | |
19009 | warnings. | |
19010 | * config/s390/s390.md (cpu attribute): Add z9_ec value. | |
19011 | * config/s390/s390.opt (s390_tune, s390_arch) | |
19012 | (march=): Replace s390_arch_option enum and values with | |
19013 | processor_type. Set variable name to s390_arch. Set | |
19014 | initialization value. | |
19015 | (mtune=): Replace s390_arch_option with processor_type. Set | |
19016 | variable name to s390_tune. Set initialization value. | |
19017 | ||
bf90208f JB |
19018 | 2011-03-23 Julian Brown <julian@codesourcery.com> |
19019 | ||
19020 | * expr.c (expand_expr_real_1): Only use BLKmode for volatile | |
19021 | accesses which are not naturally aligned. | |
19022 | ||
3460fdf3 RS |
19023 | 2011-03-23 Richard Sandiford <richard.sandiford@linaro.org> |
19024 | ||
19025 | PR target/47553 | |
19026 | * config/arm/predicates.md (neon_lane_number): Accept 0..15. | |
19027 | ||
a5c7d693 RS |
19028 | 2011-03-23 Richard Sandiford <richard.sandiford@linaro.org> |
19029 | ||
19030 | * optabs.h (emit_unop_insn, maybe_emit_unop_insn): Change insn code | |
19031 | parameter from "int" to "enum insn_code". | |
19032 | (expand_operand_type): New enum. | |
19033 | (expand_operand): New structure. | |
19034 | (create_expand_operand): New function. | |
19035 | (create_fixed_operand, create_output_operand): Likewise | |
19036 | (create_input_operand, create_convert_operand_to): Likewise. | |
19037 | (create_convert_operand_from, create_address_operand): Likewise. | |
19038 | (create_integer_operand): Likewise. | |
19039 | (create_convert_operand_from_type, maybe_legitimize_operands): Declare. | |
19040 | (maybe_gen_insn, maybe_expand_insn, maybe_expand_jump_insn): Likewise. | |
19041 | (expand_insn, expand_jump_insn): Likewise. | |
19042 | * builtins.c (expand_builtin_prefetch): Use the new interfaces. | |
19043 | (expand_builtin_interclass_mathfn, expand_builtin_strlen): Likewise. | |
19044 | (expand_movstr, expand_builtin___clear_cache): Likewise. | |
19045 | (expand_builtin_lock_release): Likewise. | |
19046 | * explow.c (allocate_dynamic_stack_space): Likewise. | |
19047 | (probe_stack_range): Likewise. Allow check_stack to FAIL, | |
19048 | and use the default handling in that case. | |
19049 | * expmed.c (check_predicate_volatile_ok): Delete. | |
19050 | (store_bit_field_1, extract_bit_field_1): Use the new interfaces. | |
19051 | (emit_cstore): Likewise. | |
19052 | * expr.c (emit_block_move_via_movmem): Likewise. | |
19053 | (set_storage_via_setmem, expand_assignment): Likewise. | |
19054 | (emit_storent_insn, try_casesi): Likewise. | |
19055 | (emit_single_push_insn): Likewise. Allow the expansion to fail. | |
19056 | * optabs.c (expand_widen_pattern_expr, expand_ternary_op): Likewise. | |
19057 | (expand_vec_shift_expr, expand_binop_directly): Likewise. | |
19058 | (expand_twoval_unop, expand_twoval_binop): Likewise. | |
19059 | (expand_unop_direct, emit_indirect_jump): Likewise. | |
19060 | (emit_conditional_move, vector_compare_rtx): Likewise. | |
19061 | (expand_vec_cond_expr, expand_val_compare_and_swap_1): Likewise. | |
19062 | (expand_sync_operation, expand_sync_fetch_operation): Likewise. | |
19063 | (expand_sync_lock_test_and_set): Likewise. | |
19064 | (maybe_emit_unop_insn): Likewise. Change icode to an insn_code. | |
19065 | (emit_unop_insn): Likewise. | |
19066 | (expand_copysign_absneg): Change icode to an insn_code. | |
19067 | (create_convert_operand_from_type): New function. | |
19068 | (maybe_legitimize_operand, maybe_legitimize_operands): Likewise. | |
19069 | (maybe_gen_insn, maybe_expand_insn, maybe_expand_jump_insn): Likewise. | |
19070 | (expand_insn, expand_jump_insn): Likewise. | |
19071 | * config/i386/i386.md (setmem<mode>): Use nonmemory_operand rather | |
19072 | than const_int_operand for operand 2. | |
19073 | ||
78fadbab AK |
19074 | 2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
19075 | ||
19076 | * dwarf2out.c (const_ok_for_output_1): Print the unspec enum name | |
19077 | if possible. | |
19078 | ||
5f02387d NF |
19079 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
19080 | ||
19081 | * emit-rtl.c (emit_pattern_before_noloc): New function. | |
19082 | (emit_insn_before_noloc, emit_jump_insn_before_noloc): Call it. | |
19083 | (emit_call_insn_before_noloc, emit_debug_insn_before_noloc): Likewise. | |
19084 | (emit_pattern_after_noloc): New function. | |
19085 | (emit_insn_after_noloc, emit_jump_insn_after_noloc): Call it. | |
19086 | (emit_call_insn_after_noloc, emit_debug_insn_after_noloc): Likewise. | |
19087 | ||
fdf3e18a NF |
19088 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
19089 | ||
19090 | * libgcc2.c (__lshrdi3, __ashldi3, __ashrdi3): Use W_TYPE_SIZE. | |
19091 | (__ffsDI2): Likewise. | |
19092 | ||
42d085c1 RH |
19093 | 2011-03-22 Richard Henderson <rth@redhat.com> |
19094 | ||
19095 | * config/alpha/alpha.c (direct_return): Use TARGET_ABI_OSF instead | |
19096 | of !TARGET_ABI_OPEN_VMS. | |
19097 | (alpha_trampoline_init, alpha_start_function): Likewise. | |
19098 | (alpha_expand_epilogue, alpha_file_start): Likewise. | |
19099 | * config/alpha/alpha.md (divsi3, modsi3): Likewise. | |
19100 | (udivsi3, umodsi3, divdi3, moddi3, udivdi3, umoddi3): Likewise. | |
19101 | (*divmodsi_internal_er, *divmodsi_internal_er_1): Likewise. | |
19102 | (*divmodsi_internal, *divmoddi_internal_er): Likewise. | |
19103 | (*divmoddi_internal_er_1, *divmoddi_internal): Likewise. | |
19104 | ||
cabbe12a JM |
19105 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19106 | ||
19107 | * config/s390/s390-opts.h: New. | |
19108 | * config/s390/s390.c (s390_tune, s390_tune_flags, s390_arch, | |
19109 | s390_arch_flags, s390_warn_framesize, s390_stack_size, | |
19110 | s390_stack_guard): Remove. | |
19111 | (s390_handle_arch_option): Return void. Take enum | |
19112 | s390_arch_option value instead of string and searching array. | |
19113 | (s390_handle_option): Don't assert that global structures are in | |
19114 | use. Access variables via opts pointer. Use error_at. Don't use | |
19115 | sscanf for -mstack-guard= or -mstack-size=. Update call to | |
19116 | s390_handle_arch_option. | |
19117 | (s390_option_override): Update call to s390_handle_arch_option. | |
19118 | (s390_emit_prologue): Use %d format for s390_stack_size in | |
19119 | diagnostic. Use %wd for HOST_WIDE_INT. | |
19120 | * config/s390/s390.h (enum processor_type): Move to s390-opts.h. | |
19121 | (s390_tune, s390_tune_flags, s390_arch, s390_arch_flags): Remove. | |
19122 | * config/s390/s390.opt (config/s390/s390-opts.h): New | |
19123 | HeaderInclude entry. | |
19124 | (s390_arch_string, s390_tune, s390_tune_flags, s390_arch, | |
19125 | s390_arch_flags, s390_warn_framesize): New Variable entries. | |
19126 | (s390_arch_option): New Enum and EnumValue entries. | |
19127 | (march=): Use Enum instead of Var. | |
19128 | (mstack-guard=, mstack-size=): Use UInteger and Var. | |
19129 | (mtune=): Use Enum. | |
19130 | ||
05b12036 JM |
19131 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19132 | ||
19133 | * config/score/score.c (score_handle_option): Don't assert that | |
19134 | global structures are in use. Access target_flags via opts | |
19135 | pointer. Use value of -march= option to determine target_flags | |
19136 | settings. | |
19137 | * config/score/score.opt (march=): Use Enum. | |
19138 | (score_arch): New Enum and EnumValue entries. | |
19139 | ||
dd51e35a JM |
19140 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19141 | ||
19142 | * config/mep/mep.c (option_mtiny_specified): Remove. | |
19143 | (mep_option_override): Move register handling for -mivc2 from | |
19144 | mep_handle_option. Use global_options_set.x_mep_tiny_cutoff | |
19145 | instead of option_mtiny_specified. | |
19146 | (mep_handle_option): Access target_flags via opts pointer. Don't | |
19147 | assert that global structures are in use. Defer part of -mivc2 | |
19148 | handling and move it to mep_option_override. | |
19149 | * config/mep/mep.opt (IVC2): New Mask entry. | |
19150 | (mivc2): Use Var and Defer instead of Mask. | |
19151 | ||
4a8d3d91 JM |
19152 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19153 | ||
19154 | * config/v850/v850-opts.h: New. | |
19155 | * config/v850/v850.c (small_memory): Replace with | |
19156 | small_memory_physical_max array. Make that array static const. | |
19157 | (v850_handle_memory_option): Take integer value of argument. Take | |
19158 | gcc_options pointer, option text and location. Return void. | |
19159 | Update for changes to small memory structures. | |
19160 | (v850_handle_option): Access target_flags via opts pointer. Don't | |
19161 | assert that global structures are in use. Update calls to | |
19162 | v850_handle_memory_option. | |
c78dd519 UB |
19163 | (v850_encode_data_area): Update references to small memory settings. |
19164 | * config/v850/v850.h (struct small_memory_info, small_memory): Remove. | |
4a8d3d91 JM |
19165 | (enum small_memory_type): Move to v850-opts.h. |
19166 | * config/v850/v850.opt (config/v850/v850-opts.h): New | |
19167 | HeaderInclude entry. | |
19168 | (small_memory_max): New Variable entry. | |
19169 | (msda): Replace by pair of options msda= and msda-. Use UInteger. | |
19170 | (mtda, mzda): Likewise. | |
19171 | ||
117fdbfa JM |
19172 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19173 | ||
19174 | * config/sh/sh.c (sh_handle_option): Access target_flags via opts | |
19175 | pointer. Don't assert that global structures are in use. | |
19176 | ||
d715091c JM |
19177 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19178 | ||
19179 | * config/pdp11/pdp11.c (pdp11_handle_option): Access target_flags | |
19180 | via opts pointer. Don't assert that global structures are in use. | |
19181 | ||
1bb721dc JM |
19182 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19183 | ||
19184 | * config/pa/pa-hpux.opt (flag_pa_unix): New Variable entry. | |
19185 | (munix=93): Use Var. | |
19186 | * config/pa/pa-hpux1010.opt (munix=95): Use Var. | |
19187 | * config/pa/pa-hpux1111.opt (munix=98): Use Var. | |
19188 | * config/pa/pa-opts.h: New. | |
19189 | * config/pa/pa.c (pa_cpu, flag_pa_unix): Remove. | |
19190 | (pa_handle_option): Don't assert that global structures are in | |
19191 | use. Access target_flags via opts pointer. Don't handle | |
19192 | OPT_mschedule_, OPT_mfixed_range_, OPT_munix_93, OPT_munix_95 or | |
19193 | OPT_munix_98 here. | |
19194 | (pa_option_override): Handle deferred OPT_mfixed_range_. | |
19195 | ||
cd8d8754 JM |
19196 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19197 | ||
19198 | * config/mn10300/mn10300-opts.h: New. | |
19199 | * config/mn10300/mn10300.c (mn10300_processor, | |
19200 | mn10300_tune_string): Remove. | |
19201 | (mn10300_handle_option): Don't assert that global structures are | |
19202 | in use. Access mn10300_processor via opts pointer. Don't handle | |
19203 | OPT_mtune_ here. | |
19204 | * config/mn10300/mn10300.h (enum processor_type): Move to | |
19205 | mn10300-opts.h. | |
19206 | (mn10300_processor): Remove. | |
19207 | * config/mn10300/mn10300.opt (config/mn10300/mn10300-opts.h): New | |
19208 | HeaderInclude entry. | |
19209 | (mn10300_processor): New Variable entry. | |
19210 | (mtune=): Use Var. | |
19211 | ||
24e6e6b1 JM |
19212 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19213 | ||
19214 | * config/microblaze/microblaze.c: Don't include opts.h. | |
19215 | (microblaze_handle_option, TARGET_HANDLE_OPTION): Remove. | |
19216 | * config/microblaze/microblaze.opt (mxl-stack-check): Use Warn. | |
19217 | (mno-clearbss): Use Var and Warn. | |
19218 | ||
8a784afb JM |
19219 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19220 | ||
19221 | * config/m32r/m32r-opts.h: New. | |
19222 | * config/m32r/m32r.c (m32r_model, m32r_sdata): Remove. | |
19223 | (m32r_handle_option): Don't assert that global structures are in | |
19224 | use. Access target_flags and m32r_cache_flush_func via opts | |
19225 | pointer. Don't handle OPT_mmodel_, OPT_msdata_ or | |
19226 | OPT_mno_flush_trap here. | |
19227 | * config/m32r/m32r.h (Code Models, Small Data Area): Replace by | |
19228 | include of m32r-opts.h. | |
19229 | * config/m32r/m32r.opt (config/m32r/m32r-opts.h): New | |
19230 | HeaderInclude entry. | |
19231 | (m32r_model_selected, m32r_sdata_selected): New Variable entries. | |
19232 | (mmodel=): Use Enum and Var. | |
19233 | (m32r_model): New Enum and EnumValue entries. | |
19234 | (mno-flush-trap): Use Var. | |
19235 | (msdata=): Use Enum and Var. | |
19236 | (m32r_sdata): New Enum and EnumValue entries. | |
19237 | ||
bbfc9a8c JM |
19238 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19239 | ||
19240 | * config/m32c/m32c.c: Don't include opts.h. | |
19241 | (target_memregs, target_memregs_set, TARGET_HANDLE_OPTION, | |
19242 | m32c_handle_option): Remove. | |
19243 | (m32c_option_override): Check global_options_set.x_target_memregs | |
19244 | instead of target_memregs_set. | |
19245 | * config/m32c/m32c.h (target_memregs): Remove. | |
19246 | * config/m32c/m32c.opt (memregs=): Use UInteger with integer | |
19247 | variable. | |
19248 | ||
e24b8335 JM |
19249 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19250 | ||
19251 | * config/iq2000/iq2000-opts.h: New. | |
19252 | * config/iq2000/iq2000.c: Don't include opts.h. | |
19253 | (iq2000_tune, iq2000_handle_option, TARGET_HANDLE_OPTION): Remove. | |
c78dd519 | 19254 | * config/iq2000/iq2000.h (enum processor_type, iq2000_tune): Remove. |
e24b8335 JM |
19255 | * config/iq2000/iq2000.opt (config/iq2000/iq2000-opts.h): New |
19256 | HeaderInclude entry. | |
19257 | (iq2000_tune): New Variable entry. | |
19258 | (march=): Add comment. Use Enum. | |
19259 | (iq2000_arch): New Enum and EnumValue entries. | |
19260 | (mcpu=): Use Enum and Var. | |
19261 | (iq2000_tune): New Enum and EnumValue entries. | |
19262 | ||
e6cc0c98 JM |
19263 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19264 | ||
19265 | * config/ia64/ia64-opts.h: New. | |
19266 | * config/ia64/ia64.c (ia64_tune): Remove. | |
19267 | (ia64_handle_option): Don't handle OPT_mfixed_range_ or OPT_mtune_ | |
19268 | here. Use error_at. | |
19269 | (ia64_option_override): Handle deferred OPT_mfixed_range_. | |
19270 | * config/ia64/ia64.h (enum processor_type, ia64_tune): Remove. | |
19271 | * config/ia64/ia64.opt (config/ia64/ia64-opts.h): New | |
19272 | HeaderInclude entry. | |
19273 | (ia64_tune): New Variable entry. | |
19274 | (mfixed-range=): Use Defer and Var. | |
19275 | (mtune=): Use Enum and Var. | |
19276 | (ia64_tune): New Enum and EnumValue entries. | |
19277 | ||
db25893c JM |
19278 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19279 | ||
19280 | * config/frv/frv-opts.h: New. | |
19281 | * config/frv/frv-protos.h (enum frv_cpu, frv_cpu_t): Move to | |
19282 | frv-opts.h. | |
19283 | (frv_cpu_type): Remove. | |
19284 | * config/frv/frv.c: Don't include opts.h. | |
19285 | (frv_cpu_type, frv_handle_option, TARGET_HANDLE_OPTION): Remove. | |
c78dd519 | 19286 | * config/frv/frv.opt (config/frv/frv-opts.h): New HeaderInclude entry. |
db25893c JM |
19287 | (frv_cpu_type): New Variable entry. |
19288 | (frv_cpu): New Enum and EnumValue entries. | |
19289 | ||
6c223f5d JM |
19290 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19291 | ||
19292 | * config/cris/cris.c (cris_handle_option): Access target_flags via | |
19293 | opts pointer. Don't assert that global structures are in use. | |
19294 | Don't call CRIS_SUBTARGET_HANDLE_OPTION. | |
19295 | * config/cris/cris.h (CRIS_SUBTARGET_HANDLE_OPTION): Don't define. | |
19296 | ||
bbd399cf JM |
19297 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19298 | ||
19299 | * config/bfin/bfin-opts.h: New. | |
19300 | * config/bfin/bfin.c (bfin_lib_id_given, bfin_cpu_type, | |
19301 | bfin_si_revision, bfin_workarounds): Remove. | |
19302 | (bfin_cpus): Make static const. | |
19303 | (bfin_load_pic_reg): Check global_options_set.x_bfin_library_id | |
19304 | not bfin_lib_id_given. | |
19305 | (bfin_handle_option): Don't set bfin_lib_id_given. Access | |
19306 | bfin_cpu_type, bfin_si_revision and bfin_workarounds via opts | |
c78dd519 | 19307 | pointer. Use error_at. Don't assert that global structures are in use. |
bbd399cf JM |
19308 | * config/bfin/bfin.h: Include bfin-opts.h. |
19309 | (enum bfin_cpu_type, bfin_cpu_t): Move to bfin-opts.h. | |
19310 | (bfin_cpu_type, bfin_si_revision, bfin_workarounds): Remove. | |
19311 | * bfin.opt (config/bfin/bfin-opts.h): New HeaderInclude entry. | |
19312 | (bfin_cpu_type, bfin_si_revision, bfin_workarounds): New Variable | |
19313 | entries. | |
19314 | ||
5e1b4d5a JM |
19315 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19316 | ||
19317 | * config/arm/arm.opt (mhard-float, msoft-float): Use Alias. | |
19318 | * config/arm/arm.c (arm_handle_option): Don't handle -mhard-float | |
19319 | or -msoft-float here. | |
19320 | * config/arm/arm.h (CPP_SPEC): Handle -mfloat-abi=*, not | |
19321 | -msoft-float and -mhard-float. | |
c78dd519 | 19322 | (OPTION_DEFAULT_SPECS): Don't handle -mhard-float and -msoft-float. |
5e1b4d5a JM |
19323 | * config/arm/coff.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not |
19324 | msoft-float. | |
19325 | * config/arm/elf.h (ASM_SPEC): Don't handle -mhard-float and | |
19326 | -msoft-float. | |
19327 | (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not msoft-float. | |
19328 | * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Use mfloat-abi=hard, | |
19329 | not mhard-float. | |
19330 | (LIBGCC_SPEC): Don't handle -msoft-float. | |
19331 | * config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Don't handle | |
19332 | -mhard-float. | |
19333 | * config/arm/pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not | |
19334 | msoft-float. | |
19335 | * config/arm/rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Handle | |
19336 | -mfloat-abi=*, not -msoft-float and -mhard-float. | |
19337 | * config/arm/semi.h((ASM_SPEC): Don't handle -mhard-float and | |
19338 | -msoft-float. | |
19339 | * config/arm/t-arm-elf (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): | |
19340 | Use mfloat-abi=hard and mfloat-abi=soft in comments, not | |
19341 | mhard-float and msoft-float. | |
19342 | * config/arm/t-linux (MULTILIB_OPTIONS): Use mfloat-abi=hard and | |
19343 | mfloat-abi=soft in comments, not mhard-float and msoft-float. | |
19344 | * config/arm/t-rtems (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use | |
19345 | mfloat-abi=soft and mfloat-abi=hard, not msoft-float and | |
19346 | mhard-float. | |
19347 | * config/arm/t-strongarm-elf (MULTILIB_OPTIONS): Use | |
19348 | mfloat-abi=hard and mfloat-abi=soft, not mhard-float and | |
19349 | msoft-float. | |
19350 | * config/arm/t-wince-pe (MULTILIB_OPTIONS): Use mfloat-abi=hard, | |
19351 | not mhard-float. | |
19352 | * config/arm/wince-pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, | |
19353 | not msoft-float. | |
19354 | ||
800d1de1 RH |
19355 | 2011-03-22 Richard Henderson <rth@redhat.com> |
19356 | ||
19357 | * config/alpha/alpha.c (alpha_expand_prologue): Don't test | |
19358 | TARGET_ABI_WINDOWS_NT. | |
19359 | (alpha_output_function_end_prologue): Likewise. | |
19360 | * config/alpha/alpha.h (TARGET_ABI_OSF): Likewise. | |
19361 | (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
19362 | * config/alpha/alpha.md (call, call_value, tablejump): Likewise. | |
19363 | (trap, *movsi_nt_vms): Likewise. | |
19364 | (call_nt, call_value_nt, *call_nt_1, *call_value_nt_1): Remove. | |
19365 | (*tablejump_osf_nt_internal): Remove. | |
19366 | * config/alpha/predicates.md (input_operand): Only test Pmode. | |
19367 | ||
c59ddd2b JM |
19368 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19369 | ||
19370 | * config/alpha/alpha.c (alpha_handle_option): Access target_flags | |
19371 | via opts pointer. Use error_at. Don't assert that global | |
19372 | structures are in use. | |
19373 | ||
1333f97f JM |
19374 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19375 | ||
19376 | * config/i386/i386.c (ix86_isa_flags_explicit): Remove. | |
19377 | (ix86_handle_option): Access ix86_isa_flags and | |
19378 | ix86_isa_flags_explicit via opts pointer. Don't assert that | |
19379 | global structures are in use. | |
19380 | (ix86_function_specific_save, ix86_function_specific_restore): | |
19381 | Update ix86_isa_flags_explicit field name. | |
c78dd519 | 19382 | * config/i386/i386.opt (ix86_isa_flags_explicit): New Variable entry. |
1333f97f JM |
19383 | (ix86_isa_flags_explicit): Rename TargetSave entry to |
19384 | x_ix86_isa_flags_explicit. | |
19385 | ||
75db85d8 RH |
19386 | 2011-03-22 Richard Henderson <rth@redhat.com> |
19387 | ||
19388 | * config/alpha/alpha.c (NUM_ARGS): Don't test TARGET_ABI_UNICOSMK. | |
19389 | (alpha_option_override, direct_return): Likewise. | |
19390 | (alpha_arg_partial_bytes, alpha_setup_incoming_varargs): Likewise. | |
19391 | (alpha_va_start, alpha_gimplify_va_arg, alpha_sa_mask): Likewise. | |
19392 | (alpha_sa_size, compute_frame_size, alpha_expand_prologue): Likewise. | |
19393 | (alpha_start_function, alpha_output_function_end_prologue): Likewise. | |
19394 | (alpha_expand_epilogue, alpha_end_function): Likewise. | |
19395 | (alpha_init_libfuncs): Likewise. | |
19396 | (struct machine_function): Remove unicosmk members. | |
19397 | (print_operand) ['t']: Remove. | |
19398 | (unicosmk_must_pass_in_stack, unicosmk_initial_elimination_offset, | |
19399 | unicosmk_output_module_name, unicosmk_output_common, | |
19400 | current_section_align, unicosmk_output_text_section_asm_op, | |
19401 | unicosmk_output_data_section_asm_op, unicosmk_init_sections, | |
19402 | unicosmk_section_type_flags, unicosmk_unique_section, | |
19403 | unicosmk_asm_named_section, unicosmk_insert_attributes, | |
19404 | unicosmk_output_align, unicosmk_defer_case_vector, | |
19405 | unicosmk_output_addr_vec, unicosmk_output_deferred_case_vectors, | |
19406 | SSIB_PREFIX, SSIB_PREFIX_LEN, unicosmk_ssib_name, unicosmk_gen_dsib, | |
19407 | unicosmk_output_ssib, unicosmk_add_call_info_word, | |
19408 | unicosmk_extern_head, unicosmk_output_default_externs, | |
19409 | unicosmk_output_externs, unicosmk_add_extern, unicosmk_dex_list, | |
19410 | unicosmk_dex_count, unicosmk_special_name, unicosmk_need_dex, | |
19411 | unicosmk_output_dex, unicosmk_file_start, unicosmk_file_end): Remove. | |
19412 | * config/alpha/alpha-protos.h: Update. | |
19413 | * config/alpha/alpha.h (TARGET_ABI_OSF): Don't test TARGET_ABI_UNICOSMK. | |
19414 | * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM): Remove. | |
19415 | (UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): Remove. | |
19416 | (mulsi3): Don't test TARGET_ABI_UNICOSMK. | |
19417 | (*mulsi_se, mulvsi3): Likewise. | |
19418 | (divsi3, udivsi3, modsi3, umodsi3, divdi3, udivdi3): Likewise. | |
19419 | (*divmodsi_internal, call, call_value, realign): Likewise. | |
19420 | (moddi3, umoddi3): Likewise; remove duplicate expander. | |
19421 | (moddi3_umk, umoddi3_umk, call_umk, call_value_umk): Remove. | |
19422 | (*call_umk_1, *movsi, umk_laum, umk_lalm, *umk_load_ciw): Remove. | |
19423 | (*movdi_nofix): Remove r/U alternative. | |
19424 | (umk_mismatch_args, arg_home_umk, *call_value_umk): Remove. | |
19425 | * config/alpha/constraints.md ("U"): Remove. | |
19426 | * config/alpha/predicates.md (call_operand"): Don't test | |
19427 | TARGET_ABI_UNICOSMK. | |
19428 | ||
96e45421 JM |
19429 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19430 | ||
19431 | * target.def (handle_option): Take gcc_options and | |
19432 | cl_decoded_option pointers and location_t. | |
19433 | * doc/tm.texi.in (TARGET_HANDLE_OPTION): Update documentation. | |
19434 | * doc/tm.texi: Regenerate. | |
19435 | * hooks.c (hook_bool_size_t_constcharptr_int_true): Remove. | |
19436 | * hooks.h (hook_bool_size_t_constcharptr_int_true): Don't declare. | |
19437 | * lto-opts.c (lto_reissue_options): Generate option structure for | |
19438 | targetm.handle_option call. | |
19439 | * opts.c (target_handle_option): Update call to | |
19440 | targetm.handle_option. Remove assertions about values now passed | |
19441 | down to hook. | |
19442 | * targhooks.c (default_target_handle_option): New. | |
19443 | * targhooks.h (default_target_handle_option): Declare. | |
19444 | * config/alpha/alpha.c: Include opts.h. | |
19445 | (alpha_handle_option): Update to new hook interface. | |
19446 | * config/arm/arm.c: Include opts.h. | |
19447 | (arm_handle_option): Update to new hook interface. | |
19448 | * config/arm/t-arm (arm.o): Update dependencies. | |
19449 | * config/bfin/bfin.c: Include opts.h. | |
19450 | (bfin_handle_option): Update to new hook interface. | |
19451 | * config/cris/cris.c: Include opts.h. | |
19452 | (cris_handle_option): Update to new hook interface. | |
19453 | * config/frv/frv.c: Include opts.h. | |
19454 | (frv_handle_option): Update to new hook interface. | |
19455 | * config/i386/i386.c: Include opts.h. | |
19456 | (ix86_handle_option): Update to new hook interface. | |
19457 | (ix86_valid_target_attribute_inner_p): Generate option structure | |
19458 | for call to ix86_handle_option. | |
19459 | * config/i386/t-i386 (i386.o): Update dependencies. | |
19460 | * config/ia64/ia64.c: Include opts.h. | |
19461 | (ia64_handle_option): Update to new hook interface. | |
19462 | * config/ia64/t-ia64 (ia64.o): Update dependencies. | |
19463 | * config/iq2000/iq2000.c: Include opts.h. | |
19464 | (iq2000_handle_option): Update to new hook interface. | |
19465 | * config/m32c/m32c.c: Include opts.h. | |
19466 | (m32c_handle_option): Update to new hook interface. | |
19467 | * config/m32r/m32r.c: Include opts.h. | |
19468 | (m32r_handle_option): Update to new hook interface. | |
19469 | * config/m68k/m68k.c: Include opts.h. | |
19470 | (m68k_handle_option): Update to new hook interface. | |
19471 | * config/mep/mep.c: Include opts.h. | |
19472 | (mep_handle_option): Update to new hook interface. | |
19473 | * config/microblaze/microblaze.c: Include opts.h. | |
19474 | (microblaze_handle_option): Update to new hook interface. | |
19475 | * config/mips/mips.c: Include opts.h. | |
19476 | (mips_handle_option): Update to new hook interface. | |
19477 | * config/mn10300/mn10300.c: Include opts.h. | |
19478 | (mn10300_handle_option): Update to new hook interface. | |
19479 | * config/pa/pa.c: Include opts.h. | |
19480 | (pa_handle_option): Update to new hook interface. | |
19481 | * config/pdp11/pdp11.c: Include opts.h. | |
19482 | (pdp11_handle_option): Update to new hook interface. | |
19483 | * config/rs6000/rs6000.c: Include opts.h. | |
19484 | (rs6000_handle_option): Update to new hook interface. | |
19485 | * config/rs6000/t-rs6000 (rs6000.o): Update dependencies. | |
19486 | * config/rx/rx.c: Include opts.h. | |
19487 | (rx_handle_option): Update to new hook interface. | |
19488 | * config/s390/s390.c: Include opts.h. | |
19489 | (s390_handle_option): Update to new hook interface. | |
19490 | * config/score/score.c: Include opts.h. | |
19491 | (score_handle_option): Update to new hook interface. | |
19492 | * config/sh/sh.c: Include opts.h. | |
19493 | (sh_handle_option): Update to new hook interface. | |
19494 | * config/sparc/sparc.c: Include opts.h. | |
19495 | (sparc_handle_option): Update to new hook interface. | |
19496 | * config/v850/v850.c: Include opts.h. | |
19497 | (v850_handle_option): Update to new hook interface. | |
19498 | ||
66017846 JM |
19499 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19500 | ||
19501 | * gcc.c (driver_unknown_option_callback): Only permit and save | |
19502 | unknown -Wno- options. | |
19503 | (driver_wrong_lang_callback): Save options directly instead of via | |
19504 | driver_unknown_option_callback. | |
19505 | ||
e8b97ccd EB |
19506 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
19507 | ||
19508 | * combine.c (simplify_set): Try harder to find the best CC mode when | |
19509 | simplifying a nested COMPARE on the RHS. | |
19510 | ||
ebb9f8b0 JM |
19511 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
19512 | ||
19513 | * config/alpha/gnu.h: Remove. | |
19514 | * config/arc: Remove directory. | |
19515 | * config/arm/netbsd.h: Remove. | |
19516 | * config/arm/t-pe: Remove. | |
19517 | * config/crx: Remove directory. | |
19518 | * config/i386/netbsd.h: Remove. | |
19519 | * config/m68hc11: Remove directory. | |
19520 | * config/m68k/uclinux-oldabi.h: Remove. | |
19521 | * config/mcore/mcore-pe.h: Remove. | |
19522 | * config/mcore/t-mcore-pe: Remove. | |
19523 | * config/netbsd-aout.h: Remove. | |
19524 | * config/rs6000/gnu.h: Remove. | |
19525 | * config/sh/sh-symbian.h: Remove. | |
19526 | * config/sh/symbian-base.c: Remove. | |
19527 | * config/sh/symbian-c.c: Remove. | |
19528 | * config/sh/symbian-cxx.c: Remove. | |
19529 | * config/sh/symbian-post.h: Remove. | |
19530 | * config/sh/symbian-pre.h: Remove. | |
19531 | * config/sh/t-symbian: Remove. | |
19532 | * config/svr3.h: Remove. | |
19533 | * config/vax/netbsd.h: Remove. | |
19534 | * config.build: Don't handle i[34567]86-*-pe. | |
19535 | * config.gcc: Remove handling of deprecations for most deprecated | |
19536 | targets. | |
19537 | (m68k-*-uclinuxoldabi*): Add to second deprecated list. | |
19538 | (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*, arm-*-pe*, crx-*-elf, | |
19539 | i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*|m6811-*-*, | |
19540 | m68hc12-*-*|m6812-*-*, m68k-*-uclinuxoldabi*, mcore-*-pe*, | |
19541 | powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*, | |
19542 | sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*): | |
19543 | Remove cases. | |
19544 | * config.host: Don't handle i[34567]86-*-pe. | |
19545 | * config/rs6000/linux64.h (LINK_OS_GNU_SPEC): Remove. | |
19546 | (ASM_SPEC32): Don't handle -mcall-gnu. | |
19547 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't handle | |
19548 | -mcall-gnu. | |
19549 | (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, CPP_SPEC, | |
19550 | STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): Don't handle -mcall-gnu. | |
19551 | (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, | |
19552 | LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): Remove. | |
19553 | (SUBTARGET_EXTRA_SPECS): Remove *_gnu specs. | |
19554 | * config/sh/sh-protos.h, config/sh/sh.c: Remove all code | |
19555 | conditional on SYMBIAN. | |
19556 | * configure.ac: Don't handle powerpc*-*-gnu*. | |
19557 | * configure: Regenerate. | |
19558 | * doc/extend.texi (interrupt attribute): Don't mention CRX. | |
19559 | * doc/install-old.texi (m6811, m6812): Don't mention. | |
19560 | * doc/install.texi (arc-*-elf*): Don't document multilib option. | |
19561 | (arc-*-elf, CRX, m6811-elf, m6812-elf): Remove. | |
19562 | (m68k-uclinuxoldabi): Don't mention. | |
19563 | * doc/invoke.texi (ARC Options, CRX Options, M68hc1x Options): | |
19564 | Remove. | |
19565 | (-mcall-gnu): Remove. | |
19566 | * doc/md.texi (CRX Architecture, Motorola 68HC11 & 68HC12 | |
19567 | families): Remove constraint documentation. | |
19568 | ||
999a7d80 MS |
19569 | 2011-03-22 Marius Strobl <marius@FreeBSD.org> |
19570 | ||
19571 | * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Replace with... | |
19572 | (FBSD_TARGET_CPU_CPP_BUILTINS): ...this. | |
19573 | (TARGET_GNU_TLS, TARGET_SUN_TLS): Define. | |
19574 | ||
45540bcf MM |
19575 | 2011-03-21 Michael Meissner <meissner@linux.vnet.ibm.com> |
19576 | ||
19577 | PR target/48226 | |
19578 | * config/rs6000/rs6000-c.c (rs6000_macro_to_expand): If we see a | |
19579 | vector when peeking at the next token for vector, don't expand the | |
19580 | keywords. | |
19581 | ||
980a0ff4 GJL |
19582 | 2011-03-21 Georg-Johann Lay <avr@gjlay.de> |
19583 | ||
19584 | * config/avr/avr-protos.h (expand_epilogue): Change prototype | |
19585 | * config/avr/avr.h (struct machine_function): Add field sibcall_fails. | |
19586 | * config/avr/avr.c (init_cumulative_args) | |
19587 | (avr_function_arg_advance): Use it. | |
19588 | * config/avr/avr.c (expand_epilogue): Add bool parameter. Handle | |
19589 | sibcall epilogues. | |
19590 | (TARGET_FUNCTION_OK_FOR_SIBCALL): Define to... | |
19591 | (avr_function_ok_for_sibcall): ...this new function. | |
19592 | (avr_lookup_function_attribute1): New static Function. | |
19593 | (avr_naked_function_p, interrupt_function_p) | |
19594 | (signal_function_p, avr_OS_task_function_p) | |
19595 | (avr_OS_main_function_p): Use it. | |
19596 | * config/avr/avr.md ("sibcall", "sibcall_value") | |
19597 | ("sibcall_epilogue"): New expander. | |
19598 | ("*call_insn", "*call_value_insn"): New insn. | |
19599 | ("call_insn", "call_value_insn"): Remove | |
19600 | ("call", "call_value", "epilogue"): Change expander to handle | |
19601 | sibling calls. | |
19602 | ||
49168734 NC |
19603 | 2011-03-21 Nick Clifton <nickc@redhat.com> |
19604 | ||
19605 | * doc/invoke.texi (Overall Options): Move closing brace to end of | |
19606 | options list. | |
19607 | (Optimization Options): Add missing @gol. | |
19608 | (Directory Options): Likewise. | |
19609 | (i386 and x86-64 Options): Likewise. | |
19610 | (RS6000 and PowerPC Options): Likewise. | |
19611 | (i386 and x86-64 Windows Options): Likewise. | |
19612 | (V850 Options): Add text missing from descriptions. | |
19613 | ||
bdfe906f RH |
19614 | 2011-03-22 Richard Henderson <rth@redhat.com> |
19615 | ||
19616 | * config/avr/avr.c (TARGET_EXCEPT_UNWIND_INFO): New. | |
19617 | (avr_incoming_return_addr_rtx): New. | |
19618 | (emit_push_byte): New. | |
19619 | (expand_prologue): Use it. Remove incorrect dwarf annotation for | |
19620 | SREG, RAMPZ, zero register. Push frame pointer by bytes. Add dwarf | |
19621 | annotation for __prologue_saves__. Fixup dwarf annotation for CFA. | |
19622 | (emit_pop_byte): New. | |
19623 | (expand_epilogue): Use it. Pop frame pointer by bytes. | |
19624 | * config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Remove. | |
19625 | (INCOMING_RETURN_ADDR_RTX): New. | |
19626 | (INCOMING_FRAME_SP_OFFSET): New. | |
19627 | (ARG_POINTER_CFA_OFFSET): New. | |
19628 | * config/avr/avr.md (*pushqi): Fix mode of auto-inc. | |
19629 | (*pushhi, *pushsi, *pushsf, popqi): Likewise. | |
19630 | (pophi): Remove. | |
19631 | ||
d090a5aa RH |
19632 | * dwarf2out.c (dwarf2out_frame_debug_expr) [rule 11]: Handle post_dec. |
19633 | ||
fdf3e18a NF |
19634 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
19635 | ||
19636 | * system.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Poison. | |
19637 | (FUNCTION_ARG_ADVANCE): Likewise. | |
19638 | * tm.texi.in: Change references to them to hook references. | |
19639 | * tm.texi: Regenerate. | |
19640 | * targhooks.c (default_function_arg): Eliminate check for target | |
19641 | macro. | |
19642 | (default_function_incoming_arg): Likewise. | |
19643 | (default_function_arg_advance): Likewise. | |
c78dd519 | 19644 | * target.def (function_arg, function_incoming_arg): Change to DEFHOOK. |
fdf3e18a NF |
19645 | (function_arg_advance): Likewise. |
19646 | * target-def.h: Eliminate FUNCTION_INCOMING_ARG check. | |
19647 | ||
009d3fcf NF |
19648 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
19649 | ||
19650 | * tree.c (build_call_1): New function. | |
19651 | (build_call_valist, build_call_array_loc, build_call_vec): Call it. | |
19652 | ||
7bec30e1 RG |
19653 | 2011-03-22 Richard Guenther <rguenther@suse.de> |
19654 | ||
19655 | PR tree-optimization/48228 | |
19656 | * tree-vrp.c (vrp_visit_phi_node): Do not stop propagating | |
19657 | for single-arg PHIs. | |
19658 | ||
0b7e851b AB |
19659 | 2011-03-22 Andrey Belevantsev <abel@ispras.ru> |
19660 | ||
19661 | PR rtl-optimization/48143 | |
19662 | * config/i386/sse.md (*sse2_cvtpd2dq): Add athlon_decode attribute. | |
19663 | (*sse2_cvttpd2dq, sse2_cvtss2sd, *sse2_cvtpd2ps, | |
19664 | sse2_cvtps2pd): Likewise. | |
19665 | ||
d89afca5 AK |
19666 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
19667 | ||
19668 | * recog.c (canonicalize_change_group): Use validate_unshare_change. | |
19669 | ||
f471fe72 RG |
19670 | 2011-03-22 Richard Guenther <rguenther@suse.de> |
19671 | ||
19672 | * gimple.c (gimple_rhs_class_table): POLYNOMIAL_CHREC is not | |
19673 | a valid RHS. Make DOT_PROD_EXPR and REALIGN_LOAD_EXPR ternary. | |
19674 | * tree-cfg.c (verify_gimple_assign_ternary): Allow DOT_PROD_EXPR | |
19675 | and REALIGN_LOAD_EXPR. | |
19676 | (verify_gimple_assign_single): Do not allow POLYNOMIAL_CHREC, | |
19677 | DOT_PROD_EXPR or REALIGN_LOAD_EXPR. | |
19678 | * expr.c (expand_expr_real_1): Move REALIGN_LOAD_EXPR and | |
19679 | DOT_PROD_EXPR case ... | |
19680 | (expand_expr_real_2): ... here. | |
19681 | * gimple-pretty-print.c (dump_ternary_rhs): Handle DOT_PROD_EXPR | |
19682 | and REALIGN_LOAD_EXPR. | |
19683 | * tree-data-ref.c (split_constant_offset): Bail out for all CHRECs. | |
19684 | * tree-vect-loop.c (vect_model_reduction_cost): Handle ternaries. | |
19685 | (vect_create_epilog_for_reduction): Likewise. | |
19686 | (vectorizable_reduction): Likewise. | |
19687 | * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Adjust. | |
19688 | * tree-vect-stmts.c (vectorizable_load): Likewise. | |
19689 | ||
f2f81d57 EB |
19690 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
19691 | ||
19692 | * gimplify.c (gimplify_cond_expr): Gimplify COMPOUND_EXPR conditions. | |
19693 | ||
ab081dd6 AK |
19694 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
19695 | ||
19696 | * config/s390/s390.c (s390_delegitimize_address): Fix offset | |
19697 | handling for PLTOFF/GOTOFF. | |
19698 | ||
6fd5332b NC |
19699 | 2011-03-22 Nick Clifton <nickc@redhat.com> |
19700 | ||
19701 | * config/i386/cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Remove | |
19702 | trailing backslash from the end of the macro definition. | |
19703 | ||
01841ac0 AK |
19704 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
19705 | ||
19706 | * config/s390/s390.c (s390_delegitimize_address): Handle PLTOFF | |
19707 | and PLT unspecs. | |
19708 | ||
2ef6ce06 RS |
19709 | 2011-03-21 Richard Sandiford <richard.sandiford@linaro.org> |
19710 | ||
19711 | * expr.h (prepare_operand): Move to... | |
19712 | * optabs.h (prepare_operand): ...here and change the insn code | |
19713 | parameter from "int" to "enum insn_code". | |
19714 | (insn_operand_matches): Declare. | |
19715 | * expr.c (init_expr_target): Use insn_operand_matches. | |
19716 | (compress_float_constant): Likewise. | |
19717 | * function.c (safe_insn_predicate, assign_parm_setup_reg): Likewise. | |
19718 | * optabs.c (can_compare_p, prepare_cmp_insn): Likewise. | |
19719 | (emit_cmp_and_jump_insn_1, gen_add2_insn, gen_add3_insn): Likewise. | |
c78dd519 UB |
19720 | (have_add2_insn, gen_sub2_insn, gen_sub3_insn, have_sub2_insn): |
19721 | Likewise. | |
2ef6ce06 RS |
19722 | (gen_cond_trap): Likewise. |
19723 | (prepare_operand): Likewise. Change icode to an insn_code. | |
19724 | (insn_operand_matches): New function. | |
19725 | * reload.c (find_reloads_address_1): Use insn_operand_matches. | |
19726 | * reload1.c (gen_reload): Likewise. | |
19727 | * targhooks.c (default_secondary_reload): Likewise. | |
19728 | ||
9e43ad68 UB |
19729 | 2011-03-21 Uros Bizjak <ubizjak@gmail.com> |
19730 | ||
9a96da32 UB |
19731 | * config/alpha/alpha.md (unspec): New define_c_enum. |
19732 | (unspecv): Ditto. | |
19733 | ||
19734 | 2011-03-21 Uros Bizjak <ubizjak@gmail.com> | |
19735 | ||
19736 | PR debug/48214 | |
9e43ad68 UB |
19737 | * config/alpha/alpha.c (alpha_pad_noreturn): Do not emit an unop |
19738 | between a call and its CALL_ARG_LOCATION note. | |
19739 | ||
31408f60 EB |
19740 | 2011-03-21 Eric Botcazou <ebotcazou@adacore.com> |
19741 | ||
19742 | * gimplify.c (gimplify_vla_decl): Set TREE_THIS_NOTRAP flag. | |
19743 | ||
19744 | 2011-03-21 Jakub Jelinek <jakub@redhat.com> | |
126e6609 JJ |
19745 | |
19746 | PR c/42544 | |
19747 | PR c/48197 | |
19748 | * c-common.c (shorten_compare): If primopN is first sign-extended | |
19749 | to opN and then zero-extended to result type, set primopN to opN. | |
19750 | ||
9dfd55f5 DJ |
19751 | 2011-03-21 Daniel Jacobowitz <dan@codesourcery.com> |
19752 | ||
19753 | * config/arm/unwind-arm.c (__gnu_unwind_pr_common): Correct test | |
19754 | for barrier handlers. | |
19755 | ||
f3c33d9d MM |
19756 | 2011-03-21 Michael Meissner <meissner@linux.vnet.ibm.com> |
19757 | ||
19758 | * config/rs6000/rs6000.md (UNSPEC_*, UNSPECV_*): Redefine all | |
19759 | UNSPEC constants to be in the unspec enumeration, and redefine | |
19760 | all UNSPECV constants to be in the unspecv enumeration, so that | |
19761 | dumps print which unspec/unspec_volatile this is. | |
19762 | * config/rs6000/vector.md (UNSPEC_*): Ditto. | |
19763 | * config/rs6000/paired.md (UNSPEC_*): Ditto. | |
19764 | * config/rs6000/vsx.md (UNSPEC_*): Ditto. | |
19765 | * config/rs6000/altivec.md (UNSPEC_*, UNSPECV_*): Ditto. | |
19766 | * config/rs6000/dfp.md (UNSPEC_*): Ditto. | |
19767 | ||
19768 | * config/rs6000/rs6000.md (UNSPECV_ISYNC, UNSPECV_LWSYNC): Rename | |
19769 | UNSPEC_ISYNC and UNSPEC_HWSYNC to UNSPECV_ISYNC and | |
19770 | UNSPECV_LWSYNC, since these are used as unspec_volatile. | |
19771 | * config/rs6000/sync.md (isync, lwsync): Ditto. | |
19772 | ||
ac43f774 RG |
19773 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
19774 | ||
19775 | * params.def (lto-min-partition): Fix typo. | |
19776 | ||
411cdbd8 RG |
19777 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
19778 | ||
19779 | PR c/47939 | |
19780 | * c-decl.c (grokdeclarator): Drop to the main variant only | |
19781 | for array types. Drop flag_gen_aux_info check. | |
19782 | ||
1cd9e416 RG |
19783 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
19784 | ||
19785 | PR translation/47911 | |
19786 | * params.def (lto-partitions): Fix typo. | |
19787 | (lto-min-partition): Fix wording. | |
19788 | ||
ada5ad67 AT |
19789 | 2011-03-21 Andreas Tobler <andreast@fgznet.ch> |
19790 | ||
19791 | * config/rs6000/t-freebsd: Remove duplication from file. | |
19792 | ||
f9613c9a RG |
19793 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
19794 | ||
19795 | PR middle-end/47661 | |
19796 | * gimple.c (is_gimple_condexpr): Use tree_could_throw_p. | |
19797 | ||
9bfbc1eb RG |
19798 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
19799 | ||
19800 | PR lto/48210 | |
19801 | * params.def (lto-partitions): Require at least 1 partition. | |
19802 | ||
a2268084 RO |
19803 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19804 | ||
19805 | * gthr-solaris.h: Remove. | |
19806 | * gthr.h (_SOLARIS_THREADS): Don't include gthr-solaris.h, remove. | |
19807 | * config/sol2.h (CPP_SUBTARGET_SPEC): Remove -threads support. | |
19808 | (LIB_SPEC): Likewise. | |
19809 | * config/sol2.opt (threads): Remove. | |
9e43ad68 | 19810 | * config.gcc (i[34567]86-*-solaris2*): Remove solaris threads support. |
a2268084 RO |
19811 | (sparc*-*-solaris2*): Likewise. |
19812 | * configure.ac (enable_threads): Enable solaris support. | |
19813 | * configure: Regenerate. | |
9e43ad68 | 19814 | * doc/invoke.texi (Option Summary, Solaris 2 Options): Remove -threads. |
a2268084 RO |
19815 | * doc/install.texi (Configuration, --enable-threads=lib): Remove |
19816 | solaris. | |
19817 | ||
c43d9a1b RO |
19818 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19819 | ||
19820 | * config.gcc: Obsolete *-*-solaris2.8*. | |
19821 | * doc/install.texi (Specific, *-*-solaris2*): Document it. | |
19822 | ||
084239f4 RO |
19823 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19824 | ||
19825 | PR bootstrap/48135 | |
19826 | * doc/install.texi (Prerequisites, Perl): Remove Glob.pm | |
19827 | reference. Solaris 8 perl works. | |
19828 | ||
64cadbe7 RO |
19829 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19830 | ||
19831 | PR bootstrap/48135 | |
19832 | * doc/install.texi (Prerequisites): Move jar etc. up. | |
19833 | Explain support library version requirements. | |
19834 | ||
eb975109 RO |
19835 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19836 | ||
19837 | PR bootstrap/48135 | |
19838 | * doc/install.texi (Prerequisites): Move Perl to build | |
19839 | requirements. Always necessary on Solaris 2 with Sun ld. | |
19840 | ||
8a509ffd RO |
19841 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19842 | ||
19843 | * doc/install.texi (Specific, alpha*-dec-osf5.1): Update for | |
19844 | binutils 2.21. | |
19845 | (Specific, i?86-*-solaris2.[89]): Likewise. | |
19846 | (Specific, i?86-*-solaris2.10): Likewise. | |
19847 | (Specific, mips-sgi-irix6): Likewise. | |
19848 | (Specific, *-*-solaris2*): Remove Sun Studio download URL. | |
19849 | Update for binutils 2.21. | |
19850 | ||
8fbc58a1 RO |
19851 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19852 | ||
19853 | * configure.ac (gcc_cv_lto_plugin): Fix typo. | |
19854 | Allow -fuse-linker-plugin for non-default plugin linker. | |
19855 | * configure: Regenerate. | |
19856 | ||
7e84ad0b NP |
19857 | 2011-03-21 Nicola Pero <nicola.pero@meta-innovation.com> |
19858 | ||
19859 | PR bootstrap/48167 | |
19860 | * gengtype.c (files_rules): Added rule for cp/parser.h. | |
19861 | ||
2f36e14b JJ |
19862 | 2011-03-21 Jakub Jelinek <jakub@redhat.com> |
19863 | ||
19864 | PR target/48213 | |
19865 | * config/s390/s390.c (s390_delegitimize_address): Don't call | |
19866 | lowpart_subreg if orig_x has BLKmode. | |
19867 | ||
62d784f7 KT |
19868 | 2011-03-21 Kai Tietz <ktietz@redhat.com> |
19869 | ||
19870 | PR target/12171 | |
9e43ad68 UB |
19871 | * doc/plugins.texi: Adjust documentation for plugin register_callback. |
19872 | * tree.h (attribute_spec): Add new member affects_type_identity. | |
19873 | * attribs.c (empty_attribute_table): Adjust attribute_spec | |
19874 | initializers. | |
62d784f7 KT |
19875 | * config/alpha/alpha.c: Likewise. |
19876 | * config/arc/arc.c: Likewise. | |
19877 | * config/arm/arm.c: Likewise. | |
19878 | * config/avr/avr.c: Likewise. | |
19879 | * config/bfin/bfin.c: Likewise. | |
19880 | * config/crx/crx.c: Likewise. | |
19881 | * config/darwin.h: Likewise. | |
19882 | * config/h8300/h8300.c: Likewise. | |
19883 | * config/i386/cygming.h: Likewise. | |
19884 | * config/i386/i386.c: Likewise. | |
19885 | * config/ia64/ia64.c: Likewise. | |
19886 | * config/m32c/m32c.c: Likewise. | |
19887 | * config/m32r/m32r.c: Likewise. | |
19888 | * config/m68hc11/m68hc11.c: Likewise. | |
19889 | * config/m68k/m68k.c: Likewise. | |
19890 | * config/mcore/mcore.c: Likewise. | |
19891 | * config/mep/mep.c: Likewise. | |
19892 | * config/microblaze/microblaze.c: Likewise. | |
19893 | * config/mips/mips.c: Likewise. | |
19894 | * config/rs6000/rs6000.c: Likewise. | |
19895 | * config/rx/rx.c: Likewise. | |
19896 | * config/sh/sh.c: Likewise. | |
19897 | * config/sol2.h: Likewise. | |
19898 | * config/sparc/sparc.c: Likewise. | |
19899 | * config/spu/spu.c: Likewise. | |
19900 | * config/stormy16/stormy16.c: Likewise. | |
19901 | * config/v850/v850.c: Likewise. | |
19902 | ||
54833ec0 CLT |
19903 | 2011-03-21 Chung-Lin Tang <cltang@codesourcery.com> |
19904 | ||
19905 | * simplify-rtx.c (simplify_binary_operation_1): Handle | |
19906 | (xor (and A B) C) case when B and C are both constants. | |
19907 | ||
14a41392 MX |
19908 | 2011-03-21 Mingjie Xing <mingjie.xing@gmail.com> |
19909 | ||
19910 | * tree-dfa.c (add_referenced_var): Fix typo in comment. | |
19911 | ||
806c3492 EB |
19912 | 2011-03-20 Eric Botcazou <ebotcazou@adacore.com> |
19913 | ||
19914 | PR bootstrap/48168 | |
19915 | * config/sparc/sparc.c (sparc_delegitimize_address): Add new pattern. | |
19916 | ||
65e0a0f3 JJ |
19917 | 2011-03-20 Jakub Jelinek <jakub@redhat.com> |
19918 | ||
19919 | PR rtl-optimization/48156 | |
19920 | * df-core.c (df_get_bb_dirty): Use df_lr if df_live is NULL, | |
19921 | assume df and df_lr are not NULL. | |
19922 | ||
b6a75dda RR |
19923 | 2011-03-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
19924 | ||
19925 | PR debug/48023 | |
19926 | * config/arm/arm.c (create_fix_barrier): Do not emit a minipool | |
19927 | between a call and its CALL_ARG_LOCATION note. | |
19928 | ||
5969b52d KK |
19929 | 2011-03-19 Kaz Kojima <kkojima@gcc.gnu.org> |
19930 | ||
19931 | PR debug/48178 | |
19932 | * config/sh/sh.c (find_barrier): Don't emit a constant pool | |
19933 | between a call and its corresponding CALL_ARG_LOCATION note. | |
19934 | ||
f773c2bd AS |
19935 | 2011-03-19 Anatoly Sokolov <aesok@post.ru> |
19936 | ||
19937 | * cfgcleanup.c (mark_effect): Use bitmap_set_range/bitmap_clear_range | |
19938 | instead of loop. Use HARD_REGISTER_NUM_P predicate. | |
19939 | * haifa-sched.c (setup_ref_regs): Ditto. | |
19940 | * caller-save.c (add_used_regs_1): Ditto. | |
19941 | * dse.c (look_for_hardregs): Ditto. | |
19942 | * df-problems.c (df_simulate_one_insn_forwards): Ditto. | |
19943 | * sched-rgn.c (check_live_1): Ditto. | |
19944 | ||
8bf872f9 JM |
19945 | 2011-03-18 Joseph Myers <joseph@codesourcery.com> |
19946 | ||
19947 | * c-decl.c (diagnose_mismatched_decls): Give an error for | |
19948 | redefining a typedef with variably modified type. | |
19949 | ||
ff8e2159 JM |
19950 | 2011-03-18 Joseph Myers <joseph@codesourcery.com> |
19951 | ||
19952 | * c-decl.c (grokfield): Don't allow typedefs for structures or | |
19953 | unions with no tag by default. | |
19954 | * doc/extend.texi (Unnamed Fields): Update. | |
19955 | ||
16cc4440 UB |
19956 | 2011-03-18 Uros Bizjak <ubizjak@gmail.com> |
19957 | ||
19958 | * config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2): | |
19959 | Rewrite using indirect functions. | |
19960 | (lwp_slwpcb): Ditto. | |
19961 | * config/i386/sse.md (avx_vextractf128<mode>): Ditto. | |
19962 | (avx_vinsertf128<mode>): Ditto. | |
19963 | ||
e101e12e AK |
19964 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
19965 | ||
19966 | * config/s390/s390.c (s390_delegitimize_address): Handle GOTOFF | |
19967 | unspecs. | |
19968 | ||
4627c7fb AK |
19969 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
19970 | ||
19971 | * config/s390/s390.c (s390_chunkify_start): Prevent literal pool | |
9e43ad68 | 19972 | splitting between a call and its corresponding CALL_ARG_LOCATION note. |
4627c7fb | 19973 | |
2d36b47f MK |
19974 | 2011-03-18 Maxim Kuvyrkov <maxim@codesourcery.com> |
19975 | ||
19976 | PR rtl-optimization/48170 | |
19977 | * gcse.c (hoist_code): Remove bogus asserts. | |
19978 | ||
2a3d7659 JL |
19979 | 2011-03-18 Georg-Johann Lay <avr@gjlay.de> |
19980 | ||
19981 | * ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost | |
19982 | computation for prologue/epilogue. | |
19983 | ||
34c3ef05 RO |
19984 | 2011-03-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19985 | ||
19986 | * Makefile.in (check-consistency): Remove. | |
19987 | ||
81f2b976 JJ |
19988 | 2011-03-18 Jakub Jelinek <jakub@redhat.com> |
19989 | ||
19990 | PR debug/48176 | |
19991 | * dwarf2out.c (dwarf2out_finish): Call output_aranges even when | |
19992 | arange_table_in_use is 0, but either text_section_used or | |
19993 | cold_text_section_used is true. Don't call it if | |
19994 | !info_section_emitted. | |
19995 | ||
68fd7765 AS |
19996 | 2011-03-18 Anatoly Sokolov <aesok@post.ru> |
19997 | ||
19998 | * config/avr/avr.h (RET_REGISTER, LIBCALL_VALUE, | |
19999 | FUNCTION_VALUE_REGNO_P): Remove. | |
20000 | * config/avr/avr-protos.h (avr_ret_register, avr_libcall_value): | |
20001 | Remove. | |
20002 | * config/avr/avr.c (avr_ret_register): Make static inline. | |
20003 | (avr_function_value_regno_p): New function. | |
20004 | (avr_libcall_value): Make static. Add 'func' argument. | |
20005 | (avr_function_value): Make static. Rename 'func' argument to | |
20006 | 'fn_decl_or_type', forward it to avr_libcall_value. Call | |
20007 | avr_ret_register function instead of RET_REGISTER macro. | |
b8bc3a43 | 20008 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. |
68fd7765 | 20009 | |
b4ef8aac JM |
20010 | 2011-03-18 Jason Merrill <jason@redhat.com> |
20011 | ||
20012 | PR c++/23372 | |
20013 | * gimplify.c (gimplify_arg): Strip redundant TARGET_EXPR. | |
20014 | ||
09a52fc3 RG |
20015 | 2011-03-18 Richard Guenther <rguenther@suse.de> |
20016 | ||
20017 | * doc/install.texi (--enable-gold): Remove. | |
20018 | (--with-plugin-ld): Document. | |
20019 | * doc/invoke.texi (-fuse-linker-plugin): Clarify. | |
20020 | ||
2a3d7659 | 20021 | 2011-03-18 Andrew Pinski <pinskia@gmail.com> |
3bf162a0 AP |
20022 | |
20023 | PR middle-end/47790 | |
20024 | * expr.c (optimize_bitfield_assignment_op): Revamp to work | |
20025 | again after expansion changes. | |
20026 | ||
2abbb0fe CLT |
20027 | 2011-03-18 Chung-Lin Tang <cltang@codesourcery.com> |
20028 | ||
20029 | * combine.c (try_combine): Do simplification only call of | |
20030 | subst() on i2 even when i1 is present. Update comments. | |
20031 | ||
2efd0aa6 KK |
20032 | 2011-03-18 Kaz Kojima <kkojima@gcc.gnu.org> |
20033 | ||
20034 | * config/sh/sh.c (sh_delegitimize_address): Handle UNSPEC_SYMOFF | |
20035 | and UNSPEC_PCREL_SYMOFF. | |
20036 | ||
30a49b23 AK |
20037 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
20038 | ||
20039 | * config/s390/s390.md: Use define_c_enum for the unspec constant | |
20040 | definitions. | |
20041 | ||
419e1853 JJ |
20042 | 2011-03-18 Richard Henderson <rth@redhat.com> |
20043 | Jakub Jelinek <jakub@redhat.com> | |
20044 | ||
20045 | PR bootstrap/48161 | |
20046 | * expr.c (expand_expr_addr_expr_1): Use simplify_gen_binary | |
20047 | instead of gen_rtx_PLUS if EXPAND_SUM or EXPAND_INITIALIZER. | |
20048 | ||
24da2019 AS |
20049 | 2011-03-17 Anatoly Sokolov <aesok@post.ru> |
20050 | ||
20051 | * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
20052 | * config/v850/v850-protos.h (v850_output_addr_const_extra): Remove. | |
20053 | * config/v850/v850.c (v850_output_addr_const_extra): Make static. | |
20054 | Change return type to bool. | |
20055 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
20056 | ||
a82ff31f JJ |
20057 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
20058 | ||
8b29c87a JJ |
20059 | PR debug/48163 |
20060 | * var-tracking.c (prepare_call_arguments): If CALL target | |
20061 | is a non-SYMBOL_REF CONSTANT_P, just add that into the list as | |
20062 | pc instead of looking it up using cselib_lookup and use | |
20063 | Pmode for it if x has VOIDmode. | |
20064 | * dwarf2out.c (gen_subprogram_die): If also both first and | |
20065 | second CONCAT arguments are VOIDmode, use mode of CONCAT itself. | |
20066 | ||
a82ff31f JJ |
20067 | PR debug/48163 |
20068 | * function.c (assign_parms): For data.passed_pointer parms | |
20069 | use MEM of data.entry_parm instead of data.entry_parm itself | |
20070 | as DECL_INCOMING_RTL. | |
20071 | * dwarf2out.c (rtl_for_decl_location): Use DECL_INCOMING_RTL | |
20072 | also when passed and declared mode is the same, DECL_RTL | |
20073 | is a MEM with pseudo as address and DECL_INCOMING_RTL is | |
20074 | a MEM too. | |
20075 | ||
82ce305c JL |
20076 | 2011-03-16 Jeff Law <law@redhat.com> |
20077 | ||
20078 | PR rtl-optimization/37273 | |
20079 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
20080 | handle them like argument loads from stack slots. Do not double | |
20081 | count memory for memory constants and argument loads from stack slots. | |
20082 | ||
fe58e02b L |
20083 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
20084 | ||
20085 | PR debug/48160 | |
20086 | * var-tracking.c (prepare_call_arguments): Check SUBREG. | |
20087 | ||
6fc4dbc7 L |
20088 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
20089 | ||
20090 | PR target/48171 | |
20091 | * config/i386/i386.opt: Add Save to -mavx and -mfma. | |
20092 | ||
db3ed0b3 JJ |
20093 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
20094 | ||
8054a389 JJ |
20095 | PR bootstrap/48153 |
20096 | * dwarf2out.c (mem_loc_descriptor) <case ENTRY_VALUE>: Return NULL | |
20097 | if dwarf_strict. | |
20098 | (gen_subprogram_die): Don't add call_site DIEs if dwarf_strict. | |
20099 | Clear call_arg_locations and call_arg_loc_last always. | |
20100 | ||
db3ed0b3 JJ |
20101 | PR middle-end/48152 |
20102 | * var-tracking.c (prepare_call_arguments): If argument needs to be | |
20103 | passed by reference, adjust argtype and mode. | |
20104 | ||
1bce4ff3 RG |
20105 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
20106 | ||
20107 | PR middle-end/48134 | |
20108 | * tree-ssa.c (insert_debug_temp_for_var_def): If we propagated | |
20109 | a value make sure to fold the statement. | |
20110 | ||
7c71147d CLT |
20111 | 2011-03-17 Chung-Lin Tang <cltang@codesourcery.com> |
20112 | ||
20113 | PR target/43872 | |
20114 | * config/arm/arm.c (arm_get_frame_offsets): Adjust early | |
20115 | return condition with !cfun->calls_alloca. | |
20116 | ||
0e1ee172 RG |
20117 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
20118 | ||
20119 | PR bootstrap/48148 | |
20120 | * lto-cgraph.c (input_overwrite_node): Clear the abstract | |
20121 | origin for decls in other ltrans units. | |
20122 | (input_varpool_node): Likewise. | |
20123 | ||
f8bce518 RG |
20124 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
20125 | ||
20126 | PR middle-end/48165 | |
20127 | * tree-object-size.c (compute_object_offset): Properly return | |
20128 | the offset operand of MEM_REFs as sizetype. | |
20129 | ||
1b6fa860 JJ |
20130 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
20131 | ||
dabd47e7 JJ |
20132 | PR rtl-optimization/48141 |
20133 | * params.def (PARAM_MAX_DSE_ACTIVE_LOCAL_STORES): New. | |
20134 | * dse.c: Include params.h. | |
20135 | (active_local_stores_len): New variable. | |
20136 | (add_wild_read, dse_step1): Clear it when setting active_local_stores | |
20137 | to NULL. | |
20138 | (record_store, check_mem_read_rtx): Decrease it when removing | |
20139 | from the chain. | |
20140 | (scan_insn): Likewise. Increase it when adding to chain, if it | |
20141 | reaches PARAM_MAX_DSE_ACTIVE_LOCAL_STORES limit, set to 1 and | |
20142 | set active_local_stores to NULL before the addition. | |
20143 | * Makefile.in (dse.o): Depend on $(PARAMS_H). | |
20144 | ||
1b6fa860 JJ |
20145 | PR rtl-optimization/48141 |
20146 | * dse.c (record_store): If no positions are needed in an insn | |
20147 | that cannot be deleted, at least unchain it from active_local_stores. | |
20148 | ||
7b5cb7d6 DS |
20149 | 2011-03-16 Dodji Seketeli <dodji@redhat.com> |
20150 | ||
20151 | PR debug/47510 | |
20152 | * dwarf2out.c (strip_naming_typedef): Factorize out of ... | |
20153 | (lookup_type_die_strip_naming_typedef): ... here. | |
20154 | (get_context_die): Use it. | |
20155 | (gen_typedef_die): Add a DW_AT_{,MIPS_}linkage_name attribute to | |
20156 | the anonymous struct named by the naming typedef. | |
20157 | ||
585e9d9d L |
20158 | 2011-03-16 H.J. Lu <hongjiu.lu@intel.com> |
20159 | ||
20160 | PR target/48154 | |
20161 | * config/i386/i386.c (ix86_builtin_vectorized_function): Check | |
20162 | TARGET_ROUND for BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins. | |
20163 | ||
6261ab0e JL |
20164 | 2011-03-16 Jeff Law <law@redhat.com> |
20165 | ||
20166 | * tree-vrp.c (identify_jump_threads): Slightly simplify type | |
16cc4440 | 20167 | check for operands of conditional. Allow type to be a pointer. |
6261ab0e | 20168 | |
0b0081ec RG |
20169 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
20170 | ||
20171 | PR tree-optimization/48149 | |
20172 | * fold-const.c (fold_binary_loc): Fold | |
20173 | COMPLEX_EXPR <REALPART_EXPR <x>, IMAGPART_EXPR <x>>. | |
20174 | ||
64a3d647 RG |
20175 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
20176 | ||
20177 | PR tree-optimization/26134 | |
20178 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Handle rewriting | |
20179 | complex part accesses to REALPART_EXPR and IMAGPART_EXPR. | |
20180 | (non_rewritable_mem_ref_base): Handle complex type component | |
20181 | accesses, constrain offsets for vector and complex extracts | |
20182 | more properly. | |
20183 | ||
ef13324e RG |
20184 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
20185 | ||
20186 | PR tree-optimization/48146 | |
20187 | * tree-ssa-sink.c (sink_code_in_bb): Manually update virtual | |
20188 | operands avoiding the need for renaming. | |
20189 | ||
f0eddb90 RG |
20190 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
20191 | ||
20192 | * gimple-fold.c (maybe_fold_reference): Open-code relevant | |
20193 | constant folding. Move MEM_REF canonicalization first. | |
20194 | Rely on fold_const_aggregate_ref for initializer folding. | |
20195 | * tree-ssa-ccp.c (ccp_fold): Handle constant vector extracts. | |
20196 | ||
e42348b8 JJ |
20197 | 2011-03-16 Jakub Jelinek <jakub@redhat.com> |
20198 | ||
29f10e71 JJ |
20199 | PR middle-end/48136 |
20200 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure | |
20201 | arg0/arg1 or their arguments are always fold converted to matching | |
20202 | types. | |
20203 | ||
e42348b8 JJ |
20204 | * var-tracking.c (prepare_call_arguments): Add ATTRIBUTE_UNUSED |
20205 | to nargs. | |
20206 | ||
55b46574 RO |
20207 | 2011-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
20208 | ||
20209 | PR lto/46944 | |
20210 | * configure.ac (gcc_cv_gld_major_version, gcc_cv_gld_minor): | |
20211 | Handle in-tree gold. | |
20212 | (ld_vers): Extract binutils version for gold. | |
20213 | (gcc_cv_ld_hidden): Handle gold here. | |
20214 | (gcc_cv_lto_plugin): Determine level of linker plugin support. | |
20215 | * configure: Regenerate. | |
20216 | * config.in: Regenerate. | |
20217 | * gcc.c: Only use LTO plugin if HAVE_LTO_PLUGIN > 0, reject | |
20218 | -fuse-linker-plugin otherwise. | |
20219 | (LINK_PLUGIN_SPEC): Define. Extract from LINK_COMMAND_SPEC. | |
20220 | (LINK_COMMAND_SPEC): Use it. | |
20221 | (main): Only look for LTOPLUGINSONAME if HAVE_LTO_PLUGIN > 0. | |
20222 | ||
2b1c5433 JJ |
20223 | 2011-03-16 Jakub Jelinek <jakub@redhat.com> |
20224 | ||
c2969d8e JJ |
20225 | * emit-rtl.c (try_split): Don't call copy_call_info debug hook. |
20226 | * calls.c: Remove debug.h include. | |
20227 | (emit_call_1): Don't call virtual_call_token debug hook. | |
20228 | * dwarf2out.c (debug_dcall_section, debug_vcall_section, | |
20229 | dcall_entry, vcall_entry, dcall_table, vcall_table, vcall_insn, | |
20230 | vcall_insn_table, DEBUG_DCALL_SECTION, DEBUG_VCALL_SECTION, | |
20231 | size_of_dcall_table, output_dcall_table, size_of_vcall_table, | |
20232 | output_vcall_table, dwarf2out_direct_call, vcall_insn_table_hash, | |
20233 | vcall_insn_table_eq, store_vcall_insn, lookup_vcall_insn, | |
20234 | dwarf2out_virtual_call_token, dwarf2out_copy_call_info, | |
20235 | dwarf2out_virtual_call): Remove. | |
20236 | (dwarf2_debug_hooks): Remove direct_call, virtual_call_token, | |
20237 | copy_call_info and virtual_call hooks. | |
20238 | (dwarf2out_init): Don't initialize vcall_insn_table, | |
20239 | debug_dcall_section and debug_vcall_section. | |
20240 | (prune_unused_types): Don't mark nodes from dcall_table. | |
20241 | (dwarf2out_finish): Don't output dcall or vcall tables. | |
20242 | * final.c (final_scan_insn): Don't call direct_call or | |
20243 | virtual_call debug hooks. | |
20244 | * debug.h (struct gcc_debug_hooks): Remove direct_call, | |
20245 | virtual_call_token, copy_call_info and virtual_call hooks. | |
20246 | (debug_nothing_uid): Remove prototype. | |
20247 | * sdbout.c (sdb_debug_hooks): Remove direct_call, virtual_call_token, | |
20248 | copy_call_info and virtual_call hooks. | |
20249 | * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. | |
20250 | * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Likewise. | |
20251 | * debug.c (do_nothing_debug_hooks): Likewise. | |
20252 | (debug_nothing_uid): Remove. | |
20253 | * doc/invoke.texi (-fenable-icf-debug): Remove. | |
20254 | * common.opt (-fenable-icf-debug): Likewise. | |
20255 | ||
325f5379 JJ |
20256 | * calls.c (emit_call_1): Set MEM_EXPR on call's MEM. |
20257 | * var-tracking.c (prepare_call_arguments): Use MEM_EXPR on | |
20258 | call's MEM. Handle functions returning aggregate through a hidden | |
20259 | first pointer. For virtual calls add clobbered pc to call arguments | |
20260 | chain. | |
20261 | * dwarf2out.c (gen_subprogram_die): Emit | |
20262 | DW_AT_GNU_call_site_target_clobbered if DW_AT_GNU_call_site_target | |
20263 | can't be emitted. | |
20264 | ||
a58a8e4b JJ |
20265 | PR debug/45882 |
20266 | * rtl.def (ENTRY_VALUE): Change format from "e" to "0". | |
20267 | * rtl.h (ENTRY_VALUE_EXP): Define. | |
20268 | * rtl.c (rtx_equal_p_cb, rtx_equal_p): Handle ENTRY_VALUE. | |
20269 | * cselib.c (rtx_equal_for_cselib_p, cselib_hash_rtx): Likewise. | |
20270 | * print-rtl.c (print_rtx): Likewise. | |
20271 | * gengtype.c (adjust_field_rtx_def): Likewise. | |
20272 | * var-tracking.c (vt_add_function_parameter): Adjust | |
20273 | gen_rtx_ENTRY_VALUE uses, use ENTRY_VALUE_EXP macro. | |
20274 | * dwarf2out.c (mem_loc_descriptor): Use ENTRY_VALUE_EXP macro. | |
20275 | * cfgexpand.c (expand_debug_expr): If a SSA_NAME without | |
20276 | partition is a default definition of a PARM_DECL, use ENTRY_VALUE | |
20277 | of its DECL_INCOMING_RTL if possible, or its DECL_RTL if set. | |
20278 | ||
2b1c5433 JJ |
20279 | * final.c (final_scan_insn): Handle NOTE_INSN_CALL_ARG_LOCATION. |
20280 | Call var_location debug hook even on CALL_INSNs. | |
20281 | (rest_of_clean_state): Don't print NOTE_INSN_CALL_ARG_LOCATION. | |
20282 | * rtl.def (ENTRY_VALUE): New. | |
20283 | * dwarf2out.c: Include cfglayout.h. | |
20284 | (dwarf_stack_op_name, size_of_loc_descr, output_loc_operands, | |
20285 | output_loc_operands_raw): Handle DW_OP_GNU_entry_value. | |
20286 | (struct call_arg_loc_node): New type. | |
20287 | (call_arg_locations, call_arg_loc_last, block_map, call_site_count, | |
20288 | tail_call_site_count): New variables. | |
20289 | (dwarf_tag_name): Handle DW_TAG_GNU_call_site and | |
20290 | DW_TAG_GNU_call_site_parameter. | |
20291 | (dwarf_attr_name): Handle DW_AT_GNU_call_site_value, | |
20292 | DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target, | |
20293 | DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call, | |
20294 | DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites | |
20295 | and DW_AT_GNU_all_source_call_sites. | |
20296 | (mem_loc_descriptor): Handle ENTRY_VALUE. | |
20297 | (add_src_coords_attributes): Don't add enything if | |
20298 | DECL_SOURCE_LOCATION is UNKNOWN_LOCATION. | |
20299 | (dwarf2out_abstract_function): Save and clear call_arg_location, | |
20300 | call_site_count and tail_call_site_count around dwarf2out_decl call. | |
20301 | (gen_call_site_die): New function. | |
20302 | (gen_subprogram_die): Emit DW_TAG_GNU_call_site DIEs for call sites. | |
20303 | (gen_lexical_block_die, gen_inlined_subroutine_die): Update block_map. | |
20304 | (dwarf2out_function_decl): Clear call_arg_locations, | |
20305 | call_arg_loc_last, set call_site_count and tail_call_site_count | |
20306 | to -1 and free block_map. | |
20307 | (dwarf2out_var_location): Handle NOTE_INSN_CALL_ARG_LOCATION and | |
20308 | CALL_INSNs. Add NOTE_DURING_CALL_P var location notes even when not | |
20309 | followed by any real instructions. | |
20310 | (dwarf2out_begin_function): Set call_site_count and | |
20311 | tail_call_site_count to 0. | |
20312 | (resolve_addr): If DW_AT_abstract_origin of DW_TAG_GNU_call_site | |
20313 | is dw_val_class_addr, attempt to look it up again, for DECL_EXTERNAL | |
20314 | attempt to force a DIE for it and worst case remove the attribute. | |
20315 | (resolve_one_addr): For TREE_CONSTANT_POOL_ADDRESS_P SYMBOL_REFs | |
20316 | check TREE_ASM_WRITTEN of DECL_INITIAL of the decl instead of | |
20317 | the decl itself. | |
20318 | * var-tracking.c: Include tm_p.h. | |
20319 | (vt_stack_adjustments): For calls call note_register_arguments. | |
20320 | (argument_reg_set): New variable. | |
20321 | (add_stores): For MO_VAL_SET of non-tracked regs from argument_reg_set | |
20322 | ensure the VALUE is resolved. | |
20323 | (call_arguments): New variable. | |
20324 | (prepare_call_arguments): New function. | |
20325 | (add_with_sets): For MO_CALL set u.loc from call_arguments and clear it. | |
20326 | (struct expand_loc_callback_data): Add ignore_cur_loc field. | |
20327 | (vt_expand_loc_callback): If ignore_cur_loc, don't look at cur_loc and | |
20328 | always use the best expression. | |
20329 | (vt_expand_loc): Add ignore_cur_loc argument. | |
20330 | (vt_expand_loc_dummy): Clear ignore_cur_loc field. | |
20331 | (emit_note_insn_var_location): Adjust vt_expand_loc callers. | |
20332 | (emit_notes_in_bb) <case MO_CALL>: Add NOTE_INSN_CALL_ARG_LOCATION | |
20333 | note for all calls. | |
20334 | (vt_add_function_parameter): Use cselib_lookup_from_insn. | |
20335 | If dv is a VALUE, enter into hash table also ENTRY_VALUE for the | |
20336 | argument. Don't call cselib_preserve_only_values and | |
20337 | cselib_reset_table. | |
20338 | (note_register_arguments): New function. | |
20339 | (vt_initialize): Compute argument_reg_set. Call | |
20340 | vt_add_function_parameters before processing basic blocks instead of | |
20341 | afterwards. For calls call prepare_call_arguments before calling | |
20342 | cselib_process_insn. | |
20343 | * print-rtl.c (print_rtx): Handle NOTE_INSN_CALL_ARG_LOCATION. | |
20344 | * Makefile.in (dwarf2out.o): Depend on $(CFGLAYOUT_H). | |
20345 | (var-tracking.o): Depend on $(TM_P_H). | |
20346 | * cfglayout.h (insn_scope): New prototype. | |
20347 | * gengtype.c (adjust_field_rtx_def): Handle NOTE_INSN_CALL_ARG_LOCATION. | |
20348 | * cfglayout.c (insn_scope): No longer static. | |
20349 | * insn-notes.def (CALL_ARG_LOCATION): New. | |
20350 | * calls.c (expand_call, emit_library_call_value_1): Put USEs for | |
20351 | MEM arguments into CALL_INSN_FUNCTION_USAGE unconditionally. | |
20352 | * integrate.c (set_block_origin_self, set_block_abstract_flags): Do | |
20353 | nothing for DECL_EXTERNAL BLOCK_VARS. | |
20354 | ||
9ef13bd0 AM |
20355 | 2011-03-16 Alan Modra <amodra@gmail.com> |
20356 | ||
20357 | PR target/45844 | |
20358 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Don't | |
20359 | create invalid offset address for vsx splat insn. | |
20360 | * config/rs6000/predicates.md (splat_input_operand): New. | |
20361 | * config/rs6000/vsx.md (vsx_splat_*): Use it. | |
20362 | ||
56b67510 XDL |
20363 | 2011-03-15 Xinliang David Li <davidxl@google.com> |
20364 | ||
20365 | PR c/47837 | |
20366 | * tree-ssa-uninit.c (pred_chain_length_cmp): New function. | |
20367 | (normalize_preds): New function. | |
20368 | (is_use_properly_guarded): Normalize def predicates. | |
20369 | ||
80fffdef RR |
20370 | 2011-03-15 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
20371 | ||
732f37c6 | 20372 | PR target/46788 |
80fffdef RR |
20373 | * config/arm/arm.md (arm_movtas_ze): Use 'L' instead of 'c' |
20374 | in the output template. | |
20375 | ||
930672ad RG |
20376 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
20377 | ||
20378 | PR middle-end/47650 | |
20379 | * tree-pretty-print.c (dump_function_declaration): Properly | |
20380 | dump unprototyped and varargs function types. | |
20381 | ||
c7ee7b45 RG |
20382 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
20383 | ||
20384 | PR tree-optimization/13954 | |
20385 | * tree-ssa-sccvn.c (vn_reference_lookup_3): Look through memcpy | |
20386 | and friends. | |
20387 | ||
b2ad5e37 RG |
20388 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
20389 | ||
20390 | PR tree-optimization/48037 | |
20391 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Rewrite vector | |
20392 | selects into BIT_FIELD_REFs. | |
20393 | (non_rewritable_mem_ref_base): Check if a MEM_REF is a | |
20394 | vector select. | |
20395 | ||
7ee93d4e JJ |
20396 | 2011-03-15 Jakub Jelinek <jakub@redhat.com> |
20397 | ||
20398 | PR tree-optimization/48129 | |
20399 | * builtins.c (fold_builtin_snprintf): Convert to type of | |
20400 | built_in_decls[BUILT_IN_SNPRINTF] retval instead of | |
20401 | implicit_built_in_decls[BUILT_IN_SNPRINTF] retval. | |
20402 | ||
e106efc7 RG |
20403 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
20404 | ||
20405 | PR tree-optimization/41490 | |
20406 | * tree-ssa-dce.c (propagate_necessity): Handle returns without | |
20407 | value but with VUSE. | |
20408 | * tree-ssa-operands.c (parse_ssa_operands): Add a VUSE on all | |
20409 | return statements. | |
20410 | * tree-ssa-sink.c (statement_sink_location): Fix store sinking. | |
20411 | * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Handle virtual PHIs. | |
20412 | * tree-tailcall.c (find_tail_calls): Ignore returns. | |
20413 | ||
17dea42f RG |
20414 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
20415 | ||
20416 | PR middle-end/48031 | |
20417 | * fold-const.c (fold_indirect_ref_1): Do not create new variable-sized | |
20418 | or variable-indexed array accesses when in gimple form. | |
20419 | ||
01c77a60 RG |
20420 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
20421 | ||
16cc4440 | 20422 | * config/i386/i386.c (ix86_emit_swdivsf): Implement more efficiently. |
01c77a60 | 20423 | |
77b0791e AM |
20424 | 2011-03-15 Alan Modra <amodra@gmail.com> |
20425 | ||
20426 | PR target/48032 | |
20427 | * config/rs6000/rs6000.c (offsettable_ok_by_alignment): Do not | |
20428 | presume symbol_refs without a symbol_ref_decl are suitably | |
20429 | aligned, nor other trees we may see here. Handle anchor symbols. | |
20430 | (legitimate_constant_pool_address_p): Comment. Add mode param. | |
20431 | Check cmodel=medium addresses. Adjust all calls. | |
20432 | (rs6000_emit_move): Don't call offsettable_ok_by_alignment on | |
20433 | creating cmodel=medium optimized access to locals. | |
20434 | * config/rs6000/constraints.md (R): Pass QImode to | |
20435 | legitimate_constant_pool_address_p. | |
20436 | * config/rs6000/predicates.md (input_operand): Pass mode to | |
20437 | legitimate_constant_pool_address_p. | |
20438 | * config/rs6000/rs6000-protos.h (legitimate_constant_pool_address_p): | |
20439 | Update prototype. | |
20440 | ||
35f61ba4 MM |
20441 | 2011-03-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
20442 | ||
20443 | PR target/48053 | |
20444 | * config/rs6000/rs6000.md (movdi split for 32-bit): Don't split up | |
20445 | 64-bit constants being loaded into registers other than GPRs such | |
20446 | as loading 0 into a VSX register. | |
20447 | ||
07332e6d RO |
20448 | 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
20449 | ||
16cc4440 | 20450 | * config/sol2.c (solaris_assemble_visibility): Remove obsolete URLs. |
07332e6d | 20451 | |
de888d90 JJ |
20452 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
20453 | ||
ba3ceb2d JJ |
20454 | PR middle-end/47917 |
20455 | * builtins.c (fold_builtin_snprintf): New function. | |
20456 | (fold_builtin_3): Call it for BUILT_IN_SNPRINTF. | |
20457 | (fold_builtin_4): Likewise. | |
20458 | ||
2e64f8b8 JJ |
20459 | PR middle-end/38878 |
20460 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Add | |
20461 | STRIP_NOPS on arg0 and arg1. When optimizing X +- C == X | |
20462 | and C - X == X also strip nops from +/-/p+ operand. | |
20463 | When optimizing -X == C, fold C to arg0's type. | |
20464 | ||
de888d90 JJ |
20465 | PR debug/47946 |
20466 | * dwarf2out.c (add_bit_offset_attribute): If bit_offset is negative, | |
20467 | emit it as add_AT_int instead of add_AT_unsigned. | |
20468 | ||
20469 | 2011-03-14 Tom Tromey <tromey@redhat.com> | |
f4e749b4 TT |
20470 | |
20471 | * unwind-dw2.c: Include sys/sdt.h if it exists. | |
20472 | (_Unwind_DebugHook): Use STAP_PROBE2. | |
20473 | * config.in, configure: Rebuild. | |
20474 | * configure.ac: Check for sys/sdt.h. | |
20475 | ||
d34abfd2 UB |
20476 | 2011-03-14 Uros Bizjak <ubizjak@gmail.com> |
20477 | ||
20478 | * config/i386/i386.md (ROUND_FLOOR): New constant. | |
20479 | (ROUND_CEIL): Ditto. | |
20480 | (ROUND_TRUNC): Ditto. | |
20481 | (ROUND_MXCSR): Ditto. | |
20482 | (ROUND_NO_EXC): Ditto. | |
20483 | (rint<mode>2): Use new defines instead of numerical constants. | |
20484 | (floor<mode>2): Ditto. | |
20485 | (ceil<mode>2): Ditto. | |
20486 | (btrunc<mode>2): Ditto. | |
20487 | * config/i386/i386-builtin-types.def: Define ROUND function type | |
20488 | aliases. | |
20489 | * config/i386/i386.c (enum ix86_builtins): Add | |
20490 | IX86_BUILTIN_{FLOOR,CEIL,TRUNC,RINT}{PS,PD}{,256} defines. | |
20491 | (struct builtin_description): Add | |
20492 | __builtin_ia32_{floor,ceil,trunc,rint}{pd,ps}{,256} descriptions. | |
20493 | (ix86_expand_sse_round): New static function. | |
20494 | (ix86_expand_args_builtin): Call ix86_expand_sse_round for ROUND | |
20495 | function types. | |
20496 | (ix86_builtin_vectorized_function): Handle | |
20497 | BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins. | |
20498 | ||
87f9e23d TT |
20499 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
20500 | ||
20501 | * c-parser.c (c_parser_asm_string_literal): Clear | |
20502 | warn_overlength_strings. | |
20503 | ||
b3ab9ea2 TT |
20504 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
20505 | ||
20506 | * c-parser.c (disable_extension_diagnostics): Save | |
20507 | warn_overlength_strings. | |
20508 | (restore_extension_diagnostics): Restore warn_overlength_strings. | |
20509 | ||
6bd73dd8 JJ |
20510 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
20511 | ||
20512 | * BASE-VER: Change to 4.7.0. | |
20513 | ||
7f4d6e1b RG |
20514 | 2011-03-14 Richard Guenther <rguenther@suse.de> |
20515 | ||
20516 | PR middle-end/48098 | |
20517 | * tree.c (build_vector_from_val): Adjust assert to requirements | |
20518 | and reality. | |
20519 | ||
c6104ef1 JJ |
20520 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
20521 | ||
20522 | PR bootstrap/48102 | |
d34abfd2 | 20523 | * graphite-cloog-compat.h (build_cloog_prog): Remove STATE parameter. |
c6104ef1 | 20524 | |
dfa95e19 AT |
20525 | 2011-03-14 Andreas Tobler <andreast@fgznet.ch> |
20526 | ||
f60c2554 | 20527 | * config/rs6000/freebsd.h (RELOCATABLE_NEEDS_FIXUP): Define in |
dfa95e19 AT |
20528 | terms of target_flags_explicit. Adjust copyright year. |
20529 | ||
20530 | * config.gcc: Add FreeBSD PowerPC soft-float libgcc bits. | |
20531 | * config/rs6000/t-freebsd: New file. Add override for | |
20532 | LIB2FUNCS_EXTRA. | |
20533 | ||
bb322018 CD |
20534 | 2011-03-13 Chris Demetriou <cgd@google.com> |
20535 | ||
20536 | * doc/invoke.texi (-fdiagnostics-show-option): Replace with... | |
20537 | (-fno-diagnostics-show-option): this, to reflect current default. | |
20538 | (-Werror=): Update text about -fno-diagnostics-show-option. | |
20539 | ||
12b1c80b PB |
20540 | 2011-03-12 Peter Bergner <bergner@vnet.ibm.com> |
20541 | ||
20542 | PR target/48053 | |
20543 | * config/rs6000/predicates.md (easy_vector_constant_add_self, | |
20544 | easy_vector_constant_msb): Do not handle V2DImode and V2DFmode. | |
20545 | * config/rs6000/rs6000.c (const_vector_elt_as_int): Add assert that | |
20546 | mode is not V2DImode or V2DFmode. | |
20547 | (vspltis_constant): Do not handle V2DImode and V2DFmode. | |
20548 | (rs6000_expand_vector_init): Replace copy_to_reg with copy_to_mode_reg. | |
20549 | * config/rs6000/rs6000.md (movdi_internal32): Allow setting VSX | |
20550 | registers to 0. | |
20551 | (movdi_internal64): Likewise. | |
20552 | ||
57d598f7 SP |
20553 | 2011-03-12 Sebastian Pop <sebastian.pop@amd.com> |
20554 | ||
20555 | PR tree-optimization/47127 | |
20556 | * graphite-clast-to-gimple.c (build_cloog_prog): Removed state | |
20557 | parameter. | |
20558 | (set_cloog_options): Same. | |
20559 | (scop_to_clast): Same. | |
20560 | (print_clast_stmt): Do not call cloog_state_malloc and | |
20561 | cloog_state_free. | |
20562 | (print_generated_program): Same. | |
20563 | (gloog): Same. | |
20564 | * graphite-clast-to-gimple.h (cloog_state): Declared. | |
20565 | (scop_to_clast): Adjust declaration. | |
20566 | * graphite.c (cloog_state): Defined here. | |
20567 | (graphite_initialize): Call cloog_state_malloc. | |
20568 | (graphite_finalize): Call cloog_state_free. | |
20569 | ||
f231b5ff JM |
20570 | 2011-03-11 Jason Merrill <jason@redhat.com> |
20571 | ||
20572 | * attribs.c (lookup_attribute_spec): Take const_tree. | |
20573 | * tree.h: Adjust. | |
20574 | ||
6a4e2bd5 JM |
20575 | 2011-03-11 Joseph Myers <joseph@codesourcery.com> |
20576 | ||
20577 | * config/sparc/sparc.c (sparc_option_override): Use | |
20578 | PROCESSOR_NIAGARA2 not PROCESSOR_NIAGARA for "niagara2". | |
20579 | ||
a758fd67 RG |
20580 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
20581 | ||
20582 | PR tree-optimization/48067 | |
20583 | * tree-ssa-math-opts.c (convert_mult_to_fma): Verify the | |
20584 | multiplication result will be only used once on the target | |
20585 | stmt. | |
20586 | ||
03dfda54 RG |
20587 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
20588 | ||
20589 | * doc/invoke.texi (max-inline-insns-single): Adjust default value. | |
20590 | ||
5f11a50a RG |
20591 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
20592 | ||
20593 | PR lto/48073 | |
20594 | * tree.c (find_decls_types_r): Do not walk types only reachable | |
20595 | from IDENTIFIER_NODEs. | |
20596 | ||
4074f163 JJ |
20597 | 2011-03-11 Jakub Jelinek <jakub@redhat.com> |
20598 | ||
20599 | PR middle-end/48044 | |
20600 | * ipa.c (cgraph_remove_unreachable_nodes): Enqueue | |
20601 | all vnode->force_output nodes as needed. | |
20602 | ||
30f7cdcd JM |
20603 | 2011-03-11 Jason Merrill <jason@redhat.com> |
20604 | ||
20605 | PR c++/48069 | |
20606 | * tree.c (type_hash_eq): Use COMPLETE_TYPE_P, not | |
20607 | COMPLETE_OR_UNBOUND_ARRAY_TYPE_P. | |
20608 | ||
62ecfeb8 MJ |
20609 | 2011-03-11 Martin Jambor <mjambor@suse.cz> |
20610 | ||
20611 | * cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of | |
20612 | cgraph_node. | |
20613 | ||
e89e03ab JJ |
20614 | 2011-03-11 Jakub Jelinek <jakub@redhat.com> |
20615 | ||
20616 | PR tree-optimization/48063 | |
20617 | * ipa-inline.c (cgraph_decide_inlining): Don't try to | |
20618 | inline functions called once if !tree_can_inline_p (node->callers). | |
20619 | ||
efbe978b | 20620 | 2011-03-11 Chen Liqin <liqin.gcc@gmail.com> |
9d6193a7 | 20621 | |
efbe978b EB |
20622 | * config.gcc (score-*-elf): Add extra_parts .., update tmake_file and |
20623 | extra_objs. | |
9d6193a7 CL |
20624 | * config/score/score3.c: Delete. |
20625 | * config/score/score3.h: Delete. | |
20626 | * config/score/mul-div.S: Delete. | |
20627 | * config/score/sfp-machine.h: Add new file. | |
20628 | * config/score/constraints.md: Add new file. | |
20629 | * config/score/t-score-softfp: Add new file. | |
efbe978b | 20630 | * config/score/t-score-elf: Remove score3.o, do not generate multilib. |
9d6193a7 CL |
20631 | * config/score/score7.c (score7_const_ok_for_letter_p): Delete. |
20632 | (score7_extra_constraint): Delete. | |
efbe978b | 20633 | (score7_option_override): Remove unused code. |
9d6193a7 CL |
20634 | * config/score/score.c: Remove score3 and score5 define and code. |
20635 | * config/score/score.h: Remove score3 and score5 define and code. | |
efbe978b | 20636 | * config/score/score.md: Remove score3 template and unusual insn. |
9d6193a7 CL |
20637 | * config/score/score.opt: Remove score3 and score5 options. |
20638 | ||
5de27cca JDA |
20639 | 2011-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
20640 | ||
20641 | * config/pa/pa-hpux10.h (TARGET_OS_CPP_BUILTINS): Define _REENTRANT | |
20642 | when _HPUX_SOURCE is defined. | |
20643 | (LIB_SPEC): Use -lc instead of -lc_r when -threads is specified. | |
20644 | ||
18d92053 JM |
20645 | 2011-03-10 Jason Merrill <jason@redhat.com> |
20646 | ||
20647 | PR c++/48029 | |
20648 | * stor-layout.c (layout_type): Don't set structural equality | |
20649 | on arrays of incomplete type. | |
20650 | * tree.c (type_hash_eq): Handle comparing them properly. | |
20651 | ||
67a2f76d JJ |
20652 | 2011-03-10 Jakub Jelinek <jakub@redhat.com> |
20653 | ||
20654 | PR debug/48043 | |
18d92053 | 20655 | * config/s390/s390.c (s390_delegitimize_address): Make sure the |
67a2f76d JJ |
20656 | result mode matches original rtl mode. |
20657 | ||
d845b2f9 NC |
20658 | 2011-03-10 Nick Clifton <nickc@redhat.com> |
20659 | ||
20660 | * config/rx/rx.md (bitset_in_memory, bitclr_in_memory: Fix timings. | |
39242686 | 20661 | (andsi3, andsi3_flags): Fix timings for three operand alternative. |
d845b2f9 | 20662 | |
db7ec035 JJ |
20663 | 2011-03-09 Jakub Jelinek <jakub@redhat.com> |
20664 | ||
20665 | PR rtl-optimization/47866 | |
20666 | * expr.c (store_field): If MEM_SCALAR_P (target), don't use | |
20667 | MEM_SET_IN_STRUCT_P (to_rtx, 1), just set MEM_IN_STRUCT_P (to_rtx) | |
20668 | if target wasn't scalar. | |
20669 | * function.c (assign_stack_temp_for_type): Assert that neither | |
20670 | MEM_SCALAR_P nor MEM_IN_STRUCT_P is set previously, set either | |
20671 | MEM_IN_STRUCT_P or MEM_SCALAR_P instead of using MEM_SET_IN_STRUCT_P | |
20672 | macro. | |
20673 | * rtl.h (MEM_SET_IN_STRUCT_P): Removed. | |
20674 | ||
5d304e47 AK |
20675 | 2011-03-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
20676 | ||
20677 | * config/s390/s390-protos.h (s390_label_align): New prototype. | |
20678 | * config/s390/s390.c (s390_label_align): New function. | |
20679 | * config/s390/s390.h (LABEL_ALIGN): New target macro definition. | |
20680 | ||
93b826f0 MM |
20681 | 2011-03-08 Michael Meissner <meissner@linux.vnet.ibm.com> |
20682 | ||
20683 | PR target/47755 | |
20684 | * config/rs6000/rs6000.c (easy_altivec_constant): Correctly handle | |
20685 | V2DI/V2DF constants. Only all 0's or all 1's are easy. | |
20686 | (output_vec_const_move): Ditto. | |
20687 | ||
ef78aed6 AS |
20688 | 2011-03-08 Anatoly Sokolov <aesok@post.ru> |
20689 | ||
20690 | * config/mips/mips.h (PREFERRED_RELOAD_CLASS): Remove macro. | |
20691 | * config/mips/mips-protos.h (mips_preferred_reload_class): Remove. | |
20692 | * config/mips/mips.c (mips_preferred_reload_class): Make static. | |
20693 | Change 'rclass' argument and result type to reg_class_t. | |
20694 | (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
20695 | ||
5f892aa0 GJL |
20696 | 2011-03-08 Georg-Johann Lay <avr@gjlay.de> |
20697 | ||
9e43ad68 UB |
20698 | * config/avr/avr.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. |
20699 | * config/avr/avr.c (TARGET_REGISTER_MOVE_COST) | |
20700 | (TARGET_MEMORY_MOVE_COST): Define. | |
20701 | (avr_register_move_cost, avr_memory_move_cost): New Functions. | |
5f892aa0 | 20702 | |
32bd2409 JJ |
20703 | 2011-03-08 Jakub Jelinek <jakub@redhat.com> |
20704 | ||
530a4800 JJ |
20705 | PR debug/47881 |
20706 | * ira.c (ira): Call df_analyze again if delete_trivially_dead_insns | |
20707 | removed anything. | |
20708 | ||
32bd2409 JJ |
20709 | PR tree-optimization/48022 |
20710 | * fold-const.c (fold_comparison): Don't call fold_overflow_warning | |
20711 | for EQ/NE_EXPR. | |
20712 | ||
c7148991 JJ |
20713 | 2011-03-07 Jakub Jelinek <jakub@redhat.com> |
20714 | ||
20715 | PR debug/47991 | |
20716 | * var-tracking.c (find_use_val): Return NULL for | |
20717 | cui->sets && cui->store_p BLKmode MEMs. | |
20718 | ||
43070a6e AS |
20719 | 2011-03-07 Anatoly Sokolov <aesok@post.ru> |
20720 | ||
20721 | * config/stormy16/stormy16.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): | |
20722 | Remove. | |
20723 | * config/stormy16/stormy16-protos.h (xstormy16_print_operand, | |
20724 | xstormy16_print_operand_address): Remove. | |
20725 | * config/stormy16/stormy16.c (xstormy16_print_operand, | |
20726 | xstormy16_print_operand_address): Make static. | |
20727 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
20728 | ||
efbe978b | 20729 | 2011-03-07 Pat Haugen <pthaugen@us.ibm.com> |
79eefb0d PH |
20730 | |
20731 | PR target/47862 | |
20732 | * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Define. | |
20733 | * config/rs6000/e500.h (HARD_REGNO_CALLER_SAVE_MODE): Undefine | |
20734 | before definition. | |
20735 | ||
cec8ac0b ZD |
20736 | 2011-03-07 Zdenek Dvorak <ook@ucw.cz> |
20737 | ||
20738 | PR bootstrap/48000 | |
20739 | * cfgloopmanip.c (fix_bb_placements): Return immediately | |
20740 | if FROM is BASE_LOOP's header. | |
20741 | ||
59527282 PW |
20742 | 2011-03-07 Paul Wögerer <paul_woegerer@mentor.com> |
20743 | ||
20744 | * gimplify.c (gimplify_function_tree): Fix building calls | |
20745 | to __builtin_return_address. | |
20746 | ||
617718f7 AM |
20747 | 2011-03-07 Alan Modra <amodra@gmail.com> |
20748 | ||
20749 | * config/rs6000/linux.h (TARGET_ASM_FILE_END): Don't define. | |
20750 | * config/rs6000/linux64.h (TARGET_ASM_FILE_END): Don't define. | |
20751 | * config/rs6000/sysv4.h (TARGET_ASM_FILE_END): Define. | |
20752 | * config/rs6000/rs6000-protos.h (init_cumulative_args): Add fndecl and | |
20753 | return_mode args. | |
20754 | * config/rs6000/rs6000.h (CUMULATIVE_ARGS): Add "escapes". | |
20755 | (INIT_CUMULATIVE_ARGS): Pass FNDECL, VOIDmode. | |
20756 | (INIT_CUMULATIVE_INCOMING_ARGS): Pass current_function_decl, VOIDmode. | |
20757 | (INIT_CUMULATIVE_LIBCALL_ARGS): Pass NULL_TREE, MODE. | |
20758 | * config/rs6000/rs6000.c | |
20759 | (rs6000_elf_end_indicate_exec_stack): Rename to.. | |
20760 | (rs6000_elf_file_end): ..this. Only call file_end_indicate_exec_stack | |
20761 | for POWERPC_LINUX. Move code emitting .gnu_attribute to here, from.. | |
20762 | (rs6000_file_start): ..here. | |
20763 | (rs6000_passes_float, rs6000_passes_vector, rs6000_returns_struct): New | |
20764 | file scope variables. | |
20765 | (call_ABI_of_interest): New function. | |
20766 | (init_cumulative_args): Set above vars when function return value | |
20767 | is a float, vector, or small struct. | |
20768 | (rs6000_function_arg_advance_1): Likewise for function args. | |
20769 | (rs6000_va_start): Set rs6000_passes_float if variable arg function | |
20770 | references float args. | |
20771 | ||
38528d50 MX |
20772 | 2011-03-07 Mingjie Xing <mingjie.xing@gmail.com> |
20773 | ||
20774 | * doc/cfg.texi: Remove "See" before @ref. | |
20775 | * doc/invoke.texi: Likewise. | |
20776 | ||
f42cf4f4 JM |
20777 | 2011-03-05 Jason Merrill <jason@redhat.com> |
20778 | ||
20779 | * doc/invoke.texi (C++ Dialect Options): Document ABI v5. | |
20780 | ||
804a304d AG |
20781 | 2011-03-05 Anthony Green <green@moxielogic.com> |
20782 | ||
20783 | * config.gcc (moxie-*-elf): Add newlib-stdint.h to tmfile. | |
20784 | ||
634ee309 ZD |
20785 | 2011-03-05 Zdenek Dvorak <ook@ucw.cz> |
20786 | ||
20787 | PR rtl-optimization/47899 | |
20788 | * cfgloopmanip.c (fix_bb_placements): Fix first argument | |
20789 | to flow_loop_nested_p when moving the loop upward. | |
20790 | ||
6fe471c8 RE |
20791 | 2011-03-05 Richard Earnshaw <rearnsha@arm.com> |
20792 | ||
20793 | PR target/47719 | |
20794 | * arm.md (movhi_insn_arch4): Accept any immediate constant. | |
20795 | ||
cc58ceee JJ |
20796 | 2011-03-05 Jakub Jelinek <jakub@redhat.com> |
20797 | ||
20798 | PR tree-optimization/47967 | |
20799 | * ipa-cp.c (build_const_val): Return NULL instead of creating | |
20800 | VIEW_CONVERT_EXPR for mismatching sizes. | |
20801 | (ipcp_create_replace_map): Return NULL if build_const_val failed. | |
20802 | (ipcp_insert_stage): If ipcp_create_replace_map returns NULL, | |
20803 | give up on versioning. | |
20804 | ||
ea868305 AM |
20805 | 2011-03-05 Alan Modra <amodra@gmail.com> |
20806 | ||
20807 | PR target/47986 | |
20808 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle | |
20809 | full cmodel medium/large lo_sum + high addresses. | |
20810 | ||
bc6ce334 AK |
20811 | 2011-03-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
20812 | ||
20813 | * config/s390/s390.c (s390_decompose_address): Reject non-literal | |
20814 | pool references in UNSPEC_LTREL_OFFSET. | |
20815 | ||
87e7b310 JH |
20816 | 2011-03-04 Jan Hubicka <jh@suse.cz> |
20817 | ||
20818 | PR lto/47497 | |
20819 | * lto-symtab.c (lto_cgraph_replace_node): Do not set thunk.alias. | |
20820 | (lto_symtab_merge_cgraph_nodes_1): Update thunk.alias pointers here. | |
d34abfd2 UB |
20821 | * cgraph.h (cgraph_same_body_alias, cgraph_add_thunk): |
20822 | Add node pointers. | |
87e7b310 JH |
20823 | * cgraph.c (cgraph_same_body_alias_1, cgraph_same_body_alias, |
20824 | cgraph_add_thunk): Add node pointers. | |
20825 | * lto-cgraph.c (lto_output_node): Verify that thunks&aliases are | |
20826 | associated to right node. | |
20827 | (input_node): Update use of cgraph_same_body_alias | |
20828 | and cgraph_add_thunk. | |
20829 | ||
d9c64246 CF |
20830 | 2011-03-04 Changpeng Fang <changpeng.fang@amd.com> |
20831 | ||
20832 | * config/i386/i386.opt (mprefer-avx128): New flag. | |
d34abfd2 UB |
20833 | * config/i386/i386.c (ix86_preferred_simd_mode): Prefer 128-bit AVX |
20834 | modes when the flag -mprefer-avx128 is on. | |
d9c64246 | 20835 | |
08707076 RS |
20836 | 2011-03-04 Richard Sandiford <richard.sandiford@linaro.org> |
20837 | ||
20838 | * dwarf2out.c (compare_loc_operands): Fix address handling. | |
20839 | ||
52517c81 AM |
20840 | 2011-03-04 Alan Modra <amodra@gmail.com> |
20841 | ||
20842 | * tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment. | |
20843 | ||
b147c5b9 RG |
20844 | 2011-03-04 Richard Guenther <rguenther@suse.de> |
20845 | ||
20846 | PR middle-end/47968 | |
20847 | * expmed.c (extract_bit_field_1): Prefer vector modes that | |
20848 | vec_extract patterns can handle. | |
20849 | ||
8750672f RG |
20850 | 2011-03-04 Richard Guenther <rguenther@suse.de> |
20851 | ||
20852 | PR middle-end/47975 | |
20853 | * optabs.c (optab_for_tree_code): Do not use VECTOR_MODE_P. | |
20854 | ||
9eac0f2a RH |
20855 | 2011-03-04 Richard Henderson <rth@redhat.com> |
20856 | ||
20857 | * explow.c (emit_stack_save): Remove 'after' parameter. | |
20858 | (emit_stack_restore): Likewise. | |
20859 | * expr.h: Update to match. | |
20860 | * builtins.c, calls.c, stmt.c: Likewise. | |
20861 | * config/alpha/alpha.md, config/avr/avr.md: Likewise. | |
20862 | * config/mips/mips.md, config/pa/pa.md, config/vax/vax.md: Likewise. | |
20863 | * function.c (expand_function_end): Insert the emit_stack_save | |
20864 | sequence before parm_birth_insn instead of after. | |
20865 | ||
dfee1406 UB |
20866 | 2011-03-03 Uros Bizjak <ubizjak@gmail.com> |
20867 | ||
20868 | * config/i386/sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX. | |
20869 | (ssse3_pmaddubsw128): Ditto. | |
20870 | (ssse3_pmaddubsw): Ditto. | |
20871 | ||
f1d4c3de SE |
20872 | 2011-03-03 Steve Ellcey <sje@cup.hp.com> |
20873 | ||
20874 | * config/ia64/t-hpux: Add $(srcdir)/unwind-c.c to LIB2ADDEH | |
20875 | ||
71f3a3f5 JJ |
20876 | 2011-03-03 Jakub Jelinek <jakub@redhat.com> |
20877 | ||
423ed416 JJ |
20878 | PR c/47963 |
20879 | * gimplify.c (omp_add_variable): Only call omp_notice_variable | |
20880 | on TYPE_SIZE_UNIT if it is a DECL. | |
20881 | ||
71f3a3f5 JJ |
20882 | PR debug/47283 |
20883 | * cfgexpand.c (expand_debug_expr) <case MEM_REF>: If MEM_REF | |
20884 | first operand is not is_gimple_mem_ref_addr, try to fold it. | |
20885 | If the operand still isn't is_gimple_mem_ref_addr, clear | |
20886 | MEM_EXPR on op0. | |
20887 | ||
4b1a5c0d RG |
20888 | 2011-03-03 Richard Guenther <rguenther@suse.de> |
20889 | ||
20890 | PR middle-end/47283 | |
20891 | * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Make code | |
20892 | match comment. | |
20893 | (refs_may_alias_p_1): For release branches return true if | |
20894 | we are confused by our input. | |
20895 | ||
b46616fd AK |
20896 | 2011-03-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
20897 | ||
20898 | * config/s390/s390.c (s390_function_value): Rename to ... | |
20899 | (s390_function_and_libcall_value): ... this. | |
20900 | (s390_function_value): New function. | |
20901 | (s390_libcall_value): New function. | |
dfee1406 | 20902 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Define target hooks. |
b46616fd AK |
20903 | * config/s390/s390.h (FUNCTION_VALUE, LIBCALL_VALUE): Remove |
20904 | target macro definitions. | |
20905 | * config/s390/s390-protos.h (s390_function_value): Remove prototype. | |
20906 | ||
46d8fabb JM |
20907 | 2011-03-02 Joseph Myers <joseph@codesourcery.com> |
20908 | ||
20909 | * config/i386/freebsd64.h (CC1_SPEC): Define. | |
20910 | * config/i386/linux64.h (CC1_SPEC): Define. | |
20911 | * config/i386/x86-64.h (CC1_SPEC): Don't define. | |
20912 | ||
6b1ce545 AS |
20913 | 2011-03-02 Anatoly Sokolov <aesok@post.ru> |
20914 | ||
20915 | * config/stormy16/stormy16.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): | |
20916 | Remove. | |
20917 | * config/stormy16/stormy16.c: Include reload.h. | |
20918 | (xstormy16_memory_move_cost): New function. | |
20919 | (TARGET_MEMORY_MOVE_COST): Define. | |
20920 | ||
34161e98 RS |
20921 | 2011-03-02 Richard Sandiford <richard.sandiford@linaro.org> |
20922 | ||
20923 | PR rtl-optimization/47925 | |
20924 | * cse.c (count_reg_usage): Don't ignore the SET_DEST of instructions | |
20925 | with side effects. Remove the more-specific check for volatile asms. | |
20926 | ||
f60a97cf AM |
20927 | 2011-03-02 Alan Modra <amodra@gmail.com> |
20928 | ||
20929 | PR target/47935 | |
20930 | * config/rs6000/predicates.md (lwa_operand): Check cmodel medium | |
20931 | toc relative addresses for valid offsets. | |
20932 | ||
f2ca11ca RG |
20933 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
20934 | ||
20935 | PR tree-optimization/47890 | |
20936 | * tree-vect-loop.c (get_initial_def_for_induction): Set | |
20937 | related stmt properly. | |
20938 | ||
7a00d9ea RG |
20939 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
20940 | ||
20941 | PR lto/47924 | |
20942 | * lto-streamer.c (lto_record_common_node): Also register | |
20943 | the canonical type. | |
20944 | ||
06c7edcc RG |
20945 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
20946 | ||
20947 | PR lto/46911 | |
20948 | * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers): | |
20949 | Do not stream DECL_ABSTRACT_ORIGIN. | |
20950 | (lto_input_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION, | |
20951 | BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN. | |
20952 | * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): | |
20953 | Do not stream DECL_ABSTRACT_ORIGIN. | |
20954 | (lto_output_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION, | |
20955 | BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN. | |
20956 | ||
998871e9 AS |
20957 | 2011-02-28 Anatoly Sokolov <aesok@post.ru> |
20958 | ||
20959 | * config/stormy16/stormy16.h (FUNCTION_VALUE, LIBCALL_VALUE, | |
20960 | FUNCTION_VALUE_REGNO_P): Remove. | |
b2e2ea67 | 20961 | * config/stormy16/stormy16-protos.h (xstormy16_function_value): Remove. |
998871e9 AS |
20962 | * config/stormy16/stormy16.c (xstormy16_function_value): Make static. |
20963 | Add 'outgoing' argument. | |
20964 | (xstormy16_libcall_value, xstormy16_function_value_regno_p): New | |
20965 | function. | |
20966 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
20967 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
20968 | ||
94369251 KT |
20969 | 2011-02-28 Kai Tietz <kai.tietz@onevision.com> |
20970 | ||
20971 | PR debug/28047 | |
20972 | * dwarf2out.c (file_table_eq): Use filename_cmp instead of strcmp. | |
20973 | (lookup_filename): Likewise. | |
b2e2ea67 | 20974 | * final.c (remap_debug_filename): Use filename_ncmp instead of strncmp. |
94369251 | 20975 | |
80a832cd JJ |
20976 | 2011-02-28 Bernd Schmidt <bernds@codesourcery.com> |
20977 | Jakub Jelinek <jakub@redhat.com> | |
20978 | ||
20979 | PR middle-end/47893 | |
20980 | * rtl.h (ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD): Define. | |
20981 | (assign_stack_local_1): Change last argument type to int. | |
20982 | * function.c (assign_stack_local_1): Replace reduce_alignment_ok | |
20983 | argument with kind. If bit ASLK_RECORD_PAD is not set in it, | |
b2e2ea67 | 20984 | don't record padding space into frame_space_list nor use those areas. |
80a832cd JJ |
20985 | (assign_stack_local): Adjust caller. |
20986 | (assign_stack_temp_for_type): Call assign_stack_local_1 instead | |
20987 | of assign_stack_local, pass 0 as last argument. | |
20988 | * caller-save.c (setup_save_areas): Adjust assign_stack_local_1 | |
20989 | callers. | |
20990 | ||
1b500976 JJ |
20991 | 2011-02-28 Jakub Jelinek <jakub@redhat.com> |
20992 | ||
f61c6f34 JJ |
20993 | PR debug/47283 |
20994 | * cfgexpand.c (convert_debug_memory_address): Add AS parameter. | |
20995 | Use target address_mode and pointer_mode hooks instead of hardcoded | |
20996 | Pmode and ptr_mode. Handle some simple cases of extending if | |
20997 | POINTERS_EXTEND_UNSIGNED < 0. | |
20998 | (expand_debug_expr) <case MEM_REF, INDIRECT_REF, TARGET_MEM_REF>: | |
20999 | Call convert_debug_memory_address. | |
21000 | (expand_debug_expr) <case ADDR_EXPR>: Pass as to | |
21001 | convert_debug_memory_address. | |
21002 | ||
1b500976 JJ |
21003 | PR middle-end/46790 |
21004 | * configure.ac (HAVE_LD_EH_GC_SECTIONS_BUG): New test. | |
21005 | * configure: Regenerated. | |
21006 | * config.in: Regenerated. | |
21007 | * varasm.c (default_function_section): Return NULL | |
b2e2ea67 | 21008 | if HAVE_LD_EH_GC_SECTIONS_BUG and decl has implicit section name. |
1b500976 | 21009 | |
2f2935b6 MJ |
21010 | 2011-02-28 Martin Jambor <mjambor@suse.cz> |
21011 | ||
21012 | * ipa-inline.c (cgraph_decide_inlining_of_small_functions): Fix | |
21013 | the description to match the printed values. | |
21014 | ||
474086eb RG |
21015 | 2011-02-28 Richard Guenther <rguenther@suse.de> |
21016 | ||
21017 | * tree-inline.c (tree_function_versioning): Set BLOCK_SUPERCONTEXT | |
21018 | of the copied scope tree. | |
21019 | ||
15bf6f3a RW |
21020 | 2011-02-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
21021 | ||
21022 | * doc/extend.texi (Function Attributes): Avoid deeply (and | |
21023 | wrongly) nested tables. | |
21024 | ||
f6b439c9 JJ |
21025 | 2011-02-27 Jakub Jelinek <jakub@redhat.com> |
21026 | ||
21027 | PR middle-end/47903 | |
21028 | * real.c (real_arithmetic) <case PLUS_EXPR, MINUS_EXPR, | |
21029 | MULT_EXPR, RDIV_EXPR>: Clear padding bits in *r first if | |
21030 | r isn't op0 nor op1. | |
21031 | ||
1d8ca2c7 GJL |
21032 | 2011-02-23 Georg-Johann Lay <avr@gjlay.de> |
21033 | ||
21034 | * config/avr/avr.md: Remove magic comment for emacs. | |
21035 | ||
593fca4b GJL |
21036 | 2011-02-23 Georg-Johann Lay <avr@gjlay.de> |
21037 | ||
21038 | PR target/45261 | |
21039 | * config/avr/avr.c (avr_option_override): Use error on bad options. | |
21040 | (avr_help): New function. | |
21041 | (TARGET_HELP): Define. | |
21042 | ||
6609216e GJL |
21043 | 2011-02-22 Georg-Johann Lay <avr@gjlay.de> |
21044 | ||
21045 | PR target/42240 | |
21046 | * config/avr/avr.c (avr_cannot_modify_jumps_p): New function. | |
21047 | (TARGET_CANNOT_MODIFY_JUMPS_P): Define. | |
21048 | ||
03d458af GP |
21049 | 2011-02-26 Gerald Pfeifer <gerald@pfeifer.com> |
21050 | ||
21051 | * doc/invoke.texi (ARC Options): Use CPU instead of cpu. | |
21052 | (ARM Options): Ditto. | |
21053 | (i386 and x86-64 Options): Ditto. | |
21054 | (RX Options): Ditto. | |
21055 | (SPARC Options): Ditto. | |
21056 | ||
1c379b78 TC |
21057 | 2011-02-26 Tijl Coosemans <tijl@coosemans.org> |
21058 | ||
21059 | * config.gcc (i386-*-freebsd*): Make i486 the default arch on | |
21060 | FreeBSD 6 and later. Generally use cpu generic. | |
21061 | ||
d5ed058c | 21062 | 2011-02-25 Gerald Pfeifer <gerald@pfeifer.com> |
b2e2ea67 | 21063 | |
d5ed058c GP |
21064 | * doc/cpp.texi: Update copyright years. |
21065 | ||
509d65dd | 21066 | 2011-02-25 Sebastien Bourdeauducq <sebastien@milkymist.org> |
308d39cd | 21067 | |
509d65dd | 21068 | PR target/46898 |
308d39cd SB |
21069 | * config/lm32/lm32.md (ashrsi3): Added needed variable. |
21070 | ||
509d65dd | 21071 | 2011-02-25 Jon Beniston <jon@beniston.com> |
308d39cd | 21072 | |
509d65dd | 21073 | PR target/46898 |
308d39cd SB |
21074 | * config/lm32/lm32.h (INCOMING_RETURN_ADDR_RTX): New. |
21075 | * config/lm32/lm32.md (ashlsi3): Remove unused variable. | |
21076 | * config/lm32/lm32.c (TARGET_EXCEPT_UNWIND_INFO): New. | |
21077 | (lm32_block_move_inline): Add type cast to remove warning. | |
b2e2ea67 | 21078 | (lm32_expand_prologue): Generate fp in a way compatible with dwarf2out. |
308d39cd SB |
21079 | (gen_int_relational): Move declarations to start of function. |
21080 | ||
822ba6d7 EB |
21081 | 2011-02-25 Eric Botcazou <ebotcazou@adacore.com> |
21082 | ||
21083 | PR tree-optimization/45470 | |
21084 | * tree-vect-data-refs.c (vect_analyze_data_refs): Fail if a statement | |
21085 | can throw internally only. | |
21086 | * tree-vect-stmts.c (vectorizable_call): Likewise. | |
21087 | ||
ef795fc2 AS |
21088 | 2011-02-24 Anatoly Sokolov <aesok@post.ru> |
21089 | ||
21090 | * config/stormy16/stormy16.h (PREFERRED_RELOAD_CLASS, | |
21091 | PREFERRED_OUTPUT_RELOAD_CLASS): Remove. | |
21092 | * config/stormy16/stormy16-protos.h | |
21093 | (xstormy16_preferred_reload_class): Remove. | |
21094 | * config/stormy16/stormy16.c (xstormy16_preferred_reload_class): Make | |
21095 | static. Change 'rclass' argument and return type to reg_class_t. | |
21096 | (TARGET_PREFERRED_RELOAD_CLASS, | |
21097 | TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. | |
21098 | ||
1c3277ee RG |
21099 | 2011-02-24 Richard Guenther <rguenther@suse.de> |
21100 | ||
21101 | * lto-streamer-in.c (input_bb): Do not find referenced vars | |
21102 | in debug statements. | |
21103 | ||
67e18edb JM |
21104 | 2011-02-23 Jason Merrill <jason@redhat.com> |
21105 | ||
21106 | * common.opt (fabi-version): Document v5 and v6. | |
21107 | ||
b14fad9d RG |
21108 | 2011-02-23 Richard Guenther <rguenther@suse.de> |
21109 | ||
21110 | PR tree-optimization/47849 | |
21111 | * tree-if-conv.c (main_tree_if_conversion): Free postdom info. | |
21112 | ||
7fcf46f5 JZ |
21113 | 2011-02-23 Jie Zhang <jie@codesourcery.com> |
21114 | ||
21115 | * opts-common.c (decode_cmdline_option): Print empty string | |
21116 | argument as "" in decoded->orig_option_with_args_text. | |
21117 | * gcc.c (execute): Print empty string argument as "" | |
21118 | in the verbose output. | |
21119 | (do_spec_1): Keep empty string argument. | |
21120 | ||
f85b70fd NF |
21121 | 2011-02-23 Nathan Froyd <froydnj@codesourcery.com> |
21122 | ||
21123 | * config.gcc: Declare score-* and crx-* obsolete. | |
21124 | ||
b152a615 JZ |
21125 | 2011-02-23 Jie Zhang <jie@codesourcery.com> |
21126 | ||
21127 | PR rtl-optimization/47763 | |
21128 | * web.c (web_main): Ignore naked clobber when replacing register. | |
21129 | ||
bb6e77bc AS |
21130 | 2011-02-22 Anatoly Sokolov <aesok@post.ru> |
21131 | ||
21132 | * config/stormy16/stormy16.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): | |
21133 | Remove. | |
21134 | ||
68bf6491 SP |
21135 | 2011-02-22 Sebastian Pop <sebastian.pop@amd.com> |
21136 | ||
21137 | PR doc/47848 | |
21138 | * doc/invoke.texi: Do not mention -ftree-loop-if-convert-memory-writes. | |
21139 | ||
88ee1fc7 MS |
21140 | 2011-02-22 Mike Stump <mikestump@comcast.net> |
21141 | ||
21142 | * acinclude.m4 (gcc_cv_gas_vers): Add -arch ppc for probing darwin | |
21143 | assembler. | |
21144 | * configure: Regenerate. | |
21145 | ||
6042d1dd CLT |
21146 | 2011-02-21 Chung-Lin Tang <cltang@codesourcery.com> |
21147 | ||
21148 | PR rtl-optimization/46002 | |
21149 | * ira-color.c (update_copy_costs): Change class intersection | |
21150 | test to reg_class_contents[] test of 'hard_regno'. | |
21151 | ||
7de97f9e JM |
21152 | 2011-02-21 Joseph Myers <joseph@codesourcery.com> |
21153 | ||
21154 | * config/alpha/osf5.opt (mno-mips-tfile): Mark as Target rather | |
21155 | than Driver option. | |
21156 | * config/hpux11.opt (mt): Likewise. | |
21157 | * config/microblaze/microblaze.opt (mxl-mode-xilkernel): Likewise. | |
21158 | * config/rs6000/xilinx.opt (mno-clearbss, mppcperflib): Likewise. | |
21159 | * config/vax/elf.opt (mno-asm-pic): Likewise. | |
21160 | * config/vms/vms.opt (map, mvms-return-codes): Likewise. | |
21161 | ||
d1d46f9f MS |
21162 | 2011-02-21 Mike Stump <mikestump@comcast.net> |
21163 | ||
21164 | PR target/47822 | |
21165 | * config/darwin-protos.h (darwin_init_cfstring_builtins): Return a | |
21166 | tree so we can get save the type. | |
21167 | * config/i386/darwin.h (SUBTARGET_INIT_BUILTINS): Reserve builtin slot | |
21168 | for CFString instead of trying to use past the end of the builtins. | |
21169 | * config/i386/i386.c (IX86_BUILTIN_CFSTRING): Likewise. | |
21170 | * config/rs6000/rs6000-builtin.def (RS6000_BUILTIN_CFSTRING): Likewise. | |
21171 | * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): Likewise. | |
21172 | * config/darwin.c (DARWIN_BUILTIN_CFSTRINGMAKECONSTANTSTRING): | |
21173 | Rename to darwin_builtin_cfstring. | |
21174 | (darwin_init_cfstring_builtins): Return the built type. | |
21175 | ||
23e0d930 UB |
21176 | 2011-02-21 Uros Bizjak <ubizjak@gmail.com> |
21177 | ||
21178 | PR target/47840 | |
21179 | * config/i386/avxintrin.h (_mm256_insert_epi32): Use _mm_insert_epi32. | |
21180 | (_mm256_insert_epi64): Use _mm_insert_epi64. | |
21181 | ||
192997cf AS |
21182 | 2011-02-21 Anatoly Sokolov <aesok@post.ru> |
21183 | ||
21184 | * config/stormy16/stormy16.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
21185 | * config/stormy16/stormy16-protos.h | |
21186 | (xstormy16_mode_dependent_address_p): Remove. | |
21187 | * config/stormy16/stormy16.c (xstormy16_mode_dependent_address_p): | |
21188 | Make static. Change return type to bool. Change argument type to | |
21189 | const_rtx. Remove dead code. | |
21190 | (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
21191 | ||
e292d003 RG |
21192 | 2011-02-21 Richard Guenther <rguenther@suse.de> |
21193 | ||
21194 | PR lto/47820 | |
21195 | * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers): | |
21196 | Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs. | |
21197 | (lto_input_ts_block_tree_pointers): Hook a BLOCK into the | |
21198 | TUs context. | |
23e0d930 | 21199 | * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): |
e292d003 RG |
21200 | Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs. |
21201 | ||
77f846e9 RG |
21202 | 2011-02-20 Richard Guenther <rguenther@suse.de> |
21203 | ||
21204 | PR lto/47822 | |
21205 | * tree.c (free_lang_data_in_decl): Clean builtins from | |
21206 | the TU decl BLOCK_VARS. | |
23e0d930 | 21207 | |
b2cddfc8 AO |
21208 | 2011-02-19 Alexandre Oliva <aoliva@redhat.com> |
21209 | ||
21210 | PR debug/47620 | |
21211 | PR debug/47630 | |
21212 | * haifa-sched.c (fix_tick_ready): Skip tick computation | |
21213 | for debug insns. | |
21214 | ||
becf4c11 RG |
21215 | 2011-02-19 Richard Guenther <rguenther@suse.de> |
21216 | ||
21217 | PR lto/47647 | |
21218 | * lto-streamer-in.c (lto_input_ts_decl_minimal_tree_pointers): | |
21219 | Remove lazy BLOCK_VARS streaming. | |
21220 | (lto_input_ts_block_tree_pointers): Likewise. | |
21221 | * lto-streamer-out.c (lto_output_ts_block_tree_pointers): Likewise. | |
21222 | ||
27f98305 JM |
21223 | 2011-02-19 Joseph Myers <joseph@codesourcery.com> |
21224 | ||
21225 | * config.gcc (i[34567]86-pc-msdosdjgpp*): Use i386/djgpp-stdint.h. | |
21226 | ||
064bf3f4 JM |
21227 | 2011-02-19 Joseph Myers <joseph@codesourcery.com> |
21228 | ||
21229 | * config/i386/biarch32.h, config/i386/mach.h, | |
21230 | config/rs6000/aix.opt, config/sh/superh64.h: Remove. | |
21231 | ||
9215ddc3 JJ |
21232 | 2011-02-19 Jakub Jelinek <jakub@redhat.com> |
21233 | ||
21234 | PR target/47800 | |
21235 | * config/i386/i386.md (peephole2 for shift and plus): Use | |
21236 | operands[1] original mode in the first insn. | |
21237 | ||
8b021004 MS |
21238 | 2011-02-18 Mike Stump <mikestump@comcast.net> |
21239 | ||
65ded153 | 21240 | * config/t-darwin (TM_H): Add dependency on darwin-sections.def. |
8b021004 | 21241 | |
f84ae14c JH |
21242 | 2011-02-18 Jan Hubicka <jh@suse.cz> |
21243 | ||
21244 | PR middle-end/47788 | |
65ded153 EB |
21245 | * ipa-inline.c (compute_inline_parameters): Set disregard_inline_limits |
21246 | to zero when the function is not inlinable at all. | |
f84ae14c | 21247 | |
eddabc80 JDA |
21248 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
21249 | ||
21250 | * config.gcc (hppa[12]*-*-hpux11*): Set extra_parts. | |
21251 | * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, | |
21252 | pthread_mutex_unlock, pthread_once): Reinstate pthread stubs. | |
21253 | * config/pa/t-pa-hpux11: Add rules to build pthread stubs. | |
21254 | * config/pa/t-pa64: Likewise. | |
21255 | * config/pa/pa-hpux11.h (LINK_GCC_C_SEQUENCE_SPEC): Define. | |
21256 | ||
ca3da783 JJ |
21257 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
21258 | ||
21259 | PR driver/47787 | |
21260 | * gcc.c (default_compilers): Clear combinable field for "@cpp-output". | |
21261 | ||
430aa868 JDA |
21262 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
21263 | ||
21264 | PR target/47792 | |
21265 | * gthr-dce.h (__gthread_mutx_destroy): Fix typo in name. | |
21266 | ||
4bf7ff7e AS |
21267 | 2011-02-18 Anatoly Sokolov <aesok@post.ru> |
21268 | ||
21269 | * config/m32r/m32r.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, | |
21270 | RTX_OK_FOR_BASE_P, RTX_OK_FOR_OFFSET_P, LEGITIMATE_OFFSET_ADDRESS_P, | |
21271 | LEGITIMATE_LO_SUM_ADDRESS_P, LOAD_POSTINC_P, STORE_PREINC_PREDEC_P, | |
21272 | GO_IF_LEGITIMATE_ADDRESS): Remove macros. | |
21273 | * config/m32r/m32r.c (TARGET_LEGITIMATE_ADDRESS_P): Define. | |
21274 | (m32r_rtx_ok_for_base_p, m32r_rtx_ok_for_offset_p, | |
21275 | m32r_legitimate_offset_addres_p, m32r_legitimate_lo_sum_addres_p, | |
21276 | m32r_load_postinc_p, m32r_store_preinc_predec_p, | |
21277 | m32r_legitimate_address_p): New functions. | |
21278 | * config/m32r/constraints.md (constraint "S"): Don't use | |
21279 | STORE_PREINC_PREDEC_P. | |
21280 | (constraint "U"): Don't use LOAD_POSTINC_P. | |
21281 | ||
7efcf910 CLT |
21282 | 2011-02-18 Chung-Lin Tang <cltang@codesourcery.com> |
21283 | ||
21284 | PR rtl-optimization/46178 | |
21285 | * ira.c (setup_hard_regno_class): Use ira_class_translate[] to | |
21286 | compute ira_hard_regno_cover_class[]. | |
21287 | ||
237d6259 RG |
21288 | 2011-02-18 Richard Guenther <rguenther@suse.de> |
21289 | ||
21290 | PR lto/47798 | |
21291 | * lto-streamer.h (lto_global_var_decls): Declare. | |
21292 | * lto-streamer-in.c (lto_register_var_decl_in_symtab): Register | |
21293 | statics for global var processing. | |
21294 | ||
12d80acc RG |
21295 | 2011-02-18 Richard Guenther <rguenther@suse.de> |
21296 | ||
21297 | PR tree-optimization/47737 | |
21298 | * tree-ssa-loop-im.c (extract_true_false_args_from_phi): Fix | |
21299 | edge dominance check. | |
21300 | ||
abfea58d JJ |
21301 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
21302 | ||
21303 | PR debug/47780 | |
21304 | * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Call copy_rtx to | |
21305 | avoid invalid rtx sharing. | |
21306 | ||
f73c8882 GP |
21307 | 2011-02-18 Gerald Pfeifer <gerald@pfeifer.com> |
21308 | ||
21309 | * doc/cpp.texi (Obsolete Features): Add background on the | |
21310 | origin of assertions. | |
21311 | ||
d764a8e6 IS |
21312 | 2011-02-17 Iain Sandoe <iains@gcc.gnu.org> |
21313 | ||
21314 | * config/darwin-c.c (darwin_cpp_builtins): Define __OBJC2__ for | |
23e0d930 | 21315 | objc_abi == 2. |
d764a8e6 IS |
21316 | * config/darwin.c (output_objc_section_asm_op): Added support for |
21317 | ABI v1 and v2. | |
21318 | (is_objc_metadata): New. | |
21319 | (darwin_objc2_section): New. | |
21320 | (darwin_objc1_section): New. | |
21321 | (machopic_select_section): Added support for ABI v1 and v2. | |
21322 | (darwin_emit_objc_zeroed): New. | |
21323 | (darwin_output_aligned_bss): Detect objc metadata and treat it | |
21324 | appropriately. | |
21325 | (darwin_asm_output_aligned_decl_common): Same. | |
21326 | (darwin_asm_output_aligned_decl_local): Same. | |
21327 | * config/darwin-sections.def: Updated for ABI v1 and v2. | |
21328 | * config/darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): When | |
21329 | compiling Objective-C code for the NeXT runtime, default to using | |
21330 | ABI version 0 for 32-bit, and version 2 for 64-bit. | |
21331 | ||
0a8134ca JM |
21332 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
21333 | ||
21334 | * common.opt (optimize_fast): New Variable. | |
21335 | * opts.c (default_options_optimization): Use opts->x_optimize_fast | |
21336 | instead of local variable ofast. | |
21337 | ||
0a256240 NP |
21338 | 2011-02-17 Nicola Pero <nicola.pero@meta-innovation.com> |
21339 | ||
21340 | * doc/invoke.texi (fobjc-abi-version): Documented. | |
21341 | (fobjc-nilcheck): Documented. | |
21342 | (fno-nil-receiver): Updated documentation to refer to the NeXT ABI | |
21343 | version. | |
21344 | ||
fa381cb2 JM |
21345 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
21346 | ||
21347 | PR driver/47390 | |
21348 | * common.opt (export-dynamic): New Driver option. | |
21349 | * gcc.c (LINK_COMMAND_SPEC): Add comment about %{e*}. | |
21350 | ||
5437eaa6 JM |
21351 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
21352 | ||
21353 | * config/rx/rx.h (LIB_SPEC): Match -msim not -msim*. | |
21354 | ||
bb7e6d55 AO |
21355 | 2011-02-17 Alexandre Oliva <aoliva@redhat.com> |
21356 | Jan Hubicka <jh@suse.cz> | |
21357 | ||
21358 | PR debug/47106 | |
21359 | PR debug/47402 | |
21360 | * cfgexpand.c (account_used_vars_for_block): Remove. | |
21361 | (estimated_stack_frame_size): Use referenced vars. | |
21362 | * tree-inline.c (remap_decl): Only mark VAR_DECLs as referenced | |
21363 | that were referenced in the original function. Test src_fn | |
21364 | rather than cfun. Drop redundant get_var_ann. | |
21365 | (setup_one_parameter): Drop redundant get_var_ann. | |
21366 | (declare_return_variable): Likewise. | |
21367 | (copy_decl_for_dup_finish): Mark VAR_DECLs referenced in src_fn. | |
21368 | (copy_arguments_for_versioning): Drop redundant get_var_ann. | |
21369 | * ipa-inline.c (compute_inline_parameters): Do not compute | |
21370 | disregard_inline_limits here. | |
bb7e6d55 AO |
21371 | (compute_inlinable_for_current, pass_inlinable): New. |
21372 | (pass_inline_parameters): Require PROP_referenced_vars. | |
21373 | * cgraphunit.c (cgraph_process_new_functions): Don't run | |
23e0d930 | 21374 | compute_inline_parameters explicitly unless function is in SSA form. |
bb7e6d55 AO |
21375 | (cgraph_analyze_function): Set .disregard_inline_limits. |
21376 | * tree-sra.c (convert_callers): Compute inliner parameters | |
21377 | only for functions already in SSA form. | |
21378 | ||
f181a8a7 JM |
21379 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
21380 | ||
21381 | * config/sparc/sparc.h (CPP_ENDIAN_SPEC): Don't handle | |
21382 | -mlittle-endian-data. | |
21383 | ||
c6869789 JM |
21384 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
21385 | ||
21386 | * config/sparc/linux64.h (OPTION_DEFAULT_SPECS): Match -mfpu and | |
21387 | -mno-fpu, not -fpu and -no-fpu. | |
21388 | * config/sparc/sol2-bi.h (OPTION_DEFAULT_SPECS): Likewise. | |
21389 | * config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Likewise. | |
21390 | ||
fbf4bfd3 UB |
21391 | 2011-02-17 Uros Bizjak <ubizjak@gmail.com> |
21392 | ||
21393 | PR target/43653 | |
21394 | * config/i386/i386.c (ix86_secondary_reload): Handle SSE | |
21395 | input reload with PLUS RTX. | |
21396 | ||
70be5dc7 JM |
21397 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
21398 | ||
21399 | * config/mips/mips.opt (mno-mdmx): Use Var(TARGET_MDMX, 0) instead | |
21400 | of InverseVar(MDMX). | |
21401 | ||
30b1646e JM |
21402 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
21403 | ||
21404 | * config/sh/embed-elf.h (LIBGCC_SPEC): Match -m4-340 instead of | |
21405 | --m4-340. | |
21406 | ||
ab7b71e9 JM |
21407 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
21408 | ||
21409 | * config/mn10300/mn10300.opt (mno-crt0): New. | |
21410 | ||
466f3f08 JM |
21411 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
21412 | ||
21413 | * config/m68k/uclinux.opt (static-libc): New Driver option. | |
21414 | ||
8226cd7b JM |
21415 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
21416 | ||
21417 | * config/m32c/m32c.h (LIB_SPEC): Match -msim not -msim*. | |
21418 | ||
45cab1d7 JM |
21419 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
21420 | ||
21421 | * config/lm32/lm32.h (ASM_SPEC): Use %{muser-enabled} instead of | |
21422 | %{muser-extend-enabled}. | |
21423 | ||
65aab64f RG |
21424 | 2011-02-16 Richard Guenther <rguenther@suse.de> |
21425 | ||
21426 | PR tree-optimization/47738 | |
21427 | * tree-ssa-loop.c (run_tree_predictive_commoning): Return | |
21428 | the TODO from tree_predictive_commoning. | |
21429 | ||
fc2fa4fb JL |
21430 | 2011-02-15 Jeff Law <law@redhat.com> |
21431 | ||
21432 | Revert | |
21433 | 2011-01-25 Jeff Law <law@redhat.com> | |
21434 | ||
21435 | PR rtl-optimization/37273 | |
21436 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
21437 | handle them like argument loads from stack slots. Do not double | |
21438 | count memory for memory constants and argument loads from stack slots. | |
21439 | ||
e3a69bb4 MM |
21440 | 2011-02-15 Michael Meissner <meissner@linux.vnet.ibm.com> |
21441 | ||
21442 | PR target/47755 | |
21443 | * config/rs6000/predicates.md (easy_vector_constant): Allow V2DI | |
21444 | mode for vector constants. Remove code that checks for TImode. | |
21445 | ||
de650422 AO |
21446 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
21447 | ||
21448 | PR debug/47106 | |
21449 | PR debug/47402 | |
21450 | * cgraph.h (compute_inline_parameters): Return void. | |
21451 | * ipa-inline.c (compute_inline_parameters): Adjust. | |
21452 | ||
30925d94 AO |
21453 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
21454 | ||
21455 | PR debug/47106 | |
21456 | PR debug/47402 | |
21457 | * tree-inline.h (estimated_stack_frame_size): Take cgraph node | |
21458 | rather than decl. | |
21459 | * cfgexpand.c (estimated_stack_frame_size): Likewise. | |
21460 | * ipa-inline.c (compute_inline_parameters): Adjust. | |
21461 | ||
1b9a784a AO |
21462 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
21463 | ||
21464 | PR debug/47106 | |
21465 | PR debug/47402 | |
21466 | * tree-flow.h (FOR_EACH_REFERENCED_VAR): Add FN argument. | |
21467 | Adjust all users. Pass FN to... | |
21468 | * tree-flow-inline.h (first_referenced_var): ... this. Add | |
21469 | fn argument. | |
21470 | * ipa-struct-reorg.c: Adjust. | |
21471 | * tree-dfa.c: Adjust. | |
21472 | * tree-into-ssa.c: Adjust. | |
21473 | * tree-sra.c: Adjust. | |
21474 | * tree-ssa-alias.c: Adjust. | |
21475 | * tree-ssa-live.c: Adjust. | |
21476 | * tree-ssa.c: Adjust. | |
21477 | * tree-ssanames.c: Adjust. | |
21478 | * tree-tailcall.c: Adjust. | |
21479 | ||
27c6b086 AO |
21480 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
21481 | ||
21482 | PR debug/47106 | |
21483 | PR debug/47402 | |
21484 | * tree-flow.h (referenced_var_lookup): Add fn parameter. | |
21485 | Adjust all callers. | |
21486 | * tree-dfa.c (referenced_var_lookup): Use fn instead of cfun. | |
21487 | * tree-flow-inline.h: Adjust. | |
21488 | * gimple-pretty-print.c: Adjust. | |
21489 | * tree-into-ssa.c: Adjust. | |
21490 | * tree-ssa.c: Adjust. | |
21491 | * cfgexpand.c: Adjust. | |
21492 | ||
679e8183 NF |
21493 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
21494 | ||
fbf4bfd3 UB |
21495 | * config/iq2000/i2000.h (REG_CLASS_FROM_LETTER): Delete. |
21496 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
21497 | (EXTRA_CONSTRAINT): Delete. | |
21498 | * config/iq2000/constraints.md: New file. | |
21499 | * config/iq2000/iq2000.md: Include it. | |
679e8183 NF |
21500 | (define_insn ""): Delete. |
21501 | (movsi_internal2, movhi_internal2, movqi_internal2): Delete | |
21502 | unsupported constraint letters from patterns. | |
21503 | (call_value, call_value_internal1): Likewise. | |
21504 | (call_value_multiple_internal1): Likewise. | |
21505 | ||
a45d420a NC |
21506 | 2011-02-15 Nick Clifton <nickc@redhat.com> |
21507 | ||
21508 | * config/mn10300/mn10300.c: Include tm-constrs.h. | |
21509 | (struct liw_data): New data structure describing an LIW candidate | |
21510 | instruction. | |
21511 | (extract_bundle): Use struct liw_data. Allow small integer | |
21512 | operands for some instructions. | |
21513 | (check_liw_constraints): Use struct liw_data. Remove swapped | |
21514 | parameter. Add comments describing the checks. Fix bug when | |
21515 | assigning the source of liw1 to the source of liw2. | |
21516 | (liw_candidate): Delete. Code moved into extract_bundle. | |
21517 | (mn10300_bundle_liw): Use struct liw_data. Check constraints | |
21518 | before swapping. | |
21519 | * config/mn10300/predicates.md (liw_operand): New predicate. | |
21520 | Allows registers and small integer constants. | |
21521 | * config/mn10300/constraints.md (O): New constraint. Accetps | |
21522 | integers in the range -8 to +7 inclusive. | |
21523 | * config/mn10300/mn10300.md (movesi_internal): Add an alternative | |
21524 | for moving a small integer into a register. Give this alternative | |
21525 | LIW attributes. | |
21526 | (addsi3, subsi3, cmpsi, lshrsi3, ashrsi3): Likewise. | |
21527 | (ashlsi3): Likewise, plus give LIW attributes to the alternatives | |
21528 | using the J,K,L and M constraints, | |
21529 | (liw): Remove SI mode on second operands to allow for HI and QI | |
21530 | mode values. | |
21531 | (cmp_liw, liw_cmp): Likewise. Plus fix order of operands in the | |
21532 | instruction. | |
21533 | ||
48feba28 RG |
21534 | 2011-02-15 Richard Guenther <rguenther@suse.de> |
21535 | ||
21536 | PR tree-optimization/47743 | |
21537 | * tree-ssa-pre.c (phi_translate_1): If we didn't get a value-number | |
21538 | for a non-type-compatible VN lookup bail out. | |
21539 | ||
ad1c1eeb NF |
21540 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
21541 | ||
21542 | * config/fr30/constraints.md: New file. | |
21543 | * config/fr30/fr30.md: Include it. | |
21544 | * config/fr30/fr30.h (REG_CLASS_FROM_LETTER): Delete. | |
21545 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
21546 | (EXTRA_CONSTRAINT): Delete. | |
21547 | ||
49ac143d NF |
21548 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
21549 | ||
21550 | * config/frv/constraints.md: New file. | |
21551 | * config/frv/predicates.md: Include it. | |
21552 | * config/frv/frv.c (reg_class_from_letter): Delete. | |
21553 | (frv_option_override): Don't initialize it. | |
21554 | * config/frv/frv.h (REG_CLASS_FROM_LETTER): Delete. | |
21555 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_K): Delete. | |
21556 | (CONST_OK_FOR_L, CONST_OK_FOR_M, CONST_OK_FOR_N): Delete. | |
21557 | (CONST_OK_FOR_O, CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete. | |
21558 | (CONST_DOUBLE_OK_FOR_G, CONST_DOUBLE_OK_FOR_H): Delete. | |
21559 | (CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
21560 | (EXTRA_CONSTRAINT_FOR_Q, EXTRA_CONSTRAINT_FOR_R): Delete. | |
21561 | (EXTRA_CONSTRAINT_FOR_S, EXTRA_CONSTRAINT_FOR_T): Delete. | |
21562 | (EXTRA_CONSTRAINT_FOR_U, EXTRA_CONSTRAINT): Delete. | |
21563 | (EXTRA_MEMORY_CONSTRAINT, CONSTRAINT_LEN): Delete. | |
21564 | (REG_CLASS_FROM_CONSTRAINT): Delete. | |
21565 | ||
c95f9494 JJ |
21566 | 2011-02-15 Jakub Jelinek <jakub@redhat.com> |
21567 | ||
21568 | PR middle-end/47581 | |
21569 | * config/i386/i386.c (ix86_compute_frame_size): Don't align offset | |
21570 | if frame size is 0 in a leaf function. | |
21571 | ||
13aed611 RO |
21572 | 2011-02-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
21573 | ||
21574 | PR pch/14940 | |
21575 | * config/alpha/host-osf.c: New file. | |
21576 | * config/alpha/x-osf: New file. | |
21577 | * config.host (alpha*-dec-osf*): Use it. | |
21578 | ||
b09c3081 AS |
21579 | 2011-02-14 Anatoly Sokolov <aesok@post.ru> |
21580 | ||
21581 | * config/rx/rx.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
21582 | * config/rx/rx-protos.h (rx_is_mode_dependent_addr): Remove. | |
21583 | * config/xtensa/xtensa.c (rx_is_mode_dependent_addr): Rename to... | |
21584 | (rx_mode_dependent_address_p): ...this. Make static. Change argument | |
21585 | type to const_rtx. | |
21586 | (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
21587 | ||
d634083b NF |
21588 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
21589 | ||
21590 | * config/stormy16/constraints.md: New file. | |
21591 | * config/stormy16/predicates.md (nonimmediate_nonstack_operand): | |
21592 | Use satisfies_constraint_Q and satisfies_constraint_R. | |
21593 | * config/stormy16/stomry16-protos.h (xstormy16_extra_constraint_p): | |
21594 | Delete. | |
21595 | (xstormy16_legitiamte_address_p): Declare. | |
21596 | * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Delete. | |
21597 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
21598 | (EXTRA_CONSTRAINT): Delete. | |
fbf4bfd3 | 21599 | * config/stormy16/stormy16.c (xstormy16_legitimate_address_p): |
d634083b NF |
21600 | Un-staticize. |
21601 | (xstormy16_extra_constraint_p): Delete. | |
21602 | ||
c7dd803e EB |
21603 | 2011-02-14 Eric Botcazou <ebotcazou@adacore.com> |
21604 | ||
21605 | PR tree-optimization/46494 | |
21606 | * loop-unroll.c (split_edge_and_insert): Adjust comment. | |
21607 | * loop-init.c (loop_optimizer_finalize): Do not call verify_flow_info. | |
21608 | (pass_rtl_loop_done): Add TODO_verify_flow. | |
21609 | * fwprop.c (pass_rtl_fwprop): Likewise. | |
21610 | * modulo-sched.c (pass_sms): Likewise. | |
21611 | * tree-ssa-dom.c (pass_dominator): Likewise. | |
21612 | * tree-ssa-loop-ch.c (pass_ch): Likewise. | |
21613 | * tree-ssa-loop.c (pass_complete_unrolli): Likewise. | |
21614 | (pass_tree_loop_done): Likewise. | |
21615 | * tree-ssa-pre.c (execute_pre): Likewise. | |
21616 | * tree-ssa-reassoc.c (pass_reassoc): Likewise. | |
21617 | * tree-ssa-sink.c (pass_sink_code): Likewise. | |
21618 | * tree-vrp.c (pass_vrp): Likewise. | |
21619 | ||
c6150df6 NF |
21620 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
21621 | ||
c7dd803e EB |
21622 | * config/v850/constraints.md: New file. |
21623 | * config/v850/v850.md: Include it. | |
21624 | * config/v850/predicates.md (reg_or_0_operand): Use | |
21625 | satisfies_constraint_G. | |
21626 | (special_symbolref_operand): Use satisfies_constraint_K. | |
21627 | * config/v850/v850.h (CONSTANT_ADDRESS_P): Use constraint_satisfied_p. | |
21628 | (GO_IF_LEGITIMATE_ADDRESS): Likewise. | |
21629 | (REG_CLASS_FROM_LETTER, INT_7_BITS, INT_8_BITS): Delete. | |
21630 | (CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete. | |
21631 | (EXTRA_CONSTRAINT): Delete. | |
21632 | (CONST_OK_FOR_I, CONST_OK_FOR_J): Use insn_const_int_ok_for_constraint. | |
21633 | (CONST_OK_FOR_K, CONST_OK_FOR_L, CONST_OK_FOR_M): Likewise. | |
21634 | (CONST_OK_FOR_N, CONST_OK_FOR_O): Likewise. | |
c6150df6 | 21635 | |
30dd1ea3 AS |
21636 | 2011-02-14 Anatoly Sokolov <aesok@post.ru> |
21637 | ||
21638 | PR target/47696 | |
21639 | * config/avr/avr-devices.c (avr_mcu_types): Fix ATmega2560 device | |
21640 | description. | |
21641 | ||
944f4bb3 NF |
21642 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
21643 | ||
21644 | * config/mcore/constraints.md: New file. | |
21645 | * config/mcore/mcore.md: Include it. | |
21646 | * config/mcore/mcore.c (reg_class_from_letter): Delete. | |
21647 | * config/mcore/mcore.h (reg_class_from_letter): Delete. | |
21648 | (REG_CLASS_FROM_LETTER): Delete. | |
21649 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Use | |
21650 | insn_const_int_ok_for_constraint. | |
21651 | (CONST_OK_FOR_K, CONST_OK_FOR_M, CONST_OK_FOR_N): Likewise. | |
21652 | (CONST_OK_FOR_O, CONST_OK_FOR_P): Likewise. | |
21653 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
21654 | (EXTRA_CONSTRAINT): Delete. | |
21655 | ||
ad56a54c RO |
21656 | 2011-02-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
21657 | ||
21658 | PR ada/41929 | |
21659 | * config/sparc/sol2-unwind.h: Include <sys/frame.h>, <sys/stack.h> | |
21660 | (IS_SIGHANDLER): Define. | |
21661 | (sparc64_is_sighandler): New function, split off from | |
21662 | sparc64_fallback_frame_state. | |
21663 | (sparc_is_sighandler): New function, split off from | |
21664 | sparc_fallback_frame_state. | |
21665 | (sparc64_fallback_frame_state): Merge with ... | |
21666 | (sparc_fallback_frame_state): ... this into ... | |
21667 | (MD_FALLBACK_FRAME_STATE_FOR): ... this. | |
fbf4bfd3 UB |
21668 | Change new_cfa to long. Remove regs_off, fpu_save_off, fpu_save. |
21669 | Define nframes, mctx. Use IS_SIGHANDLER, handler_args, mctx, walk | |
21670 | stack instead of hardcoded offsets. | |
ad56a54c | 21671 | |
fbf4bfd3 | 21672 | 2011-02-14 Andriy Gapon <avg@freebsd.org> |
67932abf AG |
21673 | |
21674 | PR target/45808 | |
21675 | * config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case. | |
21676 | ||
029c8f3e RW |
21677 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
21678 | ||
21679 | * configure: Regenerate. | |
21680 | ||
a016dc83 JM |
21681 | 2011-02-12 Joseph Myers <joseph@codesourcery.com> |
21682 | ||
21683 | PR driver/45731 | |
21684 | * gcc.c (asm_options): Correct spec matching --target-help. | |
21685 | ||
8957a0ec MJ |
21686 | 2011-02-12 Martin Jambor <mjambor@suse.cz> |
21687 | ||
21688 | * tree-cfg.c (verify_gimple_call): Return true upon invalid argument | |
21689 | to gimple call error. | |
21690 | ||
6ef828bc MS |
21691 | 2011-02-12 Mike Stump <mikestump@comcast.net> |
21692 | ||
21693 | * config/frv/frv.h (TRANSFER_FROM_TRAMPOLINE): Canonicalize | |
21694 | comments in backslash regions. | |
21695 | ||
a4015be5 MS |
21696 | 2011-02-12 Mike Stump <mikestump@comcast.net> |
21697 | Jakub Jelinek <jakub@redhat.com> | |
21698 | Iain Sandoe <iains@gcc.gnu.org> | |
21699 | ||
21700 | PR target/47324 | |
21701 | * dwarf2out.c (output_cfa_loc): When required, apply the | |
21702 | DWARF2_FRAME_REG_OUT macro to adjust register numbers. | |
21703 | (output_loc_sequence): Likewise. | |
21704 | (output_loc_operands_raw): Likewise. | |
21705 | (output_loc_sequence_raw): Likewise. | |
21706 | (output_cfa_loc): Likewise. | |
21707 | (output_loc_list): Suppress register number adjustment when | |
21708 | calling output_loc_sequence() | |
21709 | (output_die): Likewise. | |
21710 | ||
5378dda2 AS |
21711 | 2011-02-12 Anatoly Sokolov <aesok@post.ru> |
21712 | ||
21713 | * config/xtensa/xtensa.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): | |
21714 | Remove macros. | |
21715 | * config/xtensa/xtensa.c (xtensa_register_move_cost, | |
21716 | xtensa_memory_move_cost): New functions. | |
21717 | (TARGET_REGISTER_MOVE_COST, TARGET_REGISTER_MOVE_COST): Define. | |
21718 | ||
f3d533d3 AO |
21719 | 2011-02-12 Alexandre Oliva <aoliva@redhat.com> |
21720 | ||
21721 | PR lto/47225 | |
21722 | * configure.ac (gcc_cv_lto_plugin): Test for liblto_plugin.la | |
21723 | in the current directory. | |
21724 | * configure: Rebuilt. | |
21725 | ||
9d53403c IS |
21726 | 2011-02-12 Iain Sandoe <iains@gcc.gnu.org> |
21727 | ||
21728 | * config/darwin.c (darwin_override_options): Add a hunk missed | |
fbf4bfd3 | 21729 | from the commit of r168571. Trim comment line lengths and |
9d53403c IS |
21730 | correct indents of the preceding block. |
21731 | ||
a350a6c8 IS |
21732 | 2011-02-12 Iain Sandoe <iains@gcc.gnu.org> |
21733 | ||
21734 | * gcc.c (driver_handle_option): Concatenate the argument to -F with | |
21735 | the switch. | |
21736 | ||
bab79a40 JM |
21737 | 2011-02-11 Joseph Myers <joseph@codesourcery.com> |
21738 | ||
21739 | * common.opt (nostartfiles): New Driver option. | |
21740 | ||
1bbc6693 XDL |
21741 | 2011-02-11 Xinliang David Li <davidxl@google.com> |
21742 | ||
21743 | PR tree-optimization/47707 | |
21744 | * tree-chrec.c (convert_affine_scev): Keep type precision. | |
21745 | ||
1da7d8c0 EB |
21746 | 2011-02-11 Eric Botcazou <ebotcazou@adacore.com> |
21747 | ||
21748 | PR tree-optimization/47420 | |
21749 | * ipa-split.c (visit_bb): Punt on any kind of GIMPLE_RESX. | |
21750 | ||
21751 | 2011-02-11 Pat Haugen <pthaugen@us.ibm.com> | |
3f82421f PH |
21752 | |
21753 | PR rtl-optimization/47614 | |
21754 | * rtl.h (check_for_inc_dec): Declare. | |
21755 | * dse.c (check_for_inc_dec): Externalize... | |
21756 | * postreload.c (reload_cse_simplify): ...use it before deleting stmt. | |
21757 | (reload_cse_simplify_operands): Don't simplify opnds with side effects. | |
21758 | ||
4df47bca JM |
21759 | 2011-02-11 Joseph Myers <joseph@codesourcery.com> |
21760 | ||
21761 | PR driver/47678 | |
21762 | * gcc.c (main): Do not compile inputs if there were errors in | |
21763 | option handling. | |
21764 | * opts-common.c (read_cmdline_option): Check for wrong language | |
21765 | after other error checks. | |
21766 | ||
61502ca8 NF |
21767 | 2011-02-11 Nathan Froyd <froydnj@codesourcery.com> |
21768 | ||
21769 | * cgraph.c: Fix comment typos. | |
21770 | * cgraph.h: Likewise. | |
21771 | * cgraphunit.c: Likewise. | |
21772 | * ipa-cp.c: Likewise. | |
21773 | * ipa-inline.c: Likewise. | |
21774 | * ipa-prop.c: Likewise. | |
21775 | * ipa-pure-const.c: Likewise. | |
21776 | * ipa-ref.c: Likewise. | |
21777 | * ipa-reference.c: Likewise. | |
21778 | ||
b63f974e JJ |
21779 | 2011-02-11 Jakub Jelinek <jakub@redhat.com> |
21780 | ||
d50c5e0c JJ |
21781 | PR debug/47684 |
21782 | * tree-predcom.c (single_nonlooparound_use): Ignore debug uses. | |
b63f974e | 21783 | |
6dd2a13c RO |
21784 | 2011-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
21785 | ||
21786 | PR testsuite/47400 | |
21787 | * doc/sourcebuild.texi (Require Support): Document | |
21788 | dg-require-ascii-locale. | |
21789 | ||
4a087ccf MX |
21790 | 2011-02-11 Mingjie Xing <mingjie.xing@gmail.com> |
21791 | ||
21792 | * doc/lto.texi (Write summary): Fix missing parentheses. | |
21793 | ||
a4403164 DD |
21794 | 2011-02-10 DJ Delorie <dj@redhat.com> |
21795 | ||
21796 | * config/m32c/m32c.c (m32c_option_override): Disable | |
21797 | -fcombine-stack-adjustments until flag value tracking and compare | |
21798 | optimization can be rewritten. | |
21799 | ||
4fac45bd PB |
21800 | 2011-02-10 Peter Bergner <bergner@vnet.ibm.com> |
21801 | ||
21802 | * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Change to | |
21803 | PROCESSOR_POWER7. | |
21804 | (PROCESSOR_DEFAULT64): Likewise. | |
21805 | ||
72602cd1 RH |
21806 | 2011-02-10 Richard Henderson <rth@redhat.com> |
21807 | ||
21808 | * config/rx/predicates.md (rx_zs_comparison_operator): Revert | |
21809 | change from 2011-02-03. | |
21810 | * config/rx/rx.c (flags_from_code): Likewise. | |
21811 | (rx_print_operand) ['B']: For LT/GE, use lt/ge if overflow flag | |
21812 | is valid, n/pz otherwise. | |
21813 | (rx_select_cc_mode): Return CCmode if Y is not zero. | |
21814 | ||
ea57f573 RG |
21815 | 2011-02-10 Richard Guenther <rguenther@suse.de> |
21816 | ||
ea4c3e65 | 21817 | * tree-ssa-structalias.c (bitpos_of_field): Use BITS_PER_UNIT, not 8. |
ea57f573 | 21818 | |
92b1d23b RG |
21819 | 2011-02-10 Richard Guenther <rguenther@suse.de> |
21820 | ||
21821 | PR tree-optimization/47677 | |
21822 | * tree-vrp.c (vrp_bitmap_equal_p): Fix comparison of empty bitmaps. | |
21823 | ||
525a2d06 JJ |
21824 | 2011-02-10 Jakub Jelinek <jakub@redhat.com> |
21825 | ||
21826 | PR target/47665 | |
21827 | * combine.c (make_compound_operation): Only change shifts into | |
21828 | multiplication for SCALAR_INT_MODE_P. | |
21829 | ||
06c969bd JZ |
21830 | 2011-02-10 Jie Zhang <jie@codesourcery.com> |
21831 | ||
21832 | PR testsuite/47622 | |
21833 | Revert | |
21834 | 2011-02-05 Jie Zhang <jie@codesourcery.com> | |
21835 | PR debug/42631 | |
21836 | * web.c (entry_register): Don't clobber the number of the | |
21837 | first uninitialized reference in used[]. | |
21838 | ||
282ec48e RG |
21839 | 2011-02-09 Richard Guenther <rguenther@suse.de> |
21840 | ||
21841 | PR tree-optimization/47664 | |
21842 | * ipa-inline.c (cgraph_decide_inlining_incrementally): Visit | |
21843 | all edges again. | |
21844 | ||
df98c3e8 DE |
21845 | 2011-02-09 David Edelsohn <dje.gcc@gmail.com> |
21846 | ||
d0f21cd6 DE |
21847 | PR target/46481 |
21848 | PR target/47032 | |
df98c3e8 DE |
21849 | * config/rs6000/aix61.h (PROCESSOR_DEFAULT): Change to |
21850 | PROCESSOR_POWER7. | |
21851 | (PROCESSOR_DEFAULT64): Same. | |
21852 | (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Delete. | |
21853 | ||
67b6839f RO |
21854 | 2011-02-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
21855 | ||
21856 | * config/mips/iris6.h (TARGET_C99_FUNCTIONS): Define. | |
21857 | ||
4fd73214 MJ |
21858 | 2011-02-09 Martin Jambor <mjambor@suse.cz> |
21859 | ||
21860 | PR middle-end/45505 | |
21861 | * tree-sra.c (struct access): New flags grp_scalar_read and | |
21862 | grp_scalar_write. Changed description of assignment read and write | |
21863 | flags. | |
21864 | (dump_access): Dump new flags, reorder all of them. | |
21865 | (sort_and_splice_var_accesses): Set the new flag accordingly, use them | |
21866 | to detect multiple scalar reads. | |
21867 | (analyze_access_subtree): Use the new scalar read write flags instead | |
21868 | of the old flags. Adjusted comments. | |
21869 | ||
91140cd3 DD |
21870 | 2011-02-08 DJ Delorie <dj@redhat.com> |
21871 | ||
21872 | PR target/47548 | |
21873 | * config/m32c/m32c.c (m32c_subreg): Don't try to validate interim | |
21874 | patterns. | |
21875 | ||
4254bbfe JM |
21876 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
21877 | ||
21878 | * config/m68k/uclinux.opt: New. | |
21879 | * config.gcc (m68k-*-uclinux*): Use m68k/uclinux.opt. | |
21880 | ||
f1fda84e JM |
21881 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
21882 | ||
21883 | * config/cris/elf.opt (sim): New Driver option. | |
21884 | ||
4933ae74 JM |
21885 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
21886 | ||
21887 | * config/xtensa/elf.opt: New. | |
21888 | * config.gcc (xtensa*-*-elf*): Use xtensa/elf.opt. | |
21889 | ||
4ad70280 JM |
21890 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
21891 | ||
21892 | * config/vax/elf.opt: New. | |
21893 | * config.gcc (vax-*-linux*, vax-*-netbsdelf*): Use vax/elf.opt. | |
21894 | ||
20893707 JM |
21895 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
21896 | ||
21897 | * config/rs6000/aix64.opt (posix, pthread): New Driver options. | |
21898 | ||
b8e7038e JM |
21899 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
21900 | ||
21901 | * config/gnu-user.opt: New. | |
21902 | * config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | | |
21903 | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu, | |
21904 | *-*-uclinux*): Use gnu-user.opt. | |
21905 | ||
e1c5225a TS |
21906 | 2011-02-08 Thomas Schwinge <thomas@schwinge.name> |
21907 | ||
21908 | * config/gnu.h (CPP_SPEC, LIB_SPEC): Remove handling of -bsd option. | |
21909 | * config/i386/gnu.h (CPP_SPEC): Likewise. | |
21910 | ||
5e46b0c6 ILT |
21911 | 2011-02-08 Ian Lance Taylor <iant@google.com> |
21912 | ||
21913 | * common.opt (fcx-limited-range): Add SetByCombined flag. | |
21914 | (ffinite-math-only, fmath-errno, frounding-math): Likewise. | |
21915 | (fsignaling-nans, fsigned-zeros, ftrapping-math): Likewise. | |
21916 | (fassociative-math, freciprocal-math): Likewise. | |
21917 | (funsafe-math-optimizations): Likewise. | |
21918 | * opth-gen.awk: Handle SetByCombined. | |
21919 | * optc-gen.awk: Likewise. | |
ea4c3e65 | 21920 | * opts.c (set_fast_math_flags): Don't override flag if set by frontend. |
5e46b0c6 ILT |
21921 | (set_unsafe_math_optimizations_flags): Likewise. |
21922 | * doc/options.texi (Option properties): Document SetByCombined. | |
21923 | ||
32243d46 JM |
21924 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
21925 | ||
21926 | * config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*, | |
21927 | i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe, | |
21928 | m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*, | |
21929 | m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*, | |
21930 | sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete. | |
21931 | ||
479c1fb3 SP |
21932 | 2011-02-08 Sebastian Pop <sebastian.pop@amd.com> |
21933 | ||
21934 | PR tree-optimization/46834 | |
21935 | PR tree-optimization/46994 | |
21936 | PR tree-optimization/46995 | |
21937 | * graphite-sese-to-poly.c (used_outside_reduction): New. | |
21938 | (detect_commutative_reduction): Call used_outside_reduction. | |
21939 | (rewrite_commutative_reductions_out_of_ssa_close_phi): Call | |
21940 | translate_scalar_reduction_to_array only when at least one | |
21941 | loop-phi/close-phi tuple has been detected. | |
21942 | ||
3865a06f RG |
21943 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
21944 | ||
21945 | PR middle-end/47639 | |
21946 | * tree-vect-generic.c (expand_vector_operations_1): Update | |
21947 | stmts here ... | |
21948 | (expand_vector_operations): ... not here. Cleanup EH info | |
21949 | and the CFG if required. | |
21950 | ||
62902f3f RG |
21951 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
21952 | ||
21953 | PR tree-optimization/47641 | |
21954 | * tree-ssa.c (execute_update_addresses_taken): For asm outputs | |
21955 | require type compatibility. | |
21956 | ||
0efb9d64 AK |
21957 | 2011-02-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
21958 | ||
21959 | * gimple-low.c (lower_function_body): Don't remove the location of | |
21960 | the return statement here. | |
21961 | (lower_gimple_return): Do it here instead but only if the return | |
21962 | statement is actually used twice. | |
21963 | ||
034b8ae4 RG |
21964 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
21965 | ||
21966 | PR tree-optimization/47632 | |
21967 | * tree-ssa-forwprop.c (remove_prop_source_from_use): Remove | |
21968 | unused up_to_stmt parameter, return whether cfg-cleanup is | |
21969 | necessary, remove EH info properly. | |
21970 | (forward_propagate_into_gimple_cond): Adjust caller. | |
21971 | (forward_propagate_into_cond): Likewise. | |
21972 | (forward_propagate_comparison): Likewise. | |
21973 | (tree_ssa_forward_propagate_single_use_vars): Make | |
21974 | forward_propagate_comparison case similar to the two others. | |
21975 | ||
298362c8 NC |
21976 | 2011-02-08 Nick Clifton <nickc@redhat.com> |
21977 | ||
21978 | * config/mn10300/mn10300.opt (mliw): New command line option. | |
21979 | * config/mn10300/mn10300.md (UNSPEC_LIW): New unspec. | |
21980 | (liw_bundling): New automaton. | |
21981 | (liw): New attribute. | |
21982 | (liw_op): New attribute. | |
21983 | (liw_op1, liw_op2, liw_both, liw_either): New reservations. | |
21984 | (movsi_internal): Add LIW attributes. | |
21985 | (andsi3): Likewise. | |
21986 | (iorsi3): Likewise. | |
21987 | (xorsi3): Likewise. | |
21988 | (addsi3): Separate register and immediate alternatives. | |
21989 | Add LIW attributes. | |
21990 | (subsi3): Likewise. | |
21991 | (cmpsi): Likewise. | |
21992 | (aslsi3): Likewise. | |
21993 | (lshrsi3): Likewise. | |
21994 | (ashrsi3): Likewise. | |
21995 | (liw): New pattern. | |
21996 | * config/mn10300/mn10300.c (liw_op_names): New | |
21997 | (mn10300_print_operand): Handle 'W' operand descriptor. | |
21998 | (extract_bundle): New function. | |
21999 | (check_liw_constraints): New function. | |
22000 | (liw_candidate): New function. | |
22001 | (mn10300_bundle_liw): New function. | |
22002 | (mn10300_reorg): New function. | |
22003 | (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
22004 | (TARGET_DEFAULT_TARGET_FLAGS): Add MASK_ALLOW_LIW. | |
22005 | * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Define | |
22006 | __LIW__ or __NO_LIW__. | |
22007 | * doc/invoke.texi: Describe the -mliw command line option. | |
22008 | ||
90488014 JDA |
22009 | 2011-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
22010 | ||
22011 | * config.gcc (hppa[12]*-*-hpux11*): Don't set extra_parts. | |
22012 | * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, | |
22013 | pthread_mutex_unlock): Remove. | |
22014 | * config/pa/t-pa-hpux11: Remove rules to build pthread stubs. | |
22015 | * config/pa/t-pa64: Likewise. | |
22016 | * config/pa/pa64-hpux.h (LIB_SPEC): In static links, link against | |
22017 | shared libc if not linking against libpthread. | |
22018 | * config/pa/pa-hpux11.h (LIB_SPEC): Likewise. | |
22019 | ||
689ff841 IS |
22020 | 2011-02-07 Iain Sandoe <iains@gcc.gnu.org> |
22021 | ||
22022 | PR target/47558 | |
22023 | * config/darwin10.h (LINK_GCC_C_SEQUENCE_SPEC): Put -lSystem first | |
22024 | on 10.6 and later to ensure that we always use the unwinder from | |
22025 | the system. Only add -no_compact_unwind when tarteting darwin | |
22026 | 10.6 or later. | |
22027 | ||
821014aa SE |
22028 | 2011-02-07 Steve Ellcey <sje@cup.hp.com> |
22029 | ||
22030 | PR target/46997 | |
22031 | * vect.md (vec_interleave_highv2sf): Change fmix for TARGET_BIG_ENDIAN. | |
22032 | (vec_interleave_lowv2sf): Ditto. | |
22033 | (vec_extract_evenv2sf): Add TARGET_BIG_ENDIAN check. | |
22034 | (vec_extract_oddv2sf): Ditto. | |
22035 | ||
41cf94fb MS |
22036 | 2011-02-07 Mike Stump <mikestump@comcast.net> |
22037 | ||
62dea57d | 22038 | PR target/42333 |
41cf94fb MS |
22039 | Add __ieee_divdc3 entry point. |
22040 | * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Retain ___divdc3 | |
22041 | entry point. | |
22042 | (SUBTARGET_INIT_BUILTINS): Call darwin_rename_builtins. | |
22043 | * config/i386/i386.c (TARGET_INIT_LIBFUNCS): Likewise. | |
22044 | * config/darwin.c (darwin_rename_builtins): Add. | |
22045 | * config/darwin-protos.h (darwin_rename_builtins): Add. | |
22046 | ||
ee09a3dd MM |
22047 | 2011-02-07 Michael Meissner <meissner@linux.vnet.ibm.com> |
22048 | ||
22049 | PR target/47636 | |
22050 | * config/rs6000/rs6000.md (rsqrt<mode>2): Use the correct macro | |
22051 | for the condition. | |
22052 | ||
83296cd0 MS |
22053 | 2011-02-07 Mike Stump <mikestump@comcast.net> |
22054 | ||
ea4c3e65 | 22055 | * config/darwin.opt (mmacosx-version-min): Update default OS version. |
83296cd0 | 22056 | |
0f4e946f DC |
22057 | 2011-02-07 Denis Chertykov <chertykov@gmail.com> |
22058 | ||
22059 | PR target/47534 | |
22060 | * config/avr/libgcc.S (exit): Move .endfunc | |
22061 | ||
1ec87690 RG |
22062 | 2011-02-07 Richard Guenther <rguenther@suse.de> |
22063 | ||
22064 | PR tree-optimization/47615 | |
22065 | * tree-ssa-sccvn.h (run_scc_vn): Take a vn-walk mode argument. | |
22066 | * tree-ssa-sccvn.c (default_vn_walk_kind): New global. | |
22067 | (run_scc_vn): Initialize it. | |
22068 | (visit_reference_op_load): Use it. | |
22069 | * tree-ssa-pre.c (execute_pre): Use VN_WALK if in PRE. | |
22070 | ||
b46ae6da UW |
22071 | 2011-02-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
22072 | ||
22073 | * config/spu/spu.c (spu_init_libfuncs): Install SImode and | |
22074 | DImode trapping arithmetic libfuncs. | |
22075 | ||
c0aae19c RG |
22076 | 2011-02-07 Richard Guenther <rguenther@suse.de> |
22077 | ||
22078 | PR tree-optimization/47621 | |
22079 | * tree-ssa.c (non_rewritable_lvalue_p): New function, split out from | |
22080 | two duplicates ... | |
22081 | (execute_update_addresses_taken): ... here. Make it more | |
22082 | conservative in what we accept. | |
22083 | ||
295d926b JM |
22084 | 2011-02-06 Joseph Myers <joseph@codesourcery.com> |
22085 | ||
22086 | * config/sparc/freebsd.h (ASM_SPEC): Define. | |
22087 | * config/sparc/vxworks.h (ASM_SPEC): Define. | |
22088 | ||
bdeb2471 JM |
22089 | 2011-02-06 Joseph Myers <joseph@codesourcery.com> |
22090 | ||
22091 | * config/sparc/sol2-bi.h (CC1_SPEC): Remove %{sun4:} %{target:}. | |
22092 | ||
d5d3781a SB |
22093 | 2011-02-06 Steven Bosscher <steven@gcc.gnu.org> |
22094 | ||
22095 | * doc/invoke.texi: Remove reference to compiler internals from | |
22096 | user documentation. | |
22097 | ||
22098 | * reg-notes.def: Remove REG_VALUE_PROFILE. | |
22099 | * combine.c (distribute_notes): Do not handle REG_VALUE_PROFILE. | |
22100 | ||
c42c09fc JJ |
22101 | 2011-02-05 Jakub Jelinek <jakub@redhat.com> |
22102 | ||
22103 | PR middle-end/47610 | |
22104 | * varasm.c (default_section_type_flags): If decl is NULL, | |
38be4072 | 22105 | and name is .data.rel.ro or .data.rel.ro.local, set SECTION_RELRO bit. |
c42c09fc | 22106 | |
beea2755 JZ |
22107 | 2011-02-05 Jie Zhang <jie@codesourcery.com> |
22108 | ||
22109 | PR debug/42631 | |
22110 | * web.c (entry_register): Don't clobber the number of the | |
22111 | first uninitialized reference in used[]. | |
22112 | ||
a130584a SP |
22113 | 2011-02-04 Sebastian Pop <sebastian.pop@amd.com> |
22114 | ||
22115 | PR tree-optimization/46194 | |
22116 | * tree-data-ref.c (analyze_miv_subscript): Remove comment. | |
22117 | (build_classic_dist_vector_1): Do not represent classic distance | |
22118 | vectors when the access functions are variating in different loops. | |
22119 | ||
962101ac JM |
22120 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
22121 | ||
22122 | * config/mips/iris6.opt: New. | |
22123 | * config.gcc (mips-sgi-irix6.5*): Use mips/iris6.opt. | |
22124 | ||
55eaaa5b RH |
22125 | 2011-02-04 Richard Henderson <rth@redhat.com> |
22126 | Steve Ellcey <sje@cup.hp.com> | |
22127 | ||
22128 | PR target/46997 | |
22129 | * config/ia64/predicates.md (mux1_brcst_element): New. | |
22130 | * config/ia64/ia64-protos.h (ia64_unpack_assemble): New. | |
22131 | * config/ia64/ia64.c (ia64_unpack_assemble): New. | |
22132 | (ia64_unpack_sign): New. | |
22133 | (ia64_expand_unpack): Rewrite using new routines. | |
22134 | (ia64_expand_widen_sum): Ditto. | |
22135 | (ia64_expand_dot_prod_v8qi): Ditto. | |
22136 | * config/ia64/vect.md (mulv8qi3): Rewrite to use new | |
22137 | routines, add endian check. | |
22138 | (pmpy2_even): Rename from pmpy2_r, add endian check. | |
22139 | (pmpy2_odd): Rename from pmpy2_l, add endian check. | |
22140 | (vec_widen_smult_lo_v4hi): Rewrite using new routines. | |
22141 | (vec_widen_smult_hi_v4hi): Ditto. | |
22142 | (vec_widen_umult_lo_v4hi): Ditto. | |
22143 | (vec_widen_umult_hi_v4hi): Ditto. | |
22144 | (mulv2si3): Change endian checks. | |
22145 | (sdot_prodv4hi): Rewrite with new calls. | |
22146 | (udot_prodv4hi): New. | |
22147 | (vec_pack_ssat_v4hi): Add endian check. | |
22148 | (vec_pack_usat_v4hi): Ditto. | |
22149 | (vec_pack_ssat_v2si): Ditto. | |
22150 | (max1_even): Rename from max1_r, add endian check. | |
22151 | (max1_odd): Rename from max1_l, add endian check. | |
22152 | (*mux1_rev): Format change. | |
22153 | (*mux1_mix): Ditto. | |
22154 | (*mux1_shuf): Ditto. | |
22155 | (*mux1_alt): Ditto. | |
22156 | (*mux1_brcst_v8qi): Use new predicate. | |
22157 | (vec_extract_evenv8qi): Remove endian check. | |
22158 | (vec_extract_oddv8qi): Ditto. | |
22159 | (vec_interleave_lowv4hi): Format change. | |
22160 | (vec_interleave_highv4hi): Ditto. | |
22161 | (mix2_even): Rename from mix2_r, add endian check. | |
22162 | (mix2_odd): Rename from mux2_l, add endian check. | |
22163 | (*mux2): Fix mask setting for TARGET_BIG_ENDIAN. | |
22164 | (vec_extract_evenodd_helper): Format change. | |
22165 | (vec_extract_evenv4hi): Remove endian check. | |
22166 | (vec_extract_oddv4hi): Remove endian check. | |
22167 | (vec_interleave_lowv2si): Format change. | |
22168 | (vec_interleave_highv2si): Format change. | |
22169 | (vec_initv2si): Remove endian check. | |
22170 | (vecinit_v2si): Add endian check. | |
22171 | (reduc_splus_v2sf): Add endian check. | |
22172 | (reduc_smax_v2sf): Ditto. | |
22173 | (reduc_smin_v2sf): Ditto. | |
22174 | (vec_initv2sf): Remove endian check. | |
22175 | (fpack): Add endian check. | |
22176 | (fswap): Add endian check. | |
22177 | (vec_interleave_highv2sf): Add endian check. | |
22178 | (vec_interleave_lowv2sf): Add endian check. | |
22179 | (fmix_lr): Add endian check. | |
22180 | (vec_setv2sf): Format change. | |
22181 | (*vec_extractv2sf_0_be): Use shift to extract operand. | |
22182 | (*vec_extractv2sf_1_be): New. | |
22183 | (vec_pack_trunc_v4hi): Add endian check. | |
22184 | (vec_pack_trunc_v2si): Format change. | |
22185 | ||
dcde5957 JJ |
22186 | 2011-02-04 Jakub Jelinek <jakub@redhat.com> |
22187 | ||
22188 | PR inline-asm/23200 | |
22189 | * tree-ssa-ter.c (is_replaceable_p): Add TER argument. Don't | |
38be4072 | 22190 | do bb, locus and block comparison and disallow loads if it is not set. |
dcde5957 JJ |
22191 | (stmt_is_replaceable_p): New function. |
22192 | (process_replaceable, find_replaceable_in_bb): Adjust is_replaceable_p | |
22193 | callers. | |
22194 | * expr.c (expand_expr_real_1) <case SSA_NAME>: If | |
22195 | get_gimple_for_ssa_name try for EXPAND_INITIALIZER harder to use | |
22196 | SSA_NAME_DEF_STMT. | |
22197 | * tree-flow.h (stmt_is_replaceable_p): New prototype. | |
22198 | ||
a64a8e5a JM |
22199 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
22200 | ||
22201 | * config/rs6000/xilinx.opt: New. | |
22202 | * config.gcc (powerpc-xilinx-eabi*): Use rs6000/xilinx.opt. | |
22203 | ||
4da2ed2f JM |
22204 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
22205 | ||
22206 | * config/mips/mips.opt (EB, EL, noasmopt): New Driver options. | |
22207 | ||
a6e508f9 AS |
22208 | 2011-02-03 Anatoly Sokolov <aesok@post.ru> |
22209 | ||
22210 | * config/xtensa/xtensa.h (PREFERRED_RELOAD_CLASS, | |
22211 | PREFERRED_OUTPUT_RELOAD_CLASS): Remove. | |
22212 | * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class, | |
22213 | secondary_reload_info, xtensa_secondary_reload): Remove. | |
22214 | * config/xtensa/xtensa.c (TARGET_PREFERRED_RELOAD_CLASS, | |
22215 | TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. | |
22216 | (xtensa_preferred_reload_class): Make static. Change return and | |
22217 | 'rclass' argument type to reg_class_t. Remove 'isoutput' argument. | |
22218 | Use CONST_DOUBLE_P predicate. | |
22219 | (xtensa_preferred_output_reload_class): New function. | |
22220 | (xtensa_secondary_reload): Make static. | |
22221 | ||
82dc0de3 JM |
22222 | 2011-02-03 Joseph Myers <joseph@codesourcery.com> |
22223 | ||
22224 | * config/microblaze/microblaze.opt (Zxl-mode-bootstrap, | |
22225 | Zxl-mode-executable, Zxl-mode-novectors, Zxl-mode-xilkernel, | |
22226 | Zxl-mode-xmdstub, mxl-mode-xilkernel): New Driver options. | |
22227 | ||
7fece979 JJ |
22228 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
22229 | ||
22230 | PR middle-end/31490 | |
22231 | * output.h (SECTION_RELRO): Define. | |
22232 | (SECTION_MACH_DEP): Adjust. | |
22233 | (get_variable_section): New prototype. | |
22234 | * varpool.c (varpool_finalize_named_section_flags): New function. | |
22235 | (varpool_assemble_pending_decls): Call it. | |
22236 | * cgraph.h (varpool_finalize_named_section_flags): New prototype. | |
22237 | * cgraphunit.c (cgraph_output_in_order): Call | |
22238 | varpool_finalize_named_section_flags. | |
22239 | * varasm.c (get_section): Allow section flags conflicts between | |
22240 | relro and read-only sections if the section hasn't been declared yet. | |
22241 | Set SECTION_OVERRIDE after diagnosing section type conflict. | |
22242 | (get_variable_section): No longer static. | |
22243 | (default_section_type_flags): Use SECTION_WRITE | SECTION_RELRO for | |
22244 | readonly sections that need relocations. | |
22245 | (decl_readonly_section_1): New function. | |
22246 | (decl_readonly_section): Use it. | |
22247 | ||
22248 | Revert: | |
509d65dd | 22249 | 2010-11-17 Dinar Temirbulatov <dtemirbulatov@gmail.com> |
7fece979 JJ |
22250 | Steve Ellcey <sje@cup.hp.com> |
22251 | ||
22252 | PR middle-end/31490 | |
22253 | * varasm.c (categorize_decl_for_section): Ignore reloc_rw_mask | |
22254 | if section attribute used. | |
22255 | ||
d18d5478 JJ |
22256 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
22257 | ||
22258 | * config/darwin.h (SECTION_NO_ANCHOR): Remove. | |
22259 | * config/darwin.c (SECTION_NO_ANCHOR): Define. | |
22260 | (darwin_init_sections): Remove assertion. | |
22261 | ||
6479ed4b NC |
22262 | 2011-02-03 Nick Clifton <nickc@redhat.com> |
22263 | ||
22264 | * config/rx/predicates.md (rx_zs_comparison_operator): Remove | |
22265 | lt and ge. | |
38be4072 | 22266 | * config/rx/rx.md (abssi2_flags): Use CC_ZSmode rather than CC_ZSOmode. |
6479ed4b NC |
22267 | * config/rx/rx.c (rx_print_operand): Use "lt" and "ge" suffixes |
22268 | instead of "n" and "pz". | |
22269 | (flags_from_code): LT and GE tests need CC_FLAG_O as well as | |
22270 | CC_FLAG_S. | |
22271 | ||
89843f5d JJ |
22272 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
22273 | ||
65450d64 JJ |
22274 | PR target/47312 |
22275 | * expr.c (expand_expr_real_2) <case FMA_EXPR>: If target doesn't expand | |
22276 | fma, expand FMA_EXPR as fma{,f,l} call. | |
22277 | ||
7d58701c JJ |
22278 | PR lto/47274 |
22279 | * lto-streamer-out.c (write_symbol): When writing kind and visibility, | |
22280 | copy them into a unsigned char variable and pass address of it to | |
22281 | lto_output_data_stream. | |
22282 | ||
89843f5d JJ |
22283 | PR target/47564 |
22284 | * toplev.c (target_reinit): Save and restore *crtl and regno_reg_rtx | |
22285 | around backend_init_target and lang_dependent_init_target calls. | |
22286 | * cgraphunit.c (cgraph_debug_gimple_stmt): New function. | |
22287 | (verify_cgraph_node): Don't call set_cfun here. Use | |
22288 | cgraph_debug_gimple_stmt instead of debug_gimple_stmt. | |
22289 | Set error_found for incorrectly represented calls to thunks. | |
22290 | ||
4deef538 AO |
22291 | 2011-02-03 Alexandre Oliva <aoliva@redhat.com> |
22292 | ||
22293 | PR debug/43092 | |
22294 | PR rtl-optimization/43494 | |
22295 | * rtl.h (for_each_inc_dec_fn): New type. | |
22296 | (for_each_inc_dec): Declare. | |
22297 | * rtlanal.c (struct for_each_inc_dec_ops): New type. | |
22298 | (for_each_inc_dec_find_inc_dec): New fn. | |
22299 | (for_each_inc_dec_find_mem): New fn. | |
22300 | (for_each_inc_dec): New fn. | |
22301 | * dse.c (struct insn_size): Remove. | |
22302 | (replace_inc_dec, replace_inc_dec_mem): Remove. | |
22303 | (emit_inc_dec_insn_before): New fn. | |
22304 | (check_for_inc_dec): Use it, along with for_each_inc_dec. | |
22305 | (canon_address): Pass mem modes to cselib_lookup. | |
22306 | * cselib.h (cselib_lookup): Add memmode argument. Adjust callers. | |
22307 | (cselib_lookup_from_insn): Likewise. | |
22308 | (cselib_subst_to_values): Likewise. | |
22309 | * cselib.c (find_slot_memmode): New var. | |
22310 | (cselib_find_slot): New fn. Use it instead of | |
22311 | htab_find_slot_with_hash everywhere. | |
22312 | (entry_and_rtx_equal_p): Use find_slot_memmode. | |
22313 | (autoinc_split): New fn. | |
22314 | (rtx_equal_for_cselib_p): Rename and implement in terms of... | |
22315 | (rtx_equal_for_cselib_1): ... this. Take memmode, pass it on. | |
22316 | Deal with autoinc. Special-case recursion into MEMs. | |
22317 | (cselib_hash_rtx): Likewise. | |
22318 | (cselib_lookup_mem): Infer pmode from address mode. Distinguish | |
22319 | address and MEM modes. | |
22320 | (cselib_subst_to_values): Add memmode, pass it on. | |
22321 | Deal with autoinc. | |
22322 | (cselib_lookup): Add memmode argument, pass it on. | |
22323 | (cselib_lookup_from_insn): Add memmode. | |
22324 | (cselib_invalidate_rtx): Discard obsolete push_operand handling. | |
22325 | (struct cselib_record_autoinc_data): New. | |
22326 | (cselib_record_autoinc_cb): New fn. | |
22327 | (cselib_record_sets): Use it, along with for_each_inc_dec. Pass MEM | |
22328 | mode to cselib_lookup. Reset autoinced REGs here instead of... | |
22329 | (cselib_process_insn): ... here. | |
22330 | * var-tracking.c (replace_expr_with_values, use_type): Pass MEM mode | |
22331 | to cselib_lookup. | |
22332 | (add_uses): Likewise, also to cselib_subst_to_values. | |
22333 | (add_stores): Likewise. | |
276e0224 | 22334 | * sched-deps.c (add_insn_mem_dependence): Pass mode to |
4deef538 AO |
22335 | cselib_subst_to_values. |
22336 | (sched_analyze_1, sched_analyze_2): Likewise. Adjusted. | |
22337 | * gcse.c (do_local_cprop): Adjusted. | |
22338 | * postreload.c (reload_cse_simplify_set): Adjusted. | |
22339 | (reload_cse_simplify_operands): Adjusted. | |
22340 | * sel-sched-dump (debug_mem_addr_value): Pass mode. | |
22341 | ||
1551d44a AO |
22342 | 2011-02-03 Alexandre Oliva <aoliva@redhat.com> |
22343 | ||
22344 | PR tree-optimization/45122 | |
22345 | * tree-ssa-loop-niter.c (number_of_iterations_exit): Don't make | |
22346 | unsafe assumptions when there's more than one loop exit. | |
22347 | ||
c9485473 MM |
22348 | 2011-02-02 Michael Meissner <meissner@linux.vnet.ibm.com> |
22349 | ||
22350 | PR target/47272 | |
22351 | * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): | |
22352 | Document using vector double with the load/store builtins, and | |
22353 | that the load/store builtins always use Altivec instructions. | |
22354 | ||
22355 | * config/rs6000/vector.md (vector_altivec_load_<mode>): New insns | |
22356 | to use altivec memory instructions, even on VSX. | |
22357 | (vector_altivec_store_<mode>): Ditto. | |
22358 | ||
22359 | * config/rs6000/rs6000-protos.h (rs6000_address_for_altivec): New | |
22360 | function. | |
22361 | ||
22362 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add | |
22363 | V2DF, V2DI support to load/store overloaded builtins. | |
22364 | ||
22365 | * config/rs6000/rs6000-builtin.def (ALTIVEC_BUILTIN_*): Add | |
22366 | altivec load/store builtins for V2DF/V2DI types. | |
22367 | ||
22368 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't | |
22369 | set avoid indexed addresses on power6 if -maltivec. | |
22370 | (altivec_expand_ld_builtin): Add V2DF, V2DI support, use | |
22371 | vector_altivec_load/vector_altivec_store builtins. | |
22372 | (altivec_expand_st_builtin): Ditto. | |
22373 | (altivec_expand_builtin): Add VSX memory builtins. | |
22374 | (rs6000_init_builtins): Add V2DI types to internal types. | |
22375 | (altivec_init_builtins): Add support for V2DF/V2DI altivec | |
22376 | load/store builtins. | |
22377 | (rs6000_address_for_altivec): Insure memory address is appropriate | |
22378 | for Altivec. | |
22379 | ||
22380 | * config/rs6000/vsx.md (vsx_load_<mode>): New expanders for | |
22381 | vec_vsx_ld and vec_vsx_st. | |
22382 | (vsx_store_<mode>): Ditto. | |
22383 | ||
22384 | * config/rs6000/rs6000.h (RS6000_BTI_long_long): New type | |
22385 | variables to hold long long types for VSX vector memory builtins. | |
22386 | (RS6000_BTI_unsigned_long_long): Ditto. | |
22387 | (long_long_integer_type_internal_node): Ditti. | |
22388 | (long_long_unsigned_type_internal_node): Ditti. | |
22389 | ||
22390 | * config/rs6000/altivec.md (UNSPEC_LVX): New UNSPEC. | |
22391 | (altivec_lvx_<mode>): Make altivec_lvx use a mode iterator. | |
22392 | (altivec_stvx_<mode>): Make altivec_stvx use a mode iterator. | |
22393 | ||
22394 | * config/rs6000/altivec.h (vec_vsx_ld): Define VSX memory builtin | |
22395 | short cuts. | |
22396 | (vec_vsx_st): Ditto. | |
22397 | ||
b24d1acf JM |
22398 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
22399 | ||
22400 | * config/pa/pa-hpux10.opt: New. | |
22401 | * config/hpux11.opt (pthread): New Driver option. | |
22402 | * config/pa/pa-hpux.opt (nolibdld, rdynamic): New Driver options. | |
22403 | * config.gcc (hppa[12]*-*-hpux10*): Use pa/pa-hpux10.opt. | |
22404 | ||
aa18dd0f JM |
22405 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
22406 | ||
22407 | * config/ia64/vms.opt: New. | |
22408 | * config.gcc (ia64-hp-*vms*): Use ia64/vms.opt. | |
22409 | ||
28fc3eee MM |
22410 | 2011-02-01 Michael Meissner <meissner@linux.vnet.ibm.com> |
22411 | ||
22412 | PR target/47580 | |
22413 | * config/rs6000/vsx.md (vsx_float<VSi><mode>2): Use | |
22414 | gpc_reg_operand instead of vsx_register_operand to match rs6000.md | |
22415 | generator functions. | |
22416 | (vsx_floatuns<VSi><mode>2): Ditto. | |
22417 | (vsx_fix_trunc<mode><VSi>2): Ditto. | |
22418 | (vsx_fixuns_trunc<mode><VSi>2): Ditto. | |
22419 | ||
b5838b1f JM |
22420 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
22421 | ||
22422 | * config/i386/djgpp.opt (posix): New Driver option. | |
22423 | ||
0db8fa89 GP |
22424 | 2011-02-02 Gerald Pfeifer <gerald@pfeifer.com> |
22425 | ||
22426 | * config.gcc (*-*-freebsd[12], *-*-freebsd[12].*, *-*-freebsd*aout*): | |
22427 | Move to the unsupported targets list. | |
22428 | ||
9cd4f22a PB |
22429 | 2011-02-02 Peter Bergner <bergner@vnet.ibm.com> |
22430 | ||
22431 | PR rtl-optimization/47525 | |
22432 | * df-scan.c: Update copyright years. | |
22433 | (df_get_call_refs): Do not mark global registers as DF_REF_REG_USE | |
22434 | and non-clobber DF_REF_REG_DEF for calls to const and pure functions. | |
22435 | ||
9ed8059c RO |
22436 | 2011-02-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
22437 | ||
22438 | * config/i386/sysv4.h (TARGET_VERSION): Remove. | |
22439 | (SUBTARGET_RETURN_IN_MEMORY): Remove. | |
22440 | (ASM_OUTPUT_ASCII): Remove. | |
22441 | * config/i386/sol2.h (SUBTARGET_RETURN_IN_MEMORY): Remove #undef. | |
22442 | ||
2a737389 JL |
22443 | 2011-02-02 Jeff Law <law@redhat.com> |
22444 | ||
22445 | PR middle-end/47543 | |
22446 | * reload.c (find_reloads_address): Handle reg+d address where both | |
22447 | components are invalid by reloading the entire address. | |
22448 | ||
9dac82c4 SP |
22449 | 2011-02-02 Sebastian Pop <sebastian.pop@amd.com> |
22450 | Richard Guenther <rguenther@suse.de> | |
22451 | ||
22452 | PR tree-optimization/40979 | |
22453 | PR bootstrap/47044 | |
22454 | * passes.c (init_optimization_passes): After LIM call copy_prop | |
22455 | and DCE to clean up. | |
22456 | * tree-ssa-loop.c (pass_graphite_transforms): Add TODO_dump_func. | |
22457 | ||
14dd9aab SP |
22458 | 2011-02-02 Sebastian Pop <sebastian.pop@amd.com> |
22459 | ||
22460 | PR tree-optimization/47576 | |
22461 | PR tree-optimization/47555 | |
22462 | * doc/invoke.texi (scev-max-expr-complexity): Documented. | |
22463 | * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. | |
22464 | (PARAM_SCEV_MAX_EXPR_COMPLEXITY): Declared. | |
22465 | * tree-scalar-evolution.c (follow_ssa_edge): Use | |
22466 | PARAM_SCEV_MAX_EXPR_COMPLEXITY. | |
22467 | ||
5cbf5c20 RG |
22468 | 2011-02-02 Richard Guenther <rguenther@suse.de> |
22469 | ||
22470 | PR tree-optimization/47566 | |
22471 | * builtins.c (builtin_save_expr): No SAVE_EXPR for SSA_NAMEs. | |
22472 | ||
83d70792 AO |
22473 | 2011-02-02 Alexandre Oliva <aoliva@redhat.com> |
22474 | ||
e829c321 AO |
22475 | PR debug/47106 |
22476 | PR debug/47402 | |
22477 | * tree-inline.c (declare_return_variable): Remove unused caller | |
22478 | variable. | |
22479 | ||
83d70792 AO |
22480 | PR debug/47106 |
22481 | PR debug/47402 | |
22482 | * tree-flow-inline.h (clear_is_used, is_used_p): New. | |
22483 | * cfgexpand.c (account_used_vars_for_block): Use them. | |
22484 | * tree-nrv.c (tree_nrv): Likewise. | |
22485 | * tree-ssa-live.c (remove_unused_scope_block_p): Likewise. | |
22486 | (dump_scope_block): Likewise. | |
22487 | (remove_unused_locals): Likewise. | |
22488 | ||
aaa2ac93 AO |
22489 | PR debug/47106 |
22490 | PR debug/47402 | |
22491 | * tree-inline.c (declare_return_variable): Add result decl to | |
22492 | local decls only once. | |
22493 | * gimple-low.c (record_vars_into): Mark newly-created variables | |
22494 | as referenced. | |
22495 | ||
a59d15cf AO |
22496 | 2011-02-02 Alexandre Oliva <aoliva@redhat.com> |
22497 | ||
22498 | PR debug/47498 | |
22499 | PR debug/47501 | |
22500 | PR debug/45136 | |
22501 | PR debug/45130 | |
22502 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
22503 | debug insns. | |
22504 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
22505 | treatment of boundary debug insns. | |
38be4072 | 22506 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
a59d15cf AO |
22507 | * sched-ebb.c (schedule_ebbs): Adjust skipping of debug insns. |
22508 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
22509 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
22510 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
22511 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
22512 | boundary debug insns. | |
22513 | * final.c (rest_of_clean_state): Clear notes' BB. | |
22514 | ||
6fc2f091 JM |
22515 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
22516 | ||
22517 | * config/openbsd.opt (assert=): New Driver option. | |
22518 | ||
fc523387 JM |
22519 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
22520 | ||
22521 | * config/i386/nto.opt: New. | |
22522 | * config.gcc (i[34567]86-*-nto-qnx*): Use i386/nto.opt. | |
22523 | ||
6d9821e5 JM |
22524 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
22525 | ||
22526 | * config/i386/netware.opt: New. | |
22527 | * config.gcc (i[3456x]86-*-netware*): Use i386/netware.opt. | |
22528 | ||
cef932d4 JM |
22529 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
22530 | ||
22531 | * config/interix.opt (posix): New Driver option. | |
22532 | ||
22843acd DD |
22533 | 2011-02-01 DJ Delorie <dj@redhat.com> |
22534 | ||
56490b74 DD |
22535 | * config/m32c/m32c.h (PTRDIFF_TYPE): Remove extra definition. |
22536 | ||
22843acd DD |
22537 | * config/m32c/m32c.c (m32c_regno_reg_class): Return smallest reg |
22538 | class for A0/A1. | |
22539 | ||
199c8f2f SP |
22540 | 2011-02-01 Sebastian Pop <sebastian.pop@amd.com> |
22541 | ||
22542 | PR tree-optimization/47561 | |
22543 | * toplev.c (process_options): Print the Graphite flags. Add | |
22544 | flag_loop_flatten to the list of options requiring Graphite. | |
22545 | ||
926bcf22 JM |
22546 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
22547 | ||
22548 | * config/i386/cygming.opt (posix): New Driver option. | |
22549 | ||
59793c51 JM |
22550 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
22551 | ||
22552 | * config/arm/vxworks.opt: New. | |
22553 | * config.gcc (arm-wrs-vxworks): Use arm/vxworks.opt. | |
22554 | ||
183c38a4 JM |
22555 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
22556 | ||
22557 | * config/alpha/elf.opt: New. | |
22558 | * config.gcc (alpha*-*-linux*, alpha*-*-gnu*, alpha*-*-freebsd*, | |
22559 | alpha*-*-netbsd*, alpha*-*-openbsd*): Use alpha/elf.opt. | |
22560 | ||
9939e416 RG |
22561 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
22562 | ||
22563 | PR tree-optimization/47559 | |
22564 | * tree-ssa-loop-im.c (can_sm_ref_p): Do not perform | |
22565 | store-motion on references that can throw. | |
22566 | ||
4a3c9687 BS |
22567 | 2011-02-01 Bernd Schmidt <bernds@codesourcery.com> |
22568 | ||
22569 | * tree-dump.c (dump_option_value_info): Add entry for TDF_CSELIB. | |
22570 | * tree-pass.h (TDF_CSELIB): New macro. | |
22571 | * cselib.c (new_cselib_val, expand_loc, cselib_expand_value_rtx_1, | |
22572 | cselib_lookup): Check for it rather than for TDF_DETAILS. | |
22573 | ||
dd3b31fb L |
22574 | 2011-02-01 H.J. Lu <hongjiu.lu@intel.com> |
22575 | ||
22576 | PR driver/47547 | |
22577 | * lto-wrapper.c (run_gcc): Don't add -dumpdir if linker_output | |
22578 | is HOST_BIT_BUCKET. | |
22579 | ||
22580 | * opts.c (finish_options): Don't add x_aux_base_name if it is | |
22581 | HOST_BIT_BUCKET. | |
22582 | ||
34c1de79 RG |
22583 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
22584 | ||
22585 | PR tree-optimization/47555 | |
22586 | Revert | |
22587 | 2010-07-15 Sebastian Pop <sebastian.pop@amd.com> | |
22588 | ||
22589 | * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. | |
22590 | ||
dd2804d2 SB |
22591 | 2011-02-01 Sebastien Bourdeauducq <sebastien@milkymist.org> |
22592 | ||
22593 | PR gcc/46692 | |
22594 | * config/lm32/t-lm32: Add multilib for all CPU options. | |
22595 | ||
3fd3b156 RG |
22596 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
22597 | ||
22598 | PR tree-optimization/47541 | |
22599 | * tree-ssa-structalias.c (push_fields_onto_fieldstack): Make | |
22600 | sure to have a field at offset zero. | |
22601 | ||
f16072b6 JM |
22602 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
22603 | ||
22604 | * config/arc/arc.opt (EB, EL): New Driver options. | |
22605 | ||
6456cf2e JM |
22606 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
22607 | ||
22608 | * config/alpha/osf5.opt: New. | |
22609 | * config.gcc (alpha*-dec-osf5.1*): Use alpha/osf5.opt. | |
22610 | ||
cdde6ab4 JM |
22611 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
22612 | ||
22613 | * config/vms/vms.opt (map, mvms-return-codes): New Driver options. | |
22614 | ||
7633415c SP |
22615 | 2011-01-31 Sebastian Pop <sebastian.pop@amd.com> |
22616 | ||
22617 | * common.opt (ftree-loop-linear): Use Alias to make it an alias of | |
22618 | -floop-interchange. | |
22619 | * invoke.texi (-ftree-loop-linear): Make it clear that this flag | |
22620 | is an alias of -floop-interchange and that it requires the | |
22621 | Graphite infrastructure. | |
22622 | * tree-ssa-loop.c (gate_graphite_transforms): Do not set | |
22623 | flag_loop_interchange based on the value of flag_tree_loop_linear. | |
22624 | ||
0425d6f5 JJ |
22625 | 2011-01-31 Jakub Jelinek <jakub@redhat.com> |
22626 | Richard Guenther <rguenther@suse.de> | |
22627 | ||
22628 | PR tree-optimization/47538 | |
22629 | * tree-ssa-ccp.c (bit_value_binop_1): For uns computation use | |
22630 | type instead of r1type, except for comparisons. For right | |
22631 | shifts and comparisons punt if there are mismatches in | |
22632 | sizetype vs. non-sizetype types. | |
22633 | ||
500b16c3 RO |
22634 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
22635 | ||
22636 | * doc/sourcebuild.texi (Effective-Target Keywords): Document | |
22637 | avx_runtime. | |
22638 | ||
e279edb0 RO |
22639 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
22640 | ||
22641 | * configure.ac (gcc_cv_ld_eh_frame_hdr): Update minimal Sun ld | |
22642 | version number. | |
22643 | * configure: Regenerate. | |
22644 | ||
c6092243 RO |
22645 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
22646 | ||
22647 | * configure.ac (gcc_cv_ld_static_option): Define. | |
22648 | (gcc_cv_ld_dynamic_option): Define. | |
22649 | (gcc_cv_ld_static_dynamic): Tru64 UNIX support -noso/-so_archive | |
22650 | instead. | |
22651 | (HAVE_LD_STATIC_DYNAMIC): Update message. | |
22652 | (LD_STATIC_OPTION): Define. | |
22653 | (LD_DYNAMIC_OPTION): Define. | |
22654 | * configure: Regenerate. | |
22655 | * config.in: Regenerate. | |
22656 | * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS && | |
22657 | HAVE_LD_STATIC_DYNAMIC]: Use them. | |
22658 | ||
d7862be3 NC |
22659 | 2011-01-31 Nick Clifton <nickc@redhat.com> |
22660 | ||
22661 | * config/rx/rx.c (rx_get_stack_layout): Only save call clobbered | |
22662 | registers inside interrupt handlers if the handler is not a leaf | |
22663 | function. | |
22664 | ||
ba4ec0e0 NC |
22665 | 2011-01-31 Nick Clifton <nickc@redhat.com> |
22666 | ||
22667 | * config/mn10300/mn10300.c (mn10300_regno_in_class_p): Check for | |
22668 | reg_renumber returning an INVALID_REGNUM. | |
22669 | ||
29a63921 AO |
22670 | 2011-01-31 Alexandre Oliva <aoliva@redhat.com> |
22671 | ||
22672 | PR libgcj/44341 | |
22673 | * doc/install.texi: Document host options discarded when cross | |
22674 | configuring target libraries. | |
22675 | ||
ef591d3f AO |
22676 | 2011-01-31 Alexandre Oliva <aoliva@redhat.com> |
22677 | ||
22678 | Reverted: | |
22679 | 2011-01-25 Alexandre Oliva <aoliva@redhat.com> | |
22680 | PR debug/45136 | |
22681 | PR debug/45130 | |
22682 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
22683 | debug insns. | |
22684 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
22685 | treatment of boundary debug insns. | |
38be4072 | 22686 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
ef591d3f AO |
22687 | * sched-ebb.c (schedule_ebbs): Don't skip debug insns. |
22688 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
22689 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
22690 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
22691 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
22692 | boundary debug insns. | |
22693 | * final.c (rest_of_clean-state): Clear notes' BB. | |
22694 | ||
61052244 AM |
22695 | 2011-01-31 Alan Modra <amodra@gmail.com> |
22696 | ||
22697 | * config/rs6000/rs6000.c (print_operand): Rearrange addends in | |
22698 | toc relative expressions as we do in print_operand_address. | |
22699 | ||
c4c8962b KH |
22700 | 2011-01-30 Kazu Hirata <kazu@codesourcery.com> |
22701 | ||
22702 | * doc/extend.texi: Follow spelling conventions. | |
22703 | * doc/invoke.texi: Fix a typo. | |
22704 | ||
e543b94c JM |
22705 | 2011-01-30 Joseph Myers <joseph@codesourcery.com> |
22706 | ||
22707 | * config/hpux11.opt: New. | |
22708 | * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*, | |
22709 | ia64*-*-hpux*): Use hpux11.opt. | |
22710 | ||
509d65dd | 22711 | 2011-01-30 Jonathan Yong <jon_y@users.sourceforge.net> |
a70e0551 JY |
22712 | |
22713 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules | |
22714 | to tmake_file. | |
22715 | ||
7be03a0e GP |
22716 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> |
22717 | ||
22718 | * doc/install.texi (hppa-hp-hpux10): Remove references to HP | |
22719 | support sites. | |
22720 | ||
419d1d37 GP |
22721 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> |
22722 | ||
b596ed64 GP |
22723 | * doc/install.texi (Binaries): Remove outdated reference for |
22724 | Motorola 68HC11/68HC12 downloads. | |
22725 | ||
22726 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> | |
61052244 | 22727 | |
419d1d37 GP |
22728 | * doc/extend.texi (Thread-Local): Adjust reference to Ulrich |
22729 | Drepper's paper. | |
22730 | ||
4406d0e9 JW |
22731 | 2011-01-29 Jonathan Wakely <jwakely.gcc@gmail.com> |
22732 | ||
22733 | PR bootstrap/47147 | |
22734 | * ginclude/stddef.h: Check for _X86_64_ANSI_H_ and _I386_ANSI_H_ as | |
22735 | used by NetBSD. | |
22736 | ||
38be4072 | 22737 | 2011-01-28 Ahmad Sharif <asharif@google.com> |
e0b77418 AS |
22738 | |
22739 | * value-prof.c (check_counter): Corrected error message. | |
22740 | ||
0cd98787 JZ |
22741 | 2011-01-29 Jie Zhang <jie@codesourcery.com> |
22742 | ||
22743 | * config/arm/arm.c (arm_legitimize_reload_address): New. | |
22744 | * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use | |
22745 | arm_legitimize_reload_address. | |
38be4072 | 22746 | * config/arm/arm-protos.h (arm_legitimize_reload_address): Declare. |
0cd98787 | 22747 | |
9b798ac5 ILT |
22748 | 2011-01-28 Ian Lance Taylor <iant@google.com> |
22749 | ||
22750 | * godump.c (go_define): Ignore macros whose definitions include | |
22751 | two adjacent operands. | |
22752 | ||
591e29d9 JJ |
22753 | 2011-01-28 Jakub Jelinek <jakub@redhat.com> |
22754 | ||
22755 | PR target/42894 | |
22756 | * varasm.c (force_const_mem): Store copy of x in desc->constant | |
22757 | instead of x itself. | |
22758 | * expr.c (emit_move_insn): Add a copy of y_cst instead of y_cst | |
22759 | itself into REG_EQUAL note. | |
22760 | ||
62dcc44a JM |
22761 | 2011-01-28 Joseph Myers <joseph@codesourcery.com> |
22762 | ||
22763 | * config/freebsd.opt (posix, rdynamic): New Driver options. | |
22764 | ||
c9f58b9a RO |
22765 | 2011-01-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
22766 | ||
22767 | * configure.ac (gcc_cv_ld_static_dynamic): IRIX 6 ld supports | |
22768 | -Bstatic/-Bdynamic. | |
22769 | * configure: Regenerate. | |
22770 | ||
5f02b9db JM |
22771 | 2011-01-27 Joseph Myers <joseph@codesourcery.com> |
22772 | ||
22773 | * config/rs6000/sysv4.h (LIB_NETBSD_SPEC): Don't handle -profile. | |
22774 | * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -profile. | |
22775 | ||
5df97412 AS |
22776 | 2011-01-27 Anatoly Sokolov <aesok@post.ru> |
22777 | ||
22778 | * config/s390/s390.h (PREFERRED_RELOAD_CLASS): Remove. | |
22779 | * config/s390/s390-protos.h (s390_preferred_reload_class): Remove. | |
22780 | * config/s390/s390.c (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
22781 | (s390_preferred_reload_class): Make static. Change return and | |
22782 | 'rclass' argument type to reg_class_t. | |
22783 | ||
779d4b91 JH |
22784 | 2011-01-27 Jan Hubicka <jh@suse.cz> |
22785 | ||
22786 | PR middle-end/46949 | |
22787 | * cgraphunit.c (process_common_attributes): Fix use of remove_attribute. | |
22788 | (process_function_and_variable_attributes): Check defined weakrefs. | |
22789 | ||
e80b21ed MJ |
22790 | 2011-01-27 Martin Jambor <mjambor@suse.cz> |
22791 | ||
22792 | PR tree-optimization/47228 | |
22793 | * tree-sra.c (sra_modify_assign): Use build_ref_for_model instead of | |
22794 | build_ref_for_offset. | |
22795 | ||
6dcc4f31 UW |
22796 | 2011-01-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
22797 | ||
22798 | * config/spu/spu-elf.h (ASM_SPEC): Remove. | |
22799 | ||
509d65dd | 22800 | 2011-01-26 Mikael Pettersson <mikpe@it.uu.se> |
3b8ff89f MP |
22801 | |
22802 | PR rtl-optimization/46856 | |
22803 | * postreload.c (reload_combine_recognize_const_pattern): Do not | |
22804 | separate cc0 setter and user on cc0 targets. | |
22805 | ||
04af8788 NP |
22806 | 2011-01-26 Nicola Pero <nicola.pero@meta-innovation.com> |
22807 | ||
22808 | PR c/43082 | |
22809 | * c-typeck.c (c_objc_common_truthvalue_conversion): If we are | |
22810 | passed a VOID_TYPE expression, immediately emit an error and | |
22811 | return error_mark_node. | |
22812 | ||
f7a60085 JL |
22813 | 2011-01-26 Jeff Law <law@redhat.com> |
22814 | ||
22815 | PR rtl-optimization/47464 | |
22816 | * df-problems.c (can_move_insn_across): Use may_trap_or_fault_p | |
22817 | rather than may_trap_p as needed. | |
22818 | ||
5c2917ec DD |
22819 | 2011-01-26 DJ Delorie <dj@redhat.com> |
22820 | ||
22821 | PR rtl-optimization/46878 | |
22822 | * combine.c (insn_a_feeds_b): Check for the implicit cc0 | |
22823 | setter/user dependency as well. | |
22824 | ||
bef16e87 EB |
22825 | 2011-01-26 Eric Botcazou <ebotcazou@adacore.com> |
22826 | ||
22827 | PR rtl-optimization/44469 | |
22828 | * cfgcleanup.c (try_optimize_cfg): Iterate in CFG layout mode too | |
22829 | after removing trivially dead basic blocks. | |
22830 | ||
c75d884b JM |
22831 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
22832 | ||
22833 | * config/bfin/bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}. | |
22834 | * config/frv/frv.h (LINK_SPEC): Likewise. | |
22835 | * config/i386/netware.h (LINK_SPEC): Likewise. | |
22836 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
22837 | * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise. | |
22838 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
22839 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
22840 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
22841 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
22842 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
22843 | ||
d3153553 JM |
22844 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
22845 | ||
22846 | * config/bfin/bfin.h (ASM_SPEC): Remove %{Ym,*}. | |
22847 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
22848 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
22849 | * config/pa/pa-linux.h (ASM_SPEC): Likewise. | |
22850 | * config/rs6000/linux64.h (ASM_SPEC): Likewise. | |
22851 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
22852 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
22853 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
22854 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
22855 | ||
b89b1e9d JM |
22856 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
22857 | ||
22858 | * config/bfin/bfin.h (LINK_SPEC): Remove %{YP,*}. | |
22859 | * config/frv/frv.h (LINK_SPEC): Likewise. | |
22860 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
22861 | ||
12eb1a9c JM |
22862 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
22863 | ||
22864 | * config/bfin/bfin.h (ASM_SPEC): Remove %{Yd,*}. | |
22865 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
22866 | * config/i386/sol2-10.h (ASM_SPEC): Likewise. | |
22867 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
22868 | * config/pa/pa-linux.h (ASM_SPEC): Likewise. | |
22869 | * config/rs6000/linux64.h (ASM_SPEC32): Likewise. | |
22870 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
22871 | * config/sol2.h (ASM_SPEC): Remove comment about -Yd,. | |
22872 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
22873 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
22874 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
22875 | * config/sparc/sysv4.h (ASM_SPEC): Remove %{Yd,*}. | |
22876 | ||
e435f098 SE |
22877 | 2011-01-26 Steve Ellcey <sje@cup.hp.com> |
22878 | ||
22879 | PR target/46997 | |
22880 | * config/ia64/vect.md (mulv2si3): Enable and fix for TARGET_BIG_ENDIAN. | |
22881 | (*mux2): Ditto. | |
22882 | (vec_extract_evenodd_help): Ditto. | |
22883 | (vec_extract_evenv4hi): Ditto. | |
22884 | (vec_extract_oddv4hi): Ditto. | |
22885 | (vec_interleave_lowv2si): Ditto. | |
22886 | (vec_interleave_highv2si): Ditto. | |
22887 | (vec_extract_evenv2si): Ditto. | |
22888 | (vec_extract_oddv2si: Ditto. | |
22889 | (vec_pack_trunc_v2si): Ditto. | |
22890 | ||
34f0eee0 JH |
22891 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
22892 | ||
22893 | PR target/47237 | |
22894 | * cgraph.h (cgraph_local_info): New field can_change_signature. | |
22895 | * ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee | |
22896 | signature can change. | |
22897 | (ipcp_estimate_growth): Call sequence simplify only if calle signature | |
22898 | can change. | |
22899 | (ipcp_insert_stage): Only compute args_to_skip if signature can change. | |
22900 | (cgraph_function_versioning): We can not change signature of functions | |
22901 | that don't allow that. | |
22902 | * lto-cgraph.c (lto_output_node): Stream local.can_change_signature. | |
22903 | (lto_input_node): Likewise. | |
38be4072 UB |
22904 | * ipa-inline.c (compute_inline_parameters): Compute |
22905 | local.can_change_signature. | |
34f0eee0 | 22906 | * ipa-split.c (visit_bb): Never split away APPLY_ARGS. |
38be4072 UB |
22907 | * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on |
22908 | functions that can not change signature. | |
34f0eee0 | 22909 | * i386.c (ix86_function_regparm, ix86_function_sseregparm, |
38be4072 UB |
22910 | init_cumulative_args): Do not use local calling conventions |
22911 | for functions that can not change signature. | |
34f0eee0 | 22912 | |
980ca891 JH |
22913 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
22914 | ||
22915 | * doc/invoke.texi (hot-bb-frequency-fraction): Commit forgotten hunk. | |
22916 | ||
768e3c60 RG |
22917 | 2011-01-26 Richard Guenther <rguenther@suse.de> |
22918 | ||
22919 | PR tree-optimization/47190 | |
61052244 AM |
22920 | * cgraphunit.c (process_common_attributes): New function. |
22921 | (process_function_and_variable_attributes): Use it. | |
768e3c60 | 22922 | |
21d6a1c7 RG |
22923 | 2011-01-26 Richard Guenther <rguenther@suse.de> |
22924 | ||
22925 | PR lto/47423 | |
22926 | * cgraphbuild.c (record_eh_tables): Record reference to personality | |
22927 | function. | |
22928 | ||
48bb58b1 AO |
22929 | 2011-01-26 Alexandre Oliva <aoliva@redhat.com> |
22930 | ||
22931 | PR debug/45454 | |
22932 | * sel-sched.c (moveup_expr): Don't let debug insns prevent | |
22933 | non-debug insns from moving up. | |
22934 | ||
58c741a6 DK |
22935 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
22936 | ||
22937 | PR target/40125 | |
22938 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable | |
22939 | t-dlldir{,-x} fragment for build and add it to tmake_file. | |
22940 | (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise. | |
22941 | * Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc. | |
22942 | * config/i386/t-dlldir: New file. | |
22943 | (SHLIB_DLLDIR): Define. | |
22944 | * config/i386/t-dlldir-x: New file. | |
22945 | (SHLIB_DLLDIR): Define. | |
22946 | * config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set. | |
22947 | (SHLIB_INSTALL): Use it. | |
22948 | ||
bff99262 CLT |
22949 | 2011-01-26 Chung-Lin Tang <cltang@codesourcery.com> |
22950 | ||
22951 | PR target/47246 | |
22952 | * config/arm/arm.c (thumb2_legitimate_index_p): Change the | |
22953 | lower bound of the allowed Thumb-2 coprocessor load/store | |
22954 | index range to -256. Add explaining comment. | |
22955 | ||
82c03907 ILT |
22956 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
22957 | ||
22958 | * godump.c (go_define): Improve lexing of macro expansion to only | |
22959 | accept expressions which match Go spec. | |
22960 | ||
47ea1edf DK |
22961 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
22962 | ||
d4dba752 | 22963 | PR c++/43601 |
47ea1edf DK |
22964 | * tree.c (handle_dll_attribute): Handle it. |
22965 | * doc/extend.texi (@item dllexport): Mention it. | |
22966 | * doc/invoke.texi (@item -fno-keep-inline-dllexport): Document it. | |
22967 | ||
744f0946 ILT |
22968 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
22969 | ||
22970 | PR tree-optimization/26854 | |
22971 | * c-decl.c (struct c_scope): Add field has_jump_unsafe_decl. | |
22972 | (decl_jump_unsafe): Move higher in file, with no other change. | |
22973 | (bind): Set has_jump_unsafe_decl if appropriate. | |
22974 | (update_label_decls): Test has_jump_unsafe_decl to avoid loop. | |
22975 | (check_earlier_gotos): Likewise. | |
22976 | (c_check_switch_jump_warnings): Likewise. | |
22977 | ||
5734f2b3 JW |
22978 | 2011-01-25 Jonathan Wakely <jwakely.gcc@gmail.com> |
22979 | ||
22980 | * doc/invoke.texi (Warning Options): Add missing hyphen. | |
22981 | (-fprofile-dir): Minor grammatical fixes. | |
22982 | (-fbranch-probabilities): Likewise. | |
22983 | ||
9bdbdcef AO |
22984 | 2011-01-25 Alexandre Oliva <aoliva@redhat.com> |
22985 | ||
22986 | PR debug/45136 | |
22987 | PR debug/45130 | |
22988 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
22989 | debug insns. | |
22990 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
22991 | treatment of boundary debug insns. | |
38be4072 | 22992 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
9bdbdcef AO |
22993 | * sched-ebb.c (schedule_ebbs): Don't skip debug insns. |
22994 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
22995 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
22996 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
22997 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
22998 | boundary debug insns. | |
22999 | * final.c (rest_of_clean-state): Clear notes' BB. | |
23000 | ||
b305e3da SP |
23001 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23002 | ||
23003 | * Makefile.in (LAMBDA_H): Removed. | |
23004 | (TREE_DATA_REF_H): Remove dependence on LAMBDA_H. | |
23005 | (OBJS-common): Remove dependence on lambda-code.o, lambda-mat.o, | |
23006 | lambda-trans.o, and tree-loop-linear.o. | |
23007 | (lto-symtab.o): Remove dependence on LAMBDA_H. | |
23008 | (tree-loop-linear.o): Remove rule. | |
23009 | (lambda-mat.o): Same. | |
23010 | (lambda-trans.o): Same. | |
23011 | (lambda-code.o): Same. | |
23012 | (tree-vect-loop.o): Add missing dependence on TREE_DATA_REF_H. | |
23013 | (tree-vect-slp.o): Same. | |
23014 | * hwint.h (gcd): Moved here. | |
23015 | (least_common_multiple): Same. | |
23016 | * lambda-code.c: Removed. | |
23017 | * lambda-mat.c: Removed. | |
23018 | * lambda-trans.c: Removed. | |
23019 | * lambda.h: Removed. | |
23020 | * tree-loop-linear.c: Removed. | |
23021 | * lto-symtab.c: Do not include lambda.h. | |
23022 | * omega.c (gcd): Removed. | |
23023 | * passes.c (init_optimization_passes): Remove pass_linear_transform. | |
23024 | * tree-data-ref.c (print_lambda_vector): Moved here. | |
23025 | (lambda_vector_copy): Same. | |
23026 | (lambda_matrix_copy): Same. | |
23027 | (lambda_matrix_id): Same. | |
23028 | (lambda_vector_first_nz): Same. | |
23029 | (lambda_matrix_row_add): Same. | |
23030 | (lambda_matrix_row_exchange): Same. | |
23031 | (lambda_vector_mult_const): Same. | |
23032 | (lambda_vector_negate): Same. | |
23033 | (lambda_matrix_row_negate): Same. | |
23034 | (lambda_vector_equal): Same. | |
23035 | (lambda_matrix_right_hermite): Same. | |
23036 | * tree-data-ref.h: Do not include lambda.h. | |
23037 | (lambda_vector): Moved here. | |
23038 | (lambda_matrix): Same. | |
23039 | (dependence_level): Same. | |
23040 | (lambda_transform_legal_p): Removed declaration. | |
23041 | (lambda_collect_parameters): Same. | |
23042 | (lambda_compute_access_matrices): Same. | |
23043 | (lambda_vector_gcd): Same. | |
23044 | (lambda_vector_new): Same. | |
23045 | (lambda_vector_clear): Same. | |
23046 | (lambda_vector_lexico_pos): Same. | |
23047 | (lambda_vector_zerop): Same. | |
23048 | (lambda_matrix_new): Same. | |
23049 | * tree-flow.h (least_common_multiple): Removed declaration. | |
23050 | * tree-parloops.c (lambda_trans_matrix): Moved here. | |
23051 | (LTM_MATRIX): Same. | |
23052 | (LTM_ROWSIZE): Same. | |
23053 | (LTM_COLSIZE): Same. | |
23054 | (LTM_DENOMINATOR): Same. | |
23055 | (lambda_trans_matrix_new): Same. | |
23056 | (lambda_matrix_vector_mult): Same. | |
23057 | (lambda_transform_legal_p): Same. | |
23058 | * tree-pass.h (pass_linear_transform): Removed declaration. | |
23059 | * tree-ssa-loop.c (tree_linear_transform): Removed. | |
23060 | (gate_tree_linear_transform): Removed. | |
23061 | (pass_linear_transform): Removed. | |
23062 | (gate_graphite_transforms): Make flag_tree_loop_linear an alias of | |
23063 | flag_loop_interchange. | |
23064 | ||
6bdfdb96 JJ |
23065 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
23066 | ||
23067 | PR tree-optimization/47265 | |
23068 | PR tree-optimization/47443 | |
23069 | * tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false | |
23070 | if name still has some uses. | |
23071 | ||
e4cba915 MJ |
23072 | 2011-01-25 Martin Jambor <mjambor@suse.cz> |
23073 | ||
23074 | PR tree-optimization/47382 | |
23075 | * gimple-fold.c (gimple_fold_obj_type_ref_call): Removed. | |
23076 | (gimple_fold_call): Do not call gimple_fold_obj_type_ref_call. | |
23077 | ||
509d65dd | 23078 | 2011-01-25 Joel Sherrill <joel.sherrill@oarcorp.com> |
f822b8ea JS |
23079 | |
23080 | * config/m32r/m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to | |
23081 | sjlj_except_unwind_info. | |
23082 | ||
194313e2 RG |
23083 | 2011-01-25 Richard Guenther <rguenther@suse.de> |
23084 | ||
23085 | PR tree-optimization/47426 | |
23086 | * tree-ssa-structalias.c (ipa_pta_execute): Make externally | |
23087 | visible functions results escape. | |
23088 | ||
147a0bcf JJ |
23089 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
23090 | ||
23091 | PR target/45701 | |
23092 | * config/arm/arm.c (any_sibcall_uses_r3): New function. | |
23093 | (arm_get_frame_offsets): Use it. | |
23094 | ||
db963b52 SP |
23095 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23096 | Jakub Jelinek <jakub@redhat.com> | |
23097 | ||
23098 | PR tree-optimization/47271 | |
23099 | * tree-if-conv.c (bb_postdominates_preds): New. | |
23100 | (if_convertible_bb_p): Call bb_postdominates_preds. | |
23101 | (if_convertible_loop_p_1): Compute CDI_POST_DOMINATORS. | |
23102 | (predicate_scalar_phi): Call bb_postdominates_preds. | |
23103 | ||
bcddd3b9 NC |
23104 | 2011-01-25 Nick Clifton <nickc@redhat.com> |
23105 | ||
23106 | * config/rx/rx.h (LIBCALL_VALUE): Do not promote complex types. | |
23107 | * config/rx/rx.c (rx_function_value): Likewise. | |
23108 | (rx_promote_function_mode): Likewise. | |
23109 | (gen_safe_add): Place an outsized immediate value inside an UNSPEC | |
23110 | in order to make it legitimate. | |
38be4072 UB |
23111 | * config/rx/rx.md (adddi3_internal): If the second operand is a MEM |
23112 | make sure that the first operand is the same as the result register. | |
bcddd3b9 NC |
23113 | (addsi3_unspec): Delete. |
23114 | (subdi3): Do not accept immediate operands. | |
23115 | (subdi3_internal): Likewise. | |
23116 | ||
7e6cb022 JL |
23117 | 2011-01-25 Jeff Law <law@redhat.com> |
23118 | ||
23119 | PR rtl-optimization/37273 | |
23120 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
23121 | handle them like argument loads from stack slots. Do not double | |
23122 | count memory for memory constants and argument loads from stack slots. | |
23123 | ||
9ffa621e JJ |
23124 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
23125 | ||
23126 | PR tree-optimization/47427 | |
23127 | PR tree-optimization/47428 | |
23128 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't | |
23129 | coalesce if the new root var would be TREE_READONLY. | |
23130 | ||
5bd6e652 RG |
23131 | 2011-01-25 Richard Guenther <rguenther@suse.de> |
23132 | ||
23133 | PR middle-end/47414 | |
23134 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Use the | |
23135 | correct type for TBAA. | |
23136 | ||
7c48ea69 SP |
23137 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23138 | ||
23139 | * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New. | |
23140 | (close_phi_written_to_memory): Call for_each_index with | |
23141 | dr_indices_valid_in_loop. | |
23142 | ||
38013f25 SP |
23143 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23144 | ||
23145 | * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN | |
23146 | when it is initialized. | |
23147 | ||
5c640e29 SP |
23148 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23149 | ||
23150 | * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Update | |
23151 | call to graphite_find_data_references_in_stmt. | |
23152 | * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New. | |
23153 | (try_generate_gimple_bb): Call outermost_loop_in_sese_1. Update | |
23154 | call to graphite_find_data_references_in_stmt. | |
23155 | (analyze_drs_in_stmts): Same. | |
23156 | * tree-data-ref.c (dr_analyze_indices): Pass in parameter the loop | |
23157 | in which the scalar analysis of indices is performed. | |
23158 | (create_data_ref): Same. Update call to dr_analyze_indices. | |
23159 | (find_data_references_in_stmt): Update call to create_data_ref. | |
23160 | (graphite_find_data_references_in_stmt): Same. | |
23161 | * tree-data-ref.h (graphite_find_data_references_in_stmt): Update | |
23162 | declaration. | |
23163 | (create_data_ref): Same. | |
23164 | * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Update | |
23165 | call to create_data_ref. | |
23166 | ||
ac53c069 SP |
23167 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23168 | ||
23169 | * graphite-sese-to-poly.c (build_poly_scop): Move | |
38be4072 | 23170 | rewrite_commutative_reductions_out_of_ssa before find_scop_parameters. |
ac53c069 | 23171 | |
3d17df15 SP |
23172 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23173 | ||
23174 | * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow | |
23175 | VAR_DECL, PARM_DECL, and RESULT_DECL. | |
23176 | ||
c513da01 SP |
23177 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23178 | ||
23179 | * graphite-dependences.c (reduction_dr_1): Allow several reductions | |
23180 | in a reduction PBB. | |
23181 | * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs | |
23182 | that have already been marked as PBB_IS_REDUCTION. | |
23183 | ||
3a292d59 SP |
23184 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23185 | ||
23186 | * graphite-scop-detection.c (same_close_phi_node): New. | |
23187 | (remove_duplicate_close_phi): New. | |
23188 | (make_close_phi_nodes_unique): New. | |
23189 | (canonicalize_loop_closed_ssa): Call make_close_phi_nodes_unique. | |
23190 | ||
ba858447 SP |
23191 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23192 | ||
23193 | * graphite-dependences.c (new_poly_ddr): Call same_pdr_p. | |
23194 | * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE | |
23195 | of both data references to be the same. | |
23196 | ||
8d865c56 SP |
23197 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23198 | ||
38be4072 UB |
23199 | * graphite-dependences.c (build_lexicographical_constraint): Remove |
23200 | the gdim parameter. | |
23201 | (build_lexicographical_constraint): Adjust call to | |
23202 | ppl_powerset_is_empty. | |
8d865c56 SP |
23203 | (dependence_polyhedron): Same. |
23204 | (graphite_legal_transform_dr): Same. | |
23205 | (graphite_carried_dependence_level_k): Same. | |
38be4072 UB |
23206 | * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params |
23207 | parameter. | |
8d865c56 SP |
23208 | * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration. |
23209 | ||
50034a36 SP |
23210 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23211 | ||
23212 | * graphite-sese-to-poly.c | |
23213 | (translate_scalar_reduction_to_array_for_stmt): Call unshare_expr. | |
23214 | (close_phi_written_to_memory): New. | |
23215 | (translate_scalar_reduction_to_array): Call close_phi_written_to_memory | |
23216 | and unshare_expr. | |
23217 | ||
0deada9e SP |
23218 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23219 | ||
23220 | * doc/install.texi: Update the expected version number of PPL to 0.11. | |
23221 | * graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under | |
23222 | #if PPL_VERSION_MINOR < 11. | |
23223 | ||
d7d3d6af SP |
23224 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23225 | ||
23226 | * graphite-dependences.c: Include graphite-cloog-util.h. | |
23227 | (new_poly_ddr): Inlined into dependence_polyhedron. | |
23228 | (free_poly_ddr): Moved close by new_poly_ddr. | |
23229 | (dependence_polyhedron_1): Renamed dependence_polyhedron. | |
23230 | Early return NULL when ppl_powerset_is_empty returns true. | |
23231 | (dependence_polyhedron): Renamed new_poly_ddr. Call only once | |
23232 | poly_drs_may_alias_p. Avoid one call to ppl_powerset_is_empty. | |
23233 | (graphite_legal_transform_dr): Call new_poly_ddr. | |
23234 | (graphite_carried_dependence_level_k): Same. | |
23235 | (dot_original_deps_stmt_1): Renamed dot_deps_stmt_2. Use new_poly_ddr. | |
23236 | (dot_transformed_deps_stmt_1): Removed. | |
23237 | (dot_deps_stmt_1): Call dot_deps_stmt_2. | |
23238 | (dot_original_deps): Renamed dot_deps_2. Call new_poly_ddr. | |
23239 | (dot_deps_1): Call dot_deps_2. | |
23240 | * Makefile.in (graphite-dependences.o): Add missing dependence on | |
23241 | graphite-cloog-util.h. | |
23242 | ||
28c5db57 SP |
23243 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23244 | ||
23245 | * graphite-dependences.c (new_poly_dr): Call ppl_powerset_is_empty. | |
23246 | (build_lexicographical_constraint): Same. | |
23247 | (dependence_polyhedron_1): Same. | |
23248 | (graphite_legal_transform_dr): Same. | |
23249 | (graphite_carried_dependence_level_k): Same. | |
23250 | * graphite-ppl.c (ppl_powerset_is_empty): New. | |
23251 | * graphite-ppl.h (ppl_powerset_is_empty): Declared. | |
23252 | * tree-data-ref.c (dump_data_reference): Print the basic block index. | |
23253 | ||
5168d98f SP |
23254 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23255 | ||
23256 | * graphite-dependences.c (build_pairwise_scheduling): Correctly compute | |
23257 | the "a followed by b" relation and document it. | |
23258 | ||
4a40293a SP |
23259 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23260 | ||
23261 | * graphite-dependences.c (build_lexicographical_constraint): Stop the | |
23262 | iteration when the bag of constraints is empty. | |
23263 | ||
271fb6fa SP |
23264 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23265 | ||
23266 | * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work. | |
23267 | ||
92d23680 SP |
23268 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23269 | ||
23270 | * graphite-interchange.c (lst_interchange_profitable_p): Takes a loop | |
23271 | nest and two loop depths as parameters. | |
23272 | (lst_try_interchange_loops): Call lst_interchange_profitable_p after | |
23273 | lst_perfect_nestify. | |
23274 | ||
2f51deff SP |
23275 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23276 | ||
23277 | * graphite-dependences.c (print_pddr): Call | |
23278 | ppl_io_fprint_Pointset_Powerset_C_Polyhedron. | |
23279 | ||
07f3593c SP |
23280 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
23281 | ||
23282 | * graphite-ppl.c (debug_gmp_value): New. | |
23283 | * graphite-ppl.h (debug_gmp_value): Declared. | |
23284 | ||
3fae6099 TG |
23285 | 2011-01-25 Tobias Grosser <grosser@fim.uni-passau.de> |
23286 | ||
23287 | * doc/install.texi: Document availability of cloog-0.16. | |
23288 | ||
1c3ba85b SP |
23289 | 2011-01-25 Vladimir Kargov <kargov@gmail.com> |
23290 | ||
23291 | * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Free | |
23292 | invalid postdominance info. | |
23293 | ||
e8ba94fc JH |
23294 | 2011-01-24 Jan Hubicka <jh@suse.cz> |
23295 | ||
23296 | PR c/21659 | |
23297 | * doc/extend.texi (weak pragma): Drop claim that it must | |
23298 | appear before definition. | |
23299 | * varasm.c (merge_weak, declare_weak): Only sanity check | |
23300 | that DECL is not output at a time it is declared weak. | |
23301 | ||
2b6e2d13 KZ |
23302 | 2011-01-24 Kenneth Zadeck <zadeck@naturalbridge.com> |
23303 | ||
23304 | * machmode.def: Fixed comments. | |
1c3ba85b | 23305 | |
9841210f KT |
23306 | 2011-01-24 Kai Tietz <kai.tietz@onevision.com> |
23307 | ||
23308 | * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t. | |
23309 | ||
23310 | 2011-01-24 Paul Koning <ni1d@arrl.net> | |
e046112d PK |
23311 | |
23312 | * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN != | |
1c3ba85b | 23313 | WORDS_BIG_ENDIAN. |
e046112d | 23314 | |
a6c5070a L |
23315 | 2011-01-24 H.J. Lu <hongjiu.lu@intel.com> |
23316 | ||
23317 | PR target/46519 | |
23318 | * config/i386/i386.c: Include sbitmap.h and fibheap.h. | |
23319 | (block_info): Add scanned and prev. | |
23320 | (move_or_delete_vzeroupper_2): Return if the basic block | |
23321 | has been scanned and the upper 128bit state is unchanged | |
23322 | from the last scan. | |
23323 | (move_or_delete_vzeroupper_1): Return true if the exit | |
23324 | state is changed. | |
23325 | (move_or_delete_vzeroupper): Visit basic blocks using the | |
23326 | work-list based algorithm based on vt_find_locations in | |
23327 | var-tracking.c. | |
23328 | ||
23329 | * config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H). | |
23330 | ||
a40d79d7 NC |
23331 | 2011-01-24 Nick Clifton <nickc@redhat.com> |
23332 | ||
23333 | * config/v850/v850.opt (mv850es): New option - alias for -mv850e1. | |
23334 | * config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass | |
23335 | -mv850e1 to the assembler. If -mv850e1 or -mv850es is specified | |
23336 | then define __v850e1__. | |
23337 | * doc/invoke.texi: Document -mv850es. | |
23338 | ||
440eb8de RH |
23339 | 2011-01-24 Richard Henderson <rth@redhat.com> |
23340 | ||
23341 | * config/rx/predicates.md (rx_fp_comparison_operator): Don't accept | |
23342 | compound unordered comparisons. | |
23343 | * config/rx/rx.c (rx_split_fp_compare): Remove. | |
23344 | * config/rx/rx-protos.h: Update. | |
23345 | * config/rx/rx.md (gcc_conds, rx_conds): Remove. | |
23346 | (cbranchsf4): Don't call rx_split_fp_compare. | |
23347 | (*cbranchsf4): Use rx_split_cbranch. | |
23348 | (*cmpsf): Don't accept "i" constraint. | |
23349 | (*conditional_branch): Only valid after reload. | |
23350 | (cstoresf4): Merge expander with insn. Don't call rx_split_fp_compare. | |
23351 | ||
3ff79f99 MM |
23352 | 2011-01-24 Michael Meissner <meissner@linux.vnet.ibm.com> |
23353 | ||
23354 | PR target/47385 | |
23355 | * config/rs6000/altivec.md (vector constant splitters): Add | |
23356 | support for creating vector single precision constants if -mvsx is | |
23357 | used and we would create the constant using Altivec primitives. | |
23358 | ||
ff3d9d08 BS |
23359 | 2011-01-23 Bernd Schmidt <bernds@codesourcery.com> |
23360 | Richard Sandiford <rdsandiford@googlemail.com> | |
23361 | ||
23362 | PR rtl-optimization/47166 | |
23363 | * reload1.c (emit_reload_insns): Disable the spill_reg_store | |
23364 | mechanism for PRE_MODIFY and POST_MODIFY. | |
23365 | (inc_for_reload): For PRE_MODIFY, return the insn that sets the | |
23366 | reloadreg. | |
23367 | ||
7fcaf152 AS |
23368 | 2011-01-23 Andreas Schwab <schwab@linux-m68k.org> |
23369 | ||
8788adb6 | 23370 | * compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers. |
7fcaf152 | 23371 | |
d09b58c4 JH |
23372 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
23373 | ||
23374 | PR lto/47333 | |
23375 | * lto-cgraph.c (reachable_from_this_partition_p): Fix pasto. | |
23376 | ||
e8ff8c5a JH |
23377 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
23378 | ||
23379 | PR tree-optimization/43884 | |
23380 | PR lto/44334 | |
8788adb6 | 23381 | * predict.c (maybe_hot_frequency_p): Use entry block frequency as base. |
e8ff8c5a JH |
23382 | * doc/invoke.texi (hot-bb-frequency-fraction): Update docs. |
23383 | ||
ccaed3ba AS |
23384 | 2011-01-22 Anatoly Sokolov <aesok@post.ru> |
23385 | ||
23386 | * config/s390/s390.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. | |
23387 | * config/s390/s390.c (s390_register_move_cost, | |
23388 | s390_memory_move_cost): New. | |
23389 | (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define. | |
23390 | ||
0cecee06 UW |
23391 | 2011-01-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
23392 | ||
23393 | PR middle-end/47401 | |
23394 | * except.c (sjlj_assign_call_site_values): Move setting the | |
23395 | crtl->uses_eh_lsda flag to ... | |
23396 | (sjlj_mark_call_sites): ... here. | |
23397 | (sjlj_emit_function_enter): Support NULL dispatch label. | |
23398 | (sjlj_build_landing_pads): In a function with no landing pads | |
23399 | that still has must-not-throw regions, generate code to register | |
23400 | a personality function with empty LSDA. | |
23401 | ||
e692f276 RH |
23402 | 2011-01-21 Richard Henderson <rth@redhat.com> |
23403 | ||
1b7ae0b7 RH |
23404 | * config/rx/rx.c (TARGET_FLAGS_REGNUM): New. |
23405 | ||
3843787f RH |
23406 | * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New. |
23407 | ||
e692f276 RH |
23408 | * compare-elim.c: New file. |
23409 | * Makefile.in (OBJS-common): Add it. | |
23410 | (compare-elim.o): New. | |
23411 | * common.opt (fcompare-elim): New. | |
23412 | * opts.c (default_options_table): Add OPT_fcompare_elim. | |
23413 | * tree-pass.h (pass_compare_elim_after_reload): New. | |
23414 | * passes.c (init_optimization_passes): Add it. | |
23415 | * recog.h: Protect against re-inclusion. | |
23416 | * target.def (TARGET_FLAGS_REGNUM): New POD hook. | |
23417 | * doc/invoke.texi (-fcompare-elim): Document it. | |
23418 | * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Document it. | |
23419 | * doc/tm.texi: Rebuild. | |
23420 | ||
9a7c2050 NC |
23421 | 2011-01-22 Nick Clifton <nickc@redhat.com> |
23422 | ||
23423 | * config/rx/rx.md (cstoresf4): Pass comparison operator to | |
23424 | rx_split_fp_compare. | |
23425 | ||
15ba5696 NC |
23426 | 2011-01-22 Nick Clifton <nickc@redhat.com> |
23427 | ||
23428 | * config/rx/rx.md (UNSPEC_CONST): New. | |
23429 | (deallocate_and_return): Wrap the amount popped off the stack in | |
23430 | an UNSPEC_CONST in order to stop it being rejected by | |
23431 | -mmax-constant-size. | |
23432 | (pop_and_return): Add a "(return)" rtx. | |
23433 | (call): Drop the immediate operand. | |
23434 | (call_internal): Likewise. | |
23435 | (call_value): Likewise. | |
23436 | (call_value_internal): Likewise. | |
23437 | (sibcall_internal): Likewise. | |
23438 | (sibcall_value_internal): Likewise. | |
23439 | (sibcall): Likewise. Generate an explicit call using | |
23440 | sibcall_internal. | |
23441 | (sibcall_value): Likewise. | |
23442 | (mov<>): FAIL if a constant operand is not legitimate. | |
23443 | (addsi3_unpsec): New pattern. | |
9a7c2050 | 23444 | |
38be4072 | 23445 | * config/rx/rx.c (rx_print_operand_address): Handle UNSPEC CONSTs. |
15ba5696 NC |
23446 | (ok_for_max_constant): New function. |
23447 | (gen_safe_add): New function. | |
23448 | (rx_expand_prologue): Use gen_safe_add. | |
23449 | (rx_expand_epilogue): Likewise. | |
23450 | (rx_is_legitimate_constant): Use ok_for_max_constant. Handle | |
23451 | UNSPEC CONSTs. | |
23452 | ||
caaf13d3 JL |
23453 | 2011-01-21 Jeff Law <law@redhat.com> |
23454 | ||
23455 | PR tree-optimization/47053 | |
23456 | * tree-ssa-dse.c (need_eh_cleanup): New bitmap. | |
23457 | (dse_optimize_stmt): Set the appropriate bit in NEED_EH_CLEANUP when | |
23458 | statements are deleted. | |
23459 | (tree_ssa_dse): Allocate & free NEED_EH_CLEANUP. If NEED_EH_CLEANUP | |
23460 | is nonempty, then purge dead edges and cleanup the CFG. | |
23461 | ||
12c30f2f AO |
23462 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> |
23463 | ||
23464 | PR debug/47402 | |
23465 | Temporarily revert: | |
23466 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> | |
23467 | PR debug/47106 | |
23468 | * tree-dfa.c (create_var_ann): Mark variable as used. | |
23469 | ||
7360d2ac JJ |
23470 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
23471 | ||
aaa52a96 JJ |
23472 | PR middle-end/45566 |
23473 | * except.c (convert_to_eh_region_ranges): Emit queued no-region | |
23474 | notes from other section in hot/cold partitioning even if | |
23475 | last_action is -3. Increment call_site_base. | |
23476 | ||
7360d2ac JJ |
23477 | PR rtl-optimization/47366 |
23478 | * fwprop.c (forward_propagate_into): Return bool. If | |
23479 | any changes are made, -fnon-call-exceptions is used and | |
23480 | REG_EH_REGION note is present, call purge_dead_edges | |
23481 | and return true if it purged anything. | |
23482 | (fwprop_addr): Adjust callers, call cleanup_cfg (0) if | |
23483 | any EH edges were purged. | |
23484 | ||
e90b336f JL |
23485 | 2011-01-21 Jeff Law <law@redhat.com> |
23486 | ||
23487 | PR rtl-optimization/41619 | |
23488 | * caller-save.c (setup_save_areas): Break out code to determine | |
23489 | which hard regs are live across calls by examining the reload chains | |
23490 | so that it is always used. | |
23491 | Eliminate code which checked REG_N_CALLS_CROSSED. | |
23492 | ||
3ffe07e1 JJ |
23493 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
23494 | ||
23495 | PR tree-optimization/47355 | |
23496 | * tree-eh.c (cleanup_empty_eh_merge_phis): Give up if | |
23497 | NOP has non-debug uses beyond PHIs in new_bb. | |
23498 | ||
1c7d0b34 AO |
23499 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> |
23500 | ||
23501 | PR debug/47106 | |
23502 | * cfgexpand.c (account_used_vars_for_block): Only account vars | |
23503 | that are annotated as used. | |
23504 | (estimated_stack_frame_size): Don't set TREE_USED. | |
23505 | * tree-dfa.c (create_var_ann): Mark variable as used. | |
23506 | ||
f99cc488 RG |
23507 | 2011-01-21 Richard Guenther <rguenther@suse.de> |
23508 | ||
23509 | PR middle-end/47395 | |
23510 | * tree.def (WIDEN_MULT_MINUS_EXPR): Fix printed name. | |
23511 | ||
3bc27de7 RG |
23512 | 2011-01-21 Richard Guenther <rguenther@suse.de> |
23513 | ||
23514 | PR tree-optimization/47365 | |
23515 | * tree-ssa-sccvn.h (vn_lookup_kind): Declare. | |
23516 | (vn_reference_lookup_pieces): Adjust. | |
23517 | (vn_reference_lookup): Likewise. | |
23518 | * tree-ssa-sccvn.c (vn_walk_kind): New static global. | |
23519 | (vn_reference_lookup_3): Only look through kills if in | |
23520 | VN_WALKREWRITE mode. | |
23521 | (vn_reference_lookup_pieces): Adjust. | |
23522 | (vn_reference_lookup): Likewise. | |
23523 | (visit_reference_op_load): Likewise. | |
23524 | (visit_reference_op_store): Likewise. | |
23525 | * tree-ssa-pre.c (phi_translate_1): Use VN_WALK mode. | |
23526 | (compute_avail): Likewise. | |
23527 | (eliminate): Likewise. | |
23528 | ||
d8debb1d JJ |
23529 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
23530 | ||
23531 | * tree-ssa-live.c (remove_unused_scope_block_p): Don't remove | |
23532 | DECL_IGNORED_P non-reg vars if they are used. | |
23533 | ||
3a2df831 JJ |
23534 | PR tree-optimization/47391 |
23535 | * varpool.c (const_value_known_p): Return false if | |
23536 | decl is volatile. | |
23537 | ||
1dd584a2 KT |
23538 | 2011-01-21 Kai Tietz <kai.tietz@onevision.com> |
23539 | ||
23540 | PR bootstrap/47215 | |
23541 | * config/i386/i386.c (ix86_local_alignment): Handle | |
23542 | case for va_list_type_node is nil. | |
23543 | (ix86_canonical_va_list_type): Likewise. | |
23544 | ||
7f9f095e AM |
23545 | 2011-01-21 Alan Modra <amodra@gmail.com> |
23546 | ||
23547 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Add | |
23548 | builtin_define __CMODEL_MEDIUM__ and __CMODEL_LARGE__. | |
23549 | ||
837b01f6 RR |
23550 | 2011-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
23551 | ||
23552 | * config/arm/arm.md (define_attr type): Rename f_load | |
23553 | and f_store to f_fpa_load and f_fpa_store. Update. | |
23554 | (write_conflict): Deal with rename fallout. | |
23555 | (*push_fp_multi): Likewise. | |
23556 | * config/arm/fpa.md (f_load): Use f_fpa_load. | |
23557 | (f_store): Use f_fpa_store. | |
23558 | (*movsf_fpa): Likewise. | |
23559 | (*movdf_fpa): Likewise. | |
23560 | (*movxf_fpa): Likewise. | |
23561 | (*thumb2_movsf_fpa): Likewise. | |
23562 | (*thumb2_movdf_fpa): Likewise. | |
23563 | (*thumb2_movxf_fpa): Likewise. | |
23564 | * config/arm/vfp.md (*thumb2_movdf_vfp): Fix attribute to | |
23565 | f_loadd and f_stored. | |
23566 | (*thumb2_movdi_vfp): Likewise. | |
23567 | (*thumb2_movsf_vfp): Fix attribute to f_loads. | |
23568 | (*thumb2_movsi_vfp): Likewise. | |
23569 | * config/arm/cortex-m4-fpu.md (cortex_m4_f_load): | |
23570 | Use f_loads instead of f_load. | |
23571 | * config/arm/cortex-a5.md (cortex_a5_f_loads): Remove f_load. | |
23572 | ||
a1a79768 AS |
23573 | 2011-01-20 Anatoly Sokolov <aesok@post.ru> |
23574 | ||
23575 | * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
23576 | * config/xtensa/xtensa-protos.h (constantpool_address_p): Remove. | |
23577 | * config/xtensa/xtensa.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
23578 | (xtensa_mode_dependent_address_p): New function. | |
23579 | (constantpool_address_p): Make static. Change return type to bool. | |
23580 | Change argument type to const_rtx. Use CONST_INT_P predicate. | |
23581 | ||
427f6cec AO |
23582 | 2011-01-20 Alexandre Oliva <aoliva@redhat.com> |
23583 | ||
23584 | PR debug/46583 | |
23585 | * tree-ssa-live.c (remove_unused_scope_block_p): Keep type decls. | |
23586 | ||
583ac69c JJ |
23587 | 2011-01-20 Jakub Jelinek <jakub@redhat.com> |
23588 | ||
23589 | PR debug/47283 | |
23590 | * cfgexpand.c (expand_debug_expr): Instead of generating | |
23591 | (mem (debug_implicit_ptr)) for MEM_REFs use COMPONENT_REF | |
23592 | etc. handling. | |
23593 | ||
93e452ed RG |
23594 | 2011-01-20 Richard Guenther <rguenther@suse.de> |
23595 | ||
23596 | PR middle-end/47370 | |
23597 | * tree-inline.c (remap_gimple_op_r): Recurse manually for | |
23598 | the pointer operand of MEM_REFs. | |
23599 | ||
28fc44f3 JJ |
23600 | 2011-01-20 Jakub Jelinek <jakub@redhat.com> |
23601 | ||
23602 | PR tree-optimization/46130 | |
23603 | * ipa-split.c (consider_split): If return_bb contains non-virtual | |
23604 | PHIs other than for retval or if split_function would not adjust it, | |
23605 | refuse to split. | |
23606 | ||
ddd268f2 RG |
23607 | 2011-01-20 Richard Guenther <rguenther@suse.de> |
23608 | ||
23609 | PR tree-optimization/47167 | |
23610 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): | |
23611 | Revert previous change, only avoid enumeral type changes. | |
23612 | ||
882020aa MS |
23613 | 2011-01-19 Mike Stump <mikestump@comcast.net> |
23614 | ||
23615 | * doc/tm.texi.in (BRANCH_COST): Englishify. | |
23616 | * doc/tm.texi (BRANCH_COST): Likewise. | |
23617 | ||
7edb6247 DS |
23618 | 2011-01-19 Dodji Seketeli <dodji@redhat.com> |
23619 | ||
23620 | PR c++/47291 | |
23621 | * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen) | |
61052244 AM |
23622 | (gen_scheduled_generic_parms_dies): New functions. |
23623 | (gen_struct_or_union_type_die): Schedule template parameters DIEs | |
23624 | generation for the end of CU compilation. | |
23625 | (dwarf2out_finish): Generate template parameters DIEs here. | |
7edb6247 | 23626 | |
23d5ed5d AO |
23627 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
23628 | ||
23629 | PR debug/46240 | |
23630 | * tree-into-ssa.c (maybe_register_def): Do not attempt to add | |
23631 | debug bind stmt on merge edges. | |
23632 | ||
37d6a488 AO |
23633 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
23634 | ||
23635 | PR debug/47079 | |
23636 | PR debug/46724 | |
23637 | * function.c (instantiate_expr): Instantiate incoming rtl of | |
23638 | implicit arguments, and recurse on VALUE_EXPRs. | |
23639 | (instantiate_decls): Instantiate rtl and VALUE_EXPR of result. | |
23640 | * var-tracking.c (adjust_mems): Reject virtual_incoming_args_rtx. | |
23641 | ||
689f2c82 AO |
23642 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
23643 | ||
23644 | * c-parser.c (c_parser_for_statement): Initialize | |
23645 | collection_expression. | |
23646 | ||
03029de4 JM |
23647 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
23648 | ||
23649 | * config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}. | |
23650 | ||
3e03217e JM |
23651 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
23652 | ||
23653 | * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove. | |
23654 | (LINK_SHLIB_SPEC): Don't use %(link_path). | |
23655 | (SUBTARGET_EXTRA_SPECS): Remove link_path. | |
23656 | ||
5bbe9b3f JM |
23657 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
23658 | ||
23659 | * config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional. | |
23660 | (NO_SHARED_LIB_SUPPORT): Remove. | |
23661 | (LINK_SHLIB_SPEC): Remove one conditional definition. | |
23662 | ||
368e0b39 JM |
23663 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
23664 | ||
23665 | * config/mips/linux64.h (LINK_SPEC): Remove %{non_shared} | |
23666 | %{call_shared}. | |
23667 | * config/mips/mips.h (LINK_SPEC): Remove %{non_shared}. | |
23668 | * config/mips/netbsd.h (LINK_SPEC): Remove %{call_shared}. | |
23669 | * config/mips/openbsd.h (LINK_SPEC): Remove %{non_shared} | |
23670 | %{call_shared} and conditionals on these options not being passed. | |
23671 | * config/mips/sde.h (LINK_SPEC): Remove %{non_shared} | |
23672 | %{call_shared}. | |
23673 | ||
ed7656f6 JJ |
23674 | 2011-01-19 Jakub Jelinek <jakub@redhat.com> |
23675 | ||
68457901 JJ |
23676 | * ipa-split.c (find_return_bb): Use single_pred_p/single_pred_edge, |
23677 | simplify. | |
23678 | ||
ed7656f6 JJ |
23679 | * ipa-split.c: Spelling fixes. |
23680 | ||
e0d1958f RH |
23681 | 2011-01-19 Richard Henderson <rth@redhat.com> |
23682 | ||
23683 | * config/mn10300/mn10300.md (mulsi3): Use reg_or_am33_const_operand. | |
23684 | (*mulsi3): Likewise. | |
23685 | ||
27098b6b RH |
23686 | * longlong.h [__mn10300__] (count_leading_zeros): New. |
23687 | [__mn10300__] (umul_ppmm, smul_ppmm): New. | |
23688 | [__mn10300__] (add_ssaaaa, subddmmss): New. | |
23689 | [__mn10300__] (udiv_qrnnd, sdiv_qrnnd): New. | |
23690 | [__mn10300__] (UMUL_TIME, UDIV_TIME): New. | |
23691 | ||
d6be7c36 UW |
23692 | 2011-01-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
23693 | ||
23694 | * config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case. | |
23695 | ||
b1efde2a RH |
23696 | 2011-01-19 Richard Henderson <rth@redhat.com> |
23697 | ||
44217823 RH |
23698 | * config/mn10300/mn10300.md (addsi3_flags): New. |
23699 | (addc_internal, adddi3, adddi3_internal, *adddi3_degenerate): New. | |
23700 | (subsi3_flags, subc_internal, subdi3): New. | |
23701 | (subdi3_internal, *subdi3_degenerate): New. | |
23702 | * config/mn10300/predicates.md (reg_or_am33_const_operand): New. | |
23703 | ||
37a185d7 RH |
23704 | * config/mn10300/mn10300.c (mn10300_can_use_retf_insn): New. |
23705 | (mn10300_can_use_rets_insn): Rename from mn10300_can_use_return_insn. | |
23706 | (mn10300_expand_epilogue): Use it. Compute REG_SAVE_BYTES once. | |
23707 | * config/mn10300/mn10300-protos.h: Update. | |
23708 | * config/mn10300/mn10300.md (return): Use mn10300_can_use_retf_insn. | |
23709 | (return_ret): Likewise. Rename from return_internal_regs. | |
23710 | (return_internal): Remove. | |
23711 | ||
040c5757 RH |
23712 | * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): Remove. |
23713 | (mn10300_asm_output_addr_const_extra): Don't handle UNSPEC_INT_LABEL. | |
23714 | (mn10300_legitimate_constant_p): Likewise. | |
23715 | (mn10300_can_use_return_insn): Use mn10300_initial_offset. | |
23716 | (mn10300_frame_size): New. | |
23717 | (mn10300_expand_prologue): Use it. | |
23718 | (mn10300_expand_epilogue): Likewise. | |
23719 | (mn10300_initial_offset): Likewise. | |
23720 | * config/mn10300/mn10300-protos.h: Update. | |
23721 | * config/mn10300/mn10300.h (mn10300_unspec_int_label_counter): Remove. | |
23722 | * config/mn10300/mn10300.md (UNSPEC_INT_LABEL): Remove. | |
23723 | (prologue, epilogue, return_internal): Tidy output code. | |
23724 | (mn10300_store_multiple_operation, return): Likewise. | |
23725 | (int_label, pop_pic_reg, GOTaddr2picreg): Remove. | |
23726 | (am33_loadPC, mn10300_loadPC, call_next_insn): Remove. | |
23727 | (add_GOT_to_pic_reg, add_GOT_to_any_reg): Remove. | |
23728 | (load_pic, am33_load_pic): New. | |
23729 | (mn10300_load_pic0, mn10300_load_pic1): New. | |
23730 | ||
bad41521 RH |
23731 | * config/mn10300/mn10300-modes.def (CCZN, CCZNC): New modes. |
23732 | * config/mn10300/mn10300.c (CC_FLAG_Z): New. | |
23733 | (CC_FLAG_N, CC_FLAG_C, CC_FLAG_V): New. | |
23734 | (cc_flags_for_mode, cc_flags_for_code): New. | |
23735 | (mn10300_print_operand) ['B']: Use nc/ns for GE/LT when the | |
23736 | overflow flag is not valid. Validate that the flags we need | |
23737 | for the comparison are valid. | |
23738 | (mn10300_output_cmp): Remove. | |
23739 | (mn10300_output_add): New. | |
23740 | (mn10300_select_cc_mode): Use cc_flags_for_code. | |
23741 | (mn10300_split_cbranch): New. | |
23742 | (mn10300_match_ccmode): New. | |
23743 | (mn10300_split_and_operand_count): New. | |
23744 | * config/mn10300/mn10300.h (SELECT_CC_MODE): Pass all of the arguments | |
23745 | to the function. | |
23746 | * config/mn10300/mn10300.md (*am33_addsi3, *mn10300_addsi3): Merge... | |
23747 | (addsi3): ... here. Use mn10300_output_add. | |
23748 | (*addsi3_flags): New. | |
23749 | (*am33_subsi3, *mn10300_subsi3): Merge... | |
23750 | (subsi3): ... here. Use attribute isa. | |
23751 | (*subsi3_flags): New. | |
23752 | (negsi2): Rewrite from expander to insn_and_split. Use NOT+INC | |
23753 | when possible. | |
23754 | (*am33_andsi3, *mn10300_andsi3): Merge... | |
23755 | (andsi3): ... here. | |
23756 | (*andsi3_flags): New. | |
23757 | (andsi3 splitters): New. | |
23758 | (*am33_iorsi3, *mn10300_iorsi3): Merge... | |
23759 | (iorsi3): ... here. | |
23760 | (*iorsi3_flags): New. | |
23761 | (*am33_xorsi3, *mn10300_xorsi3): Merge... | |
23762 | (xorsi3): ... here. | |
23763 | (*xorsi3_flags): New. | |
23764 | (*am33_cmpsi2, *mn10300_cmplsi2): Merge... | |
23765 | (one_cmplsi2): ... here. | |
23766 | (*one_cmplsi2_flags): New. | |
23767 | (*cbranchsi4_cmp): Rename from cbranchsi4_post_reload. Use "r" | |
23768 | instead of "dax" in constraints. Use mn10300_split_cbranch. | |
23769 | (*cmpsi): Rename from cmpsi. Do not use mn10300_output_cmp. Do not | |
23770 | use matching constraints to eliminate a self-comparison. | |
23771 | (*integer_conditional_branch): Rename from integer_conditional_branch. | |
23772 | Use int_mode_flags to match CC_REG. | |
23773 | (*cbranchsi4_btst, *btstsi): New. | |
23774 | (*cbranchsf4_cmp): Rename from *cbranchsf4_post_reload. Use | |
23775 | mn10300_split_cbranch. | |
23776 | (*am33_cmpsf): Rename from am33_cmpsf. | |
23777 | (*float_conditional_branch): Rename from float_conditional_branch. | |
23778 | (*zero_extendqisi2_am33, *zero_extendqisi2_mn10300): Merge... | |
23779 | (zero_extendqisi2): ... here. | |
23780 | (*zero_extendhisi2_am33, *zero_extendhisi2_mn10300): Merge... | |
23781 | (zero_extendhisi2): ... here. | |
23782 | (*extendqisi2_am33, *extendqisi2_mn10300): Merge... | |
23783 | (extendqisi2): ... here. | |
23784 | (*extendhisi2_am33, *extendhisi2_mn10300): Merge... | |
23785 | (extendhisi2): ... here. | |
23786 | (*am33_ashlsi3, *mn10300_ashlsi3): Merge... | |
23787 | (ashlsi3): ... here. | |
23788 | (*am33_lshrsi3, *mn10300_lshrsi3): Merge... | |
23789 | (lshrsi3): ... here. | |
23790 | (*am33_ashrisi3, *mn10300_ashrsi3): Merge... | |
23791 | (ashrsi3): ... here. | |
23792 | (consecutive add peephole): Remove. | |
23793 | * config/mn10300/predicates.md (label_ref_operand): New. | |
23794 | (int_mode_flags): New. | |
23795 | (CCZN_comparison_operator): New. | |
23796 | ||
9efb4993 RH |
23797 | * config/mn10300/mn10300.md (UNSPEC_EXT): New. |
23798 | (throughput_42_latency_43): New reservation. | |
23799 | (mulsidi3, umulsidi3): New expanders. | |
23800 | (mulsidi3_internal): Rewrite from old mulsidi3 pattern. Expose | |
23801 | the MDR register to allocation; separately allocate the low and | |
23802 | high parts of the DImode result. | |
23803 | (umulsidi3_internal): Similarly. | |
23804 | (*am33_mulsi3, *mn10300_mulsi3): Merge into ... | |
23805 | (*mulsi3): ... here. Clobber MDR as a scratch as necessary. | |
23806 | (udivsi3, umodsi3): Remove. | |
23807 | (udivmodsi4, divmodsi4): New expanders. | |
23808 | (*udivmodsi4): Rename from udivmodsi4. Expose MDR properly. | |
23809 | (*divmodsi4): Simiarly. | |
23810 | (ext_internal): New. | |
23811 | ||
c25a21f5 RH |
23812 | * config/mn10300/constraints.md ("z"): New constraint. |
23813 | * config/mn10300/mn10300.h (MDR_REGNUM): Remove. | |
23814 | (FIXED_REGISTERS): Don't fix MDR. | |
23815 | (CALL_USED_REGSITERS): Reformat nicely. | |
23816 | (REG_ALLOC_ORDER): Add MDR. | |
23817 | (enum regclass): Add MDR_REGS. | |
23818 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update to match. | |
23819 | (IRA_COVER_CLASSES): Add MDR_REGS. | |
23820 | (REGNO_REG_CLASS): Handle MDR_REG. | |
23821 | * config/mn10300/mn10300.c (mn10300_secondary_reload): Handle MDR_REGS. | |
23822 | (mn10300_register_move_cost): Likewise. | |
23823 | * config/mn10300/mn10300.md (MDR_REG): New. | |
23824 | (*movsi_internal): Handle moves to/from MDR_REGS. | |
23825 | ||
36846b26 RH |
23826 | * config/mn10300/mn10300.c (mn10300_print_operand_address): Handle |
23827 | POST_MODIFY. | |
23828 | (mn10300_secondary_reload): Tidy combination reload classes. | |
23829 | (mn10300_legitimate_address_p): Allow post-modify and reg+reg | |
23830 | addresses for AM33. Allow symbolic offsets for reg+imm. | |
23831 | (mn10300_regno_in_class_p): New. | |
23832 | (mn10300_legitimize_reload_address): New. | |
23833 | * config/mn10300/mn10300.h (enum reg_class): Remove | |
23834 | DATA_OR_ADDRESS_REGS, DATA_OR_EXTENDED_REGS, ADDRESS_OR_EXTENDED_REGS, | |
23835 | SP_OR_EXTENDED_REGS, SP_OR_ADDRESS_OR_EXTENDED_REGS. Add | |
23836 | SP_OR_GENERAL_REGS. | |
23837 | (REG_CLASS_NAMES): Update to match. | |
23838 | (REG_CLASS_CONTENTS): Likewise. | |
23839 | (INDEX_REG_CLASS): Use GENERAL_REGS for AM33. | |
23840 | (BASE_REG_CLASS): Use SP_OR_GENERAL_REGS for AM33. | |
23841 | (REGNO_IN_RANGE_P): Remove. | |
23842 | (REGNO_DATA_P): Use mn10300_regno_in_class_p. | |
23843 | (REGNO_ADDRESS_P, REGNO_EXTENDED_P): Likewise. | |
23844 | (REGNO_STRICT_OK_FOR_BASE_P): Likewise. | |
23845 | (REGNO_STRICT_OK_FOR_BIT_BASE_P): Likewise. | |
23846 | (REGNO_STRICT_OK_FOR_INDEX_P): Likewise. | |
23847 | (REGNO_SP_P, REGNO_AM33_P, REGNO_FP_P): Remove. | |
23848 | (REGNO_GENERAL_P): New. | |
23849 | (HAVE_POST_MODIFY_DISP): New. | |
23850 | (USE_LOAD_POST_INCREMENT, USE_STORE_POST_INCREMENT): New. | |
23851 | (LEGITIMIZE_RELOAD_ADDRESS): New. | |
23852 | * config/mn10300/mn10300-protos.h: Update. | |
23853 | ||
8b119bb6 RH |
23854 | * config/mn10300/mn10300.c (mn10300_preferred_reload_class): Allow |
23855 | DATA_REGS for AM33 stack-pointer destination. | |
23856 | (mn10300_preferred_output_reload_class): Likewise. | |
23857 | (mn10300_secondary_reload): Rearrange mn10300_secondary_reload_class | |
23858 | into a form appropriate for ... | |
23859 | (TARGET_SECONDARY_RELOAD): New. | |
23860 | * config/mn10300/mn10300.h (SECONDARY_RELOAD_CLASS): Remove. | |
23861 | * config/mn10300/mn10300-protos.h: Update. | |
23862 | * config/mn10300/mn10300.md (reload_plus_sp_const): Rename from | |
23863 | reload_insi; use the "A" constraint for the scratch; handle AM33 | |
23864 | moves of sp to non-address registers. | |
23865 | ||
b1efde2a RH |
23866 | * config/mn10300/mn10300.md (*am33_movqi, *mn10300_movqi): Merge into |
23867 | (*movqi_internal): ... here. | |
23868 | (*am33_movhi, *mn10300_movhi): Merge into... | |
23869 | (*movhi_internal): ... here. | |
23870 | (*movsi_internal): Use "r" instead of "dax" in constraints. Use "A" | |
23871 | as the source/destination of moves from/to SP. | |
23872 | (movsf): Only allow for AM33-2. | |
1c3ba85b | 23873 | (*movsf_internal): Use "r" instead of "dax"; use "F" instead of |
b1efde2a RH |
23874 | any integer constant constraint. Only allow for AM33-2. Tidy |
23875 | all of the alternative outputs. | |
23876 | (movdi, movdf, *am33_2_movdf, *mn10300_movdf): Remove. | |
23877 | (udivmodsi4): Delete expander and promote *udivmodsi4. Disallow | |
23878 | for MN103. | |
23879 | (udivsi3, umodsi3): New patterns for MN103 only. | |
23880 | ||
b899fd78 JR |
23881 | 2011-01-19 Joern Rennecke <amylaar@spamcop.net> |
23882 | ||
23883 | * doc/tm.texi.in: Spell out that a lack of register class unions | |
23884 | can lead to ICEs. | |
23885 | * doc/tm.texi: Regenerate. | |
23886 | ||
afaaa67d JJ |
23887 | 2011-01-19 Jakub Jelinek <jakub@redhat.com> |
23888 | ||
2e0642cd JJ |
23889 | PR rtl-optimization/47337 |
23890 | * dce.c (check_argument_store): New function. | |
23891 | (find_call_stack_args): Ignore debug insns. Use check_argument_store. | |
23892 | ||
afaaa67d JJ |
23893 | PR tree-optimization/47290 |
23894 | * tree-eh.c (infinite_empty_loop_p): New function. | |
23895 | (cleanup_empty_eh): Use it. | |
23896 | ||
d2cd871f SE |
23897 | 2011-01-18 Steve Ellcey <sje@cup.hp.com> |
23898 | ||
23899 | PR target/46997 | |
23900 | * ia64.c (ia64_expand_unpack): Fix code for TARGET_BIG_ENDIAN. | |
23901 | (a64_expand_widen_sum): Ditto. | |
23902 | * vect.md (mulv2si3): Disable for TARGET_BIG_ENDIAN. | |
23903 | (vec_extract_evenodd_help): Ditto. | |
23904 | (vec_extract_evenv4hi): Ditto. | |
23905 | (vec_extract_oddv4hi): Ditto. | |
23906 | (vec_extract_evenv2si): Ditto. | |
23907 | (vec_extract_oddv2si): Ditto. | |
23908 | (vec_extract_evenv2sf): Ditto. | |
23909 | (vec_extract_oddv2sf): Ditto. | |
23910 | (vec_pack_trunc_v4hi: Ditto. | |
23911 | (vec_pack_trunc_v2si): Ditto. | |
23912 | (vec_interleave_lowv8qi): Fix for TARGET_BIG_ENDIAN. | |
23913 | (vec_interleave_highv8qi): Ditto. | |
23914 | (mix1_r): Ditto. | |
23915 | (vec_extract_oddv8qi): Ditto. | |
23916 | (vec_interleave_lowv4hi): Ditto. | |
23917 | (vec_interleave_highv4hi): Ditto. | |
23918 | (vec_interleave_lowv2si): Ditto. | |
23919 | (vec_interleave_highv2si): Ditto. | |
23920 | ||
41a1208a JDA |
23921 | 2011-01-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
23922 | ||
23923 | * doc/extend.texi: Mention __float128 support on hppa HP-UX. | |
23924 | * config/pa/pa-hpux.h (HPUX_LONG_DOUBLE_LIBRARY): Define to 1. | |
23925 | * config/pa/pa.c (pa_expand_builtin): New. Include "langhooks.h". | |
23926 | (pa_c_mode_for_suffix): New. | |
23927 | (TARGET_EXPAND_BUILTIN): Define. | |
23928 | (TARGET_C_MODE_FOR_SUFFIX): Define. | |
23929 | (pa_builtins): Define. | |
23930 | (pa_init_builtins): Register __float128 type and init new support | |
23931 | builtins. | |
23932 | * config/pa/pa.h (HPUX_LONG_DOUBLE_LIBRARY): Define if not defined. | |
23933 | * config/pa/quadlib.c (_U_Qfcopysign): New. | |
23934 | ||
1ecad98e EB |
23935 | 2011-01-18 Eric Botcazou <ebotcazou@adacore.com> |
23936 | ||
23937 | PR middle-end/46894 | |
23938 | * explow.c (allocate_dynamic_stack_space): Do not assume more than | |
23939 | BITS_PER_UNIT alignment if STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET | |
23940 | are defined. | |
23941 | ||
d4f2460a UW |
23942 | 2011-01-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
23943 | ||
23944 | PR tree-optimization/47179 | |
23945 | * config/spu/spu.c (spu_ref_may_alias_errno): New function. | |
23946 | (TARGET_REF_MAY_ALIAS_ERRNO): Define. | |
23947 | ||
4994da65 RG |
23948 | 2011-01-18 Richard Guenther <rguenther@suse.de> |
23949 | ||
23950 | PR rtl-optimization/47216 | |
23951 | * emit-rtl.c: Include tree-flow.h. | |
23952 | (set_mem_attributes_minus_bitpos): Use tree_could_trap_p instead | |
23953 | of replicating it with different semantics. | |
23954 | * Makefile.in (emit-rtl.o): Adjust. | |
23955 | ||
1eb458d1 RR |
23956 | 2011-01-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
23957 | ||
38be4072 | 23958 | * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually include. |
61052244 | 23959 | (cortex_a9_dp): Handle neon types correctly. |
1eb458d1 | 23960 | |
e7ef91dc JJ |
23961 | 2011-01-18 Jakub Jelinek <jakub@redhat.com> |
23962 | ||
23963 | PR rtl-optimization/47299 | |
23964 | * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use | |
38be4072 | 23965 | subtarget. Use normal multiplication if both operands are constants. |
e7ef91dc JJ |
23966 | * expmed.c (expand_widening_mult): Don't try to optimize constant |
23967 | multiplication if op0 has VOIDmode. Convert op1 constant to mode | |
23968 | before using it. | |
23969 | ||
535b7874 RW |
23970 | 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
23971 | ||
23972 | * doc/lto.texi (LTO): Ensure two spaces after period. Fix | |
23973 | spacing after 'e.g.', typos, comma, hyphenation. | |
23974 | ||
27bf36f3 RH |
23975 | 2011-01-17 Richard Henderson <rth@redhat.com> |
23976 | ||
8a5b5449 RH |
23977 | * config/rx/predicates.md (rx_constshift_operand): Use match_test. |
23978 | (rx_restricted_mem_operand): New. | |
23979 | (rx_shift_operand): Use register_operand. | |
23980 | (rx_source_operand, rx_compare_operand): Likewise. | |
23981 | * config/rx/rx.md (addsi3_flags): New expander. | |
23982 | (adddi3): Rewrite as expander. | |
23983 | (adc_internal, *adc_flags, adddi3_internal): New patterns. | |
23984 | (subsi3_flags): New expander. | |
23985 | (subdi3): Rewrite as expander. | |
23986 | (sbb_internal, *sbb_flags, subdi3_internal): New patterns. | |
23987 | ||
784f69be RH |
23988 | * config/rx/rx.c (RX_BUILTIN_SAT): Remove. |
23989 | (rx_init_builtins): Remove sat builtin. | |
23990 | (rx_expand_builtin): Likewise. | |
23991 | * config/rx/rx.md (ssaddsi3): New. | |
23992 | (*sat): Rename from sat. Represent the CC_REG input. | |
23993 | ||
f033541c RH |
23994 | * config/rx/predicates.md (rshift_operator): New. |
23995 | * config/rx/rx.c (rx_expand_insv): Remove. | |
23996 | * config/rx/rx-protos.h: Update. | |
23997 | * config/rx/rx.md (*bitset): Rename from bitset. Swap the ashift | |
23998 | operand to the canonical position. | |
23999 | (*bitset_in_memory, *bitinvert, *bitinvert_in_memory): Similarly. | |
24000 | (*bitclr, *bitclr_in_memory): Similarly. | |
24001 | (*insv_imm, rx_insv_reg, *insv_cond, *bmcc, *insv_cond_lt): New. | |
24002 | (insv): Retain the zero_extract in the expansion. | |
24003 | ||
34fee389 RH |
24004 | * config/rx/rx.md (bswapsi2): Use = not + for output reload. |
24005 | (bswaphi2, bitinvert, revw): Likewise. | |
24006 | ||
265c835f RH |
24007 | * config/rx/rx.c (gen_rx_store_vector): Use VOIDmode for gen_rtx_SET. |
24008 | (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise. | |
24009 | * config/rx/rx.md (pop_and_return): Use VOIDmode for SET. | |
24010 | (stack_push, stack_pushm, stack_pop, stack_popm): Likewise. | |
24011 | (bitset, bitset_in_memory): Likewise. | |
24012 | (bitinvert, bitinvert_in_memory): Likewise. | |
24013 | (bitclr, bitclr_in_memory): Likewise. | |
24014 | (insv, sync_lock_test_and_setsi, movstr, rx_movstr): Likewise. | |
24015 | (rx_strend, rx_cmpstrn): Likewise. | |
24016 | (rx_setmem): Likewise. Make the source BLKmode to match the dest. | |
24017 | (bitop peep2 patterns): Remove. | |
24018 | ||
b4d83be3 RH |
24019 | * config/rx/rx.c (rx_match_ccmode): New. |
24020 | * config/rx/rx-protos.h: Update. | |
24021 | * config/rx/rx.md (abssi2): Clobber, don't set flags. | |
24022 | (addsi3, adddi3, andsi3, negsi2, one_cmplsi2, iorsi3): Likewise. | |
24023 | (rotlsi3, rotrsi3, ashrsi3, lshrsi3, ashlsi3): Likewise. | |
24024 | (subsi3, subdi3, xorsi3, addsf3, divsf3, mulsf3, subsf3): Likewise. | |
24025 | (fix_truncsfsi2, floatsisf2): Likewise. | |
24026 | (*abssi2_flags, *addsi3_flags, *andsi3_flags, *negsi2_flags): New. | |
24027 | (*one_cmplsi2_flags, *iorsi3_flags, *rotlsi3_flags): New. | |
24028 | (*rotrsi3_flags, *ashrsi3_flags, *lshrsi3_flags, *ashlsi3_flags): New. | |
24029 | (*subsi3_flags, *xorsi3_flags): New. | |
24030 | ||
d0acb939 RH |
24031 | * config/rx/rx.md (cstoresf4, *cstoresf4): New patterns. |
24032 | ||
c06fc3d9 RH |
24033 | * config/rx/rx.c (rx_print_operand): Remove workaround for |
24034 | unsplit comparison operations. | |
24035 | ||
2882702b RH |
24036 | * config/rx/rx.md (movsicc): Split after reload. |
24037 | (*movsicc): Merge *movsieq and *movsine via match_operator. | |
24038 | (*stcc): New pattern. | |
24039 | ||
6f7310f2 RH |
24040 | * config/rx/rx.c (rx_float_compare_mode): Remove. |
24041 | * config/rx/rx.h (rx_float_compare_mode): Remove. | |
24042 | * config/rx/rx.md (cstoresi4): Split after reload. | |
24043 | (*sccc): New pattern. | |
24044 | ||
e963cb1a RH |
24045 | * config/rx/predicates.md (label_ref_operand): New. |
24046 | (rx_z_comparison_operator): New. | |
24047 | (rx_zs_comparison_operator): New. | |
24048 | (rx_fp_comparison_operator): New. | |
24049 | * config/rx/rx.c (rx_print_operand) [B]: Examine comparison modes. | |
24050 | Validate that the flags are set properly for the comparison. | |
24051 | (rx_gen_cond_branch_template): Remove. | |
24052 | (rx_cc_modes_compatible): Remove. | |
24053 | (mode_from_flags): New. | |
24054 | (flags_from_code): Rename from flags_needed_for_conditional. | |
24055 | (rx_cc_modes_compatible): Re-write in terms of flags_from_mode. | |
24056 | (rx_select_cc_mode): Likewise. | |
24057 | (rx_split_fp_compare): New. | |
24058 | (rx_split_cbranch): New. | |
24059 | * config/rx/rx.md (most_cond, zs_cond): Remove iterators. | |
24060 | (*cbranchsi4): Use match_operator and rx_split_cbranch. | |
24061 | (*cbranchsf4): Similarly. | |
24062 | (*cbranchsi4_tst): Rename from *tstbranchsi4_<code>. Use | |
24063 | match_operator and rx_split_cbranch. | |
24064 | (*cbranchsi4_tst_ext): Combine *tstbranchsi4m_eq and | |
24065 | tstbranchsi4m_ne. Use match_operator and rx_split_cbranch. | |
24066 | (*cmpsi): Rename from cmpsi. | |
24067 | (*tstsi): Rename from tstsi. | |
24068 | (*cmpsf): Rename from cmpsf; use CC_Fmode. | |
24069 | (*conditional_branch): Rename from conditional_branch. | |
24070 | (*reveresed_conditional_branch): Remove. | |
24071 | (b<code>): Remove expander. | |
24072 | * config/rx/rx-protos.h: Update. | |
24073 | ||
af530bb4 RH |
24074 | * config/rx/rx.c (rx_compare_redundant): Remove. |
24075 | * config/rx/rx.md (cmpsi): Don't use it. | |
24076 | * config/rx/rx-protos.h: Update. | |
24077 | ||
27bf36f3 RH |
24078 | * config/rx/rx-modes.def (CC_F): New mode. |
24079 | * config/rx/rx.c (rx_select_cc_mode): New. | |
24080 | * config/rx/rx.h (SELECT_CC_MODE): Use it. | |
24081 | * config/rx/rx-protos.h: Update. | |
24082 | ||
d7fde127 RH |
24083 | 2011-01-17 Richard Henderson <rth@redhat.com> |
24084 | ||
24085 | * except.c (dump_eh_tree): Fix stray ; after for statement. | |
24086 | ||
6ff38230 RG |
24087 | 2011-01-17 Richard Guenther <rguenther@suse.de> |
24088 | ||
24089 | PR tree-optimization/47313 | |
24090 | * tree-inline.c (tree_function_versioning): Move DECL_RESULT | |
24091 | handling before copying the body. Properly deal with | |
24092 | by-reference result in SSA form. | |
24093 | ||
114ce554 ILT |
24094 | 2011-01-17 Ian Lance Taylor <iant@google.com> |
24095 | ||
bf5cd92b | 24096 | PR target/47219 |
114ce554 ILT |
24097 | * config/sparc/sparc.c (sparc_sr_alias_set): Don't define. |
24098 | (struct_value_alias_set): Don't define. | |
24099 | (sparc_option_override): Don't set sparc_sr_alias_set and | |
24100 | struct_value_alias_set. | |
24101 | (save_or_restore_regs): Use gen_frame_mem rather than calling | |
24102 | set_mem_alias_set. | |
24103 | (sparc_struct_value_rtx): Likewise. | |
24104 | ||
98c6d93c L |
24105 | 2011-01-17 H.J. Lu <hongjiu.lu@intel.com> |
24106 | ||
24107 | PR target/47318 | |
7a81008b | 24108 | * config/i386/avxintrin.h (_mm_maskload_pd): Change mask to __m128i. |
98c6d93c L |
24109 | (_mm_maskstore_pd): Likewise. |
24110 | (_mm_maskload_ps): Likewise. | |
24111 | (_mm_maskstore_ps): Likewise. | |
24112 | (_mm256_maskload_pd): Change mask to __m256i. | |
24113 | (_mm256_maskstore_pd): Likewise. | |
24114 | (_mm256_maskload_ps): Likewise. | |
24115 | (_mm256_maskstore_ps): Likewise. | |
24116 | ||
24117 | * config/i386/i386-builtin-types.def: Updated. | |
24118 | (ix86_expand_special_args_builtin): Likewise. | |
24119 | ||
24120 | * config/i386/i386.c (bdesc_special_args): Update | |
24121 | __builtin_ia32_maskloadpd, __builtin_ia32_maskloadps, | |
24122 | __builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256, | |
24123 | __builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps, | |
24124 | __builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256. | |
24125 | ||
24126 | * config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>): | |
24127 | Use <avxpermvecmode> on mask register. | |
24128 | (avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise. | |
24129 | ||
b9361af2 | 24130 | 2011-01-17 Olivier Hainque <hainque@adacore.com> |
61052244 AM |
24131 | Michael Haubenwallner <michael.haubenwallner@salomon.at> |
24132 | Eric Botcazou <ebotcazou@adacore.com> | |
b9361af2 OH |
24133 | |
24134 | PR target/46655 | |
24135 | * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only | |
24136 | if <= USHRT_MAX in 32-bit mode. | |
24137 | ||
b7ae9eb5 RW |
24138 | 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
24139 | ||
24140 | * doc/install.texi (Configuration, Specific): Wrap long | |
24141 | lines in examples. Allow line wrapping in long options | |
24142 | and URLs where beneficial for PDF output. | |
24143 | ||
4377fad9 RS |
24144 | 2011-01-16 Richard Sandiford <rdsandiford@googlemail.com> |
24145 | ||
24146 | * config/mips/mips.c (mips_classify_symbol): Don't return | |
24147 | SYMBOL_PC_RELATIVE for nonlocal labels. | |
24148 | ||
55959ffa | 24149 | 2011-01-15 Eric Botcazou <ebotcazou@adacore.com> |
be46831f | 24150 | |
55959ffa EB |
24151 | * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo. |
24152 | ||
24153 | 2011-01-15 Jan Hubicka <jh@suse.cz> | |
24154 | ||
24155 | PR tree-optimization/47276 | |
be46831f JH |
24156 | * ipa.c (function_and_variable_visibility): Do not try to mark alias |
24157 | declarations as needed. | |
24158 | ||
05842ff5 MJ |
24159 | 2011-01-15 Martin Jambor <mjambor@suse.cz> |
24160 | ||
24161 | * common.opt (fdevirtualize): New flag. | |
24162 | * doc/invoke.texi (Option Summary): Document it. | |
24163 | * opts.c (default_options_table): Add devirtualize flag. | |
24164 | * ipa-prop.c (detect_type_change): Return immediately if | |
24165 | devirtualize flag is not set. | |
24166 | (detect_type_change_ssa): Likewise. | |
24167 | (compute_known_type_jump_func): Likewise. | |
24168 | (ipa_analyze_virtual_call_uses): Likewise. | |
24169 | ||
f65cf2b7 MJ |
24170 | 2011-01-14 Martin Jambor <mjambor@suse.cz> |
24171 | ||
24172 | PR tree-optimization/45934 | |
24173 | PR tree-optimization/46302 | |
24174 | * ipa-prop.c (type_change_info): New type. | |
24175 | (stmt_may_be_vtbl_ptr_store): New function. | |
24176 | (check_stmt_for_type_change): Likewise. | |
24177 | (detect_type_change): Likewise. | |
24178 | (detect_type_change_ssa): Likewise. | |
24179 | (compute_complex_assign_jump_func): Check for dynamic type change. | |
24180 | (compute_complex_ancestor_jump_func): Likewise. | |
24181 | (compute_known_type_jump_func): Likewise. | |
24182 | (compute_scalar_jump_functions): Likewise. | |
24183 | (ipa_analyze_virtual_call_uses): Likewise. | |
24184 | (ipa_analyze_node): Push and pop cfun, set current_function_decl. | |
24185 | ||
eb5bb0fd JM |
24186 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
24187 | ||
24188 | * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5. | |
24189 | * config/i386/i386.opt (msse5): New Alias. | |
24190 | ||
f2060fbe JM |
24191 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
24192 | ||
24193 | * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}. | |
24194 | * config/sparc/linux64.h (CC1_SPEC): Likewise. | |
24195 | * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
24196 | * config/sparc/sparc.h (CC1_SPEC): Likewise. | |
24197 | ||
3a7b4385 JM |
24198 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
24199 | ||
24200 | * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of | |
24201 | -mcpu options. | |
24202 | * config/sparc/linux64.h (CC1_SPEC): Likewise. | |
24203 | * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
24204 | * config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise. | |
24205 | * config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC): | |
24206 | Likewise. | |
24207 | * config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8. | |
24208 | ||
a7b778f8 JM |
24209 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
24210 | ||
38be4072 | 24211 | * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or -fvec-eabi. |
a7b778f8 | 24212 | |
a7edae0a MS |
24213 | 2011-01-14 Mike Stump <mikestump@comcast.net> |
24214 | ||
24215 | * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set. | |
24216 | * config/fr30/fr30.md: Likweise | |
24217 | (movsi_push): Likewise. | |
24218 | (movsi_pop): Likewise. | |
24219 | (enter_func): Likewise. | |
24220 | * config/moxie/moxie.md (movsi_push): Likewise. | |
24221 | (movsi_pop): Likewise. | |
24222 | ||
cbabf03f JM |
24223 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
24224 | ||
24225 | * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum} | |
24226 | %{no_archive} %{exact_version}. | |
24227 | * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}. | |
24228 | * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum} | |
24229 | %{no_archive} %{exact_version}. | |
24230 | * config/mips/openbsd.h (LINK_SPEC): Likewise. | |
24231 | * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}. | |
24232 | * config/mips/vxworks.h: Likewise. | |
24233 | ||
438da41a JM |
24234 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
24235 | ||
38be4072 | 24236 | * config/microblaze/microblaze.h (ASM_SPEC): Remove %{microblaze1}. |
438da41a | 24237 | |
da290a42 JM |
24238 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
24239 | ||
24240 | * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC, | |
24241 | ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove. | |
24242 | ||
8989d00e JM |
24243 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
24244 | ||
24245 | * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not | |
24246 | -nodefaultlib. | |
24247 | ||
a3010a69 JM |
24248 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
24249 | ||
24250 | * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check | |
24251 | for mcpu not cpu. | |
24252 | * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC, | |
24253 | CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu | |
24254 | not cpu. | |
24255 | (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options. | |
24256 | Don't handle -shlib. | |
24257 | ||
e7f2f537 JM |
24258 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
24259 | ||
24260 | * config/avr/avr.h (CPP_SPEC): Don't handle -posix. | |
24261 | (CC1_SPEC): Don't handle -profile. | |
24262 | ||
34830bfd JM |
24263 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
24264 | ||
24265 | * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec. | |
24266 | * config/mips/mips.h (CC1_SPEC): Likewise. | |
24267 | ||
b2d36e74 JM |
24268 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
24269 | ||
24270 | * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }. | |
24271 | * config/mips/mips.h (CC1_SPEC): Likewise. | |
24272 | ||
dabadc52 JM |
24273 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
24274 | ||
24275 | * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional. | |
24276 | * config/m32r/linux.h (LINK_SPEC): Likewise. | |
24277 | * config/mips/linux.h (LINK_SPEC): Likewise. | |
24278 | * config/mips/linux64.h (LINK_SPEC): Likewise. | |
24279 | * config/sparc/linux.h (LINK_SPEC): Likewise. | |
24280 | * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC, | |
24281 | LINK_SPEC): Likewise. | |
24282 | * config/xtensa/linux.h (LINK_SPEC): Likewise. | |
24283 | ||
43ee6785 JM |
24284 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
24285 | ||
24286 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove | |
24287 | %{version:-v}. | |
24288 | * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise. | |
24289 | ||
45e79dfd JM |
24290 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
24291 | ||
24292 | * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}. | |
24293 | * config/sparc/sp64-elf.h (ASM_SPEC): Likewise. | |
24294 | ||
37e9e71d JM |
24295 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
24296 | ||
24297 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}. | |
24298 | ||
bb127cd8 RO |
24299 | 2011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
24300 | ||
24301 | * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always | |
24302 | supports -Bstatic/-Bdynamic. | |
24303 | * configure: Regenerate. | |
24304 | ||
89a012ea | 24305 | 2011-01-14 Jan Hubicka <jh@suse.cz> |
509d65dd | 24306 | Jack Howarth <howarth@bromo.med.uc.edu> |
89a012ea JH |
24307 | |
24308 | PR target/46037 | |
24309 | * config/darwin.c (darwin_override_options): Honor flag_gtoggle | |
24310 | when checking debug_info_level. Test write_symbols instead of | |
24311 | debug_hooks->var_location when setting flag_var_tracking_uninit. | |
24312 | ||
7352c013 RG |
24313 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
24314 | ||
24315 | PR tree-optimization/47179 | |
24316 | * target.def (ref_may_alias_errno): New target hook. | |
24317 | * targhooks.h (default_ref_may_alias_errno): Declare. | |
24318 | * targhooks.c: Include tree-ssa-alias.h and tree-flow.h. | |
24319 | (default_ref_may_alias_errno): New function. | |
24320 | * target.h (struct ao_ref_s): Declare. | |
24321 | * tree-ssa-alias.c: Include target.h. | |
24322 | (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook. | |
24323 | * Makefile.in (tree-ssa-alias.o): Adjust dependencies. | |
24324 | (targhooks.o): Likewise. | |
24325 | * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document. | |
24326 | * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation. | |
24327 | ||
9a6c9288 RG |
24328 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
24329 | ||
24330 | * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER. | |
24331 | ||
0fdb0d27 RG |
24332 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
24333 | ||
24334 | PR tree-optimization/47280 | |
24335 | * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and | |
24336 | return CFG changes. | |
24337 | (tree_ssa_forward_propagate_single_use_vars): Deal with | |
24338 | CFG changes from associate_plusminus. | |
24339 | ||
8f66db3b RG |
24340 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
24341 | ||
24342 | PR middle-end/47281 | |
24343 | Revert | |
24344 | 2011-01-11 Richard Guenther <rguenther@suse.de> | |
24345 | ||
280d9630 EB |
24346 | PR tree-optimization/46076 |
24347 | * tree-ssa.c (useless_type_conversion_p): Conversions from | |
24348 | unprototyped to empty argument list function types are useless. | |
8f66db3b | 24349 | |
6c0c92e6 RG |
24350 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
24351 | ||
24352 | PR tree-optimization/47286 | |
280d9630 | 24353 | * tree-ssa-structalias.c (new_var_info): Register variables are global. |
6c0c92e6 | 24354 | |
db09f943 MJ |
24355 | 2011-01-14 Martin Jambor <mjambor@suse.cz> |
24356 | ||
24357 | PR middle-end/46823 | |
24358 | * tree-inline.c (expand_call_inline): Get fndecl from call graph edge. | |
24359 | ||
dde8a3a4 AS |
24360 | 2011-01-13 Anatoly Sokolov <aesok@post.ru> |
24361 | ||
24362 | * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE, | |
24363 | LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. | |
24364 | * config/xtensa/xtensa.c (xtensa_libcall_value, | |
24365 | xtensa_function_value_regno_p): New functions. | |
24366 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
24367 | ||
a2b63a20 KT |
24368 | 2011-01-13 Kai Tietz <kai.tietz@onevision.com> |
24369 | ||
24370 | PR c++/47213 | |
24371 | * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY): | |
24372 | PE specific hook. | |
24373 | * config/i386/i386-protos.h (i386_pe_assemble_visibility): | |
24374 | New function prototype. | |
24375 | * config/i386/winnt.c (i386_pe_assemble_visibility): | |
24376 | Warn only if attribute was specified by user. | |
24377 | ||
b41f0b34 MM |
24378 | 2011-01-13 Michael Meissner <meissner@linux.vnet.ibm.com> |
24379 | ||
24380 | PR target/47251 | |
24381 | * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware | |
24382 | floating point. | |
24383 | (floatunsdidf2_fcfidu): Ditto. | |
24384 | ||
3f3c098d AK |
24385 | 2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
24386 | ||
24387 | * config/s390/s390.c (print_operand_address): Replace 'error' with | |
24388 | 'output_operand_lossage'. | |
24389 | (print_operand): Likewise. | |
24390 | ||
29fa95ed JL |
24391 | 2011-01-13 Jeff Law <law@redhat.com> |
24392 | ||
280d9630 | 24393 | PR rtl-optimization/39077 |
29fa95ed JL |
24394 | * doc/invoke.texi (max-gcse-insertion-ratio): Document. |
24395 | * params.h (MAX_GCSE_INSERTION_RATIO): Define. | |
24396 | * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define. | |
24397 | * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps. | |
24398 | * gcse.c (prune_insertions_deletions): New function. | |
24399 | (compute_pre_data): Use it. | |
24400 | ||
71d12276 DS |
24401 | 2011-01-13 Dodji Seketeli <dodji@redhat.com> |
24402 | ||
24403 | PR debug/PR46973 | |
24404 | * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New | |
24405 | static function. | |
61052244 | 24406 | (prune_unused_types_mark): Use it. |
71d12276 | 24407 | |
9b0f04e7 AB |
24408 | 2011-01-13 Andrey Belevantsev <abel@ispras.ru> |
24409 | ||
24410 | PR rtl-optimization/45352 | |
1c3ba85b | 24411 | * sel-sched.c: Update copyright years. |
9b0f04e7 | 24412 | (reset_sched_cycles_in_current_ebb): Also recheck the DFA state |
1c3ba85b | 24413 | in the advancing loop when we have issued issue_rate insns. |
9b0f04e7 | 24414 | |
d6a3e264 RH |
24415 | 2011-01-12 Richard Henderson <rth@redhat.com> |
24416 | ||
a49b692a RH |
24417 | * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New. |
24418 | (TARGET_MD_ASM_CLOBBERS): New. | |
24419 | ||
126b1483 RH |
24420 | * config/mn10300/mn10300.c (mn10300_delegitimize_address): New. |
24421 | (TARGET_DELEGITIMIZE_ADDRESS): New. | |
24422 | ||
f3d9d2e0 RH |
24423 | * config/mn10300/mn10300.md (UNSPEC_BSCH): New. |
24424 | (clzsi2, *bsch): New patterns. | |
24425 | ||
d84760c9 RH |
24426 | * config/mn10300/mn10300.md (INT): New mode iterator. |
24427 | (*mov<INT>_clr): New pattern, and peep2 to generate it. | |
24428 | ||
ec815d65 RH |
24429 | * config/mn10300/mn10300.c (mn10300_option_override): Force enable |
24430 | flag_split_wide_types. | |
24431 | ||
d6a3e264 RH |
24432 | * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove. |
24433 | (mn10300_trampoline_init): Rewrite without a template, an immediate | |
24434 | load and a direct branch. | |
24435 | * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16. | |
24436 | ||
0f8ab434 AS |
24437 | 2011-01-12 Anatoly Sokolov <aesok@post.ru> |
24438 | ||
24439 | * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
24440 | * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove. | |
24441 | * config/s390/s390.c (s390_output_addr_const_extra): Make static. | |
24442 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
24443 | ||
d8a24b65 KT |
24444 | 2011-01-12 Kai Tietz <kai.tietz@onevision.com> |
24445 | ||
24446 | PR debug/47209 | |
24447 | * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT | |
24448 | of type. | |
24449 | ||
56e22cab JH |
24450 | 2011-01-12 Jan Hubicka <jh@suse.cz> |
24451 | ||
24452 | PR driver/47244 | |
24453 | * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used. | |
24454 | (PLUGIN_COND_CLOSE): New macro. | |
24455 | (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE. | |
24456 | ||
4b18b3c2 RG |
24457 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
24458 | ||
24459 | PR lto/47259 | |
24460 | * lto-streamer-out.c (output_gimple_stmt): Do not wrap | |
24461 | register variables in a MEM_REF. | |
24462 | ||
8e38461c JM |
24463 | 2011-01-12 Joseph Myers <joseph@codesourcery.com> |
24464 | ||
24465 | * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*, | |
24466 | crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*, | |
24467 | hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* | | |
24468 | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | | |
24469 | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu, | |
24470 | x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu, | |
24471 | ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*, | |
24472 | m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*, | |
24473 | mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*, | |
24474 | s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*, | |
24475 | sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*, | |
24476 | am33_2.0-*-linux*): Use gnu-user.h before linux.h. | |
24477 | * config/gnu-user.h: New. Copied from linux.h. | |
24478 | (LINUX_TARGET_STARTFILE_SPEC): Rename to | |
24479 | GNU_USER_TARGET_STARTFILE_SPEC. | |
24480 | (LINUX_TARGET_ENDFILE_SPEC): Rename to | |
24481 | GNU_USER_TARGET_ENDFILE_SPEC. | |
24482 | (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC. | |
24483 | (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC. | |
24484 | (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC, | |
24485 | LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1, | |
24486 | CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER, | |
24487 | UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64, | |
24488 | BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32, | |
24489 | BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER, | |
24490 | LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64, | |
24491 | TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove. | |
24492 | * config/arm/linux-eabi.h (CC1_SPEC): Use | |
24493 | GNU_USER_TARGET_CC1_SPEC. | |
24494 | (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC. | |
24495 | (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC. | |
24496 | (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC | |
24497 | * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF, | |
24498 | LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC, | |
24499 | LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC, | |
24500 | CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC, | |
24501 | LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove. | |
24502 | ||
a570fc16 RG |
24503 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
24504 | ||
24505 | PR other/46946 | |
24506 | * doc/invoke.texi (ffast-math): Document it is turned on | |
24507 | with -Ofast. | |
24508 | ||
b0223c3e JH |
24509 | 2011-01-12 Jan Hubicka <jh@suse.cz> |
24510 | ||
24511 | PR tree-optimization/47233 | |
ca1e00b3 EB |
24512 | * opts.c (common_handle_option): Disable ipa-reference with profile |
24513 | feedback. | |
b0223c3e | 24514 | |
1c3ba85b | 24515 | 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> |
d853ee42 NP |
24516 | |
24517 | * c-parser.c (c_parser_objc_at_property_declaration): Improved | |
ca1e00b3 EB |
24518 | error message. |
24519 | ||
d853ee42 NP |
24520 | 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> |
24521 | ||
24522 | * c-parser.c (c_lex_one_token): Updated and reindented some | |
24523 | comments. No changes in code. | |
24524 | ||
4053a5a0 ILT |
24525 | 2011-01-11 Ian Lance Taylor <iant@google.com> |
24526 | ||
24527 | * godump.c (go_output_var): Don't output the variable if there is | |
24528 | already a type with the same name. | |
24529 | ||
fa3e04d2 ILT |
24530 | 2011-01-11 Ian Lance Taylor <iant@google.com> |
24531 | ||
24532 | * godump.c (go_format_type): Don't generate float80. | |
24533 | ||
885fe07c RH |
24534 | 2011-01-11 Richard Henderson <rth@redhat.com> |
24535 | ||
72d6e3c5 RH |
24536 | * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward |
24537 | declaration. Rewrite for both speed and size. | |
24538 | (mn10300_address_cost_1): Remove. | |
24539 | (mn10300_register_move_cost): New. | |
24540 | (mn10300_memory_move_cost): New. | |
24541 | (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle | |
24542 | ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare, | |
24543 | extensions, shifts, BSWAP, CLZ. | |
24544 | (mn10300_wide_const_load_uses_clr): Remove. | |
24545 | (TARGET_REGISTER_MOVE_COST): New. | |
24546 | (TARGET_MEMORY_MOVE_COST): New. | |
24547 | * config/mn10300/mn10300-protos.h: Update. | |
24548 | * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove. | |
24549 | ||
df37c023 RH |
24550 | * config/mn10300/constraints.md ("R", "T"): Remove constraints. |
24551 | * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove. | |
24552 | * config/mn10300/mn10300-protos.h: Update. | |
24553 | * config/mn10300/mn10300.md (movsi_internal): Don't use "R". | |
24554 | (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove. | |
24555 | (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove. | |
24556 | (*test_int_bitfield, *test_byte_bitfield): Remove. | |
24557 | (*bit_test, *subreg_bit_test): Remove. | |
62d3f9b2 | 24558 | * config/mn10300/predicates.md (const_8bit_operand): Remove. |
df37c023 | 24559 | |
85a337b5 RH |
24560 | * config/mn10300/constraints.md ("c"): Rename from "A". |
24561 | ("A", "D"): New constraint letters. | |
24562 | * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint. | |
24563 | (fmssf4, fnmasf4, fnmssf4): Likewise. | |
24564 | ||
a5c727e3 RH |
24565 | * config/mn10300/mn10300.md (isa): New attribute. |
24566 | (enabled): New attribute. | |
24567 | ||
0d9e23f4 RH |
24568 | * config/mn10300/mn10300.md (absdf2, negdf2): Remove. |
24569 | (abssf2, negsf2): Define only for hardware fp. | |
24570 | (sqrtsf2): Reformat. | |
24571 | (addsf3, subsf3, mulsf3): Merge expander and insn. | |
24572 | ||
c157b3f0 RH |
24573 | * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New. |
24574 | (DEBUGGER_AUTO_OFFSET): Remove. | |
24575 | (DEBUGGER_ARG_OFFSET): Remove. | |
24576 | ||
cc909bba RH |
24577 | * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static. |
24578 | Emit register stores with the same offsets as the hardware. | |
24579 | (mn10300_store_multiple_operation): Don't check that the register | |
24580 | save offsets are monotonic. | |
24581 | * config/mn10300/mn10300-protos.h: Update. | |
24582 | ||
e3b5c2f3 RH |
24583 | * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete. |
24584 | ||
885fe07c RH |
24585 | * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define |
24586 | in terms of the value on the stack, not the MDR register. | |
24587 | ||
6e701822 JH |
24588 | 2011-01-11 Jan Hubicka <jh@suse.cz> |
24589 | ||
24590 | PR lto/45721 | |
24591 | PR lto/45375 | |
24592 | * tree.h (symbol_alias_set_t): Move typedef here from varasm.c | |
24593 | (symbol_alias_set_destroy, symbol_alias_set_contains, | |
24594 | propagate_aliases_backward): Declare. | |
24595 | * lto-streamer-out.c (struct sets): New sturcture. | |
24596 | (trivally_defined_alias): New function. | |
24597 | (output_alias_pair_p): Rewrite. | |
24598 | (output_unreferenced_globals): Fix output of alias pairs. | |
24599 | (produce_symtab): Likewise. | |
24600 | * ipa.c (function_and_variable_visibility): Set weak alias destination | |
24601 | as needed in lto. | |
24602 | * varasm.c (symbol_alias_set_t): Remove. | |
24603 | (symbol_alias_set_destroy): Export. | |
24604 | (propagate_aliases_forward, propagate_aliases_backward): New functions | |
24605 | based on ... | |
24606 | (compute_visible_aliases): ... this one; remove. | |
24607 | (trivially_visible_alias): New | |
24608 | (trivially_defined_alias): New. | |
24609 | (remove_unreachable_alias_pairs): Rewrite. | |
24610 | (finish_aliases_1): Reorganize code checking if alias is defined. | |
24611 | * passes.c (rest_of_decl_compilation): Do not call assemble_alias when | |
24612 | in LTO mode. | |
24613 | ||
1b248907 RG |
24614 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
24615 | ||
24616 | PR tree-optimization/46076 | |
24617 | * tree-ssa.c (useless_type_conversion_p): Conversions from | |
24618 | unprototyped to empty argument list function types are useless. | |
24619 | ||
b1923f0a RG |
24620 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
24621 | ||
24622 | PR middle-end/45235 | |
24623 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark | |
24624 | volatile MEMs as MEM_READONLY_P. | |
24625 | ||
e98965af RG |
24626 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
24627 | ||
24628 | PR tree-optimization/47239 | |
24629 | * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs. | |
24630 | ||
9f9ca914 JL |
24631 | 2011-01-11 Jeff Law <law@redhat.com> |
24632 | ||
1ee3ea05 | 24633 | PR tree-optimization/47086 |
9f9ca914 JL |
24634 | * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record |
24635 | IVs from statements that might throw. | |
24636 | ||
345fdcb7 JH |
24637 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
24638 | ||
24639 | PR lto/45375 | |
24640 | * lto-cgraph.c (input_profile_summary): Remove overactive sanity check. | |
24641 | ||
c459c97b JH |
24642 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
24643 | ||
24644 | PR lto/45375 | |
24645 | * profile.c (read_profile_edge_counts): Ignore profile inconistency | |
24646 | when correcting profile. | |
24647 | ||
06c9eb51 JH |
24648 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
24649 | ||
24650 | PR lto/46083 | |
24651 | * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store | |
24652 | DECL_FINI_PRIORITY. | |
24653 | * lto-streamer-in.c (unpack_ts_function_decl_value_fields): | |
24654 | Restore DECL_FINI_PRIORITY. | |
24655 | ||
ae9fd815 RW |
24656 | 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
24657 | ||
24658 | * doc/gimple.texi: Fix quoting of multi-word return values in | |
24659 | @deftypefn statements. Ensure presence of return value. Wrap | |
24660 | overlong @deftypefn lines. | |
24661 | (is_gimple_operand, is_gimple_min_invariant_address): Remove | |
24662 | descriptions of removed functions. | |
24663 | * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting | |
24664 | of multi-word return value in @deftypefn statement. | |
24665 | ||
0ecb4a7c RW |
24666 | 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
24667 | ||
24668 | * doc/gimple.texi (Temporaries, Operands, Compound Lvalues) | |
24669 | (Conditional Expressions, Logical Operators) | |
24670 | (Statement and operand traversals): Do not indent smallexample | |
24671 | code. Fix duplicate function argument in example. | |
24672 | ||
2e5e346d JL |
24673 | 2011-01-10 Jeff Law <law@redhat.com> |
24674 | ||
1ee3ea05 | 24675 | PR tree-optimization/47141 |
2e5e346d JL |
24676 | * ipa-split.c (split_function): Handle case where we are |
24677 | returning a value and the return block has a virtual operand phi. | |
24678 | ||
cf9712cc JH |
24679 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
24680 | ||
1c3ba85b | 24681 | PR tree-optimization/47234 |
cf9712cc JH |
24682 | * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO. |
24683 | (pass_feedback_split_functions): Declare. | |
24684 | * passes.c (init_optimization_passes): Add ipa-split as subpass of | |
24685 | tree-profile. | |
24686 | * ipa-split.c (gate_split_functions): Update comments; disable | |
24687 | split-functions for profile_arc_flag and branch_probabilities. | |
24688 | (gate_feedback_split_functions): New function. | |
24689 | (execute_feedback_split_functions): New function. | |
24690 | (pass_feedback_split_functions): New global var. | |
24691 | ||
94cd932c L |
24692 | 2011-01-10 H.J. Lu <hongjiu.lu@intel.com> |
24693 | ||
24694 | PR lto/46760 | |
24695 | * tree-inline.c (tree_can_inline_p): Check e->call_stmt before | |
24696 | calling gimple_call_set_cannot_inline. | |
24697 | ||
fbbfcaf1 IS |
24698 | 2011-01-10 Iain Sandoe <iains@gcc.gnu.org> |
24699 | ||
24700 | * config/darwin-sections.def: Remove unused section. | |
24701 | ||
d06865bf DK |
24702 | 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com> |
24703 | ||
24704 | PR c++/47218 | |
24705 | * cgraphunit.c (assemble_thunk): Call resolve_unique_section. | |
24706 | ||
96bbfbac NP |
24707 | 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com> |
24708 | ||
24709 | PR objc/47232 | |
24710 | * c-parser.c (c_parser_declaration_or_fndef): Improved | |
24711 | error message. | |
24712 | ||
1ba6516f KT |
24713 | 2011-01-09 Kai Tietz <kai.tietz@onevision.com> |
24714 | ||
24715 | * config/i386/winnt.c (i386_pe_start_function): Make sure | |
24716 | to switch back to function's section. | |
24717 | ||
0c5d770e IS |
24718 | 2011-01-09 Iain Sandoe <iains@gcc.gnu.org> |
24719 | ||
24720 | PR gcc/46902 | |
24721 | PR testsuite/46912 | |
24722 | * plugin.c: Move include of dlfcn.h from here... | |
24723 | * system.h: ... to here. | |
24724 | ||
24725 | 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | |
4ee1aa2a RW |
24726 | |
24727 | * doc/cpp.texi (C++ Named Operators): Fix markup for header | |
24728 | file name. | |
24729 | * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid | |
24730 | two extra empty pages in PDF output. | |
24731 | ||
046608a3 NP |
24732 | 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com> |
24733 | ||
24734 | PR objc/47078 | |
24735 | * c-parser.c (c_parser_objc_type_name): If the type is unknown, | |
24736 | for error recovery purposes behave as if it was not specified so | |
24737 | that the default type is usd. | |
24738 | ||
8cb114b9 JH |
24739 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
24740 | ||
24741 | PR tree-optmization/46469 | |
24742 | * ipa.c (function_and_variable_visibility): Clear needed flags on | |
24743 | nodes with external decls; handle weakrefs merging correctly. | |
24744 | ||
b294a75e JM |
24745 | 2011-01-07 Joseph Myers <joseph@codesourcery.com> |
24746 | ||
24747 | * opts.c (finish_options): Set opts->x_flag_opts_finished to true, | |
24748 | not false. | |
24749 | ||
96bdf9b4 JH |
24750 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
24751 | ||
f60c2554 | 24752 | * doc/invoke.texi (-flto, -fuse-linker-plugin): Update defaults |
96bdf9b4 JH |
24753 | and no longer claim that gold is required for linker plugin. |
24754 | * configure: Regenerate. | |
24755 | * gcc.c (PLUGIN_COND): New macro. | |
24756 | (LINK_COMMAND_SPEC): Use it. | |
24757 | (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set. | |
24758 | * config.in (HAVE_LTO_PLUGIN): New. | |
24759 | * configure.ac (--with-lto-plugin): New parameter; autodetect | |
24760 | HAVE_LTO_PLUGIN. | |
24761 | ||
17afc0fe JH |
24762 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
24763 | ||
24764 | PR tree-optimization/46367 | |
24765 | * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only | |
24766 | when we can update original. | |
24767 | (cgraph_mark_inline_edge): Sanity check. | |
24768 | * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check. | |
24769 | ||
d4c48c0f UW |
24770 | 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
24771 | ||
24772 | * config/spu/spu.h (ASM_COMMENT_START): Define. | |
24773 | ||
96f5b137 L |
24774 | 2011-01-07 H.J. Lu <hongjiu.lu@intel.com> |
24775 | ||
24776 | PR driver/42445 | |
24777 | * gcc.c (%>S): New. | |
24778 | (SWITCH_KEEP_FOR_GCC): Likewise. | |
24779 | (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC. | |
24780 | (do_spec_1): Handle "%>". | |
24781 | ||
24782 | * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>". | |
24783 | ||
c6a8f6de JJ |
24784 | 2011-01-07 Jakub Jelinek <jakub@redhat.com> |
24785 | ||
c21bbd7a JJ |
24786 | PR target/47201 |
24787 | * config/i386/i386.c (ix86_delegitimize_address): If | |
24788 | simplify_gen_subreg fails, return orig_x. | |
24789 | ||
c6a8f6de JJ |
24790 | PR bootstrap/47187 |
24791 | * value-prof.c (gimple_stringop_fixed_value): Handle | |
24792 | lhs of the call properly. | |
24793 | ||
fe95fbf9 JH |
24794 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
24795 | ||
24796 | PR lto/45375 | |
24797 | * lto-opt.c (lto_reissue_options): Set flag_shlib. | |
24798 | ||
14d11d40 IS |
24799 | 2011-01-07 Iain Sandoe <iains@gcc.gnu.org> |
24800 | ||
72e961c8 EB |
24801 | * target.def (function_switched_text_sections): New hook. |
24802 | * doc/tm.texi: Regenerated. | |
24803 | * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New. | |
14d11d40 | 24804 | * final.c (default_function_switched_text_sections): New. |
72e961c8 EB |
24805 | (final_scan_insn): Call function_switched_text_sections when a |
24806 | mid-function section change occurs. | |
14d11d40 | 24807 | * output.h (default_function_switched_text_sections): Declare. |
72e961c8 EB |
24808 | * config/darwin-protos.h (darwin_function_switched_text_sections): |
24809 | Likewise. | |
14d11d40 | 24810 | * config/darwin.c (darwin_function_switched_text_sections): New. |
72e961c8 | 24811 | * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New. |
14d11d40 | 24812 | |
0b764288 IS |
24813 | 2011-01-07 Iain Sandoe <iains@gcc.gnu.org> |
24814 | ||
24815 | * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for | |
24816 | DWARF >= 3. Add pubnames for the primary section and a reduced DIE for | |
24817 | the secondary code fragment when outputting for DWARF == 2. | |
24818 | ||
2ac6bb04 AS |
24819 | 2011-01-07 Anatoly Sokolov <aesok@post.ru> |
24820 | ||
24821 | * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
24822 | * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra): | |
24823 | Remove. | |
24824 | * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static. | |
24825 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
24826 | ||
9f82de11 EB |
24827 | 2011-01-06 Eric Botcazou <ebotcazou@adacore.com> |
24828 | ||
24829 | PR debug/46704 | |
280d9630 EB |
24830 | * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only |
24831 | when it is not empty. | |
9f82de11 EB |
24832 | |
24833 | 2011-01-06 Changpeng Fang <changpeng.fang@amd.com> | |
14b52538 | 24834 | |
1ed72abf | 24835 | Bobcat Enablement |
14b52538 | 24836 | * config.gcc (i[34567]86-*-linux* | ...): Add btver1. |
1ed72abf | 24837 | (case ${target}): Add btver1. |
14b52538 | 24838 | * config/i386/driver-i386.c (host_detect_local_cpu): Let |
1ed72abf | 24839 | -march=native recognize btver1 processors. |
14b52538 | 24840 | * config/i386/i386-c.c (ix86_target_macros_internal): Add |
1ed72abf | 24841 | btver1 def_and_undef |
14b52538 | 24842 | * config/i386/i386.c (struct processor_costs btver1_cost): New |
1ed72abf CF |
24843 | btver1 cost table. |
24844 | (m_BTVER1): New definition. | |
24845 | (m_AMD_MULTIPLE): Includes m_BTVER1. | |
24846 | (initial_ix86_tune_features): Add btver1 tune. | |
24847 | (processor_target_table): Add btver1 entry. | |
24848 | (static const char *const cpu_names): Add btver1 entry. | |
24849 | (software_prefetching_beneficial_p): Add btver1. | |
24850 | (ix86_option_override_internal): Add btver1 instruction sets. | |
24851 | (ix86_issue_rate): Add btver1. | |
24852 | (ix86_adjust_cost): Add btver1. | |
14b52538 | 24853 | * config/i386/i386.h (TARGET_BTVER1): New definition. |
1ed72abf CF |
24854 | (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1. |
24855 | (enum processor_type): Add PROCESSOR_BTVER1. | |
14b52538 CF |
24856 | * config/i386/i386.md (define_attr "cpu"): Add btver1. |
24857 | ||
e1a973d8 RO |
24858 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
24859 | ||
24860 | PR target/43309 | |
24861 | * config/i386/i386.c (legitimize_tls_address) | |
24862 | <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS. | |
24863 | * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare. | |
24864 | (tls_initial_exec_64_sun): New pattern. | |
24865 | ||
c73f67c5 GP |
24866 | 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com> |
24867 | ||
24868 | * doc/invoke.texi (Overall Options): Improve wording and markup | |
24869 | of the description of -wrapper. | |
24870 | ||
bc4c6f9c JM |
24871 | 2011-01-06 Joseph Myers <joseph@codesourcery.com> |
24872 | ||
24873 | * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads, | |
24874 | rdynamic, threads): New Driver options. | |
24875 | ||
adb75db0 RO |
24876 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
24877 | ||
24878 | PR target/38118 | |
24879 | * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss | |
24880 | if coming from .tdata. | |
24881 | * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. | |
24882 | ||
402c1cb4 JH |
24883 | 2011-01-06 Jan Hubicka <jh@suse.cz> |
24884 | ||
24885 | PR lto/47188 | |
24886 | * collect2.c (main): Do not enable LTOmode when plugin is active. | |
24887 | ||
a4da6485 RO |
24888 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
24889 | ||
24890 | PR other/45915 | |
24891 | * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd | |
24892 | --version output if supported. | |
24893 | * configure: Regenerate. | |
24894 | ||
028dbdf4 JM |
24895 | 2011-01-06 Joseph Myers <joseph@codesourcery.com> |
24896 | ||
24897 | * config/linux-android.opt (tno-android-cc, tno-android-ld): New | |
24898 | Driver options. | |
24899 | ||
dfe776dd JJ |
24900 | 2011-01-06 Jakub Jelinek <jakub@redhat.com> |
24901 | ||
24902 | PR c/47150 | |
24903 | * c-convert.c (convert): When converting a complex expression | |
24904 | other than COMPLEX_EXPR to a different complex type, ensure | |
24905 | c_save_expr is called instead of save_expr, unless in_late_binary_op. | |
24906 | * c-typeck.c (convert_for_assignment): Set in_late_binary_op also | |
24907 | when converting COMPLEX_TYPE. | |
24908 | ||
210dedfe IR |
24909 | 2011-01-06 Ira Rosen <irar@il.ibm.com> |
24910 | ||
24911 | PR tree-optimization/47139 | |
24912 | * tree-vect-loop.c (vect_is_simple_reduction_1): Check that | |
24913 | only the last reduction value is used outside the loop. Update | |
24914 | documentation. | |
24915 | ||
cd33a412 JM |
24916 | 2011-01-05 Joseph Myers <joseph@codesourcery.com> |
24917 | ||
24918 | * config/rtems.opt: New. | |
24919 | * config.gcc (*-*-rtems*): Use rtems.opt. | |
24920 | ||
819edd94 CF |
24921 | 2011-01-05 Changpeng Fang <changpeng.fang@amd.com> |
24922 | ||
24923 | * config/i386/i386.c (ix86_option_override_internal): Bulldozer | |
24924 | processors do not support 3DNow instructions. | |
24925 | ||
dc242c4a UW |
24926 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
24927 | ||
24928 | * config/spu/spu.c (spu_option_override): Set parameter | |
24929 | PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1. | |
24930 | ||
be286227 JH |
24931 | 2011-01-05 Jan Hubicka <jh@suse.cz> |
24932 | ||
24933 | * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified | |
24934 | at the command line. | |
24935 | ||
644e637f MJ |
24936 | 2011-01-05 Martin Jambor <mjambor@suse.cz> |
24937 | ||
24938 | PR lto/47162 | |
24939 | * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk | |
24940 | deltas on streamed outgoing edges. | |
24941 | (output_node_opt_summary): Output info for outgoing edges only when | |
24942 | the node is in new parameter set. | |
24943 | (output_cgraph_opt_summary): New parameter set, passed to the two | |
24944 | aforementioned functions. Update its forward declaration and its | |
24945 | callee too. | |
24946 | ||
7bd11157 TT |
24947 | 2011-01-05 Tom Tromey <tromey@redhat.com> |
24948 | ||
24949 | * c-parser.c (c_parser_omp_atomic): Pass location of assignment | |
24950 | operator to c_finish_omp_atomic. | |
24951 | * c-typeck.c (lvalue_or_else): Add 'loc' argument. | |
24952 | (build_unary_op): Update. | |
24953 | (build_modify_expr): Update. | |
24954 | (build_asm_expr): Update. | |
24955 | ||
f626b979 UW |
24956 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
24957 | ||
24958 | * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for | |
24959 | newly inserted insns. | |
24960 | (pad_bb): Likewise. | |
24961 | (spu_emit_branch_hint): Likewise. | |
24962 | (insert_hbrp_for_ilb_runout): Likewise. | |
24963 | (spu_machine_dependent_reorg): Call df_finish_pass after | |
24964 | schedule_insns returns. | |
24965 | ||
4c825c02 UW |
24966 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
24967 | ||
24968 | * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage. | |
24969 | ||
5e9fba51 EB |
24970 | 2011-01-05 Eric Botcazou <ebotcazou@adacore.com> |
24971 | ||
24972 | PR tree-optimization/47005 | |
24973 | * tree-sra.c (struct access): Add 'non_addressable' bit. | |
24974 | (create_access): Set it for a DECL_NONADDRESSABLE_P field. | |
24975 | (decide_one_param_reduction): Return 0 if the parameter is passed by | |
24976 | reference and one of the accesses in the group is non_addressable. | |
24977 | ||
3ebb5ca6 EB |
24978 | 2011-01-04 Eric Botcazou <ebotcazou@adacore.com> |
24979 | ||
24980 | PR tree-optimization/47056 | |
24981 | * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers. | |
24982 | (mark_load): Likewise. Handle FUNCTION_DECL specially. | |
24983 | (mark_store): Likewise. Pass STMT to ipa_record_reference. | |
24984 | ||
d5d4d14e EB |
24985 | 2011-01-04 Eric Botcazou <ebotcazou@adacore.com> |
24986 | ||
24987 | * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the | |
24988 | initializer. Skip view conversions from aggregate types. | |
24989 | ||
d996ef70 KT |
24990 | 2011-01-04 Kai Tietz <kai.tietz@onevision.com> |
24991 | ||
24992 | PR bootstrap/47055 | |
24993 | * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC. | |
24994 | ||
509d65dd | 24995 | 2011-01-04 Philipp Thomas <pth@suse.de> |
017096ca PT |
24996 | |
24997 | * config/microblaze/microbalse.opt (mxl-float-convert): Fix | |
24998 | obvious typo. | |
24999 | ||
55c623b5 UW |
25000 | 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
25001 | ||
25002 | * function.c (thread_prologue_and_epilogue_insns): Do not crash | |
25003 | on empty epilogue sequences. | |
25004 | ||
b98d6b35 JM |
25005 | 2011-01-04 Joseph Myers <joseph@codesourcery.com> |
25006 | ||
25007 | * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now, | |
25008 | non-static): New Driver options. | |
25009 | ||
a0d43bac JZ |
25010 | 2011-01-04 Jie Zhang <jie@codesourcery.com> |
25011 | ||
25012 | PR driver/47137 | |
25013 | * gcc.c (default_compilers[]): Set combinable field to 0 | |
25014 | for all assembly languages. | |
25015 | ||
2b18eb32 MX |
25016 | 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com> |
25017 | ||
25018 | * config/mips/loongson3a.md: New file. | |
25019 | * config/mips/mips.md: Include loongson3a.md. | |
25020 | * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when | |
25021 | TUNE_LOONGSON_3A. | |
25022 | ||
42a48c4f EB |
25023 | 2011-01-03 Eric Botcazou <ebotcazou@adacore.com> |
25024 | ||
25025 | PR middle-end/47017 | |
25026 | * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space | |
25027 | instead of convert_memory_address_addr_space on the base expression. | |
25028 | ||
9c1732c4 UW |
25029 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
25030 | ||
25031 | * config/spu/spu.c (spu_option_override): Update error text | |
25032 | for bad -march= / -mtune= values. | |
25033 | ||
aa474365 UW |
25034 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
25035 | ||
25036 | * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking | |
25037 | if branch-hint optimization will be performed. | |
25038 | ||
9766135b JJ |
25039 | 2011-01-03 Jakub Jelinek <jakub@redhat.com> |
25040 | ||
371556ee JJ |
25041 | PR tree-optimization/47148 |
25042 | * ipa-split.c (split_function): Convert arguments to | |
25043 | DECL_ARG_TYPE if possible. | |
25044 | ||
1ac12fa2 JJ |
25045 | PR tree-optimization/47155 |
25046 | * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type | |
25047 | when computing uns. | |
25048 | ||
9766135b JJ |
25049 | PR rtl-optimization/47157 |
25050 | * combine.c (try_combine): If undobuf.other_insn becomes | |
25051 | (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it | |
25052 | and set *new_direct_jump_p too. | |
25053 | ||
f4a2e571 SP |
25054 | 2011-01-03 Sebastian Pop <sebastian.pop@amd.com> |
25055 | ||
25056 | PR tree-optimization/47021 | |
25057 | * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR. | |
25058 | ||
9f8e43c0 JJ |
25059 | 2011-01-03 Jakub Jelinek <jakub@redhat.com> |
25060 | ||
25061 | * gcc.c (process_command): Update copyright notice dates. | |
25062 | * gcov.c (print_version): Likewise. | |
25063 | * gcov-dump.c (print_version): Likewise. | |
25064 | * mips-tfile.c (main): Likewise. | |
25065 | * mips-tdump.c (main): Likewise. | |
25066 | ||
1a2e38f3 MJ |
25067 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
25068 | ||
25069 | PR tree-optimization/46801 | |
25070 | * tree-sra.c (type_internals_preclude_sra_p): Check whether | |
25071 | aggregate fields start at byte boundary instead of the bit-field flag. | |
25072 | ||
56b721c5 L |
25073 | 2011-01-03 H.J. Lu <hongjiu.lu@intel.com> |
25074 | ||
25075 | PR driver/47137 | |
25076 | * gcc.c (main): Revert revision 168407. | |
25077 | ||
839d549b MJ |
25078 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
25079 | ||
25080 | * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type. | |
25081 | ||
4ce99a20 | 25082 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
2fa6eeff UW |
25083 | |
25084 | * tree-vect-generic.c (expand_vector_operations_1): When using vector/ | |
25085 | vector optab to expand vector/scalar shift, update gimple to vector. | |
25086 | ||
76df0ae6 MJ |
25087 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
25088 | ||
25089 | * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to | |
25090 | a thunk. | |
25091 | ||
ce47fda3 MJ |
25092 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
25093 | ||
25094 | PR tree-optimization/46984 | |
25095 | * cgraph.h (cgraph_indirect_call_info): make field thunk_delta | |
25096 | HOST_WIDE_INT. | |
25097 | (cgraph_create_indirect_edge): Fixed line length. | |
25098 | (cgraph_indirect_call_info): Declare. | |
25099 | (cgraph_make_edge_direct) Update declaration. | |
25100 | * cgraph.c (cgraph_allocate_init_indirect_info): New function. | |
25101 | (cgraph_create_indirect_edge): Use it. | |
25102 | (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all | |
25103 | callees. | |
25104 | * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for | |
25105 | the new thunk_delta representation. | |
25106 | * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to | |
25107 | HOST_WIDE_INT. | |
25108 | (ipa_write_indirect_edge_info): Remove streaming of thunk_delta. | |
25109 | (ipa_read_indirect_edge_info): Likewise. | |
25110 | * lto-cgraph.c (output_edge_opt_summary): New function. | |
25111 | (output_node_opt_summary): Call it on all outgoing edges. | |
25112 | (input_edge_opt_summary): New function. | |
25113 | (input_node_opt_summary): Call it on all outgoing edges. | |
25114 | ||
1e67fa1f L |
25115 | 2011-01-02 H.J. Lu <hongjiu.lu@intel.com> |
25116 | ||
25117 | PR driver/47137 | |
25118 | * gcc.c (main): Don't check have_o when settting combine_inputs. | |
25119 | ||
6656b2ac EB |
25120 | 2011-01-02 Eric Botcazou <ebotcazou@adacore.com> |
25121 | ||
25122 | * regrename.c: Add general comment describing the pass. | |
25123 | (struct du_head): Remove 'length' field. | |
25124 | (get_element, merge_sort_comparison, merge, sort_du_head): Remove. | |
25125 | (regrename_optimize): Do not sort chains. Rework comments, add others. | |
25126 | Force renaming to the preferred class (if any) in the first pass and do | |
25127 | not consider registers that belong to it in the second pass. | |
25128 | (create_new_chain): Do not set 'length' field. | |
25129 | (scan_rtx_reg): Likewise. | |
25130 | ||
bc470c24 JJ |
25131 | 2011-01-02 Jakub Jelinek <jakub@redhat.com> |
25132 | ||
4e996296 JJ |
25133 | PR tree-optimization/47140 |
25134 | * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use | |
25135 | TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument | |
25136 | to bit_value_binop. | |
25137 | ||
bc470c24 | 25138 | PR rtl-optimization/47028 |
6656b2ac EB |
25139 | * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after |
25140 | parm_birth_insn instead of at the beginning of first bb. | |
bc470c24 | 25141 | |
5af62fcd | 25142 | 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com> |
0d52f2a8 MX |
25143 | |
25144 | * doc/generic.texi: Remove duplicated "@subsubsection Statements". | |
25145 | Remove the word "see" before "@pxref". | |
25146 | * doc/rtl.texi: Remove the word "see" before "@pxref". | |
25147 | ||
0e20c89f JH |
25148 | 2011-01-01 Jan Hubicka <jh@suse.cz> |
25149 | ||
6656b2ac EB |
25150 | * tree-loop-distribution.c (tree_loop_distribution): Do not use freed |
25151 | memory. | |
0e20c89f | 25152 | |
220e83ca KT |
25153 | 2011-01-01 Kai Tietz <kai.tietz@onevision.com> |
25154 | ||
25155 | PR target/38662 | |
6656b2ac | 25156 | * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too. |
220e83ca | 25157 | |
ad41bd84 | 25158 | \f |
797103eb | 25159 | Copyright (C) 2011 Free Software Foundation, Inc. |
ad41bd84 JM |
25160 | |
25161 | Copying and distribution of this file, with or without modification, | |
25162 | are permitted in any medium without royalty provided the copyright | |
25163 | notice and this notice are preserved. |