]>
Commit | Line | Data |
---|---|---|
89a4b547 CJW |
1 | 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com> |
2 | Kito Cheng <kito@0xlab.org> | |
3 | Monk Chiang <sh.chiang04@gmail.com> | |
4 | ||
5 | * config/nds32/nds32.c (nds32_rtx_costs): Move implementation to ... | |
6 | (nds32_address_cost): Move implementation to ... | |
7 | * config/nds32/nds32-cost.c: ... here. | |
8 | * config/nds32/nds32-protos.h (nds32_rtx_costs_impl): Declare. | |
9 | (nds32_address_cost_impl): Declare. | |
10 | ||
6a2a98b1 CJW |
11 | 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com> |
12 | Kito Cheng <kito@0xlab.org> | |
13 | Monk Chiang <sh.chiang04@gmail.com> | |
14 | ||
15 | * config/nds32/nds32.c | |
16 | (nds32_consecutive_registers_load_store_p): Move to ... | |
17 | (nds32_valid_multiple_load_store): Move to ... | |
18 | (nds32_valid_stack_push_pop): Move to ... | |
19 | (nds32_can_use_bclr_p): Move to ... | |
20 | (nds32_can_use_bset_p): Move to ... | |
21 | (nds32_can_use_btgl_p): Move to ... | |
22 | (nds32_can_use_bitci_p): Move to ... | |
23 | * config/nds32/nds32-predicates.c: ... here. | |
24 | ||
aaa44d2d CJW |
25 | 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com> |
26 | Kito Cheng <kito@0xlab.org> | |
27 | Monk Chiang <sh.chiang04@gmail.com> | |
28 | ||
29 | * config/nds32/nds32.c | |
30 | (nds32_expand_builtin_null_ftype_reg): Move to ... | |
31 | (nds32_expand_builtin_reg_ftype_imm): Move to ... | |
32 | (nds32_expand_builtin_null_ftype_reg_imm): Move to ... | |
33 | (nds32_init_builtins): Move implementation to ... | |
34 | (nds32_expand_builtin): Move implementation to ... | |
35 | * config/nds32/nds32-intrinsic.c: ... here. | |
36 | * config/nds32/nds32-protos.h (nds32_init_builtins_impl): Declare. | |
37 | (nds32_expand_builtin_impl): Declare. | |
38 | ||
c23a919b CJW |
39 | 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com> |
40 | Kito Cheng <kito@0xlab.org> | |
41 | Monk Chiang <sh.chiang04@gmail.com> | |
42 | ||
43 | * config/nds32/nds32.c (nds32_emit_section_head_template): Move to ... | |
44 | (nds32_emit_section_tail_template): Move to ... | |
45 | (nds32_emit_isr_jmptbl_section): Move to ... | |
46 | (nds32_emit_isr_vector_section): Move to ... | |
47 | (nds32_emit_isr_reset_conten): Move to ... | |
48 | (nds32_check_isr_attrs_conflict): Move to ... | |
49 | (nds32_construct_isr_vectors_information): Move to ... | |
50 | (nds32_asm_file_start): Move implementation to ... | |
51 | (nds32_asm_file_end): Move implementation to ... | |
52 | * config/nds32/nds32-isr.c: ... here. | |
53 | * config/nds32/nds32-protos.h | |
54 | (nds32_check_isr_attrs_conflict): Declare. | |
55 | (nds32_construct_isr_vectors_information): Declare. | |
56 | (nds32_asm_file_start_for_isr): Declare. | |
57 | (nds32_asm_file_end_for_isr): Declare. | |
58 | ||
c0c935b5 CJW |
59 | 2014-07-04 Chung-Ju Wu <jasonwucj@gmail.com> |
60 | Kito Cheng <kito@0xlab.org> | |
61 | Monk Chiang <sh.chiang04@gmail.com> | |
62 | ||
63 | * config.gcc (nds32*): Add new modules to extra_objs. | |
64 | (nds32le-*-*): Use t-nds32 makefile fragment for new modules. | |
65 | (nds32be-*-*): Likewise. | |
66 | * config/nds32/nds32-cost.c: New file. | |
67 | * config/nds32/nds32-fp-as-gp.c: New file. | |
68 | * config/nds32/nds32-intrinsic.c: New file. | |
69 | * config/nds32/nds32-isr.c: New file. | |
70 | * config/nds32/nds32-md-auxiliary.c: New file. | |
71 | * config/nds32/nds32-memory-manipulation.c: New file. | |
72 | * config/nds32/nds32-pipelines-auxiliary.c: New file. | |
73 | * config/nds32/nds32-predicates.c: New file. | |
74 | * config/nds32/t-nds32: New file. | |
75 | ||
c01d6ad9 JJ |
76 | 2014-07-03 Jakub Jelinek <jakub@redhat.com> |
77 | ||
78 | PR tree-optimization/61682 | |
79 | * wide-int.cc (wi::mul_internal): Handle high correctly | |
80 | for umul_ppmm using cases and when one of the operands is | |
81 | equal to 1. | |
82 | ||
9e5f78f1 SB |
83 | 2014-07-03 Segher Boessenkool <segher@kernel.crashing.org> |
84 | ||
85 | * config/rs6000/rs6000.md (rotl<mode>3, ashl<mode>3, lshr<mode>3, | |
86 | ashr<mode>3): Correct mode of operands[2]. | |
87 | (rotl<mode>3_dot, rotl<mode>3_dot2, ashl<mode>3_dot, ashl<mode>3_dot2, | |
88 | lshr<mode>3_dot, lshr<mode>3_dot2, ashr<mode>3_dot, ashr<mode>3_dot2): | |
89 | Correct mode of operands[2]. Fix split condition. | |
90 | ||
a89b02c0 RE |
91 | 2014-07-03 Richard Earnshaw <rearnsha@arm.com> |
92 | ||
93 | * arm.md (arch): Add armv6_or_vfpv3. | |
94 | (arch_enabled): Add test for the above. | |
95 | * vfp.md (divsf_vfp, divdf_vfp): Add earlyclobber when code can run | |
96 | on VFP9. | |
97 | (sqrtsf_vfp, sqrtdf_vfp): Likewise. | |
98 | ||
00a7ba58 JJ |
99 | 2014-07-03 Jakub Jelinek <jakub@redhat.com> |
100 | ||
101 | * gcov-io.c (gcov_read_words): Don't call memmove if excess is 0. | |
102 | * data-streamer-in.c (streamer_read_hwi): Shift UHWI 1 instead of | |
103 | HWI 1 and negate the unsigned value. | |
104 | * expmed.c (expand_sdiv_pow2): For modes wider than word always | |
105 | use AND instead of shift. | |
106 | * wide-int-print.cc (print_decs): Negate UHWI instead of HWI. | |
107 | ||
e71d7987 MP |
108 | 2014-07-03 Marek Polacek <polacek@redhat.com> |
109 | ||
110 | * doc/invoke.texi (-fsanitize=bounds): Tweak wording. | |
111 | (-fsanitize=float-divide-by-zero): Move to the table with | |
112 | -fsanitize=undefined suboptions. | |
113 | (-fsanitize=float-cast-overflow): Likewise. | |
114 | ||
283bbe35 MR |
115 | 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com> |
116 | ||
117 | * config/rs6000/rs6000.c (rs6000_adjust_atomic_subword): Use | |
118 | BYTES_BIG_ENDIAN rather than WORDS_BIG_ENDIAN to check for byte | |
119 | endianness. | |
120 | ||
e42e3d15 ZC |
121 | 2014-07-03 Zhenqiang Chen <zhenqiang.chen@linaro.org> |
122 | ||
123 | * loop-invariant.c (struct invariant): Add a new member: eqno; | |
124 | (find_identical_invariants): Update eqno; | |
125 | (create_new_invariant): Init eqno; | |
126 | (get_inv_cost): Compute comp_cost with eqno; | |
127 | ||
4ed3092f SB |
128 | 2014-07-02 Segher Boessenkool <segher@kernel.crashing.org> |
129 | ||
130 | * genconfig.c (have_rotate_flag, have_rotatert_flag): New variables. | |
131 | (walk_insn_part) <ROTATE, ROTATERT>: New cases. | |
132 | (main): Conditionally write HAVE_rotate resp. HAVE_rotatert. | |
133 | * simplify-rtx.c (simplify_binary_operation_1) <ROTATE, ROTATERT>: | |
134 | Only do the transformation if both HAVE_rotate and HAVE_rotatert. | |
135 | ||
cbb1e3d9 CB |
136 | 2014-07-02 Christian Bruel <christian.bruel@st.com> |
137 | ||
513c5c74 CB |
138 | PR target/29349 |
139 | PR target/53513 | |
cbb1e3d9 CB |
140 | * mode-switching.c (struct bb_info): Add mode_out, mode_in caches. |
141 | (make_preds_opaque): Delete. | |
142 | (clear_mode_bit, mode_bit_p, set_mode_bit): New macros. | |
143 | (commit_mode_sets): New function. | |
144 | (optimize_mode_switching): Handle current_mode to mode_switching_emit. | |
145 | Process all modes at once. | |
146 | * basic-block.h (pre_edge_lcm_avs): Declare. | |
147 | * lcm.c (pre_edge_lcm_avs): Renamed from pre_edge_lcm. | |
148 | Call clear_aux_for_edges. Fix comments. | |
149 | (pre_edge_lcm): New wrapper function to call pre_edge_lcm_avs. | |
150 | (pre_edge_rev_lcm): Idem. | |
151 | * config/epiphany/epiphany.c (emit_set_fp_mode): Add prev_mode parameter. | |
152 | * config/epiphany/epiphany-protos.h (emit_set_fp_mode): Idem. | |
153 | * config/epiphany/resolve-sw-modes.c (pass_resolve_sw_modes::execute): Idem. | |
154 | * config/i386/i386.c (x96_emit_mode_set): Idem. | |
155 | * config/sh/sh.c (sh_emit_mode_set): Likewise. Handle PR toggle. | |
156 | * config/sh/sh.md (toggle_pr): Defined if TARGET_FPU_SINGLE. | |
157 | (fpscr_toggle) Disallow from delay slot. | |
158 | * target.def (emit_mode_set): Add prev_mode parameter. | |
159 | * doc/tm.texi: Regenerate. | |
160 | ||
c9d1a16a KT |
161 | 2014-07-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
162 | ||
163 | * config/aarch64/aarch64.c (aarch64_expand_vec_perm): Delete unused | |
164 | variable i. | |
165 | ||
d570d364 JH |
166 | 2014-07-01 Jan Hubicka <hubicka@ucw.cz> |
167 | ||
168 | * ipa-utils.h (method_class_type, vtable_pointer_value_to_binfo, | |
169 | vtable_pointer_value_to_vtable): Constify. | |
170 | (contains_polymorphic_type_p): Declare. | |
171 | * ipa-devirt.c (method_class_type, vtable_pointer_value_to_binfo, | |
172 | vtable_pointer_value_to_vtable): Constify. | |
173 | (contains_polymorphic_type_p): New predicate. | |
174 | * ipa-prop.c (ipa_set_jf_known_type): Allow types containing | |
175 | polymorphic types. | |
176 | (ipa_set_ancestor_jf): Likewise. | |
177 | (detect_type_change): Return false in easy cases. | |
178 | (compute_complex_assign_jump_func): Require type to contain | |
179 | polymorphic type. | |
180 | (compute_known_type_jump_func): Likewise. | |
181 | ||
549bcbd1 JH |
182 | 2014-07-01 Jan Hubicka <hubicka@ucw.cz> |
183 | ||
184 | * tree.c (decls_same_for_odr, decls_same_for_odr, | |
185 | types_same_for_odr): Remove. | |
186 | (type_in_anonymous_namespace_p): Constify argument. | |
187 | * tree.h (types_same_for_odr, type_in_anonymous_namespace_p): | |
188 | Constify. | |
189 | * ipa-devirt.c (odr_type_d): Add ODR_VIOLATED field. | |
190 | (main_odr_variant): New function. | |
191 | (hash_type_name): Make static; update assert; do not ICE on | |
192 | non-records. | |
193 | (types_same_for_odr): Bring here from tree.c; simplify | |
194 | and remove old structural comparing code that doesn't work | |
195 | for templates. | |
196 | (odr_hasher::equal): Update assert. | |
197 | (add_type_duplicate): Return true when bases should be computed; | |
198 | replace incomplete loader by complete; do not output duplicated | |
199 | warnings; do not ICE on non-records; set odr_violated flag. | |
200 | (get_odr_type): Be ready to replace incomplete type by complete | |
201 | one; work on ODR variants instead of main variants; reorder item | |
202 | in array so bases have still smaller indexes. | |
203 | (dump_type_inheritance_graph): Be ready for holdes in odr_types | |
204 | array. | |
205 | (possible_polymorphic_call_targets): Do not ICE when BINFO is NULL. | |
206 | ||
25eff60d CC |
207 | 2014-07-01 Cary Coutant <ccoutant@google.com> |
208 | ||
209 | * dwarf2out.c (remove_addr_table_entry): Remove unnecessary hash table | |
210 | lookup. | |
211 | (resolve_addr_in_expr): When replacing the rtx in a location list | |
212 | entry, get a new address table entry. | |
213 | (dwarf2out_finish): Call index_location_lists even if there are no | |
214 | addr_index_table entries yet. | |
215 | ||
6ab56804 TS |
216 | 2014-07-01 Trevor Saunders <tsaunders@mozilla.com> |
217 | ||
218 | * config/i386/winnt.c (i386_pe_section_type_flags): Revert previous | |
219 | change for not being obvious. | |
220 | ||
5c9130b3 TS |
221 | 2014-07-01 Trevor Saunders <tsaunders@mozilla.com> |
222 | ||
223 | * config/i386/winnt.c (i386_pe_section_type_flags): Remove name of | |
224 | unused argument. | |
225 | ||
39f90912 KT |
226 | 2014-07-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
227 | ||
228 | * config/aarch64/arm_neon.h (vcage_f64): New intrinsic. | |
229 | (vcagt_f64): Likewise. | |
230 | (vcale_f64): Likewise. | |
231 | (vcaled_f64): Likewise. | |
232 | (vcales_f32): Likewise. | |
233 | (vcalt_f64): Likewise. | |
234 | (vcaltd_f64): Likewise. | |
235 | (vcalts_f32): Likewise. | |
236 | ||
52ec0ea3 MP |
237 | 2014-07-01 Marek Polacek <polacek@redhat.com> |
238 | ||
239 | * doc/invoke.texi: Document -Wint-conversion. | |
240 | ||
d5c3d343 MP |
241 | 2014-07-01 Marek Polacek <polacek@redhat.com> |
242 | ||
243 | PR c/58286 | |
244 | * doc/invoke.texi: Document -Wincompatible-pointer-types. | |
245 | ||
e55637b7 ML |
246 | 2014-07-01 Martin Liska <mliska@suse.cz> |
247 | ||
248 | IPA REF alias refactoring | |
249 | * cgraph.h (iterate_direct_aliases): New function. | |
250 | (FOR_EACH_ALIAS): New macro iterates all direct aliases for a node. | |
251 | * cgraph.c (cgraph_for_node_thunks_and_aliases): Usage of | |
252 | FOR_EACH_ALIAS added. | |
253 | (cgraph_for_node_and_aliases): Likewise. | |
254 | * cgraphunit.c (assemble_thunks_and_aliases): Likewise. | |
255 | * ipa-inline.c (reset_edge_caches): Likewise. | |
256 | (update_caller_keys): Likewise. | |
257 | * trans-mem.c (ipa_tm_execute): Likewise. | |
258 | *varpool.c (varpool_analyze_node): Likewise. | |
259 | (varpool_for_node_and_aliases): Likewise. | |
260 | * ipa-ref.h (first_alias): New function. | |
261 | (last_alias): Likewise. | |
262 | (has_aliases_p): Likewise. | |
263 | * ipa-ref.c (ipa_ref::remove_reference): Removal function | |
264 | is sensitive to IPA_REF_ALIASes. | |
265 | * symtab.c (symtab_node::add_reference): Node of IPA_REF_ALIAS type | |
266 | are put at the beginning of the list. | |
267 | (symtab_node::iterate_direct_aliases): New function. | |
268 | ||
010f4e27 JH |
269 | 2014-06-28 Jan Hubicka <hubicka@ucw.cz> |
270 | ||
271 | Revert: | |
272 | * tree-streamer-out.c (pack_ts_type_common_value_fields): Stream if type | |
273 | is complete. | |
274 | (write_ts_type_common_tree_pointers): Do not stream fields not set for incomplete | |
275 | types; do not stream duplicated fields for variants; sanity check that variant | |
276 | and type match. | |
277 | (write_ts_type_non_common_tree_pointers): Likewise. | |
278 | * tree-streamer-in.c (unpack_ts_type_common_value_fields): Mark in TYPE_SIZE whether | |
279 | type is complete. | |
280 | (lto_input_ts_type_common_tree_pointers): Do same changes as in | |
281 | write_ts_type_common_tree_pointers | |
282 | (lto_input_ts_type_non_common_tree_pointers): Likewise. | |
283 | ||
0ca59830 JM |
284 | 2014-06-30 Joseph Myers <joseph@codesourcery.com> |
285 | ||
286 | * var-tracking.c (add_stores): Return instead of asserting if old | |
287 | and new values for conditional store are the same. | |
288 | ||
fc56f9d2 RH |
289 | 2014-06-30 Richard Henderson <rth@redhat.com> |
290 | ||
291 | PR rtl-opt/61608 | |
292 | PR target/39284 | |
293 | * bb-reorder.c (pass_duplicate_computed_gotos::execute): Cleanup | |
294 | the cfg if there were any changes. | |
295 | * passes.def: Revert move of peephole2 after reorder_blocks; | |
296 | move duplicate_computed_gotos before peephole2. | |
297 | ||
a4a51a52 UB |
298 | 2014-06-30 Uros Bizjak <ubizjak@gmail.com> |
299 | ||
300 | * except.c (emit_note_eh_region_end): New helper function. | |
301 | (convert_to_eh_region_ranges): Use emit_note_eh_region_end to | |
302 | emit EH_REGION_END note. | |
303 | * jump.c (cleanup_barriers): Do not split a call and its | |
304 | corresponding CALL_ARG_LOCATION note. | |
305 | ||
4f82fed2 JL |
306 | 2014-06-30 Jeff Law <law@redhat.com> |
307 | ||
308 | PR tree-optimization/61607 | |
309 | * tree-ssa-threadedge.c (simplify_control_stmt_condition): Look | |
310 | deeper into the SSA_NAME_VALUE chain. | |
311 | ||
6a7253a4 MP |
312 | 2014-06-30 Marek Polacek <polacek@redhat.com> |
313 | ||
314 | * convert.c (convert_to_integer): Don't instrument conversions if the | |
315 | function has no_sanitize_undefined attribute. | |
316 | * ubsan.c: Don't run the ubsan pass if the function has | |
317 | no_sanitize_undefined attribute. | |
318 | ||
670d96d7 JJ |
319 | 2014-06-30 Jakub Jelinek <jakub@redhat.com> |
320 | ||
321 | * doc/invoke.texi (-fsanitize=bounds): Move to the table with | |
322 | -fsanitize=undefined suboptions. | |
323 | ||
f7c4e5b8 AL |
324 | 2014-06-30 Alan Lawrence <alan.lawrence@arm.com> |
325 | ||
326 | * config/aarch64/aarch64-simd.md (vec_perm): Enable for bigendian. | |
327 | * config/aarch64/aarch64.c (aarch64_expand_vec_perm): Remove assert | |
328 | against bigendian and adjust indices. | |
329 | ||
10e4b632 GP |
330 | 2014-06-30 Gerald Pfeifer <gerald@pfeifer.com> |
331 | ||
332 | * doc/install.texi (Specific, aarch64*-*-*): Fix markup. Reword a bit. | |
333 | ||
21a7b5e1 MS |
334 | 2014-06-30 Marcus Shawcroft <marcus.shawcroft@arm.com> |
335 | ||
336 | PR target/61633 | |
337 | * config/aarch64/aarch64.md (*aarch64_ashr_sisd_or_int_<mode>3): | |
338 | Add alternative; make early clobber. Adjust both split patterns | |
339 | to use operand 0 as the working register. | |
340 | ||
85c00e0b JJ |
341 | 2014-06-30 Jakub Jelinek <jakub@redhat.com> |
342 | ||
5acd5cf0 UB |
343 | * ira-build.c (sort_conflict_id_map): Don't call qsort if num is 0, |
344 | as ira_object_id_map might be NULL, or 1. | |
85c00e0b | 345 | |
51a69168 ZC |
346 | 2014-06-30 Zhenqiang Chen <zhenqiang.chen@linaro.org> |
347 | ||
348 | * loop-invariant.c (get_inv_cost): Handle register class. | |
349 | (gain_for_invariant): Check the register pressure of the inv | |
350 | and its overlapped register class, other than all. | |
351 | ||
a938d018 GP |
352 | 2014-06-30 Gerald Pfeifer <gerald@pfeifer.com> |
353 | ||
354 | * doc/invoke.texi (Optimize Options): Fix descriptions of | |
355 | ipa-cp-loop-hint-bonus and ipa-cp-array-index-hint-bonus. | |
356 | ||
3a96c7cc DW |
357 | 2014-06-29 David Wohlferd <dw@LimeGreenSocks.com> |
358 | ||
359 | * doc/extend.texi (Function Attributes): Update 'naked' attribute | |
360 | documentation. | |
361 | ||
7d1ceb93 TG |
362 | 2014-06-29 Tobias Grosser <tobias@grosser.es> |
363 | ||
dabb1a20 | 364 | PR bootstrap/61650 |
7d1ceb93 TG |
365 | * graphite-isl-ast-to-gimple.c: Add missing guards. |
366 | ||
f6cc3103 RG |
367 | 2014-06-29 Roman Gareev <gareevroman@gmail.com> |
368 | ||
5acd5cf0 UB |
369 | * Makefile.in: Add the compilation of graphite-isl-ast-to-gimple.o. |
370 | * common.opt: Add new switch fgraphite-code-generator=[isl|cloog]. | |
371 | * flag-types.h: Add new enum fgraphite_generator. | |
f6cc3103 RG |
372 | * graphite-isl-ast-to-gimple.c: New. |
373 | * graphite-isl-ast-to-gimple.h: New. | |
5acd5cf0 UB |
374 | * graphite.c (graphite_transform_loops): Add choice of Graphite |
375 | code generator, which depends on flag_graphite_code_gen. | |
f6cc3103 | 376 | |
516a84f7 RG |
377 | 2014-06-29 Roman Gareev <gareevroman@gmail.com> |
378 | ||
5acd5cf0 UB |
379 | * graphite-dependences.c (subtract_commutative_associative_deps): |
380 | Add NULL checking of the following variables: must_raw_no_source, | |
381 | may_raw_no_source, must_war_no_source, may_war_no_source, | |
382 | must_waw_no_source, may_waw_no_source, must_raw, may_raw, | |
383 | must_war, may_war, must_waw, may_waw. | |
516a84f7 | 384 | |
db72d606 RG |
385 | 2014-06-29 Roman Gareev <gareevroman@gmail.com> |
386 | ||
5acd5cf0 UB |
387 | * graphite-clast-to-gimple.c: gloog is renamed to |
388 | graphite_regenerate_ast_cloog. gloog_error is renamed to | |
389 | graphite_regenerate_error. | |
390 | * graphite-clast-to-gimple.h: The definition of the struct | |
391 | bb_pbb_def is moved to graphite-htab.h. | |
db72d606 | 392 | Add inclusion of the hash-table.h. |
5acd5cf0 | 393 | * graphite-htab.h: The declaration of the function gloog is moved |
db72d606 RG |
394 | to graphite-clast-to-gimple.h and renamed to |
395 | graphite_regenerate_ast_cloog. | |
5acd5cf0 UB |
396 | * graphite.c (graphite_transform_loops): gloog is renamed |
397 | to graphite_regenerate_ast_cloog. | |
db72d606 | 398 | |
288eeff7 JH |
399 | 2014-06-28 Jan Hubicka <hubicka@ucw.cz> |
400 | ||
5acd5cf0 | 401 | * tree-streamer-out.c (pack_ts_type_common_value_fields): Stream if |
288eeff7 | 402 | type is complete. |
5acd5cf0 UB |
403 | (write_ts_type_common_tree_pointers): Do not stream fields not set |
404 | for incomplete types; do not stream duplicated fields for variants; | |
405 | sanity check that variant and type match. | |
406 | (write_ts_type_non_common_tree_pointers): Likewise. | |
407 | * tree-streamer-in.c (unpack_ts_type_common_value_fields): Mark in | |
408 | TYPE_SIZE whether type is complete. | |
288eeff7 JH |
409 | (lto_input_ts_type_common_tree_pointers): Do same changes as in |
410 | write_ts_type_common_tree_pointers | |
411 | (lto_input_ts_type_non_common_tree_pointers): Likewise. | |
412 | ||
d0bd8245 JH |
413 | 2014-06-28 Jan Hubicka <hubicka@ucw.cz> |
414 | ||
415 | * cgraph.c (dump_cgraph_node): Dump init&fini priorities. | |
416 | ||
8910466a JH |
417 | 2014-06-28 Jan Hubicka <hubicka@ucw.cz> |
418 | ||
419 | * tree-inline.c (remap_type_1): Do not duplicate fields | |
420 | that are shared in between type and its main variant. | |
421 | ||
b49407f8 JH |
422 | 2014-06-28 Jan Hubicka <hubicka@ucw.cz> |
423 | ||
424 | * ipa-prop.c (ipa_set_jf_known_type): Record always the main variant | |
425 | of the type. | |
426 | (ipa_set_ancestor_jf) Likewise. | |
427 | (check_stmt_for_type_change): Check that we work on main variant. | |
428 | (detect_type_change): Look into main variant. | |
429 | (compute_known_type_jump_func): Check that main variant has BINFO. | |
430 | ||
c7e1befa JH |
431 | 2014-06-28 Jan Hubicka <hubicka@ucw.cz> |
432 | ||
433 | * ipa-devirt.c (set_type_binfo): New function. | |
434 | (add_type_duplicate): Use it. | |
435 | (get_odr_type): Sanity check that binfos points to main variants. | |
436 | (get_class_context): Be sure the context's outer_type is main variant. | |
437 | (contains_type_p): Walk main variant. | |
5acd5cf0 UB |
438 | (get_polymorphic_call_info_for_decl): Set outer_type to be |
439 | main variant. | |
c7e1befa | 440 | (get_polymorphic_call_info): Likewise. |
5acd5cf0 UB |
441 | (possible_polymorphic_call_targets): Sanity check that we operate |
442 | on main variant. | |
c7e1befa | 443 | |
7ae2e72c JH |
444 | 2014-06-28 Jan Hubicka <hubicka@ucw.cz> |
445 | ||
5acd5cf0 | 446 | * stor-layout.c (finish_builtin_struct): Copy fields into the variants. |
7ae2e72c | 447 | |
a8647163 UW |
448 | 2014-06-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
449 | ||
450 | * config/rs6000/rs6000.c (rs6000_aggregate_candidate): Revert | |
451 | accidental change due to wide-int branch merge. | |
452 | ||
29d7cbd1 RO |
453 | 2014-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
454 | ||
455 | * configure.ac (gcc_cv_as_compress_debug): Check for assembler | |
456 | compressed debug support. | |
5acd5cf0 | 457 | (gcc_cv_ld_compress_debug): Check for linker compressed debug support. |
29d7cbd1 RO |
458 | * configure: Regenerate. |
459 | * config.in: Regenerate. | |
460 | * common.opt (compressed_debug_sections): New enum. | |
461 | (gz, gz=): New options. | |
5acd5cf0 | 462 | * gcc.c (LINK_COMPRESS_DEBUG_SPEC, ASM_COMPRESS_DEBUG_SPEC): Define. |
29d7cbd1 RO |
463 | (LINK_COMMAND_SPEC): Invoke LINK_COMPRESS_DEBUG_SPEC. |
464 | (asm_options): Invoke ASM_COMPRESS_DEBUG_SPEC. | |
465 | * config/darwin.h (LINK_COMMAND_SPEC_A): Invoke | |
466 | LINK_COMPRESS_DEBUG_SPEC. | |
467 | * config/i386/djgpp.h (LINK_COMMAND_SPEC): Likewise. | |
468 | * opts.c (common_handle_option): Handle OPT_gz, OPT_gz_. | |
5acd5cf0 | 469 | * doc/invoke.texi (Option Summary, Debugging Options): Add -gz[=type]. |
29d7cbd1 RO |
470 | (Debugging Options): Document -gz[=type]. |
471 | ||
d284e1b8 MJ |
472 | 2014-06-27 Martin Jambor <mjambor@suse.cz> |
473 | ||
474 | PR ipa/61160 | |
475 | * cgraphclones.c (duplicate_thunk_for_node): Removed parameter | |
476 | args_to_skip, use those from node instead. Copy args_to_skip and | |
477 | combined_args_to_skip from node to the new thunk. | |
478 | (redirect_edge_duplicating_thunks): Removed parameter args_to_skip. | |
479 | (cgraph_create_virtual_clone): Moved computation of | |
480 | combined_args_to_skip... | |
481 | (cgraph_clone_node): ...here, simplify it to bitmap_ior.. | |
482 | ||
f012c1ab TS |
483 | 2014-06-27 trevor Saunders <tsaunders@mozilla.com> |
484 | ||
485 | * config/i386/winnt.c (i386_pe_section_type_flags): Remove | |
486 | redundant diagnostic machinary. | |
487 | ||
3fd269db RB |
488 | 2014-06-27 Richard Biener <rguenther@suse.de> |
489 | ||
490 | * tree-ssa-math-opts.c (bswap_replace): Fix | |
491 | SLOW_UNALIGNED_ACCESS test to only apply to unaligned object. | |
492 | ||
807b7d62 ML |
493 | 2014-06-27 Martin Liska <mliska@suse.cz> |
494 | ||
495 | * gimple.h (gimple_location_safe): New function introduced. | |
496 | * cgraphunit.c (walk_polymorphic_call_targets): Usage | |
497 | of gimple_location_safe replaces gimple_location. | |
498 | (gimple_fold_call): Likewise. | |
499 | * ipa-devirt.c (ipa_devirt): Likewise. | |
500 | * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise. | |
501 | * ipa.c (walk_polymorphic_call_targets): Likewise. | |
502 | * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Likewise. | |
503 | ||
a4ee446d JJ |
504 | 2014-06-27 Jakub Jelinek <jakub@redhat.com> |
505 | ||
506 | PR tree-optimization/57233 | |
507 | PR tree-optimization/61299 | |
508 | * tree-vect-generic.c (get_compute_type, count_type_subparts): New | |
509 | functions. | |
510 | (expand_vector_operations_1): Use them. If {L,R}ROTATE_EXPR | |
511 | would be lowered to scalar shifts, check if corresponding | |
512 | shifts and vector BIT_IOR_EXPR are supported and don't lower | |
513 | or lower just to narrower vector type in that case. | |
514 | * expmed.c (expand_shift_1): Fix up handling of vector | |
515 | shifts and rotates. | |
516 | ||
dd5e7837 UB |
517 | 2014-06-26 Uros Bizjak <ubizjak@gmail.com> |
518 | ||
519 | PR target/61586 | |
520 | * config/alpha/alpha.c (alpha_handle_trap_shadows): Handle BARRIER RTX. | |
521 | ||
e288a46c JH |
522 | 2014-06-26 Jan Hubicka <hubicka@ucw.cz> |
523 | ||
524 | * doc/invoke.texi (-fsemantic-interposition): Document. | |
525 | * common.opt (fsemantic-interposition): New flag. | |
526 | * varasm.c (decl_replaceable_p): Use it. | |
527 | ||
6a742466 BS |
528 | 2014-06-26 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
529 | ||
530 | PR target/61542 | |
531 | * config/rs6000/vsx.md (vsx_extract_v4sf): Fix bug with element | |
532 | extraction other than index 3. | |
533 | ||
f14726bd TJ |
534 | 2014-06-26 Teresa Johnson <tejohnson@google.com> |
535 | ||
536 | * doc/invoke.texi: Fix typo. | |
537 | * dumpfile.c: Add support for documented -fdump-* options | |
538 | optimized/missed/note/optall. | |
539 | ||
680a5a7c MJ |
540 | 2014-06-26 Martin Jambor <mjambor@suse.cz> |
541 | ||
542 | * params.def (PARAM_ALLOW_LOAD_DATA_RACES) | |
543 | (PARAM_ALLOW_PACKED_LOAD_DATA_RACES) | |
544 | (PARAM_ALLOW_PACKED_STORE_DATA_RACES): Removed. | |
545 | (PARAM_ALLOW_STORE_DATA_RACES): Set default to zero. | |
546 | * opts.c (default_options_optimization): Set | |
547 | PARAM_ALLOW_STORE_DATA_RACES to one at -Ofast. | |
548 | * doc/invoke.texi (allow-load-data-races) | |
dd5e7837 | 549 | (allow-packed-load-data-races, allow-packed-store-data-races): Removed. |
680a5a7c MJ |
550 | (allow-store-data-races): Document the new default. |
551 | ||
72972c22 MJ |
552 | 2014-06-26 Martin Jambor <mjambor@suse.cz> |
553 | ||
554 | * ipa-prop.c (ipa_impossible_devirt_target): No longer static, | |
555 | renamed to ipa_impossible_devirt_target. Fix typo. | |
556 | * ipa-prop.h (ipa_impossible_devirt_target): Declare. | |
557 | * ipa-cp.c (ipa_get_indirect_edge_target_1): Use | |
558 | ipa_impossible_devirt_target. | |
559 | ||
73c7d6bc RB |
560 | 2014-06-26 Richard Biener <rguenther@suse.de> |
561 | ||
562 | PR tree-optimization/61607 | |
563 | * tree-ssa-copy.c (copy_prop_visit_phi_node): Adjust comment | |
564 | explaining why we restrict copies on loop depth. | |
565 | * tree-ssa-dom.c (cprop_operand): Remove restriction on | |
566 | on loop depth. | |
567 | (record_equivalences_from_phis): Instead add it here. | |
568 | ||
a185856a BS |
569 | 2014-06-26 Bernd Schmidt <bernds@codesourcery.com> |
570 | ||
dd5e7837 UB |
571 | * Makefile.in (COLLECT2_OBJS): Add collect-utils.o. |
572 | (LTO_WRAPPER_OBJS): New variable. | |
573 | (lto-wrapper$(exeext)): Use it. | |
574 | * collect2.c: Include "collect-utils.h". | |
575 | (verbose, debug): Remove variables. | |
576 | (at_file_supplied): No longer static. | |
577 | (tool_name): New variable. | |
578 | (do_wait, fork_execute, maybe_unlink): Don't declare. | |
579 | (tool_cleanup): No longer static. | |
580 | (notice): Remove function. | |
581 | (maybe_run_lto_and_relink, main, do_dsymutil): Add new arg to | |
582 | fork_execute calls. | |
583 | (collect_wait, do_wait, collect_execute): Remove functions. | |
584 | (maybe_unlink): No longer static. | |
585 | * collect2.h (verbose, debug): Don't declare. | |
586 | (at_file_supplied): Declare. | |
587 | * collect-utils.c (utils_cleanup): New arg from_signal. All callers | |
588 | changed. | |
589 | (collect_execute): Replace with implementation from collect2, plus a | |
590 | new arg use_atfile. All callers changed. | |
591 | (collect_wait): Replace with implementation from collect2. | |
592 | (maybe_unlink_file): Remove function. | |
593 | (fork_execute): Replace with implementation from collect2, plus a | |
594 | new arg use_atfile. All callers changed. | |
595 | (do_wait): Add call to utils_cleanup to the error path. | |
596 | * collect-utils.h (collect_execute, fork_execute, utils_cleanup) | |
597 | (tool_cleanup): Adjust declarations. | |
598 | * lto-wrapper.c (tool_cleanup): Add unused bool argument. | |
599 | * tlink.c: Include "collect-utils.h". | |
600 | (tlink_execute): New arg use_atfile. All callers changed. | |
601 | (tlink_init, tlink_execute): Remove declarations. | |
602 | ||
603 | * collect-utils.c (save_temps): New variable. | |
604 | (do_wait): Use it instead of debug. Use fatal_error. | |
605 | * collect-utils.h (save_temps): Declare. | |
606 | * collect2.c (verbose): Rename from vflag. All uses changed. | |
607 | (tool_cleanup): New function, copied from collect_atexit. | |
608 | (collect_atexit, handler): Just call it. | |
609 | * collect2.h (verbose): Declaration renamed from vflag. | |
610 | * lto-wrapper.c (maybe_unlink, run_gcc): Use save_temps instead of | |
611 | debug. | |
612 | ||
613 | * Makefile.in (ALL_HOST_BACKEND_OBJS): Add collect-utils.o. | |
614 | (lto-wrapper$(exeext)): Link with collect-utils.o. | |
615 | * collect-utils.c: New file. | |
616 | * collect-utils.h: New file. | |
617 | * lto-wrapper.c: Include "collect-utils.h". | |
618 | (args_name): Delete variable. | |
619 | (tool_name): New variable. | |
620 | (tool_cleanup): New function. | |
621 | (maybe_unlink): Renamed from maybe_unlink_file. All callers changed. | |
622 | (lto_wrapper_cleanup, fatal_signal, collect_execute, collect_wait) | |
623 | (fork_execute): Remove functions. | |
a185856a | 624 | |
5ed8a176 NC |
625 | 2014-06-26 Nick Clifton <nickc@redhat.com> |
626 | ||
53d51ddb NC |
627 | * config/frv/frv.c (frv_in_small_data_p): Remove redundant assert. |
628 | ||
5ed8a176 NC |
629 | * doc/extend.texi (Function Attributes): Fix typo in description |
630 | of RX vector attribute. | |
631 | ||
0cdb761c JG |
632 | 2014-06-26 James Greenhalgh <james.greenhalgh@arm.com> |
633 | ||
634 | * config.gcc (supported_defaults): Error when passing either | |
635 | --with-tune or --with-arch in conjunction with --with-cpu for ARM. | |
636 | ||
cbe26b97 RB |
637 | 2014-06-26 Richard Biener <rguenther@suse.de> |
638 | ||
639 | * tree-ssa-dom.c (cprop_operand): Remove restriction on | |
640 | propagating volatile pointers. | |
641 | ||
974bb959 RB |
642 | 2014-06-26 Richard Biener <rguenther@suse.de> |
643 | ||
644 | PR tree-optimization/61607 | |
645 | * tree-ssa-threadupdate.c (ssa_redirect_edges): Cancel the | |
646 | loop if we redirected its latch edge. | |
647 | (thread_block_1): Do not cancel loops prematurely. | |
648 | ||
b9b5f433 JH |
649 | 2014-06-25 Jan Hubicka <hubicka@ucw.cz> |
650 | ||
dd5e7837 UB |
651 | * toplev.c (backend_init_target): Move init_emit_regs and |
652 | init_regs to... | |
b9b5f433 | 653 | (backend_init) ... here; skip ira_init_once and backend_init_target. |
dd5e7837 UB |
654 | (target_reinit) ... and here; clear |
655 | this_target_rtl->lang_dependent_initialized. | |
656 | (lang_dependent_init_target): Clear | |
657 | this_target_rtl->lang_dependent_initialized; | |
b9b5f433 | 658 | break out rtl initialization to ... |
dd5e7837 UB |
659 | (initialize_rtl): ... here; call also backend_init_target |
660 | and ira_init_once. | |
b9b5f433 JH |
661 | * toplev.h (initialize_rtl): New function. |
662 | * function.c: Include toplev.h | |
663 | (init_function_start): Call initialize_rtl. | |
664 | * rtl.h (target_rtl): Add target_specific_initialized, | |
665 | lang_dependent_initialized. | |
666 | ||
646d1bed PG |
667 | 2014-06-25 Paul Gortmaker <paul.gortmaker@windriver.com> |
668 | Jakub Jelinek <jakub@redhat.com> | |
669 | ||
670 | * gcc.c (set_multilib_dir): Malloc "." pointer as well. | |
671 | ||
db88b449 TV |
672 | 2014-06-25 Tom de Vries <tom@codesourcery.com> |
673 | ||
674 | * config/arm/arm.c (arm_emit_call_insn): Remove clobber of CC_REGNUM. | |
675 | ||
f9bb13f3 BE |
676 | 2014-06-25 Bernd Edlinger <bernd.edlinger@hotmail.de> |
677 | ||
678 | * tree-ssa-forwprop.c (associate_plusminus): For widening conversions | |
679 | check for undefined overflow in (T)(P + A) - (T)P -> (T)A. | |
680 | Issue a strict overflow warning if appropriate. | |
681 | ||
d122681a ML |
682 | 2014-06-25 Martin Liska <mliska@suse.cz> |
683 | ||
684 | IPA REF refactoring | |
685 | * Makefile.in: Removed header file (ipa-ref-inline.h). | |
686 | * cgraph.c (cgraph_turn_edge_to_speculative): New IPA REF function | |
687 | called. | |
688 | (cgraph_speculative_call_info): Likewise. | |
689 | (cgraph_for_node_thunks_and_aliases): Likewise. | |
690 | (cgraph_for_node_and_aliases): Likewise. | |
691 | (verify_cgraph_node): Likewise. | |
692 | * cgraph.h: Batch of IPA REF functions become member functions of | |
693 | symtab_node: add_reference, maybe_add_reference, clone_references, | |
694 | clone_referring, clone_reference, find_reference, | |
695 | remove_stmt_references, remove_all_references, | |
696 | remove_all_referring, dump_references, dump_referring, | |
697 | has_alias_p, iterate_reference, iterate_referring. | |
698 | * cgraphbuild.c (record_reference): New IPA REF function used. | |
699 | (record_type_list): Likewise. | |
700 | (record_eh_tables): Likewise. | |
701 | (mark_address): Likewise. | |
702 | (mark_load): Likewise. | |
703 | (mark_store): Likewise. | |
704 | (pass_build_cgraph_edges): Likewise. | |
705 | (rebuild_cgraph_edge): Likewise. | |
706 | (cgraph_rebuild_references): Likewise. | |
707 | (pass_remove_cgraph_callee_edges): Likewise. | |
708 | * cgraphclones.c (cgraph_clone_node): Likewise. | |
709 | (cgraph_create_virtual_clone): Likewise. | |
710 | (cgraph_materialize_clone): Likewise. | |
711 | (cgraph_materialize_all_clones): Likewise. | |
712 | * cgraphunit.c (cgraph_reset_node): Likewise. | |
713 | (cgraph_reset_node): Likewise. | |
714 | (analyze_function): Likewise. | |
715 | (assemble_thunks_and_aliases): Likewise. | |
716 | (expand_function): Likewise. | |
717 | * ipa-comdats.c (propagate_comdat_group): Likewise. | |
718 | (enqueue_references): Likewise. | |
719 | * ipa-cp.c (ipcp_discover_new_direct_edges): Likewise. | |
720 | (create_specialized_node): Likewise. | |
721 | * ipa-devirt.c (referenced_from_vtable_p): Likewise. | |
722 | * ipa-inline-transform.c (can_remove_node_now_p_1): Likewise. | |
723 | * ipa-inline.c (reset_edge_caches): Likewise. | |
724 | (update_caller_keys): Likewise. | |
725 | (execute): Likewise. | |
726 | * ipa-prop.c (remove_described_reference): Likewise. | |
727 | (propagate_controlled_uses): Likewise. | |
728 | (ipa_edge_duplication_hook): Likewise. | |
729 | (ipa_modify_call_arguments): Likewise. | |
730 | * ipa-pure-const.c (propagate_pure_const): Likewise. | |
731 | * ipa-ref-inline.h: Header file removed, functions moved | |
732 | to symtab_node class. | |
733 | * ipa-ref.c (remove_reference): New class member function. | |
734 | (cannot_lead_to_return): New class member function. | |
735 | (referring_ref_list): Likewise. | |
736 | (referred_ref_list): Likewise. | |
737 | Rest of functions moved to symtab_node class. | |
738 | * ipa-ref.h: New member functions remove_reference, | |
739 | cannot_lead_to_return, referring_ref_list, referred_ref_list added | |
740 | to ipa_ref class. | |
741 | ipa_ref_list class has new member functions: first_reference, | |
742 | first_referring, clear, nreferences. | |
743 | * ipa-reference.c (analyze_function): New IPA REF function used. | |
744 | (write_node_summary_p): Likewise. | |
745 | (ipa_reference_write_optimization_summary): Likewise. | |
746 | * ipa-split.c (split_function): Likewise. | |
747 | * ipa-utils.c (ipa_reverse_postorder): Likewise. | |
748 | * ipa-visibility.c (cgraph_non_local_node_p_1): Likewise. | |
749 | (function_and_variable_visibility): Likewise. | |
750 | * ipa.c (has_addr_references_p): Likewise. | |
751 | (process_references): Argument type changed. | |
752 | (symtab_remove_unreachable_nodes): New IPA REF function used. | |
753 | (process_references): Likewise. | |
754 | (set_writeonly_bit): Likewise. | |
755 | * lto-cgraph.c: Implementation of new symtab_node member functions | |
756 | that uses new IPA REF functions. | |
dd5e7837 UB |
757 | * lto-streamer-in.c (fixup_call_stmt_edges_1): New IPA REF |
758 | function used. | |
d122681a ML |
759 | * lto-streamer-out.c (output_symbol_p): Likewise. |
760 | * lto-streamer.h (referenced_from_this_partition_p): Argument type | |
761 | changed. | |
d122681a ML |
762 | * symtab.c: Implementation of new IPA REF API. |
763 | * trans-mem.c (ipa_tm_create_version_alias): New IPA REF function used. | |
764 | (ipa_tm_create_version): Likewise. | |
765 | (ipa_tm_execute): Likewise. | |
766 | * tree-emutls.c (gen_emutls_addr): Likewise. | |
767 | * tree-inline.c (copy_bb): Likewise. | |
768 | (delete_unreachable_blocks_update_callgraph): Likewise. | |
769 | * varpool.c (varpool_remove_unreferenced_decls): Likewise. | |
770 | (varpool_for_node_and_aliases): Likewise. | |
771 | ||
81d0a226 TS |
772 | 2014-06-25 Trevor Saunders <tsaunders@mozilla.com> |
773 | ||
774 | * config/i386/winnt.c (i386_find_on_wrapper_list): Fix typo. | |
775 | ||
86fcf7ce TS |
776 | 2014-06-25 Trevor Saunders <tsaunders@mozilla.com> |
777 | ||
778 | PR bootstrap/61598 | |
779 | * fold-const.c (fold_checksum_tree): Use a hash_table of const | |
780 | tree_node * instead of tree_node *. | |
781 | (fold): Adjust. | |
782 | (print_fold_checksum): Likewise. | |
783 | (fold_check_failed): Likewise. | |
784 | (debug_fold_checksum): Likewise. | |
785 | (fold_build1_stat_loc): Likewise. | |
786 | (fold_build2_stat_loc): Likewise. | |
787 | (fold_build3_stat_loc): Likewise. | |
788 | (fold_build_call_array_loc): Likewise. | |
789 | ||
b36e833f DE |
790 | 2014-06-25 David Edelsohn <dje.gcc@gmail.com> |
791 | ||
792 | * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Replace | |
793 | implementation with call to... | |
794 | * config/rs6000/rs6000.c (rs6000_xcoff_declare_function_name): New | |
795 | function. | |
796 | * config/rs6000/rs6000-protos.h (rs6000_xcoff_declare_function_name): | |
797 | Declare. | |
798 | ||
20cb2258 MG |
799 | 2014-06-25 Marc Glisse <marc.glisse@inria.fr> |
800 | ||
801 | PR tree-optimization/57742 | |
802 | * tree-ssa-strlen.c (handle_builtin_memset): Update strinfo | |
803 | after replacing the statement. | |
804 | ||
cd47dfd0 NC |
805 | 2014-06-25 Nick Clifton <nickc@redhat.com> |
806 | ||
807 | * config/v850/v850.c (GHS_default_section_names): Change to const | |
808 | char * type. | |
809 | (GHS_current_section_names): Likewise. | |
810 | (v850_insert_attributes): Do not build strings, just assign the | |
811 | names directly. Change the type of 'chosen_section' to const | |
812 | char*. | |
813 | * config/v850/v850-c.c (ghs_pragma_section): Assign the alias | |
814 | directly to the array entry. | |
815 | * config/v850/v850.h (GHS_default_section_names): Change to const | |
816 | char * type. | |
817 | (GHS_current_section_names): Likewise. | |
818 | ||
da6f124d JJ |
819 | 2014-06-25 Jakub Jelinek <jakub@redhat.com> |
820 | ||
821 | * langhooks-def.h (LANG_HOOKS_OMP_CLAUSE_LINEAR_CTOR): Define. | |
822 | (LANG_HOOKS_DECLS): Add it. | |
823 | * gimplify.c (gimplify_omp_for): Make sure OMP_CLAUSE_LINEAR_STEP | |
824 | has correct type. | |
825 | * tree.h (OMP_CLAUSE_LINEAR_ARRAY): Define. | |
826 | * langhooks.h (struct lang_hooks_for_decls): Add | |
827 | omp_clause_linear_ctor hook. | |
828 | * omp-low.c (lower_rec_input_clauses): Set max_vf even if | |
829 | OMP_CLAUSE_LINEAR_ARRAY is set. Don't fold_convert | |
830 | OMP_CLAUSE_LINEAR_STEP. For OMP_CLAUSE_LINEAR_ARRAY in | |
831 | combined simd loop use omp_clause_linear_ctor hook. | |
832 | ||
79d652a5 CH |
833 | 2014-06-24 Cong Hou <congh@google.com> |
834 | ||
835 | * tree-vect-patterns.c (vect_recog_sad_pattern): New function for SAD | |
836 | pattern recognition. | |
837 | (type_conversion_p): PROMOTION is true if it's a type promotion | |
838 | conversion, and false otherwise. Return true if the given expression | |
839 | is a type conversion one. | |
840 | * tree-vectorizer.h: Adjust the number of patterns. | |
841 | * tree.def: Add SAD_EXPR. | |
842 | * optabs.def: Add sad_optab. | |
843 | * cfgexpand.c (expand_debug_expr): Add SAD_EXPR case. | |
844 | * expr.c (expand_expr_real_2): Likewise. | |
845 | * gimple-pretty-print.c (dump_ternary_rhs): Likewise. | |
846 | * gimple.c (get_gimple_rhs_num_ops): Likewise. | |
847 | * optabs.c (optab_for_tree_code): Likewise. | |
848 | * tree-cfg.c (estimate_operator_cost): Likewise. | |
849 | * tree-ssa-operands.c (get_expr_operands): Likewise. | |
850 | * tree-vect-loop.c (get_initial_def_for_reduction): Likewise. | |
851 | * config/i386/sse.md: Add SSE2 and AVX2 expand for SAD. | |
852 | * doc/generic.texi: Add document for SAD_EXPR. | |
853 | * doc/md.texi: Add document for ssad and usad. | |
854 | ||
3c032229 TS |
855 | 2014-06-24 Trevor Saunders <tsaunders@mozilla.com> |
856 | ||
857 | * config/i386/winnt.c (i386_pe_section_type_flags): Fix const | |
858 | qualification in cast. | |
859 | ||
aaf8a23e JH |
860 | 2014-06-24 Jan Hubicka <hubicka@ucw.cz> |
861 | ||
862 | * tree.c (find_decls_types_r): Do not check DECL_VINDEX for TYPE_DECL. | |
863 | * tree.h (DECL_VINDEX, DECL_SAVED_TREE): Restrict to DECL_FUNCTION. | |
864 | * tree-core.h (tree_decl_non_common): Move saved_tree and vindex... | |
865 | (tree_function_decl): ... here. | |
866 | * tree-streamer-out.c (write_ts_decl_non_common_tree_pointers): Move | |
867 | streaming of vindex to ... | |
868 | (write_ts_function_decl_tree_pointers): ... here. | |
869 | * tree-streamer-in.c (lto_input_ts_decl_non_common_tree_pointers): | |
870 | Do not stream DECL_VINDEX. | |
871 | (lto_input_ts_function_decl_tree_pointers): Stream it here. | |
872 | ||
ecc63043 CM |
873 | 2014-06-24 Catherine Moore <clm@codesourcery.com> |
874 | Sandra Loosemore <sandra@codesourcery.com> | |
875 | ||
876 | * config/mips/mips.c (mips_order_regs_for_local_alloc): Delete. | |
877 | * config/mips/mips.h (ADJUST_REG_ALLOC_ORDER): Delete. | |
878 | * config/mips/mips-protos.h (mips_order_regs_for_local_alloc): Delete. | |
879 | ||
db8965fc MG |
880 | 2014-06-24 Marc Glisse <marc.glisse@inria.fr> |
881 | ||
882 | * doc/invoke.texi (Warning Options): Remove duplicated | |
883 | -Wmaybe-uninitialized. | |
884 | ||
24314386 MG |
885 | 2014-06-24 Marc Glisse <marc.glisse@inria.fr> |
886 | ||
887 | PR tree-optimization/57742 | |
888 | * tree-ssa-strlen.c (get_string_length): Ignore malloc. | |
889 | (handle_builtin_malloc, handle_builtin_memset): New functions. | |
890 | (strlen_optimize_stmt): Call them. | |
891 | * passes.def: Move strlen after loop+dom but before vrp. | |
892 | ||
8d37375b JJ |
893 | 2014-06-24 Jakub Jelinek <jakub@redhat.com> |
894 | ||
895 | PR target/61570 | |
896 | * config/i386/driver-i386.c (host_detect_local_cpu): For unknown | |
897 | model family 6 CPU with has_longmode never use a CPU without | |
898 | 64-bit support. | |
899 | ||
fb112177 L |
900 | 2014-06-24 H.J. Lu <hongjiu.lu@intel.com> |
901 | ||
902 | PR target/61570 | |
903 | * config/i386/driver-i386.c (host_detect_local_cpu): Revert | |
904 | the last change. | |
905 | ||
1eb68d2d TS |
906 | 2014-06-24 Trevor Saunders <tsaunders@mozilla.com> |
907 | ||
908 | * alloc-pool.c (alloc_pool_hash): Use hash_map instead of hash_table. | |
909 | * dominance.c (iterate_fix_dominators): Use hash_map instead of | |
910 | pointer_map. | |
911 | * hash-map.h: New file. | |
912 | * ipa-comdats.c: Use hash_map instead of pointer_map. | |
913 | * ipa.c: Likewise. | |
914 | * lto-section-out.c: Adjust. | |
915 | * lto-streamer.h: Replace pointer_map with hash_map. | |
916 | * symtab.c (verify_symtab): Likewise. | |
917 | * tree-ssa-strlen.c (decl_to_stridxlist_htab): Likewise. | |
918 | * tree-ssa-uncprop.c (val_ssa_equiv): Likewise. | |
919 | * tree-streamer.h: Likewise. | |
920 | * tree-streamer.c: Adjust. | |
921 | * pointer-set.h: Remove pointer_map. | |
922 | ||
84baa4b9 TS |
923 | 2014-06-24 Trevor Saunders <tsaunders@mozilla.com> |
924 | ||
925 | * hash-table.h: Add a template arg to choose between storing values | |
926 | and storing pointers to values, and then provide partial | |
927 | specializations for both. | |
928 | * tree-browser.c (tree_upper_hasher): Provide the type the hash table | |
929 | should store, not the type values should point to. | |
930 | * tree-into-ssa.c (var_info_hasher): Likewise. | |
931 | * tree-ssa-dom.c (expr_elt_hasher): Likewise. | |
932 | * tree-complex.c: Adjust. | |
933 | * tree-hasher.h (int_tree_hasher): store int_tree_map in the hash | |
934 | table instead of int_tree_map *. | |
935 | * tree-parloops.c: Adjust. | |
936 | * tree-ssa-reassoc.c (ocount_hasher): Don't lie to hash_map about what | |
937 | type is being stored. | |
938 | * tree-vectorizer.c: Adjust. | |
939 | ||
c203e8a7 TS |
940 | 2014-06-24 Trevor Saunders <tsaunders@mozilla.com> |
941 | ||
942 | * hash-table.h: Remove a layer of indirection from hash_table so that | |
943 | it contains the hash table's data instead of a pointer to the data. | |
944 | * alloc-pool.c, asan.c, attribs.c, bitmap.c, cfg.c, | |
945 | config/arm/arm.c, config/i386/winnt.c, config/ia64/ia64.c, | |
946 | config/mips/mips.c, config/sol2.c, coverage.c, cselib.c, | |
947 | data-streamer-out.c, dse.c, dwarf2cfi.c, dwarf2out.c, except.c, | |
948 | fold-const.c, gcse.c, ggc-common.c, | |
949 | gimple-ssa-strength-reduction.c, gimplify.c, | |
950 | graphite-clast-to-gimple.c, graphite-dependences.c, | |
951 | graphite-htab.h, graphite.c, haifa-sched.c, ipa-devirt.c, | |
952 | ipa-profile.c, ira-color.c, ira-costs.c, loop-invariant.c, | |
953 | loop-iv.c, loop-unroll.c, lto-streamer-in.c, lto-streamer-out.c, | |
954 | lto-streamer.c, lto-streamer.h, passes.c, plugin.c, | |
955 | postreload-gcse.c, sese.c, statistics.c, store-motion.c, | |
956 | trans-mem.c, tree-browser.c, tree-cfg.c, tree-complex.c, | |
957 | tree-eh.c, tree-into-ssa.c, tree-parloops.c, tree-sra.c, | |
958 | tree-ssa-ccp.c, tree-ssa-coalesce.c, tree-ssa-dom.c, | |
959 | tree-ssa-live.c, tree-ssa-loop-im.c, | |
960 | tree-ssa-loop-ivopts.c, tree-ssa-phiopt.c, tree-ssa-pre.c, | |
961 | tree-ssa-reassoc.c, tree-ssa-sccvn.c, tree-ssa-strlen.c, | |
962 | tree-ssa-structalias.c, tree-ssa-tail-merge.c, | |
963 | tree-ssa-threadupdate.c, tree-ssa-uncprop.c, | |
dd5e7837 UB |
964 | tree-vect-data-refs.c, tree-vect-loop.c, tree-vectorizer.c, |
965 | tree-vectorizer.h, valtrack.c, valtrack.h, var-tracking.c, | |
966 | vtable-verify.c, vtable-verify.h: Adjust. | |
c203e8a7 | 967 | |
99753277 RB |
968 | 2014-06-24 Richard Biener <rguenther@suse.de> |
969 | ||
970 | PR tree-optimization/61572 | |
971 | * tree-ssa-sink.c (statement_sink_location): Do not sink | |
972 | loads from hard registers. | |
973 | ||
b46ebd6c JJ |
974 | 2014-06-24 Jakub Jelinek <jakub@redhat.com> |
975 | ||
56ad0e38 JJ |
976 | * gimplify.c (gimplify_omp_for): For #pragma omp for simd iterator |
977 | not mentioned in clauses use private clause if the iterator is | |
978 | declared in #pragma omp for simd, and when adding lastprivate | |
979 | instead, add it to the outer #pragma omp for too. Diagnose | |
980 | if the variable is private in outer context. For simd collapse > 1 | |
981 | loops, replace all iterators with temporaries. | |
982 | * omp-low.c (lower_rec_input_clauses): Handle LINEAR clause the | |
983 | same even in collapse > 1 loops. | |
984 | ||
b46ebd6c JJ |
985 | * gimplify.c (gimplify_scan_omp_clauses) <case OMP_CLAUSE_MAP, |
986 | OMP_CLAUSE_TO, OMP_CLAUSE_FROM): Make sure OMP_CLAUSE_SIZE is | |
987 | non-NULL. | |
988 | <case OMP_CLAUSE_ALIGNED>: Gimplify OMP_CLAUSE_ALIGNED_ALIGNMENT. | |
989 | (gimplify_adjust_omp_clauses_1): Make sure OMP_CLAUSE_SIZE is | |
990 | non-NULL. | |
991 | (gimplify_adjust_omp_clauses): Likewise. | |
992 | * omp-low.c (lower_rec_simd_input_clauses, | |
993 | lower_rec_input_clauses, expand_omp_simd): Handle non-constant | |
994 | safelen the same as safelen(1). | |
995 | * tree-nested.c (convert_nonlocal_omp_clauses, | |
996 | convert_local_omp_clauses): Handle OMP_CLAUSE_ALIGNED. For | |
997 | OMP_CLAUSE_{MAP,TO,FROM} if not decl use walk_tree. | |
998 | (convert_nonlocal_reference_stmt, convert_local_reference_stmt): | |
999 | Fixup handling of GIMPLE_OMP_TARGET. | |
1000 | (convert_tramp_reference_stmt, convert_gimple_call): Handle | |
1001 | GIMPLE_OMP_TARGET. | |
1002 | ||
33512353 CLT |
1003 | 2014-06-24 Chung-Lin Tang <cltang@codesourcery.com> |
1004 | ||
1005 | PR tree-optimization/61554 | |
1006 | * tree-ssa-propagate.c: Include "bitmap.h". | |
1007 | (substitute_and_fold_dom_walker): Add 'bitmap need_eh_cleanup' member, | |
1008 | properly update constructor/destructor. | |
1009 | (substitute_and_fold_dom_walker::before_dom_children): | |
1010 | Remove call to gimple_purge_dead_eh_edges, add bb->index to | |
1011 | need_eh_cleaup instead. | |
1012 | (substitute_and_fold): Call gimple_purge_all_dead_eh_edges on | |
1013 | need_eh_cleanup. | |
1014 | ||
eb6a09a7 JH |
1015 | 2014-06-23 Jan Hubicka <hubicka@ucw.cz> |
1016 | ||
1017 | * varpool.c (dump_varpool_node): Dump used_by_single_function. | |
1018 | * tree-pass.h (make_pass_ipa_single_use): New pass. | |
1019 | * cgraph.h (used_by_single_function): New flag. | |
dd5e7837 UB |
1020 | * lto-cgraph.c (lto_output_varpool_node, input_varpool_node): |
1021 | Stream it. | |
eb6a09a7 JH |
1022 | * passes.def (pass_ipa_single_use): Scedule. |
1023 | * ipa.c (BOTTOM): New macro. | |
1024 | (meet): New function | |
1025 | (propagate_single_user): New function. | |
1026 | (ipa_single_use): New function. | |
1027 | (pass_data_ipa_single_use): New pass. | |
1028 | (pass_ipa_single_use): New pass. | |
1029 | (pass_ipa_single_use::gate): New gate. | |
1030 | (make_pass_ipa_single_use): New function. | |
1031 | ||
47c80ef5 KT |
1032 | 2014-06-23 Kai Tietz <ktietz@redhat.com> |
1033 | ||
1034 | PR target/39284 | |
dd5e7837 UB |
1035 | * passes.def (peephole2): Move peephole2 pass before sched2 pass. |
1036 | * config/i386/i386.md (peehole2): Combine memories and indirect jumps. | |
47c80ef5 | 1037 | |
e5d8bd8c RB |
1038 | 2014-06-23 Richard Biener <rguenther@suse.de> |
1039 | ||
1040 | * tree-ssa-loop.c (gate_loop): New function. | |
1041 | (pass_tree_loop::gate): Call it. | |
1042 | (pass_data_tree_no_loop, pass_tree_no_loop, | |
1043 | make_pass_tree_no_loop): New. | |
1044 | * tree-vectorizer.c: Include tree-scalar-evolution.c | |
1045 | (pass_slp_vectorize::execute): Initialize loops and SCEV if | |
1046 | required. | |
1047 | (pass_slp_vectorize::clone): New method. | |
1048 | * timevar.def (TV_TREE_NOLOOP): New. | |
1049 | * tree-pass.h (make_pass_tree_no_loop): Declare. | |
1050 | * passes.def (pass_tree_no_loop): New pass group with | |
1051 | SLP vectorizer. | |
1052 | ||
228e5d2b L |
1053 | 2014-06-23 H.J. Lu <hongjiu.lu@intel.com> |
1054 | ||
1055 | PR target/61570 | |
1056 | * config/i386/driver-i386.c (host_detect_local_cpu): Set arch | |
1057 | to x86-64 if a 32-bit processor supports SSE2 and 64-bit. | |
1058 | ||
0379033b JG |
1059 | 2014-06-23 James Greenhalgh <james.greenhalgh@arm.com> |
1060 | ||
1061 | * config/aarch64/aarch64.md (addsi3_aarch64): Set "simd" attr to | |
1062 | "yes" where needed. | |
1063 | ||
82bb9245 AM |
1064 | 2014-06-23 Alan Modra <amodra@gmail.com> |
1065 | ||
1066 | PR bootstrap/61583 | |
1067 | * tree-vrp.c (remove_range_assertions): Do not set is_unreachable | |
1068 | to zero on debug statements. | |
1069 | ||
de6c4e1f | 1070 | 2014-06-23 Alan Lawrence <alan.lawrence@arm.com> |
096c59be AL |
1071 | |
1072 | PR target/60825 | |
1073 | * config/aarch64/aarch64-builtins.c (aarch64_types_unop_qualifiers): | |
1074 | Ignore third operand if present by marking qualifier_internal. | |
1075 | ||
1076 | * config/aarch64/aarch64-simd-builtins.def (abs): Comment. | |
1077 | ||
1078 | * config/aarch64/arm_neon.h (int64x1_t, uint64x1_t): Typedef to GCC | |
1079 | vector extension. | |
1080 | (aarch64_vget_lane_s64, aarch64_vdup_lane_s64, | |
1081 | arch64_vdupq_lane_s64, aarch64_vdupq_lane_u64): Remove macro. | |
1082 | (vqadd_s64, vqadd_u64, vqsub_s64, vqsub_u64, vqneg_s64, vqabs_s64, | |
1083 | vcreate_s64, vcreate_u64, vreinterpret_s64_f64, vreinterpret_u64_f64, | |
1084 | vcombine_u64, vbsl_s64, vbsl_u64, vceq_s64, vceq_u64, vceqz_s64, | |
1085 | vceqz_u64, vcge_s64, vcge_u64, vcgez_s64, vcgt_s64, vcgt_u64, | |
1086 | vcgtz_s64, vcle_s64, vcle_u64, vclez_s64, vclt_s64, vclt_u64, | |
1087 | vcltz_s64, vdup_n_s64, vdup_n_u64, vld1_s64, vld1_u64, vmov_n_s64, | |
1088 | vmov_n_u64, vqdmlals_lane_s32, vqdmlsls_lane_s32, | |
1089 | vqdmulls_lane_s32, vqrshl_s64, vqrshl_u64, vqrshl_u64, vqshl_s64, | |
1090 | vqshl_u64, vqshl_n_s64, vqshl_n_u64, vqshl_n_s64, vqshl_n_u64, | |
1091 | vqshlu_n_s64, vrshl_s64, vrshl_u64, vrshr_n_s64, vrshr_n_u64, | |
1092 | vrsra_n_s64, vrsra_n_u64, vshl_n_s64, vshl_n_u64, vshl_s64, | |
1093 | vshl_u64, vshr_n_s64, vshr_n_u64, vsli_n_s64, vsli_n_u64, | |
1094 | vsqadd_u64, vsra_n_s64, vsra_n_u64, vsri_n_s64, vsri_n_u64, | |
1095 | vst1_s64, vst1_u64, vtst_s64, vtst_u64, vuqadd_s64): Wrap existing | |
1096 | logic in GCC vector extensions | |
82bb9245 | 1097 | |
096c59be AL |
1098 | (vpaddd_s64, vaddd_s64, vaddd_u64, vceqd_s64, vceqd_u64, vceqzd_s64 |
1099 | vceqzd_u64, vcged_s64, vcged_u64, vcgezd_s64, vcgtd_s64, vcgtd_u64, | |
1100 | vcgtzd_s64, vcled_s64, vcled_u64, vclezd_s64, vcltd_s64, vcltd_u64, | |
1101 | vcltzd_s64, vqdmlals_s32, vqdmlsls_s32, vqmovnd_s64, vqmovnd_u64 | |
1102 | vqmovund_s64, vqrshld_s64, vqrshld_u64, vqrshrnd_n_s64, | |
1103 | vqrshrnd_n_u64, vqrshrund_n_s64, vqshld_s64, vqshld_u64, | |
1104 | vqshld_n_u64, vqshrnd_n_s64, vqshrnd_n_u64, vqshrund_n_s64, | |
1105 | vrshld_u64, vrshrd_n_u64, vrsrad_n_u64, vshld_n_u64, vshld_s64, | |
1106 | vshld_u64, vslid_n_u64, vsqaddd_u64, vsrad_n_u64, vsrid_n_u64, | |
1107 | vsubd_s64, vsubd_u64, vtstd_s64, vtstd_u64): Fix type signature. | |
1108 | ||
1109 | (vabs_s64): Use GCC vector extensions; call __builtin_aarch64_absdi. | |
1110 | ||
1111 | (vget_high_s64, vget_high_u64): Reimplement with GCC vector | |
1112 | extensions. | |
1113 | ||
1114 | (__GET_LOW, vget_low_u64): Wrap result using vcreate_u64. | |
1115 | (vget_low_s64): Use __GET_LOW macro. | |
1116 | (vget_lane_s64, vget_lane_u64, vdupq_lane_s64, vdupq_lane_u64): Use | |
1117 | gcc vector extensions, add call to __builtin_aarch64_lane_boundsi. | |
1118 | (vdup_lane_s64, vdup_lane_u64,): Add __builtin_aarch64_lane_bound_si. | |
1119 | (vdupd_lane_s64, vdupd_lane_u64): Fix type signature, add | |
1120 | __builtin_aarch64_lane_boundsi, use GCC vector extensions. | |
1121 | ||
1122 | (vcombine_s64): Use GCC vector extensions; remove cast. | |
1123 | (vqaddd_s64, vqaddd_u64, vqdmulls_s32, vqshld_n_s64, vqshlud_n_s64, | |
1124 | vqsubd_s64, vqsubd_u64, vrshld_s64, vrshrd_n_s64, vrsrad_n_s64, | |
1125 | vshld_n_s64, vshrd_n_s64, vslid_n_s64, vsrad_n_s64, vsrid_n_s64): | |
1126 | Fix type signature; remove cast. | |
1127 | ||
de6c4e1f | 1128 | 2014-06-23 Alan Lawrence <alan.lawrence@arm.com> |
c6a29a09 AL |
1129 | |
1130 | PR target/60825 | |
1131 | * config/aarch64/aarch64.c (aarch64_simd_mangle_map): Add entry for | |
1132 | V1DFmode. | |
1133 | * config/aarch64/aarch64-builtins.c (aarch64_simd_builtin_type_mode): | |
1134 | add V1DFmode | |
1135 | (BUILTIN_VD1): New. | |
1136 | (BUILTIN_VD_RE): Remove. | |
1137 | (aarch64_init_simd_builtins): Add V1DF to modes/modenames. | |
1138 | (aarch64_fold_builtin): Update reinterpret patterns, df becomes v1df. | |
1139 | * config/aarch64/aarch64-simd-builtins.def (create): Make a v1df | |
1140 | variant but not df. | |
1141 | (vreinterpretv1df*, vreinterpret*v1df): New. | |
1142 | (vreinterpretdf*, vreinterpret*df): Remove. | |
dd5e7837 UB |
1143 | * config/aarch64/aarch64-simd.md (aarch64_create, |
1144 | aarch64_reinterpret*): Generate V1DFmode pattern not DFmode. | |
c6a29a09 AL |
1145 | * config/aarch64/iterators.md (VD_RE): Include V1DF, remove DF. |
1146 | (VD1): New. | |
1147 | * config/aarch64/arm_neon.h (float64x1_t): typedef with gcc extensions. | |
1148 | (vcreate_f64): Remove cast, use v1df builtin. | |
1149 | (vcombine_f64): Remove cast, get elements with gcc vector extensions. | |
1150 | (vget_low_f64, vabs_f64, vceq_f64, vceqz_f64, vcge_f64, vgfez_f64, | |
1151 | vcgt_f64, vcgtz_f64, vcle_f64, vclez_f64, vclt_f64, vcltz_f64, | |
1152 | vdup_n_f64, vdupq_lane_f64, vld1_f64, vld2_f64, vld3_f64, vld4_f64, | |
1153 | vmov_n_f64, vst1_f64): Use gcc vector extensions. | |
1154 | (vget_lane_f64, vdupd_lane_f64, vmulq_lane_f64, ): Use gcc extensions, | |
1155 | add range check using __builtin_aarch64_im_lane_boundsi. | |
1156 | (vfma_lane_f64, vfmad_lane_f64, vfma_laneq_f64, vfmaq_lane_f64, | |
1157 | vfms_lane_f64, vfmsd_lane_f64, vfms_laneq_f64, vfmsq_lane_f64): Fix | |
1158 | type signature, use gcc vector extensions. | |
1159 | (vreinterpret_p8_f64, vreinterpret_p16_f64, vreinterpret_f32_f64, | |
1160 | vreinterpret_f64_f32, vreinterpret_f64_p8, vreinterpret_f64_p16, | |
1161 | vreinterpret_f64_s8, vreinterpret_f64_s16, vreinterpret_f64_s32, | |
1162 | vreinterpret_f64_s64, vreinterpret_f64_u8, vreinterpret_f64_u16, | |
1163 | vreinterpret_f64_u32, vreinterpret_f64_u64, vreinterpret_s8_f64, | |
1164 | vreinterpret_s16_f64, vreinterpret_s32_f64, vreinterpret_s64_f64, | |
1165 | vreinterpret_u8_f64, vreinterpret_u16_f64, vreinterpret_u32_f64, | |
1166 | vreinterpret_u64_f64): Use v1df builtin not df. | |
1167 | ||
463036be JG |
1168 | 2014-06-23 James Greenhalgh <james.greenhalgh@arm.com> |
1169 | ||
1170 | * config/aarch64/aarch64.md (*addsi3_aarch64): Add alternative in | |
1171 | vector registers. | |
1172 | ||
1cff83e2 JH |
1173 | 2014-06-23 Jan Hubicka <hubicka@ucw.cz> |
1174 | ||
dd5e7837 UB |
1175 | * lto-cgraph.c (lto_output_node, input_node): Set/get init/fini |
1176 | priority directly. | |
1cff83e2 | 1177 | |
2c97f472 ZC |
1178 | 2014-06-23 Zhenqiang Chen <zhenqiang.chen@linaro.org> |
1179 | ||
1180 | * loop-invariant.c (pre_check_invariant_p): New function. | |
1181 | (find_invariant_insn): Call pre_check_invariant_p. | |
1182 | ||
08281ce0 RH |
1183 | 2014-06-22 Richard Henderson <rth@redhat.com> |
1184 | ||
1185 | PR target/61565 | |
1186 | * compare-elim.c (struct comparison): Add eh_note. | |
1187 | (find_comparison_dom_walker::before_dom_children): Don't eliminate | |
1188 | a redundant comparison in a different EH region. Purge EH edges if | |
1189 | necessary. | |
1190 | ||
37317a1f SB |
1191 | 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org> |
1192 | ||
1193 | * config/rs6000/rs6000.md (maybe_var_shift): New define_attr. | |
1194 | (var_shift): Use it. | |
1195 | (rotl<mode>3, *rotlsi3_64, *rotl<mode>3_dot, *rotl<mode>3_dot2, | |
1196 | *rotlsi3_internal4, *rotlsi3_internal5, *rotlsi3_internal6, | |
1197 | *rotlsi3_internal8le, *rotlsi3_internal8be, *rotlsi3_internal9le, | |
1198 | *rotlsi3_internal9be, *rotlsi3_internal10le, *rotlsi3_internal10be, | |
1199 | *rotlsi3_internal11le, *rotlsi3_internal11be, *rotlsi3_internal12le, | |
1200 | *rotlsi3_internal12be, ashl<mode>3, *ashlsi3_64, *ashl<mode>3_dot, | |
1201 | *ashl<mode>3_dot2, lshr<mode>3, *lshrsi3_64, *lshr<mode>3_dot, | |
1202 | *lshr<mode>3_dot2, *ashr<mode>3, *ashrsi3_64, *ashr<mode>3_dot, | |
1203 | *ashr<mode>3_dot2, *rotldi3_internal4, *rotldi3_internal5, | |
1204 | *rotldi3_internal6, *rotldi3_internal7le, *rotldi3_internal7be, | |
1205 | *rotldi3_internal8le, *rotldi3_internal8be, *rotldi3_internal9le, | |
1206 | *rotldi3_internal9be, *rotldi3_internal10le, *rotldi3_internal10be, | |
1207 | *rotldi3_internal11le, *rotldi3_internal11be, *rotldi3_internal12le, | |
1208 | *rotldi3_internal12be, *rotldi3_internal13le, *rotldi3_internal13be, | |
1209 | *rotldi3_internal14le, *rotldi3_internal14be, *rotldi3_internal15le, | |
1210 | *rotldi3_internal15be): Use the new attribute. Merge register and | |
1211 | integer alternatives. | |
1212 | ||
85c1cb22 SB |
1213 | 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org> |
1214 | ||
1215 | * config/rs6000/rs6000.md (ashrsi3, two anonymous define_insns and | |
1216 | define_splits, ashrdi3, *ashrdi3_internal1, *ashrdi3_internal2 and | |
1217 | split, *ashrdi3_internal3 and split): Delete, merge into... | |
1218 | (ashr<mode>3): New expander. | |
1219 | (*ashr<mode>3, ashr<mode>3_dot, ashr<mode>3_dot2): New. | |
1220 | (*ashrsi3_64): Fix formatting. Replace "i" by "n". | |
1221 | ||
137b8eb2 SB |
1222 | 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org> |
1223 | ||
1224 | * config/rs6000/rs6000.md (rotlsi3, *rotlsi3_internal2 and split, | |
1225 | *rotlsi3_internal3 and split, rotldi3, *rotldi3_internal2 and split, | |
1226 | *rotldi3_internal3 and split): Delete, merge into... | |
1227 | (rotl<mode>3, rotl<mode>3_dot, rotl<mode>3_dot2): New. | |
1228 | (*rotlsi3_64): Fix formatting. Fix condition. Replace "i" by "n". | |
1229 | Use "rotlw" extended mnemonic. | |
1230 | ||
d70be98e SB |
1231 | 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org> |
1232 | ||
1233 | * config/rs6000/rs6000.md (ashlsi3, two anonymous define_insns | |
1234 | and define_splits, ashldi3, *ashldi3_internal1, *ashldi3_internal2 | |
1235 | and split, *ashldi3_internal3 and split): Delete, merge into... | |
1236 | (ashl<mode>3, ashl<mode>3_dot, ashl<mode>3_dot2): New. | |
1237 | (*ashlsi3_64): Fix formatting. Replace "i" by "n". | |
1238 | ||
f39a447c SB |
1239 | 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org> |
1240 | ||
1241 | * config/rs6000/rs6000.md ("hH"): New define_mode_attr. | |
1242 | (lshrsi3, two anonymous define_insns and define_splits, | |
1243 | lshrdi3, *lshrdi3_internal1, *lshrdi3_internal2 and split, | |
1244 | *lshrdi3_internal3 and split): Delete, merge into... | |
1245 | (lshr<mode>3, lshr<mode>3_dot, lshr<mode>3_dot2): New. | |
1246 | (*lshrsi3_64): Fix formatting. Replace "i" by "n". | |
1247 | ||
1a2443af SB |
1248 | 2014-06-22 Segher Boessenkool <segher@kernel.crashing.org> |
1249 | ||
1250 | * config/rs6000/rs6000.md (lshrsi3, and its two dot patterns): | |
1251 | Remove "O" alternative. | |
1252 | ||
82db17cb RS |
1253 | 2014-06-22 Richard Sandiford <rdsandiford@googlemail.com> |
1254 | ||
1255 | * config/mips/mips.c (mips_move_to_gpr_cost): Remove mode argument. | |
1256 | (mips_move_from_gpr_cost): Likewise. | |
1257 | (mips_register_move_cost): Update accordingly. | |
1258 | (mips_secondary_reload_class): Remove name of in_p. | |
1259 | ||
43c5fcfc MG |
1260 | 2014-06-22 Marc Glisse <marc.glisse@inria.fr> |
1261 | ||
1262 | PR target/61503 | |
1263 | * config/i386/i386.md (x86_64_shrd, x86_shrd, | |
1264 | ix86_rotr<dwi>3_doubleword): Replace ashiftrt with lshiftrt. | |
1265 | ||
47657153 JBG |
1266 | 2014-06-21 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
1267 | ||
1268 | * config/nios2/nios2.c: Include "builtins.h". | |
1269 | ||
714c800f JH |
1270 | 2014-06-20 Jan Hubicka <hubicka@ucw.cz> |
1271 | ||
1272 | * cgraph.h (tls_model_names): New variable. | |
1273 | * print-tree.c (print_node): Simplify. | |
1274 | * varpool.c (tls_model_names): New variable. | |
1275 | (dump_varpool_node): Output tls model. | |
1276 | ||
b4897212 JH |
1277 | 2014-06-20 Jan Hubicka <hubicka@ucw.cz> |
1278 | ||
1279 | * ipa-visibility.c (function_and_variable_visibility): Disable | |
1280 | temporarily local aliases for some targets. | |
1281 | ||
0e37a2f3 MP |
1282 | 2014-06-20 Marek Polacek <polacek@redhat.com> |
1283 | ||
1284 | * asan.c (pass_sanopt::execute): Handle IFN_UBSAN_BOUNDS. | |
1285 | * flag-types.h (enum sanitize_code): Add SANITIZE_BOUNDS and or it | |
1286 | into SANITIZE_UNDEFINED. | |
1287 | * doc/invoke.texi: Describe -fsanitize=bounds. | |
1288 | * gimplify.c (gimplify_call_expr): Add gimplification of internal | |
1289 | functions created in the FEs. | |
1290 | * internal-fn.c: Move "internal-fn.h" after "tree.h". | |
1291 | (expand_UBSAN_BOUNDS): New function. | |
1292 | * internal-fn.def (UBSAN_BOUNDS): New internal function. | |
1293 | * internal-fn.h: Don't define internal functions here. | |
1294 | * opts.c (common_handle_option): Add -fsanitize=bounds. | |
1295 | * sanitizer.def (BUILT_IN_UBSAN_HANDLE_OUT_OF_BOUNDS, | |
1296 | BUILT_IN_UBSAN_HANDLE_OUT_OF_BOUNDS_ABORT): Add. | |
1297 | * tree-core.h: Define internal functions here. | |
1298 | (struct tree_base): Add ifn field. | |
1299 | * tree-pretty-print.c: Include "internal-fn.h". | |
1300 | (dump_generic_node): Handle functions without CALL_EXPR_FN. | |
1301 | * tree.c (get_callee_fndecl): Likewise. | |
1302 | (build_call_expr_internal_loc): New function. | |
1303 | * tree.def (CALL_EXPR): Update description. | |
1304 | * tree.h (CALL_EXPR_IFN): Define. | |
1305 | (build_call_expr_internal_loc): Declare. | |
1306 | * ubsan.c (get_ubsan_type_info_for_type): Return 0 for non-arithmetic | |
1307 | types. | |
1308 | (ubsan_type_descriptor): Change bool parameter to enum | |
1309 | ubsan_print_style. Adjust the code. Add handling of | |
1310 | UBSAN_PRINT_ARRAY. | |
1311 | (ubsan_expand_bounds_ifn): New function. | |
1312 | (ubsan_expand_null_ifn): Adjust ubsan_type_descriptor call. | |
1313 | (ubsan_build_overflow_builtin): Likewise. | |
1314 | (instrument_bool_enum_load): Likewise. | |
1315 | (ubsan_instrument_float_cast): Likewise. | |
1316 | * ubsan.h (enum ubsan_print_style): New enum. | |
1317 | (ubsan_expand_bounds_ifn): Declare. | |
1318 | (ubsan_type_descriptor): Adjust declaration. Use a default parameter. | |
1319 | ||
96740472 MR |
1320 | 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com> |
1321 | ||
1322 | * config/rs6000/rs6000.md: Append `DONE' to preparation | |
1323 | statements of `bswap' pattern splitters. | |
1324 | ||
73b3e61b TV |
1325 | 2014-06-20 Tom de Vries <tom@codesourcery.com> |
1326 | ||
1327 | * target.def (call_fusage_contains_non_callee_clobbers): Update | |
1328 | definition. | |
1329 | * doc/tm.texi: Regenerate. | |
1330 | ||
0cbf438b YG |
1331 | 2014-06-20 Yury Gribov <y.gribov@samsung.com> |
1332 | Max Ostapenko <m.ostapenko@partner.samsung.com> | |
1333 | ||
1334 | PR sanitizer/61547 | |
1335 | * asan.c (instrument_strlen_call): Fixed instrumentation of | |
1336 | trailing byte. | |
1337 | ||
bec81025 MJ |
1338 | 2014-06-20 Martin Jambor <mjambor@suse.cz> |
1339 | ||
1340 | PR ipa/61540 | |
1341 | * ipa-prop.c (impossible_devirt_target): New function. | |
1342 | (try_make_edge_direct_virtual_call): Use it, also instead of | |
1343 | asserting. | |
1344 | ||
bf613c02 YG |
1345 | 2014-06-20 Yury Gribov <y.gribov@samsung.com> |
1346 | Max Ostapenko <m.ostapenko@partner.samsung.com> | |
1347 | ||
1348 | PR sanitizer/61530 | |
1349 | * asan.c (build_check_stmt): Add condition. | |
1350 | ||
803d0ab0 MJ |
1351 | 2014-06-20 Martin Jambor <mjambor@suse.cz> |
1352 | ||
1353 | PR ipa/61211 | |
1354 | * cgraph.c (clone_of_p): Allow skipped_branch to deal with | |
1355 | expanded clones. | |
1356 | ||
278821f2 KT |
1357 | 2014-06-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
1358 | ||
1359 | * config/aarch64/iterators.md (VCOND): Handle SI and HI modes. | |
1360 | Update comments. | |
1361 | (VCONQ): Make comment more helpful. | |
1362 | (VCON): Delete. | |
1363 | * config/aarch64/aarch64-simd.md | |
1364 | (aarch64_sqdmulh_lane<mode>): | |
1365 | Use VCOND for operands 2. Update lane checking and flipping logic. | |
1366 | (aarch64_sqrdmulh_lane<mode>): Likewise. | |
1367 | (aarch64_sq<r>dmulh_lane<mode>_internal): Likewise. | |
1368 | (aarch64_sqdmull2<mode>): Remove VCON, use VQ_HSI mode iterator. | |
1369 | (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal, VD_HSI): Change mode | |
1370 | attribute of operand 3 to VCOND. | |
1371 | (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal, SD_HSI): Likewise. | |
1372 | (aarch64_sqdml<SBINQOPS:as>l2_lane<mode>_internal): Likewise. | |
1373 | (aarch64_sqdmull_lane<mode>_internal, VD_HSI): Likewise. | |
1374 | (aarch64_sqdmull_lane<mode>_internal, SD_HSI): Likewise. | |
1375 | (aarch64_sqdmull2_lane<mode>_internal): Likewise. | |
1376 | (aarch64_sqdml<SBINQOPS:as>l_laneq<mode>_internal, VD_HSI: New | |
1377 | define_insn. | |
1378 | (aarch64_sqdml<SBINQOPS:as>l_laneq<mode>_internal, SD_HSI): Likewise. | |
1379 | (aarch64_sqdml<SBINQOPS:as>l2_laneq<mode>_internal): Likewise. | |
1380 | (aarch64_sqdmull_laneq<mode>_internal, VD_HSI): Likewise. | |
1381 | (aarch64_sqdmull_laneq<mode>_internal, SD_HSI): Likewise. | |
1382 | (aarch64_sqdmull2_laneq<mode>_internal): Likewise. | |
1383 | (aarch64_sqdmlal_lane<mode>): Change mode attribute of penultimate | |
1384 | operand to VCOND. Update lane flipping and bounds checking logic. | |
1385 | (aarch64_sqdmlal2_lane<mode>): Likewise. | |
1386 | (aarch64_sqdmlsl_lane<mode>): Likewise. | |
1387 | (aarch64_sqdmull_lane<mode>): Likewise. | |
1388 | (aarch64_sqdmull2_lane<mode>): Likewise. | |
1389 | (aarch64_sqdmlal_laneq<mode>): | |
1390 | Replace VCON usage with VCONQ. | |
1391 | Emit aarch64_sqdmlal_laneq<mode>_internal insn. | |
1392 | (aarch64_sqdmlal2_laneq<mode>): Emit | |
1393 | aarch64_sqdmlal2_laneq<mode>_internal insn. | |
1394 | Replace VCON with VCONQ. | |
1395 | (aarch64_sqdmlsl2_lane<mode>): Replace VCON with VCONQ. | |
1396 | (aarch64_sqdmlsl2_laneq<mode>): Likewise. | |
1397 | (aarch64_sqdmull_laneq<mode>): Emit | |
1398 | aarch64_sqdmull_laneq<mode>_internal insn. | |
1399 | Replace VCON with VCONQ. | |
1400 | (aarch64_sqdmull2_laneq<mode>): Emit | |
1401 | aarch64_sqdmull2_laneq<mode>_internal insn. | |
1402 | (aarch64_sqdmlsl_laneq<mode>): Replace VCON usage with VCONQ. | |
1403 | * config/aarch64/arm_neon.h (vqdmlal_high_lane_s16): Change type | |
1404 | of 3rd argument to int16x4_t. | |
1405 | (vqdmlalh_lane_s16): Likewise. | |
1406 | (vqdmlslh_lane_s16): Likewise. | |
1407 | (vqdmull_high_lane_s16): Likewise. | |
1408 | (vqdmullh_lane_s16): Change type of 2nd argument to int16x4_t. | |
1409 | (vqdmlal_lane_s16): Don't create temporary int16x8_t value. | |
1410 | (vqdmlsl_lane_s16): Likewise. | |
1411 | (vqdmull_lane_s16): Don't create temporary int16x8_t value. | |
1412 | (vqdmlal_high_lane_s32): Change type 3rd argument to int32x2_t. | |
1413 | (vqdmlals_lane_s32): Likewise. | |
1414 | (vqdmlsls_lane_s32): Likewise. | |
1415 | (vqdmull_high_lane_s32): Change type 2nd argument to int32x2_t. | |
1416 | (vqdmulls_lane_s32): Likewise. | |
1417 | (vqdmlal_lane_s32): Don't create temporary int32x4_t value. | |
1418 | (vqdmlsl_lane_s32): Likewise. | |
1419 | (vqdmull_lane_s32): Don't create temporary int32x4_t value. | |
1420 | (vqdmulhh_lane_s16): Change type of second argument to int16x4_t. | |
1421 | (vqrdmulhh_lane_s16): Likewise. | |
1422 | (vqdmlsl_high_lane_s16): Likewise. | |
1423 | (vqdmulhs_lane_s32): Change type of second argument to int32x2_t. | |
1424 | (vqdmlsl_high_lane_s32): Likewise. | |
1425 | (vqrdmulhs_lane_s32): Likewise. | |
1426 | ||
6621ab68 TV |
1427 | 2014-06-20 Tom de Vries <tom@codesourcery.com> |
1428 | ||
1429 | * final.c (collect_fn_hard_reg_usage): Add separate IOR_HARD_REG_SET for | |
1430 | get_call_reg_set_usage. | |
1431 | ||
5fea8186 TV |
1432 | 2014-06-20 Tom de Vries <tom@codesourcery.com> |
1433 | ||
1434 | * final.c (collect_fn_hard_reg_usage): Don't save function_used_regs if | |
1435 | it contains all call_used_regs. | |
1436 | ||
53f2f6c1 TV |
1437 | 2014-06-20 Tom de Vries <tom@codesourcery.com> |
1438 | ||
1439 | * final.c (collect_fn_hard_reg_usage): Add and use variable | |
1440 | function_used_regs. | |
1441 | ||
569b1784 JH |
1442 | 2014-06-20 Jan Hubicka <hubicka@ucw.cz> |
1443 | ||
1444 | * cgraph.h (struct symtab_node): Add field in_init_priority_hash | |
1445 | (set_init_priority, get_init_priority, set_fini_priority, | |
1446 | get_fini_priority): New methods. | |
1447 | * tree.c (init_priority_for_decl): Remove. | |
1448 | (init_ttree): Do not initialize init priority. | |
1449 | (decl_init_priority_lookup, decl_fini_priority_lookup): Rewrite. | |
1450 | (decl_priority_info): Remove. | |
1451 | (decl_init_priority_insert): Rewrite. | |
1452 | (decl_fini_priority_insert): Rewrite. | |
1453 | * tree.h (tree_priority_map_eq, tree_priority_map_hash, | |
1454 | tree_priority_map_marked_p): Remove. | |
1455 | * lto-cgraph.c (lto_output_node, input_node): Stream init priorities. | |
1456 | * lto-streamer-out.c (hash_tree): Do not hash priorities. | |
1457 | * tree-streamer-out.c (pack_ts_decl_with_vis_value_fields): Do | |
1458 | not output priorities. | |
1459 | (pack_ts_function_decl_value_fields): Likewise. | |
1460 | * tree-streamer-in.c (unpack_ts_decl_with_vis_value_fields): Do | |
1461 | not input priorities. | |
1462 | (unpack_ts_function_decl_value_fields): Likewise. | |
1463 | * symtab.c (symbol_priority_map): Declare. | |
1464 | (init_priority_hash): Declare. | |
1465 | (symtab_unregister_node): Unregister from priority hash, too. | |
1466 | (symtab_node::get_init_priority, cgraph_node::get_fini_priority): | |
1467 | New methods. | |
1468 | (symbol_priority_map_eq, symbol_priority_map_hash): New functions. | |
1469 | (symbol_priority_info): New function. | |
1470 | (symtab_node::set_init_priority, cgraph_node::set_fini_priority): | |
1471 | New methods. | |
1472 | * tree-core.h (tree_priority_map): Remove. | |
1473 | ||
88f5cfcd JJ |
1474 | 2014-06-20 Jakub Jelinek <jakub@redhat.com> |
1475 | ||
1476 | * tree-ssa-math-opts.c (do_shift_rotate, find_bswap_or_nop_1): Cast | |
1477 | 0xff to uint64_t before shifting it up. | |
1478 | ||
6d45574a JB |
1479 | 2014-06-20 Julian Brown <julian@codesourcery.com> |
1480 | Chung-Lin Tang <cltang@codesourcery.com> | |
1481 | ||
1482 | * config/arm/arm.c (arm_output_mi_thunk): Fix offset for | |
1483 | TARGET_THUMB1_ONLY. Add comments. | |
1484 | ||
d07a3fed TV |
1485 | 2014-06-19 Tom de Vries <tom@codesourcery.com> |
1486 | ||
1487 | * config/aarch64/aarch64-protos.h (aarch64_emit_call_insn): Change | |
1488 | return type to void. | |
1489 | * config/aarch64/aarch64.c (aarch64_emit_call_insn): Same. | |
1490 | ||
61fc05c7 ZC |
1491 | 2014-06-19 Zhenqiang Chen <zhenqiang.chen@linaro.org> |
1492 | ||
1493 | * loop-invariant.c (get_inv_cost): Skip invariants, which are marked | |
1494 | as "move", from depends_on. | |
1495 | ||
dbb73879 TG |
1496 | 2014-06-19 Terry Guo <terry.guo@arm.com> |
1497 | ||
1498 | * config/arm/thumb1.md (define_split): Split 64bit constant in earlier | |
1499 | stage. | |
1500 | ||
36bd0c3e SB |
1501 | 2014-06-18 Segher Boessenkool <segher@kernel.crashing.org> |
1502 | ||
1503 | * config/rs6000/rs6000.h (FIXED_REGISTERS): Update comment. | |
1504 | Remove cr5. | |
1505 | (REG_ALLOC_ORDER): Update comment. Move cr5 earlier. | |
1506 | ||
be6b0bec KK |
1507 | 2014-06-18 Kaz Kojima <kkojima@gcc.gnu.org> |
1508 | ||
1509 | PR target/61550 | |
1510 | * config/sh/sh.c (prepare_move_operands): Don't process TLS | |
1511 | addresses here if reload in progress or completed. | |
1512 | ||
c31d2d11 RS |
1513 | 2014-06-18 Robert Suchanek <robert.suchanek@imgtec.com> |
1514 | ||
a78cc314 RS |
1515 | * config/mips/constraints.md ("d"): BASE_REG_CLASS replaced by |
1516 | "TARGET_MIPS16 ? M16_REGS : GR_REGS". | |
1517 | * config/mips/mips.c (mips_regno_to_class): Update for M16_SP_REGS. | |
1518 | (mips_regno_mode_ok_for_base_p): Remove use of !strict_p for MIPS16. | |
1519 | (mips_register_priority): New function that implements the target | |
1520 | hook TARGET_REGISTER_PRIORITY. | |
1521 | (mips_spill_class): Likewise for TARGET_SPILL_CLASS. | |
1522 | (mips_lra_p): Likewise for TARGET_LRA_P. | |
1523 | (TARGET_REGISTER_PRIORITY): Define macro. | |
1524 | (TARGET_SPILL_CLASS): Likewise. | |
1525 | (TARGET_LRA_P): Likewise. | |
1526 | * config/mips/mips.h (reg_class): Add M16_SP_REGS and SPILL_REGS | |
1527 | classes. | |
1528 | (REG_CLASS_NAMES): Likewise. | |
1529 | (REG_CLASS_CONTENTS): Likewise. | |
1530 | (BASE_REG_CLASS): Use M16_SP_REGS. | |
1531 | * config/mips/mips.md (*mul_acc_si): Add alternative tuned for LRA. | |
1532 | New set attribute to enable alternatives depending on the register | |
1533 | allocator used. | |
1534 | (*mul_acc_si_r3900, *mul_sub_si): Likewise. | |
1535 | (*lea64): Disable pattern for MIPS16. | |
1536 | * config/mips/mips.opt (mlra): New option. | |
1537 | ||
1538 | 2014-06-18 Robert Suchanek <robert.suchanek@imgtec.com> | |
1539 | ||
82bb9245 AM |
1540 | * lra-constraints.c (base_to_reg): New function. |
1541 | (process_address): Use new function. | |
c31d2d11 | 1542 | |
78607708 TV |
1543 | 2014-06-18 Tom de Vries <tom@codesourcery.com> |
1544 | ||
1545 | * config/aarch64/aarch64-protos.h (aarch64_emit_call_insn): Declare. | |
1546 | * config/aarch64/aarch64.c | |
1547 | (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): Redefine as true. | |
1548 | (aarch64_emit_call_insn): New function. | |
1549 | (aarch64_load_symref_appropriately): Use aarch64_emit_call_insn instead | |
1550 | of emit_call_insn. | |
1551 | * config/aarch64/aarch64.md (define_expand "call_internal") | |
1552 | (define_expand "call_value_internal", define_expand "sibcall_internal") | |
1553 | (define_expand "sibcall_value_internal"): New. | |
1554 | (define_expand "call", define_expand "call_value") | |
1555 | (define_expand "sibcall", define_expand "sibcall_value"): Use internal | |
1556 | expand variant and aarch64_emit_call_insn. | |
1557 | ||
7a32d6c4 | 1558 | 2014-06-18 Radovan Obradovic <robradovic@mips.com> |
dd5e7837 | 1559 | Tom de Vries <tom@codesourcery.com> |
7a32d6c4 RO |
1560 | |
1561 | * config/arm/arm-protos.h (arm_emit_call_insn): Add bool parameter. | |
1562 | * config/arm/arm.c (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): | |
1563 | Redefine to true. | |
1564 | (arm_emit_call_insn): Add and use sibcall parameter. Add IP and CC | |
1565 | clobbers to CALL_INSN_FUNCTION_USAGE. | |
1566 | (define_expand "sibcall_internal") | |
1567 | (define_expand "sibcall_value_internal"): New. | |
1568 | (define_expand "call", define_expand "call_value"): Add argument to | |
1569 | arm_emit_call_insn. | |
1570 | (define_expand "sibcall"): Use sibcall_internal and arm_emit_call_insn. | |
1571 | (define_expand "sibcall_value"): Use sibcall_value_internal and | |
1572 | arm_emit_call_insn. | |
1573 | ||
4b9fcb37 CB |
1574 | 2014-06-18 Charles Baylis <charles.baylis@linaro.org> |
1575 | ||
1576 | * config/arm/bpabi.c (__gnu_uldivmod_helper): Remove. | |
1577 | ||
a7a7d3c8 CB |
1578 | 2014-06-18 Charles Baylis <charles.baylis@linaro.org> |
1579 | ||
1580 | * config/arm/bpabi-v6m.S (__aeabi_uldivmod): Perform division using | |
1581 | __udivmoddi4. | |
1582 | ||
158ef346 CB |
1583 | 2014-06-18 Charles Baylis <charles.baylis@linaro.org> |
1584 | ||
1585 | * config/arm/bpabi.S (__aeabi_ldivmod, __aeabi_uldivmod, | |
1586 | push_for_divide, pop_for_divide): Use .cfi_* directives for DWARF | |
1587 | annotations. Fix DWARF information. | |
1588 | ||
13381189 CB |
1589 | 2014-06-18 Charles Baylis <charles.baylis@linaro.org> |
1590 | ||
1591 | * config/arm/bpabi.S (__aeabi_ldivmod): Perform division using | |
1592 | __udivmoddi4, and fixups for negative operands. | |
1593 | ||
f493def1 CB |
1594 | 2014-06-18 Charles Baylis <charles.baylis@linaro.org> |
1595 | ||
1596 | * config/arm/bpabi.S (__aeabi_ldivmod): Optimise stack manipulation. | |
1597 | ||
0b227df4 CB |
1598 | 2014-06-18 Charles Baylis <charles.baylis@linaro.org> |
1599 | ||
1600 | * config/arm/bpabi.S (__aeabi_uldivmod): Perform division using call | |
1601 | to __udivmoddi4. | |
1602 | ||
c9dae335 CB |
1603 | 2014-06-18 Charles Baylis <charles.baylis@linaro.org> |
1604 | ||
1605 | * config/arm/bpabi.S (__aeabi_uldivmod): Optimise stack pointer | |
1606 | manipulation. | |
1607 | ||
6857b807 CB |
1608 | 2014-06-18 Charles Baylis <charles.baylis@linaro.org> |
1609 | ||
1610 | * config/arm/bpabi.S (__aeabi_uldivmod, __aeabi_ldivmod): Add comment | |
1611 | describing register usage on function entry and exit. | |
1612 | ||
f21d8faa CB |
1613 | 2014-06-18 Charles Baylis <charles.baylis@linaro.org> |
1614 | ||
1615 | * config/arm/bpabi.S (__aeabi_uldivmod): Fix whitespace. | |
1616 | (__aeabi_ldivmod): Fix whitespace. | |
1617 | ||
544aee0d AS |
1618 | 2014-06-18 Andreas Schwab <schwab@suse.de> |
1619 | ||
1620 | * doc/md.texi (Standard Names): Use @itemx for grouped items. | |
1621 | Remove blank line after @item. | |
1622 | ||
0bc11714 RH |
1623 | 2014-06-18 Richard Henderson <rth@redhat.com> |
1624 | ||
1625 | PR target/61545 | |
1626 | * config/aarch64/aarch64.md (tlsdesc_small_<PTR>): Clobber CC_REGNUM. | |
1627 | ||
7b5b78b1 CB |
1628 | 2014-06-18 Charles Baylis <charles.baylis@linaro.org> |
1629 | ||
1630 | * config/arm/arm.c (neon_vector_mem_operand): Allow register | |
1631 | POST_MODIFY for neon loads and stores. | |
1632 | (arm_print_operand): Output post-index register for neon loads and | |
1633 | stores. | |
1634 | ||
54ed41ea RB |
1635 | 2014-06-18 Richard Biener <rguenther@suse.de> |
1636 | ||
1637 | * tree-ssa-dce.c (perform_tree_ssa_dce): Fixup bogus commit. | |
1638 | ||
30866dc9 RB |
1639 | 2014-06-18 Richard Biener <rguenther@suse.de> |
1640 | ||
1641 | * tree-pass.h (make_pass_dce_loop): Remove. | |
1642 | * passes.def: Replace pass_dce_loop with pass_dce. | |
1643 | * tree-ssa-dce.c (perform_tree_ssa_dce): If something | |
1644 | changed free niter estimates and reset the scev cache. | |
1645 | (tree_ssa_dce_loop, pass_data_dce_loop, pass_dce_loop, | |
1646 | make_pass_dce_loop): Remove. | |
1647 | * tree-ssa-copy.c: Include tree-ssa-loop-niter.h. | |
1648 | (fini_copy_prop): Return whether something changed. Always | |
1649 | let substitute_and_fold perform DCE and free niter estimates | |
1650 | and reset the scev cache if so. | |
1651 | (execute_copy_prop): If sth changed schedule cleanup-cfg. | |
1652 | (pass_data_copy_prop): Do not unconditionally schedule | |
1653 | cleanup-cfg or update-ssa. | |
1654 | ||
560c75e9 YR |
1655 | 2014-06-18 Yuri Rumyantsev <ysrumyan@gmail.com> |
1656 | ||
1657 | PR tree-optimization/61518 | |
1658 | * tree-if-conv.c (is_cond_scalar_reduction): Add missed check that | |
1659 | reduction var is used in reduction stmt or phi-function only. | |
1660 | ||
751738cb KT |
1661 | 2014-06-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
1662 | ||
1663 | * config/arm/arm_neon.h (vadd_f32): Change #ifdef to __FAST_MATH. | |
1664 | ||
a31d2741 TP |
1665 | 2014-06-18 Thomas Preud'homme <thomas.preudhomme@arm.com> |
1666 | ||
1667 | PR tree-optimization/61517 | |
1668 | * tree-ssa-math-opts.c (find_bswap_or_nop_1): Adapt to return a stmt | |
1669 | whose rhs's first tree is the source expression instead of the | |
1670 | expression itself. | |
1671 | (find_bswap_or_nop): Likewise. | |
1672 | (bsap_replace): Rename stmt in cur_stmt. Pass gsi by value and src as a | |
1673 | gimple stmt whose rhs's first tree is the source. In the memory source | |
1674 | case, move the stmt to be replaced close to one of the original load to | |
1675 | avoid the problem of a store between the load and the stmt's original | |
1676 | location. | |
1677 | (pass_optimize_bswap::execute): Adapt to change in bswap_replace's | |
1678 | signature. | |
1679 | ||
a0f37b26 AS |
1680 | 2014-06-18 Andreas Schwab <schwab@suse.de> |
1681 | ||
1682 | PR rtl-optimization/54555 | |
1683 | * postreload.c (move2add_use_add2_insn): Substitute | |
1684 | STRICT_LOW_PART only if it is cheaper. | |
1685 | ||
9fdb837f UB |
1686 | 2014-06-18 Uros Bizjak <ubizjak@gmail.com> |
1687 | ||
1688 | * config/i386/i386.md (*sibcall_memory): Rename from *sibcall_intern. | |
1689 | Do not use unspec as call operand. Use memory_operand instead of | |
1690 | memory_nox32_operand and add "m" operand constraint. Disable | |
1691 | pattern for TARGET_X32. | |
1692 | (*sibcall_pop_memory): Ditto. | |
1693 | (*sibcall_value_memory): Ditto. | |
1694 | (*sibcall_value_pop_memory): Ditto. | |
1695 | (sibcall peepholes): Merge SImode and DImode patterns using | |
1696 | W mode iterator. Use memory_operand instead of memory_nox32_operand. | |
1697 | Disable pattern for TARGET_X32. Check if eliminated register is | |
1698 | really dead after call insn. Generate call RTX without unspec operand. | |
1699 | (sibcall_value peepholes): Ditto. | |
1700 | (sibcall_pop peepholes): Fix call insn RTXes. Use memory_operand | |
1701 | instead of memory_nox32_operand. Check if eliminated register is | |
1702 | really dead after call insn. Generate call RTX without unspec operand. | |
1703 | (sibcall_value_pop peepholes): Ditto. | |
1704 | * config/i386/predicates.md (memory_nox32_operand): Remove predicate. | |
1705 | ||
35d147ef TG |
1706 | 2014-06-18 Terry Guo <terry.guo@arm.com> |
1707 | ||
1708 | PR target/61544 | |
1709 | * config/arm/arm.c (thumb1_reorg): Move to next basic block if we | |
1710 | reach the head. | |
1711 | ||
c41f1c42 BE |
1712 | 2014-06-18 Olivier Hainque <hainque@adacore.com> |
1713 | ||
1714 | * tree-core.h (tree_block): Add an "end_locus" field, allowing | |
1715 | memorization of the end of block source location. | |
1716 | * tree.h (BLOCK_SOURCE_END_LOCATION): New accessor. | |
1717 | * gimplify.c (gimplify_bind_expr): Propagate the block start and | |
1718 | end source location info we have on the block entry/exit code we | |
1719 | generate. | |
1720 | ||
68f6df73 RB |
1721 | 2014-06-18 Richard Biener <rguenther@suse.de> |
1722 | ||
1723 | * common.opt (fssa-phiopt): New option. | |
1724 | * opts.c (default_options_table): Enable -fssa-phiopt with -O1+ | |
1725 | but not with -Og. | |
1726 | * tree-ssa-phiopt.c (pass_phiopt): Add gate method. | |
1727 | * doc/invoke.texi (-fssa-phiopt): Document. | |
1728 | ||
419d45db KT |
1729 | 2014-06-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
1730 | ||
1731 | * genattrtab.c (n_bypassed): New variable. | |
1732 | (process_bypasses): Initialise n_bypassed. | |
1733 | Count number of bypassed reservations. | |
1734 | (make_automaton_attrs): Allocate space for bypassed reservations | |
1735 | rather than number of bypasses. | |
1736 | ||
25b7069a RB |
1737 | 2014-06-18 Richard Biener <rguenther@suse.de> |
1738 | ||
1739 | * tree-ssa-propagate.c (replace_phi_args_in): Return whether | |
1740 | we propagated anything. | |
1741 | (substitute_and_fold_dom_walker::before_dom_children): Something | |
1742 | changed if we propagated into PHI arguments. | |
1743 | * tree-ssa-pre.c (eliminate): Always schedule cfg-cleanup if | |
1744 | we removed a stmt. | |
1745 | ||
f7917029 ES |
1746 | 2014-06-18 Evgeny Stupachenko <evstupac@gmail.com> |
1747 | ||
1748 | * config/i386/i386.c (ix86_reassociation_width): Add alternative for | |
1749 | vector case. | |
1750 | * config/i386/i386.h (TARGET_VECTOR_PARALLEL_EXECUTION): New. | |
1751 | * config/i386/x86-tune.def (X86_TUNE_VECTOR_PARALLEL_EXECUTION): New. | |
1752 | * tree-vect-data-refs.c (vect_shift_permute_load_chain): New. | |
1753 | Introduces alternative way of loads group permutaions. | |
1754 | (vect_transform_grouped_load): Try alternative way of permutations. | |
1755 | ||
f014c653 JJ |
1756 | 2014-06-18 Jakub Jelinek <jakub@redhat.com> |
1757 | ||
9fdb837f UB |
1758 | * gimplify.c (omp_notice_variable): If n is non-NULL and no flags |
1759 | changed in ORT_TARGET region, don't jump to do_outer. | |
f014c653 JJ |
1760 | (struct gimplify_adjust_omp_clauses_data): New type. |
1761 | (gimplify_adjust_omp_clauses_1): Adjust for data being | |
1762 | a struct gimplify_adjust_omp_clauses_data pointer instead | |
1763 | of tree *. Pass pre_p as a new argument to | |
1764 | lang_hooks.decls.omp_finish_clause hook. | |
1765 | (gimplify_adjust_omp_clauses): Add pre_p argument, adjust | |
1766 | splay_tree_foreach to pass both list_p and pre_p. | |
1767 | (gimplify_omp_parallel, gimplify_omp_task, gimplify_omp_for, | |
1768 | gimplify_omp_workshare, gimplify_omp_target_update): Adjust | |
1769 | gimplify_adjust_omp_clauses callers. | |
1770 | * langhooks.c (lhd_omp_finish_clause): New function. | |
1771 | * langhooks-def.h (lhd_omp_finish_clause): New prototype. | |
1772 | (LANG_HOOKS_OMP_FINISH_CLAUSE): Define to lhd_omp_finish_clause. | |
1773 | * langhooks.h (struct lang_hooks_for_decls): Add a new | |
1774 | gimple_seq * argument to omp_finish_clause hook. | |
1775 | * omp-low.c (scan_sharing_clauses): Call scan_omp_op on | |
1776 | non-DECL_P OMP_CLAUSE_DECL if ctx->outer. | |
1777 | (scan_omp_parallel, lower_omp_for): When adding | |
9fdb837f | 1778 | _LOOPTEMP_ clause var, add it to outer ctx's decl_map as identity. |
f014c653 JJ |
1779 | * tree-core.h (OMP_CLAUSE_MAP_TO_PSET): New map kind. |
1780 | * tree-nested.c (convert_nonlocal_omp_clauses, | |
1781 | convert_local_omp_clauses): Handle various OpenMP 4.0 clauses. | |
9fdb837f | 1782 | * tree-pretty-print.c (dump_omp_clause): Handle OMP_CLAUSE_MAP_TO_PSET. |
f014c653 | 1783 | |
f2918c18 AM |
1784 | 2014-06-17 Andrew MacLeod <amacleod@redhat.com> |
1785 | ||
1786 | * tree-dfa.h (get_addr_base_and_unit_offset_1): Move from here. | |
1787 | * tree-dfa.c (get_addr_base_and_unit_offset_1): To here. | |
1788 | ||
90d0d8d3 XDL |
1789 | 2014-06-17 Xinliang David Li <davidxl@google.com> |
1790 | ||
1791 | * tree-pretty-print.c (dump_function_header): Print cgraph uid. | |
1792 | * passes.c (pass_init_dump_file): Do not set initialize | |
1793 | flag to false unconditionally. | |
1794 | ||
75509ba2 RB |
1795 | 2014-06-17 Richard Biener <rguenther@suse.de> |
1796 | ||
1797 | * genopinit.c (main): Use vec<>::qsort method. | |
1798 | * tree-ssa-loop-niter.c (discover_iteration_bound_by_body_walk): | |
1799 | Likewise. | |
1800 | * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Likewise. | |
1801 | ||
e58b74ea MF |
1802 | 2014-06-17 Matthew Fortune <matthew.fortune@imgtec.com> |
1803 | ||
1804 | * config/mips/mips-protos.h (mips_expand_fcc_reload): Remove. | |
1805 | * config/mips/mips.c (mips_expand_fcc_reload): Remove. | |
1806 | (mips_move_to_gpr_cost): Remove ST_REGS case. | |
1807 | (mips_move_from_gpr_cost): Likewise. | |
1808 | (mips_register_move_cost): Likewise. | |
1809 | (mips_secondary_reload_class): Likewise. | |
1810 | ||
9e4f27ef RB |
1811 | 2014-06-17 Richard Biener <rguenther@suse.de> |
1812 | ||
1813 | * passes.def (pass_all_early_optimizations): Remove copy-prop pass. | |
1814 | (pass_all_optimizations): Move 3rd copy-prop pass from after | |
1815 | fre to before ifcombine/phiopt. | |
1816 | ||
866f20d6 RB |
1817 | 2014-06-17 Richard Biener <rguenther@suse.de> |
1818 | ||
1819 | * tree-switch-conversion.c (collect_switch_conv_info): Simplify | |
1820 | and allow all blocks to be forwarders. | |
1821 | ||
3abf17cf YZ |
1822 | 2014-06-17 Yufeng Zhang <yufeng.zhang@arm.com> |
1823 | ||
1824 | PR target/61483 | |
1825 | * config/aarch64/aarch64.c (aarch64_layout_arg): Add new local | |
1826 | variable 'size'; calculate 'size' right in the front; use | |
1827 | 'size' to compute 'nregs' (when 'allocate_ncrn != 0') and | |
1828 | pcum->aapcs_stack_words. | |
1829 | ||
ba3cf9f1 NC |
1830 | 2014-06-17 Nick Clifton <nickc@redhat.com> |
1831 | ||
1832 | * config/msp430/msp430.md (mulhisi3): Add a NOP after the DINT. | |
1833 | (umulhi3, mulsidi3, umulsidi3): Likewise. | |
1834 | ||
7a75b6e2 TS |
1835 | 2014-06-17 Thomas Schwinge <thomas@codesourcery.com> |
1836 | ||
1837 | PR middle-end/61508 | |
1838 | * fold-const.c (fold_checksum_tree) <TS_DECL_WITH_VIS>: Remove | |
1839 | check for section name. | |
1840 | ||
ec18e2eb RB |
1841 | 2014-06-17 Richard Biener <rguenther@suse.de> |
1842 | ||
1843 | * tree-ssa-propagate.c: Include domwalk.h. | |
1844 | (substitute_and_fold): Outline main worker into a domwalker ... | |
1845 | (substitute_and_fold_dom_walker::before_dom_children): ... here. | |
1846 | Schedule stmts we can fully propagate for removal. Remove | |
1847 | poor-mans DCE. | |
1848 | (substitute_and_fold): Apply a dominator walk to perform | |
1849 | substitution. Process stmts scheduled for removal here. | |
1850 | ||
a4ab23b6 RB |
1851 | 2014-06-17 Richard Biener <rguenther@suse.de> |
1852 | ||
1853 | * tree-ssa-loop-im.c (determine_max_movement): Adjust cost | |
1854 | of PHI node moving. | |
1855 | ||
5db37871 KV |
1856 | 2014-06-17 Kugan Vivekanandarajah <kuganv@linaro.org> |
1857 | ||
1858 | * config/arm/arm.c (arm_atomic_assign_expand_fenv): call | |
1859 | default_atomic_assign_expand_fenv for !TARGET_HARD_FLOAT. | |
1860 | (arm_init_builtins) : Initialize builtins __builtins_arm_set_fpscr and | |
1861 | __builtins_arm_get_fpscr only when TARGET_HARD_FLOAT. | |
1862 | * config/arm/vfp.md (set_fpscr): Make pattern conditional on | |
1863 | TARGET_HARD_FLOAT. | |
1864 | (get_fpscr) : Likewise. | |
1865 | ||
ba38538f VM |
1866 | 2014-06-16 Vladimir Makarov <vmakarov@redhat.com> |
1867 | ||
1868 | PR rtl-optimization/61325 | |
1869 | * lra-constraints.c (valid_address_p): Add forward declaration. | |
1870 | (simplify_operand_subreg): Check address validity before and after | |
1871 | alter_reg of memory subreg. | |
1872 | ||
7049aed6 UB |
1873 | 2014-06-16 Uros Bizjak <ubizjak@gmail.com> |
1874 | ||
1875 | * config/i386/i386.c (decide_alg): Correctly handle | |
1876 | maximum size of stringop algorithm. | |
1877 | ||
241e298a YG |
1878 | 2014-06-16 Yury Gribov <y.gribov@samsung.com> |
1879 | ||
1880 | * asan.c (build_check_stmt): Fix maybe-uninitialized warning. | |
1881 | ||
1df2287f VM |
1882 | 2014-06-16 Vladimir Makarov <vmakarov@redhat.com> |
1883 | ||
1884 | PR rtl-optimization/61522 | |
7049aed6 | 1885 | * lra-assigns.c (assign_by_spills): Check null targetm.spill_class. |
1df2287f | 1886 | |
da66d596 JH |
1887 | 2014-06-16 Jan Hubicka <hubicka@ucw.cz> |
1888 | ||
1889 | Revert: | |
1890 | * symtab.c (symtab_node::reset_section): New method. | |
1891 | * cgraph.c (cgraph_node_cannot_be_local_p_1): Accept non-local | |
1892 | for localization. | |
1893 | * cgraph.h (reset_section): Declare. | |
1894 | * ipa-inline-analysis.c (do_estimate_growth): Check for comdat groups; | |
1895 | do not consider comdat locals. | |
1896 | * cgraphclones.c (set_new_clone_decl_and_node_flags): Get section | |
1897 | for new symbol. | |
1898 | * ipa-visiblity.c (cgraph_externally_visible_p): Cleanup. | |
1899 | (update_visibility_by_resolution_info): Consider UNDEF; fix checking; | |
1900 | reset sections of symbols dragged out of the comdats. | |
9fdb837f UB |
1901 | (function_and_variable_visibility): Reset sections of |
1902 | localized symbols. | |
da66d596 | 1903 | |
9e9f6bf0 RB |
1904 | 2014-06-16 Richard Biener <rguenther@suse.de> |
1905 | ||
1906 | PR tree-optimization/61482 | |
1907 | * tree-vrp.c (adjust_range_with_scev): Avoid setting of | |
1908 | [-INF(OVF), +INF(OVF)] range. | |
1909 | ||
2bd4bfee GG |
1910 | 2014-06-16 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com> |
1911 | ||
7964957f AS |
1912 | * config/i386/i386.c (ix86_expand_sse2_mulvxdi3): Issue |
1913 | instructions "vpmuludq" and "vpaddq" instead of "vpmacsdql" for | |
2bd4bfee GG |
1914 | handling 32-bit multiplication. |
1915 | ||
debd8f30 CLT |
1916 | 2014-06-16 Chung-Lin Tang <cltang@codesourcery.com> |
1917 | ||
1918 | PR middle-end/61430 | |
1919 | * lra-lives.c (process_bb_lives): Skip creating copy during | |
1920 | insn scan when src/dest has constrained to same regno. | |
1921 | ||
6192fa79 JH |
1922 | 2014-06-15 Jan Hubicka <hubicka@ucw.cz> |
1923 | ||
1924 | * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Check again | |
1925 | DECL_IN_CONSTANT_POOL and TREE_ASM_WRITTEN. | |
1926 | ||
8946c29e YG |
1927 | 2014-06-16 Yury Gribov <y.gribov@samsung.com> |
1928 | ||
1929 | * asan.c (check_func): New function. | |
1930 | (maybe_create_ssa_name): Likewise. | |
1931 | (build_check_stmt_with_calls): Likewise. | |
1932 | (use_calls_p): Likewise. | |
1933 | (report_error_func): Change interface. | |
1934 | (build_check_stmt): Allow non-integer lengths; add support | |
1935 | for new parameter. | |
1936 | (asan_instrument): Likewise. | |
7049aed6 | 1937 | (instrument_mem_region_access): Moved code to build_check_stmt. |
8946c29e YG |
1938 | (instrument_derefs): Likewise. |
1939 | (instrument_strlen_call): Likewise. | |
7049aed6 | 1940 | * cfgcleanup.c (old_insns_match_p): Add support for new functions. |
8946c29e YG |
1941 | * doc/invoke.texi: Describe new parameter. |
1942 | * params.def: Define new parameter. | |
1943 | * params.h: Likewise. | |
1944 | * sanitizer.def: Describe new builtins. | |
1945 | ||
5d5cb4d4 RB |
1946 | 2014-06-16 Richard Biener <rguenther@suse.de> |
1947 | ||
1948 | * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): | |
1949 | Make all defs available at the end. | |
1950 | (eliminate): If we remove a PHI node schedule cfg-cleanup. | |
1951 | ||
4e4fa3c5 JJ |
1952 | 2014-06-18 Jakub Jelinek <jakub@redhat.com> |
1953 | ||
1954 | PR plugins/45078 | |
1955 | * config.gcc (arm*-*-linux-*): Include vxworks-dummy.h in tm_file. | |
1956 | ||
737c262e RS |
1957 | 2014-06-16 Richard Sandiford <rdsandiford@googlemail.com> |
1958 | ||
1959 | PR bootstrap/61516 | |
1960 | * auto-inc-dec.c (merge_in_block): Fix location of insn_info | |
1961 | initialization. Replace remaining use of uid. | |
1962 | ||
56363ffd JH |
1963 | 2014-06-15 Jan Hubicka <hubicka@ucw.cz> |
1964 | ||
7049aed6 UB |
1965 | * c-family/c-common.c (handle_tls_model_attribute): Use |
1966 | set_decl_tls_model. | |
5d5cb4d4 RB |
1967 | * c-family/c-common.c (handle_tls_model_attribute): Use |
1968 | set_decl_tls_model. | |
56363ffd JH |
1969 | * cgraph.h (struct varpool_node): Add tls_model. |
1970 | * tree.c (decl_tls_model, set_decl_tls_model): New functions. | |
1971 | * tree.h (DECL_TLS_MODEL): Update. | |
1972 | (DECL_THREAD_LOCAL_P): Check that variable is static. | |
1973 | (decl_tls_model): Declare. | |
1974 | (set_decl_tls_model): Declare. | |
1975 | * tree-emutls.c (get_emutls_init_templ_addr): First build decl and then | |
1976 | set symbol prorperties. | |
1977 | (get_emutls_init_templ_addr): Cleanup. | |
1978 | (new_emutls_decl): Update. | |
1979 | * lto-cgraph.c (lto_output_varpool_node): Stream TLS model | |
1980 | (lto_input_varpool_node): Likewise. | |
1981 | * lto-streamer-out.c (hash_tree): Likewise. | |
1982 | * tree-streamer-in.c (unpack_ts_decl_with_vis_value_fields): Do | |
1983 | not stream DECL_TLS_MODEL. | |
30256bef UB |
1984 | * tree-profile.c (init_ic_make_global_vars): Use set_decl_tls_model. |
1985 | * tree-core.h (tree_decl_with_vis): Remove tls_model; update comments. | |
56363ffd | 1986 | |
3bb5c996 RS |
1987 | 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com> |
1988 | ||
1989 | * df.h (DF_REF_REG_USE_P, DF_MWS_REG_USE_P): Remove null checks. | |
1990 | ||
b512946c RS |
1991 | 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com> |
1992 | ||
1993 | * df.h (df_mw_hardreg, df_base_ref): Add a link pointer. | |
1994 | (df_insn_info): Turn defs, uses, eq_uses and mw_hardregs into linked | |
1995 | lists. | |
1996 | (df_scan_bb_info): Likewise artificial_defs and artificial_uses. | |
1997 | (DF_REF_NEXT_LOC, DF_MWS_NEXT): New macros. | |
1998 | (FOR_EACH_INSN_INFO_DEF, FOR_EACH_INSN_INFO_USE) | |
1999 | (FOR_EACH_INSN_INFO_EQ_USE, FOR_EACH_INSN_INFO_MW) | |
2000 | (FOR_EACH_ARTIFICIAL_USE, FOR_EACH_ARTIFICIAL_DEF) | |
2001 | (df_get_artificial_defs, df_get_artificial_uses) | |
2002 | (df_single_def, df_single_use): Update accordingly. | |
2003 | (df_refs_chain_dump): Take the first element in a linked list as | |
2004 | parameter, rather than a pointer to an array of pointers. | |
2005 | * df-core.c (df_refs_chain_dump, df_mws_dump): Likewise. | |
2006 | * df-problems.c (df_rd_bb_local_compute_process_def): Likewise. | |
2007 | (df_chain_create_bb_process_use): Likewise. | |
2008 | (df_md_bb_local_compute_process_def): Likewise. | |
2009 | * fwprop.c (process_defs, process_uses): Likewise. | |
2010 | (register_active_defs, update_uses): Likewise. | |
2011 | (forward_propagate_asm): Update for new df_ref linking. | |
2012 | * df-scan.c (df_scan_free_ref_vec, df_scan_free_mws_vec): Delete. | |
2013 | (df_null_ref_rec, df_null_mw_rec): Likewise. | |
2014 | (df_scan_free_internal): Don't free df_ref and df_mw_hardreg lists | |
2015 | explicitly. | |
2016 | (df_scan_free_bb_info): Remove check for null artificial_defs. | |
2017 | (df_install_ref_incremental): Adjust for new df_ref linking. | |
2018 | Use a single-element insertion rather than a full sort. | |
2019 | (df_ref_chain_delete_du_chain): Take the first element | |
2020 | in a linked list as parameter, rather than a pointer to an array of | |
2021 | pointers. | |
2022 | (df_ref_chain_delete, df_mw_hardreg_chain_delete): Likewise. | |
2023 | (df_add_refs_to_table, df_refs_verify, df_mws_verify): Likewise. | |
2024 | (df_insn_info_delete): Remove check for null defs and call to | |
2025 | df_scan_free_mws_vec. | |
2026 | (df_insn_rescan): Initialize df_ref and df_mw_hardreg lists to | |
2027 | null rather than df_null_*_rec. | |
2028 | (df_insn_rescan_debug_internal): Likewise, and update null | |
2029 | checks in the same way. Remove check for null defs. | |
2030 | (df_ref_change_reg_with_loc_1): Fix choice of list for defs. | |
2031 | Move a single element rather doing a full sort. | |
2032 | (df_mw_hardreg_chain_delete_eq_uses): Adjust for new df_mw_hardreg | |
2033 | linking. | |
2034 | (df_notes_rescan): Likewise. Use a merge rather than a full sort. | |
2035 | Initialize df_ref and df_mw_hardreg lists to null rather than | |
2036 | df_null_*_rec. | |
2037 | (df_ref_compare): Take df_refs as parameter, transferring the | |
2038 | old interface to... | |
2039 | (df_ref_ptr_compare): ...this new function. | |
2040 | (df_sort_and_compress_refs): Update accordingly. | |
2041 | (df_mw_compare): Take df_mw_hardregs as parameter, transferring the | |
2042 | old interface to... | |
2043 | (df_mw_ptr_compare): ...this new function. | |
2044 | (df_sort_and_compress_mws): Update accordingly. | |
2045 | (df_install_refs, df_install_mws): Return a linked list rather than | |
2046 | an array of pointers. | |
2047 | (df_refs_add_to_chains): Assert that old lists are empty rather | |
2048 | than freeing them. | |
2049 | (df_insn_refs_verify): Don't handle null defs speciailly. | |
2050 | * web.c (union_match_dups): Update for new df_ref linking. | |
2051 | ||
5a474220 RS |
2052 | 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com> |
2053 | ||
2054 | * df.h (df_ref_create, df_ref_remove): Delete. | |
2055 | * df-scan.c (df_ref_create, df_ref_compress_rec): Likewise. | |
2056 | (df_ref_remove): Likewise. | |
2057 | ||
74e59b6c RS |
2058 | 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com> |
2059 | ||
2060 | * df.h (df_single_def, df_single_use): New functions. | |
2061 | * ira.c (find_moveable_pseudos): Use them. | |
2062 | ||
fc8e9f58 RS |
2063 | 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com> |
2064 | ||
2065 | * df.h (FOR_EACH_INSN_INFO_MW): New macro. | |
2066 | * df-problems.c (df_note_bb_compute): Use it. | |
2067 | * regstat.c (regstat_bb_compute_ri): Likewise. | |
2068 | ||
292321a5 RS |
2069 | 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com> |
2070 | ||
2071 | * df.h (FOR_EACH_ARTIFICIAL_USE, FOR_EACH_ARTIFICIAL_DEF): New macros. | |
2072 | * cse.c (cse_extended_basic_block): Use them. | |
2073 | * dce.c (mark_artificial_use): Likewise. | |
2074 | * df-problems.c (df_rd_simulate_artificial_defs_at_top): Likewise. | |
2075 | (df_lr_bb_local_compute, df_live_bb_local_compute): Likewise. | |
2076 | (df_chain_remove_problem, df_chain_bb_dump): Likewise. | |
2077 | (df_word_lr_bb_local_compute, df_note_bb_compute): Likewise. | |
2078 | (df_simulate_initialize_backwards): Likewise. | |
2079 | (df_simulate_finalize_backwards): Likewise. | |
2080 | (df_simulate_initialize_forwards): Likewise. | |
2081 | (df_md_simulate_artificial_defs_at_top): Likewise. | |
2082 | * df-scan.c (df_reorganize_refs_by_reg_by_insn): Likewise. | |
2083 | * regrename.c (init_rename_info): Likewise. | |
2084 | * regstat.c (regstat_bb_compute_ri): Likewise. | |
2085 | (regstat_bb_compute_calls_crossed): Likewise. | |
2086 | ||
bfac633a RS |
2087 | 2014-06-15 Richard Sandiford <rdsandiford@googlemail.com> |
2088 | ||
2089 | * df.h (DF_INSN_INFO_MWS, FOR_EACH_INSN_INFO_DEF): New macros. | |
2090 | (FOR_EACH_INSN_INFO_USE, FOR_EACH_INSN_INFO_EQ_USE): Likewise. | |
2091 | (FOR_EACH_INSN_DEF, FOR_EACH_INSN_USE, FOR_EACH_INSN_EQ_USE): Likewise. | |
2092 | * auto-inc-dec.c (find_inc, merge_in_block): Use them. | |
2093 | * combine.c (create_log_links): Likewise. | |
2094 | * compare-elim.c (find_flags_uses_in_insn): Likewise. | |
2095 | (try_eliminate_compare): Likewise. | |
2096 | * cprop.c (make_set_regs_unavailable, mark_oprs_set): Likewise. | |
2097 | * dce.c (deletable_insn_p, find_call_stack_args): Likewise. | |
2098 | (remove_reg_equal_equiv_notes_for_defs): Likewise. | |
2099 | (reset_unmarked_insns_debug_uses, mark_reg_dependencies): Likewise. | |
2100 | (word_dce_process_block, dce_process_block): Likewise. | |
2101 | * ddg.c (def_has_ccmode_p): Likewise. | |
2102 | * df-core.c (df_bb_regno_first_def_find): Likewise. | |
2103 | (df_bb_regno_last_def_find, df_find_def, df_find_use): Likewise. | |
2104 | * df-problems.c (df_rd_simulate_one_insn): Likewise. | |
2105 | (df_lr_bb_local_compute, df_live_bb_local_compute): Likewise. | |
2106 | (df_chain_remove_problem, df_chain_insn_top_dump): Likewise. | |
2107 | (df_chain_insn_bottom_dump, df_word_lr_bb_local_compute): Likewise. | |
2108 | (df_word_lr_simulate_defs, df_word_lr_simulate_uses): Likewise. | |
2109 | (df_remove_dead_eq_notes, df_note_bb_compute): Likewise. | |
2110 | (df_simulate_find_defs, df_simulate_find_uses): Likewise. | |
2111 | (df_simulate_find_noclobber_defs, df_simulate_defs): Likewise. | |
2112 | (df_simulate_uses, df_md_simulate_one_insn): Likewise. | |
2113 | * df-scan.c (df_reorganize_refs_by_reg_by_insn): Likewise. | |
2114 | * fwprop.c (local_ref_killed_between_p): Likewise. | |
2115 | (all_uses_available_at, free_load_extend): Likewise. | |
2116 | * gcse.c (update_bb_reg_pressure, calculate_bb_reg_pressure): Likewise. | |
2117 | * hw-doloop.c (scan_loop): Likewise. | |
2118 | * ifcvt.c (dead_or_predicable): Likewise. | |
2119 | * init-regs.c (initialize_uninitialized_regs): Likewise. | |
2120 | * ira-lives.c (mark_hard_reg_early_clobbers): Likewise. | |
2121 | (process_bb_node_lives): Likewise. | |
2122 | * ira.c (compute_regs_asm_clobbered, build_insn_chain): Likewise. | |
2123 | (find_moveable_pseudos): Likewise. | |
2124 | * loop-invariant.c (check_dependencies, record_uses): Likewise. | |
2125 | * recog.c (peep2_find_free_register): Likewise. | |
2126 | * ree.c (get_defs): Likewise. | |
2127 | * regstat.c (regstat_bb_compute_ri): Likewise. | |
2128 | (regstat_bb_compute_calls_crossed): Likewise. | |
2129 | * sched-deps.c (find_inc, find_mem): Likewise. | |
2130 | * sel-sched-ir.c (maybe_downgrade_id_to_use): Likewise. | |
2131 | (maybe_downgrade_id_to_use, setup_id_reg_sets): Likewise. | |
2132 | * shrink-wrap.c (requires_stack_frame_p): Likewise. | |
2133 | (prepare_shrink_wrap): Likewise. | |
2134 | * store-motion.c (compute_store_table, build_store_vectors): Likewise. | |
2135 | * web.c (union_defs, pass_web::execute): Likewise. | |
2136 | * config/i386/i386.c (increase_distance, insn_defines_reg): Likewise. | |
2137 | (insn_uses_reg_mem, ix86_ok_to_clobber_flags): Likewise. | |
2138 | ||
9afb455c VM |
2139 | 2014-06-13 Vladimir Makarov <vmakarov@redhat.com> |
2140 | ||
2141 | * lra-assign.c (assign_by_spills): Add code to assign vector regs | |
2142 | to inheritance pseudos. | |
2143 | * config/i386/i386.c (ix86_spill_class): Add check on NO_REGS. | |
2144 | ||
8241efd1 PB |
2145 | 2014-06-13 Peter Bergner <bergner@vnet.ibm.com> |
2146 | ||
2147 | PR target/61415 | |
2148 | * config/rs6000/rs6000-builtin.def (BU_MISC_1): Delete. | |
2149 | (BU_MISC_2): Rename to ... | |
2150 | (BU_LDBL128_2): ... this. | |
2151 | * config/rs6000/rs6000.h (RS6000_BTM_LDBL128): New define. | |
2152 | (RS6000_BTM_COMMON): Add RS6000_BTM_LDBL128. | |
2153 | * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Handle | |
2154 | RS6000_BTM_LDBL128. | |
2155 | (rs6000_invalid_builtin): Add long double 128-bit builtin support. | |
2156 | (rs6000_builtin_mask_names): Add RS6000_BTM_LDBL128. | |
2157 | * config/rs6000/rs6000.md (unpacktf_0): Remove define)expand. | |
2158 | (unpacktf_1): Likewise. | |
2159 | * doc/extend.texi (__builtin_longdouble_dw0): Remove documentation. | |
2160 | (__builtin_longdouble_dw1): Likewise. | |
2161 | * doc/sourcebuild.texi (longdouble128): Document. | |
2162 | ||
c7ece684 JL |
2163 | 2014-06-13 Jeff Law <law@redhat.com> |
2164 | ||
2165 | PR rtl-optimization/61094 | |
2166 | PR rtl-optimization/61446 | |
2167 | * ree.c (combine_reaching_defs): Get the mode for the copy from | |
2168 | the extension insn rather than the defining insn. | |
2169 | ||
8e96d784 DC |
2170 | 2014-06-13 Dehao Chen <dehao@google.com> |
2171 | ||
2172 | * dwarf2out.c (add_linkage_name): Emit more linkage name. | |
2173 | ||
45b3824d TS |
2174 | 2014-06-13 Thomas Schwinge <thomas@codesourcery.com> |
2175 | ||
2176 | * doc/install.texi (--enable-linker-plugin-configure-flags) | |
2177 | (--enable-linker-plugin-flags): Document new flags. | |
2178 | ||
beb683ab MJ |
2179 | 2014-06-13 Martin Jambor <mjambor@suse.cz> |
2180 | ||
2181 | PR ipa/61186 | |
2182 | * ipa-devirt.c (possible_polymorphic_call_targets): Store NULL to | |
2183 | cache_token if returning early. | |
2184 | ||
f6c43824 NC |
2185 | 2014-06-13 Nick Clifton <nickc@redhat.com> |
2186 | ||
2187 | * config/rx/rx.h (JUMP_ALIGN): Return the log value if user | |
2188 | requested alignment is active. | |
2189 | (LABEL_ALIGN): Likewise. | |
2190 | (LOOP_ALIGN): Likewise. | |
2191 | ||
6aa4c5b6 RB |
2192 | 2014-06-13 Richard Biener <rguenther@suse.de> |
2193 | ||
2194 | * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): | |
2195 | Rewrite to propagate the VN result into all uses where | |
2196 | possible and to remove stmts becoming dead because of that. | |
2197 | (eliminate): Generalize stmt removal handling, remove in | |
2198 | reverse dominator order to support proper debug stmt | |
2199 | generation. Update stmts before removing stmts. | |
7049aed6 | 2200 | * tree-ssa-propagate.c (propagate_tree_value): Remove bogus assert. |
6aa4c5b6 | 2201 | |
ca6cbdca TP |
2202 | 2014-06-13 Thomas Preud'homme <thomas.preudhomme@arm.com> |
2203 | ||
2204 | PR tree-optimization/61375 | |
2205 | * tree-ssa-math-opts.c (init_symbolic_number): Cancel optimization if | |
2206 | symbolic number cannot be represented in an uint64_t. | |
2207 | (find_bswap_or_nop_1): Likewise. | |
2208 | ||
24e49ea0 JH |
2209 | 2014-06-12 Jan Hubicka <hubicka@ucw.cz> |
2210 | ||
2211 | * symtab.c (symtab_node::reset_section): New method. | |
2212 | * cgraph.c (cgraph_node_cannot_be_local_p_1): Accept non-local | |
2213 | for localization. | |
2214 | * cgraph.h (reset_section): Declare. | |
2215 | * ipa-inline-analysis.c (do_estimate_growth): Check for comdat groups; | |
2216 | do not consider comdat locals. | |
2217 | * cgraphclones.c (set_new_clone_decl_and_node_flags): Get section | |
2218 | for new symbol. | |
2219 | * ipa-visiblity.c (cgraph_externally_visible_p): Cleanup. | |
2220 | (update_visibility_by_resolution_info): Consider UNDEF; fix checking; | |
2221 | reset sections of symbols dragged out of the comdats. | |
7049aed6 UB |
2222 | (function_and_variable_visibility): Reset sections of |
2223 | localized symbols. | |
24e49ea0 | 2224 | |
6ad386b7 JH |
2225 | 2014-06-12 Jan Hubicka <hubicka@ucw.cz> |
2226 | ||
2227 | * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Reorg | |
2228 | to use symtab and decl_binds_to_current_def_p | |
2229 | * tree-vectorizer.c (increase_alignment): Increase alignment | |
2230 | of alias target, too. | |
2231 | ||
9cf32741 JJ |
2232 | 2014-06-12 Jakub Jelinek <jakub@redhat.com> |
2233 | ||
2234 | PR middle-end/61486 | |
2235 | * gimplify.c (struct gimplify_omp_ctx): Add distribute field. | |
2236 | (gimplify_adjust_omp_clauses): Don't or in GOVD_LASTPRIVATE | |
2237 | if outer combined construct is distribute. | |
2238 | (gimplify_omp_for): For OMP_DISTRIBUTE set | |
2239 | gimplify_omp_ctxp->distribute. | |
2240 | * omp-low.c (scan_sharing_clauses) <case OMP_CLAUSE_SHARED>: For | |
2241 | GIMPLE_OMP_TEAMS, if decl isn't global in outer context, record | |
2242 | mapping into decl map. | |
2243 | ||
ca0e51a0 JM |
2244 | 2014-06-12 Jason Merrill <jason@redhat.com> |
2245 | ||
2246 | * common.opt (fabi-version): Change default to 0. | |
2247 | ||
90d84934 JM |
2248 | 2014-06-12 Jason Merrill <jason@redhat.com> |
2249 | ||
2250 | * toplev.c (process_options): Reject -fabi-version=1. | |
2251 | ||
551a6341 JL |
2252 | 2014-06-12 Jeff Law <law@redhat.com> |
2253 | ||
7964957f | 2254 | PR tree-optimization/61009 |
551a6341 JL |
2255 | * tree-ssa-threadedge.c (thread_through_normal_block): Correct return |
2256 | value when we stop processing a block due to problematic PHIs. | |
2257 | ||
5eba0999 AL |
2258 | 2014-06-12 Alan Lawrence <alan.lawrence@arm.com> |
2259 | ||
2260 | * config/aarch64/arm_neon.h (vmlaq_n_f64, vmlsq_n_f64, vrsrtsq_f64, | |
2261 | vcge_p8, vcgeq_p8, vcgez_p8, vcgez_u8, vcgez_u16, vcgez_u32, vcgez_u64, | |
2262 | vcgezq_p8, vcgezq_u8, vcgezq_u16, vcgezq_u32, vcgezq_u64, vcgezd_u64, | |
2263 | vcgt_p8, vcgtq_p8, vcgtz_p8, vcgtz_u8, vcgtz_u16, vcgtz_u32, vcgtz_u64, | |
2264 | vcgtzq_p8, vcgtzq_u8, vcgtzq_u16, vcgtzq_u32, vcgtzq_u64, vcgtzd_u64, | |
2265 | vcle_p8, vcleq_p8, vclez_p8, vclez_u64, vclezq_p8, vclezd_u64, vclt_p8, | |
7049aed6 UB |
2266 | vcltq_p8, vcltz_p8, vcltzq_p8, vcltzd_u64): Remove functions as they |
2267 | are not in the spec. | |
5eba0999 | 2268 | |
ad7d90cc AL |
2269 | 2014-06-10 Alan Lawrence <alan.lawrence@arm.com> |
2270 | ||
2271 | PR target/59843 | |
2272 | * config/aarch64/aarch64-modes.def: Add V1DFmode. | |
2273 | * config/aarch64/aarch64.c (aarch64_vector_mode_supported_p): | |
2274 | Support V1DFmode. | |
2275 | ||
9c85aeb6 EB |
2276 | 2014-06-12 Eric Botcazou <ebotcazou@adacore.com> |
2277 | ||
2278 | * tree-core.h (DECL_NONALIASED): Use proper spelling in comment. | |
2279 | ||
c407027e GJL |
2280 | 2014-06-12 Georg-Johann Lay <avr@gjlay.de> |
2281 | ||
2282 | PR target/61443 | |
2283 | * config/avr/avr.md (push<mode>1): Avoid (subreg(mem)) when | |
2284 | loading from address spaces. | |
2285 | ||
3c9e6fca ML |
2286 | 2014-06-12 Martin Liska <mliska@suse.cz> |
2287 | ||
2288 | PR ipa/61462 | |
2289 | * ipa-prop.c (ipa_make_edge_direct_to_target): Check that gimple call | |
7964957f | 2290 | statement is reachable. |
3c9e6fca | 2291 | |
f961457f JH |
2292 | 2014-06-11 Jan Hubicka <hubicka@ucw.cz> |
2293 | ||
2294 | * symtab.c (section_hash): New hash. | |
2295 | (symtab_unregister_node): Clear section before freeing. | |
2296 | (hash_section_hash_entry): New haser. | |
2297 | (eq_sections): New function. | |
2298 | (symtab_node::set_section_for_node): New method. | |
2299 | (set_section_1): Update. | |
2300 | (symtab_node::set_section): Take string instead of tree as parameter. | |
2301 | (symtab_resolve_alias): Update. | |
2302 | * cgraph.h (section_hash_entry_d): New structure. | |
2303 | (section_hash_entry): New typedef. | |
2304 | (cgraph_node): Change comdat_group_ to x_comdat_group, | |
2305 | change section_ to x_section and turn into section_hash_entry; | |
2306 | update accestors; put set_section_for_node offline. | |
2307 | * tree.c (decl_section_name): Turn into string. | |
2308 | (set_decl_section_name): Change parameter to be string. | |
2309 | * tree.h (decl_section_name, set_decl_section_name): Update prototypes. | |
2310 | * sdbout.c (sdbout_one_type): Update. | |
2311 | * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Update. | |
9fdb837f UB |
2312 | * varasm.c (IN_NAMED_SECTION, get_named_section, |
2313 | resolve_unique_section, hot_function_section, get_named_text_section, | |
7049aed6 UB |
2314 | USE_SELECT_SECTION_FOR_FUNCTIONS, default_function_rodata_section, |
2315 | make_decl_rtl, default_unique_section): Update. | |
f961457f JH |
2316 | * config/c6x/c6x.c (c6x_in_small_data_p): Update. |
2317 | (c6x_elf_unique_section): Update. | |
2318 | * config/nios2/nios2.c (nios2_in_small_data_p): Update. | |
2319 | * config/pa/pa.c (pa_function_section): Update. | |
2320 | * config/pa/pa.h (IN_NAMED_SECTION_P): Update. | |
2321 | * config/ia64/ia64.c (ia64_in_small_data_p): Update. | |
2322 | * config/arc/arc.c (arc_in_small_data_p): Update. | |
2323 | * config/arm/unknown-elf.h (IN_NAMED_SECTION_P): Update. | |
2324 | * config/mcore/mcore.c (mcore_unique_section): Update. | |
2325 | * config/mips/mips.c (mips16_build_function_stub): Update. | |
2326 | (mips16_build_call_stub): Update. | |
2327 | (mips_function_rodata_section): Update. | |
2328 | (mips_in_small_data_p): Update. | |
2329 | * config/score/score.c (score_in_small_data_p): Update. | |
2330 | * config/rx/rx.c (rx_in_small_data): Update. | |
2331 | * config/rs6000/rs6000.c (rs6000_elf_in_small_data_p): Update. | |
2332 | (rs6000_xcoff_asm_named_section): Update. | |
2333 | (rs6000_xcoff_unique_section): Update. | |
2334 | * config/frv/frv.c (frv_string_begins_with): Update. | |
2335 | (frv_in_small_data_p): Update. | |
2336 | * config/v850/v850.c (v850_encode_data_area): Update. | |
2337 | * config/bfin/bfin.c (DECL_SECTION_NAME): Update. | |
2338 | (bfin_handle_l1_data_attribute): Update. | |
2339 | (bfin_handle_l2_attribute): Update. | |
2340 | * config/mep/mep.c (mep_unique_section): Update. | |
7049aed6 UB |
2341 | * config/microblaze/microblaze.c (microblaze_elf_in_small_data_p): |
2342 | Update. | |
f961457f JH |
2343 | * config/h8300/h8300.c (h8300_handle_eightbit_data_attribute): Update. |
2344 | (h8300_handle_tiny_data_attribute): Update. | |
2345 | * config/m32r/m32r.c (m32r_in_small_data_p): Update. | |
2346 | (m32r_in_small_data_p): Update. | |
2347 | * config/alpha/alpha.c (alpha_in_small_data_p): Update. | |
2348 | * config/i386/i386.c (ix86_in_large_data_p): Update. | |
2349 | * config/i386/winnt.c (i386_pe_unique_section): Update. | |
2350 | * config/darwin.c (darwin_function_section): Update. | |
2351 | * config/lm32/lm32.c (lm32_in_small_data_p): Update. | |
2352 | * tree-emutls.c (get_emutls_init_templ_addr): Update. | |
2353 | (new_emutls_decl): Update. | |
2354 | * lto-cgraph.c (lto_output_node, input_node, input_varpool_node, | |
2355 | input_varpool_node): Update. | |
2356 | (ead_string_cst): Turn to ... | |
2357 | (read_string): ... this one. | |
2358 | * dwarf2out.c (secname_for_decl): Update. | |
2359 | * asan.c (asan_protect_global): Update. | |
2360 | ||
1704a72b DD |
2361 | 2014-06-11 DJ Delorie <dj@redhat.com> |
2362 | ||
1cf1574d DD |
2363 | * config/rx/rx.h (FUNCTION_BOUNDARY): Adjust for RX100/200 4-byte |
2364 | cache lines. | |
2365 | * config/rx/rx.c (rx_option_override): Likewise. | |
2366 | (rx_align_for_label): Likewise. | |
2367 | ||
1704a72b DD |
2368 | * config/rx/rx.c (rx_max_skip_for_label): Don't skip anything if -Os. |
2369 | ||
37251385 MR |
2370 | 2014-06-11 Maciej W. Rozycki <macro@codesourcery.com> |
2371 | ||
2372 | * config/mmix/mmix-protos.h (mmix_asm_output_source_line): Remove | |
2373 | prototype. | |
2374 | ||
8677664e RS |
2375 | 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com> |
2376 | ||
2377 | * common.md: New file. | |
2378 | * doc/md.texi: Update description of generic, machine-independent | |
2379 | constraints. | |
2380 | * config/s390/constraints.md (e): Delete. | |
2381 | * Makefile.in (md_file): Include common.md. | |
2382 | * config/m32c/t-m32c (md_file): Likewise. | |
2383 | * genpreds.c (general_mem): New array. | |
2384 | (generic_constraint_letters): Remove constraints now defined by | |
2385 | common.md. | |
2386 | (add_constraint): Map TARGET_MEM_CONSTRAINT to general_mem. | |
2387 | Allow the first character to be '<' or '>' as well. | |
2388 | * genoutput.c (general_mem): New array. | |
2389 | (indep_constraints): Remove constraints now defined by common.md. | |
2390 | (note_constraint): Map TARGET_MEM_CONSTRAINT to general_mem. | |
2391 | Remove special handling of 'm'. | |
2392 | * ira-costs.c (record_reg_classes): Remove special handling of | |
2393 | constraints now defined by common.md. | |
2394 | * ira.c (ira_setup_alts, ira_get_dup_out_num): Likewise. | |
2395 | * ira-lives.c (single_reg_class): Likewise. | |
2396 | (ira_implicitly_set_insn_hard_regs): Likewise. | |
2397 | * lra-constraints.c (reg_class_from_constraints): Likewise. | |
2398 | (process_alt_operands, process_address, curr_insn_transform): Likewise. | |
2399 | * postreload.c (reload_cse_simplify_operands): Likewise. | |
2400 | * reload.c (push_secondary_reload, scratch_reload_class) | |
2401 | (find_reloads, alternative_allows_const_pool_ref): Likewise. | |
2402 | * reload1.c (maybe_fix_stack_asms): Likewise. | |
2403 | * targhooks.c (default_secondary_reload): Likewise. | |
2404 | * stmt.c (parse_output_constraint): Likewise. | |
2405 | * recog.c (preprocess_constraints): Likewise. | |
2406 | (constrain_operands, peep2_find_free_register): Likewise. | |
2407 | (asm_operand_ok): Likewise, but add a comment saying why 'o' | |
2408 | must be handled specially. | |
2409 | ||
7fd308cf RS |
2410 | 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com> |
2411 | ||
2412 | * system.h (CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Poison. | |
2413 | * genpreds.c (have_const_dbl_constraints): Delete. | |
2414 | (add_constraint): Don't set it. | |
2415 | (write_tm_preds_h): Don't call CONST_DOUBLE_OK_FOR_CONSTRAINT_P. | |
2416 | * ira-costs.c (record_reg_classes): Handle CONST_INT and CONST_DOUBLE | |
2417 | constraints using the lookup_constraint logic. | |
2418 | * ira-lives.c (single_reg_class): Likewise. | |
2419 | * ira.c (ira_setup_alts): Likewise. | |
2420 | * lra-constraints.c (process_alt_operands): Likewise. | |
2421 | * recog.c (asm_operand_ok, constrain_operands): Likewise. | |
2422 | * reload.c (find_reloads): Likewise. | |
2423 | ||
d9c35eee RS |
2424 | 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com> |
2425 | ||
2426 | * genpreds.c (const_int_start, const_int_end): New variables. | |
2427 | (choose_enum_order): Output CONST_INT constraints before memory | |
2428 | constraints. | |
2429 | (write_tm_preds_h): Always define insn_const_int_ok_for_constraint. | |
2430 | Add CT_CONST_INT. | |
2431 | * ira-costs.c (record_reg_classes): Handle CT_CONST_INT. | |
2432 | * ira.c (ira_setup_alts): Likewise. | |
2433 | * lra-constraints.c (process_alt_operands): Likewise. | |
2434 | * recog.c (asm_operand_ok, preprocess_constraints): Likewise. | |
2435 | * reload.c (find_reloads): Likewise. | |
2436 | ||
3c4c42e8 RS |
2437 | 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com> |
2438 | ||
2439 | * recog.h (operand_alternative): Remove offmem_ok, nonffmem_ok, | |
2440 | decmem_ok and incmem_ok. Reformat other bitfields for consistency. | |
2441 | * recog.c (preprocess_constraints): Update accordingly. | |
2442 | ||
777e635f RS |
2443 | 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com> |
2444 | ||
2445 | * system.h (REG_CLASS_FROM_CONSTRAINT): Poison. | |
2446 | (REG_CLASS_FOR_CONSTRAINT, EXTRA_CONSTRAINT_STR): Likewise. | |
2447 | (EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Likewise. | |
2448 | * genpreds.c (print_type_tree): New function. | |
2449 | (write_tm_preds_h): Remove REG_CLASS_FROM_CONSTRAINT, | |
2450 | REG_CLASS_FOR_CONSTRAINT, EXTRA_MEMORY_CONSTRAINT, | |
2451 | EXTRA_ADDRESS_CONSTRAINT and EXTRA_CONSTRAINT_STR. | |
2452 | Write out enum constraint_type and get_constraint_type. | |
2453 | * lra-constraints.c (satisfies_memory_constraint_p): Take a | |
2454 | constraint_num rather than a constraint string. | |
2455 | (satisfies_address_constraint_p): Likewise. | |
2456 | (reg_class_from_constraints): Avoid old constraint macros. | |
2457 | (process_alt_operands, process_address_1): Likewise. | |
2458 | (curr_insn_transform): Likewise. | |
2459 | * ira-costs.c (record_reg_classes): Likewise. | |
2460 | (record_operand_costs): Likewise. | |
2461 | * ira-lives.c (single_reg_class): Likewise. | |
2462 | (ira_implicitly_set_insn_hard_regs): Likewise. | |
2463 | * ira.c (ira_setup_alts, ira_get_dup_out_num): Likewise. | |
2464 | * postreload.c (reload_cse_simplify_operands): Likewise. | |
2465 | * recog.c (asm_operand_ok, preprocess_constraints): Likewise. | |
2466 | (constrain_operands, peep2_find_free_register): Likewise. | |
2467 | * reload.c (push_secondary_reload, scratch_reload_class): Likewise. | |
2468 | (find_reloads, alternative_allows_const_pool_ref): Likewise. | |
2469 | * reload1.c (maybe_fix_stack_asms): Likewise. | |
2470 | * stmt.c (parse_output_constraint, parse_input_constraint): Likewise. | |
2471 | * targhooks.c (default_secondary_reload): Likewise. | |
2472 | * config/m32c/m32c.c (m32c_matches_constraint_p): Avoid reference | |
2473 | to EXTRA_CONSTRAINT_STR. | |
2474 | * config/sparc/constraints.md (U): Likewise REG_CLASS_FROM_CONSTRAINT. | |
2475 | ||
9e6b7874 RS |
2476 | 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com> |
2477 | ||
2478 | * genpreds.c (write_constraint_satisfied_p_1): Replace with... | |
2479 | (write_constraint_satisfied_p_array): ...this new function. | |
2480 | (write_tm_preds_h): Replace write_constraint_satisfied_p_1 with | |
2481 | an array. | |
2482 | (write_insn_preds_c): Update accordingly. | |
2483 | ||
16a26e42 RS |
2484 | 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com> |
2485 | ||
2486 | * genpreds.c (write_lookup_constraint): Rename to... | |
2487 | (write_lookup_constraint_1): ...this. | |
2488 | (write_lookup_constraint_array): New function. | |
2489 | (write_tm_preds_h): Define lookup_constraint as an inline function | |
2490 | that uses write_lookup_constraint_array where possible. | |
2491 | (write_insn_preds_c): Update for the changes above. | |
2492 | ||
2aeedf58 RS |
2493 | 2014-06-11 Richard Sandiford <rdsandiford@googlemail.com> |
2494 | ||
2495 | * doc/md.texi (regclass_for_constraint): Rename to... | |
2496 | (reg_class_for_constraint): ...this. | |
2497 | * genpreds.c (num_constraints, enum_order, register_start) | |
2498 | (register_end, satisfied_start, memory_start, memory_end) | |
2499 | (address_start, address_end): New variables. | |
2500 | (add_constraint): Count the number of constraints. | |
2501 | (choose_enum_order): New function. | |
2502 | (write_enum_constraint_num): Iterate over enum_order. | |
2503 | (write_regclass_for_constraint): Rename to... | |
2504 | (write_reg_class_for_constraint_1): ...this and update output | |
2505 | accordingly. | |
2506 | (write_constraint_satisfied_p): Rename to... | |
2507 | (write_constraint_satisfied_p_1): ...this and update output | |
2508 | accordingly. Do nothing if all extra constraints are register | |
2509 | constraints. | |
2510 | (write_insn_extra_memory_constraint): Delete. | |
2511 | (write_insn_extra_address_constraint): Delete. | |
2512 | (write_range_function): New function. | |
2513 | (write_tm_preds_h): Define constraint_satisfied_p and | |
2514 | reg_class_for_constraint as inline functions that do a range check | |
2515 | before calling the out-of-line function. Use write_range_function | |
2516 | to implement insn_extra_{register,memory,address}_constraint, | |
2517 | the first of which is new. | |
2518 | (write_insn_preds_c): Update after above changes to write_* functions. | |
2519 | (main): Call choose_enum_order. | |
2520 | ||
698ff107 TP |
2521 | 2014-06-11 Thomas Preud'homme <thomas.preudhomme@arm.com> |
2522 | ||
2523 | PR tree-optimization/61306 | |
2524 | * tree-ssa-math-opts.c (struct symbolic_number): Store type of | |
2525 | expression instead of its size. | |
2526 | (do_shift_rotate): Adapt to change in struct symbolic_number. Return | |
2527 | false to prevent optimization when the result is unpredictable due to | |
2528 | arithmetic right shift of signed type with highest byte is set. | |
2529 | (verify_symbolic_number_p): Adapt to change in struct symbolic_number. | |
2530 | (init_symbolic_number): Likewise. | |
2531 | (find_bswap_or_nop_1): Likewise. Return NULL to prevent optimization | |
2532 | when the result is unpredictable due to sign extension. | |
2533 | ||
1d02d8b8 TG |
2534 | 2014-06-11 Terry Guo <terry.guo@arm.com> |
2535 | ||
2536 | * config/arm/arm.md (*thumb1_adddi3): Move into new file thumb1.md. | |
2537 | (*thumb1_addsi3): Ditto. | |
2538 | (*thumb_subdi3): Ditto. | |
2539 | (thumb1_subsi3_insn): Ditto. | |
2540 | (*thumb_mulsi3): Ditto. | |
2541 | (*thumb_mulsi3_v6): Ditto. | |
2542 | (*thumb1_andsi3_insn): Ditto. | |
2543 | (thumb1_bicsi3): Ditto. | |
2544 | (*thumb1_iorsi3_insn): Ditto. | |
2545 | (*thumb1_xorsi3_insn): Ditto. | |
2546 | (*thumb1_ashlsi3): Ditto. | |
2547 | (*thumb1_ashrsi3): Ditto. | |
2548 | (*thumb1_lshrsi3): Ditto. | |
2549 | (*thumb1_rotrsi3): Ditto. | |
2550 | (*thumb1_negdi2): Ditto. | |
2551 | (*thumb1_negsi2): Ditto. | |
2552 | (*thumb1_abssi2): Ditto. | |
2553 | (*thumb1_neg_abssi2): Ditto. | |
2554 | (*thumb1_one_cmplsi2): Ditto. | |
2555 | (*thumb1_zero_extendhisi2): Ditto. | |
2556 | (*thumb1_zero_extendqisi2): Ditto. | |
2557 | (*thumb1_zero_extendqisi2_v6): Ditto. | |
2558 | (thumb1_extendhisi2): Ditto. | |
2559 | (thumb1_extendqisi2): Ditto. | |
2560 | (*thumb1_movdi_insn): Ditto. | |
2561 | (*thumb1_movsi_insn): Ditto. | |
2562 | (*thumb1_movhi_insn): Ditto. | |
2563 | (thumb_movhi_clobber): Ditto. | |
2564 | (*thumb1_movqi_insn): Ditto. | |
2565 | (*thumb1_movhf): Ditto. | |
2566 | (*thumb1_movsf_insn): Ditto. | |
2567 | (*thumb_movdf_insn): Ditto. | |
2568 | (movmem12b): Ditto. | |
2569 | (movmem8b): Ditto. | |
2570 | (cbranchqi4): Ditto. | |
2571 | (cbranchsi4_insn): Ditto. | |
2572 | (cbranchsi4_scratch): Ditto. | |
2573 | (*negated_cbranchsi4): Ditto. | |
2574 | (*tbit_cbranch): Ditto. | |
2575 | (*tlobits_cbranch): Ditto. | |
2576 | (*tstsi3_cbranch): Ditto. | |
2577 | (*cbranchne_decr1): Ditto. | |
2578 | (*addsi3_cbranch): Ditto. | |
2579 | (*addsi3_cbranch_scratch): Ditto. | |
2580 | (*thumb_cmpdi_zero): Ditto. | |
2581 | (cstoresi_eq0_thumb1): Ditto. | |
2582 | (cstoresi_ne0_thumb1): Ditto. | |
2583 | (*cstoresi_eq0_thumb1_insn): Ditto. | |
2584 | (*cstoresi_ne0_thumb1_insn): Ditto. | |
2585 | (cstoresi_nltu_thumb1): Ditto. | |
2586 | (cstoresi_ltu_thumb1): Ditto. | |
2587 | (thumb1_addsi3_addgeu): Ditto. | |
2588 | (*thumb_jump): Ditto. | |
2589 | (*call_reg_thumb1_v5): Ditto. | |
2590 | (*call_reg_thumb1): Ditto. | |
2591 | (*call_value_reg_thumb1_v5): Ditto. | |
2592 | (*call_value_reg_thumb1): Ditto. | |
2593 | (*call_insn): Ditto. | |
2594 | (*call_value_insn): Ditto. | |
2595 | (thumb1_casesi_internal_pic): Ditto. | |
2596 | (thumb1_casesi_dispatch): Ditto. | |
2597 | (*thumb1_indirect_jump): Ditto. | |
2598 | (prologue_thumb1_interwork): Ditto. | |
2599 | (*epilogue_insns): Ditto. | |
2600 | (consttable_1): Ditto. | |
2601 | (consttable_2): Ditto. | |
2602 | (tablejump): Ditto. | |
2603 | (*thumb1_tablejump): Ditto. | |
2604 | (thumb_eh_return): Ditto. | |
2605 | (define_peephole2): Two of them are thumb1 only and got moved into | |
2606 | new file thumb1.md. | |
2607 | (define_split): Six of them are thumb1 only and got moved into new | |
2608 | file thumb1.md. | |
2609 | * config/arm/thumb1.md: New file comprised of above thumb1 only | |
2610 | patterns. | |
2611 | ||
5d357f26 KT |
2612 | 2014-06-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2613 | ||
2614 | * config.gcc (aarch64*-*-*): Add arm_acle.h to extra headers. | |
2615 | * Makefile.in (TEXI_GCC_FILES): Add aarch64-acle-intrinsics.texi to | |
2616 | dependencies. | |
2617 | * config/aarch64/aarch64-builtins.c (AARCH64_CRC32_BUILTINS): Define. | |
2618 | (aarch64_crc_builtin_datum): New struct. | |
2619 | (aarch64_crc_builtin_data): New. | |
2620 | (aarch64_init_crc32_builtins): New function. | |
2621 | (aarch64_init_builtins): Initialise CRC32 builtins when appropriate. | |
2622 | (aarch64_crc32_expand_builtin): New. | |
2623 | (aarch64_expand_builtin): Add CRC32 builtin expansion case. | |
2624 | * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Define | |
2625 | __ARM_FEATURE_CRC32 when appropriate. | |
2626 | (TARGET_CRC32): Define. | |
2627 | * config/aarch64/aarch64.md (UNSPEC_CRC32B, UNSPEC_CRC32H, | |
2628 | UNSPEC_CRC32W, UNSPEC_CRC32X, UNSPEC_CRC32CB, UNSPEC_CRC32CH, | |
2629 | UNSPEC_CRC32CW, UNSPEC_CRC32CX): New unspec values. | |
2630 | (aarch64_<crc_variant>): New pattern. | |
2631 | * config/aarch64/arm_acle.h: New file. | |
2632 | * config/aarch64/iterators.md (CRC): New int iterator. | |
2633 | (crc_variant, crc_mode): New int attributes. | |
2634 | * doc/aarch64-acle-intrinsics.texi: New file. | |
2635 | * doc/extend.texi (aarch64): Document aarch64 ACLE intrinsics. | |
2636 | Include aarch64-acle-intrinsics.texi. | |
2637 | ||
e1377713 ES |
2638 | 2014-06-11 Evgeny Stupachenko <evstupac@gmail.com> |
2639 | ||
2640 | * tree-vect-data-refs.c (vect_grouped_store_supported): New | |
2641 | check for stores group of length 3. | |
2642 | (vect_permute_store_chain): New permutations for stores group of | |
2643 | length 3. | |
2644 | * tree-vect-stmts.c (vect_model_store_cost): Change cost | |
2645 | of vec_perm_shuffle for the new permutations. | |
2646 | ||
862b3da6 JH |
2647 | 2014-06-11 Jan Hubicka <hubicka@ucw.cz> |
2648 | ||
7049aed6 UB |
2649 | * ipa-visibility.c (function_and_variable_visibility): Disable virtual |
2650 | table rewriting temporarily on targets not supporting ONE_ONLY. | |
862b3da6 | 2651 | |
96a3f4df RB |
2652 | 2014-06-11 Richard Biener <rguenther@suse.de> |
2653 | ||
2654 | PR middle-end/61437 | |
2655 | Revert | |
2656 | 2014-06-04 Richard Biener <rguenther@suse.de> | |
2657 | ||
2658 | * tree.h (may_be_aliased): Trust TREE_ADDRESSABLE from | |
2659 | TREE_PUBLIC and DECL_EXTERNAL decls. | |
2660 | ||
e257a17c JH |
2661 | 2014-06-10 Jan Hubicka <hubicka@ucw.cz> |
2662 | ||
2663 | * varasm.c (set_implicit_section): New function. | |
2664 | (resolve_unique_section): Use it to set implicit section | |
2665 | for aliases, too. | |
2666 | (get_named_text_section): Use symtab_get_node (decl)->implicit_section | |
2667 | (default_function_section): Likewise. | |
2668 | (decl_binds_to_current_def_p): Constify argument. | |
2669 | * varasm.h (decl_binds_to_current_def_p): Update prototype. | |
96a3f4df RB |
2670 | * asan.c (asan_protect_global): Use |
2671 | symtab_get_node (decl)->implicit_section. | |
e257a17c JH |
2672 | * symtab.c (dump_symtab_base): Dump implicit sections. |
2673 | (verify_symtab_base): Verify sanity of sectoins and comdats. | |
2674 | (symtab_resolve_alias): Alias share the section of its target. | |
2675 | (set_section_1): New function. | |
2676 | (symtab_node::set_section): Move here, recurse to aliases. | |
2677 | (verify_symtab): Check for duplicated symtab lists. | |
2678 | * tree-core.h (implicit_section_name_p): Remove. | |
2679 | * tree-vect-data-refs.c: Include varasm.h. | |
2680 | (vect_can_force_dr_alignment_p): Fix conditional on when | |
2681 | decl bints to current definition; use | |
2682 | symtab_get_node (decl)->implicit_section. | |
2683 | * cgraph.c (cgraph_make_node_local_1): Fix section set. | |
2684 | * cgraph.h (struct symtab_node): Add implicit_section. | |
2685 | (set_section): Rename to ... | |
2686 | (set_section_for_node): ... this one. | |
2687 | (set_section): Declare. | |
2688 | * tree.h (DECL_HAS_IMPLICIT_SECTION_NAME_P): Remove. | |
2689 | * lto-cgraph.c (lto_output_node, lto_output_varpool_node, | |
2690 | input_overwrite_node, input_varpool_node): Stream implicit_section. | |
2691 | * ipa.c (symtab_remove_unreachable_nodes): Do not check symtab before | |
2692 | removal; it will fail in LTO. | |
2693 | ||
d7256bb8 KT |
2694 | 2014-06-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2695 | ||
2696 | * config/aarch64/aarch64-simd.md (move_lo_quad_<mode>): | |
2697 | Change second alternative type to f_mcr. | |
2698 | * config/aarch64/aarch64.md (*movsi_aarch64): Change 11th | |
2699 | and 12th alternatives' types to f_mcr and f_mrc. | |
2700 | (*movdi_aarch64): Same for 12th and 13th alternatives. | |
2701 | (*movsf_aarch64): Change 9th alternatives' type to mov_reg. | |
2702 | (aarch64_movtilow_tilow): Change type to fmov. | |
2703 | ||
dadf084c JW |
2704 | 2014-06-10 Jiong Wang <jiong.wang@arm.com> |
2705 | ||
2706 | * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs) | |
2707 | (aarch64_save_or_restore_callee_save_registers): Fix layout. | |
2708 | ||
2a74759f KT |
2709 | 2014-06-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2710 | ||
2711 | * config/aarch64/aarch64-simd.md (aarch64_sqdmulh_lane<mode>): | |
2712 | New expander. | |
2713 | (aarch64_sqrdmulh_lane<mode>): Likewise. | |
2714 | (aarch64_sq<r>dmulh_lane<mode>): Rename to... | |
2715 | (aarch64_sq<r>dmulh_lane<mode>_internal): ...this. | |
2716 | (aarch64_sqdmulh_laneq<mode>): New expander. | |
2717 | (aarch64_sqrdmulh_laneq<mode>): Likewise. | |
2718 | (aarch64_sq<r>dmulh_laneq<mode>): Rename to... | |
2719 | (aarch64_sq<r>dmulh_laneq<mode>_internal): ...this. | |
2720 | (aarch64_sqdmulh_lane<mode>): New expander. | |
2721 | (aarch64_sqrdmulh_lane<mode>): Likewise. | |
2722 | (aarch64_sq<r>dmulh_lane<mode>): Rename to... | |
2723 | (aarch64_sq<r>dmulh_lane<mode>_internal): ...this. | |
2724 | (aarch64_sqdmlal_lane<mode>): Add lane flip for big-endian. | |
2725 | (aarch64_sqdmlal_laneq<mode>): Likewise. | |
2726 | (aarch64_sqdmlsl_lane<mode>): Likewise. | |
2727 | (aarch64_sqdmlsl_laneq<mode>): Likewise. | |
2728 | (aarch64_sqdmlal2_lane<mode>): Likewise. | |
2729 | (aarch64_sqdmlal2_laneq<mode>): Likewise. | |
2730 | (aarch64_sqdmlsl2_lane<mode>): Likewise. | |
2731 | (aarch64_sqdmlsl2_laneq<mode>): Likewise. | |
2732 | (aarch64_sqdmull_lane<mode>): Likewise. | |
2733 | (aarch64_sqdmull_laneq<mode>): Likewise. | |
2734 | (aarch64_sqdmull2_lane<mode>): Likewise. | |
2735 | (aarch64_sqdmull2_laneq<mode>): Likewise. | |
2736 | ||
b82ef848 RB |
2737 | 2014-06-10 Richard Biener <rguenther@suse.de> |
2738 | ||
2739 | PR tree-optimization/61438 | |
2740 | * tree-ssa-pre.c (eliminate_dom_walker): Add do_pre member. | |
2741 | (eliminate_dom_walker::before_dom_children): Only try to inhibit | |
2742 | insertion of IVs if running PRE. | |
2743 | (eliminate): Adjust. | |
2744 | (pass_pre::execute): Likewise. | |
2745 | (pass_fre::execute): Likewise. | |
2746 | ||
cdf0ab72 RB |
2747 | 2014-06-10 Richard Biener <rguenther@suse.de> |
2748 | ||
2749 | PR middle-end/61456 | |
2750 | * tree-ssa-alias.c (nonoverlapping_component_refs_of_decl_p): | |
2751 | Do not use the main variant for the type comparison. | |
2752 | (ncr_compar): Likewise. | |
2753 | (nonoverlapping_component_refs_p): Likewise. | |
2754 | ||
e29b8d5b MS |
2755 | 2014-06-10 Marcus Shawcroft <marcus.shawcroft@arm.com> |
2756 | ||
2757 | * config/aarch64/aarch64.c (aarch64_save_or_restore_fprs): Fix | |
2758 | REG_CFA_RESTORE mode. | |
2759 | ||
6ba197c1 ES |
2760 | 2014-06-10 Evgeny Stupachenko <evstupac@gmail.com> |
2761 | ||
2762 | * config/i386/i386.c (expand_vec_perm_pblendv): New. | |
2763 | * config/i386/i386.c (ix86_expand_vec_perm_const_1): Use | |
2764 | expand_vec_perm_pblendv. | |
2765 | ||
87ee52ef KT |
2766 | 2014-06-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
2767 | ||
2768 | * doc/arm-acle-intrinsics.texi: Specify when CRC32 intrinsics are | |
2769 | available. | |
2770 | Simplify description of __crc32d and __crc32cd intrinsics. | |
2771 | * doc/extend.texi (ARM ACLE Intrinsics): Remove comment about CRC32 | |
2772 | availability. | |
2773 | ||
35fa894a TS |
2774 | 2014-06-10 Thomas Schwinge <thomas@codesourcery.com> |
2775 | ||
2776 | PR lto/61334 | |
9fdb837f | 2777 | * configure.ac: Use gcc_AC_CHECK_DECLS to check for strnlen prototype. |
35fa894a TS |
2778 | * config.in: Regenerate. |
2779 | * configure: Likewise. | |
2780 | ||
1685ecf3 JH |
2781 | 2014-06-10 Jan Hubicka <hubicka@ucw.cz> |
2782 | ||
7049aed6 UB |
2783 | * ipa-reference.c (is_proper_for_analysis): Exclude addressable |
2784 | and public vars. | |
1685ecf3 JH |
2785 | (intersect_static_var_sets): Remove. |
2786 | (propagate): Do not prune local statics. | |
2787 | ||
92d28cbb JJ |
2788 | 2014-06-10 Jakub Jelinek <jakub@redhat.com> |
2789 | ||
2790 | PR fortran/60928 | |
2791 | * omp-low.c (lower_rec_input_clauses) <case OMP_CLAUSE_LASTPRIVATE>: | |
2792 | Set lastprivate_firstprivate even if omp_private_outer_ref | |
2793 | langhook returns true. | |
2794 | <case OMP_CLAUSE_REDUCTION>: When calling omp_clause_default_ctor | |
2795 | langhook, call unshare_expr on new_var and call | |
2796 | build_outer_var_ref to get the last argument. | |
2797 | ||
c9f2b7e9 MP |
2798 | 2014-06-10 Marek Polacek <polacek@redhat.com> |
2799 | ||
2800 | PR c/60988 | |
2801 | * doc/extend.texi: Add cindex for transparent_union. | |
2802 | ||
2cfa504a TP |
2803 | 2014-06-09 Thomas Preud'homme <thomas.preudhomme@arm.com> |
2804 | ||
2805 | * tree-ssa-math-opts.c (find_bswap_or_nop_load): Check return value of | |
2806 | init_symbolic_number (). | |
2807 | ||
748e88da JDA |
2808 | 2014-05-18 John David Anglin <danglin@gcc.gnu.org> |
2809 | ||
2810 | PR middle-end/61141 | |
2811 | * emit-rtl.c (reset_all_used_flags): In a sequence, check that | |
2812 | XVECEXP (pat, 0, i) is an INSN before calling reset_insn_used_flags. | |
7964957f | 2813 | (verify_rtl_sharing): Likewise. |
748e88da | 2814 | |
00f30445 MG |
2815 | 2014-06-09 Marc Glisse <marc.glisse@inria.fr> |
2816 | ||
2817 | PR c++/54442 | |
2818 | * tree.c (build_qualified_type): Use a canonical type for | |
2819 | TYPE_CANONICAL. | |
2820 | ||
545fb0e8 RR |
2821 | 2014-06-09 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
2822 | ||
2823 | * config/arm/arm-modes.def: Remove XFmode. | |
2824 | ||
842cbb73 AL |
2825 | 2014-06-09 Alan Lawrence <alan.lawrence@arm.com> |
2826 | ||
2827 | PR target/61062 | |
2828 | * config/arm/arm_neon.h (vtrn_s8, vtrn_s16, vtrn_u8, vtrn_u16, vtrn_p8, | |
2829 | vtrn_p16, vtrn_s32, vtrn_f32, vtrn_u32, vtrnq_s8, vtrnq_s16, vtrnq_s32, | |
7049aed6 UB |
2830 | vtrnq_f32, vtrnq_u8, vtrnq_u16, vtrnq_u32, vtrnq_p8, vtrnq_p16, |
2831 | vzip_s8, vzip_s16, vzip_u8, vzip_u16, vzip_p8, vzip_p16, vzip_s32, | |
2832 | vzip_f32, vzip_u32, vzipq_s8, vzipq_s16, vzipq_s32, vzipq_f32, | |
2833 | vzipq_u8, vzipq_u16, vzipq_u32, vzipq_p8, vzipq_p16, vuzp_s8, vuzp_s16, | |
2834 | vuzp_s32, vuzp_f32, vuzp_u8, vuzp_u16, vuzp_u32, vuzp_p8, vuzp_p16, | |
2835 | vuzpq_s8, vuzpq_s16, vuzpq_s32, vuzpq_f32, vuzpq_u8, vuzpq_u16, | |
2836 | vuzpq_u32, vuzpq_p8, vuzpq_p16): Correct mask for bigendian. | |
842cbb73 | 2837 | |
8de98ad4 JH |
2838 | 2014-06-09 Jan Hubicka <hubicka@ucw.cz> |
2839 | ||
2840 | * tree-core.h (tree_decl_with_vis): Remove section_name. | |
2841 | ||
001010df KC |
2842 | 2014-06-09 Kito Cheng <kito@0xlab.org> |
2843 | ||
2844 | * ira.c (ira): Don't call init_caller_save if LRA enabled | |
2845 | since LRA use its own infrastructure to handle that. | |
2846 | ||
24d047a3 JH |
2847 | 2014-06-07 Jan Hubicka <hubicka@ucw.cz> |
2848 | ||
2849 | * symtab.c (dump_symtab_base): Update dumping. | |
2850 | (symtab_make_decl_local): Clear only DECL_COMDAT. | |
2851 | * tree-vect-data-refs.c (Check that variable is static before | |
2852 | tampering with sections. | |
2853 | * cgraphclones.c (duplicate_thunk_for_node): Do not clear section name. | |
2854 | (cgraph_create_virtual_clone): Likewise. | |
2855 | * tree.c (decl_comdat_group, decl_comdat_group_id): Constify argument. | |
2856 | (decl_section_name, set_decl_section_name): New accessors. | |
2857 | (find_decls_types_r): Do not walk section name | |
7049aed6 | 2858 | * tree.h (DECL_SECTION_NAME): Implement using decl_section_name. |
24d047a3 JH |
2859 | (decl_comdat_group, decl_comdat_group_id): Constify. |
2860 | (decl_section_name, set_decl_section_name): Update. | |
7049aed6 | 2861 | * varpool.c (varpool_finalize_named_section_flags): Use get_section. |
24d047a3 JH |
2862 | * cgraph.c (cgraph_add_thunk): Reset node instead of rebuilding. |
2863 | (cgraph_make_node_local_1): Clear section and comdat group. | |
2864 | * cgraph.h (set_comdat_group): Sanity check. | |
2865 | (get_section, set_section): New. | |
2866 | * ipa-comdats.c (ipa_comdats): Use get_section. | |
2867 | * ipa.c (ipa_discover_readonly_nonaddressable_var): Likewise. | |
2868 | * lto-streamer-out.c: Do not follow section names. | |
7049aed6 | 2869 | * c-family/c-common.c (handle_section_attribute): Update. |
24d047a3 JH |
2870 | * lto-cgraph.c (lto_output_node): Output section. |
2871 | (lto_output_varpool_node): Likewise. | |
2872 | (read_comdat_group): Rename to ... | |
2873 | (read_identifier): ... this one. | |
2874 | (read_string_cst): New function. | |
2875 | (input_node, input_varpool_node): Input section names. | |
2876 | * tree-emutls.c (get_emutls_init_templ_addr): Update. | |
2877 | (new_emutls_decl): Update. | |
7049aed6 | 2878 | (secname_for_decl): Check section names only of static vars. |
24d047a3 JH |
2879 | * config/mep/mep.c (mep_unique_section): Use set_decl_section_name. |
2880 | * config/i386/winnt.c (i386_pe_unique_section): Likewise. | |
2881 | * config/i386/i386.c (x86_64_elf_unique_section): Likewise. | |
2882 | * config/c6x/c6x.c (c6x_elf_unique_section): Likewise. | |
2883 | * config/rs6000/rs6000.c (rs6000_xcoff_unique_section): Likewise. | |
2884 | * config/mcore/mcore.c (mcore_unique_section): Likewise. | |
2885 | * config/mips/mips.c (mips16_build_function_stub): Likewise. | |
2886 | * config/v850/v850.c (v850_insert_attributes): Likewise. | |
7049aed6 | 2887 | * config/h8300/h8300.c (h8300_handle_eightbit_data_attribute): |
24d047a3 JH |
2888 | Likewise. |
2889 | (h8300_handle_tiny_data_attribute): Likewise. | |
2890 | * config/bfin/bfin.c (bfin_handle_l1_text_attribute): Likewise. | |
2891 | (bfin_handle_l2_attribute): Likewise. | |
2892 | ||
80bc9b6e JH |
2893 | 2014-06-07 Jan Hubicka <hubicka@ucw.cz> |
2894 | ||
2895 | * symtab.c (symtab_nonoverwritable_alias): Copy VIRTUAL flag; | |
2896 | remove static initializer. | |
2897 | ||
684a3aa7 JH |
2898 | 2014-06-07 Jan Hubicka <hubicka@ucw.cz> |
2899 | ||
7049aed6 UB |
2900 | * varasm.c (use_blocks_for_decl_p): Check symbol table |
2901 | instead of alias attribute. | |
684a3aa7 JH |
2902 | (place_block_symbol): Recurse on aliases. |
2903 | ||
94c2e46c JH |
2904 | 2014-06-07 Jan Hubicka <hubicka@ucw.cz> |
2905 | ||
2906 | * ipa-visibility.c: Include varasm.h | |
2907 | (can_replace_by_local_alias): Ceck decl_binds_to_current_def_p. | |
2908 | ||
136a5f45 JH |
2909 | 2014-06-07 Jan Hubicka <hubicka@ucw.cz> |
2910 | ||
2911 | * cgraphunit.c (assemble_thunks_and_aliases): Expand thunks before | |
2912 | outputting aliases. | |
2913 | ||
0dbaf51e SB |
2914 | 2014-06-07 Steven Bosscher <steven@gcc.gnu.org> |
2915 | ||
7964957f | 2916 | * gcse.c (can_assign_to_reg_without_clobbers_p): Do not let pointers |
0dbaf51e SB |
2917 | from test_insn into GGC space escape via SET_SRC. |
2918 | ||
51d2abeb EB |
2919 | 2014-06-07 Eric Botcazou <ebotcazou@adacore.com> |
2920 | ||
2921 | * tree-ssa-tail-merge.c (same_succ_hash): Hash the static chain of a | |
2922 | call statement, if any. | |
2923 | (gimple_equal_p) <GIMPLE_CALL>: Compare the static chain of the call | |
2924 | statements, if any. Tidy up. | |
2925 | ||
b528fc5c MM |
2926 | 2014-06-06 Michael Meissner <meissner@linux.vnet.ibm.com> |
2927 | ||
2928 | PR target/61431 | |
2929 | * config/rs6000/vsx.md (VSX_LE): Split VSX_D into 2 separate | |
2930 | iterators, VSX_D that handles 64-bit types, and VSX_LE that | |
2931 | handles swapping the two 64-bit double words on little endian | |
2932 | systems. Include V1TImode and optionally TImode in VSX_LE so that | |
2933 | these types are properly swapped. Change all of the insns and | |
2934 | splits that do the 64-bit swaps to use VSX_LE. | |
2935 | (vsx_le_perm_load_<mode>): Likewise. | |
2936 | (vsx_le_perm_store_<mode>): Likewise. | |
2937 | (splitters for little endian memory operations): Likewise. | |
2938 | (vsx_xxpermdi2_le_<mode>): Likewise. | |
2939 | (vsx_lxvd2x2_le_<mode>): Likewise. | |
2940 | (vsx_stxvd2x2_le_<mode>): Likewise. | |
2941 | ||
7b11cab7 UB |
2942 | 2014-06-06 Uros Bizjak <ubizjak@gmail.com> |
2943 | ||
2944 | PR target/61423 | |
2945 | * config/i386/i386.md (*floatunssi<mode>2_i387_with_xmm): New | |
2946 | define_insn_and_split pattern, merged from *floatunssi<mode>2_1 | |
2947 | and corresponding splitters. Zero extend general register | |
2948 | or memory input operand to XMM temporary. Enable for | |
2949 | TARGET_SSE2 and TARGET_INTER_UNIT_MOVES_TO_VEC only. | |
2950 | (floatunssi<mode>2): Update expander predicate. | |
2951 | ||
5a770e01 VM |
2952 | 2014-06-06 Vladimir Makarov <vmakarov@redhat.com> |
2953 | ||
2954 | PR rtl-optimization/61325 | |
2955 | * lra-constraints.c (process_address_1): Check scale equal to one | |
2956 | to prevent transformation: base + scale * index => base + new_reg. | |
2957 | ||
acce8ce3 RB |
2958 | 2014-06-06 Richard Biener <rguenther@suse.de> |
2959 | ||
2960 | PR tree-optimization/59299 | |
2961 | * tree-ssa-sink.c (all_immediate_uses_same_place): Work on | |
2962 | a def operand. | |
2963 | (nearest_common_dominator_of_uses): Likewise. | |
2964 | (statement_sink_location): Adjust. Support sinking loads. | |
2965 | ||
0d48ee34 MJ |
2966 | 2014-06-06 Martin Jambor <mjambor@suse.cz> |
2967 | ||
2968 | * ipa-prop.c (get_place_in_agg_contents_list): New function. | |
2969 | (build_agg_jump_func_from_list): Likewise. | |
2970 | (determine_known_aggregate_parts): Renamed to | |
2971 | determine_locally_known_aggregate_parts. Moved some functionality | |
2972 | to the two functions above, removed bound checks. | |
2973 | ||
e2c75eea JG |
2974 | 2014-06-06 James Greenhalgh <james.greenhalgh@arm.com> |
2975 | ||
2976 | * config/aarch64/aarch64-protos.h (aarch64_expand_movmem): New. | |
2977 | * config/aarch64/aarch64.c (aarch64_move_pointer): New. | |
2978 | (aarch64_progress_pointer): Likewise. | |
2979 | (aarch64_copy_one_part_and_move_pointers): Likewise. | |
2980 | (aarch64_expand_movmen): Likewise. | |
2981 | * config/aarch64/aarch64.h (MOVE_RATIO): Set low. | |
2982 | * config/aarch64/aarch64.md (movmem<mode>): New. | |
2983 | ||
58e5400a BM |
2984 | 2014-06-06 Bingfeng Mei <bmei@broadcom.com> |
2985 | ||
2986 | * targhooks.c (default_add_stmt_cost): Call target specific | |
2987 | hook instead of default one. | |
2988 | ||
58126368 TP |
2989 | 2014-06-06 Thomas Preud'homme <thomas.preudhomme@arm.com> |
2990 | ||
2991 | * ChangeLog (2014-05-23): Fix ChangeLog entry to refer to target | |
2992 | endianness instead of host endianness. | |
2993 | * tree-ssa-math-opts.c (find_bswap_or_nop_1): Likewise in dumps and | |
2994 | comments. | |
2995 | ||
3fd48b12 EB |
2996 | 2014-06-06 Eric Botcazou <ebotcazou@adacore.com> |
2997 | ||
2998 | PR debug/53927 | |
2999 | * function.c (instantiate_decls): Process the saved static chain. | |
3000 | (expand_function_start): If not optimizing, save the static chain | |
3001 | onto the stack. | |
3002 | * tree-nested.c (convert_all_function_calls): Always create the static | |
3003 | chain for nested functions if not optimizing. | |
3004 | ||
9b7a11e1 EB |
3005 | 2014-06-06 Eric Botcazou <ebotcazou@adacore.com> |
3006 | ||
3007 | * tree-cfg.c (make_edges) <GIMPLE_RETURN>: Put a location on the edge. | |
3008 | ||
726338f4 RB |
3009 | 2014-06-06 Richard Biener <rguenther@suse.de> |
3010 | ||
3011 | * cfgexpand.c (expand_gimple_cond): Remove check for current_loops. | |
3012 | (construct_init_block): Likewise. | |
3013 | (construct_exit_block): Likewise. | |
3014 | (pass_expand::execute): Likewise. | |
3015 | * graphite.c (graphite_transforms): Replace check for current_loops | |
3016 | with a check for > 1 loops. | |
3017 | (pass_graphite_transforms::execute): Adjust. | |
3018 | * ipa-split.c (split_function): Remove check for current_loops. | |
3019 | * omp-low.c (expand_parallel_call): Likewise. | |
3020 | (expand_omp_for_init_counts): Likewise. | |
3021 | (extract_omp_for_update_vars): Likewise. | |
3022 | (expand_omp_for_generic): Likewise. | |
3023 | (expand_omp_sections): Likewise. | |
3024 | (expand_omp_target): Likewise. | |
3025 | * tracer.c (tail_duplicate): Likewise. | |
3026 | (pass_tracer::execute): Likewise. | |
3027 | * trans-mem.c (expand_transaction): Likewise. | |
3028 | * tree-complex.c (expand_complex_div_wide): Likewise. | |
3029 | * tree-eh.c (lower_resx): Likewise. | |
3030 | (cleanup_empty_eh_merge_phis): Likewise. | |
3031 | * tree-predcom.c (run_tree_predictive_commoning): Replace check for | |
3032 | current_loops with a check for > 1 loops. | |
3033 | (pass_predcom::execute): Adjust. | |
3034 | * tree-scalar-evolution.c (scev_reset): Remove check for current_loops. | |
3035 | * tree-ssa-copy.c (copy_prop_visit_phi_node): Likewise. | |
3036 | * tree-ssa-dom.c (pass_phi_only_cprop::execute): Likewise. | |
3037 | * tree-ssa-tail-merge.c (tail_merge_optimize): Likewise. | |
3038 | * tree-ssa-threadupdate.c (thread_through_all_blocks): Likewise. | |
3039 | * tree-switch-conversion.c (process_switch): Likewise. | |
3040 | * tree-tailcall.c (tree_optimize_tail_calls_1): Likewise. | |
3041 | * tree-vrp.c (vrp_visit_phi_node): Likewise. | |
3042 | (execute_vrp): Likewise. | |
3043 | * ubsan.c (ubsan_expand_null_ifn): Likewise. | |
3044 | ||
ffa4602f EB |
3045 | 2014-06-06 Eric Botcazou <ebotcazou@adacore.com> |
3046 | ||
3047 | * rtl.h (insn_location): Declare. | |
3048 | * cfgcleanup.c (try_forward_edges): Compare the locus of locations | |
3049 | with UNKNOWN_LOCATION. | |
3050 | * emit-rtl.c (insn_location): New function. | |
3051 | * final.c (notice_source_line): Check that the instruction has a | |
3052 | location before retrieving it and use insn_location. | |
3053 | * modulo-sched.c (loop_single_full_bb_p): Likewise. | |
3054 | * print-rtl.c (print_rtx): Likewise. | |
3055 | ||
28a4a292 RB |
3056 | 2014-06-06 Richard Biener <rguenther@suse.de> |
3057 | ||
3058 | * passes.def: Move 2nd VRP pass before phi-only-cprop. | |
3059 | ||
d969f3c1 CB |
3060 | 2014-06-06 Christian Bruel <christian.bruel@st.com> |
3061 | ||
3062 | PR tree-optimization/43934 | |
28a4a292 RB |
3063 | * tree-ssa-loop-im.c (determine_max_movement): Add PHI def constant |
3064 | cost. | |
d969f3c1 | 3065 | |
b58923e2 RS |
3066 | 2014-06-06 Richard Sandiford <rdsandiford@googlemail.com> |
3067 | ||
3068 | * ira-lives.c (single_reg_class): Add missing break. Explicitly | |
3069 | return NO_REGS for extra address and memory constraints. Handle | |
3070 | operands that match (or are equivalent to something that matches) | |
3071 | extra constant constraints. Ignore other non-register operands. | |
3072 | ||
ddbb449f AM |
3073 | 2014-06-06 Alan Modra <amodra@gmail.com> |
3074 | ||
3075 | PR target/61300 | |
3076 | * doc/tm.texi.in (INCOMING_REG_PARM_STACK_SPACE): Document. | |
3077 | * doc/tm.texi: Regenerate. | |
3078 | * function.c (INCOMING_REG_PARM_STACK_SPACE): Provide default. | |
3079 | Use throughout in place of REG_PARM_STACK_SPACE. | |
3080 | * config/rs6000/rs6000.c (rs6000_reg_parm_stack_space): Add | |
3081 | "incoming" param. Pass to rs6000_function_parms_need_stack. | |
3082 | (rs6000_function_parms_need_stack): Add "incoming" param, ignore | |
3083 | prototype_p when incoming. Use function decl when incoming | |
3084 | to handle K&R style functions. | |
3085 | * config/rs6000/rs6000.h (REG_PARM_STACK_SPACE): Adjust. | |
3086 | (INCOMING_REG_PARM_STACK_SPACE): Define. | |
3087 | ||
a148c4b2 SKS |
3088 | 2014-06-05 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
3089 | ||
3090 | PR target/52472 | |
3091 | * cfgexpand.c (expand_debug_expr): Use address space of nested | |
3092 | TREE_TYPE for ADDR_EXPR and MEM_REF. | |
3093 | ||
64e13bcd JL |
3094 | 2014-06-05 Jeff Law <law@redhat.com> |
3095 | ||
3096 | PR tree-optimization/61289 | |
3097 | * tree-ssa-threadedge.c (invalidate_equivalences): Remove SRC_MAP and | |
3098 | DST_MAP parameters. Invalidate by walking all the SSA_NAME_VALUES | |
3099 | looking for those which match LHS. All callers changed. | |
3100 | (record_temporary_equivalences_from_phis): Remove SRC_MAP and DST_MAP | |
3101 | parameters and code which manipulated them. All callers changed. | |
3102 | (record_temporary_equivalences_from_stmts_at_dest): Remove SRC_MAP | |
3103 | and DST_MAP parameters. Simplify invalidation code by just calling | |
3104 | invalidate_equivalences. All callers changed. | |
3105 | (thread_across_edge): Simplify now that we don't need to maintain | |
3106 | the map of equivalences to invalidate. | |
3107 | ||
5853e181 KT |
3108 | 2014-06-05 Kai Tietz <ktietz@redhat.com> |
3109 | Richard Henderson <rth@redhat.com> | |
3110 | ||
3111 | PR target/46219 | |
3112 | * config/i386/predicates.md (memory_nox32_operand): Add memory_operand | |
3113 | checking for !TARGET_X32. | |
3114 | * config/i386/i386.md (UNSPEC_PEEPSIB): New unspec constant. | |
3115 | (sibcall_intern): New define_insn, plus required peepholes. | |
3116 | (sibcall_pop_intern): Likewise. | |
3117 | (sibcall_value_intern): Likewise. | |
3118 | (sibcall_value_pop_intern): Likewise. | |
3119 | ||
95cc0a1a IE |
3120 | 2014-06-05 Ilya Enkovich <ilya.enkovich@intel.com> |
3121 | ||
3122 | * tree-inline.c (tree_function_versioning): Check DF info existence | |
3123 | before accessing it. | |
3124 | ||
1c960e02 MS |
3125 | 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com> |
3126 | ||
3127 | * config/aarch64/aarch64.h (aarch64_frame): Add hard_fp_offset and | |
3128 | frame_size. | |
3129 | * config/aarch64/aarch64.c (aarch64_layout_frame): Initialize | |
3130 | aarch64_frame hard_fp_offset and frame_size. | |
3131 | (aarch64_expand_prologue): Use aarch64_frame hard_fp_offset and | |
3132 | frame_size; remove original_frame_size. | |
3133 | (aarch64_expand_epilogue, aarch64_final_eh_return_addr): Likewise. | |
3134 | (aarch64_initial_elimination_offset): Remove frame_size and | |
3135 | offset. Use aarch64_frame frame_size. | |
3136 | ||
2e1cdae5 MS |
3137 | 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com> |
3138 | Jiong Wang <jiong.wang@arm.com> | |
4a450ea0 | 3139 | Renlin <renlin.li@arm.com> |
2e1cdae5 MS |
3140 | |
3141 | * config/aarch64/aarch64.c (aarch64_layout_frame): Correct | |
3142 | initialization of R30 offset. Update offset. Iterate core | |
3143 | regisers upto X30. Remove X29, X30 specific code. | |
3144 | ||
97826595 MS |
3145 | 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com> |
3146 | Jiong Wang <jiong.wang@arm.com> | |
3147 | ||
3148 | * config/aarch64/aarch64.c (SLOT_NOT_REQUIRED, SLOT_REQUIRED): Define. | |
3149 | (aarch64_layout_frame): Use SLOT_NOT_REQUIRED and SLOT_REQUIRED. | |
3150 | (aarch64_register_saved_on_entry): Adjust test. | |
3151 | ||
8799637a MS |
3152 | 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com> |
3153 | ||
3154 | * config/aarch64/aarch64.h (machine_function): Move | |
3155 | saved_varargs_size from here... | |
4a450ea0 | 3156 | (aarch64_frame): ... to here. |
8799637a MS |
3157 | |
3158 | * config/aarch64/aarch64.c (aarch64_expand_prologue) | |
3159 | (aarch64_expand_epilogue, aarch64_final_eh_return_addr) | |
3160 | (aarch64_initial_elimination_offset) | |
3161 | (aarch64_setup_incoming_varargs): Adjust location of | |
3162 | saved_varargs_size. | |
3163 | ||
34834420 MS |
3164 | 2014-06-05 Marcus Shawcroft <marcus.shawcroft@arm.com> |
3165 | ||
3166 | * config/aarch64/aarch64.c (aarch64_expand_prologue): Update stack | |
3167 | layout comment. | |
3168 | ||
aaaa9efc JP |
3169 | 2014-06-05 Jaydeep Patil <Jaydeep.Patil@imgtec.com> |
3170 | Prachi Godbole <Prachi.Godbole@imgtec.com> | |
3171 | ||
3172 | * config/mips/mips-cpus.def: Add definition for p5600. Updated | |
3173 | mips32r5 entry to use PROCESSOR_P5600. | |
3174 | * config/mips/mips-tables.opt: Regenerate. | |
3175 | * config/mips/mips-protos.h (mips_fmadd_bypass): Add prototype. | |
3176 | * config/mips/mips.c (mips_fmadd_bypass): New function. | |
3177 | (mips_rtx_cost_data): Add costs for p5600. | |
3178 | (mips_issue_rate): Add support for p5600. | |
3179 | (mips_multipass_dfa_lookahead): Likewise. | |
3180 | * config/mips/mips.h (TUNE_P5600): New define. | |
3181 | (TUNE_MACC_CHAINS): Add TUNE_P5600. | |
3182 | (MIPS_ISA_LEVEL_SPEC): Map -march=p5600 to -mips32r5. | |
3183 | * config/mips/mips.md: Include p5600.md. | |
3184 | (processor): Add p5600. | |
3185 | * config/mips/p5600.md: New file. | |
3186 | ||
edbb0749 ES |
3187 | 2014-06-05 Evgeny Stupachenko <evstupac@gmail.com> |
3188 | ||
3189 | * config/i386/sse.md (*ssse3_palignr<mode>_perm): New. | |
3190 | * config/i386/predicates.md (palignr_operand): New. | |
3191 | Indicates if permutation is suitable for palignr instruction. | |
3192 | ||
e12355ef YR |
3193 | 2014-06-05 Yuri Rumyantsev <ysrumyan@gmail.com> |
3194 | ||
3195 | PR tree-optimization/61319 | |
3196 | * tree-if-conv.c (is_cond_scalar_reduction): Add missed check that | |
3197 | stmt belongs to loop. | |
3198 | ||
947ca6a0 RB |
3199 | 2014-06-05 Richard Biener <rguenther@suse.de> |
3200 | ||
3201 | * gimplify.c (create_tmp_from_val): Remove is_formal parameter | |
3202 | and set DECL_GIMPLE_REG_P unconditionally if appropriate. | |
3203 | (lookup_tmp_var): Adjust. | |
3204 | (prepare_gimple_addressable): Unset DECL_GIMPLE_REG_P here. | |
3205 | ||
63e70d3c RR |
3206 | 2014-06-05 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
3207 | ||
3208 | * config/arm/arm.md (enabled): Disable opt_enabled attribute. | |
3209 | ||
742938c9 MP |
3210 | 2014-06-05 Marek Polacek <polacek@redhat.com> |
3211 | ||
3212 | PR c/49706 | |
3213 | * doc/invoke.texi: Document -Wlogical-not-parentheses. | |
3214 | ||
357ddc7d TV |
3215 | 2014-06-04 Tom de Vries <tom@codesourcery.com> |
3216 | ||
3217 | * config/s390/s390.md ("addptrdi3", "addptrsi3"): Use INTVAL only on | |
3218 | CONST_INT. | |
3219 | ||
ca73a1f7 MG |
3220 | 2014-06-04 Marc Glisse <marc.glisse@inria.fr> |
3221 | ||
3222 | PR tree-optimization/61385 | |
3223 | * tree-ssa-phiopt.c (value_replacement): Punt if there are PHI nodes. | |
3224 | ||
ffb1f5ef BS |
3225 | 2014-06-04 Bernd Schmidt <bernds@codesourcery.com> |
3226 | ||
3227 | * lto-wrapper.c (fatal, fatal_perror): Remove functions. All callers | |
3228 | changed to use fatal_error. | |
3229 | (main): Ensure lto_wrapper_cleanup is run atexit. | |
3230 | ||
a953491e RS |
3231 | 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com> |
3232 | ||
3233 | * lra-constraints.c (valid_address_p): Move earlier in file. | |
3234 | (address_eliminator): New structure. | |
3235 | (satisfies_memory_constraint_p): New function. | |
3236 | (satisfies_address_constraint_p): Likewise. | |
3237 | (process_alt_operands, process_address, curr_insn_transform): Use them. | |
3238 | ||
0c331756 RS |
3239 | 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com> |
3240 | ||
3241 | * lra-int.h (lra_static_insn_data): Make operand_alternative a | |
3242 | const pointer. | |
3243 | (target_lra_int, default_target_lra_int, this_target_lra_int) | |
3244 | (op_alt_data): Delete. | |
3245 | * lra.h (lra_init): Delete. | |
3246 | * lra.c (default_target_lra_int, this_target_lra_int): Delete. | |
3247 | (init_insn_code_data_once): Remove op_alt_data handling. | |
3248 | (finish_insn_code_data_once): Likewise. | |
3249 | (init_op_alt_data): Delete. | |
3250 | (get_static_insn_data): Initialize operand_alternative to null. | |
3251 | (free_insn_recog_data): Cast operand_alternative before freeing it. | |
3252 | (setup_operand_alternative): Take the operand_alternative as | |
3253 | parameter and assume it isn't already cached in the static | |
3254 | insn data. | |
3255 | (lra_set_insn_recog_data): Update accordingly. | |
3256 | (lra_init): Delete. | |
3257 | * ira.c (ira_init): Don't call lra_init. | |
3258 | * target-globals.h (this_target_lra_int): Declare. | |
3259 | (target_globals): Remove lra_int. | |
3260 | (restore_target_globals): Update accordingly. | |
3261 | * target-globals.c: Don't include lra-int.h. | |
3262 | (default_target_globals, save_target_globals): Remove lra_int. | |
3263 | ||
1145837d RS |
3264 | 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com> |
3265 | ||
3266 | * recog.h (operand_alternative): Convert reg_class, reject, | |
3267 | matched and matches into bitfields. | |
3268 | (preprocess_constraints): New overload. | |
3269 | (preprocess_insn_constraints): New function. | |
3270 | (preprocess_constraints): Take the insn as parameter. | |
3271 | (recog_op_alt): Change into a pointer. | |
3272 | (target_recog): Add x_op_alt. | |
3273 | * recog.c (asm_op_alt): New variable. | |
3274 | (recog_op_alt): Change into a pointer. | |
3275 | (preprocess_constraints): New overload, replacing the old function | |
3276 | definition with one that doesn't use global state. | |
3277 | (preprocess_insn_constraints): New function. | |
3278 | (preprocess_constraints): Use them. Take the insn as parameter. | |
3279 | Use asm_op_alt for asms. | |
3280 | (recog_init): Free existing x_op_alt entries. | |
3281 | * ira-lives.c (check_and_make_def_conflict): Make operand_alternative | |
3282 | pointer const. | |
3283 | (make_early_clobber_and_input_conflicts): Likewise. | |
3284 | (process_bb_node_lives): Pass the insn to process_constraints. | |
3285 | * reg-stack.c (check_asm_stack_operands): Likewise. | |
3286 | (subst_asm_stack_regs): Likewise. | |
3287 | * regcprop.c (copyprop_hardreg_forward_1): Likewise. | |
3288 | * regrename.c (build_def_use): Likewise. | |
3289 | * sched-deps.c (sched_analyze_insn): Likewise. | |
3290 | * sel-sched.c (get_reg_class, implicit_clobber_conflict_p): Likewise. | |
3291 | * config/arm/arm.c (xscale_sched_adjust_cost): Likewise. | |
3292 | (note_invalid_constants): Likewise. | |
3293 | * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise. | |
3294 | (ix86_legitimate_combined_insn): Make operand_alternative pointer | |
3295 | const. | |
3296 | ||
5f2e0797 RS |
3297 | 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com> |
3298 | ||
3299 | * recog.c (preprocess_constraints): Don't skip disabled alternatives. | |
3300 | * ira-lives.c (check_and_make_def_conflict): Check for disabled | |
3301 | alternatives. | |
3302 | (make_early_clobber_and_input_conflicts): Likewise. | |
3303 | * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise. | |
3304 | ||
5efe5dec RS |
3305 | 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com> |
3306 | ||
3307 | * recog.h (alternative_class): New function. | |
3308 | (which_op_alt): Return a const recog_op_alt. | |
3309 | * reg-stack.c (check_asm_stack_operands): Update type accordingly. | |
3310 | (subst_asm_stack_regs): Likewise. | |
3311 | * config/arm/arm.c (note_invalid_constants): Likewise. | |
3312 | * regcprop.c (copyprop_hardreg_forward_1): Likewise. Don't modify | |
3313 | the operand_alternative; use alternative class instead. | |
3314 | * sel-sched.c (get_reg_class): Likewise. | |
3315 | * regrename.c (build_def_use): Likewise. | |
3316 | (hide_operands, restore_operands, record_out_operands): Update type | |
3317 | accordingly. | |
3318 | ||
29d70a0f RS |
3319 | 2014-06-04 Richard Sandiford <rdsandiford@googlemail.com> |
3320 | ||
3321 | * recog.h (recog_op_alt): Convert to a flat array. | |
3322 | (which_op_alt): New function. | |
3323 | * recog.c (recog_op_alt): Convert to a flat array. | |
3324 | (preprocess_constraints): Update accordingly, grouping all | |
3325 | operands of the same alternative together, rather than the | |
3326 | other way around. | |
3327 | * ira-lives.c (check_and_make_def_conflict): Likewise. | |
3328 | (make_early_clobber_and_input_conflicts): Likewise. | |
3329 | * config/i386/i386.c (ix86_legitimate_combined_insn): Likewise. | |
3330 | * reg-stack.c (check_asm_stack_operands): Use which_op_alt. | |
3331 | (subst_asm_stack_regs): Likewise. | |
3332 | * regcprop.c (copyprop_hardreg_forward_1): Likewise. | |
3333 | * regrename.c (hide_operands, record_out_operands): Likewise. | |
3334 | (build_def_use): Likewise. | |
3335 | * sel-sched.c (get_reg_class): Likewise. | |
3336 | * config/arm/arm.c (note_invalid_constants): Likewise. | |
3337 | ||
fe6ebcf1 JM |
3338 | 2014-06-04 Jason Merrill <jason@redhat.com> |
3339 | ||
3340 | PR c++/51253 | |
3341 | PR c++/61382 | |
3342 | * gimplify.c (gimplify_arg): Non-static. | |
3343 | * gimplify.h: Declare it. | |
3344 | ||
38af3208 RB |
3345 | 2014-06-04 Richard Biener <rguenther@suse.de> |
3346 | ||
3347 | * tree.h (may_be_aliased): Trust TREE_ADDRESSABLE from | |
3348 | TREE_PUBLIC and DECL_EXTERNAL decls. | |
3349 | ||
9ccac701 MF |
3350 | 2014-06-04 Matthew Fortune <matthew.fortune@imgtec.com> |
3351 | ||
7964957f | 3352 | * regcprop.c (copyprop_hardreg_forward_1): Account for |
9ccac701 MF |
3353 | HARD_REGNO_CALL_PART_CLOBBERED. |
3354 | ||
35987ae9 RB |
3355 | 2014-06-04 Richard Biener <rguenther@suse.de> |
3356 | ||
3357 | * configure.ac: Check whether the underlying type of int64_t | |
3358 | is long or long long. | |
3359 | * configure: Regenerate. | |
3360 | * config.in: Likewise. | |
3361 | * hwint.h (HOST_WIDE_INT): Match the underlying type of int64_t. | |
3362 | (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64. | |
3363 | ||
0ea48022 RB |
3364 | 2014-06-04 Richard Biener <rguenther@suse.de> |
3365 | ||
3366 | PR tree-optimization/60098 | |
3367 | * tree-ssa-dse.c (dse_possible_dead_store_p): Walk until | |
3368 | we hit a kill. | |
3369 | (dse_optimize_stmt): Simplify, now that we found a kill | |
3370 | earlier. | |
3371 | ||
b1259d34 RB |
3372 | 2014-06-04 Richard Biener <rguenther@suse.de> |
3373 | ||
3374 | * tree-ssa-alias.c (stmt_may_clobber_ref_p): Improve handling | |
3375 | of accesses with non-invariant address. | |
3376 | ||
8be2dc8c ML |
3377 | 2014-06-04 Martin Liska <mliska@suse.cz> |
3378 | ||
3379 | * cgraph.h (cgraph_make_wrapper): New function introduced. | |
3380 | * cgraphunit.c (cgraph_make_wrapper): The function implementation. | |
3381 | * ipa-inline.h (inline_analyze_function): The function is global. | |
3382 | * ipa-inline-analysis.c (inline_analyze_function): Likewise. | |
3383 | ||
8a57e88d ML |
3384 | 2014-06-04 Martin Liska <mliska@suse.cz> |
3385 | ||
3386 | * tree.h (private_lookup_attribute_starting): New function. | |
3387 | (lookup_attribute_starting): Likewise. | |
3388 | * tree.c (private_lookup_attribute_starting): Likewise. | |
3389 | ||
d211e471 ML |
3390 | 2014-06-04 Martin Liska <mliska@suse.cz> |
3391 | ||
3392 | * cgraph.h (expand_thunk): New argument added. | |
3393 | (address_taken_from_non_vtable_p): New global function. | |
3394 | * ipa-visibility.c (address_taken_from_non_vtable_p): Likewise. | |
3395 | * cgraphclones.c (duplicate_thunk_for_node): Argument added to call. | |
3396 | * cgraphunit.c (analyze_function): Likewise. | |
3397 | (assemble_thunks_and_aliases): Argument added to call. | |
3398 | (expand_thunk): New argument forces to produce GIMPLE thunk. | |
3399 | ||
a96bf0d3 ML |
3400 | 2014-06-04 Martin Liska <mliska@suse.cz> |
3401 | ||
3402 | * coverage.h (coverage_compute_cfg_checksum): Argument added. | |
3403 | * coverage.c (coverage_compute_cfg_checksum): Likewise. | |
3404 | * profile.c (branch_prob): Likewise. | |
3405 | ||
7d2268ea MJ |
3406 | 2014-06-04 Martin Jambor <mjambor@suse.cz> |
3407 | ||
3408 | PR ipa/61340 | |
3409 | * ipa-pure-const.c (propagate_pure_const): Add unreachable default | |
3410 | handler for switch on an ipa_ref_use enum. | |
3411 | * ipa-reference.c (analyze_function): Likewise. | |
3412 | ||
0dac3001 KT |
3413 | 2014-06-04 Kai Tietz <ktietz@redhat.com> |
3414 | ||
3415 | * recog.c (peep2_attempt): Copy SIBLING_CALL_P flag | |
3416 | from old call-instruction. | |
3417 | ||
348d4b0a BC |
3418 | 2014-06-04 Bin Cheng <bin.cheng@arm.com> |
3419 | ||
3420 | * config/aarch64/aarch64.c (aarch64_classify_address) | |
3421 | (aarch64_legitimize_reload_address): Support full addressing modes | |
3422 | for vector modes. | |
3423 | * config/aarch64/aarch64.md (mov<mode>, movmisalign<mode>) | |
3424 | (*aarch64_simd_mov<mode>, *aarch64_simd_mov<mode>): Relax predicates. | |
3425 | ||
b9e3afe9 AP |
3426 | 2014-06-03 Andrew Pinski <apinski@cavium.com> |
3427 | ||
3428 | * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Allow non comparisons | |
3429 | for OP0. | |
3430 | ||
3431 | 2014-06-03 Andrew Pinski <apinski@cavium.com> | |
2d5ffe46 AP |
3432 | |
3433 | * config/aarch64/aarch64.c (aarch64_if_then_else_costs): New function. | |
3434 | (aarch64_rtx_costs): Use aarch64_if_then_else_costs. | |
3435 | ||
3ce7abdd KT |
3436 | 2014-06-03 Kai Tietz <ktietz@redhat.com> |
3437 | ||
3438 | * config/i386/i386.c (ix86_function_value_regno_p): Disallow DX_REG | |
3439 | for 64-bit ms-abi. | |
3440 | ||
47e78f98 DC |
3441 | 2014-06-03 Dehao Chen <dehao@google.com> |
3442 | ||
3443 | * tree-cfg.c (gimple_merge_blocks): Only reset count when BBs are in | |
3444 | the same loop. | |
3445 | ||
fedfecef MP |
3446 | 2014-06-03 Marek Polacek <polacek@redhat.com> |
3447 | ||
3448 | PR c/60439 | |
3449 | * doc/invoke.texi: Document -Wswitch-bool. | |
3450 | * function.c (stack_protect_epilogue): Cast controlling expression of | |
3451 | the switch to int. | |
3452 | * gengtype.c (walk_type): Generate switch expression with its | |
3453 | controlling expression cast to int. | |
3454 | ||
3455 | 2014-06-03 Vishnu K S <Vishnu.k_s@atmel.com> | |
e4f36438 DC |
3456 | |
3457 | * config/avr/avr-mcus.def: Add new avr25 devices attiny441, attiny828 | |
3458 | and attiny841. | |
3459 | * config/avr/avr-tables.opt: Regenerate. | |
3460 | * config/avr/t-multilib: Regenerate. | |
3461 | * doc/avr-mmcu.texi: Regenerate. | |
3462 | ||
fedfecef MP |
3463 | 2014-06-03 Vishnu K S <vishnu.k_s@atmel.com> |
3464 | Pitchumani Sivanupandi <pitchumani.s@atmel.com> | |
e4f36438 DC |
3465 | |
3466 | * config/avr/avr-mcus.def (ata6616c): Add new avr25 device. | |
3467 | (ata6617c, ata664251): Add new avr35 devices. | |
3468 | (ata6612c): Add new avr4 device. | |
3469 | (ata6613c, ata6614q): Add new avr5 devices. | |
3470 | * config/avr/avr-tables.opt: Regenerate. | |
3471 | * config/avr/t-multilib: Regenerate. | |
3472 | * doc/avr-mmcu.texi: Regenerate. | |
3473 | ||
918621d3 AL |
3474 | 2014-06-03 Alan Lawrence <alan.lawrence@arm.com> |
3475 | ||
3476 | * gcc/config/aarch64/aarch64-builtins.c | |
3477 | (aarch64_types_binop_ssu_qualifiers): New static data. | |
3478 | (TYPES_BINOP_SSU): Define. | |
3479 | * gcc/config/aarch64/aarch64-simd-builtins.def (suqadd, ushl, urshl, | |
3480 | urshr_n, ushll_n): Use appropriate unsigned qualifiers. | |
3481 | * gcc/config/aarch64/arm_neon.h (vrshl_u8, vrshl_u16, vrshl_u32, | |
3482 | vrshl_u64, vrshlq_u8, vrshlq_u16, vrshlq_u32, vrshlq_u64, vrshld_u64, | |
3483 | vrshr_n_u8, vrshr_n_u16, vrshr_n_u32, vrshr_n_u64, vrshrq_n_u8, | |
3484 | vrshrq_n_u16, vrshrq_n_u32, vrshrq_n_u64, vrshrd_n_u64, vshll_n_u8, | |
3485 | vshll_n_u16, vshll_n_u32, vuqadd_s8, vuqadd_s16, vuqadd_s32, | |
3486 | vuqadd_s64, vuqaddq_s8, vuqaddq_s16, vuqaddq_s32, vuqaddq_s64, | |
3487 | vuqaddb_s8, vuqaddh_s16, vuqadds_s32, vuqaddd_s64): Add signedness | |
3488 | suffix to builtin function name, remove cast. | |
3489 | (vshl_s8, vshl_s16, vshl_s32, vshl_s64, vshl_u8, vshl_u16, vshl_u32, | |
3490 | vshl_u64, vshlq_s8, vshlq_s16, vshlq_s32, vshlq_s64, vshlq_u8, | |
3491 | vshlq_u16, vshlq_u32, vshlq_u64, vshld_s64, vshld_u64): Remove cast. | |
3492 | ||
de10bcce AL |
3493 | 2014-06-03 Alan Lawrence <alan.lawrence@arm.com> |
3494 | ||
3495 | * gcc/config/aarch64/aarch64-builtins.c | |
3496 | (aarch64_types_binop_uus_qualifiers, | |
3497 | aarch64_types_shift_to_unsigned_qualifiers, | |
3498 | aarch64_types_unsigned_shiftacc_qualifiers): Define. | |
3499 | * gcc/config/aarch64/aarch64-simd-builtins.def (uqshl, uqrshl, uqadd, | |
3500 | uqsub, usqadd, usra_n, ursra_n, uqshrn_n, uqrshrn_n, usri_n, usli_n, | |
3501 | sqshlu_n, uqshl_n): Update qualifiers. | |
3502 | * gcc/config/aarch64/arm_neon.h (vqadd_u8, vqadd_u16, vqadd_u32, | |
3503 | vqadd_u64, vqaddq_u8, vqaddq_u16, vqaddq_u32, vqaddq_u64, vqsub_u8, | |
3504 | vqsub_u16, vqsub_u32, vqsub_u64, vqsubq_u8, vqsubq_u16, vqsubq_u32, | |
3505 | vqsubq_u64, vqaddb_u8, vqaddh_u16, vqadds_u32, vqaddd_u64, vqrshl_u8, | |
3506 | vqrshl_u16, vqrshl_u32, vqrshl_u64, vqrshlq_u8, vqrshlq_u16, | |
3507 | vqrshlq_u32, vqrshlq_u64, vqrshlb_u8, vqrshlh_u16, vqrshls_u32, | |
3508 | vqrshld_u64, vqrshrn_n_u16, vqrshrn_n_u32, vqrshrn_n_u64, | |
3509 | vqrshrnh_n_u16, vqrshrns_n_u32, vqrshrnd_n_u64, vqshl_u8, vqshl_u16, | |
3510 | vqshl_u32, vqshl_u64, vqshlq_u8, vqshlq_u16, vqshlq_u32, vqshlq_u64, | |
3511 | vqshlb_u8, vqshlh_u16, vqshls_u32, vqshld_u64, vqshl_n_u8, vqshl_n_u16, | |
3512 | vqshl_n_u32, vqshl_n_u64, vqshlq_n_u8, vqshlq_n_u16, vqshlq_n_u32, | |
3513 | vqshlq_n_u64, vqshlb_n_u8, vqshlh_n_u16, vqshls_n_u32, vqshld_n_u64, | |
3514 | vqshlu_n_s8, vqshlu_n_s16, vqshlu_n_s32, vqshlu_n_s64, vqshluq_n_s8, | |
3515 | vqshluq_n_s16, vqshluq_n_s32, vqshluq_n_s64, vqshlub_n_s8, | |
3516 | vqshluh_n_s16, vqshlus_n_s32, vqshlud_n_s64, vqshrn_n_u16, | |
3517 | vqshrn_n_u32, vqshrn_n_u64, vqshrnh_n_u16, vqshrns_n_u32, | |
3518 | vqshrnd_n_u64, vqsubb_u8, vqsubh_u16, vqsubs_u32, vqsubd_u64, | |
3519 | vrsra_n_u8, vrsra_n_u16, vrsra_n_u32, vrsra_n_u64, vrsraq_n_u8, | |
3520 | vrsraq_n_u16, vrsraq_n_u32, vrsraq_n_u64, vrsrad_n_u64, vsli_n_u8, | |
3521 | vsli_n_u16, vsli_n_u32,vsli_n_u64, vsliq_n_u8, vsliq_n_u16, | |
3522 | vsliq_n_u32, vsliq_n_u64, vslid_n_u64, vsqadd_u8, vsqadd_u16, | |
3523 | vsqadd_u32, vsqadd_u64, vsqaddq_u8, vsqaddq_u16, vsqaddq_u32, | |
3524 | vsqaddq_u64, vsqaddb_u8, vsqaddh_u16, vsqadds_u32, vsqaddd_u64, | |
3525 | vsra_n_u8, vsra_n_u16, vsra_n_u32, vsra_n_u64, vsraq_n_u8, | |
3526 | vsraq_n_u16, vsraq_n_u32, vsraq_n_u64, vsrad_n_u64, vsri_n_u8, | |
3527 | vsri_n_u16, vsri_n_u32, vsri_n_u64, vsriq_n_u8, vsriq_n_u16, | |
3528 | vsriq_n_u32, vsriq_n_u64, vsrid_n_u64): Remove casts. | |
3529 | ||
878d3618 TJ |
3530 | 2014-06-03 Teresa Johnson <tejohnson@google.com> |
3531 | ||
3532 | * tree-sra.c (modify_function): Record caller nodes after rebuild. | |
3533 | ||
616abc64 JM |
3534 | 2014-06-02 Jason Merrill <jason@redhat.com> |
3535 | ||
3536 | PR c++/61020 | |
3537 | * varpool.c (ctor_for_folding): Handle uninitialized vtables. | |
3538 | ||
b31e65bb AL |
3539 | 2014-06-03 Alan Lawrence <alan.lawrence@arm.com> |
3540 | ||
3541 | * config/aarch64/aarch64.c (aarch64_evpc_ext): allow and handle | |
3542 | location == 0. | |
3543 | ||
923fcec3 AL |
3544 | 2014-06-03 Alan Lawrence <alan.lawrence@arm.com> |
3545 | ||
3546 | * config/aarch64/aarch64-simd.md (aarch64_rev<REVERSE:rev-op><mode>): | |
3547 | New pattern. | |
3548 | * config/aarch64/aarch64.c (aarch64_evpc_rev): New function. | |
3549 | (aarch64_expand_vec_perm_const_1): Add call to aarch64_evpc_rev. | |
3550 | * config/aarch64/iterators.md (REVERSE): New iterator. | |
3551 | (UNSPEC_REV64, UNSPEC_REV32, UNSPEC_REV16): New enum elements. | |
3552 | (rev_op): New int_attribute. | |
3553 | * config/aarch64/arm_neon.h (vrev16_p8, vrev16_s8, vrev16_u8, | |
3554 | vrev16q_p8, vrev16q_s8, vrev16q_u8, vrev32_p8, vrev32_p16, vrev32_s8, | |
3555 | vrev32_s16, vrev32_u8, vrev32_u16, vrev32q_p8, vrev32q_p16, vrev32q_s8, | |
3556 | vrev32q_s16, vrev32q_u8, vrev32q_u16, vrev64_f32, vrev64_p8, | |
3557 | vrev64_p16, vrev64_s8, vrev64_s16, vrev64_s32, vrev64_u8, vrev64_u16, | |
3558 | vrev64_u32, vrev64q_f32, vrev64q_p8, vrev64q_p16, vrev64q_s8, | |
3559 | vrev64q_s16, vrev64q_s32, vrev64q_u8, vrev64q_u16, vrev64q_u32): | |
3560 | Replace temporary __asm__ with __builtin_shuffle. | |
3561 | ||
7b11cab7 | 3562 | 2014-06-03 Andrew Bennett <andrew.bennett@imgtec.com> |
2b3bd040 AB |
3563 | |
3564 | * config/mips/mips-cpus.def: Add mips32r3, mips32r5, mips64r3 and | |
3565 | mips64r5. | |
3566 | * config/mips/mips-tables.opt: Regenerate. | |
3567 | * config/mips/mips.c (mips_compute_frame_info): Changed if statement | |
3568 | to use mips_isa_rev rather than ISA_MIPS32R2. | |
3569 | * config/mips/mips.h (ISA_MIPS32R3): New define. | |
3570 | (ISA_MIPS32R5): New define. | |
3571 | (ISA_MIPS64R3): New define. | |
3572 | (ISA_MIPS64R5): New define. | |
7b11cab7 UB |
3573 | (TARGET_CPU_CPP_BUILTINS): Added support for ISA_MIPS32R3, |
3574 | ISA_MIPS32R5, ISA_MIPS64R3 and ISA_MIPS64R5. | |
2b3bd040 AB |
3575 | (MIPS_ISA_LEVEL_SPEC): Added support for mips32r3, mips32r5, mips64r3 |
3576 | and mips64r5. | |
3577 | (MIPS_ISA_SYNCI_SPEC): Likewise. | |
3578 | (ISA_HAS_64BIT_REGS): Added ISA_MIPS64R3 and ISA_MIPS64R5. | |
3579 | (LINK_SPEC): Added mips32r3 and mips32r5. | |
3580 | * config/mips/t-isa3264 (MULTILIB_MATCHES): Map mips32r3 and mips32r5 | |
3581 | to mips32r2; and mips64r3 and mips64r5 to mips64r2. | |
3582 | * config/mips/t-mti-elf (MULTILIB_MATCHES): Likewise. | |
3583 | * config/mips/t-mti-linux (MULTILIB_MATCHES): Likewise. | |
3584 | * config/mips/t-sde (MULTILIB_MATCHES): Likewise. | |
3585 | * config/mips/t-sdemtk (MULTILIB_MATCHES): New define. | |
3586 | * doc/invoke.texi: Document mips32r3, mips32r5, mips64r3 and mips64r5. | |
3587 | ||
35773f53 AB |
3588 | 2014-06-03 Andrew Bennett <andrew.bennett@imgtec.com> |
3589 | ||
3590 | * doc/invoke.texi: Document -mxpa and -mno-xpa MIPS command line | |
3591 | options. | |
3592 | * config/mips/mips.opt (mxpa): New option. | |
7b11cab7 | 3593 | * config/mips/mips.h (ASM_SPEC): Pass mxpa and mno-xpa to the |
35773f53 AB |
3594 | assembler. |
3595 | ||
d3fb5cf0 MJ |
3596 | 2014-06-03 Martin Jambor <mjambor@suse.cz> |
3597 | ||
3598 | PR ipa/61160 | |
3599 | * ipa-cp.c (cgraph_edge_brings_value_p): Handle edges leading to | |
3600 | thunks. | |
3601 | ||
3cc272c1 TP |
3602 | 2014-06-03 Thomas Preud'homme <thomas.preudhomme@arm.com> |
3603 | ||
3604 | PR tree-optimization/61328 | |
3605 | * tree-ssa-math-opts.c (init_symbolic_number): Extract symbolic number | |
3606 | initialization from find_bswap_or_nop_1. | |
3607 | (find_bswap_or_nop_1): Test return value of find_bswap_or_nop_1 stored | |
3608 | in source_expr2 before using the size value the function sets. Also | |
3609 | make use of init_symbolic_number () in both the old place and | |
3610 | find_bswap_or_nop_load () to avoid reading uninitialized memory when | |
3611 | doing recursion in the GIMPLE_BINARY_RHS case. | |
3612 | ||
597c6315 RB |
3613 | 2014-06-03 Richard Biener <rguenther@suse.de> |
3614 | ||
3615 | PR tree-optimization/61383 | |
3616 | * tree-ssa-ifcombine.c (bb_no_side_effects_p): Make sure | |
3617 | stmts can't trap. | |
3618 | ||
b48e9677 RS |
3619 | 2014-06-03 Richard Sandiford <rdsandiford@googlemail.com> |
3620 | ||
3621 | * defaults.h (USE_MD_CONSTRAINTS, EXTRA_MEMORY_CONSTRAINT) | |
3622 | (EXTRA_ADDRESS_CONSTRAINT, DEFAULT_CONSTRAINT_LEN, CONSTRAINT_LEN) | |
3623 | (CONST_OK_FOR_CONSTRAINT_P, CONST_DOUBLE_OK_FOR_LETTER_P) | |
3624 | (REG_CLASS_FROM_CONSTRAINT, EXTRA_CONSTRAINT_STR): Delete definitions | |
3625 | in this file. | |
3626 | (REG_CLASS_FROM_LETTER, CONST_OK_FOR_LETTER_P) | |
3627 | (CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT): Move poising to... | |
3628 | * system.h: ...here and make it unconditional. | |
3629 | * target.def (conditional_register_usage): Mention | |
3630 | define_register_constraint instead of old-style constraint macros. | |
3631 | * doc/tm.texi.in: Remove documentation for old-style constraint macros. | |
3632 | * doc/tm.texi: Regenerate. | |
3633 | * genoutput.c: Remove USE_MD_CONSTRAINTS conditions and all code | |
3634 | protected by !USE_MD_CONSTRAINTS. | |
3635 | * config/frv/frv.md: Remove quote from old version of documentation. | |
3636 | * config/frv/frv.c (frv_conditional_register_usage): Likewise. | |
3637 | * config/m32r/m32r.c (easy_di_const, easy_df_const): Avoid mentioning | |
3638 | CONST_DOUBLE_OK_FOR_LETTER. | |
3639 | * config/sh/constraints.md: Likewise EXTRA_CONSTRAINT. | |
3640 | ||
b94f5533 | 3641 | 2014-06-02 Andrew Pinski <apinski@cavium.com> |
7b11cab7 | 3642 | |
3a87ac45 AP |
3643 | * config/aarch64/aarch64-linux.h (GLIBC_DYNAMIC_LINKER): |
3644 | /lib/ld-linux32-aarch64.so.1 is used for ILP32. | |
b94f5533 AP |
3645 | (LINUX_TARGET_LINK_SPEC): Update linker script for ILP32. |
3646 | file whose name depends on -mabi= and -mbig-endian. | |
3a87ac45 AP |
3647 | * config/aarch64/t-aarch64-linux (MULTILIB_OSDIRNAMES): |
3648 | Handle LP64 better and handle ilp32 too. | |
b94f5533 AP |
3649 | (MULTILIB_OPTIONS): Delete. |
3650 | (MULTILIB_DIRNAMES): Delete. | |
3651 | ||
9b2b7279 AM |
3652 | 2014-06-02 Andrew MacLeod <amacleod@redhat.com> |
3653 | ||
3654 | * expr.h: Remove prototypes of functions defined in builtins.c. | |
3655 | * tree.h: (build_call_expr_*, build_string_literal): Add prototypes. | |
3656 | Remove prototypes of functions defined in builtins.c. | |
3657 | * builtins.h: Update prototype list to include all exported functions. | |
3658 | * builtins.c: (default_libc_has_function, gnu_libc_has_function, | |
3659 | no_c99_libc_has_function): Move to targhooks.c | |
3660 | (build_string_literal, build_call_expr_loc_array, | |
3661 | build_call_expr_loc_vec, build_call_expr_loc, build_call_expr): Move | |
3662 | to tree.c. | |
3663 | (expand_builtin_object_size, fold_builtin_object_size): Make static. | |
3664 | * targhooks.c (default_libc_has_function, gnu_libc_has_function, | |
3665 | no_c99_libc_has_function): Relocate from builtins.c. | |
3666 | * tree.c: Include builtins.h. | |
3667 | (build_call_expr_loc_array, build_call_expr_loc_vec, | |
3668 | build_call_expr_loc, build_call_expr, build_string_literal): Relocate | |
3669 | from builtins.c. | |
3670 | * fold-const.h (fold_fma): Move prototype to builtins.h. | |
3671 | * realmpfr.h (do_mpc_arg2): Move prototype to builtins.h. | |
3672 | * asan.c: Include builtins.h. | |
3673 | * cfgexpand.c: Likewise. | |
3674 | * convert.c: Likewise. | |
3675 | * emit-rtl.c: Likewise. | |
3676 | * except.c: Likewise. | |
3677 | * expr.c: Likewise. | |
3678 | * fold-const.c: Likewise. | |
3679 | * gimple-fold.c: Likewise. | |
3680 | * gimple-ssa-strength-reduction.c: Likewise. | |
3681 | * gimplify.c: Likewise. | |
3682 | * ipa-inline.c: Likewise. | |
3683 | * ipa-prop.c: Likewise. | |
3684 | * lto-streamer-out.c: Likewise. | |
3685 | * stmt.c: Likewise. | |
3686 | * tree-inline.c: Likewise. | |
3687 | * tree-object-size.c: Likewise. | |
3688 | * tree-sra.c: Likewise. | |
3689 | * tree-ssa-ccp.c: Likewise. | |
3690 | * tree-ssa-forwprop.c: Likewise. | |
3691 | * tree-ssa-loop-ivcanon.c: Likewise. | |
3692 | * tree-ssa-loop-ivopts.c: Likewise. | |
3693 | * tree-ssa-math-opts.c: Likewise. | |
3694 | * tree-ssa-reassoc.c: Likewise. | |
3695 | * tree-ssa-threadedge.c: Likewise. | |
3696 | * tree-streamer-in.c: Likewise. | |
3697 | * tree-vect-data-refs.c: Likewise. | |
3698 | * tree-vect-patterns.c: Likewise. | |
3699 | * tree-vect-stmts.c: Likewise. | |
3700 | * config/aarch64/aarch64.c: Likewise. | |
3701 | * config/alpha/alpha.c: Likewise. | |
3702 | * config/arc/arc.c: Likewise. | |
3703 | * config/arm/arm.c: Likewise. | |
3704 | * config/avr/avr.c: Likewise. | |
3705 | * config/bfin/bfin.c: Likewise. | |
3706 | * config/c6x/c6x.c: Likewise. | |
3707 | * config/cr16/cr16.c: Likewise. | |
3708 | * config/cris/cris.c: Likewise. | |
3709 | * config/epiphany/epiphany.c: Likewise. | |
3710 | * config/fr30/fr30.c: Likewise. | |
3711 | * config/frv/frv.c: Likewise. | |
3712 | * config/h8300/h8300.c: Likewise. | |
3713 | * config/i386/i386.c: Likewise. | |
3714 | * config/i386/winnt.c: Likewise. | |
3715 | * config/ia64/ia64.c: Likewise. | |
3716 | * config/iq2000/iq2000.c: Likewise. | |
3717 | * config/lm32/lm32.c: Likewise. | |
3718 | * config/m32c/m32c.c: Likewise. | |
3719 | * config/m32r/m32r.c: Likewise. | |
3720 | * config/m68k/m68k.c: Likewise. | |
3721 | * config/mcore/mcore.c: Likewise. | |
3722 | * config/mep/mep.c: Likewise. | |
3723 | * config/microblaze/microblaze.c: Likewise. | |
3724 | * config/mips/mips.c: Likewise. | |
3725 | * config/mmix/mmix.c: Likewise. | |
3726 | * config/mn10300/mn10300.c: Likewise. | |
3727 | * config/moxie/moxie.c: Likewise. | |
3728 | * config/msp430/msp430.c: Likewise. | |
3729 | * config/nds32/nds32.c: Likewise. | |
3730 | * config/pa/pa.c: Likewise. | |
3731 | * config/pdp11/pdp11.c: Likewise. | |
3732 | * config/picochip/picochip.c: Likewise. | |
3733 | * config/rl78/rl78.c: Likewise. | |
3734 | * config/rs6000/rs6000.c: Likewise. | |
3735 | * config/rx/rx.c: Likewise. | |
3736 | * config/s390/s390.c: Likewise. | |
3737 | * config/score/score.c: Likewise. | |
3738 | * config/sh/sh.c: Likewise. | |
3739 | * config/sparc/sparc.c: Likewise. | |
3740 | * config/spu/spu.c: Likewise. | |
3741 | * config/stormy16/stormy16.c: Likewise. | |
3742 | * config/tilegx/tilegx.c: Likewise. | |
3743 | * config/tilepro/tilepro.c: Likewise. | |
3744 | * config/v850/v850.c: Likewise. | |
3745 | * config/vax/vax.c: Likewise. | |
3746 | * config/xtensa/xtensa.c: Likewise. | |
3747 | ||
0d732cca JL |
3748 | 2014-06-02 Jeff Law <law@redhat.com> |
3749 | ||
3750 | PR rtl-optimization/61094 | |
3751 | * ree.c (combine_reaching_defs): Do not reextend an insn if it | |
3752 | was marked as do_no_reextend. If a copy is needed to eliminate | |
3753 | an extension, then mark it as do_not_reextend. | |
3754 | ||
a2adad8b MS |
3755 | 2014-06-02 Marcus Shawcroft <marcus.shawcroft@arm.com> |
3756 | ||
3757 | * config/aarch64/aarch64.md (set_fpcr): Drop ISB after FPCR write. | |
3758 | ||
20a951e6 RH |
3759 | 2014-06-02 Richard Henderson <rth@redhat.com> |
3760 | ||
3761 | PR target/61336 | |
3762 | * config/alpha/alpha.c (print_operand_address): Allow symbolic | |
3763 | addresses inside asms. Use output_operand_lossage instead of | |
3764 | gcc_unreachable. | |
3765 | ||
40c0a159 UB |
3766 | 2014-06-02 Uros Bizjak <ubizjak@gmail.com> |
3767 | ||
3768 | PR target/61239 | |
3769 | * config/i386/i386.c (ix86_expand_vec_perm) [case V32QImode]: Use | |
3770 | GEN_INT (-128) instead of GEN_INT (128) to set MSB of QImode constant. | |
3771 | ||
94bfa2da TV |
3772 | 2014-06-02 Tom de Vries <tom@codesourcery.com> |
3773 | ||
3774 | * config/aarch64/aarch64.c (aarch64_float_const_representable_p): Handle | |
3775 | case that x has VOIDmode. | |
3776 | ||
4a1f940f BS |
3777 | 2014-06-02 Bernd Schmidt <bernds@codesourcery.com> |
3778 | ||
3779 | * varasm.c (copy_constant): Delete function. | |
3780 | (build_constant_desc): Don't call it. | |
3781 | ||
27e83a44 RR |
3782 | 2014-06-02 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
3783 | ||
3784 | PR target/61154 | |
3785 | * config/arm/arm.h (TARGET_SUPPORTS_WIDE_INT): Define. | |
3786 | * config/arm/arm.md (mov64 splitter): Replace const_double_operand | |
3787 | with immediate_operand. | |
3788 | ||
31815ed7 AS |
3789 | 2014-06-02 Andreas Schwab <schwab@suse.de> |
3790 | ||
3791 | * config/ia64/ia64.c | |
3792 | (ia64_first_cycle_multipass_dfa_lookahead_guard): Check | |
3793 | pending_data_specs first. | |
3794 | ||
61dd7fbc RB |
3795 | 2014-06-02 Richard Biener <rguenther@suse.de> |
3796 | ||
3797 | PR tree-optimization/61378 | |
3798 | * tree-ssa-sccvn.c (vn_reference_lookup_3): Initialize | |
3799 | valueized_anything. | |
3800 | ||
1828d3e6 UB |
3801 | 2014-06-01 Uros Bizjak <ubizjak@gmail.com> |
3802 | ||
3803 | * config/i386/constraints.md (Bw): Rename from 'w'. | |
3804 | (Bz): Rename from 'z'. | |
3805 | * config/i386/i386.md: Change 'w' to 'Bw' and 'z' to 'Bz' globally. | |
3806 | ||
6041d142 KT |
3807 | 2014-06-01 Kai Tietz <ktietz@redhat.com> |
3808 | ||
3809 | PR target/61377 | |
1828d3e6 UB |
3810 | * config/i386/constrains.md (define_constrain): New 'Bs' constraint. |
3811 | * config/i386/i386.md (sibcall_insn_operand): Use Bs | |
3812 | instead of m constraint. | |
6041d142 | 3813 | |
aef1bf3b AS |
3814 | 2014-05-31 Andreas Schwab <schwab@linux-m68k.org> |
3815 | ||
3816 | * config/m68k/m68k.md (beq0_di, bne0_di): Make the "o" constraint | |
3817 | a separate alternative where the scratch operand 2 is marked as | |
3818 | early clobber. | |
3819 | ||
f10743d3 KV |
3820 | 2014-05-31 Kugan Vivekanandarajah <kuganv@linaro.org> |
3821 | ||
3822 | * config/arm/arm.c (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New define. | |
3823 | (arm_builtins) : Add ARM_BUILTIN_GET_FPSCR and ARM_BUILTIN_SET_FPSCR. | |
3824 | (bdesc_2arg) : Add description for builtins __builtins_arm_set_fpscr | |
3825 | and __builtins_arm_get_fpscr. | |
3826 | (arm_init_builtins) : Initialize builtins __builtins_arm_set_fpscr and | |
3827 | __builtins_arm_get_fpscr. | |
3828 | (arm_expand_builtin) : Expand builtins __builtins_arm_set_fpscr and | |
3829 | __builtins_arm_ldfpscr. | |
3830 | (arm_atomic_assign_expand_fenv): New function. | |
3831 | * config/arm/vfp.md (set_fpscr): New pattern. | |
3832 | (get_fpscr) : Likewise. | |
3833 | * config/arm/unspecs.md (unspecv): Add VUNSPEC_GET_FPSCR and | |
3834 | VUNSPEC_SET_FPSCR. | |
3835 | * doc/extend.texi (AARCH64 Built-in Functions) : Document | |
3836 | __builtins_arm_set_fpscr, __builtins_arm_get_fpscr. | |
3837 | ||
40f9f6bb JJ |
3838 | 2014-05-30 Jakub Jelinek <jakub@redhat.com> |
3839 | ||
b3f1051b JJ |
3840 | * asan.c (report_error_func): Add SLOW_P argument, use |
3841 | BUILT_IN_ASAN_*_N if set. | |
3842 | (build_check_stmt): Likewise. | |
3843 | (instrument_derefs): If T has insufficient alignment, | |
3844 | force same handling as for odd sizes. | |
3845 | ||
40f9f6bb JJ |
3846 | * sanitizer.def (BUILT_IN_ASAN_REPORT_LOAD_N, |
3847 | BUILT_IN_ASAN_REPORT_STORE_N): New. | |
3848 | * asan.c (struct asan_mem_ref): Change access_size type to | |
3849 | HOST_WIDE_INT. | |
3850 | (asan_mem_ref_init, asan_mem_ref_new, get_mem_refs_of_builtin_call, | |
3851 | update_mem_ref_hash_table): Likewise. | |
3852 | (asan_mem_ref_hasher::hash): Hash in a HWI. | |
3853 | (report_error_func): Change size_in_bytes argument to HWI. | |
3854 | Use *_N builtins if size_in_bytes is larger than 16 or not power of | |
3855 | two. | |
3856 | (build_shadow_mem_access): New function. | |
3857 | (build_check_stmt): Use it. Change size_in_bytes argument to HWI. | |
3858 | Handle size_in_bytes not power of two or larger than 16. | |
3859 | (instrument_derefs): Don't give up if size_in_bytes is not | |
3860 | power of two or is larger than 16. | |
3861 | ||
cb105922 KT |
3862 | 2014-05-30 Kai Tietz <ktietz@redhat.com> |
3863 | ||
3864 | PR target/60104 | |
3865 | * config/i386/i386.c (x86_output_mi_thunk): Add memory case | |
3866 | for sibling-tail-calls. | |
3867 | * config/i386/i386.md (sibcall_insn_operand): Add memory-constrain | |
3868 | to its use. | |
3869 | * config/i386/predicates.md (sibcall_memory_operand): New predicate. | |
3870 | (sibcall_insn_operand): Add check for sibcall_memory_operand. | |
3871 | ||
150e0639 PS |
3872 | 2014-05-30 Pitchumani Sivanupandi <pitchumani.s@atmel.com> |
3873 | ||
3874 | * config/avr/avr-mcus.def: Change ATA6289 ISA to AVR4 | |
3875 | * config/avr/avr-tables.opt: Regenerate. | |
3876 | * config/avr/t-multilib: Regenerate. | |
3877 | * doc/avr-mmcu.texi: Regenerate. | |
3878 | ||
f9a8f6d9 ILT |
3879 | 2014-05-30 Ian Lance Taylor <iant@google.com> |
3880 | ||
3881 | * config/i386/xmmintrin.h (_mm_pause): Move out of scope of pragma | |
3882 | target("sse"). | |
3883 | ||
5028356f TV |
3884 | 2014-05-30 Tom de Vries <tom@codesourcery.com> |
3885 | ||
3886 | * config/i386/i386.c (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): | |
3887 | Redefine as true. | |
3888 | ||
10e1bdb2 TV |
3889 | 2014-05-30 Tom de Vries <tom@codesourcery.com> |
3890 | ||
3891 | * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set. | |
3892 | * lra.c (initialize_lra_reg_info_element): Add init of | |
3893 | actual_call_used_reg_set field. | |
3894 | (lra): Call lra_create_live_ranges before lra_inheritance for | |
3895 | -fuse-caller-save. | |
3896 | * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for | |
3897 | -fuse-caller-save. | |
3898 | * lra-constraints.c (need_for_call_save_p): Use actual_call_used_reg_set | |
3899 | instead of call_used_reg_set for -fuse-caller-save. | |
3900 | * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set. | |
3901 | ||
56912037 KT |
3902 | 2014-05-30 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
3903 | ||
3904 | * config/arm/thumb2.md (*thumb2_movhi_insn): Set type of movw | |
3905 | to mov_imm. | |
3906 | * config/arm/vfp.md (*thumb2_movsi_vfp): Likewise. | |
3907 | ||
98f2f031 RS |
3908 | 2014-05-30 Richard Sandiford <rdsandiford@googlemail.com> |
3909 | ||
3910 | * ira.c (ira_get_dup_out_num): Check for output operands at | |
3911 | the start of the loop. Handle cases where an included alternative | |
3912 | follows an excluded one. | |
3913 | ||
79abf19f MS |
3914 | 2014-05-29 Mike Stump <mikestump@comcast.net> |
3915 | ||
3916 | PR debug/61352 | |
3917 | * collect2.c (maybe_run_lto_and_relink): Be sure to always run | |
3918 | post ld passes when lto is used. | |
3919 | ||
cc8849a1 VM |
3920 | 2014-05-29 Vladimir Makarov <vmakarov@redhat.com> |
3921 | ||
3922 | PR rtl-optimization/61325 | |
40c0a159 | 3923 | * lra-constraints.c (process_address): Rename to process_address_1. |
cc8849a1 VM |
3924 | (process_address): New function. |
3925 | ||
ae0533da AL |
3926 | 2014-05-29 Alan Lawrence <alan.lawrence@arm.com> |
3927 | ||
3928 | * config/aarch64/aarch64-builtins.c (aarch64_types_binopv_qualifiers, | |
3929 | TYPES_BINOPV): New static data. | |
40c0a159 UB |
3930 | * config/aarch64/aarch64-simd-builtins.def (im_lane_bound): |
3931 | New builtin. | |
3932 | * config/aarch64/aarch64-simd.md (aarch64_ext, | |
3933 | aarch64_im_lane_boundsi): New patterns. | |
ae0533da AL |
3934 | * config/aarch64/aarch64.c (aarch64_expand_vec_perm_const_1): Match |
3935 | patterns for EXT. | |
3936 | (aarch64_evpc_ext): New function. | |
3937 | ||
3938 | * config/aarch64/iterators.md (UNSPEC_EXT): New enum element. | |
3939 | ||
3940 | * config/aarch64/arm_neon.h (vext_f32, vext_f64, vext_p8, vext_p16, | |
3941 | vext_s8, vext_s16, vext_s32, vext_s64, vext_u8, vext_u16, vext_u32, | |
3942 | vext_u64, vextq_f32, vextq_f64, vextq_p8, vextq_p16, vextq_s8, | |
3943 | vextq_s16, vextq_s32, vextq_s64, vextq_u8, vextq_u16, vextq_u32, | |
3944 | vextq_u64): Replace __asm with __builtin_shuffle and im_lane_boundsi. | |
3945 | ||
ed00b1fb TV |
3946 | 2014-05-29 Tom de Vries <tom@codesourcery.com> |
3947 | ||
3948 | * rtl.h (BLOCK_SYMBOL_CHECK): Use SYMBOL_REF_FLAGS. | |
3949 | ||
004d3809 | 3950 | 2014-05-29 Richard Earnshaw <rearnsha@arm.com> |
40c0a159 | 3951 | Richard Sandiford <rdsandiford@googlemail.com> |
004d3809 | 3952 | |
40c0a159 UB |
3953 | * arm/iterators.md (shiftable_ops): New code iterator. |
3954 | (t2_binop0, arith_shift_insn): New code attributes. | |
004d3809 | 3955 | * arm/predicates.md (shift_nomul_operator): New predicate. |
40c0a159 UB |
3956 | * arm/arm.md (insn_enabled): Delete. |
3957 | (enabled): Remove insn_enabled test. | |
3958 | (*arith_shiftsi): Delete. Replace with ... | |
3959 | (*<arith_shift_insn>_multsi): ... new pattern. | |
004d3809 RE |
3960 | (*<arith_shift_insn>_shiftsi): ... new pattern. |
3961 | * config/arm/arm.c (arm_print_operand): Handle operand format 'b'. | |
3962 | ||
c2db3f3d | 3963 | 2014-05-29 Radovan Obradovic <robradovic@mips.com> |
40c0a159 | 3964 | Tom de Vries <tom@codesourcery.com> |
c2db3f3d RO |
3965 | |
3966 | * config/mips/mips.h (POST_CALL_TMP_REG): Define. | |
3967 | * config/mips/mips.c (mips_emit_call_insn): Add POST_CALL_TMP_REG | |
3968 | clobber. | |
3969 | (mips_split_call): Use POST_CALL_TMP_REG. | |
3970 | (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): Redefine to true. | |
3971 | ||
4b29b965 TV |
3972 | 2014-05-29 Tom de Vries <tom@codesourcery.com> |
3973 | ||
3974 | * final.c (collect_fn_hard_reg_usage): Guard variable declaration | |
3975 | with #ifdef STACK_REGS. | |
3976 | ||
726f0774 JH |
3977 | 2014-05-28 Jan Hubicka <hubicka@ucw.cz> |
3978 | ||
3979 | * varasm.c (get_variable_section): Walk aliases. | |
3980 | (place_block_symbol): Walk aliases. | |
3981 | ||
ea0b381f TV |
3982 | 2014-05-28 Tom de Vries <tom@codesourcery.com> |
3983 | ||
3984 | Revert: | |
3985 | 2014-05-28 Tom de Vries <tom@codesourcery.com> | |
3986 | ||
3987 | * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set. | |
3988 | * lra.c (initialize_lra_reg_info_element): Add init of | |
3989 | actual_call_used_reg_set field. | |
3990 | (lra): Call lra_create_live_ranges before lra_inheritance for | |
3991 | -fuse-caller-save. | |
3992 | * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for | |
3993 | -fuse-caller-save. | |
40c0a159 UB |
3994 | * lra-constraints.c (need_for_call_save_p): Use |
3995 | actual_call_used_reg_set instead of call_used_reg_set for | |
3996 | -fuse-caller-save. | |
ea0b381f TV |
3997 | * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set. |
3998 | ||
73f793e3 RS |
3999 | 2014-05-28 Richard Sandiford <rdsandiford@googlemail.com> |
4000 | ||
4001 | * doc/md.texi: Document that the % constraint character must | |
4002 | be at the beginning of the string. | |
4003 | * genoutput.c (validate_insn_alternatives): Check that '=', | |
4004 | '+' and '%' only appear at the beginning of a constraint. | |
4005 | * ira.c (commutative_constraint_p): Delete. | |
4006 | (ira_get_dup_out_num): Expect the '%' commutativity marker to be | |
4007 | at the start of the string. | |
4008 | * config/alpha/alpha.md (*movmemdi_1, *clrmemdi_1): Remove | |
4009 | duplicate '='s. | |
4010 | * config/arm/neon.md (bicdi3_neon): Likewise. | |
4011 | * config/iq2000/iq2000.md (addsi3_internal, subsi3_internal, sgt_si) | |
4012 | (slt_si, sltu_si): Likewise. | |
4013 | * config/vax/vax.md (sbcdi3): Likewise. | |
4014 | * config/h8300/h8300.md (*cmpstz): Remove duplicate '+'. | |
4015 | * config/arc/arc.md (mulsi_600, mulsidi_600, umulsidi_600) | |
4016 | (mul64): Move '%' to beginning of constraint. | |
4017 | * config/arm/arm.md (*xordi3_insn): Likewise. | |
4018 | * config/nds32/nds32.md (add<mode>3, mulsi3, andsi3, iorsi3) | |
4019 | (xorsi3): Likewise. | |
4020 | ||
5a7555ab RS |
4021 | 2014-05-28 Richard Sandiford <rdsandiford@googlemail.com> |
4022 | ||
4023 | * doc/md.texi: Document the restrictions on the "enabled" attribute. | |
4024 | ||
d67ff7b7 JM |
4025 | 2014-05-28 Jason Merrill <jason@redhat.com> |
4026 | ||
4027 | PR c++/47202 | |
4028 | * cgraph.h (symtab_node::get_comdat_group_id): New. | |
4029 | * cgraphunit.c (analyze_functions): Call it. | |
4030 | * symtab.c (dump_symtab_node): Likewise. | |
4031 | * tree.c (decl_comdat_group_id): New. | |
4032 | * tree.h: Declare it. | |
4033 | * lto-streamer-out.c (write_symbol): Use it. | |
4034 | * trans-mem.c (ipa_tm_create_version_alias): Likewise. | |
4035 | ||
ecc7533a FXC |
4036 | 2014-05-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
4037 | ||
4038 | PR bootstrap/PR61146 | |
4039 | * wide-int.cc: Do not include longlong.h when compiling with clang. | |
4040 | ||
6e5799b9 RB |
4041 | 2014-05-28 Richard Biener <rguenther@suse.de> |
4042 | ||
4043 | * tree-ssa-propagate.c (add_control_edge): Print less vertical space. | |
4044 | * tree-vrp.c (extract_range_from_ssa_name): Also copy VR_UNDEFINED. | |
4045 | (vrp_visit_assignment_or_call): Print less vertical space. | |
4046 | (vrp_visit_stmt): Likewise. | |
4047 | (vrp_visit_phi_node): Likewise. For a PHI argument with | |
4048 | VR_VARYING range consider recording it as copy. | |
4049 | ||
47f9fca8 RB |
4050 | 2014-05-28 Richard Biener <rguenther@suse.de> |
4051 | ||
4052 | Revert | |
4053 | 2014-05-28 Richard Biener <rguenther@suse.de> | |
4054 | ||
4055 | * hwint.h (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64. | |
4056 | ||
7fbf8a3e BE |
4057 | 2014-05-28 Bernd Edlinger <bernd.edlinger@hotmail.de> |
4058 | ||
4059 | * expr.c (expand_assignment): Fold the bitpos in the to_rtx if | |
4060 | sufficiently aligned and an offset is used at the same time. | |
4061 | (expand_expr_real_1): Likewise. | |
4062 | ||
b017a174 RB |
4063 | 2014-05-28 Richard Biener <rguenther@suse.de> |
4064 | ||
4065 | PR middle-end/61045 | |
4066 | * fold-const.c (fold_comparison): When folding | |
4067 | X +- C1 CMP Y +- C2 to X CMP Y +- C2 +- C1 also ensure | |
4068 | the sign of the remaining constant operand stays the same. | |
4069 | ||
96360888 KP |
4070 | 2014-05-28 Kaushik Phatak <kaushik.phatak@kpit.com> |
4071 | ||
4072 | * config/rl78/rl78.h (TARGET_CPU_CPP_BUILTINS): Define | |
4073 | __RL78_64BIT_DOUBLES__ or __RL78_32BIT_DOUBLES__. | |
4074 | (ASM_SPEC): Pass -m64bit-doubles or -m32bit-doubles on | |
4075 | to the assembler. | |
40c0a159 | 4076 | (DOUBLE_TYPE_SIZE): Use 64 bit if TARGET_64BIT_DOUBLES is true. |
96360888 KP |
4077 | * gcc/config/rl78/rl78.opt (m64bit-doubles): New option. |
4078 | (m32bit-doubles) Likewise. | |
4079 | * gcc/config/rl78/t-rl78: Add 64-bit-double multilib. | |
4080 | * doc/invoke.texi: Document -m32bit-doubles and -m64bit-doubles | |
4081 | option for RL78. | |
4082 | ||
3c698bf0 RO |
4083 | 2014-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4084 | ||
4085 | * configure.ac ($gcc_cv_ld_clearcap): New test. | |
4086 | * configure: Regenerate. | |
4087 | * config.in: Regenerate. | |
4088 | * config/sol2.opt (mclear-hwcap): New option. | |
4089 | * config/sol2.h (LINK_CLEARCAP_SPEC): Define. | |
4090 | * config/sol2-clearcap.map: Moved here from | |
4091 | testsuite/gcc.target/i386/clearcap.map. | |
4092 | * config/sol2-clearcapv2.map: Move here from | |
4093 | gcc.target/i386/clearcapv2.map. | |
4094 | * config/t-sol2 (install): Depend on install-clearcap-map. | |
4095 | (install-clearcap-map): New target. | |
4096 | * doc/invoke.texi (Option Summary, Solaris 2 Options): Document | |
4097 | -mclear-hwcap. | |
4098 | ||
4c8bd90f RB |
4099 | 2014-05-28 Richard Biener <rguenther@suse.de> |
4100 | ||
4101 | * hwint.h (*_HALF_WIDE_INT*): Move to ... | |
4102 | * wide-int.cc (HOST_BITS_PER_HALF_WIDE_INT, HOST_HALF_WIDE_INT): | |
4103 | ... here and remove the rest. | |
4104 | * hwint.h (HOST_WIDE_INT_PRINT_*): Define in terms of PRI*64. | |
4105 | ||
a896172d RB |
4106 | 2014-05-28 Richard Biener <rguenther@suse.de> |
4107 | ||
4108 | PR tree-optimization/61335 | |
4109 | * tree-vrp.c (vrp_visit_phi_node): If the compare of old and | |
4110 | new range fails, drop to varying. | |
4111 | ||
c41f1c42 BE |
4112 | 2014-05-28 Olivier Hainque <hainque@adacore.com> |
4113 | ||
4114 | * config/rs6000/vxworks.h (VXCPU_FOR_8548): New. Default to PPC85XX. | |
4115 | (CPP_SPEC): Add entry for -mcpu=8548. | |
4116 | * config/rs6000/vxworksae.h: Reinstate. Override VXCPU_FOR_8548. | |
4117 | * config.gcc (powerpc-wrs-vxworksae, tm_file): Add back vxworksae.h. | |
4118 | ||
b8c6a45a TV |
4119 | 2014-05-28 Tom de Vries <tom@codesourcery.com> |
4120 | ||
4121 | * lra-int.h (struct lra_reg): Add field actual_call_used_reg_set. | |
4122 | * lra.c (initialize_lra_reg_info_element): Add init of | |
4123 | actual_call_used_reg_set field. | |
4124 | (lra): Call lra_create_live_ranges before lra_inheritance for | |
4125 | -fuse-caller-save. | |
4126 | * lra-assigns.c (lra_assign): Allow call_used_regs to cross calls for | |
4127 | -fuse-caller-save. | |
40c0a159 UB |
4128 | * lra-constraints.c (need_for_call_save_p): Use |
4129 | actual_call_used_reg_set instead of call_used_reg_set for | |
4130 | -fuse-caller-save. | |
b8c6a45a TV |
4131 | * lra-lives.c (process_bb_lives): Calculate actual_call_used_reg_set. |
4132 | ||
dbe7d9e3 | 4133 | 2014-05-28 Radovan Obradovic <robradovic@mips.com> |
40c0a159 | 4134 | Tom de Vries <tom@codesourcery.com> |
dbe7d9e3 | 4135 | |
40c0a159 UB |
4136 | * doc/invoke.texi (@item Optimization Options): Add -fuse-caller-save |
4137 | to gccoptlist. | |
dbe7d9e3 RO |
4138 | (@item -fuse-caller-save): New item. |
4139 | ||
5c989bbf | 4140 | 2014-05-28 Radovan Obradovic <robradovic@mips.com> |
40c0a159 | 4141 | Tom de Vries <tom@codesourcery.com> |
5c989bbf RO |
4142 | |
4143 | * opts.c (default_options_table): Add OPT_LEVELS_2_PLUS entry with | |
4144 | OPT_fuse_caller_save. | |
4145 | ||
c2ba7e7a | 4146 | 2014-05-28 Radovan Obradovic <robradovic@mips.com> |
40c0a159 | 4147 | Tom de Vries <tom@codesourcery.com> |
c2ba7e7a RO |
4148 | |
4149 | * df-scan.c (df_get_call_refs): Use get_call_reg_set_usage. | |
4150 | * caller-save.c (setup_save_areas, save_call_clobbered_regs): Use | |
4151 | get_call_reg_set_usage. | |
4152 | * resource.c (mark_set_resources, mark_target_live_regs): Use | |
4153 | get_call_reg_set_usage. | |
4154 | * ira-int.h (struct ira_allocno): Add crossed_calls_clobbered_regs | |
4155 | field. | |
4156 | (ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS): Define. | |
4157 | * ira-lives.c (process_bb_node_lives): Use get_call_reg_set_usage. | |
4158 | Calculate ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS. | |
4159 | * ira-build.c (ira_create_allocno): Init | |
4160 | ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS. | |
4161 | (create_cap_allocno, propagate_allocno_info) | |
4162 | (propagate_some_info_from_allocno) | |
4163 | (copy_info_to_removed_store_destinations): Handle | |
4164 | ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS. | |
4165 | * ira-costs.c (ira_tune_allocno_costs): Use | |
4166 | ALLOCNO_CROSSED_CALLS_CLOBBERED_REGS to adjust costs. | |
4167 | ||
27c07cc5 | 4168 | 2014-05-28 Radovan Obradovic <robradovic@mips.com> |
40c0a159 | 4169 | Tom de Vries <tom@codesourcery.com> |
27c07cc5 RO |
4170 | |
4171 | * cgraph.h (struct cgraph_rtl_info): Add function_used_regs | |
4172 | and function_used_regs_valid fields. | |
4173 | * final.c: Move include of hard-reg-set.h to before rtl.h to declare | |
4174 | find_all_hard_reg_sets. | |
4175 | (collect_fn_hard_reg_usage, get_call_fndecl, get_call_cgraph_rtl_info) | |
4176 | (get_call_reg_set_usage): New function. | |
4177 | (rest_of_handle_final): Use collect_fn_hard_reg_usage. | |
4178 | * regs.h (get_call_reg_set_usage): Declare. | |
4179 | ||
ca48e5ef GJL |
4180 | 2014-05-28 Georg-Johann Lay <avr@gjlay.de> |
4181 | ||
4182 | PR libgcc/61152 | |
4183 | * config/dbx.h (License): Add Runtime Library Exception. | |
4184 | * config/newlib-stdint.h (License): Same. | |
4185 | * config/rtems.h (License): Same | |
4186 | * config/initfini-array.h (License): Same | |
4187 | * config/v850/v850.h (License): Same. | |
4188 | * config/v850/v850-opts.h (License): Same | |
4189 | * config/v850/rtems.h (License): Same. | |
4190 | ||
92747f7d GJL |
4191 | 2014-05-28 Georg-Johann Lay <avr@gjlay.de> |
4192 | ||
4193 | PR target/61044 | |
4194 | * doc/extend.texi (Local Labels): Note that label differences are | |
4195 | not supported for AVR. | |
4196 | ||
c41f1c42 BE |
4197 | 2014-05-28 Richard Sandiford <rdsandiford@googlemail.com> |
4198 | Olivier Hainque <hainque@adacore.com> | |
4199 | ||
4200 | * rtl.h (set_for_reg_notes): Declare. | |
4201 | * emit-rtl.c (set_for_reg_notes): New function. | |
4202 | (set_unique_reg_note): Use it. | |
4203 | * optabs.c (add_equal_note): Likewise | |
4204 | ||
9c6ab05f AP |
4205 | 2014-05-27 Andrew Pinski <apinski@cavium.com> |
4206 | ||
4207 | * config/aarch64/aarch64.md (stack_protect_set_<mode>): | |
4208 | Use <w> for the register in assembly template. | |
40c0a159 | 4209 | (stack_protect_test): Use the mode of operands[0] for the result. |
9c6ab05f AP |
4210 | (stack_protect_test_<mode>): Use <w> for the register |
4211 | in assembly template. | |
4212 | ||
69c7a374 DD |
4213 | 2014-05-27 DJ Delorie <dj@redhat.com> |
4214 | ||
4215 | * config/rx/rx.c (add_vector_labels): New. | |
4216 | (rx_output_function_prologue): Call it. | |
4217 | (rx_handle_func_attribute): Don't require empty arguments. | |
4218 | (rx_handle_vector_attribute): New. | |
4219 | (rx_attribute_table): Add "vector" attribute. | |
4220 | * doc/extend.texi (interrupt, vector): Document new/changed | |
4221 | RX-specific attributes. | |
4222 | ||
4223 | * config/rx/rx.c (rx_adjust_insn_length): Skip for non-insns. | |
4224 | ||
5e67547d EB |
4225 | 2014-05-27 Eric Botcazou <ebotcazou@adacore.com> |
4226 | ||
4227 | * double-int.c (div_and_round_double) <ROUND_DIV_EXPR>: Use the proper | |
4228 | predicate to detect a negative quotient. | |
4229 | ||
d378c07e EB |
4230 | 2014-05-27 Eric Botcazou <ebotcazou@adacore.com> |
4231 | ||
4232 | * fold-const.c (fold_comparison): Clean up and extend X +- C1 CMP C2 | |
4233 | to X CMP C2 -+ C1 transformation to EQ_EXPR/NE_EXPR. | |
4234 | Add X - Y CMP 0 to X CMP Y transformation. | |
4235 | (fold_binary_loc) <EQ_EXPR/NE_EXPR>: Remove same transformations. | |
4236 | ||
3ce6c715 SB |
4237 | 2014-05-27 Segher Boessenkool <segher@kernel.crashing.org> |
4238 | ||
4239 | * stmt.c (dump_case_nodes): Don't convert values to HOST_WIDE_INT | |
4240 | before printing. | |
4241 | ||
11237229 SE |
4242 | 2014-05-27 Steve Ellcey <sellcey@mips.com> |
4243 | ||
4244 | * config/mips/mips.c: Add include of cgraph.h. | |
4245 | ||
7ea7f668 RB |
4246 | 2014-05-27 Richard Biener <rguenther@suse.de> |
4247 | ||
4248 | * system.h (__STDC_FORMAT_MACROS): Define as very first thing. | |
4249 | ||
c7eca9fe GJL |
4250 | 2014-05-27 Georg-Johann Lay <avr@gjlay.de> |
4251 | ||
4252 | PR libgcc/61152 | |
4253 | * config/arm/arm.h (License): Add note to COPYING.RUNTIME. | |
4254 | * config/arm/arm-cores.def (License): Same. | |
4255 | * config/arm/arm-opts.h (License): Same. | |
4256 | * config/arm/aout.h (License): Same. | |
4257 | * config/arm/bpabi.h (License): Same. | |
4258 | * config/arm/elf.h (License): Same. | |
4259 | * config/arm/linux-elf.h (License): Same. | |
4260 | * config/arm/linux-gas.h (License): Same. | |
4261 | * config/arm/netbsd-elf.h (License): Same. | |
4262 | * config/arm/uclinux-eabi.h (License): Same. | |
4263 | * config/arm/uclinux-elf.h (License): Same. | |
4264 | * config/arm/vxworks.h (License): Same. | |
4265 | ||
7a10ea9f KT |
4266 | 2014-05-27 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
4267 | ||
4268 | * config/arm/neon.md (neon_bswap<mode>): New pattern. | |
4269 | * config/arm/arm.c (neon_itype): Add NEON_BSWAP. | |
4270 | (arm_init_neon_builtins): Handle NEON_BSWAP. | |
4271 | Define required type nodes. | |
4272 | (arm_expand_neon_builtin): Handle NEON_BSWAP. | |
4273 | (arm_builtin_vectorized_function): Handle BUILTIN_BSWAP builtins. | |
4274 | * config/arm/arm_neon_builtins.def (bswap): Define builtins. | |
4275 | * config/arm/iterators.md (VDQHSD): New mode iterator. | |
4276 | ||
597f5997 RB |
4277 | 2014-05-27 Richard Biener <rguenther@suse.de> |
4278 | ||
4279 | * tree-vrp.c (vrp_evaluate_conditional_warnv_with_ops_using_ranges): | |
4280 | Try using literal operands when comparing value-ranges failed. | |
4281 | ||
f571b63f RS |
4282 | 2014-05-27 Richard Sandiford <rdsandiford@googlemail.com> |
4283 | ||
4284 | * ira.c (commutative_operand): Adjust for change to recog_data. | |
4285 | [Missing from previous commit.] | |
4286 | ||
4cc8d9d2 RS |
4287 | 2014-05-27 Richard Sandiford <rdsandiford@googlemail.com> |
4288 | ||
4289 | * system.h (TEST_BIT): New macro. | |
4290 | * recog.h (alternative_mask): New type. | |
4291 | (ALL_ALTERNATIVES, ALTERNATIVE_BIT): New macros. | |
4292 | (recog_data_d): Replace alternative_enabled_p array with | |
4293 | enabled_alternatives. | |
4294 | (target_recog): New structure. | |
4295 | (default_target_recog, this_target_recog): Declare. | |
4296 | (get_enabled_alternatives, recog_init): Likewise. | |
4297 | * recog.c (default_target_recog, this_target_recog): New variables. | |
4298 | (get_enabled_alternatives): New function. | |
4299 | (extract_insn): Use it. | |
4300 | (recog_init): New function. | |
4301 | (preprocess_constraints, constrain_operands): Adjust for change to | |
4302 | recog_data. | |
4303 | * postreload.c (reload_cse_simplify_operands): Likewise. | |
4304 | * reload.c (find_reloads): Likewise. | |
4305 | * ira-costs.c (record_reg_classes): Likewise. | |
4306 | * ira-lives.c (single_reg_class): Likewise. Fix bug in which | |
4307 | all alternatives after a disabled one would be skipped. | |
4308 | (ira_implicitly_set_insn_hard_regs): Likewise. | |
4309 | * ira.c (ira_setup_alts): Adjust for change to recog_data. | |
4310 | * lra-int.h (lra_insn_recog_data): Replace alternative_enabled_p | |
4311 | with enabled_alternatives. | |
4312 | * lra.c (free_insn_recog_data): Update accordingly. | |
4313 | (lra_update_insn_recog_data): Likewise. | |
4314 | (lra_set_insn_recog_data): Likewise. Use get_enabled_alternatives. | |
4315 | * lra-constraints.c (process_alt_operands): Likewise. Handle | |
4316 | only_alternative as part of the enabled mask. | |
4317 | * target-globals.h (this_target_recog): Declare. | |
4318 | (target_globals): Add a recog field. | |
4319 | (restore_target_globals): Restore this_target_recog. | |
4320 | * target-globals.c: Include recog.h. | |
4321 | (default_target_globals): Initialize recog field. | |
4322 | (save_target_globals): Likewise. | |
4323 | * reginfo.c (reinit_regs): Call recog_init. | |
4324 | * toplev.c (backend_init_target): Likewise. | |
4325 | ||
9921417d RS |
4326 | 2014-05-27 Richard Sandiford <rdsandiford@googlemail.com> |
4327 | ||
4328 | * gencodes.c (main): Make LAST_INSN_CODE higher than any insn code, | |
4329 | rather than any named insn's code. | |
4330 | ||
a5024e01 GJL |
4331 | 2014-05-27 Georg-Johann Lay <avr@gjlay.de> |
4332 | ||
4333 | PR libgcc/61152 | |
4334 | * config/arm/arm-opts.h (License): Add GCC Runtime Library Exception. | |
4335 | * config/arm/arm-cores.def (License): Same. | |
4336 | ||
50efcce1 JH |
4337 | 2014-05-26 Jan Hubicka <hubicka@ucw.cz> |
4338 | ||
4339 | * tree.h (decl_comdat_group): Declare. | |
4340 | * cgraph.h (symtab_in_same_comdat_p): Move offline to ... | |
4341 | * tree.c (decl_comdat_group): Here. | |
4342 | ||
3e26c8f6 RS |
4343 | 2014-05-26 Richard Sandiford <r.sandiford@uk.ibm.com> |
4344 | ||
4345 | PR rtl-optimization/61222 | |
4346 | * combine.c (simplify_shift_const_1): When moving a PLUS outside | |
4347 | the shift, truncate the PLUS operand to the result mode. | |
4348 | ||
b8140cd6 UB |
4349 | 2014-05-26 Uros Bizjak <ubizjak@gmail.com> |
4350 | ||
4351 | PR target/61271 | |
4352 | * config/i386/i386.c (ix86_rtx_costs) | |
4353 | <case CONST_INT, case CONST, case LABEL_REF, case SYMBOL_REF>: | |
4354 | Fix condition. | |
4355 | ||
acea91c9 MJ |
4356 | 2014-05-26 Martin Jambor <mjambor@suse.cz> |
4357 | ||
4358 | * ira.c (split_live_ranges_for_shrink_wrap): Remove bailout on | |
4359 | subreg uses. | |
4360 | ||
d93461f7 RB |
4361 | 2014-05-26 Richard Biener <rguenther@suse.de> |
4362 | ||
4363 | * wide-int.h (wi::int_traits <long>, wi::int_traits <unsigned long>, | |
4364 | wi::int_traits <long long>, wi::int_traits <unsigned long long>): | |
4365 | Provide specializations. | |
4366 | (wi::int_traits <HOST_WIDE_INT>, | |
4367 | wi::int_traits <unsigned HOST_WIDE_INT>): Remove specializations. | |
4368 | ||
bfe51f42 AM |
4369 | 2014-05-26 Alan Modra <amodra@gmail.com> |
4370 | ||
4371 | PR target/61098 | |
4372 | * config/rs6000/rs6000.c (rs6000_emit_set_const): Remove unneeded | |
4373 | params and return a bool. Remove dead code. Update comment. | |
4374 | Assert we have a const_int source. Remove bogus code from | |
4375 | 32-bit HWI days. Move !TARGET_POWERPC64 handling, and correct | |
4376 | handling of constants > 2G and reg_equal note, from.. | |
4377 | (rs6000_emit_set_long_const): ..here. Remove unneeded param and | |
4378 | return value. Update comment. If we can, use a new pseudo | |
4379 | for intermediate calculations. | |
4380 | * config/rs6000/rs6000-protos.h (rs6000_emit_set_const): Update | |
4381 | prototype. | |
4382 | * config/rs6000/rs6000.md (movsi_internal1_single+1): Update | |
4383 | call to rs6000_emit_set_const in splitter. | |
4384 | (movdi_internal64+2, +3): Likewise. | |
4385 | ||
a9243bfc RB |
4386 | 2014-05-26 Richard Biener <rguenther@suse.de> |
4387 | ||
4388 | * system.h: Define __STDC_FORMAT_MACROS before | |
4389 | including inttypes.h. | |
4390 | * hwint.h (HOST_WIDEST_INT, HOST_BITS_PER_WIDEST_INT, | |
4391 | HOST_WIDEST_INT_PRINT, HOST_WIDEST_INT_PRINT_DEC, | |
4392 | HOST_WIDEST_INT_PRINT_DEC_C, HOST_WIDEST_INT_PRINT_UNSIGNED, | |
4393 | HOST_WIDEST_INT_PRINT_HEX, HOST_WIDEST_INT_PRINT_DOUBLE_HEX, | |
4394 | HOST_WIDEST_INT_C): Remove. | |
4395 | (PRId64, PRIi64, PRIo64, PRIu64, PRIx64, PRIX64): Define | |
4396 | if C99 inttypes.h is not available. | |
4397 | * coretypes.h (gcov_type, gcov_type_unsigned): Use [u]int64_t. | |
4398 | * gcov-io.h (gcov_type, gcov_type_unsigned): Likewise. | |
4399 | * gcov-io.c (gcov_histo_index): Drop non-64bit hwi case. | |
4400 | * cfgloop.h (struct niter_desc): Use uint64_t for niter field. | |
4401 | * bitmap.c (struct bitmap_descriptor_d): Use uint64_t for counters. | |
4402 | (struct output_info): Likewise. | |
4403 | (print_statistics): Adjust. | |
4404 | (dump_bitmap_statistics): Likewise. | |
4405 | * bt-load.c (migrate_btr_defs): Print with PRId64. | |
4406 | * cfg.c (dump_edge_info, dump_bb_info): Likewise. | |
4407 | (MAX_SAFE_MULTIPLIER): Adjust. | |
4408 | * cfghooks.c (dump_bb_for_graph): Print with PRId64. | |
4409 | * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee, | |
4410 | dump_cgraph_node): Likewise. | |
4411 | * final.c (dump_basic_block_info): Likewise. | |
4412 | * gcov-dump.c (tag_counters, tag_summary, dump_working_sets): Likewise. | |
4413 | * gcov.c (format_gcov): Likewise. | |
4414 | * ipa-cp.c (good_cloning_opportunity_p): Likewise. Use int64_t | |
4415 | for calculation. | |
4416 | (get_clone_agg_value): Use HOST_WIDE_INT for offset. | |
4417 | * ipa-inline.c (compute_max_insns): Use int64_t for calcuation. | |
4418 | (inline_small_functions, dump_overall_stats, dump_inline_stats): | |
4419 | Use PRId64 for dumping. | |
4420 | * ipa-profile.c (dump_histogram, ipa_profile): Likewise. | |
4421 | * ira-color.c (struct allocno_hard_regs): Use int64_t for cost. | |
4422 | (add_allocno_hard_regs): Adjust. | |
4423 | * loop-doloop.c (doloop_modify): Print using PRId64. | |
4424 | * loop-iv.c (inverse): Compute in uint64_t. | |
4425 | (determine_max_iter, iv_number_of_iterations): Likewise. | |
4426 | * loop-unroll.c (decide_peel_completely, decide_peel_simple): | |
4427 | Print using PRId64. | |
4428 | * lto-streamer-out.c (write_symbol): Use uint64_t. | |
4429 | * mcf.c (CAP_INFINITY): Use int64_t maximum. | |
4430 | (dump_fixup_edge, create_fixup_graph, cancel_negative_cycle, | |
4431 | find_max_flow, adjust_cfg_counts): Use int64_t and dump with PRId64. | |
4432 | * modulo-sched.c (const_iteration_count): Use int64_t. | |
4433 | (sms_schedule): Dump using PRId64. | |
4434 | * predict.c (dump_prediction): Likewise. | |
4435 | * pretty-print.h (pp_widest_integer): Remove. | |
4436 | * profile.c (get_working_sets, is_edge_inconsistent, | |
4437 | is_inconsistent, read_profile_edge_counts): Dump using PRId64. | |
4438 | * tree-pretty-print.c (pp_double_int): Remove case handling | |
4439 | HOST_BITS_PER_DOUBLE_INT == HOST_BITS_PER_WIDEST_INT. | |
4440 | * tree-ssa-math-opts.c (struct symbolic_number): Use uint64_t | |
4441 | and adjust users. | |
4442 | (pass_optimize_bswap::execute): Remove restriction on hosts. | |
4443 | * tree-streamer-in.c (streamer_alloc_tree): Use HOST_WIDE_INT. | |
4444 | * tree-streamer-out.c (streamer_write_tree_header): Likewise. | |
4445 | * tree.c (widest_int_cst_value): Remove. | |
4446 | * tree.h (widest_int_cst_value): Likewise. | |
4447 | * value-prof.c (dump_histogram_value): Print using PRId64. | |
4448 | * gengtype.c (main): Also inject int64_t. | |
4449 | * ggc-page.c (struct max_alignment): Use int64_t. | |
4450 | * alloc-pool.c (struct allocation_object_def): Likewise. | |
4451 | * ira-conflicts.c (build_conflict_bit_table): Use uint64_t | |
4452 | for computation. | |
4453 | * doc/tm.texi.in: Remove reference to HOST_WIDEST_INT. | |
4454 | * doc/tm.texi: Regenerated. | |
4455 | * gengtype-lex.l (IWORD): Handle [u]int64_t. | |
4456 | * config/sh/sh.c (expand_cbranchdi4): Use gcov_type. | |
4457 | * config/mmix/mmix-protos.h (mmix_intval, mmix_shiftable_wyde_value, | |
4458 | mmix_output_register_setting): Use [u]int64_t in prototypes. | |
4459 | * config/mmix/mmix.c (mmix_print_operand, mmix_output_register_setting, | |
4460 | mmix_shiftable_wyde_value, mmix_output_shiftvalue_op_from_str, | |
4461 | mmix_output_octa, mmix_output_shifted_value): Adjust. | |
4462 | (mmix_intval): Adjust. Remove unreachable case. | |
b8140cd6 | 4463 | * config/mmix/mmix.md (*nonlocal_goto_receiver_expanded): Use int64_t. |
a9243bfc | 4464 | |
edf6ddf6 RB |
4465 | 2014-05-26 Richard Biener <rguenther@suse.de> |
4466 | ||
4467 | * configure.ac: Drop __int64 type check. Insist that we | |
4468 | found uint64_t and int64_t. | |
4469 | * hwint.h (HOST_BITS_PER___INT64): Remove. | |
b8140cd6 | 4470 | (HOST_BITS_PER_WIDE_INT): Define to 64 and remove __int64 case. |
edf6ddf6 RB |
4471 | (HOST_WIDE_INT_PRINT_*): Remove 32bit case. |
4472 | (HOST_WIDEST_INT*): Define to HOST_WIDE_INT*. | |
4473 | (HOST_WIDEST_FAST_INT): Remove __int64 case. | |
4474 | * vmsdbg.h (struct _DST_SRC_COMMAND): Use int64_t | |
4475 | for dst_q_src_df_rms_cdt. | |
4476 | * configure: Regenerate. | |
4477 | * config.in: Likewise. | |
4478 | ||
d4082970 MT |
4479 | 2014-05-26 Michael Tautschnig <mt@debian.org> |
4480 | ||
4481 | PR target/61249 | |
49f002b6 UB |
4482 | * doc/extend.texi (X86 Built-in Functions): Fix parameter lists of |
4483 | __builtin_ia32_vfrczs[sd] and __builtin_ia32_mpsadbw256. | |
d4082970 | 4484 | |
d29d688a ZC |
4485 | 2014-05-26 Zhenqiang Chen <zhenqiang.chen@linaro.org> |
4486 | ||
4487 | PR rtl-optimization/61278 | |
4488 | * shrink-wrap.c (move_insn_for_shrink_wrap): Check df_live. | |
4489 | ||
88f32f0f ZC |
4490 | 2014-05-26 Zhenqiang Chen <zhenqiang.chen@linaro.org> |
4491 | ||
4492 | PR rtl-optimization/61220 | |
4493 | Part of PR rtl-optimization/61225 | |
4494 | * shrink-wrap.c (move_insn_for_shrink_wrap): Skip SP and FP adjustment | |
4495 | insn; skip split_edge for a block with only one successor. | |
4496 | ||
97ae6b64 JH |
4497 | 2014-05-23 Jan Hubicka <hubicka@ucw.cz> |
4498 | ||
d4082970 MT |
4499 | * symtab.c (symtab_nonoverwritable_alias): Copy READONLY flag |
4500 | for variables. | |
97ae6b64 | 4501 | |
07990a5e JH |
4502 | 2014-05-23 Jan Hubicka <hubicka@ucw.cz> |
4503 | ||
4504 | * ipa-visibility.c (can_replace_by_local_alias_in_vtable): New function. | |
4505 | (update_vtable_references): New function. | |
4506 | (function_and_variable_visibility): Rewrite also vtable initializers. | |
4507 | * varpool.c (cgraph_variable_initializer_availability): Remove assert. | |
4508 | ||
fd1e9302 JH |
4509 | 2014-05-23 Jan Hubicka <hubicka@ucw.cz> |
4510 | ||
4511 | * ggc.h (ggc_grow): New function. | |
4512 | * ggc-none.c (ggc_grow): New function. | |
4513 | * ggc-page.c (ggc_grow): Likewise. | |
4514 | ||
7f7beb3f JH |
4515 | 2014-05-23 Jan Hubicka <hubicka@ucw.cz> |
4516 | ||
d4082970 MT |
4517 | * ipa.c (cgraph_non_local_node_p_1, cgraph_local_node_p, |
4518 | address_taken_from_non_vtable_p, comdat_can_be_unshared_p_1, | |
4519 | comdat_can_be_unshared_p, cgraph_externally_visible_p, | |
7f7beb3f JH |
4520 | varpool_externally_visible_p, can_replace_by_local_alias, |
4521 | update_visibility_by_resolution_info, function_and_variable_visibility, | |
4522 | pass_data_ipa_function_and_variable_visibility, | |
4523 | make_pass_ipa_function_and_variable_visibility, | |
4524 | whole_program_function_and_variable_visibility, | |
4525 | pass_data_ipa_whole_program_visibility, | |
4526 | make_pass_ipa_whole_program_visibility): Move to ipa-visibility.c | |
4527 | * cgraph.h (cgraph_local_node_p): Declare. | |
4528 | * ipa-visibility.c: New file. | |
4529 | * Makefile.in (OBJS): Add ipa-visiblity.o | |
4530 | ||
6adda80b JH |
4531 | 2014-05-23 Jan Hubicka <hubicka@ucw.cz> |
4532 | ||
4533 | * gimple-fold.c (can_refer_decl_in_current_unit_p): Be sure | |
4534 | that var decl is available. | |
4535 | ||
aede2c10 JH |
4536 | 2014-05-23 Jan Hubicka <hubicka@ucw.cz> |
4537 | ||
4538 | * tree-core.h (tree_decl_with_vis): Replace comdat_group by | |
4539 | symtab_node pointer. | |
d4082970 | 4540 | * tree.c (copy_node_stat): Be sure to not copy symtab_node pointer. |
aede2c10 JH |
4541 | (find_decls_types_r): Do not walk COMDAT_GROUP. |
4542 | * tree.h (DECL_COMDAT_GROUP): Revamp to use decl_comdat_group. | |
4543 | * varasm.c (make_decl_one_only): Use set_comdat_group; | |
4544 | create node if needed. | |
4545 | * ipa-inline-transform.c (save_inline_function_body): Update | |
4546 | way we decl->symtab mapping. | |
4547 | * symtab.c (symtab_hash, hash_node, eq_node | |
4548 | symtab_insert_node_to_hashtable): Remove. | |
4549 | (symtab_register_node): Update. | |
4550 | (symtab_unregister_node): Update. | |
4551 | (symtab_get_node): Reimplement as inline function. | |
4552 | (symtab_add_to_same_comdat_group): Update. | |
4553 | (symtab_dissolve_same_comdat_group_list): Update. | |
4554 | (dump_symtab_base): Update. | |
4555 | (verify_symtab_base): Update. | |
4556 | (symtab_make_decl_local): Update. | |
4557 | (fixup_same_cpp_alias_visibility): Update. | |
4558 | (symtab_nonoverwritable_alias): Update. | |
4559 | * cgraphclones.c (set_new_clone_decl_and_node_flags): Update. | |
4560 | * ipa.c (update_visibility_by_resolution_info): UPdate. | |
4561 | * bb-reorder.c: Include cgraph.h | |
4562 | * lto-streamer-out.c (DFS_write_tree_body, hash_tree): Do not deal | |
4563 | with comdat groups. | |
4564 | * ipa-comdats.c (set_comdat_group, ipa_comdats): Update. | |
4565 | * cgraph.c (cgraph_get_create_node): Update. | |
4566 | * cgraph.h (struct symtab_node): Add get_comdat_group, set_comdat_group | |
4567 | and comdat_group_. | |
4568 | (symtab_get_node): Make inline. | |
4569 | (symtab_insert_node_to_hashtable): Remove. | |
4570 | (symtab_can_be_discarded): Update. | |
4571 | (decl_comdat_group): New function. | |
d4082970 MT |
4572 | * tree-streamer-in.c (lto_input_ts_decl_with_vis_tree_pointers): |
4573 | Update. | |
aede2c10 JH |
4574 | * lto-cgraph.c (lto_output_node, lto_output_varpool_node): Stream out |
4575 | comdat group name. | |
4576 | (read_comdat_group): New function. | |
4577 | (input_node, input_varpool_node): Use it. | |
4578 | * trans-mem.c (ipa_tm_create_version_alias): Update code creating | |
4579 | comdat groups. | |
4580 | * mips.c (mips_start_unique_function): Likewise. | |
4581 | (ix86_code_end): Likewise. | |
4582 | (rs6000_code_end): Likweise. | |
d4082970 | 4583 | * tree-streamer-out.c (DECL_COMDAT_GROUP): Do not stream comdat group. |
aede2c10 | 4584 | |
4df199d1 JH |
4585 | 2014-05-23 Jan Hubicka <hubicka@ucw.cz> |
4586 | ||
4587 | * gengtype-state.c (fatal_reading_state): Bring offline. | |
4588 | * optabs.c (widening_optab_handler): Bring offline. | |
4589 | * optabs.h (widening_optab_handler): Likewise. | |
4590 | * final.c (get_attr_length_1): Likewise. | |
4591 | ||
e0e349f3 JH |
4592 | 2014-05-23 Jan Hubicka <hubicka@ucw.cz> |
4593 | ||
4594 | * sched-int.h (sd_iterator_cond): Manually tail recurse. | |
4595 | ||
a35dd1fa SB |
4596 | 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org> |
4597 | ||
d4082970 | 4598 | * config/rs6000/440.md (ppc440-integer): Include shift without dot. |
a35dd1fa | 4599 | (ppc440-compare): Include shift with dot. |
d4082970 | 4600 | * config/rs6000/e300c2c3.md (ppce300c3_iu): Include shift without dot. |
a35dd1fa SB |
4601 | * config/rs6000/e5500.md (e5500_sfx2): Include constant shift |
4602 | without dot. | |
4603 | * config/rs6000/e6500.md (e6500_sfx): Exclude constant shift | |
4604 | without dot. | |
4605 | (e6500_sfx2): Include it. | |
4606 | * config/rs6000/rs6000.md ( *zero_extend<mode>di2_internal1, | |
4607 | *zero_extend<mode>di2_internal2, *zero_extend<mode>di2_internal3, | |
4608 | *zero_extendsidi2_lfiwzx, andsi3_mc, andsi3_nomc, | |
4609 | andsi3_internal0_nomc, extzvsi_internal, extzvdi_internal, | |
4610 | *extzvdi_internal1, *extzvdi_internal2, rotlsi3, *rotlsi3_64, | |
4611 | *rotlsi3_internal4, *rotlsi3_internal7le, *rotlsi3_internal7be, | |
4612 | *rotlsi3_internal10le, *rotlsi3_internal10be, rlwinm, | |
4613 | *lshiftrt_internal1le, *lshiftrt_internal1be, | |
4614 | *lshiftrt_internal4le, *lshiftrt_internal4be, rotldi3, | |
4615 | *rotldi3_internal4, *rotldi3_internal7le, *rotldi3_internal7be, | |
4616 | *rotldi3_internal10le, *rotldi3_internal10be, | |
4617 | *rotldi3_internal13le, *rotldi3_internal13be, *ashldi3_internal4, | |
4618 | ashldi3_internal5, *ashldi3_internal6, *ashldi3_internal7, | |
4619 | ashldi3_internal8, *ashldi3_internal9, anddi3_mc, anddi3_nomc, | |
4620 | *anddi3_internal2_mc, *anddi3_internal3_mc, and 4 anonymous | |
4621 | define_insns): Use type "shift" in the appropriate alternatives. | |
4622 | ||
73c076c8 SB |
4623 | 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org> |
4624 | ||
4625 | * config/rs6000/rs6000.md (type): Add "logical". Delete | |
4626 | "fast_compare". | |
4627 | (dot): Adjust comment. | |
4628 | (andsi3_mc, *andsi3_internal2_mc, *andsi3_internal3_mc, | |
4629 | *andsi3_internal4, *andsi3_internal5_mc, *boolsi3_internal2, | |
4630 | *boolsi3_internal3, *boolccsi3_internal2, *boolccsi3_internal3, | |
4631 | anddi3_mc, *anddi3_internal2_mc, *anddi3_internal3_mc, | |
4632 | *booldi3_internal2, *booldi3_internal3, *boolcdi3_internal2, | |
4633 | *boolcdi3_internal3, *boolccdi3_internal2, *boolccdi3_internal3, | |
d4082970 | 4634 | *mov<mode>_internal2, and 10 anonymous define_insns): Use "logical". |
73c076c8 SB |
4635 | * config/rs6000/rs6000.c (rs6000_adjust_cost): Adjust. |
4636 | ||
d4082970 MT |
4637 | * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust. |
4638 | * config/rs6000/440.md (ppc440-integer, ppc440-compare): Adjust. | |
4639 | * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust. | |
4640 | * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust. | |
4641 | * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust. | |
4642 | * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust. | |
4643 | * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust. | |
4644 | * config/rs6000/8540.md (ppc8540_su): Adjust. | |
4645 | * config/rs6000/cell.md (cell-integer, cell-fast-cmp, | |
73c076c8 | 4646 | cell-cmp-microcoded): Adjust. |
d4082970 MT |
4647 | * config/rs6000/e300c2c3.md (ppce300c3_cmp, ppce300c3_iu): Adjust. |
4648 | * config/rs6000/e500mc.md (e500mc_su): Adjust. | |
4649 | * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2): Adjust. | |
4650 | * config/rs6000/e5500.md (e5500_sfx, e5500_sfx2): Adjust. | |
4651 | * config/rs6000/e6500.md (e6500_sfx, e6500_sfx2): Adjust. | |
4652 | * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust. | |
4653 | * config/rs6000/power4.md (power4-integer, power4-cmp): Adjust. | |
4654 | * config/rs6000/power5.md (power5-integer, power5-cmp): Adjust. | |
4655 | * config/rs6000/power6.md (power6-integer, power6-fast-compare): | |
73c076c8 | 4656 | Adjust. |
d4082970 MT |
4657 | * config/rs6000/power7.md (power7-integer, power7-cmp): Adjust. |
4658 | * config/rs6000/power8.md (power8-1cyc, power8-fast-compare): | |
73c076c8 | 4659 | Adjust. Adjust comment. |
d4082970 MT |
4660 | * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust. |
4661 | * config/rs6000/titan.md (titan_fxu_adder, titan_fxu_alu): Adjust. | |
73c076c8 | 4662 | |
0cbb4f58 SB |
4663 | 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org> |
4664 | ||
4665 | * config/rs6000/rs6000.md (type): Add "add". | |
4666 | (*add<mode>3_internal1, addsi3_high, *add<mode>3_internal2, | |
4667 | *add<mode>3_internal3, *neg<mode>2_internal, and 5 anonymous | |
4668 | define_insns): Use it. | |
4669 | * config/rs6000/rs6000.c (rs6000_adjust_cost): Adjust. | |
4670 | ||
4671 | * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust. | |
4672 | * config/rs6000/440.md (ppc440-integer, ppc440-compare): Adjust. | |
d4082970 | 4673 | * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust. |
0cbb4f58 SB |
4674 | * config/rs6000/601.md (ppc601-integer): Adjust. |
4675 | * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust. | |
4676 | * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust. | |
4677 | * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust. | |
4678 | * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust. | |
4679 | * config/rs6000/8540.md (ppc8540_su): Adjust. | |
4680 | * config/rs6000/cell.md (cell-integer, cell-fast-cmp, | |
4681 | cell-cmp-microcoded): Adjust. | |
4682 | * config/rs6000/e300c2c3.md (ppce300c3_cmp, ppce300c3_iu): Adjust. | |
4683 | * config/rs6000/e500mc.md (e500mc_su): Adjust. | |
4684 | * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2): Adjust. | |
4685 | * config/rs6000/e5500.md (e5500_sfx, e5500_sfx2): Adjust. | |
4686 | * config/rs6000/e6500.md (e6500_sfx, e6500_sfx2): Adjust. | |
4687 | * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust. | |
4688 | * config/rs6000/power4.md (power4-integer, power4-cmp): Adjust. | |
4689 | * config/rs6000/power5.md (power5-integer, power5-cmp): Adjust. | |
4690 | * config/rs6000/power6.md (power6-integer, power6-fast-compare): | |
4691 | Adjust. | |
4692 | * config/rs6000/power7.md (power7-integer, power7-cmp): Adjust. | |
d4082970 | 4693 | * config/rs6000/power8.md (power8-1cyc, power8-fast-compare): Adjust. |
0cbb4f58 SB |
4694 | * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust. |
4695 | * config/rs6000/titan.md (titan_fxu_adder, titan_fxu_alu): Adjust. | |
4696 | ||
892e7fa6 SB |
4697 | 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org> |
4698 | ||
4699 | * config/rs6000/rs6000.md (type): Delete "var_shift_rotate", | |
4700 | "delayed_compare", "var_delayed_compare". | |
4701 | (var_shift): New attribute. | |
4702 | (cell_micro): Adjust. | |
4703 | (*andsi3_internal2_mc, *andsi3_internal3_mc, *andsi3_internal4, | |
4704 | *andsi3_internal5_mc, *extzvsi_internal1, *extzvsi_internal2, | |
4705 | rotlsi3, *rotlsi3_64, *rotlsi3_internal2, *rotlsi3_internal3, | |
4706 | *rotlsi3_internal4, *rotlsi3_internal5, *rotlsi3_internal6, | |
4707 | *rotlsi3_internal8le, *rotlsi3_internal8be, *rotlsi3_internal9le, | |
4708 | *rotlsi3_internal9be, *rotlsi3_internal10le, *rotlsi3_internal10be, | |
4709 | *rotlsi3_internal11le, *rotlsi3_internal11be, *rotlsi3_internal12le, | |
4710 | *rotlsi3_internal12be, ashlsi3, *ashlsi3_64, lshrsi3, *lshrsi3_64, | |
4711 | *lshiftrt_internal2le, *lshiftrt_internal2be, *lshiftrt_internal3le, | |
4712 | *lshiftrt_internal3be, *lshiftrt_internal5le, *lshiftrt_internal5be, | |
4713 | *lshiftrt_internal5le, *lshiftrt_internal5be, ashrsi3, *ashrsi3_64, | |
4714 | rotldi3, *rotldi3_internal2, *rotldi3_internal3, *rotldi3_internal4, | |
4715 | *rotldi3_internal5, *rotldi3_internal6, *rotldi3_internal7le, | |
4716 | *rotldi3_internal7be, *rotldi3_internal8le, *rotldi3_internal8be, | |
4717 | *rotldi3_internal9le, *rotldi3_internal9be, *rotldi3_internal10le, | |
4718 | *rotldi3_internal10be, *rotldi3_internal11le, *rotldi3_internal11be, | |
4719 | *rotldi3_internal12le, *rotldi3_internal12be, *rotldi3_internal13le, | |
4720 | *rotldi3_internal13be, *rotldi3_internal14le, *rotldi3_internal14be, | |
4721 | *rotldi3_internal15le, *rotldi3_internal15be, *ashldi3_internal1, | |
4722 | *ashldi3_internal2, *ashldi3_internal3, *lshrdi3_internal1, | |
4723 | *lshrdi3_internal2, *lshrdi3_internal3, *ashrdi3_internal1, | |
4724 | *ashrdi3_internal2, *ashrdi3_internal3, *anddi3_internal2_mc, | |
4725 | *anddi3_internal3_mc, as well as 11 anonymous define_insns): Adjust. | |
4726 | * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn, | |
4727 | insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust. | |
4728 | ||
4729 | * config/rs6000/40x.md (ppc403-integer, ppc403-compare): Adjust. | |
4730 | * config/rs6000/440.md (ppc440-integer): Adjust. | |
d4082970 | 4731 | * config/rs6000/476.md (ppc476-simple-integer, ppc476-compare): Adjust. |
892e7fa6 SB |
4732 | * config/rs6000/601.md (ppc601-integer, ppc601-compare): Adjust. |
4733 | * config/rs6000/603.md (ppc603-integer, ppc603-compare): Adjust. | |
4734 | * config/rs6000/6xx.md (ppc604-integer, ppc604-compare): Adjust. | |
d4082970 | 4735 | * config/rs6000/7450.md (ppc7450-integer, ppc7450-compare): Adjust. |
892e7fa6 SB |
4736 | * config/rs6000/7xx.md (ppc750-integer, ppc750-compare): Adjust. |
4737 | * config/rs6000/8540.md (ppc8540_su): Adjust. | |
4738 | * config/rs6000/cell.md (cell-integer, cell-fast-cmp, | |
4739 | cell-cmp-microcoded): Adjust. | |
4740 | * config/rs6000/e300c2c3.md (ppce300c3_cmp): Adjust. | |
4741 | * config/rs6000/e500mc.md (e500mc_su): Adjust. | |
4742 | * config/rs6000/e500mc64.md (e500mc64_su, e500mc64_su2, | |
4743 | e500mc64_delayed): Adjust. | |
4744 | * config/rs6000/e5500.md (e5500_sfx, e5500_delayed): Adjust. | |
4745 | * config/rs6000/e6500.md (e6500_sfx, e6500_delayed): Adjust. | |
4746 | * config/rs6000/mpc.md (mpccore-integer, mpccore-compare): Adjust. | |
d4082970 MT |
4747 | * config/rs6000/power4.md (power4-integer, power4-compare): Adjust. |
4748 | * config/rs6000/power5.md (power5-integer, power5-compare): Adjust. | |
892e7fa6 SB |
4749 | * config/rs6000/power6.md (power6-shift, power6-var-rotate, |
4750 | power6-delayed-compare, power6-var-delayed-compare): Adjust. | |
d4082970 | 4751 | * config/rs6000/power7.md (power7-integer, power7-compare): Adjust. |
892e7fa6 SB |
4752 | * config/rs6000/power8.md (power8-1cyc, power8-compare): Adjust. |
4753 | Adjust comment. | |
4754 | * config/rs6000/rs64.md (rs64a-integer, rs64a-compare): Adjust. | |
4755 | * config/rs6000/titan.md (titan_fxu_shift_and_rotate): Adjust. | |
4756 | ||
441e02a5 SB |
4757 | 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org> |
4758 | ||
d4082970 | 4759 | * config/rs6000/rs6000.md (type): Delete "idiv", "ldiv". Add "div". |
441e02a5 SB |
4760 | (bits): New mode_attr. |
4761 | (idiv_ldiv): Delete mode_attr. | |
4762 | (udiv<mode>3, *div<mode>3, div<div_extend>_<mode>): Adjust. | |
4763 | * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn, | |
4764 | rs6000_adjust_priority, is_nonpipeline_insn, | |
4765 | insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust. | |
4766 | ||
4767 | * config/rs6000/40x.md (ppc403-idiv): Adjust. | |
4768 | * config/rs6000/440.md (ppc440-idiv): Adjust. | |
4769 | * config/rs6000/476.md (ppc476-idiv): Adjust. | |
4770 | * config/rs6000/601.md (ppc601-idiv): Adjust. | |
4771 | * config/rs6000/603.md (ppc603-idiv): Adjust. | |
4772 | * config/rs6000/6xx.md (ppc604-idiv, ppc620-idiv, ppc630-idiv, | |
4773 | ppc620-ldiv): Adjust. | |
4774 | * config/rs6000/7450.md (ppc7450-idiv): Adjust. | |
4775 | * config/rs6000/7xx.md (ppc750-idiv): Adjust. | |
4776 | * config/rs6000/8540.md (ppc8540_divide): Adjust. | |
4777 | * config/rs6000/a2.md (ppca2-idiv, ppca2-ldiv): Adjust. | |
4778 | * config/rs6000/cell.md (cell-idiv, cell-ldiv): Adjust. | |
4779 | * config/rs6000/e300c2c3.md (ppce300c3_divide): Adjust. | |
4780 | * config/rs6000/e500mc.md (e500mc_divide): Adjust. | |
4781 | * config/rs6000/e500mc64.md (e500mc64_divide): Adjust. | |
4782 | * config/rs6000/e5500.md (e5500_divide, e5500_divide_d): Adjust. | |
4783 | * config/rs6000/e6500.md (e6500_divide, e6500_divide_d): Adjust. | |
4784 | * config/rs6000/mpc.md (mpccore-idiv): Adjust. | |
4785 | * config/rs6000/power4.md (power4-idiv, power4-ldiv): Adjust. | |
4786 | * config/rs6000/power5.md (power5-idiv, power5-ldiv): Adjust. | |
4787 | * config/rs6000/power6.md (power6-idiv, power6-ldiv): Adjust. | |
4788 | * config/rs6000/power7.md (power7-idiv, power7-ldiv): Adjust. | |
4789 | * config/rs6000/power8.md (power8-idiv, power8-ldiv): Adjust. | |
4790 | * config/rs6000/rs64.md (rs64a-idiv, rs64a-ldiv): Adjust. | |
4791 | * config/rs6000/titan.md (titan_fxu_div): Adjust. | |
4792 | ||
58ee9e66 SB |
4793 | 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org> |
4794 | ||
4795 | * config/rs6000/rs6000.md (type): Delete "insert_word", | |
4796 | "insert_dword". Add "insert". | |
4797 | (size): Update comment. | |
4798 | * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn, | |
4799 | insn_must_be_first_in_group): Adjust. | |
4800 | (insvsi_internal, *insvsi_internal1, *insvsi_internal2, | |
4801 | *insvsi_internal3, *insvsi_internal4, *insvsi_internal5, | |
4802 | *insvsi_internal6, insvdi_internal): Adjust. | |
4803 | ||
4804 | * config/rs6000/40x.md (ppc403-integer): Adjust. | |
4805 | * config/rs6000/440.md (ppc440-integer): Adjust. | |
4806 | * config/rs6000/476.md (ppc476-simple-integer): Adjust. | |
4807 | * config/rs6000/601.md (ppc601-integer): Adjust. | |
4808 | * config/rs6000/603.md (ppc603-integer): Adjust. | |
4809 | * config/rs6000/6xx.md (ppc604-integer): Adjust. | |
4810 | * config/rs6000/7450.md (ppc7450-integer): Adjust. | |
4811 | * config/rs6000/7xx.md (ppc750-integer): Adjust. | |
4812 | * config/rs6000/8540.md (ppc8540_su): Adjust. | |
4813 | * config/rs6000/cell.md (cell-integer, cell-insert): Adjust. | |
4814 | * config/rs6000/e300c2c3.md (ppce300c3_iu): Adjust. | |
4815 | * config/rs6000/e500mc.md (e500mc_su): Adjust. | |
4816 | * config/rs6000/e500mc64.md (e500mc64_su): Adjust. | |
4817 | * config/rs6000/e5500.md (e5500_sfx): Adjust. | |
4818 | * config/rs6000/e6500.md (e6500_sfx): Adjust. | |
4819 | * config/rs6000/mpc.md (mpccore-integer): Adjust. | |
4820 | * config/rs6000/power4.md (power4-integer, power4-insert): Adjust. | |
4821 | * config/rs6000/power5.md (power5-integer, power5-insert): Adjust. | |
d4082970 | 4822 | * config/rs6000/power6.md (power6-insert, power6-insert-dword): Adjust. |
58ee9e66 SB |
4823 | * config/rs6000/power7.md (power7-integer): Adjust. |
4824 | * config/rs6000/power8.md (power8-1cyc): Adjust. | |
4825 | * config/rs6000/rs64.md (rs64a-integer): Adjust. | |
4826 | * config/rs6000/titan.md (titan_fxu_shift_and_rotate): Adjust. | |
4827 | ||
e0528ed9 SB |
4828 | 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org> |
4829 | ||
4830 | * config/rs6000/rs6000.md (type): Add "mul". Delete "imul", | |
4831 | "imul2", "imul3", "lmul", "imul_compare", "lmul_compare". | |
4832 | (size): New attribute. | |
4833 | (dot): New attribute. | |
4834 | (cell_micro): Adjust. | |
4835 | (mulsi3, *mulsi3_internal1, *mulsi3_internal2, mulsidi3, | |
4836 | umulsidi3, smulsi3_highpart, umulsi3_highpart, muldi3, | |
4837 | *muldi3_internal1, *muldi3_internal2, smuldi3_highpart, | |
4838 | umuldi3_highpart): Adjust. | |
4839 | * config/rs6000/rs6000.c (rs6000_adjust_cost, is_cracked_insn, | |
4840 | rs6000_adjust_priority, is_nonpipeline_insn, | |
4841 | insn_must_be_first_in_group, insn_must_be_last_in_group): Adjust. | |
4842 | ||
4843 | * config/rs6000/40x.md (ppc403-imul, ppc405-imul, ppc405-imul2, | |
4844 | ppc405-imul3): Adjust. | |
4845 | * config/rs6000/440.md (ppc440-imul, ppc440-imul2): Adjust. | |
4846 | * config/rs6000/476.md (ppc476-imul): Adjust. | |
4847 | * config/rs6000/601.md (ppc601-imul): Adjust. | |
4848 | * config/rs6000/603.md (ppc603-imul, ppc603-imul2): Adjust. | |
4849 | * config/rs6000/6xx.md (ppc604-imul, ppc604e-imul, ppc620-imul, | |
4850 | ppc620-imul2, ppc620-imul3, ppc620-lmul): Adjust. | |
4851 | * config/rs6000/7450.md (ppc7450-imul, ppc7450-imul2): Adjust. | |
4852 | * config/rs6000/7xx.md (ppc750-imul, ppc750-imul2, ppc750-imul3): | |
4853 | Adjust. | |
4854 | * config/rs6000/8540.md (ppc8540_multiply): Adjust. | |
4855 | * config/rs6000/a2.md (ppca2-imul, ppca2-lmul): Adjust. | |
4856 | * config/rs6000/cell.md (cell-lmul, cell-lmul-cmp, cell-imul23, | |
4857 | cell-imul): Adjust. | |
4858 | * config/rs6000/e300c2c3.md (ppce300c3_multiply): Adjust. | |
4859 | * config/rs6000/e500mc.md (e500mc_multiply): Adjust. | |
4860 | * config/rs6000/e500mc64.md (e500mc64_multiply): Adjust. | |
4861 | * config/rs6000/e5500.md (e5500_multiply, e5500_multiply_i): Adjust. | |
4862 | * config/rs6000/e6500.md (e6500_multiply, e6500_multiply_i): Adjust. | |
4863 | * config/rs6000/mpc.md (mpccore-imul): Adjust. | |
4864 | * config/rs6000/power4.md (power4-lmul-cmp, power4-imul-cmp, | |
4865 | power4-lmul, power4-imul, power4-imul3): Adjust. | |
4866 | * config/rs6000/power5.md (power5-lmul-cmp, power5-imul-cmp, | |
4867 | power5-lmul, power5-imul, power5-imul3): Adjust. | |
4868 | * config/rs6000/power6.md (power6-lmul-cmp, power6-imul-cmp, | |
4869 | power6-lmul, power6-imul, power6-imul3): Adjust. | |
4870 | * config/rs6000/power7.md (power7-mul, power7-mul-compare): Adjust. | |
4871 | * config/rs6000/power8.md (power8-mul, power8-mul-compare): Adjust. | |
4872 | ||
4873 | * config/rs6000/rs64.md (rs64a-imul, rs64a-imul2, rs64a-imul3, | |
4874 | rs64a-lmul): Adjust. | |
4875 | * config/rs6000/titan.md (titan_imul): Adjust. | |
4876 | ||
1263d642 SB |
4877 | 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org> |
4878 | ||
4879 | * config/rs6000/rs6000.md (type): Add new value "halfmul". | |
4880 | (*macchwc, *macchw, *macchwuc, *macchwu, *machhwc, *machhw, | |
4881 | *machhwuc, *machhwu, *maclhwc, *maclhw, *maclhwuc, *maclhwu, | |
4882 | *nmacchwc, *nmacchw, *nmachhwc, *nmachhw, *nmaclhwc, *nmaclhw, | |
4883 | *mulchwc, *mulchw, *mulchwuc, *mulchwu, *mulhhwc, *mulhhw, | |
d4082970 | 4884 | *mulhhwuc, *mulhhwu, *mullhwc, *mullhw, *mullhwuc, *mullhwu): Use it. |
1263d642 SB |
4885 | * config/rs6000/40x.md (ppc405-imul3): Add type halfmul. |
4886 | * config/rs6000/440.md (ppc440-imul2): Add type halfmul. | |
4887 | * config/rs6000/476.md (ppc476-imul): Add type halfmul. | |
4888 | * config/rs6000/titan.md: Delete nonsensical comment. | |
4889 | (titan_imul): Add type imul3. | |
4890 | (titan_mulhw): Remove type imul3; add type halfmul. | |
4891 | ||
1be6301a SB |
4892 | 2014-05-23 Segher Boessenkool <segher@kernel.crashing.org> |
4893 | ||
4894 | * config/rs6000/rs6000.md (type): Reorder, reformat. | |
4895 | ||
8aab5218 MJ |
4896 | 2014-05-23 Martin Jambor <mjambor@suse.cz> |
4897 | ||
4898 | PR tree-optimization/53787 | |
4899 | * params.def (PARAM_IPA_MAX_AA_STEPS): New param. | |
4900 | * ipa-prop.h (ipa_node_params): Rename uses_analysis_done to | |
4901 | analysis_done, update all uses. | |
4902 | * ipa-prop.c: Include domwalk.h | |
4903 | (param_analysis_info): Removed. | |
4904 | (param_aa_status): New type. | |
4905 | (ipa_bb_info): Likewise. | |
4906 | (func_body_info): Likewise. | |
4907 | (ipa_get_bb_info): New function. | |
4908 | (aa_overwalked): Likewise. | |
4909 | (find_dominating_aa_status): Likewise. | |
4910 | (parm_bb_aa_status_for_bb): Likewise. | |
4911 | (parm_preserved_before_stmt_p): Changed to use new param AA info. | |
4912 | (load_from_unmodified_param): Accept func_body_info as a parameter | |
4913 | instead of parms_ainfo. | |
4914 | (parm_ref_data_preserved_p): Changed to use new param AA info. | |
4915 | (parm_ref_data_pass_through_p): Likewise. | |
4916 | (ipa_load_from_parm_agg_1): Likewise. Update callers. | |
4917 | (compute_complex_assign_jump_func): Changed to use new param AA info. | |
4918 | (compute_complex_ancestor_jump_func): Likewise. | |
4919 | (ipa_compute_jump_functions_for_edge): Likewise. | |
4920 | (ipa_compute_jump_functions): Removed. | |
4921 | (ipa_compute_jump_functions_for_bb): New function. | |
4922 | (ipa_analyze_indirect_call_uses): Likewise, moved variable | |
4923 | declarations down. | |
4924 | (ipa_analyze_virtual_call_uses): Accept func_body_info instead of node | |
4925 | and info, moved variable declarations down. | |
4926 | (ipa_analyze_call_uses): Accept and pass on func_body_info instead of | |
4927 | node and info. | |
4928 | (ipa_analyze_stmt_uses): Likewise. | |
4929 | (ipa_analyze_params_uses): Removed. | |
4930 | (ipa_analyze_params_uses_in_bb): New function. | |
4931 | (ipa_analyze_controlled_uses): Likewise. | |
4932 | (free_ipa_bb_info): Likewise. | |
4933 | (analysis_dom_walker): New class. | |
4934 | (ipa_analyze_node): Handle node-specific forbidden analysis, | |
4935 | initialize and free func_body_info, use dominator walker. | |
4936 | (ipcp_modif_dom_walker): New class. | |
4937 | (ipcp_transform_function): Create and free func_body_info, use | |
4938 | ipcp_modif_dom_walker, moved a lot of functionality there. | |
4939 | ||
85a16bf8 MP |
4940 | 2014-05-23 Marek Polacek <polacek@redhat.com> |
4941 | Jakub Jelinek <jakub@redhat.com> | |
4942 | ||
4943 | * builtins.def: Change SANITIZE_FLOAT_DIVIDE to SANITIZE_NONDEFAULT. | |
4944 | * gcc.c (sanitize_spec_function): Likewise. | |
4945 | * convert.c (convert_to_integer): Include "ubsan.h". Add | |
4946 | floating-point to integer instrumentation. | |
4947 | * doc/invoke.texi: Document -fsanitize=float-cast-overflow. | |
4948 | * flag-types.h (enum sanitize_code): Add SANITIZE_FLOAT_CAST and | |
4949 | SANITIZE_NONDEFAULT. | |
4950 | * opts.c (common_handle_option): Handle -fsanitize=float-cast-overflow. | |
4951 | * sanitizer.def (BUILT_IN_UBSAN_HANDLE_FLOAT_CAST_OVERFLOW, | |
4952 | BUILT_IN_UBSAN_HANDLE_FLOAT_CAST_OVERFLOW_ABORT): Add. | |
4953 | * ubsan.c: Include "realmpfr.h" and "dfp.h". | |
4954 | (get_ubsan_type_info_for_type): Handle REAL_TYPEs. | |
4955 | (ubsan_type_descriptor): Set tkind to 0xffff for types other than | |
4956 | float/double/long double. | |
4957 | (ubsan_instrument_float_cast): New function. | |
4958 | * ubsan.h (ubsan_instrument_float_cast): Declare. | |
4959 | ||
40c0a159 | 4960 | 2014-05-23 Jiong Wang <jiong.wang@arm.com> |
fee9ba42 JW |
4961 | |
4962 | * config/aarch64/predicates.md (aarch64_call_insn_operand): New | |
4963 | predicate. | |
4964 | * config/aarch64/constraints.md ("Ucs", "Usf"): New constraints. | |
4965 | * config/aarch64/aarch64.md (*sibcall_insn, *sibcall_value_insn): | |
4966 | Adjust for tailcalling through registers. | |
4967 | * config/aarch64/aarch64.h (enum reg_class): New caller save | |
4968 | register class. | |
4969 | (REG_CLASS_NAMES): Likewise. | |
4970 | (REG_CLASS_CONTENTS): Likewise. | |
4971 | * config/aarch64/aarch64.c (aarch64_function_ok_for_sibcall): | |
4972 | Allow tailcalling without decls. | |
4973 | ||
ed20ae98 TS |
4974 | 2014-05-23 Thomas Schwinge <thomas@codesourcery.com> |
4975 | ||
09af4b4c TS |
4976 | * gimplify.c (omp_notice_variable) <case OMP_CLAUSE_DEFAULT_NONE>: |
4977 | Rewrite check for ORT_PARALLEL and ORT_COMBINED_PARALLEL. | |
4978 | ||
ed20ae98 TS |
4979 | * omp-low.c (expand_omp_for_static_chunk): Rename variable si to |
4980 | gsi, and variables v_* to v*. | |
4981 | ||
4adf63f9 EB |
4982 | 2014-05-23 Eric Botcazou <ebotcazou@adacore.com> |
4983 | ||
4984 | * varasm.c (output_constructor_bitfield): Fix thinkos in latest change. | |
4985 | ||
a5a5434f TS |
4986 | 2014-05-23 Thomas Schwinge <thomas@codesourcery.com> |
4987 | ||
0aadce73 TS |
4988 | * gimple.h (enum gf_mask): Add and use GF_OMP_FOR_SIMD. |
4989 | * omp-low.c: Update accordingly. | |
4990 | ||
eb63c927 TS |
4991 | * gimple.h (enum gf_mask): Rewrite "<< 0" shift expressions used |
4992 | for GF_OMP_FOR_KIND_MASK, GF_OMP_FOR_KIND_FOR, | |
4993 | GF_OMP_FOR_KIND_DISTRIBUTE, GF_OMP_FOR_KIND_SIMD, | |
4994 | GF_OMP_FOR_KIND_CILKSIMD, GF_OMP_TARGET_KIND_MASK, | |
4995 | GF_OMP_TARGET_KIND_REGION, GF_OMP_TARGET_KIND_DATA, | |
4996 | GF_OMP_TARGET_KIND_UPDATE. | |
4997 | ||
a5a5434f TS |
4998 | * gimplify.c (omp_notice_variable) <case OMP_CLAUSE_DEFAULT_NONE>: |
4999 | Explicitly enumerate the expected region types. | |
5000 | ||
ee526ea7 PE |
5001 | 2014-05-23 Paul Eggert <eggert@cs.ucla.edu> |
5002 | ||
5003 | PR other/56955 | |
5004 | * doc/extend.texi (Function Attributes): Fix __attribute__ ((malloc)) | |
5005 | documentation; the old documentation didn't clearly state the | |
5006 | constraints on the contents of the pointed-to storage. | |
5007 | ||
676cad4d MK |
5008 | 2014-05-23 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> |
5009 | ||
5010 | Fix bootstrap error on ia64 | |
5011 | * config/ia64/ia64.c (ia64_first_cycle_multipass_dfa_lookahead_guard): | |
5012 | Return default value. | |
5013 | ||
73984f84 TP |
5014 | 2014-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com> |
5015 | ||
5016 | PR tree-optimization/54733 | |
5017 | * tree-ssa-math-opts.c (nop_stats): New "bswap_stats" structure. | |
5018 | (CMPNOP): Define. | |
5019 | (find_bswap_or_nop_load): New. | |
5020 | (find_bswap_1): Renamed to ... | |
5021 | (find_bswap_or_nop_1): This. Also add support for memory source. | |
5022 | (find_bswap): Renamed to ... | |
5023 | (find_bswap_or_nop): This. Also add support for memory source and | |
58126368 TP |
5024 | detection of bitwise operations equivalent to load in target |
5025 | endianness. | |
73984f84 TP |
5026 | (execute_optimize_bswap): Likewise. Also move its leading comment back |
5027 | in place and split statement transformation into ... | |
5028 | (bswap_replace): This. | |
5029 | ||
b17ec42d VM |
5030 | 2014-05-22 Vladimir Makarov <vmakarov@redhat.com> |
5031 | ||
5032 | PR rtl-optimization/61215 | |
5033 | * lra-elelimination.c (lra_eliminate_regs_1): Don't use | |
5034 | simplify_gen_subreg until final substitution. | |
5035 | ||
ea9364db AM |
5036 | 2014-05-23 Alan Modra <amodra@gmail.com> |
5037 | ||
5038 | PR target/61231 | |
5039 | * config/rs6000/rs6000.c (mem_operand_gpr): Handle SImode. | |
5040 | * config/rs6000/rs6000.md (extendsidi2_lfiwax, extendsidi2_nocell): | |
5041 | Use "Y" constraint rather than "m". | |
5042 | ||
aa87aced KV |
5043 | 2014-05-23 Kugan Vivekanandarajah <kuganv@linaro.org> |
5044 | ||
5045 | * config/aarch64/aarch64.c (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New | |
5046 | define. | |
5047 | * config/aarch64/aarch64-protos.h (aarch64_atomic_assign_expand_fenv): | |
5048 | New function declaration. | |
5049 | * config/aarch64/aarch64-builtins.c (aarch64_builtins) : Add | |
5050 | AARCH64_BUILTIN_GET_FPCR, AARCH64_BUILTIN_SET_FPCR. | |
5051 | AARCH64_BUILTIN_GET_FPSR and AARCH64_BUILTIN_SET_FPSR. | |
5052 | (aarch64_init_builtins) : Initialize builtins | |
5053 | __builtins_aarch64_set_fpcr, __builtins_aarch64_get_fpcr. | |
5054 | __builtins_aarch64_set_fpsr and __builtins_aarch64_get_fpsr. | |
5055 | (aarch64_expand_builtin) : Expand builtins __builtins_aarch64_set_fpcr | |
5056 | __builtins_aarch64_get_fpcr, __builtins_aarch64_get_fpsr, | |
5057 | and __builtins_aarch64_set_fpsr. | |
5058 | (aarch64_atomic_assign_expand_fenv): New function. | |
5059 | * config/aarch64/aarch64.md (set_fpcr): New pattern. | |
5060 | (get_fpcr) : Likewise. | |
5061 | (set_fpsr) : Likewise. | |
5062 | (get_fpsr) : Likewise. | |
5063 | (unspecv): Add UNSPECV_GET_FPCR and UNSPECV_SET_FPCR, UNSPECV_GET_FPSR | |
5064 | and UNSPECV_SET_FPSR. | |
5065 | * doc/extend.texi (AARCH64 Built-in Functions) : Document | |
5066 | __builtins_aarch64_set_fpcr, __builtins_aarch64_get_fpcr. | |
5067 | __builtins_aarch64_set_fpsr and __builtins_aarch64_get_fpsr. | |
5068 | ||
0a1eb350 VM |
5069 | 2014-05-22 Vladimir Makarov <vmakarov@redhat.com> |
5070 | ||
5071 | PR rtl-optimization/60969 | |
5072 | * ira-costs.c (record_reg_classes): Process NO_REGS for matching | |
5073 | constraints. Set up mem cost for NO_REGS case. | |
5074 | ||
f6a7cffc TS |
5075 | 2014-05-22 Thomas Schwinge <thomas@codesourcery.com> |
5076 | ||
5077 | * builtin-types.def: Simplify examples for DEF_FUNCTION_TYPE_*. | |
5078 | ||
4000360e BS |
5079 | 2012-05-22 Bernd Schmidt <bernds@codesourcery.com> |
5080 | ||
5081 | * config/darwin.c: Include "lto-section-names.h". | |
5082 | (LTO_SEGMENT_NAME): Don't define. | |
5083 | * config/i386/winnt.c: Include "lto-section-names.h". | |
5084 | * lto-streamer.c: Include "lto-section-names.h". | |
5085 | * lto-streamer.h (LTO_SECTION_NAME_PREFIX): Don't define. | |
5086 | * lto-wrapper.c: Include "lto-section-names.h". | |
5087 | (LTO_SECTION_NAME_PREFIX): Don't define. | |
5088 | * lto-section-names.h: New file. | |
5089 | * cgraphunit.c: Include "lto-section-names.h". | |
5090 | ||
c9aee450 PB |
5091 | 2014-05-22 Peter Bergner <bergner@vnet.ibm.com> |
5092 | ||
5093 | * config/rs6000/htm.md (ttest): Use correct shift value to get CR0. | |
5094 | ||
37f2edf5 RE |
5095 | 2014-05-22 Richard Earnshaw <rearnsha@arm.com> |
5096 | ||
5097 | PR target/61208 | |
5098 | * arm.md (arm_cmpdi_unsigned): Fix length calculation for Thumb2. | |
5099 | ||
1ad47ee5 NC |
5100 | 2014-05-22 Nick Clifton <nickc@redhat.com> |
5101 | ||
d4082970 | 5102 | * config/msp430/msp430.h (ASM_SPEC): Add spaces after inserted options. |
1ad47ee5 | 5103 | |
1f9c420b EB |
5104 | 2014-05-22 Eric Botcazou <ebotcazou@adacore.com> |
5105 | ||
5106 | * tree-ssa-forwprop.c (associate_plusminus): Extend (T)(P + A) - (T)P | |
5107 | -> (T)A transformation to integer types. | |
5108 | ||
e3f0315f TJ |
5109 | 2014-05-22 Teresa Johnson <tejohnson@google.com> |
5110 | ||
5111 | * gcov-io.c (gcov_position): Use gcov_nonruntime_assert. | |
5112 | (gcov_is_error): Remove gcc_assert from IN_LIBGCOV code. | |
5113 | (gcov_rewrite): Use gcov_nonruntime_assert. | |
5114 | (gcov_open): Ditto. | |
5115 | (gcov_write_words): Ditto. | |
5116 | (gcov_write_length): Ditto. | |
5117 | (gcov_read_words): Use gcov_nonruntime_assert, and remove | |
5118 | gcc_assert from IN_LIBGCOV code. | |
5119 | (gcov_read_summary): Use gcov_error to flag profile corruption. | |
5120 | (gcov_sync): Use gcov_nonruntime_assert. | |
5121 | (gcov_seek): Remove gcc_assert from IN_LIBGCOV code. | |
5122 | (gcov_histo_index): Use gcov_nonruntime_assert. | |
5123 | (static void gcov_histogram_merge): Ditto. | |
5124 | (compute_working_sets): Ditto. | |
5125 | * gcov-io.h (gcov_nonruntime_assert): Define. | |
5126 | (gcov_error): Define for !IN_LIBGCOV | |
5127 | ||
c8f49949 RB |
5128 | 2014-05-22 Richard Biener <rguenther@suse.de> |
5129 | ||
5130 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle | |
5131 | BUILT_IN_REALLOC like BUILT_IN_STRDUP. | |
5132 | (call_may_clobber_ref_p_1): Handle BUILT_IN_REALLOC as allocation | |
5133 | and deallocation site. | |
5134 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
5135 | Handle BUILT_IN_REALLOC similar to BUILT_IN_STRDUP with also | |
5136 | passing through the incoming points-to set. | |
5137 | (handle_lhs_call): Use flags argument instead of recomputing it. | |
5138 | (find_func_aliases_for_call): Call handle_lhs_call with proper | |
5139 | call return flags. | |
5140 | ||
a822564d JJ |
5141 | 2014-05-22 Jakub Jelinek <jakub@redhat.com> |
5142 | ||
5143 | * tree-streamer-in.c (unpack_ts_real_cst_value_fields): Make sure | |
5144 | all padding bits in REAL_VALUE_TYPE are cleared. | |
5145 | ||
4960a0cb MK |
5146 | 2014-05-22 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> |
5147 | ||
5148 | Cleanup and improve multipass_dfa_lookahead_guard | |
d4082970 MT |
5149 | * config/i386/i386.c (core2i7_first_cycle_multipass_filter_ready_try,) |
5150 | (core2i7_first_cycle_multipass_begin,) | |
5151 | (core2i7_first_cycle_multipass_issue,) | |
5152 | (core2i7_first_cycle_multipass_backtrack): Update signature. | |
5153 | * config/ia64/ia64.c | |
5154 | (ia64_first_cycle_multipass_dfa_lookahead_guard_spec): Remove. | |
5155 | (ia64_first_cycle_multipass_dfa_lookahead_guard): Update signature. | |
5156 | (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Remove | |
5157 | hook definition. | |
5158 | (ia64_first_cycle_multipass_dfa_lookahead_guard): Merge logic from | |
5159 | ia64_first_cycle_multipass_dfa_lookahead_guard_spec. Update return | |
5160 | values. | |
5161 | * config/rs6000/rs6000.c (rs6000_use_sched_lookahead_guard): Update | |
5162 | return values. | |
5163 | * doc/tm.texi: Regenerate. | |
5164 | * doc/tm.texi.in | |
5165 | (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): Remove. | |
5166 | * haifa-sched.c (ready_try): Make signed to allow negative values. | |
5167 | (rebug_ready_list_1): Update. | |
5168 | (choose_ready): Simplify. | |
5169 | (sched_extend_ready_list): Update. | |
4960a0cb | 5170 | |
16d83dd6 MK |
5171 | 2014-05-22 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> |
5172 | ||
5173 | Remove IA64 speculation tweaking flags | |
d4082970 MT |
5174 | * config/ia64/ia64.c (ia64_set_sched_flags): Delete handling of |
5175 | speculation tuning flags. | |
5176 | (msched-prefer-non-data-spec-insns,) | |
5177 | (msched-prefer-non-control-spec-insns): Obsolete options. | |
5178 | * haifa-sched.c (choose_ready): Remove handling of | |
5179 | PREFER_NON_CONTROL_SPEC and PREFER_NON_DATA_SPEC. | |
5180 | * sched-int.h (enum SPEC_SCHED_FLAGS): Remove PREFER_NON_CONTROL_SPEC | |
5181 | and PREFER_NON_DATA_SPEC. | |
5182 | * sel-sched.c (process_spec_exprs): Remove handling of | |
5183 | PREFER_NON_CONTROL_SPEC and PREFER_NON_DATA_SPEC. | |
16d83dd6 | 5184 | |
69da098b MK |
5185 | 2014-05-22 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> |
5186 | ||
5187 | Improve scheduling debug output | |
5188 | * haifa-sched.c (debug_ready_list): Remove unnecessary prototype. | |
5189 | (advance_one_cycle): Update. | |
5190 | (schedule_insn, queue_to_ready): Add debug printouts. | |
5191 | (debug_ready_list_1): New static function. | |
5192 | (debug_ready_list): Update. | |
5193 | (max_issue): Add debug printouts. | |
5194 | (dump_insn_stream): New static function. | |
5195 | (schedule_block): Use it. Also better indent printouts. | |
5196 | ||
5197 | 2014-05-22 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | |
5198 | ||
5199 | Fix sched_insn debug counter | |
5200 | * haifa-sched.c (schedule_insn): Update. | |
5201 | (struct haifa_saved_data): Add nonscheduled_insns_begin. | |
5202 | (save_backtrack_point, restore_backtrack_point): Update. | |
5203 | (first_nonscheduled_insn): New static function. | |
5204 | (queue_to_ready, choose_ready): Use it. | |
5205 | (schedule_block): Init nonscheduled_insns_begin. | |
5206 | (sched_emit_insn): Update. | |
5207 | ||
5208 | ||
a4a182c6 KV |
5209 | 2014-05-22 Kugan Vivekanandarajah <kuganv@linaro.org> |
5210 | ||
5211 | * config/aarch64/aarch64.c (aarch64_regno_regclass) : Change CORE_REGS | |
5212 | to GENERAL_REGS. | |
5213 | (aarch64_secondary_reload) : LikeWise. | |
5214 | (aarch64_class_max_nregs) : Remove CORE_REGS. | |
5215 | * config/aarch64/aarch64.h (enum reg_class) : Remove CORE_REGS. | |
5216 | (REG_CLASS_NAMES) : Likewise. | |
5217 | (REG_CLASS_CONTENTS) : LikeWise. | |
5218 | (INDEX_REG_CLASS) : Change CORE_REGS to GENERAL_REGS. | |
5219 | ||
9652331a GW |
5220 | 2014-05-21 Guozhi Wei <carrot@google.com> |
5221 | ||
5222 | PR target/61202 | |
5223 | * config/aarch64/arm_neon.h (vqdmulh_n_s16): Change the last operand's | |
5224 | constraint. | |
5225 | (vqdmulhq_n_s16): Likewise. | |
5226 | ||
0bfba043 SB |
5227 | 2014-05-21 Segher Boessenkool <segher@kernel.crashing.org> |
5228 | ||
5229 | * config/rs6000/predicates.md (update_indexed_address_mem): Delete. | |
5230 | ||
1edb7356 MP |
5231 | 2014-05-21 Marek Polacek <polacek@redhat.com> |
5232 | ||
5233 | PR sanitizer/61272 | |
5234 | * ubsan.c (is_ubsan_builtin_p): Turn assert into a condition. | |
5235 | ||
2acb1027 MJ |
5236 | 2014-05-21 Martin Jambor <mjambor@suse.cz> |
5237 | ||
5238 | * doc/invoke.texi (Optimize Options): Document parameters | |
5239 | ipa-cp-eval-threshold, ipa-max-agg-items, ipa-cp-loop-hint-bonus and | |
5240 | ipa-cp-array-index-hint-bonus. | |
5241 | ||
7315daa6 MW |
5242 | 2014-05-21 Mark Wielaard <mjw@redhat.com> |
5243 | ||
5244 | PR debug/16063 | |
5245 | * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_type if DWARF | |
5246 | version >= 3 or not strict DWARF. | |
5247 | * langhooks.h (struct lang_hooks_for_types): Add | |
5248 | enum_underlying_base_type. | |
5249 | * langhooks.c (lhd_enum_underlying_base_type): New function. | |
5250 | * gcc/langhooks.h (struct lang_hooks_for_types): Add | |
5251 | enum_underlying_base_type. | |
5252 | * langhooks-def.h (lhd_enum_underlying_base_type): New declaration. | |
5253 | (LANG_HOOKS_ENUM_UNDERLYING_BASE_TYPE): New define. | |
5254 | (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add new lang hook. | |
5255 | ||
95989e5c RB |
5256 | 2014-05-21 Richard Biener <rguenther@suse.de> |
5257 | ||
d4082970 | 5258 | * doc/invoke.texi (-flto-partition=): Document one and none algorithms. |
95989e5c | 5259 | |
dbed5a9b JM |
5260 | 2014-05-21 John Marino <gnugcc@marino.st> |
5261 | ||
5262 | * config.gcc (*-*-dragonfly*): New target. | |
5263 | * configure.ac: Detect dl_iterate_phdr (*freebsd*, *dragonfly*). | |
5264 | * configure: Regenerate. | |
5265 | * config/dragonfly-stdint.h: New. | |
5266 | * config/dragonfly.h: New. | |
5267 | * config/dragonfly.opt: New. | |
5268 | * config/i386/dragonfly.h: New. | |
5269 | * ginclude/stddef.h: Detect _PTRDIFF_T_DECLARED for DragonFly. | |
5270 | ||
632f2871 RS |
5271 | 2014-05-21 Richard Sandiford <rsandifo@linux.vnet.ibm.com> |
5272 | ||
5273 | * tree.def (VOID_CST): New. | |
5274 | * tree-core.h (TI_VOID): New. | |
5275 | * tree.h (void_node): New. | |
5276 | * tree.c (tree_node_structure_for_code, tree_code_size) | |
5277 | (iterative_hash_expr): Handle VOID_CST. | |
5278 | (build_common_tree_nodes): Initialize void_node. | |
5279 | ||
8a9e6b45 BS |
5280 | 2014-05-21 Bernd Schmidt <bernds@codesourcery.com> |
5281 | ||
bffe67e7 BS |
5282 | * reload1.c (remove_init_insns, will_delete_init_insn_p): New static |
5283 | functions. | |
5284 | (reload, calculate_needs_all_insns, reload_as_needed): Use them. | |
5285 | ||
0836b77f BS |
5286 | * config/bfin/bfin.c (split_load_immediate): Use gen_int_mode in a few |
5287 | more places. | |
5288 | ||
8a9e6b45 BS |
5289 | * cfgrtl.c (cfg_layout_initialize): Weaken assert to only trigger if |
5290 | flag_reorder_blocks_and_partition. | |
5291 | * hw-doloop.c (reorg_loops): Avoid reordering if that flag is set. | |
5292 | ||
c4e5de1b OE |
5293 | 2014-05-21 Oleg Endo <olegendo@gcc.gnu.org> |
5294 | ||
5295 | PR target/54236 | |
5296 | * config/sh/sh.md (*addc_r_1): Rename to addc_t_r. Remove empty | |
5297 | constraints. | |
5298 | (*addc_r_t): Add new insn_and_split. | |
5299 | ||
decaaec8 JJ |
5300 | 2014-05-21 Jakub Jelinek <jakub@redhat.com> |
5301 | ||
5302 | PR middle-end/61252 | |
5303 | * omp-low.c (handle_simd_reference): New function. | |
5304 | (lower_rec_input_clauses): Use it. Defer adding reference | |
5305 | initialization even for reduction without placeholder if in simd, | |
5306 | handle it properly later on. | |
5307 | ||
3aaf0529 JH |
5308 | 2014-05-20 Jan Hubicka <hubicka@ucw.cz> |
5309 | ||
5310 | PR tree-optimization/60899 | |
5311 | * gimple-fold.c (can_refer_decl_in_current_unit_p): Cleanup; | |
5312 | assume all static symbols will have definition wile parsing and | |
5313 | check the do have definition later in compilation; check that | |
5314 | variable referring symbol will be output before concluding that | |
5315 | reference is safe; be conservative for referring local statics; | |
5316 | be more precise about when comdat is output in other partition. | |
5317 | ||
1bbb87c4 JH |
5318 | 2014-05-20 Jan Hubicka <hubicka@ucw.cz> |
5319 | ||
5320 | PR bootstrap/60984 | |
d4082970 MT |
5321 | * ipa-inline-transform.c (inline_call): Use add CALLEE_REMOVED |
5322 | parameter. | |
1bbb87c4 | 5323 | * ipa-inline.c (inline_to_all_callers): If callee was removed; return. |
d4082970 MT |
5324 | (ipa_inline): Loop inline_to_all_callers until no more aliases |
5325 | are removed. | |
1bbb87c4 | 5326 | |
d5ce4663 JH |
5327 | 2014-05-20 Jan Hubicka <hubicka@ucw.cz> |
5328 | ||
5329 | * ipa.c (ipa_discover_readonly_nonaddressable_var): Fix dumping; | |
5330 | set writeonly flag only for vars actually written to. | |
5331 | ||
98339851 DC |
5332 | 2014-05-20 Dehao Chen <dehao@google.com> |
5333 | ||
5334 | * ipa-inline-transform.c (clone_inlined_nodes): Use min of edge count | |
5335 | and callee count to get clone count. | |
5336 | * tree-inline.c (expand_call_inline): Use callee count instead of bb | |
5337 | count in copy_body. | |
5338 | ||
ec27069c RS |
5339 | 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com> |
5340 | ||
5341 | PR rtl-optimization/61243 | |
5342 | * emit-rtl.c (emit_copy_of_insn_after): Copy CROSSING_JUMP_P. | |
5343 | ||
2b5f0895 XDL |
5344 | 2014-05-20 Xinliang David Li <davidxl@google.com> |
5345 | ||
5346 | * cgraphunit.c (walk_polymorphic_call_targets): Add | |
5347 | dbgcnt and fopt-info support. | |
5348 | * ipa-prop.c (ipa_make_edge_direct_to_target): Ditto. | |
5349 | * ipa-devirt.c (ipa_devirt): Ditto. | |
d4082970 | 5350 | * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): Ditto. |
2b5f0895 XDL |
5351 | * ipa.c (walk_polymorphic_call_targets): Ditto. |
5352 | * gimple-fold.c (fold_gimple_assign): Ditto. | |
5353 | (gimple_fold_call): Ditto. | |
5354 | * dbgcnt.def: New counter. | |
5355 | ||
9c5f6203 DD |
5356 | 2014-05-20 DJ Delorie <dj@redhat.com> |
5357 | ||
5358 | * config/msp430/msp430.md (split): Don't allow subregs when | |
5359 | splitting SImode adds. | |
5360 | (andneghi): Fix subtraction logic. | |
5361 | * config/msp430/predicates.md (msp430_nonsubreg_or_imm_operand): New. | |
5362 | ||
cf288ed3 JH |
5363 | 2014-05-20 Jan Hubicka <hubicka@ucw.cz> |
5364 | ||
5365 | * tree.h (DECL_ONE_ONLY): Return true only for externally visible | |
5366 | symbols. | |
5367 | * except.c (switch_to_exception_section, resolve_unique_section, | |
d4082970 | 5368 | get_named_text_section, default_function_rodata_section, |
cf288ed3 JH |
5369 | align_variable, get_block_for_decl, default_section_type_flags): |
5370 | Use DECL_COMDAT_GROUP instead of DECL_ONE_ONLY. | |
5371 | * symtab.c (symtab_add_to_same_comdat_group, | |
5372 | symtab_make_decl_local, fixup_same_cpp_alias_visibility, | |
5373 | symtab_nonoverwritable_alias, symtab_get_symbol_partitioning_class): | |
5374 | Likewise. | |
5375 | * cgraphclones.c (cgraph_create_virtual_clone): Likewise. | |
5376 | * bb-reorder.c (pass_partition_blocks::gate): Likewise. | |
5377 | * config/c6x/c6x.c (c6x_elf_unique_section): Likewise. | |
5378 | (c6x_function_in_section_p): Likewise. | |
5379 | * config/darwin.c (machopic_select_section): Likewise. | |
5380 | * config/arm/arm.c (arm_function_in_section_p): Likewise. | |
5381 | * config/mips/mips.c (mips_function_rodata_section): Likewise. | |
5382 | * config/mep/mep.c (mep_select_section): LIkewise. | |
5383 | * config/i386/i386.c (x86_64_elf_unique_section): Likewise. | |
5384 | ||
7eab31ed EB |
5385 | 2014-05-20 Eric Botcazou <ebotcazou@adacore.com> |
5386 | ||
5387 | * tree-ssa-dom.c (hashable_expr_equal_p) <EXPR_CALL>: Also compare the | |
5388 | EH region of calls to pure functions that can throw an exception. | |
5389 | * tree-ssa-sccvn.c (vn_reference_eq): Remove duplicated test. | |
5390 | (copy_reference_ops_from_call): Also copy the EH region of the call if | |
5391 | it can throw an exception. | |
5392 | ||
ec217bd8 BS |
5393 | 2014-05-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5394 | ||
5395 | * simplify-rtx.c (simplify_binary_operation_1): Optimize case of | |
5396 | nested VEC_SELECTs that are inverses of each other. | |
5397 | ||
b2b222b3 RB |
5398 | 2014-05-20 Richard Biener <rguenther@suse.de> |
5399 | ||
d4082970 | 5400 | * tree-ssa-sccvn.c (process_scc): Dump SCC here, when iterating, |
b2b222b3 RB |
5401 | (extract_and_process_scc_for_name): not here. |
5402 | (cond_dom_walker::before_dom_children): Only process | |
5403 | stmts that end the BB in interesting ways. | |
5404 | (run_scc_vn): Mark param uses as visited. | |
5405 | ||
e9ea5185 KT |
5406 | 2014-05-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
5407 | ||
5408 | * config/arm/arm.md (arith_shiftsi): Do not predicate for | |
5409 | arm_restrict_it. | |
5410 | ||
8f0e7f6f NC |
5411 | 2014-05-20 Nick Clifton <nickc@redhat.com> |
5412 | ||
467fc67c NC |
5413 | * config/msp430/msp430.c (TARGET_GIMPLIFY_VA_ARG_EXPR): Define. |
5414 | (msp430_gimplify_va_arg_expr): New function. | |
5415 | (msp430_print_operand): Handle (CONST (ZERO_EXTRACT)). | |
5416 | ||
8f0e7f6f NC |
5417 | * config/msp430/msp430.md (zero_extendpsisi2): Use + constraint on |
5418 | operand 0 in order to prevent confusion about the number of | |
5419 | registers involved. | |
5420 | ||
d1c0308e RB |
5421 | 2014-05-20 Richard Biener <rguenther@suse.de> |
5422 | ||
5423 | PR tree-optimization/61221 | |
5424 | * tree-ssa-pre.c (el_to_update): Remove. | |
5425 | (eliminate_dom_walker::before_dom_children): Handle released | |
5426 | VDEFs by value-numbering them to the associated VUSE. Update | |
5427 | stmt immediately for substituted call address. | |
5428 | (eliminate): Remove delayed stmt updating code. | |
5429 | * tree-ssa-sccvn.c (vuse_ssa_val): New function valueizing | |
5430 | possibly late re-numbered vuses. | |
5431 | (vn_reference_lookup_2): Adjust. | |
5432 | (vn_reference_lookup_pieces): Likewise. | |
5433 | (vn_reference_lookup): Likewise. | |
5434 | ||
54da09ee RB |
5435 | 2014-05-20 Richard Biener <rguenther@suse.de> |
5436 | ||
5437 | * config.gcc: Remove need_64bit_hwint. | |
5438 | * configure.ac: Do not define NEED_64BIT_HOST_WIDE_INT. | |
5439 | * hwint.h: Do not check NEED_64BIT_HOST_WIDE_INT but assume | |
5440 | it to be true. | |
5441 | * config.in: Regenerate. | |
5442 | * configure: Likewise. | |
5443 | ||
883755a1 DW |
5444 | 2014-05-19 David Wohlferd <dw@LimeGreenSocks.com> |
5445 | ||
5446 | * doc/extend.texi: Create Label Attributes section, | |
5447 | move all label attributes into it and reference it. | |
5448 | ||
514b3156 RE |
5449 | 2014-05-19 Richard Earnshaw <rearnsha@arm.com> |
5450 | ||
5451 | * arm.c (thumb1_reorg): When scanning backwards skip anything | |
5452 | that's not a proper insn. | |
5453 | ||
1d44def2 RB |
5454 | 2014-05-19 Richard Biener <rguenther@suse.de> |
5455 | ||
5456 | PR tree-optimization/61221 | |
5457 | * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children): | |
5458 | Do nothing for unreachable blocks. | |
5459 | * tree-ssa-sccvn.c (cond_dom_walker::before_dom_children): | |
5460 | Improve unreachability detection. | |
5461 | ||
05135136 RB |
5462 | 2014-05-19 Richard Biener <rguenther@suse.de> |
5463 | ||
5464 | PR tree-optimization/61209 | |
5465 | * tree-ssa-sccvn.c (visit_phi): Avoid setting expr to VN_TOP. | |
5466 | ||
40ba8dfb NC |
5467 | 2014-05-19 Nick Clifton <nickc@redhat.com> |
5468 | ||
5469 | * except.c (init_eh): Fix computation of builtin setjmp buffer | |
5470 | size to allow for targets where POINTER_SIZE > BITS_PER_WORD. | |
5471 | ||
cb460086 RB |
5472 | 2014-05-19 Richard Biener <rguenther@suse.de> |
5473 | ||
5474 | PR tree-optimization/61184 | |
5475 | * tree-vrp.c (is_negative_overflow_infinity): Use | |
5476 | TREE_OVERFLOW_P and do that check first. | |
5477 | (is_positive_overflow_infinity): Likewise. | |
5478 | (is_overflow_infinity): Likewise. | |
5479 | (vrp_operand_equal_p): Properly treat operands with | |
5480 | differing overflow as not equal. | |
5481 | ||
bddd3671 BS |
5482 | 2014-05-19 Bernd Schmidt <bernds@codesourcery.com> |
5483 | ||
5484 | * simplify-rtx.c (simplify_unary_operation_1): Use CONST_INT_P in | |
5485 | shift simplification where it was intended. | |
5486 | ||
72d82e7a CB |
5487 | 2014-05-19 Christian Bruel <christian.bruel@st.com> |
5488 | ||
5489 | PR target/61195 | |
5490 | * config/sh/sh.md (movsf_ie): Unset fp_mode for fmov. | |
5491 | ||
34dbb287 RS |
5492 | 2014-05-19 Richard Sandiford <r.sandiford@uk.ibm.com> |
5493 | ||
5494 | PR target/61084 | |
5495 | * config/sparc/sparc.c (sparc_fold_builtin): Use widest_int rather | |
5496 | than wide_int. | |
5497 | ||
339ba33b RS |
5498 | 2014-05-19 Richard Sandiford <rdsandiford@googlemail.com> |
5499 | ||
5500 | * reg-notes.def (CROSSING_JUMP): Likewise. | |
5501 | * rtl.h (rtx_def): Update comment for jump flag. | |
5502 | (CROSSING_JUMP_P): Define. | |
5503 | * cfgcleanup.c (try_forward_edges, try_optimize_cfg): Use it instead | |
5504 | of a REG_CROSSING_JUMP note. | |
5505 | * cfghooks.c (tidy_fallthru_edges): Likewise. | |
5506 | * cfgrtl.c (fixup_partition_crossing, rtl_verify_edges): Likewise. | |
5507 | * emit-rtl.c (try_split): Likewise. | |
5508 | * haifa-sched.c (sched_create_recovery_edges): Likewise. | |
5509 | * ifcvt.c (find_if_case_1, find_if_case_2): Likewise. | |
5510 | * jump.c (redirect_jump_2): Likewise. | |
5511 | * reorg.c (follow_jumps, fill_slots_from_thread): Likewise. | |
5512 | (relax_delay_slots): Likewise. | |
5513 | * config/arc/arc.md (jump_i, cbranchsi4_scratch, *bbit): Likewise. | |
5514 | (bbit_di): Likewise. | |
5515 | * config/arc/arc.c (arc_reorg, arc_can_follow_jump): Likewise. | |
5516 | * config/sh/sh.md (jump_compact): Likewise. | |
5517 | * bb-reorder.c (rotate_loop): Likewise. | |
5518 | (pass_duplicate_computed_gotos::execute): Likewise. | |
5519 | (add_reg_crossing_jump_notes): Rename to... | |
5520 | (update_crossing_jump_flags): ...this. | |
5521 | (pass_partition_blocks::execute): Update accordingly. | |
5522 | ||
a65d5b87 RS |
5523 | 2014-05-19 Richard Sandiford <rdsandiford@googlemail.com> |
5524 | ||
5525 | * tree.h: Remove extraneous template <>. | |
5526 | ||
7b3376a0 JH |
5527 | 2014-05-17 Jan Hubicka <hubicka@ucw.cz> |
5528 | ||
5529 | * ipa.c (symtab_remove_unreachable_nodes): Remove | |
5530 | symbol from comdat group if its body was eliminated. | |
d4082970 MT |
5531 | (comdat_can_be_unshared_p_1): Static symbols can always be privatized. |
5532 | * symtab.c (symtab_remove_from_same_comdat_group): Break out from ... | |
7b3376a0 JH |
5533 | (symtab_unregister_node): ... this one. |
5534 | (verify_symtab_base): More strict checking of comdats. | |
5535 | * cgraph.h (symtab_remove_from_same_comdat_group): Declare. | |
5536 | ||
a04d9035 JH |
5537 | 2014-05-17 Jan Hubicka <hubicka@ucw.cz> |
5538 | ||
5539 | * tree-pass.h (make_pass_ipa_comdats): New pass. | |
5540 | * timevar.def (TV_IPA_COMDATS): New timevar. | |
5541 | * passes.def (pass_ipa_comdats): Add. | |
5542 | * Makefile.in (OBJS): Add ipa-comdats.o | |
5543 | * ipa-comdats.c: New file. | |
5544 | ||
24a71ba8 JH |
5545 | 2014-05-17 Jan Hubicka <hubicka@ucw.cz> |
5546 | ||
5547 | * ipa.c (update_visibility_by_resolution_info): New function. | |
5548 | (function_and_variable_visibility): Use it. | |
5549 | ||
d6d229c6 JH |
5550 | 2014-05-17 Jan Hubicka <hubicka@ucw.cz> |
5551 | ||
5552 | * cgraph.h (symtab_first_defined_symbol, symtab_next_defined_symbol): | |
5553 | New functions. | |
5554 | (FOR_EACH_DEFINED_SYMBOL): New macro. | |
5555 | (varpool_first_static_initializer, varpool_next_static_initializer, | |
d4082970 MT |
5556 | varpool_first_defined_variable, varpool_next_defined_variable): |
5557 | Fix comments. | |
d6d229c6 JH |
5558 | (symtab_in_same_comdat_p): Correctly deal with inline functions. |
5559 | ||
c3af645c TS |
5560 | 2014-05-17 Trevor Saunders <tsaunders@mozilla.com> |
5561 | ||
5562 | * ggc-page.c (ggc_handle_finalizers): Add comment. | |
5563 | ||
de49ce19 TS |
5564 | 2014-05-17 Trevor Saunders <tsaunders@mozilla.com> |
5565 | ||
5566 | * ggc-common.c (ggc_internal_cleared_alloc): Adjust. | |
5567 | * ggc-none.c (ggc_internal_alloc): Assert if a finalizer is passed. | |
5568 | (ggc_internal_cleared_alloc): Likewise. | |
5569 | * ggc-page.c (finalizer): New class. | |
16f8dfdb | 5570 | (vec_finalizer): Likewise. |
de49ce19 | 5571 | (globals::finalizers): New member. |
16f8dfdb | 5572 | (globals::vec_finalizers): Likewise. |
de49ce19 TS |
5573 | (ggc_internal_alloc): Record the finalizer if any for the block being |
5574 | allocated. | |
5575 | (ggc_handle_finalizers): New function. | |
5576 | (ggc_collect): Call ggc_handle_finalizers. | |
5577 | * ggc.h (ggc_internal_alloc): Add arguments to allow installing a | |
5578 | finalizer. | |
5579 | (ggc_internal_cleared_alloc): Likewise. | |
5580 | (finalize): New function. | |
5581 | (need_finalization_p): Likewise. | |
5582 | (ggc_alloc): Install the type's destructor as the finalizer if it | |
5583 | might do something. | |
5584 | (ggc_cleared_alloc): Likewise. | |
5585 | (ggc_vec_alloc): Likewise. | |
5586 | (ggc_cleared_vec_alloc): Likewise. | |
5587 | ||
04eec987 TS |
5588 | 2014-05-17 Trevor Saunders <tsaunders@mozilla.com> |
5589 | ||
5590 | * ggc.h (ggc_alloc_cleared_simd_clone_stat): Remove function. | |
5591 | ||
766090c2 TS |
5592 | 2014-05-17 Trevor Saunders <tsaunders@mozilla.com> |
5593 | ||
5594 | * alias.c (record_alias_subset): Adjust. | |
5595 | * bitmap.c (bitmap_element_allocate): Likewise. | |
5596 | (bitmap_gc_alloc_stat): Likewise. | |
5597 | * cfg.c (init_flow): Likewise. | |
5598 | (alloc_block): Likewise. | |
5599 | (unchecked_make_edge): Likewise. | |
5600 | * cfgloop.c (alloc_loop): Likewise. | |
5601 | (flow_loops_find): Likewise. | |
5602 | (rescan_loop_exit): Likewise. | |
5603 | * cfgrtl.c (init_rtl_bb_info): Likewise. | |
5604 | * cgraph.c (insert_new_cgraph_node_version): Likewise. | |
5605 | (cgraph_allocate_node): Likewise. | |
5606 | (cgraph_create_edge_1): Likewise. | |
5607 | (cgraph_allocate_init_indirect_info): Likewise. | |
5608 | * cgraphclones.c (cgraph_clone_edge): Likewise. | |
5609 | * cgraphunit.c (add_asm_node): Likewise. | |
5610 | (init_lowered_empty_function): Likewise. | |
16f8dfdb | 5611 | * config/aarch64/aarch64.c (aarch64_init_machine_status): Likewise. |
766090c2 TS |
5612 | * config/alpha/alpha.c (alpha_init_machine_status): Likewise. |
5613 | (alpha_use_linkage): Likewise. | |
5614 | * config/arc/arc.c (arc_init_machine_status): Likewise. | |
5615 | * config/arm/arm.c (arm_init_machine_status): Likewise. | |
5616 | * config/avr/avr.c (avr_init_machine_status): Likewise. | |
5617 | * config/bfin/bfin.c (bfin_init_machine_status): Likewise. | |
5618 | * config/c6x/c6x.c (c6x_init_machine_status): Likewise. | |
5619 | * config/cris/cris.c (cris_init_machine_status): Likewise. | |
5620 | * config/darwin.c (machopic_indirection_name): Likewise. | |
5621 | (darwin_build_constant_cfstring): Likewise. | |
5622 | (darwin_enter_string_into_cfstring_table): Likewise. | |
16f8dfdb | 5623 | * config/epiphany/epiphany.c (epiphany_init_machine_status): Likewise. |
766090c2 TS |
5624 | * config/frv/frv.c (frv_init_machine_status): Likewise. |
5625 | * config/i386/i386.c (get_dllimport_decl): Likewise. | |
5626 | (ix86_init_machine_status): Likewise. | |
5627 | (assign_386_stack_local): Likewise. | |
16f8dfdb | 5628 | * config/i386/winnt.c (i386_pe_record_external_function): Likewise. |
766090c2 TS |
5629 | (i386_pe_maybe_record_exported_symbol): Likewise. |
5630 | (i386_pe_record_stub): Likewise. | |
5631 | * config/ia64/ia64.c (ia64_init_machine_status): Likewise. | |
5632 | * config/iq2000/iq2000.c (iq2000_init_machine_status): Likewise. | |
5633 | * config/m32c/m32c.c (m32c_init_machine_status): Likewise. | |
5634 | (m32c_note_pragma_address): Likewise. | |
5635 | * config/mep/mep.c (mep_init_machine_status): Likewise. | |
5636 | (mep_note_pragma_flag): Likewise. | |
5637 | * config/mips/mips.c (mflip_mips16_use_mips16_p): Likewise. | |
5638 | (mips16_local_alias): Likewise. | |
5639 | (mips_init_machine_status): Likewise. | |
5640 | * config/mmix/mmix.c (mmix_init_machine_status): Likewise. | |
5641 | * config/moxie/moxie.c (moxie_init_machine_status): Likewise. | |
5642 | * config/msp430/msp430.c (msp430_init_machine_status): Likewise. | |
5643 | * config/nds32/nds32.c (nds32_init_machine_status): Likewise. | |
5644 | * config/nios2/nios2.c (nios2_init_machine_status): Likewise. | |
5645 | * config/pa/pa.c (pa_init_machine_status): Likewise. | |
5646 | (pa_get_deferred_plabel): Likewise. | |
5647 | * config/rl78/rl78.c (rl78_init_machine_status): Likewise. | |
5648 | * config/rs6000/rs6000.c (builtin_function_type): Likewise. | |
5649 | (rs6000_init_machine_status): Likewise. | |
5650 | (output_toc): Likewise. | |
5651 | * config/s390/s390.c (s390_init_machine_status): Likewise. | |
5652 | * config/score/score.c (score_output_external): Likewise. | |
5653 | * config/sparc/sparc.c (sparc_init_machine_status): Likewise. | |
5654 | * config/spu/spu.c (spu_init_machine_status): Likewise. | |
5655 | * config/tilegx/tilegx.c (tilegx_init_machine_status): Likewise. | |
16f8dfdb | 5656 | * config/tilepro/tilepro.c (tilepro_init_machine_status): Likewise. |
766090c2 TS |
5657 | * config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise. |
5658 | * coverage.c (coverage_end_function): Likewise. | |
5659 | * dbxout.c (dbxout_init): Likewise. | |
5660 | * doc/gty.texi: Don't mention variable_size attribute. | |
5661 | * dwarf2cfi.c (new_cfi): Adjust. | |
5662 | (new_cfi_row): Likewise. | |
5663 | (copy_cfi_row): Likewise. | |
5664 | (create_cie_data): Likewise. | |
5665 | * dwarf2out.c (dwarf2out_alloc_current_fde): Likewise. | |
5666 | (new_loc_descr): Likewise. | |
5667 | (find_AT_string_in_table): Likewise. | |
5668 | (add_addr_table_entry): Likewise. | |
5669 | (new_die): Likewise. | |
5670 | (add_var_loc_to_decl): Likewise. | |
5671 | (clone_die): Likewise. | |
5672 | (clone_as_declaration): Likewise. | |
5673 | (break_out_comdat_types): Likewise. | |
5674 | (new_loc_list): Likewise. | |
5675 | (add_loc_descr_to_each): Likewise. | |
5676 | (add_location_or_const_value_attribute): Likewise. | |
5677 | (add_linkage_name): Likewise. | |
5678 | (lookup_filename): Likewise. | |
5679 | (dwarf2out_var_location): Likewise. | |
5680 | (new_line_info_table): Likewise. | |
5681 | (dwarf2out_init): Likewise. | |
5682 | (mem_loc_descriptor): Likewise. | |
5683 | (loc_descriptor): Likewise. | |
5684 | (add_const_value_attribute): Likewise. | |
5685 | (tree_add_const_value_attribute): Likewise. | |
5686 | (comp_dir_string): Likewise. | |
5687 | (dwarf2out_vms_debug_main_pointer): Likewise. | |
5688 | (string_cst_pool_decl): Likewise. | |
5689 | * emit-rtl.c (set_mem_attrs): Likewise. | |
5690 | (get_reg_attrs): Likewise. | |
5691 | (start_sequence): Likewise. | |
5692 | (init_emit): Likewise. | |
5693 | (init_emit_regs): Likewise. | |
5694 | * except.c (init_eh_for_function): Likewise. | |
5695 | (gen_eh_region): Likewise. | |
5696 | (gen_eh_region_catch): Likewise. | |
5697 | (gen_eh_landing_pad): Likewise. | |
5698 | (add_call_site): Likewise. | |
5699 | * function.c (add_frame_space): Likewise. | |
5700 | (insert_temp_slot_address): Likewise. | |
5701 | (assign_stack_temp_for_type): Likewise. | |
5702 | (get_hard_reg_initial_val): Likewise. | |
5703 | (allocate_struct_function): Likewise. | |
5704 | (prepare_function_start): Likewise. | |
5705 | (types_used_by_var_decl_insert): Likewise. | |
5706 | * gengtype.c (variable_size_p): Remove function. | |
5707 | (enum alloc_quantity): Remove enum. | |
5708 | (write_typed_alloc_def): Remove function. | |
5709 | (write_typed_struct_alloc_def): Likewise. | |
5710 | (write_typed_typedef_alloc_def): Likewise. | |
5711 | (write_typed_alloc_defns): Likewise. | |
5712 | (main): Adjust. | |
5713 | * ggc-common.c (ggc_cleared_alloc_htab_ignore_args): Adjust. | |
5714 | (ggc_cleared_alloc_ptr_array_two_args): Likewise. | |
5715 | * ggc.h (ggc_alloc): new function. | |
5716 | (ggc_cleared_alloc): Likewise. | |
5717 | (ggc_vec_alloc): Template on type of vector element, and remove | |
5718 | element size argument. | |
5719 | (ggc_cleared_vec_alloc): Likewise. | |
5720 | * gimple.c (gimple_build_omp_for): Adjust. | |
5721 | (gimple_copy): Likewise. | |
5722 | * ipa-cp.c (get_replacement_map): Likewise. | |
5723 | (find_aggregate_values_for_callers_subset): Likewise. | |
5724 | (known_aggs_to_agg_replacement_list): Likewise. | |
5725 | * ipa-devirt.c (get_odr_type): Likewise. | |
5726 | * ipa-prop.c (ipa_node_duplication_hook): Likewise. | |
5727 | (read_agg_replacement_chain): Likewise. | |
5728 | * loop-iv.c (get_simple_loop_desc): Likewise. | |
5729 | * lto-cgraph.c (input_node_opt_summary): Likewise. | |
5730 | * lto-section-in.c (lto_new_in_decl_state): Likewise. | |
5731 | * lto-streamer-in.c (lto_input_eh_catch_list): Likewise. | |
5732 | (input_eh_region): Likewise. | |
5733 | (input_eh_lp): Likewise. | |
5734 | (input_cfg): Likewise. | |
5735 | * optabs.c (set_optab_libfunc): Likewise. | |
5736 | (init_tree_optimization_optabs): Likewise. | |
5737 | (set_conv_libfunc): Likewise. | |
5738 | * passes.c (do_per_function_toporder): Likewise. | |
5739 | * rtl.h: Don't use variable_size gty attribute. | |
5740 | * sese.c (if_region_set_false_region): Adjust. | |
5741 | * stringpool.c (gt_pch_save_stringpool): Likewise. | |
5742 | * target-globals.c (save_target_globals): Likewise. | |
5743 | * toplev.c (general_init): Likewise. | |
5744 | * trans-mem.c (record_tm_replacement): Likewise. | |
5745 | (split_bb_make_tm_edge): Likewise. | |
5746 | * tree-cfg.c (move_sese_region_to_fn): Likewise. | |
5747 | * tree-data-ref.h (lambda_vector_new): Likewise. | |
5748 | * tree-eh.c (add_stmt_to_eh_lp_fn): Likewise. | |
5749 | * tree-iterator.c (tsi_link_before): Likewise. | |
5750 | (tsi_link_after): Likewise. | |
5751 | * tree-scalar-evolution.c (new_scev_info_str): Likewise. | |
5752 | * tree-ssa-loop-niter.c (record_estimate): Likewise. | |
5753 | * tree-ssa-operands.c (ssa_operand_alloc): Likewise. | |
5754 | * tree-ssa-operands.h: Don't use variable_size gty attribute. | |
5755 | * tree-ssa.c (init_tree_ssa): Adjust. | |
5756 | * tree-ssanames.c (set_range_info): Likewise. | |
5757 | (get_ptr_info): Likewise. | |
5758 | (duplicate_ssa_name_ptr_info): Likewise. | |
5759 | (duplicate_ssa_name_range_info): Likewise. | |
5760 | * tree-streamer-in.c (unpack_ts_real_cst_value_fields): Likewise. | |
5761 | (unpack_ts_fixed_cst_value_fields): Likewise. | |
5762 | * tree.c (build_fixed): Likewise. | |
5763 | (build_real): Likewise. | |
5764 | (build_string): Likewise. | |
5765 | (decl_priority_info): Likewise. | |
5766 | (decl_debug_expr_insert): Likewise. | |
5767 | (decl_value_expr_insert): Likewise. | |
5768 | (decl_debug_args_insert): Likewise. | |
5769 | (type_hash_add): Likewise. | |
5770 | (build_omp_clause): Likewise. | |
5771 | * ubsan.c (decl_for_type_insert): Likewise. | |
5772 | * varasm.c (get_unnamed_section): Likewise. | |
5773 | (get_noswitch_section): Likewise. | |
5774 | (get_section): Likewise. | |
5775 | (get_block_for_section): Likewise. | |
5776 | (create_block_symbol): Likewise. | |
5777 | (build_constant_desc): Likewise. | |
5778 | (create_constant_pool): Likewise. | |
5779 | (force_const_mem): Likewise. | |
5780 | (record_tm_clone_pair): Likewise. | |
5781 | * varpool.c (varpool_create_empty_node): Likewise. | |
5782 | ||
231120e5 TS |
5783 | 2014-05-17 Trevor Saunders <tsaunders@mozilla.com> |
5784 | ||
5785 | * dwarf2out.c (tree_add_const_value_attribute): Call | |
5786 | ggc_internal_cleared_alloc instead of ggc_alloc_cleared_atomic. | |
5787 | * gengtype.c (write_typed_alloc_def): Call ggc_internal_<x>alloc | |
5788 | instead of ggc_internal_<x>alloc_stat. | |
5789 | * ggc-common.c (ggc_internal_cleared_alloc): Drop _stat suffix. | |
5790 | (ggc_realloc): Likewise. | |
5791 | * ggc-none.c (ggc_internal_alloc): Likewise. | |
5792 | (ggc_internal_cleared_alloc): Likewise. | |
5793 | * ggc-page.c: Likewise. | |
5794 | * ggc.h (ggc_internal_alloc_stat): Likewise. | |
5795 | (ggc_internal_alloc): Remove macro. | |
5796 | (ggc_internal_cleared_alloc_stat): Drop _stat suffix. | |
5797 | (ggc_internal_cleared_alloc): Remove macro. | |
5798 | (GGC_RESIZEVEC): Adjust. | |
5799 | (ggc_resizevar): Remove macro. | |
5800 | (ggc_internal_vec_alloc_stat): Drop _stat suffix. | |
5801 | (ggc_internal_cleared_vec_alloc_stat): Likewise. | |
5802 | (ggc_internal_vec_cleared_alloc): Remove macro. | |
5803 | (ggc_alloc_atomic_stat): Drop _stat suffix. | |
5804 | (ggc_alloc_atomic): Remove macro. | |
5805 | (ggc_alloc_cleared_atomic): Remove macro. | |
5806 | (ggc_alloc_string_stat): Drop _stat suffix. | |
5807 | (ggc_alloc_string): Remove macro. | |
5808 | (ggc_alloc_rtx_def_stat): Adjust. | |
5809 | (ggc_alloc_tree_node_stat): Likewise. | |
5810 | (ggc_alloc_cleared_tree_node_stat): Likewise. | |
5811 | (ggc_alloc_cleared_gimple_statement_stat): Likewise. | |
5812 | (ggc_alloc_cleared_simd_clone_stat): Likewise. | |
5813 | * gimple.c (gimple_build_omp_for): Likewise. | |
5814 | (gimple_copy): Likewise. | |
5815 | * stringpool.c (ggc_alloc_string_stat): Drop _stat suffix. | |
5816 | * toplev.c (realloc_for_line_map): Adjust. | |
5817 | * tree-data-ref.h (lambda_vector_new): Likewise. | |
5818 | * tree-phinodes.c (allocate_phi_node): Likewise. | |
5819 | * tree.c (grow_tree_vec_stat): Likewise. | |
5820 | * vec.h (va_gc::reserve): Adjust. | |
5821 | ||
16f8dfdb | 5822 | 2014-05-17 Ajit Agarwal <ajitkum@xilinx.com> |
86498dba | 5823 | |
16f8dfdb UB |
5824 | * config/microblaze/microblaze.c (break_handler): New Declaration. |
5825 | (microblaze_break_function_p,microblaze_is_break_handler): New. | |
5826 | (compute_frame_size): Use microblaze_break_function_p. | |
5827 | Add the test of break_handler. | |
5828 | (microblaze_function_prologue) : Add the test of variable | |
5829 | break_handler. Check the fnname by BREAK_HANDLER_NAME. | |
5830 | (microblaze_function_epilogue) : Add the test of break_handler. | |
5831 | (microblaze_globalize_label) : Add the test of break_handler. | |
5832 | Check the name by BREAK_HANDLER_NAME. | |
86498dba | 5833 | |
16f8dfdb | 5834 | * config/microblaze/microblaze.h (BREAK_HANDLER_NAME): New macro |
86498dba | 5835 | |
16f8dfdb UB |
5836 | * config/microblaze/microblaze.md (*<optab>,<optab>_internal): Add |
5837 | microblaze_is_break_handler test. | |
5838 | (call_internal1,call_value_intern): Use microblaze_break_function_p. | |
5839 | Use SYMBOL_REF_DECL. | |
86498dba AA |
5840 | |
5841 | * config/microblaze/microblaze-protos.h | |
16f8dfdb UB |
5842 | (microblaze_break_function_p,microblaze_is_break_handler): |
5843 | New Declaration. | |
86498dba | 5844 | |
16f8dfdb UB |
5845 | * doc/extend.texi (MicroBlaze break_handler Functions): Document |
5846 | new MicroBlaze break_handler functions. | |
86498dba | 5847 | |
71ca3028 UB |
5848 | 2014-05-17 Uros Bizjak <ubizjak@gmail.com> |
5849 | ||
5850 | * doc/extend.texi (Size of an asm): Move node text according | |
5851 | to its @menu entry position. | |
5852 | ||
87a34442 MG |
5853 | 2014-05-17 Marc Glisse <marc.glisse@inria.fr> |
5854 | ||
5855 | PR tree-optimization/61140 | |
5856 | PR tree-optimization/61150 | |
5857 | PR tree-optimization/61197 | |
5858 | * tree-ssa-phiopt.c (value_replacement): Punt on multiple phis. | |
5859 | ||
6ca74b5c UB |
5860 | 2014-05-17 Uros Bizjak <ubizjak@gmail.com> |
5861 | ||
5862 | * doc/invoke.texi (free): Mention Alpha. Also enabled at -Os. | |
5863 | ||
60f82c42 RS |
5864 | 2014-05-17 Richard Sandiford <r.sandiford@uk.ibm.com> |
5865 | ||
5866 | * wide-int.cc: Only include longlong.h if W_TYPE_SIZE==32 or | |
5867 | __SIZEOF_INT128__ is defined. | |
5868 | ||
a1242f17 RS |
5869 | 2014-05-17 Richard Sandiford <rdsandiford@googlemail.com> |
5870 | ||
5871 | * config/rs6000/rs6000.c (rs6000_real_tls_symbol_ref_p): New function. | |
5872 | (rs6000_delegitimize_address): Use it. | |
5873 | ||
23b33725 RS |
5874 | 2014-05-17 Richard Sandiford <rdsandiford@googlemail.com> |
5875 | ||
5876 | * emit-rtl.h (replace_equiv_address, replace_equiv_address_nv): Add an | |
5877 | inplace argument. Store the new address in the original MEM when true. | |
5878 | * emit-rtl.c (change_address_1): Likewise. | |
5879 | (adjust_address_1, adjust_automodify_address_1, offset_address): | |
5880 | Update accordingly. | |
5881 | * rtl.h (plus_constant): Add an inplace argument. | |
5882 | * explow.c (plus_constant): Likewise. Try to reuse the original PLUS | |
5883 | when true. Avoid generating (plus X (const_int 0)). | |
5884 | * function.c (instantiate_virtual_regs_in_rtx): Adjust the PLUS | |
5885 | in-place. Pass true to plus_constant. | |
5886 | (instantiate_virtual_regs_in_insn): Pass true to replace_equiv_address. | |
5887 | ||
2f6eed01 DC |
5888 | 2014-05-16 Dehao Chen <dehao@google.com> |
5889 | ||
5890 | * tree-cfg.c (gimple_merge_blocks): Updates bb count with max count. | |
5891 | ||
b200de02 OE |
5892 | 2014-05-16 Oleg Endo <olegendo@gcc.gnu.org> |
5893 | ||
5894 | PR target/54089 | |
5895 | * config/sh/predicates.md (negt_reg_shl31_operand): Match additional | |
5896 | patterns. | |
5897 | * config/sh/sh.md (*negt_msb): Merge SH2A and non-SH2A variants. | |
5898 | ||
cf40f973 DC |
5899 | 2014-05-16 Dehao Chen <dehao@google.com> |
5900 | ||
6b8ebd00 UB |
5901 | * ira-int.h (REG_FREQ_FROM_EDGE_FREQ): Use |
5902 | optimize_function_for_size_p. | |
cf40f973 DC |
5903 | * regs.h (REG_FREQ_FROM_BB): Likewise. |
5904 | ||
48d8568e OE |
5905 | 2014-05-16 Oleg Endo <olegendo@gcc.gnu.org> |
5906 | ||
5907 | PR target/51244 | |
5908 | * config/sh/sh.c (sh_eval_treg_value): Handle t_reg_operand and | |
5909 | negt_reg_operand cases. | |
5910 | * config/sh/sh.md (*cset_zero): Likewise by using cbranch_treg_value | |
5911 | predicate. | |
5912 | * config/sh/predicates.md (cbranch_treg_value): Simplify. | |
5913 | ||
d580af0f OE |
5914 | 2014-05-16 Oleg Endo <olegendo@gcc.gnu.org> |
5915 | ||
5916 | * config/sh/sh.c (sh_option_override): Set branch cost to 2 for all | |
5917 | target variants. | |
5918 | ||
6c7571a2 DM |
5919 | 2014-05-16 David Malcolm <dmalcolm@redhat.com> |
5920 | ||
5921 | Revert: | |
5922 | 2014-04-29 David Malcolm <dmalcolm@redhat.com> | |
5923 | ||
5924 | * tree-cfg.c (dump_function_to_file): Dump the return type of | |
5925 | functions, in a line to itself before the function body, mimicking | |
5926 | the layout of a C function. | |
5927 | ||
b0e66512 DC |
5928 | 2014-05-16 Dehao Chen <dehao@google.com> |
5929 | ||
5930 | * cfghooks.c (make_forwarder_block): Use direct computation to | |
5931 | get fall-through edge's count and frequency. | |
5932 | ||
6b8ebd00 | 5933 | 2014-05-16 Benno Schulenberg <bensberg@justemail.net> |
2236746b BS |
5934 | |
5935 | * config/arc/arc.c (arc_init): Fix typo in error message. | |
5936 | * config/i386/i386.c (ix86_expand_builtin): Likewise. | |
5937 | (split_stack_prologue_scratch_regno): Likewise. | |
5938 | * fortran/check.c (gfc_check_fn_rc2008): Remove duplicate | |
5939 | word from error message. | |
5940 | ||
420ab54b ZZ |
5941 | 2014-05-16 Zhouyi Zhou <yizhouzhou@ict.ac.cn> |
5942 | ||
5943 | * ira-costs.c: Fix typo in comment. | |
5944 | ||
8e90f610 DW |
5945 | 2014-05-16 David Wohlferd <dw@LimeGreenSocks.com> |
5946 | ||
6b8ebd00 | 5947 | * doc/extend.texi: (Visibility Pragmas) Fix misplaced @xref |
8e90f610 | 5948 | |
6de88c6a JH |
5949 | 2014-05-16 Jan Hubicka <hubicka@ucw.cz> |
5950 | ||
5951 | * varpool.c (dump_varpool_node): Dump write-only flag. | |
5952 | * lto-cgraph.c (lto_output_varpool_node, input_varpool_node): Stream | |
5953 | write-only flag. | |
6b8ebd00 UB |
5954 | * tree-cfg.c (execute_fixup_cfg): Remove statements setting |
5955 | write-only variables. | |
5956 | * ipa.c (process_references): New function. | |
5957 | (set_readonly_bit): New function. | |
5958 | (set_writeonly_bit): New function. | |
5959 | (clear_addressable_bit): New function. | |
5960 | (ipa_discover_readonly_nonaddressable_var): Mark write only variables; | |
5961 | fix handling of aliases. | |
5962 | * cgraph.h (struct varpool_node): Add writeonly flag. | |
6de88c6a | 5963 | |
f4e075e7 VM |
5964 | 2014-05-16 Vladimir Makarov <vmakarov@redhat.com> |
5965 | ||
5966 | PR rtl-optimization/60969 | |
5967 | * ira-costs.c (record_reg_classes): Allow only memory for pseudo. | |
5968 | Calculate costs for this case. | |
5969 | ||
8b628e86 EB |
5970 | 2014-05-16 Eric Botcazou <ebotcazou@adacore.com> |
5971 | ||
5972 | * fold-const (fold_unary_loc) <NON_LVALUE_EXPR>: New case. | |
5973 | <CASE_CONVERT>: Pass arg0 instead of op0 to fold_convert_const. | |
5974 | ||
52264dbf RB |
5975 | 2014-05-16 Richard Biener <rguenther@suse.de> |
5976 | ||
5977 | PR tree-optimization/61194 | |
5978 | * tree-vect-patterns.c (adjust_bool_pattern): Also handle | |
5979 | bool patterns ending in a COND_EXPR. | |
5980 | ||
3d840f7d JG |
5981 | 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com> |
5982 | ||
5983 | * config/aarch64/aarch64.c (aarch64_rtx_mult_cost): Fix FNMUL case. | |
5984 | ||
88d4fbcf JG |
5985 | 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com> |
5986 | ||
5987 | * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle the case | |
5988 | where we were unable to cost an RTX. | |
5989 | ||
909734be JG |
5990 | 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com> |
5991 | ||
5992 | * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost SYMBOL_REF, | |
5993 | HIGH, LO_SUM. | |
5994 | ||
fb620c4a JG |
5995 | 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com> |
5996 | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | |
5997 | ||
5998 | * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost TRUNCATE. | |
5999 | ||
b292109f JG |
6000 | 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com> |
6001 | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | |
6002 | ||
6003 | * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost FMA, | |
6004 | FLOAT_EXTEND, FLOAT_TRUNCATE, ABS, SMAX, and SMIN. | |
6005 | ||
a8eecd00 JG |
6006 | 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com> |
6007 | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | |
6008 | ||
6009 | * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost comparison | |
6010 | operators. | |
6011 | ||
4105fe38 JG |
6012 | 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com> |
6013 | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | |
6014 | ||
6015 | * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costs for | |
6016 | DIV/MOD. | |
6017 | ||
6018 | 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com> | |
7cc2145f JG |
6019 | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> |
6020 | ||
6021 | * config/aarch64/aarch64.c (aarch64_rtx_arith_op_extract_p): New. | |
6022 | (aarch64_rtx_costs): Improve costs for SIGN/ZERO_EXTRACT. | |
6023 | ||
ba0cfa17 JG |
6024 | 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com> |
6025 | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | |
6026 | ||
6027 | * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costs for | |
6028 | rotates and shifts. | |
6029 | ||
b1685e62 JG |
6030 | 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com> |
6031 | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | |
6032 | ||
6033 | * config/aarch64/aarch64.c (aarch64_rtx_costs): Cost | |
6034 | ZERO_EXTEND and SIGN_EXTEND better. | |
6035 | ||
268c3b47 JG |
6036 | 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com> |
6037 | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | |
6038 | ||
6039 | * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve cost for | |
6040 | logical operations. | |
6041 | ||
2961177e JG |
6042 | 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com> |
6043 | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | |
6044 | ||
6045 | * config/aarch64/aarch64.c (aarch64_rtx_costs): Use address | |
6046 | costs when costing loads and stores to memory. | |
6047 | ||
ba123b0d JG |
6048 | 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com> |
6049 | Philip Tomsich <philipp.tomsich@theobroma-systems.com> | |
6050 | ||
6051 | * config/aarch64/aarch64.c (aarch64_rtx_costs): Improve costing | |
6052 | for SET RTX. | |
6053 | ||
7fc5ef02 JG |
6054 | 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com> |
6055 | ||
6056 | * config/aarch64/aarch64.c (aarch64_rtx_costs): Set default costs. | |
6057 | ||
4745e701 JG |
6058 | 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com> |
6059 | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | |
6060 | ||
6061 | * config/aarch64/aarch64.c (aarch64_strip_shift_or_extend): Rename | |
6062 | to... | |
6063 | (aarch64_strip_extend): ...this, don't strip shifts, check RTX is | |
6064 | well formed. | |
6065 | (aarch64_rtx_mult_cost): New. | |
6066 | (aarch64_rtx_costs): Use it, refactor as appropriate. | |
6067 | ||
9dfc162c JG |
6068 | 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com> |
6069 | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | |
6070 | ||
6071 | * config/aarch64/aarch64.c (aarch64_build_constant): Conditionally | |
6072 | emit instructions, return number of instructions which would | |
6073 | be emitted. | |
6074 | (aarch64_add_constant): Update call to aarch64_build_constant. | |
6075 | (aarch64_output_mi_thunk): Likewise. | |
6b8ebd00 | 6076 | (aarch64_rtx_costs): Estimate cost of a CONST_INT, cost of |
9dfc162c JG |
6077 | a CONST_DOUBLE. |
6078 | ||
0ee859b5 JG |
6079 | 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com> |
6080 | ||
6081 | * config/aarch64/aarch64.c (aarch64_rtx_costs_wrapper): New. | |
6082 | (TARGET_RTX_COSTS): Call it. | |
6083 | ||
60bff090 JG |
6084 | 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com> |
6085 | ||
6086 | * config/aarch64/aarch64.c (cortexa57_addrcost_table): New. | |
6087 | (cortexa57_vector_cost): Likewise. | |
6088 | (cortexa57_tunings): Use them. | |
6089 | ||
67747367 JG |
6090 | 2014-05-16 James Greenhalgh <james.greenhalgh@arm.com> |
6091 | ||
6092 | * config/aarch64/aarch64-protos.h (scale_addr_mode_cost): New. | |
6093 | (cpu_addrcost_table): Use it. | |
6094 | * config/aarch64/aarch64.c (generic_addrcost_table): Initialize it. | |
6095 | (aarch64_address_cost): Rewrite using aarch64_classify_address, | |
6096 | move it. | |
6097 | ||
a764d660 RB |
6098 | 2014-05-16 Richard Biener <rguenther@suse.de> |
6099 | ||
6100 | * tree-ssa-sccvn.c: Include tree-cfg.h and domwalk.h. | |
6101 | (set_ssa_val_to): Handle unexpected sets to VN_TOP. | |
6102 | (visit_phi): Ignore edges marked as not executable. | |
6103 | (class cond_dom_walker): New. | |
6104 | (cond_dom_walker::before_dom_children): Value-number | |
6105 | control statements and mark successor edges as not | |
6106 | executable if possible. | |
6107 | (run_scc_vn): First walk all control statements in | |
6108 | dominator order, marking edges as not executable. | |
6109 | * tree-inline.c (copy_edges_for_bb): Be not confused | |
6110 | about random edge flags. | |
6111 | ||
a27c3860 RB |
6112 | 2014-05-16 Richard Biener <rguenther@suse.de> |
6113 | ||
6114 | * tree-ssa-sccvn.c (visit_use): Also constant-fold calls. | |
6115 | ||
d8c55b91 PB |
6116 | 2014-05-15 Peter Bergner <bergner@vnet.ibm.com> |
6117 | ||
6118 | PR target/61193 | |
6119 | * config/rs6000/htmxlintrin.h (_HTM_TBEGIN_STARTED): New define. | |
6120 | (__TM_simple_begin): Use it. | |
6121 | (__TM_begin): Likewise. | |
6122 | ||
8a2256dd MJ |
6123 | 2014-05-15 Martin Jambor <mjambor@suse.cz> |
6124 | ||
6125 | PR ipa/61085 | |
6126 | * ipa-prop.c (update_indirect_edges_after_inlining): Check | |
6127 | type_preserved flag when the indirect edge is polymorphic. | |
6128 | ||
9d2681a3 MJ |
6129 | 2014-05-15 Martin Jambor <mjambor@suse.cz> |
6130 | ||
6131 | PR tree-optimization/61090 | |
6132 | * tree-sra.c (sra_modify_expr): Pass the current gsi to | |
6133 | build_ref_for_model. | |
6134 | ||
927450d0 KT |
6135 | 2014-05-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
6136 | ||
6137 | * config/arm/arm.c (arm_option_override): Use the SCHED_PRESSURE_MODEL | |
6138 | enum name for PARAM_SCHED_PRESSURE_ALGORITHM. | |
6139 | ||
ceed6e67 JJ |
6140 | 2014-05-15 Jakub Jelinek <jakub@redhat.com> |
6141 | ||
6142 | PR tree-optimization/61158 | |
6143 | * fold-const.c (fold_binary_loc): If X is zero-extended and | |
6144 | shiftc >= prec, make sure zerobits is all ones instead of | |
6145 | invoking undefined behavior. | |
6146 | ||
a2e6c10c ZC |
6147 | 2014-05-15 Zhenqiang Chen <zhenqiang.chen@linaro.org> |
6148 | ||
6149 | * regcprop.h: New file. | |
6150 | * regcprop.c (skip_debug_insn_p): New decl. | |
6151 | (replace_oldest_value_reg): Check skip_debug_insn_p. | |
ceed6e67 JJ |
6152 | (copyprop_hardreg_forward_bb_without_debug_insn): New function. |
6153 | * shrink-wrap.c: Include regcprop.h. | |
6154 | (prepare_shrink_wrap): Call | |
6155 | copyprop_hardreg_forward_bb_without_debug_insn. | |
a2e6c10c | 6156 | |
e974b93b ZC |
6157 | 2014-05-15 Zhenqiang Chen <zhenqiang.chen@linaro.org> |
6158 | ||
6159 | * shrink-wrap.h: Update comment. | |
6160 | * shrink-wrap.c: Update comment. | |
6161 | (next_block_for_reg): Rename to live_edge_for_reg. | |
6162 | (live_edge_for_reg): Allow live_edge->dest has two predecessors. | |
6163 | (move_insn_for_shrink_wrap): Split live_edge. | |
6164 | (prepre_shrink_wrap): One more parameter for move_insn_for_shrink_wrap. | |
6165 | ||
88fe5e91 EB |
6166 | 2014-05-14 Eric Botcazou <ebotcazou@adacore.com> |
6167 | ||
6168 | * config/sparc/sparc-protos.h (sparc_absnegfloat_split_legitimate): | |
6169 | Delete. | |
6170 | * config/sparc/sparc.c (sparc_absnegfloat_split_legitimate): Likewise. | |
6171 | * config/sparc/sparc.md (fptype_ut699): New attribute. | |
6172 | (in_branch_delay): Return false if -mfix-ut699 is specified and | |
6173 | fptype_ut699 is set to single. | |
6174 | (truncdfsf2): Add fptype_ut699 attribute. | |
6175 | (fix_truncdfsi2): Likewise. | |
6176 | (floatsisf2): Change fptype attribute. | |
6177 | (fix_truncsfsi2): Likewise. | |
6178 | (negtf2_notv9): Delete. | |
6179 | (negtf2_v9): Likewise. | |
6180 | (negtf2_hq): New instruction. | |
6181 | (negtf2): New instruction and splitter. | |
6182 | (negdf2_notv9): Rewrite. | |
6183 | (abstf2_notv9): Delete. | |
6184 | (abstf2_hq_v9): Likewise. | |
6185 | (abstf2_v9): Likewise. | |
6186 | (abstf2_hq): New instruction. | |
6187 | (abstf2): New instruction and splitter. | |
6188 | (absdf2_notv9): Rewrite. | |
6189 | ||
bc91b0e0 CC |
6190 | 2014-05-14 Cary Coutant <ccoutant@google.com> |
6191 | ||
6b8ebd00 | 6192 | PR debug/61013 |
bc91b0e0 CC |
6193 | * opts.c (common_handle_option): Don't special-case "-g". |
6194 | (set_debug_level): Default to at least level 2 with "-g". | |
6195 | ||
5f35dde5 DD |
6196 | 2014-05-14 DJ Delorie <dj@redhat.com> |
6197 | ||
6198 | * config/msp430/msp430.c (msp430_builtin): Add | |
6199 | MSP430_BUILTIN_DELAY_CYCLES. | |
6200 | (msp430_init_builtins): Register void __delay_cycles(long long). | |
6201 | (msp430_builtin_decl): Add it. | |
6202 | (cg_magic_constant): New. | |
6203 | (msp430_expand_delay_cycles): New. | |
6204 | (msp430_expand_builtin): Call it. | |
6205 | (msp430_print_operand_raw): Change integer printing from "int" to | |
6206 | HOST_WIDE_INT. | |
6207 | * config/msp430/msp430.md (define_constants): Add delay_cycles tags. | |
6208 | (delay_cycles_start): New. | |
6209 | (delay_cycles_end): New. | |
6210 | (delay_cycles_32): New. | |
6211 | (delay_cycles_32x): New. | |
6212 | (delay_cycles_16): New. | |
6213 | (delay_cycles_16x): New. | |
6214 | (delay_cycles_2): New. | |
6215 | (delay_cycles_1): New. | |
6216 | * doc/extend.texi: Document __delay_cycles(). | |
6217 | ||
5d40b20f SL |
6218 | 2014-05-14 Sandra Loosemore <sandra@codesourcery.com> |
6219 | ||
6220 | * config/nios2/nios2.md (nios2_cbranch): Fix paste-o in | |
6221 | length attribute computation. | |
6222 | ||
25109109 RS |
6223 | 2014-05-14 Richard Sandiford <rdsandiford@googlemail.com> |
6224 | ||
6225 | PR debug/61188 | |
6226 | * print-rtl.c (print_rtx): Suppress uids if flag_dump_unnumbered. | |
6227 | ||
7e7e4032 RS |
6228 | 2014-05-14 Richard Sandiford <r.sandiford@uk.ibm.com> |
6229 | ||
6230 | PR target/61084 | |
6231 | * config/sparc/sparc.md: Fix types of low and high in DI constant | |
6232 | splitter. Use gen_int_mode in some other splitters. | |
6233 | ||
70d6d5c1 MJ |
6234 | 2014-05-14 Martin Jambor <mjambor@suse.cz> |
6235 | ||
6236 | PR ipa/60897 | |
6237 | * ipa-prop.c (ipa_modify_formal_parameters): Reset DECL_LANG_SPECIFIC. | |
6238 | ||
23b02de3 JN |
6239 | 2014-05-14 James Norris <jnorris@codesourcery.com> |
6240 | ||
6241 | * omp-low.c (expand_parallel_call): Remove shadow variable. | |
6242 | (expand_omp_taskreg): Likewise. | |
6243 | ||
9cdea277 IT |
6244 | 2014-05-14 Ilya Tocar <ilya.tocar@intel.com> |
6245 | ||
6246 | * common/config/i386/i386-common.c | |
6247 | (OPTION_MASK_ISA_CLFLUSHOPT_SET): Define. | |
6248 | (OPTION_MASK_ISA_XSAVES_SET): Ditto. | |
6249 | (OPTION_MASK_ISA_XSAVEC_SET): Ditto. | |
6250 | (OPTION_MASK_ISA_CLFLUSHOPT_UNSET): Ditto. | |
6251 | (OPTION_MASK_ISA_XSAVES_UNSET): Ditto. | |
6252 | (OPTION_MASK_ISA_XSAVEC_UNSET): Ditto. | |
6b8ebd00 | 6253 | (ix86_handle_option): Handle OPT_mxsavec, OPT_mxsaves, OPT_mclflushopt. |
9cdea277 IT |
6254 | * config.gcc (i[34567]86-*-*): Add clflushoptintrin.h, |
6255 | xsavecintrin.h, xsavesintrin.h. | |
6256 | (x86_64-*-*): Ditto. | |
6257 | * config/i386/clflushoptintrin.h: New. | |
6258 | * config/i386/xsavecintrin.h: Ditto. | |
6259 | * config/i386/xsavesintrin.h: Ditto. | |
6260 | * config/i386/cpuid.h (bit_CLFLUSHOPT): Define. | |
6261 | (bit_XSAVES): Ditto. | |
6262 | (bit_XSAVES): Ditto. | |
6263 | * config/i386/driver-i386.c (host_detect_local_cpu): Handle | |
6264 | -mclflushopt, -mxsavec, -mxsaves, -mno-xsaves, -mno-xsavec, | |
6265 | -mno-clflushopt. | |
6266 | * config/i386/i386-c.c (ix86_target_macros_internal): Handle | |
6267 | OPTION_MASK_ISA_CLFLUSHOPT, OPTION_MASK_ISA_XSAVEC, | |
6268 | OPTION_MASK_ISA_XSAVES. | |
6269 | * config/i386/i386.c (ix86_target_string): Handle -mclflushopt, | |
6270 | -mxsavec, -mxsaves. | |
6271 | (PTA_CLFLUSHOPT) Define. | |
6272 | (PTA_XSAVEC): Ditto. | |
6273 | (PTA_XSAVES): Ditto. | |
6274 | (ix86_option_override_internal): Handle new options. | |
6275 | (ix86_valid_target_attribute_inner_p): Ditto. | |
6276 | (ix86_builtins): Add IX86_BUILTIN_XSAVEC, IX86_BUILTIN_XSAVEC64, | |
6277 | IX86_BUILTIN_XSAVES, IX86_BUILTIN_XRSTORS, IX86_BUILTIN_XSAVES64, | |
6278 | IX86_BUILTIN_XRSTORS64, IX86_BUILTIN_CLFLUSHOPT. | |
6b8ebd00 UB |
6279 | (bdesc_special_args): Add __builtin_ia32_xsaves, |
6280 | __builtin_ia32_xrstors, __builtin_ia32_xsavec, __builtin_ia32_xsaves64, | |
6281 | __builtin_ia32_xrstors64, __builtin_ia32_xsavec64. | |
9cdea277 IT |
6282 | (ix86_init_mmx_sse_builtins): Add __builtin_ia32_clflushopt. |
6283 | (ix86_expand_builtin): Handle new builtins. | |
6284 | * config/i386/i386.h (TARGET_CLFLUSHOPT) Define. | |
6285 | (TARGET_CLFLUSHOPT_P): Ditto. | |
6286 | (TARGET_XSAVEC): Ditto. | |
6287 | (TARGET_XSAVEC_P): Ditto. | |
6288 | (TARGET_XSAVES): Ditto. | |
6289 | (TARGET_XSAVES_P): Ditto. | |
6290 | * config/i386/i386.md (ANY_XSAVE): Add UNSPECV_XSAVEC, UNSPECV_XSAVES. | |
6291 | (ANY_XSAVE64)" Add UNSPECV_XSAVEC64, UNSPECV_XSAVES64. | |
6292 | (attr xsave): Add xsavec, xsavec64, xsaves, xsaves64. | |
6293 | (ANY_XRSTOR): New. | |
6294 | (ANY_XRSTOR64): Ditto. | |
6295 | (xrstor): Ditto. | |
6296 | (xrstor): Change into <xrstor>. | |
6297 | (xrstor_rex64): Change into <xrstor>_rex64. | |
6298 | (xrstor64): Change into <xrstor>64 | |
6299 | (clflushopt): New. | |
6300 | * config/i386/i386.opt (mclflushopt): New. | |
6301 | (mxsavec): Ditto. | |
6302 | (mxsaves): Ditto. | |
6303 | * config/i386/x86intrin.h: Add clflushoptintrin.h, xsavesintrin.h, | |
6304 | xsavecintrin.h. | |
6305 | * doc/invoke.texi: Document new options. | |
6306 | ||
92e265ac AB |
6307 | 2014-05-14 Andrey Belevantsev <abel@ispras.ru> |
6308 | ||
6309 | PR rtl-optimization/60866 | |
6310 | * sel-sched-ir (sel_init_new_insn): New parameter old_seqno. | |
6311 | Default it to -1. Pass it down to init_simplejump_data. | |
6312 | (init_simplejump_data): New parameter old_seqno. Pass it down | |
6313 | to get_seqno_for_a_jump. | |
6314 | (get_seqno_for_a_jump): New parameter old_seqno. Use it for | |
6315 | initializing new jump seqno as a last resort. Add comment. | |
6316 | (sel_redirect_edge_and_branch): Save old seqno of the conditional | |
6317 | jump and pass it down to sel_init_new_insn. | |
6318 | (sel_redirect_edge_and_branch_force): Likewise. | |
6319 | ||
fa96aa45 GJL |
6320 | 2014-05-14 Georg-Johann Lay <avr@gjlay.de> |
6321 | ||
6322 | * config/avr/avr.h (REG_CLASS_CONTENTS): Use unsigned suffix for | |
6323 | shifted values to avoid build warning. | |
6324 | ||
8a829274 EB |
6325 | 2014-05-14 Eric Botcazou <ebotcazou@adacore.com> |
6326 | ||
6327 | * cfgcleanup.c (try_forward_edges): Use location_t for locations. | |
6328 | * cfgrtl.c (rtl_merge_blocks): Fix comment. | |
6329 | (cfg_layout_merge_blocks): Likewise. | |
6330 | * except.c (emit_to_new_bb_before): Remove prev_bb local variable. | |
6331 | ||
11290308 AB |
6332 | 2014-05-14 Andrey Belevantsev <abel@ispras.ru> |
6333 | ||
6334 | PR rtl-optimization/60901 | |
6335 | * config/i386/i386.c (ix86_dependencies_evaluation_hook): Check that | |
6336 | bb predecessor belongs to the same scheduling region. Adjust comment. | |
6337 | ||
f4853e92 PB |
6338 | 2014-05-13 Peter Bergner <bergner@vnet.ibm.com> |
6339 | ||
6340 | * doc/sourcebuild.texi: (dfp_hw): Document. | |
6341 | (p8vector_hw): Likewise. | |
6342 | (powerpc_eabi_ok): Likewise. | |
6343 | (powerpc_elfv2): Likewise. | |
6344 | (powerpc_htm_ok): Likewise. | |
6345 | (ppc_recip_hw): Likewise. | |
6346 | (vsx_hw): Likewise. | |
6347 | ||
bd5c3baa CC |
6348 | 2014-05-13 Cary Coutant <ccoutant@google.com> |
6349 | ||
6350 | * opts.c (finish_options): Use -ggnu-pubnames with -gsplit-dwarf. | |
6351 | ||
9aa54cc9 DM |
6352 | 2014-05-13 David Malcolm <dmalcolm@redhat.com> |
6353 | ||
6354 | * gengtype-parse.c (require3): Eliminate in favor of... | |
6355 | (require4): New. | |
6356 | (require_template_declaration): Update to support optional single * | |
6357 | on a type. | |
6358 | ||
6359 | * gengtype.c (get_ultimate_base_class): Add a non-const overload. | |
6360 | (create_user_defined_type): Handle a single level of explicit | |
6361 | pointerness within template arguments. | |
6362 | (struct write_types_data): Add field "kind". | |
6363 | (filter_type_name): Handle "*" character. | |
6364 | (write_user_func_for_structure_ptr): Require a write_types_data | |
6365 | rather than just a prefix string, so that we can look up the kind | |
6366 | of the wtd and use it as an index into wrote_user_func_for_ptr, | |
6367 | ensuring that such functions are written at most once. Support | |
6b8ebd00 | 6368 | subclasses by invoking the marking function of the ultimate base class. |
9aa54cc9 DM |
6369 | (write_user_func_for_structure_body): Require a write_types_data |
6370 | rather than just a prefix string, so that we can pass this to | |
6371 | write_user_func_for_structure_ptr. | |
6372 | (write_func_for_structure): Likewise. | |
6373 | (ggc_wtd): Add initializer of new "kind" field. | |
6374 | (pch_wtd): Likewise. | |
6375 | ||
6376 | * gengtype.h (enum write_types_kinds): New. | |
6377 | (struct type): Add field wrote_user_func_for_ptr to the "s" | |
6378 | union member. | |
6379 | ||
5c0f009c RS |
6380 | 2014-05-13 Richard Sandiford <r.sandiford@uk.ibm.com> |
6381 | ||
6382 | * fold-const.c (optimize_bit_field_compare): Use wi:: operations | |
6383 | instead of const_binop. | |
6384 | (fold_binary_loc): Likewise. | |
6385 | ||
460d1e22 RS |
6386 | 2014-05-13 Richard Sandiford <r.sandiford@uk.ibm.com> |
6387 | ||
6388 | * tree-dfa.h (get_addr_base_and_unit_offset_1): Update array index | |
6389 | calculation to match get_ref_base_and_extent. | |
6390 | ||
1e1f96b5 CM |
6391 | 2014-05-13 Catherine Moore <clm@codesourcery.com> |
6392 | Sandra Loosemore <sandra@codesourcery.com> | |
6393 | ||
6394 | * configure.ac: Fix assembly for explicit JALR relocation check. | |
6395 | * configure: Regenerate. | |
6396 | ||
411f86ad KT |
6397 | 2014-05-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
6398 | ||
6399 | * config/arm/arm.c (neon_itype): Remove NEON_RESULTPAIR. | |
6400 | (arm_init_neon_builtins): Remove handling of NEON_RESULTPAIR. | |
6401 | Remove associated type declarations and initialisations. | |
6402 | (arm_expand_neon_builtin): Likewise. | |
6403 | (neon_emit_pair_result_insn): Delete. | |
6404 | * config/arm/arm_neon_builtins (vtrn, vzip, vuzp): Delete. | |
6405 | * config/arm/neon.md (neon_vtrn<mode>): Delete. | |
6406 | (neon_vzip<mode>): Likewise. | |
6407 | (neon_vuzp<mode>): Likewise. | |
6408 | ||
6b77934e RB |
6409 | 2014-05-13 Richard Biener <rguenther@suse.de> |
6410 | ||
6411 | PR ipa/60973 | |
6412 | * tree-inline.c (remap_gimple_stmt): Clear tail call flag, | |
6413 | it needs revisiting whether the call still may be tail-called. | |
6414 | ||
da3cd113 RS |
6415 | 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com> |
6416 | ||
6417 | * rtl.def (SYMBOL_REF): Remove middle "0" field. | |
6418 | * rtl.h (block_symbol): Reduce number of fields to 2. | |
6419 | (rtx_def): Add u2.symbol_ref_flags. | |
6420 | (SYMBOL_REF_FLAGS): Use it. | |
6421 | (SYMBOL_REF_DATA, SET_SYMBOL_REF_DECL, SYMBOL_REF_DECL) | |
6422 | (SET_SYMBOL_REF_CONSTANT, SYMBOL_REF_CONSTANT): Lower index. | |
6423 | * gengtype.c (adjust_field_rtx_def): Remove SYMBOL_REF_FLAGS handling. | |
6424 | Lower index of SYMBOL_REF_DATA. | |
6425 | * print-rtl.c (print_rtx): Lower index for SYMBOL_REF_DATA. | |
6426 | Print SYMBOL_REF_FLAGS at the same time. | |
6427 | * genattrtab.c (attr_rtx_1): Only initialize 1 "0" SYMBOL_REF field. | |
6428 | ||
fcc74520 RS |
6429 | 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com> |
6430 | ||
6431 | * rtl.def (VAR_LOCATION): Remove "i" field. | |
6432 | * rtl.h (rtx_def): Add u2.var_location_status. | |
6433 | (PAT_VAR_LOCATION_STATUS): Use it. | |
6434 | (gen_rtx_VAR_LOCATION): Declare. | |
6435 | * gengenrtl.c (excluded_rtx): Add VAR_LOCATION. | |
6436 | * emit-rtl.c (gen_rtx_VAR_LOCATION): New function. | |
6437 | * var-tracking.c (emit_note_insn_var_location): Remove casts. | |
6438 | ||
feb09dd9 RS |
6439 | 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com> |
6440 | ||
6441 | * rtl.def (scratch): Fix outdated comment and remove "0" field. | |
6442 | * gengtype.c (adjust_field_rtx_def): Update accordingly. | |
6443 | ||
ed8921dc RS |
6444 | 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com> |
6445 | ||
6446 | * rtl.def (DEBUG_INSN, INSN, JUMP_INSN, CALL_INSN, JUMP_TABLE_DATA) | |
6447 | (BARRIER, CODE_LABEL, NOTE): Remove first "i" field. | |
6448 | * rtl.h (rtx_def): Add insn_uid to u2 field. | |
6449 | (RTX_FLAG_CHECK8): Delete in favor of... | |
6450 | (RTL_INSN_CHAIN_FLAG_CHECK): ...this new macro. | |
6451 | (INSN_DELETED_P): Update accordingly. | |
6452 | (INSN_UID): Use u2.insn_uid. | |
6453 | (INSN_CHAIN_CODE_P): Define. | |
6454 | (PREV_INSN, NEXT_INSN, BLOCK_FOR_INSN, PATTERN, INSN_LOCATION) | |
6455 | (INSN_CODE, REG_NOTES, CALL_INSN_FUNCTION_USAGE, CODE_LABEL_NUMBER) | |
6456 | (NOTE_DATA, NOTE_DELETED_LABEL_NAME, NOTE_BLOCK, NOTE_EH_HANDLER) | |
6457 | (NOTE_BASIC_BLOCK, NOTE_VAR_LOCATION, NOTE_CFI, NOTE_LABEL_NUMBER) | |
6458 | (NOTE_KIND, LABEL_NAME, LABEL_NUSES, JUMP_LABEL, LABEL_REFS): Lower | |
6459 | indices accordingly. | |
6460 | * print-rtl.c (print_rtx): Print INSN_UIDs before the main loop. | |
6461 | Update indices for insn-chain rtxes. | |
6462 | * gengtype.c (gen_rtx_next): Adjust test for insn-chain rtxes. | |
6463 | (adjust_field_rtx_def): Lower '0' indices for all insn-chain rtxes. | |
6464 | * emit-rtl.c (gen_label_rtx): Update gen_rtx_LABEL call. | |
6465 | * caller-save.c (init_caller_save): Update gen_rtx_INSN calls. | |
6466 | * combine.c (try_combine): Likewise. | |
6467 | * ira.c (setup_prohibited_mode_move_regs): Likewise. | |
6468 | ||
fccc5515 RS |
6469 | 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com> |
6470 | ||
6471 | * rtl.def (REG): Remove middle field. | |
6472 | * rtl.h (rtx_def): Add orignal_regno to u2. | |
6473 | (ORIGINAL_REGNO): Use it instead of field 1. | |
6474 | (REG_ATTRS): Lower field index accordingly. | |
6475 | * gengtype.c (adjust_field_rtx_def): Remove handling of | |
6476 | ORIGINAL_REGNO. Move REG_ATTRS index down. | |
6477 | * print-rtl.c (print_rtx): Move ORIGINAL_REGNO handling to the | |
6478 | code that prints the REGNO. | |
6479 | ||
925c1bae RS |
6480 | 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com> |
6481 | ||
6482 | * print-rtl.c (print_rtx): Guard whole '0' block with ifndef | |
6483 | GENERATOR_FILE. | |
6484 | ||
13b0c5ac RS |
6485 | 2014-05-13 Richard Sandiford <rdsandiford@googlemail.com> |
6486 | ||
6487 | * rtl.h (rtx_def): Mark u2 as GTY ((skip)). | |
6488 | ||
be9a0da5 BC |
6489 | 2014-05-13 Bin Cheng <bin.cheng@arm.com> |
6490 | ||
6491 | * tree-ssa-loop-ivopts.c (contain_complex_addr_expr): New. | |
6492 | (alloc_iv): Lower base expressions containing ADDR_EXPR. | |
6493 | ||
73d9ac6a IB |
6494 | 2014-05-13 Ian Bolton <ian.bolton@arm.com> |
6495 | ||
6496 | * config/aarch64/aarch64-protos.h | |
6497 | (aarch64_hard_regno_caller_save_mode): New prototype. | |
6498 | * config/aarch64/aarch64.c (aarch64_hard_regno_caller_save_mode): | |
6499 | New function. | |
6500 | * config/aarch64/aarch64.h (HARD_REGNO_CALLER_SAVE_MODE): New macro. | |
6501 | ||
06b90602 CB |
6502 | 2014-05-13 Christian Bruel <christian.bruel@st.com> |
6503 | ||
6504 | * target.def (mode_switching): New hook vector. | |
6505 | (mode_emit, mode_needed, mode_after, mode_entry): New hooks. | |
6506 | (mode_exit, modepriority_to_mode): Likewise. | |
6507 | * mode-switching.c (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Hookify. | |
6508 | (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise. | |
06b90602 CB |
6509 | * target.h: Include tm.h and hard-reg-set.h. |
6510 | * doc/tm.texi.in (EMIT_MODE_SET, MODE_NEEDED, MODE_AFTER, MODE_ENTRY) | |
6511 | (MODE_EXIT, MODE_PRIORITY_TO_MODE): Delete and hookify. | |
6512 | * doc/tm.texi Regenerate. | |
6513 | * config/sh/sh.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Delete | |
6514 | (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise. | |
6515 | * config/sh/sh.c (sh_emit_mode_set, sh_mode_priority): Hookify. | |
6516 | (sh_mode_needed, sh_mode_after, sh_mode_entry, sh_mode_exit): Likewise. | |
6517 | * config/i386/i386.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): Delete | |
6518 | (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise. | |
6519 | * config/i386/i386-protos.h (ix86_mode_needed, ix86_mode_after) | |
6520 | (ix86_mode_entrym, ix86_emit_mode_set): Remove external declaration. | |
6b8ebd00 UB |
6521 | * config/i386/i386.c (ix86_mode_needed, ix86_mode_after, |
6522 | (ix86_mode_exit, ix86_mode_entry, ix86_mode_priority) | |
6523 | (ix86_emit_mode_set): Hookify. | |
06b90602 | 6524 | * config/epiphany/epiphany.h (MODE_NEEDED, MODE_AFTER, MODE_ENTRY): |
6b8ebd00 | 6525 | Delete. |
06b90602 | 6526 | (MODE_EXIT, MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise. |
06b90602 CB |
6527 | * config/epiphany/epiphany-protos.h (epiphany_mode_needed) |
6528 | (emit_set_fp_mode, epiphany_mode_entry_exit, epiphany_mode_after) | |
6529 | (epiphany_mode_priority_to_mode): Remove declaration. | |
6530 | * config/epiphany/epiphany.c (emit_set_fp_mode): Hookify. | |
6531 | (epiphany_mode_needed, epiphany_mode_priority_to_mode): Likewise. | |
6532 | (epiphany_mode_entry, epiphany_mode_exit, epiphany_mode_after): | |
6533 | Likewise. | |
6b8ebd00 | 6534 | (epiphany_mode_priority_to_mode): Change priority type. Hookify. |
06b90602 CB |
6535 | (epiphany_mode_needed, epiphany_mode_entry_exit): Hookify. |
6536 | (epiphany_mode_after, epiphany_mode_entry, emit_set_fp_mode): Hookify. | |
6537 | ||
455464ab JJ |
6538 | 2014-05-13 Jakub Jelinek <jakub@redhat.com> |
6539 | ||
6540 | PR target/61060 | |
6541 | * config/i386/i386.c (ix86_expand_set_or_movmem): If count_exp | |
6542 | is const0_rtx, return immediately. Don't test count == 0 when | |
6543 | it is always true. | |
6544 | ||
f30e25a3 ZC |
6545 | 2014-05-13 Zhenqiang Chen <zhenqiang.chen@linaro.org> |
6546 | ||
6547 | * Makefile.in: add shrink-wrap.o. | |
6548 | * config/i386/i386.c: include "shrink-wrap.h" | |
6549 | * function.c: Likewise. | |
6550 | (requires_stack_frame_p, next_block_for_reg, | |
6551 | move_insn_for_shrink_wrap, prepare_shrink_wrap, | |
6552 | dup_block_and_redirect): Move to shrink-wrap.c | |
6553 | (thread_prologue_and_epilogue_insns): Extract three code segments | |
6554 | as functions in shrink-wrap.c | |
6555 | * function.h: Move #ifdef HAVE_simple_return ... #endif block to | |
6556 | shrink-wrap.h | |
6557 | * shrink-wrap.c: New file. | |
6558 | * shrink-wrap.h: New file. | |
6559 | ||
f95c6a78 DW |
6560 | 2014-05-12 David Wohlferd <dw@LimeGreenSocks.com> |
6561 | ||
6562 | * doc/extend.texi: Reflect current numbers of pragmas. Remove | |
6563 | reference to Solaris. | |
6564 | ||
77a1da2c MS |
6565 | 2014-05-12 Mike Stump <mikestump@comcast.net> |
6566 | ||
6567 | PR other/31778 | |
6568 | * genattrtab.c (filename): Add. | |
6569 | (convert_set_attr_alternative): Improve error message. | |
6570 | (check_defs): Restore read_md_filename for error messages. | |
6571 | (gen_insn): Save filename. | |
6572 | ||
dff8943f DP |
6573 | 2014-05-12 Dimitris Papavasiliou <dpapavas@gmail.com> |
6574 | ||
6575 | * doc/invoke.texi: Document new switches -Wno-shadow-ivar, | |
6576 | -fno-local-ivars and -fivar-visibility. | |
6577 | * c-family/c.opt: Make -Wshadow also implicitly enable | |
6578 | -Wshadow-ivar. | |
6579 | ||
6b8ebd00 | 6580 | 2014-05-12 David Wohlferd <dw@LimeGreenSocks.com> |
3842015e DW |
6581 | |
6582 | * doc/tm.texi: Remove reference to deleted macro. | |
6583 | * doc/tm.texi.in: Likewise. | |
6584 | ||
079f1420 SKS |
6585 | 2014-05-12 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
6586 | ||
6587 | PR target/60991 | |
6588 | * config/avr/avr.c (avr_out_store_psi): Use correct constant | |
6589 | to restore Y. | |
6590 | ||
999db125 GJL |
6591 | 2014-05-12 Georg-Johann Lay <avr@gjlay.de> |
6592 | ||
a5024e01 | 6593 | PR libgcc/61152 |
999db125 GJL |
6594 | * config/arm/arm.h (License): Add GCC Runtime Library Exception. |
6595 | * config/arm/aout.h (License): Same. | |
6596 | * config/arm/bpabi.h (License): Same. | |
6597 | * config/arm/elf.h (License): Same. | |
6598 | * config/arm/linux-elf.h (License): Same. | |
6599 | * config/arm/linux-gas.h (License): Same. | |
6600 | * config/arm/netbsd-elf.h (License): Same. | |
6601 | * config/arm/uclinux-eabi.h (License): Same. | |
6602 | * config/arm/uclinux-elf.h (License): Same. | |
6603 | * config/arm/vxworks.h (License): Same. | |
6604 | ||
dd2fc525 JJ |
6605 | 2014-05-11 Jakub Jelinek <jakub@redhat.com> |
6606 | ||
6607 | * tree.h (OMP_CLAUSE_LINEAR_STMT): Define. | |
6608 | * tree.c (omp_clause_num_ops): Increase OMP_CLAUSE_LINEAR | |
6609 | number of operands to 3. | |
6610 | (walk_tree_1): Walk all operands of OMP_CLAUSE_LINEAR. | |
6611 | * tree-nested.c (convert_nonlocal_omp_clauses, | |
6612 | convert_local_omp_clauses): Handle OMP_CLAUSE_DEPEND. | |
6613 | * gimplify.c (gimplify_scan_omp_clauses): Handle | |
6614 | OMP_CLAUSE_LINEAR_STMT. | |
6615 | * omp-low.c (lower_rec_input_clauses): Fix typo. | |
6616 | (maybe_add_implicit_barrier_cancel, lower_omp_1): Add | |
6617 | cast between Fortran boolean_type_node and C _Bool if | |
6618 | needed. | |
6619 | ||
7588d8aa RS |
6620 | 2014-05-11 Richard Sandiford <rdsandiford@googlemail.com> |
6621 | ||
6622 | PR tree-optimization/61136 | |
6623 | * wide-int.h (multiple_of_p): Define a version that doesn't return | |
6624 | the quotient. | |
6625 | * fold-const.c (extract_muldiv_1): Use wi::multiple_of_p instead of an | |
6626 | integer_zerop/const_binop pair. | |
6627 | (multiple_of_p): Likewise, converting both operands to widest_int | |
6628 | precision. | |
6629 | ||
e7eee636 TJ |
6630 | 2014-05-09 Teresa Johnson <tejohnson@google.com> |
6631 | ||
6632 | * cgraphunit.c (analyze_functions): Use correct dump file. | |
6633 | ||
6545746e FW |
6634 | 2014-05-09 Florian Weimer <fweimer@redhat.com> |
6635 | ||
6636 | * cfgexpand.c (stack_protect_decl_p): New function, extracted from | |
6637 | expand_used_vars. | |
6638 | (stack_protect_return_slot_p): New function. | |
6639 | (expand_used_vars): Call stack_protect_decl_p and | |
6640 | stack_protect_return_slot_p for -fstack-protector-strong. | |
6641 | ||
2556511e DW |
6642 | 2014-05-09 David Wohlferd <LimeGreenSocks@yahoo.com> |
6643 | Andrew Haley <aph@redhat.com> | |
6644 | Richard Sandiford <rdsandiford@googlemail.com> | |
6645 | ||
6646 | * doc/extend.texi: Rewrite inline asm page / re-org asm-related | |
6647 | pages. | |
6648 | ||
971ed35d | 6649 | 2014-05-09 Kenneth Zadeck <zadeck@naturalbridge.com> |
b8d29c66 KZ |
6650 | |
6651 | PR middle-end/61111 | |
6652 | * fold-const.c (fold_binary_loc): Changed width of mask. | |
6653 | ||
c204f1b5 GJL |
6654 | 2014-05-09 Georg-Johann Lay <avr@gjlay.de> |
6655 | ||
6656 | * config/avr/avr-fixed.md (round<mode>3): Use -1U instead of -1 in | |
6657 | unsigned int initializers for regno_in, regno_out. | |
6658 | ||
b8469805 GJL |
6659 | 2014-05-09 Georg-Johann Lay <avr@gjlay.de> |
6660 | ||
6661 | PR target/61055 | |
6662 | * config/avr/avr.md (cc): Add new attribute set_vzn. | |
6663 | (addqi3, addqq3, adduqq3, subqi3, subqq3, subuqq3, negqi2) [cc]: | |
6664 | Set cc insn attribute to set_vzn instead of set_zn for alternatives | |
6665 | with INC, DEC or NEG. | |
6666 | * config/avr/avr.c (avr_notice_update_cc): Handle SET_VZN. | |
6667 | (avr_out_plus_1): ADIW sets cc0 to CC_SET_CZN. | |
6668 | INC, DEC and ADD+ADC set cc0 to CC_CLOBBER. | |
6669 | ||
9db25c6a RR |
6670 | 2014-05-09 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
6671 | ||
6672 | Revert: | |
6673 | 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
6674 | ||
6675 | * wide-int.cc (UTItype): Define. | |
6676 | (UDWtype): Define for appropriate W_TYPE_SIZE. | |
6677 | ||
ee3958cf RB |
6678 | 2014-05-09 Richard Biener <rguenther@suse.de> |
6679 | ||
6680 | * Makefile.in (GTFILES): Remove tree-ssa-propagate.c. | |
6681 | * tree-ssa-propagate.c: Do not include gt-tree-ssa-propagate.h. | |
6682 | (interesting_ssa_edges, varying_ssa_edges): Move out of GC space. | |
6683 | (add_ssa_edge, process_ssa_edge_worklist, ssa_prop_init, | |
6684 | ssa_propagate): Adjust. | |
6685 | ||
0600049c JL |
6686 | 2014-05-08 Jeff Law <law@redhat.com> |
6687 | ||
6688 | PR tree-optimization/61009 | |
6689 | * tree-ssa-threadedge.c (thread_through_normal_block): Return a | |
6690 | tri-state rather than a boolean. When a block is too big to | |
6691 | thread through, inform caller via negative return value. | |
6692 | (thread_across_edge): If a block was too big for normal threading, | |
6693 | then it's too big for a joiner too, so remove temporary equivalences | |
6694 | and return immediately. | |
6695 | ||
a82122df MK |
6696 | 2014-05-08 Manuel López-Ibáñez <manu@gcc.gnu.org> |
6697 | Matthias Klose <doko@ubuntu.com> | |
6698 | ||
6699 | PR driver/61106 | |
6700 | * optc-gen.awk: Fix option handling for -Wunused-parameter. | |
6701 | ||
30e494f1 UB |
6702 | 2014-05-08 Uros Bizjak <ubizjak@gmail.com> |
6703 | ||
6704 | PR target/59952 | |
6705 | * config/i386/i386.c (PTA_HASWELL): Remove PTA_RTM. | |
6706 | ||
b6db8af6 UB |
6707 | 2014-05-08 Uros Bizjak <ubizjak@gmail.com> |
6708 | ||
6709 | PR target/61092 | |
6710 | * config/alpha/alpha.c: Include gimple-iterator.h. | |
6711 | (alpha_gimple_fold_builtin): New function. Move | |
6712 | ALPHA_BUILTIN_UMULH folding from ... | |
6713 | (alpha_fold_builtin): ... here. | |
6714 | (TARGET_GIMPLE_FOLD_BUILTIN): New define. | |
6715 | ||
272325bd WM |
6716 | 2014-05-08 Wei Mi <wmi@google.com> |
6717 | ||
6718 | PR target/58066 | |
b6db8af6 UB |
6719 | * config/i386/i386.c (ix86_compute_frame_layout): Update |
6720 | preferred_stack_boundary for call, expanded from tls descriptor. | |
6721 | * config/i386/i386.md (*tls_global_dynamic_32_gnu): Update RTX | |
6722 | to depend on SP register. | |
272325bd WM |
6723 | (*tls_local_dynamic_base_32_gnu): Ditto. |
6724 | (*tls_local_dynamic_32_once): Ditto. | |
6725 | (tls_global_dynamic_64_<mode>): Set | |
6726 | ix86_tls_descriptor_calls_expanded_in_cfun. | |
6727 | (tls_local_dynamic_base_64_<mode>): Ditto. | |
6728 | (tls_global_dynamic_32): Set | |
6729 | ix86_tls_descriptor_calls_expanded_in_cfun. Update RTX | |
6730 | to depend on SP register. | |
6731 | (tls_local_dynamic_base_32): Ditto. | |
6732 | ||
e79cb1a3 RR |
6733 | 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
6734 | ||
6735 | * config/arm/arm_neon.h: Update comment. | |
6736 | * config/arm/neon-docgen.ml: Delete. | |
6737 | * config/arm/neon-gen.ml: Delete. | |
6738 | * doc/arm-neon-intrinsics.texi: Update comment. | |
6739 | ||
0d0b79a6 RR |
6740 | 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
6741 | ||
6742 | * config/arm/arm_neon_builtins.def (vadd, vsub): Only define the v2sf | |
6743 | and v4sf versions. | |
6744 | (vand, vorr, veor, vorn, vbic): Remove. | |
6745 | * config/arm/neon.md (neon_vadd, neon_vsub, neon_vadd_unspec): Adjust | |
6746 | iterator. | |
6747 | (neon_vsub_unspec): Likewise. | |
6748 | (neon_vorr, neon_vand, neon_vbic, neon_veor, neon_vorn): Remove. | |
6749 | ||
add0c111 RR |
6750 | 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
6751 | ||
6752 | * config/arm/arm_neon.h (vadd_s8): GNU C implementation | |
6753 | (vadd_s16): Likewise. | |
6754 | (vadd_s32): Likewise. | |
6755 | (vadd_f32): Likewise. | |
6756 | (vadd_u8): Likewise. | |
6757 | (vadd_u16): Likewise. | |
6758 | (vadd_u32): Likewise. | |
6759 | (vadd_s64): Likewise. | |
6760 | (vadd_u64): Likewise. | |
6761 | (vaddq_s8): Likewise. | |
6762 | (vaddq_s16): Likewise. | |
6763 | (vaddq_s32): Likewise. | |
6764 | (vaddq_s64): Likewise. | |
6765 | (vaddq_f32): Likewise. | |
6766 | (vaddq_u8): Likewise. | |
6767 | (vaddq_u16): Likewise. | |
6768 | (vaddq_u32): Likewise. | |
6769 | (vaddq_u64): Likewise. | |
6770 | (vmul_s8): Likewise. | |
6771 | (vmul_s16): Likewise. | |
6772 | (vmul_s32): Likewise. | |
6773 | (vmul_f32): Likewise. | |
6774 | (vmul_u8): Likewise. | |
6775 | (vmul_u16): Likewise. | |
6776 | (vmul_u32): Likewise. | |
6777 | (vmul_p8): Likewise. | |
6778 | (vmulq_s8): Likewise. | |
6779 | (vmulq_s16): Likewise. | |
6780 | (vmulq_s32): Likewise. | |
6781 | (vmulq_f32): Likewise. | |
6782 | (vmulq_u8): Likewise. | |
6783 | (vmulq_u16): Likewise. | |
6784 | (vmulq_u32): Likewise. | |
6785 | (vsub_s8): Likewise. | |
6786 | (vsub_s16): Likewise. | |
6787 | (vsub_s32): Likewise. | |
6788 | (vsub_f32): Likewise. | |
6789 | (vsub_u8): Likewise. | |
6790 | (vsub_u16): Likewise. | |
6791 | (vsub_u32): Likewise. | |
6792 | (vsub_s64): Likewise. | |
6793 | (vsub_u64): Likewise. | |
6794 | (vsubq_s8): Likewise. | |
6795 | (vsubq_s16): Likewise. | |
6796 | (vsubq_s32): Likewise. | |
6797 | (vsubq_s64): Likewise. | |
6798 | (vsubq_f32): Likewise. | |
6799 | (vsubq_u8): Likewise. | |
6800 | (vsubq_u16): Likewise. | |
6801 | (vsubq_u32): Likewise. | |
6802 | (vsubq_u64): Likewise. | |
6803 | (vand_s8): Likewise. | |
6804 | (vand_s16): Likewise. | |
6805 | (vand_s32): Likewise. | |
6806 | (vand_u8): Likewise. | |
6807 | (vand_u16): Likewise. | |
6808 | (vand_u32): Likewise. | |
6809 | (vand_s64): Likewise. | |
6810 | (vand_u64): Likewise. | |
6811 | (vandq_s8): Likewise. | |
6812 | (vandq_s16): Likewise. | |
6813 | (vandq_s32): Likewise. | |
6814 | (vandq_s64): Likewise. | |
6815 | (vandq_u8): Likewise. | |
6816 | (vandq_u16): Likewise. | |
6817 | (vandq_u32): Likewise. | |
6818 | (vandq_u64): Likewise. | |
6819 | (vorr_s8): Likewise. | |
6820 | (vorr_s16): Likewise. | |
6821 | (vorr_s32): Likewise. | |
6822 | (vorr_u8): Likewise. | |
6823 | (vorr_u16): Likewise. | |
6824 | (vorr_u32): Likewise. | |
6825 | (vorr_s64): Likewise. | |
6826 | (vorr_u64): Likewise. | |
6827 | (vorrq_s8): Likewise. | |
6828 | (vorrq_s16): Likewise. | |
6829 | (vorrq_s32): Likewise. | |
6830 | (vorrq_s64): Likewise. | |
6831 | (vorrq_u8): Likewise. | |
6832 | (vorrq_u16): Likewise. | |
6833 | (vorrq_u32): Likewise. | |
6834 | (vorrq_u64): Likewise. | |
6835 | (veor_s8): Likewise. | |
6836 | (veor_s16): Likewise. | |
6837 | (veor_s32): Likewise. | |
6838 | (veor_u8): Likewise. | |
6839 | (veor_u16): Likewise. | |
6840 | (veor_u32): Likewise. | |
6841 | (veor_s64): Likewise. | |
6842 | (veor_u64): Likewise. | |
6843 | (veorq_s8): Likewise. | |
6844 | (veorq_s16): Likewise. | |
6845 | (veorq_s32): Likewise. | |
6846 | (veorq_s64): Likewise. | |
6847 | (veorq_u8): Likewise. | |
6848 | (veorq_u16): Likewise. | |
6849 | (veorq_u32): Likewise. | |
6850 | (veorq_u64): Likewise. | |
6851 | (vbic_s8): Likewise. | |
6852 | (vbic_s16): Likewise. | |
6853 | (vbic_s32): Likewise. | |
6854 | (vbic_u8): Likewise. | |
6855 | (vbic_u16): Likewise. | |
6856 | (vbic_u32): Likewise. | |
6857 | (vbic_s64): Likewise. | |
6858 | (vbic_u64): Likewise. | |
6859 | (vbicq_s8): Likewise. | |
6860 | (vbicq_s16): Likewise. | |
6861 | (vbicq_s32): Likewise. | |
6862 | (vbicq_s64): Likewise. | |
6863 | (vbicq_u8): Likewise. | |
6864 | (vbicq_u16): Likewise. | |
6865 | (vbicq_u32): Likewise. | |
6866 | (vbicq_u64): Likewise. | |
6867 | (vorn_s8): Likewise. | |
6868 | (vorn_s16): Likewise. | |
6869 | (vorn_s32): Likewise. | |
6870 | (vorn_u8): Likewise. | |
6871 | (vorn_u16): Likewise. | |
6872 | (vorn_u32): Likewise. | |
6873 | (vorn_s64): Likewise. | |
6874 | (vorn_u64): Likewise. | |
6875 | (vornq_s8): Likewise. | |
6876 | (vornq_s16): Likewise. | |
6877 | (vornq_s32): Likewise. | |
6878 | (vornq_s64): Likewise. | |
6879 | (vornq_u8): Likewise. | |
6880 | (vornq_u16): Likewise. | |
6881 | (vornq_u32): Likewise. | |
6882 | (vornq_u64): Likewise. | |
6883 | ||
ca40fb28 RR |
6884 | 2014-05-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
6885 | ||
6886 | * wide-int.cc (UTItype): Define. | |
b6db8af6 | 6887 | (UDWtype): Define for appropriate W_TYPE_SIZE. |
ca40fb28 | 6888 | |
421bf780 MG |
6889 | 2014-05-08 Marc Glisse <marc.glisse@inria.fr> |
6890 | ||
6891 | PR tree-optimization/59100 | |
6892 | * tree-ssa-phiopt.c: Include tree-inline.h. | |
6893 | (neutral_element_p, absorbing_element_p): New functions. | |
6894 | (value_replacement): Handle conditional binary operations with a | |
6895 | neutral or absorbing element. | |
6896 | ||
a5eaec42 RB |
6897 | 2014-05-08 Richard Biener <rguenther@suse.de> |
6898 | ||
6899 | * tree-ssa-sccvn.c (vn_get_expr_for): Valueize operands before | |
6900 | folding the expression. | |
6901 | (valueize_expr): Remove. | |
6902 | (visit_reference_op_load): Do not valueize the result of | |
6903 | vn_get_expr_for. | |
6904 | (simplify_binary_expression): Likewise. | |
6905 | (simplify_unary_expression): Likewise. | |
6906 | ||
a96c6a62 RB |
6907 | 2014-05-08 Richard Biener <rguenther@suse.de> |
6908 | ||
6909 | * gimplify.c (gimplify_call_expr): Use saved fnptrtype for | |
6910 | looking at TYPE_ARG_TYPES. | |
6911 | ||
fb42e303 RB |
6912 | 2014-05-08 Richard Biener <rguenther@suse.de> |
6913 | ||
6914 | * gimple-fold.c (gimple_fold_stmt_to_constant_1): Remove | |
6915 | pointer propagation special-case. | |
6916 | ||
d1f1a283 BC |
6917 | 2014-05-08 Bin Cheng <bin.cheng@arm.com> |
6918 | ||
6919 | * tree-affine.c (tree_to_aff_combination): Handle MEM_REF for | |
6920 | core part of address expressions. | |
6921 | ||
42aea2d8 AM |
6922 | 2014-05-08 Alan Modra <amodra@gmail.com> |
6923 | ||
6924 | PR target/60737 | |
6925 | * config/rs6000/rs6000.c (expand_block_move): Allow 64-bit | |
6926 | loads and stores when -mno-strict-align at any alignment. | |
6927 | (expand_block_clear): Similarly. Also correct calculation of | |
6928 | instruction count. | |
6929 | ||
10e08855 TP |
6930 | 2014-05-07 Thomas Preud'homme <thomas.preudhomme@arm.com> |
6931 | ||
6932 | PR middle-end/39246 | |
6933 | * tree-complex.c (expand_complex_move): Keep line info when expanding | |
6934 | complex move. | |
6935 | * tree-ssa-uninit.c (warn_uninit): New argument. Ignore assignment | |
6936 | of complex expression. Use new argument to display correct location | |
6937 | for values coming from phi statement. | |
6938 | (warn_uninitialized_vars): Adapt to new signature of warn_uninit. | |
6939 | (warn_uninitialized_phi): Pass location of phi argument to | |
6940 | warn_uninit. | |
6941 | * tree-ssa.c (ssa_undefined_value_p): For SSA_NAME initialized by a | |
6942 | COMPLEX_EXPR, recurse on each part of the COMPLEX_EXPR. | |
6943 | ||
d839f53b SB |
6944 | 2014-05-07 Segher Boessenkool <segher@kernel.crashing.org> |
6945 | ||
6946 | * config/rs6000/predicates.md (indexed_address_mem): New. | |
6947 | * config/rs6000/rs6000.md (type): Remove load_ext, load_ext_u, | |
6948 | load_ext_ux, load_ux, load_u, store_ux, store_u, fpload_ux, fpload_u, | |
6949 | fpstore_ux, fpstore_u. | |
6950 | (sign_extend, indexed, update): New. | |
6951 | (cell_micro): Adjust. | |
6952 | (*zero_extend<mode>di2_internal1, *zero_extendsidi2_lfiwzx, | |
6953 | *extendsidi2_lfiwax, *extendsidi2_nocell, *extendsfdf2_fpr, | |
6954 | *movsi_internal1, *movsi_internal1_single, *movhi_internal, | |
6955 | *movqi_internal, *movcc_internal1, mov<mode>_hardfloat, | |
6956 | *mov<mode>_softfloat, *mov<mode>_hardfloat32, *mov<mode>_hardfloat64, | |
6957 | *mov<mode>_softfloat64, *movdi_internal32, *movdi_internal64, | |
6958 | *mov<mode>_string, *ldmsi8, *ldmsi7, *ldmsi6, *ldmsi5, *ldmsi4, | |
6959 | *ldmsi3, *stmsi8, *stmsi7, *stmsi6, *stmsi5, *stmsi4, *stmsi3, | |
6960 | *movdi_update1, movdi_<mode>_update, movdi_<mode>_update_stack, | |
6961 | *movsi_update1, *movsi_update2, movsi_update, movsi_update_stack, | |
6962 | *movhi_update1, *movhi_update2, *movhi_update3, *movhi_update4, | |
6963 | *movqi_update1, *movqi_update2, *movqi_update3, *movsf_update1, | |
6964 | *movsf_update2, *movsf_update3, *movsf_update4, *movdf_update1, | |
6965 | *movdf_update2, load_toc_aix_si, load_toc_aix_di, probe_stack_<mode>, | |
6966 | *stmw, *lmw, as well as 10 anonymous patterns): Adjust. | |
6967 | ||
6968 | * config/rs6000/dfp.md (movsd_store, movsd_load): Adjust. | |
6969 | * config/rs6000/vsx.md (*vsx_movti_32bit, *vsx_extract_<mode>_load, | |
6970 | *vsx_extract_<mode>_store): Adjust. | |
6971 | * config/rs6000/rs6000.c (rs6000_adjust_cost, is_microcoded_insn, | |
6972 | is_cracked_insn, insn_must_be_first_in_group, | |
6973 | insn_must_be_last_in_group): Adjust. | |
6974 | ||
6975 | * config/rs6000/40x.md (ppc403-load, ppc403-store, ppc405-float): | |
6976 | Adjust. | |
6977 | * config/rs6000/440.md (ppc440-load, ppc440-store, ppc440-fpload, | |
6978 | ppc440-fpstore): Adjust. | |
6979 | * config/rs6000/476.md (ppc476-load, ppc476-store, ppc476-fpload, | |
6980 | ppc476-fpstore): Adjust. | |
6981 | * config/rs6000/601.md (ppc601-load, ppc601-store, ppc601-fpload, | |
6982 | ppc601-fpstore): Adjust. | |
6983 | * config/rs6000/603.md (ppc603-load, ppc603-store, ppc603-fpload): | |
6984 | Adjust. | |
6985 | * config/rs6000/6xx.md (ppc604-load, ppc604-store, ppc604-fpload): | |
6986 | Adjust. | |
6987 | * config/rs6000/7450.md (ppc7450-load, ppc7450-store, ppc7450-fpload, | |
6988 | ppc7450-fpstore): Adjust. | |
6989 | * config/rs6000/7xx.md (ppc750-load, ppc750-store): Adjust. | |
6990 | * config/rs6000/8540.md (ppc8540_load, ppc8540_store): Adjust. | |
6991 | * config/rs6000/a2.md (ppca2-load, ppca2-fp-load, ppca2-fp-store): | |
6992 | Adjust. | |
6993 | * config/rs6000/cell.md (cell-load, cell-load-ux, cell-load-ext, | |
6994 | cell-fpload, cell-fpload-update, cell-store, cell-store-update, | |
6995 | cell-fpstore, cell-fpstore-update): Adjust. | |
6996 | * config/rs6000/e300c2c3.md (ppce300c3_load, ppce300c3_fpload, | |
6997 | ppce300c3_store, ppce300c3_fpstore): Adjust. | |
6998 | * config/rs6000/e500mc.md (e500mc_load, e500mc_fpload, e500mc_store, | |
6999 | e500mc_fpstore): Adjust. | |
7000 | * config/rs6000/e500mc64.md (e500mc64_load, e500mc64_fpload, | |
7001 | e500mc64_store, e500mc64_fpstore): Adjust. | |
7002 | * config/rs6000/e5500.md (e5500_load, e5500_fpload, e5500_store, | |
7003 | e5500_fpstore): Adjust. | |
7004 | * config/rs6000/e6500.md (e6500_load, e6500_fpload, e6500_store, | |
7005 | e6500_fpstore): Adjust. | |
7006 | * config/rs6000/mpc.md (mpccore-load, mpccore-store, mpccore-fpload): | |
7007 | Adjust. | |
7008 | * config/rs6000/power4.md (power4-load, power4-load-ext, | |
7009 | power4-load-ext-update, power4-load-ext-update-indexed, | |
7010 | power4-load-update-indexed, power4-load-update, power4-fpload, | |
7011 | power4-fpload-update, power4-store, power4-store-update, | |
7012 | power4-store-update-indexed, power4-fpstore, power4-fpstore-update): | |
7013 | Adjust. | |
7014 | * config/rs6000/power5.md (power5-load, power5-load-ext, | |
7015 | power5-load-ext-update, power5-load-ext-update-indexed, | |
7016 | power5-load-update-indexed, power5-load-update, power5-fpload, | |
7017 | power5-fpload-update, power5-store, power5-store-update, | |
7018 | power5-store-update-indexed, power5-fpstore, power5-fpstore-update): | |
7019 | Adjust. | |
7020 | * config/rs6000/power6.md (power6-load, power6-load-ext, | |
7021 | power6-load-update, power6-load-update-indexed, | |
7022 | power6-load-ext-update, power6-load-ext-update-indexed, power6-fpload, | |
7023 | power6-fpload-update, power6-store, power6-store-update, | |
7024 | power6-store-update-indexed, power6-fpstore, power6-fpstore-update): | |
7025 | Adjust. | |
7026 | * config/rs6000/power7.md (power7-load, power7-load-ext, | |
7027 | power7-load-update, power7-load-update-indexed, | |
7028 | power7-load-ext-update, power7-load-ext-update-indexed, power7-fpload, | |
7029 | power7-fpload-update, power7-store, power7-store-update, | |
7030 | power7-store-update-indexed, power7-fpstore, power7-fpstore-update): | |
7031 | Adjust. | |
7032 | * config/rs6000/power8.md (power8-load, power8-load-update, | |
7033 | power8-load-ext, power8-load-ext-update, power8-fpload, | |
7034 | power8-fpload-update, power8-store, power8-store-update-indexed, | |
7035 | power8-fpstore, power8-fpstore-update): Adjust. | |
7036 | * config/rs6000/rs64.md (rs64a-load, rs64a-store, rs64a-fpload): | |
7037 | Adjust. | |
7038 | * config/rs6000/titan.md (titan_lsu_load, titan_lsu_fpload, | |
7039 | titan_lsu_store, titan_lsu_fpstore): Adjust. | |
7040 | * config/rs6000/xfpu.md (fp-load, fp-store): Adjust. | |
7041 | ||
36dc9ae8 OE |
7042 | 2014-05-07 Oleg Endo <olegendo@gcc.gnu.org> |
7043 | ||
7044 | PR target/60884 | |
7045 | * config/sh/sh-mem.cc (sh_expand_strlen): Use loop when emitting | |
7046 | unrolled byte insns. Emit address increments after move insns. | |
7047 | ||
9bbf45f6 DM |
7048 | 2014-05-07 David Malcolm <dmalcolm@redhat.com> |
7049 | ||
7050 | * gimple.h (gimple_builtin_call_types_compatible_p): Accept a | |
7051 | const_gimple, rather than a gimple. | |
7052 | (gimple_call_builtin_p): Likewise, for the three variants. | |
7053 | ||
7054 | * gimple.c (gimple_builtin_call_types_compatible_p): Likewise. | |
7055 | (gimple_call_builtin_p): Likewise, for the three variants. | |
7056 | ||
1a51f10c RS |
7057 | 2014-05-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com> |
7058 | ||
7059 | PR tree-optimization/61095 | |
7060 | * tree-ssanames.c (get_nonzero_bits): Fix type extension in wi::shwi. | |
7061 | ||
50f0aa20 RB |
7062 | 2014-05-07 Richard Biener <rguenther@suse.de> |
7063 | ||
7064 | PR tree-optimization/61034 | |
7065 | * tree-ssa-alias.c (call_may_clobber_ref_p_1): Export. | |
7066 | (maybe_skip_until): Use translate to take into account | |
7067 | lattices when trying to do disambiguations. | |
7068 | (get_continuation_for_phi_1): Likewise. | |
b6db8af6 | 7069 | (get_continuation_for_phi): Adjust for added translate arguments. |
50f0aa20 | 7070 | (walk_non_aliased_vuses): Likewise. |
b6db8af6 | 7071 | * tree-ssa-alias.h (get_continuation_for_phi): Adjust prototype. |
50f0aa20 RB |
7072 | (walk_non_aliased_vuses): Likewise. |
7073 | (call_may_clobber_ref_p_1): Declare. | |
b6db8af6 UB |
7074 | * tree-ssa-sccvn.c (vn_reference_lookup_3): Also disambiguate against |
7075 | calls. Stop early if we are only supposed to disambiguate. | |
50f0aa20 RB |
7076 | * tree-ssa-pre.c (translate_vuse_through_block): Adjust. |
7077 | ||
e7b7077e JR |
7078 | 2014-05-07 Joern Rennecke <joern.rennecke@embecosm.com> |
7079 | ||
7080 | * config/epiphany/epiphany.c (epiphany_handle_interrupt_attribute): | |
7081 | Emit an error when the function has arguments. | |
7082 | ||
c4597c1d TS |
7083 | 2014-05-07 Thomas Schwinge <thomas@codesourcery.com> |
7084 | ||
7085 | * cfgloop.h (unswitch_loops): Remove. | |
7086 | * doc/passes.texi: Remove references to loop-unswitch.c | |
7087 | * timevar.def (TV_LOOP_UNSWITCH): Remove. | |
7088 | ||
2c23db6d ES |
7089 | 2014-05-07 Evgeny Stupachenko <evstupac@gmail.com> |
7090 | ||
7091 | * tree-vect-data-refs.c (vect_grouped_load_supported): New | |
7092 | check for loads group of length 3. | |
7093 | (vect_permute_load_chain): New permutations for loads group of | |
7094 | length 3. | |
7095 | * tree-vect-stmts.c (vect_model_load_cost): Change cost | |
7096 | of vec_perm_shuffle for the new permutations. | |
7097 | ||
1d175503 AL |
7098 | 2014-05-07 Alan Lawrence <alan.lawrence@arm.com> |
7099 | ||
7100 | * config/aarch64/arm_neon.h (vtrn1_f32, vtrn1_p8, vtrn1_p16, vtrn1_s8, | |
7101 | vtrn1_s16, vtrn1_s32, vtrn1_u8, vtrn1_u16, vtrn1_u32, vtrn1q_f32, | |
7102 | vtrn1q_f64, vtrn1q_p8, vtrn1q_p16, vtrn1q_s8, vtrn1q_s16, vtrn1q_s32, | |
7103 | vtrn1q_s64, vtrn1q_u8, vtrn1q_u16, vtrn1q_u32, vtrn1q_u64, vtrn2_f32, | |
7104 | vtrn2_p8, vtrn2_p16, vtrn2_s8, vtrn2_s16, vtrn2_s32, vtrn2_u8, | |
7105 | vtrn2_u16, vtrn2_u32, vtrn2q_f32, vtrn2q_f64, vtrn2q_p8, vtrn2q_p16, | |
7106 | vtrn2q_s8, vtrn2q_s16, vtrn2q_s32, vtrn2q_s64, vtrn2q_u8, vtrn2q_u16, | |
7107 | vtrn2q_u32, vtrn2q_u64): Replace temporary asm with __builtin_shuffle. | |
7108 | ||
e2d87487 TS |
7109 | 2014-05-07 Thomas Schwinge <thomas@codesourcery.com> |
7110 | ||
7111 | * loop-unswitch.c: Delete. | |
7112 | ||
f543058d RB |
7113 | 2014-05-07 Richard Biener <rguenther@suse.de> |
7114 | ||
7115 | * config.gcc: Always set need_64bit_hwint to yes. | |
7116 | ||
96092404 CJW |
7117 | 2014-05-07 Chung-Ju Wu <jasonwucj@gmail.com> |
7118 | ||
7119 | * config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Have it in favor | |
7120 | of using optimize_size. | |
7121 | ||
ca66f89b MS |
7122 | 2014-05-06 Mike Stump <mikestump@comcast.net> |
7123 | ||
7124 | * wide-int.h (wi::int_traits <HOST_WIDE_INT>): Always define. | |
7125 | ||
659c0e68 JM |
7126 | 2014-05-06 Joseph Myers <joseph@codesourcery.com> |
7127 | ||
7128 | * config/i386/sse.md (*mov<mode>_internal) | |
7129 | (*<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>) | |
7130 | (*<sse2_avx_avx512f>_loaddqu<mode><mask_name>) | |
7131 | (<sse>_andnot<mode>3, <code><mode>3, *andnot<mode>3) | |
7132 | (*<code><mode>3, *andnot<mode>3<mask_name>) | |
7133 | (<mask_codefor><code><mode>3<mask_name>): Only consider | |
7134 | TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL for modes of size 16. | |
7135 | ||
3379b71f RS |
7136 | 2014-05-06 Richard Sandiford <rdsandiford@googlemail.com> |
7137 | ||
7138 | Revert: | |
7139 | 2014-05-03 Richard Sandiford <rdsandiford@googlemail.com> | |
7140 | ||
7141 | * lra-constraints.c (valid_address_p): Move earlier in file. | |
7142 | Add a constraint argument to the address_info version. | |
7143 | (satisfies_memory_constraint_p): New function. | |
7144 | (satisfies_address_constraint_p): Likewise. | |
7145 | (process_alt_operands, curr_insn_transform): Use them. | |
7146 | (process_address): Pass the constraint to valid_address_p when | |
7147 | checking address operands. | |
7148 | ||
224dbc07 RS |
7149 | 2014-05-06 Richard Sandiford <r.sandiford@uk.ibm.com> |
7150 | ||
7151 | * lto-cgraph.c (compute_ltrans_boundary): Make node variables local | |
7152 | to their respective blocks. Fix inadvertent use of "node". | |
7153 | ||
aa3a12d6 RS |
7154 | 2014-05-06 Richard Sandiford <rdsandiford@googlemail.com> |
7155 | ||
7156 | * emit-rtl.c (init_derived_machine_modes): New functionm, split | |
7157 | out from... | |
7158 | (init_emit_once): ...here. | |
7159 | * rtl.h (init_derived_machine_modes): Declare. | |
7160 | * toplev.c (do_compile): Call it even if no_backend. | |
7161 | ||
1d60af08 KZ |
7162 | 2014-05-06 Kenneth Zadeck <zadeck@naturalbridge.com> |
7163 | Mike Stump <mikestump@comcast.net> | |
7164 | Richard Sandiford <rdsandiford@googlemail.com> | |
7165 | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | |
7166 | ||
7167 | * alias.c (ao_ref_from_mem): Use wide-int interfaces. | |
7168 | (rtx_equal_for_memref_p): Update comment. | |
7169 | (adjust_offset_for_component_ref): Use wide-int interfaces. | |
7170 | * builtins.c (get_object_alignment_2): Likewise. | |
7171 | (c_readstr): Likewise. | |
7172 | (target_char_cast): Add comment. | |
7173 | (determine_block_size): Use wide-int interfaces. | |
7174 | (expand_builtin_signbit): Likewise. | |
7175 | (fold_builtin_int_roundingfn): Likewise. | |
7176 | (fold_builtin_bitop): Likewise. | |
7177 | (fold_builtin_bswap): Likewise. | |
7178 | (fold_builtin_logarithm): Use signop. | |
7179 | (fold_builtin_pow): Likewise. | |
7180 | (fold_builtin_memory_op): Use wide-int interfaces. | |
7181 | (fold_builtin_object_size): Likewise. | |
7182 | * cfgloop.c (alloc_loop): Initialize nb_iterations_upper_bound and | |
7183 | nb_iterations_estimate. | |
7184 | (record_niter_bound): Use wide-int interfaces. | |
7185 | (get_estimated_loop_iterations_int): Likewise. | |
7186 | (get_estimated_loop_iterations): Likewise. | |
7187 | (get_max_loop_iterations): Likewise. | |
7188 | * cfgloop.h: Include wide-int.h. | |
7189 | (struct nb_iter_bound): Change bound to widest_int. | |
7190 | (struct loop): Change nb_iterations_upper_bound and | |
7191 | nb_iterations_estimate to widest_int. | |
7192 | (record_niter_bound): Switch to use widest_int. | |
7193 | (get_estimated_loop_iterations): Likewise. | |
7194 | (get_max_loop_iterations): Likewise. | |
7195 | (gcov_type_to_double_int): Rename to gcov_type_to_wide_int and | |
7196 | update for wide-int. | |
7197 | * cgraph.c (cgraph_add_thunk): Use wide-int interfaces. | |
7198 | * combine.c (try_combine): Likewise. | |
7199 | (subst): Use CONST_SCALAR_INT_P rather than CONST_INT_P. | |
7200 | * config/aarch64/aarch64.c (aapcs_vfp_sub_candidate): Use wide-int | |
7201 | interfaces. | |
7202 | (aarch64_float_const_representable_p): Likewise. | |
7203 | * config/arc/arc.c: Include wide-int.h. | |
7204 | (arc_can_use_doloop_p): Use wide-int interfaces. | |
7205 | * config/arm/arm.c (aapcs_vfp_sub_candidate): Likewise. | |
7206 | (vfp3_const_double_index): Likewise. | |
7207 | * config/avr/avr.c (avr_out_round): Likewise. | |
7208 | (avr_fold_builtin): Likewise. | |
7209 | * config/bfin/bfin.c (bfin_local_alignment): Likewise. | |
7210 | (bfin_can_use_doloop_p): Likewise. | |
7211 | * config/darwin.c (darwin_mergeable_constant_section): Likewise. | |
7212 | (machopic_select_rtx_section): Update to handle CONST_WIDE_INT. | |
7213 | * config/i386/i386.c: Include wide-int.h. | |
7214 | (ix86_data_alignment): Use wide-int interfaces. | |
7215 | (ix86_local_alignment): Likewise. | |
7216 | (ix86_emit_swsqrtsf): Update real_from_integer. | |
7217 | * config/msp430/msp430.c (msp430_attr): Use wide-int interfaces. | |
7218 | * config/nds32/nds32.c (nds32_insert_attributes): Likewise. | |
7219 | * config/rs6000/predicates.md (any_operand): Add const_wide_int. | |
7220 | (zero_constant): Likewise. | |
7221 | (input_operand): Likewise. | |
7222 | (splat_input_operand): Likewise. | |
7223 | (non_logical_cint_operand): Change const_double to const_wide_int. | |
7224 | * config/rs6000/rs6000.c (num_insns_constant): Handle CONST_WIDE_INT. | |
7225 | (easy_altivec_constant): Remove comment. | |
7226 | (paired_expand_vector_init): Use CONSTANT_P. | |
7227 | (rs6000_legitimize_address): Handle CONST_WIDE_INT. | |
7228 | (rs6000_emit_move): Update checks. | |
7229 | (rs6000_aggregate_candidate): Use wide-int interfaces. | |
7230 | (rs6000_expand_ternop_builtin): Likewise. | |
7231 | (rs6000_output_move_128bit): Handle CONST_WIDE_INT. | |
7232 | (rs6000_assemble_integer): Likewise. | |
7233 | (rs6000_hash_constant): Likewise. | |
7234 | (output_toc): Likewise. | |
7235 | (rs6000_rtx_costs): Likewise. | |
7236 | (rs6000_emit_swrsqrt); Update call to real_from_integer. | |
7237 | * config/rs6000/rs6000-c.c: Include wide-int.h. | |
7238 | (altivec_resolve_overloaded_builtin): Use wide-int interfaces. | |
7239 | * config/rs6000/rs6000.h (TARGET_SUPPORTS_WIDE_INT): New. | |
7240 | * config/rs6000/rs6000.md: Use const_scalar_int_operand. | |
7241 | Handle CONST_WIDE_INT. | |
7242 | * config/sol2-c.c (solaris_pragma_align): Change low to unsigned HWI. | |
7243 | Use tree_fits_uhwi_p. | |
7244 | * config/sparc/sparc.c: Include wide-int.h. | |
7245 | (sparc_fold_builtin): Use wide-int interfaces. | |
7246 | * config/vax/vax.c: Include wide-int.h. | |
7247 | (vax_float_literal): Use real_from_integer. | |
7248 | * coretypes.h (struct hwivec_def): New. | |
7249 | (hwivec): New. | |
7250 | (const_hwivec): New. | |
7251 | * cse.c (hash_rtx_cb): Handle CONST_WIDE_INT. | |
7252 | (equiv_constant): Handle CONST_WIDE_INT. | |
7253 | * cselib.c (rtx_equal_for_cselib_1): Use CASE_CONST_UNIQUE. | |
7254 | (cselib_hash_rtx): Handle CONST_WIDE_INT. | |
7255 | * dbxout.c (stabstr_U): Use wide-int interfaces. | |
7256 | (dbxout_type): Update to use cst_fits_shwi_p. | |
7257 | * defaults.h (LOG2_BITS_PER_UNIT): Define. | |
7258 | (TARGET_SUPPORTS_WIDE_INT): Add default. | |
7259 | * dfp.c: Include wide-int.h. | |
7260 | (decimal_real_to_integer2): Use wide-int interfaces and rename to | |
7261 | decimal_real_to_integer. | |
7262 | * dfp.h (decimal_real_to_integer2): Return a wide_int and rename to | |
7263 | decimal_real_to_integer. | |
7264 | * doc/generic.texi (Constant expressions): Update for wide_int. | |
7265 | * doc/rtl.texi (const_double): Likewise. | |
7266 | (const_wide_int, CONST_WIDE_INT, CONST_WIDE_INT_VEC): New. | |
7267 | (CONST_WIDE_INT_NUNITS, CONST_WIDE_INT_ELT): New. | |
7268 | * doc/tm.texi.in (REAL_VALUE_TO_INT): Remove. | |
7269 | (REAL_VALUE_FROM_INT): Remove. | |
7270 | (TARGET_SUPPORTS_WIDE_INT): New. | |
7271 | * doc/tm.texi: Regenerate. | |
7272 | * dojump.c (prefer_and_bit_test): Use wide-int interfaces. | |
7273 | * double-int.h: Include wide-int.h. | |
7274 | (struct wi::int_traits): New. | |
7275 | * dwarf2out.c (get_full_len): New. | |
7276 | (dw_val_equal_p): Add case dw_val_class_wide_int. | |
7277 | (size_of_loc_descr): Likewise. | |
7278 | (output_loc_operands): Likewise. | |
7279 | (insert_double): Remove. | |
7280 | (insert_wide_int): New. | |
7281 | (add_AT_wide): New. | |
7282 | (print_die): Add case dw_val_class_wide_int. | |
7283 | (attr_checksum): Likewise. | |
7284 | (attr_checksum_ordered): Likewise. | |
7285 | (same_dw_val_p): Likewise. | |
7286 | (size_of_die): Likewise. | |
7287 | (value_format): Likewise. | |
7288 | (output_die): Likewise. | |
7289 | (double_int_type_size_in_bits): Rename to offset_int_type_size_in_bits. | |
7290 | Use wide-int. | |
7291 | (clz_loc_descriptor): Use wide-int interfaces. | |
7292 | (mem_loc_descriptor): Likewise. Handle CONST_WIDE_INT. | |
7293 | (loc_descriptor): Use wide-int interfaces. Handle CONST_WIDE_INT. | |
7294 | (round_up_to_align): Use wide-int interfaces. | |
7295 | (field_byte_offset): Likewise. | |
7296 | (insert_double): Rename to insert_wide_int. Use wide-int interfaces. | |
7297 | (add_const_value_attribute): Handle CONST_WIDE_INT. Update | |
7298 | CONST_DOUBLE handling. Use wide-int interfaces. | |
7299 | (add_bound_info): Use tree_fits_uhwi_p. Use wide-int interfaces. | |
7300 | (gen_enumeration_type_die): Use add_AT_wide. | |
7301 | (hash_loc_operands): Add case dw_val_class_wide_int. | |
7302 | (compare_loc_operands): Likewise. | |
7303 | * dwarf2out.h: Include wide-int.h. | |
7304 | (wide_int_ptr): New. | |
7305 | (enum dw_val_class): Add dw_val_class_wide_int. | |
7306 | (struct dw_val_struct): Add val_wide. | |
7307 | * emit-rtl.c (const_wide_int_htab): New. | |
7308 | (const_wide_int_htab_hash): New. | |
7309 | (const_wide_int_htab_eq): New. | |
7310 | (lookup_const_wide_int): New. | |
7311 | (const_double_htab_hash): Use wide-int interfaces. | |
7312 | (const_double_htab_eq): Likewise. | |
7313 | (rtx_to_double_int): Conditionally compile for wide-int. | |
7314 | (immed_double_int_const): Rename to immed_wide_int_const and | |
7315 | update for wide-int. | |
7316 | (immed_double_const): Conditionally compile for wide-int. | |
7317 | (init_emit_once): Use wide-int interfaces. | |
7318 | * explow.c (plus_constant): Likewise. | |
7319 | * expmed.c (mask_rtx): Move further up file. Use wide-int interfaces. | |
7320 | (lshift_value): Use wide-int interfaces. | |
7321 | (expand_mult): Likewise. | |
7322 | (choose_multiplier): Likewise. | |
7323 | (expand_smod_pow2): Likewise. | |
7324 | (make_tree): Likewise. | |
7325 | * expr.c (convert_modes): Consolidate handling of constants. | |
7326 | Use wide-int interfaces. | |
7327 | (emit_group_load_1): Add note. | |
7328 | (store_expr): Update comment. | |
7329 | (get_inner_reference): Use wide-int interfaces. | |
7330 | (expand_constructor): Update comment. | |
7331 | (expand_expr_real_2): Use wide-int interfaces. | |
7332 | (expand_expr_real_1): Likewise. | |
7333 | (reduce_to_bit_field_precision): Likewise. | |
7334 | (const_vector_from_tree): Likewise. | |
7335 | * final.c: Include wide-int-print.h. | |
7336 | (output_addr_const): Handle CONST_WIDE_INT. Use CONST_DOUBLE_AS_INT_P. | |
7337 | * fixed-value.c: Include wide-int.h. | |
7338 | (fixed_from_string): Use wide-int interfaces. | |
7339 | (fixed_to_decimal): Likewise. | |
7340 | (fixed_convert_from_real): Likewise. | |
7341 | (real_convert_from_fixed): Likewise. | |
7342 | * fold-const.h (mem_ref_offset): Return an offset_int. | |
7343 | (div_if_zero_remainder): Remove code parameter. | |
7344 | * fold-const.c (div_if_zero_remainder): Remove code parameter. | |
7345 | Use wide-int interfaces. | |
7346 | (may_negate_without_overflow_p): Use wide-int interfaces. | |
7347 | (negate_expr_p): Likewise. | |
7348 | (fold_negate_expr): Likewise. | |
7349 | (int_const_binop_1): Likewise. | |
7350 | (const_binop): Likewise. | |
7351 | (fold_convert_const_int_from_int): Likewise. | |
7352 | (fold_convert_const_int_from_real): Likewise. | |
7353 | (fold_convert_const_int_from_fixed): Likewise. | |
7354 | (fold_convert_const_fixed_from_int): Likewise. | |
7355 | (all_ones_mask_p): Take an unsigned size. Use wide-int interfaces. | |
7356 | (sign_bit_p): Use wide-int interfaces. | |
7357 | (make_range_step): Likewise. | |
7358 | (build_range_check): Likewise. Pass an integer of the correct type | |
7359 | instead of using integer_one_node. | |
7360 | (range_predecessor): Pass an integer of the correct type instead | |
7361 | of using integer_one_node. | |
7362 | (range_successor): Likewise. | |
7363 | (merge_ranges): Likewise. | |
7364 | (unextend): Use wide-int interfaces. | |
7365 | (extract_muldiv_1): Likewise. | |
7366 | (fold_div_compare): Likewise. | |
7367 | (fold_single_bit_test): Likewise. | |
7368 | (fold_sign_changed_comparison): Likewise. | |
7369 | (try_move_mult_to_index): Update calls to div_if_zero_remainder. | |
7370 | (fold_plusminus_mult_expr): Use wide-int interfaces. | |
7371 | (native_encode_int): Likewise. | |
7372 | (native_interpret_int): Likewise. | |
7373 | (fold_unary_loc): Likewise. | |
7374 | (pointer_may_wrap_p): Likewise. | |
7375 | (size_low_cst): Likewise. | |
7376 | (mask_with_tz): Likewise. | |
7377 | (fold_binary_loc): Likewise. | |
7378 | (fold_ternary_loc): Likewise. | |
7379 | (multiple_of_p): Likewise. | |
7380 | (tree_call_nonnegative_warnv_p): Update calls to | |
7381 | tree_int_cst_min_precision and real_from_integer. | |
7382 | (fold_negate_const): Use wide-int interfaces. | |
7383 | (fold_abs_const): Likewise. | |
7384 | (fold_relational_const): Use tree_int_cst_lt. | |
7385 | (round_up_loc): Use wide-int interfaces. | |
7386 | * genemit.c (gen_exp): Add CONST_WIDE_INT case. | |
7387 | * gengenrtl.c (excluded_rtx): Add CONST_WIDE_INT case. | |
7388 | * gengtype.c: Remove include of double-int.h. | |
7389 | (do_typedef): Use wide-int interfaces. | |
7390 | (open_base_files): Add wide-int.h. | |
7391 | (main): Add offset_int and widest_int typedefs. | |
7392 | * gengtype-lex.l: Handle "^". | |
7393 | (CXX_KEYWORD): Add "static". | |
7394 | * gengtype-parse.c (require3): New. | |
7395 | (require_template_declaration): Handle constant template arguments | |
7396 | and nested templates. | |
7397 | * gengtype-state.c: Don't include "double-int.h". | |
7398 | * genpreds.c (write_one_predicate_function): Update comment. | |
7399 | (write_tm_constrs_h): Add check for hval and lval use in | |
7400 | CONST_WIDE_INT. | |
7401 | * genrecog.c (validate_pattern): Add CONST_WIDE_INT case. | |
7402 | (add_to_sequence): Likewise. | |
7403 | * gensupport.c (struct std_pred_table): Add const_scalar_int_operand | |
7404 | and const_double_operand. | |
7405 | * gimple.c (preprocess_case_label_vec_for_gimple): Use wide-int | |
7406 | interfaces. | |
7407 | * gimple-fold.c (get_base_constructor): Likewise. | |
7408 | (fold_array_ctor_reference): Likewise. | |
7409 | (fold_nonarray_ctor_reference): Likewise. | |
7410 | (fold_const_aggregate_ref_1): Likewise. | |
7411 | (gimple_val_nonnegative_real_p): Likewise. | |
7412 | (gimple_fold_indirect_ref): Likewise. | |
7413 | * gimple-pretty-print.c (dump_ssaname_info): Likewise. | |
7414 | * gimple-ssa-strength-reduction.c: Include wide-int-print.h. | |
7415 | (struct slsr_cand_d): Change index to be widest_int. | |
7416 | (struct incr_info_d): Change incr to be widest_int. | |
7417 | (alloc_cand_and_find_basis): Use wide-int interfaces. | |
7418 | (slsr_process_phi): Likewise. | |
7419 | (backtrace_base_for_ref): Likewise. Return a widest_int. | |
7420 | (restructure_reference): Take a widest_int instead of a double_int. | |
7421 | (slsr_process_ref): Use wide-int interfaces. | |
7422 | (create_mul_ssa_cand): Likewise. | |
7423 | (create_mul_imm_cand): Likewise. | |
7424 | (create_add_ssa_cand): Likewise. | |
7425 | (create_add_imm_cand): Take a widest_int instead of a double_int. | |
7426 | (slsr_process_add): Use wide-int interfaces. | |
7427 | (slsr_process_cast): Likewise. | |
7428 | (slsr_process_copy): Likewise. | |
7429 | (dump_candidate): Likewise. | |
7430 | (dump_incr_vec): Likewise. | |
7431 | (replace_ref): Likewise. | |
7432 | (cand_increment): Likewise. Return a widest_int. | |
7433 | (cand_abs_increment): Likewise. | |
7434 | (replace_mult_candidate): Take a widest_int instead of a double_int. | |
7435 | (replace_unconditional_candidate): Use wide-int interfaces. | |
7436 | (incr_vec_index): Take a widest_int instead of a double_int. | |
7437 | (create_add_on_incoming_edge): Likewise. | |
7438 | (create_phi_basis): Use wide-int interfaces. | |
7439 | (replace_conditional_candidate): Likewise. | |
7440 | (record_increment): Take a widest_int instead of a double_int. | |
7441 | (record_phi_increments): Use wide-int interfaces. | |
7442 | (phi_incr_cost): Take a widest_int instead of a double_int. | |
7443 | (lowest_cost_path): Likewise. | |
7444 | (total_savings): Likewise. | |
7445 | (analyze_increments): Use wide-int interfaces. | |
7446 | (ncd_with_phi): Take a widest_int instead of a double_int. | |
7447 | (ncd_of_cand_and_phis): Likewise. | |
7448 | (nearest_common_dominator_for_cands): Likewise. | |
7449 | (insert_initializers): Use wide-int interfaces. | |
7450 | (all_phi_incrs_profitable): Likewise. | |
7451 | (replace_one_candidate): Likewise. | |
7452 | (replace_profitable_candidates): Likewise. | |
7453 | * godump.c: Include wide-int-print.h. | |
7454 | (go_output_typedef): Use wide-int interfaces. | |
7455 | * graphite-clast-to-gimple.c (gmp_cst_to_tree): Likewise. | |
7456 | * graphite-sese-to-poly.c (tree_int_to_gmp): Likewise. | |
7457 | (build_loop_iteration_domains): Likewise. | |
7458 | * hooks.h: Include wide-int.h rather than double-int.h. | |
7459 | (hook_bool_dint_dint_uint_bool_true): Delete. | |
7460 | (hook_bool_wint_wint_uint_bool_true): Declare. | |
7461 | * hooks.c (hook_bool_dint_dint_uint_bool_true): Removed. | |
7462 | (hook_bool_wint_wint_uint_bool_true): New. | |
7463 | * internal-fn.c (ubsan_expand_si_overflow_addsub_check): Use wide-int | |
7464 | interfaces. | |
7465 | (ubsan_expand_si_overflow_mul_check): Likewise. | |
7466 | * ipa-devirt.c (get_polymorphic_call_info): Likewise. | |
7467 | * ipa-prop.c (compute_complex_assign_jump_func): Likewise. | |
7468 | (get_ancestor_addr_info): Likewise. | |
7469 | (ipa_modify_call_arguments): Likewise. | |
7470 | * loop-doloop.c (doloop_modify): Likewise. | |
7471 | (doloop_optimize): Likewise. | |
7472 | * loop-iv.c (iv_number_of_iterations): Likewise. | |
7473 | * loop-unroll.c (decide_unroll_constant_iterations): Likewise. | |
7474 | (unroll_loop_constant_iterations): Likewise. | |
7475 | (decide_unroll_runtime_iterations): Likewise. | |
7476 | (unroll_loop_runtime_iterations): Likewise. | |
7477 | (decide_peel_simple): Likewise. | |
7478 | (decide_unroll_stupid): Likewise. | |
7479 | * lto-streamer-in.c (streamer_read_wi): Add. | |
7480 | (input_cfg): Use wide-int interfaces. | |
7481 | (lto_input_tree_1): Likewise. | |
7482 | * lto-streamer-out.c (streamer_write_wi): Add. | |
7483 | (hash_tree): Use wide-int interfaces. | |
7484 | (output_cfg): Likewise. | |
7485 | * Makefile.in (OBJS): Add wide-int.o and wide-int-print.o. | |
7486 | (GTFILES): Add wide-int.h and signop.h. | |
7487 | (TAGS): Look for .cc files too. | |
7488 | * omp-low.c (scan_omp_1_op): Use wide-int interfaces. | |
7489 | * optabs.c (expand_subword_shift): Likewise. | |
7490 | (expand_doubleword_shift): Likewise. | |
7491 | (expand_absneg_bit): Likewise. | |
7492 | (expand_copysign_absneg): Likewise. | |
7493 | (expand_copysign_bit): Likewise. | |
7494 | * postreload.c (reload_cse_simplify_set): Likewise. | |
7495 | * predict.c (predict_iv_comparison): Likewise. | |
7496 | * pretty-print.h: Include wide-int-print.h. | |
7497 | (pp_wide_int) New. | |
7498 | * print-rtl.c (print_rtx): Add CONST_WIDE_INT case. | |
7499 | * print-tree.c: Include wide-int-print.h. | |
7500 | (print_node_brief): Use wide-int interfaces. | |
7501 | (print_node): Likewise. | |
7502 | * read-rtl.c (validate_const_wide_int): New. | |
7503 | (read_rtx_code): Add CONST_WIDE_INT case. | |
7504 | * real.c: Include wide-int.h. | |
7505 | (real_to_integer2): Delete. | |
7506 | (real_to_integer): New function, returning a wide_int. | |
7507 | (real_from_integer): Take a wide_int rather than two HOST_WIDE_INTs. | |
7508 | (ten_to_ptwo): Update call to real_from_integer. | |
7509 | (real_digit): Likewise. | |
7510 | * real.h: Include signop.h, wide-int.h and insn-modes.h. | |
7511 | (real_to_integer2, REAL_VALUE_FROM_INT, REAL_VALUE_FROM_UNSIGNED_INT) | |
7512 | (REAL_VALUE_TO_INT): Delete. | |
7513 | (real_to_integer): Declare a wide-int form. | |
7514 | (real_from_integer): Take a wide_int rather than two HOST_WIDE_INTs. | |
7515 | * recog.c (const_int_operand): Improve comment. | |
7516 | (const_scalar_int_operand): New. | |
7517 | (const_double_operand): Add a separate definition for CONST_WIDE_INT. | |
7518 | * rtlanal.c (commutative_operand_precedence): Handle CONST_WIDE_INT. | |
7519 | (split_double): Likewise. | |
7520 | * rtl.c (DEF_RTL_EXPR): Handle CONST_WIDE_INT. | |
7521 | (rtx_size): Likewise. | |
7522 | (rtx_alloc_stat_v): New. | |
7523 | (rtx_alloc_stat): Now calls rtx_alloc_stat_v. | |
7524 | (cwi_output_hex): New. | |
7525 | (iterative_hash_rtx): Handle CONST_WIDE_INT. | |
7526 | (cwi_check_failed_bounds): New. | |
7527 | * rtl.def (CONST_WIDE_INT): New. | |
7528 | * rtl.h: Include <utility> and wide-int.h. | |
7529 | (struct hwivec_def): New. | |
7530 | (CWI_GET_NUM_ELEM): New. | |
7531 | (CWI_PUT_NUM_ELEM): New. | |
7532 | (struct rtx_def): Add num_elem and hwiv. | |
7533 | (CASE_CONST_SCALAR_INT): Modify for TARGET_SUPPORTS_WIDE_INT. | |
7534 | (CASE_CONST_UNIQUE): Likewise. | |
7535 | (CASE_CONST_ANY): Likewise. | |
7536 | (CONST_SCALAR_INT_P): Likewise. | |
7537 | (CONST_WIDE_INT_P): New. | |
7538 | (CWI_ELT): New. | |
7539 | (HWIVEC_CHECK): New. | |
7540 | (cwi_check_failed_bounds): New. | |
7541 | (CWI_ELT): New. | |
7542 | (HWIVEC_CHECK): New. | |
7543 | (CONST_WIDE_INT_VEC) New. | |
7544 | (CONST_WIDE_INT_NUNITS) New. | |
7545 | (CONST_WIDE_INT_ELT) New. | |
7546 | (rtx_mode_t): New type. | |
7547 | (wi::int_traits <rtx_mode_t>): New. | |
7548 | (wi::shwi): New. | |
7549 | (wi::min_value): New. | |
7550 | (wi::max_value): New. | |
7551 | (rtx_alloc_v) New. | |
7552 | (const_wide_int_alloc): New. | |
7553 | (immed_wide_int_const): New. | |
7554 | * sched-vis.c (print_value): Handle CONST_WIDE_INT. | |
7555 | * sel-sched-ir.c (lhs_and_rhs_separable_p): Update comment. | |
7556 | * signop.h: New file. | |
7557 | * simplify-rtx.c (mode_signbit_p): Handle CONST_WIDE_INT. | |
7558 | (simplify_const_unary_operation): Use wide-int interfaces. | |
7559 | (simplify_binary_operation_1): Likewise. | |
7560 | (simplify_const_binary_operation): Likewise. | |
7561 | (simplify_const_relational_operation): Likewise. | |
7562 | (simplify_immed_subreg): Likewise. | |
7563 | * stmt.c (expand_case): Likewise. | |
7564 | * stor-layout.h (set_min_and_max_values_for_integral_type): Take a | |
7565 | signop rather than a bool. | |
7566 | * stor-layout.c (layout_type): Use wide-int interfaces. | |
7567 | (initialize_sizetypes): Update calls to | |
7568 | set_min_and_max_values_for_integral_type. | |
7569 | (set_min_and_max_values_for_integral_type): Take a signop rather | |
7570 | than a bool. Use wide-int interfaces. | |
7571 | (fixup_signed_type): Update accordingly. Remove | |
7572 | HOST_BITS_PER_DOUBLE_INT limit. | |
7573 | (fixup_unsigned_type): Likewise. | |
7574 | * system.h (STATIC_CONSTANT_P): New. | |
7575 | (STATIC_ASSERT): New. | |
7576 | * target.def (can_use_doloop_p): Take widest_ints rather than | |
7577 | double_ints. | |
7578 | * target.h: Include wide-int.h rather than double-int.h. | |
7579 | * targhooks.h (can_use_doloop_if_innermost): Take widest_ints rather | |
7580 | than double_ints. | |
7581 | * targhooks.c (default_cxx_get_cookie_size): Use tree_int_cst_lt | |
7582 | rather than INT_CST_LT_UNSIGNED. | |
7583 | (can_use_doloop_if_innermost): Take widest_ints rather than | |
7584 | double_ints. | |
7585 | * tree-affine.c: Include wide-int-print.h. | |
7586 | (double_int_ext_for_comb): Delete. | |
7587 | (wide_int_ext_for_comb): New. | |
7588 | (aff_combination_zero): Use wide-int interfaces. | |
7589 | (aff_combination_const): Take a widest_int instead of a double_int. | |
7590 | (aff_combination_elt): Use wide-int interfaces. | |
7591 | (aff_combination_scale): Take a widest_int instead of a double_int. | |
7592 | (aff_combination_add_elt): Likewise. | |
7593 | (aff_combination_add_cst): Likewise. | |
7594 | (aff_combination_add): Use wide-int interfaces. | |
7595 | (aff_combination_convert): Likewise. | |
7596 | (tree_to_aff_combination): Likewise. | |
7597 | (add_elt_to_tree): Take a widest_int instead of a double_int. | |
7598 | (aff_combination_to_tree): Use wide-int interfaces. | |
7599 | (aff_combination_remove_elt): Likewise. | |
7600 | (aff_combination_add_product): Take a widest_int instead of | |
7601 | a double_int. | |
7602 | (aff_combination_mult): Use wide-int interfaces. | |
7603 | (aff_combination_expand): Likewise. | |
7604 | (double_int_constant_multiple_p): Delete. | |
7605 | (wide_int_constant_multiple_p): New. | |
7606 | (aff_combination_constant_multiple_p): Take a widest_int pointer | |
7607 | instead of a double_int pointer. | |
7608 | (print_aff): Use wide-int interfaces. | |
7609 | (get_inner_reference_aff): Take a widest_int pointer | |
7610 | instead of a double_int pointer. | |
7611 | (aff_comb_cannot_overlap_p): Take widest_ints instead of double_ints. | |
7612 | * tree-affine.h: Include wide-int.h. | |
7613 | (struct aff_comb_elt): Change type of coef to widest_int. | |
7614 | (struct affine_tree_combination): Change type of offset to widest_int. | |
7615 | (double_int_ext_for_comb): Delete. | |
7616 | (wide_int_ext_for_comb): New. | |
7617 | (aff_combination_const): Use widest_int instead of double_int. | |
7618 | (aff_combination_scale): Likewise. | |
7619 | (aff_combination_add_elt): Likewise. | |
7620 | (aff_combination_constant_multiple_p): Likewise. | |
7621 | (get_inner_reference_aff): Likewise. | |
7622 | (aff_comb_cannot_overlap_p): Likewise. | |
7623 | (aff_combination_zero_p): Use wide-int interfaces. | |
7624 | * tree.c: Include tree.h. | |
7625 | (init_ttree): Use make_int_cst. | |
7626 | (tree_code_size): Removed code for INTEGER_CST case. | |
7627 | (tree_size): Add INTEGER_CST case. | |
7628 | (make_node_stat): Update comment. | |
7629 | (get_int_cst_ext_nunits, build_new_int_cst, build_int_cstu): New. | |
7630 | (build_int_cst_type): Use wide-int interfaces. | |
7631 | (double_int_to_tree): Likewise. | |
7632 | (double_int_fits_to_tree_p): Delete. | |
7633 | (force_fit_type_double): Delete. | |
7634 | (force_fit_type): New. | |
7635 | (int_cst_hash_hash): Use wide-int interfaces. | |
7636 | (int_cst_hash_eq): Likewise. | |
7637 | (build_int_cst_wide): Delete. | |
7638 | (wide_int_to_tree): New. | |
7639 | (cache_integer_cst): Use wide-int interfaces. | |
7640 | (build_low_bits_mask): Likewise. | |
7641 | (cst_and_fits_in_hwi): Likewise. | |
7642 | (real_value_from_int_cst): Likewise. | |
7643 | (make_int_cst_stat): New. | |
7644 | (integer_zerop): Use wide_int interfaces. | |
7645 | (integer_onep): Likewise. | |
7646 | (integer_all_onesp): Likewise. | |
7647 | (integer_pow2p): Likewise. | |
7648 | (integer_nonzerop): Likewise. | |
7649 | (tree_log2): Likewise. | |
7650 | (tree_floor_log2): Likewise. | |
7651 | (tree_ctz): Likewise. | |
7652 | (int_size_in_bytes): Likewise. | |
7653 | (mem_ref_offset): Return an offset_int rather than a double_int. | |
7654 | (build_type_attribute_qual_variant): Use wide_int interfaces. | |
7655 | (type_hash_eq): Likewise | |
7656 | (tree_int_cst_equal): Likewise. | |
7657 | (tree_int_cst_lt): Delete. | |
7658 | (tree_int_cst_compare): Likewise. | |
7659 | (tree_fits_shwi_p): Use wide_int interfaces. | |
7660 | (tree_fits_uhwi_p): Likewise. | |
7661 | (tree_int_cst_sign_bit): Likewise. | |
7662 | (tree_int_cst_sgn): Likewise. | |
7663 | (tree_int_cst_min_precision): Take a signop rather than a bool. | |
7664 | (simple_cst_equal): Use wide_int interfaces. | |
7665 | (compare_tree_int): Likewise. | |
7666 | (iterative_hash_expr): Likewise. | |
7667 | (int_fits_type_p): Likewise. Use tree_int_cst_lt rather than | |
7668 | INT_CST_LT. | |
7669 | (get_type_static_bounds): Use wide_int interfaces. | |
7670 | (tree_int_cst_elt_check_failed): New. | |
7671 | (build_common_tree_nodes): Reordered to set prec before filling in | |
7672 | value. | |
7673 | (int_cst_value): Check cst_and_fits_in_hwi. | |
7674 | (widest_int_cst_value): Use wide_int interfaces. | |
7675 | (upper_bound_in_type): Likewise. | |
7676 | (lower_bound_in_type): Likewise. | |
7677 | (num_ending_zeros): Likewise. | |
7678 | (drop_tree_overflow): Likewise. | |
7679 | * tree-call-cdce.c (check_pow): Update call to real_from_integer. | |
7680 | (gen_conditions_for_pow_cst_base): Likewise. | |
7681 | * tree-cfg.c: Include wide-int.h and wide-int-print.h. | |
7682 | (group_case_labels_stmt): Use wide-int interfaces. | |
7683 | (verify_gimple_assign_binary): Likewise. | |
7684 | (print_loop): Likewise. | |
7685 | * tree-chrec.c (tree_fold_binomial): Likewise. | |
7686 | * tree-core.h (struct tree_base): Add int_length. | |
7687 | (struct tree_int_cst): Change rep of value. | |
7688 | * tree-data-ref.c (dr_analyze_innermost): Use wide-int interfaces. | |
7689 | (dr_may_alias_p): Likewise. | |
7690 | (max_stmt_executions_tree): Likewise. | |
7691 | * tree.def (INTEGER_CST): Update comment. | |
7692 | * tree-dfa.c (get_ref_base_and_extent): Use wide-int interfaces. | |
7693 | * tree-dfa.h (get_addr_base_and_unit_offset_1): Likewise. | |
7694 | * tree-dump.c: Include wide-int.h and wide-int-print.h. | |
7695 | (dequeue_and_dump): Use wide-int interfaces. | |
7696 | * tree.h: Include wide-int.h. | |
7697 | (NULL_TREE): Moved to earlier loc in file. | |
7698 | (TREE_INT_CST_ELT_CHECK): New. | |
7699 | (tree_int_cst_elt_check_failed): New. | |
7700 | (TYPE_SIGN): New. | |
7701 | (TREE_INT_CST): Delete. | |
7702 | (TREE_INT_CST_LOW): Use wide-int interfaces. | |
7703 | (TREE_INT_CST_HIGH): Delete. | |
7704 | (TREE_INT_CST_NUNITS): New. | |
7705 | (TREE_INT_CST_EXT_NUNITS): Likewise. | |
7706 | (TREE_INT_CST_OFFSET_NUNITS): Likewise. | |
7707 | (TREE_INT_CST_ELT): Likewise. | |
7708 | (INT_CST_LT): Delete. | |
7709 | (tree_int_cst_elt_check): New (two forms). | |
7710 | (type_code_size): Update comment. | |
7711 | (make_int_cst_stat, make_int_cst): New. | |
7712 | (tree_to_double_int): Delete. | |
7713 | (double_int_fits_to_tree_p): Delete. | |
7714 | (force_fit_type_double): Delete. | |
7715 | (build_int_cstu): Replace with out-of-line function. | |
7716 | (build_int_cst_wide): Delete. | |
7717 | (tree_int_cst_lt): Define inline. | |
7718 | (tree_int_cst_le): New. | |
7719 | (tree_int_cst_compare): Define inline. | |
7720 | (tree_int_cst_min_precision): Take a signop rather than a bool. | |
7721 | (wi::int_traits <const_tree>): New. | |
7722 | (wi::int_traits <tree>): New. | |
7723 | (wi::extended_tree): New. | |
7724 | (wi::int_traits <wi::extended_tree>): New. | |
7725 | (wi::to_widest): New. | |
7726 | (wi::to_offset): New. | |
7727 | (wi::fits_to_tree_p): New. | |
7728 | (wi::min_value): New. | |
7729 | (wi::max_value): New. | |
7730 | * tree-inline.c (remap_gimple_op_r): Use wide-int interfaces. | |
7731 | (copy_tree_body_r): Likewise. | |
7732 | * tree-object-size.c (compute_object_offset): Likewise. | |
7733 | (addr_object_size): Likewise. | |
7734 | * tree-predcom.c: Include wide-int-print.h. | |
7735 | (struct dref_d): Change type of offset to widest_int. | |
7736 | (dump_dref): Call wide-int printer. | |
7737 | (aff_combination_dr_offset): Use wide-int interfaces. | |
7738 | (determine_offset): Take a widest_int pointer rather than a | |
7739 | double_int pointer. | |
7740 | (split_data_refs_to_components): Use wide-int interfaces. | |
7741 | (suitable_component_p): Likewise. | |
7742 | (order_drefs): Likewise. | |
7743 | (add_ref_to_chain): Likewise. | |
7744 | (valid_initializer_p): Likewise. | |
7745 | (determine_roots_comp): Likewise. | |
7746 | * tree-pretty-print.c: Include wide-int-print.h. | |
7747 | (dump_generic_node): Use wide-int interfaces. | |
7748 | * tree-sra.c (sra_ipa_modify_expr): Likewise. | |
7749 | * tree-ssa-address.c (addr_for_mem_ref): Likewise. | |
7750 | (move_fixed_address_to_symbol): Likewise. | |
7751 | (move_hint_to_base): Likewise. | |
7752 | (move_pointer_to_base): Likewise. | |
7753 | (move_variant_to_index): Likewise. | |
7754 | (most_expensive_mult_to_index): Likewise. | |
7755 | (addr_to_parts): Likewise. | |
7756 | (copy_ref_info): Likewise. | |
7757 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Likewise. | |
7758 | (indirect_refs_may_alias_p): Likewise. | |
7759 | (stmt_kills_ref_p_1): Likewise. | |
7760 | * tree-ssa.c (non_rewritable_mem_ref_base): Likewise. | |
7761 | * tree-ssa-ccp.c: Update comment at top of file. Include | |
7762 | wide-int-print.h. | |
7763 | (struct prop_value_d): Change type of mask to widest_int. | |
7764 | (extend_mask): New function. | |
7765 | (dump_lattice_value): Use wide-int interfaces. | |
7766 | (get_default_value): Likewise. | |
7767 | (set_constant_value): Likewise. | |
7768 | (set_value_varying): Likewise. | |
7769 | (valid_lattice_transition): Likewise. | |
7770 | (set_lattice_value): Likewise. | |
7771 | (value_to_double_int): Delete. | |
7772 | (value_to_wide_int): New. | |
7773 | (get_value_from_alignment): Use wide-int interfaces. | |
7774 | (get_value_for_expr): Likewise. | |
7775 | (do_dbg_cnt): Likewise. | |
7776 | (ccp_finalize): Likewise. | |
7777 | (ccp_lattice_meet): Likewise. | |
7778 | (bit_value_unop_1): Use widest_ints rather than double_ints. | |
7779 | (bit_value_binop_1): Likewise. | |
7780 | (bit_value_unop): Use wide-int interfaces. | |
7781 | (bit_value_binop): Likewise. | |
7782 | (bit_value_assume_aligned): Likewise. | |
7783 | (evaluate_stmt): Likewise. | |
7784 | (ccp_fold_stmt): Likewise. | |
7785 | (visit_cond_stmt): Likewise. | |
7786 | (ccp_visit_stmt): Likewise. | |
7787 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Likewise. | |
7788 | (constant_pointer_difference): Likewise. | |
7789 | (associate_pointerplus): Likewise. | |
7790 | (combine_conversions): Likewise. | |
7791 | * tree-ssa-loop.h: Include wide-int.h. | |
7792 | (struct tree_niter_desc): Change type of max to widest_int. | |
7793 | * tree-ssa-loop-im.c (mem_refs_may_alias_p): Use wide-int interfaces. | |
7794 | * tree-ssa-loop-ivcanon.c (remove_exits_and_undefined_stmts): Likewise. | |
7795 | (remove_redundant_iv_tests): Likewise. | |
7796 | (canonicalize_loop_induction_variables): Likewise. | |
7797 | * tree-ssa-loop-ivopts.c (alloc_iv): Likewise. | |
7798 | (constant_multiple_of): Take a widest_int pointer instead of | |
7799 | a double_int pointer. | |
7800 | (get_computation_aff): Use wide-int interfaces. | |
7801 | (ptr_difference_cost): Likewise. | |
7802 | (difference_cost): Likewise. | |
7803 | (get_loop_invariant_expr_id): Likewise. | |
7804 | (get_computation_cost_at): Likewise. | |
7805 | (iv_elimination_compare_lt): Likewise. | |
7806 | (may_eliminate_iv): Likewise. | |
7807 | * tree-ssa-loop-niter.h (estimated_loop_iterations): Use widest_int | |
7808 | instead of double_int. | |
7809 | (max_loop_iterations): Likewise. | |
7810 | (max_stmt_executions): Likewise. | |
7811 | (estimated_stmt_executions): Likewise. | |
7812 | * tree-ssa-loop-niter.c: Include wide-int-print.h. | |
7813 | (split_to_var_and_offset): Use wide-int interfaces. | |
7814 | (determine_value_range): Likewise. | |
7815 | (bound_difference_of_offsetted_base): Likewise. | |
7816 | (bounds_add): Take a widest_int instead of a double_int. | |
7817 | (number_of_iterations_ne_max): Use wide-int interfaces. | |
7818 | (number_of_iterations_ne): Likewise. | |
7819 | (number_of_iterations_lt_to_ne): Likewise. | |
7820 | (assert_loop_rolls_lt): Likewise. | |
7821 | (number_of_iterations_lt): Likewise. | |
7822 | (number_of_iterations_le): Likewise. | |
7823 | (number_of_iterations_cond): Likewise. | |
7824 | (number_of_iterations_exit): Likewise. | |
7825 | (finite_loop_p): Likewise. | |
7826 | (derive_constant_upper_bound_assign): Likewise. | |
7827 | (derive_constant_upper_bound): Return a widest_int. | |
7828 | (derive_constant_upper_bound_ops): Likewise. | |
7829 | (do_warn_aggressive_loop_optimizations): Use wide-int interfaces. | |
7830 | (record_estimate): Take a widest_int rather than a double_int. | |
7831 | (record_nonwrapping_iv): Use wide-int interfaces. | |
7832 | (double_int_cmp): Delete. | |
7833 | (wide_int_cmp): New. | |
7834 | (bound_index): Take a widest_int rather than a double_int. | |
7835 | (discover_iteration_bound_by_body_walk): Use wide-int interfaces. | |
7836 | (maybe_lower_iteration_bound): Likewise. | |
7837 | (estimate_numbers_of_iterations_loop): Likewise. | |
7838 | (estimated_loop_iterations): Take a widest_int pointer than than | |
7839 | a double_int pointer. | |
7840 | (estimated_loop_iterations_int): Use wide-int interfaces. | |
7841 | (max_loop_iterations): Take a widest_int pointer than than | |
7842 | a double_int pointer. | |
7843 | (max_loop_iterations_int): Use wide-int interfaces. | |
7844 | (max_stmt_executions): Take a widest_int pointer than than | |
7845 | a double_int pointer. | |
7846 | (estimated_stmt_executions): Likewise. | |
7847 | (n_of_executions_at_most): Use wide-int interfaces. | |
7848 | (scev_probably_wraps_p): Likewise. | |
7849 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Update calls | |
7850 | to real_to_integer. | |
7851 | * tree-scalar-evolution.c (simplify_peeled_chrec): Use wide-int | |
7852 | interfaces. | |
7853 | * tree-ssanames.c (set_range_info): Use wide_int_refs rather than | |
7854 | double_ints. Adjust for trailing_wide_ints <3> representation. | |
7855 | (set_nonzero_bits): Likewise. | |
7856 | (get_range_info): Return wide_ints rather than double_ints. | |
7857 | Adjust for trailing_wide_ints <3> representation. | |
7858 | (get_nonzero_bits): Likewise. | |
7859 | (duplicate_ssa_name_range_info): Adjust for trailing_wide_ints <3> | |
7860 | representation. | |
7861 | * tree-ssanames.h (struct range_info_def): Replace min, max and | |
7862 | nonzero_bits with a trailing_wide_ints <3>. | |
7863 | (set_range_info): Use wide_int_refs rather than double_ints. | |
7864 | (set_nonzero_bits): Likewise. | |
7865 | (get_range_info): Return wide_ints rather than double_ints. | |
7866 | (get_nonzero_bits): Likewise. | |
7867 | * tree-ssa-phiopt.c (jump_function_from_stmt): Use wide-int interfaces. | |
7868 | * tree-ssa-pre.c (phi_translate_1): Likewise. | |
7869 | * tree-ssa-reassoc.c (decrement_power): Use calls to real_from_integer. | |
7870 | (acceptable_pow_call): Likewise. | |
7871 | * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Use wide-int | |
7872 | interfaces. | |
7873 | (vn_reference_fold_indirect): Likewise. | |
7874 | (vn_reference_maybe_forwprop_address): Likewise. | |
7875 | (valueize_refs_1): Likewise. | |
7876 | * tree-ssa-structalias.c (get_constraint_for_ptr_offset): Likewise. | |
7877 | * tree-ssa-uninit.c (is_value_included_in): Use wide-int interfaces, | |
7878 | tree_int_cst_lt and tree_int_cst_le. | |
7879 | * tree-streamer-in.c (unpack_ts_base_value_fields): Use wide-int | |
7880 | interfaces. | |
7881 | (streamer_alloc_tree): Likewise. | |
7882 | * tree-streamer-out.c (pack_ts_int_cst_value_fields): Likewise. | |
7883 | (streamer_write_tree_header): Likewise. | |
7884 | (streamer_write_integer_cst): Likewise. | |
7885 | * tree-switch-conversion.c (emit_case_bit_tests): Likewise. | |
7886 | (build_constructors): Likewise. | |
7887 | (array_value_type): Likewise. | |
7888 | * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list): Likewise. | |
7889 | (vect_check_gather): Likewise. | |
7890 | * tree-vect-generic.c (build_replicated_const): Likewise. | |
7891 | (expand_vector_divmod): Likewise. | |
7892 | * tree-vect-loop.c (vect_transform_loop): Likewise. | |
7893 | * tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound): Likewise. | |
7894 | (vect_do_peeling_for_alignment): Likewise. | |
7895 | * tree-vect-patterns.c (vect_recog_divmod_pattern): Likewise. | |
7896 | * tree-vrp.c: Include wide-int.h. | |
7897 | (operand_less_p): Use wide-int interfaces and tree_int_cst_lt. | |
7898 | (extract_range_from_assert): Use wide-int interfaces. | |
7899 | (vrp_int_const_binop): Likewise. | |
7900 | (zero_nonzero_bits_from_vr): Take wide_int pointers rather than | |
7901 | double_int pointers. | |
7902 | (ranges_from_anti_range): Use wide-int interfaces. | |
7903 | (quad_int_cmp): Delete. | |
7904 | (quad_int_pair_sort): Likewise. | |
7905 | (extract_range_from_binary_expr_1): Use wide-int interfaces. | |
7906 | (extract_range_from_unary_expr_1): Likewise. | |
7907 | (adjust_range_with_scev): Likewise. | |
7908 | (masked_increment): Take and return wide_ints rather than double_ints. | |
7909 | (register_edge_assert_for_2): Use wide-int interfaces. | |
7910 | (check_array_ref): Likewise. | |
7911 | (search_for_addr_array): Likewise. | |
7912 | (maybe_set_nonzero_bits): Likewise. | |
7913 | (union_ranges): Pass an integer of the correct type instead of | |
7914 | using integer_one_node. | |
7915 | (intersect_ranges): Likewise. | |
7916 | (simplify_truth_ops_using_ranges): Likewise. | |
7917 | (simplify_bit_ops_using_ranges): Use wide-int interfaces. | |
7918 | (range_fits_type_p): Likewise. | |
7919 | (simplify_cond_using_ranges): Likewise. Take a signop rather than | |
7920 | a bool. | |
7921 | (simplify_conversion_using_ranges): Use wide-int interfaces. | |
7922 | (simplify_float_conversion_using_ranges): Likewise. | |
7923 | (vrp_finalize): Likewise. | |
7924 | * value-prof.c (gimple_divmod_fixed_value_transform): Likewise. | |
7925 | (gimple_stringops_transform): Likewise. | |
7926 | * varasm.c (decode_addr_const): Likewise. | |
7927 | (const_hash_1): Likewise. | |
7928 | (const_rtx_hash_1): Likewise | |
7929 | (output_constant): Likewise. | |
7930 | (array_size_for_constructor): Likewise. | |
7931 | (output_constructor_regular_field): Likewise. | |
7932 | (output_constructor_bitfield): Likewise. | |
7933 | * var-tracking.c (loc_cmp): Handle CONST_WIDE_INT. | |
7934 | * mkconfig.sh: Include machmode.h to pick up BITS_PER_UNIT for | |
7935 | GENERATOR_FILEs. | |
7936 | * gencheck.c: Define BITS_PER_UNIT. | |
7937 | * wide-int.cc: New. | |
7938 | * wide-int.h: New. | |
7939 | * wide-int-print.cc: New. | |
7940 | * wide-int-print.h: New. | |
7941 | ||
3134fb19 JBG |
7942 | 2014-05-06 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
7943 | ||
7944 | * config/avr/avr.c (avr_can_eliminate): Mark unused argument. | |
7945 | ||
3bea341f RB |
7946 | 2014-05-06 Richard Biener <rguenther@suse.de> |
7947 | ||
7948 | * tree-pass.h (TODO_verify_ssa, TODO_verify_flow, | |
7949 | TODO_verify_stmts, TODO_verify_rtl_sharing): Remove. | |
7950 | (TODO_verify_all): Adjust. | |
7951 | * asan.c: Remove references to TODO_verify_ssa, TODO_verify_flow, | |
7952 | TODO_verify_stmts and TODO_verify_rtl_sharing. | |
7953 | * bb-reorder.c: Likewise. | |
7954 | * cfgexpand.c: Likewise. | |
7955 | * cprop.c: Likewise. | |
7956 | * cse.c: Likewise. | |
7957 | * function.c: Likewise. | |
7958 | * fwprop.c: Likewise. | |
7959 | * gcse.c: Likewise. | |
7960 | * gimple-ssa-isolate-paths.c: Likewise. | |
7961 | * gimple-ssa-strength-reduction.c: Likewise. | |
7962 | * ipa-split.c: Likewise. | |
7963 | * loop-init.c: Likewise. | |
7964 | * loop-unroll.c: Likewise. | |
7965 | * lower-subreg.c: Likewise. | |
7966 | * modulo-sched.c: Likewise. | |
7967 | * postreload-gcse.c: Likewise. | |
7968 | * predict.c: Likewise. | |
7969 | * recog.c: Likewise. | |
7970 | * sched-rgn.c: Likewise. | |
7971 | * store-motion.c: Likewise. | |
7972 | * tracer.c: Likewise. | |
7973 | * trans-mem.c: Likewise. | |
7974 | * tree-call-cdce.c: Likewise. | |
7975 | * tree-cfg.c: Likewise. | |
7976 | * tree-cfgcleanup.c: Likewise. | |
7977 | * tree-complex.c: Likewise. | |
7978 | * tree-eh.c: Likewise. | |
7979 | * tree-emutls.c: Likewise. | |
7980 | * tree-if-conv.c: Likewise. | |
7981 | * tree-into-ssa.c: Likewise. | |
7982 | * tree-loop-distribution.c: Likewise. | |
7983 | * tree-object-size.c: Likewise. | |
7984 | * tree-parloops.c: Likewise. | |
7985 | * tree-pass.h: Likewise. | |
7986 | * tree-sra.c: Likewise. | |
7987 | * tree-ssa-ccp.c: Likewise. | |
7988 | * tree-ssa-copy.c: Likewise. | |
7989 | * tree-ssa-copyrename.c: Likewise. | |
7990 | * tree-ssa-dce.c: Likewise. | |
7991 | * tree-ssa-dom.c: Likewise. | |
7992 | * tree-ssa-dse.c: Likewise. | |
7993 | * tree-ssa-forwprop.c: Likewise. | |
7994 | * tree-ssa-ifcombine.c: Likewise. | |
7995 | * tree-ssa-loop-ch.c: Likewise. | |
7996 | * tree-ssa-loop-ivcanon.c: Likewise. | |
7997 | * tree-ssa-loop.c: Likewise. | |
7998 | * tree-ssa-math-opts.c: Likewise. | |
7999 | * tree-ssa-phiopt.c: Likewise. | |
8000 | * tree-ssa-phiprop.c: Likewise. | |
8001 | * tree-ssa-pre.c: Likewise. | |
8002 | * tree-ssa-reassoc.c: Likewise. | |
8003 | * tree-ssa-sink.c: Likewise. | |
8004 | * tree-ssa-strlen.c: Likewise. | |
8005 | * tree-ssa-tail-merge.c: Likewise. | |
8006 | * tree-ssa-uncprop.c: Likewise. | |
8007 | * tree-switch-conversion.c: Likewise. | |
8008 | * tree-tailcall.c: Likewise. | |
8009 | * tree-vect-generic.c: Likewise. | |
8010 | * tree-vectorizer.c: Likewise. | |
8011 | * tree-vrp.c: Likewise. | |
8012 | * tsan.c: Likewise. | |
8013 | * var-tracking.c: Likewise. | |
8014 | * bt-load.c: Likewise. | |
8015 | * cfgcleanup.c: Likewise. | |
8016 | * combine-stack-adj.c: Likewise. | |
8017 | * combine.c: Likewise. | |
8018 | * compare-elim.c: Likewise. | |
8019 | * config/epiphany/resolve-sw-modes.c: Likewise. | |
8020 | * config/i386/i386.c: Likewise. | |
8021 | * config/mips/mips.c: Likewise. | |
8022 | * config/s390/s390.c: Likewise. | |
8023 | * config/sh/sh_treg_combine.cc: Likewise. | |
8024 | * config/sparc/sparc.c: Likewise. | |
8025 | * dce.c: Likewise. | |
8026 | * dse.c: Likewise. | |
8027 | * final.c: Likewise. | |
8028 | * ifcvt.c: Likewise. | |
8029 | * mode-switching.c: Likewise. | |
8030 | * passes.c: Likewise. | |
8031 | * postreload.c: Likewise. | |
8032 | * ree.c: Likewise. | |
8033 | * reg-stack.c: Likewise. | |
8034 | * regcprop.c: Likewise. | |
8035 | * regrename.c: Likewise. | |
8036 | * web.c: Likewise. | |
8037 | ||
3d224d46 RB |
8038 | 2014-05-06 Richard Biener <rguenther@suse.de> |
8039 | ||
8040 | PR middle-end/61070 | |
8041 | * bitmap.c (debug_bitmap): Dump to stderr, not stdout. | |
8042 | * tree-ssa-structalias.c (dump_solution_for_var): Likewise. | |
8043 | ||
e400f081 JH |
8044 | 2014-05-05 Jan Hubicka <hubicka@ucw.cz> |
8045 | ||
8046 | PR ipa/60965 | |
8047 | * ipa-devirt.c (get_class_context): Allow POD to change to non-POD. | |
8048 | ||
aaeaa9a9 | 8049 | 2014-05-05 Radovan Obradovic <robradovic@mips.com> |
b6db8af6 | 8050 | Tom de Vries <tom@codesourcery.com> |
aaeaa9a9 | 8051 | |
b6db8af6 UB |
8052 | * target.def (call_fusage_contains_non_callee_clobbers): New |
8053 | DEFHOOKPOD. | |
aaeaa9a9 RO |
8054 | * doc/tm.texi.in (@node Stack and Calling): Add Miscellaneous Register |
8055 | Hooks to @menu. | |
8056 | (@node Miscellaneous Register Hooks): New node. | |
8057 | (@hook TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): New hook. | |
8058 | * doc/tm.texi: Regenerate. | |
8059 | ||
c2ac23fe MP |
8060 | 2014-05-05 Marek Polacek <polacek@redhat.com> |
8061 | ||
8062 | PR driver/61065 | |
8063 | * opts.c (common_handle_option): Call error_at instead of warning_at. | |
8064 | ||
0db74577 RB |
8065 | 2014-05-05 Richard Biener <rguenther@suse.de> |
8066 | ||
8067 | * passes.c (execute_function_todo): Don't reset TODO_verify_ssa | |
8068 | from last_verified if update_ssa ran. Move TODO_verify_rtl_sharing | |
8069 | under the TODO_verify_il umbrella. | |
8070 | ||
7e7f8713 RB |
8071 | 2014-05-05 Richard Biener <rguenther@suse.de> |
8072 | ||
8073 | * passes.c (execute_function_todo): Move TODO_verify_flow under | |
8074 | the TODO_verify_ul umbrella. | |
8075 | ||
7e2c9f14 RB |
8076 | 2014-05-05 Richard Biener <rguenther@suse.de> |
8077 | ||
8078 | PR middle-end/61010 | |
b6db8af6 UB |
8079 | * fold-const.c (fold_binary_loc): Consistently avoid canonicalizing |
8080 | X & CST away from a CST that is the mask of a mode. | |
7e2c9f14 | 8081 | |
33ecf108 JBG |
8082 | 2014-05-05 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
8083 | ||
8084 | * config/picochip/picochip-protos.h (picochip_regno_nregs): Change | |
8085 | int argument to enum machine_mode. | |
8086 | (picochip_class_max_nregs): Ditto. | |
8087 | * config/picochip/picochip.c (picochip_regno_nregs): Ditto. | |
8088 | (picochip_class_max_nregs): Ditto. | |
8089 | ||
d56a43a0 AK |
8090 | 2014-05-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
8091 | ||
8092 | * target.def: Add new target hook. | |
8093 | * doc/tm.texi: Regenerate. | |
8094 | * targhooks.h (default_keep_leaf_when_profiled): Add prototype. | |
8095 | * targhooks.c (default_keep_leaf_when_profiled): New function. | |
8096 | ||
8097 | * config/s390/s390.c (s390_keep_leaf_when_profiled): New function. | |
8098 | (TARGET_KEEP_LEAF_WHEN_PROFILED): Define. | |
8099 | ||
cb8f1a57 BC |
8100 | 2014-05-05 Bin Cheng <bin.cheng@arm.com> |
8101 | ||
8102 | PR tree-optimization/60363 | |
8103 | * gcc/tree-ssa-threadupdate.c (get_value_locus_in_path): New. | |
8104 | (copy_phi_args): New parameters. Call get_value_locus_in_path. | |
8105 | (update_destination_phis): New parameter. | |
8106 | (create_edge_and_update_destination_phis): Ditto. | |
8107 | (ssa_fix_duplicate_block_edges): Pass new arguments. | |
8108 | (thread_single_edge): Ditto. | |
8109 | ||
f93bc5b3 PB |
8110 | 2014-05-04 Peter Bergner <bergner@vnet.ibm.com> |
8111 | ||
8112 | * config/rs6000/rs6000.h (RS6000_BTM_HARD_FLOAT): New define. | |
8113 | (RS6000_BTM_COMMON): Add RS6000_BTM_HARD_FLOAT. | |
8114 | (TARGET_EXTRA_BUILTINS): Add TARGET_HARD_FLOAT. | |
8115 | * config/rs6000/rs6000-builtin.def (BU_MISC_1): | |
8116 | Use RS6000_BTM_HARD_FLOAT. | |
8117 | (BU_MISC_2): Likewise. | |
8118 | * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Handle | |
8119 | RS6000_BTM_HARD_FLOAT. | |
8120 | (rs6000_option_override_internal): Enforce -mhard-float if -mhard-dfp | |
8121 | is explicitly used. | |
8122 | (rs6000_invalid_builtin): Add hard floating builtin support. | |
8123 | (rs6000_expand_builtin): Relax the gcc_assert to allow the new | |
8124 | hard float builtins. | |
8125 | (rs6000_builtin_mask_names): Add RS6000_BTM_HARD_FLOAT. | |
8126 | ||
579f4e64 OE |
8127 | 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org> |
8128 | ||
8129 | * config/sh/sh_optimize_sett_clrt.cc (sh_optimize_sett_clrt::execute): | |
8130 | Add missing function* argument. | |
8131 | ||
0be7287d RS |
8132 | 2014-05-03 Richard Sandiford <rdsandiford@googlemail.com> |
8133 | ||
8134 | * lra-constraints.c (valid_address_p): Move earlier in file. | |
8135 | Add a constraint argument to the address_info version. | |
8136 | (satisfies_memory_constraint_p): New function. | |
8137 | (satisfies_address_constraint_p): Likewise. | |
8138 | (process_alt_operands, curr_insn_transform): Use them. | |
8139 | (process_address): Pass the constraint to valid_address_p when | |
8140 | checking address operands. | |
8141 | ||
ad782bc9 RS |
8142 | 2014-05-03 Richard Sandiford <rdsandiford@googlemail.com> |
8143 | ||
8144 | * config/mips/mips.c (mips_isa_rev): New variable. | |
8145 | (mips_set_architecture): Set it. | |
8146 | * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Set __mips_isa_rev | |
8147 | from mips_isa_rev. | |
8148 | (ISA_HAS_MUL3, ISA_HAS_FP_CONDMOVE, ISA_HAS_8CC, ISA_HAS_FP4) | |
8149 | (ISA_HAS_PAIRED_SINGLE, ISA_HAS_MADD_MSUB, ISA_HAS_FP_RECIP_RSQRT) | |
8150 | (ISA_HAS_CLZ_CLO, ISA_HAS_ROR, ISA_HAS_WSBH, ISA_HAS_PREFETCH) | |
8151 | (ISA_HAS_SEB_SEH, ISA_HAS_EXT_INS, ISA_HAS_MXHC1) | |
8152 | (ISA_HAS_HILO_INTERLOCKS, ISA_HAS_SYNCI, MIN_FPRS_PER_FMT): Reexpress | |
8153 | conditions in terms of mips_isa_rev. | |
8154 | (mips_isa_rev): Declare. | |
8155 | ||
45731f37 OE |
8156 | 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org> |
8157 | ||
8158 | * config/sh/sh-mem.cc: Use tabs instead of spaces. | |
8159 | (prob_unlikely, prob_likely): Make variables const. | |
8160 | ||
c61dfa63 DC |
8161 | 2014-05-03 Denis Chertykov <chertykov@gmail.com> |
8162 | ||
8163 | * config/avr/avr.c (avr_adjust_insn_length): Handle JUMP_TABLE_DATA. | |
8164 | ||
1b8da635 OE |
8165 | 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org> |
8166 | ||
8167 | * config/sh/sh.h (SH_ASM_SPEC): Handle m1, m2*, m3* and m4* cases. | |
8168 | ||
f6982a08 OE |
8169 | 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org> |
8170 | ||
8171 | * config/sh/sh.h (ROUND_ADVANCE): Delete macro. | |
8172 | (ROUND_REG, PASS_IN_REG_P): Move and rename macros to ... | |
8173 | * config/sh/sh.c (sh_round_reg, sh_pass_in_reg_p): ... these new | |
8174 | functions. | |
8175 | (sh_arg_partial_bytes, sh_function_arg, sh_function_arg_advance, | |
8176 | sh_setup_incoming_varargs): Replace usage of PASS_IN_REG_P with | |
8177 | sh_pass_in_reg_p. | |
8178 | Replace usage of ROUND_REG with sh_round_reg. | |
8179 | Use CEIL instead of ROUND_ADVANCE. | |
8180 | ||
0bcf70f8 OE |
8181 | 2014-05-03 Oleg Endo <olegendo@gcc.gnu.org> |
8182 | ||
8183 | PR target/61026 | |
8184 | * config/sh/sh.c: Include stdlib headers before everything else. | |
8185 | ||
95782571 JJ |
8186 | 2014-05-02 Jakub Jelinek <jakub@redhat.com> |
8187 | ||
8188 | * gimplify.c (gimplify_adjust_omp_clauses_1): Handle | |
8189 | GOVD_FIRSTPRIVATE | GOVD_LASTPRIVATE. | |
8190 | (gimplify_adjust_omp_clauses): Simd region is never | |
8191 | directly nested in combined parallel. Instead, for linear | |
8192 | with copyin/copyout, if in combined for simd loop, make decl | |
8193 | firstprivate/lastprivate on OMP_FOR. | |
8194 | * omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk, | |
8195 | expand_omp_for_static_chunk): When setting endvar, also set | |
8196 | fd->loop.v to the same value. | |
8197 | ||
e13b3dfd RS |
8198 | 2014-05-02 Richard Sandiford <rsandifo@linux.vnet.ibm.com> |
8199 | ||
8200 | * hwint.h (zext_hwi): Fix signed overflow for prec == 63. | |
8201 | ||
0696116a AL |
8202 | 2014-05-02 Alan Lawrence <alan.lawrence@arm.com> |
8203 | ||
8204 | * config/aarch64/aarch64.c (aarch64_expand_vec_perm_1): Tidy bit-flip | |
8205 | expression. | |
8206 | ||
fb90f9f3 MP |
8207 | 2014-05-02 Marek Polacek <polacek@redhat.com> |
8208 | ||
8209 | * doc/invoke.texi: Describe -fsanitize=float-divide-by-zero. | |
8210 | ||
153df826 | 8211 | 2014-05-02 Kito Cheng <kito@0xlab.org> |
ed15c598 KC |
8212 | |
8213 | * defaults.h (HONOR_REG_ALLOC_ORDER): Change HONOR_REG_ALLOC_ORDER | |
8214 | to a C expression marco. | |
8215 | * ira-color.c (HONOR_REG_ALLOC_ORDER) : Ditto. | |
8216 | * config/arm/arm.h (HONOR_REG_ALLOC_ORDER): Ditto. | |
8217 | * config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Ditto. | |
8218 | * doc/tm.texi (HONOR_REG_ALLOC_ORDER): Update document for | |
8219 | HONOR_REG_ALLOC_ORDER. | |
8220 | * doc/tm.texi.in (HONOR_REG_ALLOC_ORDER): Ditto. | |
8221 | ||
53c8d5a7 JBG |
8222 | 2014-05-01 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
8223 | ||
8224 | * config/arc/arc.c (TARGET_LRA_P): Undef before redefine. | |
8225 | ||
486c559b JBG |
8226 | 2014-05-01 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
8227 | ||
8228 | * config/arc/arc.c (arc_select_cc_mode): Fix typo. | |
8229 | ||
944052b9 YR |
8230 | 2014-05-01 Yuri Rumyantsev <ysrumyan@gmail.com> |
8231 | ||
8232 | * tree-if-conv.c (is_cond_scalar_reduction): New function. | |
8233 | (convert_scalar_cond_reduction): Likewise. | |
8234 | (predicate_scalar_phi): Add recognition and transformation | |
8235 | of simple conditioanl reduction to be vectorizable. | |
8236 | ||
d00887e8 MP |
8237 | 2014-05-01 Marek Polacek <polacek@redhat.com> |
8238 | ||
8239 | PR c/43245 | |
8240 | * doc/invoke.texi: Document -Wdiscarded-qualifiers. | |
8241 | ||
7211512a AL |
8242 | 2014-04-30 Alan Lawrence <alan.lawrence@arm.com> |
8243 | ||
8244 | * config/aarch64/arm_neon.h (vuzp1_f32, vuzp1_p8, vuzp1_p16, vuzp1_s8, | |
8245 | vuzp1_s16, vuzp1_s32, vuzp1_u8, vuzp1_u16, vuzp1_u32, vuzp1q_f32, | |
8246 | vuzp1q_f64, vuzp1q_p8, vuzp1q_p16, vuzp1q_s8, vuzp1q_s16, vuzp1q_s32, | |
8247 | vuzp1q_s64, vuzp1q_u8, vuzp1q_u16, vuzp1q_u32, vuzp1q_u64, vuzp2_f32, | |
8248 | vuzp2_p8, vuzp2_p16, vuzp2_s8, vuzp2_s16, vuzp2_s32, vuzp2_u8, | |
8249 | vuzp2_u16, vuzp2_u32, vuzp2q_f32, vuzp2q_f64, vuzp2q_p8, vuzp2q_p16, | |
8250 | vuzp2q_s8, vuzp2q_s16, vuzp2q_s32, vuzp2q_s64, vuzp2q_u8, vuzp2q_u16, | |
8251 | vuzp2q_u32, vuzp2q_u64): Replace temporary asm with __builtin_shuffle. | |
8252 | ||
e5bd20a4 JR |
8253 | 2014-04-30 Joern Rennecke <joern.rennecke@embecosm.com> |
8254 | ||
8255 | * config/arc/arc.opt (mlra): Move comment above option name | |
8256 | to avoid mis-parsing as language options. | |
8257 | ||
2cf03b11 RO |
8258 | 2014-04-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8259 | ||
8260 | * config/sol2-10.h (TARGET_LIBC_HAS_FUNCTION): Move ... | |
8261 | * config/sol2.h: ... here. | |
8262 | * config/sol2-10.h: Remove. | |
8263 | ||
8264 | * config/sol2-bi.h (WCHAR_TYPE, WCHAR_TYPE_SIZE, WINT_TYPE) | |
8265 | (WINT_TYPE_SIZE, MULTILIB_DEFAULTS, DEF_ARCH32_SPEC) | |
8266 | (DEF_ARCH64_SPEC, ASM_CPU_DEFAULT_SPEC, LINK_ARCH64_SPEC_BASE) | |
8267 | (LINK_ARCH64_SPEC, ARCH_DEFAULT_EMULATION, TARGET_LD_EMULATION) | |
8268 | (LINK_ARCH_SPEC, SUBTARGET_EXTRA_SPECS): Move ... | |
8269 | * config/sol2.h: ... here. | |
8270 | (SECTION_NAME_FORMAT): Don't redefine. | |
8271 | (STARTFILE_ARCH32_SPEC): Rename to ... | |
8272 | (STARTFILE_ARCH_SPEC): ... this. | |
8273 | (ASM_OUTPUT_ALIGNED_COMMON): Move ... | |
8274 | * config/sparc/sol2.h: ... here. | |
8275 | (SECTION_NAME_FORMAT): Don't undef. | |
8276 | * config/i386/sol2.h (ASM_CPU_DEFAULT_SPEC) | |
8277 | (SUBTARGET_EXTRA_SPECS): Remove. | |
8278 | * config/sparc/sol2.h (ASM_CPU_DEFAULT_SPEC): Remove. | |
8279 | ||
8280 | * config/i386/sol2-bi.h (TARGET_SUBTARGET_DEFAULT) | |
8281 | (MD_STARTFILE_PREFIX): Remove. | |
8282 | (SUBTARGET_OPTIMIZATION_OPTIONS, ASM_CPU32_DEFAULT_SPEC) | |
8283 | (ASM_CPU64_DEFAULT_SPEC, ASM_CPU_SPEC, ASM_SPEC, DEFAULT_ARCH32_P) | |
8284 | (ARCH64_SUBDIR, ARCH32_EMULATION, ARCH64_EMULATION) | |
8285 | (ASM_COMMENT_START, JUMP_TABLES_IN_TEXT_SECTION) | |
8286 | (ASM_OUTPUT_DWARF_PCREL, ASM_OUTPUT_ALIGNED_COMMON) | |
8287 | (USE_IX86_FRAME_POINTER, USE_X86_64_FRAME_POINTER): Move ... | |
8288 | * config/i386/sol2.h: ... here. | |
8289 | (TARGET_SUBTARGET_DEFAULT, SIZE_TYPE, PTRDIFF_TYPE): Remove. | |
8290 | * config/i386/sol2-bi.h: Remove. | |
8291 | * config/sol2.h (MD_STARTFILE_PREFIX): Remove. | |
8292 | (LINK_ARCH32_SPEC_BASE): Remove /usr/ccs/lib/libp, /usr/ccs/lib. | |
8293 | ||
8294 | * config/i386/t-sol2-64: Rename to ... | |
8295 | * config/i386/t-sol2: ... this. | |
8296 | * config/sparc/t-sol2-64: Rename to ... | |
8297 | * config/sparc/t-sol2: ... this. | |
8298 | ||
8299 | * config.gcc (*-*-solaris2*): Split sol2_tm_file into | |
8300 | sol2_tm_file_head, sol2_tm_file_tail. | |
8301 | Include ${cpu_type}/sol2.h before sol2.h. | |
8302 | Remove sol2-10.h. | |
8303 | (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Include | |
8304 | i386/x86-64.h between sol2_tm_file_head and sol2_tm_file_tail. | |
8305 | Remove i386/sol2-bi.h, sol2-bi.h from tm_file. | |
8306 | Reflect i386/t-sol2-64 renaming. | |
8307 | (sparc*-*-solaris2*): Remove sol2-bi.h from tm_file. | |
8308 | Reflect sparc/t-sol2-64 renaming. | |
8309 | ||
e9ff9caf RB |
8310 | 2014-04-30 Richard Biener <rguenther@suse.de> |
8311 | ||
8312 | * passes.c (execute_function_todo): Move TODO_verify_stmts | |
8313 | and TODO_verify_ssa under the TODO_verify_il umbrella. | |
8314 | * tree-ssa.h (verify_ssa): Adjust prototype. | |
8315 | * tree-ssa.c (verify_ssa): Add parameter to tell whether | |
8316 | we should verify SSA operands. | |
8317 | * tree-cfg.h (verify_gimple_in_cfg): Adjust prototype. | |
8318 | * tree-cfg.c (verify_gimple_in_cfg): Add parameter to tell | |
8319 | whether we should verify whether not throwing stmts have EH info. | |
8320 | * graphite-scop-detection.c (create_sese_edges): Adjust. | |
8321 | * tree-ssa-loop-manip.c (verify_loop_closed_ssa): Likewise. | |
8322 | * tree-eh.c (lower_try_finally_switch): Do not add the | |
8323 | default case label twice. | |
8324 | ||
f8ed5150 MP |
8325 | 2014-04-30 Marek Polacek <polacek@redhat.com> |
8326 | ||
8327 | * gcc.c (sanitize_spec_function): Handle SANITIZE_FLOAT_DIVIDE. | |
8328 | * builtins.def: Initialize builtins even for SANITIZE_FLOAT_DIVIDE. | |
8329 | * flag-types.h (enum sanitize_code): Add SANITIZE_FLOAT_DIVIDE. | |
8330 | * opts.c (common_handle_option): Add -fsanitize=float-divide-by-zero. | |
8331 | ||
7cb0403f AL |
8332 | 2014-04-29 Alan Lawrence <alan.lawrence@arm.com> |
8333 | ||
8334 | * config/aarch64/arm_neon.h (vzip1_f32, vzip1_p8, vzip1_p16, vzip1_s8, | |
8335 | vzip1_s16, vzip1_s32, vzip1_u8, vzip1_u16, vzip1_u32, vzip1q_f32, | |
8336 | vzip1q_f64, vzip1q_p8, vzip1q_p16, vzip1q_s8, vzip1q_s16, vzip1q_s32, | |
8337 | vzip1q_s64, vzip1q_u8, vzip1q_u16, vzip1q_u32, vzip1q_u64, vzip2_f32, | |
8338 | vzip2_p8, vzip2_p16, vzip2_s8, vzip2_s16, vzip2_s32, vzip2_u8, | |
8339 | vzip2_u16, vzip2_u32, vzip2q_f32, vzip2q_f64, vzip2q_p8, vzip2q_p16, | |
8340 | vzip2q_s8, vzip2q_s16, vzip2q_s32, vzip2q_s64, vzip2q_u8, vzip2q_u16, | |
8341 | vzip2q_u32, vzip2q_u64): Replace inline __asm__ with __builtin_shuffle. | |
8342 | ||
3979649a DM |
8343 | 2014-04-29 David Malcolm <dmalcolm@redhat.com> |
8344 | ||
8345 | * tree-cfg.c (dump_function_to_file): Dump the return type of | |
8346 | functions, in a line to itself before the function body, mimicking | |
8347 | the layout of a C function. | |
8348 | ||
62fb101e JJ |
8349 | 2014-04-29 Jakub Jelinek <jakub@redhat.com> |
8350 | ||
8351 | PR tree-optimization/60971 | |
8352 | * tree-tailcall.c (process_assignment): Reject conversions which | |
8353 | reduce precision. | |
8354 | ||
3d9684ae JG |
8355 | 2014-04-29 James Greenhalgh <james.greenhalgh@arm.com> |
8356 | ||
8357 | * calls.c (initialize_argument_information): Always treat | |
8358 | PUSH_ARGS_REVERSED as 1, simplify code accordingly. | |
8359 | (expand_call): Likewise. | |
8360 | (emit_library_call_calue_1): Likewise. | |
8361 | * expr.c (PUSH_ARGS_REVERSED): Do not define. | |
8362 | (emit_push_insn): Always treat PUSH_ARGS_REVERSED as 1, simplify | |
8363 | code accordingly. | |
8364 | ||
d77f7b19 NC |
8365 | 2014-04-29 Nick Clifton <nickc@redhat.com> |
8366 | ||
8367 | * config/msp430/msp430.md (umulsidi): Fix typo. | |
8368 | (mulhisi3): Enable even inside interrupt handlers. | |
8369 | * config/msp430/msp430.c (msp430_print_operand): %O: Allow for the | |
8370 | bigger return address pushed in large mode. | |
8371 | ||
f8d91e80 NC |
8372 | 2014-04-29 Nick Clifton <nickc@redhat.com> |
8373 | ||
8374 | * config/arc/arc.c (arc_select_cc_mode): Fix parentheses. | |
8375 | (arc_init_reg_tables): Use a machine_mode enum to iterate over | |
8376 | available modes. | |
8377 | * config/m32r/m32r.c (init_reg_tables): Likewise. | |
8378 | * config/m32c/m32c.c (m32c_illegal_subreg_p): Use a machine_mode | |
8379 | enum to hold the modes. | |
8380 | ||
e3f613cb RB |
8381 | 2014-04-29 Richard Biener <rguenther@suse.de> |
8382 | ||
8383 | * dominance.c (free_dominance_info): Add overload with | |
8384 | function parameter. | |
8385 | (dom_info_state): Likewise. | |
8386 | (dom_info_available_p): Likewise. | |
8387 | * basic-block.h (free_dominance_info, dom_info_state, | |
8388 | dom_info_available_p): Declare overloads. | |
8389 | * passes.c (execute_function_todo): Verify that verifiers | |
8390 | don't change dominator info state. Drop dominator info | |
8391 | for IPA pass invocations. | |
8392 | * cgraph.c (release_function_body): Restore asserts that | |
8393 | dominator information is released. | |
8394 | ||
36f291f7 PP |
8395 | 2014-04-29 Patrick Palka <patrick@parcs.ath.cx> |
8396 | ||
8397 | * doc/invoke.texi: Fix typo. | |
8398 | * tree-vrp.c: Fix typos. | |
b6db8af6 | 8399 | * gimple.c (infer_nonnull_range): Reorder operands of an && condition. |
36f291f7 | 8400 | |
d3a3182b ZC |
8401 | 2014-04-29 Zhenqiang Chen <zhenqiang.chen@linaro.org> |
8402 | ||
8403 | * config/aarch64/aarch64.md (mov<mode>cc): New for GPF. | |
8404 | ||
ba081b77 JG |
8405 | 2014-04-28 James Greenhalgh <james.greenhalgh@arm.com> |
8406 | ||
8407 | * config/aarch64/aarch64-builtins.c | |
8408 | (aarch64_types_storestruct_lane_qualifiers): New. | |
8409 | (TYPES_STORESTRUCT_LANE): Likewise. | |
8410 | * config/aarch64/aarch64-simd-builtins.def (st2_lane): New. | |
8411 | (st3_lane): Likewise. | |
8412 | (st4_lane): Likewise. | |
8413 | * config/aarch64/aarch64-simd.md (vec_store_lanesoi_lane<mode>): New. | |
8414 | (vec_store_lanesci_lane<mode>): Likewise. | |
8415 | (vec_store_lanesxi_lane<mode>): Likewise. | |
8416 | (aarch64_st2_lane<VQ:mode>): Likewise. | |
8417 | (aarch64_st3_lane<VQ:mode>): Likewise. | |
8418 | (aarch64_st4_lane<VQ:mode>): Likewise. | |
8419 | * config/aarch64/aarch64.md (unspec): Add UNSPEC_ST{2,3,4}_LANE. | |
8420 | * config/aarch64/arm_neon.h | |
8421 | (__ST2_LANE_FUNC): Rewrite using builtins, update use points to | |
8422 | use new macro arguments. | |
8423 | (__ST3_LANE_FUNC): Likewise. | |
8424 | (__ST4_LANE_FUNC): Likewise. | |
8425 | * config/aarch64/iterators.md (V_TWO_ELEM): New. | |
8426 | (V_THREE_ELEM): Likewise. | |
8427 | (V_FOUR_ELEM): Likewise. | |
8428 | ||
1bc6d43c DM |
8429 | 2014-04-28 David Malcolm <dmalcolm@redhat.com> |
8430 | ||
8431 | * doc/gimple.texi: Replace the description of the now-defunct | |
8432 | union gimple_statement_d with a diagram showing the | |
8433 | gimple_statement_base class hierarchy and its relationships to | |
8434 | the GSS_ and GIMPLE_ enums. | |
8435 | ||
97e1ad78 JG |
8436 | 2014-04-28 James Greenhalgh <james.greenhalgh@arm.com> |
8437 | ||
8438 | * config/aarch64/aarch64-protos.h (aarch64_modes_tieable_p): New. | |
8439 | * config/aarch64/aarch64.c | |
8440 | (aarch64_cannot_change_mode_class): Weaken conditions. | |
8441 | (aarch64_modes_tieable_p): New. | |
8442 | * config/aarch64/aarch64.h (MODES_TIEABLE_P): Use it. | |
8443 | ||
bf245bf4 PH |
8444 | 2014-04-28 Pat Haugen <pthaugen@us.ibm.com> |
8445 | ||
8446 | * config/rs6000/sync.md (AINT mode_iterator): Move definition. | |
8447 | (loadsync_<mode>): Change mode. | |
8448 | (load_quadpti, store_quadpti): New. | |
8449 | (atomic_load<mode>, atomic_store<mode>): Add support for TI mode. | |
8450 | * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ. | |
8451 | ||
28151221 MJ |
8452 | 2014-04-28 Martin Jambor <mjambor@suse.cz> |
8453 | ||
8454 | * tree-sra.c (sra_modify_expr): Generate new memory accesses with | |
8455 | same alias type as the original statement. | |
8456 | (subreplacement_assignment_data): New type. | |
8457 | (handle_unscalarized_data_in_subtree): New type of parameter, | |
8458 | generate new memory accesses with same alias type as the original | |
8459 | statement. | |
8460 | (load_assign_lhs_subreplacements): Likewise. | |
8461 | (sra_modify_constructor_assign): Generate new memory accesses with | |
8462 | same alias type as the original statement. | |
8463 | ||
9ba5fb43 RB |
8464 | 2014-04-28 Richard Biener <rguenther@suse.de> |
8465 | ||
8466 | * tree-pass.h (TODO_verify_il): Define. | |
8467 | (TODO_verify_all): Complete properly. | |
8468 | * passes.c (execute_function_todo): Move existing loop-closed | |
8469 | SSA verification under TODO_verify_il. | |
8470 | (execute_one_pass): Trigger TODO_verify_il at todo-after time. | |
8471 | * graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps): | |
8472 | Fix tree sharing issue. | |
8473 | ||
22869a37 RB |
8474 | 2014-04-28 Richard Biener <rguenther@suse.de> |
8475 | ||
8476 | PR middle-end/60092 | |
8477 | * builtins.def (DEF_C11_BUILTIN): Add. | |
8478 | (BUILT_IN_ALIGNED_ALLOC): Likewise. | |
8479 | * coretypes.h (enum function_class): Add function_c11_misc. | |
8480 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle | |
8481 | BUILT_IN_ALIGNED_ALLOC like BUILT_IN_MALLOC. | |
8482 | (call_may_clobber_ref_p_1): Likewise. | |
8483 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise. | |
8484 | (mark_all_reaching_defs_necessary_1): Likewise. | |
8485 | (propagate_necessity): Likewise. | |
8486 | (eliminate_unnecessary_stmts): Likewise. | |
8487 | * tree-ssa-ccp.c (evaluate_stmt): Handle BUILT_IN_ALIGNED_ALLOC. | |
8488 | ||
771c9501 RB |
8489 | 2014-04-28 Richard Biener <rguenther@suse.de> |
8490 | ||
8491 | * tree-vrp.c (vrp_var_may_overflow): Remove. | |
8492 | (vrp_visit_phi_node): Rather than bumping to +-INF possibly | |
8493 | with overflow immediately bump to one before that value and | |
8494 | let iteration figure out overflow status. | |
8495 | ||
279a935f RB |
8496 | 2014-04-28 Richard Biener <rguenther@suse.de> |
8497 | ||
8498 | * configure.ac: Do valgrind header checks unconditionally. | |
8499 | Add --enable-valgrind-annotations. | |
8500 | * system.h: Guard valgrind header inclusion with | |
8501 | ENABLE_VALGRIND_ANNOTATIONS instead of ENABLE_VALGRIND_CHECKING. | |
8502 | * alloc-pool.c (pool_alloc, pool_free): Use | |
8503 | ENABLE_VALGRIND_ANNOTATIONS instead of ENABLE_VALGRIND_CHECKING | |
8504 | to guard possibly dead code. | |
8505 | * config.in: Regenerated. | |
8506 | * configure: Likewise. | |
8507 | ||
07357f2f JL |
8508 | 2014-04-28 Jeff Law <law@redhat.com> |
8509 | ||
8510 | PR tree-optimization/60902 | |
8511 | * tree-ssa-threadedge.c | |
8512 | (record_temporary_equivalences_from_stmts_at_dest): Only iterate | |
8513 | over real defs when invalidating outputs from statements that do not | |
8514 | produce useful outputs for threading. | |
8515 | ||
6c6aa8e6 RB |
8516 | 2014-04-28 Richard Biener <rguenther@suse.de> |
8517 | ||
8518 | PR tree-optimization/60979 | |
8519 | * graphite-scop-detection.c (scopdet_basic_block_info): Reject | |
8520 | SCOPs that end in a block with a successor with abnormal | |
8521 | predecessors. | |
8522 | ||
2cbf2d95 RB |
8523 | 2014-04-28 Richard Biener <rguenther@suse.de> |
8524 | ||
8525 | * tree-pass.h (execute_pass_list): Adjust prototype. | |
b6db8af6 | 8526 | * passes.c (pass_manager::execute_early_local_passes): Adjust. |
2cbf2d95 RB |
8527 | (do_per_function): Change callback signature, push all actual |
8528 | work to the callbals. | |
8529 | (do_per_function_toporder): Likewise. | |
8530 | (execute_function_dump): Adjust. | |
8531 | (execute_function_todo): Likewise. | |
8532 | (clear_last_verified): Likewise. | |
8533 | (verify_curr_properties): Likewise. | |
8534 | (update_properties_after_pass): Likewise. | |
8535 | (execute_pass_list_1): Split out from ... | |
8536 | (execute_pass_list): ... here. Adjust. | |
8537 | (execute_ipa_pass_list): Likewise. | |
8538 | * cgraphunit.c (cgraph_add_new_function): Adjust. | |
8539 | (analyze_function): Likewise. | |
8540 | (expand_function): Likewise. | |
8541 | * cgraph.c (release_function_body): Free dominance info | |
8542 | here instead of asserting it was magically freed elsewhere. | |
8543 | ||
ba21a04a EB |
8544 | 2014-04-28 Eric Botcazou <ebotcazou@adacore.com> |
8545 | ||
8546 | * configure.ac: Tweak GAS check for LEON instructions on SPARC. | |
8547 | * configure: Regenerate. | |
8548 | * config/sparc/sparc.opt (muser-mode): New option. | |
8549 | * config/sparc/sync.md (atomic_compare_and_swap<mode>_1): Do not enable | |
8550 | for LEON3. | |
8551 | (atomic_compare_and_swap_leon3_1): New instruction for LEON3. | |
8552 | * doc/invoke.texi (SPARC options): Document -muser-mode. | |
8553 | ||
f956adb9 RS |
8554 | 2014-04-27 Richard Sandiford <rdsandiford@googlemail.com> |
8555 | ||
8556 | * cselib.c (find_slot_memmode): Delete. | |
8557 | (cselib_hasher): Change compare_type to a struct. | |
8558 | (cselib_hasher::equal): Update accordingly. Don't expect wrapped | |
8559 | constants. | |
8560 | (preserve_constants_and_equivs): Adjust for new compare_type. | |
8561 | (cselib_find_slot): Likewise. Take the mode of the rtx as argument. | |
8562 | (wrap_constant): Delete. | |
8563 | (cselib_lookup_mem, cselib_lookup_1): Update calls to cselib_find_slot. | |
8564 | ||
167c3e96 MT |
8565 | 2014-04-26 Markus Trippelsdorf <markus@trippelsdorf.de> |
8566 | ||
8567 | * doc/install.texi (Building with profile feedback): Remove | |
8568 | outdated sentence. | |
8569 | ||
4148ef5f TV |
8570 | 2014-04-26 Tom de Vries <tom@codesourcery.com> |
8571 | ||
8572 | * config/i386/i386.md (define_expand "ldexpxf3"): Fix out-of-bounds | |
8573 | array accesses. | |
8574 | ||
8d8ffd86 CC |
8575 | 2014-04-25 Cary Coutant <ccoutant@google.com> |
8576 | ||
b6db8af6 | 8577 | PR debug/60929 |
8d8ffd86 | 8578 | * dwarf2out.c (should_move_die_to_comdat): A type definition |
b6db8af6 UB |
8579 | can contain a subprogram definition, but don't move it to a |
8580 | comdat unit. | |
8d8ffd86 | 8581 | (clone_as_declaration): Copy DW_AT_abstract_origin attribute. |
b6db8af6 UB |
8582 | (generate_skeleton_bottom_up): Remove DW_AT_object_pointer attribute |
8583 | from original DIE. | |
8d8ffd86 CC |
8584 | (clone_tree_hash): Rename to... |
8585 | (clone_tree_partial): ...this; change callers. Copy | |
b6db8af6 | 8586 | DW_TAG_subprogram DIEs as declarations. |
8d8ffd86 | 8587 | (copy_decls_walk): Don't copy children of a declaration into a |
b6db8af6 | 8588 | type unit. |
8d8ffd86 | 8589 | |
255671b0 L |
8590 | 2014-04-25 H.J. Lu <hongjiu.lu@intel.com> |
8591 | ||
8592 | PR target/60969 | |
8593 | * config/i386/i386.md (*movsf_internal): Set MODE to SI for | |
8594 | alternative 12. | |
8595 | ||
10432733 JW |
8596 | 2014-04-25 Jiong Wang <jiong.wang@arm.com> |
8597 | ||
8598 | * config/arm/predicates.md (call_insn_operand): Add long_call check. | |
8599 | * config/arm/arm.md (sibcall, sibcall_value): Force the address to | |
8600 | reg for long_call. | |
8601 | * config/arm/arm.c (arm_function_ok_for_sibcall): Remove long_call | |
8602 | restriction. | |
8603 | ||
0e4c913f KT |
8604 | 2014-04-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
8605 | ||
b6db8af6 | 8606 | * config/arm/arm.c (arm_cortex_a8_tune): Initialise T16-related fields. |
0e4c913f | 8607 | |
61ba7329 BS |
8608 | 2014-04-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
8609 | ||
8610 | PR tree-optimization/60930 | |
8611 | * gimple-ssa-strength-reduction.c (create_mul_imm_cand): Reject | |
8612 | creating a multiply candidate by folding two constant | |
8613 | multiplicands when the result overflows. | |
8614 | ||
2b332829 JJ |
8615 | 2014-04-25 Jakub Jelinek <jakub@redhat.com> |
8616 | ||
8617 | PR tree-optimization/60960 | |
8618 | * tree-vect-generic.c (expand_vector_operation): Only call | |
8619 | expand_vector_divmod if type's mode satisfies VECTOR_MODE_P. | |
8620 | ||
97891c11 TV |
8621 | 2014-04-25 Tom de Vries <tom@codesourcery.com> |
8622 | ||
8623 | * expr.c (clobber_reg_mode): New function. | |
8624 | * expr.h (clobber_reg): New function. | |
8625 | ||
3ee634fd TV |
8626 | 2014-04-25 Tom de Vries <tom@codesourcery.com> |
8627 | ||
8628 | * rtlanal.c (find_all_hard_reg_sets): Note INSN_CALL_FUNCTION_USAGE | |
8629 | clobbers. | |
8630 | ||
356bf593 | 8631 | 2014-04-25 Radovan Obradovic <robradovic@mips.com> |
b6db8af6 | 8632 | Tom de Vries <tom@codesourcery.com> |
356bf593 RO |
8633 | |
8634 | * rtlanal.c (find_all_hard_reg_sets): Add bool implicit parameter and | |
8635 | handle. | |
8636 | * rtl.h (find_all_hard_reg_sets): Add bool parameter. | |
8637 | * haifa-sched.c (recompute_todo_spec, check_clobbered_conditions): Add | |
8638 | new argument to find_all_hard_reg_sets call. | |
8639 | ||
fe65a7ed KT |
8640 | 2014-04-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
8641 | ||
8642 | * config/arm/aarch-common.c (aarch_rev16_shright_mask_imm_p): | |
8643 | Use HOST_WIDE_INT_C for mask literal. | |
8644 | (aarch_rev16_shleft_mask_imm_p): Likewise. | |
8645 | ||
b357d40d EB |
8646 | 2014-04-25 Eric Botcazou <ebotcazou@adacore.com> |
8647 | ||
8648 | PR target/60941 | |
8649 | * config/sparc/sparc.md (ashlsi3_extend): Delete. | |
8650 | ||
30c0a59a MG |
8651 | 2014-04-25 Marc Glisse <marc.glisse@inria.fr> |
8652 | ||
8653 | PR preprocessor/56540 | |
8654 | * config/i386/i386-c.c (ix86_target_macros): Define | |
8655 | __SIZEOF_FLOAT80__ and __SIZEOF_FLOAT128__. | |
8656 | ||
c02f59e2 RO |
8657 | 2014-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8658 | ||
8659 | * configure.ac (tga_func): Remove. | |
8660 | (LIB_TLS_SPEC): Remove. | |
8661 | * configure: Regenerate. | |
8662 | * config.in: Regenerate. | |
8663 | * config/sol2.h (LIB_SPEC): Don't use LIB_TLS_SPEC. | |
8664 | ||
92b3326b RB |
8665 | 2014-04-25 Richard Biener <rguenther@suse.de> |
8666 | ||
8667 | PR ipa/60912 | |
8668 | * tree-ssa-structalias.c (ipa_pta_execute): Compute direct | |
8669 | call stmt use/clobber sets during stmt walk instead of | |
8670 | walking the possibly incomplete set of caller edges. | |
8671 | ||
78422fb1 RB |
8672 | 2014-04-25 Richard Biener <rguenther@suse.de> |
8673 | ||
8674 | PR ipa/60911 | |
8675 | * passes.c (apply_ipa_transforms): Inline into only caller ... | |
8676 | (execute_one_pass): ... here. Properly bring in function | |
8677 | bodies for nodes we want to apply IPA transforms to. | |
8678 | ||
56f8faae CH |
8679 | 2014-04-24 Cong Hou <congh@google.com> |
8680 | ||
8681 | PR tree-optimization/60896 | |
8682 | * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Pick up | |
8683 | all statements in PATTERN_DEF_SEQ in recognized widen-mult pattern. | |
8684 | (vect_mark_pattern_stmts): Set the def type of all statements in | |
8685 | PATTERN_DEF_SEQ as vect_internal_def. | |
8686 | ||
06b39289 MM |
8687 | 2014-04-24 Michael Meissner <meissner@linux.vnet.ibm.com> |
8688 | ||
8689 | * doc/extend.texi (PowerPC Built-in Functions): Document new | |
b6db8af6 | 8690 | powerpc extended divide, bcd, pack/unpack 128-bit, builtin functions. |
06b39289 MM |
8691 | (PowerPC AltiVec/VSX Built-in Functions): Likewise. |
8692 | ||
8693 | * config/rs6000/predicates.md (const_0_to_3_operand): New | |
8694 | predicate to match 0..3 integer constants. | |
8695 | ||
8696 | * config/rs6000/rs6000-builtin.def (BU_DFP_MISC_1): Add new macros | |
8697 | to support adding miscellaneous builtin functions. | |
8698 | (BU_DFP_MISC_2): Likewise. | |
8699 | (BU_P7_MISC_1): Likewise. | |
8700 | (BU_P7_MISC_2): Likewise. | |
8701 | (BU_P8V_MISC_3): Likewise. | |
8702 | (BU_MISC_1): Likewise. | |
8703 | (BU_MISC_2): Likewise. | |
8704 | (DIVWE): Add extended divide builtin functions. | |
8705 | (DIVWEO): Likewise. | |
8706 | (DIVWEU): Likewise. | |
8707 | (DIVWEUO): Likewise. | |
8708 | (DIVDE): Likewise. | |
8709 | (DIVDEO): Likewise. | |
8710 | (DIVDEU): Likewise. | |
8711 | (DIVDEUO): Likewise. | |
8712 | (DXEX): Add decimal floating-point builtin functions. | |
8713 | (DXEXQ): Likewise. | |
8714 | (DDEDPD): Likewise. | |
8715 | (DDEDPDQ): Likewise. | |
8716 | (DENBCD): Likewise. | |
8717 | (DENBCDQ): Likewise. | |
8718 | (DIEX): Likewise. | |
8719 | (DIEXQ): Likewise. | |
8720 | (DSCLI): Likewise. | |
8721 | (DSCLIQ): Likewise. | |
8722 | (DSCRI): Likewise. | |
8723 | (DSCRIQ): Likewise. | |
8724 | (CDTBCD): Add new BCD builtin functions. | |
8725 | (CBCDTD): Likewise. | |
8726 | (ADDG6S): Likewise. | |
8727 | (BCDADD): Likewise. | |
8728 | (BCDADD_LT): Likewise. | |
8729 | (BCDADD_EQ): Likewise. | |
8730 | (BCDADD_GT): Likewise. | |
8731 | (BCDADD_OV): Likewise. | |
8732 | (BCDSUB): Likewise. | |
8733 | (BCDSUB_LT): Likewise. | |
8734 | (BCDSUB_EQ): Likewise. | |
8735 | (BCDSUB_GT): Likewise. | |
8736 | (BCDSUB_OV): Likewise. | |
8737 | (PACK_TD): Add new pack/unpack 128-bit type builtin functions. | |
8738 | (UNPACK_TD): Likewise. | |
8739 | (PACK_TF): Likewise. | |
8740 | (UNPACK_TF): Likewise. | |
8741 | (UNPACK_TF_0): Likewise. | |
8742 | (UNPACK_TF_1): Likewise. | |
8743 | (PACK_V1TI): Likewise. | |
8744 | (UNPACK_V1TI): Likewise. | |
8745 | ||
8746 | * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add | |
8747 | support for decimal floating point builtin functions. | |
8748 | (rs6000_expand_ternop_builtin): Add checks for the new builtin | |
8749 | functions that take constant arguments. | |
b6db8af6 | 8750 | (rs6000_invalid_builtin): Add decimal floating point builtin support. |
06b39289 MM |
8751 | (rs6000_init_builtins): Setup long double, _Decimal64, and |
8752 | _Decimal128 types for new builtin functions. | |
8753 | (builtin_function_type): Set the unsigned flags appropriately for | |
8754 | the new builtin functions. | |
8755 | (rs6000_opt_masks): Add support for decimal floating point builtin | |
8756 | functions. | |
8757 | ||
8758 | * config/rs6000/rs6000.h (RS6000_BTM_DFP): Add support for decimal | |
8759 | floating point builtin functions. | |
8760 | (RS6000_BTM_COMMON): Likewise. | |
8761 | (RS6000_BTI_long_double): Likewise. | |
8762 | (RS6000_BTI_dfloat64): Likewise. | |
8763 | (RS6000_BTI_dfloat128): Likewise. | |
8764 | (long_double_type_internal_node): Likewise. | |
8765 | (dfloat64_type_internal_node): Likewise. | |
8766 | (dfloat128_type_internal_node): Likewise. | |
8767 | ||
8768 | * config/rs6000/altivec.h (UNSPEC_BCDADD): Add support for ISA | |
8769 | 2.07 bcd arithmetic instructions. | |
8770 | (UNSPEC_BCDSUB): Likewise. | |
8771 | (UNSPEC_BCD_OVERFLOW): Likewise. | |
8772 | (UNSPEC_BCD_ADD_SUB): Likewise. | |
8773 | (bcd_add_sub): Likewise. | |
8774 | (BCD_TEST): Likewise. | |
8775 | (bcd<bcd_add_sub>): Likewise. | |
8776 | (bcd<bcd_add_sub>_test): Likewise. | |
8777 | (bcd<bcd_add_sub>_test2): Likewise. | |
8778 | (bcd<bcd_add_sub>_<code>): Likewise. | |
8779 | (peephole2 for combined bcd ops): Likewise. | |
8780 | ||
8781 | * config/rs6000/dfp.md (UNSPEC_DDEDPD): Add support for new | |
8782 | decimal floating point builtin functions. | |
8783 | (UNSPEC_DENBCD): Likewise. | |
8784 | (UNSPEC_DXEX): Likewise. | |
8785 | (UNSPEC_DIEX): Likewise. | |
8786 | (UNSPEC_DSCLI): Likewise. | |
8787 | (UNSPEC_DSCRI): Likewise. | |
8788 | (D64_D128): Likewise. | |
8789 | (dfp_suffix): Likewise. | |
8790 | (dfp_ddedpd_<mode>): Likewise. | |
8791 | (dfp_denbcd_<mode>): Likewise. | |
8792 | (dfp_dxex_<mode>): Likewise. | |
8793 | (dfp_diex_<mode>): Likewise. | |
8794 | (dfp_dscli_<mode>): Likewise. | |
8795 | (dfp_dscri_<mode>): Likewise. | |
8796 | ||
8797 | * config/rs6000/rs6000.md (UNSPEC_ADDG6S): Add support for new BCD | |
8798 | builtin functions. | |
8799 | (UNSPEC_CDTBCD): Likewise. | |
8800 | (UNSPEC_CBCDTD): Likewise. | |
b6db8af6 | 8801 | (UNSPEC_DIVE): Add support for new extended divide builtin functions. |
06b39289 MM |
8802 | (UNSPEC_DIVEO): Likewise. |
8803 | (UNSPEC_DIVEU): Likewise. | |
8804 | (UNSPEC_DIVEUO): Likewise. | |
8805 | (UNSPEC_UNPACK_128BIT): Add support for new builtin functions to | |
8806 | pack/unpack 128-bit types. | |
8807 | (UNSPEC_PACK_128BIT): Likewise. | |
8808 | (idiv_ldiv): New mode attribute to set the 32/64-bit divide type. | |
8809 | (udiv<mode>3): Use idiv_ldiv mode attribute. | |
8810 | (div<mode>3): Likewise. | |
8811 | (addg6s): Add new BCD builtin functions. | |
8812 | (cdtbcd): Likewise. | |
8813 | (cbcdtd): Likewise. | |
b6db8af6 | 8814 | (UNSPEC_DIV_EXTEND): Add support for new extended divide instructions. |
06b39289 MM |
8815 | (div_extend): Likewise. |
8816 | (div<div_extend>_<mode>"): Likewise. | |
8817 | (FP128_64): Add support for new builtin functions to pack/unpack | |
8818 | 128-bit types. | |
8819 | (unpack<mode>): Likewise. | |
8820 | (unpacktf_0): Likewise. | |
8821 | (unpacktf_1): Likewise. | |
8822 | (unpack<mode>_dm): Likewise. | |
8823 | (unpack<mode>_nodm): Likewise. | |
8824 | (pack<mode>): Likewise. | |
8825 | (unpackv1ti): Likewise. | |
8826 | (packv1ti): Likewise. | |
8827 | ||
6e4f81db V |
8828 | 2014-04-24 Vishnu K S <Vishnu.k_s@atmel.com> |
8829 | ||
8830 | * gcc/config/avr/avr.c: Add comment on why -fdelete-null-pointer-checks | |
8831 | is disabled. | |
8832 | ||
f7468577 JJ |
8833 | 2014-04-24 Jakub Jelinek <jakub@redhat.com> |
8834 | ||
8835 | * tree.h (OMP_CLAUSE_LINEAR_GIMPLE_SEQ): Define. | |
8836 | * gimplify.c (omp_is_private): Change last argument's type to int. | |
8837 | Only diagnose lastprivate if the simd argument is 1, only diagnose | |
8838 | linear if the simd argument is 2. | |
8839 | (gimplify_omp_for): Adjust omp_is_private callers. When adding | |
8840 | lastprivate or private, add the clause to OMP_FOR_CLAUSES. Pass | |
8841 | GOVD_EXPLICIT to omp_add_variable. For simd with collapse == 1 | |
8842 | create OMP_CLAUSE_LINEAR rather than OMP_CLAUSE_PRIVATE for var. | |
8843 | If var != decl and decl is in OMP_CLAUSE_LINEAR, gimplify decl | |
8844 | increment to OMP_CLAUSE_LINEAR_GIMPLE_SEQ. | |
8845 | * omp-low.c (scan_sharing_clauses, lower_lastprivate_clauses): Handle | |
8846 | OMP_CLAUSE_LINEAR_GIMPLE_SEQ. | |
8847 | * tree-nested.c (convert_nonlocal_omp_clauses, | |
8848 | convert_local_omp_clauses): Handle OMP_CLAUSE_LINEAR. | |
8849 | ||
2f7ac5ce JL |
8850 | 2014-04-24 Segher Boessenkool <segher@kernel.crashing.org> |
8851 | ||
8852 | PR target/60822 | |
8853 | * config/m68k/m68k.md (extendplussidi): Don't allow memory for | |
8854 | operand 1. | |
8855 | ||
dcaaa5a0 DP |
8856 | 2014-04-24 Dimitris Papavasiliou <dpapavas@gmail.com> |
8857 | ||
8858 | * flag-types.h (enum ivar_visibility): Add. | |
8859 | ||
78c7d18e TS |
8860 | 2014-04-24 Trevor Saunders <tsaunders@mozilla.com> |
8861 | ||
8862 | * config/sh/sh_treg_combine.c (sh_treg_combine::execute): Take | |
8863 | function * argument. | |
8864 | ||
fbbde65e AL |
8865 | 2014-04-24 Alan Lawrence <alan.lawrence@arm.com> |
8866 | ||
8867 | * config/aarch64/aarch64.c (aarch64_evpc_tbl): Enable for bigendian. | |
8868 | ||
4f660b15 | 8869 | 2014-04-24 Radovan Obradovic <robradovic@mips.com> |
b6db8af6 | 8870 | Tom de Vries <tom@codesourcery.com> |
4f660b15 RO |
8871 | |
8872 | * reg-notes.def (REG_NOTE (CALL_DECL)): New reg-note REG_CALL_DECL. | |
8873 | * calls.c (expand_call, emit_library_call_value_1): Add REG_CALL_DECL | |
8874 | reg-note. | |
8875 | * combine.c (distribute_notes): Handle REG_CALL_DECL reg-note. | |
8876 | * emit-rtl.c (try_split): Same. | |
8877 | ||
d996e61a | 8878 | 2014-04-24 Radovan Obradovic <robradovic@mips.com> |
b6db8af6 | 8879 | Tom de Vries <tom@codesourcery.com> |
d996e61a RO |
8880 | |
8881 | * common.opt (fuse-caller-save): New option. | |
8882 | ||
bbcc9c00 TB |
8883 | 2014-04-24 Tejas Belagod <tejas.belagod@arm.com> |
8884 | ||
b6db8af6 UB |
8885 | * config/aarch64/aarch64.c (aarch64_evpc_tbl): Reverse order of |
8886 | elements for big-endian. | |
bbcc9c00 | 8887 | |
d2d11532 RB |
8888 | 2014-04-24 Richard Biener <rguenther@suse.de> |
8889 | ||
8890 | * expr.c (expand_expr_real_1): Avoid gimple_assign_rhs_to_tree | |
8891 | during TER and instead use the sepops interface for expanding | |
8892 | non-GIMPLE_SINGLE_RHS. | |
8893 | ||
8117ef98 RO |
8894 | 2014-04-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8895 | ||
8896 | * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Only redefine | |
8897 | if not HAVE_AS_IX86_DIFF_SECT_DELTA. | |
8898 | ||
ab0afae3 RO |
8899 | 2014-04-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8900 | ||
8901 | * configure.ac (gcc_cv_as_cfi_directive): Support Solaris/x86 | |
8902 | assembler 64-bit option. | |
8903 | * configure: Regenerate. | |
8904 | ||
683e3333 KT |
8905 | 2014-04-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
8906 | ||
8907 | * config/aarch64/aarch64.h (TARGET_CPU_CPP_BUILTINS): Check | |
8908 | TARGET_SIMD rather than TARGET_GENERAL_REGS_ONLY. | |
8909 | (TARGET_SIMD): Take AARCH64_ISA_SIMD into account. | |
8910 | (TARGET_FLOAT): Take AARCH64_ISA_FP into account. | |
8911 | (TARGET_CRYPTO): Take TARGET_SIMD into account. | |
8912 | ||
c7f28cd5 KT |
8913 | 2014-04-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
8914 | ||
8915 | * config/aarch64/aarch64-builtins.c | |
8916 | (aarch64_builtin_vectorized_function): Handle BUILT_IN_BSWAP16, | |
8917 | BUILT_IN_BSWAP32, BUILT_IN_BSWAP64. | |
8918 | * config/aarch64/aarch64-simd.md (bswap<mode>): New pattern. | |
8919 | * config/aarch64/aarch64-simd-builtins.def: Define vector bswap | |
8920 | builtins. | |
8921 | * config/aarch64/iterator.md (VDQHSD): New mode iterator. | |
8922 | (Vrevsuff): New mode attribute. | |
8923 | ||
b0419491 TG |
8924 | 2014-04-24 Terry Guo <terry.guo@arm.com> |
8925 | ||
8926 | * config/arm/arm.h (machine_function): Define variable | |
8927 | after_arm_reorg here. | |
8928 | * config/arm/arm.c (after_arm_reorg): Remove the definition. | |
8929 | (arm_split_constant): Update the way to access variable | |
8930 | after_arm_reorg. | |
8931 | (arm_reorg): Ditto. | |
8932 | (arm_output_function_epilogue): Remove the reset of after_arm_reorg. | |
8933 | ||
74e4d71a TV |
8934 | 2014-04-23 Tom de Vries <tom@codesourcery.com> |
8935 | ||
8936 | * target-hooks-macros.h: Fix DEFHOOKPOD argument order in comment. | |
8937 | ||
7de90a6c DM |
8938 | 2014-04-23 David Malcolm <dmalcolm@redhat.com> |
8939 | ||
8940 | * is-a.h: Update comments to reflect the following changes to the | |
8941 | "pointerness" of the API, making the template parameter match the | |
8942 | return type, allowing use of is-a.h with typedefs of pointers. | |
8943 | (is_a_helper::cast): Return a T rather then a pointer to a T, so | |
8944 | that the return type matches the parameter to the is_a_helper. | |
8945 | (as_a): Likewise. | |
8946 | (dyn_cast): Likewise. | |
8947 | ||
8948 | * cgraph.c (cgraph_node_for_asm): Update for removal of implicit | |
8949 | pointer from the is-a.h API. | |
8950 | ||
8951 | * cgraph.h (is_a_helper <cgraph_node>::test): Convert to... | |
8952 | (is_a_helper <cgraph_node *>::test): ...this, matching change to | |
8953 | is-a.h API. | |
8954 | (is_a_helper <varpool_node>::test): Likewise, convert to... | |
8955 | (is_a_helper <varpool_node *>::test): ...this. | |
8956 | ||
8957 | (varpool_first_variable): Update for removal of implicit pointer | |
8958 | from the is-a.h API. | |
8959 | (varpool_next_variable): Likewise. | |
8960 | (varpool_first_static_initializer): Likewise. | |
8961 | (varpool_next_static_initializer): Likewise. | |
8962 | (varpool_first_defined_variable): Likewise. | |
8963 | (varpool_next_defined_variable): Likewise. | |
8964 | (cgraph_first_defined_function): Likewise. | |
8965 | (cgraph_next_defined_function): Likewise. | |
8966 | (cgraph_first_function): Likewise. | |
8967 | (cgraph_next_function): Likewise. | |
8968 | (cgraph_first_function_with_gimple_body): Likewise. | |
8969 | (cgraph_next_function_with_gimple_body): Likewise. | |
8970 | (cgraph_alias_target): Likewise. | |
8971 | (varpool_alias_target): Likewise. | |
8972 | (cgraph_function_or_thunk_node): Likewise. | |
8973 | (varpool_variable_node): Likewise. | |
8974 | (symtab_real_symbol_p): Likewise. | |
8975 | * cgraphunit.c (referred_to_p): Likewise. | |
8976 | (analyze_functions): Likewise. | |
8977 | (handle_alias_pairs): Likewise. | |
8978 | * gimple-fold.c (can_refer_decl_in_current_unit_p): Likewise. | |
8979 | * gimple-ssa.h (gimple_vuse_op): Likewise. | |
8980 | (gimple_vdef_op): Likewise. | |
8981 | * gimple-streamer-in.c (input_gimple_stmt): Likewise. | |
8982 | * gimple.c (gimple_build_asm_1): Likewise. | |
8983 | (gimple_build_try): Likewise. | |
8984 | (gimple_build_resx): Likewise. | |
8985 | (gimple_build_eh_dispatch): Likewise. | |
8986 | (gimple_build_omp_for): Likewise. | |
8987 | (gimple_omp_for_set_clauses): Likewise. | |
8988 | ||
8989 | * gimple.h (is_a_helper <gimple_statement_asm>::test): Convert to... | |
8990 | (is_a_helper <gimple_statement_asm *>::test): ...this. | |
8991 | (is_a_helper <gimple_statement_bind>::test): Convert to... | |
8992 | (is_a_helper <gimple_statement_bind *>::test): ...this. | |
8993 | (is_a_helper <gimple_statement_call>::test): Convert to... | |
8994 | (is_a_helper <gimple_statement_call *>::test): ...this. | |
8995 | (is_a_helper <gimple_statement_catch>::test): Convert to... | |
8996 | (is_a_helper <gimple_statement_catch *>::test): ...this. | |
8997 | (is_a_helper <gimple_statement_resx>::test): Convert to... | |
8998 | (is_a_helper <gimple_statement_resx *>::test): ...this. | |
8999 | (is_a_helper <gimple_statement_eh_dispatch>::test): Convert to... | |
9000 | (is_a_helper <gimple_statement_eh_dispatch *>::test): ...this. | |
9001 | (is_a_helper <gimple_statement_eh_else>::test): Convert to... | |
9002 | (is_a_helper <gimple_statement_eh_else *>::test): ...this. | |
9003 | (is_a_helper <gimple_statement_eh_filter>::test): Convert to... | |
9004 | (is_a_helper <gimple_statement_eh_filter *>::test): ...this. | |
9005 | (is_a_helper <gimple_statement_eh_mnt>::test): Convert to... | |
9006 | (is_a_helper <gimple_statement_eh_mnt *>::test): ...this. | |
9007 | (is_a_helper <gimple_statement_omp_atomic_load>::test): Convert to... | |
9008 | (is_a_helper <gimple_statement_omp_atomic_load *>::test): ...this. | |
9009 | (is_a_helper <gimple_statement_omp_atomic_store>::test): Convert to... | |
9010 | (is_a_helper <gimple_statement_omp_atomic_store *>::test): ...this. | |
9011 | (is_a_helper <gimple_statement_omp_return>::test): Convert to... | |
9012 | (is_a_helper <gimple_statement_omp_return *>::test): ...this. | |
9013 | (is_a_helper <gimple_statement_omp_continue>::test): Convert to... | |
9014 | (is_a_helper <gimple_statement_omp_continue *>::test): ...this. | |
9015 | (is_a_helper <gimple_statement_omp_critical>::test): Convert to... | |
9016 | (is_a_helper <gimple_statement_omp_critical *>::test): ...this. | |
9017 | (is_a_helper <gimple_statement_omp_for>::test): Convert to... | |
9018 | (is_a_helper <gimple_statement_omp_for *>::test): ...this. | |
9019 | (is_a_helper <gimple_statement_omp_taskreg>::test): Convert to... | |
9020 | (is_a_helper <gimple_statement_omp_taskreg *>::test): ...this. | |
9021 | (is_a_helper <gimple_statement_omp_parallel>::test): Convert to... | |
9022 | (is_a_helper <gimple_statement_omp_parallel *>::test): ...this. | |
9023 | (is_a_helper <gimple_statement_omp_target>::test): Convert to... | |
9024 | (is_a_helper <gimple_statement_omp_target *>::test): ...this. | |
9025 | (is_a_helper <gimple_statement_omp_sections>::test): Convert to... | |
9026 | (is_a_helper <gimple_statement_omp_sections *>::test): ...this. | |
9027 | (is_a_helper <gimple_statement_omp_single>::test): Convert to... | |
9028 | (is_a_helper <gimple_statement_omp_single *>::test): ...this. | |
9029 | (is_a_helper <gimple_statement_omp_teams>::test): Convert to... | |
9030 | (is_a_helper <gimple_statement_omp_teams *>::test): ...this. | |
9031 | (is_a_helper <gimple_statement_omp_task>::test): Convert to... | |
9032 | (is_a_helper <gimple_statement_omp_task *>::test): ...this. | |
9033 | (is_a_helper <gimple_statement_phi>::test): Convert to... | |
9034 | (is_a_helper <gimple_statement_phi *>::test): ...this. | |
9035 | (is_a_helper <gimple_statement_transaction>::test): Convert to... | |
9036 | (is_a_helper <gimple_statement_transaction *>::test): ...this. | |
9037 | (is_a_helper <gimple_statement_try>::test): Convert to... | |
9038 | (is_a_helper <gimple_statement_try *>::test): ...this. | |
9039 | (is_a_helper <gimple_statement_wce>::test): Convert to... | |
9040 | (is_a_helper <gimple_statement_wce *>::test): ...this. | |
9041 | (is_a_helper <const gimple_statement_asm>::test): Convert to... | |
9042 | (is_a_helper <const gimple_statement_asm *>::test): ...this. | |
9043 | (is_a_helper <const gimple_statement_bind>::test): Convert to... | |
9044 | (is_a_helper <const gimple_statement_bind *>::test): ...this. | |
9045 | (is_a_helper <const gimple_statement_call>::test): Convert to... | |
9046 | (is_a_helper <const gimple_statement_call *>::test): ...this. | |
9047 | (is_a_helper <const gimple_statement_catch>::test): Convert to... | |
9048 | (is_a_helper <const gimple_statement_catch *>::test): ...this. | |
9049 | (is_a_helper <const gimple_statement_resx>::test): Convert to... | |
9050 | (is_a_helper <const gimple_statement_resx *>::test): ...this. | |
b6db8af6 UB |
9051 | (is_a_helper <const gimple_statement_eh_dispatch>::test): Convert to... |
9052 | (is_a_helper <const gimple_statement_eh_dispatch *>::test): ...this. | |
9053 | (is_a_helper <const gimple_statement_eh_filter>::test): Convert to... | |
7de90a6c DM |
9054 | (is_a_helper <const gimple_statement_eh_filter *>::test): ...this. |
9055 | (is_a_helper <const gimple_statement_omp_atomic_load>::test): | |
9056 | Convert to... | |
9057 | (is_a_helper <const gimple_statement_omp_atomic_load *>::test): | |
9058 | ...this. | |
9059 | (is_a_helper <const gimple_statement_omp_atomic_store>::test): | |
9060 | Convert to... | |
9061 | (is_a_helper <const gimple_statement_omp_atomic_store *>::test): | |
9062 | ...this. | |
b6db8af6 | 9063 | (is_a_helper <const gimple_statement_omp_return>::test): Convert to... |
7de90a6c DM |
9064 | (is_a_helper <const gimple_statement_omp_return *>::test): ...this. |
9065 | (is_a_helper <const gimple_statement_omp_continue>::test): Convert | |
9066 | to... | |
9067 | (is_a_helper <const gimple_statement_omp_continue *>::test): ...this. | |
9068 | (is_a_helper <const gimple_statement_omp_critical>::test): Convert | |
9069 | to... | |
9070 | (is_a_helper <const gimple_statement_omp_critical *>::test): ...this. | |
9071 | (is_a_helper <const gimple_statement_omp_for>::test): Convert to... | |
9072 | (is_a_helper <const gimple_statement_omp_for *>::test): ...this. | |
b6db8af6 | 9073 | (is_a_helper <const gimple_statement_omp_taskreg>::test): Convert to... |
7de90a6c DM |
9074 | (is_a_helper <const gimple_statement_omp_taskreg *>::test): ...this. |
9075 | (is_a_helper <const gimple_statement_omp_parallel>::test): Convert | |
9076 | to... | |
9077 | (is_a_helper <const gimple_statement_omp_parallel *>::test): ...this. | |
b6db8af6 | 9078 | (is_a_helper <const gimple_statement_omp_target>::test): Convert to... |
7de90a6c DM |
9079 | (is_a_helper <const gimple_statement_omp_target *>::test): ...this. |
9080 | (is_a_helper <const gimple_statement_omp_sections>::test): Convert | |
9081 | to... | |
9082 | (is_a_helper <const gimple_statement_omp_sections *>::test): ...this. | |
b6db8af6 | 9083 | (is_a_helper <const gimple_statement_omp_single>::test): Convert to... |
7de90a6c | 9084 | (is_a_helper <const gimple_statement_omp_single *>::test): ...this. |
b6db8af6 | 9085 | (is_a_helper <const gimple_statement_omp_teams>::test): Convert to... |
7de90a6c | 9086 | (is_a_helper <const gimple_statement_omp_teams *>::test): ...this. |
b6db8af6 | 9087 | (is_a_helper <const gimple_statement_omp_task>::test): Convert to... |
7de90a6c DM |
9088 | (is_a_helper <const gimple_statement_omp_task *>::test): ...this. |
9089 | (is_a_helper <const gimple_statement_phi>::test): Convert to... | |
9090 | (is_a_helper <const gimple_statement_phi *>::test): ...this. | |
b6db8af6 | 9091 | (is_a_helper <const gimple_statement_transaction>::test): Convert to... |
7de90a6c | 9092 | (is_a_helper <const gimple_statement_transaction *>::test): ...this. |
b6db8af6 | 9093 | (is_a_helper <const gimple_statement_with_ops>::test): Convert to... |
7de90a6c DM |
9094 | (is_a_helper <const gimple_statement_with_ops *>::test): ...this. |
9095 | (is_a_helper <gimple_statement_with_ops>::test): Convert to... | |
9096 | (is_a_helper <gimple_statement_with_ops *>::test): ...this. | |
b6db8af6 UB |
9097 | (is_a_helper <const gimple_statement_with_memory_ops>::test): Convert |
9098 | to... | |
7de90a6c DM |
9099 | (is_a_helper <const gimple_statement_with_memory_ops *>::test): |
9100 | ...this. | |
b6db8af6 | 9101 | (is_a_helper <gimple_statement_with_memory_ops>::test): Convert to... |
7de90a6c DM |
9102 | (is_a_helper <gimple_statement_with_memory_ops *>::test): ...this. |
9103 | ||
9104 | (gimple_use_ops): Update for removal of implicit pointer from the | |
9105 | is-a.h API. | |
9106 | (gimple_set_use_ops): Likewise. | |
9107 | (gimple_vuse): Likewise. | |
9108 | (gimple_vdef): Likewise. | |
9109 | (gimple_vuse_ptr): Likewise. | |
9110 | (gimple_vdef_ptr): Likewise. | |
9111 | (gimple_set_vuse): Likewise. | |
9112 | (gimple_set_vdef): Likewise. | |
9113 | (gimple_omp_return_set_lhs): Likewise. | |
9114 | (gimple_omp_return_lhs): Likewise. | |
9115 | (gimple_omp_return_lhs_ptr): Likewise. | |
9116 | (gimple_call_fntype): Likewise. | |
9117 | (gimple_call_set_fntype): Likewise. | |
9118 | (gimple_call_set_internal_fn): Likewise. | |
9119 | (gimple_call_use_set): Likewise. | |
9120 | (gimple_call_clobber_set): Likewise. | |
9121 | (gimple_bind_vars): Likewise. | |
9122 | (gimple_bind_set_vars): Likewise. | |
9123 | (gimple_bind_body_ptr): Likewise. | |
9124 | (gimple_bind_set_body): Likewise. | |
9125 | (gimple_bind_add_stmt): Likewise. | |
9126 | (gimple_bind_block): Likewise. | |
9127 | (gimple_bind_set_block): Likewise. | |
9128 | (gimple_asm_ninputs): Likewise. | |
9129 | (gimple_asm_noutputs): Likewise. | |
9130 | (gimple_asm_nclobbers): Likewise. | |
9131 | (gimple_asm_nlabels): Likewise. | |
9132 | (gimple_asm_input_op): Likewise. | |
9133 | (gimple_asm_input_op_ptr): Likewise. | |
9134 | (gimple_asm_output_op): Likewise. | |
9135 | (gimple_asm_output_op_ptr): Likewise. | |
9136 | (gimple_asm_set_output_op): Likewise. | |
9137 | (gimple_asm_clobber_op): Likewise. | |
9138 | (gimple_asm_set_clobber_op): Likewise. | |
9139 | (gimple_asm_label_op): Likewise. | |
9140 | (gimple_asm_set_label_op): Likewise. | |
9141 | (gimple_asm_string): Likewise. | |
9142 | (gimple_catch_types): Likewise. | |
9143 | (gimple_catch_types_ptr): Likewise. | |
9144 | (gimple_catch_handler_ptr): Likewise. | |
9145 | (gimple_catch_set_types): Likewise. | |
9146 | (gimple_catch_set_handler): Likewise. | |
9147 | (gimple_eh_filter_types): Likewise. | |
9148 | (gimple_eh_filter_types_ptr): Likewise. | |
9149 | (gimple_eh_filter_failure_ptr): Likewise. | |
9150 | (gimple_eh_filter_set_types): Likewise. | |
9151 | (gimple_eh_filter_set_failure): Likewise. | |
9152 | (gimple_eh_must_not_throw_fndecl): Likewise. | |
9153 | (gimple_eh_must_not_throw_set_fndecl): Likewise. | |
9154 | (gimple_eh_else_n_body_ptr): Likewise. | |
9155 | (gimple_eh_else_e_body_ptr): Likewise. | |
9156 | (gimple_eh_else_set_n_body): Likewise. | |
9157 | (gimple_eh_else_set_e_body): Likewise. | |
9158 | (gimple_try_eval_ptr): Likewise. | |
9159 | (gimple_try_cleanup_ptr): Likewise. | |
9160 | (gimple_try_set_eval): Likewise. | |
9161 | (gimple_try_set_cleanup): Likewise. | |
9162 | (gimple_wce_cleanup_ptr): Likewise. | |
9163 | (gimple_wce_set_cleanup): Likewise. | |
9164 | (gimple_phi_capacity): Likewise. | |
9165 | (gimple_phi_num_args): Likewise. | |
9166 | (gimple_phi_result): Likewise. | |
9167 | (gimple_phi_result_ptr): Likewise. | |
9168 | (gimple_phi_set_result): Likewise. | |
9169 | (gimple_phi_arg): Likewise. | |
9170 | (gimple_phi_set_arg): Likewise. | |
9171 | (gimple_resx_region): Likewise. | |
9172 | (gimple_resx_set_region): Likewise. | |
9173 | (gimple_eh_dispatch_region): Likewise. | |
9174 | (gimple_eh_dispatch_set_region): Likewise. | |
9175 | (gimple_omp_critical_name): Likewise. | |
9176 | (gimple_omp_critical_name_ptr): Likewise. | |
9177 | (gimple_omp_critical_set_name): Likewise. | |
9178 | (gimple_omp_for_clauses): Likewise. | |
9179 | (gimple_omp_for_clauses_ptr): Likewise. | |
9180 | (gimple_omp_for_set_clauses): Likewise. | |
9181 | (gimple_omp_for_collapse): Likewise. | |
9182 | (gimple_omp_for_index): Likewise. | |
9183 | (gimple_omp_for_index_ptr): Likewise. | |
9184 | (gimple_omp_for_set_index): Likewise. | |
9185 | (gimple_omp_for_initial): Likewise. | |
9186 | (gimple_omp_for_initial_ptr): Likewise. | |
9187 | (gimple_omp_for_set_initial): Likewise. | |
9188 | (gimple_omp_for_final): Likewise. | |
9189 | (gimple_omp_for_final_ptr): Likewise. | |
9190 | (gimple_omp_for_set_final): Likewise. | |
9191 | (gimple_omp_for_incr): Likewise. | |
9192 | (gimple_omp_for_incr_ptr): Likewise. | |
9193 | (gimple_omp_for_set_incr): Likewise. | |
9194 | (gimple_omp_for_pre_body_ptr): Likewise. | |
9195 | (gimple_omp_for_set_pre_body): Likewise. | |
9196 | (gimple_omp_parallel_clauses): Likewise. | |
9197 | (gimple_omp_parallel_clauses_ptr): Likewise. | |
9198 | (gimple_omp_parallel_set_clauses): Likewise. | |
9199 | (gimple_omp_parallel_child_fn): Likewise. | |
9200 | (gimple_omp_parallel_child_fn_ptr): Likewise. | |
9201 | (gimple_omp_parallel_set_child_fn): Likewise. | |
9202 | (gimple_omp_parallel_data_arg): Likewise. | |
9203 | (gimple_omp_parallel_data_arg_ptr): Likewise. | |
9204 | (gimple_omp_parallel_set_data_arg): Likewise. | |
9205 | (gimple_omp_task_clauses): Likewise. | |
9206 | (gimple_omp_task_clauses_ptr): Likewise. | |
9207 | (gimple_omp_task_set_clauses): Likewise. | |
9208 | (gimple_omp_task_child_fn): Likewise. | |
9209 | (gimple_omp_task_child_fn_ptr): Likewise. | |
9210 | (gimple_omp_task_set_child_fn): Likewise. | |
9211 | (gimple_omp_task_data_arg): Likewise. | |
9212 | (gimple_omp_task_data_arg_ptr): Likewise. | |
9213 | (gimple_omp_task_set_data_arg): Likewise. | |
9214 | (gimple_omp_taskreg_clauses): Likewise. | |
9215 | (gimple_omp_taskreg_clauses_ptr): Likewise. | |
9216 | (gimple_omp_taskreg_set_clauses): Likewise. | |
9217 | (gimple_omp_taskreg_child_fn): Likewise. | |
9218 | (gimple_omp_taskreg_child_fn_ptr): Likewise. | |
9219 | (gimple_omp_taskreg_set_child_fn): Likewise. | |
9220 | (gimple_omp_taskreg_data_arg): Likewise. | |
9221 | (gimple_omp_taskreg_data_arg_ptr): Likewise. | |
9222 | (gimple_omp_taskreg_set_data_arg): Likewise. | |
9223 | (gimple_omp_task_copy_fn): Likewise. | |
9224 | (gimple_omp_task_copy_fn_ptr): Likewise. | |
9225 | (gimple_omp_task_set_copy_fn): Likewise. | |
9226 | (gimple_omp_task_arg_size): Likewise. | |
9227 | (gimple_omp_task_arg_size_ptr): Likewise. | |
9228 | (gimple_omp_task_set_arg_size): Likewise. | |
9229 | (gimple_omp_task_arg_align): Likewise. | |
9230 | (gimple_omp_task_arg_align_ptr): Likewise. | |
9231 | (gimple_omp_task_set_arg_align): Likewise. | |
9232 | (gimple_omp_single_clauses): Likewise. | |
9233 | (gimple_omp_single_clauses_ptr): Likewise. | |
9234 | (gimple_omp_single_set_clauses): Likewise. | |
9235 | (gimple_omp_target_clauses): Likewise. | |
9236 | (gimple_omp_target_clauses_ptr): Likewise. | |
9237 | (gimple_omp_target_set_clauses): Likewise. | |
9238 | (gimple_omp_target_child_fn): Likewise. | |
9239 | (gimple_omp_target_child_fn_ptr): Likewise. | |
9240 | (gimple_omp_target_set_child_fn): Likewise. | |
9241 | (gimple_omp_target_data_arg): Likewise. | |
9242 | (gimple_omp_target_data_arg_ptr): Likewise. | |
9243 | (gimple_omp_target_set_data_arg): Likewise. | |
9244 | (gimple_omp_teams_clauses): Likewise. | |
9245 | (gimple_omp_teams_clauses_ptr): Likewise. | |
9246 | (gimple_omp_teams_set_clauses): Likewise. | |
9247 | (gimple_omp_sections_clauses): Likewise. | |
9248 | (gimple_omp_sections_clauses_ptr): Likewise. | |
9249 | (gimple_omp_sections_set_clauses): Likewise. | |
9250 | (gimple_omp_sections_control): Likewise. | |
9251 | (gimple_omp_sections_control_ptr): Likewise. | |
9252 | (gimple_omp_sections_set_control): Likewise. | |
9253 | (gimple_omp_for_set_cond): Likewise. | |
9254 | (gimple_omp_for_cond): Likewise. | |
9255 | (gimple_omp_atomic_store_set_val): Likewise. | |
9256 | (gimple_omp_atomic_store_val): Likewise. | |
9257 | (gimple_omp_atomic_store_val_ptr): Likewise. | |
9258 | (gimple_omp_atomic_load_set_lhs): Likewise. | |
9259 | (gimple_omp_atomic_load_lhs): Likewise. | |
9260 | (gimple_omp_atomic_load_lhs_ptr): Likewise. | |
9261 | (gimple_omp_atomic_load_set_rhs): Likewise. | |
9262 | (gimple_omp_atomic_load_rhs): Likewise. | |
9263 | (gimple_omp_atomic_load_rhs_ptr): Likewise. | |
9264 | (gimple_omp_continue_control_def): Likewise. | |
9265 | (gimple_omp_continue_control_def_ptr): Likewise. | |
9266 | (gimple_omp_continue_set_control_def): Likewise. | |
9267 | (gimple_omp_continue_control_use): Likewise. | |
9268 | (gimple_omp_continue_control_use_ptr): Likewise. | |
9269 | (gimple_omp_continue_set_control_use): Likewise. | |
9270 | (gimple_transaction_body_ptr): Likewise. | |
9271 | (gimple_transaction_label): Likewise. | |
9272 | (gimple_transaction_label_ptr): Likewise. | |
9273 | (gimple_transaction_set_body): Likewise. | |
9274 | (gimple_transaction_set_label): Likewise. | |
9275 | ||
9276 | * ipa-devirt.c (build_type_inheritance_graph): Likewise. | |
9277 | * ipa-inline-analysis.c (inline_write_summary): Likewise. | |
9278 | * ipa-ref.c (ipa_record_reference): Likewise. | |
9279 | * ipa-reference.c (analyze_function): Likewise. | |
9280 | (ipa_reference_write_optimization_summary): Likewise. | |
9281 | * ipa.c (symtab_remove_unreachable_nodes): Likewise. | |
9282 | (address_taken_from_non_vtable_p): Likewise. | |
9283 | (comdat_can_be_unshared_p_1): Likewise. | |
9284 | * lto-cgraph.c (lto_output_ref): Likewise. | |
9285 | (add_references): Likewise. | |
9286 | (compute_ltrans_boundary): Likewise. | |
9287 | (output_symtab): Likewise. | |
9288 | (input_ref): Likewise. | |
9289 | (input_cgraph_1): Likewise. | |
9290 | (output_cgraph_opt_summary): Likewise. | |
9291 | * lto-streamer-out.c (lto_output): Likewise. | |
9292 | (output_symbol_p): Likewise. | |
9293 | * lto-streamer.h (lsei_next_function_in_partition): Likewise. | |
9294 | (lsei_start_function_in_partition): Likewise. | |
9295 | (lsei_next_variable_in_partition): Likewise. | |
9296 | (lsei_start_variable_in_partition): Likewise. | |
9297 | * symtab.c (insert_to_assembler_name_hash): Likewise. | |
9298 | (unlink_from_assembler_name_hash): Likewise. | |
9299 | (symtab_unregister_node): Likewise. | |
9300 | (symtab_remove_node): Likewise. | |
9301 | (dump_symtab_node): Likewise. | |
9302 | (verify_symtab_base): Likewise. | |
9303 | (verify_symtab_node): Likewise. | |
9304 | (symtab_make_decl_local): Likewise. | |
9305 | (symtab_alias_ultimate_target): Likewise. | |
9306 | (symtab_resolve_alias): Likewise. | |
9307 | (symtab_get_symbol_partitioning_class): Likewise. | |
9308 | * tree-phinodes.c (allocate_phi_node): Likewise. | |
9309 | (reserve_phi_args_for_new_edge): Likewise. | |
9310 | (remove_phi_args): Likewise. | |
9311 | * varpool.c (varpool_node_for_asm): Likewise. | |
9312 | (varpool_remove_unreferenced_decls): Likewise. | |
9313 | ||
9219922e JL |
9314 | 2014-04-23 Jeff Law <law@redhat.com> |
9315 | ||
9316 | PR tree-optimization/60902 | |
9317 | * tree-ssa-threadedge.c | |
9318 | (record_temporary_equivalences_from_stmts_at_dest): Make sure to | |
9319 | invalidate outputs from statements that do not produce useful | |
9320 | outputs for threading. | |
9321 | ||
b6db8af6 | 9322 | 2014-04-23 Venkataramanan Kumar <venkataramanan.kumar@linaro.org> |
36e17020 VK |
9323 | |
9324 | * config/aarch64/aarch64.md (stack_protect_set, stack_protect_test) | |
9325 | (stack_protect_set_<mode>, stack_protect_test_<mode>): Add | |
9326 | machine descriptions for Stack Smashing Protector. | |
9327 | ||
57b77d46 RE |
9328 | 2014-04-23 Richard Earnshaw <rearnsha@arm.com> |
9329 | ||
9330 | * aarch64.md (<optab>_rol<mode>3): New pattern. | |
9331 | (<optab>_rolsi3_uxtw): Likewise. | |
9332 | * aarch64.c (aarch64_strip_shift): Handle ROTATE and ROTATERT. | |
9333 | ||
984c2f30 JG |
9334 | 2014-04-23 James Greenhalgh <james.greenhalgh@arm.com> |
9335 | ||
9336 | * config/arm/arm.c (arm_cortex_a57_tune): Initialize all fields. | |
9337 | (arm_cortex_a12_tune): Likewise. | |
9338 | ||
18b42b2a KT |
9339 | 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
9340 | ||
9341 | * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle BSWAP. | |
9342 | ||
ea1e9168 KT |
9343 | 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
9344 | ||
9345 | * config/arm/arm.md (arm_rev16si2): New pattern. | |
9346 | (arm_rev16si2_alt): Likewise. | |
9347 | * config/arm/arm.c (arm_new_rtx_costs): Handle rev16 case. | |
9348 | ||
f7d5cf8d KT |
9349 | 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
9350 | ||
b6db8af6 UB |
9351 | * config/aarch64/aarch64.md (rev16<mode>2): New pattern. |
9352 | (rev16<mode>2_alt): Likewise. | |
9353 | * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle rev16 case. | |
9354 | * config/arm/aarch-common.c (aarch_rev16_shright_mask_imm_p): New. | |
9355 | (aarch_rev16_shleft_mask_imm_p): Likewise. | |
9356 | (aarch_rev16_p_1): Likewise. | |
9357 | (aarch_rev16_p): Likewise. | |
9358 | * config/arm/aarch-common-protos.h (aarch_rev16_p): Declare extern. | |
9359 | (aarch_rev16_shright_mask_imm_p): Likewise. | |
9360 | (aarch_rev16_shleft_mask_imm_p): Likewise. | |
f7d5cf8d | 9361 | |
9ac05ae5 KT |
9362 | 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
9363 | ||
b6db8af6 UB |
9364 | * config/arm/aarch-common-protos.h (alu_cost_table): Add rev field. |
9365 | * config/arm/aarch-cost-tables.h (generic_extra_costs): Specify | |
9366 | rev cost. | |
9367 | (cortex_a53_extra_costs): Likewise. | |
9368 | (cortex_a57_extra_costs): Likewise. | |
9369 | * config/arm/arm.c (cortexa9_extra_costs): Likewise. | |
9370 | (cortexa7_extra_costs): Likewise. | |
9371 | (cortexa8_extra_costs): Likewise. | |
9372 | (cortexa12_extra_costs): Likewise. | |
9373 | (cortexa15_extra_costs): Likewise. | |
9374 | (v7m_extra_costs): Likewise. | |
9375 | (arm_new_rtx_costs): Handle BSWAP. | |
9ac05ae5 | 9376 | |
e0d8c86c KT |
9377 | 2013-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
9378 | ||
b6db8af6 UB |
9379 | * config/arm/arm.c (cortexa8_extra_costs): New table. |
9380 | (arm_cortex_a8_tune): New tuning struct. | |
9381 | * config/arm/arm-cores.def (cortex-a8): Use cortex_a8 tuning struct. | |
e0d8c86c | 9382 | |
ba9b1a63 KT |
9383 | 2014-04-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
9384 | ||
b6db8af6 | 9385 | * config/arm/arm.c (arm_new_rtx_costs): Handle FMA. |
ba9b1a63 | 9386 | |
da4cfeac RB |
9387 | 2014-04-23 Richard Biener <rguenther@suse.de> |
9388 | ||
9389 | * Makefile.in (OBJS): Remove loop-unswitch.o. | |
da4cfeac RB |
9390 | * tree-pass.h (make_pass_rtl_unswitch): Remove. |
9391 | * passes.def (pass_rtl_unswitch): Likewise. | |
9392 | * loop-init.c (gate_rtl_unswitch): Likewise. | |
9393 | (rtl_unswitch): Likewise. | |
9394 | (pass_data_rtl_unswitch): Likewise. | |
9395 | (pass_rtl_unswitch): Likewise. | |
9396 | (make_pass_rtl_unswitch): Likewise. | |
9397 | * rtl.h (reversed_condition): Likewise. | |
9398 | (compare_and_jump_seq): Likewise. | |
9399 | * loop-iv.c (reversed_condition): Move here from loop-unswitch.c | |
9400 | and make static. | |
9401 | * loop-unroll.c (compare_and_jump_seq): Likewise. | |
9402 | ||
22718afe RB |
9403 | 2014-04-23 Richard Biener <rguenther@suse.de> |
9404 | ||
9405 | PR tree-optimization/60903 | |
9406 | * tree-ssa-loop-im.c (analyze_memory_references): Remove | |
9407 | commented code block. | |
9408 | (execute_sm_if_changed): Properly apply IRREDUCIBLE_LOOP | |
9409 | loop flags to newly created BBs and edges. | |
9410 | ||
f7961364 NC |
9411 | 2014-04-23 Nick Clifton <nickc@redhat.com> |
9412 | ||
9413 | * config/msp430/msp430.c (msp430_handle_option): Move function | |
9414 | to msp430-common.c | |
9415 | (msp430_option_override): Simplify mcu and mcpu option handling. | |
9416 | (msp430_is_f5_mcu): Rename to msp430_use_f5_series_hwmult. Add | |
9417 | support for -mhwmult command line option. | |
9418 | (has_32bit_hwmult): Rename to use_32bit_hwmult. Add support for | |
9419 | -mhwmult command line option. | |
9420 | (msp430_hwmult_enabled): Delete. | |
b6db8af6 | 9421 | (msp43o_output_labelref): Add support for -mhwmult command line option. |
f7961364 NC |
9422 | * config/msp430/msp430.md (mulhisi3, umulhisi3, mulsidi3) |
9423 | (umulsidi3): Likewise. | |
9424 | * config/msp430/msp430.opt (mmcu): Add Report attribute. | |
9425 | (mcpu, mlarge, msmall): Likewise. | |
9426 | (mhwmult): New option. | |
9427 | * config/msp430/msp430-protos.h (msp430_hwmult_enabled): Remove | |
9428 | prototype. | |
9429 | (msp430_is_f5_mcu): Remove prototype. | |
9430 | (msp430_use_f5_series_hwmult): Add prototype. | |
9431 | * config/msp430/msp430-opts.h: New file. | |
9432 | * common/config/msp430: New directory. | |
9433 | * common/config/msp430/msp430-common.c: New file. | |
9434 | * config.gcc (msp430): Remove target_has_targetm_common. | |
9435 | * doc/invoke.texi: Document -mhwmult command line option. | |
9436 | ||
f70df035 NC |
9437 | 2014-04-23 Nick Clifton <nickc@redhat.com> |
9438 | ||
9439 | * config/i386/cygwin.h (ENDFILE_SPEC): Include | |
9440 | default-manifest.o if it can be found in the search path. | |
9441 | * config/i386/mingw32.h (ENDFILE_SPEC): Likewise. | |
9442 | ||
6a9accca TG |
9443 | 2014-04-23 Terry Guo <terry.guo@arm.com> |
9444 | ||
9445 | * config/arm/arm.h (ASM_APP_OFF): Re-define it in a cleaner way. | |
9446 | ||
62ba699e RB |
9447 | 2014-04-23 Richard Biener <rguenther@suse.de> |
9448 | ||
9449 | PR middle-end/60895 | |
9450 | * tree-inline.c (declare_return_variable): Use mark_addressable. | |
9451 | ||
92562f88 RB |
9452 | 2014-04-23 Richard Biener <rguenther@suse.de> |
9453 | ||
9454 | PR middle-end/60891 | |
9455 | * loop-init.c (loop_optimizer_init): Make sure to apply | |
9456 | LOOPS_MAY_HAVE_MULTIPLE_LATCHES before fixing up loops. | |
9457 | ||
1c33c9b7 JJ |
9458 | 2014-04-22 Jakub Jelinek <jakub@redhat.com> |
9459 | ||
9460 | PR sanitizer/60275 | |
9461 | * common.opt (fsanitize-recover, fsanitize-undefined-trap-on-error): | |
9462 | New options. | |
9463 | * gcc.c (sanitize_spec_function): Don't return "" for "undefined" | |
9464 | if flag_sanitize_undefined_trap_on_error. | |
9465 | * sanitizer.def (BUILT_IN_UBSAN_HANDLE_DIVREM_OVERFLOW_ABORT, | |
9466 | BUILT_IN_UBSAN_HANDLE_SHIFT_OUT_OF_BOUNDS_ABORT, | |
9467 | BUILT_IN_UBSAN_HANDLE_VLA_BOUND_NOT_POSITIVE_ABORT, | |
9468 | BUILT_IN_UBSAN_HANDLE_TYPE_MISMATCH_ABORT, | |
9469 | BUILT_IN_UBSAN_HANDLE_ADD_OVERFLOW_ABORT, | |
9470 | BUILT_IN_UBSAN_HANDLE_SUB_OVERFLOW_ABORT, | |
9471 | BUILT_IN_UBSAN_HANDLE_MUL_OVERFLOW_ABORT, | |
9472 | BUILT_IN_UBSAN_HANDLE_NEGATE_OVERFLOW_ABORT, | |
9473 | BUILT_IN_UBSAN_HANDLE_LOAD_INVALID_VALUE_ABORT): New builtins. | |
9474 | * ubsan.c (ubsan_instrument_unreachable): Return | |
9475 | __builtin_trap () if flag_sanitize_undefined_trap_on_error. | |
9476 | (ubsan_expand_null_ifn): Emit __builtin_trap () | |
9477 | if flag_sanitize_undefined_trap_on_error and | |
9478 | __ubsan_handle_type_mismatch_abort if !flag_sanitize_recover. | |
9479 | (ubsan_expand_null_ifn, ubsan_build_overflow_builtin, | |
9480 | instrument_bool_enum_load): Emit __builtin_trap () if | |
9481 | flag_sanitize_undefined_trap_on_error and | |
9482 | __builtin_handle_*_abort () if !flag_sanitize_recover. | |
9483 | * doc/invoke.texi (-fsanitize-recover, | |
9484 | -fsanitize-undefined-trap-on-error): Document. | |
9485 | ||
5e66b2e5 CB |
9486 | 2014-04-22 Christian Bruel <christian.bruel@st.com> |
9487 | ||
9488 | * config/sh/sh.md (mov<mode>): Replace movQIHI. | |
9489 | Force immediates to SImode. | |
9490 | ||
aa221564 SL |
9491 | 2014-04-22 Sandra Loosemore <sandra@codesourcery.com> |
9492 | ||
9493 | * config/nios2/nios2.md (UNSPEC_ROUND): New. | |
9494 | (lroundsfsi2): New. | |
9495 | * config/nios2/nios2.opt (mno-custom-round, mcustom-round=): New. | |
9496 | * config/nios2/nios2-opts.h (N2FPU_ALL_CODES): Add round. | |
9497 | * config/nios2/nios2.c (N2F_NO_ERRNO): Define. | |
9498 | (nios2_fpu_insn): Add entry for round. | |
9499 | (N2FPU_NO_ERRNO_P): Define. | |
9500 | (nios2_custom_check_insns): Add check for N2F_NO_ERRNO and | |
9501 | flag_errno_math. | |
9502 | * doc/invoke.texi (Nios II Options): Document -mcustom-round. | |
9503 | ||
2195867f RH |
9504 | 2014-04-22 Richard Henderson <rth@redhat.com> |
9505 | ||
9506 | * config/aarch64/aarch64 (addti3, subti3): New expanders. | |
9507 | (add<GPI>3_compare0): Remove leading * from name. | |
9508 | (add<GPI>3_carryin): Likewise. | |
9509 | (sub<GPI>3_compare0): Likewise. | |
9510 | (sub<GPI>3_carryin): Likewise. | |
9511 | (<su_optab>mulditi3): New expander. | |
9512 | (multi3): New expander. | |
9513 | (madd<GPI>): Remove leading * from name. | |
9514 | ||
c6d43074 MJ |
9515 | 2014-04-22 Martin Jambor <mjambor@suse.cz> |
9516 | ||
9517 | * cgraphclones.c (cgraph_function_versioning): Copy | |
9518 | ipa_transforms_to_apply instead of asserting it is empty. | |
9519 | ||
e54c2dd3 L |
9520 | 2014-04-22 H.J. Lu <hongjiu.lu@intel.com> |
9521 | ||
9522 | PR target/60868 | |
f70df035 | 9523 | * config/i386/i386.c (ix86_expand_set_or_movmem): Call counter_mode |
e54c2dd3 L |
9524 | on count_exp to get mode. |
9525 | ||
621ad2de AP |
9526 | 2014-04-22 Andrew Pinski <apinski@cavium.com> |
9527 | ||
9528 | * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): | |
9529 | Handle TLS for ILP32. | |
9530 | * config/aarch64/aarch64.md (tlsie_small): Rename to ... | |
9531 | (tlsie_small_<mode>): this and handle PTR. | |
9532 | (tlsie_small_sidi): New pattern. | |
9533 | (tlsle_small): Change to an expand to handle ILP32. | |
9534 | (tlsle_small_<mode>): New pattern. | |
9535 | (tlsdesc_small): Rename to ... | |
9536 | (tlsdesc_small_<mode>): this and handle PTR. | |
9537 | ||
5cb74e90 RR |
9538 | 2014-04-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
9539 | ||
9540 | * config/aarch64/aarch64.c (TARGET_FLAGS_REGNUM): Define. | |
9541 | ||
bcd48995 AV |
9542 | 2014-04-22 Alex Velenko <Alex.Velenko@arm.com> |
9543 | ||
9544 | * config/aarch64/aarch64-builtins.c (TYPES_REINTERP): Removed. | |
9545 | (aarch64_types_signed_unsigned_qualifiers): Qualifier added. | |
9546 | (aarch64_types_signed_poly_qualifiers): Likewise. | |
9547 | (aarch64_types_unsigned_signed_qualifiers): Likewise. | |
9548 | (aarch64_types_poly_signed_qualifiers): Likewise. | |
9549 | (TYPES_REINTERP_SS): Type macro added. | |
9550 | (TYPES_REINTERP_SU): Likewise. | |
9551 | (TYPES_REINTERP_SP): Likewise. | |
9552 | (TYPES_REINTERP_US): Likewise. | |
9553 | (TYPES_REINTERP_PS): Likewise. | |
9554 | (aarch64_fold_builtin): New expression folding added. | |
9555 | * config/aarch64/aarch64-simd-builtins.def (REINTERP): | |
9556 | Declarations removed. | |
9557 | (REINTERP_SS): Declarations added. | |
9558 | (REINTERP_US): Likewise. | |
9559 | (REINTERP_PS): Likewise. | |
9560 | (REINTERP_SU): Likewise. | |
9561 | (REINTERP_SP): Likewise. | |
9562 | * config/aarch64/arm_neon.h (vreinterpret_p8_f64): Implemented. | |
9563 | (vreinterpretq_p8_f64): Likewise. | |
9564 | (vreinterpret_p16_f64): Likewise. | |
9565 | (vreinterpretq_p16_f64): Likewise. | |
9566 | (vreinterpret_f32_f64): Likewise. | |
9567 | (vreinterpretq_f32_f64): Likewise. | |
9568 | (vreinterpret_f64_f32): Likewise. | |
9569 | (vreinterpret_f64_p8): Likewise. | |
9570 | (vreinterpret_f64_p16): Likewise. | |
9571 | (vreinterpret_f64_s8): Likewise. | |
9572 | (vreinterpret_f64_s16): Likewise. | |
9573 | (vreinterpret_f64_s32): Likewise. | |
9574 | (vreinterpret_f64_s64): Likewise. | |
9575 | (vreinterpret_f64_u8): Likewise. | |
9576 | (vreinterpret_f64_u16): Likewise. | |
9577 | (vreinterpret_f64_u32): Likewise. | |
9578 | (vreinterpret_f64_u64): Likewise. | |
9579 | (vreinterpretq_f64_f32): Likewise. | |
9580 | (vreinterpretq_f64_p8): Likewise. | |
9581 | (vreinterpretq_f64_p16): Likewise. | |
9582 | (vreinterpretq_f64_s8): Likewise. | |
9583 | (vreinterpretq_f64_s16): Likewise. | |
9584 | (vreinterpretq_f64_s32): Likewise. | |
9585 | (vreinterpretq_f64_s64): Likewise. | |
9586 | (vreinterpretq_f64_u8): Likewise. | |
9587 | (vreinterpretq_f64_u16): Likewise. | |
9588 | (vreinterpretq_f64_u32): Likewise. | |
9589 | (vreinterpretq_f64_u64): Likewise. | |
9590 | (vreinterpret_s64_f64): Likewise. | |
9591 | (vreinterpretq_s64_f64): Likewise. | |
9592 | (vreinterpret_u64_f64): Likewise. | |
9593 | (vreinterpretq_u64_f64): Likewise. | |
9594 | (vreinterpret_s8_f64): Likewise. | |
9595 | (vreinterpretq_s8_f64): Likewise. | |
9596 | (vreinterpret_s16_f64): Likewise. | |
9597 | (vreinterpretq_s16_f64): Likewise. | |
9598 | (vreinterpret_s32_f64): Likewise. | |
9599 | (vreinterpretq_s32_f64): Likewise. | |
9600 | (vreinterpret_u8_f64): Likewise. | |
9601 | (vreinterpretq_u8_f64): Likewise. | |
9602 | (vreinterpret_u16_f64): Likewise. | |
9603 | (vreinterpretq_u16_f64): Likewise. | |
9604 | (vreinterpret_u32_f64): Likewise. | |
9605 | (vreinterpretq_u32_f64): Likewise. | |
9606 | ||
0bf3afc1 AV |
9607 | 2014-04-22 Alex Velenko <Alex.Velenko@arm.com> |
9608 | ||
9609 | * config/aarch64/aarch64/aarch64-builtins.c (TYPES_REINTERP): Removed. | |
9610 | * config/aarch64/aarch64/aarch64-simd-builtins.def (REINTERP): Removed. | |
9611 | (vreinterpret_p8_s8): Likewise. | |
9612 | * config/aarch64/aarch64/arm_neon.h (vreinterpret_p8_s8): Uses cast. | |
9613 | (vreinterpret_p8_s16): Likewise. | |
9614 | (vreinterpret_p8_s32): Likewise. | |
9615 | (vreinterpret_p8_s64): Likewise. | |
9616 | (vreinterpret_p8_f32): Likewise. | |
9617 | (vreinterpret_p8_u8): Likewise. | |
9618 | (vreinterpret_p8_u16): Likewise. | |
9619 | (vreinterpret_p8_u32): Likewise. | |
9620 | (vreinterpret_p8_u64): Likewise. | |
9621 | (vreinterpret_p8_p16): Likewise. | |
9622 | (vreinterpretq_p8_s8): Likewise. | |
9623 | (vreinterpretq_p8_s16): Likewise. | |
9624 | (vreinterpretq_p8_s32): Likewise. | |
9625 | (vreinterpretq_p8_s64): Likewise. | |
9626 | (vreinterpretq_p8_f32): Likewise. | |
9627 | (vreinterpretq_p8_u8): Likewise. | |
9628 | (vreinterpretq_p8_u16): Likewise. | |
9629 | (vreinterpretq_p8_u32): Likewise. | |
9630 | (vreinterpretq_p8_u64): Likewise. | |
9631 | (vreinterpretq_p8_p16): Likewise. | |
9632 | (vreinterpret_p16_s8): Likewise. | |
9633 | (vreinterpret_p16_s16): Likewise. | |
9634 | (vreinterpret_p16_s32): Likewise. | |
9635 | (vreinterpret_p16_s64): Likewise. | |
9636 | (vreinterpret_p16_f32): Likewise. | |
9637 | (vreinterpret_p16_u8): Likewise. | |
9638 | (vreinterpret_p16_u16): Likewise. | |
9639 | (vreinterpret_p16_u32): Likewise. | |
9640 | (vreinterpret_p16_u64): Likewise. | |
9641 | (vreinterpret_p16_p8): Likewise. | |
9642 | (vreinterpretq_p16_s8): Likewise. | |
9643 | (vreinterpretq_p16_s16): Likewise. | |
9644 | (vreinterpretq_p16_s32): Likewise. | |
9645 | (vreinterpretq_p16_s64): Likewise. | |
9646 | (vreinterpretq_p16_f32): Likewise. | |
9647 | (vreinterpretq_p16_u8): Likewise. | |
9648 | (vreinterpretq_p16_u16): Likewise. | |
9649 | (vreinterpretq_p16_u32): Likewise. | |
9650 | (vreinterpretq_p16_u64): Likewise. | |
9651 | (vreinterpretq_p16_p8): Likewise. | |
9652 | (vreinterpret_f32_s8): Likewise. | |
9653 | (vreinterpret_f32_s16): Likewise. | |
9654 | (vreinterpret_f32_s32): Likewise. | |
9655 | (vreinterpret_f32_s64): Likewise. | |
9656 | (vreinterpret_f32_u8): Likewise. | |
9657 | (vreinterpret_f32_u16): Likewise. | |
9658 | (vreinterpret_f32_u32): Likewise. | |
9659 | (vreinterpret_f32_u64): Likewise. | |
9660 | (vreinterpret_f32_p8): Likewise. | |
9661 | (vreinterpret_f32_p16): Likewise. | |
9662 | (vreinterpretq_f32_s8): Likewise. | |
9663 | (vreinterpretq_f32_s16): Likewise. | |
9664 | (vreinterpretq_f32_s32): Likewise. | |
9665 | (vreinterpretq_f32_s64): Likewise. | |
9666 | (vreinterpretq_f32_u8): Likewise. | |
9667 | (vreinterpretq_f32_u16): Likewise. | |
9668 | (vreinterpretq_f32_u32): Likewise. | |
9669 | (vreinterpretq_f32_u64): Likewise. | |
9670 | (vreinterpretq_f32_p8): Likewise. | |
9671 | (vreinterpretq_f32_p16): Likewise. | |
9672 | (vreinterpret_s64_s8): Likewise. | |
9673 | (vreinterpret_s64_s16): Likewise. | |
9674 | (vreinterpret_s64_s32): Likewise. | |
9675 | (vreinterpret_s64_f32): Likewise. | |
9676 | (vreinterpret_s64_u8): Likewise. | |
9677 | (vreinterpret_s64_u16): Likewise. | |
9678 | (vreinterpret_s64_u32): Likewise. | |
9679 | (vreinterpret_s64_u64): Likewise. | |
9680 | (vreinterpret_s64_p8): Likewise. | |
9681 | (vreinterpret_s64_p16): Likewise. | |
9682 | (vreinterpretq_s64_s8): Likewise. | |
9683 | (vreinterpretq_s64_s16): Likewise. | |
9684 | (vreinterpretq_s64_s32): Likewise. | |
9685 | (vreinterpretq_s64_f32): Likewise. | |
9686 | (vreinterpretq_s64_u8): Likewise. | |
9687 | (vreinterpretq_s64_u16): Likewise. | |
9688 | (vreinterpretq_s64_u32): Likewise. | |
9689 | (vreinterpretq_s64_u64): Likewise. | |
9690 | (vreinterpretq_s64_p8): Likewise. | |
9691 | (vreinterpretq_s64_p16): Likewise. | |
9692 | (vreinterpret_u64_s8): Likewise. | |
9693 | (vreinterpret_u64_s16): Likewise. | |
9694 | (vreinterpret_u64_s32): Likewise. | |
9695 | (vreinterpret_u64_s64): Likewise. | |
9696 | (vreinterpret_u64_f32): Likewise. | |
9697 | (vreinterpret_u64_u8): Likewise. | |
9698 | (vreinterpret_u64_u16): Likewise. | |
9699 | (vreinterpret_u64_u32): Likewise. | |
9700 | (vreinterpret_u64_p8): Likewise. | |
9701 | (vreinterpret_u64_p16): Likewise. | |
9702 | (vreinterpretq_u64_s8): Likewise. | |
9703 | (vreinterpretq_u64_s16): Likewise. | |
9704 | (vreinterpretq_u64_s32): Likewise. | |
9705 | (vreinterpretq_u64_s64): Likewise. | |
9706 | (vreinterpretq_u64_f32): Likewise. | |
9707 | (vreinterpretq_u64_u8): Likewise. | |
9708 | (vreinterpretq_u64_u16): Likewise. | |
9709 | (vreinterpretq_u64_u32): Likewise. | |
9710 | (vreinterpretq_u64_p8): Likewise. | |
9711 | (vreinterpretq_u64_p16): Likewise. | |
9712 | (vreinterpret_s8_s16): Likewise. | |
9713 | (vreinterpret_s8_s32): Likewise. | |
9714 | (vreinterpret_s8_s64): Likewise. | |
9715 | (vreinterpret_s8_f32): Likewise. | |
9716 | (vreinterpret_s8_u8): Likewise. | |
9717 | (vreinterpret_s8_u16): Likewise. | |
9718 | (vreinterpret_s8_u32): Likewise. | |
9719 | (vreinterpret_s8_u64): Likewise. | |
9720 | (vreinterpret_s8_p8): Likewise. | |
9721 | (vreinterpret_s8_p16): Likewise. | |
9722 | (vreinterpretq_s8_s16): Likewise. | |
9723 | (vreinterpretq_s8_s32): Likewise. | |
9724 | (vreinterpretq_s8_s64): Likewise. | |
9725 | (vreinterpretq_s8_f32): Likewise. | |
9726 | (vreinterpretq_s8_u8): Likewise. | |
9727 | (vreinterpretq_s8_u16): Likewise. | |
9728 | (vreinterpretq_s8_u32): Likewise. | |
9729 | (vreinterpretq_s8_u64): Likewise. | |
9730 | (vreinterpretq_s8_p8): Likewise. | |
9731 | (vreinterpretq_s8_p16): Likewise. | |
9732 | (vreinterpret_s16_s8): Likewise. | |
9733 | (vreinterpret_s16_s32): Likewise. | |
9734 | (vreinterpret_s16_s64): Likewise. | |
9735 | (vreinterpret_s16_f32): Likewise. | |
9736 | (vreinterpret_s16_u8): Likewise. | |
9737 | (vreinterpret_s16_u16): Likewise. | |
9738 | (vreinterpret_s16_u32): Likewise. | |
9739 | (vreinterpret_s16_u64): Likewise. | |
9740 | (vreinterpret_s16_p8): Likewise. | |
9741 | (vreinterpret_s16_p16): Likewise. | |
9742 | (vreinterpretq_s16_s8): Likewise. | |
9743 | (vreinterpretq_s16_s32): Likewise. | |
9744 | (vreinterpretq_s16_s64): Likewise. | |
9745 | (vreinterpretq_s16_f32): Likewise. | |
9746 | (vreinterpretq_s16_u8): Likewise. | |
9747 | (vreinterpretq_s16_u16): Likewise. | |
9748 | (vreinterpretq_s16_u32): Likewise. | |
9749 | (vreinterpretq_s16_u64): Likewise. | |
9750 | (vreinterpretq_s16_p8): Likewise. | |
9751 | (vreinterpretq_s16_p16): Likewise. | |
9752 | (vreinterpret_s32_s8): Likewise. | |
9753 | (vreinterpret_s32_s16): Likewise. | |
9754 | (vreinterpret_s32_s64): Likewise. | |
9755 | (vreinterpret_s32_f32): Likewise. | |
9756 | (vreinterpret_s32_u8): Likewise. | |
9757 | (vreinterpret_s32_u16): Likewise. | |
9758 | (vreinterpret_s32_u32): Likewise. | |
9759 | (vreinterpret_s32_u64): Likewise. | |
9760 | (vreinterpret_s32_p8): Likewise. | |
9761 | (vreinterpret_s32_p16): Likewise. | |
9762 | (vreinterpretq_s32_s8): Likewise. | |
9763 | (vreinterpretq_s32_s16): Likewise. | |
9764 | (vreinterpretq_s32_s64): Likewise. | |
9765 | (vreinterpretq_s32_f32): Likewise. | |
9766 | (vreinterpretq_s32_u8): Likewise. | |
9767 | (vreinterpretq_s32_u16): Likewise. | |
9768 | (vreinterpretq_s32_u32): Likewise. | |
9769 | (vreinterpretq_s32_u64): Likewise. | |
9770 | (vreinterpretq_s32_p8): Likewise. | |
9771 | (vreinterpretq_s32_p16): Likewise. | |
9772 | (vreinterpret_u8_s8): Likewise. | |
9773 | (vreinterpret_u8_s16): Likewise. | |
9774 | (vreinterpret_u8_s32): Likewise. | |
9775 | (vreinterpret_u8_s64): Likewise. | |
9776 | (vreinterpret_u8_f32): Likewise. | |
9777 | (vreinterpret_u8_u16): Likewise. | |
9778 | (vreinterpret_u8_u32): Likewise. | |
9779 | (vreinterpret_u8_u64): Likewise. | |
9780 | (vreinterpret_u8_p8): Likewise. | |
9781 | (vreinterpret_u8_p16): Likewise. | |
9782 | (vreinterpretq_u8_s8): Likewise. | |
9783 | (vreinterpretq_u8_s16): Likewise. | |
9784 | (vreinterpretq_u8_s32): Likewise. | |
9785 | (vreinterpretq_u8_s64): Likewise. | |
9786 | (vreinterpretq_u8_f32): Likewise. | |
9787 | (vreinterpretq_u8_u16): Likewise. | |
9788 | (vreinterpretq_u8_u32): Likewise. | |
9789 | (vreinterpretq_u8_u64): Likewise. | |
9790 | (vreinterpretq_u8_p8): Likewise. | |
9791 | (vreinterpretq_u8_p16): Likewise. | |
9792 | (vreinterpret_u16_s8): Likewise. | |
9793 | (vreinterpret_u16_s16): Likewise. | |
9794 | (vreinterpret_u16_s32): Likewise. | |
9795 | (vreinterpret_u16_s64): Likewise. | |
9796 | (vreinterpret_u16_f32): Likewise. | |
9797 | (vreinterpret_u16_u8): Likewise. | |
9798 | (vreinterpret_u16_u32): Likewise. | |
9799 | (vreinterpret_u16_u64): Likewise. | |
9800 | (vreinterpret_u16_p8): Likewise. | |
9801 | (vreinterpret_u16_p16): Likewise. | |
9802 | (vreinterpretq_u16_s8): Likewise. | |
9803 | (vreinterpretq_u16_s16): Likewise. | |
9804 | (vreinterpretq_u16_s32): Likewise. | |
9805 | (vreinterpretq_u16_s64): Likewise. | |
9806 | (vreinterpretq_u16_f32): Likewise. | |
9807 | (vreinterpretq_u16_u8): Likewise. | |
9808 | (vreinterpretq_u16_u32): Likewise. | |
9809 | (vreinterpretq_u16_u64): Likewise. | |
9810 | (vreinterpretq_u16_p8): Likewise. | |
9811 | (vreinterpretq_u16_p16): Likewise. | |
9812 | (vreinterpret_u32_s8): Likewise. | |
9813 | (vreinterpret_u32_s16): Likewise. | |
9814 | (vreinterpret_u32_s32): Likewise. | |
9815 | (vreinterpret_u32_s64): Likewise. | |
9816 | (vreinterpret_u32_f32): Likewise. | |
9817 | (vreinterpret_u32_u8): Likewise. | |
9818 | (vreinterpret_u32_u16): Likewise. | |
9819 | (vreinterpret_u32_u64): Likewise. | |
9820 | (vreinterpret_u32_p8): Likewise. | |
9821 | (vreinterpret_u32_p16): Likewise. | |
9822 | (vreinterpretq_u32_s8): Likewise. | |
9823 | (vreinterpretq_u32_s16): Likewise. | |
9824 | (vreinterpretq_u32_s32): Likewise. | |
9825 | (vreinterpretq_u32_s64): Likewise. | |
9826 | (vreinterpretq_u32_f32): Likewise. | |
9827 | (vreinterpretq_u32_u8): Likewise. | |
9828 | (vreinterpretq_u32_u16): Likewise. | |
9829 | (vreinterpretq_u32_u64): Likewise. | |
9830 | (vreinterpretq_u32_p8): Likewise. | |
9831 | (vreinterpretq_u32_p16): Likewise. | |
9832 | ||
9551c7ec AV |
9833 | 2014-04-22 Alex Velenko <Alex.Velenko@arm.com> |
9834 | ||
9835 | * gcc/config/aarch64/aarch64-simd.md (aarch64_s<optab><mode>): | |
9836 | Pattern extended. | |
b6db8af6 | 9837 | * config/aarch64/aarch64-simd-builtins.def (sqneg): Iterator extended. |
9551c7ec AV |
9838 | (sqabs): Likewise. |
9839 | * config/aarch64/arm_neon.h (vqneg_s64): New intrinsic. | |
9840 | (vqnegd_s64): Likewise. | |
9841 | (vqabs_s64): Likewise. | |
9842 | (vqabsd_s64): Likewise. | |
9843 | ||
f2a2c4b5 RH |
9844 | 2014-04-22 Richard Henderson <rth@redhat.com> |
9845 | ||
9846 | * config/sparc/sparc.c (sparc_init_modes): Hoist GET_MODE_SIZE | |
9847 | computation to the top of the loop. | |
9848 | ||
53e5ace2 RL |
9849 | 2014-04-22 Renlin <renlin.li@arm.com> |
9850 | Jiong Wang <jiong.wang@arm.com> | |
9851 | ||
9852 | * config/aarch64/aarch64.h (aarch64_frame): Delete "fp_lr_offset". | |
9853 | * config/aarch64/aarch64.c (aarch64_layout_frame) | |
9854 | (aarch64_initial_elimination_offset): Likewise. | |
9855 | ||
78c29983 MS |
9856 | 2014-04-22 Marcus Shawcroft <marcus.shawcroft@arm.com> |
9857 | ||
9858 | * config/aarch64/aarch64.c (aarch64_initial_elimination_offset): | |
9859 | Fix indentation. | |
9860 | ||
dbf23a79 RS |
9861 | 2014-04-22 Richard Sandiford <rdsandiford@googlemail.com> |
9862 | ||
9863 | * machmode.h (bitwise_mode_for_mode): Declare. | |
9864 | * stor-layout.h (bitwise_type_for_mode): Likewise. | |
9865 | * stor-layout.c (bitwise_mode_for_mode): New function. | |
9866 | (bitwise_type_for_mode): Likewise. | |
9867 | * builtins.c (fold_builtin_memory_op): Use it instead of | |
9868 | int_mode_for_mode and build_nonstandard_integer_type. | |
9869 | ||
d9f069ab RO |
9870 | 2014-04-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9871 | ||
9872 | * config.gcc (enable_obsolete): Remove *-*-solaris2.9*. | |
9873 | (*-*-solaris2.[0-9] | *-*-solaris2.[0-9].*): Mark unsupported. | |
9874 | (*-*-solaris2*): Simplify. | |
9875 | (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Likewise. | |
9876 | (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*): Remove | |
9877 | *-*-solaris2.9* handling. | |
9878 | ||
9879 | * configure.ac (gcc_cv_as_hidden): Remove test for Solaris 9/x86 | |
9880 | as bug. | |
9881 | (gcc_cv_ld_hidden): Remove *-*-solaris2.9* handling. | |
9882 | (ld_tls_support): Remove i?86-*-solaris2.9, sparc*-*-solaris2.9 | |
9883 | handling, simplify. | |
9884 | (gcc_cv_as_gstabs_flag): Remove workaround for Solaris 9/x86 as bug. | |
9885 | * configure: Regenerate. | |
9886 | ||
9887 | * config/i386/sol2-9.h: Remove. | |
9888 | ||
9889 | * doc/install.texi (Specific, i?86-*-solaris2.9): Remove. | |
9890 | (Specific, *-*-solaris2*): Mention Solaris 9 support removal. | |
9891 | Remove Solaris 9 references. | |
9892 | ||
0d35c5c2 VP |
9893 | 2014-04-22 Vidya Praveen <vidyapraveen@arm.com> |
9894 | ||
9895 | * aarch64.md (float<GPI:mode><GPF:mode>2): Remove. | |
9896 | (floatuns<GPI:mode><GPF:mode>2): Remove. | |
9897 | (<optab><fcvt_target><GPF:mode>2): New pattern for equal width float | |
9898 | and floatuns conversions. | |
9899 | (<optab><fcvt_iesize><GPF:mode>2): New pattern for inequal width float | |
9900 | and floatuns conversions. | |
9901 | * iterators.md (fcvt_target, FCVT_TARGET): Support SF and DF modes. | |
9902 | (w1,w2): New mode attributes for inequal width conversions. | |
9903 | ||
16a3246f RL |
9904 | 2014-04-22 Renlin Li <Renlin.Li@arm.com> |
9905 | ||
9906 | * config/aarch64/aarch64.c (aarch64_print_operand_address): Adjust | |
9907 | the output asm format. | |
9908 | ||
110e1ccc JG |
9909 | 2014-04-22 James Greenhalgh <james.greenhalgh@arm.com> |
9910 | ||
9911 | * config/aarch64/aarch64-simd.md | |
9912 | (aarch64_cm<optab>di): Always split. | |
9913 | (*aarch64_cm<optab>di): New. | |
9914 | (aarch64_cmtstdi): Always split. | |
9915 | (*aarch64_cmtstdi): New. | |
9916 | ||
2044a4c3 JJ |
9917 | 2014-04-22 Jakub Jelinek <jakub@redhat.com> |
9918 | ||
9919 | PR tree-optimization/60823 | |
9920 | * omp-low.c (ipa_simd_modify_function_body): Go through | |
9921 | all SSA_NAMEs and for those refering to vector arguments | |
9922 | which are going to be replaced adjust SSA_NAME_VAR and, | |
9923 | if it is a default definition, change it into a non-default | |
9924 | definition assigned at the beginning of function from new_decl. | |
9925 | (ipa_simd_modify_stmt_ops): Rewritten. | |
9926 | * tree-dfa.c (set_ssa_default_def): When removing default def, | |
9927 | check for NULL loc instead of NULL *loc. | |
9928 | ||
9d8b4d1c RR |
9929 | 2014-04-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
9930 | ||
9931 | * config/arm/arm.c (arm_hard_regno_mode_ok): Loosen | |
9932 | restrictions on core registers for DImode values in Thumb2. | |
9933 | ||
a01be1ae IB |
9934 | 2014-04-22 Ian Bolton <ian.bolton@arm.com> |
9935 | ||
9936 | * config/arm/arm.md (*anddi_notdi_zesidi): New pattern. | |
9937 | * config/arm/thumb2.md (*iordi_notdi_zesidi): New pattern. | |
9938 | ||
80d3417b IB |
9939 | 2014-04-22 Ian Bolton <ian.bolton@arm.com> |
9940 | ||
9941 | * config/arm/thumb2.md (*iordi_notdi_di): New pattern. | |
9942 | (*iordi_notzesidi_di): Likewise. | |
9943 | (*iordi_notsesidi_di): Likewise. | |
9944 | ||
46fbb3eb IB |
9945 | 2014-04-22 Ian Bolton <ian.bolton@arm.com> |
9946 | ||
9947 | * config/arm/arm-protos.h (tune_params): New struct members. | |
9948 | * config/arm/arm.c: Initialise tune_params per processor. | |
9949 | (thumb2_reorg): Suppress conversion from t32 to t16 when optimizing | |
9950 | for speed, based on new tune_params. | |
9951 | ||
74dc11ed AV |
9952 | 2014-04-22 Alex Velenko <Alex.Velenko@arm.com> |
9953 | ||
b6db8af6 UB |
9954 | * config/aarch64/aarch64-builtins.c (BUILTIN_VDQF_DF): Macro added. |
9955 | * config/aarch64/aarch64-simd-builtins.def (frintn): Use added macro. | |
9956 | * config/aarch64/aarch64-simd.md (<frint_pattern>): Comment corrected. | |
74dc11ed AV |
9957 | * config/aarch64/aarch64.md (<frint_pattern>): Likewise. |
9958 | * config/aarch64/arm_neon.h (vrnd_f64): Added. | |
9959 | (vrnda_f64): Likewise. | |
9960 | (vrndi_f64): Likewise. | |
9961 | (vrndm_f64): Likewise. | |
9962 | (vrndn_f64): Likewise. | |
9963 | (vrndp_f64): Likewise. | |
9964 | (vrndx_f64): Likewise. | |
9965 | ||
35923e46 ZC |
9966 | 2014-04-22 Zhenqiang Chen <zhenqiang.chen@linaro.org> |
9967 | ||
9968 | * config/arm/arm.c (arm_print_operand, thumb_exit): Make sure | |
9969 | GET_MODE_SIZE argument is enum machine_mode. | |
9970 | ||
4552e70c JJ |
9971 | 2014-04-22 Jakub Jelinek <jakub@redhat.com> |
9972 | ||
9973 | PR target/60910 | |
9974 | * config/sparc/sparc.c (sparc_init_modes): Pass enum machine_mode | |
9975 | value instead of int to GET_MODE_CLASS and GET_MODE_SIZE macros. | |
9976 | ||
e5dcd695 LZ |
9977 | 2014-04-22 Lin Zuojian <manjian2006@gmail.com> |
9978 | ||
9979 | PR middle-end/60281 | |
9980 | * asan.c (asan_emit_stack_protection): Force the base to align to | |
9981 | appropriate bits if STRICT_ALIGNMENT. Set shadow_mem align to | |
9982 | appropriate bits if STRICT_ALIGNMENT. | |
9983 | * cfgexpand.c (expand_stack_vars): Set base_align appropriately | |
9984 | when asan is on. | |
9985 | (expand_used_vars): Leave a space in the stack frame for alignment | |
9986 | if STRICT_ALIGNMENT. | |
9987 | ||
7455080c DM |
9988 | 2014-04-21 David Malcolm <dmalcolm@redhat.com> |
9989 | ||
9990 | * gimple.h (gimple_assign_single_p): Accept a const_gimple rather | |
9991 | than a gimple. | |
9992 | (gimple_store_p): Likewise. | |
9993 | (gimple_assign_load_p): Likewise. | |
9994 | (gimple_assign_cast_p): Likewise. | |
9995 | (gimple_clobber_p): Likewise. | |
9996 | ||
9997 | * doc/gimple.texi (gimple_assign_cast_p): Accept a const_gimple | |
9998 | rather than a gimple. | |
9999 | (gimple_assign_cast_p): Likewise. | |
10000 | ||
aeb9579a MM |
10001 | 2014-04-21 Michael Meissner <meissner@linux.vnet.ibm.com> |
10002 | ||
10003 | PR target/60735 | |
10004 | * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64 case): | |
10005 | If mode is DDmode and TARGET_E500_DOUBLE allow move. | |
10006 | ||
10007 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): Print some | |
10008 | more debug information for E500 if -mdebug=reg. | |
10009 | ||
b15d92bf UB |
10010 | 2014-04-21 Uros Bizjak <ubizjak@gmail.com> |
10011 | ||
10012 | PR target/60909 | |
10013 | * config/i386/i386.c (ix86_expand_builtin) | |
10014 | <case IX86_BUILTIN_RDRAND{16,32,64}_STEP>: Use temporary | |
10015 | register for target RTX. | |
10016 | <case IX86_BUILTIN_RDSEED{16,32,64}_STEP>: Ditto. | |
10017 | ||
d367387c CH |
10018 | 2014-04-18 Cong Hou <congh@google.com> |
10019 | ||
10020 | * tree-vect-patterns.c (vect_recog_widen_mult_pattern): Enhance | |
b15d92bf UB |
10021 | the widen-mult pattern by handling two operands with different sizes, |
10022 | and operands whose size is smaller than half of the result type. | |
d367387c | 10023 | |
b6d627e4 JH |
10024 | 2014-04-18 Jan Hubicka <hubicka@ucw.cz> |
10025 | ||
10026 | * ipa-inline.h (INLINE_HINT_known_hot): New hint. | |
10027 | * ipa-inline-analysis.c (dump_inline_hints): Dump it. | |
10028 | (do_estimate_edge_time): Compute it. | |
10029 | * ipa-inline.c (want_inline_small_function_p): Bypass | |
b15d92bf | 10030 | INLINE_INSNS_AUTO/SINGLE limits for calls that are known to be hot. |
b6d627e4 | 10031 | |
e86a910f JH |
10032 | 2014-04-18 Jan Hubicka <hubicka@ucw.cz> |
10033 | ||
10034 | * ipa-inline.c (spec_rem): New static variable. | |
10035 | (dump_overall_stats): New function. | |
10036 | (dump_inline_stats): New function. | |
10037 | ||
8a3a7e67 RH |
10038 | 2014-04-18 Richard Henderson <rth@redhat.com> |
10039 | ||
10040 | * config/aarch64/aarch64.c (aarch64_register_move_cost): Pass a mode | |
10041 | to GET_MODE_SIZE, not a reg_class_t. | |
10042 | ||
ed79f4d0 BS |
10043 | 2014-04-18 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
10044 | ||
b15d92bf | 10045 | * config/rs6000/vsx.md (vsx_xxmrghw_<mode>): Adjust for little-endian. |
ed79f4d0 BS |
10046 | (vsx_xxmrglw_<mode>): Likewise. |
10047 | ||
fe799eea MM |
10048 | 2014-04-17 Michael Meissner <meissner@linux.vnet.ibm.com> |
10049 | ||
10050 | PR target/60876 | |
10051 | * config/rs6000/rs6000.c (rs6000_setup_reg_addr_masks): Make sure | |
b15d92bf | 10052 | GET_MODE_SIZE gets passed an enum machine_mode type and not integer. |
fe799eea MM |
10053 | (rs6000_init_hard_regno_mode_ok): Likewise. |
10054 | ||
5e750dc6 JH |
10055 | 2014-04-17 Jan Hubicka <hubicka@ucw.cz> |
10056 | ||
10057 | * ipa-inline.c (inline_small_functions): Account only non-cold | |
10058 | functions. | |
10059 | * doc/invoke.texi (inline-unit-growth): Update documentation. | |
10060 | ||
32337f10 PH |
10061 | 2014-04-17 Pat Haugen <pthaugen@us.ibm.com> |
10062 | ||
10063 | * config/rs6000/rs6000.md (addti3, subti3): New. | |
10064 | ||
40ed344a L |
10065 | 2014-04-17 H.J. Lu <hongjiu.lu@intel.com> |
10066 | ||
10067 | PR target/60863 | |
10068 | * config/i386/i386.c (ix86_expand_clear): Remove outdated | |
10069 | comment. Check optimize_insn_for_size_p instead of | |
10070 | optimize_insn_for_speed_p. | |
10071 | ||
104cb50b MJ |
10072 | 2014-04-17 Martin Jambor <mjambor@suse.cz> |
10073 | ||
10074 | * gimple-iterator.c (gsi_start_edge): New function. | |
10075 | * gimple-iterator.h (gsi_start_edge): Declare. | |
10076 | * tree-sra.c (single_non_eh_succ): New function. | |
10077 | (disqualify_ops_if_throwing_stmt): Renamed to | |
10078 | disqualify_if_bad_bb_terminating_stmt. Allow throwing statements | |
10079 | having one non-EH successor BB. | |
10080 | (sra_modify_expr): If stmt ends bb, use single non-EH successor to | |
10081 | generate loads into replacements. | |
10082 | (sra_modify_assign): Likewise and and also use the simple path for | |
10083 | such statements. | |
10084 | (sra_modify_function_body): Commit statements on edges. | |
10085 | ||
b94970bc RB |
10086 | 2014-04-17 Richard Biener <rguenther@suse.de> |
10087 | ||
10088 | PR middle-end/60849 | |
10089 | * tree-ssa-propagate.c (valid_gimple_rhs_p): Allow vector | |
10090 | comparison results and add clarifying comment. | |
10091 | ||
92f0f3ec JJ |
10092 | 2014-04-17 Jakub Jelinek <jakub@redhat.com> |
10093 | ||
10094 | * genmodes.c (struct mode_data): Add need_bytesize_adj field. | |
10095 | (blank_mode): Initialize it. | |
10096 | (emit_mode_size_inline, emit_mode_nunits_inline, | |
10097 | emit_mode_inner_inline): New functions. | |
10098 | (emit_insn_modes_h): Call them and surround their output with | |
10099 | #if GCC_VERSION >= 4001 ... #endif. | |
10100 | * machmode.h (GET_MODE_SIZE, GET_MODE_NUNITS, GET_MODE_INNER): | |
10101 | For GCC_VERSION >= 4001 use mode_*_inline routines instead of | |
10102 | mode_* arrays if the argument is __builtin_constant_p. | |
10103 | * lower-subreg.c (dump_choices): Make sure GET_MODE_SIZE argument | |
10104 | is enum machine_mode. | |
10105 | ||
be55bfe6 TS |
10106 | 2014-04-17 Trevor Saunders <tsaunders@mozilla.com> |
10107 | ||
10108 | * passes.c (opt_pass::execute): Adjust. | |
10109 | (pass_manager::execute_pass_mode_switching): Likewise. | |
10110 | (early_local_passes::execute): Likewise. | |
10111 | (execute_one_pass): Pass cfun to the pass's execute method. | |
10112 | * tree-pass.h (opt_pass::execute): Add function * argument. | |
10113 | * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c, | |
10114 | cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c, | |
10115 | compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c, | |
10116 | config/epiphany/resolve-sw-modes.c, config/i386/i386.c, | |
10117 | config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c, | |
10118 | config/sparc/sparc.c, cprop.c, dce.c, df-core.c, dse.c, dwarf2cfi.c, | |
10119 | except.c, final.c, function.c, fwprop.c, gcse.c, gimple-low.c, | |
10120 | gimple-ssa-isolate-paths.c, gimple-ssa-strength-reduction.c, | |
10121 | graphite.c, ifcvt.c, init-regs.c, ipa-cp.c, ipa-devirt.c, | |
10122 | ipa-inline-analysis.c, ipa-inline.c, ipa-profile.c, ipa-pure-const.c, | |
10123 | ipa-reference.c, ipa-split.c, ipa.c, ira.c, jump.c, loop-init.c, | |
10124 | lower-subreg.c, mode-switching.c, omp-low.c, postreload-gcse.c, | |
10125 | postreload.c, predict.c, recog.c, ree.c, reg-stack.c, regcprop.c, | |
10126 | reginfo.c, regrename.c, reorg.c, sched-rgn.c, stack-ptr-mod.c, | |
10127 | store-motion.c, tracer.c, trans-mem.c, tree-call-cdce.c, tree-cfg.c, | |
10128 | tree-cfgcleanup.c, tree-complex.c, tree-eh.c, tree-emutls.c, | |
10129 | tree-if-conv.c, tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c, | |
10130 | tree-object-size.c, tree-parloops.c, tree-predcom.c, tree-ssa-ccp.c, | |
10131 | tree-ssa-copy.c, tree-ssa-copyrename.c, tree-ssa-dce.c, | |
10132 | tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c, | |
10133 | tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c, | |
10134 | tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c, | |
10135 | tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c, | |
10136 | tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c, | |
10137 | tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c, | |
10138 | tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c, | |
10139 | tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c, | |
10140 | tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c, | |
10141 | tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c: | |
10142 | Adjust. | |
10143 | ||
1a3d085c TS |
10144 | 2014-04-17 Trevor Saunders <tsaunders@mozilla.com> |
10145 | ||
10146 | * passes.c (opt_pass::gate): Take function * argument. | |
10147 | (gate_all_early_local_passes): Merge into | |
10148 | (early_local_passes::gate): this. | |
10149 | (gate_all_early_optimizations): Merge into | |
10150 | (all_early_optimizations::gate): this. | |
10151 | (gate_all_optimizations): Mege into | |
10152 | (all_optimizations::gate): this. | |
10153 | (gate_all_optimizations_g): Merge into | |
10154 | (all_optimizations_g::gate): this. | |
10155 | (gate_rest_of_compilation): Mege into | |
10156 | (rest_of_compilation::gate): this. | |
10157 | (gate_postreload): Merge into | |
10158 | (postreload::gate): this. | |
10159 | (dump_one_pass): Pass cfun to the pass's gate method. | |
10160 | (execute_ipa_summary_passes): Likewise. | |
10161 | (execute_one_pass): Likewise. | |
10162 | (ipa_write_summaries_2): Likewise. | |
10163 | (ipa_write_optimization_summaries_1): Likewise. | |
10164 | (ipa_read_summaries_1): Likewise. | |
10165 | (ipa_read_optimization_summaries_1): Likewise. | |
10166 | (execute_ipa_stmt_fixups): Likewise. | |
10167 | * tree-pass.h (opt_pass::gate): Add function * argument. | |
10168 | * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, | |
10169 | combine-stack-adj.c, combine.c, compare-elim.c, | |
10170 | config/epiphany/resolve-sw-modes.c, config/i386/i386.c, | |
10171 | config/rl78/rl78.c, config/sh/sh_optimize_sett_clrt.cc, | |
10172 | config/sh/sh_treg_combine.cc, config/sparc/sparc.c, cprop.c, cse.c, | |
10173 | dce.c, df-core.c, dse.c, dwarf2cfi.c, except.c, fwprop.c, gcse.c, | |
10174 | gimple-ssa-isolate-paths.c, gimple-ssa-strength-reduction.c, | |
10175 | graphite.c, ifcvt.c, init-regs.c, ipa-cp.c, ipa-devirt.c, | |
10176 | ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c, | |
10177 | loop-init.c, lower-subreg.c, mode-switching.c, modulo-sched.c, | |
10178 | omp-low.c, postreload-gcse.c, postreload.c, predict.c, recog.c, ree.c, | |
10179 | reg-stack.c, regcprop.c, regrename.c, reorg.c, sched-rgn.c, | |
10180 | store-motion.c, tracer.c, trans-mem.c, tree-call-cdce.c, tree-cfg.c, | |
10181 | tree-cfgcleanup.c, tree-complex.c, tree-eh.c, tree-emutls.c, | |
10182 | tree-if-conv.c, tree-into-ssa.c, tree-loop-distribution.c, | |
10183 | tree-nrv.c, tree-parloops.c, tree-predcom.c, tree-profile.c, | |
10184 | tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c, | |
10185 | tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c, | |
10186 | tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c, | |
10187 | tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c, | |
10188 | tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c, | |
10189 | tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c, | |
10190 | tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c, | |
10191 | tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c, | |
10192 | tree-ssa.c, tree-stdarg.c, tree-switch-conversion.c, tree-tailcall.c, | |
10193 | tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c, tsan.c, ubsan.c, | |
10194 | var-tracking.c, vtable-verify.c, web.c: Adjust. | |
10195 | ||
45887209 TS |
10196 | 2014-04-17 Trevor Saunders <tsaunders@mozilla.com> |
10197 | ||
10198 | * configure.ac: Check for -Woverloaded-virtual and enable it if found. | |
10199 | * configure: Regenerate. | |
10200 | ||
0481253d | 10201 | 2014-04-17 Trevor Saunders <tsaunders@mozilla.com> |
b15d92bf | 10202 | |
0481253d TS |
10203 | * passes.c (dump_one_pass): don't check pass->has_gate. |
10204 | (execute_ipa_summary_passes): Likewise. | |
10205 | (execute_one_pass): Likewise. | |
10206 | (ipa_write_summaries_2): Likewise. | |
10207 | (ipa_write_optimization_summaries_1): Likewise. | |
10208 | (ipa_read_optimization_summaries_1): Likewise. | |
10209 | (execute_ipa_stmt_fixups): Likewise. | |
10210 | * tree-pass.h (pass_data::has_gate): Remove. | |
10211 | * asan.c, auto-inc-dec.c, bb-reorder.c, bt-load.c, cfgcleanup.c, | |
10212 | cfgexpand.c, cfgrtl.c, cgraphbuild.c, combine-stack-adj.c, combine.c, | |
10213 | compare-elim.c, config/arc/arc.c, config/epiphany/mode-switch-use.c, | |
10214 | config/epiphany/resolve-sw-modes.c, config/i386/i386.c, | |
10215 | config/mips/mips.c, config/rl78/rl78.c, config/s390/s390.c, | |
10216 | config/sh/sh_optimize_sett_clrt.cc, config/sh/sh_treg_combine.cc, | |
10217 | config/sparc/sparc.c, cprop.c, cse.c, dce.c, df-core.c, dse.c, | |
10218 | dwarf2cfi.c, except.c, final.c, function.c, fwprop.c, gcse.c, | |
10219 | gimple-low.c, gimple-ssa-isolate-paths.c, | |
10220 | gimple-ssa-strength-reduction.c, graphite.c, ifcvt.c, init-regs.c, | |
10221 | ipa-cp.c, ipa-devirt.c, ipa-inline-analysis.c, ipa-inline.c, | |
10222 | ipa-profile.c, ipa-pure-const.c, ipa-reference.c, ipa-split.c, ipa.c, | |
10223 | ira.c, jump.c, loop-init.c, lower-subreg.c, mode-switching.c, | |
10224 | modulo-sched.c, omp-low.c, postreload-gcse.c, postreload.c, predict.c, | |
10225 | recog.c, ree.c, reg-stack.c, regcprop.c, reginfo.c, regrename.c, | |
10226 | reorg.c, sched-rgn.c, stack-ptr-mod.c, store-motion.c, tracer.c, | |
10227 | trans-mem.c, tree-call-cdce.c, tree-cfg.c, tree-cfgcleanup.c, | |
10228 | tree-complex.c, tree-eh.c, tree-emutls.c, tree-if-conv.c, | |
10229 | tree-into-ssa.c, tree-loop-distribution.c, tree-nrv.c, | |
10230 | tree-object-size.c, tree-parloops.c, tree-predcom.c, tree-profile.c, | |
10231 | tree-sra.c, tree-ssa-ccp.c, tree-ssa-copy.c, tree-ssa-copyrename.c, | |
10232 | tree-ssa-dce.c, tree-ssa-dom.c, tree-ssa-dse.c, tree-ssa-forwprop.c, | |
10233 | tree-ssa-ifcombine.c, tree-ssa-loop-ch.c, tree-ssa-loop-im.c, | |
10234 | tree-ssa-loop-ivcanon.c, tree-ssa-loop-prefetch.c, | |
10235 | tree-ssa-loop-unswitch.c, tree-ssa-loop.c, tree-ssa-math-opts.c, | |
10236 | tree-ssa-phiopt.c, tree-ssa-phiprop.c, tree-ssa-pre.c, | |
10237 | tree-ssa-reassoc.c, tree-ssa-sink.c, tree-ssa-strlen.c, | |
10238 | tree-ssa-structalias.c, tree-ssa-uncprop.c, tree-ssa-uninit.c, | |
10239 | tree-ssa.c, tree-ssanames.c, tree-stdarg.c, tree-switch-conversion.c, | |
10240 | tree-tailcall.c, tree-vect-generic.c, tree-vectorizer.c, tree-vrp.c, | |
10241 | tree.c, tsan.c, ubsan.c, var-tracking.c, vtable-verify.c, web.c: | |
10242 | Adjust. | |
10243 | ||
a23c217d TS |
10244 | 2014-04-17 Trevor Saunders <tsaunders@mozilla.com> |
10245 | ||
b15d92bf UB |
10246 | * pass_manager.h (pass_manager::register_dump_files_1): Remove |
10247 | declaration. | |
a23c217d TS |
10248 | * passes.c (pass_manager::register_dump_files_1): Merge into |
10249 | (pass_manager::register_dump_files): this, and remove its handling of | |
10250 | properties since the pass always has the properties anyway. | |
10251 | (pass_manager::pass_manager): Adjust. | |
10252 | ||
0cd11b40 TS |
10253 | 2014-04-17 Trevor Saunders <tsaunders@mozilla.com> |
10254 | ||
10255 | * pass_manager.h (pass_manager::register_dump_files_1): Adjust. | |
10256 | * passes.c (pass_manager::register_dump_files_1): Remove dead code | |
10257 | dealing with properties. | |
10258 | (pass_manager::register_dump_files): Adjust. | |
10259 | ||
79896351 MW |
10260 | 2014-03-20 Mark Wielaard <mjw@redhat.com> |
10261 | ||
10262 | * dwarf2out.c (add_bound_info): If HOST_WIDE_INT is big enough, | |
10263 | then represent the bound as normal constant value. | |
10264 | ||
5a65129e JJ |
10265 | 2014-04-17 Jakub Jelinek <jakub@redhat.com> |
10266 | ||
10267 | PR target/60847 | |
10268 | Forward port from 4.8 branch | |
10269 | 2013-07-19 Kirill Yukhin <kirill.yukhin@intel.com> | |
10270 | ||
10271 | * config/i386/bmiintrin.h (_blsi_u32): New. | |
10272 | (_blsi_u64): Ditto. | |
10273 | (_blsr_u32): Ditto. | |
10274 | (_blsr_u64): Ditto. | |
10275 | (_blsmsk_u32): Ditto. | |
10276 | (_blsmsk_u64): Ditto. | |
10277 | (_tzcnt_u32): Ditto. | |
10278 | (_tzcnt_u64): Ditto. | |
10279 | ||
59b266b1 KC |
10280 | 2014-04-17 Kito Cheng <kito@0xlab.org> |
10281 | ||
10282 | * gcc.c (used_arg): Prevent out of bound access for multilib_options. | |
10283 | ||
83ad208e RB |
10284 | 2014-04-17 Richard Biener <rguenther@suse.de> |
10285 | ||
10286 | PR middle-end/60849 | |
10287 | * tree-ssa-propagate.c (valid_gimple_rhs_p): Only allow effective | |
10288 | boolean results for comparisons. | |
10289 | ||
730e78b0 RB |
10290 | 2014-04-17 Richard Biener <rguenther@suse.de> |
10291 | ||
10292 | PR tree-optimization/60836 | |
10293 | * tree-vect-loop.c (vect_create_epilog_for_reduction): Force | |
10294 | initial PHI args to be gimple values. | |
10295 | ||
40c0a159 | 10296 | 2014-04-17 Richard Biener <rguenther@suse.de> |
1428105c RB |
10297 | |
10298 | PR tree-optimization/60841 | |
10299 | * tree-vect-data-refs.c (vect_analyze_data_refs): Count stmts. | |
10300 | * tree-vect-loop.c (vect_analyze_loop_2): Pass down number | |
10301 | of stmts to SLP build. | |
10302 | * tree-vect-slp.c (vect_slp_analyze_bb_1): Likewise. | |
10303 | (vect_analyze_slp): Likewise. | |
10304 | (vect_analyze_slp_instance): Likewise. | |
10305 | (vect_build_slp_tree): Limit overall SLP tree growth. | |
10306 | * tree-vectorizer.h (vect_analyze_data_refs, | |
10307 | vect_analyze_slp): Adjust prototypes. | |
10308 | ||
170c1776 ES |
10309 | 2014-04-17 Evgeny Stupachenko <evstupac@gmail.com> |
10310 | ||
10311 | * config/i386/i386.c (x86_add_stmt_cost): Fix vector cost model for | |
10312 | Silvermont. | |
10313 | ||
a4ef7f3e ES |
10314 | 2014-04-17 Evgeny Stupachenko <evstupac@gmail.com> |
10315 | ||
10316 | * config/i386/x86-tune.def (TARGET_SLOW_PSHUFB): New tune definition. | |
10317 | * config/i386/i386.h (TARGET_SLOW_PSHUFB): New tune flag. | |
10318 | * config/i386/i386.c (expand_vec_perm_even_odd_1): Avoid byte shuffles | |
10319 | for TARGET_SLOW_PSHUFB | |
10320 | ||
cf055f6e ES |
10321 | 2014-04-17 Evgeny Stupachenko <evstupac@gmail.com> |
10322 | ||
10323 | * config/i386/i386.c (slm_cost): Adjust vec_to_scalar_cost. | |
10324 | * config/i386/i386.c (intel_cost): Ditto. | |
10325 | ||
eeee2277 JY |
10326 | 2014-04-17 Joey Ye <joey.ye@arm.com> |
10327 | ||
10328 | * opts.c (OPT_fif_conversion, OPT_fif_conversion2): Disable for Og. | |
10329 | ||
1c58fe29 JH |
10330 | 2014-04-16 Jan Hubicka <hubicka@ucw.cz> |
10331 | ||
10332 | * opts.c (common_handle_option): Disable -fipa-reference coorectly | |
10333 | with -fuse-profile. | |
10334 | ||
2d1644bf JH |
10335 | 2014-04-16 Jan Hubicka <hubicka@ucw.cz> |
10336 | ||
10337 | * ipa-devirt.c (odr_type_d): Add field all_derivations_known. | |
10338 | (type_all_derivations_known_p): New predicate. | |
10339 | (type_all_ctors_visible_p): New predicate. | |
10340 | (type_possibly_instantiated_p): New predicate. | |
10341 | (get_odr_type): Compute all_derivations_known. | |
10342 | (dump_odr_type): Dump the flag. | |
10343 | (maybe_record_type): Cleanup. | |
10344 | (record_target_from_binfo): Add bases_to_consider array; | |
10345 | record bases for types w/o instances and skip CXX destructor. | |
10346 | (possible_polymorphic_call_targets_1): Add bases_to_consider | |
b15d92bf | 10347 | and consider_construction parameters; check if type may have instance. |
2d1644bf JH |
10348 | (get_polymorphic_call_info): Set maybe_in_construction to true |
10349 | when we know nothing. | |
10350 | (record_targets_from_bases): Skip CXX destructors; they are | |
10351 | never called for types in construction. | |
10352 | (possible_polymorphic_call_targets): Do not record target when | |
10353 | type may not have instance. | |
10354 | ||
789c2741 JH |
10355 | 2014-04-16 Jan Hubicka <hubicka@ucw.cz> |
10356 | ||
10357 | PR ipa/60854 | |
10358 | * ipa.c (symtab_remove_unreachable_nodes): Mark targets of | |
10359 | external aliases alive, too. | |
10360 | ||
9950a4f2 AP |
10361 | 2014-04-16 Andrew Pinski <apinski@cavium.com> |
10362 | ||
10363 | * config/host-linux.c (TRY_EMPTY_VM_SPACE): Change aarch64 ilp32 | |
b15d92bf | 10364 | definition. |
9950a4f2 | 10365 | |
82b9c015 EB |
10366 | 2014-04-16 Eric Botcazou <ebotcazou@adacore.com> |
10367 | ||
10368 | * final.c (compute_alignments): Do not apply loop alignment to a block | |
10369 | falling through to the exit. | |
10370 | ||
d2dfaca3 CM |
10371 | 2014-04-16 Catherine Moore <clm@codesourcery.com> |
10372 | ||
10373 | * mips.md (*mov<mode>_internal, *movhi_internal, *movqi_internal): | |
10374 | Adjust constraints for microMIPS store patterns. | |
10375 | ||
10353a79 PS |
10376 | 2014-04-16 Pitchumani Sivanupandi <Pitchumani.S@atmel.com> |
10377 | ||
10378 | * config/avr/avr-mcus.def: Correct typo for atxmega256a3bu macro. | |
10379 | ||
61c7fb30 EB |
10380 | 2014-04-16 Eric Botcazou <ebotcazou@adacore.com> |
10381 | ||
10382 | * tree-ssa-operands.c (create_vop_var): Set DECL_IGNORED_P. | |
10383 | (append_use): Run at -O0. | |
10384 | (append_vdef): Likewise. | |
10385 | * tree-ssa-ter.c (ter_is_replaceable_p): Do not special-case -O0. | |
10386 | * tree-ssa-uninit.c (warn_uninitialized_vars): Remove obsolete comment. | |
10387 | ||
42fae17c JJ |
10388 | 2014-04-16 Jakub Jelinek <jakub@redhat.com> |
10389 | ||
10390 | PR tree-optimization/60844 | |
10391 | * tree-ssa-reassoc.c (reassoc_remove_stmt): New function. | |
10392 | (propagate_op_to_single_use, remove_visited_stmt_chain, | |
10393 | linearize_expr, repropagate_negates, reassociate_bb): Use it | |
10394 | instead of gsi_remove. | |
10395 | ||
ca860d03 MJ |
10396 | 2014-04-16 Martin Jambor <mjambor@suse.cz> |
10397 | ||
10398 | * cgraphclones.c (cgraph_create_virtual_clone): Duplicate | |
10399 | ipa_transforms_to_apply. | |
10400 | (cgraph_function_versioning): Assert that old_node has empty | |
10401 | ipa_transforms_to_apply. | |
10402 | * trans-mem.c (ipa_tm_create_version): Likewise. | |
10403 | * tree-inline.c (tree_function_versioning): Do not duplicate | |
10404 | ipa_transforms_to_apply. | |
10405 | ||
fe4e71e4 RO |
10406 | 2014-04-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
10407 | ||
10408 | PR target/60817 | |
10409 | * configure.ac (set_have_as_tls): Merge i[34567]86-*-* and | |
10410 | x86_64-*-* cases. | |
10411 | Pass necessary as flags on 64-bit Solaris/x86. | |
10412 | Use lowercase relocs for x86_64-*-*. | |
10413 | * configure: Regenerate. | |
10414 | ||
ccb05ef2 JH |
10415 | 2014-04-15 Jan Hubicka <jh@suse.cz> |
10416 | ||
10417 | * ipa-devirt.c (referenced_from_vtable_p): New predicate. | |
10418 | (maybe_record_node, likely_target_p): Use it. | |
10419 | ||
dfe449d1 BS |
10420 | 2014-04-15 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
10421 | ||
10422 | PR target/60839 | |
10423 | Revert following patch | |
10424 | ||
10425 | 2014-04-02 Michael Meissner <meissner@linux.vnet.ibm.com> | |
10426 | ||
10427 | PR target/60735 | |
10428 | * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): If we have | |
10429 | software floating point or no floating point registers, do not | |
10430 | allow any type in the FPRs. Eliminate a test for SPE SIMD types | |
10431 | in GPRs that occurs after we tested for GPRs that would never be | |
10432 | true. | |
10433 | ||
10434 | * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64): | |
10435 | Rewrite tests to use TARGET_DOUBLE_FLOAT and TARGET_E500_DOUBLE, | |
10436 | since the FMOVE64 type is DFmode/DDmode. If TARGET_E500_DOUBLE, | |
10437 | specifically allow DDmode, since that does not use the SPE SIMD | |
10438 | instructions. | |
10439 | ||
25dce5c6 MW |
10440 | 2014-03-21 Mark Wielaard <mjw@redhat.com> |
10441 | ||
10442 | * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_const_value | |
10443 | as unsigned or int depending on type and value used. | |
10444 | ||
8d3c076f RB |
10445 | 2014-04-15 Richard Biener <rguenther@suse.de> |
10446 | ||
10447 | PR rtl-optimization/56965 | |
10448 | * alias.c (ncr_compar, nonoverlapping_component_refs_p): Move ... | |
10449 | * tree-ssa-alias.c (ncr_compar, nonoverlapping_component_refs_p): | |
10450 | ... here. | |
10451 | * alias.c (true_dependence_1): Do not call | |
10452 | nonoverlapping_component_refs_p. | |
10453 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Call | |
10454 | nonoverlapping_component_refs_p. | |
10455 | (indirect_refs_may_alias_p): Likewise. | |
10456 | ||
d00e4baa TJ |
10457 | 2014-04-15 Teresa Johnson <tejohnson@google.com> |
10458 | ||
10459 | * cfg.c (dump_bb_info): Fix flags check. | |
10460 | * tree-cfg.c (remove_bb): Only dump TDF_BLOCKS when removing. | |
10461 | ||
98a2fdfb KT |
10462 | 2014-04-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
10463 | ||
10464 | PR rtl-optimization/60663 | |
10465 | * config/arm/arm.c (arm_new_rtx_costs): Improve ASM_OPERANDS case, | |
10466 | avoid 0 cost. | |
10467 | ||
b9ed2c2c RB |
10468 | 2014-04-15 Richard Biener <rguenther@suse.de> |
10469 | ||
10470 | * lto-streamer.h (LTO_major_version): Bump to 4. | |
10471 | ||
783dab6b RB |
10472 | 2014-04-15 Richard Biener <rguenther@suse.de> |
10473 | ||
10474 | * common.opt (lto_partition_model): New enum. | |
10475 | (flto-partition=): Merge separate options with a single with argument, | |
10476 | add -flto-partition=one support. | |
10477 | * flag-types.h (enum lto_partition_model): Declare. | |
10478 | * opts.c (finish_options): Remove duplicate -flto-partition= | |
10479 | option check. | |
10480 | * lto-wrapper.c (run_gcc): Adjust. | |
10481 | ||
d8e4ce6d RB |
10482 | 2014-04-15 Richard Biener <rguenther@suse.de> |
10483 | ||
10484 | * alias.c (ncr_compar): New function. | |
10485 | (nonoverlapping_component_refs_p): Re-implement in O (n log n). | |
10486 | ||
1999fd7d RB |
10487 | 2014-04-15 Richard Biener <rguenther@suse.de> |
10488 | ||
10489 | * alias.c (record_component_aliases): Do not walk BINFOs. | |
10490 | ||
628169e0 RB |
10491 | 2014-04-15 Richard Biener <rguenther@suse.de> |
10492 | ||
10493 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
10494 | Add struct function argument and adjust. | |
10495 | (find_func_aliases_for_call): Likewise. | |
10496 | (find_func_aliases): Likewise. | |
10497 | (find_func_clobbers): Likewise. | |
10498 | (intra_create_variable_infos): Likewise. | |
10499 | (compute_points_to_sets): Likewise. | |
10500 | (ipa_pta_execute): Adjust. Do not push/pop cfun. | |
10501 | ||
349e6210 RB |
10502 | 2014-04-15 Richard Biener <rguenther@suse.de> |
10503 | ||
10504 | * tree.c (iterative_hash_expr): Use enum tree_code_class | |
10505 | to store TREE_CODE_CLASS. | |
10506 | (tree_block): Likewise. | |
10507 | (tree_set_block): Likewise. | |
10508 | * tree.h (fold_build_pointer_plus_loc): Use | |
10509 | convert_to_ptrofftype_loc. | |
10510 | ||
4f0ddb6f JJ |
10511 | 2014-04-15 Jakub Jelinek <jakub@redhat.com> |
10512 | ||
10513 | PR plugins/59335 | |
10514 | * Makefile.in (PLUGIN_HEADERS): Add various headers that have been | |
10515 | added in 4.9. | |
10516 | ||
718c4601 EB |
10517 | 2014-04-15 Eric Botcazou <ebotcazou@adacore.com> |
10518 | ||
10519 | * cfgloop.h (struct loop): Move force_vectorize down. | |
10520 | * gimplify.c (gimple_boolify) <ANNOTATE_EXPR>: Handle new kinds. | |
10521 | (gimplify_expr) <ANNOTATE_EXPR>: Minor tweak. | |
10522 | * lto-streamer-in.c (input_cfg): Read dont_vectorize field. | |
10523 | * lto-streamer-out.c (output_cfg): Write dont_vectorize field. | |
10524 | * tree-cfg.c (replace_loop_annotate): Revamp and handle new kinds. | |
10525 | * tree-core.h (enum annot_expr_kind): Add new kind values. | |
10526 | * tree-inline.c (copy_loops): Copy dont_vectorize field and reorder. | |
10527 | * tree-pretty-print.c (dump_generic_node) <ANNOTATE_EXPR>: Handle new | |
10528 | kinds. | |
10529 | * tree.def (ANNOTATE_EXPR): Tweak comment. | |
10530 | ||
88f592e3 JH |
10531 | 2014-04-14 Jan Hubicka <hubicka@ucw.cz> |
10532 | ||
10533 | * ipa-devirt.c (maybe_record_node): Ignore all non-methods (including | |
10534 | cxa_pure_virtual). | |
10535 | ||
9dba4b55 PC |
10536 | 2014-04-14 Paolo Carlini <paolo.carlini@oracle.com> |
10537 | ||
10538 | * tree.h (TYPE_IDENTIFIER): Declare. | |
10539 | * tree.c (subrange_type_for_debug_p): Use it. | |
10540 | * godump.c (go_format_type): Likewise. | |
10541 | * dwarf2out.c (is_cxx_auto, modified_type_die, | |
10542 | gen_type_die_with_usage, gen_type_die_with_usage): Likewise. | |
10543 | * dbxout.c (dbxout_type, dbxout_symbol): Likewise. | |
10544 | ||
40c0a159 | 10545 | 2014-04-14 Jan Hubicka <hubicka@ucw.cz> |
006202e8 JH |
10546 | |
10547 | PR lto/60820 | |
10548 | * varpool.c (varpool_remove_node): Do not alter decls when streaming. | |
10549 | ||
e0a81db1 UB |
10550 | 2014-04-14 Uros Bizjak <ubizjak@gmail.com> |
10551 | ||
10552 | * config/i386/i386.c (examine_argument): Return bool. Return true if | |
10553 | parameter should be passed in memory. | |
10554 | <case X86_64_COMPLEX_X87_CLASS>: Adjust. | |
10555 | (construct_container): Update calls to examine_argument. | |
10556 | (function_arg_advance_64): Ditto. | |
10557 | (return_in_memory_32): Merge with ix86_return_in_memory. | |
10558 | (return_in_memory_64): Ditto. | |
10559 | (return_in_memory_ms_64): Ditto. | |
10560 | ||
cb90235d JH |
10561 | 2014-04-14 Jan Hubicka <hubicka@ucw.cz> |
10562 | ||
10563 | * ipa-utils.c (ipa_merge_profiles): Merge profile_id. | |
10564 | * coverage.c (coverage_compute_profile_id): Handle externally visible | |
10565 | symbols. | |
10566 | ||
7b3b340e MJ |
10567 | 2014-04-14 Martin Jambor <mjambor@suse.cz> |
10568 | ||
10569 | * tree-sra.c (ipa_sra_preliminary_function_checks): Skip | |
10570 | DECL_DISREGARD_INLINE_LIMITS functions. | |
10571 | ||
2ed3b4ee L |
10572 | 2014-04-14 H.J. Lu <hongjiu.lu@intel.com> |
10573 | ||
10574 | PR target/60827 | |
e0a81db1 | 10575 | * config/i386/i386.md (*fixuns_trunc<mode>_1): Revert the last change. |
2ed3b4ee | 10576 | |
10fa463f L |
10577 | 2014-04-14 H.J. Lu <hongjiu.lu@intel.com> |
10578 | ||
10579 | PR target/60827 | |
10580 | * config/i386/i386.md (*fixuns_trunc<mode>_1): Check | |
10581 | optimize_insn_for_speed_p instead of | |
10582 | optimize_function_for_speed_p. | |
10583 | ||
b621e875 YZ |
10584 | 2014-04-14 Yufeng Zhang <yufeng.zhang@arm.com> |
10585 | ||
10586 | * doc/invoke.texi (free): Document AArch64. | |
10587 | ||
cddaefa3 RB |
10588 | 2014-04-14 Richard Biener <rguenther@suse.de> |
10589 | ||
10590 | PR tree-optimization/60042 | |
10591 | * tree-ssa-pre.c (inhibit_phi_insertion): Remove. | |
10592 | (insert_into_preds_of_block): Do not prevent PHI insertion | |
10593 | for REFERENCE exprs here ... | |
10594 | (eliminate_dom_walker::before_dom_children): ... but prevent | |
10595 | their use here under similar conditions when applied to the | |
10596 | IL after PRE optimizations. | |
10597 | ||
a9e4c82f RB |
10598 | 2014-04-14 Richard Biener <rguenther@suse.de> |
10599 | ||
10600 | * passes.def: Move early points-to after early SRA. | |
10601 | ||
7b4cae1b RB |
10602 | 2014-04-14 Richard Biener <rguenther@suse.de> |
10603 | ||
10604 | * tree-ssa-forwprop.c (simplify_gimple_switch): Enhance | |
10605 | check for which sign-changes we allow when forwarding | |
10606 | a converted value into a switch. | |
10607 | ||
cb27986c EB |
10608 | 2014-04-14 Eric Botcazou <ebotcazou@adacore.com> |
10609 | ||
10610 | * stor-layout.c (place_field): Finalize non-constant offset for the | |
10611 | field, if any. | |
10612 | ||
72798784 RB |
10613 | 2014-04-14 Richard Biener <rguenther@suse.de> |
10614 | ||
10615 | * tree-switch-conversion.c (lshift_cheap_p): Get speed_p | |
10616 | as argument. | |
10617 | (expand_switch_using_bit_tests_p): Likewise. | |
10618 | (process_switch): Compute and pass on speed_p based on the | |
10619 | switch stmt. | |
10620 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Use | |
10621 | optimize_bb_for_speed_p. | |
10622 | ||
b15b5979 EB |
10623 | 2014-04-14 Eric Botcazou <ebotcazou@adacore.com> |
10624 | ||
10625 | * cfgloop.h (struct loop): Rename force_vect into force_vectorize. | |
10626 | * function.h (struct function): Rename has_force_vect_loops into | |
10627 | has_force_vectorize_loops. | |
10628 | * lto-streamer-in.c (input_cfg): Adjust for renaming. | |
10629 | (input_struct_function_base): Likewise. | |
10630 | * lto-streamer-out.c (output_cfg): Likewise. | |
10631 | (output_struct_function_base): Likewise. | |
10632 | * omp-low.c (expand_omp_simd): Likewise. | |
10633 | * tree-cfg.c (move_sese_region_to_fn): Likewise. | |
10634 | * tree-if-conv.c (ifcvt_can_use_mask_load_store): Likewise. | |
10635 | (version_loop_for_if_conversion): Likewise. | |
10636 | (tree_if_conversion): Likewise. | |
10637 | (main_tree_if_conversion): Likewise. | |
10638 | (gate_tree_if_conversion): Likewise. | |
10639 | * tree-inline.c (copy_loops): Likewise. | |
10640 | * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely_1): Likewise. | |
10641 | * tree-ssa-loop.c (tree_loop_vectorize): Likewise. | |
10642 | * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Likewise. | |
10643 | * tree-vect-loop.c (vect_estimate_min_profitable_iters): Likewise. | |
10644 | * tree-vectorizer.c (vectorize_loops): Likewise. | |
10645 | * tree-vectorizer.h (unlimited_cost_model): Likewise. | |
10646 | ||
8359c87e RB |
10647 | 2014-04-14 Richard Biener <rguenther@suse.de> |
10648 | ||
10649 | PR lto/60720 | |
10650 | * lto-streamer-out.c (wrap_refs): New function. | |
10651 | (lto_output): Wrap symbol references in global initializes in | |
10652 | type-preserving MEM_REFs. | |
10653 | ||
9447df74 CB |
10654 | 2014-04-14 Christian Bruel <christian.bruel@st.com> |
10655 | ||
b15d92bf | 10656 | * config/sh/sh-mem.cc (sh_expand_strlen): Unroll last word. |
9447df74 | 10657 | |
fa1aecc1 CB |
10658 | 2014-04-14 Christian Bruel <christian.bruel@st.com> |
10659 | ||
10660 | * config/sh/sh.md (setmemqi): New expand pattern. | |
10661 | * config/sh/sh.h (CLEAR_RATIO): Define. | |
10662 | * config/sh/sh-mem.cc (sh_expand_setmem): Define. | |
10663 | * config/sh/sh-protos.h (sh_expand_setmem): Declare. | |
10664 | ||
a3c77ce9 RB |
10665 | 2014-04-14 Richard Biener <rguenther@suse.de> |
10666 | ||
10667 | PR middle-end/55022 | |
10668 | * fold-const.c (negate_expr_p): Don't negate directional rounding | |
10669 | division. | |
10670 | (fold_negate_expr): Likewise. | |
10671 | ||
033aa406 RB |
10672 | 2014-04-14 Richard Biener <rguenther@suse.de> |
10673 | ||
10674 | PR tree-optimization/59817 | |
10675 | PR tree-optimization/60453 | |
10676 | * graphite-scop-detection.c (graphite_can_represent_scev): Complete | |
10677 | recursion to catch all CHRECs in the scalar evolution and restrict | |
10678 | the predicate for the remains appropriately. | |
10679 | ||
5e7d8b4c RS |
10680 | 2014-04-12 Catherine Moore <clm@codesourcery.com> |
10681 | ||
10682 | * config/mips/constraints.md: Add new register constraint "kb". | |
10683 | * config/mips/mips.md (*mov<mode>_internal): Use constraint "kb". | |
10684 | (*movhi_internal): Likewise. | |
10685 | (*movqi_internal): Likewise. | |
10686 | * config/mips/mips.h (M16_STORE_REGS): New register class. | |
10687 | (REG_CLASS_NAMES): Add M16_STORE_REGS. | |
10688 | (REG_CLASS_CONTENTS): Likewise. | |
10689 | * config/mips/mips.c (mips_regno_to_class): Add M16_STORE_REGS. | |
10690 | ||
cbbd2b1c TB |
10691 | 2014-04-11 Tobias Burnus <burnus@net-b.de> |
10692 | ||
10693 | PR c/60194 | |
10694 | * doc/invoke.texi (-Wformat-signedness): Document it. | |
10695 | (Wformat=2): Mention that this enables -Wformat-signedness. | |
10696 | ||
d9bb5800 JR |
10697 | 2014-04-11 Joern Rennecke <joern.rennecke@embecosm.com> |
10698 | ||
10699 | * common/config/epiphany/epiphany-common.c | |
10700 | (epiphany_option_optimization_table): Enable section anchors by | |
10701 | default at -O1 or higher. | |
10702 | * config/epiphany/epiphany.c (TARGET_MAX_ANCHOR_OFFSET): Define. | |
10703 | (TARGET_MIN_ANCHOR_OFFSET): Likewise. | |
10704 | (epiphany_rtx_costs) <SET>: For binary operators, the set as such | |
10705 | carries no extra cost. | |
10706 | (epiphany_legitimate_address_p): For BLKmode, apply SImode check. | |
10707 | * config/epiphany/epiphany.h (ASM_OUTPUT_DEF): Define. | |
10708 | * config/epiphany/predicates.md (memclob_operand): New predicate. | |
10709 | * config/epiphany/epiphany.md (stack_adjust_add, stack_adjust_str): | |
10710 | Use memclob_operand predicate and X constraint for operand 3. | |
10711 | ||
b5d0ecea JR |
10712 | 2014-04-11 Joern Rennecke <joern.rennecke@embecosm.com> |
10713 | ||
10714 | * config/epiphany/epiphany.c (epiphany_rtx_cost): Compare | |
10715 | with CC_N_NE / CC_C_LTU / CC_C_GTU carries no extra cost for | |
10716 | its operands. | |
10717 | ||
473fd99a JR |
10718 | 2014-04-11 Joern Rennecke <joern.rennecke@embecosm.com> |
10719 | ||
10720 | PR rtl-optimization/60651 | |
10721 | * mode-switching.c (optimize_mode_switching): Make sure to emit | |
10722 | sets of a lower numbered entity before sets of a higher numbered | |
10723 | entity to a mode of the same or lower priority. | |
10724 | When creating a seginfo for a basic block that starts with a code | |
10725 | label, move the insertion point past the code label. | |
10726 | (new_seginfo): Document and enforce requirement that | |
10727 | NOTE_INSN_BASIC_BLOCK only appears for empty blocks. | |
10728 | * doc/tm.texi.in: Document ordering constraint for emitted mode sets. | |
10729 | * doc/tm.texi: Regenerate. | |
10730 | ||
6ace1161 JR |
10731 | 2014-01-11 Joern Rennecke <joern.rennecke@embecosm.com> |
10732 | ||
10733 | PR target/60811 | |
10734 | * config/arc/arc.c (arc_save_restore): Fix assert typo. | |
10735 | ||
89eb97de JJ |
10736 | 2013-04-11 Jakub Jelinek <jakub@redhat.com> |
10737 | ||
6602e7fc | 10738 | * BASE-VER: Set to 4.10.0. |
89eb97de | 10739 | |
9d0c7214 TB |
10740 | 2014-04-11 Tobias Burnus <burnus@net-b.de> |
10741 | ||
10742 | PR other/59055 | |
e0a81db1 | 10743 | * doc/bugreport.texi (Bugs): Remove nodes pointing to the nirvana. |
9d0c7214 TB |
10744 | * doc/gcc.texi (Service): Update description in the @menu |
10745 | * doc/invoke.texi (Option Summary): Remove misplaced and | |
10746 | duplicated @menu. | |
10747 | ||
3662b277 SE |
10748 | 2014-04-11 Steve Ellcey <sellcey@mips.com> |
10749 | Jakub Jelinek <jakub@redhat.com> | |
10750 | ||
10751 | PR middle-end/60556 | |
10752 | * expr.c (convert_move): Use emit_store_flag_force instead of | |
10753 | emit_store_flag. Pass lowpart_mode instead of VOIDmode as 5th | |
10754 | argument to it. | |
10755 | ||
8330537b RB |
10756 | 2014-04-11 Richard Biener <rguenther@suse.de> |
10757 | ||
10758 | PR middle-end/60797 | |
10759 | * varasm.c (assemble_alias): Avoid endless error reporting | |
10760 | recursion by setting TREE_ASM_WRITTEN. | |
10761 | ||
3c91f126 AK |
10762 | 2014-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
10763 | ||
10764 | * config/s390/s390.md: Add a splitter for NOT rtx. | |
10765 | ||
d8d6ea53 JJ |
10766 | 2014-04-11 Jakub Jelinek <jakub@redhat.com> |
10767 | ||
10768 | PR rtl-optimization/60663 | |
e0a81db1 | 10769 | * cse.c (cse_insn): Set src_volatile on ASM_OPERANDS in PARALLEL. |
d8d6ea53 | 10770 | |
fa5866c0 JJ |
10771 | 2014-04-10 Jan Hubicka <hubicka@ucw.cz> |
10772 | Jakub Jelinek <jakub@redhat.com> | |
073afca6 | 10773 | |
fa5866c0 | 10774 | PR lto/60567 |
e0a81db1 UB |
10775 | * ipa.c (function_and_variable_visibility): Copy forced_by_abi |
10776 | flag from decl_node to node. | |
073afca6 | 10777 | |
b322c36a RR |
10778 | 2014-04-10 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
10779 | ||
10780 | PR debug/60655 | |
10781 | * config/arm/arm.c (TARGET_CONST_NOT_OK_FOR_DEBUG_P): Define | |
10782 | (arm_const_not_ok_for_debug_p): Reject MINUS with SYM_REF's | |
10783 | ameliorating the cases where it can be. | |
10784 | ||
8267f6bb DE |
10785 | 2014-04-09 David Edelsohn <dje.gcc@gmail.com> |
10786 | ||
10787 | Revert | |
10788 | 2014-04-08 Pat Haugen <pthaugen@us.ibm.com> | |
10789 | ||
10790 | * config/rs6000/sync.md (AINT mode_iterator): Move definition. | |
10791 | (loadsync_<mode>): Change mode. | |
10792 | (load_quadpti, store_quadpti): New. | |
10793 | (atomic_load<mode>, atomic_store<mode>): Add support for TI mode. | |
10794 | * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ. | |
10795 | * config/rs6000/predicates.md (quad_memory_operand): !TARGET_SYNC_TI. | |
10796 | ||
5d1a5a53 CH |
10797 | 2014-04-09 Cong Hou <congh@google.com> |
10798 | ||
10799 | PR testsuite/60773 | |
10800 | * doc/sourcebuild.texi (vect_widen_mult_si_to_di_pattern): Add | |
10801 | documentation. | |
10802 | ||
da90fa4c BS |
10803 | 2014-04-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
10804 | ||
10805 | * config/rs6000/rs6000.c (rs6000_expand_vector_set): Use vnand | |
10806 | instead of vnor to exploit possible fusion opportunity in the | |
10807 | future. | |
10808 | (altivec_expand_vec_perm_const_le): Likewise. | |
10809 | ||
98e6ecab PH |
10810 | 2014-04-08 Pat Haugen <pthaugen@us.ibm.com> |
10811 | ||
10812 | * config/rs6000/sync.md (AINT mode_iterator): Move definition. | |
10813 | (loadsync_<mode>): Change mode. | |
10814 | (load_quadpti, store_quadpti): New. | |
10815 | (atomic_load<mode>, atomic_store<mode>): Add support for TI mode. | |
10816 | * config/rs6000/rs6000.md (unspec enum): Add UNSPEC_LSQ. | |
10817 | ||
8418cf33 RS |
10818 | 2014-04-08 Richard Sandiford <rdsandiford@googlemail.com> |
10819 | ||
10820 | PR target/60763 | |
10821 | * config/rs6000/vsx.md (vsx_xscvdpspn_scalar): Change input to DImode. | |
10822 | * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Update accordingly. | |
10823 | Use gen_rtx_REG rather than simplify_gen_subreg for op0_di. | |
10824 | ||
3fa68ccb RB |
10825 | 2014-04-08 Richard Biener <rguenther@suse.de> |
10826 | ||
10827 | PR middle-end/60706 | |
10828 | * tree-pretty-print.c (pp_double_int): For HWI32 hosts with | |
10829 | a 64bit widest int print double-int similar to on HWI64 hosts. | |
10830 | ||
9038ae48 RB |
10831 | 2014-04-08 Richard Biener <rguenther@suse.de> |
10832 | ||
10833 | PR tree-optimization/60785 | |
10834 | * graphite-sese-to-poly.c (rewrite_phi_out_of_ssa): Treat | |
10835 | default defs properly. | |
10836 | ||
38f09da3 NS |
10837 | 2014-04-08 Nathan Sidwell <nathan@codesourcery.com> |
10838 | ||
10839 | * doc/invoke (Wnon-virtual-dtor): Update to match implementation. | |
10840 | (Weffc++): Likewise. | |
10841 | ||
0439a947 JH |
10842 | 2014-04-07 Jan Hubicka <hubcika@ucw.cz> |
10843 | ||
10844 | * ipa-devirt.c (maybe_record_node): When node is not recorded, | |
10845 | set completep to false rather than true. | |
10846 | ||
3f2f838e EB |
10847 | 2014-04-07 Douglas B Rupp <rupp@adacore.com> |
10848 | ||
10849 | PR target/60504 | |
10850 | * config/arm/arm.h (ASM_PREFERRED_EH_DATA_FORMAT): Expose from | |
10851 | ARM_TARGET2_DWARF_FORMAT. | |
10852 | ||
e75c1617 CB |
10853 | 2014-04-07 Charles Baylis <charles.baylis@linaro.org> |
10854 | ||
10855 | PR target/60609 | |
10856 | * config/arm/arm.h (ASM_OUTPUT_CASE_END): Remove. | |
10857 | (LABEL_ALIGN_AFTER_BARRIER): Align barriers which occur after | |
10858 | ADDR_DIFF_VEC. | |
10859 | ||
d6adff07 RB |
10860 | 2014-04-07 Richard Biener <rguenther@suse.de> |
10861 | ||
10862 | PR tree-optimization/60766 | |
3f2f838e EB |
10863 | * tree-ssa-loop-ivopts.c (cand_value_at): Compute in an unsigned type. |
10864 | (may_eliminate_iv): Convert cand_value_at result to desired type. | |
d6adff07 | 10865 | |
da34ade5 JM |
10866 | 2014-04-07 Jason Merrill <jason@redhat.com> |
10867 | ||
10868 | PR c++/60731 | |
10869 | * common.opt (-fno-gnu-unique): Add. | |
10870 | * config/elfos.h (USE_GNU_UNIQUE_OBJECT): Check it. | |
10871 | ||
151e9aac KT |
10872 | 2014-04-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
10873 | ||
10874 | * haifa-sched.c: Fix outdated function reference and minor | |
10875 | grammar errors in introductory comment. | |
10876 | ||
308173e3 RB |
10877 | 2014-04-07 Richard Biener <rguenther@suse.de> |
10878 | ||
10879 | PR middle-end/60750 | |
10880 | * tree-ssa-operands.c (maybe_add_call_vops): Also add VDEFs | |
10881 | for noreturn calls. | |
10882 | * tree-cfgcleanup.c (fixup_noreturn_call): Do not remove VDEFs. | |
10883 | ||
a9a302d9 JDA |
10884 | 2014-04-06 John David Anglin <danglin@gcc.gnu.org> |
10885 | ||
10886 | PR debug/55794 | |
10887 | * config/pa/pa.c (pa_output_function_epilogue): Skip address and code | |
10888 | size accounting for thunks. | |
10889 | (pa_asm_output_mi_thunk): Use final_start_function() and | |
10890 | final_end_function() to output function start and end directives. | |
10891 | ||
576ba35c PS |
10892 | 2014-04-05 Pitchumani Sivanupandi <Pitchumani.S@atmel.com> |
10893 | ||
e0a81db1 UB |
10894 | * config/avr/avr-arch.h (avr_mcu_t): Add dev_attribute field to have |
10895 | device specific ISA/ feature information. Remove short_sp and | |
10896 | errata_skip ds. Add avr_device_specific_features enum to have device | |
10897 | specific info. | |
576ba35c PS |
10898 | * config/avr/avr-c.c (avr_cpu_cpp_builtins): use dev_attribute to check |
10899 | errata_skip. Add __AVR_ISA_RMW__ builtin macro if RMW ISA available. | |
10900 | * config/avr/avr-devices.c (avr_mcu_types): Update AVR_MCU macro for | |
10901 | updated device specific info. | |
10902 | * config/avr/avr-mcus.def: Merge device specific details to | |
10903 | dev_attribute field. | |
10904 | * config/avr/avr.c (avr_2word_insn_p): use dev_attribute field to check | |
10905 | errata_skip. | |
10906 | * config/avr/avr.h (AVR_HAVE_8BIT_SP): same for short sp info. | |
10907 | * config/avr/driver-avr.c (avr_device_to_as): Pass -mrmw option to | |
10908 | assembler if RMW isa supported by current device. | |
10909 | * config/avr/genmultilib.awk: Update as device info structure changed. | |
10910 | * doc/invoke.texi: Add info for __AVR_ISA_RMW__ builtin macro | |
10911 | ||
ebc047a2 CH |
10912 | 2014-04-04 Cong Hou <congh@google.com> |
10913 | ||
10914 | PR tree-optimization/60656 | |
10915 | * tree-vect-stmts.c (supportable_widening_operation): | |
10916 | Fix a bug that elements in a vector with vect_used_by_reduction | |
10917 | property are incorrectly reordered when the operation on it is not | |
10918 | consistant with the one in reduction operation. | |
10919 | ||
b6808818 JDA |
10920 | 2014-04-04 John David Anglin <danglin@gcc.gnu.org> |
10921 | ||
10922 | PR rtl-optimization/60155 | |
10923 | * gcse.c (record_set_data): New function. | |
10924 | (single_set_gcse): New function. | |
10925 | (gcse_emit_move_after): Use single_set_gcse instead of single_set. | |
10926 | (hoist_code): Likewise. | |
10927 | (get_pressure_class_and_nregs): Likewise. | |
10928 | ||
eabcc725 EB |
10929 | 2014-04-04 Eric Botcazou <ebotcazou@adacore.com> |
10930 | ||
10931 | * explow.c (probe_stack_range): Emit a final optimization blockage. | |
10932 | ||
e005b753 AG |
10933 | 2014-04-04 Anthony Green <green@moxielogic.com> |
10934 | ||
10935 | * config/moxie/moxie.md (zero_extendqisi2, zero_extendhisi2): Fix | |
10936 | typos. | |
10937 | ||
8fe91ca8 JH |
10938 | 2014-04-04 Jan Hubicka <hubicka@ucw.cz> |
10939 | ||
10940 | PR ipa/59626 | |
10941 | * lto-cgraph.c (input_overwrite_node): Check that partitioning | |
10942 | flags are set only during streaming. | |
10943 | * ipa.c (process_references, walk_polymorphic_call_targets, | |
10944 | symtab_remove_unreachable_nodes): Drop bodies of always inline | |
10945 | after early inlining. | |
10946 | (symtab_remove_unreachable_nodes): Remove always_inline attribute. | |
576ba35c | 10947 | |
88d94632 RR |
10948 | 2014-04-04 Jakub Jelinek <jakub@redhat.com> |
10949 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
10950 | ||
10951 | PR debug/60655 | |
10952 | * dwarf2out.c (const_ok_for_output_1): Reject expressions | |
10953 | containing a NOT. | |
10954 | ||
094bc219 KT |
10955 | 2014-04-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
10956 | ||
10957 | PR bootstrap/60743 | |
10958 | * config/arm/cortex-a53.md (cortex_a53_fdivs): Reduce reservation | |
10959 | duration. | |
10960 | (cortex_a53_fdivd): Likewise. | |
10961 | ||
610c8ef0 MJ |
10962 | 2014-04-04 Martin Jambor <mjambor@suse.cz> |
10963 | ||
10964 | PR ipa/60640 | |
b15d92bf UB |
10965 | * cgraph.h (cgraph_clone_node): New parameter added to declaration. |
10966 | Adjust all callers. | |
610c8ef0 MJ |
10967 | * cgraph.c (clone_of_p): Also return true if thunks match. |
10968 | (verify_edge_corresponds_to_fndecl): Removed extraneous call to | |
10969 | cgraph_function_or_thunk_node and an obsolete comment. | |
b15d92bf UB |
10970 | * cgraphclones.c (build_function_type_skip_args): Moved upwards in the |
10971 | file. | |
10972 | (build_function_decl_skip_args): Likewise. | |
610c8ef0 | 10973 | (set_new_clone_decl_and_node_flags): New function. |
b15d92bf UB |
10974 | (duplicate_thunk_for_node): Likewise. |
10975 | (redirect_edge_duplicating_thunks): Likewise. | |
10976 | (cgraph_clone_node): New parameter args_to_skip, pass it to | |
10977 | redirect_edge_duplicating_thunks which is called instead of | |
10978 | cgraph_redirect_edge_callee. | |
10979 | (cgraph_create_virtual_clone): Pass args_to_skip to cgraph_clone_node, | |
610c8ef0 MJ |
10980 | moved setting of a lot of flags to set_new_clone_decl_and_node_flags. |
10981 | ||
fc02bcca JL |
10982 | 2014-04-04 Jeff Law <law@redhat.com> |
10983 | ||
57ef133b | 10984 | PR target/60657 |
fc02bcca JL |
10985 | * config/arm/predicates.md (const_int_I_operand): New predicate. |
10986 | (const_int_M_operand): Similarly. | |
10987 | * config/arm/arm.md (insv_zero): Use const_int_M_operand instead of | |
10988 | const_int_operand. | |
10989 | (insv_t2, extv_reg, extzv_t2): Likewise. | |
10990 | (load_multiple_with_writeback): Similarly for const_int_I_operand. | |
10991 | (pop_multiple_with_writeback_and_return): Likewise. | |
10992 | (vfp_pop_multiple_with_writeback): Likewise | |
10993 | ||
45b62594 RB |
10994 | 2014-04-04 Richard Biener <rguenther@suse.de> |
10995 | ||
10996 | PR ipa/60746 | |
10997 | * tree-ssanames.c (make_ssa_name_fn): Fix assert. | |
10998 | * gimple.c (gimple_set_bb): Avoid ICEing for NULL cfun for | |
10999 | non-GIMPLE_LABELs. | |
11000 | * gimplify.h (gimple_add_tmp_var_fn): Declare. | |
11001 | * gimplify.c (gimple_add_tmp_var_fn): New function. | |
11002 | * gimple-expr.h (create_tmp_reg_fn): Declare. | |
11003 | * gimple-expr.c (create_tmp_reg_fn): New function. | |
11004 | * gimple-low.c (record_vars_into): Don't change cfun. | |
11005 | * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Fix | |
11006 | code generation without cfun. | |
11007 | ||
bb609c35 TS |
11008 | 2014-04-04 Thomas Schwinge <thomas@codesourcery.com> |
11009 | ||
11010 | PR bootstrap/60719 | |
11011 | * Makefile.in (install-driver): Fix shell scripting. | |
11012 | ||
090cd8dc CH |
11013 | 2014-04-03 Cong Hou <congh@google.com> |
11014 | ||
11015 | PR tree-optimization/60505 | |
11016 | * tree-vectorizer.h (struct _stmt_vec_info): Add th field as the | |
e0a81db1 UB |
11017 | threshold of number of iterations below which no vectorization |
11018 | will be done. | |
090cd8dc CH |
11019 | * tree-vect-loop.c (new_loop_vec_info): |
11020 | Initialize LOOP_VINFO_COST_MODEL_THRESHOLD. | |
11021 | * tree-vect-loop.c (vect_analyze_loop_operations): | |
11022 | Set LOOP_VINFO_COST_MODEL_THRESHOLD. | |
11023 | * tree-vect-loop.c (vect_transform_loop): | |
11024 | Use LOOP_VINFO_COST_MODEL_THRESHOLD. | |
11025 | * tree-vect-loop.c (vect_analyze_loop_2): Check the maximum number | |
11026 | of iterations of the loop and see if we should build the epilogue. | |
11027 | ||
bdc67fd6 RB |
11028 | 2014-04-03 Richard Biener <rguenther@suse.de> |
11029 | ||
e0a81db1 | 11030 | * tree-streamer.h (struct streamer_tree_cache_d): Add next_idx member. |
bdc67fd6 RB |
11031 | (streamer_tree_cache_create): Adjust. |
11032 | * tree-streamer.c (streamer_tree_cache_add_to_node_array): Adjust | |
11033 | to allow optional nodes array. | |
11034 | (streamer_tree_cache_insert_1): Use next_idx to assign idx. | |
11035 | (streamer_tree_cache_append): Likewise. | |
11036 | (streamer_tree_cache_create): Create nodes array optionally | |
11037 | as specified by parameter. | |
11038 | * lto-streamer-out.c (create_output_block): Avoid maintaining | |
11039 | the node array in the writer cache. | |
11040 | (DFS_write_tree): Remove assertion. | |
e0a81db1 | 11041 | (produce_asm_for_decls): Free the out decl state hash table early. |
bdc67fd6 RB |
11042 | * lto-streamer-in.c (lto_data_in_create): Adjust for |
11043 | streamer_tree_cache_create prototype change. | |
11044 | ||
a0daf659 RB |
11045 | 2014-04-03 Richard Biener <rguenther@suse.de> |
11046 | ||
11047 | * tree-streamer-out.c (streamer_write_chain): Do not temporarily | |
11048 | set TREE_CHAIN to NULL_TREE. | |
11049 | ||
f16c88d2 RB |
11050 | 2014-04-03 Richard Biener <rguenther@suse.de> |
11051 | ||
11052 | PR tree-optimization/60740 | |
11053 | * graphite-scop-detection.c (stmt_simple_for_scop_p): Iterate | |
11054 | over all GIMPLE_COND operands. | |
11055 | ||
880a467b NS |
11056 | 2014-04-03 Nathan Sidwell <nathan@codesourcery.com> |
11057 | ||
11058 | * doc/invoke.texi (Wnon-virtual-dtor): Adjust documentation. | |
11059 | (Weffc++): Remove Scott's numbering, merge lists and reference | |
11060 | Wnon-virtual-dtor. | |
11061 | ||
08866760 NC |
11062 | 2014-04-03 Nick Clifton <nickc@redhat.com> |
11063 | ||
11064 | * config/rl78/rl78-expand.md (movqi): Handle (SUBREG (SYMBOL_REF)) | |
11065 | properly. | |
11066 | ||
5bed50e8 MJ |
11067 | 2014-04-03 Martin Jambor <mjambor@suse.cz> |
11068 | ||
11069 | * ipa-cp.c (ipcp_verify_propagated_values): Also dump symtab and | |
11070 | mention gcc_unreachable before failing. | |
11071 | * ipa.c (symtab_remove_unreachable_nodes): Also print order of | |
11072 | removed symbols. | |
11073 | ||
3e86c6a8 JH |
11074 | 2014-04-02 Jan Hubicka <hubicka@ucw.cz> |
11075 | ||
11076 | PR ipa/60659 | |
e0a81db1 UB |
11077 | * ipa-devirt.c (get_polymorphic_call_info): Do not ICE on type |
11078 | inconsistent code and instead mark the context inconsistent. | |
3e86c6a8 JH |
11079 | (possible_polymorphic_call_targets): For inconsistent contexts |
11080 | return empty complete list. | |
11081 | ||
2b9912aa AG |
11082 | 2014-04-02 Anthony Green <green@moxielogic.com> |
11083 | ||
11084 | * config/moxie/moxie.md (zero_extendqisi2, zero_extendhisi2) | |
11085 | (extendqisi2, extendhisi2): Define. | |
11086 | * config/moxie/moxie.h (DEFAULT_SIGNED_CHAR): Change to 0. | |
11087 | (WCHAR_TYPE): Change to unsigned int. | |
11088 | ||
1e386bb8 BS |
11089 | 2014-04-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
11090 | ||
11091 | PR tree-optimization/60733 | |
11092 | * gimple-ssa-strength-reduction.c (ncd_with_phi): Change required | |
11093 | insertion point for PHI candidates to be the end of the feeding | |
11094 | block for the PHI argument. | |
11095 | ||
f4581282 VM |
11096 | 2014-04-02 Vladimir Makarov <vmakarov@redhat.com> |
11097 | ||
11098 | PR rtl-optimization/60650 | |
11099 | * lra-constraints.c (process_alt_operands): Decrease reject for | |
11100 | earlyclobber matching. | |
11101 | ||
a9d46e32 AK |
11102 | 2014-04-02 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
11103 | ||
11104 | * config/s390/s390.c (s390_expand_insv): Use GET_MODE_BITSIZE. | |
11105 | ||
7c40228a UW |
11106 | 2014-04-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
11107 | ||
11108 | * config/spu/spu.c (pad_bb): Do not crash when the last | |
11109 | insn is CODE_FOR_blockage. | |
11110 | ||
c6596193 UW |
11111 | 2014-04-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
11112 | ||
11113 | * config/spu/spu.md ("insv"): Fail if bitoffset+bitsize | |
11114 | lies outside the target mode. | |
11115 | ||
690c229f MM |
11116 | 2014-04-02 Michael Meissner <meissner@linux.vnet.ibm.com> |
11117 | ||
11118 | PR target/60735 | |
11119 | * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): If we have | |
11120 | software floating point or no floating point registers, do not | |
11121 | allow any type in the FPRs. Eliminate a test for SPE SIMD types | |
11122 | in GPRs that occurs after we tested for GPRs that would never be | |
11123 | true. | |
11124 | ||
11125 | * config/rs6000/rs6000.md (mov<mode>_softfloat32, FMOVE64): | |
11126 | Rewrite tests to use TARGET_DOUBLE_FLOAT and TARGET_E500_DOUBLE, | |
11127 | since the FMOVE64 type is DFmode/DDmode. If TARGET_E500_DOUBLE, | |
11128 | specifically allow DDmode, since that does not use the SPE SIMD | |
11129 | instructions. | |
11130 | ||
dad16761 RB |
11131 | 2014-04-02 Richard Biener <rguenther@suse.de> |
11132 | ||
11133 | PR middle-end/60729 | |
11134 | * optabs.c (expand_abs_nojump): Honor flag_trapv only for | |
11135 | MODE_INTs. Properly use negv_optab. | |
11136 | (expand_abs): Likewise. | |
11137 | ||
a1ce39be RB |
11138 | 2014-04-02 Richard Biener <rguenther@suse.de> |
11139 | ||
11140 | PR bootstrap/60719 | |
11141 | * Makefile.in (install-driver): Guard extra installs with special | |
11142 | names properly. | |
11143 | ||
6fb619e4 MM |
11144 | 2014-04-01 Michael Meissner <meissner@linux.vnet.ibm.com> |
11145 | ||
11146 | * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): | |
11147 | Document vec_vgbbd. | |
11148 | ||
2a1ffd6d RH |
11149 | 2014-04-01 Richard Henderson <rth@redhat.com> |
11150 | ||
11151 | PR target/60704 | |
11152 | * config/i386/i386.md (*float<SWI48><MODEF>2_sse): Leave the second | |
11153 | alternative enabled before register allocation. | |
11154 | ||
98e8dd4d CLT |
11155 | 2014-04-01 Chung-Lin Tang <cltang@codesourcery.com> |
11156 | ||
11157 | * config/nios2/nios2.md (unspec): Remove UNSPEC_TLS, UNSPEC_TLS_LDM. | |
11158 | * config/nios2/nios2.c (nios2_function_profiler): Fix addi operand | |
11159 | typo. | |
11160 | (nios2_large_got_address): Remove unneeded 'sym' parameter. | |
11161 | (nios2_got_address): Update nios2_large_got_address call site. | |
11162 | (nios2_delegitimize_address): New function. | |
11163 | (TARGET_DELEGITIMIZE_ADDRESS): Define to nios2_delegitimize_address. | |
11164 | * config/nios2/linux.h (GLIBC_DYNAMIC_LINKER): Define. | |
11165 | (LINK_SPEC): Specify dynamic linker using GNU_USER_DYNAMIC_LINKER. | |
11166 | ||
8785c60a MH |
11167 | 2014-04-01 Martin Husemann <martin@duskware.de> |
11168 | ||
11169 | * config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define __mips_o32 | |
11170 | for -mabi=32. | |
11171 | ||
3343cf6a RS |
11172 | 2014-04-01 Richard Sandiford <rdsandiford@googlemail.com> |
11173 | ||
11174 | PR rtl-optimization/60604 | |
11175 | * recog.c (general_operand): Incorporate REG_CANNOT_CHANGE_MODE_P | |
11176 | check from register_operand. | |
11177 | (register_operand): Redefine in terms of general_operand. | |
11178 | (nonmemory_operand): Use register_operand for the non-constant cases. | |
11179 | ||
1503cb6b RB |
11180 | 2014-04-01 Richard Biener <rguenther@suse.de> |
11181 | ||
e0a81db1 | 11182 | * gimple.h (struct gimple_statement_base): Align subcode to 16 bits. |
1503cb6b | 11183 | |
cded08ea SH |
11184 | 2014-04-01 Sebastian Huber <sebastian.huber@embedded-brains.de> |
11185 | ||
11186 | * doc/invoke.texi (mapp-regs): Clarify. | |
11187 | ||
7d9088c2 UD |
11188 | 2014-03-31 Ulrich Drepper <drepper@gmail.com> |
11189 | ||
11190 | * config/i386/avx512fintrin.h (__v32hi): Define type. | |
11191 | (__v64qi): Likewise. | |
11192 | (_mm512_set1_epi8): Define. | |
11193 | (_mm512_set1_epi16): Define. | |
11194 | (_mm512_set4_epi32): Define. | |
11195 | (_mm512_set4_epi64): Define. | |
11196 | (_mm512_set4_pd): Define. | |
11197 | (_mm512_set4_ps): Define. | |
11198 | (_mm512_setr4_epi64): Define. | |
11199 | (_mm512_setr4_epi32): Define. | |
11200 | (_mm512_setr4_pd): Define. | |
11201 | (_mm512_setr4_ps): Define. | |
11202 | (_mm512_setzero_epi32): Define. | |
11203 | ||
c18ff8a4 MJ |
11204 | 2014-03-31 Martin Jambor <mjambor@suse.cz> |
11205 | ||
11206 | PR middle-end/60647 | |
11207 | * tree-sra.c (callsite_has_enough_arguments_p): Renamed to | |
11208 | callsite_arguments_match_p. Updated all callers. Also check types of | |
11209 | corresponding formal parameters and actual arguments. | |
11210 | (not_all_callers_have_enough_arguments_p) Renamed to | |
11211 | some_callers_have_mismatched_arguments_p. | |
11212 | ||
9a96d5b7 YR |
11213 | 2014-03-31 Yuri Rumyantsev <ysrumyan@gmail.com> |
11214 | ||
11215 | * tree-inline.c (copy_loops): Add missed copy of 'safelen'. | |
11216 | ||
6c031d8d KV |
11217 | 2014-03-31 Kugan Vivekanandarajah <kuganv@linaro.org> |
11218 | ||
11219 | PR target/60034 | |
11220 | * aarch64/aarch64.c (aarch64_classify_address): Fix alignment for | |
11221 | section anchor. | |
11222 | ||
429749e2 UB |
11223 | 2014-03-30 Uros Bizjak <ubizjak@gmail.com> |
11224 | ||
11225 | * config/i386/sse.md (FMAMODE_NOVF512): New mode iterator. | |
11226 | (<sd_mask_codefor>fma_fmadd_<mode><sd_maskz_name><round_name>): | |
11227 | Split out | |
11228 | <sd_mask_codefor>fma_fmadd_<VF_512:mode><sd_maskz_name><round_name>. | |
11229 | Use FMAMODE_NOVF512 mode iterator. | |
11230 | (<sd_mask_codefor>fma_fmsub_<mode><sd_maskz_name><round_name>): Ditto. | |
11231 | (<sd_mask_codefor>fma_fnmadd_<mode><sd_maskz_name><round_name>): Ditto. | |
11232 | (<sd_mask_codefor>fma_fnmsub_<mode><sd_maskz_name><round_name>): Ditto. | |
11233 | (<sd_mask_codefor>fma_fmaddsub_<mode><sd_maskz_name><round_name>): | |
11234 | Split out | |
11235 | <sd_mask_codefor>fma_fmaddsub_<VF_512:mode><sd_maskz_name><round_name>. | |
11236 | Use VF_128_256 mode iterator. | |
11237 | (<sd_mask_codefor>fma_fmsubadd_<mode><sd_maskz_name><round_name>): | |
11238 | Ditto. | |
11239 | ||
1f91035f JH |
11240 | 2014-03-28 Jan Hubicka <hubicka@ucw.cz> |
11241 | ||
11242 | * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Clear | |
11243 | static chain if needed. | |
11244 | ||
6e071b1e VM |
11245 | 2014-03-28 Vladimir Makarov <vmakarov@redhat.com> |
11246 | ||
11247 | PR target/60697 | |
11248 | * lra-constraints.c (index_part_to_reg): New. | |
11249 | (process_address): Use it. | |
11250 | ||
e7f31789 | 11251 | 2014-03-27 Jeff Law <law@redhat.com> |
4bb66ef3 | 11252 | Jakub Jelinek <jakub@redhat.com> |
e7f31789 JL |
11253 | |
11254 | PR target/60648 | |
4bb66ef3 JJ |
11255 | * expr.c (do_tablejump): Use simplify_gen_binary rather than |
11256 | gen_rtx_{PLUS,MULT} to build up the address expression. | |
e7f31789 | 11257 | |
4bb66ef3 JJ |
11258 | * i386/i386.c (ix86_legitimize_address): Use copy_addr_to_reg to avoid |
11259 | creating non-canonical RTL. | |
e7f31789 | 11260 | |
4cd8957f JH |
11261 | 2014-03-28 Jan Hubicka <hubicka@ucw.cz> |
11262 | ||
11263 | PR ipa/60243 | |
11264 | * ipa-inline.c (want_inline_small_function_p): Short circuit large | |
11265 | functions; reorganize to make cheap checks first. | |
11266 | (inline_small_functions): Do not estimate growth when dumping; | |
11267 | it is expensive. | |
11268 | * ipa-inline.h (inline_summary): Add min_size. | |
11269 | (growth_likely_positive): New function. | |
11270 | * ipa-inline-analysis.c (dump_inline_summary): Add min_size. | |
11271 | (set_cond_stmt_execution_predicate): Cleanup. | |
11272 | (estimate_edge_size_and_time): Compute min_size. | |
11273 | (estimate_calls_size_and_time): Likewise. | |
11274 | (estimate_node_size_and_time): Likewise. | |
11275 | (inline_update_overall_summary): Update min_size. | |
11276 | (do_estimate_edge_time): Likewise. | |
11277 | (do_estimate_edge_size): Update. | |
11278 | (do_estimate_edge_hints): Update. | |
11279 | (growth_likely_positive): New function. | |
11280 | ||
ff76f4e2 JJ |
11281 | 2014-03-28 Jakub Jelinek <jakub@redhat.com> |
11282 | ||
11283 | PR target/60693 | |
11284 | * config/i386/i386.c (ix86_copy_addr_to_reg): Call copy_addr_to_reg | |
11285 | also if addr has VOIDmode. | |
11286 | ||
ed6eb6dc KT |
11287 | 2014-03-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
11288 | ||
11289 | * config/arm/aarch-common.c (aarch_crypto_can_dual_issue): New. | |
11290 | * config/arm/aarch-common-protos.h (aarch_crypto_can_dual_issue): | |
11291 | Declare extern. | |
11292 | * config/arm/cortex-a53.md: Add reservations and bypass for crypto | |
11293 | instructions as well as AdvancedSIMD loads. | |
11294 | ||
b10baa95 KT |
11295 | 2014-03-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
11296 | ||
11297 | * config/aarch64/aarch64-simd.md (aarch64_crypto_aes<aes_op>v16qi): | |
11298 | Use crypto_aese type. | |
11299 | (aarch64_crypto_aes<aesmc_op>v16qi): Use crypto_aesmc type. | |
11300 | * config/arm/arm.md (is_neon_type): Replace crypto_aes with | |
11301 | crypto_aese, crypto_aesmc. Move to types.md. | |
11302 | * config/arm/types.md (crypto_aes): Split into crypto_aese, | |
11303 | crypto_aesmc. | |
11304 | * config/arm/iterators.md (crypto_type): Likewise. | |
11305 | ||
23a04216 JH |
11306 | 2014-03-28 Jan Hubicka <hubicka@ucw.cz> |
11307 | ||
11308 | * cgraph.c: Include expr.h and tree-dfa.h. | |
429749e2 UB |
11309 | (cgraph_redirect_edge_call_stmt_to_callee): If call in noreturn; |
11310 | remove LHS. | |
23a04216 | 11311 | |
a4971e68 VM |
11312 | 2014-03-28 Vladimir Makarov <vmakarov@redhat.com> |
11313 | ||
11314 | PR target/60675 | |
11315 | * lra-assigns.c (find_hard_regno_for): Remove unavailable hard | |
11316 | regs from checking multi-reg pseudos. | |
11317 | ||
7ac84c02 RR |
11318 | 2014-03-28 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
11319 | ||
11320 | * config/arm/t-aprofile (MULTILIB_MATCHES): Correct A12 rule. | |
11321 | ||
bd302a18 UW |
11322 | 2014-03-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
11323 | ||
11324 | * config/rs6000/rs6000.c (fusion_gpr_load_p): Refuse optimization | |
11325 | if it would clobber the stack pointer, even temporarily. | |
11326 | ||
cee9defb EB |
11327 | 2014-03-28 Eric Botcazou <ebotcazou@adacore.com> |
11328 | ||
11329 | * mode-switching.c: Make small adjustments to the top comment. | |
11330 | ||
117f16fb MM |
11331 | 2014-03-27 Michael Meissner <meissner@linux.vnet.ibm.com> |
11332 | ||
11333 | * config/rs6000/constraints.md (wD constraint): New constraint to | |
11334 | match the constant integer to get the top DImode/DFmode out of a | |
11335 | vector in a VSX register. | |
11336 | ||
11337 | * config/rs6000/predicates.md (vsx_scalar_64bit): New predicate to | |
11338 | match the constant integer to get the top DImode/DFmode out of a | |
11339 | vector in a VSX register. | |
11340 | ||
11341 | * config/rs6000/rs6000-builtins.def (VBPERMQ): Add vbpermq builtin | |
11342 | for ISA 2.07. | |
11343 | ||
11344 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add | |
11345 | vbpermq builtins. | |
11346 | ||
11347 | * config/rs6000/rs6000.c (rs6000_debug_reg_global): If | |
11348 | -mdebug=reg, print value of VECTOR_ELEMENT_SCALAR_64BIT. | |
11349 | ||
11350 | * config/rs6000/vsx.md (vsx_extract_<mode>, V2DI/V2DF modes): | |
11351 | Optimize vec_extract of 64-bit values, where the value being | |
11352 | extracted is in the top word, where we can use scalar | |
11353 | instructions. Add direct move and store support. Combine the big | |
429749e2 | 11354 | endian/little endian vector select load support into a single insn. |
117f16fb MM |
11355 | (vsx_extract_<mode>_internal1): Likewise. |
11356 | (vsx_extract_<mode>_internal2): Likewise. | |
11357 | (vsx_extract_<mode>_load): Likewise. | |
11358 | (vsx_extract_<mode>_store): Likewise. | |
11359 | (vsx_extract_<mode>_zero): Delete, big and little endian insns are | |
11360 | combined into vsx_extract_<mode>_load. | |
11361 | (vsx_extract_<mode>_one_le): Likewise. | |
11362 | ||
11363 | * config/rs6000/rs6000.h (VECTOR_ELEMENT_SCALAR_64BIT): Macro to | |
11364 | define the top 64-bit vector element. | |
11365 | ||
11366 | * doc/md.texi (PowerPC and IBM RS6000 constraints): Document wD | |
11367 | constraint. | |
11368 | ||
6788164b MM |
11369 | * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): |
11370 | Document vec_vbpermq builtin. | |
11371 | ||
117f16fb MM |
11372 | PR target/60672 |
11373 | * config/rs6000/altivec.h (vec_xxsldwi): Add missing define to | |
11374 | enable use of xxsldwi and xxpermdi builtin functions. | |
11375 | (vec_xxpermdi): Likewise. | |
11376 | ||
11377 | * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): | |
11378 | Document use of vec_xxsldwi and vec_xxpermdi builtins. | |
11379 | ||
9e038952 VM |
11380 | 2014-03-27 Vladimir Makarov <vmakarov@redhat.com> |
11381 | ||
11382 | PR rtl-optimization/60650 | |
f4581282 | 11383 | * lra-assign.c (find_hard_regno_for, spill_for): Add parameter |
9e038952 VM |
11384 | first_p. Use it. |
11385 | (find_spills_for): New. | |
11386 | (assign_by_spills): Pass the new parameter to find_hard_regno_for. | |
11387 | Spill all pseudos on the second iteration. | |
11388 | ||
324dc401 MP |
11389 | 2014-03-27 Marek Polacek <polacek@redhat.com> |
11390 | ||
11391 | PR c/50347 | |
11392 | * doc/extend.texi (ffs Builtins): Change unsigned types to signed | |
11393 | types. | |
11394 | ||
6e77facf AK |
11395 | 2014-03-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
11396 | ||
11397 | * config/s390/s390.c (s390_can_use_return_insn): Check for | |
11398 | call-saved FPRs on 31 bit. | |
11399 | ||
47519a14 JJ |
11400 | 2014-03-27 Jakub Jelinek <jakub@redhat.com> |
11401 | ||
11402 | PR middle-end/60682 | |
11403 | * omp-low.c (lower_omp_1): For gimple_clobber_p stmts, | |
11404 | if they need regimplification, just drop them instead of | |
11405 | calling gimple_regimplify_operands on them. | |
11406 | ||
0b7f8166 MS |
11407 | 2014-03-27 Marcus Shawcroft <marcus.shawcroft@arm.com> |
11408 | ||
11409 | PR target/60580 | |
11410 | * config/aarch64/aarch64.c (faked_omit_frame_pointer): Remove. | |
11411 | (aarch64_frame_pointer_required): Adjust logic. | |
11412 | (aarch64_can_eliminate): Adjust logic. | |
11413 | (aarch64_override_options_after_change): Adjust logic. | |
11414 | ||
2f2a7d15 DC |
11415 | 2014-03-27 Dehao Chen <dehao@google.com> |
11416 | ||
11417 | * ipa-inline.c (early_inliner): Update node's inline info. | |
11418 | ||
a0dbf285 DC |
11419 | 2014-03-26 Dehao Chen <dehao@google.com> |
11420 | ||
11421 | * dojump.c (do_compare_rtx_and_jump): Sets correct probability for | |
11422 | compiler inserted conditional jumps for NAN float check. | |
11423 | ||
ed0ca1e1 JJ |
11424 | 2014-03-26 Jakub Jelinek <jakub@redhat.com> |
11425 | ||
07d72e1d JJ |
11426 | * ubsan.h (ubsan_create_data): Change second argument's type |
11427 | to const location_t *. | |
11428 | * ubsan.c (ubsan_source_location): If xloc.file is NULL, set it to | |
11429 | _("<unknown>"). | |
11430 | (ubsan_create_data): Change second argument to const location_t *PLOC. | |
11431 | Create Loc field whenever PLOC is non-NULL. | |
11432 | (ubsan_instrument_unreachable, ubsan_expand_null_ifn, | |
11433 | ubsan_build_overflow_builtin, instrument_bool_enum_load): Adjust | |
11434 | callers. | |
11435 | ||
ed0ca1e1 JJ |
11436 | PR other/59545 |
11437 | * real.c (real_to_integer2): Change type of low to UHWI. | |
11438 | ||
b9487dd8 TB |
11439 | 2014-03-26 Tobias Burnus <burnus@net-b.de> |
11440 | ||
11441 | * gcc.c (LINK_COMMAND_SPEC): Use libcilkrts.spec for -fcilkplus. | |
11442 | (CILK_SELF_SPECS): New define. | |
11443 | (driver_self_specs): Use it. | |
11444 | ||
3a2700f6 RB |
11445 | 2014-03-26 Richard Biener <rguenther@suse.de> |
11446 | ||
11447 | * tree-pretty-print.c (percent_K_format): Implement special | |
11448 | case for LTO and its stripped down BLOCK tree. | |
11449 | ||
368b454d JJ |
11450 | 2014-03-26 Jakub Jelinek <jakub@redhat.com> |
11451 | ||
aa6b742f JJ |
11452 | PR sanitizer/60636 |
11453 | * ubsan.c (instrument_si_overflow): Instrument ABS_EXPR. | |
11454 | ||
368b454d JJ |
11455 | * tree-vrp.c (simplify_internal_call_using_ranges): If only |
11456 | one range is range_int_cst_p, but not both, at least optimize | |
11457 | addition/subtraction of 0 and multiplication by 0 or 1. | |
11458 | * gimple-fold.c (gimple_fold_call): Fold | |
11459 | IFN_UBSAN_CHECK_{ADD,SUB,MUL}. | |
11460 | (gimple_fold_stmt_to_constant_1): If both op0 and op1 aren't | |
11461 | INTEGER_CSTs, try to fold at least x * 0 and y - y. | |
11462 | ||
c7e30a96 EB |
11463 | 2014-03-26 Eric Botcazou <ebotcazou@adacore.com> |
11464 | ||
11465 | PR rtl-optimization/60452 | |
11466 | * rtlanal.c (rtx_addr_can_trap_p_1): Fix head comment. | |
11467 | <case REG>: Return 1 for invalid offsets from the frame pointer. | |
11468 | ||
d615d763 MP |
11469 | 2014-03-26 Marek Polacek <polacek@redhat.com> |
11470 | ||
11471 | PR c/37428 | |
11472 | * doc/extend.texi (C Extensions): Mention variable-length arrays in | |
11473 | a structure/union. | |
11474 | ||
1b226529 MP |
11475 | 2014-03-26 Marek Polacek <polacek@redhat.com> |
11476 | ||
11477 | PR c/39525 | |
11478 | * doc/extend.texi (Designated Inits): Describe what happens to omitted | |
11479 | field members. | |
11480 | ||
6686e0bc MP |
11481 | 2014-03-26 Marek Polacek <polacek@redhat.com> |
11482 | ||
11483 | PR other/59545 | |
11484 | * ira-color.c (update_conflict_hard_regno_costs): Perform the | |
11485 | multiplication in unsigned type. | |
11486 | ||
d4fbc3ae CJW |
11487 | 2014-03-26 Chung-Ju Wu <jasonwucj@gmail.com> |
11488 | ||
11489 | * doc/install.texi: Document nds32le-*-elf and nds32be-*-elf. | |
11490 | ||
dfa6c87b CJW |
11491 | 2014-03-26 Chung-Ju Wu <jasonwucj@gmail.com> |
11492 | ||
11493 | * doc/contrib.texi: Add myself as Andes nds32 port contributor. | |
11494 | ||
9de6f6c3 JH |
11495 | 2014-03-25 Jan Hubicka <hubicka@ucw.cz> |
11496 | ||
11497 | PR ipa/60315 | |
11498 | * cif-code.def (UNREACHABLE) New code. | |
429749e2 UB |
11499 | * ipa-inline.c (inline_small_functions): Skip edges to |
11500 | __builtlin_unreachable. | |
9de6f6c3 JH |
11501 | (estimate_edge_growth): Allow edges to __builtlin_unreachable. |
11502 | * ipa-inline-analysis.c (edge_set_predicate): Redirect edges with false | |
11503 | predicate to __bulitin_unreachable. | |
429749e2 UB |
11504 | (set_cond_stmt_execution_predicate): Fix issue when |
11505 | invert_tree_comparison returns ERROR_MARK. | |
9de6f6c3 JH |
11506 | * ipa-pure-const.c (propagate_pure_const, propagate_nothrow): Do not |
11507 | propagate to inline clones. | |
11508 | * cgraph.c (verify_edge_corresponds_to_fndecl): Allow redirection | |
11509 | to unreachable. | |
11510 | * ipa-cp.c (create_specialized_node): Be ready for new node to appear. | |
11511 | * cgraphclones.c (cgraph_clone_node): If call destination is already | |
11512 | ureachable, do not redirect it back. | |
11513 | * tree-inline.c (fold_marked_statements): Hanlde calls becoming | |
11514 | unreachable. | |
11515 | ||
d7636f56 JH |
11516 | 2014-03-25 Jan Hubicka <hubicka@ucw.cz> |
11517 | ||
11518 | * ipa-pure-const.c (propagate_pure_const, propagate_nothrow): | |
11519 | Do not modify inline clones. | |
11520 | ||
d1873c57 JJ |
11521 | 2014-03-25 Jakub Jelinek <jakub@redhat.com> |
11522 | ||
11523 | * config/i386/i386.md (general_sext_operand): New mode attr. | |
11524 | (addv<mode>4, subv<mode>4, mulv<mode>4): If operands[2] is CONST_INT, | |
11525 | don't generate (sign_extend (const_int)). | |
11526 | (*addv<mode>4, *subv<mode>4, *mulv<mode>4): Disallow CONST_INT_P | |
429749e2 UB |
11527 | operands[2]. Use We constraint instead of <i> and |
11528 | <general_sext_operand> predicate instead of <general_operand>. | |
d1873c57 JJ |
11529 | (*addv<mode>4_1, *subv<mode>4_1, *mulv<mode>4_1): New insns. |
11530 | * config/i386/constraints.md (We): New constraint. | |
11531 | * config/i386/predicates.md (x86_64_sext_operand, | |
11532 | sext_operand): New predicates. | |
11533 | ||
b5165eb0 MJ |
11534 | 2014-03-25 Martin Jambor <mjambor@suse.cz> |
11535 | ||
11536 | PR ipa/60600 | |
11537 | * ipa-cp.c (ipa_get_indirect_edge_target_1): Redirect type | |
11538 | inconsistent devirtualizations to __builtin_unreachable. | |
11539 | ||
3102858d MP |
11540 | 2014-03-25 Marek Polacek <polacek@redhat.com> |
11541 | ||
11542 | PR c/35449 | |
11543 | * doc/extend.texi (Example of asm with clobbered asm reg): Fix typo. | |
11544 | ||
4b1e108c AL |
11545 | 2014-03-25 Alan Lawrence <alan.lawrence@arm.com> |
11546 | ||
11547 | * config/aarch64/aarch64.c (aarch64_simd_valid_immediate): Reverse | |
11548 | order of elements for big-endian. | |
11549 | ||
40b0722f RB |
11550 | 2014-03-25 Richard Biener <rguenther@suse.de> |
11551 | ||
11552 | PR middle-end/60635 | |
11553 | * gimplify-me.c (gimple_regimplify_operands): Update the | |
11554 | re-gimplifed stmt. | |
11555 | ||
4a5798de MJ |
11556 | 2014-03-25 Martin Jambor <mjambor@suse.cz> |
11557 | ||
11558 | PR ipa/59176 | |
11559 | * lto-cgraph.c (lto_output_node): Stream body_removed flag. | |
11560 | (lto_output_varpool_node): Likewise. | |
11561 | (input_overwrite_node): Likewise. | |
11562 | (input_varpool_node): Likewise. | |
11563 | ||
585d0088 RB |
11564 | 2014-03-25 Richard Biener <rguenther@suse.de> |
11565 | ||
429749e2 | 11566 | * lto-wrapper.c (merge_and_complain): Handle OPT_fPIE like OPT_fpie. |
585d0088 RB |
11567 | (run_gcc): Likewise. |
11568 | ||
a8acccdd JJ |
11569 | 2014-03-25 Jakub Jelinek <jakub@redhat.com> |
11570 | ||
51ee05d0 JJ |
11571 | * combine.c (simplify_compare_const): Add MODE argument. |
11572 | Handle mode_width 0 as very large mode_width. | |
11573 | (try_combine, simplify_comparison): Adjust callers. | |
11574 | ||
a8acccdd JJ |
11575 | * cselib.c (cselib_hash_rtx): Perform addition in unsigned |
11576 | type to avoid signed integer overflow. | |
11577 | * explow.c (plus_constant): Likewise. | |
11578 | ||
57fc74a4 DV |
11579 | 2014-03-25 Dominik Vogt <vogt@linux.vnet.ibm.com> |
11580 | ||
11581 | * doc/generic.texi: Correct typos. | |
11582 | ||
09f15d1b TB |
11583 | 2014-03-24 Tobias Burnus <burnus@net-b.de> |
11584 | ||
11585 | * doc/invoke.texi (-flto): Expand section about | |
11586 | using static libraries with LTO. | |
11587 | ||
72a4ddf2 AK |
11588 | 2014-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
11589 | ||
11590 | PR rtl-optimization/60501 | |
11591 | * optabs.def (addptr3_optab): New optab. | |
11592 | * optabs.c (gen_addptr3_insn, have_addptr3_insn): New function. | |
11593 | * doc/md.texi ("addptrm3"): Document new RTL standard expander. | |
11594 | * expr.h (gen_addptr3_insn, have_addptr3_insn): Add prototypes. | |
11595 | ||
11596 | * lra.c (emit_add3_insn): Use the addptr pattern if available. | |
11597 | ||
11598 | * config/s390/s390.md ("addptrdi3", "addptrsi3"): New expanders. | |
11599 | ||
0b192937 UD |
11600 | 2014-03-24 Ulrich Drepper <drepper@gmail.com> |
11601 | ||
2b2384e8 UD |
11602 | * config/i386/avx512fintrin.h: Define _mm512_set1_ps and |
11603 | _mm512_set1_pd. | |
11604 | ||
0b192937 UD |
11605 | * config/i386/avxintrin.h (_mm256_undefined_si256): Define. |
11606 | (_mm256_undefined_ps): Define. | |
11607 | (_mm256_undefined_pd): Define. | |
11608 | * config/i386/emmintrin.h (_mm_undefined_si128): Define. | |
11609 | (_mm_undefined_pd): Define. | |
11610 | * config/i386/xmmintrin.h (_mm_undefined_ps): Define. | |
11611 | * config/i386/avx512fintrin.h (_mm512_undefined_si512): Define. | |
11612 | (_mm512_undefined_ps): Define. | |
11613 | (_mm512_undefined_pd): Define. | |
11614 | Use _mm*_undefined_*. | |
11615 | * config/i386/avx2intrin.h: Use _mm*_undefined_*. | |
11616 | ||
252c7556 AV |
11617 | 2014-03-24 Alex Velenko <Alex.Velenko@arm.com> |
11618 | ||
11619 | * config/aarch64/aarch64-simd-builtins.def (lshr): DI mode excluded. | |
11620 | (lshr_simd): DI mode added. | |
11621 | * config/aarch64/aarch64-simd.md (aarch64_lshr_simddi): New pattern. | |
11622 | (aarch64_ushr_simddi): Likewise. | |
11623 | * config/aarch64/aarch64.md (UNSPEC_USHR64): New unspec. | |
11624 | * config/aarch64/arm_neon.h (vshr_n_u64): Intrinsic fixed. | |
11625 | (vshrd_n_u64): Likewise. | |
11626 | ||
15e3d4f1 RO |
11627 | 2014-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11628 | ||
11629 | * Makefile.in (s-macro_list): Depend on cc1. | |
11630 | ||
1858c2d3 TJ |
11631 | 2014-03-23 Teresa Johnson <tejohnson@google.com> |
11632 | ||
11633 | * ipa-utils.c (ipa_print_order): Use specified dump file. | |
11634 | ||
f87604f8 EB |
11635 | 2014-03-23 Eric Botcazou <ebotcazou@adacore.com> |
11636 | ||
11637 | PR rtl-optimization/60601 | |
11638 | * bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere. | |
11639 | ||
11640 | * gcc.c (eval_spec_function): Initialize save_growing_value. | |
11641 | ||
3db31fd1 JJ |
11642 | 2014-03-22 Jakub Jelinek <jakub@redhat.com> |
11643 | ||
f451d3a8 JJ |
11644 | PR sanitizer/60613 |
11645 | * internal-fn.c (ubsan_expand_si_overflow_addsub_check): For | |
11646 | code == MINUS_EXPR, never swap op0 with op1. | |
11647 | ||
3db31fd1 JJ |
11648 | * toplev.c (init_local_tick): Avoid signed integer multiplication |
11649 | overflow. | |
11650 | * genautomata.c (reserv_sets_hash_value): Fix rotate idiom, avoid | |
11651 | shift by first operand's bitsize. | |
11652 | ||
e49080ec JJ |
11653 | 2014-03-21 Jakub Jelinek <jakub@redhat.com> |
11654 | ||
11655 | PR target/60610 | |
11656 | * config/i386/i386.h (TARGET_64BIT_P): If not TARGET_BI_ARCH, | |
11657 | redefine to 1 or 0. | |
11658 | * config/i386/darwin.h (TARGET_64BIT_P): Redefine to | |
11659 | TARGET_ISA_64BIT_P(x). | |
11660 | ||
44eb6c40 BS |
11661 | 2014-03-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
11662 | ||
11663 | * config/rs6000/rs6000.c (rs6000_expand_vector_set): Generate a | |
11664 | pattern for vector nor instead of subtract from splat(-1). | |
11665 | (altivec_expand_vec_perm_const_le): Likewise. | |
11666 | ||
ec6f831a RH |
11667 | 2014-03-21 Richard Henderson <rth@twiddle.net> |
11668 | ||
11669 | PR target/60598 | |
11670 | * ifcvt.c (dead_or_predicable): Return FALSE if there are any frame | |
11671 | related insns after epilogue_completed. | |
11672 | ||
3d8d0043 MJ |
11673 | 2014-03-21 Martin Jambor <mjambor@suse.cz> |
11674 | ||
11675 | PR ipa/59176 | |
11676 | * cgraph.h (symtab_node): New flag body_removed. | |
11677 | * ipa.c (symtab_remove_unreachable_nodes): Set body_removed flag | |
11678 | when removing bodies. | |
11679 | * symtab.c (dump_symtab_base): Dump body_removed flag. | |
11680 | * cgraph.c (verify_edge_corresponds_to_fndecl): Skip nodes which | |
11681 | had their bodies removed. | |
11682 | ||
d833415c MJ |
11683 | 2014-03-21 Martin Jambor <mjambor@suse.cz> |
11684 | ||
11685 | PR ipa/60419 | |
11686 | * ipa.c (symtab_remove_unreachable_nodes): Clear thunk flag of nodes | |
11687 | in the border. | |
11688 | ||
400a4f6c RB |
11689 | 2014-03-21 Richard Biener <rguenther@suse.de> |
11690 | ||
11691 | PR tree-optimization/60577 | |
11692 | * tree-core.h (struct tree_base): Document nothrow_flag use | |
9c85aeb6 EB |
11693 | in DECL_NONALIASED. |
11694 | * tree.h (DECL_NONALIASED): New. | |
400a4f6c | 11695 | (may_be_aliased): Adjust. |
9c85aeb6 | 11696 | * coverage.c (build_var): Set DECL_NONALIASED. |
400a4f6c | 11697 | |
c6c2314f EB |
11698 | 2014-03-20 Eric Botcazou <ebotcazou@adacore.com> |
11699 | ||
11700 | * expr.c (expand_expr_real_1): Remove outdated comment. | |
11701 | ||
d02b6ac7 JJ |
11702 | 2014-03-20 Jakub Jelinek <jakub@redhat.com> |
11703 | ||
b8f045e2 JJ |
11704 | PR middle-end/60597 |
11705 | * ira.c (adjust_cleared_regs): Call copy_rtx on | |
11706 | *reg_equiv[REGNO (loc)].src_p before passing it to | |
11707 | simplify_replace_fn_rtx. | |
11708 | ||
d02b6ac7 JJ |
11709 | PR target/60568 |
11710 | * config/i386/i386.c (x86_output_mi_thunk): Surround UNSPEC_GOT | |
11711 | into CONST, put pic register as first operand of PLUS. Use | |
11712 | gen_const_mem for both 32-bit and 64-bit PIC got loads. | |
11713 | ||
e2f98c01 RR |
11714 | 2014-03-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
11715 | ||
11716 | * config/aarch64/aarch64.c (MEMORY_MOVE_COST): Delete. | |
11717 | ||
7075c792 EB |
11718 | 2014-03-20 Eric Botcazou <ebotcazou@adacore.com> |
11719 | ||
11720 | * config/sparc/sparc.c (sparc_do_work_around_errata): Implement work | |
11721 | around for store forwarding issue in the FPU on the UT699. | |
11722 | * config/sparc/sparc.md (in_branch_delay): Return false for single FP | |
11723 | loads and operations if -mfix-ut699 is specified. | |
11724 | (divtf3_hq): Tweak attribute. | |
11725 | (sqrttf2_hq): Likewise. | |
11726 | ||
9ee5337d EB |
11727 | 2014-03-20 Eric Botcazou <ebotcazou@adacore.com> |
11728 | ||
11729 | * calls.c (store_one_arg): Remove incorrect const qualification on the | |
11730 | type of the temporary. | |
11731 | * cfgexpand.c (expand_return): Likewise. | |
11732 | * expr.c (expand_constructor): Likewise. | |
11733 | (expand_expr_real_1): Likewise. | |
11734 | ||
a69e09c8 ZC |
11735 | 2014-03-20 Zhenqiang Chen <zhenqiang.chen@linaro.org> |
11736 | ||
11737 | * config/arm/arm.c (arm_dwarf_register_span): Update the element number | |
11738 | of parts. | |
11739 | ||
8659d57b KK |
11740 | 2014-03-19 Kaz Kojima <kkojima@gcc.gnu.org> |
11741 | ||
11742 | PR target/60039 | |
11743 | * config/sh/sh.md (udivsi3_i1): Clobber R1 register. | |
11744 | ||
985e0d33 JG |
11745 | 2014-03-19 James Greenhalgh <james.greenhalgh@arm.com> |
11746 | ||
11747 | * config/arm/aarch-common-protos.h | |
11748 | (alu_cost_table): Fix spelling of "extend". | |
11749 | * config/arm/arm.c (arm_new_rtx_costs): Fix spelling of "extend". | |
11750 | ||
ce2f49b3 RB |
11751 | 2014-03-19 Richard Biener <rguenther@suse.de> |
11752 | ||
11753 | PR middle-end/60553 | |
11754 | * tree-core.h (tree_type_common): Re-order pointer members | |
11755 | to reduce recursion depth during GC walks. | |
11756 | ||
6daa2d91 MP |
11757 | 2014-03-19 Marek Polacek <polacek@redhat.com> |
11758 | ||
11759 | PR sanitizer/60569 | |
11760 | * ubsan.c (ubsan_type_descriptor): Check that DECL_NAME is nonnull | |
11761 | before accessing it. | |
11762 | ||
8c9cfbe6 RB |
11763 | 2014-03-19 Richard Biener <rguenther@suse.de> |
11764 | ||
11765 | PR lto/59543 | |
11766 | * lto-streamer-in.c (input_function): In WPA stage do not drop | |
11767 | debug stmts. | |
11768 | ||
3efe2e2c JJ |
11769 | 2014-03-19 Jakub Jelinek <jakub@redhat.com> |
11770 | ||
11771 | PR tree-optimization/60559 | |
11772 | * vectorizable_mask_load_store): Replace scalar MASK_LOAD | |
11773 | with build_zero_cst assignment. | |
11774 | ||
234f76cb KT |
11775 | 2014-03-18 Kai Tietz <ktietz@redhat.com> |
11776 | ||
11777 | PR rtl-optimization/56356 | |
11778 | * sdbout.c (sdbout_parms): Verify that parms' | |
11779 | incoming argument is valid. | |
11780 | (sdbout_reg_parms): Likewise. | |
11781 | ||
58ca6edf RH |
11782 | 2014-03-18 Richard Henderson <rth@redhat.com> |
11783 | ||
11784 | PR target/60562 | |
11785 | * config/i386/i386.md (*float<SWI48x><MODEF>2_i387): Move down to | |
11786 | be shadowed by *float<SWI48><MODEF>2_sse. Test X87_ENABLE_FLOAT. | |
ead8233b | 11787 | (*float<SWI48><MODEF>2_sse): Check X87_ENABLE_FLOAT for alternative 0. |
b318e404 BS |
11788 | |
11789 | 2014-03-18 Basile Starynkevitch <basile@starynkevitch.net> | |
11790 | ||
4bb66ef3 | 11791 | * plugin.def: Improve comment for PLUGIN_INCLUDE_FILE. |
429749e2 | 11792 | * doc/plugins.texi (Plugin callbacks): Mention PLUGIN_INCLUDE_FILE. |
4bb66ef3 | 11793 | Italicize plugin event names in description. Explain that |
429749e2 UB |
11794 | PLUGIN_PRAGMAS has no sense for lto1. Explain PLUGIN_INCLUDE_FILE. |
11795 | Remind that no GCC functions should be called after PLUGIN_FINISH. | |
4bb66ef3 | 11796 | Explain what pragmas with expansion are. |
b318e404 | 11797 | |
eb14a79f ML |
11798 | 2014-03-18 Martin Liska <mliska@suse.cz> |
11799 | ||
11800 | * cgraph.c (cgraph_update_edges_for_call_stmt_node): Added case when | |
11801 | gimple call statement is update. | |
11802 | * gimple-fold.c (gimple_fold_call): Changed order for GIMPLE_ASSIGN and | |
11803 | GIMPLE_CALL, where gsi iterator still points to GIMPLE CALL. | |
11804 | ||
415e2e6b JJ |
11805 | 2014-03-18 Jakub Jelinek <jakub@redhat.com> |
11806 | ||
ead96f13 JJ |
11807 | PR sanitizer/60557 |
11808 | * ubsan.c (ubsan_instrument_unreachable): Call | |
11809 | initialize_sanitizer_builtins. | |
11810 | (ubsan_pass): Likewise. | |
11811 | ||
415e2e6b JJ |
11812 | PR sanitizer/60535 |
11813 | * ubsan.c (ubsan_type_descriptor, ubsan_create_data): Call | |
11814 | varpool_finalize_decl instead of rest_of_decl_compilation. | |
11815 | ||
4ca40f52 RB |
11816 | 2014-03-18 Richard Biener <rguenther@suse.de> |
11817 | ||
11818 | * df-problems.c (df_rd_confluence_n): Avoid bitmap_copy | |
11819 | by using bitmap_and_compl instead of bitmap_and_compl_into. | |
11820 | (df_rd_transfer_function): Likewise. | |
11821 | ||
6404e190 RB |
11822 | 2014-03-18 Richard Biener <rguenther@suse.de> |
11823 | ||
11824 | * doc/lto.texi (fresolution): Fix typo. | |
11825 | ||
b9abf793 RB |
11826 | 2014-03-18 Richard Biener <rguenther@suse.de> |
11827 | ||
11828 | * doc/invoke.texi (flto): Update for changes in 4.9. | |
11829 | ||
3f00cf18 RB |
11830 | 2014-03-18 Richard Biener <rguenther@suse.de> |
11831 | ||
11832 | * doc/loop.texi: Remove section on the removed lambda framework. | |
11833 | Update loop docs with recent changes in preserving loop structure. | |
11834 | ||
c2679d84 RB |
11835 | 2014-03-18 Richard Biener <rguenther@suse.de> |
11836 | ||
11837 | * doc/lto.texi (-fresolution): Document. | |
11838 | ||
c07990cc RB |
11839 | 2014-03-18 Richard Biener <rguenther@suse.de> |
11840 | ||
11841 | * doc/contrib.texi: Adjust my name. | |
11842 | ||
ed9c79e1 JJ |
11843 | 2014-03-18 Jakub Jelinek <jakub@redhat.com> |
11844 | ||
11845 | PR ipa/58721 | |
11846 | * internal-fn.c: Include diagnostic-core.h. | |
11847 | (expand_BUILTIN_EXPECT): New function. | |
11848 | * gimplify.c (gimplify_call_expr): Use false instead of FALSE. | |
11849 | (gimplify_modify_expr): Gimplify 3 argument __builtin_expect into | |
11850 | IFN_BUILTIN_EXPECT call instead of __builtin_expect builtin call. | |
11851 | * ipa-inline-analysis.c (find_foldable_builtin_expect): Handle | |
11852 | IFN_BUILTIN_EXPECT. | |
11853 | * predict.c (expr_expected_value_1): Handle IFN_BUILTIN_EXPECT. | |
11854 | Revert 3 argument __builtin_expect code. | |
11855 | (strip_predict_hints): Handle IFN_BUILTIN_EXPECT. | |
11856 | * gimple-fold.c (gimple_fold_call): Likewise. | |
11857 | * tree.h (fold_builtin_expect): New prototype. | |
11858 | * builtins.c (build_builtin_expect_predicate): Add predictor | |
11859 | argument, if non-NULL, create 3 argument __builtin_expect. | |
11860 | (fold_builtin_expect): No longer static. Add ARG2 argument, | |
11861 | pass it through to build_builtin_expect_predicate. | |
11862 | (fold_builtin_2): Adjust caller. | |
11863 | (fold_builtin_3): Handle BUILT_IN_EXPECT. | |
11864 | * internal-fn.def (BUILTIN_EXPECT): New. | |
11865 | ||
11866 | 2014-03-18 Tobias Burnus <burnus@net-b.de> | |
11867 | ||
11868 | PR ipa/58721 | |
11869 | * predict.def (PRED_FORTRAN_OVERFLOW, PRED_FORTRAN_FAIL_ALLOC, | |
11870 | PRED_FORTRAN_FAIL_IO, PRED_FORTRAN_WARN_ONCE, PRED_FORTRAN_SIZE_ZERO, | |
11871 | PRED_FORTRAN_INVALID_BOUND, PRED_FORTRAN_ABSENT_DUMMY): Add. | |
11872 | ||
11873 | 2014-03-18 Jan Hubicka <hubicka@ucw.cz> | |
11874 | ||
11875 | PR ipa/58721 | |
11876 | * predict.c (combine_predictions_for_bb): Fix up formatting. | |
11877 | (expr_expected_value_1, expr_expected_value): Add predictor argument, | |
11878 | fill what it points to if non-NULL. | |
11879 | (tree_predict_by_opcode): Adjust caller, use the predictor. | |
11880 | * predict.def (PRED_COMPARE_AND_SWAP): Add. | |
11881 | ||
e33da4a1 EB |
11882 | 2014-03-18 Eric Botcazou <ebotcazou@adacore.com> |
11883 | ||
11884 | * config/sparc/sparc.c (sparc_do_work_around_errata): Speed up and use | |
11885 | proper constant for the store mode. | |
11886 | ||
1fed15fc IE |
11887 | 2014-03-18 Ilya Enkovich <ilya.enkovich@intel.com> |
11888 | ||
11889 | * symtab.c (change_decl_assembler_name): Fix transparent alias | |
11890 | chain construction. | |
11891 | ||
454fdba9 RL |
11892 | 2014-03-16 Renlin Li <Renlin.Li@arm.com> |
11893 | ||
11894 | * config/aarch64/aarch64.c: Correct the comments about the | |
11895 | aarch64 stack layout. | |
11896 | ||
e2110f8f TS |
11897 | 2014-03-18 Thomas Schwinge <thomas@codesourcery.com> |
11898 | ||
11899 | * omp-low.c (lower_rec_input_clauses) <build_omp_barrier>: Restore | |
11900 | check for GF_OMP_FOR_KIND_FOR. | |
11901 | ||
7c831c4d KY |
11902 | 2013-03-18 Kirill Yukhin <kirill.yukhin@intel.com> |
11903 | ||
11904 | * config/i386/i386.h (ADDITIONAL_REGISTER_NAMES): Add | |
11905 | ymm and zmm register names. | |
11906 | ||
e318c1e1 JJ |
11907 | 2014-03-17 Jakub Jelinek <jakub@redhat.com> |
11908 | ||
11909 | PR target/60516 | |
11910 | * config/i386/i386.c (ix86_expand_epilogue): Adjust REG_CFA_ADJUST_CFA | |
11911 | note creation for the 2010-08-31 changes. | |
11912 | ||
ab2ffbeb MP |
11913 | 2014-03-17 Marek Polacek <polacek@redhat.com> |
11914 | ||
11915 | PR middle-end/60534 | |
11916 | * omp-low.c (omp_max_vf): Treat -fno-tree-loop-optimize the same | |
11917 | as -fno-tree-loop-vectorize. | |
11918 | (expand_omp_simd): Likewise. | |
11919 | ||
890fa568 EB |
11920 | 2014-03-15 Eric Botcazou <ebotcazou@adacore.com> |
11921 | ||
11922 | * config/sparc/sparc-protos.h (tls_call_delay): Delete. | |
11923 | (eligible_for_call_delay): New prototype. | |
11924 | * config/sparc/sparc.c (tls_call_delay): Rename into... | |
11925 | (eligible_for_call_delay): ...this. Return false if the instruction | |
11926 | cannot be put in the delay slot of a branch. | |
11927 | (eligible_for_restore_insn): Simplify. | |
11928 | (eligible_for_return_delay): Return false if the instruction cannot be | |
11929 | put in the delay slot of a branch and simplify. | |
11930 | (eligible_for_sibcall_delay): Return false if the instruction cannot be | |
11931 | put in the delay slot of a branch. | |
11932 | * config/sparc/sparc.md (fix_ut699): New attribute. | |
11933 | (tls_call_delay): Delete. | |
11934 | (in_call_delay): Reimplement. | |
11935 | (eligible_for_sibcall_delay): Rename into... | |
11936 | (in_sibcall_delay): ...this. | |
11937 | (eligible_for_return_delay): Rename into... | |
11938 | (in_return_delay): ...this. | |
11939 | (in_branch_delay): Reimplement. | |
11940 | (in_uncond_branch_delay): Delete. | |
11941 | (in_annul_branch_delay): Delete. | |
11942 | ||
cfce90ac RH |
11943 | 2014-03-14 Richard Henderson <rth@redhat.com> |
11944 | ||
11945 | PR target/60525 | |
11946 | * config/i386/i386.md (floathi<X87MODEF>2): Delete expander; rename | |
11947 | define_insn from *floathi<X87MODEF>2_i387; allow nonimmediate_operand. | |
11948 | (*floathi<X87MODEF>2_i387_with_temp): Remove. | |
11949 | (floathi splitters): Remove. | |
11950 | (float<SWI48x>xf2): New pattern. | |
11951 | (float<SWI48><MODEF>2): Rename from float<SWI48x><X87MODEF>2. Drop | |
11952 | code that tried to handle DImode for 32-bit, but which was excluded | |
11953 | by the pattern's condition. Drop allocation of stack temporary. | |
11954 | (*floatsi<MODEF>2_vector_mixed_with_temp): Remove. | |
11955 | (*float<SWI48><MODEF>2_mixed_with_temp): Remove. | |
11956 | (*float<SWI48><MODEF>2_mixed_interunit): Remove. | |
11957 | (*float<SWI48><MODEF>2_mixed_nointerunit): Remove. | |
11958 | (*floatsi<MODEF>2_vector_sse_with_temp): Remove. | |
11959 | (*float<SWI48><MODEF>2_sse_with_temp): Remove. | |
11960 | (*float<SWI48><MODEF>2_sse_interunit): Remove. | |
11961 | (*float<SWI48><MODEF>2_sse_nointerunit): Remove. | |
11962 | (*float<SWI48x><X87MODEF>2_i387_with_temp): Remove. | |
11963 | (*float<SWI48x><X87MODEF>2_i387): Remove. | |
11964 | (all float _with_temp splitters): Remove. | |
11965 | (*float<SWI48x><MODEF>2_i387): New pattern. | |
11966 | (*float<SWI48><MODEF>2_sse): New pattern. | |
11967 | (float TARGET_USE_VECTOR_CONVERTS splitters): Merge them. | |
11968 | (float TARGET_SSE_PARTIAL_REG_DEPENDENCY splitters): Merge them. | |
11969 | ||
91035653 JJ |
11970 | 2014-03-14 Jakub Jelinek <jakub@redhat.com> |
11971 | Marek Polacek <polacek@redhat.com> | |
11972 | ||
11973 | PR middle-end/60484 | |
11974 | * common.opt (dump_base_name_prefixed): New Variable. | |
11975 | * opts.c (finish_options): Don't prepend directory to x_dump_base_name | |
11976 | if x_dump_base_name_prefixed is already set, set it at the end. | |
11977 | ||
95921002 VM |
11978 | 2014-03-14 Vladimir Makarov <vmakarov@redhat.com> |
11979 | ||
11980 | PR rtl-optimization/60508 | |
11981 | * lra-constraints.c (get_reload_reg): Add new parameter | |
11982 | in_subreg_p. | |
11983 | (process_addr_reg, simplify_operand_subreg, curr_insn_transform): | |
11984 | Pass the new parameter values. | |
11985 | ||
25e57622 RB |
11986 | 2014-03-14 Richard Biener <rguenther@suse.de> |
11987 | ||
11988 | * common.opt: Revert unintented changes from r205065. | |
11989 | * opts.c: Likewise. | |
11990 | ||
1f3388fe RB |
11991 | 2014-03-14 Richard Biener <rguenther@suse.de> |
11992 | ||
11993 | PR middle-end/60518 | |
11994 | * cfghooks.c (split_block): Properly adjust all loops the | |
11995 | block was a latch of. | |
11996 | ||
11997 | 2014-03-14 Martin Jambor <mjambor@suse.cz> | |
3d354792 MJ |
11998 | |
11999 | PR lto/60461 | |
12000 | * ipa-prop.c (ipa_modify_call_arguments): Fix iteration condition | |
12001 | and simplify it. | |
12002 | ||
2832dc22 GJL |
12003 | 2014-03-14 Georg-Johann Lay <avr@gjlay.de> |
12004 | ||
12005 | PR target/59396 | |
12006 | * config/avr/avr.c (avr_set_current_function): Pass function name | |
12007 | through default_strip_name_encoding before sanity checking instead | |
12008 | of skipping the first char of the assembler name. | |
12009 | ||
3386d77e RH |
12010 | 2014-03-13 Richard Henderson <rth@redhat.com> |
12011 | ||
12012 | PR debug/60438 | |
12013 | * config/i386/i386.c (ix86_split_fp_branch): Remove pushed argument. | |
12014 | (ix86_force_to_memory, ix86_free_from_memory): Remove. | |
12015 | * config/i386/i386-protos.h: Likewise. | |
12016 | * config/i386/i386.md (floathi<X87MODEF>2): Use assign_386_stack_local | |
12017 | in the expander instead of a splitter. | |
12018 | (float<SWI48x><X87MODEF>2): Use assign_386_stack_local if there is | |
12019 | any possibility of requiring a memory. | |
12020 | (*floatsi<MODEF>2_vector_mixed): Remove, and the splitters. | |
12021 | (*floatsi<MODEF>2_vector_sse): Remove, and the splitters. | |
12022 | (fp branch splitters): Update for ix86_split_fp_branch. | |
12023 | (*jcc<X87MODEF>_<SWI24>_i387): Remove r/f alternative. | |
12024 | (*jcc<X87MODEF>_<SWI24>_r_i387): Likewise. | |
12025 | (splitter for jcc<X87MODEF>_<SWI24>_i387 r/f): Remove. | |
12026 | (*fop_<MODEF>_2_i387): Remove f/r alternative. | |
12027 | (*fop_<MODEF>_3_i387): Likewise. | |
12028 | (*fop_xf_2_i387, *fop_xf_3_i387): Likewise. | |
12029 | (splitters for the fop_* register patterns): Remove. | |
12030 | (fscalexf4_i387): Rename from *fscalexf4_i387. | |
12031 | (ldexpxf3): Use gen_floatsixf2 and gen_fscalexf4_i387. | |
4bb66ef3 | 12032 | |
5b5d7f31 JJ |
12033 | 2014-03-13 Jakub Jelinek <jakub@redhat.com> |
12034 | ||
12035 | PR tree-optimization/59779 | |
12036 | * tree-dfa.c (get_ref_base_and_extent): Use double_int | |
12037 | type for bitsize and maxsize instead of HOST_WIDE_INT. | |
12038 | ||
bdc6e1ae SB |
12039 | 2014-03-13 Steven Bosscher <steven@gcc.gnu.org> |
12040 | ||
12041 | PR rtl-optimization/57320 | |
12042 | * function.c (rest_of_handle_thread_prologue_and_epilogue): Cleanup | |
12043 | the CFG after thread_prologue_and_epilogue_insns. | |
12044 | ||
7891065a VM |
12045 | 2014-03-13 Vladimir Makarov <vmakarov@redhat.com> |
12046 | ||
12047 | PR rtl-optimization/57189 | |
12048 | * lra-constraints.c (process_alt_operands): Disfavor spilling | |
12049 | vector pseudos. | |
12050 | ||
eba14fca CP |
12051 | 2014-03-13 Cesar Philippidis <cesar@codesourcery.com> |
12052 | ||
429749e2 | 12053 | * lto-wrapper.c (maybe_unlink_file): Suppress diagnostic messages. |
eba14fca | 12054 | |
f661b085 JJ |
12055 | 2014-03-13 Jakub Jelinek <jakub@redhat.com> |
12056 | ||
12057 | PR tree-optimization/59025 | |
12058 | PR middle-end/60418 | |
12059 | * tree-ssa-reassoc.c (sort_by_operand_rank): For SSA_NAMEs with the | |
12060 | same rank, sort by bb_rank and gimple_uid of SSA_NAME_DEF_STMT first. | |
12061 | ||
8f3a3138 GJL |
12062 | 2014-03-13 Georg-Johann Lay <avr@gjlay.de> |
12063 | ||
12064 | PR target/60486 | |
12065 | * config/avr/avr.c (avr_out_plus): Swap cc_plus and cc_minus in | |
12066 | calls of avr_out_plus_1. | |
12067 | ||
d731ee04 BC |
12068 | 2014-03-13 Bin Cheng <bin.cheng@arm.com> |
12069 | ||
12070 | * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Record | |
12071 | BB's single pred and update the father loop's latch info later. | |
12072 | ||
a16a872d MM |
12073 | 2014-03-12 Michael Meissner <meissner@linux.vnet.ibm.com> |
12074 | ||
12075 | * config/rs6000/vector.md (VEC_L): Add V1TI mode to vector types. | |
12076 | (VEC_M): Likewise. | |
12077 | (VEC_N): Likewise. | |
12078 | (VEC_R): Likewise. | |
12079 | (VEC_base): Likewise. | |
12080 | (mov<MODE>, VEC_M modes): If we are loading TImode into VSX | |
12081 | registers, we need to swap double words in little endian mode. | |
12082 | ||
12083 | * config/rs6000/rs6000-modes.def (V1TImode): Add new vector mode | |
12084 | to be a container mode for 128-bit integer operations added in ISA | |
12085 | 2.07. Unlike TImode and PTImode, the preferred register set is | |
12086 | the Altivec/VMX registers for the 128-bit operations. | |
12087 | ||
12088 | * config/rs6000/rs6000-protos.h (rs6000_move_128bit_ok_p): Add | |
12089 | declarations. | |
12090 | (rs6000_split_128bit_ok_p): Likewise. | |
12091 | ||
12092 | * config/rs6000/rs6000-builtin.def (BU_P8V_AV_3): Add new support | |
12093 | macros for creating ISA 2.07 normal and overloaded builtin | |
12094 | functions with 3 arguments. | |
12095 | (BU_P8V_OVERLOAD_3): Likewise. | |
12096 | (VPERM_1T): Add support for V1TImode in 128-bit vector operations | |
12097 | for use as overloaded functions. | |
12098 | (VPERM_1TI_UNS): Likewise. | |
12099 | (VSEL_1TI): Likewise. | |
12100 | (VSEL_1TI_UNS): Likewise. | |
12101 | (ST_INTERNAL_1ti): Likewise. | |
12102 | (LD_INTERNAL_1ti): Likewise. | |
12103 | (XXSEL_1TI): Likewise. | |
12104 | (XXSEL_1TI_UNS): Likewise. | |
12105 | (VPERM_1TI): Likewise. | |
12106 | (VPERM_1TI_UNS): Likewise. | |
12107 | (XXPERMDI_1TI): Likewise. | |
12108 | (SET_1TI): Likewise. | |
12109 | (LXVD2X_V1TI): Likewise. | |
12110 | (STXVD2X_V1TI): Likewise. | |
12111 | (VEC_INIT_V1TI): Likewise. | |
12112 | (VEC_SET_V1TI): Likewise. | |
12113 | (VEC_EXT_V1TI): Likewise. | |
12114 | (EQV_V1TI): Likewise. | |
12115 | (NAND_V1TI): Likewise. | |
12116 | (ORC_V1TI): Likewise. | |
12117 | (VADDCUQ): Add support for 128-bit integer arithmetic instructions | |
12118 | added in ISA 2.07. Add both normal 'altivec' builtins, and the | |
12119 | overloaded builtin. | |
12120 | (VADDUQM): Likewise. | |
12121 | (VSUBCUQ): Likewise. | |
12122 | (VADDEUQM): Likewise. | |
12123 | (VADDECUQ): Likewise. | |
12124 | (VSUBEUQM): Likewise. | |
12125 | (VSUBECUQ): Likewise. | |
12126 | ||
12127 | * config/rs6000/rs6000-c.c (__int128_type): New static to hold | |
12128 | __int128_t and __uint128_t types. | |
12129 | (__uint128_type): Likewise. | |
12130 | (altivec_categorize_keyword): Add support for vector __int128_t, | |
12131 | vector __uint128_t, vector __int128, and vector unsigned __int128 | |
12132 | as a container type for TImode operations that need to be done in | |
12133 | VSX/Altivec registers. | |
12134 | (rs6000_macro_to_expand): Likewise. | |
12135 | (altivec_overloaded_builtins): Add ISA 2.07 overloaded functions | |
12136 | to support 128-bit integer instructions vaddcuq, vadduqm, | |
12137 | vaddecuq, vaddeuqm, vsubcuq, vsubuqm, vsubecuq, vsubeuqm. | |
12138 | (altivec_resolve_overloaded_builtin): Add support for V1TImode. | |
12139 | ||
12140 | * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): Add support | |
0bb29a05 UB |
12141 | for V1TImode, and set up preferences to use VSX/Altivec registers. |
12142 | Setup VSX reload handlers. | |
a16a872d MM |
12143 | (rs6000_debug_reg_global): Likewise. |
12144 | (rs6000_init_hard_regno_mode_ok): Likewise. | |
12145 | (rs6000_preferred_simd_mode): Likewise. | |
0bb29a05 | 12146 | (vspltis_constant): Do not allow V1TImode as easy altivec constants. |
a16a872d MM |
12147 | (easy_altivec_constant): Likewise. |
12148 | (output_vec_const_move): Likewise. | |
12149 | (rs6000_expand_vector_set): Convert V1TImode set and extract to | |
12150 | simple move. | |
12151 | (rs6000_expand_vector_extract): Likewise. | |
12152 | (reg_offset_addressing_ok_p): Setup V1TImode to use VSX reg+reg | |
12153 | addressing. | |
12154 | (rs6000_const_vec): Add support for V1TImode. | |
12155 | (rs6000_emit_le_vsx_load): Swap double words when loading or | |
12156 | storing TImode/V1TImode. | |
12157 | (rs6000_emit_le_vsx_store): Likewise. | |
12158 | (rs6000_emit_le_vsx_move): Likewise. | |
12159 | (rs6000_emit_move): Add support for V1TImode. | |
12160 | (altivec_expand_ld_builtin): Likewise. | |
12161 | (altivec_expand_st_builtin): Likewise. | |
12162 | (altivec_expand_vec_init_builtin): Likewise. | |
12163 | (altivec_expand_builtin): Likewise. | |
12164 | (rs6000_init_builtins): Add support for V1TImode type. Add | |
12165 | support for ISA 2.07 128-bit integer builtins. Define type names | |
12166 | for the VSX/Altivec vector types. | |
12167 | (altivec_init_builtins): Add support for overloaded vector | |
12168 | functions with V1TImode type. | |
0bb29a05 | 12169 | (rs6000_preferred_reload_class): Prefer Altivec registers for V1TImode. |
a16a872d MM |
12170 | (rs6000_move_128bit_ok_p): Move 128-bit move/split validation to |
12171 | external function. | |
12172 | (rs6000_split_128bit_ok_p): Likewise. | |
12173 | (rs6000_handle_altivec_attribute): Create V1TImode from vector | |
12174 | __int128_t and vector __uint128_t. | |
12175 | ||
12176 | * config/rs6000/vsx.md (VSX_L): Add V1TImode to vector iterators | |
12177 | and mode attributes. | |
12178 | (VSX_M): Likewise. | |
12179 | (VSX_M2): Likewise. | |
12180 | (VSm): Likewise. | |
12181 | (VSs): Likewise. | |
12182 | (VSr): Likewise. | |
12183 | (VSv): Likewise. | |
12184 | (VS_scalar): Likewise. | |
12185 | (VS_double): Likewise. | |
0bb29a05 | 12186 | (vsx_set_v1ti): New builtin function to create V1TImode from TImode. |
a16a872d | 12187 | |
0bb29a05 UB |
12188 | * config/rs6000/rs6000.h (TARGET_VADDUQM): New macro to say whether |
12189 | we support the ISA 2.07 128-bit integer arithmetic instructions. | |
a16a872d MM |
12190 | (ALTIVEC_OR_VSX_VECTOR_MODE): Add V1TImode. |
12191 | (enum rs6000_builtin_type_index): Add fields to hold V1TImode | |
12192 | and TImode types for use with the builtin functions. | |
12193 | (V1TI_type_node): Likewise. | |
12194 | (unsigned_V1TI_type_node): Likewise. | |
12195 | (intTI_type_internal_node): Likewise. | |
12196 | (uintTI_type_internal_node): Likewise. | |
12197 | ||
0bb29a05 UB |
12198 | * config/rs6000/altivec.md (UNSPEC_VADDCUQ): New unspecs for ISA 2.07 |
12199 | 128-bit builtin functions. | |
a16a872d MM |
12200 | (UNSPEC_VADDEUQM): Likewise. |
12201 | (UNSPEC_VADDECUQ): Likewise. | |
12202 | (UNSPEC_VSUBCUQ): Likewise. | |
12203 | (UNSPEC_VSUBEUQM): Likewise. | |
12204 | (UNSPEC_VSUBECUQ): Likewise. | |
12205 | (VM): Add V1TImode to vector mode iterators. | |
12206 | (VM2): Likewise. | |
12207 | (VI_unit): Likewise. | |
12208 | (altivec_vadduqm): Add ISA 2.07 128-bit binary builtins. | |
12209 | (altivec_vaddcuq): Likewise. | |
12210 | (altivec_vsubuqm): Likewise. | |
12211 | (altivec_vsubcuq): Likewise. | |
12212 | (altivec_vaddeuqm): Likewise. | |
12213 | (altivec_vaddecuq): Likewise. | |
12214 | (altivec_vsubeuqm): Likewise. | |
12215 | (altivec_vsubecuq): Likewise. | |
12216 | ||
12217 | * config/rs6000/rs6000.md (FMOVE128_GPR): Add V1TImode to vector | |
12218 | mode iterators. | |
12219 | (BOOL_128): Likewise. | |
12220 | (BOOL_REGS_OUTPUT): Likewise. | |
12221 | (BOOL_REGS_OP1): Likewise. | |
12222 | (BOOL_REGS_OP2): Likewise. | |
12223 | (BOOL_REGS_UNARY): Likewise. | |
12224 | (BOOL_REGS_AND_CR0): Likewise. | |
12225 | ||
12226 | * config/rs6000/altivec.h (vec_vaddcuq): Add support for ISA 2.07 | |
12227 | 128-bit integer builtin support. | |
12228 | (vec_vadduqm): Likewise. | |
12229 | (vec_vaddecuq): Likewise. | |
12230 | (vec_vaddeuqm): Likewise. | |
12231 | (vec_vsubecuq): Likewise. | |
12232 | (vec_vsubeuqm): Likewise. | |
12233 | (vec_vsubcuq): Likewise. | |
12234 | (vec_vsubuqm): Likewise. | |
12235 | ||
12236 | * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): | |
12237 | Document vec_vaddcuq, vec_vadduqm, vec_vaddecuq, vec_vaddeuqm, | |
12238 | vec_subecuq, vec_subeuqm, vec_vsubcuq, vec_vsubeqm builtins adding | |
12239 | 128-bit integer add/subtract to ISA 2.07. | |
12240 | ||
eeac7d15 JR |
12241 | 2014-03-12 Joern Rennecke <joern.rennecke@embecosm.com> |
12242 | ||
12243 | * config/arc/arc.c (arc_predicate_delay_insns): | |
12244 | Fix third argument passed to conditionalize_nonjump. | |
12245 | ||
bf0f324e YZ |
12246 | 2014-03-12 Yufeng Zhang <yufeng.zhang@arm.com> |
12247 | ||
12248 | * config/aarch64/aarch64-builtins.c | |
12249 | (aarch64_builtin_vectorized_function): Add BUILT_IN_LFLOORF, | |
12250 | BUILT_IN_LLFLOOR, BUILT_IN_LCEILF and BUILT_IN_LLCEIL. | |
12251 | * config/aarch64/arm_neon.h (vcvtaq_u64_f64): Call __builtin_llfloor | |
12252 | instead of __builtin_lfloor. | |
12253 | (vcvtnq_u64_f64): Call __builtin_llceil instead of __builtin_lceil. | |
12254 | ||
bf4787b2 JJ |
12255 | 2014-03-12 Jakub Jelinek <jakub@redhat.com> |
12256 | ||
12257 | * tree-ssa-ifcombine.c (forwarder_block_to): New function. | |
12258 | (tree_ssa_ifcombine_bb_1): New function. | |
12259 | (tree_ssa_ifcombine_bb): Use it. Handle also cases where else_bb | |
12260 | is an empty forwarder block to then_bb or vice versa and then_bb | |
12261 | and else_bb are effectively swapped. | |
12262 | ||
7d55b948 CB |
12263 | 2014-03-12 Christian Bruel <christian.bruel@st.com> |
12264 | ||
12265 | PR target/60264 | |
0bb29a05 UB |
12266 | * config/arm/arm.c (arm_emit_vfp_multi_reg_pop): Emit a |
12267 | REG_CFA_DEF_CFA note. | |
7d55b948 CB |
12268 | (arm_expand_epilogue_apcs_frame): call arm_add_cfa_adjust_cfa_note. |
12269 | (arm_unwind_emit): Allow REG_CFA_DEF_CFA. | |
12270 | ||
882a5fbe TP |
12271 | 2014-03-12 Thomas Preud'homme <thomas.preudhomme@arm.com> |
12272 | ||
12273 | PR tree-optimization/60454 | |
12274 | * tree-ssa-math-opts.c (find_bswap_1): Fix bswap detection. | |
12275 | ||
a3cd0246 KT |
12276 | 2014-03-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
12277 | ||
12278 | * config.gcc (aarch64*-*-*): Use ISA flags from aarch64-arches.def. | |
12279 | Do not define target_cpu_default2 to generic. | |
12280 | * config/aarch64/aarch64.h (TARGET_CPU_DEFAULT): Use generic cpu. | |
12281 | * config/aarch64/aarch64.c (aarch64_override_options): Update comment. | |
12282 | * config/aarch64/aarch64-arches.def (armv8-a): Use generic cpu. | |
12283 | ||
c888139c JJ |
12284 | 2014-03-12 Jakub Jelinek <jakub@redhat.com> |
12285 | Marc Glisse <marc.glisse@inria.fr> | |
12286 | ||
12287 | PR tree-optimization/60502 | |
12288 | * tree-ssa-reassoc.c (eliminate_not_pairs): Use build_all_ones_cst | |
12289 | instead of build_low_bits_mask. | |
12290 | ||
b24ca895 JJ |
12291 | 2014-03-12 Jakub Jelinek <jakub@redhat.com> |
12292 | ||
12293 | PR middle-end/60482 | |
12294 | * tree-vrp.c (register_edge_assert_for_1): Don't add assert | |
12295 | if there are multiple uses, but op doesn't live on E edge. | |
12296 | * tree-cfg.c (assert_unreachable_fallthru_edge_p): Also ignore | |
12297 | clobber stmts before __builtin_unreachable. | |
12298 | ||
f1257268 RS |
12299 | 2014-03-11 Richard Sandiford <rdsandiford@googlemail.com> |
12300 | ||
12301 | * builtins.c (expand_builtin_setjmp_receiver): Use and clobber | |
12302 | hard_frame_pointer_rtx. | |
12303 | * cse.c (cse_insn): Remove volatile check. | |
12304 | * cselib.c (cselib_process_insn): Likewise. | |
12305 | * dse.c (scan_insn): Likewise. | |
12306 | ||
bae56bbb JR |
12307 | 2014-03-11 Joern Rennecke <joern.rennecke@embecosm.com> |
12308 | ||
0bb29a05 UB |
12309 | * config/arc/arc.c (conditionalize_nonjump): New function, |
12310 | broken out of ... | |
12311 | (arc_ifcvt): ... this. | |
bae56bbb JR |
12312 | (arc_predicate_delay_insns): Use it. |
12313 | ||
167ba5b9 JR |
12314 | 2014-03-11 Joern Rennecke <joern.rennecke@embecosm.com> |
12315 | ||
12316 | * config/arc/predicates.md (extend_operand): During/after reload, | |
12317 | allow const_int_operand. | |
12318 | * config/arc/arc.md (mulsidi3_700): Use extend_operand predicate. | |
12319 | (umulsidi3_700): Likewise. Change operand 2 constraint back to "cL". | |
12320 | (mulsi3_highpart): Change operand 2 constraint alternatives 2 and 3 | |
12321 | to "i". | |
12322 | (umulsi3_highpart_i): Likewise. | |
12323 | ||
dfd7d2d6 RB |
12324 | 2014-03-11 Richard Biener <rguenther@suse.de> |
12325 | ||
12326 | * tree-ssa-structalias.c (get_constraint_for_ptr_offset): | |
12327 | Add asserts to guard possible wrong-code bugs. | |
12328 | ||
af1ab449 RB |
12329 | 2014-03-11 Richard Biener <rguenther@suse.de> |
12330 | ||
12331 | PR tree-optimization/60429 | |
12332 | PR tree-optimization/60485 | |
12333 | * tree-ssa-structalias.c (set_union_with_increment): Properly | |
12334 | take into account all fields that overlap the shifted vars. | |
12335 | (do_sd_constraint): Likewise. | |
12336 | (do_ds_constraint): Likewise. | |
12337 | (get_constraint_for_ptr_offset): Likewise. | |
12338 | ||
747425d0 CLT |
12339 | 2014-03-11 Chung-Lin Tang <cltang@codesourcery.com> |
12340 | ||
12341 | * config/nios2/nios2.c (machine_function): Add fp_save_offset field. | |
12342 | (nios2_compute_frame_layout): | |
12343 | Add calculation of cfun->machine->fp_save_offset. | |
12344 | (nios2_expand_prologue): Correct setting of frame pointer register | |
12345 | in prologue. | |
12346 | (nios2_expand_epilogue): Update recovery of stack pointer from | |
12347 | frame pointer accordingly. | |
12348 | (nios2_initial_elimination_offset): Update calculation of offset | |
12349 | for eliminating to HARD_FRAME_POINTER_REGNUM. | |
12350 | ||
31dad809 JJ |
12351 | 2014-03-10 Jakub Jelinek <jakub@redhat.com> |
12352 | ||
12353 | PR ipa/60457 | |
12354 | * ipa.c (symtab_remove_unreachable_nodes): Don't call | |
12355 | cgraph_get_create_node on VAR_DECLs. | |
12356 | ||
3c1c08d6 RB |
12357 | 2014-03-10 Richard Biener <rguenther@suse.de> |
12358 | ||
12359 | PR middle-end/60474 | |
12360 | * tree.c (signed_or_unsigned_type_for): Handle OFFSET_TYPEs. | |
12361 | ||
21d89690 DR |
12362 | 2014-03-08 Douglas B Rupp <rupp@gnat.com> |
12363 | ||
12364 | * config/vms/vms.opt (vms_float_format): New variable. | |
12365 | ||
634b8e9b TB |
12366 | 2014-03-08 Tobias Burnus <burnus@net-b.de> |
12367 | ||
0bb29a05 | 12368 | * doc/invoke.texi (-fcilkplus): Update implementation status. |
634b8e9b | 12369 | |
f42c637e PM |
12370 | 2014-03-08 Paulo Matos <paulo@matos-sorge.com> |
12371 | Richard Biener <rguenther@suse.de> | |
12372 | ||
12373 | * lto-wrapper.c (merge_and_complain): Ensure -fshort-double is used | |
12374 | consistently accross all TUs. | |
12375 | (run_gcc): Enable -fshort-double automatically at link at link-time | |
12376 | and disallow override. | |
12377 | ||
bd65fc87 RS |
12378 | 2014-03-08 Richard Sandiford <rdsandiford@googlemail.com> |
12379 | ||
12380 | PR target/58271 | |
12381 | * config/mips/mips.c (mips_option_override): Promote -mpaired-single | |
12382 | warning to an error. Disable TARGET_PAIRED_SINGLE and TARGET_MIPS3D | |
12383 | if they can't be used. | |
12384 | ||
040c446d RO |
12385 | 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
12386 | ||
0bb29a05 UB |
12387 | * configure.ac (HAVE_AS_IX86_TLSLDMPLT): Improve test |
12388 | for Solaris 11/x86 ld. | |
040c446d RO |
12389 | * configure: Regenerate. |
12390 | ||
caa16d41 RO |
12391 | 2014-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
12392 | ||
12393 | * configure.ac (TLS_SECTION_ASM_FLAG): Save as tls_section_flag. | |
12394 | (LIB_TLS_SPEC): Save as ld_tls_libs. | |
12395 | (HAVE_AS_IX86_TLSLDMPLT): Define as 1/0. | |
12396 | (HAVE_AS_IX86_TLSLDM): New test. | |
12397 | * configure, config.in: Regenerate. | |
12398 | * config/i386/i386.c (legitimize_tls_address): Fall back to | |
12399 | TLS_MODEL_GLOBAL_DYNAMIC on 32-bit Solaris/x86 if tool chain | |
12400 | cannot support TLS_MODEL_LOCAL_DYNAMIC. | |
12401 | * config/i386/i386.md (*tls_local_dynamic_base_32_gnu): Use if | |
12402 | instead of #ifdef in HAVE_AS_IX86_TLSLDMPLT test. | |
12403 | ||
f3d83ffe PM |
12404 | 2014-03-07 Paulo Matos <paulo@matos-sorge.com> |
12405 | ||
12406 | * common.opt (fira-loop-pressure): Mark as optimization. | |
12407 | ||
b17a8b07 TS |
12408 | 2014-03-07 Thomas Schwinge <thomas@codesourcery.com> |
12409 | ||
12410 | * langhooks.c (lhd_omp_mappable_type): The error_mark_node is not | |
12411 | an OpenMP mappable type. | |
12412 | ||
4973b0f9 MK |
12413 | 2014-03-06 Matthias Klose <doko@ubuntu.com> |
12414 | ||
12415 | * Makefile.in (s-mlib): Only pass MULTIARCH_DIRNAME if | |
12416 | MULTILIB_OSDIRNAMES is not defined. | |
12417 | ||
ab19cc6c JJ |
12418 | 2014-03-06 Jakub Jelinek <jakub@redhat.com> |
12419 | Meador Inge <meadori@codesourcery.com> | |
12420 | ||
12421 | PR target/58595 | |
12422 | * config/arm/arm.c (arm_tls_symbol_p): Remove. | |
12423 | (arm_legitimize_address): Call legitimize_tls_address for any | |
12424 | arm_tls_referenced_p expression, handle constant addend. Call it | |
12425 | before testing for !TARGET_ARM. | |
12426 | (thumb_legitimize_address): Don't handle arm_tls_symbol_p here. | |
12427 | ||
a74158c7 RB |
12428 | 2014-03-06 Richard Biener <rguenther@suse.de> |
12429 | ||
12430 | PR middle-end/60445 | |
12431 | PR lto/60424 | |
12432 | PR lto/60427 | |
12433 | Revert | |
12434 | 2014-03-04 Paulo Matos <paulo@matos-sorge.com> | |
12435 | ||
0bb29a05 UB |
12436 | * tree-streamer.c (record_common_node): Assert we don't record |
12437 | nodes with type double. | |
12438 | (preload_common_node): Skip type double, complex double and double | |
12439 | pointer since it is now frontend dependent due to fshort-double option. | |
a74158c7 | 12440 | |
f3ba16d0 RB |
12441 | 2014-03-06 Richard Biener <rguenther@suse.de> |
12442 | ||
12443 | * gcc.c (PLUGIN_COND): Always enable unless -fno-use-linker-plugin | |
12444 | or -fno-lto is specified and the linker has full plugin support. | |
0bb29a05 UB |
12445 | * collect2.c (lto_mode): Default to LTO_MODE_WHOPR if LTO is enabled. |
12446 | (main): Remove -flto processing, adjust lto_mode using use_plugin late. | |
f3ba16d0 RB |
12447 | * lto-wrapper.c (merge_and_complain): Merge compile-time |
12448 | optimization levels. | |
12449 | (run_gcc): And pass it through to the link options. | |
12450 | ||
4bb66ef3 | 12451 | 2014-03-06 Alexandre Oliva <aoliva@redhat.com> |
80662856 AO |
12452 | |
12453 | PR debug/60381 | |
12454 | Revert: | |
4bb66ef3 | 12455 | 2014-02-28 Alexandre Oliva <aoliva@redhat.com> |
80662856 AO |
12456 | PR debug/59992 |
12457 | * cselib.c (remove_useless_values): Skip to avoid quadratic | |
12458 | behavior if the condition moved from... | |
12459 | (cselib_process_insn): ... here holds. | |
12460 | ||
a05cca9b JJ |
12461 | 2014-03-05 Jakub Jelinek <jakub@redhat.com> |
12462 | ||
487125e7 JJ |
12463 | PR plugins/59335 |
12464 | * Makefile.in (PLUGIN_HEADERS): Add tree-phinodes.h, stor-layout.h, | |
12465 | ssa-iterators.h, $(RESOURCE_H) and tree-cfgcleanup.h. | |
12466 | ||
a05cca9b JJ |
12467 | PR plugins/59335 |
12468 | * config/i386/t-i386 (OPTIONS_H_EXTRA): Add stringop.def. | |
12469 | (TM_H): Add x86-tune.def. | |
12470 | ||
4e2cd668 KT |
12471 | 2014-03-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
12472 | ||
12473 | * config/aarch64/aarch64.c (generic_tunings): | |
12474 | Use cortexa57_extra_costs. | |
12475 | ||
5525ed38 JJ |
12476 | 2014-03-05 Jakub Jelinek <jakub@redhat.com> |
12477 | ||
12478 | PR lto/60404 | |
12479 | * cfgexpand.c (expand_used_vars): Do not assume all SSA_NAMEs | |
12480 | of PARM/RESULT_DECLs must be coalesced with optimize && in_lto_p. | |
12481 | * tree-ssa-coalesce.c (coalesce_ssa_name): Use MUST_COALESCE_COST - 1 | |
12482 | cost for in_lto_p. | |
12483 | ||
0c72fa78 H |
12484 | 2014-03-04 Heiher <r@hev.cc> |
12485 | ||
12486 | * config/mips/mips-cpus.def (loongson3a): Mark as a MIPS64r2 processor. | |
12487 | * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Adjust accordingly. | |
12488 | ||
66b03f81 UB |
12489 | 2014-03-04 Uros Bizjak <ubizjak@gmail.com> |
12490 | ||
12491 | * config/i386/predicates.md (const2356_operand): Change to ... | |
12492 | (const2367_operand): ... this. | |
12493 | * config/i386/sse.md (avx512pf_scatterpf<mode>sf): Use | |
12494 | const2367_operand. | |
12495 | (*avx512pf_scatterpf<mode>sf_mask): Ditto. | |
12496 | (*avx512pf_scatterpf<mode>sf): Ditto. | |
12497 | (avx512pf_scatterpf<mode>df): Ditto. | |
12498 | (*avx512pf_scatterpf<mode>df_mask): Ditto. | |
12499 | (*avx512pf_scatterpf<mode>df): Ditto. | |
12500 | * config/i386/i386.c (ix86_expand_builtin): Update | |
12501 | incorrect hint operand error message. | |
12502 | ||
3c24e842 RB |
12503 | 2014-03-04 Richard Biener <rguenther@suse.de> |
12504 | ||
12505 | * lto-section-in.c (lto_get_section_data): Fix const cast. | |
66b03f81 | 12506 | |
3740bda6 PM |
12507 | 2014-03-04 Paulo Matos <paulo@matos-sorge.com> |
12508 | ||
0bb29a05 UB |
12509 | * tree-streamer.c (record_common_node): Assert we don't record |
12510 | nodes with type double. | |
12511 | (preload_common_node): Skip type double, complex double and double | |
12512 | pointer since it is now frontend dependent due to fshort-double option. | |
3740bda6 | 12513 | |
91856735 RB |
12514 | 2014-03-04 Richard Biener <rguenther@suse.de> |
12515 | ||
12516 | PR lto/60405 | |
66b03f81 | 12517 | * lto-streamer-in.c (lto_read_body): Remove LTO bytecode version check. |
91856735 RB |
12518 | (lto_input_toplevel_asms): Likewise. |
12519 | * lto-section-in.c (lto_get_section_data): Instead do it here | |
12520 | for every section. | |
66b03f81 | 12521 | |
b75f28e1 RB |
12522 | 2014-03-04 Richard Biener <rguenther@suse.de> |
12523 | ||
12524 | PR tree-optimization/60382 | |
12525 | * tree-vect-loop.c (vect_is_simple_reduction_1): Do not consider | |
12526 | dead PHIs a reduction. | |
12527 | ||
dd96e83a UB |
12528 | 2014-03-03 Uros Bizjak <ubizjak@gmail.com> |
12529 | ||
12530 | * config/i386/xmmintrin.h (enum _mm_hint) <_MM_HINT_ET0>: Correct | |
12531 | hint value. | |
12532 | (_mm_prefetch): Move out of GCC target("sse") pragma. | |
12533 | * config/i386/prfchwintrin.h (_m_prefetchw): Move out of | |
12534 | GCC target("prfchw") pragma. | |
12535 | * config/i386/i386.md (prefetch): Emit prefetchwt1 only | |
12536 | for locality <= 2. | |
12537 | * config/i386/i386.c (ix86_option_override_internal): Enable | |
12538 | -mprfchw with -mprefetchwt1. | |
12539 | ||
220c1a51 JR |
12540 | 2014-03-03 Joern Rennecke <joern.rennecke@embecosm.com> |
12541 | ||
12542 | * config/arc/arc.md (casesi_load) <length attribute alternative 0>: | |
12543 | Mark as varying. | |
12544 | ||
212bfe71 JR |
12545 | 2014-03-03 Joern Rennecke <joern.rennecke@embecosm.com> |
12546 | ||
12547 | * opts.h (CL_PCH_IGNORE): Define. | |
12548 | * targhooks.c (option_affects_pch_p): | |
12549 | Return false for options that have CL_PCH_IGNORE set. | |
12550 | * opt-functions.awk: Process PchIgnore. | |
12551 | * doc/options.texi: Document PchIgnore. | |
12552 | ||
7a3d0a39 JR |
12553 | * config/arc/arc.opt (misize): Add PchIgnore property. |
12554 | ||
b46ed885 BS |
12555 | 2014-03-03 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
12556 | ||
12557 | * config/rs6000/rs6000.c (rs6000_preferred_reload_class): Disallow | |
12558 | reload of PLUS rtx's outside of GENERAL_REGS or BASE_REGS; relax | |
12559 | constraint on constants to permit them being loaded into | |
12560 | GENERAL_REGS or BASE_REGS. | |
12561 | ||
c6f709ec NC |
12562 | 2014-03-03 Nick Clifton <nickc@redhat.com> |
12563 | ||
12564 | * config/rl78/rl78-real.md (cbranchsi4_real_signed): Add | |
12565 | anti-cacnonical alternatives. | |
12566 | (negandhi3_real): New pattern. | |
12567 | * config/rl78/rl78-virt.md (negandhi3_virt): New pattern. | |
12568 | ||
5752f78f SKS |
12569 | 2014-03-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
12570 | ||
12571 | * config/avr/avr-mcus.def: Remove atxmega16x1. | |
12572 | * config/avr/avr-tables.opt: Regenerate. | |
12573 | * config/avr/t-multilib: Regenerate. | |
12574 | * doc/avr-mmcu.texi: Regenerate. | |
12575 | ||
0afe7332 | 12576 | 2014-03-03 Tobias Grosser <tobias@grosser.es> |
dd96e83a | 12577 | Mircea Namolaru <mircea.namolaru@inria.fr> |
0afe7332 TG |
12578 | |
12579 | PR tree-optimization/58028 | |
12580 | * graphite-clast-to-gimple.c (set_cloog_options): Don't remove | |
12581 | scalar dimensions. | |
12582 | ||
3416dd87 RR |
12583 | 2014-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
12584 | ||
12585 | * config/arm/neon.md (*movmisalign<mode>): Legitimize addresses | |
12586 | not handled by recognizers. | |
12587 | ||
79c7fda6 JJ |
12588 | 2014-03-03 Jakub Jelinek <jakub@redhat.com> |
12589 | ||
12590 | PR middle-end/60175 | |
12591 | * function.c (expand_function_end): Don't emit | |
12592 | clobber_return_register sequence if clobber_after is a BARRIER. | |
12593 | * cfgexpand.c (construct_exit_block): Append instructions before | |
12594 | return_label to prev_bb. | |
12595 | ||
715a5c85 BS |
12596 | 2014-03-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
12597 | ||
12598 | * config/rs6000/constraints.md: Document reserved use of "wc". | |
12599 | ||
9ffbf271 JH |
12600 | 2014-03-02 Jan Hubicka <hubicka@ucw.cz> |
12601 | ||
12602 | PR ipa/60150 | |
12603 | * ipa.c (function_and_variable_visibility): When dissolving comdat | |
12604 | group, also set all symbols to local. | |
12605 | ||
993df21e | 12606 | 2014-03-02 Jan Hubicka <hubicka@ucw.cz> |
c6f709ec | 12607 | |
993df21e JH |
12608 | PR ipa/60306 |
12609 | ||
12610 | Revert: | |
40c0a159 | 12611 | 2013-12-14 Jan Hubicka <jh@suse.cz> |
0bb29a05 UB |
12612 | PR middle-end/58477 |
12613 | * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Skip clobbers. | |
993df21e | 12614 | |
9b0af790 JB |
12615 | 2014-03-02 Jon Beniston <jon@beniston.com> |
12616 | ||
12617 | PR bootstrap/48230 | |
12618 | PR bootstrap/50927 | |
12619 | PR bootstrap/52466 | |
12620 | PR target/46898 | |
12621 | * config/lm32/lm32.c (lm32_legitimate_constant_p): Remove, as incorrect. | |
c6f709ec | 12622 | (TARGET_LEGITIMATE_CONSTANT_P): Undefine, as not needed. |
9b0af790 | 12623 | * config/lm32/lm32.md (movsi_insn): Add 32-bit immediate support. |
c6f709ec | 12624 | (simple_return, *simple_return): New patterns |
9b0af790 JB |
12625 | * config/lm32/predicates.md (movsi_rhs_operand): Remove as obsolete. |
12626 | * configure.ac (force_sjlj_exceptions): Force sjlj exceptions for lm32. | |
12627 | ||
c582aac9 PC |
12628 | 2014-03-01 Paolo Carlini <paolo.carlini@oracle.com> |
12629 | ||
12630 | * dwarf2out.c (gen_subprogram_die): Tidy. | |
12631 | ||
19305875 OE |
12632 | 2014-03-01 Oleg Endo <olegendo@gcc.gnu.org> |
12633 | ||
12634 | PR target/60071 | |
12635 | * config/sh/sh.md (*mov_t_msb_neg): Split into ... | |
12636 | (*mov_t_msb_neg_negc): ... this new insn. | |
12637 | ||
570215f9 JM |
12638 | 2014-02-28 Jason Merrill <jason@redhat.com> |
12639 | ||
12640 | PR c++/58678 | |
12641 | * ipa-devirt.c (ipa_devirt): Don't choose an implicitly-declared | |
12642 | function. | |
12643 | ||
c5b001b5 PC |
12644 | 2014-02-28 Paolo Carlini <paolo.carlini@oracle.com> |
12645 | ||
12646 | PR c++/60314 | |
12647 | * dwarf2out.c (decltype_auto_die): New static. | |
12648 | (gen_subprogram_die): Handle 'decltype(auto)' like 'auto'. | |
12649 | (gen_type_die_with_usage): Handle 'decltype(auto)'. | |
12650 | (is_cxx_auto): Likewise. | |
12651 | ||
5750e120 IB |
12652 | 2014-02-28 Ian Bolton <ian.bolton@arm.com> |
12653 | ||
12654 | * config/aarch64/aarch64.h: Define __ARM_NEON by default if | |
12655 | we are not using general regs only. | |
12656 | ||
fba7c564 RB |
12657 | 2014-02-28 Richard Biener <rguenther@suse.de> |
12658 | ||
12659 | PR target/60280 | |
12660 | * tree-cfgcleanup.c (tree_forwarder_block_p): Restrict | |
12661 | previous fix and only allow to remove trivial pre-headers | |
12662 | and latches. Also honor LOOPS_MAY_HAVE_MULTIPLE_LATCHES. | |
84d7e312 | 12663 | (remove_forwarder_block): Properly update the latch of a loop. |
fba7c564 | 12664 | |
4bb66ef3 | 12665 | 2014-02-28 Alexandre Oliva <aoliva@redhat.com> |
0618dee5 AO |
12666 | |
12667 | PR debug/59992 | |
12668 | * cselib.c (cselib_hasher::equal): Special-case VALUE lookup. | |
12669 | (cselib_preserved_hash_table): New. | |
12670 | (preserve_constants_and_equivs): Move preserved vals to it. | |
12671 | (cselib_find_slot): Look it up first. | |
12672 | (cselib_init): Initialize it. | |
12673 | (cselib_finish): Release it. | |
12674 | (dump_cselib_table): Dump it. | |
12675 | ||
4bb66ef3 | 12676 | 2014-02-28 Alexandre Oliva <aoliva@redhat.com> |
22414f3f AO |
12677 | |
12678 | PR debug/59992 | |
12679 | * cselib.c (remove_useless_values): Skip to avoid quadratic | |
12680 | behavior if the condition moved from... | |
12681 | (cselib_process_insn): ... here holds. | |
12682 | ||
4bb66ef3 | 12683 | 2014-02-28 Alexandre Oliva <aoliva@redhat.com> |
2e084917 AO |
12684 | |
12685 | PR debug/57232 | |
12686 | * var-tracking.c (vt_initialize): Apply the same condition to | |
12687 | preserve the CFA base value. | |
12688 | ||
9910c53c JY |
12689 | 2014-02-28 Joey Ye <joey.ye@arm.com> |
12690 | ||
12691 | PR target/PR60169 | |
12692 | * config/arm/arm.c (thumb_far_jump_used_p): Don't change | |
12693 | if reload in progress or completed. | |
12694 | ||
ef271341 TB |
12695 | 2014-02-28 Tobias Burnus <burnus@net-b.de> |
12696 | ||
12697 | PR middle-end/60147 | |
12698 | * tree-pretty-print.c (dump_generic_node, print_declaration): Handle | |
12699 | NAMELIST_DECL. | |
12700 | ||
c4f6267b L |
12701 | 2014-02-27 H.J. Lu <hongjiu.lu@intel.com> |
12702 | ||
12703 | * doc/tm.texi.in (Condition Code Status): Update documention for | |
12704 | relative locations of cc0-setter and cc0-user. | |
12705 | ||
7a76df7f JL |
12706 | 2014-02-27 Jeff Law <law@redhat.com> |
12707 | ||
12708 | PR rtl-optimization/52714 | |
12709 | * combine.c (try_combine): When splitting an unrecognized PARALLEL | |
12710 | into two independent simple sets, if I3 is a jump, ensure the | |
84d7e312 | 12711 | pattern we place into I3 is a (set (pc) ...). |
7a76df7f | 12712 | |
728acca0 MP |
12713 | 2014-02-27 Mikael Pettersson <mikpe@it.uu.se> |
12714 | Jeff Law <law@redhat.com> | |
12715 | ||
12716 | PR rtl-optimization/49847 | |
12717 | * cse.c (fold_rtx) Handle case where cc0 setter and cc0 user | |
12718 | are in different blocks. | |
12719 | * doc/tm.texi (Condition Code Status): Update documention for | |
12720 | relative locations of cc0-setter and cc0-user. | |
12721 | ||
93aaa05d VM |
12722 | 2014-02-27 Vladimir Makarov <vmakarov@redhat.com> |
12723 | ||
12724 | PR target/59222 | |
12725 | * lra.c (lra_emit_add): Check SUBREG too. | |
12726 | ||
1ee6eb01 AS |
12727 | 2014-02-27 Andreas Schwab <schwab@suse.de> |
12728 | ||
12729 | * config/m68k/m68k.c (m68k_option_override): Disable | |
12730 | -flive-range-shrinkage for classic m68k. | |
12731 | (m68k_override_options_after_change): Likewise. | |
12732 | ||
bb0d8e84 MP |
12733 | 2014-02-27 Marek Polacek <polacek@redhat.com> |
12734 | ||
12735 | PR middle-end/59223 | |
12736 | * tree-ssa-uninit.c (gate_warn_uninitialized): Run the pass even for | |
12737 | -Wmaybe-uninitialized. | |
12738 | ||
3157b879 AM |
12739 | 2014-02-27 Alan Modra <amodra@gmail.com> |
12740 | ||
3e17cad2 | 12741 | PR target/57936 |
3157b879 AM |
12742 | * reload1.c (emit_input_reload_insns): When reload_override_in, |
12743 | set old to rl->in_reg when rl->in_reg is a subreg. | |
12744 | ||
bb750f4f RB |
12745 | 2014-02-26 Richard Biener <rguenther@suse.de> |
12746 | ||
12747 | PR bootstrap/60343 | |
12748 | * lra-assigns.c (spill_for): Avoid mixed-sign comparison. | |
12749 | ||
22c8aab3 IT |
12750 | 2014-02-25 Ilya Tocar <ilya.tocar@intel.com> |
12751 | ||
12752 | * common/config/i386/predicates.md (const1256_operand): Remove. | |
12753 | (const2356_operand): New. | |
12754 | (const_1_to_2_operand): Remove. | |
12755 | * config/i386/sse.md (avx512pf_gatherpf<mode>sf): Change hint value. | |
12756 | (*avx512pf_gatherpf<mode>sf_mask): Ditto. | |
12757 | (*avx512pf_gatherpf<mode>sf): Ditto. | |
12758 | (avx512pf_gatherpf<mode>df): Ditto. | |
12759 | (*avx512pf_gatherpf<mode>df_mask): Ditto. | |
12760 | (*avx512pf_gatherpf<mode>df): Ditto. | |
12761 | (avx512pf_scatterpf<mode>sf): Ditto. | |
12762 | (*avx512pf_scatterpf<mode>sf_mask): Ditto. | |
12763 | (*avx512pf_scatterpf<mode>sf): Ditto. | |
12764 | (avx512pf_scatterpf<mode>df): Ditto. | |
12765 | (*avx512pf_scatterpf<mode>df_mask): Ditto. | |
12766 | (*avx512pf_scatterpf<mode>df): Ditto. | |
12767 | * common/config/i386/xmmintrin.h (_mm_hint): Add _MM_HINT_ET0. | |
12768 | ||
260d3642 IT |
12769 | 2014-02-26 Ilya Tocar <ilya.tocar@intel.com> |
12770 | ||
12771 | * config/i386/avx512fintrin.h (_mm512_testn_epi32_mask), | |
12772 | (_mm512_mask_testn_epi32_mask), (_mm512_testn_epi64_mask), | |
12773 | (_mm512_mask_testn_epi64_mask): Move to ... | |
12774 | * config/i386/avx512cdintrin.h: Here. | |
12775 | * config/i386/i386.c (bdesc_args): Change MASK_ISA for testnm. | |
12776 | * config/i386/sse.md (avx512f_vmscalef<mode><round_name>): Remove %. | |
12777 | (avx512f_scalef<mode><mask_name><round_name>): Ditto. | |
12778 | (avx512f_testnm<mode>3<mask_scalar_merge_name>): Change conditon to | |
12779 | TARGET_AVX512F from TARGET_AVX512CD. | |
12780 | ||
477145c8 RB |
12781 | 2014-02-26 Richard Biener <rguenther@suse.de> |
12782 | ||
12783 | PR ipa/60327 | |
12784 | * ipa.c (walk_polymorphic_call_targets): Properly guard | |
12785 | call to inline_update_overall_summary. | |
12786 | ||
a3afdbb8 BC |
12787 | 2014-02-26 Bin Cheng <bin.cheng@arm.com> |
12788 | ||
12789 | PR target/60280 | |
84d7e312 UB |
12790 | * tree-cfgcleanup.c (tree_forwarder_block_p): Protect loop preheaders |
12791 | and latches only if requested. Fix latch if it is removed. | |
a3afdbb8 BC |
12792 | * tree-ssa-dom.c (tree_ssa_dominator_optimize): Set |
12793 | LOOPS_HAVE_PREHEADERS. | |
12794 | ||
b8a542c6 AP |
12795 | 2014-02-25 Andrew Pinski <apinski@cavium.com> |
12796 | ||
12797 | * builtins.c (expand_builtin_thread_pointer): Create a new target | |
12798 | when the target is NULL. | |
12799 | ||
88def637 VM |
12800 | 2014-02-25 Vladimir Makarov <vmakarov@redhat.com> |
12801 | ||
12802 | PR rtl-optimization/60317 | |
12803 | * params.def (PARAM_LRA_MAX_CONSIDERED_RELOAD_PSEUDOS): New. | |
12804 | * params.h (LRA_MAX_CONSIDERED_RELOAD_PSEUDOS): New. | |
12805 | * lra-assigns.c: Include params.h. | |
12806 | (spill_for): Use LRA_MAX_CONSIDERED_RELOAD_PSEUDOS as guard for | |
12807 | other reload pseudos considerations. | |
12808 | ||
68908a06 BS |
12809 | 2014-02-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
12810 | ||
cf36d2cc WS |
12811 | * config/rs6000/vector.md (*vector_unordered<mode>): Change split |
12812 | to use canonical form for nor<mode>3. | |
68908a06 | 12813 | |
db57bbc9 KT |
12814 | 2014-02-25 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
12815 | ||
12816 | PR target/55426 | |
12817 | * config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Allow 128 to 64-bit | |
12818 | conversions. | |
12819 | ||
43b3f52f IT |
12820 | 2014-02-25 Ilya Tocar <ilya.tocar@intel.com> |
12821 | ||
12822 | * common/config/i386/i386-common.c (OPTION_MASK_ISA_PREFETCHWT1_SET), | |
12823 | (OPTION_MASK_ISA_PREFETCHWT1_UNSET): New. | |
12824 | (ix86_handle_option): Handle OPT_mprefetchwt1. | |
12825 | * config/i386/cpuid.h (bit_PREFETCHWT1): New. | |
12826 | * config/i386/driver-i386.c (host_detect_local_cpu): Detect | |
12827 | PREFETCHWT1 CPUID. | |
12828 | * config/i386/i386-c.c (ix86_target_macros_internal): Handle | |
12829 | OPTION_MASK_ISA_PREFETCHWT1. | |
12830 | * config/i386/i386.c (ix86_target_string): Handle mprefetchwt1. | |
12831 | (PTA_PREFETCHWT1): New. | |
12832 | (ix86_option_override_internal): Handle PTA_PREFETCHWT1. | |
12833 | (ix86_valid_target_attribute_inner_p): Handle OPT_mprefetchwt1. | |
84d7e312 | 12834 | * config/i386/i386.h (TARGET_PREFETCHWT1, TARGET_PREFETCHWT1_P): New. |
43b3f52f IT |
12835 | * config/i386/i386.md (prefetch): Check TARGET_PREFETCHWT1 |
12836 | (*prefetch_avx512pf_<mode>_: Change into ... | |
84d7e312 | 12837 | (*prefetch_prefetchwt1_<mode>: This. |
43b3f52f IT |
12838 | * config/i386/i386.opt (mprefetchwt1): New. |
12839 | * config/i386/xmmintrin.h (_mm_hint): Add _MM_HINT_ET1. | |
12840 | (_mm_prefetch): Handle intent to write. | |
12841 | * doc/invoke.texi (mprefetchwt1), (mno-prefetchwt1): Doccument. | |
12842 | ||
84053e02 RB |
12843 | 2014-02-25 Richard Biener <rguenther@suse.de> |
12844 | ||
12845 | PR middle-end/60291 | |
12846 | * emit-rtl.c (mem_attrs_htab): Remove. | |
12847 | (mem_attrs_htab_hash): Likewise. | |
12848 | (mem_attrs_htab_eq): Likewise. | |
84d7e312 | 12849 | (set_mem_attrs): Always allocate new mem-attrs when something changed. |
84053e02 RB |
12850 | (init_emit_once): Do not allocate mem_attrs_htab. |
12851 | ||
4094757e RB |
12852 | 2014-02-25 Richard Biener <rguenther@suse.de> |
12853 | ||
12854 | PR lto/60319 | |
12855 | * lto-opts.c (lto_write_options): Output non-explicit conservative | |
12856 | -fwrapv, -fno-trapv and -fno-strict-overflow. | |
12857 | * lto-wrapper.c (merge_and_complain): Handle merging those options. | |
12858 | (run_gcc): And pass them through. | |
12859 | ||
41b2d514 | 12860 | 2014-02-25 Andrey Belevantsev <abel@ispras.ru> |
43b3f52f | 12861 | |
41b2d514 AB |
12862 | * sel-sched.c (calculate_new_fences): New parameter ptime. |
12863 | Calculate it as a maximum over all fence cycles. | |
12864 | (sel_sched_region_2): Adjust the call to calculate_new_fences. | |
12865 | Print the final schedule timing when sched_verbose. | |
12866 | ||
c1c99405 AB |
12867 | 2014-02-25 Andrey Belevantsev <abel@ispras.ru> |
12868 | ||
12869 | PR rtl-optimization/60292 | |
12870 | * sel-sched.c (fill_vec_av_set): Do not reset target availability | |
12871 | bit fot the fence instruction. | |
12872 | ||
1d9def42 AD |
12873 | 2014-02-24 Alangi Derick <alangiderick@gmail.com> |
12874 | ||
12875 | * calls.h: Fix typo in comment. | |
12876 | ||
325fefe0 JDA |
12877 | 2014-02-24 John David Anglin <danglin@gcc.gnu.org> |
12878 | ||
12879 | * config/pa/pa.c (pa_output_move_double): Don't valididate when | |
12880 | adjusting offsetable addresses. | |
12881 | ||
ad43b47a GW |
12882 | 2014-02-24 Guozhi Wei <carrot@google.com> |
12883 | ||
12884 | * sparseset.h (sparseset_pop): Fix the wrong index. | |
12885 | ||
341c653c WL |
12886 | 2014-02-24 Walter Lee <walt@tilera.com> |
12887 | ||
12888 | * config.gcc (tilepro-*-*): Change to tilepro*-*-*. | |
12889 | (tilegx-*-linux*): Change to tilegx*-*-linux*; Support tilegxbe | |
12890 | triplet. | |
12891 | * common/config/tilegx/tilegx-common.c | |
12892 | (TARGET_DEFAULT_TARGET_FLAGS): Define. | |
12893 | * config/tilegx/linux.h (ASM_SPEC): Add endian_spec. | |
12894 | (LINK_SPEC): Ditto. | |
12895 | * config/tilegx/sync.md (atomic_test_and_set): Handle big endian. | |
12896 | * config/tilegx/tilegx.c (tilegx_return_in_msb): New. | |
12897 | (tilegx_gimplify_va_arg_expr): Handle big endian. | |
12898 | (tilegx_expand_unaligned_load): Ditto. | |
12899 | (tilegx_expand_unaligned_store): Ditto. | |
12900 | (TARGET_RETURN_IN_MSB): New. | |
12901 | * config/tilegx/tilegx.h (TARGET_DEFAULT): New. | |
12902 | (TARGET_ENDIAN_DEFAULT): New. | |
12903 | (TARGET_BIG_ENDIAN): Handle big endian. | |
12904 | (BYTES_BIG_ENDIAN): Ditto. | |
12905 | (WORDS_BIG_ENDIAN): Ditto. | |
12906 | (FLOAT_WORDS_BIG_ENDIAN): Ditto. | |
12907 | (ENDIAN_SPEC): New. | |
12908 | (EXTRA_SPECS): New. | |
12909 | * config/tilegx/tilegx.md (extv): Handle big endian. | |
12910 | (extzv): Ditto. | |
12911 | (insn_st<n>): Ditto. | |
12912 | (insn_st<n>_add<bitsuffix>): Ditto. | |
12913 | (insn_stnt<n>): Ditto. | |
12914 | (insn_stnt<n>_add<bitsuffix>):Ditto. | |
12915 | (vec_interleave_highv8qi): Handle big endian. | |
12916 | (vec_interleave_highv8qi_be): New. | |
12917 | (vec_interleave_highv8qi_le): New. | |
12918 | (insn_v1int_h): Handle big endian. | |
12919 | (vec_interleave_lowv8qi): Handle big endian. | |
12920 | (vec_interleave_lowv8qi_be): New. | |
12921 | (vec_interleave_lowv8qi_le): New. | |
12922 | (insn_v1int_l): Handle big endian. | |
12923 | (vec_interleave_highv4hi): Handle big endian. | |
12924 | (vec_interleave_highv4hi_be): New. | |
12925 | (vec_interleave_highv4hi_le): New. | |
12926 | (insn_v2int_h): Handle big endian. | |
12927 | (vec_interleave_lowv4hi): Handle big endian. | |
12928 | (vec_interleave_lowv4hi_be): New. | |
12929 | (vec_interleave_lowv4hi_le): New. | |
12930 | (insn_v2int_l): Handle big endian. | |
12931 | (vec_interleave_highv2si): Handle big endian. | |
12932 | (vec_interleave_highv2si_be): New. | |
12933 | (vec_interleave_highv2si_le): New. | |
12934 | (insn_v4int_h): Handle big endian. | |
12935 | (vec_interleave_lowv2si): Handle big endian. | |
12936 | (vec_interleave_lowv2si_be): New. | |
12937 | (vec_interleave_lowv2si_le): New. | |
12938 | (insn_v4int_l): Handle big endian. | |
12939 | * config/tilegx/tilegx.opt (mbig-endian): New option. | |
12940 | (mlittle-endian): New option. | |
12941 | * doc/install.texi: Document tilegxbe-linux. | |
12942 | * doc/invoke.texi: Document -mbig-endian and -mlittle-endian. | |
12943 | ||
f3fec19f MJ |
12944 | 2014-02-24 Martin Jambor <mjambor@suse.cz> |
12945 | ||
12946 | PR ipa/60266 | |
12947 | * ipa-cp.c (propagate_constants_accross_call): Bail out early if | |
12948 | there are no parameter descriptors. | |
12949 | ||
9039622a AB |
12950 | 2014-02-24 Andrey Belevantsev <abel@ispras.ru> |
12951 | ||
12952 | PR rtl-optimization/60268 | |
12953 | * sched-rgn.c (haifa_find_rgns): Move the nr_regions_initial variable | |
12954 | initialization to ... | |
12955 | (sched_rgn_init): ... here. | |
12956 | (schedule_region): Check for SCHED_PRESSURE_NONE earlier. | |
12957 | ||
4bb66ef3 | 12958 | 2014-02-23 David Holsgrove <david.holsgrove@xilinx.com> |
e7e7bc4b | 12959 | |
9039622a AB |
12960 | * config/microblaze/microblaze.md: Correct ashrsi_reg / lshrsi_reg |
12961 | names. | |
e7e7bc4b | 12962 | |
4bb66ef3 | 12963 | 2014-02-23 Edgar E. Iglesias <edgar.iglesias@xilinx.com> |
8011ccca ME |
12964 | |
12965 | * config/microblaze/microblaze.h: Remove SECONDARY_MEMORY_NEEDED | |
12966 | definition. | |
12967 | ||
4bb66ef3 | 12968 | 2014-02-23 David Holsgrove <david.holsgrove@xilinx.com> |
c332c7df | 12969 | |
84d7e312 UB |
12970 | * /config/microblaze/microblaze.c: Add microblaze_asm_output_mi_thunk, |
12971 | define TARGET_ASM_OUTPUT_MI_THUNK and TARGET_ASM_CAN_OUTPUT_MI_THUNK. | |
c332c7df | 12972 | |
4bb66ef3 | 12973 | 2014-02-23 David Holsgrove <david.holsgrove@xilinx.com> |
d5a19af1 DH |
12974 | |
12975 | * config/microblaze/predicates.md: Add cmp_op predicate. | |
84d7e312 | 12976 | * config/microblaze/microblaze.md: Add branch_compare instruction |
d5a19af1 | 12977 | which uses cmp_op predicate and emits cmp insn before branch. |
84d7e312 | 12978 | * config/microblaze/microblaze.c (microblaze_emit_compare): Rename |
d5a19af1 DH |
12979 | to microblaze_expand_conditional_branch and consolidate logic. |
12980 | (microblaze_expand_conditional_branch): emit branch_compare | |
12981 | insn instead of handling cmp op separate from branch insn. | |
12982 | ||
34c25d23 BS |
12983 | 2014-02-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
12984 | ||
12985 | * config/rs6000/rs6000.c (rs6000_emit_le_vsx_move): Relax assert | |
12986 | to permit subregs. | |
12987 | ||
a6eecdc1 BS |
12988 | 2014-02-23 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
12989 | ||
d5a19af1 DH |
12990 | * config/rs6000/altivec.md (altivec_lve<VI_char>x): Replace |
12991 | define_insn with define_expand and new define_insn | |
12992 | *altivec_lve<VI_char>x_internal. | |
12993 | (altivec_stve<VI_char>x): Replace define_insn with define_expand | |
12994 | and new define_insn *altivec_stve<VI_char>x_internal. | |
12995 | * config/rs6000/rs6000-protos.h (altivec_expand_stvex_be): New | |
12996 | prototype. | |
12997 | * config/rs6000/rs6000.c (altivec_expand_lvx_be): Document use by | |
12998 | lve*x built-ins. | |
12999 | (altivec_expand_stvex_be): New function. | |
a6eecdc1 | 13000 | |
8aa7d1fc JR |
13001 | 2014-02-22 Joern Rennecke <joern.rennecke@embecosm.com> |
13002 | ||
13003 | * config/avr/avr.c (avr_can_eliminate): Allow elimination from | |
84d7e312 | 13004 | ARG_POINTER_REGNUM to STACK_POINTER_REGNUM if !frame_pointer_needed. |
8aa7d1fc JR |
13005 | * config/avr/avr.c (ELIMINABLE_REGS): Add elimination from |
13006 | ARG_POINTER_REGNUM to STACK_POINTER_REGNUM. | |
13007 | ||
a810ee82 VM |
13008 | 2014-02-21 Vladimir Makarov <vmakarov@redhat.com> |
13009 | ||
13010 | PR target/60298 | |
13011 | * lra-constraints.c (inherit_reload_reg): Use lra_emit_move | |
13012 | instead of emit_move_insn. | |
13013 | ||
b90ab1ba BS |
13014 | 2014-02-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
13015 | ||
13016 | * config/rs6000/altivec.md (altivec_vsumsws): Replace second | |
13017 | vspltw with vsldoi. | |
13018 | (reduc_uplus_v16qi): Use gen_altivec_vsumsws_direct instead of | |
13019 | gen_altivec_vsumsws. | |
13020 | ||
1af73690 WS |
13021 | 2014-02-21 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
13022 | ||
13023 | * config/rs6000/altivec.md (altivec_lvxl): Rename as | |
84d7e312 | 13024 | *altivec_lvxl_<mode>_internal and use VM2 iterator instead of V4SI. |
1af73690 WS |
13025 | (altivec_lvxl_<mode>): New define_expand incorporating |
13026 | -maltivec=be semantics where needed. | |
13027 | (altivec_lvx): Rename as *altivec_lvx_<mode>_internal. | |
13028 | (altivec_lvx_<mode>): New define_expand incorporating -maltivec=be | |
13029 | semantics where needed. | |
13030 | (altivec_stvx): Rename as *altivec_stvx_<mode>_internal. | |
13031 | (altivec_stvx_<mode>): New define_expand incorporating | |
13032 | -maltivec=be semantics where needed. | |
13033 | (altivec_stvxl): Rename as *altivec_stvxl_<mode>_internal and use | |
13034 | VM2 iterator instead of V4SI. | |
13035 | (altivec_stvxl_<mode>): New define_expand incorporating | |
13036 | -maltivec=be semantics where needed. | |
13037 | * config/rs6000/rs6000-builtin.def: Add new built-in definitions | |
13038 | LVXL_V2DF, LVXL_V2DI, LVXL_V4SF, LVXL_V4SI, LVXL_V8HI, LVXL_V16QI, | |
84d7e312 UB |
13039 | LVX_V2DF, LVX_V2DI, LVX_V4SF, LVX_V4SI, LVX_V8HI, LVX_V16QI, STVX_V2DF, |
13040 | STVX_V2DI, STVX_V4SF, STVX_V4SI, STVX_V8HI, STVX_V16QI, STVXL_V2DF, | |
13041 | STVXL_V2DI, STVXL_V4SF, STVXL_V4SI, STVXL_V8HI, STVXL_V16QI. | |
1af73690 WS |
13042 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Replace |
13043 | ALTIVEC_BUILTIN_LVX with ALTIVEC_BUILTIN_LVX_<MODE> throughout; | |
13044 | similarly for ALTIVEC_BUILTIN_LVXL, ALTIVEC_BUILTIN_STVX, and | |
13045 | ALTIVEC_BUILTIN_STVXL. | |
84d7e312 | 13046 | * config/rs6000/rs6000-protos.h (altivec_expand_lvx_be): New prototype. |
1af73690 WS |
13047 | (altivec_expand_stvx_be): Likewise. |
13048 | * config/rs6000/rs6000.c (swap_selector_for_mode): New function. | |
13049 | (altivec_expand_lvx_be): Likewise. | |
13050 | (altivec_expand_stvx_be): Likewise. | |
13051 | (altivec_expand_builtin): Add cases for | |
13052 | ALTIVEC_BUILTIN_STVX_<MODE>, ALTIVEC_BUILTIN_STVXL_<MODE>, | |
13053 | ALTIVEC_BUILTIN_LVXL_<MODE>, and ALTIVEC_BUILTIN_LVX_<MODE>. | |
13054 | (altivec_init_builtins): Add definitions for | |
13055 | __builtin_altivec_lvxl_<mode>, __builtin_altivec_lvx_<mode>, | |
84d7e312 | 13056 | __builtin_altivec_stvx_<mode>, and __builtin_altivec_stvxl_<mode>. |
1af73690 | 13057 | |
0a39d07b CM |
13058 | 2014-02-21 Catherine Moore <clm@codesourcery.com> |
13059 | ||
13060 | * doc/invoke.texi (mvirt, mno-virt): Document. | |
13061 | * config/mips/mips.opt (mvirt): New option. | |
13062 | * config/mips/mips.h (ASM_SPEC): Pass mvirt to the assembler. | |
13063 | ||
f2556b68 RB |
13064 | 2014-02-21 Richard Biener <rguenther@suse.de> |
13065 | ||
13066 | PR tree-optimization/60276 | |
13067 | * tree-vectorizer.h (struct _stmt_vec_info): Add min_neg_dist field. | |
13068 | (STMT_VINFO_MIN_NEG_DIST): New macro. | |
13069 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Record | |
13070 | STMT_VINFO_MIN_NEG_DIST. | |
13071 | * tree-vect-stmts.c (vectorizable_load): Verify if assumptions | |
13072 | made for negative dependence distances still hold. | |
13073 | ||
32417082 RB |
13074 | 2014-02-21 Richard Biener <rguenther@suse.de> |
13075 | ||
13076 | PR middle-end/60291 | |
13077 | * tree-ssa-live.c (mark_all_vars_used_1): Do not walk | |
13078 | DECL_INITIAL for globals not in the current function context. | |
13079 | ||
92261ce0 JJ |
13080 | 2014-02-21 Jakub Jelinek <jakub@redhat.com> |
13081 | ||
13082 | PR tree-optimization/56490 | |
13083 | * params.def (PARAM_UNINIT_CONTROL_DEP_ATTEMPTS): New param. | |
13084 | * tree-ssa-uninit.c: Include params.h. | |
13085 | (compute_control_dep_chain): Add num_calls argument, return false | |
13086 | if it exceed PARAM_UNINIT_CONTROL_DEP_ATTEMPTS param, pass | |
13087 | num_calls to recursive call. | |
13088 | (find_predicates): Change dep_chain into normal array, | |
13089 | cur_chain into auto_vec<edge, MAX_CHAIN_LEN + 1>, add num_calls | |
13090 | variable and adjust compute_control_dep_chain caller. | |
13091 | (find_def_preds): Likewise. | |
13092 | ||
aa6ef874 TS |
13093 | 2014-02-21 Thomas Schwinge <thomas@codesourcery.com> |
13094 | ||
13095 | * gimple-pretty-print.c (dump_gimple_omp_for) [flags & TDF_RAW] | |
13096 | <case GF_OMP_FOR_KIND_CILKSIMD>: Add missing break statement. | |
13097 | ||
4b156fd0 NC |
13098 | 2014-02-21 Nick Clifton <nickc@redhat.com> |
13099 | ||
13100 | * config/stormy16/stormy16.md (pushdqi1): Add mode to post_inc. | |
13101 | (pushhi1): Likewise. | |
13102 | (popqi1): Add mode to pre_dec. | |
13103 | (pophi1): Likewise. | |
13104 | ||
dffd569e JJ |
13105 | 2014-02-21 Jakub Jelinek <jakub@redhat.com> |
13106 | ||
13107 | * config/i386/i386.c (ix86_expand_vec_perm): Use V8SImode | |
13108 | mode for mask of V8SFmode permutation. | |
13109 | ||
2fdc29e8 RH |
13110 | 2014-02-20 Richard Henderson <rth@redhat.com> |
13111 | ||
13112 | PR c++/60272 | |
13113 | * builtins.c (expand_builtin_atomic_compare_exchange): Always make | |
13114 | a new pseudo for OLDVAL. | |
13115 | ||
aa637f66 JJ |
13116 | 2014-02-20 Jakub Jelinek <jakub@redhat.com> |
13117 | ||
13118 | PR target/57896 | |
13119 | * config/i386/i386.c (expand_vec_perm_interleave2): Don't call | |
13120 | gen_reg_rtx if d->testing_p. | |
13121 | (expand_vec_perm_pshufb2, expand_vec_perm_broadcast_1): Return early | |
13122 | if d->testing_p and we will certainly return true. | |
13123 | (expand_vec_perm_even_odd_1): Likewise. Don't call gen_reg_rtx | |
13124 | if d->testing_p. | |
13125 | ||
004a7e45 UB |
13126 | 2014-02-20 Uros Bizjak <ubizjak@gmail.com> |
13127 | ||
13128 | * emit-rtl.c (gen_reg_rtx): Assert that | |
13129 | crtl->emit.regno_pointer_align_length is non-zero. | |
13130 | ||
13131 | 2014-02-20 Richard Henderson <rth@redhat.com> | |
672ce939 RH |
13132 | |
13133 | PR c++/60272 | |
13134 | * builtins.c (expand_builtin_atomic_compare_exchange): Conditionalize | |
13135 | on failure the store back into EXPECT. | |
13136 | ||
95ce7613 CLT |
13137 | 2014-02-20 Chung-Lin Tang <cltang@codesourcery.com> |
13138 | Sandra Loosemore <sandra@codesourcery.com> | |
13139 | ||
13140 | * config/nios2/nios2.md (unspec): Add UNSPEC_PIC_GOTOFF_SYM enum. | |
84d7e312 UB |
13141 | * config/nios2/nios2.c (nios2_function_profiler): Add |
13142 | -fPIC (flag_pic == 2) support. | |
95ce7613 CLT |
13143 | (nios2_handle_custom_fpu_cfg): Fix warning parameter. |
13144 | (nios2_large_offset_p): New function. | |
13145 | (nios2_unspec_reloc_p): Move up position, update to use | |
13146 | nios2_large_offset_p. | |
13147 | (nios2_unspec_address): Remove function. | |
13148 | (nios2_unspec_offset): New function. | |
13149 | (nios2_large_got_address): New function. | |
13150 | (nios2_got_address): Add large offset support. | |
13151 | (nios2_legitimize_tls_address): Update usage of removed and new | |
13152 | functions. | |
13153 | (nios2_symbol_binds_local_p): New function. | |
13154 | (nios2_load_pic_address): Add -fPIC (flag_pic == 2) support. | |
13155 | (nios2_legitimize_address): Update to use nios2_large_offset_p. | |
13156 | (nios2_emit_move_sequence): Avoid legitimizing (const (unspec ...)). | |
13157 | (nios2_print_operand): Merge H/L processing, add hiadj/lo | |
13158 | processing for (const (unspec ...)). | |
13159 | (nios2_unspec_reloc_name): Add UNSPEC_PIC_GOTOFF_SYM case. | |
13160 | ||
efd2d3c8 RB |
13161 | 2014-02-20 Richard Biener <rguenther@suse.de> |
13162 | ||
13163 | * tree-cfg.c (replace_uses_by): Mark altered BBs before | |
13164 | doing the substitution. | |
004a7e45 | 13165 | (verify_gimple_assign_single): Also verify bare MEM_REFs on the lhs. |
efd2d3c8 | 13166 | |
9576e7b1 MJ |
13167 | 2014-02-20 Martin Jambor <mjambor@suse.cz> |
13168 | ||
13169 | PR ipa/55260 | |
13170 | * ipa-cp.c (cgraph_edge_brings_all_agg_vals_for_node): Uce correct | |
13171 | info when checking whether lattices are bottom. | |
13172 | ||
25fe40b0 RB |
13173 | 2014-02-20 Richard Biener <rguenther@suse.de> |
13174 | ||
13175 | PR middle-end/60221 | |
13176 | * tree-eh.c (execute_cleanup_eh_1): Also cleanup empty EH | |
13177 | regions at -O0. | |
13178 | ||
bd936951 JH |
13179 | 2014-02-20 Jan Hubicka <hubicka@ucw.cz> |
13180 | ||
13181 | PR ipa/58555 | |
004a7e45 UB |
13182 | * ipa-inline-transform.c (clone_inlined_nodes): Add freq_scale |
13183 | parameter specifying the scaling. | |
bd936951 JH |
13184 | (inline_call): Update. |
13185 | (want_inline_recursively): Guard division by zero. | |
13186 | (recursive_inlining): Update. | |
13187 | * ipa-inline.h (clone_inlined_nodes): Update. | |
13188 | ||
3c898e1a IT |
13189 | 2014-02-20 Ilya Tocar <ilya.tocar@intel.com> |
13190 | ||
13191 | PR target/60204 | |
13192 | * config/i386/i386.c (classify_argument): Pass structures of size | |
13193 | 64 bytes or less in register. | |
13194 | ||
df62b4af | 13195 | 2014-02-20 Ilya Tocar <ilya.tocar@intel.com> |
004a7e45 | 13196 | Kirill Yukhin <kirill.yukhin@intel.com> |
df62b4af IT |
13197 | |
13198 | * config/i386/avx512erintrin.h (_mm_rcp28_round_sd): Swap operands. | |
13199 | (_mm_rcp28_round_ss): Ditto. | |
13200 | (_mm_rsqrt28_round_sd): Ditto. | |
13201 | (_mm_rsqrt28_round_ss): Ditto. | |
13202 | * config/i386/avx512erintrin.h (_mm_rcp14_round_sd): Ditto. | |
13203 | (_mm_rcp14_round_ss): Ditto. | |
13204 | (_mm_rsqrt14_round_sd): Ditto. | |
13205 | (_mm_rsqrt14_round_ss): Ditto. | |
13206 | * config/i386/sse.md (rsqrt14<mode>): Put nonimmediate operand as | |
13207 | the first input operand, get rid of match_dup. | |
13208 | (avx512er_exp2<mode><mask_name><round_saeonly_name>): Set type | |
13209 | attribute to sse. | |
13210 | (<mask_codefor>avx512er_rcp28<mode><mask_name><round_saeonly_name>): | |
13211 | Ditto. | |
13212 | (avx512er_vmrcp28<mode><round_saeonly_name>): Put nonimmediate | |
13213 | operand as the first input operand, set type attribute. | |
13214 | (<mask_codefor>avx512er_rsqrt28<mode><mask_name><round_saeonly_name>): | |
13215 | Set type attribute. | |
13216 | (avx512er_vmrsqrt28<mode><round_saeonly_name>): Put nonimmediate | |
13217 | operand as the first input operand, set type attribute. | |
13218 | ||
9254148e BS |
13219 | 2014-02-19 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
13220 | ||
13221 | * config/rs6000/rs6000.c (vspltis_constant): Fix most significant | |
13222 | bit of zero. | |
13223 | ||
fff91793 L |
13224 | 2014-02-19 H.J. Lu <hongjiu.lu@intel.com> |
13225 | ||
13226 | PR target/60207 | |
13227 | * config/i386/i386.c (construct_container): Remove TFmode check | |
13228 | for X86_64_INTEGER_CLASS. | |
13229 | ||
6aa5b4b8 UB |
13230 | 2014-02-19 Uros Bizjak <ubizjak@gmail.com> |
13231 | ||
13232 | PR target/59794 | |
13233 | * config/i386/i386.c (type_natural_mode): Warn for ABI changes | |
13234 | only when -Wpsabi is enabled. | |
13235 | ||
aadc1c43 MHD |
13236 | 2014-02-19 Michael Hudson-Doyle <michael.hudson@linaro.org> |
13237 | ||
13238 | PR target/59799 | |
13239 | * config/aarch64/aarch64.c (aarch64_pass_by_reference): The rules for | |
13240 | passing arrays in registers are the same as for structs, so remove the | |
13241 | special case for them. | |
13242 | ||
322913f8 EB |
13243 | 2014-02-19 Eric Botcazou <ebotcazou@adacore.com> |
13244 | ||
13245 | * expr.c (expand_expr_real_1) <case VIEW_CONVERT_EXPR>: For a bit-field | |
13246 | destination type, extract only the valid bits if the source type is not | |
13247 | integral and has a different mode. | |
13248 | ||
fd9710dc RB |
13249 | 2014-02-19 Richard Biener <rguenther@suse.de> |
13250 | ||
13251 | PR ipa/60243 | |
13252 | * tree-inline.c (estimate_num_insns): Avoid calling cgraph_get_node | |
13253 | for all calls. | |
13254 | ||
4df65a85 RB |
13255 | 2014-02-19 Richard Biener <rguenther@suse.de> |
13256 | ||
13257 | PR ipa/60243 | |
13258 | * ipa-prop.c: Include stringpool.h and tree-ssanames.h. | |
13259 | (ipa_modify_call_arguments): Emit an argument load explicitely and | |
13260 | preserve virtual SSA form there and for the replacement call. | |
13261 | Do not update SSA form nor free dominance info. | |
13262 | ||
7fea98d8 JH |
13263 | 2014-02-18 Jan Hubicka <hubicka@ucw.cz> |
13264 | ||
13265 | * ipa.c (function_and_variable_visibility): Also clear WEAK | |
13266 | flag when disolving COMDAT_GROUP. | |
13267 | ||
0a2550e7 JH |
13268 | 2014-02-18 Jan Hubicka <hubicka@ucw.cz> |
13269 | ||
13270 | * ipa-prop.h (ipa_ancestor_jf_data): Update ocmment. | |
13271 | * ipa-prop.c (ipa_set_jf_known_type): Return early when | |
13272 | not devirtualizing. | |
13273 | (ipa_set_ancestor_jf): Set type to NULL hwen it is not preserved; | |
13274 | do more sanity checks. | |
13275 | (detect_type_change): Return true when giving up early. | |
13276 | (compute_complex_assign_jump_func): Fix type parameter of | |
13277 | ipa_set_ancestor_jf. | |
13278 | (compute_complex_ancestor_jump_func): Likewise. | |
13279 | (update_jump_functions_after_inlining): Fix updating of | |
13280 | ancestor function. | |
6aa5b4b8 | 13281 | * ipa-cp.c (ipa_get_jf_ancestor_result): Be ready for type to be NULL. |
0a2550e7 | 13282 | |
2dbe8b70 JH |
13283 | 2014-02-18 Jan Hubicka <hubicka@ucw.cz> |
13284 | ||
13285 | * cgraph.c (cgraph_update_edges_for_call_stmt_node): Also remove | |
13286 | inline clones when edge disappears. | |
13287 | ||
b9809dc4 MM |
13288 | 2014-02-18 Michael Meissner <meissner@linux.vnet.ibm.com> |
13289 | ||
13290 | PR target/60203 | |
13291 | * config/rs6000/rs6000.md (mov<mode>_64bit, TF/TDmode moves): | |
13292 | Split 64-bit moves into 2 patterns. Do not allow the use of | |
13293 | direct move for TDmode in little endian, since the decimal value | |
13294 | has little endian bytes within a word, but the 64-bit pieces are | |
13295 | ordered in a big endian fashion, and normal subreg's of TDmode are | |
13296 | not allowed. | |
13297 | (mov<mode>_64bit_dm): Likewise. | |
13298 | (movtd_64bit_nodm): Likewise. | |
13299 | ||
bababbfb EB |
13300 | 2014-02-18 Eric Botcazou <ebotcazou@adacore.com> |
13301 | ||
13302 | PR tree-optimization/60174 | |
13303 | * tree-ssa-reassoc.c (init_range_entry): Do not look into the defining | |
13304 | statement of an SSA_NAME that occurs in an abnormal PHI node. | |
13305 | ||
70aacc97 JJ |
13306 | 2014-02-18 Jakub Jelinek <jakub@redhat.com> |
13307 | ||
13308 | PR sanitizer/60142 | |
13309 | * final.c (SEEN_BB): Remove. | |
13310 | (SEEN_NOTE, SEEN_EMITTED): Renumber. | |
13311 | (final_scan_insn): Don't force_source_line on second | |
13312 | NOTE_INSN_BASIC_BLOCK. | |
13313 | ||
223cdd15 UB |
13314 | 2014-02-18 Uros Bizjak <ubizjak@gmail.com> |
13315 | ||
13316 | PR target/60205 | |
13317 | * config/i386/i386.h (struct ix86_args): Add warn_avx512f. | |
13318 | * config/i386/i386.c (init_cumulative_args): Initialize warn_avx512f. | |
13319 | (type_natural_mode): Warn ABI change when %zmm register is not | |
13320 | available for AVX512F vector value passing. | |
13321 | ||
48810be0 KT |
13322 | 2014-02-18 Kai Tietz <ktietz@redhat.com> |
13323 | ||
13324 | PR target/60193 | |
223cdd15 UB |
13325 | * config/i386/i386.c (ix86_expand_prologue): Use value in |
13326 | rax register as displacement when restoring %r10 or %rax. | |
13327 | Fix wrong offset when restoring both registers. | |
48810be0 | 13328 | |
20afe640 EB |
13329 | 2014-02-18 Eric Botcazou <ebotcazou@adacore.com> |
13330 | ||
13331 | * ipa-prop.c (compute_complex_ancestor_jump_func): Replace overzealous | |
13332 | assertion with conditional return. | |
13333 | ||
d0b50387 JJ |
13334 | 2014-02-18 Jakub Jelinek <jakub@redhat.com> |
13335 | Uros Bizjak <ubizjak@gmail.com> | |
13336 | ||
13337 | PR driver/60233 | |
13338 | * config/i386/driver-i386.c (host_detect_local_cpu): If | |
13339 | YMM state is not saved by the OS, also clear has_f16c. Move | |
13340 | CPUID 0x80000001 handling before YMM state saving checking. | |
13341 | ||
c4cd7435 AB |
13342 | 2014-02-18 Andrey Belevantsev <abel@ispras.ru> |
13343 | ||
13344 | PR rtl-optimization/58960 | |
13345 | * haifa-sched.c (alloc_global_sched_pressure_data): New, | |
13346 | factored out from ... | |
13347 | (sched_init): ... here. | |
13348 | (free_global_sched_pressure_data): New, factored out from ... | |
13349 | (sched_finish): ... here. | |
13350 | * sched-int.h (free_global_sched_pressure_data): Declare. | |
13351 | * sched-rgn.c (nr_regions_initial): New static global. | |
13352 | (haifa_find_rgns): Initialize it. | |
13353 | (schedule_region): Disable sched-pressure for the newly | |
13354 | generated regions. | |
13355 | ||
f0281fde RB |
13356 | 2014-02-17 Richard Biener <rguenther@suse.de> |
13357 | ||
13358 | * tree-vect-stmts.c (free_stmt_vec_info): Clear BB and | |
13359 | release SSA defs of pattern stmts. | |
13360 | ||
c742772c RB |
13361 | 2014-02-17 Richard Biener <rguenther@suse.de> |
13362 | ||
13363 | * tree-inline.c (expand_call_inline): Release the virtual | |
13364 | operand defined by the call we are about to inline. | |
13365 | ||
0492158e RB |
13366 | 2014-02-17 Richard Biener <rguenther@suse.de> |
13367 | ||
13368 | * tree-ssa.c (verify_ssa): If verify_def found an error, ICE. | |
13369 | ||
583a9919 KY |
13370 | 2014-02-17 Kirill Yukhin <kirill.yukhin@intel.com> |
13371 | Ilya Tocar <ilya.tocar@intel.com> | |
13372 | ||
13373 | * config/i386/avx512fintrin.h (_mm512_maskz_permutexvar_epi64): Swap | |
13374 | arguments order in builtin. | |
13375 | (_mm512_permutexvar_epi64): Ditto. | |
13376 | (_mm512_mask_permutexvar_epi64): Ditto | |
13377 | (_mm512_maskz_permutexvar_epi32): Ditto | |
13378 | (_mm512_permutexvar_epi32): Ditto | |
13379 | (_mm512_mask_permutexvar_epi32): Ditto | |
13380 | ||
d737743f BS |
13381 | 2014-02-16 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
13382 | ||
223cdd15 | 13383 | * config/rs6000/altivec.md (p8_vmrgew): Handle little endian targets. |
d737743f BS |
13384 | (p8_vmrgow): Likewise. |
13385 | ||
54c4bfd7 BS |
13386 | 2014-02-16 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
13387 | ||
13388 | * config/rs6000/vsx.md (vsx_xxpermdi_<mode>): Handle little | |
13389 | endian targets. | |
13390 | ||
518fea64 MM |
13391 | 2014-02-15 Michael Meissner <meissner@linux.vnet.ibm.com> |
13392 | ||
13393 | PR target/60203 | |
13394 | * config/rs6000/rs6000.md (rreg): Add TFmode, TDmode constraints. | |
13395 | (mov<mode>_internal, TFmode/TDmode): Split TFmode/TDmode moves | |
13396 | into 64-bit and 32-bit moves. On 64-bit moves, add support for | |
13397 | using direct move instructions on ISA 2.07. Also adjust | |
13398 | instruction length for 64-bit. | |
13399 | (mov<mode>_64bit, TFmode/TDmode): Likewise. | |
13400 | (mov<mode>_32bit, TFmode/TDmode): Likewise. | |
13401 | ||
61640916 AM |
13402 | 2014-02-15 Alan Modra <amodra@gmail.com> |
13403 | ||
13404 | PR target/58675 | |
13405 | PR target/57935 | |
13406 | * config/rs6000/rs6000.c (rs6000_secondary_reload_inner): Use | |
13407 | find_replacement on parts of insn rtl that might be reloaded. | |
13408 | ||
a2b33cc3 RB |
13409 | 2014-02-15 Richard Biener <rguenther@suse.de> |
13410 | ||
13411 | PR tree-optimization/60183 | |
223cdd15 | 13412 | * tree-ssa-phiprop.c (propagate_with_phi): Avoid speculating loads. |
a2b33cc3 RB |
13413 | (tree_ssa_phiprop): Calculate and free post-dominators. |
13414 | ||
059742a4 JL |
13415 | 2014-02-14 Jeff Law <law@redhat.com> |
13416 | ||
13417 | PR rtl-optimization/60131 | |
13418 | * ree.c (get_extended_src_reg): New function. | |
223cdd15 | 13419 | (combine_reaching_defs): Use it rather than assuming location of REG. |
059742a4 JL |
13420 | (find_and_remove_re): Verify first operand of extension is |
13421 | a REG before adding the insns to the copy list. | |
13422 | ||
88f7c49a RM |
13423 | 2014-02-14 Roland McGrath <mcgrathr@google.com> |
13424 | ||
13425 | * configure.ac (HAVE_AS_IX86_UD2): New test for 'ud2' mnemonic. | |
13426 | * configure: Regenerated. | |
13427 | * config.in: Regenerated. | |
13428 | * config/i386/i386.md (trap) [HAVE_AS_IX86_UD2]: Use the mnemonic | |
13429 | instead of ASM_SHORT. | |
13430 | ||
2ae577fd VM |
13431 | 2014-02-14 Vladimir Makarov <vmakarov@redhat.com> |
13432 | Richard Earnshaw <rearnsha@arm.com> | |
13433 | ||
13434 | PR rtl-optimization/59535 | |
13435 | * lra-constraints.c (process_alt_operands): Encourage alternative | |
13436 | when unassigned pseudo class is superset of the alternative class. | |
13437 | (inherit_reload_reg): Don't inherit when optimizing for code size. | |
13438 | * config/arm/arm.h (MODE_BASE_REG_CLASS): Add version for LRA | |
13439 | returning CORE_REGS for anything but Thumb1 and BASE_REGS for | |
13440 | modes not less than 4 for Thumb1. | |
13441 | ||
5d88af08 KM |
13442 | 2014-02-14 Kyle McMartin <kyle@redhat.com> |
13443 | ||
13444 | PR pch/60010 | |
13445 | * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for AArch64. | |
13446 | ||
3069b421 RB |
13447 | 2014-02-14 Richard Biener <rguenther@suse.de> |
13448 | ||
13449 | * cilk-common.c (cilk_arrow): Build a MEM_REF, not an INDIRECT_REF. | |
13450 | (get_frame_arg): Drop the assert with langhook types_compatible_p. | |
13451 | Do not strip INDIRECT_REFs. | |
13452 | ||
1966fd99 RB |
13453 | 2014-02-14 Richard Biener <rguenther@suse.de> |
13454 | ||
13455 | PR lto/60179 | |
13456 | * lto-streamer-out.c (DFS_write_tree_body): Do not follow | |
13457 | DECL_FUNCTION_SPECIFIC_TARGET. | |
13458 | (hash_tree): Do not hash DECL_FUNCTION_SPECIFIC_TARGET. | |
13459 | * tree-streamer-out.c (pack_ts_target_option): Remove. | |
223cdd15 | 13460 | (streamer_pack_tree_bitfields): Do not stream TS_TARGET_OPTION. |
1966fd99 RB |
13461 | (write_ts_function_decl_tree_pointers): Do not stream |
13462 | DECL_FUNCTION_SPECIFIC_TARGET. | |
13463 | * tree-streamer-in.c (unpack_ts_target_option): Remove. | |
13464 | (unpack_value_fields): Do not stream TS_TARGET_OPTION. | |
13465 | (lto_input_ts_function_decl_tree_pointers): Do not stream | |
13466 | DECL_FUNCTION_SPECIFIC_TARGET. | |
13467 | ||
b010d601 JJ |
13468 | 2014-02-14 Jakub Jelinek <jakub@redhat.com> |
13469 | ||
223cdd15 | 13470 | * tree-vect-loop.c (vect_is_slp_reduction): Don't set use_stmt twice. |
b010d601 JJ |
13471 | (get_initial_def_for_induction, vectorizable_induction): Ignore |
13472 | debug stmts when looking for exit_phi. | |
13473 | (vectorizable_live_operation): Fix up condition. | |
13474 | ||
f2dafb91 CJW |
13475 | 2014-02-14 Chung-Ju Wu <jasonwucj@gmail.com> |
13476 | ||
13477 | * config/nds32/nds32.c (nds32_asm_function_prologue): Do not use | |
13478 | nreverse() because it changes the content of original tree list. | |
13479 | ||
59043e75 CJW |
13480 | 2014-02-14 Chung-Ju Wu <jasonwucj@gmail.com> |
13481 | ||
13482 | * config/nds32/t-mlibs (MULTILIB_OPTIONS): Fix typo in comment. | |
13483 | * config/nds32/nds32.c (nds32_merge_decl_attributes): Likewise. | |
13484 | ||
810f736f CJW |
13485 | 2014-02-14 Chung-Ju Wu <jasonwucj@gmail.com> |
13486 | ||
13487 | * config/nds32/nds32.c (nds32_naked_function_p): Follow the | |
13488 | GNU coding standards. | |
13489 | ||
1a025bbf JJ |
13490 | 2014-02-13 Jakub Jelinek <jakub@redhat.com> |
13491 | ||
13492 | PR debug/60152 | |
13493 | * dwarf2out.c (gen_subprogram_die): Don't call | |
13494 | add_calling_convention_attribute if subr_die is old_die. | |
13495 | ||
69479ebd SS |
13496 | 2014-02-13 Sharad Singhai <singhai@google.com> |
13497 | ||
13498 | * doc/optinfo.texi: Fix order of nodes. | |
13499 | ||
1287ae50 UB |
13500 | 2014-02-13 Uros Bizjak <ubizjak@gmail.com> |
13501 | ||
13502 | * config/i386/sse.md (xop_vmfrcz<mode>2): Generate const0 in | |
13503 | operands[2], not operands[3]. | |
13504 | ||
43372236 RB |
13505 | 2014-02-13 Richard Biener <rguenther@suse.de> |
13506 | ||
13507 | PR bootstrap/59878 | |
13508 | * doc/install.texi (ISL): Update recommended version to 0.12.2, | |
13509 | mention the possibility of an in-tree build. | |
13510 | (CLooG): Update recommended version to 0.18.1, mention the | |
13511 | possibility of an in-tree build and clarify that the ISL | |
13512 | bundled with CLooG does not work. | |
13513 | ||
a4d70cfa JJ |
13514 | 2014-02-13 Jakub Jelinek <jakub@redhat.com> |
13515 | ||
13516 | PR target/43546 | |
13517 | * expr.c (compress_float_constant): If x is a hard register, | |
13518 | extend into a pseudo and then move to x. | |
13519 | ||
e697d119 DV |
13520 | 2014-02-13 Dominik Vogt <vogt@linux.vnet.ibm.com> |
13521 | ||
13522 | * config/s390/s390.c (s390_asm_output_function_label): Fix crash | |
13523 | caused by bad second argument to warning_at() with -mhotpatch and | |
13524 | nested functions (e.g. with gfortran). | |
13525 | ||
9f8da907 RS |
13526 | 2014-02-13 Richard Sandiford <rdsandiford@googlemail.com> |
13527 | ||
13528 | * opts.c (option_name): Remove "enabled by default" rider. | |
13529 | ||
0fdd1196 JDA |
13530 | 2014-02-12 John David Anglin <danglin@gcc.gnu.org> |
13531 | ||
13532 | * config/pa/pa.c (pa_option_override): Remove auto increment FIXME. | |
13533 | ||
0544c448 L |
13534 | 2014-02-12 H.J. Lu <hongjiu.lu@intel.com> |
13535 | Uros Bizjak <ubizjak@gmail.com> | |
13536 | ||
13537 | PR target/60151 | |
1287ae50 | 13538 | * configure.ac (HAVE_AS_GOTOFF_IN_DATA): Pass --32 to GNU assembler. |
0544c448 L |
13539 | * configure: Regenerated. |
13540 | ||
3a938d75 RB |
13541 | 2014-02-12 Richard Biener <rguenther@suse.de> |
13542 | ||
13543 | * vec.c (vec_prefix::calculate_allocation): Move as | |
13544 | inline variant to vec.h. | |
13545 | (vec_prefix::calculate_allocation_1): New out-of-line version. | |
13546 | * vec.h (vec_prefix::calculate_allocation_1): Declare. | |
13547 | (vec_prefix::m_has_auto_buf): Rename to ... | |
13548 | (vec_prefix::m_using_auto_storage): ... this. | |
13549 | (vec_prefix::calculate_allocation): Inline the easy cases | |
13550 | and dispatch to calculate_allocation_1 which doesn't need the | |
13551 | prefix address. | |
13552 | (va_heap::reserve): Use gcc_checking_assert. | |
13553 | (vec<T, A, vl_embed>::embedded_init): Add argument to initialize | |
13554 | m_using_auto_storage. | |
13555 | (auto_vec): Change m_vecpfx member to a vec<T, va_heap, vl_embed> | |
13556 | member and adjust. | |
13557 | (vec<T, va_heap, vl_ptr>::reserve): Remove redundant check. | |
13558 | (vec<T, va_heap, vl_ptr>::release): Avoid casting. | |
13559 | (vec<T, va_heap, vl_ptr>::using_auto_storage): Simplify. | |
13560 | ||
ad0188be RB |
13561 | 2014-02-12 Richard Biener <rguenther@suse.de> |
13562 | ||
13563 | * gcse.c (compute_transp): break from loop over canon_modify_mem_list | |
13564 | when we found a dependence. | |
13565 | ||
64e5ace5 TS |
13566 | 2014-02-12 Thomas Schwinge <thomas@codesourcery.com> |
13567 | ||
88ac13da TS |
13568 | * gimplify.c (gimplify_call_expr, gimplify_modify_expr): Move |
13569 | common code... | |
13570 | (maybe_fold_stmt): ... into this new function. | |
13571 | * omp-low.c (lower_omp): Update comment. | |
13572 | ||
bae729a2 TS |
13573 | * omp-low.c (lower_omp_target): Add clobber for sizes array, after |
13574 | last use. | |
13575 | ||
64e5ace5 TS |
13576 | * omp-low.c (diagnose_sb_0): Make sure label_ctx is valid to |
13577 | dereference. | |
13578 | ||
7b40f5cf JG |
13579 | 2014-02-12 James Greenhalgh <james.greenhalgh@arm.com> |
13580 | ||
13581 | * config/arm/aarch-cost-tables.h (generic_extra_costs): Fix | |
13582 | identifiers in comments. | |
13583 | (cortexa53_extra_costs): Likewise. | |
1287ae50 | 13584 | * config/arm/arm.c (cortexa9_extra_costs): Fix identifiers in comments. |
7b40f5cf JG |
13585 | (cortexa7_extra_costs): Likewise. |
13586 | (cortexa12_extra_costs): Likewise. | |
13587 | (cortexa15_extra_costs): Likewise. | |
13588 | (v7m_extra_costs): Likewise. | |
13589 | ||
c4c8514e RB |
13590 | 2014-02-12 Richard Biener <rguenther@suse.de> |
13591 | ||
13592 | PR middle-end/60092 | |
13593 | * gimple-low.c (lower_builtin_posix_memalign): Lower conditional | |
13594 | of posix_memalign being successful. | |
13595 | (lower_stmt): Restrict lowering of posix_memalign to when | |
13596 | -ftree-bit-ccp is enabled. | |
13597 | ||
8eb651bd SKS |
13598 | 2014-02-12 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
13599 | ||
13600 | * config/avr/avr-c.c (avr_resolve_overloaded_builtin): Pass vNULL for | |
13601 | arg_loc. | |
13602 | * config/spu/spu-c.c (spu_resolve_overloaded_builtin): Likewise. | |
13603 | ||
62b03553 EB |
13604 | 2014-02-12 Eric Botcazou <ebotcazou@adacore.com> |
13605 | ||
13606 | PR rtl-optimization/60116 | |
13607 | * combine.c (try_combine): Also remove dangling REG_DEAD notes on the | |
13608 | other_insn once the combination has been validated. | |
13609 | ||
ec77d61f JH |
13610 | 2014-02-11 Jan Hubicka <hubicka@ucw.cz> |
13611 | ||
13612 | PR lto/59468 | |
13613 | * ipa-utils.h (possible_polymorphic_call_targets): Update prototype | |
13614 | and wrapper. | |
13615 | * ipa-devirt.c: Include demangle.h | |
13616 | (odr_violation_reported): New static variable. | |
13617 | (add_type_duplicate): Update odr_violations. | |
13618 | (maybe_record_node): Add completep parameter; update it. | |
13619 | (record_target_from_binfo): Add COMPLETEP parameter; | |
13620 | update it as needed. | |
13621 | (possible_polymorphic_call_targets_1): Likewise. | |
13622 | (struct polymorphic_call_target_d): Add nonconstruction_targets; | |
13623 | rename FINAL to COMPLETE. | |
13624 | (record_targets_from_bases): Sanity check we found the binfo; | |
13625 | fix COMPLETEP updating. | |
13626 | (possible_polymorphic_call_targets): Add NONCONSTRUTION_TARGETSP | |
13627 | parameter, fix computing of COMPLETEP. | |
1287ae50 UB |
13628 | (dump_possible_polymorphic_call_targets): Imrove readability of dump; |
13629 | at LTO time do demangling. | |
ec77d61f JH |
13630 | (ipa_devirt): Use nonconstruction_targets; Improve dumps. |
13631 | * gimple-fold.c (gimple_get_virt_method_for_vtable): Add can_refer | |
13632 | parameter. | |
13633 | (gimple_get_virt_method_for_binfo): Likewise. | |
13634 | * gimple-fold.h (gimple_get_virt_method_for_binfo, | |
13635 | gimple_get_virt_method_for_vtable): Update prototypes. | |
13636 | ||
5a4dcd9b VM |
13637 | 2014-02-11 Vladimir Makarov <vmakarov@redhat.com> |
13638 | ||
13639 | PR target/49008 | |
13640 | * genautomata.c (add_presence_absence): Fix typo with | |
13641 | {final_}presence_list. | |
13642 | ||
69b7afed MM |
13643 | 2014-02-11 Michael Meissner <meissner@linux.vnet.ibm.com> |
13644 | ||
13645 | PR target/60137 | |
13646 | * config/rs6000/rs6000.md (128-bit GPR splitter): Add a splitter | |
13647 | for VSX/Altivec vectors that land in GPR registers. | |
13648 | ||
8268ad5c JJ |
13649 | 2014-02-11 Richard Henderson <rth@redhat.com> |
13650 | Jakub Jelinek <jakub@redhat.com> | |
13651 | ||
13652 | PR debug/59776 | |
13653 | * tree-sra.c (load_assign_lhs_subreplacements): Add VIEW_CONVERT_EXPR | |
13654 | around drhs if type conversion to lacc->type is not useless. | |
13655 | ||
4fd92af6 KT |
13656 | 2014-02-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
13657 | ||
13658 | * config/aarch64/aarch64-cores.def (cortex-a57): Use cortexa57 | |
13659 | tuning struct. | |
13660 | (cortex-a57.cortex-a53): Likewise. | |
13661 | * config/aarch64/aarch64.c (cortexa57_tunings): New tuning struct. | |
13662 | ||
7cb14cb8 KT |
13663 | 2014-02-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
13664 | ||
13665 | * config/arm/thumb2.md (*thumb2_movhi_insn): Add alternatives for | |
13666 | arm_restrict_it. | |
13667 | ||
6d3715b9 RL |
13668 | 2014-02-11 Renlin Li <Renlin.Li@arm.com> |
13669 | ||
13670 | * doc/sourcebuild.texi: Document check_effective_target_arm_vfp3_ok and | |
13671 | add_options_for_arm_vfp3. | |
13672 | ||
cddddfff JL |
13673 | 2014-02-11 Jeff Law <law@redhat.com> |
13674 | ||
13675 | PR middle-end/54041 | |
13676 | * expr.c (expand_expr_addr_expr_1): Handle expand_expr returning an | |
13677 | object with an undesirable mode. | |
13678 | ||
7c1aef7e RO |
13679 | 2014-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13680 | ||
13681 | PR libgomp/60107 | |
13682 | * config/i386/sol2-9.h: New file. | |
13683 | * config.gcc (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*, | |
13684 | *-*-solaris2.9*): Use it. | |
13685 | ||
4bb66ef3 | 13686 | 2014-02-10 Nagaraju Mekala <nagaraju.mekala@xilinx.com> |
d63f1311 NM |
13687 | |
13688 | * config/microblaze/microblaze.md: Add movsi4_rev insn pattern. | |
13689 | * config/microblaze/predicates.md: Add reg_or_mem_operand predicate. | |
13690 | ||
4bb66ef3 | 13691 | 2014-02-10 Nagaraju Mekala <nagaraju.mekala@xilinx.com> |
ed8b71cc NM |
13692 | |
13693 | * config/microblaze/microblaze.c: Extend mcpu version format | |
13694 | ||
4bb66ef3 | 13695 | 2014-02-10 David Holsgrove <david.holsgrove@xilinx.com> |
9b5414c6 DH |
13696 | |
13697 | * config/microblaze/microblaze.h: Define SIZE_TYPE and PTRDIFF_TYPE. | |
13698 | ||
004a7e45 | 13699 | 2014-02-10 Richard Henderson <rth@redhat.com> |
f830ddc2 RH |
13700 | |
13701 | PR target/59927 | |
13702 | * calls.c (expand_call): Don't double-push for reg_parm_stack_space. | |
13703 | * config/i386/i386.c (init_cumulative_args): Remove sorry for 64-bit | |
13704 | ms-abi vs -mno-accumulate-outgoing-args. | |
13705 | (ix86_expand_prologue): Unconditionally call ix86_eax_live_at_start_p. | |
13706 | * config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Fix comment with | |
13707 | respect to ms-abi. | |
13708 | ||
e2fc3b4f BE |
13709 | 2014-02-10 Bernd Edlinger <bernd.edlinger@hotmail.de> |
13710 | ||
13711 | PR middle-end/60080 | |
13712 | * cfgexpand.c (expand_asm_operands): Attach source location to | |
13713 | ASM_INPUT rtx objects. | |
13714 | * print-rtl.c (print_rtx): Check for UNKNOWN_LOCATION. | |
13715 | ||
3a22ad89 NC |
13716 | 2014-02-10 Nick Clifton <nickc@redhat.com> |
13717 | ||
13718 | * config/mn10300/mn10300.c (popcount): New function. | |
13719 | (mn10300_expand_prologue): Include saved registers in stack usage | |
13720 | count. | |
13721 | ||
f27be550 JL |
13722 | 2014-02-10 Jeff Law <law@redhat.com> |
13723 | ||
13724 | PR middle-end/52306 | |
13725 | * reload1.c (emit_input_reload_insns): Do not create invalid RTL | |
1287ae50 | 13726 | when changing the SET_DEST of a prior insn to avoid an input reload. |
f27be550 | 13727 | |
e15e3815 UW |
13728 | 2014-02-10 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
13729 | ||
13730 | * config/rs6000/sysv4.h (ENDIAN_SELECT): Do not attempt to enforce | |
13731 | big-endian mode for -mcall-aixdesc, -mcall-freebsd, -mcall-netbsd, | |
13732 | -mcall-openbsd, or -mcall-linux. | |
13733 | (CC1_ENDIAN_BIG_SPEC): Remove. | |
13734 | (CC1_ENDIAN_LITTLE_SPEC): Remove. | |
13735 | (CC1_ENDIAN_DEFAULT_SPEC): Remove. | |
13736 | (CC1_SPEC): Remove (always empty) %cc1_endian_... spec. | |
13737 | (SUBTARGET_EXTRA_SPECS): Remove %cc1_endian_big, %cc1_endian_little, | |
13738 | and %cc1_endian_default. | |
13739 | * config/rs6000/sysv4le.h (CC1_ENDIAN_DEFAULT_SPEC): Remove. | |
13740 | ||
4e1f39e4 RB |
13741 | 2014-02-10 Richard Biener <rguenther@suse.de> |
13742 | ||
13743 | PR tree-optimization/60115 | |
13744 | * tree-eh.c (tree_could_trap_p): Unify TARGET_MEM_REF and | |
13745 | MEM_REF handling. Properly verify that the accesses are not | |
13746 | out of the objects bound. | |
13747 | ||
e7af1c22 KT |
13748 | 2014-02-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
13749 | ||
13750 | * config/aarch64/aarch64.c (aarch64_override_options): Fix typo from | |
13751 | coretex to cortex. | |
13752 | ||
79c7de84 EB |
13753 | 2014-02-10 Eric Botcazou <ebotcazou@adacore.com> |
13754 | ||
13755 | * ipa-devirt.c (get_polymorphic_call_info_from_invariant): Return | |
13756 | proper constants and fix formatting. | |
13757 | (possible_polymorphic_call_targets): Fix formatting. | |
13758 | ||
cf73ee60 KY |
13759 | 2014-02-10 Kirill Yukhin <kirill.yukhin@intel.com> |
13760 | Ilya Tocar <ilya.tocar@intel.com> | |
13761 | ||
13762 | * config/i386/avx512fintrin.h (_mm512_storeu_epi64): Removed. | |
13763 | (_mm512_loadu_epi32): Renamed into... | |
13764 | (_mm512_loadu_si512): This. | |
13765 | (_mm512_storeu_epi32): Renamed into... | |
13766 | (_mm512_storeu_si512): This. | |
13767 | (_mm512_maskz_ceil_ps): Removed. | |
13768 | (_mm512_maskz_ceil_pd): Ditto. | |
13769 | (_mm512_maskz_floor_ps): Ditto. | |
13770 | (_mm512_maskz_floor_pd): Ditto. | |
13771 | (_mm512_floor_round_ps): Ditto. | |
13772 | (_mm512_floor_round_pd): Ditto. | |
13773 | (_mm512_ceil_round_ps): Ditto. | |
13774 | (_mm512_ceil_round_pd): Ditto. | |
13775 | (_mm512_mask_floor_round_ps): Ditto. | |
13776 | (_mm512_mask_floor_round_pd): Ditto. | |
13777 | (_mm512_mask_ceil_round_ps): Ditto. | |
13778 | (_mm512_mask_ceil_round_pd): Ditto. | |
13779 | (_mm512_maskz_floor_round_ps): Ditto. | |
13780 | (_mm512_maskz_floor_round_pd): Ditto. | |
13781 | (_mm512_maskz_ceil_round_ps): Ditto. | |
13782 | (_mm512_maskz_ceil_round_pd): Ditto. | |
13783 | (_mm512_expand_pd): Ditto. | |
13784 | (_mm512_expand_ps): Ditto. | |
13785 | * config/i386/i386.c (ix86_builtins): Remove | |
13786 | IX86_BUILTIN_EXPANDPD512_NOMASK, IX86_BUILTIN_EXPANDPS512_NOMASK. | |
13787 | (bdesc_args): Ditto. | |
13788 | * config/i386/predicates.md (const1256_operand): New. | |
13789 | (const_1_to_2_operand): Ditto. | |
13790 | * config/i386/sse.md (avx512pf_gatherpf<mode>sf): Change hint value. | |
13791 | (*avx512pf_gatherpf<mode>sf_mask): Ditto. | |
13792 | (*avx512pf_gatherpf<mode>sf): Ditto. | |
13793 | (avx512pf_gatherpf<mode>df): Ditto. | |
13794 | (*avx512pf_gatherpf<mode>df_mask): Ditto. | |
13795 | (*avx512pf_gatherpf<mode>df): Ditto. | |
13796 | (avx512pf_scatterpf<mode>sf): Ditto. | |
13797 | (*avx512pf_scatterpf<mode>sf_mask): Ditto. | |
13798 | (*avx512pf_scatterpf<mode>sf): Ditto. | |
13799 | (avx512pf_scatterpf<mode>df): Ditto. | |
13800 | (*avx512pf_scatterpf<mode>df_mask): Ditto. | |
13801 | (*avx512pf_scatterpf<mode>df): Ditto. | |
13802 | (avx512f_expand<mode>): Removed. | |
13803 | (<shift_insn><mode>3<mask_name>): Change predicate type. | |
13804 | ||
8fcbce72 JJ |
13805 | 2014-02-08 Jakub Jelinek <jakub@redhat.com> |
13806 | ||
41475e96 JJ |
13807 | * tree-vect-data-refs.c (vect_analyze_data_refs): For clobbers |
13808 | not at the end of datarefs vector use ordered_remove to avoid | |
13809 | reordering datarefs vector. | |
13810 | ||
c74559df JJ |
13811 | PR c/59984 |
13812 | * gimplify.c (gimplify_bind_expr): In ORT_SIMD region | |
13813 | mark local addressable non-static vars as GOVD_PRIVATE | |
13814 | instead of GOVD_LOCAL. | |
13815 | * omp-low.c (lower_omp_for): Move gimple_bind_vars | |
13816 | and BLOCK_VARS of gimple_bind_block to new_stmt rather | |
13817 | than copying them. | |
13818 | ||
8fcbce72 JJ |
13819 | PR middle-end/60092 |
13820 | * tree-ssa-ccp.c (surely_varying_stmt_p): Don't return true | |
13821 | if TYPE_ATTRIBUTES (gimple_call_fntype ()) contain | |
13822 | assume_aligned or alloc_align attributes. | |
13823 | (bit_value_assume_aligned): Add ATTR, PTRVAL and ALLOC_ALIGN | |
13824 | arguments. Handle also assume_aligned and alloc_align attributes. | |
1287ae50 UB |
13825 | (evaluate_stmt): Adjust bit_value_assume_aligned caller. Handle |
13826 | calls to functions with assume_aligned or alloc_align attributes. | |
13827 | * doc/extend.texi: Document assume_aligned and alloc_align attributes. | |
8fcbce72 | 13828 | |
451bdd23 TG |
13829 | 2014-02-08 Terry Guo <terry.guo@arm.com> |
13830 | ||
13831 | * doc/invoke.texi: Document ARM -march=armv7e-m. | |
13832 | ||
d31d42c7 JJ |
13833 | 2014-02-08 Jakub Jelinek <jakub@redhat.com> |
13834 | ||
d71dfeb7 JJ |
13835 | * cilk-common.c (cilk_init_builtins): Clear TREE_NOTHROW |
13836 | flag on __cilkrts_rethrow builtin. | |
13837 | ||
d31d42c7 JJ |
13838 | PR ipa/60026 |
13839 | * ipa-cp.c (determine_versionability): Fail at -O0 | |
13840 | or __attribute__((optimize (0))) or -fno-ipa-cp functions. | |
13841 | * tree-sra.c (ipa_sra_preliminary_function_checks): Similarly. | |
13842 | ||
13843 | Revert: | |
13844 | 2014-02-04 Jakub Jelinek <jakub@redhat.com> | |
13845 | ||
13846 | PR ipa/60026 | |
13847 | * tree-inline.c (copy_forbidden): Fail for | |
13848 | __attribute__((optimize (0))) functions. | |
13849 | ||
a0a98fef JH |
13850 | 2014-02-07 Jan Hubicka <hubicka@ucw.cz> |
13851 | ||
13852 | * varpool.c: Include pointer-set.h. | |
13853 | (varpool_remove_unreferenced_decls): Variables in other partitions | |
13854 | will not be output; be however careful to not lose information | |
13855 | about partitioning. | |
13856 | ||
8c311b50 JH |
13857 | 2014-02-07 Jan Hubicka <hubicka@ucw.cz> |
13858 | ||
13859 | * gimple-fold.c (gimple_get_virt_method_for_vtable): Do O(1) | |
13860 | lookup in the vtable constructor. | |
13861 | ||
7ba03e5e JL |
13862 | 2014-02-07 Jeff Law <law@redhat.com> |
13863 | ||
63e6247d JL |
13864 | PR target/40977 |
13865 | * config/m68k/m68k.md (ashldi_extsi): Turn into a | |
13866 | define_insn_and_split. | |
13867 | ||
7ba03e5e JL |
13868 | * ipa-inline.c (inline_small_functions): Fix typos. |
13869 | ||
177bc204 RS |
13870 | 2014-02-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com> |
13871 | ||
13872 | * config/s390/s390-protos.h (s390_can_use_simple_return_insn) | |
13873 | (s390_can_use_return_insn): Declare. | |
13874 | * config/s390/s390.h (EPILOGUE_USES): Define. | |
13875 | * config/s390/s390.c (s390_mainpool_start): Allow two main_pool | |
13876 | instructions. | |
13877 | (s390_chunkify_start): Handle return JUMP_LABELs. | |
13878 | (s390_early_mach): Emit a main_pool instruction on the entry edge. | |
13879 | (s300_set_up_by_prologue, s390_can_use_simple_return_insn) | |
13880 | (s390_can_use_return_insn): New functions. | |
13881 | (s390_fix_long_loop_prediction): Handle conditional returns. | |
13882 | (TARGET_SET_UP_BY_PROLOGUE): Define. | |
13883 | * config/s390/s390.md (ANY_RETURN): New code iterator. | |
13884 | (*creturn, *csimple_return, return, simple_return): New patterns. | |
13885 | ||
0621cf3c RS |
13886 | 2014-02-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com> |
13887 | ||
13888 | * config/s390/s390.c (s390_restore_gprs_from_fprs): Add REG_CFA_RESTORE | |
13889 | notes to each restore. Also add REG_CFA_DEF_CFA when restoring %r15. | |
13890 | (s390_optimize_prologue): Don't clear RTX_FRAME_RELATED_P. Update the | |
13891 | REG_CFA_RESTORE list when deciding not to restore a register. | |
13892 | ||
4099494d RS |
13893 | 2014-02-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com> |
13894 | ||
13895 | * config/s390/s390.c: Include tree-pass.h and context.h. | |
13896 | (s390_early_mach): New function, split out from... | |
13897 | (s390_emit_prologue): ...here. | |
13898 | (pass_data_s390_early_mach): New pass structure. | |
13899 | (pass_s390_early_mach): New class. | |
13900 | (s390_option_override): Create and register early_mach pass. | |
13901 | Move to end of file. | |
13902 | ||
3489cc33 RS |
13903 | 2014-02-07 Richard Sandiford <rsandifo@linux.vnet.ibm.com> |
13904 | ||
13905 | * var-tracking.c (vt_stack_adjustments): Don't require stack_adjusts | |
13906 | to match for the exit block. | |
13907 | ||
75cc21e2 AK |
13908 | 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
13909 | ||
13910 | * config/s390/s390.md ("atomic_load<mode>", "atomic_store<mode>") | |
13911 | ("atomic_compare_and_swap<mode>", "atomic_fetch_<atomic><mode>"): | |
13912 | Reject misaligned operands. | |
13913 | ||
8bd7070a AK |
13914 | 2014-02-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
13915 | ||
1287ae50 | 13916 | * optabs.c (expand_atomic_compare_and_swap): Allow expander to fail. |
8bd7070a | 13917 | |
831806cb RB |
13918 | 2014-02-07 Richard Biener <rguenther@suse.de> |
13919 | ||
13920 | PR middle-end/60092 | |
13921 | * gimple-low.c (lower_builtin_posix_memalign): New function. | |
13922 | (lower_stmt): Call it to lower posix_memalign in a way | |
13923 | to make alignment info accessible. | |
13924 | ||
7ee9c16f JJ |
13925 | 2014-02-07 Jakub Jelinek <jakub@redhat.com> |
13926 | ||
13927 | PR c++/60082 | |
13928 | * tree.c (build_common_builtin_nodes): Set ECF_LEAF for | |
13929 | __builtin_setjmp_receiver. | |
13930 | ||
32cab212 RB |
13931 | 2014-02-07 Richard Biener <rguenther@suse.de> |
13932 | ||
13933 | PR middle-end/60092 | |
13934 | * builtin-types.def (BT_FN_INT_PTRPTR_SIZE_SIZE): Add. | |
13935 | * builtins.def (BUILT_IN_POSIX_MEMALIGN): Likewise. | |
13936 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
13937 | Handle BUILT_IN_POSIX_MEMALIGN. | |
13938 | (find_func_clobbers): Likewise. | |
13939 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise. | |
13940 | (call_may_clobber_ref_p_1): Likewise. | |
13941 | ||
6d6af792 JH |
13942 | 2014-02-06 Jan Hubicka <hubicka@ucw.cz> |
13943 | ||
13944 | PR ipa/59918 | |
1287ae50 UB |
13945 | * ipa-devirt.c (record_target_from_binfo): Remove overactive |
13946 | sanity check. | |
6d6af792 | 13947 | |
3c0f1105 JH |
13948 | 2014-02-06 Jan Hubicka <hubicka@ucw.cz> |
13949 | ||
13950 | PR ipa/59469 | |
13951 | * lto-cgraph.c (lto_output_node): Use | |
13952 | symtab_get_symbol_partitioning_class. | |
13953 | (lto_output_varpool_node): likewise. | |
13954 | (symtab_get_symbol_partitioning_class): Move here from | |
13955 | lto/lto-partition.c | |
13956 | * cgraph.h (symbol_partitioning_class): Likewise. | |
13957 | (symtab_get_symbol_partitioning_class): Declare. | |
13958 | ||
b3bb0eb9 JH |
13959 | 2014-02-06 Jan Hubicka <hubicka@ucw.cz> |
13960 | ||
13961 | * ggc.h (ggc_internal_cleared_alloc): New macro. | |
13962 | * vec.h (vec_safe_copy): Handle memory stats. | |
13963 | * omp-low.c (simd_clone_struct_alloc): Use ggc_internal_cleared_alloc. | |
13964 | * target-globals.c (save_target_globals): Likewise. | |
13965 | ||
13966 | 2014-02-06 Jan Hubicka <hubicka@ucw.cz> | |
e2f0f5f7 JJ |
13967 | |
13968 | PR target/60077 | |
13969 | * expr.c (emit_move_resolve_push): Export; be bit more selective | |
13970 | on when to clear alias set. | |
13971 | * expr.h (emit_move_resolve_push): Declare. | |
13972 | * function.h (struct function): Add tail_call_marked. | |
13973 | * tree-tailcall.c (optimize_tail_call): Set tail_call_marked. | |
13974 | * config/i386/i386-protos.h (ix86_expand_push): Remove. | |
13975 | * config/i386/i386.md (TImode move expander): De not call | |
13976 | ix86_expand_push. | |
13977 | (FP push expanders): Preserve memory attributes. | |
13978 | * config/i386/sse.md (push<mode>1): Remove. | |
1287ae50 | 13979 | * config/i386/i386.c (ix86_expand_vector_move): Handle push operation. |
e2f0f5f7 JJ |
13980 | (ix86_expand_push): Remove. |
13981 | * config/i386/mmx.md (push<mode>1): Remove. | |
13982 | ||
47d552eb JJ |
13983 | 2014-02-06 Jakub Jelinek <jakub@redhat.com> |
13984 | ||
13985 | PR rtl-optimization/60030 | |
13986 | * internal-fn.c (ubsan_expand_si_overflow_mul_check): Surround | |
13987 | lopart with paradoxical subreg before shifting it up by hprec. | |
13988 | ||
45c75ea7 KT |
13989 | 2014-02-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
13990 | ||
13991 | * config/arm/aarch-cost-tables.h (cortexa57_extra_costs): New table. | |
13992 | Remove extra newline at end of file. | |
13993 | * config/arm/arm.c (arm_cortex_a57_tune): New tuning struct. | |
13994 | (arm_issue_rate): Handle cortexa57. | |
13995 | * config/arm/arm-cores.def (cortex-a57): Use cortex_a57 tuning. | |
13996 | (cortex-a57.cortex-a53): Likewise. | |
13997 | ||
af116cae JJ |
13998 | 2014-02-06 Jakub Jelinek <jakub@redhat.com> |
13999 | ||
652a3e3a JJ |
14000 | PR target/59575 |
14001 | * config/arm/arm.c (emit_multi_reg_push): Add dwarf_regs_mask argument, | |
14002 | don't record in REG_FRAME_RELATED_EXPR registers not set in that | |
14003 | bitmask. | |
14004 | (arm_expand_prologue): Adjust all callers. | |
14005 | (arm_unwind_emit_sequence): Allow saved, but not important for unwind | |
14006 | info, registers also at the lowest numbered registers side. Use | |
14007 | gcc_assert instead of abort, and SET_SRC/SET_DEST macros instead of | |
14008 | XEXP. | |
14009 | ||
af116cae | 14010 | PR debug/59992 |
1287ae50 UB |
14011 | * var-tracking.c (adjust_mems): Before adding a SET to |
14012 | amd->side_effects, adjust it's SET_SRC using simplify_replace_fn_rtx. | |
af116cae | 14013 | |
fdcee33b AM |
14014 | 2014-02-06 Alan Modra <amodra@gmail.com> |
14015 | ||
14016 | PR target/60032 | |
14017 | * config/rs6000/rs6000.c (rs6000_secondary_memory_needed_mode): Only | |
14018 | change SDmode to DDmode when lra_in_progress. | |
14019 | ||
251901a0 JJ |
14020 | 2014-02-06 Jakub Jelinek <jakub@redhat.com> |
14021 | ||
d3ef8c53 JJ |
14022 | PR middle-end/59150 |
14023 | * tree-vect-data-refs.c (vect_analyze_data_refs): For clobbers, call | |
14024 | free_data_ref on the dr first, and before goto again also set dr | |
14025 | to the next dr. For simd_lane_access, free old datarefs[i] before | |
14026 | overwriting it. For get_vectype_for_scalar_type failure, don't | |
14027 | free_data_ref if simd_lane_access. | |
14028 | ||
2754b38f JJ |
14029 | * Makefile.in (prefix.o, cppbuiltin.o): Depend on $(BASEVER). |
14030 | ||
251901a0 JJ |
14031 | PR target/60062 |
14032 | * tree.h (opts_for_fn): New inline function. | |
14033 | (opt_for_fn): Define. | |
14034 | * config/i386/i386.c (ix86_function_regparm): Use | |
14035 | opt_for_fn (decl, optimize) instead of optimize. | |
14036 | ||
4a985a37 MS |
14037 | 2014-02-06 Marcus Shawcroft <marcus.shawcroft@arm.com> |
14038 | ||
14039 | * config/aarch64/aarch64.c (aarch64_classify_symbol): Fix logic | |
14040 | for SYMBOL_REF in large memory model. | |
14041 | ||
c366d38c KT |
14042 | 2014-02-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
14043 | ||
14044 | * config/aarch64/aarch64-cores.def (cortex-a53): Specify CRC32 | |
14045 | and crypto support. | |
14046 | (cortex-a57): Likewise. | |
14047 | (cortex-a57.cortex-a53): Likewise. | |
14048 | ||
c801e246 YG |
14049 | 2014-02-06 Yury Gribov <y.gribov@samsung.com> |
14050 | Kugan Vivekanandarajah <kuganv@linaro.org> | |
14051 | ||
14052 | * config/arm/arm.c (arm_vector_alignment_reachable): Check | |
14053 | unaligned_access. | |
14054 | * config/arm/arm.c (arm_builtin_support_vector_misalignment): Likewise. | |
14055 | ||
d50f7b84 RB |
14056 | 2014-02-06 Richard Biener <rguenther@suse.de> |
14057 | ||
14058 | * tree-cfg.c (gimple_duplicate_sese_region): Fix ordering of | |
14059 | set_loop_copy and initialize_original_copy_tables. | |
14060 | ||
179d2941 AV |
14061 | 2014-02-06 Alex Velenko <Alex.Velenko@arm.com> |
14062 | ||
14063 | * config/aarch64/aarch64-simd.md | |
14064 | (aarch64_ashr_simddi): Change QI to SI. | |
14065 | ||
78b1469d JH |
14066 | 2014-02-05 Jan Hubicka <hubicka@ucw.cz> |
14067 | Jakub Jelinek <jakub@redhat.com> | |
14068 | ||
14069 | PR middle-end/60013 | |
14070 | * ipa-inline-analysis.c (compute_bb_predicates): Ensure monotonicity | |
14071 | of the dataflow. | |
14072 | ||
d85f364c BS |
14073 | 2014-02-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
14074 | ||
14075 | * config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Change | |
14076 | CODE_FOR_altivec_vpku[hw]um to | |
14077 | CODE_FOR_altivec_vpku[hw]um_direct. | |
14078 | * config/rs6000/altivec.md (vec_unpacks_hi_<VP_small_lc>): Change | |
14079 | UNSPEC_VUNPACK_HI_SIGN to UNSPEC_VUNPACK_HI_SIGN_DIRECT. | |
14080 | (vec_unpacks_lo_<VP_small_lc>): Change UNSPEC_VUNPACK_LO_SIGN to | |
14081 | UNSPEC_VUNPACK_LO_SIGN_DIRECT. | |
14082 | ||
7b1cd427 BS |
14083 | 2014-02-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
14084 | ||
14085 | * config/rs6000/altivec.md (altivec_vsum2sws): Adjust code | |
14086 | generation for -maltivec=be. | |
14087 | (altivec_vsumsws): Simplify redundant test. | |
14088 | ||
52a93551 BS |
14089 | 2014-02-05 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
14090 | ||
14091 | * altivec.md (UNSPEC_VPACK_UNS_UNS_MOD_DIRECT): New unspec. | |
14092 | (UNSPEC_VUNPACK_HI_SIGN_DIRECT): Likewise. | |
14093 | (UNSPEC_VUNPACK_LO_SIGN_DIRECT): Likewise. | |
14094 | (mulv8hi3): Use gen_altivec_vpkuwum_direct instead of | |
14095 | gen_altivec_vpkuwum. | |
14096 | (altivec_vpkpx): Test for VECTOR_ELT_ORDER_BIG instead of for | |
14097 | BYTES_BIG_ENDIAN. | |
14098 | (altivec_vpks<VI_char>ss): Likewise. | |
14099 | (altivec_vpks<VI_char>us): Likewise. | |
14100 | (altivec_vpku<VI_char>us): Likewise. | |
14101 | (altivec_vpku<VI_char>um): Likewise. | |
14102 | (altivec_vpku<VI_char>um_direct): New (copy of | |
14103 | altivec_vpku<VI_char>um that still relies on BYTES_BIG_ENDIAN, for | |
14104 | internal use). | |
14105 | (altivec_vupkhs<VU_char>): Emit vupkls* instead of vupkhs* when | |
14106 | target is little endian and -maltivec=be is not specified. | |
14107 | (*altivec_vupkhs<VU_char>_direct): New (copy of | |
1287ae50 | 14108 | altivec_vupkhs<VU_char> that always emits vupkhs*, for internal use). |
52a93551 BS |
14109 | (altivec_vupkls<VU_char>): Emit vupkhs* instead of vupkls* when |
14110 | target is little endian and -maltivec=be is not specified. | |
14111 | (*altivec_vupkls<VU_char>_direct): New (copy of | |
1287ae50 | 14112 | altivec_vupkls<VU_char> that always emits vupkls*, for internal use). |
52a93551 BS |
14113 | (altivec_vupkhpx): Emit vupklpx instead of vupkhpx when target is |
14114 | little endian and -maltivec=be is not specified. | |
14115 | (altivec_vupklpx): Emit vupkhpx instead of vupklpx when target is | |
14116 | little endian and -maltivec=be is not specified. | |
14117 | ||
004a7e45 | 14118 | 2014-02-05 Richard Henderson <rth@redhat.com> |
76df831f RH |
14119 | |
14120 | PR debug/52727 | |
14121 | * combine-stack-adj.c: Revert r206943. | |
14122 | * sched-int.h (struct deps_desc): Add last_args_size. | |
14123 | * sched-deps.c (init_deps): Initialize it. | |
14124 | (sched_analyze_insn): Add OUTPUT dependencies between insns that | |
14125 | contain REG_ARGS_SIZE notes. | |
14126 | ||
f300e7b8 JH |
14127 | 2014-02-05 Jan Hubicka <hubicka@ucw.cz> |
14128 | ||
14129 | * lto-cgraph.c (asm_nodes_output): Make global. | |
14130 | * lto-wrapper.c (run_gcc): Pass down paralelizm to WPA. | |
1287ae50 | 14131 | * gcc.c (AS_NEEDS_DASH_FOR_PIPED_INPUT): Allow WPA parameter |
f300e7b8 JH |
14132 | (driver_handle_option): Handle OPT_fwpa. |
14133 | ||
609524d2 JJ |
14134 | 2014-02-05 Jakub Jelinek <jakub@redhat.com> |
14135 | ||
add5c763 JJ |
14136 | PR ipa/59947 |
14137 | * ipa-devirt.c (possible_polymorphic_call_targets): Fix | |
14138 | a comment typo and formatting issue. If odr_hash hasn't been | |
14139 | created, return vNULL and set *completep to false. | |
14140 | ||
609524d2 JJ |
14141 | PR middle-end/57499 |
14142 | * tree-eh.c (cleanup_empty_eh): Bail out on totally empty | |
14143 | bb with no successors. | |
14144 | ||
05ab6e21 JG |
14145 | 2014-02-05 James Greenhalgh <james.greenhalgh@arm.com> |
14146 | ||
14147 | PR target/59718 | |
14148 | * doc/invoke.texi (-march): Clarify documentation for ARM. | |
14149 | (-mtune): Likewise. | |
14150 | (-mcpu): Likewise. | |
14151 | ||
d55d9ed0 RB |
14152 | 2014-02-05 Richard Biener <rguenther@suse.de> |
14153 | ||
14154 | * tree-vect-loop.c (vect_analyze_loop_2): Be more informative | |
14155 | when not vectorizing because of too many alias checks. | |
14156 | * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list): | |
14157 | Add more verboseness, avoid duplicate MSG_MISSED_OPTIMIZATION. | |
14158 | ||
c70da878 NC |
14159 | 2014-02-05 Nick Clifton <nickc@redhat.com> |
14160 | ||
14161 | * config/mn10300/mn10300.c (mn10300_hard_regno_mode_ok): Do not | |
1287ae50 | 14162 | accept extended registers in any mode when compiling for the MN10300. |
c70da878 | 14163 | |
25a07c7e YG |
14164 | 2014-02-05 Yury Gribov <y.gribov@samsung.com> |
14165 | ||
14166 | * cif-code.def (ATTRIBUTE_MISMATCH): New CIF code. | |
14167 | * ipa-inline.c (report_inline_failed_reason): Handle mismatched | |
14168 | sanitization attributes. | |
14169 | (can_inline_edge_p): Likewise. | |
14170 | (sanitize_attrs_match_for_inline_p): New function. | |
14171 | ||
4bf2a588 JH |
14172 | 2014-02-04 Jan Hubicka <hubicka@ucw.cz> |
14173 | ||
14174 | * ipa-prop.c (detect_type_change): Shor circuit testing of | |
14175 | type changes on THIS pointer. | |
14176 | ||
d92f4df0 JDA |
14177 | 2014-02-04 John David Anglin <danglin@gcc.gnu.org> |
14178 | ||
14179 | PR target/59777 | |
14180 | * config/pa/pa.c (legitimize_tls_address): Return original address | |
14181 | if not passed a SYMBOL_REF rtx. | |
14182 | (hppa_legitimize_address): Call legitimize_tls_address for all TLS | |
14183 | addresses. | |
14184 | (pa_emit_move_sequence): Simplify TLS source operands. | |
14185 | (pa_legitimate_constant_p): Reject all TLS constants. | |
14186 | * config/pa/pa.h (PA_SYMBOL_REF_TLS_P): Correct comment. | |
14187 | (CONSTANT_ADDRESS_P): Reject TLS CONST addresses. | |
14188 | ||
d665f8dd JH |
14189 | 2014-02-04 Jan Hubicka <hubicka@ucw.cz> |
14190 | ||
14191 | * ipa.c (function_and_variable_visibility): Decompose DECL_ONE_ONLY | |
14192 | groups when we know they are controlled by LTO. | |
14193 | * varasm.c (default_binds_local_p_1): If object is in other partition, | |
14194 | it will be resolved locally. | |
14195 | ||
6a071860 BE |
14196 | 2014-02-04 Bernd Edlinger <bernd.edlinger@hotmail.de> |
14197 | ||
e2fc3b4f | 14198 | * config/host-linux.c (linux_gt_pch_use_address): Don't |
1287ae50 | 14199 | use SSIZE_MAX because it is not always defined. |
6a071860 | 14200 | |
8e9d68a9 VM |
14201 | 2014-02-04 Vladimir Makarov <vmakarov@redhat.com> |
14202 | ||
14203 | PR bootstrap/59913 | |
14204 | * lra-constraints.c (need_for_split_p): Use more 3 reloads as | |
14205 | threshold for pseudo splitting. | |
14206 | (update_ebb_live_info): Process call argument hard registers and | |
14207 | hard registers from insn definition too. | |
14208 | (max_small_class_regs_num): New constant. | |
14209 | (inherit_in_ebb): Update live hard regs through EBBs. Update | |
14210 | reloads_num only for small register classes. Don't split for | |
14211 | outputs of jumps. | |
14212 | ||
8472fa80 MT |
14213 | 2014-02-04 Markus Trippelsdorf <markus@trippelsdorf.de> |
14214 | ||
14215 | PR ipa/60058 | |
14216 | * ipa-cp.c (ipa_get_indirect_edge_target_1): Check that target | |
14217 | is non-null. | |
14218 | ||
df98e37f JH |
14219 | 2014-02-04 Jan Hubicka <hubicka@ucw.cz> |
14220 | ||
1287ae50 UB |
14221 | * gimple-fold.c (can_refer_decl_in_current_unit_p): Default |
14222 | visibility is safe. | |
df98e37f | 14223 | |
71e55f04 MP |
14224 | 2014-02-04 Marek Polacek <polacek@redhat.com> |
14225 | ||
14226 | * gdbinit.in (pel): Define. | |
14227 | ||
229e56f9 BE |
14228 | 2014-02-04 Bernd Edlinger <bernd.edlinger@hotmail.de> |
14229 | ||
14230 | * doc/invoke.texi (fstrict-volatile-bitfields): Clarify current | |
14231 | behavior. | |
14232 | ||
c39276b8 RB |
14233 | 2014-02-04 Richard Biener <rguenther@suse.de> |
14234 | ||
14235 | PR lto/59723 | |
14236 | * lto-streamer-out.c (tree_is_indexable): Force NAMELIST_DECLs | |
14237 | in function context local. | |
14238 | (lto_output_tree_ref): Do not write trees from lto_output_tree_ref. | |
14239 | * lto-streamer-in.c (lto_input_tree_ref): Handle LTO_namelist_decl_ref | |
14240 | similar to LTO_imported_decl_ref. | |
14241 | ||
66b3ed5f JJ |
14242 | 2014-02-04 Jakub Jelinek <jakub@redhat.com> |
14243 | ||
029ce7a2 JJ |
14244 | PR tree-optimization/60002 |
14245 | * cgraphclones.c (build_function_decl_skip_args): Clear | |
14246 | DECL_LANG_SPECIFIC. | |
14247 | ||
8e91d222 JJ |
14248 | PR tree-optimization/60023 |
14249 | * tree-if-conv.c (predicate_mem_writes): Pass true instead of | |
14250 | false to gsi_replace. | |
14251 | * tree-vect-stmts.c (vect_finish_stmt_generation): If stmt | |
14252 | has been in some EH region and vec_stmt could throw, add | |
14253 | vec_stmt into the same EH region. | |
14254 | * tree-data-ref.c (get_references_in_stmt): If IFN_MASK_LOAD | |
14255 | has no lhs, ignore it. | |
14256 | * internal-fn.c (expand_MASK_LOAD): Likewise. | |
14257 | ||
eb259c4a JJ |
14258 | PR ipa/60026 |
14259 | * tree-inline.c (copy_forbidden): Fail for | |
14260 | __attribute__((optimize (0))) functions. | |
14261 | ||
92d05580 JJ |
14262 | PR other/58712 |
14263 | * omp-low.c (simd_clone_struct_copy): If from->inbranch | |
14264 | is set, copy one less argument. | |
30540e79 JJ |
14265 | (expand_simd_clones): Don't subtract clone_info->inbranch |
14266 | from simd_clone_struct_alloc argument. | |
92d05580 | 14267 | |
be3afd67 JJ |
14268 | PR rtl-optimization/57915 |
14269 | * recog.c (simplify_while_replacing): If all unary/binary/relational | |
14270 | operation arguments are constant, attempt to simplify those. | |
14271 | ||
66b3ed5f JJ |
14272 | PR middle-end/59261 |
14273 | * expmed.c (expand_mult): For MODE_VECTOR_INT multiplication | |
14274 | if there is no vashl<mode>3 or ashl<mode>3 insn, skip_synth. | |
14275 | ||
5961d779 RB |
14276 | 2014-02-04 Richard Biener <rguenther@suse.de> |
14277 | ||
14278 | PR tree-optimization/60012 | |
14279 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Apply | |
14280 | TBAA disambiguation to all DDRs. | |
14281 | ||
91da0481 RO |
14282 | 2014-02-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14283 | ||
14284 | PR target/59788 | |
14285 | * config/sol2.h (LINK_LIBGCC_MAPFILE_SPEC): Define. | |
14286 | (LINK_SPEC): Use it for -shared, -shared-libgcc. | |
14287 | ||
39960d1c JH |
14288 | 2014-02-03 Jan Hubicka <hubicka@ucw.cz> |
14289 | ||
14290 | PR ipa/59882 | |
14291 | * tree.c (get_binfo_at_offset): Do not get confused by empty classes; | |
14292 | ||
14293 | 2014-02-03 Jan Hubicka <hubicka@ucw.cz> | |
6f746413 JH |
14294 | |
14295 | * gimple-fold.c (gimple_extract_devirt_binfo_from_cst): Remove. | |
14296 | * gimple-fold.h (gimple_extract_devirt_binfo_from_cst): Remove. | |
14297 | ||
39960d1c | 14298 | 2014-02-03 Jan Hubicka <hubicka@ucw.cz> |
5bccb77a JH |
14299 | |
14300 | PR ipa/59831 | |
14301 | * ipa-cp.c (ipa_get_indirect_edge_target_1): Use ipa-devirt | |
14302 | to figure out targets of polymorphic calls with known decl. | |
14303 | * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise. | |
14304 | * ipa-utils.h (get_polymorphic_call_info_from_invariant): Declare. | |
14305 | * ipa-devirt.c (get_polymorphic_call_info_for_decl): Break out from ... | |
14306 | (get_polymorphic_call_info): ... here. | |
14307 | (get_polymorphic_call_info_from_invariant): New function. | |
14308 | ||
39960d1c | 14309 | 2014-02-03 Jan Hubicka <hubicka@ucw.cz> |
9de2f554 JH |
14310 | |
14311 | * ipa-cp.c (ipa_get_indirect_edge_target_1): Do direct | |
14312 | lookup via vtable pointer; check for type consistency | |
14313 | and turn inconsitent facts into UNREACHABLE. | |
14314 | * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise. | |
1287ae50 UB |
14315 | * gimple-fold.c (gimple_get_virt_method_for_vtable): Do not ICE on |
14316 | type inconsistent querries; return UNREACHABLE instead. | |
9de2f554 | 14317 | |
ade3ff24 RH |
14318 | 2014-02-03 Richard Henderson <rth@twiddle.net> |
14319 | ||
14320 | PR tree-opt/59924 | |
14321 | * tree-ssa-uninit.c (push_to_worklist): Don't re-push if we've | |
14322 | already processed this node. | |
14323 | (normalize_one_pred_1): Pass along mark_set. | |
14324 | (normalize_one_pred): Create and destroy a pointer_set_t. | |
14325 | (normalize_one_pred_chain): Likewise. | |
14326 | ||
55428cc3 LA |
14327 | 2014-02-03 Laurent Aflonsi <laurent.alfonsi@st.com> |
14328 | ||
14329 | PR gcov-profile/58602 | |
1287ae50 | 14330 | * gcc/gcov-io.c (gcov_open): Open with truncation when mode < 0. |
55428cc3 | 14331 | |
85942f45 JH |
14332 | 2014-02-03 Jan Hubicka <hubicka@ucw.cz> |
14333 | ||
14334 | PR ipa/59831 | |
1287ae50 UB |
14335 | * ipa-cp.c (ipa_get_indirect_edge_target_1): Give up on |
14336 | -fno-devirtualize; try to devirtualize by the knowledge of | |
14337 | virtual table pointer given by aggregate propagation. | |
85942f45 | 14338 | * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise. |
1287ae50 | 14339 | (ipa_print_node_jump_functions): Dump also offset that |
85942f45 JH |
14340 | is relevant for polymorphic calls. |
14341 | (determine_known_aggregate_parts): Add arg_type parameter; use it | |
14342 | instead of determining the type from pointer type. | |
14343 | (ipa_compute_jump_functions_for_edge): Update call of | |
14344 | determine_known_aggregate_parts. | |
14345 | * gimple-fold.c (gimple_get_virt_method_for_vtable): Break out from ... | |
14346 | (gimple_get_virt_method_for_binfo): ... here; simplify using | |
14347 | vtable_pointer_value_to_vtable. | |
14348 | * gimple-fold.h (gimple_get_virt_method_for_vtable): Declare. | |
14349 | * ipa-devirt.c (subbinfo_with_vtable_at_offset): Turn OFFSET parameter | |
1287ae50 | 14350 | to unsigned HOST_WIDE_INT; use vtable_pointer_value_to_vtable. |
85942f45 JH |
14351 | (vtable_pointer_value_to_vtable): Break out from ...; handle also |
14352 | POINTER_PLUS_EXPR. | |
14353 | (vtable_pointer_value_to_binfo): ... here. | |
14354 | * ipa-utils.h (vtable_pointer_value_to_vtable): Declare. | |
14355 | ||
bddc974e TJ |
14356 | 2014-02-03 Teresa Johnson <tejohnson@google.com> |
14357 | ||
14358 | * tree-vect-slp.c (vect_supported_load_permutation_p): Avoid | |
14359 | redef of outer loop index variable. | |
14360 | ||
5d77fb19 MG |
14361 | 2014-02-03 Marc Glisse <marc.glisse@inria.fr> |
14362 | ||
14363 | PR c++/53017 | |
14364 | PR c++/59211 | |
14365 | * doc/extend.texi (Function Attributes): Typo. | |
14366 | ||
cf5b2be2 CH |
14367 | 2014-02-03 Cong Hou <congh@google.com> |
14368 | ||
14369 | PR tree-optimization/60000 | |
14370 | * tree-vect-loop.c (vect_transform_loop): Set pattern_def_seq to NULL | |
14371 | if the vectorized statement is a store. A store statement can only | |
14372 | appear at the end of pattern statements. | |
14373 | ||
a2a1ddb5 L |
14374 | 2014-02-03 H.J. Lu <hongjiu.lu@intel.com> |
14375 | ||
14376 | * config/i386/i386.c (flag_opts): Add -mlong-double-128. | |
14377 | (ix86_option_override_internal): Default long double to 64-bit for | |
14378 | 32-bit Bionic and to 128-bit for 64-bit Bionic. | |
14379 | ||
14380 | * config/i386/i386.h (LONG_DOUBLE_TYPE_SIZE): Use 128 if | |
14381 | TARGET_LONG_DOUBLE_128 is true. | |
14382 | (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Likewise. | |
14383 | ||
14384 | * config/i386/i386.opt (mlong-double-80): Negate -mlong-double-64. | |
14385 | (mlong-double-64): Negate -mlong-double-128. | |
14386 | (mlong-double-128): New option. | |
14387 | ||
14388 | * config/i386/i386-c.c (ix86_target_macros): Define | |
14389 | __LONG_DOUBLE_128__ for TARGET_LONG_DOUBLE_128. | |
14390 | ||
14391 | * doc/invoke.texi: Document -mlong-double-128. | |
14392 | ||
f742cf90 L |
14393 | 2014-02-03 H.J. Lu <hongjiu.lu@intel.com> |
14394 | ||
14395 | PR rtl-optimization/60024 | |
14396 | * sel-sched.c (init_regs_for_mode): Check if mode is OK first. | |
14397 | ||
8f36fd30 MT |
14398 | 2014-02-03 Markus Trippelsdorf <markus@trippelsdorf.de> |
14399 | ||
1287ae50 | 14400 | * doc/invoke.texi (fprofile-reorder-functions): Fix typo. |
8f36fd30 | 14401 | |
861ec4f3 AB |
14402 | 2014-02-03 Andrey Belevantsev <abel@ispras.ru> |
14403 | ||
14404 | PR rtl-optimization/57662 | |
14405 | * sel-sched.c (code_motion_path_driver): Do not mark already not | |
14406 | existing blocks in the visiting bitmap. | |
14407 | ||
fe08255d AB |
14408 | 2014-02-03 Andrey Belevantsev <abel@ispras.ru> |
14409 | ||
14410 | * sel-sched-ir.c (sel_gen_insn_from_expr_after): Reset INSN_DELETED_P | |
14411 | on the insn being emitted. | |
14412 | ||
96d3a240 JG |
14413 | 2014-02-03 James Greenhalgh <james.greenhalgh@arm.com> |
14414 | Will Deacon <will.deacon@arm.com> | |
14415 | ||
14416 | * doc/gimple.texi (gimple_asm_clear_volatile): Remove. | |
14417 | ||
9dd6c9f7 KT |
14418 | 2014-02-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
14419 | ||
14420 | * config/arm/arm-tables.opt: Regenerate. | |
14421 | ||
60331d00 BS |
14422 | 2014-02-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
14423 | ||
14424 | * config/rs6000/rs6000.c (altivec_expand_vec_perm_le): Generalize | |
14425 | for vector types other than V16QImode. | |
14426 | * config/rs6000/altivec.md (altivec_vperm_<mode>): Change to a | |
14427 | define_expand, and call altivec_expand_vec_perm_le when producing | |
14428 | code with little endian element order. | |
14429 | (*altivec_vperm_<mode>_internal): New insn having previous | |
14430 | behavior of altivec_vperm_<mode>. | |
14431 | (altivec_vperm_<mode>_uns): Change to a define_expand, and call | |
14432 | altivec_expand_vec_perm_le when producing code with little endian | |
14433 | element order. | |
14434 | (*altivec_vperm_<mode>_uns_internal): New insn having previous | |
14435 | behavior of altivec_vperm_<mode>_uns. | |
14436 | ||
b80afde9 BS |
14437 | 2014-02-02 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
14438 | ||
14439 | * config/rs6000/altivec.md (UNSPEC_VSUMSWS_DIRECT): New unspec. | |
14440 | (altivec_vsumsws): Add handling for -maltivec=be with a little | |
14441 | endian target. | |
14442 | (altivec_vsumsws_direct): New. | |
14443 | (reduc_splus_<mode>): Call gen_altivec_vsumsws_direct instead of | |
14444 | gen_altivec_vsumsws. | |
14445 | ||
39960d1c | 14446 | 2014-02-02 Jan Hubicka <hubicka@ucw.cz> |
390675c8 JH |
14447 | |
14448 | * ipa-devirt.c (subbinfo_with_vtable_at_offset, | |
14449 | vtable_pointer_value_to_binfo): New functions. | |
14450 | * ipa-utils.h (vtable_pointer_value_to_binfo): Declare. | |
14451 | * ipa-prop.c (extr_type_from_vtbl_ptr_store): Use it. | |
14452 | ||
02b67731 SL |
14453 | 2014-02-02 Sandra Loosemore <sandra@codesourcery.com> |
14454 | ||
14455 | * config/nios2/nios2.md (load_got_register): Initialize GOT | |
14456 | pointer from _gp_got instead of _GLOBAL_OFFSET_TABLE_. | |
14457 | * config/nios2/nios2.c (nios2_function_profiler): Likewise. | |
14458 | ||
2ace77c2 JH |
14459 | 2014-02-02 Jan Hubicka <hubicka@ucw.cz> |
14460 | ||
14461 | * ipa-prop.c (update_jump_functions_after_inlining): When type is not | |
14462 | preserverd by passthrough, do not propagate the type. | |
14463 | ||
70b2d364 RS |
14464 | 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com> |
14465 | ||
14466 | * config/mips/mips.c (MIPS_GET_FCSR, MIPS_SET_FCSR): New macros. | |
14467 | (mips_atomic_assign_expand_fenv): New function. | |
14468 | (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define. | |
14469 | ||
a90c0245 RS |
14470 | 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com> |
14471 | ||
14472 | * doc/extend.texi (__builtin_mips_get_fcsr): Document. | |
14473 | (__builtin_mips_set_fcsr): Likewise. | |
14474 | * config/mips/mips-ftypes.def: Add MIPS_VOID_FTYPE_USI and | |
14475 | MIPS_USI_FTYPE_VOID. | |
14476 | * config/mips/mips-protos.h (mips16_expand_get_fcsr): Declare | |
14477 | (mips16_expand_set_fcsr): Likewise. | |
14478 | * config/mips/mips.c (mips16_get_fcsr_stub): New variable. | |
14479 | (mips16_set_fcsr_stub): Likewise. | |
14480 | (mips16_get_fcsr_one_only_stub): New class. | |
14481 | (mips16_set_fcsr_one_only_stub): Likewise. | |
14482 | (mips16_expand_get_fcsr, mips16_expand_set_fcsr): New functions. | |
14483 | (mips_code_end): Output the get_fcsr and set_fcsr stubs, if needed. | |
14484 | (BUILTIN_AVAIL_MIPS16, AVAIL_ALL): New macros. | |
14485 | (hard_float): New availability predicate. | |
14486 | (mips_builtins): Add get_fcsr and set_fcsr. | |
14487 | (mips_expand_builtin): Check BUILTIN_AVAIL_MIPS16. | |
14488 | * config/mips/mips.md (UNSPEC_GET_FCSR, UNSPEC_SET_FCSR): New unspecs. | |
14489 | (GET_FCSR_REGNUM, SET_FCSR_REGNUM): New constants. | |
14490 | (mips_get_fcsr, *mips_get_fcsr, mips_get_fcsr_mips16_<mode>) | |
14491 | (mips_set_fcsr, *mips_set_fcsr, mips_set_fcsr_mips16_<mode>): New | |
14492 | patterns. | |
14493 | ||
6d51cc90 RS |
14494 | 2014-02-02 Richard Sandiford <rdsandiford@googlemail.com> |
14495 | ||
14496 | * config/mips/mips.c (mips_one_only_stub): New class. | |
14497 | (mips_need_mips16_rdhwr_p): Replace with... | |
14498 | (mips16_rdhwr_stub): ...this new variable. | |
14499 | (mips16_stub_call_address): New function. | |
14500 | (mips16_rdhwr_one_only_stub): New class. | |
14501 | (mips_expand_thread_pointer): Use mips16_stub_call_address. | |
14502 | (mips_output_mips16_rdhwr): Delete. | |
14503 | (mips_finish_stub): New function. | |
14504 | (mips_code_end): Use it to handle rdhwr stubs. | |
14505 | ||
6c90f137 UB |
14506 | 2014-02-02 Uros Bizjak <ubizjak@gmail.com> |
14507 | ||
14508 | PR target/60017 | |
14509 | * config/i386/i386.c (classify_argument): Fix handling of bit_offset | |
14510 | when calculating size of integer atomic types. | |
14511 | ||
5e64bbbb L |
14512 | 2014-02-02 H.J. Lu <hongjiu.lu@intel.com> |
14513 | ||
14514 | * ipa-inline-analysis.c (true_predicate_p): Fix a typo in comments. | |
14515 | ||
021293cb JJ |
14516 | 2014-02-01 Jakub Jelinek <jakub@redhat.com> |
14517 | ||
14518 | PR tree-optimization/60003 | |
14519 | * gimple-low.c (lower_builtin_setjmp): Set cfun->has_nonlocal_label. | |
14520 | * profile.c (branch_prob): Use gimple_call_builtin_p | |
14521 | to check for BUILT_IN_SETJMP_RECEIVER. | |
14522 | * tree-inline.c (copy_bb): Call notice_special_calls. | |
14523 | ||
6334f3e9 VM |
14524 | 2014-01-31 Vladimir Makarov <vmakarov@redhat.com> |
14525 | ||
14526 | PR bootstrap/59985 | |
14527 | * lra-constraints.c (process_alt_operands): Update reload_sum only | |
14528 | on the first pass. | |
14529 | ||
efa7882f RH |
14530 | 2014-01-31 Richard Henderson <rth@redhat.com> |
14531 | ||
14532 | PR middle-end/60004 | |
14533 | * tree-eh.c (lower_try_finally_switch): Delay lowering finally block | |
14534 | until after else_eh is processed. | |
14535 | ||
de72ea02 IT |
14536 | 2014-01-31 Ilya Tocar <ilya.tocar@intel.com> |
14537 | ||
14538 | * config/i386/avx512fintrin.h (_MM_FROUND_TO_NEAREST_INT), | |
14539 | (_MM_FROUND_TO_NEG_INF), (_MM_FROUND_TO_POS_INF), | |
14540 | (_MM_FROUND_TO_ZERO), (_MM_FROUND_CUR_DIRECTION): Are already defined | |
14541 | in smmintrin.h, remove them. | |
14542 | (_MM_FROUND_NO_EXC): Same as above, bit also wrong value. | |
14543 | * config/i386/i386.c (ix86_print_operand): Split sae and rounding. | |
14544 | * config/i386/i386.md (ROUND_SAE): Fix value. | |
14545 | * config/i386/predicates.md (const_4_or_8_to_11_operand): New. | |
14546 | (const48_operand): New. | |
14547 | * config/i386/subst.md (round), (round_expand): Use | |
14548 | const_4_or_8_to_11_operand. | |
14549 | (round_saeonly), (round_saeonly_expand): Use const48_operand. | |
14550 | ||
be792bce IT |
14551 | 2014-01-31 Ilya Tocar <ilya.tocar@intel.com> |
14552 | ||
14553 | * config/i386/constraints.md (Yk): Swap meaning with k. | |
14554 | * config/i386/i386.md (movhi_internal): Change Yk to k. | |
14555 | (movqi_internal): Ditto. | |
14556 | (*k<logic><mode>): Ditto. | |
14557 | (*andhi_1): Ditto. | |
14558 | (*andqi_1): Ditto. | |
14559 | (kandn<mode>): Ditto. | |
14560 | (*<code>hi_1): Ditto. | |
14561 | (*<code>qi_1): Ditto. | |
14562 | (kxnor<mode>): Ditto. | |
14563 | (kortestzhi): Ditto. | |
14564 | (kortestchi): Ditto. | |
14565 | (kunpckhi): Ditto. | |
14566 | (*one_cmplhi2_1): Ditto. | |
14567 | (*one_cmplqi2_1): Ditto. | |
14568 | * config/i386/sse.md (): Change k to Yk. | |
14569 | (avx512f_load<mode>_mask): Ditto. | |
14570 | (avx512f_blendm<mode>): Ditto. | |
14571 | (avx512f_store<mode>_mask): Ditto. | |
14572 | (avx512f_storeu<ssemodesuffix>512_mask): Ditto. | |
14573 | (avx512f_storedqu<mode>_mask): Ditto. | |
33425d6c UB |
14574 | (avx512f_cmp<mode>3<mask_scalar_merge_name><round_saeonly_name>): |
14575 | Ditto. | |
be792bce IT |
14576 | (avx512f_ucmp<mode>3<mask_scalar_merge_name>): Ditto. |
14577 | (avx512f_vmcmp<mode>3<round_saeonly_name>): Ditto. | |
14578 | (avx512f_vmcmp<mode>3_mask<round_saeonly_name>): Ditto. | |
14579 | (avx512f_maskcmp<mode>3): Ditto. | |
14580 | (avx512f_fmadd_<mode>_mask<round_name>): Ditto. | |
14581 | (avx512f_fmadd_<mode>_mask3<round_name>): Ditto. | |
14582 | (avx512f_fmsub_<mode>_mask<round_name>): Ditto. | |
14583 | (avx512f_fmsub_<mode>_mask3<round_name>): Ditto. | |
14584 | (avx512f_fnmadd_<mode>_mask<round_name>): Ditto. | |
14585 | (avx512f_fnmadd_<mode>_mask3<round_name>): Ditto. | |
14586 | (avx512f_fnmsub_<mode>_mask<round_name>): Ditto. | |
14587 | (avx512f_fnmsub_<mode>_mask3<round_name>): Ditto. | |
14588 | (avx512f_fmaddsub_<mode>_mask<round_name>): Ditto. | |
14589 | (avx512f_fmaddsub_<mode>_mask3<round_name>): Ditto. | |
14590 | (avx512f_fmsubadd_<mode>_mask<round_name>): Ditto. | |
14591 | (avx512f_fmsubadd_<mode>_mask3<round_name>): Ditto. | |
14592 | (avx512f_vextract<shuffletype>32x4_1_maskm): Ditto. | |
14593 | (vec_extract_lo_<mode>_maskm): Ditto. | |
14594 | (vec_extract_hi_<mode>_maskm): Ditto. | |
14595 | (avx512f_vternlog<mode>_mask): Ditto. | |
14596 | (avx512f_fixupimm<mode>_mask<round_saeonly_name>): Ditto. | |
14597 | (avx512f_sfixupimm<mode>_mask<round_saeonly_name>): Ditto. | |
14598 | (avx512f_<code><pmov_src_lower><mode>2_mask): Ditto. | |
14599 | (avx512f_<code>v8div16qi2_mask): Ditto. | |
14600 | (avx512f_<code>v8div16qi2_mask_store): Ditto. | |
14601 | (avx512f_eq<mode>3<mask_scalar_merge_name>_1): Ditto. | |
14602 | (avx512f_gt<mode>3<mask_scalar_merge_name>): Ditto. | |
14603 | (avx512f_testm<mode>3<mask_scalar_merge_name>): Ditto. | |
14604 | (avx512f_testnm<mode>3<mask_scalar_merge_name>): Ditto. | |
14605 | (*avx512pf_gatherpf<mode>sf_mask): Ditto. | |
14606 | (*avx512pf_gatherpf<mode>df_mask): Ditto. | |
14607 | (*avx512pf_scatterpf<mode>sf_mask): Ditto. | |
14608 | (*avx512pf_scatterpf<mode>df_mask): Ditto. | |
14609 | (avx512cd_maskb_vec_dupv8di): Ditto. | |
14610 | (avx512cd_maskw_vec_dupv16si): Ditto. | |
14611 | (avx512f_vpermi2var<mode>3_maskz): Ditto. | |
14612 | (avx512f_vpermi2var<mode>3_mask): Ditto. | |
14613 | (avx512f_vpermi2var<mode>3_mask): Ditto. | |
14614 | (avx512f_vpermt2var<mode>3_maskz): Ditto. | |
14615 | (*avx512f_gathersi<mode>): Ditto. | |
14616 | (*avx512f_gathersi<mode>_2): Ditto. | |
14617 | (*avx512f_gatherdi<mode>): Ditto. | |
14618 | (*avx512f_gatherdi<mode>_2): Ditto. | |
14619 | (*avx512f_scattersi<mode>): Ditto. | |
14620 | (*avx512f_scatterdi<mode>): Ditto. | |
14621 | (avx512f_compress<mode>_mask): Ditto. | |
14622 | (avx512f_compressstore<mode>_mask): Ditto. | |
14623 | (avx512f_expand<mode>_mask): Ditto. | |
14624 | * config/i386/subst.md (mask): Change k to Yk. | |
14625 | (mask_scalar_merge): Ditto. | |
14626 | (sd): Ditto. | |
14627 | ||
0878d68a MG |
14628 | 2014-01-31 Marc Glisse <marc.glisse@inria.fr> |
14629 | ||
14630 | * doc/extend.texi (Vector Extensions): Document ?: in C++. | |
14631 | ||
fdfd537b RB |
14632 | 2014-01-31 Richard Biener <rguenther@suse.de> |
14633 | ||
14634 | PR middle-end/59990 | |
14635 | * builtins.c (fold_builtin_memory_op): Make sure to not | |
14636 | use a floating-point mode or a boolean or enumeral type for | |
14637 | the copy operation. | |
14638 | ||
4f50b9ff DD |
14639 | 2014-01-30 DJ Delorie <dj@redhat.com> |
14640 | ||
14641 | * config/msp430/msp430.h (LIB_SPEC): Add -lcrt | |
14642 | * config/msp430/msp430.md (msp430_refsym_need_exit): New. | |
14643 | * config/msp430/msp430.c (msp430_expand_epilogue): Call it | |
14644 | whenever main() has an epilogue. | |
14645 | ||
c3e96073 BS |
14646 | 2014-01-30 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
14647 | ||
14648 | * config/rs6000/rs6000.c (rs6000_expand_vector_init): Remove | |
14649 | unused variable "field". | |
14650 | * config/rs6000/vsx.md (vsx_mergel_<mode>): Add missing DONE. | |
14651 | (vsx_mergeh_<mode>): Likewise. | |
14652 | * config/rs6000/altivec.md (altivec_vmrghb): Likewise. | |
14653 | (altivec_vmrghh): Likewise. | |
14654 | (altivec_vmrghw): Likewise. | |
14655 | (altivec_vmrglb): Likewise. | |
14656 | (altivec_vmrglh): Likewise. | |
14657 | (altivec_vmrglw): Likewise. | |
14658 | (altivec_vspltb): Add missing uses. | |
14659 | (altivec_vsplth): Likewise. | |
14660 | (altivec_vspltw): Likewise. | |
14661 | (altivec_vspltsf): Likewise. | |
14662 | ||
4bb9c32d JJ |
14663 | 2014-01-30 Jakub Jelinek <jakub@redhat.com> |
14664 | ||
14665 | PR target/59923 | |
14666 | * ifcvt.c (cond_exec_process_insns): Don't conditionalize | |
14667 | frame related instructions. | |
14668 | ||
7613fa50 VM |
14669 | 2014-01-30 Vladimir Makarov <vmakarov@redhat.com> |
14670 | ||
14671 | PR rtl-optimization/59959 | |
14672 | * lra-constrains.c (simplify_operand_subreg): Assign NO_REGS to | |
14673 | any reload of register whose subreg is invalid. | |
14674 | ||
6fb82517 JJ |
14675 | 2014-01-30 Jakub Jelinek <jakub@redhat.com> |
14676 | ||
33425d6c | 14677 | * config/i386/f16cintrin.h (_cvtsh_ss): Avoid -Wnarrowing warning. |
6fb82517 JJ |
14678 | * config/i386/avx512fintrin.h (_mm512_mask_cvtusepi64_storeu_epi32): |
14679 | Add missing return type - void. | |
14680 | ||
bf53d4b8 BS |
14681 | 2014-01-30 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
14682 | ||
14683 | * gcc/config/rs6000/rs6000.c (rs6000_expand_vector_init): Use | |
14684 | gen_vsx_xxspltw_v4sf_direct instead of gen_vsx_xxspltw_v4sf; | |
14685 | remove element index adjustment for endian (now handled in vsx.md | |
14686 | and altivec.md). | |
14687 | (altivec_expand_vec_perm_const): Use | |
14688 | gen_altivec_vsplt[bhw]_direct instead of gen_altivec_vsplt[bhw]. | |
14689 | * gcc/config/rs6000/vsx.md (UNSPEC_VSX_XXSPLTW): New unspec. | |
14690 | (vsx_xxspltw_<mode>): Adjust element index for little endian. | |
14691 | * gcc/config/rs6000/altivec.md (altivec_vspltb): Divide into a | |
14692 | define_expand and a new define_insn *altivec_vspltb_internal; | |
14693 | adjust for -maltivec=be on a little endian target. | |
14694 | (altivec_vspltb_direct): New. | |
14695 | (altivec_vsplth): Divide into a define_expand and a new | |
14696 | define_insn *altivec_vsplth_internal; adjust for -maltivec=be on a | |
14697 | little endian target. | |
14698 | (altivec_vsplth_direct): New. | |
14699 | (altivec_vspltw): Divide into a define_expand and a new | |
14700 | define_insn *altivec_vspltw_internal; adjust for -maltivec=be on a | |
14701 | little endian target. | |
14702 | (altivec_vspltw_direct): New. | |
14703 | (altivec_vspltsf): Divide into a define_expand and a new | |
14704 | define_insn *altivec_vspltsf_internal; adjust for -maltivec=be on | |
14705 | a little endian target. | |
14706 | ||
c965e187 RB |
14707 | 2014-01-30 Richard Biener <rguenther@suse.de> |
14708 | ||
14709 | PR tree-optimization/59993 | |
14710 | * tree-ssa-forwprop.c (associate_pointerplus): Check we | |
14711 | can propagate form the earlier stmt and avoid the transform | |
14712 | when the intermediate result is needed. | |
14713 | ||
ba117645 AD |
14714 | 2014-01-30 Alangi Derick <alangiderick@gmail.com> |
14715 | ||
14716 | * README.Portability: Fix typo. | |
14717 | ||
4bb66ef3 | 14718 | 2014-01-30 David Holsgrove <david.holsgrove@xilinx.com> |
29bd5728 DH |
14719 | |
14720 | * config/microblaze/microblaze.md(cstoresf4, cbranchsf4): Replace | |
14721 | comparison_operator with ordered_comparison_operator. | |
14722 | ||
c345a0b1 NC |
14723 | 2014-01-30 Nick Clifton <nickc@redhat.com> |
14724 | ||
14725 | * config/mn10300/mn10300-protos.h (mn10300_store_multiple_operation_p): | |
14726 | Rename to mn10300_store_multiple_regs. | |
14727 | * config/mn10300/mn10300.c: Likewise. | |
14728 | * config/mn10300/mn10300.md (store_movm): Fix typo: call | |
14729 | store_multiple_regs. | |
14730 | * config/mn10300/predicates.md (mn10300_store_multiple_operation): | |
14731 | Call mn10300_store_multiple_regs. | |
14732 | ||
2d70f6d4 NC |
14733 | 2014-01-30 Nick Clifton <nickc@redhat.com> |
14734 | DJ Delorie <dj@redhat.com> | |
14735 | ||
14736 | * config/rl78/rl78.c (register_sizes): Make the "upper half" of | |
14737 | %fp 2 to keep registers after it properly word-aligned. | |
14738 | (rl78_alloc_physical_registers_umul): Handle the case where both | |
14739 | input operands are the same. | |
14740 | ||
c972624e RB |
14741 | 2014-01-30 Richard Biener <rguenther@suse.de> |
14742 | ||
14743 | PR tree-optimization/59903 | |
14744 | * tree-vect-loop.c (vect_transform_loop): Guard multiple-types | |
14745 | check properly. | |
14746 | ||
fc044323 JM |
14747 | 2014-01-30 Jason Merrill <jason@redhat.com> |
14748 | ||
404c2aea JM |
14749 | PR c++/59633 |
14750 | * tree.c (walk_type_fields): Handle VECTOR_TYPE. | |
14751 | ||
fc044323 JM |
14752 | PR c++/59645 |
14753 | * cgraphunit.c (expand_thunk): Copy volatile arg to a temporary. | |
14754 | ||
f30a0ba5 RB |
14755 | 2014-01-30 Richard Biener <rguenther@suse.de> |
14756 | ||
14757 | PR tree-optimization/59951 | |
33425d6c | 14758 | * tree-vect-slp.c (vect_bb_slp_scalar_cost): Skip uses in debug insns. |
f30a0ba5 | 14759 | |
aad8816f SZ |
14760 | 2014-01-30 Savin Zlobec <savin.zlobec@gmail.com> |
14761 | ||
14762 | PR target/59784 | |
14763 | * config/nios2/nios2.c (nios2_fpu_insn_asm): Fix asm output of | |
14764 | SFmode to DFmode case. | |
14765 | ||
3b16363e DD |
14766 | 2014-01-29 DJ Delorie <dj@redhat.com> |
14767 | ||
14768 | * config/msp430/msp430.opt (-minrt): New. | |
14769 | * config/msp430/msp430.h (STARTFILE_SPEC): Link alternate runtime | |
14770 | if -minrt given. | |
14771 | (ENDFILE_SPEC): Likewise. | |
14772 | ||
39960d1c | 14773 | 2014-01-29 Jan Hubicka <hubicka@ucw.cz> |
3100142a JH |
14774 | |
14775 | * ipa-inline-analysis.c (clobber_only_eh_bb_p): New function. | |
14776 | (estimate_function_body_sizes): Use it. | |
14777 | ||
1200933c PC |
14778 | 2014-01-29 Paolo Carlini <paolo.carlini@oracle.com> |
14779 | ||
14780 | PR c++/58561 | |
14781 | * dwarf2out.c (is_cxx_auto): New. | |
14782 | (is_base_type): Use it. | |
14783 | (gen_type_die_with_usage): Likewise. | |
14784 | ||
68d3bacf BS |
14785 | 2014-01-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
14786 | ||
14787 | * config/rs6000/rs6000.c (altivec_expand_vec_perm_const): Use | |
14788 | CODE_FOR_altivec_vmrg*_direct rather than CODE_FOR_altivec_vmrg*. | |
14789 | * config/rs6000/vsx.md (vsx_mergel_<mode>): Adjust for | |
14790 | -maltivec=be with LE targets. | |
14791 | (vsx_mergeh_<mode>): Likewise. | |
33425d6c | 14792 | * config/rs6000/altivec.md (UNSPEC_VMRG[HL]_DIRECT): New unspecs. |
68d3bacf BS |
14793 | (mulv8hi3): Use gen_altivec_vmrg[hl]w_direct. |
14794 | (altivec_vmrghb): Replace with define_expand and new | |
33425d6c | 14795 | *altivec_vmrghb_internal insn; adjust for -maltivec=be with LE targets. |
68d3bacf BS |
14796 | (altivec_vmrghb_direct): New define_insn. |
14797 | (altivec_vmrghh): Replace with define_expand and new | |
33425d6c | 14798 | *altivec_vmrghh_internal insn; adjust for -maltivec=be with LE targets. |
68d3bacf BS |
14799 | (altivec_vmrghh_direct): New define_insn. |
14800 | (altivec_vmrghw): Replace with define_expand and new | |
33425d6c | 14801 | *altivec_vmrghw_internal insn; adjust for -maltivec=be with LE targets. |
68d3bacf BS |
14802 | (altivec_vmrghw_direct): New define_insn. |
14803 | (*altivec_vmrghsf): Adjust for endianness. | |
14804 | (altivec_vmrglb): Replace with define_expand and new | |
33425d6c | 14805 | *altivec_vmrglb_internal insn; adjust for -maltivec=be with LE targets. |
68d3bacf BS |
14806 | (altivec_vmrglb_direct): New define_insn. |
14807 | (altivec_vmrglh): Replace with define_expand and new | |
33425d6c | 14808 | *altivec_vmrglh_internal insn; adjust for -maltivec=be with LE targets. |
68d3bacf BS |
14809 | (altivec_vmrglh_direct): New define_insn. |
14810 | (altivec_vmrglw): Replace with define_expand and new | |
33425d6c | 14811 | *altivec_vmrglw_internal insn; adjust for -maltivec=be with LE targets. |
68d3bacf BS |
14812 | (altivec_vmrglw_direct): New define_insn. |
14813 | (*altivec_vmrglsf): Adjust for endianness. | |
14814 | (vec_widen_umult_hi_v16qi): Use gen_altivec_vmrghh_direct. | |
14815 | (vec_widen_umult_lo_v16qi): Use gen_altivec_vmrglh_direct. | |
14816 | (vec_widen_smult_hi_v16qi): Use gen_altivec_vmrghh_direct. | |
14817 | (vec_widen_smult_lo_v16qi): Use gen_altivec_vmrglh_direct. | |
14818 | (vec_widen_umult_hi_v8hi): Use gen_altivec_vmrghw_direct. | |
14819 | (vec_widen_umult_lo_v8hi): Use gen_altivec_vmrglw_direct. | |
14820 | (vec_widen_smult_hi_v8hi): Use gen_altivec_vmrghw_direct. | |
14821 | (vec_widen_smult_lo_v8hi): Use gen_altivec_vmrglw_direct. | |
14822 | ||
aef66c94 MS |
14823 | 2014-01-29 Marcus Shawcroft <marcus.shawcroft@arm.com> |
14824 | ||
14825 | * config/aarch64/aarch64.c (aarch64_expand_mov_immediate) | |
14826 | (aarch64_legitimate_address_p, aarch64_class_max_nregs): Adjust | |
14827 | whitespace. | |
14828 | ||
77574c35 RB |
14829 | 2014-01-29 Richard Biener <rguenther@suse.de> |
14830 | ||
14831 | PR tree-optimization/58742 | |
14832 | * tree-ssa-forwprop.c (associate_pointerplus): Rename to | |
14833 | associate_pointerplus_align. | |
14834 | (associate_pointerplus_diff): New function. | |
14835 | (associate_pointerplus): Likewise. Call associate_pointerplus_align | |
14836 | and associate_pointerplus_diff. | |
14837 | ||
15b25b24 RB |
14838 | 2014-01-29 Richard Biener <rguenther@suse.de> |
14839 | ||
14840 | * lto-streamer.h (LTO_major_version): Bump to 3. | |
14841 | (LTO_minor_version): Reset to 0. | |
14842 | ||
eb6006ad RL |
14843 | 2014-01-29 Renlin Li <Renlin.Li@arm.com> |
14844 | ||
14845 | * config/arm/arm-arches.def (ARM_ARCH): Add armv7ve arch. | |
14846 | * config/arm/arm.c (FL_FOR_ARCH7VE): New. | |
14847 | (arm_file_start): Generate correct asm header for armv7ve. | |
14848 | * config/arm/bpabi.h: Add multilib support for armv7ve. | |
14849 | * config/arm/driver-arm.c: Change the architectures of cortex-a7 | |
14850 | and cortex-a15 to armv7ve. | |
14851 | * config/arm/t-aprofile: Add multilib support for armv7ve. | |
14852 | * doc/invoke.texi: Document -march=armv7ve. | |
14853 | ||
4bfb2fa2 RB |
14854 | 2014-01-29 Richard Biener <rguenther@suse.de> |
14855 | ||
14856 | PR tree-optimization/58742 | |
14857 | * tree-ssa-forwprop.c (associate_plusminus): Return true | |
14858 | if we changed sth, defer EH cleanup to ... | |
14859 | (ssa_forward_propagate_and_combine): ... here. Call simplify_mult. | |
14860 | (simplify_mult): New function. | |
14861 | ||
42eb8bd1 JJ |
14862 | 2014-01-29 Jakub Jelinek <jakub@redhat.com> |
14863 | ||
09b22f48 JJ |
14864 | PR middle-end/59917 |
14865 | PR tree-optimization/59920 | |
14866 | * tree.c (build_common_builtin_nodes): Remove | |
14867 | __builtin_setjmp_dispatcher initialization. | |
14868 | * omp-low.h (make_gimple_omp_edges): Add a new int * argument. | |
14869 | * profile.c (branch_prob): Use gsi_start_nondebug_after_labels_bb | |
14870 | instead of gsi_after_labels + manually skipping debug stmts. | |
14871 | Don't ignore bbs with BUILT_IN_SETJMP_DISPATCHER, instead | |
14872 | ignore bbs with IFN_ABNORMAL_DISPATCHER. | |
14873 | * tree-inline.c (copy_edges_for_bb): Remove | |
14874 | can_make_abnormal_goto argument, instead add abnormal_goto_dest | |
14875 | argument. Ignore computed_goto_p stmts. Don't call | |
14876 | make_abnormal_goto_edges. If a call might need abnormal edges | |
14877 | for non-local gotos, see if it already has an edge to | |
14878 | IFN_ABNORMAL_DISPATCHER or if it is IFN_ABNORMAL_DISPATCHER | |
14879 | with true argument, don't do anything then, otherwise add | |
14880 | EDGE_ABNORMAL from the call's bb to abnormal_goto_dest. | |
14881 | (copy_cfg_body): Compute abnormal_goto_dest, adjust copy_edges_for_bb | |
14882 | caller. | |
14883 | * gimple-low.c (struct lower_data): Remove calls_builtin_setjmp. | |
14884 | (lower_function_body): Don't emit __builtin_setjmp_dispatcher. | |
14885 | (lower_stmt): Don't set data->calls_builtin_setjmp. | |
14886 | (lower_builtin_setjmp): Adjust comment. | |
14887 | * builtins.def (BUILT_IN_SETJMP_DISPATCHER): Remove. | |
14888 | * tree-cfg.c (found_computed_goto): Remove. | |
14889 | (factor_computed_gotos): Remove. | |
14890 | (make_goto_expr_edges): Return bool, true for computed gotos. | |
14891 | Don't call make_abnormal_goto_edges. | |
14892 | (build_gimple_cfg): Don't set found_computed_goto, don't call | |
14893 | factor_computed_gotos. | |
14894 | (computed_goto_p): No longer static. | |
14895 | (make_blocks): Don't set found_computed_goto. | |
14896 | (get_abnormal_succ_dispatcher, handle_abnormal_edges): New functions. | |
14897 | (make_edges): If make_goto_expr_edges returns true, push bb | |
14898 | into ab_edge_goto vector, for stmt_can_make_abnormal_goto calls | |
14899 | instead of calling make_abnormal_goto_edges push bb into ab_edge_call | |
14900 | vector. Record mapping between bbs and OpenMP regions if there | |
14901 | are any, adjust make_gimple_omp_edges caller. Call | |
14902 | handle_abnormal_edges. | |
14903 | (make_abnormal_goto_edges): Remove. | |
14904 | * tree-cfg.h (make_abnormal_goto_edges): Remove. | |
14905 | (computed_goto_p, get_abnormal_succ_dispatcher): New prototypes. | |
14906 | * internal-fn.c (expand_ABNORMAL_DISPATCHER): New function. | |
33425d6c | 14907 | * builtins.c (expand_builtin): Don't handle BUILT_IN_SETJMP_DISPATCHER. |
09b22f48 JJ |
14908 | * internal-fn.def (ABNORMAL_DISPATCHER): New. |
14909 | * omp-low.c (make_gimple_omp_edges): Add region_idx argument, when | |
14910 | filling *region also set *region_idx to (*region)->entry->index. | |
14911 | ||
42eb8bd1 JJ |
14912 | PR other/58712 |
14913 | * read-rtl.c (read_rtx_code): Clear all of RTX_CODE_SIZE (code). | |
14914 | For REGs set ORIGINAL_REGNO. | |
14915 | ||
4a271b7e BM |
14916 | 2014-01-29 Bingfeng Mei <bmei@broadcom.com> |
14917 | ||
33425d6c | 14918 | * doc/md.texi: Mention that a target shouldn't implement |
4a271b7e BM |
14919 | vec_widen_(s|u)mul_even/odd pair if it is less efficient |
14920 | than hi/lo pair. | |
14921 | ||
3d54b29d JJ |
14922 | 2014-01-29 Jakub Jelinek <jakub@redhat.com> |
14923 | ||
14924 | PR tree-optimization/59594 | |
14925 | * tree-vect-data-refs.c (vect_analyze_data_ref_accesses): Sort | |
14926 | a copy of the datarefs vector rather than the vector itself. | |
14927 | ||
2e5e7103 JM |
14928 | 2014-01-28 Jason Merrill <jason@redhat.com> |
14929 | ||
14930 | PR c++/53756 | |
14931 | * dwarf2out.c (auto_die): New static. | |
14932 | (gen_type_die_with_usage): Handle C++1y 'auto'. | |
14933 | (gen_subprogram_die): If in-class DIE had 'auto', emit type again | |
14934 | on definition. | |
14935 | ||
d5d618b5 L |
14936 | 2014-01-28 H.J. Lu <hongjiu.lu@intel.com> |
14937 | ||
14938 | PR target/59672 | |
14939 | * config/i386/gnu-user64.h (SPEC_32): Add "m16|" to "m32". | |
14940 | (SPEC_X32): Likewise. | |
14941 | (SPEC_64): Likewise. | |
14942 | * config/i386/i386.c (ix86_option_override_internal): Turn off | |
14943 | OPTION_MASK_ISA_64BIT, OPTION_MASK_ABI_X32 and OPTION_MASK_ABI_64 | |
14944 | for TARGET_16BIT. | |
14945 | (x86_file_start): Output .code16gcc for TARGET_16BIT. | |
14946 | * config/i386/i386.h (TARGET_16BIT): New macro. | |
14947 | (TARGET_16BIT_P): Likewise. | |
14948 | * config/i386/i386.opt: Add m16. | |
14949 | * doc/invoke.texi: Document -m16. | |
14950 | ||
367c8286 DS |
14951 | 2014-01-28 Jakub Jelinek <jakub@redhat.com> |
14952 | ||
14953 | PR preprocessor/59935 | |
14954 | * input.c (location_get_source_line): Bail out on when line number | |
33425d6c | 14955 | is zero, and test the return value of lookup_or_add_file_to_cache_tab. |
367c8286 | 14956 | |
07ec81f9 RB |
14957 | 2014-01-28 Richard Biener <rguenther@suse.de> |
14958 | ||
14959 | PR tree-optimization/58742 | |
14960 | * tree-ssa-forwprop.c (associate_plusminus): Handle | |
14961 | pointer subtraction of the form (T)(P + A) - (T)P. | |
14962 | ||
5facb998 KT |
14963 | 2014-01-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
14964 | ||
14965 | * config/arm/arm.c (arm_new_rtx_costs): Remove useless statement | |
14966 | at const_int_cost. | |
14967 | ||
e04faf24 RB |
14968 | 2014-01-28 Richard Biener <rguenther@suse.de> |
14969 | ||
14970 | Revert | |
14971 | 2014-01-28 Richard Biener <rguenther@suse.de> | |
14972 | ||
14973 | PR rtl-optimization/45364 | |
14974 | PR rtl-optimization/59890 | |
14975 | * var-tracking.c (local_get_addr_clear_given_value): Handle | |
14976 | already cleared slot. | |
14977 | (val_reset): Handle not allocated local_get_addr_cache. | |
14978 | (vt_find_locations): Use post-order on the inverted CFG. | |
14979 | ||
6593260b RB |
14980 | 2014-01-28 Richard Biener <rguenther@suse.de> |
14981 | ||
33425d6c | 14982 | * tree-data-ref.h (ddr_is_anti_dependent, ddrs_have_anti_deps): Remove. |
6593260b | 14983 | |
9ec2d2c1 RB |
14984 | 2014-01-28 Richard Biener <rguenther@suse.de> |
14985 | ||
14986 | PR rtl-optimization/45364 | |
14987 | PR rtl-optimization/59890 | |
14988 | * var-tracking.c (local_get_addr_clear_given_value): Handle | |
14989 | already cleared slot. | |
14990 | (val_reset): Handle not allocated local_get_addr_cache. | |
14991 | (vt_find_locations): Use post-order on the inverted CFG. | |
14992 | ||
2ceb362d AM |
14993 | 2014-01-28 Alan Modra <amodra@gmail.com> |
14994 | ||
14995 | * Makefile.in (BUILD_CPPFLAGS): Do not use ALL_CPPFLAGS. | |
14996 | * configure.ac <recursive call for build != host>: Define | |
14997 | GENERATOR_FILE. Comment. Use CXX_FOR_BUILD, CXXFLAGS_FOR_BUILD | |
14998 | and LD_FOR_BUILD too. | |
14999 | * configure: Regenerate. | |
15000 | ||
0ebe2584 ASJ |
15001 | 2014-01-27 Allan Sandfeld Jensen <sandfeld@kde.org> |
15002 | ||
15003 | * config/i386/i386.c (get_builtin_code_for_version): Separate | |
15004 | Westmere from Nehalem, Ivy Bridge from Sandy Bridge and | |
15005 | Broadwell from Haswell. | |
15006 | ||
a33fc7fe SE |
15007 | 2014-01-27 Steve Ellcey <sellcey@mips.com> |
15008 | ||
15009 | * common/config/mips/mips-common.c (TARGET_DEFAULT_TARGET_FLAGS): | |
15010 | Remove TARGET_FP_EXCEPTIONS_DEFAULT and MASK_FUSED_MADD. | |
15011 | * config/mips/mips.c (mips_option_override): Change setting | |
15012 | of TARGET_DSP. | |
15013 | * config/mips/mips.h (TARGET_FP_EXCEPTIONS_DEFAULT): Remove. | |
0ebe2584 ASJ |
15014 | * config/mips/mips.opt (DSP, DSPR2, FP_EXCEPTIONS, FUSED_MADD, MIPS3D): |
15015 | Change from Mask to Var. | |
a33fc7fe | 15016 | |
a99be3c9 JL |
15017 | 2014-01-27 Jeff Law <law@redhat.com> |
15018 | ||
15019 | * ipa-inline.c (inline_small_functions): Fix typo. | |
15020 | ||
d256b866 IT |
15021 | 2014-01-27 Ilya Tocar <ilya.tocar@intel.com> |
15022 | ||
15023 | * config/i386/avx512fintrin.h (_mm512_mask_cvtepi32_storeu_epi8): New. | |
15024 | (_mm512_mask_cvtsepi32_storeu_epi8): Ditto. | |
15025 | (_mm512_mask_cvtusepi32_storeu_epi8): Ditto. | |
15026 | (_mm512_mask_cvtepi32_storeu_epi16): Ditto. | |
15027 | (_mm512_mask_cvtsepi32_storeu_epi16): Ditto. | |
15028 | (_mm512_mask_cvtusepi32_storeu_epi16): Ditto. | |
15029 | (_mm512_mask_cvtepi64_storeu_epi32): Ditto. | |
15030 | (_mm512_mask_cvtsepi64_storeu_epi32): Ditto. | |
15031 | (_mm512_mask_cvtusepi64_storeu_epi32): Ditto. | |
15032 | (_mm512_mask_cvtepi64_storeu_epi16): Ditto. | |
15033 | (_mm512_mask_cvtsepi64_storeu_epi16): Ditto. | |
15034 | (_mm512_mask_cvtusepi64_storeu_epi16): Ditto. | |
15035 | (_mm512_mask_cvtepi64_storeu_epi8): Ditto. | |
15036 | (_mm512_mask_cvtsepi64_storeu_epi8): Ditto. | |
15037 | (_mm512_mask_cvtusepi64_storeu_epi8): Ditto. | |
15038 | (_mm512_storeu_epi64): Ditto. | |
15039 | (_mm512_cmpge_epi32_mask): Ditto. | |
15040 | (_mm512_cmpge_epu32_mask): Ditto. | |
15041 | (_mm512_cmpge_epi64_mask): Ditto. | |
15042 | (_mm512_cmpge_epu64_mask): Ditto. | |
15043 | (_mm512_cmple_epi32_mask): Ditto. | |
15044 | (_mm512_cmple_epu32_mask): Ditto. | |
15045 | (_mm512_cmple_epi64_mask): Ditto. | |
15046 | (_mm512_cmple_epu64_mask): Ditto. | |
15047 | (_mm512_cmplt_epi32_mask): Ditto. | |
15048 | (_mm512_cmplt_epu32_mask): Ditto. | |
15049 | (_mm512_cmplt_epi64_mask): Ditto. | |
15050 | (_mm512_cmplt_epu64_mask): Ditto. | |
15051 | (_mm512_cmpneq_epi32_mask): Ditto. | |
15052 | (_mm512_cmpneq_epu32_mask): Ditto. | |
15053 | (_mm512_cmpneq_epi64_mask): Ditto. | |
15054 | (_mm512_cmpneq_epu64_mask): Ditto. | |
15055 | (_mm512_expand_pd): Ditto. | |
15056 | (_mm512_expand_ps): Ditto. | |
15057 | * config/i386/i386-builtin-types.def: Add PV16QI, PV16QI, PV16HI, | |
15058 | VOID_PV8SI_V8DI_QI, VOID_PV8HI_V8DI_QI, VOID_PV16QI_V8DI_QI, | |
15059 | VOID_PV16QI_V16SI_HI, VOID_PV16HI_V16SI_HI. | |
15060 | * config/i386/i386.c (ix86_builtins): Add | |
15061 | IX86_BUILTIN_EXPANDPD512_NOMASK, IX86_BUILTIN_EXPANDPS512_NOMASK, | |
15062 | IX86_BUILTIN_PMOVDB512_MEM, IX86_BUILTIN_PMOVDW512_MEM, | |
15063 | IX86_BUILTIN_PMOVQB512_MEM, IX86_BUILTIN_PMOVQD512_MEM, | |
15064 | IX86_BUILTIN_PMOVQW512_MEM, IX86_BUILTIN_PMOVSDB512_MEM, | |
15065 | IX86_BUILTIN_PMOVSDW512_MEM, IX86_BUILTIN_PMOVSQB512_MEM, | |
15066 | IX86_BUILTIN_PMOVSQD512_MEM, IX86_BUILTIN_PMOVSQW512_MEM, | |
15067 | IX86_BUILTIN_PMOVUSDB512_MEM, IX86_BUILTIN_PMOVUSDW512_MEM, | |
15068 | IX86_BUILTIN_PMOVUSQB512_MEM, IX86_BUILTIN_PMOVUSQD512_MEM, | |
15069 | IX86_BUILTIN_PMOVUSQW512_MEM. | |
15070 | (bdesc_special_args): Add __builtin_ia32_pmovusqd512mem_mask, | |
15071 | __builtin_ia32_pmovsqd512mem_mask, | |
15072 | __builtin_ia32_pmovqd512mem_mask, | |
15073 | __builtin_ia32_pmovusqw512mem_mask, | |
15074 | __builtin_ia32_pmovsqw512mem_mask, | |
15075 | __builtin_ia32_pmovqw512mem_mask, | |
15076 | __builtin_ia32_pmovusdw512mem_mask, | |
15077 | __builtin_ia32_pmovsdw512mem_mask, | |
15078 | __builtin_ia32_pmovdw512mem_mask, | |
15079 | __builtin_ia32_pmovqb512mem_mask, | |
15080 | __builtin_ia32_pmovusqb512mem_mask, | |
15081 | __builtin_ia32_pmovsqb512mem_mask, | |
15082 | __builtin_ia32_pmovusdb512mem_mask, | |
15083 | __builtin_ia32_pmovsdb512mem_mask, | |
15084 | __builtin_ia32_pmovdb512mem_mask. | |
15085 | (bdesc_args): Add __builtin_ia32_expanddf512, | |
15086 | __builtin_ia32_expandsf512. | |
15087 | (ix86_expand_special_args_builtin): Handle VOID_FTYPE_PV8SI_V8DI_QI, | |
15088 | VOID_FTYPE_PV8HI_V8DI_QI, VOID_FTYPE_PV16HI_V16SI_HI, | |
15089 | VOID_FTYPE_PV16QI_V8DI_QI, VOID_FTYPE_PV16QI_V16SI_HI. | |
15090 | * config/i386/sse.md (unspec): Add UNSPEC_EXPAND_NOMASK. | |
15091 | (avx512f_<code><pmov_src_lower><mode>2_mask_store): New. | |
15092 | (*avx512f_<code>v8div16qi2_store_mask): Renamed to ... | |
15093 | (avx512f_<code>v8div16qi2_mask_store): This. | |
15094 | (avx512f_expand<mode>): New. | |
15095 | ||
e711dffd KY |
15096 | 2014-01-27 Kirill Yukhin <kirill.yukhin@intel.com> |
15097 | ||
1287ae50 | 15098 | * config/i386/avx512pfintrin.h (_mm512_mask_prefetch_i32gather_pd): |
0ebe2584 | 15099 | New. |
e711dffd KY |
15100 | (_mm512_mask_prefetch_i64gather_pd): Ditto. |
15101 | (_mm512_prefetch_i32scatter_pd): Ditto. | |
15102 | (_mm512_mask_prefetch_i32scatter_pd): Ditto. | |
15103 | (_mm512_prefetch_i64scatter_pd): Ditto. | |
15104 | (_mm512_mask_prefetch_i64scatter_pd): Ditto. | |
15105 | (_mm512_mask_prefetch_i32gather_ps): Fix operand type. | |
15106 | (_mm512_mask_prefetch_i64gather_ps): Ditto. | |
15107 | (_mm512_prefetch_i32scatter_ps): Ditto. | |
15108 | (_mm512_mask_prefetch_i32scatter_ps): Ditto. | |
15109 | (_mm512_prefetch_i64scatter_ps): Ditto. | |
15110 | (_mm512_mask_prefetch_i64scatter_ps): Ditto. | |
15111 | * config/i386/i386-builtin-types.def: Define | |
0ebe2584 ASJ |
15112 | VOID_FTYPE_QI_V8SI_PCINT64_INT_INT |
15113 | and VOID_FTYPE_QI_V8DI_PCINT64_INT_INT. | |
e711dffd KY |
15114 | * config/i386/i386.c (ix86_builtins): Define IX86_BUILTIN_GATHERPFQPD, |
15115 | IX86_BUILTIN_GATHERPFDPD, IX86_BUILTIN_SCATTERPFDPD, | |
15116 | IX86_BUILTIN_SCATTERPFQPD. | |
15117 | (ix86_init_mmx_sse_builtins): Define __builtin_ia32_gatherpfdpd, | |
15118 | __builtin_ia32_gatherpfdps, __builtin_ia32_gatherpfqpd, | |
15119 | __builtin_ia32_gatherpfqps, __builtin_ia32_scatterpfdpd, | |
15120 | __builtin_ia32_scatterpfdps, __builtin_ia32_scatterpfqpd, | |
15121 | __builtin_ia32_scatterpfqps. | |
15122 | (ix86_expand_builtin): Expand new built-ins. | |
15123 | * config/i386/sse.md (avx512pf_gatherpf<mode>): Add SF suffix, | |
15124 | fix memory access data type. | |
15125 | (*avx512pf_gatherpf<mode>_mask): Ditto. | |
15126 | (*avx512pf_gatherpf<mode>): Ditto. | |
15127 | (avx512pf_scatterpf<mode>): Ditto. | |
15128 | (*avx512pf_scatterpf<mode>_mask): Ditto. | |
15129 | (*avx512pf_scatterpf<mode>): Ditto. | |
15130 | (GATHER_SCATTER_SF_MEM_MODE): New. | |
15131 | (avx512pf_gatherpf<mode>df): Ditto. | |
15132 | (*avx512pf_gatherpf<mode>df_mask): Ditto. | |
15133 | (*avx512pf_scatterpf<mode>df): Ditto. | |
15134 | ||
904e5ccd JJ |
15135 | 2014-01-27 Jakub Jelinek <jakub@redhat.com> |
15136 | ||
15137 | PR bootstrap/59934 | |
15138 | * expmed.h (expmed_mode_index): Rework so that analysis and optimziers | |
15139 | know when the MODE_PARTIAL_INT and MODE_VECTOR_INT cases can never be | |
15140 | reached. | |
15141 | ||
84e90123 JG |
15142 | 2014-01-27 James Greenhalgh <james.greenhalgh@arm.com> |
15143 | ||
15144 | * common/config/arm/arm-common.c | |
15145 | (arm_rewrite_mcpu): Handle multiple names. | |
15146 | * config/arm/arm.h | |
15147 | (BIG_LITTLE_SPEC): Do not discard mcpu switches. | |
15148 | ||
c6f6157a JG |
15149 | 2014-01-27 James Greenhalgh <james.greenhalgh@arm.com> |
15150 | ||
15151 | * gimple-builder.h (create_gimple_tmp): Delete. | |
15152 | ||
770516c9 CB |
15153 | 2014-01-27 Christian Bruel <christian.bruel@st.com> |
15154 | ||
15155 | * config/sh/sh-mem.cc (sh_expand_cmpnstr): Fix remaining bytes after | |
15156 | words comparisons. | |
15157 | ||
cc5cec10 JDA |
15158 | 2014-01-26 John David Anglin <danglin@gcc.gnu.org> |
15159 | ||
5aa3c762 JDA |
15160 | * config/pa/pa.md (call): Generate indirect long calls to non-local |
15161 | functions when outputing 32-bit code. | |
15162 | (call_value): Likewise except for special call to buggy powf function. | |
15163 | ||
cc5cec10 JDA |
15164 | * config/pa/pa.c (pa_attr_length_indirect_call): Adjust length of |
15165 | portable runtime and PIC indirect calls. | |
15166 | (pa_output_indirect_call): Remove unnecessary nop from portable runtime | |
15167 | and PIC call sequences. Use ldo instead of blr to set return register | |
15168 | in PIC call sequence. | |
15169 | ||
6bb0e248 WL |
15170 | 2014-01-25 Walter Lee <walt@tilera.com> |
15171 | ||
15172 | * config/tilegx/sync.md (atomic_fetch_sub): Fix negation and | |
15173 | avoid clobbering a live register. | |
15174 | ||
dab03fe3 WL |
15175 | 2014-01-25 Walter Lee <walt@tilera.com> |
15176 | ||
770516c9 | 15177 | * config/tilegx/tilegx-c.c (tilegx_cpu_cpp_builtins): |
dab03fe3 | 15178 | Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2}. |
770516c9 | 15179 | * config/tilegx/tilepro-c.c (tilepro_cpu_cpp_builtins): |
dab03fe3 WL |
15180 | Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2,4,8}. |
15181 | ||
905c20c1 WL |
15182 | 2014-01-25 Walter Lee <walt@tilera.com> |
15183 | ||
15184 | * config/tilegx/tilegx.c (tilegx_function_arg): Start 16-byte | |
15185 | arguments on even registers. | |
15186 | (tilegx_gimplify_va_arg_expr): Align 16-byte var args to | |
15187 | STACK_BOUNDARY. | |
15188 | * config/tilegx/tilegx.h (STACK_BOUNDARY): Change to 16 bytes. | |
15189 | (BIGGEST_ALIGNMENT): Ditto. | |
15190 | (BIGGEST_FIELD_ALIGNMENT): Ditto. | |
15191 | ||
8e90a625 WL |
15192 | 2014-01-25 Walter Lee <walt@tilera.com> |
15193 | ||
15194 | * config/tilegx/tilegx.c (tilegx_gen_bundles): Delete barrier | |
15195 | insns before bundling. | |
0ebe2584 | 15196 | * config/tilegx/tilegx.md (tile_network_barrier): Update comment. |
8e90a625 | 15197 | |
450c1ffe WL |
15198 | 2014-01-25 Walter Lee <walt@tilera.com> |
15199 | ||
15200 | * config/tilegx/tilegx.c (tilegx_expand_builtin): Set | |
15201 | PREFETCH_SCHEDULE_BARRIER_P to true for prefetches. | |
15202 | * config/tilepro/tilepro.c (tilepro_expand_builtin): Ditto. | |
317a951f | 15203 | |
450c1ffe | 15204 | 2014-01-25 Richard Sandiford <rdsandiford@googlemail.com> |
770516c9 | 15205 | |
317a951f RS |
15206 | * config/mips/constraints.md (kl): Delete. |
15207 | * config/mips/mips.md (divmod<mode>4, udivmod<mode>4): Turn into | |
15208 | define expands, using... | |
15209 | (divmod<mode>4_mips16, udivmod<mode>4_mips16): ...these new | |
15210 | instructions for MIPS16. | |
15211 | (*divmod<mode>4, *udivmod<mode>4): New patterns, taken from the | |
15212 | non-MIPS16 version of the old divmod<mode>4 and udivmod<mode>4. | |
15213 | ||
3abe9053 WL |
15214 | 2014-01-25 Walter Lee <walt@tilera.com> |
15215 | ||
0ebe2584 | 15216 | * config/tilepro/tilepro.md (ctzdi2): Use register_operand predicate. |
3abe9053 WL |
15217 | (clzdi2): Ditto. |
15218 | (ffsdi2): Ditto. | |
15219 | ||
b0e0fe41 WL |
15220 | 2014-01-25 Walter Lee <walt@tilera.com> |
15221 | ||
15222 | * config/tilegx/tilegx.c (tilegx_expand_to_rtl_hook): New. | |
15223 | (TARGET_EXPAND_TO_RTL_HOOK): Define. | |
15224 | ||
2c8798a2 RS |
15225 | 2014-01-25 Richard Sandiford <rdsandiford@googlemail.com> |
15226 | ||
15227 | * rtlanal.c (canonicalize_condition): Split out duplicated mode check. | |
15228 | Handle XOR. | |
15229 | ||
2105be5a JJ |
15230 | 2014-01-25 Jakub Jelinek <jakub@redhat.com> |
15231 | ||
4def6060 JJ |
15232 | * print-rtl.c (in_call_function_usage): New var. |
15233 | (print_rtx): When in CALL_INSN_FUNCTION_USAGE, always print | |
15234 | EXPR_LIST mode as mode and not as reg note name. | |
15235 | ||
2105be5a JJ |
15236 | PR middle-end/59561 |
15237 | * cfgloopmanip.c (copy_loop_info): If | |
15238 | loop->warned_aggressive_loop_optimizations, make sure | |
15239 | the flag is set in target loop too. | |
15240 | ||
b72271b9 BI |
15241 | 2014-01-24 Balaji V. Iyer <balaji.v.iyer@intel.com> |
15242 | ||
15243 | * builtins.c (is_builtin_name): Renamed flag_enable_cilkplus to | |
15244 | flag_cilkplus. | |
15245 | * builtins.def: Likewise. | |
15246 | * cilk.h (fn_contains_cilk_spawn_p): Likewise. | |
15247 | * cppbuiltin.c (define_builtin_macros_for_compilation_flags): Likewise. | |
15248 | * ira.c (ira_setup_eliminable_regset): Likewise. | |
15249 | * omp-low.c (gate_expand_omp): Likewise. | |
15250 | (execute_lower_omp): Likewise. | |
15251 | (diagnose_sb_0): Likewise. | |
15252 | (gate_diagnose_omp_blocks): Likewise. | |
15253 | (simd_clone_clauses_extract): Likewise. | |
15254 | (gate): Likewise. | |
15255 | ||
8adcc78b BS |
15256 | 2014-01-24 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
15257 | ||
15258 | * config/rs6000/rs6000.c (rs6000_expand_vec_perm_const_1): Remove | |
15259 | correction for little endian... | |
15260 | * config/rs6000/vsx.md (vsx_xxpermdi2_<mode>_1): ...and move it to | |
15261 | here. | |
15262 | ||
3d750496 JL |
15263 | 2014-01-24 Jeff Law <law@redhat.com> |
15264 | ||
15265 | PR tree-optimization/59919 | |
15266 | * tree-vrp.c (find_assert_locations_1): Do not register asserts | |
15267 | for non-returning calls. | |
15268 | ||
1c05df59 JG |
15269 | 2014-01-24 James Greenhalgh <james.greenhalgh@arm.com> |
15270 | ||
15271 | * common/config/aarch64/aarch64-common.c | |
15272 | (aarch64_rewrite_mcpu): Handle multiple names. | |
15273 | * config/aarch64/aarch64.h | |
15274 | (BIG_LITTLE_SPEC): Do not discard mcpu switches. | |
15275 | ||
317363b4 DS |
15276 | 2014-01-24 Dodji Seketeli <dodji@redhat.com> |
15277 | ||
15278 | * input.c (add_file_to_cache_tab): Handle the case where fopen | |
15279 | returns NULL. | |
15280 | ||
16370fa7 L |
15281 | 2014-01-23 H.J. Lu <hongjiu.lu@intel.com> |
15282 | ||
15283 | PR target/59929 | |
15284 | * config/i386/i386.md (pushsf splitter): Get stack adjustment | |
15285 | from push operand if code of push isn't PRE_DEC. | |
15286 | ||
b846c948 MM |
15287 | 2014-01-23 Michael Meissner <meissner@linux.vnet.ibm.com> |
15288 | ||
15289 | PR target/59909 | |
15290 | * doc/invoke.texi (RS/6000 and PowerPC Options): Document | |
15291 | -mquad-memory-atomic. Update -mquad-memory documentation to say | |
15292 | it is only used for non-atomic loads/stores. | |
15293 | ||
15294 | * config/rs6000/predicates.md (quad_int_reg_operand): Allow either | |
15295 | -mquad-memory or -mquad-memory-atomic switches. | |
15296 | ||
15297 | * config/rs6000/rs6000-cpus.def (ISA_2_7_MASKS_SERVER): Add | |
15298 | -mquad-memory-atomic to ISA 2.07 support. | |
15299 | ||
15300 | * config/rs6000/rs6000.opt (-mquad-memory-atomic): Add new switch | |
0ebe2584 ASJ |
15301 | to separate support of normal quad word memory operations (ldq, stq) |
15302 | from the atomic quad word memory operations. | |
b846c948 MM |
15303 | |
15304 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Add | |
15305 | support to separate non-atomic quad word operations from atomic | |
15306 | quad word operations. Disable non-atomic quad word operations in | |
15307 | little endian mode so that we don't have to swap words after the | |
15308 | load and before the store. | |
15309 | (quad_load_store_p): Add comment about atomic quad word support. | |
15310 | (rs6000_opt_masks): Add -mquad-memory-atomic to the list of | |
15311 | options printed with -mdebug=reg. | |
15312 | ||
15313 | * config/rs6000/rs6000.h (TARGET_SYNC_TI): Use | |
15314 | -mquad-memory-atomic as the test for whether we have quad word | |
15315 | atomic instructions. | |
0ebe2584 ASJ |
15316 | (TARGET_SYNC_HI_QI): If either -mquad-memory-atomic, -mquad-memory, |
15317 | or -mp8-vector are used, allow byte/half-word atomic operations. | |
b846c948 MM |
15318 | |
15319 | * config/rs6000/sync.md (load_lockedti): Insure that the address | |
15320 | is a proper indexed or indirect address for the lqarx instruction. | |
15321 | On little endian systems, swap the hi/lo registers after the lqarx | |
15322 | instruction. | |
15323 | (load_lockedpti): Use indexed_or_indirect_operand predicate to | |
15324 | insure the address is valid for the lqarx instruction. | |
15325 | (store_conditionalti): Insure that the address is a proper indexed | |
15326 | or indirect address for the stqcrx. instruction. On little endian | |
15327 | systems, swap the hi/lo registers before doing the stqcrx. | |
15328 | instruction. | |
15329 | (store_conditionalpti): Use indexed_or_indirect_operand predicate to | |
15330 | insure the address is valid for the stqcrx. instruction. | |
15331 | ||
15332 | * gcc/config/rs6000/rs6000-c.c (rs6000_target_modify_macros): | |
15333 | Define __QUAD_MEMORY__ and __QUAD_MEMORY_ATOMIC__ based on what | |
15334 | type of quad memory support is available. | |
15335 | ||
6e23f296 VM |
15336 | 2014-01-23 Vladimir Makarov <vmakarov@redhat.com> |
15337 | ||
15338 | PR regression/59915 | |
15339 | * lra-constraints.c (simplify_operand_subreg): Spill pseudo if | |
15340 | there is a danger of looping. | |
15341 | ||
0a4f04e5 PH |
15342 | 2014-01-23 Pat Haugen <pthaugen@us.ibm.com> |
15343 | ||
15344 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't | |
15345 | force flag_ira_loop_pressure if set via command line. | |
15346 | ||
f9a4c9a6 AV |
15347 | 2014-01-23 Alex Velenko <Alex.Velenko@arm.com> |
15348 | ||
15349 | * config/aarch64/aarch64-simd-builtins.def (ashr): DI mode removed. | |
15350 | (ashr_simd): New builtin handling DI mode. | |
15351 | * config/aarch64/aarch64-simd.md (aarch64_ashr_simddi): New pattern. | |
15352 | (aarch64_sshr_simddi): New match pattern. | |
15353 | * config/aarch64/arm_neon.h (vshr_n_s32): Builtin call modified. | |
15354 | (vshrd_n_s64): Likewise. | |
15355 | * config/aarch64/predicates.md (aarch64_shift_imm64_di): New predicate. | |
15356 | ||
949ad971 NC |
15357 | 2014-01-23 Nick Clifton <nickc@redhat.com> |
15358 | ||
15359 | * config/msp430/msp430.h (ASM_SPEC): Pass the -mcpu as -mcpu. | |
15360 | (LIB_SPEC): Drop use of memory.ld and peripherals.ld scripts in | |
15361 | favour of mcu specific scripts. | |
15362 | * config/msp430/t-msp430 (MULTILIB_MATCHES): Add more matches for | |
15363 | 430x multilibs. | |
15364 | ||
d5ecead9 JG |
15365 | 2014-01-23 James Greenhalgh <james.greenhalgh@arm.com> |
15366 | Alex Velenko <Alex.Velenko@arm.com> | |
15367 | ||
15368 | * config/aarch64/arm_neon.h (vaddv_s8): __LANE0 cleanup. | |
15369 | (vaddv_s16): Likewise. | |
15370 | (vaddv_s32): Likewise. | |
15371 | (vaddv_u8): Likewise. | |
15372 | (vaddv_u16): Likewise. | |
15373 | (vaddv_u32): Likewise. | |
15374 | (vaddvq_s8): Likewise. | |
15375 | (vaddvq_s16): Likewise. | |
15376 | (vaddvq_s32): Likewise. | |
15377 | (vaddvq_s64): Likewise. | |
15378 | (vaddvq_u8): Likewise. | |
15379 | (vaddvq_u16): Likewise. | |
15380 | (vaddvq_u32): Likewise. | |
15381 | (vaddvq_u64): Likewise. | |
15382 | (vaddv_f32): Likewise. | |
15383 | (vaddvq_f32): Likewise. | |
15384 | (vaddvq_f64): Likewise. | |
15385 | (vmaxv_f32): Likewise. | |
15386 | (vmaxv_s8): Likewise. | |
15387 | (vmaxv_s16): Likewise. | |
15388 | (vmaxv_s32): Likewise. | |
15389 | (vmaxv_u8): Likewise. | |
15390 | (vmaxv_u16): Likewise. | |
15391 | (vmaxv_u32): Likewise. | |
15392 | (vmaxvq_f32): Likewise. | |
15393 | (vmaxvq_f64): Likewise. | |
15394 | (vmaxvq_s8): Likewise. | |
15395 | (vmaxvq_s16): Likewise. | |
15396 | (vmaxvq_s32): Likewise. | |
15397 | (vmaxvq_u8): Likewise. | |
15398 | (vmaxvq_u16): Likewise. | |
15399 | (vmaxvq_u32): Likewise. | |
15400 | (vmaxnmv_f32): Likewise. | |
15401 | (vmaxnmvq_f32): Likewise. | |
15402 | (vmaxnmvq_f64): Likewise. | |
15403 | (vminv_f32): Likewise. | |
15404 | (vminv_s8): Likewise. | |
15405 | (vminv_s16): Likewise. | |
15406 | (vminv_s32): Likewise. | |
15407 | (vminv_u8): Likewise. | |
15408 | (vminv_u16): Likewise. | |
15409 | (vminv_u32): Likewise. | |
15410 | (vminvq_f32): Likewise. | |
15411 | (vminvq_f64): Likewise. | |
15412 | (vminvq_s8): Likewise. | |
15413 | (vminvq_s16): Likewise. | |
15414 | (vminvq_s32): Likewise. | |
15415 | (vminvq_u8): Likewise. | |
15416 | (vminvq_u16): Likewise. | |
15417 | (vminvq_u32): Likewise. | |
15418 | (vminnmv_f32): Likewise. | |
15419 | (vminnmvq_f32): Likewise. | |
15420 | (vminnmvq_f64): Likewise. | |
15421 | ||
1dd055a2 JG |
15422 | 2014-01-23 James Greenhalgh <james.greenhalgh@arm.com> |
15423 | ||
15424 | * config/aarch64/aarch64-simd.md | |
15425 | (aarch64_dup_lane<mode>): Correct lane number on big-endian. | |
15426 | (aarch64_dup_lane_<vswap_widthi_name><mode>): Likewise. | |
15427 | (*aarch64_mul3_elt<mode>): Likewise. | |
15428 | (*aarch64_mul3_elt<vswap_width_name><mode>): Likewise. | |
15429 | (*aarch64_mul3_elt_to_64v2df): Likewise. | |
15430 | (*aarch64_mla_elt<mode>): Likewise. | |
15431 | (*aarch64_mla_elt_<vswap_width_name><mode>): Likewise. | |
15432 | (*aarch64_mls_elt<mode>): Likewise. | |
15433 | (*aarch64_mls_elt_<vswap_width_name><mode>): Likewise. | |
15434 | (*aarch64_fma4_elt<mode>): Likewise. | |
15435 | (*aarch64_fma4_elt_<vswap_width_name><mode>): Likewise. | |
15436 | (*aarch64_fma4_elt_to_64v2df): Likewise. | |
15437 | (*aarch64_fnma4_elt<mode>): Likewise. | |
15438 | (*aarch64_fnma4_elt_<vswap_width_name><mode>): Likewise. | |
15439 | (*aarch64_fnma4_elt_to_64v2df): Likewise. | |
15440 | (aarch64_sq<r>dmulh_lane<mode>): Likewise. | |
15441 | (aarch64_sq<r>dmulh_laneq<mode>): Likewise. | |
15442 | (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal): Likewise. | |
15443 | (aarch64_sqdml<SBINQOPS:as>l_lane<mode>_internal): Likewise. | |
15444 | (aarch64_sqdml<SBINQOPS:as>l2_lane<mode>_internal): Likewise. | |
15445 | (aarch64_sqdmull_lane<mode>_internal): Likewise. | |
15446 | (aarch64_sqdmull2_lane<mode>_internal): Likewise. | |
15447 | ||
dafb9b64 AV |
15448 | 2013-01-23 Alex Velenko <Alex.Velenko@arm.com> |
15449 | ||
15450 | * config/aarch64/aarch64-simd.md | |
15451 | (aarch64_be_checked_get_lane<mode>): New define_expand. | |
15452 | * config/aarch64/aarch64-simd-builtins.def | |
0ebe2584 | 15453 | (BUILTIN_VALL (GETLANE, be_checked_get_lane, 0)): |
dafb9b64 AV |
15454 | New builtin definition. |
15455 | * config/aarch64/arm_neon.h: (__aarch64_vget_lane_any): | |
15456 | Use new safe be builtin. | |
15457 | ||
89b4515c AV |
15458 | 2014-01-23 Alex Velenko <Alex.Velenko@arm.com> |
15459 | ||
15460 | * config/aarch64/aarch64-simd.md (aarch64_be_ld1<mode>): | |
15461 | New define_insn. | |
15462 | (aarch64_be_st1<mode>): Likewise. | |
15463 | (aarch_ld1<VALL:mode>): Define_expand modified. | |
15464 | (aarch_st1<VALL:mode>): Likewise. | |
15465 | * config/aarch64/aarch64.md (UNSPEC_LD1): New unspec definition. | |
15466 | (UNSPEC_ST1): Likewise. | |
15467 | ||
4bb66ef3 | 15468 | 2014-01-23 David Holsgrove <david.holsgrove@xilinx.com> |
f3eeb82c DH |
15469 | |
15470 | * config/microblaze/microblaze.md: Add trap insn and attribute | |
15471 | ||
7ecc3eb9 DS |
15472 | 2014-01-23 Dodji Seketeli <dodji@redhat.com> |
15473 | ||
15474 | PR preprocessor/58580 | |
15475 | * input.h (location_get_source_line): Take an additional line_size | |
15476 | parameter. | |
15477 | (void diagnostics_file_cache_fini): Declare new function. | |
15478 | * input.c (struct fcache): New type. | |
15479 | (fcache_tab_size, fcache_buffer_size, fcache_line_record_size): | |
15480 | New static constants. | |
15481 | (diagnostic_file_cache_init, total_lines_num) | |
15482 | (lookup_file_in_cache_tab, evicted_cache_tab_entry) | |
15483 | (add_file_to_cache_tab, lookup_or_add_file_to_cache_tab) | |
15484 | (needs_read, needs_grow, maybe_grow, read_data, maybe_read_data) | |
15485 | (get_next_line, read_next_line, goto_next_line, read_line_num): | |
15486 | New static function definitions. | |
15487 | (diagnostic_file_cache_fini): New function. | |
15488 | (location_get_source_line): Take an additional output line_len | |
15489 | parameter. Re-write using lookup_or_add_file_to_cache_tab and | |
15490 | read_line_num. | |
15491 | * diagnostic.c (diagnostic_finish): Call | |
15492 | diagnostic_file_cache_fini. | |
15493 | (adjust_line): Take an additional input parameter for the length | |
15494 | of the line, rather than calculating it with strlen. | |
15495 | (diagnostic_show_locus): Adjust the use of | |
15496 | location_get_source_line and adjust_line with respect to their new | |
15497 | signature. While displaying a line now, do not stop at the first | |
15498 | null byte. Rather, display the zero byte as a space and keep | |
15499 | going until we reach the size of the line. | |
15500 | * Makefile.in: Add vec.o to OBJS-libcommon | |
15501 | ||
2196a885 | 15502 | 2014-01-23 Kirill Yukhin <kirill.yukhin@intel.com> |
40c0a159 | 15503 | Ilya Tocar <ilya.tocar@intel.com> |
2196a885 KY |
15504 | |
15505 | * config/i386/avx512fintrin.h (_mm512_kmov): New. | |
15506 | * config/i386/i386.c (IX86_BUILTIN_KMOV16): Ditto. | |
15507 | (__builtin_ia32_kmov16): Ditto. | |
15508 | * config/i386/i386.md (UNSPEC_KMOV): New. | |
15509 | (kmovw): Ditto. | |
15510 | ||
70473c63 KY |
15511 | 2014-01-23 Kirill Yukhin <kirill.yukhin@intel.com> |
15512 | ||
15513 | * config/i386/avx512fintrin.h (_mm512_loadu_si512): Rename. | |
15514 | (_mm512_storeu_si512): Ditto. | |
15515 | ||
f9ae4df8 RS |
15516 | 2014-01-23 Richard Sandiford <rdsandiford@googlemail.com> |
15517 | ||
15518 | PR target/52125 | |
15519 | * rtl.h (get_referenced_operands): Declare. | |
15520 | * recog.c (get_referenced_operands): New function. | |
15521 | * config/mips/mips.c (mips_reorg_process_insns): Check which asm | |
15522 | operands have been referenced when recording LO_SUM references. | |
15523 | ||
4bb66ef3 | 15524 | 2014-01-22 David Holsgrove <david.holsgrove@xilinx.com> |
e50f5f2e DH |
15525 | |
15526 | * config/microblaze/microblaze.md: Correct bswaphi2 insn. | |
15527 | ||
39960d1c | 15528 | 2014-01-22 Jan Hubicka <hubicka@ucw.cz> |
33b64438 JH |
15529 | |
15530 | * config/i386/x86-tune.def (X86_TUNE_ACCUMULATE_OUTGOING_ARGS): | |
15531 | Enable for generic and recent AMD targets. | |
15532 | ||
39960d1c | 15533 | 2014-01-22 Jan Hubicka <hubicka@ucw.cz> |
77b7a218 JH |
15534 | |
15535 | * combine-stack-adj.c (combine_stack_adjustments_for_block): Remove | |
15536 | ARG_SIZE note when adjustment was eliminated. | |
15537 | ||
bb50b870 JL |
15538 | 2014-01-22 Jeff Law <law@redhat.com> |
15539 | ||
15540 | PR tree-optimization/59597 | |
15541 | * tree-ssa-threadupdate.c (dump_jump_thread_path): Move to earlier | |
15542 | in file. Accept new argument REGISTERING and use it to modify | |
15543 | dump output appropriately. | |
15544 | (register_jump_thread): Corresponding changes. | |
15545 | (mark_threaded_blocks): Reinstate code to cancel unprofitable | |
15546 | thread paths involving joiner blocks. Add code to dump cancelled | |
15547 | jump threading paths. | |
15548 | ||
df2980be VM |
15549 | 2014-01-22 Vladimir Makarov <vmakarov@redhat.com> |
15550 | ||
15551 | PR rtl-optimization/59477 | |
15552 | * lra-constraints.c (inherit_in_ebb): Process call for living hard | |
0ebe2584 | 15553 | regs. Update reloads_num and potential_reload_hard_regs for all insns. |
df2980be | 15554 | |
1bb99900 TT |
15555 | 2014-01-22 Tom Tromey <tromey@redhat.com> |
15556 | ||
15557 | * config/i386/i386-interix.h (i386_pe_unique_section): Don't use | |
15558 | PARAMS. | |
15559 | * config/cr16/cr16-protos.h (notice_update_cc): Don't use PARAMS. | |
15560 | ||
9102dadd VM |
15561 | 2014-01-21 Vladimir Makarov <vmakarov@redhat.com> |
15562 | ||
15563 | PR rtl-optimization/59896 | |
15564 | * lra-constraints.c (process_alt_operands): Check unused note for | |
15565 | matched operands of insn with no output reloads. | |
15566 | ||
ca376eb8 RS |
15567 | 2014-01-21 Richard Sandiford <rdsandiford@googlemail.com> |
15568 | ||
15569 | * config/mips/mips.c (mips_move_to_gpr_cost): Add M16_REGS case. | |
15570 | (mips_move_from_gpr_cost): Likewise. | |
15571 | ||
a9711f36 VM |
15572 | 2014-01-21 Vladimir Makarov <vmakarov@redhat.com> |
15573 | ||
15574 | PR rtl-optimization/59858 | |
15575 | * lra-constraints.c (SMALL_REGISTER_CLASS_P): Use | |
15576 | ira_class_hard_regs_num. | |
15577 | (process_alt_operands): Increase reject for dying matched operand. | |
15578 | ||
f8ea7cb0 JJ |
15579 | 2014-01-21 Jakub Jelinek <jakub@redhat.com> |
15580 | ||
15581 | PR target/59003 | |
15582 | * config/i386/i386.c (expand_small_movmem_or_setmem): If mode is | |
15583 | smaller than size, perform several stores or loads and stores | |
15584 | at dst + count - size to store or copy all of size bytes, rather | |
15585 | than just last modesize bytes. | |
15586 | ||
84db09e3 DD |
15587 | 2014-01-20 DJ Delorie <dj@redhat.com> |
15588 | ||
15589 | * config/rl78/rl78.c (rl78_propogate_register_origins): Verify | |
15590 | that CLOBBERs are REGs before propogating their values. | |
15591 | ||
1cf11770 L |
15592 | 2014-01-20 H.J. Lu <hongjiu.lu@intel.com> |
15593 | ||
15594 | PR middle-end/59789 | |
15595 | * cgraph.c (cgraph_inline_failed_string): Add type to DEFCIFCODE. | |
15596 | (cgraph_inline_failed_type): New function. | |
15597 | * cgraph.h (DEFCIFCODE): Add type. | |
15598 | (cgraph_inline_failed_type_t): New enum. | |
15599 | (cgraph_inline_failed_type): New prototype. | |
15600 | * cif-code.def: Add CIF_FINAL_NORMAL to OK, FUNCTION_NOT_CONSIDERED, | |
15601 | FUNCTION_NOT_OPTIMIZED, REDEFINED_EXTERN_INLINE, | |
15602 | FUNCTION_NOT_INLINE_CANDIDATE, LARGE_FUNCTION_GROWTH_LIMIT, | |
15603 | LARGE_STACK_FRAME_GROWTH_LIMIT, MAX_INLINE_INSNS_SINGLE_LIMIT, | |
15604 | MAX_INLINE_INSNS_AUTO_LIMIT, INLINE_UNIT_GROWTH_LIMIT, | |
15605 | RECURSIVE_INLINING, UNLIKELY_CALL, NOT_DECLARED_INLINED, | |
15606 | OPTIMIZING_FOR_SIZE, ORIGINALLY_INDIRECT_CALL, | |
0ebe2584 | 15607 | INDIRECT_UNKNOWN_CALL, USES_COMDAT_LOCAL. |
1cf11770 L |
15608 | Add CIF_FINAL_ERROR to UNSPECIFIED, BODY_NOT_AVAILABLE, |
15609 | FUNCTION_NOT_INLINABLE, OVERWRITABLE, MISMATCHED_ARGUMENTS, | |
15610 | EH_PERSONALITY, NON_CALL_EXCEPTIONS, TARGET_OPTION_MISMATCH, | |
15611 | OPTIMIZATION_MISMATCH. | |
15612 | * tree-inline.c (expand_call_inline): Emit errors during | |
0ebe2584 | 15613 | early_inlining if cgraph_inline_failed_type returns CIF_FINAL_ERROR. |
1cf11770 | 15614 | |
8586e4bd UB |
15615 | 2014-01-20 Uros Bizjak <ubizjak@gmail.com> |
15616 | ||
15617 | PR target/59685 | |
15618 | * config/i386/sse.md (*andnot<mode>3<mask_name>): Handle MODE_V16SF | |
15619 | mode attribute in insn output. | |
15620 | ||
99482090 EB |
15621 | 2014-01-20 Eric Botcazou <ebotcazou@adacore.com> |
15622 | ||
15623 | * output.h (output_constant): Delete. | |
15624 | * varasm.c (output_constant): Make private. | |
15625 | ||
ede23272 AV |
15626 | 2014-01-20 Alex Velenko <Alex.Velenko@arm.com> |
15627 | ||
15628 | * config/aarch64/aarch64-simd.md (vec_perm<mode>): Add BE check. | |
15629 | ||
9a7eefec JJ |
15630 | 2014-01-20 Jakub Jelinek <jakub@redhat.com> |
15631 | ||
15632 | PR middle-end/59860 | |
15633 | * tree.h (fold_builtin_strcat): New prototype. | |
15634 | * builtins.c (fold_builtin_strcat): No longer static. Add len | |
15635 | argument, if non-NULL, don't call c_strlen. Optimize | |
15636 | directly into __builtin_memcpy instead of __builtin_strcpy. | |
15637 | (fold_builtin_2): Adjust fold_builtin_strcat caller. | |
15638 | * gimple-fold.c (gimple_fold_builtin): Handle BUILT_IN_STRCAT. | |
15639 | ||
3e729145 UB |
15640 | 2014-01-20 Uros Bizjak <ubizjak@gmail.com> |
15641 | ||
15642 | * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false | |
15643 | for SImode_address_operand operands, having only a REG argument. | |
15644 | ||
eee0e487 MS |
15645 | 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com> |
15646 | ||
15647 | * config/aarch64/aarch64-linux.h (GLIBC_DYNAMIC_LINKER): Expand | |
15648 | loader name using mbig-endian. | |
15649 | (LINUX_TARGET_LINK_SPEC): Pass linker -m flag. | |
15650 | ||
9e540e37 JG |
15651 | 2014-01-20 James Greenhalgh <james.greenhalgh@arm.com> |
15652 | ||
15653 | * doc/invoke.texi (-march): Clarify documentation for AArch64. | |
15654 | (-mtune): Likewise. | |
15655 | (-mcpu): Likewise. | |
15656 | ||
69675d50 TB |
15657 | 2014-01-20 Tejas Belagod <tejas.belagod@arm.com> |
15658 | ||
15659 | * config/aarch64/aarch64-protos.h | |
15660 | (aarch64_cannot_change_mode_class_ptr): Declare. | |
15661 | * config/aarch64/aarch64.c (aarch64_cannot_change_mode_class, | |
15662 | aarch64_cannot_change_mode_class_ptr): New. | |
15663 | * config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Change to call | |
15664 | backend hook aarch64_cannot_change_mode_class. | |
15665 | ||
ffee7aa9 JG |
15666 | 2014-01-20 James Greenhalgh <james.greenhalgh@arm.com> |
15667 | ||
15668 | * common/config/aarch64/aarch64-common.c | |
15669 | (aarch64_handle_option): Don't handle any option order logic here. | |
15670 | * config/aarch64/aarch64.c (aarch64_parse_arch): Do not override | |
15671 | selected_cpu, warn on architecture version mismatch. | |
15672 | (aarch64_override_options): Fix parsing order for option strings. | |
15673 | ||
c7169779 JBG |
15674 | 2014-01-20 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
15675 | Iain Sandoe <iain@codesourcery.com> | |
15676 | ||
15677 | PR bootstrap/59496 | |
15678 | * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Fix unused variable | |
15679 | warning. Amend comment to reflect current functionality. | |
15680 | ||
409b6ac1 RB |
15681 | 2014-01-20 Richard Biener <rguenther@suse.de> |
15682 | ||
15683 | PR middle-end/59860 | |
15684 | * builtins.c (fold_builtin_strcat): Remove case better handled | |
15685 | by tree-ssa-strlen.c. | |
15686 | ||
608df31f AL |
15687 | 2014-01-20 Alan Lawrence <alan.lawrence@arm.com> |
15688 | ||
15689 | * config/aarch64/aarch64.opt | |
15690 | (mcpu, march, mtune): Make case-insensitive. | |
15691 | ||
0fabe5f3 JJ |
15692 | 2014-01-20 Jakub Jelinek <jakub@redhat.com> |
15693 | ||
15694 | PR target/59880 | |
15695 | * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false | |
15696 | if operands[1] is a REG or ZERO_EXTEND of a REG. | |
15697 | ||
39960d1c | 15698 | 2014-01-19 Jan Hubicka <hubicka@ucw.cz> |
cdafab3d JH |
15699 | |
15700 | * varasm.c (compute_reloc_for_constant): Use targetm.binds_local_p. | |
15701 | ||
925cb97d JDA |
15702 | 2014-01-19 John David Anglin <danglin@gcc.gnu.org> |
15703 | ||
15704 | * config/pa/pa.c (pa_attr_length_millicode_call): Correct length of | |
15705 | long non-pic millicode calls. | |
15706 | ||
f43856db JBG |
15707 | 2014-01-19 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
15708 | ||
15709 | * config/vax/vax.h (FUNCTION_ARG_REGNO_P): Fix unused variable warning. | |
15710 | ||
d2be9965 ILT |
15711 | 2014-01-19 Kito Cheng <kito@0xlab.org> |
15712 | ||
15713 | * builtins.c (expand_movstr): Check movstr expand done or fail. | |
15714 | ||
efc90043 UB |
15715 | 2014-01-18 Uros Bizjak <ubizjak@gmail.com> |
15716 | H.J. Lu <hongjiu.lu@intel.com> | |
15717 | ||
15718 | PR target/59379 | |
15719 | * config/i386/i386.md (*lea<mode>): Zero-extend return register | |
15720 | to DImode for zero-extended addresses. | |
15721 | ||
8fce217e JJ |
15722 | 2014-01-19 Jakub Jelinek <jakub@redhat.com> |
15723 | ||
15724 | PR rtl-optimization/57763 | |
15725 | * bb-reorder.c (fix_crossing_unconditional_branches): Set JUMP_LABEL | |
15726 | on the new indirect jump_insn and increment LABEL_NUSES (label). | |
15727 | ||
efc90043 | 15728 | 2014-01-18 H.J. Lu <hongjiu.lu@intel.com> |
646bdeab L |
15729 | |
15730 | PR bootstrap/59580 | |
15731 | PR bootstrap/59583 | |
15732 | * config.gcc (x86_archs): New variable. | |
15733 | (x86_64_archs): Likewise. | |
15734 | (x86_cpus): Likewise. | |
15735 | Use $x86_archs, $x86_64_archs and $x86_cpus to check valid | |
15736 | --with-arch/--with-cpu= options. | |
15737 | Support --with-arch=/--with-cpu={nehalem,westmere, | |
15738 | sandybridge,ivybridge,haswell,broadwell,bonnell,silvermont}. | |
15739 | ||
7f3af6d3 UB |
15740 | 2014-01-18 Uros Bizjak <ubizjak@gmail.com> |
15741 | ||
15742 | * config/i386/i386.c (ix86_adjust_cost): Reorder PROCESSOR_K8 | |
15743 | and PROCESSOR_ATHLON to simplify code. Move "memory" calculation. | |
15744 | ||
15745 | 2014-01-18 Uros Bizjak <ubizjak@gmail.com> | |
15746 | ||
15747 | * config/i386/i386.md (*swap<mode>): Rename from swap<mode>. | |
15748 | ||
fa5d6c75 JJ |
15749 | 2014-01-18 Jakub Jelinek <jakub@redhat.com> |
15750 | ||
15751 | PR target/58944 | |
15752 | * config/i386/i386-c.c (ix86_pragma_target_parse): Temporarily | |
15753 | clear cpp_get_options (parse_in)->warn_unused_macros for | |
15754 | ix86_target_macros_internal with cpp_define. | |
15755 | ||
04da5680 RS |
15756 | 2014-01-18 Richard Sandiford <rdsandiford@googlemail.com> |
15757 | ||
15758 | * jump.c (delete_related_insns): Keep (use (insn))s. | |
15759 | * reorg.c (redundant_insn): Check for barriers too. | |
15760 | ||
1e99bee5 L |
15761 | 2014-01-17 H.J. Lu <hongjiu.lu@intel.com> |
15762 | ||
7f3af6d3 | 15763 | * config/i386/i386.c (ix86_split_lea_for_addr): Fix a comment typo. |
1e99bee5 | 15764 | |
fa7d0c60 JDA |
15765 | 2014-01-17 John David Anglin <danglin@gcc.gnu.org> |
15766 | ||
15767 | * config/pa/pa.c (pa_attr_length_indirect_call): Don't output a short | |
15768 | call to $$dyncall when TARGET_LONG_CALLS is true. | |
15769 | ||
2043135a JL |
15770 | 2014-01-17 Jeff Law <law@redhat.com> |
15771 | ||
15772 | * ree.c (combine_set_extension): Temporarily disable test for | |
15773 | changing number of hard registers. | |
15774 | ||
39960d1c | 15775 | 2014-01-17 Jan Hubicka <hubicka@ucw.cz> |
f3e11e05 JH |
15776 | |
15777 | PR middle-end/58125 | |
15778 | * ipa-inline-analysis.c (inline_free_summary): | |
15779 | Do not free summary of aliases. | |
15780 | ||
664ceb1e JJ |
15781 | 2014-01-17 Jakub Jelinek <jakub@redhat.com> |
15782 | ||
15783 | PR middle-end/59706 | |
15784 | * gimplify.c (gimplify_expr): Use create_tmp_var | |
15785 | instead of create_tmp_var_raw. If cond doesn't have | |
15786 | integral type, don't add the IFN_ANNOTATE builtin at all. | |
15787 | ||
aef83682 MJ |
15788 | 2014-01-17 Martin Jambor <mjambor@suse.cz> |
15789 | ||
15790 | PR ipa/59736 | |
15791 | * ipa-cp.c (prev_edge_clone): New variable. | |
15792 | (grow_next_edge_clone_vector): Renamed to grow_edge_clone_vectors. | |
15793 | Also resize prev_edge_clone vector. | |
15794 | (ipcp_edge_duplication_hook): Also update prev_edge_clone. | |
15795 | (ipcp_edge_removal_hook): New function. | |
15796 | (ipcp_driver): Register ipcp_edge_removal_hook. | |
15797 | ||
4bb66ef3 | 15798 | 2014-01-17 Andrew Pinski <apinski@cavium.com> |
3b9c787b AP |
15799 | Steve Ellcey <sellcey@mips.com> |
15800 | ||
15801 | PR target/59462 | |
15802 | * config/mips/mips.c (mips_print_operand): Check operand mode instead | |
15803 | of operator mode. | |
15804 | ||
4ee5c752 JL |
15805 | 2014-01-17 Jeff Law <law@redhat.com> |
15806 | ||
15807 | PR middle-end/57904 | |
15808 | * passes.def: Reorder pass_copy_prop, pass_unrolli, pass_ccp sequence | |
15809 | so that pass_ccp runs first. | |
15810 | ||
40cfac7c L |
15811 | 2014-01-17 H.J. Lu <hongjiu.lu@intel.com> |
15812 | ||
15813 | * config/i386/i386.c (ix86_lea_outperforms): Use TARGET_XXX. | |
15814 | (ix86_adjust_cost): Use !TARGET_XXX. | |
15815 | (do_reorder_for_imul): Likewise. | |
15816 | (swap_top_of_ready_list): Likewise. | |
15817 | (ix86_sched_reorder): Likewise. | |
15818 | ||
9a7f94d7 L |
15819 | 2014-01-17 H.J. Lu <hongjiu.lu@intel.com> |
15820 | ||
15821 | * config/i386/i386-c.c (ix86_target_macros_internal): Handle | |
15822 | PROCESSOR_INTEL. Treat like PROCESSOR_GENERIC. | |
15823 | * config/i386/i386.c (intel_memcpy): New. Duplicate slm_memcpy. | |
15824 | (intel_memset): New. Duplicate slm_memset. | |
15825 | (intel_cost): New. Duplicate slm_cost. | |
15826 | (m_INTEL): New macro. | |
15827 | (processor_target_table): Add "intel". | |
15828 | (ix86_option_override_internal): Replace PROCESSOR_SILVERMONT | |
15829 | with PROCESSOR_INTEL for "intel". | |
15830 | (ix86_lea_outperforms): Support PROCESSOR_INTEL. Duplicate | |
15831 | PROCESSOR_SILVERMONT. | |
9a7f94d7 L |
15832 | (ix86_issue_rate): Likewise. |
15833 | (ix86_adjust_cost): Likewise. | |
15834 | (ia32_multipass_dfa_lookahead): Likewise. | |
15835 | (swap_top_of_ready_list): Likewise. | |
15836 | (ix86_sched_reorder): Likewise. | |
8cdcf750 L |
15837 | (ix86_avoid_lea_for_addr): Check TARGET_AVOID_LEA_FOR_ADDR |
15838 | instead of TARGET_OPT_AGU. | |
9a7f94d7 L |
15839 | * config/i386/i386.h (TARGET_INTEL): New. |
15840 | (TARGET_AVOID_LEA_FOR_ADDR): Likewise. | |
15841 | (processor_type): Add PROCESSOR_INTEL. | |
7f3af6d3 UB |
15842 | * config/i386/x86-tune.def: Support m_INTEL. Duplicate m_SILVERMONT. |
15843 | Add X86_TUNE_AVOID_LEA_FOR_ADDR. | |
9a7f94d7 | 15844 | |
30078c0a MP |
15845 | 2014-01-17 Marek Polacek <polacek@redhat.com> |
15846 | ||
15847 | PR c/58346 | |
15848 | * gimple-fold.c (fold_array_ctor_reference): Don't fold if element | |
15849 | size is zero. | |
15850 | ||
14379e66 RB |
15851 | 2014-01-17 Richard Biener <rguenther@suse.de> |
15852 | ||
15853 | PR tree-optimization/46590 | |
15854 | * opts.c (default_options_table): Add entries for | |
15855 | OPT_fbranch_count_reg, OPT_fmove_loop_invariants and OPT_ftree_pta, | |
15856 | all enabled at -O1 but not for -Og. | |
15857 | * common.opt (fbranch-count-reg): Remove Init(1). | |
15858 | (fmove-loop-invariants): Likewise. | |
15859 | (ftree-pta): Likewise. | |
15860 | ||
f7d594d2 JJ |
15861 | 2014-01-17 Jakub Jelinek <jakub@redhat.com> |
15862 | ||
88e18bd5 JJ |
15863 | * config/i386/i386.c (ix86_data_alignment): For compatibility with |
15864 | (incorrect) GCC 4.8 and earlier alignment assumptions ensure we align | |
15865 | decls to at least the GCC 4.8 used alignments. | |
15866 | ||
f7d594d2 JJ |
15867 | PR fortran/59440 |
15868 | * tree-nested.c (convert_nonlocal_reference_stmt, | |
15869 | convert_local_reference_stmt): For NAMELIST_DECLs in gimple_bind_vars | |
15870 | of GIMPLE_BIND stmts, adjust associated decls. | |
15871 | ||
32500433 RB |
15872 | 2014-01-17 Richard Biener <rguenther@suse.de> |
15873 | ||
15874 | PR tree-optimization/46590 | |
15875 | * vec.h (vec<>::bseach): New member function implementing | |
15876 | binary search according to C89 bsearch. | |
15877 | (vec<>::qsort): Avoid calling ::qsort for vectors with sizes 0 or 1. | |
15878 | * tree-ssa-loop-im.c (struct mem_ref): Make stored member a | |
15879 | bitmap pointer again. Make accesses_in_loop a flat array. | |
15880 | (mem_ref_obstack): New global. | |
15881 | (outermost_indep_loop): Adjust for mem_ref->stored changes. | |
15882 | (mark_ref_stored): Likewise. | |
15883 | (ref_indep_loop_p_2): Likewise. | |
15884 | (set_ref_stored_in_loop): New helper function. | |
15885 | (mem_ref_alloc): Allocate mem_refs on the mem_ref_obstack obstack. | |
15886 | (memref_free): Adjust. | |
15887 | (record_mem_ref_loc): Simplify. | |
15888 | (gather_mem_refs_stmt): Adjust. | |
15889 | (sort_locs_in_loop_postorder_cmp): New function. | |
15890 | (analyze_memory_references): Sort accesses_in_loop after | |
15891 | loop postorder number. | |
15892 | (find_ref_loc_in_loop_cmp): New function. | |
15893 | (for_all_locs_in_loop): Find relevant cluster of locs in | |
15894 | accesses_in_loop and iterate without recursion. | |
15895 | (execute_sm): Avoid uninit warning. | |
15896 | (struct ref_always_accessed): Simplify. | |
15897 | (ref_always_accessed::operator ()): Likewise. | |
15898 | (ref_always_accessed_p): Likewise. | |
15899 | (tree_ssa_lim_initialize): Initialize mem_ref_obstack, compute | |
15900 | loop postorder numbers here. | |
15901 | (tree_ssa_lim_finalize): Free mem_ref_obstack and loop postorder | |
15902 | numbers. | |
15903 | ||
24fcf4bc JJ |
15904 | 2014-01-17 Jan Hubicka <hubicka@ucw.cz> |
15905 | ||
15906 | PR c++/57945 | |
15907 | * passes.c (rest_of_decl_compilation): Don't call varpool_finalize_decl | |
15908 | on decls for which assemble_alias has been called. | |
15909 | ||
d4f283a1 NC |
15910 | 2014-01-17 Nick Clifton <nickc@redhat.com> |
15911 | ||
15912 | * config/msp430/msp430.opt: (mcpu): New option. | |
15913 | * config/msp430/msp430.c (msp430_mcu_name): Use target_mcu. | |
15914 | (msp430_option_override): Parse target_cpu. If the MCU name | |
15915 | matches a generic string, clear target_mcu. | |
15916 | (msp430_attr): Allow numeric interrupt values up to 63. | |
15917 | (msp430_expand_epilogue): No longer invert operand 1 of gen_popm. | |
15918 | * config/msp430/msp430.h (ASM_SPEC): Convert -mcpu into a -mmcu | |
15919 | option. | |
15920 | * config/msp430/t-msp430: (MULTILIB_MATCHES): Remove mcu matches. | |
15921 | Add mcpu matches. | |
15922 | * config/msp430/msp430.md (popm): Use %J rather than %I. | |
15923 | (addsi3): Use msp430_nonimmediate_operand for operand 2. | |
15924 | (addhi_cy_i): Use immediate_operand for operand 2. | |
15925 | * doc/invoke.texi: Document -mcpu option. | |
15926 | ||
7be64667 RB |
15927 | 2014-01-17 Richard Biener <rguenther@suse.de> |
15928 | ||
15929 | PR rtl-optimization/38518 | |
15930 | * df.h (df_analyze_loop): Declare. | |
15931 | * df-core.c: Include cfgloop.h. | |
15932 | (df_analyze_1): Split out main part of df_analyze. | |
15933 | (df_analyze): Adjust. | |
15934 | (loop_inverted_post_order_compute): New function. | |
15935 | (loop_post_order_compute): Likewise. | |
15936 | (df_analyze_loop): New function avoiding whole-function | |
15937 | postorder computes. | |
15938 | * loop-invariant.c (find_defs): Use df_analyze_loop. | |
15939 | (find_invariants): Adjust. | |
15940 | * loop-iv.c (iv_analysis_loop_init): Use df_analyze_loop. | |
15941 | ||
82a197a2 ZC |
15942 | 2014-01-17 Zhenqiang Chen <zhenqiang.chen@arm.com> |
15943 | ||
15944 | * config/arm/arm.c (arm_v7m_tune): Set max_insns_skipped to 2. | |
15945 | (thumb2_final_prescan_insn): Set max to MAX_INSN_PER_IT_BLOCK. | |
15946 | ||
c68b3f52 IE |
15947 | 2014-01-16 Ilya Enkovich <ilya.enkovich@intel.com> |
15948 | ||
15949 | * ipa-ref.c (ipa_remove_stmt_references): Fix references | |
15950 | traversal when removing references. | |
15951 | ||
39960d1c | 15952 | 2014-01-16 Jan Hubicka <hubicka@ucw.cz> |
f910753d JH |
15953 | |
15954 | PR ipa/59775 | |
15955 | * tree.c (get_binfo_at_offset): Look harder for virtual bases. | |
15956 | ||
9e6f9ad6 BS |
15957 | 2014-01-16 Bernd Schmidt <bernds@codesourcery.com> |
15958 | ||
15959 | PR middle-end/56791 | |
15960 | * reload.c (find_reloads_address_1): Do not use RELOAD_OTHER when | |
15961 | pushing a reload for an autoinc when we had previously reloaded an | |
15962 | inner part of the address. | |
15963 | ||
a611d7cb JJ |
15964 | 2014-01-16 Jakub Jelinek <jakub@redhat.com> |
15965 | ||
d1417442 JJ |
15966 | * tree-vectorizer.h (struct _loop_vec_info): Add no_data_dependencies |
15967 | field. | |
15968 | (LOOP_VINFO_NO_DATA_DEPENDENCIES): Define. | |
15969 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Clear it | |
15970 | when not giving up or versioning for alias only because of | |
15971 | loop->safelen. | |
15972 | (vect_analyze_data_ref_dependences): Set to true. | |
15973 | * tree-vect-stmts.c (hoist_defs_of_uses): Return false if def_stmt | |
15974 | is a GIMPLE_PHI. | |
15975 | (vectorizable_load): Use LOOP_VINFO_NO_DATA_DEPENDENCIES instead of | |
15976 | LOOP_REQUIRES_VERSIONING_FOR_ALIAS, add && !nested_in_vect_loop | |
15977 | to the condition. | |
15978 | ||
42ed6cde JJ |
15979 | PR middle-end/58344 |
15980 | * expr.c (expand_expr_real_1): Handle init == NULL_TREE. | |
15981 | ||
a611d7cb | 15982 | PR target/59839 |
7f3af6d3 UB |
15983 | * config/i386/i386.c (ix86_expand_builtin): If target doesn't satisfy |
15984 | operand 0 predicate for gathers, use a new pseudo as subtarget. | |
a611d7cb | 15985 | |
8f21260c VM |
15986 | 2014-01-16 Vladimir Makarov <vmakarov@redhat.com> |
15987 | ||
15988 | PR middle-end/59609 | |
7f3af6d3 UB |
15989 | * lra-constraints.c (process_alt_operands): Add printing debug info. |
15990 | Check absence of input/output reloads for matched operands too. | |
8f21260c | 15991 | |
1a788c05 VM |
15992 | 2014-01-16 Vladimir Makarov <vmakarov@redhat.com> |
15993 | ||
15994 | PR rtl-optimization/59835 | |
15995 | * ira.c (ira_init_register_move_cost): Increase cost for | |
15996 | impossible modes. | |
15997 | ||
4cf24d27 AL |
15998 | 2014-01-16 Alan Lawrence <alan.lawrence@arm.com> |
15999 | ||
cc3a9f0d | 16000 | * config/arm/arm.opt (mcpu, march, mtune): Make case-insensitive. |
4cf24d27 | 16001 | |
030d03b8 RE |
16002 | 2014-01-16 Richard Earnshaw <rearnsha@arm.com> |
16003 | ||
16004 | PR target/59780 | |
16005 | * aarch64.c (aarch64_split_128bit_move): Don't lookup REGNO on | |
16006 | non-register objects. Use gen_(high/low)part more consistently. | |
16007 | Fix assertions. | |
16008 | ||
e78f06a8 MM |
16009 | 2014-01-16 Michael Meissner <meissner@linux.vnet.ibm.com> |
16010 | ||
16011 | PR target/59844 | |
16012 | * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Add little | |
16013 | endian support, remove tests for WORDS_BIG_ENDIAN. | |
16014 | (p8_mfvsrd_3_<mode>): Likewise. | |
16015 | (reload_gpr_from_vsx<mode>): Likewise. | |
16016 | (reload_gpr_from_vsxsf): Likewise. | |
16017 | (p8_mfvsrd_4_disf): Likewise. | |
16018 | ||
9d1ae52c RB |
16019 | 2014-01-16 Richard Biener <rguenther@suse.de> |
16020 | ||
16021 | PR rtl-optimization/46590 | |
16022 | * lcm.c (compute_antinout_edge): Use postorder iteration. | |
16023 | (compute_laterin): Use inverted postorder iteration. | |
16024 | ||
54c7a7f3 NC |
16025 | 2014-01-16 Nick Clifton <nickc@redhat.com> |
16026 | ||
16027 | PR middle-end/28865 | |
16028 | * varasm.c (output_constant): Return the number of bytes actually | |
16029 | emitted. | |
16030 | (output_constructor_array_range): Update the field size with the | |
16031 | number of bytes emitted by output_constant. | |
16032 | (output_constructor_regular_field): Likewise. Also do not | |
16033 | complain if the total number of bytes emitted is now greater | |
16034 | than the expected fieldpos. | |
7f3af6d3 | 16035 | * output.h (output_constant): Update prototype and descriptive comment. |
54c7a7f3 | 16036 | |
5147d10a MP |
16037 | 2014-01-16 Marek Polacek <polacek@redhat.com> |
16038 | ||
16039 | PR middle-end/59827 | |
16040 | * cgraph.c (gimple_check_call_args): Don't use DECL_ARG_TYPE if | |
16041 | it is error_mark_node. | |
16042 | ||
4ac005ba UB |
16043 | 2014-01-15 Uros Bizjak <ubizjak@gmail.com> |
16044 | ||
16045 | * config/i386/i386.c (ix86_hard_regno_mode_ok): Use | |
16046 | VALID_AVX256_REG_OR_OI_MODE. | |
16047 | ||
5d7574fa PH |
16048 | 2014-01-15 Pat Haugen <pthaugen@us.ibm.com> |
16049 | ||
16050 | * config/rs6000/rs6000.c (rs6000_output_function_prologue): Check if | |
16051 | current procedure should be profiled. | |
16052 | ||
6ee70f81 AP |
16053 | 2014-01-15 Andrew Pinski <apinski@cavium.com> |
16054 | ||
16055 | * config/aarch64/aarch64.c (aarch64_register_move_cost): Correct cost | |
16056 | of moving from/to the STACK_REG register class. | |
16057 | ||
004a7e45 | 16058 | 2014-01-15 Richard Henderson <rth@redhat.com> |
af6e8467 RH |
16059 | |
16060 | PR debug/54694 | |
16061 | * reginfo.c (global_regs_decl): Globalize. | |
16062 | * rtl.h (global_regs_decl): Declare. | |
16063 | * ira.c (do_reload): Diagnose frame_pointer_needed and it | |
16064 | reserved via global_regs. | |
16065 | ||
4583fada TJ |
16066 | 2014-01-15 Teresa Johnson <tejohnson@google.com> |
16067 | ||
16068 | * tree-ssa-sccvn.c (visit_reference_op_call): Handle NULL vdef. | |
16069 | ||
d13dfec8 BS |
16070 | 2014-01-15 Bill Schmidt <wschmidt@vnet.linux.ibm.com> |
16071 | ||
16072 | * config/rs6000/altivec.md (mulv8hi3): Explicitly generate vmulesh | |
16073 | and vmulosh rather than call gen_vec_widen_smult_*. | |
16074 | (vec_widen_umult_even_v16qi): Test VECTOR_ELT_ORDER_BIG rather | |
16075 | than BYTES_BIG_ENDIAN to determine use of even or odd instruction. | |
16076 | (vec_widen_smult_even_v16qi): Likewise. | |
16077 | (vec_widen_umult_even_v8hi): Likewise. | |
16078 | (vec_widen_smult_even_v8hi): Likewise. | |
16079 | (vec_widen_umult_odd_v16qi): Likewise. | |
16080 | (vec_widen_smult_odd_v16qi): Likewise. | |
16081 | (vec_widen_umult_odd_v8hi): Likewise. | |
16082 | (vec_widen_smult_odd_v8hi): Likewise. | |
16083 | (vec_widen_umult_hi_v16qi): Explicitly generate vmuleub and | |
16084 | vmuloub rather than call gen_vec_widen_umult_*. | |
16085 | (vec_widen_umult_lo_v16qi): Likewise. | |
16086 | (vec_widen_smult_hi_v16qi): Explicitly generate vmulesb and | |
16087 | vmulosb rather than call gen_vec_widen_smult_*. | |
16088 | (vec_widen_smult_lo_v16qi): Likewise. | |
16089 | (vec_widen_umult_hi_v8hi): Explicitly generate vmuleuh and vmulouh | |
16090 | rather than call gen_vec_widen_umult_*. | |
16091 | (vec_widen_umult_lo_v8hi): Likewise. | |
16092 | (vec_widen_smult_hi_v8hi): Explicitly gnerate vmulesh and vmulosh | |
16093 | rather than call gen_vec_widen_smult_*. | |
16094 | (vec_widen_smult_lo_v8hi): Likewise. | |
16095 | ||
a6a2d67b JL |
16096 | 2014-01-15 Jeff Law <law@redhat.com> |
16097 | ||
16098 | PR tree-optimization/59747 | |
16099 | * ree.c (find_and_remove_re): Properly handle case where a second | |
16100 | eliminated extension requires widening a copy created for elimination | |
16101 | of a prior extension. | |
16102 | (combine_set_extension): Ensure that the number of hard regs needed | |
16103 | for a destination register does not change when we widen it. | |
16104 | ||
aefe4056 SH |
16105 | 2014-01-15 Sebastian Huber <sebastian.huber@embedded-brains.de> |
16106 | ||
16107 | * config.gcc (*-*-rtems*): Add t-rtems to tmake_file. | |
16108 | (arm*-*-uclinux*eabi*): Do not override an existing tmake_file. | |
16109 | (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*): Likwise. | |
16110 | (arm*-*-rtems*): Use t-rtems from existing tmake_file. | |
16111 | (avr-*-rtems*): Likewise. | |
16112 | (bfin*-rtems*): Likewise. | |
16113 | (moxie-*-rtems*): Likewise. | |
16114 | (h8300-*-rtems*): Likewise. | |
16115 | (i[34567]86-*-rtems*): Likewise. | |
16116 | (lm32-*-rtems*): Likewise. | |
16117 | (m32r-*-rtems*): Likewise. | |
16118 | (m68k-*-rtems*): Likewise. | |
16119 | (microblaze*-*-rtems*): Likewise. | |
16120 | (mips*-*-rtems*): Likewise. | |
16121 | (powerpc-*-rtems*): Likewise. | |
16122 | (sh-*-rtems*): Likewise. | |
16123 | (sparc-*-rtems*): Likewise. | |
16124 | (sparc64-*-rtems*): Likewise. | |
16125 | (v850-*-rtems*): Likewise. | |
16126 | (m32c-*-rtems*): Likewise. | |
16127 | ||
fef37404 VM |
16128 | 2014-01-15 Vladimir Makarov <vmakarov@redhat.com> |
16129 | ||
16130 | PR rtl-optimization/59511 | |
16131 | * ira.c (ira_init_register_move_cost): Use memory costs for some | |
16132 | cases of register move cost calculations. | |
16133 | * lra-constraints.c (lra_constraints): Use REG_FREQ_FROM_BB | |
16134 | instead of BB frequency. | |
16135 | * lra-coalesce.c (move_freq_compare_func, lra_coalesce): Ditto. | |
16136 | * lra-assigns.c (find_hard_regno_for): Ditto. | |
16137 | ||
6b916b36 RB |
16138 | 2014-01-15 Richard Biener <rguenther@suse.de> |
16139 | ||
16140 | PR tree-optimization/59822 | |
16141 | * tree-vect-stmts.c (hoist_defs_of_uses): New function. | |
16142 | (vectorizable_load): Use it to hoist defs of uses of invariant | |
16143 | loads out of the loop. | |
16144 | ||
d103f29b | 16145 | 2014-01-15 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org> |
1287ae50 | 16146 | Kugan Vivekanandarajah <kuganv@linaro.org> |
d103f29b MGD |
16147 | |
16148 | PR target/59695 | |
16149 | * config/aarch64/aarch64.c (aarch64_build_constant): Fix incorrect | |
16150 | truncation. | |
16151 | ||
95cb8697 RB |
16152 | 2014-01-15 Richard Biener <rguenther@suse.de> |
16153 | ||
16154 | PR rtl-optimization/59802 | |
16155 | * lcm.c (compute_available): Use inverted postorder to seed | |
16156 | the initial worklist. | |
16157 | ||
cb4b6d17 AK |
16158 | 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
16159 | ||
1c8b5303 | 16160 | PR target/59803 |
cb4b6d17 AK |
16161 | * config/s390/s390.c (s390_preferred_reload_class): Don't return |
16162 | ADDR_REGS for invalid symrefs in non-PIC code. | |
16163 | ||
2738b4c7 JJ |
16164 | 2014-01-15 Jakub Jelinek <jakub@redhat.com> |
16165 | ||
16166 | PR other/58712 | |
16167 | * builtins.c (determine_block_size): Initialize *probable_max_size | |
16168 | even if len_rtx is CONST_INT. | |
16169 | ||
d126a4ae AP |
16170 | 2014-01-14 Andrew Pinski <apinski@cavium.com> |
16171 | ||
16172 | * config/aarch64/aarch64-protos.h (tune_params): Add issue_rate. | |
16173 | * config/aarch64/aarch64.c (generic_tunings): Add issue rate of 2. | |
16174 | (cortexa53_tunings): Likewise. | |
16175 | (aarch64_sched_issue_rate): New function. | |
16176 | (TARGET_SCHED_ISSUE_RATE): Define. | |
16177 | ||
dc687582 VM |
16178 | 2014-01-14 Vladimir Makarov <vmakarov@redhat.com> |
16179 | ||
16180 | * ira-costs.c (find_costs_and_classes): Add missed | |
16181 | ira_init_register_move_cost_if_necessary. | |
16182 | ||
e940b2ec VM |
16183 | 2014-01-14 Vladimir Makarov <vmakarov@redhat.com> |
16184 | ||
16185 | PR target/59787 | |
16186 | * config/arm/arm.c (arm_coproc_mem_operand): Add lra_in_progress. | |
16187 | ||
3292e376 L |
16188 | 2014-01-14 H.J. Lu <hongjiu.lu@intel.com> |
16189 | ||
16190 | PR target/59794 | |
16191 | * config/i386/i386.c (type_natural_mode): Add a bool parameter | |
4ac005ba UB |
16192 | to indicate if type is used for function return value. Warn ABI |
16193 | change if the vector mode isn't available for function return value. | |
3292e376 L |
16194 | (ix86_function_arg_advance): Pass false to type_natural_mode. |
16195 | (ix86_function_arg): Likewise. | |
16196 | (ix86_gimplify_va_arg): Likewise. | |
16197 | (function_arg_32): Don't warn ABI change. | |
16198 | (ix86_function_value): Pass true to type_natural_mode. | |
16199 | (ix86_return_in_memory): Likewise. | |
16200 | (ix86_struct_value_rtx): Removed. | |
16201 | (TARGET_STRUCT_VALUE_RTX): Likewise. | |
16202 | ||
db930875 RS |
16203 | 2014-01-14 Richard Sandiford <rsandifo@linux.vnet.ibm.com> |
16204 | ||
16205 | * jump.c (redirect_jump_2): Remove REG_CROSSING_JUMP notes when | |
16206 | converting a conditional jump into a conditional return. | |
16207 | ||
a0e35eb0 RB |
16208 | 2014-01-14 Richard Biener <rguenther@suse.de> |
16209 | ||
16210 | PR tree-optimization/58921 | |
16211 | PR tree-optimization/59006 | |
16212 | * tree-vect-loop-manip.c (vect_loop_versioning): Remove code | |
16213 | hoisting invariant stmts. | |
16214 | * tree-vect-stmts.c (vectorizable_load): Insert the splat of | |
16215 | invariant loads on the preheader edge if possible. | |
16216 | ||
a984e92e JY |
16217 | 2014-01-14 Joey Ye <joey.ye@arm.com> |
16218 | ||
16219 | * doc/plugin.texi (Building GCC plugins): Update to C++. | |
16220 | ||
c56a42b9 KY |
16221 | 2014-01-14 Kirill Yukhin <kirill.yukhin@intel.com> |
16222 | ||
3292e376 | 16223 | * config/i386/avx512erintrin.h (_mm_rcp28_round_sd): New. |
c56a42b9 KY |
16224 | (_mm_rcp28_round_ss): Ditto. |
16225 | (_mm_rsqrt28_round_sd): Ditto. | |
16226 | (_mm_rsqrt28_round_ss): Ditto. | |
16227 | (_mm_rcp28_sd): Ditto. | |
16228 | (_mm_rcp28_ss): Ditto. | |
16229 | (_mm_rsqrt28_sd): Ditto. | |
16230 | (_mm_rsqrt28_ss): Ditto. | |
16231 | * config/i386/avx512fintrin.h (_mm512_stream_load_si512): Ditto. | |
16232 | * config/i386/i386-builtin-types.def (V8DI_FTYPE_PV8DI): Ditto. | |
16233 | * config/i386/i386.c (IX86_BUILTIN_MOVNTDQA512): Ditto. | |
16234 | (IX86_BUILTIN_RCP28SD): Ditto. | |
16235 | (IX86_BUILTIN_RCP28SS): Ditto. | |
16236 | (IX86_BUILTIN_RSQRT28SD): Ditto. | |
16237 | (IX86_BUILTIN_RSQRT28SS): Ditto. | |
16238 | (bdesc_special_args): Define __builtin_ia32_movntdqa512, | |
16239 | __builtin_ia32_rcp28sd_round, __builtin_ia32_rcp28ss_round, | |
16240 | __builtin_ia32_rsqrt28sd_round, __builtin_ia32_rsqrt28ss_round. | |
16241 | (ix86_expand_special_args_builtin): Expand new FTYPE. | |
16242 | * config/i386/sse.md (define_mode_attr "sse4_1_avx2"): Expand to V8DI. | |
16243 | (srcp14<mode>): Make insn unary. | |
16244 | (avx512f_vmscalef<mode><round_name>): Use substed predicate. | |
16245 | (avx512f_sgetexp<mode><round_saeonly_name>): Ditto. | |
16246 | (avx512f_rndscale<mode><round_saeonly_name>): Ditto. | |
16247 | (<sse4_1_avx2>_movntdqa): Extend to 512 bits. | |
16248 | (avx512er_exp2<mode><mask_name><round_saeonly_name>): | |
16249 | Fix rounding: make it SAE only. | |
4ac005ba UB |
16250 | (<mask_codefor>avx512er_rcp28<mode><mask_name><round_saeonly_name>): |
16251 | Ditto. | |
16252 | (<mask_codefor>avx512er_rsqrt28<mode><mask_name><round_saeonly_name>): | |
16253 | Ditto. | |
c56a42b9 KY |
16254 | (avx512er_vmrcp28<mode><round_saeonly_name>): Ditto. |
16255 | (avx512er_vmrsqrt28<mode><round_saeonly_name>): Ditto. | |
16256 | (avx512f_getmant<mode><mask_name><round_saeonly_name>): Ditto. | |
16257 | * config/i386/subst.md (round_saeonly_mask_scalar_operand3): Remove. | |
16258 | (round_saeonly_mask_scalar_operand4): Ditto. | |
16259 | (round_saeonly_mask_scalar_op3): Ditto. | |
16260 | (round_saeonly_mask_scalar_op4): Ditto. | |
16261 | ||
09fccb62 BS |
16262 | 2014-01-13 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
16263 | ||
16264 | * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): | |
16265 | Implement -maltivec=be for vec_insert and vec_extract. | |
16266 | ||
fb28dac0 DD |
16267 | 2014-01-10 DJ Delorie <dj@redhat.com> |
16268 | ||
16269 | * config/msp430/msp430.md (call_internal): Don't allow memory | |
16270 | references with SP as the base register. | |
16271 | (call_value_internal): Likewise. | |
16272 | * config/msp430/constraints.md (Yc): New. For memory references | |
16273 | that don't use SP as a base register. | |
16274 | ||
16275 | * config/msp430/msp430.c (msp430_print_operand): Add 'J' to mean | |
16276 | "an integer without a # prefix" | |
16277 | * config/msp430/msp430.md (epilogue_helper): Use it. | |
16278 | ||
19e51b40 JJ |
16279 | 2014-01-13 Jakub Jelinek <jakub@redhat.com> |
16280 | ||
03b9e8e4 JJ |
16281 | PR target/59617 |
16282 | * config/i386/i386.c (ix86_vectorize_builtin_gather): Uncomment | |
16283 | AVX512F gather builtins. | |
16284 | * tree-vect-stmts.c (vectorizable_mask_load_store): For now punt | |
16285 | on gather decls with INTEGER_TYPE masktype. | |
16286 | (vectorizable_load): For INTEGER_TYPE masktype, put the INTEGER_CST | |
16287 | directly into the builtin rather than hoisting it before loop. | |
16288 | ||
19e51b40 JJ |
16289 | PR tree-optimization/59387 |
16290 | * tree-scalar-evolution.c: Include gimple-fold.h and gimplify-me.h. | |
16291 | (scev_const_prop): If folded_casts and type has undefined overflow, | |
16292 | use force_gimple_operand instead of force_gimple_operand_gsi and | |
16293 | for each added stmt if it is assign with | |
16294 | arith_code_with_undefined_signed_overflow, call | |
16295 | rewrite_to_defined_overflow. | |
16296 | * tree-ssa-loop-im.c: Don't include gimplify-me.h, include | |
16297 | gimple-fold.h instead. | |
16298 | (arith_code_with_undefined_signed_overflow, | |
16299 | rewrite_to_defined_overflow): Moved to ... | |
16300 | * gimple-fold.c (arith_code_with_undefined_signed_overflow, | |
16301 | rewrite_to_defined_overflow): ... here. No longer static. | |
16302 | Include gimplify-me.h. | |
16303 | * gimple-fold.h (arith_code_with_undefined_signed_overflow, | |
16304 | rewrite_to_defined_overflow): New prototypes. | |
16305 | ||
cd794ed4 KT |
16306 | 2014-01-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
16307 | ||
16308 | * config/arm/arm.h (MAX_CONDITIONAL_EXECUTE): Fix typo in description. | |
16309 | ||
e75fde1a EB |
16310 | 2014-01-13 Eric Botcazou <ebotcazou@adacore.com> |
16311 | ||
16312 | * builtins.c (get_object_alignment_2): Minor tweak. | |
16313 | * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Rewrite. | |
16314 | ||
eae298d6 CB |
16315 | 2014-01-13 Christian Bruel <christian.bruel@st.com> |
16316 | ||
16317 | * config/sh/sh-mem.cc (sh_expand_cmpnstr): Unroll small sizes and | |
e75fde1a | 16318 | optimized non constant lengths. |
eae298d6 | 16319 | |
8175be9a JJ |
16320 | 2014-01-13 Jakub Jelinek <jakub@redhat.com> |
16321 | ||
16322 | PR libgomp/59194 | |
16323 | * omp-low.c (expand_omp_atomic_pipeline): Expand the initial | |
16324 | load as __atomic_load_N if possible. | |
16325 | ||
9c111368 DE |
16326 | 2014-01-11 David Edelsohn <dje.gcc@gmail.com> |
16327 | ||
16328 | * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): Remove | |
16329 | target parameter. | |
16330 | (rs6000_expand_builtin): Adjust call. | |
16331 | ||
c82846bc DE |
16332 | 2014-01-11 David Edelsohn <dje.gcc@gmail.com> |
16333 | ||
16334 | PR target/58115 | |
16335 | * config/rs6000/rs6000.h (SWITCHABLE_TARGET): Define. | |
16336 | * config/rs6000/rs6000.c: Include target-globals.h. | |
16337 | (rs6000_set_current_function): Instead of doing target_reinit | |
16338 | unconditionally, use save_target_globals_default_opts and | |
16339 | restore_target_globals. | |
16340 | ||
16341 | * config/rs6000/rs6000-builtin.def (mffs, mtfsf): Add builtins for | |
16342 | FPSCR. | |
16343 | * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): New. | |
16344 | (rs6000_expand_builtin): Handle mffs and mtfsf. | |
16345 | (rs6000_init_builtins): Define mffs and mtfsf. | |
16346 | * config/rs6000/rs6000.md (UNSPECV_MFFS, UNSPECV_MTFSF): New constants. | |
16347 | (rs6000_mffs): New pattern. | |
16348 | (rs6000_mtfsf): New pattern. | |
16349 | ||
2c407426 BC |
16350 | 2014-01-11 Bin Cheng <bin.cheng@arm.com> |
16351 | ||
16352 | * tree-ssa-loop-ivopts.c (iv_ca_narrow): New parameter. | |
16353 | Start narrowing with START. Apply candidate-use pair | |
16354 | and check overall cost in narrowing. | |
16355 | (iv_ca_prune): Pass new argument. | |
16356 | ||
7e41c852 JL |
16357 | 2014-01-10 Jeff Law <law@redhat.com> |
16358 | ||
16359 | PR middle-end/59743 | |
16360 | * ree.c (combine_reaching_defs): Ensure the defining statement | |
16361 | occurs before the extension when optimizing extensions with | |
16362 | different source and destination hard registers. | |
16363 | ||
39960d1c | 16364 | 2014-01-10 Jan Hubicka <hubicka@ucw.cz> |
b270b096 JH |
16365 | |
16366 | PR ipa/58585 | |
4ac005ba UB |
16367 | * ipa-devirt.c (build_type_inheritance_graph): Also add types of |
16368 | vtables into the type inheritance graph. | |
b270b096 | 16369 | |
0d6d7b9a JJ |
16370 | 2014-01-10 Jakub Jelinek <jakub@redhat.com> |
16371 | ||
16372 | PR rtl-optimization/59754 | |
16373 | * ree.c (combine_reaching_defs): Disallow !SCALAR_INT_MODE_P | |
16374 | modes in the REGNO != REGNO case. | |
16375 | ||
110132c1 BS |
16376 | 2014-01-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
16377 | ||
16378 | * config/rs6000/rs6000-builtin.def: Fix pasto for VPKSDUS. | |
16379 | ||
5da96960 JJ |
16380 | 2014-01-10 Jakub Jelinek <jakub@redhat.com> |
16381 | ||
4f87d581 JJ |
16382 | PR tree-optimization/59745 |
16383 | * tree-predcom.c (tree_predictive_commoning_loop): Call | |
16384 | free_affine_expand_cache if giving up because components is NULL. | |
16385 | ||
5da96960 JJ |
16386 | * target-globals.c (save_target_globals): Allocate < 4KB structs using |
16387 | GC in payload of target_globals struct instead of allocating them on | |
16388 | the heap and the larger structs separately using GC. | |
16389 | * target-globals.h (struct target_globals): Make regs, hard_regs, | |
16390 | reload, expmed, ira, ira_int and lra_fields GTY((atomic)) instead | |
16391 | of GTY((skip)) and change type to void *. | |
16392 | (reset_target_globals): Cast loads from those fields to corresponding | |
16393 | types. | |
16394 | ||
1aa26aac SE |
16395 | 2014-01-10 Steve Ellcey <sellcey@mips.com> |
16396 | ||
16397 | PR plugins/59335 | |
16398 | * Makefile.in (PLUGIN_HEADERS): Add gimplify.h, gimple-iterator.h, | |
16399 | gimple-ssa.h, fold-const.h, tree-cfg.h, tree-into-ssa.h, | |
16400 | tree-ssanames.h, print-tree.h, varasm.h, and context.h. | |
16401 | ||
1c992d1e RE |
16402 | 2014-01-10 Richard Earnshaw <rearnsha@arm.com> |
16403 | ||
7783a246 | 16404 | PR target/59744 |
1c992d1e RE |
16405 | * aarch64-modes.def (CC_Zmode): New flags mode. |
16406 | * aarch64.c (aarch64_select_cc_mode): Only allow NEG when the condition | |
16407 | represents an equality. | |
7783a246 | 16408 | (aarch64_get_condition_code): Handle CC_Zmode. |
1c992d1e RE |
16409 | * aarch64.md (compare_neg<mode>): Restrict to equality operations. |
16410 | ||
86464cbd AK |
16411 | 2014-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
16412 | ||
16413 | * config/s390/s390.c (s390_expand_tbegin): Remove jump over CC | |
16414 | extraction in good case. | |
16415 | ||
5e6667b2 RB |
16416 | 2014-01-10 Richard Biener <rguenther@suse.de> |
16417 | ||
16418 | PR tree-optimization/59374 | |
16419 | * tree-vect-slp.c (vect_slp_analyze_bb_1): Move dependence | |
16420 | checking after SLP discovery. Mark stmts not participating | |
16421 | in any SLP instance properly. | |
16422 | ||
5619162c KT |
16423 | 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
16424 | ||
16425 | * config/arm/arm.c (arm_new_rtx_costs): Use destination mode | |
16426 | when handling a SET rtx. | |
16427 | ||
2d17b99f KT |
16428 | 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
16429 | ||
16430 | * config/arm/arm-cores.def (cortex-a53): Specify FL_CRC32. | |
16431 | (cortex-a57): Likewise. | |
16432 | (cortex-a57.cortex-a53): Likewise. Remove redundant flags. | |
16433 | ||
bcca645c KT |
16434 | 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
16435 | ||
16436 | * config/arm/arm.c (arm_init_iwmmxt_builtins): Skip | |
16437 | non-iwmmxt builtins. | |
16438 | ||
a3788dde JH |
16439 | 2014-01-10 Jan Hubicka <hubicka@ucw.cz> |
16440 | ||
16441 | PR ipa/58252 | |
16442 | PR ipa/59226 | |
16443 | * ipa-devirt.c record_target_from_binfo): Take as argument | |
16444 | stack of binfos and lookup matching one for virtual inheritance. | |
16445 | (possible_polymorphic_call_targets_1): Update. | |
16446 | ||
87ed883e HC |
16447 | 2014-01-10 Huacai Chen <chenhc@lemote.com> |
16448 | ||
16449 | * config/mips/driver-native.c (host_detect_local_cpu): Handle new | |
16450 | kernel strings for Loongson-2E/2F/3A. | |
16451 | ||
cd4447e2 JJ |
16452 | 2014-01-10 Jakub Jelinek <jakub@redhat.com> |
16453 | ||
16454 | PR middle-end/59670 | |
16455 | * tree-vect-data-refs.c (vect_analyze_data_refs): Check | |
16456 | is_gimple_call before calling gimple_call_internal_p. | |
16457 | ||
3fadf78a SE |
16458 | 2014-01-09 Steve Ellcey <sellcey@mips.com> |
16459 | ||
16460 | * Makefile.in (TREE_FLOW_H): Remove. | |
16461 | (TREE_SSA_H): Add file names from tree-flow.h. | |
16462 | * doc/tree-ssa.texi (Annotations): Remove reference to tree-flow.h | |
16463 | * tree.h: Remove tree-flow.h reference. | |
16464 | * hash-table.h: Remove tree-flow.h reference. | |
16465 | * tree-ssa-loop-niter.c (dump_affine_iv): Replace tree-flow.h | |
16466 | reference with tree-ssa-loop.h. | |
16467 | ||
6edc217d BS |
16468 | 2014-01-09 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
16469 | ||
16470 | * doc/invoke.texi: Add -maltivec={be,le} options, and document | |
16471 | default element-order behavior for -maltivec. | |
16472 | * config/rs6000/rs6000.opt: Add -maltivec={be,le} options. | |
16473 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Ensure | |
16474 | that -maltivec={le,be} implies -maltivec; disallow -maltivec=le | |
16475 | when targeting big endian, at least for now. | |
16476 | * config/rs6000/rs6000.h: Add #define of VECTOR_ELT_ORDER_BIG. | |
16477 | ||
a70e9985 JJ |
16478 | 2014-01-09 Jakub Jelinek <jakub@redhat.com> |
16479 | ||
3396aba5 JJ |
16480 | PR middle-end/47735 |
16481 | * cfgexpand.c (expand_one_var): For SSA_NAMEs, if the underlying | |
16482 | var satisfies use_register_for_decl, just take into account type | |
16483 | alignment, rather than decl alignment. | |
16484 | ||
a70e9985 JJ |
16485 | PR tree-optimization/59622 |
16486 | * gimple-fold.c (gimple_fold_call): Fix a typo in message. For | |
16487 | __builtin_unreachable replace the OBJ_TYPE_REF call with a call to | |
16488 | __builtin_unreachable and add if needed a setter of the lhs SSA_NAME. | |
16489 | Don't devirtualize for inplace at all. For targets.length () == 1, | |
16490 | if the call is noreturn and cfun isn't in SSA form yet, clear lhs. | |
16491 | ||
6e9cc565 L |
16492 | 2014-01-09 H.J. Lu <hongjiu.lu@intel.com> |
16493 | ||
16494 | * config/i386/i386.md (cpu): Remove the unused btver1. | |
16495 | ||
d1c0e4ac L |
16496 | 2014-01-09 H.J. Lu <hongjiu.lu@intel.com> |
16497 | ||
16498 | * gdbasan.in: Put a breakpoint on __sanitizer::Report. | |
16499 | ||
e83b8e2e JJ |
16500 | 2014-01-09 Jakub Jelinek <jakub@redhat.com> |
16501 | ||
16502 | PR target/58115 | |
16503 | * tree-core.h (struct target_globals): New forward declaration. | |
16504 | (struct tree_target_option): Add globals field. | |
16505 | * tree.h (TREE_TARGET_GLOBALS): Define. | |
16506 | (prepare_target_option_nodes_for_pch): New prototype. | |
16507 | * target-globals.h (struct target_globals): Define even if | |
16508 | !SWITCHABLE_TARGET. | |
16509 | * tree.c (prepare_target_option_node_for_pch, | |
16510 | prepare_target_option_nodes_for_pch): New functions. | |
16511 | * config/i386/i386.h (SWITCHABLE_TARGET): Define. | |
16512 | * config/i386/i386.c: Include target-globals.h. | |
16513 | (ix86_set_current_function): Instead of doing target_reinit | |
16514 | unconditionally, use save_target_globals_default_opts and | |
16515 | restore_target_globals. | |
16516 | ||
2aaed0f3 RB |
16517 | 2014-01-09 Richard Biener <rguenther@suse.de> |
16518 | ||
16519 | PR tree-optimization/59715 | |
16520 | * tree-cfg.h (split_critical_edges): Declare. | |
16521 | * tree-cfg.c (split_critical_edges): Export. | |
16522 | * tree-ssa-sink.c (execute_sink_code): Split critical edges. | |
16523 | ||
b5ebc991 MO |
16524 | 2014-01-09 Max Ostapenko <m.ostapenko@partner.samsung.com> |
16525 | ||
4ac005ba | 16526 | * cfgexpand.c (expand_stack_vars): Optionally disable |
b5ebc991 MO |
16527 | asan stack protection. |
16528 | (expand_used_vars): Likewise. | |
16529 | (partition_stack_vars): Likewise. | |
4ac005ba | 16530 | * asan.c (asan_emit_stack_protection): Optionally disable |
b5ebc991 | 16531 | after return stack usage. |
7f3af6d3 | 16532 | (instrument_derefs): Optionally disable memory access instrumentation. |
b5ebc991 MO |
16533 | (instrument_builtin_call): Likewise. |
16534 | (instrument_strlen_call): Likewise. | |
7f3af6d3 | 16535 | (asan_protect_global): Optionally disable global variables protection. |
b5ebc991 MO |
16536 | * doc/invoke.texi: Added doc for new options. |
16537 | * params.def: Added new options. | |
16538 | * params.h: Likewise. | |
16539 | ||
b59e0455 JJ |
16540 | 2014-01-09 Jakub Jelinek <jakub@redhat.com> |
16541 | ||
16542 | PR rtl-optimization/59724 | |
16543 | * ifcvt.c (cond_exec_process_if_block): Don't call | |
16544 | flow_find_head_matching_sequence with 0 longest_match. | |
16545 | * cfgcleanup.c (flow_find_head_matching_sequence): Count even | |
16546 | non-active insns if !stop_after. | |
16547 | (try_head_merge_bb): Revert 2014-01-07 changes. | |
16548 | ||
650c4c85 JL |
16549 | 2014-01-08 Jeff Law <law@redhat.com> |
16550 | ||
16551 | * ree.c (get_sub_rtx): New function, extracted from... | |
16552 | (merge_def_and_ext): Here. | |
16553 | (combine_reaching_defs): Use get_sub_rtx. | |
16554 | ||
ff36fcbe EB |
16555 | 2014-01-08 Eric Botcazou <ebotcazou@adacore.com> |
16556 | ||
16557 | * cgraph.h (varpool_variable_node): Do not choke on null node. | |
16558 | ||
9f9d82aa CM |
16559 | 2014-01-08 Catherine Moore <clm@codesourcery.com> |
16560 | ||
4ac005ba UB |
16561 | * config/mips/mips.md (simple_return): Attempt to use JRC |
16562 | for microMIPS. | |
9f9d82aa CM |
16563 | * config/mips/mips.h (MIPS_CALL): Attempt to use JALS for microMIPS. |
16564 | ||
df6c8808 RS |
16565 | 2014-01-08 Richard Sandiford <rdsandiford@googlemail.com> |
16566 | ||
16567 | PR rtl-optimization/59137 | |
16568 | * reorg.c (steal_delay_list_from_target): Call update_block for | |
16569 | elided insns. | |
16570 | (steal_delay_list_from_fallthrough, relax_delay_slots): Likewise. | |
16571 | ||
6170ceff BS |
16572 | 2014-01-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
16573 | ||
16574 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Remove | |
16575 | two duplicate entries. | |
16576 | ||
3f140f32 RS |
16577 | 2014-01-08 Richard Sandiford <rdsandiford@googlemail.com> |
16578 | ||
16579 | Revert: | |
16580 | 2012-10-07 Richard Sandiford <rdsandiford@googlemail.com> | |
16581 | ||
16582 | * config/mips/mips.c (mips_truncated_op_cost): New function. | |
16583 | (mips_rtx_costs): Adjust test for BADDU. | |
16584 | * config/mips/mips.md (*baddu_di<mode>): Push truncates to operands. | |
16585 | ||
16586 | 2012-10-02 Richard Sandiford <rdsandiford@googlemail.com> | |
16587 | ||
16588 | * config/mips/mips.md (*baddu_si_eb, *baddu_si_el): Merge into... | |
16589 | (*baddu_si): ...this new pattern. | |
16590 | ||
c6de6665 JJ |
16591 | 2014-01-08 Jakub Jelinek <jakub@redhat.com> |
16592 | ||
16593 | PR ipa/59722 | |
16594 | * ipa-prop.c (ipa_analyze_params_uses): Ignore uses in debug stmts. | |
16595 | ||
4c437f02 BE |
16596 | 2014-01-08 Bernd Edlinger <bernd.edlinger@hotmail.de> |
16597 | ||
16598 | PR middle-end/57748 | |
16599 | * expr.h (expand_expr_real, expand_expr_real_1): Add new parameter | |
16600 | inner_reference_p. | |
16601 | (expand_expr, expand_normal): Adjust. | |
16602 | * expr.c (expand_expr_real, expand_expr_real_1): Add new parameter | |
16603 | inner_reference_p. Use inner_reference_p to expand inner references. | |
16604 | (store_expr): Adjust. | |
16605 | * cfgexpand.c (expand_call_stmt): Adjust. | |
16606 | ||
4ac005ba | 16607 | 2014-01-08 Rong Xu <xur@google.com> |
40d6b753 RX |
16608 | |
16609 | * gcov-io.c (gcov_var): Move from gcov-io.h. | |
16610 | (gcov_position): Ditto. | |
16611 | (gcov_is_error): Ditto. | |
16612 | (gcov_rewrite): Ditto. | |
16613 | * gcov-io.h: Refactor. Move gcov_var to gcov-io.h, and libgcov | |
16614 | only part to libgcc/libgcov.h. | |
16615 | ||
ab04b46e MP |
16616 | 2014-01-08 Marek Polacek <polacek@redhat.com> |
16617 | ||
16618 | PR middle-end/59669 | |
16619 | * omp-low.c (simd_clone_adjust): Don't crash if def is NULL. | |
16620 | ||
06636b32 MP |
16621 | 2014-01-08 Marek Polacek <polacek@redhat.com> |
16622 | ||
16623 | PR sanitizer/59667 | |
16624 | * ubsan.c (ubsan_type_descriptor): Call strip_array_types on type2. | |
16625 | ||
c15677b6 JJ |
16626 | 2014-01-08 Jakub Jelinek <jakub@redhat.com> |
16627 | ||
16628 | PR rtl-optimization/59649 | |
16629 | * stor-layout.c (get_mode_bounds): For BImode return | |
16630 | 0 and STORE_FLAG_VALUE. | |
16631 | ||
5c944c6c RB |
16632 | 2014-01-08 Richard Biener <rguenther@suse.de> |
16633 | ||
16634 | PR middle-end/59630 | |
16635 | * gimple.h (is_gimple_builtin_call): Remove. | |
16636 | (gimple_builtin_call_types_compatible_p): New. | |
16637 | (gimple_call_builtin_p): New overload. | |
16638 | * gimple.c (is_gimple_builtin_call): Remove. | |
16639 | (validate_call): Rename to ... | |
16640 | (gimple_builtin_call_types_compatible_p): ... this and export. Also | |
16641 | check return types. | |
16642 | (validate_type): New static function. | |
16643 | (gimple_call_builtin_p): New overload and adjust. | |
16644 | * gimple-fold.c (gimple_fold_builtin): Fold the return value. | |
16645 | (gimple_fold_call): Likewise. Use gimple_call_builtin_p. | |
16646 | (gimple_fold_stmt_to_constant_1): Likewise. | |
16647 | * tsan.c (instrument_gimple): Use gimple_call_builtin_p. | |
16648 | ||
0bd34ae4 RB |
16649 | 2014-01-08 Richard Biener <rguenther@suse.de> |
16650 | ||
16651 | PR middle-end/59471 | |
16652 | * gimplify.c (gimplify_expr): Gimplify register-register type | |
16653 | VIEW_CONVERT_EXPRs to separate stmts. | |
16654 | ||
04af8ab6 JL |
16655 | 2014-01-07 Jeff Law <law@redhat.com> |
16656 | ||
3c92da90 JL |
16657 | PR middle-end/53623 |
16658 | * ree.c (combine_set_extension): Handle case where source | |
16659 | and destination registers in an extension insn are different. | |
4ac005ba UB |
16660 | (combine_reaching_defs): Allow source and destination registers |
16661 | in extension to be different under limited circumstances. | |
3c92da90 | 16662 | (add_removable_extension): Remove restriction that the |
4ac005ba | 16663 | source and destination registers in the extension are the same. |
3c92da90 JL |
16664 | (find_and_remove_re): Emit a copy from the extension's |
16665 | destination to its source after the defining insn if | |
16666 | the source and destination registers are different. | |
16667 | ||
04af8ab6 JL |
16668 | PR middle-end/59285 |
16669 | * ifcvt.c (merge_if_block): If we are merging a block with more than | |
16670 | one successor with a block with no successors, remove any BARRIER | |
16671 | after the second block. | |
16672 | ||
4bb66ef3 | 16673 | 2014-01-07 Dan Xio Qiang <ziyan01@163.com> |
955b33ed JL |
16674 | |
16675 | * hw-doloop.c (reorg_loops): Release the bitmap obstack. | |
16676 | ||
55ada375 JDA |
16677 | 2014-01-07 John David Anglin <danglin@gcc.gnu.org> |
16678 | ||
16679 | PR target/59652 | |
16680 | * config/pa/pa.c (pa_legitimate_address_p): Return false before reload | |
16681 | for 14-bit register offsets when INT14_OK_STRICT is false. | |
16682 | ||
877c72e7 RS |
16683 | 2014-01-07 Roland Stigge <stigge@antcom.de> |
16684 | Michael Meissner <meissner@linux.vnet.ibm.com> | |
16685 | ||
16686 | PR 57386/target | |
16687 | * config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p): | |
4ac005ba | 16688 | Only check TFmode for SPE constants. Don't check TImode or TDmode. |
877c72e7 | 16689 | |
8b2721da JG |
16690 | 2014-01-07 James Greenhalgh <james.greenhalgh@arm.com> |
16691 | ||
16692 | * config/aarch64/aarch64-elf.h (ASM_SPEC): Remove identity spec for | |
16693 | -mcpu. | |
16694 | ||
5d72b79f YZ |
16695 | 2014-01-07 Yufeng Zhang <yufeng.zhang@arm.com> |
16696 | ||
16697 | * config/arm/arm.c (arm_expand_neon_args): Call expand_expr | |
16698 | with EXPAND_MEMORY for NEON_ARG_MEMORY; check if the returned | |
16699 | rtx is const0_rtx or not. | |
16700 | ||
48d53439 RS |
16701 | 2014-01-07 Richard Sandiford <rdsandiford@googlemail.com> |
16702 | ||
16703 | PR target/58115 | |
16704 | * target-globals.c (save_target_globals): Remove this_fn_optab | |
16705 | handling. | |
16706 | * toplev.c: Include optabs.h. | |
16707 | (target_reinit): Temporarily restore the global options if another | |
16708 | set of options are in force. | |
16709 | ||
41626746 JJ |
16710 | 2014-01-07 Jakub Jelinek <jakub@redhat.com> |
16711 | ||
a0cbe71e JJ |
16712 | PR rtl-optimization/58668 |
16713 | * cfgcleanup.c (flow_find_cross_jump): Don't count | |
16714 | any jumps if dir_p is NULL. Remove p1 variable, use active_insn_p | |
16715 | to determine what is counted. | |
16716 | (flow_find_head_matching_sequence): Use active_insn_p to determine | |
16717 | what is counted. | |
16718 | (try_head_merge_bb): Adjust for the flow_find_head_matching_sequence | |
16719 | counting change. | |
16720 | * ifcvt.c (count_bb_insns): Use active_insn_p && !JUMP_P to | |
16721 | determine what is counted. | |
16722 | ||
41626746 JJ |
16723 | PR tree-optimization/59643 |
16724 | * tree-predcom.c (split_data_refs_to_components): If one dr is | |
16725 | read and one write, determine_offset fails and the write isn't | |
16726 | in the bad component, just put the read into the bad component. | |
16727 | ||
cc349a39 MS |
16728 | 2014-01-07 Mike Stump <mikestump@comcast.net> |
16729 | Jakub Jelinek <jakub@redhat.com> | |
16730 | ||
16731 | PR pch/59436 | |
16732 | * tree-core.h (struct tree_optimization_option): Change optabs | |
16733 | type from unsigned char * to void *. | |
16734 | * optabs.c (init_tree_optimization_optabs): Adjust | |
16735 | TREE_OPTIMIZATION_OPTABS initialization. | |
16736 | ||
529a6471 JJ |
16737 | 2014-01-06 Jakub Jelinek <jakub@redhat.com> |
16738 | ||
16739 | PR target/59644 | |
16740 | * config/i386/i386.h (struct machine_function): Add | |
16741 | no_drap_save_restore field. | |
16742 | * config/i386/i386.c (ix86_save_reg): Use | |
16743 | !cfun->machine->no_drap_save_restore instead of | |
16744 | crtl->stack_realign_needed. | |
16745 | (ix86_finalize_stack_realign_flags): Don't clear drap_reg unless | |
16746 | this function clears frame_pointer_needed. Set | |
16747 | cfun->machine->no_drap_save_restore if clearing frame_pointer_needed | |
16748 | and DRAP reg is needed. | |
16749 | ||
96066ce1 MP |
16750 | 2014-01-06 Marek Polacek <polacek@redhat.com> |
16751 | ||
16752 | PR c/57773 | |
16753 | * doc/implement-c.texi: Mention that other integer types are | |
16754 | permitted as bit-field types in strictly conforming mode. | |
16755 | ||
955b33ed | 16756 | 2014-01-06 Felix Yang <fei.yang0953@gmail.com> |
33444996 FY |
16757 | |
16758 | * modulo-sched.c (schedule_reg_moves): Clear distance1_uses if it | |
16759 | is newly allocated. | |
16760 | ||
328402a9 RE |
16761 | 2014-01-06 Richard Earnshaw <rearnsha@arm.com> |
16762 | ||
16763 | * aarch64.c (aarch64_rtx_costs): Fix cost calculation for MADD. | |
16764 | ||
a4e33812 MJ |
16765 | 2014-01-06 Martin Jambor <mjambor@suse.cz> |
16766 | ||
16767 | PR ipa/59008 | |
16768 | * ipa-cp.c (ipcp_discover_new_direct_edges): Changed param_index type | |
16769 | to int. | |
16770 | * ipa-prop.c (ipa_print_node_params): Fix indentation. | |
16771 | ||
b5cd2a02 EB |
16772 | 2014-01-06 Eric Botcazou <ebotcazou@adacore.com> |
16773 | ||
16774 | PR debug/59350 | |
16775 | PR debug/59510 | |
16776 | * var-tracking.c (add_stores): Preserve the value of the source even if | |
16777 | we don't record the store. | |
16778 | ||
c7d19c0b TG |
16779 | 2014-01-06 Terry Guo <terry.guo@arm.com> |
16780 | ||
16781 | * config.gcc (arm*-*-*): Check --with-arch against arm-arches.def. | |
16782 | ||
e0c70bd7 IS |
16783 | 2014-01-05 Iain Sandoe <iain@codesourcery.com> |
16784 | ||
16785 | PR bootstrap/59541 | |
16786 | * config/darwin.c (darwin_function_section): Adjust return values to | |
16787 | correspond to optimisation changes made in r206070. | |
16788 | ||
c30f016c UB |
16789 | 2014-01-05 Uros Bizjak <ubizjak@gmail.com> |
16790 | ||
16791 | * config/i386/i386.c (ix86_data_alignment): Calculate max_align | |
16792 | from prefetch_block tune setting. | |
16793 | (nocona_cost): Correct size of prefetch block to 64. | |
16794 | ||
f2bc252b EB |
16795 | 2014-01-04 Eric Botcazou <ebotcazou@adacore.com> |
16796 | ||
16797 | * config/arm/arm.c (arm_get_frame_offsets): Revamp long lines. | |
16798 | (arm_expand_epilogue_apcs_frame): Take into account the number of bytes | |
16799 | used to save the static chain register in the computation of the offset | |
16800 | from which the FP registers need to be restored. | |
16801 | ||
dad5ed2e JJ |
16802 | 2014-01-04 Jakub Jelinek <jakub@redhat.com> |
16803 | ||
39719c84 JJ |
16804 | PR tree-optimization/59519 |
16805 | * tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1): Don't | |
16806 | ICE if get_current_def (current_new_name) is already non-NULL, as long | |
16807 | as it is a phi result of some other phi in *new_exit_bb that has | |
16808 | the same argument. | |
16809 | ||
dad5ed2e JJ |
16810 | * config/i386/sse.md (avx512f_load<mode>_mask): Emit vmovup{s,d} |
16811 | or vmovdqu* for misaligned_operand. | |
16812 | (<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>, | |
16813 | <sse2_avx_avx512f>_loaddqu<mode><mask_name>): Handle <mask_applied>. | |
16814 | * config/i386/i386.c (ix86_expand_special_args_builtin): Set | |
16815 | aligned_mem for AVX512F masked aligned load and store builtins and for | |
16816 | non-temporal moves. | |
16817 | ||
16818 | 2014-01-03 Bingfeng Mei <bmei@broadcom.com> | |
82d89471 BM |
16819 | |
16820 | PR tree-optimization/59651 | |
c30f016c | 16821 | * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): |
82d89471 BM |
16822 | Address range for negative step should be added by TYPE_SIZE_UNIT. |
16823 | ||
e864837a AS |
16824 | 2014-01-03 Andreas Schwab <schwab@linux-m68k.org> |
16825 | ||
16826 | * config/m68k/m68k.c (handle_move_double): Handle pushes with | |
7f3af6d3 | 16827 | overlapping registers also for registers other than the stack pointer. |
e864837a | 16828 | |
56a34230 MP |
16829 | 2014-01-03 Marek Polacek <polacek@redhat.com> |
16830 | ||
16831 | PR other/59661 | |
16832 | * doc/extend.texi: Fix the return value of __builtin_FUNCTION and | |
16833 | __builtin_FILE. | |
16834 | ||
039eee3f JJ |
16835 | 2014-01-03 Jakub Jelinek <jakub@redhat.com> |
16836 | ||
3bcdbd50 JJ |
16837 | PR target/59625 |
16838 | * config/i386/i386.c (ix86_avoid_jump_mispredicts): Don't consider | |
16839 | asm goto as jump. | |
16840 | ||
039eee3f JJ |
16841 | * config/i386/i386.md (MODE_SIZE): New mode attribute. |
16842 | (push splitter): Use <P:MODE_SIZE> instead of | |
16843 | GET_MODE_SIZE (<P:MODE>mode). | |
16844 | (lea splitter): Use <MODE_SIZE> instead of GET_MODE_SIZE (<MODE>mode). | |
16845 | (mov -1, reg peephole2): Likewise. | |
16846 | * config/i386/sse.md (*mov<mode>_internal, | |
16847 | <sse>_storeu<ssemodesuffix><avxsizesuffix>, | |
16848 | <sse2_avx_avx512f>_storedqu<mode>, <sse>_andnot<mode>3, | |
16849 | *<code><mode>3, *andnot<mode>3<mask_name>, | |
16850 | <mask_codefor><code><mode>3<mask_name>): Likewise. | |
16851 | * config/i386/subst.md (mask_mode512bit_condition, | |
16852 | sd_mask_mode512bit_condition): Likewise. | |
16853 | ||
927734cf XDL |
16854 | 2014-01-02 Xinliang David Li <davidxl@google.com> |
16855 | ||
16856 | PR tree-optimization/59303 | |
039eee3f | 16857 | * tree-ssa-uninit.c (is_use_properly_guarded): Main cleanup. |
927734cf XDL |
16858 | (dump_predicates): Better output format. |
16859 | (pred_equal_p): New function. | |
16860 | (is_neq_relop_p): Ditto. | |
16861 | (is_neq_zero_form_p): Ditto. | |
16862 | (pred_expr_equal_p): Ditto. | |
16863 | (pred_neg_p): Ditto. | |
16864 | (simplify_pred): Ditto. | |
16865 | (simplify_preds_2): Ditto. | |
16866 | (simplify_preds_3): Ditto. | |
16867 | (simplify_preds_4): Ditto. | |
16868 | (simplify_preds): Ditto. | |
16869 | (push_pred): Ditto. | |
16870 | (push_to_worklist): Ditto. | |
16871 | (get_pred_info_from_cmp): Ditto. | |
16872 | (is_degenerated_phi): Ditto. | |
16873 | (normalize_one_pred_1): Ditto. | |
16874 | (normalize_one_pred): Ditto. | |
16875 | (normalize_one_pred_chain): Ditto. | |
16876 | (normalize_preds): Ditto. | |
16877 | (normalize_cond_1): Remove function. | |
16878 | (normalize_cond): Ditto. | |
16879 | (is_gcond_subset_of): Ditto. | |
16880 | (is_subset_of_any): Ditto. | |
16881 | (is_or_set_subset_of): Ditto. | |
16882 | (is_and_set_subset_of): Ditto. | |
16883 | (is_norm_cond_subset_of): Ditto. | |
16884 | (pred_chain_length_cmp): Ditto. | |
16885 | (convert_control_dep_chain_into_preds): Type change. | |
16886 | (find_predicates): Ditto. | |
16887 | (find_def_preds): Ditto. | |
16888 | (destroy_predicates_vecs): Ditto. | |
16889 | (find_matching_predicates_in_rest_chains): Ditto. | |
16890 | (use_pred_not_overlap_with_undef_path_pred): Ditto. | |
16891 | (is_pred_expr_subset): Ditto. | |
16892 | (is_pred_chain_subset_of): Ditto. | |
16893 | (is_included_in): Ditto. | |
16894 | (is_superset_of): Ditto. | |
16895 | ||
23a5b65a RS |
16896 | 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
16897 | ||
c30f016c | 16898 | Update copyright years. |
23a5b65a | 16899 | |
f9030485 RS |
16900 | 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
16901 | ||
16902 | * common/config/arc/arc-common.c, config/arc/arc-modes.def, | |
16903 | config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h, | |
c30f016c UB |
16904 | config/arc/arc.md, config/arc/arc.opt, |
16905 | config/arm/arm_neon_builtins.def, config/arm/crypto.def, | |
16906 | config/i386/avx512cdintrin.h, config/i386/avx512erintrin.h, | |
16907 | config/i386/avx512fintrin.h, config/i386/avx512pfintrin.h, | |
16908 | config/i386/btver2.md, config/i386/shaintrin.h, config/i386/slm.md, | |
16909 | config/linux-protos.h, config/linux.c, config/winnt-c.c, | |
16910 | diagnostic-color.c, diagnostic-color.h, gimple-ssa-isolate-paths.c, | |
16911 | vtable-verify.c, vtable-verify.h: Use the standard form for the | |
16912 | copyright notice. | |
f9030485 | 16913 | |
98db73df TB |
16914 | 2014-01-02 Tobias Burnus <burnus@net-b.de> |
16915 | ||
16916 | * gcc.c (process_command): Update copyright notice dates. | |
16917 | * gcov-dump.c: Ditto. | |
16918 | * gcov.c: Ditto. | |
16919 | * doc/cpp.texi: Bump @copying's copyright year. | |
16920 | * doc/cppinternals.texi: Ditto. | |
16921 | * doc/gcc.texi: Ditto. | |
16922 | * doc/gccint.texi: Ditto. | |
16923 | * doc/gcov.texi: Ditto. | |
16924 | * doc/install.texi: Ditto. | |
16925 | * doc/invoke.texi: Ditto. | |
16926 | ||
2898d204 | 16927 | 2014-01-01 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
8ca77de0 JBG |
16928 | |
16929 | * config/nios2/nios2.h (BITS_PER_UNIT): Don't define it. | |
16930 | ||
dfebbdc6 | 16931 | 2014-01-01 Jakub Jelinek <jakub@redhat.com> |
cf3e5a89 | 16932 | |
726c3546 JJ |
16933 | * config/i386/sse.md (*mov<mode>_internal): Guard |
16934 | EXT_REX_SSE_REGNO_P (REGNO ()) uses with REG_P. | |
16935 | ||
dfebbdc6 JJ |
16936 | PR rtl-optimization/59647 |
16937 | * cse.c (cse_process_notes_1): Don't substitute negative VOIDmode | |
16938 | new_rtx into UNSIGNED_FLOAT rtxes. | |
ad41bd84 | 16939 | \f |
970c3b33 | 16940 | Copyright (C) 2014 Free Software Foundation, Inc. |
ad41bd84 JM |
16941 | |
16942 | Copying and distribution of this file, with or without modification, | |
16943 | are permitted in any medium without royalty provided the copyright | |
16944 | notice and this notice are preserved. |