]>
Commit | Line | Data |
---|---|---|
1072fecf | 1 | 2012-05-31 Richard Sandiford <rdsandiford@googlemail.com> |
2 | ||
3 | * ira.h (target_ira): Delete x_ira_available_class_regs. | |
4 | (ira_available_class_regs): Delete. | |
5 | * ira.c (setup_available_class_regs): Delete. | |
6 | (setup_alloc_classes): Don't call it. | |
7 | (setup_pressure_classes): Use ira_class_hard_regs_num instead of | |
8 | ira_available_class_regs. | |
9 | * haifa-sched.c (print_curr_reg_pressure, setup_insn_reg_pressure_info) | |
10 | (model_spill_cost): Likewise. | |
11 | * ira-build.c (low_pressure_loop_node_p): Likewise. | |
12 | * ira-color.c (color_pass): Likewise. | |
13 | * ira-emit.c (change_loop): Likewise. | |
14 | * ira-lives.c (inc_register_pressure, dec_register_pressure) | |
15 | (single_reg_class, ira_implicitly_set_insn_hard_regs) | |
16 | (process_bb_node_lives): Likewise. | |
17 | * loop-invariant.c (gain_for_invariant): Likewise. | |
18 | ||
7949e3eb | 19 | 2012-05-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
20 | ||
21 | PR target/52999 | |
22 | * config/pa/pa.c (TARGET_SECTION_TYPE_FLAGS): Define. | |
23 | (pa_section_type_flags): New. | |
24 | (pa_legitimate_constant_p): Revert previous change. | |
25 | ||
22760026 | 26 | 2012-05-30 Steven Bosscher <steven@gcc.gnu.org> |
27 | ||
28 | * ira.c (allocate_initial_values): Make static. | |
29 | ||
91c4f7e4 | 30 | 2012-05-30 Uros Bizjak <ubizjak@gmail.com> |
31 | ||
32 | * config/i386/i386.c (legitimize_tls_address) <TLS_MODEL_INITIAL_EXEC>: | |
33 | Generate tls_initial_exec_64_sun only when !TARGET_X32. | |
34 | ||
e8aef9ed | 35 | 2012-05-30 Richard Guenther <rguenther@suse.de> |
36 | ||
37 | PR middle-end/53501 | |
38 | * fold-const.c (fold_binary_loc): Make sure to call | |
39 | fold_plusminus_mult_expr with the original sign of operands. | |
40 | ||
eb3dd80d | 41 | 2012-05-30 Steven Bosscher <steven@gcc.gnu.org> |
42 | ||
43 | * Makefile.in: Fix many dependencies. | |
44 | (DWARF2_H): Depend on dwarf2.def. | |
45 | (RTL_ERROR_H): Depend on rtl-error.h. | |
46 | (TREE_PRETTY_PRINT_H, GIMPLE_PRETTY_PRINT_H): New. Replace | |
47 | all gimple-pretty-print.h and tree-pretty-print.h references. | |
48 | ||
22bcc33d | 49 | 2012-05-30 Marc Glisse <marc.glisse@inria.fr> |
50 | ||
51 | * simplify-rtx.c (simplify_binary_operation_1): Optimize shuffle of | |
52 | concatenations. | |
53 | ||
20ecc3c4 | 54 | 2012-05-30 Richard Guenther <rguenther@suse.de> |
55 | ||
56 | PR middle-end/53522 | |
57 | * tree-emutls.c (gen_emutls_addr): Do not add globals to | |
58 | referenced-vars. | |
59 | ||
15b37e31 | 60 | 2012-05-30 Eric Botcazou <ebotcazou@adacore.com> |
61 | ||
62 | * explow.c (probe_stack_range): Restore simple control flow and stop | |
63 | again when the probe cannot be generated if HAVE_check_stack. | |
64 | ||
77b4556a | 65 | 2012-05-30 Jakub Jelinek <jakub@redhat.com> |
66 | ||
67 | PR rtl-optimization/53519 | |
68 | * combine.c (simplify_shift_const_1) <case NOT>: Use constm1_rtx | |
69 | instead of GEN_INT (GET_MODE_MASK (mode)) as second operand of XOR. | |
70 | ||
e8f3287f | 71 | 2012-05-30 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
72 | ||
73 | * config/arm/arm.c (arm_evpc_neon_vrev): Adjust off by one error. | |
74 | ||
effa044f | 75 | 2012-05-29 Jack Howarth <howarth@bromo.med.uc.edu> |
76 | ||
77 | PR debug/53453 | |
78 | * doc/tm.texi: Update. | |
79 | * doc/tm.texi.in (SDB and DWARF) <TARGET_FORCE_AT_COMP_DIR>: Add @hook. | |
80 | * target.def (force_at_comp_dir): New hook. | |
81 | * config/darwin.h (TARGET_FORCE_AT_COMP_DIR): Define. | |
82 | * dwarf2out.c (dwarf2out_finish): Check targetm.force_at_comp_dir. | |
83 | ||
41f5b5b0 | 84 | 2012-05-29 Jack Howarth <howarth@bromo.med.uc.edu> |
4c654fa7 | 85 | |
86 | * config/darwin.h (STARTFILE_SPEC): Do not use -lbundle1.o when | |
87 | Darwin >= 10. | |
88 | (DARWIN_DYLIB1_SPEC): Do not use -ldylib1.10.5.o when Darwin >= 10. | |
89 | (DARWIN_CRT1_SPEC): Use -lcrt1.10.6.o when Darwin >= 10. | |
90 | ||
de9013ac | 91 | 2012-05-29 Oleg Endo <olegendo@gcc.gnu.org> |
92 | ||
93 | PR target/51340 | |
94 | * config/sh/sh.c (sh_option_override): Set TARGET_FMAC if | |
95 | flag_unsafe_math_optimizations is set. | |
96 | * doc/invoke.texi (SH Options): Add -mno-fused-madd description. | |
97 | Update description of -mfused-madd. | |
98 | ||
e10782c9 | 99 | 2012-05-29 Oleg Endo <olegendo@gcc.gnu.org> |
100 | ||
101 | PR target/52941 | |
102 | * config/sh/predicates.md (atomic_arith_operand, | |
103 | atomic_logical_operand): New predicates. | |
104 | * config/sh/sh.c (sh_option_override): Check atomic options. | |
105 | * config/sh/sh.h (TARGET_ANY_ATOMIC, UNSUPPORTED_ATOMIC_OPTIONS, | |
106 | UNSUPPORTED_HARD_ATOMIC_CPU): New macros. | |
107 | (DRIVER_SELF_SPECS): Use UNSUPPORTED_ATOMIC_OPTIONS and | |
108 | UNSUPPORTED_HARD_ATOMIC_CPU. | |
109 | * config/sh/sync.md: Update description comments. | |
110 | (I12): New mode iterator. | |
111 | (fetchop_predicate, fetchop_constraint): New code attributes. | |
112 | (atomic_compare_and_swapsi_hard, atomic_compare_and_swap<mode>_hard, | |
113 | atomic_exchangesi_hard, atomic_exchange<mode>_hard, | |
114 | atomic_fetch_<fetchop_name>si_hard, | |
115 | atomic_fetch_<fetchop_name><mode>_hard, | |
116 | atomic_fetch_nandsi_hard, atomic_fetch_nand<mode>_hard, | |
117 | atomic_<fetchop_name>_fetchsi_hard, | |
118 | atomic_<fetchop_name>_fetch<mode>_hard, | |
119 | atomic_nand_fetchsi_hard, atomic_nand_fetch<mode>_hard, | |
120 | atomic_test_and_set_hard): New insns. | |
121 | (atomic_compare_and_swap<mode>_soft, atomic_exchange<mode>_soft, | |
122 | atomic_fetch_<fetchop_name><mode>_soft, atomic_fetch_nand<mode>_soft, | |
123 | atomic_<fetchop_name>_fetch<mode>_soft, atomic_nand_fetch<mode>_soft, | |
124 | atomic_test_and_set_soft): Use same formatting for the first line of | |
125 | the asm block as in new insns above. | |
126 | (atomic_compare_and_swap<mode>, atomic_exchange<mode>, | |
127 | atomic_fetch_<fetchop_name><mode>, atomic_<fetchop_name>_fetch<mode>, | |
128 | atomic_test_and_set): Integrate new *_hard insns into expanders. | |
129 | * config/sh/sh.opt (mhard-atomic): New option. | |
130 | * doc/invoke.texi (SH Options): Document it. | |
131 | ||
e4a33abd | 132 | 2012-05-29 Meador Inge <meadori@codesourcery.com> |
133 | ||
134 | * c-decl.c (c_push_function_context): Always create a new language | |
135 | function. | |
136 | (c_pop_function_context): Clear the language function created in | |
137 | c_push_function_context. | |
138 | ||
9315255d | 139 | 2012-05-29 Matt Turner <mattst88@gmail.com> |
140 | ||
141 | * config/alpha/ev6.md: (define_bypass "ev6_fmul,ev6_fadd"): New. | |
142 | (define_bypass "ev6_fcmov"): New. | |
143 | ||
ea1760a3 | 144 | 2012-05-29 Steven Bosscher <steven@gcc.gnu.org> |
145 | ||
146 | * integrate.c: Remove. | |
147 | * integrate.h: Remove. | |
148 | * Makefile.in: Remove make rules for integrate.c and INTEGRATE_H. | |
149 | * config/arm/t-arm: Remove INTEGRATE_H dependency for target files. | |
150 | * config/rs6000/t-rs6000: Likewise | |
151 | * config/spu/t-spu-elf: Likewise. | |
152 | * function.h (get_hard_reg_initial_val, has_hard_reg_initial_val, | |
153 | get_hard_reg_initial_reg, emit_initial_value_sets): Move prototypes | |
154 | from integrate.h to here. | |
155 | (initial_value_entry): New prototype. | |
156 | * reload.h (allocate_initial_values): Remove prototype. | |
157 | * tree.h (set_decl_abstract_flags, set_decl_origin_self): Likewise. | |
158 | * cse.c (fixed_base_plus_p): Don't handle virtual registers for | |
159 | integrate.c. | |
160 | * dwarf2out.c (set_decl_origin_self, set_block_origin_self, | |
161 | set_decl_abstract_flags, set_block_abstract_flags): Move from | |
162 | integrate.c to here, the only user. | |
163 | * expmed.c (extract_fixed_bit_field): Remove outdated comment | |
164 | about integrate.c. | |
165 | * function.c: Don't include integrate.h. | |
166 | (struct initial_value_pair, struct initial_value_struct, | |
167 | get_hard_reg_initial_val, has_hard_reg_initial_val, | |
168 | get_hard_reg_initial_reg, emit_initial_value_sets): Move from | |
169 | integrate.c to here. | |
170 | (initial_value_entry): New function. | |
171 | * genemit.c (main): Don't print integrate.h include line. | |
172 | * ira.c: Don't include integrate.h. | |
173 | (allocate_initial_values): Move from integrate.c to here. | |
174 | (ira): Update allocate_initial_values call. | |
175 | * tree-inline.c: Don't include integrate.h. | |
176 | (function_attribute_inlinable_p): Moved from integrate.c to here. | |
177 | * cfgexpand.c: Don't include integrate.h. | |
178 | * except.c: Likewise. | |
179 | * langhooks.c: Likewise. | |
180 | * passes.c: Likewise. | |
181 | * toplev.c: Likewise. | |
182 | * config/frv/frv.c: Likewise. | |
183 | * config/pa/pa.c: Likewise. | |
184 | * config/spu/spu.c: Likewise. | |
185 | * config/epiphany/epiphany.c: Likewise. | |
186 | * config/mep/mep.c: Likewise. | |
187 | * config/score/score.c: Likewise. | |
188 | * config/picochip/picochip.c: Likewise. | |
189 | * config/sh/sh.c: Likewise. | |
190 | * config/alpha/alpha.c: Likewise. | |
191 | * config/microblaze/microblaze.c: Likewise. | |
192 | * config/mips/mips.c: Likewise. | |
193 | * config/v850/v850.c: Likewise. | |
194 | * config/mmix/mmix.c: Likewise. | |
195 | * config/bfin/bfin.c: Likewise. | |
196 | * config/arm/arm.c: Likewise. | |
197 | * config/s390/s390.c: Likewise. | |
198 | * config/m32r/m32r.c: Likewise. | |
199 | * config/rs6000/rs6000.c: Likewise. | |
200 | * config/c6x/c6x.c: Include function.h instead of integrate.h. | |
201 | * config/tilegx/tilegx.c: Likewise. | |
202 | * config/tilepro/tilepro.c: Likewise. | |
203 | ||
234d19a4 | 204 | 2012-05-29 Georg-Johann Lay <avr@gjlay.de> |
205 | ||
91c4f7e4 | 206 | * config/avr/t-avr (s-avr-mmcu-texi): Call |
234d19a4 | 207 | gen-avr-mmcu-texi$(build_exeext) via ./ and don't assume . is in PATH. |
91c4f7e4 | 208 | |
0ab48139 | 209 | 2012-05-29 Michael Matz <matz@suse.de> |
210 | ||
211 | * rtl.h (assign_stack_temp, assign_stack_temp_for_type, | |
212 | assign_temp): Remove 'keep' argument. | |
213 | (mark_temp_addr_taken): Remove prototype. | |
214 | * tree.h (expand_decl): Remove prototype. | |
91c4f7e4 | 215 | * function.c (struct temp_slot): Remove addr_taken and keep member. |
0ab48139 | 216 | (assign_stack_temp_for_type) Don't initialize above, remove |
217 | keep argument. | |
218 | (assign_stack_temp, assign_temp): Remove keep argument. | |
219 | (mark_temp_addr_taken): Remove. | |
91c4f7e4 | 220 | (preserve_temp_slots): Remove handling of addr_taken and keep members. |
0ab48139 | 221 | (free_temp_slots): Ditto. |
222 | * expr.c (expand_expr_real_1 <COMPOUND_LITERAL_EXPR>): Remove | |
223 | dead code. | |
224 | * stmt.c (expand_asm_operands): Remove dead code. | |
225 | (expand_decl): Remove. | |
226 | * c-decl.c (finish_struct): Don't call expand_decl. | |
227 | * builtins.c (expand_builtin_cexpi): Adjust calls to assign_temp | |
228 | and assign_stack_temp. | |
229 | * calls.c (save_fixed_argument_area, initialize_argument_information, | |
230 | expand_call, emit_library_call_value_1, store_one_arg): Ditto. | |
231 | * expmed.c (extract_bit_field_1): Ditto. | |
232 | * expr.c (emit_group_load_1, emit_group_store, | |
233 | copy_blkmode_from_reg, emit_push_insn, expand_assignment, | |
234 | store_field, expand_constructor, expand_cond_expr_using_cmove, | |
235 | expand_expr_real_2, expand_expr_real_1): Ditto. | |
236 | * stmt.c (expand_asm_operands, expand_return): Ditto. | |
237 | ||
238 | * function.c (pop_temp_slots): Call free_temp_slots. | |
239 | * calls.c (store_one_arg): Don't call preserve_temp_slots or | |
240 | free_temp_slots. | |
241 | * expr.c (expand_assignment): Don't call free_temp_slots. | |
242 | ||
243 | * config/arm/arm.c (neon_expand_vector_init): Ditto. | |
244 | * config/i386/i386.c (ix86_expand_vector_set): Ditto. | |
245 | (ix86_expand_vector_extract): Ditto. | |
246 | * config/ia64/ia64.c (spill_xfmode_rfmode_operand, | |
247 | ia64_expand_movxf_movrf): Ditto. | |
248 | * config/mips/mips.c (mips_expand_vi_general): Ditto. | |
249 | * config/mmix/mmix.md (floatdisf2, floatunsdisf2, truncdfsf2, | |
250 | extendsfdf2): Ditto. | |
251 | * config/rs6000/rs6000.c (rs6000_expand_vector_init, | |
252 | rs6000_expand_vector_set, rs6000_expand_vector_extract, | |
253 | rs6000_allocate_stack_temp): Ditto. | |
254 | * config/rs6000/rs6000.md (fix_trunctfsi2_fprs): Ditto. | |
255 | * config/sparc/sparc.c (emit_soft_tfmode_libcall, | |
256 | sparc_emit_float_lib_cmp, sparc_emit_float_lib_cmp, | |
257 | sparc_expand_vector_init): Ditto. | |
258 | ||
7843e4bc | 259 | 2012-05-29 Michael Matz <matz@suse.de> |
260 | ||
261 | * c-tree.h (c_expand_decl): Remove prototype. | |
262 | ||
263 | * expr.c (expand_expr_real_1 <normal_inner_ref>): Don't allocate | |
264 | a kept temp. | |
265 | (expand_expr_real_1 <COMPOUND_LITERAL_EXPR>): Make unreachable. | |
91c4f7e4 | 266 | * gimple-fold.c (canonicalize_constructor_val): Canonicalize |
7843e4bc | 267 | COMPOUND_LITERAL_EXPR. |
268 | * function.c (expand_function_start): Don't call expand_decl, | |
269 | instead assert that we have RTL assigned. | |
270 | * tree-ssa-live.c (remove_unused_locals): Clear | |
271 | nonlocal_goto_save_area if its backing variable is removed. | |
272 | * stmt.c (expand_asm_operands): Remove handling of non-lvalues | |
273 | as mem inputs. | |
274 | (expand_decl): Assert that this does nothing. | |
275 | * calls.c (expand_call): Don't call mark_temp_addr_taken. | |
276 | ||
87c952b8 | 277 | 2012-05-29 Richard Guenther <rguenther@suse.de> |
278 | ||
279 | PR tree-optimization/53516 | |
280 | * tree-data-ref.c (stmt_with_adjacent_zero_store_dr_p): Reject | |
281 | bitfield accesses. | |
282 | * tree-vect-data-refs.c (vect_analyze_data_refs): Likewise. | |
283 | ||
9d75589a | 284 | 2012-05-29 Joseph Myers <joseph@codesourcery.com> |
285 | ||
286 | * LANGUAGES: Fix typos. | |
287 | * Makefile.in: Fix typos. | |
288 | * alias.c: Fix typos. | |
289 | * auto-inc-dec.c: Fix typos. | |
290 | * bb-reorder.c: Fix typos. | |
291 | * cfgcleanup.c: Fix typos. | |
292 | * cgraph.c: Fix typos. | |
293 | * cgraph.h: Fix typos. | |
294 | * cgraphunit.c: Fix typos. | |
295 | * collect2-aix.h: Fix typos. | |
296 | * collect2.c: Fix typos. | |
297 | * compare-elim.c: Fix typos. | |
298 | * config/alpha/vms.h: Fix typos. | |
299 | * config/arm/README-interworking: Fix typos. | |
300 | * config/arm/arm.c: Fix typos. | |
301 | * config/arm/iterators.md: Fix typos. | |
302 | * config/arm/vxworks.h: Fix typos. | |
303 | * config/avr/avr.c: Fix typos. | |
304 | * config/avr/avr.h: Fix typos. | |
305 | * config/avr/avr.md: Fix typos. | |
306 | * config/avr/builtins.def: Fix typos. | |
307 | * config/c6x/c6x.c: Fix typos. | |
308 | * config/cr16/cr16.c: Fix typos. | |
309 | * config/cr16/cr16.md: Fix typos. | |
310 | * config/cris/cris.md: Fix typos. | |
311 | * config/darwin.c: Fix typos. | |
312 | * config/darwin.opt: Fix typos. | |
313 | * config/i386/i386-c.c: Fix typos. | |
314 | * config/i386/i386.c: Fix typos. | |
315 | * config/ia64/ia64.c: Fix typos. | |
316 | * config/m68k/cf.md: Fix typos. | |
317 | * config/mep/mep.c: Fix typos. | |
318 | * config/microblaze/microblaze.c: Fix typos. | |
319 | * config/microblaze/microblaze.h: Fix typos. | |
320 | * config/mn10300/mn10300.c: Fix typos. | |
321 | * config/mn10300/mn10300.md: Fix typos. | |
322 | * config/pa/pa.c: Fix typos. | |
323 | * config/picochip/picochip.h: Fix typos. | |
324 | * config/rs6000/a2.md: Fix typos. | |
325 | * config/rs6000/rs6000.c: Fix typos. | |
326 | * config/rs6000/vector.md: Fix typos. | |
327 | * config/rx/rx.md: Fix typos. | |
328 | * config/rx/rx.opt: Fix typos. | |
329 | * config/s390/2097.md: Fix typos. | |
330 | * config/s390/s390.c: Fix typos. | |
331 | * config/s390/s390.h: Fix typos. | |
332 | * config/sh/sh.c: Fix typos. | |
333 | * config/sh/sh.md: Fix typos. | |
334 | * config/sparc/sync.md: Fix typos. | |
335 | * config/spu/spu.c: Fix typos. | |
336 | * config/spu/spu.md: Fix typos. | |
337 | * config/vms/vms.c: Fix typos. | |
338 | * config/vxworks-dummy.h: Fix typos. | |
339 | * config/vxworks.h: Fix typos. | |
340 | * cselib.c: Fix typos. | |
341 | * df-scan.c: Fix typos. | |
342 | * df.h: Fix typos. | |
343 | * doc/extend.texi: Fix typos. | |
344 | * doc/install.texi: Fix typos. | |
345 | * doc/invoke.texi: Fix typos. | |
346 | * doc/md.texi: Fix typos. | |
347 | * doc/plugins.texi: Fix typos. | |
348 | * doc/rtl.texi: Fix typos. | |
349 | * dse.c: Fix typos. | |
350 | * dwarf2asm.c: Fix typos. | |
351 | * dwarf2out.c: Fix typos. | |
352 | * except.h: Fix typos. | |
353 | * expr.c: Fix typos. | |
354 | * fold-const.c: Fix typos. | |
355 | * gcc.c: Fix typos. | |
356 | * gcse.c: Fix typos. | |
357 | * genautomata.c: Fix typos. | |
358 | * gengtype-state.c: Fix typos. | |
359 | * gengtype.c: Fix typos. | |
360 | * genhooks.c: Fix typos. | |
361 | * gimple-fold.c: Fix typos. | |
362 | * gimple-pretty-print.c: Fix typos. | |
363 | * gimple.c: Fix typos. | |
364 | * gimple.h: Fix typos. | |
365 | * gimplify.c: Fix typos. | |
366 | * graphite-interchange.c: Fix typos. | |
367 | * graphite-sese-to-poly.c: Fix typos. | |
368 | * ifcvt.c: Fix typos. | |
369 | * input.c: Fix typos. | |
370 | * ipa-cp.c: Fix typos. | |
371 | * ipa-inline-analysis.c: Fix typos. | |
372 | * ipa-inline-transform.c: Fix typos. | |
373 | * ipa-inline.c: Fix typos. | |
374 | * ipa-pure-const.c: Fix typos. | |
375 | * ipa-ref.h: Fix typos. | |
376 | * ipa-reference.c: Fix typos. | |
377 | * ipa-utils.c: Fix typos. | |
378 | * ipa.c: Fix typos. | |
379 | * ira-emit.c: Fix typos. | |
380 | * ira-lives.c: Fix typos. | |
381 | * lto-streamer.c: Fix typos. | |
382 | * lto-streamer.h: Fix typos. | |
383 | * lto-wrapper.c: Fix typos. | |
384 | * mcf.c: Fix typos. | |
385 | * mode-switching.c: Fix typos. | |
386 | * modulo-sched.c: Fix typos. | |
387 | * plugin.c: Fix typos. | |
388 | * postreload.c: Fix typos. | |
389 | * sched-deps.c: Fix typos. | |
390 | * sel-sched-ir.c: Fix typos. | |
391 | * sel-sched-ir.h: Fix typos. | |
392 | * sel-sched.c: Fix typos. | |
393 | * sese.c: Fix typos. | |
394 | * stor-layout.c: Fix typos. | |
395 | * target-hooks-macros.h: Fix typos. | |
396 | * target.def: Fix typos. | |
397 | * trans-mem.c: Fix typos. | |
398 | * tree-eh.c: Fix typos. | |
399 | * tree-predcom.c: Fix typos. | |
400 | * tree-sra.c: Fix typos. | |
401 | * tree-ssa-address.c: Fix typos. | |
402 | * tree-ssa-loop-ivopts.c: Fix typos. | |
403 | * tree-ssa-loop-niter.c: Fix typos. | |
404 | * tree-ssa-math-opts.c: Fix typos. | |
405 | * tree-ssa-pre.c: Fix typos. | |
406 | * tree-ssa-propagate.c: Fix typos. | |
407 | * tree-ssa-reassoc.c: Fix typos. | |
408 | * tree-ssa-sccvn.c: Fix typos. | |
409 | * tree-ssa-ter.c: Fix typos. | |
410 | * tree-ssa-uninit.c: Fix typos. | |
411 | * tree-ssanames.c: Fix typos. | |
412 | * tree-vect-generic.c: Fix typos. | |
413 | * tree-vect-slp.c: Fix typos. | |
414 | * tree.c: Fix typos. | |
415 | * tree.h: Fix typos. | |
416 | * varasm.c: Fix typos. | |
417 | * varpool.c: Fix typos. | |
418 | ||
d668316d | 419 | 2012-05-29 Joseph Myers <joseph@codesourcery.com> |
420 | ||
421 | * doc/include/texinfo.tex: Update to version 2012-05-16.16. | |
422 | ||
134f0957 | 423 | 2012-05-29 Richard Guenther <rguenther@suse.de> |
424 | ||
425 | * tree-dfa.c (find_vars_r): Do not call add_referenced_vars | |
426 | for globals. | |
427 | (add_referenced_var_1): Re-organize. Assert we are not | |
428 | called for globals. | |
429 | (remove_referenced_var): Likewise. | |
430 | * varpool.c (add_new_static_var): Use create_tmp_var_raw. | |
431 | * tree-mudflap.c (execute_mudflap_function_ops): Do not | |
432 | call add_referenced_var on globals. | |
433 | * matrix-reorg.c (transform_access_sites): Likewise. | |
434 | ||
d6443ebe | 435 | 2012-05-29 Steven Bosscher <steven@gcc.gnu.org> |
436 | ||
437 | * alias.c (reg_known_value): Make this a VEC. | |
438 | (reg_known_equiv_p): Make this an sbitmap. | |
439 | (reg_known_value_size): Remove. | |
440 | (get_reg_known_value, set_reg_known_value, get_reg_known_equiv_p, | |
441 | set_reg_known_equiv_p): Update for reg_known_value and | |
442 | reg_known_value_size data structure change. | |
443 | (init_alias_analysis, end_alias_analysis): Likewise. | |
444 | ||
c306fbbf | 445 | 2012-05-29 Jakub Jelinek <jakub@redhat.com> |
446 | ||
447 | PR middle-end/53510 | |
448 | * input.c (read_line): Use XRESIZEVEC instead of XNEWVEC | |
449 | to avoid leaking memory. No need to handle memory allocation | |
91c4f7e4 | 450 | failure. Double string_len on each reallocation instead of adding 2. |
c306fbbf | 451 | * gcov.c (read_line): Likewise. |
452 | ||
2cfdd775 | 453 | 2012-05-29 Hans-Peter Nilsson <hp@axis.com> |
454 | ||
455 | * config/cris/cris.h (TARGET_HAS_BREAK, TARGET_TRAP_USING_BREAK8): | |
456 | New macros. | |
457 | * config/cris/cris.md ("trap"): Define, enabled for | |
458 | TARGET_TRAP_USING_BREAK8. | |
459 | * config/cris/cris.opt (mtrap-using-break8): New option. | |
460 | ||
8b64dc3c | 461 | 2012-05-28 Paolo Carlini <paolo.carlini@oracle.com> |
462 | ||
463 | PR c++/25137 | |
464 | * doc/invoke.texi: Document -Wmissing-braces not enabled by -Wall | |
465 | for C++. | |
466 | ||
e67780f7 | 467 | 2012-05-28 Hans-Peter Nilsson <hp@axis.com> |
468 | ||
91c4f7e4 | 469 | * doc/md.texi (stack_protect_test): Remove negation of branch to label. |
3ed894b7 | 470 | (Standard Names): Fix typos in documentation of atomic patterns. |
e67780f7 | 471 | |
b3a0814b | 472 | 2012-05-27 Nathan Sidwell <nathan@acm.org> |
473 | ||
474 | * tree.c (build_constructor): Propagate TREE_SIDE_EFFECTS. | |
475 | ||
eb5d9b7b | 476 | 2012-05-26 Jason Merrill <jason@redhat.com> |
477 | ||
478 | PR c++/53220 | |
479 | * c-typeck.c (array_to_pointer_conversion): Give -Wc++-compat warning | |
480 | about array compound literals. | |
481 | ||
8ddad41d | 482 | 2012-05-26 Eric Botcazou <ebotcazou@adacore.com> |
483 | ||
484 | * cfgcleanup.c (try_optimize_cfg): Do not delete forwarder blocks | |
485 | if CLEANUP_NO_INSN_DEL. | |
486 | * cfgrtl.c (unique_locus_on_edge_between_p): New function extracted | |
487 | from cfg_layout_merge_blocks. | |
488 | (emit_nop_for_unique_locus_between): New function. | |
489 | (rtl_merge_blocks): Invoke emit_nop_for_unique_locus_between. | |
490 | (cfg_layout_merge_blocks): Likewise. | |
491 | ||
f7583c76 | 492 | 2012-05-26 Dimitrios Apostolou <jimis@gmx.net> |
493 | Paolo Bonzini <bonzini@gnu.org> | |
494 | ||
495 | * df-scan.c (df_def_record_1): Assert a parallel must contain an | |
496 | EXPR_LIST at this point. Receive the LOC and move its extraction... | |
497 | (df_defs_record): ... here. Change if-else to a switch statement. | |
498 | (df_find_hard_reg_defs, df_find_hard_reg_defs_1): New. | |
499 | (df_get_call_refs): Changed defs_generated from bitmap to HARD_REG_SET | |
500 | and compute it from df_find_hard_reg_defs(). Record DF_REF_BASE | |
501 | DEFs in REGNO order. Use HARD_REG_SET instead of bitmap for | |
502 | regs_invalidated_by_call. | |
503 | (df_insn_refs_collect): Record DF_REF_REGULAR DEFs after | |
504 | df_get_call_refs(). | |
505 | ||
eaf1e576 | 506 | 2012-05-25 Eric Botcazou <ebotcazou@adacore.com> |
507 | ||
508 | PR lto/52178 | |
509 | * tree-inline.c (remap_gimple_op_r): Fix handling of FIELD_DECL. | |
510 | * tree.c (RETURN_TRUE_IF_VAR): Do not return true for PLACEHOLDER_EXPR. | |
511 | ||
e684d543 | 512 | 2012-05-25 Michael Meissner <meissner@linux.vnet.ibm.com> |
513 | ||
514 | * config/rs6000/t-linux64: Delete the 32-bit multilib that uses | |
515 | software floating point emulation. No longer build the multilibs | |
516 | with -mstrict-align. | |
517 | ||
709ed320 | 518 | 2012-05-25 Aldy Hernandez <aldyh@redhat.com> |
519 | ||
520 | PR middle-end/53008 | |
521 | * trans-mem.c (ipa_tm_create_version_alias): Output new_node if | |
522 | accessed indirectly. | |
523 | (ipa_tm_create_version): Same. | |
524 | ||
45476806 | 525 | 2012-05-25 Uros Bizjak <ubizjak@gmail.com> |
526 | ||
527 | PR target/53474 | |
528 | * config/i386/i386.c (ix86_print_operand) <case 'O'>: Print '.' here. | |
529 | <case 'C', case 'c', case 'F', case 'f'>: Print '.' only for C and c. | |
530 | ||
b04c1b7f | 531 | 2012-05-25 Alexander Ivchenko <alexander.ivchenko@intel.com> |
532 | ||
533 | PR target/53435 | |
534 | * config/i386/i386.c (ix86_expand_vec_perm): Use correct op. | |
535 | (ix86_expand_vec_perm): Use int mode instead of float. | |
536 | (expand_vec_perm_pshufb): Remove handling of useseless type | |
537 | conversion. | |
538 | ||
8ffcff2e | 539 | 2012-05-25 Eric Botcazou <ebotcazou@adacore.com> |
540 | ||
541 | PR ada/52362 | |
542 | * config.gcc (i[34567]86-*-mingw* | x86_64-*-mingw*): Set gas and | |
543 | gnu_ld variables to yes. | |
544 | * configure.ac (HAVE_GNU_LD): Move to after config.gcc inclusion. | |
545 | (HAVE_GNU_AS): Likewise. | |
546 | * config.in: Regenerate. | |
547 | * configure: Likewise. | |
548 | ||
5bb035a3 | 549 | 2012-05-25 Tristan Gingold <gingold@adacore.com> |
550 | ||
551 | * config/i386/i386.c (struct ix86_frame): Remove unused frame field. | |
552 | (ix86_compute_frame_layout): Fix type of stack_alignment_needed | |
553 | and preferred_alignment. | |
554 | ||
bfde030e | 555 | 2012-05-25 Tristan Gingold <gingold@adacore.com> |
556 | ||
557 | * common/config/ia64/ia64-common.c (ia64_except_unwind_info): Fix typo. | |
558 | ||
5253ef2b | 559 | 2012-05-25 Thomas Schwinge <thomas@codesourcery.com> |
560 | ||
561 | * fold-const.c (optimize_bit_field_compare): Abort early in the strict | |
562 | volatile bitfields case. | |
563 | ||
564 | 2012-05-24 Pat Haugen <pthaugen@us.ibm.com> | |
409e1a55 | 565 | |
566 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Change | |
567 | rs6000_sched_costly_dep default to true_store_to_load_dep_costly. | |
568 | (adjacent_mem_locations): Move some code to and call... | |
569 | (get_memref_parts): ...new function. | |
570 | (mem_locations_overlap): New function. | |
571 | (rs6000_adjust_priority): Adjust calls to is_load_insn/is_store_insn. | |
572 | (is_mem_ref): Rename to... | |
573 | (find_mem_ref): ...this. Return MEM rtx. | |
574 | (get_store_dest): Remove function. | |
575 | (is_load_insn1, is_load_insn, is_store_insn1, is_store_insn): Add | |
576 | new parameter and adjust calls. | |
577 | (rs6000_is_costly_dependence): Update calls for extra arg. Make sure | |
578 | mem refs overlap for true_store_to_load_dep_costly. | |
579 | (rs6000_sched_reorder2): Update calls for extra arg. Adjust args | |
580 | passed to adjacent_mem_locations. | |
581 | (is_costly_group): Walk resolved dependency list. | |
582 | (force_new_group): Emit group ending nop for Power6/Power7. | |
583 | * config/rs6000/rs6000.md (UNSPEC_GRP_END_NOP): New enum value. | |
584 | (group_ending_nop): New define_insn. | |
585 | ||
8ae39fa8 | 586 | 2012-05-24 Dodji Seketeli <dodji@redhat.com> |
587 | ||
588 | Make unwound macro expansion trace less redundant | |
589 | * tree-diagnostic.c (maybe_unwind_expanded_macro_loc): Don't print | |
590 | context of macro definition in the trace, when it's redundant. | |
591 | Update comments. | |
592 | ||
141de90e | 593 | 2012-05-24 Richard Guenther <rguenther@suse.de> |
594 | ||
595 | PR middle-end/53460 | |
596 | * tree-profile.c (tree_profiling): Cleanup the CFG if | |
597 | execute_fixup_cfg requests it. | |
598 | ||
1b55a29e | 599 | 2012-05-24 Richard Guenther <rguenther@suse.de> |
600 | ||
601 | * tree-flow.h (create_var_ann): Remove. | |
602 | * tree-dfa.c (create_var_ann): Remove and inline into its | |
603 | single caller ... | |
604 | (add_referenced_var_1): ... here. | |
605 | * varpool.c (add_new_static_var): Do not call add_referenced_var | |
606 | for global vars. | |
607 | * gimple-fold.c (canonicalize_constructor_val): Likewise. | |
608 | * tree-switch-conversion.c (build_one_array): Likewise. | |
609 | * tree-profile.c (gimple_gen_ic_profiler): Likewise. | |
610 | * tree-flow-inline.h (gimple_referenced_vars): Guard against | |
611 | NULL fn argument. | |
612 | * tree-inline.c (remap_gimple_op_r): Likewise. Check | |
613 | gimple_referenced_vars instead of gimple_in_ssa_p. | |
614 | (copy_tree_body_r): Likewise. | |
615 | (setup_one_parameter): Likewise. | |
616 | (declare_return_variable): Likewise. | |
617 | (tree_function_versioning): Likewise. | |
618 | ||
a2623f6b | 619 | 2012-05-24 Jakub Jelinek <jakub@redhat.com> |
620 | ||
621 | PR tree-optimization/53465 | |
622 | * tree-vrp.c (extract_range_from_cond_expr): First copy_value_range | |
623 | vr0 into *vr, then vrp_meet that. | |
624 | (vrp_meet): If one vr type is VR_UNDEFINED, ensure the result doesn't | |
625 | have any equivalences. | |
626 | (vrp_visit_phi_node): Call copy_value_range instead of vrp_meet the | |
627 | first time. | |
628 | ||
629 | 2012-05-24 Jim MacArthur <jim.macarthur@arm.com> | |
71e16a8f | 630 | |
631 | * recog.c (reg_fits_class_p): Check both regno and regno + offset are | |
632 | hard registers. | |
633 | * regs.h (in_hard_reg_set_p): Assert that regno is a hard register and | |
634 | check end_regno - 1 is a hard register. | |
635 | ||
cc3f82be | 636 | 2012-05-24 Richard Guenther <rguenther@suse.de> |
637 | ||
638 | * varpool.c (add_new_static_var): Remove call to create_var_ann. | |
639 | * tree-ssa-operands.c (create_vop_var): Likewise. | |
640 | ||
2887c015 | 641 | 2012-05-24 Richard Guenther <rguenther@suse.de> |
642 | ||
643 | PR bootstrap/53466 | |
644 | * tree-ssa-live.c (remove_unused_scope_block_p): Properly | |
645 | handle globals. | |
646 | (remove_unused_locals): Pass global_unused_vars to | |
647 | remove_unused_scope_block_p. Restore code walking all | |
648 | referenced vars and pruning them. | |
649 | ||
afea39ad | 650 | 2012-05-23 Jan Hubicka <jh@suse.cz> |
651 | ||
652 | * tree.h (alias_diag_flags): Remove. | |
653 | (alias_pair): Remove emitted_diags. | |
654 | (finish_aliases_1, finish_aliases_2, remove_unreachable_alias_pairs, | |
655 | symbol_alias_set_t, symbol_alias_set_destroy, | |
656 | symbol_alias_set_contains, propagate_aliases_backward): Remove. | |
657 | * toplev.c (compile_file): Do not call finish_aliases_2 | |
45476806 | 658 | * cgraphunit.c (cgraph_process_new_functions): Do not call |
659 | finish_aliases_1. | |
afea39ad | 660 | (handle_alias_pairs): Output diagnostics about aliases to externals. |
661 | (assemble_thunks_and_aliases): Use do_assemble_alias. | |
662 | (output_weakrefs): Likewise. | |
663 | (finalize_compilation_unit): Do not call finish_aliases_1. | |
45476806 | 664 | * ipa.c (symtab_remove_unreachable_nodes): De not call |
665 | remove_unreachable_alias_pairs. | |
afea39ad | 666 | * varasm.c (do_assemble_alias): Export. |
45476806 | 667 | (symbol_alias_set_create, symbol_alias_set_destroy, |
668 | symbol_alias_set_contains, symbol_alias_set_insert, | |
669 | propagate_aliases_forward, propagate_aliases_backward, | |
670 | propagate_aliases_backward, trivially_visible_alias, | |
671 | trivially_defined_alias, remove_unreachable_alias_pairs, | |
672 | finish_aliases_1, finish_aliases_2, assemble_alias): Remove. | |
afea39ad | 673 | * output.h (do_assemble_alias): Declare. |
45476806 | 674 | * varpool.c (varpool_remove_unreferenced_decls): Do not call |
675 | finish_aliases_1. | |
afea39ad | 676 | |
9d68bc02 | 677 | 2012-05-23 Martin Jambor <mjambor@suse.cz> |
678 | ||
679 | * ipa-inline-analysis.c (inline_merge_summary): Free operand_map. | |
680 | ||
4190f293 | 681 | 2012-05-23 Eric Botcazou <ebotcazou@adacore.com> |
682 | ||
683 | * gimple.c (gimple_types_compatible_p_1) <ARRAY_TYPE>: Remove bogus | |
684 | size handling. | |
685 | (gimple_canonical_types_compatible_p) <ARRAY_TYPE>: Likewise. | |
686 | (iterative_hash_gimple_type): Adjust comment. | |
687 | (iterative_hash_canonical_type): Likewise. Hash the bounds of the | |
688 | domain for an array type instead of the domain type itself. | |
689 | ||
53b5b75f | 690 | 2012-05-23 Richard Guenther <rguenther@suse.de> |
691 | ||
692 | PR tree-optimization/53438 | |
693 | * tree-sra.c (analyze_access_subtree): Correct bitfield exclusion. | |
694 | ||
7ce72b61 | 695 | 2012-05-23 Georg-Johann Lay <avr@gjlay.de> |
696 | ||
697 | PR target/53448 | |
698 | * config/avr/avr.h (ASM_OUTPUT_ALIGN): Don't inhibit .p2align 1. | |
699 | * config/avr/elf.h (ASM_OUTPUT_BEFORE_CASE_LABEL): Use | |
700 | ASM_OUTPUT_ALIGN. | |
701 | ||
ad75582e | 702 | 2012-05-23 Richard Guenther <rguenther@suse.de> |
703 | ||
704 | * tree-dfa.c (add_referenced_var_1): Do not add global vars. | |
705 | * tree-ssa-live.c (mark_all_vars_used_1): Handle global vars | |
706 | via the global_unused_vars bitmap. | |
707 | (remove_unused_locals): Handle global vars in local-decls via | |
708 | a global_unused_vars bitmap instead of the used flag in the | |
709 | var annotation. Simplify global variable handling and removal. | |
710 | ||
f963f90b | 711 | 2012-05-22 Jan Hubicka <jh@suse.cz> |
712 | ||
713 | PR middle-end/53426 | |
ad75582e | 714 | * tree-ssa-structalias.c (create_variable_info_for): Skip constructors |
715 | from other partitions. | |
f963f90b | 716 | |
ad0fe105 | 717 | 2012-05-22 Jan Hubicka <jh@suse.cz> |
718 | ||
719 | PR middle-end/53161 | |
720 | * symtab.c (symtab_register_node): Fix ordering issue. | |
721 | ||
c93570ad | 722 | 2012-05-22 Steven Drake <sbd@NetBSD.org> |
723 | ||
724 | * gcc.c (do_spec_1): Add %M spec token to output multilib_os_dir. | |
725 | ||
f8efdac8 | 726 | 2012-05-22 David Edelsohn <dje.gcc@gmail.com> |
727 | ||
728 | * config/rs6000/rs6000.c (rs6000_aix_asm_output_dwarf_table_ref): | |
729 | Use strip_name_encoding target hook. | |
730 | ||
5084b2e4 | 731 | 2012-05-22 Richard Guenther <rguenther@suse.de> |
732 | ||
733 | * tree.h (VAR_DECL_IS_VIRTUAL_OPERAND): New. | |
734 | (init_function_for_compilation): Remove. | |
735 | * tree-dfa.c (find_vars_r): Take struct function argument. | |
736 | (find_referenced_vars_in): Adjust. | |
737 | * tree-ssa-operands.c (clobber_stats): Remove. | |
738 | (create_vop_var): Take struct function argument. Mark | |
739 | virtual operand with VAR_DECL_IS_VIRTUAL_OPERAND. | |
740 | (init_ssa_operands): Take struct function argument. | |
741 | (fini_ssa_operands): Do not dump dead stats. | |
742 | * tree-ssa-operands.h (init_ssa_operands): Take struct function | |
743 | argument. | |
744 | * cgraphunit.c (init_lowered_empty_function): Adjust. | |
745 | * lto-streamer-in.c (input_cfg): Likewise. | |
746 | * tree-inline.c (initialize_cfun): Likewise. | |
747 | * tree-into-ssa.c (rewrite_into_ssa): Likewise. | |
45476806 | 748 | * omp-low.c (expand_omp_taskreg): Likewise. Avoid switching cfun. |
5084b2e4 | 749 | * gimple.c (is_gimple_reg): Optimize the SSA_NAME case, |
750 | virtual operands are not registers. | |
751 | ||
22ba4121 | 752 | 2012-05-22 Richard Guenther <rguenther@suse.de> |
753 | ||
45476806 | 754 | * tree-cfg.c (verify_gimple_assign_unary): Fix typo in previous commit. |
22ba4121 | 755 | |
6084b64c | 756 | 2012-05-22 Richard Guenther <rguenther@suse.de> |
757 | ||
758 | PR middle-end/53437 | |
759 | * tree-inline.c (setup_one_parameter): Create a dummy init | |
760 | statement for unused parameters when not optimizing. | |
761 | ||
665507eb | 762 | 2012-05-22 Richard Guenther <rguenther@suse.de> |
763 | ||
764 | * tree-flow.h (add_referenced_var_1): Declare. | |
765 | (add_referenced_var): Define. | |
45476806 | 766 | * tree-dfa.c (referenced_var_check_and_insert): Avoid one hash lookup. |
665507eb | 767 | (add_referenced_var): Rename to ... |
768 | (add_referenced_var_1): ... this. Take struct function argument. | |
769 | ||
f9aa4160 | 770 | 2012-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
771 | ||
772 | PR target/53334 | |
773 | * config/arm/arm-protos.h (arm_validize_comparison): Declare. | |
774 | * config/arm/arm.c (arm_validize_comparison): Define. | |
775 | * config/arm/arm.md ("cbranchsi4"): Cleanup expansion and use | |
776 | arm_validize_comparison. | |
777 | ("cbranchdi4"): Likewise. | |
778 | ("cstoredi4"): Likewise. | |
779 | ("movsicc"): Likewise. | |
780 | ("movsfcc"): Likewise. | |
781 | ("movdfcc"): Likewise. | |
782 | ||
6940c58b | 783 | 2012-05-22 Dimitrios Apostolou <jimis@gmx.net> |
784 | ||
785 | * df-scan.c (df_scan_alloc): Round up allocation pools size, reduce | |
f9aa4160 | 786 | the mw_reg_pool size. |
6940c58b | 787 | |
3f55c2b5 | 788 | 2012-05-22 Paolo Bonzini <bonzini@gnu.org> |
789 | ||
790 | PR tree-optimization/53336 | |
791 | * tree-cfg.c (verify_gimple_assign_unary): Allow conversion from | |
792 | non-integer integral types to offset type and vice versa. | |
793 | ||
07f7357d | 794 | 2012-05-22 Alan Modra <amodra@gmail.com> |
795 | ||
53845569 | 796 | * config/rs6000/aix.h (FP_SAVE_INLINE, GP_SAVE_INLINE): Delete. |
797 | * config/rs6000/darwin.h (FP_SAVE_INLINE, GP_SAVE_INLINE): Delete. | |
798 | * config/rs6000/sysv4.h (FP_SAVE_INLINE, GP_SAVE_INLINE, | |
799 | V_SAVE_INLINE): Delete. | |
07f7357d | 800 | * config/rs6000/rs6000.c (V_SAVE_INLINE): Delete. |
801 | (rs6000_savres_strategy): Reimplement GP/FP/V_SAVE_INLINE logic. | |
802 | For ELF targets, use out-of-line restores for -Os and any number | |
803 | of regs if the restore exits, and out-of-line gp save for two or | |
804 | more regs. Use save_reg_p to test for holes in reg restore set. | |
805 | Replace "#if" with "if". | |
806 | ||
1988c1c3 | 807 | 2012-05-22 Alan Modra <amodra@gmail.com> |
808 | ||
809 | * config/rs6000/rs6000.c (save_reg_p): New function. | |
810 | (first_reg_to_save, first_fp_reg_to_save): Use it here. | |
811 | (first_altivec_reg_to_save, restore_saved_cr): Likewise. | |
812 | (emit_frame_save): Use gen_frame_store. | |
813 | (gen_frame_mem_offset): Correct SPE condition requiring reg+reg. | |
814 | (rs6000_emit_prologue): Use save_reg_p. Use gen_frame_store for | |
815 | vrsave and toc. | |
816 | (rs6000_emit_epilogue): Use save_reg_p. Use gen_frame_load for | |
817 | vrsave, toc, gp and fp restores. | |
818 | ||
5afb4a41 | 819 | 2012-05-22 Alan Modra <amodra@gmail.com> |
820 | ||
821 | * config/rs6000/rs6000.c: Delete unnecessary forward declarations. | |
822 | Move those with ATTRIBUTE_UNUSED to immediately before definitions. | |
823 | Move function pointer variables after forward declarations. | |
824 | (rs6000_builtin_support_vector_misalignment): Make static. | |
825 | (rs6000_legitimate_address_p, rs6000_gimplify_va_arg): Likewise. | |
826 | (rs6000_function_value, rs6000_can_eliminate): Likewise. | |
827 | ||
d73df292 | 828 | 2012-05-21 Bernd Schmidt <bernds@codesourcery.com> |
829 | ||
830 | PR rtl-optimization/53373 | |
831 | * caller-save.c (save_call_clobbered_regs): Look into a possible | |
832 | PARALLEL manually rather than using single_set on a call insn. | |
833 | ||
445d06b6 | 834 | 2012-05-21 Jakub Jelinek <jakub@redhat.com> |
835 | ||
836 | PR tree-optimization/53436 | |
837 | * omp-low.c (omp_build_component_ref): New function. | |
838 | (build_receiver_ref, build_sender_ref, create_task_copyfn): Use it. | |
839 | ||
04275edf | 840 | 2012-05-21 Uros Bizjak <ubizjak@gmail.com> |
841 | ||
842 | * config/i386/i386.c (put_condition_code): Change "reverse" and "fp" | |
843 | arguments to bool. | |
844 | (ix86_print_operand) <case 'O'>: Look at mode size of the operand. | |
845 | Do not print '.' here. Output operand lossage error for unhandled | |
846 | sizes. Move. | |
847 | <case '*'>: Move. | |
848 | <case '&'>: Ditto. | |
849 | <case 'Y'>: Ditto. | |
850 | <case 'z'>: Hardcode "code" argument into error strings. | |
851 | <case 'Z'>: Ditto. | |
852 | <case 'D'>: Merge AVX and non-AVX codes. | |
853 | <case 'C', case 'c', case 'F', case 'f'>: Merge. Fix error string. | |
854 | Update call to put_condition_code. | |
855 | ||
eddf6a68 | 856 | 2012-05-21 Andreas Schwab <schwab@linux-m68k.org> |
857 | ||
858 | * config/m68k/m68k.md (*clzsi2_cf): Renamed from clzsi2. Call | |
859 | CC_STATUS_INIT. | |
860 | (clzsi2): New expander. | |
861 | (*clzsi2_68k): New insn. | |
04275edf | 862 | * config/m68k/m68k.h: Update comment about CLZ_DEFINED_VALUE_AT_ZERO. |
eddf6a68 | 863 | |
6ad451f8 | 864 | 2012-05-21 Aldy Hernandez <aldyh@redhat.com> |
865 | ||
866 | * gimple.h (gimple_set_in_transaction): Remove. | |
867 | (gimple_in_transaction): Look in BB instead. | |
868 | (gimple_statement_base): Remove in_transaction field. | |
869 | * basic-block.h (enum bb_flags): Add BB_IN_TRANSACTION. | |
870 | * trans-mem.c (compute_transaction_bits): Place transaction bit | |
871 | information into basic blocks. | |
872 | ||
ef47fd1d | 873 | 2012-05-21 Andreas Schwab <schwab@linux-m68k.org> |
874 | ||
875 | * expr.c (get_def_for_expr_class): Define only if | |
876 | HAVE_conditional_move. | |
877 | (convert_tree_comp_to_rtx): Likewise. | |
878 | ||
b1182707 | 879 | 2012-05-21 Uros Bizjak <ubizjak@gmail.com> |
880 | ||
881 | PR target/53399 | |
882 | * config/i386/i386.md (ffs<mode>2): Generate CCCmode compare | |
883 | for TARGET_BMI. | |
884 | (ffssi2_no_cmove): Ditto. | |
885 | (*ffs<mode>_1): Remove insn pattern. | |
886 | (*tzcnt<mode>_1): New insn pattern. | |
887 | (*bsf<mode>1): Ditto. | |
888 | ||
c77bfbc9 | 889 | 2012-05-21 Richard Guenther <rguenther@suse.de> |
890 | ||
891 | * tree-dfa.c (add_referenced_var): Do not walk DECL_INITIAL for | |
892 | more referenced vars. | |
893 | * tree-ssa-live.c (mark_all_vars_used_1): Only set the used | |
894 | flag on variables that have a var-annotation. | |
895 | ||
7c2df6db | 896 | 2012-05-21 Joseph Myers <joseph@codesourcery.com> |
897 | ||
6a17c9e0 | 898 | PR c/53418 |
7c2df6db | 899 | * c-typeck.c (build_conditional_expr): Remove C_MAYBE_CONST_EXPR |
900 | from folded operands before wrapping another around the | |
901 | conditional expression. | |
902 | ||
8cb435f5 | 903 | 2012-05-21 Jakub Jelinek <jakub@redhat.com> |
904 | ||
e694f1e7 | 905 | PR tree-optimization/53366 |
906 | * tree-vect-slp.c (vect_supported_load_permutation_p): Don't shortcut | |
907 | tests if complex_numbers == 2, but there are non-complex number loads | |
908 | too. | |
909 | ||
791e6391 | 910 | PR tree-optimization/53409 |
911 | * tree-vect-loop.c (vect_analyze_loop_operations): Don't check | |
912 | vinfo_for_stmt (op_def_stmt) if op_def_stmt isn't inside loop. | |
913 | ||
8cb435f5 | 914 | PR tree-optimization/53410 |
915 | * fold-const.c (fold_binary_loc): Use build_zero_cst (type) | |
916 | instead of build_int_cst (type, 0) where vector types might be | |
917 | involved. Instead of build_int_cst (type, 1) convert the original | |
918 | integer_onep argument to the desired type. | |
919 | ||
31eb619c | 920 | 2012-05-21 Michael Matz <matz@suse.de> |
921 | ||
922 | * genattrtab.c (attr_rtx_cost): Move earlier, start with cost being 1. | |
923 | (simplify_test_exp): Handle one more case of distributive law, | |
924 | decrease cost threshold. | |
925 | (tests_attr_p, get_attr_order): New functions. | |
926 | (optimize_attrs): Use topological order, inline only cheap values. | |
927 | (write_attr_set): Reset our_known_true after some time. | |
928 | ||
391d150e | 929 | 2012-05-21 H.J. Lu <hongjiu.lu@intel.com> |
930 | ||
931 | PR target/53425 | |
932 | * config/i386/i386.c (type_natural_mode): Warn passing SSE | |
933 | vector argument without SSE enabled changes the ABI. | |
934 | ||
02a2bdca | 935 | 2012-05-21 Richard Guenther <rguenther@suse.de> |
936 | ||
937 | PR tree-optimization/53408 | |
938 | * tree-vect-loop.c (vectorizable_induction): Properly check | |
939 | the restriction that we cannot handle induction results from | |
940 | the inner loop outside of the outer loop. | |
941 | ||
bdd31be6 | 942 | 2012-05-21 H.J. Lu <hongjiu.lu@intel.com> |
943 | ||
944 | PR target/53416 | |
945 | * config/i386/i386.md (UNSPEC_RDRAND): Renamed to ... | |
946 | (UNSPECV_RDRAND): This. | |
947 | (rdrand<mode>_1): Updated. | |
948 | ||
6681da88 | 949 | 2012-05-21 Richard Guenther <rguenther@suse.de> |
950 | ||
951 | * tree-loop-distribution.c (can_generate_builtin): Reject | |
952 | volatile stmts. | |
953 | ||
abe01860 | 954 | 2012-05-21 Chung-Lin Tang <cltang@codesourcery.com> |
955 | ||
956 | * Makefile.in (options.c): Add options.h to included header | |
957 | files, before tm.h. | |
958 | ||
0773b627 | 959 | 2012-05-21 Razya Ladelsky <razya@il.ibm.com> |
960 | ||
b1182707 | 961 | * tree-parloops.c : Add myself to contributors, update |
0773b627 | 962 | TODO list, add link to wiki. |
963 | ||
ae4dcb11 | 964 | 2012-05-21 Alan Modra <amodra@gmail.com> |
965 | ||
966 | * config/rs6000/predicates.md (input_operand): Don't match | |
967 | constant pool addresses. Remove label_ref, high and plus from | |
968 | match_code list. Remove redundant CONSTANT_P test. | |
969 | (splat_input_operand): Similarly update match_code list. | |
970 | (small_toc_ref): New predicate. | |
971 | * config/rs6000/rs6000-protos.h (toc_relative_expr_p): Update prototype. | |
972 | * config/rs6000/rs6000.c (tocrel_base, tocrel_offset): Make const. | |
973 | (legitimate_constant_pool_address_p): Move TARGET_TOC test and | |
974 | register checks to.. | |
975 | (toc_relative_expr_p): ..here. Add "strict" param. Match new rtl | |
976 | generated by create_TOC_reference. | |
977 | (rs6000_legitimize_address): Update cerate_TOC_reference call. | |
978 | (rs6000_delegitimize_address): Handle new rtl for toc refs. | |
979 | (rs6000_cannot_force_const_mem, rs6000_find_base_term): Likewise. | |
980 | (use_toc_relative_ref): New function, split out from.. | |
981 | (rs6000_emit_move): ..here. Remove redundant tests. Update | |
982 | create_TOC_reference calls. | |
983 | (rs6000_legitimize_reload_address): Formatting. Handle splitting | |
984 | of medium/large model toc addresses. Use use_toc_relative_ref. | |
985 | (print_operand): Formatting, style. Adjust for toc changes. | |
986 | (print_operand_address): Likewise. | |
987 | (rs6000_output_addr_const_extra): Likewise. | |
988 | (create_TOC_reference): Put TOC_REGISTER in UNSPEC_TOCREL rather | |
989 | than a PLUS. Use this formulation for both high and low part | |
990 | of -mcmodel=medium/large toc reference too. Before reload, | |
991 | always use the small model formulation. | |
992 | * config/rs6000/rs6000.md (tls_gd, tls_gd_high): Similarly avoid | |
993 | a PLUS in high part of addresses here. | |
994 | (tls_ld, tls_ld_high, tls_got_dtprel, tls_got_dtprel_high): Likewise. | |
995 | (tls_got_tprel, tls_got_tprel_high, largetoc_high): Likewise. | |
996 | (largetoc_high, largetoc_low): Move earlier. Cope when no | |
997 | base reg available. | |
998 | (largetoc_high_plus): New insn. | |
999 | (movsi_internal1, movsi_internal1_single, movsf_softfloat, | |
1000 | movdi_mfpgpr, movdi_internal64): Don't handle 'R' constraint here.. | |
1001 | (tocref): ..instead do so here, new insn and split. | |
1002 | ||
db3de906 | 1003 | 2012-05-20 H.J. Lu <hongjiu.lu@intel.com> |
1004 | ||
1005 | * config/i386/driver-i386.c (host_detect_local_cpu): Support | |
1006 | RDRND, F16C and FSGSBASE. | |
1007 | ||
c91c5188 | 1008 | 2012-05-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1009 | ||
1010 | PR rtl-optimzation/53373 | |
1011 | * config/pa/pa.md (call_symref_pic): Don't expose PIC register save in | |
1012 | call pattern. Update split patterns. | |
1013 | (call_symref_64bit, call_reg_pic, call_reg_64bit, call_val_symref_pic, | |
1014 | call_val_symref_64bit, call_val_reg_pic, call_val_reg_64bit): Likewise. | |
1015 | ||
362dc73c | 1016 | 2012-05-20 Razya Ladelsky <razya@il.ibm.com> |
b1182707 | 1017 | |
1018 | * tree-parloops.c (gen_parallel_loop): Change many_iterations_cond | |
1019 | for outer loops. | |
362dc73c | 1020 | |
18a71d50 | 1021 | 2012-05-18 Jan Hubicka <jh@suse.cz> |
1022 | ||
1023 | * cgraphunit.c (handle_alias_pairs): Declare; free alias_pairs | |
1024 | (cgraph_process_new_functions): Process also aliases. | |
1025 | * lto-streamer-out.c (struct sets): Remove. | |
1026 | (trivally_defined_alias): Remove. | |
1027 | (output_alias_pair_p): Remove. | |
1028 | (output_unreferenced_globals): Remove. | |
1029 | (produce_symtab); Do not handle alias pairs. | |
1030 | (produce_asm_for_decls): Likewise. | |
1031 | * lto-streamer-in.c (input_alias_pairs): Remove. | |
1032 | (lto_read_body): Do not input alias pairs. | |
1033 | (lto_input_constructors_and_inits): Remove. | |
1034 | ||
48c84ee3 | 1035 | 2012-05-18 Jan Hubicka <jh@suse.cz> |
1036 | ||
b1182707 | 1037 | * cgraphunit.c (handle_alias_pairs): Cleanup; handle all types of |
1038 | aliases. | |
48c84ee3 | 1039 | |
a65b88bf | 1040 | 2012-05-18 Jan Hubicka <jh@suse.cz> |
1041 | ||
1042 | * cgraphbuild.c (record_reference): Update. | |
1043 | * lto-cgraph.c (lto_output_varpool_node): External vars | |
1044 | are not in other partition even if they are not output | |
1045 | in current partition. | |
1046 | * gimple-fold.c (can_refer_decl_in_current_unit_p): Take FROM_DECL | |
1047 | argument; fix. | |
1048 | (canonicalize_constructor_val): Take FROM_DECL argument. | |
1049 | (fold_ctor_reference, fold_string_cst_ctor_reference, | |
1050 | fold_array_ctor_reference, fold_nonarray_ctor_reference, | |
1051 | fold_ctor_reference): Likewise. | |
1052 | (fold_const_aggregate_ref_1, gimple_get_virt_method_for_binfo): Update. | |
1053 | * gimple.h (gimple_fold_builtin): Likewise. | |
1054 | ||
01922927 | 1055 | 2012-05-18 Olivier Hainque <hainque@adacore.com> |
1056 | ||
1057 | * Makefile.in (FLAGS_TO_PASS): Pass $(libexecsubdir) instead of | |
1058 | $(libsubdir) as libexecsubdir. | |
1059 | ||
dcc95d92 | 1060 | 2012-05-18 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
1061 | ||
1062 | * config/rs6000/rs6000.c (print_operand): Revise code that unsafely | |
1063 | relied on signed overflow behavior. | |
1064 | ||
58ccfbea | 1065 | 2012-05-18 Richard Guenther <rguenther@suse.de> |
1066 | ||
1067 | PR tree-optimization/53346 | |
1068 | * tree-loop-distribution.c (ldist_gen): Make sure to apply | |
1069 | builtin transform even when only a single partition with | |
1070 | all reads/writes exists. | |
1071 | ||
a72a38f4 | 1072 | 2012-05-18 Richard Guenther <rguenther@suse.de> |
1073 | ||
1074 | PR tree-optimization/53390 | |
1075 | * tree-vect-data-refs.c (vect_compute_data_ref_alignment): Ignore | |
1076 | strided loads. | |
1077 | ||
97269507 | 1078 | 2012-05-18 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
1079 | ||
1080 | * tree-ssa-reassoc.c (bip_map): Remove decl. | |
1081 | (completely_remove_stmt): Remove function. | |
1082 | (remove_def_if_absorbed_call): Remove function. | |
1083 | (remove_visited_stmt_chain): Remove __builtin_powi handling. | |
1084 | (possibly_move_powi): Remove function. | |
1085 | (rewrite_expr_tree): Remove calls to possibly_move_powi. | |
1086 | (rewrite_expr_tree_parallel): Likewise. | |
1087 | (attempt_builtin_powi): Build multiplies explicitly rather than | |
1088 | relying on the ops vector and rank system. | |
1089 | (transform_stmt_to_copy): New function. | |
1090 | (transform_stmt_to_multiply): Likewise. | |
1091 | (reassociate_bb): Handle leftover operations after __builtin_powi | |
1092 | optimization; build a final multiply if necessary. | |
1093 | ||
2d4bf241 | 1094 | 2012-05-18 Jan Hubicka <jh@suse.cz> |
1095 | ||
1096 | * cgraphunit.c (varpool_finalize_decl): Allow external decls. | |
1097 | (mark_functions_to_output): Fix sanity check. | |
b1182707 | 1098 | * ipa.c (function_and_variable_visibility): Remove TREE_STATIC check. |
2d4bf241 | 1099 | |
a7745367 | 1100 | 2012-05-18 Richard Guenther <rguenther@suse.de> |
1101 | ||
1102 | * tree-flow.h (mark_symbols_for_renaming): Remove. | |
1103 | * tree-dfa.c (mark_symbols_for_renaming): Likewise. | |
b1182707 | 1104 | * tree-inline.c (copy_edges_for_bb): Do not mark symbols for renaming. |
a7745367 | 1105 | (copy_debug_stmt): Likewise. |
1106 | (expand_call_inline): Likewise. | |
1107 | (declare_return_variable): Mark the return variable for renaming | |
1108 | if necessary. | |
1109 | ||
ffcc986d | 1110 | 2012-05-18 Andrew Stubbs <ams@codesourcery.com> |
1111 | ||
1112 | * config/arm/arm-protos.h (arm_emit_coreregs_64bit_shift): New | |
1113 | prototype. | |
1114 | * config/arm/arm.c (arm_emit_coreregs_64bit_shift): New function. | |
1115 | * config/arm/arm.md (ashldi3): Use arm_emit_coreregs_64bit_shift. | |
1116 | (ashrdi3,lshrdi3): Likewise. | |
1117 | (arm_cond_branch): Remove '*' to enable gen_arm_cond_branch. | |
1118 | ||
3a966565 | 1119 | 2012-05-18 Meador Inge <meadori@codesourcery.com> |
1120 | ||
1121 | PR rtl-optimization/53352 | |
1122 | * cse.c (equiv_constant): Ignore paradoxical subregs. | |
1123 | ||
cb454387 | 1124 | 2012-05-17 Steven Bosscher <steven@gcc.gnu.org> |
1125 | ||
1126 | PR rtl-optimization/53125 | |
1127 | * regstat.c (regstat_bb_compute_ri): Take new local_live_last_luid | |
1128 | argument. Simplify calculation of REG_LIVE_LENGTH for regnos that | |
1129 | die in the basic block. Correctly top off REG_FREQ and | |
1130 | REG_FREQ_CALLS_CROSSED. | |
1131 | Remove do_not_gen. | |
1132 | (regstat_compute_ri): Allocate and free local_live_last_luid. | |
1133 | Remove do_not_gen. | |
1134 | (regstat_bb_compute_calls_crossed): Correctly top off | |
1135 | REG_FREQ_CALLS_CROSSED. | |
1136 | ||
aa419a52 | 1137 | 2012-05-17 Jan Hubicka <jh@suse.cz> |
1138 | ||
b1182707 | 1139 | * lto-symtab.c (lto_symtab_resolve_symbols): Preffer decl with |
1140 | constructor over decl without. | |
aa419a52 | 1141 | * cgraph.c (cgraph_remove_node): Clear also body of unanalyzed nodes. |
1142 | * cgraph.h (varpool_can_remove_if_no_refs): Handle external correctly. | |
b1182707 | 1143 | * cgraphunit.c (process_function_and_variable_attributes): Finalize |
aa419a52 | 1144 | extrnal decls. |
b1182707 | 1145 | (mark_functions_to_output): Also accept bodies for functions with |
1146 | clones. | |
aa419a52 | 1147 | (output_in_order): Skip external vars. |
1148 | * lto-cgraph.c (lto_output_node): External functions are never in other | |
1149 | partition. | |
1150 | (lto_output_varpool_node): Likewise. | |
1151 | * lto-streamer-out.c (lto_write_tree): Always use error_mark_nodes for | |
1152 | forgotten initializers. | |
1153 | * ipa.c (process_references): Handle external vars. | |
1154 | (symtab_remove_unreachable_nodes): Update to handle external vars. | |
1155 | (varpool_externally_visible_p): External vars are externally visible. | |
1156 | * gimple-fold.c (can_refer_decl_in_current_unit_p): Update. | |
1157 | * varpool.c (varpool_remove_node): Remove constructor. | |
1158 | (decide_is_variable_needed): Handle externals. | |
1159 | (varpool_remove_unreferenced_decls): Likewise. | |
1160 | ||
db490cb6 | 1161 | 2012-05-17 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1162 | ||
1163 | * opts.c (common_handle_option): -pedantic-errors enables -Wpedantic. | |
1164 | (enable_warning_as_error): Do not special case Wuninitialized. | |
1165 | * optc-gen.awk: Add sanity checks. | |
1166 | ||
a7847fbd | 1167 | 2012-05-17 Jan Hubicka <jh@suse.cz> |
1168 | ||
1169 | * ipa-reference.c (is_proper_for_analysis): Do not check flags | |
1170 | that might change as result of global optimization. | |
1171 | (analyze_function): Do not check analyzed and externally_visible | |
1172 | flags; be happy about address dereferences. | |
1173 | (propagate): Prune all_module_statics so it really contains just | |
1174 | statics; prune all the local summaries. | |
1175 | (ipa_reference_write_optimization_summary): Simplify. | |
1176 | ||
54418b27 | 1177 | 2012-05-17 Kwok Cheung Yeung <kcy@codesourcery.com> |
1178 | ||
b1182707 | 1179 | * config/m68k/m68k-devices.def: Add 51ag, 51je, 51jf, 51jg, 51mm, 51qm. |
54418b27 | 1180 | * config/m68k/m68k-tables.opt: Regenerated. |
1181 | * doc/invoke.texi (M680x0 Options): Document. | |
1182 | ||
2670559d | 1183 | 2012-05-16 Dave Boutcher <daveboutcher@gmail.com> |
1184 | Patrick Marlier <patrick.marlier@gmail.com> | |
1185 | ||
1186 | * trans-mem.c (ipa_tm_transform_clone): Transform functions with | |
1187 | indirect calls. | |
1188 | ||
b4b3bbba | 1189 | 2012-05-16 H.J. Lu <hongjiu.lu@intel.com> |
1190 | ||
1191 | * configure: Regenerated. | |
1192 | ||
1eaedae6 | 1193 | 2012-05-16 Andrew Pinski <apinski@cavium.com> |
1194 | ||
1195 | * gimple-fold.c (get_maxval_strlen): Move COND_EXPR handling under | |
1196 | GIMPLE_ASSIGN. | |
1197 | ||
ad35ffdc | 1198 | 2012-05-16 David S. Miller <davem@davemloft.net> |
1199 | ||
1200 | * jump.c (delete_related_insns): If we remove a CALL, make sure | |
1201 | we delete it's NOTE_INSN_CALL_ARG_LOCATION note too. | |
1202 | ||
97bad265 | 1203 | 2012-05-16 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
1204 | ||
1205 | PR tree-optimization/53217 | |
1206 | * tree-ssa-reassoc.c (bip_map): New static variable. | |
1207 | (possibly_move_powi): Move feeding multiplies with __builtin_powi call. | |
1208 | (attempt_builtin_powi): Save feeding multiplies on a stack. | |
1209 | (reassociate_bb): Create and destroy bip_map. | |
1210 | ||
9281483c | 1211 | 2012-05-16 Olivier Hainque <hainque@adacore.com> |
1212 | ||
1213 | * Makefile.in (install-no-fixedincludes): New target, former toplevel | |
1214 | gcc-no-fixedincludes. Stash "include-fixed" in addition to "include". | |
1215 | Add comments and improve stamp preservation across the whole sequence. | |
1216 | (stmp-int-hdrs): Use move-if-change + cp -p to setup fix_dir/limits.h. | |
1217 | ||
cbbd431d | 1218 | 2012-05-16 Richard Guenther <rguenther@suse.de> |
1219 | ||
1220 | * tree-inline.c (insert_init_stmt): Do not call | |
1221 | mark_symbols_for_renaming. | |
1222 | (setup_one_parameter): Avoid initializing unused parameters. | |
1223 | (declare_return_variable): Properly handle DECL_BY_REFERENCE | |
1224 | return vars in SSA form. | |
1225 | ||
35505f9a | 1226 | 2012-05-16 Richard Guenther <rguenther@suse.de> |
1227 | ||
1228 | * tree-flow.h (get_virtual_var): Remove. | |
1229 | * tree-dfa.c (get_virtual_var): Likewise. | |
1230 | ||
1e8cf080 | 1231 | 2012-05-16 Richard Guenther <rguenther@suse.de> |
1232 | ||
1233 | * tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1): | |
1234 | Remove set-only bitmap of new names. | |
1235 | (slpeel_tree_peel_loop_to_edge): Likewise. Do not set | |
1236 | CFG hooks. | |
1237 | * tree-flow.h (ssa_names_to_replace): Remove. | |
1238 | * tree-into-ssa.c (ssa_names_to_replace): Likewise. | |
1239 | ||
5ef4302d | 1240 | 2012-05-16 Richard Guenther <rguenther@suse.de> |
1241 | ||
1242 | PR tree-optimization/53364 | |
1243 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Properly | |
1244 | detect a view-conversion of the decl. | |
1245 | ||
a60f3e81 | 1246 | 2012-05-16 Dodji Seketeli <dodji@redhat.com> |
1247 | ||
1248 | PR preprocessor/7263 | |
1249 | * c-tree.h (enum c_declspec_word): Declare new enum. | |
1250 | (struct c_declspecs::locations): New member. | |
1251 | (declspecs_add_qual, declspecs_add_scspec) | |
1252 | (declspecs_add_addrspace, declspecs_add_alignas): Take a new | |
1253 | location parameter. | |
1254 | * c-decl.c (build_null_declspecs): Initialize the new struct | |
1255 | c_declspecs::locations member. | |
1256 | (declspecs_add_addrspace): Take a location parameter for the | |
1257 | address space. Store it onto declaration specifiers. | |
1258 | (declspecs_add_qual): Likewise, take a location parameter for the | |
1259 | qualifier. | |
1260 | (declspecs_add_type): Likewise, take a location parameter for the | |
1261 | type specifier. | |
1262 | (declspecs_add_scspec): Likewise, take a location parameter for | |
1263 | the storage class specifier. | |
1264 | (declspecs_add_attrs): Likewise, take a location parameter for the | |
1265 | first attribute. | |
1266 | (declspecs_add_alignas): Likewise, take a location parameter for | |
1267 | the alignas token. | |
1268 | (finish_declspecs): For diagnostics, use the location of the | |
1269 | relevant declspec, instead of the global input_location. | |
1270 | * c-parser.c (c_parser_parameter_declaration): Pass the precise | |
1271 | virtual location of the declspec to the declspecs-setters. | |
1272 | (c_parser_declspecs): Likewise. Avoid calling c_parser_peek_token | |
1273 | repeatedly. | |
1274 | ||
e54ce707 | 1275 | 2012-05-16 Igor Zamyatin <igor.zamyatin@intel.com> |
1276 | ||
1277 | * configure.ac: Stack protector enabling for Android targets. | |
1278 | * configure: Regenerate. | |
1279 | ||
f42197a5 | 1280 | 2012-05-16 Richard Sandiford <r.sandiford@uk.ibm.com> |
1281 | ||
1282 | * ira.c (pseudo_move_insn): Delete. | |
1283 | (find_moveable_pseudos): Don't set it. | |
1284 | (move_unallocated_pseudos): Use DF_REG_DEF_CHAIN to find | |
1285 | the definitions of the original pseudo. Delete all of them. | |
1286 | ||
76303083 | 1287 | 2012-05-16 Olivier Hainque <hainque@adacore.com> |
1288 | ||
1289 | * config/rs6000/rs6000-opts.h (enum processor_type): Add | |
1290 | PROCESSOR_PPC8548. | |
1291 | * config/rs6000/rs6000-cpus.def: Reference it for cpu="8548". | |
1292 | * config/rs6000/rs6000.md (cpu attribute definition): Add ppc8548. | |
1293 | * config/rs6000/8540.md: indicate that the units/patterns apply to | |
1294 | ppc8548 as well. | |
1295 | ||
1296 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Rename | |
1297 | default_cpu into implicit_cpu, conveying what --with-cpu was passed at | |
1298 | configure time. Treat implicit_cpu as have_CPU. Pick defaults for SPE | |
1299 | related flags, check that what is queried is supported by the selected | |
1300 | configuration. Rework the single/double_float and MASK_STRING resets to | |
1301 | hit for all the E500 cores (854x + E500MC variants). Select the ppc8540 | |
1302 | costs for PROCESSOR_PPC8548 as well. | |
1303 | (rs6000_issue_rate): case CPU_PPC8548 together with CPU_PPC8540. | |
1304 | (rs6000_use_sched_lookahead): Likewise, rewriting function as a case | |
1305 | statement instead of a sequence of ifs. | |
1306 | ||
1307 | * config/rs6000/rs6000.h (TARGET_E500): Remove. | |
1308 | (TARGET_NO_LWSYNC): Adjust accordingly. | |
1309 | * config/rs6000/e500.h (TARGET_E500): Remove. | |
1310 | (CHECK_E500_OPTIONS): Adjust accordingly. | |
1311 | * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Remove. | |
1312 | (TARGET_DEFAULT): Reformat definition to match the one in linuxspe.h. | |
1313 | * config/rs6000/linuxspe.h: Likewise. | |
1314 | * config/rs6000/vxworks.h: Remove bogus TARGET_E500 overrides and | |
1315 | superfluous comments. | |
1316 | * config/rs6000/e500-double.h: Remove. | |
1317 | ||
1318 | * config.gcc (pick a default with_cpu): For powerpc*-*-*spe*, | |
1319 | default to with_cpu=8548 if --enable-e500-double, and to 8540 | |
1320 | otherwise. | |
1321 | (set misc flags section): For powerpc*|rs6000*, remove inclusion | |
1322 | of e500-double.h for --enable-e500-double. | |
1323 | ||
136fa403 | 1324 | 2012-05-16 Olivier Hainque <hainque@adacore.com> |
1325 | ||
1326 | * Makefile.in (s-header-vars): Resort to -n instead of trailing | |
1327 | -e d in sed invocation. | |
1328 | ||
816c3ff2 | 1329 | 2012-05-16 Hans-Peter Nilsson <hp@axis.com> |
1330 | ||
1331 | * doc/tm.texi.in (Type Layout) <SIZE_TYPE>: Update reference to | |
1332 | source-code. | |
1333 | * doc/tm.texi: Regenerate. | |
1334 | ||
de9d5a8c | 1335 | 2012-05-15 Paolo Carlini <paolo.carlini@oracle.com> |
1336 | ||
1337 | * tree.h (EXPR_LOCATION): Use CAN_HAVE_LOCATION_P. | |
1338 | ||
f2a4755d | 1339 | 2012-05-15 Jakub Jelinek <jakub@redhat.com> |
1340 | ||
1341 | PR target/53358 | |
1342 | * config/i386/i386.md (*addqi_2 peephole with QImode addition): Check | |
1343 | that operands[2] is either immediate, or q_regs_operand. | |
1344 | ||
37ffa8fe | 1345 | 2012-05-15 Richard Guenther <rguenther@suse.de> |
1346 | ||
1347 | * cgraphunit.c (thunk_adjust): Use make_rename_temp. | |
1348 | (assemble_thunk): Likewise. Manually rename and register | |
1349 | function arguments. | |
1350 | ||
e7ea1c21 | 1351 | 2012-05-15 Richard Guenther <rguenther@suse.de> |
1352 | ||
1353 | PR tree-optimization/53355 | |
1354 | * tree-vrp.c (extract_range_from_binary_expr_1): Handle LSHIFT_EXPRs | |
1355 | by constants. | |
1356 | ||
d1f1c0a9 | 1357 | 2012-05-15 Tristan Gingold <gingold@adacore.com> |
1358 | ||
b1182707 | 1359 | * tree-ssa-strlen.c (get_string_length): Convert lhs if needed. |
d1f1c0a9 | 1360 | |
5168aa67 | 1361 | 2012-05-15 Richard Guenther <rguenther@suse.de> |
1362 | ||
1363 | * gimple.c (gimple_set_modified): Move ... | |
1364 | * gimple.h (gimple_set_modified): ... here. | |
1365 | ||
135c4579 | 1366 | 2012-05-15 Tristan Gingold <gingold@adacore.com> |
1367 | ||
1368 | * ira-color.c (move_spill_restore): Add a guard. | |
1369 | ||
675fed0b | 1370 | 2012-05-15 Tristan Gingold <gingold@adacore.com> |
1371 | ||
1372 | * config/ia64/ia64.c (ia64_emit_probe_stack_range): Adjust calls to | |
1373 | plus_constant. | |
1374 | ||
94a6770c | 1375 | 2012-05-15 Eric Botcazou <ebotcazou@adacore.com> |
1376 | ||
1377 | * gimplify.c (gimplify_init_constructor): Do a block move for very | |
1378 | small objects as well. | |
1379 | ||
e453e47c | 1380 | 2012-05-15 Bernd Schmidt <bernds@codesourcery.com> |
1381 | ||
1382 | * ira.c (find_moveable_pseudos): Skip registers whose | |
1383 | DF_REG_EQ_USE_COUNT is nonzero. | |
1384 | ||
c9bf5a0e | 1385 | 2012-05-15 Kenneth Zadeck <zadeck@naturalbridge.com> |
1386 | ||
b1182707 | 1387 | * doc/md.texi (fma): Define to only be applicable for single rounding. |
d1f1c0a9 | 1388 | |
c6dab7d2 | 1389 | 2012-05-14 Uros Bizjak <ubizjak@gmail.com> |
1390 | ||
1391 | PR target/46098 | |
1392 | * config/i386/i386.c (ix86_expand_special_args_builtin): Always | |
1393 | generate target register for "load" class builtins. | |
1394 | ||
1395 | Revert: | |
1396 | 2010-10-22 Uros Bizjak <ubizjak@gmail.com> | |
1397 | ||
1398 | PR target/46098 | |
1399 | * config/i386/sse.md (*avx_movu<ssemodesuffix><avxmodesuffix>): | |
1400 | Rename from avx_movu<ssemodesuffix><avxmodesuffix>. | |
1401 | (avx_movu<ssemodesuffix><avxmodesuffix>): New expander. | |
1402 | (*<sse>_movu<ssemodesuffix>): Rename from <sse>_movu<ssemodesuffix>. | |
1403 | (<sse>_movu<ssemodesuffix>): New expander. | |
1404 | (*avx_movdqu<avxmodesuffix>): Rename from avx_movdqu<avxmodesuffix>. | |
1405 | (avx_movdqu<avxmodesuffix>): New expander. | |
1406 | (*sse2_movdqu): Rename from sse2_movdqu. | |
1407 | (sse2_movdqu): New expander. | |
1408 | ||
801c4432 | 1409 | 2012-05-14 Marc Glisse <marc.glisse@inria.fr> |
1410 | ||
1411 | PR target/52607 | |
1412 | * config/i386/i386.c (ix86_expand_vec_perm_const): Move code to ... | |
1413 | (canonicalize_perm): ... new function. | |
1414 | (expand_vec_perm_2vperm2f128_vshuf): New function. | |
1415 | (ix86_expand_vec_perm_const_1): Call it. | |
1416 | ||
5dc7473d | 1417 | 2012-05-14 Andrew Pinski <apinski@cavium.com> |
1418 | H.J. Lu <hongjiu.lu@intel.com> | |
1419 | Jakub Jelinek <jakub@redhat.com> | |
1420 | ||
1421 | PR target/53315 | |
c6dab7d2 | 1422 | * config/i386/i386.md (xbegin_1): Use + in constraint and match_dup. |
5dc7473d | 1423 | (xbegin): Updated. |
1424 | ||
f449422d | 1425 | 2012-05-14 Jakub Jelinek <jakub@redhat.com> |
1426 | ||
130129dd | 1427 | * dwarf2out.c (dwarf2out_define, dwarf2out_undef): Treat |
1428 | lineno 1 the same as lineno 0 before first start file directive. | |
1429 | (optimize_macinfo_range): Likewise. | |
1430 | ||
f449422d | 1431 | * dwarf2out.c (have_macinfo): Define. |
1432 | (dwarf2out_finish): Don't emit DW_AT_GNU_macros or DW_AT_macro_info | |
1433 | attribute, don't force empty compilation unit and don't emit any | |
1434 | .debug_macinfo/.debug_macro section if macinfo_table is empty. | |
1435 | ||
5a9cc803 | 1436 | 2012-05-14 Georg-Johann Lay <avr@gjlay.de> |
1437 | ||
1438 | PR target/53344 | |
1439 | * config/avr/avr.c (avr_const_address_lo16): Remove. | |
1440 | (avr_assemble_integer): Print ".byte lo8(x)", | |
1441 | ".byte hi8(x)", ".byte hh8(x)" instead of emit an assembler | |
b1182707 | 1442 | .warning if 3-byte address is assembled. |
5a9cc803 | 1443 | * doc/extend.texi (AVR Named Address Spaces): Document that |
1444 | binutils 2.23 is needed to assemble 3-byte addresses. | |
1445 | ||
a9696ee9 | 1446 | 2012-05-14 Richard Guenther <rguenther@suse.de> |
1447 | ||
1448 | * tree-vect-data-refs.c (vect_setup_realignment): Remove | |
1449 | call to mark_symbols_for_renaming. | |
1450 | (vect_permute_load_chain): Likewise. | |
1451 | * tree-vect-loop.c (vect_is_slp_reduction): Update stmt | |
1452 | instead of calling mark_symbols_for_renaming. | |
1453 | * tree-vect-stmts.c (read_vector_array): Remove call to | |
1454 | mark_symbols_for_renaming. | |
1455 | (write_vector_array): Likewise. | |
1456 | (vectorizable_call): Likewise. | |
1457 | (vectorizable_store): Likewise. | |
1458 | (vectorizable_load): Likewise. | |
1459 | * matrix-reorg.c (transform_allocation_sites): Likewise. | |
1460 | * tree-ssa-pre.c (create_expression_by_pieces): Likewise. | |
1461 | (create_expression_by_pieces): Likewise. | |
1462 | ||
95eb4ad3 | 1463 | 2012-05-14 Richard Guenther <rguenther@suse.de> |
1464 | ||
1465 | * gimplify.c (gimple_regimplify_operands): Only mark the LHS | |
1466 | of statements for renaming. | |
1467 | (force_gimple_operand_1): Likewise, consistently for both | |
1468 | calls to force_gimple_operand and force_gimple_operand_gsi. | |
1469 | ||
083152fb | 1470 | 2012-05-14 Richard Guenther <rguenther@suse.de> |
1471 | ||
1472 | * tree-dfa.c (make_rename_temp): Be forgiving if not in SSA form. | |
1473 | * omp-low.c (expand_omp_taskreg): Properly conditionalize call | |
1474 | to update_ssa. | |
1475 | (expand_omp_for): Likewise. | |
1476 | (expand_omp_for_generic): Adjust conditional add to referenced vars. | |
1477 | Use make_rename_temp for temporaries that should be rewritten into | |
1478 | SSA form. | |
1479 | (expand_omp_for_static_nochunk): Likewise. | |
1480 | (expand_omp_atomic_pipeline): Likewise. | |
1481 | ||
506aa8fc | 1482 | 2012-05-14 Richard Guenther <rguenther@suse.de> |
1483 | ||
1484 | PR tree-optimization/53331 | |
1485 | * tree-vect-data-refs.c (vect_verify_datarefs_alignment): Ignore | |
1486 | strided loads. | |
1487 | * tree-vect-stmts.c (vect_model_load_cost): Handle strided loads. | |
1488 | ||
d3b7ee7c | 1489 | 2012-05-14 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1490 | ||
1491 | PR 53063 | |
1492 | * doc/options.texi: (LangEnabledBy): Document it. | |
1493 | * optc-gen.awk: Handle LangEnabledBy. | |
1494 | * opth-gen.awk: Generate declaration for lang-specific functions. | |
1495 | * opt-read.awk: Record lang numbers. | |
1496 | * opt-functions.awk (flag_set_p): Ignore the arguments of flags. | |
1497 | (lang_sanitized_name): New. | |
1498 | ||
c8010b80 | 1499 | 2012-05-14 Bernd Schmidt <bernds@codesourcery.com> |
1500 | ||
1501 | * attribs.c (decl_attributes): Avoid emitting a warning if | |
1502 | ATTR_FLAG_BUILT_IN. | |
1503 | * doc/rtl.texi (CALL_INSN_FUNCTION_USAGE): Use lowercase for rtx | |
1504 | codes. Document meaning of sets inside CALL_INSN_FUNCTION_USAGE. | |
c8010b80 | 1505 | * builtin-attrs.def (DEF_ATTR_FOR_STRING): Define. Use it to |
1506 | define a string "1". | |
1507 | (ATTR_RET1_NOTHROW_NONNULL_LEAF): New attr definition. | |
1508 | * builtins.def (BUILT_IN_MEMCPY, BUILT_IN_MEMMOVE, BUILT_IN_MEMSET, | |
1509 | BUILT_IN_STRCPY): Use it for these functions. | |
1510 | * postreload.c (reload_combine): Deal with SETs inside | |
1511 | CALL_INSN_FUNCTION_USAGE. | |
1512 | * caller-save.c (setup_save_areas, save_call_clobbered_regs): | |
1513 | Look for REG_RETURNED notes and use a cheap restore if possible. | |
1514 | * ira-int.h (struct ira_allocno): New member cheap_calls_crossed_num. | |
1515 | (ALLOCNO_CHEAP_CALLS_CROSSED_NUM): New macro. | |
1516 | * ira-build.c (ira_create_allocno, create_cap_allocno, | |
1517 | propagate_allocno_info, propagate_some_info_from_allocno, | |
1518 | copy_info_to_removed_store_destination, ira_flattening): Handle it. | |
1519 | * ira-lives.c (pseudo_regno_single_word_and_live_p, | |
1520 | find_call_crossed_cheap_reg): New static functions. | |
1521 | (process_bb_node_lives): Look for SETs in CALL_INSN_FUNCTION_USAGE, | |
1522 | and set ALLOCNO_CHEAP_CALLS_CROSSED_NUM if possible. Also make | |
1523 | a REG_RETURNED note in that case. | |
1524 | * ira.c (setup_reg_renumber): Change assert to allow cases where | |
1525 | allocnos only cross calls for which they are cheap to restore. | |
1526 | * ira-costs.c (ira_tune_allocno_costs): Compare | |
1527 | ALLOCNO_CALLS_CROSSED_NUM to ALLOCNO_CHEAP_CALLS_CROSSED_NUM rather | |
1528 | than 0. | |
1529 | * reg-notes.def (REG_RETURNED): New note. | |
1530 | * cse.c (cse_insn): Likewise. | |
1531 | * sched-deps.c (sched_analyze_insn): Likewise. | |
1532 | * expr.c (init_block_move_fn): Set a "fn spec" attribute. | |
1533 | * calls.c (decl_return_flags): New static function. | |
1534 | (expand_call): Generate a SET in CALL_INSN_FUNCTION_USAGE for | |
1535 | functions that return one of their arguments. | |
c8010b80 | 1536 | * regcprop.c (struct kill_set_value_data): New. |
1537 | (kill_set_value): Interpret data as a pointer to such a struct. | |
1538 | Do nothing if the caller wants the register to be ignored. | |
1539 | (copyprop_hardreg_forward_1): Handle SETs in CALL_INSN_FUNCTION_USAGE. | |
1540 | ||
1c88e4bc | 1541 | 2012-05-14 Richard Guenther <rguenther@suse.de> |
1542 | ||
1543 | PR tree-optimization/53340 | |
1544 | * tree-ssa-pre.c (op_valid_in_sets): Fix error in last commit. | |
1545 | ||
a31fefa3 | 1546 | 2012-05-14 Richard Guenther <rguenther@suse.de> |
1547 | ||
1548 | * gimplify.c (gimplify_expr): Remove odd code. | |
1549 | ||
d9906773 | 1550 | 2012-05-14 Eric Botcazou <ebotcazou@adacore.com> |
1551 | ||
1552 | * stor-layout.c (bit_from_pos): Distribute conversion to bitsizetype | |
1553 | into a PLUS_EXPR byte offset. | |
1554 | ||
1555 | * tree-ssa-pre.c (can_value_number_call): Delete. | |
1556 | (compute_avail): Skip all statements with side effects. | |
1557 | <GIMPLE_CALL>: Skip calls to internal functions. | |
1558 | ||
3e894428 | 1559 | 2012-05-13 Steven Bosscher <steven@gcc.gnu.org> |
1560 | ||
1561 | * config/pa/pa.md: Use define_c_enum for "unspec" and "unspecv". | |
1562 | ||
70059cea | 1563 | 2012-05-13 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1564 | ||
1565 | * common.opt (Wtype-limits): Use EnabledBy. | |
1566 | ||
513529cd | 1567 | 2012-05-13 Uros Bizjak <ubizjak@gmail.com> |
1568 | ||
1569 | * config/i386/i386.md (*pushtf): Enable for TARGET_SSE. | |
1570 | (pushtf splitter): Ditto. | |
1571 | (movtf): Ditto. | |
1572 | (*movtf_internal): Ditto. Use V4SFmode for !TARGET_SSE2. | |
1573 | (<code>tf2): Enable for TARGET_SSE. | |
1574 | (*absnegtf2_sse): Ditto. | |
1575 | (copysign<mode>3): Enable TFmode for TARGET_SSE. | |
1576 | (copysign<mode>3_const): Ditto. | |
1577 | (copysign<mode>3_var): Ditto. | |
1578 | * config/i386/sse.md (<code>tf3): Enable for TARGET_SSE. | |
1579 | (*andnottf3): Ditto. Use V4SFmode for !TARGET_SSE2. | |
1580 | (*<code>tf3): Ditto. | |
1581 | * config/i386/i386.c (struct builtin_description bdesc_args) | |
1582 | <IX86_BUILTIN_FABSQ>: Enable for TARGET_SSE. | |
1583 | <IX86_BUILTIN_COPYSIGNQ>: Ditto. | |
1584 | (ix86_expand_builtin) <IX86_BUILTIN_FABSQ, IX86_BUILTIN_COPYSIGNQ>: | |
1585 | Emit a normal call if SSE isn't available. | |
1586 | ||
596112aa | 1587 | 2012-05-13 Uros Bizjak <ubizjak@gmail.com> |
1588 | ||
1589 | * config/i386/sse.md (<sse>_andnot<mode>3): Handle | |
1590 | TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL. | |
1591 | (<code><mode>3): Ditto. | |
1592 | (*andnot<mode>3): Ditto. | |
1593 | (*andnottf3): Ditto. | |
1594 | (*<code><mode>3): Ditto. | |
1595 | (<code>tf3): Ditto. | |
1596 | ||
4584d89f | 1597 | 2012-05-13 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1598 | ||
1599 | * optc-gen.awk: Error instead of warning for conflicting help. | |
1600 | ||
cc6e6715 | 1601 | 2012-05-12 Jason Merrill <jason@redhat.com> |
1602 | ||
1603 | PR debug/53235 | |
1604 | * dwarf2out.c (build_local_stub): Prefer DW_AT_signature for | |
1605 | comdat types. | |
1606 | ||
ec3aa8fe | 1607 | 2012-05-12 Eric Botcazou <ebotcazou@adacore.com> |
1608 | ||
1609 | * function.c (requires_stack_frame_p): If the function can throw | |
1610 | non-call exceptions, return true if the insn can throw internally. | |
1611 | ||
05765a91 | 1612 | 2012-05-12 Paolo Carlini <paolo.carlini@oracle.com> |
1613 | ||
1614 | * doc/generic.texi: Rename TYPE_PTRMEM_P to TYPE_PTRDATAMEM_P. | |
1615 | ||
c4d3c065 | 1616 | 2012-05-12 Uros Bizjak <ubizjak@gmail.com> |
1617 | ||
1618 | * config/alpha/alpha.c (alpha_emit_conditional_branch): Handle | |
1619 | ORDERED and UNORDERED conditions. | |
1620 | ||
0de7f8dd | 1621 | 2012-05-11 Richard Guenther <rguenther@suse.de> |
1622 | ||
1623 | * tree-flow.h (referenced_var_check_and_insert): Remove. | |
1624 | (find_new_referenced_vars): Likewise. | |
1625 | * tree-dfa.c (referenced_var_check_and_insert): Make static. | |
1626 | (find_new_referenced_vars_1, find_new_referenced_vars): Remove. | |
1627 | * tree-inline.c (copy_bb): Use find_referenced_vars_in | |
1628 | instead of find_new_referenced_vars. | |
1629 | * gimple-fold.c (gimplify_and_update_call_from_tree): Likewise. | |
1630 | ||
615091c1 | 1631 | 2012-05-11 Richard Guenther <rguenther@suse.de> |
1632 | ||
1633 | * tree-pass.h (pass_rest_of_compilation, | |
1634 | pass_all_optimizations, pass_postreload, pass_all_early_optimizations): | |
1635 | Remove. | |
1636 | * passes.c (pass_all_optimizations, pass_postreload, | |
1637 | pass_all_early_optimizations): Make static. | |
1638 | (pass_rest_of_compilation): Likewise. Make it an RTL_PASS. | |
1639 | * tree-phinodes.c (init_phinodes, fini_phinodes): Remove. | |
1640 | * tree-ssa.c (init_tree_ssa): Do not call init_phinodes. | |
1641 | (delete_tree_ssa): Do not call fini_phinodes. | |
1642 | * tree-flow.h (init_phinodes, fini_phinodes): Remove. | |
1643 | ||
fbb6fbd8 | 1644 | 2012-05-11 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1645 | ||
1646 | PR 53063 | |
1647 | * doc/options.texi (EnabledBy): Document | |
1648 | * opts.c: Include opts.h and options.h before tm.h. | |
1649 | (finish_options): Do not handle some sub-options here... | |
ea1760a3 | 1650 | (common_handle_option): ... instead call common_handle_option_auto |
1651 | here. | |
fbb6fbd8 | 1652 | * optc-gen.awk: Handle EnabledBy. |
1653 | * opth-gen.awk: Declare common_handle_option_auto. | |
1654 | * common.opt (Wuninitialized): Use EnabledBy. Delete Init. | |
1655 | (Wmaybe-uninitialized): Likewise. | |
c6dab7d2 | 1656 | (Wunused-but-set-variable): Likewise. |
1657 | (Wunused-function): Likewise. | |
1658 | (Wunused-label): Likewise. | |
1659 | (Wunused-value): Likewise. | |
1660 | (Wunused-variable): Likewise. | |
1661 | * opt-read.awk: Create opt_numbers array. | |
fbb6fbd8 | 1662 | |
f634c3e9 | 1663 | 2012-05-11 Richard Guenther <rguenther@suse.de> |
1664 | ||
1665 | PR tree-optimization/53295 | |
1666 | * tree-data-ref.h (stride_of_unit_type_p): Handle non-constant | |
1667 | strides. | |
1668 | * tree-data-ref.c (dr_analyze_innermost): Allow non-constant | |
1669 | strides when analyzing data-references in a loop context. | |
1670 | * tree-vect-data-refs.c (vect_mark_for_runtime_alias_test): Reject | |
1671 | non-constant strides for now. | |
1672 | (vect_enhance_data_refs_alignment): Ignore data references | |
1673 | that are strided loads. | |
1674 | (vect_analyze_data_ref_access): Handle non-constant strides. | |
1675 | (vect_check_strided_load): Verify the data-reference is a load. | |
1676 | (vect_analyze_data_refs): Restructure to make strided load | |
1677 | support not dependent on gather support. | |
1678 | * tree-vect-stmts.c (vectorizable_load): Avoid useless work | |
1679 | when doing strided or gather loads. | |
1680 | * tree-vect-loop-manip.c (vect_vfa_segment_size): Use | |
1681 | integer_zerop to compare stride with zero. | |
1682 | ||
91af12fe | 1683 | 2012-05-11 H.J. Lu <hongjiu.lu@intel.com> |
1684 | ||
596112aa | 1685 | * config/i386/driver-i386.c (host_detect_local_cpu): Support RTM. |
91af12fe | 1686 | |
015a842e | 1687 | 2012-05-11 Jan Hubicka <jh@suse.cz> |
1688 | ||
1689 | PR bootstrap/53300 | |
1690 | * varpool.c (varpool_assemble_decl): Also output constat pool entries | |
1691 | that output_constant_pool missed. | |
1692 | ||
b87e70ca | 1693 | 2012-05-11 Mingjie Xing <mingjie.xing@gmail.com> |
1694 | ||
1695 | * config/mips/t-vxworks: Change MUTLILIB_EXTRA_OPTS to | |
1696 | MULTILIB_EXTRA_OPTS. | |
1697 | ||
2b26d531 | 1698 | 2012-05-11 Uros Bizjak <ubizjak@gmail.com> |
1699 | ||
1700 | PR target/53291 | |
1701 | * config/i386/i386.md (xtest): Use NE condition in ix86_expand_setcc. | |
1702 | ||
7c93cdac | 1703 | 2012-05-11 Uros Bizjak <ubizjak@gmail.com> |
1704 | ||
1705 | * config/i386/i386.md (*movti_internal_rex64): Avoid MOVAPS size | |
1706 | optimization for TARGET_AVX. | |
1707 | (*movti_internal_sse): Ditto. | |
1708 | (*movdi_internal_rex64): Handle TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL. | |
1709 | (*movdi_internal): Ditto. | |
1710 | (*movsi_internal): Ditto. | |
1711 | (*movtf_internal): Avoid MOVAPS size optimization for TARGET_AVX. | |
1712 | (*movdf_internal_rex64): Ditto. | |
1713 | (*movfd_internal): Ditto. | |
1714 | (*movsf_internal): Ditto. | |
1715 | * config/i386/sse.md (mov<mode>): Handle TARGET_SSE_LOAD0_BY_PXOR. | |
1716 | ||
670b32ab | 1717 | 2012-05-10 Eric Botcazou <ebotcazou@adacore.com> |
1718 | ||
1719 | * dwarf2out.c (add_byte_size_attribute) <RECORD_TYPE>: Handle variable | |
1720 | reference as size attribute. | |
1721 | ||
28d5c3d9 | 1722 | 2012-05-10 Eric Botcazou <ebotcazou@adacore.com> |
1723 | Tristan Gingold <gingold@adacore.com> | |
1724 | ||
1725 | * doc/md.texi (Standard Names): Document probe_stack_address. | |
1726 | * explow.c (emit_stack_probe): Handle probe_stack_address. | |
1727 | * config/ia64/ia64.md (UNSPECV_PROBE_STACK_ADDRESS): New constant. | |
1728 | (UNSPECV_PROBE_STACK_RANGE): Likewise. | |
1729 | (probe_stack_address): New insn. | |
1730 | (probe_stack_range): Likewise. | |
1731 | * config/ia64/ia64.c: Include common/common-target.h. | |
1732 | (ia64_compute_frame_size): Mark r2 and r3 as used if static stack | |
1733 | checking is enabled. | |
1734 | (ia64_emit_probe_stack_range): New function. | |
1735 | (output_probe_stack_range): Likewise. | |
1736 | (ia64_expand_prologue): Invoke ia64_emit_probe_stack_range if static | |
1737 | builtin stack checking is enabled. | |
1738 | (rtx_needs_barrier) <UNSPEC_VOLATILE>: Handle UNSPECV_PROBE_STACK_RANGE | |
1739 | and UNSPECV_PROBE_STACK_ADDRESS. | |
1740 | (unknown_for_bundling_p): New predicate. | |
1741 | (group_barrier_needed): Use important_for_bundling_p. | |
1742 | (ia64_dfa_new_cycle): Use unknown_for_bundling_p. | |
1743 | (issue_nops_and_insn): Likewise. | |
1744 | (bundling): Likewise. | |
1745 | (final_emit_insn_group_barriers): Likewise. | |
1746 | * config/ia64/ia64-protos.h (output_probe_stack_range): Declare. | |
1747 | * config/ia64/hpux.h (STACK_CHECK_STATIC_BUILTIN): Define. | |
1748 | (STACK_CHECK_PROTECT): Likewise. | |
1749 | * config/ia64/linux.h (STACK_CHECK_STATIC_BUILTIN): Likewise. | |
1750 | ||
e8e650cf | 1751 | 2012-05-10 Jan Hubicka <jh@suse.cz> |
1752 | ||
1753 | * ipa-inline.c (update_all_callee_keys): Remove. | |
1754 | (inline_small_functions): Simplify priority updating. | |
1755 | ||
303c3a7d | 1756 | 2012-05-10 Jan Hubicka <jh@suse.cz> |
1757 | ||
1758 | * ipa.c (symtab_remove_unreachable_nodes): Fix marking of clones. | |
1759 | ||
91f0ab48 | 1760 | 2012-05-10 Jan Hubicka <jh@suse.cz> |
1761 | ||
1762 | * cgraph.h (cgraph_remove_unreachable_nodes): Rename to ... | |
1763 | (symtab_remove_unreachable_nodes): ... this one. | |
1764 | * ipa-cp.c (ipcp_driver): Do not remove unreachable nodes. | |
1765 | * cgraphunit.c (ipa_passes): Update. | |
1766 | * cgraphclones.c (cgraph_materialize_all_clones): Update. | |
1767 | * cgraph.c (cgraph_release_function_body): Only turn initial | |
1768 | into error mark when initial was previously set. | |
1769 | * ipa-inline.c (ipa_inline): Update. | |
1770 | * ipa.c: Include ipa-inline.h | |
1771 | (enqueue_cgraph_node, enqueue_varpool_node): Remove. | |
1772 | (enqueue_node): New function. | |
1773 | (process_references): Update. | |
1774 | (symtab_remove_unreachable_nodes): Cleanup. | |
1775 | * passes.c (execute_todo, execute_one_pass): Update. | |
1776 | ||
b105f58b | 1777 | 2012-05-10 Vladimir Makarov <vmakarov@redhat.com> |
1778 | ||
1779 | PR rtl-optimization/53125 | |
0399122b | 1780 | * ira.c (ira): Call find_moveable_pseudos and |
b105f58b | 1781 | move_unallocated_pseudos if only ira_conflicts_p is true. |
1782 | ||
dab25421 | 1783 | 2012-05-10 Uros Bizjak <ubizjak@gmail.com> |
1784 | ||
1785 | * config/i386/i386.md (*movoi_internal_avx): Handle | |
1786 | TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL and TARGET_SSE_TYPELESS_STORES. | |
1787 | (*movti_internal_rex64): Handle TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL. | |
1788 | (*movti_internal_sse): Ditto. | |
1789 | (*movtf_internal): Ditto. | |
1790 | * config/i386/sse.md (ssePSmode): New mode attribute. | |
1791 | (*move<mode>_internal): Use ssePSmode. | |
1792 | (*<sse>_movu<ssemodesuffix><avxsizesuffix>): Ditto. | |
1793 | (*<sse2>_movdqu<avxsizesuffix>): Ditto. | |
1794 | * config/i386/i386.c (standard_sse_constant_opcode): Do not handle | |
1795 | TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL here. | |
1796 | ||
72e1426b | 1797 | 2012-05-10 Eric Botcazou <ebotcazou@adacore.com> |
1798 | ||
1799 | * gimplify.c (gimplify_decl_expr): For a TYPE_DECL, also gimplify the | |
1800 | DECL_ORIGINAL_TYPE if it is present. | |
1801 | ||
56828342 | 1802 | 2012-05-10 Nick Clifton <nickc@redhat.com> |
1803 | ||
1804 | PR target/53120 | |
1805 | * config/m32c/bitops.md (bset_qi): Change operand 2 from having | |
1806 | a "0" constraint to being a (match_dup 0). | |
1807 | ||
dcb06804 | 1808 | 2012-05-10 Richard Guenther <rguenther@suse.de> |
1809 | ||
1810 | * stor-layout.c (byte_from_pos): Amend comment. | |
1811 | ||
98c9b52b | 1812 | 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1813 | ||
1814 | * doc/extend.texi (X86 Built-in Functions, __builtin_cpu_init): | |
1815 | Document requirement to call in constructors. | |
1816 | ||
dab25421 | 1817 | * config/i386/i386.c: Update comments for i386-cpuinfo.c name change. |
98c9b52b | 1818 | |
5a1fe2db | 1819 | 2012-05-10 Richard Guenther <rguenther@suse.de> |
1820 | ||
1821 | * tree.h (TYPE_IS_SIZETYPE): Remove. | |
1822 | * fold-const.c (int_const_binop_1): Remove TYPE_IS_SIZETYPE use. | |
1823 | (extract_muldiv_1): Likewise. | |
1824 | * gimple.c (gtc_visit): Likewise. | |
1825 | (gimple_types_compatible_p): Likewise. | |
1826 | (iterative_hash_canonical_type): Likewise. | |
1827 | (gimple_canonical_types_compatible_p): Likewise. | |
1828 | * gimplify.c (gimplify_one_sizepos): Likewise. | |
1829 | * print-tree.c (print_node): Likewise. | |
1830 | * stor-layout.c (initialize_sizetypes): Do not set TYPE_IS_SIZETYPE. | |
1831 | ||
72b48d28 | 1832 | 2012-05-09 Uros Bizjak <ubizjak@gmail.com> |
1833 | ||
1834 | PR target/52908 | |
1835 | * config/i386/sse.md (vec_widen_smult_hi_v4si): Expand using | |
1836 | xop_pmacsdqh insn pattern instead of xop_mulv2div2di3_high. | |
1837 | (vec_widen_smult_lo_v4si): Expand using xop_pmacsdql insn pattern | |
1838 | instead of xop_mulv2div2di3_low. | |
1839 | (xop_p<macs>dql): Fix vec_select selector. | |
1840 | (xop_p<macs>dqh): Ditto. | |
1841 | (xop_mulv2div2di3_low): Remove insn_and_split pattern. | |
1842 | (xop_mulv2div2di3_high): Ditto. | |
1843 | ||
d834564a | 1844 | 2012-05-09 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1845 | ||
1846 | PR c++/53289 | |
1847 | * diagnostic.h (diagnostic_context): Add last_location. | |
1848 | * diagnostic.c (diagnostic_initialize): Initialize it. | |
1849 | (diagnostic_show_locus): Use it. | |
1850 | ||
fd0ccb39 | 1851 | 2012-05-09 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1852 | ||
c6dab7d2 | 1853 | * doc/extend.texi (Function Attributes): Point xref to section |
fd0ccb39 | 1854 | about Pragmas. |
1855 | ||
f2dce612 | 1856 | 2012-05-09 Uros Bizjak <ubizjak@gmail.com> |
1857 | ||
1858 | * config/i386/i386.c (*movdf_internal_rex64): Remove | |
1859 | TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL handling from asm output code. | |
1860 | Calculate "mode" attribute according to | |
1861 | TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL flag. | |
1862 | (*movdf_internal): Ditto. | |
1863 | ||
034788fc | 1864 | 2012-05-09 Uros Bizjak <ubizjak@gmail.com> |
1865 | ||
1866 | PR target/44141 | |
1867 | * config/i386/i386.c (ix86_expand_vector_move_misalign): Do not handle | |
1868 | 128 bit vectors specially for TARGET_AVX. Emit sse2_movupd and | |
1869 | sse_movupd RTXes for TARGET_AVX, TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL | |
1870 | or when optimizing for size. | |
1871 | * config/i386/sse.md (*mov<mode>_internal): Remove | |
1872 | TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL handling from asm output code. | |
1873 | Calculate "mode" attribute according to optimize_function_for_size_p | |
1874 | and TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL flag. | |
1875 | (*<sse>_movu<ssemodesuffix><avxsizesuffix>): Choose asm template | |
1876 | depending on the mode of the instruction. Calculate "mode" attribute | |
1877 | according to optimize_function_for_size_p, TARGET_SSE_TYPELESS_STORES | |
1878 | and TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL flags. | |
1879 | (*<sse2>_movdqu<avxsizesuffix>): Ditto. | |
1880 | ||
ea679361 | 1881 | 2012-05-09 Georg-Johann Lay <avr@gjlay.de> |
1882 | ||
1883 | PR target/53256 | |
1884 | * config/avr/elf.h (ASM_DECLARE_FUNCTION_NAME): Remove. | |
1885 | * config/avr/avr-protos.h (avr_asm_declare_function_name): Remove. | |
1886 | * config/avr/avr.h (struct machine_function): Add attributes_checked_p. | |
1887 | * config/avr/avr.c (avr_asm_declare_function_name): Remove. | |
1888 | (expand_prologue): Move initialization of cfun->machine->is_naked, | |
1889 | is_interrupt, is_signal, is_OS_task, is_OS_main from here to... | |
1890 | (avr_set_current_function): ...this new static function. | |
1891 | (TARGET_SET_CURRENT_FUNCTION): New define. | |
1892 | (avr_function_ok_for_sibcall): Use cfun->machine->is_* instead of | |
1893 | checking attributes of current_function_decl. | |
1894 | (avr_regs_to_save): Ditto. | |
1895 | (signal_function_p): Rename to avr_signal_function_p. | |
1896 | (interrupt_function_p): Rename to avr_interrupt_function_p. | |
1897 | ||
1898 | * doc/extend.texi (Function Attributes): Better explanation of | |
1899 | 'interrupt' and 'signal' for AVR. Move 'ifunc' down to establish | |
1900 | alphabetical order. | |
1901 | ||
8faf5d30 | 1902 | 2012-05-09 Michael Matz <matz@suse.de> |
1903 | ||
1904 | PR tree-optimization/53185 | |
1905 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Disable | |
1906 | peeling when we see strided loads. | |
1907 | ||
1ad03cbf | 1908 | 2012-05-09 Matthias Klose <doko@ubuntu.com> |
1909 | ||
1910 | * gcc-ar.c (main): Don't check for execute bits for the plugin. | |
1911 | ||
aa1572b5 | 1912 | 2012-05-09 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
1913 | ||
1914 | * tree-ssa-loop-ivopts.c (add_autoinc_candidates, get_address_cost): | |
1915 | Replace use of HAVE_{POST/PRE}_{INCREMENT/DECREMENT} with | |
1916 | USE_{LOAD/STORE}_{PRE/POST}_{INCREMENT/DECREMENT} appropriately. | |
1917 | * config/arm/arm.h (ARM_AUTOINC_VALID_FOR_MODE_P): New. | |
1918 | (USE_LOAD_POST_INCREMENT): Define. | |
1919 | (USE_LOAD_PRE_INCREMENT): Define. | |
1920 | (USE_LOAD_POST_DECREMENT): Define. | |
1921 | (USE_LOAD_PRE_DECREMENT): Define. | |
1922 | (USE_STORE_PRE_DECREMENT): Define. | |
1923 | (USE_STORE_PRE_INCREMENT): Define. | |
1924 | (USE_STORE_POST_DECREMENT): Define. | |
1925 | (USE_STORE_POST_INCREMENT): Define. | |
1926 | (arm_auto_incmodes): Add enumeration. | |
1927 | * config/arm/arm-protos.h (arm_autoinc_modes_ok_p): Declare. | |
1928 | * config/arm/arm.c (arm_autoinc_modes_ok_p): Define. | |
1929 | ||
2f5a3c4a | 1930 | 2012-05-09 Jakub Jelinek <jakub@redhat.com> |
1931 | ||
1932 | PR tree-optimization/53226 | |
1933 | * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Remove | |
1934 | prev and prev_initialized vars, gimple_set_plf (stmt, GF_PLF_1, false) | |
1935 | before processing it and gimple_set_plf (stmt, GF_PLF_1, true) if it | |
1936 | doesn't need to be revisited, look for earliest stmt with | |
1937 | !gimple_plf (stmt, GF_PLF_1) if something changed. | |
1938 | ||
e5ed43a0 | 1939 | 2012-05-09 Terry Guo <terry.guo@arm.com> |
1940 | ||
1941 | * genmultilib: Update copyright dates. | |
1942 | * doc/fragments.texi: Ditto. | |
1943 | ||
cec45616 | 1944 | 2012-05-09 Terry Guo <terry.guo@arm.com> |
1945 | ||
1946 | * Makefile.in (s-mlib): Add new argument MULTILIB_REQUIRED. | |
1947 | * genmultilib (MULTILIB_REQUIRED): New. | |
1948 | * doc/fragments.texi: Document the MULTILIB_REQUIRED. | |
1949 | ||
e7430948 | 1950 | 2012-05-09 Richard Guenther <rguenther@suse.de> |
1951 | ||
1952 | * tree-vectorizer.h (vect_loop_versioning): Adjust prototype. | |
1953 | (vect_do_peeling_for_loop_bound): Likewise. | |
1954 | (vect_do_peeling_for_alignment): Likewise. | |
1955 | * tree-vect-loop-manip.c (conservative_cost_threshold): Remove. | |
1956 | (vect_do_peeling_for_loop_bound): Get check_profitability and | |
1957 | threshold as parameters. | |
1958 | (vect_do_peeling_for_alignment): Likewise. | |
1959 | (vect_loop_versioning): Likewise. | |
1960 | * tree-vect-loop.c (vect_transform_loop): Compute check_profitability | |
1961 | and threshold here. Control where to put the check here. | |
1962 | ||
87cf5753 | 1963 | 2012-05-09 Richard Sandiford <rdsandiford@googlemail.com> |
1964 | ||
1965 | PR middle-end/53249 | |
1966 | * dwarf2out.h (get_address_mode): Move declaration to... | |
1967 | * rtl.h: ...here. | |
1968 | * dwarf2out.c (get_address_mode): Move definition to... | |
1969 | * rtlanal.c: ...here. | |
1970 | * var-tracking.c (get_address_mode): Delete. | |
1971 | * combine.c (find_split_point): Use get_address_mode instead of | |
1972 | targetm.addr_space.address_mode. | |
1973 | * cselib.c (cselib_record_sets): Likewise. | |
1974 | * dse.c (canon_address, record_store): Likewise. | |
1975 | * emit-rtl.c (adjust_address_1, offset_address): Likewise. | |
1976 | * expr.c (move_by_pieces, emit_block_move_via_loop, store_by_pieces) | |
1977 | (store_by_pieces_1, expand_assignment, store_expr, store_constructor) | |
1978 | (expand_expr_real_1): Likewise. | |
1979 | * ifcvt.c (noce_try_cmove_arith): Likewise. | |
1980 | * optabs.c (maybe_legitimize_operand_same_code): Likewise. | |
1981 | * reload.c (find_reloads): Likewise. | |
1982 | * sched-deps.c (sched_analyze_1, sched_analyze_2): Likewise. | |
1983 | * sel-sched-dump.c (debug_mem_addr_value): Likewise. | |
1984 | ||
31082222 | 1985 | 2012-05-09 Maciej W. Rozycki <macro@codesourcery.com> |
1986 | ||
1987 | * config/mips/mips.c (mips16_gp_pseudo_reg): Remove line | |
1988 | information from the instruction produced. | |
1989 | ||
2765f7eb | 1990 | 2012-05-09 Richard Guenther <rguenther@suse.de> |
1991 | ||
1992 | * stor-layout.c (bit_from_pos): Document. | |
1993 | (byte_from_pos): Likewise. Optimize. | |
1994 | (pos_from_bit): Likewise. | |
1995 | (normalize_offset): Use pos_from_bit instead of replicating it. | |
1996 | ||
11dd6494 | 1997 | 2012-05-09 Alan Modra <amodra@gmail.com> |
1998 | ||
1999 | PR target/53271 | |
2000 | * config/rs6000/rs6000.c (gen_frame_set): New function. | |
2001 | (gen_frame_load, gen_frame_store): New functions. | |
2002 | (rs6000_savres_rtx): Use the above. | |
2003 | (rs6000_emit_epilogue, rs6000_emit_prologue): Here too. | |
2004 | Correct mode used for CR2 in save/restore_world patterns. | |
2005 | Don't emit instructions for eh_return frame unwind reg info. | |
2006 | ||
3d1c0354 | 2007 | 2012-05-08 Jan Hubicka <jh@suse.cz> |
2008 | ||
2009 | * cgraphbuild.c (build_cgraph_edges): Do not finalize vars | |
2010 | with VALUE_EXPR. | |
2011 | * cgraph.h (varpool_can_remove_if_no_refs): Vars with VALUE_EXPR | |
2012 | are removable. | |
2013 | * toplev.c (wrapup_global_declaration_2): Vars with VALUE_EXPR | |
2014 | need to wrapup. | |
2015 | (compile_file): Do not output variables. | |
2016 | * cgraphbuild.c (varpool_finalize_decl): When var is finalized late, | |
2017 | output it. | |
2018 | * langhooks.c: Include timevar.h | |
2019 | (write_global_declarations): Finalize compilation unit after wrapup; | |
2020 | set timevars correctly. | |
2021 | * passes.c (rest_of_decl_compilation): Decls with VALUE_EXPR needs | |
2022 | not to be added to varpool. | |
2023 | * varpool.c (varpool_assemble_decl): Sanity check that we are called | |
2024 | only on cases where it makes sense; skip constant pool and value expr | |
2025 | vars. | |
2026 | ||
a083d7d2 | 2027 | 2012-05-08 David S. Miller <davem@davemloft.net> |
2028 | ||
2029 | * config/sparc/linux.h (LINK_SPEC): Don't pass "-Y" option. | |
2030 | * config/sparc/linux64.h (LINK_ARCH32_SPEC): Likewise. | |
2031 | * config/sparc/linux64.h (LINK_ARCH64_SPEC): Likewise. | |
2032 | ||
e5d6fbb8 | 2033 | 2012-05-08 Richard Sandiford <rdsandiford@googlemail.com> |
2034 | ||
2035 | PR rtl-optimization/53278 | |
2036 | * lower-subreg.c (decompose_multiword_subregs): Remove left-over | |
2037 | speed_p code from earlier patch. | |
2038 | ||
0e1dddb4 | 2039 | 2012-05-08 Oleg Endo <olegendo@gcc.gnu.org> |
2040 | ||
2041 | PR target/51244 | |
2042 | * config/sh/sh.md (*branch_true, *branch_false): New insns. | |
2043 | ||
034788fc | 2044 | 2012-05-08 Teresa Johnson <tejohnson@google.com> |
4ef7becb | 2045 | |
2046 | * gcov-io.h (__gcov_reset, __gcov_dump): Declare. | |
2047 | * doc/gcov.texi: Add note on using __gcov_reset and __gcov_dump. | |
2048 | ||
f41db742 | 2049 | 2012-05-08 Jan Hubicka <jh@suse.cz> |
2050 | ||
2051 | * cgraph.c (cgraph_call_edge_duplication_hooks): Export. | |
2052 | (cgraph_create_node_1): Rename to ... | |
2053 | (cgraph_create_empty_node): ... this one; export. | |
2054 | (cgraph_create_node): Update. | |
2055 | (cgraph_set_call_stmt_including_clones): Move to cgraphclones.c | |
2056 | (cgraph_create_edge_including_clones): Likewise. | |
2057 | (cgraph_find_replacement_node): Likewise. | |
2058 | (cgraph_clone_edge): Likewise. | |
2059 | (cgraph_clone_node): Likewise. | |
2060 | (clone_function_name): Likewise. | |
2061 | (cgraph_create_virtual_clone): Likewise. | |
2062 | (cgraph_remove_node_and_inline_clones): Likewise. | |
034788fc | 2063 | (cgraph_redirect_edge_call_stmt_to_callee): Move here from cgraphunit.c |
f41db742 | 2064 | * cgraph.h: Reorder declarations so they match file of origin. |
2065 | (cgraph_create_empty_node): Declare. | |
2066 | * cgraphunit.c (update_call_expr): Move to cgraphclones.c | |
2067 | (cgraph_copy_node_for_versioning): Likewise. | |
2068 | (cgraph_function_versioning): Likewise. | |
2069 | (cgraph_materialize_clone): Likewise. | |
2070 | (cgraph_redirect_edge_call_stmt_to_callee): Likewise. | |
2071 | (cgraph_materialize_all_clones): Likewise. | |
2072 | * cgraphclones.c: New file. | |
2073 | * Makefile.in: Update for cgraphclones. | |
2074 | ||
473a6f3e | 2075 | 2012-05-08 Uros Bizjak <ubizjak@gmail.com> |
2076 | ||
d44bd47c | 2077 | PR target/53176 |
473a6f3e | 2078 | * config/i386/i386.c (ix86_set_reg_reg_cost): New function. |
2079 | (ix86_rtx_costs): Handle SET. | |
2080 | ||
43e94e51 | 2081 | 2012-05-08 Michael Matz <matz@suse.de> |
2082 | ||
2083 | * basic-block.h (struct rtl_bb_info): Remove visited member and | |
2084 | move head_ member to ... | |
2085 | (struct basic_block_def.basic_block_il_dependent): ... the new | |
2086 | member x, replacing but containing old member rtl. | |
2087 | (enum bb_flags): New BB_VISITED flag. | |
2088 | (BB_HEADER, BB_FOOTER): New macros. | |
2089 | ||
2090 | * jump.c (mark_all_labels): Adjust. | |
2091 | * cfgcleanup.c (try_optimize_cfg): Adjust. | |
2092 | * cfglayout.c (record_effective_endpoints): Adjust. | |
2093 | (relink_block_chain): Ditto (and don't fiddle with visited). | |
2094 | (fixup_reorder_chain): Adjust. | |
2095 | (fixup_fallthru_exit_predecessor): Ditto. | |
2096 | (cfg_layout_duplicate_bb): Ditto. | |
2097 | * combine.c (update_cfg_for_uncondjump): Adjust. | |
473a6f3e | 2098 | * bb-reorder.c (struct bbro_basic_block_data_def): Add visited member. |
43e94e51 | 2099 | (bb_visited_trace): New accessor. |
2100 | (mark_bb_visited): Move in front. | |
2101 | (rotate_loop): Use bb_visited_trace. | |
2102 | (find_traces_1_round): Ditto. | |
2103 | (emit_barrier_after): Ditto. | |
2104 | (copy_bb): Ditto, and initialize visited on resize. | |
2105 | (reorder_basic_blocks): Initize visited member. | |
2106 | (duplicate_computed_gotos): Clear bb flags at start, use | |
2107 | BB_VISITED flags. | |
2108 | ||
2109 | * cfgrtl.c (try_redirect_by_replacing_jump): Adjust. | |
2110 | (rtl_verify_flow_info_1): Ditto. | |
2111 | (cfg_layout_split_block): Ditto. | |
2112 | (cfg_layout_delete_block): Ditto. | |
2113 | (cfg_layout_merge_blocks): Ditto. | |
2114 | (init_rtl_bb_info): Adjust and initialize il.x.head_ member. | |
2115 | ||
826e3285 | 2116 | 2012-05-08 Hans-Peter Nilsson <hp@axis.com> |
2117 | ||
2118 | PR target/53272 | |
2119 | * config/cris/cris.c (cris_normal_notice_update_cc): For TARGET_V32, | |
2120 | when a constant source operand matches an "I" constraint, the "no | |
2121 | CC0 change" applies to a register-destination only, not a | |
2122 | strict_low_part-destination. | |
2123 | ||
42756cae | 2124 | 2012-05-08 Richard Guenther <rguenther@suse.de> |
2125 | ||
2126 | * fold-const.c (fold_binary_loc): Fold (X * CST1) & CST2 | |
2127 | to zero or to (X * CST1) & CST2' when CST1 has trailing zeros. | |
2128 | ||
8a92b4c3 | 2129 | 2012-05-08 Georg-Johann Lay <avr@gjlay.de> |
2130 | ||
2131 | * Makefile.in (TEXI_GCC_FILES): Add avr-mmcu.texi. | |
2132 | ||
2133 | * doc/avr-mmcu.texi: New auto-generated file. | |
2134 | * doc/invoke.texi (AVR Options): Include avr-mmcu.texi in order | |
2135 | to document all valid -mmcu= arguments. | |
2136 | ||
2137 | * config/avr/avr.h (arch_info_s): New struct definition. | |
2138 | * config/avr/avr-devices.c (avr_texinfo): New variable. | |
2139 | * config/avr/gen-avr-mmcu-texi.c: New file. | |
2140 | * config/avr/t-avr: New rules and dependencies to build avr-mmcu.texi. | |
2141 | ||
fd757b76 | 2142 | 2012-05-08 Dehao Chen <dehao@google.com> |
2143 | ||
28a0c749 | 2144 | * predict.c (find_qualified_ssa_name): New. |
2145 | (find_ssa_name_in_expr): New. | |
2146 | (find_ssa_name_in_assign_stmt): New. | |
2147 | (is_comparison_with_loop_invariant_p): New. | |
2148 | (is_bound_expr_similar): New. | |
2149 | (predict_iv_comparison): New. | |
fd757b76 | 2150 | (predict_loops): Add heuristic for loop-nested branches that compare an |
2151 | induction variable to a loop bound variable. | |
28a0c749 | 2152 | * predict.def (PRED_LOOP_IV_COMPARE): New macro. |
fd757b76 | 2153 | |
128e3935 | 2154 | 2012-05-08 Uros Bizjak <ubizjak@gmail.com> |
2155 | ||
2156 | * config/i386/i386.c (has_dispatch): Use TARGET_BDVER1 and | |
2157 | TARGET_BDVER2 defines where appropriate. | |
2158 | ||
61f41b94 | 2159 | 2012-05-07 Eric Botcazou <ebotcazou@adacore.com> |
2160 | ||
2161 | * configure.ac (PLUGIN_LD): Rename into... | |
2162 | (PLUGIN_LD_SUFFIX): ...this and strip the target_alias triplet. | |
2163 | * config.in: Regenerate. | |
2164 | * configure: Likewise. | |
2165 | * collect2.c (main): Set plugin_ld_suffix to PLUGIN_LD_SUFFIX. | |
2166 | ||
96c3acd0 | 2167 | 2012-05-07 Eric Botcazou <ebotcazou@adacore.com> |
2168 | ||
2169 | * tree-dfa.c (get_ref_base_and_extent) <ARRAY_REF>: Do the offset | |
2170 | computation using the precision of the index type. | |
2171 | * gimple-fold.c (fold_const_aggregate_ref_1) <ARRAY_REF>: Likewise. | |
2172 | (fold_array_ctor_reference): Do index computations in the index type. | |
2173 | ||
2174 | 2012-05-07 Georg-Johann Lay <avr@gjlay.de> | |
b51b04ad | 2175 | |
2176 | * config/avr/avr.c (avr_prologue_setup_frame): Fix mode passed | |
2177 | down to plus_constant. | |
2178 | (expand_epilogue): Ditto. | |
2179 | ||
98799adc | 2180 | 2012-05-07 Steven Bosscher <steven@gcc.gnu.org> |
2181 | ||
2182 | * postreload.c (reload_cse_regs): Make static. | |
2183 | * reload.h (reload_cse_regs): Remove prototype. | |
2184 | ||
7c0618c6 | 2185 | 2012-05-07 Richard Henderson <rth@redhat.com> |
2186 | ||
2187 | * config/alpha/alpha.md (clear_cache): New pattern. | |
2188 | ||
fe812b34 | 2189 | 2012-05-07 Steven Bosscher <steven@gcc.gnu.org> |
2190 | ||
2191 | PR middle-end/53245 | |
2192 | * gimplify.c (preprocess_case_label_vec_for_gimple): If low or high | |
2193 | is folded to a type boundary value, verify that the resulting case | |
2194 | label is still a care range. | |
2195 | ||
dbfd6d04 | 2196 | 2012-05-07 Uros Bizjak <ubizjak@gmail.com> |
2197 | ||
2198 | * config/i386/i386.md (ctz<mode>2): Emit rep;bsf | |
2199 | only for TARGET_GENERIC, when not optimizing for size. | |
2200 | (*ffs<mode>_1): Ditto. | |
2201 | ||
9a9033a9 | 2202 | 2012-05-07 Steven Bosscher <steven@gcc.gnu.org> |
2203 | ||
2204 | * tree-cfg.c (verify_gimple_switch): Tighten checks. | |
2205 | ||
0e443ce1 | 2206 | 2012-05-07 Jakub Jelinek <jakub@redhat.com> |
2207 | ||
2208 | PR tree-optimization/53239 | |
128e3935 | 2209 | * tree-vrp.c (get_value_range): Set VR of SSA_NAME_IS_DEFAULT_DEF |
2210 | of DECL_BY_REFERENCE RESULT_DECL to nonnull. | |
0e443ce1 | 2211 | |
29f2d4e5 | 2212 | 2012-05-07 Richard Guenther <rguenther@suse.de> |
2213 | ||
2214 | PR tree-optimization/53195 | |
2215 | * tree-inline.c (setup_one_parameter): Properly add referenced | |
2216 | vars from the parameters new known value. | |
2217 | ||
f4831ba5 | 2218 | 2012-05-07 Steven Bosscher <steven@gcc.gnu.org> |
2219 | ||
2220 | * config/m68k/m68k.c (m68k_sched_branch_type): Remove. | |
2221 | (sched_branch_type): Remove. | |
2222 | (m68k_sched_md_init_global): Don't allocate it. | |
2223 | (m68k_sched_md_finish_global): Don't free it. | |
2224 | * config/m68k/m68k.h (m68k_sched_branch_type): Remove prototype. | |
29f2d4e5 | 2225 | * config/m68k/m68k.md: Set the type of insns using |
2226 | m68k_sched_branch_type to bcc directly. | |
f4831ba5 | 2227 | |
db66903a | 2228 | 2012-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2229 | ||
2230 | * config/sol2.c (solaris_override_options): New function. | |
2231 | * config/sol2-protos.h (solaris_override_options): Declare. | |
2232 | * config/sol2.h (SUBTARGET_OVERRIDE_OPTIONS): Define. | |
2233 | ||
b920ee38 | 2234 | 2012-05-07 Richard Guenther <rguenther@suse.de> |
2235 | ||
2236 | * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Return | |
2237 | whether we failed to compute data dependences. | |
2238 | (loop_prefetch_arrays): Fail if we failed. | |
2239 | ||
f1cb261b | 2240 | 2012-05-07 Uros Bizjak <ubizjak@gmail.com> |
2241 | Paolo Bonzini <bonzini@gnu.org> | |
2242 | ||
2243 | * config/i386/i386.md (ctz<mode>2): Emit rep;bsf even for !TARGET_BMI. | |
2244 | Emit bsf when optimizing for size. | |
2245 | (*ffs<mode>_1): Ditto. | |
2246 | ||
a846db2c | 2247 | 2012-05-07 Oleg Endo <olegendo@gcc.gnu.org> |
2248 | ||
2249 | PR target/53250 | |
2250 | * config/sh/sh.c (sh_rtx_costs): Handle SET. | |
2251 | ||
ead6176b | 2252 | 2012-05-06 Uros Bizjak <ubizjak@gmail.com> |
2253 | ||
2254 | PR target/53227 | |
2255 | * config/i386/i386.md (swap<mode>): Rename from *swap<mode>. | |
2256 | (bswapdi2): Split from bswap<mode>2. Use nonnimediate_operand | |
2257 | predicate for operand 1. Force operand 1 to register for TARGET_BSWAP. | |
2258 | (bswapsi2): Ditto. | |
2259 | (*bswapdi2_doubleword): New insn pattern. | |
2260 | (*bswap<mode>2): Rename from *bswap<mode>2_1. | |
2261 | ||
37bdfd8a | 2262 | 2012-05-06 Richard Sandiford <rdsandiford@googlemail.com> |
2263 | ||
2264 | * config/mips/mips.c (mips_set_reg_reg_piece_cost): New function. | |
2265 | (mips_set_reg_reg_cost): Likewise. | |
2266 | (mips_rtx_costs): Handle SET. | |
2267 | ||
a6d935b7 | 2268 | 2012-05-06 Richard Sandiford <rdsandiford@googlemail.com> |
2269 | ||
2270 | * lower-subreg.c (shift_cost): Use set_src_cost, avoiding the SET. | |
2271 | (compute_costs): Likewise for the zero extension. Use set_rtx_cost | |
2272 | to compute the cost of moves. Set the mode of the target register. | |
2273 | ||
29c05e22 | 2274 | 2012-05-05 Richard Sandiford <rdsandiford@googlemail.com> |
2275 | ||
2276 | * rtl.h (plus_constant, plus_constant_mode): Merge into a single | |
2277 | plus_constant function. | |
2278 | * explow.c (plus_constant, plus_constant_mode): Likewise. Assert | |
2279 | that the mode is sensible. | |
2280 | (use_anchored_address, round_push, allocate_dynamic_stack_space) | |
2281 | (probe_stack_range, anti_adjust_stack_and_probe): Update calls to | |
2282 | plus_constant. | |
2283 | ||
2284 | * alias.c (canon_rtx): Likewise. | |
2285 | (init_alias_analysis): Likewise. | |
2286 | * builtins.c (expand_builtin_return_addr) | |
2287 | (expand_builtin_setjmp_setup, expand_builtin_longjmp) | |
2288 | (expand_builtin_nonlocal_goto, expand_builtin_update_setjmp_buf) | |
2289 | (expand_builtin_apply_args_1, expand_builtin_apply, expand_movstr) | |
2290 | (expand_builtin_stpcpy): Likewise. | |
2291 | * calls.c (save_fixed_argument_area, restore_fixed_argument_area) | |
2292 | (compute_argument_addresses, internal_arg_pointer_based_exp) | |
2293 | (expand_call, emit_library_call_value_1): Likewise. | |
2294 | * cfgexpand.c (expand_one_stack_var_at, expand_debug_expr): Likewise. | |
2295 | * combine-stack-adj.c (try_apply_stack_adjustment): Likewise. | |
2296 | * combine.c (combine_simplify_rtx, force_to_mode): Likewise. | |
2297 | * cse.c (insert_const_anchor, find_reg_offset_for_const) | |
2298 | (use_related_value, fold_rtx): Likewise. | |
2299 | * cselib.c (cselib_subst_to_values): Likewise. | |
2300 | * dse.c (record_store, check_mem_read_rtx): Likewise. | |
2301 | * dwarf2out.c (rtl_for_decl_location, gen_variable_die): Likewise. | |
2302 | * emit-rtl.c (adjust_address_1): Likewise. | |
2303 | * except.c (sjlj_emit_function_enter) | |
2304 | (expand_builtin_extract_return_addr) | |
2305 | (expand_builtin_frob_return_addr): Likewise. | |
2306 | * expmed.c (expand_divmod): Likewise. | |
2307 | * expr.c (move_by_pieces, store_by_pieces, store_by_pieces_1) | |
2308 | (emit_move_resolve_push, push_block, emit_push_insn, store_expr) | |
2309 | (expand_expr_addr_expr_1, expand_expr_real_1): Likewise. | |
2310 | * function.c (assign_stack_local_1) | |
2311 | (instantiate_virtual_regs_in_rtx): Likewise. | |
2312 | * optabs.c (prepare_cmp_insn): Likewise. | |
2313 | * recog.c (offsettable_address_addr_space_p): Likewise. | |
2314 | * reload.c (find_reloads_address, form_sum) | |
2315 | (find_reloads_subreg_address): Likewise. | |
2316 | * reload1.c (init_reload, eliminate_regs_1) | |
2317 | (eliminate_regs_in_insn): Likewise. | |
2318 | * simplify-rtx.c (simplify_unary_operation_1) | |
2319 | (simplify_binary_operation_1, simplify_plus_minus): Likewise. | |
2320 | * var-tracking.c (compute_cfa_pointer, prepare_call_arguments) | |
2321 | (vt_add_function_parameter): Likewise. | |
2322 | ||
2323 | * config/alpha/alpha.h (EH_RETURN_HANDLER_RTX): Likewise. | |
2324 | * config/alpha/vms.h (EH_RETURN_HANDLER_RTX): Likewise. | |
2325 | * config/alpha/alpha.c (alpha_legitimize_address_1) | |
2326 | (get_unaligned_address, alpha_expand_unaligned_load) | |
2327 | (alpha_expand_unaligned_store, alpha_expand_unaligned_load_words) | |
2328 | (alpha_expand_unaligned_store_words, alpha_expand_block_clear) | |
2329 | (alpha_expand_builtin_establish_vms_condition_handler) | |
2330 | (alpha_setup_incoming_varargs, emit_frame_store_1) | |
2331 | (alpha_expand_prologue, alpha_expand_epilogue) | |
2332 | (alpha_use_linkage): Likewise. | |
2333 | * config/alpha/alpha.md: Likewise. | |
2334 | ||
2335 | * config/arm/arm.c (arm_trampoline_init, legitimize_pic_address) | |
2336 | (arm_load_pic_register, arm_pic_static_addr, arm_legitimize_address) | |
2337 | (thumb_legitimize_address, arm_gen_load_multiple_1) | |
2338 | (arm_gen_store_multiple_1, arm_gen_multiple_op, gen_ldm_seq) | |
2339 | (gen_stm_seq, gen_const_stm_seq, arm_block_move_unaligned_straight) | |
2340 | (arm_block_move_unaligned_loop, arm_gen_movmemqi, arm_reload_in_hi) | |
2341 | (arm_reload_out_hi, arm_reorg, vfp_emit_fstmd, emit_multi_reg_push) | |
2342 | (emit_sfm, thumb_set_frame_pointer, arm_expand_prologue) | |
2343 | (thumb1_emit_multi_reg_push, thumb1_expand_prologue) | |
2344 | (thumb_expand_movmemqi, arm_set_return_address) | |
2345 | (thumb_set_return_address): Likewise. | |
2346 | * config/arm/arm.md: Likewise. | |
2347 | ||
2348 | * config/avr/avr.c (avr_incoming_return_addr_rtx) | |
2349 | (avr_prologue_setup_frame, expand_epilogue) | |
2350 | (avr_const_address_lo16): Likewise. | |
2351 | ||
2352 | * config/bfin/bfin.h (EH_RETURN_HANDLER_RTX): Likewise. | |
2353 | * config/bfin/bfin.c (setup_incoming_varargs, bfin_load_pic_reg) | |
2354 | (bfin_expand_prologue, bfin_trampoline_init, bfin_expand_call) | |
2355 | (bfin_output_mi_thunk): Likewise. | |
2356 | ||
2357 | * config/c6x/c6x.c (c6x_initialize_trampoline) | |
2358 | (c6x_output_mi_thunk): Likewise. | |
2359 | ||
2360 | * config/cr16/cr16.h (EH_RETURN_HANDLER_RTX): Likewise. | |
2361 | * config/cr16/cr16.c (cr16_create_dwarf_for_multi_push): Likewise. | |
2362 | ||
2363 | * config/cris/cris.c (cris_return_addr_rtx, cris_split_movdx) | |
2364 | (cris_expand_prologue, cris_expand_epilogue, cris_gen_movem_load) | |
2365 | (cris_emit_movem_store, cris_trampoline_init): Likewise. | |
2366 | * config/cris/cris.md: Likewise. | |
2367 | ||
2368 | * config/darwin.c (machopic_indirect_data_reference) | |
2369 | (machopic_legitimize_pic_address): Likewise. | |
2370 | ||
2371 | * config/epiphany/epiphany.c (epiphany_emit_save_restore) | |
2372 | (epiphany_expand_prologue, epiphany_expand_epilogue) | |
2373 | (epiphany_trampoline_init): Likewise. | |
2374 | * config/epiphany/epiphany.md: Likewise. | |
2375 | ||
2376 | * config/fr30/fr30.c (fr30_move_double): Likewise. | |
2377 | ||
2378 | * config/frv/frv.c (frv_dwarf_store, frv_expand_prologue) | |
2379 | (frv_expand_block_move, frv_expand_block_clear, frv_return_addr_rtx) | |
2380 | (frv_index_memory, unspec_got_name, frv_find_base_term) | |
2381 | (frv_output_dwarf_dtprel): Likewise. | |
2382 | ||
2383 | * config/h8300/h8300.c (h8300_push_pop, h8300_return_addr_rtx) | |
2384 | (h8300_swap_into_er6, h8300_swap_out_of_er6): Likewise. | |
2385 | ||
2386 | * config/i386/i386.h (RETURN_ADDR_RTX): Likewise. | |
2387 | * config/i386/i386.c (setup_incoming_varargs_64) | |
2388 | (setup_incoming_varargs_ms_64, choose_baseaddr) | |
2389 | (ix86_emit_save_reg_using_mov, ix86_adjust_stack_and_probe) | |
2390 | (ix86_emit_probe_stack_range, ix86_expand_prologue) | |
2391 | (ix86_emit_restore_reg_using_pop, ix86_emit_leave) | |
2392 | (ix86_expand_epilogue, legitimize_pic_address, ix86_legitimize_address) | |
2393 | (ix86_split_long_move, ix86_expand_movmem, ix86_expand_setmem) | |
2394 | (ix86_static_chain, ix86_trampoline_init, x86_this_parameter) | |
2395 | (x86_output_mi_thunk): Likewise. | |
2396 | * config/i386/i386.md: Likewise. | |
2397 | ||
2398 | * config/ia64/ia64.c (ia64_expand_load_address) | |
2399 | (ia64_expand_tls_address, ia64_expand_move, ia64_split_tmode) | |
2400 | (do_spill, ia64_trampoline_init): Likewise. | |
2401 | ||
2402 | * config/iq2000/iq2000.c (iq2000_va_start) | |
2403 | (iq2000_emit_frame_related_store, iq2000_expand_prologue) | |
2404 | (iq2000_expand_eh_return, iq2000_setup_incoming_varargs) | |
2405 | (iq2000_print_operand, iq2000_legitimize_address): Likewise. | |
2406 | ||
2407 | * config/lm32/lm32.c (lm32_setup_incoming_varargs): Likewise. | |
2408 | ||
2409 | * config/m32c/m32c.c (m32c_return_addr_rtx) | |
2410 | (m32c_expand_insv): Likewise. | |
2411 | ||
2412 | * config/m32r/m32r.c (m32r_setup_incoming_varargs) | |
2413 | (m32r_legitimize_pic_address, m32r_print_operand) | |
2414 | (m32r_print_operand_address): Likewise. | |
2415 | ||
2416 | * config/m68k/linux.h (FINALIZE_TRAMPOLINE): Likewise. | |
2417 | * config/m68k/m68k.h (RETURN_ADDR_RTX): Likewise. | |
2418 | (EH_RETURN_HANDLER_RTX): Likewise. | |
2419 | * config/m68k/m68k.c (m68k_emit_movem, m68k_expand_prologue) | |
2420 | (m68k_expand_epilogue, legitimize_pic_address) | |
2421 | (m68k_output_mi_thunk): Likewise. | |
2422 | * config/m68k/m68k.md: Likewise. | |
2423 | ||
2424 | * config/mcore/mcore.c (mcore_expand_prolog): Likewise. | |
2425 | (mcore_expand_epilog): Likewise. | |
2426 | * config/mcore/mcore.md: Likewise. | |
2427 | ||
2428 | * config/mep/mep.c (mep_allocate_initial_value) | |
2429 | (mep_expand_prologue, mep_expand_epilogue): Likewise. | |
2430 | ||
2431 | * config/microblaze/microblaze.c (double_memory_operand) | |
2432 | (microblaze_block_move_loop): Likewise. | |
2433 | ||
2434 | * config/mips/mips.c (mips_strip_unspec_address, mips_add_offset) | |
2435 | (mips_setup_incoming_varargs, mips_va_start, mips_block_move_loop) | |
2436 | (mips_print_operand, mips16e_save_restore_reg, mips_save_restore_reg) | |
2437 | (mips_expand_prologue, mips_epilogue_set_cfa) | |
2438 | (mips_expand_epilogue): Likewise. | |
2439 | * config/mips/mips.md: Likewise. | |
2440 | ||
2441 | * config/mmix/mmix.c (mmix_dynamic_chain_address, mmix_return_addr_rtx) | |
2442 | (mmix_expand_prologue, mmix_expand_epilogue): Likewise. | |
2443 | ||
2444 | * config/mn10300/mn10300.c (mn10300_gen_multiple_store) | |
2445 | (mn10300_builtin_saveregs, mn10300_trampoline_init): Likewise. | |
2446 | ||
2447 | * config/moxie/moxie.h (INCOMING_RETURN_ADDR_RTX): Likewise. | |
2448 | (EH_RETURN_HANDLER_RTX): Likewise. | |
2449 | * config/moxie/moxie.c (moxie_static_chain): Likewise. | |
2450 | ||
2451 | * config/pa/pa.c (legitimize_pic_address, hppa_legitimize_address) | |
2452 | (store_reg, set_reg_plus_d, pa_expand_prologue, load_reg) | |
2453 | (pa_return_addr_rtx, hppa_builtin_saveregs) | |
2454 | (pa_trampoline_init): Likewise. | |
2455 | * config/pa/pa.md: Likewise. | |
2456 | ||
2457 | * config/pdp11/pdp11.c (pdp11_expand_epilogue): Likewise. | |
2458 | ||
2459 | * config/picochip/picochip.c (picochip_static_chain): Likewise. | |
2460 | ||
2461 | * config/rs6000/rs6000.h (RS6000_SAVE_TOC): Likewise. | |
2462 | * config/rs6000/rs6000.c (rs6000_legitimize_address) | |
2463 | (setup_incoming_varargs, print_operand, rs6000_return_addr) | |
2464 | (rs6000_emit_eh_reg_restore, rs6000_emit_probe_stack_range) | |
2465 | (rs6000_emit_epilogue) | |
2466 | (rs6000_machopic_legitimize_pic_address): Likewise. | |
2467 | ||
2468 | * config/rx/rx.c (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise. | |
2469 | ||
2470 | * config/s390/s390.h (INITIAL_FRAME_ADDRESS_RTX): Likewise. | |
2471 | (DYNAMIC_CHAIN_ADDRESS): Likewise. | |
2472 | * config/s390/s390.c (s390_decompose_address, legitimize_pic_address) | |
2473 | (s390_delegitimize_address, print_operand, annotate_constant_pool_refs) | |
2474 | (replace_constant_pool_ref, s390_return_addr_rtx, s390_back_chain_rtx) | |
2475 | (save_fpr, restore_fpr, save_gprs, restore_gprs, s390_emit_prologue) | |
2476 | (s390_emit_epilogue, s390_function_profiler): Likewise. | |
2477 | * config/s390/s390.md: Likewise. | |
2478 | ||
2479 | * config/score/score.c (score_add_offset, score_prologue): Likewise. | |
2480 | ||
2481 | * config/sh/sh.c (expand_block_move, push_regs, sh_builtin_saveregs) | |
2482 | (sh_output_mi_thunk): Likewise. | |
2483 | * config/sh/sh.md: Likewise. | |
2484 | ||
2485 | * config/sparc/sparc.h (DYNAMIC_CHAIN_ADDRESS, FRAME_ADDR_RTX) | |
2486 | (RETURN_ADDR_RTX, INCOMING_RETURN_ADDR_RTX): Likewise. | |
2487 | * config/sparc/sparc.c (sparc_legitimize_pic_address) | |
2488 | (sparc_emit_probe_stack_range, emit_save_or_restore_regs) | |
2489 | (emit_window_save, sparc_flat_expand_prologue, sparc_struct_value_rtx) | |
2490 | (emit_and_preserve): Likewise. | |
2491 | * config/sparc/sparc.md: Likewise. | |
2492 | ||
2493 | * config/spu/spu.h (DYNAMIC_CHAIN_ADDRESS): Likewise. | |
2494 | * config/spu/spu.c (spu_expand_insv, spu_machine_dependent_reorg) | |
2495 | (spu_setup_incoming_varargs, ea_load_store_inline) | |
2496 | (spu_expand_load): Likewise. | |
2497 | ||
2498 | * config/stormy16/stormy16.c (xstormy16_expand_prologue) | |
2499 | (combine_bnp): Likewise. | |
2500 | ||
2501 | * config/tilegx/tilegx.h (DYNAMIC_CHAIN_ADDRESS): Likewise. | |
2502 | * config/tilegx/tilegx.c (tilegx_setup_incoming_varargs) | |
2503 | (tilegx_expand_unaligned_load, tilegx_trampoline_init): Likewise. | |
2504 | ||
2505 | * config/tilepro/tilepro.h (DYNAMIC_CHAIN_ADDRESS): Likewise. | |
2506 | * config/tilepro/tilepro.c (tilepro_setup_incoming_varargs) | |
2507 | (tilepro_expand_unaligned_load, tilepro_trampoline_init): Likewise. | |
2508 | ||
2509 | * config/v850/v850.c (expand_prologue, expand_epilogue): Likewise. | |
2510 | * config/v850/v850.md: Likewise. | |
2511 | ||
2512 | * config/vax/elf.h (EH_RETURN_STACKADJ_RTX): Likewise. | |
2513 | (EH_RETURN_HANDLER_RTX): Likewise. | |
2514 | * config/vax/vax.h (DYNAMIC_CHAIN_ADDRESS, RETURN_ADDR_RTX): Likewise. | |
2515 | * config/vax/vax.c (vax_add_reg_cfa_offset, vax_expand_prologue) | |
2516 | (print_operand_address, vax_trampoline_init): Likewise. | |
2517 | ||
2518 | * config/xtensa/xtensa.c (xtensa_expand_prologue, xtensa_return_addr) | |
2519 | (xtensa_function_value_regno_p): Likewise. | |
2520 | ||
c909ed33 | 2521 | 2012-05-04 Andrew Pinski <apinski@cavium.com> |
2522 | ||
2523 | * expr.c (get_def_for_expr_class): New function. | |
2524 | (convert_tree_comp_to_rtx): New function. | |
2525 | (expand_cond_expr_using_cmove): New function. | |
2526 | (expand_expr_real_2 <case COND_EXPR>): Call | |
2527 | expand_cond_expr_using_cmove first and return if it succeeds. | |
2528 | Remove the check for HAVE_conditional_move since we should have | |
2529 | already converted it to a conditional move. | |
2530 | * config/i386/i386.c (ix86_expand_int_movcc): Disallow comparison | |
2531 | modes of DImode for 32bits and TImode. | |
2532 | ||
73ed0c67 | 2533 | 2012-05-04 Steven Bosscher <steven@gcc.gnu.org> |
2534 | ||
2535 | PR other/29442 | |
2536 | * read-md.c (fprint_md_ptr_loc, fprint_c_condition): New functions. | |
2537 | (print_md_ptr_loc, print_c_condition): Use them. | |
2538 | * read-md.h (fprint_md_ptr_loc, fprint_c_condition): New prototypes. | |
2539 | * genattrtab.c (attr_file_name, dfa_file_name, latency_file_name, | |
2540 | attr_file, dfa_file, latency_file): New global variables. | |
2541 | (write_attr_valueq, write_attr_set, write_attr_case, write_attr_value, | |
2542 | write_upcase, write_indent, write_length_unit_log, write_test_expr, | |
2543 | write_attr_get, write_insn_cases, write_eligible_delay, | |
2544 | write_const_num_delay_slots): Accept FILE pointer and toss it around. | |
2545 | Update all callers. | |
2546 | (write_header, open_outfile, handle_arg): New funcions. | |
2547 | (make_automaton_attrs): Write prototypes as extern to the output | |
2548 | files. | |
2549 | (main): Use init_rtx_reader_args_cb with handle_arg to take 3 file | |
2550 | names from the command line. Open the output files and write out | |
2551 | internal functions for DFA functions to dfa_file_name, insn latency | |
2552 | functions to latency_file_name, and everything else to attr_file. | |
2553 | * Makefile.in (OBJS): Add insn-dfatab.o and insn-latencytab.o. | |
2554 | (BACKEND): Build libbackend first. | |
2555 | (MOSTLYCLEANFILES): Add insn-dfatab.c and insn-latencytab.c. | |
2556 | (.PRECIOUS): Likewise. | |
2557 | (insn-dfatab.o): New rule. | |
2558 | (insn-latencytab.o): New rule. | |
2559 | (simple_rtl_generated_c): Do not include insn-attrtab.c. | |
2560 | (s-attrtab): New rule. | |
2561 | ||
6a8f5c57 | 2562 | 2012-05-04 Steven Bosscher <steven@gcc.gnu.org> |
2563 | ||
2564 | * rtl.def (ATTR_FLAG): Remove probability indicating flags. | |
2565 | * genattr.c (main): Remove ATTR_FLAG_likely, ATTR_FLAG_unlikely, | |
2566 | ATTR_FLAG_very_likely, and ATTR_FLAG_very_unlikely. | |
2567 | * reorg.c (get_jump_flags): Do not set the removed flags. | |
2568 | ||
a2159ce7 | 2569 | * doc/md.texi (attr_flag): Update for abovementioned changes. |
2570 | ||
91fcc716 | 2571 | 2012-05-04 Uros Bizjak <ubizjak@gmail.com> |
2572 | ||
2573 | PR target/53228 | |
2574 | * config/i386/i386.h (X86_ARCH_CMOV): Rename from X86_ARCH_CMOVE. | |
2575 | (TARGET_CMOV): Rename from TARGET_CMOVE. | |
2576 | (TARGET_CMOVE): New define. | |
2577 | * config/i386/i386.c (ix86_option_override_internal): Use TARGET_CMOV. | |
2578 | Do not set TARGET_CMOVE here. | |
2579 | ||
e163935c | 2580 | 2012-05-04 Dodji Seketeli <dodji@redhat.com> |
2581 | ||
2582 | Enable -Wunused-local-typedefs when -Wall or -Wunused is on | |
2583 | * opts.c (finish_options): Activate -Wunused-local-typedefs if | |
034788fc | 2584 | -Wunused is activated. |
e163935c | 2585 | * doc/invoke.texi: Update blurb of -Wunused-local-typedefs. |
2586 | ||
c4ded1f6 | 2587 | 2012-05-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2588 | ||
2589 | * config/s390/s390.md (*movmem_short, *clrmem_short) | |
2590 | (*cmpmem_short): Move the mode check from the insn condition to | |
2591 | the match_scratch. | |
2592 | ||
da5b41a4 | 2593 | 2012-05-04 Ulrich Weigand <ulrich.weigand@linaro.org> |
2594 | ||
2595 | PR tree-optimization/52633 | |
2596 | * tree-vect-patterns.c (vect_vect_recog_func_ptrs): Swap order of | |
2597 | vect_recog_widen_shift_pattern and vect_recog_over_widening_pattern. | |
2598 | (vect_recog_over_widening_pattern): Remove handling of code that was | |
2599 | already detected as over-widening pattern. Remove special handling | |
2600 | of "unsigned" cases. Instead, support general case of conversion | |
2601 | of the shift result to another type. | |
2602 | ||
019bbf38 | 2603 | 2012-05-04 Ulrich Weigand <ulrich.weigand@linaro.org> |
2604 | ||
2605 | * tree-vect-patterns.c (vect_single_imm_use): New function. | |
2606 | (vect_recog_widen_mult_pattern): Use it instead of open-coding loop. | |
2607 | (vect_recog_over_widening_pattern): Likewise. | |
2608 | (vect_recog_widen_shift_pattern): Likewise. | |
2609 | ||
33f33894 | 2610 | 2012-05-04 Ulrich Weigand <ulrich.weigand@linaro.org> |
2611 | ||
2612 | * tree-vect-patterns.c (vect_same_loop_or_bb_p): New function. | |
2613 | (vect_handle_widen_op_by_const): Use it instead of open-coding test. | |
2614 | (vect_recog_widen_mult_pattern): Likewise. | |
2615 | (vect_operation_fits_smaller_type): Likewise. | |
2616 | (vect_recog_over_widening_pattern): Likewise. | |
2617 | (vect_recog_widen_shift_pattern): Add to vect_same_loop_or_bb_p test. | |
2618 | ||
940a2ab8 | 2619 | 2012-05-04 Richard Guenther <rguenther@suse.de> |
2620 | ||
2621 | PR lto/50602 | |
2622 | * lto-wrapper.c (merge_and_complain): Complain about mismatches | |
2623 | of -freg-struct-return and -fpcc-struct-return. | |
2624 | (run_gcc): Pass through -freg-struct-return and -fpcc-struct-return | |
2625 | from the input file options and ignore those from the link | |
2626 | command line. | |
2627 | ||
147d14aa | 2628 | 2012-05-04 Richard Guenther <rguenther@suse.de> |
2629 | ||
2630 | PR tree-optimization/53168 | |
2631 | * tree-ssa-pre.c (phi_translate_1): Only handle type-punned | |
2632 | memory reads when the result is a constant we can pun. | |
2633 | ||
596c40fb | 2634 | 2012-05-04 Richard Guenther <rguenther@suse.de> |
2635 | ||
2636 | * common.opt (flto-report): Do not mark as Optimization. | |
2637 | ||
50b58916 | 2638 | 2012-05-04 Eric Botcazou <ebotcazou@adacore.com> |
2639 | ||
2640 | PR target/48496 | |
2641 | * recog.c (constrain_operands): If extra constraints are present, also | |
2642 | accept pseudo-registers with equivalent memory locations during reload. | |
2643 | ||
2b98e22b | 2644 | 2012-05-04 Olivier Hainque <hainque@adacore.com> |
2645 | ||
2646 | * collect2.c (may_unlink_output_file): New global. | |
2647 | (maybe_unlink): Honor it. | |
2648 | * collect2.h: Add extern for it. | |
2649 | * tlink.c (do_tlink): Set it to true if the link succeeded. | |
2650 | ||
e2efe9af | 2651 | 2012-05-04 Olivier Hainque <hainque@adacore.com> |
2652 | ||
2653 | * gcc.c (eval_spec_function): Finalize/restore the current string | |
2654 | obstack state as part of the context push/pop operations. | |
2655 | ||
38d947b0 | 2656 | 2012-05-04 Bin Cheng <bin.cheng@arm.com> |
2657 | ||
2658 | PR rtl-optimization/52804 | |
2659 | * reload1.c (reload_reg_reaches_end_p): Check whether successor | |
2660 | reload with type RELOAD_FOR_INPUT_ADDRESS kills reload register | |
2661 | of current one with type RELOAD_FOR_INPADDR_ADDRESS. | |
2662 | Same stands for reloads with type RELOAD_FOR_OUTPUT_ADDRESS and | |
2663 | RELOAD_FOR_OUTADDR_ADDRESS. | |
2664 | ||
bef475de | 2665 | 2012-05-04 Manuel López-Ibáñez <manu@gcc.gnu.org> |
2666 | ||
2667 | PR c++/24985 | |
2668 | * tree-diagnostic.c (maybe_unwind_expanded_macro_loc): Show caret | |
2669 | for macro expansion. | |
2670 | ||
bba5a206 | 2671 | 2012-05-03 Manuel López-Ibáñez <manu@gcc.gnu.org> |
2672 | ||
2673 | * flags.h (flag_permissive): Do not declare. | |
2674 | * diagnostic.c (diagnostic_report_diagnostic): Handle fpermissive | |
2675 | option specially. | |
2676 | * toplev.c (flag_permissive): Do not define. | |
2677 | * c-tree.h (system_header_p): Delete unused. | |
2678 | ||
beaca8bb | 2679 | 2012-05-03 David S. Miller <davem@davemloft.net> |
2680 | ||
2681 | PR target/52684 | |
2682 | * config/sparc/sparc.c (emit_soft_tfmode_libcall): If we pass a | |
2683 | MEM directly into a libcall, mark it's MEM_EXPR as addressable. | |
2684 | (sparc_emit_float_lib_cmp): Likewise. | |
2685 | ||
0b10390a | 2686 | 2012-05-03 Michael Meissner <meissner@linux.vnet.ibm.com> |
2687 | ||
2688 | PR target/53199 | |
2689 | * config/rs6000/rs6000.md (bswapdi splitters): If | |
2690 | -mavoid-indexed-addresses (or -mcpu=power6 which sets it by | |
2691 | default) is used, generate an alternate sequence that does not | |
2692 | depend on using indexed addressing. | |
2693 | ||
84879dd0 | 2694 | 2012-05-03 Jason Merrill <jason@redhat.com> |
2695 | ||
2696 | * gengtype.c (write_types): Fix warning message. | |
2697 | (write_local): Likewise. | |
2698 | ||
23c98701 | 2699 | 2012-05-02 Jason Merrill <jason@redhat.com> |
2700 | ||
2701 | * dwarf2out.c (struct external_ref, build_local_stub): New. | |
2702 | (hash_external_ref, external_ref_eq, lookup_external_ref): New. | |
2703 | (optimize_external_refs, optimize_external_refs_1): New. | |
2704 | (change_AT_die_ref): New. | |
2705 | (clone_as_declaration): Add DW_AT_signature when cloning a declaration. | |
2706 | (build_abbrev_table): Take the external refs hashtable. | |
2707 | (output_comp_unit): Get it from optimize_external_refs and pass it in. | |
2708 | ||
22fe6d2a | 2709 | 2012-05-03 Jan Hubicka <jh@suse.cz> |
2710 | ||
2711 | PR middle-end/53093 | |
2712 | * tree-emutls.c (new_emutls_decl): Fix handling of aliases. | |
2713 | ||
cab51373 | 2714 | 2012-05-03 Jan Hubicka <jh@suse.cz> |
2715 | ||
2716 | PR middle-end/53106 | |
2717 | * ipa.c (cgraph_remove_unreachable_nodes): Fix handling of clones. | |
2718 | ||
039c4ce6 | 2719 | 2012-05-03 Jason Merrill <jason@redhat.com> |
2720 | ||
2721 | * dwarf2out.c (die_struct): Add comdat_type_p flag. Use it instead of | |
2722 | use_debug_types to discriminate the die_id union. | |
2723 | (print_die, assign_symbol_names, copy_decls_walk): Likewise. | |
2724 | (build_abbrev_table, output_die): Likewise. | |
2725 | (prune_unused_types_walk_attribs): Likewise. | |
2726 | (generate_type_signature, copy_declaration_context): Set it. | |
2727 | (remove_child_or_replace_with_skeleton): Set it. | |
2728 | (dwarf2out_start_source_file, dwarf2out_end_source_file): Don't | |
2729 | check use_debug_types. | |
2730 | (dwarf2out_finish): Do break_out_includes after .debug_types. | |
2731 | ||
7fc5078f | 2732 | 2012-05-03 Jason Merrill <jason@redhat.com> |
2733 | ||
2734 | * dwarf2out.c (modified_type_die): Use scope_die_for. | |
2735 | (gen_type_die_with_usage, dwarf2out_finish): Likewise. | |
2736 | (uses_local_type_r, uses_local_type): New. | |
2737 | (scope_die_for): Keep a type that uses a local type in local scope. | |
2738 | Use get_context_die for namespace and type scope. | |
2739 | ||
d03a2c79 | 2740 | 2012-05-03 Jason Merrill <jason@redhat.com> |
2741 | ||
2742 | * config/i386/i386.c (ix86_code_end): Set DECL_IGNORED_P on the | |
2743 | pc thunk. | |
2744 | * dwarf2out.c (output_aranges): Skip DECL_IGNORED_P functions. | |
2745 | (dwarf2out_finish): Likewise. | |
2746 | ||
ceea063b | 2747 | 2012-05-03 Martin Jambor <mjambor@suse.cz> |
2748 | ||
2749 | * builtins.c (get_object_alignment_1): Return whether we can determine | |
2750 | the alignment or conservatively assume byte alignment. Return the | |
2751 | alignment by reference. Use get_pointer_alignment_1 for dereference | |
2752 | alignment. | |
2753 | (get_pointer_alignment_1): Return whether we can determine the | |
2754 | alignment or conservatively assume byte alignment. Return the | |
2755 | alignment by reference. Use get_ptr_info_alignment to get SSA name | |
2756 | alignment. | |
2757 | (get_object_alignment): Update call to get_object_alignment_1. | |
2758 | (get_object_or_type_alignment): Likewise, fall back to type alignment | |
2759 | only when it returned false. | |
2760 | (get_pointer_alignment): Update call to get_pointer_alignment_1. | |
2761 | * fold-const.c (get_pointer_modulus_and_residue): Update call to | |
2762 | get_object_alignment_1. | |
2763 | * ipa-prop.c (ipa_modify_call_arguments): Update call to | |
2764 | get_pointer_alignment_1. | |
2765 | * tree-sra.c (build_ref_for_offset): Likewise, fall back to the type | |
2766 | of MEM_REF or TARGET_MEM_REF only when it returns false. | |
2767 | * tree-ssa-ccp.c (get_value_from_alignment): Update call to | |
2768 | get_object_alignment_1. | |
2769 | (ccp_finalize): Use set_ptr_info_alignment. | |
2770 | * tree.h (get_object_alignment_1): Update declaration. | |
2771 | (get_pointer_alignment_1): Likewise. | |
2772 | * gimple-pretty-print.c (dump_gimple_phi): Use get_ptr_info_alignment. | |
2773 | (dump_gimple_stmt): Likewise. | |
2774 | * tree-flow.h (ptr_info_def): Updated comments of fields align and | |
2775 | misalign. | |
2776 | (get_ptr_info_alignment): Declared. | |
2777 | (mark_ptr_info_alignment_unknown): Likewise. | |
2778 | (set_ptr_info_alignment): Likewise. | |
2779 | (adjust_ptr_info_misalignment): Likewise. | |
2780 | * tree-ssa-address.c (copy_ref_info): Use new access functions to get | |
2781 | and set alignment of SSA names. | |
2782 | * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Call | |
2783 | mark_ptr_info_alignment_unknown. | |
2784 | * tree-ssanames.c (get_ptr_info_alignment): New function. | |
2785 | (mark_ptr_info_alignment_unknown): Likewise. | |
2786 | (set_ptr_info_alignment): Likewise. | |
2787 | (adjust_ptr_info_misalignment): Likewise. | |
2788 | (get_ptr_info): Call mark_ptr_info_alignment_unknown. | |
2789 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): | |
2790 | Likewise. | |
2791 | (bump_vector_ptr): Likewise. | |
2792 | * tree-vect-stmts.c (create_array_ref): Use set_ptr_info_alignment. | |
2793 | (vectorizable_store): Likewise. | |
2794 | (vectorizable_load): Likewise. | |
2795 | ||
924c4c71 | 2796 | 2012-05-03 Michael Matz <matz@suse.de> |
2797 | ||
2798 | * basic-block.h (struct rtl_bb_info, struct gimple_bb_info): Move | |
2799 | in front of basic_block_def. | |
2800 | (struct basic_block_def): Make il.gimple the full struct, not a | |
2801 | pointer. | |
2802 | (__assert_gimple_bb_smaller_rtl_bb): Asserting typedef. | |
2803 | ||
91fcc716 | 2804 | * cfgexpand.c (expand_gimple_basic_block): Clear all il.gimple members. |
924c4c71 | 2805 | * gimple-iterator.c (gimple_stmt_iterator): Don't special case |
2806 | NULL il.gimple, which can't happen anymore. | |
2807 | * gimple.h (bb_seq): il.gimple can't be NULL. | |
2808 | (bb_seq_add): Ditto. | |
2809 | (set_bb_seq): Adjust. | |
2810 | (gsi_start_bb, gsi_last_bb): Tidy. | |
2811 | * lto-streamer-in.c (make_new_block): Don't zero members that | |
2812 | are zeroed already, don't allocate a gimple_bb_info. | |
2813 | * tree-cfg.c (create_bb): Don't allocate a gimple_bb_info. | |
2814 | (remove_bb): Clear all il.gimple members. | |
2815 | (gimple_verify_flow_info): Adjust for flat il.gimple. | |
2816 | * tree-flow-inline.h (phi_nodes, phi_nodes_ptr, set_phi_nodes): Adjust. | |
2817 | ||
2818 | * coretypes.h (const_gimple_seq): Remove typedef. | |
2819 | * gimple.h (gimple_seq_first): Take gimple_seq. | |
2820 | (gimple_seq_first_stmt): Ditto. | |
2821 | (gimple_seq_last): Ditto. | |
2822 | (gimple_seq_last_stmt): Ditto. | |
2823 | (gimple_seq_empty_p): Ditto. | |
2824 | ||
1ef2db75 | 2825 | 2012-05-03 Richard Guenther <rguenther@suse.de> |
2826 | ||
2827 | * tree-ssa-pre.c (valid_in_sets): Remove checking of trapping | |
2828 | operations. | |
91fcc716 | 2829 | (prune_clobbered_mems): Do it here. Do not uselessly sort expressions. |
1ef2db75 | 2830 | (compute_avail): Do not add possibly trapping operations to |
2831 | EXP_GEN if they might not be executed in the block. | |
2832 | ||
e2f2054f | 2833 | 2012-05-03 Uros Bizjak <ubizjak@gmail.com> |
2834 | ||
2835 | * config/alpha/elf.h (MAX_OFILE_ALIGNMENT): Remove. | |
2836 | ||
6da0d726 | 2837 | 2012-05-03 Steven Bosscher <steven@gcc.gnu.org> |
2838 | ||
2839 | * tree-switch-conversion.c (gen_inbound_check): Free post-dominance | |
2840 | information as early as possible. Update dominance info instead of | |
2841 | discarding it. | |
2842 | ||
8974b15d | 2843 | 2012-05-03 Richard Guenther <rguenther@suse.de> |
2844 | ||
2845 | * tree-ssa-pre.c (debug_bitmap_sets_for): New function. | |
2846 | (union_contains_value): Remove. | |
2847 | (vro_valid_in_sets): Likewise. | |
2848 | (op_valid_in_sets): New function. | |
2849 | (valid_in_sets): Use op_valid_in_sets. | |
2850 | (insert_into_preds_of_block): Move dumping ... | |
2851 | (do_regular_insertion): ... here. | |
2852 | (do_partial_partial_insertion): ... and here. Dump that | |
2853 | we've found a partial partial redundancy. | |
2854 | (insert): Dump the current insert iteration. | |
2855 | ||
691c047f | 2856 | 2012-05-03 Jakub Jelinek <jakub@redhat.com> |
2857 | ||
2bccd0d3 | 2858 | PR plugins/53126 |
2859 | * gcc-ar.c (main): If GCC_EXEC_PREFIX is set in env, | |
2860 | append program name to it and pass that as first argument | |
2861 | to make_relative_prefix. Always pass standard_libexec_prefix | |
2862 | as last argument to make_relative_prefix. If | |
2863 | make_relative_prefix returns NULL, fall back to | |
2864 | standard_libexec_prefix. | |
2865 | ||
b6d5efe6 | 2866 | PR debug/53174 |
2867 | * tree-predcom.c (remove_stmt): Call reset_debug_uses on stmts being | |
2868 | removed. | |
2869 | ||
c4a8eb0a | 2870 | PR target/53187 |
2871 | * config/arm/arm.c (arm_select_cc_mode): If x has MODE_CC class | |
2872 | mode, return that mode. | |
2873 | ||
691c047f | 2874 | PR target/53194 |
2875 | * config/i386/i386-c.c (ix86_target_macros_internal): Don't | |
2876 | define __ATOMIC_HLE_* macros here. | |
2877 | (ix86_target_macros): But here, using cpp_define_formatted. | |
2878 | ||
a4f94d42 | 2879 | 2012-05-03 Richard Guenther <rguenther@suse.de> |
2880 | ||
2881 | PR tree-optimization/53144 | |
2882 | * tree-ssa-sccvn.c (vn_reference_lookup_or_insert_constant_for_pieces): | |
2883 | Rename to ... | |
2884 | (vn_reference_lookup_or_insert_for_pieces): ... this. Properly deal | |
2885 | with SSA name values. | |
2886 | (vn_reference_lookup_3): Adjust callers. | |
2887 | ||
fb0e6fe3 | 2888 | 2012-05-03 Ganesh Gopalasubramanian <Ganesh.Gopalasubramanian@amd.com> |
2889 | ||
2890 | * config/i386/driver-i386.c (host_detect_local_cpu): Reset | |
2891 | has_fma4 for AMD processors with both fma3 and fma4 support. | |
2892 | ||
c79c9a8d | 2893 | 2012-05-03 Kirill Yukhin <kirill.yukhin@intel.com> |
2894 | ||
2895 | PR target/53201 | |
2896 | * config/i386/driver-i386.c (host_detect_local_cpu): Add space to | |
2897 | "-mno-hle". | |
2898 | ||
3222e348 | 2899 | 2012-05-03 Michael Matz <matz@suse.de> |
2900 | ||
2901 | PR bootstrap/53197 | |
e2f2054f | 2902 | * tree-ssa-dse.c (dse_optimize_stmt): Take pointer to iterator. |
3222e348 | 2903 | (dse_enter_block): Properly iterate the whole sequence even |
2904 | if the last statement was removed. | |
2905 | ||
9fbba7ae | 2906 | 2012-05-02 Steven Bosscher <steven@gcc.gnu.org> |
2907 | ||
2908 | * config/alpha/vms.h (SUBTARGET_OVERRIDE_OPTIONS): For pic code, | |
2909 | unset flag_jump_tables. | |
2910 | * stmt.c (expand_case): Remove special flag_pic case conditional | |
2911 | on ASM_OUTPUT_ADDR_DIFF_ELT not being defined. | |
2912 | ||
e9f1fe86 | 2913 | 2012-05-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
2914 | ||
2915 | * common/config/s390/s390-common.c (s390_option_optimization_table): | |
2916 | Enable -fsched-pressure using -fsched-pressure-algorithm=model by | |
2917 | default when optimizing. | |
2918 | ||
ad5f1481 | 2919 | 2012-05-02 Martin Jambor <mjambor@suse.cz> |
2920 | ||
2921 | PR lto/52605 | |
2922 | * dwarf2out.c (dwarf2out_decl): Only lookup die representing context | |
2923 | of a variable when the contect is a function. | |
2924 | ||
e3a19533 | 2925 | 2012-05-02 Michael Matz <matz@suse.de> |
2926 | ||
2927 | * coretypes.h (gimple_seq, const_gimple_seq): Typedef as gimple. | |
2928 | * gimple.h (struct gimple_seq_node_d, struct gimple_seq_d): Remove. | |
2929 | (const_gimple_seq_node): Remove. | |
2930 | (gimple_seq_node): Typedef as gimple. | |
2931 | (struct gimple_statement_base): Add next and prev members, | |
2932 | adjust all WORD markers in using structs. | |
2933 | (union gimple_statement_d): Link via gsbase.next field for GC and PCH. | |
2934 | (gimple_seq_first, gimple_seq_first_stmt, gimple_seq_last, | |
2935 | gimple_seq_last_stmt): Adjust as gimple_seq, gimple_seq_node and | |
2936 | gimple are the same. | |
2937 | (gimple_seq_set_last, gimple_seq_set_first): Don't allocate | |
2938 | gimple_seq, adjust. | |
2939 | (gimple_init_singleton): New function. | |
2940 | (gsi_start_1, gsi_last_1, gsi_end_p, gsi_one_before_end_p): Adjust. | |
2941 | (gsi_next, gsi_prev): Adjust, handle prev cyclic list correctly. | |
2942 | (gsi_stmt): Adjust. | |
2943 | (gsi_stmt_ptr): Remove. | |
2944 | (enum gimple_alloc_kind): Remove gimple_alloc_kind_seq member. | |
2945 | ||
2946 | * gimple-iterator.c (update_bb_for_stmts): Take last parameter | |
2947 | again, adjust for above changes. | |
2948 | (update_call_edge_frequencies): Adjust for above changes. | |
2949 | (gsi_insert_seq_nodes_before): Rewrite for new data structure. | |
2950 | (gsi_insert_seq_nodes_after): Ditto. | |
2951 | (gsi_split_seq_after): Ditto. | |
2952 | (gsi_set_stmt): Ditto. | |
2953 | (gsi_split_seq_before): Ditto. | |
2954 | (gsi_remove): Ditto. | |
2955 | (gsi_insert_seq_before_without_update): Don't free sequence. | |
2956 | (gsi_insert_seq_after_without_update): Ditto. | |
2957 | (gsi_replace): Assert some more invariants. | |
2958 | (gsi_insert_before_without_update, gsi_insert_after_without_update): | |
2959 | Tidy. | |
2960 | (gsi_for_stmt): Don't search for stmt. | |
2961 | (gsi_insert_on_edge_immediate): Tidy. | |
2962 | ||
2963 | * gimple.c (gimple_alloc_k): Remove "sequences". | |
2964 | (gimple_seq_cache): Remove. | |
2965 | (gimple_alloc_stat): Make stmt a singleton sequence. | |
2966 | (gimple_seq_alloc, gimple_seq_free): Remove. | |
2967 | (gimple_assign_set_rhs_with_ops_1): Ensure new stmt is a singleton. | |
2968 | (gimple_copy): Ditto. | |
2969 | * gimplify.c (gimplify_cleanup_point_expr): Use gsi_set_stmt, | |
2970 | create iterator from correct sequence. | |
2971 | * tree-phinodes.c (make_phi_node): Make stmt a singleton. | |
2972 | ||
2973 | 2012-05-02 Michael Matz <matz@suse.de> | |
2974 | ||
2975 | * gimple.h (gimple_stmt_iterator <seq>): Make it be pointer to | |
2976 | gimple_seq. | |
2977 | (gimple_seq_set_last, gimple_seq_set_first): Take pointer to | |
2978 | sequence, lazily allocate it. | |
2979 | (bb_seq_addr): New function. | |
2980 | (gsi_start_1): Rename from gsi_start, but take pointer to sequence. | |
2981 | (gsi_start): Macro to wrap gsi_start_1 taking pointer of argument. | |
2982 | (gsi_none): New function. | |
2983 | (gsi_start_bb): Adjust. | |
2984 | (gsi_last_1): Rename from gsi_last, but take pointer to sequence. | |
2985 | (gsi_last): Macro to wrap gsi_last_1 taking pointer of argument. | |
2986 | (gsi_last_bb): Adjust. | |
2987 | (gsi_seq): Adjust. | |
2988 | * tree-flow-inline.h (phi_nodes_ptr): New function. | |
2989 | ||
e2f2054f | 2990 | * gimple-iterator.c (gsi_insert_seq_nodes_before): Adjust to |
e3a19533 | 2991 | datastructure and interface change. |
2992 | (gsi_insert_seq_before_without_update): Ditto. | |
2993 | (gsi_insert_seq_nodes_after): Ditto. | |
2994 | (gsi_insert_seq_after_without_update): Ditto. | |
2995 | (gsi_split_seq_after): Ditto, don't use gimple_seq_alloc. | |
2996 | (gsi_split_seq_before): Ditto. | |
2997 | (gsi_start_phis): Adjust. | |
e2f2054f | 2998 | * tree-vect-loop.c (vect_determine_vectorization_factor): Use gsi_none. |
e3a19533 | 2999 | (vect_transform_loop): Ditto. |
3000 | * gimple.c (gimple_seq_add_stmt, gimple_seq_add_seq, | |
3001 | gimple_seq_copy): Don't use gimple_seq_alloc. | |
3002 | * gimplify.c (gimple_seq_add_stmt_without_update): Ditto. | |
3003 | (gimplify_seq_add_seq): Ditto. | |
3004 | * lto-streamer-in.c (make_new_block): Ditto. | |
3005 | * tree-cfg.c (create_bb): Ditto. | |
3006 | * tree-sra.c (initialize_parameter_reductions): Ditto. | |
3007 | ||
3008 | 2012-05-02 Michael Matz <matz@suse.de> | |
3009 | ||
3010 | * gimple.h (gimple_seq_first, gimple_seq_first_stmt, gimple_seq_last, | |
3011 | gimple_seq_last_stmt, gimple_seq_set_last, gimple_seq_set_first, | |
3012 | gimple_seq_empty_p, gimple_seq_alloc_with_stmt, bb_seq, | |
3013 | set_bb_seq): Move down to after gimple_statement_d definition. | |
3014 | ||
3015 | 2012-05-02 Michael Matz <matz@suse.de> | |
3016 | ||
3017 | * gimple-fold.c (gimplify_and_update_call_from_tree): Use | |
3018 | gsi_replace_with_seq, instead of inserting itself. | |
3019 | * gimple-iterator.c (gsi_replace_with_seq): New function. | |
3020 | * tree-ssa-forwprop.c (forward_propagate_comparison): Take | |
3021 | iterator instead of statement, advance it. | |
3022 | (ssa_forward_propagate_and_combine): Adjust call to above. | |
3023 | ||
3024 | 2012-05-02 Michael Matz <matz@suse.de> | |
3025 | ||
3026 | * tree-phinodes.c (add_phi_node_to_bb): Tidy, don't use | |
3027 | gimple_seq_alloc. | |
3028 | * omp-low.c (finalize_task_copyfn): Don't use gimple_seq_alloc. | |
3029 | * tree-nested.c (walk_gimple_omp_for): Ditto. | |
3030 | * trans-mem.c (lower_transaction): Ditto. | |
3031 | * tree-eh.c (do_return_redirection): Ditto. | |
3032 | (do_goto_redirection): Ditto. | |
3033 | (lower_try_finally_switch): Ditto. | |
3034 | * gimplify.c (gimplify_stmt): Ditto. | |
3035 | (gimplify_scan_omp_clauses): Ditto. | |
3036 | (gimplify_omp_for): Ditto. | |
3037 | (gimplify_function_tree): Ditto. | |
3038 | * gimple-fold.c (gimplify_and_update_call_from_tree): Ditto. | |
3039 | * tree-mudflap.c (mf_decl_cache_locals): Ditto. | |
3040 | (mf_build_check_statement_for): Ditto. | |
3041 | (mx_register_decls): Ditto. | |
3042 | * graphite-sese-to-poly.c (remove_invariant_phi): Ditto, | |
3043 | and don't use itertors to append. | |
3044 | (insert_stmts): Ditto. | |
3045 | (insert_out_of_ssa_copy): Ditto. | |
3046 | (insert_out_of_ssa_copy_on_edge): Ditto. | |
3047 | ||
3048 | 2012-05-02 Michael Matz <matz@suse.de> | |
3049 | ||
3050 | * gimple.h (gimple_bind_body_ptr): New function. | |
3051 | (gimple_bind_body): Use it. | |
3052 | (gimple_catch_handler): Use gimple_catch_handler_ptr. | |
3053 | (gimple_eh_filter_failure_ptr): New function. | |
3054 | (gimple_eh_filter_failure): Use it. | |
3055 | (gimple_eh_else_n_body_ptr): New function. | |
3056 | (gimple_eh_else_n_body): Use it. | |
3057 | (gimple_eh_else_e_body_ptr): New function. | |
3058 | (gimple_eh_else_e_body): Use it. | |
3059 | (gimple_try_eval_ptr): New function. | |
3060 | (gimple_try_eval): Use it. | |
3061 | (gimple_try_cleanup_ptr): New function. | |
3062 | (gimple_try_cleanup): Use it. | |
3063 | (gimple_wce_cleanup_ptr): New function. | |
3064 | (gimple_wce_cleanup): Use it. | |
3065 | (gimple_omp_body_ptr): New function. | |
3066 | (gimple_omp_body): Use it. | |
3067 | (gimple_omp_for_pre_body_ptr): New function. | |
3068 | (gimple_omp_for_pre_body): Use it. | |
3069 | (gimple_transaction_body_ptr): New function. | |
3070 | (gimple_transaction_body): Use it. | |
3071 | (gsi_split_seq_before): Adjust to return nothing and take pointer | |
3072 | to sequence. | |
3073 | (gsi_set_stmt): Declare. | |
3074 | (gsi_replace_with_seq): Declare. | |
3075 | (walk_gimple_seq_mod): Declare. | |
3076 | * function.h (struct function <gimple_body>): Use typedef gimple_seq. | |
3077 | ||
3078 | * gimple-iterator.c (gsi_set_stmt): New function. | |
3079 | (gsi_split_seq_before): Return new sequence via pointer argument. | |
3080 | (gsi_replace): Use gsi_set_stmt. | |
3081 | ||
3082 | * tree-ssa-loop-im.c (move_computations_stmt): First remove | |
3083 | then insert stmt. | |
e2f2054f | 3084 | * tree-complex.c (update_complex_components_on_edge): Don't copy gsi. |
e3a19533 | 3085 | * tree-phinodes.c (resize_phi_node): Don't resize stmt in-place, |
3086 | return new stmt. | |
3087 | (reserve_phi_args_for_new_edge): Change call to above, | |
3088 | use gsi_set_stmt. | |
3089 | ||
e2f2054f | 3090 | * omp-low.c (lower_omp): Change prototype to take pointer to sequence. |
e3a19533 | 3091 | (lower_rec_input_clauses): Use gimple_seq_add_seq instead of |
3092 | iterators. Adjust call to lower_omp. | |
3093 | (lower_lastprivate_clauses): Adjust call to lower_omp. | |
3094 | (lower_reduction_clauses): Ditto. | |
3095 | (expand_omp_taskreg): Nullify non-cfg body of child_fn. | |
3096 | (lower_omp_sections): Don't explicitely count sequence length, | |
3097 | nullify lowered bodies earlier, ensure stmts are part of only | |
3098 | one sequence, adjust call to lower_omp. | |
3099 | (lower_omp_single): Ensure stmts are part of only one sequence, | |
3100 | adjust call to lower_omp. | |
3101 | (lower_omp_master): Ditto. | |
3102 | (lower_omp_ordered): Ditto. | |
3103 | (lower_omp_critical): Ditto. | |
3104 | (lower_omp_for): Ditto. | |
3105 | (lower_omp_taskreg): Ditto, tidy. | |
3106 | (lower_omp_1): Adjust calls to lower_omp. | |
3107 | (execute_lower_omp): Ditto. | |
3108 | (lower_omp): Adjust to take pointer to sequence. | |
3109 | (diagnose_sb_2): Use walk_gimple_seq_mod. | |
3110 | (diagnose_omp_structured_block_errors): Ditto and set possibly | |
3111 | changed function body. | |
3112 | * gimple-low.c (lower_function_body): Set function body after | |
3113 | it stabilizes. | |
3114 | (lower_sequence): Adjust to take pointer to sequence. | |
3115 | (lower_omp_directive): Ensure stmt isn't put twice into the | |
3116 | sequence, adjust call to lower_sequence. | |
3117 | (lower_stmt): Adjust calls to lower_sequence. | |
3118 | (lower_gimple_bind): Ditto. | |
3119 | (gimple_try_catch_may_fallthru): Call gsi_start with lvalue. | |
3120 | * tree-nested.c (walk_body): Take pointer to sequence, use | |
3121 | walk_gimple_seq_mod. | |
e2f2054f | 3122 | (walk_function): Adjust call to walk_body, set possibly changed body. |
e3a19533 | 3123 | (walk_gimple_omp_for): Adjust calls to walk_body. |
3124 | (convert_nonlocal_omp_clauses): Ditto. | |
3125 | (convert_nonlocal_reference_stmt): Ditto. | |
3126 | (convert_local_omp_clauses): Ditto. | |
3127 | (convert_local_reference_stmt): Ditto. | |
3128 | (convert_tramp_reference_stmt): Ditto. | |
3129 | (convert_gimple_call): Ditto. | |
3130 | (convert_nl_goto_reference): Use local iterator copy. | |
3131 | * gimple.c (walk_gimple_seq_mod): Renamed from walk_gimple_seq, | |
3132 | but taking pointer to sequence, ensure gsi_start is called with | |
3133 | callers lvalue. | |
3134 | (walk_gimple_seq): New wrapper around walk_gimple_seq_mod, | |
3135 | asserting that the sequence head didn't change. | |
3136 | (walk_gimple_stmt): Replace all calls to walk_gimple_seq with | |
3137 | walk_gimple_seq_mod. | |
3138 | * trans-mem.c (lower_transaction): Use walk_gimple_seq_mod. | |
3139 | (execute_lower_tm): Ditto, and set possibly changed body. | |
3140 | * tree-eh.c (lower_eh_constructs_1): Take pointer to sequence, | |
3141 | call gsi_start with that lvalue. | |
3142 | (replace_goto_queue_stmt_list): Ditto. | |
3143 | (replace_goto_queue_1): Adjust calls to replace_goto_queue_stmt_list. | |
3144 | (replace_goto_queue): Ditto. | |
3145 | (lower_try_finally_nofallthru): Adjust calls to lower_eh_constructs_1. | |
3146 | (lower_try_finally_onedest): Ditto. | |
3147 | (lower_try_finally_copy): Ditto. | |
3148 | (lower_try_finally_switch): Ditto. | |
3149 | (lower_try_finally): Ditto. | |
3150 | (lower_eh_filter): Ditto. | |
3151 | (lower_eh_must_not_throw): Ditto. | |
3152 | (lower_cleanup): Ditto. | |
3153 | (lower_eh_constructs_2): Ditto. | |
3154 | (lower_catch): Ditto, and ensure gsi_start is called with lvalue. | |
3155 | (lower_eh_constructs): Adjust calls to lower_eh_constructs_1, and | |
3156 | set possibly changed body. | |
3157 | (optimize_double_finally): Call gsi_start with lvalue. | |
3158 | ||
3159 | * tree-cfg.c (make_blocks): Adjust call to gsi_split_seq_before. | |
3160 | (gimple_split_block): Ditto. | |
3161 | (gimple_merge_blocks): Use gsi_start_phis. | |
3162 | (move_stmt_r): Use walk_gimple_seq_mod. | |
3163 | * tree-ssa-dse.c (dse_enter_block): Use gsi_last_bb. | |
3164 | * cgraphbuild.c (build_cgraph_edges): Use gsi_start_phis. | |
3165 | (rebuild_cgraph_edges): Ditto. | |
3166 | (cgraph_rebuild_references): Ditto. | |
3167 | * ipa-prop.c (ipa_analyze_params_uses): Ditto. | |
3168 | * tree-inline.c (copy_phis_for_bb): Ditto. | |
3169 | * tree-ssa-dce.c: Ditto. | |
3170 | ||
3171 | * cgraphunit.c (cgraph_analyze_function): Use gimple_has_body_p. | |
3172 | ||
7f738025 | 3173 | 2012-05-02 Kirill Yukhin <kirill.yukhin@intel.com> |
3174 | Andi Kleen <ak@linux.intel.com> | |
3175 | ||
e3a19533 | 3176 | * coretypes.h (MEMMODEL_MASK): New. |
7f738025 | 3177 | * builtins.c (get_memmodel): Add val. Call target.memmodel_check |
3178 | and return new variable. | |
3179 | (expand_builtin_atomic_exchange): Mask memmodel values. | |
3180 | (expand_builtin_atomic_compare_exchange): Ditto. | |
3181 | (expand_builtin_atomic_load): Ditto. | |
3182 | (expand_builtin_atomic_store): Ditto. | |
3183 | (expand_builtin_atomic_clear): Ditto. | |
3184 | * doc/extend.texi: Mention port-dependent memory model flags. | |
3185 | * config/i386/cpuid.h (bit_HLE): New. | |
3186 | * config/i386/driver-i386.c (host_detect_local_cpu): Detect | |
3187 | HLE support. | |
3188 | * config/i386/i386-protos.h (ix86_generate_hle_prefix): New. | |
91fcc716 | 3189 | * config/i386/i386-c.c (ix86_target_macros_internal): Set HLE defines. |
7f738025 | 3190 | (ix86_target_string)<-mhle>: New. |
e2f2054f | 3191 | (ix86_valid_target_attribute_inner_p) <OPT_mhle>: Ditto. |
3192 | * config/i386/i386.c (ix86_target_string) <OPTION_MASK_ISA_HLE>: New. | |
3193 | (ix86_valid_target_attribute_inner_p) <OPT_mhle>: Ditto. | |
3194 | (ix86_option_override_internal) <PTA_HLE>: New switch, set it | |
7f738025 | 3195 | enabled for generic, generic64 and core-avx2. |
3196 | (ix86_print_operand): Generate HLE lock prefixes. | |
3197 | (ix86_memmodel_check): New. | |
3198 | (TARGET_MEMMODEL_CHECK): Ditto. | |
3199 | * config/i386/i386.h (OPTION_ISA_HLE): Ditto. | |
3200 | (IX86_HLE_ACQUIRE): Ditto. | |
3201 | (IX86_HLE_RELEASE): Ditto. | |
3202 | * config/i386/i386.h (ix86_generate_hle_prefix): Ditto. | |
3203 | * config/i386/i386.opt (mhle): Ditto. | |
3204 | * config/i386/sync.md(atomic_compare_and_swap<mode>): Pass | |
3205 | success model to instruction emitter. | |
3206 | (atomic_fetch_add<mode>): Ditto. | |
3207 | (atomic_exchange<mode>): Ditto. | |
3208 | (atomic_add<mode>): Ditto. | |
3209 | (atomic_sub<mode>): Ditto. | |
3210 | (atomic_<code><mode>): Ditto. | |
3211 | (*atomic_compare_and_swap_doubledi_pic): Ditto. | |
3212 | (atomic_compare_and_swap_single<mode>): Define and use argument | |
3213 | for success model. | |
3214 | (atomic_compare_and_swap_double<mode>): Ditto. | |
3215 | * configure.ac: Check if assembler support HLE prefixes. | |
3216 | * configure: Regenerate. | |
3217 | * config.in: Ditto. | |
3218 | ||
b59e1c90 | 3219 | 2012-05-02 Steven Bosscher <steven@gcc.gnu.org> |
3220 | ||
3221 | PR middle-end/53153 | |
3222 | * gimplify.c (preprocess_case_label_vec_for_gimple): New function, | |
3223 | split out from ... | |
3224 | (gimplify_switch_expr): ... here. | |
3225 | * gimple.h (preprocess_case_label_vec_for_gimple): Add prototype. | |
3226 | * tree-ssa-forwprop.c (simplify_gimple_switch_label_vec): New function | |
3227 | to clean up case labels with values outside the index type range. | |
3228 | (simplify_gimple_switch): Call it if something changed. | |
3229 | Remove strange and unnecessary assert. | |
3230 | ||
85d86b55 | 3231 | 2012-05-02 Richard Guenther <rguenther@suse.de> |
3232 | ||
3233 | * fold-const.c (div_if_zero_remainder): sizetypes no longer | |
3234 | sign-extend. | |
3235 | (int_const_binop_1): New worker for int_const_binop with | |
91fcc716 | 3236 | overflowable parameter. Pass it through to force_fit_type_double. |
85d86b55 | 3237 | (int_const_binop): Wrap around int_const_binop_1 with overflowable |
3238 | equal to one. | |
3239 | (size_binop_loc): Call int_const_binop_1 with overflowable equal | |
3240 | to minus one, forcing overflow detection for even unsigned types. | |
3241 | (extract_muldiv_1): Remove bogus TYPE_IS_SIZETYPE special-casing. | |
3242 | (fold_binary_loc): Call try_move_mult_to_index with signed offset. | |
3243 | * stor-layout.c (initialize_sizetypes): sizetypes no longer | |
3244 | sign-extend. | |
3245 | (layout_type): For zero-sized arrays ignore overflow on the | |
3246 | size calculations. | |
3247 | * tree-ssa-ccp.c (bit_value_unop_1): Likewise. | |
3248 | (bit_value_binop_1): Likewise. | |
3249 | * tree.c (double_int_to_tree): Likewise. | |
3250 | (double_int_fits_to_tree_p): Likewise. | |
3251 | (force_fit_type_double): Likewise. | |
3252 | (host_integerp): Likewise. | |
3253 | (int_fits_type_p): Likewise. | |
3254 | * varasm.c (output_constructor_regular_field): Sign-extend the | |
e2f2054f | 3255 | field-offset to cater for negative offsets produced by the Ada |
3256 | frontend. | |
85d86b55 | 3257 | * omp-low.c (extract_omp_for_data): Convert the loop step to |
3258 | signed for pointer adjustments. | |
3259 | ||
3260 | 2012-05-02 Richard Guenther <rguenther@suse.de> | |
3261 | ||
3262 | * tree.c (valid_constant_size_p): New function. | |
3263 | * tree.h (valid_constant_size_p): Declare. | |
3264 | * cfgexpand.c (expand_one_var): Adjust check for too large | |
3265 | variables by using valid_constant_size_p. | |
3266 | * varasm.c (assemble_variable): Likewise. | |
3267 | ||
3268 | * c-decl.c (grokdeclarator): Properly check for sizes that | |
3269 | cover more than half of the address-space. | |
3270 | ||
559f753b | 3271 | 2012-05-02 Jakub Jelinek <jakub@redhat.com> |
3272 | ||
8b3fb720 | 3273 | PR tree-optimization/53163 |
3274 | * tree-ssa-phiopt.c (cond_if_else_store_replacement): Don't ignore | |
3275 | return value from compute_all_dependences. | |
3276 | ||
559f753b | 3277 | PR rtl-optimization/53160 |
3278 | * ree.c (combine_reaching_defs): Handle the case where cand->insn | |
3279 | has been modified by ree pass already. | |
3280 | ||
73242672 | 3281 | 2012-05-01 Ian Lance Taylor <iant@google.com> |
3282 | ||
3283 | PR c/37303 | |
3284 | * c-decl.c (build_compound_literal): Make the decl readonly if it | |
3285 | an array of a readonly type. | |
3286 | * gimplify.c (gimplify_compound_literal_expr): Add fallback | |
3287 | parameter. Change all callers. If the decl is not addressable | |
3288 | and is not an l-value, make it readonly. | |
3289 | ||
e1d0b655 | 3290 | 2012-05-01 Bernd Schmidt <bernds@codesourcery.com> |
3291 | ||
3292 | * ira.c (allocated_reg_info_size): New static variable. | |
3293 | (expand_reg_info): Manage it. Call | |
3294 | setup_preferred_alternate_classes_for_new_pseudos. | |
3295 | (ira): Don't do it here. Remove local allocated_reg_info_size, | |
3296 | set the global before calling find_moveable_pseudos. | |
3297 | (find_moveable_pseudos): Call expand_reg_info rather than | |
3298 | resize_reg_info. | |
3299 | ||
d8219307 | 3300 | 2012-05-01 Richard Henderson <rth@redhat.com> |
3301 | ||
3302 | * common.opt (fsync-libcalls): New. | |
3303 | * doc/invoke.texi: Document it. | |
3304 | * optabs.c (init_sync_libfuncs): Honor it. | |
3305 | ||
c7944dce | 3306 | 2012-05-01 Kenneth Zadeck <zadeck@naturalbridge.com> |
3307 | Richard Sandiford <r.sandiford@uk.ibm.com> | |
3308 | ||
31fa83cd | 3309 | PR rtl-optimization/52543 |
c7944dce | 3310 | * Makefile.in (lower-subreg.o, target-globals.o): Depend on |
3311 | lower-subreg.h. | |
3312 | * lower-subreg.h: New file. | |
3313 | * target-globals.h (this_target_lower_subreg): Declare. | |
3314 | (target_globals): Add lower_subreg; | |
3315 | (restore_target_globals): Restore this_target_lower_subreg. | |
3316 | * target-globals.c: Include it. | |
3317 | (default_target_globals): Add default_target_lower_subreg. | |
3318 | (save_target_globals): Initialize target_lower_subreg. | |
3319 | * rtl.h (init_lower_subreg): Added declaration. | |
3320 | * toplev.c (backend_init_target): Call initializer for lower-subreg | |
3321 | pass. | |
3322 | * lower-subreg.c (LOG_COSTS, FORCE_LOWERING): New macros. | |
3323 | (default_target_lower_subreg): New variable. | |
3324 | (this_target_lower_subreg): Likewise. | |
3325 | (twice_word_mode, choices): New macros. | |
3326 | (shift_cost, compute_splitting_shift, compute_costs) | |
3327 | (init_lower_subreg): New functions. | |
3328 | (resolve_simple_move): Add speed_p argument. Check choices. | |
3329 | (find_pseudo_copy): Don't check the mode size here. | |
3330 | (resolve_simple_move): Assert the mode size. | |
3331 | (find_decomposable_shift_zext): Add speed_p argument and return | |
3332 | a bool. Check choices. | |
3333 | (resolve_shift_zext): Add comment. | |
3334 | (dump_shift_choices, dump_choices): New functions. | |
3335 | (decompose_multiword_subregs): Dump list of profitable | |
3336 | transformations. Add code to skip non profitable transformations. | |
3337 | Update calls to simple_move and find_decomposable_shift_zext. | |
3338 | ||
e7fd8dfa | 3339 | 2012-05-01 Ian Bolton <ian.bolton@arm.com> |
e2f2054f | 3340 | Sameera Deshpande <sameera.deshpande@arm.com> |
3341 | Greta Yorsh <greta.yorsh@arm.com> | |
e7fd8dfa | 3342 | |
3343 | * config/arm/arm-protos.h (thumb_unexpanded_epilogue): Rename to... | |
e2f2054f | 3344 | (thumb1_unexpanded_epilogue): ...this. |
e7fd8dfa | 3345 | * config/arm/arm.c (thumb_unexpanded_epilogue): Rename to... |
e2f2054f | 3346 | (thumb1_unexpanded_epilogue): ...this. |
e7fd8dfa | 3347 | * config/arm/arm.md (thumb_unexpanded_epilogue): Rename to... |
e2f2054f | 3348 | (thumb1_unexpanded_epilogue): ...this. |
e7fd8dfa | 3349 | |
68a172b9 | 3350 | 2012-05-01 Richard Earnshaw <rearnsha@arm.com> |
3351 | ||
3352 | * arm/linux-eabi.h (GLIBC_DYNAMIC_LINKER_DEFAULT): Avoid ifdef | |
3353 | comparing enumeration values. Update comments. | |
3354 | ||
e356c169 | 3355 | 2012-05-01 Alan Modra <amodra@gmail.com> |
3356 | ||
3357 | PR target/53038 | |
3358 | * config/rs6000/rs6000.c (load_lr_save, restore_saved_lr, | |
3359 | load_cr_save, add_crlr_cfa_restore): New functions. | |
3360 | (rs6000_restore_saved_cr): Rename to.. | |
3361 | (restore_saved_cr): ..this. Add cfa_restore notes for cr. | |
3362 | (rs6000_emit_epilogue): Use new functions. Adjust condition | |
3363 | for emitting lr and cr cfa_restore. Emit cfa_restores for fp | |
3364 | regs when using out-of-line restore only when shrink wrapping. | |
3365 | ||
a690dc32 | 3366 | 2012-04-30 Uros Bizjak <ubizjak@gmail.com> |
3367 | ||
3368 | PR middle-end/53136 | |
3369 | * ipa-prop.c (ipa_print_node_jump_functions): Wrap multiple | |
3370 | calls to cgraph_node_name in xstrdup. | |
3371 | (ipa_make_edge_direct_to_target): Ditto. | |
3372 | * cgraph.c (dump_cgraph_node): Ditto. | |
3373 | * tree-sra.c (convert_callers_for_node): Ditto. | |
3374 | * lto-symtab.c (lto_cgraph_replace_node): Ditto. | |
3375 | * ipa-cp.c (perhaps_add_new_callers): Ditto. | |
3376 | * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Ditto. | |
3377 | (cgraph_materialize_all_clones): Ditto. | |
3378 | * ipa-inline.c (report_inline_failed_reason): Ditto. | |
3379 | (want_early_inline_function_p): Ditto. | |
3380 | (edge_badness): Ditto. | |
3381 | (update_edge_key): Ditto. | |
3382 | (flatten_function): Ditto. | |
3383 | (ipa_inline): Ditto. | |
e2f2054f | 3384 | (inline_always_inline_functions): Ditto. |
a690dc32 | 3385 | (early_inline_small_functions): Ditto. |
3386 | ||
b3987b8f | 3387 | 2012-04-30 Uros Bizjak <ubizjak@gmail.com> |
3388 | ||
3389 | PR target/53141 | |
3390 | * config/i386/i386.md (*umul<mode><dwi>3_1): Switch places of | |
3391 | constraints 0 and 1. | |
3392 | ||
cf951b1a | 3393 | 012-04-30 Jan Hubicka <jh@suse.cz> |
3394 | ||
3395 | * cgraph.c (ld_plugin_symbol_resolution_names): Move to symtab.c | |
3396 | (cgraph_asm_nodes, cgraph_asm_last_node): Move to cgraphunit.c | |
3397 | (cgraph_add_to_same_comdat_group): Remove. | |
3398 | (cgraph_add_asm_node): Move to cgraphunit.c. | |
3399 | (cgraph_make_decl_local): Move to symtab.c | |
3400 | (cgraph_make_node_local_1): Update. | |
3401 | (cgraph_can_remove_if_no_direct_calls_and): Update. | |
3402 | (used_from_object_file_p): Update. | |
3403 | (resolution_used_from_other_file_p): Move to symtab.c | |
3404 | (cgraph_used_from_object_file_p): move to symtab.c | |
3405 | (verify_cgraph_node): Verify same comdat groups. | |
3406 | * cgraph.h (cgraph_asm_node): Rename to ... | |
3407 | (asm_node): ... this one. | |
3408 | (cgraph_asm_nodes): Rename to ... | |
3409 | (asm_nodes): ... this one. | |
3410 | (symtab_add_to_same_comdat_group): New function. | |
3411 | (symtab_dissolve_same_comdat_group_list): New function. | |
3412 | (symtab_used_from_object_file_p): Declare. | |
3413 | (symtab_make_decl_local): Declare. | |
3414 | (cgraph_add_to_same_comdat_group): Remove. | |
3415 | (cgraph_add_asm_node): Remove. | |
3416 | (cgraph_used_from_object_file_p, varpool_used_from_object_file_p): | |
3417 | Remove. | |
3418 | (cgraph_finalize_compilation_unit): Rename to ... | |
3419 | (finalize_compilation_unit): ... this one. | |
3420 | (cgraph_optimize): Rename to .... | |
3421 | (compile): ... this one. | |
3422 | (add_asm_node): Declare. | |
3423 | (fixup_same_cpp_alias_visibility): Declare. | |
3424 | (cgraph_make_decl_local): Remove. | |
3425 | (varpool_assemble_pending_decls): Rename to ... | |
3426 | (varpool_output_variables): ... this one. | |
3427 | (varpool_remove_unreferenced_decls): Remove. | |
3428 | * ipa-inline-transform.c (clone_inlined_nodes): Dissolve comdat groups. | |
3429 | (preserve_function_body_p): Make static. | |
b3987b8f | 3430 | * toplev.c (compile_file): Update comments; update. |
cf951b1a | 3431 | * cgraphunit.c: Update comments. |
3432 | (cgraph_expand_all_functions): Rename to ... | |
3433 | (expand_all_functions): ... this one; update. | |
3434 | (cgraph_mark_functions_to_output): Rename to ... | |
3435 | (mark_functions_to_output): ... this one; cleanup. | |
3436 | (cgraph_output_pending_asms): Remove prototype. | |
3437 | (asm_nodes, asm_last_node): New static vars. | |
3438 | (cgraph_process_new_functions): Update. | |
3439 | (cgraph_reset_node): Cleanup; add comment. | |
3440 | (cgraph_add_new_function): Update. | |
3441 | (cgraph_output_pending_asms): Rename to ... | |
3442 | (output_asm_statements): ... this one. | |
3443 | (add_asm_node): New function. | |
3444 | (fixup_same_cpp_alias_visibility): New function based on code | |
3445 | in cgraph_analyze_function. | |
3446 | (cgraph_analyze_function): Use it. | |
3447 | (cgraph_order_sort): Update. | |
3448 | (cgraph_output_in_order): Update. | |
3449 | (cgraph_function_versioning): Update. | |
3450 | (cgraph_optimize): Rename to ... | |
3451 | (compile): ... this one; initialize streamer hooks here. | |
3452 | (cgraph_finalize_compilation_unit): Rename to ... | |
3453 | (finalize_compilation_unit): ... this one; do not initialize streamer | |
3454 | hook here. | |
3455 | * lto-streamer-out.c (lto_output_toplevel_asms): Update. | |
3456 | * dwarf2out.c: Update ocmment. | |
3457 | * optimize.c (maybe_clone_body): Use symtab_add_to_same_comdat_group. | |
3458 | * method.c (use_thunk): Likewise. | |
3459 | * semantics.c (maybe_add_lambda_conv_op): Likewise. | |
b3987b8f | 3460 | * decl2.c (maybe_emit_vtables): Likewise. |
cf951b1a | 3461 | (cp_write_global_declarations): Use finalize_compilation_unit. |
3462 | * parser.c (cp_parser_asm_definition): Use add_asm_node. | |
3463 | * lto-streamer-in.c (lto_input_toplevel_asms): Use add_asm_node | |
b3987b8f | 3464 | * c-decl.c (c_write_global_declarations): Use |
3465 | finalize_compilation_unit. | |
cf951b1a | 3466 | * langhooks.c (write_global_declarations): Update. |
3467 | * ipa.c (cgraph_externally_visible_p): Update. | |
3468 | (dissolve_same_comdat_group_list): Remove. | |
3469 | (function_and_variable_visibility): Update. | |
3470 | * symtab.c: Inlcude lto-streamer.h and rtl.h | |
3471 | (ld_plugin_symbol_resolution_names): New. | |
3472 | (symtab_add_to_same_comdat_group): New. | |
3473 | (symtab_dissolve_same_comdat_group_list): New. | |
3474 | (resolution_used_from_other_file_p): Move here from cgraph.c | |
3475 | (symtab_used_from_object_file_p): New. | |
3476 | (symtab_make_decl_local): New. | |
3477 | * passes.c (register_pass): Update comments. | |
3478 | * c-parser.c (c_parser_asm_definition): Update. | |
b3987b8f | 3479 | * varpool.c (varpool_analyze_node): Use |
3480 | fixup_same_cpp_alias_visibility. | |
cf951b1a | 3481 | (varpool_remove_unreferenced_decls): Make static. |
3482 | (varpool_assemble_pending_decls): Rename to ... | |
3483 | (varpool_output_variables): ... this one; call | |
3484 | varpool_remove_unreferenced_decls. | |
3485 | (varpool_used_from_object_file_p): Remove. | |
3486 | ||
7059d45d | 3487 | 2012-04-30 Marc Glisse <marc.glisse@inria.fr> |
3488 | ||
3489 | PR c++/51033 | |
3490 | * c-typeck.c (build_array_ref): Call | |
3491 | convert_vector_to_pointer_for_subscript. | |
3492 | * doc/extend.texi (Vector Extensions): Subscripting not just for C. | |
3493 | ||
df65c84d | 3494 | 2012-04-30 Uros Bizjak <ubizjak@gmail.com> |
3495 | ||
3496 | * config/i386/i386.md (and<mode>3): Change runtime operand mode checks | |
3497 | to compile-time "mode == <MODE>mode" checks. | |
3498 | (and splitter): Ditto. | |
3499 | ||
ab1e18de | 3500 | 2012-04-30 Richard Henderson <rth@redhat.com> |
3501 | ||
3502 | * config/arm/arm.md (UNSPEC_LL): New. | |
3503 | * config/arm/sync.md (atomic_loaddi, atomic_loaddi_1): New. | |
3504 | (arm_load_exclusivedi): Use %H0. | |
3505 | ||
3474b65d | 3506 | 2012-04-30 Jason Merrill <jason@redhat.com> |
3507 | ||
3508 | * dwarf2out.c (comdat_symbol_id): Add const. | |
3509 | (union die_symbol_or_type_node): Add const to die_symbol. | |
3510 | (output_die_symbol, output_die, output_comp_unit): Adjust. | |
3511 | ||
774d2fbb | 3512 | 2012-04-30 Andrew Stubbs <ams@codesourcery.com> |
3513 | ||
3514 | * config/arm/arm.md (negdi2): Use gen_negdi2_neon. | |
3515 | * config/arm/neon.md (negdi2_neon): New insn. | |
3516 | Also add splitters for core and NEON registers. | |
3517 | ||
87f800b2 | 3518 | 2012-04-30 Andrew Stubbs <ams@codesourcery.com> |
3519 | ||
3520 | * config/arm/arm.c (neon_valid_immediate): Allow const_int. | |
3521 | (arm_print_operand): Add 'x' format. | |
3522 | * config/arm/constraints.md (Dn): Allow const_int. | |
3523 | * config/arm/neon.md (neon_mov<mode>): Use VDX to allow DImode. | |
3524 | Use 'x' format to print constants. | |
3525 | * config/arm/predicates.md (imm_for_neon_mov_operand): Allow const_int. | |
3526 | * config/arm/vfp.md (movdi_vfp): Disable for const_int when neon | |
3527 | is enabled. | |
3528 | (movdi_vfp_cortexa8): Likewise. | |
3529 | ||
a2623f6b | 3530 | 2012-04-30 Ian Bolton <ian.bolton@arm.com> |
917cf02d | 3531 | Sameera Deshpande <sameera.deshpande@arm.com> |
3532 | Greta Yorsh <greta.yorsh@arm.com> | |
69973f3a | 3533 | |
3534 | * config/arm/arm-protos.h (ldm_stm_operation_p): New declaration. | |
3535 | * config/arm/arm.c (ldm_stm_operation_p): New function. | |
3536 | * config/arm/predicates.md (load_multiple_operation): Update predicate. | |
3537 | (store_multiple_operation): Likewise. | |
3538 | ||
394cb8e0 | 3539 | * config/arm/arm-protos.h (ldm_stm_operation_p): New parameters. |
3540 | * config/arm/arm.c (ldm_stm_operation_p): New parameters. | |
3541 | * config/arm/predicates.md (load_multiple_operation): Add arguments. | |
df65c84d | 3542 | (store_multiple_operation): Likewise. |
394cb8e0 | 3543 | |
9676484f | 3544 | 2012-04-30 Uros Bizjak <ubizjak@gmail.com> |
3545 | ||
3546 | * config/i386/i386.md (and<mode>3): Expand masking operations with | |
3547 | 0xff, 0xffff or 0xffffffff immediates to corresponding zero_extend RTX. | |
3548 | (and splitter): Split to DImode zero_extend RTX for DImode operand[0]. | |
3549 | ||
7edb1062 | 3550 | 2012-04-30 Dodji Seketeli <dodji@redhat.com> |
3551 | ||
3552 | Add -Wvarargs option | |
3553 | * builtins.c (fold_builtin_next_arg): Use OPT_Wvarargs as an | |
9676484f | 3554 | argument for the various warning_at calls. |
7edb1062 | 3555 | * docs/invoke.texi: Update the documentation. |
3556 | ||
6982c82d | 3557 | 2012-04-30 Dodji Seketeli <dodji@redhat.com> |
3558 | ||
611f1003 | 3559 | Switch -ftrack-macro-expansion=2 on by default. |
3560 | * docs/cppopts.texi: Adjust for enabling -ftrack-macro-expansion=2 | |
3561 | by default. | |
3562 | ||
d98fd4a4 | 3563 | Fix va_start related location |
3564 | * builtins.c (fold_builtin_next_arg): Unwinds to the first | |
3565 | location in real source code. | |
3566 | ||
db30b351 | 3567 | Make conversion warnings work on NULL with -ftrack-macro-expansion |
3568 | * input.h (expansion_point_location_if_in_system_header): Declare | |
3569 | new function. | |
9676484f | 3570 | * input.c (expansion_point_location_if_in_system_header): Define it. |
db30b351 | 3571 | |
18f0e0e5 | 3572 | Fix -Wuninitialized for -ftrack-macro-expansion |
9676484f | 3573 | * tree-ssa.c (warn_uninit): Use the spelling location of the variable |
3574 | declaration. Use linemap_location_before_p for source locations. | |
18f0e0e5 | 3575 | |
bd172d61 | 3576 | Strip "<built-in>" loc from displayed expansion context |
3577 | * input.c (expand_location_1): When expanding to spelling location | |
3578 | in a context of a macro expansion, skip reserved system header | |
3579 | locations. Update comments. * tree-diagnostic.c | |
3580 | (maybe_unwind_expanded_macro_loc): Likewise. | |
3581 | ||
39107655 | 3582 | Make expand_location resolve to locus in main source file |
3583 | * input.c (expand_location_1): New. Takes a parameter to choose | |
3584 | whether to resolve the location to spelling or expansion point. | |
3585 | Was factorized from ... | |
3586 | (expand_location): ... here. | |
3587 | (expand_location_to_spelling_point): New. Implemented in terms of | |
3588 | expand_location_1. | |
3589 | * diagnostic.c (diagnostic_build_prefix): Use the new | |
3590 | expand_location_to_spelling_point instead of expand_location. | |
3591 | ||
6982c82d | 3592 | Fix PCH crash on GTYed pointer-to-scalar field of a struct |
3593 | * gengtype.c (write_types_process_field): Force second argument of | |
3594 | the call to the PCH object hierarchy walker to be 'x'. | |
3595 | ||
81f9f420 | 3596 | 2012-04-30 Eric Botcazou <ebotcazou@adacore.com> |
3597 | ||
3598 | * config/i386/i386.c (ix86_handle_struct_attribute): Use the proper | |
3599 | predicate to discriminate types. | |
3600 | ||
b86527d8 | 3601 | 2012-04-30 Manuel López-Ibáñez <manu@gcc.gnu.org> |
3602 | ||
3603 | * doc/invoke.texi (Wmissing-format-attribute): Document as an | |
3604 | alias of Wsuggest-attribute=format. | |
3605 | * c-typeck.c (convert_for_assignment): Replace | |
3606 | Wmissing-format-attribute with Wsuggest-attribute=format. | |
3607 | (digest_init): Likewise. | |
3608 | ||
fdc46702 | 3609 | 2012-04-29 Manuel López-Ibáñez <manu@gcc.gnu.org> |
3610 | ||
9676484f | 3611 | * opts.c (finish_options): Do not handle -Wmissing-noreturn here. |
3612 | * common.opt (Wmissing-noreturn): Alias of | |
3613 | -Wsuggest-attribute=noreturn. | |
fdc46702 | 3614 | |
87ef8b95 | 3615 | 2012-04-29 Hans-Peter Nilsson <hp@axis.com> |
3616 | ||
3617 | PR target/53156 | |
3618 | * config/cris/cris.md (andqu): New peephole2. | |
3619 | (andu): Tweak head comment. | |
3620 | ||
0f9b384d | 3621 | 2012-04-28 Joern Rennecke <joern.rennecke@embecosm.com> |
3622 | Steven Bosscher <steven@gcc.gnu.org> | |
3623 | Maxim Kuvyrkov <maxim@codesourcery.com> | |
3624 | ||
3625 | PR tree-optimization/38785 | |
3626 | * common.opt (ftree-partial-pre): New option. | |
3627 | * doc/invoke.texi: Document it. | |
3628 | * opts.c (default_options_table): Initialize flag_tree_partial_pre. | |
3629 | * tree-ssa-pre.c (do_partial_partial_insertion): Insert only if it will | |
3630 | benefit speed path. | |
3631 | (execute_pre): Use flag_tree_partial_pre. | |
3632 | ||
7c5d3a90 | 3633 | 2012-04-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3634 | ||
3635 | PR target/52999 | |
3636 | * config/pa/pa.c (pa_legitimate_constant_p): Don't put function labels | |
3637 | in constant pool. | |
3638 | ||
034788fc | 3639 | 2012-04-27 Ollie Wild <aaw@google.com> |
76d340ac | 3640 | |
3641 | * doc/invoke.texi (Wliteral-suffix): Document new option. | |
3642 | ||
c9f46599 | 3643 | 2012-04-27 Tom Tromey <tromey@redhat.com> |
3644 | ||
3645 | * dwarf2out.c (dwarf_stack_op_name): Use get_DW_OP_name. | |
3646 | (dwarf_tag_name): Use get_DW_TAG_name. | |
3647 | (dwarf_attr_name): Use get_DW_AT_name. | |
3648 | (dwarf_form_name): Use get_DW_FORM_name. | |
3649 | * dwarf2cfi.c (dwarf_cfi_name): Use get_DW_CFA_name. | |
3650 | ||
678919fd | 3651 | 2012-04-27 Paolo Bonzini <bonzini@gnu.org> |
3652 | ||
9676484f | 3653 | * tree-ssa-phiopt.c (conditional_replacement): Replace PHIs whose |
3654 | arguments are -1 and 0, by negating the result of the conditional. | |
678919fd | 3655 | |
8be7badc | 3656 | 2012-04-27 Paolo Bonzini <bonzini@gnu.org> |
3657 | ||
3658 | PR target/53138 | |
3659 | * config/i386/i386.md (x86_mov<mode>cc_0_m1_neg): Add clobber. | |
3660 | ||
8763c223 | 3661 | 2012-04-27 Richard Guenther <rguenther@suse.de> |
3662 | ||
3663 | * tree-flow.h (is_hidden_global_store): Remove. | |
3664 | * tree-ssa-sink.c (is_hidden_global_store): Likewise. | |
3665 | * tree-ssa-alias.h (ref_may_alias_global_p): Declare. | |
3666 | (stmt_may_clobber_global_p): Likewise. | |
3667 | * tree-ssa-alias.c (ref_may_alias_global_p): New function. | |
3668 | (stmt_may_clobber_global_p): Likewise. | |
3669 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Call | |
3670 | stmt_may_clobber_global_p. | |
3671 | * tree-ssa-dse.c (dse_possible_dead_store_p): Likewise. | |
3672 | ||
11f2f313 | 3673 | 2012-04-27 Steven Bosscher <steven@gcc.gnu.org> |
3674 | ||
845b40c8 | 3675 | * cfg.c (disconnect_src): Do df_mark_solutions_dirty in the right |
3676 | place. | |
3677 | ||
11f2f313 | 3678 | * tree-switch-conversion.c (struct switch_conv_info): Add range_max, |
3679 | reorganize some fields and update comments. Rename bit_test_uniq | |
3680 | and bit_test_count to uniq resp. count. Remove bit_test_bb. | |
3681 | (collect_switch_conv_info): New function, collects info about a | |
3682 | GIMPLE_SWITCH into a struct switch_conv_info. | |
3683 | (check_range): Simplify to use pre-recorded info. Fix think-o in | |
3684 | range-branch ratio check. | |
3685 | (check_process_case): Remove function. | |
3686 | (check_all_empty_except_final): New function, verifies that all | |
3687 | non-final basic blocks are empty. | |
3688 | (process_switch): Simplify to use pre-recorded info. Call | |
3689 | collect_switch_conv_info to do that. Assert that degenerate switch | |
3690 | statements have been cleaned up. | |
3691 | ||
487282d5 | 3692 | 2012-04-27 Marc Glisse <marc.glisse@inria.fr> |
3693 | ||
3694 | PR middle-end/27139 | |
3695 | * tree-ssa-forwprop.c (combine_conversions): Handle INT->FP->INT. | |
3696 | ||
b0ec32b9 | 3697 | 2012-04-25 Manuel López-Ibáñez <manu@gcc.gnu.org> |
3698 | ||
3699 | PR c/53130 | |
3700 | * c-typeck.c (pop_init_level): Use %qD instead of %qT. | |
3701 | ||
b736e424 | 3702 | 2012-04-27 Tom de Vries <tom@codesourcery.com> |
3703 | ||
3704 | PR tree-optimization/51879 | |
3705 | * tree-ssa-sccvn.h (struct vn_reference_s): Add result_vdef field. | |
3706 | * tree-ssa-sccvn.c (mark_use_processed): New function, factored out | |
3707 | of ... | |
3708 | (defs_to_varying): ... here. Don't set use_processed. | |
3709 | (visit_reference_op_call): Handle gimple_vdef. | |
3710 | Handle case that lhs is NULL_TREE. | |
3711 | (visit_use): Use mark_use_processed. Handle calls with side-effect | |
3712 | using visit_reference_op_call. | |
3713 | ||
fdb1b2b1 | 3714 | 2012-04-26 Richard Sandiford <richard.sandiford@linaro.org> |
3715 | ||
3716 | * sched-deps.c (fixup_sched_groups): Rename to... | |
3717 | (chain_to_prev_insn): ...this. | |
3718 | (chain_to_prev_insn_p): New function. | |
3719 | (deps_analyze_insn): Use it instead of SCHED_GROUP_P. | |
3720 | ||
b30b031c | 3721 | 2012-04-26 Richard Sandiford <richard.sandiford@linaro.org> |
3722 | ||
3723 | * sched-int.h (_haifa_insn_data): Move priority_status. | |
3724 | Add model_index. | |
3725 | (INSN_MODEL_INDEX): New macro. | |
3726 | * haifa-sched.c (insn_delay): New function. | |
3727 | (sched_regno_pressure_class): Update commentary. | |
3728 | (mark_regno_birth_or_death): Pass the liveness bitmap and | |
3729 | pressure array as arguments, instead of using curr_reg_live and | |
3730 | curr_reg_pressure. Only update the pressure if the bit in the | |
3731 | liveness set has changed. | |
3732 | (initiate_reg_pressure_info): Always trust the live-in set for | |
3733 | SCHED_PRESSURE_MODEL. | |
3734 | (initiate_bb_reg_pressure_info): Update call to | |
3735 | mark_regno_birth_or_death. | |
3736 | (dep_list_size): Take the list as argument. | |
3737 | (calculate_reg_deaths): New function, extracted from... | |
3738 | (setup_insn_reg_pressure_info): ...here. | |
3739 | (MODEL_BAR): New macro. | |
3740 | (model_pressure_data, model_insn_info, model_pressure_limit) | |
3741 | (model_pressure_group): New structures. | |
3742 | (model_schedule, model_worklist, model_insns, model_num_insns) | |
3743 | (model_curr_point, model_before_pressure, model_next_priority): | |
3744 | New variables. | |
3745 | (MODEL_PRESSURE_DATA, MODEL_MAX_PRESSURE, MODEL_REF_PRESSURE) | |
3746 | (MODEL_INSN_INFO, MODEL_INSN): New macros. | |
3747 | (model_index, model_update_limit_points_in_group): New functions. | |
3748 | (model_update_limit_points, model_last_use_except): Likewise. | |
3749 | (model_start_update_pressure, model_update_pressure): Likewise. | |
3750 | (model_recompute, model_spill_cost, model_excess_group_cost): Likewise. | |
3751 | (model_excess_cost, model_dump_pressure_points): Likewise. | |
3752 | (model_set_excess_costs): Likewise. | |
3753 | (rank_for_schedule): Extend SCHED_PRIORITY_WEIGHTED ordering to | |
3754 | SCHED_PRIORITY_MODEL. Use insn_delay. Use the order in the model | |
3755 | schedule as an alternative tie-breaker. Update the call to | |
3756 | dep_list_size. | |
3757 | (ready_sort): Call model_set_excess_costs. | |
3758 | (update_register_pressure): Update call to mark_regno_birth_or_death. | |
3759 | Rely on that function to check liveness rather than doing it here. | |
3760 | (model_classify_pressure, model_order_p, model_add_to_worklist_at) | |
3761 | (model_remove_from_worklist, model_add_to_worklist, model_promote_insn) | |
3762 | (model_add_to_schedule, model_analyze_insns, model_init_pressure_group) | |
3763 | (model_record_pressure, model_record_pressures): New functions. | |
3764 | (model_record_final_pressures, model_add_successors_to_worklist) | |
3765 | (model_promote_predecessors, model_choose_insn): Likewise. | |
3766 | (model_reset_queue_indices, model_dump_pressure_summary): Likewise. | |
3767 | (model_start_schedule, model_finalize_pressure_group): Likewise. | |
3768 | (model_end_schedule): Likewise. | |
3769 | (schedule_insn): Say when we're scheduling the next instruction | |
3770 | in the model schedule. | |
3771 | (schedule_insn): Handle SCHED_PRESSURE_MODEL. | |
3772 | (queue_to_ready): Do not add instructions that are | |
3773 | MAX_SCHED_READY_INSNS beyond the current point of the model schedule. | |
3774 | Always allow the next instruction in the model schedule to be added. | |
3775 | (debug_ready_list): Print the INSN_REG_PRESSURE_EXCESS_COST_CHANGE | |
3776 | and delay for SCHED_PRESSURE_MODEL too. | |
3777 | (prune_ready_list): Extend SCHED_PRIORITY_WEIGHTED handling to | |
3778 | SCHED_PRIORITY_MODEL, but also take the DFA into account. | |
3779 | (schedule_block): Call model_start_schedule and model_end_schedule. | |
3780 | Extend SCHED_PRIORITY_WEIGHTED stall handling to SCHED_PRIORITY_MODEL. | |
3781 | (sched_init): Extend INSN_REG_PRESSURE_EXCESS_COST_CHANGE handling | |
3782 | to SCHED_PRESSURE_MODEL, but don't allocate saved_reg_live or | |
3783 | region_ref_regs. | |
3784 | (sched_finish): Update accordingly. | |
3785 | (fix_tick_ready): Extend INSN_REG_PRESSURE_EXCESS_COST_CHANGE handling | |
3786 | to SCHED_PRESSURE_MODEL. | |
3787 | (add_jump_dependencies): Update call to dep_list_size. | |
3788 | (haifa_finish_h_i_d): Fix leak of max_reg_pressure. | |
3789 | (haifa_init_insn): Extend INSN_REG_PRESSURE_EXCESS_COST_CHANGE handling | |
3790 | to SCHED_PRESSURE_MODEL. | |
3791 | * sched-deps.c (init_insn_reg_pressure_info): Likewise, but don't | |
3792 | allocate INSN_MAX_REG_PRESSURE for SCHED_PRESSURE_MODEL. | |
3793 | (sched_analyze_insn): Extend INSN_REG_PRESSURE_EXCESS_COST_CHANGE | |
3794 | handling to SCHED_PRESSURE_MODEL. | |
3795 | ||
11189c7a | 3796 | 2012-04-26 Richard Sandiford <richard.sandiford@linaro.org> |
3797 | ||
3798 | * common.opt (fsched-pressure-algorithm=): New option. | |
3799 | * flag-types.h (sched_pressure_algorithm): New enum. | |
3800 | * sched-int.h (sched_pressure_p): Replace with... | |
3801 | (sched_pressure): ...this new variable. | |
3802 | * haifa-sched.c (sched_pressure_p): Replace with... | |
3803 | (sched_pressure): ...this new variable. | |
3804 | (sched_regno_pressure_class, rank_for_schedule, ready_sort) | |
3805 | (update_reg_and_insn_max_reg_pressure, schedule_insn) | |
3806 | (debug_ready_list, prune_ready_list, schedule_block, sched_init) | |
3807 | (sched_finish, fix_tick_ready, haifa_init_insn): Update accordingly. | |
3808 | * sched-deps.c (init_insn_reg_pressure_info): Likewise. | |
3809 | (sched_analyze_insn): Likewise. | |
3810 | * sched-rgn.c (schedule_region): Likewise. | |
3811 | * config/m68k/m68k.c (m68k_sched_variable_issue): Likewise. | |
3812 | ||
be851ef2 | 3813 | 2012-04-26 Bernd Schmidt <bernds@codesourcery.com> |
3814 | ||
3815 | * PR middle-end/52997 | |
3816 | * ira.c (find_moveable_pseudos): Call resize_reg_info. | |
3817 | ||
c8076084 | 3818 | PR middle-end/52940 |
3819 | * machmode.h (CLASS_HAS_WIDER_MODES_P): True for MODE_PARTIAL_INT. | |
3820 | * expr.c (convert_move): Honor unsignedp when extending partial int | |
3821 | modes. | |
3822 | * genmodes.c (complete_mode): Don't clear component field of partial | |
3823 | int modes. | |
3824 | (emit_mode_inner): Don't emit it however. | |
3825 | (calc_wider_mode): Partial int modes widen to their component. | |
3826 | ||
cd7e5042 | 3827 | 2012-04-26 David S. Miller <davem@davemloft.net> |
3828 | ||
65e00a51 | 3829 | * config/sparc/niagara4.md: New file. |
3830 | * config/sparc/sparc.md: Include it. | |
3831 | * config/sparc/sparc.c (niagara4_costs): New processor costs. | |
3832 | (sparc_option_override): Use it. | |
3833 | (sparc_use_sched_lookahead): Return 2 for niagara4. | |
3834 | (sparc_issue_rate): Likewise. | |
3835 | ||
cd7e5042 | 3836 | * config/sparc/sparc.md (attr type): Delete 'fgm_cmp'. |
3837 | (fpack16_vis, fpackfix_vis, fpack32_vis): Set type to fgm_pack. | |
3838 | (fmul8x16_vis, fmul8x16au_vis, fmul8x16al_vis, fmul8sux16_vis, | |
9676484f | 3839 | fmul8ulx16_vis, fmuld8sux16_vis, fmuld8ulx16_vis): Set type to fgm_mul. |
cd7e5042 | 3840 | (alignaddrsi_vis, alignaddrdi_vis, alignaddrlsi_vis, |
3841 | alignaddrldi_vis): Set type to gsr. | |
3842 | (pdist_vis, pdistn<mode>_vis): Set type to fgm_pdsit. | |
3843 | (fcmp<code><GCM:gcm_name><P:mode>_vis, cmask8<P:mode>_vis, | |
3844 | cmask16<P:mode>_vis, cmask32<P:mode>_vis, fchksm16_vis, | |
3845 | v<vis3_shift_patname><mode>3, fmean16_vis, | |
3846 | fp<plusminus_insn>64_vis, <vis3_addsub_ss_patname><mode>3, | |
3847 | fucmp<code>8<P:mode>_vis): Set type to fga. | |
3848 | * config/sparc/ultra1_2.md: Remove refrences to fgm_cmp. | |
3849 | * config/sparc/niagara.md: Likewise. | |
3850 | * config/sparc/niagara2.md: Likewise. | |
3851 | * config/sparc/ultra3.md: Likewise, and fix type matching for | |
3852 | us3_ialuX reservation. | |
3853 | ||
c7ba7c12 | 3854 | 2012-04-26 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
3855 | ||
3856 | * reload.c (find_reloads): Change the loop nesting when trying an | |
3857 | alternative with swapped operands. | |
3858 | ||
3f898bd2 | 3859 | 2012-04-26 Manuel López-Ibáñez <manu@gcc.gnu.org> |
3860 | ||
3861 | * tree-diagnostic.c (maybe_unwind_expanded_macro_loc): Fix | |
3862 | comment. Delete unused parameter first_exp_point_map. | |
3863 | (virt_loc_aware_diagnostic_finalizer): Update call. | |
3864 | ||
9dd1a066 | 3865 | 2012-04-26 Michael Hope <michael.hope@linaro.org> |
3866 | Richard Earnshaw <rearnsha@arm.com> | |
3867 | ||
3868 | * config/arm/linux-eabi.h (GLIBC_DYNAMIC_LINKER_SOFT_FLOAT): Define. | |
3869 | (GLIBC_DYNAMIC_LINKER_HARD_FLOAT): Define. | |
3870 | (GLIBC_DYNAMIC_LINKER_DEFAULT): Define. | |
3871 | (GLIBC_DYNAMIC_LINKER): Redefine to use the hard float path. | |
3872 | ||
d79cfc15 | 3873 | 2012-04-25 Sriraman Tallam <tmsriram@google.com> |
3874 | ||
3875 | * doc/extend.texi: Document avx2 support. | |
3876 | * config/i386/i386.c (fold_builtin_cpu): Add avx2. | |
3877 | ||
74e06a83 | 3878 | 2012-04-26 Hans-Peter Nilsson <hp@axis.com> |
3879 | ||
3880 | PR target/53120 | |
3881 | * config/cris/cris.md ("*andhi_lowpart_v32") | |
3882 | ("*andqi_lowpart_v32"): Change first input-only operand from | |
3883 | a (match_operand ...) to (match_dup 0). Drop alternatives with | |
3884 | const_int-matching constraints for redundancy. | |
3885 | ("*andhi_lowpart_non_v32", "*andqi_lowpart_non_v32"): Ditto. Drop | |
3886 | three-operand alternative. | |
3887 | ||
b828abf1 | 3888 | 2012-04-25 Jakub Jelinek <jakub@redhat.com> |
3889 | ||
3890 | PR target/53110 | |
3891 | * config/i386/i386.md (and<mode>3): For andq $0xffffffff, reg | |
3892 | instead expand it as zero extension. | |
3893 | ||
89336bc3 | 3894 | 2012-04-25 H.J. Lu <hongjiu.lu@intel.com> |
3895 | ||
3896 | PR debug/52857 | |
9676484f | 3897 | * dwarf2out.c (dbx_reg_number): Assert return value != INVALID_REGNUM. |
89336bc3 | 3898 | |
052166fd | 3899 | 2012-04-25 Jakub Jelinek <jakub@redhat.com> |
3900 | ||
3901 | * common.opt (flag_debug_types_section): Default to 0. | |
3902 | (dwarf_version): Default to 4. | |
3903 | (dwarf_record_gcc_switches): Default to 1. | |
3904 | (dwarf_strict): Default to 0. | |
3905 | * toplev.c (process_options): Don't handle dwarf_strict | |
3906 | or dwarf_version here. | |
3907 | * config/vxworks.c (vxworks_override_options): Don't | |
3908 | test whether dwarf_strict or dwarf_version are negative, | |
3909 | instead test !global_options_set.x_dwarf_*. | |
3910 | * config/darwin.c (darwin_override_options): Default to | |
3911 | dwarf_version 2. | |
3912 | * doc/invoke.texi: Note that -gdwarf-4, -grecord-gcc-switches | |
3913 | and -fno-debug-types-section are now the default. | |
3914 | ||
da5e1e7c | 3915 | 2012-04-25 Jan Hubicka <jh@suse.cz> |
3916 | ||
3917 | * cgraphunit.c: Update toplevel comment. | |
3918 | (tree_rest_of_compilation): Merge into cgraph_expand_function. | |
3919 | (cgraph_analyze_function): Make static. | |
3920 | (cgraph_decide_is_function_needed): Make static. | |
3921 | (cgraph_add_new_function): Use expand_function instead of | |
3922 | rest_of_compilation. | |
3923 | (clone_of_p, verify_edge_count_and_frequency, cgraph_debug_gimple_stmt, | |
3924 | verify_edge_corresponds_to_fndecl, verify_cgraph_node, verify_cgraph): | |
3925 | Move to cgraph.c | |
3926 | (cgraph_inline_p): Remove. | |
3927 | (cgraph_preserve_function_body_p): Move to ipa-inline-transform. | |
3928 | (init_cgraph): Add comment. | |
3929 | * cgraphbuild.c (record_reference, mark_address, mark_load, | |
3930 | mark_store): Do not call analyze_expr hook. | |
3931 | * cgraph.c: Update toplevel comment. | |
3932 | (clone_of_p, verify_edge_count_and_frequency, cgraph_debug_gimple_stmt, | |
3933 | verify_edge_corresponds_to_fndecl, verify_cgraph_node, verify_cgraph): | |
3934 | Move fere from cgraphunit.c | |
3935 | (cgraph_mark_force_output_node): Move to cgraph.h | |
3936 | * cgraph.h: Reorder so the comments match the function placement. | |
3937 | (cgraph_analyze_function, cgraph_decide_is_function_needed): Remove. | |
3938 | (cgraph_mark_force_output_node): Move here from cgraph.c | |
3939 | * tree.c (free_lang_data): Do not clear analyze_expr hook. | |
3940 | * ipa-inline-transform.c (preserve_function_body_p): New function. | |
3941 | (inline_transform): Update. | |
3942 | * langhooks.c (lhd_callgraph_analyze_expr): Remove. | |
3943 | * langhooks.h (lang_hooks_for_callgraph): Remove. | |
3944 | (lang_hooks): Remove callgraph. | |
3945 | * tree-inline.c (expand_call_inline): Do not use cgraph_inline_p. | |
3946 | * varpool.c: Remove out of date comment. | |
3947 | * langhooks-def.h (lhd_callgraph_analyze_expr): Remove. | |
3948 | (LANG_HOOKS_CALLGRAPH_ANALYZE_EXPR): Remove. | |
3949 | ||
9a2639fc | 3950 | 2012-04-25 Jan Hubicka <jh@suse.cz> |
3951 | ||
9676484f | 3952 | PR middle-end/53089 |
3953 | * cgraphunit.c (referred_to_p): Move ahead in file to avoid | |
3954 | forward declaration. | |
9a2639fc | 3955 | (cgraph_finalize_function): Finalize them here. |
3956 | * symtab.c (dump_symtab): Dump ctors and dtors. | |
3957 | ||
27d5d67b | 3958 | 2012-04-25 Jakub Jelinek <jakub@redhat.com> |
3959 | ||
7e9ba3f3 | 3960 | PR middle-end/52979 |
3961 | * stor-layout.c (get_best_mode): Don't return mode with bitsize | |
3962 | larger than maxbits. Don't compute maxbits modulo align. | |
3963 | Also check that unit bytes long store at bitpos / unit * unit | |
3964 | doesn't affect bits beyond bitregion_end. | |
3965 | * expmed.c (store_bit_field_1): Avoid trying insv if OP_MODE MEM | |
9676484f | 3966 | would not fit into bitregion_start ... bitregion_end + 1 bit region. |
7e9ba3f3 | 3967 | (store_split_bit_field): Decrease unit close to end of bitregion_end |
3968 | if access is restricted in order to avoid mutual recursion. | |
3969 | ||
27d5d67b | 3970 | PR tree-optimization/53058 |
3971 | * double-int.h (double_int_max_value, double_int_min_value): New | |
3972 | prototypes. | |
3973 | * double-int.c (double_int_max_value, double_int_min_value): New | |
3974 | functions. | |
9676484f | 3975 | * tree-vrp.c (register_edge_assert_for_2): Compare mask for LE_EXPR |
3976 | or GT_EXPR with double_int_max_value instead of double_int_mask. | |
27d5d67b | 3977 | |
2afdcbed | 3978 | 2012-04-25 Richard Guenther <rguenther@suse.de> |
3979 | ||
3980 | * tree-vectorizer.h (vect_loop_versioning): Adjust prototype. | |
3981 | * tree-vect-loop.c (vect_transform_loop): Adjust. | |
3982 | * tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound): Record | |
3983 | the maximum number of iterations for the epilogue loop. | |
9676484f | 3984 | (vect_loop_versioning): Remove case re-using the peeled epilogue loop. |
2afdcbed | 3985 | |
537cbcc2 | 3986 | 2012-04-25 Jakub Jelinek <jakub@redhat.com> |
3987 | ||
3988 | PR c/52880 | |
3989 | * c-typeck.c (set_nonincremental_init, | |
3990 | set_nonincremental_init_from_string): Pass true instead of false | |
3991 | as IMPLICIT to add_pending_init. | |
3992 | ||
292bb106 | 3993 | 2012-04-25 Manuel López-Ibáñez <manu@gcc.gnu.org> |
3994 | ||
3995 | * c-typeck.c (pop_init_level): Improve diagnostics. | |
3996 | ||
56cc4397 | 3997 | 2012-04-25 Uros Bizjak <ubizjak@gmail.com> |
3998 | ||
3999 | * compare-elim.c (try_eliminate_compare): Also handle operands with | |
4000 | implicit extensions. | |
4001 | ||
cef20746 | 4002 | 2012-04-25 Alan Modra <amodra@gmail.com> |
4003 | ||
4004 | * config/rs6000/rs6000 (SAVE_INLINE_VRS, REST_INLINE_VRS, | |
4005 | V_SAVE_INLINE, SAVRES_LR, SAVRES_SAVE, SAVRES_REG, | |
4006 | SAVRES_GPR, SAVRES_FPR, SAVRES_VR): Define. | |
4007 | (no_global_regs_above): Delete. | |
4008 | (no_global_regs): New function. | |
4009 | (rs6000_savres_strategy): Handle vector regs. Use proper lr_save_p | |
4010 | value for load multiple test. | |
4011 | (savres_routine_syms): Increase size. | |
4012 | (rs6000_savres_routine_name, rs6000_savres_routine_sym, | |
4013 | ptr_regno_for_savres, rs6000_emit_savres_rtx): Pass in int selector | |
4014 | rather than a number of boolean flags. Update all callers. | |
4015 | (rs6000_savres_routine_name): Generate vector save/restore names. | |
4016 | (rs6000_savres_routine_sym): Handle vector regs. Delete forward decl. | |
4017 | (ptr_regno_for_savres, rs6000_emit_savres_rtx): Likewise. | |
4018 | (rs6000_emit_prologue): Delete saving_FPRs_inline, saving_GPRs_inline | |
4019 | and using_store_multiple. Expand uses. Don't always use r11 as | |
4020 | frame reg when needed for out-of-line saves. Set up initial offset | |
4021 | for out-of-line vector saves when buying stack frame. Handle pointer | |
4022 | reg setup for out-of-line fp save. Emit call to out-of-line vector | |
4023 | save function. Choose r11 or r12 for vrsave reg when available for | |
4024 | better scheduling. | |
4025 | (rs6000_output_function_prologue): Don't emit .extern for ELF. | |
4026 | (rs6000_emit_epilogue): Choose a better frame reg when restoring | |
4027 | from back-chain to suit out-of-line vector restore functions. Emit | |
4028 | call to out-of-line vector restore function. Adjust register used | |
4029 | for cr restore. Tweak pointer register setup for gpr restore. | |
4030 | * config/rs6000/rs6000.h (FIRST_SAVED_GP_REGNO): Take into account | |
4031 | FIXED_R13. | |
4032 | * config/rs6000/sysv4.h (FP_SAVE_INLINE, GP_SAVE_INLINE): Simplify. | |
4033 | (V_SAVE_INLINE): Define. | |
4034 | * config/rs6000/altivec.md (save_vregs_*, restore_vregs_*): New insns. | |
4035 | ||
6b5a351f | 4036 | 2012-04-25 Alan Modra <amodra@gmail.com> |
4037 | ||
4038 | * config/rs6000/rs6000.c (rs6000_savres_strategy): Allow | |
4039 | out-of-line save/restore for large frames. Don't disable | |
4040 | out-of-line saves on ABI_AIX when using static chain reg. | |
4041 | (rs6000_emit_prologue): Adjust cr_save_regno on ABI_AIX to not | |
4042 | clobber static chain reg, and tweak for out-of-line gpr saves | |
4043 | that use r1. | |
4044 | ||
e2750fe5 | 4045 | 2012-04-25 Alan Modra <amodra@gmail.com> |
4046 | ||
4047 | * config/rs6000/rs6000.c (START_USE, END_USE, NOT_INUSE): Define. | |
4048 | (rs6000_emit_prologue): Use the above to catch register overlap. | |
4049 | ||
be846acb | 4050 | 2012-04-25 Alan Modra <amodra@gmail.com> |
4051 | ||
4052 | * config/rs6000/rs6000.c (rs6000_emit_stack_reset): Delete forward | |
4053 | decl. Move logic selecting update reg to callers. Update all callers. | |
4054 | (rs6000_emit_allocate_stack): Add copy_off param. | |
4055 | (emit_frame_save): Don't handle reg+reg addressing. | |
4056 | (ptr_regno_for_savres): New function, extracted from.. | |
4057 | (rs6000_emit_savres_rtx): ..here. Add lr_offset param. | |
4058 | (rs6000_emit_prologue): Generate frame_ptr_rtx as we need it. | |
4059 | Set frame_reg_rtx to r11 whenever r11 is needed, and merge | |
4060 | frame offset adjustment for out-of-line save with copy from sp. | |
4061 | Simplify condition controlling whether cr is saved early or | |
4062 | late. Use ptr_regno_for_savres to verify correct reg is set | |
4063 | up for out-of-line saves. Pass the actual pointer reg used to | |
4064 | rs6000_emit_savres_rtx so rtl matches insns in out-of-line | |
4065 | function. Rearrange spe vars so code is similar to that | |
4066 | elsewhere in this function. Don't update frame_off when spe | |
4067 | save code will restore r11. Use emit_frame_save for spe and | |
4068 | gpr saves. Consolidate darwin out-of-line gpr setup with that | |
4069 | for other abis. Don't assume frame_offset is zero and frame | |
4070 | reg is sp when setting up altivec reg saves, and calculate | |
4071 | exact offset requirement. | |
4072 | (rs6000_emit_epilogue): Use HOST_WIDE_INT for frame_off. Tidy | |
4073 | spe restore code. Consolidate darwin out-of-line gpr setup | |
4074 | with that for other abis. | |
4075 | ||
9319fb2c | 4076 | 2012-04-25 Alan Modra <amodra@gmail.com> |
4077 | ||
4078 | * config/rs6000/rs6000.c (rs6000_frame_related): Don't emit a | |
4079 | REG_FRAME_RELATED_EXPR note when the instruction exactly matches | |
4080 | the replacement. | |
4081 | (emit_frame_save): Delete frame_ptr param. Rename total_size to | |
4082 | frame_reg_to_sp. | |
4083 | (rs6000_emit_prologue): Add sp_off. Update rs6000_frame_related | |
4084 | and emit_frame_save calls. Cope with possibly missing note. | |
4085 | ||
f0fd108f | 4086 | 2012-04-24 Sriraman Tallam <tmsriram@google.com> |
4087 | ||
4088 | * config/i386/i386.c (build_processor_model_struct): New function. | |
4089 | (make_var_decl): New function. | |
4090 | (fold_builtin_cpu): New function. | |
4091 | (ix86_fold_builtin): New function. | |
4092 | (make_cpu_type_builtin): New function. | |
4093 | (ix86_init_platform_type_builtins): New function. | |
4094 | (ix86_expand_builtin): Expand new builtins by folding them. | |
4095 | (ix86_init_builtins): Make new builtins to detect CPU type. | |
4096 | (TARGET_FOLD_BUILTIN): New macro. | |
4097 | (IX86_BUILTIN_CPU_INIT): New enum value. | |
4098 | (IX86_BUILTIN_CPU_IS): New enum value. | |
4099 | (IX86_BUILTIN_CPU_SUPPORTS): New enum value. | |
4100 | * config/i386/i386-builtin-types.def: New function type. | |
4101 | * testsuite/gcc.target/builtin_target.c: New testcase. | |
4102 | * doc/extend.texi: Document builtins. | |
4103 | ||
11652e71 | 4104 | 2012-04-24 Olivier Hainque <hainque@adacore.com> |
4105 | ||
4106 | * common.opt (gdwarf-): Initialize dwarf_version to -1 instead of 2. | |
4107 | * toplev.c (process_options): Default to dwarf_version 2. | |
4108 | * config/vxworks.c (vxworks_override_options): Default to strict-dwarf | |
4109 | and dwarf_version 2. | |
4110 | ||
c224fa34 | 4111 | 2012-04-24 Manuel López-Ibáñez <manu@gcc.gnu.org> |
4112 | ||
4113 | * tree-pretty-print.h (default_tree_printer): Do not declare. | |
4114 | * tree-diagnostic.c: Include tree-pretty-print.h, tree-pass.h and | |
4115 | intl.h. | |
4116 | (default_tree_diagnostic_starter): Make static. | |
4117 | (default_tree_printer): Move to here. Make static. | |
4118 | (tree_diagnostics_defaults): New. | |
4119 | * tree-diagnostic.h (default_tree_diagnostic_starter): Do not declare. | |
4120 | * tree.c (free_lang_data): Use tree_diagnostics_defaults. | |
4121 | * toplev.c: Do not include tree-pass.h. | |
4122 | (default_tree_printer): Move from here. | |
4123 | (general_init): Use tree_diagnostics_defaults. | |
4124 | ||
f5dfbb10 | 4125 | 2012-04-24 Chao-ying Fu <fu@mips.com> |
4126 | ||
4127 | * config.gcc (mips64*-*-linux*): Append mips/linux-common.h to tm_file. | |
4128 | (mips*-*-linux*): Append mips/linux-common.h to tm_file. | |
4129 | * config/mips/gnu-user.h | |
4130 | (SUBTARGET_CC1_SPEC): Use GNU_USER_TARGET_CC1_SPEC directly. | |
4131 | (GNU_USER_TARGET_LINK_SPEC): New define. | |
4132 | (LINK_SPEC): Use GNU_USER_TARGET_LINK_SPEC. | |
4133 | (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC directly. | |
4134 | (GNU_USER_TARGET_MATHFILE_SPEC): New define. | |
4135 | (ENDFILE_SPEC): Use GNU_USER_TARGET_MATHFILE_SPEC and | |
4136 | GNU_USER_TARGET_ENDFILE_SPEC. | |
4137 | * config/mips/gnu-user64.h (LIB_SPEC): Remove. | |
4138 | (GNU_USER_TARGET_LINK_SPEC): New define. | |
4139 | (LINK_SPEC): Use GNU_USER_TARGET_LINK_SPEC. | |
4140 | * config/mips/linux-common.h: New file. | |
4141 | ||
745d490f | 4142 | 2012-04-24 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
4143 | ||
4144 | PR target/47197 | |
4145 | * config/rs6000/rs6000-c.c (fully_fold_convert): New function. | |
4146 | (altivec_build_resolved_builtin): Call fully_fold_convert. | |
4147 | ||
8bcbced7 | 4148 | 2012-04-24 Georg-Johann Lay <avr@gjlay.de> |
4149 | ||
4150 | PR target/53065 | |
4151 | * config/avr/avr.h (HARD_REGNO_CALL_PART_CLOBBERED): New hook define. | |
4152 | ||
a34205cc | 4153 | 2012-04-24 Richard Guenther <rguenther@suse.de> |
4154 | ||
4155 | PR tree-optimization/53085 | |
4156 | * tree-ssa-pre.c (eliminate): Do not eliminate volatile redundant | |
4157 | stores. | |
4158 | ||
630fd6e1 | 4159 | 2012-04-24 Richard Guenther <rguenther@suse.de> |
4160 | ||
4161 | * tree-if-conv.c (main_tree_if_conversion): Move bb under | |
4162 | ENABLE_CHECKING. | |
4163 | ||
4164 | 2012-04-24 Jim Meyering <meyering@redhat.com> | |
891852a2 | 4165 | |
4166 | * genattrtab.c (gen_attr): Avoid NULL-deref after diagnosing | |
4167 | absence of an define_enum call. | |
4168 | ||
15fa0281 | 4169 | 2012-04-24 Richard Guenther <rguenther@suse.de> |
4170 | ||
4171 | * tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound): If | |
4172 | the epilogue loop is not re-used as unvectorized version | |
4173 | record the its maximum number of iterations. | |
4174 | ||
0a3f7203 | 4175 | 2012-04-24 Andrew Pinski <apinski@cavium.com> |
4176 | ||
4177 | * tree-ssa-forwprop.c (simplify_bitwise_binary): | |
4178 | Don't directly use def1/def2. | |
4179 | ||
9a5ede52 | 4180 | 2012-04-24 Richard Guenther <rguenther@suse.de> |
4181 | ||
4182 | PR tree-optimization/53098 | |
4183 | * tree-vect-loop.c (vect_analyze_loop_operations): Fixup | |
4184 | comparison sign. | |
4185 | ||
10fbe63d | 4186 | 2012-04-24 Andrew Pinski <apinski@cavium.com> |
4187 | ||
4188 | PR tree-opt/33512 | |
4189 | * tree-ssa-forwprop.c (defcodefor_name): New function. | |
4190 | (simplify_bitwise_binary): Use defcodefor_name instead of manually | |
4191 | Simplify "( X | Y) & X" to X and "( X & Y) | X" to X. | |
4192 | Simplify "(~X | Y) & X" to "X & Y" and | |
4193 | "(~X & Y) | X" to "X | Y". | |
4194 | ||
dae9d0e7 | 4195 | 2012-04-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
4196 | ||
4197 | * recog.c (insn_invalid_p): Add IN_GROUP parameter and use | |
4198 | validate_change to add clobbers if IN_GROUP is nonzero. | |
4199 | (verify_changes): Call insn_invalid_p with IN_GROUP set to true. | |
4200 | * recog.h (insn_invalid_p): Add IN_GROUP parameter to function | |
4201 | prototype. | |
4202 | * gcse.c (process_insert_insn): Call insn_invalid_p with IN_GROUP | |
4203 | set to false. | |
4204 | * config/s390/s390.c (insn_invalid_p): Likewise. | |
4205 | ||
41d658f4 | 4206 | 2012-04-24 Jakub Jelinek <jakub@redhat.com> |
4207 | ||
36a2ea56 | 4208 | PR middle-end/53084 |
56cc4397 | 4209 | * varasm.c (compute_reloc_for_constant): Handle ADDR_EXPR of MEM_REF. |
36a2ea56 | 4210 | (output_addressed_constants): Likewise. |
4211 | ||
41d658f4 | 4212 | PR middle-end/52999 |
4213 | * varasm.c (get_section): Don't ICE for section conflicts with | |
4214 | built-in section kinds. | |
4215 | ||
a9805878 | 4216 | 2012-04-23 DJ Delorie <dj@redhat.com> |
4217 | ||
4218 | * config/s390/s390.h (LINK_SPEC): Remove, no longer needed. | |
4219 | (LIBSTDCXX): Change to CPP2. | |
4220 | ||
5fcf082c | 4221 | 2012-04-23 H.J. Lu <hongjiu.lu@intel.com> |
4222 | ||
4223 | PR bootstrap/52878 | |
4224 | * opth-gen.awk: Check if MASK_ and TARGET_ macros are defined for | |
4225 | extra_masks. | |
4226 | ||
a110769b | 4227 | 2012-04-23 Uros Bizjak <ubizjak@gmail.com> |
4228 | ||
4229 | * config/i386/i386.md (*add<mode>_2): Add r/r/0 alternative. | |
4230 | (*addsi_2_zext): Ditto. | |
4231 | (*add<mode>_3): Ditto. | |
4232 | (*addsi_3_zext): Ditto. | |
4233 | (*add<mode>_5): Ditto. | |
4234 | ||
35967c0f | 4235 | 2012-04-23 Andrew Pinski <apinski@cavium.com> |
4236 | ||
4237 | * tree-ssa-forwprop.c (simplify_bitwise_binary): Simplify (A & B) OP0 | |
4238 | (C & B) to (A OP0) & B. | |
4239 | ||
a1a9ca4f | 4240 | 2012-04-23 Martin Jambor <mjambor@suse.cz> |
4241 | ||
4242 | * expr.c (expand_expr_real_1): Remove setting parent's alias set for | |
4243 | temporaries created for a bitfield (reverting revision 122014). | |
4244 | ||
87ae3989 | 4245 | 2012-04-23 Richard Guenther <rguenther@suse.de> |
4246 | ||
4247 | * tree-vect-loop-manip.c (slpeel_add_loop_guard): Gimplify | |
4248 | the condition using is_gimple_condexpr and avoid the not necessary | |
4249 | boolification. | |
4250 | (set_prologue_iterations): Likewise. | |
4251 | (vect_loop_versioning): Likewise. | |
4252 | ||
53a87a4b | 4253 | 2012-04-23 Richard Guenther <rguenther@suse.de> |
4254 | ||
4255 | PR tree-optimization/53070 | |
4256 | * tree-if-conv.c (combine_blocks): Free predicates in all blocks. | |
4257 | (main_tree_if_conversion): Verify we succeeded in that. | |
4258 | ||
da751785 | 4259 | 2012-04-23 Jan Hubicka <jh@suse.cz> |
4260 | ||
4261 | * lto-symtab.c (lto_cgraph_replace_node): Do not call | |
4262 | mark_reahcable_node. | |
4263 | * cgraph.c (cgraph_remove_node): Do not clear reachable. | |
4264 | (cgraph_mark_reachable_node): Remove. | |
4265 | (cgraph_mark_force_output_node): Do not set reachable. | |
4266 | (dump_cgraph_node): Do not dump reachable. | |
4267 | (cgraph_create_virtual_clone): Do not set reachable. | |
4268 | * cgraph.h (cgraph_node): Remove reachable flag. | |
4269 | (varpool_node): Remove reachable flag. | |
4270 | (cgraph_mark_if_needed): Remove. | |
4271 | (cgraph_mark_reachable_node): Remove. | |
a110769b | 4272 | * tree-emutls.c (ipa_lower_emutls): Do not check reachable. |
da751785 | 4273 | * cgraphunit.c (cgraph_finalize_function): Do not mark node as |
4274 | reachable. | |
4275 | (cgraph_add_new_function): Likewise. | |
4276 | (cgraph_mark_if_needed): Remove. | |
4277 | (cgraph_analyze_function): Do not set target as reachable. | |
a110769b | 4278 | (process_function_and_variable_attributes): Do not care about |
4279 | dllexport. | |
da751785 | 4280 | (cgraph_analyze_functions): Do not set reachable flags. |
4281 | (cgraph_mark_functions_to_output): Do not check reachability. | |
4282 | (cgraph_copy_node_for_versioning): Do not set reachable flag. | |
4283 | (dbxout_expand_expr): Update. | |
4284 | * c-decl.c (merge_decls): Do not track changed externs. | |
4285 | * ipa.c: Include pointer-set.h | |
4286 | (enqueue_cgraph_node): Use reachable pointer set. | |
4287 | (process_references): Likewise. | |
4288 | (cgraph_remove_unreachable_nodes): Likewise. | |
a110769b | 4289 | (whole_program_function_and_variable_visibility): Do not recompute |
4290 | reachable. | |
da751785 | 4291 | * trans-mem.c (ipa_tm_execute): Do not check reachable flag. |
4292 | ||
6222cbcc | 4293 | 2012-04-23 Georg-Johann Lay <avr@gjlay.de> |
4294 | ||
4295 | * doc/extend.texi (AVR Named Address Spaces): Fix typos. | |
4296 | ||
104619f5 | 4297 | 2012-04-23 Richard Guenther <rguenther@suse.de> |
4298 | ||
4299 | PR c/53060 | |
4300 | * c-typeck.c (build_binary_op): Fix typo. | |
4301 | ||
78fb8a4f | 4302 | 2012-04-23 Jakub Jelinek <jakub@redhat.com> |
4303 | ||
4304 | PR tree-optimizations/52891 | |
4305 | * tree-vect-patterns.c (adjust_bool_pattern): Use | |
4306 | build_nonstandard_type even if rhs1 has unsigned INTEGER_TYPE, | |
4307 | but with non-standard precision. | |
4308 | ||
12faa8e4 | 4309 | 2012-04-22 Jan Hubicka <jh@suse.cz> |
4310 | ||
104619f5 | 4311 | * tree-ssa-loop-ivopts.c (expr_invariant_in_loop_p): Bail out at NULL |
4312 | tree refs. | |
12faa8e4 | 4313 | |
ff2a5ada | 4314 | 2012-04-22 Jan Hubicka <jh@suse.cz> |
4315 | ||
4316 | * lto-symtab.c (lto_varpool_replace_node): Do not merge needed flags. | |
4317 | * cgraphbuild.c (record_reference, record_type_list, mark_address, | |
4318 | mark_load, mark_store): Do not mark varpool nodes as needed. | |
4319 | * cgraph.c (cgraph_new_nodes): Remove. | |
4320 | (cgraph_create_function_alias): Do not mark nodes as reachable. | |
4321 | (cgraph_add_thunk): Likewise. | |
4322 | (cgraph_mark_reachable_node): Do not manage the queue. | |
4323 | * cgraph.h (cgraph_node): Remove next_needed. | |
4324 | (varpool_nodes_queue): Remove next_needed and prev_needed. | |
4325 | (x_cgraph_nodes_queue, x_cgraph_nodes_queue, cgraph_new_nodes): Remove. | |
4326 | (cgraph_new_nodes): Declare. | |
4327 | (x_varpool_nodes_queue, varpool_nodes_queue); Remove. | |
4328 | (varpool_analyze_pending_decls): Remove. | |
4329 | (varpool_analyze_node): New. | |
4330 | (varpool_mark_needed_node): Remove. | |
4331 | (varpool_first_variable, varpool_next_variable): New inlines. | |
a110769b | 4332 | (varpool_first_static_initializer, varpool_next_static_initializer): |
4333 | Update. | |
ff2a5ada | 4334 | (FOR_EACH_STATIC_VARIABLE): Remove unused walker. |
4335 | (varpool_first_defined_variable): New inline. | |
4336 | (varpool_next_defined_variable): New inline | |
4337 | (FOR_EACH_VARIABLE): Reimplement. | |
4338 | (FOR_EACH_DEFINED_VARIABLE): Reimplement. | |
4339 | * toplev.c (wrapup_global_declaration_2): Use analyzed instead of | |
4340 | needed flag. | |
4341 | * cgraphunit.c (cgraph_new_nodes): Declare here. | |
4342 | (enqueue_node): New function. | |
4343 | (cgraph_process_new_functions): update for new | |
4344 | node set; when constructing cgraph enqueue node for processing. | |
4345 | (cgraph_add_new_function): Use new node set. | |
4346 | (process_function_and_variable_attributes): Do not set varpool needed | |
4347 | flags. | |
4348 | (referred_to_p): New function. | |
4349 | (varpool_finalize_decl): Move here from varpool.c; enqueue needed node | |
4350 | when varpool is in construction. | |
4351 | (cgraph_analyze_functions): Rewrite. | |
4352 | (cgraph_expand_all_functions): Update. | |
a110769b | 4353 | (cgraph_output_in_order): Do not analyze pending decls; do not set |
4354 | needed flags. | |
ff2a5ada | 4355 | (cgraph_optimize): Do not analyze pending decls. |
a110769b | 4356 | * lto-cgraph.c (input_varpool_node): Clear analyzed flag for objects |
4357 | in other partition; do not mark node as needed. | |
ff2a5ada | 4358 | * dwarf2out.c (reference_to_unused): Use analyzed flag. |
4359 | (premark_types_used_by_global_vars_helper): Likewise. | |
4360 | * ipa.c (process_references): Do not call varpool_mark_needed_node. | |
4361 | (cgraph_remove_unreachable_nodes): Do not rely on varpool and | |
4362 | cgrpah queues. | |
4363 | (function_and_variable_visibility): Do not mark node as needed. | |
4364 | (whole_program_function_and_variable_visibility): Likewise. | |
4365 | * Makefile.in (gt-varpool.h): No longer needed. | |
4366 | * passes.c (execute_one_pass, execute_ipa_pass_list): Update. | |
4367 | (ipa_write_summaries): Do not use needed flag. | |
4368 | * varpool.c: Do not include gt-varpool.h | |
4369 | (x_varpool_nodes_queue, x_varpool_last_needed_node, | |
4370 | x_varpool_last_needed_node, x_varpool_first_unanalyzed_node, | |
4371 | x_varpool_first_unanalyzed_node, varpool_assembled_nodes_queue): | |
4372 | Remove. | |
4373 | (varpool_remove_node): Do not update the lists. | |
4374 | (dump_varpool_node): Do not dump needed flag. | |
4375 | (varpool_enqueue_needed_node): Remove. | |
4376 | (varpool_mark_needed_node): Remove. | |
4377 | (varpool_reset_queue): Remove. | |
4378 | (varpool_finalize_decl): Move to cgraphunit.c | |
4379 | (varpool_analyze_node): New functions based on former | |
4380 | varpool_analyze_pending_decls. | |
4381 | (varpool_analyze_pending_decls): Remove. | |
4382 | (varpool_assemble_decl): Do not update the lists. | |
4383 | (enqueue_node): New function. | |
4384 | (varpool_remove_unreferenced_decls): Rewrite. | |
4385 | (varpool_empty_needed_queue): Remove. | |
4386 | (add_new_static_var): Do not mark node as needed. | |
4387 | (varpool_create_variable_alias): Handle expansion state | |
4388 | creation. | |
4389 | * except.c (output_ttype): Do not mark node as needed. | |
4390 | * varasm.c (mark_decl_referenced): Do not use mark_needed_node. | |
4391 | * tree-profile.c (init_ic_make_global_vars, init_ic_make_global_vars): | |
4392 | Likewise. | |
4393 | * tree-switch-conversion.c (build_one_array): Likewise. | |
4394 | ||
29438999 | 4395 | 2012-04-22 Manuel López-Ibáñez <manu@gcc.gnu.org> |
4396 | ||
4397 | PR c/44774 | |
4398 | * doc/invoke.texi (pedantic): Rename to Wpedantic. | |
4399 | * common.opt (Wpedantic): New. | |
4400 | (pedantic): Alias Wpedantic. | |
4401 | * diagnostic.c (warning_at): Likewise. | |
4402 | * c-decl.c (diagnose_mismatched_decls): Likewise. | |
4403 | (build_array_declarator): Likewise. | |
4404 | (mark_forward_parm_decls): | |
4405 | (check_bitfield_type_and_width): Likewise. | |
4406 | (grokdeclarator): Likewise. | |
4407 | (grokfield): Likewise. | |
4408 | (finish_struct): Likewise. | |
4409 | (build_enumerator): Likewise. | |
4410 | (store_parm_decls_oldstyle): Likewise. | |
4411 | (declspecs_add_qual): Likewise. | |
4412 | (declspecs_add_type): Likewise. | |
4413 | (finish_declspecs): Likewise. | |
4414 | * c-typeck.c (composite_type): Likewise. | |
4415 | (comp_target_types): Likewise. | |
4416 | (build_array_ref): Likewise. | |
4417 | (pointer_diff): Likewise. | |
4418 | (build_unary_op): Likewise. | |
4419 | (build_conditional_expr): Likewise. | |
4420 | (build_c_cast): Likewise. | |
4421 | (convert_for_assignment): Likewise. | |
4422 | (maybe_warn_string_init): Likewise. | |
4423 | (digest_init): Likewise. | |
4424 | (pop_init_level): Likewise. | |
4425 | (set_init_index): Likewise. | |
4426 | (c_finish_goto_label): Likewise. | |
4427 | (c_finish_return): Likewise. | |
4428 | (do_case): Likewise. | |
4429 | (build_binary_op): Likewise. | |
4430 | * c-parser.c (static): Likewise. | |
4431 | (c_parser_external_declaration): Likewise. | |
4432 | (c_parser_declaration_or_fndef): Likewise. | |
4433 | (c_parser_static_assert_declaration_no_se): Likewise. | |
4434 | (c_parser_enum_specifier): Likewise. | |
4435 | (c_parser_struct_or_union_specifier): Likewise. | |
4436 | (c_parser_struct_declaration): Likewise. | |
4437 | (c_parser_alignas_specifier): Likewise. | |
4438 | (c_parser_braced_init): Likewise. | |
4439 | (c_parser_initelt): Likewise. | |
4440 | (c_parser_compound_statement_nostart): Likewise. | |
4441 | (c_parser_conditional_expression): Likewise. | |
4442 | (c_parser_alignof_expression): Likewise. | |
4443 | (c_parser_postfix_expression): Likewise. | |
4444 | (c_parser_postfix_expression_after_paren_): Likewise. | |
4445 | (c_parser_objc_class_instance_variables): Likewise. | |
4446 | (c_parser_objc_method_definition): Likewise. | |
4447 | (c_parser_objc_methodprotolist): Likewise. | |
4448 | ||
5150d596 | 4449 | 2012-04-22 Ian Lance Taylor <iant@google.com> |
4450 | ||
4451 | * godump.c (go_output_typedef): Dump size of structs. | |
4452 | ||
89675e8c | 4453 | 2012-04-22 Razya Ladelsky <razya@il.ibm.com> |
61cb2bc3 | 4454 | |
4455 | Correcting transform_to_exit_first_loop + fix to PR46886 | |
4456 | * tree-parloops.c (transform_to_exit_first_loop): Remove | |
4457 | setting of number of iterations according to the loop pattern. | |
4458 | Duplicate from entry to exit->src instead of loop->latch. | |
4459 | (pallelize_loops): Remove the condition preventing do-while loops. | |
4460 | * tree-cfg.c (bool bb_in_region_p): New. | |
4461 | (gimple_duplicate_sese_tail): Adjust duplication of the the subloops. | |
4462 | Adjust redirection of the duplicated iteration. | |
4463 | ||
86e87ef6 | 4464 | 2012-04-21 Richard Sandiford <rdsandiford@googlemail.com> |
4465 | ||
4466 | PR bootstrap/53021 | |
4467 | * rtl.def (ADDRESS): Use "i" rather than "w". | |
4468 | * rtl.h (find_base_term): Delete. | |
4469 | (may_be_sp_based_p): Declare. | |
4470 | * rtl.c (rtx_code_size): Remove ADDRESS special case. | |
4471 | * alias.h (UNIQUE_BASE_VALUE_SP, UNIQUE_BASE_VALUE_ARGP) | |
4472 | (UNIQUE_BASE_VALUE_FP, UNIQUE_BASE_VALUE_HFP): Move to... | |
4473 | * alias.c: ...here. | |
4474 | (find_base_term): Make static. | |
4475 | (may_be_sp_based_p): New function. | |
4476 | * dse.c (record_store): Use it. | |
4477 | * store-motion.c (store_killed_in_insn): Likewise. | |
4478 | ||
fd39b896 | 4479 | 2012-04-21 Richard Sandiford <rdsandiford@googlemail.com> |
4480 | ||
4481 | * fold-const.c (fold_checksum_tree): Fix VECTOR_CST case. | |
4482 | ||
28738b20 | 4483 | 2012-04-21 Manuel López-Ibáñez <manu@gcc.gnu.org> |
4484 | ||
4485 | PR 35441 | |
4486 | * c-typeck.c (inform_declaration): New. | |
4487 | (build_function_call_vec): Do not pretty-print | |
4488 | expressions when caret is enabled. | |
4489 | (convert_arguments): Use inform_declaration. | |
4490 | ||
cdf7d299 | 4491 | 2012-04-20 Jim Meyering <meyering@redhat.com> |
4492 | ||
4493 | * genmodes.c (make_complex_modes): Don't truncate a mode name of | |
4494 | length 7 or more when prepending a "C". Suggested by Richard Guenther. | |
4495 | ||
3293b457 | 4496 | 2012-04-20 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
4497 | ||
4498 | PR rtl-optimization/44214 | |
4499 | * fold-const.c (exact_inverse): New function. | |
4500 | (fold_binary_loc): Fold vector and complex division by constant into | |
4501 | multiply by recripocal with flag_reciprocal_math; fold vector division | |
4502 | by constant into multiply by reciprocal with exact inverse. | |
4503 | ||
8efa224a | 4504 | 2012-04-20 Jan Hubicka <jh@suse.cz> |
4505 | ||
61cb2bc3 | 4506 | * lto-symtab.c (lto_cgraph_replace_node): Merge needed instead of |
4507 | force flags. | |
8efa224a | 4508 | * cgraph.c (cgraph_add_thunk): Use mark_reachable_node. |
4509 | (cgraph_remove_node): Update. | |
4510 | (cgraph_mark_needed_node): Remove. | |
4511 | (cgraph_mark_force_output_node): New. | |
4512 | (dump_cgraph_node): Do not dump needed flag. | |
4513 | (cgraph_node_cannot_be_local_p_1): Update. | |
4514 | (cgraph_can_remove_if_no_direct_calls_and_refs): Update. | |
4515 | * cgraph.h (symtab_node_base): Add force_output flag. | |
4516 | (cgraph_node): Remove needed flag. | |
4517 | (varpool_node): Remove force_output flag. | |
4518 | (cgraph_mark_needed_node): Remove. | |
4519 | (cgraph_mark_force_output_node): New. | |
4520 | (cgraph_only_called_directly_or_aliased_p, | |
4521 | varpool_can_remove_if_no_refs, varpool_all_refs_explicit_p): Update. | |
4522 | * ipa-cp.c (ipcp_generate_summary): Remove out of date assert. | |
4523 | * cgraphunit.c (cgraph_decide_is_function_needed): rewrite. | |
61cb2bc3 | 4524 | (cgraph_add_new_function): Update. |
4525 | (cgraph_mark_if_needed): Update. | |
8efa224a | 4526 | (verify_cgraph_node): Update. |
4527 | (cgraph_analyze_function): Alias target is reachable. | |
4528 | (process_function_and_variable_attributes): Update: externally_visible | |
4529 | flag makes function reachable. | |
4530 | (cgraph_analyze_functions): Update dumping. | |
4531 | * lto-cgraph.c (lto_output_node, lto_output_varpool_node, | |
4532 | input_overwrite_node, input_varpool_node): Update streaming. | |
4533 | * lto-streamer-out.c (produce_symtab): Use force_output. | |
4534 | * ipa.c (process_references): Weakrefs must be processed. | |
4535 | (cgraph_remove_unreachable_nodes): Likewise; update for new | |
4536 | force_output flag. | |
61cb2bc3 | 4537 | (varpool_externally_visible_p): Weakrefs are externally visible |
8efa224a | 4538 | even if they are not. |
4539 | (function_and_variable_visibility): Update; when processing alias | |
4540 | pair force the targets to be output. | |
61cb2bc3 | 4541 | (whole_program_function_and_variable_visility): Use |
4542 | mark_reachable_node. | |
8efa224a | 4543 | * trans-mem.c (ipa_tm_mark_needed_node): Remove |
4544 | (ipa_tm_mark_force_output_node): New function. | |
4545 | (ipa_tm_create_version_alias, ipa_tm_create_version): Update. | |
61cb2bc3 | 4546 | * gimple-fold.c (can_refer_decl_in_current_unit_p): Be lax about |
4547 | aliases. | |
8efa224a | 4548 | * varasm.c (mark_decl_referenced): Update. |
4549 | (find_decl_and_mark_needed): Remove. | |
4550 | (find_decl): New function. | |
4551 | (weak_finish, finish_aliases_1, assemble_alias): Update; do not mark | |
4552 | alias targets as needed. | |
4553 | (dump_tm_clone_pairs): Update. | |
4554 | * tree-inline.c (copy_bb): Update check. | |
4555 | * symtab.c (dump_symtab_base): Dump force_output. | |
4556 | * tree-ssa-structalias.c (ipa_pta_execute): Use force_output. | |
4557 | * passes.c (execute_todo): Fix dumping. | |
4558 | * varpool.c (decide_is_variable_needed, varpool_finalize_decl): Update. | |
4559 | (varpool_analyze_pending_decls): Alias target is reachable. | |
4560 | (varpool_create_variable_alias): Finalize weakrefs. | |
4561 | ||
df3e5a67 | 4562 | 2012-04-20 Jakub Jelinek <jakub@redhat.com> |
4563 | ||
4564 | PR bootstrap/53021 | |
4565 | * alias.h (UNIQUE_BASE_VALUE_SP, UNIQUE_BASE_VALUE_ARGP, | |
4566 | UNIQUE_BASE_VALUE_FP, UNIQUE_BASE_VALUE_HFP): Define. | |
4567 | * alias.c (init_alias_targets): Use UNIQUE_BASE_VALUE_* | |
4568 | macros instead of constants. | |
4569 | * dse.c (record_store): Check for SP ADDRESS by comparing | |
4570 | XWINT to UNIQUE_BASE_VALUE_SP instead of expecting | |
4571 | XEXP to be stack_pointer_rtx. | |
4572 | ||
ebc3ea23 | 4573 | 2012-04-20 Richard Guenther <rguenther@suse.de> |
4574 | ||
4575 | * tree-ssa-copy.c (propagate_tree_value_into_stmt): Use | |
4576 | update_call_from_tree when propagating into a call. | |
4577 | ||
64581563 | 4578 | 2012-04-20 Alan Modra <amodra@gmail.com> |
4579 | ||
4580 | * config/rs6000/rs6000.c (rs6000_emit_savres_rtx): Formatting. | |
4581 | (rs6000_emit_prologue, rs6000_emit_epilogue): Likewise. Rename | |
4582 | sp_offset to frame_off. Move world save code earlier. | |
4583 | ||
11b881f5 | 4584 | 2012-04-20 Richard Guenther <rguenther@suse.de> |
4585 | ||
4586 | PR tree-optimization/53050 | |
4587 | * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): | |
4588 | Do only one transform on COND_EXPRs at the same time. | |
4589 | ||
cae322a0 | 4590 | 2012-04-19 Jan Hubicka <jh@suse.cz> |
4591 | ||
4592 | * symtab.c (dump_symtab_base): Revert accidental checkin. | |
4593 | ||
2e30c82f | 4594 | 2012-04-20 Alan Modra <amodra@gmail.com> |
4595 | ||
4596 | PR target/53040 | |
4597 | * config/rs6000/rs6000.c (rs6000_savres_strategy): When using | |
4598 | static chain, set REST_INLINE_FPRS too. | |
4599 | ||
7f85203b | 4600 | 2012-04-20 Thomas Schwinge <thomas@codesourcery.com> |
4601 | ||
4602 | * tree-dump.c (dequeue_and_dump) <BIT_FIELD_REF>: Dump the three child | |
4603 | nodes. | |
4604 | ||
5115d20b | 4605 | 2012-04-20 Richard Guenther <rguenther@suse.de> |
4606 | ||
61cb2bc3 | 4607 | * tree-vect-loop.c (vect_analyze_loop_operations): Do not vectorize |
4608 | loops that can never run more often than the vectorization factor. | |
5115d20b | 4609 | |
cfacc26f | 4610 | 2012-04-19 Jan Hubicka <jh@suse.cz> |
4611 | ||
4612 | * symtab.c (dump_symtab_base): Fix dumping of asm lists. | |
4613 | ||
34fac337 | 4614 | 2012-04-19 David Edelsohn <dje.gcc@gmail.com> |
4615 | ||
4616 | * config/rs6000/sync.md (fetchop_name): Change ior attribute to "or". | |
4617 | ||
2e045eaa | 4618 | 2012-04-19 Jim Meyering <meyering@redhat.com> |
4619 | ||
2e045eaa | 4620 | * genmodes.c (make_complex_modes): Avoid unnecessary use of strncpy. |
4621 | We verified above that the string(including trailing NUL) fits in buf, | |
4622 | so just use memcpy. | |
4623 | ||
5300ccdd | 4624 | 2012-04-19 Richard Guenther <rguenther@suse.de> |
4625 | ||
4626 | * symtab.c (dump_symtab_base): Use TREE_STRING_POINTER | |
4627 | for dumping DECL_SECTION_NAME. | |
4628 | ||
dbe954dc | 4629 | 2012-04-19 Michael Matz <matz@suse.de> |
4630 | ||
4631 | PR middle-end/52977 | |
4632 | * tree.h (VECTOR_CST_NELTS): Use part number of types again. | |
4633 | (struct tree_vector): Adjust GTY length. | |
4634 | * tree.c (make_vector_stat): Don't set VECTOR_CST_NELTS. | |
4635 | ||
4636 | * gengtype.c (struct walk_type_data): Add in_record_p and loopcounter | |
4637 | members. | |
4638 | (walk_type, <TYPE_POINTER, TYPE_ARRAY>): Handle case where our | |
4639 | caller emitted the length calulation already. | |
4640 | (walk_type, <TYPE_UNION, TYPE_STRUCT>): Emit length calculations | |
4641 | before handling any of the fields for structs. | |
4642 | ||
dbf94397 | 4643 | 2012-04-19 Richard Guenther <rguenther@suse.de> |
4644 | ||
4645 | PR tree-optimization/53031 | |
4646 | * tree-vrp.c (adjust_range_with_scev): Revert back to | |
4647 | using max_loop_iterations. | |
4648 | ||
e3d533cf | 4649 | 2012-04-19 Michael Matz <matz@suse.de> |
4650 | ||
4651 | * diagnostic.c (emit_diagnostic): Move va_end call after user | |
4652 | of the va_list. | |
4653 | (warning, warning_at, pedwarn, permerror): Ditto. | |
4654 | ||
8ee14c01 | 4655 | 2012-04-19 Richard Guenther <rguenther@suse.de> |
4656 | ||
4657 | * ira-int.h (ira_allocno_object_iter_cond): Avoid out-of-bound | |
4658 | array access. | |
4659 | ||
27b3429e | 4660 | 2012-04-19 Georg-Johann Lay <avr@gjlay.de> |
4661 | ||
4662 | PR target/53033 | |
4663 | * config/avr/avr.c (avr_out_load_psi): Fix assembler template for | |
4664 | the case *(X+const). | |
4665 | ||
31e4b46c | 4666 | 2012-04-19 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
4667 | ||
4668 | * config/arm/sync.md (sync_optab): Change ior attribute to "or". | |
4669 | ||
61cb2bc3 | 4670 | 2012-04-19 Manuel López-Ibáñez <manu@gcc.gnu.org> |
d85dbdb3 | 4671 | |
4672 | PR c/52283/37985 | |
4673 | * stmt.c (warn_if_unused_value): Skip NOP_EXPR. | |
4674 | * convert.c (convert_to_integer): Don't set TREE_NO_WARNING. | |
4675 | ||
8fb72e03 | 4676 | 2012-04-19 Richard Guenther <rguenther@suse.de> |
4677 | ||
4678 | PR rtl-optimization/44688 | |
4679 | * loop-iv.c (determine_max_iter): Only return max_iter. | |
4680 | (iv_number_of_iterations): Also use the recorded loop bound | |
4681 | on the maximum number of iterations. | |
4682 | * loop-unroll.c (decide_unroll_runtime_iterations): Use | |
4683 | max_iter to avoid unrolling loops that do not roll. | |
4684 | (decide_unroll_stupid): Likewise. | |
4685 | ||
bfb10994 | 4686 | 2012-04-18 Steven Bosscher <steven@gcc.gnu.org> |
4687 | ||
4688 | * targhooks.c (default_case_values_threshold): Fix code style nit. | |
4689 | ||
4690 | * stmt.c (add_case_node, expand_case): Move logic to remove/reduce | |
4691 | case range and type folding from here... | |
4692 | * gimplify.c (gimplify_switch_expr): ... to here. Expect NULL_TREE | |
c8302ead | 4693 | type, as documented in tree.def. |
bfb10994 | 4694 | |
3e7775f6 | 4695 | 2012-04-18 Jan Hubicka <jh@suse.cz> |
4696 | ||
4697 | * cgraph.h (verify_symtab, verify_symtab_node, verify_symtab_base): | |
4698 | Declare. | |
bef9aba3 | 4699 | * cgraphunit.c (verify_cgraph_node): Verify symtab base; do not verify |
3e7775f6 | 4700 | cgraph hash and same comdat groups. |
61cb2bc3 | 4701 | (cgraph_optimize): Verify symbol table. |
3e7775f6 | 4702 | * ipa.c (cgraph_remove_unreachable_nodes): Verify symbol table. |
4703 | (dissolve_same_comdat_group_list): Work on symtab nodes. | |
4704 | (function_and_variable_visibility): Dissolve variable same comdat group | |
4705 | lists, too. | |
4706 | * symtab.c: Include timevar.h | |
4707 | (verify_symtab_base, verify_symtab_node, verify_symtab): New functions. | |
4708 | ||
9541f573 | 4709 | 2012-04-18 Steven Bosscher <steven@gcc.gnu.org> |
4710 | ||
5d459527 | 4711 | * tree-switch-conversion.c (info): Remove global pass info. |
4712 | (check_range, check_process_case, check_final_bb, create_temp_arrays, | |
4713 | free_temp_arrays, gather_default_values, build_constructors, | |
4714 | array_value_type, build_one_array, build_arrays, gen_def_assigns, | |
4715 | fix_phi_nodes, gen_inbound_check): Pass info around from ... | |
4716 | (process_switch): ... here. Unify message format. Return a const | |
4717 | char pointer to the failure reason message. | |
4718 | (do_switchconv): Unify message format. Update process_switch usage. | |
4719 | ||
9541f573 | 4720 | * tree.def (CASE_LABEL_EXPR): Fix documentation, mention all operands. |
4721 | * tree-cfg.c (edge_to_cases): Fix documentation. | |
4722 | ||
ed13de71 | 4723 | 2012-04-18 Uros Bizjak <ubizjak@gmail.com> |
4724 | ||
4725 | * config/alpha/sync.md (fetchop_name): Change ior attribute to "or". | |
4726 | ||
a963cb46 | 4727 | 2012-04-18 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
4728 | ||
4729 | PR tree-optimization/52976 | |
4730 | * tree-ssa-reassoc.c (add_to_ops_vec_max_rank): Delete. | |
4731 | (possibly_move_powi): New function. | |
4732 | (rewrite_expr_tree): Call possibly_move_powi. | |
4733 | (rewrite_expr_tree_parallel): Likewise. | |
4734 | (attempt_builtin_powi): Change call of add_to_ops_vec_max_rank to | |
4735 | call add_to_ops_vec instead. | |
4736 | ||
56e650d6 | 4737 | 2012-04-18 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
4738 | ||
4739 | PR tree-optimization/52976 | |
4740 | * tree-ssa-reassoc.c (stmt_is_power_of_op): New function. | |
4741 | (decrement_power): Likewise. | |
4742 | (propagate_op_to_single_use): Likewise. | |
4743 | (zero_one_operation): Handle __builtin_pow* calls in linearized | |
4744 | expression trees; factor logic into propagate_op_to_single_use. | |
4745 | (undistribute_ops_list): Allow operands with repeat counts > 1. | |
4746 | ||
b6556916 | 4747 | 2012-04-18 Richard Guenther <rguenther@suse.de> |
4748 | ||
4749 | PR tree-optimization/44688 | |
4750 | * cfgloop.h (record_niter_bound): Declare. | |
4751 | * tree-ssa-loop-niter.c (record_niter_bound): Export. | |
4752 | Update the estimation with the upper bound here... | |
4753 | (estimate_numbers_of_iterations_loop): ... instead of here. | |
4754 | Do not forcefully reset a recorded upper bound. | |
4755 | * tree-vect-loop-manip.c (vect_do_peeling_for_alignment): | |
61cb2bc3 | 4756 | Record the maximum number of loop iterations of the prologue loop. |
b6556916 | 4757 | |
04ec15fa | 4758 | 2012-04-18 Jan Hubicka <jh@suse.cz> |
4759 | ||
4760 | * lto-symtab.c (lto_cgraph_replace_node): Update. | |
4761 | * cgraphbuild.c (record_reference, record_type_list, | |
4762 | record_eh_tables, mark_address, mark_load, mark_store): Update. | |
4763 | * cgraph.c (cgraph_same_body_alias, dump_cgraph_node, | |
4764 | cgraph_create_virtual_clone, cgraph_for_node_thunks_and_aliases): | |
4765 | Update. | |
4766 | * cgraph.h (symtab_node_def, symtab_node, const_symtab_node): Remove. | |
4767 | (cgraph_alias_aliased_node, varpool_alias_aliased_node): Update. | |
4768 | * reload.c: Fix typo in comment. | |
4769 | * rtlanal.c: Likewise. | |
4770 | * tree-emultls.c (gen_emutls_addr): Update. | |
4771 | * ipa-reference.c (analyze_function): Update. | |
4772 | * cgraphunit.c (cgraph_analyze_function, | |
4773 | cgraph_process_same_body_aliases, assemble_thunks_and_aliases): | |
4774 | Update. | |
4775 | * ipa-ref.c (ipa_record_reference): Reorg to avoid reference types. | |
4776 | (ipa_remove_reference): Likewise. | |
4777 | (ipa_remove_all_refering): Rename to ... | |
4778 | (ipa_remove_all_referring): ... this one; update. | |
4779 | (ipa_dump_references): Update. | |
4780 | (ipa_dump_referring): Update. | |
4781 | (ipa_clone_references): Update. | |
4782 | (ipa_clone_refering): Rename to ... | |
4783 | (ipa_clone_referring): ... this one; update. | |
4784 | (ipa_ref_cannot_lead_to_return): Update. | |
4785 | (ipa_ref_has_aliases_p): Update. | |
4786 | * ipa-ref.h (symtab_node_def, symtab_node, const_symtab_node): New | |
4787 | forward typedefs. | |
4788 | (ipa_ref_type): Remove. | |
4789 | (ipa_ref_ptr_u): Remove. | |
4790 | (ipa_ref): Remove referencing, refered, refered_index, refering_type | |
4791 | and refered_type; add referring, referred and referred_index. | |
4792 | (ipa_ref_list): Rename refering to referring. | |
4793 | (ipa_record_reference, ipa_remove_all_referring, ipa_dump_referring, | |
4794 | ipa_clone_references, ipa_clone_referring): Update prototypes. | |
4795 | * lto-cgraph.c (referenced_from_other_partition_p): Update. | |
4796 | (lto_output_ref): Update. | |
4797 | (add_references): Update. | |
4798 | (input_varpool_node): Update. | |
4799 | (input_refs): Update. | |
4800 | * ipa-ref-inline.h (ipa_ref_node): Update. | |
4801 | (ipa_ref_varpool_node): Update. | |
61cb2bc3 | 4802 | (ipa_ref_referring_node): Update. |
04ec15fa | 4803 | (ipa_ref_referring_varpool_node): Update. |
61cb2bc3 | 4804 | (ipa_ref_referring_ref_list): Update. |
04ec15fa | 4805 | (ipa_ref_referred_ref_list): Update. |
4806 | (ipa_ref_list_first_referring): Update. | |
4807 | (ipa_empty_ref_list): Update. | |
4808 | (ipa_ref_list_refering_iterate): Rename to ... | |
4809 | (ipa_ref_list_referring_iterate): ... this one. | |
4810 | * cse.c: Update comment. | |
4811 | * ipa-utils.c (ipa_reverse_postorder): Update. | |
4812 | * tree-ssa-alias.c: Update. | |
4813 | * ipa-inline.c (reset_edge_caches): Update. | |
4814 | (update_caller_keys): Update. | |
4815 | * ipa-inline.h: Update comments. | |
4816 | * jump.c: Update comment. | |
4817 | * alias.c: Likewise. | |
4818 | * ipa.c (process_references): Update. | |
4819 | (cgraph_remove_unreachable_nodes): Likewise. | |
4820 | (ipa_discover_readonly_nonaddressable_var): Likewise. | |
4821 | (cgraph_address_taken_from_non_vtable_p): Likewise. | |
4822 | * trans-mem.c (ipa_tm_execute): Update. | |
4823 | * simplify-rtx.c: Fix comment. | |
4824 | * rtl.c: Fix comment. | |
4825 | * symtab.c (symtab_unregister_node): Update. | |
4826 | * varpool.c (dump_varpool_node): Update. | |
4827 | (varpool_analyze_pending_decls): Update. | |
4828 | (assemble_aliases): Update. | |
4829 | (varpool_for_node_and_aliases): Update. | |
4830 | ||
7f521ab4 | 4831 | 2012-04-18 Richard Guenther <rguenther@suse.de> |
4832 | ||
4833 | * cfgloop.h (estimate_numbers_of_iterations_loop): Remove | |
4834 | use_undefined_p parameter. | |
4835 | * tree-flow.h (estimate_numbers_of_iterations): Likewise. | |
4836 | * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): | |
4837 | Likewise. | |
4838 | (estimate_numbers_of_iterations): Likewise. | |
4839 | (estimated_loop_iterations): Adjust. | |
4840 | (max_loop_iterations): Likewise. | |
4841 | (scev_probably_wraps_p): Likewise. | |
4842 | * tree-ssa-loop.c (tree_ssa_loop_bounds): Likewise. | |
4843 | * tree-vrp.c (adjust_range_with_scev): Use max_stmt_executions, | |
4844 | not max_loop_iterations. | |
4845 | (execute_vrp): Remove explicit number of iterations estimation. | |
4846 | ||
ba102931 | 4847 | 2012-04-18 Enkovich Ilya <ilya.enkovich@intel.com> |
4848 | ||
4849 | * config/i386/linux-common.h: New. | |
4850 | ||
4851 | * config.gcc: Add i386/linux-common.h before | |
4852 | all i386/linux.h and i386/linux64.h usages. | |
4853 | ||
4854 | * config/i386/gnu-user.h (GNU_USER_TARGET_LINK_SPEC): New. | |
4855 | (LINK_SPEC): Use GNU_USER_TARGET_LINK_SPEC. | |
4856 | * config/i386/gnu-user64.h: Likewise. | |
4857 | ||
4858 | * config/i386/gnu-user.common.h (GNU_USER_TARGET_CC1_SPEC): New. | |
4859 | (CC1_SPEC): Use GNU_USER_TARGET_CC1_SPEC. | |
4860 | (GNU_USER_TARGET_MATHFILE_SPEC): New. | |
4861 | (ENDFILE_SPEC): Use GNU_USER_TARGET_MATHFILE_SPEC. | |
4862 | ||
18841b0c | 4863 | 2012-04-18 Jan Hubicka <jh@suse.cz> |
4864 | ||
4865 | * cgraph.c (cgraph_node_name): Remove. | |
4866 | (dump_cgraph_node): Use dump_symtab_base; reformat. | |
4867 | * cgraph.h (symtab_node_asm_name, symtab_node_name, dump_symtab, | |
4868 | debug_symtab, dump_symtab_node, debug_symtab_node, dump_symtab_base): | |
4869 | Declare. | |
4870 | (cgraph_node_name, varpool_node_name): Remove. | |
4871 | (cgraph_node_asm_name, varpool_node_asm_name, | |
4872 | cgraph_node_name, varpool_node_name): New. | |
4873 | * tree-pass.h (TODO_dump_cgraph): Rename to ... | |
4874 | (TODO_dump_symtab): ... this one. | |
4875 | * ipa-cp (pass_ipa_cp): Update. | |
4876 | * ia-reference.c (generate_summary, read_write_all_from_decl, | |
4877 | propagate, ipa_reference_read_optimization_summary): Update. | |
4878 | * cgraphunit.c (cgraph_analyze_functions): Update. | |
4879 | (cgraph_optimize): Update. | |
4880 | * ipa-ref.c (ipa_dump_references): Update. | |
4881 | (ipa_dump_refering): Update. | |
4882 | * ipa-inline.c (pass_ipa_inline): Update. | |
4883 | * matrix-reorg.c (pass_ipa_matrix_reorg): Update. | |
4884 | * ipa.c (pass_ipa_function_visibility, | |
4885 | pass_ipa_whole_program_visibility): Update. | |
4886 | * tree-sra.c (pass_early_ipa_sra): Update. | |
4887 | * symtab.c: Include langhooks.h | |
4888 | (symtab_node_asm_name): New. | |
4889 | (symtab_node_name): New. | |
4890 | (symtab_type_names): New static var. | |
4891 | (dump_symtab_base): New. | |
4892 | (dump_symtab_node, dump_symtab): New. | |
4893 | (debug_symtab_node, debug_symtab): New. | |
4894 | * tree-ssa-structalias.c: Dump symbol table. | |
4895 | * pases.c (execute_todo): Handle TODO_dump_symtab instead | |
4896 | of TODO_dump_cgraph. | |
4897 | * varpoo.c (varpool_node_name): Remove. | |
4898 | (dump_varpool_node): Use dump_symtab_base; reformat. | |
4899 | ||
b583dffb | 4900 | 2012-04-18 Manuel López-Ibáñez <manu@gcc.gnu.org> |
4901 | ||
61cb2bc3 | 4902 | * doc/invoke.texi (Language Independent Options): @item should be |
b583dffb | 4903 | before @opindex. |
4904 | ||
9a37e9c6 | 4905 | 2012-04-17 Richard Sandiford <rdsandiford@googlemail.com> |
4906 | ||
4907 | PR bootstrap/53021 | |
4908 | * rtl.c (rtx_code_size): Handle ADDRESS. | |
4909 | ||
85d618f3 | 4910 | 2012-04-17 Tom de Vries <tom@codesourcery.com> |
4911 | ||
4912 | * tree-iterator.c (append_to_statement_list_1): Handle case that *list_p | |
4913 | is not a STMT_LIST. | |
4914 | ||
4e0c0c52 | 4915 | 2012-04-17 Uros Bizjak <ubizjak@gmail.com> |
4916 | ||
4917 | PR target/53020 | |
4918 | * config/i386/sync.md (atomic_<code><mode>): Rename to | |
4919 | atomic_<logic><mode>. | |
4920 | ||
4e56ceb1 | 4921 | 2012-04-17 Richard Sandiford <rdsandiford@googlemail.com> |
4922 | ||
4923 | * rtl.def (ADDRESS): Turn operand into a HOST_WIDE_INT. | |
4924 | * alias.c (reg_base_value): Expand and update comment. | |
4925 | (arg_base_value): New variable. | |
4926 | (unique_id): Move up file. | |
4927 | (unique_base_value, unique_base_value_p, known_base_value_p): New. | |
4928 | (find_base_value): Use arg_base_value and known_base_value_p. | |
4929 | (record_set): Document REG_NOALIAS handling. Use unique_base_value. | |
4930 | (find_base_term): Use known_base_value_p. | |
4931 | (base_alias_check): Use unique_base_value_p. | |
4932 | (init_alias_target): Initialize arg_base_value. Use unique_base_value. | |
4933 | (init_alias_analysis): Use 1 as the first id for REG_NOALIAS bases. | |
4934 | ||
b100cea5 | 4935 | 2012-04-17 Pat Haugen <pthaugen@us.ibm.com> |
4936 | ||
4937 | * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Remove DImode. | |
4938 | ||
7a10f06b | 4939 | 2012-04-17 Michael Matz <matz@suse.de> |
4940 | ||
4941 | PR tree-optimization/18437 | |
4942 | * tree-vectorizer.h (_stmt_vec_info.stride_load_p): New member. | |
4943 | (STMT_VINFO_STRIDE_LOAD_P): New accessor. | |
4944 | (vect_check_strided_load): Declare. | |
4945 | * tree-vect-data-refs.c (vect_check_strided_load): New function. | |
4946 | (vect_analyze_data_refs): Use it to accept strided loads. | |
4947 | * tree-vect-stmts.c (vectorizable_load): Ditto and handle them. | |
4948 | ||
3a37f7bd | 4949 | 2012-04-17 Richard Guenther <rguenther@suse.de> |
4950 | ||
4951 | PR middle-end/53011 | |
4952 | * tree-eh.c (cleanup_empty_eh_merge_phis): Properly discard | |
4953 | loops when redirecting an entry or latch edge. | |
4954 | ||
2bc1ac5a | 4955 | 2012-04-17 Bernd Schmidt <bernds@codesourcery.com> |
4956 | ||
4957 | * sel-sched.c (sel_global_init): Revert previous change. | |
4958 | ||
e01d3bb3 | 4959 | 2012-04-17 Richard Guenther <rguenther@suse.de> |
4960 | ||
4961 | * tree-flow.h (array_at_struct_end_p): Move declaration ... | |
4962 | * tree.h (array_at_struct_end_p): ... here. | |
4963 | * tree-ssa-loop-niter.c (array_at_struct_end_p): Move ... | |
4964 | * expr.c (array_at_struct_end_p): ... here. Rewrite. | |
4965 | ||
1c391fd0 | 4966 | 2012-04-17 Steven Bosscher <steven@gcc.gnu.org> |
4967 | ||
4968 | * stmt.c (cost_table_, use_cost_table, cost_table_initialize, | |
4969 | COST_TABLE): Remove. | |
4970 | (estimate_case_costs): Remove. | |
4971 | (expand_case): Do not call estimate_case_costs | |
4972 | to set use_cost_table. | |
4973 | (balance_case_nodes): Do not use use_cost_table. | |
4974 | ||
cfbe30aa | 4975 | 2012-04-16 Jan Hubicka <jh@suse.cz> |
4976 | ||
4977 | * cgraph.c (cgraph_hash, assembler_name_hash): Remove. | |
4978 | (hash_node, eq_node): Remove. | |
4979 | (cgraph_create_node): Do not handle hashtable. | |
4980 | (cgraph_get_node): Remove. | |
4981 | (cgraph_insert_node_to_hashtable): Remove. | |
4982 | (hash_node_by_assembler_name): Remove. | |
4983 | (eq_assembler_name): Remove. | |
4984 | (cgraph_node_for_asm): Rewrite. | |
4985 | (cgraph_find_replacement_node): Break out from ... | |
4986 | (cgraph_remove_node): ... here; do not maintain hashtables. | |
4987 | (change_decl_assembler_name): Remove. | |
4988 | (cgraph_clone_node): Do not maintain hashtables. | |
4989 | * cgraph.h (const_symtab_node): New typedef. | |
4990 | (cgraph_insert_node_to_hashtable): Remove. | |
4991 | (symtab_get_node, symtab_node_for_asm, | |
4992 | symtab_insert_node_to_hashtable): Declare. | |
4993 | (cgraph_find_replacement_node): Declare. | |
4994 | (cgraph_get_node, varpool_get_node): Turn into inlines. | |
4995 | (cgraph, varpool): Work sanely on NULL pointers. | |
4996 | (FOR_EACH_SYMBOL): New walker. | |
4997 | * ipa-inline-transform.c (save_inline_function_body): Use | |
4998 | symtab_insert_node_to_hashtable. | |
4999 | * symtab.c: Include ggc.h and diagnostics.h | |
5000 | (symtab_hash, assembler_name_hash): New static vars; | |
5001 | (hash_node, eq_node, hash_node_by_assembler_name, | |
5002 | eq_assembler_name, insert_to_assembler_name_hash, | |
5003 | unlink_from_assembler_name_hash): New. | |
5004 | (symtab_register_node): Update hashtables. | |
5005 | (symtab_insert_node_to_hashtable): New. | |
5006 | (symtab_unregister_node): Update hashtables. | |
5007 | (symtab_get_node): New. | |
5008 | (symtab_node_for_asm): New. | |
5009 | (change_decl_assembler_name): New. | |
5010 | * Makefile.in (symtab.o): Needs GTY. | |
5011 | * varpool.c (varpool_hash): Remove. | |
5012 | (hash_varpool_node, eq_varpool_node, varpool_get_node): Remove. | |
5013 | (varpool_node): Rewrite using varpool_get_node. | |
5014 | (varpool_remove_node): DO not maintain hashtables. | |
61cb2bc3 | 5015 | (varpool_node_for_asm): Rewrite. |
cfbe30aa | 5016 | |
cafd8c6c | 5017 | 2012-04-16 Sandra Loosemore <sandra@codesourcery.com> |
5018 | ||
5019 | * doc/invoke.texi: Copy-edit to put verbs in the present tense | |
5020 | when describing the current behavior of GCC. | |
5021 | ||
5d92623d | 5022 | 2012-04-16 Richard Sandiford <rdsandiford@googlemail.com> |
5023 | ||
5024 | * genemit.c (gen_exp): Remove ADDRESS handling. | |
5025 | * genoutput.c (scan_operands): Likewise. | |
5026 | * genpeep.c (match_rtx): Likewise. | |
5027 | * genrecog.c (add_to_sequence): Likewise. | |
5028 | ||
addbb217 | 5029 | 2012-04-16 David Edelsohn <dje.gcc@gmail.com> |
5030 | ||
61cb2bc3 | 5031 | * doc/install.texi (Specific, *-ibm-aix*): Update assembler bug status. |
addbb217 | 5032 | |
9e3797f2 | 5033 | 2012-04-16 Martin Jambor <mjambor@suse.cz> |
5034 | ||
5035 | * tree-sra.c (build_ref_for_model): Create COMPONENT_REFs only for | |
5036 | bit-fields. | |
5037 | ||
85cedc6b | 5038 | 2012-04-16 Ulrich Weigand <ulrich.weigand@linaro.org> |
5039 | ||
5040 | PR target/51819 | |
5041 | * config/arm/arm.c (arm_print_operand): Fix invalid alignment | |
5042 | hints for 'A' operand types. | |
5043 | ||
0704fb2e | 5044 | 2012-04-16 Jan Hubicka <jh@suse.cz> |
5045 | ||
5046 | * cgraph.h (symtab_node_base): Add next and previous pointers. | |
5047 | (cgraph_node): Remove next and preivous pointers. | |
5048 | (varpool_node): Likewise; remove next/previous GTY marker; | |
5049 | it is not type safe. | |
5050 | (symtab_node_def): Update GTY marker | |
5051 | (x_cgraph_nodes, cgraph_nodes): Remove. | |
5052 | (symtab_nodes): New function. | |
5053 | (cgraph_order): Rename to ... | |
5054 | (symtab_order): ... this one. | |
5055 | (symtab_register_node, symtab_unregister_node, symtab_remove_node): | |
5056 | Declare. | |
5057 | (x_varpool_nodes, varpool_nodes): Remove. | |
5058 | (FOR_EACH_STATIC_VARIABLE): Update. | |
5059 | (symtab_function_p, symtab_variable_p): New function. | |
5060 | (FOR_EACH_VARIABLE): Update. | |
5061 | (varpool_first_variable, varpool_next_variable): New functions. | |
5062 | (FOR_EACH_VARIABLE): Update. | |
5063 | (cgraph_first_defined_function): Update. | |
5064 | (cgraph_next_defined_function, cgraph_next_defined_function): Update. | |
5065 | (FOR_EACH_DEFINED_FUNCTION, FOR_EACH_FUNCTION): Update. | |
5066 | (cgraph_first_function, cgraph_next_function): New. | |
5067 | (FOR_EACH_FUNCTION): Update. | |
5068 | (cgraph_first_function_with_gimple_body, | |
5069 | cgraph_next_function_with_gimple_body): Update. | |
5070 | * symtab.c: New file. | |
5071 | * cgraph.c: Update copyright dates. | |
5072 | (x_cgraph_nodes, cgraph_order): Remove. | |
5073 | (NEXT_FREE_NODE): Update. | |
5074 | (SET_NEXT_FREE_NODE): New. | |
5075 | (cgraph_create_node_1): Remove common code. | |
61cb2bc3 | 5076 | (cgraph_create_node): Remove common code; call symtab_register_node. |
0704fb2e | 5077 | (cgraph_remove_node): Remove common code; call symtab_unregister-node. |
61cb2bc3 | 5078 | (cgraph_add_asm_node): Update. |
0704fb2e | 5079 | (cgraph_clone_node): Register new node. |
5080 | * cgraphunit.c (process_function_and_variable_attributes): Update. | |
5081 | (cgraph_analyze_functions): Update. | |
5082 | (cgraph_analyze_functions): Update. | |
5083 | (cgraph_output_in_order): Update. | |
61cb2bc3 | 5084 | * lto-cgraph.c (input_node, input_varpool_node, input_cgraph_1): |
5085 | Update. | |
5086 | * ipa-inline.c (recursive_inlining): Update. | |
5087 | * lto-streamer-in.c (lto_input_toplevel_asms): Update. | |
0704fb2e | 5088 | * ipa.c (cgraph_remove_unreachable_nodes): Update. |
5089 | * Makefile.in: Add symtab.o | |
5090 | * varpool.c (x_varpool_nodes): Remove | |
5091 | (varpool_node): Remove common code; call symtab_register_node. | |
61cb2bc3 | 5092 | (varpool_remove_node): Remove common code; call symtab_unregister_node. |
0704fb2e | 5093 | |
c7a1d251 | 5094 | 2012-04-16 Richard Guenther <rguenther@suse.de> |
5095 | ||
5096 | PR middle-end/52977 | |
5097 | * tree.h (VECTOR_CST_NELTS): Adjust. | |
5098 | (struct tree_vector): Add explicit length field. | |
5099 | (make_vector_stat): Declare. | |
5100 | (make_vector): Define. | |
5101 | * tree.c (make_vector_stat): New function. | |
5102 | (build_vector_stat): Use it. | |
5103 | * tree-streamer-in.c (streamer_alloc_tree): Likewise. | |
5104 | ||
d8a78f92 | 5105 | 2012-04-16 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5106 | ||
5107 | PR tree-optimization/52976 | |
5108 | * tree-ssa-reassoc.c (add_to_ops_vec_max_rank): New function. | |
5109 | (undistribute_ops_list): Ops with repeat counts aren't eligible for | |
5110 | undistribution. | |
5111 | (attempt_builtin_powi): Call add_to_ops_vec_max_rank. | |
5112 | ||
7c455d87 | 5113 | 2012-04-16 Jan Hubicka <jh@suse.cz> |
5114 | ||
5115 | * cgraph.h (FOR_EACH_VARIABLE, FOR_EACH_VARIABLE, FOR_EACH_FUNCTION): | |
5116 | New macros. | |
5117 | * lto-symtab.c (lto_symtab_merge_cgraph_nodes): Use FOR_EACH | |
5118 | walkers to walk cgraph and varpool. | |
5119 | * cgraph.c (cgraph_node_for_asm): Likewise. | |
5120 | (dump_cgraph): Likewise. | |
5121 | * value-prof.c (init_node_map): Likewise. | |
5122 | * tree.c (free_lang_data_in_cgraph): Likewise. | |
5123 | * tree-emutls.c: (ipa_lower_emutls): Likewise. | |
5124 | * ipa-reference.c (generate_summary, propagate): Likewise. | |
5125 | * cgraphunit.c (verify_cgraph, cgraph_process_same_body_aliases, | |
5126 | cgraph_mark_functions_to_output, cgraph_output_in_order, | |
5127 | output_weakrefs, cgraph_materialize_all_clones, | |
5128 | cgraph_optimize): Likewise. | |
5129 | * lto-cgraph.c (merge_profile_summaries): Likewise. | |
5130 | (input_cgraph): Likewise. | |
5131 | * ipa-pure-const.c (generate_summary): Likewise. | |
5132 | (propagate): Likwise. | |
5133 | * ipa-utils.c (ipa_reduced_postorder): Likewise. | |
5134 | (ipa_free_postorder_info): Likewise. | |
5135 | (ipa_reverse_postorder): Likewise. | |
5136 | * ipa-inline.c (ipa_inline): Likewise. | |
5137 | * matrix-reorg.c (find_matrices_decl): Likewise. | |
5138 | (matrix_reorg): Likewise. | |
5139 | * tree-vectorizer.c (increase_alignment): Likewise. | |
5140 | * ipa.c (cgraph_remove_unreachable_nodes): Likewise. | |
5141 | (function_and_variable_visibility): Likewise. | |
5142 | (whole_program_function_and_variable_visibility): Likewise. | |
5143 | (ipa_cdtor_merge): Likewise. | |
5144 | * trans-mem.c (ipa_tm_execute): Likewise. | |
5145 | * ipa-inline-analysis.c (dump_inline_summaries): Likewise. | |
5146 | * ipa-prop.c (ipa_print_all_jump_functions): Likewise. | |
5147 | (ipa_print_all_params): Likewise. | |
5148 | (ipa_update_after_lto_read): Likewise. | |
5149 | * tree-profie.c (tree_profiling): Likewise. | |
5150 | * tree-ssa-structalias.c (ipa_pta_execute): Likewise. | |
5151 | * passes.c (dump_passes): Likewise. | |
5152 | (do_per_function): Likewise. | |
5153 | (ipa_write_summaries): Likewise. | |
5154 | * varpool.c (dump_varpool): Likewise. | |
5155 | (varpool_node_for_asm): Likewise. | |
5156 | (varpool_assemble_pending_decls): Likewise. | |
5157 | ||
06734da8 | 5158 | 2012-04-16 Richard Guenther <rguenther@suse.de> |
5159 | ||
5160 | PR tree-optimization/52975 | |
5161 | * tree-if-conv.c (predicate_bbs): Do not simplify inverted | |
5162 | condition but always mark it with TRUTH_NOT_EXPR. | |
4e0c0c52 | 5163 | |
360b78f3 | 5164 | 2012-04-16 Richard Guenther <rguenther@suse.de> |
5165 | ||
5166 | PR tree-optimization/52975 | |
5167 | * tree-ssa-forwprop.c (combine_cond_exprs): New function. | |
5168 | (ssa_forward_propagate_and_combine): Call it for COND_EXPRs | |
5169 | and VEC_COND_EXPRs. Also combine into VEC_COND_EXPRs condition. | |
5170 | * fold-const.c (operand_equal_p): Handle TARGET_MEM_REF. | |
5171 | ||
fd65bafc | 5172 | 2012-04-14 Uros Bizjak <ubizjak@gmail.com> |
5173 | ||
5174 | * config/i386/sse.md (ssse3_plusminus): New code iterator. | |
5175 | (avx2_ph<plusminus_mnemonic>wv16hi3): Macroize insn from | |
5176 | avx2_ph{add,adds,sub,subs}wv16hi3 using ssse3_plusminus code iterator. | |
5177 | (ssse3_ph<plusminus_mnemonic>wv8hi3): Macroize insn from | |
5178 | ssse3_ph{add,adds,sub,subs}wv8hi3 using ssse3_plusminus code iterator. | |
5179 | (ssse3_ph<plusminus_mnemonic>wv4hi3): Macroize insn from | |
5180 | ssse3_ph{add,adds,sub,subs}wv4hi3 using ssse3_plusminus code iterator. | |
5181 | ||
5182 | (avx2_ph<plusminus_mnemonic>dv8si3): Macroize insn from | |
5183 | avx2_ph{add,adds,sub,subs}dv8si3 using plusminus code iterator. | |
5184 | (ssse3_ph<plusminus_mnemonic>dv4si3): Macroize insn from | |
5185 | ssse3_ph{add,adds,sub,subs}dv4si3 using plusminus code iterator. | |
5186 | (ssse3_ph<plusminus_mnemonic>dv2si3): Macroize insn from | |
5187 | ssse3_ph{add,adds,sub,subs}dv2si3 using plusminus code iterator. | |
5188 | ||
5189 | (xop_plus): New code iterator. | |
5190 | (macs): New code attribute. | |
5191 | (macds): Ditto. | |
5192 | (xop_p<macs><ssemodesuffix><ssemodesuffix>): Macroize insn from | |
5193 | xop_pmacs{,s}{ww,dd} using xop_plus code iterator and VI24_128 mode | |
5194 | iterator. | |
5195 | (xop_p<macs>dql): Macroize insn from xop_pmacs{,s}dql using | |
5196 | xop_plus code iterator. | |
5197 | (xop_p<macs>dqh): Macroize insn from xop_pmacs{,s}dqh using | |
5198 | xop_plus code iterator. | |
5199 | (xop_p<macs>wd): Macroize insn from xop_pmacs{,s}wd using | |
5200 | xop_plus code iterator. | |
5201 | (xop_p<madcs>wd): Macroize insn from xop_pmadcs{,s}wd using | |
5202 | xop_plus code iterator. | |
5203 | ||
5204 | (xop_phadd<u>bw): Macroize insn from xop_phadd{,u}bw usign | |
5205 | any_extend code iterator. | |
5206 | (xop_phadd<u>bd): Macroize insn from xop_phadd{,u}bd usign | |
5207 | any_extend code iterator. | |
5208 | (xop_phadd<u>bq): Macroize insn from xop_phadd{,u}bq usign | |
5209 | any_extend code iterator. | |
5210 | (xop_phadd<u>wd): Macroize insn from xop_phadd{,u}wd usign | |
5211 | any_extend code iterator. | |
5212 | (xop_phadd<u>wq): Macroize insn from xop_phadd{,u}wq usign | |
5213 | any_extend code iterator. | |
5214 | (xop_phadd<u>dq): Macroize insn from xop_phadd{,u}dq usign | |
5215 | any_extend code iterator. | |
5216 | ||
a2b85e40 | 5217 | 2012-04-14 Tom de Vries <tom@codesourcery.com> |
5218 | ||
5219 | * cfgcleanup.c (try_optimize_cfg): Replace call to delete_insn_chain by | |
5220 | call to delete_insn. Remove code to reorder BASIC_BLOCK note and | |
5221 | DELETED_LABEL note, and move it to ... | |
5222 | * cfgrtl.c (delete_insn): ... here. Change return type to void. | |
5223 | (delete_insn_and_edges): Likewise. | |
5224 | (delete_insn_chain): Handle new return type of delete_insn. Delete | |
5225 | chain backwards rather than forwards. | |
5226 | * rtl.h (delete_insn, delete_insn_and_edges): Change return type to | |
5227 | void. | |
5228 | * cfglayout.c (fixup_reorder_chain): Delete unused label. | |
5229 | ||
7d0d0ce1 | 5230 | 2012-04-14 Jan Hubicka <jh@suse.cz> |
5231 | ||
5232 | * cgraph.h: Update copyrights; | |
5233 | (symtab_node): Turn to union typedef. | |
5234 | (symtab_node_base): New structure. | |
5235 | (symtab_type): Add SYMTAB_SYMBOL tag. | |
5236 | (cgraph_node): Annotate some pinters with nested_ptr. | |
5237 | (varpool_node): Likewise. | |
5238 | (cgraph_local_info): Remove lto_file_data | |
5239 | and externally_visible. | |
5240 | (cgraph_node): Remove decl; same_comdat_group list; | |
5241 | aux; ref_list; order; address_taken; reachable_from_other_parittion, | |
5242 | in_other_partition; resolution. | |
5243 | (varpool_node): Remove decl; same_comdat_group; | |
5244 | ref_list; lto_file_data; aux; order; resolution; externally_visible; | |
5245 | used_from_other_partition; in_other_partition. | |
61cb2bc3 | 5246 | (symtab_node_def): New union. |
7d0d0ce1 | 5247 | (cgraph, varpool): Update. |
5248 | (varpool_first_static_initializer, varpool_next_static_initializer, | |
5249 | cgraph_only_called_directly_or_aliased_p, | |
5250 | varpool_can_remove_if_no_refs, varpool_can_remove_if_no_refs, | |
5251 | varpool_all_refs_explicit_p, cgraph_alias_aliased_node, | |
5252 | varpool_alias_aliased_node, cgraph_edge_recursive_p): Update | |
5253 | field references. | |
5254 | * cgraph.c: Likewise. | |
5255 | (cgraph_hash, assembler_name_hash): Turn into symtab_node. | |
5256 | * cgraphbuild.c: Likewise. | |
5257 | * lto-symtab.c: Likewise. | |
5258 | * c-gimplify.c: Likewise. | |
5259 | * value-prof.c: Likewise. | |
5260 | * tree.c: Likewise. | |
5261 | * ipa-cp.c: Likewise. | |
5262 | * tree-emutls.c: Likewise. | |
5263 | * ipa-inline-transform.c: Likwise. | |
5264 | * ipa-reference.c: Likewise. | |
5265 | * cgraphunit.c: Likewise. | |
5266 | * ipa-ref.c: Likewise. | |
5267 | * lto-cgraph.c: Likewise. | |
5268 | * ipa-ref-inline.h: Likewise. | |
5269 | * ipa-pure-const.c: Likewise. | |
5270 | * lto-streamer-out.c: Likewise. | |
5271 | * ipa-utils.c: Likewise. | |
5272 | * ipa-inline.c: Likewise. | |
5273 | * matrix-reorg.c: Likewise. | |
5274 | * tree-eh.c: Likewise. | |
5275 | * tree-vectorizer.c: Likewise. | |
5276 | * ipa-split.c: Likewise. | |
5277 | * ipa.c: Likewise. | |
5278 | * trans-mem.c: Likewise. | |
5279 | * ipa-inline-analysis.c: Likewise. | |
5280 | * gimplify.c: Likewise. | |
5281 | * cfgexpand.c: Likewise. | |
5282 | * tree-sra.c: Likewise. | |
5283 | * ipa-prop.c: Likewise. | |
5284 | * varasm.c: Likewise. | |
5285 | * tree-nested.c: Likewise. | |
5286 | * tree-inline.c: Likewise. | |
5287 | * tree-profile.c: Likewise. | |
5288 | * tree-ssa-structalias.c: Likewise. | |
5289 | * passes.c: Likewise. | |
5290 | * varpool.c: Likewise. | |
5291 | ||
162fb1a4 | 5292 | 2012-04-14 Tom de Vries <tom@codesourcery.com> |
5293 | ||
5294 | * tree-ssa-tail-merge.c (stmt_local_def): New function, factored out of | |
5295 | same_succ_hash, with local_def inlined. Use SINGLE_SSA_DEF_OPERAND. | |
5296 | Use FOR_EACH_IMM_USE_FAST instead of FOR_EACH_IMM_USE_STMT. Remove use | |
5297 | of find_edge. | |
5298 | (gsi_advance_fw_nondebug_nonlocal): New function. | |
5299 | (local_def): Removed function. | |
5300 | (same_succ_hash): Use stmt_local_def. | |
5301 | (same_succ_equal): Use gsi_advance_fw_nondebug_nonlocal. | |
5302 | (gsi_advance_bw_nondebug_nonlocal): Use stmt_local_def. | |
5303 | ||
fc3dad6f | 5304 | 2012-04-13 H.J. Lu <hongjiu.lu@intel.com> |
5305 | ||
5306 | * config/i386/i386-c.c (ix86_target_macros): Define _ILP32 | |
5307 | and __ILP32__ for x32. | |
5308 | ||
86d2a13e | 5309 | 2012-04-13 Martin Jambor <mjambor@suse.cz> |
5310 | ||
5311 | PR middle-end/52939 | |
5312 | * gimple-fold.c (gimple_get_virt_method_for_binfo): Bail out if | |
5313 | fold_ctor_reference returns a zero constant. | |
5314 | ||
83dd7eef | 5315 | 2012-04-13 Enkovich Ilya <ilya.enkovich@intel.com> |
5316 | ||
5317 | * config.gcc: Add i386/gnu-user-common.h before all | |
5318 | i386/gnu-user.h and i386/gnu-user64.h usages. | |
5319 | ||
5320 | * config/i386/gnu-user-common.h: New. | |
5321 | ||
5322 | * config/i386/gnu-user.h (CPP_SPEC): Moved to gnu-user-common.h. | |
5323 | (CC1_SPEC): Likewise. | |
5324 | (ENDFILE_SPEC): Likewise. | |
5325 | (DEFAULT_PCC_STRUCT_RETURN): Likewise. | |
5326 | (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): Likewise. | |
5327 | (TARGET_OS_CPP_BUILTINS): Likewise. | |
5328 | (LIBGCC2_HAS_TF_MODE): Likewise. | |
5329 | (LIBGCC2_TF_CEXT): Likewise. | |
5330 | (TF_SIZE): Likewise. | |
5331 | (TARGET_ASM_FILE_END): Likewise. | |
5332 | (STACK_CHECK_MOVING_SP): Likewise. | |
5333 | (STACK_CHECK_STATIC_BUILTIN): Likewise. | |
5334 | * config/i386/gnu-user64.h: Likewise. | |
5335 | ||
75d525a2 | 5336 | 2012-04-13 Martin Jambor <mjambor@suse.cz> |
5337 | ||
5338 | * expr.c (expand_expr_real_1): Pass type, not the expression, to | |
5339 | set_mem_attributes for a memory temporary. Do not call the function | |
5340 | for the memory temporary created for a bitfield. | |
5341 | ||
2abb79fc | 5342 | 2012-04-13 Alexandre Oliva <aoliva@redhat.com> |
5343 | ||
5344 | PR debug/48866 | |
5345 | * df.h (enum debug_temp_where): New. | |
5346 | (dead_debug_init, dead_debug_finish) Declare. | |
5347 | (dead_debug_add, dead_debug_insert_temp): Declare. | |
5348 | (struct dead_debug_use, struct dead_debug): Moved from... | |
5349 | * df-problems.c: ... here. | |
5350 | (df_set_unused_notes_for_mw): Bind debug uses of unused regno | |
5351 | to a debug temp. | |
5352 | (df_create_unused_note): Likewise. | |
5353 | (df_set_dead_notes_for_mw): Move comment where it belongs. | |
5354 | (dead_debug_init): Export. | |
5355 | (dead_debug_reset_uses): New, factored out of... | |
5356 | (dead_debug_finish): ...this. Export. | |
5357 | (dead_debug_reset): Remove. | |
5358 | (dead_debug_add): Export. | |
5359 | (dead_debug_insert_before): Rename to... | |
5360 | (dead_debug_insert_temp): ... this. Add where argument. Export. | |
5361 | Locate stored value for BEFORE_WITH_VALUE. Avoid repeat inserts. | |
5362 | Return insertion count. | |
5363 | (df_note_bb_compute): Adjust. | |
5364 | * dce.c (word_dce_process_block): Adjust dead debug uses. | |
5365 | (dce_process_block): Likewise. | |
5366 | ||
9f5c85ce | 5367 | 2012-04-13 Alexandre Oliva <aoliva@redhat.com> |
5368 | ||
5369 | * df-problems.c (df_note_bb_compute): Do not take note of | |
5370 | debug uses for whose REGs we won't emit DEAD or UNUSED notes. | |
5371 | ||
11643610 | 5372 | 2012-04-13 Alexandre Oliva <aoliva@redhat.com> |
5373 | ||
5374 | PR debug/51570 | |
5375 | * var-tracking.c (expand_depth): New type. | |
5376 | (onepart_aux, expand_loc_callback_data): Change depth type to it. | |
5377 | (loc_exp_dep_alloc): Adjust initializer. | |
5378 | (update_depth): Use new type. Add entryvals. | |
5379 | (vt_expand_var_loc_chain): Take note of expansions with | |
5380 | ENTRY_VALUEs, but don't accept them right away. Run an optional | |
5381 | second pass accepting the minimum ENTRY_VALUE count found in the | |
5382 | first pass. | |
5383 | (vt_expand_loc_callback, INIT_ELCD): Adjust. | |
5384 | ||
cdd84b7c | 5385 | 2012-04-13 Tom de Vries <tom@codesourcery.com> |
5386 | ||
5387 | * tree-ssa-tail-merge.c (gsi_advance_bw_nondebug_nonlocal): Add | |
5388 | parameters vuse and vuse_escaped. | |
5389 | (find_duplicate): Init vuse1, vuse2 and vuse_escaped. Pass to | |
5390 | gsi_advance_bw_nondebug_nonlocal. Return if vuse_escaped and | |
5391 | vuse1 != vuse2. | |
5392 | ||
2df61941 | 5393 | 2012-04-13 Richard Guenther <rguenther@suse.de> |
5394 | ||
5395 | PR tree-optimization/52969 | |
5396 | * tree-if-conv.c (predicate_mem_writes): Properly gimplify | |
5397 | the condition for the COND_EXPR and handle predicate negation | |
5398 | by swapping the COND_EXPR arms. | |
5399 | ||
4f08bfe3 | 5400 | 2012-04-13 Nick Clifton <nickc@redhat.com> |
5401 | ||
5402 | * config/rl78/rl78.c (rl78_devirt_pass): Remove use of | |
5403 | TODO_dump_func flag. | |
5404 | ||
30474b14 | 5405 | 2012-04-13 Andrey Belevantsev <abel@ispras.ru> |
5406 | ||
5407 | PR rtl-optimization/52203 | |
5408 | PR rtl-optimization/52715 | |
5409 | ||
5410 | Revert the 2012-03-07 fix for PR 52203. | |
5411 | * sel-sched.c (reset_sched_cycles_in_current_ebb): Check that | |
5412 | the insn does not modify DFA right before issuing, adjust | |
5413 | issue_rate accordingly. | |
5414 | ||
d1d7b24c | 5415 | 2012-04-13 Richard Guenther <rguenther@suse.de> |
5416 | ||
5417 | PR c/52549 | |
5418 | * c-typeck.c (pointer_diff): Remove bogus assert. | |
5419 | ||
799c82e4 | 5420 | 2012-04-13 Richard Guenther <rguenther@suse.de> |
5421 | ||
5422 | PR c/52862 | |
fd65bafc | 5423 | * convert.c (convert_to_pointer): Remove special-casing of zero. |
799c82e4 | 5424 | |
c5b75283 | 5425 | 2012-04-13 Joey Ye <joey.ye@arm.com> |
5426 | ||
5427 | * config/arm/constraints.md (Pe): New constraint. | |
5428 | * config/arm/arm.md: New split for imm 256-510. | |
5429 | ||
9fd13df4 | 5430 | 2012-04-13 Terry Guo <terry.guo@arm.com> |
5431 | ||
5432 | * config/arm/arm-cores.def: Added core cortex-m0plus. | |
5433 | * config/arm/arm-tune.md: Regenerated. | |
5434 | * config/arm/arm-tables.opt: Regenerated. | |
5435 | * doc/invoke.texi: Added entry for cpu ARM cortex-m0plus. | |
5436 | ||
d6415769 | 5437 | 2012-04-13 Alan Modra <amodra@gmail.com> |
5438 | ||
5439 | PR target/52828 | |
5440 | * config/rs6000/rs6000.c (rs6000_emit_stack_tie): Rewrite with | |
5441 | tie regs on destination of sets. Delete forward declaration. | |
5442 | (rs6000_emit_stack_reset): Update rs6000_emit_stack_tie calls. | |
5443 | (rs6000_emit_prologue): Likewise. | |
5444 | (rs6000_emit_epilogue): Likewise. Use in place of gen_frame_tie | |
5445 | and gen_stack_tie. | |
5446 | (is_mem_ref): Use tie_operand to recognise stack ties. | |
5447 | * config/rs6000/predicates.md (tie_operand): New. | |
5448 | * config/rs6000/rs6000.md (restore_stack_block): Generate new | |
5449 | stack tie rtl. | |
5450 | (restore_stack_nonlocal): Likewise. | |
5451 | (stack_tie): Update. | |
5452 | (frame_tie): Delete. | |
5453 | ||
8ef3b7cb | 5454 | 2012-04-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5455 | ||
5456 | * tree-ssa-reassoc.c (attempt_builtin_powi_stats): Change %ld to | |
5457 | HOST_WIDE_INT_PRINT_DEC in format strings. | |
5458 | ||
8da8a06b | 5459 | 2012-04-12 Uros Bizjak <ubizjak@gmail.com> |
5460 | ||
5461 | PR target/52932 | |
5462 | * config/i386/avx2intrin.h (_mm256_permutevar8x32_ps): Change second | |
5463 | argument type to __m256i. Update call to __builtin_ia32_permvarsf256. | |
5464 | * config/i386/sse.md (UNSPEC_VPERMVAR): New. | |
5465 | (UNSPEC_VPERMSI, UNSPEC_VPERMSF): Remove. | |
5466 | (avx2_permvarv8sf, avx2_permvarv8si): Switch operands 1 and 2. | |
5467 | (avx2_permvar<mode>): Macroize insn from avx2_permvarv8sf and | |
5468 | avx2_permvarv8si using VI4F_256 mode iterator. | |
5469 | * config/i386/i386.c (bdesc_args) <__builtin_ia32_permvarsf256>: | |
5470 | Update builtin type to V8SF_FTYPE_V8SF_V8SI. | |
5471 | (ix86_expand_vec_perm): Update calls to gen_avx2_permvarv8si and | |
5472 | gen_avx2_permvarv8sf. | |
5473 | (expand_vec_perm_pshufb): Ditto. | |
5474 | ||
203e95f6 | 5475 | 2012-04-12 Michael Meissner <meissner@linux.vnet.ibm.com> |
5476 | ||
5477 | PR target/52775 | |
5478 | * config/rs6000/rs6000.h (TARGET_FCFID): Add TARGET_PPC_GPOPT to | |
5479 | the list of options to enable the FCFID instruction. | |
5480 | (TARGET_EXTRA_BUILTINS): Adjust comment. | |
5481 | ||
8c5ac7f6 | 5482 | 2012-04-12 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5483 | ||
5484 | PR tree-optimization/18589 | |
5485 | * tree-ssa-reassoc.c (reassociate_stats): Add two fields. | |
5486 | (operand_entry): Add count field. | |
5487 | (add_repeat_to_ops_vec): New function. | |
5488 | (completely_remove_stmt): Likewise. | |
5489 | (remove_def_if_absorbed_call): Likewise. | |
5490 | (remove_visited_stmt_chain): Remove feeding builtin pow/powi calls. | |
5491 | (acceptable_pow_call): New function. | |
5492 | (linearize_expr_tree): Look for builtin pow/powi calls and add operand | |
5493 | entries with repeat counts when found. | |
5494 | (repeat_factor_d): New struct and associated typedefs. | |
5495 | (repeat_factor_vec): New static vector variable. | |
5496 | (compare_repeat_factors): New function. | |
5497 | (get_reassoc_pow_ssa_name): Likewise. | |
5498 | (attempt_builtin_powi): Likewise. | |
5499 | (reassociate_bb): Call attempt_builtin_powi. | |
5500 | (fini_reassoc): Two new calls to statistics_counter_event. | |
5501 | ||
3db65b62 | 5502 | 2012-04-12 Richard Guenther <rguenther@suse.de> |
5503 | ||
5504 | * Makefile.in (cgraphunit.o): Add $(EXCEPT_H) dependency. | |
5505 | * cgraph.h (tree_rest_of_compilation): Remove. | |
5506 | * cgraph.c (cgraph_add_new_function): Move ... | |
5507 | * cgraphunit.c (cgraph_add_new_function): ... here. | |
5508 | (tree_rest_of_compilation): Make static. | |
5509 | (cgraph_expand_function): Do not set cgraph_function_flags_ready. | |
5510 | * tree-optimize.c (gate_all_optimizations, pass_all_optimizations, | |
5511 | gate_all_early_local_passes, execute_all_early_local_passes, | |
5512 | pass_early_local_passes, gate_all_early_optimizations, | |
5513 | pass_all_early_optimizations): Move ... | |
5514 | * passes.c (gate_all_optimizations, pass_all_optimizations, | |
5515 | gate_all_early_local_passes, execute_all_early_local_passes, | |
5516 | pass_early_local_passes, gate_all_early_optimizations, | |
5517 | pass_all_early_optimizations): ... here. | |
5518 | * tree-optimize.c (execute_free_datastructures): Remove. | |
5519 | * tree-flow.h (execute_free_datastructures): Remove. | |
5520 | * tree-optimize.c (execute_init_datastructures, | |
5521 | pass_init_datastructures): Move ... | |
5522 | * tree-ssa.c (execute_init_datastructures, | |
5523 | pass_init_datastructures): ... here. | |
5524 | * cfgexpand.c (gimple_expand_cfg): Inline-expand call to | |
5525 | execute_free_datastructures. | |
5526 | ||
fe9cf48d | 5527 | 2012-04-12 Bernd Schmidt <bernds@codesourcery.com> |
5528 | ||
5529 | * dbgcnt.def (ira_move): New counter. | |
5530 | * ira-int.h (ira_create_new_reg): Declare function. | |
5531 | (first_moveable_pseudo, last_moveable_pseudo): Declare variables. | |
5532 | * ira-emit.c (ira_create_new_reg): Renamed from craete_new_reg and | |
5533 | no longer static. All callers changed. | |
5534 | * ira.c: Include "dbgcnt.h". | |
5535 | (rtx_moveable_p, insn_dominated_by_p, find_moveable_pseudos, | |
5536 | move_unallocated_pseudos): New static functions. | |
5537 | (first_moveable_pseudo, last_moveable_pseudo): New global variables. | |
5538 | (pseudo_replaced_reg, pseudo_move_insn): New static variables. | |
5539 | (ira): Call find_moveable_pseudos and move_unallocated_pseudos. | |
5540 | * ira-costs.c (find_costs_and_classes): Assign a memory cost of zero | |
5541 | to the pseudos generated in find_moveable_pseudos. | |
5542 | * Makefile.in (ira.o): Add $(DBGCNT_H). | |
5543 | ||
06a9142d | 5544 | 2012-04-12 Richard Guenther <rguenther@suse.de> |
5545 | ||
5546 | PR tree-optimization/52943 | |
5547 | * tree-chrec.h (chrec_is_positive): Remove. | |
5548 | * tree-scalar-evolution.c (chrec_is_positive): Move ... | |
5549 | * tree-data-ref.c (chrec_is_positive): ... here. Make static. | |
5550 | Return false for a constant zero instead of negative. | |
5551 | (analyze_siv_subscript_cst_affine): Handle zero difference | |
5552 | in the initial condition explicitely. | |
5553 | ||
b0b097b4 | 5554 | 2012-04-12 Richard Guenther <rguenther@suse.de> |
5555 | ||
5556 | * tree-parloops.c (parallelize_loops): Also consult the upper | |
5557 | bound for the number of iterations. | |
5558 | * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Likewise. | |
5559 | (loop_prefetch_arrays): Likewise. | |
5560 | ||
fee017b3 | 5561 | 2012-04-12 Richard Guenther <rguenther@suse.de> |
5562 | ||
5563 | * cfgloop.h (estimated_loop_iterations_int): Ditch | |
5564 | 'conservative' parameter. | |
5565 | (max_stmt_executions_int): Likewise. | |
5566 | (estimated_loop_iterations): Likewise. | |
5567 | (max_stmt_executions): Likewise. | |
5568 | (max_loop_iterations): Declare. | |
5569 | (max_loop_iterations_int): Likewise. | |
5570 | (estimated_stmt_executions): Likewise. | |
5571 | (estimated_stmt_executions_int): Likewise. | |
5572 | * tree-ssa-loop-niter.c (estimated_loop_iterations): | |
5573 | Split parts to ... | |
5574 | (max_loop_iterations): ... this. | |
5575 | (estimated_loop_iterations_int): Split parts to ... | |
5576 | (max_loop_iterations_int): ... this. | |
5577 | (max_stmt_executions_int): Split parts to ... | |
5578 | (estimated_stmt_executions_int): ... this. | |
5579 | (max_stmt_executions): Split parts to ... | |
5580 | (estimated_stmt_executions): ... this. | |
5581 | * graphite-sese-to-poly.c (build_loop_iteration_domains): Adjust. | |
5582 | * predict.c (predict_loops): Likewise. | |
5583 | * tree-data-ref.c (max_stmt_executions_tree): Likewise. | |
5584 | (analyze_siv_subscript_cst_affine): Likewise. | |
5585 | (compute_overlap_steps_for_affine_1_2): Likewise. | |
5586 | (analyze_subscript_affine_affine): Likewise. | |
5587 | (init_omega_for_ddr_1): Likewise. | |
5588 | * tree-parloops.c (parallelize_loops): Likewise. | |
5589 | * tree-ssa-loop-ivopts.c (avg_loop_niter): Likewise. | |
5590 | (may_eliminate_iv): Likewise. | |
5591 | * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Likewise. | |
5592 | (loop_prefetch_arrays): Likewise. | |
5593 | * tree-vrp.c (adjust_range_with_scev): Likewise. | |
5594 | ||
c3583c9c | 5595 | 2012-04-12 Oleg Endo <olegendo@gcc.gnu.org> |
5596 | ||
5597 | * config/sh/sh.h (RETURN_ADDR_RTX): Use NULL_RTX instead of 0. | |
5598 | * config/sh/sh.c (INSN_REGMODE_WEIGHT, CURR_REGMODE_PRESSURE): | |
5599 | Fix line width. | |
5600 | (dump_table): Use bool type for need_align and have_df variables. | |
5601 | (find_barrier, sfunc_uses_reg): Use NULL_RTX instead of 0. | |
5602 | (regs_used): Remove register modifier. | |
5603 | (barrier_align): Move variables slot, credit, jump_to_next | |
5604 | into if block above for loop. Use bool type for jump_to_next. | |
5605 | (sh_function_arg): Use NULL_RTX instead of 0. | |
5606 | ||
886bfde4 | 5607 | 2012-04-11 Andreas Schwab <schwab@linux-m68k.org> |
5608 | ||
5609 | * config/m68k/m68k.md (rotrhi3+1): Name it rotrhi_lowpart. | |
5610 | (bswapsi2): New expander. | |
5611 | ||
7a1c6e92 | 5612 | 2012-04-11 H.J. Lu <hongjiu.lu@intel.com> |
5613 | ||
5614 | * config/host-linux.c (TRY_EMPTY_VM_SPACE): Defined to | |
5615 | 0x60000000 if __x86_64 is defined and __LP64__ isn't defined. | |
5616 | ||
e623c80a | 5617 | 2012-04-11 H.J. Lu <hongjiu.lu@intel.com> |
5618 | ||
5619 | PR rtl-optimization/52876 | |
5620 | * emit-rtl.c (set_reg_attrs_from_value): Handle arbitrary value. | |
ed13de71 | 5621 | Don't call mark_reg_pointer for incompatible pointer sign extension. |
e623c80a | 5622 | |
886bfde4 | 5623 | * reginfo.c (reg_scan_mark_refs): Call set_reg_attrs_from_value |
e623c80a | 5624 | directly. |
5625 | ||
51dbf409 | 5626 | 2012-04-11 Bernd Schmidt <bernds@codesourcery.com> |
5627 | ||
5628 | * fold-const.c (fold_unary_loc): Use GET_MODE_PRECISION for | |
5629 | comparisons against TYPE_PRECISION. | |
5630 | * tree-ssa-forwprop.c (combine_conversions): Likewise. | |
5631 | ||
65082f57 | 5632 | 2012-04-11 Xinliang David Li <davidxl@google.com> |
5633 | ||
5634 | * tree-passes.h: Remove TODO_dump_func. | |
5635 | * tree-ssa-tail-merge.c (tail_merge_optimize): Remove TODO_dump_func. | |
5636 | * trans-mem.c: Remove TODO_dump_func. | |
5637 | * ira.c: Remove TODO_dump_func. | |
5638 | ||
78474516 | 5639 | 2012-04-11 H.J. Lu <hongjiu.lu@intel.com> |
5640 | ||
5641 | * config/i386/i386.c (ix86_option_override_internal): Check | |
5642 | SUBTARGET_OVERRIDE_OPTIONS and SUBSUBTARGET_OVERRIDE_OPTIONS | |
5643 | after TARGET_64BIT is updated. | |
5644 | ||
d498e090 | 5645 | 2012-04-11 Oleg Endo <olegendo@gcc.gnu.org> |
5646 | ||
5647 | * config/sh/sh.h: Remove old secondary reload code. | |
5648 | ||
855d5778 | 5649 | 2012-04-11 Oleg Endo <olegendo@gcc.gnu.org> |
5650 | ||
5651 | * config/sh/sh.c (SCHED_REORDER): Merge macro into ... | |
5652 | (ready_reorder): ... this function. | |
5653 | ||
c486a06e | 5654 | 2012-04-11 Bernd Schmidt <bernds@codesourcery.com> |
5655 | ||
5656 | * sel-sched.c (sel_global_init): Swap order of sched_rgn_init and | |
5657 | sched_init calls. | |
5658 | ||
ca5e50e4 | 5659 | * haifa-sched.c (prune_ready_list): Rework handling of SCHED_GROUP_P |
5660 | insns so that no other insn is queued for a time before them. | |
5661 | ||
6b87239a | 5662 | * config/c6x/c6x.md (load_got_gotoff): Set op_pattern attribute to |
5663 | unknown. | |
5664 | ||
08754147 | 5665 | 2012-04-11 Richard Guenther <rguenther@suse.de> |
5666 | ||
5667 | PR middle-end/52621 | |
5668 | * tree-chrec.c (evolution_function_is_invariant_rec_p): Properly | |
5669 | consider loop nesting. | |
5670 | (evolution_function_is_univariate_p): Properly check the remainder | |
5671 | for chrecs. | |
5672 | ||
a4575f9d | 5673 | 2012-04-11 Richard Guenther <rguenther@suse.de> |
5674 | ||
5675 | PR middle-end/52918 | |
8da8a06b | 5676 | * except.c (sjlj_emit_dispatch_table): Properly update loop structure. |
a4575f9d | 5677 | |
e4858e6a | 5678 | 2012-04-11 Nick Clifton <nickc@redhat.com> |
5679 | ||
5680 | * config/rl78/rl78.c (rl78_expand_prologue): Set stack use | |
5681 | information, if requested. | |
5682 | ||
ecfbd70a | 5683 | * config/rx/rx.c (rx_expand_prologue): Likewise. |
5684 | ||
0a98b6d9 | 5685 | 2012-04-11 Peter Bergner <bergner@vnet.ibm.com> |
5686 | Michael Matz <matz@suse.de> | |
5687 | ||
5688 | PR target/16458 | |
5689 | * rtlanal.c (unsigned_reg_p): New function. | |
5690 | Update copyright notice dates. | |
5691 | * rtl.h (unsigned_reg_p): Prototype it. | |
5692 | Update copyright notice dates. | |
5693 | * config/rs6000/rs6000.c (rs6000_generate_compare): Use it. | |
5694 | Update comment. | |
5695 | * expr.c (expand_expr_real_1): Set register attributes. | |
5696 | * stmt.c (expand_case): Likewise. | |
5697 | ||
51bc6b40 | 5698 | 2012-04-11 Oleg Endo <olegendo@gcc.gnu.org> |
5699 | ||
5700 | PR target/50751 | |
5701 | * config/sh/sh-protos.h (sh_legitimate_index_p): Add new arguments | |
5702 | consider_sh2a and allow_zero. | |
5703 | * config/sh/sh.c (sh_legitimate_index_p): Likewise. | |
5704 | (disp_addr_displacement): New function. | |
5705 | (sh_address_cost): Use disp_addr_displacement function instead | |
5706 | of DISP_ADDR_OFFSET. | |
5707 | (sh_legitimate_address_p): Adapt to changed | |
5708 | sh_legitimate_index_p declaration. | |
5709 | (sh_find_mov_disp_adjust): Remove HImode check. | |
5710 | (sh_secondary_reload): Add HImode case. Use satisfies_constraint_Sdd, | |
5711 | disp_addr_displacement and max_mov_insn_displacement. | |
5712 | (max_mov_insn_displacement): Remove HImode check. | |
e4858e6a | 5713 | * config/sh/sh.h (CONST_OK_FOR_K04, CONST_OK_FOR_K12, |
51bc6b40 | 5714 | DISP_ADDR_P, DISP_ADDR_OFFSET): Remove. |
5715 | * config/sh/constraints.md (K05, K13): New constraints. | |
5716 | (K12): Correct comment. | |
5717 | (Sdd): Do not use DISP_ADDR_P macro. | |
5718 | (Snd, Sbw): Use satisfies_constraint_Sdd. | |
5719 | * config/sh/sh.md (extendhisi2): Remove constraints from expander. | |
5720 | (*extendhisi2_compact, movhi_i): Remove. | |
5721 | (*extendhisi2_compact_reg, *extendhisi2_compact_mem_disp, | |
5722 | *extendhisi2_compact_mem_disp, *extendhisi2_compact_snd, | |
5723 | *movhi_reg_reg, *movhi_store_mem_disp05, *movhi_store_mem_disp13, | |
5724 | *movhi_load_mem_disp, *movhi_load_mem_disp, *movhi): New insns. | |
5725 | (*extendqisi2_compact_mem_disp, *extendqisi2_compact_mem_disp, | |
5726 | *movqi_store_mem_disp04, *movqi_store_mem_disp12, *movqi_load_mem_disp, | |
5727 | *movqi_load_mem_disp): Use sh_legitimate_index_p instead of | |
5728 | CONST_OK_FOR_Kxx. | |
5729 | Add new peepholes for HImode displacement addressing. | |
5730 | ||
3dad52b6 | 5731 | 2012-04-11 Oleg Endo <olegendo@gcc.gnu.org> |
5732 | ||
5733 | * config/sh/sh.h (SIDI_OFF): Remove. | |
5734 | * config/sh/sh.md: Use gen_highpart and gen_lowpart to access | |
5735 | DImode subregs instead of gen_rtx_REG or simplifly_gen_subreg | |
5736 | or operand_subword. | |
5737 | ||
74bdbe96 | 5738 | 2012-04-11 Eric Botcazou <ebotcazou@adacore.com> |
5739 | ||
5740 | PR target/52624 | |
5741 | * doc/extend.texi (Other Builtins): Document __builtin_bswap16. | |
5742 | (PowerPC AltiVec/VSX Built-in Functions): Remove it. | |
5743 | * doc/md.texi (Standard Names): Add bswap. | |
5744 | * builtin-types.def (BT_UINT16): New primitive type. | |
5745 | (BT_FN_UINT16_UINT16): New function type. | |
5746 | * builtins.def (BUILT_IN_BSWAP16): New. | |
5747 | * builtins.c (expand_builtin_bswap): Add TARGET_MODE argument. | |
5748 | (expand_builtin) <BUILT_IN_BSWAP16>: New case. Pass TARGET_MODE to | |
5749 | expand_builtin_bswap. | |
5750 | (fold_builtin_bswap): Add BUILT_IN_BSWAP16 case. | |
5751 | (fold_builtin_1): Likewise. | |
5752 | (is_inexpensive_builtin): Likewise. | |
5753 | * optabs.c (expand_unop): Deal with bswap in HImode specially. Add | |
5754 | missing bits for bswap to libcall code. | |
5755 | * tree.c (build_common_tree_nodes): Build uint16_type_node. | |
5756 | * tree.h (enum tree_index): Add TI_UINT16_TYPE. | |
5757 | (uint16_type_node): New define. | |
5758 | * config/rs6000/rs6000-builtin.def (RS6000_BUILTIN_BSWAP_HI): Delete. | |
5759 | * config/rs6000/rs6000.c (rs6000_expand_builtin): Remove handling of | |
5760 | above builtin. | |
5761 | (rs6000_init_builtins): Likewise. | |
5762 | * config/rs6000/rs6000.md (bswaphi2): Add TARGET_POWERPC predicate. | |
5763 | ||
669b0b52 | 5764 | 2012-04-11 Tristan Gingold <gingold@adacore.com> |
5765 | ||
5766 | * doc/extend.texi (Type Attributes): Move paragraph. | |
5767 | ||
5a983084 | 5768 | 2012-04-11 Manuel López-Ibáñez <manu@gcc.gnu.org> |
5769 | ||
5770 | PR 24985 | |
886bfde4 | 5771 | * diagnostic.h (show_caret): Declare. |
5a983084 | 5772 | (caret_max_width): Declare. |
5773 | (diagnostic_show_locus): Declare. | |
886bfde4 | 5774 | * diagnostic.c (diagnostic_initialize): Initialize to false. |
5775 | (diagnostic_show_locus): New. | |
5776 | (diagnostic_report_diagnostic): Call it. | |
5a983084 | 5777 | (getenv_columns): New. |
5778 | (adjust_line): New. | |
5779 | (diagnostic_set_caret_max_width): New. | |
886bfde4 | 5780 | * input.c (read_line): New. |
5a983084 | 5781 | (location_get_source_line): New. |
886bfde4 | 5782 | * input.h (location_get_source_line): Declare. |
5783 | * toplev.c (general_init): Initialize show_caret from options. | |
5784 | * dwarf2out.c (gen_producer_string): Handle fdiagnostics-show-caret. | |
5785 | * opts.c (common_handle_option): Likewise. | |
5a983084 | 5786 | * pretty-print.h (pp_get_prefix): New. |
5787 | (pp_base_get_prefix): New. | |
886bfde4 | 5788 | * common.opt (fdiagnostics-show-caret): New option. |
5a983084 | 5789 | * doc/invoke.texi (fdiagnostics-show-caret): Document it. |
5790 | ||
980af7e0 | 5791 | 2012-04-11 Richard Guenther <rguenther@suse.de> |
5792 | ||
5793 | PR rtl-optimization/52881 | |
5794 | * ifcvt.c (find_if_case_2): Avoid speculating loop latches. | |
5795 | ||
d906930c | 5796 | 2012-04-11 Richard Guenther <rguenther@suse.de> |
5797 | ||
5798 | PR tree-optimization/52912 | |
5799 | * tree-ssa-threadupdate.c (thread_block): Tell the cfg | |
5800 | manipulation code we are threading through a loop header | |
5801 | to an exit destination. | |
5802 | ||
3d177e8c | 5803 | 2012-04-10 Manuel López-Ibáñez <manu@gcc.gnu.org> |
5804 | ||
5805 | * tree.h (warn_if_unused_value): Move declaration from here. | |
5806 | * stmt.c (warn_if_unused_value): Move definition from here. | |
5807 | ||
ee612634 | 5808 | 2010-04-10 Michael Matz <matz@suse.de> |
5809 | ||
5810 | * tree-vectorizer.h (_loop_vec_info.strided_stores): Rename to | |
5811 | grouped_stores. | |
5812 | (LOOP_VINFO_STRIDED_STORES): Rename to LOOP_VINFO_GROUPED_STORES. | |
5813 | (struce _bb_vec_info.strided_stores): Rename to grouped_stores. | |
5814 | (BB_VINFO_STRIDED_STORES): Rename to BB_VINFO_GROUPED_STORES. | |
5815 | (STMT_VINFO_STRIDED_ACCESS): Rename to STMT_VINFO_GROUPED_ACCESS. | |
5816 | (vect_strided_store_supported): Rename to vect_grouped_store_supported. | |
5817 | (vect_strided_load_supported): Rename to vect_grouped_load_supported. | |
5818 | (vect_transform_strided_load): Rename to vect_transform_grouped_load. | |
5819 | (vect_record_strided_load_vectors): Rename to | |
5820 | vect_record_grouped_load_vectors. | |
5821 | * tree-vect-data-refs.c (vect_update_misalignment_for_peel): | |
5822 | Rename use of above macros. | |
5823 | (vect_verify_datarefs_alignment): Ditto. | |
5824 | (vector_alignment_reachable_p): Ditto. | |
5825 | (vect_peeling_hash_get_lowest_cost): Ditto. | |
5826 | (vect_enhance_data_refs_alignment): Ditto. | |
5827 | (vect_analyze_group_access): Ditto and rename stride to groupsize. | |
5828 | (vect_analyze_data_ref_access): Rename "strided" to "grouped". | |
5829 | (vect_strided_store_supported): Rename to vect_grouped_store_supported. | |
5830 | (vect_strided_load_supported): Rename to vect_grouped_load_supported. | |
5831 | (vect_transform_strided_load): Rename to vect_transform_grouped_load. | |
5832 | (vect_record_strided_load_vectors): Rename to | |
5833 | vect_record_grouped_load_vectors. | |
5834 | * tree-vect-loop.c (new_loop_vec_info): Rename use of above macros. | |
5835 | (destroy_loop_vec_info): Ditto. | |
5836 | (vect_transform_loop): Ditto and rename strided_store to grouped_store. | |
5837 | * tree-vect-slp.c (vect_build_slp_tree): Rename use of above macros. | |
5838 | (vect_analyze_slp): Ditto. | |
5839 | (new_bb_vec_info): Ditto. | |
5840 | (destroy_bb_vec_info): Ditto. | |
5841 | (vect_schedule_slp_instance): Ditto and rename strided_store to | |
5842 | grouped_store. | |
5843 | * tree-vect-stmts.c (vect_cost_strided_group_size): Rename to | |
5844 | vect_cost_group_size. | |
5845 | (vect_model_store_cost): Rename use of above macros and call | |
5846 | to vect_cost_strided_group_size. | |
5847 | (vect_model_load_cost): Ditto. | |
5848 | (vectorizable_store): Ditto, rename strided_store to grouped_store | |
5849 | and calls to renamed tree-vectorizer.h functions. | |
5850 | (vectorizable_load): Ditto. | |
5851 | (vect_transform_stmt): Rename use of above macros and strided_store | |
5852 | to grouped_store. | |
5853 | ||
b6c89d32 | 5854 | 2012-04-10 Jan Hubicka <jh@suse.cz> |
5855 | ||
5856 | * cgraph.h: Remove misledaing comment on ipa-ref.h. | |
5857 | (symtab_type): New enum. | |
5858 | (symtab_node): New structure. | |
5859 | (cgraph_node, varpool_node): Add symbol base type. | |
5860 | (cgraph, varpool): New accestor functions. | |
5861 | * cgraph.c (cgraph_create_node_1): Set symbol type. | |
5862 | * varpool.c (varpool_node): Set symbol type. | |
5863 | ||
03ad17bf | 5864 | 2012-04-10 Ulrich Weigand <ulrich.weigand@linaro.org> |
5865 | Richard Sandiford <rdsandiford@googlemail.com> | |
5866 | ||
5867 | * fwprop.c (propagate_rtx): Also set PR_CAN_APPEAR for subregs. | |
5868 | ||
0b06d494 | 5869 | 2012-04-10 Richard Guenther <rguenther@suse.de> |
5870 | ||
5871 | PR middle-end/52888 | |
5872 | * gimple-low.c (gimple_check_call_args): Properly account for | |
5873 | compatible aggregate types. | |
5874 | ||
941366fd | 5875 | 2012-04-10 Richard Guenther <rguenther@suse.de> |
5876 | ||
5877 | * toplev.h (tree_rest_of_compilation): Remove. | |
5878 | * tree-optimize.c (tree_rest_of_compilation): Likewise. | |
5879 | * cgraph.h (tree_rest_of_compilation): Declare. | |
5880 | * tree-optimize.c (tree_rest_of_compilation): Move ... | |
5881 | * cgraphunit.c (tree_rest_of_compilation): ... here. | |
5882 | * cgraph.c (cgraph_add_new_function): Adjust. | |
5883 | * Makefile.in (tree-optimize.o): Adjust. | |
5884 | (cgraphunit.o): Likewise. | |
5885 | ||
e9b545c7 | 5886 | 2012-04-10 Ulrich Weigand <ulrich.weigand@linaro.org> |
5887 | ||
5888 | PR tree-optimization/52870 | |
5889 | * tree-vect-patterns.c (vect_recog_widen_mult_pattern): Verify that | |
5890 | presumed pattern statement is within the same loop or basic block. | |
5891 | ||
ee0af6e0 | 5892 | 2012-04-10 Tristan Gingold <gingold@adacore.com> |
5893 | ||
5894 | * gengtype.c (main): Make uintptr_t a known type. | |
5895 | ||
47199071 | 5896 | 2012-04-10 Richard Guenther <rguenther@suse.de> |
5897 | ||
5898 | * tree-pass.h (tree_lowering_passes): Remove. | |
5899 | * tree-optimize.c (tree_lowering_passes): Remove. | |
5900 | * cgraph.c (cgraph_add_new_function): Inline relevant parts | |
8da8a06b | 5901 | of tree_lowering_passes, avoid redundant call of early local passes. |
47199071 | 5902 | * cgraphunit.c (cgraph_lower_function): Fold into ... |
5903 | (cgraph_analyze_function): ... its single caller. Inline | |
5904 | relevant parts of tree_lowering_passes. | |
5905 | ||
69116fc2 | 5906 | 2012-04-09 H.J. Lu <hongjiu.lu@intel.com> |
5907 | ||
5908 | PR other/52777 | |
5909 | * config/pa/pa.opt: Remove SIO and GNU_LD. | |
5910 | ||
7c067609 | 5911 | 2012-04-09 Jan Hubicka <jh@suse.cz> |
5912 | ||
5913 | PR lto/52722 | |
5914 | PR lto/51765 | |
886bfde4 | 5915 | PR lto/52634 |
8da8a06b | 5916 | * lto-cgraph.c (compute_ltrans_boundary): When alias is in the |
5917 | boundary, add its target too. | |
7c067609 | 5918 | * lto.c (add_references_to_partition): Add also aliased nodes. |
5919 | (add_cgraph_node_to_partition, | |
5920 | add_varpool_node_to_partition): Work on nodes, not functions/variables; | |
5921 | when adding alias, add also the aliased object. | |
5922 | ||
259ad1be | 5923 | 2012-04-09 Uros Bizjak <ubizjak@gmail.com> |
5924 | ||
5925 | PR target/52883 | |
5926 | * config/i386/predicates.md (x86_64_zext_general_operand): Prevent | |
5927 | VOIDmode immediate operands. | |
5928 | * config/i386/constraints.md (Wz): New constraint. | |
5929 | * config/i386/i386.md (*zero_extendsidi2_rex64): Use Wz instead of Z. | |
5930 | ||
a1bec0b4 | 5931 | 2012-04-09 Eric Botcazou <ebotcazou@adacore.com> |
5932 | ||
5933 | PR target/52717 | |
5934 | * config/sparc/sparc.c (sparc_file_end): Set TREE_PUBLIC explicitly on | |
5935 | the DECL generated for the special GOT helper. | |
5936 | ||
15f60366 | 5937 | 2012-04-09 Oleg Endo <olegendo@gcc.gnu.org> |
5938 | ||
5939 | * config/sh/constraints.md: Update list of constraints in | |
5940 | comment block. | |
5941 | (Sr0): Remove unused memory constraint. | |
5942 | ||
24a470ff | 5943 | 2012-04-08 Manuel López-Ibáñez <manu@gcc.gnu.org> |
5944 | ||
5945 | * tree-pretty-print.h: Update comment. | |
5946 | ||
afb109dd | 5947 | 2012-04-08 Oleg Endo <olegendo@gcc.gnu.org> |
5948 | ||
497f6450 | 5949 | * config/sh/sh.md: Use braced string notation where applicable. |
5950 | (*prefetch_i4, prefetch_m2a): Merge into ... | |
afb109dd | 5951 | (*prefetch): ... this new insn. |
5952 | ||
278fc7da | 5953 | 2012-04-07 Oleg Endo <olegendo@gcc.gnu.org> |
5954 | ||
5955 | * config/sh/sh.h (high_life_started): Remove | |
5956 | * config/sh/predicates.md (general_movdst_operand): Use | |
5957 | 'reload_in_progress' instead of 'high_life_started'. | |
5958 | * config/sh/sh.md (divsi_inv_call, *divsi_inv_call_combine, | |
5959 | divsi_inv_fp): Likewise. | |
5960 | ||
7141d4fc | 5961 | 2012-04-07 Oleg Endo <olegendo@gcc.gnu.org> |
5962 | ||
5963 | * config/sh/sh-protos.h (prepare_move_operands): Return void | |
5964 | instead of int. | |
5965 | * config/sh/sh.c (prepare_move_operands): Likewise. | |
5966 | * config/sh/sh.md: Remove return value checks of prepare_move_operands. | |
5967 | ||
fb4fa5d7 | 5968 | 2012-04-07 Oleg Endo <olegendo@gcc.gnu.org> |
5969 | ||
5970 | * config/sh/sh-protos.h (fp_int_operand, symbol_ref_operand, | |
5971 | general_movsrc_operand, general_movdst_operand, arith_reg_operand, | |
5972 | fp_arith_reg_operand, arith_operand, arith_reg_or_0_operand, | |
5973 | logical_operand, fpscr_operand, fpul_operand, expand_fp_branch, | |
5974 | commutative_float_operator, noncommutative_float_operator, | |
5975 | sh_handle_pragma): Remove. | |
5976 | ||
b8829713 | 5977 | 2012-04-06 Sandra Loosemore <sandra@codesourcery.com> |
5978 | ||
5979 | * doc/invoke.texi: Clean up Texinfo markup throughout the file. | |
5980 | Use @option markup on command-line options. Use @samp markup on | |
5981 | literal keywords to options. Use @code markup on code fragments. | |
5982 | Use other markup in preference to quotation marks in the text. | |
5983 | Add markup to some passages without any. | |
5984 | ||
03231f32 | 5985 | 2012-04-06 Mike Stump <mikestump@comcast.net> |
5986 | ||
5987 | * gimple-fold.c (gimple_fold_stmt_to_constant_1): Avoid warning. | |
5988 | ||
e75e7428 | 5989 | 2012-04-06 Oleg Endo <olegendo@gcc.gnu.org> |
5990 | ||
5991 | * config/sh/sh.c (hi_const): Remove. | |
5992 | (find_barrier, sh_reorg): Use satisfies_constraint_I16 instead | |
5993 | of hi_const. | |
5994 | ||
9db04979 | 5995 | 2012-04-06 Oleg Endo <olegendo@gcc.gnu.org> |
5996 | ||
5997 | * config/sh/sh-protos.h (sh_expand_t_scc): Change return type from int | |
5998 | to bool. | |
5999 | * config/sh/sh.c (sh_expand_t_scc): Likewise. | |
6000 | * config/sh/sh.md (cstoresi4, cstoredi4): Remove GET_CODE checks before | |
6001 | calling sh_expand_t_scc. | |
6002 | ||
a3b1178e | 6003 | 2012-04-06 Oleg Endo <olegendo@gcc.gnu.org> |
6004 | ||
6005 | * config/sh/sh-protos.h (fp_zero_operand, fp_one_operand, | |
6006 | nonpic_symbol_mentioned_p, expand_block_move, expand_ashiftrt, | |
6007 | sh_dynamicalize_shift_p, gen_shl_and, gen_shl_sext, system_reg_operand, | |
6008 | reg_unused_after, sh_can_redirect_branch, sh_need_epilogue, fldi_ok, | |
6009 | sh_hard_regno_rename_ok, sh_cfun_interrupt_handler_p, | |
6010 | sh_cfun_resbank_handler_p, sh_attr_renesas_p, sh_cfun_attr_renesas_p, | |
6011 | check_use_sfunc_addr, sh_contains_memref_p, sh_loads_bankedreg_p, | |
6012 | sh2a_is_function_vector_call): Use bool as return type. | |
6013 | (sh_pass_in_reg_p): Remove. | |
6014 | * config/sh/sh.c (broken_move, mova_p, noncall_uses_reg, high_pressure, | |
6015 | flow_dependent_p, sh2a_function_vector_p, expand_block_move, | |
6016 | expand_ashiftrt, sh_dynamicalize_shift_p, gen_shl_and, gen_shl_sext, | |
6017 | sh_need_epilogue, sh2a_is_function_vector_call, sh_attr_renesas_p, | |
6018 | sh_cfun_attr_renesas_p, sh_cfun_interrupt_handler_p, | |
6019 | sh_cfun_resbank_handler_p, system_reg_operand, fp_zero_operand, | |
6020 | fp_one_operand, fldi_ok, reg_unused_after, sh_can_redirect_branch, | |
259ad1be | 6021 | sh_hard_regno_rename_ok, check_use_sfunc_addr, sh_contains_memref_p, |
a3b1178e | 6022 | sh_loads_bankedreg_p): Use bool as return type. |
6023 | (nonpic_symbol_mentioned_p): Use bool as return type. Remove | |
6024 | 'register' modifier. | |
6025 | ||
f97942ad | 6026 | 2012-04-06 Matt Turner <mattst88@gmail.com> |
6027 | ||
6028 | * doc/install.texi: Correct typo "-mno-lsc" -> "-mno-llsc". | |
6029 | ||
2688e10b | 6030 | 2012-04-06 Eric Botcazou <ebotcazou@adacore.com> |
6031 | ||
6032 | * config/ia64/ia64.c (ia64_load_pair_ok): Return 0 if the second member | |
6033 | of the destination isn't also a FP_REGS register. | |
6034 | ||
ce559b32 | 6035 | 2012-04-05 Teresa Johnson <tejohnson@google.com> |
6036 | H.J. Lu <hongjiu.lu@intel.com> | |
6037 | ||
8da8a06b | 6038 | * config/i386/i386.h (ix86_tune_indices): Add X86_TUNE_LCP_STALL. |
ce559b32 | 6039 | * config/i386/i386.md (move immediate to memory peephole2): |
6040 | Add cases for HImode move when LCP stall avoidance is needed. | |
6041 | * config/i386/i386.c (initial_ix86_tune_features): Initialize | |
6042 | X86_TUNE_LCP_STALL entry. | |
6043 | ||
2473490d | 6044 | 2012-04-05 Uros Bizjak <ubizjak@gmail.com> |
6045 | ||
6046 | PR target/52882 | |
6047 | * config/i386/i386.c (ix86_decompose_address): Allow VOIDmode | |
6048 | CONST_INT operands, zero-extended with AND. | |
6049 | ||
00868707 | 6050 | 2012-04-05 Oleg Endo <olegendo@gcc.gnu.org> |
6051 | ||
6052 | PR target/50751 | |
6053 | * config/sh/sh.c (sh_find_mov_disp_adjust): Take machine_mode as the | |
6054 | first argument instead of mode size. Move displacement calculations | |
6055 | to ... | |
2473490d | 6056 | (mov_insn_size, max_mov_insn_displacement, mov_insn_alignment_mask): |
00868707 | 6057 | ... these new functions. |
6058 | (disp_adjust): Remove max_mov_disp field. | |
6059 | (sh_legitimate_index_p): Use max_mov_insn_displacement and | |
6060 | mov_insn_alignment_mask. | |
6061 | (sh_address_cost): Use max_mov_insn_displacement. | |
6062 | ||
10efb95f | 6063 | 2012-04-05 Andrew Stubbs <ams@codesourcery.com> |
6064 | ||
6065 | * config/arm/arm.md (arch): Add neon_onlya8 and neon_nota8. | |
6066 | (arch_enabled): Handle new arch types. | |
6067 | (one_cmpldi2): Add NEON support. | |
6068 | ||
183e96b6 | 6069 | 2012-04-05 Richard Guenther <rguenther@suse.de> |
6070 | ||
6071 | * gimple.c (walk_gimple_op): Compute val_only for the LHS | |
6072 | of an assigment in the canonical way, avoiding is_gimple_mem_rhs. | |
6073 | (is_gimple_mem_rhs, is_gimple_reg_rhs, is_gimple_stmt): Move ... | |
6074 | * gimplify.c (is_gimple_mem_rhs, is_gimple_reg_rhs, is_gimple_stmt): | |
6075 | ... here and make static. | |
6076 | * gimple.h (is_gimple_mem_rhs, is_gimple_reg_rhs, is_gimple_stmt): | |
6077 | Remove. | |
6078 | ||
10792deb | 6079 | 2012-04-05 Richard Guenther <rguenther@suse.de> |
6080 | ||
6081 | * tree-ssa-dse.c (dse_optimize_stmt): Remember the stmt | |
6082 | basic-block before removing it. | |
6083 | ||
f901fae2 | 6084 | 2012-04-05 Richard Guenther <rguenther@suse.de> |
6085 | ||
6086 | * tree-ssanames.c (release_dead_ssa_names): Compact the SSA | |
6087 | version namespace as we release the freelist. | |
6088 | ||
bc8a8451 | 6089 | 2012-04-05 Richard Guenther <rguenther@suse.de> |
6090 | ||
6091 | * tree-nrv.c (tree_nrv): Release VDEFs. | |
6092 | * tree-sra.c (sra_modify_constructor_assign): Likewise. | |
6093 | (sra_modify_assign): Likewise. | |
6094 | * tree-vect-stmts.c (vect_remove_stores): Likewise. | |
6095 | * tree-vect-loop.c (vect_transform_loop): Likewise. | |
6096 | * tree-ssa-dom.c (optimize_stmt): Likewise. | |
6097 | * tree-vect-slp.c (vect_schedule_slp): Likewise. | |
6098 | * tree-ssa-math-opts.c (execute_cse_sincos): Likewise. | |
6099 | ||
13ff78a4 | 6100 | 2012-04-05 Richard Guenther <rguenther@suse.de> |
6101 | ||
6102 | * gimple-iterator.c (gsi_remove): Return whether EH edges need to be | |
6103 | cleanup. | |
6104 | * gimple.h (gsi_remove): Adjust. | |
6105 | * tree-ssa-operands.c (unlink_stmt_vdef): Optimize. | |
6106 | * tree-ssa-dom.c (optimize_stmt): Use gsi_remove result. | |
6107 | * tree-ssa-dse.c (dse_optimize_stmt): Likewise. | |
6108 | * tree-ssa-forwprop.c (remove_prop_source_from_use): Likewise. | |
6109 | * tree-ssa-math-opts.c (execute_optimize_widening_mul): Likewise. | |
6110 | * tree-ssa-pre.c (eliminate): Likewise. | |
6111 | ||
db20fb47 | 6112 | 2012-04-04 Mike Stump <mikestump@comcast.net> |
6113 | ||
6114 | * doc/rtl.texi (const_double): Document as sign-extending. | |
8da8a06b | 6115 | * expmed.c (expand_mult): Ensure we don't use shift incorrectly. |
db20fb47 | 6116 | * emit-rtl.c (immed_double_int_const): Refine to state the |
6117 | value is signed. | |
6118 | * simplify-rtx.c (mode_signbit_p): Add a fixme for wider than | |
6119 | CONST_DOUBLE integers. | |
6120 | (simplify_const_unary_operation, UNSIGNED_FLOAT): Ensure no | |
6121 | negative values are converted. Fix conversions bigger than | |
6122 | HOST_BITS_PER_WIDE_INT. | |
8da8a06b | 6123 | (simplify_binary_operation_1): Ensure we don't use shift incorrectly. |
db20fb47 | 6124 | (simplify_immed_subreg): Sign-extend CONST_DOUBLEs. |
6125 | * explow.c (plus_constant_mode): Add. | |
6126 | (plus_constant): Implement with plus_constant_mode. | |
6127 | * rtl.h (plus_constant_mode): Add. | |
6128 | ||
f889f544 | 6129 | 2012-04-04 Richard Guenther <rguenther@suse.de> |
6130 | ||
6131 | PR tree-optimization/52808 | |
8da8a06b | 6132 | * tracer.c (tail_duplicate): Do not tail-duplicate loop header blocks. |
f889f544 | 6133 | * Makefile.in (tracer.o): Depend on $(CFGLOOP_H). |
6134 | ||
450c6e32 | 6135 | 2012-04-04 Tristan Gingold <gingold@adacore.com> |
6136 | ||
6137 | * expr.c (expand_expr_real_2): Handle larger sizetype in | |
6138 | POINTER_PLUS_EXPR. | |
6139 | ||
98fb5f75 | 6140 | 2012-04-03 Kaz Kojima <kkojima@gcc.gnu.org> |
6141 | ||
6142 | * config/sh/t-sh (MULTILIB_MATCHES): Match m2a-single-only | |
6143 | to m2a-single instead of m2e. | |
6144 | ||
3cef948a | 6145 | 2012-04-03 Eric Botcazou <ebotcazou@adacore.com> |
6146 | ||
6147 | * expr.c (get_bit_range): Add OFFSET parameter and adjust BITPOS. | |
6148 | Change type of BITOFFSET to signed. Make sure the lower bound of | |
6149 | the computed range is non-negative by adjusting OFFSET and BITPOS. | |
6150 | (expand_assignment): Adjust call to get_bit_range. | |
6151 | ||
d3677aa8 | 6152 | 2012-04-03 Sandeep Kumar Singh <Sandeep.Singh2@kpitcummins.com> |
6153 | ||
6154 | * h8300/h8300.c (h8300_current_function_monitor_function_p): | |
886bfde4 | 6155 | New function. Added to check monitor functions. |
6156 | (h8300_option_override): Modified to generate error/warning | |
6157 | messages for invalid combinations of different command line | |
d3677aa8 | 6158 | options. |
6159 | * h8300/h8300.md: Generate 'rte' for monitor functions. Do not | |
886bfde4 | 6160 | save EXR on stack for monitor function in case of H8S target |
d3677aa8 | 6161 | when "-mno-exr" is passed. |
8da8a06b | 6162 | * h8300/h8300-protos.h (h8300_current_function_monitor_function_p): |
6163 | Add prototype. | |
d3677aa8 | 6164 | * doc/invoke.texi: Document H8S options. |
6165 | ||
749dea2a | 6166 | 2012-04-03 Tristan Gingold <gingold@adacore.com> |
6167 | ||
6168 | * configure.ac: Use GCC_AC_FUNC_MMAP_BLACKLIST instead | |
6169 | of gcc_AC_FUNC_MMAP_BLACKLIST. | |
6170 | * acinclude.m4 (gcc_AC_FUNC_MMAP_BLACKLIST): Remove. | |
6171 | * Makefile.in (aclocal_deps): Add mmap.m4. | |
6172 | * configure: Regenerate. | |
6173 | * aclocal.m4: Regenerate. | |
6174 | ||
35c67c83 | 6175 | 2012-04-03 Richard Guenther <rguenther@suse.de> |
6176 | ||
6177 | PR tree-optimization/52808 | |
6178 | * tracer.c (tail_duplicate): Return whether we have duplicated | |
6179 | any block. | |
6180 | (tracer): If we have duplicated any block, cleanup the CFG. | |
6181 | * cfghooks.c (duplicate_block): If we duplicated a loop | |
6182 | header but not its loop, destroy the loop because it now has | |
6183 | multiple entries. | |
6184 | * tree-ssa-threadupdate.c (thread_through_loop_header): Tell | |
6185 | the cfg manipulation routines we are not creating a multiple | |
6186 | entry loop. | |
6187 | ||
bc05341c | 6188 | 2012-04-03 Tristan Gingold <gingold@adacore.com> |
6189 | ||
6190 | * config/vms/vms-c.c (vms_pragma_nomember_alignment): Handle | |
6191 | 'byte' alignment. | |
6192 | (vms_c_common_override_options): Allow parameterless variadic | |
6193 | functions. | |
6194 | ||
96758487 | 6195 | 2012-04-03 Jakub Jelinek <jakub@redhat.com> |
6196 | ||
6197 | PR tree-optimization/52835 | |
6198 | * tree-data-ref.c (build_rdg): Return NULL if | |
6199 | compute_data_dependences_for_loop failed. | |
6200 | ||
766b6590 | 6201 | 2012-04-03 Eric Botcazou <ebotcazou@adacore.com> |
6202 | ||
6203 | * varasm.c (initializer_constant_valid_for_bitfield_p): Return true | |
6204 | for REAL_CST as well. | |
6205 | (output_constructor): Use RECORD_OR_UNION_TYPE_P predicate. | |
6206 | In the bitfield case, if the value is a REAL_CST, convert it first to | |
6207 | an INTEGER_CST. | |
6208 | ||
6fa78bde | 6209 | 2012-04-02 H.J. Lu <hongjiu.lu@intel.com> |
6210 | ||
6211 | * config.gcc: Use i386/biarchx32.h instead of i386/biarch64.h | |
6212 | for --with-abi={x32|mx32} or --with-multilib-list=mx32. | |
6213 | (supported_defaults): Add abi for i[34567]86-*-* and x86_64-*-*. | |
6214 | ||
6215 | * config/i386/biarchx32.h: New. | |
6216 | ||
ffdb0b2d | 6217 | 2012-04-02 Anatoly Sokolov <aesok@post.ru> |
6218 | ||
6219 | * config/arm/arm.h (PREFERRED_RELOAD_CLASS): Remove. | |
6220 | * config/arm/arm.c (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
6221 | (arm_preferred_reload_class): New function. | |
6222 | ||
6eb99d8a | 6223 | 2012-04-02 Richard Guenther <rguenther@suse.de> |
6224 | ||
6225 | PR tree-optimization/52756 | |
6226 | * tree-ssa-threadupdate.c (def_split_header_continue_p): New function. | |
6227 | (thread_through_loop_header): After threading through the loop latch | |
6228 | remove the split part from the loop and clear further threading | |
6229 | opportunities that would create a multiple entry loop. | |
6230 | ||
ec3167d1 | 6231 | 2012-04-02 Richard Guenther <rguenther@suse.de> |
6232 | ||
6233 | PR rtl-optimization/52800 | |
6234 | * cprop.c (execute_rtl_cprop): Call cleanup_cfg with | |
6235 | CLEANUP_CFG_CHANGED. | |
6236 | ||
759626e6 | 6237 | 2012-04-02 Richard Guenther <rguenther@suse.de> |
6238 | ||
6239 | PR middle-end/52803 | |
6240 | * loop-init.c (gate_handle_loop2): Destroy loops here if | |
6241 | we don't enter RTL loop optimizers. | |
6242 | ||
8bbbe2b5 | 6243 | 2012-04-02 Uros Bizjak <ubizjak@gmail.com> |
6244 | ||
6245 | Partially revert: | |
6246 | 2012-03-29 Richard Guenther <rguenther@suse.de> | |
6247 | ||
6248 | * rtl.h (extended_count): Remove. | |
6249 | * combine.c (extended_count): Remove. | |
6250 | ||
6b1f0797 | 6251 | 2012-04-02 Dodji Seketeli <dodji@redhat.com> |
6252 | ||
6253 | PR c++/40942 | |
6254 | * pt.c (more_specialized_fn): Don't apply decay conversion to | |
6255 | types of function parameters. | |
6256 | ||
337c992b | 6257 | 2012-04-02 Tristan Gingold <gingold@adacore.com> |
6258 | ||
6259 | * ggc-page.c (PAGE_L1_SIZE, PAGE_L2_SIZE, LOOKUP_L1, LOOKUP_L2) | |
6260 | (ggc_allocated_p, lookup_page_table_entry, set_page_table_entry) | |
6261 | (alloc_page, init_ggc, clear_marks, struct ggc_pch_data) | |
6262 | (ggc_pch_this_base): Use uintptr_t instead of size_t. | |
6263 | ||
f4b5bb69 | 6264 | 2012-03-31 H.J. Lu <hongjiu.lu@intel.com> |
6265 | ||
6266 | PR bootstrap/52784 | |
6267 | * config/i386/i386.c (ix86_option_override_internal): Don't | |
6268 | check TARGET_64BIT if TARGET_64BIT_DEFAULT is false. | |
6269 | ||
822dbdbc | 6270 | 2012-03-31 Eric Botcazou <ebotcazou@adacore.com> |
6271 | ||
6272 | * tree-cfg.c (call_can_make_abnormal_goto): New predicate. | |
6273 | (stmt_can_make_abnormal_goto): Use it. | |
6274 | (is_ctrl_altering_stmt): Likewise. | |
6275 | ||
5a333029 | 6276 | 2012-03-30 Naveen H.S <naveen.S@kpitcummins.com> |
6277 | Kaz Kojima <kkojima@gcc.gnu.org> | |
6278 | ||
6279 | * config/sh/sh.c (push_regs): Skip banked registers when | |
6280 | resbank attribute is specified. | |
6281 | (sh_expand_epilogue): Likewise. | |
6282 | ||
1249885e | 6283 | 2012-03-30 Richard Henderson <rth@redhat.com> |
6284 | ||
6285 | PR debug/52727 | |
6286 | * combine-stack-adj.c (prev_active_insn_bb): New. | |
6287 | (next_active_insn_bb): New. | |
6288 | (force_move_args_size_note): New. | |
6289 | (combine_stack_adjustments_for_block): Use it. | |
6290 | ||
8ae0b70d | 6291 | 2012-03-30 Richard Henderson <rth@redhat.com> |
6292 | ||
6293 | * config/i386/i386.c (struct expand_vec_perm_d): Add one_operand_p. | |
6294 | (ix86_expand_vector_init_duplicate): Initialize it. | |
6295 | (expand_vec_perm_palignr): Likewise. | |
6296 | (ix86_expand_vec_perm_const): Likewise. | |
6297 | (ix86_vectorize_vec_perm_const_ok): Likewise. | |
6298 | (expand_vec_perm_blend): Use it. | |
6299 | (expand_vec_perm_vpermil): Likewise. | |
6300 | (expand_vec_perm_pshufb): Likewise. | |
6301 | (expand_vec_perm_1): Likewise. | |
6302 | (expand_vec_perm_pshuflw_pshufhw): Likewise. | |
6303 | (expand_vec_perm_interleave2): Likewise. | |
6304 | (expand_vec_perm_vpermq_perm_1): Likewise. | |
6305 | (expand_vec_perm_vperm2f128): Likewise. | |
6306 | (expand_vec_perm_interleave3): Likewise. | |
6307 | (expand_vec_perm_vperm2f128_vblend): Likewise. | |
6308 | (expand_vec_perm_vpshufb2_vpermq): Likewise. | |
6309 | (expand_vec_perm_vpshufb2_vpermq_even_odd): Likewise,. | |
6310 | (expand_vec_perm_broadcast): Likewise. | |
6311 | (expand_vec_perm_vpshufb4_vpermq2): Likewise. | |
6312 | ||
1e5105ae | 6313 | 2012-03-30 Richard Henderson <rth@redhat.com> |
6314 | ||
6315 | * dwarf2out.c (gen_variable_die): Initialize off. | |
6316 | ||
b26acc64 | 6317 | 2012-03-30 Tristan Gingold <gingold@adacore.com> |
6318 | ||
6319 | * config/vms/vms-f.c: New file. | |
6320 | * config/vms/t-vms (vms-f.o): New rule. | |
6321 | * config.gcc (*-*-*vms*): Define fortran_target_objs. | |
6322 | ||
b97e39a0 | 6323 | 2012-03-30 Richard Guenther <rguenther@suse.de> |
6324 | ||
6325 | PR tree-optimization/52754 | |
6326 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Only | |
6327 | propagate arbitrary addresses into really plain dereferences. | |
6328 | ||
99cc6bba | 6329 | 2012-03-30 Richard Guenther <rguenther@suse.de> |
6330 | ||
6331 | PR middle-end/52772 | |
6332 | * except.c (emit_to_new_bb_before): Move loop updating ... | |
6333 | (dw2_build_landing_pads): ... here. Use a proper block for | |
6334 | querying the loop father. | |
6335 | ||
3cab3251 | 6336 | 2012-03-30 Tristan Gingold <gingold@adacore.com> |
6337 | ||
6338 | * config/ia64/ia64.c (ia64_section_type_flags): Remove | |
6339 | common_object attribute handling. | |
6340 | (SECTION_VMS_OVERLAY): Remove | |
6341 | (ia64_vms_common_object_attribute): Replace abort with an assert. | |
6342 | Do not set DECL_SECTION_NAME. | |
6343 | (ia64_vms_output_aligned_decl_common): Handle common_object | |
6344 | attribute. | |
6345 | (ia64_vms_elf_asm_named_section): Remove. | |
6346 | * config/ia64/vms.h (TARGET_ASM_NAMED_SECTION): Remove. | |
6347 | ||
24a49f00 | 6348 | 2012-03-30 Richard Guenther <rguenther@suse.de> |
6349 | ||
6350 | PR middle-end/52786 | |
6351 | * double-int.c (rshift_double): Remove not needed cast. | |
6352 | ||
d129ada0 | 6353 | 2012-03-30 Richard Guenther <rguenther@suse.de> |
6354 | ||
6355 | * tree-affine.h (print_aff): Remove. | |
6356 | * tree-affine.c (print_aff): Make static. | |
6357 | * tree-data-ref.h (access_matrix_get_index_for_parameter): Remove. | |
6358 | (get_references_in_stmt): Likewise. | |
6359 | (print_direction_vector): Likewise. | |
6360 | (print_dir_vectors): Likewise. | |
6361 | (print_dist_vectors): Likewise. | |
6362 | (dump_subscript): Likewise. | |
6363 | (dump_ddrs): Likewise. | |
6364 | (dump_dist_dir_vectors): Likewise. | |
6365 | (dump_data_references): Likewise. | |
6366 | (dump_data_dependence_relation): Likewise. | |
6367 | (dump_data_dependence_direction): Likewise. | |
6368 | (dump_rdg_vertex): Likewise. | |
6369 | (dump_rdg_component): Likewise. | |
6370 | (debug_ddrs): Declare. | |
6371 | (struct data_ref_loc_d): Move ... | |
6372 | * tree-data-ref.c (struct data_ref_loc_d): ... here. | |
6373 | (get_references_in_stmt): Make static. | |
6374 | (dump_data_references): Likewise. | |
6375 | (dump_subscript): Likewise. | |
6376 | (print_direction_vector): Likewise. | |
6377 | (print_dir_vectors): Likewise. | |
6378 | (print_dist_vectors): Likewise. | |
6379 | (dump_data_dependence_relation): Likewise. | |
6380 | (dump_dist_dir_vectors): Likewise. | |
6381 | (dump_ddrs): Likewise. | |
6382 | (dump_rdg_vertex): Likewise. | |
6383 | (dump_rdg_component): Likewise. | |
6384 | (debug_ddrs): New function. | |
6385 | (access_matrix_get_index_for_parameter): Remove. | |
6386 | ||
bbced055 | 6387 | 2012-03-30 Tristan Gingold <gingold@adacore.com> |
6388 | ||
6389 | * config/vms/vms.c (VMS_CRTL_FLOAT32): Rename. | |
6390 | (VMS_CRTL_FLOAT64, VMS_CRTL_FLOAT64_VAXD): New. | |
6391 | (VMS_CRTL_FLOAT128, VMS_CRTL_DPML, VMS_CRTL_NODMPL) | |
6392 | (VMS_CRTL_32ONLY, VMS_CRTL_G_MASK, VMS_CRTL_G_NONE) | |
6393 | (VMS_CRTL_GA, VMS_CRTL_GL, VMS_CRTL_FLOATV2): New. | |
6394 | (vms_patch_builtins): Handle new flags | |
6395 | * config/vms/vms-crtlmap.map: Completed using nm on | |
6396 | c and math system libraries. | |
6397 | * config/vms/make-crtlmap.awk: Handle any number of flags. | |
6398 | ||
1543f720 | 6399 | 2012-03-30 Martin Jambor <mjambor@suse.cz> |
6400 | ||
6401 | * tree-ssa-ccp.c (insert_clobbers_for_var): Do not assert that there | |
6402 | is a builtin_stack_save in a dominating BB. | |
6403 | ||
80f058cd | 6404 | 2012-03-29 Uros Bizjak <ubizjak@gmail.com> |
6405 | ||
6406 | * config/i386/sse.md (avx_h<plusminus_insn>v4df3): Fix results | |
6407 | crossing 128bit lane boundary. | |
6408 | ||
385bfbc6 | 6409 | 2012-03-29 Vladimir Makarov <vmakarov@redhat.com> |
6410 | ||
6411 | * ira-color.c (setup_left_conflict_sizes_p): Process all | |
6412 | conflicting objects. | |
6413 | ||
aa17a496 | 6414 | 2012-03-29 Jakub Jelinek <jakub@redhat.com> |
6415 | ||
6416 | PR tree-optimization/52760 | |
6417 | * tree-vect-slp.c (vect_get_constant_vectors): Convert constant_p | |
6418 | shift count for {L,R}{SHIFT,ROTATE}_EXPR to TREE_TYPE (vector_type). | |
6419 | ||
d2bb3f9d | 6420 | 2012-03-29 Richard Guenther <rguenther@suse.de> |
6421 | ||
6422 | * cgraph.h (cgraph_materialize_all_clones): Remove. | |
6423 | (reset_inline_failed): Likewise. | |
6424 | * cgraphunit.c (cgraph_materialize_all_clones): Make static. | |
6425 | * cgraphbuild.c (reset_inline_failed): Remove. | |
6426 | * rtl.h (cse_main): Remove. | |
6427 | (extended_count): Likewise. | |
6428 | * cse.c (dump_class): Mark as DEBUG_FUNCTION. | |
6429 | (cse_main): Make static. | |
6430 | * combine.c (extended_count): Remove. | |
6431 | (dump_combine_stats): Mark as DEBUG_FUNCTION. | |
6432 | * basic-block.h (reorder_basic_blocks): Remove. | |
6433 | * bb-reorder.c (reorder_basic_blocks): Make static. | |
6434 | * Makefile.in (dse.o): Remove dse.h dependency. | |
6435 | * dse.h: Remove. | |
6436 | * dse.c (gate_dse): Remove. | |
6437 | (clear_alias_mode_eq): Likewise. | |
6438 | (clear_alias_mode_hash): Likewise. | |
6439 | (dse_record_singleton_alias_set): Likewise. | |
6440 | (dse_invalidate_singleton_alias_set): Likewise. | |
6441 | ||
c0dc946a | 6442 | 2012-03-29 H.J. Lu <hongjiu.lu@intel.com> |
6443 | ||
6444 | * config/linux-android.h (ANDROID_STARTFILE_SPEC): Use | |
6445 | crtbegin_so%O%s for -shared. | |
6446 | (ANDROID_ENDFILE_SPEC): Use crtend_so%O%s for -shared. | |
6447 | ||
54879eec | 6448 | 2012-03-29 Richard Guenther <rguenther@suse.de> |
6449 | ||
6450 | * tree-flow.h (struct pre_expr_d): Remove forward declaration. | |
6451 | (add_to_value): Remove. | |
6452 | (print_value_expressions): Likewise. | |
6453 | * tree-ssa-pre.c (add_to_value): Make static. | |
6454 | (print_value_expressions): Likewise. | |
6455 | * gimple.h (gimple_adjust_this_by_delta): Remove. | |
6456 | * gimple-fold.c (gimple_adjust_this_by_delta): Likewise. | |
6457 | ||
e058414d | 6458 | 2012-03-29 Richard Guenther <rguenther@suse.de> |
6459 | ||
6460 | PR middle-end/50708 | |
6461 | * double-int.h (rshift_double): Remove. | |
4e0c0c52 | 6462 | * double-int.c (lshift_double): Use absu_hwi to make count positive. |
e058414d | 6463 | (rshift_double): Make static, take unsigned count argument, |
6464 | remove handling of negative count argument. | |
6465 | (double_int_rshift): Dispatch to lshift_double. | |
6466 | ||
bac6f1f6 | 6467 | 2012-03-28 H.J. Lu <hongjiu.lu@intel.com> |
6468 | ||
6469 | * config/i386/biarch64.h (TARGET_64BIT_DEFAULT): Add | |
6470 | OPTION_MASK_ABI_64. | |
6471 | ||
6472 | * config/i386/gnu-user64.h (SPEC_64): Support TARGET_BI_ARCH == 2. | |
6473 | (SPEC_X32): Likewise. | |
6474 | (MULTILIB_DEFAULTS): Likewise. | |
6475 | ||
6476 | * config/i386/i386.c (isa_opts): Remove -m64. | |
6477 | (ix86_target_string): Properly handle -m32/-m64/-mx32. | |
6478 | (ix86_option_override_internal): Properly | |
6479 | set OPTION_MASK_ISA_64BIT and OPTION_MASK_ISA_X32 as well as | |
6480 | handle -m32, -m64 and -mx32. | |
6481 | ||
6482 | * config/i386/i386.h (TARGET_X32): Replace OPTION_ISA_X32 | |
6483 | with OPTION_ABI_X32. Moved after TARGET_LP64. | |
6484 | (TARGET_LP64): Changed to OPTION_ABI_64. | |
6485 | ||
6486 | * config/i386/i386.opt (m64): Replace ISA_64BIT with ABI_64. | |
6487 | (mx32): Replace ISA_X32 with ABI_X32. | |
6488 | ||
b257ad5f | 6489 | 2012-03-28 Eric Botcazou <ebotcazou@adacore.com> |
6490 | ||
6491 | * tree.c (tree_size) <VECTOR_CST>: New case. | |
6492 | ||
df6b3006 | 6493 | 2012-03-28 Uros Bizjak <ubizjak@gmail.com> |
6494 | ||
6495 | * config/i386/i386.c (ix86_modes_tieable_p): Handle 32bit AVX modes. | |
6496 | (ix86_expand_vector_move_misalign): Remove un-needed gen_lowpart calls. | |
6497 | ||
891f5177 | 6498 | 2012-03-28 Jakub Jelinek <jakub@redhat.com> |
6499 | ||
e7ed5dd7 | 6500 | PR middle-end/52691 |
6501 | * tree-ssa-ccp.c (optimize_stdarg_builtin): Optimize | |
6502 | __builtin_va_start to __builtin_next_arg if the latter is | |
6503 | builtin_decl_explicit_p rather than when it is not. | |
6504 | ||
891f5177 | 6505 | PR middle-end/52750 |
6506 | * tree-vect-generic.c (vector_element): Perform multiplication | |
6507 | for pos in bitsizetype type instead of idx type. | |
6508 | ||
79f958cb | 6509 | 2012-03-28 Richard Guenther <rguenther@suse.de> |
6510 | ||
6511 | * loop-init.c (loop_optimizer_init): If loops are preserved | |
6512 | perform incremental initialization of required loop features. | |
6513 | (loop_optimizer_finalize): If loops are to be preserved only | |
6514 | clean up optional loop features. | |
6515 | (rtl_loop_done): Forcefully free loops here. | |
df6b3006 | 6516 | * cgraph.c (cgraph_release_function_body): Forcefully free loops. |
79f958cb | 6517 | * cfgexpand.c (expand_gimple_cond): Properly add new basic-blocks |
6518 | to existing loops. | |
6519 | (construct_init_block): Likewise. | |
6520 | (construct_exit_block): Likewise. | |
6521 | (gimple_expand_cfg): Clear LOOP_CLOSED_SSA loop state. Cleanup | |
6522 | the CFG after expanding. | |
df6b3006 | 6523 | * cfgloop.c (verify_loop_structure): Calculate or verify dominators. |
6524 | If we needed to calculate them, free them afterwards. | |
79f958cb | 6525 | * tree-pass.h (PROP_loops): New define. |
6526 | * tree-ssa-loop.c (pass_tree_loop_init): Provide PROP_loops. | |
6527 | * basic-block.h (CLEANUP_CFG_CHANGED): New. | |
6528 | * cfgcleanup.c (merge_blocks_move): Protect loop latches. | |
df6b3006 | 6529 | (cleanup_cfg): If we did something and have loops around, fix them up. |
79f958cb | 6530 | * cse.c (rest_of_handle_cse_after_global_opts): Call cleanup_cfg |
6531 | with CLEANUP_CFG_CHANGED. | |
6532 | * cfghooks.c (merge_blocks): If we merge a loop header into | |
6533 | its predecessor, update the loop structure. | |
6534 | (duplicate_block): If we copy a loop latch, adjust loop state | |
6535 | to note we may have multiple latches. | |
6536 | (delete_basic_block): Mark loops for fixup if we remove a loop. | |
6537 | * cfganal.c (forwarder_block_p): Protect loop latches, headers | |
6538 | and preheaders. | |
6539 | * cfgrtl.c (rtl_can_merge_blocks): Protect loop latches. | |
6540 | (cfg_layout_can_merge_blocks_p): Likewise. | |
6541 | * cprop.c (bypass_block): If we create a loop with multiple | |
6542 | entries, mark it for removal. | |
6543 | * except.c (emit_to_new_bb_before): Add the new basic-block | |
6544 | to existing loops. | |
6545 | * tree-eh.c (lower_resx): Likewise. | |
6546 | * omp-low.c (finalize_task_copyfn): Do not copy PROP_loops. | |
6547 | (expand_omp_taskreg): Likewise. | |
6548 | * tree-inline.c (initialize_cfun): Likewise. | |
6549 | * tree-mudflap.c (add_bb_to_loop): Prototype. | |
6550 | (mf_build_check_statement_for): Properly add new basic-blocks | |
6551 | to existing loops. | |
6552 | * tree-ssa-threadupdate.c (thread_block): Mark loops for fixup | |
6553 | if we remove a loop. | |
6554 | (thread_through_loop_header): Likewise. | |
6555 | * trans-mem.c (tm_log_emit_save_or_restores): Properly add | |
6556 | new basic-blocks to existing loops. | |
6557 | (expand_transaction): Likewise. | |
6558 | * Makefile.in (except.o): Add $(CFGLOOP_H). | |
6559 | (expr.o): Likewise. | |
6560 | (cgraph.o): Likewise. | |
6561 | (cprop.o): Likewise. | |
6562 | (cfgexpand.o): Likewise. | |
6563 | (cfganal.o): Likewise. | |
6564 | (trans-mem.o): Likewise. | |
6565 | (tree-eh.o): Likewise. | |
6566 | ||
58cf0091 | 6567 | 2012-03-28 Georg-Johann Lay <avr@gjlay.de> |
6568 | ||
6569 | PR target/52692 | |
6570 | * config/avr/avr.c (TARGET_BUILTIN_DECL): New define. | |
6571 | (avr_builtin_decl): New static function. | |
6572 | (struct avr_builtin_description, avr_bdesc): Move up. | |
6573 | Add GTY marker. Add field fndecl. Remove redundant field id. | |
6574 | (avr_init_builtins): Initialize avr_bdesc[ID].fndecl. | |
6575 | (avr_expand_builtin): Code cleanup because .id is removed. | |
6576 | ||
d32d7e3a | 6577 | 2012-03-28 Georg-Johann Lay <avr@gjlay.de> |
6578 | ||
6579 | PR target/52737 | |
6580 | * config.gcc (tm_file): Remove avr/multilib.h. | |
6581 | ||
df6b3006 | 6582 | * doc/invoke.texi (AVR Options): Adjust documentation of -mtiny-stack. |
d32d7e3a | 6583 | |
6584 | * config/avr/genmultilib.awk: Remove code to generate multilib.h. | |
6585 | (BEGIN): Use -msp8 as multilib option instead of -mtiny-stack. | |
6586 | * config/avr/t-avr: Remove generation of multilib.h. | |
6587 | * config/avr/t-multilib: Regenerate. | |
6588 | * config/avr/multilib.h: Remove. | |
6589 | * config/avr/avr.opt (-msp8): New option. | |
6590 | (avr_sp8): New variable. | |
6591 | * config/avr/driver-avr.c (avr_device_to_sp8): New function. | |
6592 | * config/avr/avr.h (AVR_HAVE_SPH): New define. | |
6593 | (AVR_HAVE_8BIT_SP): Also set by avr_sp8 i.e. -msp8. | |
6594 | (avr_device_to_sp8): New prototype. | |
6595 | (EXTRA_SPEC_FUNCTIONS): Add { "device_to_sp8", avr_device_to_sp8 } | |
6596 | (DRIVER_SELF_SPECS): New define. | |
6597 | * config/avr/avr-c.c (avr_cpu_cpp_builtins): New built-in defines: | |
6598 | __AVR_SP8__, __AVR_HAVE_SPH__. | |
6599 | * config/avr/avr.c (output_movhi): Use AVR_HAVE_SPH instead of | |
6600 | AVR_HAVE_8BIT_SP to decide if SP_H is present. | |
6601 | (avr_file_start): Ditto. | |
6602 | ||
9af8c7c5 | 6603 | 2012-03-28 Jakub Jelinek <jakub@redhat.com> |
6604 | ||
6605 | PR target/52736 | |
6606 | * config/i386/sse.md (sse2_loadlpd splitter): Use offset 0 | |
6607 | instead of 8 in adjust_address. | |
6608 | ||
cefa4c33 | 6609 | 2012-03-27 Aurelien Buhrig <aurelien.buhrig.gcc@gmail.com> |
6610 | ||
6611 | PR middle-end/51893 | |
6612 | * expmed.c (store_bit_field_1): Fix wordnum value for big-endian | |
6613 | targets. | |
6614 | ||
fa9db843 | 6615 | 2012-03-27 Oleg Endo <olegendo@gcc.gnu.org> |
6616 | ||
6617 | PR target/50751 | |
6618 | * config/sh/sh.c (sh_legitimize_address, sh_legitimize_reload_address): | |
6619 | Rearrange conditional logic. Move displacement address calculations | |
6620 | to ... | |
6621 | (sh_find_mov_disp_adjust): ... this new function. | |
6622 | ||
367d727c | 6623 | 2012-03-27 H.J. Lu <hongjiu.lu@intel.com> |
6624 | ||
6625 | * config/arm/arm.opt (mapcs): Remove MaskExists. | |
6626 | * config/cris/linux.opt (mno-gotplt): Likewise. | |
6627 | * config/i386/i386.opt (mhard-float): Likewise. | |
6628 | (msse4): Likewise. | |
6629 | (mno-sse4): Likewise. | |
6630 | * config/m68k/m68k.opt (mhard-float): Likewise. | |
6631 | * config/mep/mep.op (mcop32): Likewise. | |
6632 | * config/pa/pa-hpux.opt (msio): Likewise. | |
6633 | * config/pa/pa64-hpux.opt (mgnu-ld): Likewise. | |
6634 | * config/picochip/picochip.opt (mlittle): Likewise. | |
6635 | * config/sh/sh.opt (mrenesas): Likewise. | |
6636 | * config/sparc/long-double-switch.opt (mlong-double-128): Likewise. | |
6637 | * config/sparc/sparc.opt (mhard-float): Likewise. | |
6638 | * config/v850/v850.opt (mv850es): Likewise. | |
6639 | * config/vax/vax.opt (mg-float): Likewise. | |
6640 | ||
49c38e93 | 6641 | 2012-03-27 Martin Jambor <mjambor@suse.cz> |
6642 | ||
6643 | PR middle-end/52693 | |
6644 | * tree-sra.c (sra_modify_assign): Do not call | |
6645 | load_assign_lhs_subreplacements when working with an unscalarizable | |
6646 | region. | |
6647 | ||
77c42bd4 | 6648 | 2012-03-27 Uros Bizjak <ubizjak@gmail.com> |
6649 | ||
6650 | PR target/52698 | |
6651 | * config/i386/i386-protos.h (ix86_legitimize_reload_address): | |
6652 | New prototype. | |
6653 | * config/i386/i386.h (LEGITIMIZE_RELOAD_ADDRESS): New define. | |
6654 | * config/i386/i386.c: Include reload.h. | |
6655 | (ix86_legitimize_reload_address): New function. | |
6656 | ||
dbc6e347 | 6657 | 2012-03-27 H.J. Lu <hongjiu.lu@intel.com> |
6658 | ||
6659 | * opth-gen.awk: Allocated a bit for Mask and InverseMask if it | |
6660 | hasn't been allocated. Define a target macro for Mask and | |
77c42bd4 | 6661 | InverseMask if it hasn't been defined. Remove MaskExists handling. |
dbc6e347 | 6662 | |
0455e0da | 6663 | * doc/options.texi: Remove MaskExists. |
dbc6e347 | 6664 | |
6523974f | 6665 | 2012-03-27 Chung-Lin Tang <cltang@codesourcery.com> |
6666 | ||
6667 | PR target/52667 | |
6668 | * config/sh/sh.c (find_barrier): Add equality check of last_got | |
6669 | to avoid going above orig insn. Update comments. | |
6670 | ||
902123ad | 6671 | 2012-03-27 Richard Guenther <rguenther@suse.de> |
6672 | ||
6673 | PR middle-end/52720 | |
6674 | * fold-const.c (try_move_mult_to_index): Handle &x.array more | |
6675 | explicitely. | |
6676 | ||
73041e9b | 6677 | 2012-03-27 Eric Botcazou <ebotcazou@adacore.com> |
6678 | ||
6679 | * expmed.c (store_bit_field): Assert that BITREGION_START is a multiple | |
6680 | of a unit before computing the offset in units. | |
6681 | * expr.c (get_bit_range): Return the null range if the enclosing record | |
6682 | is part of a larger bit field. | |
6683 | ||
a2295d74 | 6684 | 2012-03-27 Tristan Gingold <gingold@adacore.com> |
6685 | ||
6686 | * config/ia64/vms.h (CASE_VECTOR_MODE): Define. | |
6687 | * config/ia64/ia64.md: Remove mode in template. | |
6688 | Sign extend operand in expand_simple_binop. | |
6689 | * config/ia64/ia64.h (ASM_OUTPUT_ADDR_DIFF_ELT): Use | |
6690 | CASE_VECTOR_MODE instead of TARGET_ILP32. | |
6691 | (ADDR_VEC_ALIGN): Make it depends on CASE_VECTOR_MODE. | |
6692 | ||
43d744c8 | 6693 | 2012-03-26 Steven Bosscher <steven@gcc.gnu.org> |
6694 | ||
6695 | * varasm.c (assemble_external): #if 0 out the new assert from the | |
6696 | previous commit, it breaks the Java and Go front ends. | |
6697 | ||
a723d770 | 6698 | 2012-03-26 Steven Bosscher <steven@gcc.gnu.org> |
6699 | ||
ea259bbe | 6700 | * toplev.c (check_global_declaration_1): Do not call assemble_external. |
6701 | * expr.c (emit_block_move_libcall_fn): Likewise. | |
6702 | (clear_storage_libcall_fn): Likewise. | |
6703 | (expand_expr_addr_expr_1): Likewise. | |
6704 | (expand_expr_real_1): Likewise. | |
6705 | * calls.c (rtx_for_function_call): Likewise. | |
6706 | ||
a723d770 | 6707 | * varasm.c (assemble_external): Assert this function is only called |
6708 | during or after expanding to RTL. | |
6709 | ||
7c2ed7d7 | 6710 | 2012-03-26 Martin Jambor <mjambor@suse.cz> |
6711 | ||
6712 | PR tree-optimization/50052 | |
6713 | * tree-sra.c (tree_non_aligned_mem_p): Removed. | |
6714 | (tree_non_aligned_mem_for_access_p): Likewise. | |
6715 | (build_accesses_from_assign): Removed strict alignment requirements | |
6716 | checks. | |
6717 | (access_precludes_ipa_sra_p): Likewise. | |
6718 | ||
58280b1f | 6719 | 2012-03-26 Richard Guenther <rguenther@suse.de> |
6720 | ||
6721 | PR tree-optimization/52701 | |
6722 | * tree-vect-loop.c (vect_analyze_scalar_cycles_1): Always | |
6723 | compute and set the evolution part of PHI nodes. | |
6724 | ||
a1dfcdd0 | 6725 | 2012-03-26 Richard Guenther <rguenther@suse.de> |
6726 | ||
6727 | PR tree-optimization/52721 | |
6728 | * tree-vect-stmts.c (vect_init_vector): Handle scalars. | |
6729 | ||
1c928a0c | 6730 | 2012-03-26 Ulrich Weigand <ulrich.weigand@linaro.org> |
6731 | ||
6732 | PR tree-optimization/52686 | |
6733 | * tree-vect-data-refs.c (vect_get_smallest_scalar_type): Handle | |
6734 | WIDEN_LSHIFT_EXPR. | |
6735 | ||
784576c7 | 6736 | 2012-03-26 Tristan Gingold <gingold@adacore.com> |
6737 | ||
6738 | * config/alpha/vms.h (LINK_SPEC): Simplify. | |
6739 | (STARTFILE_SPEC): Remove -mvms-return-codes handling. | |
6740 | (NAME__MAIN, SYMBOL__MAIN): Remove. | |
6741 | (VMS_DEBUG_MAIN_POINTER): Remove. | |
6742 | * config/ia64/vms.h: Likewise. | |
6743 | * config/alpha/alpha.c (alpha_start_function): Move vms_debug_main | |
6744 | code to vms.c. Call vms_start_function. | |
6745 | * config/ia64/ia64.c (ia64_start_function): Likewise. | |
6746 | * config/vms/vms-protos.h (vms_start_function): Declare. | |
6747 | * config/vms/vms.c (vms_start_function): New function. | |
6748 | * config/vms/vms.h (MATH_LIBRARY): Define. | |
6749 | (VMS_DEBUG_MAIN_POINTER): Define. | |
6750 | ||
ab3908c1 | 6751 | 2012-03-26 Eric Botcazou <ebotcazou@adacore.com> |
6752 | ||
6753 | PR rtl-optimization/52629 | |
6754 | * reload1.c (count_pseudo): Short-circuit common case. | |
6755 | (count_spilled_pseudo): Return early for pseudos without hard regs. | |
6756 | Assert that the pseudo has got a hard reg before manipulating it. | |
6757 | ||
4dca9aca | 6758 | 2012-03-24 Jan Hubicka <jh@suse.cz> |
6759 | ||
6760 | PR lto/51663 | |
6761 | * varpool.c (varpool_finalize_decl): Handle toplevel_reorder here. | |
6762 | (decide_is_variable_needed): Do not handle toplevel reorder here. | |
6763 | * cgraph.h (varpool_can_remove_if_no_refs): Likewise. | |
6764 | * ipa.c (cgraph_remove_unreachable_nodes): Remove unreachable vars | |
6765 | even at -O0. | |
6766 | ||
40715742 | 6767 | 2012-03-24 Eric Botcazou <ebotcazou@adacore.com> |
6768 | ||
6769 | * expr.c (optimize_bitfield_assignment_op) <BIT_IOR_EXPR>: Use str_mode | |
6770 | and str_bitsize instead of more convoluted expressions. | |
6771 | ||
4b552df4 | 6772 | 2012-03-24 Eric Botcazou <ebotcazou@adacore.com> |
6773 | ||
6774 | PR target/52610 | |
6775 | * config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=leon. | |
6776 | ||
29c08f56 | 6777 | 2012-03-24 Eric Botcazou <ebotcazou@adacore.com> |
6778 | ||
6779 | PR target/52656 | |
6780 | * config/sparc/sparc.c (sparc_handle_vis_mul8x16): Fix pasto. | |
6781 | ||
a00d04d2 | 6782 | 2012-03-23 Martin Jambor <mjambor@suse.cz> |
6783 | ||
6784 | * tree-sra.c (build_accesses_from_assign): Remove FIXME comment. | |
6785 | ||
86faead7 | 6786 | 2012-03-23 Richard Guenther <rguenther@suse.de> |
6787 | ||
6788 | PR tree-optimization/52678 | |
6789 | * tree-vectorizer.h (struct _stmt_vec_info): Add | |
6790 | loop_phi_evolution_part member. | |
6791 | (STMT_VINFO_LOOP_PHI_EVOLUTION_PART): New define. | |
6792 | * tree-vect-loop.c (vect_analyze_scalar_cycles_1): Initialize | |
6793 | STMT_VINFO_LOOP_PHI_EVOLUTION_PART. | |
6794 | * tree-vect-loop-manip.c (vect_update_ivs_after_vectorizer): | |
6795 | Use the cached evolution part and the PHI nodes value from | |
6796 | the loop preheader edge instead of re-analyzing the evolution. | |
6797 | ||
af1bc032 | 6798 | 2012-03-22 Maxim Kuvyrkov <maxim@codesourcery.com> |
6799 | ||
6800 | * config/mips/mips-tables.opt: Update. | |
6801 | * config/mips/mips.md (processor): Add xlp. | |
6802 | * config/mips/mips-cpus.def: Add xlp. | |
6803 | * config/mips/mips.c (mips_rtx_cost_data): Add costs for XLP, copy from | |
6804 | 5KF for now. | |
6805 | * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Handle xlp. | |
6806 | * doc/invoke.texi: Mention XLP. | |
6807 | ||
2ea94a74 | 6808 | 2012-03-22 Jakub Jelinek <jakub@redhat.com> |
6809 | ||
6810 | PR middle-end/52547 | |
6811 | * tree-nested.c (convert_tramp_reference_stmt): Call declare_vars | |
6812 | on any new_local_var_chain vars declared during recursing on | |
6813 | GIMPLE_OMP_PARALLEL or GIMPLE_OMP_TASK body. | |
6814 | ||
af3c0d00 | 6815 | 2012-03-22 Uros Bizjak <ubizjak@gmail.com> |
6816 | ||
6817 | * config/alpha/alpha.h (ASM_OUTPUT_ALIGN): Move to config/alpha/elf.h | |
6818 | (ASM_OUTPUT_SKIP): Move to config/alpha/vms.h | |
6819 | (ASM_OUTPUT_LOCAL): Ditto. | |
6820 | (ASM_OUTPUT_COMMON): Remove. | |
6821 | * config/alpha/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Use ASM_OUTPUT_DEF. | |
6822 | * config/alpha/vms.h (ASM_OUTPUT_ALIGN): Do not undefine before define. | |
6823 | ||
41710b76 | 6824 | 2012-03-22 Jan Hubicka <jh@suse.cz> |
6825 | ||
6826 | PR middle-end/51737 | |
6827 | * cgraph.c (cgraph_remove_node_and_inline_clones): Add FORBIDDEN_NODE | |
6828 | parameter. | |
6829 | * cgraph.h (cgraph_remove_node_and_inline_clones): Update prototype. | |
af3c0d00 | 6830 | * ipa-inline-transform.c (save_inline_function_body): Remove |
6831 | copied clone if needed. | |
41710b76 | 6832 | * tree-inline.c (delete_unreachable_blocks_update_callgraph): Update. |
6833 | ||
1957dffb | 6834 | 2012-03-22 Richard Guenther <rguenther@suse.de> |
6835 | ||
6836 | PR middle-end/52666 | |
6837 | * fold-const.c (fold_ternary_loc): Fix typo. | |
6838 | ||
4349a1fa | 6839 | 2012-03-22 Georg-Johann Lay <avr@gjlay.de> |
6840 | ||
6841 | PR target/52496 | |
6842 | * config/avr/avr.md (unspec): Remove UNSPEC_MEMORY_BARRIER. | |
6843 | (unspecv): Add UNSPECV_MEMORY_BARRIER. | |
6844 | (cli_sei): Use unspec_volatile instead of unspec for memory barrier. | |
6845 | (delay_cycles_1, delay_cycles_2): Ditto. | |
6846 | (delay_cycles_3, delay_cycles_4): Ditto. | |
6847 | (nopv, *nopv): Ditto. | |
6848 | (sleep, *sleep): Ditto. | |
6849 | (wdr, *wdr): Ditto. | |
6850 | ||
3fd927c9 | 6851 | 2012-03-22 Richard Guenther <rguenther@suse.de> |
6852 | ||
6853 | PR tree-optimization/52548 | |
6854 | * tree-ssa-pre.c (valid_in_sets): Remove handling of invalidation | |
6855 | because of clobbers. | |
6856 | (prune_clobbered_mems): New function. | |
6857 | (compute_antic_aux): Use it to prune ANTIC_OUT. | |
6858 | (compute_partial_antic_aux): Use it to prune PA_IN. | |
af3c0d00 | 6859 | (compute_avail): Only insert expressions into EXP_GEN that are not |
6860 | invalidated when translated up to the beginning of the block. | |
3fd927c9 | 6861 | |
8ca02f71 | 6862 | 2012-03-22 Richard Guenther <rguenther@suse.de> |
6863 | ||
6864 | PR tree-optimization/52638 | |
6865 | * tree-vect-stmts.c (vect_init_vector_1): New function, split | |
6866 | out from ... | |
6867 | (vect_init_vector): ... here. Handle scalar vector inits. | |
6868 | (vect_get_vec_def_for_operand): Adjust. | |
6869 | (vectorizable_load): Likewise. | |
6870 | ||
a25bf392 | 6871 | 2012-03-22 Uros Bizjak <ubizjak@gmail.com> |
6872 | ||
6873 | * config.gcc (alpha*-*-linux*): Add elfos.h to tm_file. | |
6874 | (alpha*-*-freebsd*): Ditto. | |
6875 | (alpha*-*-netbsd*): Ditto. | |
6876 | (alpha*-*-openbsd*): Ditto. | |
6877 | * config/alpha/elf.h (OBJECT_FORMAT_ELF): Remove. | |
6878 | (DWARF2_DEBUGGING_INFO): Remove. | |
6879 | (PREFERRED_DEBUGGING_TYPE): Remove. | |
6880 | (ASM_FINAL_SPEC): Remove. | |
6881 | (IDENT_ASM_OP): Remove. | |
6882 | (ASM_OUTPUT_IDENT): Remove. | |
6883 | (SKIP_ASM_OP): Remove. | |
6884 | (ASM_OUTPUT_SKIP): Remove. | |
6885 | (ALIGN_ASM_OP): Remove. | |
6886 | (ASM_OUTPUT_BEFORE_CASE_LABEL): Remove. | |
6887 | (ASM_OUTPUT_CASE_LABEL): Remove. | |
6888 | (ASM_OUTPUT_EXTERNAL_LIBCALL): Remove. | |
6889 | (COMMON_ASM_OP): Remove. | |
6890 | (ASM_OUTPUT_ALIGNED_COMMON): Remove. | |
6891 | (ASCII_DATA_ASM_OP): Remove. | |
6892 | (READONLY_DATA_SECTION_ASM_OP): Remove. | |
6893 | (INIT_SECTION_ASM_OP): Remove. | |
6894 | (FINI_SECTION_ASM_OP): Remove. | |
6895 | (ASM_SECTION_START_OP): Remove. | |
6896 | (ASM_OUTPUT_SECTION_START_FILE): Remove. | |
6897 | (TARGET_ASM_NAMED_SECTION): Remove. | |
6898 | (TARGET_ASM_SELECT_SECTION): Remove. | |
6899 | (MAKE_DECL_ONE_ONLY): Remove. | |
6900 | (TYPE_ASM_OP): Remove. | |
6901 | (SIZE_ASM_OP): Remove. | |
6902 | (ASM_WEAKEN_LABEL): Remove. | |
6903 | (TYPE_OPERAND_FMT): Remove. | |
6904 | (ASM_DECLARE_RESULT): Remove. | |
6905 | (ASM_DECLARE_OBJECT_NAME): Remove. | |
6906 | (ASM_FINISH_DECLARE_OBJECT): Remove. | |
6907 | (ELF_ASCII_ESCAPES): Remove. | |
6908 | (ELF_STRING_LIMIT): Remove. | |
6909 | (STRING_ASM_OP): Remove. | |
6910 | (ASM_OUTPUT_EXTERNAL): Remove. | |
6911 | (TARGET_ASM_FILE_START_FILE_DIRECTIVE): Redefine to false. | |
6912 | * config/alpha/alpha.h (PCC_BITFIELD_TYPE_MATTERS): Undefine | |
6913 | before define. | |
6914 | (ASM_DECLARE_FUNCTION_NAME): Ditto. | |
6915 | (ASM_DECLARE_FUNCTION_SIZE): Ditto. | |
6916 | (ASM_GENERATE_INTERNAL_LABEL): Ditto. | |
6917 | (ASM_OUTPUT_SKIP): Ditto. | |
6918 | (READONLY_DATA_SECTION_ASM_OP): Remove. | |
6919 | (USER_LABEL_PREFIX): Remove. | |
6920 | (ASM_OUTPUT_ASCII): Remove. | |
6921 | (ASM_OUTPUT_CASE_LABEL): Remove. | |
6922 | (NO_DOLLAR_IN_LABEL): Undefine. | |
6923 | ||
38847948 | 6924 | 2012-03-22 Richard Guenther <rguenther@suse.de> |
6925 | ||
6926 | PR tree-optimization/52459 | |
6927 | * tree-ssa-pre.c (inhibit_phi_insertion): Do not inhibit | |
6928 | PHI insertion for calls. | |
6929 | ||
2aca5650 | 6930 | 2012-03-21 Steven Bosscher <steven@gcc.gnu.org> |
6931 | ||
6932 | * cse.c (invalidate_from_sets_and_clobbers, try_back_substitute_reg, | |
6933 | find_sets_in_insn, canonicalize_insn): Split out from ... | |
6934 | (cse_insn): ... here. | |
6935 | (invalidate_from_clobbers): Take an insn instead of the pattern. | |
6936 | ||
237a2429 | 6937 | 2012-03-21 Oleg Endo <olegendo@gcc.gnu.org> |
6938 | ||
6939 | PR target/52479 | |
6940 | * config/sh/sh-protos.h (sh_fsca_df2int): Remove. | |
6941 | * config/sh/sh.c (sh_fsca_df2int_rtx, sh_fsca_df2int): Remove. | |
6942 | * config/sh/sh.md (sindf2, cosdf2): Remove. | |
6943 | ||
8fe7656f | 6944 | 2012-03-21 Kaz Kojima <kkojima@gcc.gnu.org> |
6945 | ||
b45e6434 | 6946 | PR target/52642 |
8fe7656f | 6947 | * config/sh/sh.c (sh_expand_prologue): Emit blockage at the end of |
a25bf392 | 6948 | prologue for unwinder and profiler. |
8fe7656f | 6949 | |
2ac000bb | 6950 | 2012-03-21 Andreas Tobler <andreast@fgznet.ch> |
6951 | ||
6952 | * configure.ac (HAVE_LD_NO_DOT_SYMBOLS): Add powerpc64-*-freebsd*. | |
6953 | Introduce emul_name to select the right linker emulation for | |
6954 | powerpc64-*-freebsd*. | |
6955 | * configure: Regenerate. | |
6956 | * config.gcc: Add bits to support powerpc64-*-freebsd*. | |
6957 | * config/rs6000/freebsd.h (POWERPC_FREEBSD): Define. | |
6958 | * config/rs6000/freebsd64.h: New file. | |
6959 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Use | |
6960 | POWERPC_FREEBSD. | |
6961 | (rs6000_savres_strategy): Likewise. | |
6962 | (rs6000_savres_routine_name): Likewise. | |
6963 | (rs6000_elf_file_end): Likewise. | |
6964 | * config/rs6000/t-freebsd64: New file. | |
6965 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Set the | |
6966 | rs6000_current_abi for 64-bit FreeBSD to ABI_AIX. | |
6967 | ||
d018c468 | 6968 | * config/rs6000/freebsd64.h: Remove duplicated entries from last |
6969 | commit. | |
6970 | * config/rs6000/t-freebsd64: Likewise. | |
6971 | ||
002565f0 | 6972 | 2012-03-21 Georg-Johann Lay <avr@gjlay.de> |
6973 | ||
6974 | PR rtl-optimization/52543 | |
6975 | PR target/52461 | |
6976 | * config/avr/avr-protos.h (avr_load_lpm): New prototype. | |
6977 | * config/avr/avr.c (avr_mode_dependent_address_p): New function. | |
6978 | (TARGET_MODE_DEPENDENT_ADDRESS_P): New define. | |
6979 | (avr_load_libgcc_p): Restrict to __flash loads. | |
6980 | (avr_out_lpm): Only handle 1-byte loads from __flash. | |
6981 | (avr_load_lpm): New function. | |
6982 | (avr_find_unused_d_reg): Remove. | |
6983 | (avr_out_lpm_no_lpmx): Remove. | |
6984 | (adjust_insn_length): Handle ADJUST_LEN_LOAD_LPM. | |
6985 | * config/avr/avr.md (unspec): Add UNSPEC_LPM. | |
6986 | (load_<mode>_libgcc): Use UNSPEC_LPM instead of MEM. | |
6987 | (load_<mode>, load_<mode>_clobber): New insns. | |
6988 | (mov<mode>): For multi-byte move from non-generic | |
6989 | 16-bit address spaces: Expand to load_<mode> resp. | |
6990 | load_<mode>_clobber. | |
6991 | (load<mode>_libgcc): Remove expander. | |
6992 | (split-lpmx): Remove split. | |
6993 | ||
cd4e07db | 6994 | 2012-03-21 Richard Earnshaw <rearnsha@arm.com> |
6995 | ||
6996 | * neon.md (neon_vget_lanev2di): Use gen_lowpart and gen_highpart. | |
6997 | * config/arm/neon.ml (Fixed_return_reg): Renamed to fixed_vector_reg. | |
6998 | All callers changed. | |
6999 | (Fixed_core_reg): New feature. | |
7000 | (Vget_lane [sizes S64 and U64]): Add Fixed_core_reg. Allow fmrrd in | |
7001 | disassembly. | |
7002 | * neon-testgen.ml: Handle Fixed_core_reg. | |
7003 | ||
ae1dbab8 | 7004 | 2012-03-21 Andrew Stubbs <ams@codesourcery.com> |
7005 | ||
7006 | * config/arm/arm.c (thumb2_reorg): Add complete support | |
7007 | for 16-bit instructions. | |
7008 | * config/arm/thumb2.md: Delete obsolete flag-clobbering peepholes. | |
7009 | ||
6fa78636 | 7010 | 2012-03-21 Richard Guenther <rguenther@suse.de> |
7011 | ||
7012 | PR tree-optimizer/52636 | |
7013 | * tree-vect-slp.c (vect_get_constant_vectors): Convert constants | |
7014 | to the appropriate type. | |
7015 | ||
212dddd3 | 7016 | 2012-03-21 Richard Guenther <rguenther@suse.de> |
7017 | ||
7018 | * Makefile.in (cfgexpand.o): Add $(REGS_H) and $(INTEGRATE_H) | |
7019 | dependencies. | |
7020 | * cfgexpand.c (gimple_expand_cfg): Fold in pass_init_function, | |
7021 | pass_jump, pass_initial_value_sets and pass_unshare_all_rtl. | |
7022 | * passes.c (init_optimization_passes): Remove pass_init_function, | |
7023 | pass_jump, pass_initial_value_sets and pass_unshare_all_rtl. | |
7024 | * tree-pass.h (pass_init_function): Remove. | |
7025 | (pass_jump): Remove. | |
7026 | (pass_initial_value_sets): Remove. | |
7027 | (pass_unshare_all_rtl): Remove. | |
7028 | * integrate.c (pass_initial_value_sets): Remove. | |
7029 | * emit-rtl.c (pass_unshare_all_rtl): Remove. | |
7030 | * tree.h (init_function_for_compilation): Remove. | |
7031 | * function.c (init_function_for_compilation): Remove. | |
7032 | (pass_init_function): Remove. | |
7033 | * cfgcleanup.c (rest_of_handle_jump): Remove. | |
7034 | (pass_jump): Remove. | |
7035 | ||
358f9d96 | 7036 | 2012-03-20 Jason Merrill <jason@redhat.com> |
7037 | ||
7038 | * tree-streamer-in.c (streamer_alloc_tree): Call | |
7039 | ggc_alloc_zone_cleared_tree_node instead of | |
7040 | ggc_alloc_zone_cleared_tree_node_stat. | |
7041 | ||
6ad63f69 | 7042 | 2012-03-20 Jonathan Wakely <jwakely.gcc@gmail.com> |
7043 | ||
7044 | * doc/extend.texi (Template Instantiation): Remove anachronisms. | |
7045 | ||
541e350d | 7046 | 2012-03-20 Jakub Jelinek <jakub@redhat.com> |
7047 | ||
0b991a69 | 7048 | PR target/52607 |
7049 | * config/i386/i386.c (expand_vec_perm_vperm2f128): New function. | |
7050 | (ix86_expand_vec_perm_const_1): Call it. | |
7051 | ||
245c00ec | 7052 | * config/i386/i386.c (vselect_insn): New variable. |
7053 | (init_vselect_insn): New function. | |
7054 | (expand_vselect, expand_vselect_insn): Add testing_p argument. | |
7055 | Call init_vselect_insn if vselect_insn is NULL. Adjust | |
7056 | PATTERN (vselect_insn), instead of creating a new insn each time, | |
7057 | only emit a copy of it if not testing and recog has been successful. | |
7058 | (expand_vec_perm_pshufb, expand_vec_perm_1, | |
7059 | expand_vec_perm_pshuflw_pshufhw, expand_vec_perm_broadcast_1): Adjust | |
7060 | callers. | |
7061 | ||
541e350d | 7062 | PR target/52607 |
7063 | * config/i386/i386.md ("isa" attribute): Add avx2 and noavx2. | |
7064 | ("enabled" attribute): Handle avx2 and noavx2 isas. | |
7065 | * config/i386/sse.md (avx2_vec_dupv8sf_1, avx2_pbroadcast<mode>_1): | |
7066 | New insns. | |
7067 | (vec_dup<mode>): Add avx2 =x,x alternative. | |
7068 | (vec_dup<mode> splitter): Don't split if TARGET_AVX2. | |
7069 | (*avx_vperm_broadcast_<mode>): Don't split V4DFmode if TARGET_AVX2. | |
7070 | For TARGET_AVX2, V8SFmode and elt == 0 split into vbroadcastss. | |
7071 | * config/i386/i386.c (expand_vec_perm_pshufb): Emit also vpermps | |
7072 | for V8SFmode. | |
7073 | (expand_vec_perm_1): For broadcasts, use avx2_pbroadcast<mode>_1 | |
7074 | if possible, handle also V8SFmode. | |
7075 | ||
1987d213 | 7076 | 2012-03-20 Richard Earnshaw <rearnsha@arm.com> |
7077 | ||
7078 | * arm/predicates.md (zero_operand, reg_or_zero_operand): New predicates. | |
7079 | * arm/neon.md (neon_vceq<mode>, neon_vcge<mode>): Use | |
7080 | reg_or_zero_operand predicate. | |
7081 | (neon_vcle<mode>, neon_vclt<mode>): Use zero_operand predicate. | |
7082 | ||
17113bf6 | 7083 | 2012-03-20 Jakub Jelinek <jakub@redhat.com> |
7084 | ||
7085 | * config/i386/i386.c (ix86_decompose_address) <case ZERO_EXTEND>: | |
7086 | If operand isn't UNSPEC, return 0. | |
7087 | ||
1dd4980f | 7088 | 2012-03-20 Richard Guenther <rguenther@suse.de> |
7089 | ||
7090 | * tree-pass.h (pass_rtl_eh): Remove. | |
7091 | * except.c (gate_handle_eh): Likewise. | |
7092 | (rest_of_handle_eh): Likewise. | |
7093 | (pass_rtl_eh): Likewise. | |
7094 | (finish_eh_generation): Export. | |
7095 | * except.h (finish_eh_generation): Declare. | |
7096 | * passes.c (init_optimization_passes): Remove pass_rtl_eh. | |
7097 | * cfgexpand.c (gimple_expand_cfg): Call finish_eh_generation | |
7098 | after expanding stack alignment. Instead of compacting blocks | |
7099 | call cleanup_cfg. | |
7100 | ||
fa42e1a4 | 7101 | 2012-03-20 Richard Guenther <rguenther@suse.de> |
7102 | ||
7103 | * stor-layout.c (finish_bitfield_representative): Fallback | |
7104 | to conservative maximum size if the padding up to the next | |
7105 | field cannot be computed as a constant. | |
7106 | (finish_bitfield_layout): If we cannot compute the distance | |
7107 | between the start of the bitfield representative and the | |
7108 | bitfield member start a new representative. | |
7109 | * expr.c (get_bit_range): The distance between the start of | |
7110 | the bitfield representative and the bitfield member is zero | |
7111 | if the field offsets are not constants. | |
7112 | ||
748e5d45 | 7113 | 2012-03-20 Tristan Gingold <gingold@adacore.com> |
7114 | ||
7115 | * tree.h (enum size_type_kind): Add stk_ prefix to constants, | |
7116 | convert in lowercase. | |
7117 | (sizetype_tab, sizetype, bitsizetype, ssizetype, sbitsizetype) | |
7118 | (size_int, ssize_int, bitsize_int, sbitsize_int): Adjust. | |
7119 | * stor-layout.c (sizetype_tab): Adjust. | |
7120 | (initialize_sizetypes): Use SIZETYPE instead of SIZE_TYPE. | |
7121 | * tree-streamer.c (preload_common_nodes): Use stk_type_kind_last | |
7122 | instead of type_kind_last. | |
7123 | * tree-scalar-evolution.c (interpret_rhs_expr): Use size_int | |
7124 | instead of size_int_kind. | |
7125 | * doc/tm.texi.in (Type Layout): Document SIZETYPE. | |
7126 | * doc/tm.texi: Regenerate. | |
7127 | * defaults.h (SIZETYPE): Provide a default value. | |
7128 | * config/vms/vms.h (SIZE_TYPE): Define as "unsigned int". | |
7129 | (SIZETYPE): Define. | |
7130 | ||
a0554dde | 7131 | 2012-03-20 Oleg Endo <olegendo@gcc.gnu.org> |
7132 | ||
7133 | * config/sh/sh.md: Use braced string notation where applicable. | |
7134 | ||
ee1d2eea | 7135 | 2012-03-19 Uros Bizjak <ubizjak@gmail.com> |
7136 | ||
7137 | * config/i386/i386.md (allocate_stack): Simplify. | |
7138 | ||
99182918 | 7139 | 2012-03-19 Uros Bizjak <ubizjak@gmail.com> |
7140 | ||
7141 | * builtins.c (expand_builtin_cexpi): Use copy_addr_to_reg instead of | |
7142 | copy_to_mode_reg (Pmode, ...). | |
7143 | (expand_builtin_frame_address): Ditto. | |
7144 | * expr.c (emit_block_move_via_libcall): Ditto. | |
7145 | (set_storage_via_libcall): Ditto. | |
7146 | ||
7147 | * config/i386/i386.c (ix86_expand_movmem): Ditto. | |
7148 | (ix86_expand_setmem): Ditto. | |
7149 | (ix86_trampoline_init): DItto. | |
7150 | * config/i386/i386.md (cmpstrnsi): Ditto. | |
99182918 | 7151 | |
11e875c9 | 7152 | 2012-03-19 Sandra Loosemore <sandra@codesourcery.com> |
7153 | ||
7154 | * config/sh/sh.opt (madjust-unroll): Mark as ignored/obsolete. | |
7155 | * config/sh/sh.h (TARGET_OPT_DEFAULT): Don't use MASK_ADJUST_UNROLL. | |
7156 | * doc/invoke.texi (Option Summary): Remove -madjust-unroll. | |
7157 | (SH Options): Likewise. | |
7158 | ||
0a722f4b | 7159 | 2012-03-19 Uros Bizjak <ubizjak@gmail.com> |
7160 | ||
7161 | * config/i386/i386.c (get_thread_pointer): Add tp_mode argument. | |
7162 | Generate ZERO_EXTEND in place if GET_MODE (tp) != tp_mode. | |
7163 | (legitimize_tls_address) <TLS_MODEL_INITIAL_EXEC>: Always generate | |
7164 | DImode UNSPEC_GOTNTPOFF references on TARGET_64BIT. | |
7165 | (ix86_decompose_address): Allow zero extended UNSPEC_TP references. | |
7166 | ||
7167 | Revert: | |
7168 | 2012-03-13 Uros Bizjak <ubizjak@gmail.com> | |
7169 | ||
7170 | * config/i386/i386.h (TARGET_TLS_INDIRECT_SEG_REFS): New. | |
7171 | * config/i386/i386.c (ix86_decompose_address): Use | |
7172 | TARGET_TLS_INDIRECT_SEG_REFS to prevent %fs:(%reg) addresses. | |
7173 | (legitimize_tls_address): Use TARGET_TLS_INDIRECT_SEG_REFS to load | |
7174 | thread pointer to a register. | |
7175 | ||
7176 | Revert: | |
7177 | 2012-03-10 H.J. Lu <hongjiu.lu@intel.com> | |
7178 | ||
7179 | * config/i386/i386.c (ix86_decompose_address): Disallow fs:(reg) | |
7180 | if Pmode != word_mode. | |
7181 | (legitimize_tls_address): Call gen_tls_initial_exec_x32 if | |
7182 | Pmode == SImode for TARGET_X32. | |
7183 | ||
7184 | * config/i386/i386.md (UNSPEC_TLS_IE_X32): New. | |
7185 | (tls_initial_exec_x32): Likewise. | |
7186 | ||
89cace00 | 7187 | 2012-03-19 Oleg Endo <olegendo@gcc.gnu.org> |
7188 | ||
7189 | PR target/50751 | |
7190 | * config/sh/sh.h (CONST_OK_FOR_K04, CONST_OK_FOR_K12, DISP_ADDR_P, | |
7191 | DISP_ADDR_OFFSET): New macros. | |
7192 | * config/sh/sh.c (sh_address_cost): Add SH2A special case. | |
7193 | (sh_legitimate_index_p): Allow QImode displacements for non-SH2A. | |
7194 | (sh_legitimize_address): Add QImode displacement handling. | |
0a722f4b | 7195 | (sh_cannot_change_mode_class): Disallow GENERAL_REGS for SFmode |
89cace00 | 7196 | vector subregs. |
7197 | (sh_secondary_reload): Add QImode displacement handling. | |
7198 | * config/sh/predicates.md (movsrc_no_disp_mem_operand): New predicate. | |
5efe717c | 7199 | * config/sh/constraints.md (K04, Snd, Sdd): New constraints. |
7200 | * config/sh/sh.md (extendqisi2): Remove constraints from expander. | |
7201 | (*extendqisi2_compact): Rename to *extendqisi2_compact_reg, restrict | |
7202 | to register operands only. | |
7203 | (*extendqisi2_compact_mem_disp, *extendqisi2_compact_snd): New insns. | |
7204 | (extendqihi2): Change insn to expander. | |
7205 | (*extendqihi2_compact_reg): New insn. | |
7206 | (movqi_i, movqi): Replace with ... | |
7207 | (movqi, *movqi_reg_reg, *movqi_store_mem_disp12, | |
7208 | *movqi_load_mem_disp, *movqi_load_mem_disp): ... these. | |
7209 | Add new peepholes for QImode displacement addressing. | |
89cace00 | 7210 | |
62206d34 | 7211 | 2012-03-19 Paolo Carlini <paolo.carlini@oracle.com> |
7212 | ||
7213 | PR c++/14710 | |
7214 | * doc/invoke.texi: Document -Wuseless-cast. | |
7215 | ||
c165a033 | 7216 | 2012-03-19 Eric Botcazou <ebotcazou@adacore.com> |
7217 | ||
7218 | * tree.def (REALPART_EXPR, IMAGPART_EXPR, VIEW_CONVERT_EXPR): Move. | |
7219 | * tree.h (handled_component_p): Reorder cases. | |
7220 | * dwarf2out.c (loc_list_for_address_of_addr_expr_of_indirect_ref): Do | |
7221 | not initialize unsignedp. | |
7222 | (loc_list_from_tree): Likewise. | |
7223 | (fortran_common): Likewise. | |
7224 | * simplify-rtx.c (delegitimize_mem_from_attrs): Likewise. | |
7225 | ||
a8b2b958 | 7226 | 2012-03-19 Uros Bizjak <ubizjak@gmail.com> |
7227 | ||
7228 | * config/i386/i386.c (ix86_expand_prologue) <CM_LARGE_PIC>: Use Pmode | |
7229 | mode consistently. Use ix86_gen_add3. Assert that Pmode == DImode. | |
7230 | (ix86_expand_split_stack_prologue): Use ix86_gen_add3. | |
7231 | (ix86_split_long_move): Ditto. | |
7232 | (legitimize_tls_address): Use ix86_gen_sub3. | |
7233 | (construct_plt_address): Assert that Pmode == DImode. | |
7234 | ||
abd4f58b | 7235 | 2012-03-18 Uros Bizjak <ubizjak@gmail.com> |
7236 | ||
7237 | * config/i386/i386.md: Remove empty predicates and/or constraints. | |
7238 | * config/i386/sync.md: Ditto. | |
7239 | * config/i386/sse.md: Ditto. | |
7240 | * config/i386/mmx.md: Ditto. | |
7241 | * config/i386/pentium.md: Ditto. | |
7242 | * config/i386/athlon.md: Ditto. | |
7243 | ||
08f83b65 | 7244 | 2012-03-16 Richard Guenther <rguenther@suse.de> |
7245 | ||
7246 | PR tree-optimization/52603 | |
7247 | * tree-vect-data-refs.c (vect_can_force_dr_alignment_p): Clarify | |
7248 | comment. | |
7249 | ||
7250 | Revert | |
7251 | 2012-03-14 Richard Guenther <rguenther@suse.de> | |
7252 | ||
7253 | PR tree-optimization/52571 | |
7254 | * tree-vect-data-refs.c (vect_compute_data_ref_alignment): Move | |
7255 | flag_section_anchors check ... | |
7256 | (vect_can_force_dr_alignment_p): ... here. | |
7257 | ||
e2c56221 | 7258 | 2012-03-16 Martin Jambor <mjambor@suse.cz> |
7259 | ||
c165a033 | 7260 | * expr.c (expand_expr_real_1): Handle misaligned scalar reads from |
e2c56221 | 7261 | memory through MEM_REFs by calling extract_bit_field. |
7262 | ||
7e5db579 | 7263 | 2012-03-16 Richard Guenther <rguenther@suse.de> |
7264 | ||
7265 | * fold-const.c (native_interpret_expr): Also support POINTER_TYPE | |
7266 | and REFERENCE_TYPE interpretations. | |
7267 | (can_native_interpret_type_p): New function. | |
7268 | (fold_ternary_loc): Use native encode/interpret to fold | |
7269 | BIT_FIELD_REFs of constants. | |
7270 | ||
ae37ffaf | 7271 | 2012-03-16 Richard Guenther <rguenther@suse.de> |
7272 | ||
7273 | PR middle-end/52584 | |
7274 | * fold-const.c (fold_ternary_loc): Fold vector typed BIT_FIELD_REFs | |
7275 | of vector constants and constructors. | |
7276 | ||
ace64c06 | 7277 | 2012-03-16 Richard Guenther <rguenther@suse.de> |
7278 | ||
7279 | * tree-vect-stmts.c (vect_get_vec_def_for_operand): Use | |
7280 | VIEW_CONVERT_EXPR to convert constants. | |
7281 | (vect_is_simple_use): Treat all constants as vec_constant_def. | |
7282 | ||
32b227eb | 7283 | 2012-03-16 Richard Guenther <rguenther@suse.de> |
abd4f58b | 7284 | Kai Tietz <ktietz@redhat.com> |
32b227eb | 7285 | |
7286 | PR middle-end/48814 | |
7287 | * gimplify.c (gimplify_self_mod_expr): Evaluate postfix | |
7288 | side-effects completely in the pre-queue and use a temporary | |
7289 | for the result. | |
7290 | ||
75188dc6 | 7291 | 2012-03-16 Richard Guenther <rguenther@suse.de> |
7292 | ||
7293 | * stor-layout.c (finish_bitfield_representative): Fall back | |
7294 | to the conservative maximum size if we cannot compute the | |
7295 | size of the tail padding. | |
7296 | ||
91976c6c | 7297 | 2012-03-16 Tristan Gingold <gingold@adacore.com> |
7298 | ||
7299 | * config/vms/vms.h (TARGET_OS_CPP_BUILTINS): Define | |
7300 | __CRTL_VER and __VMS_VER. | |
7301 | * config/vms/vms-protos.h: Declare vms_c_get_crtl_ver | |
7302 | and vms_c_get_vms_ver. | |
7303 | * config/vms/vms-c.c (vms_c_get_crtl_ver, vms_c_get_vms_ver): New | |
7304 | functions. | |
7305 | * config/alpha/vms.h (VMS_DEFAULT_CRTL_VER) | |
7306 | (VMS_DEFAULT_VMS_VER): Define. | |
7307 | * config/ia64/vms.h (VMS_DEFAULT_CRTL_VER) | |
7308 | (VMS_DEFAULT_VMS_VER): Define. | |
7309 | ||
3e299f5d | 7310 | 2012-03-16 Richard Guenther <rguenther@suse.de> |
7311 | ||
7312 | * tree-vect-loop.c (get_initial_def_for_induction): Use | |
7313 | build_constructor directly. | |
7314 | * tree-vect-stmts.c (vect_get_vec_def_for_operand): Use | |
7315 | build_vector_from_val. | |
7316 | * tree.c (build_vector_from_val): Avoid creating a constructor | |
7317 | first when we want a constant vector. | |
7318 | ||
f3e265d7 | 7319 | 2012-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7320 | ||
7321 | * doc/install.texi (Specific, *-*-solaris2*): Improve wording. | |
7322 | ||
fadf62f4 | 7323 | 2012-03-16 Richard Guenther <rguenther@suse.de> |
7324 | ||
7325 | * tree.h (TREE_VECTOR_CST_ELTS): Remove. | |
7326 | (VECTOR_CST_NELTS, VECTOR_CST_ELTS, VECTOR_CST_ELT): New defines. | |
7327 | (struct tree_vector): Remove elements member, add variable size | |
7328 | elts array member. | |
7329 | (build_vector_stat): Declare. | |
7330 | (build_vector): Define in terms of build_vector_stat. | |
7331 | * tree.c (build_vector): Rename to ... | |
7332 | (build_vector_stat): ... this. Take array of trees as parameter. | |
7333 | (build_vector_from_ctor): Adjust. | |
7334 | (integer_zerop, integer_onep, integer_all_onesp, iterative_hash_expr, | |
7335 | initializer_zerop): Adjust. | |
7336 | * cfgexpand.c (expand_debug_expr): Likewise. | |
7337 | * expr.c (categorize_ctor_elements_1, expand_expr_real_1, | |
7338 | const_vector_from_tree): Likewise. | |
7339 | * fold-const.c (const_binop, operand_equal_p, native_encode_vector, | |
7340 | native_interpret_vector, fold_unary_loc, vec_cst_ctor_to_array, | |
7341 | fold_vec_perm, fold_binary_loc, fold_ternary_loc): Likewise. | |
7342 | * tree-streamer-in.c (streamer_alloc_tree): Handle TS_VECTOR. | |
7343 | (lto_input_ts_vector_tree_pointers): Adjust. | |
7344 | * tree-streamer-out.c (streamer_write_tree_header): Handle TS_VECTOR. | |
7345 | (write_ts_vector_tree_pointers): Adjust. | |
7346 | * varasm.c (const_hash_1, compare_constant, copy_constant, | |
7347 | output_constant): Adjust. | |
7348 | * gimple-fold.c (gimple_fold_stmt_to_constant_1): Adjust. | |
7349 | * print-tree.c (print_node): Adjust. | |
7350 | * tree-pretty-print.c (dump_generic_node): Adjust. | |
7351 | * tree-vect-generic.c (uniform_vector_p, vector_element, | |
7352 | lower_vec_perm): Adjust. | |
7353 | * tree-vect-loop.c (get_initial_def_for_reduction): Adjust. | |
7354 | * tree-vect-slp.c (vect_get_constant_vectors, | |
7355 | vect_transform_slp_perm_load): Adjust. | |
7356 | * tree-vect-stmts.c (vect_gen_perm_mask): Adjust. | |
7357 | * expmed.c (make_tree): Adjust. | |
7358 | * config/i386/i386.c (ix86_expand_builtin): Adjust. | |
7359 | * config/sparc/sparc.c (sparc_handle_vis_mul8x16): Adjust interface | |
7360 | and implementation. | |
7361 | (sparc_fold_builtin): Adjust. | |
7362 | ||
e55b581d | 7363 | 2012-03-16 Tristan Gingold <gingold@adacore.com> |
7364 | ||
7365 | * config.gcc (*-*-*vms*): Define use_gcc_stdint and tm_file. | |
7366 | * config/vms/vms-stdint.h: New file. | |
7367 | ||
240f6bb5 | 7368 | 2012-03-16 Tristan Gingold <gingold@adacore.com> |
7369 | ||
7370 | * config.host (alpha64-dec-*vms*, alpha*-dec-*vms*) | |
7371 | (ia64-hp-*vms*): Replaced by ... | |
7372 | (*-*-*vms*): ... This new entry. | |
7373 | ||
e0c9db9b | 7374 | 2012-03-15 Jakub Jelinek <jakub@redhat.com> |
7375 | ||
6a8ad139 | 7376 | PR target/52568 |
abd4f58b | 7377 | * config/i386/i386.c (expand_vec_perm_vperm2f128_vblend): New function. |
6a8ad139 | 7378 | (ix86_expand_vec_perm_const_1): Use it. |
7379 | ||
e0c9db9b | 7380 | PR target/52568 |
7381 | * config/i386/sse.md (UNSPEC_VPERMDF): Remove. | |
7382 | (avx2_permv4df): Remove. | |
7383 | (avx2_permv4di): Macroize into... | |
7384 | (avx2_perm<mode>): ... this using VI8F_256 iterator. | |
7385 | (avx2_permv4di_1): Macroize into... | |
7386 | (avx2_perm<mode>_1): ... this using VI8F_256 iterator. | |
7387 | ||
2ef72921 | 7388 | 2012-03-15 Ulrich Weigand <ulrich.weigand@linaro.org> |
7389 | ||
7390 | * combine.c (apply_distributive_law): Do not distribute SUBREG. | |
7391 | ||
087903db | 7392 | 2012-03-15 Ira Rosen <irar@il.ibm.com> |
7393 | Ulrich Weigand <ulrich.weigand@linaro.org> | |
7394 | ||
7395 | * tree-vect-patterns.c (widened_name_p): Rename to ... | |
7396 | (type_conversion_p): ... this. Add new argument to determine | |
7397 | if it's a promotion or demotion operation. Check for | |
7398 | CONVERT_EXPR_CODE_P instead of NOP_EXPR. | |
7399 | (vect_recog_dot_prod_pattern): Call type_conversion_p instead | |
7400 | widened_name_p. | |
7401 | (vect_recog_widen_mult_pattern, vect_recog_widen_sum_pattern, | |
7402 | vect_operation_fits_smaller_type, vect_recog_widen_shift_pattern): | |
7403 | Likewise. | |
7404 | (vect_recog_mixed_size_cond_pattern): Likewise and allow | |
7405 | non-constant then and else clauses. | |
7406 | ||
4c0c783a | 7407 | 2012-03-15 Ira Rosen <irar@il.ibm.com> |
7408 | Ulrich Weigand <ulrich.weigand@linaro.org> | |
7409 | ||
7410 | * tree-vectorizer.h (vect_pattern_recog): Add new argument. | |
7411 | * tree-vect-loop.c (vect_analyze_loop_2): Update call to | |
7412 | vect_pattern_recog. | |
7413 | * tree-vect-patterns.c (widened_name_p): Pass basic block | |
7414 | info to vect_is_simple_use. | |
7415 | (vect_recog_dot_prod_pattern): Fail for basic blocks. | |
7416 | (vect_recog_widen_sum_pattern): Likewise. | |
7417 | (vect_handle_widen_op_by_const): Support basic blocks. | |
7418 | (vect_operation_fits_smaller_type, | |
7419 | vect_recog_over_widening_pattern): Likewise. | |
7420 | (vect_recog_vector_vector_shift_pattern): Support basic blocks. | |
7421 | Update call to vect_is_simple_use. | |
7422 | (vect_recog_mixed_size_cond_pattern): Support basic blocks. | |
7423 | Add printing. | |
7424 | (check_bool_pattern): Add an argument, update call to | |
7425 | vect_is_simple_use and the recursive calls. | |
7426 | (vect_recog_bool_pattern): Update relevant function calls. | |
7427 | Add printing. | |
7428 | (vect_mark_pattern_stmts): Update calls to new_stmt_vec_info. | |
7429 | (vect_pattern_recog_1): Check for reduction only in loops. | |
7430 | (vect_pattern_recog): Add new argument. Support basic blocks. | |
7431 | * tree-vect-stmts.c (vectorizable_conversion): Pass basic block | |
7432 | info to vect_is_simple_use_1. | |
a25bf392 | 7433 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Support basic blocks. |
4c0c783a | 7434 | (vect_slp_analyze_bb_1): Call vect_pattern_recog. |
7435 | ||
e951f9a4 | 7436 | 2012-03-15 Jakub Jelinek <jakub@redhat.com> |
7437 | Andrew Pinski <apinski@cavium.com> | |
7438 | ||
7439 | PR middle-end/52592 | |
7440 | * builtins.c (expand_builtin_int_roundingfn_2): If expanding | |
7441 | BUILT_IN_IR{INT,OUND}* using optab fails, emit lr{int,ound}* | |
7442 | calls instead of __builtin_ir{int,ound}*. | |
7443 | ||
ce1d2364 | 7444 | 2012-03-15 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> |
7445 | ||
7446 | * doc/sourcebuild.texi (cleanup-modules, keep-modules): Update | |
7447 | documentation. | |
7448 | ||
bd29e244 | 7449 | 2012-03-15 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
4eb5a747 | 7450 | |
7451 | * config.gcc (target_type_format_char): New. Document it. Set it for | |
ce1d2364 | 7452 | arm*-*-* . |
abd4f58b | 7453 | * configure.ac (gnu_unique_option): Use target_type_format_char |
7454 | in test. Comment rationale. | |
4eb5a747 | 7455 | * configure: Regenerate . |
7456 | ||
7139adf8 | 7457 | 2012-03-15 Jakub Jelinek <jakub@redhat.com> |
7458 | ||
7459 | PR tree-optimization/52267 | |
7460 | * tree-vrp.c (masked_increment): New function. | |
7461 | (register_edge_assert_for_2): Derive ASSERT_EXPRs | |
7462 | from (X & CST1) cmp CST2 tests. | |
7463 | ||
2ecb06bc | 7464 | 2012-03-15 Richard Guenther <rguenther@suse.de> |
7465 | ||
7466 | PR middle-end/52580 | |
7467 | * tree-data-ref.c (subscript_dependence_tester_1): Check | |
7468 | all dimensions for non-conflicting access functions. | |
7469 | ||
249faa35 | 7470 | 2012-03-15 Manuel López-Ibáñez <manu@gcc.gnu.org> |
7471 | ||
7472 | PR c++/44783 | |
7473 | * doc/invoke.texi [C++ Language Options]: Document | |
7474 | -ftemplate-backtrace-limit. | |
7475 | ||
dd8e8868 | 7476 | 2012-03-15 Tristan Gingold <gingold@adacore.com> |
7477 | ||
7478 | * c-parser.c (c_parser_parameter_declaration): Handle #pragma | |
7479 | before a parameter. | |
7480 | ||
9e8ac19d | 7481 | 2012-03-15 Tristan Gingold <gingold@adacore.com> |
7482 | ||
7483 | * dwarf2out.c (gen_subprogram_die): Require dwarf unwinding to | |
7484 | use DW_OP_call_frame_cfa. | |
7485 | ||
676fcf5f | 7486 | 2012-03-14 H.J. Lu <hongjiu.lu@intel.com> |
7487 | ||
7488 | PR target/50797 | |
7489 | * config/i386/i386-opts.h (pmode): New. | |
7490 | ||
7491 | * config/i386/i386.c (ix86_option_override_internal): Properly | |
7492 | check and set ix86_pmode. | |
7493 | ||
a25bf392 | 7494 | * config/i386/i386.h (Pmode): Check ix86_pmode instead of TARGET_64BIT. |
676fcf5f | 7495 | |
7496 | * config/i386/i386.opt (maddress-mode=): New. | |
7497 | ||
7498 | * doc/invoke.texi: Document -maddress-mode=short|long for x86. | |
7499 | ||
c9185637 | 7500 | 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7501 | ||
7502 | * dwarf2cfi.c (def_cfa_0): Remove MIPS_DEBUGGING_INFO handling. | |
7503 | (dwarf2out_do_cfi_asm): Likewise. | |
7504 | * dwarf2out.c (output_call_frame_info): Remove MIPS_DEBUGGING_INFO | |
7505 | handling. | |
7506 | (add_data_member_location_attribute): Likewise. | |
7507 | (gen_array_type_die): Likewise. | |
7508 | (gen_subprogram_die): Likewise. | |
7509 | (gen_producer_string): Likewise. | |
7510 | * sdbout.c (sdbout_begin_prologue): Declare unconditionally. | |
7511 | Remove MIPS_DEBUGGING_INFO handling. | |
7512 | (sdb_debug_hooks): Likewise. | |
7513 | (sdbout_begin_block): Likewise. | |
7514 | (sdbout_end_block): Likewise. | |
7515 | (sdbout_begin_prologue): Likewise. | |
7516 | (sdbout_start_source_file): Likewise. | |
7517 | (sdbout_end_source_file): Likewise. | |
7518 | (sdbout_init): Likewise. | |
7519 | * system.h (MIPS_DEBUGGING_INFO): Poison. | |
7520 | ||
48a5030b | 7521 | 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7522 | ||
7523 | * config/alpha/alpha.c [HAVE_STAMP_H]: Remove. | |
7524 | (alpha_file_start) [MS_STAMP]: Remove. | |
7525 | ||
7526 | * config/alpha/elf.h (TARGET_GAS): Remove. | |
7527 | * config/alpha/freebsd.h (TARGET_DEFAULT): Remove. | |
7528 | * config/alpha/linux.h (TARGET_DEFAULT): Remove. | |
7529 | * config/alpha/netbsd.h (TARGET_DEFAULT): Remove. | |
7530 | * config/alpha/vms.h (TARGET_DEFAULT): Remove. | |
7531 | * config.gcc (alpha*-*-linux*): Remove target_cpu_default. | |
7532 | (alpha*-*-freebsd*): Likewise. | |
7533 | (alpha*-*-netbsd*): Likewise. | |
7534 | (alpha*-*-openbsd*): Likewise. | |
7535 | (alpha*-*-*): Remove target_cpu_default2. | |
7536 | * config/alpha/alpha.c (alpha_output_filename): Remove !TARGET_GAS | |
7537 | handling. | |
7538 | * config/alpha/alpha.h (TARGET_AS_CAN_SUBTRACT_LABELS): Remove. | |
7539 | (TARGET_AS_SLASH_BEFORE_SUFFIX): Remove. | |
7540 | * config/alpha/alpha.c (print_operand): Always assume | |
7541 | TARGET_AS_SLASH_BEFORE_SUFFIX. | |
7542 | * config/alpha/alpha.md ("*builtin_setjmp_receiver_er_sl_1"): | |
7543 | Remove TARGET_AS_CAN_SUBTRACT_LABELS. | |
7544 | ("*builtin_setjmp_receiver_er_1"): Remove. | |
7545 | * config/alpha/alpha.opt (malpha-as): Remove. | |
7546 | (mgas): Ignore. | |
7547 | * doc/invoke.texi (Option Summary, DEC Alpha Options): Remove | |
7548 | -malpha-as, -mgas. | |
7549 | Remove DEC Unix reference. | |
7550 | ||
7551 | * config/alpha/alpha.h (OBJECT_FORMAT_COFF): Remove. | |
7552 | (EXTENDED_COFF): Remove. | |
7553 | * config/alpha/elf.h (OBJECT_FORMAT_COFF): Don't undef. | |
7554 | (EXTENDED_COFF): Don't undef. | |
7555 | * config/alpha/alpha.c (alpha_file_start): Always assume | |
7556 | OBJECT_FORMAT_ELF. | |
7557 | Don't set targetm.asm_file_start_file_directive. | |
7558 | [!OBJECT_FORMAT_ELF]: Remove. | |
7559 | (TARGET_ASM_FILE_START_FILE_DIRECTIVE): Remove. | |
7560 | ||
7561 | * config/alpha/alpha.h (SDB_DEBUGGING_INFO): Remove. | |
7562 | (DBX_DEBUGGING_INFO): Remove. | |
7563 | (MIPS_DEBUGGING_INFO): Remove. | |
7564 | (PREFERRED_DEBUGGING_TYPE): Remove. | |
7565 | (DBX_OUTPUT_SOURCE_LINE): Remove. | |
7566 | (SDB_OUTPUT_SOURCE_LINE): Remove. | |
7567 | (DBX_CONTIN_LENGTH): Remove. | |
7568 | (NO_DBX_FUNCTION_END): Remove. | |
7569 | (ASM_STABS_OP): Remove. | |
7570 | (ASM_STABN_OP): Remove. | |
7571 | (ASM_STABD_OP): Remove. | |
7572 | (SDB_ALLOW_FORWARD_REFERENCES): Remove. | |
7573 | (SDB_ALLOW_UNKNOWN_REFERENCES): Remove. | |
7574 | (PUT_SDB_DEF): Remove. | |
7575 | (PUT_SDB_PLAIN_DEF): Remove. | |
7576 | (PUT_SDB_TYPE): Remove. | |
7577 | (sdb_label_count): Remove. | |
7578 | (PUT_SDB_BLOCK_START): Remove. | |
7579 | (PUT_SDB_BLOCK_END): Remove. | |
7580 | (PUT_SDB_FUNCTION_START): Remove. | |
7581 | (PUT_SDB_FUNCTION_END): Remove. | |
7582 | (PUT_SDB_EPILOGUE_END): Remove. | |
7583 | * config/alpha/elf.h (SDB_DEBUGGING_INFO): Don't undef. | |
7584 | (MIPS_DEBUGGING_INFO): Don't undef. | |
7585 | (DBX_DEBUGGING_INFO): Don't undef. | |
7586 | * config/alpha/vms.h (SDB_DEBUGGING_INFO): Don't undef. | |
7587 | (MIPS_DEBUGGING_INFO): Don't undef. | |
7588 | (DBX_DEBUGGING_INFO): Don't undef. | |
7589 | * config/alpha/freebsd.h (DBX_CONTIN_CHAR): Remove. | |
7590 | * config/alpha/alpha.c (alpha_option_override): Remove SDB_DEBUG | |
7591 | handling. | |
7592 | (alpha_start_function): Likewise. | |
7593 | (sdb_label_count): Remove. | |
7594 | (alpha_output_filename): Remove DBX_DEBUG handling. | |
7595 | (alpha_file_start): Likewise. | |
7596 | ||
264a5d11 | 7597 | 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7598 | ||
7599 | * config.gcc (enable_obsolete): Remove *-*-solaris2.8*. | |
7600 | (*-*-solaris2.[0-8], *-*-solaris2.[0-8].*): Mark unsupported. | |
7601 | (i[34567]86-*-solaris2*, x86_64-*-solaris2.1[0-9]*): Remove | |
7602 | Solaris 8 support. | |
7603 | * configure.ac (gcc_cv_ld_hidden): Remove *-*-solaris2.8*. | |
7604 | (ld_tls_support): Remove Solaris 8 references. | |
7605 | (lwp_dir, lwp_spec): Remove support for alternate thread library. | |
abd4f58b | 7606 | * acinclude.m4 (gcc_cv_initfini_array): Remove *-*-solaris2.* tests. |
264a5d11 | 7607 | * configure: Regenerate. |
7608 | * config.in: Regenerate. | |
7609 | ||
7610 | * config/sol2.h (LINK_SPEC): Remove LIB_THREAD_LDFLAGS_SPEC. | |
7611 | * config/i386/sol2.h: Remove Solaris 8 references. | |
7612 | ||
7613 | * doc/install.texi (Specific, i?86-*-solaris2.[89]): Rename to ... | |
7614 | (i?86-*-solaris2.9): ... this. | |
7615 | Remove Solaris 8 references. | |
7616 | (Specific, *-*-solaris2*): Document Solaris 8 removal. | |
7617 | Remove Solaris 8 references. | |
7618 | ||
5641963c | 7619 | 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7620 | ||
7621 | * config.gcc (enable_obsolete): Remove mips-sgi-irix6.5. | |
7622 | (mips-sgi-irix6.5*): Remove. | |
7623 | * config.host (mips-sgi-irix*): Remove. | |
7624 | * configure.ac (enable_fixed_point): Remove mips*-sgi-irix*. | |
7625 | (set_have_as_tls): Remove *-*-irix6*. | |
7626 | (gcc_cv_ld_static_dynamic): Remove mips-sgi-irix6*. | |
7627 | * configure: Regenerate. | |
7628 | ||
7629 | * config/mips/iris6.h: Remove. | |
7630 | * config/mips/iris6.opt: Remove. | |
7631 | * config/mips/t-irix6: Remove. | |
7632 | ||
7633 | * config/mips/mips.h (TARGET_GPWORD): Remove IRIX 6 N64 handling. | |
7634 | (TARGET_IRIX6): Remove. | |
7635 | (TARGET_CPU_CPP_BUILTINS): Remove IRIX 6 handling. | |
7636 | Don't define LANGUAGE_C, _LANGUAGE_C for Objective-C. | |
7637 | * config/mips/mips.c (mips_build_builtin_va_list): Remove IRIX 6 | |
7638 | handling. | |
7639 | (mips_file_start): Likewise. | |
7640 | * config/mips/mips-protos.h (irix_asm_output_align): Remove. | |
7641 | ||
7642 | * config/mips/driver-native.c [__sgi__]: Remove. | |
7643 | (host_detect_local_cpu) [__sgi__]: Remove. | |
7644 | ||
7645 | * config/mips/gnu-user.h: Remove iris5.h reference. | |
7646 | ||
7647 | * config/mips/mips-modes.def: Remove IRIX 6 reference. | |
7648 | * config/mips/gnu-user64.h (MIPS_TFMODE_FORMAT): Remove. | |
7649 | * config/mips/mips.c (mips_option_override) [MIPS_TFMODE_FORMAT]: | |
7650 | Remove. | |
7651 | ||
7652 | * gcc.c (main): Move asm_debug initialization ... | |
7653 | (asm_debug): ... here. | |
7654 | ||
7655 | * ginclude/stddef.h (__STDDEF_H__): Don't define. | |
7656 | ||
7657 | * defaults.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): Remove. | |
7658 | * system.h (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): Poison. | |
7659 | * collect2.c [LINK_ELIMINATE_DUPLICATE_LDIRECTORIES]: Remove. | |
7660 | (main) [LINK_ELIMINATE_DUPLICATE_LDIRECTORIES]: Remove. | |
7661 | [LINK_ELIMINATE_DUPLICATE_LDIRECTORIES] (is_in_args): Remove. | |
7662 | * doc/tm.texi.in (Driver, LINK_ELIMINATE_DUPLICATE_LDIRECTORIES): | |
7663 | Remove. | |
7664 | * doc/tm.texi: Regenerate. | |
7665 | ||
7666 | * doc/invoke.texi (Debugging Options, -gdwarf-<version>): Remove | |
7667 | IRIX 6 reference. | |
7668 | (MIPS Options, -march): Remove IRIX reference. | |
7669 | * doc/install.texi (Binaries, SGI IRIX): Remove. | |
7670 | (Specific, mips-sgi-irix6): Document IRIX 6.5 removal, remove rest | |
7671 | of section. | |
7672 | * doc/trouble.texi (Interoperation): Remove -lgl_s handling. | |
7673 | ||
884b03c9 | 7674 | 2012-03-14 Martin Jambor <mjambor@suse.cz> |
7675 | ||
7676 | * expr.c (expand_assignment): Use expand_expr with EXPAND_WRITE | |
abd4f58b | 7677 | when expanding MEM_REFs, MEM_TARGET_REFs and handled_component bases. |
884b03c9 | 7678 | (expand_expr_real_1): Do not handle misalignment if modifier is |
7679 | EXPAND_WRITE. | |
7680 | ||
f1690ec2 | 7681 | 2012-03-14 Richard Guenther <rguenther@suse.de> |
7682 | ||
7683 | PR middle-end/52584 | |
7684 | * tree-vect-generic.c (type_for_widest_vector_mode): Take | |
7685 | element type instead of mode, use build_vector_type_for_mode | |
7686 | instead of the langhook, build a vector of proper signedness. | |
7687 | (expand_vector_operations_1): Adjust. | |
7688 | ||
e25d4891 | 7689 | 2012-03-14 Richard Guenther <rguenther@suse.de> |
7690 | ||
7691 | PR middle-end/52582 | |
abd4f58b | 7692 | * gimple-fold.c (canonicalize_constructor_val): Make sure we have |
7693 | a cgraph node for a FUNCTION_DECL that comes from a constructor. | |
e25d4891 | 7694 | (gimple_get_virt_method_for_binfo): Likewise. |
7695 | ||
1f0f7e1e | 7696 | 2012-03-14 Richard Guenther <rguenther@suse.de> |
7697 | ||
7698 | PR tree-optimization/52571 | |
7699 | * tree-vect-data-refs.c (vect_compute_data_ref_alignment): Move | |
7700 | flag_section_anchors check ... | |
7701 | (vect_can_force_dr_alignment_p): ... here. Do not re-align | |
7702 | DECL_COMMON variables. | |
7703 | ||
8d8a34f9 | 7704 | 2012-03-14 Richard Guenther <rguenther@suse.de> |
7705 | ||
7706 | * tree.h (DECL_BIT_FIELD_REPRESENTATIVE): New define. | |
7707 | * stor-layout.c (start_bitfield_representative): New function. | |
7708 | (finish_bitfield_representative): Likewise. | |
7709 | (finish_bitfield_layout): Likewise. | |
7710 | (finish_record_layout): Call finish_bitfield_layout. | |
7711 | * tree.c (free_lang_data_in_decl): Only free DECL_QUALIFIER | |
7712 | for QUAL_UNION_TYPE fields. | |
7713 | * tree-streamer-in.c (lto_input_ts_field_decl_tree_pointers): | |
7714 | Stream DECL_BIT_FIELD_REPRESENTATIVE. | |
7715 | * tree-streamer-out.c (write_ts_field_decl_tree_pointers): Likewise. | |
7716 | ||
7717 | PR middle-end/52080 | |
7718 | PR middle-end/52097 | |
7719 | PR middle-end/48124 | |
7720 | * expr.c (get_bit_range): Unconditionally extract bitrange | |
7721 | from DECL_BIT_FIELD_REPRESENTATIVE. | |
7722 | (expand_assignment): Adjust call to get_bit_range. | |
7723 | ||
a6476f88 | 7724 | 2012-03-14 Richard Guenther <rguenther@suse.de> |
7725 | ||
7726 | PR middle-end/52578 | |
7727 | * fold-const.c (fold_unary_loc): Fold (T1)(T2)x to (T1)x if | |
7728 | the outermost conversion is a sign-change only. | |
7729 | (fold_binary_loc): Disregard widening and sign-changing | |
7730 | conversions when we determine if two variables are equal | |
7731 | for reassociation. | |
7732 | * tree-ssa-forwprop.c (combine_conversions): Fold (T1)(T2)x to | |
7733 | (T1)x if the outermost conversion is a sign-change only. | |
7734 | ||
6281b3df | 7735 | 2012-03-14 Uros Bizjak <ubizjak@gmail.com> |
7736 | ||
7737 | Revert: | |
7738 | 2012-03-14 Uros Bizjak <ubizjak@gmail.com> | |
7739 | ||
7740 | * config/i386/predicates.md (constant_call_address_operand): Declare | |
7741 | as special predicate. Update all uses. | |
7742 | ||
666649ed | 7743 | 2012-03-13 Jakub Jelinek <jakub@redhat.com> |
7744 | ||
e739f10c | 7745 | PR c/52577 |
7746 | * c-parser.c (c_parser_postfix_expression) | |
7747 | <case RID_BUILTIN_SHUFFLE>: Call mark_exp_read on argument values. | |
7748 | ||
666649ed | 7749 | * config/i386/smmintrin.h: Avoid /* within a comment. |
7750 | * config/i386/nmmintrin.h: Likewise. | |
7751 | ||
b6833dc9 | 7752 | 2012-03-13 Uros Bizjak <ubizjak@gmail.com> |
7753 | ||
7754 | * config/i386/i386.md (xbegin): Remove constraint from expander. | |
7755 | ||
182c3534 | 7756 | 2012-03-13 Uros Bizjak <ubizjak@gmail.com> |
7757 | ||
7758 | * config/i386/predicates.md (constant_call_address_operand): Declare | |
7759 | as special predicate. Update all uses. | |
7760 | * config/i386/i386.md: Remove mode from constant_call_address_operand | |
7761 | predicates. | |
7762 | * config/i386/i386.c (ix86_output_call_insn): Call | |
7763 | constant_call_address_operand with VOIDmode. | |
7764 | ||
0f844e09 | 7765 | 2012-03-13 Uros Bizjak <ubizjak@gmail.com> |
7766 | ||
7767 | * config/i386/i386.c (ix86_decompose_address): Handle subregs of | |
7768 | AND zero extended address correctly. | |
7769 | ||
6a755243 | 7770 | 2012-03-13 Uros Bizjak <ubizjak@gmail.com> |
7771 | ||
7772 | * config/i386/predicates.md (tls_symbolic_operand): Declare as | |
7773 | special predicate. | |
7774 | (tls_modbase_operand): Ditto. | |
7775 | * config/i386/i386.md: Remove mode from tls_symbolic_operand and | |
7776 | tls_modbase_operand predicates. | |
7777 | ||
55e42d78 | 7778 | 2012-03-13 Martin Jambor <mjambor@suse.cz> |
7779 | ||
7780 | * expr.c (expand_assignment): Handle misaligned scalar writes to | |
7781 | memory through top-level MEM_REFs by calling store_bit_field. | |
7782 | ||
7af97aed | 7783 | 2012-03-13 Richard Guenther <rguenther@suse.de> |
7784 | ||
7785 | PR middle-end/52134 | |
7786 | * fold-const.c (fold_binary_loc): Fold (X * Y) & -(1 << CST) to X * Y | |
7787 | if Y is a constant multiple of 1 << CST. | |
7788 | ||
21467ee6 | 7789 | 2012-03-13 Georg-Johann Lay <avr@gjlay.de> |
7790 | ||
7791 | PR target/52488 | |
7792 | * config/avr/avr.c (avr_prologue_setup_frame): Cut down stack | |
7793 | offset (size) to a value the insns can deal with. | |
7794 | (expand_epilogue): Ditto. | |
7795 | ||
fa89c18d | 7796 | 2012-03-13 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
7797 | ||
7798 | * config/arm/neon.ml (ops): Fixup expected instructions for | |
7799 | unsigned vector compares. | |
7800 | ||
1da1898e | 7801 | 2012-03-13 Uros Bizjak <ubizjak@gmail.com> |
7802 | ||
7803 | * config/i386/i386.c (ix86_decompose_address): Prevent %fs:(%reg) | |
7804 | addresses only when %reg is not in word mode. | |
7805 | ||
c2c4377d | 7806 | 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7807 | ||
7808 | * config/microblaze/microblaze.md: Fix typo. | |
7809 | * tree-if-conv.c: Likewise. | |
7810 | * tree-vect-patterns.c: Likewise. | |
7811 | ||
7151decb | 7812 | 2012-03-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7813 | ||
7814 | * config.gcc (extra_passes): Remove. | |
7815 | * configure.ac (extra_passes): Don't substitute. | |
7816 | * configure: Regenerate. | |
7817 | * Makefile.in (EXTRA_PASSES): Remove. | |
7818 | (GCC_PASSES): Remove $(EXTRA_PASSES). | |
7819 | (MOSTLYCLEANFILES): Likewise. | |
7820 | (native): Likewise. | |
7821 | (install-common): Likewise. | |
7822 | ||
b966bb5f | 7823 | 2012-03-13 Uros Bizjak <ubizjak@gmail.com> |
7824 | ||
7825 | * config/i386/i386.h (TARGET_TLS_INDIRECT_SEG_REFS): New. | |
7826 | * config/i386/i386.c (ix86_decompose_address): Use | |
7827 | TARGET_TLS_INDIRECT_SEG_REFS to prevent %fs:(%reg) addresses. | |
7828 | (legitimize_tls_address): Use TARGET_TLS_INDIRECT_SEG_REFS to load | |
7829 | thread pointer to a register. | |
7830 | ||
f500db2a | 7831 | 2012-03-12 H.J. Lu <hongjiu.lu@intel.com> |
7832 | ||
7833 | * config/i386/i386.md (*tls_global_dynamic_64_<mode>): Remove :P | |
7834 | on tls_symbolic_operand. | |
7835 | (tls_global_dynamic_64_<mode>): Likewise. | |
7836 | ||
0c8f5ee5 | 7837 | 2012-03-12 Georg-Johann Lay <avr@gjlay.de> |
7838 | ||
7839 | PR other/52545 | |
7840 | * output.h (SECTION_EXCLUDE, SECTION_MACH_DEP): Don't use | |
7841 | SECTION_MACH_DEP reserved bits for SECTION_EXCLUDE. | |
7842 | ||
63477dcc | 7843 | 2012-03-12 Georg-Johann Lay <avr@gjlay.de> |
7844 | ||
7845 | PR target/52499 | |
7846 | * config/avr/avr.c (avr_mode_code_base_reg_class): Change return | |
7847 | type from reg_class_t to enum reg_class. | |
7848 | * config/avr/avr-protos.h (avr_mode_code_base_reg_class): Ditto. | |
7849 | ||
c3597b05 | 7850 | 2012-03-12 Andrew Pinski <apinski@cavium.com> |
7851 | ||
7852 | * tree-ssa-phiopt.c (single_non_singleton_phi_for_edges): New function. | |
7853 | (tree_ssa_phiopt_worker): Use single_non_singleton_phi_for_edges. | |
7854 | (value_replacement): Likewise. | |
7855 | (empty_block_p): Check also if the PHIs for the block are empty. | |
7856 | ||
6bdcc5e4 | 7857 | 2012-03-12 Georg-Johann Lay <avr@gjlay.de> |
7858 | ||
7859 | PR target/52148 | |
7860 | * config/avr/avr.c (avr_out_movmem): Fix typo in output template | |
7861 | for the case ADDR_SPACE_FLASH and AVR_HAVE_LPMX introduced in | |
7862 | r184615 from 2012-02-28. | |
7863 | ||
63e90859 | 7864 | 2012-03-12 H.J. Lu <hongjiu.lu@intel.com> |
7865 | ||
7866 | * config/i386/i386.c (ix86_gen_tls_global_dynamic_64): New. | |
7867 | (ix86_gen_tls_local_dynamic_base_64): Likewise. | |
7868 | (ix86_option_override_internal): Set ix86_gen_tls_global_dynamic_64 | |
7869 | and ix86_gen_tls_local_dynamic_base_64. | |
7870 | (legitimize_tls_address): Use ix86_gen_tls_global_dynamic_64 and | |
7871 | ix86_gen_tls_local_dynamic_base_64. | |
7872 | ||
7873 | * config/i386/i386.md (*tls_global_dynamic_64): Renamed to ... | |
7874 | (*tls_global_dynamic_64_<mode>): This. | |
7875 | (tls_global_dynamic_64): Renamed to ... | |
7876 | (tls_global_dynamic_64_<mode>): This. | |
7877 | (*tls_local_dynamic_base_64): Renamed to ... | |
7878 | (*tls_local_dynamic_base_64_<mode>): This. | |
7879 | (tls_local_dynamic_base_64): Renamed to ... | |
7880 | (tls_local_dynamic_base_64_<mode>): This. | |
7881 | ||
bf0a02ba | 7882 | 2012-03-12 H.J. Lu <hongjiu.lu@intel.com> |
7883 | ||
7884 | * config/i386/i386.c (ix86_option_override_internal): Properly | |
7885 | set ix86_gen_leave and ix86_gen_monitor. Check Pmode == DImode, | |
7886 | instead of TARGET_64BIT, to set ix86_gen_add3, ix86_gen_sub3, | |
abd4f58b | 7887 | ix86_gen_one_cmpl2, ix86_gen_andsp, ix86_gen_allocate_stack_worker, |
7888 | ix86_gen_adjust_stack_and_probe and ix86_gen_probe_stack_range. | |
bf0a02ba | 7889 | |
7890 | * config/i386/sse.md (sse3_monitor64): Renamed to ... | |
7891 | (sse3_monitor64_<mode>): This. | |
7892 | ||
6b6253f2 | 7893 | 2012-03-12 Tristan Gingold <gingold@adacore.com> |
7894 | ||
7895 | * config/ia64/ia64.c (ia64_function_arg_1): Move code around. | |
7896 | (ia64_function_arg_advance): Ditto. | |
7897 | ||
1f7e141e | 7898 | 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7899 | ||
7900 | * config.gcc (mips*-*-openbsd*): Remove. | |
7901 | * config/mips/openbsd.h: Remove. | |
7902 | * config/mips/sdb.h: Remove. | |
7903 | ||
7904 | * config/mips/mips.h (SDB_OUTPUT_SOURCE_LINE): Remove. | |
7905 | * config/mips/mips.c (sdb_label_count): Remove. | |
7906 | (mips_debugger_offset): Remove #if 0 code. | |
7907 | (mips_output_function_prologue) [SDB_DEBUGGING_INFO]: Remove. | |
7908 | * config/mips/sde.h (SDB_DEBUGGING_INFO): Don't undef. | |
7909 | ||
1647539e | 7910 | 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7911 | ||
7912 | * doc/install.texi (Specific, i?86-*-solaris2.[89]): Update | |
7913 | binutils reference. | |
7914 | (Specific, i?86-*-solaris2.10): Remove GCC 4.0 reference. | |
7915 | Update binutils references. | |
7916 | (Specific, *-*-solaris2*): Mention bundled GCC in Solaris 10 and 11. | |
7917 | Update binutils reference. | |
7918 | Update Sun as/GNU ld caveat. | |
7919 | Document binutils largefile requirement for LTO plugin. | |
6776c1f3 | 7920 | Remove reference to alternate libpthread. |
1647539e | 7921 | |
126b6848 | 7922 | 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7923 | ||
7924 | * config.gcc (alpha*-dec-osf5.1*): Remove. | |
7925 | * config.host (alpha*-dec-osf*): Remove. | |
7926 | * configure.ac (*-*-osf*): Remove. | |
7927 | (alpha*-dec-osf*): Remove. | |
7928 | * configure: Regenerate. | |
7929 | ||
abd4f58b | 7930 | * config/alpha/host-osf.c, config/alpha/osf5.h, config/alpha/osf5.opt, |
7931 | config/alpha/va_list.h, config/alpha/x-osf: Remove. | |
126b6848 | 7932 | |
7933 | * config/alpha/alpha.h (TARGET_LD_BUGGY_LDGP): Remove. | |
7934 | * config/alpha/alpha.c (struct machine_function): Update comment. | |
7935 | (alpha_start_function): Remove Tru64 UNIX as handling for | |
7936 | max_frame_size. | |
7937 | * config/alpha/alpha.md ("exception_receiver"): Remove | |
7938 | TARGET_LD_BUGGY_LDGP. | |
7939 | ("*exception_receiver_2"): Likewise. | |
7940 | * except.c (finish_eh_generation): Remove Tru64 reference. | |
7941 | * ginclude/stdarg.h [_HIDDEN_VA_LIST]: Don't undef _VA_LIST. | |
7942 | * system.h (TARGET_HANDLE_PRAGMA_EXTERN_PREFIX): Poison. | |
7943 | * target.def (handle_pragma_extern_prefix): Remove. | |
7944 | ||
7945 | * Makefile.in (mips-tfile.o-warn): Remove. | |
7946 | (ALL_HOST_BACKEND_OBJS): Remove mips-tfile.o, mips-tdump.o. | |
7947 | (mips-tfile, mips-tfile.o, mips-tdump, mips-tdump.o): Remove. | |
7948 | * mips-tdump.c, mips-tfile.c: Remove. | |
7949 | ||
7950 | * doc/extend.texi (Symbol-Renaming Pragmas): Remove #pragma | |
7951 | extern_prefix. | |
7952 | * doc/install.texi (Binaries): Remove Tru64 UNIX reference. | |
7953 | (Specific, alpha*-dec-osf5.1): Note removal. | |
7954 | * doc/tm.texi.in (Misc, TARGET_HANDLE_PRAGMA_EXTERN_PREFIX): | |
7955 | Remove. | |
7956 | * doc/tm.texi: Regenerate. | |
7957 | * doc/trouble.texi (Cross-Compiler Problems): Remove. | |
7958 | ||
969baf69 | 7959 | 2012-03-12 Richard Guenther <rguenther@suse.de> |
7960 | ||
7961 | * config/arm/arm.c (neon_dereference_pointer): Do not call | |
7962 | covert during RTL expansion. | |
7963 | ||
cc48d234 | 7964 | 2012-03-12 Tristan Gingold <gingold@adacore.com> |
7965 | ||
7966 | * doc/invoke.texi (VMS Options): Merge Alpha/VMS and IA-64/VMS | |
7967 | Options. Mention -mpointer-size. | |
7968 | ||
a51edb4c | 7969 | 2012-03-12 Richard Guenther <rguenther@suse.de> |
7970 | ||
7971 | * config/alpha/alpha.c (alpha_gimplify_va_arg): Use | |
7972 | build_nonstandard_integer_type. | |
7973 | ||
0177b1e3 | 7974 | 2012-03-12 Richard Guenther <rguenther@suse.de> |
7975 | ||
7976 | * tree.c (signed_or_unsigned_type_for): Use | |
7977 | build_nonstandard_integer_type. | |
7978 | (signed_type_for): Adjust documentation. | |
7979 | (unsigned_type_for): Likewise. | |
7980 | * tree-pretty-print.c (dump_generic_node): Use standard names | |
7981 | for non-standard integer types if available. | |
7982 | ||
8f852c44 | 7983 | 2012-03-12 Tristan Gingold <gingold@adacore.com> |
7984 | ||
7985 | * config/vms/vms.opt: Add vms-opts.h header. | |
7986 | (mmalloc64): Use flag_vms_malloc64 flag instead of MALLOC64 | |
7987 | target mask. | |
7988 | (-mvms-return-codes): Document. | |
7989 | (-mpointer-size): New option. | |
7990 | (vms_pointer_size): Add enumeration. | |
7991 | * config/vms/vms-opts.h: New file. | |
7992 | * config/vms/vms.h (TARGET_OS_CPP_BUILTINS): Define | |
7993 | __INITIAL_POINTER_SIZE. | |
7994 | (POINTER_SIZE, SIZE_TYPE, PTRDIFF_TYPE): Adjust definition. | |
7995 | (C_COMMON_OVERRIDE_OPTIONS): Define. | |
7996 | (DWARF2_ADDR_SIZE): Define. | |
7997 | * config/vms/vms.c (vms_patch_builtins): Adjust condition. | |
7998 | * config/vms/vms-protos.h (vms_c_common_override_options): | |
7999 | New prototype. | |
8000 | * config/vms/vms-c.c (vms_pragma_pointer_size): Ignore pragma | |
8001 | if -mno-pointer-size. | |
8002 | (vms_c_common_override_options): New function. | |
8003 | * config/ia64/vms.h (TARGET_DEFAULT): Remove MASK_MALLOC64. | |
8004 | * config/alpha/vms.h (TARGET_DEFAULT): Remove MASK_MALLOC64. | |
8005 | (MALLOC_ABI_ALIGNMENT): Use flag_vms_malloc64 | |
8006 | and flag_vms_pointer_size. | |
8007 | (MASK_RETURN_ADDR): Set according to flag_vms_pointer_size. | |
8008 | * config.gcc (*-*-*vms*): Define xm_file. | |
8009 | (alpha*-dec-*vms*): Do not define xm_file. | |
8010 | (alpha64-dec-*vms*): Remove. | |
8011 | (ia64-hp-*vms*): Do not define xm_file. Simplify tm_file | |
8012 | and tmake_file. | |
8013 | ||
22676c8f | 8014 | 2012-03-12 Jakub Jelinek <jakub@redhat.com> |
8015 | ||
8016 | PR tree-optimization/51721 | |
8017 | * tree-vrp.c (register_edge_assert_for_2): Add asserts for unsvar | |
8018 | if (int) unsvar cmp CST. | |
8019 | ||
7f23b9c0 | 8020 | 2012-03-12 Richard Guenther <rguenther@suse.de> |
8021 | ||
abd4f58b | 8022 | * tree-sra.c (create_access_replacement): Only rename the replacement |
8023 | if we can rewrite it into SSA form. Properly mark register typed | |
8024 | replacements that we cannot rewrite with TREE_ADDRESSABLE. | |
7f23b9c0 | 8025 | * tree-cfg.c (verify_expr): Fix BIT_FIELD_REF verification |
8026 | for aggregate or BLKmode results. | |
8027 | ||
6b48fd25 | 8028 | 2012-03-12 Jakub Jelinek <jakub@redhat.com> |
8029 | ||
8030 | PR tree-optimization/52533 | |
8031 | * tree-vrp.c (register_edge_assert_for_2): Use double_int | |
8032 | type for mask, only handle shifts by non-zero in-range | |
8033 | shift count, for LE_EXPR and GT_EXPR if new_val is | |
8034 | maximum, don't add the assertion. | |
8035 | ||
bce88dc2 | 8036 | 2012-02-12 Kirill Yukhin <kirill.yukhin@intel.com> |
8037 | ||
8038 | * doc/invoke.texi: Document -mrtm option. | |
abd4f58b | 8039 | * common/config/i386/i386-common.c (OPTION_MASK_ISA_RTM_SET): New. |
bce88dc2 | 8040 | (OPTION_MASK_ISA_RTM_UNSET): Ditto. |
8041 | (ix86_handle_option): Handle OPT_mrtm. | |
8042 | * config.gcc (i[34567]86-*-*): Add rtmintrin.h and | |
8043 | xtestintrin.h. | |
8044 | (x86_64-*-*): Ditto. | |
8045 | * i386-builtin-types.def (INT_FTYPE_VOID): New. | |
8046 | * config/i386/i386-c.c (ix86_target_macros_internal): Define | |
8047 | __RTM__ if needed. | |
8048 | (ix86_target_string): Define -mrtm option. | |
8049 | (PTA_RTM): New. | |
abd4f58b | 8050 | (ix86_option_override_internal): Extend "corei7-avx" with RTM option. |
8051 | Handle new option. | |
bce88dc2 | 8052 | (ix86_valid_target_attribute_inner_p): Add OPT_mrtm. |
8053 | (ix86_builtins): Add IX86_BUILTIN_XBEGIN, IX86_BUILTIN_XEND, | |
8054 | IX86_BUILTIN_XTEST. | |
8055 | (bdesc_special_args): Ditto. | |
8056 | (ix86_init_mmx_sse_builtins): Add IX86_BUILTIN_XABORT. | |
8057 | (ix86_expand_special_args_builtin): Handle new built-in type. | |
8058 | (ix86_expand_builtin): Handle XABORT instruction. | |
8059 | * config/i386/i386.h (TARGET_RTM): New. | |
8060 | * config/i386/i386.md (UNSPECV_XBEGIN): New. | |
8061 | (UNSPECV_XEND): Ditto. | |
8062 | (UNSPECV_XABORT): Ditto. | |
8063 | (UNSPECV_XTEST): Ditto. | |
8064 | (xbegin): Ditto. | |
8065 | (xbegin_1): Ditto. | |
8066 | (xend): Ditto. | |
8067 | (xabort): Ditto | |
8068 | (xtest): Ditto. | |
8069 | (xtest_1): Ditto. | |
8070 | * config/i386/i386.opt (mrtm): New. | |
abd4f58b | 8071 | * config/i386/immintrin.h: Include rtmintrin.h and xtestintrin.h. |
bce88dc2 | 8072 | * config/i386/rtmintrin.h: New header. |
8073 | * config/i386/xtestintrin.h: Ditto. | |
8074 | ||
74a1e041 | 8075 | 2012-03-12 Tristan Gingold <gingold@adacore.com> |
8076 | ||
abd4f58b | 8077 | * ginclude/stddef.h: Adjust previous patch. |
8078 | Use __VMS__ instead of VMS. | |
74a1e041 | 8079 | |
c6f81084 | 8080 | 2012-03-12 Uros Bizjak <ubizjak@gmail.com> |
8081 | ||
8082 | * config/i386/i386.md (setcc + movzbl to xor + setcc peephole2): | |
8083 | Also convert sequences with CC setting arithmetic instruction. | |
8084 | ||
3e5e110f | 8085 | 2012-03-11 Sandra Loosemore <sandra@codesourcery.com> |
8086 | ||
8087 | * doc/invoke.texi (Option Summary): Move -no-integrated-cpp | |
8088 | from C Language Options to Preprocessor Options. | |
8089 | (C Dialect Options): Move -no-integrated-cpp documentation | |
8090 | from here... | |
8091 | (Preprocessor Options): ...to here. Rewrite the description | |
abd4f58b | 8092 | so it makes more sense, and remove discussion of merging front ends. |
3e5e110f | 8093 | |
af423a9d | 8094 | 2012-03-11 H.J. Lu <hongjiu.lu@intel.com> |
8095 | ||
8096 | * config/i386/i386.c (ix86_expand_movmem): Use word_mode for size | |
8097 | needed for loop. | |
8098 | (ix86_expand_setmem): Likewise. | |
8099 | ||
c7def6ab | 8100 | 2012-03-11 Uros Bizjak <ubizjak@gmail.com> |
8101 | ||
8102 | * config/i386/i386.c (ix86_zero_extend_to_Pmode): Rewrite using | |
8103 | convert_to_mode. | |
8104 | ||
9e8fad47 | 8105 | 2012-03-11 H.J. Lu <hongjiu.lu@intel.com> |
8106 | ||
8107 | * config/i386/i386.c (ix86_trampoline_init): Use movl for 64bit if | |
8108 | ptr_mode == SImode. Replace DImode with Pmode or ptr_mode. | |
8109 | ||
48ca984b | 8110 | 2012-03-11 H.J. Lu <hongjiu.lu@intel.com> |
8111 | ||
c7def6ab | 8112 | * config/i386/i386.c (x86_this_parameter): Replace DImode with Pmode. |
48ca984b | 8113 | |
235d620e | 8114 | 2012-03-11 H.J. Lu <hongjiu.lu@intel.com> |
8115 | ||
8116 | * config/i386/i386.md (lwp_slwpcb): Check Pmode instead of | |
8117 | TARGET_64BIT. | |
8118 | ||
7dd29a1c | 8119 | 2012-03-11 H.J. Lu <hongjiu.lu@intel.com> |
8120 | Uros Bizjak <ubizjak@gmail.com> | |
c290746e | 8121 | |
7dd29a1c | 8122 | * config/i386/predicates.md (call_insn_operand): Allow |
c290746e | 8123 | constant_call_address_operand in Pmode only. |
8124 | (sibcall_insn_operand): Ditto. | |
8125 | * config/i386/i386.md (*call): Use W mode iterator instead of P mode. | |
8126 | (*call_vzeroupper): Ditto. | |
8127 | (*sibcall): Ditto. | |
8128 | (*sibcall_vzeroupper): Ditto. | |
8129 | (*call_value): Ditto. | |
8130 | (*call_value_vzeroupper): Ditto. | |
8131 | (*sibcall_value): Ditto. | |
8132 | (*sibcall_value_vzeroupper): Ditto. | |
8133 | (*indirect_jump): Ditto. | |
8134 | (*tablejump_1): Ditto. | |
8135 | (indirect_jump): Convert memory address to word mode for TARGET_X32. | |
8136 | (tablejump): Ditto. | |
8137 | * config/i386/i386.c (ix86_expand_call): Convert indirect operands | |
8138 | to word mode. | |
8139 | ||
bdd0e5dc | 8140 | 2012-03-11 Oleg Endo <olegendo@gcc.gnu.org> |
8141 | ||
8142 | PR target/51244 | |
8143 | * config/sh/sh.md (movnegt): Expand into respective insns immediately. | |
8144 | Use movrt_negc instead of negc pattern for non-SH2A. | |
8145 | (*movnegt): Remove. | |
8146 | (*movrt_negc, *negnegt, *movtt, *movt_qi): New insns and splits. | |
8147 | ||
fe73ce46 | 8148 | 2012-03-10 H.J. Lu <hongjiu.lu@intel.com> |
8149 | ||
8150 | * config/i386/i386.c (ix86_decompose_address): Disallow fs:(reg) | |
8151 | if Pmode != word_mode. | |
8152 | (legitimize_tls_address): Call gen_tls_initial_exec_x32 if | |
c290746e | 8153 | Pmode == SImode for TARGET_X32. |
fe73ce46 | 8154 | |
8155 | * config/i386/i386.md (UNSPEC_TLS_IE_X32): New. | |
8156 | (tls_initial_exec_x32): Likewise. | |
8157 | ||
bd279947 | 8158 | 2012-03-10 Chung-Lin Tang <cltang@codesourcery.com> |
8159 | ||
8160 | PR rtl-optimization/52528 | |
8161 | * combine.c (can_combine_p): Add setting of subst_low_luid | |
8162 | before call to expand_field_assignment(). | |
8163 | ||
3bbe8a1c | 8164 | 2012-03-09 Sandra Loosemore <sandra@codesourcery.com> |
8165 | ||
8166 | * doc/invoke.texi: Use correct names/markup for "GCC", "GDB", "ld", | |
8167 | and related program names. | |
8168 | ||
4eb48a77 | 8169 | 2012-03-09 Sandra Loosemore <sandra@codesourcery.com> |
8170 | ||
8171 | * doc/invoke.texi: Use correct names for "DWARF", "stabs", and "ELF". | |
8172 | ||
f9c68163 | 8173 | 2012-03-09 Uros Bizjak <ubizjak@gmail.com> |
8174 | ||
8175 | PR target/52530 | |
8176 | * config/i386/i386.c (ix86_print_operand): Handle 'E' operand modifier. | |
8177 | (ix86_print_operand_address): Handle UNSPEC_LEA_ADDR. Do not fallback | |
8178 | to set code to 'q'. | |
8179 | * config/i386/i386.md (UNSPEC_LEA_ADDR): New unspec. | |
8180 | (*movdi_internal_rex64): Use %E operand modifier for lea. | |
8181 | (*movsi_internal): Ditto. | |
8182 | (*lea_1): Ditto. | |
8183 | (*lea<mode>_2): Ditto. | |
8184 | (*lea_{3,4,5,6}_zext): Ditto. | |
8185 | (*tls_global_dynamic_32_gnu): Ditto. | |
8186 | (*tls_global_dynamic_64): Ditto. | |
8187 | (*tls_dynamic_gnu2_lea_32): Ditto. | |
8188 | (*tls_dynamic_gnu2_lea_64): Ditto. | |
8189 | (pro_epilogue_adjust_stack_<mode>_add): Ditto. | |
8190 | ||
8a3c7c63 | 8191 | 2012-03-09 Michael Meissner <meissner@linux.vnet.ibm.com> |
8192 | ||
8193 | * config/rs6000/linux64.h (OPTION_TARGET_CPU_DEFAULT): Do not | |
8194 | redefine to be NULL if the current bit-size is different from the | |
8195 | configured bit-size. | |
8196 | ||
8197 | * config/rs6000/rs6000.c (rs6000_option_override_internal): If the | |
8198 | cpu is defaulted, use PROCESSOR_DEFAULT and PROCESSOR_DEFAULT64 to | |
8199 | set the default tuning. Add asserts to make sure the cpu and tune | |
8200 | indexes are defined. Fix tests for cpu/tune index to use >= 0 to | |
8201 | test whether the index is set, instead of > 0. | |
8202 | (rs6000_file_start): Do not reset the default cpu if the current | |
8203 | bit-size is different from the configured bit-size. | |
8204 | ||
439392ee | 8205 | 2012-03-09 Tristan Gingold <gingold@adacore.com> |
8206 | ||
8207 | * config/vms/vms-crtlmap.map: Add comments. | |
8208 | Add entries needed to build Ada RTS. | |
8209 | ||
11a439a1 | 8210 | 2012-03-09 Tristan Gingold <gingold@adacore.com> |
8211 | ||
8212 | * ginclude/stddef.h: Do not define __size_t on VMS. | |
8213 | ||
7714837c | 8214 | 2012-03-09 Tristan Gingold <gingold@adacore.com> |
8215 | ||
8216 | * c-tree.h (c_default_pointer_mode): New variable. | |
8217 | * c-decl.c (c_default_pointer_mode): New variable. | |
8218 | (c_build_pointer_type): New function. | |
8219 | (grokdeclarator): Call c_build_pointer_type instead | |
8220 | of build_pointer_type. | |
8221 | ||
8222 | * config/vms/vms-c.c: Include c-tree.h | |
8223 | (saved_pointer_mode): New variable. | |
8224 | (handle_pragma_pointer_size): New function. | |
8225 | (vms_pragma_pointer_size, vms_pragma_required_pointer_size): Likewise. | |
8226 | (vms_c_register_pragma): Register __pointer_size and | |
8227 | __required_pointer_size pragmas. | |
8228 | ||
9368e60a | 8229 | 2012-03-09 Tristan Gingold <gingold@adacore.com> |
8230 | ||
8231 | * config/vms/vms-c.c (vms_construct_include_filename): New function. | |
8232 | (vms_c_register_includes): Reference it. | |
8233 | ||
fb9912ea | 8234 | 2012-03-09 Andrew Pinski <apinski@cavium.com> |
8235 | ||
8236 | PR middle-end/51988 | |
8237 | * tree-ssa-phiopt.c: Include tree-pretty-print.h for | |
8238 | print_generic_expr. | |
8239 | (tree_ssa_phiopt_worker): Go through all the PHIs for | |
8240 | value_replacement instead of just the singleton one. | |
8241 | (value_replacement): Change return type to int. Return 0 instead of | |
8242 | false. | |
9368e60a | 8243 | Allow the middle basic block to contain more than just the defining |
8244 | statement. | |
fb9912ea | 8245 | Handle non empty middle basic blocks. |
8246 | * Makefile.in (tree-ssa-phiopt.o): Add tree-pretty-print.h. | |
8247 | ||
62bc06ea | 8248 | 2012-03-09 Jiangning Liu <jiangning.liu@arm.com> |
8249 | ||
8250 | * tree-scalar-evolution (interpret_rhs_expr): generate chrec for | |
8251 | array reference and component reference. | |
8252 | (analyze_scalar_evolution_for_address_of): New. | |
8253 | ||
d0295369 | 8254 | 2012-03-08 Jie Zhang <jzhang918@gmail.com> |
8255 | ||
8256 | PR target/49862 | |
f9c68163 | 8257 | * config/bfin/bfin.c (hwloop_optimize): Fix unused variable warnings. |
d0295369 | 8258 | (hwloop_pattern_reg): Fix set but not used warning. |
8259 | (bfin_reorg_loops): Remove unused parameter. | |
8260 | (bfin_reorg): Update use of bfin_reorg_loops. | |
8261 | ||
df901db8 | 8262 | 2012-03-08 H.J. Lu <hongjiu.lu@intel.com> |
8263 | ||
8264 | * config/i386/i386.c (setup_incoming_varargs_64): Use word_mode | |
8265 | with integer parameters in registers. | |
8266 | (gen_push): Push register in word_mode instead of Pmode. | |
8267 | (ix86_emit_save_regs): Likewise. | |
f9c68163 | 8268 | (ix86_emit_save_regs_using_mov): Save integer registers in word_mode. |
df901db8 | 8269 | (gen_pop): Pop register in word_mode instead of Pmode. |
8270 | (ix86_emit_restore_regs_using_pop): Likewise. | |
8271 | (ix86_expand_prologue): Replace Pmode with word_mode for push | |
8272 | immediate. Use ix86_gen_pro_epilogue_adjust_stack. Save and | |
8273 | restore RAX and R10 in word_mode. | |
8274 | (ix86_emit_restore_regs_using_mov): Restore integer registers | |
8275 | in word_mode. | |
8276 | (ix86_expand_split_stack_prologue): Save R10_REG and restore in | |
8277 | word_mode. | |
8278 | (ix86_split_to_parts): Use word_mode with PUT_MODE for push. | |
8279 | (ix86_split_long_move): Likewise. | |
8280 | ||
8281 | * config/i386/i386.md (W): New. | |
8282 | (*push<mode>2_prologue): Replace :P with :W. | |
8283 | (*pop<mode>1): Likewise. | |
8284 | (*pop<mode>1_epilogue): Likewise. | |
8285 | (push/pop peephole2): Use word_mode scratch registers. | |
8286 | ||
dea4eea4 | 8287 | 2012-03-08 Uros Bizjak <ubizjak@gmail.com> |
8288 | ||
8289 | * config/i386/predicates.md (indirect_branch_operand): Simplify. | |
8290 | ||
1c66468a | 8291 | 2012-03-08 Georg-Johann Lay <avr@gjlay.de> |
8292 | ||
8293 | * config/avr/avr.md (*addhi3, addhi3_clobber): Add "w" alternative | |
8294 | for constants in [-63,63]. | |
8295 | ||
27c1fe3b | 8296 | 2012-03-08 Uros Bizjak <ubizjak@gmail.com> |
8297 | ||
8298 | PR target/52530 | |
8299 | Revert: | |
8300 | 2012-03-04 H.J. Lu <hongjiu.lu@intel.com> | |
8301 | ||
8302 | * config/i386/i386.c (ix86_print_operand_address): Only handle | |
8303 | zero-extended DImode addresses. | |
8304 | ||
5f031e88 | 8305 | 2012-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8306 | ||
8307 | * configure.ac (gcc_cv_as_ix86_tlsldmplt): Add label. | |
8308 | * configure: Regenerate. | |
8309 | ||
5af5ea69 | 8310 | 2012-03-08 Georg-Johann Lay <avr@gjlay.de> |
8311 | ||
8312 | PR target/52496 | |
8313 | * config/avr/avr.c (avr_mem_clobber): New static function. | |
8314 | (avr_expand_delay_cycles): Add memory clobber operand to | |
8315 | delay_cycles_1, delay_cycles_2, delay_cycles_3, delay_cycles_4. | |
8316 | * config/avr/avr.md (unspec): Add UNSPEC_MEMORY_BARRIER. | |
8317 | (enable_interrupt, disable_interrupt): New expander. | |
8318 | (nopv, sleep, wdr): New expanders. | |
8319 | (delay_cycles_1): Add memory clobber. | |
8320 | (delay_cycles_2): Add memory clobber. | |
8321 | (delay_cycles_3): Add memory clobber. | |
8322 | (delay_cycles_4): Add memory clobber. | |
8323 | (cli_sei): New insn from former "enable_interrupt", | |
8324 | "disable_interrupt" with memory clobber. | |
8325 | (*wdt): New insn from former "wdt" with memory clobber. | |
8326 | (*nopv): Similar, but for "nopv". | |
8327 | (*sleep): Similar, but for "sleep". | |
8328 | ||
acf1cb58 | 8329 | 2012-03-07 Oleg Endo <olegendo@gcc.gnu.org> |
8330 | Kaz Kojima <kkojima@gcc.gnu.org> | |
8331 | ||
8332 | PR target/52503 | |
8333 | * config/sh/sh.opt (msoft-atomic): Use Var instead of Mask. | |
8334 | * config/sh/linux.h (TARGET_DEFAULT): Remove MASK_SOFT_ATOMIC. | |
8335 | (SUBTARGET_OVERRIDE_OPTIONS): Define. | |
8336 | ||
79c51b65 | 8337 | 2012-03-07 Uros Bizjak <ubizjak@gmail.com> |
8338 | ||
8339 | * config/i386/predicates.md (x86_64_zext_general_operand): New. | |
8340 | * config/i386/i386.md (*zero_extendsidi2_rex64): Change operand 1 | |
8341 | predicate to x86_64_zext_general_operand. Accept "Z" constraint. | |
8342 | ||
c6cfe48f | 8343 | 2012-03-07 Walter Lee <walt@tilera.com> |
8344 | ||
8345 | * config/tilegx/tilegx.c (tilegx_expand_prologue): Don't generate | |
8346 | REG_CFA_* notes for the stack pointer. | |
8347 | (tilegx_expand_epilogue): Restore stack pointer by adjusting it by | |
8348 | EH_RETURN_STACKADJ_RTX. | |
8349 | * config/tilepro/tilepro.c (tilepro_expand_prologue): Don't | |
8350 | generate REG_CFA_* notes for the stack pointer. | |
8351 | (tilepro_expand_epilogue): Restore stack pointer by adjusting it | |
8352 | by EH_RETURN_STACKADJ_RTX. | |
8353 | ||
cf19911a | 8354 | 2012-03-07 Georg-Johann Lay <avr@gjlay.de> |
8355 | ||
8356 | * doc/invoke.texi (AVR Built-in Macros): Correct condition for | |
8357 | when __AVR_3_BYTE_PC__ is defined. | |
8358 | ||
eff54bae | 8359 | 2012-03-07 Uros Bizjak <ubizjak@gmail.com> |
8360 | ||
8361 | * config/i386/i386.c (ix86_print_operand_punct_valid_p): Add '^'. | |
8362 | (ix86_print_operand): Handle '^'. | |
8363 | * config/i386/i386.md (*strmovdi_rex_1): Macroize memory operands | |
8364 | using P mode iterator. Add %^ to asm template to conditionally emit | |
8365 | addr32 prefix. | |
8366 | (*rep_movdi_rex64): Ditto. | |
8367 | (*strsetdi_rex_1): Ditto. | |
8368 | (*rep_stosdi_rex64): Ditto. | |
8369 | (*strmov{si,hi,qi}_1): Add %^ to asm template to | |
8370 | conditionally emit addr32 prefix. | |
8371 | (*rep_mov{si,qi}): Ditto. | |
8372 | (*strset{si,hi,qi}): Ditto. | |
8373 | (*rep_stos{si,qi}): Ditto. | |
8374 | (*cmpstrnqi_nz_1): Ditto. | |
8375 | (*cmpstrnqi_1): Ditto. | |
8376 | (*strlenqi_1): Ditto. | |
8377 | ||
f8ae29a7 | 8378 | 2012-03-07 H.J. Lu <hongjiu.lu@intel.com> |
8379 | ||
8380 | * config/i386/i386.c (function_value_64): Return pointers in | |
8381 | word_mode instead of Pmode. | |
8382 | (ix86_promote_function_mode): Likewise. | |
8383 | ||
1b3c3119 | 8384 | 2012-03-07 Richard Guenther <rguenther@suse.de> |
8385 | ||
8386 | * coverage.c (get_gcov_type): Use type_for_mode. | |
8387 | (get_gcov_unsigned_t): Likewise. | |
8388 | * expr.c (store_constructor): Use type_for_mode. | |
8389 | (try_casesi): Likewise. | |
eff54bae | 8390 | * tree-ssa-loop-ivopts.c (add_standard_iv_candidates_for_size): Remove. |
1b3c3119 | 8391 | (add_standard_iv_candidates): Use standard type trees. |
8392 | * dojump.c (do_jump): Remove dead code. | |
8393 | ||
3c9b85aa | 8394 | 2012-03-07 Richard Guenther <rguenther@suse.de> |
8395 | ||
8396 | * c-typeck.c (pointer_diff): Use c_common_type_for_size. | |
8397 | ||
481e2176 | 8398 | 2012-03-07 Richard Guenther <rguenther@suse.de> |
8399 | ||
8400 | * convert.c (strip_float_extensions): Move ... | |
8401 | * tree.c (strip_float_extensions): ... here. | |
8402 | ||
3f149cc9 | 8403 | 2012-03-07 Georg-Johann Lay <avr@gjlay.de> |
8404 | ||
8405 | PR target/52484 | |
8406 | * config/avr/avr.md (xload<mode>_A): Add R22... to register footprint. | |
8407 | ||
3cea8318 | 8408 | 2012-03-07 Richard Guenther <rguenther@suse.de> |
8409 | ||
8410 | * omp-low.c (extract_omp_for_data): Use signed_type_for. | |
8411 | (expand_omp_for_generic): Likewise. | |
8412 | (expand_omp_for_static_nochunk): Likewise. | |
8413 | (expand_omp_for_static_chunk): Likewise. | |
8414 | * tree-vect-stmts.c (vect_gen_perm_mask): Use type_for_mode. | |
8415 | * tree-vect-slp.c (vect_transform_slp_perm_load): Likewise. | |
8416 | * tree-vect-loop-manip.c (vect_gen_niters_for_prolog_loop): | |
8417 | Use unsigned_type_for. | |
8418 | (vect_create_cond_for_align_checks): Use signed_type_for. | |
8419 | ||
ed726cbf | 8420 | 2012-03-07 Andrey Belevantsev <abel@ispras.ru> |
8421 | ||
8422 | PR rtl-optimization/52203 | |
8423 | * sel-sched.c (estimate_insn_cost): New parameter pempty. Adjust | |
8424 | all callers to pass NULL except ... | |
8425 | (reset_sched_cycles_in_current_ebb): ... here, save the value | |
8426 | in new variable 'empty'. Increase issue_rate only for | |
eff54bae | 8427 | non-empty insns. |
ed726cbf | 8428 | |
3f9e8673 | 8429 | 2012-03-07 Ralf Corsépius <ralf.corsepius@rtems.org> |
8430 | ||
8431 | PR target/51417 | |
eff54bae | 8432 | * Makefile.in: Let install-gcc-ar depend on installdirs, |
8433 | gcc-ar$(exeext), gcc-nm$(exeext), gcc-ranlib$(exeext). | |
3f9e8673 | 8434 | Don't double canonicalize if cross-compiling. |
8435 | ||
69a2907c | 8436 | 2012-03-07 Georg-Johann Lay <avr@gjlay.de> |
8437 | ||
8438 | PR target/52506 | |
8439 | * gcc/config/avr/avr.c (expand_epilogue): Fix order of restoration | |
8440 | to: RAMPZ, RAMPY, RAMPX, RAMPD. | |
8441 | (expand_prologue): Only clear RAMPZ if it has effect on RAM-read. | |
8442 | ||
ee3ce577 | 8443 | 2012-03-07 Georg-Johann Lay <avr@gjlay.de> |
8444 | ||
8445 | PR target/52505 | |
8446 | * config/avr/avr.c (avr_out_xload): Don't read unintentionally | |
8447 | from RAM. | |
8448 | * config/avr/avr.md (xload_8): Adjust insn length. | |
8449 | ||
be20cbdd | 8450 | 2012-03-07 Georg-Johann Lay <avr@gjlay.de> |
8451 | ||
8452 | PR target/52461 | |
8453 | * gcc/config/avr/avr.c (avr_out_lpm): Clear RAMPZ after usage | |
8454 | if RAMPZ affects reading from RAM. | |
8455 | ||
8b046cbb | 8456 | 2012-03-07 Richard Guenther <rguenther@suse.de> |
8457 | ||
8458 | PR pch/52518 | |
8459 | PR pch/38987 | |
8460 | * doc/invoke.texi (Precompiled Headers): Remove sentence that | |
8461 | suggests you can include PCHs from inside another header. | |
8462 | ||
9737dd95 | 8463 | 2012-03-07 Richard Sandiford <rdsandiford@googlemail.com> |
8464 | ||
8465 | PR middle-end/52515 | |
8466 | * rtl.h (pc_rtx, cc0_rtx, ret_rtx, simple_return_rtx): Add GTY markers. | |
8467 | ||
4bc312c5 | 8468 | 2012-03-07 Kai Tietz <ktietz@redhat.com> |
8469 | ||
8470 | * doc/invoke.texi (fwritable-relocated-rdata): Document | |
8471 | new Cygwin/MinGW target option. | |
8472 | * config/i386/winnt.c (i386_pe_unique_section): Ignore | |
8473 | reloc if flag -fwritable-relocated-rdata is not set. | |
8474 | (i386_pe_section_type_flags): Likewise. | |
8475 | * config/i386/cygming.opt (fwritable-relocated-rdata): | |
8476 | Add new flag variable flag_writable_rel_rdata. | |
8477 | ||
b36be69d | 8478 | 2012-03-07 Richard Guenther <rguenther@suse.de> |
8479 | ||
8480 | * tree-ssa-math-opts.c (convert_mult_to_widen): Check actual | |
8481 | precision against gimple constraints. | |
8482 | ||
7d7b0bac | 8483 | 2012-03-06 Richard Sandiford <rdsandiford@googlemail.com> |
8484 | ||
8485 | PR middle-end/52372 | |
8486 | * rtl.h (pc_rtx, ret_rtx, simple_return_rtx, cc0_rtx): Redefine as | |
8487 | variables. | |
8488 | (GR_PC, GR_CC0, GR_RETURN, GR_SIMPLE_RETURN): Delete. | |
8489 | * emit-rtl.c (pc_rtx, ret_rtx, simple_return_rtx, cc0_rtx): New | |
8490 | variables. | |
8491 | (init_emit_regs): Move associated initialization to... | |
8492 | (init_emit_once): ...here. | |
8493 | ||
943b78f0 | 8494 | 2012-03-06 Richard Henderson <rth@redhat.com> |
8495 | ||
8496 | * config/m68k/m68k.h (ISA_HAS_TAS): New. | |
8497 | * config/m68k/sync.md (atomic_test_and_set): Use it. | |
8498 | (atomic_test_and_set_1): Likewise. | |
8499 | ||
506056fd | 8500 | 2012-03-06 Michael Meissner <meissner@linux.vnet.ibm.com> |
8501 | ||
8502 | PR target/50310 | |
8503 | * config/rs6000/vector.md (vector_uneq<mode>): Add support for | |
8504 | UNEQ, LTGT, ORDERED, and UNORDERED IEEE vector comparisons. | |
8505 | (vector_ltgt<mode>): Likewise. | |
8506 | (vector_ordered<mode>): Likewise. | |
8507 | (vector_unordered<mode>): Likewise. | |
eff54bae | 8508 | * config/rs6000/rs6000.c (rs6000_emit_vector_compare_inner): Likewise. |
506056fd | 8509 | |
5ab54790 | 8510 | 2012-03-06 Aldy Hernandez <aldyh@redhat.com> |
8511 | ||
8512 | * trans-mem.c: New typedef for tm_region_p. | |
8513 | Define vector types for tm_region_p. | |
8514 | (tm_region_init): Replace region_worklist to a vector called | |
8515 | bb_regions. | |
8516 | ||
06e80d0a | 8517 | 2012-03-06 Richard Guenther <rguenther@suse.de> |
8518 | ||
8519 | * fold-const.c (build_fold_addr_expr_with_type_loc): Fold | |
8520 | MEM_REF with constant pointer operand. | |
8521 | ||
80b4d93e | 8522 | 2012-03-06 Richard Guenther <rguenther@suse.de> |
8523 | ||
8524 | PR middle-end/52493 | |
8525 | * tree-ssa-alias.c (ptr_derefs_may_alias_p): Robustify. | |
8526 | ||
abb4c37a | 8527 | 2012-03-06 Tristan Gingold <gingold@adacore.com> |
8528 | ||
eff54bae | 8529 | * config/vms/vms-c.c (vms_pragma_nomember_alignment): Handle octaword. |
abb4c37a | 8530 | (external_model_kind): Improve documentation. |
8531 | (vms_pragma_extern_model): Handle relaxed_redef. | |
8532 | (vms_c_register_pragma): Allow expansion for nomember_alignment. | |
8533 | ||
3c90c054 | 8534 | 2012-03-06 Georg-Johann Lay <avr@gjlay.de> |
8535 | ||
8536 | * doc/invoke.texi (AVR Options): -mmcu=: Document the XMEGA cores. | |
8537 | Explain RAMPD, RAMPX, RAMPDY, RAMPZ usage by avr-gcc. | |
8538 | Some more notes on EIND usage and reorder EIND subsection. | |
8539 | ||
f3925bb3 | 8540 | 2012-03-06 Tristan Gingold <gingold@adacore.com> |
8541 | ||
8542 | * config/vms/vms.c (VMS_CRTL_LDBL): Rename from VMS_CRTL_PRNTF. | |
8543 | * config/vms/vms-crtlmap.map: Rename PRNTF to LDBL. | |
8544 | ||
46d35275 | 8545 | 2012-03-06 Tristan Gingold <gingold@adacore.com> |
8546 | ||
8547 | * config/vms/t-vmsnative (version): Define. | |
8548 | * config/vms/t-vms (STMP_FIXPROTO, STMP_FIXINC, version): Remove. | |
8549 | ||
ef4cf572 | 8550 | 2012-03-06 Andrey Belevantsev <abel@ispras.ru> |
8551 | ||
8552 | PR rtl-optimization/52250 | |
8553 | * sel-sched-ir.c (maybe_tidy_empty_bb): Try harder to find a bb | |
8554 | to put note list into. Unconditionally call move_bb_info. | |
8555 | (move_bb_info): Do not assert the blocks being in the same region, | |
46d35275 | 8556 | just drop the note list if they are not. |
ef4cf572 | 8557 | |
3c2ed158 | 8558 | 2012-03-06 Oleg Endo <olegendo@gcc.gnu.org> |
8559 | ||
8560 | PR target/51244 | |
8561 | * config/sh/sh.c (sh_expand_t_scc): Remove SH2A special case | |
8562 | and use unified expansion logic. | |
8563 | * config/sh/sh.md (xorsi3_movrt): Rename to movrt. Move | |
8564 | closer to the existing movt insn. | |
8565 | (negc): Rename insn to *negc. Add new expander. | |
8566 | (movnegt): Use xor pattern for T bit negation. Reserve helper | |
8567 | constant for negc pattern. | |
8568 | (*movnegt): New insn and splitter. | |
8569 | ||
555c3766 | 8570 | 2012-03-05 Bernd Schmidt <bernds@codesourcery.com> |
8571 | ||
8572 | * c-typeck.c (pointer_diff): Check for POINTER_PLUS_EXPR, not | |
8573 | PLUS_EXPR. | |
8574 | ||
e374c627 | 8575 | 2012-03-05 Richard Henderson <rth@redhat.com> |
8576 | ||
8577 | * genemit.c (main): Include "target.h" in insn-emit.c. | |
8578 | * Makefile.in (insn-emit.o): Depend on TARGET_H. | |
8579 | * config/sh/sync.md (atomic_test_and_set): Reference | |
8580 | targetm.atomic_test_and_set_trueval instead of | |
8581 | TARGET_ATOMIC_TEST_AND_SET_TRUEVAL. | |
8582 | ||
d00acb08 | 8583 | 2012-03-05 Joern Rennecke <joern.rennecke@embecosm.com> |
8584 | ||
8585 | * config/epiphany/epiphany.c (epiphany_function_value_regno_p): | |
8586 | Make static. | |
8587 | ||
549aab72 | 8588 | 2012-03-05 Steven Bosscher <steven@gcc.gnu.org> |
8589 | ||
8590 | * langhooks.c (add_builtin_type): New function. | |
8591 | * langhooks.h (add_builtin_type): Export it. | |
8592 | * config/mep/mep.c (mep_init_builtins): Use it. | |
8593 | * config/rs6000/rs6000.c (rs6000_init_builtins): Use it. | |
8594 | ||
665611e7 | 8595 | 2012-03-05 Jakub Jelinek <jakub@redhat.com> |
8596 | ||
8597 | PR debug/51902 | |
8598 | * tree.h (BLOCK_SAME_RANGE): Define. | |
8599 | * function.c (block_fragments_nreverse): Clear BLOCK_SAME_RANGE | |
8600 | if BLOCK_FRAGMENT_CHAIN is non-NULL, but has it cleared. | |
8601 | Also clear BLOCK_SAME_RANGE if fragment chain's supercontext fragment | |
8602 | isn't equal to supercontext fragment's fragment chain. | |
8603 | Adjust BLOCK_SUPERCONTEXT to point to supercontext fragment's | |
8604 | fragment origin. | |
8605 | (blocks_nreverse_all): Likewise. | |
8606 | (reorder_blocks_1): Compute BLOCK_SAME_RANGE bits. Set | |
8607 | BLOCK_SUPERCONTEXT to supercontext fragment instead of | |
8608 | supercontext fragment's fragment origin. | |
8609 | * dwarf2out.c (add_high_low_attributes): If stmt has the same | |
8610 | range as its parent (or parents thereof etc.), use the parent's | |
8611 | DW_AT_ranges value instead of creating a new .debug_ranges range. | |
8612 | ||
dcf7024c | 8613 | 2012-03-05 Richard Henderson <rth@redhat.com> |
8614 | ||
8615 | PR tree-opt/52242 | |
8616 | Revert: 2011-11-26 Richard Henderson <rth@redhat.com> | |
8617 | * omp-low.c (expand_omp_atomic): Assume anything aligned to | |
8618 | BIGGEST_ALIGNMENT is aligned. | |
8619 | ||
940bb42d | 8620 | 2012-03-05 Richard Henderson <rth@redhat.com> |
8621 | ||
8622 | * config/sh/sh.h (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): Move... | |
8623 | * config/sh/sh.c: ... here. | |
8624 | ||
ba884946 | 8625 | 2012-03-05 Richard Henderson <rth@redhat.com> |
8626 | ||
8627 | PR target/52481 | |
8628 | * config/m68k/sync.md (atomic_test_and_set): Use expand_simple_unop | |
8629 | instead of calling negqi2 directly. | |
8630 | ||
1dfa4f7f | 8631 | 2012-03-05 Aldy Hernandez <aldyh@redhat.com> |
8632 | ||
8633 | PR middle-end/52463 | |
8634 | * trans-mem.c (tm_region_init): Use last_basic_block. | |
8635 | ||
631f95de | 8636 | 2012-03-05 Oleg Endo <olegendo@gcc.gnu.org> |
8637 | ||
8638 | * config/sh/sh.h (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): New hook. | |
8639 | * config/sh/sync.md (atomic_test_and_set): New expander. | |
8640 | (tasb, atomic_test_and_set_soft): New insns. | |
8641 | * config/sh/sh.opt (menable-tas): New option. | |
8642 | * doc/invoke.texi (SH Options): Document it. | |
8643 | ||
ef0e6535 | 8644 | 2012-03-05 Richard Guenther <rguenther@suse.de> |
8645 | ||
8646 | * cfgloop.c (verify_loop_structure): Verify dominators before | |
8647 | using them. | |
8648 | * graphite-clast-to-gimple.c (graphite_verify): Do not verify | |
8649 | dominators from here. | |
8650 | * graphite-scop-detection.c (create_sese_edges): Likewise. | |
8651 | * loop-doloop.c (doloop_optimize_loops): Likewise. | |
8652 | * loop-init.c (loop_optimizer_init): Likewise. | |
8653 | * loop-unroll.c (unroll_and_peel_loops): Likewise. | |
8654 | * loop-unswitch.c (unswitch_loops): Likewise. | |
8655 | * tree-ssa-loop-manip.c (tree_transform_and_unroll_loop): Likewise. | |
8656 | * tree-parloops.c (parallelize_loops): Likewise. Verify | |
8657 | only when checking is enabled. | |
8658 | * tree-loop-distribution.c (tree_loop_distribution): Likewise. | |
8659 | ||
e9eae8c8 | 8660 | 2012-03-05 Bernd Schmidt <bernds@codesourcery.com> |
8661 | ||
8662 | * genautomata.c (parse_automata_opt): New static function. | |
8663 | (initiate_automaton_gen): Remove all option handling code. Remove | |
8664 | argc argument. All callers changed. | |
eff54bae | 8665 | (main): Call init_rtx_reader_args_cb with the new function as argument. |
e9eae8c8 | 8666 | |
821ac701 | 8667 | 2012-03-05 Richard Guenther <rguenther@suse.de> |
8668 | ||
8669 | * cfgexpand.c (gimple_expand_cfg): Free dominator info. | |
8670 | * tree-if-conv.c (combine_blocks): Free post-dominator info | |
8671 | after breaking it. | |
8672 | * tree-parloops.c (create_parallel_loop): Free and re-compute | |
8673 | dominator info after breaking it. | |
8674 | ||
4c79581c | 8675 | 2012-03-05 Richard Guenther <rguenther@suse.de> |
8676 | ||
8677 | PR middle-end/52353 | |
8678 | * optabs.h (trapv_unoptab_p): New function. | |
8679 | (trapv_binoptab_p): Likewise. | |
8680 | * optabs.c (expand_binop): Use emit_libcall_block_1 with | |
8681 | a proper equiv_may_trap argument. | |
8682 | (expand_unop): Likewise. | |
8683 | (emit_libcall_block_1): Take extra argument whether the | |
8684 | instruction may trap. Renamed from ... | |
8685 | (emit_libcall_block): ... this. New wrapper. | |
8686 | ||
d4afc00c | 8687 | 2012-03-05 Jakub Jelinek <jakub@redhat.com> |
8688 | ||
98f00c5b | 8689 | PR tree-optimization/51721 |
8690 | * tree-vrp.c (register_edge_assert_for_2): If comparing | |
8691 | lhs of right shift by constant with an integer constant, | |
8692 | add ASSERT_EXPRs for the rhs1 of the right shift. | |
8693 | ||
d4afc00c | 8694 | * cfgrtl.c (cfg_layout_merge_blocks): Cleanup. |
8695 | ||
9ee917f7 | 8696 | 2012-03-05 Richard Guenther <rguenther@suse.de> |
8697 | ||
8698 | * tree.c (integer_zerop): Handle VECTOR_CSTs. | |
8699 | (integer_onep): Likewise. | |
8700 | (integer_all_onesp): Likewise. | |
8701 | ||
c2e23f8a | 8702 | 2012-03-05 Georg-Johann Lay <avr@gjlay.de> |
8703 | ||
8704 | * config/avr/avr.md (*umaddqihi4.2): New insn-and-split. | |
8705 | ||
7cb32b9e | 8706 | 2012-03-04 H.J. Lu <hongjiu.lu@intel.com> |
8707 | ||
8708 | * config/i386/i386.c (pro_epilogue_adjust_stack): Check Pmode | |
8709 | instead of TARGET_64BIT. | |
8710 | ||
9868cee1 | 8711 | 2012-03-04 H.J. Lu <hongjiu.lu@intel.com> |
8712 | ||
8713 | * config/i386/i386.c (ix86_expand_prologue): Check Pmode to set | |
8714 | adjust_stack_insn. | |
8715 | ||
a8ebae34 | 8716 | 2012-03-04 H.J. Lu <hongjiu.lu@intel.com> |
8717 | ||
8718 | * config/i386/i386.c (ix86_print_operand_address): Only handle | |
8719 | zero-extended DImode addresses. | |
8720 | ||
8f4b480e | 8721 | 2012-03-04 Uros Bizjak <ubizjak@gmail.com> |
8722 | ||
8723 | * config/i386/i386.c (ix86_print_operand) <case '+'>: Declare | |
8724 | taken and cputaken as bool. | |
8725 | ||
ad797097 | 8726 | 2012-03-04 Uros Bizjak <ubizjak@gmail.com> |
8727 | ||
8728 | * config/i386/constraints.md (Ya): New internal constraint. | |
8729 | * config/i386/i386.md (zero_extendsidi2): Remove expansion. | |
8730 | (*zero_extendsidi2_rex64): Add x,x alternative. | |
8731 | (*zero_extendsidi2): Ditto. Add o,0 alternative. | |
8732 | Remove flags reg clobber. Adjust corresponding splits. | |
8733 | (zero_extend<mode>si2): Macroize expander from zero_extendhisi2 and | |
8734 | zero_extendqisi2 expanders using SWI12 mode iterator. | |
8735 | (zero_extend<mode>si2_and): Macroize insn from | |
8736 | zero_extendhisi2_and and zero_extendqisi2_and. Merge corresponding | |
8737 | splitters. | |
8738 | (*zero_extend<mode>si2): Macroize insn from | |
8739 | *zero_extendhisi2_movzbl and *zero_extendqisi2_movzbl. | |
8740 | (*zero_extend*2_movzbl_and): Remove insn patterns. | |
8741 | (zero_extendqihi2_and): Merge corresponding splitter. | |
8742 | (*zero_extendqihi2): Rename from *zero_extendqihi2_movzbl. | |
8743 | (*zero_extend*2_movzbl_and): Remove insn patterns. | |
8744 | (*anddi_1): Split TYPE_IMOVX instructions. | |
8745 | (*andsi_1): Use Ya for alternative 2. Split TYPE_IMOVX instructions. | |
8746 | (*andhi_1): Ditto. | |
8747 | (and->zext splitter): Add splitter pattern. | |
8748 | (zero extend with andsi3 splitter): Adjust zero_extend pattern. | |
8749 | ||
0989c0ee | 8750 | 2012-03-04 Sandra Loosemore <sandra@codesourcery.com> |
8751 | ||
8752 | * doc/invoke.texi (C++ Dialect Options): Minor copy-edits to | |
8753 | x86-specific text. | |
8754 | (Debugging Options): Likewise. | |
8755 | (Optimize Options): Likewise. | |
8756 | (i386 and x86-64 Options): Discuss -march before -mtune, consistently | |
8757 | with other architectures. Use official processor names with correct | |
8758 | spelling/capitalization. Fix formatting and grammar issues. | |
8759 | (i386 and x86-64 Windows Options): Similar cleanup here. | |
8760 | ||
0f4929a3 | 8761 | 2012-03-03 Kaz Kojima <kkojima@gcc.gnu.org> |
8762 | ||
8763 | * config/sh/sh.md (abssi2): Add TARGET_SH1 condition. | |
8764 | ||
3d7c0741 | 8765 | 2012-03-03 Kaz Kojima <kkojima@gcc.gnu.org> |
8766 | ||
8767 | * config/sh/sh.c (sh_dwarf_register_span): Don't apply | |
8768 | DBX_REGISTER_NUMBER. | |
8769 | ||
ed739787 | 8770 | 2012-03-03 Kaz Kojima <kkojima@gcc.gnu.org> |
8771 | ||
8772 | * config/sh/sh.c (shiftcosts): Return MAX_COST when the first | |
8773 | operand is CONST_INT. Take COSTS_N_INSNS into account. | |
8774 | (sh_rtx_costs): Don't apply COSTS_N_INSNS to the return value | |
8775 | of shiftcosts. | |
8776 | ||
75ee1af4 | 8777 | 2012-03-02 Richard Henderson <rth@redhat.com> |
8778 | ||
8779 | * optabs.c (expand_atomic_test_and_set): Honor | |
8780 | atomic_test_and_set_trueval even when atomic_test_and_set | |
8781 | optab is not in use. | |
8782 | ||
07732170 | 8783 | 2012-03-02 Kaz Kojima <kkojima@gcc.gnu.org> |
8784 | ||
8785 | PR target/48596 | |
8786 | PR target/48806 | |
8787 | * config/sh/sh.c (sh_register_move_cost): Increase cost between | |
8788 | GENERAL_REGS and FP_REGS for SImode. | |
8789 | ||
428d0ab7 | 8790 | 2012-03-02 Oleg Endo <olegendo@gcc.gnu.org> |
8791 | ||
8792 | PR target/49486 | |
8793 | * config/sh/sh.md (negdi2): Add TARGET_SH1 condition. | |
8794 | (absdi2): New expander. | |
8795 | (*absdi2, *negabsdi2, negdi_cond): New insns and splits. | |
8796 | ||
52671251 | 8797 | 2012-03-02 Oleg Endo <olegendo@gcc.gnu.org> |
8798 | ||
882390bb | 8799 | * config/sh/sync.md (atomic_exchange<mode>): New expander. |
8800 | (atomic_exchange<mode>_soft): New insn. | |
8801 | ||
8802 | 2012-03-02 Oleg Endo <olegendo@gcc.gnu.org> | |
8803 | ||
8804 | * config/sh/sync.md: Update copyright notice dates. | |
52671251 | 8805 | (atomic_compare_and_swap<mode>): Use SImode for return value instead |
8806 | of QImode. | |
882390bb | 8807 | (atomic_compare_and_swap<mode>_soft): Likewise. |
52671251 | 8808 | |
8809 | 2012-03-02 Oleg Endo <olegendo@gcc.gnu.org> | |
ad797097 | 8810 | |
164fbbdf | 8811 | PR target/31640 |
8812 | * config/sh/sh.h (LOOP_ALIGN): Move logic to sh_loop_align. | |
8813 | * config/sh/sh.c: Update copyright notice dates. | |
8814 | (sh_loop_align): Add logic from LOOP_ALIGN. Don't disable loop | |
8815 | alignment for TARGET_HARD_SH4. | |
ad797097 | 8816 | (sh_option_override): Reduce default function alignment. Set |
164fbbdf | 8817 | loop alignment to 4 bytes when not optimizing for size. |
8818 | ||
d094f1d6 | 8819 | 2012-03-02 Maxim Kuvyrkov <maxim@codesourcery.com> |
8820 | ||
fa2f697a | 8821 | PR middle-end/50335 |
d094f1d6 | 8822 | * doc/invoke.texi (floop-flatten): Remove. |
8823 | * toplev.c (process_options): Remove references to flag_loop_flatten. | |
8824 | * tree-ssa-loop.c (gate_graphite_transform): Same. | |
8825 | * common.opt (floop-flatten): Obsolete. | |
8826 | * graphite-poly.c (apply_poly_transforms): Remove reference to | |
8827 | flag_loop_flatten. | |
8828 | * Makefile.in (graphite-flattening.o): Remove. | |
8829 | * graphite-flattening.c: Remove. | |
8830 | ||
ea6ad4ae | 8831 | 2012-03-02 Uros Bizjak <ubizjak@gmail.com> |
8832 | ||
8833 | * compare-elim.c (find_comparisons_in_bb): Eliminate only compares | |
8834 | having mode compatible with the mode of previous compare. Substitute | |
8835 | compare mode of previous compare with the mode, compatible | |
8836 | with eliminated and previous compare. | |
8837 | ||
b1addacc | 8838 | 2012-03-02 Peter Bergner <bergner@vnet.ibm.com> |
8839 | ||
8840 | * config/rs6000/dfp.md (floatdidd2): New define_insn. | |
8841 | ||
01c12879 | 8842 | 2012-03-02 Uros Bizjak <ubizjak@gmail.com> |
8843 | ||
8844 | * config/i386/i386.c (ix86_cc_modes_compatible): Declare CCZmode | |
8845 | compatible with CCGOCmode and CCGCmode. | |
8846 | ||
508c1626 | 8847 | 2012-03-02 Peter Bergner <bergner@vnet.ibm.com> |
8848 | ||
8849 | * config/rs6000/vsx.md (vsx_set_<mode>): Reorder operands. | |
8850 | ||
b49e3742 | 8851 | 2012-03-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
8852 | ||
8853 | * config/arm/arm.c (arm_sat_operator_match): New function. | |
8854 | * config/arm/arm-protos.h (arm_sat_operator_match): Add prototype. | |
8855 | * config/arm/arm.md ("insn" attribute): Add "sat" value. | |
8856 | ("SAT", "SATrev"): New code iterators. | |
8857 | ("SATlo", "SAThi"): New code iterator attributes. | |
8858 | ("*satsi_<SAT:code>"): New pattern. | |
8859 | ("*satsi_<SAT:code>_shift"): Likewise. | |
8860 | * config/arm/arm-fixed.md ("arm_ssatsihi_shift"): Add "insn" | |
8861 | and "shift" attributes. | |
8862 | ("arm_usatsihi"): Add "insn" attribute. | |
8863 | * config/arm/predicates.md (sat_shift_operator): Allow multiplication | |
8864 | by powers of two. Do not allow shift by 32. | |
8865 | ||
7103ce44 | 8866 | 2012-03-02 Uros Bizjak <ubizjak@gmail.com> |
8867 | ||
8868 | PR target/46716 | |
8869 | * config/i386/i386.c (construct_container): Use gen_reg_or_parallel | |
8870 | to pass the argument in the register of "natural" mode. | |
8871 | ||
95539e1d | 8872 | 2012-03-02 Richard Guenther <rguenther@suse.de> |
8873 | ||
8874 | PR tree-optimization/52406 | |
8875 | * tree-data-ref.h: Update documentation about DR_BASE_OBJECT. | |
8876 | (struct indices): Add unconstrained_base member. | |
8877 | (struct dr_alias): Remove unused vops member. | |
8878 | (DR_UNCONSTRAINED_BASE): New define. | |
8879 | * tree-data-ref.c (dr_analyze_indices): For COMPONENT_REFs | |
8880 | add indices to allow their disambiguation. Make DR_BASE_OBJECT | |
8881 | be an artificial access that covers the whole indexed object, | |
8882 | or mark it with DR_UNCONSTRAINED_BASE if we cannot do so. Canonicalize | |
8883 | plain decl base-objects to their MEM_REF variant. | |
8884 | (dr_may_alias_p): When the base-object of either data reference | |
8885 | has unknown size use only points-to information. | |
8886 | (compute_affine_dependence): Make dumps easier to read and | |
8887 | more verbose. | |
8888 | * tree-vect-data-ref.c (vector_alignment_reachable_p): Use | |
8889 | DR_REF when looking for packed references. | |
8890 | (vect_supportable_dr_alignment): Likewise. | |
8891 | ||
9811ae10 | 8892 | 2012-03-02 Greta Yorsh <Greta.Yorsh@arm.com> |
8893 | ||
7103ce44 | 8894 | * config/arm/arm-ldmstm.ml (write_ldm_commutative_peephole): |
9811ae10 | 8895 | Improve conditions for peepholes of loads followed by commutative |
8896 | operators. | |
7103ce44 | 8897 | * config/arm/ldmstm.md: Regenerated. |
9811ae10 | 8898 | |
f5c0f433 | 8899 | 2012-03-02 Richard Guenther <rguenther@suse.de> |
8900 | ||
8901 | * BASE-VER: Set to 4.8.0. | |
8902 | ||
8f50e6ed | 8903 | 2012-03-01 Richard Earnshaw <rearnsha@arm.com> |
8904 | ||
8905 | * config.gcc (obsolete): Add all ARM targets using the FPA. | |
8906 | (with_fpu): Obsolete selection of the FPA or Maverick on ARM. | |
8907 | * doc/install.texi: Avoid references to obsolete ARM ports. | |
8908 | ||
830730d6 | 8909 | 2012-03-01 Joern Rennecke <joern.rennecke@embecosm.com> |
8910 | ||
8911 | * config/epiphany/epiphany.md (movmisalign<mode>): New patterns. | |
8912 | ||
43770c4d | 8913 | 2012-03-01 Jeremy Bennett <jeremy.bennett@embecosm.com> |
8914 | Joern Rennecke <joern.rennecke@embecosm.com> | |
8915 | ||
8916 | * doc/extend.texi: Expand and update information on interrupt | |
8917 | attribute for Epiphany. | |
8918 | ||
bef96223 | 8919 | 2012-03-01 Oleg Endo <olegendo@gcc.gnu.org> |
8920 | ||
8921 | * config/sh/sh-protos.h: Update copyright notice dates. | |
8922 | * config/sh/sh.h: Likewise. | |
8923 | * config/sh/sh.md: Likewise. | |
8924 | * config/sh/constraints.md: Likewise. | |
8925 | * config/sh/predicates.md: Likewise. | |
8926 | ||
b0b9387e | 8927 | 2012-03-01 Oleg Endo <olegendo@gcc.gnu.org> |
8928 | ||
8929 | * config/sh/sh-protos.h (tertiary_reload_operand): Remove dead function. | |
8930 | * config/sh/sh.c (tertiary_reload_operand): Likewise. | |
8931 | ||
7329bf9b | 8932 | 2012-03-01 Oleg Endo <olegendo@gcc.gnu.org> |
8933 | ||
8934 | * config/sh/constraints.md: Fix comment typo. | |
8935 | ||
aaeba072 | 8936 | 2012-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
8937 | ||
8938 | PR target/52408 | |
8939 | * config/pa/pa.md (zvdep_imm32): Change type of variable x from int to | |
8940 | unsigned HOST_WIDE_INT. | |
8941 | (zvdep_imm64): Likewise. | |
8942 | (vdepi_ior): Change type of variable x from int to HOST_WIDE_INT. | |
8943 | (vdepi_and): Likewise. | |
8944 | Likewise for unamed 64-bit patterns. | |
8945 | * config/pa/predicates.md (lhs_lshift_cint_operand): Update comment. | |
8946 | ||
85b6e75b | 8947 | 2012-03-01 Alexandre Oliva <aoliva@redhat.com> |
8948 | ||
8949 | PR debug/52001 | |
8950 | PR rtl-optimization/52417 | |
8951 | * cselib.c (cselib_any_perm_equivs): New variable. | |
8952 | (cselib_reset_table): Check that it's not set when not | |
8953 | preserving constants. | |
8954 | (cselib_add_permanent_equiv): Set it. | |
8955 | (cselib_have_permanent_equivalences): New. | |
8956 | (cselib_init, cselib_finish): Reset it. | |
8957 | * cselib.h (cselib_have_permanent_equivalences): Declare. | |
8958 | * alias.c (get_addr): Restore earlier behavior when there | |
8959 | aren't permanent equivalences. | |
8960 | ||
ff560cc5 | 8961 | 2012-03-01 Steven Bosscher <steven@gcc.gnu.org> |
8962 | ||
8963 | * config/mn10300/mn10300-modes.def: Fix copyright notice. | |
8964 | * config/v850/v850-modes.def: Fix copyright notice. | |
8965 | ||
12ffadfa | 8966 | 2012-03-01 Georg-Johann Lay <avr@gjlay.de> |
8967 | ||
8968 | * doc/extend.texi (AVR Built-in Functions): Document | |
8969 | __builtin_avr_flash_segment. | |
8970 | ||
8971 | * config/avr/builtins.def (__builtin_avr_flash_segment): New entry. | |
8972 | * config/avr/avr.md (flash_segment, flash_segment1): New expanders. | |
8973 | (*split.flash_segment): New insn-and-split. | |
8974 | * config/avr/avr.c (avr_init_builtins): Add local variables: | |
8975 | const_memx_void_node, const_memx_ptr_type_node, | |
8976 | char_ftype_const_memx_ptr. | |
8977 | ||
963aee26 | 8978 | 2012-03-01 Jakub Jelinek <jakub@redhat.com> |
8979 | ||
8980 | PR tree-optimization/52445 | |
8981 | * tree-ssa-phiopt.c (struct name_to_bb): Remove ssa_name field, | |
8982 | add ssa_name_ver, offset and size fields and change store field | |
8983 | to bool. | |
8984 | (name_to_bb_hash, name_to_bb_eq): Adjust for the above changes. | |
8985 | (add_or_mark_expr): Likewise. Only consider previous stores | |
8986 | with the same size and offset. | |
8987 | (nt_init_block): Only look at gimple_assign_single_p stmts, | |
8988 | doesn't look at rhs2. | |
8989 | ||
5c332a23 | 8990 | 2012-03-01 Richard Guenther <rguenther@suse.de> |
8991 | ||
8992 | PR middle-end/52443 | |
8993 | * tree-cfg.c (verify_gimple_assign_unary): Allow any | |
8994 | conversions from integral types to pointer types. | |
8995 | ||
47018d7b | 8996 | 2012-03-01 Georg-Johann Lay <avr@gjlay.de> |
8997 | ||
8998 | * config/avr/avr-c.c (avr_cpu_cpp_builtins): Restore built-in | |
7103ce44 | 8999 | defines for __UINT24_MAX__, __INT24_MAX__, __INT24_MIN__ |
47018d7b | 9000 | unintentionally removed in r184616. |
9001 | ||
fb7c1017 | 9002 | 2012-03-01 Venkataramanan Kumar <venkataramanan.kumar@amd.com> |
9003 | ||
9004 | * doc/invoke.texi: Document AMD bdver2 and remove mentioning | |
9005 | 3DNow from bdver1. | |
9006 | ||
2c9cbc56 | 9007 | 2012-02-29 Jakub Jelinek <jakub@redhat.com> |
9008 | Uros Bizjak <ubizjak@gmail.com> | |
9009 | ||
9010 | PR target/52437 | |
9011 | * config/i386/sse.md (vec_set<mode>_0): Swap "*r" and "fF" | |
9012 | alternatives, add "e" constraint to the new last alternative | |
9013 | and ! to last 3 alternatives. | |
9014 | ||
ffb4f309 | 9015 | 2012-02-29 Eric Botcazou <ebotcazou@adacore.com> |
9016 | ||
9017 | * dwarf2out.c (modified_type_die): Set DW_AT_GNAT_descriptive_type and | |
9018 | DW_AT_artificial attributes at the end of the processing. | |
9019 | (gen_array_type_die): Likewise. | |
9020 | (gen_enumeration_type_die): Likewise. | |
9021 | (gen_struct_or_union_type_die): Likewise. | |
9022 | (add_gnat_descriptive_type_attribute): Do not suppress debug info for | |
9023 | the parent type. | |
9024 | ||
eee873f6 | 9025 | 2012-02-29 Jakub Jelinek <jakub@redhat.com> |
9026 | ||
04df78dc | 9027 | PR middle-end/52419 |
9028 | * expr.c (expand_assignment): If doing misaligned store that doesn't | |
9029 | cover all mode bits, perform a RMW cycle. | |
9030 | ||
eee873f6 | 9031 | PR tree-optimization/52429 |
9032 | * tree-parloops.c (separate_decls_in_region_debug): Return early | |
9033 | if var is LABEL_DECL. | |
9034 | ||
9f396eaf | 9035 | 2012-02-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
9036 | ||
9037 | PR tree-optimization/52424 | |
9038 | * tree-ssa-dom.c (dom_opt_leave_block): Push a marker before | |
9039 | calling dom_thread_across_edge. | |
9040 | ||
1602e4b0 | 9041 | 2012-02-29 Georg-Johann Lay <avr@gjlay.de> |
9042 | ||
9043 | * config/avr/avr.c: Move definition of TARGET macros to end of file. | |
9044 | ||
16d17f31 | 9045 | 2012-02-29 Georg-Johann Lay <avr@gjlay.de> |
9046 | ||
9047 | * config/avr/avr-protos.h (avr_output_bld): Remove unused prototype. | |
9048 | * config/avr/avr.c (avr_output_bld): Remove unused function. | |
9049 | (avr_out_sbxx_branch): Use "%T" to print bit position. | |
9050 | ||
3d78dda1 | 9051 | 2012-02-29 Georg-Johann Lay <avr@gjlay.de> |
9052 | ||
9053 | * config/avr/avr.md: Untabify. | |
9054 | ||
9055 | 2012-02-29 Georg-Johann Lay <avr@gjlay.de> | |
9056 | ||
9057 | * config/avr/avr.md (eqne): New code iterator. | |
9058 | (*dec-and-branchsi): Use it in text peephole's condition. | |
9059 | (*dec-and-branchhi): Ditto. | |
9060 | (*dec-and-branchqi): Ditto. | |
9061 | ||
f37ec592 | 9062 | 2012-02-29 Georg-Johann Lay <avr@gjlay.de> |
9063 | ||
9064 | PR target/49939 | |
9065 | * config/avr/avr.h (ASM_SPEC): Add -mno-skip-bug if we know that | |
9066 | the device does not have the skip-bug. | |
9067 | ||
52bba6ce | 9068 | 2012-02-29 Oleg Endo <olegendo@gcc.gnu.org> |
9069 | ||
9070 | * doc/invoke.texi (-msoft-atomic): Add more detailed description. | |
9071 | (-mbranch-cost, -mcbranchdi -mcmpeqdi -mfused-madd | |
9072 | -mpretend-cmove): New. | |
9073 | ||
5df3e7ea | 9074 | 2012-02-29 Jakub Jelinek <jakub@redhat.com> |
9075 | ||
9076 | PR bootstrap/52397 | |
9077 | * df.h (struct df_d): Adjust comment that hard_regs_live_count | |
9078 | doesn't count DEBUG_INSN refs. | |
9079 | * df-scan.c (df_ref_create_structure): Don't set DF_HARD_REG_LIVE | |
9080 | for DEBUG_INSN refs. | |
9081 | ||
31a56b87 | 9082 | 2012-02-28 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
9083 | ||
9084 | Partially revert: | |
9085 | ||
9086 | 2012-02-20 Richard Guenther <rguenther@suse.de> | |
9087 | PR tree-optimization/52298 | |
9088 | * tree-vect-stmts.c (vectorizable_load): Properly use | |
4e0c0c52 | 9089 | STMT_VINFO_DR_STEP instead of DR_STEP when vectorizing outer loops. |
31a56b87 | 9090 | |
de60f90c | 9091 | 2012-02-28 Aldy Hernandez <aldyh@redhat.com> |
9092 | ||
9093 | PR middle-end/51752 | |
9094 | * gimple.h (gimple_in_transaction): New. | |
9095 | (gimple_set_in_transaction): New. | |
9096 | (struct gimple_statement_base): Add in_transaction field. | |
9097 | * tree-ssa-loop-im.c: (movement_possibility): Restrict movement of | |
9098 | transaction loads. | |
9099 | (tree_ssa_lim_initialize): Compute transaction bits. | |
9100 | * tree.h (compute_transaction_bits): Protoize. | |
9101 | * trans-mem.c (tm_region_init): Use the heap to store BB | |
9102 | auxilliary data. | |
9103 | (compute_transaction_bits): New. | |
9104 | ||
042a76cf | 9105 | 2012-02-28 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> |
9106 | ||
9107 | * gcc.c (display_help): Document --help=common and sort entries | |
9108 | alphabetically. | |
9109 | ||
ce7f5029 | 9110 | 2012-02-28 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> |
9111 | ||
9112 | * doc/install.texi: Document check-$LANG specific shortcuts | |
9113 | ||
ca6c837f | 9114 | 2012-02-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
9115 | ||
9116 | PR target/51534 | |
9117 | * config/arm/arm.c (neon_builtin_data): Add entries for vcgeu | |
9118 | and vcgtu. | |
9119 | * config/arm/arm_neon.h: Regenerate. | |
9120 | * config/arm/neon.md (unspec): Add UNSPEC_VCGEU, and UNSPEC_VCGTU. | |
9121 | (neon_vcgeu): New insn. | |
9122 | (neon_vcgtu): Likewise. | |
9123 | * config/arm/neon.ml (s_8_32, u_8_32): New lists. | |
7103ce44 | 9124 | (ops): Unsigned comparison intrinsics call a different builtin. |
ca6c837f | 9125 | |
8b6c5604 | 9126 | 2012-02-28 Richard Guenther <rguenther@suse.de> |
9127 | ||
9128 | PR target/52407 | |
9129 | * config/i386/i386.c (ix86_expand_vector_set): Fix element | |
9130 | ordering for the VEC_CONCAT for two element vectors for | |
9131 | V2SFmode, V2SImode and V2DImode. | |
9132 | ||
736a63d4 | 9133 | 2012-02-28 Richard Earnshaw <rearnsha@arm.com> |
9134 | ||
9135 | PR target/49448 | |
9136 | * config.gcc (arm*-*-linux*): Use an unambiguous pattern for | |
9137 | detecting big-endian triplets. | |
9138 | ||
9185f2d7 | 9139 | 2012-02-28 Richard Earnshaw <rearnsha@arm.com> |
9140 | ||
9141 | * arm.c (aapcs_vfp_is_call_or_return_candidate): Only use the machine | |
9142 | mode if there is no type information available. | |
9143 | ||
a8d20b48 | 9144 | 2012-02-28 Thomas Koenig <tkoenig@gcc.gnu.org> |
9145 | ||
9146 | PR tree-optimization/53207 | |
9147 | * doc/invoke.texi: Document as experimental and relying on graphite. | |
9148 | ||
1e946ea6 | 9149 | 2012-02-28 Georg-Johann Lay <avr@gjlay.de> |
9150 | ||
9151 | * config/avr/avr-devices.c (avr_mcu_type): Adjust NULL part | |
9152 | of initializer to changes from r184614. | |
7103ce44 | 9153 | |
627491ef | 9154 | 2012-02-28 Richard Guenther <rguenther@suse.de> |
9155 | ||
9156 | PR tree-optimization/52395 | |
9157 | * tree-sra.c (build_ref_for_offset): Also look at the base | |
9158 | TYPE_ALIGN when figuring out the alignment of the replacement. | |
9159 | ||
6b1b2cb7 | 9160 | 2012-02-28 Richard Guenther <rguenther@suse.de> |
9161 | ||
9162 | PR tree-optimization/52402 | |
9163 | * ipa-prop.c (ipa_modify_call_arguments): Properly use | |
9164 | mis-aligned types when creating the accesses at the call site. | |
9165 | ||
c19a2f5f | 9166 | 2012-02-28 Georg-Johann Lay <avr@gjlay.de> |
9167 | ||
9168 | * config/avr/builtins.def: New file. | |
9169 | * config/avr/t-avr (avr.o, avr-c.o): Depend on it. | |
9170 | * config/avr/avr.c (enum avr_builtin_id): Use it. | |
9171 | (avr_init_builtins): Use it. And use avr_bdesc. | |
9172 | (bdesc_1arg): Remove. | |
9173 | (bdesc_2arg): Remove. | |
9174 | (bdesc_3arg): Remove. | |
9175 | (struct avr_builtin_description): Add field n_args. | |
9176 | (avr_bdesc): New static variable using builtins.def. | |
9177 | (avr_expand_builtin): Use it. | |
9178 | Don't call avr_expand_delay_cycles if op0 is not CONST_INT. | |
9179 | (avr_fold_builtin): Fold AVR_BUILTIN_SWAP. | |
9180 | Don't fold AVR_BUILTIN_INSERT_BITS if arg0 is not INTEGER_CST. | |
9181 | ||
f1222c71 | 9182 | 2012-02-28 Georg-Johann Lay <avr@gjlay.de> |
9183 | ||
9184 | PR target/52148 | |
9185 | * config/avr/avr.md (movmem_<mode>): Replace match_operand that | |
9186 | match only one single hard register with respective hard reg rtx. | |
9187 | (movmemx_<mode>): Ditto. | |
9188 | * config/avr/avr.c (avr_emit_movmemhi): Adapt expanding to new | |
9189 | insn anatomy of movmem[x]_<mode>. | |
9190 | (avr_out_movmem): Same for printing assembler and operand usage. | |
9191 | ||
e508bf98 | 9192 | 2012-02-28 Georg-Johann Lay <avr@gjlay.de> |
9193 | ||
9194 | PR target/49868 | |
9195 | PR target/52261 | |
9196 | * doc/extend.texi (AVR Named Address Spaces): No more try to fix | |
9197 | address spaces located outside of device flash. | |
9198 | ||
9199 | * config/avr/avr.h (base_arch_s): Remove field n_segments. | |
9200 | (mcu_type_s): Add field n_flash. | |
9201 | * config/avr/avr-devices.c (avr_arch_types): Remove .n_segments. | |
9202 | Set .have_elpm and .have_elpmx to 1 for avrxmega4 and avrxmega5. | |
9203 | (AVR_MCU): Add N_FLASH argument. | |
9204 | * config/avr/avr-mcus.def (AVR_MCU): Add initializer for .n_flash. | |
9205 | * config/avr/avr-c.c (avr_cpu_cpp_builtins): Only define built-in | |
9206 | macro __FLASH<n> if that address space makes sense for the device. | |
9207 | * config/avr/avr.c (avr_out_lpm): Don't try to fix address spaces | |
9208 | outside of target flash. | |
9209 | (avr_asm_named_section): Ditto. | |
9210 | (avr_asm_select_section): Ditto. | |
9211 | (avr_addr_space_convert): Ditto. | |
9212 | (avr_emit_movmemhi): Ditto. | |
9213 | (avr_nonconst_pointer_addrspace, avr_pgm_check_var_decl): Error if | |
9214 | address space is outside of device flash. | |
9215 | (avr_insert_attributes): Ditto. | |
9216 | (avr_xload_libgcc_p): Use avr_current_device->n_flash instead of | |
9217 | avr_current_arch->n_segments. | |
9218 | ||
1f2e8f6e | 9219 | 2012-02-27 H.J. Lu <hongjiu.lu@intel.com> |
9220 | ||
9221 | PR target/52352 | |
7103ce44 | 9222 | * config/i386/i386.md (*movabs<mode>_1): Enable only for TARGET_LP64. |
1f2e8f6e | 9223 | (*movabs<mode>_2): Likewise. |
9224 | ||
0f41c0cf | 9225 | 2012-02-27 Jakub Jelinek <jakub@redhat.com> |
9226 | ||
7510cf26 | 9227 | PR target/52375 |
9228 | * config/arm/neon.md (vashr<mode>3, vlshr<mode>3): Use | |
9229 | s_register_operand in the test instead of REG_P. Don't call | |
9230 | gen_reg_rtx if it won't be used. | |
9231 | ||
0f41c0cf | 9232 | PR tree-optimization/52376 |
9233 | * ipa-split.c (split_function): Ignore CLOBBER stmts. | |
9234 | ||
68b509aa | 9235 | 2012-02-27 Stuart Henderson <shenders@gcc.gnu.org> |
9236 | ||
9237 | * ifcvt.c (noce_get_condition): Check condition variable is not | |
9238 | small_register_classes_for_mode_p before accepting. | |
9239 | ||
becba2b9 | 9240 | 2012-02-27 Uros Bizjak <ubizjak@gmail.com> |
9241 | ||
9242 | * config/i386/i386.md (*movabs<mode>_1): Fix operand 1 constraints. | |
9243 | ||
347b9640 | 9244 | 2012-02-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
9245 | ||
9246 | Revert: | |
9247 | 2012-01-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> | |
9248 | * config/arm/arm-cores.def (cortex-a15): Use cortex_a15_tune for | |
9249 | tuning parameters. | |
9250 | * config/arm/arm.c (arm_cortex_a15_tune): New static variable. | |
9251 | ||
5b9a8c31 | 9252 | 2012-02-27 Oleg Endo <olegendo@gcc.gnu.org> |
9253 | ||
9254 | * config/sh/sh.h: Delete dead GO_IF_LEGITIMATE_INDEX macro. | |
9255 | ||
7a288fec | 9256 | 2012-02-26 Oleg Endo <olegendo@gcc.gnu.org> |
9257 | ||
9258 | * config/sh/predicates.md: Remove blank lines. | |
9259 | * config/sh/sh.c: Fix typos in comments. | |
9260 | * config/sh/constraints.md: Likewise. | |
9261 | * config/sh/sh.md: Remove blank lines. | |
9262 | Fix typos in comments. Use ;; as comment characters. | |
9263 | ||
02be8f84 | 9264 | 2012-02-26 Walter Lee <walt@tilera.com> |
9265 | ||
becba2b9 | 9266 | * config/tilegx/tilegx.c (match_pcrel_step2): Fix instruction pattern. |
02be8f84 | 9267 | (replace_mov_pcrel_step2): Ditto. |
9268 | ||
0be329ef | 9269 | 2012-02-25 Alexandre Oliva <aoliva@redhat.com> |
9270 | ||
fa5e407e | 9271 | PR debug/52001 |
9272 | * alias.c (refs_newer_value_cb, refs_newer_value_p): New. | |
9273 | (get_addr): Walk canonical value's locs. Avoid returning VALUEs | |
9274 | and locs that reference values newer than the non-canonical value | |
9275 | at hand. Return the canonical value as a worst case. | |
9276 | (memrefs_conflict_p): Walk canonical value's locs. | |
9277 | ||
0be329ef | 9278 | PR debug/52001 |
9279 | * cselib.c (preserve_only_constants): Rename to... | |
9280 | (preserve_constants_and_equivs): ... this. Split out... | |
9281 | (invariant_or_equiv_p): ... this. Preserve plus expressions | |
9282 | of other preserved expressions too. | |
9283 | (cselib_reset_table): Adjust. | |
9284 | * var-tracking.c (reverse_op): Use canonical value to build | |
9285 | reverse operation. | |
9286 | ||
70c72222 | 9287 | 2012-02-23 Kai Tietz <ktietz@redhat.com> |
9288 | ||
9289 | * config/i386/i386.c (ix86_delegitimize_address): Handle | |
9290 | UNSPEC_PCREL plus displacement. | |
9291 | ||
00c52bc9 | 9292 | 2012-02-24 Georg-Johann Lay <avr@gjlay.de> |
9293 | ||
9294 | PR target/52261 | |
9295 | * config/avr/avr.c (avr_out_movhi_mr_r_xmega): Use base | |
9296 | to test for unusedness in st X addressing. | |
9297 | ||
aa834ebc | 9298 | 2012-02-24 Richard Guenther <rguenther@suse.de> |
9299 | ||
9300 | PR middle-end/52361 | |
becba2b9 | 9301 | * gimple.c (walk_gimple_op): Use predicates with less redundant tests. |
aa834ebc | 9302 | (is_gimple_reg_type): Move inline ... |
9303 | * gimple.h (is_gimple_reg_type): ... here. | |
9304 | ||
e9d79eef | 9305 | 2012-02-24 Richard Guenther <rguenther@suse.de> |
9306 | ||
9307 | PR middle-end/52361 | |
9308 | * passes.c (execute_function_todo): When verifying SSA form | |
9309 | verify gimple form first. | |
9310 | * tree-ssa.c (verify_ssa): Do not verify gimple form here. | |
9311 | ||
7dd59140 | 9312 | 2012-02-24 Richard Guenther <rguenther@suse.de> |
9313 | ||
9314 | PR middle-end/52355 | |
9315 | * fold-const.c (fold_addr_of_array_ref_difference): New function. | |
becba2b9 | 9316 | (fold_binary_loc): Use it to extend the existing &a[i] - &a[j] folding. |
7dd59140 | 9317 | |
10b55fcb | 9318 | 2012-02-13 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> |
9319 | ||
9320 | * tree-if-conv (predicate_scalar_phi): Commentary typo fix. | |
9321 | ||
8abed11e | 9322 | 2012-02-23 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> |
9323 | ||
9324 | * tree-phinodes.c (make_phi_node): Mark static. | |
9325 | * tree-flow.h (make_phi_node): Remove extern decl. | |
9326 | * doc/gimple.texi (make_phi_node): Remove documentation. | |
9327 | ||
7ef97146 | 9328 | 2012-02-23 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> |
9329 | ||
becba2b9 | 9330 | * tree-into-ssa (update_ssa): Avoid trailing whitespace in dump_file. |
7ef97146 | 9331 | * tree-ssa-sccvn.c (print_scc): Ditto. |
9332 | ||
6da426a8 | 9333 | 2012-02-23 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> |
9334 | ||
9335 | * doc/passes.texi (Full redundancy elimination): Fix typo. | |
9336 | ||
98a3cc50 | 9337 | 2012-02-23 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> |
9338 | ||
9339 | * doc/invoke.texi (-fdse, -fdce): Remove duplicate entries. | |
9340 | ||
148868c2 | 9341 | 2012-02-23 Eric Botcazou <ebotcazou@adacore.com> |
9342 | ||
9343 | PR bootstrap/52287 | |
9344 | * haifa-sched.c (rank_for_schedule): Stabilize sort for debug insns. | |
9345 | ||
6b9c4a52 | 9346 | 2012-02-23 Uros Bizjak <ubizjak@gmail.com> |
9347 | ||
9348 | PR c/52290 | |
9349 | * c-decl.c (start_function): Exit early if decl1 is not FUNTION_DECL. | |
9350 | ||
8266991c | 9351 | 2012-02-23 Georg-Johann Lay <avr@gjlay.de> |
9352 | ||
9353 | * config/avr/avr.md (code_stdname): Add ior, xor. | |
9354 | (xior): New code iterator. | |
9355 | (*<code_stdname><mode>qi.byte0): Use xior instead of ior. | |
9356 | (*<code_stdname><mode>qi.byte1-3): Ditto. | |
9357 | ||
1a3c6423 | 9358 | 2012-02-23 Jakub Jelinek <jakub@redhat.com> |
9359 | ||
9360 | PR tree-optimization/52019 | |
9361 | * ipa-split.c (find_return_bb, find_retval, visit_bb): Ignore | |
9362 | CLOBBER stmts. | |
9363 | ||
c3dd2023 | 9364 | 2012-02-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
9365 | ||
9366 | * acinclude.m4: Use HAVE_INITFINI_ARRAY_SUPPORT instead of | |
9367 | HAVE_INITFINI_ARRAY to work around namespace pollution in | |
9368 | certain versions of newlib system headers. | |
9369 | * config.in: Regenerate. | |
9370 | * configure: Regenerate. | |
9371 | * config/initfini-array.h: Use HAVE_INITFINI_ARRAY_SUPPORT | |
9372 | instead of HAVE_INITFINI_ARRAY. | |
9373 | ||
6bb01a79 | 9374 | 2012-02-22 Uros Bizjak <ubizjak@gmail.com> |
9375 | ||
9376 | PR target/52330 | |
9377 | * config/i386/i386.c (ix86_print_operand) <case 'H'>: Error out if x | |
9378 | is not offsettable memory reference. | |
9379 | ||
5be63f82 | 9380 | 2012-02-22 Georg-Johann Lay <avr@gjlay.de> |
9381 | ||
9382 | PR target/18145 | |
9383 | * config/avr/avr.c (avr_asm_output_aligned_decl_common): Skip | |
9384 | setting avr_need_clear_bss_p for __gnu_lto* symbols. | |
9385 | ||
c529cd37 | 9386 | 2012-02-22 Georg-Johann Lay <avr@gjlay.de> |
9387 | ||
9388 | * config/avr/avr.h (avr_accumulate_outgoing_args): Return int. | |
6bb01a79 | 9389 | * config/avr/avr.c (avr_accumulate_outgoing_args): Return int. |
c529cd37 | 9390 | |
291426be | 9391 | 2012-02-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9392 | ||
9393 | * configure.ac (LIB_TLS_SPEC): Enforce use of alternate thread | |
9394 | library on Solaris 8 even without TLS support. | |
9395 | * configure: Regenerate. | |
9396 | ||
48bcb852 | 9397 | 2012-02-22 Richard Guenther <rguenther@suse.de> |
9398 | ||
9399 | PR middle-end/52329 | |
9400 | * gimple-fold.c (fold_stmt_1): Also canonicalize ADDR_EXPRs | |
9401 | for GIMPLE_DEBUG stmts. | |
291426be | 9402 | |
3f06bd1b | 9403 | 2012-02-22 Martin Jambor <mjambor@suse.cz> |
9404 | ||
9405 | PR middle-end/51782 | |
9406 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Set address space | |
9407 | according to the base object. | |
9408 | ||
b5b90b5a | 9409 | 2012-02-22 Georg-Johann Lay <avr@gjlay.de> |
9410 | ||
9411 | PR rtl-optimization/50063 | |
9412 | * config/avr/avr.md (movhi_sp_r): Handle -1 (unknown IRQ state) | |
9413 | and 2 (8-bit SP) in operand 2. | |
9414 | * config/avr/avr.c (avr_prologue_setup_frame): Adjust prologue | |
9415 | setup to use movhi_sp_r instead of vanilla move to write SP. | |
9416 | Adjust REG_CFA notes to superseed unspec. | |
9417 | (expand_epilogue): Adjust epilogue setup to use movhi_sp_r instead | |
9418 | of vanilla move. | |
9419 | As function body might contain CLI or SEI: Use irq_state 0 (IRQ | |
9420 | known to be off) only with TARGET_NO_INTERRUPTS. Never use | |
9421 | irq_state 1 (IRQ known to be on) here. | |
9422 | ||
769de935 | 9423 | 2012-02-21 Bernd Schmidt <bernds@codesourcery.com> |
9424 | ||
9425 | * ira.c (check_allocation): Use REG_WORDS_BIG_ENDIAN, not | |
9426 | WORDS_BIG_ENDIAN. | |
9427 | * ira-color.c (setup_profitable_hard_regs, check_hard_reg_p, | |
9428 | assign_hard_reg): Likewise. | |
9429 | ||
9430 | 2012-02-21 Georg-Johann Lay <avr@gjlay.de> | |
47f9f604 | 9431 | |
9432 | * config/avr/avr.md (neghi2): Remove "!d,0" alternative. Tweak "r,0". | |
9433 | ||
769de935 | 9434 | 2012-02-21 Georg-Johann Lay <avr@gjlay.de> |
21e3f268 | 9435 | |
9436 | * config/avr/avr.md | |
9437 | (*dec-and-branchhi!=-1.d.clobber): New text peephole. | |
9438 | (*dec-and-branchhi!=-1.l.clobber): New text peephole. | |
9439 | ||
769de935 | 9440 | 2012-02-21 Georg-Johann Lay <avr@gjlay.de> |
184a25cd | 9441 | |
9442 | * config/avr/avr-protos.h (avr_accumulate_outgoing_args): Move | |
9443 | prototype from here to... | |
9444 | * config/avr/avr.h: ...here. | |
9445 | ||
b600658e | 9446 | 2012-02-21 Richard Earnshaw <rearnsha@arm.com> |
9447 | ||
9448 | PR target/52294 | |
769de935 | 9449 | * thumb2.md (thumb2_shiftsi3_short): Split register and |
b600658e | 9450 | immediate shifts. For register shifts tie operands 0 and 1. |
9451 | (peephole2 for above): Check that register-controlled shifts | |
9452 | have suitably tied operands. | |
9453 | ||
b65fb916 | 9454 | 2012-02-21 Quentin Neill <quentin.neill@amd.com> |
9455 | ||
9456 | PR target/52137 | |
9457 | * config/i386/bdver1.md (bdver1_call, bdver1_push, | |
9458 | bdver1_pop, bdver1_leave, bdver1_lea, bdver1_imul_DI, bdver1_imul, | |
9459 | bdver1_imul_mem_DI, bdver1_imul_mem, bdver1_idiv, bdver1_idiv_mem, | |
9460 | bdver1_str, bdver1_idirect, bdver1_ivector, bdver1_idirect_loadmov, | |
9461 | bdver1_idirect_load, bdver1_ivector_load, bdver1_idirect_movstore, | |
9462 | bdver1_idirect_both, bdver1_ivector_both, bdver1_idirect_store, | |
9463 | bdver1_ivector_store, bdver1_fldxf, bdver1_fld, bdver1_fstxf, | |
9464 | bdver1_fst, bdver1_fist, bdver1_fmov_bdver1, bdver1_fadd_load, | |
9465 | bdver1_fadd, bdver1_fmul_load, bdver1_fmul, bdver1_fsgn, | |
9466 | bdver1_fdiv_load, bdver1_fdiv, bdver1_fpspc_load, bdver1_fpspc, | |
9467 | bdver1_fcmov_load, bdver1_fcmov, bdver1_fcomi_load, | |
9468 | bdver1_fcomi, bdver1_fcom_load, bdver1_fcom, | |
9469 | bdver1_fxch, bdver1_ssevector_avx128_unaligned_load, | |
9470 | bdver1_ssevector_avx256_unaligned_load, | |
9471 | bdver1_ssevector_sse128_unaligned_load, | |
9472 | bdver1_ssevector_avx128_load, bdver1_ssevector_avx256_load, | |
9473 | bdver1_ssevector_sse128_load, bdver1_ssescalar_movq_load, | |
9474 | bdver1_ssescalar_vmovss_load, bdver1_ssescalar_sse128_load, | |
9475 | bdver1_mmxsse_load, bdver1_sse_store_avx256, bdver1_sse_store, | |
9476 | bdver1_mmxsse_store_short, bdver1_ssevector_avx256, | |
9477 | bdver1_movss_movsd, bdver1_mmxssemov, bdver1_sselog_load_256, | |
9478 | bdver1_sselog_256, bdver1_sselog_load, bdver1_sselog, | |
9479 | bdver1_ssecmp_load, bdver1_ssecmp, bdver1_ssecomi_load, | |
9480 | bdver1_ssecomi, bdver1_vcvtX2Y_avx256_load, bdver1_vcvtX2Y_avx256, | |
9481 | bdver1_ssecvt_cvtss2sd_load, bdver1_ssecvt_cvtss2sd, | |
9482 | bdver1_sseicvt_cvtsi2sd_load, bdver1_sseicvt_cvtsi2sd, | |
9483 | bdver1_ssecvt_cvtpd2ps_load, bdver1_ssecvt_cvtpd2ps, | |
9484 | bdver1_ssecvt_cvtdq2ps_load, bdver1_ssecvt_cvtdq2ps, | |
9485 | bdver1_ssecvt_cvtdq2pd_load, bdver1_ssecvt_cvtdq2pd, | |
9486 | bdver1_ssecvt_cvtps2pd_load, bdver1_ssecvt_cvtps2pd, | |
9487 | bdver1_ssecvt_cvtsX2si_load, bdver1_ssecvt_cvtsX2si, | |
9488 | bdver1_ssecvt_cvtpd2pi_load, bdver1_ssecvt_cvtpd2pi, | |
9489 | bdver1_ssecvt_cvtpd2dq_load, bdver1_ssecvt_cvtpd2dq, | |
9490 | bdver1_ssecvt_cvtps2pi_load, bdver1_ssecvt_cvtps2pi, | |
9491 | bdver1_ssemuladd_load_256, bdver1_ssemuladd_256, | |
9492 | bdver1_ssemuladd_load, bdver1_ssemuladd, bdver1_sseimul_load, | |
9493 | bdver1_sseimul, bdver1_sseiadd_load, bdver1_sseiadd, | |
9494 | bdver1_ssediv_double_load_256, bdver1_ssediv_double_256, | |
9495 | bdver1_ssediv_single_load_256, bdver1_ssediv_single_256, | |
9496 | bdver1_ssediv_double_load, bdver1_ssediv_double, | |
9497 | bdver1_ssediv_single_load, bdver1_ssediv_single, bdver1_sseins): | |
9498 | Add "bdver2" attribute. | |
9499 | ||
dcba5e45 | 9500 | 2012-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
9501 | ||
9502 | * config/s390/s390.c (s390_option_override): Make -mhard-dfp the | |
9503 | default if possible and not specified otherwise. | |
9504 | ||
f2f6d96f | 9505 | 2012-02-21 Richard Guenther <rguenther@suse.de> |
9506 | ||
9507 | PR middle-end/52314 | |
9508 | * gimplify.c (create_tmp_from_val): Use the main variant type | |
9509 | for the type of the temporary we create. | |
9510 | ||
6b55f6d9 | 9511 | 2012-02-21 Richard Guenther <rguenther@suse.de> |
9512 | ||
9513 | PR tree-optimization/52324 | |
9514 | * gimplify.c (gimplify_expr): When re-gimplifying expressions | |
9515 | do not gimplify a MEM_REF address operand if it is already | |
9516 | in suitable form. | |
9517 | ||
e29fe543 | 9518 | 2012-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
9519 | ||
9520 | * config/s390/s390.md ("fixuns_trunc<mode>si2"): Replace | |
9521 | TARGET_HARD_FLOAT with TARGET_HARD_DFP. | |
9522 | ||
7b0821ca | 9523 | 2012-02-21 Richard Guenther <rguenther@suse.de> |
9524 | ||
9525 | * tree-vect-stmts.c (vectorizable_load): Use pre-computed | |
9526 | nested_in_vect_loop. | |
9527 | ||
e857485e | 9528 | 2012-02-21 Jakub Jelinek <jakub@redhat.com> |
9529 | ||
9530 | PR tree-optimization/52318 | |
9531 | * gimple-fold.c (gimplify_and_update_call_from_tree): Add | |
9532 | vdef also to non-pure/const call stmts in the sequence. | |
9533 | ||
46d35275 | 9534 | 2012-02-21 Tristan Gingold <gingold@adacore.com> |
9535 | ||
9536 | * config/vms/vms-ld.c (main): Fix IDENTIFICATION padding. | |
9537 | ||
005acfe0 | 9538 | 2012-02-20 David S. Miller <davem@davemloft.net> |
9539 | ||
9540 | * config/sparc/sparc.md (load_pcrel_sym<P:mode>): Explain why we | |
9541 | don't use the "rd %pc" instruction on v9 for PIC register loads. | |
9542 | ||
43156aa3 | 9543 | 2012-02-20 Aldy Hernandez <aldyh@redhat.com> |
9544 | ||
9545 | PR middle-end/52141 | |
9546 | * trans-mem.c (ipa_tm_scan_irr_block): Error out on GIMPLE_ASM's | |
9547 | in a transaction safe function. | |
9548 | ||
b527cbf0 | 9549 | 2012-02-20 Kai Tietz <ktietz@redhat.com> |
9550 | ||
9551 | PR target/52238 | |
9552 | * stor-layout.c (place_field): Handle desired_align for | |
9553 | ms-bitfields, too. | |
9554 | ||
e4a9141c | 9555 | 2012-02-20 Richard Guenther <rguenther@suse.de> |
9556 | ||
9557 | PR tree-optimization/52298 | |
9558 | * tree-vect-stmts.c (vectorizable_store): Properly use | |
9559 | STMT_VINFO_DR_STEP instead of DR_STEP when vectorizing | |
9560 | outer loops. | |
9561 | (vectorizable_load): Likewise. | |
9562 | * tree-vect-data-refs.c (vect_analyze_data_ref_access): | |
9563 | Access DR_STEP after ensuring it is not NULL. | |
9564 | ||
225ffc2f | 9565 | 2012-02-20 Jakub Jelinek <jakub@redhat.com> |
9566 | ||
9567 | PR tree-optimization/52286 | |
9568 | * fold-const.c (fold_binary_loc): For (X & C1) | C2 | |
9569 | optimization use double_int_to_tree instead of build_int_cst_wide, | |
9570 | rewrite to use double_int vars. | |
9571 | ||
1c6e4ce9 | 9572 | 2012-02-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9573 | ||
9574 | PR target/50166 | |
9575 | * acinclude.m4 (gcc_AC_INITFINI_ARRAY): Require gcc_SUN_LD_VERSION. | |
9576 | Define _start. | |
9577 | Remove -e 0 from $gcc_cv_ld invocation. | |
9578 | Only use __GLIBC_PREREQ if defined. | |
9579 | Enable on Solaris since Solaris 8 patch. | |
9580 | (gcc_SUN_LD_VERSION): New macro. | |
9581 | * configure.ac (ld_ver) <*-*-solaris2*>: Refer to | |
9582 | gcc_SUN_LD_VERSION for version number format. | |
9583 | * configure: Regenerate. | |
9584 | * varasm.c (get_elf_initfini_array_priority_section): Set | |
9585 | SECTION_NOTYPE for non-default priority. | |
9586 | Use get_section instead of get_unnamed_section to emit | |
9587 | .init_array/.fini_array with default priority. | |
9588 | ||
6a8f7b8b | 9589 | 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com> |
9590 | ||
9591 | * config/mips/mips.c (mips_need_mips16_rdhwr_p): New variable. | |
9592 | (mips_get_tp): Set it. Record that __mips16_rdhwr binds locally. | |
9593 | (mips_start_unique_function, mips_output_mips16_rdhwr) | |
9594 | (mips_code_end): New functions. | |
9595 | (TARGET_ASM_CODE_END): Define. | |
9596 | ||
7db87803 | 9597 | 2012-02-19 Richard Sandiford <rdsandiford@googlemail.com> |
9598 | ||
9599 | * config/mips/mips.c (mips16_build_call_stub): Add CFI information | |
9600 | to stubs with non-sibling calls. | |
9601 | ||
ce3c28ad | 9602 | 2012-02-18 Sandra Loosemore <sandra@codesourcery.com> |
9603 | ||
9604 | * doc/invoke.texi (-fira-* options): Copy-edit. | |
9605 | (ira-* parameters): Copy-edit. | |
9606 | ||
1bed49cd | 9607 | 2012-02-17 Sandra Loosemore <sandra@codesourcery.com> |
9608 | ||
9609 | * doc/invoke.texi: Minor copy-edits to bring into conformance with | |
9610 | GCC coding conventions. | |
9611 | ||
720dbdb5 | 9612 | 2012-02-17 Sandra Loosemore <sandra@codesourcery.com> |
9613 | ||
9614 | * doc/invoke.texi: Consistently hyphenate "big-endian"/"little-endian" | |
9615 | when used as adjectives. | |
9616 | ||
77d5f3a9 | 9617 | 2012-02-16 Sandra Loosemore <sandra@codesourcery.com> |
9618 | ||
9619 | * doc/invoke.texi: Clean up "that"/"which" confusion. | |
9620 | ||
c7e75c45 | 9621 | 2012-02-17 Steven Bosscher <steven@gcc.gnu.org> |
9622 | ||
9623 | * system.h: Poison SMALL_REGISTER_CLASSES | |
9624 | * config/rl78/rl78.h: Replace SMALL_REGISTER_CLASSES with hook. | |
9625 | * config/rx/rx.h: Remove SMALL_REGISTER_CLASSES. | |
9626 | ||
97effc09 | 9627 | 2012-02-16 Jakub Jelinek <jakub@redhat.com> |
9628 | ||
9629 | PR tree-optimization/52285 | |
9630 | * tree-tailcall.c (find_tail_calls): Ignore gimple_clobber_p stmts | |
9631 | when deciding if a call is a tail call or tail recursion. | |
9632 | ||
3f96cc96 | 9633 | 2012-02-16 Kai Tietz <ktietz@redhat.com> |
9634 | ||
9635 | * config/i386/i386.c (legitimate_pic_address_disp_p): Allow | |
9636 | interger-constant displacement for UNSPEC_PCREL. | |
9637 | ||
830de880 | 9638 | 2012-02-16 Jakub Jelinek <jakub@redhat.com> |
9639 | ||
72e3d363 | 9640 | PR rtl-optimization/52208 |
9641 | * ira-costs.c (scan_one_insn): Don't decrease mem_cost | |
9642 | for MEMs with REG_EQUIV, if the MEM isn't general_operand. | |
9643 | ||
38091110 | 9644 | PR tree-optimization/52255 |
9645 | * tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): If | |
9646 | loop->header has virtual PHI, but exit_e->dest doesn't, add | |
9647 | virtual PHI to exit_e->dest and adjust all uses after the loop. | |
9648 | ||
830de880 | 9649 | PR debug/52260 |
9650 | * dwarf2out.c (copy_decls_walk): Fill in *slot before traversing | |
9651 | children with clone_tree_hash, not after it. | |
9652 | ||
dd76b89f | 9653 | 2012-02-16 Iain Sandoe <iains@gcc.gnu.org> |
9654 | ||
9655 | * config/darwin.h (ASM_OUTPUT_LABELREF): Add user label prefix for | |
9656 | extended identifiers. | |
9657 | ||
70f89d12 | 9658 | 2012-02-16 Jakub Jelinek <jakub@redhat.com> |
9659 | ||
cdf67cee | 9660 | PR middle-end/51929 |
9661 | * cgraphunit.c (verify_edge_corresponds_to_fndecl): If node is | |
9662 | a same_body_alias, also test whether e->callee isn't a former | |
9663 | or current clone of the decl this is a same body alias of. | |
9664 | ||
70f89d12 | 9665 | PR translation/52264 |
9666 | * cgraphunit.c (verify_cgraph_node): Fix a typo. | |
9667 | ||
ea76f7e1 | 9668 | 2012-02-15 Sandra Loosemore <sandra@codesourcery.com> |
9669 | ||
9670 | * doc/invoke.texi: Clean up "n-bit/byte/word" modifiers. | |
9671 | ||
3619a9e5 | 9672 | 2012-02-15 Michael Meissner <meissner@linux.vnet.ibm.com> |
9673 | ||
9674 | PR target/52199 | |
9675 | * config/rs6000/rs6000.c (rs6000_expand_vector_init): Use | |
9676 | force_reg instead of copy_to_reg for better optimization. Force | |
9677 | non-register or memory operands into a register. | |
9678 | ||
fd46ba2e | 9679 | 2012-02-15 Andrew MacLeod <amacleod@redhat.com> |
9680 | ||
9681 | * extend.texi: Reserve upper bits of memory model for future use. | |
9682 | ||
0b6cf66f | 9683 | 2012-01-15 Georg-Johann Lay <avr@gjlay.de> |
9684 | Anatoly Sokolov <aesok@post.ru> | |
9685 | Eric Weddington <eric.weddington@atmel.com> | |
9686 | ||
9687 | PR target/52261 | |
9688 | * config/avr/avr-devices.c (avr_arch_types): Add avrxmega2, | |
9689 | avrxmega4, avrxmega5, avrxmega6, avrxmega7. | |
9690 | Rewrite initializers for .macro. | |
9691 | * config/avr/avr-mcus.def (AVR_MCU): Add known MCUs: | |
9692 | avrxmega2: atxmega16a4, atxmega16d4, atxmega16x1, atxmega32a4 | |
9693 | atxmega32d4, atxmega32x1. | |
9694 | avrxmega4: atxmega64a3, atxmega64d3. | |
9695 | avrxmega5: atxmega64a1, atxmega64a1u. | |
9696 | avrxmega6: atxmega128a3, atxmega128d3, atxmega192a3, atxmega192d3, | |
9697 | atxmega256a3, atxmega256a3b, atxmega256a3bu, atxmega256d3. | |
9698 | avrxmega7: atxmega128a1, atxmega128a1u. | |
9699 | * config/avr/avr.h (enum avr_arch): Add: ARCH_AVRXMEGA2, | |
9700 | ARCH_AVRXMEGA4, ARCH_AVRXMEGA5, ARCH_AVRXMEGA6, ARCH_AVRXMEGA7. | |
9701 | (struct base_arch_s): Rename reserved to xmega_p. | |
9702 | Rename reserved2 to have_rampd. | |
9703 | (AVR_XMEGA): New define. | |
9704 | (AVR_HAVE_RAMPD, AVR_HAVE_RAMPX, AVR_HAVE_RAMPY): New defines. | |
9705 | (AVR_HAVE_RAMPZ): Change definition to fit xmega. | |
9706 | * config/avr/predicates.md (io_address_operand): Take into | |
9707 | account SFR offset. | |
9708 | (low_io_address_operand): Ditto. | |
9709 | (high_io_address_operand): Ditto. | |
9710 | * config/avr/avr.md (isa): Add alternatives no_xmega, xmega. | |
9711 | (enabled, movhi_sp_r): Use them. | |
9712 | * config/avr/avr-c.c (avr_cpu_cpp_builtins): Use | |
9713 | cpp_define_formatted to built-in define __AVR_ARCH__. | |
9714 | (__AVR_XMEGA__): New built-in define. | |
9715 | (__AVR_HAVE_RAMPD__): New built-in define. | |
9716 | (__AVR_HAVE_RAMPX__): New built-in define. | |
9717 | (__AVR_HAVE_RAMPY__): New built-in define. | |
9718 | (__AVR_HAVE_RAMPZ__): Change condition when to built-in define it. | |
9719 | ||
9720 | * config/avr/avr.c (avr_addr_t): Add ccp, rampd, rampx, rampy. | |
9721 | (avr_option_override): Initialize them. | |
9722 | (sreg_rtx, rampd_rtx, rampx_rtx, rampy_rtx): New GTY rtx. | |
9723 | (avr_init_expanders): Initialize them. No more block several calls. | |
9724 | (emit_push_sfr): New static function. | |
9725 | (avr_prologue_setup_frame): Use it to push SREG, RAMPD/X/Y/Z as needed. | |
9726 | Handle AVR_XMEGA. | |
9727 | (expand_epilogue): Handle AVR_XMEGA. Pop RAMPD/X/Y/Z as needed. | |
9728 | (avr_print_operand): Print addreeses as symbols for | |
9729 | RAMPX, RAMPY, RAMPD, CCP. | |
9730 | (output_movhi): Handle AVR_XMEGA when writing to SP. | |
9731 | (avr_out_movhi_mr_r_xmega): New static function. | |
9732 | (out_movhi_mr_r): Forward to avr_out_movhi_mr_r_xmega for AVR_XMEGA. | |
9733 | (avr_file_start): Print symbol defines for __RAMPX__, __RAMPY__, | |
9734 | __RAMPD__, __CCP__ as needed. | |
9735 | ||
9736 | * config/avr/multilib.h: Regenerate. | |
9737 | * config/avr/t-multilib: Regenerate. | |
9738 | * config/avr/avr-tables.opt: Regenerate. | |
9739 | ||
f260bce7 | 9740 | 2012-02-15 Tobias Grosser <grosser@fim.uni-passau.de> |
9741 | ||
9742 | PR tree-optimization/50561 | |
9743 | * graphite-flattening.c (lst_project_loop): Do not | |
9744 | remove old scattering dimensions after flattening. | |
9745 | (lst_do_flatten): Likewise. | |
9746 | ||
15b84087 | 9747 | 2012-02-15 Georg-Johann Lay <avr@gjlay.de> |
9748 | ||
9749 | * doc/extend.texi (AVR Built-in Functions): Remove doc for | |
9750 | __builtin_avr_map8, __builtin_avr_map16. | |
9751 | Document __builtin_avr_insert_bits. | |
9752 | ||
9753 | * config/avr/avr.md (map_bitsqi, map_bitshi): Remove. | |
9754 | (insert_bits): New insn. | |
9755 | (adjust_len.map_bits): Rename to insert_bits. | |
9756 | (UNSPEC_MAP_BITS): Rename to UNSPEC_INSERT_BITS. | |
9757 | * avr-protos.h (avr_out_map_bits): Remove. | |
9758 | (avr_out_insert_bits, avr_has_nibble_0xf): New. | |
9759 | * config/avr/constraints.md (Cxf,C0f): New. | |
9760 | * config/avr/avr.c (avr_cpu_cpp_builtins): Remove built-in | |
9761 | defines __BUILTIN_AVR_MAP8, __BUILTIN_AVR_MAP16. | |
9762 | New built-in define __BUILTIN_AVR_INSERT_BITS. | |
9763 | * config/avr/avr.c (TARGET_FOLD_BUILTIN): New define. | |
9764 | (enum avr_builtin_id): Add AVR_BUILTIN_INSERT_BITS. | |
9765 | (avr_move_bits): Rewrite. | |
9766 | (avr_fold_builtin, avr_map_metric, avr_map_decompose): New static | |
9767 | functions. | |
9768 | (avr_map_op_t): New typedef. | |
9769 | (avr_map_op): New static variable. | |
9770 | (avr_out_insert_bits, avr_has_nibble_0xf): New functions. | |
9771 | (adjust_insn_length): Handle ADJUST_LEN_INSERT_BITS. | |
9772 | (avr_init_builtins): Add definition for __builtin_avr_insert_bits. | |
9773 | (bdesc_3arg, avr_expand_triop_builtin): New. | |
9774 | (avr_expand_builtin): Use them. And handle AVR_BUILTIN_INSERT_BITS. | |
9775 | (avr_revert_map, avr_swap_map, avr_id_map, avr_sig_map): Remove. | |
9776 | (avr_map_hamming_byte, avr_map_hamming_nonstrict): Remove. | |
9777 | (avr_map_equal_p, avr_map_sig_p): Remove. | |
9778 | (avr_out_swap_bits, avr_out_revert_bits, avr_out_map_bits): Remove. | |
9779 | (bdesc_2arg): Remove AVR_BUILTIN_MAP8, AVR_BUILTIN_MAP16. | |
9780 | (adjust_insn_length): Remove handling for ADJUST_LEN_MAP_BITS. | |
9781 | (enum avr_builtin_id): Remove AVR_BUILTIN_MAP8, AVR_BUILTIN_MAP16. | |
9782 | (avr_init_builtins): Remove __builtin_avr_map8, __builtin_avr_map16. | |
9783 | (avr_expand_builtin): Remove AVR_BUILTIN_MAP8, AVR_BUILTIN_MAP16. | |
9784 | ||
a905d913 | 9785 | 2012-02-14 Bernd Schmidt <bernds@codesourcery.com> |
9786 | ||
9787 | * config/c6x/c6x.md (reserve_cycles): New attribute. | |
9788 | * config/c6x/c6x.c (c6x_sched_reorder_1): Ensure insns we predicate | |
9789 | don't reserve functional units after the branch occurs. | |
9790 | ||
3bd76a99 | 9791 | 2012-02-14 Aldy Hernandez <aldyh@redhat.com> |
9792 | ||
9793 | PR middle-end/52142 | |
9794 | * ipa-inline.c (can_inline_edge_p): Do not inline tm_pure | |
9795 | functions into non-tm_pure functions. | |
9796 | ||
073dcaef | 9797 | 2012-02-14 Eric Botcazou <ebotcazou@adacore.com> |
9798 | ||
9799 | PR lto/52178 | |
9800 | * gimple.c (iterative_hash_gimple_type): Use RECORD_OR_UNION_TYPE_P. | |
9801 | (iterative_hash_canonical_type): Likewise. | |
9802 | * tree-ssa-pre.c (fini_pre): Clean up the CFG only after purging all | |
9803 | the dead edges. | |
9804 | ||
9805 | 2012-02-14 Bernd Schmidt <bernds@codesourcery.com> | |
38d8f4bb | 9806 | |
9807 | * haifa-sched.c (prune_ready_list): Ensure that if there is a | |
6bb01a79 | 9808 | sched-group insn, it either remains alone or the entire list is pruned. |
38d8f4bb | 9809 | |
f9ed49a8 | 9810 | 2012-02-14 Jonathan Wakely <jwakely.gcc@gmail.com> |
9811 | ||
9812 | * doc/install.texi (Prerequisites): Fix grammar. | |
9813 | (Configuration): Likewise. | |
9814 | ||
257fb739 | 9815 | 2012-02-14 Jonathan Wakely <jwakely.gcc@gmail.com> |
9816 | ||
9817 | * doc/install.texi (Prerequisites): Suggest building GMP, MPFR and | |
9818 | MPC as part of GCC before describing configuring with --with-gmp etc. | |
9819 | (Installing GCC: Configuration): --with-gmp etc. aren't needed if | |
9820 | sources are present. | |
9821 | ||
65d3bb17 | 9822 | 2012-02-14 Jakub Jelinek <jakub@redhat.com> |
9823 | ||
9824 | PR debug/51950 | |
9825 | * dwarf2out.c (clone_tree_hash): New function. | |
9826 | (copy_decls_walk): Use it instead of clone_tree. | |
9827 | ||
a32556d5 | 9828 | 2012-02-14 Richard Guenther <rguenther@suse.de> |
9829 | ||
9830 | PR tree-optimization/52244 | |
9831 | PR tree-optimization/51528 | |
9832 | * tree-sra.c (analyze_access_subtree): Only create INTEGER_TYPE | |
9833 | replacements for integral types. | |
9834 | ||
7ce78e23 | 9835 | 2012-02-14 Walter Lee <walt@tilera.com> |
9836 | ||
9837 | * config.gcc: Handle tilegx and tilepro. | |
9838 | * configure.ac (gcc_cv_as_dwarf2_debug_line): Enable test for | |
9839 | tilegx and tilepro. | |
9840 | Add HAVE_AS_TLS check for tilegx and tilepro. | |
9841 | * configure: Regenerate. | |
9842 | * doc/contrib.texi: Add Mat Hostetter and self. | |
9843 | * doc/extend.texi (TILE-Gx Built-in Functions): New node. | |
9844 | Document instruction intrinsics and network accessing intrinsics. | |
9845 | (TILEPro Built-in Functions): New node. Document instruction | |
9846 | intrinsics and network accessing intrinsics. | |
9847 | * doc/install.texi (Specific, tilegx-*-linux*): Document it. | |
9848 | (Specific, tilepro-*-linux*): Likewise. | |
9849 | * doc/invoke.texi (TILE-Gx Options): New section. | |
9850 | (TILEPro Options): New section. | |
9851 | * doc/md.texi (TILE-Gx): New section. | |
9852 | (TILEPro): New section. | |
9853 | * common/config/tilegx/tilegx-common.c: New file. | |
9854 | * common/config/tilepro/tilepro-common.c: New file. | |
9855 | * config/tilegx/constraints.md: New file. | |
9856 | * config/tilegx/linux.h: New file. | |
9857 | * config/tilegx/mul-tables.c: New file. | |
9858 | * config/tilegx/predicates.md: New file. | |
9859 | * config/tilegx/sync.md: New file. | |
9860 | * config/tilegx/t-tilegx: New file. | |
9861 | * config/tilegx/tilegx-builtins.h: New file. | |
9862 | * config/tilegx/tilegx-c.c: New file. | |
9863 | * config/tilegx/tilegx-generic.md: New file. | |
9864 | * config/tilegx/tilegx-modes.def: New file. | |
9865 | * config/tilegx/tilegx-multiply.h: New file. | |
9866 | * config/tilegx/tilegx-protos.h: New file. | |
9867 | * config/tilegx/tilegx.c: New file. | |
9868 | * config/tilegx/tilegx.h: New file. | |
9869 | * config/tilegx/tilegx.md: New file. | |
9870 | * config/tilegx/tilegx.opt: New file. | |
9871 | * config/tilepro/constraints.md: New file. | |
9872 | * config/tilepro/gen-mul-tables.cc: New file. | |
9873 | * config/tilepro/linux.h: New file. | |
9874 | * config/tilepro/mul-tables.c: New file. | |
9875 | * config/tilepro/predicates.md: New file. | |
9876 | * config/tilepro/t-tilepro: New file. | |
9877 | * config/tilepro/tilepro-builtins.h: New file. | |
9878 | * config/tilepro/tilepro-c.c: New file. | |
9879 | * config/tilepro/tilepro-generic.md: New file. | |
9880 | * config/tilepro/tilepro-modes.def: New file. | |
9881 | * config/tilepro/tilepro-multiply.h: New file. | |
9882 | * config/tilepro/tilepro-protos.h: New file. | |
9883 | * config/tilepro/tilepro.c: New file. | |
9884 | * config/tilepro/tilepro.h: New file. | |
9885 | * config/tilepro/tilepro.md: New file. | |
9886 | * config/tilepro/tilepro.opt: New file. | |
9887 | ||
4e158897 | 9888 | 2012-02-14 Jakub Jelinek <jakub@redhat.com> |
9889 | ||
9890 | PR tree-optimization/52210 | |
9891 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Call | |
9892 | vect_model_simple_cost with two entry vect_def_type array instead | |
9893 | of an address of dt. | |
9894 | ||
0ffa2e92 | 9895 | 2012-02-14 Richard Guenther <rguenther@suse.de> |
9896 | ||
9897 | PR lto/52178 | |
9898 | * tree-streamer-in.c (lto_input_ts_field_decl_tree_pointers): | |
9899 | Do not stream DECL_QUALIFIER. | |
9900 | * tree-streamer-out.c (write_ts_field_decl_tree_pointers): Likewise. | |
9901 | * tree.c (free_lang_data_in_decl): Free DECL_QUALIFIER. | |
9902 | (find_decls_types_r): Do not walk DECL_QUALIFIER. | |
9903 | ||
fc0d4990 | 9904 | 2012-02-14 Jakub Jelinek <jakub@redhat.com> |
9905 | ||
9906 | PR c/52181 | |
9907 | * c-decl.c (merge_decls): Copy DECL_USER_ALIGN bit from olddecl to | |
9908 | newdecl. | |
9909 | ||
2af89801 | 9910 | 2012-02-13 Jakub Jelinek <jakub@redhat.com> |
9911 | ||
9912 | PR bootstrap/52172 | |
9913 | * cselib.h (cselib_subst_to_values_from_insn): New prototype. | |
9914 | * cselib.c (cselib_subst_to_values_from_insn): New function. | |
9915 | * sched-deps.c (add_insn_mem_dependence, | |
9916 | sched_analyze_1, sched_analyze_2): Use it. | |
9917 | ||
6e3803fb | 9918 | 2012-02-13 Jan Hubicka <jh@suse.cz> |
9919 | ||
9920 | PR middle-end/52214 | |
9921 | * predict.c (predict_paths_for_bb): Fix thinko in prevoius patch. | |
9922 | ||
9a8d01ee | 9923 | 2012-02-13 Eric Botcazou <ebotcazou@adacore.com> |
9924 | ||
9925 | * gcc.c (LINK_COMMAND_SPEC): Deal with -fgnu-tm. | |
9926 | (GTM_SELF_SPECS): Define if not already defined. | |
9927 | (driver_self_specs): Add GTM_SELF_SPECS. | |
6bb01a79 | 9928 | * config/darwin.h (LINK_COMMAND_SPEC_A): Deal with -fgnu-tm. |
9929 | (GTM_SELF_SPECS): Define. | |
9a8d01ee | 9930 | * config/i386/cygwin.h (GTM_SELF_SPECS): Likewise. |
9931 | * config/i386/mingw32.h (GTM_SELF_SPECS): Likewise. | |
9932 | ||
0416ca72 | 9933 | 2012-02-13 Jakub Jelinek <jakub@redhat.com> |
9934 | ||
533ae4c7 | 9935 | * cselib.c (expand_loc): Return sp, fp, hfp or cfa base reg right |
9936 | away if seen. | |
9937 | ||
6bb01a79 | 9938 | * cselib.c (dump_cselib_val): Don't assume l->setting_insn is non-NULL. |
0e508b49 | 9939 | |
0416ca72 | 9940 | PR middle-end/52230 |
6bb01a79 | 9941 | * omp-low.c (expand_omp_for): If a static schedule without chunk size |
9942 | has NULL region->cont, force fd.chunk_size to be integer_zero_node. | |
0416ca72 | 9943 | |
c5519669 | 9944 | 2012-02-13 Andrew MacLeod <amacleod@redhat.com> |
9945 | ||
9946 | PR c/52190 | |
9947 | * doc/extend.texi : Fix another __atomic_compare_exchange typo. | |
9948 | ||
dc35e8f6 | 9949 | 2012-02-13 Richard Guenther <rguenther@suse.de> |
9950 | ||
9951 | PR translation/52211 | |
9952 | * passes.c (enable_disable_pass): Fix typo. | |
9953 | ||
7e5608ca | 9954 | 2012-02-13 Jakub Jelinek <jakub@redhat.com> |
9955 | ||
9956 | PR middle-end/52209 | |
9957 | * expr.c (expand_expr_real_2) <case BIT_NOT_EXPR>: Only expand using | |
9958 | XOR for reduce_bit_field if type is unsigned. | |
9959 | ||
7a0443dc | 9960 | 2012-02-12 Eric Botcazou <ebotcazou@adacore.com> |
9961 | ||
9962 | * config/sparc/sparc.h (CANNOT_CHANGE_MODE_CLASS): In 64-bit mode, | |
9963 | disallow changes from SFmode to mode with different size in FP regs. | |
9964 | ||
9965 | 2012-02-12 Robert Millan <rmh@gnu.org> | |
6bb01a79 | 9966 | Gerald Pfeifer <gerald@pfeifer.com> |
a40d9b7c | 9967 | |
9968 | * ginclude/stddef.h [__FreeBSD_kernel__] (__size_t): Do not define. | |
9969 | Tweak comment. | |
9970 | ||
f0421938 | 9971 | 2012-02-11 Richard Sandiford <rdsandiford@googlemail.com> |
9972 | ||
9973 | PR rtl-optimization/52175 | |
9974 | * reorg.c (fill_slots_from_thread): Don't apply add/sub optimization | |
9975 | to frame-related instructions. | |
9976 | ||
ee7ee34d | 9977 | 2012-02-10 Jason Merrill <jason@redhat.com> |
9978 | ||
9979 | PR c++/51910 | |
9980 | * tlink.c (demangled_hash_entry): Change mangled to a VEC. | |
9981 | (demangle_new_symbols): Fill it. | |
9982 | (scan_linker_output): Walk it. | |
9983 | (start_tweaking): Split out from scan_linker_output. | |
9984 | (maybe_tweak): Update sym->chosen. | |
9985 | * Makefile.in (COLLECT2_OBJS): Add vec.o and gcc-none.o | |
9986 | ||
f8d0f01f | 9987 | 2012-02-11 Jakub Jelinek <jakub@redhat.com> |
9988 | ||
9989 | PR debug/52132 | |
6bb01a79 | 9990 | * reg-stack.c (subst_stack_regs_in_debug_insn): Don't use get_true_reg. |
f8d0f01f | 9991 | |
67755ff0 | 9992 | 2012-02-11 Uros Bizjak <ubizjak@gmail.com> |
9993 | ||
9994 | * compare-elim.c (find_comparisons_in_bb): Eliminate only compares | |
9995 | having the same mode as previous compare. | |
9996 | ||
4cdb9b47 | 9997 | 2012-02-10 Eric Botcazou <ebotcazou@adacore.com> |
9998 | ||
9999 | * config/sparc/sparc.c (sparc_flat_expand_prologue): Use emit_use. | |
10000 | * config/sparc/sparc.md (UNSPECV_GOTO): Delete. | |
10001 | (nonlocal_goto_internal): Likewise. | |
10002 | (nonlocal_goto): Emit a use and an indirect jump directly. | |
10003 | ||
c311fe7e | 10004 | 2012-02-10 Andrew MacLeod <amacleod@redhat.com> |
10005 | ||
10006 | PR c/52190 | |
10007 | * doc/extend.texi : Update comments for __atomic_compare_exchange and | |
10008 | __atomic_{is,always}_lock_free. | |
10009 | ||
c766750c | 10010 | 2012-02-10 Uros Bizjak <ubizjak@gmail.com> |
10011 | ||
10012 | PR target/52146 | |
10013 | * config/i386/i386.c (ix86_legitimate_address_p): Disallow | |
c290746e | 10014 | negative constant address for TARGET_X32. |
c766750c | 10015 | |
b65fbe25 | 10016 | 2012-02-10 Richard Henderson <rth@redhat.com> |
10017 | ||
67755ff0 | 10018 | * tree-ssa-dce.c (propagate_necessity): Handle GIMPLE_TRANSACTION. |
10019 | * tree-ssa-operands.c (parse_ssa_operands): Add virtual operands | |
10020 | for GIMPLE_TRANSACTION. Tidy if's into a switch. | |
b65fbe25 | 10021 | |
5df2530b | 10022 | 2012-02-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
10023 | Ira Rosen <irar@il.ibm.com> | |
10024 | ||
10025 | PR tree-optimization/50031 | |
10026 | * targhooks.c (default_builtin_vectorization_cost): Handle | |
10027 | vec_promote_demote. | |
10028 | * target.h (enum vect_cost_for_stmt): Add vec_promote_demote. | |
10029 | * tree-vect-loop.c (vect_get_single_scalar_iteraion_cost): Handle | |
10030 | all types of reduction and pattern statements. | |
10031 | (vect_estimate_min_profitable_iters): Likewise. | |
10032 | * tree-vect-stmts.c (vect_model_promotion_demotion_cost): New function. | |
10033 | (vect_get_load_cost): Use vec_perm for permutations; add dump logic | |
10034 | for explicit realigns. | |
10035 | (vectorizable_conversion): Call vect_model_promotion_demotion_cost. | |
10036 | * config/spu/spu.c (spu_builtin_vectorization_cost): Handle | |
10037 | vec_promote_demote. | |
10038 | * config/i386/i386.c (ix86_builtin_vectorization_cost): Likewise. | |
10039 | * config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost): Update | |
10040 | vec_perm for VSX and handle vec_promote_demote. | |
10041 | ||
06308d2a | 10042 | 2012-02-10 Jakub Jelinek <jakub@redhat.com> |
10043 | ||
10044 | PR middle-end/52177 | |
10045 | * builtins.c (fold_builtin_atomic_always_lock_free, | |
10046 | expand_builtin_atomic_always_lock_free, | |
67755ff0 | 10047 | fold_builtin_atomic_is_lock_free, expand_builtin_atomic_is_lock_free): |
10048 | Return and/or test boolean_true_node/boolean_false_node instead of | |
06308d2a | 10049 | integer_one_node/integer_zero_node. |
10050 | ||
d3443011 | 10051 | 2012-02-10 Jan Hubicka <jh@suse.cz> |
10052 | ||
10053 | PR middle-end/48600 | |
10054 | * predict.c (predict_paths_for_bb): Prevent looping. | |
10055 | (predict_paths_leading_to_edge, predict_paths_leading_to): Update. | |
10056 | ||
151d02b1 | 10057 | 2012-02-10 Roman Zhuykov <zhroma@ispras.ru> |
10058 | ||
10059 | * config/arm/arm.c (output_move_double): In one case properly | |
10060 | count number of instructions that will be emitted. | |
10061 | ||
6d36105a | 10062 | 2012-02-10 Richard Guenther <rguenther@suse.de> |
10063 | ||
10064 | PR translation/52193 | |
10065 | * cgraphunit.c (cgraph_mark_functions_to_output): Fix typo. | |
10066 | ||
670fc240 | 10067 | 2012-02-09 Peter Bergner <bergner@vnet.ibm.com> |
10068 | ||
10069 | PR middle-end/52140 | |
10070 | * dojump.c (do_compare_rtx_and_jump): Use SCALAR_FLOAT_MODE_P. | |
10071 | ||
d5d74c5f | 10072 | 2012-02-09 Jakub Jelinek <jakub@redhat.com> |
10073 | ||
10074 | PR debug/52165 | |
10075 | * var-tracking.c (emit_note_insn_var_location): If | |
10076 | EMIT_NOTE_BEFORE_INSN and insn is NOTE_INSN_CALL_ARG_LOCATION, | |
10077 | emit it before next non-NOTE_INSN_CALL_ARG_LOCATION | |
10078 | non-NOTE_DURING_CALL_P insn. | |
10079 | ||
d95cfd30 | 10080 | 2012-02-09 Bin Cheng <bin.cheng@arm.com> |
10081 | ||
10082 | PR middle-end/51867 | |
10083 | * builtins.c (expand_builtin): Don't check DECL_ASSEMBLER_NAME_SET_P. | |
10084 | ||
cbe25b89 | 10085 | 2012-02-08 Magnus Granberg <zorry@gentoo.org> |
10086 | ||
10087 | PR driver/48524 | |
67755ff0 | 10088 | * gcc.c (switch_matches) Support switches with separated form, |
10089 | -D and -U. | |
cbe25b89 | 10090 | |
72851b68 | 10091 | 2012-02-08 Georg-Johann Lay <avr@gjlay.de> |
10092 | ||
10093 | * config/avr/avr.md (SREG_ADDR): Remove constant definition. | |
10094 | (SP_ADDR): Ditto. | |
10095 | (RAMPZ_ADDR): Ditto. | |
10096 | * config/avr/avr.c (avr_addr_t): New typedef. | |
10097 | (avr_addr): New struct to hold RAM address of SPL, SPH, RAMPZ, SREG. | |
10098 | (avr_init_expanders): Initialize it. | |
10099 | (expand_prologue): Use avr_addr instead of RAMPZ_ADDR, SP_ADDR, | |
10100 | SREG_ADDR. | |
10101 | (expand_epilogue): Ditto. | |
10102 | (avr_print_operand): Ditto. | |
10103 | (avr_file_start): Ditto. | |
10104 | (avr_emit_movmemhi): Ditto. | |
10105 | ||
8b0287e2 | 10106 | 2012-02-08 Richard Guenther <rguenther@suse.de> |
10107 | ||
10108 | PR tree-optimization/46886 | |
10109 | * tree-flow.h (do_while_loop_p): Declare. | |
10110 | * tree-ssa-loop-ch.c (do_while_loop_p): Export. | |
67755ff0 | 10111 | * tree-parloops.c (parallelize_loops): Only parallelize do-while loops. |
8b0287e2 | 10112 | |
3b967909 | 10113 | 2012-02-08 Andrew MacLeod <amacleod@redhat.com> |
10114 | ||
10115 | * optabs.c (expand_atomic_load): Do not assume compare_and_swap will | |
10116 | always succeed for integers larger than a native word. | |
10117 | ||
3e527904 | 10118 | 2012-02-08 Richard Guenther <rguenther@suse.de> |
10119 | ||
10120 | PR rtl-optimization/52170 | |
10121 | * simplify-rtx.c (simplify_plus_minus): Use CONSTM1_RTX to | |
10122 | properly handle integer vector modes. | |
10123 | ||
5a23e907 | 10124 | 2012-02-08 Jakub Jelinek <jakub@redhat.com> |
10125 | ||
8d354582 | 10126 | PR gcov-profile/52150 |
10127 | * coverage.c: Include target.h. | |
10128 | (build_var): Call targetm.strip_name_encoding on the assembler name. | |
10129 | Change one _ into . or $ if the target allows it. | |
10130 | * Makefile.in (coverage.o): Depend on $(TARGET_H). | |
10131 | ||
5a23e907 | 10132 | PR rtl-optimization/52139 |
10133 | * cfgrtl.c (cfg_layout_merge_blocks): If BB_END | |
10134 | is a BARRIER after emit_insn_after_noloc, move BB_END | |
10135 | to the last non-BARRIER insn before it. | |
10136 | ||
9a9bf421 | 10137 | 2012-02-07 Richard Sandiford <rdsandiford@googlemail.com> |
10138 | ||
10139 | PR middle-end/24306 | |
10140 | * config/mips/mips.c (mips_std_gimplify_va_arg_expr): New function. | |
10141 | (mips_gimplify_va_arg_expr): Call it instead of | |
10142 | std_gimplify_va_arg_expr. | |
10143 | ||
ffc589a8 | 10144 | 2012-02-07 Michael Meissner <meissner@linux.vnet.ibm.com> |
10145 | ||
10146 | * config/rs6000/rs6000.c (rs6000_trampoline_init): Fix error | |
10147 | message for -mno-pointers-to-nested-function. | |
10148 | ||
476e59ce | 10149 | 2012-02-07 Eric Botcazou <ebotcazou@adacore.com> |
10150 | ||
10151 | PR middle-end/51994 | |
10152 | * expr.c (get_inner_reference): If there is an offset, add a negative | |
10153 | bit position to it (if any). | |
10154 | ||
ec458c01 | 10155 | 2012-02-07 Jakub Jelinek <jakub@redhat.com> |
10156 | ||
10157 | PR rtl-optimization/52060 | |
10158 | * combine.c (try_combine): Add i0src_copy and i0src_copy2 variables, | |
10159 | copy i1src to i1src_copy whenever added_sets_2 && i1_feeds_i2_n already | |
10160 | before i1dest -> i1src substitution in newpat, copy i0src to i0src_copy | |
10161 | and/or i0src_copy2 when needed. | |
10162 | ||
47c380e4 | 10163 | 2012-02-07 Jakub Jelinek <jakub@redhat.com> |
10164 | ||
1d784785 | 10165 | * gcc.c (main): Don't look for lto-wrapper or lto-wrapper |
10166 | or LTOPLUGINSONAME if have_c. | |
10167 | ||
47c380e4 | 10168 | * config/freebsd-spec.h: Add comment about what macros can be defined |
10169 | in this header. | |
10170 | (LINK_EH_SPEC, LINK_SSP_SPEC, USE_LD_AS_NEEDED): Don't define here. | |
10171 | * config/freebsd.h (LINK_EH_SPEC, LINK_SSP_SPEC, USE_LD_AS_NEEDED): But | |
10172 | here instead. | |
10173 | ||
57d4f313 | 10174 | 2012-02-07 Richard Guenther <rguenther@suse.de> |
10175 | ||
10176 | * gimple-pretty-print.c (dump_gimple_phi): Avoid excessive | |
10177 | newline in -alias dumps. | |
10178 | ||
b86a2627 | 10179 | 2012-02-07 Kai Tietz <ktietz@redhat.com> |
67755ff0 | 10180 | Dave Korn <dave.korn.cygwin@gmail.com> |
b86a2627 | 10181 | |
10182 | PR target/40068 | |
10183 | * config/i386/winnt-cxx.c (i386_pe_adjust_class_at_definition): | |
10184 | Take care that typinfo gets dllexport-attribute. | |
10185 | ||
792729b8 | 10186 | 2012-02-07 Jakub Jelinek <jakub@redhat.com> |
10187 | ||
10188 | PR middle-end/52074 | |
10189 | * expr.c (expand_expr_addr_expr_1): For CONSTANT_CLASS_P or CONST_DECL | |
10190 | if modifier < EXPAND_SUM call force_operand on the result. | |
10191 | ||
83debce3 | 10192 | 2012-02-07 Joern Rennecke <joern.rennecke@embecosm.com> |
10193 | ||
10194 | * config/epiphany/epiphany.h (ASM_DECLARE_FUNCTION_SIZE): Redefine, | |
10195 | adding __forwarder_dst__ prefix if a forwarder_section attribute is | |
10196 | present. | |
10197 | (epiphany_function_type): Replace types for specific interrupts with | |
10198 | EPIPHANY_FUNCTION_INTERRUPT. | |
10199 | (EPIPHANY_INTERRUPT_P): Update. | |
10200 | * config/epiphany/epiphany.c (epiphany_handle_forwarder_attribute): | |
10201 | New static function. | |
10202 | (epiphany_attribute_table) <interrupt>: min_len is 0, max_len is 9. | |
10203 | <disinterrupt>: Affects type identity. | |
10204 | (epiphany_handle_interrupt_attribute): Handle variable number of | |
10205 | arguments. | |
10206 | (epiphany_compute_function_type): Update for new | |
10207 | epiphany_function_type definition. | |
10208 | (epiphany_expand_prologue): Don't save (reg:DI GPR_0) for interrupt | |
10209 | handlers with a longcall forwarder. | |
10210 | (epiphany_start_function): Handle multiple interrupt arguments and/or | |
10211 | forwarder_section attribute. | |
10212 | ||
67755ff0 | 10213 | * config/epiphany/epiphany.h (LIB_SPEC): Link libc again after |
10214 | libgloss. | |
fad55529 | 10215 | |
fd68342f | 10216 | 2012-02-07 Alan Modra <amodra@gmail.com> |
10217 | ||
10218 | PR target/52107 | |
10219 | * config/rs6000/rs6000.c (rs6000_emit_move): Don't create DImode | |
10220 | subregs of TFmode. | |
10221 | ||
de8d8819 | 10222 | 2012-02-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
10223 | ||
10224 | PR tree-optimization/50969 | |
10225 | * tree-vect-stmts.c (vect_model_store_cost): Correct statement cost to | |
10226 | use vec_perm rather than vector_stmt. | |
10227 | (vect_model_load_cost): Likewise. | |
10228 | * config/i386/i386.c (ix86_builtin_vectorization_cost): Change cost of | |
10229 | vec_perm to be the same as other vector statements. | |
10230 | * config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost): Revise | |
10231 | cost of vec_perm for TARGET_VSX. | |
10232 | ||
f509e778 | 10233 | 2012-02-06 Richard Guenther <rguenther@suse.de> |
10234 | ||
10235 | PR tree-optimization/52115 | |
10236 | * tree-sra.c (access_has_replacements_p): New function. | |
10237 | (sra_modify_assign): Use it to decide whether a use is uninitialized. | |
10238 | ||
c86dbacd | 10239 | 2012-02-06 Patrick Marlier <patrick.marlier@gmail.com> |
10240 | ||
10241 | PR middle-end/52047 | |
10242 | * trans-mem.c (expand_call_tm): Add an assertion. | |
10243 | * calls.c (flags_from_decl_or_type): Add ECF_TM_PURE to 'no vops' | |
10244 | functions. | |
10245 | ||
316830ac | 10246 | 2012-02-06 Richard Guenther <rguenther@suse.de> |
10247 | ||
10248 | PR tree-optimization/50955 | |
10249 | * tree-ssa-loop-ivopts.c (get_computation_cost_at): Artificially | |
10250 | raise cost of expressions that replace an address with an | |
10251 | expression based on a different pointer. | |
10252 | ||
98d44ce4 | 10253 | 2012-02-06 Jakub Jelinek <jakub@redhat.com> |
10254 | ||
10255 | PR target/52129 | |
10256 | * calls.c (mem_overlaps_already_clobbered_arg_p): If val is | |
10257 | CONST_INT_P, subtract resp. add crtl->args.pretend_args_size to it. | |
10258 | ||
0737bc6a | 10259 | 2012-02-06 Jonathan Wakely <jwakely.gcc@gmail.com> |
10260 | ||
10261 | PR c++/48680 | |
10262 | * doc/invoke.texi (C++ Dialect Options): Use @option markup for | |
10263 | -Weffc++ and specify guidelines come from second edition. | |
10264 | ||
cc798c09 | 10265 | 2012-02-05 Richard Sandiford <rdsandiford@googlemail.com> |
10266 | ||
10267 | * config/mips/mips.md (sibcall_internal, sibcall_value_internal) | |
10268 | (sibcall_value_multiple_internal, call_split, call_internal_direct) | |
10269 | (call_direct_split, call_value_split, call_value_internal_direct) | |
10270 | (call_value_direct_split, call_value_multiple_split): Use jal and | |
10271 | jal_macro attributes. | |
10272 | ||
677315b6 | 10273 | 2012-02-05 Richard Sandiford <rdsandiford@googlemail.com> |
10274 | ||
10275 | * reload1.c (reload_regs_reach_end_p): Replace with... | |
10276 | (reload_reg_rtx_reaches_end_p): ...this function. | |
10277 | (new_spill_reg_store): Update commentary. | |
10278 | (emit_input_reload_insns): Don't clear new_spill_reg_store here. | |
10279 | (emit_output_reload_insns): Check reload_reg_rtx_reaches_end_p | |
10280 | before setting new_spill_reg_store. | |
10281 | (emit_reload_insns): Use a separate loop to clear new_spill_reg_store. | |
10282 | Use reload_reg_rtx_reaches_end_p instead of reload_regs_reach_end_p. | |
10283 | Also use reload_reg_rtx_reaches_end_p when reading new_spill_reg_store | |
10284 | for non-spill reload registers. | |
10285 | ||
bed8b93b | 10286 | 2012-02-05 Ira Rosen <irar@il.ibm.com> |
10287 | ||
10288 | PR tree-optimization/52091 | |
10289 | * tree-vectorizer.h (vect_is_simple_use): Add an argument. | |
10290 | (vect_is_simple_use_1): Likewise. | |
10291 | * tree-vect-loop.c (vectorizable_reduction): Update calls | |
10292 | to vect_is_simple_use_1 and vect_is_simple_use. | |
10293 | (vectorizable_live_operation): Likewise. | |
10294 | * tree-vect-patterns.c (widened_name_p, | |
67755ff0 | 10295 | vect_recog_vector_vector_shift_pattern, check_bool_pattern): Likewise. |
bed8b93b | 10296 | * tree-vect-stmts.c (process_use, vect_get_vec_def_for_operand, |
67755ff0 | 10297 | vectorizable_call, vectorizable_conversion, vectorizable_assignment, |
10298 | vectorizable_shift,vectorizable_operation, vectorizable_store, | |
10299 | vectorizable_load): Likewise. | |
bed8b93b | 10300 | (vect_is_simple_cond): Add an argument, pass it to |
10301 | vect_is_simple_use_1. | |
10302 | (vectorizable_condition): Update calls to vect_is_simple_cond, | |
10303 | vect_is_simple_use. | |
10304 | (vect_is_simple_use): Add an argument, the statement in which | |
10305 | OPERAND is used. Check that if OPERAND's def stmt is a double | |
10306 | reduction phi node, the use is a phi node too. | |
10307 | (vect_is_simple_use_1): Add an argument, pass it to | |
10308 | vect_is_simple_use. | |
10309 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Update a call | |
10310 | to vect_is_simple_use. | |
10311 | ||
08b31038 | 10312 | 2012-02-04 Jakub Jelinek <jakub@redhat.com> |
10313 | ||
56134a9f | 10314 | PR rtl-optimization/52095 |
10315 | * modulo-sched.c (dump_insn_locator): New function. | |
10316 | (loop_canon_p, sms_schedule): Use it. | |
10317 | ||
08b31038 | 10318 | PR rtl-optimization/52113 |
10319 | * lower-subreg.c (decompose_multiword_subregs): Call recog_memoized | |
10320 | even for decomposable shift/zext insns. | |
10321 | ||
4a169b5e | 10322 | 2012-02-03 Jakub Jelinek <jakub@redhat.com> |
10323 | Zdenek Dvorak <ook@ucw.cz> | |
10324 | ||
10325 | PR rtl-optimization/52092 | |
10326 | * loop-unswitch.c (unswitch_single_loop): Call copy_rtx_if_shared | |
10327 | on get_iv_value result. | |
10328 | ||
24d7beb3 | 10329 | 2012-02-02 Andrew Pinski <apinski@cavium.com> |
10330 | ||
10331 | PR middle-end/47982 | |
10332 | PR middle-end/43967 | |
10333 | * doc/libgcc.texi (__udivmoddi4/__udivmodti4): Fix documentation typo. | |
10334 | ||
00c00a40 | 10335 | 2012-02-02 Jakub Jelinek <jakub@redhat.com> |
10336 | ||
10337 | PR middle-end/48071 | |
10338 | * diagnostic.c (diagnostic_finish): Remove trailing newlines. | |
10339 | ||
169d9eaf | 10340 | 2012-02-02 Vladimir Makarov <vmakarov@redhat.com> |
10341 | ||
10342 | PR rtl-optimization/49800 | |
10343 | * haifa-sched.c (sched_init): Call regstat_init_n_sets_and_refs. | |
10344 | (sched_finish): Call regstat_free_n_sets_and_refs. | |
10345 | ||
a13b68f1 | 10346 | 2012-02-02 Jia Liu <proljc@gmail.com> |
10347 | ||
10348 | * config/mips/mips-dspr2.md (mips_prepend): Mask operand 3 rather | |
10349 | than operand 2. | |
10350 | ||
6bb01a79 | 10351 | 2012-02-02 Jan Hubicka <jh@suse.cz> |
10352 | Tom de Vries <tom@codesourcery.com> | |
b0898cb7 | 10353 | |
10354 | PR middle-end/51998 | |
10355 | * cgraphunit.c (cgraph_analyze_function): Break cyclic aliases. | |
10356 | * varpool.c (varpool_analyze_pending_decls): Likewise. | |
10357 | ||
b9fdd12b | 10358 | 2012-02-02 Sumanth G <sumanth.gundapaneni@kpitcummins.com> |
10359 | Jayant R Sonar <jayant.sonar@kpitcummins.com> | |
10360 | ||
10361 | * config.gcc: Add cr16-* support. | |
10362 | ||
10363 | * doc/extend.texi: Document cr16 extensions. | |
10364 | * doc/install.texi: Document cr16 install. | |
10365 | * doc/invoke.texi: Document cr16 options. | |
10366 | * doc/md.texi: Document cr16 constraints. | |
10367 | ||
10368 | * common/config/cr16/cr16-common.c: New file. | |
10369 | * config/cr16/cr16.c: New file. | |
10370 | * config/cr16/cr16.h: New file. | |
10371 | * config/cr16/cr16.md: New file. | |
10372 | * config/cr16/cr16.opt: New file. | |
10373 | * config/cr16/cr16-protos.h: New file. | |
10374 | * config/cr16/predicates.md: New file. | |
10375 | * config/cr16/constraints.md: New file. | |
10376 | * config/cr16/t-cr16: New file. | |
10377 | ||
ddee24bb | 10378 | 2012-02-02 Jakub Jelinek <jakub@redhat.com> |
10379 | ||
80b67e55 | 10380 | PR target/52086 |
10381 | * config/i386/i386.md (*addqi_2 peephole with SImode addition): Check | |
10382 | that operands[2] is either immediate, or q_regs_operand. | |
10383 | ||
ddee24bb | 10384 | PR tree-optimization/52073 |
10385 | * tree-vect-stmts.c (vect_mark_relevant): When checking uses of | |
10386 | a pattern stmt for pattern uses, ignore uses outside of the loop. | |
10387 | ||
02a011e9 | 10388 | 2012-02-01 Georg-Johann Lay <avr@gjlay.de> |
10389 | ||
10390 | * config/avr/avr.c: Resolve all AS1 and AS2 macros. | |
10391 | * config/avr/avr.h (AS1, AS2, AS2C, AS3): Remove. | |
10392 | (OUT_AS1, OUT_AS2): Remove. | |
10393 | ||
5dcaa548 | 10394 | 2012-02-01 Georg-Johann Lay <avr@gjlay.de> |
10395 | ||
10396 | PR rtl-optimization/51374 | |
10397 | * combine.c (can_combine_p): Don't allow volatile_refs_p insns | |
10398 | to cross other volatile_refs_p insns. | |
10399 | ||
b75cad1f | 10400 | 2012-02-01 Richard Guenther <rguenther@suse.de> |
10401 | ||
10402 | * doc/invoke.texi (fno-inline): Clarify documentation. | |
10403 | (finline-small-functions): Likewise. | |
10404 | (finline-functions): Likewise. | |
10405 | * common.opt (finline): Adjust comment and documentation. | |
10406 | (finline-small-functions): Clarify documentation. | |
10407 | (finline-functions): Likewise. | |
10408 | (finline-functions-called-once): Likewise. | |
10409 | ||
b589b3b4 | 10410 | 2012-02-01 Tristan Gingold <gingold@adacore.com> |
10411 | ||
10412 | * c-typeck.c (composite_type): Keep mode for pointers. | |
10413 | ||
e49cbd3a | 10414 | 2012-01-31 Richard Sandiford <rdsandiford@googlemail.com> |
10415 | ||
10416 | * function.h (regno_reg_rtx): Adjust comment. | |
10417 | * reginfo.c (init_reg_modes_target): Only use the previous mode | |
10418 | if it fits within one register. Remove MIPS comment. | |
10419 | ||
3e9db8fa | 10420 | 2012-01-31 Jakub Jelinek <jakub@redhat.com> |
10421 | ||
10422 | PR bootstrap/52058 | |
10423 | * combine.c (do_SUBST_LINK, SUBST_LINK): Guard with #ifndef HAVE_cc0. | |
10424 | ||
a6dcd7c0 | 10425 | 2012-01-31 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
10426 | ||
10427 | * config/s390/s390.md ("*ashr<mode>3_and"): Add missing z196 flag | |
10428 | to srak instruction. | |
10429 | ||
b004da1e | 10430 | 2012-01-31 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
10431 | ||
67755ff0 | 10432 | * config/arm/thumb2.md (thumb2_mov_notscc): Use MVN for true condition. |
b004da1e | 10433 | |
b74ba78c | 10434 | 2012-01-31 Jakub Jelinek <jakub@redhat.com> |
10435 | ||
10436 | PR bootstrap/52041 | |
10437 | PR bootstrap/52039 | |
10438 | PR target/51974 | |
10439 | * ipa-prop.c (detect_type_change_1): Call ao_ref_init. | |
10440 | ||
192d2ed8 | 10441 | 2012-01-31 Richard Guenther <rguenther@suse.de> |
10442 | ||
10443 | PR tree-optimization/51528 | |
10444 | * tree-sra.c (sra_modify_assign): Avoid copy-in/out for aggregate | |
10445 | assigns. | |
10446 | ||
32a07a44 | 10447 | 2012-01-31 Jakub Jelinek <jakub@redhat.com> |
10448 | ||
10449 | PR bootstrap/52041 | |
10450 | PR bootstrap/52039 | |
10451 | PR target/51974 | |
10452 | * ree.c (add_removable_extension): Change def_map argument | |
10453 | to unsigned *, store in def_map 1 + offset into *insn_list vector | |
10454 | instead of pointers into the vector. | |
10455 | (find_removable_extensions): Adjust caller. | |
10456 | ||
97bdce59 | 10457 | 2012-01-30 Georg-Johann Lay <avr@gjlay.de> |
10458 | ||
10459 | * config/avr/avr.md: Resolve all AS1 and AS2 macros. | |
10460 | Transform all "* quoted-c-code" to { c-code }. | |
10461 | Remove redundant test for "optimize" in combine patterns. | |
10462 | Move (include "avr-dimode.md") to end of file. | |
10463 | ||
232b7e7e | 10464 | 2012-01-30 Bin Cheng <bin.cheng@arm.com> |
10465 | ||
10466 | PR target/51835 | |
10467 | * config/arm/arm.c (arm_libcall_uses_aapcs_base): Use correct ABI | |
10468 | for __aeabi_d2iz/__aeabi_d2uiz with hard-float. | |
10469 | ||
a4d16d30 | 10470 | 2012-01-30 Richard Guenther <rguenther@suse.de> |
10471 | ||
10472 | PR tree-optimization/52028 | |
10473 | * tree-loop-distribution.c (ldist_gen): Properly update | |
10474 | virtual SSA form. | |
10475 | ||
30e4f955 | 10476 | 2012-01-30 Jakub Jelinek <jakub@redhat.com> |
10477 | ||
f9a7b553 | 10478 | PR debug/52027 |
10479 | * dwarf2out.c (dwarf2out_switch_text_section): Don't call | |
10480 | set_cur_line_info_table if not emitting debug info. | |
10481 | ||
3a542b98 | 10482 | PR tree-optimization/52046 |
10483 | * tree-vect-patterns.c (check_bool_pattern): Give up if | |
10484 | a comparison could throw. | |
10485 | ||
30e4f955 | 10486 | PR debug/52048 |
10487 | * tree-ssa-tail-merge.c (local_def): Ignore debug uses. | |
10488 | ||
b7b10fb5 | 10489 | 2012-01-30 Richard Guenther <rguenther@suse.de> |
10490 | ||
10491 | PR tree-optimization/52045 | |
10492 | * tree-optimize.c (execute_cleanup_cfg_post_optimizing): Update | |
10493 | SSA form if cfgcleanup did anything. | |
10494 | ||
e723655c | 10495 | 2012-01-30 Richard Guenther <rguenther@suse.de> |
10496 | ||
10497 | PR tree-optimization/52045 | |
10498 | * ipa-inline-transform.c (inline_transform): Call execute_fixup_cfg | |
10499 | before computing final todo. | |
10500 | ||
ce0c5a57 | 10501 | 2012-01-30 Richard Guenther <rguenther@suse.de> |
10502 | ||
10503 | PR tree-optimization/51528 | |
10504 | * tree-sra.c (sra_modify_assign): Re-factor in preparation | |
10505 | for PR51528 fix. | |
10506 | ||
a1cf9167 | 10507 | 2012-01-30 Paolo Bonzini <bonzini@gnu.org> |
10508 | ||
10509 | * df-problems.c (df_kill_notes): Check that the use refers | |
10510 | to the note under examination. | |
10511 | ||
6d293a49 | 10512 | 2012-01-30 Eric Botcazou <ebotcazou@adacore.com> |
10513 | ||
10514 | PR target/51920 | |
10515 | * config/sparc/sparc.c (vector_init_fpmerge): Remove INNER_MODE | |
10516 | parameter and use short-lived pseudos. | |
10517 | (vector_init_faligndata): Remove INNER_MODE parameter and use loop. | |
10518 | (sparc_expand_vector_init): Const-ify local variables and adjust | |
10519 | calls to above functions. | |
10520 | ||
578c09ca | 10521 | 2012-01-30 Georg-Johann Lay <avr@gjlay.de> |
10522 | ||
10523 | * config/avr/avr.c (out_movqi_mr_r): Fix length computation. | |
10524 | ||
009f90be | 10525 | 2012-01-29 Sandra Loosemore <sandra@codesourcery.com> |
10526 | ||
10527 | * doc/invoke.texi: Make usage of "compile time" and | |
10528 | "run time"/"runtime" consistent throughout the file. | |
10529 | ||
669cf718 | 10530 | 2012-01-29 Uros Bizjak <ubizjak@gmail.com> |
10531 | ||
67755ff0 | 10532 | * config/alpha/alpha.c (alpha_option_override): Default to |
669cf718 | 10533 | full IEEE compliance mode for Go language. |
10534 | ||
0cfd09e4 | 10535 | 2011-01-29 Tijl Coosemans <tijl@coosemans.org> |
10536 | ||
10537 | * config/freebsd-spec.h [TARGET_LIBC_PROVIDES_SSP] | |
10538 | (LINK_SSP_SPEC): Define. | |
10539 | ||
16309fef | 10540 | 2012-01-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
10541 | ||
10542 | PR target/51871 | |
10543 | * config/pa/pa.c (pa_return_addr_rtx): Add support for PA2.0 export | |
10544 | stubs. | |
10545 | ||
82e24083 | 10546 | 2012-01-28 Sandra Loosemore <sandra@codesourcery.com> |
10547 | ||
10548 | * doc/invoke.texi: Correct hyphenation of "floating point", | |
10549 | "double precision", and related terminology throughout the file. | |
10550 | ||
2d05dfad | 10551 | 2012-01-28 Jakub Jelinek <jakub@redhat.com> |
10552 | ||
10553 | PR target/52006 | |
10554 | * config/arm/arm.md (pic_add_dot_plus_eight peephole2): Use | |
10555 | arm_general_register_operand predicate for operand 2 instead of | |
10556 | register_operand. | |
10557 | ||
c307f106 | 10558 | 2012-01-27 Ian Lance Taylor <iant@google.com> |
10559 | ||
10560 | PR go/47656 | |
10561 | * builtins.def (BUILT_IN_INIT_HEAP_TRAMPOLINE): Define. | |
10562 | * builtins.c (expand_builtin_init_trampoline): Add onstack | |
10563 | parameter. Change caller. | |
10564 | (expand_builtin): Handle BUILT_IN_INIT_HEAP_TRAMPOLINE. | |
10565 | * tree.c (build_common_builtin_nodes): Declare | |
10566 | __builtin_init_heap_trampoline. | |
10567 | ||
2d86450c | 10568 | 2012-01-27 Georg-Johann Lay <avr@gjlay.de> |
10569 | ||
10570 | * config/avr/avr-protos.h (lpm_reg_rtx, lpm_addr_reg_rtx, | |
10571 | tmp_reg_rtx, zero_reg_rtx, all_regs_rtx, rampz_rtx): Make global. | |
10572 | * config/avr/avr.c: Ditto. | |
10573 | (avr_regnames): Remove because unused. | |
10574 | * config/avr/avr.md (*cpse.ne): New peephole. | |
10575 | (*cpse.eq): New peephole from former cpse peepholes. | |
10576 | ||
3542dbe2 | 10577 | 2012-01-27 Michael Eager <eager@eagercon.com> |
10578 | ||
10579 | * config/microblaze.c (microblaze_emit_compare): Correct | |
10580 | test after pcmp instruction. | |
10581 | ||
9d9e2a99 | 10582 | 2012-01-27 Richard Guenther <rguenther@suse.de> |
10583 | ||
10584 | PR tree-optimization/52020 | |
10585 | * tree-sra.c (sra_modify_assign): Do not transform clobbers. | |
10586 | ||
541c6dbb | 10587 | 2012-01-27 Richard Guenther <rguenther@suse.de> |
10588 | ||
10589 | * ipa-pure-const.c (check_stmt): Clobbers do not make a | |
10590 | function non-const/pure. | |
10591 | ||
25b3bbad | 10592 | 2012-01-27 Richard Guenther <rguenther@suse.de> |
10593 | ||
10594 | PR tree-optimization/50444 | |
10595 | * tree-sra.c (build_ref_for_offset): Properly adjust the | |
10596 | MEM_REF type for unaligned accesses. | |
10597 | ||
a598af2a | 10598 | 2012-01-27 Richard Guenther <rguenther@suse.de> |
10599 | ||
10600 | PR tree-optimization/50444 | |
10601 | * expr.c (mem_ref_refers_to_non_mem_p): New function. | |
10602 | (expand_assignment): Use it. Properly handle misaligned | |
10603 | bases when expanding stores to component references. | |
10604 | (expand_expr_real_1): Use mem_ref_refers_to_non_mem_p and | |
10605 | refactor that case. | |
10606 | ||
c7af8ae7 | 10607 | 2012-01-27 Andrey Belevantsev <abel@ispras.ru> |
10608 | ||
10609 | PR middle-end/51389 | |
10610 | * Makefile.in (tree-data-ref.o): Depend on $(PARAMS_H). | |
10611 | * tree-data-ref.h (find_data_references_in_loop): Remove declaration. | |
10612 | * tree-data-ref.c (find_data_references_in_loop): Make static. | |
10613 | (compute_all_dependences): Change return type to bool. Bail out | |
10614 | for too many datarefs in a loop. Move the hunk resetting the data | |
10615 | dependences vector from ... | |
10616 | (compute_data_dependences_for_loop): ... here. Account for | |
10617 | compute_all_dependences returning false. | |
10618 | (compute_data_dependences_for_bb): Likewise. | |
10619 | * params.def (PARAM_LOOP_MAX_DATAREFS_FOR_DATADEPS): New param. | |
10620 | * doc/invoke.texi (loop-max-datarefs-for-datadeps): Document it. | |
10621 | ||
3c089259 | 10622 | 2012-01-27 Richard Guenther <rguenther@suse.de> |
10623 | ||
10624 | PR middle-end/51959 | |
10625 | * expr.c (store_field): Use the alias-set of the scratch memory | |
10626 | for storing to it. | |
10627 | ||
8a19bda6 | 10628 | 2012-01-27 Tom de Vries <tom@codesourcery.com> |
10629 | ||
10630 | PR tree-optimization/51990 | |
669cf718 | 10631 | * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Handle |
10632 | WITH_SIZE_EXPR. | |
8a19bda6 | 10633 | * tree-ssa-pre.c (create_component_ref_by_pieces_1): Same. |
10634 | ||
0a35a733 | 10635 | 2012-01-27 Jakub Jelinek <jakub@redhat.com> |
10636 | ||
10637 | PR debug/52001 | |
10638 | * var-tracking.c (reverse_op): Don't add any reverse operation | |
10639 | if V already has any constant locations. | |
10640 | ||
95e413db | 10641 | 2012-01-27 Sandra Loosemore <sandra@codesourcery.com> |
10642 | ||
10643 | * doc/invoke.texi: Correct usage of "command line" (noun) | |
10644 | vs "command-line" (adjective) throughout. | |
10645 | ||
ec9e53f7 | 10646 | 2012-01-27 Sandra Loosemore <sandra@codesourcery.com> |
10647 | ||
10648 | * doc/invoke.texi (Language Independent Options): Move | |
10649 | -Wcoverage-mismatch blurb from here.... | |
10650 | (Warning Options): ...to here. | |
10651 | ||
7b3c2599 | 10652 | 2012-01-27 Peter Bergner <bergner@vnet.ibm.com> |
10653 | ||
10654 | * config/rs6000/rs6000.c (rs6000_option_override_internal): | |
10655 | Set rs6000_always_hint to false for 476. | |
10656 | ||
c5698d9f | 10657 | 2012-01-27 Matthias Klose <doko@ubuntu.com> |
10658 | ||
10659 | * gcc.c (add_sysrooted_prefix): Remove trailing dir separator from | |
10660 | system root. | |
10661 | * incpath.c (add_standard_paths): Likewise. | |
10662 | ||
2a967206 | 10663 | 2012-01-27 Richard Henderson <rth@redhat.com> |
10664 | ||
10665 | * config/m68k/m68k.c (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): New. | |
10666 | * config/m68k/sync.md (atomic_test_and_set): Rename from | |
10667 | sync_test_and_setqi and adjust the operands. | |
10668 | (atomic_test_and_set_1): Rename from sync_test_and_setqi_1 | |
10669 | and unconditionally enable. | |
10670 | ||
8481386e | 10671 | 2012-01-27 Richard Henderson <rth@redhat.com> |
10672 | ||
10673 | * config/sparc/sparc.c (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): New. | |
10674 | * config/sparc/sync.md (atomic_test_and_set): Only handle QImode. | |
10675 | (ldstub): Rename from ldstubqi. | |
10676 | (ldstub<I24MODE>): Remove. | |
10677 | ||
df1680c8 | 10678 | 2012-01-27 Richard Henderson <rth@redhat.com> |
10679 | ||
10680 | * target.def (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): New. | |
10681 | * c-cppbuiltin.c (cpp_atomic_builtins): Define | |
10682 | __GCC_ATOMIC_TEST_AND_SET_TRUEVAL. | |
10683 | * doc/tm.texi.in (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): Add doc hook. | |
10684 | * doc/tm.texi: Rebuild. | |
10685 | ||
ea17dfa7 | 10686 | 2012-01-27 Richard Henderson <rth@redhat.com> |
10687 | ||
10688 | * optabs.c (gen_atomic_test_and_set): Remove default. | |
10689 | (maybe_emit_atomic_test_and_set): Use maybe_expand_insn. | |
10690 | ||
7715a410 | 10691 | 2012-01-26 Jakub Jelinek <jakub@redhat.com> |
10692 | ||
10693 | PR rtl-optimization/51978 | |
669cf718 | 10694 | * ree.c (make_defs_and_copies_lists): Change set_pat type to const_rtx. |
7715a410 | 10695 | (combine_reaching_defs): Likewise. |
10696 | (struct re_info): Remove. | |
10697 | (add_removable_extension): Remove x and data arguments, | |
10698 | add insn, insn_list and def_map. Use the arguments directly | |
10699 | instead of using struct re_info. | |
10700 | (find_removable_extensions): Don't call add_removable_extension | |
10701 | through note_stores, instead just call it with single_set | |
10702 | result if non-NULL. | |
10703 | (find_and_remove_re): Pass curr_cand->expr instead of | |
669cf718 | 10704 | PATTERN (curr_cand->insn) as set_pat argument to combine_reaching_defs. |
7715a410 | 10705 | |
b74338cf | 10706 | 2012-01-26 Michael Matz <matz@suse.de> |
10707 | ||
10708 | PR tree-optimization/46590 | |
10709 | * cfgexpand.c: Revert last change (r183305). | |
10710 | * gimplify.c (gimplify_bind_expr): Add clobbers for all non-gimple | |
10711 | regs. | |
10712 | * tree-eh.c (cleanup_empty_eh): Try to optimize clobbers before | |
10713 | checking for emptiness. | |
10714 | ||
597cee6a | 10715 | 2012-01-26 Jakub Jelinek <jakub@redhat.com> |
10716 | ||
10717 | PR middle-end/51895 | |
10718 | * expr.c (expand_expr_real_1): Handle BLKmode MEM_REF of | |
10719 | non-addressable non-BLKmode base correctly. | |
10720 | ||
4b393c71 | 10721 | 2012-01-26 Michael Matz <matz@suse.de> |
10722 | ||
10723 | PR tree-optimization/48794 | |
10724 | * tree-eh.c (remove_unreachable_handlers_no_lp): Don't remove | |
10725 | regions referenced from RESX/EH_DISPATCH. | |
10726 | ||
abb9bd4b | 10727 | 2012-01-26 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
10728 | ||
10729 | * config/s390/s390.h: Make BRANCH_COST an option. | |
10730 | * config/s390/s390.opt: New option -mbranch-cost. | |
10731 | ||
e0f3ea3e | 10732 | 2012-01-26 Richard Henderson <rth@redhat.com> |
10733 | ||
10734 | Revert 2012-01-24 change: | |
10735 | * trans-mem.c (requires_barrier): Do not instrument thread local | |
10736 | variables and emit save/restore for them. | |
10737 | ||
1d5a3bac | 10738 | 2012-01-25 Jakub Jelinek <jakub@redhat.com> |
10739 | ||
10740 | PR middle-end/51986 | |
10741 | * sched-deps.c (sched_get_condition_with_rev_uncached): Don't test | |
10742 | for pat == 0. | |
10743 | ||
fb7bf3ef | 10744 | 2012-01-25 Richard Sandiford <rdsandiford@googlemail.com> |
10745 | ||
0788eaac | 10746 | * config/mips/mips.c (mips_small_data_pattern_1): Don't process |
10747 | ASM_OPERANDS. | |
fb7bf3ef | 10748 | |
590da9f2 | 10749 | 2012-01-25 Georg-Johann Lay <avr@gjlay.de> |
10750 | ||
10751 | PR target/49868 | |
10752 | Rename __pgm to __flash. | |
10753 | Rename __pgm1 to __flash1. | |
10754 | Rename __pgm2 to __flash2. | |
10755 | Rename __pgm3 to __flash3. | |
10756 | Rename __pgm4 to __flash4. | |
10757 | Rename __pgm5 to __flash5. | |
10758 | Rename __pgmx to __memx. | |
10759 | * doc/extend.texi (AVR Named Address Spaces) | |
10760 | Rename address space names as indicated above. | |
10761 | * config/avr/avr.c (avr_addrspace): Ditto. | |
10762 | ||
10763 | * config/avr/avr-protos.h | |
10764 | (avr_mem_pgmx_p): Rename to avr_mem_memx_p. | |
10765 | (avr_mem_pgm_p): Rename to avr_mem_flash_p. | |
10766 | * config/avr/predicates.md: Ditto. | |
10767 | * config/avr/avr.c Ditto, and | |
10768 | (avr_decl_pgmx_p): Rename to avr_decl_memx_p. | |
10769 | (avr_decl_pgm_p): Rename to avr_decl_flash_p. | |
10770 | ||
10771 | * config/avr/avr.h (ADDR_SPACE_PGM): Rename to ADDR_SPACE_FLASH. | |
10772 | (ADDR_SPACE_PGM1): Rename to ADDR_SPACE_FLASH1. | |
10773 | (ADDR_SPACE_PGM2): Rename to ADDR_SPACE_FLASH2. | |
10774 | (ADDR_SPACE_PGM3): Rename to ADDR_SPACE_FLASH3. | |
10775 | (ADDR_SPACE_PGM4): Rename to ADDR_SPACE_FLASH4. | |
10776 | (ADDR_SPACE_PGM5): Rename to ADDR_SPACE_FLASH5. | |
10777 | (ADDR_SPACE_PGMX): Rename to ADDR_SPACE_MEMX. | |
10778 | * config/avr/avr.c: Ditto. | |
10779 | * config/avr/avr.md: Ditto. | |
10780 | ||
807e0fc2 | 10781 | 2012-01-25 Jason Merrill <jason@redhat.com> |
10782 | ||
10783 | PR c++/51992 | |
10784 | * tree.c (find_decls_types_in_node): Walk gimple_call_fntype. | |
10785 | ||
e9156cad | 10786 | 2012-01-25 Jakub Jelinek <jakub@redhat.com> |
10787 | ||
10788 | PR tree-optimization/51987 | |
10789 | * tree-data-ref.c (get_references_in_stmt): Handle references in | |
10790 | non-volatile GIMPLE_ASM. | |
10791 | ||
f9f051a3 | 10792 | 2012-01-25 Richard Guenther <rguenther@suse.de> |
10793 | ||
10794 | * tree-ssa-sccvn.c (vn_reference_eq): Also compare if both | |
10795 | bases are dereferenced. | |
10796 | ||
2c622b2e | 10797 | 2012-01-25 Andrey Belevantsev <abel@ispras.ru> |
10798 | ||
10799 | PR rtl-optimization/48374 | |
669cf718 | 10800 | * sel-sched-ir.h (get_all_loop_exits): Check for zero successors. |
2c622b2e | 10801 | |
713f1f14 | 10802 | 2012-01-25 Andrey Belevantsev <abel@ispras.ru> |
10803 | ||
10804 | * tree-predcom.c (tree_predictive_commoning_loop): Bail out when | |
10805 | compute_data_dependences_for_loop returns false. | |
10806 | * tree-parloops.c (loop_parallel_p): Likewise. | |
10807 | ||
69fbc3aa | 10808 | 2012-01-25 Richard Guenther <rguenther@suse.de> |
10809 | ||
10810 | * tree.h (get_pointer_alignment_1): Declare. | |
10811 | * builtins.c (get_pointer_alignment_1): New function. | |
10812 | (get_pointer_alignment): Use it. | |
10813 | ||
eed2904a | 10814 | 2012-01-25 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
10815 | ||
10816 | PR rtl-optimization/48308 | |
10817 | * combine.c (enum undo_kind): Add UNDO_LINKS. | |
10818 | (struct undo): Add member l to other_contents and where. | |
10819 | (do_SUBST_LINK): New. | |
10820 | (SUBST_LINK): New. | |
10821 | (try_combine): Handle LOG_LINKS for the dummy i1 case. | |
10822 | (undo_all): Handle UNDO_LINKS. | |
10823 | ||
d7c18c60 | 10824 | 2012-01-25 Richard Henderson <rth@redhat.com> |
10825 | ||
10826 | * optabs.c (maybe_emit_atomic_test_and_set): Allow non-QImode | |
10827 | mem inputs. | |
10828 | ||
dc4461a1 | 10829 | 2012-01-24 Richard Sandiford <rdsandiford@googlemail.com> |
10830 | ||
10831 | * optabs.c (gen_atomic_test_and_set): Use each argument. | |
10832 | ||
11a9f55b | 10833 | 2012-01-24 Richard Sandiford <rdsandiford@googlemail.com> |
10834 | ||
10835 | * config/mips/mips-ps-3d.md (mips_addr_ps, reduc_splus_v2sf) | |
10836 | (mips_cvt_pw_ps, mips_cvt_ps_pw, mips_mulr_ps, mips_cabs_cond_<fmt>) | |
10837 | (mips_cabs_cond_4s, mips_cabs_cond_ps, bc1any4t, bc1any4f, bc1any2t) | |
10838 | (bc1any2f, mips_rsqrt1_<fmt>, mips_rsqrt2_<fmt>, mips_recip1_<fmt>) | |
10839 | (mips_recip2_<fmt>): Require TARGET_MIPS3D rather than | |
10840 | TARGET_PAIRED_SINGLE_FLOAT. | |
10841 | ||
402f6a9e | 10842 | 2012-01-24 Richard Sandiford <rdsandiford@googlemail.com> |
10843 | ||
10844 | * doc/rtl.texi (MEM_IN_STRUCT_P, MEM_SCALAR_P): Delete. | |
10845 | (in_struct, return_val): Remove MEM documentation. | |
10846 | * rtl.h (rtx_def): Remove MEM meanings from in_struct and return_val. | |
10847 | (MEM_IN_STRUCT_P, MEM_SCALAR_P): Delete. | |
10848 | (MEM_COPY_ATTRIBUTES): Remove references to MEM_IN_STRUCT_P | |
10849 | and MEM_SCALAR. | |
10850 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise. | |
10851 | * cfgexpand.c (add_alias_set_conflicts): Likewise. | |
10852 | * expr.c (store_field): Likewise. | |
10853 | * function.c (assign_stack_temp_for_type): Likewise. | |
10854 | * ifcvt.c (noce_try_cmove_arith): Likewise. | |
10855 | * reload1.c (reload): Likewise. | |
10856 | * config/alpha/alpha.c (alpha_set_memflags_1): Likewise. | |
10857 | (alpha_set_memflags): Likewise. | |
10858 | * config/m32c/m32c.c (m32c_immd_dbl_mov): Nullify. | |
10859 | ||
376a287d | 10860 | 2012-01-24 Richard Sandiford <rdsandiford@googlemail.com> |
10861 | ||
10862 | * rtl.h (true_dependence, canon_true_dependence): Remove varies | |
10863 | parameter. | |
10864 | * alias.c (fixed_scalar_and_varying_struct_p): Delete. | |
10865 | (true_dependence_1, write_dependence_p, may_alias_p): Don't call it. | |
10866 | (true_dependence_1, true_dependence, canon_true_dependence): Remove | |
10867 | varies parameter. | |
10868 | * cselib.c (cselib_rtx_varies_p): Delete. | |
10869 | (cselib_invalidate_mem): Update call to canon_true_dependence. | |
10870 | * dse.c (record_store, check_mem_read_rtx): Likewise. | |
10871 | (scan_reads_nospill): Likewise. | |
10872 | * cse.c (check_dependence): Likewise. | |
10873 | (cse_rtx_varies_p): Delete. | |
10874 | * expr.c (safe_from_p): Update call to true_dependence. | |
10875 | * ira.c (validate_equiv_mem_from_store): Likewise. | |
10876 | (memref_referenced_p): Likewise. | |
10877 | * postreload-gcse.c (find_mem_conflicts): Likewise. | |
10878 | * sched-deps.c (sched_analyze_2): Likewise. | |
10879 | * store-motion.c (load_kills_store): Likewise. | |
10880 | * config/frv/frv.c (frv_registers_conflict_p_1): Likewise. | |
10881 | * gcse.c (mems_conflict_for_gcse_p): Likewise. | |
10882 | (compute_transp): Update call to canon_true_dependence. | |
10883 | ||
39ca90d5 | 10884 | 2012-01-25 Richard Henderson <rth@redhat.com> |
10885 | ||
10886 | * optabs.c (CODE_FOR_atomic_test_and_set): Provide default. | |
10887 | (maybe_emit_atomic_test_and_set): New. | |
10888 | (expand_sync_lock_test_and_set): Use it. | |
10889 | (expand_atomic_test_and_set): Likewise. | |
10890 | * doc/extend.texi (__atomic_test_and_set): Adjust the docs to match | |
10891 | the implementation; clarify implementation defined details. | |
10892 | * doc/md.texi (atomic_test_and_set): Document. | |
10893 | ||
803dea20 | 10894 | 2012-01-25 Richard Henderson <rth@redhat.com> |
10895 | ||
10896 | * config/sparc/predicates.md (zero_or_v7_operand): Use match_code. | |
10897 | ||
256897f4 | 10898 | 2012-01-25 Richard Henderson <rth@redhat.com> |
10899 | ||
10900 | PR target/51968 | |
10901 | * config/arm/arm.c (neon_split_vcombine): Emit deleted note | |
10902 | to effect no-op split. | |
10903 | ||
9eb529b8 | 10904 | 2012-01-24 Aldy Hernandez <aldyh@redhat.com> |
10905 | ||
10906 | PR lto/51698 | |
10907 | * builtin-types.def: (BT_CONST_DOUBLE_PTR): New. | |
10908 | (BT_FN_VOID_PTR_CONST_PTR_SIZE): New. | |
10909 | (BT_FN_VOID_PTR_INT_SIZE): New. | |
10910 | (BT_FN_UINT_UINT_VAR): Remove. | |
10911 | (BT_FN_UINT32_UINT32_VAR): New. | |
10912 | (BT_FN_DOUBLE_VPTR): Remove. | |
10913 | (BT_FN_DOUBLE_CONST_DOUBLE_PTR): New. | |
10914 | ||
669cf718 | 10915 | * gtm-builtins.def (_ITM_abortTransaction): Set return type to void. |
9eb529b8 | 10916 | (_ITM_changeTransactionMode): Same. |
10917 | (_ITM_memmoveRtWt): Change return type to void. | |
10918 | (_ITM_memcpyRtWt): Same. | |
10919 | (_ITM_memsetW): Same. | |
10920 | (_ITM_RaRD): Change types to double. | |
10921 | (_ITM_RD): Same. | |
10922 | (_ITM_RaWD): Same. | |
10923 | (_ITM_RfWD): Same. | |
10924 | ||
10925 | * builtins.def (DEF_TM_BUILTIN): Set BOTH_P to true. | |
10926 | ||
5db3f9d5 | 10927 | 2012-01-24 Aldy Hernandez <aldyh@redhat.com> |
10928 | Patrick Marlier <patrick.marlier@gmail.com> | |
10929 | ||
10930 | * trans-mem.c (requires_barrier): Do not instrument thread local | |
10931 | variables and emit save/restore for them. | |
10932 | ||
07828d90 | 10933 | 2012-01-24 Jason Merrill <jason@redhat.com> |
10934 | ||
10935 | PR c++/51812 | |
10936 | * cgraphunit.c (cgraph_decide_is_function_needed): Don't always | |
10937 | output static aliases. | |
10938 | ||
1412b935 | 10939 | 2012-01-24 Jakub Jelinek <jakub@redhat.com> |
10940 | ||
10941 | PR driver/47249 | |
10942 | * common.opt (-pie, -shared, pie, shared): Change from Common to | |
10943 | Driver. | |
10944 | * gcc.c (display_help): Display help for -pie and -shared. | |
10945 | ||
6ee532ba | 10946 | 2012-01-24 Georg-Johann Lay <avr@gjlay.de> |
10947 | ||
10948 | PR target/49868 | |
10949 | * doc/extend.texi (AVR Named Address Spaces): Move sample code up. | |
10950 | Remove note on size/offset limitation. | |
10951 | (AVR Variable Attributes): Add example how to read data located | |
10952 | with progmem. Refer to named address spaces. | |
10953 | * doc/invoke.texi (AVR Options): Fix typo. | |
10954 | ||
7f295214 | 10955 | 2012-01-24 Richard Guenther <rguenther@suse.de> |
10956 | ||
10957 | Forward-port to trunk | |
10958 | 2010-09-21 Jakub Jelinek <jakub@redhat.com> | |
10959 | ||
10960 | PR middle-end/45678 | |
10961 | * expr.c (expand_expr_real_1) <case VIEW_CONVERT_EXPR>: If | |
10962 | op0 isn't sufficiently aligned and there is movmisalignM | |
10963 | insn for mode, use it to load op0 into a temporary register. | |
10964 | ||
202e7097 | 10965 | 2012-01-24 Jakub Jelinek <jakub@redhat.com> |
10966 | ||
10967 | PR target/51957 | |
10968 | * target.def (const_not_ok_for_debug_p): New hook. | |
10969 | * doc/tm.texi.in (TARGET_CONST_NOT_OK_FOR_DEBUG_P): New hook | |
10970 | documentation. | |
10971 | * doc/tm.texi: Regenerated. | |
10972 | * dwarf2out.c (const_ok_for_output_1): If | |
10973 | targetm.const_not_ok_for_debug_p returns true, fail. | |
10974 | * config/rs6000/rs6000.c (rs6000_const_not_ok_for_debug_p): New | |
10975 | function. | |
10976 | (TARGET_CONST_NOT_OK_FOR_DEBUG_P): Redefine. | |
10977 | ||
c96c9817 | 10978 | 2012-01-23 Kai Tietz <ktietz@redhat.com> |
10979 | ||
10980 | PR target/51900 | |
10981 | * config/i386/predicates.md (symbolic_operand): Allow | |
10982 | UNSPEC_PCREL as PIC expression for lea. | |
10983 | * config/i386/winnt.c (i386_pe_binds_local_p): Reworked. | |
10984 | * config/i386/i386.c (ix86_delegitimize_address): Handle | |
10985 | UNSPEC_PCREL for none-MEM, too. | |
10986 | ||
caf29404 | 10987 | 2012-01-23 Aldy Hernandez <aldyh@redhat.com> |
10988 | ||
10989 | * trans-mem.c (ipa_tm_create_version): Set externally_visible. | |
10990 | (ipa_tm_create_version_alias): Same. | |
10991 | ||
669cf718 | 10992 | 2012-01-23 Uros Bizjak <ubizjak@gmail.com> |
be83ebf7 | 10993 | |
10994 | PR libitm/51830 | |
10995 | * builtin-types.def (BT_FN_UINT_UINT_VAR): New. | |
10996 | * gtm-builtins.def (BUILT_IN_TM_START): Declare as BT_FN_UINT_UINT_VAR. | |
10997 | ||
38fe0c89 | 10998 | 2012-01-23 Aldy Hernandez <aldyh@redhat.com> |
10999 | Patrick Marlier <patrick.marlier@gmail.com> | |
11000 | Iain Sandoe <developer@sandoe-acoustics.co.uk> | |
11001 | ||
11002 | PR lto/51916 | |
11003 | * lto-wrapper.c (run_gcc): Pass the LTO section name to | |
11004 | simple_object_start_read. | |
11005 | ||
b94ae734 | 11006 | 2012-01-23 Richard Guenther <rguenther@suse.de> |
11007 | ||
38fe0c89 | 11008 | |
b94ae734 | 11009 | PR tree-optimization/51895 |
11010 | * tree-sra.c (decide_one_param_reduction): Avoid sub-optimal | |
11011 | parameter decomposition into BLKmode components. | |
11012 | ||
bd57fdff | 11013 | 2012-01-23 Eric Botcazou <ebotcazou@adacore.com> |
11014 | ||
11015 | * tree-ssa-structalias.c (intra_create_variable_infos): Do not create | |
11016 | fake variables for restrict-qualified pointers whose pointed-to type | |
11017 | contains a placeholder. | |
11018 | ||
f3941af5 | 11019 | 2012-01-23 Richard Guenther <rguenther@suse.de> |
11020 | ||
11021 | PR tree-optimization/51949 | |
be83ebf7 | 11022 | * ipa-split.c (execute_split_functions): Do not split malloc functions. |
f3941af5 | 11023 | |
6bd23a69 | 11024 | 2012-01-23 Jakub Jelinek <jakub@redhat.com> |
11025 | ||
11026 | PR rtl-optimization/51933 | |
11027 | * ree.c (transform_ifelse): Return true right away if dstreg is | |
11028 | already wider or equal to cand->mode. | |
11029 | (enum ext_modified_kind, struct ext_modified, ext_state): New types. | |
11030 | (make_defs_and_copies_lists): Remove defs_list and copies_list | |
11031 | arguments, add state argument, just truncate state->work_list | |
11032 | instead of always allocating and freeing the vector. Assert that | |
be83ebf7 | 11033 | get_defs succeeds instead of returning 2. Changed return type to bool. |
6bd23a69 | 11034 | (merge_def_and_ext): Add state argument. If SET_DEST doesn't |
11035 | have ext_src_mode, see if it has been modified already with the | |
11036 | right kind of extension and has been extended before from the | |
11037 | ext_src_mode. If SET_DEST is already wider or equal to cand->mode, | |
be83ebf7 | 11038 | just return true. Remember the original mode in state->modified array. |
6bd23a69 | 11039 | (combine_reaching_defs): Add state argument. Don't allocate and |
11040 | free here def_list, copied_list and vec vectors, instead just | |
be83ebf7 | 11041 | VEC_truncate the vectors in *state. Don't handle outcome == 2 here. |
6bd23a69 | 11042 | (find_and_remove_re): Set DF_DEFER_INSN_RESCAN df flag. |
11043 | Add state variable, clear vectors in it, initialize state.modified | |
11044 | if needed. Free all the vectors at the end and state.modified too. | |
11045 | Don't skip a candidate if the extension expression has been modified. | |
11046 | ||
af8e12d0 | 11047 | 2012-01-22 Douglas B Rupp <rupp@gnat.com> |
11048 | ||
11049 | PR target/47096 | |
11050 | * config.gcc: (i[34567]86-*-interix3*): Remove from obsolete | |
11051 | configurations. Change triplet to i[34567]86-*-interix[3-9]*. | |
11052 | (extra_options) interix.opt -> i386/interix.opt" | |
11053 | (extra_objs):Add winnt-stubs.o | |
11054 | * configure.ac: Add interix to target_os .comm on PE check. | |
11055 | * configure: Regenerate. | |
11056 | * config/interix3.h: Delete and move bits to.. | |
11057 | * config/interix.h: Delete and move bits to.. | |
11058 | * config/i386/i386-interix3.h: Delete and move bits to.. | |
11059 | * config/i386/i386-interix.h: ..here. | |
11060 | (TARGET_CPU_DEFAULT): Remove redefinition. | |
11061 | (TARGET_ASM_CONSTRUCTOR): Undefine. | |
11062 | (SUBTARGET_SWITCHES): Define for ms-bitfields. | |
11063 | (TARGET_OS_CPP_BUILTINS): Remove __OPENNT. Add __declspec. | |
11064 | (PTRDIFF_TYPE): Define. | |
11065 | (LONG_DOUBLE_TYPE_SIZE): Define. | |
11066 | (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define. | |
11067 | (SUBTARGET_OVERRIDE_OPTIONS): Remove. | |
11068 | (TARGET_SECTION_TYPE_FLAGS): Define. | |
11069 | (ASM_DECLARE_FUNCTION_NAME): Define. | |
11070 | (ASM_OUTPUT_EXTERNAL): Define. | |
11071 | (ASM_OUTPUT_EXTERNAL_LIBCALL): Define. | |
11072 | (ASM_OUTPUT_ALIGNED_BSS): Define. | |
11073 | (PCC_BITFIELD_TYPE_MATTERS): Define. | |
11074 | (USE_CONST_SECTION): Define. | |
11075 | (SUBTARGET_ENCODE_SECTION_INFO): Remove. | |
11076 | (TARGET_ASM_FUNCTION_RODATA_SECTION): Remove. | |
11077 | (SUPPORTS_ONE_ONLY): Remove. | |
11078 | (I386_PE_STRIP_ENCODING): Define. | |
11079 | * config/interix.opt: Delete and move bits to.. | |
11080 | * config/i386/interix.opt: ..here. New. | |
11081 | (mpe-aligned-commons): Add. | |
11082 | * config/i386/t-interix: Add copyright header. | |
11083 | (winnt-stubs.o): Add rule. | |
11084 | ||
e87b587e | 11085 | 2012-01-22 Jason Merrill <jason@redhat.com> |
11086 | ||
11087 | PR c++/51832 | |
11088 | * varpool.c (varpool_analyze_pending_decls): Copy DECL_EXTERNAL | |
11089 | for extra name aliases. | |
11090 | ||
4a77f173 | 11091 | 2012-01-22 Eric Botcazou <ebotcazou@adacore.com> |
11092 | ||
11093 | PR rtl-optimization/51924 | |
11094 | * ree.c (combine_set_extension): Improve debugging message. | |
11095 | (combine_reaching_defs): Likewise. | |
11096 | (get_defs): Rename confusingly named variable. | |
11097 | (find_and_remove_re): Skip a candidate if the extension expression has | |
11098 | been modified. | |
11099 | ||
e351cc52 | 11100 | 2012-01-21 Robert Millan <rmh@gnu.org> |
11101 | Gerald Pfeifer <gerald@pfeifer.com> | |
11102 | ||
11103 | * config/kfreebsd-gnu.h (GNU_USER_DYNAMIC_LINKERX32): New macro. | |
11104 | (GNU_USER_DYNAMIC_LINKER): Adjust indentation. | |
11105 | ||
3991e956 | 11106 | 2012-01-20 Jakub Jelinek <jakub@redhat.com> |
11107 | ||
11108 | PR tree-optimization/51914 | |
11109 | * tree-vect-stmts.c (vectorizable_conversion): For | |
11110 | cvt_type && modifier == WIDEN, put temporary with cvt_type | |
11111 | at the beginning of vec_dsts and set vec_dest to temporary | |
11112 | with vectype_out. | |
11113 | ||
4c2112a3 | 11114 | 2012-01-20 Eric Botcazou <ebotcazou@adacore.com> |
11115 | ||
11116 | * cfgrtl.c (rtl_dump_bb): Do not dump insns for {ENTRY|EXIT}_BLOCK. | |
11117 | ||
9492fb06 | 11118 | 2011-01-20 Tijl Coosemans <tijl@coosemans.org> |
11119 | ||
11120 | * config/i386/i386.c: Fix checks for !TARGET_MACHO. | |
11121 | * config/rs6000/rs6000.c: Likewise. | |
11122 | ||
40053ccb | 11123 | 2012-01-20 Jakub Jelinek <jakub@redhat.com> |
11124 | ||
11125 | PR target/51915 | |
11126 | * config/arm/arm.c (arm_count_output_move_double_insns): Call | |
11127 | output_move_double on a copy of operands array. | |
11128 | ||
be83ebf7 | 11129 | 2012-01-20 Cary Coutant <ccoutant@google.com> |
11130 | Dodji Seketeli <dodji@redhat.com> | |
946ae316 | 11131 | |
11132 | PR debug/45682 | |
11133 | * dwarf2out.c (copy_declaration_context): Return ref to parent | |
11134 | of declaration DIE, if necessary. | |
11135 | (remove_child_or_replace_with_skeleton): Add new parameter; update | |
11136 | caller. Place skeleton DIE under parent DIE of original declaration. | |
11137 | Move call to copy_declaration_context to here ... | |
11138 | (break_out_comdat_types): ... from here. | |
11139 | ||
2bfb4f13 | 11140 | 2012-01-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
11141 | ||
11142 | PR rtl-optimization/51856 | |
11143 | * reload.c (find_reloads_subreg_address): Set the address_reloaded | |
11144 | flag to reloaded. | |
11145 | ||
093defc8 | 11146 | 2012-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
11147 | ||
11148 | PR target/51819 | |
11149 | * config/arm/arm.c (arm_print_operand): Correct output of alignment | |
11150 | hints for neon loads and stores. | |
11151 | ||
8516b1c4 | 11152 | 2012-01-20 Georg-Johann Lay <avr@gjlay.de> |
11153 | ||
11154 | PR target/49868 | |
11155 | PR target/50887 | |
11156 | * doc/extend.texi (Named Address Spaces): Split into subsections. | |
11157 | (AVR Named Address Spaces): New subsection. | |
11158 | (M32C Named Address Spaces): New subsection. | |
11159 | (RL78 Named Address Spaces): New subsection. | |
11160 | (SPU Named Address Spaces): New subsection. | |
11161 | (Variable Attributes): New anchor "AVR Variable Attributes". | |
11162 | (AVR Variable Attributes): Rewrite and avoid wording | |
11163 | "address space" in this context. | |
11164 | * doc/invoke.texi (AVR Options): Rewrite and add documentation | |
11165 | for -maccumulate-args, -mbranch-cost=, -mrelax, -mshort-calls. | |
11166 | (AVR Built-in Macros): New subsubsection therein. | |
11167 | * doc/md.texi (AVR constraints): Remove "C04", "R". | |
11168 | ||
173bd570 | 11169 | 2012-01-20 Richard Guenther <rguenther@suse.de> |
11170 | ||
11171 | PR tree-optimization/51903 | |
11172 | * tree-ssa-pre.c (eliminate): Properly purging of EH edges | |
11173 | when removing stmts. | |
11174 | ||
350ccca5 | 11175 | 2012-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
11176 | ||
11177 | PR target/50313 | |
11178 | * config/arm/arm.c (arm_load_pic_register): Use | |
11179 | gen_pic_load_addr_unified. Delete calls to gen_pic_load_addr_32bit | |
11180 | , gen_pic_add_dot_plus_eight and gen_pic_add_dot_plus_four. | |
11181 | (arm_pic_static_addr): Likewise. | |
11182 | (arm_rtx_costs_1): Adjust cost for UNSPEC_PIC_UNIFIED. | |
11183 | (arm_note_pic_base): Handle UNSPEC_PIC_UNIFIED. | |
11184 | * config/arm/arm.md (UNSPEC_PIC_UNIFIED): Define. | |
11185 | (pic_load_addr_unified): New. | |
11186 | ||
fb10e416 | 11187 | 2012-01-20 Andrey Belevantsev <abel@ispras.ru> |
11188 | ||
11189 | PR target/51106 | |
11190 | * function.c (instantiate_virtual_regs_in_insn): Use | |
11191 | delete_insn_and_edges when removing a wrong asm insn. | |
11192 | ||
9f8ac546 | 11193 | 2012-01-19 Vladimir Makarov <vmakarov@redhat.com> |
11194 | ||
11195 | PR rtl-optimization/40761 | |
be83ebf7 | 11196 | * ira-int.h (struct ira_loop_tree_node): Add comment for member loop. |
11197 | Add new member loop_num. | |
9f8ac546 | 11198 | (IRA_LOOP_NODE_BY_INDEX): Modify the check. |
11199 | (ira_build): Remove the parameter. | |
11200 | ||
be83ebf7 | 11201 | * ira.c (ira_print_disposition): Use loop_num instead of loop->num. |
9f8ac546 | 11202 | (ira.c): Do not build CFG loops for one region allocation. Remove |
11203 | argument from ira_build call. | |
11204 | ||
11205 | * ira-build.c (init_loop_tree_node): New function. | |
11206 | (create_loop_tree_nodes): Use it. Separate the case when CFG | |
11207 | loops are not built. | |
11208 | (more_one_region_p): Check current_loops. | |
11209 | (finish_loop_tree_nodes): Separate the case when CFG loops are not | |
11210 | built. | |
11211 | (add_loop_to_tree): Process loop equal to NULL too. | |
11212 | (form_loop_tree): Separate the case when CFG loops are not built. | |
11213 | Use explicitly number for the root. | |
11214 | (rebuild_regno_allocno_maps, create_loop_tree_node_allocnos): Add | |
11215 | an assertion. | |
11216 | (ira_print_expanded_allocno, loop_compare_func): Use loop_num | |
11217 | instead of loop->num. | |
be83ebf7 | 11218 | (mark_loops_for_removal): Ditto. Use loop_num instead of loop->num. |
9f8ac546 | 11219 | (mark_all_loops_for_removal): Ditto. |
11220 | (remove_unnecessary_regions): Separate the case when CFG loops | |
11221 | are not built. | |
11222 | (ira_build): Remove the parameter. Use explicit number of regions | |
11223 | when CFG loops are not built. | |
11224 | ||
be83ebf7 | 11225 | * ira-color.c (print_loop_title): Separate the case for the root node. |
11226 | Use loop_num instead of loop->num. | |
9f8ac546 | 11227 | (move_spill_restore): Use loop_num instead of loop->num. |
11228 | ||
11229 | * ira-emit.c (setup_entered_from_non_parent_p): Add an assertion. | |
11230 | (change_loop): Ditto. | |
11231 | (change_loop): Use loop_num instead of loop->num. | |
11232 | ||
11233 | * ira-lives.c (process_bb_node_lives): Ditto. | |
11234 | ||
be83ebf7 | 11235 | * ira-costs.c (print_allocno_costs, find_costs_and_classes): Ditto. |
9f8ac546 | 11236 | |
11237 | * ira-conflicts.c (print_allocno_conflicts): Ditto. | |
11238 | ||
042161e8 | 11239 | 2012-01-19 Jakub Jelinek <jakub@redhat.com> |
11240 | ||
8c1094a6 | 11241 | PR libmudflap/40778 |
11242 | * tree-mudflap.c (mf_artificial): New function. | |
11243 | (execute_mudflap_function_ops, execute_mudflap_function_decls, | |
11244 | mx_register_decls, mudflap_enqueue_decl): Use it. | |
11245 | ||
042161e8 | 11246 | PR target/51876 |
11247 | * config/arm/neon.md (*neon_vswp<mode>): Fix up operand | |
11248 | numbers in the insn pattern. | |
11249 | ||
c729109b | 11250 | 2012-01-19 Michael Matz <matz@suse.de> |
11251 | ||
11252 | PR tree-optimization/46590 | |
11253 | * cfgexpand.c (add_scope_conflicts_1): New old_conflicts argument, | |
11254 | use it in remembering which conflicts we already created. | |
11255 | (add_scope_conflicts): Adjust call to above, (de)allocate helper | |
11256 | bitmap. | |
11257 | ||
50f418ca | 11258 | 2012-01-19 Aldy Hernandez <aldyh@redhat.com> |
11259 | ||
11260 | PR lto/51280 | |
11261 | * lto-wrapper.c (run_gcc): Pass -fgnu_tm on. | |
11262 | (merge_and_complain): Same. | |
11263 | ||
35f51475 | 11264 | 2012-01-19 Jakub Jelinek <jakub@redhat.com> |
11265 | ||
11266 | PR bootstrap/50237 | |
11267 | * config/initfini-array.h: Guard content of the header | |
11268 | with #ifdef HAVE_INITFINI_ARRAY. | |
11269 | * configure.ac: Move gcc_AC_INITFINI_ARRAY much later into the file. | |
11270 | Add initfini-array.h to tm_file here. | |
be83ebf7 | 11271 | * acinclude.m4 (gcc_AC_INITFINI_ARRAY): For non-ia64 do a linker test. |
35f51475 | 11272 | * config.gcc: Don't add initfini-array.h to tm_file here. |
11273 | * configure: Regenerated. | |
11274 | ||
11275 | 2012-01-19 Andrey Belevantsev <abel@ispras.ru> | |
918fbeb3 | 11276 | |
11277 | PR rtl-optimization/51505 | |
11278 | * df-problems.c (df_kill_notes): New parameter live. Update comment. | |
11279 | Remove REG_EQUAL/REG_EQUIV notes referring to dead registers. | |
be83ebf7 | 11280 | (df_note_bb_compute): Update the call to df_kill_notes. |
918fbeb3 | 11281 | |
3c8b8a41 | 11282 | 2012-01-18 Aldy Hernandez <aldyh@redhat.com> |
11283 | ||
11284 | * trans-mem.c (requires_barrier): Remove call to is_global_var. | |
11285 | ||
561ee8fc | 11286 | 2012-01-18 Richard Guenther <rguenther@suse.de> |
11287 | ||
11288 | * tree-ssa.c (useless_type_conversion_p): Remove special-casing | |
11289 | of conversions to void *. | |
11290 | ||
4d18c297 | 11291 | 2012-01-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
11292 | Richard Sandiford <rdsandiford@googlemail.com> | |
11293 | ||
11294 | PR middle-end/50325 | |
11295 | PR middle-end/51192 | |
11296 | * optabs.h (simplify_expand_binop): Declare. | |
11297 | * optabs.c (simplify_expand_binop): Make global. | |
11298 | * expmed.c (store_bit_field_1): Use simplify_expand_binop on big | |
11299 | endian targets if the source cannot be exactly covered by word | |
11300 | mode chunks. | |
11301 | ||
2e851bb8 | 11302 | 2012-01-17 Jakub Jelinek <jakub@redhat.com> |
11303 | ||
11304 | PR bootstrap/51872 | |
11305 | * hard-reg-set.h (struct hard_reg_set_container): New type. | |
11306 | * target.h (struct hard_reg_set_container): Forward declare. | |
11307 | * target.def (set_up_by_prologue): New target hook. | |
11308 | * doc/tm.texi.in (TARGET_SET_UP_BY_PROLOGUE): Document it. | |
11309 | * doc/tm.texi: Regenerated. | |
11310 | * function.c (thread_prologue_and_epilogue_insns): Change | |
11311 | set_up_by_prologue HARD_REG_SET into struct hard_reg_set_container. | |
11312 | Call targetm.set_up_by_prologue on it. | |
11313 | * config/rs6000/rs6000.c (rs6000_set_up_by_prologue): New function. | |
11314 | (TARGET_SET_UP_BY_PROLOGUE): Redefine to it. | |
11315 | ||
f35edb6f | 11316 | 2012-01-17 Nick Clifton <nickc@redhat.com> |
11317 | ||
11318 | * config/rx/rx.c (rx_can_use_simple_return): New function. | |
11319 | * config/rx/rx-protos.h (rx_can_use_simple_return): Prototype. | |
11320 | * config/rx/rx.md (return): Predicate on rx_can_use_simple_return. | |
11321 | ||
1211c450 | 11322 | 2012-01-17 Richard Guenther <rguenther@suse.de> |
11323 | ||
11324 | PR middle-end/51782 | |
11325 | * expr.c (expand_assignment): Take address-space information | |
11326 | from the address operand of MEM_REF and TARGET_MEM_REF. | |
11327 | (expand_expr_real_1): Likewise. | |
11328 | ||
59157d8c | 11329 | 2012-01-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
11330 | ||
11331 | * ira.c (do_reload): Make sure ira_dump_file is re-set if no | |
11332 | reload dump is requested. | |
11333 | ||
d6ded716 | 11334 | 2012-01-17 Aldy Hernandez <aldyh@redhat.com> |
11335 | ||
11336 | PR other/51165 | |
11337 | * trans-mem.c (requires_barrier): Call may_be_aliased. | |
11338 | ||
87af2d00 | 11339 | 2012-01-17 Jakub Jelinek <jakub@redhat.com> |
11340 | ||
11341 | PR tree-optimization/51877 | |
11342 | * tree-ssa-tail-merge.c (gimple_equal_p): Don't return true whenever | |
11343 | call arguments and fndecls compare equal, instead return false if they | |
11344 | don't. Return true only if lhs1 and lhs2 are either both NULL, or | |
11345 | both SSA_NAMEs that are valueized the same, or they satisfy | |
11346 | operand_equal_p. | |
11347 | ||
dfeb8a07 | 11348 | 2012-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11349 | ||
11350 | * configure.ac (gcc_cv_target_dl_iterate_phdr): Only check on | |
11351 | Solaris 11+. | |
11352 | * configure: Regenerate. | |
11353 | ||
4470b8f6 | 11354 | 2012-01-16 Jan Hubicka <jh@suse.cz> |
11355 | ||
11356 | PR c/12245 | |
11357 | PR c++/14179 | |
11358 | * convert.c (convert_to_integer): Use fold_convert for | |
11359 | converting an INTEGER_CST to integer type. | |
11360 | ||
0ecef4a2 | 11361 | 2012-01-16 Jason Merrill <jason@redhat.com> |
11362 | ||
11363 | PR c++/14179 | |
11364 | * vec.c (vec_gc_o_reserve_1): Use ggc_round_alloc_size. | |
11365 | ||
0c41699c | 11366 | 2012-01-16 Jakub Jelinek <jakub@redhat.com> |
11367 | ||
414bc417 | 11368 | PR bootstrap/51860 |
11369 | * config/s390/s390.c (s390_chunkify_start): Don't skip | |
11370 | call insns followed by NOTE_INSN_CALL_ARG_LOCATION note. Skip | |
11371 | NOTE_INSN_VAR_LOCATION and NOTE_INSN_CALL_ARG_LOCATION notes. | |
11372 | If insn is followed by NOTE_INSN_VAR_LOCATION or | |
11373 | NOTE_INSN_CALL_ARG_LOCATION notes, insert jump after all those notes. | |
11374 | Don't use location of note insns. | |
11375 | ||
0c41699c | 11376 | PR tree-optimization/51865 |
11377 | * tree-inline.c (tree_function_versioning): Call remap_decl | |
11378 | on DECL_RESULT whenever it has VOID_TYPE_P type. | |
11379 | ||
1f873db2 | 11380 | 2012-01-15 Richard Sandiford <rdsandiford@googlemail.com> |
11381 | ||
11382 | * config/mips/mips.c (mips16_build_call_stub): Don't use a stub | |
11383 | for calls to locally-binding MIPS16 functions if only the return | |
11384 | type uses float regs. | |
11385 | ||
a657080a | 11386 | 2012-01-15 Chung-Lin Tang <cltang@codesourcery.com> |
11387 | Richard Sandiford <rdsandiford@googlemail.com> | |
11388 | ||
11389 | * config/mips/mips-protos.h (SYMBOL_FORCE_TO_MEM): Delete. | |
11390 | (SYMBOL_32_HIGH): Likewise. | |
11391 | (mips_output_tls_reloc_directive): Declare. | |
11392 | * config/mips/mips.h (PIC_FUNCTION_ADDR_REGNUM): Move to mips.md. | |
11393 | (mips_use_pcrel_pool_p, mips_lo_relocs, mips_hi_relocs): Declare. | |
11394 | * config/mips/mips.c (mips_use_pcrel_pool_p): New variable. | |
11395 | (mips_lo_relocs, mips_hi_relocs): Make extern. | |
11396 | (mips16_stub_function): Move up file. | |
11397 | (mips_classify_symbol): Remove SYMBOL_FORCE_TO_MEM handling. | |
11398 | (mips_symbolic_constant_p): Likewise. Remove SYMBOL_32_HIGH too. | |
11399 | (mips_symbol_insns_1): Likewise. Check mips_use_pcrel_pool_p. | |
be83ebf7 | 11400 | (mips_cannot_force_const_mem): Use mips_use_pcrel_pool_p instead of |
11401 | SYMBOL_FORCE_TO_MEM. Only check mips_tls_symbol_ref_1 if it's false. | |
a657080a | 11402 | (mips_get_tp): Add MIPS16 support. |
11403 | (mips_legitimize_tls_address): Remove MIPS16 sorry(). | |
11404 | Generalize DTPREL and TPREL handling. | |
11405 | (mips_init_relocs): Initialize mips_use_pcrel_pool_p. | |
11406 | Add MIPS16 TLS support. | |
11407 | (mips_output_tls_reloc_directive): New function. | |
11408 | (mips16_rewrite_pool_refs): Ignore UNSPEC_TLS_GET_TPs. | |
11409 | * config/mips/predicates.md (symbolic_operand_with_high) | |
11410 | (tls_reloc_operand): New predicates. | |
11411 | (force_to_mem_operand): Use mips_use_pcrel_pool_p. | |
11412 | * config/mips/mips.md (UNSPEC_UNSHIFTED_HIGH): New unspec. | |
11413 | (PIC_FUNCTION_ADDR_REGNUM): Moved from mips.h. | |
be83ebf7 | 11414 | (*unshifted_high): New instruction. Use it for MIPS16 high splitter. |
a657080a | 11415 | (consttable_tls_reloc, tls_get_tp_mips16_<mode>): New patterns. |
11416 | (*tls_get_tp_mips16_call_<mode>): Likewise. | |
11417 | ||
75e237b7 | 11418 | 2012-01-15 Uros Bizjak <ubizjak@gmail.com> |
11419 | ||
11420 | PR rtl-optimization/51821 | |
11421 | * recog.c (peep2_find_free_register): Determine clobbered registers | |
11422 | from insn pattern. | |
11423 | ||
9f42c829 | 11424 | 2012-01-14 Denis Chertykov <chertykov@gmail.com> |
11425 | ||
11426 | PR target/50925 | |
11427 | * config/avr/avr-protos.h: Revert change of 2012-01-09. | |
11428 | * config/avr/avr.c: Likewise. | |
11429 | * config/avr/avr.h: Likewise. | |
11430 | ||
3637bb87 | 11431 | 2012-01-13 Ian Lance Taylor <iant@google.com> |
11432 | ||
11433 | PR c++/50012 | |
11434 | * tree.h (TYPE_QUALS): Add cast to int. | |
11435 | (TYPE_QUALS_NO_ADDR_SPACE): Likewise. | |
11436 | ||
981afcd0 | 11437 | 2012-01-13 Ian Lance Taylor <iant@google.com> |
11438 | ||
11439 | * ipa-cp.c (ipa_get_indirect_edge_target): Add typecasts when | |
11440 | comparing param_index to VEC_length result. | |
11441 | ||
13b67b5c | 11442 | 2012-01-13 Steven Bosscher <steven@gcc.gnu.org> |
11443 | ||
11444 | * c-decl.c: Do not include tree-mudflap.h | |
11445 | * tree-optimize.c: Likewise. | |
11446 | * Makefile.in: Update dependencies. | |
11447 | ||
fc0c4d51 | 11448 | 2012-01-13 Richard Guenther <rguenther@suse.de> |
11449 | ||
11450 | PR middle-end/8081 | |
11451 | * gimplify.c (gimplify_modify_expr_rhs): For calls with a | |
11452 | variable-sized result always use RSO. | |
11453 | ||
df7f3935 | 11454 | 2012-01-12 DJ Delorie <dj@redhat.com> |
11455 | ||
11456 | * cfgexpand.c (convert_debug_memory_address): Allow any valid | |
11457 | pointer type, not just the default pointer type. | |
11458 | ||
36b6158e | 11459 | 2012-01-09 Richard Henderson <rth@redhat.com> |
11460 | Denis Chertykov <chertykov@gmail.com> | |
11461 | ||
11462 | PR target/50925 | |
11463 | * config/avr/avr-protos.h (avr_hard_regno_nregs): Declare. | |
11464 | * config/avr/avr.c (avr_can_eliminate): Simplify. | |
11465 | (avr_initial_elimination_offset): Likewise. | |
11466 | (avr_prologue_setup_frame): Use hard_frame_pointer_rtx. | |
11467 | (expand_epilogue): Likewise. | |
11468 | (avr_legitimize_address): Gut. | |
11469 | (avr_legitimize_reload_address): Use hard_frame_pointer_rtx. | |
11470 | (avr_hard_regno_nregs): New. | |
11471 | (avr_hard_regno_ok): Allow only Pmode for arg and frame_pointers. | |
11472 | (avr_regno_mode_code_ok_for_base_b): Handle arg and frame pointers. | |
11473 | * config/avr/avr.h (FIXED_REGISTERS): Adjust arg pointer, | |
11474 | add soft frame pointer. | |
11475 | (CALL_USED_REGISTERS): Likewise. | |
11476 | (REG_CLASS_CONTENTS): Likewise. | |
11477 | (REGISTER_NAMES): Likewise. | |
11478 | (HARD_REGNO_NREGS): Use avr_hard_regno_nregs. | |
11479 | (HARD_FRAME_POINTER_REGNUM): New. | |
11480 | (FRAME_POINTER_REGNUM): Use soft frame pointer. | |
11481 | (ELIMINABLE_REGS): Eliminate from the soft frame pointer, | |
11482 | remove the HARD_FRAME_POINTER self-elimination. | |
11483 | ||
4bdc263b | 11484 | 2012-01-12 Georg-Johann Lay <avr@gjlay.de> |
07b2ccdc | 11485 | |
11486 | PR target/51756 | |
11487 | * config/avr/avr.c (avr_encode_section_info): Test for absence of | |
11488 | DECL_EXTERNAL when checking for initializers of progmem variables. | |
11489 | ||
6175d24a | 11490 | 2012-01-12 Ira Rosen <irar@il.ibm.com> |
11491 | ||
11492 | PR tree-optimization/51799 | |
11493 | * tree-vect-patterns.c (vect_recog_over_widening_pattern): Check | |
11494 | that the last operation is a type demotion. | |
11495 | ||
ad1f1582 | 11496 | 2012-01-12 Uros Bizjak <ubizjak@gmail.com> |
11497 | ||
11498 | * config/i386/i386.md (*zero_extendsidi2_rex64): Correct movl template. | |
11499 | (x86_shift<mode>_adj_1): Remove operand constraint from operand 3. | |
11500 | ||
45152a7b | 11501 | 2012-01-11 Jakub Jelinek <jakub@redhat.com> |
11502 | ||
11503 | PR bootstrap/51796 | |
11504 | * combine.c (distribute_notes): If i3 is a noreturn call, | |
11505 | allow old_size to be equal to args_size and make sure the | |
11506 | noreturn call gets REG_ARGS_SIZE note. | |
11507 | * expr.c (fixup_args_size_notes): Put REG_ARGS_SIZE notes | |
11508 | on noreturn calls even when the delta is 0. | |
11509 | ||
93fcbf99 | 11510 | 2012-01-11 Nathan Sidwell <nathan@acm.org> |
11511 | ||
11512 | * gcov.c (STRING_SIZE): Remove. | |
11513 | (generate_results): Erase annotations for source files with no | |
11514 | coverage information. | |
11515 | (read_line): New. | |
11516 | (output_lines): Use it. | |
11517 | ||
7e3aae05 | 11518 | 2012-01-11 Eric Botcazou <ebotcazou@adacore.com> |
11519 | ||
11520 | * gimple.h (gimplify_body): Remove first argument. | |
11521 | * gimplify.c (copy_if_shared): Add DATA argument. Do not create the | |
11522 | pointer set here, instead just pass DATA to walk_tree. | |
11523 | (unshare_body): Remove BODY_P argument and adjust. Create the pointer | |
11524 | set here and invoke copy_if_shared on the size trees of DECL_RESULT. | |
11525 | (unvisit_body): Likewise, but with unmark_visited. | |
11526 | (gimplify_body): Remove BODY_P argument and adjust. | |
11527 | (gimplify_function_tree): Adjust call to gimplify_body. | |
11528 | * omp-low.c (finalize_task_copyfn): Likewise. | |
11529 | ||
7a3ec978 | 11530 | 2012-01-11 Eric Botcazou <ebotcazou@adacore.com> |
11531 | ||
11532 | * tree.h (build_function_decl_skip_args): Add boolean parameter. | |
11533 | (build_function_type_skip_args): Delete. | |
11534 | * tree.c (build_function_type_skip_args): Make static and add | |
11535 | SKIP_RETURN parameter. Fix thinko in the handling of variants. | |
11536 | (build_function_decl_skip_args): Add SKIP_RETURN parameter and | |
11537 | pass it to build_function_type_skip_args. | |
11538 | * cgraph.h (cgraph_function_versioning): Add boolean parameter. | |
11539 | (tree_function_versioning): Likewise. | |
11540 | * cgraph.c (cgraph_create_virtual_clone): Adjust call to | |
11541 | build_function_decl_skip_args. | |
11542 | * cgraphunit.c (cgraph_function_versioning): Add SKIP_RETURN parameter | |
11543 | and pass it to build_function_decl_skip_args/tree_function_versioning. | |
11544 | (cgraph_materialize_clone): Adjust call to tree_function_versioning. | |
11545 | * ipa-inline-transform.c (save_inline_function_body): Likewise. | |
11546 | * trans-mem.c (ipa_tm_create_version): Likewise. | |
11547 | * tree-sra.c (modify_function): Ditto for cgraph_function_versioning. | |
11548 | * tree-inline.c (declare_return_variable): Remove always-true test. | |
11549 | (tree_function_versioning): Add SKIP_RETURN parameter. If the function | |
11550 | returns non-void and SKIP_RETURN, create a void-typed RESULT_DECL. | |
11551 | * ipa-split.c (split_function): Skip the return value for the split | |
11552 | part if it doesn't return. | |
11553 | ||
aa2edcb9 | 11554 | 2012-01-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
11555 | ||
11556 | PR tree-optimization/49642 | |
11557 | * ipa-split.c (forbidden_dominators): New variable. | |
11558 | (check_forbidden_calls): New function. | |
11559 | (dominated_by_forbidden): Likewise. | |
11560 | (consider_split): Check for forbidden dominators. | |
11561 | (execute_split_functions): Initialize and free forbidden | |
11562 | dominators info; call check_forbidden_calls. | |
11563 | ||
7d0a3bab | 11564 | 2012-01-11 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
11565 | ||
11566 | * config/arm/arm.md (mov_notscc): Use MVN for false condition. | |
11567 | ||
301901d2 | 11568 | 2012-01-11 Nick Clifton <nickc@redhat.com> |
11569 | ||
11570 | * config/rx/rx.md (return): Define pattern. | |
11571 | ||
35cbef6c | 11572 | 2012-01-11 Richard Guenther <rguenther@suse.de> |
11573 | ||
11574 | * doc/extend.texi (malloc attribute): Adjust according to | |
11575 | implementation. | |
11576 | ||
3e426b86 | 11577 | 2012-01-10 Aldy Hernandez <aldyh@redhat.com> |
11578 | Patrick Marlier <patrick.marlier@gmail.com> | |
11579 | ||
11580 | PR middle-end/51516 | |
11581 | * trans-mem.c (get_cg_data): Traverse aliases if requested. | |
11582 | (ipa_tm_scan_calls_block): Update parameters to get_cg_data. | |
11583 | (ipa_tm_note_irrevocable): Same. | |
11584 | (ipa_tm_scan_irr_block): Same. | |
11585 | (ipa_tm_decrement_clone_counts): Same. | |
11586 | (ipa_tm_scan_irr_function): Same. | |
11587 | (ipa_tm_create_version_alias): Same. | |
11588 | (ipa_tm_create_version): Same. | |
11589 | (ipa_tm_transform_calls_redirect): Same. | |
11590 | (ipa_tm_transform_calls): Same. | |
11591 | (ipa_tm_transform_transaction): Same. | |
11592 | (ipa_tm_execute): Same. | |
11593 | ||
90e2341f | 11594 | 2012-01-10 Richard Guenther <rguenther@suse.de> |
11595 | ||
11596 | PR middle-end/51806 | |
11597 | * opts.c (common_handle_option): Handle -Werror. | |
11598 | ||
42720af3 | 11599 | 2012-01-10 Andreas Schwab <schwab@linux-m68k.org> |
11600 | ||
11601 | * config/m68k/sync.md ("atomic_compare_and_swap<mode>_1"): Fix | |
11602 | operand number. | |
11603 | ||
2e3ca6dd | 11604 | 2012-01-10 Jason Merrill <jason@redhat.com> |
11605 | ||
11606 | * doc/invoke.texi (C++ Dialect Options): Update -fabi-version=6 | |
11607 | information. | |
11608 | ||
31d2f7ca | 11609 | 2012-01-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11610 | ||
11611 | * configure.ac (gcc_cv_as_ix86_tlsgdplt): Check if linker | |
11612 | supports R_386_TLS_GD_PLT reloc. | |
11613 | (gcc_cv_as_ix86_tlsldmplt): Check if linker | |
11614 | supports R_386_TLS_LDM_PLT reloc. | |
11615 | * configure: Regenerate. | |
11616 | * config.in: Regenerate. | |
11617 | ||
ed2541ea | 11618 | 2012-01-10 Georg-Johann Lay <avr@gjlay.de> |
11619 | ||
11620 | PR target/49868 | |
11621 | Extend __pgmx semantics to linearize memory. | |
11622 | * config/avr/avr.md (mov<mode>): Use avr_xload_libgcc_p to | |
11623 | determine if code comes inline or from libgcc. | |
11624 | (MOVMEM_r_d:HI): Add "w" to constraint for better preference. | |
11625 | (movmem_qi, movmem_qi): Set constraint #2 to "n". | |
11626 | (movmem_qi_elpm, movmem_hi_elpm): Remove insns. | |
11627 | (movmemx_qi, movmemx_hi): New insns. | |
11628 | (xload_<mode>_libgcc): Rewrite to new insn condition. | |
11629 | (xload_<mode>): Remove insns. | |
11630 | * config/avr/avr.c (avr_out_xload): Rewrite: Only need to handle | |
11631 | cases that don't satisfy avr_xload_libgcc_p(). | |
11632 | (avr_addr_space_convert): Allow converting in any direction. | |
11633 | (avr_addr_space_subset_p): Return always true. | |
11634 | (avr_xload_libgcc_p): Rewrite to fit new __pgmx semantics. | |
11635 | (avr_emit_movmemhi): Ditto. | |
11636 | (avr_out_lpm): No need to handle ADDR_SPACE_PGMX any more. | |
11637 | (avr_out_movmem): Ditto. | |
11638 | (AVR_SYMBOL_FLAG_PROGMEM): New macro. | |
11639 | (AVR_SYMBOL_SET_ADDR_SPACE): New macro. | |
11640 | (AVR_SYMBOL_GET_ADDR_SPACE): New macro. | |
11641 | (avr_encode_section_info): Encode 'progmem' in symbol flags. | |
11642 | (output_reload_in_const): Don't zero-extend any 24-bit symbols. | |
11643 | ||
e97c4b0d | 11644 | 2012-01-10 Richard Guenther <rguenther@suse.de> |
11645 | ||
11646 | PR tree-optimization/50913 | |
11647 | * graphite-scop-detection.c (stmt_has_simple_data_refs_p): | |
11648 | Require data-refs to be representable by Graphite with respect | |
11649 | to any loop nest. | |
11650 | ||
553c4d0b | 11651 | 2012-01-10 Uros Bizjak <ubizjak@gmail.com> |
11652 | ||
11653 | * config/i386/constraints.md ("L"): Return true for 0xffffffff. | |
11654 | * config/i386/i386.c (*anddi_1): Emit AND with 0xffffffff as MOV. | |
11655 | ||
e2ab608c | 11656 | 2012-01-10 Tom de Vries <tom@codesourcery.com> |
11657 | ||
abbecd80 | 11658 | PR rtl-optimization/51271 |
e2ab608c | 11659 | * dwarf2cfi.c (scan_trace): Save and restore cur_row->reg_save when |
11660 | handling annulled branch. | |
11661 | ||
47ddcd6b | 11662 | 2012-01-10 Richard Henderson <rth@redhat.com> |
11663 | ||
553c4d0b | 11664 | * config/arm/arm.c (arm_vectorize_vec_perm_const_ok, |
47ddcd6b | 11665 | TARGET_VECTORIZE_VEC_PERM_CONST_OK, neon_split_vcombine, MAX_VECT_LEN, |
11666 | struct expand_vec_perm_d, arm_expand_vec_perm_1, arm_expand_vec_perm, | |
11667 | arm_evpc_neon_vuzp, arm_evpc_neon_vzip, arm_evpc_neon_vrev, | |
11668 | arm_evpc_neon_vtrn, arm_evpc_neon_vtbl, arm_expand_vec_perm_const_1, | |
11669 | arm_expand_vec_perm_const): New. | |
11670 | * config/arm/arm-protos.h: Update. | |
11671 | * config/arm/neon.md (UNSPEC_VCONCAT): New. | |
11672 | (*neon_vswp<VDQX>): New. | |
11673 | (neon_vcombine<VDX>): Use neon_split_vcombine. | |
11674 | (neon_vtbl1v16qi, neon_vtbl2v16qi, neon_vcombinev16qi): New. | |
11675 | * config/arm/vec-common.md (vec_perm_const<VALL>): New. | |
11676 | (vec_perm<VE>): New. | |
11677 | ||
e1b93706 | 11678 | 2012-01-10 Richard Henderson <rth@redhat.com> |
11679 | ||
11680 | * config/arm/arm.c (arm_gen_compare_reg): Add scratch argument; | |
11681 | use it if reload_completed. | |
11682 | (arm_legitimize_sync_memory, arm_emit, arm_insn_count, arm_count, | |
11683 | arm_output_asm_insn, arm_process_output_memory_barrier, | |
11684 | arm_output_memory_barrier, arm_ldrex_suffix, arm_output_ldrex, | |
11685 | arm_output_strex, arm_output_it, arm_output_op2, arm_output_op3, | |
11686 | arm_output_sync_loop, arm_get_sync_operand, FETCH_SYNC_OPERAND, | |
11687 | arm_process_output_sync_insn, arm_output_sync_insn, | |
11688 | arm_sync_loop_insns, arm_call_generator, arm_expand_sync): Remove. | |
11689 | (arm_pre_atomic_barrier, arm_post_atomic_barrier): New. | |
11690 | (arm_emit_load_exclusive, arm_emit_store_exclusive): New. | |
11691 | (emit_unlikely_jump): New. | |
11692 | (arm_expand_compare_and_swap, arm_split_compare_and_swap): New. | |
11693 | (arm_split_atomic_op): New. | |
11694 | * config/arm/arm-protos.h: Update. | |
11695 | * config/arm/arm.h (enum arm_sync_generator_tag): Remove. | |
11696 | (struct arm_sync_generator): Remove. | |
11697 | * config/arm/arm.md (VUNSPEC_SYNC_COMPARE_AND_SWAP, VUNSPEC_SYNC_LOCK, | |
11698 | VUNSPEC_SYNC_OP, VUNSPEC_SYNC_NEW_OP, VUNSPEC_SYNC_OLD_OP): Remove. | |
11699 | (VUNSPEC_ATOMIC_CAS, VUNSPEC_ATOMIC_XCHG, VUNSPEC_ATOMIC_OP): New. | |
11700 | (VUNSPEC_LL, VUNSPEC_SC): New. | |
11701 | (sync_result, sync_memory, sync_required_value, sync_new_value, | |
11702 | sync_t1, sync_t2, sync_release_barrier, sync_op): Remove. | |
11703 | (attr length): Don't use arm_sync_loop_insns. | |
11704 | (cbranch_cc, cstore_cc): Update call to arm_gen_compare_reg. | |
11705 | (movsfcc, movdfcc): Likewise. | |
11706 | * config/arm/constraints.md (Ua): New. | |
11707 | * config/arm/prediates.md (mem_noofs_operand): New. | |
11708 | (sync_compare_and_swap<QHSD>, sync_lock_test_and_set<QHSD>): Remove. | |
11709 | (sync_clobber, sync_t2_reqd): Remove. | |
11710 | (sync_<syncop><QHSD>, sync_nand<QHSD>): Remove. | |
11711 | (sync_new_<syncop><QHSD>, sync_new_nand<QHSD>): Remove. | |
11712 | (sync_old_<syncop><QHSD>, sync_old_nand<QHSD>): Remove. | |
11713 | (arm_sync_compare_and_swap<SIDI>): Remove. | |
11714 | (arm_sync_compare_and_swap<NARROW>): Remove. | |
11715 | (arm_sync_lock_test_and_set<SIDI>): Remove. | |
11716 | (arm_sync_lock_test_and_set<NARROW>): Remove. | |
11717 | (arm_sync_new_<syncop><SIDI>): Remove. | |
11718 | (arm_sync_new_<syncop><NARROW>): Remove. | |
11719 | (arm_sync_new_nand<SIDI>): Remove. | |
11720 | (arm_sync_new_nand<NARROW>): Remove. | |
11721 | (arm_sync_old_<syncop><SIDI>): Remove. | |
11722 | (arm_sync_old_<syncop><NARROW>): Remove. | |
11723 | (arm_sync_old_nand<SIDI>): Remove. | |
11724 | (arm_sync_old_nand<NARROW>): Remove. | |
11725 | (*memory_barrier): Merge arm_output_memory_barrier. | |
11726 | (atomic_compare_and_swap<QHSD>): New. | |
11727 | (atomic_compare_and_swap<NARROW>_1): New. | |
11728 | (atomic_compare_and_swap<SIDI>_1): New. | |
11729 | (atomic_exchange<QHSD>): New. | |
11730 | (cas_cmp_operand, cas_cmp_str): New. | |
11731 | (atomic_op_operand, atomic_op_str): New. | |
11732 | (atomic_<syncop><QHSD>, atomic_nand<QHSD>): New. | |
11733 | (atomic_fetch_<syncop><QHSD>, atomic_fetch_nand<QHSD>): New. | |
11734 | (atomic_<syncop>_fetch<QHSD>, atomic_nand_fetch<QHSD>): New. | |
11735 | (arm_load_exclusive<NARROW>): New. | |
11736 | (arm_load_exclusivesi, arm_load_exclusivedi): New. | |
11737 | (arm_store_exclusive<QHSD>): New. | |
11738 | ||
11739 | 2012-01-09 Michael Meissner <meissner@linux.vnet.ibm.com> | |
ca8c55ac | 11740 | |
11741 | * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Add DF | |
11742 | reload patterns if -mvsx-scalar-memory. | |
11743 | ||
11744 | * config/rs6000/vsx.md (vsx_xscvspdp): Allow xscvspdp to be | |
11745 | generated, even -mno-vsx-scalar-double was used. | |
11746 | (vsx_xscvdpsp_scalar): Likewise. | |
11747 | (vsx_xscvspdp_scalar2): Likewise. | |
11748 | ||
5cbfefc3 | 11749 | 2012-01-09 Tom de Vries <tom@codesourcery.com> |
11750 | Andrew Pinski <apinski@cavium.com> | |
11751 | ||
abbecd80 | 11752 | PR debug/51471 |
553c4d0b | 11753 | * reorg.c (fill_slots_from_thread): Don't speculate |
11754 | frame-related insns. | |
5cbfefc3 | 11755 | |
018f0595 | 11756 | 2012-01-09 Richard Sandiford <rdsandiford@googlemail.com> |
11757 | ||
11758 | * sched-int.h (bb_note): Move to... | |
11759 | * basic-block.h: ...here. | |
11760 | * haifa-sched.c (bb_note): Move to... | |
11761 | * cfgrtl.c: ...here. | |
11762 | * function.c (next_block_for_reg): New function. | |
11763 | (move_insn_for_shrink_wrap): Likewise. | |
11764 | (prepare_shrink_wrap): Rewrite to use the above. | |
11765 | ||
28098b5b | 11766 | 2012-01-09 Aldy Hernandez <aldyh@redhat.com> |
11767 | ||
11768 | * gimple.c (is_gimple_non_addressable): Remove. | |
11769 | * gimple.h: Remove is_gimple_non_addressable. | |
11770 | * gimplify.c (gimplify_modify_expr_rhs): Use is_gimple_reg instead of | |
11771 | is_gimple_non_addressable. | |
11772 | * trans-mem.c (expand_assign_tm): Same. | |
11773 | ||
f6093533 | 11774 | 2012-01-09 Richard Guenther <rguenther@suse.de> |
11775 | ||
11776 | PR tree-optimization/51775 | |
11777 | * tree-ssa-sccvn.c (visit_use): Value-number throwing stmts. | |
11778 | * tree-ssa-pre.c (eliminate): Properly fixup EH info. | |
11779 | ||
92409bbc | 11780 | 2012-01-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
11781 | ||
11782 | * config/arm/arm-cores.def (cortex-a15): Use cortex_a15_tune for | |
11783 | tuning parameters. | |
11784 | * config/arm/arm.c (arm_cortex_a15_tune): New static variable. | |
11785 | ||
3f7685cd | 11786 | 2012-01-09 Richard Guenther <rguenther@suse.de> |
11787 | ||
11788 | * tree-streamer-out.c (write_ts_optimization): Fix spelling. | |
11789 | ||
e67e73bd | 11790 | 2012-01-08 Jan Hubicka <jh@suse.cz> |
11791 | ||
11792 | PR tree-optimize/51680 | |
3f7685cd | 11793 | * ipa-inline-analyss.c (evaluate_properties_for_edge): Fix condition |
11794 | on when known_vals needs to be computed; cleanup. | |
e67e73bd | 11795 | |
7aedab82 | 11796 | 2012-01-08 Jan Hubicka <jh@suse.cz> |
11797 | ||
11798 | PR tree-optimize/51694 | |
11799 | * ipa-cp.c (ipa_get_indirect_edge_target): Add bounds checks. | |
11800 | ||
49dc2bdc | 11801 | 2012-01-08 Jonathan Wakely <jwakely.gcc@gmail.com> |
11802 | ||
11803 | * doc/cpp.texi (Predefined Macros): __STRICT_ANSI__ is defined | |
11804 | for -std=c++98 and -std=c++11 too. | |
11805 | ||
bf4b25d7 | 11806 | 2012-01-08 Chung-Lin Tang <cltang@codesourcery.com> |
11807 | ||
11808 | * cfgloop.c (cancel_loop): Add free() of bbs array. | |
11809 | ||
5dcaa672 | 11810 | 2012-01-07 Jan Hubicka <jh@suse.cz> |
11811 | ||
11812 | PR tree-optimization/51600 | |
11813 | * ipa-inline-analysis.c (estimate_edge_devirt_benefit): Disable code | |
11814 | that benefits small functions. | |
11815 | ||
11816 | 2012-01-07 Jan Hubicka <jh@suse.cz> | |
11817 | ||
11818 | * ipa-inline.c (want_inline_small_function_p): Fix formating. | |
11819 | ||
a844747e | 11820 | 2012-01-07 Jan Hubicka <jh@suse.cz> |
11821 | ||
11822 | PR tree-optimization/51680 | |
11823 | * ipa-inline.c (want_inline_small_function_p): Be more lax on functions | |
11824 | whose inlining reduce unit size. | |
11825 | ||
c98120f0 | 11826 | 2012-01-07 Alexandre Oliva <aoliva@redhat.com> |
11827 | ||
11828 | PR bootstrap/51725 | |
11829 | * cselib.c (new_elt_loc_list): Promote addr_list to canonical node. | |
11830 | Add canonical node to containing_mem chain after the non-canonical | |
11831 | one, even if there weren't any locs to propagate. | |
11832 | (remove_useless_values): Keep only canonical values. | |
11833 | (add_mem_for_addr, cselib_lookup_mem): Canonicalize addr. | |
11834 | (cselib_invalidate_mem): Likewise. Ensure v is canonical, and | |
11835 | canonicalize mem_chain elements that are not discarded. | |
11836 | ||
b9aec3f5 | 11837 | 2012-01-06 Jakub Jelinek <jakub@redhat.com> |
11838 | ||
5c8ad8f5 | 11839 | PR target/47333 |
11840 | * cgraphunit.c (cgraph_optimize): Call output_weakrefs | |
11841 | before emitting functions. | |
11842 | ||
b9aec3f5 | 11843 | PR gcov-profile/50127 |
11844 | * bb-reorder.c (partition_hot_cold_basic_blocks): Call | |
11845 | clear_aux_for_blocks. | |
11846 | ||
29c70ce8 | 11847 | 2012-01-06 Alexandre Oliva <aoliva@redhat.com> |
11848 | ||
11849 | PR debug/51746 | |
11850 | * cselib.c (cselib_hash_rtx): Hash incoming VALUEs too. | |
11851 | ||
00ce46e2 | 11852 | 2012-01-06 Arnaud Charlet <charlet@adacore.com> |
11853 | ||
11854 | * c-decl.c (ext_block): Moved up. | |
11855 | (collect_all_refs, for_each_global_decl): Take ext_block into account. | |
11856 | ||
36ddd5fe | 11857 | 2012-01-06 Han Shen <shenhan@google.com> |
11858 | ||
11859 | Translate built-in include paths for sysroot. | |
11860 | * Makefile.in (gcc_gxx_include_dir_add_sysroot): New. | |
11861 | (PREPROCESSOR_DEFINES): Define GPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT. | |
11862 | ||
11863 | * cppdefault.c (cpp_include_defaults): Replace hard coded "0" with | |
11864 | GPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT for "add_sysroot" field. | |
11865 | ||
11866 | * configure.ac (AC_SUBST): Add gcc_gxx_include_dir_add_sysroot to | |
11867 | control whether sysroot should be prepended to gxx include dir. | |
11868 | ||
11869 | * configure: Regenerate. | |
11870 | ||
aa848e47 | 11871 | 2012-01-06 Torvald Riegel <triegel@redhat.com> |
11872 | ||
11873 | PR rtl-optimization/51771 | |
553c4d0b | 11874 | * builtin-attrs.def (ATTR_RETURNS_TWICE, ATTR_TM_NOTHROW_RT_LIST): New. |
aa848e47 | 11875 | * gtm-builtins.def (BUILT_IN_TM_START): Add returns-twice attrib. |
11876 | ||
89c7922d | 11877 | 2012-01-05 Eric Botcazou <ebotcazou@adacore.com> |
11878 | ||
11879 | PR tree-optimization/51315 | |
11880 | * tree-sra.c (tree_non_aligned_mem_for_access_p): New predicate. | |
11881 | (build_accesses_from_assign): Use it instead of tree_non_aligned_mem_p. | |
11882 | ||
7208667b | 11883 | 2012-01-05 Uros Bizjak <ubizjak@gmail.com> |
11884 | ||
11885 | PR target/51681 | |
11886 | * config/ia64/ia64.c (expand_vec_perm_shrp): Use correct operands | |
11887 | for shrp pattern. Correctly handle and fixup shift variable. | |
11888 | Return false when shift > nelt for BYTES_BIG_ENDIAN target. | |
11889 | ||
27827244 | 11890 | 2012-01-05 Jakub Jelinek <jakub@redhat.com> |
11891 | ||
11892 | PR debug/51762 | |
11893 | * calls.c (emit_call_1): For noreturn calls force a REG_ARGS_SIZE | |
11894 | note when !ACCUMULATE_OUTGOING_ARGS. | |
11895 | ||
df8f94d5 | 11896 | 2012-01-05 Eric Botcazou <ebotcazou@adacore.com> |
11897 | ||
11898 | * tree-vrp.c (extract_range_from_binary_expr_1): Remove duplicated | |
11899 | condition. | |
11900 | (extract_range_from_unary_expr_1): Avoid useless computations. | |
11901 | ||
180c5ea0 | 11902 | 2012-01-05 Jakub Jelinek <jakub@redhat.com> |
11903 | ||
d7ff3ab6 | 11904 | PR rtl-optimization/51767 |
11905 | * cfgrtl.c (force_nonfallthru_and_redirect): Force addition | |
11906 | of jump_block and add an extra edge for degenerated asm gotos. | |
11907 | ||
1aed71d6 | 11908 | PR middle-end/51768 |
11909 | * stmt.c (check_unique_operand_names): Don't ICE during error | |
11910 | reporting if i is from labels chain. | |
11911 | ||
180c5ea0 | 11912 | PR middle-end/44777 |
11913 | * profile.c (branch_prob): Split bbs that have exit edge | |
11914 | and need a fake entry edge too. | |
11915 | ||
753f2949 | 11916 | 2012-01-05 Jan Hubicka <jh@suse.cz> |
11917 | ||
11918 | PR middle-end/49710 | |
11919 | * cfgloopmanip.c (remove_path): Walk loop hiearchy upwards when | |
11920 | unlooping loops. | |
11921 | ||
8a3acf3f | 11922 | 2012-01-05 Richard Guenther <rguenther@suse.de> |
11923 | ||
11924 | PR lto/50490 | |
11925 | * tree-streamer-out.c (write_ts_optimization): New function. | |
11926 | (streamer_write_tree_body): Call it. | |
11927 | * tree-streamer-in.c (lto_input_ts_optimization): New function. | |
11928 | (streamer_read_tree_body): Call it. | |
11929 | * lto-streamer-out.c (lto_is_streamable): Handle OPTIMIZATION_NODE. | |
11930 | ||
cbabc8eb | 11931 | 2012-01-05 Jakub Jelinek <jakub@redhat.com> |
11932 | ||
11933 | PR middle-end/51761 | |
7208667b | 11934 | * gimple.h (struct gimplify_ctx): Add in_cleanup_point_expr field. |
cbabc8eb | 11935 | * gimplify.c (gimplify_cleanup_point_expr): Save and set |
11936 | in_cleanup_point_expr before gimplify_stmt call and restore it | |
11937 | afterwards. | |
11938 | (gimplify_target_expr): Don't add {CLOBBER} cleanup if | |
11939 | in_cleanup_point_expr is false. | |
11940 | ||
9ea022ce | 11941 | 2012-01-05 Richard Guenther <rguenther@suse.de> |
11942 | ||
11943 | PR middle-end/51764 | |
11944 | * common.opt (Wmudflap, fmudflap, fmudflapth, fmudflapir): Move | |
11945 | to c.opt. | |
11946 | * toplev.c (process_options): Reject combining mudflap and LTO. | |
11947 | * tree-nomudflap.c (nogo): Use sorry instead of internal_error. | |
11948 | ||
c91fedc5 | 11949 | 2012-01-05 Richard Guenther <rguenther@suse.de> |
11950 | ||
11951 | PR tree-optimization/51760 | |
11952 | * tree-ssa-ccp.c (likely_value): Drop UNDEFINED to CONSTANT, | |
11953 | not VARYING. | |
11954 | (bit_value_unop): Handle UNDEFINED operands. | |
11955 | (bit_value_binop): Likewise. | |
11956 | ||
1b6c82cc | 11957 | 2012-01-05 Georg-Johann Lay <avr@gjlay.de> |
11958 | ||
11959 | * config/avr/avr.c (avr_replace_prefix): Remove. | |
11960 | (avr_asm_named_section): Use ACONCAT instead of avr_replace_prefix. | |
11961 | (avr_asm_function_rodata_section): Ditto. | |
11962 | (avr_asm_select_section): Ditto. | |
11963 | ||
a7dcb2ba | 11964 | 2012-01-05 Marcus Shawcroft <marcus.shawcroft@arm.com> |
11965 | ||
11966 | * reload.c (find_reloads): Adjust LABEL_NUSES on REG_LABEL_OPERAND | |
11967 | insertion. | |
11968 | ||
d1a21c35 | 11969 | 2012-01-05 Jakub Jelinek <jakub@redhat.com> |
11970 | ||
44e41ce0 | 11971 | PR bootstrap/51648 |
11972 | * tree-cfg.c (need_fake_edge_p): Return true also for noreturn | |
11973 | calls that have any non-fake successor edges. | |
11974 | ||
d1a21c35 | 11975 | PR debug/51746 |
11976 | * var-tracking.c (add_stores): For COND_EXEC allow oval to be NULL. | |
11977 | ||
d33fd0b7 | 11978 | 2012-01-04 Eric Botcazou <ebotcazou@adacore.com> |
11979 | ||
11980 | PR tree-optimization/51624 | |
11981 | * tree-sra.c (build_ref_for_model): When replicating a chain of | |
11982 | COMPONENT_REFs, stop as soon as the offset would become negative. | |
11983 | ||
3003ad99 | 11984 | 2012-01-04 Jakub Jelinek <jakub@redhat.com> |
11985 | ||
11986 | PR debug/51695 | |
11987 | * dwarf2out.c (output_loc_list): For now drop >= 64KB expressions | |
11988 | in .debug_loc on the floor. | |
11989 | ||
79bdd1fe | 11990 | 2012-01-04 Andrew Pinski <apinski@cavium.com> |
11991 | ||
11992 | * doc/invoke.texi (-march=@var{arch}): Add octeon+ and octeon2. | |
11993 | ||
b7508909 | 11994 | 2012-01-04 Andrew Pinski <apinski@cavium.com> |
11995 | Adam Nemet <anemet@caviumnetworks.com> | |
11996 | ||
11997 | * config/mips/mips.md (size): Add SI and DI. | |
11998 | (SIZE): New mode attribute. | |
11999 | (U): New code attribute. | |
12000 | * config/mips/mips-dsp.md (mips_lbux): Use gen_mips_lbux_extsi. | |
12001 | (mips_lbux_<mode>): Delete. | |
12002 | (mips_l<SHORT:size><u>x_ext<GPR:mode>_<P:mode>): New pattern. | |
12003 | (mips_lhx): Use gen_mips_lhx_extsi. | |
12004 | (mips_lhx_<mode>): Delete. | |
12005 | (mips_lwx): Delete. | |
12006 | (mips_l<size>x): New expand. | |
12007 | (mips_lwx_<mode>): Delete. | |
12008 | (mips_l<GPR:size>x_<P:mode>): New pattern. | |
12009 | (*mips_lw<u>x_<P:mode>_ext): Likewise. | |
12010 | * config/mips/mips-ftypes.def: Add DI f(POINTER, SI) function type. | |
12011 | * config/mips/mips.c (mips_lx_address_p): New function. | |
12012 | (mips_rtx_costs <case MEM>): Call mips_lx_address_p. | |
12013 | (dsp64): New availability predicate. | |
12014 | (mips_builtins): Add an entry for __builtin_mips_ldx. | |
12015 | * config/mips/mips.h (ISA_HAS_LBX): New define. | |
12016 | (ISA_HAS_LBUX): Likewise. | |
12017 | (ISA_HAS_LHX): Likewise. | |
12018 | (ISA_HAS_LHUX): Likewise. | |
12019 | (ISA_HAS_LWX): Likewise. | |
12020 | (ISA_HAS_LWUX): Likewise. | |
12021 | (ISA_HAS_LDX): Likewise. | |
12022 | * doc/extend.texi (__builtin_mips_ldx): Document. | |
12023 | ||
ceb6185f | 12024 | 2012-01-04 Tristan Gingold <gingold@adacore.com> |
12025 | ||
12026 | * config/vms/xm-vms.h (HOST_LONG_FORMAT, HOST_PTR_PRINTF): Define | |
12027 | when long pointers are used. | |
12028 | * config.build (*-*-*vms*): Handle all OpenVMS targets. | |
12029 | (alpha64-dec-*vms*, alpha*-dec-*vms*) | |
12030 | (ia64-hp-*vms*): Remove. | |
12031 | * config/vms/xm-vms64.h: Delete. | |
12032 | ||
ea580cf7 | 12033 | 2012-01-04 Aldy Hernandez <aldyh@redhat.com> |
12034 | ||
12035 | PR middle-end/51472 | |
12036 | * trans-mem.c (expand_assign_tm): Handle TM_MEMMOVE loads correctly. | |
12037 | ||
cb8ce878 | 12038 | 2012-01-04 Aldy Hernandez <aldyh@redhat.com> |
12039 | ||
d449d792 | 12040 | * opts.c (finish_options): Remove duplicate sorry. |
cb8ce878 | 12041 | |
300eddba | 12042 | 2012-01-04 Aldy Hernandez <aldyh@redhat.com> |
12043 | ||
12044 | PR middle-end/51696 | |
12045 | * trans-mem.c (diagnose_tm_1): Display indirect calls with no name | |
12046 | correctly. | |
12047 | ||
a6c23958 | 12048 | 2012-01-04 Richard Guenther <rguenther@suse.de> |
12049 | ||
12050 | PR middle-end/51750 | |
12051 | * tree.c (size_low_cst): New function. | |
12052 | * tree.h (size_low_cst): Declare. | |
12053 | * fold-const.c (fold_comparison): Use it to extract the low | |
12054 | part of the POINTER_PLUS_EXPR offset. | |
12055 | ||
f4806884 | 12056 | 2012-01-04 Georg-Johann Lay <avr@gjlay.de> |
12057 | ||
12058 | Fix clearing ZERO_REG | |
12059 | * config/avr/avr.md (cc): Add alternative "ldi". | |
12060 | (movqi_insn): Use it in cc attribute. | |
12061 | * config/avr/avr.c (notice_update_cc): Handle CC_LDI. | |
12062 | (output_reload_in_const): Use CLR to move 0 to ZERO_REG. | |
12063 | (output_reload_insisf): Use ZERO_REG to pre-clear register. | |
12064 | ||
ce94380e | 12065 | 2012-01-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
12066 | ||
12067 | * configure: Regenerate. | |
12068 | ||
b4c39a37 | 12069 | 2012-01-04 Richard Guenther <rguenther@suse.de> |
12070 | ||
12071 | PR tree-optimization/49651 | |
12072 | * tree-ssa-structalias.c (type_can_have_subvars): New function. | |
12073 | (var_can_have_subvars): Use it. | |
7208667b | 12074 | (get_constraint_for_1): Only consider subfields if there can be any. |
b4c39a37 | 12075 | |
cdfa22f4 | 12076 | 2012-01-03 Jakub Jelinek <jakub@redhat.com> |
12077 | ||
89159e31 | 12078 | PR bootstrap/51725 |
7208667b | 12079 | * cselib.c (new_elt_loc_list): When moving locs from one cselib_val |
12080 | to its new canonical_cselib_val and the cselib_val was in | |
12081 | first_containing_mem chain, but the canonical_cselib_val was not, | |
12082 | add the latter into the chain. | |
89159e31 | 12083 | (cselib_invalidate_mem): Compare canonical_cselib_val of |
12084 | addr_list chain elt with v. | |
12085 | ||
cdfa22f4 | 12086 | PR pch/51722 |
12087 | * dwarf2out.c (dwarf2out_start_source_file, dwarf2out_define, | |
12088 | dwarf2out_undef): Allocate e.info using ggc_strdup instead | |
12089 | of xstrdup. | |
12090 | (output_macinfo_op): Don't ggc_strdup fd->filename. | |
12091 | (optimize_macinfo_range): Allocate grp_name using XALLOCAVEC, | |
12092 | then ggc_strdup it. Don't free inc->info or cur->info. | |
12093 | (output_macinfo): Don't free ref->info or file->info. | |
12094 | ||
2f630015 | 12095 | 2012-01-03 Ira Rosen <irar@il.ibm.com> |
12096 | ||
12097 | PR tree-optimization/51269 | |
12098 | * tree-vect-loop-manip.c (set_prologue_iterations): Make | |
12099 | first_niters a pointer. | |
12100 | (slpeel_tree_peel_loop_to_edge): Likewise. | |
12101 | (vect_do_peeling_for_loop_bound): Update call to | |
12102 | slpeel_tree_peel_loop_to_edge. | |
12103 | (vect_gen_niters_for_prolog_loop): Don't compute wide_prolog_niters | |
12104 | here. Remove it from the parameters list. | |
12105 | (vect_do_peeling_for_alignment): Update calls and compute | |
12106 | wide_prolog_niters. | |
12107 | ||
958ea92a | 12108 | 2012-01-03 Richard Guenther <rguenther@suse.de> |
12109 | ||
12110 | PR tree-optimization/51070 | |
12111 | * tree-loop-distribution.c (stmt_has_scalar_dependences_outside_loop): | |
12112 | Properly handle calls. | |
12113 | ||
af988fbc | 12114 | 2012-01-03 Richard Guenther <rguenther@suse.de> |
12115 | ||
12116 | PR tree-optimization/51692 | |
12117 | * tree-ssa-dce.c (eliminate_unnecessary_stmts): Do not remove | |
12118 | the LHS of allocation stmts. | |
12119 | ||
131e69c7 | 12120 | 2012-01-03 Olivier Hainque <hainque@adacore.com> |
12121 | ||
12122 | * system.h: Prior to #define, #undef fopen and freopen unconditionally. | |
12123 | ||
e4e4eb40 | 12124 | 2012-01-03 Olivier Hainque <hainque@adacore.com> |
12125 | ||
12126 | * collect2.c (main): In AIX specific computations for vector | |
12127 | insertions, use CONST_CAST2 to cast from char ** to const char **. | |
12128 | ||
e94f8cec | 12129 | 2012-01-03 Richard Guenther <rguenther@suse.de> |
12130 | ||
12131 | PR debug/51650 | |
12132 | * dwarf2out.c (dwarf2out_finish): Always create a DIE for | |
12133 | the context of a limbo DIE when it does not already exist. | |
12134 | ||
1cd188fc | 12135 | 2012-01-03 Jakub Jelinek <jakub@redhat.com> |
12136 | ||
12137 | PR tree-optimization/51719 | |
12138 | * value-prof.c (gimple_ic): When indirect call isn't noreturn, | |
12139 | but direct call is, clear direct call's lhs and don't add fallthrough | |
12140 | edge from dcall_bb to join_bb and PHIs. | |
12141 | ||
fbee501c | 12142 | 2012-01-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
12143 | ||
12144 | * config/s390/s390.md ("*cmp<mode>_ccs"): Fix comment mentioning | |
12145 | the instructions emitted by the pattern. | |
12146 | ("*TDC_insn_<mode>"): Add comment. | |
12147 | ||
c8d7e3b9 | 12148 | 2012-01-03 Richard Guenther <rguenther@suse.de> |
12149 | ||
12150 | PR middle-end/51730 | |
12151 | * fold-const.c (fold_comparison): Properly canonicalize | |
12152 | tree offset and HOST_WIDE_INT bit position. | |
12153 | ||
87f78f87 | 12154 | 2012-01-02 Uros Bizjak <ubizjak@gmail.com> |
12155 | ||
12156 | * config/ia64/ia64.c (expand_vec_perm_broadcast): Use correct | |
12157 | operands for extzv pattern. | |
12158 | ||
e2b97531 | 12159 | 2012-01-02 Jakub Jelinek <jakub@redhat.com> |
12160 | ||
12161 | PR bootstrap/51725 | |
12162 | * cselib.c (add_mem_for_addr): Call canonical_cselib_val | |
12163 | on mem_elt first. | |
12164 | ||
9d1f0198 | 12165 | 2012-01-02 Sandra Loosemore <sandra@codesourcery.com> |
12166 | ||
12167 | * doc/invoke.texi (-flto and related options): Copy-edit. | |
12168 | ||
606b7c1d | 12169 | 2012-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
12170 | ||
87f78f87 | 12171 | * config/mips/mips.md (loadgp_newabi_<mode>): Add missing earlyclobber. |
606b7c1d | 12172 | |
2cded00a | 12173 | 2012-01-02 Jakub Jelinek <jakub@redhat.com> |
12174 | ||
12175 | * config/i386/sse.md (*avx2_gatherdi<mode>_3, *avx2_gatherdi<mode>_4): | |
12176 | New patterns. | |
12177 | ||
8136e769 | 12178 | 2012-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
12179 | ||
12180 | * expr.h (move_by_pieces_ninsns): Declare. | |
12181 | * expr.c (move_by_pieces_ninsns): Make external. | |
12182 | * config/mips/mips-protos.h (mips_move_by_pieces_p): Declare. | |
12183 | (mips_store_by_pieces_p): Likewise. | |
12184 | * config/mips/mips.h (MOVE_BY_PIECES_P): Call mips_move_by_pieces_p. | |
12185 | (STORE_BY_PIECES_P): Likewise mips_store_by_pieces_p. | |
12186 | * config/mips/mips.c (mips_move_by_pieces_p): New function. | |
12187 | (mips_store_by_pieces_p): Likewise. | |
12188 | ||
364360b8 | 12189 | 2012-01-02 Jakub Jelinek <jakub@redhat.com> |
12190 | ||
12191 | * passes.c (register_one_dump_file): Free full_name. | |
12192 | ||
87f78f87 | 12193 | * reload1.c (reload): Don't allocate reg_max_ref_width here. |
364360b8 | 12194 | (calculate_elim_costs_all_insns): Free offsets_at and |
12195 | offsets_known_at at the end and clear the pointers. | |
12196 | ||
5a1d0410 | 12197 | 2012-01-02 Georg-Johann Lay <avr@gjlay.de> |
12198 | ||
12199 | * config/avr/avr.opt (-mbranch-cost): Fix double definition of | |
12200 | this option introduced in r180739. | |
12201 | ||
b32bc361 | 12202 | 2012-01-02 Georg-Johann Lay <avr@gjlay.de> |
12203 | ||
12204 | PR target/51345 | |
12205 | * config.gcc (tm_file target=avr]): Add avr/avr-multilib.h | |
12206 | (tmake_file target=avr): Add avr/t-multilib. | |
12207 | ||
12208 | * config/avr/avr-c.c (avr_cpu_cpp_builtins): Use AVR_HAVE_8BIT_SP | |
12209 | to built-in define __AVR_HAVE_8BIT_SP__, __AVR_HAVE_16BIT_SP__. | |
12210 | * config/avr/genmultilib.awk: New file. | |
12211 | * config/avr/t-multilib: New auto-generated file. | |
12212 | * config/avr/multilib.h: New auto-generated file. | |
12213 | * config/avr/t-avr (AVR_MCUS): New variable. | |
12214 | (genopt.sh): Use it. | |
12215 | (s-mlib): Depend on t-multilib. | |
12216 | (t-multilib, multilib.h): New dependencies. | |
12217 | (s-avr-mlib): New rule to build t-multilib, multilib.h from AVR_MCUS. | |
12218 | (MULTILIB_OPTIONS): Remove. | |
12219 | (MULTILIB_MATCHES): Remove. | |
12220 | (MULTILIB_DIRNAMES): Remove. | |
12221 | (MULTILIB_EXCEPTIONS): Remove: | |
12222 | * config/avr/genopt.sh: Don't use hard coded file name; | |
12223 | pass AVR_MCUS from t-avr instead. | |
12224 | ||
8e8ae8d4 | 12225 | 2012-01-02 Georg-Johann Lay <avr@gjlay.de> |
12226 | ||
12227 | * config/avr/avr.c (avr_out_ashrpsi3): Fix "case 31" to "case 23". | |
12228 | ||
83921eda | 12229 | 2012-01-02 Georg-Johann Lay <avr@gjlay.de> |
12230 | ||
12231 | Implement light-weight DImode support. | |
12232 | * config/avr/avr-dimode.md: New file. | |
12233 | * config/avr/avr.md: Include it. | |
12234 | (adjust_len): Add plus64, compare64. | |
12235 | (HIDI): Remove code iterator. | |
12236 | (code_stdname): New code attribute. | |
12237 | (rotx, rotsmode): Remove DI. | |
12238 | (rotl<mode>3, *rotw<mode>, *rotb<mode>): Use HISI instead of HIDI | |
12239 | as code iterator. | |
12240 | * config/avr/avr-protos.h (avr_have_dimode): New. | |
12241 | (avr_out_plus64, avr_out_compare64): New. | |
12242 | * config/avr/avr.c (avr_out_compare): Handle DImode. | |
12243 | (avr_have_dimode): New variable definition and initialization. | |
12244 | (avr_out_compare64, avr_out_plus64): New functions. | |
12245 | (avr_out_plus_1): Use simplify_unary_operation to negate xval. | |
12246 | (adjust_insn_length): Handle ADJUST_LEN_COMPARE64, ADJUST_LEN_PLUS64. | |
12247 | (avr_compare_pattern): Skip DImode comparisons. | |
12248 | ||
238c43ff | 12249 | 2012-01-02 Revital Eres <revital.eres@linaro.org> |
12250 | ||
12251 | * ddg.c (def_has_ccmode_p): New function. | |
12252 | (add_cross_iteration_register_deps, | |
12253 | create_ddg_dep_from_intra_loop_link): Call it. | |
12254 | ||
0c0cdd6f | 12255 | 2012-01-02 Richard Guenther <rguenther@suse.de> |
12256 | ||
12257 | PR other/51679 | |
12258 | * invoke.texi (fassociative-math): Remove spurious paranthesis. | |
12259 | ||
ea87e586 | 12260 | 2012-01-01 Jakub Jelinek <jakub@redhat.com> |
12261 | ||
12262 | * gcc.c (process_command): Update copyright notice dates. | |
12263 | * gcov.c (print_version): Likewise. | |
12264 | * gcov-dump.c (print_version): Likewise. | |
12265 | * mips-tfile.c (main): Likewise. | |
12266 | * mips-tdump.c (main): Likewise. | |
12267 | ||
a1123047 | 12268 | 2012-01-01 Ira Rosen <irar@il.ibm.com> |
12269 | ||
12270 | PR tree-optimization/51704 | |
12271 | * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Check that | |
87f78f87 | 12272 | a use is inside the basic block or loop before accessing its vect info. |
a1123047 | 12273 | |
4d50c498 | 12274 | 2012-01-01 Jan Hubicka <jhjh@suse.cz> |
12275 | ||
12276 | PR rtl-optimization/51069 | |
12277 | * cfgloopmanip.c (remove_path): Removing path making irreducible | |
12278 | region unconditional makes BB part of the region. | |
12279 | ||
3064bb7b | 12280 | 2012-01-01 Jakub Jelinek <jakub@redhat.com> |
12281 | ||
12282 | PR tree-optimization/51683 | |
12283 | * tree-ssa-propagate.c (substitute_and_fold): Don't optimize away | |
12284 | calls with side-effects. | |
12285 | * tree-ssa-ccp.c (ccp_fold_stmt): Likewise. | |
7dfbd804 | 12286 | \f |
8dfa851a | 12287 | Copyright (C) 2012 Free Software Foundation, Inc. |
7dfbd804 | 12288 | |
12289 | Copying and distribution of this file, with or without modification, | |
12290 | are permitted in any medium without royalty provided the copyright | |
12291 | notice and this notice are preserved. |