]>
Commit | Line | Data |
---|---|---|
c192cee6 RO |
1 | 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2 | ||
3 | * Makefile.in (LIB2ADDEHDEP): Remove. | |
4 | * config/arm/t-bpabi (LIB2ADDEHDEP): Remove. | |
5 | * config/arm/t-symbian (LIB2ADDEHDEP): Remove. | |
6 | * config/picochip/t-picochip (LIB2ADDEHDEP): Remove. | |
7 | * config/t-darwin (LIB2ADDEHDEP): Remove. | |
8 | * config/t-freebsd (LIB2ADDEHDEP): Remove. | |
9 | * config/t-linux (LIB2ADDEHDEP): Remove. | |
10 | ||
d5828cc7 DN |
11 | 2011-06-03 Diego Novillo <dnovillo@google.com> |
12 | ||
13 | * lto-streamer-in.c (get_resolution): Move to lto/lto.c. | |
14 | (lto_register_var_decl_in_symtab): Likewise. | |
15 | (lto_register_function_decl_in_symtab): Likewise. | |
16 | (lto_read_tree): Move VAR_DECL and FUNCTION_DECL registration | |
17 | logic to lto_read_decls. | |
18 | ||
ee33b5f0 RO |
19 | 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
20 | ||
21 | * config/alpha/t-osf5: Remove. | |
22 | * config/alpha/t-osf-pthread: Remove. | |
23 | * config.gcc (alpha*-dec-osf5.1*): Set tmake_file to t-slibgcc-dummy. | |
24 | * mkmap-flat.awk: Handle osf_export for Tru64 UNIX linker -input file. | |
25 | ||
16868d84 JB |
26 | 2011-06-03 Julian Brown <julian@codesourcery.com> |
27 | ||
28 | * config/arm/arm-cores.def (strongarm, strongarm110, strongarm1100) | |
29 | (strongarm1110): Use strongarm tuning. | |
30 | * config/arm/arm-protos.h (tune_params): Add max_insns_skipped | |
31 | field. | |
32 | * config/arm/arm.c (arm_strongarm_tune): New. | |
33 | (arm_slowmul_tune, arm_fastmul_tune, arm_xscale_tune, arm_9e_tune) | |
34 | (arm_v6t2_tune, arm_cortex_tune, arm_cortex_a5_tune) | |
35 | (arm_cortex_a9_tune, arm_fa726te_tune): Add max_insns_skipped field | |
36 | setting, using previous defaults or 1 for Cortex-A5. | |
37 | (arm_option_override): Set max_insns_skipped from current tuning. | |
38 | ||
1cec1285 NS |
39 | 2011-06-03 Nathan Sidwell <nathan@codesourcery.com> |
40 | ||
41 | * doc/install.texi (Options specification): Document --with-specs. | |
42 | ||
eed55426 RR |
43 | 2011-06-02 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
44 | ||
45 | * config/arm/neon.md (orndi3_neon): Actually split it. | |
46 | ||
d5b6cc25 AO |
47 | 2011-06-02 Alexandre Oliva <aoliva@redhat.com> |
48 | ||
49 | * params.def (PARAM_MAX_VARTRACK_EXPR_DEPTH): Bump default to 10. | |
50 | * var-tracking.c (reverse_op): Limite recurse depth to 5. | |
51 | ||
2ba42841 AO |
52 | 2011-06-02 Alexandre Oliva <aoliva@redhat.com> |
53 | ||
54 | PR debug/47590 | |
55 | * target.def (delay_sched2, delay_vartrack): New. | |
56 | * doc/tm.texi.in: Update. | |
57 | * doc/tm.texi: Rebuild. | |
58 | * sched-rgn.c (gate_handle_sched2): Fail if delay_sched2. | |
59 | * var-tracking.c (gate_handle_var_tracking): Likewise. | |
60 | * config/bfin/bfin.c (bfin_flag_schedule_insns2): Drop. | |
61 | (bfin_flag_var_tracking): Drop. | |
62 | (output_file_start): Don't save and override flag_var_tracking. | |
63 | (bfin_option_override): Ditto flag_schedule_insns_after_reload. | |
64 | (bfin_reorg): Test original variables. | |
65 | (TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define. | |
66 | * config/ia64/ia64.c (ia64_flag_schedule_insns2): Drop. | |
67 | (ia64_flag_var_tracking): Drop. | |
68 | (TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define. | |
69 | (ia64_file_start): Don't save and override flag_var_tracking. | |
70 | (ia64_override_options_after_change): Ditto | |
71 | flag_schedule_insns_after_reload. | |
72 | (ia64_reorg): Test original variables. | |
73 | * config/picochip/picochip.c (picochip_flag_schedule_insns2): Drop. | |
74 | (picochip_flag_var_tracking): Drop. | |
75 | (TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define. | |
76 | (picochip_option_override): Don't save and override | |
77 | flag_schedule_insns_after_reload. | |
78 | (picochip_asm_file_start): Ditto flag_var_tracking. | |
79 | (picochip_reorg): Test original variables. | |
80 | * config/spu/spu.c (spu_flag_var_tracking): Drop. | |
81 | (TARGET_DELAY_VARTRACK): Define. | |
82 | (spu_var_tracking): New. | |
83 | (spu_machine_dependent_reorg): Call it. | |
84 | (asm_file_start): Don't save and override flag_var_tracking. | |
85 | ||
a700b5f0 KK |
86 | 2011-06-02 Kaz Kojima <kkojima@gcc.gnu.org> |
87 | ||
88 | PR target/49163 | |
89 | * config/sh/predicates.md (general_movsrc_operand): Return 0 | |
90 | for memory and memory subreg of which address is an invalid | |
91 | indexed address for QI and HImode. | |
92 | (general_movdst_operand): Likewise. | |
93 | ||
76015c34 EB |
94 | 2011-06-02 Eric Botcazou <ebotcazou@adacore.com> |
95 | ||
96 | * cse.c (cse_find_path): Refine change to exclude EDGE_ABNORMAL_CALL | |
97 | edges only, when there is a non-local label in the function. | |
98 | * postreload-gcse.c (bb_has_well_behaved_predecessors): Likewise. | |
99 | ||
4e76acd2 UB |
100 | 2011-06-02 Uros Bizjak <ubizjak@gmail.com> |
101 | ||
102 | * config/i386/constraints.md (Y3): New register constraint. | |
103 | * config/i386/sse.md (*vec_interleave_highv2df): Merge with | |
104 | *sse3_interleave_highv2df and *sse2_interleave_highv2df. | |
105 | (*vec_interleave_lowv2df): Merge with *sse3_interleave_lowv2df and | |
106 | *sse2_interleave_lowv2df. | |
107 | ||
288f605f JB |
108 | 2011-06-02 Julian Brown <julian@codesourcery.com> |
109 | ||
110 | * config/arm/arm-cores.def (cortex-a5): Use cortex_a5 tuning. | |
111 | * config/arm/arm.c (arm_cortex_a5_branch_cost): New. | |
112 | (arm_cortex_a5_tune): New. | |
113 | ||
7ec70105 JB |
114 | 2011-06-02 Julian Brown <julian@codesourcery.com> |
115 | ||
153668ec JB |
116 | * config/arm/arm-protos.h (tune_params): Add branch_cost hook. |
117 | * config/arm/arm.c (arm_default_branch_cost): New. | |
118 | (arm_slowmul_tune, arm_fastmul_tune, arm_xscale_tune, arm_9e_tune) | |
119 | (arm_v6t2_tune, arm_cortex_tune, arm_cortex_a9_tune) | |
120 | (arm_fa726_tune): Set branch_cost field using | |
121 | arm_default_branch_cost. | |
122 | * config/arm/arm.h (BRANCH_COST): Use branch_cost hook from | |
123 | current_tune structure. | |
124 | * dojump.c (tm_p.h): Include file. | |
125 | ||
126 | 2011-06-02 Julian Brown <julian@codesourcery.com> | |
127 | ||
128 | * config/arm/arm-cores.def (arm1156t2-s, arm1156t2f-s): Use v6t2 | |
129 | tuning. | |
7ec70105 JB |
130 | (cortex-a5, cortex-a8, cortex-a15, cortex-r4, cortex-r4f, cortex-m4) |
131 | (cortex-m3, cortex-m1, cortex-m0): Use cortex tuning. | |
132 | * config/arm/arm-protos.h (tune_params): Add prefer_constant_pool | |
133 | field. | |
134 | * config/arm/arm.c (arm_slowmul_tune, arm_fastmul_tune) | |
135 | (arm_xscale_tune, arm_9e_tune, arm_cortex_a9_tune) | |
136 | (arm_fa726te_tune): Add prefer_constant_pool setting. | |
137 | (arm_v6t2_tune, arm_cortex_tune): New. | |
138 | * config/arm/arm.h (TARGET_USE_MOVT): Make dependent on | |
139 | prefer_constant_pool setting. | |
140 | ||
aad61732 UB |
141 | 2011-06-02 Uros Bizjak <ubizjak@gmail.com> |
142 | ||
4e76acd2 UB |
143 | * config/i386/i386.c (standard_sse_constant_p) <case 1>: Simplify |
144 | switch statement. | |
aad61732 UB |
145 | * config/i386/i386.md (*movdf_internal_rex64) <case 8,9,10>: Ditto. |
146 | (*movdf_internal) <case 6,7,8>: Ditto. | |
147 | ||
4e76acd2 | 148 | * config/i386/constraints.md (Y4): New register constraint. |
aad61732 UB |
149 | * config/i386/sse.md (vec_set<mode>_0): Merge with |
150 | *vec_set<mode>_0_sse4_1 and *vec_set<mode>_0_sse2. | |
151 | (*vec_extractv2di_1): Merge from *vec_extractv2di_1_sse2 and | |
152 | *vec_extractv2di_1_sse. | |
153 | (*vec_concatv2di_rex64): Merge from *vec_concatv2di_rex64_sse4_1 | |
154 | and *vec_concatv2di_rex64_sse. | |
155 | ||
6e588138 SH |
156 | 2011-06-02 Stuart Henderson <shenders@gcc.gnu.org> |
157 | ||
158 | PR target/48807 | |
159 | * config/bfin/bfin.c (bfin_function_ok_for_sibcall): Check return value | |
160 | of cgraph_local_info for null before attempting to use it. | |
161 | ||
bc6d3f91 EB |
162 | 2011-06-02 Eric Botcazou <ebotcazou@adacore.com> |
163 | ||
164 | * function.h (struct stack_usage): Remove dynamic_alloc_count field. | |
165 | (current_function_dynamic_alloc_count): Delete. | |
166 | * builtins.c (expand_builtin_setjmp_setup): Do not set calls_setjmp. | |
167 | (expand_builtin_nonlocal_goto): Remove obsolete comment. | |
168 | (expand_builtin_update_setjmp_buf): Remove dead code. | |
169 | * cse.c (cse_find_path): Do not follow a single abnormal incoming edge. | |
170 | * explow.c (allocate_dynamic_stack_space): Remove SETJMP_VIA_SAVE_AREA | |
171 | support. | |
172 | * function.c (instantiate_virtual_regs): Likewise. | |
173 | * postreload-gcse.c (bb_has_well_behaved_predecessors): Return false | |
174 | for a block with a single abnormal incoming edge. | |
175 | * config/sparc/sparc.h (STACK_SAVEAREA_MODE): Define. | |
a21ede65 | 176 | (SETJMP_VIA_SAVE_AREA): Delete. |
bc6d3f91 EB |
177 | * config/sparc/sparc-protos.h (load_got_register): Declare. |
178 | * config/sparc/sparc.c (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Define. | |
179 | (load_got_register): Make global. | |
180 | (sparc_frame_pointer_required): Add 'static'. | |
181 | (sparc_can_eliminate): Likewise. Call sparc_frame_pointer_required. | |
182 | (sparc_builtin_setjmp_frame_value): New function. | |
183 | * config/sparc/sparc.md (UNSPECV_SETJMP): Remove. | |
184 | (save_stack_nonlocal): New expander. | |
185 | (restore_stack_nonlocal): Likewise. | |
186 | (nonlocal_goto): Remove modes, adjust predicates and reimplement. | |
187 | (nonlocal_goto_internal): New insn. | |
188 | (goto_handler_and_restore): Delete. | |
189 | (builtin_setjmp_setup): Likewise. | |
190 | (do_builtin_setjmp_setup): Likewise. | |
191 | (setjmp): Likewise. | |
192 | (builtin_setjmp_receiver): New expander. | |
193 | ||
69282fee DL |
194 | 2011-06-01 David Li <davidxl@google.com> |
195 | ||
196 | PR middle-end/49261 | |
197 | * tree-pretty-print.c (dump_function_header): Format cleanup. | |
198 | ||
e95873dd KK |
199 | 2011-06-01 Kaz Kojima <kkojima@gcc.gnu.org> |
200 | ||
201 | PR target/49238 | |
202 | * config/sh/sh.c (expand_cbranchdi4): Use a scratch register if | |
203 | needed when original operands are used for msw_skip comparison. | |
204 | ||
88c15821 JJ |
205 | 2011-06-01 Jakub Jelinek <jakub@redhat.com> |
206 | ||
207 | PR debug/49250 | |
208 | * var-tracking.c (add_uses, add_stores): Don't call | |
209 | cselib_subst_to_values on ENTRY_VALUE. | |
210 | ||
07233947 DN |
211 | 2011-06-01 Diego Novillo <dnovillo@google.com> |
212 | ||
213 | * lto-streamer-out.c (lto_output_ts_decl_with_vis_tree_pointers): Call | |
214 | output_record_start with LTO_null instead of output_zero. | |
215 | (lto_output_ts_binfo_tree_pointers): Likewise. | |
216 | (lto_output_tree): Likewise. | |
217 | (output_eh_try_list): Likewise. | |
218 | (output_eh_region): Likewise. | |
219 | (output_eh_lp): Likewise. | |
220 | (output_eh_regions): Likewise. | |
221 | (output_bb): Likewise. | |
222 | (output_function): Likewise. | |
223 | (output_unreferenced_globals): Likewise. | |
224 | * lto-streamer.h (enum LTO_tags): Reserve MAX_TREE_CODES | |
225 | instead of NUM_TREE_CODES. | |
226 | (lto_tag_is_tree_code_p): Check max value against MAX_TREE_CODES. | |
227 | (lto_output_int_in_range): Change << to >> when shifting VAL. | |
228 | ||
4ee3537a DN |
229 | 2011-06-01 Diego Novillo <dnovillo@google.com> |
230 | ||
231 | * lto-streamer-out.c (lto_output_ts_decl_non_common_tree_pointers): | |
232 | Remove assertion for DECL_SAVED_TREE in FUNCTION_DECL nodes. | |
233 | ||
02972eaf RS |
234 | 2011-06-01 Richard Sandiford <rdsandiford@googlemail.com> |
235 | ||
236 | PR target/45074 | |
237 | * optabs.h (valid_multiword_target_p): Declare. | |
238 | * expmed.c (extract_bit_field_1): Check valid_multiword_target_p when | |
239 | doing multi-word operations. | |
240 | * optabs.c (expand_binop): Likewise. | |
241 | (expand_doubleword_bswap): Likewise. | |
242 | (expand_absneg_bit): Likewise. | |
243 | (expand_unop): Likewise. | |
244 | (expand_copysign_bit): Likewise. | |
245 | (multiword_target_p): New function. | |
246 | ||
4d41c2d1 RS |
247 | 2011-06-01 Richard Sandiford <rdsandiford@googlemail.com> |
248 | ||
249 | PR rtl-optimization/48830 | |
250 | PR rtl-optimization/48808 | |
251 | PR rtl-optimization/48792 | |
252 | * reload.c (push_reload): Check contains_reg_of_mode. | |
253 | * reload1.c (strip_paradoxical_subreg): New function. | |
254 | (gen_reload_chain_without_interm_reg_p): Use it to handle | |
255 | paradoxical subregs. | |
256 | (emit_output_reload_insns, gen_reload): Likewise. | |
257 | ||
5f57dccb DL |
258 | 2011-06-01 David Li <davidxl@google.com> |
259 | ||
260 | * predict.c : Change pass name | |
261 | * ipa.c: Ditto. | |
262 | * dce.c: Ditto. | |
263 | * tree-profile.c: Ditto. | |
264 | * except.c: Ditto. | |
265 | ||
ea6cf778 DL |
266 | 2011-06-01 David Li <davidxl@google.com> |
267 | ||
268 | * tree-pretty-print.c (dump_function_header): New function. | |
269 | * final.c (rest_of_clean_state): Use header dumper. | |
270 | * tree-cfg.c (gimple_dump_cfg): Use header dumper. | |
271 | * passes.c (pass_init_dump_file): Use header dumper. | |
272 | ||
ebdc0d4b JJ |
273 | 2011-06-01 Jakub Jelinek <jakub@redhat.com> |
274 | ||
eeeb9b49 JJ |
275 | * dwarf2out.c (compare_loc_descriptor, scompare_loc_descriptor, |
276 | ucompare_loc_descriptor, minmax_loc_descriptor, clz_loc_descriptor, | |
277 | popcount_loc_descriptor, bswap_loc_descriptor, rotate_loc_descriptor): | |
278 | New functions. | |
279 | (mem_loc_descriptor): Use them. | |
280 | ||
ebdc0d4b JJ |
281 | * var-tracking.c (create_entry_value): New function. |
282 | (vt_add_function_parameter): Use it. | |
283 | ||
0699e415 RO |
284 | 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
285 | ||
286 | * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]: | |
287 | Include <signal.h>, <ucontext.h>. | |
288 | (sigill_caught): Define. | |
289 | (sigill_hdlr): New function. | |
290 | (set_fast_math) [!__x86_64__ && __sun__ && __svr4__]: Check if SSE | |
291 | insns can be executed. | |
aad61732 | 292 | * config/sol2.h (ENDFILE_SPEC): Use crtfastmath.o if -ffast-math etc. |
0699e415 RO |
293 | * config/sparc/sol2.h (ENDFILE_SPEC): Remove. |
294 | ||
ca24c5ad RO |
295 | 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
296 | ||
297 | * config/t-slibgcc-darwin: Move to ... | |
aad61732 | 298 | * config/t-slibgcc-dummy: ... this. Clarify comments. |
ca24c5ad RO |
299 | * config.gcc (i[34567]86-*-darwin*, x86_64-*-darwin*, |
300 | powerpc-*-darwin*, powerpc64-*-darwin*): Reflect this. | |
301 | (i[3456x]86-*-netware*): Add t-slibgcc-dummy to tmake_file. | |
aad61732 | 302 | (i[34567]86-*-rtems*): Remove extra_parts. Use i386/t-rtems. |
ca24c5ad RO |
303 | Remove i386/t-crtstuff from tmake_file. |
304 | (i[34567]86-*-solaris2*): Remove t-svr4, | |
305 | t-slibgcc-elf-ver, t-slibgcc-sld from tmake_file, add | |
306 | t-slibgcc-dummy. | |
307 | (sparc-*-elf*, sparc64-*-elf*): Remove tmake_file, extra_parts. | |
308 | (sparc-*-rtems*, sparc64-*-rtems*): Remove sparc/t-crtin, | |
309 | sparc/t-crtfm from tmake_file. | |
310 | (sparc*-*-solaris2*): Remove sparc/t-sol2, sparc/t-crtfm, | |
311 | t-slibgcc-elf-ver, t-slibgcc-sld, add t-slibgcc-dummy. | |
312 | Remove extra_parts. | |
313 | * config/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define. | |
314 | * config/i386/t-nwld (SHLIB_LINK): Remove. | |
315 | * config/i386/t-rtems-i386: Rename to ... | |
316 | * config/i386/t-rtems: ... this. | |
317 | ($(T)crti.o, $(T)crtn.o): Remove. | |
318 | (FPBIT, DPBIT, LIB2FUNCS_EXTRA): Remove. | |
319 | (dp-bit.c, fp-bit.c, xp-bit.c): Remove. | |
320 | (EXTRA_MULTILIB_PARTS, LIBGCC, INSTALL_LIBGCC): Remove. | |
321 | * config/i386/t-sol2-10 (LIBGCC, INSTALL_LIBGCC, | |
322 | EXTRA_MULTILIB_PARTS): Remove. | |
323 | * config/sparc/t-sol2-64: Likewise. | |
324 | * config/sparc/t-sol2: Remove. | |
325 | * config/sparc/t-crtin: Remove. | |
326 | * config/sparc/gmon-sol2.c: Move to ../libgcc/config. | |
327 | * config/i386/gmon-sol2.c: Remove. | |
328 | * config/i386/sol2-c1.asm: Move to ../libgcc/config/i386/sol2-c1.S. | |
329 | * config/i386/sol2-ci.asm: Move to ../libgcc/config/i386/sol2-ci.S. | |
330 | * config/i386/sol2-cn.asm: Move to ../libgcc/config/i386/sol2-cn.S. | |
331 | * config/i386/sol2-gc1.asm: Remove. | |
332 | * config/sparc/sol2-c1.asm: Move to ../libgcc/config/sparc/sol2-c1.S. | |
333 | * config/sparc/sol2-ci.asm: Move to ../libgcc/config/sparc/sol2-ci.S. | |
334 | * config/sparc/sol2-cn.asm: Move to ../libgcc/config/sparc/sol2-cn.S. | |
335 | * config/t-slibgcc-sld: Remove. | |
336 | ||
a78d13c3 JJ |
337 | 2011-06-01 Jakub Jelinek <jakub@redhat.com> |
338 | ||
339 | * dwarf2out.c (mem_loc_descriptor) <do_ucompare>: Call | |
340 | base_type_for_mode with op_mode instead of mode. | |
341 | ||
572070ef PB |
342 | 2011-06-01 Paul Brook <paul@cpodesourcery.com> |
343 | ||
344 | * config/arm/arm-cores.def: Add cortex-r5. Add DIV flags to | |
345 | Cortex-A15. | |
346 | * config/arm/arm-tune.md: Regenerate. | |
347 | * config/arm/arm-tables.opt: Regenerate. | |
348 | * config/arm/arm.c (FL_DIV): Rename... | |
349 | (FL_THUMB_DIV): ... to this. | |
350 | (FL_ARM_DIV): Define. | |
351 | (FL_FOR_ARCH7R, FL_FOR_ARCH7M): Use FL_THUMB_DIV. | |
352 | (arm_arch_hwdiv): Remove. | |
353 | (arm_arch_thumb_hwdiv, arm_arch_arm_hwdiv): New variables. | |
354 | (arm_issue_rate): Add cortexr5. | |
355 | * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Set | |
356 | __ARM_ARCH_EXT_IDIV__. | |
357 | (TARGET_IDIV): Define. | |
358 | (arm_arch_hwdiv): Remove. | |
359 | (arm_arch_arm_hwdiv, arm_arch_thumb_hwdiv): New prototypes. | |
360 | * config/arm/arm.md (tune_cortexr4): Add cortexr5. | |
361 | (divsi3, udivsi3): New patterns. | |
362 | * config/arm/thumb2.md (divsi3, udivsi3): Remove. | |
363 | * doc/invoke.texi: Document ARM -mcpu=cortex-r5 | |
364 | ||
11026b51 MJ |
365 | 2011-06-01 Martin Jambor <mjambor@suse.cz> |
366 | ||
367 | * ipa-utils.c (ipa_dfs_info): New field scc_no. | |
368 | * ipa-utils.c (searchc): Set scc_no. | |
369 | ||
b6156cf2 MJ |
370 | 2011-06-01 Martin Jambor <mjambor@suse.cz> |
371 | ||
372 | * ipa-utils.c (searchc_env): New field allow_overwritable. | |
373 | (searchc): do not ignore edges to overwritable nodes if indicated | |
374 | by env->allow_overwritable. | |
375 | (ipa_reduced_postorder): Set env.allow_overwritable. | |
376 | ||
6807da97 RG |
377 | 2011-06-01 Richard Guenther <rguenther@suse.de> |
378 | ||
379 | * tree.c (free_lang_data): Do not reset boolean_type_node nor | |
380 | char_type_node. | |
381 | * lto-streamer.c (lto_record_common_node): Take node pointer, | |
382 | do not register types. | |
383 | (lto_preload_common_nodes): Explicitly skip preloading nodes | |
384 | that differ between frontends. | |
385 | ||
66bd20e7 | 386 | 2011-05-31 Pat Haugen <pthaugen@us.ibm.com> |
ddaf42bc PH |
387 | |
388 | * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Remove vr0..vr2 from | |
389 | NON_FLOAT_REGS. | |
390 | ||
66bd20e7 | 391 | 2011-05-31 Pat Haugen <pthaugen@us.ibm.com> |
abdd692e PH |
392 | |
393 | * config/rs6000/rs6000.c (rs6000_register_move_cost): Preserve from | |
394 | parameter value for dump. Dump cost on outermost call only. | |
395 | (rs6000_memory_move_cost): Dump cost on outermost call only. | |
396 | ||
7351d8da JJ |
397 | 2011-05-31 Jakub Jelinek <jakub@redhat.com> |
398 | ||
ead7c399 JJ |
399 | * dwarf2out.c (resolve_addr_in_expr): Optimize away redundant |
400 | DW_OP_GNU_convert ops. | |
401 | ||
509f4495 JJ |
402 | * cselib.c (promote_debug_loc): Allow l->next non-NULL for |
403 | cselib_preserve_constants. | |
404 | (cselib_lookup_1): If cselib_preserve_constants, | |
405 | a new VALUE is being created for REG and there is a VALUE for the | |
406 | same register in wider mode, add another loc with lowpart SUBREG of | |
407 | the wider VALUE. | |
408 | (cselib_subst_to_values): Handle ENTRY_VALUE. | |
409 | * var-tracking.c (replace_expr_with_values): Return NULL for | |
410 | ENTRY_VALUE too. | |
411 | * dwarf2out.c (convert_descriptor_to_signed): New function. | |
412 | (mem_loc_descriptor) <case ZERO_EXTEND>: Optimize using DW_OP_and | |
413 | instead of two shifts. | |
414 | (mem_loc_descriptor) <do_shift>: ZERO_EXTEND second argument to | |
415 | the right mode if needed. | |
416 | (mem_loc_descriptor) <case MOD>: For typed ops just use DW_OP_mod. | |
417 | (mem_loc_descriptor) <case UNSIGNED_FIX>: Use | |
418 | convert_descriptor_to_signed. | |
419 | (mem_loc_descriptor) <case UDIV, CLZ, CTZ, FFS, POPCOUNT, PARITY, | |
420 | BSWAP, ROTATE, ROTATERT>: Handle these rtls. | |
421 | ||
7351d8da JJ |
422 | PR target/48688 |
423 | * config/i386/i386.md (*lea_general_4): New define_insn_and_split. | |
424 | ||
5cc93ee0 UB |
425 | 2011-05-31 Uros Bizjak <ubizjak@gmail.com> |
426 | ||
427 | * config/i386/i386.md: Use SWI248x instead of X87MODEI, SWI24 instead | |
428 | of X87MODEI12 and SWI48x instead of SSEMODEI24. | |
429 | (SWI248x): New mode iterator, rename from X87MODEI. | |
430 | (X87MODEI): Remove mode iterator. | |
431 | (X87MODEI12): Ditto. | |
432 | (SSEMODEI24): Ditto. | |
433 | ||
f0686e78 AO |
434 | 2011-05-31 Alexandre Oliva <aoliva@redhat.com> |
435 | ||
436 | * params.def (PARAM_MAX_VARTRACK_EXPR_DEPTH): New. | |
437 | * doc/invoke.texi: Document max-vartrack-expr-depth. | |
438 | * var-tracking.c (EXPR_DEPTH): New. | |
439 | (reverse_op, vt_expand_loc, vt_expand_loc_dummy): Use it. | |
440 | ||
f3308413 AO |
441 | 2011-05-31 Alexandre Oliva <aoliva@redhat.com> |
442 | ||
443 | * config/i386/i386.c (ix86_rtx_costs): Drop NEG from sub for FMA. | |
444 | * config/i386/sse.md: Add n to negated FMA pattern names. | |
445 | ||
28c14a04 AO |
446 | 2011-05-31 Alexandre Oliva <aoliva@redhat.com> |
447 | ||
448 | * gcc.c (driver_handle_option): Fix disabling of -fcompare-debug. | |
449 | ||
70efc82d AO |
450 | 2011-05-31 Alexandre Oliva <aoliva@redhat.com> |
451 | ||
5cc93ee0 | 452 | * gengtype-state.c (read_state_params_structs): Initialize previous. |
70efc82d | 453 | |
6ba5d856 UB |
454 | 2011-05-31 Uros Bizjak <ubizjak@gmail.com> |
455 | ||
456 | * config/i386/i386.md (*pushxf_nointeger): Merge alternatives 1 and 2. | |
457 | (FP push_operand splitters): Merge {TF,XF,DF}mode splitters. | |
458 | ||
459 | 2011-05-31 Uros Bizjak <ubizjak@gmail.com> | |
460 | ||
461 | * config/i386/i386.md (*movtf_internal): Avoid allocating general | |
462 | registers. Penalize F*r->o alternative to prevent partial memory | |
463 | stalls. Slightly penalize *roF->*r alternative. Generate SSE | |
464 | CONST_DOUBLE immediates when optimizing function for size. Do not move | |
465 | CONST_DOUBLEs directly to memory for !TARGET_MEMORY_MISMATCH_STALL. | |
466 | (*movxf_internal): Slightly penalize Yx*roF->Yx*r alternative. | |
467 | (*movdf_internal): Slightly penalize Yd*roF->Yd*r alternative. | |
468 | (*movdf_internal_rex64): Slightly penalize rm->r, F->m and r->m | |
469 | alternatives. | |
470 | (*movsf_internal): Slightly penalize rmF->r and Fr->m alternatives. | |
471 | ||
472 | (fp_register_operand splitters): Use fp_register_operand | |
473 | constraint. Do not use FP_REG_P in insn condition. | |
474 | (any_fp_register_operand splitters): Use any_fp_register_operand | |
475 | constraint. Do not use ANY_FP_REG_P in insn condition. | |
476 | ||
533c07c5 JH |
477 | 2011-05-31 Jan Hubicka <jh@suse.cz> |
478 | ||
479 | * cgraph.h (cgraph_inline_failed_t): Give enum a name | |
480 | * lto-cgraph.c (LDPR_NUM_KNOWN): New macro. | |
481 | (LTO_cgraph_tags): Add LTO_cgraph_last_tag. | |
482 | (lto_output_edge): Use output_enum and var_len_unsigned. | |
483 | (lto_output_varpool_node): Likewise. | |
484 | (input_overwrite_node): Do not take resolution parameter; | |
485 | extract it from a bitpack. | |
486 | (input_node): Do not read resolution; use input_enum and | |
487 | var_len_unsigned. | |
488 | (input_varpool_node): Likewise. | |
489 | (input_edge): Likewise. | |
490 | (input_cgraph_1): Likewise. | |
491 | ||
2611db71 RG |
492 | 2011-05-31 Richard Guenther <rguenther@suse.de> |
493 | ||
494 | * gimple.c (gimple_register_canonical_type): Do not register | |
495 | any types via gimple_register_type. | |
496 | ||
b9e57365 JH |
497 | 2011-05-31 Jan Hubicka <jh@suse.cz> |
498 | ||
499 | * lto-symtab.c (lto_symtab_merge_cgraph_nodes): Merge alias decl | |
500 | of thunks. | |
501 | ||
35979cc2 JJ |
502 | 2011-05-31 Jakub Jelinek <jakub@redhat.com> |
503 | ||
504 | PR rtl-optimization/49235 | |
505 | * tree-ssa-address.c (gen_addr_rtx): Ignore base if it is const0_rtx. | |
506 | (create_mem_ref_raw): Create MEM_REF even if base is INTEGER_CST. | |
507 | ||
8f7de592 IR |
508 | 2011-05-31 Ira Rosen <ira.rosen@linaro.org> |
509 | ||
510 | PR tree-optimization/49093 | |
511 | * tree-vect-data-refs.c (vect_analyze_data_refs): Fail for volatile | |
512 | data references. | |
513 | ||
8d8a3bda DS |
514 | 2011-05-31 Dodji Seketeli <dodji@redhat.com> |
515 | ||
516 | PR debug/49047 | |
517 | * dwarf2out.c (gen_subprogram_die): Emit linkage name attribute | |
6ba5d856 | 518 | for concrete functions containing the code of cloned functions. |
8d8a3bda | 519 | |
2e87621c RG |
520 | 2011-05-31 Richard Guenther <rguenther@suse.de> |
521 | ||
522 | * tree-ssa-forwprop.c (forward_propagate_into_comparison): Rename | |
523 | to ... | |
524 | (forward_propagate_into_comparison_1): ... this. | |
525 | (forward_propagate_comparison): Rename to ... | |
526 | (forward_propagate_into_comparison): ... this. Split out | |
527 | real forward propagation code to ... | |
528 | (forward_propagate_comparison): ... this. | |
529 | (forward_propagate_into_gimple_cond): Remove looping. | |
530 | (forward_propagate_into_cond): Likewise. | |
531 | (simplify_not_neg_expr): Return whether we have done something. | |
532 | (simplify_gimple_switch): Likewise. | |
533 | (tree_ssa_forward_propagate_single_use_vars): Rename to ... | |
534 | (ssa_forward_propagate_and_combine): ... this. Re-structure | |
535 | to do a forward forward-propagation walk on BBs and a backward | |
6ba5d856 | 536 | stmt combining walk on BBs. Consistently re-scan changed statements. |
2e87621c RG |
537 | (pass_forwprop): Adjust. |
538 | ||
5a880d5d ILT |
539 | 2011-05-30 Ian Lance Taylor <iant@google.com> |
540 | ||
541 | * godump.c (go_format_type): Correct length of name added to | |
542 | obstack for anonymous field. | |
543 | ||
5f133038 KK |
544 | 2011-05-30 Kaz Kojima <kkojima@gcc.gnu.org> |
545 | ||
546 | PR target/49186 | |
547 | * config/sh/sh.c (expand_cbranchdi4): Set msw_skip when the high | |
548 | part of the second operand is 0. | |
549 | ||
b17d5426 UB |
550 | 2011-05-30 Uros Bizjak <ubizjak@gmail.com> |
551 | ||
552 | * config/i386/i386.md (*movxf_internal): Penalize FYx*r->o alternative | |
553 | to prevent partial memory stalls. Do not move CONST_DOUBLEs directly | |
554 | to memory for !TARGET_MEMORY_MISMATCH_STALL. | |
555 | (*movdf_internal_rex64): Do not penalize F->r alternative. | |
6ba5d856 | 556 | (*movdf_internal): Penalize FYd*r->o alternative to prevent partial |
b17d5426 UB |
557 | memory stalls. Generate SSE and x87 CONST_DOUBLE immediates only |
558 | when optimizing function for size. Do not move CONST_DOUBLEs | |
559 | directly to memory for !TARGET_MEMORY_MISMATCH_STALL. | |
6ba5d856 UB |
560 | (FP move splitters): Merge {TF,XF,DF}mode splitters. Do not handle |
561 | SUBREGs. Do not check for MEM_P operands in the insn condition, | |
b17d5426 UB |
562 | check for ANY_FP_REGNO_P instead. |
563 | * config/i386/constraints.md (Yd): Enable GENERAL_REGS for | |
564 | TARGET_64BIT and for TARGET_INTEGER_DFMODE_MOVES when optimizing | |
565 | function for speed. | |
566 | * config/i386/i386.c (ix86_option_override_internal): Do not | |
567 | set TARGET_INTEGER_DFMODE_MOVES here. | |
568 | ||
a0cd843f L |
569 | 2011-05-30 H.J. Lu <hongjiu.lu@intel.com> |
570 | ||
571 | PR target/49168 | |
aad61732 | 572 | * config/i386/i386.md (*movtf_internal): Handle misaligned load/store. |
a0cd843f | 573 | |
006a5f38 JJ |
574 | 2011-05-30 Jakub Jelinek <jakub@redhat.com> |
575 | ||
576 | * dwarf2out.c (modified_type_die, gen_reference_type_die): Use | |
577 | DW_TAG_rvalue_reference_type even for | |
578 | -gdwarf-4 -fno-debug-types-section. | |
579 | ||
6e96f98a BS |
580 | 2011-05-30 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
581 | ||
582 | PR tree-optimization/46728 | |
583 | * tree-ssa-math-opts.c (build_and_insert_call): Reorder parms. | |
584 | (build_and_insert_binop): New. | |
585 | (gimple_expand_builtin_pow): Reorder args for | |
586 | build_and_insert_call; use build_and_insert_binop; add more | |
587 | optimizations for fractional exponents. | |
b17d5426 | 588 | |
4f60111f NF |
589 | 2011-05-30 Nathan Froyd <froydnj@gcc.gnu.org> |
590 | ||
591 | PR bootstrap/49190 | |
592 | ||
593 | Revert: | |
594 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> | |
595 | ||
596 | * tree.h (struct tree_identifier): Inherit from tree_typed, not | |
597 | tree_common. | |
598 | (HT_IDENT_TO_GCC_IDENT): Adjust for said change. | |
599 | * tree.c (initialize_tree_contains_struct): Mark TS_IDENTIFIER as | |
600 | TS_BASE instead of TS_COMMON. | |
601 | * varasm.c (assemble_name): Remove assert. | |
602 | ||
3fd7879d RS |
603 | 2011-05-30 Richard Sandiford <rdsandiford@googlemail.com> |
604 | ||
605 | * config.gcc: Keep obselete list sorted. | |
606 | ||
80060f7a JJ |
607 | 2011-05-30 Jakub Jelinek <jakub@redhat.com> |
608 | Eric Botcazou <ebotcazou@adacore.com> | |
609 | ||
610 | * var-tracking.c (vt_add_function_parameter): Remap incoming MEMs with | |
611 | crtl->args.internal_arg_pointer based address to arg_pointer_rtx if | |
612 | there is a DRAP register and arg_pointer_rtx is the CFA pointer. | |
613 | (vt_init_cfa_base): Don't equate cfa_base_rtx if stack was realigned. | |
614 | (vt_initialize): Initialize cfa_base_rtx if there is a DRAP register. | |
615 | ||
17e99cdb RG |
616 | 2011-05-30 Richard Guenther <rguenther@suse.de> |
617 | ||
618 | * gimple.c (gimple_types_compatible_p_1): Compare record | |
619 | and union type members properly. | |
620 | ||
42b05b6e RG |
621 | 2011-05-30 Richard Guenther <rguenther@suse.de> |
622 | ||
623 | PR tree-optimization/49210 | |
6ba5d856 UB |
624 | * ipa-split.c (split_function): Care for the case where the call |
625 | result is not trivially convertible to the result holding variable. | |
42b05b6e | 626 | |
f3321158 RG |
627 | 2011-05-30 Richard Guenther <rguenther@suse.de> |
628 | ||
629 | PR tree-optimization/49218 | |
630 | * tree-vrp.c (adjust_range_with_scev): Properly check whether | |
631 | overflow occured. | |
632 | ||
d12d8efe RG |
633 | 2011-05-30 Richard Guenther <rguenther@suse.de> |
634 | ||
635 | * tree-ssa-forwprop.c (forward_propagate_into_comparison): | |
636 | New function split out from ... | |
637 | (forward_propagate_into_gimple_cond): ... here. Adjust. | |
638 | (forward_propagate_into_cond): Likewise. | |
639 | (forward_propagate_comparison): Also propagate into | |
640 | comparisons on assignment RHS. Change return value to | |
641 | behave similar to forward_propagate_into_cond. | |
642 | (tree_ssa_forward_propagate_single_use_vars): Handle | |
643 | strict-overflow warnings properly for forward_propagate_comparison. | |
644 | ||
df33b41f RO |
645 | 2011-05-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
646 | ||
647 | * configure.ac (gcc_cv_lto_plugin): Determine lto plugin support | |
648 | from plugin linker. | |
649 | * configure: Regenerate. | |
650 | ||
69940d4d IR |
651 | 2011-05-30 Ira Rosen <ira.rosen@linaro.org> |
652 | ||
653 | PR tree-optimization/49199 | |
654 | * tree-vect-loop.c (vect_is_slp_reduction): Check that the | |
b17d5426 | 655 | non-reduction operands are either defined in the loop or by induction. |
69940d4d | 656 | |
226c52aa XDL |
657 | 2011-05-29 Xinliang David Li <davidxl@google.com> |
658 | ||
659 | * opts-global.c (handle_common_deferred_options): Handle new options. | |
660 | * passes.c (register_one_dump_file): Call register_pass_name. | |
661 | (execute_one_pass): Check explicit enable/disable flag. | |
662 | (passr_hash): New function. | |
663 | (passr_eq): Ditto. | |
664 | (register_pass_name): Ditto. | |
665 | (get_pass_by_name): Ditto. | |
666 | (pass_hash): Ditto. | |
667 | (pass_eq): Ditto. | |
668 | (enable_pass): Ditto. | |
669 | (disable_pass): Ditto. | |
670 | (is_pass_explicitly_enabled_or_disabled): Ditto. | |
671 | ||
491d8eed UB |
672 | 2011-05-29 Uros Bizjak <ubizjak@gmail.com> |
673 | ||
674 | * config/i386/i386.md (*movoi_internal_avx): Use | |
675 | standard_sse_constant_opcode for alternative 0. | |
676 | (*movti_internal_sse): Ditto. | |
677 | (*movti_internal_rex64): Use standard_sse_constant_opcode for | |
678 | alternative 2. | |
679 | (*movdi_internal_rex64): Use standard_sse_constant_opcode for | |
680 | sselog1 type moves. | |
681 | (*movsi_internal): Ditto. | |
682 | (*movdi_internal): Ditto. Add ssecvt type moves. | |
683 | ||
eb93b31f EB |
684 | 2011-05-29 Eric Botcazou <ebotcazou@adacore.com> |
685 | ||
686 | PR target/48830 | |
687 | * rtlanal.c (simplify_subreg_regno): Adjust comment. | |
688 | ||
3f831b7d JJ |
689 | 2011-05-29 Jakub Jelinek <jakub@redhat.com> |
690 | ||
691 | PR rtl-optimization/49095 | |
692 | * config/i386/predicates.md (plusminuslogic_operator): New predicate. | |
693 | * config/i386/i386.md: Add peepholes for mem {+,-,&,|,^}= x; mem != 0. | |
694 | ||
ee3ee488 RS |
695 | 2011-05-29 Richard Sandiford <rdsandiford@googlemail.com> |
696 | ||
697 | PR target/43995 | |
698 | * config/mips/mips.c (mips_pic_call_symbol_from_set): Add a | |
699 | recurse_p argument. Only follow register copies if it is set, | |
700 | and prevent mips_find_pic_call_symbol from recursing. | |
701 | (mips_find_pic_call_symbol): Add a recurse_p argument. | |
702 | Pass it to mips_pic_call_symbol_from_set. | |
703 | (mips_annotate_pic_calls): Update accordingly. | |
704 | ||
65f3dedb RS |
705 | 2011-05-29 Richard Sandiford <rdsandiford@googlemail.com> |
706 | ||
707 | * emit-rtl.c (try_split): Use a loop to search for | |
708 | NOTE_INSN_CALL_ARG_LOCATIONs. | |
709 | ||
61e374ab RG |
710 | 2011-05-29 Richard Guenther <rguenther@suse.de> |
711 | ||
712 | PR tree-optimization/49217 | |
713 | * ipa-pure-const.c (propagate_pure_const): Fix typos. | |
714 | ||
fac009a8 JH |
715 | 2011-05-28 Jan Hubicka <jh@suse.cz> |
716 | ||
717 | * lto-streamer-out.c (hash_string_slot_node): Hash string based on its | |
718 | length. | |
719 | (string_slot_free): Remove | |
720 | (create_output_block): Initialize obstack. | |
721 | (destroy_output_block): Free obstack. | |
722 | (lto_string_index): Add PERSISTENT parameter; do not duplicate | |
723 | the string unless it needs to be added into the hash. | |
724 | (lto_output_string_with_length): Add persistent attribute; | |
725 | handle NULL strings. | |
726 | (lto_output_string): Add PERSISTENT parameter. | |
727 | (output_string_cst, output_identifier): Simplify. | |
728 | (lto_output_location_bitpack): Update. | |
729 | (lto_output_builtin_tree): Update. | |
730 | * lto-streamer.h (struct output_block): Add obstack. | |
491d8eed UB |
731 | (lto_output_string, lto_output_string_with_length): Remove |
732 | declarations; functions are static now. | |
fac009a8 | 733 | |
fa766006 JH |
734 | 2011-05-28 Jan Hubicka <jh@suse.cz> |
735 | ||
736 | * lto-streamer-out.c (pack_ts_fixed_cst_value_fields, | |
737 | pack_ts_decl_common_value_fields, pack_ts_decl_with_vis_value_fields, | |
738 | pack_ts_function_decl_value_fields, lto_output_builtin_tree, | |
739 | output_cfg, output_gimple_stmt): Use enum and variable length i/o. | |
740 | * lto-streamer-in.c (input_cfg, input_gimple_stmt, | |
741 | unpack_ts_fixed_cst_value_fields, unpack_ts_decl_common_value_fields, | |
742 | unpack_ts_decl_with_vis_value_fields, | |
743 | unpack_ts_type_common_value_fields, unpack_ts_block_value_fields, | |
744 | lto_get_builtin_tree): Use enum and variable length i/o. | |
745 | * basic-block.h (profile_status_d): Add PROFILE_LAST. | |
746 | * lto-streamer.h (bp_pack_int_in_range, bp_unpack_int_in_range): | |
747 | New functions. | |
748 | (bp_pack_enum, bp_unpack_enum): New macros. | |
749 | ||
e092158b RS |
750 | 2011-05-28 Richard Sandiford <rdsandiford@googlemail.com> |
751 | ||
752 | * genrecog.c: Remove redundant forward declarations. | |
753 | ||
7ca2afa0 RS |
754 | 2011-05-28 Richard Sandiford <rdsandiford@googlemail.com> |
755 | ||
756 | * config.gcc: Deprecate mips*-*-openbsd*. | |
757 | ||
a601a53a RS |
758 | 2011-05-28 Richard Sandiford <rdsandiford@googlemail.com> |
759 | ||
760 | PR bootstrap/49195 | |
761 | * genrecog.c (add_to_sequence): Use XEXP rather than XVECEXP | |
762 | for match_op_dup. | |
763 | ||
fc64b448 AP |
764 | 2011-05-27 Andrew Pinski <pinskia@gmail.com> |
765 | ||
766 | PR middle-end/48981 | |
767 | * gengtype.c (vec_prefix_type): New function. | |
768 | (note_def_vec): Use vec_prefix_type and change the length | |
769 | attribute to be based on the prefix. | |
770 | * vec.c: Include coretypes.h before vec.h. | |
771 | (struct vec_prefix): Remove. | |
772 | (vec_gc_p_reserve): Change the offsetof to sizeof. | |
773 | (vec_gc_p_reserve_exact): Likewise. | |
774 | (vec_heap_p_reserve): Likewise. | |
775 | (vec_heap_p_reserve_exact): Likewise. | |
776 | (vec_stack_o_reserve_1): Copy from +1 instead of from vec. | |
777 | (vec_stack_p_reserve): Change the offsetof to sizeof. | |
778 | (vec_stack_p_reserve_exact): Likewise. | |
779 | * vec.h (struct vec_prefix): New struct definition. | |
780 | (VEC_T(T,B)): Use vec_prefix instead of having num/alloc fields. | |
781 | (VEC_T_GTY(T,B)): Likewise. | |
782 | (DEF_VEC_FUNC_P(T)): Use prefix field. | |
783 | (DEF_VEC_NONALLOC_FUNCS_O(T,A)): Likewise. | |
784 | (DEF_VEC_NONALLOC_FUNCS_I(T,A)): Likewise. | |
785 | ||
ba869341 BS |
786 | 2011-05-27 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
787 | ||
788 | PR tree-optimization/46728 | |
789 | * tree-ssa-math-opts.c (powi_as_mults_1): Add gimple_set_location. | |
790 | (powi_as_mults): Add gimple_set_location. | |
791 | (build_and_insert_call): New. | |
792 | (gimple_expand_builtin_pow): Add handling for pow(x,y) when y is | |
793 | 0.5, 0.25, 0.75, 1./3., or 1./6. | |
491d8eed | 794 | |
d296760d AM |
795 | 2011-05-27 Alexander Monakov <amonakov@ispras.ru> |
796 | ||
797 | * doc/contrib.texi: Update copyright years. | |
798 | (Contributors): Add Zdenek Sojka. | |
799 | ||
38e01f9e NF |
800 | 2011-05-27 Nathan Froyd <froydnj@codesourcery.com> |
801 | ||
802 | * c-decl.c (c_push_function_context): Copy the current statement | |
803 | list stack. | |
804 | (add_stmt): Check building_stmt_list_p and push_stmt if necessary. | |
805 | (finish_struct): Call building_stmt_list_p instead of checking | |
806 | cur_stmt_list. | |
807 | * c-parser.c (c_parser_postfix_expression): Likewise. | |
808 | * c-typeck.c (c_end_compound_stmt): Likewise. | |
809 | * print-tree.c (print_node) [STATEMENT_LIST]: Don't print TREE_CHAIN. | |
810 | * tree-iterator.c (stmt_list_cache): Change to a VEC. | |
811 | (alloc_stmt_list): Adjust for stmt_list_cache's new type. | |
812 | (free_stmt_list): Likewise. | |
813 | * tree.h (struct tree_statement_list): Include typed_tree instead | |
814 | of tree_common. | |
815 | * tree.c (initialize_tree_contains_struct): Mark TS_STATEMENT_LIST | |
816 | as TS_TYPED instead of TS_COMMON. | |
817 | ||
8950516e | 818 | 2011-05-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
66bd20e7 | 819 | Uros Bizjak <ubizjak@gmail.com> |
8950516e RO |
820 | |
821 | * configure.ac (gcc_cv_as_ix86_tlsgdplt): Check for @tlsgdplt | |
822 | (HAVE_AS_IX86_TLSGDPTL): Define. | |
823 | (gcc_cv_as_ix86_tlsldmplt): Check for @tlsldmplt. | |
824 | (HAVE_AS_IX86_TLSLDMPLT): Define. | |
825 | * configure: Regenerate. | |
826 | * config.in: Regenerate. | |
827 | * config/i386/i386.c (ix86_print_operand): Handle code 'p'. | |
828 | * config/i386/i386.md (*tls_global_dynamic_32_gnu): If | |
829 | TARGET_SUN_TLS, use @tlsgdplt or @plt. | |
830 | (*tls_global_dynamic_64): Use @plt if TARGET_SUN_TLS. | |
831 | (*tls_local_dynamic_base_32_gnu): If TARGET_SUN_TLS, use | |
832 | @tlsldmplt or @plt. | |
833 | (*tls_local_dynamic_base_64): Use @plt if TARGET_SUN_TLS. | |
834 | ||
b0bd15f7 BS |
835 | 2011-05-27 Bernd Schmidt <bernds@codesourcery.com> |
836 | ||
837 | * sched-int.h (struct _haifa_deps_insn_data): New members cond | |
838 | and reverse_cond. | |
839 | (INSN_COND, INSN_REVERSE_COND): New macros. | |
840 | * sched-deps.c (deps_analyze_insn): Call sched_get_condition_with_rev | |
841 | once. | |
842 | (sched_get_condition_with_rev): Cache the results, and look them up | |
843 | if possible. | |
844 | (sched_analyze_insn): Destroy INSN_COND of previous insns if they | |
845 | are clobbered by the current insn. | |
846 | * target.def (exposed_pipline): New sched data hook. | |
847 | * doc/tm.texi.in: TARGET_SCHED_EXPOSED_PIPELINE: Add hook. | |
848 | * doc/tm.texi: Regenerate. | |
849 | ||
fa65a9cf BS |
850 | 2011-05-27 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
851 | ||
852 | PR tree-optimization/49170 | |
853 | * tree-ssa-math-opts.c (execute_cse_sincos): Add checks for | |
854 | sincos or cexp. | |
b0bd15f7 | 855 | |
c2299dfe RG |
856 | 2011-05-27 Richard Guenther <rguenther@suse.de> |
857 | ||
858 | PR middle-end/49189 | |
859 | * fold-const.c (fold_unary_loc): Do not re-fold folding conversions | |
860 | of comparisons. | |
861 | ||
a95b23b4 BS |
862 | 2011-05-27 Bernd Schmidt <bernds@codesourcery.com> |
863 | ||
864 | * haifa-sched.c (sched_scan_info): Remove. | |
865 | (schedule_block): Call sched_extend_luids rather than sched_init_luids | |
866 | with NULL args. | |
867 | (extend_bb, init_bb, extend_insn, init_insn, init_insns_in_bb): | |
868 | Remove functions. | |
869 | (sched_scan): Remove. | |
870 | (sched_extend_luids): Renamed from luids_extend_insn and no longer | |
871 | static. All callers changed. | |
872 | (sched_init_insn_luid): Renamed from luids_init_insn and no longer | |
873 | static. All callers changed. | |
874 | (sched_init_luids): Remove all arguments except the first. All | |
875 | callers changed. Don't use sched_scan. | |
876 | (haifa_init_h_i_d): Likewise. | |
877 | (haifa_init_insn): Call sched_extend_luids and sched_init_insn_luid | |
878 | manually rather than using sched_init_luids. Likewise with | |
879 | extend_h_i_d, init_h_i_d and haifa_init_h_i_d. | |
880 | * sel-sched.c (sel_region_target_finish): Call sched_extend_luids | |
881 | rather than sched_init_luids with NULL args. | |
882 | * sel-sched-ir.c (new_insns): Remove variable. | |
883 | (sched_scan): New static function, previously in haifa-sched.c. Remove | |
884 | all arguments but the first two; all callers changed. | |
885 | (sel_init_new_insn): Call sched_extend_luids and sched_init_insn_luid | |
886 | rather than sched_init_luids. | |
887 | (sel_init_bbs): Remove second argument. All callers changed. | |
888 | (sel_add_bb): Call sched_extend_luids rather than sched_init_luids | |
889 | with NULL arguments. | |
890 | (create_insn_rtx_from_pattern): Likewise. | |
891 | * sel-sched-ir.h (sel_init_bbs): Adjust declaration. | |
892 | * sched-int.h (sched_init_luids, haifa_init_h_i_d): Likewise. | |
893 | (sched_init_insn_luid, sched_extend_luids): Declare. | |
894 | (sched_scan_info_def, sched_scan_info, sched_scan): Remove | |
895 | declarations. | |
896 | ||
f8f972fc RB |
897 | 2011-05-27 Richard Guenther <rguenther@suse.de> |
898 | ||
899 | PR middle-end/49177 | |
900 | * fold-const.c (fold_unary_loc): Fold (T)(A CMP B) to | |
901 | A CMP B ? (T) true : (T) false for non-integral types T again. | |
902 | ||
51a9ed47 JH |
903 | 2011-05-27 Jan Hubicka <jh@suse.cz> |
904 | ||
905 | * lto-streamer-out.c (lto_string_index): break out from...; offset by 1 | |
906 | so 0 means NULL string. | |
907 | (lto_output_string_with_length): ... here. | |
f8f972fc RB |
908 | (lto_output_string, output_string_cst, output_identifier): Update |
909 | handling of NULL strings. | |
51a9ed47 JH |
910 | (lto_output_location_bitpack): New function. |
911 | (lto_output_location): Use it. | |
912 | (lto_output_tree_ref): Use output_record_start. | |
f8f972fc RB |
913 | (pack_ts_type_common_value_fields): Pack aliagn & alias set in var |
914 | len values. | |
915 | * lto-streamer-in.c (string_for_index): Break out from ...; offset | |
916 | values by 1. | |
491d8eed | 917 | (input_string_internal): ... here; |
f8f972fc RB |
918 | (input_string_cst, input_identifier, lto_input_string): Update handling |
919 | of NULL strings. | |
51a9ed47 JH |
920 | (lto_input_location_bitpack): New function |
921 | (lto_input_location): Use it. | |
f8f972fc RB |
922 | (unpack_ts_type_common_value_fields): Pack align & alias in var len |
923 | values. | |
51a9ed47 JH |
924 | * lto-streamer.h (bp_pack_val_len_unsigned, bp_pack_val_len_int, |
925 | bp_unpack_val_len_unsigned, bp_unpack_val_len_int): Declare. | |
926 | (bp_pack_value): Sanity check the value range. | |
927 | * lto-section-in.c (bp_unpack_val_len_unsigned, bp_unpack_val_len_int): | |
928 | New functions. | |
929 | * lto-section-out.h (bp_pack_val_len_unsigned, bp_pack_val_len_int): | |
930 | New functions. | |
931 | ||
66bd20e7 | 932 | 2011-05-27 Hariharan Sandanagobalane <hariharan@picochip.com> |
dc38fc2e HS |
933 | |
934 | * config/picochip/picochip.c (reorder_var_tracking_notes): Drop | |
935 | call_arg_location instructions down the floor. | |
936 | ||
574e418a VM |
937 | 2011-05-26 Vladimir Makarov <vmakarov@redhat.com> |
938 | ||
939 | PR rtl-optimization/49154 | |
940 | * ira.c (setup_pressure_classes): Process class without sublcasses | |
941 | as a candidate for pressure classes. | |
942 | ||
6a1a787e RS |
943 | 2011-05-26 Richard Sandiford <rdsandiford@googlemail.com> |
944 | ||
945 | PR rtl-optimization/48575 | |
946 | * genrecog.c (position_type): New enum. | |
947 | (position): New structure. | |
948 | (decision): Use position structure instead of a string. | |
949 | (root_pos, peep2_insn_pos_list): New variables. | |
950 | (next_position, compare_positions): New functions. | |
951 | (new_decision): Use position structures instead of strings. | |
952 | (maybe_both_true): Likewise. | |
953 | (change_state): Likewise. | |
954 | (write_tree): Likewise. | |
955 | (make_insn_sequence): Likewise. | |
956 | ||
92e948a8 NF |
957 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> |
958 | ||
959 | * tree.c (initialize_tree_contains_struct): Mark TS_BLOCK as | |
960 | TS_BASE instead of TS_COMMON. | |
961 | (find_decls_types_r): Check for TS_TYPED structure before looking at | |
962 | TREE_TYPE. | |
963 | * tree.h (struct tree_block): Inherit from tree_base, not tree_common. | |
964 | Add chain field. | |
965 | (BLOCK_CHAIN): Use new chain field. | |
966 | ||
66bd20e7 | 967 | 2011-05-26 Pat Haugen <pthaugen@us.ibm.com> |
c61e40d3 PH |
968 | |
969 | * config/rs6000/rs6000.c (rs6000_register_move_cost): Make LR/CTR | |
970 | moves expensive on Power7 also. | |
971 | ||
1f498652 RG |
972 | 2011-05-26 Richard Guenther <rguenther@suse.de> |
973 | ||
974 | * fold-const.c (fold_unary_loc): Remove bogus code. | |
975 | ||
a2fc3e63 NF |
976 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> |
977 | ||
978 | * tree.h (struct tree_identifier): Inherit from tree_typed, not | |
979 | tree_common. | |
980 | (HT_IDENT_TO_GCC_IDENT): Adjust for said change. | |
981 | * tree.c (initialize_tree_contains_struct): Mark TS_IDENTIFIER as | |
982 | TS_BASE instead of TS_COMMON. | |
983 | * varasm.c (assemble_name): Remove assert. | |
984 | ||
d11bf18f BS |
985 | 2011-05-26 Bernd Schmidt <bernds@codesourcery.com> |
986 | ||
987 | * Makefile.in (srcdirify): Change order so that libgcc_objdir is | |
988 | substituted first. | |
989 | * libgcc-std.ver: Delete file. | |
990 | ||
ac8e1875 RG |
991 | 2011-05-26 Richard Guenther <rguenther@suse.de> |
992 | ||
993 | PR tree-optimization/48702 | |
994 | * tree-ssa-address.c (create_mem_ref_raw): Create MEM_REFs | |
995 | only when we know the base address is within bounds. | |
996 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Do not | |
997 | assume the base address of TARGET_MEM_REFs is in bounds. | |
998 | ||
7e32e652 RO |
999 | 2011-05-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1000 | ||
1001 | PR target/49099 | |
1002 | * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Wrap | |
1003 | declaration in TARGET_SOLARIS. | |
1004 | ||
66bd20e7 | 1005 | 2011-05-26 Hariharan Sandanagobalane <hariharan@picochip.com> |
43660e0b HS |
1006 | |
1007 | * config/picochip/picochip.md (cbranchhi4): No :CC for match_operator. | |
491d8eed | 1008 | The instruction is then expanded explicitly. |
43660e0b HS |
1009 | (supported_compare): Callable instruction. |
1010 | (compare): Likewise. | |
1011 | ||
1537737f JJ |
1012 | 2011-05-26 Jakub Jelinek <jakub@redhat.com> |
1013 | ||
1014 | PR c++/49165 | |
1015 | * gimplify.c (shortcut_cond_r): Don't special case | |
1016 | COND_EXPRs if they have void type on one of their arms. | |
1017 | ||
7b1ac803 BS |
1018 | 2011-05-26 Bernd Schmidt <bernds@codesourcery.com> |
1019 | ||
1020 | * haifa-sched.c (schedule-block): Reorder the inner scheduling loop | |
1021 | to reduce duplication, and to achieve a slightly more logical order | |
1022 | of operations. | |
1023 | ||
1aa9438f JJ |
1024 | 2011-05-26 Jakub Jelinek <jakub@redhat.com> |
1025 | ||
1026 | PR tree-optimization/49161 | |
1027 | * tree-vrp.c (struct case_info): New type. | |
1028 | (compare_case_labels): Sort case_info structs instead of | |
1029 | trees, and not primarily by CASE_LABEL uids but by | |
1030 | label_for_block indexes. | |
1031 | (find_switch_asserts): Put case labels into struct case_info | |
1032 | array instead of TREE_VEC, adjust sorting, compare label_for_block | |
1033 | values instead of CASE_LABELs. | |
1034 | ||
50fed7bf RR |
1035 | 2011-05-26 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
1036 | ||
1037 | * config/arm/neon.md ("orn<mode>3_neon"): Canonicalize not. | |
1038 | ("orndi3_neon"): Likewise. | |
1039 | ("bic<mode>3_neon"): Likewise. | |
1040 | ||
48df3fa6 IR |
1041 | 2011-05-26 Ira Rosen <ira.rosen@linaro.org> |
1042 | ||
1043 | PR tree-optimization/49038 | |
1044 | * tree-vect-loop-manip.c (vect_generate_tmps_on_preheader): | |
1045 | Ensure at least one epilogue iteration if required by data | |
1046 | accesses with gaps. | |
1047 | * tree-vectorizer.h (struct _loop_vec_info): Add new field | |
1048 | to mark loops that require peeling for gaps. | |
1049 | * tree-vect-loop.c (new_loop_vec_info): Initialize new field. | |
1050 | (vect_get_known_peeling_cost): Take peeling for gaps into | |
1051 | account. | |
1052 | (vect_transform_loop): Generate epilogue if required by data | |
1053 | access with gaps. | |
1054 | * tree-vect-data-refs.c (vect_analyze_group_access): Mark the | |
1055 | loop as requiring an epilogue if there are gaps in the end of | |
1056 | the strided group. | |
1057 | ||
53febcba ILT |
1058 | 2011-05-25 Ian Lance Taylor <iant@google.com> |
1059 | ||
1060 | * godump.c (go_format_type): Output the first field with a usable | |
1061 | Go type, if any. | |
1062 | ||
dbbc4d4c ILT |
1063 | 2011-05-25 Ian Lance Taylor <iant@google.com> |
1064 | ||
1065 | * godump.c (go_format_type): Check for invalid type names, pointer | |
1066 | target types, and struct field types. | |
1067 | ||
f03a5402 JM |
1068 | 2011-05-25 Jason Merrill <jason@redhat.com> |
1069 | ||
1070 | * print-tree.c (print_node): Only look at TREE_TYPE if TS_TYPED. | |
1071 | ||
c497c412 UB |
1072 | 2011-05-25 Uros Bizjak <ubizjak@gmail.com> |
1073 | ||
1074 | * config/i386/sse.md (*<sse>_maskcmp<mode>3_comm): New pattern. | |
1075 | ||
e470affe L |
1076 | 2011-05-25 H.J. Lu <hongjiu.lu@intel.com> |
1077 | ||
1078 | * config/i386/i386.md (*movqi_extv_1)): Put back | |
1079 | "register_operand" check in "type" calculation. | |
1080 | (*movqi_extzv_2): Likewise. | |
1081 | ||
6c81b2bc L |
1082 | 2011-05-25 H.J. Lu <hongjiu.lu@intel.com> |
1083 | ||
c497c412 | 1084 | * doc/extend.texi (X86 Built-in Functions): Update pause intrinsic. |
6c81b2bc | 1085 | |
0c007eb2 BS |
1086 | 2011-05-25 Bernd Schmidt <bernds@codesourcery.com> |
1087 | ||
1088 | PR bootstrap/49160 | |
1089 | * libgcc2.h (__powisf2, __powidf2, __powitf2, __powixf2, | |
1090 | __mulsc3, __muldc3, __mulxc3, __multc3, __divsc3, __divdc3, | |
1091 | __divxc3, __divtc3): Wrap definitions in #ifndef. | |
1092 | ||
521ca78e L |
1093 | 2011-05-25 H.J. Lu <hongjiu.lu@intel.com> |
1094 | ||
1095 | PR target/49142 | |
1096 | * config/i386/i386.md (*movqi_extv_1_rex64): Remove | |
1097 | "register_operand" check and replace q_regs_operand with | |
1098 | QIreg_operand in "type" calculation. | |
1099 | (*movqi_extv_1): Likewise. | |
1100 | (*movqi_extzv_2_rex64): Likewise. | |
1101 | (*movqi_extzv_2): Likewise. | |
1102 | ||
1103 | * config/i386/predicates.md (QIreg_operand): New. | |
1104 | ||
29f8b844 RG |
1105 | 2011-05-25 Richard Guenther <rguenther@suse.de> |
1106 | ||
1107 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Fix | |
1108 | type-based offset disambiguation, streamline MEM_REF and | |
1109 | TARGET_MEM_REF handling. | |
1110 | ||
74838de3 L |
1111 | 2011-05-25 H.J. Lu <hongjiu.lu@intel.com> |
1112 | ||
1113 | * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_PAUSE. | |
1114 | (bdesc_special_args): Add pause intrinsic. | |
1115 | ||
1116 | * config/i386/i386.md (UNSPEC_PAUSE): New. | |
1117 | (pause): Likewise. | |
1118 | (*pause): Likewise. | |
1119 | * config/i386/ia32intrin.h (__pause): Likewise. | |
1120 | ||
1121 | * doc/extend.texi (X86 Built-in Functions): Add documentation for | |
1122 | pause intrinsic. | |
1123 | ||
d24ad7d6 BS |
1124 | 2011-05-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
1125 | ||
1126 | PR tree-optimization/46728 | |
1127 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): New. | |
1128 | (execute_cse_sincos): Add switch case for BUILT_IN_POW. | |
c497c412 | 1129 | |
d9f8303f NF |
1130 | 2011-05-25 Nathan Froyd <froydnj@codesourcery.com> |
1131 | ||
1132 | * tree.h (struct tree_exp): Inherit from struct tree_typed. | |
1133 | * tree.c (initialize_tree_contains_struct): Mark TS_EXP as TS_TYPED | |
1134 | instead of TS_COMMON. | |
1135 | ||
cdbf4541 BS |
1136 | 2011-05-25 Bernd Schmidt <bernds@codesourcery.com> |
1137 | ||
1138 | * libgcc2.h (__NW, __NDW): Define using a __gnu_ prefix if | |
1139 | LIBGCC2_GNU_PREFIX is defined. | |
1140 | (__N): New macro. | |
1141 | (__powisf2, __powidf2, __powitf2, __powixf2, __bswapsi2, __bswapdi2, | |
1142 | __mulsc3, __muldc3, __mulxc3, __multc3, __divsc3, __divdc3, __divxc3, | |
1143 | __divtc3, __udiv_w_sdiv, __clear_cache, __enable_execute_stack, | |
1144 | __clz_tab): Define using __N. | |
1145 | (__absvsi2, __negvsi2, __addvsi3, __subvsi3, __mulvsi3): Likewise if | |
1146 | COMPAT_SIMODE_TRAPPING_ARITHMETIC. | |
1147 | * target.def (libfunc_gnu_prefix): New hook. | |
1148 | * doc/tm.texi.in (LIBGCC2_GNU_PREFIX): Document. | |
1149 | (TARGET_LIBFUNC_GNU_PREFIX): Add hook. | |
1150 | * doc/tm.texi: Regenerate. | |
1151 | * system.h (LIBGCC2_GNU_PREFIX): Poison. | |
1152 | * optabs.c (gen_libfunc): Take the libfunc_gnu_prefix hook into | |
1153 | account. | |
1154 | (gen_interclass_conv_libfunc, gen_intraclass_conv_libfunc): Likewise. | |
1155 | (init_optabs): Likewise for the bswap libfuncs. | |
1156 | * tree.c (build_common_builtin_nodes): Likewise for complex multiply | |
1157 | and divide. | |
1158 | * config/t-slibgcc-elf-ver (SHLIB_MAPFILES): Use $$(libgcc_objdir). | |
1159 | * config/t-slibgcc-sld (SHLIB_MAPFILES): Likewise. | |
1160 | * libgcc-std.ver: Remove. | |
1161 | * Makefile.in (srcdirify): Handle $$(libgcc_objdir). | |
1162 | * config/frv/t-linux (SHLIB_MAPFILES): Use $$(libgcc_objdir) for | |
1163 | libgcc-std.ver. | |
1164 | * config/i386/t-linux (SHLIB_MAPFILES): Likewise. | |
1165 | * config/mips/t-slibgcc-irix (SHLIB_MAPFILES): Likewise. | |
1166 | * config/rs6000/t-aix43 (SHLIB_MAPFILES): Likewise. | |
1167 | * config/rs6000/t-aix52 (SHLIB_MAPFILES): Likewise. | |
1168 | * config/sparc/t-linux (SHLIB_MAPFILES): Likewise. | |
1169 | * config/i386/t-linux (SHLIB_MAPFILES): Likewise. | |
1170 | * config/i386/t-linux (SHLIB_MAPFILES): Likewise. | |
1171 | * config/fixed-bit.h (FIXED_OP): Define differently depending on | |
1172 | LIBGCC2_GNU_PREFIX. All uses changed not to pass leading underscores. | |
1173 | (FIXED_CONVERT_OP, FIXED_CONVERT_OP2): Likewise. | |
1174 | ||
f242c0a5 JH |
1175 | 2011-05-25 Jan Hubicka <jh@suse.cz> |
1176 | ||
1177 | * lto-streamer-out.c (output_record_start): Use lto_output_enum | |
1178 | (lto_output_tree): Use output_record_start. | |
1179 | * lto-streamer-in.c (input_record_start): Use lto_input_enum | |
1180 | (lto_get_pickled_tree): Use input_record_start. | |
1181 | * lto-section-in.c (lto_section_overrun): Turn into fatal error. | |
1182 | (lto_value_range_error): New function. | |
1183 | * lto-streamer.h (lto_value_range_error): Declare. | |
1184 | (lto_output_int_in_range, lto_input_int_in_range): New functions. | |
1185 | (lto_output_enum, lto_input_enum): New macros. | |
1186 | ||
a11e0df4 EB |
1187 | 2011-05-25 Eric Botcazou <ebotcazou@adacore.com> |
1188 | ||
1189 | * common.opt (flag_stack_usage_info): New variable. | |
1190 | (-Wstack-usage): New option. | |
1191 | * doc/invoke.texi (Warning options): Document -Wstack-usage. | |
1192 | * opts.c (common_handle_option) <OPT_Wstack_usage_>: New case. | |
1193 | <OPT_fstack_usage>: Likewise. | |
1194 | * toplev.c (output_stack_usage): Handle -Wstack-usage. | |
1195 | * calls.c (expand_call): Test flag_stack_usage_info variable instead | |
1196 | of flag_stack_usage. | |
1197 | (emit_library_call_value_1): Likewise. | |
1198 | * explow.c (allocate_dynamic_stack_space): Likewise. | |
1199 | * function.c (instantiate_virtual_regs ): Likewise. | |
1200 | (prepare_function_start): Likewise. | |
1201 | (rest_of_handle_thread_prologue_and_epilogue): Likewise. | |
1202 | * config/alpha/alpha.c (alpha_expand_prologue): Likewise. | |
1203 | * config/arm/arm.c (arm_expand_prologue): Likewise. | |
1204 | (thumb1_expand_prologue): Likewise. | |
1205 | * config/avr/avr.c (expand_prologue): Likewise. | |
1206 | * config/i386/i386.c (ix86_expand_prologue): Likewise. | |
1207 | * config/ia64/ia64.c (ia64_expand_prologue): Likewise. | |
1208 | * config/m68k/m68k.c (m68k_expand_prologue): Likewise. | |
1209 | * config/mips/mips.c (mips_expand_prologue): Likewise. | |
1210 | * config/pa/pa.c (hppa_expand_prologue): Likewise. | |
1211 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Likewise. | |
1212 | * config/s390/s390.c (s390_emit_prologue): Likewise. | |
1213 | * config/sh/sh.c (sh_expand_prologue): Likewise. | |
1214 | * config/sparc/sparc.c (sparc_expand_prologue): Likewise. | |
1215 | * config/spu/spu.c (spu_expand_prologue): Likewise. | |
1216 | ||
e7cfe241 RG |
1217 | 2011-05-25 Richard Guenther <rguenther@suse.de> |
1218 | ||
1219 | * gimple.c (iterative_hash_canonical_type): Skip non-FIELD_DECLs. | |
1220 | (gimple_canonical_types_compatible_p): Likewise. | |
1221 | ||
c5235f4c JH |
1222 | 2011-05-25 Jan Hubicka <jh@suse.cz> |
1223 | ||
1224 | PR middle-end/49062 | |
1225 | * ipa.c (function_and_variable_visibility): Only add to same | |
1226 | comdat group list if DECL_ONE_ONLY. | |
1227 | ||
8242a0f6 AB |
1228 | 2011-05-25 Andrey Belevantsev <abel@ispras.ru> |
1229 | ||
1230 | PR rtl-optimization/49014 | |
1231 | * config/i386/athlon.md (athlon_ssecomi): Change type to ssecomi. | |
1232 | ||
642a011d JJ |
1233 | 2011-05-25 Jakub Jelinek <jakub@redhat.com> |
1234 | ||
1235 | PR target/49128 | |
1236 | * config/i386/driver-i386.c (host_detect_local_cpu): Fix a typo. | |
1237 | ||
30a435d8 VM |
1238 | 2011-05-24 Vladimir Makarov <vmakarov@redhat.com> |
1239 | ||
1240 | PR rtl-optimization/48757 | |
1241 | * ira-build.c (loop_with_eh_edge_p): Rename to | |
1242 | loop_with_complex_edge_p, check edges on complexity, make function | |
1243 | conditional. | |
1244 | (mark_loops_for_removal): Make call of loop_with_complex_edge_p | |
1245 | conditional. | |
1246 | ||
24d1bbc7 EB |
1247 | 2011-05-24 Eric Botcazou <ebotcazou@adacore.com> |
1248 | ||
1249 | * config/sparc/sparc.c (sparc_option_override): If not set by the user, | |
1250 | force flag_ira_share_save_slots to 0. | |
1251 | ||
65773087 EB |
1252 | 2011-05-24 Eric Botcazou <ebotcazou@adacore.com> |
1253 | ||
1254 | * var-tracking.c (compute_cfa_pointer): Adjust head comment. | |
1255 | (vt_initialize): Set PROLOGUE_BB unconditionally. | |
1256 | Add block comment about CFA_BASE_RTX machinery. | |
1257 | Reset FP_CFA_OFFSET to -1 on all invalid paths. | |
1258 | Call vt_init_cfa_base only if FP_CFA_OFFSET isn't equal to -1. | |
1259 | ||
4e26ba90 NP |
1260 | 2011-05-24 Nicola Pero <nicola.pero@meta-innovation.com> |
1261 | ||
1262 | PR objc/48187 | |
1263 | * c-parser.c (c_parser_objc_class_instance_variables): More robust | |
1264 | parsing of syntax error in ObjC instance variable lists. In | |
1265 | particular, avoid an infinite loop if there is a stray ']'. | |
1266 | Updated error message. | |
1267 | ||
936fd13c ILT |
1268 | 2011-05-24 Ian Lance Taylor <iant@google.com> |
1269 | ||
1270 | * godump.c (go_define): Don't accept a string immediately after | |
1271 | another operand. | |
1272 | ||
f17333e3 ILT |
1273 | 2011-05-24 Ian Lance Taylor <iant@google.com> |
1274 | ||
1275 | * godump.c (struct godump_container): Add invalid_hash field. | |
1276 | (go_format_type): Return false if type is found in invalid_hash. | |
1277 | (go_output_typedef): Add invalid type to invalid_hash. | |
1278 | (go_finish): Create and delete invalid_hash. | |
1279 | ||
d24ad7d6 | 1280 | 2011-05-24 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
c497c412 | 1281 | |
78be79d5 BS |
1282 | PR tree-optimization/46728 |
1283 | * tree-ssa-math-opts.c (powi_table): New. | |
1284 | (powi_lookup_cost): New. | |
1285 | (powi_cost): New. | |
1286 | (powi_as_mults_1): New. | |
1287 | (powi_as_mults): New. | |
1288 | (gimple_expand_builtin_powi): New. | |
1289 | (execute_cse_sincos): Add switch case for BUILT_IN_POWI. | |
1290 | (gate_cse_sincos): Remove sincos/cexp restriction. | |
f17333e3 | 1291 | |
caee412b RO |
1292 | 2011-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1293 | ||
1294 | PR target/3746 | |
1295 | * config.gcc (alpha*-dec-osf5.1*): Only build mips-tfile, | |
1296 | mips-tdump native. | |
1297 | * mips-tfile.c: Remove CROSS_DIRECTORY_STRUCTURE handling. | |
1298 | * mips-tdump.c: Likewise. | |
1299 | ||
5eed4f27 L |
1300 | 2011-05-24 H.J. Lu <hongjiu.lu@intel.com> |
1301 | ||
1302 | PR target/49128 | |
1303 | * config/i386/driver-i386.c (host_detect_local_cpu): Always | |
1304 | add -mno-XXX. Handle FMA. | |
1305 | ||
8c5fdaae VM |
1306 | 2011-05-24 Vladimir Makarov <vmakarov@redhat.com> |
1307 | ||
1308 | PR rtl-optimization/48633 | |
1309 | * ira-build.c (loop_with_eh_edge_p): New function. | |
1310 | (mark_loops_for_removal): Use it. | |
1311 | ||
1312 | 2011-05-24 Vladimir Makarov <vmakarov@redhat.com> | |
113a5be6 VM |
1313 | |
1314 | PR rtl-optimization/48971 | |
1315 | * ira.c (setup_pressure_classes): Don't check register move cost | |
1316 | for classes with one registers. Don't add pressure class if there | |
1317 | is a pressure class with the same available hard registers. | |
1318 | Check contains_reg_of_mode. Fix a typo in collecting | |
1319 | temp_hard_regset. Ignore hard registers not belonging to a class. | |
1320 | ||
df1f7315 UB |
1321 | 2011-05-24 Uros Bizjak <ubizjak@gmail.com> |
1322 | ||
1323 | PR target/49133 | |
1324 | * config/i386/sse.md (sse2_loadhpd): Remove shufpd alternative. | |
1325 | ||
ee0cb37c EB |
1326 | 2011-05-24 Eric Botcazou <ebotcazou@adacore.com> |
1327 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
1328 | ||
1329 | PR gcov-profile/48845 | |
1330 | * config/sol2.h (LIB_SPEC): Link TLS support for tree profiling. | |
1331 | ||
6a20ce76 RG |
1332 | 2011-05-24 Richard Guenther <rguenther@suse.de> |
1333 | ||
1334 | * gimple.c (compare_type_names_p): Remove for_completion_p arg. | |
1335 | (gimple_compatible_complete_and_incomplete_subtype_p): Remove. | |
1336 | (gimple_types_compatible_p_1): Adjust. | |
1337 | (iterative_hash_canonical_type): Do not bother about complete vs. | |
1338 | incomplete types. | |
1339 | (gimple_canonical_types_compatible_p): Likewise. | |
1340 | ||
2fcb858c RO |
1341 | 2011-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1342 | ||
1343 | * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Remove. | |
1344 | ||
96d91dcf RG |
1345 | 2011-05-24 Richard Guenther <rguenther@suse.de> |
1346 | ||
1347 | PR bootstrap/49078 | |
1348 | * gimple.c (gimple_register_canonical_type): Revert | |
1349 | previous change. | |
1350 | * alias.c (get_alias_set): Only assert that TYPE_CANONICAL | |
1351 | does not for a tree for the case where it matters. Cache | |
1352 | pointer-type alias-sets. | |
1353 | ||
1ed1641d JM |
1354 | 2011-05-24 Joseph Myers <joseph@codesourcery.com> |
1355 | ||
1356 | * Makefile.in (GCC_OBJS): Remove opts-common.o and options.o. | |
1357 | (OBJS): Remove options.o, opts-common.o and prefix.o. | |
1358 | (OBJS-libcommon-target): New. | |
1359 | (ALL_HOST_BACKEND_OBJS): Include $(OBJS-libcommon-target). | |
1360 | (BACKEND): Include libcommon-target.a. | |
1361 | (MOSTLYCLEANFILES): Include libcommon-target.a. | |
1362 | (libcommon-target.a): New. | |
1363 | (xgcc$(exeext), cpp$(exeext)): Use libcommon-target.a instead of | |
1364 | prefix.o. | |
1365 | ||
57dfdff0 JM |
1366 | 2011-05-23 Joseph Myers <joseph@codesourcery.com> |
1367 | ||
1368 | * optc-save-gen.awk: New. Based on optc-gen.awk. Don't generate | |
1369 | parts of output shared with the driver. | |
1370 | * optc-gen.awk: Don't generate parts of output not shared with the | |
1371 | driver. | |
1372 | * opth-gen.awk: Remove GCC_DRIVER conditionals. | |
1373 | * doc/options.texi (SourcerInclude): Mention options-save.c. | |
1374 | * Makefile.in (GCC_OBJS): Use options.o instead of gcc-options.o. | |
1375 | (OBJS): Add options-save.o. | |
1376 | (options-save.c, options-save.o): New. | |
1377 | (options.o): Update dependencies. | |
1378 | (gcc-options.o): Remove. | |
1379 | (mostlyclean): Remove options-save.c. | |
1380 | ||
0e0d82a7 JJ |
1381 | 2011-05-23 Jakub Jelinek <jakub@redhat.com> |
1382 | ||
9166988f JJ |
1383 | PR debug/49032 |
1384 | * dbxout.c: Include cgraph.h. | |
1385 | (dbxout_expand_expr): If a VAR_DECL is TREE_STATIC, not written | |
1386 | and without value expr, return NULL if no varpool node exists for | |
1387 | it or if it is not needed. | |
1388 | * Makefile.in (dbxout.o): Depend on $(CGRAPH_H). | |
1389 | ||
0e0d82a7 JJ |
1390 | PR c/49120 |
1391 | * c-decl.c (start_decl): Convert expr to void_type_node. | |
1392 | ||
65712d5c RS |
1393 | 2011-05-23 Richard Sandiford <rdsandiford@googlemail.com> |
1394 | ||
1395 | PR rtl-optimization/48826 | |
1396 | * emit-rtl.c (try_split): When splitting a call that is followed | |
1397 | by a NOTE_INSN_CALL_ARG_LOCATION, move the note after the new call. | |
1398 | ||
9025085e JJ |
1399 | 2011-05-23 Jakub Jelinek <jakub@redhat.com> |
1400 | ||
1401 | * cfgexpand.c (expand_debug_expr): For unused non-addressable | |
1402 | parameters passed in memory prefer using DECL_INCOMING_RTL over | |
1403 | the pseudos it will be copied into. | |
1404 | ||
34a061be L |
1405 | 2011-05-23 H.J. Lu <hongjiu.lu@intel.com> |
1406 | ||
1407 | PR target/47315 | |
1408 | * config/i386/i386.c (ix86_option_override_internal): Save the | |
1409 | initial options after checking vzeroupper. | |
1410 | ||
c375a3a4 DL |
1411 | 2011-05-23 David Li <davidxl@google.com> |
1412 | ||
1413 | PR tree-optimization/48988 | |
1414 | * tree-ssa-uninit.c (convert_control_dep_chain_into_preds): | |
1415 | Initialize has_valid_pred for each pred chain. | |
1416 | ||
e1caba18 RG |
1417 | 2011-05-23 Richard Guenther <rguenther@suse.de> |
1418 | ||
1419 | * gimple.c (gimple_types_compatible_p_1): Always compare type names. | |
1420 | (iterative_hash_gimple_type): Always hash type names. | |
1421 | ||
dde05067 NF |
1422 | 2011-05-23 Nathan Froyd <froydnj@codesourcery.com> |
1423 | ||
1424 | * c-typeck.c (build_function_call_vec): Tweak call to | |
1425 | check_function_arguments. | |
1426 | ||
094f6ab3 RG |
1427 | 2011-05-23 Richard Guenther <rguenther@suse.de> |
1428 | ||
1429 | PR tree-optimization/49115 | |
1430 | * tree-ssa-alias.c (stmt_kills_ref_p_1): If the assignment | |
1431 | is not necessarily carried out, do not claim it kills the ref. | |
1432 | * tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1): Likewise. | |
1433 | ||
9a9822e1 RG |
1434 | 2011-05-23 Richard Guenther <rguenther@suse.de> |
1435 | ||
1436 | PR middle-end/15419 | |
1437 | * builtins.c (fold_builtin_memory_op): Be less restrictive about | |
1438 | what pointer types we accept for folding. | |
1439 | ||
c8028650 RO |
1440 | 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1441 | ||
1442 | * gthr-gnat.c: Remove. | |
1443 | * gthr-gnat.h: Remove. | |
1444 | * Makefile.in (LIB2ADDEH): Remove $(srcdir)/gthr-gnat.c. | |
1445 | * config/t-freebsd (LIB2ADDEH): Likewise. | |
1446 | * config/t-linux (LIB2ADDEH): Likewise. | |
1447 | * config/t-sol2 (LIB2ADDEH): Likewise. | |
1448 | * config/ia64/t-vms (LIB2ADDEH): Likewise. | |
1449 | * configure.ac (target_thread_file): Remove gnat handling. | |
1450 | * configure: Regenerate. | |
1451 | * doc/install.texi (Configuration, --enable-threads): Remove gnat. | |
1452 | ||
15882fe9 TG |
1453 | 2011-05-23 Tristan Gingold <gingold@adacore.com> |
1454 | Eric Botcazou <ebotcazou@adacore.com> | |
1455 | ||
1456 | * gcov.c (create_file_names): If no object directory is specified, | |
1457 | keep the directory of the file. | |
1458 | ||
da90c957 RO |
1459 | 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1460 | ||
1461 | * configure.ac (enable_threads): Remove irix; add lynx, tpf; sort list. | |
1462 | * configure: Regenerate. | |
1463 | ||
7bba408b JJ |
1464 | 2011-05-23 Jakub Jelinek <jakub@redhat.com> |
1465 | ||
1466 | PR middle-end/48973 | |
1467 | * expr.c (expand_expr_real_2) <case LT_EXPR>: If do_store_flag | |
1468 | failed and the comparison has a single bit signed type, use | |
1469 | constm1_rtx instead of const1_rtx for true value. | |
1470 | (do_store_flag): If ops->type is single bit signed type, disable | |
1471 | signel bit test optimization and pass -1 instead of 1 as last | |
1472 | parameter to emit_store_flag_force. | |
1473 | ||
bc69f7ff TV |
1474 | 2011-05-23 Tom de Vries <tom@codesourcery.com> |
1475 | ||
1476 | PR target/45098 | |
1477 | * tree-ssa-loop-niter.c (infer_loop_bounds_from_pointer_arith): New | |
1478 | function. | |
1479 | (infer_loop_bounds_from_undefined): Use new function. | |
1480 | ||
29cedf8e RS |
1481 | 2011-05-22 Richard Sandiford <rdsandiford@googlemail.com> |
1482 | ||
1483 | * config/mips/mips.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Delete. | |
1484 | (ASM_SPEC): Add a -O* option here. Pass -O0 for -noasmopt, | |
1485 | -O1 for -fno-delayed-branch, -O2 if optimization is enabled, | |
1486 | and -O0 otherwise. | |
1487 | (EXTRA_SPECS): Remove subtarget_asm_optimizing_spec. | |
1488 | ||
afe8b6ec EB |
1489 | 2011-05-22 Eric Botcazou <ebotcazou@adacore.com> |
1490 | ||
1491 | * cfgcleanup.c (try_forward_edges): Do not update BB_FORWARDER_BLOCK. | |
1492 | (try_optimize_cfg): Update BB_FORWARDER_BLOCK if try_forward_edges | |
1493 | returns true. | |
1494 | ||
872dab53 RS |
1495 | 2011-05-22 Richard Sandiford <rdsandiford@googlemail.com> |
1496 | ||
1497 | * config/mips/mips.c (mips_default_arch): Honor MIPS_ISA_DEFAULT. | |
1498 | ||
145f6c5b EB |
1499 | 2011-05-22 Eric Botcazou <ebotcazou@adacore.com> |
1500 | ||
1501 | * config/sparc/sparc.c (sparc_delegitimize_address): Handle | |
1502 | UNSPEC_MOVE_PIC pattern. | |
1503 | ||
8ac79835 EB |
1504 | 2011-05-22 Eric Botcazou <ebotcazou@adacore.com> |
1505 | ||
1506 | * config.gcc (sparc-*-elf*): Add sparc/t-crtin. | |
1507 | (sparc-*-rtems*): Likewise. | |
1508 | (sparc64-*-elf*): Likewise. | |
1509 | (sparc64-*-rtems*): Likewise. | |
1510 | (sparc*-*-solaris2*): Likewise. Remove crti.o crtn.o extra parts. | |
1511 | * config/sparc/t-crtin: New file. | |
1512 | * config/sparc/t-sol2 (crti.o): Delete rule. | |
1513 | (crtn.o): Likewise. | |
1514 | * config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Delete. | |
1515 | * config/sparc/t-sol2-64 (EXTRA_MULTILIB_PARTS): Likewise. | |
1516 | * config/sparc/sp64-elf.h (STARTFILE_SPEC): Tidy and add crti.o. | |
1517 | (ENDFILE_SPEC): Add crtn.o. | |
1518 | ||
5fb43dd8 TV |
1519 | 2011-05-22 Tom de Vries <tom@codesourcery.com> |
1520 | ||
1521 | PR middle-end/48689 | |
1522 | * fold-const.c (fold_checksum_tree): Guard TREE_CHAIN use with | |
1523 | CODE_CONTAINS_STRUCT (TS_COMMON). | |
1524 | ||
ccb1b17b JJ |
1525 | 2011-05-22 Jakub Jelinek <jakub@redhat.com> |
1526 | ||
1527 | PR middle-end/49029 | |
1528 | * expmed.c (extract_fixed_bit_field): Test whether target can be used | |
1529 | only after deciding which mode to use. | |
1530 | ||
50ad7db2 TV |
1531 | 2011-05-22 Tom de Vries <tom@codesourcery.com> |
1532 | ||
1533 | PR target/45098 | |
dc0a3366 | 1534 | * tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Fix const test |
50ad7db2 TV |
1535 | for call to get_shiftadd_cost. |
1536 | ||
ef230b38 UB |
1537 | 2011-05-22 Uros Bizjak <ubizjak@gmail.com> |
1538 | ||
1539 | PR target/49104 | |
1540 | * config/i386/cpuid.h (bit_MMXEXT): New define. | |
1541 | ||
15f072f9 NC |
1542 | 2011-05-22 Nick Clifton <nickc@redhat.com> |
1543 | ||
1544 | * config/stormy16/stormy16.c (xstormy16_init_builtins): prevent | |
1545 | initialisation of non-existant args[2] element. Use args[] array | |
1546 | not arg[] array to pass arguments to build_function_type_list. | |
1547 | ||
e38fdc94 IR |
1548 | 2011-05-22 Ira Rosen <ira.rosen@linaro.org> |
1549 | ||
1550 | PR tree-optimization/49087 | |
ef230b38 | 1551 | * tree-vect-loop.c (vect_is_slp_reduction): Fail if LHS has no uses. |
e38fdc94 | 1552 | |
5b018c65 JM |
1553 | 2011-05-21 Jason Merrill <jason@redhat.com> |
1554 | ||
1555 | PR c++/49092 | |
1556 | * dwarf2out.c (tree_add_const_value_attribute_for_decl): Check for | |
1557 | static storage duration. | |
1558 | ||
abd9a770 EB |
1559 | 2011-05-21 Eric Botcazou <ebotcazou@adacore.com> |
1560 | ||
1561 | * config/sparc/sparc.md (setjmp): Handle PIC mode and use the hard | |
1562 | frame pointer. | |
1563 | ||
bd9a3248 EB |
1564 | 2011-05-21 Eric Botcazou <ebotcazou@adacore.com> |
1565 | ||
1566 | * config/sparc/sparc.c (eligible_for_return_delay): Do not return | |
1567 | false if there are call-saved registers here... | |
1568 | (sparc_can_use_return_insn_p): ...but here instead. | |
1569 | (save_or_restore_regs): Fix thinko. | |
1570 | (sparc_expand_prologue): Use current_function_is_leaf. | |
1571 | (sparc_frame_pointer_required): Likewise. | |
1572 | ||
a5dfec9a NC |
1573 | 2011-05-21 Nick Clifton <nickc@redhat.com> |
1574 | ||
1575 | PR target/49098 | |
1576 | * config/rx/rx.c (rx_memory_move_cost): Note unused parameters. | |
1577 | ||
555c3771 NP |
1578 | 2011-05-21 Nicola Pero <nicola.pero@meta-innovation.com> |
1579 | ||
1580 | * gengtype.c (walk_type): Implemented "atomic" GTY option. | |
1581 | * doc/gty.texi (GTY Options): Document "atomic" GTY option. | |
1582 | ||
86fa5de4 JM |
1583 | 2011-05-21 Joseph Myers <joseph@codesourcery.com> |
1584 | ||
1585 | * opt-read.awk: New. Split out of optc-gen.awk and opth-gen.awk. | |
1586 | * optc-gen.awk: Move common code to opt-read.awk. | |
1587 | * opth-gen.awk: Likewise. | |
ef230b38 | 1588 | * Makefile.in (options.c, s-options-h): Update to use opt-read.awk. |
86fa5de4 | 1589 | |
bce33ab2 NF |
1590 | 2011-05-20 Nathan Froyd <froydnj@codesourcery.com> |
1591 | ||
1592 | * godump.c (go_format_type): Don't use TYPE_ARG_TYPES. | |
1593 | ||
e6450c11 TV |
1594 | 2011-05-20 Tom de Vries <tom@codesourcery.com> |
1595 | ||
1596 | PR target/45098 | |
1597 | * tree-ssa-loop-ivopts.c: Include expmed.h. | |
1598 | (get_shiftadd_cost): New function. | |
1599 | (force_expr_to_var_cost): Declare forward. Use get_shiftadd_cost. | |
1600 | ||
0e8b84ec JJ |
1601 | 2011-05-20 Jakub Jelinek <jakub@redhat.com> |
1602 | ||
1603 | PR bootstrap/49086 | |
1604 | * gimple-fold.c (and_comparisons_1, or_comparisons_1): Return NULL | |
1605 | for PHI args that are SSA_NAME_IS_DEFAULT_DEF. | |
1606 | ||
946bdf67 JM |
1607 | 2011-05-20 Joseph Myers <joseph@codesourcery.com> |
1608 | ||
1609 | * Makefile.in: Update comment referring to $(OBJS-common). | |
1610 | ||
c53aafdf ILT |
1611 | 2011-05-20 Ian Lance Taylor <iant@google.com> |
1612 | ||
1613 | * godump.c (go_output_typedef): Put enum constants in the macro | |
1614 | hash table to avoid duplicate Go const definitions. | |
1615 | ||
2691e6d7 JM |
1616 | 2011-05-20 Joseph Myers <joseph@codesourcery.com> |
1617 | ||
1618 | * Makefile.in (LIBDEPS): Add libcommon.a. | |
1619 | (LIBS): Likewise. | |
1620 | (GCC_OBJS): Remove diagnostic.o, pretty-print.o and input.o. | |
1621 | (OBJS-common): Remove diagnostic.o, input.o, intl.o, | |
1622 | pretty-print.o and version.o. | |
1623 | (OBJS-libcommon): New. | |
1624 | (ALL_HOST_BACKEND_OBJS): Add $(OBJS-libcommon). | |
1625 | (BACKEND): Add libcommon.a. | |
1626 | (MOSTLYCLEANFILES): Likewise. | |
1627 | (libcommon.a): New. | |
1628 | (xgcc$(exeext)): Don't explicitly use version.o and intl.o. | |
1629 | (cpp$(exeext)): Likewise. | |
1630 | (COLLECT2_OBJS): Remove intl.o, version.o, diagnostic.o, | |
1631 | pretty-print.o and input.o. | |
1632 | (lto-wrapper$(exeext)): Don't explicitly use intl.o. | |
1633 | (lto-wrapper.o): Depend on $(DIAGNOSTIC_H). | |
1634 | (errors.o): Remove. | |
1635 | (mips-tfile): Don't explicitly use version.o. | |
1636 | (mips-tdump): Likewise. | |
1637 | (gcov.o): Depend on $(DIAGNOSTIC_H). | |
1638 | (gcov-dump.o): Depend on intl.h and $(DIAGNOSTIC_H). | |
1639 | (GCOV_OBJS): Remove intl.o, version.o and errors.o. | |
1640 | (GCOV_DUMP_OBJS): Remove version.o and errors.o. | |
1641 | * gcov-dump.c: Include intl.h and diagnostic.h. | |
1642 | (main): Initialize diagnostics. | |
1643 | * gcov.c: Include diagnostic.h. | |
1644 | (fnotice): Remove. | |
1645 | (main): Initialize diagnostics. | |
1646 | * lto-wrapper.c: Include diagnostic.h. | |
1647 | (main): Initialize diagnostics. | |
1648 | ||
252b3e8c MM |
1649 | 2011-05-20 Michael Matz <matz@suse.de> |
1650 | ||
1651 | * Makefile.in (OBJS-common, OBJS-md, OBJS-archive): Merge into OBJS. | |
1652 | ||
2ee36ba6 MM |
1653 | 2011-05-20 Michael Matz <matz@suse.de> |
1654 | Richard Guenther <rguenther@suse.de> | |
1655 | ||
1656 | * lto-streamer.c (lto_record_common_node): Don't track seen nodes, | |
1657 | use lto_streamer_cache_append directly instead of returning a VEC. | |
1658 | (preload_common_node): Remove. | |
1659 | (lto_get_common_nodes): Rename to lto_preload_common_nodes, don't | |
1660 | track seen nodes. | |
1661 | (lto_streamer_cache_create): Call lto_preload_common_nodes. | |
1662 | ||
90ff582f RG |
1663 | 2011-05-20 Richard Guenther <rguenther@suse.de> |
1664 | ||
1665 | PR tree-optimization/49079 | |
1666 | * tree-dfa.c (get_ref_base_and_extent): Handle view-converting | |
1667 | MEM_REFs correctly for the trailing array access detection. | |
1668 | Special case constants the same way as decls for overall size | |
1669 | constraining. | |
1670 | ||
3cda91d8 UB |
1671 | 2011-05-20 Uros Bizjak <ubizjak@gmail.com> |
1672 | ||
1673 | * config/i386/mingw32.h (OUTPUT_QUOTED_STRING): Fix macro | |
1674 | argument expansion. | |
1675 | ||
6c66f733 JJ |
1676 | 2011-05-20 Jakub Jelinek <jakub@redhat.com> |
1677 | ||
1678 | PR tree-optimization/49073 | |
3cda91d8 UB |
1679 | * gimple-fold.c (and_comparisons_1, or_comparisons_1): Return NULL if |
1680 | PHI argument is SSA_NAME, whose def_stmt is dominated by the PHI. | |
6c66f733 JJ |
1681 | * tree-ssa-ifcombine.c (tree_ssa_ifcombine): Calculate dominators. |
1682 | ||
0ea80a16 RG |
1683 | 2011-05-20 Richard Guenther <rguenther@suse.de> |
1684 | ||
1685 | PR middle-end/48849 | |
1686 | * gimple.c (gimple_register_canonical_type): Compute TYPE_CANONICAL | |
1687 | of pointer types the same way the middle-end does. | |
1688 | ||
fb291a1e RG |
1689 | 2011-05-20 Richard Guenther <rguenther@suse.de> |
1690 | ||
3cda91d8 UB |
1691 | * gimple.c (gimple_register_type_1): Do not fiddle with main-variant |
1692 | or pointer-to chains. Delay all fixup to uniquify_nodes. | |
fb291a1e | 1693 | |
37cb25ed QN |
1694 | 2011-05-19 Quentin Neill <quentin.neill@amd.com> |
1695 | ||
1696 | * config/i386/sse.md (fma4_fmsubadd): Use <ssemodesuffix>. | |
1697 | (fma4_fmaddsub): Likewise | |
1698 | ||
a30726a4 JH |
1699 | 2011-05-19 Jan Hubicka <jh@suse.cz> |
1700 | ||
1701 | * gimple.c (gtc_visited, gtc_ob, type_pair_hash, type_pair_eq): Remove. | |
1702 | (GIMPLE_TYPE_PAIR_SIZE): New macro. | |
1703 | (type_pair_cache): New static var. | |
1704 | (lookup_type_pair): Use fixed sized custom hash; make inline. | |
1705 | (gtc_visit, gimple_types_compatible_p, gimple_register_type_1): Update | |
1706 | calls of lookup_type_pair. | |
1707 | (print_gimple_types_stats): Remove cache stats. | |
1708 | (free_gimple_type_tables): Free type_pair_cache instead of gtc_visited | |
1709 | and gtc_ob. | |
1710 | ||
0955cf61 UB |
1711 | 2011-05-19 Uros Bizjak <ubizjak@gmail.com> |
1712 | ||
1713 | * config/i386/i386.c (option_override_internal): Enable TARGET_CMOVE | |
1714 | when TARGET_RDRND is active. | |
1715 | (ix86_expand_builtin) <case IX86_BUILTIN_RDRAND{16,32,64}_STEP>: | |
1716 | Generate dummy SImode target register when target is NULL. | |
1717 | ||
12d844c8 JM |
1718 | 2011-05-19 Joseph Myers <joseph@codesourcery.com> |
1719 | ||
1720 | * config/arm/arm-fpus.def: New. | |
1721 | * config/arm/genopt.sh: Generate Enum and EnumValue entries from | |
1722 | arm-fpus.def. | |
1723 | * config/arm/arm-tables.opt: Regenerate. | |
1724 | * config/arm/arm.c (all_fpus): Move contents to arm-fpus.def. | |
1725 | (arm_option_override): Don't decode FPU name to string here. | |
1726 | * config/arm/arm.opt (mfpu=): Use Enum. | |
1727 | * config/arm/t-arm ($(srcdir)/config/arm/arm-tables.opt, arm.o): | |
1728 | Update dependencies. | |
1729 | ||
9e350e99 JM |
1730 | 2011-05-19 Joseph Myers <joseph@codesourcery.com> |
1731 | ||
1732 | * collect2.c: Include diagnostic.h. | |
1733 | (fatal_perror, fatal, error, fancy_abort): Remove. | |
1734 | (main): Set progname. Call xmalloc_set_program_name and | |
1735 | diagnostic_initialize. | |
1736 | (maybe_run_lto_and_relink, main, collect_execute, scan_prog_file, | |
1737 | scan_libraries, resolve_lib_name): Call fatal_error instead of | |
1738 | fatal and fatal_perror. | |
1739 | * collect2.h (error, fatal, fatal_perror): Don't declare. | |
1740 | * tlink.c: Include diagnostic-core.h. | |
1741 | (recompile_files): Call fatal_error instead of fatal_perror. | |
1742 | * Makefile.in (COLLECT2_OBJS): Include diagnostic.o, | |
1743 | pretty-print.o and input.o. | |
1744 | (collect2.o, tlink.o): Update dependencies. | |
1745 | ||
86ff4081 RO |
1746 | 2011-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1747 | ||
1748 | * config/i386/i386.md (tls_initial_exec_64_sun): Add semicolon. | |
1749 | ||
2ca48caa RO |
1750 | 2011-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1751 | ||
1752 | PR target/40483 | |
1753 | * configure.ac (gcc_cv_as_comdat_group_group): Check for Sun as | |
1754 | COMDAT group syntax, both SPARC and x86 variants. | |
1755 | (HAVE_COMDAT_GROUP): Also define if gcc_cv_as_comdat_group_group. | |
1756 | * configure: Regenerate. | |
1757 | * config/sol2.h (TARGET_SOLARIS): Define. | |
1758 | (PUSHSECTION_FORMAT): Remove. | |
1759 | (SECTION_NAME_FORMAT): Define. | |
1760 | * config/sol2.c: Include hashtab.h. | |
1761 | (solaris_output_init_fini): Replace PUSHSECTION_FORMAT by its | |
1762 | expansion, using SECTION_NAME_FORMAT. | |
1763 | (solaris_comdat_htab): New variable. | |
1764 | (struct comdat_entry): Define. | |
1765 | (comdat_hash): New function. | |
1766 | (comdat_eq): New function. | |
1767 | (solaris_elf_asm_comdat_section): New function. | |
1768 | (solaris_define_comdat_signature): New function. | |
1769 | (solaris_code_end): New function. | |
1770 | * config/sol2-protos.h (solaris_elf_asm_comdat_section): Declare. | |
1771 | (solaris_code_end): Declare. | |
1772 | * config/t-sol2 (sol2.o): Add $HASHTAB_H dependency. | |
1773 | * config/i386/i386.c (ix86_code_end) [TARGET_SOLARIS]: Call | |
1774 | solaris_code_end. | |
1775 | (i386_solaris_elf_named_section): Wrap in TARGET_SOLARIS. | |
1776 | Remove ATTRIBUTE_UNUSED. | |
1777 | [!USE_GAS]: Call solaris_elf_asm_comdat_section for | |
1778 | SECTION_LINKONCE sections if HAVE_COMDAT_GROUP. | |
0955cf61 | 1779 | * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Likewise. |
2ca48caa RO |
1780 | * config/i386/sol2-10.h (TARGET_ASM_NAMED_SECTION): Moved ... |
1781 | * config/i386/sol2.h (TARGET_ASM_NAMED_SECTION): ... here. | |
1782 | * config/sparc/sol2.h (TARGET_ASM_CODE_END): Redefine. | |
1783 | (PUSHSECTION_FORMAT): Remove. | |
1784 | (SECTION_NAME_FORMAT): Redefine. | |
1785 | ||
da5fb469 KT |
1786 | 2011-05-19 Kai Tietz <ktietz@redhat.com> |
1787 | ||
1788 | * tree-cfg.c (verify_gimple_assign_binary): Barf on | |
1789 | TRUTH_AND_EXPR, TRUTH_OR_EXPR, and TRUTH_XOR_EXPR. | |
1790 | (gimplify_expr): Move TRUTH_AND|OR|XOR_EXPR to its binary form. | |
1791 | ||
1651e703 | 1792 | 2011-05-19 Anatoly Sokolov <aesok@post.ru> |
0967b228 AS |
1793 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1794 | ||
1795 | * config/t-sol2 (sol2.o): Add $(TARGET_H) dependency. | |
1796 | ||
e497b9bd RG |
1797 | 2011-05-19 Richard Guenther <rguenther@suse.de> |
1798 | ||
1799 | PR middle-end/48985 | |
1800 | * tree-object-size.c (addr_object_size): If the pointed-to | |
1801 | variable is a decl use DECL_SIZE_UNIT instead of TYPE_SIZE_UNIT. | |
1802 | ||
31b3ca64 RG |
1803 | 2011-05-19 Richard Guenther <rguenther@suse.de> |
1804 | ||
1805 | * gimple.c (gimple_types_compatible_p_1): Compare names of | |
1806 | the types themselves. | |
1807 | (iterative_hash_gimple_type): And hash them that way. | |
1808 | (gimple_register_type_1): If we register a main variant properly | |
1809 | initialize the leader to ourselves. | |
1810 | ||
bb8d292d TV |
1811 | 2011-05-19 Tom de Vries <tom@codesourcery.com> |
1812 | ||
1813 | PR target/45098 | |
1814 | * tree-ssa-loop-ivopts.c (get_expr_id): Factored new function out of | |
1815 | get_loop_invariant_expr_id. | |
1816 | (get_loop_invariant_expr_id): Use get_expr_id. | |
1817 | (parm_decl_cost): New function. | |
1818 | (determine_use_iv_cost_condition): Use get_expr_id and parm_decl_cost. | |
1819 | Improve bound cost estimation. Use different inv_expr_id for elim and | |
1820 | express cases. | |
1821 | ||
a53c5024 TV |
1822 | 2011-05-19 Tom de Vries <tom@codesourcery.com> |
1823 | ||
1824 | PR target/45098 | |
1825 | * tree-ssa-loop-ivopts.c (determine_iv_cost): Prevent | |
1826 | cost_base.cost == 0. | |
1827 | ||
31f9eb59 L |
1828 | 2011-05-18 H.J. Lu <hongjiu.lu@intel.com> |
1829 | ||
1830 | PR target/49002 | |
66bd20e7 EB |
1831 | * config/i386/sse.md |
1832 | (avx_<ssemodesuffix><avxsizesuffix>_<ssemodesuffix>): Properly handle | |
1833 | load cast. | |
31f9eb59 | 1834 | |
681056ae JJ |
1835 | 2011-05-18 Jakub Jelinek <jakub@redhat.com> |
1836 | ||
1837 | PR tree-optimization/49039 | |
1838 | * tree-vrp.c (extract_range_from_binary_expr): For | |
1839 | MIN_EXPR <~[a, b], ~[c, d]> and MAX_EXPR <~[a, b], ~[c, d]> | |
1840 | return ~[MAX_EXPR <a, c>, MIN_EXPR <b, d>]. | |
1841 | ||
b5ee6752 TV |
1842 | 2011-05-18 Tom de Vries <tom@codesourcery.com> |
1843 | ||
1844 | PR target/45098 | |
1845 | * tree-ssa-loop-ivopts.c (computation_cost): Prevent cost of 0. | |
1846 | ||
0bda47a3 UB |
1847 | 2011-05-18 Uros Bizjak <ubizjak@gmail.com> |
1848 | ||
1849 | * config/i386/i386.md (*tls_global_dynamic_32_gnu): Split asm template. | |
1850 | (*tls_global_dynamic_64): Ditto. | |
1851 | (*tls_local_dynamic_base_32_gnu): Ditto. | |
1852 | (*tls_local_dynamic_base_64): Ditto. | |
1853 | (tls_initial_exec_64_sun): Ditto. | |
1854 | ||
033b0805 SH |
1855 | 2011-05-18 Stuart Henderson <shenders@gcc.gnu.org> |
1856 | ||
1857 | * doc/invoke.texi (Blackfin Options): -mcpu accepts bf592. | |
1858 | * config/bfin/t-bfin-elf (MULTILIB_MATCHES): Select bf532-none for | |
1859 | bf592-none. | |
1860 | * config/bfin/t-bfin-linux (MULTILIB_MATCHES): Likewise. | |
1861 | * config/bfin/t-bfin-uclinux (MULTILIB_MATCHES): Likewise. | |
1862 | * config/bfin/bfin.c (bfin_cpus): Add bf592. | |
1863 | * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define | |
0bda47a3 | 1864 | __ADSPBF592__ and __ADSPBF59x__ for BFIN_CPU_BF592. |
033b0805 SH |
1865 | * config/bfin/bfin-opts.h (bfin_cpu_type): Add BFIN_CPU_BF592. |
1866 | * config/bfin/elf.h (LIB_SPEC): Add bf592. | |
1867 | ||
ba163417 JM |
1868 | 2011-05-18 Joseph Myers <joseph@codesourcery.com> |
1869 | ||
1870 | * config/arm/arm-opts.h (enum arm_fp16_format_type, enum | |
0bda47a3 | 1871 | arm_abi_type, enum float_abi_type, enum arm_tp_type): Move from arm.h. |
ba163417 JM |
1872 | * config/arm/arm.c (arm_float_abi, arm_fp16_format, arm_abi, |
1873 | target_thread_pointer, arm_structure_size_boundary, struct | |
1874 | float_abi, all_float_abis, struct fp16_format, all_fp16_formats, | |
1875 | struct abi_name, arm_all_abis): Remove. | |
0bda47a3 UB |
1876 | (arm_option_override) Don't process most enumerated option values here. |
1877 | Don't process target_fpe_name here. Work with integer not string for | |
1878 | structure size boundary; use separate diagnostics for each case. | |
ba163417 JM |
1879 | * config/arm/arm.h (enum float_abi_type, enum |
1880 | arm_fp16_format_type, enum arm_abi_type, enum arm_tp_type): Move | |
1881 | to arm-opts.h. | |
1882 | (arm_float_abi, arm_fp16_format, arm_abi, target_thread_pointer, | |
1883 | arm_structure_size_boundary): Remove. | |
1884 | * config/arm/arm.opt (mabi=): Use Enum and Init. | |
1885 | (arm_abi_type): New Enum and EnumValue entries. | |
1886 | (mfloat-abi=): Use Enum and Init. | |
1887 | (float_abi_type): New Enum and EnumValue entries. | |
0bda47a3 | 1888 | (mfp=, mfpe=): Replace by separate Alias entries for each argument. |
ba163417 JM |
1889 | (mfp16-format=): Use Enum and Init. |
1890 | (arm_fp16_format_type): New Enum and EnumValue entries. | |
1891 | (mstructure-size-boundary=): Use UInteger and Init. | |
1892 | (mtp=): Use Enum and Init. | |
1893 | (arm_tp_type): New Enum and EnumValue entries. | |
1894 | ||
179184e3 RG |
1895 | 2011-05-18 Richard Guenther <rguenther@suse.de> |
1896 | ||
1897 | PR tree-optimization/49018 | |
1898 | * gimple.c (gimple_has_side_effects): Volatile asms have side-effects. | |
1899 | * tree-ssa-ifcombine.c (bb_no_side_effects_p): Use | |
1900 | gimple_has_side_effects. | |
1901 | ||
93b2a207 RG |
1902 | 2011-05-18 Richard Guenther <rguenther@suse.de> |
1903 | ||
1904 | * gimple.c (gimple_register_type_1): New function, split out from ... | |
1905 | (gimple_register_type): ... here. Avoid infinite recursion. | |
1906 | ||
b010117a IR |
1907 | 2011-05-18 Ira Rosen <ira.rosen@linaro.org> |
1908 | ||
1909 | PR tree-optimization/41881 | |
1910 | * tree-vectorizer.h (struct _loop_vec_info): Add new field | |
1911 | reduction_chains along with a macro for its access. | |
1912 | * tree-vect-loop.c (new_loop_vec_info): Initialize reduction chains. | |
1913 | (destroy_loop_vec_info): Free reduction chains. | |
1914 | (vect_analyze_loop_2): Return false if vect_analyze_slp() returns false. | |
1915 | (vect_is_slp_reduction): New function. | |
1916 | (vect_is_simple_reduction_1): Call vect_is_slp_reduction. | |
1917 | (vect_create_epilog_for_reduction): Support SLP reduction chains. | |
1918 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Allow different | |
1919 | definition types for reduction chains. | |
1920 | (vect_supported_load_permutation_p): Don't allow permutations for | |
1921 | reduction chains. | |
1922 | (vect_analyze_slp_instance): Support reduction chains. | |
1923 | (vect_analyze_slp): Try to build SLP instance from reduction chains. | |
1924 | (vect_get_constant_vectors): Handle reduction chains. | |
1925 | (vect_schedule_slp_instance): Mark the first statement of the | |
1926 | reduction chain as reduction. | |
1927 | ||
e14c1050 IR |
1928 | 2011-05-18 Ira Rosen <ira.rosen@linaro.org> |
1929 | ||
1930 | * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): Use new | |
1931 | names for group elements access. | |
1932 | * tree-vectorizer.h (struct _stmt_vec_info): Use interleaving info for | |
1933 | reduction chains as well. Remove data reference and interleaving | |
1934 | related words from the fields names. | |
1935 | * tree-vect-loop.c (vect_transform_loop): Use new names for group | |
1936 | elements access. | |
1937 | * tree-vect-data-refs.c (vect_get_place_in_interleaving_chain, | |
1938 | vect_insert_into_interleaving_chain, vect_update_interleaving_chain, | |
1939 | vect_update_interleaving_chain, vect_same_range_drs, | |
1940 | vect_analyze_data_ref_dependence, vect_update_misalignment_for_peel, | |
1941 | vect_verify_datarefs_alignment, vector_alignment_reachable_p, | |
1942 | vect_peeling_hash_get_lowest_cost, vect_enhance_data_refs_alignment, | |
1943 | vect_analyze_group_access, vect_analyze_data_ref_access, | |
1944 | vect_create_data_ref_ptr, vect_transform_strided_load, | |
1945 | vect_record_strided_load_vectors): Likewise. | |
1946 | * tree-vect-stmts.c (vect_model_simple_cost, vect_model_store_cost, | |
1947 | vect_model_load_cost, vectorizable_store, vectorizable_load, | |
1948 | vect_remove_stores, new_stmt_vec_info): Likewise. | |
1949 | * tree-vect-slp.c (vect_build_slp_tree, | |
1950 | vect_supported_slp_permutation_p, vect_analyze_slp_instance): Likewise. | |
1951 | ||
51c213f7 RG |
1952 | 2011-05-18 Richard Guenther <rguenther@suse.de> |
1953 | ||
1954 | PR middle-end/48989 | |
1955 | * tree-cfg.c (verify_gimple_assign_unary): Adjust TRUTH op | |
1956 | operand verification. | |
1957 | (verify_gimple_assign_binary): Likewise. | |
1958 | * tree-ssa.c (useless_type_conversion_p): Preserve conversions | |
1959 | to non-1-precision BOOLEAN_TYPEs. | |
1960 | ||
8f5e5434 TV |
1961 | 2011-05-18 Tom de Vries <tom@codesourcery.com> |
1962 | ||
1963 | PR target/45098 | |
1964 | * tree-ssa-loop-ivopts.c (seq_cost): Fix call to rtx_cost. | |
1965 | ||
116bc3a4 JJ |
1966 | 2011-05-18 Jakub Jelinek <jakub@redhat.com> |
1967 | ||
1968 | PR tree-optimization/49000 | |
1969 | * tree-ssa.c (execute_update_addresses_taken): Call | |
1970 | maybe_rewrite_mem_ref_base on debug stmt value. If it couldn't | |
1971 | be rewritten and decl has been marked for renaming, reset | |
1972 | the debug stmt. | |
1973 | ||
26a8964c JM |
1974 | 2011-05-17 Joseph Myers <joseph@codesourcery.com> |
1975 | ||
1976 | * config/i386/i386.c (ix86_valid_target_attribute_tree): Use | |
1977 | enum_opts_set when testing if attributes have set -mfpmath=. | |
1978 | ||
82bd45d7 RS |
1979 | 2011-05-17 Richard Sandiford <rdsandiford@googlemail.com> |
1980 | ||
1981 | * config/mips/mips.c (mips_handle_option): Remove unused variable. | |
1982 | ||
267ffce3 UB |
1983 | 2011-05-17 Uros Bizjak <ubizjak@gmail.com> |
1984 | ||
1985 | * ipa-inline-analysis.c (inline_node_duplication_hook): Initialize | |
1986 | info->entry with 0 | |
1987 | * tree-inline.c (maybe_inline_call_in_expr): Initialize | |
1988 | id.transform_lang_insert_block with NULL. | |
1989 | ||
1990 | 2011-05-17 Uros Bizjak <ubizjak@gmail.com> | |
d9403b0d UB |
1991 | |
1992 | * config/i386/i386-protos.h (output_fix_trunc): Change arg 3 to bool. | |
1993 | (output_fp_compare): Change args 3 and 4 to bool. | |
1994 | (ix86_expand_call): Change arg 6 to bool. | |
1995 | (ix86_attr_length_immediate_default): Change arg 2 to bool. | |
1996 | (ix86_attr_length_vex_default): Change arg 3 to bool. | |
1997 | * config/i386/i386.md: Update all uses. | |
1998 | * config/i386/i386.c: Ditto. | |
1999 | (ix86_flags_dependent): Change return type to bool. | |
2000 | ||
5beaf664 RG |
2001 | 2011-05-17 Richard Guenther <rguenther@suse.de> |
2002 | ||
2003 | * gimple.c (type_hash_pair_compare): Fix comparison. | |
2004 | ||
008bad7a RG |
2005 | 2011-05-17 Richard Guenther <rguenther@suse.de> |
2006 | ||
2007 | * gimple.c (iterative_hash_gimple_type): Simplify singleton | |
2008 | case some more, fix final hash value of the non-singleton case. | |
2009 | ||
36461340 RG |
2010 | 2011-05-17 Richard Guenther <rguenther@suse.de> |
2011 | ||
2012 | PR bootstrap/49013 | |
2013 | Revert | |
2014 | 2011-05-16 Richard Guenther <rguenther@suse.de> | |
2015 | ||
2016 | * gimple.c (gimple_types_compatible_p_1): Use names of the | |
2017 | type itself, not its main variant. | |
2018 | (iterative_hash_gimple_type): Likewise. | |
2019 | ||
6b6a59f3 RG |
2020 | 2011-05-17 Richard Guenther <rguenther@suse.de> |
2021 | ||
2022 | * gimple.c (gimple_register_canonical_type): Use the main-variant | |
2023 | leader for computing the canonical type. | |
2024 | ||
4ffc4134 NC |
2025 | 2011-05-17 Nick Clifton <nickc@redhat.com> |
2026 | ||
a1d8754e NC |
2027 | * config/rx/rx.c (rx_memory_move_cost): Include cost of register |
2028 | moves. | |
2029 | ||
4ffc4134 NC |
2030 | * config/rx/rx.md: Add peephole to remove redundant extensions |
2031 | after loads. | |
39960f7a NC |
2032 | (bitset_in_memory): Use rx_restricted_mem_operand. |
2033 | (bitinvert_in_memory): Likewise. | |
2034 | (bitclr_in_memory): Likewise. | |
4ffc4134 | 2035 | |
b3db92ac KI |
2036 | 2011-05-17 Kazuhio Inaoka <kazuhiro.inaoka.ud@renesas.com> |
2037 | Nick Clifton <nickc@redhat.com> | |
2038 | ||
2039 | * config/rx/rx.md: Add peepholes to match a register move followed | |
2040 | by a comparison of the moved register. Replace these with an | |
2041 | addition of zero that does both actions in one instruction. | |
2042 | ||
8637e32a JJ |
2043 | 2011-05-17 Jakub Jelinek <jakub@redhat.com> |
2044 | ||
2045 | PR target/48986 | |
2046 | * config/i386/sync.md (sync_old_add<mode>): Relax operand 2 | |
2047 | predicate to allow CONST_INT. | |
2048 | (*sync_old_add_cmp<mode>): New insn and peephole2 for it. | |
2049 | ||
8023568e JM |
2050 | 2011-05-16 Joseph Myers <joseph@codesourcery.com> |
2051 | ||
2052 | * opts-common.c (opt_enum_arg_to_value): New. | |
2053 | * opts.h (opt_enum_arg_to_value): Declare. | |
2054 | * config/i386/i386.opt (fpmath): Remove. | |
2055 | (mfpmath=): Use Enum, Init and Save. | |
2056 | (fpmath_unit): New Enum and EnumValue entries. | |
2057 | * config/i386/i386-c.c (ix86_pragma_target_parse): Update field | |
2058 | name for function fpmath state. | |
2059 | * config/i386/i386-opts.h (enum fpmath_unit): Move from i386.h. | |
2060 | * config/i386/i386.c: Include diagnostic.h. | |
2061 | (ix86_fpmath, IX86_FUNCTION_SPECIFIC_FPMATH): Remove. | |
d9403b0d | 2062 | (ix86_target_string): Take enum fpmath_unit value instead of string. |
8023568e | 2063 | (ix86_debug_options): Update call to ix86_target_string. |
d9403b0d | 2064 | (ix86_option_override_internal): Don't process fpmath strings here. |
8023568e JM |
2065 | (x86_function_specific_save, ix86_function_specific_restore): |
2066 | Don't handle fpmath state specially. | |
2067 | (ix86_function_specific_print): Pass fpmath state to | |
2068 | ix86_target_string instead of printing in this function. | |
2069 | (ix86_valid_target_attribute_inner_p): Take gcc_options pointer. | |
2070 | Handle enum attributes. | |
2071 | (IX86_ATTR_ENUM, ix86_opt_enum): New. | |
2072 | (ix86_valid_target_attribute_tree): Update option_strings | |
2073 | handling. Handle fpmath as enum option. | |
2074 | (ix86_can_inline_p): Update field names for function fpmath state. | |
2075 | (ix86_expand_builtin): Update call to ix86_target_string. | |
2076 | * config/i386/i386.h (enum fpmath_unit): Move to i386-opts.h. | |
2077 | (ix86_fpmath): Remove. | |
2078 | * config/i386/t-i386 (i386.o): Update dependencies. | |
2079 | ||
9e8d926e JM |
2080 | 2011-05-16 Joseph Myers <joseph@codesourcery.com> |
2081 | ||
2082 | PR preprocessor/48677 | |
2083 | * cppspec.c (lang_specific_driver): Set new_decoded_options[0] | |
2084 | from decoded_options[0], not from itself. | |
2085 | ||
f6449011 UB |
2086 | 2011-05-16 Uros Bizjak <ubizjak@gmail.com> |
2087 | ||
2088 | * config/i386/constraints.md (z): New constraint. | |
2089 | * config/i386/i386.c (c): New mode attribute. | |
2090 | (*call): Merge insn pattern from *call_0, *call_1, *call_1_rex64 and | |
2091 | *call_1_rex64_large patterns using "P" mode iterator. Use "<c>zm" | |
2092 | constraint for operand 0. | |
2093 | (*call_vzeroupper): Ditto. | |
2094 | (*call_rex64_ms_sysv): Ditto. Use "rzm" constraint for operand 0. | |
2095 | (*call_rex64_ms_sysv_vzeroupper): Ditto. | |
2096 | (*call_pop): Merge insn pattern from *call_pop_0 and *call_pop_1. | |
2097 | Use "lzm" constraint for operand 0. | |
2098 | (*call_pop_vzeroupper): Ditto. | |
2099 | (*sibcall): Merge insn pattern from *sibcall_0, *sibcall_1 and | |
2100 | *sibcall_1_rex64 patterns using "P" mode iterator. Use "Uz" | |
2101 | constraint for operand 0. | |
2102 | (*sibcall_vzeroupper): Ditto. | |
2103 | (*sibcall_rex64_ms_sysv): Ditto. | |
2104 | (*sibcall_rex64_ms_sysv_vzeroupper): Ditto. | |
2105 | (*sibcall_pop): Merge insn pattern from *sibcall_pop_0 and | |
2106 | *sibcall_pop_1. Use "Uz" constraint for operand 0. | |
2107 | (*sibcall_pop_vzeroupper): Ditto. | |
2108 | (*call_value): Merge insn pattern from *call_value_0, *call_value_1, | |
2109 | *call_value_1_rex64 and *call_value_1_rex64_large patterns using "P" | |
2110 | mode iterator. Use "<c>zm" constraint for operand 1. | |
2111 | (*call_value_vzeroupper): Ditto. | |
2112 | (*call_value_rex64_ms_sysv): Ditto. Use "rzm" constraint | |
d9403b0d | 2113 | for operand 1. |
f6449011 UB |
2114 | (*call_value_rex64_ms_sysv_vzeroupper): Ditto. |
2115 | (*call_value_pop): Merge insn pattern from *call_value_pop_0 and | |
2116 | *call_value_pop_1. Use "lzm" constraint for operand 1. | |
2117 | (*call_value_pop_vzeroupper): Ditto. | |
2118 | (*sibcall_value): Merge insn pattern from *sibcall_value_0, | |
2119 | *sibcall_value_1 and *sibcall_value_1_rex64 patterns using "P" | |
2120 | mode iterator. Use "Uz" constraint for operand 1. | |
2121 | (*sibcall_value_vzeroupper): Ditto. | |
2122 | (*sibcall_value_rex64_ms_sysv): Ditto. | |
2123 | (*sibcall_value_rex64_ms_sysv_vzeroupper): Ditto. | |
2124 | (*sibcall_value_pop): Rename from *sibcall_pop_1. Use "Uz" | |
2125 | constraint for operand 1. | |
2126 | (*sibcall_value_pop_vzeroupper): Ditto. | |
2127 | (*tls_global_dynamic_64): Use constant_call_address_operand predicate | |
2128 | and "z" constraint for operand 2. | |
2129 | (*tls_global_dynamic_32_gnu): Ditto. | |
2130 | (*tls_local_dynamic_base_32_gnu): Ditto. | |
2131 | (*tls_local_dynamic_base_64): Ditto. | |
2132 | (*tls_local_dynamic_32_once): Ditto. | |
2133 | * config/i386/i386.c (ix86_output_call_insn): Remove int_addr argument. | |
2134 | Update all callers. | |
2135 | * config/i386/i386-protos.h (ix86_output_call_insn): Update prototype. | |
2136 | ||
c11b6902 RG |
2137 | 2011-05-16 Richard Guenther <rguenther@suse.de> |
2138 | ||
2139 | * gimple.c (gimple_types_compatible_p_1): Use names of the | |
2140 | type itself, not its main variant. | |
2141 | (iterative_hash_gimple_type): Likewise. | |
2142 | ||
1e83b5f1 RG |
2143 | 2011-05-16 Richard Guenther <rguenther@suse.de> |
2144 | ||
f6449011 UB |
2145 | * gimple.c (iterative_hash_gimple_type): Re-instantiate change to |
2146 | always visit pointer target and function result and argument types. | |
1e83b5f1 | 2147 | |
62e36382 JM |
2148 | 2011-05-16 Jason Merrill <jason@redhat.com> |
2149 | ||
2150 | PR c++/48999 | |
2151 | * tree-inline.c (copy_statement_list): Put back recursion. | |
2152 | ||
687027a4 GJL |
2153 | 2011-05-16 Georg-Johann Lay <avr@gjlay.de> |
2154 | ||
2155 | PR target/27663 | |
2156 | PR target/41076 | |
2157 | * config/avr/predicates.md (const_8_16_24_operand): New predicate. | |
2158 | * config/avr/avr.md ("*ior<mode>qi.byte0", | |
2159 | "*ior<mode>qi.byte1-3"): New define_insn_and_split patterns. | |
2160 | ||
f24a5190 GJL |
2161 | 2011-05-16 Georg-Johann Lay <avr@gjlay.de> |
2162 | ||
2163 | PR target/45099 | |
2164 | * config/avr/avr.c (avr_function_arg_advance): Error if a fixed | |
2165 | register is needed for a function argument. | |
2166 | ||
3066f593 RG |
2167 | 2011-05-16 Richard Guenther <rguenther@suse.de> |
2168 | ||
2169 | * gimple.c (struct type_hash_pair): New type. | |
2170 | (type_hash_pair_compare): New function. | |
f6449011 | 2171 | (iterative_hash_gimple_type): Mix in SCC member hashes in hash-order. |
3066f593 | 2172 | |
b2ab2cf4 RE |
2173 | 2011-05-16 Revital Eres <revital.eres@linaro.org> |
2174 | ||
f6449011 | 2175 | * modulo-sched.c (doloop_register_get): Check !DEBUG_INSN_P first. |
b2ab2cf4 | 2176 | |
dfb737fc UB |
2177 | 2011-05-15 Uros Bizjak <ubizjak@gmail.com> |
2178 | ||
2179 | * config/i386/i386.md (floating point move splitters): Fix | |
2180 | usage of standard_80387_constant_p. | |
f6449011 | 2181 | * config/i386/i386.c (ix86_preferred_reload_class): Ditto. |
dfb737fc | 2182 | |
8caa1de0 UB |
2183 | 2011-05-15 Uros Bizjak <ubizjak@gmail.com> |
2184 | ||
2185 | * config/i386/i386.md (*movdf_internal): Simplify insn condition. | |
2186 | ||
8a519095 EB |
2187 | 2011-05-14 Eric Botcazou <ebotcazou@adacore.com> |
2188 | ||
2189 | * tree-ssa-loop-im.c (SET_ALWAYS_EXECUTED_IN): New macro. | |
2190 | (fill_always_executed_in): Use [SET_]ALWAYS_EXECUTED_IN. | |
2191 | (tree_ssa_lim_finalize): Likewise. | |
2192 | ||
479fecd3 UB |
2193 | 2011-05-14 Uros Bizjak <ubizjak@gmail.com> |
2194 | ||
2195 | * config/i386/constraint.md (Yd, Yx): New register constraints. | |
2196 | * config/i386/i386.md (*pushdf): Merge with *pushdf_nointeger. Use | |
2197 | Yd conditional register constraint. | |
2198 | (*movtf_internal): Use standard_sse_constant_opcode. | |
2199 | (*movxf_internal): Merge with *movxf_internal_nointeger. Use | |
2200 | Yx conditional register constraint. | |
2201 | (*movdf_internal): Merge with *movdf_internal_nointeger. Use | |
2202 | Yd conditional register constraint. Use standard_sse_constant_p to | |
2203 | check for valid SSE constants and call standard_sse_constant_opcode to | |
2204 | output SSE insn. | |
2205 | (*movsf_internal): Use standard_sse_constant_p to check for valid SSE | |
2206 | constants and call standard_sse_constant_opcode to output SSE insn. | |
2207 | * config/i386/i386.c (ix86_option_ovverride_internal): Set | |
2208 | TARGET_INTEGER_DFMODE_MOVES for 64bit targets. Clear it when | |
2209 | optimize_size is set. | |
2210 | (standard_sse_constant_opcode): Output conditional AVX insn templates. | |
2211 | ||
2d8c9ad5 TB |
2212 | 2011-05-14 Tobias Burnus <burnus@net-b.de> |
2213 | ||
2214 | * doc/invoke.texi (-Ofast): Also enables -fstack-arrays. | |
2215 | ||
411a20d6 MJ |
2216 | 2011-05-13 Martin Jambor <mjambor@suse.cz> |
2217 | ||
2218 | * ipa-prop.c (ipa_cst_from_jfunc): New function. | |
2219 | * ipa-prop.h (ipa_cst_from_jfunc): Declare. | |
2220 | * ipa-inline-analysis.c (evaluate_conditions_for_edge): Use it. | |
2221 | (evaluate_conditions_for_ipcp_clone): Removed. | |
2222 | (estimate_ipcp_clone_size_and_time): Accept vector of known constants. | |
2223 | * ipa-cp.c (ipcp_estimate_growth): Build vector of known constants. | |
2224 | * ipa-inline.h (estimate_ipcp_clone_size_and_time): Update. | |
2225 | ||
dc764d10 EB |
2226 | 2011-05-13 Eric Botcazou <ebotcazou@adacore.com> |
2227 | ||
2228 | * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Adjust dump message. | |
2229 | * regcprop.c (copyprop_hardreg_forward): Test MAY_HAVE_DEBUG_INSNS in | |
2230 | lieu of MAY_HAVE_DEBUG_STMTS. | |
2231 | * tree-cfgcleanup.c (remove_forwarder_block): Do not attempt to move | |
2232 | debug statements if !MAY_HAVE_DEBUG_STMTS. | |
2233 | ||
9f47a24e MT |
2234 | 2011-05-13 Martin Thuresson <martint@google.com> |
2235 | ||
2236 | PR gcov-profile/47793 | |
2237 | * libgcov.c (gcov_exit): Support relative profile paths. | |
2238 | * doc/invoke.texi (-fprofile-dir): Update for above change. | |
2239 | ||
b8a71aed RG |
2240 | 2011-05-13 Richard Guenther <rguenther@suse.de> |
2241 | ||
2242 | * gimple.c (gimple_canonical_types_compatible_p): Do not use | |
2243 | type-pair caching, do not compare hashes. | |
2244 | ||
eb9f9259 NF |
2245 | 2011-05-13 Nathan Froyd <froydnj@codesourcery.com> |
2246 | ||
2247 | PR middle-end/48965 | |
2248 | * tree-cfg.c (edge_to_cases_cleanup): Return true. | |
2249 | (verify_expr) [CASE_LABEL_EXPR]: Add checking. | |
2250 | ||
3c6cbf7a KT |
2251 | 2011-05-13 Kai Tietz <ktietz@redhat.com> |
2252 | ||
2253 | * gimplify.c (gimplify_expr): Make sure operand is boolified. | |
2254 | * tree-cfg.c (verify_gimple_assign_unary): Check for boolean | |
2255 | compatible type for TRUTH_NOT_EXPR. | |
2256 | ||
2e7f5dc0 L |
2257 | 2011-05-13 H.J. Lu <hongjiu.lu@intel.com> |
2258 | ||
dc764d10 | 2259 | * config/i386/i386.c (ix86_save_reg): Change return type to bool. |
2e7f5dc0 L |
2260 | (ix86_hard_regno_mode_ok): Change return value to bool. Use |
2261 | can_create_pseudo_p (). | |
2262 | ||
e834e95c RG |
2263 | 2011-05-13 Richard Guenther <rguenther@suse.de> |
2264 | ||
2265 | PR lto/48978 | |
2266 | * gimple.c (iterative_hash_gimple_type): Revert change in | |
2267 | pointer target and function result and argument hashing. | |
2268 | ||
34203483 UB |
2269 | 2011-05-13 Uros Bizjak <ubizjak@gmail.com> |
2270 | ||
2271 | * config/i386/i386.md (*movxf_internal): Use !can_create_pseudo (). | |
2272 | (*movxf_internal_nointeger): Ditto. | |
2273 | (*movdf_internal_rex64): Ditto. | |
2274 | (*movdf_internal): Ditto. | |
2275 | (*movdf_internal_nointeger): Ditto. | |
2276 | (*movsf_internal): Ditto. | |
2277 | (sincos splitters): Use can_create_pseudo (). | |
2278 | ||
7eb68c06 JM |
2279 | 2011-05-13 Joseph Myers <joseph@codesourcery.com> |
2280 | ||
2281 | * config/i386/i386-opts.h: New. | |
2282 | * gcc/config/i386/i386.c (stringop_alg, ix86_cmodel, | |
2283 | ix86_asm_dialect, ix86_regparm, ix86_abi, ix86_branch_cost, | |
2284 | ix86_section_threshold): Remove. | |
2285 | (ix86_handle_option): Move MAX_CODE_ALIGN define here. Handle | |
2286 | OPT_malign_loops_, OPT_malign_jumps_, OPT_malign_functions_ and | |
2287 | OPT_mbranch_cost_. | |
2288 | (ix86_option_override_internal): Don't decode strings for options | |
2289 | other than -march=, -mtune= and -mfpmath=. Don't allow for | |
2290 | __attribute__ uses in remaining diagnostics for options with | |
34203483 | 2291 | string arguments. Don't check for integer arguments being negative. |
7eb68c06 | 2292 | * gcc/config/i386/i386.h (enum stringop_alg, enum calling_abi, |
34203483 | 2293 | enum tls_dialect, enum cmodel, enum asm_dialect): Move to i386-opts.h. |
7eb68c06 JM |
2294 | (ix86_abi, ix86_tls_dialect, ix86_cmodel, ix86_asm_dialect, |
2295 | ix86_branch_cost, ix86_section_threshold): Remove. | |
2296 | * gcc/config/i386/i386.opt (config/i386/i386-opts.h): New | |
2297 | HeaderInclude. | |
2298 | (malign-functions=, malign-jumps=, malign-loops=): Use UInteger | |
2299 | but not Var. | |
2300 | (masm=): Use Enum and Init. | |
2301 | (asm_dialect): New Enum and EnumValue entries. | |
2302 | (mbranch-cost=): Use UInteger. | |
2303 | (mlarge-data-threshold=): Use UInteger and Init. | |
2304 | (mcmodel=): Use Enum and Init. | |
2305 | (cmodel): New Enum and EnumValue entries. | |
2306 | (mpc): Replace with separate mpc32, mpc64 and mpc80 entries. | |
2307 | (mpreferred-stack-boundary=, mincoming-stack-boundary=, | |
2308 | mregparm=): Use UInteger. | |
2309 | (mstringop-strategy=): Use Enum and Init. | |
2310 | (stringop_alg): New Enum and EnumValue entries. | |
2311 | (mtls-dialect=): Use Enum and Init. | |
2312 | (tls_dialect): New Enum and EnumValue entries. | |
2313 | (mabi=): Use Enum and Init. | |
2314 | (calling_abi): New Enum and EnumValue entries. | |
2315 | (mveclibabi=): Use Enum and Init. | |
2316 | (ix86_veclibabi): New Enum and EnumValue entries. | |
2317 | ||
f67e203c NC |
2318 | 2011-05-13 Nick Clifton <nickc@redhat.com> |
2319 | ||
34203483 UB |
2320 | * config/rx/rx.md (mov expander): Fix use of rx_legitimate_constant_p. |
2321 | * config/rx/rx-protos.h (rx_legitimate_constant_p): Rename prototype. | |
f67e203c | 2322 | |
221df0b6 KT |
2323 | 2011-05-13 Kai Tietz <ktietz@redhat.com> |
2324 | ||
2325 | PR middle-end/48984 | |
2326 | * gimplify.c (gimplify_expr): Check for boolean_type_node instead | |
2327 | for BOOLEAN_TYPE for TRUTH-NOT/AND/OR/XOR. | |
2328 | (gimple_boolify): Check for cast for boolean_type_node instead for | |
2329 | BOOLEAN_TYPE. | |
2330 | ||
208cb8cb RG |
2331 | 2011-05-13 Richard Guenther <rguenther@suse.de> |
2332 | ||
2333 | PR tree-optimization/48172 | |
2334 | * tree-vect-loop-manip.c (vect_vfa_segment_size): Avoid | |
2335 | multiplying by number of iterations for equal step. | |
2336 | (vect_create_cond_for_alias_checks): Likewise. | |
2337 | ||
b88ecf55 AS |
2338 | 2011-05-13 Andreas Schwab <schwab@redhat.com> |
2339 | ||
2340 | * configure.ac: Use AS_HELP_STRING throughout. | |
2341 | * configure: Regenerate. | |
2342 | ||
569b527e L |
2343 | 2011-05-12 H.J. Lu <hongjiu.lu@intel.com> |
2344 | ||
34203483 | 2345 | * config/i386/i386.c (ix86_save_reg): Change maybe_eh_return to bool. |
569b527e L |
2346 | (ix86_emit_restore_regs_using_mov): Likewise. |
2347 | (ix86_emit_restore_sse_regs_using_mov): Likewise. | |
2348 | ||
8b9a1428 AS |
2349 | 2011-05-12 Anatoly Sokolov <aesok@post.ru> |
2350 | ||
2351 | * config/sparc/sparc.h (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P, | |
2352 | SYMBOLIC_CONST, RTX_OK_FOR_BASE_P, RTX_OK_FOR_INDEX_P): Remove. | |
2353 | (RTX_OK_FOR_OFFSET_P, RTX_OK_FOR_OLO10_P): Move to... | |
2354 | * config/sparc/sparc.c (RTX_OK_FOR_OFFSET_P, | |
2355 | RTX_OK_FOR_OLO10_P): ...here. | |
2356 | (sparc_mode_dependent_address_p): Use symbolic_operand instead of | |
2357 | SYMBOLIC_CONST. | |
2358 | ||
1d15f620 KT |
2359 | 2011-05-12 Kai Tietz <ktietz@redhat.com> |
2360 | ||
2361 | * gimplify.c (gimple_boolify): Re-boolify expression | |
2362 | arguments even if expression type is of kind BOOLEAN_TYPE. | |
2363 | (gimplify_boolean_expr): Removed. | |
2364 | (gimplify_expr): Boolify truth opcodes AND, ANDIF, OR, ORIF, | |
2365 | and XOR. Additional take care that we keep expression's type. | |
2366 | * tree-cfg.c (verify_gimple_assign_binary): Adjust check for type | |
2367 | of TRUTH_AND|OR|XOR_EXPR. | |
2368 | ||
c2b5fc8d JJ |
2369 | 2011-05-12 Jakub Jelinek <jakub@redhat.com> |
2370 | ||
2371 | PR tree-optimization/48975 | |
2372 | * tree-if-conv.c (combine_blocks): Call free_bb_predicate | |
2373 | on all bbs here and free and clear ifc_bbs at the end. | |
2374 | ||
61332f77 RG |
2375 | 2011-05-12 Richard Guenther <rguenther@suse.de> |
2376 | ||
2377 | * gimple.c (gtc_visit): Compare TREE_ADDRESSABLE, handle | |
2378 | NULLPTR_TYPE similar to VOID_TYPE. Defer type-leader lookup | |
2379 | until after simple checks. | |
2380 | (gimple_types_compatible_p): Likewise. | |
2381 | (iterative_hash_gimple_type): Always hash pointer targets | |
2382 | and function return and argument types. | |
2383 | (iterative_hash_canonical_type): Do not hash TYPE_QUALS, | |
2384 | hash TYPE_ALIGN. Do not hash TYPE_MIN/MAX_VALUE. | |
2385 | (gimple_canonical_types_compatible_p): Compare TREE_ADDRESSABLE, | |
2386 | handle NULLPTR_TYPE similar to VOID_TYPE. Handle non-aggregates | |
2387 | completely in the simple compare section. | |
2388 | (gimple_register_canonical_type): Query the cache again after | |
2389 | registering. | |
2390 | ||
e2a3a5f1 RG |
2391 | 2011-05-12 Richard Guenther <rguenther@suse.de> |
2392 | ||
2393 | PR tree-optimization/48172 | |
2394 | * tree-vect-loop-manip.c (vect_vfa_segment_size): Do not exclude | |
2395 | the number of iterations from the segment size calculation. | |
2396 | (vect_create_cond_for_alias_checks): Adjust. | |
2397 | ||
2c703f3a JJ |
2398 | 2011-05-12 Jakub Jelinek <jakub@redhat.com> |
2399 | ||
2400 | PR debug/48967 | |
2401 | * var-tracking.c (use_narrower_mode_test) <case REG>: Return 1 | |
2402 | if validate_subreg fails. | |
2403 | ||
2404 | 2011-05-12 Hariharan Sandanagobalane <hariharan@picochip.com> | |
b27981e0 HS |
2405 | |
2406 | * ira.c (clarify_prohibited_class_mode_regs): Prevent the function from | |
2407 | accessing beyond the end of REGNO_REG_CLASS array by stopping the loop | |
2408 | early. | |
2409 | ||
87e91fca DD |
2410 | 2011-05-12 DJ Delorie <dj@redhat.com> |
2411 | ||
d53903d6 | 2412 | * config/rx/rx.c (rx_builtins): New arrays - holds builtin functions. |
87e91fca DD |
2413 | (ADD_RX_BUILTIN1, ADD_RX_BUILTIN2, ADD_RX_BUILTIN3): Install |
2414 | created builtin into rx_builtins array. | |
2415 | (rx_builtin_decl): New function. | |
34203483 | 2416 | (TARGET_BUITLIN_DECL): Define. Include gt-rx.h. |
87e91fca | 2417 | |
5f2f13fd DD |
2418 | 2011-05-12 DJ Delorie <dj@redhat.com> |
2419 | Nick Clifton <nickc@redhat.com> | |
2420 | ||
2421 | * config/rx/rx.h (HAVE_PRE_DECREMENT): Fix typo. | |
2422 | * config/rx/rx.c (CC_FLAG_FP): Fix comment. | |
2423 | (rx_is_legitimate_address): Add pre-decrement and post-increment | |
2424 | addressing in HImode and QImode. Fix test for out of range | |
2425 | REG+INT addressing. | |
87e91fca | 2426 | (rx_legitimate_constant_p): Rename to rx_is_legitimate_constant. |
34203483 | 2427 | (rx_align_for_label): Test label before extracting its usage count. |
5f2f13fd | 2428 | (rx_adjust_insn_lengths): Fix selection of insn codes. |
87e91fca | 2429 | (TARGET_LEGITIMATE_CONSTANT_P): Use renamed function. |
5f2f13fd | 2430 | |
57421f45 JM |
2431 | 2011-05-11 Jason Merrill <jason@redhat.com> |
2432 | ||
2433 | * tree.c (type_hash_canon): Use struct tree_type_non_common. | |
2434 | ||
898c90c0 EB |
2435 | 2011-05-11 Eric Botcazou <ebotcazou@adacore.com> |
2436 | ||
2437 | * cfgrtl.c (commit_one_edge_insertion): Remove always-true test and | |
2438 | reindent the subsequent block. | |
2439 | ||
79bec923 ST |
2440 | 2011-05-11 Satoru Takabayashi <satorux@google.com> |
2441 | Paul Pluzhnikov <ppluzhnikov@google.com> | |
2442 | ||
34203483 | 2443 | * doc/install.texi (Configuration): Document --with-linker-hash-style. |
e77e2cbb PP |
2444 | * gcc.c (init_spec): Handle LINKER_HASH_STYLE. |
2445 | * config.in: Add LINKER_HASH_STYLE. | |
2446 | * configure.ac: Add --with-linker-hash-style. | |
2447 | * configure: Regenerate. | |
79bec923 | 2448 | |
d0340959 RG |
2449 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
2450 | ||
2451 | PR middle-end/48964 | |
2452 | * gimple.c (iterative_hash_canonical_type): Fix typo. | |
2453 | ||
cb032fee UB |
2454 | 2011-05-11 Uros Bizjak <ubizjak@gmail.com> |
2455 | ||
2456 | * config/i386/i386.c (legitimize_tls_address) | |
479fecd3 | 2457 | <case TLS_MODEL_GLOBAL_DYNAMIC>: Call gen_tls_dynamic_gnu2_{32,64} |
cb032fee UB |
2458 | expanders directly for TARGET_GNU2_TLS. Determine pic and |
2459 | __tls_get_addr symbol reference here. Update call to | |
2460 | gen_tls_global_dynamic_{32,64} for added arguments. | |
479fecd3 | 2461 | <case TLS_MODEL_LOCAL_DYNAMIC>: Call gen_tls_dynamic_gnu2_{32,64} |
cb032fee UB |
2462 | expanders directly for TARGET_GNU2_TLS. Determine |
2463 | __tls_get_addr symbol reference here. Update call to | |
2464 | gen_tls_local_dynamic_base_{32,64} for added arguments. Attach | |
2465 | unique UNSPEC REG_EQUIV to libcall block. | |
2466 | (ix86_tls_get_addr): Declare static. | |
2467 | * config/i386/i386-protos.h (ix86_tls_get_addr): Remove declaration. | |
2468 | * config/i386/i386.md (tls_global_dynamic_32): Add operand 2 and 3. | |
2469 | Do not determine pic and __tls_get_addr symbol reference here. Do not | |
2470 | call gen_tls_dynamic_gnu2_32 for TARGET_GNU2_TLS. | |
2471 | (tls_local_dynamic_base_32): Ditto for operands 1 and 2. | |
2472 | (tls_global_dynamic_64): Add operand 2. Do not determine | |
2473 | __tls_get_addr symbol reference here. Do not call | |
2474 | gen_tls_dynamic_gnu2_64 for TARGET_GNU2_TLS here. | |
2475 | (tls_local_dynamic_base64): Ditto for operand 1. | |
2476 | ||
6d3cc8f0 EB |
2477 | 2011-05-11 Eric Botcazou <ebotcazou@adacore.com> |
2478 | ||
2479 | * function.c (expand_function_start): Initialize stack_check_probe_note | |
2480 | only if the generic stack checking mechanism is used. | |
2481 | ||
51e020fc RG |
2482 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
2483 | ||
2484 | PR tree-optimization/15256 | |
2485 | * tree-ssa-forwprop.c (simplify_bitwise_binary): Canonicalize | |
2486 | (A & B) | C, combine (A op CST1) op CST2. | |
2487 | (tree_ssa_forward_propagate_single_use_vars): Only bother to | |
2488 | visit assigns that have uses. | |
2489 | ||
51545682 NF |
2490 | 2011-05-11 Nathan Froyd <froydnj@codesourcery.com> |
2491 | ||
cb032fee | 2492 | * ggc-page.c (extra_order_size_table): Use struct tree_type_non_common. |
51545682 NF |
2493 | * lto-streamer-in.c (unpack_ts_type_value_fields): Rename to... |
2494 | (unpack_ts_type_common_value_fields): ...this. Update comment. | |
2495 | (unpack_value_fields): Adjust for renaming. | |
2496 | (lto_input_ts_type_tree_pointers): Split into... | |
2497 | (lto_input_ts_type_common_tree_pointer): ...this and... | |
2498 | (lto_input_ts_type_non_common_tree_pointers): ...this. | |
2499 | (lto_input_tree_pointers): Adjust for above split. | |
2500 | * lto-streamer-out.c (pack_ts_type_value_fields): Rename to... | |
2501 | (pack_ts_type_common_value_fields): ...this. Update comment. | |
2502 | (lto_output_ts_type_tree_pointers): Split into... | |
2503 | (lto_output_ts_type_common_tree_pointers): ...this and... | |
2504 | (lto_output_ts_type_non_common_tree_pointers): ...this. | |
2505 | (lto_output_tree_pointers): Adjust for above split. | |
2506 | * lto-streamer.c (check_handled_ts_structures): Mark TS_TYPE_COMMON, | |
2507 | TS_TYPE_WITH_LANG_SPECIFIC, and TS_TYPE_NON_COMMON as handled. | |
2508 | * stor-layout.c (vector_type_mode): Adjust location of mode field. | |
2509 | * tree.h (MARK_TS_TYPE_COMMON, MARK_TS_TYPE_WITH_LANG_SPECIFIC): | |
2510 | Define. | |
2511 | (struct tree_type): Split into... | |
2512 | (struct tree_type_common: ...this and... | |
2513 | (struct tree_type_with_lang_specific): ...this and... | |
2514 | (struct tree_type_non_common): ...this. Adjust accessor macros | |
2515 | accordingly. | |
2516 | (TYPE_VALUES_RAW): Define. | |
2517 | (union tree_node): Update for above changes. | |
2518 | * tree.c (tree_node_structure_for_code) [tcc_type]: Return | |
2519 | TS_TYPE_NON_COMMON. | |
2520 | (initialize_tree_contains_struct) [TS_TYPE]: Use TS_TYPE_COMMON. | |
2521 | Add TS_TYPE_WITH_LANG_SPECIFIC and TS_TYPE_NON_COMMON. | |
2522 | (tree_code_size) [tcc_type]: Use struct tree_type_non_common. | |
2523 | * treestructu.def (TS_TYPE): Remove. | |
2524 | (TS_TYPE_COMMON, TS_TYPE_WITH_LANG_SPECIFIC, TS_TYPE_NON_COMMON): | |
2525 | Define. | |
2526 | ||
b03c3082 JJ |
2527 | 2011-05-11 Jakub Jelinek <jakub@redhat.com> |
2528 | ||
2529 | PR debug/48159 | |
2530 | * tree-ssa.c (reset_debug_uses): New function. | |
2531 | * tree-flow.h (reset_debug_uses): New prototype. | |
2532 | * tree-data-ref.c (stmts_from_loop): Ignore debug stmts. | |
2533 | * tree-loop-distribution.c (generate_loops_for_partition): Call | |
2534 | reset_debug_uses on the stmts that will be removed. Keep around | |
2535 | all debug stmts, don't count them as bits in partition bitmap. | |
2536 | (generate_builtin): Don't count debug stmts or labels as bits in | |
2537 | partition bitmap. | |
2538 | ||
b5e04de5 RG |
2539 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
2540 | ||
2541 | * gimple.c (gimple_type_hash_1): Merge with ... | |
2542 | (gimple_type_hash): ... this. | |
2543 | (gtc_visit): Remove mode parameter and simplify accordingly. | |
2544 | (gimple_types_compatible_p_1): Likewise. | |
2545 | (gimple_types_compatible_p): Likewise. | |
2546 | (iterative_hash_gimple_type): Likewise. | |
2547 | (visit): Likewise. | |
2548 | (gimple_type_eq): Adjust. | |
2549 | ||
fc6970e4 RE |
2550 | 2011-05-11 Revital Eres <revital.eres@linaro.org> |
2551 | ||
2552 | * ddg.c (create_ddg_dep_from_intra_loop_link): If a true dep edge | |
2553 | enters the branch create an anti edge in the opposite direction | |
2554 | to prevent the creation of reg-moves. | |
2555 | * modulo-sched.c: Adjust comment to reflect the fact we are | |
2556 | scheduling closing branch. | |
2557 | (PS_STAGE_COUNT): Rename to CALC_STAGE_COUNT and redefine. | |
2558 | (stage_count): New field in struct partial_schedule. | |
2559 | (calculate_stage_count): New function. | |
2560 | (normalize_sched_times): Rename to reset_sched_times and handle | |
2561 | incrementing the sched time of the nodes by a constant value | |
2562 | passed as parameter. | |
2563 | (duplicate_insns_of_cycles): Skip closing branch. | |
2564 | (sms_schedule_by_order): Schedule closing branch. | |
2565 | (ps_insn_find_column): Handle closing branch. | |
2566 | (sms_schedule): Call reset_sched_times and adjust the code to | |
2567 | support scheduling of the closing branch. | |
2568 | (ps_insert_empty_row): Update calls to normalize_sched_times | |
2569 | and rotate_partial_schedule functions. | |
2570 | ||
41a58a92 RG |
2571 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
2572 | ||
2573 | PR middle-end/48953 | |
2574 | * tree-inline.c (remap_gimple_op_r): Also remap types of MEM_REFs. | |
2575 | ||
e9f8dcf9 JM |
2576 | 2011-05-11 Joseph Myers <joseph@codesourcery.com> |
2577 | ||
cb032fee UB |
2578 | * opts.c (finish_options): Move warning settings from process_options. |
2579 | * toplev.c (process_options): Move warning settings to finish_options. | |
e9f8dcf9 | 2580 | |
10c224a9 RG |
2581 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
2582 | ||
2583 | PR tree-optimization/18041 | |
2584 | * tree-ssa-forwprop.c (simplify_bitwise_and): Rename to ... | |
2585 | (simplify_bitwise_binary): ... this. Handle operand conversions | |
2586 | by applying them to the result instead. | |
2587 | (tree_ssa_forward_propagate_single_use_vars): Adjust. CSE tree code. | |
2588 | ||
825b27de RG |
2589 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
2590 | ||
2591 | * gimple.c (gimple_canonical_types_compatible_p): Split out | |
2592 | from gimple_types_compatible_p and friends. Do not recurse | |
2593 | to pointed-to types. | |
2594 | (gimple_canonical_type_eq): Use it. | |
2595 | (iterative_hash_canonical_type): Split out from | |
2596 | iterative_hash_gimple_type and friends. Do not recurse | |
2597 | to pointed-to types. | |
2598 | (gimple_canonical_type_hash): Use it, allocate the hash here. | |
2599 | ||
ca756625 RE |
2600 | 2011-05-11 Revital Eres <revital.eres@linaro.org> |
2601 | ||
2602 | * modulo-sched.c (doloop_register_get): Ignore DEBUG_INSNs while | |
2603 | recognizing doloop. | |
2604 | ||
b8abece3 RE |
2605 | 2011-05-11 Revital Eres <revital.eres@linaro.org> |
2606 | ||
2607 | * loop-doloop.c (doloop_condition_get): Use prev_nondebug_insn | |
2608 | instead of PREV_INSN. | |
2609 | ||
ce7b3761 RE |
2610 | 2011-05-11 Revital Eres <revital.eres@linaro.org> |
2611 | ||
2612 | * modulo-sched.c (sms_schedule): Support new form of doloop pattern | |
2613 | * loop-doloop.c (doloop_condition_get): Likewise. | |
2614 | * config/arm/thumb2.md (*thumb2_addsi3_compare0): Remove "*". | |
2615 | (doloop_end): New. | |
2616 | * config/arm/arm.md (*addsi3_compare0): Remove "*". | |
2617 | ||
a9dc9d37 NF |
2618 | 2011-05-10 Nathan Froyd <froydnj@codesourcery.com> |
2619 | ||
2620 | * tree.def (CASE_LABEL_EXPR): Add an operand. | |
2621 | * tree.h (CASE_CHAIN): Use TREE_OPERAND instead of TREE_CHAIN. | |
2622 | ||
96703596 JM |
2623 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
2624 | ||
2625 | * c-decl.c (c_override_global_bindings_to_false): Remove. | |
2626 | (global_bindings_p): Don't check | |
2627 | c_override_global_bindings_to_false. | |
2628 | * c-tree.h (c_override_global_bindings_to_false): Remove. | |
2629 | * c-typeck.c (composite_type): Don't set | |
2630 | c_override_global_bindings_to_false. | |
2631 | ||
dbcc9f08 MM |
2632 | 2011-05-10 Michael Meissner <meissner@linux.vnet.ibm.com> |
2633 | ||
2634 | PR target/48857, 48495 | |
2635 | * config/rs6000/rs6000.h (VSX_SCALAR_MODE): Delete. | |
2636 | (VSX_MODE): Ditto. | |
2637 | (VSX_MOVE_MODE): Ditto. | |
2638 | (ALTIVEC_OR_VSX_VECTOR_MODE): New macro, combine all Altivec and | |
2639 | VSX vector types. Add V2DImode. | |
2640 | (HARD_REGNO_CALLER_SAVE_MODE): Use it instead of | |
2641 | ALTIVEC_VECTOR_MODE and VSX_VECTOR_MODE calls. | |
2642 | (MODES_TIEABLE_P): Ditto. | |
2643 | ||
2644 | * config/rs6000/rs6000.c (rs6000_emit_move): Use | |
2645 | ALTIVEC_OR_VSX_MODE instead of ALTIVEC_VECTOR_MODE and | |
2646 | VSX_VECTOR_MODE. | |
2647 | (init_cumulative_args): Ditto. | |
2648 | (rs6000_function_arg_boundary): Ditto. | |
2649 | (rs6000_function_arg_advance_1): Ditto. | |
2650 | (rs6000_function_arg): Ditto. | |
2651 | (rs6000_function_ok_for_sibcall): Ditto. | |
2652 | (emit_frame_save): Ditto. | |
2653 | (rs6000_function_value): Ditto. | |
2654 | (rs6000_libcall_value): Ditto. | |
2655 | ||
4a68b4ca JM |
2656 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
2657 | ||
2658 | * config.gcc (i[34567]86-*-darwin*, x86_64-*-darwin*): Add | |
2659 | i386/darwin-lib.h to $libgcc_tm_file. | |
2660 | * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Remove. | |
2661 | ||
bcb521e9 JM |
2662 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
2663 | ||
2664 | * doc/sourcebuild.texi (Back End): Mention contrib/config-list.mk. | |
2665 | ||
f10d3ac9 JM |
2666 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
2667 | ||
cb032fee | 2668 | * config/rs6000/genopt.sh, config/rs6000/rs6000-cpus.def: New files. |
f10d3ac9 JM |
2669 | * config/rs6000/rs6000-tables.opt: New file (generated). |
2670 | * config.gcc (powerpc*-*-*, rs6000*-*-*): Add | |
2671 | rs6000/rs6000-tables.opt to extra_options. | |
2672 | * config/rs6000/rs6000-opts.h (RS6000_CPU_OPTION_NATIVE): Define. | |
2673 | * config/rs6000/rs6000.c (rs6000_select): Remove. | |
2674 | (processor_target_table): Move contents to rs6000-cpus.def. | |
2675 | (darwin_rs6000_override_options): Check | |
2676 | global_options_set.x_rs6000_cpu_index instead of | |
2677 | rs6000_select[1].string. | |
2678 | (rs6000_option_override_internal): Likewise. | |
2679 | (rs6000_handle_option): Don't assert that global structures are in | |
2680 | use. Don't handle OPT_mcpu_ and OPT_mtune_ here. | |
2681 | (rs6000_default_cpu): New variable. | |
2682 | (rs6000_file_start): Set it instead of local default_cpu. Check | |
2683 | rs6000_default_cpu, global_options_set.x_rs6000_cpu_index and | |
2684 | global_options_set.x_rs6000_tune_index instead of rs6000_select. | |
2685 | (rs6000_darwin_file_start): Check rs6000_default_cpu and | |
2686 | global_options_set.x_rs6000_cpu_index instead of rs6000_select. | |
2687 | * config/rs6000/rs6000.h (struct rs6000_cpu_select, | |
2688 | rs6000_select): Remove. | |
2689 | * config/rs6000/rs6000.opt (rs6000_cpu_index, rs6000_tune_index): | |
2690 | Remove. | |
2691 | (mcpu=, mtune=): Use Var, Init, Enum and Save. | |
2692 | * config/rs6000/t-rs6000 | |
2693 | ($(srcdir)/config/rs6000/rs6000-tables.opt): New. | |
2694 | * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Check | |
2695 | global_options_set.x_rs6000_cpu_index instead of | |
2696 | rs6000_select[1].string. | |
2697 | * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Check | |
2698 | global_options_set.x_rs6000_cpu_index instead of | |
2699 | rs6000_select[1].string. | |
2700 | ||
80cf2e08 JM |
2701 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
2702 | ||
2703 | * config.gcc (libgcc_tm_file): Define instead of including files | |
2704 | from ../../libgcc/config/ in tm_file. | |
cb032fee | 2705 | * configure.ac (libgcc_tm_file_list, libgcc_tm_include_list): Define. |
80cf2e08 JM |
2706 | * configure: Regenerate. |
2707 | * Makefile.in (libgcc_tm_file_list, libgcc_tm_include_list, | |
2708 | libgcc_tm.h, cs-libgcc_tm.h): New. | |
2709 | (TM_H): Include libgcc_tm.h and $(libgcc_tm_file_list). | |
2710 | (clean): Remove libgcc_tm.h. | |
2711 | * config/arm/symbian.h (RENAME_LIBRARY): Remove. | |
2712 | * mkconfig.sh: Include libgcc_tm.h in tm.h if USED_FOR_TARGET. | |
2713 | * system.h (DECLARE_LIBRARY_RENAMES): Poison. | |
2714 | ||
fd01a351 GJL |
2715 | 2011-05-10 Georg-Johann Lay <avr@gjlay.de> |
2716 | ||
2717 | PR target/48896 | |
2718 | * config/avr/avr.c (avr_ret_register): Return unsigned int | |
2719 | instead of int. | |
2720 | (avr_function_value): Mark fn_decl_or_type as unused, don't pass | |
2721 | it to avr_libcall_value. | |
2722 | avr_expand_builtin): Use EXPAND_NORMAL as arg 4 in calls to | |
2723 | expand_expr. | |
2724 | (avr_expand_binop_builtin): Ditto. | |
2725 | (avr_expand_unop_builtin): Ditto. | |
2726 | ||
34cc3c86 DD |
2727 | 2011-05-10 DJ Delorie <dj@redhat.com> |
2728 | ||
2729 | * config/rx/rx.h (JUMP_ALIGN, LABEL_ALIGN, LOOP_ALIGN): Define. | |
2730 | (LABEL_ALIGN_AFTER_BARRIER): Pass label to rx_align_for_label | |
2731 | * config/rx/rx.c (rx_align_for_label): Add label and | |
2732 | uses_threshold parameters. Do not align when the label is not | |
2733 | used enough. | |
2734 | * config/rx/rx-protos.h (rx_align_for_label): Update prototype. | |
2735 | ||
be173289 RG |
2736 | 2011-05-10 Richard Guenther <rguenther@suse.de> |
2737 | ||
2738 | * tree-ssa-forwprop.c (combine_conversions): Pattern-match | |
2739 | a series of conversions and apply foldings similar to what | |
2740 | fold-const does. | |
2741 | (tree_ssa_forward_propagate_single_use_vars): Call it. | |
2742 | ||
e7f78021 JJ |
2743 | 2011-05-10 Jakub Jelinek <jakub@redhat.com> |
2744 | ||
6ae70ea2 JJ |
2745 | PR tree-optimization/48611 |
2746 | PR tree-optimization/48794 | |
2747 | * tree-eh.c (remove_unreachable_handlers): Don't remove regions | |
2748 | referenced from RESX or EH_DISPATCH arguments. | |
2749 | ||
e7f78021 JJ |
2750 | PR debug/48928 |
2751 | * dfp.c (decimal_to_decnumber): Handle conversion from | |
2752 | dconst{1,2,m1,half}. | |
2753 | ||
fca132b9 UB |
2754 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> |
2755 | ||
2756 | * config/i386/i386.c (ix86_autovectorize_vector_sizes): Return 0 | |
2757 | for !flag_prefer_avx128. | |
2758 | (ix86_preferred_simd_mode): Return word_mode for DFmode without SSE2. | |
2759 | ||
e4c03378 EB |
2760 | 2011-05-09 Eric Botcazou <ebotcazou@adacore.com> |
2761 | ||
2762 | * fold-const.c (fold_range_test): Pass LOC to build_range_check. | |
2763 | (fold_ternary_loc): Use expr_location_or. | |
2764 | ||
805d6a75 L |
2765 | 2011-05-09 H.J. Lu <hongjiu.lu@intel.com> |
2766 | ||
2767 | PR debug/48853 | |
2768 | * dwarf2out.c (mem_loc_descriptor) <case SUBREG>: If | |
2769 | POINTERS_EXTEND_UNSIGNED is defined, don't give up if mode is | |
2770 | Pmode and mem_mode is not VOIDmode. | |
2771 | ||
e4c03378 | 2772 | 2011-05-09 Ville Voutilainen <ville.voutilainen@gmail.com> |
b5da71d4 | 2773 | |
e4c03378 EB |
2774 | * tree.h (TYPE_UNQUALIFIED, TYPE_QUAL_CONST, TYPE_QUAL_VOLATILE, |
2775 | TYPE_QUAL_RESTRICT): Convert to enum. | |
b5da71d4 | 2776 | |
51e7f377 UB |
2777 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> |
2778 | ||
2779 | * config/i386/predicates.md (const_pow2_1_to_2_operand): Remove. | |
2780 | (const_pow2_1_to_8_operand): Ditto. | |
2781 | (const_pow2_1_to_128_operand): Ditto. | |
2782 | (const_pow2_1_to_32768_operand): Ditto. | |
2783 | * config/i386/mmx.md (*mmx_pinsrw): Use const_int_operand instead of | |
2784 | const_pow2_1_to_8_operand for operand 3 predicate. Use exact_log2 | |
2785 | in insn constraint to check integer value of operand 3. | |
2786 | * config/i386/sse.md (*vec_setv4sf_sse4_1): Ditto. | |
2787 | ||
2788 | (PINSR_MODE): New mode iterator. | |
2789 | (sse2p4_1): New mode attribute. | |
2790 | (<sse2p4_1>_pinsr<ssemodesuffix>): Merge insn from sse4_1_pinsrb, | |
2791 | sse2_pinsrw, sse4_1_pinsrd and sse4_1_pinsrq using PINSR_MODE mode | |
2792 | iterator. Use const_int_operand instead of | |
2793 | const_pow2_1_to_{2,8,128,32768}_operand for operand 3 predicate. Use | |
2794 | exact_log2 in insn constraint to check integer value of operand 3. | |
2795 | ||
2796 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> | |
2797 | ||
2798 | * config/i386/sse.md (blendbits): Remove mode attribute. | |
2799 | (<sse4_1>_blend<ssemodesuffix><avxsizesuffix>): Use const_int_operand | |
2800 | instead of const_0_to_<blendbits>_operand for operand 3 predicate. | |
2801 | Check integer value of operand 3 in insn constraint. | |
2802 | ||
0ca8de87 RG |
2803 | 2011-05-09 Richard Guenther <rguenther@suse.de> |
2804 | ||
2805 | * lto-symtab.c (lto_cgraph_replace_node): Use types_compatible_p | |
2806 | for diagnostics. | |
2807 | (lto_symtab_merge): Likewise. Do not register types here. | |
2808 | (lto_symtab_merge_decls_2): Likewise. | |
2809 | (lto_symtab_merge_decls_1): Likewise. | |
2810 | * gimple.h (enum gtc_mode, gimple_types_compatible_p): Do not declare. | |
2811 | * gimple.c (enum gtc_mode): Declare. | |
2812 | (gimple_types_compatible_p): Make static. | |
2813 | ||
a9e6994a AK |
2814 | 2011-05-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2815 | ||
2816 | * config/s390/s390.md (TD/TF mem to reg move splitter): Make the | |
2817 | temporary register to match Pmode. | |
2818 | ||
fb55d62e UB |
2819 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> |
2820 | ||
2821 | * config/i386/sse.md (*vec_concatv4si): Merge from *vec_concatv4si_1 | |
2822 | and *vec_concatv4si_1_avx. | |
2823 | ||
eb1485a6 UB |
2824 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> |
2825 | ||
2826 | PR rtl-optimization/48927 | |
2827 | * ira-conflicts.c (commutative_constraint_p): Use | |
2828 | recog_data.alternative_enabled_p to disable alternatives where | |
2829 | "enabled" attribute is false. | |
2830 | (get_dup_num): Ditto. | |
2831 | * ira-lives.c (single_reg_class): Ditto. | |
2832 | (ira_implicitly_set_insn_hard_regs): Ditto. | |
2833 | ||
c46d001a EB |
2834 | 2011-05-09 Eric Botcazou <ebotcazou@adacore.com> |
2835 | ||
2836 | * var-tracking.c (find_mem_expr_in_1pdv): Fix thinko. | |
2837 | (dataflow_set_preserve_mem_locs): Likewise. | |
2838 | ||
2839 | 2011-05-09 Philipp Thomas <pth@suse.de> | |
2840 | ||
6d9e7c41 PT |
2841 | * config/mep/mep.c (mep_validate_vliw): Syntax description |
2842 | should not be translated. | |
2843 | ||
d371df6f JM |
2844 | 2011-05-09 Joseph Myers <joseph@codesourcery.com> |
2845 | ||
2846 | * config/mips/genopt.sh, config/mips/mips-cpus.def: New files. | |
2847 | * config/mips/mips-tables.opt: New file (generated). | |
eb1485a6 | 2848 | * config.gcc (mips*-*-*): Add mips/mips-tables.opt to extra_options. |
d371df6f JM |
2849 | * config/mips/mips-opts.h (MIPS_ARCH_OPTION_FROM_ABI, |
2850 | MIPS_ARCH_OPTION_NATIVE): Define. | |
2851 | * config/mips/mips.c (mips_cpu_info_table): Move contents to | |
2852 | mips-cpus.def. | |
2853 | (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p, | |
2854 | mips_parse_cpu): Remove. | |
2855 | (mips_cpu_info_from_opt, mips_default_arch): New. | |
2856 | (mips_handle_option): Don't assert that global structures are in | |
2857 | use. Don't handle OPT_march_, OPT_mtune_ and OPT_mips here. | |
2858 | (mips_option_override): Use new variables and functions to set | |
eb1485a6 | 2859 | state of these options. Use strcmp to check for individual CPU names. |
d371df6f JM |
2860 | * config/mips/mips.h (MIPS_CPU_STRING_DEFAULT): Remove default |
2861 | definition. | |
2862 | * config/mips/mips.opt (march=): Use ToLower and Enum. | |
2863 | (mips): Use ToLower, Enum and Var. | |
2864 | (mtune=): Use ToLower and Enum. | |
2865 | * config/mips/t-mips ($(srcdir)/config/mips/mips-tables.opt): New. | |
2866 | ||
4fc07af9 JH |
2867 | 2011-05-08 Jan Hubicka <jh@suse.cz> |
2868 | ||
2869 | * gimple.c (type_pair_hash, type_pair_eq, lookup_type_pair): | |
2870 | Arrange type pairs to be UID ordered. | |
2871 | (gimple_lookup_type_leader): Make inline. | |
2872 | ||
2cf320a8 NC |
2873 | 2011-05-09 Nick Clifton <nickc@redhat.com> |
2874 | ||
61d6def5 NC |
2875 | PR target/48899 |
2876 | * config/iq2000/iq2000.opt (iq2000_tune): Initialise to | |
2877 | PROCESSOR_DEFAULT. | |
2878 | ||
2cf320a8 NC |
2879 | PR target/48897 |
2880 | * config/mn10300/mn10300.c (extract_bundle): Remove spurious local | |
2881 | variable 's'. | |
2882 | ||
4f82319d CLT |
2883 | 2011-05-08 Chung-Lin Tang <cltang@codesourcery.com> |
2884 | ||
2885 | * combine.c (simplify_comparison): Abstract out parts into... | |
2886 | (simplify_compare_const): ... new function. | |
2887 | (try_combine): Generalize parallel arithmetic/compare combining | |
2888 | to call simplify_compare_const() and CANONICALIZE_COMPARE(). | |
2889 | ||
74605a11 JH |
2890 | 2011-05-08 Jan Hubicka <jh@suse.cz> |
2891 | ||
2892 | * cgraph.c (cgraph_clone_node): Add call_duplication_hook parameter. | |
eb1485a6 UB |
2893 | (cgraph_create_virtual_clone): Call hooks once virtual clone |
2894 | is finished. | |
74605a11 | 2895 | * cgraph.h (cgraph_clone_node): Update prototype. |
eb1485a6 UB |
2896 | * ipa-cp.c (ipcp_estimate_growth): Use |
2897 | estimate_ipcp_clone_size_and_time. | |
74605a11 JH |
2898 | * ipa-inline-transform.c (clone_inlined_nodes): Update. |
2899 | * lto-cgraph.c (input_node): Update. | |
2900 | * ipa-inline.c (recursive_inlining): Update. | |
2901 | * ipa-inline.h (estimate_ipcp_clone_size_and_time): New function. | |
2902 | (evaluate_conditions_for_known_args): Break out from ... | |
2903 | (evaluate_conditions_for_edge): ... here. | |
2904 | (evaluate_conditions_for_ipcp_clone): New function. | |
2905 | (inline_node_duplication_hook): Update clone summary based | |
2906 | on parameter map. | |
2907 | (estimate_callee_size_and_time): Rename to ... | |
2908 | (estimate_node_size_and_time): take NODE instead of EDGE; | |
2909 | take POSSIBLE_TRUTHS as argument. | |
2910 | (estimate_callee_size_and_time): Update. | |
2911 | (estimate_ipcp_clone_size_and_time): New function. | |
2912 | (do_estimate_edge_time): Update. | |
2913 | ||
5c049507 RG |
2914 | 2011-05-08 Richard Guenther <rguenther@suse.de> |
2915 | ||
2916 | PR middle-end/48908 | |
2917 | PR middle-end/48905 | |
2918 | * expmed.c (expand_shift_1): Compute adjusted constant shift | |
2919 | amount manually. | |
2920 | ||
f64c36ba EB |
2921 | 2011-05-08 Eric Botcazou <ebotcazou@adacore.com> |
2922 | ||
2923 | * config/avr/avr.c (print_operand_address): Fix invalid RTL access. | |
2924 | ||
c461a957 EB |
2925 | 2011-05-08 Eric Botcazou <ebotcazou@adacore.com> |
2926 | ||
2927 | * config/rs6000/rs6000.c (output_profile_hook): Fix thinko. | |
2928 | ||
7c74e556 JW |
2929 | 2011-05-08 Jonathan Wakely <jwakely.gcc@gmail.com> |
2930 | ||
2931 | * doc/invoke.texi (-fuse-linker-plugin): Improve grammar. | |
2932 | ||
b4c0a884 JH |
2933 | 2011-05-07 Jan Hubicka <jh@suse.cz> |
2934 | ||
a9bcb3f0 EB |
2935 | * ipa-inline-transform.c (inline_call): Account when program size |
2936 | decreases. | |
b4c0a884 | 2937 | * ipa-inline.c (relative_time_benefit): New function. |
a9bcb3f0 EB |
2938 | (edge_badness): Reorganize to be power 2 based; fix thinko when |
2939 | computing badness for negative growth; update comments to match | |
2940 | reality; better dumps. | |
b4c0a884 | 2941 | |
c99c0026 EB |
2942 | 2011-05-07 Eric Botcazou <ebotcazou@adacore.com> |
2943 | ||
2944 | * langhooks.h (lang_hooks_for_types): Change global_bindings_p's return | |
2945 | type to bool and adjust comment. | |
2946 | * fold-const.c (fold_range_test): Adjust call to global_bindings_p. | |
2947 | (fold_mathfn_compare): Remove calls to global_bindings_p. | |
2948 | (fold_inf_compare): Likewise. | |
2949 | * stor-layout.c (variable_size): Adjust call to global_bindings_p. | |
2950 | * c-tree.h (global_bindings_p): Adjust prototype. | |
2951 | * c-decl.c (global_bindings_p): Return bool and simplify. | |
2952 | ||
1400c8e5 ZD |
2953 | 2011-05-07 Zdenek Dvorak <ook@ucw.cz> |
2954 | ||
2955 | PR tree-optimization/48837 | |
2956 | * tree-tailcall.c (tree_optimize_tail_calls_1): Do not mark tailcalls | |
2957 | when accumulator transformation is performed. | |
2958 | ||
5d0878e7 JH |
2959 | 2011-05-06 Jan Hubicka <jh@suse.cz> |
2960 | ||
a9bcb3f0 EB |
2961 | * i386.h (ix86_tune_indices): Add |
2962 | X86_TUNE_SOFTWARE_PREFETCHING_BENEFICIAL. | |
eb1485a6 | 2963 | (TARGET_SOFTWARE_PREFETCHING_BENEFICIAL): New macro. |
a9bcb3f0 EB |
2964 | * i386.c (initial_ix86_tune_features): Add |
2965 | X86_SOFTARE_PREFETCHING_BENEFICIAL. | |
5d0878e7 JH |
2966 | (software_prefetching_beneficial_p): Remove predicate. |
2967 | (ix86_option_override_internal): Use new macro. | |
2968 | ||
58696ce5 JH |
2969 | 2011-05-06 Jan Hubicka <jh@suse.cz> |
2970 | ||
2971 | * ipa-inline.c (update_callee_keys): Don't reset node growth cache. | |
2972 | ||
c47d0034 JH |
2973 | 2011-05-06 Jan Hubicka <jh@suse.cz> |
2974 | ||
2975 | * cgraph.c (cgraph_add_thunk): Create real function node instead | |
2976 | of alias node; finalize it and mark needed/reachale; arrange visibility | |
2977 | to be right and add it into the corresponding same comdat group list. | |
2978 | (dump_cgraph_node): Dump thunks. | |
2979 | * cgraph.h (cgraph_first_defined_function, cgraph_next_defined_function, | |
a9bcb3f0 EB |
2980 | cgraph_function_with_gimple_body_p, |
2981 | cgraph_first_function_with_gimple_body, | |
c47d0034 JH |
2982 | cgraph_next_function_with_gimple_body): New functions. |
2983 | (FOR_EACH_FUNCTION_WITH_GIMPLE_BODY, FOR_EACH_DEFINED_FUNCTION): | |
2984 | New macros. | |
2985 | * ipa-cp.c (ipcp_need_redirect_p): Thunks can't be redirected. | |
2986 | (ipcp_generate_summary): Use FOR_EACH_FUNCTION_WITH_GIMPLE_BODY. | |
2987 | * cgraphunit.c (cgraph_finalize_function): Only look into possible | |
2988 | devirtualization when optimizing. | |
2989 | (verify_cgraph_node): Verify thunks. | |
2990 | (cgraph_analyze_function): Analyze thunks. | |
2991 | (cgraph_mark_functions_to_output): Output thunks only in combination | |
2992 | with function they are assigned to. | |
2993 | (assemble_thunk): Turn thunk into non-thunk; don't try to turn | |
2994 | alias into normal node. | |
2995 | (assemble_thunks): New functoin. | |
2996 | (cgraph_expand_function): Use it. | |
2997 | * lto-cgraph.c (lto_output_node): Stream thunks. | |
2998 | (input_overwrite_node): Stream in thunks. | |
2999 | * ipa-pure-const.c (analyze_function): Thunks do nothing interesting. | |
3000 | * lto-streamer-out.c (lto_output): Do not try to output thunk's body. | |
3001 | * ipa-inline.c (inline_small_functions): Use FOR_EACH_DEFINED_FUNCTION. | |
3002 | * ipa-inline-analysis.c (compute_inline_parameters): "Analyze" thunks. | |
3003 | (inline_analyze_function): Do not care about thunk jump functions. | |
3004 | (inline_generate_summary):Use FOR_EACH_DEFINED_FUNCTION. | |
a9bcb3f0 EB |
3005 | * ipa-prop.c (ipa_prop_write_jump_functions): Use |
3006 | cgraph_function_with_gimple_body_p. | |
3007 | * passes.c (do_per_function_toporder): Use | |
3008 | cgraph_function_with_gimple_body_p. | |
c47d0034 JH |
3009 | (execute_one_pass);Use FOR_EACH_FUNCTION_WITH_GIMPLE_BODY. |
3010 | (ipa_write_summaries): Use cgraph_function_with_gimple_body_p. | |
3011 | (function_called_by_processed_nodes_p): Likewise. | |
3012 | ||
d8f426ec JM |
3013 | 2011-05-06 Joseph Myers <joseph@codesourcery.com> |
3014 | ||
3015 | * config/rs6000/rs6000.opt (rs6000_ieeequad, rs6000_altivec_abi, | |
3016 | rs6000_spe_abi, rs6000_darwin64_abi): Remove TargetVariable | |
3017 | entries. | |
3018 | (mabi=): Replace with separate entries for mabi=altivec, | |
3019 | mabi=no-altivec, mabi=spe, mabi=no-spe, mabi=d64, mabi=d32, | |
3020 | mabi=ieeelongdouble and mabi=ibmlongdouble. | |
3021 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Move | |
3022 | check for -mabi=spe without SPE ABI support here. | |
3023 | (rs6000_handle_option): Replace OPT_mabi_ handling with | |
3024 | OPT_mabi_altivec and OPT_mabi_spe handling. | |
3025 | ||
80bde45b CC |
3026 | 2011-05-06 Cary Coutant <ccoutant@google.com> |
3027 | ||
3028 | * dwarf2out.c (contains_subprogram_definition): New function. | |
3029 | (should_move_die_to_comdat): Call it. | |
3030 | ||
a91926b9 JL |
3031 | 2011-05-06 Jeff Law <law@redhat.com> |
3032 | ||
3033 | * tree-ssa-threadupdate.c (create_block_for_threading): Do not call | |
3034 | remove_ctrl_stmt_and_useless_edges. | |
3035 | (create_duplicates): Call remove_ctrl_stmt_and_useless_edges. | |
3036 | (fixup_template_block, thread_single_edge): Likewise. | |
3037 | (mark_threaded_blocks): Use THREAD_TARGET. | |
3038 | ||
1fc1b66d AM |
3039 | 2011-05-06 Alan Modra <amodra@gmail.com> |
3040 | ||
3041 | PR target/48900 | |
3042 | * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Use | |
3043 | const0_rtx as the arg to the dummy __tls_get_addr libcall. | |
3044 | ||
e194de64 UB |
3045 | 2011-05-06 Uros Bizjak <ubizjak@gmail.com> |
3046 | ||
3047 | * config/i386/i386.md (*movdf_internal_nointeger): Apply "*" | |
3048 | constraint modifier to "r". | |
3049 | ||
d740dc9e JM |
3050 | 2011-05-06 Joseph Myers <joseph@codesourcery.com> |
3051 | ||
3052 | * config/rs6000/rs6000.c (rs6000_handle_option): Don't handle and | |
3053 | fall through for OPT_mcmodel_. | |
3054 | ||
cab78b15 AK |
3055 | 2011-05-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
3056 | ||
3057 | * config/s390/s390.c (s390_asm_trampoline_template): Comment | |
3058 | instruction sizes. | |
e194de64 | 3059 | (s390_trampoline_init): Replace UNITS_PER_WORD with UNITS_PER_LONG. |
cab78b15 | 3060 | |
ee6824ae RR |
3061 | 2011-05-06 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
3062 | ||
eb1485a6 UB |
3063 | PR target/47930 |
3064 | * config/arm/arm.opt (marm): Document it. | |
3065 | (mthumb): Reject negative variant. | |
ee6824ae | 3066 | |
9ef58464 UB |
3067 | 2011-05-06 Uros Bizjak <ubizjak@gmail.com> |
3068 | ||
3069 | PR target/48898 | |
3070 | * config/i386/netware.c (i386_nlm_maybe_mangle_decl_assembler_name): | |
3071 | Fix typo in "ccvt" variable name. | |
3072 | ||
155b6176 TG |
3073 | 2011-05-06 Tristan Gingold <gingold@adacore.com> |
3074 | ||
3075 | PR target/48895 | |
3076 | * config/vms/vms-ar.c (main): Remove cwd variable. | |
3077 | ||
3becc47b JJ |
3078 | 2011-05-06 Jakub Jelinek <jakub@redhat.com> |
3079 | ||
3080 | PR debug/48902 | |
3081 | * var-tracking.c (prepare_call_arguments): Move else before #endif. | |
3082 | ||
3d528853 NF |
3083 | 2011-05-05 Nathan Froyd <froydnj@codesourcery.com> |
3084 | ||
3085 | * except.c (sjlj_emit_dispatch_table): Call build_case_label. | |
3086 | * gimplify.c (gimplify_switch_expr): Likewise. | |
3087 | * omp-low.c (expand_omp_sections): Likewise. | |
3088 | * tree-eh.c (lower_try_finally_switch): Likewise. | |
3089 | (lower_eh_dispatch): Likewise. | |
3090 | * tree.h (build_case_label): Declare. | |
3091 | * tree.c (build_case_label): Define. | |
3092 | ||
deb5046b JM |
3093 | 2011-05-05 Jason Merrill <jason@redhat.com> |
3094 | ||
3095 | PR c++/40975 | |
3096 | * tree-inline.c (copy_tree_r): Use copy_statement_list. | |
3097 | (copy_statement_list): Don't recurse. | |
3098 | * stor-layout.c (copy_self_referential_tree_r): Don't allow | |
3099 | STATEMENT_LIST. | |
3100 | ||
013c0411 JM |
3101 | 2011-05-05 Joseph Myers <joseph@codesourcery.com> |
3102 | ||
3103 | * config/rs6000/rs6000.c (rs6000_handle_option): Don't fall | |
3104 | through from -mfpu= handling. | |
3105 | * config/rs6000/rs6000.opt (mfpu=): Use Var and Init. | |
3106 | ||
a0905f8b BS |
3107 | 2011-05-05 Bernd Schmidt <bernds@codesourcery.com> |
3108 | ||
3109 | * dwarf2out.c (dwarf2out_frame_debug_expr) [rule 10]: Handle | |
3110 | POST_MODIFY. | |
3111 | ||
fc4538e4 SE |
3112 | 2011-05-05 Steve Ellcey <sje@cup.hp.com> |
3113 | ||
3114 | * config.gcc (hppa*64*-*-hpux11*): Modify tm_file and extra_options | |
3115 | for 11.31. | |
3116 | (hppa[12]*-*-hpux11*): Ditto. | |
3117 | (ia64*-*-hpux*): Add ia64/hpux-unix2003.h to tm_file. | |
3118 | * config/ia64/hpux-unix2003.h: New. | |
3119 | * config/pa/pa-hpux1131.opt: New. | |
3120 | * config/pa/pa-hpux1131.h: New. | |
3121 | * config/pa/pa64-hpux.h (STARTFILE_SPEC): Use unix2003.o if requested. | |
3122 | * config/pa/pa-hpux.opt (flag_pa_unix): Check TARGET_HPUX_11_31 value. | |
4eec64ff | 3123 | * config/pa/pa.h (TARGET_HPUX_11_31): Provide default (0) value. |
fc4538e4 | 3124 | |
1e30c578 JJ |
3125 | 2011-05-05 Jakub Jelinek <jakub@redhat.com> |
3126 | ||
3127 | PR debug/48853 | |
3128 | * dwarf2out.c (mem_loc_descriptor) <case SUBREG>: Pass mem_mode | |
3129 | instead of mode as 3rd argument to recursive call. | |
3130 | (mem_loc_descriptor) <case REG>: If POINTERS_EXTEND_UNSIGNED, don't | |
3131 | emit DW_OP_GNU_regval_type if mode is Pmode and mem_mode is not | |
3132 | VOIDmode. | |
3133 | (mem_loc_descriptor) <case SYMBOL_REF>: If POINTERS_EXTEND_UNSIGNED, | |
3134 | don't give up if mode is Pmode and mem_mode is not VOIDmode. | |
3135 | (mem_loc_descriptor) <case CONST_INT>: If POINTERS_EXTEND_UNSIGNED, | |
3136 | use int_loc_descriptor if mode is Pmode and mem_mode is not VOIDmode. | |
3137 | ||
d19eb620 JB |
3138 | 2011-05-05 Julian Brown <julian@codesourcery.com> |
3139 | ||
3140 | * config/arm/neon.md (vec_set<mode>_internal): Fix misplaced | |
3141 | parenthesis in D-register case. | |
3142 | ||
c860fe8c JM |
3143 | 2011-05-05 Joseph Myers <joseph@codesourcery.com> |
3144 | ||
3145 | * opt-functions.awk (var_type_struct): Handle Enum options. | |
3146 | * optc-gen.awk: Don't check range of variables of character type. | |
3147 | * config/rs6000/rs6000.c (rs6000_sched_insert_nops_str, | |
3148 | rs6000_sched_costly_dep_str, rs6000_recip_name, rs6000_abi_name, | |
3149 | rs6000_sdata_name, rs6000_explicit_options): Remove. | |
3150 | (rs6000_option_override_internal): Check for -malign-power here. | |
3151 | Use global_options_set instead of rs6000_explicit_options. | |
3152 | (rs6000_parse_fpu_option): Remove. | |
3153 | (rs6000_handle_option): Access variables via opts and opts_set | |
3154 | pointers. Use error_at and warning_at. Add fall-through | |
3155 | comments. Don't handle OPT_mcmodel_, OPT_maix_struct_return, | |
3156 | OPT_msvr4_struct_return, OPT_mvrsave, OPT_mspe, OPT_mcall_, | |
3157 | OPT_msdata_, OPT_mtls_size_, OPT_mtraceback_, OPT_mfloat_gprs_, | |
3158 | OPT_msched_costly_dep_, OPT_malign_ or OPT_mrecip_ explicitly | |
3159 | here. Don't use rs6000_parse_fpu_option. | |
3160 | * config/rs6000/rs6000.h (fpu_type): Remove declaration. | |
3161 | * config/rs6000/rs6000.opt (rs6000_long_double_type_size, | |
3162 | rs6000_spe, rs6000_float_gprs): Remove TargetVariable entries. | |
3163 | (mrecip=): Use Var. | |
3164 | (mspe): Use Var and Save. | |
3165 | (mtraceback=): Use Enum and Var. | |
3166 | (rs6000_traceback_type): New Enum and EnumValue entries. | |
3167 | (mfloat-gprs=): Use Enum, Var and Save. | |
3168 | (rs6000_float_gprs): New Enum and EnumValue entries. | |
3169 | (mlong-double-): use Var and Save. | |
3170 | (msched-costly-dep=, minsert-sched-nops=): Use Var. | |
3171 | (malign-): Use Enum and Var. | |
3172 | (rs6000_alignment_flags): New Enum and EnumValue entries. | |
3173 | (mfpu=): Use Enum. | |
3174 | (fpu_type_t): New Enum and EnumValue entries. | |
3175 | * config/rs6000/aix43.h (SUBTARGET_OVERRIDE_OPTIONS): Use | |
3176 | global_options_set instead of rs6000_explicit_options. | |
3177 | * config/rs6000/aix52.h (SUBTARGET_OVERRIDE_OPTIONS): Use | |
3178 | global_options_set instead of rs6000_explicit_options. | |
3179 | * config/rs6000/aix53.h (SUBTARGET_OVERRIDE_OPTIONS): Use | |
3180 | global_options_set instead of rs6000_explicit_options. | |
3181 | * config/rs6000/aix61.h (SUBTARGET_OVERRIDE_OPTIONS): Use | |
3182 | global_options_set instead of rs6000_explicit_options. | |
3183 | * config/rs6000/e500-double.h (SUB3TARGET_OVERRIDE_OPTIONS): Use | |
3184 | global_options_set instead of rs6000_explicit_options. | |
3185 | * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use | |
3186 | global_options_set instead of rs6000_explicit_options. | |
3187 | (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Remove commented-out | |
3188 | definition. | |
3189 | * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use | |
3190 | global_options_set instead of rs6000_explicit_options. | |
3191 | * config/rs6000/linux64.opt (mcmodel=): Use Enum and Var. | |
3192 | (rs6000_cmodel): New Enum and EnumValue entries. | |
3193 | * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use | |
3194 | global_options_set instead of rs6000_explicit_options. | |
3195 | * config/rs6000/sysv4.opt (mcall-, msdata=): Use Var. | |
3196 | (mtls-size=): Use Enum and Var. | |
3197 | (rs6000_tls_size): New Enum and EnumValue entries. | |
3198 | ||
0691dde9 MM |
3199 | 2011-05-05 Michael Matz <matz@suse.de> |
3200 | ||
3201 | * config/alpha/elf.h (ENDFILE_SPEC): Add Ofast. | |
3202 | * config/alpha/osf5.h (ENDFILE_SPEC): Add Ofast. | |
3203 | * config/alpha/netbsd.h (ENDFILE_SPEC): Add Ofast. | |
3204 | * config/sparc/linux.h (ENDFILE_SPEC): Add Ofast. | |
3205 | * config/sparc/sp64-elf.h (ENDFILE_SPEC): Add Ofast. | |
3206 | * config/sparc/sp-elf.h (ENDFILE_SPEC): Add Ofast. | |
3207 | * config/sparc/linux64.h (ENDFILE_SPEC): Add Ofast. | |
3208 | * config/sparc/freebsd.h (ENDFILE_SPEC): Add Ofast. | |
3209 | * config/sparc/sol2.h (ENDFILE_SPEC): Add Ofast. | |
3210 | * config/i386/cygwin.h (ENDFILE_SPEC): Add Ofast. | |
3211 | * config/i386/gnu-user.h (ENDFILE_SPEC): Add Ofast. | |
3212 | * config/i386/gnu-user64.h (ENDFILE_SPEC): Add Ofast. | |
3213 | * config/i386/darwin.h (ENDFILE_SPEC): Add Ofast. | |
3214 | * config/i386/mingw32.h (ENDFILE_SPEC): Add Ofast. | |
3215 | * config/ia64/linux.h (ENDFILE_SPEC): Add Ofast. | |
3216 | * config/mips/linux.h (ENDFILE_SPEC): Add Ofast. | |
3217 | ||
86529a49 RG |
3218 | 2011-05-05 Richard Guenther <rguenther@suse.de> |
3219 | ||
3220 | * expmed.c (expand_variable_shift): Rename to ... | |
3221 | (expand_shift_1): ... this. Take an expanded shift amount. | |
3222 | For rotates recurse directly not building trees for the shift amount. | |
3223 | (expand_variable_shift): Wrap around expand_shift_1. | |
3224 | (expand_shift): Adjust. | |
3225 | ||
d0228c2e JJ |
3226 | 2011-05-05 Jakub Jelinek <jakub@redhat.com> |
3227 | ||
3228 | * gimplify.c (create_tmp_var_raw): Don't call build_type_variant. | |
3229 | ||
907a08d9 EB |
3230 | 2011-05-05 Eric Botcazou <ebotcazou@adacore.com> |
3231 | ||
3232 | * tree.h (get_pending_sizes): Remove prototype. | |
3233 | (put_pending_size): Likewise. | |
3234 | (put_pending_sizes): Likewise. | |
3235 | * stor-layout.c (pending_sizes): Delete. | |
3236 | (get_pending_sizes): Likewise. | |
3237 | (put_pending_size): Likewise. | |
3238 | (put_pending_sizes): Likewise. | |
3239 | (variable_size): Do not call put_pending_size and tidy up. | |
3240 | * function.h (struct function): Remove dont_save_pending_sizes_p. | |
3241 | * lto-streamer-in.c (input_function): Do not stream it. | |
3242 | * lto-streamer-out.c (output_function): Likewise. | |
3243 | * tree-inline.c (initialize_cfun): Do not copy it. | |
3244 | * c-decl.c (store_parm_decls): Do not set it. | |
3245 | * omp-low.c (create_task_copyfn): Likewise. | |
3246 | * tree-optimize.c (tree_rest_of_compilation): Likewise. | |
3247 | ||
386d9c57 UB |
3248 | 2011-05-05 Uros Bizjak <ubizjak@gmail.com> |
3249 | ||
3250 | * config/i386/i386.md (*movdf_internal_rex64): Simplify nested "if" | |
3251 | conditions. | |
3252 | (*movdf_internal): Ditto. | |
3253 | (*movdf_internal_nointeger): Ditto. | |
3254 | (*movsf_internal): Ditto. | |
3255 | ||
a04a722b JM |
3256 | 2011-05-05 Joseph Myers <joseph@codesourcery.com> |
3257 | ||
3258 | * c-decl.c (finish_decl): Don't call get_pending_sizes. | |
3259 | (grokparm): Add parameter expr. Pass it to grokdeclarator. | |
3260 | (push_parm_decl): Add parameter expr. Pass it to grokdeclarator. | |
3261 | (c_variable_size): Remove. | |
3262 | (grokdeclarator): Use save_expr instead of c_variable_size. Don't | |
3263 | call put_pending_sizes. | |
3264 | (get_parm_info): Add parameter expr. Use it to set | |
3265 | arg_info->pending_sizes. | |
3266 | (store_parm_decls): Use arg_info->pending_sizes instead or calling | |
3267 | get_pending_sizes. | |
3268 | * c-parser.c (c_parser_parms_declarator): Update call to | |
3269 | c_parser_parms_list_declarator. | |
3270 | (c_parser_parms_list_declarator): Take parameter expr. Update | |
3271 | call to push_parm_decl. Update recursive call. Don't call | |
3272 | get_pending_sizes. Update calls to get_parm_info. | |
3273 | (c_parser_objc_method_definition): Update calls to | |
3274 | c_parser_objc_method_decl and objc_start_method_definition. | |
386d9c57 | 3275 | (c_parser_objc_methodproto): Update call to c_parser_objc_method_decl. |
a04a722b JM |
3276 | (c_parser_objc_method_decl): Add parameter expr. Update call to |
3277 | grokparm. | |
386d9c57 | 3278 | (c_parser_objc_try_catch_finally_statement): Update call to grokparm. |
a04a722b JM |
3279 | * c-tree.h (struct c_arg_info.pending_sizes): Change to a tree. |
3280 | (get_parm_info, grokparm, push_parm_decl): Update prototypes. | |
3281 | ||
c92a6f97 MH |
3282 | 2011-05-05 Michael Hope <michael.hope@linaro.org> |
3283 | ||
386d9c57 UB |
3284 | PR pch/45979 |
3285 | * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for | |
3286 | __ARM_EABI__ hosts. | |
c92a6f97 | 3287 | |
07ea0048 UW |
3288 | 2011-05-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
3289 | ||
3290 | * config/spu/spu.c (TARGET_ASM_OUTPUT_MI_THUNK): Define. | |
3291 | (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Likewise. | |
3292 | (spu_output_mi_thunk): New function. | |
3293 | ||
d634bfa1 RO |
3294 | 2011-05-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3295 | ||
3296 | * config/sparc/sol2.h (ASM_OUTPUT_CALL): Use | |
3297 | targetm.asm_out.print_operand. | |
3298 | * config/sol2.c: Include target.h. | |
3299 | ||
40fda55b JH |
3300 | 2011-05-04 Jan Hubicka <jh@suse.cz> |
3301 | ||
3302 | * ipa-inline.c (reset_edge_caches): New function. | |
3303 | (update_caller_keys): Add check_inlinablity_for; do not | |
3304 | reset edge caches; remove now unnecesary loop. | |
386d9c57 | 3305 | (update_callee_keys): Add comments; reset node_growth_cache of callee. |
40fda55b JH |
3306 | (update_all_callee_keys): Likewise. |
3307 | (inline_small_functions): Sanity check cache; update code | |
3308 | recomputing it. | |
3309 | ||
0360f70d BS |
3310 | 2011-05-04 Bernd Schmidt <bernds@codesourcery.com> |
3311 | ||
3312 | PR rtl-optimization/47612 | |
3313 | * df-problems.c (can_move_insns_across): Don't pick a cc0 setter | |
3314 | as the last insn of the sequence to be moved. | |
3315 | ||
7a994646 TB |
3316 | 2011-05-04 Tobias Burnus <burnus@net-b.de> |
3317 | ||
3318 | PR fortran/48864 | |
3319 | * doc/invoke.texi (Ofast): Document that it | |
3320 | enables Fortran's -fno-protect-parens. | |
3321 | ||
7a2f7208 UB |
3322 | 2011-05-04 Uros Bizjak <ubizjak@gmail.com> |
3323 | ||
3324 | * config/i386/i386.c (ix86_reorg): Run move_or_delete_vzeroupper first. | |
3325 | ||
a2d42931 EB |
3326 | 2011-05-04 Eric Botcazou <ebotcazou@adacore.com> |
3327 | ||
3328 | * stor-layout.c (variable_size): Do not issue errors. | |
3329 | ||
f81b1a3d RG |
3330 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
3331 | ||
3332 | * coverage.c (tree_coverage_counter_ref): Use integer_type_node | |
3333 | for array-ref indices. | |
3334 | (tree_coverage_counter_addr): Likewise. | |
3335 | (build_fn_info_type): Use size_int for index types. | |
3336 | (build_gcov_info): Likewise. | |
3337 | ||
c62c040f RG |
3338 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
3339 | ||
3340 | * c-decl.c (check_bitfield_type_and_width): Do not pass NULL | |
3341 | to build_int_cst. | |
3342 | * c-typeck.c (really_start_incremental_init): Use bitsize_int | |
3343 | for constructor indices. | |
3344 | (push_init_level): Likewise. | |
3345 | ||
1e3287d0 RG |
3346 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
3347 | ||
3348 | * explow.c (promote_mode): Move variable declarations before code. | |
3349 | ||
6c32445b NF |
3350 | 2011-05-04 Nathan Froyd <froydnj@codesourcery.com> |
3351 | ||
3352 | * tree.h (build_function_type_array): Declare. | |
3353 | (build_varargs_function_type_array): Declare. | |
3354 | (build_function_type_vec, build_varargs_function_type_vec): Define. | |
3355 | * tree.c (build_function_type_array_1): New function. | |
3356 | (build_function_type_array): New function. | |
3357 | (build_varargs_function_type_array): New function. | |
3358 | ||
fdabf269 RS |
3359 | 2011-05-04 Richard Sandiford <richard.sandiford@linaro.org> |
3360 | ||
3361 | * tree-vect-loop.c (vectorizable_reduction): Check reduction cost | |
3362 | before setting STMT_VINFO_TYPE. | |
3363 | ||
a207915a UW |
3364 | 2011-05-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
3365 | ||
3366 | * config/spu/spu.c (spu_gimplify_va_arg_expr): Call pass_by_reference | |
3367 | instead of spu_pass_by_reference. | |
3368 | ||
5e617be8 AK |
3369 | 2011-05-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
3370 | ||
3371 | * calls.c (emit_library_call_value_1): Invoke | |
3372 | promote_function_mode hook on libcall arguments. | |
3373 | * explow.c (promote_function_mode, promote_mode): Handle TYPE | |
3374 | argument being NULL. | |
3375 | * targhooks.c (default_promote_function_mode): Lisewise. | |
3376 | * config/s390/s390.c (s390_promote_function_mode): Likewise. | |
3377 | * config/sparc/sparc.c (sparc_promote_function_mode): Likewise. | |
3378 | ||
3379 | * doc/tm.texi: Document that TYPE argument might be NULL. | |
3380 | ||
486d04be SH |
3381 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
3382 | ||
3383 | * config/bfin/bfin.c (bfin_cpus): Update silicon revisions. | |
3384 | ||
9b19b026 SH |
3385 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
3386 | ||
3387 | From Bernd Schmidt | |
3388 | * config/bfin/bfin.md (addsi3): Add an alternative for IREGS. | |
3389 | ||
502bc3df RO |
3390 | 2011-05-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3391 | ||
3392 | * config/alpha/alpha.h (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB) | |
3393 | (MIPS_UNMARK_STAB, SHASH_SIZE, THASH_SIZE, ALIGN_SYMTABLE_OFFSET): | |
3394 | Move ... | |
3395 | * mips-tfile.c: ... here. | |
3396 | Don't include coretypes.h, tm.h, filenames.h. | |
3397 | (saber_stop): Remove definition and all calls. | |
3398 | [__SABER__]: Remove. | |
3399 | (__LINE__): Remove default. | |
3400 | (Size_t, Ptrdiff_t): Remove definitions. | |
3401 | Replace by size_t, ptrdiff_t. | |
3402 | [!MIPS_DEBUGGING_INFO]: Remove. | |
3403 | (SHASH_SIZE, THASH_SIZE): Remove defaults. | |
3404 | (progname): Add const. | |
3405 | (STATIC): Remove. | |
3406 | Replace all uses by static. | |
3407 | (ALIGN_SYMTABLE_OFFSET): Remove default. | |
3408 | * mips-tdump.c: Don't include coretypes.h, tm.h. | |
3409 | Remove !MIPS_IS_STAB guard. | |
3410 | * Makefile.in (mips-tfile.o): Remove $(RTL_H), coretypes.h, | |
3411 | $(TM_H), filenames.h dependencies. | |
3412 | (mips-tdump.o): Remove $(RTL_H), coretypes.h, $(TM_H) dependencies. | |
3413 | ||
991eb6ef SH |
3414 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
3415 | ||
3416 | From Jie Zhang | |
3417 | *config/bfin/bfin.c (bfin_extra_live_on_entry): New. | |
3418 | (TARGET_EXTRA_LIVE_ON_ENTRY): Define. | |
3419 | ||
420ccc84 SH |
3420 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
3421 | ||
3422 | From Bernd Schmidt | |
3423 | * config/bfin/bfin.h (FUNCTION_PROFILER): Take TARGET_LONG_CALLS into | |
3424 | account and save/restore RETS. | |
3425 | (PROFILE_BEFORE_PROLOGUE): Define. | |
3426 | (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Add tab character. Correct | |
3427 | the push insn to use predecrement. | |
3428 | ||
9f8d69ee SH |
3429 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
3430 | ||
3431 | From Jie Zhang | |
3432 | * config/bfin/bfin.c (bfin_expand_prologue): Don't clobber P2. | |
3433 | ||
662c03f4 NC |
3434 | 2011-05-04 Nick Clifton <nickc@redhat.com> |
3435 | ||
3436 | * config/mn10300/mn10300.c: Include cfgloop.h. | |
3437 | (DUMP): New macro. | |
3438 | (mn10300_insert_setlb_lcc): New function. Inserts a SETLB and a | |
3439 | Lcc or a FLcc insn into the instruction stream. | |
3440 | (mn10300_block_contains_call): New function. Returns true if the | |
3441 | given basic block contains a CALL insn. | |
3442 | (mn10300_loop_contains_call_insn): New function. Returns true if | |
3443 | the given loop contains a CALL insn. | |
3444 | (mn10300_scan_for_setlb_lcc): New function. Finds opportunities | |
3445 | to use the SETLB and Lcc or FLcc insns. | |
3446 | (mn10300_reorg): Invoke mn10300_scan_for_setlb_lcc when optimizing. | |
3447 | (TARGET_FLAGS): Add MASK_ALLOW_SETLB. | |
3448 | * config/mn10300/mn10300.opt (msetlb): New option. Used to | |
3449 | disable the SETLB optimization. | |
3450 | * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Add | |
3451 | __SETLB__ or __NO_SETLB__. | |
3452 | * config/mn10300/mn10300.md (UNSPEC_SETLB): New constant. | |
3453 | (movsf_internal): Handle MDR register. | |
3454 | (cmpsi): Make visible. | |
3455 | (setlb): New pattern. | |
3456 | (Lcc): New pattern. | |
3457 | (FLcc): New pattern. | |
3458 | ||
843b6915 UB |
3459 | 2011-05-04 Uros Bizjak <ubizjak@gmail.com> |
3460 | ||
3461 | PR target/48860 | |
3462 | * config/i386/i386.md (*movdi_internal_rex64) Use %vmovd | |
3463 | for reg<->xmm moves. | |
3464 | * config/i386/sse.md (*vec_concatv2di_rex64_sse4_1): Ditto. | |
3465 | (vec_concatv2di_rex64_sse): Ditto. | |
3466 | (*sse2_storeq_rex64): Do not emit %v prefix for mov{q} mnemonic. | |
3467 | (*vec_extractv2di_1_rex64): Ditto. | |
3468 | ||
3469 | Revert: | |
3470 | 2011-05-02 Uros Bizjak <ubizjak@gmail.com> | |
3471 | ||
3472 | * config/i386/mmx.md (*mov<mode>_internal_rex64): Use %vmovq for | |
3473 | reg<->xmm moves. | |
3474 | (*movv2sf_internal_rex64): Use %vmovq for reg<->xmm moves. | |
3475 | ||
d35936ab RG |
3476 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
3477 | ||
3478 | * tree.h (int_const_binop): Remove notrunc argument. | |
3479 | * fold-const.c (int_const_binop): Remove notrunc argument. Always | |
3480 | create integer constants that are properly truncated. | |
3481 | (extract_muldiv_1): Expand one notrunc int_const_binop caller. | |
3482 | (const_binop): Remove zero notrunc argument to int_const_binop. | |
3483 | (size_binop_loc): Likewise. | |
3484 | (fold_div_compare): Likewise. | |
3485 | (maybe_canonicalize_comparison_1): Likewise. | |
3486 | (fold_comparison): Likewise. | |
3487 | (fold_binary_loc): Likewise. | |
3488 | (multiple_of_p): Likewise. | |
3489 | * expr.c (store_constructor): Likewise. | |
3490 | * gimple-fold.c (maybe_fold_offset_to_array_ref): Likewise. | |
3491 | (maybe_fold_stmt_addition): Likewise. | |
3492 | * ipa-prop.c (ipa_modify_call_arguments): Likewise. | |
3493 | * stor-layout.c (layout_type): Likewise. | |
3494 | * tree-data-ref.c (tree_fold_divides_p): Likewise. | |
3495 | * tree-sra.c (build_ref_for_offset): Likewise. | |
3496 | (build_user_friendly_ref_for_offset): Likewise. | |
3497 | * tree-ssa-address.c (maybe_fold_tmr): Likewise. | |
3498 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Likewise. | |
3499 | * tree-ssa-loop-niter.c (inverse): Likewise. | |
3500 | * tree-ssa-pre.c (create_component_ref_by_pieces_1): Likewise. | |
3501 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Likewise. | |
3502 | * tree-switch-conversion.c (check_range): Likewise. | |
3503 | (build_constructors): Likewise. | |
3504 | * tree-vect-generic.c (expand_vector_piecewise): Likewise. | |
3505 | * tree-vrp.c (set_and_canonicalize_value_range): Likewise. | |
3506 | (extract_range_from_assert): Likewise. | |
3507 | (vrp_int_const_binop): Likewise. | |
3508 | (extract_range_from_binary_expr): Likewise. | |
3509 | (extract_range_from_unary_expr): Likewise. | |
3510 | (check_array_ref): Likewise. | |
3511 | (find_case_label_range): Likewise. | |
3512 | (simplify_div_or_mod_using_ranges): Likewise. | |
3513 | * tree-cfg.c (group_case_labels_stmt): Use double-ints for | |
3514 | comparing case labels for merging. | |
3515 | ||
8992c063 MW |
3516 | 2011-05-03 Mark Wielaard <mjw@redhat.com> |
3517 | ||
3518 | * dwarf2out.c (debug_str_hash_forced): Removed. | |
3519 | (gen_label_for_indirect_string): Removed. | |
3520 | (get_debug_string_label): Removed. | |
3521 | (AT_string_form): Generate label directly. | |
3522 | (output_indirect_string): Test indirect_string_node for | |
3523 | DW_FORM_strp instead of checking label and refcount. | |
3524 | (prune_indirect_string): Removed. | |
3525 | (prune_unused_types): Don't check debug_str_hash_forced or | |
3526 | call prune_indirect_string. | |
3527 | ||
4868e6ea AO |
3528 | 2011-05-04 Alexandre Oliva <aoliva@redhat.com> |
3529 | ||
3530 | PR other/48093 | |
3531 | * doc/invoke.texi: Document -mtls-dialect and GCC_COMPARE_DEBUG. | |
3532 | ||
01a5c0ab AO |
3533 | 2011-05-04 Alexandre Oliva <aoliva@redhat.com> |
3534 | ||
3535 | PR debug/47994 | |
3536 | PR debug/47919 | |
3537 | * combine.c (try_combine): Skip debug insns at m_split tests. | |
3538 | ||
6ac00218 MW |
3539 | 2011-04-26 Mark Wielaard <mjw@redhat.com> |
3540 | ||
3541 | PR42288 | |
3542 | * dwarf2out.c (dwarf2out_finish): Always call output_aranges () | |
3543 | when info_section_emitted. | |
3544 | ||
3af42a7b JM |
3545 | 2011-05-03 Joseph Myers <joseph@codesourcery.com> |
3546 | ||
3547 | * config/mips/mips-opts.h: New. | |
3548 | * config/mips/mips.c (enum mips_r10k_cache_barrier_setting): Move | |
3549 | to mips-opts.h. | |
3550 | (mips_abi, mips_code_readable, mips_r10k_cache_barriee): Remove. | |
3551 | (mips_handle_option): Don't handle OPT_mabi_, OPT_mcode_readable_ | |
3552 | or OPT_mr10k_cache_barrier_ here. Access mips_cache_flush_func | |
3553 | via opts pointer. | |
3554 | * config/mips/mips.h (enum mips_code_readable_setting): Move to | |
3555 | mips-opts.h. | |
3556 | (mips_abi, mips_code_readable): Don't declare. | |
843b6915 | 3557 | * config/mips/mips.opt (config/mips/mips-opts.h): New HeaderInclude. |
3af42a7b JM |
3558 | (mabi=): Use Enum and Var. |
3559 | (mips_abi): New Enum and EnumValue entries. | |
3560 | (mcode-readable=): Use Enum and Var. | |
3561 | (mips_code_readable_setting): New Enum and EnumValue entries. | |
3562 | (mr10k-cache-barrier=): Use Enum and Var. | |
3563 | (mips_r10k_cache_barrier_setting): New Enum and EnumValue entries. | |
3564 | ||
1cb1a99f JH |
3565 | 2011-05-03 Jan Hubicka <jh@suse.cz> |
3566 | ||
3567 | * cgraph.h (cgraph_node_set_def, varpool_node_set_def): Move out of GTY; | |
3568 | replace hash by pointer map. | |
3569 | (cgraph_node_set_element_def, cgraph_node_set_element, | |
3570 | const_cgraph_node_set_element, varpool_node_set_element_def, | |
3571 | varpool_node_set_element, const_varpool_node_set_element): Remove. | |
3572 | (free_cgraph_node_set, free_varpool_node_set): New function. | |
3573 | (cgraph_node_set_size, varpool_node_set_size): Use vector size. | |
3574 | * tree-emutls.c: Free varpool node set. | |
3575 | * ipa-utils.c (cgraph_node_set_new, cgraph_node_set_add, | |
3576 | cgraph_node_set_remove, cgraph_node_set_find, dump_cgraph_node_set, | |
3577 | debug_cgraph_node_set, free_cgraph_node_set, varpool_node_set_new, | |
3578 | varpool_node_set_add, varpool_node_set_remove, varpool_node_set_find, | |
3579 | dump_varpool_node_set, free_varpool_node_set, debug_varpool_node_set): | |
3580 | Move here from ipa.c; implement using pointer_map | |
3581 | * ipa.c (cgraph_node_set_new, cgraph_node_set_add, | |
3582 | cgraph_node_set_remove, cgraph_node_set_find, dump_cgraph_node_set, | |
3583 | debug_cgraph_node_set, varpool_node_set_new, | |
3584 | varpool_node_set_add, varpool_node_set_remove, varpool_node_set_find, | |
3585 | dump_varpool_node_set, debug_varpool_node_set): | |
3586 | Move to ipa-uitls.c. | |
3587 | * passes.c (ipa_write_summaries): Update. | |
3588 | ||
7f31f4db SH |
3589 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
3590 | ||
7a2f7208 UB |
3591 | From Mike Frysinger: |
3592 | * config/bfin/bfin.c (bfin_cpus[]): Add 0.4 for | |
3593 | bf542/bf544/bf547/bf548/bf549. | |
7f31f4db | 3594 | |
b70fce6d UB |
3595 | 2011-05-03 Uros Bizjak <ubizjak@gmail.com> |
3596 | ||
3597 | * expmed.c (extract_bit_field_1): Remove write-only variable "icode". | |
3598 | ||
265b1d82 SH |
3599 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
3600 | ||
3601 | From Bernd Schmidt: | |
3602 | * config/bfin/bfin.md (MOVCC): New mode_macro. | |
3603 | (mov<mode>cc_insn1, mov<mode>cc_insn2, mov<mode>cc): Renamed from | |
3604 | movsicc_insn1, movsicc_insn2 and movsicc and macroized. Remove | |
3605 | comments from generated assembly. | |
3606 | ||
f0b568f3 SH |
3607 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
3608 | ||
3609 | From Bernd Schmidt | |
3610 | * config/bfin/t-bfin (LIB1ASMFUNCS): Add muldi3 and umulsi3_highpart. | |
3611 | * config/bfin/t-bfin-elf (LIB1ASMFUNCS): Add muldi3. | |
3612 | * config/bfin/t-bfin-linux (LIB1ASMFUNCS): Add muldi3. | |
3613 | * config/bfin/t-bfin-uclinux (LIB1ASMFUNCS): Add muldi3. | |
3614 | * config/bfin/lib1funcs.asm (___muldi3): New function. | |
3615 | ||
2c67cf6e NF |
3616 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
3617 | ||
3618 | * config/stormy16/stormy16 (xstormy16_init_builtins): Call | |
3619 | build_function_type_list instead of build_function_type. | |
3620 | Rearrange initialization of `args' to do so. | |
3621 | ||
f9ac28ad NF |
3622 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
3623 | ||
3624 | * config/i386/i386.c (ix86_code_end): Call build_function_type_list | |
3625 | instead of build_function_type. | |
3626 | ||
22b8798c NF |
3627 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
3628 | ||
3629 | * config/rs6000/rs6000.c (spe_init_builtins): Call | |
3630 | build_function_type_list instead of build_function_type. | |
3631 | (paired_init_builtins, altivec_init_builtins): Likewise. | |
3632 | (builtin_function_type): Likewise. | |
3633 | ||
4cb44528 NF |
3634 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
3635 | ||
3636 | * config/sh/sh.c (sh_media_init_builtins): Call | |
3637 | build_function_type_list instead of build_function_type. | |
3638 | ||
4c203a6a NF |
3639 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
3640 | ||
3641 | * config/sparc/sparc.c (sparc_file_end): Call | |
3642 | build_function_type_list instead of build_function_type. | |
3643 | ||
d6a3d62b NF |
3644 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
3645 | ||
3646 | * config/alpha/alpha.c (alpha_init_builtins): Call | |
3647 | build_function_type_list instead of build_function_type. | |
3648 | ||
de530b86 NF |
3649 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
3650 | ||
3651 | * config/xtensa/xtensa.c (xtensa_init_builtins): Call | |
3652 | build_function_type_list instead of build_function_type. | |
3653 | ||
baeec5f2 NF |
3654 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
3655 | ||
3656 | * config/iq2000/i2000.c (iq2000_init_builtins): Call | |
3657 | build_function_type_list instead of build_function_type. | |
3658 | Delete `endlink' variable. | |
3659 | ||
c19afe52 NF |
3660 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
3661 | ||
3662 | * config/avr/avr.c (avr_init_builtins): Call | |
3663 | build_function_type_list instead of build_function_type. | |
3664 | ||
a341df0a NF |
3665 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
3666 | ||
3667 | * config/picochip/picochip.c (picochip_init_builtins): Call | |
3668 | build_function_type_list instead of build_function_type. | |
3669 | Delete `endlink' variable. | |
3670 | ||
2102b1e1 NF |
3671 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
3672 | ||
3673 | * config/bfin/bfin.c (bfin_init_builtins): Call | |
3674 | build_function_type_list instead of build_function_type. | |
3675 | ||
9f111209 SH |
3676 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
3677 | ||
3678 | From Bernd Schmidt | |
3679 | * config/bfin/bfin.md (rotrsi, rotlsi): Don't take INTVAL of anything | |
3680 | that's not CONST_INT. Seemingly redundant check is due to PR39768. | |
3681 | ||
7071d064 SH |
3682 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
3683 | ||
3684 | From Jie Zhang: | |
3685 | * config/bfin/uclinux.h (LINK_GCC_C_SEQUENCE_SPEC): Make sure | |
3686 | libbffastfp overrides libgcc when -mfast-fp. | |
3687 | ||
748f7574 | 3688 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
44fb48ef SH |
3689 | |
3690 | Originally from Bernd Schmidt | |
3691 | * config/bfin/uclinux.h (SUBTARGET_FDPIC_NOT_SUPPORTED): New macro. | |
3692 | * config/bfin/bfin.c (override_options): Test it and error if | |
3693 | TARGET_FDPIC. | |
3694 | ||
1a3a9152 SH |
3695 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
3696 | ||
3697 | Originally From Bernd Schmidt | |
3698 | * config/bfin/bfin.c (override_options): Disable -fstack-limit for | |
3699 | FD-PIC. | |
3700 | ||
7134c090 JL |
3701 | 2011-05-03 Jeff Law <law@redhat.com> |
3702 | ||
3703 | * tree-ssa-threadupdate.c (THREAD_TARGET): define. | |
3704 | (remove_ctrl_stmt_and_useless_edges): Clear AUX field of outgoing edges. | |
3705 | (craete_edge_and_update_destination_phis): Use THREAD_TARGET rather | |
b70fce6d UB |
3706 | than accessing AUX field directly. Free the AUX field before |
3707 | clearing it. | |
7134c090 JL |
3708 | (thread_block, thread_through_loop_header): Likewise. |
3709 | (thread_single_edge, mark_threaded_blocks): Likewise. | |
3710 | (redirect_edges): Delay clearing the AUX field. Free the AUX field. | |
3711 | (register_jump_thread): Do not attempt to thread to a NULL edge. | |
b70fce6d | 3712 | |
2c7eebae BS |
3713 | 2011-05-03 Bernd Schmidt <bernds@codesourcery.com> |
3714 | ||
3715 | * function.c (init_function_start): Call decide_function_section. | |
3716 | * varasm.c (decide_function_section): New function. | |
3717 | (assemble_start_function): When not using | |
3718 | flag_reorder_blocks_and_partition, don't compute in_cold_section_p | |
3719 | or first_function_block_is_cold. | |
3720 | * rtl.h (decide_function_section): Declare. | |
3721 | ||
17038fcf JJ |
3722 | 2011-05-03 Uros Bizjak <ubizjak@gmail.com> |
3723 | Jakub Jelinek <jakub@redhat.com> | |
3724 | ||
3725 | PR target/48774 | |
3726 | * config/i386/i386.c (ix86_match_ccmode): For CC{A,C,O,S}mode | |
3727 | only succeed if req_mode is the same as set_mode. | |
3728 | ||
3810076b BS |
3729 | 2011-05-03 Bernd Schmidt <bernds@codesourcery.com> |
3730 | ||
3731 | * gengenrtl.c (special_rtx): PC, CC0 and RETURN are special. | |
3732 | * genemit.c (gen_exp): Handle RETURN. | |
3733 | * emit-rtl.c (verify_rtx_sharing): Likewise. | |
3734 | (init_emit_regs): Create pc_rtx, ret_rtx and cc0_rtx specially. | |
3735 | * rtl.c (copy_rtx): RETURN is shared. | |
3736 | * rtl.h (enum global_rtl_index): Add GR_RETURN. | |
3737 | (ret_rtx): New. | |
3738 | * jump.c (redirect_exp_1): Don't use gen_rtx_RETURN. | |
3739 | * config/s390/s390.c (s390_emit_epilogue): Likewise. | |
3740 | * config/rx/rx.c (gen_rx_rtsd_vector): Likewise. | |
3741 | * config/cris/cris.c (cris_expand_return): Likewise. | |
3742 | * config/m68k/m68k.c (m68k_expand_epilogue): Likewise. | |
3743 | * config/rs6000/rs6000.c (rs6000_make_savres_rtx, | |
3744 | rs6000_emit_epilogue, rs6000_output_mi_thunk): Likewise. | |
3745 | * config/picochip/picochip.c (picochip_expand_epilogue): Likewise. | |
3746 | * config/h8300/h8300.c (h8300_push_pop, h8300_expand_epilogue): | |
3747 | Likewise. | |
3748 | * config/v850/v850.c (expand_epilogue): Likewise. | |
3749 | * config/bfin/bfin.c (bfin_expand_call): Likewise. | |
3750 | * config/arm/arm.md (epilogue): Likewise. | |
3751 | * config/mn10300/mn10300.c (mn10300_expand_epilogue): Likewise. | |
3752 | * config/sparc/sparc.c (sparc_struct_value_rtx): Rename ret_rtx | |
3753 | variable to ret_reg. | |
3754 | ||
9efdb4ad RG |
3755 | 2011-05-03 Richard Guenther <rguenther@suse.de> |
3756 | ||
3757 | PR lto/48846 | |
3758 | * lto-streamer-in.c (unpack_ts_decl_common_value_fields): | |
3759 | Stream decl_common.off_align instead of the derived DECL_OFFSET_ALIGN. | |
3760 | * lto-streamer-out.c (pack_ts_decl_common_value_fields): Likewise. | |
3761 | ||
60a45536 RG |
3762 | 2011-05-03 Richard Guenther <rguenther@suse.de> |
3763 | ||
3764 | * c-decl.c (grokdeclarator): Instead of looking at | |
3765 | TREE_OVERFLOW check if the constant fits in the index type. | |
3766 | ||
3188ed59 RS |
3767 | 2011-05-03 Richard Sandiford <richard.sandiford@linaro.org> |
3768 | ||
3769 | * config/arm/neon.md (vec_load_lanes<mode><mode>): New expanders, | |
3770 | (vec_store_lanes<mode><mode>): Likewise. | |
3771 | ||
272c6793 RS |
3772 | 2011-05-03 Richard Sandiford <richard.sandiford@linaro.org> |
3773 | ||
3774 | * doc/md.texi (vec_load_lanes, vec_store_lanes): Document. | |
3775 | * optabs.h (COI_vec_load_lanes, COI_vec_store_lanes): New | |
3776 | convert_optab_index values. | |
3777 | (vec_load_lanes_optab, vec_store_lanes_optab): New convert optabs. | |
3778 | * genopinit.c (optabs): Initialize the new optabs. | |
3779 | * internal-fn.def (LOAD_LANES, STORE_LANES): New internal functions. | |
3780 | * internal-fn.c (get_multi_vector_move, expand_LOAD_LANES) | |
3781 | (expand_STORE_LANES): New functions. | |
3782 | * tree.h (build_array_type_nelts): Declare. | |
3783 | * tree.c (build_array_type_nelts): New function. | |
3784 | * tree-vectorizer.h (vect_model_store_cost): Add a bool argument. | |
3785 | (vect_model_load_cost): Likewise. | |
3786 | (vect_store_lanes_supported, vect_load_lanes_supported) | |
3787 | (vect_record_strided_load_vectors): Declare. | |
3788 | * tree-vect-data-refs.c (vect_lanes_optab_supported_p) | |
3789 | (vect_store_lanes_supported, vect_load_lanes_supported): New functions. | |
3790 | (vect_transform_strided_load): Split out statement recording into... | |
3791 | (vect_record_strided_load_vectors): ...this new function. | |
3792 | * tree-vect-stmts.c (create_vector_array, read_vector_array) | |
3793 | (write_vector_array, create_array_ref): New functions. | |
3794 | (vect_model_store_cost): Add store_lanes_p argument. | |
3795 | (vect_model_load_cost): Add load_lanes_p argument. | |
3796 | (vectorizable_store): Try to use store-lanes functions for | |
3797 | interleaved stores. | |
3798 | (vectorizable_load): Likewise load-lanes and loads. | |
3799 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Update call | |
3800 | to vect_model_store_cost. | |
3801 | (vect_build_slp_tree): Likewise vect_model_load_cost. | |
3802 | ||
0f6d54f7 RS |
3803 | 2011-05-03 Richard Sandiford <richard.sandiford@linaro.org> |
3804 | ||
3805 | * hooks.h (hook_bool_mode_uhwi_false): Declare. | |
3806 | * hooks.c (hook_bool_mode_uhwi_false): New function. | |
3807 | * target.def (array_mode_supported_p): New hook. | |
3808 | * doc/tm.texi.in (TARGET_ARRAY_MODE_SUPPORTED_P): Add @hook. | |
3809 | * doc/tm.texi: Regenerate. | |
3810 | * stor-layout.c (mode_for_array): New function. | |
3811 | (layout_type): Use it. | |
3812 | * config/arm/arm.c (arm_array_mode_supported_p): New function. | |
3813 | (TARGET_ARRAY_MODE_SUPPORTED_P): Define. | |
3814 | ||
b15eacc7 EB |
3815 | 2011-05-03 Eric Botcazou <ebotcazou@adacore.com> |
3816 | ||
3817 | PR target/48723 | |
3818 | * config/i386/i386.c (ix86_expand_prologue): Do not probe the stack | |
3819 | for -fstack-check if the size to allocate is negative. | |
3820 | ||
575bfb00 LC |
3821 | 2011-05-02 Lawrence Crowl <crowl@google.com> |
3822 | ||
3823 | * timevar.h (timevar_cond_start): Remove unused POP_TIMEVAR_AND_RETURN. | |
3824 | (timevar_cond_start): New for starting a timer only when it is not | |
3825 | already running. | |
3826 | (timevar_cond_stop): New for stopping a timer when it was not already | |
3827 | running. | |
3828 | ||
3829 | * timevar.c (timevar_stop): Enable start/stop timers to start again. | |
3830 | (timevar_cond_start): New as above. | |
3831 | (timevar_cond_stop): New as above. | |
3832 | ||
3833 | * timevar.def: Add start/stop timers for compiler phases, | |
3834 | TV_PHASE_SETUP, TV_PHASE_PARSING, TV_PHASE_DEFERRED, TV_PHASE_CGRAPH, | |
3835 | TV_PHASE_DBGINFO (C), TV_PHASE_CHECK_DBGINFO (C++), TV_PHASE_GENERATE, | |
3836 | and TV_PHASE_FINALIZE. | |
3837 | Change push/pop timer TV_PARSE to TV_PARSE_GLOBAL. | |
3838 | Add push/pop timers TV_PARSE_STRUCT, TV_PARSE_ENUM, TV_PARSE_FUNC, | |
3839 | TV_PARSE_INLINE, TV_PARSE_INMETH, TV_TEMPLATE_INST. | |
3840 | Change push/pop timer TV_NAME_LOOKUP into a start/stop timer. | |
3841 | Make unused TV_OVERLOAD into a start/stop timer. | |
3842 | ||
3843 | Remove unused timers TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION. | |
3844 | Mark the strings for TV_NAME_LOOKUP and TV_OVERLOAD with a "|" | |
3845 | to indicate that they are start/stop timers. | |
3846 | ||
3847 | * toplev.c (compile_file): Change TV_PARSE to TV_PARSE_GLOBAL. | |
3848 | Add start/stop timers TV_PHASE_PARSING and TV_PHASE_GENERATE. | |
3849 | Move initialization to do_compile. | |
3850 | (do_compile): Add initialization from above. | |
3851 | Add start/stop timers TV_PHASE_SETUP and TV_PHASE_FINALIZE. | |
3852 | ||
3853 | * c-decl.c (c_write_global_declarations): Add start/stop of | |
3854 | TV_PHASE_DEFERRED, TV_PHASE_CGRAPH, TV_PHASE_DBGINFO. | |
3855 | ||
3856 | * c-parser.c (c_parser_declaration_or_fndef): Push/pop TV_PARSE_FUNC | |
3857 | or TV_PARSE_INLINE, as appropriate. | |
3858 | (c_parser_enum_specifier): Push/pop TV_PARSE_ENUM. | |
3859 | (c_parser_struct_or_union_specifier): Push/pop TV_PARSE_STRUCT. | |
3860 | ||
3533b943 JM |
3861 | 2011-05-02 Jason Merrill <jason@redhat.com> |
3862 | ||
3863 | PR c++/40975 | |
3864 | * tree-inline.c (copy_tree_r): Handle STATEMENT_LIST. | |
3865 | ||
2609a0ce SM |
3866 | 2011-05-02 Simon Martin <simartin@users.sourceforge.net> |
3867 | ||
3868 | PR c/35445 | |
3869 | * c-decl.c (finish_decl): Only create a composite if the types are | |
3870 | compatible. | |
3871 | ||
6b0e4cbb JM |
3872 | 2011-05-02 Joseph Myers <joseph@codesourcery.com> |
3873 | ||
3874 | * config/fr30/fr30-protos.h (Mmode): Don't define. | |
3875 | * config/m32r/m32r-protos.h (Mmode): Don't define. Expand | |
3876 | definition where used. | |
3877 | * config/mn10300/mn10300-protos.h (Mmode, Cstar, Rclas): Don't | |
3878 | define. Expand definitions where used. | |
3879 | * config/rx/rx-protos.h (Mmode, Fargs, Rcode): Don't define. | |
3880 | Expand definitions where used. | |
3881 | * config/rx/rx.c (rx_is_legitimate_address, rx_function_arg_size, | |
3882 | rx_function_arg, rx_function_arg_advance, | |
3883 | rx_function_arg_boundary): Expand definitions of those macros. | |
3884 | * config/v850/v850-protos.h (Mmode): Don't define. Expand | |
3885 | definition where used. | |
3886 | ||
4e938ce6 UB |
3887 | 2011-05-02 Uros Bizjak <ubizjak@gmail.com> |
3888 | ||
3889 | * config/i386/mmx.md (*mov<mode>_internal_rex64): Use %vmovq for | |
3890 | reg<->xmm moves. | |
3891 | (*mov<mode>_internal): Merge with *mov<mode>_internal_avx. | |
3892 | (*movv2sf_internal_rex64): Use %vmovq for reg<->xmm moves. Merge | |
3893 | with *movv2sf_internal_rex64_avx. | |
3894 | (*movv2sf_internal): Merge with *movv2sf_internal_avx. | |
3895 | * config/i386/i386.md (*movdi_internal_rex64) <TYPE_SSEMOV>: | |
3896 | Use %v prefix in insn mnemonic to handle TARGET_AVX. | |
3897 | (*movdi_internal): Add "isa" attribute. Use "maybe_vex" instead of | |
3898 | "vex" in "prefix" attribute calculation. | |
3899 | (*movdf_internal): Output AVX mnemonics. Add "prefix" attribute. | |
3900 | ||
36019c19 SH |
3901 | 2011-05-02 Stuart Henderson <shenders@gcc.gnu.org> |
3902 | ||
7a2f7208 UB |
3903 | PR target/47951 |
3904 | * config/bfin/bfin.md (loop_end): Use matching constraints to ensure | |
3905 | inputs match the output. | |
36019c19 | 3906 | |
f69ea688 AS |
3907 | 2011-05-02 Andreas Schwab <schwab@linux-m68k.org> |
3908 | ||
3909 | PR target/47955 | |
3910 | * config/m68k/m68k.c (m68k_expand_prologue): Set | |
3911 | current_function_static_stack_size. | |
3912 | ||
c33406f5 JH |
3913 | 2011-05-02 Jan Hubicka <jh@suse.cz> |
3914 | ||
3915 | * lto-streamer.c (lto_streamer_cache_insert_1, | |
3916 | lto_streamer_cache_lookup, lto_streamer_cache_create, | |
3917 | lto_streamer_cache_delete): Use pointer map instead of hashtable. | |
3918 | * lto-streamer.h (lto_streamer_cache_d): Turn node_map into pointer_map. | |
3919 | ||
47c94d21 JM |
3920 | 2011-05-02 Joseph Myers <joseph@codesourcery.com> |
3921 | ||
3922 | * config/m68k/genopt.sh, config/m68k/m68k-isas.def, | |
3923 | config/m68k/m68k-microarchs.def, config/m68k/m68k-opts.h, | |
3924 | config/m68k/t-opts: New files. | |
3925 | * config/m68k/m68k-tables.opt: New file (generated). | |
3926 | * config.gcc (fido-*-*, m68k-*-*): Add m68k/m68k-tables.opt to | |
3927 | extra_options and m68k/t-opts to tmake_file. | |
3928 | * config/m68k/m68k.c (m68k_library_id_string): More to m68k.opt. | |
3929 | (all_isas): Initialize using m68k-isas.def. | |
3930 | (all_microarchs): Initialize using m68k-microarchs.def. | |
3931 | (m68k_find_selection): Remove. | |
3932 | (m68k_handle_option): Don't assert that global structures are in | |
3933 | use. Use error_at. Access variables via opts pointer. Don't | |
3934 | handle -march=, -mcpu= and -mtune= here. Set gcc_options fields | |
3935 | directly for -m68020-40 and -m68020-60. | |
3936 | (m68k_option_override): Set m68k_arch_entry, m68k_cpu_entry and | |
3937 | m68k_tune_entry here. | |
3938 | * config/m68k/m68k.h (enum uarch_type, enum target_device): Move | |
3939 | to m68k-opts.h. | |
3940 | (m68k_library_id_string): Remove declaration. | |
4e938ce6 | 3941 | * config/m68k/m68k.opt (config/m68k/m68k-opts.h): New HeaderInclude. |
47c94d21 JM |
3942 | (m68k_library_id_string): New Variable. |
3943 | (march=, mcpu=, mtune=): Use Enum and Var. | |
3944 | ||
e562bf36 RG |
3945 | 2011-05-02 Richard Guenther <rguenther@suse.de> |
3946 | ||
3947 | * varasm.c (output_constructor_regular_field): Compute zero-based | |
3948 | index with double-ints. Make sure to ICE instead of producing | |
3949 | wrong code. | |
3950 | * cgraph.c (cgraph_add_thunk): Do not create new tree nodes | |
3951 | in asserts. Properly use a signed type. | |
3952 | ||
6bec6c98 UB |
3953 | 2011-05-02 Uros Bizjak <ubizjak@gmail.com> |
3954 | ||
3955 | * config/i386/sse.md (V): New mode iterator. | |
3956 | (V_128): Rename from SSEMODE. Make V2DF mode conditional on | |
3957 | TARGET_SSE2. | |
3958 | (V_256): Rename from AVX256MODE. | |
3959 | (VF): Make V4SF mode unconditional. Add TARGET_SSE instruction | |
3960 | condition to all users. | |
3961 | (VF1): Ditto. | |
3962 | (VF2): Make V2DF mode unconditional. Add TARGET_SSE2 instruction | |
3963 | condition to all users. | |
3964 | (VF_128): Make V4SF mode unconditional. | |
3965 | (VF_256): Rename from AVX256MODEF2P. | |
3966 | (VI4F_128): Rename from SSEMODE4S. | |
3967 | (VI8F_128): Rename from SSEMODE2D. | |
3968 | (VI4F_256): Rename from AVX256MODE8P. | |
3969 | (VI8F_256): Rename from AVX256MODE4P. | |
3970 | (avxsizesuffix): Add V16HI, V4DI, V8HI and V2DI modes. | |
3971 | (ssescalarmodesuffix): Remove SF and DF modes. | |
3972 | (SSEMODE124): Remove. | |
3973 | (SSEMODE1248): Ditto. | |
3974 | (SSEMODEF2P): Ditto. | |
3975 | (AVXMODEF2P): Ditto. | |
3976 | (AVXMODEFDP): Ditto. | |
3977 | (AVXMODEFSP): Ditto. | |
3978 | (VEC_EXTRACT_MODE): Make V16QI, V8HI, V4SI, V2DI, V4SF and V2DF modes | |
3979 | unconditional. | |
3980 | (VEC_EXTRACT_EVENODD_MODE): Rename from SSEMODE_EO. Make V4SF mode | |
3981 | unconditional. | |
3982 | (xop_pcmov_<mode><avxsizesuffix>): Merge from xop_pcmov_<mode> and | |
3983 | xop_pcmov_<mode>256. Use V mode iterator. | |
3984 | ||
3985 | Adjust RTX patterns globally for renamed mode attributes. | |
3986 | ||
2dfdcb4b UW |
3987 | 2011-05-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
3988 | ||
3989 | * haifa-sched.c (sched_emit_insn): Emit insn before first | |
3990 | non-scheduled insn. Inform back-end about new insn. Add | |
3991 | new insn to scheduled_insns list. | |
3992 | ||
90bc4623 RG |
3993 | 2011-05-02 Richard Guenther <rguenther@suse.de> |
3994 | ||
3995 | PR tree-optimization/48822 | |
3996 | * tree-ssa-sccvn.c (set_ssa_val_to): Never go up the lattice. | |
3997 | (process_scc): Indicate which iteration we start. | |
3998 | ||
bc0fe8cb JH |
3999 | 2011-05-02 Jan Hubicka <jh@suse.cz> |
4000 | ||
4001 | * lto-section-in.c (lto_input_1_unsigned): Move to lto-streamer.h | |
4002 | (lto_section_overrun): New. | |
4003 | * lto-section-out.c (append_block): Rename to ... | |
4004 | (lto_append_block): ... this one; export. | |
4005 | (lto_output_1_stream): Move lto lto-streamer.h | |
4006 | (lto_output_data_stream): Update. | |
4007 | * lto-streamer.h (lto_section_overrun, lto_append_block): Declare. | |
4008 | (lto_output_1_stream, lto_input_1_unsigned): Turn into inline | |
4009 | functions. | |
4010 | ||
f070a9d1 RG |
4011 | 2011-05-02 Richard Guenther <rguenther@suse.de> |
4012 | ||
4013 | * tree.c (tree_code_counts): New global array. | |
4014 | (record_node_allocation_statistics): Count individual tree codes. | |
4015 | (dump_tree_statistics): Dump individual code stats. | |
4016 | ||
09dfe187 JH |
4017 | 2011-05-01 Jan Hubicka <jh@suse.cz> |
4018 | ||
4019 | * ipa-inline.c (caller_growth_limits): Fix thinko when | |
4020 | looking for largest stack frame. | |
4021 | * ipa-inline.h (dump_inline_summary): Declare. | |
4022 | * ipa-inline-analysis.c (dump_inline_edge_summary): Dump info | |
4023 | on stack usage. | |
4024 | (dump_inline_summary): Export. | |
4025 | (debug_inline_summary): Declare as DEBUG_FUNCTION. | |
4026 | ||
6f76a878 AS |
4027 | 2011-05-01 Anatoly Sokolov <aesok@post.ru> |
4028 | ||
4029 | * reginfo.c (memory_move_cost): Change rclass argument type form | |
4030 | 'enum reg_class' to reg_class_t. | |
4031 | * reload.h (memory_move_cost): Update prototype. | |
4032 | * postreload.c reload_cse_simplify_set): Change type dclass var to | |
4033 | reg_class_t. | |
4034 | * ira-int.h (ira_allocate_cost_vector, ira_free_cost_vector): | |
4035 | Update prototype. | |
4036 | (ira_allocate_and_set_costs): Change aclass argument type form | |
4037 | 'enum reg_class' to reg_class_t. | |
6bec6c98 | 4038 | * ira-build.c (ira_allocate_cost_vector, ira_free_cost_vector): |
6f76a878 AS |
4039 | Change aclass argument type to reg_class_t. |
4040 | (update_conflict_hard_reg_costs): Change type aclass and pref vars | |
4041 | to reg_class_t. | |
4042 | * gcc/ira.c (setup_class_subset_and_memory_move_costs): Adjust | |
4043 | memory_move_cost call. | |
4044 | ||
4045 | * config/ia64/ia64.c (ia64_register_move_cost): Remove 'from' and | |
4046 | 'to' local var. Rename from_i and to_i arguments to 'from' and 'to'. | |
4047 | Change type tmp var to reg_class_t. | |
4048 | ||
9a4ac625 JH |
4049 | 2011-04-30 Jan Hubicka <jh@suse.cz> |
4050 | ||
4051 | * ipa-inline.c (can_inline_edge_p): Disregard limits when | |
4052 | inlining into function with flatten attribute. | |
4053 | (want_inline_small_function_p): Be more realistic about inlining | |
4054 | cold calls where callee size grows. | |
4055 | ||
dd8352ee JH |
4056 | 2011-04-30 Jan Hubicka <jh@suse.cz> |
4057 | ||
4058 | * cgraph.c (cgraph_create_virtual_clone): Clear constructor/destructor | |
4059 | flags. | |
4060 | ||
46e43d2b AS |
4061 | 2011-04-30 Anatoly Sokolov <aesok@post.ru> |
4062 | ||
4063 | * config/sparc/sparc.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS, | |
4064 | PRINT_OPERAND_PUNCT_VALID_P): Remove. | |
4065 | * config/sparc/sparc-protos.h (print_operand): Remove declaration. | |
4066 | * config/sparc/sparc.c (TARGET_PRINT_OPERAND_PUNCT_VALID_P, | |
4067 | TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
4068 | (print_operand): Rename to... | |
4069 | (sparc_print_operand): ...this. Make static. Adjust | |
4070 | sparc_print_operand function call. | |
4071 | (sparc_print_operand_punct_valid_p, sparc_print_operand_address): New | |
4072 | functions. | |
4073 | ||
ecb62563 JH |
4074 | 2011-04-30 Jan Hubicka <jh@suse.cz> |
4075 | ||
6bec6c98 | 4076 | PR middle-end/48752 |
ecb62563 JH |
4077 | * ipa-inline.c (early_inliner): Disable when doing late |
4078 | addition of function. | |
4079 | ||
edb9b69e JJ |
4080 | 2011-04-30 Jakub Jelinek <jakub@redhat.com> |
4081 | ||
be80a87e JJ |
4082 | * dwarf2out.c (get_address_mode): New inline. |
4083 | (mem_loc_descriptor): Add MEM_MODE parameter, adjust recursive calls, | |
4084 | if not dwarf_strict emit | |
4085 | DW_OP_GNU_{{const,regval,deref}_type,convert,reinterpret} when | |
4086 | desirable. Handle FLOAT_EXTEND, FLOAT_TRUNCATE, FLOAT, | |
4087 | UNSIGNED_FLOAT, FIX and UNSIGNED_FIX. Just return NULL for | |
4088 | FMA, STRICT_LOW_PART, CONST_VECTOR and CONST_FIXED. | |
4089 | (dwarf2out_frame_debug_cfa_expression, reg_loc_descriptor, | |
4090 | dw_loc_list_1, cst_pool_loc_descr, loc_list_from_tree): Adjust | |
4091 | mem_loc_descriptor callers. | |
4092 | (dwarf_stack_op_name, size_of_loc_descr, output_loc_operands, | |
4093 | output_loc_operands_raw, hash_loc_operands, compare_loc_operands): | |
4094 | Handle DW_OP_GNU_const_type, DW_OP_GNU_regval_type, | |
4095 | DW_OP_GNU_deref_type, DW_OP_GNU_convert and DW_OP_GNU_reinterpret. | |
4096 | (base_types): New variable. | |
4097 | (get_base_type_offset, calc_base_type_die_sizes, | |
4098 | base_type_for_mode, mark_base_types, base_type_cmp, | |
4099 | move_marked_base_types): New functions. | |
4100 | (calc_die_sizes): Assert that die_offset is 0 or equal to | |
4101 | next_die_offset. | |
4102 | (loc_descriptor): Only handle here lowpart SUBREGs of REG, for | |
4103 | others defer to mem_loc_descriptor. Adjust mem_loc_descriptor | |
4104 | callers. If not dwarf_strict, call mem_loc_descriptor even for | |
4105 | non-MODE_INT modes or MODE_INT modes larger than DWARF2_ADDR_SIZE. | |
4106 | (gen_subprogram_die): Don't give up on call site parameters | |
4107 | with non-integral or large integral modes. Adjust | |
4108 | mem_loc_descriptor callers. | |
4109 | (prune_unused_types): Call prune_unused_types_mark on base_types | |
4110 | vector entries. | |
4111 | (resolve_addr): Call mark_base_types. | |
4112 | (dwarf2out_finish): Call move_marked_base_types. | |
4113 | ||
edb9b69e JJ |
4114 | PR tree-optimization/48809 |
4115 | * tree-switch-conversion.c (build_arrays): Compute tidx in unsigned | |
4116 | type. | |
4117 | (gen_inbound_check): Don't compute index_expr - range_min in utype | |
4118 | again, instead reuse SSA_NAME initialized in build_arrays. | |
4119 | Remove two useless gsi_for_stmt calls. | |
4120 | ||
a6545a3d JL |
4121 | 2011-04-29 Jeff Law <law@redhat.com> |
4122 | ||
4123 | * tree-ssa-threadedge.c (thread_across_edge): Add missing return. | |
4124 | ||
af8bca3c MJ |
4125 | 2011-04-29 Martin Jambor <mjambor@suse.cz> |
4126 | ||
4127 | * cgraph.h (cgraph_postorder): Remove declaration. | |
4128 | * ipa-utils.h (ipa_free_postorder_info): Declare. | |
4129 | (ipa_reverse_postorder): Likewise. | |
4130 | * cgraphunit.c: Include ipa-utils.h. | |
4131 | (cgraph_expand_all_functions): Update call to ipa_reverse_postorder. | |
4132 | * ipa-inline.c: Include ipa-utils.h. | |
4133 | (ipa_inline): Update call to ipa_reverse_postorder. | |
4134 | * ipa-pure-const.c (propagate_pure_const): Update call to | |
4135 | ipa_reduced_postorder and ipa_print_order. Call | |
4136 | ipa_free_postorder_info to clean up. | |
4137 | (propagate_nothrow): Likewise. | |
4138 | * ipa-reference.c (propagate): Removed a useless call to | |
4139 | ipa_utils_reduced_inorder, updated a call to ipa_reduced_postorder | |
4140 | and ipa_print_order. Call ipa_free_postorder_info to clean up. | |
4141 | * ipa.c: Include ipa-utils.h. | |
4142 | (ipa_profile): Update call to ipa_reverse_postorder. | |
4143 | (cgraph_postorder): Moved to... | |
4144 | * ipa-utils.c (ipa_reverse_postorder): ...here and renamed. | |
4145 | (ipa_utils_print_order): Renamed to ipa_print_order. | |
4146 | (ipa_utils_reduced_inorder): Renamed to ipa_reduced_postorder. Updated | |
4147 | comments. | |
4148 | (ipa_free_postorder_info): New function. | |
4149 | * passes.c: Include ipa-utils.h. | |
4150 | (do_per_function_toporder): Update call to ipa_reverse_postorder. | |
4151 | (ipa_write_summaries): Likewise. | |
4152 | * Makefile.in (passes.o): Add IPA_UTILS_H to dependencies. | |
4153 | (cgraphunit.o): Likewise. | |
4154 | (ipa.o): Likewise. | |
4155 | (ipa-inline.o): Likewise. | |
4156 | ||
b15c64ee JH |
4157 | 2011-04-29 Jan Hubicka <jh@suse.cz> |
4158 | ||
4159 | * gcc.dg/tree-ssa/inline-10.c: New testcase. | |
4160 | * gcc.dg/tree-ssa/inline-9.c: Disable partial inlining. | |
4161 | * ipa-inline.h (clause_t): Turn into unsigned int. | |
4162 | * ipa-inline-analysis.c (add_clause): Do more simplification. | |
4163 | (and_predicates): Shortcut more cases. | |
4164 | (predicates_equal_p): Move forward; check that clauses are properly | |
4165 | ordered. | |
4166 | (or_predicates): Shortcut more cases. | |
4167 | (edge_execution_predicate): Rewrite as... | |
4168 | (set_cond_stmt_execution_predicate): ... this function; handle | |
4169 | __builtin_constant_p. | |
4170 | (set_switch_stmt_execution_predicate): New . | |
4171 | (compute_bb_predicates): New. | |
4172 | (will_be_nonconstant_predicate): Update TODO. | |
4173 | (estimate_function_body_sizes): Use compute_bb_predicates | |
4174 | and free them later, always try to estimate if stmt is constant. | |
4175 | (estimate_time_after_inlining, estimate_size_after_inlining): | |
4176 | Gracefully handle optimized out edges. | |
4177 | (read_predicate): Fix off by one error. | |
4178 | ||
a88fdc2a NP |
4179 | 2011-04-29 Nicola Pero <nicola.pero@meta-innovation.com> |
4180 | ||
4181 | * Makefile.in (ENABLE_MAINTAINER_RULES): New. | |
4182 | ||
d984c8ef XDL |
4183 | 2011-04-27 Xinliang David Li <davidxl@google.com> |
4184 | ||
4185 | * tree-profile.c (init_ic_make_global_vars): Set | |
4186 | tls attribute on ic vars. | |
4187 | * coverage.c (coverage_end_function): Initialize | |
4188 | function_list with zero. | |
4189 | ||
45a2c477 RG |
4190 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
4191 | ||
4192 | * builtins.c (fold_builtin_classify_type): Use integer_type_node | |
4193 | for the type of the result. | |
4194 | (fold_builtin_isascii): Likewise. | |
4195 | (fold_builtin_toascii): Use integer_type_node where appropriate. | |
4196 | (fold_builtin_logb): Likewise. | |
4197 | (fold_builtin_frexp): Likewise. | |
4198 | (fold_builtin_strstr): Likewise. | |
4199 | (fold_builtin_strpbrk): Likewise. | |
4200 | (fold_builtin_fputs): Likewise. | |
4201 | (fold_builtin_sprintf): Likewise. | |
4202 | (fold_builtin_snprintf): Likewise. | |
4203 | (fold_builtin_printf): Likewise. | |
4204 | (do_mpfr_remquo): Use a proper type for the assigned constant. | |
4205 | (do_mpfr_lgamma_r): Likewise. | |
4206 | * dwarf2out.c (resolve_one_addr): Use size_int. | |
4207 | * except.c (init_eh): Likewise. | |
4208 | (assign_filter_values): Use integer_type_node for filter values. | |
4209 | (sjlj_emit_dispatch_table): Use integer_type_node for dispatch | |
4210 | indices. | |
4211 | * tree-cfg.c (move_stmt_eh_region_tree_nr): Use integer_type_node | |
4212 | for EH region numbers. | |
4213 | * tree-vrp.c (simplify_div_or_mod_using_ranges): Use integer_type_node | |
4214 | for the shift amount. | |
4215 | ||
eb6c3df1 RG |
4216 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
4217 | ||
4218 | * expr.h (expand_shift): Rename to ... | |
4219 | (expand_variable_shift): ... this. | |
4220 | (expand_shift): Take a constant shift amount. | |
4221 | * expmed.c (expand_shift): Rename to ... | |
4222 | (expand_variable_shift): ... this. | |
4223 | (expand_shift): New wrapper around expand_variable_shift. | |
4224 | * expr.c (convert_move, emit_group_load_1, emit_group_store, | |
4225 | optimize_bitfield_assignment_op, store_field, expand_expr_real_2, | |
4226 | expand_expr_real_1, reduce_to_bit_field_precision): Adjust. | |
4227 | * expmed.c (store_fixed_bit_field, extract_bit_field_1, | |
4228 | extract_fixed_bit_field, extract_split_bit_field, expand_mult_const, | |
4229 | expand_mult, expand_widening_mult, expand_mult_highpart_adjust, | |
4230 | extract_high_half, expand_sdiv_pow2, expand_divmod, emit_cstore, | |
4231 | emit_store_flag_1, emit_store_flag): Likewise. | |
4232 | * builtins.c (expand_builtin_signbit): Likewise. | |
4233 | * calls.c (load_register_parameters): Likewise. | |
4234 | * function.c (assign_parm_setup_block): Likewise. | |
4235 | * lower-subreg.c (resolve_shift_zext): Likewise. | |
4236 | * optabs.c (widen_bswap, expand_abs_nojump, | |
4237 | expand_one_cmpl_abs_nojump, expand_float): Likewise. | |
4238 | * spu/spu.c (spu_expand_extv): Likewise. | |
4239 | * sparc/sparc.c (sparc32_initialize_trampoline): Likewise. | |
4240 | ||
9f616812 RG |
4241 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
4242 | ||
4243 | * tree-inline.c (remap_eh_region_tree_nr): Use integer_type_node | |
4244 | for the remapped region number. | |
4245 | * predict.c (build_predict_expr): Use integer_type_node for the | |
4246 | predict kind. | |
4247 | * fold-const.c (fold_binary_loc): Use integer_type_node for | |
4248 | the shift amount. Use a proper type for the PLUS_EXPR operand. | |
4249 | ||
b823cdfe MM |
4250 | 2011-04-29 Michael Matz <matz@suse.de> |
4251 | ||
4252 | * lto-streamer.c (lto_streamer_cache_insert_1): Accept to override | |
4253 | other trees that just builtins. | |
4254 | (lto_record_common_node): Don't leave NULL TYPE_CANONICAL. | |
4255 | ||
413581ba RG |
4256 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
4257 | ||
4258 | * tree-nested.c (get_trampoline_type): Use size_int. | |
4259 | (get_nl_goto_field): Likewise. | |
4260 | * tree-eh.c (lower_try_finally_switch): Use integer_type_node | |
4261 | for all indexes. | |
4262 | (lower_eh_constructs_2): Likewise. | |
4263 | (lower_resx): Likewise. | |
4264 | (lower_eh_dispatch): Likewise. | |
4265 | * tree-mudflap.c (mf_build_string): Use size_int. | |
4266 | (mudflap_register_call): Use integer_type_node for the flag. | |
4267 | (mudflap_enqueue_constant): Use size_int. | |
4268 | * tree-chrec.c (reset_evolution_in_loop): Copy CHREC_VAR | |
4269 | instead of rebuilding it. | |
4270 | ||
5c04e9f4 RG |
4271 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
4272 | ||
4273 | * tree-ssa-structalias.c (get_fi_for_callee): Restructure. | |
4274 | Handle OBJ_TYPE_REF. | |
4275 | (find_func_aliases_for_call): Use it more consistently. | |
4276 | ||
5c24671b AO |
4277 | 2011-04-29 Alexandre Oliva <aoliva@redhat.com> |
4278 | ||
4279 | * haifa-sched.c (last_nondebug_scheduled_insn): New. | |
4280 | (rank_for_schedule): Use it. | |
4281 | (schedule_block): Set it. | |
4282 | ||
10adac51 XDL |
4283 | 2011-04-28 David Li <davidxl@google.com> |
4284 | ||
4285 | * tree.c (crc32_string): Use crc32_byte. | |
4286 | (crc32_byte): New function. | |
4287 | * tree.h (crc32_byte): New function. | |
4288 | * gcov.c (read_graph_file): Handle new cfg_cksum. | |
4289 | (read_count_file): Ditto. | |
4290 | * profile.c (instrument_values): Ditto. | |
4291 | (get_exec_counts): Ditto. | |
4292 | (read_profile_edge_counts): Ditto. | |
4293 | (compute_branch_probabilities): Ditto. | |
4294 | (compute_value_histograms): Ditto. | |
4295 | (branch_prob): Ditto. | |
4296 | (end_branch_prob): Ditto. | |
4297 | * coverage.c (read_counts_file): Ditto. | |
4298 | (get_coverage_counts): Ditto. | |
4299 | (tree_coverage_counter_addr): Ditto. | |
4300 | (coverage_checksum_string): Ditto. | |
4301 | (coverage_begin_output): Ditto. | |
4302 | (coverage_end_function): Ditto. | |
4303 | (build_fn_info_type): Ditto. | |
4304 | (build_fn_info_value): Ditto. | |
4305 | * libgcov.c (gcov_exit): Ditto. | |
4306 | * gcov-dump.c (tag_function): Ditto. | |
4307 | (compute_checksum): Remove. | |
4308 | ||
5d6358a5 AM |
4309 | 2011-04-29 Alan Modra <amodra@gmail.com> |
4310 | ||
4311 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle | |
4312 | unspec plus offset. Tidy macho code. | |
4313 | ||
85ad2ef5 MJ |
4314 | 2011-04-29 Martin Jambor <mjambor@suse.cz> |
4315 | ||
4316 | * cgraphunit.c (cgraph_preserve_function_body_p): Accept a cgraph | |
4317 | node instead of a decl. Update all callers. | |
4318 | * cgraph.h: Update declaration. | |
4319 | ||
437f4a00 IR |
4320 | 2011-04-28 Ira Rosen <ira.rosen@linaro.org> |
4321 | ||
4322 | PR tree-optimization/48765 | |
4323 | * tree-vectorizer.h (vect_make_slp_decision): Return bool. | |
4324 | * tree-vect-loop.c (vect_analyze_loop_operations): Add new argument | |
4325 | to indicate if loop aware SLP is being used. Scan the statements | |
4326 | and update the vectorization factor according to the type of | |
4327 | vectorization before statement analysis. | |
4328 | (vect_analyze_loop_2): Get a return value from vect_make_slp_decision, | |
4329 | pass it to vect_analyze_loop_operations. | |
4330 | (vectorizable_reduction): Set number of copies to 1 in case of pure | |
4331 | SLP statement. | |
4332 | * tree-vect-stmts.c (vectorizable_conversion, | |
4333 | vectorizable_assignment, vectorizable_shift, | |
4334 | vectorizable_operation, vectorizable_type_demotion, | |
4335 | vectorizable_type_promotion, vectorizable_store, vectorizable_load): | |
4336 | Likewise. | |
4337 | (vectorizable_condition): Move the check that it is not SLP | |
4338 | vectorization before the number of copies check. | |
4339 | * tree-vect-slp.c (vect_make_slp_decision): Return TRUE if decided | |
4340 | to vectorize the loop using SLP. | |
4341 | ||
c6fc44f3 JJ |
4342 | 2011-04-28 Jakub Jelinek <jakub@redhat.com> |
4343 | ||
4344 | PR middle-end/48597 | |
4345 | * final.c (final_scan_insn): Call dwarf2out_frame_debug even for | |
4346 | inline asm. | |
4347 | ||
6c0170ea JM |
4348 | 2011-04-28 Joseph Myers <joseph@codesourcery.com> |
4349 | ||
4350 | * config.gcc (*-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | | |
4351 | *-*-kopensolaris*-gnu): Don't define SINGLE_LIBC. | |
4352 | (i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | | |
4353 | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu, | |
4354 | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu): Don't use | |
4355 | linux*.h headers. | |
6bec6c98 | 4356 | * config/gnu-user.h (TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Define. |
6c0170ea JM |
4357 | * config/i386/gnu.h (MD_UNWIND_SUPPORT): Don't undefine. |
4358 | * config/i386/kfreebsd-gnu.h (MD_UNWIND_SUPPORT): Don't undefine. | |
4359 | * config/i386/knetbsd-gnu.h (MD_UNWIND_SUPPORT): Don't undefine. | |
6bec6c98 | 4360 | * config/i386/kopensolaris-gnu.h (MD_UNWIND_SUPPORT): Don't undefine. |
6c0170ea JM |
4361 | * config/i386/linux-unwind.h (x86_fallback_frame_state): Don't use |
4362 | REG_NAME. | |
4363 | * config/i386/linux.h (REG_NAME): Don't define. | |
4364 | * config/i386/linux64.h (REG_NAME): Don't define. | |
4365 | * config/linux.h (TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): | |
4366 | Undefine before defining. | |
4367 | ||
970dabbd JH |
4368 | 2011-04-28 Jan Hubicka <jh@suse.cz> |
4369 | ||
6bec6c98 UB |
4370 | * ipa-inline-analysis.c (will_be_nonconstant_predicate): Take |
4371 | nonconstant_names array. | |
970dabbd JH |
4372 | (estimate_function_body_sizes): Build nonconstant_names array; handle |
4373 | BUILT_IN_CONSTANT_P. | |
4374 | ||
8d3e3924 RG |
4375 | 2011-04-28 Richard Guenther <rguenther@suse.de> |
4376 | ||
4377 | PR bootstrap/48804 | |
4378 | Revert | |
4379 | 2011-04-28 Richard Guenther <rguenther@suse.de> | |
4380 | ||
4381 | * tree-ssa-structalias.c (solve_constraints): Build succ graph | |
4382 | as late as possible. | |
6bec6c98 | 4383 | |
8576f20a RG |
4384 | 2011-04-28 Richard Guenther <rguenther@suse.de> |
4385 | ||
4386 | * tree-ssa-structalias.c (dump_constraint): Don't end the line. | |
4387 | (debug_constraint): Do it here. | |
4388 | (dump_constraints): And here. | |
4389 | (rewrite_constraints): And here. | |
4390 | (dump_constraint_edge): Remove. | |
4391 | (dump_constraint_graph): Rewrite to produce DOT output. | |
4392 | (solve_constraints): Build succ graph as late as possible. | |
4393 | Dump constraint graphs before and after solving. | |
4394 | ||
e38811ce RG |
4395 | 2011-04-28 Richard Guenther <rguenther@suse.de> |
4396 | ||
4397 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
4398 | New function split out from ... | |
4399 | (find_func_aliases): ... here. Call it. | |
4400 | (find_func_aliases_for_call): Likewise. | |
4401 | ||
fbaf0d0c GDR |
4402 | 2011-04-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
4403 | ||
4404 | * internal-fn.h (internal_fn_name_array): Declare. | |
4405 | (internal_fn_flags_array): Likewise. | |
4406 | ||
cbb734aa UB |
4407 | 2011-04-27 Uros Bizjak <ubizjak@gmail.com> |
4408 | ||
4409 | * config/i386/i386.md (ssemodesuffix): Merge with ssevecsize, | |
4410 | ssemodefsuffix, ssescalarmodesuffix and avxmodesuffixp. | |
4411 | Move from sse.md. | |
4412 | (ssemodefsuffix): Remove. | |
4413 | (ssevecmodesuffix): New mode attribute. | |
4414 | (fix_trunc<mode>di_sse, fix_trunc<mode>si_sse, | |
4415 | *float<SSEMODEI24:mode><MODEF:mode>2_mixed_interunit, | |
4416 | *float<SSEMODEI24:mode><MODEF:mode>2_mixed_nointerunit, | |
4417 | *float<SSEMODEI24:mode><MODEF:mode>2_sse_interunit, | |
4418 | *float<SSEMODEI24:mode><MODEF:mode>2_sse_nointerunit, setcc_<mode>_sse, | |
4419 | *sqrt<mode>2_sse, sse4_1_round<mode>2, <smaxmin:code><mode>3, | |
4420 | *ieee_smin<mode>3, *ieee_smax<mode>3): Adjust assembler templates for | |
4421 | ssemodesuffix mode attribute. | |
4422 | (float splitters): Use ssevecmodesuffix mode attribute. | |
4423 | * config/i386/sse.md (ssescalarmode): Merge with avxscalarmode. | |
4424 | (sseinsmode): Rename from avxvecmode. | |
4425 | (avxsizesuffix): Rename from avxmodesuffix. | |
4426 | (sseintvecmode): Rename from avxpermvecmode. | |
4427 | (ssedoublevecmode): Rename from ssedoublesizemode. | |
4428 | (ssehalfvecmode): Rename from avxhalfvecmode. | |
4429 | (ssescalarmode): Rename from avxscalarmode. | |
4430 | (<sse>_comi, <sse>_ucomi, sse4a_movnt<mode>): Adjust assembler | |
4431 | templates for ssemodesuffix mode attribute. | |
4432 | (*andnot<mode>3, *<any_logic:code><mode>3): Use ssevecmodesuffix | |
4433 | mode attribute. | |
4434 | ||
4435 | Adjust RTX patterns globally for renamed mode attributes. | |
4436 | ||
991278ab JH |
4437 | 2011-04-27 Jan Hubcika <jh@suse.cz> |
4438 | ||
4439 | * ipa-inline.h (struct inline_edge_summary): Add predicate pointer. | |
4440 | * ipa-inline-analysis.c: Include alloc-pool.h. | |
4441 | (edge_predicate_pool): New. | |
4442 | (trye_predicate_p): New function | |
4443 | (false_predicate_p): New function. | |
4444 | (add_clause): Sanity check that false clauses are "optimized"; | |
4445 | never add clauses to predicate that is already known to be false. | |
4446 | (and_predicate): Use flase_predicate_p. | |
4447 | (evaulate_predicate): Rename to ... | |
4448 | (evaluate_predicate): ... this one; update all callers; assert | |
4449 | that false is not listed among possible truths. | |
4450 | (dump_predicate): Use true_predicate_p. | |
4451 | (account_size_time): Use false_predicate_p. | |
4452 | (evaulate_conditions_for_edge): Rename to ... | |
4453 | (evaluate_conditions_for_edge) ... this one. | |
4454 | (edge_set_predicate): New function. | |
4455 | (inline_edge_duplication_hook): Duplicate edge predicates. | |
4456 | (inline_edge_removal_hook): Free edge predicates. | |
cbb734aa | 4457 | (dump_inline_edge_summary): Add INFO parameter; dump edge predicates. |
991278ab JH |
4458 | (dump_inline_summary): Update. |
4459 | (estimate_function_body_sizes): Set edge predicates. | |
4460 | (estimate_calls_size_and_time): Handle predicates. | |
4461 | (estimate_callee_size_and_time): Update. | |
4462 | (remap_predicate): Add toplev_predicate; update comment. | |
4463 | (remap_edge_predicates): New function. | |
4464 | (inline_merge_summary): Compute toplev predicate; update. | |
4465 | (read_predicate): New function. | |
4466 | (read_inline_edge_summary): Use it. | |
4467 | (inline_read_section): Likewise. | |
4468 | (write_predicate): New function. | |
4469 | (write_inline_edge_summary): Use it. | |
4470 | (inline_write_summary): Likewise. | |
4471 | (inline_free_summary): Free alloc pool and edge summary vec. | |
4472 | ||
648b5f85 RG |
4473 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
4474 | ||
4475 | * tree-ssa-structalias.c (changed_count): Remove. | |
4476 | (changed): Use a bitmap. | |
4477 | (unify_nodes): Adjust. | |
4478 | (do_sd_constraint): Likewise. | |
4479 | (do_ds_constraint): Likewise. | |
4480 | (do_complex_constraint): Likewise. | |
4481 | (solve_graph): Likewise. | |
4482 | ||
4d5dcfb2 JH |
4483 | 2011-04-27 Jan Hubicka <jh@suse.cz> |
4484 | ||
4485 | * cgraphunit.c (cgraph_process_new_functions): Fix ordering issue. | |
4486 | ||
200eb7d2 UB |
4487 | 2011-04-27 Uros Bizjak <ubizjak@gmail.com> |
4488 | ||
4489 | * config/i386/predicates.md (avx_vpermilp_*_operand): Remove. | |
4490 | (avx_vperm2f128_*_operand): Ditto. | |
4491 | * config/i386/sse.md (*avx_vpermilp<mode>): Remove operand2 predicate. | |
4492 | Use avx_vpermilp_parallel in insn condition. | |
4493 | (*avx_vperm2f128<mode>_nozero): Remove operand3 predicate. | |
4494 | Use avx_vperm2f128_parallel in insn condition. | |
4495 | ||
7d6e2521 RG |
4496 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
4497 | ||
4498 | * Makefile.in (tree-ssa-structalias.o): Remove | |
4499 | gt-tree-ssa-structalias.h dependency. | |
4500 | (GTFILES): Remove tree-ssa-structalias.c. | |
4501 | * tree.c (allocate_decl_uid): New function. | |
4502 | (make_node_stat): Use it. | |
4503 | (copy_node_stat): Likewise. | |
4504 | * tree.h (allocate_decl_uid): Declare. | |
4505 | * tree-ssa-alias.h (delete_alias_heapvars): Remove. | |
4506 | * tree-ssa.c (delete_tree_ssa): Do not call delete_alias_heapvars. | |
4507 | * tree-flow.h (struct var_ann_d): Remove is_heapvar flag. | |
200eb7d2 | 4508 | * tree-ssa-live.c (remove_unused_locals): Do not check is_heapvar flag. |
7d6e2521 RG |
4509 | * tree-ssa-structalias.c (heapvar_for_stmt): Remove. |
4510 | (struct heapvar_map): Likewise. | |
4511 | (heapvar_map_eq, heapvar_map_hash, heapvar_lookup, | |
4512 | heapvar_insert): Likewise. | |
4513 | (make_heapvar_for): Rename to ... | |
4514 | (make_heapvar): ... this. Simplify. | |
4515 | (fake_var_decl_obstack): New global var. | |
4516 | (build_fake_var_decl): New function. | |
4517 | (make_constraint_from_heapvar): Adjust. | |
4518 | (handle_lhs_call): Likewise. | |
4519 | (create_function_info_for): Likewise. | |
4520 | (intra_create_variable_infos): Likewise. | |
4521 | (init_alias_vars): Allocate fake_var_decl_obstack. | |
4522 | (init_alias_heapvars, delete_alias_heapvars): Remove. | |
4523 | (compute_points_to_sets): Do not call init_alias_heapvars. | |
4524 | (ipa_pta_execute): Likewise. | |
4525 | (delete_points_to_sets): Free fake_var_decl_obstack. | |
4526 | ||
526ed6c2 UW |
4527 | 2011-04-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
4528 | ||
4529 | * config/spu/divmovti4.c (union qword_UTItype): New data type. | |
4530 | (si_from_UTItype, si_to_UTItype): New functions. | |
4531 | (__udivmodti4): Use them to implement type-punning. | |
4532 | * config/spu/multi3.c (union qword_TItype): New data type. | |
4533 | (si_from_TItype, si_to_TItype): New functions. | |
4534 | (__multi3): Use them to implement type-punning. | |
4535 | ||
c187d33c UW |
4536 | 2011-04-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
4537 | ||
4538 | * config/spu/spu.c (spu_expand_epilogue): Do not emit barrier. | |
4539 | ||
40982661 JH |
4540 | 2011-04-27 Jan Hubicka <jh@suse.cz> |
4541 | ||
4542 | * ipa-prop.c (function_insertion_hook_holder): New holder. | |
4543 | (ipa_add_new_function): New function. | |
200eb7d2 UB |
4544 | (ipa_register_cgraph_hooks, ipa_unregister_cgraph_hooks): |
4545 | Register/deregister holder. | |
40982661 | 4546 | |
9aef53ee RG |
4547 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
4548 | ||
4549 | PR tree-optimization/48772 | |
200eb7d2 | 4550 | * tree-ssa-pre.c (eliminate): Update call stmts after elimination only. |
9aef53ee | 4551 | |
f63d806d RG |
4552 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
4553 | ||
4554 | * tree-ssa-alias.c (indirect_refs_may_alias_p): Fix | |
4555 | TARGET_MEM_REF handling. | |
4556 | ||
e1ea7451 NC |
4557 | 2011-04-27 Nick Clifton <nickc@redhat.com> |
4558 | ||
9b5db25d NC |
4559 | * config/frv/frv.h (enum reg_class): Delete EVEN_ACC_REGS, |
4560 | ACC_REGS, FEVEN_REGS, FPR_REGS, EVEN_REGS. | |
4561 | (REG_CLASS_NAMES): Likewise. | |
4562 | (REG_CLASS_CONTENTS): Likewise. | |
4563 | (EVEN_ACC_REGS): New macro. Alias for QUAD_ACC_REGS. | |
4564 | (ACC_REGS): New macro. Alias for QUAD_ACC_REGS. | |
4565 | (FEVEN_REGS): New macro. Alias for QUAD_ACC_REGS. | |
4566 | (FPR_REGS): New macro. Alias for QUAD_ACC_REGS. | |
4567 | (EVEN_REGS): New macro. Alias for QUAD_REGS. | |
4568 | * config/frv/frv.c (frv_secondary_reload_class): Remove use of | |
4569 | duplicate register classes. | |
97d20907 | 4570 | (frv_class_likely_spilled_p): Likewise. |
9b5db25d NC |
4571 | (frv_register_move_cost): Likewise. |
4572 | ||
e1ea7451 NC |
4573 | * config/mcore/mcore.h (REGNO_REG_CLASS): Do not index beyond the |
4574 | end of the regno_reg_class array. | |
4575 | ||
5c2f94b4 JJ |
4576 | 2011-04-27 Jakub Jelinek <jakub@redhat.com> |
4577 | ||
4578 | PR c/48742 | |
4579 | * c-typeck.c (build_binary_op): Don't wrap arguments if | |
4580 | int_operands is true. | |
4581 | ||
57a944d7 KK |
4582 | 2011-04-26 Kaz Kojima <kkojima@gcc.gnu.org> |
4583 | ||
4584 | PR target/48767 | |
4585 | * config/sh/sh.c (sh_gimplify_va_arg_expr): Don't call | |
4586 | targetm.calls.must_pass_in_stack for void type. | |
4587 | ||
898b8927 JH |
4588 | 2011-04-26 Jan Hubicka <jh@suse.cz> |
4589 | ||
4590 | * cgraphbuild.c (build_cgraph_edges): Update call | |
4591 | of cgraph_create_edge and cgraph_create_indirect_edge. | |
4592 | * cgraph.c (cgraph_create_edge_including_clones, | |
4593 | cgraph_create_edge_1, cgraph_allocate_init_indirect_info, | |
4594 | cgraph_update_edges_for_call_stmt_node): Do not take nest | |
4595 | argument; do not initialize call_stmt_size/time. | |
4596 | (dump_cgraph_node): Do not dump nest. | |
4597 | (cgraph_clone_edge): Do not take loop_nest argument; | |
4598 | do not propagate it; do not clone call_stmt_size/time. | |
4599 | (cgraph_clone_node): Likewise. | |
4600 | (cgraph_create_virtual_clone): Update. | |
4601 | * cgraph.h (struct cgraph_edge): Remove | |
4602 | call_stmt_size/call_stmt_time/loop_nest. | |
4603 | (cgraph_create_edge, cgraph_create_indirect_edge, | |
4604 | cgraph_create_edge_including_clones, cgraph_clone_node): Update | |
4605 | prototype. | |
4606 | * tree-emutls.c (gen_emutls_addr): Update. | |
4607 | * ipa-inline-transform.c (update_noncloned_frequencies): Do not handle | |
4608 | loop_nest; handle indirect calls, too. | |
4609 | (clone_inlined_nodes): Do not care about updating inline summaries. | |
4610 | * cgraphunit.c (cgraph_copy_node_for_versioning): Update. | |
4611 | * lto-cgraph.c (lto_output_edge, input_node, input_edge): Do not | |
4612 | stream call_stmt_size/call_stmt_time/loop_nest. | |
4613 | * ipa-inline.c (edge_badness): Update. | |
4614 | (ipa_inline): dump summaries after inlining. | |
4615 | * ipa-inline.h (struct inline_edge_summary, inline_edge_summary_t): | |
200eb7d2 | 4616 | New. |
898b8927 JH |
4617 | (inline_edge_summary): New function. |
4618 | * ipa-inline-analysis.c (edge_duplication_hook_holder): New holder. | |
4619 | (inline_edge_removal_hook): Handle edge summaries. | |
4620 | (inline_edge_duplication_hook): New hook. | |
4621 | (inline_summary_alloc): Alloc hooks. | |
4622 | (initialize_growth_caches): Do not register removal hooks. | |
4623 | (free_growth_caches); Do not free removal hook. | |
4624 | (dump_inline_edge_summary): New function. | |
4625 | (dump_inline_summary): Use it. | |
4626 | (estimate_function_body_sizes, estimate_edge_size_and_time): Update. | |
4627 | (inline_update_callee_summaries): New function. | |
4628 | (inline_merge_summary): Use it. | |
4629 | (do_estimate_edge_time, do_estimate_edge_growth): Update. | |
4630 | (read_inline_edge_summary): New function. | |
4631 | (inline_read_section): Use it. | |
4632 | (write_inline_edge_summary): New function. | |
4633 | (inline_write_summary): Use it. | |
4634 | (inline_free_summary): Free edge new holders. | |
4635 | * tree-inline.c (copy_bb): Update. | |
4636 | ||
ffa03772 JM |
4637 | 2011-04-26 Jason Merrill <jason@redhat.com> |
4638 | ||
4639 | * tree-eh.c (lower_try_finally_switch): Create the label along with | |
4640 | the CASE_LABEL_EXPR. | |
4641 | ||
6d7b45ad DM |
4642 | 2011-04-26 David S. Miller <davem@davemloft.net> |
4643 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
4644 | ||
4645 | * configure.ac (gcc_cv_as_sparc_gotdata_op): Specify alignment. | |
4646 | * configure: Regenerate. | |
4647 | ||
df10b6d4 MM |
4648 | 2011-04-26 Michael Meissner <meissner@linux.vnet.ibm.com> |
4649 | ||
4650 | PR target/48258 | |
4651 | * config/rs6000/vector.md (UNSPEC_REDUC): New unspec for vector | |
4652 | reduction. | |
4653 | (VEC_reduc): New code iterator and splitters for vector reduction. | |
4654 | (VEC_reduc_name): Ditto. | |
4655 | (VEC_reduc_rtx): Ditto. | |
4656 | (reduc_<VEC_reduc_name>_v2df): Vector reduction expanders for VSX. | |
4657 | (reduc_<VEC_reduc_name>_v4sf): Ditto. | |
4658 | ||
4659 | * config/rs6000/rs6000.c (rs6000_expand_vector_extract): Add | |
4660 | support for extracting SF on VSX. | |
4661 | ||
4662 | * config/rs6000/vsx.md (vsx_xscvspdp_scalar2): New insn for | |
4663 | generating xscvspdp. | |
4664 | (vsx_extract_v4sf): New insn to extract SF from V4SF vector. | |
4665 | (vsx_reduc_<VEC_reduc_name>_v2df): New insns and splitters for | |
4666 | double add, minimum, maximum vector reduction. | |
4667 | (vsx_reduc_<VEC_reduc_name>_v4sf): Ditto. | |
4668 | (vsx_reduc_<VEC_reduc_name>_v2df2_scalar): New combiner insn to | |
4669 | optimize double vector reduction. | |
4670 | (vsx_reduc_<VEC_reduc_name>_v4sf_scalar): Ditto. | |
4671 | ||
35a5db04 JM |
4672 | 2011-04-26 Joseph Myers <joseph@codesourcery.com> |
4673 | ||
4674 | * config/fr30/fr30.h (inhibit_libc): Don't define. | |
4675 | * config/m32r/m32r-protos.h: Correct comment. | |
4676 | * config/v850/v850.h (GHS_default_section_names, | |
4677 | GHS_current_section_names): Use tree, not union tree_node *. | |
4678 | ||
2f964ad6 XDL |
4679 | 2011-04-26 Xinliang David Li <davidxl@google.com> |
4680 | ||
200eb7d2 | 4681 | * tree-ssa-uninit.c (warn_uninitialized_phi): Pass warning code. |
2f964ad6 XDL |
4682 | * c-family/c-opts.c (c_common_handle_option): Set |
4683 | warn_maybe_uninitialized. | |
4684 | * opts.c (common_handle_option): Ditto. | |
4685 | * common.opt: New option. | |
4686 | * tree-ssa.c (warn_uninit): Add one more parameter. | |
4687 | (warn_uninitialized_var): Pass warning code. | |
4688 | * tree-flow.h: Interface change. | |
4689 | ||
9c7bd91a RO |
4690 | 2011-04-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4691 | ||
200eb7d2 | 4692 | * config/mips/iris6.h (LOCAL_LABEL_PREFIX): Don't test TARGET_NEWABI. |
9c7bd91a RO |
4693 | (WINT_TYPE_SIZE): Use INT_TYPE_SIZE. |
4694 | (TARGET_OS_CPP_BUILTINS): Remove TARGET_IRIX6 guards. | |
4695 | ||
c2f36e21 RO |
4696 | 2011-04-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4697 | ||
4698 | * config/mips/mips.h (DBX_OUTPUT_SOURCE_LINE): Remove. | |
4699 | * config/mips/mips.opt (mmips-tfile): Remove. | |
4700 | ||
4701 | * doc/install.texi (Specific, mips-*-*): Move mips-tfile, | |
4702 | mips-tdump reference to ... | |
200eb7d2 | 4703 | (Specific, alpha*-dec-osf5.1): ... here. Adapt for Tru64 UNIX. |
c2f36e21 RO |
4704 | * doc/trouble.texi (Cross-Compiler Problems): Replace MIPS |
4705 | reference by Tru64 UNIX. | |
4706 | ||
2c9da85b JJ |
4707 | 2011-04-26 Jakub Jelinek <jakub@redhat.com> |
4708 | ||
0c5f6539 JJ |
4709 | PR debug/48768 |
4710 | * tree-ssa.c (insert_debug_temp_for_var_def): If degenerate_phi_result | |
4711 | is error_mark_node, set value to NULL. | |
4712 | ||
2c9da85b JJ |
4713 | PR tree-optimization/48734 |
4714 | * tree-ssa-reassoc.c (eliminate_redundant_comparison): Give up | |
4715 | if return value from maybe_fold_*_comparsions isn't something | |
4716 | the code is prepared to handle. | |
4717 | ||
77fa1d54 UB |
4718 | 2011-04-26 Uros Bizjak <ubizjak@gmail.com> |
4719 | ||
4720 | * config/i386/predicates.md (ext_QIreg_operand): Remove extra | |
4721 | mode check. | |
4722 | (ext_QIreg_nomode_operands): Remove. | |
4723 | * config/i386/i386.md (*anddi_1): Use ext_QIreg_operand. | |
4724 | (*andsi_1): Ditto. | |
4725 | (*andhi_1): Ditto. | |
4726 | ||
0e2a6c2b AS |
4727 | 2011-04-26 Andrew Stubbs <ams@codesourcery.com> |
4728 | ||
4729 | * config/arm/arm.c (arm_gen_constant): Remove can_negate_initial. | |
4730 | ||
961562d8 RB |
4731 | 2011-04-26 Richard Guenther <rguenther@suse.de> |
4732 | ||
4733 | * c-typeck.c (build_unary_op): Do not expand array-refs via | |
4734 | pointer arithmetic. Only adjust qualifiers for function types. | |
4735 | ||
4736 | 2011-04-26 Richard Guenther <rguenther@suse.de> | |
4737 | ||
4738 | PR middle-end/48694 | |
4739 | * tree.h (OEP_CONSTANT_ADDRESS_OF): New operand_equal_flag. | |
4740 | * fold-const.c (operand_equal_p): For TREE_CONSTANT ADDR_EXPRs | |
77fa1d54 UB |
4741 | compare the operands with OEP_CONSTANT_ADDRESS_OF. Treat trees |
4742 | with TREE_SIDE_EFFECTS equal when OEP_CONSTANT_ADDRESS_OF is set. | |
961562d8 | 4743 | |
a0d260fc PC |
4744 | 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com> |
4745 | ||
6bec6c98 | 4746 | * doc/extend.texi: Document __underlying_type. |
a0d260fc | 4747 | |
4d583bb9 SB |
4748 | 2011-04-25 Segher Boessenkool <segher@kernel.crashing.org> |
4749 | ||
4750 | * config/rs6000/titan.md (automata_option "progress"): Remove. | |
4751 | ||
1f3fcdc3 JL |
4752 | 2011-04-25 Jeff Law <law@redhat.com> |
4753 | ||
4754 | * tree-vrp.c (identify_jump_threads): Handle GIMPLE_SWITCH too. | |
4755 | ||
e5b0dad8 JK |
4756 | 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
4757 | ||
4758 | * system.h (ENUM_BITFIELD): Remove. | |
4759 | ||
5157a881 | 4760 | 2011-04-25 Maxim Kuvyrkov <maxim@codesourcery.com> |
b15eacc7 | 4761 | Eric Botcazou <ebotcazou@adacore.com> |
5157a881 MK |
4762 | |
4763 | * combine.c (combine_simplify_rtx): Avoid mis-simplifying conditionals | |
4764 | for STORE_FLAG_VALUE==-1 case. | |
4765 | ||
ed4c109e RS |
4766 | 2011-04-24 Richard Sandiford <richard.sandiford@linaro.org> |
4767 | ||
4768 | PR target/43804 | |
4769 | * config/m68k/constraints.md (T): Allow PIC operands that satisfy | |
4770 | LEGITIMATE_PIC_OPERAND_P. | |
4771 | ||
f3181aa2 JH |
4772 | 2011-04-24 Jan Hubicka <jh@suse.cz> |
4773 | ||
4774 | * ipa-prop.c (ipa_propagate_indirect_call_infos): Remove obsolette | |
4775 | WPA hack. | |
77fa1d54 UB |
4776 | * ipa-prop.h (ipa_get_param, ipa_is_param_used, |
4777 | ipa_param_cannot_devirtualize_p, ipa_param_types_vec_empty, | |
4778 | ipa_get_ith_jump_func, ipa_get_lattice): Fortify array bounds. | |
f3181aa2 JH |
4779 | * ipa-inline-analysis.c (add_clause): Fix clause ordering. |
4780 | (and_predicates, or_predicates, predicates_equal_p, evaulate_predicate): | |
4781 | Sanity check predicate length. | |
4782 | (remap_predicate): Likewise; sanity check jump functions. | |
4783 | (inline_read_section, inline_write_summary): Sanity check | |
4784 | predicate length. | |
4785 | ||
5307cbaa PC |
4786 | 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
4787 | ||
4788 | PR other/48748 | |
4789 | * doc/extend.texi (Type Traits): Document __is_standard_layout, | |
4790 | __is_literal_type, and __is_trivial; update throughout about | |
4791 | possibly cv-qualified void types. | |
4792 | ||
bebd5f99 GP |
4793 | 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com> |
4794 | ||
4795 | * doc/sourcebuild.texi (Ada Tests): Adjust reference to ACATS | |
4796 | testsuite and make it version agnostic. | |
4797 | ||
7ee28a74 JH |
4798 | 2011-04-22 Jan Hubicka <jh@suse.cz> |
4799 | ||
4800 | * ipa-inline-analysis.c (inline_write_summary): Fix thinko. | |
4801 | ||
16997bc0 JJ |
4802 | 2011-04-23 Jakub Jelinek <jakub@redhat.com> |
4803 | ||
4804 | PR c/48685 | |
4805 | * fold-const.c (fold_convert_loc): Add NOP_EXPR when casting | |
4806 | to VOID_TYPE even around MODIFY_EXPR. | |
4807 | ||
f94d4ab1 MS |
4808 | 2011-04-22 Mike Stump <mikestump@comcast.net> |
4809 | ||
1a84c183 | 4810 | * gensupport.c (read_md_rtx): Fix typo in comment. |
f94d4ab1 MS |
4811 | * config/cris/cris.opt (moverride-best-lib-options): Fix typo in |
4812 | comment. | |
4813 | ||
632b4f8e JH |
4814 | 2011-04-22 Jan Hubicka <jh@suse.cz> |
4815 | ||
4816 | * gengtype.c (open_base_files): Add ipa-inline.h include. | |
77fa1d54 UB |
4817 | * ipa-cp.c (ipcp_get_lattice, ipcp_lattice_from_jfunc): Move to |
4818 | ipa-prop.c; update all uses. | |
632b4f8e | 4819 | * ipa-prop.c: (ipa_get_lattice, ipa_lattice_from_jfunc): ... here. |
77fa1d54 UB |
4820 | * ipa-inline-transform.c (inline_call): Use inline_merge_summary to |
4821 | merge summary of inlined function into former caller. | |
632b4f8e JH |
4822 | * ipa-inline.c (max_benefit): Remove. |
4823 | (edge_badness): Compensate for removal of benefits. | |
77fa1d54 UB |
4824 | (update_caller_keys): Use |
4825 | reset_node_growth_cache/reset_edge_growth_cache. | |
632b4f8e JH |
4826 | (update_callee_keys): Likewise. |
4827 | (update_all_callee_keys): Likewise. | |
77fa1d54 UB |
4828 | (inline_small_functions): Do not collect max_benefit; do not reset |
4829 | estimated_growth; call free_growth_caches and initialize_growth_caches. | |
4830 | * ipa-inline.h (struct condition, type clause_t, struct predicate, | |
4831 | struct size_time_entry): New structures. | |
632b4f8e | 4832 | (INLINE_SIZE_SCALE, INLINE_TIME_SCALE, MAX_CLAUSES): New constants. |
77fa1d54 UB |
4833 | (inline_summary): Remove size_inlining_benefit, time_inlining_benefit |
4834 | and estimated_growth. | |
632b4f8e JH |
4835 | (edge_growth_cache_entry): New structure. |
4836 | (node_growth_cache, edge_growth_cache): New global vars. | |
4837 | (estimate_growth): Turn into inline. | |
4838 | (inline_merge_summary, do_estimate_edge_growth, do_estimate_edge_time, | |
4839 | initialize_growth_caches, free_growth_caches): Declare. | |
4840 | (estimate_edge_growth): Rewrite. | |
4841 | (estimate_edge_time): Implement as inline cache lookup. | |
77fa1d54 UB |
4842 | (reset_node_growth_cache, reset_edge_growth_cache): New inline |
4843 | functions. | |
632b4f8e JH |
4844 | (MAX_TIME): Reduce to allow multiplicatoin by INLINE_SIZE_SCALE. |
4845 | (NUM_CONDITIONS): New constant. | |
4846 | (predicate_conditions): New enum. | |
4847 | (IS_NOT_CONSTANT): New constant. | |
4848 | (edge_removal_hook_holder): New var. | |
4849 | (node_growth_cache, edge_growth_cache): New global vars. | |
77fa1d54 UB |
4850 | (true_predicate, single_cond_predicate, false_predicate, |
4851 | not_inlined_predicate, add_condition, add_clause, and_predicates, | |
4852 | or_predicates, predicates_equal_p, evaulate_predicate, dump_condition, | |
4853 | dump_clause, dump_predicate, account_size_time, | |
632b4f8e JH |
4854 | evaulate_conditions_for_edge): New functions. |
4855 | (inline_summary_alloc): Move to heap. | |
4856 | (inline_node_removal_hook): Clear condition and entry vectors. | |
4857 | (inline_edge_removal_hook): New function. | |
4858 | (initialize_growth_caches, free_growth_caches): New function. | |
4859 | (dump_inline_summary): Update. | |
4860 | (edge_execution_predicate): New function. | |
4861 | (will_be_nonconstant_predicate): New function. | |
4862 | (estimate_function_body_sizes): Compute BB and constantness predicates. | |
4863 | (compute_inline_parameters): Do not clear estimated_growth. | |
4864 | (estimate_edge_size_and_time): New function. | |
4865 | (estimate_calls_size_and_time): New function. | |
4866 | (estimate_callee_size_and_time): New function. | |
4867 | (remap_predicate): New function. | |
4868 | (inline_merge_summary): New function. | |
4869 | (do_estimate_edge_time): New function based on... | |
4870 | (estimate_edge_time): ... this one. | |
4871 | (do_estimate_edge_growth): New function. | |
4872 | (do_estimate_growth): New function based on.... | |
4873 | (estimate_growth): ... this one. | |
4874 | (inline_analyze_function): Analyze after deciding on jump functions. | |
4875 | (inline_read_section): New function. | |
4876 | (inline_read_summary): Use it. | |
4877 | (inline_write_summary): Write all the new data. | |
4878 | * ipa-prop.c (ipa_get_param_decl_index): Export. | |
4879 | (ipa_lattice_from_jfunc): Move here from ipa-cp.c | |
77fa1d54 UB |
4880 | * ipa-prop.h (ipa_get_param_decl_index, ipa_lattice_from_jfunc): |
4881 | Declare. | |
4882 | (ipa_get_lattice): Move here from ipa-cp.c | |
632b4f8e JH |
4883 | * Makefile.in (GTFILES): Add ipa-inline.h and ipa-inline-analysis.c |
4884 | * params.def (PARAM_EARLY_INLINING_INSNS): Set to 11. | |
4885 | * cgraph.h (cgraph_clone_inlined_nodes, compute_inline_parameters, | |
4886 | cgraph_edge_inlinable_p): Remove. | |
4887 | * cgraphunit.c: Include ipainline.h | |
77fa1d54 UB |
4888 | (cgraph_process_new_functions): Update call of |
4889 | compute_inline_parameters. | |
632b4f8e | 4890 | |
1df5b0db RG |
4891 | 2011-04-22 Richard Guenther <rguenther@suse.de> |
4892 | ||
4893 | * tree.c (build_int_cst): Properly create canonicalized integer | |
4894 | constants. | |
4895 | (build_int_cst_type): Remove scary comments. | |
4896 | ||
ae01169c XDL |
4897 | 2011-04-22 Xinliang David Li <davidxl@google.com> |
4898 | ||
4899 | * toplev.c (process_options): Enable -Werror=coverage-mismatch | |
4900 | by default when -Wno-error is not specified. | |
4901 | * opts-global.c (decode_options): Remove call to | |
4902 | control_warning_options. | |
4903 | ||
93dfac24 JJ |
4904 | 2011-04-22 Jakub Jelinek <jakub@redhat.com> |
4905 | ||
4906 | PR tree-optimization/48717 | |
4907 | * tree-ssa-forwprop.c (associate_plusminus): For A + ~A and | |
4908 | ~A + A optimizations use build_int_cst_type instead of build_int_cst. | |
4909 | ||
1b5f5069 JM |
4910 | 2011-04-22 Joseph Myers <joseph@codesourcery.com> |
4911 | ||
4912 | * config/bfin/bfin-protos.h (Mmode): Don't define. Expand | |
4913 | definition where used. | |
4914 | ||
144f4153 JJ |
4915 | 2011-04-22 Jakub Jelinek <jakub@redhat.com> |
4916 | ||
4917 | PR c/48716 | |
4918 | * gimplify.c (gimplify_bind_expr): Mark as GOVD_LOCAL also | |
4919 | TREE_STATIC variables declared inside of some OpenMP construct. | |
4920 | ||
f9fd305b MJ |
4921 | 2011-04-22 Martin Jambor <mjambor@suse.cz> |
4922 | ||
4923 | PR middle-end/48585 | |
1d284ec5 | 4924 | * tree-inline.c (copy_bb): Create new edges only for analyzed nodes. |
f9fd305b | 4925 | |
49819fef AM |
4926 | 2011-04-22 Alexander Monakov <amonakov@ispras.ru> |
4927 | ||
4928 | PR c/36750 | |
4929 | * c-typeck.c (pop_init_level): Do not warn about initializing | |
4930 | with ` = {0}'. | |
4931 | ||
401f6699 AM |
4932 | 2011-04-22 Alan Modra <amodra@gmail.com> |
4933 | ||
4934 | * config/rs6000/rs6000.c (rs6000_function_arg): Remove CALL_LIBCALL | |
4935 | when returning call_cookie. | |
4936 | (rs6000_function_ok_for_sibcall): Allow sibcalls via function | |
4937 | pointers, to functions with no more vector args than the current | |
4938 | function, and some non-local calls for ABI_V4. | |
4939 | * config/rs6000/rs6000.md (sibcall_nonlocal_aix32, | |
4940 | sibcall_nonlocal_aix64): Combine to .. | |
4941 | (sibcall_nonlocal_aix<mode>): ..this. Handle function pointer calls. | |
4942 | (sibcall_value_nonlocal_aix32, sibcall_value_nonlocal_aix64): Combine.. | |
4943 | (sibcall_value_nonlocal_aix<mode>): ..likewise. | |
4944 | (*sibcall_nonlocal_sysv<mode>): Handle function pointer calls. | |
4945 | (sibcall_value_nonlocal_sysv<mode>): Likewise. Correct call cookie | |
4946 | operand. | |
4947 | * config/rs6000/darwin.md (sibcall_nonlocal_darwin64, | |
4948 | sibcall_value_nonlocal_darwin64, sibcall_symbolic_64, | |
4949 | sibcall_value_symbolic_64): Delete. | |
4950 | ||
903d1e67 XDL |
4951 | 2011-04-21 Xinliang David Li <davidxl@google.com> |
4952 | ||
4953 | * cgraph.h: Remove pid. | |
4954 | * cgraph.c: Remove pid. | |
4955 | * value-prof.c (init_node_map): New function. | |
4956 | (del_node_map): New function. | |
4957 | (find_func_by_funcdef_no): New function. | |
4958 | (gimple_ic_transform): Call new function. | |
4959 | * cgraphunit.c (cgraph_finalize_function): Remove pid. | |
4960 | * function.c (get_last_funcdef_no): New function. | |
4961 | * function.h (get_last_funcdef_no): New function. | |
4962 | * tree-profile.c (gimple_gen_ic_func_profiler): Pass funcdef_no | |
4963 | to libgcov function. | |
4964 | (tree-profiling): Call node map init and delete function. | |
4965 | ||
7378e95f ILT |
4966 | 2011-04-21 Ian Lance Taylor <iant@google.com> |
4967 | ||
4968 | * godump.c (go_format_type): Use exported Go name for anonymous | |
4969 | field name. | |
4970 | ||
e84a6fcf NF |
4971 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
4972 | ||
4973 | * config/frv/frv.c (frv_init_builtins): Delete `endlink' variable. | |
4974 | Call builtin_function_type_list instead of builtin_function_type. | |
4975 | (UNARY, BINARY, TRINARY, QUAD): Likewise. | |
4976 | ||
4fe058e2 NF |
4977 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
4978 | ||
4979 | * config/arm/arm.c (arm_init_iwmmxt_builtins): Call | |
4980 | build_function_type_list instead of build_function_type. | |
4981 | Delete variable `endlink'. | |
4982 | ||
1ba0a2d2 NF |
4983 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
4984 | ||
4985 | * config/s390/s390.c (s390_init_builtins): Call | |
4986 | build_function_type_list instead of build_function_type. | |
4987 | ||
c0676219 NF |
4988 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
4989 | ||
4990 | * config/ia64/ia64.c (ia64_init_builtins): Call | |
4991 | build_function_type_list instead of builtin_function_type. | |
4992 | ||
6ddfda8a ER |
4993 | 2011-04-21 Easwaran Raman <eraman@google.com> |
4994 | ||
3a6448ea | 4995 | * cfgexpand.c (stack_var): Remove OFFSET... |
6ddfda8a ER |
4996 | (add_stack_var): ...and its reference here... |
4997 | (expand_stack_vars): ...and here. | |
4998 | (stack_var_cmp): Sort by descending order of size. | |
4999 | (partition_stack_vars): Change heuristic. | |
1d284ec5 | 5000 | (union_stack_vars): Fix to reflect changes in partition_stack_vars. |
6ddfda8a ER |
5001 | (dump_stack_var_partition): Add newline after each partition. |
5002 | ||
23756963 DA |
5003 | 2011-04-21 Dimitrios Apostolou <jimis@gmx.net> |
5004 | Jeff Law <law@redhat.com> | |
5005 | ||
77fa1d54 | 5006 | * gengtype-state.c (read_a_state_token): Fix argument to obstack_free. |
23756963 DA |
5007 | * gengtype.c (matching_file_name_substitute): Likewise. |
5008 | ||
aa2a43d2 RG |
5009 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
5010 | ||
5011 | PR lto/48703 | |
1d284ec5 | 5012 | * tree.c (free_lang_data_in_decl): Do not zero TREE_TYPE of DECL_NAME. |
aa2a43d2 | 5013 | |
4d931f41 EB |
5014 | 2011-04-21 Eric Botcazou <ebotcazou@adacore.com> |
5015 | ||
5016 | * gimple.c (walk_gimple_op) <GIMPLE_CALL>: Fix couple of oversights. | |
5017 | ||
f103fa7a RG |
5018 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
5019 | ||
5020 | * Makefile.in (site.exp): Do not use tmp0 but site.tmp as temporary | |
5021 | file name. | |
5022 | ||
e19f6650 RG |
5023 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
5024 | ||
5025 | * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Handle | |
5026 | MEM_REF and TARGET_MEM_REF, do not care about INDIRECT_REFs. | |
5027 | Use DECL_P, not SSA_VAR_P. | |
5028 | (ptr_derefs_may_alias_p): Likewise. | |
5029 | (ptr_deref_may_alias_ref_p_1): Likewise. | |
5030 | (decl_refs_may_alias_p): Likewise. | |
5031 | (refs_may_alias_p_1): Likewise. | |
5032 | (ref_maybe_used_by_call_p_1): Likewise. | |
5033 | (call_may_clobber_ref_p_1): Likewise. | |
5034 | (indirect_ref_may_alias_decl_p): Assume indirect refrences | |
5035 | are either MEM_REF or TARGET_MEM_REF. | |
5036 | (indirect_refs_may_alias_p): Likewise. | |
5037 | * calls.c (emit_call_1): Build a MEM_REF instead of an INDIRECT_REF | |
5038 | for MEM_EXPR of indirect calls. | |
5039 | ||
9d1831bb TG |
5040 | 2011-04-21 Tristan Gingold <gingold@adacore.com> |
5041 | ||
5042 | * vmsdbgout.c (write_srccorr): Compute file length from the string. | |
5043 | (dst_file_info_struct): Remove flen field. | |
5044 | (lookup_filename): Remove code that set flen field. | |
5045 | ||
f199c029 TG |
5046 | 2011-04-21 Tristan Gingold <gingold@adacore.com> |
5047 | ||
5048 | * config/ia64/ia64.c (ia64_start_function): Add a guard. | |
5049 | ||
2894086e UB |
5050 | 2011-04-21 Uros Bizjak <ubizjak@gmail.com> |
5051 | ||
5052 | PR target/48708 | |
5053 | * config/i386/i386.c (ix86_expand_vector_set) <V2DImode>: Generate | |
5054 | vec_extract and vec_concat for non-SSE4_1 targets. | |
5055 | ||
53f94a5c RG |
5056 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
5057 | ||
5058 | * tree-ssa-alias.c (ref_maybe_used_by_stmt_p): Handle | |
5059 | return statements. | |
5060 | ||
f0dca5ba JM |
5061 | 2011-04-21 Joseph Myers <joseph@codesourcery.com> |
5062 | ||
5063 | * config/i386/cygming.h (union tree_node, TREE): Don't define or | |
5064 | undefine. | |
5065 | (FILE): Don't undefine. | |
5066 | ||
984514ac JM |
5067 | 2011-04-21 Joseph Myers <joseph@codesourcery.com> |
5068 | ||
5069 | * config/alpha/alpha.c (struct machine_function): Use rtx, not | |
5070 | struct rtx_def *. | |
5071 | * config/bfin/bfin.h (bfin_cc_rtx, bfin_rets_rtx): Use rtx, not | |
5072 | struct rtx_def *. | |
5073 | * config/cris/cris-protos.h (STDIO_INCLUDED): Don't define. | |
2894086e | 5074 | * config/h8300/h8300.h (struct cum_arg): Use rtx, not struct rtx_def *. |
984514ac JM |
5075 | * config/iq2000/iq2000.h (struct iq2000_args): Use rtx, not struct |
5076 | rtx_def *. | |
5077 | * config/m32c/m32c-protos.h (MM, UINT): Don't define. Expand | |
5078 | definitions where used. | |
5079 | * config/microblaze/microblaze.h (struct microblaze_args): Use | |
5080 | rtx, not struct rtx_def *. | |
5081 | * config/pa/pa-protos.h (return_addr_rtx): Use rtx, not struct | |
5082 | rtx_def *. | |
2894086e UB |
5083 | * config/pa/pa.h (hppa_pic_save_rtx): Use rtx, not struct rtx_def *. |
5084 | * config/pdp11/pdp11.h (cc0_reg_rtx): Use rtx, not struct rtx_def *. | |
984514ac JM |
5085 | * config/sh/sh-protos.h (sfunc_uses_reg, get_fpscr_rtx): Use rtx, |
5086 | not struct rtx_def *. | |
5087 | * config/sh/sh.h (sh_compare_op0, sh_compare_op1): Use rtx, not | |
5088 | struct rtx_def *. | |
5089 | * config/spu/spu-protos.h (spu_float_const): Use rtx, not struct | |
5090 | rtx_def *. | |
2894086e | 5091 | * config/spu/spu.c (spu_float_const): Use rtx, not struct rtx_def *. |
984514ac | 5092 | |
0b5a2724 RS |
5093 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
5094 | ||
5095 | * tree-vect-data-refs.c (vect_drs_dependent_in_basic_block): Use | |
5096 | operand_equal_p to compare DR_BASE_ADDRESSes. | |
5097 | (vect_check_interleaving): Likewise. | |
5098 | ||
4b18d683 RS |
5099 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
5100 | ||
5101 | PR target/46329 | |
5102 | * config/arm/arm.c (arm_legitimate_constant_p_1): Return false | |
5103 | for all Neon struct constants. | |
5104 | ||
1a627b35 RS |
5105 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
5106 | ||
5107 | * target.def (legitimate_constant_p): New hook. | |
5108 | * doc/tm.texi.in (LEGITIMATE_CONSTANT_P): Replace with... | |
5109 | (TARGET_LEGITIMATE_CONSTANT_P): ...this. | |
5110 | * doc/tm.texi: Regenerate. | |
5111 | * hooks.h (hook_bool_mode_rtx_true): Declare. | |
5112 | * hooks.c (hook_bool_mode_rtx_true): Define. | |
5113 | * system.h (LEGITIMATE_CONSTANT_P): Poison. | |
5114 | * calls.c (precompute_register_parameters): Replace uses of | |
5115 | LEGITIMATE_CONSTANT_P with targetm.legitimate_constant_p. | |
5116 | (emit_library_call_value_1): Likewise. | |
5117 | * expr.c (move_block_to_reg, can_store_by_pieces, emit_move_insn) | |
5118 | (compress_float_constant, emit_push_insn, expand_expr_real_1): Likewise. | |
5119 | * ira-costs.c (scan_one_insn): Likewise. | |
5120 | * recog.c (general_operand, immediate_operand): Likewise. | |
5121 | * reload.c (find_reloads_toplev, find_reloads_address_part): Likewise. | |
5122 | * reload1.c (init_eliminable_invariants): Likewise. | |
5123 | ||
5124 | * config/alpha/alpha-protos.h (alpha_legitimate_constant_p): Add a | |
5125 | mode argument. | |
5126 | * config/alpha/alpha.h (LEGITIMATE_CONSTANT_P): Delete. | |
5127 | * config/alpha/alpha.c (alpha_legitimate_constant_p): Add a mode | |
5128 | argument. | |
5129 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5130 | * config/alpha/predicates.md (input_operand): Update call to | |
5131 | alpha_legitimate_constant_p. | |
5132 | ||
5133 | * config/arm/arm-protos.h (arm_cannot_force_const_mem): Delete. | |
5134 | * config/arm/arm.h (ARM_LEGITIMATE_CONSTANT_P): Likewise. | |
5135 | (THUMB_LEGITIMATE_CONSTANT_P, LEGITIMATE_CONSTANT_P): Likewise. | |
5136 | * config/arm/arm.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5137 | (arm_legitimate_constant_p_1, thumb_legitimate_constant_p) | |
5138 | (arm_legitimate_constant_p): New functions. | |
5139 | (arm_cannot_force_const_mem): Make static. | |
5140 | ||
5141 | * config/avr/avr.h (LEGITIMATE_CONSTANT_P): Delete. | |
5142 | ||
5143 | * config/bfin/bfin-protos.h (bfin_legitimate_constant_p): Delete. | |
5144 | * config/bfin/bfin.h (LEGITIMATE_CONSTANT_P): Delete. | |
5145 | * config/bfin/bfin.c (expand_move): Use targetm.legitimate_constant_p | |
5146 | instead of bfin_legitimate_constant_p. | |
5147 | (bfin_legitimate_constant_p): Make static. Add a mode argument. | |
5148 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5149 | ||
5150 | * config/cris/cris.h (LEGITIMATE_CONSTANT_P): Delete. | |
5151 | ||
5152 | * config/fr30/fr30.h (LEGITIMATE_CONSTANT_P): Delete. | |
5153 | ||
5154 | * config/frv/frv-protos.h (frv_legitimate_constant_p): Delete. | |
5155 | * config/frv/frv.h (LEGITIMATE_CONSTANT_P): Delete. | |
5156 | * config/frv/frv.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5157 | (frv_legitimate_constant_p): Make static. Add a mode argument. | |
5158 | ||
5159 | * config/h8300/h8300-protos.h (h8300_legitimate_constant_p): Delete. | |
5160 | * config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Likewise. | |
5161 | * config/h8300/h8300.c (h8300_legitimate_constant_p): Likewise. | |
5162 | ||
5163 | * config/i386/i386-protos.h (legitimate_constant_p): Delete. | |
5164 | * config/i386/i386.h (LEGITIMATE_CONSTANT_P): Likewise. | |
5165 | * config/i386/i386.c (legitimate_constant_p): Rename to... | |
5166 | (ix86_legitimate_constant_p): ...this. Make static. Add a mode | |
5167 | argument. | |
5168 | (ix86_cannot_force_const_mem): Update accordingly. | |
5169 | (ix86_legitimate_address_p): Likewise. | |
5170 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5171 | * config/i386/i386.md: Update commentary. | |
5172 | ||
5173 | * config/ia64/ia64-protos.h (ia64_legitimate_constant_p): Delete. | |
5174 | * config/ia64/ia64.h (LEGITIMATE_CONSTANT_P): Likewise. | |
5175 | * config/ia64/ia64.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5176 | (ia64_legitimate_constant_p): Make static. Add a mode argument. | |
5177 | ||
5178 | * config/iq2000/iq2000.h (LEGITIMATE_CONSTANT_P): Delete. | |
5179 | ||
5180 | * config/lm32/lm32-protos.h (lm32_legitimate_constant_p): Delete. | |
5181 | * config/lm32/lm32.h (LEGITIMATE_CONSTANT_P): Likewise. | |
5182 | * config/lm32/lm32.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5183 | (lm32_legitimate_constant_p): Make static. Add a mode argument. | |
5184 | ||
5185 | * config/m32c/m32c-protos.h (m32c_legitimate_constant_p): Delete. | |
5186 | * config/m32c/m32c.h (LEGITIMATE_CONSTANT_P): Likewise. | |
5187 | * config/m32c/m32c.c (m32c_legitimate_constant_p): Likewise. | |
5188 | ||
5189 | * config/m32r/m32r.h (LEGITIMATE_CONSTANT_P): Delete. | |
5190 | * config/m32r/m32r.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5191 | (m32r_legitimate_constant_p): New function. | |
5192 | ||
5193 | * config/m68k/m68k-protos.h (m68k_legitimate_constant_p): Declare. | |
5194 | * config/m68k/m68k.h (CONSTANT_ADDRESS_P): Call it instead of | |
5195 | LEGITIMATE_CONSTANT_P. | |
5196 | (LEGITIMATE_CONSTANT_P): Delete. | |
5197 | * config/m68k/m68k.c (m68k_expand_prologue): Call | |
5198 | m68k_legitimate_constant_p instead of LEGITIMATE_CONSTANT_P. | |
5199 | (m68k_legitimate_constant_p): New function. | |
5200 | * config/m68k/m68k.md: Update comments. | |
5201 | ||
5202 | * config/mcore/mcore.h (LEGITIMATE_CONSTANT_P): Delete. | |
5203 | * config/mcore/mcore.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5204 | (mcore_legitimate_constant_p): New function. | |
5205 | ||
5206 | * config/mep/mep-protos.h (mep_legitimate_constant_p): Delete. | |
5207 | * config/mep/mep.h (LEGITIMATE_CONSTANT_P): Likewise. | |
5208 | * config/mep/mep.c (mep_legitimate_constant_p): Make static. | |
5209 | Add a mode argument. | |
5210 | (mep_legitimate_address): Update accordingly. | |
5211 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5212 | ||
5213 | * config/microblaze/microblaze-protos.h (microblaze_const_double_ok): | |
5214 | Delete. | |
5215 | * config/microblaze/microblaze.h (LEGITIMATE_CONSTANT_P): Likewise. | |
5216 | * config/microblaze/microblaze.c (microblaze_const_double_ok): Make | |
5217 | static. Check OP's mode for VOIDmode. | |
5218 | (microblaze_legitimate_constant_p): New function. | |
5219 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5220 | ||
5221 | * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Delete. | |
5222 | * config/mips/mips.c (mips_legitimate_constant_p): New function. | |
5223 | (mips_cannot_force_const_mem): Use it instead of LEGITIMATE_CONSTANT_P. | |
5224 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5225 | * config/mips/predicates.md: Update comments. | |
5226 | ||
5227 | * config/mmix/mmix-protos.h (mmix_legitimate_constant_p): Delete. | |
5228 | * config/mmix/mmix.h (LEGITIMATE_CONSTANT_P): Likewise. | |
5229 | * config/mmix/mmix.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5230 | (mmix_legitimate_constant_p): Make static, return a bool, and take | |
5231 | a mode argument. | |
5232 | (mmix_print_operand_address): Update accordingly. | |
5233 | ||
5234 | * config/mn10300/mn10300-protos.h (mn10300_legitimate_constant_p): | |
5235 | Delete. | |
5236 | * config/mn10300/mn10300.h (LEGITIMATE_CONSTANT_P): Likewise. | |
2894086e UB |
5237 | * config/mn10300/mn10300.c (mn10300_legitimate_constant_p): Make |
5238 | static. Add a mode argument. | |
1a627b35 RS |
5239 | (TARGET_LEGITIMATE_CONSTANT_P): Define. |
5240 | ||
5241 | * config/moxie/moxie.h (LEGITIMATE_CONSTANT_P): Delete. | |
5242 | ||
5243 | * config/pa/pa.h (LEGITIMATE_CONSTANT_P): Delete. | |
5244 | * config/pa/pa.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5245 | (pa_legitimate_constant_p): New function. | |
5246 | ||
5247 | * config/picochip/picochip.h (LEGITIMATE_CONSTANT_P): Delete. | |
5248 | ||
5249 | * config/pdp11/pdp11.h (LEGITIMATE_CONSTANT_P): Delete. | |
5250 | * config/pdp11/pdp11.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5251 | (pdp11_legitimate_constant_p): New function. | |
5252 | ||
5253 | * config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Delete. | |
5254 | * config/rs6000/rs6000.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5255 | (rs6000_legitimate_constant_p): New function. | |
5256 | ||
5257 | * config/rx/rx-protos.h (rx_is_legitimate_constant): Replace with... | |
5258 | (rx_legitimate_constant_p): ...this. | |
5259 | * config/rx/rx.h (LEGITIMATE_CONSTANT_P): Delete. | |
5260 | * config/rx/rx.c (rx_is_legitimate_constant): Replace with... | |
5261 | (rx_legitimate_constant_p): ...this. | |
5262 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5263 | * config/rx/rx.md (mov<register_modes:mode>): Update accordingly. | |
5264 | ||
5265 | * config/s390/s390-protos.h (legitimate_constant_p): Delete. | |
5266 | * config/s390/s390.h (LEGITIMATE_CONSTANT_P): Likewise. | |
5267 | * config/s390/s390.c (legitimate_constant_p): Rename to... | |
5268 | (s390_legitimate_constant_p): ...this. Make static, return a bool, | |
5269 | and add a mode argument. | |
5270 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5271 | ||
5272 | * config/score/score.h (LEGITIMATE_CONSTANT_P): Delete. | |
5273 | ||
5274 | * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Delete. | |
5275 | * config/sh/sh.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5276 | (sh_legitimate_constant_p): New function. | |
5277 | ||
5278 | * config/sparc/sparc-protos.h (legitimate_constant_p): Delete. | |
5279 | * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Delete. | |
5280 | * config/sparc/sparc.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5281 | (legitimate_constant_p): Rename to... | |
5282 | (sparc_legitimate_constant_p): ...this. Make static. Add a mode | |
5283 | argument. | |
5284 | (constant_address_p): Update accordingly. | |
5285 | ||
5286 | * config/spu/spu-protos.h (spu_legitimate_constant_p): Add a mode | |
5287 | argument and return a bool. | |
5288 | * config/spu/spu.h (LEGITIMATE_CONSTANT_P): Delete. | |
5289 | * config/spu/spu.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5290 | (spu_legitimate_constant_p): Add a mode argument and return a bool. | |
5291 | (spu_rtx_costs): Update accordingly. | |
5292 | * config/spu/predicates.md (vec_imm_operand): Likewise. | |
5293 | ||
5294 | * config/stormy16/stormy16.h (LEGITIMATE_CONSTANT_P): Delete. | |
5295 | ||
5296 | * config/v850/v850.h (LEGITIMATE_CONSTANT_P): Delete. | |
5297 | * config/v850/v850.c (v850_legitimate_constant_p): New function. | |
5298 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5299 | ||
5300 | * config/vax/vax-protos.h (legitimate_constant_p): Delete. | |
5301 | * config/vax/vax.h (LEGITIMATE_CONSTANT_P): Likewise. | |
5302 | * config/vax/vax.c (legitimate_constant_p): Likewise. | |
5303 | ||
5304 | * config/xtensa/xtensa.h (LEGITIMATE_CONSTANT_P): Delete. | |
5305 | * config/xtensa/xtensa.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
5306 | (xtensa_legitimate_constant_p): New function. | |
5307 | ||
fbbf66e7 RS |
5308 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
5309 | ||
5310 | * target.def (cannot_force_const_mem): Add a mode argument. | |
5311 | * doc/tm.texi.in (TARGET_CANNOT_FORCE_CONST_MEM): Update accordingly. | |
5312 | * doc/tm.texi: Regenerate. | |
5313 | * hooks.h (hook_bool_mode_rtx_false): Declare. | |
5314 | * hooks.c (hook_bool_mode_const_rtx_false): Fix commentary. | |
5315 | (hook_bool_mode_const_rtx_true): Likewise. | |
5316 | (hook_bool_mode_rtx_false): New function. | |
5317 | * reload.c (CONST_POOL_OK_P): Take a mode argument and require it | |
5318 | to be non-VOID. Update call to cannot_force_const_mem. | |
5319 | (find_reloads): Update accordingly. | |
5320 | * varasm.c (force_const_mem): Update call to cannot_force_const_mem. | |
5321 | * config/alpha/alpha.c (alpha_cannot_force_const_mem): Add a mode | |
5322 | argument. | |
5323 | * config/arm/arm-protos.h (arm_cannot_force_const_mem): Likewise. | |
5324 | * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Update call. | |
5325 | * config/arm/arm.c (arm_cannot_force_const_mem): Add a mode argument. | |
5326 | * config/bfin/bfin.c (bfin_cannot_force_const_mem): Likewise. | |
5327 | * config/frv/frv.c (frv_cannot_force_const_mem): Likewise. | |
5328 | * config/i386/i386.c (ix86_cannot_force_const_mem): Likewise. | |
5329 | * config/ia64/ia64.c (ia64_cannot_force_const_mem): Likewise. | |
5330 | * config/m68k/m68k.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine to... | |
5331 | (m68k_cannot_force_const_mem): ...this new function. | |
5332 | * config/mips/mips.c (mips_cannot_force_const_mem): Add a mode | |
5333 | argument. | |
5334 | (mips_const_insns, mips_legitimize_const_move): Update calls. | |
5335 | (mips_secondary_reload_class): Likewise. | |
5336 | * config/pa/pa.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine to... | |
5337 | (pa_cannot_force_const_mem): ...this new function. | |
2894086e | 5338 | * config/rs6000/rs6000.c (TARGET_CANNOT_FORCE_CONST_MEM): Reefine to... |
fbbf66e7 RS |
5339 | (rs6000_cannot_force_const_mem): ...this new function. |
5340 | * config/s390/s390.c (s390_cannot_force_const_mem): Add a mode | |
5341 | argument. | |
5342 | * config/sparc/sparc.c (sparc_cannot_force_const_mem): Likewise. | |
5343 | * config/xtensa/xtensa.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine | |
5344 | to... | |
5345 | (xtensa_cannot_force_const_mem): ...this new function. | |
5346 | ||
b861891b NF |
5347 | 2011-04-20 Nathan Froyd <froydnj@codesourcery.com> |
5348 | ||
5349 | * config/mips/mips.c (mips16_build_function_stub): Call | |
5350 | build_function_type_list instead of build_function_type. | |
5351 | (mips16_build_call_stub): Likewise. | |
5352 | ||
34149ed5 NF |
5353 | 2011-04-20 Nathan Froyd <froydnj@codesourcery.com> |
5354 | ||
5355 | * config/mep/mep.c (mep_init_builtins): Call build_function_type_list | |
5356 | instead of build_function_type. | |
5357 | ||
12526412 NF |
5358 | 2011-04-20 Nathan Froyd <froydnj@codesourcery.com> |
5359 | ||
5360 | * config/pa/pa.c (pa_init_builtins): Call build_function_type_list | |
5361 | instead of build_function_type. | |
5362 | ||
3b84d61f UB |
5363 | 2011-04-20 Uros Bizjak <ubizjak@gmail.com> |
5364 | ||
5365 | PR target/48678 | |
5366 | * config/i386/i386.md (insv): Change operand 0 constraint to | |
5367 | "register_operand". Change operand 1 and 2 constraint to | |
5368 | "const_int_operand". Expand to pinsr{b,w,d,q} * when appropriate. | |
5369 | * config/i386/sse.md (sse4_1_pinsrb): Export. | |
5370 | (sse2_pinsrw): Ditto. | |
5371 | (sse4_1_pinsrd): Ditto. | |
5372 | (sse4_1_pinsrq): Ditto. | |
5373 | * config/i386/i386-protos.h (ix86_expand_pinsr): Add prototype. | |
5374 | * config/i386/i386.c (ix86_expand_pinsr): New. | |
5375 | ||
4a25752b ER |
5376 | 2011-04-20 Easwaran Raman <eraman@google.com> |
5377 | ||
5378 | * cfgexpand.c (add_alias_set_conflicts): Add conflicts with a variable | |
5379 | containing union type only with -fstrict-aliasing. | |
5380 | ||
04695783 JM |
5381 | 2011-04-20 Jim Meyering <meyering@redhat.com> |
5382 | ||
5383 | Remove useless if-before-free tests. | |
5384 | * calls.c (expand_call, save_area): Likewise. | |
5385 | * cfgcleanup.c (try_forward_edges): Likewise. | |
5386 | * collect2.c (collect_execute): Likewise. | |
5387 | * config/i386/i386.c (ix86_valid_target_attribute_tree): Likewise. | |
5388 | * config/mcore/mcore.c (mcore_expand_prolog): Likewise. | |
5389 | * coverage.c (coverage_checksum_string): Likewise. | |
5390 | * cse.c (init_cse_reg_info, delete_trivially_dead_insns): Likewise. | |
5391 | * cselib.c (cselib_init): Likewise. | |
5392 | * df-core.c (rest_of_handle_df_finish, df_analyze): Likewise. | |
5393 | (df_set_clean_cfg): Likewise. | |
5394 | * function.c (free_after_compilation): Likewise. | |
5395 | * gcc.c (do_spec_1, main): Likewise. | |
5396 | * gcov.c (create_file_names): Likewise. | |
5397 | * gensupport.c (identify_predicable_attribute): Likewise. | |
5398 | * graphite-clast-to-gimple.c (save_clast_name_index): Likewise. | |
5399 | * graphite-sese-to-poly.c (free_data_refs_aux): Likewise. | |
5400 | * haifa-sched.c (haifa_finish_h_i_d): Likewise. | |
5401 | * ipa-prop.c (ipa_free_node_params_substructures): Likewise. | |
5402 | * ipa-pure-const.c (local_pure_const): Likewise. | |
5403 | * ipa-reference.c (propagate): Likewise. | |
5404 | * ira-costs.c (free_ira_costs): Likewise. | |
5405 | * ira.c (free_register_move_costs, build_insn_chain): Likewise. | |
5406 | * matrix-reorg.c (mat_free): Likewise. | |
5407 | * prefix.c (get_key_value): Likewise. | |
5408 | * profile.c (compute_value_histograms): Likewise. | |
5409 | * reload1.c (free_reg_equiv): Likewise. | |
5410 | * sched-deps.c (free_deps): Likewise. | |
5411 | * sel-sched-ir.c (fence_clear): Likewise. | |
5412 | * sese.c (set_rename, if_region_set_false_region): Likewise. | |
5413 | * tree-data-ref.c (free_rdg): Likewise. | |
5414 | * tree-eh.c (lower_try_finally): Likewise. | |
5415 | * tree-ssa-coalesce.c (delete_coalesce_list): Likewise. | |
5416 | * tree-ssa-live.c (delete_var_map): Likewise. | |
5417 | * tree-ssa-loop-ivopts.c (free_loop_data): Likewise. | |
5418 | * tree-ssa-pre.c (phi_trans_add): Likewise. | |
5419 | ||
6788475a JJ |
5420 | 2011-04-20 Jakub Jelinek <jakub@redhat.com> |
5421 | ||
5422 | PR tree-optimization/48611 | |
5423 | * tree-eh.c (note_eh_region_may_contain_throw): Don't propagate | |
5424 | beyond ERT_MUST_NOT_THROW region. | |
5425 | ||
0eda4033 CM |
5426 | 2011-04-20 Catherine Moore <clm@codesourcery.com> |
5427 | ||
5428 | * config/mips/mips.opt (mfix-24k): New. | |
5429 | * config/mips/mips.h (ASM_SPEC): Handle -mfix-24k. | |
5430 | * config/mips/mips.md (length): Increase by 4 for stores if | |
5431 | fixing 24K errata. | |
5432 | * config/mips/mips.c (mips_reorg_process_insns): Do not allow | |
5433 | all noreorder if fixing 24K errata. | |
5434 | * doc/invoke.texi: Document mfix-24k. | |
5435 | ||
01475747 CLT |
5436 | 2011-04-20 Chung-Lin Tang <cltang@codesourcery.com> |
5437 | ||
5438 | * config/arm/arm.c (arm_legitimize_reload_address): For NEON | |
2894086e | 5439 | quad-word modes, reduce to 9-bit index range when above 1016 limit. |
01475747 | 5440 | |
bc2c1a60 AS |
5441 | 2011-04-20 Andrew Stubbs <ams@codesourcery.com> |
5442 | ||
5443 | * config/arm/arm.c (arm_gen_constant): Move movw support .... | |
5444 | (const_ok_for_op): ... to here. | |
5445 | ||
583722ee KT |
5446 | 2011-04-20 Kai Tietz <ktietz@redhat.com> |
5447 | ||
2894086e UB |
5448 | * fold-const.c (fold_binary_loc): Add handling for (X & ~Y) | (~X & Y) |
5449 | and (X && !Y) | (!X && Y) optimization to (X ^ Y). | |
583722ee | 5450 | |
422c0989 AS |
5451 | 2011-04-20 Andrew Stubbs <ams@codesourcery.com> |
5452 | ||
5453 | * config/arm/arm.c (arm_gen_constant): Remove redundant can_invert. | |
5454 | ||
d7978bff RG |
5455 | 2011-04-20 Richard Guenther <rguenther@suse.de> |
5456 | ||
5457 | PR tree-optimization/47892 | |
5458 | * tree-if-conv.c (if_convertible_stmt_p): Const builtins | |
5459 | are if-convertible. | |
5460 | ||
818412ba EB |
5461 | 2011-04-20 Eric Botcazou <ebotcazou@adacore.com> |
5462 | ||
5463 | * config/alpha/vms.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not redefine. | |
5464 | ||
b501ce4e TG |
5465 | 2011-04-20 Tristan Gingold <gingold@adacore.com> |
5466 | ||
5467 | * config/alpha/vms.h (LINK_SPEC): Do not use vms-dwarf2.o for gnu-ld. | |
5468 | ||
516edfdd GJL |
5469 | 2011-04-20 Georg-Johann Lay <avr@gjlay.de> |
5470 | ||
5471 | PR target/18145 | |
5472 | ||
5473 | * config/avr/avr.h (TARGET_ASM_INIT_SECTIONS): Delete. | |
5474 | (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete. | |
5475 | (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. | |
5476 | (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Define. | |
5477 | (TARGET_ASM_NAMED_SECTION): Change to avr_asm_named_section. | |
5478 | ||
5479 | * config/avr/avr-protos.h (avr_asm_output_aligned_common): | |
5480 | New prototype. | |
5481 | ||
5482 | * config/avr/avr.c (TARGET_ASM_INIT_SECTIONS): Define. | |
5483 | (avr_asm_named_section, avr_asm_output_aligned_common, | |
5484 | avr_output_data_section_asm_op, avr_output_bss_section_asm_op): | |
5485 | New functions to update... | |
5486 | (avr_need_clear_bss_p, avr_need_copy_data_p): ...these new variables. | |
5487 | (avr_asm_init_sections): Overwrite section callbacks for | |
5488 | data_section, bss_section. | |
5489 | (avr_file_start): Move output of __do_copy_data, __do_clear_bss | |
5490 | from here to... | |
5491 | (avr_file_end): ...here. | |
5492 | ||
dafc9511 RG |
5493 | 2011-04-20 Richard Guenther <rguenther@suse.de> |
5494 | ||
5495 | PR middle-end/48695 | |
5496 | * tree-ssa-alias.c (aliasing_component_refs_p): Compute base | |
2894086e | 5497 | objects and types here. Adjust for their offset before comparing. |
dafc9511 | 5498 | |
1da0876c RS |
5499 | 2011-04-20 Richard Sandiford <richard.sandiford@linaro.org> |
5500 | ||
5501 | * tree-vect-stmts.c (vectorizable_store): Only chain one related | |
5502 | statement per copy. | |
5503 | ||
25583c4f RS |
5504 | 2011-04-20 Richard Sandiford <richard.sandiford@linaro.org> |
5505 | ||
5506 | * Makefile.in (INTERNAL_FN_DEF, INTERNAL_FN_H): Define. | |
5507 | (GIMPLE_H): Include $(INTERNAL_FN_H). | |
5508 | (OBJS-common): Add internal-fn.o. | |
5509 | (internal-fn.o): New rule. | |
5510 | * internal-fn.def: New file. | |
5511 | * internal-fn.h: Likewise. | |
5512 | * internal-fn.c: Likewise. | |
5513 | * gimple.h: Include internal-fn.h. | |
5514 | (GF_CALL_INTERNAL): New gf_mask. | |
5515 | (gimple_statement_call): Put fntype into a union with a new | |
5516 | internal_fn field. | |
5517 | (gimple_build_call_internal): Declare. | |
5518 | (gimple_build_call_internal_vec): Likewise. | |
5519 | (gimple_call_same_target_p): Likewise. | |
5520 | (gimple_call_internal_p): New function. | |
5521 | (gimple_call_internal_fn): Likewise. | |
5522 | (gimple_call_fntype): Return null for internal calls. | |
5523 | (gimple_call_set_fntype): Assert that the function is not internal. | |
5524 | (gimple_call_set_fn): Likewise. | |
5525 | (gimple_call_set_fndecl): Likewise. | |
5526 | (gimple_call_set_internal_fn): New function. | |
5527 | (gimple_call_addr_fndecl): Handle null functions. | |
5528 | (gimple_call_return_type): Likewise null types. | |
5529 | * gimple.c (gimple_build_call_internal_1): New function. | |
5530 | (gimple_build_call_internal): Likewise. | |
5531 | (gimple_build_call_internal_vec): Likewise. | |
5532 | (gimple_call_same_target_p): Likewise. | |
5533 | (gimple_call_flags): Handle calls to internal functions. | |
5534 | (gimple_call_fnspec): New function. | |
5535 | (gimple_call_arg_flags, gimple_call_return_flags): Use it. | |
5536 | (gimple_has_side_effects): Handle null functions. | |
5537 | (gimple_rhs_has_side_effects): Likewise. | |
5538 | (gimple_call_copy_skip_args): Handle calls to internal functions. | |
5539 | * cfgexpand.c (expand_call_stmt): Likewise. | |
5540 | * expr.c (expand_expr_real_1): Assert that the call isn't internal. | |
5541 | * gimple-fold.c (gimple_fold_call): Handle null functions. | |
5542 | (gimple_fold_stmt_to_constant_1): Don't fold | |
5543 | calls to internal functions. | |
5544 | * gimple-low.c (gimple_check_call_args): Handle calls to internal | |
5545 | functions. | |
5546 | * gimple-pretty-print.c (dump_gimple_call): Likewise. | |
5547 | * ipa-prop.c (ipa_analyze_call_uses): Handle null functions. | |
5548 | * tree-cfg.c (verify_gimple_call): Handle calls to internal functions. | |
5549 | (do_warn_unused_result): Likewise. | |
5550 | * tree-eh.c (same_handler_p): Use gimple_call_same_target_p. | |
5551 | * tree-ssa-ccp.c (ccp_fold_stmt): Handle calls to internal functions. | |
5552 | * tree-ssa-dom.c (hashable_expr): Use the gimple statement to record | |
5553 | the target of a call. | |
5554 | (initialize_hash_element): Update accordingly. | |
5555 | (hashable_expr_equal_p): Use gimple_call_same_target_p. | |
5556 | (iterative_hash_hashable_expr): Handle calls to internal functions. | |
5557 | (print_expr_hash_elt): Likewise. | |
5558 | * tree-ssa-pre.c (can_value_number_call): Likewise. | |
5559 | (eliminate): Handle null functions. | |
5560 | * tree-ssa-sccvn.c (visit_use): Handle calls to internal functions. | |
5561 | * tree-ssa-structalias.c (get_fi_for_callee): Likewise. | |
5562 | (find_func_aliases): Likewise. | |
5563 | * value-prof.c (gimple_ic_transform): Likewise. | |
5564 | (gimple_indirect_call_to_profile): Likewise. | |
5565 | * lto-streamer-in.c (input_gimple_stmt): Likewise. | |
5566 | * lto-streamer-out.c (output_gimple_stmt): Likewise. | |
5567 | ||
1a3118e9 JH |
5568 | 2011-04-19 Jan Hubicka <jh@suse.cz> |
5569 | ||
5570 | * ipa-inline-transform.c (save_inline_function_body): Add comments. | |
9d12f71a EB |
5571 | * ipa-inline.c (inline_small_functions): Compute summaries first, |
5572 | populate heap later. | |
1a3118e9 | 5573 | |
fee8b6da JH |
5574 | 2011-04-19 Jan Hubicka <jh@suse.cz> |
5575 | ||
5576 | * cgraph.h (save_inline_function_body): Remove. | |
5577 | * ipa-inline-transform.c: New file, broke out of... | |
5578 | * ipa-inline.c: ... this one; Update toplevel comment. | |
5579 | (ncalls_inlined, nfunctions_inlined): Move to ipa-inline-transform.c; | |
5580 | make global. | |
5581 | (update_noncloned_frequencies): Move to ipa-inline-transform.c | |
5582 | (cgraph_mark_inline_edge): Rename to inline_call; move to | |
5583 | ipa-inline-transform.c. | |
5584 | (cgraph_clone_inlined_nodes): Rename to clone_inlined_nodes; | |
5585 | move to ipa-inline-transform.c | |
5586 | (recursive_inlining, inline_small_functions, flatten_function, | |
5587 | ipa_inline, inline_always_inline_functions, | |
5588 | early_inline_small_functions): Update. | |
5589 | (inline_transform): Move to ipa-inline-transform.c. | |
5590 | * ipa-inline.h (inline_call, inline_transform, clone_inlined_nodes): | |
5591 | Declare. | |
5592 | * Makefile.in (ipa-inline-transform.o): New file. | |
5593 | * cgraphunit.c (save_inline_function_body): Move to | |
5594 | ipa-inline-transform.c | |
5595 | ||
f0679612 DD |
5596 | 2011-04-19 DJ Delorie <dj@redhat.com> |
5597 | ||
5598 | * config/m32c/m32c.c (m32c_emit_epilogue): Don't try to push | |
5599 | registers if we already know there aren't any. | |
5600 | (m32c_emit_epilogue): Don't emit a barrier here. | |
5601 | (m32c_emit_eh_epilogue): Likewise. | |
5602 | * config/m32c/blkmov.md (movstr): Don't fail on wrong-type | |
5603 | operands at expand time. | |
5604 | * config/m32c/m32c.h (WCHAR_TYPE_SIZE): Change to 4 to match "long | |
5605 | int" wchar type. | |
5606 | (REG_CLASS_CONTENTS, reg_class, REG_CLASS_NAMES): Remove | |
5607 | duplicates. Provide aliases instead. | |
5608 | * config/m32c/prologue.md (eh_return): Emit a barrier here. | |
5609 | (eh_epilogue): Add a "(return)" here as a hint to other parts of | |
5610 | the compiler. | |
5611 | ||
32257ddc AS |
5612 | 2011-04-19 Anatoly Sokolov <aesok@post.ru> |
5613 | ||
5614 | * config/sparc/sparc.h (GENERAL_OR_I64, REGISTER_MOVE_COST): Remove. | |
5615 | * config/sparc/sparc.c (TARGET_REGISTER_MOVE_COST): Define. | |
5616 | (general_or_i64_p, sparc_register_move_cost): New function. | |
5617 | ||
60bea929 RO |
5618 | 2011-04-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5619 | ||
5620 | * doc/install.texi (Configuration, --enable-threads): Remove mach. | |
3b84d61f | 5621 | Add lynx, mipssde. Sort table. |
60bea929 | 5622 | |
444b3995 | 5623 | 2011-04-19 Xinliang David Li <davidxl@google.com> |
3b84d61f | 5624 | |
9d12f71a EB |
5625 | * ipa-cp.c (ipcp_update_profiling): Assert that scale_completement is |
5626 | not negative. | |
444b3995 | 5627 | |
d708ce50 JJ |
5628 | 2011-04-19 Jakub Jelinek <jakub@redhat.com> |
5629 | ||
5630 | PR target/48678 | |
5631 | * config/i386/i386.md (movstrict<mode>): FAIL if operands[0] | |
5632 | is a SUBREG with non-MODE_INT mode inside of it. | |
5633 | ||
49c471e3 MJ |
5634 | 2011-04-19 Martin Jambor <mjambor@suse.cz> |
5635 | ||
5636 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): Devirtualize | |
5637 | also according to actual contants. | |
5638 | * gimple-fold.c (gimple_extract_devirt_binfo_from_cst): New function. | |
5639 | (gimple_fold_call): Use it. | |
5640 | * gimple.h (gimple_extract_devirt_binfo_from_cst): Declare. | |
5641 | ||
0004f992 MJ |
5642 | 2011-04-19 Martin Jambor <mjambor@suse.cz> |
5643 | ||
5644 | * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Return false for scalar | |
5645 | non-pointer assignments. | |
5646 | ||
40591473 MJ |
5647 | 2011-04-19 Martin Jambor <mjambor@suse.cz> |
5648 | ||
5649 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): Take into | |
5650 | account anc_offset and otr_type from the indirect edge info. | |
5651 | * ipa-prop.c (get_ancestor_addr_info): New function. | |
5652 | (compute_complex_ancestor_jump_func): Assignment analysis moved to | |
5653 | get_ancestor_addr_info, call it. | |
5654 | (ipa_note_param_call): Do not initialize information about polymorphic | |
5655 | calls, return the indirect call graph edge. Remove the last | |
5656 | parameter, adjust all callers. | |
5657 | (ipa_analyze_virtual_call_uses): Process also calls to ancestors of | |
5658 | parameters. Initialize polymorphic information in the indirect edge. | |
5659 | ||
abe36b81 EB |
5660 | 2011-04-19 Eric Botcazou <ebotcazou@adacore.com> |
5661 | ||
5662 | PR lto/48148 | |
5663 | * gimple.c (gimple_types_compatible_p_1) <ENUMERAL_TYPE>: Do not merge | |
5664 | the types if they have different enumeration identifiers. | |
5665 | ||
e6416b30 JH |
5666 | 2011-04-19 Jan Hubicka <jh@suse.cz> |
5667 | ||
5668 | * cgraph.h (cgraph_optimize_for_size_p): Declare. | |
5669 | * ipa-cp.c (ipcp_insert_stage): Use cgraph_optimize_for_size_p. | |
5670 | * predict.c (cgraph_optimize_for_size_p): Break out from ... | |
5671 | (optimize_function_for_size_p) ... here. | |
5672 | ||
d39132ea RG |
5673 | 2011-04-19 Richard Guenther <rguenther@suse.de> |
5674 | ||
5675 | PR lto/48207 | |
5676 | * tree.c (free_lang_data): Do not reset the decl-assembler-name | |
5677 | langhook. | |
5678 | ||
ff7037dc EB |
5679 | 2011-04-19 Eric Botcazou <ebotcazou@adacore.com> |
5680 | ||
5681 | * tree-inline.c (expand_call_inline): Do not issue a -Winline warning | |
5682 | if DECL_NO_INLINE_WARNING_P is set on the function. | |
5683 | ||
c1ee2892 BS |
5684 | 2011-04-19 Bernd Schmidt <bernds@codesourcery.com> |
5685 | ||
5686 | PR fortran/47976 | |
5687 | * reload1.c (inc_for_reload): Return void. All callers changed. | |
5688 | (emit_input_reload_insns): Don't try to delete previous output | |
5689 | reloads to a register, or record spill_reg_store for autoincs. | |
fbb20b29 BS |
5690 | |
5691 | 2011-04-19 Basile Starynkevitch <basile@starynkevitch.net> | |
5692 | ||
5693 | * gengtype.h: Updated copyright year. | |
5694 | (struct input_file_st): Add inpisplugin field. | |
5695 | (type_fileloc): New function. | |
5696 | * gengtype.c | |
5697 | (write_typed_struct_alloc_def): Add gcc_assert. | |
5698 | (write_typed_alloc_defns): Ditto. Don't output for plugin files. | |
5699 | (write_typed_alloc_defns): Don't output for plugin files. | |
5700 | (input_file_by_name): Clear inpisplugin field. | |
5701 | (main): Set inpisplugin field for plugin files. | |
5702 | ||
897e0a89 NP |
5703 | 2011-04-19 Nicola Pero <nicola.pero@meta-innovation.com> |
5704 | ||
5705 | * gengtype-state.c (string_eq): New. | |
5706 | (read_state): Use string_eq instead of strcmp when creating the | |
5707 | state_ident_tab. | |
5708 | ||
363ee90e WG |
5709 | 2011-04-19 Wei Guozhi <carrot@google.com> |
5710 | ||
5711 | PR target/47855 | |
5712 | * config/arm/arm-protos.h (thumb1_legitimate_address_p): New prototype. | |
5713 | * config/arm/arm.c (thumb1_legitimate_address_p): Remove the static | |
5714 | linkage. | |
5715 | * config/arm/constraints.md (Uu): New constraint. | |
5716 | * config/arm/arm.md (*arm_movqi_insn): Compute attr "length". | |
5717 | ||
18a24fed TG |
5718 | 2011-04-19 Tristan Gingold <gingold@adacore.com> |
5719 | ||
5720 | * config.gcc (-*-*-*vms): Added. | |
5721 | (alpha64-dec-*vms*,alpha*-dec-*vms*, ia64-hp-*vms*): Common | |
5722 | definitions moved. | |
5723 | * config/vms/vms-ld.c: New file. | |
5724 | * config/vms/vms-ar.c: New file. | |
5725 | * config/vms/t-vmsnative: New file. | |
5726 | ||
1c13f168 XDL |
5727 | 2011-04-18 Xinliang David Li <davidxl@google.com> |
5728 | ||
5729 | * final.c (dump_basic_block_info): Use ASM_COMMENT_START. | |
5730 | ||
84825707 JJ |
5731 | 2011-04-18 Jakub Jelinek <jakub@redhat.com> |
5732 | ||
5733 | PR middle-end/48661 | |
5734 | * gimple-fold.c (gimple_get_virt_method_for_binfo): Return NULL | |
5735 | if TREE_TYPE (v) is non-NULL. | |
5736 | ||
5737 | * gimple-fold.c (gimple_get_virt_method_for_binfo): Renamed from | |
5738 | gimple_get_virt_mehtod_for_binfo. | |
5739 | * gimple.h (gimple_get_virt_method_for_binfo): Likewise. | |
5740 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): Adjust | |
5741 | callers. | |
5742 | * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise. | |
5743 | ||
7d4f8d02 | 5744 | 2011-04-18 Michael Matz <matz@suse.de> |
7254cb57 MM |
5745 | Steve Ellcey <sje@cup.hp.com> |
5746 | ||
7d4f8d02 EB |
5747 | * expr.c (expand_expr_real_2) <CASE_CONVERT>: If OP0 is a constant, |
5748 | use its mode as source mode if it isn't VOIDmode. | |
7254cb57 | 5749 | |
474e8e70 DCR |
5750 | 2011-04-18 Dennis, CHENG Renquan <crquan@fedoraproject.org> |
5751 | ||
5752 | * doc/passes.texi: Fill crossref nodes. | |
5753 | ||
cff41484 JM |
5754 | 2011-04-18 Jim Meyering <meyering@redhat.com> |
5755 | ||
7d4f8d02 | 5756 | Fix doubled-word typos in comments and strings |
cff41484 JM |
5757 | * config/alpha/vms-unwind.h: s/for for/for/ |
5758 | * config/arm/unwind-arm.h: Likewise. | |
5759 | * config/microblaze/microblaze.c: Likewise. | |
5760 | * config/sh/constraints.md: s/in in/in/ | |
5761 | * tree-cfg.c (verify_types_in_gimple_reference): Likewise. | |
5762 | ||
f60c2554 UB |
5763 | 2011-04-18 Uros Bizjak <ubizjak@gmail.com> |
5764 | ||
5765 | * config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): Remove. | |
5766 | (AVX_FLOAT_MODE_P): Ditto. | |
5767 | (AVX128_VEC_FLOAT_MODE_P): Ditto. | |
5768 | (AVX256_VEC_FLOAT_MODE_P): Ditto. | |
5769 | (AVX_VEC_FLOAT_MODE_P): Ditto. | |
5770 | * config/i386/i386.md (UNSPEC_MASKLOAD): Remove. | |
5771 | (UNSPEC_MASKSTORE): Ditto. | |
5772 | * config/i386/sse.md (<sse>_movmsk<ssemodesuffix><avxmodesuffix>): | |
5773 | Merge from <sse>_movmsk<ssemodesuffix> and | |
5774 | avx_movmsk<ssemodesuffix>256. Use VF mode iterator. | |
5775 | (*sse2_maskmovdqu): Merge with *sse2_maskmovdqu_rex64. Use P mode | |
5776 | iterator. | |
5777 | (avx_maskload<ssemodesuffix><avxmodesuffix>): New expander. | |
5778 | (avx_maskstore<ssemodesuffix><avxmodesuffix>): Ditto. | |
5779 | (*avx_maskmov<ssemodesuffix><avxmodesuffix>): New insn. | |
5780 | ||
09a2806f JH |
5781 | 2011-04-18 Jan Hubicka <jh@suse.cz> |
5782 | ||
8a8dccb2 JH |
5783 | * ipa-inline.c (inline_small_functions): Fix pasto in previous patch. |
5784 | ||
09a2806f JH |
5785 | * ipa-inline.c: Fix comment typos; do not inline gt-ipa-inline.h |
5786 | (want_inline_function_called_once_p): Break out the logic from | |
5787 | ipa_inline. | |
5788 | (edge_badness): Ensure that profile is not misupdated. | |
5789 | (lookup_recursive_calls): Prioritize by call frequencies. | |
5790 | (inline_small_functions): Move program size estimates here; | |
5791 | actually process whole queue even when unit growth has been | |
5792 | met. (to properly compute inline_failed reasons and for the | |
f60c2554 | 5793 | case unit size decrease.) Revisit comments on recursive inlining. |
09a2806f JH |
5794 | (ipa_inline): Remove unit summary code; first inline hot calls |
5795 | of functions called once, cold calls next. | |
5796 | (order, nnodes): Remove unused variables. | |
5797 | * Makefile.in (ipa-inline.o): No longer depent on ggc files. | |
5798 | (GTFILES): Remove ipa-inline.c | |
5799 | * sel-sched.c (fill_insns): Silence uninitialized var warning. | |
5800 | ||
3eea52ef EB |
5801 | 2011-04-18 Eric Botcazou <ebotcazou@adacore.com> |
5802 | ||
5803 | * dwarf2out.c (is_redundant_typedef): Add 'inline' to prototype. | |
5804 | ||
229a1c59 | 5805 | 2011-04-18 Jie Zhang <jie@codesourcery.com> |
3eea52ef | 5806 | Richard Earnshaw <rearnsha@arm.com> |
229a1c59 JZ |
5807 | |
5808 | * arm.c (neon_builtin_type_bits): Remove. | |
5809 | (typedef enum neon_builtin_mode): New. | |
5810 | (T_MAX): Don't define. | |
5811 | (typedef enum neon_builtin_datum): Remove bits, codes[], | |
5812 | num_vars and base_fcode. Add mode, code and fcode. | |
5813 | (VAR1, VAR2, VAR3, VAR4, VAR5, VAR6, VAR7, VAR8, VAR9 | |
5814 | VAR10): Change accordingly. | |
5815 | (neon_builtin_data[]): Change accordingly | |
5816 | (arm_init_neon_builtins): Change accordingly. | |
5817 | (neon_builtin_compare): Remove. | |
5818 | (locate_neon_builtin_icode): Remove. | |
5819 | (arm_expand_neon_builtin): Change accordingly. | |
5820 | ||
5821 | * arm.h (enum arm_builtins): Move to ... | |
5822 | * arm.c (enum arm_builtins): ... here; and rearrange builtin code. | |
5823 | ||
5824 | * arm.c (arm_builtin_decl): Declare. | |
5825 | (TARGET_BUILTIN_DECL): Define. | |
5826 | (enum arm_builtins): Correct ARM_BUILTIN_MAX. | |
5827 | (arm_builtin_decls[]): New. | |
5828 | (arm_init_neon_builtins): Store builtin declarations in | |
5829 | arm_builtin_decls[]. | |
5830 | (arm_init_tls_builtins): Likewise. | |
5831 | (arm_init_iwmmxt_builtins): Likewise. Refactor initialization code. | |
5832 | (arm_builtin_decl): New. | |
5833 | ||
75e802cc RG |
5834 | 2011-04-18 Richard Guenther <rguenther@suse.de> |
5835 | ||
5836 | * tree.c (upper_bound_in_type): Build properly canonicalized | |
5837 | INTEGER_CSTs. | |
5838 | (lower_bound_in_type): Likewise. | |
5839 | ||
3b45a007 RG |
5840 | 2011-04-18 Richard Guenther <rguenther@suse.de> |
5841 | ||
5842 | * gimple.h (gimple_call_addr_fndecl): New function. | |
5843 | (gimple_call_fndecl): Use it. | |
5844 | * gimple-fold.c (gimple_fold_call): Fold away OBJ_TYPE_REFs | |
5845 | for direct calls. | |
5846 | * tree-ssa-ccp.c (ccp_fold_stmt): Remove OBJ_TYPE_REF folding. | |
5847 | * tree-ssa-pre.c (eliminate): Also simplify indirect OBJ_TYPE_REFs. | |
5848 | ||
d25a79ea RG |
5849 | 2011-04-18 Richard Guenther <rguenther@suse.de> |
5850 | ||
5851 | PR middle-end/48650 | |
5852 | * tree.c (build_string): STRING_CST is now derived from tree_typed. | |
5853 | ||
7d5fc814 EB |
5854 | 2011-04-18 Eric Botcazou <ebotcazou@adacore.com> |
5855 | ||
5856 | PR lto/48492 | |
5857 | * cfgexpand.c (expand_debug_expr) <VAR_DECL>: Return NULL for a | |
5858 | DECL_IN_CONSTANT_POOL without RTL. | |
5859 | ||
7e7cfcf6 UW |
5860 | 2011-04-18 Ulrich Weigand <ulrich.weigand@linaro.org> |
5861 | Ira Rosen <ira.rosen@linaro.org> | |
5862 | ||
5863 | PR target/48252 | |
5864 | * config/arm/arm.c (neon_emit_pair_result_insn): Swap arguments | |
5865 | to match neon_vzip/vuzp/vtrn_internal. | |
5866 | * config/arm/neon.md (neon_vtrn<mode>_internal): Make both | |
5867 | outputs explicitly dependent on both inputs. | |
5868 | (neon_vzip<mode>_internal, neon_vuzp<mode>_internal): Likewise. | |
5869 | ||
49eab32e JJ |
5870 | 2011-04-18 Jakub Jelinek <jakub@redhat.com> |
5871 | ||
5872 | PR tree-optimization/48616 | |
5873 | * tree-vect-stmts.c (vectorizable_shift): If SLP, determine | |
5874 | whether the shift is by scalar or vector based on whether all SLP | |
5875 | scalar stmts have the same rhs. | |
5876 | ||
e54170f4 CLT |
5877 | 2011-04-17 Chung-Lin Tang <cltang@codesourcery.com> |
5878 | ||
5879 | * config/arm/arm.c (neon_struct_mem_operand): Support POST_INC/PRE_DEC | |
5880 | memory operands. | |
5881 | ||
b14ee6c9 RS |
5882 | 2011-04-17 Richard Sandiford <rdsandiford@googlemail.com> |
5883 | ||
269e0e18 | 5884 | PR target/43700 |
b14ee6c9 RS |
5885 | * config/mips/mips.c (mips_cfun_call_saved_reg_p): Handle global |
5886 | registers. | |
5887 | ||
10158cd3 JH |
5888 | 2011-04-17 Jan Hubicka <jh@suse.cz> |
5889 | ||
5890 | * cgrpah.h (struct cgraph_node): Remove finalized_by_frontend. | |
7d5fc814 EB |
5891 | * cgrpahunit.c (cgraph_finalize_function): Do not set |
5892 | finalized_by_frontend. | |
10158cd3 JH |
5893 | * lto-cgraph.c (lto_output_node, input_overwrite_node): Do not stream |
5894 | finalized_by_frontend. | |
5895 | ||
2e9bb6ba JH |
5896 | 2011-04-17 Jan Hubicka <jh@suse.cz> |
5897 | ||
5898 | * cgraph.c (cgraph_clone_node): Do not handle vtable_method | |
5899 | * cgraph.h (struct cgraph_local_info): Drop vtable_method. | |
5900 | * cgraphunit.c (cgraph_copy_node_for_versioning): Drop vtable_method. | |
7d5fc814 EB |
5901 | * lto-cgraph.c (lto_output_node, input_overwrite_node): Drop vtable |
5902 | method. | |
2e9bb6ba JH |
5903 | * gimple-fold.c (can_refer_decl_in_current_unit_p): Mention PR20991 in |
5904 | gimple-fold.c | |
5905 | * varasm.c (mark_decl_referenced): Drop vtable_method handling code. | |
5906 | ||
beb628e1 EB |
5907 | 2011-04-17 Eric Botcazou <ebotcazou@adacore.com> |
5908 | ||
5909 | PR lto/48538 | |
5910 | * lto-cgraph.c (merge_profile_summaries): Check that lto_file_data | |
5911 | is non-null before accessing it. | |
5912 | (input_cgraph): Remove trailing spaces. | |
5913 | ||
3e2fdd24 RE |
5914 | 2011-04-17 Revital Eres <revital.eres@linaro.org> |
5915 | ||
5916 | * params.def (sms-min-sc): New param flag. | |
5917 | * modulo-sched.c (sms_schedule): Use it. | |
5918 | * doc/invoke.texi (sms-min-sc): Document it. | |
5919 | ||
4c0f7679 JH |
5920 | 2011-04-17 Jan Hubicka <jh@suse.cz> |
5921 | ||
5922 | * lto-symtab.c (lto_cgraph_replace_node): When call statement is | |
5923 | present, also set gimple_call_set_cannot_inline. | |
5924 | * ipa-inline.c: Update toplevel comment. | |
5925 | (MAX_TIME): Remove. | |
5926 | (cgraph_clone_inlined_nodes): Fix linebreaks. | |
5927 | (cgraph_check_inline_limits): Restructure to ... | |
5928 | (caller_growth_limits): ... this one; be more tolerant | |
5929 | on growth in nested inline chains; add explanatory comment; | |
5930 | fix stack accounting thinko introduced by previous patch. | |
5931 | (cgraph_default_inline_p): Remove. | |
5932 | (report_inline_failed_reason): New function. | |
5933 | (can_inline_edge_p): New function. | |
5934 | (can_early_inline_edge_p): New function. | |
5935 | (leaf_node_p): Move upwards in file. | |
5936 | (want_early_inline_function_p): New function. | |
5937 | (want_inline_small_function_p): New function. | |
5938 | (want_inline_self_recursive_call_p): New function. | |
5939 | (cgraph_edge_badness): Rename to ... | |
5940 | (edge_badness) ... this one; fix linebreaks. | |
5941 | (update_edge_key): Update call of edge_baddness; add | |
5942 | detailed dump about queue updates. | |
5943 | (update_caller_keys): Use can_inline_edge_p and | |
5944 | want_inline_small_function_p. | |
5945 | (cgraph_decide_recursive_inlining): Rename to... | |
5946 | (recursive_inlining): Use can_inline_edge_p and | |
f60c2554 UB |
5947 | want_inline_self_recursive_call_p; simplify and remove no longer |
5948 | valid FIXME. | |
4c0f7679 JH |
5949 | (cgraph_set_inline_failed): Remove. |
5950 | (add_new_edges_to_heap): Use can_inline_edge_p and | |
5951 | want_inline_small_function_p. | |
5952 | (cgraph_decide_inlining_of_small_functions): Rename to ... | |
5953 | (inline_small_functions): ... this one; cleanup; use | |
f60c2554 UB |
5954 | can/want predicates; cleanup debug ouput; work edges till fibheap |
5955 | is exhausted and do not stop once unit growth is reached; remove | |
5956 | later loop processing remaining edges. | |
4c0f7679 JH |
5957 | (cgraph_flatten): Rename to ... |
5958 | (flatten_function): ... this one; use can_inline_edge_p | |
5959 | and can_early_inline_edge_p predicates. | |
5960 | (cgraph_decide_inlining): Rename to ... | |
5961 | (ipa_inline): ... this one; remove unreachable nodes before | |
5962 | inlining functions called once; simplify the pass. | |
5963 | (cgraph_perform_always_inlining): Rename to ... | |
5964 | (inline_always_inline_functions): ... this one; use | |
f60c2554 | 5965 | DECL_DISREGARD_INLINE_LIMITS; use can_inline_edge_p predicate. |
4c0f7679 JH |
5966 | (cgraph_decide_inlining_incrementally): Rename to ... |
5967 | (early_inline_small_functions): ... this one; simplify | |
5968 | using new predicates; cleanup; make dumps prettier. | |
5969 | (cgraph_early_inlining): Rename to ... | |
5970 | (early_inliner): newer inline regular functions into always-inlines; | |
5971 | fix updating of call stmt summaries. | |
5972 | (pass_early_inline): Update for new names. | |
5973 | (inline_transform): Fix formating. | |
5974 | (gate_cgraph_decide_inlining): Rename to ... | |
5975 | (pass_ipa_inline): ... this one. | |
5976 | * ipa-inline.h (inline_summary): Remove disregard_inline_limits. | |
5977 | * ipa-inline-analysis.c (dump_inline_summary): Update. | |
5978 | (compute_inline_parameters): Do not compute disregard_inline_limits; | |
5979 | look for mismatching arguments. | |
5980 | (estimate_growth): Fix handlig of non-trivial self recursion. | |
5981 | (inline_read_summary): Do not read info->disregard_inline_limits. | |
5982 | (inline_write_summary): Do not write info->disregard_inline_limits. | |
beb628e1 EB |
5983 | * tree-inline.c (inline_forbidden_into_p, tree_can_inline_p): Remove |
5984 | and move all checks into can_inline_edge_p predicate; re-enable code | |
5985 | comparing optimization levels. | |
4c0f7679 JH |
5986 | (expand_call_inline): Do not test inline_forbidden_into_p. |
5987 | * Makefile.in (ipa-inline.o): Update arguments. | |
5988 | ||
54333b7c RE |
5989 | 2011-04-17 Revital Eres <revital.eres@linaro.org> |
5990 | ||
5991 | * ddg.c (free_ddg_all_sccs): Free sccs field in struct ddg_all_sccs. | |
5992 | ||
42c2bf92 RE |
5993 | 2011-04-17 Revital Eres <revital.eres@linaro.org> |
5994 | ||
5995 | * modulo-sched.c (sms_schedule): Avoid unfreed memory when SMS fails. | |
5996 | ||
b183e9e0 MM |
5997 | 2011-04-17 Michael Matz <matz@suse.de> |
5998 | ||
5999 | PR tree-optimization/48622 | |
6000 | PR lto/48645 | |
6001 | * ipa-inline-analysis.c (inline_read_summary): Read size/time | |
6002 | in same order as they're written. | |
6003 | ||
b8a17fa2 JDA |
6004 | 2011-04-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6005 | ||
6006 | * config/pa/predicates.md: Reorganize and simplify predicates. | |
6007 | Eliminate duplicate code checks. | |
6008 | (arith_operand): Rename to arith14_operand | |
6009 | (reg_or_ior_operand): Rename to reg_or_cint_ior_operand. | |
6010 | * config/pa/pa.md: Use renamed operands. | |
6011 | * config/pa/pa-protos.h (symbolic_operand): Delete declaration. | |
6012 | (tls_symbolic_operand, function_label_operand, lhs_lshift_cint_operand, | |
6013 | arith11_operand, adddi3_operand, indexed_memory_operand, | |
6014 | symbolic_memory_operand, int11_operand, reg_or_cint_move_operand, | |
6015 | arith5_operand, uint5_operand, pic_label_operand, plus_xor_ior_operator, | |
6016 | borx_reg_operand, shadd_operand, arith_operand, read_only_operand, | |
6017 | move_dest_operand, move_src_operand, prefetch_cc_operand, | |
6018 | prefetch_nocc_operand, and_operand, ior_operand, arith32_operand, | |
6019 | uint32_operand, reg_before_reload_operand, reg_or_0_operand, | |
6020 | reg_or_0_or_nonsymb_mem_operand, pre_cint_operand, post_cint_operand, | |
6021 | div_operand, int5_operand, movb_comparison_operator, | |
6022 | ireg_or_int5_operand, call_operand_address, ior_operand, fp_reg_operand, | |
6023 | arith_double_operand, ireg_operand, lhs_lshift_operand, | |
6024 | pc_or_label_operand, non_hard_reg_operand, eq_neq_comparison_operator, | |
6025 | integer_store_memory_operand): Likewise. | |
6026 | * config/pa/pa.c (adddi3_operand): Move to predicates.md. | |
6027 | (integer_store_memory_operand, read_only_operand, | |
6028 | function_label_operand, borx_reg_operand, | |
6029 | non_hard_reg_operand): Likewise. | |
6030 | (eq_neq_comparison_operator): Delete unused operator. | |
6031 | (legitimize_pic_address): Use VOIDmode for mode argument in calls to | |
6032 | function_label_operand. | |
6033 | (emit_move_sequence): Likewise. | |
6034 | ||
8dfb9f16 UB |
6035 | 2011-04-16 Uros Bizjak <ubizjak@gmail.com> |
6036 | ||
6037 | * config/i386/sse.md (sseunpackmode): New mode attribute. | |
6038 | (ssepackmode): Ditto. | |
6039 | (vec_pack_trunc_<mode>): Macroize expander from | |
6040 | vec_pack_trunc_{v8hi,v4si,v2di} using VI248_128 mode iterator. | |
6041 | (vec_unpacks_lo_<mode>): Macroize expander from | |
6042 | vec_unpacks_lo_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
6043 | (vec_unpacks_hi_<mode>): Macroize expander from | |
6044 | vec_unpacks_hi_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
6045 | (vec_unpacku_lo_<mode>): Macroize expander from | |
6046 | vec_unpacku_lo_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
6047 | (vec_unpacku_hi_<mode>): Macroize expander from | |
6048 | vec_unpacks_hi_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
6049 | * config/i386/i386.c (ix86_expand_sse_unpack): Merge with | |
6050 | ix86_expand_sse4_unpack. | |
6051 | * config/i386/i386-protos.h (ix86_expand_sse4_unpack): Remove. | |
6052 | ||
e7f23018 JH |
6053 | 2011-04-16 Jan Hubicka <jh@suse.cz> |
6054 | ||
6055 | * cgraphbuild.c: Include ipa-inline.h. | |
6056 | (reset_inline_failed): Use initialize_inline_failed. | |
6057 | * cgraph.c: Include ipa-inline.h. | |
6058 | (cgraph_create_node_1): Do not initialize estimated_growth. | |
6059 | (initialize_inline_failed): More to ipa-inline-analysis.c | |
6060 | (dump_cgraph_node): Do not dump inline flags. | |
6061 | * cgraph.h (cgraph_local_info): Remove inlineable, versionable | |
6062 | and disregard_inline_limits flags. | |
6063 | (cgrpah_global_info): Remove estimated_stack_size, stack_frame_offset, | |
6064 | time, size, estimated_growth. | |
8dfb9f16 UB |
6065 | * ipa-cp.c (ipcp_versionable_function_p, ipcp_generate_summary): |
6066 | Update. | |
e7f23018 JH |
6067 | * cgraphunit.c (cgraph_decide_is_function_needed): Use |
6068 | DECL_DISREGARD_INLINE_LIMITS. | |
6069 | (cgraph_analyze_function): Do not initialize | |
6070 | node->local.disregard_inline_limits. | |
6071 | * lto-cgraph.c (lto_output_node, input_overwrite_node): Do not stream | |
6072 | inlinable, versionable and disregard_inline_limits. | |
6073 | * ipa-inline.c (cgraph_clone_inlined_nodes, cgraph_mark_inline_edge, | |
8dfb9f16 UB |
6074 | cgraph_check_inline_limits, cgraph_default_inline_p, |
6075 | cgraph_edge_badness, update_caller_keys, update_callee_keys, | |
6076 | add_new_edges_to_heap): Update. | |
6077 | (cgraph_decide_inlining_of_small_function): Update; set | |
6078 | CIF_FUNCTION_NOT_INLINABLE for uninlinable functions. | |
e7f23018 JH |
6079 | (cgraph_decide_inlining, cgraph_edge_early_inlinable_p, |
6080 | cgraph_decide_inlining_incrementally): Update. | |
8dfb9f16 UB |
6081 | * ipa-inline.h (inline_summary): Add inlinable, versionable, |
6082 | disregard_inline_limits, estimated_stack_size, stack_frame_offset, | |
6083 | time, size and estimated_growth parameters. | |
e7f23018 JH |
6084 | (estimate_edge_growth): Update. |
6085 | (initialize_inline_failed): Declare. | |
6086 | * ipa-split.c: Include ipa-inline.h | |
6087 | (execute_split_functions): Update. | |
6088 | * ipa.c (cgraph_postorder): Use DECL_DISREGARD_INLINE_LIMITS. | |
6089 | (cgraph_remove_unreachable_nodes): Do not clear inlinable flag. | |
6090 | (record_cdtor_fn): Use DECL_DISREGARD_INLINE_LIMITS. | |
6091 | * ipa-inline-analysis.c (inline_node_removal_hook): Update; set | |
6092 | estimated_growth to INT_MIN. | |
6093 | (inline_node_duplication_hook): Likewise. | |
6094 | (dump_inline_summary): Dump new fields. | |
6095 | (compute_inline_parameters): Update. | |
6096 | (estimate_edge_time, estimate_time_after_inlining, | |
6097 | estimate_size_after_inlining, estimate_growth, inline_read_summary, | |
6098 | inline_write_summary): | |
6099 | (initialize_inline_failed): Move here from cgraph.c. | |
6100 | * tree-sra.c: Include ipa-inline.h. | |
6101 | (ipa_sra_preliminary_function_checks): Update. | |
f60c2554 UB |
6102 | * Makefile.in (cgraph.o, cgraphbuild.o): Add dependency on |
6103 | ipa-inline.h. | |
e7f23018 | 6104 | |
e81b8564 UB |
6105 | 2011-04-16 Uros Bizjak <ubizjak@gmail.com> |
6106 | ||
6107 | * config/i386/sse.md (V16): New mode iterator. | |
6108 | (VI1, VI8): Ditto. | |
6109 | (AVXMODEQI, AVXMODEDI): Remove. | |
6110 | (sse2, sse3): New mode attribute. | |
6111 | (mov<mode>): Use V16 mode iterator. | |
6112 | (*mov<mode>_internal): Merge with *avx_mov<mode>_internal. | |
6113 | (push<mode>1): Use V16 mode iterator. | |
6114 | (movmisalign<mode>): Ditto. | |
6115 | (<sse>_movu<ssemodesuffix><avxmodesuffix>): Merge from | |
6116 | <sse>_movu<ssemodesuffix> and avx_movu<ssemodesuffix><avxmodesuffix>. | |
6117 | (*<sse>_movu<ssemodesuffix><avxmodesuffix>): Merge from | |
6118 | *<sse>_movu<ssemodesuffix> and *avx_movu<ssemodesuffix><avxmodesuffix>. | |
6119 | (<sse2>_movdqu<avxmodesuffix>): Merge from sse2_movdqu and | |
6120 | avx_movdqu<avxmodesuffix>. | |
6121 | (*<sse2>_movdqu<avxmodesuffix>): Merge from *sse2_movdqu and | |
6122 | *avx_movdqu<avxmodesuffix>. | |
6123 | (<sse3>_lddqu<avxmodesuffix>) Merge from sse3_lddqu and | |
6124 | avx_lddqu<avxmodesuffix>. | |
6125 | (<sse>_movnt<mode>): Merge with avx_movnt<AVXMODEF2P:mode>. | |
6126 | (<sse2>_movnt<mode>): Merge from sse2_movntv2di and | |
6127 | avx_movnt<AVXMODEDI:mode>. | |
6128 | * config/i386/i386.c (ix86_expand_vector_move_misalign): Update for | |
6129 | renamed sse_movups, sse2_movupd and sse2_movdqu patterns. | |
6130 | ||
4743d438 BS |
6131 | 2011-04-16 Bernd Schmidt <bernds@codesourcery.com> |
6132 | ||
6133 | PR target/48629 | |
6134 | * haifa-sched.c (prune_ready_list, schedule_block): Use | |
6135 | sched_pressure_p rather than flag_sched_pressure. | |
6136 | ||
748f7574 | 6137 | 2011-04-15 Pat Haugen <pthaugen@us.ibm.com> |
eb229cf4 PH |
6138 | |
6139 | * config/rs6000/rs6000.c (call_ABI_of_interest): Call | |
6140 | cgraph_get_node instead of cgraph_get_create_node. | |
6141 | ||
2ba172e0 JJ |
6142 | 2011-04-15 Jakub Jelinek <jakub@redhat.com> |
6143 | ||
6144 | * cfgexpand.c (expand_debug_expr): Use | |
6145 | simplify_gen_{unary,binary,ternary} instead of gen_rtx_*. | |
6146 | ||
63d2a353 MM |
6147 | 2011-04-15 Michael Matz <matz@suse.de> |
6148 | ||
6149 | * tree.h (ALLOCA_FOR_VAR_P): Rename to CALL_ALLOCA_FOR_VAR_P. | |
6150 | * builtins.c (expand_builtin): Use CALL_ALLOCA_FOR_VAR_P. | |
6151 | * function.c (gimplify_parameters): Ditto. | |
6152 | * gimplify.c (gimplify_vla_decl): Ditto. | |
6153 | ||
6154 | * gimple.h (enum gf_mask): Add GF_CALL_ALLOCA_FOR_VAR. | |
6155 | (gimple_call_set_alloca_for_var): New inline function. | |
6156 | (gimple_call_alloca_for_var_p): Ditto. | |
e81b8564 UB |
6157 | * gimple.c (gimple_build_call_from_tree): Remember |
6158 | CALL_ALLOCA_FOR_VAR_P state. | |
63d2a353 MM |
6159 | * cfgexpand.c (expand_call_stmt): Restore CALL_ALLOCA_FOR_VAR_P state. |
6160 | ||
6161 | * tree-inline.c (inline_forbidden_p_stmt): Don't reject alloca | |
6162 | calls if they were for VLA objects. | |
6163 | ||
dee74c34 MJ |
6164 | 2011-04-15 Martin Jambor <mjambor@suse.cz> |
6165 | ||
6166 | * ipa-prop.c (ipa_analyze_virtual_call_uses): Remove handling | |
6167 | of ADR_EXPRs. | |
6168 | ||
8e5837bc MJ |
6169 | 2011-04-15 Martin Jambor <mjambor@suse.cz> |
6170 | ||
6171 | PR middle-end/48601 | |
6172 | * tree-emutls.c (lower_emutls_function_body): Call | |
6173 | cgraph_get_create_node instead of cgraph_get_node. Do not assert the | |
6174 | result is non-NULL. | |
6175 | ||
0dc33c3c NP |
6176 | 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com> |
6177 | ||
6178 | * c-decl.c (detect_field_duplicates): Call | |
6179 | objc_detect_field_duplicates instead of objc_get_interface_ivars. | |
6180 | ||
edcdea5b NF |
6181 | 2011-04-15 Nathan Froyd <froydnj@codesourcery.com> |
6182 | ||
6183 | * gimple.h (gimple_asm_clobbers_memory_p): Declare. | |
6184 | * gimple.c (gimple_asm_clobbers_memory_p): Define. | |
6185 | * ipa-pure-const.c (check_stmt): Call it. | |
6186 | * tree-ssa-operands.c (get_asm_expr_operands): Likewise. | |
6187 | ||
8456558d RG |
6188 | 2011-04-15 Richard Guenther <rguenther@suse.de> |
6189 | ||
6190 | PR tree-optimization/48290 | |
6191 | * tree-ssa-copy.c (copy_prop_visit_phi_node): Propagate constants. | |
6192 | Properly decide inhibiting propagation based on the valueized | |
6193 | operand. Do loop-closed SSA form preserving here ... | |
6194 | (init_copy_prop): ... not here. | |
6195 | ||
266446be L |
6196 | 2011-04-15 H.J. Lu <hongjiu.lu@intel.com> |
6197 | ||
6198 | PR target/48612 | |
6199 | * config/i386/sse.md (*ieee_smin<mode>3): Switch mnemonics. | |
6200 | (*ieee_smax<mode>3): Likewise. | |
6201 | ||
17465c6e AK |
6202 | 2011-04-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
6203 | ||
6204 | * config/s390/s390.md (popcountdi2, popcountsi2, popcounthi2): | |
6205 | Replace match_operand with match_dup for the third operand in | |
6206 | these expanders. | |
6207 | ||
bce204e5 MK |
6208 | 2011-04-15 Maxim Kuvyrkov <maxim@codesourcery.com> |
6209 | ||
6210 | * combine.c (subst, combine_simlify_rtx): Add new argument, use it | |
6211 | to track processing of conditionals. Update all callers. | |
6212 | (try_combine, simplify_if_then_else): Update. | |
6213 | ||
3162fdf4 MK |
6214 | 2011-04-15 Maxim Kuvyrkov <maxim@codesourcery.com> |
6215 | ||
6216 | * config/m68k/m68k.c (m68k_sched_variable_issue): Handle | |
6217 | -fsched-pressure. | |
6218 | ||
79002a57 | 6219 | 2011-04-15 Georg-Johann Lay <avr@gjlay.de> |
e81b8564 | 6220 | |
79002a57 GJL |
6221 | * config/avr/avr.md ("rotl<mode>3",mode=HIDI): Use match_dup |
6222 | instead of match_operand for operand 3. | |
6223 | ||
4fd3a105 RS |
6224 | 2011-04-15 Richard Sandiford <richard.sandiford@linaro.org> |
6225 | ||
6226 | * recog.h (insn_operand_data): Add an "allows_mem" field. | |
6227 | * genoutput.c (output_operand_data): Initialize it. | |
6228 | * optabs.c (maybe_legitimize_operand_same_code): New function. | |
6229 | (maybe_legitimize_operand): Use it when matching the original | |
6230 | op->value. | |
6231 | ||
ad19c4be EB |
6232 | 2011-04-15 Eric Botcazou <ebotcazou@adacore.com> |
6233 | ||
6234 | * gimplify.c: Fix issues in comments throughout. | |
6235 | (voidify_wrapper_expr): Fix long line. | |
6236 | (build_stack_save_restore): Likewise. | |
6237 | (gimplify_loop_expr): Likewise. | |
6238 | (gimplify_compound_lval): Likewise. | |
6239 | (gimplify_init_ctor_eval): Likewise. | |
6240 | (gimplify_modify_expr_rhs): Likewise. | |
6241 | (omp_notice_threadprivate_variable): Likewise. | |
6242 | ||
b25aa0e8 | 6243 | 2011-04-15 Eric Botcazou <ebotcazou@adacore.com> |
e7925582 | 6244 | |
b25aa0e8 EB |
6245 | * cfgexpand.c (expand_call_stmt): Convert the function type to the |
6246 | original one if this is not a builtin function. | |
e7925582 | 6247 | |
09db7afe JJ |
6248 | 2011-04-14 Jakub Jelinek <jakub@redhat.com> |
6249 | ||
6250 | PR target/48605 | |
6251 | * config/i386/sse.md (sse4_1_insertps): If operands[2] is a MEM, | |
6252 | offset it as needed based on top 2 bits in operands[3], change | |
6253 | MEM mode to SFmode and mask those 2 bits away from operands[3]. | |
6254 | ||
c59633d9 NP |
6255 | 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com> |
6256 | ||
6257 | * c-parser.c (c_parser_objc_protocol_definition): Updated for | |
6258 | change from objc_declare_protocols() to objc_declare_protocol(). | |
6259 | ||
5e60198b UB |
6260 | 2011-04-14 Uros Bizjak <ubizjak@gmail.com> |
6261 | ||
6262 | * config/i386/sse.md (sse4_1): New mode attribute. | |
6263 | (<sse4_1>_blend<ssemodesuffix><avxmodesuffix>): Macroize from | |
6264 | avx_blend<ssemodesuffix><avxmodesuffix> and | |
6265 | sse4_1_blend<ssemodesuffix> using VF mode iterator. | |
6266 | (<sse4_1>_blendv<ssemodesuffix><avxmodesuffix>): Macroize from | |
6267 | avx_blendv<ssemodesuffix><avxmodesuffix> and | |
6268 | sse4_1_blendv<ssemodesuffix> using VF mode iterator. | |
6269 | (<sse4_1>_dp<ssemodesuffix><avxmodesuffix>): Macroize from | |
6270 | avx_dp<ssemodesuffix><avxmodesuffix> and | |
6271 | sse4_1_dp<ssemodesuffix> using VF mode iterator. | |
6272 | (sse4_1_mpsadbw): Merge with *avx_mpsadbw. | |
6273 | (sse4_1_packusdw): Merge with *avx_packusdw. | |
6274 | (sse4_1_pblendvb): Merge with *avx_pblendvb. | |
6275 | (sse4_1_pblendw): Merge with *avx_pblendw. | |
6276 | (avx_vtest<ssemodesuffix><avxmodesuffix>): Use VF mode iterator. | |
6277 | (<sse4_1>_round<ssemodesuffix><avxmodesuffix>): Macroize from | |
6278 | avx_round<ssemodesuffix>256 and sse4_1_round<ssemodesuffix> using | |
6279 | VF mode iterator. | |
6280 | (sse4_1_round<ssescalarmodesuffix>): Merge with | |
6281 | *avx_round<ssescalarmodesuffix>. | |
6282 | (aesenc): Merge with *avx_aesenc. | |
6283 | (aesenclast): Merge with *avx_aesenclast. | |
6284 | (aesdec): Merge with *avx_aesdec. | |
6285 | (aesdeclast): Merge with *avx_aesdeclast. | |
6286 | (pclmulqdq): Merge with *pclmulqdq. | |
6287 | * config/i386/predicates.md (reg_not_xmm0_operand_maybe_avx): | |
6288 | New predicate. | |
6289 | (nonimm_not_xmm0_operand_maybe_avx): Ditto. | |
6290 | ||
6f197850 L |
6291 | 2011-04-14 H.J. Lu <hongjiu.lu@intel.com> |
6292 | ||
6293 | PR middle-end/48608 | |
6294 | * cfgexpand.c (get_decl_align_unit): Renamed to ... | |
6295 | (align_local_variable): This. Update DECL_ALIGN. | |
6296 | (add_stack_var): Updated. | |
6297 | (expand_one_stack_var): Likewise. | |
6298 | ||
4a5ba3ed RG |
6299 | 2011-04-14 Richard Guenther <rguenther@suse.de> |
6300 | ||
6301 | * tree-ssa-dse.c (struct dse_global_data, struct dse_block_local_data): | |
6302 | Remove. | |
6303 | (dse_initialize_block_local_data, dse_leave_block, | |
6304 | record_voperand_set, get_stmt_uid): Likewise. | |
6305 | (dse_possible_dead_store_p): Allow any kind of killing stmt. | |
6306 | (dse_optimize_stmt): Remove voperand set handling code. | |
6307 | Simplify and improve to handle any kind of killing stmt. | |
6308 | (dse_record_phi): Remove. | |
6309 | (dse_enter_block): Simplify. | |
6310 | (tree_ssa_dse): Likewise. | |
6311 | * tree-ssa-alias.c (stmt_kills_ref_p_1): Handle some builtins. | |
6312 | ||
10a5dd5d JH |
6313 | 2011-04-14 Jan Hubicka <jh@suse.cz> |
6314 | ||
6315 | * cgraph.c (dump_cgraph_node): Do not dump inline summaries. | |
6316 | * cgraph.h (struct inline_summary): Move to ipa-inline.h | |
6317 | (cgraph_local_info): Remove inline_summary. | |
6318 | * ipa-cp.c: Include ipa-inline.h. | |
6319 | (ipcp_cloning_candidate_p, ipcp_estimate_growth, | |
6320 | ipcp_estimate_cloning_cost, ipcp_insert_stage): Use inline_summary | |
6321 | accesor. | |
6322 | * lto-cgraph.c (lto_output_node): Do not stream inline summary. | |
6323 | (input_overwrite_node): Do not set inline summary. | |
6324 | (input_node): Do not stream inline summary. | |
6325 | * ipa-inline.c (cgraph_decide_inlining): Dump inline summaries. | |
6326 | (cgraph_decide_inlining_incrementally): Do not try to estimate overall | |
6327 | growth; we do not have inline parameters computed for that anyway. | |
6328 | (cgraph_early_inlining): After inlining compute call_stmt_sizes. | |
6329 | * ipa-inline.h (struct inline_summary): Move here from ipa-inline.h | |
6330 | (inline_summary_t): New type and VECtor. | |
6331 | (debug_inline_summary, dump_inline_summaries): Declare. | |
6332 | (inline_summary): Use VOCtor. | |
6333 | (estimate_edge_growth): Kill hack computing call stmt size directly. | |
6334 | * lto-section-in.c (lto_section_name): Add inline section. | |
6335 | * ipa-inline-analysis.c: Include lto-streamer.h | |
6336 | (node_removal_hook_holder, node_duplication_hook_holder): New holders | |
6337 | (inline_node_removal_hook, inline_node_duplication_hook): New functions. | |
6338 | (inline_summary_vec): Define. | |
6339 | (inline_summary_alloc, dump_inline_summary, debug_inline_summary, | |
6340 | dump_inline_summaries): New functions. | |
5e60198b UB |
6341 | (estimate_function_body_sizes): Properly compute size/time of outgoing |
6342 | calls. | |
6343 | (compute_inline_parameters): Alloc inline_summary; do not compute | |
6344 | size/time of incomming calls. | |
10a5dd5d JH |
6345 | (estimate_edge_time): Avoid missing time summary hack. |
6346 | (inline_read_summary): Read inline summary info. | |
6347 | (inline_write_summary): Write inline summary info. | |
6348 | (inline_free_summary): Free all hooks and inline summary vector. | |
6349 | * lto-streamer.h: Add LTO_section_inline_summary section. | |
6350 | * Makefile.in (ipa-cp.o, ipa-inline-analysis.o): Update dependencies. | |
6351 | * ipa.c (cgraph_remove_unreachable_nodes): Fix dump file formating. | |
6352 | ||
b602d918 RS |
6353 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
6354 | ||
6355 | * tree-vectorizer.h (vect_strided_store_supported): Add a | |
6356 | HOST_WIDE_INT argument. | |
6357 | (vect_strided_load_supported): Likewise. | |
6358 | (vect_permute_store_chain): Return void. | |
6359 | (vect_transform_strided_load): Likewise. | |
6360 | (vect_permute_load_chain): Delete. | |
6361 | * tree-vect-data-refs.c (vect_strided_store_supported): Take a | |
6362 | count argument. Check that the count is a power of two. | |
6363 | (vect_strided_load_supported): Likewise. | |
6364 | (vect_permute_store_chain): Return void. Update after above changes. | |
6365 | Assert that the access is supported. | |
6366 | (vect_permute_load_chain): Likewise. | |
6367 | (vect_transform_strided_load): Return void. | |
6368 | * tree-vect-stmts.c (vectorizable_store): Update calls after | |
6369 | above interface changes. | |
6370 | (vectorizable_load): Likewise. | |
6371 | (vect_analyze_stmt): Don't check for strided powers of two here. | |
6372 | ||
ab4472fa RG |
6373 | 2011-04-14 Richard Guenther <rguenther@suse.de> |
6374 | ||
6375 | PR tree-optimization/48590 | |
6376 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle | |
6377 | BUILT_IN_ALLOCA, BUILT_IN_STACK_SAVE and BUILT_IN_STACK_RESTORE. | |
6378 | (call_may_clobber_ref_p_1): Handle BUILT_IN_ALLOCA and | |
6379 | BUILT_IN_STACK_SAVE. | |
6380 | * tree-ssa-dce.c (propagate_necessity): Handle | |
6381 | BUILT_IN_ALLOCA, BUILT_IN_STACK_SAVE and BUILT_IN_STACK_RESTORE. | |
6382 | ||
32dabdaf NP |
6383 | 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com> |
6384 | ||
6385 | * c-parser.c (c_parser_objc_class_declaration): Updated call to | |
6386 | objc_declare_class. | |
6387 | ||
daade206 RG |
6388 | 2011-04-14 Richard Guenther <rguenther@suse.de> |
6389 | ||
6390 | * tree.h (get_object_alignment_1): Declare. | |
6391 | * builtins.c (get_object_alignment_1): Split out worker from ... | |
6392 | (get_object_alignment): ... here. | |
6393 | * fold-const.c (get_pointer_modulus_and_residue): Use | |
6394 | get_object_alignment_1. | |
6395 | ||
920e8172 RS |
6396 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
6397 | ||
6398 | * tree-vectorizer.h (vect_create_data_ref_ptr): Add an extra | |
6399 | type parameter. | |
6400 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add an aggr_type | |
6401 | parameter. Generalise code to handle arrays as well as vectors. | |
6402 | (vect_setup_realignment): Update accordingly. | |
6403 | * tree-vect-stmts.c (vectorizable_store): Likewise. | |
6404 | (vectorizable_load): Likewise. | |
6405 | ||
5ce1ee7f RS |
6406 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
6407 | ||
6408 | * tree-vect-stmts.c (vectorizable_load): Allocate and free dr_chain | |
6409 | within the per-copy loop. | |
6410 | ||
6438fe33 | 6411 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
0ea25ecd RS |
6412 | |
6413 | * tree-vect-stmts.c (vectorizable_load): Print the number of copies | |
6414 | in the dump file. | |
6415 | ||
6438fe33 | 6416 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
77b10485 RS |
6417 | |
6418 | * doc/options.texi (Negative): Explicitly mention that the | |
6419 | Negative chain must be circular. | |
6420 | ||
61e46a7d NF |
6421 | 2011-04-14 Nathan Froyd <froydnj@codesourcery.com> |
6422 | ||
6423 | * function.h (block_chainon): Declare. | |
6424 | * function.c (block_chainon): Define. | |
6425 | ||
43ea6502 | 6426 | 2011-04-14 Anatoly Sokolov <aesok@post.ru> |
5e60198b | 6427 | Eric Weddington <eric.weddington@atmel.com> |
748f7574 | 6428 | Georg-Johann Lay <avr@gjlay.de> |
5e60198b | 6429 | |
f60c2554 | 6430 | * config/avr/avr.c ("insn-codes.h", "optabs.h", "langhooks.h"): |
43ea6502 AS |
6431 | New Includes |
6432 | (avr_init_builtins, avr_expand_builtin, | |
6433 | avr_expand_delay_cycles, avr_expand_unop_builtin, | |
6434 | avr_expand_binop_builtin ): New functions. | |
6435 | (avr_builtin_id): New enum | |
6436 | (struct avr_builtin_description): New struct | |
6437 | (bdesc_1arg, bdesc_2arg): New arrays describing some RTL builtins. | |
6438 | (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define. | |
5e60198b | 6439 | |
43ea6502 | 6440 | * config/avr/avr.md (UNSPEC_FMUL, UNSPEC_FMULS, UNSPEC_FMULSU, |
5e60198b | 6441 | UNSPECV_ENABLE_IRQS, UNSPECV_NOP, UNSPECV_SLEEP, UNSPECV_WDR, |
43ea6502 AS |
6442 | UNSPECV_DELAY_CYCLES): new enumeration values |
6443 | (UNSPEC_SEI, UNSPEC_CLI): Remove enumeration values | |
6444 | ("enable_interrupt"): Use UNSPECV_ENABLE_IRQS | |
6445 | ("disable_interrupt"): Use UNSPECV_ENABLE_IRQS | |
6446 | ("*rotlqi3_4"): rename insn to "rotlqi3_4" | |
6447 | ("delay_cycles_1", "delay_cycles_2", "delay_cycles_3", | |
6448 | "delay_cycles_4", "nopv", "sleep", "wdr", "fmul", "fmuls", | |
6449 | "fmulsu"): New insns | |
5e60198b | 6450 | |
43ea6502 AS |
6451 | * config/avr/avr-c.c: fix line endings |
6452 | (avr_cpu_cpp_builtins): New builtin defines: __BUILTIN_AVR_NOP, | |
6453 | __BUILTIN_AVR_SEI, __BUILTIN_AVR_CLI, __BUILTIN_AVR_WDR, | |
6454 | __BUILTIN_AVR_SLEEP, __BUILTIN_AVR_SWAP, | |
6455 | __BUILTIN_AVR_DELAY_CYCLES, __BUILTIN_AVR_FMUL, | |
6456 | __BUILTIN_AVR_FMULS, __BUILTIN_AVR_FMULSU. | |
5e60198b | 6457 | |
43ea6502 AS |
6458 | * doc/extend.texi (AVR Built-in Functions): New node |
6459 | (Target Builtins): Add documentation of AVR | |
6460 | built-in functions. | |
6461 | ||
8a9b55f3 GJL |
6462 | 2011-04-14 Georg-Johann Lay <avr@gjlay.de> |
6463 | ||
6464 | PR target/44643 | |
6465 | * config/avr/avr.c (avr_insert_attributes): Leave TREE_READONLY | |
6466 | alone. Error if non-const data has attribute progmem. | |
6467 | ||
94bd1825 NF |
6468 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
6469 | ||
6470 | * tree.h (struct tree_constructor): Include tree_typed instead of | |
6471 | tree_common. | |
6472 | * tree.c (initialize_tree_contains_struct): Mark TS_CONSTRUCTOR as | |
6473 | TS_TYPED instead of TS_COMMON. | |
6474 | ||
5e60198b | 6475 | 2011-04-13 Uros Bizjak <ubizjak@gmail.com> |
81b1e7eb UB |
6476 | |
6477 | * config/i386/sse.md (*sse2_uavgv16qi3): Merge with *avx_uavgv16qi3. | |
6478 | (*sse2_uavgv8hi3): Merge with *avx_uavgv8hi3. | |
6479 | (sse2_psadbw): Merge with *avx_psadbw. | |
6480 | (ssse3_phaddwv8hi3): Merge with *avx_phaddwv8hi3. | |
6481 | (ssse3_phadddv4si3): Merge with *avx_phadddv4si3. | |
6482 | (ssse3_phaddswv8hi3): Merge with *avx_phaddswv8hi3. | |
6483 | (ssse3_phsubwv8hi3): Merge with *avx_phsubwv8hi3. | |
6484 | (ssse3_phsubdv4si3): Merge with *avx_phsubdv4si3. | |
6485 | (ssse3_phsubswv8hi3): Merge with *avx_phsubswv8hi3. | |
6486 | (ssse3_pmaddubsw128): Merge with *avx_pmaddubsw128. | |
6487 | (*ssse3_pmulhrswv8hi3): Merge with *avx_pmulhrswv8hi3. | |
6488 | (ssse3_pshufbv16qi3): Merge with *avx_pshufbv16qi3. | |
6489 | (ssse3_psign<mode>3): Merge with *avx_psign<mode>3. | |
6490 | (ssse3_palignrti): Merge with *avx_palignrti. | |
6491 | ||
4b1a4694 NF |
6492 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
6493 | ||
6494 | * tree-flow.h (struct gimple_df): Make free_ssanames a VEC. | |
6495 | * tree-ssanames.c (fini_ssanames): VEC_free it. | |
6496 | (make_ssa_name_fn): Update for VECness of free_ssanames. | |
6497 | (release_ssa_name, release_dead_ssa_names): Likewise. | |
6498 | * tree.h (struct tree_ssa_name): Include tree_typed instead of | |
6499 | tree_common. | |
6500 | * tree.c (initialize_tree_contains_struct): Mark TS_SSA_NAME as | |
6501 | TS_TYPED instead of TS_COMMON. | |
6502 | ||
4da3b811 NF |
6503 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
6504 | ||
6505 | * postreload-gcse.c (gcse_after_reload_main): Add calls to | |
6506 | statistics_counter_event. | |
6507 | * tree-ssa-copyrename.c (stats): Define. | |
6508 | (rename_ssa_copies): Count coalesced SSA_NAMEs. Add call to | |
6509 | statistics_counter_event. | |
6510 | * tree-ssa-math-opts.c (reciprocal_stats, sincos_stats): Define. | |
6511 | (bswap_stats, widen_mul_stats): Define. | |
6512 | (insert_reciprocals): Increment rdivs_inserted. | |
6513 | (execute_cse_reciprocals): Zeroize reciprocal_stats. Increment | |
6514 | rfuncs_inserted. Add calls to statistics_counter_event. | |
6515 | (execute_cse_sincos_1): Increment inserted. | |
6516 | (execute_cse_sincos): Zeroize sincos_stats. Add call to | |
6517 | statistics_counter_event. | |
6518 | (execute_optimize_bswap): Zeroize bswap_stats. Increment fields | |
6519 | of bswap_stats. Add calls to statistics_counter_event. | |
6520 | (convert_mult_to_widen): Increment widen_mults_inserted. | |
6521 | (convert_plusminus_to_widen): Increment maccs_inserted. | |
6522 | (convert_mult_to_fma): Increment fmas_inserted. | |
6523 | (execute_optimize_widening_mul): Zeroize widen_mul_stats. Add | |
6524 | calls to statistics_counter_event. | |
6525 | ||
89fa552a VM |
6526 | 2011-04-13 Vladimir Makarov <vmakarov@redhat.com> |
6527 | ||
6528 | PR rtl-optimization/48455 | |
6529 | * ira-costs.c (find_costs_and_classes): Use i_mem_cost instead of | |
6530 | `temp_costs->mem_cost'. | |
6531 | ||
03dfc36d JH |
6532 | 2011-04-13 Jan Hubicka <jh@suse.cz> |
6533 | ||
6534 | * ipa-inline.h: New file. | |
6535 | * ipa-inline-analysis.c: New file. Broken out of ... | |
6536 | * ipa-inline.c: ... this file; update toplevel comment; | |
6537 | include ipa-inline.h | |
6538 | (inline_summary): Move to ipa-inline.h | |
6539 | (cgraph_estimate_edge_time): Rename to estimate_edge_time; move to | |
6540 | ipa-inline-analysis.c. | |
7d4f8d02 EB |
6541 | (cgraph_estimate_time_after_inlining): Rename to |
6542 | estiamte_time_after_inlining; move to ipa-inline-analysis.c | |
03dfc36d JH |
6543 | (cgraph_estimate_edge_growth): Move to ipa-inline-analysis.c; rename |
6544 | to estimate_edge_growth. | |
6545 | (cgraph_estimate_size_after_inlining): Move to ipa-inline-analysis.c; | |
6546 | rename to estimate_size_after_inlining. | |
6547 | (cgraph_mark_inline_edge): Update for new naming convention. | |
6548 | (cgraph_check_inline_limits): Likewise. | |
6549 | (cgraph_edge_badness): Likewise. | |
6550 | (cgraph_decide_recursive_inlining): Likewise. | |
6551 | (cgraph_decide_inlining_of_small_functions): Likewise. | |
6552 | (cgraph_decide_inlining_incrementally): Likewise. | |
7d4f8d02 EB |
6553 | (cgraph_estimate_growth): Rename to estimate_growth; move to |
6554 | ipa-inline-analysis.c. | |
03dfc36d JH |
6555 | (eliminated_by_inlining_prob): Move to ipa-inline-analysis.c. |
6556 | (estimate_function_body_sizes): Move to ipa-inline-analysis.c. | |
6557 | (compute_inline_parameters): Likewise. | |
6558 | (compute_inline_parameters_for_current): Likewise. | |
6559 | (pass_inline_parameters): Likewise. | |
6560 | (inline_indirect_intraprocedural_analysis): Likewise. | |
6561 | (analyze_function): Rename to inline_analyze_function; likewise. | |
6562 | (add_new_function): Move to ipa-inline-analysis.c. | |
6563 | (inline_generate_summary): Likewise. | |
6564 | (inline_read_summary): Likewise. | |
6565 | (inline_write_summary): Likewise. | |
6566 | * Makefile.in (ipa-inline-analysis.c): New file. | |
6567 | ||
7673c962 RO |
6568 | 2011-04-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6569 | ||
6570 | * configure.ac (gcc_cv_as_sparc_gotdata_op): Remove GNU ld check. | |
6571 | * configure: Regenerate. | |
6572 | ||
9698252f NF |
6573 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
6574 | ||
6575 | * tree.h (struct tree_int_cst, struct real_value): Include tree_typed | |
6576 | instead of tree_common. | |
6577 | (struct tree_fixed_cst, struct tree_string, struct tree_complex): | |
6578 | Likewise. | |
6579 | * tree.c (initialize_tree_contains_struct): Mark such nodes as being | |
6580 | TS_TYPED rather than TS_COMMON. | |
6581 | * print-tree.c (print_node) [STRING_CST]: Don't print TREE_CHAIN. | |
6582 | ||
3a7bfdd5 GJL |
6583 | 2011-04-01 Georg-Johann Lay <avr@gjlay.de> |
6584 | ||
6585 | PR target/45263 | |
86d83530 GJL |
6586 | * config/avr/libgcc.S (__do_global_ctors, __do_global_dtors): Don't use |
6587 | r20 around calls of __tablejump_elpm__ | |
3a7bfdd5 | 6588 | |
20790697 JJ |
6589 | 2011-04-13 Jakub Jelinek <jakub@redhat.com> |
6590 | ||
6591 | PR middle-end/48591 | |
6592 | * omp-low.c (expand_omp_atomic_fetch_op): Return false if decl is | |
6593 | NULL. | |
6594 | (expand_omp_atomic_pipeline): Return false if cmpxchg is NULL. | |
6595 | ||
094d7661 BS |
6596 | 2011-04-13 Bernd Schmidt <bernds@codesourcery.com> |
6597 | ||
6598 | * dwarf2out.c (struct dw_cfi_struct): Remove member dw_cfi_next. | |
6599 | (dw_cfi_ref): Add DEF_VEC_P and some DEF_VEC_ALLOC_Ps. | |
6600 | (cfi_vec): New typedef. | |
6601 | (struct dw_fde_struct): Make dw_fde_cfi a cfi_vec. Replace | |
6602 | dw_fde_switch_cfi with an integer dw_fde_switch_cfi_index. | |
6603 | (cie_cfi_vec): New static variable. | |
6604 | (cie_cfi_head): Delete. | |
6605 | (add_cfi): Accept a cfi_vec * as first argument. All callers and | |
6606 | declaration changed. Use vector rather than list operations. | |
6607 | (new_cfi): Don't initialize the dw_cfi_next field. | |
6608 | (add_fde_cfi): Allocate cie_cfi_vec if necessary. Use vector | |
6609 | rather than list operations. | |
6610 | (lookup_cfa): Use vector rather than list operations. | |
6611 | (output_cfis): New argument upto. Accept a cfi_vec rather than | |
6612 | a dw_cfi_ref list head as argument. All callers changed. | |
6613 | Iterate over the vector using upto as a maximum index. | |
6614 | (output_all_cfis): New static function. | |
6615 | (output_fde): Use vector rather than list operations. Use the | |
6616 | new upto argument for output_cfis rather than manipulating a | |
6617 | list. | |
6618 | (dwarf2out_begin_prologue): Change initializations to match | |
6619 | new struct members. | |
6620 | (dwarf2out_switch_text_section): Initialize dw_fde_switch_cfi_index | |
6621 | from the vector length rather than searching for the end of a list. | |
6622 | Use output_all_cfis. | |
6623 | (convert_cfa_to_fb_loc_list): Use vector rather than list operations. | |
6624 | ||
673a5740 NC |
6625 | 2011-04-13 Nick Clifton <nickc@redhat.com> |
6626 | ||
6627 | * config/rx/rx.md (movmemsi): Do not use this pattern when | |
6628 | volatile pointers are involved. | |
6629 | ||
1ee8b298 UB |
6630 | 2011-04-13 Uros Bizjak <ubizjak@gmail.com> |
6631 | ||
6632 | * config/i386/sse.md (pinsrbits): Remove. | |
6633 | (sse2_packsswb): Merge with *avx_packsswb. | |
6634 | (sse2_packssdw): Merge with *avx_packssdw. | |
6635 | (sse2_packuswb): Merge with *avx_packuswb. | |
6636 | (vec_interleave_highv16qi): Merge with *avx_interleave_highv16qi. | |
6637 | (vec_interleave_lowv16qi): Merge with *avx_interleave_lowv16qi. | |
6638 | (vec_interleave_highv8hi): Merge with *avx_interleave_highv8hi. | |
6639 | (vec_interleave_lowv8hi): Merge with *avx_interleave_lowv8hi. | |
6640 | (vec_interleave_highv4si): Merge with *avx_interleave_highv4si. | |
6641 | (vec_interleave_lowv4si): Merge with *avx_interleave_lowv4si. | |
6642 | (*sse4_1_pinsrb): Merge with *avx_pinsr<ssevecsize>. | |
6643 | (*sse2_pinsrw): Merge with *avx_pinsr<ssevecsize>. | |
6644 | (*sse4_1_pinsrd): Merge with *avx_pinsr<ssevecsize>. | |
6645 | (*sse4_1_pinsrq): Merge with *avx_pinsrq. | |
6646 | (sse2_loadld): Merge with *avx_loadld. | |
6647 | (*vec_extractv2di_1_rex64): Merge with *vec_extractv2di_1_rex64_avx. | |
6648 | (*vec_extractv2di_1_sse2): Merge with *vec_extractv2di_1_avx. | |
6649 | (*vec_concatv2si_sse4_1): Merge with *vec_concatv2si_avx. | |
6650 | (*vec_concatv2di_rex64_sse4_1): Merge with *vec_concatv2di_rex64_avx. | |
6651 | (vec_concatv2di): Merge with *vec_concatv2di_avx. | |
6652 | ||
81f653d6 NF |
6653 | 2011-04-12 Nathan Froyd <froydnj@codesourcery.com> |
6654 | ||
6655 | * c-decl.c (union lang_tree_node): Check for TS_COMMON before | |
6656 | calling TREE_CHAIN. | |
6657 | * print-tree.c (print_node): Likewise. | |
6658 | * tree-inline.c (copy_tree_r): Likewise. | |
6659 | * c-lang.c (LANG_HOOKS_INIT_TS): Define. | |
6660 | * lto-streamer-in.c (lto_input_tree_pointers): Check for TS_TYPED | |
6661 | instead of TS_COMMON. | |
6662 | * lto-streamer-out.c (lto_output_tree_pointers): Likewise. | |
6663 | * tree.c (initialize_tree_contains_struct): Handle TS_TYPED. | |
6664 | (copy_node_stat): Zero TREE_CHAIN only if necessary. | |
6665 | (MARK_TS_BASE, MARK_TS_TYPED, MARK_TS_COMMON): Move these... | |
6666 | (MARK_TS_DECL_COMMON, MARK_TS_DECL_COMMON, MARK_TS_DECL_WRTL): | |
6667 | ...and these... | |
6668 | (MARK_TS_DECL_WITH_VIS, MARK_TS_DECL_NON_COMMON): ...and these... | |
6669 | * tree.h: ...here. | |
6670 | (TREE_CHAIN): Check for a TS_COMMON structure. | |
6671 | (TREE_TYPE): Check for a TS_TYPED structure. | |
6672 | ||
748f7574 | 6673 | 2011-04-12 Pat Haugen <pthaugen@us.ibm.com> |
ed940a4a PH |
6674 | |
6675 | * config/rs6000/rs6000.c (call_ABI_of_interest): Call | |
6676 | cgraph_get_create_node instead of cgraph_node. | |
6677 | ||
eb345401 NP |
6678 | 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com> |
6679 | ||
6680 | * c-parser.c (c_parser_initelt): Updated call to | |
6681 | objc_build_message_expr. | |
6682 | (c_parser_postfix_expression): Likewise. | |
6683 | ||
a6c46762 KT |
6684 | 2011-04-12 Kai Tietz <ktietz@redhat.com> |
6685 | ||
6686 | * config/i386/mingw32.h (TARGET_SUBTARGET_DEFAULT): Add | |
6687 | MASK_MS_BITFIELD_LAYOUT bit. | |
6688 | ||
b4ccfed9 JJ |
6689 | 2011-04-12 Jakub Jelinek <jakub@redhat.com> |
6690 | ||
6691 | * combine.c (update_cfg_for_uncondjump): Instead of testing at_end | |
6692 | assert it is always true. | |
6693 | (try_combine): Don't call update_cfg_for_uncondjump for noop non-jump | |
6694 | moves. | |
6695 | ||
0d8a2528 NP |
6696 | 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com> |
6697 | ||
6698 | * c-parser.c (c_lex_one_token): Rewritten conditional used when | |
6699 | compiling Objective-C to be more efficient. | |
6700 | ||
06bd234a AF |
6701 | 2011-04-12 Axel Freyn <axel-freyn@gmx.de> |
6702 | ||
6703 | * opts-common.c (decode_cmdline_options_to_array): Remove variable | |
6704 | argv_copied. | |
6705 | ||
28569ac3 RS |
6706 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
6707 | ||
6708 | * recog.h, genoutput.c, optabs.c: Revert last patch. | |
6709 | ||
ae59e00d RR |
6710 | 2011-04-12 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
6711 | ||
81b1e7eb UB |
6712 | PR target/48090 |
6713 | * config/arm/arm.md (*arm_negdi2): Fix early clobber constraints. | |
ae59e00d | 6714 | |
cff1b7e0 RS |
6715 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
6716 | ||
6717 | * recog.h (insn_operand_data): Add an "allows_mem" field. | |
6718 | * genoutput.c (output_operand_data): Initialize it. | |
6719 | * optabs.c (maybe_legitimize_operand_same_code): New function. | |
6720 | (maybe_legitimize_operand): Use it when matching the original | |
6721 | op->value. | |
6722 | ||
77059241 RS |
6723 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
6724 | ||
6725 | * genpreds.c (process_define_predicate): Move most processing | |
6726 | to gensupport.c. Continue to validate the expression. | |
6727 | * genrecog.c (did_you_mean_codes, compute_predicate_codes) | |
6728 | (process_define_predicate): Move processing to gensupport.c. | |
6729 | (main): Remove DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE cases. | |
6730 | * gensupport.c (did_you_mean_codes): Moved from genrecog.c. | |
6731 | (compute_predicate_codes): Moved from genrecog.c. Add lineno | |
6732 | argument. | |
6733 | (valid_predicate_name_p): New function, split out from old | |
6734 | genpreds.c:process_define_predicate. | |
6735 | (process_define_predicate): New function, combining code from | |
6736 | old genpreds.c and genrecog.c functions. | |
6737 | (process_rtx): Call it for DEFINE_PREDICATE and | |
6738 | DEFINE_SPECIAL_PREDICATE. | |
6739 | ||
6308e208 RS |
6740 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
6741 | ||
6742 | * config/arm/arm.c (arm_print_operand): Use MEM_SIZE to get the | |
6743 | size of a '%A' memory reference. | |
6744 | (T_DREG, T_QREG): New neon_builtin_type_bits. | |
6745 | (arm_init_neon_builtins): Assert that the load and store operands | |
6746 | are neon_struct_operands. | |
6747 | (locate_neon_builtin_icode): Provide the neon_builtin_type_bits. | |
6748 | (NEON_ARG_MEMORY): New builtin_arg. | |
6749 | (neon_dereference_pointer): New function. | |
6750 | (arm_expand_neon_args): Add a neon_builtin_type_bits argument. | |
6751 | Handle NEON_ARG_MEMORY. | |
6752 | (arm_expand_neon_builtin): Update after above interface changes. | |
6753 | Use NEON_ARG_MEMORY for loads and stores. | |
6754 | * config/arm/predicates.md (neon_struct_operand): New predicate. | |
6755 | * config/arm/iterators.md (V_two_elem): Tweak formatting. | |
6756 | (V_three_elem): Use BLKmode for accesses that have no associated mode. | |
6757 | (V_four_elem): Tweak formatting. | |
6758 | * config/arm/neon.md (neon_vld1<mode>, neon_vld1_dup<mode>) | |
6759 | (neon_vst1_lane<mode>, neon_vst1<mode>, neon_vld2<mode>) | |
6760 | (neon_vld2_lane<mode>, neon_vld2_dup<mode>, neon_vst2<mode>) | |
6761 | (neon_vst2_lane<mode>, neon_vld3<mode>, neon_vld3_lane<mode>) | |
6762 | (neon_vld3_dup<mode>, neon_vst3<mode>, neon_vst3_lane<mode>) | |
6763 | (neon_vld4<mode>, neon_vld4_lane<mode>, neon_vld4_dup<mode>) | |
6764 | (neon_vst4<mode>): Replace pointer operand with a memory operand. | |
6765 | Use %A in the output template. | |
6766 | (neon_vld3qa<mode>, neon_vld3qb<mode>, neon_vst3qa<mode>) | |
6767 | (neon_vst3qb<mode>, neon_vld4qa<mode>, neon_vld4qb<mode>) | |
6768 | (neon_vst4qa<mode>, neon_vst4qb<mode>): Likewise, but halve | |
6769 | the width of the memory access. Remove post-increment. | |
6770 | * config/arm/neon-testgen.ml: Allow addresses to have an alignment. | |
6771 | ||
e5db8f2f NC |
6772 | 2011-04-12 Nick Clifton <nickc@redhat.com> |
6773 | ||
6774 | * config/v850/v850.c (expand_prologue): Do not use the CALLT | |
6775 | instruction for interrupt handlers if the target is the basic V850 | |
6776 | architecture. | |
6777 | (expand_epilogue): Likewise. | |
6778 | ||
74f091d6 JJ |
6779 | 2011-04-12 Jakub Jelinek <jakub@redhat.com> |
6780 | ||
6781 | PR rtl-optimization/48549 | |
6782 | * combine.c (propagate_for_debug): Also stop after BB_END of | |
6783 | this_basic_block. Process LAST and just stop processing after it. | |
6784 | (combine_instructions): If last_combined_insn has been deleted, | |
6785 | set last_combined_insn to its PREV_INSN. | |
6786 | ||
f20ca725 RG |
6787 | 2011-04-12 Richard Guenther <rguenther@suse.de> |
6788 | ||
6789 | PR tree-optimization/46076 | |
6790 | * gimple.h (struct gimple_statement_call): Add fntype field. | |
6791 | (gimple_call_fntype): Adjust. | |
6792 | (gimple_call_set_fntype): New function. | |
6793 | * gimple.c (gimple_build_call_1): Set the call function type. | |
6794 | * gimplify.c (gimplify_call_expr): Preserve the function | |
6795 | type the frontend used for the call. | |
6796 | (gimplify_modify_expr): Likewise. | |
6797 | * lto-streamer-in.c (input_gimple_stmt): Input the call stmts | |
6798 | function type. | |
6799 | * lto-streamer-out.c (output_gimple_stmt): Output the call stmts | |
6800 | function type. | |
6801 | * tree-ssa.c (useless_type_conversion_p): Function pointer | |
6802 | conversions are useless. | |
6803 | ||
a358e188 MJ |
6804 | 2011-04-12 Martin Jambor <mjambor@suse.cz> |
6805 | ||
6806 | * cgraph.h (cgraph_node): Remove function declaration. | |
6807 | (cgraph_create_node): Declare. | |
6808 | (cgraph_get_create_node): Likewise. | |
6809 | * cgraph.c (cgraph_create_node): Renamed to cgraph_create_node_1. | |
6810 | Updated all callers. | |
6811 | (cgraph_node): Renamed to cgraph_create_node, assert that a node for | |
6812 | the decl does not already exist. Call cgraph_get_create_node instead | |
6813 | of cgraph_node. | |
6814 | (cgraph_get_create_node): New function. | |
6815 | (cgraph_same_body_alias): Update comment. | |
6816 | (cgraph_set_call_stmt): Call cgraph_get_node instead of cgraph_node, | |
6817 | assert it does not return NULL. | |
6818 | (cgraph_update_edges_for_call_stmt): Likewise. | |
6819 | (cgraph_clone_edge): Likewise. | |
6820 | (cgraph_create_virtual_clone): Likewise. | |
6821 | (cgraph_update_edges_for_call_stmt_node): Call cgraph_get_create_node | |
6822 | instead of cgraph_node. | |
6823 | (cgraph_add_new_function): Call cgraph_create_node or | |
6824 | cgraph_get_create_node instead of cgraph_node. | |
6825 | * cgraphbuild.c (record_reference): Call cgraph_get_create_node | |
6826 | instead of cgraph_node. | |
6827 | (record_eh_tables): Likewise. | |
6828 | (mark_address): Likewise. | |
6829 | (mark_load): Likewise. | |
6830 | (build_cgraph_edges): Call cgraph_get_create_node instead | |
6831 | of cgraph_node. | |
6832 | (rebuild_cgraph_edges): Likewise. | |
6833 | * cgraphunit.c (cgraph_finalize_function): Call cgraph_get_create_node | |
6834 | instead of cgraph_node. | |
6835 | (cgraph_copy_node_for_versioning): Call cgraph_create_node instead of | |
6836 | cgraph_node. | |
6837 | * lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Call | |
6838 | cgraph_create_node instead of cgraph_node. | |
6839 | * c-decl.c (finish_function): Call cgraph_get_create_node instead | |
6840 | of cgraph_node. | |
6841 | * lto-cgraph.c (input_node): Likewise. | |
6842 | * lto-streamer-in.c (input_function): Likewise. | |
6843 | * varasm.c (mark_decl_referenced): Likewise. | |
6844 | (assemble_alias): Likewise. | |
6845 | ||
fe660d7b MJ |
6846 | 2011-04-12 Martin Jambor <mjambor@suse.cz> |
6847 | ||
6848 | * tree-inline.c (tree_function_versioning): Call cgraph_get_node | |
6849 | instead of cgraph_node and assert it does not return NULL. | |
6850 | * lto-streamer-in.c (lto_read_body): Likewise. | |
6851 | * omp-low.c (new_omp_context): Likewise. | |
6852 | (create_task_copyfn): Likewise. | |
6853 | * tree-emutls.c (lower_emutls_function_body): Likewise. | |
6854 | * matrix-reorg.c (transform_allocation_sites): Likewise. | |
6855 | ||
bae5cddf JJ |
6856 | 2011-04-12 Jakub Jelinek <jakub@redhat.com> |
6857 | ||
6858 | PR c/48552 | |
6859 | * c-typeck.c (build_asm_expr): Error out on attempts to use | |
6860 | void type outputs or inputs for constraints that allow reg or | |
6861 | don't allow memory. | |
6862 | ||
06eb52ca CLT |
6863 | 2011-04-11 Chung-Lin Tang <cltang@codesourcery.com> |
6864 | Richard Earnshaw <rearnsha@arm.com> | |
6865 | ||
6866 | PR target/48250 | |
6867 | * config/arm/arm.c (arm_legitimize_reload_address): Update cases | |
6868 | to use sign-magnitude offsets. Reject unsupported unaligned | |
6869 | cases. Add detailed description in comments. | |
6870 | * config/arm/arm.md (reload_outdf): Disable for ARM mode; change | |
6871 | condition from TARGET_32BIT to TARGET_ARM. | |
6872 | ||
648a616b NF |
6873 | 2011-04-11 Nathan Froyd <froydnj@codesourcery.com> |
6874 | ||
6875 | * tree.h (struct typed_tree): New. | |
6876 | (struct tree_common): Include it instead of tree_base. | |
6877 | (TREE_TYPE): Update for new location of type field. | |
6878 | (TYPE_USER_ALIGN, TYPE_PACKED): Refer to base field directly. | |
6879 | (DECL_USER_ALIGN, DECL_PACKED): Likewise. | |
6880 | (union tree_node): Add typed field. | |
6881 | * treestruct.def (TS_TYPED): New. | |
6882 | * lto-streamer.c (check_handled_ts_structures): Handle it. | |
6883 | * tree.c (MARK_TS_TYPED): New macro. | |
6884 | (MARK_TS_COMMON): Call it instead of MARK_TS_BASE. | |
6885 | ||
1e6d1da0 EB |
6886 | 2011-04-11 Eric Botcazou <ebotcazou@adacore.com> |
6887 | ||
6888 | * cfghooks.c (redirect_edge_and_branch_force): Localize variable. | |
6889 | (force_nonfallthru): Do not alter the loop nest if no basic block | |
6890 | was created. | |
6891 | ||
6892 | 2011-04-11 Uros Bizjak <ubizjak@gmail.com> | |
d8700b1c UB |
6893 | |
6894 | * config/i386/sse.md (VI): New mode iterator. | |
6895 | (SSEMODEI): Remove. | |
6896 | (AVX256MODEI): Ditto. | |
6897 | (AVXMODEF4P): Ditto. | |
6898 | (avxvecpsmode): Ditto. | |
6899 | (one_cmpl<mode>2): Enable for TARGET_SSE. Use VI mode iterator. | |
6900 | (sse2_andnot<mode>3): New expander. | |
6901 | (*andnot<mode>3): Merge with *sse2_andnot<mode>3 and | |
6902 | *avx_andnot<mode>3. Enable for TARGET_SSE. Use VI mode iterator. | |
6903 | (<any_logic:code><mode>3): Use VI mode iterator. | |
6904 | (*<any_logic:code><mode>3): Merge with *sse2_<any_logic:code><mode>3 | |
6905 | and *avx_<any_logic:code><mode>3. Use VI mode iterator. | |
6906 | (*andnottf3): Handle AVX three-operand constraints. | |
6907 | (*<any_logic:code>tf3): Handle AVX three-operand constraints. | |
6908 | ||
b1372d5d | 6909 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
d8700b1c | 6910 | Robert Millan <rmh@gnu.org> |
b1372d5d JM |
6911 | |
6912 | * config.gcc (x86_64-*-kfreebsd*-gnu): Use i386/kfreebsd-gnu.h. | |
6913 | * config/i386/kfreebsd-gnu.h (GNU_USER_DYNAMIC_LINKER32, | |
6914 | GNU_USER_DYNAMIC_LINKER64): Define. | |
6915 | (REG_NAME): Don't undefine. | |
6916 | (MD_UNWIND_SUPPORT): Undefine. | |
6917 | * config/i386/knetbsd-gnu.h (GNU_USER_LINK_EMULATION): Define. | |
6918 | (REG_NAME): Don't undefine. | |
6919 | (MD_UNWIND_SUPPORT): Undefine. | |
d8700b1c | 6920 | * config/i386/kopensolaris-gnu.h (GNU_USER_LINK_EMULATION): Define. |
b1372d5d | 6921 | |
761c0c6e JM |
6922 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
6923 | ||
6924 | * config/i386/gnu.h (GNU_USER_LINK_EMULATION): Define. | |
6925 | (CPP_SPEC, CC1_SPEC, ENDFILE_SPEC): Remove. | |
6926 | ||
26e0228f XDL |
6927 | 2011-04-11 Xinliang David Li <davidxl@google.com> |
6928 | ||
6929 | * value-profile.c (check_ic_target): New function. | |
6930 | (gimple_ic_transform): Sanity check indirect call target. | |
6931 | * gimple-low.c (gimple_check_call_args): Interface change. | |
6932 | (gimple_check_call_matching_types): New function. | |
6933 | * tree-inline.c (tree_can_inline_p): Call new function. | |
6075765d BS |
6934 | |
6935 | 2011-04-11 Basile Starynkevitch <basile@starynkevitch.net> | |
6936 | ||
6937 | * Makefile.in (PLUGIN_HEADERS): Add gimple-pretty-print.h | |
6938 | tree-pretty-print.h & realmpfr.h. | |
6939 | ||
a58dfa49 VM |
6940 | 2011-04-11 Vladimir Makarov <vmakarov@redhat.com> |
6941 | ||
6942 | PR middle-end/48464 | |
6943 | * ira.c (setup_pressure_classes): Fix typo in loop condition. | |
6944 | (setup_allocno_and_important_classes): Ditto. | |
6945 | ||
107fd1c1 JM |
6946 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
6947 | ||
6948 | * config/alpha/linux-elf.h (LINUX_DYNAMIC_LINKER): Rename to | |
6949 | GNU_USER_DYNAMIC_LINKER. | |
6950 | * config/arm/linux-eabi.h (TARGET_OS_CPP_BUILTINS): Change | |
6951 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
6952 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Change | |
6953 | LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. | |
6954 | (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to | |
6955 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
6956 | * config/bfin/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
6957 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
6958 | * config/bfin/uclinux.h (TARGET_OS_CPP_BUILTINS): Change | |
6959 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
6960 | * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Change | |
6961 | LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. | |
6962 | (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to | |
6963 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
6964 | * config/frv/linux.h (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
6965 | GNU_USER_DYNAMIC_LINKER. | |
6966 | * config/gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
6967 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
6968 | * config/i386/gnu-user.h (TARGET_OS_CPP_BUILTINS): Change | |
6969 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
6970 | * config/i386/gnu-user64.h (TARGET_OS_CPP_BUILTINS): Change | |
6971 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
6972 | * config/i386/linux.h (GNU_USER_DYNAMIC_LINKER): Remove. | |
6973 | * config/i386/linux64.h (GNU_USER_DYNAMIC_LINKER32, | |
6974 | GNU_USER_DYNAMIC_LINKER64): Remove. | |
6975 | * config/ia64/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
6976 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
6977 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
6978 | GNU_USER_DYNAMIC_LINKER. | |
6979 | * config/kfreebsd-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
6980 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
6981 | * config/knetbsd-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
6982 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
6983 | * config/kopensolaris-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename | |
6984 | to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
6985 | * config/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
6986 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
6987 | (LINUX_DYNAMIC_LINKER): Rename to GNU_USER_DYNAMIC_LINKER. | |
6988 | (LINUX_DYNAMIC_LINKER32): Rename to GNU_USER_DYNAMIC_LINKER32. | |
6989 | (LINUX_DYNAMIC_LINKER64): Rename to GNU_USER_DYNAMIC_LINKER64. | |
6990 | * config/lm32/uclinux-elf.h (TARGET_OS_CPP_BUILTINS): Change | |
6991 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
6992 | * config/m32r/linux.h (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
6993 | GNU_USER_DYNAMIC_LINKER. | |
6994 | (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to | |
6995 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
6996 | * config/m68k/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
6997 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
6998 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
6999 | GNU_USER_DYNAMIC_LINKER. | |
7000 | * config/m68k/uclinux.h (TARGET_OS_CPP_BUILTINS): Change | |
7001 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
7002 | * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
7003 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
7004 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
7005 | GNU_USER_DYNAMIC_LINKER. | |
7006 | * config/mips/linux64.h (LINUX_DYNAMIC_LINKERN32): Rename to | |
7007 | GNU_USER_DYNAMIC_LINKERN32. | |
7008 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKERN32 to | |
7009 | GNU_USER_DYNAMIC_LINKERN32. Change LINUX_DYNAMIC_LINKER64 to | |
7010 | GNU_USER_DYNAMIC_LINKER64. Change LINUX_DYNAMIC_LINKER32 to | |
7011 | GNU_USER_DYNAMIC_LINKER32. | |
7012 | * config/mn10300/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
7013 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
7014 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
7015 | GNU_USER_DYNAMIC_LINKER. | |
7016 | * config/moxie/uclinux.h (TARGET_OS_CPP_BUILTINS): Change | |
7017 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
7018 | * config/pa/pa-linux.h (TARGET_OS_CPP_BUILTINS): Change | |
7019 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
d8700b1c | 7020 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. |
107fd1c1 JM |
7021 | * config/rs6000/linux64.h (LINUX_DYNAMIC_LINKER32): Rename to |
7022 | GNU_USER_DYNAMIC_LINKER32. | |
7023 | (LINUX_DYNAMIC_LINKER64): Rename to GNU_USER_DYNAMIC_LINKER64. | |
7024 | * config/rs6000/sysv4.h (LINUX_DYNAMIC_LINKER): Rename to | |
7025 | GNU_USER_DYNAMIC_LINKER. | |
7026 | * config/s390/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
7027 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
7028 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER32 to | |
7029 | GNU_USER_DYNAMIC_LINKER32. Change LINUX_DYNAMIC_LINKER64 to | |
7030 | GNU_USER_DYNAMIC_LINKER64. | |
7031 | * config/sh/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
7032 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
7033 | (SUBTARGET_LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
7034 | GNU_USER_DYNAMIC_LINKER. | |
7035 | * config/sparc/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
7036 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
7037 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
7038 | GNU_USER_DYNAMIC_LINKER. | |
7039 | * config/sparc/linux64.h (TARGET_OS_CPP_BUILTINS): Change | |
7040 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
7041 | (LINK_ARCH32_SPEC): Change LINUX_DYNAMIC_LINKER32 to | |
7042 | GNU_USER_DYNAMIC_LINKER32. | |
7043 | (LINK_ARCH64_SPEC): Change LINUX_DYNAMIC_LINKER64 to | |
7044 | GNU_USER_DYNAMIC_LINKER64. | |
7045 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER64 to | |
7046 | GNU_USER_DYNAMIC_LINKER64. | |
7047 | * config/vax/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
7048 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
7049 | * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
7050 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
d8700b1c | 7051 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. |
107fd1c1 | 7052 | |
e24609cf JM |
7053 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
7054 | ||
7055 | * config/i386/gnu-user.h: Copy from linux.h. Update comments. | |
7056 | (LINK_EMULATION, GLIBC_DYNAMIC_LINKER): Remove. | |
7057 | (SUBTARGET_EXTRA_SPECS): Use GNU_USER_LINK_EMULATION and | |
7058 | GNU_USER_DYNAMIC_LINKER. | |
7059 | (MD_UNWIND_SUPPORT, REG_NAME): Remove. | |
7060 | * config/i386/gnu-user64.h: Copy from linux64.h. Update comments. | |
7061 | (GLIBC_DYNAMIC_LINKER32, GLIBC_DYNAMIC_LINKER64): Remove. | |
7062 | (LINK_SPEC): Use GNU_USER_DYNAMIC_LINKER32 and | |
7063 | GNU_USER_DYNAMIC_LINKER64. | |
7064 | (MD_UNWIND_SUPPORT, REG_NAME): Remove. | |
7065 | * config/i386/kfreebsd-gnu.h (LINK_EMULATION): Change to | |
7066 | GNU_USER_LINK_EMULATION. | |
7067 | * config/i386/linux.h (TARGET_ASM_FILE_START_FILE_DIRECTIVE, | |
7068 | DEFAULT_PCC_STRUCT_RETURN, TARGET_TLS_DIRECT_SEG_REFS_DEFAULT, | |
7069 | ASM_COMMENT_START, DBX_REGISTER_NUMBER, NO_PROFILE_COUNTERS, | |
7070 | MCOUNT_NAME, SUBTARGET_FRAME_POINTER_REQUIRED, SIZE_TYPE, | |
7071 | PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE, TARGET_OS_CPP_BUILTINS, | |
7072 | CPP_SPEC, CC1_SPEC): Remove. | |
7073 | (LINK_EMULATION): Change to GNU_USER_LINK_EMULATION. | |
7074 | (GNU_USER_DYNAMIC_LINKER): Define. | |
7075 | (ASM_SPEC, SUBTARGET_EXTRA_SPECS, LINK_SPEC, ENDFILE_SPEC, | |
7076 | ASM_OUTPUT_ALIGNED_BSS, ASM_OUTPUT_MAX_SKIP_ALIGN, | |
7077 | ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX, CRT_GET_RFIB_DATA, | |
7078 | LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT, TF_SIZE, | |
7079 | TARGET_ASM_FILE_END, STACK_CHECK_MOVING_SP, | |
7080 | STACK_CHECK_STATIC_BUILTIN, TARGET_THREAD_SSP_OFFSET, | |
7081 | TARGET_CAN_SPLIT_STACK, TARGET_THREAD_SPLIT_STACK_OFFSET): Remove. | |
7082 | * config/i386/linux64.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC, | |
7083 | CC1_SPEC, DEFAULT_PCC_STRUCT_RETURN, | |
7084 | TARGET_TLS_DIRECT_SEG_REFS_DEFAULT, SPEC_32, SPEC_64, ASM_SPEC, | |
7085 | LINK_SPEC, ENDFILE_SPEC, MULTILIB_DEFAULTS, LIBGCC2_HAS_TF_MODE, | |
7086 | LIBGCC2_TF_CEXT, TF_SIZE, TARGET_ASM_FILE_END): Remove. | |
7087 | (GNU_USER_DYNAMIC_LINKER32, GNU_USER_DYNAMIC_LINKER64): Define. | |
7088 | (STACK_CHECK_MOVING_SP, STACK_CHECK_STATIC_BUILTIN, | |
7089 | TARGET_THREAD_SSP_OFFSET, TARGET_CAN_SPLIT_STACK, | |
7090 | TARGET_THREAD_SPLIT_STACK_OFFSET): Remove. | |
7091 | * config/i386/gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
7092 | GNU_USER_DYNAMIC_LINKER. | |
7093 | * config/kfreebsd-gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
7094 | GNU_USER_DYNAMIC_LINKER. Unconditionally undefine and redefine. | |
7095 | * config/knetbsd-gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
7096 | GNU_USER_DYNAMIC_LINKER. Unconditionally undefine and redefine. | |
7097 | * config/kopensolaris-gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
7098 | GNU_USER_DYNAMIC_LINKER. Unconditionally undefine and redefine. | |
7099 | * config.gcc (i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | | |
7100 | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* | | |
7101 | i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux* | | |
d8700b1c | 7102 | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu): Use the new headers. |
e24609cf | 7103 | |
b8ce4e94 KT |
7104 | 2011-04-11 Kai Tietz <ktietz@redhat.com> |
7105 | ||
7106 | PR target/9601 | |
7107 | PR target/11772 | |
7108 | * config/i386/i386-protos.h (ix86_get_callcvt): New prototype. | |
7109 | * config/i386/i386.c (ix86_handle_cconv_attribute): Adjust | |
7110 | comment. | |
7111 | (ix86_is_msabi_thiscall): Removed. | |
7112 | (ix86_is_type_thiscall): Likewise. | |
7113 | (ix86_get_callcvt): New function. | |
7114 | (ix86_comp_type_attributes): Simplify check. | |
7115 | (ix86_function_regparm): Use ix86_get_callcvt for calling | |
7116 | convention attribute checks. | |
7117 | (ix86_return_pops_args): Likewise. | |
7118 | (ix86_static_chain): Likewise. | |
7119 | (x86_this_parameter): Likewise. | |
7120 | (x86_output_mi_thunk): Likewise. | |
7121 | (ix86_function_type_abi): Optimize check for types without attributes. | |
7122 | * config/i386/i386.h (IX86_CALLCVT_CDECL, IX86_CALLCVT_STDCALL, | |
7123 | IX86_CALLCVT_FASTCALL, IX86_CALLCVT_THISCALL, IX86_CALLCVT_REGPARM, | |
7124 | IX86_CALLCVT_SSEREGPARM): New macros to represent calling convention | |
7125 | by flag-values. | |
7126 | (IX86_BASE_CALLCVT): Helper macro. | |
7127 | * config/i386/netware.c (i386_nlm_maybe_mangle_decl_assembler_name): | |
7128 | Use ix86_get_callcvt for calling convention attribute checks and avoid | |
7129 | symbol-decoration for stdcall in TARGET_RTD case. | |
7130 | * config/i386/winnt.c (i386_pe_maybe_mangle_decl_assembler_name): | |
7131 | Likewise. | |
7132 | (gen_stdcall_or_fastcall_suffix): Adjust ident and use DECL_ORIGIN | |
7133 | for declaration. | |
7134 | ||
798dd0ba UB |
7135 | 2011-04-11 Uros Bizjak <ubizjak@gmail.com> |
7136 | ||
7137 | * config/i386/sse.md (VI_128): New mode iterator. | |
7138 | (VI12_128): Rename from SSEMODE12. | |
7139 | (VI14_128): Rename from SSEMODE14. | |
7140 | (VI124_128): New mode iterator. | |
7141 | (VI24_128): Rename from SSEMODE248. | |
7142 | (VI248_128): Rename from SSEMODE248. | |
7143 | (SSEMODE124C8): Remove. | |
7144 | (*<plusminus_insn><mode>3): Merge with *avx_<plusminus_insn><mode>3. | |
7145 | (*sse2_<plusminus_insn><mode>3): Merge with | |
7146 | *avx_<plusminus_insn><mode>3. | |
7147 | (*mulv8hi3): Merge with *avx_mulv8hi3. | |
7148 | (*<s>mulv8hi3_highpart): Merge with *avx_<s>mulv8hi3_highpart. | |
7149 | (*sse2_umulv2siv2di3): Merge with *avx_umulv2siv2di3. | |
7150 | (*sse2_pmaddwd): Merge with *avx_pmaddwd. | |
7151 | (*sse4_1_mulv4si3): Merge with *avx_mulv4si3. | |
7152 | (ashr<mode>3): Merge with *avx_ashr<mode>3. | |
7153 | (lshr<mode>3): Merge with *avx_lshr<mode>3. | |
7154 | (ashl<mode>3): Merge with *avx_ashl<mode>3. | |
7155 | (sse2_ashlv1ti3): Merge with *avx_ashlv1ti3. | |
7156 | (sse2_lshrv1ti3): Merge with *avx_lshrv1ti3. | |
7157 | (*sse4_1_<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3. | |
7158 | (*<smaxmin:code>v8hi3): Ditto. | |
7159 | (*sse4_1_<umaxmin:code><mode>3): Merge with *avx_<umaxmin:code><mode>3. | |
7160 | (*<smaxmin:code>v16qi3): Ditto. | |
7161 | (*sse4_1_eqv2di3): Merge with *avx_eq<mode>3. | |
7162 | (*sse2_eq<mode>3): Ditto. | |
7163 | (*sse4_2_eqv2di3): Merge with *avx_gt<mode>3. | |
7164 | (*sse2_gt<mode>3): Ditto. | |
7165 | (vcondv2di): Split out of vcond<mode>. | |
7166 | (vconduv2di): Split out of vcondu<mode>. | |
7167 | ||
956011be RG |
7168 | 2011-04-11 Richard Guenther <rguenther@suse.de> |
7169 | ||
7170 | * gimplify.c (gimple_fold_indirect_ref): Check host_integerp | |
7171 | before calling tree_low_cst. | |
7172 | ||
e6313a78 RG |
7173 | 2011-04-11 Richard Guenther <rguenther@suse.de> |
7174 | ||
7175 | * stor-layout.c (layout_type): Compute all array index size operations | |
7176 | in the original type. | |
7177 | (initialize_sizetypes): Add comment. | |
7178 | (set_sizetype): Do not set TREE_TYPE of a TREE_VEC. | |
7179 | ||
e69d7376 JM |
7180 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
7181 | ||
7182 | * common.opt (Tbss=, Tdata=, Ttext=): New options. | |
7183 | ||
9f9ebcdf MJ |
7184 | 2011-04-11 Martin Jambor <mjambor@suse.cz> |
7185 | ||
7186 | * cgraph.c (cgraph_local_info): Call cgraph_get_node instead | |
7187 | of cgraph_node, handle NULL return value. | |
7188 | (cgraph_global_info): Likewise. | |
7189 | (cgraph_rtl_info): Likewise. | |
7190 | * tree-inline.c (estimate_num_insns): Likewise. | |
7191 | * gimplify.c (unshare_body): Likewise. | |
7192 | (unvisit_body): Likewise. | |
7193 | (gimplify_body): Likewise. | |
7194 | * predict.c (optimize_function_for_size_p): Likewise. | |
7195 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise. | |
7196 | (call_may_clobber_ref_p_1): Likewise. | |
7197 | * varasm.c (function_section_1): Likewise. | |
7198 | (assemble_start_function): Likewise. | |
7199 | ||
581985d7 MJ |
7200 | 2011-04-11 Martin Jambor <mjambor@suse.cz> |
7201 | ||
7202 | * except.c (set_nothrow_function_flags): Call cgraph_get_node instead | |
7203 | of cgraph_node. | |
7204 | * final.c (rest_of_clean_state): Likewise. | |
7205 | * gimple-iterator.c (update_call_edge_frequencies): Likewise. | |
7206 | * passes.c (pass_init_dump_file): Likewise. | |
7207 | (execute_all_ipa_transforms): Likewise. | |
7208 | (function_called_by_processed_nodes_p): Likewise. | |
7209 | * predict.c (maybe_hot_frequency_p): Likewise. | |
7210 | (probably_never_executed_bb_p): Likewise. | |
7211 | (compute_function_frequency): Likewise. | |
7212 | * tree-nested.c (check_for_nested_with_variably_modified): Likewise. | |
7213 | (unnest_nesting_tree_1): Likewise. | |
7214 | (lower_nested_functions): Likewise. | |
7215 | * tree-optimize.c (execute_fixup_cfg): Likewise. | |
7216 | (tree_rest_of_compilation): Likewise. | |
7217 | * tree-profile.c (gimple_gen_ic_func_profiler): Likewise. | |
7218 | * tree-sra.c (ipa_early_sra): Likewise. | |
7219 | * tree-ssa-loop-ivopts.c (computation_cost): Likewise. | |
7220 | * config/i386/i386.c (ix86_compute_frame_layout): Likewise. | |
7221 | * ipa.c (record_cdtor_fn): Likewise. | |
7222 | * ipa-inline.c (cgraph_early_inlining): Likewise. | |
7223 | (compute_inline_parameters_for_current): Likewise. | |
7224 | * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise. | |
7225 | * ipa-pure-const.c (local_pure_const): Likewise. | |
7226 | * ipa-split.c (split_function): Likewise. | |
7227 | (execute_split_functions): Likewise. | |
7228 | * cgraphbuild.c (build_cgraph_edges): Likewise. | |
7229 | (rebuild_cgraph_edges): Likewise. | |
7230 | (cgraph_rebuild_references): Likewise. | |
7231 | (remove_cgraph_callee_edges): Likewise. | |
7232 | * cgraphunit.c (cgraph_mark_if_needed): Likewise. | |
7233 | (verify_cgraph_node): Likewise. | |
7234 | (cgraph_analyze_functions): Likewise. | |
7235 | (cgraph_preserve_function_body_p): Likewise. | |
7236 | (save_inline_function_body): Likewise. | |
7237 | (save_inline_function_body): Likewise. | |
7238 | * tree-inline.c (copy_bb): Likewise. | |
7239 | (optimize_inline_calls): Likewise. | |
7240 | ||
57dbdc5a MJ |
7241 | 2011-04-11 Martin Jambor <mjambor@suse.cz> |
7242 | ||
7243 | PR tree-optimization/48195 | |
7244 | * ipa-cp.c (ipcp_driver): Call ipa_check_create_node_params and | |
7245 | ipa_check_create_edge_args. | |
7246 | (ipcp_generate_summary): Do not call ipa_check_create_node_params and | |
7247 | ipa_check_create_edge_args. | |
7248 | * ipa-inline.c (inline_generate_summary): Do not call | |
7249 | ipa_check_create_node_params and ipa_check_create_edge_args. | |
7250 | * ipa-prop.c (ipa_analyze_node): Call ipa_check_create_node_params and | |
7251 | ipa_check_create_edge_args. | |
7252 | ||
d108e679 AS |
7253 | 2011-04-09 Anatoly Sokolov <aesok@post.ru> |
7254 | ||
7255 | * expr.c (expand_expr_real_1): Use add_to_hard_reg_set function | |
7256 | instead of loop. | |
7257 | * sel-sched.c (mark_unavailable_hard_regs): Likewise. | |
7258 | * function.c (record_hard_reg_sets): Likewise. | |
7259 | * ira.c (compute_regs_asm_clobbered): Likewise. | |
7260 | * sched-deps.c (sched_analyze_1): Likewise. | |
7261 | * reload1.c (mark_reload_reg_in_use, choose_reload_regs): Likewise. | |
7262 | ||
3411bc59 XDL |
7263 | 2011-04-09 Xinliang David Li <davidxl@google.com> |
7264 | ||
7265 | PR tree-optimization/PR48484 | |
7266 | * tree-ssa-uninit.c (convert_control_dep_chain_into_preds): Set | |
7267 | has_valid_pred lazily | |
7268 | ||
b365495a DS |
7269 | 2011-04-09 Duncan Sands <baldrick@free.fr> |
7270 | ||
7271 | * tree.c (array_type_nelts): Bail out if TYPE_MAX_VALUE not set. | |
7272 | ||
68bc509a EB |
7273 | 2011-04-08 Eric Botcazou <ebotcazou@adacore.com> |
7274 | ||
7275 | * combine.c (combine_validate_cost): Adjust comments. Set registered | |
7276 | cost of I0 to zero at the end, if any. | |
7277 | ||
041e059f XDL |
7278 | 2011-04-08 Xinliang David Li <davidxl@google.com> |
7279 | ||
68bc509a EB |
7280 | * ipa-cp.c (ipcp_update_profiling): Correct negative scale factor due |
7281 | to insane profile data. | |
041e059f | 7282 | |
444b3995 XDL |
7283 | 2011-04-08 Xinliang David Li <davidxl@google.com> |
7284 | ||
7285 | * ipa-cp.c (ipcp_update_profiling): Correct | |
7286 | negative scale factor due to insane profile data. | |
7287 | ||
6a801cf2 XDL |
7288 | 2011-04-08 Xinliang David Li <davidxl@google.com> |
7289 | ||
7290 | * final.c (dump_basic_block_info): New function. | |
7291 | (final): Dump basic block. | |
7292 | (final_scan_insn): Remove old dump. | |
7293 | ||
d5f3624e SK |
7294 | 2011-04-08 Steven G. Kargl <kargl@gcc.gnu.org> |
7295 | ||
68bc509a EB |
7296 | PR target/47829 |
7297 | * config.gcc (i386-*-freebsd): Disable unwind table generation for | |
7298 | crtbegin/crtend. | |
d5f3624e | 7299 | |
42821aff MM |
7300 | 2011-04-08 Michael Matz <matz@suse.de> |
7301 | ||
7302 | PR middle-end/48389 | |
7303 | * jump.c (rebuild_jump_labels_1, rebuild_jump_labels_chain): New | |
7304 | functions. | |
7305 | (rebuild_jump_labels): Call rebuild_jump_labels_1. | |
7306 | * rtl.h (rebuild_jump_labels_chain): Declare. | |
7307 | * cfgexpand.c (gimple_expand_cfg): Initialize JUMP_LABEL also on | |
7308 | insns inserted on edges. | |
7309 | ||
ad7be009 JM |
7310 | 2011-04-08 Joseph Myers <joseph@codesourcery.com> |
7311 | ||
7312 | * config.gcc (arm*-*-*): Add arm/arm-tables.opt to extra_options. | |
7313 | * config/arm/arm-arches.def: New. | |
7314 | * config/arm/arm-opts.h: New. | |
7315 | * config/arm/genopt.sh: New. | |
7316 | * config/arm/arm-tables.opt: New (generated). | |
7317 | * config/arm/arm.c (arm_handle_option, arm_target_help, | |
7318 | TARGET_HANDLE_OPTION, TARGET_HELP, arm_find_cpu): Remove. | |
7319 | (all_architectures): Get most table contents from arm-arches.def. | |
7320 | (arm_option_override): Set arm_selected_arch, arm_selected_cpu and | |
7321 | arm_selected_tune here. | |
7322 | * config/arm/arm.h (enum processor_type): Move to arm-opts.h. | |
7323 | * config/arm/arm.opt (config/arm/arm-opts.h): New HeaderInclude. | |
7324 | (march=, mcpu=, mtune=): Use Enum and Var. | |
7325 | * config/arm/t-arm ($(srcdir)/config/arm/arm-tables.opt): New. | |
7326 | (arm.o): Update dependencies. | |
ecbb6fb7 | 7327 | |
42821aff | 7328 | 2011-04-08 Basile Starynkevitch <basile@starynkevitch.net> |
ecbb6fb7 BS |
7329 | |
7330 | * gengtype.c (write_typed_alloc_def): New argument f. Use it instead | |
7331 | of header_file. | |
7332 | (write_typed_struct_alloc_def, write_typed_typedef_alloc_def) | |
7333 | (write_typed_alloc_defns): Likewise. | |
7334 | (main): Calls write_typed_alloc_defns with output_header. | |
7335 | ||
8d189b3f VM |
7336 | 2011-04-08 Vladimir Makarov <vmakarov@redhat.com> |
7337 | ||
68bc509a | 7338 | PR inline-asm/48435 |
8d189b3f VM |
7339 | * ira-color.c (setup_profitable_hard_regs): Add comments. |
7340 | Don't take prohibited hard regs into account. | |
7341 | (setup_conflict_profitable_regs): Rename to | |
7342 | get_conflict_profitable_regs. | |
7343 | (check_hard_reg_p): Check prohibited hard regs. | |
7344 | ||
44f370bf NF |
7345 | 2011-04-08 Nathan Froyd <froydnj@codesourcery.com> |
7346 | ||
7347 | * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Call use_reg. | |
7348 | * config/xtensa/xtensa.c (xtensa_call_tls_desc): Likewise. | |
7349 | * config/sparc/sparc.c (sparc_legitimize_tls_address): Likewise. | |
7350 | ||
483d7ad3 JDA |
7351 | 2011-04-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
7352 | ||
7353 | PR target/48366 | |
7354 | * config/pa/pa.c (hppa_register_move_cost): Increase to 18 cost of | |
b8a17fa2 | 7355 | move from floating point to shift amount register. |
483d7ad3 JDA |
7356 | (emit_move_sequence): Remove secondary reload support for floating |
7357 | point to shift amount amount register copies. | |
7358 | (pa_secondary_reload): Return GENERAL_REGS for floating point/shift | |
7359 | amount register copies. | |
7360 | * config/pa/pa32-regs.h (HARD_REGNO_MODE_OK): For shift amount | |
7361 | register, return false if mode isn't a scalar integer mode. | |
7362 | * config/pa/pa64-regs.h (HARD_REGNO_MODE_OK): Likewise. | |
7363 | ||
97e03fa1 RG |
7364 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
7365 | ||
7366 | * gimple.c (gimple_call_flags): Remove kludge. | |
7367 | ||
9d40778b AM |
7368 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
7369 | ||
7370 | * sel-sched.c (sel_region_init): Move call to | |
7371 | sel_setup_region_sched_flags after setup_current_loop_nest. | |
7372 | ||
19ac7892 AB |
7373 | 2011-04-08 Andrey Belevantsev <abel@ispras.ru> |
7374 | ||
7375 | PR rtl-optimization/48272 | |
19ac7892 AB |
7376 | * sched-deps.c (setup_insn_reg_pressure_info): Export and rename to |
7377 | init_insn_reg_pressure_info. Adjust a caller. | |
7378 | * sched-int.h (init_insn_reg_pressure_info): Declare. | |
7379 | * haifa-sched.c (haifa_init_insn): Call init_insn_reg_pressure_info | |
7380 | when sched-pressure is enabled. | |
7381 | ||
0f8c63cc RG |
7382 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
7383 | ||
7384 | * gimple.c (gimple_set_modified): Do not queue calls to | |
7385 | MODIFIED_NORETURN_CALLS here ... | |
7386 | * tree-ssa-operands.c (update_stmt_operands): ... but here. | |
7387 | ||
5e5a425e RG |
7388 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
7389 | ||
7390 | PR lto/48467 | |
7391 | * toplev.c (lang_dependent_init): Do not open asm_out_file | |
7392 | in WPA mode, nor perform debug machinery initialization. | |
7393 | (finalize): Do not unlink asm_out_file in WPA mode. | |
7394 | ||
9bfc434b RG |
7395 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
7396 | ||
7397 | * gimple.h (gimple_call_fntype): New function. | |
7398 | (gimple_call_return_type): Use it. | |
7399 | * expr.c (expand_expr_real_1): Use gimple_call_fntype. | |
7400 | * gimple-low.c (gimple_check_call_args): Likewise. | |
7401 | * gimple.c (gimple_call_flags): Likewise. | |
7402 | (gimple_call_arg_flags): Likewise. | |
7403 | (gimple_call_return_flags): Likewise. | |
7404 | * tree-cfg.c (verify_gimple_call): Likewise. | |
7405 | (do_warn_unused_result): Likewise. | |
7406 | * tree-ssa-ccp.c (ccp_fold_stmt): Likewise. | |
7407 | * value-prof.c (gimple_ic_transform): Fix fndecl check. | |
7408 | ||
7c1f0b40 DM |
7409 | 2011-04-08 Dmitry Melnik <dm@ispras.ru> |
7410 | ||
7411 | PR rtl-optimization/48235 | |
7412 | * sel-sched.c (code_motion_process_successors): Recompute the last | |
7413 | insn in basic block if control flow changed. | |
7414 | (code_motion_path_driver): Ditto. Recompute the first insn as well. | |
7415 | Update condition for ilist_remove. | |
7416 | ||
ea4d630f AM |
7417 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
7418 | ||
7419 | PR rtl-optimization/48302 | |
7420 | * sel-sched-ir.h (sel_add_loop_preheaders): Update prototype. | |
7421 | * sel-sched-ir.c (sel_add_loop_preheaders): Add 'bbs' argument. Use | |
7422 | it to record added preheader blocks. | |
7423 | * sel-sched.c (setup_current_loop_nest): Add 'bbs' argument. Pass it | |
7424 | on to sel_add_loop_preheaders. | |
7425 | (sel_region_init): Move call to setup_current_loop_nest after | |
7426 | sel_init_bbs. | |
7427 | ||
07643d76 AM |
7428 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
7429 | ||
7430 | PR target/48273 | |
7431 | * cfgloop.h (loop_has_exit_edges): New helper. | |
7432 | * sel-sched-ir.c (init_global_and_expr_for_insn): Make CALLs | |
7433 | non-clonable. | |
7434 | * sel-sched.c (sel_setup_region_sched_flags): Don't pipeline loops | |
7435 | that have no exit edges. | |
7436 | ||
1f3b2b4e AM |
7437 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
7438 | ||
7439 | PR rtl-optimization/48442 | |
7440 | * sel-sched.c (init_seqno): Remove number_of_insns argument. Update | |
7441 | all callers. Adjust assert. | |
7442 | ||
554f1948 JJ |
7443 | 2011-04-08 Jakub Jelinek <jakub@redhat.com> |
7444 | ||
7445 | PR tree-optimization/48377 | |
7446 | * tree-vect-data-refs.c (vector_alignment_reachable_p): Set | |
7447 | is_packed to true even for types with smaller TYPE_ALIGN than | |
7448 | TYPE_SIZE. | |
7449 | ||
ddf72388 RG |
7450 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
7451 | ||
7452 | PR bootstrap/48513 | |
7453 | * doc/tm.texi: Re-generate. | |
7454 | ||
0c27e2d8 WG |
7455 | 2011-04-08 Wei Guozhi <carrot@google.com> |
7456 | ||
7457 | PR target/47855 | |
7458 | * config/arm/arm-protos.h (arm_attr_length_push_multi): New prototype. | |
7459 | * config/arm/arm.c (arm_attr_length_push_multi): New function. | |
7460 | * config/arm/arm.md (*push_multi): Change the length computation to | |
7461 | call a C function. | |
7462 | ||
07c5f94e AS |
7463 | 2011-04-08 Anatoly Sokolov <aesok@post.ru> |
7464 | ||
7465 | * doc/tm.texi.in (ASM_OUTPUT_BSS): Remove documentation. | |
7466 | (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): Update documentation. | |
7467 | * doc/tm.texi: Regenerate. | |
7468 | * system.h (ASM_OUTPUT_BSS): Poison. | |
7469 | * varasm.c (asm_output_bss): Remove function. | |
7470 | (emit_bss, init_varasm_once): Don't use ASM_OUTPUT_BSS macro. | |
798dd0ba | 7471 | |
07c5f94e AS |
7472 | * config/frv/frv.h (BSS_SECTION_ASM_OP): Remove comment. |
7473 | * config/frv/fr30.h (BSS_SECTION_ASM_OP): Likewise. | |
7474 | * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Likewise. | |
7475 | * config/i386/i386elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
7476 | Likewise. | |
7477 | * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
7478 | Likewise. | |
7479 | * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
7480 | Likewise. | |
7481 | * config/m68k/netbsd-elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. | |
7482 | ||
5f2c36e1 JM |
7483 | 2011-04-07 Joseph Myers <joseph@codesourcery.com> |
7484 | ||
7485 | * config/rx/rx.opt (rx610, rx200, rx600): Use Enum not Name on | |
7486 | EnumValue lines. | |
7487 | ||
39e7722b JM |
7488 | 2011-04-07 Joseph Myers <joseph@codesourcery.com> |
7489 | ||
7490 | * config/m68k/m68k.c (m68k_handle_option): Don't handle | |
7491 | OPT_m68000, OPT_mc68000, OPT_m68010, OPT_m68020, OPT_mc68020, | |
7492 | OPT_m68030, OPT_m68040, OPT_m68060, OPT_m68302, OPT_m68332 and | |
7493 | OPT_mcpu32. | |
7494 | * config/m68k/m68k.h (OPTION_DEFAULT_SPECS, ASM_CPU_SPEC): Don't | |
7495 | handle -mc68000, -m68000, -m68302, -m68010, -mc68020, -m68020, | |
7496 | -m68030, -m68040, -m68060, -mcpu32 and -m68332. | |
7497 | * config/m68k/m68k.opt (m68000, m68010, m68020, m68030, m68040, | |
7498 | m68060, m68302, m68332, mc68000, mc68020, mcpu32): Use Alias. | |
7499 | * config/m68k/t-mlibs (CANONICALIZE_OPTIONS): Remove. | |
7500 | (MULTILIB_OPTIONS): Don't use $(CANONICALIZE_OPTIONS). | |
7501 | (MULTILIB_MATCHES): Map -march= options to corresponding -mcpu= | |
7502 | options. Don't map other m68k options manually. Don't handle | |
7503 | old-style options as canonical. | |
7504 | (MULTILIB_EXCEPTIONS): Don't use $(CANONICALIZE_OPTIONS). | |
798dd0ba | 7505 | * doc/install.texi (m68k-*-*): Document binutils version requirement. |
39e7722b | 7506 | |
cf103ca4 EB |
7507 | 2011-04-07 Eric Botcazou <ebotcazou@adacore.com> |
7508 | ||
7509 | * basic-block.h (force_nonfallthru): Move to... | |
7510 | * cfghooks.h (struct cfg_hooks): Add force_nonfallthru hook. | |
7511 | (force_nonfallthru): ...here. | |
7512 | * cfghooks.c (force_nonfallthru): New function. | |
7513 | * cfgrtl.c (force_nonfallthru): Rename into... | |
7514 | (rtl_force_nonfallthru): ...this. | |
7515 | (commit_one_edge_insertion): Do not set AUX field. | |
7516 | (commit_edge_insertions): Do not discover new basic blocks. | |
7517 | (rtl_cfg_hooks): Add rtl_force_nonfallthru. | |
7518 | (cfg_layout_rtl_cfg_hooks): Likewise. | |
7519 | * function.c (thread_prologue_and_epilogue_insns): Remove bogus | |
7520 | ATTRIBUTE_UNUSED. Discover new basic blocks in the prologue insns. | |
7521 | * tree-cfg.c (gimple_cfg_hooks): Add NULL for force_nonfallthru. | |
7522 | ||
14431f58 AS |
7523 | 2011-04-07 Anatoly Sokolov <aesok@post.ru> |
7524 | ||
7525 | * config/mips/mips.h (REG_MODE_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): | |
7526 | Remove macros. | |
7527 | ||
3729983c UB |
7528 | 2011-04-07 Uros Bizjak <ubizjak@gmail.com> |
7529 | ||
7530 | * config/i386/sse.md: Update copyright year. | |
7531 | (avxcvtvecmode): Remove. | |
7532 | (sse_movhlps): Merge with *avx_movhlps. | |
7533 | (sse_movlhps): Merge with *avx_movlhps. | |
7534 | (vec_interleave_highv4sf): Merge with *avx_interleave_highv4sf. | |
7535 | (vec_interleave_lowv4sf): Merge with *avx_interleave_lowv4sf. | |
7536 | (sse_shufps_<mode>): Merge with *avx_shufps_<mode>. | |
7537 | (sse_loadhps): Merge with *avx_loadhps. | |
7538 | (sse_storelps): Merge with *avx_storelps. | |
7539 | (sse_loadlps): Merge with *avx_loadlps. | |
7540 | (sse_movss): Merge with *avx_movss. | |
7541 | (*vec_concatv2sf_sse4_1): Merge with *vec_concatv2sf_avx. | |
7542 | (*vec_concatv4sf_sse): Merge with *vec_concatv4sf_avx. | |
7543 | (*vec_set<mode>_0_sse4_1): Merge with *vec_set<mode>_0_avx. | |
7544 | (*vec_set<mode>_0_sse2): Split multi-unit alternative. | |
7545 | (vec_set<mode>_0): Ditto. | |
7546 | (*vec_setv4sf_sse4_1): Merge with *vec_setv4sf_avx. | |
7547 | (sse4_1_insertps): Merge with *avx_insertps. | |
7548 | (*sse3_interleave_highv2df): Merge with *avx_interleave_highv2df. | |
7549 | (*sse3_interleave_lowv2df): Merge with *avx_interleave_lowv2df. | |
7550 | (vec_interleave_highv2di): Merge with *avx_interleave_highv2di. | |
7551 | (sse2_shufpd_<mode>): Merge with *avx_shufpd_<mode>. | |
7552 | (sse2_storehpd): Merge with *avx_storehpd. | |
7553 | (sse2_loadhpd): Merge with *avx_loadhpd. | |
7554 | (sse2_loadlpd): Merge with *avx_loadlpd. | |
7555 | (sse2_movsd): Merge with *avx_movsd. | |
7556 | (*vec_concatv2df): Merge with *vec_concatv2df. | |
7557 | ||
4e626909 JJ |
7558 | 2011-04-07 Jakub Jelinek <jakub@redhat.com> |
7559 | ||
7560 | PR debug/48343 | |
7561 | * combine.c (combine_instructions): Add last_combined_insn, | |
3729983c | 7562 | update it if insn is after it, pass it to all try_combine calls. |
4e626909 JJ |
7563 | (try_combine): Add last_combined_insn parameter, pass it instead of |
7564 | i3 to propagate_for_debug. | |
7565 | ||
3729983c | 7566 | 2011-04-07 Nick Clifton <nickc@redhat.com> |
5a10b0a9 NC |
7567 | |
7568 | * config/mn10300/mn10300.md (movqi_internal): Add alternatives | |
7569 | to handle MDR <-> data register transfers. | |
7570 | (movhi_internal): Likewise. | |
7571 | ||
20c03367 AM |
7572 | 2011-04-07 Alan Modra <amodra@gmail.com> |
7573 | ||
7574 | * config/rs6000/rs6000.c (rs6000_stack_info): Don't compare against | |
7575 | previous stack info. | |
7576 | ||
bf22920b TV |
7577 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
7578 | ||
7579 | PR target/43920 | |
7580 | * cfgcleanup.c (try_crossjump_to_edge): Add dir parameter. Pass dir to | |
7581 | flow_find_cross_jump. Swap variables to implement backward replacement. | |
7582 | (try_crossjump_bb): Add argument to try_crossjump_to_edge. | |
7583 | ||
823918ae TV |
7584 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
7585 | ||
7586 | PR target/43920 | |
7587 | * cfgcleanup.c (walk_to_nondebug_insn): New function. | |
3729983c UB |
7588 | (flow_find_cross_jump): Use walk_to_nondebug_insn. Recalculate bb1 |
7589 | and bb2. | |
7590 | (try_crossjump_to_edge): Handle case that newpos1 or newpos2 is not | |
7591 | src1 or src2. Redirect edges to the last basic block. Update | |
7592 | frequency and count on multiple basic blocks in case of fallthru. | |
823918ae | 7593 | |
472c95f5 TV |
7594 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
7595 | ||
7596 | PR target/43920 | |
7597 | * cfgcleanup.c (equal_different_set_p, can_replace_by, merge_dir): New | |
7598 | function. | |
3729983c UB |
7599 | (old_insns_match_p): Change return type. Replace return false/true |
7600 | with return dir_none/dir_both. Use can_replace_by. | |
7601 | (flow_find_cross_jump): Add dir_p parameter. Init replacement | |
7602 | direction from dir_p. Register replacement direction in dir, last_dir | |
7603 | and afterlast_dir. Handle new return type of old_insns_match_p using | |
472c95f5 TV |
7604 | merge_dir. Return replacement direction in dir_p. |
7605 | (flow_find_head_matching_sequence, outgoing_edges_match): Handle new | |
7606 | return type of old_insns_match_p. | |
7607 | (try_crossjump_to_edge): Add argument to call to flow_find_cross_jump. | |
7608 | * ifcvt.c ( cond_exec_process_if_block): Add argument to call to | |
7609 | flow_find_cross_jump. | |
7610 | * basic-block.h (enum replace_direction): New type. | |
7611 | (flow_find_cross_jump): Add parameter to declaration. | |
7612 | ||
a95d4000 UB |
7613 | 2011-04-06 Uros Bizjak <ubizjak@gmail.com> |
7614 | ||
7615 | * config/i386/sse.md (AVXMODEDCVTDQ2PS): Remove. | |
7616 | (AVXMODEDCVTPS2DQ): Ditto. | |
7617 | (VEC_FLOAT_MODE): Ditto. | |
7618 | (<sse>_andnot<mode>3): Merge with avx_andnot<mode>3. Use VF mode | |
7619 | iterator. Handle TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL target flag. | |
7620 | (<any_logic:code><mode>3): Use VF mode iterator. | |
7621 | (*<any_logic:code><mode>3): Merge with *avx_<any_logic:code><mode>3. | |
7622 | Use VF mode iterator. | |
7623 | (copysign<mode>3): Use VF mode iterator. | |
7624 | (*andnot<MODEF:mode>3): Merge with *avx_andnot<MODEF:mode>3. Handle | |
7625 | TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL target flag. | |
7626 | (*<any_logic:code><MODEF:mode>3): Merge with | |
7627 | *avx_<any_logic:code><MODEF:mode>3. | |
7628 | (sse_cvtsi2ss): Merge with *avx_cvtsi2ss. | |
7629 | (sse_cvtsi2ssq): Merge with *avx_cvtsi2ssq. | |
7630 | (avx_cvtdq2ps256): Split from avx_cvtdq2ps<avxmodesuffix>. | |
7631 | (avx_cvtdq2ps<avxmodesuffix>): Remove. | |
7632 | (sse2_cvtdq2ps): Use %v modifier. | |
7633 | (avx_cvtps2dq256): Split from avx_cvtps2dq<avxmodesuffix>. | |
7634 | (avx_cvtps2dq<avxmodesuffix>): Remove. | |
7635 | (sse2_cvtps2dq): Use %v modifier. | |
7636 | (avx_cvttps2dq256): Split from avx_cvttps2dq<avxmodesuffix>. | |
7637 | (avx_cvttps2dq<avxmodesuffix>): Remove. | |
7638 | (sse2_cvttps2dq): Use %v modifier. | |
7639 | (sse2_cvtsi2sd): Merge with *avx_cvtsi2sd. | |
7640 | (sse2_cvtsi2sdq): Merge with *avx_cvtsi2sdq. | |
7641 | (sse2_cvtsd2siq): Fix insn template. | |
7642 | (sse2_cvtsd2siq_2): Ditto. | |
7643 | (sse2_cvttsd2siq): Ditto. | |
7644 | (sse2_cvtsd2ss): Merge with *avx_cvtsd2ss. | |
7645 | (sse2_cvtss2sd): Merge with *avx_cvtss2sd. | |
7646 | ||
ad01c437 JM |
7647 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
7648 | ||
7649 | * gcov-io.c: Use GCC Runtime Library Exception. | |
7650 | ||
fe846284 JJ |
7651 | 2011-04-06 Jakub Jelinek <jakub@redhat.com> |
7652 | ||
7653 | PR debug/48466 | |
7654 | * dwarf2out.c (based_loc_descr): If drap_reg is INVALID_REGNUM, use | |
7655 | as base_reg whatever register reg has been eliminated to, instead | |
7656 | of hardcoding STACK_POINTER_REGNUM. | |
7657 | ||
acce4e77 JM |
7658 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
7659 | ||
7660 | * doc/tm.texi.in: Document C target hooks as separate from general | |
7661 | target hooks. | |
7662 | * doc/tm.texi: Regenerate. | |
7663 | * genhooks.c (struct hook_desc): Add docname field. | |
7664 | (HOOK_VECTOR_1, DEFHOOKPOD, DEFHOOK, DEFHOOK_UNDOC). Initialize | |
7665 | docname field. | |
7666 | (hook_array): Include c-target.def. | |
7667 | (emit_documentation): Use docname field in output. | |
7668 | (emit_init_macros): Take docname argument. Only emit definitions | |
7669 | for hooks matching docname. | |
7670 | (main): Expect additional arguments in all cases. Pass argument | |
7671 | to emit_init_macros. | |
7672 | * target.def: Move initial macro definitions and comments to | |
7673 | target-hooks-macros.h. | |
7674 | (gcc_targetcm): Move to c-family/c-target.def. | |
7675 | * target.h (targetcm): Move declaration to c-family/c-target.h. | |
7676 | * targhooks.c (default_handle_c_option): Move to | |
7677 | c-family/c-opts.c. | |
7678 | * targhooks.h (default_handle_c_option): Move declaration to | |
7679 | c-family/c-common.h. | |
7680 | * target-hooks-macros.h: New file. | |
7681 | * config.gcc (target_has_targetcm): Define and use to add to | |
7682 | c_target_objs and cxx_target_objs. | |
7683 | * config/default-c.c: New file. | |
7684 | * config/darwin-c.c: Include c-target.h and c-target-def.h instead | |
7685 | of target.h and target-def.h. | |
7686 | (TARGET_HANDLE_C_OPTION, targetcm): Define later in file. | |
7687 | (darwin_objc_construct_string, darwin_cfstring_ref_p, | |
7688 | darwin_check_cfstring_format_arg): Make static. | |
7689 | (TARGET_OBJC_CONSTRUCT_STRING_OBJECT, | |
7690 | TARGET_STRING_OBJECT_REF_TYPE_P, | |
7691 | TARGET_CHECK_STRING_OBJECT_FORMAT_ARG): Define here. | |
7692 | * config/darwin-protos.h (darwin_objc_construct_string, | |
7693 | darwin_cfstring_ref_p, darwin_check_cfstring_format_arg): Don't | |
7694 | declare. | |
7695 | * config/darwin.h (TARGET_OBJC_CONSTRUCT_STRING_OBJECT, | |
7696 | TARGET_STRING_OBJECT_REF_TYPE_P, | |
a95d4000 | 7697 | TARGET_CHECK_STRING_OBJECT_FORMAT_ARG, TARGET_HAS_TARGETCM): Remove. |
acce4e77 JM |
7698 | * config/t-darwin (darwin-c.o): Update dependencies. |
7699 | * system.h (TARGET_HAS_TARGETCM): Poison. | |
7700 | * Makefile.in (TARGET_H): Update. | |
7701 | (TARGET_DEF, C_TARGET_DEF, C_TARGET_H, C_TARGET_DEF_H): Define. | |
7702 | (c-family/c-format.o, c-family/c-opts.o): Update dependencies. | |
7703 | (default-c.o): New target. | |
7704 | (s-target-hooks-def-h): Pass "Target Hook" string to genhooks. | |
a95d4000 | 7705 | (c-family/c-target-hooks-def.h, s-c-target-hooks-def-h): New targets. |
acce4e77 JM |
7706 | (s-tm-texi): Pass -d option to genhooks. Also test timestamp on |
7707 | c-target.def. | |
7708 | (build/genhooks.o): Update dependencies. | |
7709 | ||
275b4baa | 7710 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
a95d4000 | 7711 | |
275b4baa RG |
7712 | * ipa-inline.c (enum inlining_mode): Remove. |
7713 | (cgraph_flatten): Use some other token. | |
7714 | (cgraph_edge_early_inlinable_p): New function, split out from ... | |
7715 | (cgraph_perform_always_inlining): New function, split out from ... | |
7716 | (cgraph_decide_inlining_incrementally): ... here. | |
7717 | (cgraph_mark_inline_edge): Adjust. | |
7718 | (cgraph_early_inlining): Re-structure. | |
7719 | (pass_early_inline): Require SSA form. | |
7720 | ||
f15b8bdf | 7721 | 2011-04-06 Andrew Stubbs <ams@codesourcery.com> |
9adc580c AS |
7722 | Julian Brown <julian@codesourcery.com> |
7723 | Mark Shinwell <shinwell@codesourcery.com> | |
7724 | ||
7725 | * config/arm/arm.h (arm_class_likely_spilled_p): Check against | |
7726 | LO_REGS only for Thumb-1. | |
7727 | (MODE_BASE_REG_CLASS): Restrict base registers to those which can | |
7728 | be used in short instructions when optimising for size on Thumb-2. | |
7729 | ||
516426da EB |
7730 | 2011-04-06 Eric Botcazou <ebotcazou@adacore.com> |
7731 | ||
7732 | * gimple-low.c (lower_gimple_return): When not optimizing, force labels | |
7733 | associated with user returns to be preserved. | |
7734 | ||
96621ebf TG |
7735 | 2011-04-06 Tristan Gingold <gingold@adacore.com> |
7736 | ||
f15b8bdf EB |
7737 | * dbxout.c (debug_nesting, symbol_queue, symbol_queue_index, |
7738 | symbol_queue_size, DBXOUT_DECR_NESTING, | |
96621ebf TG |
7739 | (DBXOUT_DECR_NESTING_AND_RETURN): Also define |
7740 | if XCOFF_DEBUGGING_INFO. | |
7741 | ||
07c0852e UB |
7742 | 2011-04-06 Uros Bizjak <ubizjak@gmail.com> |
7743 | ||
7744 | * config/i386/i386.md (attribute isa): New. | |
7745 | (attribute enabled): New. | |
7746 | (setcc_<mode>_sse): Merge from *{avx,sse}_setcc<mode>. | |
7747 | (*fop_<mode>_comm_mixed): Merge with *fop_<mode>_comm_mixed_avx. | |
7748 | (*fop_<mode>_comm_sse): Merge with *fop_<mode>_comm_avx. | |
7749 | (*fop_<mode>_1_mixed): Merge with *fop_<mode>_1_mixed_avx. | |
7750 | (*fop_<mode>_1_sse): Merge with *fop_<mode>_1_avx. | |
7751 | (<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3. | |
7752 | (*ieee_smin<mode>3): Merge with *avx_ieee_smin<mode>3. | |
7753 | (*ieee_smax<mode>3): Merge with *avx_ieee_smax<mode>3. | |
7754 | ||
7755 | * config/i386/sse.md (VF): New mode iterator. | |
7756 | (VF1): Ditto. | |
7757 | (VF2): Ditto. | |
7758 | (VF_128): Ditto. | |
7759 | (SSEMODEF4): Remove. | |
7760 | (attribute sse): Handle V8SF and V4DF modes. | |
7761 | (<absneg:code><mode>2): Use VF mode iterator. | |
7762 | (*absneg<mode>2): Merge from *{avx,sse}_absneg<mode>2. Use VF | |
7763 | mode iterator. | |
7764 | (<plusminus_insn><mode>3): Use VF mode iterator. | |
7765 | (*<plusminus_insn><mode>3): Merge with *avx_<plusminus_insn><mode>3. | |
7766 | Use VF mode iterator. | |
7767 | (<sse>_vm<plusminus_insn><mode>3): Merge with | |
7768 | *avx_vm<plusminus_insn><mode>3. Use VF_128 mode iterator. | |
7769 | (mul<mode>3): Use VF mode iterator. | |
7770 | (*mul<mode>3): Merge with *avx_mul<mode>3. Use VF mode iterator. | |
7771 | (<sse>_vmmul<mode>3): Merge with *avx_vmmul<mode>3. Use VF_128 | |
7772 | mode iterator. | |
7773 | (div<VF2:mode>3): Merge from divv2df3 and divv4df3. | |
7774 | (div<VF1:mode>3): Merge from divv4sf3 and divv8sf3. | |
7775 | (<sse>_div<mode>3): Merge with *avx_div<mode>3. Use VF mode iterator. | |
7776 | (<sse>_vmdiv<mode>3): Merge with *avx_vmdiv<mode>3. Use VF_128 | |
7777 | mode iterator. | |
7778 | (<sse>_rcp<mode>2): Merge from avx_rcpv8sf2 and sse_rcpv4sf2. | |
7779 | Use VF1 mode iterator. | |
7780 | (sse_vmrcpv4sf2): Merge with *avx_vmrcpv4sf2. | |
7781 | (sqrt<VF2:mode>2): New expander. | |
7782 | (sqrt<VF1:mode>2): Merge from sqrtv4sf2 and sqrtv8sf2. | |
7783 | (<sse>_sqrt<mode>2): Merge from avx_sqrtv8sf2, sse_sqrtv4sf, sqrtv4df2 | |
7784 | and sqrtv2df2. Use VF mode iterator. | |
7785 | (<sse>_vmsqrt<mode>2): Merge with *avx_vmsqrt<mode>2. Use VF_128 | |
7786 | mode iterator. | |
7787 | (rsqrt<VF1:mode>2): Merge from rsqrtv4sf2 and rsqrtv8sf2. | |
7788 | (<sse>_rsqrt<mode>2): Merge from avx_rsqrtv8sf2 and sse_rsqrt4sf2. | |
7789 | Use VF1 mode iterator. | |
7790 | (sse_vmrsqrtv4sf2): Merge with *avx_vmrsqrtv4sf2. | |
7791 | (<smaxmin:code><mode>3): Use VF mode iterator. | |
7792 | (*<smaxmin:code><mode>3_finite): Merge with | |
7793 | *avx_<smaxmin:code><mode>3_finite. Use VF mode iterator. | |
7794 | (*<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3. | |
7795 | (<sse>_vm<smaxmin:code><mode>2): Merge with | |
7796 | *avx_vm<smaxmin:code><mode>2. Use VF_128 mode iterator. | |
7797 | (*ieee_smin<mode>3): Merge with *avx_ieee_smin<mode>3. Use VF | |
7798 | mode iterator. | |
7799 | (*ieee_smax<mode>3): Merge with *avx_ieee_smax<mode>3. Use VF | |
7800 | mode iterator. | |
7801 | (sse3_addsubv2df3): Merge with *avx_addsubv2df3. | |
7802 | (sse3_addsubv4sf3): Merge with *avx_addsubv4sf3. | |
7803 | (sse3_h<plusminus_insn>v2df3): Merge with *avx_h<plusminus_insn>v2df3. | |
7804 | (sse3_h<plusminus_insn>v4sf3): Merge with *avx_h<plusminus_insn>v4sf3. | |
7805 | (avx_cmp<mode>3): Rename from avx_cmp<ssemodesuffix><mode>3. Use | |
7806 | VF mode iterator. | |
7807 | (avx_vmcmp<mode>3): Rename from avx_cmp<ssescalarmodesuffix><mode>3. | |
7808 | Use VF_128 mode iterator. | |
7809 | (<sse>_maskcmp<mode>3): Merge with *avx_maskcmp<mode>3. Use VF | |
7810 | mode iterator. | |
7811 | (<sse>_vmmaskcmp<mode>3): Merge with *avx_vmmaskcmp<mode>3. Use | |
7812 | VF_128 mode iterator. | |
7813 | (vcond<mode>): Use VF mode iterator. | |
7814 | * config/i386/predicates.md (sse_comparison_operator): Merge with | |
7815 | avx_comparison_float_operator. Do not declare as special_predicate. | |
7816 | * config/i386/i386.c (struct builtin_description): Update for renamed | |
7817 | compare patterns. | |
7818 | (ix86_expand_args_builtin): Ditto. | |
7819 | (ix86_expand_sse_compare_mask): Ditto. | |
7820 | ||
ff5d142c RG |
7821 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
7822 | ||
7823 | * tree-inline.c (estimate_num_insns): For calls simply account | |
7824 | for all passed arguments and a used return value. | |
7825 | ||
d7d1d041 | 7826 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
07c0852e | 7827 | |
d7d1d041 RG |
7828 | PR tree-optimization/47663 |
7829 | * cgraph.h (struct cgraph_edge): Add call_stmt_size and | |
7830 | call_stmt_time fields. | |
7831 | (cgraph_edge_inlinable_p): Declare. | |
7832 | (cgraph_edge_recursive_p): New inline function. | |
7833 | * cgraph.c (cgraph_create_edge_1): Initialize call_stmt_size. | |
7834 | (cgraph_clone_edge): Copy it. | |
7835 | * ipa-inline.c (cgraph_estimate_edge_time): New function. | |
7836 | Account for call stmt time. | |
7837 | (cgraph_estimate_time_after_inlining): Take edge argument. | |
7838 | (cgraph_estimate_edge_growth): Account call stmt size. | |
7839 | (cgraph_estimate_size_after_inlining): Take edge argument. | |
7840 | (cgraph_mark_inline_edge): Adjust. | |
7841 | (cgraph_check_inline_limits): Likewise. | |
7842 | (cgraph_recursive_inlining_p): Remove. | |
7843 | (cgraph_edge_badness): Use cgraph_edge_recursive_p. | |
7844 | (cgraph_decide_recursive_inlining): Take edge argument and | |
7845 | adjust. | |
7846 | (cgraph_decide_inlining_of_small_functions): Do not avoid | |
7847 | diags for recursive inlining here. | |
7848 | (cgraph_flatten): Adjust. | |
7849 | (cgraph_decide_inlining_incrementally): Likewise. | |
7850 | (estimate_function_body_sizes): Remove call cost handling. | |
7851 | (compute_inline_parameters): Initialize caller edge call costs. | |
7852 | (cgraph_estimate_edge_growth): New function. | |
7853 | (cgraph_estimate_growth): Use it. | |
7854 | (cgraph_edge_badness): Likewise. | |
7855 | (cgraph_check_inline_limits): Take an edge argument. | |
7856 | (cgraph_decide_inlining_of_small_functions): Adjust. | |
7857 | (cgraph_decide_inlining): Likewise. | |
7858 | * tree-inline.c (estimate_num_insns): Only account for call | |
7859 | return value if it is used. | |
7860 | (expand_call_inline): Avoid diagnostics on recursive inline | |
7861 | functions here. | |
7862 | * lto-cgraph.c (lto_output_edge): Output edge call costs. | |
7863 | (input_edge): Input edge call costs. | |
7864 | ||
2feb95f7 RO |
7865 | 2011-04-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7866 | ||
7867 | * config/alpha/osf5.h (MAX_OFILE_ALIGNMENT): Define. | |
7868 | ||
26fbd9c2 JW |
7869 | 2011-04-06 Jonathan Wakely <jwakely.gcc@gmail.com> |
7870 | ||
7871 | * doc/invoke.texi (Spec Files): Fix typo. | |
7872 | ||
694dc0ca EB |
7873 | 2011-04-06 Eric Botcazou <ebotcazou@adacore.com> |
7874 | ||
7875 | * profile.c (branch_prob): Move declaration of local variable. Remove | |
7876 | obsolete ??? comment. Expand the location explicitly instead of using | |
7877 | the LOCATION_FILE and LOCATION_LINE macros. | |
7878 | ||
4925d0d5 WG |
7879 | 2011-04-06 Wei Guozhi <carrot@google.com> |
7880 | ||
7881 | PR target/47855 | |
7882 | * config/arm/arm.md (arm_cmpsi_insn): Compute attr "length". | |
7883 | (arm_cond_branch): Likewise. | |
7884 | (arm_cond_branch_reversed): Likewise. | |
7885 | (arm_jump): Likewise. | |
7886 | (push_multi): Likewise. | |
7887 | * config/arm/constraints.md (Py): New constraint. | |
7888 | ||
f55dfa2f NF |
7889 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
7890 | ||
7891 | PR bootstrap/48471 | |
7892 | * dbxout.c (debug_nesting, symbol_queue, symbol_queue_index): | |
7893 | Move these... | |
7894 | (symbol_queue_size, DBXOUT_DECR_NESTING): ...and these... | |
7895 | (DBXOUT_DECR_NESTING_AND_RETURN): ...and this under | |
7896 | #ifdef DBX_DEBUGGING_INFO. | |
7897 | ||
fca96842 BS |
7898 | 2011-04-05 Bernd Schmidt <bernds@codesourcery.com> |
7899 | ||
7900 | PR bootstrap/48403 | |
7901 | * haifa-sched.c (schedule_block): Increment cycle_issued_insns only | |
7902 | if old and new states differ. | |
7903 | ||
30b83e38 JM |
7904 | 2011-04-05 Joseph Myers <joseph@codesourcery.com> |
7905 | ||
7906 | * config/m68k/m68k.c (m68k_handle_option): Don't handle OPT_m5200, | |
7907 | OPT_m5206e, OPT_m528x, OPT_m5307, OPT_m5407 and OPT_mcfv4e. | |
7908 | * config/m68k/m68k.h (OPTION_DEFAULT_SPECS, ASM_CPU_SPEC): Don't | |
7909 | handle -m5200, -m5206e, -m528x, -m5307, -m5407 and -mcfv4e. | |
7910 | * config/m68k/m68k.opt (m5200, m5206e, m528x, m5307, m5407, | |
7911 | mcfv4e): Use Alias. | |
7912 | * config/m68k/t-mlibs (MULTILIB_MATCHES): Don't map legacy | |
7913 | ColdFire options to -mcpu= options. | |
7914 | ||
277a9aa5 JL |
7915 | 2011-04-05 Jeff Law <law@redhat.com> |
7916 | ||
7917 | * tree-ssa-threadupdate.c (determine_bb_domination_status): Always | |
7918 | check if BB is a successor of LOOP->header and return | |
7919 | NONDOMINATING if it is not, regardless of ENABLE_CHECKING. | |
7920 | ||
c1e2610e SB |
7921 | 2011-04-05 Steven Bosscher <steven@gcc.gnu.org> |
7922 | ||
7923 | * cprop.c (struct reg_use): Remove. | |
7924 | (reg_use_table): Make an array of RTX. | |
7925 | (find_used_regs, constprop_register, local_cprop_pass, | |
7926 | bypass_block): Simplify users of reg_use_table. | |
7927 | (cprop_insn): Likewise. Iterate if copy propagation succeeded | |
7928 | on one of the uses found by find_used_regs. | |
7929 | ||
e532f586 NF |
7930 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
7931 | ||
7932 | PR bootstrap/48469 | |
7933 | * combine.c (combine_instructions): #ifdef AUTO_INC_DEC links | |
7934 | declaration. | |
7935 | ||
3fb7c055 NF |
7936 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
7937 | ||
7938 | * combine.c (combine_instructions) [AUTO_INC_DEC]: Declare links | |
7939 | as an rtx. | |
7940 | (try_combine) [AUTO_INC_DEC]: Declare a local link rtx. | |
7941 | ||
b71b43d9 SB |
7942 | 2011-04-05 Steven Bosscher <steven@gcc.gnu.org> |
7943 | ||
7944 | PR middle-end/48441 | |
7945 | * cprop.c (one_cprop_pass): Do not mark_oprs_set of deleted insns. | |
7946 | ||
b405b274 NF |
7947 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
7948 | ||
7949 | * combine.c: Include obstack.h. | |
7950 | (struct insn_link): Define. | |
7951 | (uid_log_links): Adjust type. | |
7952 | (FOR_EACH_LOG_LINK): New macro. | |
7953 | (insn_link_obstack): Declare. | |
7954 | (alloc_insn_link): Define. | |
7955 | (create_log_links): Call it. Use FOR_EACH_LOG_LINK and adjust | |
7956 | type of link variables. | |
7957 | (find_single_use, insn_a_feeds_b, combine_instructions): Likewise. | |
7958 | (try_combine, record_promoted_values, distribute_notes): Likewise. | |
7959 | (distribute_links): Likewise. Tweak prototype. | |
7960 | (clear_log_links): Delete. | |
7961 | (adjust_for_new_dest): Call alloc_insn_link. | |
7962 | * Makefile.in (combine.o): Depend on $(OBSTACK_H). | |
7963 | ||
6409abe3 NF |
7964 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
7965 | ||
7966 | * gcse.c (modify_mem_list): Convert to an array of VECs. | |
7967 | (canon_modify_mem_list, compute_transp): Tweak formatting. | |
7968 | (alloc_gcse_mem): Likewise. Adjust for modify_mem_list change. | |
7969 | (load_killed_in_block_p): Likewise. | |
7970 | (record_last_mem_set_info): Likewise. | |
7971 | (clear_modify_mem_tables): Likewise. | |
7972 | ||
170d8157 TV |
7973 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
7974 | ||
7975 | PR middle-end/48461 | |
7976 | * function.c (emit_use_return_register_into_block): Only define if | |
7977 | HAVE_return. | |
7978 | ||
c5911a55 EB |
7979 | 2011-04-05 Eric Botcazou <ebotcazou@adacore.com> |
7980 | ||
7981 | * stor-layout.c (self_referential_size): Fix 2010-07-13 commit. | |
7982 | ||
abd016e6 JM |
7983 | 2011-04-05 Joseph Myers <joseph@codesourcery.com> |
7984 | ||
7985 | * config/rx/rx-opts.h: New. | |
7986 | * config/rx/rx.c (rx_cpu_type): Remove. | |
7987 | (rx_handle_option): Don't assert that global structures are in | |
7988 | use. Access variables via opts pointer. Defer most handling of | |
7989 | OPT_mint_register_. Use error_at. | |
7990 | (rx_option_override): Handle deferred OPT_mint_register_ here. | |
7991 | * config/rx/rx.h (enum rx_cpu_types): Move to rx-opts.h. | |
7992 | * config/rx/rx.opt (config/rx/rx-opts.h: New HeaderInclude. | |
7993 | (mcpu=): Use Enum and specifiy rx_cpu_type with Var. | |
7994 | (rx_cpu_types): New Enum and EnumValue entries. | |
7995 | (mint-register=): Use Defer and use Var accordingly. | |
7996 | ||
1ed13f83 NF |
7997 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
7998 | ||
7999 | * debug.h (debug_flush_symbol_queue, debug_queue_symbol): Delete. | |
8000 | (debug_free_queue, debug_nesting, symbol_queue_index): Delete. | |
8001 | * final.c (debug_flush_symbol_queue, debug_queue_symbol): | |
8002 | Move these... | |
8003 | (debug_free_queue, debug_nesting, symbol_queue_index): | |
8004 | ...and these... | |
8005 | * dbxout.c: ...to here. Make static. | |
8006 | ||
6ce1edcf NF |
8007 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
8008 | ||
8009 | * gcse.c (modify_pair): Define. Define a VEC of it. | |
8010 | (canon_modify_mem_list): Convert to an array of VECs. | |
8011 | (free_insn_expr_list_list): Delete. | |
8012 | (clear_modify_mem_tables): Call VEC_free instead. | |
8013 | (record_last_mem_set_info): Don't modify canon_modify_mem_list. | |
8014 | (alloc_gcse_mem): Adjust for canon_modify_mem_list change. | |
8015 | (canon_list_insert, compute_transp): Likewise. | |
8016 | ||
c201ac94 TV |
8017 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
8018 | ||
8019 | PR target/43920 | |
8020 | * config/arm/arm.h (BRANCH_COST): Set to 1 for Thumb-2 when optimizing | |
8021 | for size. | |
8022 | ||
4c029f40 TV |
8023 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
8024 | ||
8025 | PR target/43920 | |
8026 | * function.c (emit_use_return_register_into_block): New function. | |
8027 | (thread_prologue_and_epilogue_insns): Use | |
8028 | emit_use_return_register_into_block. | |
8029 | ||
2a562b0a TV |
8030 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
8031 | ||
8032 | PR target/43920 | |
8033 | * cfgcleanup.c (flow_find_cross_jump): Don't count USE or CLOBBER as | |
8034 | insn. | |
8035 | ||
0248bceb TV |
8036 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
8037 | ||
8038 | * cfgcleanup.c (try_crossjump_bb): Remove 2 superfluous variables. | |
8039 | ||
ffa94123 YZ |
8040 | 2011-04-05 Yufeng Zhang <yufeng.zhang@arm.com> |
8041 | ||
798dd0ba UB |
8042 | * config/arm/arm.md (define_constants for unspec): Replace with |
8043 | define_c_enum. | |
8044 | (define_constants for unspecv): Replace with define_c_enum. | |
8045 | * config/arm/neon.md (define_constants for unspec): Replace with | |
8046 | define_c_enum. | |
ffa94123 | 8047 | |
3b8f9b46 RH |
8048 | 2011-04-04 Richard Henderson <rth@redhat.com> |
8049 | ||
720cf80f | 8050 | PR bootstrap/48400 |
3b8f9b46 RH |
8051 | * dwarf2out.c (output_line_info): Always emit line info from |
8052 | at least one section. | |
8053 | (dwarf2out_init): Create text_section_line_info here ... | |
8054 | (set_cur_line_info_table): ... not here. | |
8055 | ||
720cf80f | 8056 | 2011-04-04 Vladimir Makarov <vmakarov@redhat.com> |
e5b0e1ca VM |
8057 | |
8058 | PR target/48380 | |
8059 | * ira.c (ira): Call grow_reg_equivs when fix_reg_equiv_init is | |
720cf80f | 8060 | not called. |
e5b0e1ca | 8061 | |
720cf80f | 8062 | * ira-emit.c (emit_move_list): Update reg_equiv_init insn list. |
e5b0e1ca | 8063 | |
196565d4 SB |
8064 | 2011-04-04 Steven Bosscher <steven@gcc.gnu.org> |
8065 | ||
b77f9eab SB |
8066 | * cprop.c (struct expr): Split 'expr' field in 'dest' and 'src'. |
8067 | (expr_equiv_p): Remove. | |
8068 | (insert_set_in_table): Look at <dest, src> pair instead of expr. | |
8069 | (hash_scan_set): Update call to insert_set_in_table. | |
8070 | (dump_hash_table): Dump <dest, src> pair. | |
8071 | (lookup_set): Simplify. Lookup <dest, src> pair. | |
8072 | (compute_transp): Remove, fold heavily simplified code into... | |
8073 | (compute_local_properties): ...here. Expect COMP and TRANSP | |
8074 | unconditionally. | |
8075 | (find_avail_set): Take set directly from struct expr. | |
8076 | (find_bypass-set): Likewise. | |
8077 | (bypass_block): Likewise. | |
8078 | (cprop_insn): Likewise. Remove redundant INSN_P test. | |
8079 | ||
384d7a55 SB |
8080 | * cprop.c (implicit_set_cond_p): Assume nothing about COND, move |
8081 | checks on form of COND from find_implicit_sets to here. | |
8082 | (find_implicit_sets): Cleanup control flow. Split critical edges | |
8083 | if it exposes implicit sets. Allocate/resize implicit_sets as | |
8084 | necessary. | |
8085 | (one_cprop_pass): Only delete unreachable blocks if local_cprop_pass | |
8086 | changed something. Run df_analyze after find_implicit_sets if any | |
8087 | edges were split. Do not allocate implicit_sets here. | |
8088 | ||
3084ce69 SB |
8089 | * cprop.c: s/gcse/cprop/ everywhere except for flag_gcse. |
8090 | (gcse_obstack): Renamed to cprop_obstack. | |
8091 | (GNEW, GNEWVEC, GNEWVAR): Remove. | |
8092 | (gmalloc): Remove. | |
8093 | (alloc_hash_table): Use XNEWVAR instead of GNEWVAR. | |
8094 | (GOBNEW, GOBNEWVAR): Adjust for gcse_obstack renaming. | |
8095 | (gcse_alloc): Likewise, and rename to cprop_alloc. | |
8096 | (alloc_gcse_men, free_gcse_mem): Remove. | |
8097 | (gcse_constant_p): Rename to cprop_constant_p, and adjust all callers. | |
8098 | (compute_hash_table_work): Allocate and free reg_set_bitmap here. | |
8099 | (one_cprop_pass): Likewise. Adjust for gcse_obstack renaming. | |
8100 | ||
196565d4 SB |
8101 | * cprop.c (oprs_not_set_p): Remove. |
8102 | (mark_set, mark_clobber): Remove. | |
8103 | (mark_oprs_set): Rewrite using DF_INSN_INFO_DEFS cache. | |
8104 | (reg_not_set_p): New function. | |
8105 | (find_avail_set): Use reg_not_set_p instead of oprs_not_set_p. | |
8106 | (cprop_insn): Likewise. | |
8107 | (cprop_jump): Use FOR_EACH_EDGE. | |
8108 | ||
9b69cf83 BS |
8109 | 2011-04-04 Bernd Schmidt <bernds@codesourcery.com> |
8110 | ||
8111 | PR bootstrap/48403 | |
8112 | * haifa-sched.c (nonscheduled_insns_begin): New static variable. | |
8113 | (rank_for_schedule): Use scheduled_insns vector instead of | |
8114 | last_scheduled_insn. | |
8115 | (ok_for_early_queue_removal): Likewise. | |
8116 | (queue_to_ready): Search forward in nonscheduled_insns_begin if | |
8117 | we have a dbg_cnt. | |
8118 | (choose_ready): Likewise. | |
8119 | (commit_schedule): Use VEC_iterate. | |
8120 | (schedule_block): Initialize nonscheduled_insns_begin. If we have | |
8121 | a dbg_cnt, use it and ensure the first insn is in the ready list. | |
8122 | (haifa_sched_init): Allocate scheduled_insns. | |
8123 | (sched_extend_ready_list): Don't allocate it; reserve space. | |
8124 | (haifa_sched_finish): Free it. | |
8125 | ||
24f48c2f JM |
8126 | 2011-04-04 Joseph Myers <joseph@codesourcery.com> |
8127 | ||
8128 | * optc-gen.awk: Always remove type from Variable entry before | |
8129 | recording in var_seen. | |
8130 | ||
8effe856 EB |
8131 | 2011-04-04 Eric Botcazou <ebotcazou@adacore.com> |
8132 | ||
8133 | * cfghooks.c (tidy_fallthru_edges): Add ??? comment. | |
8134 | * tree-inline.c (delete_unreachable_blocks_update_callgraph): Remove | |
8135 | call to tidy_fallthru_edges. | |
8136 | ||
413519ae JM |
8137 | 2011-04-04 Joseph Myers <joseph@codesourcery.com> |
8138 | ||
8139 | * doc/options.texi (ToLower): Document. | |
3729983c | 8140 | * opt-functions.awk (switch_bit_fields): Initialize cl_tolower field. |
413519ae JM |
8141 | * opts-common.c (decode_cmdline_option): Handle cl_tolower. |
8142 | * opts.h (cl_option): Add cl_tolower field. | |
8143 | * config/rx/rx.c (rx_handle_option): Use strcmp of -mcpu= | |
8144 | arguments with lowercase strings. | |
8145 | * config/rx/rx.opt (mcpu=): Add ToLower. | |
8146 | * config/rx/t-rx (MULTILIB_MATCHES): Don't handle uppercase -mcpu= | |
8147 | argument. | |
8148 | ||
7d34a1b0 RS |
8149 | 2011-04-04 Richard Sandiford <richard.sandiford@linaro.org> |
8150 | ||
8151 | * config/pdp11/pdp11.h (IRA_COVER_CLASSES): Delete. | |
8152 | ||
c30e7434 RS |
8153 | 2011-04-04 Richard Sandiford <richard.sandiford@linaro.org> |
8154 | ||
8155 | * config/vax/vax.c: Include reload.h. | |
8156 | ||
112a861d AS |
8157 | 2011-04-04 Anatoly Sokolov <aesok@post.ru> |
8158 | ||
8159 | * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Remove. | |
8160 | * config/sparc/sparc.c (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
8161 | (sparc_preferred_reload_class): New function. | |
8162 | ||
e8c6bb74 JJ |
8163 | 2011-04-04 Jakub Jelinek <jakub@redhat.com> |
8164 | ||
2aeaa366 | 8165 | PR debug/48401 |
e8c6bb74 JJ |
8166 | * cfgexpand.c (expand_gimple_basic_block): Avoid useless assignment. |
8167 | Use PAT_VAR_LOCATION_LOC instead of INSN_VAR_LOCATION_LOC. | |
8168 | ||
2c081caf NF |
8169 | 2011-04-03 Nathan Froyd <froydnj@codesourcery.com> |
8170 | ||
8171 | * tree.h (struct tree_const_decl): Inherit from tree_decl_common. | |
8172 | * tree.c (initialize_tree_contains_struct): Adjust accordingly. | |
8173 | ||
53802f27 AS |
8174 | 2011-04-03 Anatoly Sokolov <aesok@post.ru> |
8175 | ||
8176 | * config/avr/avr.h (ASM_OUTPUT_BSS): Remove. | |
8177 | (ASM_OUTPUT_ALIGNED_BSS): Define. | |
8178 | ||
e89964e3 MM |
8179 | 2011-04-03 Michael Matz <matz@suse.de> |
8180 | ||
8181 | * lto-streamer.h (struct lto_streamer_cache_d): Remove offsets | |
8182 | and next_slot members. | |
8183 | (lto_streamer_cache_insert, lto_streamer_cache_insert_at, | |
8184 | lto_streamer_cache_lookup, lto_streamer_cache_get): Adjust prototypes. | |
8185 | (lto_streamer_cache_append): Declare. | |
8186 | * lto-streamer.c (lto_streamer_cache_add_to_node_array): Use | |
8187 | unsigned index, remove offset parameter, ensure that we append | |
8188 | or update existing entries. | |
8189 | (lto_streamer_cache_insert_1): Use unsigned index, remove offset_p | |
8190 | parameter, update next_slot for append. | |
8191 | (lto_streamer_cache_insert): Use unsigned index, remove offset_p | |
8192 | parameter. | |
8193 | (lto_streamer_cache_insert_at): Likewise. | |
8194 | (lto_streamer_cache_append): New function. | |
8195 | (lto_streamer_cache_lookup): Use unsigned index. | |
8196 | (lto_streamer_cache_get): Likewise. | |
8197 | (lto_record_common_node): Don't test tree_node_can_be_shared. | |
8198 | (preload_common_node): Adjust call to lto_streamer_cache_insert. | |
8199 | (lto_streamer_cache_delete): Don't free offsets member. | |
8200 | * lto-streamer-out.c (eq_string_slot_node): Use memcmp. | |
8201 | (lto_output_string_with_length): Use lto_output_data_stream. | |
8202 | (lto_output_tree_header): Remove ix parameter, don't write it. | |
8203 | (lto_output_builtin_tree): Likewise. | |
8204 | (lto_write_tree): Adjust callers to above, don't track and write | |
8205 | offset, write unsigned index. | |
8206 | (output_unreferenced_globals): Don't emit all global vars. | |
8207 | (write_global_references): Use unsigned indices. | |
8208 | (lto_output_decl_state_refs): Likewise. | |
8209 | (write_symbol): Likewise. | |
8210 | * lto-streamer-in.c (lto_input_chain): Move earlier. | |
8211 | (input_function): Use unsigned index. | |
8212 | (input_alias_pairs): Don't read and then ignore all global vars. | |
8213 | (lto_materialize_tree): Remove ix_p parameter, don't read index, | |
8214 | don't pass it back, use lto_streamer_cache_append. | |
8215 | (lto_register_var_decl_in_symtab): Use unsigned index. | |
8216 | (lto_register_function_decl_in_symtab): Likewise. | |
8217 | (lto_get_pickled_tree): Don't read in or handle offset, read unsigned | |
8218 | index. | |
8219 | (lto_get_builtin_tree): Don't read index, use | |
8220 | lto_streamer_cache_append. | |
8221 | (lto_read_tree): Adjust call to lto_materialize_tree. | |
8222 | ||
8223 | * ipa-inline.c (cgraph_edge_badness): Move growth calculaton, | |
8224 | don't use function calls in arguments to MIN. | |
8225 | ||
8226 | * varasm.c (decl_binds_to_current_def_p): Don't check TREE_PUBLIC | |
8227 | twice. | |
8228 | ||
8229 | * gimple.c (gimple_type_leader_entry): Mark deletable. | |
8230 | ||
b9a5b5b2 AM |
8231 | 2011-04-03 Alan Modra <amodra@gmail.com> |
8232 | ||
8233 | * dwarf2out.c (mem_loc_descriptor): Recurse on LO_SUM. | |
8234 | ||
ac6a641b MM |
8235 | 2011-04-03 Michael Matz <matz@suse.de> |
8236 | ||
8237 | * tree.c (free_lang_data_in_decl): Zero DECL_VINDEX if it's not | |
8238 | an integer. | |
8239 | * tree.h (tree_decl_non_common.vindex): Adjust comment. | |
8240 | ||
0038d4e0 MM |
8241 | 2011-04-03 Michael Matz <matz@suse.de> |
8242 | ||
e9c18386 | 8243 | * cgraphbuild.c (record_reference): Canonicalize constructor values. |
0038d4e0 MM |
8244 | * gimple-fold.c (canonicalize_constructor_val): Accept being called |
8245 | without function context. | |
8246 | * cgraphunit.c (cgraph_finalize_compilation_unit): Clear | |
8247 | current_function_decl and cfun. | |
8248 | ||
91f2fae8 MM |
8249 | 2011-04-03 Michael Matz <matz@suse.de> |
8250 | ||
8251 | * tree.c (decl_init_priority_insert): Don't create entry for | |
8252 | default priority. | |
8253 | (decl_fini_priority_insert): Ditto. | |
8254 | (fields_compatible_p, find_compatible_field): Remove. | |
8255 | * tree.h (fields_compatible_p, find_compatible_field): Remove. | |
8256 | * gimple.c (gimple_compare_field_offset): Adjust block comment. | |
8257 | ||
da29e070 EB |
8258 | 2011-04-03 Eric Botcazou <ebotcazou@adacore.com> |
8259 | ||
8260 | * combine.c (try_combine): Remove useless local variable. | |
8261 | ||
4979c28b | 8262 | 2011-04-03 Richard Guenther <rguenther@suse.de> |
91f2fae8 | 8263 | Ira Rosen <ira.rosen@linaro.org> |
4979c28b RG |
8264 | |
8265 | * tree-if-conv.c (memrefs_read_or_written_unconditionally): Strip all | |
8266 | non-variable offsets and compare the remaining bases of the two | |
8267 | accesses instead of looking for exact same data-ref. | |
8268 | ||
b4ddcaee KT |
8269 | 2011-04-02 Kai Tietz <ktietz@redhat.com> |
8270 | ||
f90298e1 KT |
8271 | PR target/48416 |
8272 | * i386.c (ix86_function_arg_boundary): Fix printf formatter. | |
8273 | ||
b4ddcaee KT |
8274 | * i386.c (ix86_is_msabi_thiscall): New helper function. |
8275 | (ix86_is_type_thiscall): New helper function. | |
8276 | (ix86_comp_type_attributes): Handle thiscall for method-functions | |
8277 | special. | |
8278 | (init_cumulative_args): Likewise. | |
8279 | (find_drap_reg): Likewise. | |
8280 | (ix86_static_chain): Likewise. | |
8281 | (x86_this_parameter): Likewise. | |
8282 | (x86_output_mi_thunk): Likewise. | |
8283 | ||
2a9d769a | 8284 | 2011-04-01 Olivier Hainque <hainque@adacore.com> |
91f2fae8 MM |
8285 | Nicolas Setton <setton@adacore.com> |
8286 | Eric Botcazou <ebotcazou@adacore.com> | |
2a9d769a OH |
8287 | |
8288 | * dwarf2out.c (dwarf_attr_name): Map DW_AT_GNAT_descriptive_type. | |
8289 | (add_gnat_descriptive_type_attribute): New function. | |
8290 | (gen_array_type_die): Call it. | |
8291 | (gen_enumeration_type_die): Likewise. | |
8292 | (gen_struct_or_union_type_die): Likewise. | |
8293 | (modified_type_die): Likewise. | |
8294 | * langhooks.h (lang_hooks_for_types): New descriptive_type hook. | |
8295 | * langhooks-def.h (LANG_HOOKS_DESCRIPTIVE_TYPE): Default to NULL. | |
8296 | (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add LANG_HOOKS_DESCRIPTIVE_TYPE. | |
8297 | ||
15a03a11 JJ |
8298 | 2011-04-01 Jakub Jelinek <jakub@redhat.com> |
8299 | ||
8300 | PR bootstrap/48148 | |
8301 | * dwarf2out.c (resolve_addr): Don't call force_decl_die | |
8302 | if DECL_EXTERNAL has non-NULL DECL_ABSTRACT_ORIGIN. | |
8303 | ||
8304 | Revert: | |
8305 | 2011-03-17 Richard Guenther <rguenther@suse.de> | |
8306 | ||
8307 | PR bootstrap/48148 | |
8308 | * lto-cgraph.c (input_overwrite_node): Clear the abstract | |
8309 | origin for decls in other ltrans units. | |
8310 | (input_varpool_node): Likewise. | |
8311 | ||
19228b93 JJ |
8312 | 2011-04-01 Jakub Jelinek <jakub@redhat.com> |
8313 | ||
8314 | PR middle-end/48335 | |
8315 | * expr.c (expand_assignment): Handle all possibilities | |
8316 | if TO_RTX is CONCAT. | |
e9c18386 | 8317 | * expmed.c (store_bit_field_1): Avoid trying to create invalid SUBREGs. |
19228b93 JJ |
8318 | (store_split_bit_field): If SUBREG_REG (op0) or |
8319 | op0 itself has smaller mode than word, return it | |
8320 | for offset 0 and const0_rtx for out-of-bounds stores. | |
8321 | If word is const0_rtx, skip it. | |
8322 | ||
88cb339e N |
8323 | 2011-04-01 Naveen H.S <naveen.S@kpitcummins.com> |
8324 | ||
8325 | * config/h8300/h8300.c (print_operand_address): Rename to... | |
8326 | (h8300_print_operand_address): ...this. Make static. Adjust comments. | |
8327 | Call h8300_print_operand and h8300_print_operand_address instead of | |
8328 | print_operand and print_operand_address. Declare. | |
8329 | (print_operand): Renake to... | |
8330 | (h8300_print_operand): ...this. Make static. Adjust comments. | |
8331 | Call h8300_print_operand instead of print_operand. Declare. | |
8332 | (h8300_print_operand_punct_valid_p): Moved from h8300.h file. | |
8333 | (h8300_register_move_cost): Likewise. | |
8334 | (TARGET_PRINT_OPERAND_PUNCT_VALID_P, TARGET_PRINT_OPERAND | |
8335 | TARGET_PRINT_OPERAND_ADDRESS, TARGET_REGISTER_MOVE_COST): Define. | |
8336 | * config/h8300/h8300.h (PRINT_OPERAND_ADDRESS, PRINT_OPERAND | |
8337 | PRINT_OPERAND_PUNCT_VALID_P, REGISTER_MOVE_COST): Delete. | |
8338 | * config/h8300/h8300-protos.h (print_operand): Delete. | |
8339 | (print_operand_address): Delete. | |
8340 | ||
756d6ee9 RH |
8341 | 2011-04-01 Richard Henderson <rth@redhat.com> |
8342 | ||
8343 | PR 48400 | |
8344 | * dwarf2out.c (dwarf2out_source_line): Disable discriminators | |
8345 | in strict mode before dwarf4. Re-order tests to early out | |
8346 | before switching sections. | |
8347 | ||
ceaaaeab NF |
8348 | 2011-04-01 Nathan Froyd <froydnj@codesourcery.com> |
8349 | ||
8350 | * config/h8300/constraints.md: New file. | |
8351 | * config/h8300/h8300.md: Include it. Use satisfies_constraint_J, | |
8352 | satisfies_constraint_L, and satisfies_constraint_N for peephole2s. | |
8353 | (*tst_extzv_1_n, *tstsi_variable_bit_qi): Use satisfies_constraint_U. | |
8354 | * config/h8300/predicates.md (bit_operand): Likewise. | |
8355 | (incdec_operand): Use satisfies_constraint_M and | |
8356 | satisfies_constraint_O. Don't use C code block. | |
8357 | * config/h8300/h8300-protos.h (h8300_reg_class_from_letter): Delete. | |
8358 | * config/h8300/h8300.c (h8300_reg_class_from_letter): Delete. | |
8359 | (compute_mov_length): Use satisfies_constraint_G. | |
8360 | (fix_bit_operand): Use satisfies_constraint_U. | |
8361 | * config/h8300/h8300.h (REG_CLASS_FROM_LETTER): Delete. | |
8362 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Delete. | |
8363 | (CONST_OK_FOR_M, CONST_OK_FOR_N, CONST_OK_FOR_O): Delete. | |
8364 | (CONST_OK_FOR_Ppositive, CONST_OK_FOR_Pnegative): Delete. | |
8365 | (CONST_OK_FOR_P, CONSTRAINT_LEN_FOR_P): Delete. | |
8366 | (CONST_OK_FOR_CONSTRAINT_P, CONST_OK_FOR_LETTER_P): Delete. | |
8367 | (CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
8368 | (OK_FOR_Q, OK_FOR_R, OK_FOR_S, OK_FOR_T, OK_FOR_U, OK_FOR_WU): Delete. | |
8369 | (OK_FOR_W, CONSTRAINT_LEN_FOR_W, OK_FOR_Y2, OK_FOR_Y0): Delete. | |
8370 | (OK_FOR_Y, CONSTRAINT_LEN_FOR_Y, OK_FOR_Z): Delete. | |
8371 | (EXTRA_CONSTRAINT_STR, CONSTRAINT_LEN): Delete. | |
8372 | (EXTRA_MEMORY_CONSTRAINT): Delete. | |
8373 | ||
08ae38e0 AP |
8374 | 2011-04-01 Andrew Pinski <pinskia@gmail.com> |
8375 | Michael Meissner <meissner@linux.vnet.ibm.com> | |
8376 | ||
8377 | PR target/48262 | |
8378 | * config/rs6000/vector.md (movmisalign<mode>): Allow for memory | |
8379 | operands, as per the specifications. | |
8380 | ||
8381 | * config/rs6000/altivec.md (vec_extract_evenv4si): Correct modes. | |
8382 | (vec_extract_evenv4sf): Ditto. | |
8383 | (vec_extract_evenv8hi): Ditto. | |
8384 | (vec_extract_evenv16qi): Ditto. | |
8385 | (vec_extract_oddv4si): Ditto. | |
8386 | ||
bdb0b0f6 MW |
8387 | 2011-03-31 Mark Wielaard <mjw@redhat.com> |
8388 | ||
8389 | * dwarf2out.c (dwarf2out_finish): Don't add low_pc and/or | |
8390 | high_pc attribute if the CU has no associated code. Only output | |
8391 | DW_AT_entry_pc for CU if not generating strict dwarf and | |
8392 | dwarf_version < 4. | |
8393 | ||
722279e4 BS |
8394 | 2011-04-01 Bernd Schmidt <bernds@codesourcery.com> |
8395 | ||
8396 | * dwarf2out.h (dwarf2out_frame_debug_init): Declare. | |
8397 | * dwarf2out.c (dwarf2out_frame_debug_init): New function, broken | |
8398 | out of ... | |
8399 | (dwarf2out_frame_debug): ... here. Don't handle a NULL argument. | |
8400 | * final.c (final_start_function): Call the new function rather | |
8401 | than using a NULL argument for dwarf2out_frame_debug. | |
8402 | ||
c5dd277d BS |
8403 | * ifcvt.c (cond_exec_process_insns): Disallow converting a block |
8404 | that contains the prologue. | |
8405 | ||
ec4efea9 BS |
8406 | * haifa-sched.c (queue_insn): New arg REASON. All callers |
8407 | changed. Print it in debugging output. | |
8408 | ||
2a6a0d80 BS |
8409 | * sched-ebb.c (schedule_ebbs): Honor the BB_DISABLE_SCHEDULE flag. |
8410 | ||
86014d07 BS |
8411 | * sched-ebb.c (begin_schedule_ready): Remove second argument. |
8412 | Split most of the code into... | |
8413 | (begin_move_insn): ... here. New function. | |
8414 | (ebb_sched_info): Add a pointer to it. | |
8415 | * haifa-sched.c (scheduled_insns): New static variable. | |
8416 | (sched_extend_ready_list): Allocate it. | |
8417 | (schedule_block): Use it to record the order of scheduled insns. | |
8418 | Perform RTL changes to move insns only after all scheduling | |
8419 | decisions have been made. | |
8420 | * modulo-sched.c (sms_sched_haifa_sched_info): Add NULL entry for the | |
8421 | begin_move_insn field. | |
8422 | * sel-sched-ir.c (sched_sel_haifa_sched_info): Likewise. | |
8423 | * sched-int.h (struct haifa_sched_info): Remove second argument | |
8424 | from begin_schedule_ready hook. Add new member begin_move_insn. | |
8425 | * sched-rgn.c (begin_schedule_ready): Remove second argument. | |
8426 | (rgn_const_sched_info): Add NULL entry for the begin_move_insn field. | |
8427 | ||
9d701248 BS |
8428 | * haifa-sched.c (prune_ready_list): New function, broken out of |
8429 | schedule_block. | |
8430 | (schedule_block): Use it. | |
8431 | ||
1ca1dad5 UW |
8432 | 2011-04-01 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
8433 | ||
8434 | * config/spu/t-spu-elf (dp-bit.c): Use > instead of >>. | |
8435 | ||
49568e45 KT |
8436 | 2011-04-01 Kai Tietz <ktietz@redhat.com> |
8437 | ||
8438 | * config.gcc (*-*-mingw*): Allow as option the | |
8439 | posix threading model. | |
07c0852e | 8440 | * config/i386/mingw32.h (SPEC_PTHREAD1, SPEC_PTHREAD2): |
49568e45 KT |
8441 | New macros defined dependent to TARGET_USE_PTHREAD_BY_DEFAULT |
8442 | definition. | |
8443 | (CPP_SPEC): Add pthread/no-pthread handling. | |
8444 | (LIB_SPEC): Likewise. | |
8445 | * config/i386/mingw-w64.h (CPP_SPEC):Likewise. | |
8446 | (LIB_SPEC): Likewise. | |
8447 | * config/i386/t-cygming (SHLIB_PTHREAD_CFLAG): New | |
8448 | flag to pass -pthread option for shared libgcc build. | |
8449 | (SHLIB_PTHREAD_LDFLAG): New option to pass -lpthread | |
8450 | for shared libgcc build. | |
8451 | * config/i386/t-mingw-pthread: New file. | |
8452 | * config/i386/mingw-pthread.h (TARGET_USE_PTHREAD_BY_DEFAULT): | |
8453 | New define to enable use of library pthread by default. | |
8454 | * config/i386/mingw.opt (pthread): New driver option. | |
8455 | (no-pthread): New driver option. | |
e9c18386 | 8456 | * config/i386/cygming.opt: Make sure trailing empty line is retained. |
49568e45 KT |
8457 | * config/i386/mingw-w64.opt: Likewise. |
8458 | ||
748f7574 | 8459 | 2011-04-01 Gary Funck <gary@intrepid.com> |
636b4106 GF |
8460 | |
8461 | * c-decl.c (grokdeclarator): Fix formatting. | |
8462 | ||
f04713ee RS |
8463 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
8464 | ||
8465 | * expr.c (emit_block_move_via_movmem): Use n_generator_args | |
8466 | instead of n_operands. | |
8467 | (set_storage_via_setmem): Likewise. | |
8468 | * optabs.c (maybe_gen_insn): Likewise. | |
8469 | * config/arm/arm.c (arm_init_neon_builtins): Likewise. | |
8470 | * config/mips/mips.c (mips_expand_builtin_compare_1): Likewise. | |
8471 | (mips_expand_builtin_direct): Likewise. | |
8472 | * config/spu/spu.c (expand_builtin_args): Likewise. | |
8473 | ||
b29387ee RS |
8474 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
8475 | ||
8476 | * recog.h (insn_data_d): Add n_generator_args. | |
8477 | * genoutput.c (data): Likewise. | |
8478 | (output_insn_data): Print it. | |
8479 | (max_opno, num_dups): Delete. | |
8480 | (scan_operands): Just fill in "d->operand[...]". | |
8481 | (gen_insn, gen_peephole, gen_expand, gen_split): Use get_pattern_stats. | |
8482 | ||
e792559a RS |
8483 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
8484 | ||
8485 | * gensupport.h (pattern_stats): New structure. | |
8486 | * gensupport.c (get_pattern_stats_1, get_pattern_stats): New functions. | |
8487 | * genemit.c (max_opno, max_dupno, max_scratch_opno): Delete. | |
8488 | (max_operand_1, max_operand_vec): Delete. | |
8489 | (gen_insn, gen_expand, gen_split): Use get_pattern_stats. | |
8490 | ||
e8110d6f NF |
8491 | 2011-03-31 Nathan Froyd <froydnj@codesourcery.com> |
8492 | ||
8493 | * emit-rtl.c (emit_pattern_after_setloc): New function. | |
8494 | (emit_insn_after_setloc, emit_jump_insn_after_setloc): Call it. | |
8495 | (emit_call_insn_after_setloc, emit_debug_insn_after_setloc): Likewise. | |
8496 | (emit_pattern_after): New function. | |
8497 | (emit_insn_after, emit_jump_insn_after): Call it. | |
8498 | (emit_call_insn_after, emit_debug_insn_after): Likewise. | |
8499 | (emit_pattern_before_setloc): New function. | |
8500 | (emit_insn_before_setloc, emit_jump_insn_before_setloc): Call it. | |
8501 | (emit_call_insn_before_setloc, emit_debug_insn_before_setloc): | |
8502 | Likewise. | |
8503 | (emit_pattern_before): New function. | |
8504 | (emit_insn_before, emit_jump_insn_before): Call it. | |
8505 | (emit_call_insn_before, emit_debug_insn_before): Likewise. | |
8506 | ||
576f85f1 RH |
8507 | 2011-03-31 Richard Henderson <rth@redhat.com> |
8508 | ||
8509 | * dwarf2out.c (dw_separate_line_info_ref): Remove. | |
8510 | (dw_separate_line_info_entry): Remove. | |
8511 | (enum dw_line_info_opcode): New. | |
8512 | (dw_line_info_entry): Use it. | |
8513 | (dw_line_info_table, dw_line_info_table_p): New. | |
8514 | (DWARF_LINE_OPCODE_BASE): Include dwarf3 opcodes. | |
8515 | (line_info_table, line_info_label_num): Remove. | |
8516 | (line_info_table_in_use): Remove. | |
8517 | (separate_line_info_table): Remove. | |
8518 | (separate_line_info_table_allocated): Remove. | |
8519 | (separate_line_info_table_in_use): Remove. | |
8520 | (LINE_INFO_TABLE_INCREMENT): Remove. | |
8521 | (line_info_label_num): New. | |
8522 | (cur_line_info_table): New. | |
8523 | (text_section_line_info, cold_text_section_line_info): New. | |
8524 | (separate_line_info): New. | |
8525 | (SEPARATE_LINE_CODE_LABEL): Remove. | |
8526 | (print_dwarf_line_table): Remove. | |
8527 | (debug_dwarf): Don't dump it. | |
8528 | (output_one_line_info_table): New. | |
8529 | (output_line_info): Use it. | |
8530 | (new_line_info_table): New. | |
8531 | (set_cur_line_info_table): New. | |
8532 | (dwarf2out_switch_text_section): Use it. | |
8533 | (dwarf2out_begin_function): Likewise. | |
8534 | (push_dw_line_info_entry): New. | |
8535 | (dwarf2out_source_line): Rewrite for new line info tables. | |
8536 | (dwarf2out_init): Remove dead initailizations. | |
8537 | ||
300d83d9 JM |
8538 | 2011-03-31 Joseph Myers <joseph@codesourcery.com> |
8539 | ||
8540 | * opts.h (cl_option): Add comments to fields. Add bit-fields for | |
8541 | various flags. | |
8542 | (CL_SEPARATE_NARGS_SHIFT, CL_SEPARATE_NARGS_MASK, | |
8543 | CL_SEPARATE_ALIAS, CL_NO_DRIVER_ARG, CL_REJECT_DRIVER, CL_SAVE, | |
8544 | CL_DISABLED, CL_REPOR, CL_REJECT_NEGATIVE, CL_MISSING_OK, | |
8545 | CL_UINTEGER, CL_NEGATIVE_ALIAS): Remove. | |
8546 | (CL_JOINED, CL_SEPARATE, CL_UNDOCUMENTED): Update bit positions. | |
8547 | * opt-functions.awk (flag_init, switch_bit_fields): New. | |
8548 | (switch_flags): Don't handle flags moved to bit-fields. Don't | |
8549 | generate CL_MISSING_OK or CL_SAVE. | |
8550 | * optc-gen.awk: Update to generate bit-field output as well as | |
8551 | flags field. | |
8552 | * gcc.c (driver_wrong_lang_callback): Use cl_reject_driver | |
8553 | bit-field instead of CL_REJECT_DRIVER flag. | |
8554 | * opts-common.c (generate_canonical_option, | |
8555 | decode_cmdline_option): Use bit-fields instead of CL_* flags. | |
8556 | * opts.c (maybe_default_option): Use cl_reject_negative bit-field | |
8557 | instead of CL_REJECT_NEGATIVE flag. | |
8558 | * toplev.c (print_switch_values): Use cl_report bit-field instead | |
8559 | of CL_REPORT flag. | |
8560 | ||
d4d73ce2 EB |
8561 | 2011-03-31 Eric Botcazou <ebotcazou@adacore.com> |
8562 | ||
8563 | * tree-ssa-pre.c (create_component_ref_by_pieces_1) <ARRAY_REF>: Drop | |
8564 | a zero minimum index only if it is redundant. | |
8565 | ||
b8faca75 VM |
8566 | 2011-03-31 Vladimir Makarov <vmakarov@redhat.com> |
8567 | ||
8568 | PR rtl-optimization/48381 | |
8569 | * ira-color.c (assign_hard_reg): Use hard reg set intersection | |
8570 | instead of ira_class_hard_reg_index for calculating conflicting | |
8571 | hard registers. | |
8572 | ||
7d11cebe SB |
8573 | 2011-03-31 Steven Bosscher <steven@gcc.gnu.org> |
8574 | ||
8575 | * cprop.c: Clean up hash table building. | |
8576 | (reg_avail_info): Remove. | |
8577 | (oprs_available_p): Remove. | |
8578 | (record_last_reg_set_info): Remove. | |
8579 | (record_last_set_info): Remove. | |
8580 | (reg_available_p): New function. | |
8581 | (gcse_constant_p): Do not treat unfolded conditions as constants. | |
8582 | (make_set_regs_unavailable): New function. | |
8583 | (hash_scan_set): Simplify with new reg_available_p. | |
8584 | (compute_hash_table_work): Traverse insns stream only once. | |
8585 | Do not compute reg_avail_info. Traverse insns in reverse order. | |
8586 | Record implicit sets after recording explicit sets from the block. | |
8587 | ||
98faf84f MM |
8588 | 2011-03-31 Michael Matz <matz@suse.de> |
8589 | ||
e9c18386 | 8590 | * builtins.c (build_va_arg_indirect_ref): Use build_simple_mem_ref_loc. |
98faf84f | 8591 | |
f52d97da AS |
8592 | 2011-03-31 Anatoly Sokolov <aesok@post.ru> |
8593 | ||
8594 | * config/h8300/h8300.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove macro. | |
8595 | * config/h8300/h8300-protos.h (h8300_get_index): Remove. | |
8596 | * config/h8300/h8300.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
8597 | (h8300_mode_dependent_address_p): New function. | |
8598 | (h8300_get_index): Make static. | |
8599 | ||
e16b6fd0 JL |
8600 | 2011-03-31 Jeff Law <law@redhat.com> |
8601 | ||
10c51983 JL |
8602 | * reload1.c (elimination_effects): Fix typo in recent change. |
8603 | ||
e9c18386 | 8604 | * tree-ssa-forwprop.c (forward_propagate_into_cond): Avoid |
e16b6fd0 JL |
8605 | typo potentially leading to null pointer dereference. |
8606 | ||
8607 | * caller-save.c (new_saved_hard_reg): Eliminate return value. | |
8608 | (setup_save_areas): Corresponding changes to avoid useless | |
8609 | assignments. | |
8610 | ||
8611 | * jump.c (reversed_comparison_code_parts): Avoid successive return | |
8612 | statements when REVERSE_CONDITION is defined. | |
8613 | ||
8614 | * expr.c (expand_assignment): Avoid useless assignments. | |
8615 | (expand_expr_real_1): Likewise. | |
8616 | (expand_expr_real_2): Avoid useless statements. | |
8617 | ||
8618 | * tree-ssa-phiopt.c (minmax_replacement): Avoid useless statement. | |
8619 | ||
8620 | * cfgexpand.c (expand_gimple_basic_block): Avoid useless assignment. | |
8621 | ||
8622 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Avoid useless | |
8623 | statements. | |
8624 | ||
8625 | * stmt.c (expand_expr_stmt): Avoid useless assignment. | |
8626 | ||
eb1eb914 JM |
8627 | 2011-03-31 Joseph Myers <joseph@codesourcery.com> |
8628 | ||
8629 | PR target/47109 | |
8630 | * doc/tm.texi.in (TARGET_VERSION): Remove. | |
8631 | * doc/tm.texi: Regenerate. | |
8632 | * system.h (TARGET_VERSION, MACHINE_TYPE): Poison. | |
8633 | * collect2.c (main): Don't use TARGET_VERSION. | |
8634 | * mips-tdump.c (main): Don't use TARGET_VERSION. | |
8635 | * mips-tfile.c (main): Don't use TARGET_VERSION. | |
e9c18386 | 8636 | * config.gcc (powerpc-wrs-vxworksae): Don't use rs6000/vxworksae.h. |
eb1eb914 JM |
8637 | * config/rs6000/vxworksae.h: Remove. |
8638 | * config/alpha/alpha.h (TARGET_VERSION): Remove. | |
8639 | * config/alpha/freebsd.h (TARGET_VERSION): Remove. | |
8640 | * config/alpha/linux-elf.h (TARGET_VERSION): Remove. | |
8641 | * config/alpha/netbsd.h (TARGET_VERSION): Remove. | |
8642 | * config/alpha/vms.h (TARGET_NAME, TARGET_VERSION): Remove. | |
8643 | * config/arm/arm.h (TARGET_VERSION): Remove. | |
8644 | * config/arm/coff.h (TARGET_VERSION): Remove. | |
8645 | * config/arm/ecos-elf.h (TARGET_VERSION): Remove. | |
8646 | * config/arm/elf.h (TARGET_VERSION): Remove. | |
8647 | * config/arm/freebsd.h (TARGET_VERSION): Remove. | |
8648 | * config/arm/linux-elf.h (TARGET_VERSION): Remove. | |
8649 | * config/arm/netbsd-elf.h (TARGET_VERSION): Remove. | |
8650 | * config/arm/pe.h (TARGET_VERSION): Remove. | |
8651 | * config/arm/rtems-elf.h (TARGET_VERSION): Remove. | |
8652 | * config/arm/semi.h (TARGET_VERSION): Remove. | |
8653 | * config/arm/uclinux-elf.h (TARGET_VERSION): Remove. | |
8654 | * config/arm/unknown-elf.h (TARGET_VERSION): Remove. | |
8655 | * config/arm/vxworks.h (TARGET_VERSION): Remove. | |
8656 | * config/avr/avr.h (TARGET_VERSION): Remove. | |
8657 | * config/bfin/bfin.h (TARGET_VERSION): Remove. | |
8658 | * config/fr30/fr30.h (TARGET_VERSION): Remove. | |
8659 | * config/frv/frv.h (TARGET_VERSION): Remove. | |
8660 | * config/h8300/h8300.h (TARGET_VERSION): Remove. | |
8661 | * config/i386/cygwin.h (TARGET_VERSION): Remove. | |
8662 | * config/i386/darwin.h (TARGET_VERSION): Remove. | |
8663 | * config/i386/darwin64.h (TARGET_VERSION): Remove. | |
8664 | * config/i386/djgpp.h (TARGET_VERSION): Remove. | |
8665 | * config/i386/freebsd.h (TARGET_VERSION): Remove. | |
8666 | * config/i386/freebsd64.h (TARGET_VERSION): Remove. | |
8667 | * config/i386/gnu.h (TARGET_VERSION): Remove. | |
8668 | * config/i386/i386-interix.h (TARGET_VERSION): Remove. | |
8669 | * config/i386/i386elf.h (TARGET_VERSION): Remove. | |
8670 | * config/i386/linux.h (TARGET_VERSION): Remove. | |
8671 | * config/i386/linux64.h (TARGET_VERSION): Remove. | |
8672 | * config/i386/lynx.h (TARGET_VERSION): Remove. | |
8673 | * config/i386/mingw32.h (TARGET_VERSION): Remove. | |
8674 | * config/i386/netbsd-elf.h (TARGET_VERSION): Remove. | |
8675 | * config/i386/netbsd64.h (TARGET_VERSION): Remove. | |
8676 | * config/i386/netware.h (TARGET_VERSION): Remove. | |
8677 | * config/i386/nto.h (TARGET_VERSION): Remove. | |
8678 | * config/i386/openbsd.h (TARGET_VERSION): Remove. | |
8679 | * config/i386/vxworks.h (TARGET_VERSION): Remove. | |
8680 | * config/ia64/elf.h (TARGET_VERSION): Remove. | |
8681 | * config/ia64/freebsd.h (TARGET_VERSION): Remove. | |
8682 | * config/ia64/hpux.h (TARGET_VERSION): Remove. | |
8683 | * config/ia64/linux.h (TARGET_VERSION): Remove. | |
8684 | * config/ia64/vms.h (TARGET_NAME, TARGET_VERSION): Remove. | |
8685 | * config/iq2000/iq2000.h (IQ2000_VERSION, MACHINE_TYPE, | |
8686 | TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove. | |
8687 | * config/lm32/lm32.h (TARGET_VERSION): Remove. | |
8688 | * config/lm32/uclinux-elf.h (TARGET_VERSION): Remove. | |
8689 | * config/m32c/m32c.h (TARGET_VERSION): Remove. | |
8690 | * config/m32r/linux.h (LINUX_DEFAULT_ELF, TARGET_VERSION): Remove. | |
8691 | * config/m32r/m32r.h (TARGET_VERSION): Remove. | |
8692 | * config/m68k/linux.h (TARGET_VERSION): Remove. | |
8693 | * config/m68k/m68k.h (TARGET_VERSION): Remove. | |
8694 | * config/m68k/netbsd-elf.h (TARGET_VERSION): Remove. | |
8695 | * config/m68k/uclinux.h (TARGET_VERSION): Remove. | |
8696 | * config/mcore/mcore-elf.h (TARGET_VERSION): Remove. | |
8697 | * config/mep/mep.h (TARGET_VERSION): Remove. | |
8698 | * config/microblaze/microblaze.h (MICROBLAZE_VERSION, | |
8699 | MACHINE_TYPE, TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove. | |
8700 | * config/mips/iris6.h (MACHINE_TYPE): Remove. | |
8701 | * config/mips/linux.h (TARGET_VERSION): Remove. | |
8702 | * config/mips/netbsd.h (MACHINE_TYPE): Remove. | |
8703 | * config/mips/vxworks.h (TARGET_VERSION): Remove. | |
8704 | * config/mmix/mmix.h (TARGET_VERSION): Remove. | |
8705 | * config/mn10300/linux.h (TARGET_VERSION): Remove. | |
8706 | * config/mn10300/mn10300.h (TARGET_VERSION): Remove. | |
8707 | * config/pa/pa.h (TARGET_VERSION): Remove. | |
8708 | * config/pdp11/pdp11.h (TARGET_VERSION): Remove. | |
8709 | * config/picochip/picochip.h (TARGET_VERSION): Remove. | |
8710 | * config/rs6000/aix.h (TARGET_VERSION): Remove. | |
8711 | * config/rs6000/darwin.h (TARGET_VERSION): Remove. | |
8712 | * config/rs6000/darwin64.h (TARGET_VERSION): Remove. | |
8713 | * config/rs6000/eabi.h (TARGET_VERSION): Remove. | |
8714 | * config/rs6000/eabialtivec.h (TARGET_VERSION): Remove. | |
8715 | * config/rs6000/eabisim.h (TARGET_VERSION): Remove. | |
8716 | * config/rs6000/eabispe.h (TARGET_VERSION): Remove. | |
8717 | * config/rs6000/freebsd.h (TARGET_VERSION): Remove. | |
8718 | * config/rs6000/linux.h (TARGET_VERSION): Remove. | |
8719 | * config/rs6000/linux64.h (TARGET_VERSION): Remove. | |
8720 | * config/rs6000/linuxaltivec.h (TARGET_VERSION): Remove. | |
8721 | * config/rs6000/linuxspe.h (TARGET_VERSION): Remove. | |
8722 | * config/rs6000/lynx.h (TARGET_VERSION): Remove. | |
8723 | * config/rs6000/netbsd.h (TARGET_VERSION): Remove. | |
8724 | * config/rs6000/sysv4.h (TARGET_VERSION): Remove. | |
8725 | * config/rs6000/vxworks.h (TARGET_VERSION): Remove. | |
8726 | * config/s390/linux.h (TARGET_VERSION): Remove. | |
8727 | * config/s390/s390.h (TARGET_VERSION): Remove. | |
8728 | * config/s390/tpf.h (TARGET_VERSION): Remove. | |
8729 | * config/score/score.h (TARGET_VERSION): Remove. | |
8730 | * config/sh/linux.h (TARGET_VERSION): Remove. | |
8731 | * config/sh/netbsd-elf.h (TARGET_VERSION_ENDIAN, | |
8732 | TARGET_VERSION_CPU, TARGET_VERSION): Remove. | |
8733 | * config/sh/sh.h (TARGET_VERSION): Remove. | |
8734 | * config/sh/sh64.h (TARGET_VERSION): Remove. | |
8735 | * config/sh/superh.h (TARGET_VERSION): Remove. | |
8736 | * config/sh/vxworks.h (TARGET_VERSION): Remove. | |
8737 | * config/sparc/freebsd.h (TARGET_VERSION): Remove. | |
8738 | * config/sparc/linux.h (TARGET_VERSION): Remove. | |
8739 | * config/sparc/linux64.h (TARGET_VERSION): Remove. | |
8740 | * config/sparc/netbsd-elf.h (TARGET_VERSION, TARGET_NAME64, | |
8741 | TARGET_NAME32, TARGET_NAME): Remove. | |
8742 | * config/sparc/openbsd64.h (TARGET_VERSION): Remove. | |
8743 | * config/sparc/sp-elf.h (TARGET_VERSION): Remove. | |
8744 | * config/sparc/sp64-elf.h (TARGET_VERSION): Remove. | |
8745 | * config/sparc/sysv4.h (TARGET_VERSION): Remove. | |
8746 | * config/sparc/vxworks.h (TARGET_VERSION): Remove. | |
8747 | * config/spu/spu.h (TARGET_VERSION): Remove. | |
8748 | * config/stormy16/stormy16.h (TARGET_VERSION): Remove. | |
8749 | * config/v850/v850.h (TARGET_VERSION): Remove. | |
8750 | * config/vax/linux.h (TARGET_VERSION): Remove. | |
8751 | * config/vax/vax.h (TARGET_NAME, TARGET_VERSION): Remove. | |
8752 | * config/xtensa/elf.h (TARGET_VERSION): Remove. | |
8753 | * config/xtensa/linux.h (TARGET_VERSION): Remove. | |
8754 | ||
ace31bca EB |
8755 | 2011-03-31 Eric Botcazou <ebotcazou@adacore.com> |
8756 | ||
8757 | PR target/48142 | |
8758 | * config/i386/i386.c (ix86_adjust_stack_and_probe): Differentiate | |
8759 | frame-related from frame-unrelated adjustments to the stack pointer. | |
8760 | ||
76f9db36 JJ |
8761 | 2011-03-31 Jakub Jelinek <jakub@redhat.com> |
8762 | ||
8763 | * common.opt (fdebug-types-section): Move earlier. | |
8764 | * doc/invoke.texi: Fix up -fno-debug-types-section documentation. | |
8765 | ||
b7826465 AT |
8766 | 2011-03-31 Andreas Tobler <andreast@fgznet.ch> |
8767 | ||
8768 | * config/rs6000/rs6000.c (rs6000_handle_option): Remove unused isel | |
8769 | var. | |
8770 | ||
1290e54c NF |
8771 | 2011-03-30 Nathan Froyd <froydnj@codesourcery.com> |
8772 | ||
8773 | * tree.h (CASE_CHAIN): Define. | |
8774 | * tree-cfg.c (edge_to_cases_cleanup, get_cases_for_edge): Use it. | |
8775 | (gimple_redirect_edge_and_branch): Likewise. | |
8776 | ||
bddc98e1 VM |
8777 | 2011-03-30 Vladimir Makarov <vmakarov@redhat.com> |
8778 | ||
8779 | PR middle-end/48367 | |
8780 | * ira-costs.c (find_costs_and_classes): Fix a typo in i_mem_cost | |
8781 | calculation. | |
8782 | ||
c865e437 JL |
8783 | 2011-03-30 Jeff Law <law@redhat.com> |
8784 | ||
b3750213 | 8785 | * PR bootstrap/48371 |
c865e437 JL |
8786 | * reload1.c (reload): Fix botch in last change. |
8787 | ||
8788 | * reload.h (struct reload): Fix typo introduced in last change. | |
8789 | ||
2cdf9574 JM |
8790 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
8791 | ||
8792 | * config/arm/arm.opt (mhard-float, msoft-float): Mark | |
8793 | Undocumented. Remove help text. | |
8794 | * doc/invoke.texi (ARM Options): Don't document -msoft-float and | |
8795 | -mhard-float. | |
8796 | ||
666a21a2 JM |
8797 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
8798 | ||
8799 | * doc/options.texi (NegativeAlias): Document. | |
8800 | (Alias): Mention NegativeAlias. | |
8801 | * opt-functions.awk: Handle NegativeAlias. | |
e9c18386 | 8802 | * optc-gen.awk: Disallow NegativeAlias with multiple Alias arguments. |
666a21a2 JM |
8803 | * opts-common.c (decode_cmdline_option): Handle CL_NEGATIVE_ALIAS. |
8804 | * opts.h (CL_NEGATIVE_ALIAS): Define. | |
8805 | * config/rs6000/rs6000.c (rs6000_parse_yes_no_option): Remove. | |
8806 | (rs6000_handle_option): Don't handle OPT_mvrsave_, OPT_misel_ and | |
8807 | OPT_mspe_. | |
8808 | * config/rs6000/rs6000.opt (mvrsave=, misel=, mspe=): Replace with | |
8809 | Alias entries. | |
8810 | * config/rs6000/t-spe (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use | |
8811 | mno-spe and mno-isel instead of mspe=no and -misel=no. | |
8812 | ||
0fa4e351 MW |
8813 | 2011-03-29 Mark Wielaard <mjw@redhat.com> |
8814 | ||
8815 | * common.opt (fdebug-types-section): New flag. | |
8816 | * doc/invoke.texi: Document new -fno-debug-types-section flag. | |
8817 | * dwarf2out.c (use_debug_types): New define. | |
8818 | (struct die_struct): Mark die_id with GTY desc use_debug_types. | |
8819 | (print_die): Guard output of type unit signatures using | |
8820 | use_debug_types. | |
8821 | (build_abbrev_table): Replace assert of dwarf_version >= 4 | |
8822 | with assert on use_debug_types. | |
8823 | (size_of_die): Likewise. | |
8824 | (unmark_dies): Likewise. | |
8825 | (value_format): Decide AT_ref_external form on use_debug_types. | |
8826 | (output_die): Replace dwarf_version version check guard with | |
8827 | use_debug_types where appropriate. | |
8828 | (modified_type_die): Likewise. | |
8829 | (gen_reference_type_die): Likewise. | |
8830 | (dwarf2out_start_source_file): Likewise. | |
8831 | (dwarf2out_end_source_file): Likewise. | |
8832 | (prune_unused_types_walk_attribs): Likewise. | |
8833 | (dwarf2out_finish): Likewise. | |
8834 | ||
4648deb4 VM |
8835 | 2011-03-30 Vladimir Makarov <vmakarov@redhat.com> |
8836 | ||
8837 | * ira-color.c (ira_assign_hard_reg): Use only one variable 'mode'. | |
8838 | ||
4f431835 RS |
8839 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
8840 | ||
8841 | PR rtl-optimization/48332 | |
8842 | * optabs.c (expand_binop_directly): Set xmodeN to the target-mandated | |
8843 | mode of input operand N and modeN to its actual mode. | |
8844 | ||
f2034d06 JL |
8845 | 2011-03-30 Jeff Law <law@redhat.com> |
8846 | ||
8847 | * reload.h (reg_equiv_constant): Move into new structure reg_equivs, | |
8848 | define accessor macro. | |
8849 | (reg_equiv_invariant, reg_equiv_memory_loc): Likewise. | |
8850 | (reg_equiv_address, reg_equiv_mem, reg_equiv_alt_mem_list): Likewise. | |
8851 | (reg_equiv_init): Likewise. | |
8852 | (reg_equivs_size): New variable. | |
8853 | (reg_equiv_init_size): Remove. | |
8854 | (allocate_initial_values): Move prototype to here from.... | |
8855 | * integrate.h (allocate_initial_values): Remove prototype. | |
8856 | * integrate.c: Include reload.h. | |
8857 | (allocate_initial_values): Corresponding changes. | |
8858 | * ira.c (find_reg_equiv_invariant_cost): Corresponding changes. | |
8859 | (fix_reg_equiv_init, no_equiv): Corresponding changes. | |
8860 | (update_equiv_regs): Corresponding changes. | |
8861 | (ira): Corresponding changes. | |
8862 | * reload.c (push_reg_equiv_alt_mem): Corresponding changes. | |
8863 | (push_secondary_reload): Corresponding changes. | |
8864 | (push_reload, find_reloads, find_reloads_toplev): Corresponding changes. | |
8865 | (make_memloc, find_reloads_address): Corresponding changes. | |
8866 | (subst_reg_equivs, subst_indexed_address): Corresponding changes. | |
8867 | (find_reloads_address_1): Corresponding changes. | |
8868 | (find_reloads_subreg_address, subst_reloads): Corresponding changes. | |
8869 | (refers_to_regno_for_reload_p): Corresponding changes. | |
8870 | (reg_overlap_mentioned_for_reload_p): Corresponding changes. | |
8871 | (refers_to_mem_for_reload_p, find_equiv_reg): Corresponding changes. | |
8872 | * reload1.c: Include ggc.h. | |
8873 | (grow_reg_equivs): New function. | |
8874 | (replace_pseudos_in, reload): Corresponding changes. | |
8875 | (calculate_needs_all_insns, alter_regs): Corresponding changes. | |
8876 | (eliminate_regs_1, elimination_effects): Corresponding changes. | |
8877 | (emit_input_reload_insns, emit_output_reload_insns): Likewise. | |
8878 | (delete_output_reload): Likewise. | |
8879 | * caller-save.c (mark_referenced_regs): Corresponding changes. | |
8880 | * alpha/alpha.c (resolve_reload_operand): Corresponding changes. | |
8881 | * frv/predicates.md (frv_load_operand): Corresponding changes. | |
8882 | * microblaze/microblaze.c (double_memory_operand): Corresponding | |
8883 | changes. | |
8884 | * avr/avr.h (LEGITIMIZE_RELOAD_ADDRESS): Corresponding changes. | |
8885 | * xtensa/xtensa.c (fixup_subreg_mem): Corresponding changes. | |
e9c18386 | 8886 | * mn10300/mn10300.c (mn10300_secondary_reload): Corresponding changes. |
f2034d06 JL |
8887 | * m68k/m68k.c (emit_move_sequence): Corresponding changes. |
8888 | * arm/arm.c (arm_reload_in_hi, arm_reload_out_hi): Corresponding | |
8889 | changes. | |
8890 | * pa/pa.c (emit_move_sequence): Corresponding changes. | |
8891 | * vax/vax.c (nonindexed_address_p): Corresponding changes. | |
8892 | ||
159b81b0 RS |
8893 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
8894 | ||
8895 | PR target/47551 | |
8896 | * config/arm/arm.c (coproc_secondary_reload_class): Handle | |
8897 | structure modes. Don't check neon_vector_mem_operand for | |
8898 | vector or structure modes. | |
8899 | ||
a6217191 RS |
8900 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
8901 | Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> | |
8902 | ||
8903 | PR target/43590 | |
8904 | * config/arm/neon.md (neon_vld3qa<mode>, neon_vld4qa<mode>): Remove | |
8905 | operand 1 and reshuffle the operands to match. | |
8906 | (neon_vld3<mode>, neon_vld4<mode>): Update accordingly. | |
8907 | ||
bd837408 CS |
8908 | 2011-03-30 Christian Schüler <cschueler@gmx.de> |
8909 | ||
6955d771 | 8910 | PR driver/48208 |
bd837408 | 8911 | * config/c.opt (F): Added 'Driver' to -F option. |
e9c18386 | 8912 | |
6955d771 | 8913 | PR driver/48260 |
bd837408 CS |
8914 | * config/darwin-driver.c (darwin_driver_init): Add '-arch' to |
8915 | handler function. | |
8916 | * config/darwin.opt: Added '-arch' option. | |
8917 | ||
e9c0470a NC |
8918 | 2011-03-30 Nick Clifton <nickc@redhat.com> |
8919 | ||
8920 | * config/rx/rx.md: Add peepholes and patterns to combine | |
8921 | extending loads and simple arithmetic instructions. | |
8922 | * config/rx/rx.h (ADJUST_INSN_LENGTH): Define. | |
e9c18386 UB |
8923 | * config/rx/rx-protos.h (rx_adjust_insn_length): Prototype. |
8924 | * config/rx/rx.c (rx_is_legitimate_address): Allow QI and HI | |
e9c0470a | 8925 | modes to use pre-decrement and post-increment addressing. |
e9c18386 | 8926 | (rx_is_restricted_memory_address): Add range checking of REG+INT |
e9c0470a | 8927 | addresses. |
e9c18386 UB |
8928 | (rx_print_operand): Add support for %Q. Fix handling of %Q. |
8929 | (rx_memory_move_cost): Adjust cost of stores. | |
8930 | (rx_adjust_insn_length): New function. | |
e9c0470a | 8931 | |
8a87e7ab JJ |
8932 | 2011-03-30 Jakub Jelinek <jakub@redhat.com> |
8933 | ||
8934 | PR c/48305 | |
8935 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure | |
8936 | arg10/arg11 in (X ^ Y) == (Z ^ W) are always fold converted to | |
8937 | matching arg00/arg01 types. | |
8938 | ||
12486e03 EB |
8939 | 2011-03-30 Eric Botcazou <ebotcazou@adacore.com> |
8940 | ||
8941 | * cfglayout.c (insn_locators_alloc): Initialize curr_location and | |
8942 | last_location to UNKNOWN_LOCATION. | |
8943 | ||
0b99eef6 L |
8944 | 2011-03-30 H.J. Lu <hongjiu.lu@intel.com> |
8945 | ||
8946 | PR target/48349 | |
8947 | * config/i386/i386.h (REG_CLASS_CONTENTS): Fix a typo in | |
8948 | FLOAT_SSE_REGS. | |
8949 | ||
023592aa JM |
8950 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
8951 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
8952 | ||
8953 | PR bootstrap/48337 | |
8954 | * config/sparc/sparc.opt (sparc_cpu_and_features): Add | |
8955 | Init(PROCESSOR_V7). | |
8956 | (sparc_cpu): Likewise. | |
8957 | * config/sparc/sparc.c (sparc_option_override): Replace 0 by | |
8958 | PROCESSOR_V7. | |
8959 | ||
ad3b266b VM |
8960 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
8961 | ||
8962 | PR target/48336 | |
8963 | PR middle-end/48342 | |
8964 | PR rtl-optimization/48345 | |
8965 | * ira-color.c (setup_conflict_profitable_regs): Exclude prohibited | |
8966 | hard regs for given mode from profitable regs when doing secondary | |
8967 | allocation. | |
8968 | ||
633c9126 JL |
8969 | 2011-03-29 Jeff Law <law@redhat.com> |
8970 | ||
8971 | PR bootstrap/48327 | |
8972 | * tree-ssa-threadupdate.c (struct redirection_data): Remove | |
8973 | do_not_duplicate field. | |
8974 | (lookup_redirection_data): Corresponding changes. | |
8975 | (create_duplicates): Always create a template block. | |
8976 | (redirect_edges): Remove code which reused the original block | |
8977 | when it was going to become unreachable code. | |
8978 | (thread_block): Don't set do_not_duplicate field. | |
8979 | ||
eb50f63a JM |
8980 | 2011-03-29 Joseph Myers <joseph@codesourcery.com> |
8981 | ||
8982 | * lto-opts.c (register_user_option_p, lto_register_user_option): | |
8983 | Make type argument unsigned. | |
8984 | * lto-streamer.h (lto_register_user_option): Make type argument | |
8985 | unsigned. | |
8986 | * opth-gen.awk: Make CL_* macros unsigned. | |
8987 | * opts-common.c (find_opt): Make lang_mask argument unsigned. | |
8988 | * opts.h (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_DRIVER, | |
8989 | CL_TARGET, CL_COMMON, CL_SEPARATE_NARGS_MASK, CL_SEPARATE_ALIAS, | |
8990 | CL_NO_DRIVER_ARG, CL_REJECT_DRIVER, CL_SAVE, CL_DISABLED, | |
8991 | CL_REPORT, CL_JOINED, CL_SEPARATE, CL_REJECT_NEGATIVE, | |
8992 | CL_MISSING_OK, CL_UINTEGER, CL_UNDOCUMENTED): Make unsigned. | |
8993 | (find_opt): Make lang_mask argument unsigned. | |
8994 | ||
76763a6d VM |
8995 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
8996 | ||
8997 | PR rtl-optimization/48331 | |
8998 | PR rtl-optimization/48334 | |
8999 | * ira-color.c (color_allocnos): Call setup_profitable_hard_regs | |
9000 | for any used algorithm. | |
9001 | ||
5c82436e VM |
9002 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
9003 | ||
9004 | * ira-conflicts.c (build_object_conflicts): Add unused attribute | |
9005 | to parent_max. | |
9006 | ||
7a81008b UB |
9007 | 2011-03-29 Uros Bizjak <ubizjak@gmail.com> |
9008 | ||
9009 | * config/alpha/alpha.c (alpha_sr_alias_set): Don't define. | |
9010 | (alpha_option_override): Don't set alpha_sr_alias_set. | |
9011 | (emit_frame_store_1): Use gen_frame_mem rather than calling | |
9012 | set_mem_alias_set. | |
9013 | (alpha_expand_epilogue): Ditto. | |
9014 | ||
86c8d1f6 IR |
9015 | 2011-03-29 Ira Rosen <ira.rosen@linaro.org> |
9016 | ||
9017 | PR tree-optimization/48290 | |
9018 | * tree-vect-loop.c (vect_analyze_loop_operations): In outer loop | |
9019 | vectorization, check that relevant phis in the basic block after | |
9020 | the inner loop are really inner loop's exit phis. | |
9021 | ||
0d12220f RS |
9022 | 2011-03-29 Richard Sandiford <richard.sandiford@linaro.org> |
9023 | ||
e8cf17e7 | 9024 | PR debug/48190 |
0d12220f RS |
9025 | * dwarf2out.c (dw_loc_list_node): Add resolved_addr and replaced. |
9026 | (cached_dw_loc_list_def): New structure. | |
9027 | (cached_dw_loc_list): New typedef. | |
9028 | (cached_dw_loc_list_table): New variable. | |
9029 | (cached_dw_loc_list_table_hash): New function. | |
9030 | (cached_dw_loc_list_table_eq): Likewise. | |
9031 | (add_location_or_const_value_attribute): Take a bool cache_p. | |
9032 | Cache the list when the parameter is true. | |
9033 | (gen_formal_parameter_die): Update caller. | |
9034 | (gen_variable_die): Likewise. | |
9035 | (dwarf2out_finish): Likewise. | |
9036 | (dwarf2out_abstract_function): Nullify cached_dw_loc_list_table | |
9037 | while generating debug info for the decl. | |
9038 | (dwarf2out_function_decl): Clear cached_dw_loc_list_table. | |
9039 | (dwarf2out_init): Initialize cached_dw_loc_list_table. | |
9040 | (resolve_addr): Cache the result of resolving a chain of | |
9041 | location lists. | |
9042 | ||
1756cb66 VM |
9043 | 2011-03-28 Vladimir Makarov <vmakarov@redhat.com> |
9044 | ||
9045 | * ira-color.c (update_left_conflict_sizes_p): Don't assume that | |
9046 | conflict object hard regset nodes have intersecting hard reg sets. | |
7a81008b | 9047 | |
1756cb66 VM |
9048 | * regmove.c (regmove_optimize): Move ira_set_pseudo_classes call |
9049 | after regstat_init_n_sets_and_refs. | |
9050 | ||
9051 | * ira.c: Add more comments at the top. | |
9052 | (setup_stack_reg_pressure_class, setup_pressure_classes): | |
9053 | Add comments how we compute the register pressure classes. | |
9054 | (setup_allocno_and_important_classes): Add more comments. | |
9055 | (setup_class_translate_array, reorder_important_classes) | |
9056 | (setup_reg_class_relations): Add comments. | |
9057 | ||
9058 | * ira-emit.c: Add 2011 to the Copyright line. Add comments at the | |
9059 | start of the file. | |
9060 | ||
9061 | * ira-color.c: Add 2011 to the Copyright line. | |
9062 | (assign_hard_reg): Add more comments. | |
9063 | (improve_allocation): Ditto. | |
9064 | ||
9065 | * ira-costs.c: Add 2011 to the Copyright line. | |
9066 | (setup_cost_classes, setup_regno_cost_classes_by_aclass): Add more | |
9067 | comments. | |
9068 | (setup_regno_cost_classes_by_mode): Ditto. | |
9069 | ||
9070 | Initial patches from ira-improv branch: | |
9071 | ||
9072 | 2010-08-13 Vladimir Makarov <vmakarov@redhat.com> | |
9073 | ||
f60c2554 | 9074 | * ira-build.c (ira_create_object): Remove initialization of |
1756cb66 VM |
9075 | OBJECT_PROFITABLE_HARD_REGS. Initialize OBJECT_ADD_DATA. |
9076 | (ira_create_allocno): Remove initialization of | |
9077 | ALLOCNO_MEM_OPTIMIZED_DEST, ALLOCNO_MEM_OPTIMIZED_DEST_P, | |
9078 | ALLOCNO_SOMEWHERE_RENAMED_P, ALLOCNO_CHILD_RENAMED_P, | |
9079 | ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P, ALLOCNO_COLORABLE_P, | |
9080 | ALLOCNO_NEXT_BUCKET_ALLOCNO, ALLOCNO_PREV_BUCKET_ALLOCNO, | |
9081 | ALLOCNO_FIRST_COALESCED_ALLOCNO, ALLOCNO_NEXT_COALESCED_ALLOCNO. | |
9082 | Initialize ALLOCNO_ADD_DATA. | |
9083 | (copy_info_to_removed_store_destinations): Use ALLOCNO_EMIT_DATA | |
9084 | and allocno_emit_reg instead of ALLOCNO_MEM_OPTIMIZED_DEST_P and | |
9085 | ALLOCNO_REG. | |
9086 | (ira_flattening): Ditto. Use ALLOCNO_EMIT_DATA instead of | |
9087 | ALLOCNO_MEM_OPTIMIZED_DEST and ALLOCNO_SOMEWHERE_RENAMED_P. | |
9088 | ||
9089 | * ira.c (ira_reallocate): Remove. | |
9090 | (setup_pressure_classes): Call | |
9091 | ira_init_register_move_cost_if_necessary. Use | |
9092 | ira_register_move_cost instead of ira_get_register_move_cost. | |
9093 | (setup_allocno_assignment_flags): Use ALLOCNO_EMIT_DATA. | |
9094 | (ira): Call ira_initiate_emit_data and ira_finish_emit_data. | |
9095 | ||
9096 | * ira-color.c: Use ALLOCNO_COLOR_DATA instead of | |
9097 | ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P, ALLOCNO_COLORABLE_P, | |
9098 | ALLOCNO_AVAILABLE_REGS_NUM, ALLOCNO_NEXT_BUCKET_ALLOCNO, | |
9099 | ALLOCNO_PREV_BUCKET_ALLOCNO. ALLOCNO_TEMP. Use OBJECT_COLOR_DATA | |
9100 | instead of OBJECT_PROFITABLE_HARD_REGS, OBJECT_HARD_REGS_NODE, | |
9101 | OBJECT_HARD_REGS_SUBNODES_START, OBJECT_HARD_REGS_SUBNODES_NUM. | |
9102 | Fix formatting. | |
7a81008b | 9103 | (object_hard_regs_t, object_hard_regs_node_t): Move from ira-int.h. |
1756cb66 VM |
9104 | (struct object_hard_regs, struct object_hard_regs_node): Ditto. |
9105 | (struct allocno_color_data): New. | |
9106 | (allocno_color_data_t): New typedef. | |
9107 | (allocno_color_data): New definition. | |
9108 | (ALLOCNO_COLOR_DATA): New macro. | |
9109 | (struct object_color_data): New. | |
9110 | (object_color_data_t): New typedef. | |
9111 | (object_color_data): New definition. | |
9112 | (OBJECT_COLOR_DATA): New macro. | |
9113 | (update_copy_costs, calculate_allocno_spill_cost): Call | |
9114 | ira_init_register_move_cost_if_necessary. Use | |
9115 | ira_register_move_cost instead of ira_get_register_move_cost. | |
9116 | (move_spill_restore, update_curr_costs): Ditto. | |
9117 | (allocno_spill_priority): Make it inline. | |
7a81008b | 9118 | (color_pass): Allocate and free allocno_color_dat and object_color_data. |
1756cb66 VM |
9119 | (struct coalesce_data, coalesce_data_t): New. |
9120 | (allocno_coalesce_data): New definition. | |
9121 | (ALLOCNO_COALESCE_DATA): New macro. | |
9122 | (merge_allocnos, coalesced_allocno_conflict_p): Use | |
9123 | ALLOCNO_COALESCED_DATA instead of ALLOCNO_FIRST_COALESCED_ALLOCNO, | |
9124 | ALLOCNO_NEXT_COALESCED_ALLOCNO, ALLOCNO_TEMP. | |
9125 | (coalesce_allocnos): Ditto. | |
9126 | (setup_coalesced_allocno_costs_and_nums): Ditto. | |
9127 | (collect_spilled_coalesced_allocnos): Ditto. | |
9128 | (slot_coalesced_allocno_live_ranges_intersect_p): Ditto. | |
9129 | (setup_slot_coalesced_allocno_live_ranges): Ditto. | |
9130 | (coalesce_spill_slots): Ditto. | |
9131 | (ira_sort_regnos_for_alter_reg): Ditto. Allocate, initialize and | |
9132 | free allocno_coalesce_data. | |
9133 | ||
9134 | * ira-conflicts.c: Fix formatting. | |
9135 | (process_regs_for_copy): Call | |
9136 | ira_init_register_move_cost_if_necessary. Use | |
9137 | ira_register_move_cost instead of ira_get_register_move_cost. | |
9138 | (build_object_conflicts): Optimize. | |
9139 | ||
9140 | * ira-costs.c (record_reg_classes): Optimize. Call | |
9141 | ira_init_register_move_cost_if_necessary. Use | |
9142 | ira_register_move_cost, ira_may_move_in_cost, and | |
9143 | ira_may_move_out_cost instead of ira_get_register_move_cost and | |
9144 | ira_get_may_move_cost. | |
9145 | (record_address_regs): Ditto. | |
9146 | (scan_one_insn): Optimize. | |
9147 | (find_costs_and_classes): Optimize. | |
9148 | (process_bb_node_for_hard_reg_moves): Call | |
9149 | ira_init_register_move_cost_if_necessary. Use | |
9150 | ira_register_move_cost instead of ira_get_register_move_cost. | |
9151 | ||
9152 | * ira-emit.c: Use allocno_emit_reg, ALLOCNO_EMIT_DATA instead of | |
9153 | ALLOCNO_REG, ALLOCNO_CHILD_RENAMED_P, ALLOCNO_MEM_OPTIMIZED_DEST, | |
9154 | ALLOCNO_MEM_OPTIMIZED_DEST_P, and ALLOCNO_SOMEWHERE_RENAMED_P. | |
9155 | (ira_allocno_emit_data, void_p, new_allocno_emit_data_vec): New | |
9156 | definitions. | |
9157 | (ira_initiate_emit_data, ira_finish_emit_data) | |
9158 | (create_new_allocno): New functions. | |
7a81008b | 9159 | (modify_move_list): Call create_new_alloc instead of ira_create_allocno. |
1756cb66 VM |
9160 | (emit_move_list): Call ira_init_register_move_cost_if_necessary. |
9161 | Use ira_register_move_cost instead of ira_get_register_move_cost. | |
9162 | ||
9163 | * ira-int.h: Fix some comments. | |
7a81008b UB |
9164 | (object_hard_regs_t, object_hard_regs_node_t): Move to ira-color.c. |
9165 | (struct object_hard_regs, struct object_hard_regs_node): Ditto. | |
1756cb66 VM |
9166 | (struct ira_object): Remove profitable_hard_regs, hard_regs_node, |
9167 | hard_regs_subnodes_start, hard_regs_subnodes_num. Add new member | |
9168 | add_data. | |
9169 | (struct ira_allocno): Make mode and aclass a bitfield. Move other | |
9170 | bitfield after mode. Make hard_regno a short int. Make | |
9171 | hard_regno short. Remove first_coalesced_allocno and | |
9172 | next_coalesced_allocno. Move mem_optimized_dest_p, | |
9173 | somewhere_renamed_p, child_renamed_p, reg, and mem_optimized_dest | |
9174 | into struct ira_emit_data. Remove in_graph_p, may_be_spilled_p, | |
9175 | available_regs_num, next_bucket_allocno, prev_bucket_allocno, | |
9176 | temp, colorable_p. Add new member add_data. | |
9177 | (ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P): Remove. | |
9178 | (ALLOCNO_COLORABLE_P, ALLOCNO_AVAILABLE_REGS_NUM): Remove. | |
9179 | (ALLOCNO_NEXT_BUCKET_ALLOCNO, ALLOCNO_PREV_BUCKET_ALLOCNO): Remove. | |
9180 | (ALLOCNO_TEMP, ALLOCNO_FIRST_COALESCED_ALLOCNO): Remove. | |
9181 | (ALLOCNO_NEXT_COALESCED_ALLOCNO): Remove. | |
9182 | (ALLOCNO_ADD_DATA): New macro. | |
9183 | (ira_emit_data_t): New typedef. | |
9184 | (struct ira_emit_data): New. Move mem_optimized_dest_p, | |
9185 | somewhere_renamed_p, child_renamed_p, reg, mem_optimized_dest | |
9186 | from struct ira_allocno. | |
9187 | (ALLOCNO_EMIT_DATA): New macro. | |
9188 | (ira_allocno_emit_data, allocno_emit_reg): New. | |
9189 | (ALLOCNO_PROFITABLE_HARD_REGS, OBJECT_HARD_REGS_NODE): Remove. | |
7a81008b | 9190 | (OBJECT_HARD_REGS_SUBNODES_STAR, OBJECT_HARD_REGS_SUBNODES_NUM): Remove. |
1756cb66 VM |
9191 | (OBJECT_ADD_DATA): New macro. |
9192 | (ira_reallocate): Remove. | |
9193 | (ira_initiate_emit_data, ira_finish_emit_data): New. | |
9194 | (ira_get_register_move_cost, ira_get_may_move_cost): Remove. | |
9195 | (ira_init_register_move_cost_if_necessary): New. | |
9196 | (ira_object_conflict_iter_next): Merge into | |
9197 | ira_object_conflict_iter_cond. | |
7a81008b | 9198 | (FOR_EACH_OBJECT_CONFLICT): Don't use ira_object_conflict_iter_next. |
1756cb66 | 9199 | |
f60c2554 | 9200 | * ira-live.c (process_single_reg_class_operands): Call |
1756cb66 VM |
9201 | ira_init_register_move_cost_if_necessary. Use |
9202 | ira_register_move_cost instead of ira_get_register_move_cost. | |
9203 | ||
9204 | 2010-08-13 Vladimir Makarov <vmakarov@redhat.com> | |
9205 | ||
9206 | * ira-int.h (struct target_ira_int): Remove x_cost_classes. | |
9207 | ||
9208 | * ira-costs.c: Fix formatting. | |
9209 | (cost_classes, cost_classes_num): Remove. | |
9210 | (struct cost_classes, cost_classes_t, const_cost_classes_t): New. | |
9211 | (regno_cost_classes, cost_classes_hash, cost_classes_eq): New. | |
9212 | (cost_classes_del, cost_classes_htab): New. | |
9213 | (cost_classes_aclass_cache, cost_classes_mode_cache): New. | |
9214 | (initiate_regno_cost_classes, setup_cost_classes): New. | |
9215 | (setup_regno_cost_classes_by_aclass): New. | |
7a81008b | 9216 | (setup_regno_cost_classes_by_mode, finish_regno_cost_classes): New. |
1756cb66 VM |
9217 | (record_reg_classes): Use regno_cost_classes instead of |
9218 | cost_classes. Move checking opposite operand up. | |
9219 | (record_address_regs): Use regno_cost_classes | |
9220 | instead of cost_classes. | |
9221 | (scan_one_insn): Ditto. Use always general register. | |
9222 | (print_allocno_costs): Use regno_cost_classes instead of | |
9223 | cost_classes. | |
9224 | (print_pseudo_costs): Ditto. Use Reg_N_REFS. | |
9225 | (find_costs_and_classes): Set up cost classes for each registers. | |
9226 | Use also their mode for this. Use regno_cost_classes instead of | |
9227 | cost_classes. | |
9228 | (setup_allocno_class_and_costs): Use regno_cost_classes instead of | |
9229 | cost_classes. | |
9230 | (free_ira_costs, ira_init_costs): Don't use cost_classes. | |
9231 | (ira_costs, ira_set_pseudo_classes): Call | |
9232 | initiate_regno_cost_classes and finish_regno_cost_classes. | |
9233 | ||
9234 | 2010-10-04 Vladimir Makarov <vmakarov@redhat.com> | |
9235 | ||
9236 | * target-def.h (TARGET_IRA_COVER_CLASSES): Remove. | |
9237 | ||
9238 | * target.def (ira_cover_classes): Remove. | |
9239 | ||
7a81008b | 9240 | * doc/tm.texi: Remove TARGET_IRA_COVER_CLASSES and IRA_COVER_CLASSES. |
1756cb66 VM |
9241 | |
9242 | * doc/tm.texi.in: Ditto. | |
9243 | ||
9244 | * ira-conflicts.c: Remove mentioning cover classes from the file. | |
9245 | Use ALLOCNO_CLASS instead of ALLOCNO_COVER_CLASS. Use | |
7a81008b | 9246 | ALLOCNO_COVER_CLASS_COST instead of ALLOCNO_CLASS_COST. Fix formatting. |
1756cb66 VM |
9247 | |
9248 | * targhooks.c (default_ira_cover_classes): Remove. | |
9249 | ||
9250 | * targhooks.h (default_ira_cover_classes): Ditto. | |
9251 | ||
9252 | * haifa-sched.c: Remove mentioning cover classes from the file. | |
9253 | Use ira_reg_pressure_cover instead of ira_reg_class_cover. Use | |
9254 | ira_pressure_classes and ira_pressure_classes_num instead of | |
9255 | ira_reg_class_cover_size and ira_reg_class_cover. Use | |
9256 | sched_regno_pressure_class instead of sched_regno_cover_class. | |
9257 | (mark_regno_birth_or_death, setup_insn_reg_pressure_info): Use | |
9258 | ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
9259 | ||
9260 | * ira-int.h: Add 2010 to Copyright. Remove mentioning cover | |
9261 | classes from the file. | |
9262 | (object_hard_regs_t, object_hard_regs_node_t): New typedefs. | |
9263 | (struct object_hard_regs, struct object_hard_regs_node): New. | |
9264 | (struct ira_object): New members profitable_hard_regs, | |
9265 | hard_regs_node, hard_regs_subnodes_start, hard_regs_subnodes_num. | |
9266 | (struct ira_allocno): Rename cover_class to aclass. Rename | |
9267 | cover_class_cost and updated_cover_class_cost to class_cost and | |
9268 | updated_class_cost. Remove splay_removed_p and | |
9269 | left_conflict_size. Add new members colorable_p. | |
9270 | (ALLOCNO_SPLAY_REMOVED_P, ALLOCNO_LEFT_CONFLICTS_SIZE): Remove. | |
9271 | (ALLOCNO_COLORABLE_P): New macro. | |
9272 | (ALLOCNO_COVER_CLASS): Rename to ALLOCNO_CLASS. | |
9273 | (ALLOCNO_COVER_CLASS_COST, ALLOCNO_UPDATED_COVER_CLASS_COST): | |
9274 | Rename to ALLOCNO_CLASS_COST and ALLOCNO_UPDATED__CLASS_COST. | |
9275 | (OBJECT_...): Rename parameter C to O. | |
9276 | (OBJECT_PROFITABLE_HARD_REGS): New macro. | |
9277 | (OBJECT_HARD_REGS_NODE, OBJECT_HARD_REGS_SUBNODES_START) | |
9278 | (OBJECT_HARD_REGS_SUBNODES_NUM): New macros. | |
9279 | (struct target_ira_int): New members x_ira_max_memory_move_cost, | |
9280 | x_ira_max_register_move_cost, x_ira_max_may_move_in_cost, | |
9281 | x_ira_max_may_move_out_cost, x_ira_reg_allocno_class_p, | |
9282 | x_ira_reg_pressure_class_p, x_ira_important_class_nums, | |
9283 | x_ira_reg_class_superunion. Rename x_prohibited_class_mode_reg to | |
9284 | x_ira_prohibited_class_mode_reg. Rename x_ira_reg_class_union to | |
9285 | x_ira_reg_class_subunion. | |
9286 | (ira_max_memory_move_cost, ira_max_register_move_cost) | |
9287 | (ira_max_may_move_in_cost, ira_max_may_move_out_cost) | |
9288 | (ira_reg_allocno_class_p, ira_reg_pressure_class_p) | |
9289 | (ira_important_class_nums, ira_reg_class_superunion): New macros. | |
7a81008b | 9290 | (prohibited_class_mode_regs): Rename to ira_prohibited_class_mode_regs. |
1756cb66 VM |
9291 | (ira_reg_class_union): Rename to ira_reg_class_subunion. |
9292 | (ira_debug_class_cover): Rename to ira_debug_allocno_classes. | |
9293 | (ira_set_allocno_cover_class): Rename to ira_set_allocno_class. | |
9294 | (ira_tune_allocno_costs_and_cover_classes): Rename to | |
9295 | ira_tune_allocno_costs. | |
9296 | (ira_debug_hard_regs_forest): New. | |
9297 | (ira_object_conflict_iter_init, ira_object_conflict_iter_cond) | |
9298 | (ira_object_conflict_iter_next): Fix comments. | |
7a81008b | 9299 | (ira_hard_reg_set_intersection_p, hard_reg_set_size): New functions. |
1756cb66 VM |
9300 | (ira_allocate_and_set_costs, ira_allocate_and_copy_costs): Rename |
9301 | cover_class to aclass. | |
9302 | (ira_allocate_and_accumulate_costs): Ditto. | |
9303 | (ira_allocate_and_set_or_copy_costs): Ditto. | |
9304 | ||
9305 | * opts.c (decode_options): Remove ira_cover_class check. | |
9306 | ||
9307 | * ira-color.c: Remove mentioning cover classes from the file. Use | |
9308 | ALLOCNO_CLASS, ALLOCNO_CLASS_COST, and ALLOCNO_UPDATED_CLASS_COST | |
9309 | instead of ALLOCNO_COVER_CLASS, ALLOCNO_COVER_CLASS_COST, and | |
9310 | ALLOCNO_UPDATED_COVER_CLASS_COST. Fix formatting. | |
9311 | (splay-tree.h): Remove include. | |
9312 | (allocno_coalesced_p, processed_coalesced_allocno_bitmap): Move | |
9313 | before copy_freq_compare_func. | |
9314 | (allocnos_for_spilling, removed_splay_allocno_vec): Remove. | |
9315 | (object_hard_regs_vec, object_hard_regs_htab, node_check_tick): | |
9316 | New definitions. | |
9317 | (hard_regs_roots, hard_regs_node_vec): Ditto. | |
9318 | (object_hard_regs_hash, object_hard_regs_eq, find_hard_regs): Ditto. | |
9319 | (insert_hard_regs, init_object_hard_regs, add_object_hard_regs): Ditto. | |
9320 | (finish_object_hard_regs, object_hard_regs_compare): Ditto. | |
9321 | (create_new_object_hard_regs_node): Ditto. | |
9322 | (add_new_object_hard_regs_node_to_forest): Ditto. | |
7a81008b | 9323 | (add_object_hard_regs_to_forest, collect_object_hard_regs_cover): Ditto. |
1756cb66 VM |
9324 | (setup_object_hard_regs_nodes_parent, first_common_ancestor_node): |
9325 | Ditto. | |
9326 | (print_hard_reg_set, print_hard_regs_subforest): Ditto. | |
9327 | (print_hard_regs_forest, ira_debug_hard_regs_forest): Ditto. | |
9328 | (remove_unused_object_hard_regs_nodes): Ditto. | |
9329 | (enumerate_object_hard_regs_nodes): Ditto. | |
9330 | (object_hard_regs_nodes_num, object_hard_regs_nodes): Ditto. | |
9331 | (object_hard_regs_subnode_t): Ditto. | |
9332 | (struct object_hard_regs_subnode): Ditto. | |
9333 | (object_hard_regs_subnodes, object_hard_regs_subnode_index): Ditto. | |
9334 | (setup_object_hard_regs_subnode_index): Ditto. | |
9335 | (get_object_hard_regs_subnodes_num): Ditto. | |
9336 | (form_object_hard_regs_nodes_forest): Ditto. | |
9337 | (finish_object_hard_regs_nodes_tree): Ditto. | |
9338 | (finish_object_hard_regs_nodes_forest): Ditto. | |
9339 | (allocnos_have_intersected_live_ranges_p): Rename to | |
7a81008b | 9340 | allocnos_conflict_by_live_ranges_p. Move before copy_freq_compare_func. |
1756cb66 VM |
9341 | (pseudos_have_intersected_live_ranges_p): Rename to |
9342 | conflict_by_live_ranges_p. Move before copy_freq_compare_func. | |
9343 | (setup_left_conflict_sizes_p, update_left_conflict_sizes_p): Ditto. | |
9344 | (empty_profitable_hard_regs, setup_profitable_hard_regs): Ditto. | |
9345 | (update_copy_costs): Remove assert. Skip cost update if the hard | |
9346 | reg does not belong the class. | |
9347 | (assign_hard_reg): Process only profitable hard regs. | |
9348 | (uncolorable_allocnos_num): Make it scalar. | |
9349 | (allocno_spill_priority): Use ALLOCNO_EXCESS_PRESSURE_POINTS_NUM | |
9350 | and ira_reg_class_max_nregs instead of ALLOCNO_LEFT_CONFLICTS_SIZE | |
9351 | and ira_reg_class_max_nregs. | |
9352 | (bucket_allocno_compare_func): Check frequency first. | |
9353 | (sort_bucket): Add compare function as a parameter. | |
9354 | (add_allocno_to_ordered_bucket): Assume no coalesced allocnos. | |
9355 | (uncolorable_allocnos_splay_tree, USE_SPLAY_P): Remove. | |
9356 | (push_allocno_to_stack): Rewrite for checking new allocno | |
9357 | colorability. | |
7a81008b | 9358 | (remove_allocno_from_bucket_and_push): Print cost too. Remove assert. |
1756cb66 VM |
9359 | (push_only_colorable): Pass new parameter to sort_bucket. |
9360 | (push_allocno_to_spill): Remove. | |
9361 | (allocno_spill_priority_compare): Make it inline and rewrite. | |
9362 | (splay_tree_allocate, splay_tree_free): Remove. | |
9363 | (allocno_spill_sort_compare): New function. | |
9364 | (push_allocnos_to_stack): Sort allocnos for spilling once. Don't | |
9365 | build and use splay tree. Choose first allocno in uncolorable | |
9366 | allocno bucket to spill. Remove setting spill cost. | |
9367 | (all_conflicting_hard_regs): Remove. | |
9368 | (setup_allocno_available_regs_num): Check only profitable hard | |
9369 | regs. Print info about hard regs nodes. | |
9370 | (setup_allocno_left_conflicts_size): Remove. | |
9371 | (put_allocno_into_bucket): Don't call | |
7a81008b | 9372 | setup_allocno_left_conflicts_size. Use setup_left_conflict_sizes_p. |
1756cb66 VM |
9373 | (improve_allocation): New. |
9374 | (color_allocnos): Call setup_profitable_hard_regs, | |
9375 | form_object_hard_regs_nodes_forest, improve_allocation, | |
9376 | finish_object_hard_regs_nodes_forest. Setup spill cost. | |
9377 | (print_loop_title): Use pressure classes. | |
9378 | (color_allocnso): Ditto. | |
9379 | (do_coloring): Remove allocation and freeing splay_tree_node_pool | |
9380 | and allocnos_for_spilling. | |
9381 | (ira_sort_regnos_for_alter_reg): Don't setup members | |
9382 | {first,next}_coalesced_allocno. | |
9383 | (color): Remove allocating and freeing removed_splay_allocno_vec. | |
9384 | (fast_allocation): Use ira_prohibited_class_mode_regs instead of | |
9385 | prohibited_class_mode_regs. | |
9386 | ||
9387 | * ira-lives.c: Remove mentioning cover classes from the file. Fix | |
9388 | formatting. | |
9389 | (update_allocno_pressure_excess_length): Use pressure classes. | |
9390 | (inc_register_pressure, dec_register_pressure): Check for pressure | |
9391 | class. | |
9392 | (mark_pseudo_regno_live, mark_pseudo_regno_subword_live): Use | |
9393 | pressure class. Use ira_reg_class_nregs instead of | |
9394 | ira_reg_class_max_nregs. | |
9395 | (mark_pseudo_regno_dead, mark_pseudo_regno_subword_dead): Ditto. | |
9396 | (mark_hard_reg_live, mark_hard_reg_dead): Use pressure class. | |
9397 | (single_reg_class): Use ira_reg_class_nregs instead of | |
9398 | ira_reg_class_max_nregs. | |
9399 | (process_bb_node_lives): Use pressure classes. | |
9400 | ||
9401 | * ira-emit.c: Remove mentioning cover classes from the file. Use | |
9402 | ALLOCNO_CLASS instead of ALLOCNO_COVER_CLASS. Fix formatting. | |
9403 | (change_loop): Use pressure classes. | |
9404 | (modify_move_list): Call ira_set_allocno_class instead of | |
9405 | ira_set_allocno_cover_class. | |
9406 | ||
9407 | * ira-build.c: Remove mentioning cover classes from the file. Use | |
9408 | ALLOCNO_CLASS and ALLOCNO_CLASS_COST instead of | |
9409 | ALLOCNO_COVER_CLASS and ALLOCNO_COVER_CLASS_COST. Use | |
9410 | ALLOCNO_UPDATED_CLASS_COST instead of | |
9411 | ALLOCNO_UPDATED_COVER_CLASS_COST. Fix formatting. | |
9412 | (ira_create_object): Initiate OBJECT_PROFITABLE_HARD_REGS. | |
9413 | (ira_create_allocno): Remove initialization of | |
9414 | ALLOCNO_SPLAY_REMOVED_P, ALLOCNO_LEFT_CONFLICT_SIZE. Initialize | |
9415 | ALLOCNO_COLORABLE_P. | |
9416 | (ira_set_allocno_cover_class): Rename to ira_set_allocno_class. | |
9417 | Update conflict regs for the objects. | |
9418 | (create_cap_allocno): Remove assert. Don't propagate | |
9419 | ALLOCNO_AVAILABLE_REGS_NUM. | |
9420 | (ira_free_allocno_costs): New function. | |
9421 | (finish_allocno): Change a part of code into call of | |
9422 | ira_free_allocno_costs. | |
9423 | (low_pressure_loop_node_p): Use pressure classes. | |
9424 | (object_range_compare_func): Don't compare classes. | |
9425 | (setup_min_max_conflict_allocno_ids): Ditto. | |
9426 | ||
9427 | * loop-invariant.c: Remove mentioning cover classes from the file. | |
9428 | Use ira_pressure_classes and ira_pressure_classes_num instead of | |
9429 | ira_reg_class_cover_size and ira_reg_class_cover. Fix formatting. | |
7a81008b UB |
9430 | (get_cover_class_and_nregs): Rename to get_cover_pressure_and_nregs. |
9431 | Use ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
9432 | Use reg_allocno_class instead of reg_cover_class. | |
1756cb66 VM |
9433 | (get_inv_cost): Use instead ira_stack_reg_pressure_class of |
9434 | STACK_REG_COVER_CLASS. | |
9435 | (get_regno_cover_class): Rename to get_regno_pressure_class. | |
9436 | (move_loop_invariants): Initialize and finalize regstat. | |
9437 | ||
9438 | * ira.c: Remove mentioning cover classes from the file. Add | |
9439 | comments about coloring without cover classes. Use ALLOCNO_CLASS | |
9440 | instead of ALLOCNO_COVER_CLASS. Fix formatting. | |
9441 | (alloc_reg_class_subclasses, setup_reg_subclasses): Move it before | |
9442 | setup_class_subset_and_memory_move_costs. | |
9443 | (setup_stack_reg_pressure_class, setup_pressure_classes): New. | |
9444 | (setup_cover_and_important_classes): Rename to | |
9445 | setup_allocno_and_important_classes. | |
9446 | (setup_class_translate_array): New. | |
9447 | (setup_class_translate): Call it for allocno and pressure classes. | |
9448 | (cover_class_order): Rename to allocno_class_order. | |
9449 | (comp_reg_classes_func): Use ira_allocno_class_translate instead | |
9450 | of ira_class_translate. | |
9451 | (reorder_important_classes): Set up ira_important_class_nums. | |
9452 | (setup_reg_class_relations): Set up ira_reg_class_superunion. | |
9453 | (print_class_cover): Rename to print_classes. Add parameter. | |
9454 | (ira_debug_class_cover): Rename to ira_debug_allocno_classes. | |
9455 | Print pressure classes too. | |
9456 | (find_reg_class_closure): Rename to find_reg_classes. Don't call | |
9457 | setup_reg_subclasses. | |
7a81008b | 9458 | (ira_hard_regno_cover_class): Rename to ira_hard_regno_allocno_class. |
1756cb66 VM |
9459 | (ira_reg_class_nregs): Rename to ira_reg_class_max_nregs. |
9460 | (setup_prohibited_class_mode_regs): Use | |
7a81008b | 9461 | ira_prohibited_class_mode_regs instead of prohibited_class_mode_regs. |
1756cb66 VM |
9462 | (clarify_prohibited_class_mode_regs): New function. |
9463 | (ira_init_register_move_cost): Set up ira_max_register_move_cost, | |
9464 | ira_max_may_move_in_cost, and ira_max_may_move_out_cost. | |
9465 | (ira_init_once): Initialize them. | |
9466 | (free_register_move_costs): Process them. | |
9467 | (ira_init): Move calls of find_reg_classes and | |
9468 | setup_hard_regno_aclass after setup_prohibited_class_mode_regs. | |
9469 | Call clarify_prohibited_class_mode_regs. | |
9470 | (ira_no_alloc_reg): Remove. | |
9471 | (too_high_register_pressure_p): Use pressure classes. | |
9472 | ||
9473 | * sched-deps.c: Remove mentioning cover classes from the file. | |
9474 | Use ira_reg_pressure_cover instead of ira_reg_class_cover. Use | |
9475 | ira_pressure_classes and ira_pressure_classes_num instead of | |
9476 | ira_reg_class_cover_size and ira_reg_class_cover. | |
9477 | (mark_insn_hard_regno_birth, mark_hard_regno_death): Use | |
9478 | sched_regno_pressure_class instead of sched_regno_cover_class. | |
9479 | (mark_insn_pseudo_birth, mark_pseudo_death): Ditto. Use | |
9480 | ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
9481 | ||
9482 | * ira.h: Add 2010 to Copyright. | |
9483 | (ira_no_alloc_reg): Remove external. | |
9484 | (struct target_ira): Rename x_ira_hard_regno_cover_class, | |
9485 | x_ira_reg_class_cover_size, x_ira_reg_class_cover, and | |
9486 | x_ira_class_translate to x_ira_hard_regno_allocno_class, | |
9487 | x_ira_allocno_classes_num, x_ira_allocno_classes, and | |
9488 | x_ira_allocno_class_translate. Add x_ira_pressure_classes_num, | |
9489 | x_ira_pressure_classes, x_ira_pressure_class_translate, and | |
9490 | x_ira_stack_reg_pressure_class. Rename x_ira_reg_class_nregs to | |
9491 | x_ira_reg_class_max_nregs. Add x_ira_reg_class_min_nregs and | |
9492 | x_ira_no_alloc_regs. | |
7a81008b | 9493 | (ira_hard_regno_cover_class): Rename to ira_hard_regno_allocno_class. |
1756cb66 VM |
9494 | (ira_reg_class_cover_size, ira_reg_class_cover): Rename to |
9495 | ira_allocno_classes_num and ira_allocno_classes. | |
9496 | (ira_class_translate): Rename to ira_allocno_class_translate. | |
9497 | (ira_pressure_classes_num, ira_pressure_classes): New definitions. | |
9498 | (ira_pressure_class_translate, ira_stack_reg_pressure_class): Ditto. | |
9499 | (ira_reg_class_nregs): Rename to ira_reg_class_max_nregs. | |
9500 | (ira_reg_class_min_nregs, ira_stack_reg_pressure_class): New | |
9501 | (ira_no_alloc_regs): New. | |
9502 | ||
9503 | * ira-costs.c: Add 2010 to Copyright. Remove mentioning cover | |
9504 | classes from the file. Use ALLOCNO_CLASS instead of | |
9505 | ALLOCNO_COVER_CLASS. Use ALLOCNO_CLASS_COST instead of | |
9506 | ALLOCNO_COVER_CLASS_COST. | |
9507 | (regno_cover_class): Rename to regno_aclass. | |
9508 | (record_reg_classes): Use ira_reg_class_subunion instead of | |
9509 | ira_reg_class_union. | |
9510 | (record_address_regs): Check overflow. | |
9511 | (scan_one_insn): Ditto. | |
7a81008b | 9512 | (print_allocno_costs): Print total mem cost fore regional allocation. |
1756cb66 VM |
9513 | (print_pseudo_costs): Use REG_N_REFS. |
9514 | (find_costs_and_classes): Use classes intersected with them on the | |
9515 | 1st pass. Check overflow. Use ira_reg_class_subunion instead of | |
9516 | ira_reg_class_union. Use ira_allocno_class_translate and | |
9517 | regno_aclass instead of ira_class_translate and regno_cover_class. | |
9518 | Modify code for finding regno_aclass. Setup preferred classes for | |
9519 | the next pass. | |
9520 | (setup_allocno_cover_class_and_costs): Rename to | |
9521 | setup_allocno_class_and_costs. Use regno_aclass instead of | |
9522 | regno_cover_class. Use ira_set_allocno_class instead of | |
9523 | ira_set_allocno_cover_class. | |
9524 | (init_costs, finish_costs): Use regno_aclass instead of | |
9525 | regno_cover_class. | |
9526 | (ira_costs): Use setup_allocno_class_and_costs instead of | |
9527 | setup_allocno_cover_class_and_costs. | |
9528 | (ira_tune_allocno_costs_and_cover_classes): Rename to | |
9529 | ira_tune_allocno_costs. Check overflow. Skip conflict hard regs | |
9530 | by processing objects. Use ira_reg_class_max_nregs instead of | |
9531 | ira_reg_class_nregs. | |
9532 | ||
9533 | * rtl.h (reg_cover_class): Rename to reg_allocno_class. | |
9534 | ||
9535 | * sched-int.h: Remove mentioning cover classes from the file. | |
9536 | (sched_regno_cover_class): Rename to sched_regno_pressure_class. | |
9537 | ||
9538 | * reginfo.c: Add 2010 to Copyright. Remove mentioning cover | |
9539 | classes from the file. | |
9540 | (struct reg_pref): Rename coverclass into allocnoclass. | |
9541 | (reg_cover_class): Rename to reg_allocno_class. | |
9542 | ||
7a81008b | 9543 | * Makefile.in (ira-color.o): Remove SPLAY_TREE_H from dependencies. |
1756cb66 VM |
9544 | |
9545 | * config/alpha/alpha.h (IRA_COVER_CLASSES): Remove. | |
9546 | ||
9547 | * config/arm/arm.h (IRA_COVER_CLASSES): Ditto. | |
9548 | ||
9549 | * config/avr/avr.h (IRA_COVER_CLASSES): Ditto. | |
9550 | ||
9551 | * config/bfin/bfin.h (IRA_COVER_CLASSES): Ditto. | |
9552 | ||
9553 | * config/cris/cris.h (IRA_COVER_CLASSES): Ditto. | |
9554 | ||
9555 | * config/fr30/fr30.h (IRA_COVER_CLASSES): Ditto. | |
9556 | ||
9557 | * config/frv/frv.h (IRA_COVER_CLASSES): Ditto. | |
9558 | ||
9559 | * config/h8300/h8300.h (IRA_COVER_CLASSES): Ditto. | |
9560 | ||
9561 | * config/i386/i386.h (STACK_REG_COVER_CLASS): Ditto. | |
9562 | ||
9563 | * config/i386/i386.c (TARGET_IRA_COVER_CLASSES) | |
9564 | (i386_ira_cover_classes): Ditto. | |
9565 | ||
9566 | * config/ia64/ia64.h (IRA_COVER_CLASSES): Ditto. | |
9567 | ||
9568 | * config/iq2000/iq2000.h (IRA_COVER_CLASSES): Ditto. | |
9569 | ||
9570 | * config/m32r/m32r.h (IRA_COVER_CLASSES): Ditto. | |
9571 | ||
9572 | * config/m68k/m68k.h (IRA_COVER_CLASSES): Ditto. | |
9573 | ||
9574 | * config/mcore/mcore.h (IRA_COVER_CLASSES): Ditto. | |
9575 | ||
9576 | * config/mep/mep.h (IRA_COVER_CLASSES): Ditto. | |
9577 | ||
9578 | * config/mips/mips.c (TARGET_IRA_COVER_CLASSES) | |
9579 | (mips_ira_cover_classes): Ditto. | |
9580 | ||
9581 | * config/mn10300/mn10300.h (IRA_COVER_CLASSES): Ditto. | |
9582 | ||
9583 | * config/moxie/moxie.h (IRA_COVER_CLASSES): Ditto. | |
9584 | ||
9585 | * config/pa/pa64-regs.h (IRA_COVER_CLASSES): Ditto. | |
9586 | ||
9587 | * config/pa/pa32-regs.h (IRA_COVER_CLASSES): Ditto. | |
9588 | ||
9589 | * config/picochip/picochip.h (IRA_COVER_CLASSES): Ditto. | |
9590 | ||
9591 | * config/rs6000/rs6000.h (IRA_COVER_CLASSES_PRE_VSX) | |
9592 | (IRA_COVER_CLASSES_VSX): Ditto. | |
9593 | ||
9594 | * config/rs6000/rs6000.c (TARGET_IRA_COVER_CLASSES) | |
9595 | (rs6000_ira_cover_classes): Ditto. | |
9596 | ||
9597 | * config/rx/rx.h (IRA_COVER_CLASSES): Ditto. | |
9598 | ||
9599 | * config/s390/s390.h (IRA_COVER_CLASSES): Ditto. | |
9600 | ||
9601 | * config/score/score.h (IRA_COVER_CLASSES): Ditto. | |
9602 | ||
9603 | * config/sh/sh.h (IRA_COVER_CLASSES): Ditto. | |
9604 | ||
9605 | * config/sparc/sparc.h (IRA_COVER_CLASSES): Ditto. | |
9606 | ||
9607 | * config/spu/spu.h (IRA_COVER_CLASSES): Ditto. | |
9608 | ||
9609 | * config/stormy16/stormy16.h (IRA_COVER_CLASSES): Ditto. | |
9610 | ||
9611 | * config/v850/v850.h (IRA_COVER_CLASSES): Ditto. | |
9612 | ||
9613 | * config/vax/vax.h (IRA_COVER_CLASSES): Ditto. | |
9614 | ||
9615 | * config/xtensa/xtensa.h (IRA_COVER_CLASSES): Ditto. | |
9616 | ||
2b80199f JJ |
9617 | 2011-03-29 Jakub Jelinek <jakub@redhat.com> |
9618 | ||
71dae1fe JJ |
9619 | PR debug/48253 |
9620 | * dwarf2out.c (struct dw_fde_struct): Remove dw_fde_hot_section_label, | |
9621 | dw_fde_hot_section_end_label, dw_fde_unlikely_section_label, | |
9622 | dw_fde_unlikely_section_end_label, cold_in_std_section, | |
9623 | dw_fde_switched_sections and dw_fde_switched_cold_to_hot fields. | |
9624 | Add dw_fde_second_begin, dw_fde_second_end and second_in_std_section | |
9625 | fields. | |
9626 | (output_fde): Use dw_fde_second_{begin,end} if second is | |
9627 | true, otherwise dw_fde_{begin,end}. | |
9628 | (output_call_frame_info): Test dw_fde_second_begin != NULL | |
9629 | instead of dw_fde_switched_sections. | |
9630 | (dwarf2out_begin_prologue): Stop initializing removed dw_fde_struct | |
9631 | fields, initialize new fields. Initialize in_std_section | |
9632 | unconditionally from the first partition. | |
9633 | (dwarf2out_end_epilogue): Don't override dw_fde_end when | |
9634 | dw_fde_second_begin is non-NULL. | |
9635 | (dwarf2out_switch_text_section): Stop initializing removed | |
9636 | dw_fde_struct fields, initialize new fields, initialize | |
9637 | also dw_fde_end here. Set dw_fde_switch_cfi even when | |
9638 | dwarf2out_do_cfi_asm (). Call var_location_switch_text_section. | |
9639 | (struct var_loc_list_def): Add last_before_switch field. | |
9640 | (arange_table, arange_table_allocated, arange_table_in_use, | |
9641 | ARANGE_TABLE_INCREMENT, add_arange): Removed. | |
9642 | (size_of_aranges): Count !in_std_section and !second_in_std_section | |
9643 | hunks in fdes, instead of looking at arange_table_in_use. | |
9644 | (output_aranges): Add aranges_length argument, don't call | |
9645 | size_of_aranges here. Instead of using aranges_table* | |
9646 | emit ranges for fdes when !in_std_section resp. | |
9647 | !second_in_std_section. | |
9648 | (dw_loc_list): Break ranges crossing section switch. | |
9649 | (convert_cfa_to_fb_loc_list): Likewise. If switched sections, | |
7a81008b | 9650 | use dw_fde_second_end instead of dw_fde_end as end of last range. |
71dae1fe JJ |
9651 | (gen_subprogram_die): Don't call add_arange. Use |
9652 | dw_fde_{begin,end} for first partition and if switched | |
9653 | section dw_fde_second_{begin,end} for the second. | |
9654 | (var_location_switch_text_section_1, | |
9655 | var_location_switch_text_section): New functions. | |
9656 | (dwarf2out_begin_function): Initialize cold_text_section even | |
9657 | when function_section () isn't text_section. | |
9658 | (prune_unused_types): Don't walk arange_table. | |
9659 | (dwarf2out_finish): Don't needlessly test | |
9660 | flag_reorder_blocks_and_partition when testing cold_text_section_used. | |
9661 | If info_section_emitted, call size_of_aranges and if it indicates | |
9662 | non-empty .debug_aranges, call output_aranges with the computed | |
9663 | size. Stop using removed dw_fde_struct fields, use | |
9664 | dw_fde_{begin,end} for first partition and dw_fde_second_{begin,end} | |
9665 | for second. | |
9666 | ||
2b80199f JJ |
9667 | PR debug/48203 |
9668 | * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Only | |
9669 | create ENTRY_VALUE if incoming or address of incoming's MEM | |
9670 | is a hard REG. | |
9671 | * dwarf2out.c (mem_loc_descriptor): Don't emit | |
9672 | DW_OP_GNU_entry_value of DW_OP_fbreg. | |
9673 | * var-tracking.c (vt_add_function_parameter): Ensure cselib_lookup | |
9674 | on ENTRY_VALUE is able to find the canonical parameter VALUE. | |
9675 | * cselib.c (rtx_equal_for_cselib_1) <case ENTRY_VALUE>: Use | |
9676 | rtx_equal_p instead of rtx_equal_for_cselib_1 to compare | |
9677 | ENTRY_VALUE_EXPs. | |
9678 | (cselib_hash_rtx) <case ENTRY_VALUE>: If ENTRY_VALUE_EXP | |
9679 | is a REG_P or MEM_P with REG_P address, compute hash directly | |
9680 | instead of calling cselib_hash_rtx on ENTRY_VALUE_EXP. | |
9681 | (preserve_only_constants): Don't clear VALUES forwaring | |
9682 | ENTRY_VALUE to some other VALUE. | |
9683 | ||
8a445129 RS |
9684 | 2011-03-28 Richard Sandiford <richard.sandiford@linaro.org> |
9685 | ||
9686 | * builtins.c (expand_builtin_memset_args): Use gen_int_mode | |
9687 | instead of GEN_INT. | |
9688 | ||
c82fee88 EB |
9689 | 2011-03-28 Eric Botcazou <ebotcazou@adacore.com> |
9690 | ||
9691 | * cfgexpand.c (expand_gimple_cond): Always set the source location and | |
9692 | block before expanding the statement. | |
9693 | (expand_gimple_stmt_1): Likewise. Set them here... | |
9694 | (expand_gimple_stmt): ...and not here. Tidy. | |
9695 | * cfglayout.c (curr_insn_locator): Return 0 if the current location is | |
9696 | unknown. | |
9697 | ||
e45425ec SB |
9698 | 2011-03-28 Steven Bosscher <steven@gcc.gnu.org> |
9699 | ||
9700 | * Makefile.in: New rule for cprop.o. | |
9701 | * gcse.c: Move constant/copy propagation to cprop.c. | |
9702 | (compute_local_properties): Only handle expression tables. | |
9703 | (hash_scan_set, compute_hash_table_work, alloc_hash_table,): Likewise. | |
9704 | (one_pre_gcse_pass, one_code_hoisting_pass): Likewise. | |
9705 | (hash_set, insert_set_in_table, gcse_constant_p, lookup_set, | |
9706 | next_set, reset_opr_set_tables, oprs_not_set_p, mark_call, mark_set, | |
7a81008b | 9707 | mark_clobber, mark_oprs_set, alloc_cprop_mem, free_cprop_mem, |
e45425ec SB |
9708 | compute_cprop_data, find_used_regs, try_replace_reg, |
9709 | find_avail_set, cprop_jump, constprop_register, cprop_insn, | |
9710 | local_cprop_find_used_regs, do_local_cprop, local_cprop_pass, | |
9711 | fis_get_condition, implicit_set_cond_p, find_implicit_sets, | |
9712 | find_bypass_set, reg_killed_on_edge, bypass_block, | |
9713 | bypass_conditional_jumps, one_cprop_pass, gate_rtl_cprop, | |
9714 | execute_rtl_cprop, pass_rtl_cprop): Move to... | |
9715 | * cprop.c: ...here. New file, constant/copy propagation for RTL | |
9716 | moved from gcse.c to here with minor cleanups in duplicated code. | |
9717 | ||
c09d5426 L |
9718 | 2011-03-28 H.J. Lu <hongjiu.lu@intel.com> |
9719 | ||
9720 | * config/i386/i386.c (flag_opts): Fix a typo in | |
9721 | -mavx256-split-unaligned-store. | |
9722 | ||
9eaa7740 AS |
9723 | 2011-03-28 Anatoly Sokolov <aesok@post.ru> |
9724 | ||
9725 | * config/h8300/h8300.h (FUNCTION_VALUE_REGNO_P, FUNCTION_VALUE, | |
9726 | LIBCALL_VALUE): Remove macros. | |
9727 | * config/h8300/h8300.c (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
9728 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
9729 | (h8300_function_value, h8300_libcall_value, | |
9730 | h8300_function_value_regno_p): New functions. | |
9731 | ||
dcec2be2 AS |
9732 | 2011-03-28 Anatoly Sokolov <aesok@post.ru> |
9733 | ||
9734 | * config/h8300/h8300.h (ASM_OUTPUT_BSS): Remove macro. | |
9735 | ||
520af9ec JL |
9736 | 2011-03-28 Jeff Law <law@redhat.com> |
9737 | ||
9738 | * tree-ssa-threadupdate.c (redirect_edges): Call | |
9739 | create_edge_and_update_destination_phis as needed. | |
9740 | (create_edge_and_update_destination_phis): Accept new BB argument. | |
9741 | All callers updated. | |
9742 | (thread_block): Do not update the profile when threading around | |
9743 | intermediate blocks. | |
9744 | (thread_single_edge): Likewise. | |
9745 | (determine_bb_domination_status): If BB is not a successor of the | |
9746 | loop header, return NONDOMINATING. | |
9747 | (register_jump_thread): Note when we register a jump thread around | |
9748 | an intermediate block. | |
9749 | * tree-ssa-threadedge.c (thread_around_empty_block): New function. | |
9750 | (thread_across_edge): Use it. | |
9751 | ||
7450b54f TG |
9752 | 2011-03-28 Tristan Gingold <gingold@adacore.com> |
9753 | ||
9754 | * config/ia64/ia64.c (ia64_promote_function_mode): Fix promotion | |
9755 | when for_return is 2. | |
9756 | ||
649beb33 JL |
9757 | 2011-03-28 Jeff Law <law@redhat.com> |
9758 | ||
9759 | * var-tracking.c (canonicalize_values_mark): Delete unused | |
9760 | lhs assignment. | |
9761 | (canonicalize_values_star, set_variable_part): Likewise. | |
9762 | (clobber_variable_part, delete_variable_part): Likewise. | |
9763 | ||
d5b8da97 SB |
9764 | 2011-03-28 Steven Bosscher <steven@gcc.gnu.org> |
9765 | ||
9766 | * gcse.c (free_gcse_mem): Free reg_set_bitmap. | |
9767 | ||
322dd859 MJ |
9768 | 2011-03-28 Martin Jambor <mjambor@suse.cz> |
9769 | ||
9770 | * tree-inline.c (expand_call_inline): Do not check that destination | |
9771 | node is analyzed. | |
9772 | (optimize_inline_calls): Assert that destination node is analyzed. | |
9773 | * cgraph.c (cgraph_add_new_function): Call cgraph_analyze_function, do | |
9774 | not call tree_lowering_passes. | |
9775 | * cgraph.h (cgraph_analyze_function): Declare. | |
9776 | * cgraphunit.c (cgraph_analyze_function): Make public. | |
9777 | ||
aa53e58b JM |
9778 | 2011-03-28 Joseph Myers <joseph@codesourcery.com> |
9779 | ||
9780 | * config/sparc/sparc-opts.h: New. | |
9781 | * config/sparc/sparc.c (sparc_handle_option, sparc_select, | |
9782 | sparc_cpu, fpu_option_set, TARGET_HANDLE_OPTION): Remove. | |
9783 | (sparc_option_override): Store processor_type enumeration rather | |
9784 | than string in cpu_default. Remove name and enumeration from | |
9785 | cpu_table. Directly default -mcpu then default -mtune from -mcpu | |
9786 | without using sparc_select. Use target_flags_explicit instead of | |
9787 | fpu_option_set. | |
9788 | * config/sparc/sparc.h (enum processor_type): Move to | |
9789 | sparc-opts.h. | |
9790 | (sparc_cpu, struct sparc_cpu_select, sparc_select): Remove. | |
9791 | * config/sparc/sparc.opt (config/sparc/sparc-opts.h): New | |
9792 | HeaderInclude entry. | |
9793 | (mcpu=, mtune=): Use Var and Enum. | |
9794 | (sparc_processor_type): New Enum and EnumValue entries. | |
9795 | ||
dd350eba RO |
9796 | 2011-03-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9797 | Iain Sandoe <iains@gcc.gnu.org> | |
9798 | ||
9799 | PR target/48245 | |
9800 | * config/darwin.h (LINK_COMMAND_SPEC_A): Use LINK_PLUGIN_SPEC. | |
9801 | ||
1b29f05e EB |
9802 | 2011-03-28 Eric Botcazou <ebotcazou@adacore.com> |
9803 | ||
9804 | * tree-vectorizer.h (vect_create_data_ref_ptr): Adjust prototype. | |
9805 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add GSI parameter. | |
9806 | Insert new statements at it in lieu of STMT. | |
9807 | (vect_setup_realignment): Adjust call to vect_create_data_ref_ptr. | |
9808 | * tree-vect-stmts.c (vectorizable_store): Likewise. | |
9809 | (vectorizable_load): Likewise. | |
9810 | ||
506e6808 UB |
9811 | 2011-03-28 Uros Bizjak <ubizjak@gmail.com> |
9812 | ||
9813 | * config/alpha/alpha.md (addtf3): Change mode of operands to TFmode. | |
9814 | (divtf3): Ditto. | |
9815 | (multf3): Ditto. | |
9816 | (subtf3): Ditto. | |
9817 | ||
2e939ee9 L |
9818 | 2011-03-27 H.J. Lu <hongjiu.lu@intel.com> |
9819 | ||
9820 | * config/i386/sse.md (*avx_mov<mode>_internal): Don't assert | |
9821 | unaligned 256bit load/store. | |
9822 | (*avx_movu<ssemodesuffix><avxmodesuffix>): Likewise. | |
9823 | (*avx_movdqu<avxmodesuffix>): Likewise. | |
9824 | ||
5e85ab88 JDA |
9825 | 2011-03-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
9826 | ||
9827 | PR target/48288 | |
9828 | * config/pa/predicates.md (reg_or_ior_operand): New predicate. | |
9829 | * config/pa/pa.md (iordi3): Use new predicate in expander. | |
9830 | (iorsi3): Likewise. | |
9831 | ||
47be3d6d AS |
9832 | 2011-03-27 Anatoly Sokolov <aesok@post.ru> |
9833 | ||
506e6808 | 9834 | * config/mips/mips.h (LIBCALL_VALUE, FUNCTION_VALUE, |
47be3d6d | 9835 | FUNCTION_VALUE_REGNO_P): Remove macros. |
506e6808 UB |
9836 | * config/mips/mips-protos.h (mips_function_value): Remove. |
9837 | * config/mips/mips.c (mips_function_value): Rename to... | |
47be3d6d AS |
9838 | (mips_function_value_1): ... this. Make static. Handle receiving |
9839 | the function type in 'fn_decl_or_type' argument. | |
9840 | (mips_function_value, mips_libcall_value, | |
9841 | mips_function_value_regno_p): New function. | |
9842 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
9843 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
9844 | ||
d253656a L |
9845 | 2011-03-27 H.J. Lu <hongjiu.lu@intel.com> |
9846 | ||
9847 | * config/i386/i386.c (flag_opts): Add -mavx256-split-unaligned-load | |
9848 | and -mavx256-split-unaligned-store. | |
9849 | (ix86_option_override_internal): Split 32-byte AVX unaligned | |
9850 | load/store by default. | |
9851 | (ix86_avx256_split_vector_move_misalign): New. | |
9852 | (ix86_expand_vector_move_misalign): Use it. | |
9853 | ||
9854 | * config/i386/i386.opt: Add -mavx256-split-unaligned-load and | |
9855 | -mavx256-split-unaligned-store. | |
9856 | ||
9857 | * config/i386/sse.md (*avx_mov<mode>_internal): Verify unaligned | |
9858 | 256bit load/store. Generate unaligned store on misaligned memory | |
9859 | operand. | |
9860 | (*avx_movu<ssemodesuffix><avxmodesuffix>): Verify unaligned | |
9861 | 256bit load/store. | |
9862 | (*avx_movdqu<avxmodesuffix>): Likewise. | |
9863 | ||
9864 | * doc/invoke.texi: Document -mavx256-split-unaligned-load and | |
9865 | -mavx256-split-unaligned-store. | |
9866 | ||
1ea9206a RS |
9867 | 2011-03-27 Richard Sandiford <rdsandiford@googlemail.com> |
9868 | ||
9869 | PR target/38598 | |
9870 | * config/mips/mips.md (extendsidi2): Add an "l" alternative. | |
9871 | Update commentary. | |
9872 | ||
b99ce2a8 RS |
9873 | 2011-03-27 Richard Sandiford <rdsandiford@googlemail.com> |
9874 | ||
9875 | * config/mips/mips.c (mips_prepare_builtin_arg): Replace icode and | |
9876 | opno arguments with an expand_operand. Use create_input_operand. | |
9877 | (mips_prepare_builtin_target): Delete. | |
9878 | (mips_expand_builtin_insn, mips_expand_builtin_compare_1): New | |
9879 | functions. | |
9880 | (mips_expand_builtin_direct): Use create_output_operand and | |
9881 | mips_expand_builtin_insn. Update call to mips_prepare_builtin_arg. | |
9882 | (mips_expand_builtin_movtf): Likewise. Use mips_expand_fp_comparison. | |
9883 | (mips_expand_builtin_compare): Use mips_expand_fp_comparison. | |
9884 | ||
69d52339 IR |
9885 | 2011-03-27 Ira Rosen <ira.rosen@linaro.org> |
9886 | ||
9887 | * config/arm/arm.c (arm_autovectorize_vector_sizes): New | |
9888 | function. | |
9889 | (TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES): Define. | |
9890 | ||
ba5e9aca EB |
9891 | 2011-03-26 Eric Botcazou <ebotcazou@adacore.com> |
9892 | ||
9893 | * basic-block.h (fixup_abnormal_edges): Adjust prototype. | |
9894 | * reload1.c (reload): Adjust call to fixup_abnormal_edges. Rediscover | |
9895 | basic blocks and call commit_edge_insertions directly. | |
9896 | (fixup_abnormal_edges): Move from here to... | |
9897 | * cfgrtl.c (fixup_abnormal_edges): ...here. Only insert instructions | |
9898 | on the edges and return whether some have actually been inserted. | |
9899 | * reg-stack.c (convert_regs): Fix up abnormal edges before inserting | |
9900 | compensation code. | |
9901 | ||
5d369d58 AB |
9902 | 2011-03-26 Andrey Belevantsev <abel@ispras.ru> |
9903 | ||
9904 | PR rtl-optimization/48144 | |
9905 | * sel-sched-ir.c (merge_history_vect): Factor out from ... | |
9906 | (merge_expr_data): ... here. | |
9907 | (av_set_intersect): Rename to av_set_code_motion_filter. | |
9908 | Update all callers. Call merge_history_vect when an expression | |
9909 | is found in both sets. | |
9910 | * sel-sched-ir.h (av_set_code_motion_filter): Add prototype. | |
9911 | ||
f082c000 AM |
9912 | 2011-03-26 Alan Modra <amodra@gmail.com> |
9913 | ||
9914 | * config/rs6000/predicates.md (word_offset_memref_op): Handle | |
9915 | cmodel medium addresses. | |
9916 | * config/rs6000/rs6000.c (rs6000_secondary_reload): Handle misaligned | |
9917 | 64-bit gpr loads and stores. | |
9918 | (rs6000_secondary_reload_ppc64): New function. | |
9919 | * config/rs6000/rs6000-protos.h: Declare it. | |
9920 | * config/rs6000/rs6000.md (reload_di_store, reload_di_load): New. | |
9921 | ||
8ac5e12e AM |
9922 | 2011-03-26 Alan Modra <amodra@gmail.com> |
9923 | ||
9924 | PR target/47487 | |
9925 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Support | |
9926 | GNU Go in traceback table. | |
9927 | ||
c2654ded RH |
9928 | 2011-03-25 Richard Henderson <rth@redhat.com> |
9929 | ||
9930 | * expr.c (emit_block_move_via_movmem): Only use 6 operand variant | |
9931 | if there are exactly 6 operands. | |
9932 | (set_storage_via_setmem): Similarly. | |
9933 | ||
ba78087b KT |
9934 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
9935 | ||
9936 | * collect2.c (write_c_file_stat): Handle backslash | |
9937 | as right-hand directory separator. | |
9938 | (resolve_lib_name): Use IS_DIR_SEPARATOR instead of | |
9939 | checking just for slash. | |
9940 | * coverage.c (coverage_init): Use IS_ABSOLUTE_PATH | |
9941 | instead of checking for trailing slash. | |
9942 | * gcc.c (record_temp_file): Use filename_cmp instead | |
9943 | of strcmp. | |
9944 | (do_spec_1): Likewise. | |
9945 | (replace_outfile_spec_function): Likewise. | |
9946 | (is_directory): Use filename_ncmp instead of strncmp. | |
9947 | (print_multilib_info): Likewise. | |
9948 | * gcov.c (find_source): Use filename_cmp instead | |
9949 | instead of strcmp. | |
9950 | (make_gcov_file_name): Fix order of slash/backslash | |
9951 | checks. | |
9952 | * incpath.c (DIRS_EQ): Use filename_cmp instead of strcmp. | |
9953 | (add_standard_paths): Likewise. | |
9954 | * mips-tfile.c (saber_stop): Handle backslash. | |
9955 | * prefix.c (update_path): Use filename_ncmp instead of | |
9956 | strncmp. | |
9957 | * profile.c (output_location): Use filename_cmp instead | |
9958 | of strcmp. | |
9959 | * read-md.c (handle_toplevel_file): Handle backslash. | |
9960 | * tlink.c (frob_extension): Likewise. | |
9961 | * tree-cfg.c (same_line_p): Use filename_cmp instead of | |
9962 | strcmp. | |
9963 | * tree-dump.c (dequeue_and_dump): Handle backslash. | |
9964 | * tree.c (get_file_function_name): Likewise. | |
9965 | * gengtype.c (read_input_list): Likewise. | |
9966 | (get_file_realbasename): Likewise. | |
9967 | (get_output_file_with_visibility): Use filename_cmp | |
9968 | instead of strcmp. | |
9969 | ||
75f6ec9a RS |
9970 | 2011-03-25 Richard Sandiford <richard.sandiford@linaro.org> |
9971 | ||
9972 | * config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Restrict FPA_REGS | |
9973 | case to VFPv1. | |
9974 | ||
6c4e2997 NF |
9975 | 2011-03-25 Nathan Froyd <froydnj@codesourcery.com> |
9976 | ||
9977 | * fold-const.c (expr_location_or): New function. | |
9978 | (fold_truth_not_expr): Call it. | |
9979 | ||
0edf1bb2 JL |
9980 | 2011-03-25 Jeff Law <law@redhat.com> |
9981 | ||
9982 | * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Add missing | |
9983 | va_end. | |
9984 | * c-family/c-common.c (def_fn_type): Likewise. | |
9985 | * ada/gcc-interface/utils.c (def_fn_type): Likewise. | |
9986 | * emit-rtl.c (gen_rtvec): Likewise. | |
9987 | * lto/lto-lang.c (def_fn_type): Likewise. | |
9988 | ||
fdc2de95 RG |
9989 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
9990 | ||
9991 | * tree-ssa-copy.c (stmt_may_generate_copy): Copies from constants | |
9992 | also generate copies. | |
9993 | (fini_copy_prop): Handle constant values properly. | |
9994 | ||
21385db0 JJ |
9995 | 2011-03-25 Jakub Jelinek <jakub@redhat.com> |
9996 | ||
9997 | * dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTRACT>: Compare | |
9998 | mode size instead of bitsize with DWARF2_ADDR_SIZE. | |
9999 | (hash_loc_operands, compare_loc_operands): Handle | |
10000 | DW_OP_GNU_entry_value. | |
10001 | ||
6510e8bb KT |
10002 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
10003 | ||
10004 | * config/i386/cygming.h (DWARF_FRAME_REGISTERS): Adjust comment. | |
10005 | (STACK_BOUNDARY): Check for bit-ness in case of MS_ABI. | |
10006 | * config/i386/i386.c (ix86_conditional_register_usage): Adjust | |
10007 | comment and use macro TARGET_64BIT_MS_ABI instead. | |
10008 | (ix86_keep_aggregate_return_pointer): Optimize for 64-bit case | |
10009 | and change default behavior for 32-bit MS_ABI. | |
10010 | (ix86_reg_parm_stack_space): Check additionally for bit-ness. | |
10011 | (ix86_function_type_abi): Allow check for ms_abi/sysv_abi for | |
10012 | 32-bit, too. | |
10013 | (ix86_cfun_abi): Likewise. | |
10014 | (ix86_maybe_switch_abi): Adjust comment. | |
10015 | (init_cumulative_args): Check for bit-ness in MS_ABI case. | |
10016 | (ix86_gimplify_va_arg): Check just for not TARGET_64BIT_MS_ABI | |
10017 | instead of checking for SYSV_ABI. | |
10018 | (ix86_nsaved_sseregs): Likewise. | |
10019 | (ix86_compute_frame_layout): Set only for 64-bit MS_ABI alignment | |
10020 | to 16 bytes. | |
10021 | (ix86_expand_call): Use TARGET_64BIT_MS_ABI macro. | |
10022 | * config/i386.h (TARGET_32BIT_MS_ABI): New macro. | |
10023 | (ACCUMULATE_OUTGOING_ARGS): Check explicit for 64-bit MS_ABI. | |
10024 | (OUTGOING_REG_PARM_STACK_SPACE): Likewise. | |
10025 | * config/mingw32.h (DEFAULT_ABI): Change default always to MS_ABI. | |
10026 | ||
34019e28 RG |
10027 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
10028 | ||
10029 | * tree-flow.h (verify_stmts): Rename to verify_gimple_in_cfg. | |
10030 | (verify_types_in_gimple_seq): Rename to verify_gimple_in_seq. | |
10031 | (verify_gimple): Remove. | |
10032 | * tree-cfg.c (verify_gimple_call): Merge verification | |
10033 | from verify_stmts. | |
10034 | (verify_gimple_phi): Merge verification from verify_stmts. | |
10035 | (verify_gimple_label): New function. | |
10036 | (verify_types_in_gimple_seq_2): Rename to verify_gimple_in_seq_2. | |
10037 | (verify_types_in_gimple_seq): Rename to verify_gimple_in_seq. | |
10038 | (verify_stmt): Merge into verify_gimple_in_cfg and callees. | |
10039 | (verify_stmts): Rename to verify_gimple_in_cfg. | |
10040 | (verify_gimple_in_cfg): New function. | |
10041 | * passes.c (execute_function_todo): Call verify_gimple_in_cfg. | |
10042 | * tree-ssa.c (verify_ssa): Likewise. | |
10043 | * gimplify.c (gimplify_body): Call verify_gimple_in_seq. | |
10044 | ||
605896f5 RG |
10045 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
10046 | ||
10047 | * passes.c (init_optimization_passes): Add FRE pass after | |
10048 | early SRA. | |
10049 | ||
7baa7c13 BS |
10050 | 2011-03-25 Bernd Schmidt <bernds@codesourcery.com> |
10051 | Andrew Stubbs <ams@codesourcery.com> | |
10052 | ||
10053 | * config/arm/vfp.md (arm_movdi_vfp): Enable only when not tuning | |
10054 | for Cortex-A8. | |
10055 | (arm_movdi_vfp_cortexa8): New pattern. | |
10056 | * config/arm/neon.md (adddi3_neon, subdi3_neon, anddi3_neon, | |
10057 | iordi3_neon, xordi3_neon): Add alternatives to discourage Neon | |
10058 | instructions when tuning for Cortex-A8. Set attribute "arch". | |
10059 | * config/arm/arm.md: Move include arm-tune.md up a bit. | |
10060 | (define_attr "arch"): Add "onlya8" and "nota8" values. | |
10061 | (define_attr "arch_enabled"): Handle "onlya8" and "nota8". | |
10062 | ||
45dbce1b NF |
10063 | 2011-03-25 Nathan Froyd <froydnj@codesourcery.com> |
10064 | ||
4ff08abf | 10065 | PR bootstrap/48282 |
45dbce1b NF |
10066 | Revert: |
10067 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> | |
10068 | ||
10069 | * function.c (instantiate_virtual_regs): Use FOR_EACH_BB and | |
10070 | FOR_BB_INSNS_SAFE to iterate through insns. Re-indent. | |
10071 | (pass_instantiate_virtual_regs): Require PROP_cfglayout. | |
10072 | * passes.c (init_optimization_passes): Move | |
10073 | pass_instantiate_virtual_regs after pass_into_cfg_layout_mode. | |
10074 | ||
ac9a30ae KT |
10075 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
10076 | ||
10077 | * c-typeck.c (comptypes_internal): Replace target | |
10078 | hook call of comp_type_attributes by version in tree.c file. | |
10079 | * gimple.c (gimple_types_compatible_p_1): Likewise. | |
10080 | * tree-ssa.c (useless_type_conversion_p): Likewise. | |
10081 | * tree.c (build_type_attribute_qual_variant): Likewise. | |
10082 | (attribute_value_equal): New static helper function. | |
10083 | (comp_type_attributes): New function. | |
10084 | (merge_attributes): Use attribute_value_equal for comparison. | |
10085 | (attribute_list_contained): Likewise. | |
10086 | * tree.h (comp_type_attributes): New prototype. | |
10087 | ||
afdac116 RG |
10088 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
10089 | ||
10090 | * tree-cfg.c (verify_gimple_assign_unary): Drop special casing | |
10091 | of complex types at -O0. | |
10092 | (verify_gimple_assign_binary): Likewise. | |
10093 | (verify_gimple_assign_ternary): Likewise. | |
10094 | ||
ec6165f8 MW |
10095 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
10096 | ||
10097 | * dwarf2out.c (size_of_die): Modify comment to say DW_FORM_ref_sig8. | |
10098 | (value_format): Use DW_FORM_ref_sig8, not DW_FORM_sig8. | |
10099 | ||
2a5ac39a MW |
10100 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
10101 | ||
10102 | PR debug/48041 | |
10103 | * dwarf2out.c (output_abbrev_section): Only write table when | |
10104 | abbrev_die_table_in_use > 1. | |
10105 | ||
e533b2a4 RH |
10106 | 2011-02-24 Richard Henderson <rth@redhat.com> |
10107 | ||
10108 | * config/alpha/alpha.c (alpha_expand_unaligned_load): Use extql. | |
10109 | (alpha_expand_unaligned_store): Use mskwl, mskll, mskql. | |
10110 | (alpha_expand_unaligned_load_words): Use extql. | |
10111 | (alpha_expand_unaligned_store_words): Use insqh, mskqh, mskql. | |
10112 | (emit_insxl): Handle all modes for consistency. | |
10113 | ||
0b2a7367 RH |
10114 | 2011-02-24 Richard Henderson <rth@redhat.com> |
10115 | ||
10116 | * config/alpha/alpha.c (get_aligned_mem): Don't test WORDS_BIG_ENDIAN. | |
10117 | (alpha_expand_unaligned_load): Likewise. | |
10118 | (alpha_expand_unaligned_store): Likewise. | |
10119 | (alpha_expand_unaligned_load_words): Likewise. | |
10120 | (alpha_expand_unaligned_store_words): Likewise. | |
10121 | (emit_insxl, alpha_split_compare_and_swap_12): Likewise. | |
10122 | (alpha_split_lock_test_and_set_12): Likewise. | |
10123 | (print_operand, alpha_fold_builtin_extxx): Likewise. | |
10124 | (alpha_fold_builtin_insxx, alpha_fold_builtin_mskxx): Likewise. | |
10125 | * config/alpha/alpha.md (bswapsi2, insv, extv, extzv): Likewise. | |
10126 | (builtin_extwh, builtin_extlh, builtin_extql): Likewise. | |
10127 | (unaligned_extendqidi_be, unaligned_extendhidi_be, extxl_be): Remove. | |
10128 | (*extxl_1_be, *extql_2_be, extqh_be, extlh_be, extwh_be): Remove. | |
10129 | (insbl_be, inswl_be, insll_be, insql_be, mskxl_be): Remove. | |
10130 | (unaligned_loadqi_be, unaligned_loadhi_be): Remove. | |
10131 | (unaligned_storeqi_be, unaligned_storehi_be): Remove. | |
10132 | (extbl): Rename from builtin_extbl; don't test WORDS_BIG_ENDIAN. | |
10133 | (extwl, extll, extql): Similarly. | |
10134 | (inswh, inslh, insqh): Similarly. | |
10135 | (mskbl, mskwl, mskll, mskql): Similarly. | |
10136 | (mskwh, msklh, mskqh): Similarly. | |
10137 | ||
315b2bef RH |
10138 | 2011-02-24 Richard Henderson <rth@redhat.com> |
10139 | ||
10140 | * config/alpha/alpha.md (attribute isa): Add er, ner. | |
10141 | (attribute enabled): Handle them. | |
10142 | (*movdi): Merge *movdi_{er_nofix,nofix,er_fix,fix}. | |
10143 | ||
67102517 RH |
10144 | 2011-02-24 Richard Henderson <rth@redhat.com> |
10145 | ||
10146 | * config/alpha/alpha.md (attribute isa): Add vms. | |
10147 | (attribute enabled): Handle it. | |
10148 | (*movsf): Merge *movsf_{nofix,fix,nofp}. | |
10149 | (*movdf): Merge *movdf_{nofix,fix,nofp}. | |
10150 | (*movtf): Rename from *movtf_internal for consistency. | |
10151 | (*movsi): Merge with *movsi_nt_vms. | |
10152 | (*movhi): Merge *movhi_nobwx, *movhi_bwx. | |
10153 | (*movqi): Merge *movqi_nobwx, *movqi_bwx. | |
10154 | (*mov<VEC>): Merge *mov<VEC>_fix, *mov<VEC>_nofix. | |
10155 | * config/alpha/constraint.md ("f"): Use NO_REGS when fpu is disabled. | |
10156 | ||
6aba5cb4 RH |
10157 | 2011-02-24 Richard Henderson <rth@redhat.com> |
10158 | ||
10159 | * config/alpha/alpha.md (extendqihi2): Implement for BWX only. | |
10160 | (extendqisi2, extendhisi2): Likewise. | |
10161 | (extendqidi2): Simplify BWX/non-BWX expansions. | |
10162 | (extendhidi2): Similarly. | |
10163 | ||
bdfb351b RH |
10164 | 2011-02-24 Richard Henderson <rth@redhat.com> |
10165 | ||
10166 | * config/alpha/alpha.md (attribute isa): New. | |
10167 | (attribute enabled): New. | |
10168 | (zero_extendqihi2): Merge from *zero_extendqihi2_{bwx,nobwx}. | |
10169 | (zero_extendqisi2, zero_extendqidi2): Similarly. | |
10170 | (zero_extendhisi2, zero_extendhidi2): Similarly. | |
10171 | * config/alpha/predicates.md (reg_or_bwx_memory_operand): New. | |
10172 | ||
6abe71eb RH |
10173 | 2011-02-24 Richard Henderson <rth@redhat.com> |
10174 | ||
10175 | * config/alpha/predicates.md (input_operand): Revert last change; | |
10176 | update comment to mention 32-bit VMS rather than Windows. | |
10177 | ||
7114321e NF |
10178 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
10179 | ||
10180 | * function.c (instantiate_virtual_regs): Use FOR_EACH_BB and | |
10181 | FOR_BB_INSNS_SAFE to iterate through insns. Re-indent. | |
10182 | (pass_instantiate_virtual_regs): Require PROP_cfglayout. | |
10183 | * passes.c (init_optimization_passes): Move | |
10184 | pass_instantiate_virtual_regs after pass_into_cfg_layout_mode. | |
10185 | ||
c8679567 EB |
10186 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
10187 | ||
10188 | * dojump.c (do_jump_by_parts_greater_rtx): Optimize in specific cases. | |
10189 | ||
27173058 UB |
10190 | 2011-03-24 Uros Bizjak <ubizjak@gmail.com> |
10191 | ||
10192 | * config/i386/i386.md (ix86_print_operand): Output DFmode const_double | |
10193 | correctly. | |
10194 | ||
6f0c9f06 JJ |
10195 | 2011-03-24 Jakub Jelinek <jakub@redhat.com> |
10196 | ||
10197 | PR debug/48204 | |
10198 | * simplify-rtx.c (simplify_const_unary_operation): Call | |
10199 | real_convert when changing mode class with FLOAT_EXTEND. | |
10200 | ||
662666e5 NC |
10201 | 2011-03-24 Nick Clifton <nickc@redhat.com> |
10202 | ||
10203 | * config/rx/rx.h (LABEL_ALIGN_FOR_BARRIER): Define. | |
10204 | (ASM_OUTPUT_MAX_SKIP_ALIGN): Define. | |
10205 | * config/rx/rx.c (rx_option_override): Set align_jumps, | |
10206 | align_loops and align_labels if not set by the user. | |
10207 | (rx_align_for_label): New function. | |
10208 | (rx_max_skip_for_label): New function. | |
10209 | (TARGET_ASM_JUMP_ALIGN_MAX_SKIP): Define. | |
10210 | (TARGET_ASM_LOOP_ALIGN_MAX_SKIP): Define. | |
10211 | (TARGET_ASM_LABEL_ALIGN_MAX_SKIP): Define. | |
10212 | (TARGET_ASM_LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Define. | |
10213 | * config/rx/rx-protos.h (rx_align_for_label): Add prototype. | |
10214 | ||
2b99b2b8 RS |
10215 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
10216 | ||
10217 | PR rtl-optimization/48263 | |
10218 | * optabs.c (expand_binop_directly): Reinstate convert_modes code | |
10219 | and original commutative_p handling. Use maybe_gen_insn. | |
10220 | ||
ccecd6ea AK |
10221 | 2011-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
10222 | ||
10223 | * reload.c (find_reloads_subreg_address): Add address_reloaded | |
10224 | parameter and return true there if the full address has been | |
10225 | reloaded. | |
10226 | (find_reloads_toplev): Pass address_reloaded flag. | |
10227 | (find_reloads_address_1): Don't use address_reloaded parameter. | |
10228 | ||
67295642 JL |
10229 | 2011-03-24 Jeff Law <law@redhat.com> |
10230 | ||
10231 | * tree-ssa-live.c (remove_unused_scope_block_p): Remove set but | |
10232 | unused variable "ann". | |
10233 | (remove_unused_locals): Likewise. | |
10234 | ||
10235 | * tree-ssa-copy.c (propagate_tree_value_into_stmt): Remove useless | |
10236 | statement. | |
10237 | ||
10238 | * cfglayout.c (fixup_reorder_chain): Do not dereference E_FALL | |
10239 | after it is freed. | |
10240 | ||
212aa74f AK |
10241 | 2011-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
10242 | ||
10243 | * config/s390/s390.c (s390_preferred_reload_class): Return NO_REGS | |
10244 | for invalid symbolic addresses. | |
10245 | (s390_secondary_reload): Don't use s390_check_symref_alignment for | |
10246 | larl operands. | |
10247 | ||
fe784e0d EB |
10248 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
10249 | ||
10250 | * fold-const.c (fold_ternary_loc): Preserve the location (if any) of | |
10251 | the argument in calls to fold_truth_not_expr. | |
10252 | ||
63ee8641 NF |
10253 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
10254 | ||
10255 | * tree.c (record_node_allocation_statistics): New function. | |
10256 | (make_node_stat, copy_node_stat, build_string): Call it. | |
10257 | (make_tree_binfo_stat, make_tree_vec_stat, tree_cons_stat): Likewise. | |
10258 | (build1_stat, build_omp_clause): Likewise. | |
10259 | ||
61be2a1c RS |
10260 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
10261 | ||
10262 | * builtins.c (expand_movstr): Fix endp == 1 adjustment after | |
10263 | last commit. | |
10264 | ||
a881aaa7 RG |
10265 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
10266 | ||
10267 | PR tree-optimization/48271 | |
10268 | * tree-ssa-dom.c (tree_ssa_dominator_optimize): Only cleanup | |
10269 | blocks that still exist. | |
10270 | ||
dbaa912c RG |
10271 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
10272 | ||
10273 | PR tree-optimization/48270 | |
10274 | * tree-ssa-phiopt.c (cond_if_else_store_replacement): Do | |
10275 | not free datarefs before ddrs. | |
10276 | ||
1d60cc55 EB |
10277 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
10278 | ||
10279 | * tree-sra.c (build_ref_for_offset): Strip useless type conversions | |
10280 | from the address built for a reference with variable offset. | |
10281 | ||
c78dd519 UB |
10282 | 2011-03-24 Uros Bizjak <ubizjak@gmail.com> |
10283 | ||
10284 | PR target/48237 | |
10285 | * config/i386/i386.md (*movdf_internal_rex64): Do not split | |
10286 | alternatives that can be handled with movq or movabsq insn. | |
10287 | (*movdf_internal): Disable for !TARGET_64BIT. | |
10288 | (*movdf_internal_nointeger): Ditto. | |
10289 | * config/i386/i386.c (ix86_print_operand): Handle DFmode immediates. | |
10290 | ||
b25b9e8f NF |
10291 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
10292 | ||
10293 | * system.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Poison. | |
10294 | (FUNCTION_ARG_ADVANCE): Likewise. | |
10295 | * tm.texi.in: Change references to them to hook references. | |
10296 | * tm.texi: Regenerate. | |
c78dd519 | 10297 | * targhooks.c (default_function_arg): Eliminate check for target macro. |
b25b9e8f NF |
10298 | (default_function_incoming_arg): Likewise. |
10299 | (default_function_arg_advance): Likewise. | |
c78dd519 | 10300 | * target.def (function_arg, function_incoming_arg): Change to DEFHOOK. |
b25b9e8f NF |
10301 | (function_arg_advance): Likewise. |
10302 | * target-def.h: Eliminate FUNCTION_INCOMING_ARG check. | |
10303 | ||
190b2187 RG |
10304 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
10305 | ||
10306 | PR middle-end/48269 | |
10307 | * tree-object-size.c (addr_object_size): Do not double-account | |
10308 | for MEM_REF offsets. | |
10309 | ||
a183b5c7 DN |
10310 | 2011-03-24 Diego Novillo <dnovillo@google.com> |
10311 | ||
10312 | * lto-opts.c (input_data_block): Move to lto-streamer-in.c. | |
c78dd519 | 10313 | * lto-streamer-in.c (input_string_internal): Add clarifying comments. |
a183b5c7 DN |
10314 | (lto_input_data_block): Move from lto-opts.c. Make extern. |
10315 | Update all users. | |
10316 | (lto_input_string): Rename from input_string. Make extern. | |
10317 | Update all users. | |
10318 | * lto-streamer-out.c (lto_output_string_with_length): Rename from | |
10319 | output_string_with_length. | |
10320 | Output 0 to indicate a non-NULL string. Update all callers to | |
10321 | not emit 0. | |
10322 | (lto_output_string): Rename from output_string. Make extern. | |
10323 | Update all users. | |
10324 | (lto_output_decl_state_streams): Make extern. | |
10325 | (lto_output_decl_state_refs): Make extern. | |
10326 | * lto-streamer.h (lto_input_string): Declare. | |
10327 | (lto_input_data_block): Declare. | |
10328 | (lto_output_string): Declare. | |
10329 | (lto_output_string_with_length): Declare. | |
10330 | (lto_output_decl_state_streams): Declare. | |
10331 | (lto_output_decl_state_refs): Declare. | |
10332 | ||
cfef45c8 RG |
10333 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
10334 | ||
10335 | PR tree-optimization/46562 | |
10336 | * tree.c (build_invariant_address): New function. | |
10337 | * tree.h (build_invariant_address): Declare. | |
10338 | * tree-dfa.c (get_addr_base_and_unit_offset): Wrap around | |
10339 | a renamed function moved ... | |
10340 | * tree-flow-inline.h (get_addr_base_and_unit_offset_1): ... here. | |
10341 | Take valueization callback parameter. | |
10342 | * tree-flow.h (gimple_fold_stmt_to_constant): Declare. | |
10343 | * gimple-fold.h: New file. | |
10344 | * tree-ssa-ccp.c (ccp_fold): Use gimple_fold_stmt_to_constant_1. | |
10345 | (ccp_fold, fold_const_aggregate_ref, | |
10346 | fold_ctor_reference, fold_nonarray_ctor_reference, | |
10347 | fold_array_ctor_reference, fold_string_cst_ctor_reference, | |
10348 | get_base_constructor): Move ... | |
10349 | * gimple-fold.c: ... here. | |
10350 | (gimple_fold_stmt_to_constant_1): New function | |
10351 | split out from ccp_fold. Take a valueization callback parameter. | |
10352 | Valueize all operands. | |
10353 | (gimple_fold_stmt_to_constant): New wrapper function. | |
10354 | (fold_const_aggregate_ref_1): New function split out from | |
10355 | fold_const_aggregate_ref. Take a valueization callback parameter. | |
10356 | (fold_const_aggregate_ref): Wrap fold_const_aggregate_ref_1. | |
10357 | * tree-ssa-sccvn.c (simplify_binary_expression): Simplify | |
10358 | invariant POINTER_PLUS_EXPRs to invariant form. | |
10359 | (vn_valueize): New function. | |
10360 | (try_to_simplify): Simplify by using gimple_fold_stmt_to_constant. | |
10361 | * tree-vrp.c (vrp_valueize): New function. | |
10362 | (vrp_visit_assignment_or_call): Use gimple_fold_stmt_to_constant | |
10363 | to fold statements to constants. | |
10364 | * tree-ssa-pre.c (eliminate): Properly guard propagation of | |
10365 | function declarations. | |
10366 | * Makefile.in (tree-ssa-sccvn.o, tree-vrp.o, gimple-fold.o, | |
10367 | tree-ssa-ccp.o): Add gimple-fold.h dependencies. | |
10368 | ||
5e0a7e40 RS |
10369 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
10370 | ||
10371 | * config/h8300/predicates.md (jump_address_operand): Fix register | |
10372 | mode check. | |
10373 | ||
bfe068c3 IR |
10374 | 2011-03-24 Ira Rosen <ira.rosen@linaro.org> |
10375 | ||
10376 | * doc/invoke.texi (max-stores-to-sink): Document. | |
10377 | * params.h (MAX_STORES_TO_SINK): Define. | |
10378 | * opts.c (finish_options): Set MAX_STORES_TO_SINK to 0 | |
10379 | if either vectorization or if-conversion is disabled. | |
10380 | * tree-data-ref.c (dr_equal_offsets_p1): Moved and renamed from | |
10381 | tree-vect-data-refs.c vect_equal_offsets. | |
10382 | (dr_equal_offsets_p): New function. | |
10383 | (find_data_references_in_bb): Remove static. | |
10384 | * tree-data-ref.h (find_data_references_in_bb): Declare. | |
10385 | (dr_equal_offsets_p): Likewise. | |
10386 | * tree-vect-data-refs.c (vect_equal_offsets): Move to tree-data-ref.c. | |
10387 | (vect_drs_dependent_in_basic_block): Update calls to | |
10388 | vect_equal_offsets. | |
10389 | (vect_check_interleaving): Likewise. | |
10390 | * tree-ssa-phiopt.c: Include cfgloop.h and tree-data-ref.h. | |
10391 | (cond_if_else_store_replacement): Rename to... | |
10392 | (cond_if_else_store_replacement_1): ... this. Change arguments and | |
10393 | documentation. | |
10394 | (cond_if_else_store_replacement): New function. | |
10395 | * Makefile.in (tree-ssa-phiopt.o): Adjust dependencies. | |
10396 | * params.def (PARAM_MAX_STORES_TO_SINK): Define. | |
10397 | ||
4908b0bf CLT |
10398 | 2011-03-23 Chung-Lin Tang <cltang@codesourcery.com> |
10399 | ||
10400 | PR target/46934 | |
10401 | * config/arm/arm.md (casesi): Use the gen_int_mode() function | |
10402 | to subtract lower bound instead of GEN_INT(). | |
10403 | ||
2be478a2 JW |
10404 | 2011-03-23 Jonathan Wakely <jwakely.gcc@gmail.com> |
10405 | ||
10406 | PR other/48179 | |
10407 | PR other/48221 | |
10408 | PR other/48234 | |
10409 | * doc/extend.texi (Alignment): Move section to match order in TOC. | |
10410 | * doc/invoke.texi (i386 and x86-64 Windows Options): Likewise. | |
10411 | (Warning Options): Adjust -Wno-cpp summary and remove stray backslash. | |
10412 | ||
0c617be4 JL |
10413 | 2011-03-23 Jeff Law <law@redhat.com> |
10414 | ||
10415 | * cfg.c (redirect_edge_succ_nodup): Duplicate the varm map | |
10416 | before removing the edge. | |
10417 | ||
10418 | * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Do not use E after | |
10419 | it may have been freed by redirect_branch_edge or | |
10420 | redirect_edge_succ_nodup. | |
10421 | ||
58da96fe RG |
10422 | 2011-03-23 Richard Guenther <rguenther@suse.de> |
10423 | ||
c78dd519 | 10424 | * tree-stdarg.c (va_list_counter_bump): Handle bumps via MEM_REF. |
58da96fe RG |
10425 | (check_va_list_escapes): Likewise. |
10426 | (check_all_va_list_escapes): Likewise. | |
10427 | ||
b8beb4d1 RG |
10428 | 2011-03-23 Richard Guenther <rguenther@suse.de> |
10429 | ||
10430 | * Makefile.in (IPA_TYPE_ESCAPE_H): Remove. | |
10431 | (OBJS-archive): Remove ipa-struct-reorg.o and ipa-type-escape.o. | |
10432 | (tree-ssa-alias.o): Do not depend on IPA_TYPE_ESCAPE_H. | |
10433 | (alias.o): Likewise. | |
10434 | (ipa-type-escape.o): Remove. | |
10435 | (ipa-struct-reorg.o): Likewise. | |
10436 | (GTFILES): Remove ipa-struct-reorg.c. | |
10437 | * alias.c: Do not include ipa-type-escape.h. | |
10438 | * tree-ssa-alias.c: Likewise. | |
10439 | * common.opt (fipa-struct-reorg): Preserve for backward compatibility. | |
10440 | * opts.c (finish_options): Do not reset flag_ipa_struct_reorg. | |
10441 | * passes.c (init_optimization_passes): Remove ipa-struct-reorg | |
10442 | and ipa-type-escape passes. | |
10443 | * tree-pass.h (pass_ipa_type_escape): Remove. | |
10444 | (pass_ipa_struct_reorg): Likewise. | |
10445 | * ipa-struct-reorg.h: Remove. | |
10446 | * ipa-struct-reorg.c: Likewise. | |
10447 | * ipa-type-escape.h: Likewise. | |
10448 | * ipa-type-escape.c: Likewise. | |
10449 | * doc/invoke.texi (-fipa-struct-reorg): Remove. | |
10450 | (--param struct-reorg-cold-struct-ratio): Likewise. | |
10451 | * params.def (PARAM_STRUCT_REORG_COLD_STRUCT_RATIO): Likewise. | |
10452 | * params.h (STRUCT_REORG_COLD_STRUCT_RATIO): Likewise. | |
10453 | * timevar.def (TV_IPA_TYPE_ESCAPE): Likewise. | |
10454 | ||
f137aa63 AK |
10455 | 2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
10456 | ||
10457 | * config/s390/2084.md: Enable all insn reservations also for z9_ec | |
10458 | cpu attribute value. | |
10459 | * config/s390/s390-opts.h (enum s390_arch_option): Remove. | |
10460 | (enum processor_type): Add PROCESSOR_2094_Z9_EC. | |
10461 | * config/s390/s390.c (processor_flags_table): New constant array. | |
10462 | (s390_handle_arch_option): Remove. | |
10463 | (s390_handle_option): Remove s390_handle_arch_option invocations | |
10464 | and OPT_mwarn_framesize_ handling. | |
10465 | (s390_option_override): Remove s390_handle_arch_option invocation. | |
10466 | (s390_emit_prologue): Remove use of HOST_WIDE_INT_PRINT_DEC in | |
10467 | warnings. | |
10468 | * config/s390/s390.md (cpu attribute): Add z9_ec value. | |
10469 | * config/s390/s390.opt (s390_tune, s390_arch) | |
10470 | (march=): Replace s390_arch_option enum and values with | |
10471 | processor_type. Set variable name to s390_arch. Set | |
10472 | initialization value. | |
10473 | (mtune=): Replace s390_arch_option with processor_type. Set | |
10474 | variable name to s390_tune. Set initialization value. | |
10475 | ||
bf90208f JB |
10476 | 2011-03-23 Julian Brown <julian@codesourcery.com> |
10477 | ||
10478 | * expr.c (expand_expr_real_1): Only use BLKmode for volatile | |
10479 | accesses which are not naturally aligned. | |
10480 | ||
3460fdf3 RS |
10481 | 2011-03-23 Richard Sandiford <richard.sandiford@linaro.org> |
10482 | ||
10483 | PR target/47553 | |
10484 | * config/arm/predicates.md (neon_lane_number): Accept 0..15. | |
10485 | ||
a5c7d693 RS |
10486 | 2011-03-23 Richard Sandiford <richard.sandiford@linaro.org> |
10487 | ||
10488 | * optabs.h (emit_unop_insn, maybe_emit_unop_insn): Change insn code | |
10489 | parameter from "int" to "enum insn_code". | |
10490 | (expand_operand_type): New enum. | |
10491 | (expand_operand): New structure. | |
10492 | (create_expand_operand): New function. | |
10493 | (create_fixed_operand, create_output_operand): Likewise | |
10494 | (create_input_operand, create_convert_operand_to): Likewise. | |
10495 | (create_convert_operand_from, create_address_operand): Likewise. | |
10496 | (create_integer_operand): Likewise. | |
10497 | (create_convert_operand_from_type, maybe_legitimize_operands): Declare. | |
10498 | (maybe_gen_insn, maybe_expand_insn, maybe_expand_jump_insn): Likewise. | |
10499 | (expand_insn, expand_jump_insn): Likewise. | |
10500 | * builtins.c (expand_builtin_prefetch): Use the new interfaces. | |
10501 | (expand_builtin_interclass_mathfn, expand_builtin_strlen): Likewise. | |
10502 | (expand_movstr, expand_builtin___clear_cache): Likewise. | |
10503 | (expand_builtin_lock_release): Likewise. | |
10504 | * explow.c (allocate_dynamic_stack_space): Likewise. | |
10505 | (probe_stack_range): Likewise. Allow check_stack to FAIL, | |
10506 | and use the default handling in that case. | |
10507 | * expmed.c (check_predicate_volatile_ok): Delete. | |
10508 | (store_bit_field_1, extract_bit_field_1): Use the new interfaces. | |
10509 | (emit_cstore): Likewise. | |
10510 | * expr.c (emit_block_move_via_movmem): Likewise. | |
10511 | (set_storage_via_setmem, expand_assignment): Likewise. | |
10512 | (emit_storent_insn, try_casesi): Likewise. | |
10513 | (emit_single_push_insn): Likewise. Allow the expansion to fail. | |
10514 | * optabs.c (expand_widen_pattern_expr, expand_ternary_op): Likewise. | |
10515 | (expand_vec_shift_expr, expand_binop_directly): Likewise. | |
10516 | (expand_twoval_unop, expand_twoval_binop): Likewise. | |
10517 | (expand_unop_direct, emit_indirect_jump): Likewise. | |
10518 | (emit_conditional_move, vector_compare_rtx): Likewise. | |
10519 | (expand_vec_cond_expr, expand_val_compare_and_swap_1): Likewise. | |
10520 | (expand_sync_operation, expand_sync_fetch_operation): Likewise. | |
10521 | (expand_sync_lock_test_and_set): Likewise. | |
10522 | (maybe_emit_unop_insn): Likewise. Change icode to an insn_code. | |
10523 | (emit_unop_insn): Likewise. | |
10524 | (expand_copysign_absneg): Change icode to an insn_code. | |
10525 | (create_convert_operand_from_type): New function. | |
10526 | (maybe_legitimize_operand, maybe_legitimize_operands): Likewise. | |
10527 | (maybe_gen_insn, maybe_expand_insn, maybe_expand_jump_insn): Likewise. | |
10528 | (expand_insn, expand_jump_insn): Likewise. | |
10529 | * config/i386/i386.md (setmem<mode>): Use nonmemory_operand rather | |
10530 | than const_int_operand for operand 2. | |
10531 | ||
78fadbab AK |
10532 | 2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
10533 | ||
10534 | * dwarf2out.c (const_ok_for_output_1): Print the unspec enum name | |
10535 | if possible. | |
10536 | ||
5f02387d NF |
10537 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
10538 | ||
10539 | * emit-rtl.c (emit_pattern_before_noloc): New function. | |
10540 | (emit_insn_before_noloc, emit_jump_insn_before_noloc): Call it. | |
10541 | (emit_call_insn_before_noloc, emit_debug_insn_before_noloc): Likewise. | |
10542 | (emit_pattern_after_noloc): New function. | |
10543 | (emit_insn_after_noloc, emit_jump_insn_after_noloc): Call it. | |
10544 | (emit_call_insn_after_noloc, emit_debug_insn_after_noloc): Likewise. | |
10545 | ||
fdf3e18a NF |
10546 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
10547 | ||
10548 | * libgcc2.c (__lshrdi3, __ashldi3, __ashrdi3): Use W_TYPE_SIZE. | |
10549 | (__ffsDI2): Likewise. | |
10550 | ||
42d085c1 RH |
10551 | 2011-03-22 Richard Henderson <rth@redhat.com> |
10552 | ||
10553 | * config/alpha/alpha.c (direct_return): Use TARGET_ABI_OSF instead | |
10554 | of !TARGET_ABI_OPEN_VMS. | |
10555 | (alpha_trampoline_init, alpha_start_function): Likewise. | |
10556 | (alpha_expand_epilogue, alpha_file_start): Likewise. | |
10557 | * config/alpha/alpha.md (divsi3, modsi3): Likewise. | |
10558 | (udivsi3, umodsi3, divdi3, moddi3, udivdi3, umoddi3): Likewise. | |
10559 | (*divmodsi_internal_er, *divmodsi_internal_er_1): Likewise. | |
10560 | (*divmodsi_internal, *divmoddi_internal_er): Likewise. | |
10561 | (*divmoddi_internal_er_1, *divmoddi_internal): Likewise. | |
10562 | ||
cabbe12a JM |
10563 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10564 | ||
10565 | * config/s390/s390-opts.h: New. | |
10566 | * config/s390/s390.c (s390_tune, s390_tune_flags, s390_arch, | |
10567 | s390_arch_flags, s390_warn_framesize, s390_stack_size, | |
10568 | s390_stack_guard): Remove. | |
10569 | (s390_handle_arch_option): Return void. Take enum | |
10570 | s390_arch_option value instead of string and searching array. | |
10571 | (s390_handle_option): Don't assert that global structures are in | |
10572 | use. Access variables via opts pointer. Use error_at. Don't use | |
10573 | sscanf for -mstack-guard= or -mstack-size=. Update call to | |
10574 | s390_handle_arch_option. | |
10575 | (s390_option_override): Update call to s390_handle_arch_option. | |
10576 | (s390_emit_prologue): Use %d format for s390_stack_size in | |
10577 | diagnostic. Use %wd for HOST_WIDE_INT. | |
10578 | * config/s390/s390.h (enum processor_type): Move to s390-opts.h. | |
10579 | (s390_tune, s390_tune_flags, s390_arch, s390_arch_flags): Remove. | |
10580 | * config/s390/s390.opt (config/s390/s390-opts.h): New | |
10581 | HeaderInclude entry. | |
10582 | (s390_arch_string, s390_tune, s390_tune_flags, s390_arch, | |
10583 | s390_arch_flags, s390_warn_framesize): New Variable entries. | |
10584 | (s390_arch_option): New Enum and EnumValue entries. | |
10585 | (march=): Use Enum instead of Var. | |
10586 | (mstack-guard=, mstack-size=): Use UInteger and Var. | |
10587 | (mtune=): Use Enum. | |
10588 | ||
05b12036 JM |
10589 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10590 | ||
10591 | * config/score/score.c (score_handle_option): Don't assert that | |
10592 | global structures are in use. Access target_flags via opts | |
10593 | pointer. Use value of -march= option to determine target_flags | |
10594 | settings. | |
10595 | * config/score/score.opt (march=): Use Enum. | |
10596 | (score_arch): New Enum and EnumValue entries. | |
10597 | ||
dd51e35a JM |
10598 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10599 | ||
10600 | * config/mep/mep.c (option_mtiny_specified): Remove. | |
10601 | (mep_option_override): Move register handling for -mivc2 from | |
10602 | mep_handle_option. Use global_options_set.x_mep_tiny_cutoff | |
10603 | instead of option_mtiny_specified. | |
10604 | (mep_handle_option): Access target_flags via opts pointer. Don't | |
10605 | assert that global structures are in use. Defer part of -mivc2 | |
10606 | handling and move it to mep_option_override. | |
10607 | * config/mep/mep.opt (IVC2): New Mask entry. | |
10608 | (mivc2): Use Var and Defer instead of Mask. | |
10609 | ||
4a8d3d91 JM |
10610 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10611 | ||
10612 | * config/v850/v850-opts.h: New. | |
10613 | * config/v850/v850.c (small_memory): Replace with | |
10614 | small_memory_physical_max array. Make that array static const. | |
10615 | (v850_handle_memory_option): Take integer value of argument. Take | |
10616 | gcc_options pointer, option text and location. Return void. | |
10617 | Update for changes to small memory structures. | |
10618 | (v850_handle_option): Access target_flags via opts pointer. Don't | |
10619 | assert that global structures are in use. Update calls to | |
10620 | v850_handle_memory_option. | |
c78dd519 UB |
10621 | (v850_encode_data_area): Update references to small memory settings. |
10622 | * config/v850/v850.h (struct small_memory_info, small_memory): Remove. | |
4a8d3d91 JM |
10623 | (enum small_memory_type): Move to v850-opts.h. |
10624 | * config/v850/v850.opt (config/v850/v850-opts.h): New | |
10625 | HeaderInclude entry. | |
10626 | (small_memory_max): New Variable entry. | |
10627 | (msda): Replace by pair of options msda= and msda-. Use UInteger. | |
10628 | (mtda, mzda): Likewise. | |
10629 | ||
117fdbfa JM |
10630 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10631 | ||
10632 | * config/sh/sh.c (sh_handle_option): Access target_flags via opts | |
10633 | pointer. Don't assert that global structures are in use. | |
10634 | ||
d715091c JM |
10635 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10636 | ||
10637 | * config/pdp11/pdp11.c (pdp11_handle_option): Access target_flags | |
10638 | via opts pointer. Don't assert that global structures are in use. | |
10639 | ||
1bb721dc JM |
10640 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10641 | ||
10642 | * config/pa/pa-hpux.opt (flag_pa_unix): New Variable entry. | |
10643 | (munix=93): Use Var. | |
10644 | * config/pa/pa-hpux1010.opt (munix=95): Use Var. | |
10645 | * config/pa/pa-hpux1111.opt (munix=98): Use Var. | |
10646 | * config/pa/pa-opts.h: New. | |
10647 | * config/pa/pa.c (pa_cpu, flag_pa_unix): Remove. | |
10648 | (pa_handle_option): Don't assert that global structures are in | |
10649 | use. Access target_flags via opts pointer. Don't handle | |
10650 | OPT_mschedule_, OPT_mfixed_range_, OPT_munix_93, OPT_munix_95 or | |
10651 | OPT_munix_98 here. | |
10652 | (pa_option_override): Handle deferred OPT_mfixed_range_. | |
10653 | ||
cd8d8754 JM |
10654 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10655 | ||
10656 | * config/mn10300/mn10300-opts.h: New. | |
10657 | * config/mn10300/mn10300.c (mn10300_processor, | |
10658 | mn10300_tune_string): Remove. | |
10659 | (mn10300_handle_option): Don't assert that global structures are | |
10660 | in use. Access mn10300_processor via opts pointer. Don't handle | |
10661 | OPT_mtune_ here. | |
10662 | * config/mn10300/mn10300.h (enum processor_type): Move to | |
10663 | mn10300-opts.h. | |
10664 | (mn10300_processor): Remove. | |
10665 | * config/mn10300/mn10300.opt (config/mn10300/mn10300-opts.h): New | |
10666 | HeaderInclude entry. | |
10667 | (mn10300_processor): New Variable entry. | |
10668 | (mtune=): Use Var. | |
10669 | ||
24e6e6b1 JM |
10670 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10671 | ||
10672 | * config/microblaze/microblaze.c: Don't include opts.h. | |
10673 | (microblaze_handle_option, TARGET_HANDLE_OPTION): Remove. | |
10674 | * config/microblaze/microblaze.opt (mxl-stack-check): Use Warn. | |
10675 | (mno-clearbss): Use Var and Warn. | |
10676 | ||
8a784afb JM |
10677 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10678 | ||
10679 | * config/m32r/m32r-opts.h: New. | |
10680 | * config/m32r/m32r.c (m32r_model, m32r_sdata): Remove. | |
10681 | (m32r_handle_option): Don't assert that global structures are in | |
10682 | use. Access target_flags and m32r_cache_flush_func via opts | |
10683 | pointer. Don't handle OPT_mmodel_, OPT_msdata_ or | |
10684 | OPT_mno_flush_trap here. | |
10685 | * config/m32r/m32r.h (Code Models, Small Data Area): Replace by | |
10686 | include of m32r-opts.h. | |
10687 | * config/m32r/m32r.opt (config/m32r/m32r-opts.h): New | |
10688 | HeaderInclude entry. | |
10689 | (m32r_model_selected, m32r_sdata_selected): New Variable entries. | |
10690 | (mmodel=): Use Enum and Var. | |
10691 | (m32r_model): New Enum and EnumValue entries. | |
10692 | (mno-flush-trap): Use Var. | |
10693 | (msdata=): Use Enum and Var. | |
10694 | (m32r_sdata): New Enum and EnumValue entries. | |
10695 | ||
bbfc9a8c JM |
10696 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10697 | ||
10698 | * config/m32c/m32c.c: Don't include opts.h. | |
10699 | (target_memregs, target_memregs_set, TARGET_HANDLE_OPTION, | |
10700 | m32c_handle_option): Remove. | |
10701 | (m32c_option_override): Check global_options_set.x_target_memregs | |
10702 | instead of target_memregs_set. | |
10703 | * config/m32c/m32c.h (target_memregs): Remove. | |
10704 | * config/m32c/m32c.opt (memregs=): Use UInteger with integer | |
10705 | variable. | |
10706 | ||
e24b8335 JM |
10707 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10708 | ||
10709 | * config/iq2000/iq2000-opts.h: New. | |
10710 | * config/iq2000/iq2000.c: Don't include opts.h. | |
10711 | (iq2000_tune, iq2000_handle_option, TARGET_HANDLE_OPTION): Remove. | |
c78dd519 | 10712 | * config/iq2000/iq2000.h (enum processor_type, iq2000_tune): Remove. |
e24b8335 JM |
10713 | * config/iq2000/iq2000.opt (config/iq2000/iq2000-opts.h): New |
10714 | HeaderInclude entry. | |
10715 | (iq2000_tune): New Variable entry. | |
10716 | (march=): Add comment. Use Enum. | |
10717 | (iq2000_arch): New Enum and EnumValue entries. | |
10718 | (mcpu=): Use Enum and Var. | |
10719 | (iq2000_tune): New Enum and EnumValue entries. | |
10720 | ||
e6cc0c98 JM |
10721 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10722 | ||
10723 | * config/ia64/ia64-opts.h: New. | |
10724 | * config/ia64/ia64.c (ia64_tune): Remove. | |
10725 | (ia64_handle_option): Don't handle OPT_mfixed_range_ or OPT_mtune_ | |
10726 | here. Use error_at. | |
10727 | (ia64_option_override): Handle deferred OPT_mfixed_range_. | |
10728 | * config/ia64/ia64.h (enum processor_type, ia64_tune): Remove. | |
10729 | * config/ia64/ia64.opt (config/ia64/ia64-opts.h): New | |
10730 | HeaderInclude entry. | |
10731 | (ia64_tune): New Variable entry. | |
10732 | (mfixed-range=): Use Defer and Var. | |
10733 | (mtune=): Use Enum and Var. | |
10734 | (ia64_tune): New Enum and EnumValue entries. | |
10735 | ||
db25893c JM |
10736 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10737 | ||
10738 | * config/frv/frv-opts.h: New. | |
10739 | * config/frv/frv-protos.h (enum frv_cpu, frv_cpu_t): Move to | |
10740 | frv-opts.h. | |
10741 | (frv_cpu_type): Remove. | |
10742 | * config/frv/frv.c: Don't include opts.h. | |
10743 | (frv_cpu_type, frv_handle_option, TARGET_HANDLE_OPTION): Remove. | |
c78dd519 | 10744 | * config/frv/frv.opt (config/frv/frv-opts.h): New HeaderInclude entry. |
db25893c JM |
10745 | (frv_cpu_type): New Variable entry. |
10746 | (frv_cpu): New Enum and EnumValue entries. | |
10747 | ||
6c223f5d JM |
10748 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10749 | ||
10750 | * config/cris/cris.c (cris_handle_option): Access target_flags via | |
10751 | opts pointer. Don't assert that global structures are in use. | |
10752 | Don't call CRIS_SUBTARGET_HANDLE_OPTION. | |
10753 | * config/cris/cris.h (CRIS_SUBTARGET_HANDLE_OPTION): Don't define. | |
10754 | ||
bbd399cf JM |
10755 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10756 | ||
10757 | * config/bfin/bfin-opts.h: New. | |
10758 | * config/bfin/bfin.c (bfin_lib_id_given, bfin_cpu_type, | |
10759 | bfin_si_revision, bfin_workarounds): Remove. | |
10760 | (bfin_cpus): Make static const. | |
10761 | (bfin_load_pic_reg): Check global_options_set.x_bfin_library_id | |
10762 | not bfin_lib_id_given. | |
10763 | (bfin_handle_option): Don't set bfin_lib_id_given. Access | |
10764 | bfin_cpu_type, bfin_si_revision and bfin_workarounds via opts | |
c78dd519 | 10765 | pointer. Use error_at. Don't assert that global structures are in use. |
bbd399cf JM |
10766 | * config/bfin/bfin.h: Include bfin-opts.h. |
10767 | (enum bfin_cpu_type, bfin_cpu_t): Move to bfin-opts.h. | |
10768 | (bfin_cpu_type, bfin_si_revision, bfin_workarounds): Remove. | |
10769 | * bfin.opt (config/bfin/bfin-opts.h): New HeaderInclude entry. | |
10770 | (bfin_cpu_type, bfin_si_revision, bfin_workarounds): New Variable | |
10771 | entries. | |
10772 | ||
5e1b4d5a JM |
10773 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10774 | ||
10775 | * config/arm/arm.opt (mhard-float, msoft-float): Use Alias. | |
10776 | * config/arm/arm.c (arm_handle_option): Don't handle -mhard-float | |
10777 | or -msoft-float here. | |
10778 | * config/arm/arm.h (CPP_SPEC): Handle -mfloat-abi=*, not | |
10779 | -msoft-float and -mhard-float. | |
c78dd519 | 10780 | (OPTION_DEFAULT_SPECS): Don't handle -mhard-float and -msoft-float. |
5e1b4d5a JM |
10781 | * config/arm/coff.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not |
10782 | msoft-float. | |
10783 | * config/arm/elf.h (ASM_SPEC): Don't handle -mhard-float and | |
10784 | -msoft-float. | |
10785 | (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not msoft-float. | |
10786 | * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Use mfloat-abi=hard, | |
10787 | not mhard-float. | |
10788 | (LIBGCC_SPEC): Don't handle -msoft-float. | |
10789 | * config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Don't handle | |
10790 | -mhard-float. | |
10791 | * config/arm/pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not | |
10792 | msoft-float. | |
10793 | * config/arm/rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Handle | |
10794 | -mfloat-abi=*, not -msoft-float and -mhard-float. | |
10795 | * config/arm/semi.h((ASM_SPEC): Don't handle -mhard-float and | |
10796 | -msoft-float. | |
10797 | * config/arm/t-arm-elf (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): | |
10798 | Use mfloat-abi=hard and mfloat-abi=soft in comments, not | |
10799 | mhard-float and msoft-float. | |
10800 | * config/arm/t-linux (MULTILIB_OPTIONS): Use mfloat-abi=hard and | |
10801 | mfloat-abi=soft in comments, not mhard-float and msoft-float. | |
10802 | * config/arm/t-rtems (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use | |
10803 | mfloat-abi=soft and mfloat-abi=hard, not msoft-float and | |
10804 | mhard-float. | |
10805 | * config/arm/t-strongarm-elf (MULTILIB_OPTIONS): Use | |
10806 | mfloat-abi=hard and mfloat-abi=soft, not mhard-float and | |
10807 | msoft-float. | |
10808 | * config/arm/t-wince-pe (MULTILIB_OPTIONS): Use mfloat-abi=hard, | |
10809 | not mhard-float. | |
10810 | * config/arm/wince-pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, | |
10811 | not msoft-float. | |
10812 | ||
800d1de1 RH |
10813 | 2011-03-22 Richard Henderson <rth@redhat.com> |
10814 | ||
10815 | * config/alpha/alpha.c (alpha_expand_prologue): Don't test | |
10816 | TARGET_ABI_WINDOWS_NT. | |
10817 | (alpha_output_function_end_prologue): Likewise. | |
10818 | * config/alpha/alpha.h (TARGET_ABI_OSF): Likewise. | |
10819 | (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
10820 | * config/alpha/alpha.md (call, call_value, tablejump): Likewise. | |
10821 | (trap, *movsi_nt_vms): Likewise. | |
10822 | (call_nt, call_value_nt, *call_nt_1, *call_value_nt_1): Remove. | |
10823 | (*tablejump_osf_nt_internal): Remove. | |
10824 | * config/alpha/predicates.md (input_operand): Only test Pmode. | |
10825 | ||
c59ddd2b JM |
10826 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10827 | ||
10828 | * config/alpha/alpha.c (alpha_handle_option): Access target_flags | |
10829 | via opts pointer. Use error_at. Don't assert that global | |
10830 | structures are in use. | |
10831 | ||
1333f97f JM |
10832 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10833 | ||
10834 | * config/i386/i386.c (ix86_isa_flags_explicit): Remove. | |
10835 | (ix86_handle_option): Access ix86_isa_flags and | |
10836 | ix86_isa_flags_explicit via opts pointer. Don't assert that | |
10837 | global structures are in use. | |
10838 | (ix86_function_specific_save, ix86_function_specific_restore): | |
10839 | Update ix86_isa_flags_explicit field name. | |
c78dd519 | 10840 | * config/i386/i386.opt (ix86_isa_flags_explicit): New Variable entry. |
1333f97f JM |
10841 | (ix86_isa_flags_explicit): Rename TargetSave entry to |
10842 | x_ix86_isa_flags_explicit. | |
10843 | ||
75db85d8 RH |
10844 | 2011-03-22 Richard Henderson <rth@redhat.com> |
10845 | ||
10846 | * config/alpha/alpha.c (NUM_ARGS): Don't test TARGET_ABI_UNICOSMK. | |
10847 | (alpha_option_override, direct_return): Likewise. | |
10848 | (alpha_arg_partial_bytes, alpha_setup_incoming_varargs): Likewise. | |
10849 | (alpha_va_start, alpha_gimplify_va_arg, alpha_sa_mask): Likewise. | |
10850 | (alpha_sa_size, compute_frame_size, alpha_expand_prologue): Likewise. | |
10851 | (alpha_start_function, alpha_output_function_end_prologue): Likewise. | |
10852 | (alpha_expand_epilogue, alpha_end_function): Likewise. | |
10853 | (alpha_init_libfuncs): Likewise. | |
10854 | (struct machine_function): Remove unicosmk members. | |
10855 | (print_operand) ['t']: Remove. | |
10856 | (unicosmk_must_pass_in_stack, unicosmk_initial_elimination_offset, | |
10857 | unicosmk_output_module_name, unicosmk_output_common, | |
10858 | current_section_align, unicosmk_output_text_section_asm_op, | |
10859 | unicosmk_output_data_section_asm_op, unicosmk_init_sections, | |
10860 | unicosmk_section_type_flags, unicosmk_unique_section, | |
10861 | unicosmk_asm_named_section, unicosmk_insert_attributes, | |
10862 | unicosmk_output_align, unicosmk_defer_case_vector, | |
10863 | unicosmk_output_addr_vec, unicosmk_output_deferred_case_vectors, | |
10864 | SSIB_PREFIX, SSIB_PREFIX_LEN, unicosmk_ssib_name, unicosmk_gen_dsib, | |
10865 | unicosmk_output_ssib, unicosmk_add_call_info_word, | |
10866 | unicosmk_extern_head, unicosmk_output_default_externs, | |
10867 | unicosmk_output_externs, unicosmk_add_extern, unicosmk_dex_list, | |
10868 | unicosmk_dex_count, unicosmk_special_name, unicosmk_need_dex, | |
10869 | unicosmk_output_dex, unicosmk_file_start, unicosmk_file_end): Remove. | |
10870 | * config/alpha/alpha-protos.h: Update. | |
10871 | * config/alpha/alpha.h (TARGET_ABI_OSF): Don't test TARGET_ABI_UNICOSMK. | |
10872 | * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM): Remove. | |
10873 | (UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): Remove. | |
10874 | (mulsi3): Don't test TARGET_ABI_UNICOSMK. | |
10875 | (*mulsi_se, mulvsi3): Likewise. | |
10876 | (divsi3, udivsi3, modsi3, umodsi3, divdi3, udivdi3): Likewise. | |
10877 | (*divmodsi_internal, call, call_value, realign): Likewise. | |
10878 | (moddi3, umoddi3): Likewise; remove duplicate expander. | |
10879 | (moddi3_umk, umoddi3_umk, call_umk, call_value_umk): Remove. | |
10880 | (*call_umk_1, *movsi, umk_laum, umk_lalm, *umk_load_ciw): Remove. | |
10881 | (*movdi_nofix): Remove r/U alternative. | |
10882 | (umk_mismatch_args, arg_home_umk, *call_value_umk): Remove. | |
10883 | * config/alpha/constraints.md ("U"): Remove. | |
10884 | * config/alpha/predicates.md (call_operand"): Don't test | |
10885 | TARGET_ABI_UNICOSMK. | |
10886 | ||
96e45421 JM |
10887 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10888 | ||
10889 | * target.def (handle_option): Take gcc_options and | |
10890 | cl_decoded_option pointers and location_t. | |
10891 | * doc/tm.texi.in (TARGET_HANDLE_OPTION): Update documentation. | |
10892 | * doc/tm.texi: Regenerate. | |
10893 | * hooks.c (hook_bool_size_t_constcharptr_int_true): Remove. | |
10894 | * hooks.h (hook_bool_size_t_constcharptr_int_true): Don't declare. | |
10895 | * lto-opts.c (lto_reissue_options): Generate option structure for | |
10896 | targetm.handle_option call. | |
10897 | * opts.c (target_handle_option): Update call to | |
10898 | targetm.handle_option. Remove assertions about values now passed | |
10899 | down to hook. | |
10900 | * targhooks.c (default_target_handle_option): New. | |
10901 | * targhooks.h (default_target_handle_option): Declare. | |
10902 | * config/alpha/alpha.c: Include opts.h. | |
10903 | (alpha_handle_option): Update to new hook interface. | |
10904 | * config/arm/arm.c: Include opts.h. | |
10905 | (arm_handle_option): Update to new hook interface. | |
10906 | * config/arm/t-arm (arm.o): Update dependencies. | |
10907 | * config/bfin/bfin.c: Include opts.h. | |
10908 | (bfin_handle_option): Update to new hook interface. | |
10909 | * config/cris/cris.c: Include opts.h. | |
10910 | (cris_handle_option): Update to new hook interface. | |
10911 | * config/frv/frv.c: Include opts.h. | |
10912 | (frv_handle_option): Update to new hook interface. | |
10913 | * config/i386/i386.c: Include opts.h. | |
10914 | (ix86_handle_option): Update to new hook interface. | |
10915 | (ix86_valid_target_attribute_inner_p): Generate option structure | |
10916 | for call to ix86_handle_option. | |
10917 | * config/i386/t-i386 (i386.o): Update dependencies. | |
10918 | * config/ia64/ia64.c: Include opts.h. | |
10919 | (ia64_handle_option): Update to new hook interface. | |
10920 | * config/ia64/t-ia64 (ia64.o): Update dependencies. | |
10921 | * config/iq2000/iq2000.c: Include opts.h. | |
10922 | (iq2000_handle_option): Update to new hook interface. | |
10923 | * config/m32c/m32c.c: Include opts.h. | |
10924 | (m32c_handle_option): Update to new hook interface. | |
10925 | * config/m32r/m32r.c: Include opts.h. | |
10926 | (m32r_handle_option): Update to new hook interface. | |
10927 | * config/m68k/m68k.c: Include opts.h. | |
10928 | (m68k_handle_option): Update to new hook interface. | |
10929 | * config/mep/mep.c: Include opts.h. | |
10930 | (mep_handle_option): Update to new hook interface. | |
10931 | * config/microblaze/microblaze.c: Include opts.h. | |
10932 | (microblaze_handle_option): Update to new hook interface. | |
10933 | * config/mips/mips.c: Include opts.h. | |
10934 | (mips_handle_option): Update to new hook interface. | |
10935 | * config/mn10300/mn10300.c: Include opts.h. | |
10936 | (mn10300_handle_option): Update to new hook interface. | |
10937 | * config/pa/pa.c: Include opts.h. | |
10938 | (pa_handle_option): Update to new hook interface. | |
10939 | * config/pdp11/pdp11.c: Include opts.h. | |
10940 | (pdp11_handle_option): Update to new hook interface. | |
10941 | * config/rs6000/rs6000.c: Include opts.h. | |
10942 | (rs6000_handle_option): Update to new hook interface. | |
10943 | * config/rs6000/t-rs6000 (rs6000.o): Update dependencies. | |
10944 | * config/rx/rx.c: Include opts.h. | |
10945 | (rx_handle_option): Update to new hook interface. | |
10946 | * config/s390/s390.c: Include opts.h. | |
10947 | (s390_handle_option): Update to new hook interface. | |
10948 | * config/score/score.c: Include opts.h. | |
10949 | (score_handle_option): Update to new hook interface. | |
10950 | * config/sh/sh.c: Include opts.h. | |
10951 | (sh_handle_option): Update to new hook interface. | |
10952 | * config/sparc/sparc.c: Include opts.h. | |
10953 | (sparc_handle_option): Update to new hook interface. | |
10954 | * config/v850/v850.c: Include opts.h. | |
10955 | (v850_handle_option): Update to new hook interface. | |
10956 | ||
66017846 JM |
10957 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10958 | ||
10959 | * gcc.c (driver_unknown_option_callback): Only permit and save | |
10960 | unknown -Wno- options. | |
10961 | (driver_wrong_lang_callback): Save options directly instead of via | |
10962 | driver_unknown_option_callback. | |
10963 | ||
e8b97ccd EB |
10964 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
10965 | ||
10966 | * combine.c (simplify_set): Try harder to find the best CC mode when | |
10967 | simplifying a nested COMPARE on the RHS. | |
10968 | ||
ebb9f8b0 JM |
10969 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
10970 | ||
10971 | * config/alpha/gnu.h: Remove. | |
10972 | * config/arc: Remove directory. | |
10973 | * config/arm/netbsd.h: Remove. | |
10974 | * config/arm/t-pe: Remove. | |
10975 | * config/crx: Remove directory. | |
10976 | * config/i386/netbsd.h: Remove. | |
10977 | * config/m68hc11: Remove directory. | |
10978 | * config/m68k/uclinux-oldabi.h: Remove. | |
10979 | * config/mcore/mcore-pe.h: Remove. | |
10980 | * config/mcore/t-mcore-pe: Remove. | |
10981 | * config/netbsd-aout.h: Remove. | |
10982 | * config/rs6000/gnu.h: Remove. | |
10983 | * config/sh/sh-symbian.h: Remove. | |
10984 | * config/sh/symbian-base.c: Remove. | |
10985 | * config/sh/symbian-c.c: Remove. | |
10986 | * config/sh/symbian-cxx.c: Remove. | |
10987 | * config/sh/symbian-post.h: Remove. | |
10988 | * config/sh/symbian-pre.h: Remove. | |
10989 | * config/sh/t-symbian: Remove. | |
10990 | * config/svr3.h: Remove. | |
10991 | * config/vax/netbsd.h: Remove. | |
10992 | * config.build: Don't handle i[34567]86-*-pe. | |
10993 | * config.gcc: Remove handling of deprecations for most deprecated | |
10994 | targets. | |
10995 | (m68k-*-uclinuxoldabi*): Add to second deprecated list. | |
10996 | (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*, arm-*-pe*, crx-*-elf, | |
10997 | i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*|m6811-*-*, | |
10998 | m68hc12-*-*|m6812-*-*, m68k-*-uclinuxoldabi*, mcore-*-pe*, | |
10999 | powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*, | |
11000 | sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*): | |
11001 | Remove cases. | |
11002 | * config.host: Don't handle i[34567]86-*-pe. | |
11003 | * config/rs6000/linux64.h (LINK_OS_GNU_SPEC): Remove. | |
11004 | (ASM_SPEC32): Don't handle -mcall-gnu. | |
11005 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't handle | |
11006 | -mcall-gnu. | |
11007 | (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, CPP_SPEC, | |
11008 | STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): Don't handle -mcall-gnu. | |
11009 | (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, | |
11010 | LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): Remove. | |
11011 | (SUBTARGET_EXTRA_SPECS): Remove *_gnu specs. | |
11012 | * config/sh/sh-protos.h, config/sh/sh.c: Remove all code | |
11013 | conditional on SYMBIAN. | |
11014 | * configure.ac: Don't handle powerpc*-*-gnu*. | |
11015 | * configure: Regenerate. | |
11016 | * doc/extend.texi (interrupt attribute): Don't mention CRX. | |
11017 | * doc/install-old.texi (m6811, m6812): Don't mention. | |
11018 | * doc/install.texi (arc-*-elf*): Don't document multilib option. | |
11019 | (arc-*-elf, CRX, m6811-elf, m6812-elf): Remove. | |
11020 | (m68k-uclinuxoldabi): Don't mention. | |
11021 | * doc/invoke.texi (ARC Options, CRX Options, M68hc1x Options): | |
11022 | Remove. | |
11023 | (-mcall-gnu): Remove. | |
11024 | * doc/md.texi (CRX Architecture, Motorola 68HC11 & 68HC12 | |
11025 | families): Remove constraint documentation. | |
11026 | ||
999a7d80 MS |
11027 | 2011-03-22 Marius Strobl <marius@FreeBSD.org> |
11028 | ||
11029 | * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Replace with... | |
11030 | (FBSD_TARGET_CPU_CPP_BUILTINS): ...this. | |
11031 | (TARGET_GNU_TLS, TARGET_SUN_TLS): Define. | |
11032 | ||
45540bcf MM |
11033 | 2011-03-21 Michael Meissner <meissner@linux.vnet.ibm.com> |
11034 | ||
11035 | PR target/48226 | |
11036 | * config/rs6000/rs6000-c.c (rs6000_macro_to_expand): If we see a | |
11037 | vector when peeking at the next token for vector, don't expand the | |
11038 | keywords. | |
11039 | ||
980a0ff4 GJL |
11040 | 2011-03-21 Georg-Johann Lay <avr@gjlay.de> |
11041 | ||
11042 | * config/avr/avr-protos.h (expand_epilogue): Change prototype | |
11043 | * config/avr/avr.h (struct machine_function): Add field sibcall_fails. | |
11044 | * config/avr/avr.c (init_cumulative_args) | |
11045 | (avr_function_arg_advance): Use it. | |
11046 | * config/avr/avr.c (expand_epilogue): Add bool parameter. Handle | |
11047 | sibcall epilogues. | |
11048 | (TARGET_FUNCTION_OK_FOR_SIBCALL): Define to... | |
11049 | (avr_function_ok_for_sibcall): ...this new function. | |
11050 | (avr_lookup_function_attribute1): New static Function. | |
11051 | (avr_naked_function_p, interrupt_function_p) | |
11052 | (signal_function_p, avr_OS_task_function_p) | |
11053 | (avr_OS_main_function_p): Use it. | |
11054 | * config/avr/avr.md ("sibcall", "sibcall_value") | |
11055 | ("sibcall_epilogue"): New expander. | |
11056 | ("*call_insn", "*call_value_insn"): New insn. | |
11057 | ("call_insn", "call_value_insn"): Remove | |
11058 | ("call", "call_value", "epilogue"): Change expander to handle | |
11059 | sibling calls. | |
11060 | ||
49168734 NC |
11061 | 2011-03-21 Nick Clifton <nickc@redhat.com> |
11062 | ||
11063 | * doc/invoke.texi (Overall Options): Move closing brace to end of | |
11064 | options list. | |
11065 | (Optimization Options): Add missing @gol. | |
11066 | (Directory Options): Likewise. | |
11067 | (i386 and x86-64 Options): Likewise. | |
11068 | (RS6000 and PowerPC Options): Likewise. | |
11069 | (i386 and x86-64 Windows Options): Likewise. | |
11070 | (V850 Options): Add text missing from descriptions. | |
11071 | ||
bdfe906f RH |
11072 | 2011-03-22 Richard Henderson <rth@redhat.com> |
11073 | ||
11074 | * config/avr/avr.c (TARGET_EXCEPT_UNWIND_INFO): New. | |
11075 | (avr_incoming_return_addr_rtx): New. | |
11076 | (emit_push_byte): New. | |
11077 | (expand_prologue): Use it. Remove incorrect dwarf annotation for | |
11078 | SREG, RAMPZ, zero register. Push frame pointer by bytes. Add dwarf | |
11079 | annotation for __prologue_saves__. Fixup dwarf annotation for CFA. | |
11080 | (emit_pop_byte): New. | |
11081 | (expand_epilogue): Use it. Pop frame pointer by bytes. | |
11082 | * config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Remove. | |
11083 | (INCOMING_RETURN_ADDR_RTX): New. | |
11084 | (INCOMING_FRAME_SP_OFFSET): New. | |
11085 | (ARG_POINTER_CFA_OFFSET): New. | |
11086 | * config/avr/avr.md (*pushqi): Fix mode of auto-inc. | |
11087 | (*pushhi, *pushsi, *pushsf, popqi): Likewise. | |
11088 | (pophi): Remove. | |
11089 | ||
d090a5aa RH |
11090 | * dwarf2out.c (dwarf2out_frame_debug_expr) [rule 11]: Handle post_dec. |
11091 | ||
fdf3e18a NF |
11092 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
11093 | ||
11094 | * system.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Poison. | |
11095 | (FUNCTION_ARG_ADVANCE): Likewise. | |
11096 | * tm.texi.in: Change references to them to hook references. | |
11097 | * tm.texi: Regenerate. | |
11098 | * targhooks.c (default_function_arg): Eliminate check for target | |
11099 | macro. | |
11100 | (default_function_incoming_arg): Likewise. | |
11101 | (default_function_arg_advance): Likewise. | |
c78dd519 | 11102 | * target.def (function_arg, function_incoming_arg): Change to DEFHOOK. |
fdf3e18a NF |
11103 | (function_arg_advance): Likewise. |
11104 | * target-def.h: Eliminate FUNCTION_INCOMING_ARG check. | |
11105 | ||
009d3fcf NF |
11106 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
11107 | ||
11108 | * tree.c (build_call_1): New function. | |
11109 | (build_call_valist, build_call_array_loc, build_call_vec): Call it. | |
11110 | ||
7bec30e1 RG |
11111 | 2011-03-22 Richard Guenther <rguenther@suse.de> |
11112 | ||
11113 | PR tree-optimization/48228 | |
11114 | * tree-vrp.c (vrp_visit_phi_node): Do not stop propagating | |
11115 | for single-arg PHIs. | |
11116 | ||
0b7e851b AB |
11117 | 2011-03-22 Andrey Belevantsev <abel@ispras.ru> |
11118 | ||
11119 | PR rtl-optimization/48143 | |
11120 | * config/i386/sse.md (*sse2_cvtpd2dq): Add athlon_decode attribute. | |
11121 | (*sse2_cvttpd2dq, sse2_cvtss2sd, *sse2_cvtpd2ps, | |
11122 | sse2_cvtps2pd): Likewise. | |
11123 | ||
d89afca5 AK |
11124 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
11125 | ||
11126 | * recog.c (canonicalize_change_group): Use validate_unshare_change. | |
11127 | ||
f471fe72 RG |
11128 | 2011-03-22 Richard Guenther <rguenther@suse.de> |
11129 | ||
11130 | * gimple.c (gimple_rhs_class_table): POLYNOMIAL_CHREC is not | |
11131 | a valid RHS. Make DOT_PROD_EXPR and REALIGN_LOAD_EXPR ternary. | |
11132 | * tree-cfg.c (verify_gimple_assign_ternary): Allow DOT_PROD_EXPR | |
11133 | and REALIGN_LOAD_EXPR. | |
11134 | (verify_gimple_assign_single): Do not allow POLYNOMIAL_CHREC, | |
11135 | DOT_PROD_EXPR or REALIGN_LOAD_EXPR. | |
11136 | * expr.c (expand_expr_real_1): Move REALIGN_LOAD_EXPR and | |
11137 | DOT_PROD_EXPR case ... | |
11138 | (expand_expr_real_2): ... here. | |
11139 | * gimple-pretty-print.c (dump_ternary_rhs): Handle DOT_PROD_EXPR | |
11140 | and REALIGN_LOAD_EXPR. | |
11141 | * tree-data-ref.c (split_constant_offset): Bail out for all CHRECs. | |
11142 | * tree-vect-loop.c (vect_model_reduction_cost): Handle ternaries. | |
11143 | (vect_create_epilog_for_reduction): Likewise. | |
11144 | (vectorizable_reduction): Likewise. | |
11145 | * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Adjust. | |
11146 | * tree-vect-stmts.c (vectorizable_load): Likewise. | |
11147 | ||
f2f81d57 EB |
11148 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
11149 | ||
11150 | * gimplify.c (gimplify_cond_expr): Gimplify COMPOUND_EXPR conditions. | |
11151 | ||
ab081dd6 AK |
11152 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
11153 | ||
11154 | * config/s390/s390.c (s390_delegitimize_address): Fix offset | |
11155 | handling for PLTOFF/GOTOFF. | |
11156 | ||
6fd5332b NC |
11157 | 2011-03-22 Nick Clifton <nickc@redhat.com> |
11158 | ||
11159 | * config/i386/cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Remove | |
11160 | trailing backslash from the end of the macro definition. | |
11161 | ||
01841ac0 AK |
11162 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
11163 | ||
11164 | * config/s390/s390.c (s390_delegitimize_address): Handle PLTOFF | |
11165 | and PLT unspecs. | |
11166 | ||
2ef6ce06 RS |
11167 | 2011-03-21 Richard Sandiford <richard.sandiford@linaro.org> |
11168 | ||
11169 | * expr.h (prepare_operand): Move to... | |
11170 | * optabs.h (prepare_operand): ...here and change the insn code | |
11171 | parameter from "int" to "enum insn_code". | |
11172 | (insn_operand_matches): Declare. | |
11173 | * expr.c (init_expr_target): Use insn_operand_matches. | |
11174 | (compress_float_constant): Likewise. | |
11175 | * function.c (safe_insn_predicate, assign_parm_setup_reg): Likewise. | |
11176 | * optabs.c (can_compare_p, prepare_cmp_insn): Likewise. | |
11177 | (emit_cmp_and_jump_insn_1, gen_add2_insn, gen_add3_insn): Likewise. | |
c78dd519 UB |
11178 | (have_add2_insn, gen_sub2_insn, gen_sub3_insn, have_sub2_insn): |
11179 | Likewise. | |
2ef6ce06 RS |
11180 | (gen_cond_trap): Likewise. |
11181 | (prepare_operand): Likewise. Change icode to an insn_code. | |
11182 | (insn_operand_matches): New function. | |
11183 | * reload.c (find_reloads_address_1): Use insn_operand_matches. | |
11184 | * reload1.c (gen_reload): Likewise. | |
11185 | * targhooks.c (default_secondary_reload): Likewise. | |
11186 | ||
9e43ad68 UB |
11187 | 2011-03-21 Uros Bizjak <ubizjak@gmail.com> |
11188 | ||
9a96da32 UB |
11189 | * config/alpha/alpha.md (unspec): New define_c_enum. |
11190 | (unspecv): Ditto. | |
11191 | ||
11192 | 2011-03-21 Uros Bizjak <ubizjak@gmail.com> | |
11193 | ||
11194 | PR debug/48214 | |
9e43ad68 UB |
11195 | * config/alpha/alpha.c (alpha_pad_noreturn): Do not emit an unop |
11196 | between a call and its CALL_ARG_LOCATION note. | |
11197 | ||
31408f60 EB |
11198 | 2011-03-21 Eric Botcazou <ebotcazou@adacore.com> |
11199 | ||
11200 | * gimplify.c (gimplify_vla_decl): Set TREE_THIS_NOTRAP flag. | |
11201 | ||
11202 | 2011-03-21 Jakub Jelinek <jakub@redhat.com> | |
126e6609 JJ |
11203 | |
11204 | PR c/42544 | |
11205 | PR c/48197 | |
11206 | * c-common.c (shorten_compare): If primopN is first sign-extended | |
11207 | to opN and then zero-extended to result type, set primopN to opN. | |
11208 | ||
9dfd55f5 DJ |
11209 | 2011-03-21 Daniel Jacobowitz <dan@codesourcery.com> |
11210 | ||
11211 | * config/arm/unwind-arm.c (__gnu_unwind_pr_common): Correct test | |
11212 | for barrier handlers. | |
11213 | ||
f3c33d9d MM |
11214 | 2011-03-21 Michael Meissner <meissner@linux.vnet.ibm.com> |
11215 | ||
11216 | * config/rs6000/rs6000.md (UNSPEC_*, UNSPECV_*): Redefine all | |
11217 | UNSPEC constants to be in the unspec enumeration, and redefine | |
11218 | all UNSPECV constants to be in the unspecv enumeration, so that | |
11219 | dumps print which unspec/unspec_volatile this is. | |
11220 | * config/rs6000/vector.md (UNSPEC_*): Ditto. | |
11221 | * config/rs6000/paired.md (UNSPEC_*): Ditto. | |
11222 | * config/rs6000/vsx.md (UNSPEC_*): Ditto. | |
11223 | * config/rs6000/altivec.md (UNSPEC_*, UNSPECV_*): Ditto. | |
11224 | * config/rs6000/dfp.md (UNSPEC_*): Ditto. | |
11225 | ||
11226 | * config/rs6000/rs6000.md (UNSPECV_ISYNC, UNSPECV_LWSYNC): Rename | |
11227 | UNSPEC_ISYNC and UNSPEC_HWSYNC to UNSPECV_ISYNC and | |
11228 | UNSPECV_LWSYNC, since these are used as unspec_volatile. | |
11229 | * config/rs6000/sync.md (isync, lwsync): Ditto. | |
11230 | ||
ac43f774 RG |
11231 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
11232 | ||
11233 | * params.def (lto-min-partition): Fix typo. | |
11234 | ||
411cdbd8 RG |
11235 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
11236 | ||
11237 | PR c/47939 | |
11238 | * c-decl.c (grokdeclarator): Drop to the main variant only | |
11239 | for array types. Drop flag_gen_aux_info check. | |
11240 | ||
1cd9e416 RG |
11241 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
11242 | ||
11243 | PR translation/47911 | |
11244 | * params.def (lto-partitions): Fix typo. | |
11245 | (lto-min-partition): Fix wording. | |
11246 | ||
ada5ad67 AT |
11247 | 2011-03-21 Andreas Tobler <andreast@fgznet.ch> |
11248 | ||
11249 | * config/rs6000/t-freebsd: Remove duplication from file. | |
11250 | ||
f9613c9a RG |
11251 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
11252 | ||
11253 | PR middle-end/47661 | |
11254 | * gimple.c (is_gimple_condexpr): Use tree_could_throw_p. | |
11255 | ||
9bfbc1eb RG |
11256 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
11257 | ||
11258 | PR lto/48210 | |
11259 | * params.def (lto-partitions): Require at least 1 partition. | |
11260 | ||
a2268084 RO |
11261 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11262 | ||
11263 | * gthr-solaris.h: Remove. | |
11264 | * gthr.h (_SOLARIS_THREADS): Don't include gthr-solaris.h, remove. | |
11265 | * config/sol2.h (CPP_SUBTARGET_SPEC): Remove -threads support. | |
11266 | (LIB_SPEC): Likewise. | |
11267 | * config/sol2.opt (threads): Remove. | |
9e43ad68 | 11268 | * config.gcc (i[34567]86-*-solaris2*): Remove solaris threads support. |
a2268084 RO |
11269 | (sparc*-*-solaris2*): Likewise. |
11270 | * configure.ac (enable_threads): Enable solaris support. | |
11271 | * configure: Regenerate. | |
9e43ad68 | 11272 | * doc/invoke.texi (Option Summary, Solaris 2 Options): Remove -threads. |
a2268084 RO |
11273 | * doc/install.texi (Configuration, --enable-threads=lib): Remove |
11274 | solaris. | |
11275 | ||
c43d9a1b RO |
11276 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11277 | ||
11278 | * config.gcc: Obsolete *-*-solaris2.8*. | |
11279 | * doc/install.texi (Specific, *-*-solaris2*): Document it. | |
11280 | ||
084239f4 RO |
11281 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11282 | ||
11283 | PR bootstrap/48135 | |
11284 | * doc/install.texi (Prerequisites, Perl): Remove Glob.pm | |
11285 | reference. Solaris 8 perl works. | |
11286 | ||
64cadbe7 RO |
11287 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11288 | ||
11289 | PR bootstrap/48135 | |
11290 | * doc/install.texi (Prerequisites): Move jar etc. up. | |
11291 | Explain support library version requirements. | |
11292 | ||
eb975109 RO |
11293 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11294 | ||
11295 | PR bootstrap/48135 | |
11296 | * doc/install.texi (Prerequisites): Move Perl to build | |
11297 | requirements. Always necessary on Solaris 2 with Sun ld. | |
11298 | ||
8a509ffd RO |
11299 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11300 | ||
11301 | * doc/install.texi (Specific, alpha*-dec-osf5.1): Update for | |
11302 | binutils 2.21. | |
11303 | (Specific, i?86-*-solaris2.[89]): Likewise. | |
11304 | (Specific, i?86-*-solaris2.10): Likewise. | |
11305 | (Specific, mips-sgi-irix6): Likewise. | |
11306 | (Specific, *-*-solaris2*): Remove Sun Studio download URL. | |
11307 | Update for binutils 2.21. | |
11308 | ||
8fbc58a1 RO |
11309 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11310 | ||
11311 | * configure.ac (gcc_cv_lto_plugin): Fix typo. | |
11312 | Allow -fuse-linker-plugin for non-default plugin linker. | |
11313 | * configure: Regenerate. | |
11314 | ||
7e84ad0b NP |
11315 | 2011-03-21 Nicola Pero <nicola.pero@meta-innovation.com> |
11316 | ||
11317 | PR bootstrap/48167 | |
11318 | * gengtype.c (files_rules): Added rule for cp/parser.h. | |
11319 | ||
2f36e14b JJ |
11320 | 2011-03-21 Jakub Jelinek <jakub@redhat.com> |
11321 | ||
11322 | PR target/48213 | |
11323 | * config/s390/s390.c (s390_delegitimize_address): Don't call | |
11324 | lowpart_subreg if orig_x has BLKmode. | |
11325 | ||
62d784f7 KT |
11326 | 2011-03-21 Kai Tietz <ktietz@redhat.com> |
11327 | ||
11328 | PR target/12171 | |
9e43ad68 UB |
11329 | * doc/plugins.texi: Adjust documentation for plugin register_callback. |
11330 | * tree.h (attribute_spec): Add new member affects_type_identity. | |
11331 | * attribs.c (empty_attribute_table): Adjust attribute_spec | |
11332 | initializers. | |
62d784f7 KT |
11333 | * config/alpha/alpha.c: Likewise. |
11334 | * config/arc/arc.c: Likewise. | |
11335 | * config/arm/arm.c: Likewise. | |
11336 | * config/avr/avr.c: Likewise. | |
11337 | * config/bfin/bfin.c: Likewise. | |
11338 | * config/crx/crx.c: Likewise. | |
11339 | * config/darwin.h: Likewise. | |
11340 | * config/h8300/h8300.c: Likewise. | |
11341 | * config/i386/cygming.h: Likewise. | |
11342 | * config/i386/i386.c: Likewise. | |
11343 | * config/ia64/ia64.c: Likewise. | |
11344 | * config/m32c/m32c.c: Likewise. | |
11345 | * config/m32r/m32r.c: Likewise. | |
11346 | * config/m68hc11/m68hc11.c: Likewise. | |
11347 | * config/m68k/m68k.c: Likewise. | |
11348 | * config/mcore/mcore.c: Likewise. | |
11349 | * config/mep/mep.c: Likewise. | |
11350 | * config/microblaze/microblaze.c: Likewise. | |
11351 | * config/mips/mips.c: Likewise. | |
11352 | * config/rs6000/rs6000.c: Likewise. | |
11353 | * config/rx/rx.c: Likewise. | |
11354 | * config/sh/sh.c: Likewise. | |
11355 | * config/sol2.h: Likewise. | |
11356 | * config/sparc/sparc.c: Likewise. | |
11357 | * config/spu/spu.c: Likewise. | |
11358 | * config/stormy16/stormy16.c: Likewise. | |
11359 | * config/v850/v850.c: Likewise. | |
11360 | ||
54833ec0 CLT |
11361 | 2011-03-21 Chung-Lin Tang <cltang@codesourcery.com> |
11362 | ||
11363 | * simplify-rtx.c (simplify_binary_operation_1): Handle | |
11364 | (xor (and A B) C) case when B and C are both constants. | |
11365 | ||
14a41392 MX |
11366 | 2011-03-21 Mingjie Xing <mingjie.xing@gmail.com> |
11367 | ||
11368 | * tree-dfa.c (add_referenced_var): Fix typo in comment. | |
11369 | ||
806c3492 EB |
11370 | 2011-03-20 Eric Botcazou <ebotcazou@adacore.com> |
11371 | ||
11372 | PR bootstrap/48168 | |
11373 | * config/sparc/sparc.c (sparc_delegitimize_address): Add new pattern. | |
11374 | ||
65e0a0f3 JJ |
11375 | 2011-03-20 Jakub Jelinek <jakub@redhat.com> |
11376 | ||
11377 | PR rtl-optimization/48156 | |
11378 | * df-core.c (df_get_bb_dirty): Use df_lr if df_live is NULL, | |
11379 | assume df and df_lr are not NULL. | |
11380 | ||
b6a75dda RR |
11381 | 2011-03-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
11382 | ||
11383 | PR debug/48023 | |
11384 | * config/arm/arm.c (create_fix_barrier): Do not emit a minipool | |
11385 | between a call and its CALL_ARG_LOCATION note. | |
11386 | ||
5969b52d KK |
11387 | 2011-03-19 Kaz Kojima <kkojima@gcc.gnu.org> |
11388 | ||
11389 | PR debug/48178 | |
11390 | * config/sh/sh.c (find_barrier): Don't emit a constant pool | |
11391 | between a call and its corresponding CALL_ARG_LOCATION note. | |
11392 | ||
f773c2bd AS |
11393 | 2011-03-19 Anatoly Sokolov <aesok@post.ru> |
11394 | ||
11395 | * cfgcleanup.c (mark_effect): Use bitmap_set_range/bitmap_clear_range | |
11396 | instead of loop. Use HARD_REGISTER_NUM_P predicate. | |
11397 | * haifa-sched.c (setup_ref_regs): Ditto. | |
11398 | * caller-save.c (add_used_regs_1): Ditto. | |
11399 | * dse.c (look_for_hardregs): Ditto. | |
11400 | * df-problems.c (df_simulate_one_insn_forwards): Ditto. | |
11401 | * sched-rgn.c (check_live_1): Ditto. | |
11402 | ||
8bf872f9 JM |
11403 | 2011-03-18 Joseph Myers <joseph@codesourcery.com> |
11404 | ||
11405 | * c-decl.c (diagnose_mismatched_decls): Give an error for | |
11406 | redefining a typedef with variably modified type. | |
11407 | ||
ff8e2159 JM |
11408 | 2011-03-18 Joseph Myers <joseph@codesourcery.com> |
11409 | ||
11410 | * c-decl.c (grokfield): Don't allow typedefs for structures or | |
11411 | unions with no tag by default. | |
11412 | * doc/extend.texi (Unnamed Fields): Update. | |
11413 | ||
16cc4440 UB |
11414 | 2011-03-18 Uros Bizjak <ubizjak@gmail.com> |
11415 | ||
11416 | * config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2): | |
11417 | Rewrite using indirect functions. | |
11418 | (lwp_slwpcb): Ditto. | |
11419 | * config/i386/sse.md (avx_vextractf128<mode>): Ditto. | |
11420 | (avx_vinsertf128<mode>): Ditto. | |
11421 | ||
e101e12e AK |
11422 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
11423 | ||
11424 | * config/s390/s390.c (s390_delegitimize_address): Handle GOTOFF | |
11425 | unspecs. | |
11426 | ||
4627c7fb AK |
11427 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
11428 | ||
11429 | * config/s390/s390.c (s390_chunkify_start): Prevent literal pool | |
9e43ad68 | 11430 | splitting between a call and its corresponding CALL_ARG_LOCATION note. |
4627c7fb | 11431 | |
2d36b47f MK |
11432 | 2011-03-18 Maxim Kuvyrkov <maxim@codesourcery.com> |
11433 | ||
11434 | PR rtl-optimization/48170 | |
11435 | * gcse.c (hoist_code): Remove bogus asserts. | |
11436 | ||
2a3d7659 JL |
11437 | 2011-03-18 Georg-Johann Lay <avr@gjlay.de> |
11438 | ||
11439 | * ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost | |
11440 | computation for prologue/epilogue. | |
11441 | ||
34c3ef05 RO |
11442 | 2011-03-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11443 | ||
11444 | * Makefile.in (check-consistency): Remove. | |
11445 | ||
81f2b976 JJ |
11446 | 2011-03-18 Jakub Jelinek <jakub@redhat.com> |
11447 | ||
11448 | PR debug/48176 | |
11449 | * dwarf2out.c (dwarf2out_finish): Call output_aranges even when | |
11450 | arange_table_in_use is 0, but either text_section_used or | |
11451 | cold_text_section_used is true. Don't call it if | |
11452 | !info_section_emitted. | |
11453 | ||
68fd7765 AS |
11454 | 2011-03-18 Anatoly Sokolov <aesok@post.ru> |
11455 | ||
11456 | * config/avr/avr.h (RET_REGISTER, LIBCALL_VALUE, | |
11457 | FUNCTION_VALUE_REGNO_P): Remove. | |
11458 | * config/avr/avr-protos.h (avr_ret_register, avr_libcall_value): | |
11459 | Remove. | |
11460 | * config/avr/avr.c (avr_ret_register): Make static inline. | |
11461 | (avr_function_value_regno_p): New function. | |
11462 | (avr_libcall_value): Make static. Add 'func' argument. | |
11463 | (avr_function_value): Make static. Rename 'func' argument to | |
11464 | 'fn_decl_or_type', forward it to avr_libcall_value. Call | |
11465 | avr_ret_register function instead of RET_REGISTER macro. | |
11466 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
11467 | ||
b4ef8aac JM |
11468 | 2011-03-18 Jason Merrill <jason@redhat.com> |
11469 | ||
11470 | PR c++/23372 | |
11471 | * gimplify.c (gimplify_arg): Strip redundant TARGET_EXPR. | |
11472 | ||
09a52fc3 RG |
11473 | 2011-03-18 Richard Guenther <rguenther@suse.de> |
11474 | ||
11475 | * doc/install.texi (--enable-gold): Remove. | |
11476 | (--with-plugin-ld): Document. | |
11477 | * doc/invoke.texi (-fuse-linker-plugin): Clarify. | |
11478 | ||
2a3d7659 | 11479 | 2011-03-18 Andrew Pinski <pinskia@gmail.com> |
3bf162a0 AP |
11480 | |
11481 | PR middle-end/47790 | |
11482 | * expr.c (optimize_bitfield_assignment_op): Revamp to work | |
11483 | again after expansion changes. | |
11484 | ||
2abbb0fe CLT |
11485 | 2011-03-18 Chung-Lin Tang <cltang@codesourcery.com> |
11486 | ||
11487 | * combine.c (try_combine): Do simplification only call of | |
11488 | subst() on i2 even when i1 is present. Update comments. | |
11489 | ||
2efd0aa6 KK |
11490 | 2011-03-18 Kaz Kojima <kkojima@gcc.gnu.org> |
11491 | ||
11492 | * config/sh/sh.c (sh_delegitimize_address): Handle UNSPEC_SYMOFF | |
11493 | and UNSPEC_PCREL_SYMOFF. | |
11494 | ||
30a49b23 AK |
11495 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
11496 | ||
11497 | * config/s390/s390.md: Use define_c_enum for the unspec constant | |
11498 | definitions. | |
11499 | ||
419e1853 JJ |
11500 | 2011-03-18 Richard Henderson <rth@redhat.com> |
11501 | Jakub Jelinek <jakub@redhat.com> | |
11502 | ||
11503 | PR bootstrap/48161 | |
11504 | * expr.c (expand_expr_addr_expr_1): Use simplify_gen_binary | |
11505 | instead of gen_rtx_PLUS if EXPAND_SUM or EXPAND_INITIALIZER. | |
11506 | ||
37875856 L |
11507 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
11508 | ||
11509 | PR middle-end/47725 | |
11510 | * combine.c (cant_combine_insn_p): Don't check zero/sign | |
11511 | extended hard registers. | |
11512 | ||
76069764 L |
11513 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
11514 | ||
11515 | PR middle-end/47725 | |
11516 | * combine.c (cant_combine_insn_p): Check zero/sign extended | |
11517 | hard registers. | |
11518 | ||
24da2019 AS |
11519 | 2011-03-17 Anatoly Sokolov <aesok@post.ru> |
11520 | ||
11521 | * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
11522 | * config/v850/v850-protos.h (v850_output_addr_const_extra): Remove. | |
11523 | * config/v850/v850.c (v850_output_addr_const_extra): Make static. | |
11524 | Change return type to bool. | |
11525 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
11526 | ||
a82ff31f JJ |
11527 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
11528 | ||
8b29c87a JJ |
11529 | PR debug/48163 |
11530 | * var-tracking.c (prepare_call_arguments): If CALL target | |
11531 | is a non-SYMBOL_REF CONSTANT_P, just add that into the list as | |
11532 | pc instead of looking it up using cselib_lookup and use | |
11533 | Pmode for it if x has VOIDmode. | |
11534 | * dwarf2out.c (gen_subprogram_die): If also both first and | |
11535 | second CONCAT arguments are VOIDmode, use mode of CONCAT itself. | |
11536 | ||
a82ff31f JJ |
11537 | PR debug/48163 |
11538 | * function.c (assign_parms): For data.passed_pointer parms | |
11539 | use MEM of data.entry_parm instead of data.entry_parm itself | |
11540 | as DECL_INCOMING_RTL. | |
11541 | * dwarf2out.c (rtl_for_decl_location): Use DECL_INCOMING_RTL | |
11542 | also when passed and declared mode is the same, DECL_RTL | |
11543 | is a MEM with pseudo as address and DECL_INCOMING_RTL is | |
11544 | a MEM too. | |
11545 | ||
82ce305c JL |
11546 | 2011-03-16 Jeff Law <law@redhat.com> |
11547 | ||
11548 | PR rtl-optimization/37273 | |
11549 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
11550 | handle them like argument loads from stack slots. Do not double | |
11551 | count memory for memory constants and argument loads from stack slots. | |
11552 | ||
fe58e02b L |
11553 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
11554 | ||
11555 | PR debug/48160 | |
11556 | * var-tracking.c (prepare_call_arguments): Check SUBREG. | |
11557 | ||
6fc4dbc7 L |
11558 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
11559 | ||
11560 | PR target/48171 | |
11561 | * config/i386/i386.opt: Add Save to -mavx and -mfma. | |
11562 | ||
db3ed0b3 JJ |
11563 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
11564 | ||
8054a389 JJ |
11565 | PR bootstrap/48153 |
11566 | * dwarf2out.c (mem_loc_descriptor) <case ENTRY_VALUE>: Return NULL | |
11567 | if dwarf_strict. | |
11568 | (gen_subprogram_die): Don't add call_site DIEs if dwarf_strict. | |
11569 | Clear call_arg_locations and call_arg_loc_last always. | |
11570 | ||
db3ed0b3 JJ |
11571 | PR middle-end/48152 |
11572 | * var-tracking.c (prepare_call_arguments): If argument needs to be | |
11573 | passed by reference, adjust argtype and mode. | |
11574 | ||
1bce4ff3 RG |
11575 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
11576 | ||
11577 | PR middle-end/48134 | |
11578 | * tree-ssa.c (insert_debug_temp_for_var_def): If we propagated | |
11579 | a value make sure to fold the statement. | |
11580 | ||
7c71147d CLT |
11581 | 2011-03-17 Chung-Lin Tang <cltang@codesourcery.com> |
11582 | ||
11583 | PR target/43872 | |
11584 | * config/arm/arm.c (arm_get_frame_offsets): Adjust early | |
11585 | return condition with !cfun->calls_alloca. | |
11586 | ||
0e1ee172 RG |
11587 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
11588 | ||
11589 | PR bootstrap/48148 | |
11590 | * lto-cgraph.c (input_overwrite_node): Clear the abstract | |
11591 | origin for decls in other ltrans units. | |
11592 | (input_varpool_node): Likewise. | |
11593 | ||
f8bce518 RG |
11594 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
11595 | ||
11596 | PR middle-end/48165 | |
11597 | * tree-object-size.c (compute_object_offset): Properly return | |
11598 | the offset operand of MEM_REFs as sizetype. | |
11599 | ||
1b6fa860 JJ |
11600 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
11601 | ||
dabd47e7 JJ |
11602 | PR rtl-optimization/48141 |
11603 | * params.def (PARAM_MAX_DSE_ACTIVE_LOCAL_STORES): New. | |
11604 | * dse.c: Include params.h. | |
11605 | (active_local_stores_len): New variable. | |
11606 | (add_wild_read, dse_step1): Clear it when setting active_local_stores | |
11607 | to NULL. | |
11608 | (record_store, check_mem_read_rtx): Decrease it when removing | |
11609 | from the chain. | |
11610 | (scan_insn): Likewise. Increase it when adding to chain, if it | |
11611 | reaches PARAM_MAX_DSE_ACTIVE_LOCAL_STORES limit, set to 1 and | |
11612 | set active_local_stores to NULL before the addition. | |
11613 | * Makefile.in (dse.o): Depend on $(PARAMS_H). | |
11614 | ||
1b6fa860 JJ |
11615 | PR rtl-optimization/48141 |
11616 | * dse.c (record_store): If no positions are needed in an insn | |
11617 | that cannot be deleted, at least unchain it from active_local_stores. | |
11618 | ||
7b5cb7d6 DS |
11619 | 2011-03-16 Dodji Seketeli <dodji@redhat.com> |
11620 | ||
11621 | PR debug/47510 | |
11622 | * dwarf2out.c (strip_naming_typedef): Factorize out of ... | |
11623 | (lookup_type_die_strip_naming_typedef): ... here. | |
11624 | (get_context_die): Use it. | |
11625 | (gen_typedef_die): Add a DW_AT_{,MIPS_}linkage_name attribute to | |
11626 | the anonymous struct named by the naming typedef. | |
11627 | ||
585e9d9d L |
11628 | 2011-03-16 H.J. Lu <hongjiu.lu@intel.com> |
11629 | ||
11630 | PR target/48154 | |
11631 | * config/i386/i386.c (ix86_builtin_vectorized_function): Check | |
11632 | TARGET_ROUND for BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins. | |
11633 | ||
6261ab0e JL |
11634 | 2011-03-16 Jeff Law <law@redhat.com> |
11635 | ||
11636 | * tree-vrp.c (identify_jump_threads): Slightly simplify type | |
16cc4440 | 11637 | check for operands of conditional. Allow type to be a pointer. |
6261ab0e | 11638 | |
0b0081ec RG |
11639 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
11640 | ||
11641 | PR tree-optimization/48149 | |
11642 | * fold-const.c (fold_binary_loc): Fold | |
11643 | COMPLEX_EXPR <REALPART_EXPR <x>, IMAGPART_EXPR <x>>. | |
11644 | ||
64a3d647 RG |
11645 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
11646 | ||
11647 | PR tree-optimization/26134 | |
11648 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Handle rewriting | |
11649 | complex part accesses to REALPART_EXPR and IMAGPART_EXPR. | |
11650 | (non_rewritable_mem_ref_base): Handle complex type component | |
11651 | accesses, constrain offsets for vector and complex extracts | |
11652 | more properly. | |
11653 | ||
ef13324e RG |
11654 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
11655 | ||
11656 | PR tree-optimization/48146 | |
11657 | * tree-ssa-sink.c (sink_code_in_bb): Manually update virtual | |
11658 | operands avoiding the need for renaming. | |
11659 | ||
f0eddb90 RG |
11660 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
11661 | ||
11662 | * gimple-fold.c (maybe_fold_reference): Open-code relevant | |
11663 | constant folding. Move MEM_REF canonicalization first. | |
11664 | Rely on fold_const_aggregate_ref for initializer folding. | |
11665 | * tree-ssa-ccp.c (ccp_fold): Handle constant vector extracts. | |
11666 | ||
e42348b8 JJ |
11667 | 2011-03-16 Jakub Jelinek <jakub@redhat.com> |
11668 | ||
29f10e71 JJ |
11669 | PR middle-end/48136 |
11670 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure | |
11671 | arg0/arg1 or their arguments are always fold converted to matching | |
11672 | types. | |
11673 | ||
e42348b8 JJ |
11674 | * var-tracking.c (prepare_call_arguments): Add ATTRIBUTE_UNUSED |
11675 | to nargs. | |
11676 | ||
55b46574 RO |
11677 | 2011-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11678 | ||
11679 | PR lto/46944 | |
11680 | * configure.ac (gcc_cv_gld_major_version, gcc_cv_gld_minor): | |
11681 | Handle in-tree gold. | |
11682 | (ld_vers): Extract binutils version for gold. | |
11683 | (gcc_cv_ld_hidden): Handle gold here. | |
11684 | (gcc_cv_lto_plugin): Determine level of linker plugin support. | |
11685 | * configure: Regenerate. | |
11686 | * config.in: Regenerate. | |
11687 | * gcc.c: Only use LTO plugin if HAVE_LTO_PLUGIN > 0, reject | |
11688 | -fuse-linker-plugin otherwise. | |
11689 | (LINK_PLUGIN_SPEC): Define. Extract from LINK_COMMAND_SPEC. | |
11690 | (LINK_COMMAND_SPEC): Use it. | |
11691 | (main): Only look for LTOPLUGINSONAME if HAVE_LTO_PLUGIN > 0. | |
11692 | ||
2b1c5433 JJ |
11693 | 2011-03-16 Jakub Jelinek <jakub@redhat.com> |
11694 | ||
c2969d8e JJ |
11695 | * emit-rtl.c (try_split): Don't call copy_call_info debug hook. |
11696 | * calls.c: Remove debug.h include. | |
11697 | (emit_call_1): Don't call virtual_call_token debug hook. | |
11698 | * dwarf2out.c (debug_dcall_section, debug_vcall_section, | |
11699 | dcall_entry, vcall_entry, dcall_table, vcall_table, vcall_insn, | |
11700 | vcall_insn_table, DEBUG_DCALL_SECTION, DEBUG_VCALL_SECTION, | |
11701 | size_of_dcall_table, output_dcall_table, size_of_vcall_table, | |
11702 | output_vcall_table, dwarf2out_direct_call, vcall_insn_table_hash, | |
11703 | vcall_insn_table_eq, store_vcall_insn, lookup_vcall_insn, | |
11704 | dwarf2out_virtual_call_token, dwarf2out_copy_call_info, | |
11705 | dwarf2out_virtual_call): Remove. | |
11706 | (dwarf2_debug_hooks): Remove direct_call, virtual_call_token, | |
11707 | copy_call_info and virtual_call hooks. | |
11708 | (dwarf2out_init): Don't initialize vcall_insn_table, | |
11709 | debug_dcall_section and debug_vcall_section. | |
11710 | (prune_unused_types): Don't mark nodes from dcall_table. | |
11711 | (dwarf2out_finish): Don't output dcall or vcall tables. | |
11712 | * final.c (final_scan_insn): Don't call direct_call or | |
11713 | virtual_call debug hooks. | |
11714 | * debug.h (struct gcc_debug_hooks): Remove direct_call, | |
11715 | virtual_call_token, copy_call_info and virtual_call hooks. | |
11716 | (debug_nothing_uid): Remove prototype. | |
11717 | * sdbout.c (sdb_debug_hooks): Remove direct_call, virtual_call_token, | |
11718 | copy_call_info and virtual_call hooks. | |
11719 | * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. | |
11720 | * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Likewise. | |
11721 | * debug.c (do_nothing_debug_hooks): Likewise. | |
11722 | (debug_nothing_uid): Remove. | |
11723 | * doc/invoke.texi (-fenable-icf-debug): Remove. | |
11724 | * common.opt (-fenable-icf-debug): Likewise. | |
11725 | ||
325f5379 JJ |
11726 | * calls.c (emit_call_1): Set MEM_EXPR on call's MEM. |
11727 | * var-tracking.c (prepare_call_arguments): Use MEM_EXPR on | |
11728 | call's MEM. Handle functions returning aggregate through a hidden | |
11729 | first pointer. For virtual calls add clobbered pc to call arguments | |
11730 | chain. | |
11731 | * dwarf2out.c (gen_subprogram_die): Emit | |
11732 | DW_AT_GNU_call_site_target_clobbered if DW_AT_GNU_call_site_target | |
11733 | can't be emitted. | |
11734 | ||
a58a8e4b JJ |
11735 | PR debug/45882 |
11736 | * rtl.def (ENTRY_VALUE): Change format from "e" to "0". | |
11737 | * rtl.h (ENTRY_VALUE_EXP): Define. | |
11738 | * rtl.c (rtx_equal_p_cb, rtx_equal_p): Handle ENTRY_VALUE. | |
11739 | * cselib.c (rtx_equal_for_cselib_p, cselib_hash_rtx): Likewise. | |
11740 | * print-rtl.c (print_rtx): Likewise. | |
11741 | * gengtype.c (adjust_field_rtx_def): Likewise. | |
11742 | * var-tracking.c (vt_add_function_parameter): Adjust | |
11743 | gen_rtx_ENTRY_VALUE uses, use ENTRY_VALUE_EXP macro. | |
11744 | * dwarf2out.c (mem_loc_descriptor): Use ENTRY_VALUE_EXP macro. | |
11745 | * cfgexpand.c (expand_debug_expr): If a SSA_NAME without | |
11746 | partition is a default definition of a PARM_DECL, use ENTRY_VALUE | |
11747 | of its DECL_INCOMING_RTL if possible, or its DECL_RTL if set. | |
11748 | ||
2b1c5433 JJ |
11749 | * final.c (final_scan_insn): Handle NOTE_INSN_CALL_ARG_LOCATION. |
11750 | Call var_location debug hook even on CALL_INSNs. | |
11751 | (rest_of_clean_state): Don't print NOTE_INSN_CALL_ARG_LOCATION. | |
11752 | * rtl.def (ENTRY_VALUE): New. | |
11753 | * dwarf2out.c: Include cfglayout.h. | |
11754 | (dwarf_stack_op_name, size_of_loc_descr, output_loc_operands, | |
11755 | output_loc_operands_raw): Handle DW_OP_GNU_entry_value. | |
11756 | (struct call_arg_loc_node): New type. | |
11757 | (call_arg_locations, call_arg_loc_last, block_map, call_site_count, | |
11758 | tail_call_site_count): New variables. | |
11759 | (dwarf_tag_name): Handle DW_TAG_GNU_call_site and | |
11760 | DW_TAG_GNU_call_site_parameter. | |
11761 | (dwarf_attr_name): Handle DW_AT_GNU_call_site_value, | |
11762 | DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target, | |
11763 | DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call, | |
11764 | DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites | |
11765 | and DW_AT_GNU_all_source_call_sites. | |
11766 | (mem_loc_descriptor): Handle ENTRY_VALUE. | |
11767 | (add_src_coords_attributes): Don't add enything if | |
11768 | DECL_SOURCE_LOCATION is UNKNOWN_LOCATION. | |
11769 | (dwarf2out_abstract_function): Save and clear call_arg_location, | |
11770 | call_site_count and tail_call_site_count around dwarf2out_decl call. | |
11771 | (gen_call_site_die): New function. | |
11772 | (gen_subprogram_die): Emit DW_TAG_GNU_call_site DIEs for call sites. | |
11773 | (gen_lexical_block_die, gen_inlined_subroutine_die): Update block_map. | |
11774 | (dwarf2out_function_decl): Clear call_arg_locations, | |
11775 | call_arg_loc_last, set call_site_count and tail_call_site_count | |
11776 | to -1 and free block_map. | |
11777 | (dwarf2out_var_location): Handle NOTE_INSN_CALL_ARG_LOCATION and | |
11778 | CALL_INSNs. Add NOTE_DURING_CALL_P var location notes even when not | |
11779 | followed by any real instructions. | |
11780 | (dwarf2out_begin_function): Set call_site_count and | |
11781 | tail_call_site_count to 0. | |
11782 | (resolve_addr): If DW_AT_abstract_origin of DW_TAG_GNU_call_site | |
11783 | is dw_val_class_addr, attempt to look it up again, for DECL_EXTERNAL | |
11784 | attempt to force a DIE for it and worst case remove the attribute. | |
11785 | (resolve_one_addr): For TREE_CONSTANT_POOL_ADDRESS_P SYMBOL_REFs | |
11786 | check TREE_ASM_WRITTEN of DECL_INITIAL of the decl instead of | |
11787 | the decl itself. | |
11788 | * var-tracking.c: Include tm_p.h. | |
11789 | (vt_stack_adjustments): For calls call note_register_arguments. | |
11790 | (argument_reg_set): New variable. | |
11791 | (add_stores): For MO_VAL_SET of non-tracked regs from argument_reg_set | |
11792 | ensure the VALUE is resolved. | |
11793 | (call_arguments): New variable. | |
11794 | (prepare_call_arguments): New function. | |
11795 | (add_with_sets): For MO_CALL set u.loc from call_arguments and clear it. | |
11796 | (struct expand_loc_callback_data): Add ignore_cur_loc field. | |
11797 | (vt_expand_loc_callback): If ignore_cur_loc, don't look at cur_loc and | |
11798 | always use the best expression. | |
11799 | (vt_expand_loc): Add ignore_cur_loc argument. | |
11800 | (vt_expand_loc_dummy): Clear ignore_cur_loc field. | |
11801 | (emit_note_insn_var_location): Adjust vt_expand_loc callers. | |
11802 | (emit_notes_in_bb) <case MO_CALL>: Add NOTE_INSN_CALL_ARG_LOCATION | |
11803 | note for all calls. | |
11804 | (vt_add_function_parameter): Use cselib_lookup_from_insn. | |
11805 | If dv is a VALUE, enter into hash table also ENTRY_VALUE for the | |
11806 | argument. Don't call cselib_preserve_only_values and | |
11807 | cselib_reset_table. | |
11808 | (note_register_arguments): New function. | |
11809 | (vt_initialize): Compute argument_reg_set. Call | |
11810 | vt_add_function_parameters before processing basic blocks instead of | |
11811 | afterwards. For calls call prepare_call_arguments before calling | |
11812 | cselib_process_insn. | |
11813 | * print-rtl.c (print_rtx): Handle NOTE_INSN_CALL_ARG_LOCATION. | |
11814 | * Makefile.in (dwarf2out.o): Depend on $(CFGLAYOUT_H). | |
11815 | (var-tracking.o): Depend on $(TM_P_H). | |
11816 | * cfglayout.h (insn_scope): New prototype. | |
11817 | * gengtype.c (adjust_field_rtx_def): Handle NOTE_INSN_CALL_ARG_LOCATION. | |
11818 | * cfglayout.c (insn_scope): No longer static. | |
11819 | * insn-notes.def (CALL_ARG_LOCATION): New. | |
11820 | * calls.c (expand_call, emit_library_call_value_1): Put USEs for | |
11821 | MEM arguments into CALL_INSN_FUNCTION_USAGE unconditionally. | |
11822 | * integrate.c (set_block_origin_self, set_block_abstract_flags): Do | |
11823 | nothing for DECL_EXTERNAL BLOCK_VARS. | |
11824 | ||
9ef13bd0 AM |
11825 | 2011-03-16 Alan Modra <amodra@gmail.com> |
11826 | ||
11827 | PR target/45844 | |
11828 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Don't | |
11829 | create invalid offset address for vsx splat insn. | |
11830 | * config/rs6000/predicates.md (splat_input_operand): New. | |
11831 | * config/rs6000/vsx.md (vsx_splat_*): Use it. | |
11832 | ||
56b67510 XDL |
11833 | 2011-03-15 Xinliang David Li <davidxl@google.com> |
11834 | ||
11835 | PR c/47837 | |
11836 | * tree-ssa-uninit.c (pred_chain_length_cmp): New function. | |
11837 | (normalize_preds): New function. | |
11838 | (is_use_properly_guarded): Normalize def predicates. | |
11839 | ||
80fffdef RR |
11840 | 2011-03-15 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
11841 | ||
732f37c6 | 11842 | PR target/46788 |
80fffdef RR |
11843 | * config/arm/arm.md (arm_movtas_ze): Use 'L' instead of 'c' |
11844 | in the output template. | |
11845 | ||
930672ad RG |
11846 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
11847 | ||
11848 | PR middle-end/47650 | |
11849 | * tree-pretty-print.c (dump_function_declaration): Properly | |
11850 | dump unprototyped and varargs function types. | |
11851 | ||
c7ee7b45 RG |
11852 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
11853 | ||
11854 | PR tree-optimization/13954 | |
11855 | * tree-ssa-sccvn.c (vn_reference_lookup_3): Look through memcpy | |
11856 | and friends. | |
11857 | ||
b2ad5e37 RG |
11858 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
11859 | ||
11860 | PR tree-optimization/48037 | |
11861 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Rewrite vector | |
11862 | selects into BIT_FIELD_REFs. | |
11863 | (non_rewritable_mem_ref_base): Check if a MEM_REF is a | |
11864 | vector select. | |
11865 | ||
7ee93d4e JJ |
11866 | 2011-03-15 Jakub Jelinek <jakub@redhat.com> |
11867 | ||
11868 | PR tree-optimization/48129 | |
11869 | * builtins.c (fold_builtin_snprintf): Convert to type of | |
11870 | built_in_decls[BUILT_IN_SNPRINTF] retval instead of | |
11871 | implicit_built_in_decls[BUILT_IN_SNPRINTF] retval. | |
11872 | ||
e106efc7 RG |
11873 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
11874 | ||
11875 | PR tree-optimization/41490 | |
11876 | * tree-ssa-dce.c (propagate_necessity): Handle returns without | |
11877 | value but with VUSE. | |
11878 | * tree-ssa-operands.c (parse_ssa_operands): Add a VUSE on all | |
11879 | return statements. | |
11880 | * tree-ssa-sink.c (statement_sink_location): Fix store sinking. | |
11881 | * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Handle virtual PHIs. | |
11882 | * tree-tailcall.c (find_tail_calls): Ignore returns. | |
11883 | ||
17dea42f RG |
11884 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
11885 | ||
11886 | PR middle-end/48031 | |
11887 | * fold-const.c (fold_indirect_ref_1): Do not create new variable-sized | |
11888 | or variable-indexed array accesses when in gimple form. | |
11889 | ||
01c77a60 RG |
11890 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
11891 | ||
16cc4440 | 11892 | * config/i386/i386.c (ix86_emit_swdivsf): Implement more efficiently. |
01c77a60 | 11893 | |
77b0791e AM |
11894 | 2011-03-15 Alan Modra <amodra@gmail.com> |
11895 | ||
11896 | PR target/48032 | |
11897 | * config/rs6000/rs6000.c (offsettable_ok_by_alignment): Do not | |
11898 | presume symbol_refs without a symbol_ref_decl are suitably | |
11899 | aligned, nor other trees we may see here. Handle anchor symbols. | |
11900 | (legitimate_constant_pool_address_p): Comment. Add mode param. | |
11901 | Check cmodel=medium addresses. Adjust all calls. | |
11902 | (rs6000_emit_move): Don't call offsettable_ok_by_alignment on | |
11903 | creating cmodel=medium optimized access to locals. | |
11904 | * config/rs6000/constraints.md (R): Pass QImode to | |
11905 | legitimate_constant_pool_address_p. | |
11906 | * config/rs6000/predicates.md (input_operand): Pass mode to | |
11907 | legitimate_constant_pool_address_p. | |
11908 | * config/rs6000/rs6000-protos.h (legitimate_constant_pool_address_p): | |
11909 | Update prototype. | |
11910 | ||
35f61ba4 MM |
11911 | 2011-03-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
11912 | ||
11913 | PR target/48053 | |
11914 | * config/rs6000/rs6000.md (movdi split for 32-bit): Don't split up | |
11915 | 64-bit constants being loaded into registers other than GPRs such | |
11916 | as loading 0 into a VSX register. | |
11917 | ||
07332e6d RO |
11918 | 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11919 | ||
16cc4440 | 11920 | * config/sol2.c (solaris_assemble_visibility): Remove obsolete URLs. |
07332e6d | 11921 | |
de888d90 JJ |
11922 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
11923 | ||
ba3ceb2d JJ |
11924 | PR middle-end/47917 |
11925 | * builtins.c (fold_builtin_snprintf): New function. | |
11926 | (fold_builtin_3): Call it for BUILT_IN_SNPRINTF. | |
11927 | (fold_builtin_4): Likewise. | |
11928 | ||
2e64f8b8 JJ |
11929 | PR middle-end/38878 |
11930 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Add | |
11931 | STRIP_NOPS on arg0 and arg1. When optimizing X +- C == X | |
11932 | and C - X == X also strip nops from +/-/p+ operand. | |
11933 | When optimizing -X == C, fold C to arg0's type. | |
11934 | ||
de888d90 JJ |
11935 | PR debug/47946 |
11936 | * dwarf2out.c (add_bit_offset_attribute): If bit_offset is negative, | |
11937 | emit it as add_AT_int instead of add_AT_unsigned. | |
11938 | ||
11939 | 2011-03-14 Tom Tromey <tromey@redhat.com> | |
f4e749b4 TT |
11940 | |
11941 | * unwind-dw2.c: Include sys/sdt.h if it exists. | |
11942 | (_Unwind_DebugHook): Use STAP_PROBE2. | |
11943 | * config.in, configure: Rebuild. | |
11944 | * configure.ac: Check for sys/sdt.h. | |
11945 | ||
d34abfd2 UB |
11946 | 2011-03-14 Uros Bizjak <ubizjak@gmail.com> |
11947 | ||
11948 | * config/i386/i386.md (ROUND_FLOOR): New constant. | |
11949 | (ROUND_CEIL): Ditto. | |
11950 | (ROUND_TRUNC): Ditto. | |
11951 | (ROUND_MXCSR): Ditto. | |
11952 | (ROUND_NO_EXC): Ditto. | |
11953 | (rint<mode>2): Use new defines instead of numerical constants. | |
11954 | (floor<mode>2): Ditto. | |
11955 | (ceil<mode>2): Ditto. | |
11956 | (btrunc<mode>2): Ditto. | |
11957 | * config/i386/i386-builtin-types.def: Define ROUND function type | |
11958 | aliases. | |
11959 | * config/i386/i386.c (enum ix86_builtins): Add | |
11960 | IX86_BUILTIN_{FLOOR,CEIL,TRUNC,RINT}{PS,PD}{,256} defines. | |
11961 | (struct builtin_description): Add | |
11962 | __builtin_ia32_{floor,ceil,trunc,rint}{pd,ps}{,256} descriptions. | |
11963 | (ix86_expand_sse_round): New static function. | |
11964 | (ix86_expand_args_builtin): Call ix86_expand_sse_round for ROUND | |
11965 | function types. | |
11966 | (ix86_builtin_vectorized_function): Handle | |
11967 | BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins. | |
11968 | ||
87f9e23d TT |
11969 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
11970 | ||
11971 | * c-parser.c (c_parser_asm_string_literal): Clear | |
11972 | warn_overlength_strings. | |
11973 | ||
b3ab9ea2 TT |
11974 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
11975 | ||
11976 | * c-parser.c (disable_extension_diagnostics): Save | |
11977 | warn_overlength_strings. | |
11978 | (restore_extension_diagnostics): Restore warn_overlength_strings. | |
11979 | ||
6bd73dd8 JJ |
11980 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
11981 | ||
11982 | * BASE-VER: Change to 4.7.0. | |
11983 | ||
7f4d6e1b RG |
11984 | 2011-03-14 Richard Guenther <rguenther@suse.de> |
11985 | ||
11986 | PR middle-end/48098 | |
11987 | * tree.c (build_vector_from_val): Adjust assert to requirements | |
11988 | and reality. | |
11989 | ||
c6104ef1 JJ |
11990 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
11991 | ||
11992 | PR bootstrap/48102 | |
d34abfd2 | 11993 | * graphite-cloog-compat.h (build_cloog_prog): Remove STATE parameter. |
c6104ef1 | 11994 | |
dfa95e19 AT |
11995 | 2011-03-14 Andreas Tobler <andreast@fgznet.ch> |
11996 | ||
f60c2554 | 11997 | * config/rs6000/freebsd.h (RELOCATABLE_NEEDS_FIXUP): Define in |
dfa95e19 AT |
11998 | terms of target_flags_explicit. Adjust copyright year. |
11999 | ||
12000 | * config.gcc: Add FreeBSD PowerPC soft-float libgcc bits. | |
12001 | * config/rs6000/t-freebsd: New file. Add override for | |
12002 | LIB2FUNCS_EXTRA. | |
12003 | ||
bb322018 CD |
12004 | 2011-03-13 Chris Demetriou <cgd@google.com> |
12005 | ||
12006 | * doc/invoke.texi (-fdiagnostics-show-option): Replace with... | |
12007 | (-fno-diagnostics-show-option): this, to reflect current default. | |
12008 | (-Werror=): Update text about -fno-diagnostics-show-option. | |
12009 | ||
12b1c80b PB |
12010 | 2011-03-12 Peter Bergner <bergner@vnet.ibm.com> |
12011 | ||
12012 | PR target/48053 | |
12013 | * config/rs6000/predicates.md (easy_vector_constant_add_self, | |
12014 | easy_vector_constant_msb): Do not handle V2DImode and V2DFmode. | |
12015 | * config/rs6000/rs6000.c (const_vector_elt_as_int): Add assert that | |
12016 | mode is not V2DImode or V2DFmode. | |
12017 | (vspltis_constant): Do not handle V2DImode and V2DFmode. | |
12018 | (rs6000_expand_vector_init): Replace copy_to_reg with copy_to_mode_reg. | |
12019 | * config/rs6000/rs6000.md (movdi_internal32): Allow setting VSX | |
12020 | registers to 0. | |
12021 | (movdi_internal64): Likewise. | |
12022 | ||
57d598f7 SP |
12023 | 2011-03-12 Sebastian Pop <sebastian.pop@amd.com> |
12024 | ||
12025 | PR tree-optimization/47127 | |
12026 | * graphite-clast-to-gimple.c (build_cloog_prog): Removed state | |
12027 | parameter. | |
12028 | (set_cloog_options): Same. | |
12029 | (scop_to_clast): Same. | |
12030 | (print_clast_stmt): Do not call cloog_state_malloc and | |
12031 | cloog_state_free. | |
12032 | (print_generated_program): Same. | |
12033 | (gloog): Same. | |
12034 | * graphite-clast-to-gimple.h (cloog_state): Declared. | |
12035 | (scop_to_clast): Adjust declaration. | |
12036 | * graphite.c (cloog_state): Defined here. | |
12037 | (graphite_initialize): Call cloog_state_malloc. | |
12038 | (graphite_finalize): Call cloog_state_free. | |
12039 | ||
f231b5ff JM |
12040 | 2011-03-11 Jason Merrill <jason@redhat.com> |
12041 | ||
12042 | * attribs.c (lookup_attribute_spec): Take const_tree. | |
12043 | * tree.h: Adjust. | |
12044 | ||
6a4e2bd5 JM |
12045 | 2011-03-11 Joseph Myers <joseph@codesourcery.com> |
12046 | ||
12047 | * config/sparc/sparc.c (sparc_option_override): Use | |
12048 | PROCESSOR_NIAGARA2 not PROCESSOR_NIAGARA for "niagara2". | |
12049 | ||
a758fd67 RG |
12050 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
12051 | ||
12052 | PR tree-optimization/48067 | |
12053 | * tree-ssa-math-opts.c (convert_mult_to_fma): Verify the | |
12054 | multiplication result will be only used once on the target | |
12055 | stmt. | |
12056 | ||
03dfda54 RG |
12057 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
12058 | ||
12059 | * doc/invoke.texi (max-inline-insns-single): Adjust default value. | |
12060 | ||
5f11a50a RG |
12061 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
12062 | ||
12063 | PR lto/48073 | |
12064 | * tree.c (find_decls_types_r): Do not walk types only reachable | |
12065 | from IDENTIFIER_NODEs. | |
12066 | ||
4074f163 JJ |
12067 | 2011-03-11 Jakub Jelinek <jakub@redhat.com> |
12068 | ||
12069 | PR middle-end/48044 | |
12070 | * ipa.c (cgraph_remove_unreachable_nodes): Enqueue | |
12071 | all vnode->force_output nodes as needed. | |
12072 | ||
30f7cdcd JM |
12073 | 2011-03-11 Jason Merrill <jason@redhat.com> |
12074 | ||
12075 | PR c++/48069 | |
12076 | * tree.c (type_hash_eq): Use COMPLETE_TYPE_P, not | |
12077 | COMPLETE_OR_UNBOUND_ARRAY_TYPE_P. | |
12078 | ||
62ecfeb8 MJ |
12079 | 2011-03-11 Martin Jambor <mjambor@suse.cz> |
12080 | ||
12081 | * cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of | |
12082 | cgraph_node. | |
12083 | ||
e89e03ab JJ |
12084 | 2011-03-11 Jakub Jelinek <jakub@redhat.com> |
12085 | ||
12086 | PR tree-optimization/48063 | |
12087 | * ipa-inline.c (cgraph_decide_inlining): Don't try to | |
12088 | inline functions called once if !tree_can_inline_p (node->callers). | |
12089 | ||
efbe978b | 12090 | 2011-03-11 Chen Liqin <liqin.gcc@gmail.com> |
9d6193a7 | 12091 | |
efbe978b EB |
12092 | * config.gcc (score-*-elf): Add extra_parts .., update tmake_file and |
12093 | extra_objs. | |
9d6193a7 CL |
12094 | * config/score/score3.c: Delete. |
12095 | * config/score/score3.h: Delete. | |
12096 | * config/score/mul-div.S: Delete. | |
12097 | * config/score/sfp-machine.h: Add new file. | |
12098 | * config/score/constraints.md: Add new file. | |
12099 | * config/score/t-score-softfp: Add new file. | |
efbe978b | 12100 | * config/score/t-score-elf: Remove score3.o, do not generate multilib. |
9d6193a7 CL |
12101 | * config/score/score7.c (score7_const_ok_for_letter_p): Delete. |
12102 | (score7_extra_constraint): Delete. | |
efbe978b | 12103 | (score7_option_override): Remove unused code. |
9d6193a7 CL |
12104 | * config/score/score.c: Remove score3 and score5 define and code. |
12105 | * config/score/score.h: Remove score3 and score5 define and code. | |
efbe978b | 12106 | * config/score/score.md: Remove score3 template and unusual insn. |
9d6193a7 CL |
12107 | * config/score/score.opt: Remove score3 and score5 options. |
12108 | ||
5de27cca JDA |
12109 | 2011-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
12110 | ||
12111 | * config/pa/pa-hpux10.h (TARGET_OS_CPP_BUILTINS): Define _REENTRANT | |
12112 | when _HPUX_SOURCE is defined. | |
12113 | (LIB_SPEC): Use -lc instead of -lc_r when -threads is specified. | |
12114 | ||
18d92053 JM |
12115 | 2011-03-10 Jason Merrill <jason@redhat.com> |
12116 | ||
12117 | PR c++/48029 | |
12118 | * stor-layout.c (layout_type): Don't set structural equality | |
12119 | on arrays of incomplete type. | |
12120 | * tree.c (type_hash_eq): Handle comparing them properly. | |
12121 | ||
67a2f76d JJ |
12122 | 2011-03-10 Jakub Jelinek <jakub@redhat.com> |
12123 | ||
12124 | PR debug/48043 | |
18d92053 | 12125 | * config/s390/s390.c (s390_delegitimize_address): Make sure the |
67a2f76d JJ |
12126 | result mode matches original rtl mode. |
12127 | ||
d845b2f9 NC |
12128 | 2011-03-10 Nick Clifton <nickc@redhat.com> |
12129 | ||
12130 | * config/rx/rx.md (bitset_in_memory, bitclr_in_memory: Fix timings. | |
39242686 | 12131 | (andsi3, andsi3_flags): Fix timings for three operand alternative. |
d845b2f9 | 12132 | |
db7ec035 JJ |
12133 | 2011-03-09 Jakub Jelinek <jakub@redhat.com> |
12134 | ||
12135 | PR rtl-optimization/47866 | |
12136 | * expr.c (store_field): If MEM_SCALAR_P (target), don't use | |
12137 | MEM_SET_IN_STRUCT_P (to_rtx, 1), just set MEM_IN_STRUCT_P (to_rtx) | |
12138 | if target wasn't scalar. | |
12139 | * function.c (assign_stack_temp_for_type): Assert that neither | |
12140 | MEM_SCALAR_P nor MEM_IN_STRUCT_P is set previously, set either | |
12141 | MEM_IN_STRUCT_P or MEM_SCALAR_P instead of using MEM_SET_IN_STRUCT_P | |
12142 | macro. | |
12143 | * rtl.h (MEM_SET_IN_STRUCT_P): Removed. | |
12144 | ||
5d304e47 AK |
12145 | 2011-03-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
12146 | ||
12147 | * config/s390/s390-protos.h (s390_label_align): New prototype. | |
12148 | * config/s390/s390.c (s390_label_align): New function. | |
12149 | * config/s390/s390.h (LABEL_ALIGN): New target macro definition. | |
12150 | ||
93b826f0 MM |
12151 | 2011-03-08 Michael Meissner <meissner@linux.vnet.ibm.com> |
12152 | ||
12153 | PR target/47755 | |
12154 | * config/rs6000/rs6000.c (easy_altivec_constant): Correctly handle | |
12155 | V2DI/V2DF constants. Only all 0's or all 1's are easy. | |
12156 | (output_vec_const_move): Ditto. | |
12157 | ||
ef78aed6 AS |
12158 | 2011-03-08 Anatoly Sokolov <aesok@post.ru> |
12159 | ||
12160 | * config/mips/mips.h (PREFERRED_RELOAD_CLASS): Remove macro. | |
12161 | * config/mips/mips-protos.h (mips_preferred_reload_class): Remove. | |
12162 | * config/mips/mips.c (mips_preferred_reload_class): Make static. | |
12163 | Change 'rclass' argument and result type to reg_class_t. | |
12164 | (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
12165 | ||
5f892aa0 GJL |
12166 | 2011-03-08 Georg-Johann Lay <avr@gjlay.de> |
12167 | ||
9e43ad68 UB |
12168 | * config/avr/avr.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. |
12169 | * config/avr/avr.c (TARGET_REGISTER_MOVE_COST) | |
12170 | (TARGET_MEMORY_MOVE_COST): Define. | |
12171 | (avr_register_move_cost, avr_memory_move_cost): New Functions. | |
5f892aa0 | 12172 | |
32bd2409 JJ |
12173 | 2011-03-08 Jakub Jelinek <jakub@redhat.com> |
12174 | ||
530a4800 JJ |
12175 | PR debug/47881 |
12176 | * ira.c (ira): Call df_analyze again if delete_trivially_dead_insns | |
12177 | removed anything. | |
12178 | ||
32bd2409 JJ |
12179 | PR tree-optimization/48022 |
12180 | * fold-const.c (fold_comparison): Don't call fold_overflow_warning | |
12181 | for EQ/NE_EXPR. | |
12182 | ||
c7148991 JJ |
12183 | 2011-03-07 Jakub Jelinek <jakub@redhat.com> |
12184 | ||
12185 | PR debug/47991 | |
12186 | * var-tracking.c (find_use_val): Return NULL for | |
12187 | cui->sets && cui->store_p BLKmode MEMs. | |
12188 | ||
43070a6e AS |
12189 | 2011-03-07 Anatoly Sokolov <aesok@post.ru> |
12190 | ||
12191 | * config/stormy16/stormy16.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): | |
12192 | Remove. | |
12193 | * config/stormy16/stormy16-protos.h (xstormy16_print_operand, | |
12194 | xstormy16_print_operand_address): Remove. | |
12195 | * config/stormy16/stormy16.c (xstormy16_print_operand, | |
12196 | xstormy16_print_operand_address): Make static. | |
12197 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
12198 | ||
efbe978b | 12199 | 2011-03-07 Pat Haugen <pthaugen@us.ibm.com> |
79eefb0d PH |
12200 | |
12201 | PR target/47862 | |
12202 | * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Define. | |
12203 | * config/rs6000/e500.h (HARD_REGNO_CALLER_SAVE_MODE): Undefine | |
12204 | before definition. | |
12205 | ||
cec8ac0b ZD |
12206 | 2011-03-07 Zdenek Dvorak <ook@ucw.cz> |
12207 | ||
12208 | PR bootstrap/48000 | |
12209 | * cfgloopmanip.c (fix_bb_placements): Return immediately | |
12210 | if FROM is BASE_LOOP's header. | |
12211 | ||
59527282 PW |
12212 | 2011-03-07 Paul Wögerer <paul_woegerer@mentor.com> |
12213 | ||
12214 | * gimplify.c (gimplify_function_tree): Fix building calls | |
12215 | to __builtin_return_address. | |
12216 | ||
617718f7 AM |
12217 | 2011-03-07 Alan Modra <amodra@gmail.com> |
12218 | ||
12219 | * config/rs6000/linux.h (TARGET_ASM_FILE_END): Don't define. | |
12220 | * config/rs6000/linux64.h (TARGET_ASM_FILE_END): Don't define. | |
12221 | * config/rs6000/sysv4.h (TARGET_ASM_FILE_END): Define. | |
12222 | * config/rs6000/rs6000-protos.h (init_cumulative_args): Add fndecl and | |
12223 | return_mode args. | |
12224 | * config/rs6000/rs6000.h (CUMULATIVE_ARGS): Add "escapes". | |
12225 | (INIT_CUMULATIVE_ARGS): Pass FNDECL, VOIDmode. | |
12226 | (INIT_CUMULATIVE_INCOMING_ARGS): Pass current_function_decl, VOIDmode. | |
12227 | (INIT_CUMULATIVE_LIBCALL_ARGS): Pass NULL_TREE, MODE. | |
12228 | * config/rs6000/rs6000.c | |
12229 | (rs6000_elf_end_indicate_exec_stack): Rename to.. | |
12230 | (rs6000_elf_file_end): ..this. Only call file_end_indicate_exec_stack | |
12231 | for POWERPC_LINUX. Move code emitting .gnu_attribute to here, from.. | |
12232 | (rs6000_file_start): ..here. | |
12233 | (rs6000_passes_float, rs6000_passes_vector, rs6000_returns_struct): New | |
12234 | file scope variables. | |
12235 | (call_ABI_of_interest): New function. | |
12236 | (init_cumulative_args): Set above vars when function return value | |
12237 | is a float, vector, or small struct. | |
12238 | (rs6000_function_arg_advance_1): Likewise for function args. | |
12239 | (rs6000_va_start): Set rs6000_passes_float if variable arg function | |
12240 | references float args. | |
12241 | ||
38528d50 MX |
12242 | 2011-03-07 Mingjie Xing <mingjie.xing@gmail.com> |
12243 | ||
12244 | * doc/cfg.texi: Remove "See" before @ref. | |
12245 | * doc/invoke.texi: Likewise. | |
12246 | ||
f42cf4f4 JM |
12247 | 2011-03-05 Jason Merrill <jason@redhat.com> |
12248 | ||
12249 | * doc/invoke.texi (C++ Dialect Options): Document ABI v5. | |
12250 | ||
804a304d AG |
12251 | 2011-03-05 Anthony Green <green@moxielogic.com> |
12252 | ||
12253 | * config.gcc (moxie-*-elf): Add newlib-stdint.h to tmfile. | |
12254 | ||
634ee309 ZD |
12255 | 2011-03-05 Zdenek Dvorak <ook@ucw.cz> |
12256 | ||
12257 | PR rtl-optimization/47899 | |
12258 | * cfgloopmanip.c (fix_bb_placements): Fix first argument | |
12259 | to flow_loop_nested_p when moving the loop upward. | |
12260 | ||
6fe471c8 RE |
12261 | 2011-03-05 Richard Earnshaw <rearnsha@arm.com> |
12262 | ||
12263 | PR target/47719 | |
12264 | * arm.md (movhi_insn_arch4): Accept any immediate constant. | |
12265 | ||
cc58ceee JJ |
12266 | 2011-03-05 Jakub Jelinek <jakub@redhat.com> |
12267 | ||
12268 | PR tree-optimization/47967 | |
12269 | * ipa-cp.c (build_const_val): Return NULL instead of creating | |
12270 | VIEW_CONVERT_EXPR for mismatching sizes. | |
12271 | (ipcp_create_replace_map): Return NULL if build_const_val failed. | |
12272 | (ipcp_insert_stage): If ipcp_create_replace_map returns NULL, | |
12273 | give up on versioning. | |
12274 | ||
ea868305 AM |
12275 | 2011-03-05 Alan Modra <amodra@gmail.com> |
12276 | ||
12277 | PR target/47986 | |
12278 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle | |
12279 | full cmodel medium/large lo_sum + high addresses. | |
12280 | ||
bc6ce334 AK |
12281 | 2011-03-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
12282 | ||
12283 | * config/s390/s390.c (s390_decompose_address): Reject non-literal | |
12284 | pool references in UNSPEC_LTREL_OFFSET. | |
12285 | ||
87e7b310 JH |
12286 | 2011-03-04 Jan Hubicka <jh@suse.cz> |
12287 | ||
12288 | PR lto/47497 | |
12289 | * lto-symtab.c (lto_cgraph_replace_node): Do not set thunk.alias. | |
12290 | (lto_symtab_merge_cgraph_nodes_1): Update thunk.alias pointers here. | |
d34abfd2 UB |
12291 | * cgraph.h (cgraph_same_body_alias, cgraph_add_thunk): |
12292 | Add node pointers. | |
87e7b310 JH |
12293 | * cgraph.c (cgraph_same_body_alias_1, cgraph_same_body_alias, |
12294 | cgraph_add_thunk): Add node pointers. | |
12295 | * lto-cgraph.c (lto_output_node): Verify that thunks&aliases are | |
12296 | associated to right node. | |
12297 | (input_node): Update use of cgraph_same_body_alias | |
12298 | and cgraph_add_thunk. | |
12299 | ||
d9c64246 CF |
12300 | 2011-03-04 Changpeng Fang <changpeng.fang@amd.com> |
12301 | ||
12302 | * config/i386/i386.opt (mprefer-avx128): New flag. | |
d34abfd2 UB |
12303 | * config/i386/i386.c (ix86_preferred_simd_mode): Prefer 128-bit AVX |
12304 | modes when the flag -mprefer-avx128 is on. | |
d9c64246 | 12305 | |
08707076 RS |
12306 | 2011-03-04 Richard Sandiford <richard.sandiford@linaro.org> |
12307 | ||
12308 | * dwarf2out.c (compare_loc_operands): Fix address handling. | |
12309 | ||
52517c81 AM |
12310 | 2011-03-04 Alan Modra <amodra@gmail.com> |
12311 | ||
12312 | * tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment. | |
12313 | ||
b147c5b9 RG |
12314 | 2011-03-04 Richard Guenther <rguenther@suse.de> |
12315 | ||
12316 | PR middle-end/47968 | |
12317 | * expmed.c (extract_bit_field_1): Prefer vector modes that | |
12318 | vec_extract patterns can handle. | |
12319 | ||
8750672f RG |
12320 | 2011-03-04 Richard Guenther <rguenther@suse.de> |
12321 | ||
12322 | PR middle-end/47975 | |
12323 | * optabs.c (optab_for_tree_code): Do not use VECTOR_MODE_P. | |
12324 | ||
9eac0f2a RH |
12325 | 2011-03-04 Richard Henderson <rth@redhat.com> |
12326 | ||
12327 | * explow.c (emit_stack_save): Remove 'after' parameter. | |
12328 | (emit_stack_restore): Likewise. | |
12329 | * expr.h: Update to match. | |
12330 | * builtins.c, calls.c, stmt.c: Likewise. | |
12331 | * config/alpha/alpha.md, config/avr/avr.md: Likewise. | |
12332 | * config/mips/mips.md, config/pa/pa.md, config/vax/vax.md: Likewise. | |
12333 | * function.c (expand_function_end): Insert the emit_stack_save | |
12334 | sequence before parm_birth_insn instead of after. | |
12335 | ||
dfee1406 UB |
12336 | 2011-03-03 Uros Bizjak <ubizjak@gmail.com> |
12337 | ||
12338 | * config/i386/sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX. | |
12339 | (ssse3_pmaddubsw128): Ditto. | |
12340 | (ssse3_pmaddubsw): Ditto. | |
12341 | ||
f1d4c3de SE |
12342 | 2011-03-03 Steve Ellcey <sje@cup.hp.com> |
12343 | ||
12344 | * config/ia64/t-hpux: Add $(srcdir)/unwind-c.c to LIB2ADDEH | |
12345 | ||
71f3a3f5 JJ |
12346 | 2011-03-03 Jakub Jelinek <jakub@redhat.com> |
12347 | ||
423ed416 JJ |
12348 | PR c/47963 |
12349 | * gimplify.c (omp_add_variable): Only call omp_notice_variable | |
12350 | on TYPE_SIZE_UNIT if it is a DECL. | |
12351 | ||
71f3a3f5 JJ |
12352 | PR debug/47283 |
12353 | * cfgexpand.c (expand_debug_expr) <case MEM_REF>: If MEM_REF | |
12354 | first operand is not is_gimple_mem_ref_addr, try to fold it. | |
12355 | If the operand still isn't is_gimple_mem_ref_addr, clear | |
12356 | MEM_EXPR on op0. | |
12357 | ||
4b1a5c0d RG |
12358 | 2011-03-03 Richard Guenther <rguenther@suse.de> |
12359 | ||
12360 | PR middle-end/47283 | |
12361 | * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Make code | |
12362 | match comment. | |
12363 | (refs_may_alias_p_1): For release branches return true if | |
12364 | we are confused by our input. | |
12365 | ||
b46616fd AK |
12366 | 2011-03-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
12367 | ||
12368 | * config/s390/s390.c (s390_function_value): Rename to ... | |
12369 | (s390_function_and_libcall_value): ... this. | |
12370 | (s390_function_value): New function. | |
12371 | (s390_libcall_value): New function. | |
dfee1406 | 12372 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Define target hooks. |
b46616fd AK |
12373 | * config/s390/s390.h (FUNCTION_VALUE, LIBCALL_VALUE): Remove |
12374 | target macro definitions. | |
12375 | * config/s390/s390-protos.h (s390_function_value): Remove prototype. | |
12376 | ||
46d8fabb JM |
12377 | 2011-03-02 Joseph Myers <joseph@codesourcery.com> |
12378 | ||
12379 | * config/i386/freebsd64.h (CC1_SPEC): Define. | |
12380 | * config/i386/linux64.h (CC1_SPEC): Define. | |
12381 | * config/i386/x86-64.h (CC1_SPEC): Don't define. | |
12382 | ||
6b1ce545 AS |
12383 | 2011-03-02 Anatoly Sokolov <aesok@post.ru> |
12384 | ||
12385 | * config/stormy16/stormy16.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): | |
12386 | Remove. | |
12387 | * config/stormy16/stormy16.c: Include reload.h. | |
12388 | (xstormy16_memory_move_cost): New function. | |
12389 | (TARGET_MEMORY_MOVE_COST): Define. | |
12390 | ||
34161e98 RS |
12391 | 2011-03-02 Richard Sandiford <richard.sandiford@linaro.org> |
12392 | ||
12393 | PR rtl-optimization/47925 | |
12394 | * cse.c (count_reg_usage): Don't ignore the SET_DEST of instructions | |
12395 | with side effects. Remove the more-specific check for volatile asms. | |
12396 | ||
f60a97cf AM |
12397 | 2011-03-02 Alan Modra <amodra@gmail.com> |
12398 | ||
12399 | PR target/47935 | |
12400 | * config/rs6000/predicates.md (lwa_operand): Check cmodel medium | |
12401 | toc relative addresses for valid offsets. | |
12402 | ||
f2ca11ca RG |
12403 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
12404 | ||
12405 | PR tree-optimization/47890 | |
12406 | * tree-vect-loop.c (get_initial_def_for_induction): Set | |
12407 | related stmt properly. | |
12408 | ||
7a00d9ea RG |
12409 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
12410 | ||
12411 | PR lto/47924 | |
12412 | * lto-streamer.c (lto_record_common_node): Also register | |
12413 | the canonical type. | |
12414 | ||
06c7edcc RG |
12415 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
12416 | ||
12417 | PR lto/46911 | |
12418 | * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers): | |
12419 | Do not stream DECL_ABSTRACT_ORIGIN. | |
12420 | (lto_input_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION, | |
12421 | BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN. | |
12422 | * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): | |
12423 | Do not stream DECL_ABSTRACT_ORIGIN. | |
12424 | (lto_output_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION, | |
12425 | BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN. | |
12426 | ||
998871e9 AS |
12427 | 2011-02-28 Anatoly Sokolov <aesok@post.ru> |
12428 | ||
12429 | * config/stormy16/stormy16.h (FUNCTION_VALUE, LIBCALL_VALUE, | |
12430 | FUNCTION_VALUE_REGNO_P): Remove. | |
b2e2ea67 | 12431 | * config/stormy16/stormy16-protos.h (xstormy16_function_value): Remove. |
998871e9 AS |
12432 | * config/stormy16/stormy16.c (xstormy16_function_value): Make static. |
12433 | Add 'outgoing' argument. | |
12434 | (xstormy16_libcall_value, xstormy16_function_value_regno_p): New | |
12435 | function. | |
12436 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
12437 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
12438 | ||
94369251 KT |
12439 | 2011-02-28 Kai Tietz <kai.tietz@onevision.com> |
12440 | ||
12441 | PR debug/28047 | |
12442 | * dwarf2out.c (file_table_eq): Use filename_cmp instead of strcmp. | |
12443 | (lookup_filename): Likewise. | |
b2e2ea67 | 12444 | * final.c (remap_debug_filename): Use filename_ncmp instead of strncmp. |
94369251 | 12445 | |
80a832cd JJ |
12446 | 2011-02-28 Bernd Schmidt <bernds@codesourcery.com> |
12447 | Jakub Jelinek <jakub@redhat.com> | |
12448 | ||
12449 | PR middle-end/47893 | |
12450 | * rtl.h (ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD): Define. | |
12451 | (assign_stack_local_1): Change last argument type to int. | |
12452 | * function.c (assign_stack_local_1): Replace reduce_alignment_ok | |
12453 | argument with kind. If bit ASLK_RECORD_PAD is not set in it, | |
b2e2ea67 | 12454 | don't record padding space into frame_space_list nor use those areas. |
80a832cd JJ |
12455 | (assign_stack_local): Adjust caller. |
12456 | (assign_stack_temp_for_type): Call assign_stack_local_1 instead | |
12457 | of assign_stack_local, pass 0 as last argument. | |
12458 | * caller-save.c (setup_save_areas): Adjust assign_stack_local_1 | |
12459 | callers. | |
12460 | ||
1b500976 JJ |
12461 | 2011-02-28 Jakub Jelinek <jakub@redhat.com> |
12462 | ||
f61c6f34 JJ |
12463 | PR debug/47283 |
12464 | * cfgexpand.c (convert_debug_memory_address): Add AS parameter. | |
12465 | Use target address_mode and pointer_mode hooks instead of hardcoded | |
12466 | Pmode and ptr_mode. Handle some simple cases of extending if | |
12467 | POINTERS_EXTEND_UNSIGNED < 0. | |
12468 | (expand_debug_expr) <case MEM_REF, INDIRECT_REF, TARGET_MEM_REF>: | |
12469 | Call convert_debug_memory_address. | |
12470 | (expand_debug_expr) <case ADDR_EXPR>: Pass as to | |
12471 | convert_debug_memory_address. | |
12472 | ||
1b500976 JJ |
12473 | PR middle-end/46790 |
12474 | * configure.ac (HAVE_LD_EH_GC_SECTIONS_BUG): New test. | |
12475 | * configure: Regenerated. | |
12476 | * config.in: Regenerated. | |
12477 | * varasm.c (default_function_section): Return NULL | |
b2e2ea67 | 12478 | if HAVE_LD_EH_GC_SECTIONS_BUG and decl has implicit section name. |
1b500976 | 12479 | |
2f2935b6 MJ |
12480 | 2011-02-28 Martin Jambor <mjambor@suse.cz> |
12481 | ||
12482 | * ipa-inline.c (cgraph_decide_inlining_of_small_functions): Fix | |
12483 | the description to match the printed values. | |
12484 | ||
474086eb RG |
12485 | 2011-02-28 Richard Guenther <rguenther@suse.de> |
12486 | ||
12487 | * tree-inline.c (tree_function_versioning): Set BLOCK_SUPERCONTEXT | |
12488 | of the copied scope tree. | |
12489 | ||
15bf6f3a RW |
12490 | 2011-02-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
12491 | ||
12492 | * doc/extend.texi (Function Attributes): Avoid deeply (and | |
12493 | wrongly) nested tables. | |
12494 | ||
f6b439c9 JJ |
12495 | 2011-02-27 Jakub Jelinek <jakub@redhat.com> |
12496 | ||
12497 | PR middle-end/47903 | |
12498 | * real.c (real_arithmetic) <case PLUS_EXPR, MINUS_EXPR, | |
12499 | MULT_EXPR, RDIV_EXPR>: Clear padding bits in *r first if | |
12500 | r isn't op0 nor op1. | |
12501 | ||
1d8ca2c7 GJL |
12502 | 2011-02-23 Georg-Johann Lay <avr@gjlay.de> |
12503 | ||
12504 | * config/avr/avr.md: Remove magic comment for emacs. | |
12505 | ||
593fca4b GJL |
12506 | 2011-02-23 Georg-Johann Lay <avr@gjlay.de> |
12507 | ||
12508 | PR target/45261 | |
12509 | * config/avr/avr.c (avr_option_override): Use error on bad options. | |
12510 | (avr_help): New function. | |
12511 | (TARGET_HELP): Define. | |
12512 | ||
6609216e GJL |
12513 | 2011-02-22 Georg-Johann Lay <avr@gjlay.de> |
12514 | ||
12515 | PR target/42240 | |
12516 | * config/avr/avr.c (avr_cannot_modify_jumps_p): New function. | |
12517 | (TARGET_CANNOT_MODIFY_JUMPS_P): Define. | |
12518 | ||
03d458af GP |
12519 | 2011-02-26 Gerald Pfeifer <gerald@pfeifer.com> |
12520 | ||
12521 | * doc/invoke.texi (ARC Options): Use CPU instead of cpu. | |
12522 | (ARM Options): Ditto. | |
12523 | (i386 and x86-64 Options): Ditto. | |
12524 | (RX Options): Ditto. | |
12525 | (SPARC Options): Ditto. | |
12526 | ||
1c379b78 TC |
12527 | 2011-02-26 Tijl Coosemans <tijl@coosemans.org> |
12528 | ||
12529 | * config.gcc (i386-*-freebsd*): Make i486 the default arch on | |
12530 | FreeBSD 6 and later. Generally use cpu generic. | |
12531 | ||
d5ed058c | 12532 | 2011-02-25 Gerald Pfeifer <gerald@pfeifer.com> |
b2e2ea67 | 12533 | |
d5ed058c GP |
12534 | * doc/cpp.texi: Update copyright years. |
12535 | ||
509d65dd | 12536 | 2011-02-25 Sebastien Bourdeauducq <sebastien@milkymist.org> |
308d39cd | 12537 | |
509d65dd | 12538 | PR target/46898 |
308d39cd SB |
12539 | * config/lm32/lm32.md (ashrsi3): Added needed variable. |
12540 | ||
509d65dd | 12541 | 2011-02-25 Jon Beniston <jon@beniston.com> |
308d39cd | 12542 | |
509d65dd | 12543 | PR target/46898 |
308d39cd SB |
12544 | * config/lm32/lm32.h (INCOMING_RETURN_ADDR_RTX): New. |
12545 | * config/lm32/lm32.md (ashlsi3): Remove unused variable. | |
12546 | * config/lm32/lm32.c (TARGET_EXCEPT_UNWIND_INFO): New. | |
12547 | (lm32_block_move_inline): Add type cast to remove warning. | |
b2e2ea67 | 12548 | (lm32_expand_prologue): Generate fp in a way compatible with dwarf2out. |
308d39cd SB |
12549 | (gen_int_relational): Move declarations to start of function. |
12550 | ||
822ba6d7 EB |
12551 | 2011-02-25 Eric Botcazou <ebotcazou@adacore.com> |
12552 | ||
12553 | PR tree-optimization/45470 | |
12554 | * tree-vect-data-refs.c (vect_analyze_data_refs): Fail if a statement | |
12555 | can throw internally only. | |
12556 | * tree-vect-stmts.c (vectorizable_call): Likewise. | |
12557 | ||
ef795fc2 AS |
12558 | 2011-02-24 Anatoly Sokolov <aesok@post.ru> |
12559 | ||
12560 | * config/stormy16/stormy16.h (PREFERRED_RELOAD_CLASS, | |
12561 | PREFERRED_OUTPUT_RELOAD_CLASS): Remove. | |
12562 | * config/stormy16/stormy16-protos.h | |
12563 | (xstormy16_preferred_reload_class): Remove. | |
12564 | * config/stormy16/stormy16.c (xstormy16_preferred_reload_class): Make | |
12565 | static. Change 'rclass' argument and return type to reg_class_t. | |
12566 | (TARGET_PREFERRED_RELOAD_CLASS, | |
12567 | TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. | |
12568 | ||
1c3277ee RG |
12569 | 2011-02-24 Richard Guenther <rguenther@suse.de> |
12570 | ||
12571 | * lto-streamer-in.c (input_bb): Do not find referenced vars | |
12572 | in debug statements. | |
12573 | ||
67e18edb JM |
12574 | 2011-02-23 Jason Merrill <jason@redhat.com> |
12575 | ||
12576 | * common.opt (fabi-version): Document v5 and v6. | |
12577 | ||
b14fad9d RG |
12578 | 2011-02-23 Richard Guenther <rguenther@suse.de> |
12579 | ||
12580 | PR tree-optimization/47849 | |
12581 | * tree-if-conv.c (main_tree_if_conversion): Free postdom info. | |
12582 | ||
7fcf46f5 JZ |
12583 | 2011-02-23 Jie Zhang <jie@codesourcery.com> |
12584 | ||
12585 | * opts-common.c (decode_cmdline_option): Print empty string | |
12586 | argument as "" in decoded->orig_option_with_args_text. | |
12587 | * gcc.c (execute): Print empty string argument as "" | |
12588 | in the verbose output. | |
12589 | (do_spec_1): Keep empty string argument. | |
12590 | ||
f85b70fd NF |
12591 | 2011-02-23 Nathan Froyd <froydnj@codesourcery.com> |
12592 | ||
12593 | * config.gcc: Declare score-* and crx-* obsolete. | |
12594 | ||
b152a615 JZ |
12595 | 2011-02-23 Jie Zhang <jie@codesourcery.com> |
12596 | ||
12597 | PR rtl-optimization/47763 | |
12598 | * web.c (web_main): Ignore naked clobber when replacing register. | |
12599 | ||
bb6e77bc AS |
12600 | 2011-02-22 Anatoly Sokolov <aesok@post.ru> |
12601 | ||
12602 | * config/stormy16/stormy16.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): | |
12603 | Remove. | |
12604 | ||
68bf6491 SP |
12605 | 2011-02-22 Sebastian Pop <sebastian.pop@amd.com> |
12606 | ||
12607 | PR doc/47848 | |
12608 | * doc/invoke.texi: Do not mention -ftree-loop-if-convert-memory-writes. | |
12609 | ||
88ee1fc7 MS |
12610 | 2011-02-22 Mike Stump <mikestump@comcast.net> |
12611 | ||
12612 | * acinclude.m4 (gcc_cv_gas_vers): Add -arch ppc for probing darwin | |
12613 | assembler. | |
12614 | * configure: Regenerate. | |
12615 | ||
6042d1dd CLT |
12616 | 2011-02-21 Chung-Lin Tang <cltang@codesourcery.com> |
12617 | ||
12618 | PR rtl-optimization/46002 | |
12619 | * ira-color.c (update_copy_costs): Change class intersection | |
12620 | test to reg_class_contents[] test of 'hard_regno'. | |
12621 | ||
7de97f9e JM |
12622 | 2011-02-21 Joseph Myers <joseph@codesourcery.com> |
12623 | ||
12624 | * config/alpha/osf5.opt (mno-mips-tfile): Mark as Target rather | |
12625 | than Driver option. | |
12626 | * config/hpux11.opt (mt): Likewise. | |
12627 | * config/microblaze/microblaze.opt (mxl-mode-xilkernel): Likewise. | |
12628 | * config/rs6000/xilinx.opt (mno-clearbss, mppcperflib): Likewise. | |
12629 | * config/vax/elf.opt (mno-asm-pic): Likewise. | |
12630 | * config/vms/vms.opt (map, mvms-return-codes): Likewise. | |
12631 | ||
d1d46f9f MS |
12632 | 2011-02-21 Mike Stump <mikestump@comcast.net> |
12633 | ||
12634 | PR target/47822 | |
12635 | * config/darwin-protos.h (darwin_init_cfstring_builtins): Return a | |
12636 | tree so we can get save the type. | |
12637 | * config/i386/darwin.h (SUBTARGET_INIT_BUILTINS): Reserve builtin slot | |
12638 | for CFString instead of trying to use past the end of the builtins. | |
12639 | * config/i386/i386.c (IX86_BUILTIN_CFSTRING): Likewise. | |
12640 | * config/rs6000/rs6000-builtin.def (RS6000_BUILTIN_CFSTRING): Likewise. | |
12641 | * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): Likewise. | |
12642 | * config/darwin.c (DARWIN_BUILTIN_CFSTRINGMAKECONSTANTSTRING): | |
12643 | Rename to darwin_builtin_cfstring. | |
12644 | (darwin_init_cfstring_builtins): Return the built type. | |
12645 | ||
23e0d930 UB |
12646 | 2011-02-21 Uros Bizjak <ubizjak@gmail.com> |
12647 | ||
12648 | PR target/47840 | |
12649 | * config/i386/avxintrin.h (_mm256_insert_epi32): Use _mm_insert_epi32. | |
12650 | (_mm256_insert_epi64): Use _mm_insert_epi64. | |
12651 | ||
192997cf AS |
12652 | 2011-02-21 Anatoly Sokolov <aesok@post.ru> |
12653 | ||
12654 | * config/stormy16/stormy16.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
12655 | * config/stormy16/stormy16-protos.h | |
12656 | (xstormy16_mode_dependent_address_p): Remove. | |
12657 | * config/stormy16/stormy16.c (xstormy16_mode_dependent_address_p): | |
12658 | Make static. Change return type to bool. Change argument type to | |
12659 | const_rtx. Remove dead code. | |
12660 | (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
12661 | ||
e292d003 RG |
12662 | 2011-02-21 Richard Guenther <rguenther@suse.de> |
12663 | ||
12664 | PR lto/47820 | |
12665 | * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers): | |
12666 | Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs. | |
12667 | (lto_input_ts_block_tree_pointers): Hook a BLOCK into the | |
12668 | TUs context. | |
23e0d930 | 12669 | * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): |
e292d003 RG |
12670 | Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs. |
12671 | ||
77f846e9 RG |
12672 | 2011-02-20 Richard Guenther <rguenther@suse.de> |
12673 | ||
12674 | PR lto/47822 | |
12675 | * tree.c (free_lang_data_in_decl): Clean builtins from | |
12676 | the TU decl BLOCK_VARS. | |
23e0d930 | 12677 | |
b2cddfc8 AO |
12678 | 2011-02-19 Alexandre Oliva <aoliva@redhat.com> |
12679 | ||
12680 | PR debug/47620 | |
12681 | PR debug/47630 | |
12682 | * haifa-sched.c (fix_tick_ready): Skip tick computation | |
12683 | for debug insns. | |
12684 | ||
becf4c11 RG |
12685 | 2011-02-19 Richard Guenther <rguenther@suse.de> |
12686 | ||
12687 | PR lto/47647 | |
12688 | * lto-streamer-in.c (lto_input_ts_decl_minimal_tree_pointers): | |
12689 | Remove lazy BLOCK_VARS streaming. | |
12690 | (lto_input_ts_block_tree_pointers): Likewise. | |
12691 | * lto-streamer-out.c (lto_output_ts_block_tree_pointers): Likewise. | |
12692 | ||
27f98305 JM |
12693 | 2011-02-19 Joseph Myers <joseph@codesourcery.com> |
12694 | ||
12695 | * config.gcc (i[34567]86-pc-msdosdjgpp*): Use i386/djgpp-stdint.h. | |
12696 | ||
064bf3f4 JM |
12697 | 2011-02-19 Joseph Myers <joseph@codesourcery.com> |
12698 | ||
12699 | * config/i386/biarch32.h, config/i386/mach.h, | |
12700 | config/rs6000/aix.opt, config/sh/superh64.h: Remove. | |
12701 | ||
9215ddc3 JJ |
12702 | 2011-02-19 Jakub Jelinek <jakub@redhat.com> |
12703 | ||
12704 | PR target/47800 | |
12705 | * config/i386/i386.md (peephole2 for shift and plus): Use | |
12706 | operands[1] original mode in the first insn. | |
12707 | ||
8b021004 MS |
12708 | 2011-02-18 Mike Stump <mikestump@comcast.net> |
12709 | ||
65ded153 | 12710 | * config/t-darwin (TM_H): Add dependency on darwin-sections.def. |
8b021004 | 12711 | |
f84ae14c JH |
12712 | 2011-02-18 Jan Hubicka <jh@suse.cz> |
12713 | ||
12714 | PR middle-end/47788 | |
65ded153 EB |
12715 | * ipa-inline.c (compute_inline_parameters): Set disregard_inline_limits |
12716 | to zero when the function is not inlinable at all. | |
f84ae14c | 12717 | |
eddabc80 JDA |
12718 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
12719 | ||
12720 | * config.gcc (hppa[12]*-*-hpux11*): Set extra_parts. | |
12721 | * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, | |
12722 | pthread_mutex_unlock, pthread_once): Reinstate pthread stubs. | |
12723 | * config/pa/t-pa-hpux11: Add rules to build pthread stubs. | |
12724 | * config/pa/t-pa64: Likewise. | |
12725 | * config/pa/pa-hpux11.h (LINK_GCC_C_SEQUENCE_SPEC): Define. | |
12726 | ||
ca3da783 JJ |
12727 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
12728 | ||
12729 | PR driver/47787 | |
12730 | * gcc.c (default_compilers): Clear combinable field for "@cpp-output". | |
12731 | ||
430aa868 JDA |
12732 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
12733 | ||
12734 | PR target/47792 | |
12735 | * gthr-dce.h (__gthread_mutx_destroy): Fix typo in name. | |
12736 | ||
4bf7ff7e AS |
12737 | 2011-02-18 Anatoly Sokolov <aesok@post.ru> |
12738 | ||
12739 | * config/m32r/m32r.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, | |
12740 | RTX_OK_FOR_BASE_P, RTX_OK_FOR_OFFSET_P, LEGITIMATE_OFFSET_ADDRESS_P, | |
12741 | LEGITIMATE_LO_SUM_ADDRESS_P, LOAD_POSTINC_P, STORE_PREINC_PREDEC_P, | |
12742 | GO_IF_LEGITIMATE_ADDRESS): Remove macros. | |
12743 | * config/m32r/m32r.c (TARGET_LEGITIMATE_ADDRESS_P): Define. | |
12744 | (m32r_rtx_ok_for_base_p, m32r_rtx_ok_for_offset_p, | |
12745 | m32r_legitimate_offset_addres_p, m32r_legitimate_lo_sum_addres_p, | |
12746 | m32r_load_postinc_p, m32r_store_preinc_predec_p, | |
12747 | m32r_legitimate_address_p): New functions. | |
12748 | * config/m32r/constraints.md (constraint "S"): Don't use | |
12749 | STORE_PREINC_PREDEC_P. | |
12750 | (constraint "U"): Don't use LOAD_POSTINC_P. | |
12751 | ||
7efcf910 CLT |
12752 | 2011-02-18 Chung-Lin Tang <cltang@codesourcery.com> |
12753 | ||
12754 | PR rtl-optimization/46178 | |
12755 | * ira.c (setup_hard_regno_class): Use ira_class_translate[] to | |
12756 | compute ira_hard_regno_cover_class[]. | |
12757 | ||
237d6259 RG |
12758 | 2011-02-18 Richard Guenther <rguenther@suse.de> |
12759 | ||
12760 | PR lto/47798 | |
12761 | * lto-streamer.h (lto_global_var_decls): Declare. | |
12762 | * lto-streamer-in.c (lto_register_var_decl_in_symtab): Register | |
12763 | statics for global var processing. | |
12764 | ||
12d80acc RG |
12765 | 2011-02-18 Richard Guenther <rguenther@suse.de> |
12766 | ||
12767 | PR tree-optimization/47737 | |
12768 | * tree-ssa-loop-im.c (extract_true_false_args_from_phi): Fix | |
12769 | edge dominance check. | |
12770 | ||
abfea58d JJ |
12771 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
12772 | ||
12773 | PR debug/47780 | |
12774 | * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Call copy_rtx to | |
12775 | avoid invalid rtx sharing. | |
12776 | ||
f73c8882 GP |
12777 | 2011-02-18 Gerald Pfeifer <gerald@pfeifer.com> |
12778 | ||
12779 | * doc/cpp.texi (Obsolete Features): Add background on the | |
12780 | origin of assertions. | |
12781 | ||
d764a8e6 IS |
12782 | 2011-02-17 Iain Sandoe <iains@gcc.gnu.org> |
12783 | ||
12784 | * config/darwin-c.c (darwin_cpp_builtins): Define __OBJC2__ for | |
23e0d930 | 12785 | objc_abi == 2. |
d764a8e6 IS |
12786 | * config/darwin.c (output_objc_section_asm_op): Added support for |
12787 | ABI v1 and v2. | |
12788 | (is_objc_metadata): New. | |
12789 | (darwin_objc2_section): New. | |
12790 | (darwin_objc1_section): New. | |
12791 | (machopic_select_section): Added support for ABI v1 and v2. | |
12792 | (darwin_emit_objc_zeroed): New. | |
12793 | (darwin_output_aligned_bss): Detect objc metadata and treat it | |
12794 | appropriately. | |
12795 | (darwin_asm_output_aligned_decl_common): Same. | |
12796 | (darwin_asm_output_aligned_decl_local): Same. | |
12797 | * config/darwin-sections.def: Updated for ABI v1 and v2. | |
12798 | * config/darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): When | |
12799 | compiling Objective-C code for the NeXT runtime, default to using | |
12800 | ABI version 0 for 32-bit, and version 2 for 64-bit. | |
12801 | ||
0a8134ca JM |
12802 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
12803 | ||
12804 | * common.opt (optimize_fast): New Variable. | |
12805 | * opts.c (default_options_optimization): Use opts->x_optimize_fast | |
12806 | instead of local variable ofast. | |
12807 | ||
0a256240 NP |
12808 | 2011-02-17 Nicola Pero <nicola.pero@meta-innovation.com> |
12809 | ||
12810 | * doc/invoke.texi (fobjc-abi-version): Documented. | |
12811 | (fobjc-nilcheck): Documented. | |
12812 | (fno-nil-receiver): Updated documentation to refer to the NeXT ABI | |
12813 | version. | |
12814 | ||
fa381cb2 JM |
12815 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
12816 | ||
12817 | PR driver/47390 | |
12818 | * common.opt (export-dynamic): New Driver option. | |
12819 | * gcc.c (LINK_COMMAND_SPEC): Add comment about %{e*}. | |
12820 | ||
5437eaa6 JM |
12821 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
12822 | ||
12823 | * config/rx/rx.h (LIB_SPEC): Match -msim not -msim*. | |
12824 | ||
bb7e6d55 AO |
12825 | 2011-02-17 Alexandre Oliva <aoliva@redhat.com> |
12826 | Jan Hubicka <jh@suse.cz> | |
12827 | ||
12828 | PR debug/47106 | |
12829 | PR debug/47402 | |
12830 | * cfgexpand.c (account_used_vars_for_block): Remove. | |
12831 | (estimated_stack_frame_size): Use referenced vars. | |
12832 | * tree-inline.c (remap_decl): Only mark VAR_DECLs as referenced | |
12833 | that were referenced in the original function. Test src_fn | |
12834 | rather than cfun. Drop redundant get_var_ann. | |
12835 | (setup_one_parameter): Drop redundant get_var_ann. | |
12836 | (declare_return_variable): Likewise. | |
12837 | (copy_decl_for_dup_finish): Mark VAR_DECLs referenced in src_fn. | |
12838 | (copy_arguments_for_versioning): Drop redundant get_var_ann. | |
12839 | * ipa-inline.c (compute_inline_parameters): Do not compute | |
12840 | disregard_inline_limits here. | |
bb7e6d55 AO |
12841 | (compute_inlinable_for_current, pass_inlinable): New. |
12842 | (pass_inline_parameters): Require PROP_referenced_vars. | |
12843 | * cgraphunit.c (cgraph_process_new_functions): Don't run | |
23e0d930 | 12844 | compute_inline_parameters explicitly unless function is in SSA form. |
bb7e6d55 AO |
12845 | (cgraph_analyze_function): Set .disregard_inline_limits. |
12846 | * tree-sra.c (convert_callers): Compute inliner parameters | |
12847 | only for functions already in SSA form. | |
12848 | ||
f181a8a7 JM |
12849 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
12850 | ||
12851 | * config/sparc/sparc.h (CPP_ENDIAN_SPEC): Don't handle | |
12852 | -mlittle-endian-data. | |
12853 | ||
c6869789 JM |
12854 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
12855 | ||
12856 | * config/sparc/linux64.h (OPTION_DEFAULT_SPECS): Match -mfpu and | |
12857 | -mno-fpu, not -fpu and -no-fpu. | |
12858 | * config/sparc/sol2-bi.h (OPTION_DEFAULT_SPECS): Likewise. | |
12859 | * config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Likewise. | |
12860 | ||
fbf4bfd3 UB |
12861 | 2011-02-17 Uros Bizjak <ubizjak@gmail.com> |
12862 | ||
12863 | PR target/43653 | |
12864 | * config/i386/i386.c (ix86_secondary_reload): Handle SSE | |
12865 | input reload with PLUS RTX. | |
12866 | ||
70be5dc7 JM |
12867 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
12868 | ||
12869 | * config/mips/mips.opt (mno-mdmx): Use Var(TARGET_MDMX, 0) instead | |
12870 | of InverseVar(MDMX). | |
12871 | ||
30b1646e JM |
12872 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
12873 | ||
12874 | * config/sh/embed-elf.h (LIBGCC_SPEC): Match -m4-340 instead of | |
12875 | --m4-340. | |
12876 | ||
ab7b71e9 JM |
12877 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
12878 | ||
12879 | * config/mn10300/mn10300.opt (mno-crt0): New. | |
12880 | ||
466f3f08 JM |
12881 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
12882 | ||
12883 | * config/m68k/uclinux.opt (static-libc): New Driver option. | |
12884 | ||
8226cd7b JM |
12885 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
12886 | ||
12887 | * config/m32c/m32c.h (LIB_SPEC): Match -msim not -msim*. | |
12888 | ||
45cab1d7 JM |
12889 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
12890 | ||
12891 | * config/lm32/lm32.h (ASM_SPEC): Use %{muser-enabled} instead of | |
12892 | %{muser-extend-enabled}. | |
12893 | ||
65aab64f RG |
12894 | 2011-02-16 Richard Guenther <rguenther@suse.de> |
12895 | ||
12896 | PR tree-optimization/47738 | |
12897 | * tree-ssa-loop.c (run_tree_predictive_commoning): Return | |
12898 | the TODO from tree_predictive_commoning. | |
12899 | ||
fc2fa4fb JL |
12900 | 2011-02-15 Jeff Law <law@redhat.com> |
12901 | ||
12902 | Revert | |
12903 | 2011-01-25 Jeff Law <law@redhat.com> | |
12904 | ||
12905 | PR rtl-optimization/37273 | |
12906 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
12907 | handle them like argument loads from stack slots. Do not double | |
12908 | count memory for memory constants and argument loads from stack slots. | |
12909 | ||
4e380b8e L |
12910 | 2011-02-15 H.J. Lu <hongjiu.lu@intel.com> |
12911 | ||
12912 | PR middle-end/47725 | |
12913 | * combine.c (cant_combine_insn_p): Revert the last change. | |
12914 | ||
e3a69bb4 MM |
12915 | 2011-02-15 Michael Meissner <meissner@linux.vnet.ibm.com> |
12916 | ||
12917 | PR target/47755 | |
12918 | * config/rs6000/predicates.md (easy_vector_constant): Allow V2DI | |
12919 | mode for vector constants. Remove code that checks for TImode. | |
12920 | ||
de650422 AO |
12921 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
12922 | ||
12923 | PR debug/47106 | |
12924 | PR debug/47402 | |
12925 | * cgraph.h (compute_inline_parameters): Return void. | |
12926 | * ipa-inline.c (compute_inline_parameters): Adjust. | |
12927 | ||
30925d94 AO |
12928 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
12929 | ||
12930 | PR debug/47106 | |
12931 | PR debug/47402 | |
12932 | * tree-inline.h (estimated_stack_frame_size): Take cgraph node | |
12933 | rather than decl. | |
12934 | * cfgexpand.c (estimated_stack_frame_size): Likewise. | |
12935 | * ipa-inline.c (compute_inline_parameters): Adjust. | |
12936 | ||
1b9a784a AO |
12937 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
12938 | ||
12939 | PR debug/47106 | |
12940 | PR debug/47402 | |
12941 | * tree-flow.h (FOR_EACH_REFERENCED_VAR): Add FN argument. | |
12942 | Adjust all users. Pass FN to... | |
12943 | * tree-flow-inline.h (first_referenced_var): ... this. Add | |
12944 | fn argument. | |
12945 | * ipa-struct-reorg.c: Adjust. | |
12946 | * tree-dfa.c: Adjust. | |
12947 | * tree-into-ssa.c: Adjust. | |
12948 | * tree-sra.c: Adjust. | |
12949 | * tree-ssa-alias.c: Adjust. | |
12950 | * tree-ssa-live.c: Adjust. | |
12951 | * tree-ssa.c: Adjust. | |
12952 | * tree-ssanames.c: Adjust. | |
12953 | * tree-tailcall.c: Adjust. | |
12954 | ||
27c6b086 AO |
12955 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
12956 | ||
12957 | PR debug/47106 | |
12958 | PR debug/47402 | |
12959 | * tree-flow.h (referenced_var_lookup): Add fn parameter. | |
12960 | Adjust all callers. | |
12961 | * tree-dfa.c (referenced_var_lookup): Use fn instead of cfun. | |
12962 | * tree-flow-inline.h: Adjust. | |
12963 | * gimple-pretty-print.c: Adjust. | |
12964 | * tree-into-ssa.c: Adjust. | |
12965 | * tree-ssa.c: Adjust. | |
12966 | * cfgexpand.c: Adjust. | |
12967 | ||
679e8183 NF |
12968 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
12969 | ||
fbf4bfd3 UB |
12970 | * config/iq2000/i2000.h (REG_CLASS_FROM_LETTER): Delete. |
12971 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
12972 | (EXTRA_CONSTRAINT): Delete. | |
12973 | * config/iq2000/constraints.md: New file. | |
12974 | * config/iq2000/iq2000.md: Include it. | |
679e8183 NF |
12975 | (define_insn ""): Delete. |
12976 | (movsi_internal2, movhi_internal2, movqi_internal2): Delete | |
12977 | unsupported constraint letters from patterns. | |
12978 | (call_value, call_value_internal1): Likewise. | |
12979 | (call_value_multiple_internal1): Likewise. | |
12980 | ||
a45d420a NC |
12981 | 2011-02-15 Nick Clifton <nickc@redhat.com> |
12982 | ||
12983 | * config/mn10300/mn10300.c: Include tm-constrs.h. | |
12984 | (struct liw_data): New data structure describing an LIW candidate | |
12985 | instruction. | |
12986 | (extract_bundle): Use struct liw_data. Allow small integer | |
12987 | operands for some instructions. | |
12988 | (check_liw_constraints): Use struct liw_data. Remove swapped | |
12989 | parameter. Add comments describing the checks. Fix bug when | |
12990 | assigning the source of liw1 to the source of liw2. | |
12991 | (liw_candidate): Delete. Code moved into extract_bundle. | |
12992 | (mn10300_bundle_liw): Use struct liw_data. Check constraints | |
12993 | before swapping. | |
12994 | * config/mn10300/predicates.md (liw_operand): New predicate. | |
12995 | Allows registers and small integer constants. | |
12996 | * config/mn10300/constraints.md (O): New constraint. Accetps | |
12997 | integers in the range -8 to +7 inclusive. | |
12998 | * config/mn10300/mn10300.md (movesi_internal): Add an alternative | |
12999 | for moving a small integer into a register. Give this alternative | |
13000 | LIW attributes. | |
13001 | (addsi3, subsi3, cmpsi, lshrsi3, ashrsi3): Likewise. | |
13002 | (ashlsi3): Likewise, plus give LIW attributes to the alternatives | |
13003 | using the J,K,L and M constraints, | |
13004 | (liw): Remove SI mode on second operands to allow for HI and QI | |
13005 | mode values. | |
13006 | (cmp_liw, liw_cmp): Likewise. Plus fix order of operands in the | |
13007 | instruction. | |
13008 | ||
8a73faf1 L |
13009 | 2011-02-15 H.J. Lu <hongjiu.lu@intel.com> |
13010 | ||
13011 | PR middle-end/47725 | |
13012 | * combine.c (cant_combine_insn_p): Check zero/sign extended | |
13013 | hard registers. | |
13014 | ||
48feba28 RG |
13015 | 2011-02-15 Richard Guenther <rguenther@suse.de> |
13016 | ||
13017 | PR tree-optimization/47743 | |
13018 | * tree-ssa-pre.c (phi_translate_1): If we didn't get a value-number | |
13019 | for a non-type-compatible VN lookup bail out. | |
13020 | ||
ad1c1eeb NF |
13021 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
13022 | ||
13023 | * config/fr30/constraints.md: New file. | |
13024 | * config/fr30/fr30.md: Include it. | |
13025 | * config/fr30/fr30.h (REG_CLASS_FROM_LETTER): Delete. | |
13026 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
13027 | (EXTRA_CONSTRAINT): Delete. | |
13028 | ||
49ac143d NF |
13029 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
13030 | ||
13031 | * config/frv/constraints.md: New file. | |
13032 | * config/frv/predicates.md: Include it. | |
13033 | * config/frv/frv.c (reg_class_from_letter): Delete. | |
13034 | (frv_option_override): Don't initialize it. | |
13035 | * config/frv/frv.h (REG_CLASS_FROM_LETTER): Delete. | |
13036 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_K): Delete. | |
13037 | (CONST_OK_FOR_L, CONST_OK_FOR_M, CONST_OK_FOR_N): Delete. | |
13038 | (CONST_OK_FOR_O, CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete. | |
13039 | (CONST_DOUBLE_OK_FOR_G, CONST_DOUBLE_OK_FOR_H): Delete. | |
13040 | (CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
13041 | (EXTRA_CONSTRAINT_FOR_Q, EXTRA_CONSTRAINT_FOR_R): Delete. | |
13042 | (EXTRA_CONSTRAINT_FOR_S, EXTRA_CONSTRAINT_FOR_T): Delete. | |
13043 | (EXTRA_CONSTRAINT_FOR_U, EXTRA_CONSTRAINT): Delete. | |
13044 | (EXTRA_MEMORY_CONSTRAINT, CONSTRAINT_LEN): Delete. | |
13045 | (REG_CLASS_FROM_CONSTRAINT): Delete. | |
13046 | ||
c95f9494 JJ |
13047 | 2011-02-15 Jakub Jelinek <jakub@redhat.com> |
13048 | ||
13049 | PR middle-end/47581 | |
13050 | * config/i386/i386.c (ix86_compute_frame_size): Don't align offset | |
13051 | if frame size is 0 in a leaf function. | |
13052 | ||
13aed611 RO |
13053 | 2011-02-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13054 | ||
13055 | PR pch/14940 | |
13056 | * config/alpha/host-osf.c: New file. | |
13057 | * config/alpha/x-osf: New file. | |
13058 | * config.host (alpha*-dec-osf*): Use it. | |
13059 | ||
b09c3081 AS |
13060 | 2011-02-14 Anatoly Sokolov <aesok@post.ru> |
13061 | ||
13062 | * config/rx/rx.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
13063 | * config/rx/rx-protos.h (rx_is_mode_dependent_addr): Remove. | |
13064 | * config/xtensa/xtensa.c (rx_is_mode_dependent_addr): Rename to... | |
13065 | (rx_mode_dependent_address_p): ...this. Make static. Change argument | |
13066 | type to const_rtx. | |
13067 | (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
13068 | ||
d634083b NF |
13069 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
13070 | ||
13071 | * config/stormy16/constraints.md: New file. | |
13072 | * config/stormy16/predicates.md (nonimmediate_nonstack_operand): | |
13073 | Use satisfies_constraint_Q and satisfies_constraint_R. | |
13074 | * config/stormy16/stomry16-protos.h (xstormy16_extra_constraint_p): | |
13075 | Delete. | |
13076 | (xstormy16_legitiamte_address_p): Declare. | |
13077 | * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Delete. | |
13078 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
13079 | (EXTRA_CONSTRAINT): Delete. | |
fbf4bfd3 | 13080 | * config/stormy16/stormy16.c (xstormy16_legitimate_address_p): |
d634083b NF |
13081 | Un-staticize. |
13082 | (xstormy16_extra_constraint_p): Delete. | |
13083 | ||
c7dd803e EB |
13084 | 2011-02-14 Eric Botcazou <ebotcazou@adacore.com> |
13085 | ||
13086 | PR tree-optimization/46494 | |
13087 | * loop-unroll.c (split_edge_and_insert): Adjust comment. | |
13088 | * loop-init.c (loop_optimizer_finalize): Do not call verify_flow_info. | |
13089 | (pass_rtl_loop_done): Add TODO_verify_flow. | |
13090 | * fwprop.c (pass_rtl_fwprop): Likewise. | |
13091 | * modulo-sched.c (pass_sms): Likewise. | |
13092 | * tree-ssa-dom.c (pass_dominator): Likewise. | |
13093 | * tree-ssa-loop-ch.c (pass_ch): Likewise. | |
13094 | * tree-ssa-loop.c (pass_complete_unrolli): Likewise. | |
13095 | (pass_tree_loop_done): Likewise. | |
13096 | * tree-ssa-pre.c (execute_pre): Likewise. | |
13097 | * tree-ssa-reassoc.c (pass_reassoc): Likewise. | |
13098 | * tree-ssa-sink.c (pass_sink_code): Likewise. | |
13099 | * tree-vrp.c (pass_vrp): Likewise. | |
13100 | ||
c6150df6 NF |
13101 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
13102 | ||
c7dd803e EB |
13103 | * config/v850/constraints.md: New file. |
13104 | * config/v850/v850.md: Include it. | |
13105 | * config/v850/predicates.md (reg_or_0_operand): Use | |
13106 | satisfies_constraint_G. | |
13107 | (special_symbolref_operand): Use satisfies_constraint_K. | |
13108 | * config/v850/v850.h (CONSTANT_ADDRESS_P): Use constraint_satisfied_p. | |
13109 | (GO_IF_LEGITIMATE_ADDRESS): Likewise. | |
13110 | (REG_CLASS_FROM_LETTER, INT_7_BITS, INT_8_BITS): Delete. | |
13111 | (CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete. | |
13112 | (EXTRA_CONSTRAINT): Delete. | |
13113 | (CONST_OK_FOR_I, CONST_OK_FOR_J): Use insn_const_int_ok_for_constraint. | |
13114 | (CONST_OK_FOR_K, CONST_OK_FOR_L, CONST_OK_FOR_M): Likewise. | |
13115 | (CONST_OK_FOR_N, CONST_OK_FOR_O): Likewise. | |
c6150df6 | 13116 | |
30dd1ea3 AS |
13117 | 2011-02-14 Anatoly Sokolov <aesok@post.ru> |
13118 | ||
13119 | PR target/47696 | |
13120 | * config/avr/avr-devices.c (avr_mcu_types): Fix ATmega2560 device | |
13121 | description. | |
13122 | ||
944f4bb3 NF |
13123 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
13124 | ||
13125 | * config/mcore/constraints.md: New file. | |
13126 | * config/mcore/mcore.md: Include it. | |
13127 | * config/mcore/mcore.c (reg_class_from_letter): Delete. | |
13128 | * config/mcore/mcore.h (reg_class_from_letter): Delete. | |
13129 | (REG_CLASS_FROM_LETTER): Delete. | |
13130 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Use | |
13131 | insn_const_int_ok_for_constraint. | |
13132 | (CONST_OK_FOR_K, CONST_OK_FOR_M, CONST_OK_FOR_N): Likewise. | |
13133 | (CONST_OK_FOR_O, CONST_OK_FOR_P): Likewise. | |
13134 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
13135 | (EXTRA_CONSTRAINT): Delete. | |
13136 | ||
ad56a54c RO |
13137 | 2011-02-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13138 | ||
13139 | PR ada/41929 | |
13140 | * config/sparc/sol2-unwind.h: Include <sys/frame.h>, <sys/stack.h> | |
13141 | (IS_SIGHANDLER): Define. | |
13142 | (sparc64_is_sighandler): New function, split off from | |
13143 | sparc64_fallback_frame_state. | |
13144 | (sparc_is_sighandler): New function, split off from | |
13145 | sparc_fallback_frame_state. | |
13146 | (sparc64_fallback_frame_state): Merge with ... | |
13147 | (sparc_fallback_frame_state): ... this into ... | |
13148 | (MD_FALLBACK_FRAME_STATE_FOR): ... this. | |
fbf4bfd3 UB |
13149 | Change new_cfa to long. Remove regs_off, fpu_save_off, fpu_save. |
13150 | Define nframes, mctx. Use IS_SIGHANDLER, handler_args, mctx, walk | |
13151 | stack instead of hardcoded offsets. | |
ad56a54c | 13152 | |
fbf4bfd3 | 13153 | 2011-02-14 Andriy Gapon <avg@freebsd.org> |
67932abf AG |
13154 | |
13155 | PR target/45808 | |
13156 | * config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case. | |
13157 | ||
029c8f3e RW |
13158 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
13159 | ||
13160 | * configure: Regenerate. | |
13161 | ||
a016dc83 JM |
13162 | 2011-02-12 Joseph Myers <joseph@codesourcery.com> |
13163 | ||
13164 | PR driver/45731 | |
13165 | * gcc.c (asm_options): Correct spec matching --target-help. | |
13166 | ||
8957a0ec MJ |
13167 | 2011-02-12 Martin Jambor <mjambor@suse.cz> |
13168 | ||
13169 | * tree-cfg.c (verify_gimple_call): Return true upon invalid argument | |
13170 | to gimple call error. | |
13171 | ||
6ef828bc MS |
13172 | 2011-02-12 Mike Stump <mikestump@comcast.net> |
13173 | ||
13174 | * config/frv/frv.h (TRANSFER_FROM_TRAMPOLINE): Canonicalize | |
13175 | comments in backslash regions. | |
13176 | ||
a4015be5 MS |
13177 | 2011-02-12 Mike Stump <mikestump@comcast.net> |
13178 | Jakub Jelinek <jakub@redhat.com> | |
13179 | Iain Sandoe <iains@gcc.gnu.org> | |
13180 | ||
13181 | PR target/47324 | |
13182 | * dwarf2out.c (output_cfa_loc): When required, apply the | |
13183 | DWARF2_FRAME_REG_OUT macro to adjust register numbers. | |
13184 | (output_loc_sequence): Likewise. | |
13185 | (output_loc_operands_raw): Likewise. | |
13186 | (output_loc_sequence_raw): Likewise. | |
13187 | (output_cfa_loc): Likewise. | |
13188 | (output_loc_list): Suppress register number adjustment when | |
13189 | calling output_loc_sequence() | |
13190 | (output_die): Likewise. | |
13191 | ||
5378dda2 AS |
13192 | 2011-02-12 Anatoly Sokolov <aesok@post.ru> |
13193 | ||
13194 | * config/xtensa/xtensa.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): | |
13195 | Remove macros. | |
13196 | * config/xtensa/xtensa.c (xtensa_register_move_cost, | |
13197 | xtensa_memory_move_cost): New functions. | |
13198 | (TARGET_REGISTER_MOVE_COST, TARGET_REGISTER_MOVE_COST): Define. | |
13199 | ||
f3d533d3 AO |
13200 | 2011-02-12 Alexandre Oliva <aoliva@redhat.com> |
13201 | ||
13202 | PR lto/47225 | |
13203 | * configure.ac (gcc_cv_lto_plugin): Test for liblto_plugin.la | |
13204 | in the current directory. | |
13205 | * configure: Rebuilt. | |
13206 | ||
9d53403c IS |
13207 | 2011-02-12 Iain Sandoe <iains@gcc.gnu.org> |
13208 | ||
13209 | * config/darwin.c (darwin_override_options): Add a hunk missed | |
fbf4bfd3 | 13210 | from the commit of r168571. Trim comment line lengths and |
9d53403c IS |
13211 | correct indents of the preceding block. |
13212 | ||
a350a6c8 IS |
13213 | 2011-02-12 Iain Sandoe <iains@gcc.gnu.org> |
13214 | ||
13215 | * gcc.c (driver_handle_option): Concatenate the argument to -F with | |
13216 | the switch. | |
13217 | ||
bab79a40 JM |
13218 | 2011-02-11 Joseph Myers <joseph@codesourcery.com> |
13219 | ||
13220 | * common.opt (nostartfiles): New Driver option. | |
13221 | ||
1bbc6693 XDL |
13222 | 2011-02-11 Xinliang David Li <davidxl@google.com> |
13223 | ||
13224 | PR tree-optimization/47707 | |
13225 | * tree-chrec.c (convert_affine_scev): Keep type precision. | |
13226 | ||
1da7d8c0 EB |
13227 | 2011-02-11 Eric Botcazou <ebotcazou@adacore.com> |
13228 | ||
13229 | PR tree-optimization/47420 | |
13230 | * ipa-split.c (visit_bb): Punt on any kind of GIMPLE_RESX. | |
13231 | ||
13232 | 2011-02-11 Pat Haugen <pthaugen@us.ibm.com> | |
3f82421f PH |
13233 | |
13234 | PR rtl-optimization/47614 | |
13235 | * rtl.h (check_for_inc_dec): Declare. | |
13236 | * dse.c (check_for_inc_dec): Externalize... | |
13237 | * postreload.c (reload_cse_simplify): ...use it before deleting stmt. | |
13238 | (reload_cse_simplify_operands): Don't simplify opnds with side effects. | |
13239 | ||
4df47bca JM |
13240 | 2011-02-11 Joseph Myers <joseph@codesourcery.com> |
13241 | ||
13242 | PR driver/47678 | |
13243 | * gcc.c (main): Do not compile inputs if there were errors in | |
13244 | option handling. | |
13245 | * opts-common.c (read_cmdline_option): Check for wrong language | |
13246 | after other error checks. | |
13247 | ||
61502ca8 NF |
13248 | 2011-02-11 Nathan Froyd <froydnj@codesourcery.com> |
13249 | ||
13250 | * cgraph.c: Fix comment typos. | |
13251 | * cgraph.h: Likewise. | |
13252 | * cgraphunit.c: Likewise. | |
13253 | * ipa-cp.c: Likewise. | |
13254 | * ipa-inline.c: Likewise. | |
13255 | * ipa-prop.c: Likewise. | |
13256 | * ipa-pure-const.c: Likewise. | |
13257 | * ipa-ref.c: Likewise. | |
13258 | * ipa-reference.c: Likewise. | |
13259 | ||
b63f974e JJ |
13260 | 2011-02-11 Jakub Jelinek <jakub@redhat.com> |
13261 | ||
d50c5e0c JJ |
13262 | PR debug/47684 |
13263 | * tree-predcom.c (single_nonlooparound_use): Ignore debug uses. | |
b63f974e | 13264 | |
6dd2a13c RO |
13265 | 2011-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13266 | ||
13267 | PR testsuite/47400 | |
13268 | * doc/sourcebuild.texi (Require Support): Document | |
13269 | dg-require-ascii-locale. | |
13270 | ||
4a087ccf MX |
13271 | 2011-02-11 Mingjie Xing <mingjie.xing@gmail.com> |
13272 | ||
13273 | * doc/lto.texi (Write summary): Fix missing parentheses. | |
13274 | ||
a4403164 DD |
13275 | 2011-02-10 DJ Delorie <dj@redhat.com> |
13276 | ||
13277 | * config/m32c/m32c.c (m32c_option_override): Disable | |
13278 | -fcombine-stack-adjustments until flag value tracking and compare | |
13279 | optimization can be rewritten. | |
13280 | ||
4fac45bd PB |
13281 | 2011-02-10 Peter Bergner <bergner@vnet.ibm.com> |
13282 | ||
13283 | * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Change to | |
13284 | PROCESSOR_POWER7. | |
13285 | (PROCESSOR_DEFAULT64): Likewise. | |
13286 | ||
72602cd1 RH |
13287 | 2011-02-10 Richard Henderson <rth@redhat.com> |
13288 | ||
13289 | * config/rx/predicates.md (rx_zs_comparison_operator): Revert | |
13290 | change from 2011-02-03. | |
13291 | * config/rx/rx.c (flags_from_code): Likewise. | |
13292 | (rx_print_operand) ['B']: For LT/GE, use lt/ge if overflow flag | |
13293 | is valid, n/pz otherwise. | |
13294 | (rx_select_cc_mode): Return CCmode if Y is not zero. | |
13295 | ||
ea57f573 RG |
13296 | 2011-02-10 Richard Guenther <rguenther@suse.de> |
13297 | ||
ea4c3e65 | 13298 | * tree-ssa-structalias.c (bitpos_of_field): Use BITS_PER_UNIT, not 8. |
ea57f573 | 13299 | |
92b1d23b RG |
13300 | 2011-02-10 Richard Guenther <rguenther@suse.de> |
13301 | ||
13302 | PR tree-optimization/47677 | |
13303 | * tree-vrp.c (vrp_bitmap_equal_p): Fix comparison of empty bitmaps. | |
13304 | ||
525a2d06 JJ |
13305 | 2011-02-10 Jakub Jelinek <jakub@redhat.com> |
13306 | ||
13307 | PR target/47665 | |
13308 | * combine.c (make_compound_operation): Only change shifts into | |
13309 | multiplication for SCALAR_INT_MODE_P. | |
13310 | ||
06c969bd JZ |
13311 | 2011-02-10 Jie Zhang <jie@codesourcery.com> |
13312 | ||
13313 | PR testsuite/47622 | |
13314 | Revert | |
13315 | 2011-02-05 Jie Zhang <jie@codesourcery.com> | |
13316 | PR debug/42631 | |
13317 | * web.c (entry_register): Don't clobber the number of the | |
13318 | first uninitialized reference in used[]. | |
13319 | ||
282ec48e RG |
13320 | 2011-02-09 Richard Guenther <rguenther@suse.de> |
13321 | ||
13322 | PR tree-optimization/47664 | |
13323 | * ipa-inline.c (cgraph_decide_inlining_incrementally): Visit | |
13324 | all edges again. | |
13325 | ||
df98c3e8 DE |
13326 | 2011-02-09 David Edelsohn <dje.gcc@gmail.com> |
13327 | ||
d0f21cd6 DE |
13328 | PR target/46481 |
13329 | PR target/47032 | |
df98c3e8 DE |
13330 | * config/rs6000/aix61.h (PROCESSOR_DEFAULT): Change to |
13331 | PROCESSOR_POWER7. | |
13332 | (PROCESSOR_DEFAULT64): Same. | |
13333 | (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Delete. | |
13334 | ||
67b6839f RO |
13335 | 2011-02-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13336 | ||
13337 | * config/mips/iris6.h (TARGET_C99_FUNCTIONS): Define. | |
13338 | ||
4fd73214 MJ |
13339 | 2011-02-09 Martin Jambor <mjambor@suse.cz> |
13340 | ||
13341 | PR middle-end/45505 | |
13342 | * tree-sra.c (struct access): New flags grp_scalar_read and | |
13343 | grp_scalar_write. Changed description of assignment read and write | |
13344 | flags. | |
13345 | (dump_access): Dump new flags, reorder all of them. | |
13346 | (sort_and_splice_var_accesses): Set the new flag accordingly, use them | |
13347 | to detect multiple scalar reads. | |
13348 | (analyze_access_subtree): Use the new scalar read write flags instead | |
13349 | of the old flags. Adjusted comments. | |
13350 | ||
91140cd3 DD |
13351 | 2011-02-08 DJ Delorie <dj@redhat.com> |
13352 | ||
13353 | PR target/47548 | |
13354 | * config/m32c/m32c.c (m32c_subreg): Don't try to validate interim | |
13355 | patterns. | |
13356 | ||
4254bbfe JM |
13357 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
13358 | ||
13359 | * config/m68k/uclinux.opt: New. | |
13360 | * config.gcc (m68k-*-uclinux*): Use m68k/uclinux.opt. | |
13361 | ||
f1fda84e JM |
13362 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
13363 | ||
13364 | * config/cris/elf.opt (sim): New Driver option. | |
13365 | ||
4933ae74 JM |
13366 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
13367 | ||
13368 | * config/xtensa/elf.opt: New. | |
13369 | * config.gcc (xtensa*-*-elf*): Use xtensa/elf.opt. | |
13370 | ||
4ad70280 JM |
13371 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
13372 | ||
13373 | * config/vax/elf.opt: New. | |
13374 | * config.gcc (vax-*-linux*, vax-*-netbsdelf*): Use vax/elf.opt. | |
13375 | ||
20893707 JM |
13376 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
13377 | ||
13378 | * config/rs6000/aix64.opt (posix, pthread): New Driver options. | |
13379 | ||
b8e7038e JM |
13380 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
13381 | ||
13382 | * config/gnu-user.opt: New. | |
13383 | * config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | | |
13384 | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu, | |
13385 | *-*-uclinux*): Use gnu-user.opt. | |
13386 | ||
e1c5225a TS |
13387 | 2011-02-08 Thomas Schwinge <thomas@schwinge.name> |
13388 | ||
13389 | * config/gnu.h (CPP_SPEC, LIB_SPEC): Remove handling of -bsd option. | |
13390 | * config/i386/gnu.h (CPP_SPEC): Likewise. | |
13391 | ||
5e46b0c6 ILT |
13392 | 2011-02-08 Ian Lance Taylor <iant@google.com> |
13393 | ||
13394 | * common.opt (fcx-limited-range): Add SetByCombined flag. | |
13395 | (ffinite-math-only, fmath-errno, frounding-math): Likewise. | |
13396 | (fsignaling-nans, fsigned-zeros, ftrapping-math): Likewise. | |
13397 | (fassociative-math, freciprocal-math): Likewise. | |
13398 | (funsafe-math-optimizations): Likewise. | |
13399 | * opth-gen.awk: Handle SetByCombined. | |
13400 | * optc-gen.awk: Likewise. | |
ea4c3e65 | 13401 | * opts.c (set_fast_math_flags): Don't override flag if set by frontend. |
5e46b0c6 ILT |
13402 | (set_unsafe_math_optimizations_flags): Likewise. |
13403 | * doc/options.texi (Option properties): Document SetByCombined. | |
13404 | ||
32243d46 JM |
13405 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
13406 | ||
13407 | * config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*, | |
13408 | i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe, | |
13409 | m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*, | |
13410 | m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*, | |
13411 | sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete. | |
13412 | ||
479c1fb3 SP |
13413 | 2011-02-08 Sebastian Pop <sebastian.pop@amd.com> |
13414 | ||
13415 | PR tree-optimization/46834 | |
13416 | PR tree-optimization/46994 | |
13417 | PR tree-optimization/46995 | |
13418 | * graphite-sese-to-poly.c (used_outside_reduction): New. | |
13419 | (detect_commutative_reduction): Call used_outside_reduction. | |
13420 | (rewrite_commutative_reductions_out_of_ssa_close_phi): Call | |
13421 | translate_scalar_reduction_to_array only when at least one | |
13422 | loop-phi/close-phi tuple has been detected. | |
13423 | ||
3865a06f RG |
13424 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
13425 | ||
13426 | PR middle-end/47639 | |
13427 | * tree-vect-generic.c (expand_vector_operations_1): Update | |
13428 | stmts here ... | |
13429 | (expand_vector_operations): ... not here. Cleanup EH info | |
13430 | and the CFG if required. | |
13431 | ||
62902f3f RG |
13432 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
13433 | ||
13434 | PR tree-optimization/47641 | |
13435 | * tree-ssa.c (execute_update_addresses_taken): For asm outputs | |
13436 | require type compatibility. | |
13437 | ||
0efb9d64 AK |
13438 | 2011-02-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
13439 | ||
13440 | * gimple-low.c (lower_function_body): Don't remove the location of | |
13441 | the return statement here. | |
13442 | (lower_gimple_return): Do it here instead but only if the return | |
13443 | statement is actually used twice. | |
13444 | ||
034b8ae4 RG |
13445 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
13446 | ||
13447 | PR tree-optimization/47632 | |
13448 | * tree-ssa-forwprop.c (remove_prop_source_from_use): Remove | |
13449 | unused up_to_stmt parameter, return whether cfg-cleanup is | |
13450 | necessary, remove EH info properly. | |
13451 | (forward_propagate_into_gimple_cond): Adjust caller. | |
13452 | (forward_propagate_into_cond): Likewise. | |
13453 | (forward_propagate_comparison): Likewise. | |
13454 | (tree_ssa_forward_propagate_single_use_vars): Make | |
13455 | forward_propagate_comparison case similar to the two others. | |
13456 | ||
298362c8 NC |
13457 | 2011-02-08 Nick Clifton <nickc@redhat.com> |
13458 | ||
13459 | * config/mn10300/mn10300.opt (mliw): New command line option. | |
13460 | * config/mn10300/mn10300.md (UNSPEC_LIW): New unspec. | |
13461 | (liw_bundling): New automaton. | |
13462 | (liw): New attribute. | |
13463 | (liw_op): New attribute. | |
13464 | (liw_op1, liw_op2, liw_both, liw_either): New reservations. | |
13465 | (movsi_internal): Add LIW attributes. | |
13466 | (andsi3): Likewise. | |
13467 | (iorsi3): Likewise. | |
13468 | (xorsi3): Likewise. | |
13469 | (addsi3): Separate register and immediate alternatives. | |
13470 | Add LIW attributes. | |
13471 | (subsi3): Likewise. | |
13472 | (cmpsi): Likewise. | |
13473 | (aslsi3): Likewise. | |
13474 | (lshrsi3): Likewise. | |
13475 | (ashrsi3): Likewise. | |
13476 | (liw): New pattern. | |
13477 | * config/mn10300/mn10300.c (liw_op_names): New | |
13478 | (mn10300_print_operand): Handle 'W' operand descriptor. | |
13479 | (extract_bundle): New function. | |
13480 | (check_liw_constraints): New function. | |
13481 | (liw_candidate): New function. | |
13482 | (mn10300_bundle_liw): New function. | |
13483 | (mn10300_reorg): New function. | |
13484 | (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
13485 | (TARGET_DEFAULT_TARGET_FLAGS): Add MASK_ALLOW_LIW. | |
13486 | * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Define | |
13487 | __LIW__ or __NO_LIW__. | |
13488 | * doc/invoke.texi: Describe the -mliw command line option. | |
13489 | ||
90488014 JDA |
13490 | 2011-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
13491 | ||
13492 | * config.gcc (hppa[12]*-*-hpux11*): Don't set extra_parts. | |
13493 | * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, | |
13494 | pthread_mutex_unlock): Remove. | |
13495 | * config/pa/t-pa-hpux11: Remove rules to build pthread stubs. | |
13496 | * config/pa/t-pa64: Likewise. | |
13497 | * config/pa/pa64-hpux.h (LIB_SPEC): In static links, link against | |
13498 | shared libc if not linking against libpthread. | |
13499 | * config/pa/pa-hpux11.h (LIB_SPEC): Likewise. | |
13500 | ||
689ff841 IS |
13501 | 2011-02-07 Iain Sandoe <iains@gcc.gnu.org> |
13502 | ||
13503 | PR target/47558 | |
13504 | * config/darwin10.h (LINK_GCC_C_SEQUENCE_SPEC): Put -lSystem first | |
13505 | on 10.6 and later to ensure that we always use the unwinder from | |
13506 | the system. Only add -no_compact_unwind when tarteting darwin | |
13507 | 10.6 or later. | |
13508 | ||
821014aa SE |
13509 | 2011-02-07 Steve Ellcey <sje@cup.hp.com> |
13510 | ||
13511 | PR target/46997 | |
13512 | * vect.md (vec_interleave_highv2sf): Change fmix for TARGET_BIG_ENDIAN. | |
13513 | (vec_interleave_lowv2sf): Ditto. | |
13514 | (vec_extract_evenv2sf): Add TARGET_BIG_ENDIAN check. | |
13515 | (vec_extract_oddv2sf): Ditto. | |
13516 | ||
41cf94fb MS |
13517 | 2011-02-07 Mike Stump <mikestump@comcast.net> |
13518 | ||
62dea57d | 13519 | PR target/42333 |
41cf94fb MS |
13520 | Add __ieee_divdc3 entry point. |
13521 | * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Retain ___divdc3 | |
13522 | entry point. | |
13523 | (SUBTARGET_INIT_BUILTINS): Call darwin_rename_builtins. | |
13524 | * config/i386/i386.c (TARGET_INIT_LIBFUNCS): Likewise. | |
13525 | * config/darwin.c (darwin_rename_builtins): Add. | |
13526 | * config/darwin-protos.h (darwin_rename_builtins): Add. | |
13527 | ||
ee09a3dd MM |
13528 | 2011-02-07 Michael Meissner <meissner@linux.vnet.ibm.com> |
13529 | ||
13530 | PR target/47636 | |
13531 | * config/rs6000/rs6000.md (rsqrt<mode>2): Use the correct macro | |
13532 | for the condition. | |
13533 | ||
83296cd0 MS |
13534 | 2011-02-07 Mike Stump <mikestump@comcast.net> |
13535 | ||
ea4c3e65 | 13536 | * config/darwin.opt (mmacosx-version-min): Update default OS version. |
83296cd0 | 13537 | |
0f4e946f DC |
13538 | 2011-02-07 Denis Chertykov <chertykov@gmail.com> |
13539 | ||
13540 | PR target/47534 | |
13541 | * config/avr/libgcc.S (exit): Move .endfunc | |
13542 | ||
1ec87690 RG |
13543 | 2011-02-07 Richard Guenther <rguenther@suse.de> |
13544 | ||
13545 | PR tree-optimization/47615 | |
13546 | * tree-ssa-sccvn.h (run_scc_vn): Take a vn-walk mode argument. | |
13547 | * tree-ssa-sccvn.c (default_vn_walk_kind): New global. | |
13548 | (run_scc_vn): Initialize it. | |
13549 | (visit_reference_op_load): Use it. | |
13550 | * tree-ssa-pre.c (execute_pre): Use VN_WALK if in PRE. | |
13551 | ||
b46ae6da UW |
13552 | 2011-02-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
13553 | ||
13554 | * config/spu/spu.c (spu_init_libfuncs): Install SImode and | |
13555 | DImode trapping arithmetic libfuncs. | |
13556 | ||
c0aae19c RG |
13557 | 2011-02-07 Richard Guenther <rguenther@suse.de> |
13558 | ||
13559 | PR tree-optimization/47621 | |
13560 | * tree-ssa.c (non_rewritable_lvalue_p): New function, split out from | |
13561 | two duplicates ... | |
13562 | (execute_update_addresses_taken): ... here. Make it more | |
13563 | conservative in what we accept. | |
13564 | ||
295d926b JM |
13565 | 2011-02-06 Joseph Myers <joseph@codesourcery.com> |
13566 | ||
13567 | * config/sparc/freebsd.h (ASM_SPEC): Define. | |
13568 | * config/sparc/vxworks.h (ASM_SPEC): Define. | |
13569 | ||
bdeb2471 JM |
13570 | 2011-02-06 Joseph Myers <joseph@codesourcery.com> |
13571 | ||
13572 | * config/sparc/sol2-bi.h (CC1_SPEC): Remove %{sun4:} %{target:}. | |
13573 | ||
d5d3781a SB |
13574 | 2011-02-06 Steven Bosscher <steven@gcc.gnu.org> |
13575 | ||
13576 | * doc/invoke.texi: Remove reference to compiler internals from | |
13577 | user documentation. | |
13578 | ||
13579 | * reg-notes.def: Remove REG_VALUE_PROFILE. | |
13580 | * combine.c (distribute_notes): Do not handle REG_VALUE_PROFILE. | |
13581 | ||
c42c09fc JJ |
13582 | 2011-02-05 Jakub Jelinek <jakub@redhat.com> |
13583 | ||
13584 | PR middle-end/47610 | |
13585 | * varasm.c (default_section_type_flags): If decl is NULL, | |
38be4072 | 13586 | and name is .data.rel.ro or .data.rel.ro.local, set SECTION_RELRO bit. |
c42c09fc | 13587 | |
beea2755 JZ |
13588 | 2011-02-05 Jie Zhang <jie@codesourcery.com> |
13589 | ||
13590 | PR debug/42631 | |
13591 | * web.c (entry_register): Don't clobber the number of the | |
13592 | first uninitialized reference in used[]. | |
13593 | ||
a130584a SP |
13594 | 2011-02-04 Sebastian Pop <sebastian.pop@amd.com> |
13595 | ||
13596 | PR tree-optimization/46194 | |
13597 | * tree-data-ref.c (analyze_miv_subscript): Remove comment. | |
13598 | (build_classic_dist_vector_1): Do not represent classic distance | |
13599 | vectors when the access functions are variating in different loops. | |
13600 | ||
962101ac JM |
13601 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
13602 | ||
13603 | * config/mips/iris6.opt: New. | |
13604 | * config.gcc (mips-sgi-irix6.5*): Use mips/iris6.opt. | |
13605 | ||
55eaaa5b RH |
13606 | 2011-02-04 Richard Henderson <rth@redhat.com> |
13607 | Steve Ellcey <sje@cup.hp.com> | |
13608 | ||
13609 | PR target/46997 | |
13610 | * config/ia64/predicates.md (mux1_brcst_element): New. | |
13611 | * config/ia64/ia64-protos.h (ia64_unpack_assemble): New. | |
13612 | * config/ia64/ia64.c (ia64_unpack_assemble): New. | |
13613 | (ia64_unpack_sign): New. | |
13614 | (ia64_expand_unpack): Rewrite using new routines. | |
13615 | (ia64_expand_widen_sum): Ditto. | |
13616 | (ia64_expand_dot_prod_v8qi): Ditto. | |
13617 | * config/ia64/vect.md (mulv8qi3): Rewrite to use new | |
13618 | routines, add endian check. | |
13619 | (pmpy2_even): Rename from pmpy2_r, add endian check. | |
13620 | (pmpy2_odd): Rename from pmpy2_l, add endian check. | |
13621 | (vec_widen_smult_lo_v4hi): Rewrite using new routines. | |
13622 | (vec_widen_smult_hi_v4hi): Ditto. | |
13623 | (vec_widen_umult_lo_v4hi): Ditto. | |
13624 | (vec_widen_umult_hi_v4hi): Ditto. | |
13625 | (mulv2si3): Change endian checks. | |
13626 | (sdot_prodv4hi): Rewrite with new calls. | |
13627 | (udot_prodv4hi): New. | |
13628 | (vec_pack_ssat_v4hi): Add endian check. | |
13629 | (vec_pack_usat_v4hi): Ditto. | |
13630 | (vec_pack_ssat_v2si): Ditto. | |
13631 | (max1_even): Rename from max1_r, add endian check. | |
13632 | (max1_odd): Rename from max1_l, add endian check. | |
13633 | (*mux1_rev): Format change. | |
13634 | (*mux1_mix): Ditto. | |
13635 | (*mux1_shuf): Ditto. | |
13636 | (*mux1_alt): Ditto. | |
13637 | (*mux1_brcst_v8qi): Use new predicate. | |
13638 | (vec_extract_evenv8qi): Remove endian check. | |
13639 | (vec_extract_oddv8qi): Ditto. | |
13640 | (vec_interleave_lowv4hi): Format change. | |
13641 | (vec_interleave_highv4hi): Ditto. | |
13642 | (mix2_even): Rename from mix2_r, add endian check. | |
13643 | (mix2_odd): Rename from mux2_l, add endian check. | |
13644 | (*mux2): Fix mask setting for TARGET_BIG_ENDIAN. | |
13645 | (vec_extract_evenodd_helper): Format change. | |
13646 | (vec_extract_evenv4hi): Remove endian check. | |
13647 | (vec_extract_oddv4hi): Remove endian check. | |
13648 | (vec_interleave_lowv2si): Format change. | |
13649 | (vec_interleave_highv2si): Format change. | |
13650 | (vec_initv2si): Remove endian check. | |
13651 | (vecinit_v2si): Add endian check. | |
13652 | (reduc_splus_v2sf): Add endian check. | |
13653 | (reduc_smax_v2sf): Ditto. | |
13654 | (reduc_smin_v2sf): Ditto. | |
13655 | (vec_initv2sf): Remove endian check. | |
13656 | (fpack): Add endian check. | |
13657 | (fswap): Add endian check. | |
13658 | (vec_interleave_highv2sf): Add endian check. | |
13659 | (vec_interleave_lowv2sf): Add endian check. | |
13660 | (fmix_lr): Add endian check. | |
13661 | (vec_setv2sf): Format change. | |
13662 | (*vec_extractv2sf_0_be): Use shift to extract operand. | |
13663 | (*vec_extractv2sf_1_be): New. | |
13664 | (vec_pack_trunc_v4hi): Add endian check. | |
13665 | (vec_pack_trunc_v2si): Format change. | |
13666 | ||
dcde5957 JJ |
13667 | 2011-02-04 Jakub Jelinek <jakub@redhat.com> |
13668 | ||
13669 | PR inline-asm/23200 | |
13670 | * tree-ssa-ter.c (is_replaceable_p): Add TER argument. Don't | |
38be4072 | 13671 | do bb, locus and block comparison and disallow loads if it is not set. |
dcde5957 JJ |
13672 | (stmt_is_replaceable_p): New function. |
13673 | (process_replaceable, find_replaceable_in_bb): Adjust is_replaceable_p | |
13674 | callers. | |
13675 | * expr.c (expand_expr_real_1) <case SSA_NAME>: If | |
13676 | get_gimple_for_ssa_name try for EXPAND_INITIALIZER harder to use | |
13677 | SSA_NAME_DEF_STMT. | |
13678 | * tree-flow.h (stmt_is_replaceable_p): New prototype. | |
13679 | ||
a64a8e5a JM |
13680 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
13681 | ||
13682 | * config/rs6000/xilinx.opt: New. | |
13683 | * config.gcc (powerpc-xilinx-eabi*): Use rs6000/xilinx.opt. | |
13684 | ||
4da2ed2f JM |
13685 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
13686 | ||
13687 | * config/mips/mips.opt (EB, EL, noasmopt): New Driver options. | |
13688 | ||
a6e508f9 AS |
13689 | 2011-02-03 Anatoly Sokolov <aesok@post.ru> |
13690 | ||
13691 | * config/xtensa/xtensa.h (PREFERRED_RELOAD_CLASS, | |
13692 | PREFERRED_OUTPUT_RELOAD_CLASS): Remove. | |
13693 | * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class, | |
13694 | secondary_reload_info, xtensa_secondary_reload): Remove. | |
13695 | * config/xtensa/xtensa.c (TARGET_PREFERRED_RELOAD_CLASS, | |
13696 | TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. | |
13697 | (xtensa_preferred_reload_class): Make static. Change return and | |
13698 | 'rclass' argument type to reg_class_t. Remove 'isoutput' argument. | |
13699 | Use CONST_DOUBLE_P predicate. | |
13700 | (xtensa_preferred_output_reload_class): New function. | |
13701 | (xtensa_secondary_reload): Make static. | |
13702 | ||
82dc0de3 JM |
13703 | 2011-02-03 Joseph Myers <joseph@codesourcery.com> |
13704 | ||
13705 | * config/microblaze/microblaze.opt (Zxl-mode-bootstrap, | |
13706 | Zxl-mode-executable, Zxl-mode-novectors, Zxl-mode-xilkernel, | |
13707 | Zxl-mode-xmdstub, mxl-mode-xilkernel): New Driver options. | |
13708 | ||
7fece979 JJ |
13709 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
13710 | ||
13711 | PR middle-end/31490 | |
13712 | * output.h (SECTION_RELRO): Define. | |
13713 | (SECTION_MACH_DEP): Adjust. | |
13714 | (get_variable_section): New prototype. | |
13715 | * varpool.c (varpool_finalize_named_section_flags): New function. | |
13716 | (varpool_assemble_pending_decls): Call it. | |
13717 | * cgraph.h (varpool_finalize_named_section_flags): New prototype. | |
13718 | * cgraphunit.c (cgraph_output_in_order): Call | |
13719 | varpool_finalize_named_section_flags. | |
13720 | * varasm.c (get_section): Allow section flags conflicts between | |
13721 | relro and read-only sections if the section hasn't been declared yet. | |
13722 | Set SECTION_OVERRIDE after diagnosing section type conflict. | |
13723 | (get_variable_section): No longer static. | |
13724 | (default_section_type_flags): Use SECTION_WRITE | SECTION_RELRO for | |
13725 | readonly sections that need relocations. | |
13726 | (decl_readonly_section_1): New function. | |
13727 | (decl_readonly_section): Use it. | |
13728 | ||
13729 | Revert: | |
509d65dd | 13730 | 2010-11-17 Dinar Temirbulatov <dtemirbulatov@gmail.com> |
7fece979 JJ |
13731 | Steve Ellcey <sje@cup.hp.com> |
13732 | ||
13733 | PR middle-end/31490 | |
13734 | * varasm.c (categorize_decl_for_section): Ignore reloc_rw_mask | |
13735 | if section attribute used. | |
13736 | ||
d18d5478 JJ |
13737 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
13738 | ||
13739 | * config/darwin.h (SECTION_NO_ANCHOR): Remove. | |
13740 | * config/darwin.c (SECTION_NO_ANCHOR): Define. | |
13741 | (darwin_init_sections): Remove assertion. | |
13742 | ||
6479ed4b NC |
13743 | 2011-02-03 Nick Clifton <nickc@redhat.com> |
13744 | ||
13745 | * config/rx/predicates.md (rx_zs_comparison_operator): Remove | |
13746 | lt and ge. | |
38be4072 | 13747 | * config/rx/rx.md (abssi2_flags): Use CC_ZSmode rather than CC_ZSOmode. |
6479ed4b NC |
13748 | * config/rx/rx.c (rx_print_operand): Use "lt" and "ge" suffixes |
13749 | instead of "n" and "pz". | |
13750 | (flags_from_code): LT and GE tests need CC_FLAG_O as well as | |
13751 | CC_FLAG_S. | |
13752 | ||
89843f5d JJ |
13753 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
13754 | ||
65450d64 JJ |
13755 | PR target/47312 |
13756 | * expr.c (expand_expr_real_2) <case FMA_EXPR>: If target doesn't expand | |
13757 | fma, expand FMA_EXPR as fma{,f,l} call. | |
13758 | ||
7d58701c JJ |
13759 | PR lto/47274 |
13760 | * lto-streamer-out.c (write_symbol): When writing kind and visibility, | |
13761 | copy them into a unsigned char variable and pass address of it to | |
13762 | lto_output_data_stream. | |
13763 | ||
89843f5d JJ |
13764 | PR target/47564 |
13765 | * toplev.c (target_reinit): Save and restore *crtl and regno_reg_rtx | |
13766 | around backend_init_target and lang_dependent_init_target calls. | |
13767 | * cgraphunit.c (cgraph_debug_gimple_stmt): New function. | |
13768 | (verify_cgraph_node): Don't call set_cfun here. Use | |
13769 | cgraph_debug_gimple_stmt instead of debug_gimple_stmt. | |
13770 | Set error_found for incorrectly represented calls to thunks. | |
13771 | ||
4deef538 AO |
13772 | 2011-02-03 Alexandre Oliva <aoliva@redhat.com> |
13773 | ||
13774 | PR debug/43092 | |
13775 | PR rtl-optimization/43494 | |
13776 | * rtl.h (for_each_inc_dec_fn): New type. | |
13777 | (for_each_inc_dec): Declare. | |
13778 | * rtlanal.c (struct for_each_inc_dec_ops): New type. | |
13779 | (for_each_inc_dec_find_inc_dec): New fn. | |
13780 | (for_each_inc_dec_find_mem): New fn. | |
13781 | (for_each_inc_dec): New fn. | |
13782 | * dse.c (struct insn_size): Remove. | |
13783 | (replace_inc_dec, replace_inc_dec_mem): Remove. | |
13784 | (emit_inc_dec_insn_before): New fn. | |
13785 | (check_for_inc_dec): Use it, along with for_each_inc_dec. | |
13786 | (canon_address): Pass mem modes to cselib_lookup. | |
13787 | * cselib.h (cselib_lookup): Add memmode argument. Adjust callers. | |
13788 | (cselib_lookup_from_insn): Likewise. | |
13789 | (cselib_subst_to_values): Likewise. | |
13790 | * cselib.c (find_slot_memmode): New var. | |
13791 | (cselib_find_slot): New fn. Use it instead of | |
13792 | htab_find_slot_with_hash everywhere. | |
13793 | (entry_and_rtx_equal_p): Use find_slot_memmode. | |
13794 | (autoinc_split): New fn. | |
13795 | (rtx_equal_for_cselib_p): Rename and implement in terms of... | |
13796 | (rtx_equal_for_cselib_1): ... this. Take memmode, pass it on. | |
13797 | Deal with autoinc. Special-case recursion into MEMs. | |
13798 | (cselib_hash_rtx): Likewise. | |
13799 | (cselib_lookup_mem): Infer pmode from address mode. Distinguish | |
13800 | address and MEM modes. | |
13801 | (cselib_subst_to_values): Add memmode, pass it on. | |
13802 | Deal with autoinc. | |
13803 | (cselib_lookup): Add memmode argument, pass it on. | |
13804 | (cselib_lookup_from_insn): Add memmode. | |
13805 | (cselib_invalidate_rtx): Discard obsolete push_operand handling. | |
13806 | (struct cselib_record_autoinc_data): New. | |
13807 | (cselib_record_autoinc_cb): New fn. | |
13808 | (cselib_record_sets): Use it, along with for_each_inc_dec. Pass MEM | |
13809 | mode to cselib_lookup. Reset autoinced REGs here instead of... | |
13810 | (cselib_process_insn): ... here. | |
13811 | * var-tracking.c (replace_expr_with_values, use_type): Pass MEM mode | |
13812 | to cselib_lookup. | |
13813 | (add_uses): Likewise, also to cselib_subst_to_values. | |
13814 | (add_stores): Likewise. | |
13815 | * sched-deps.c (add_insn_mem_dependence): Pass mode to | |
13816 | cselib_subst_to_values. | |
13817 | (sched_analyze_1, sched_analyze_2): Likewise. Adjusted. | |
13818 | * gcse.c (do_local_cprop): Adjusted. | |
13819 | * postreload.c (reload_cse_simplify_set): Adjusted. | |
13820 | (reload_cse_simplify_operands): Adjusted. | |
13821 | * sel-sched-dump (debug_mem_addr_value): Pass mode. | |
13822 | ||
1551d44a AO |
13823 | 2011-02-03 Alexandre Oliva <aoliva@redhat.com> |
13824 | ||
13825 | PR tree-optimization/45122 | |
13826 | * tree-ssa-loop-niter.c (number_of_iterations_exit): Don't make | |
13827 | unsafe assumptions when there's more than one loop exit. | |
13828 | ||
c9485473 MM |
13829 | 2011-02-02 Michael Meissner <meissner@linux.vnet.ibm.com> |
13830 | ||
13831 | PR target/47272 | |
13832 | * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): | |
13833 | Document using vector double with the load/store builtins, and | |
13834 | that the load/store builtins always use Altivec instructions. | |
13835 | ||
13836 | * config/rs6000/vector.md (vector_altivec_load_<mode>): New insns | |
13837 | to use altivec memory instructions, even on VSX. | |
13838 | (vector_altivec_store_<mode>): Ditto. | |
13839 | ||
13840 | * config/rs6000/rs6000-protos.h (rs6000_address_for_altivec): New | |
13841 | function. | |
13842 | ||
13843 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add | |
13844 | V2DF, V2DI support to load/store overloaded builtins. | |
13845 | ||
13846 | * config/rs6000/rs6000-builtin.def (ALTIVEC_BUILTIN_*): Add | |
13847 | altivec load/store builtins for V2DF/V2DI types. | |
13848 | ||
13849 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't | |
13850 | set avoid indexed addresses on power6 if -maltivec. | |
13851 | (altivec_expand_ld_builtin): Add V2DF, V2DI support, use | |
13852 | vector_altivec_load/vector_altivec_store builtins. | |
13853 | (altivec_expand_st_builtin): Ditto. | |
13854 | (altivec_expand_builtin): Add VSX memory builtins. | |
13855 | (rs6000_init_builtins): Add V2DI types to internal types. | |
13856 | (altivec_init_builtins): Add support for V2DF/V2DI altivec | |
13857 | load/store builtins. | |
13858 | (rs6000_address_for_altivec): Insure memory address is appropriate | |
13859 | for Altivec. | |
13860 | ||
13861 | * config/rs6000/vsx.md (vsx_load_<mode>): New expanders for | |
13862 | vec_vsx_ld and vec_vsx_st. | |
13863 | (vsx_store_<mode>): Ditto. | |
13864 | ||
13865 | * config/rs6000/rs6000.h (RS6000_BTI_long_long): New type | |
13866 | variables to hold long long types for VSX vector memory builtins. | |
13867 | (RS6000_BTI_unsigned_long_long): Ditto. | |
13868 | (long_long_integer_type_internal_node): Ditti. | |
13869 | (long_long_unsigned_type_internal_node): Ditti. | |
13870 | ||
13871 | * config/rs6000/altivec.md (UNSPEC_LVX): New UNSPEC. | |
13872 | (altivec_lvx_<mode>): Make altivec_lvx use a mode iterator. | |
13873 | (altivec_stvx_<mode>): Make altivec_stvx use a mode iterator. | |
13874 | ||
13875 | * config/rs6000/altivec.h (vec_vsx_ld): Define VSX memory builtin | |
13876 | short cuts. | |
13877 | (vec_vsx_st): Ditto. | |
13878 | ||
b24d1acf JM |
13879 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
13880 | ||
13881 | * config/pa/pa-hpux10.opt: New. | |
13882 | * config/hpux11.opt (pthread): New Driver option. | |
13883 | * config/pa/pa-hpux.opt (nolibdld, rdynamic): New Driver options. | |
13884 | * config.gcc (hppa[12]*-*-hpux10*): Use pa/pa-hpux10.opt. | |
13885 | ||
aa18dd0f JM |
13886 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
13887 | ||
13888 | * config/ia64/vms.opt: New. | |
13889 | * config.gcc (ia64-hp-*vms*): Use ia64/vms.opt. | |
13890 | ||
28fc3eee MM |
13891 | 2011-02-01 Michael Meissner <meissner@linux.vnet.ibm.com> |
13892 | ||
13893 | PR target/47580 | |
13894 | * config/rs6000/vsx.md (vsx_float<VSi><mode>2): Use | |
13895 | gpc_reg_operand instead of vsx_register_operand to match rs6000.md | |
13896 | generator functions. | |
13897 | (vsx_floatuns<VSi><mode>2): Ditto. | |
13898 | (vsx_fix_trunc<mode><VSi>2): Ditto. | |
13899 | (vsx_fixuns_trunc<mode><VSi>2): Ditto. | |
13900 | ||
b5838b1f JM |
13901 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
13902 | ||
13903 | * config/i386/djgpp.opt (posix): New Driver option. | |
13904 | ||
0db8fa89 GP |
13905 | 2011-02-02 Gerald Pfeifer <gerald@pfeifer.com> |
13906 | ||
13907 | * config.gcc (*-*-freebsd[12], *-*-freebsd[12].*, *-*-freebsd*aout*): | |
13908 | Move to the unsupported targets list. | |
13909 | ||
9cd4f22a PB |
13910 | 2011-02-02 Peter Bergner <bergner@vnet.ibm.com> |
13911 | ||
13912 | PR rtl-optimization/47525 | |
13913 | * df-scan.c: Update copyright years. | |
13914 | (df_get_call_refs): Do not mark global registers as DF_REF_REG_USE | |
13915 | and non-clobber DF_REF_REG_DEF for calls to const and pure functions. | |
13916 | ||
9ed8059c RO |
13917 | 2011-02-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13918 | ||
13919 | * config/i386/sysv4.h (TARGET_VERSION): Remove. | |
13920 | (SUBTARGET_RETURN_IN_MEMORY): Remove. | |
13921 | (ASM_OUTPUT_ASCII): Remove. | |
13922 | * config/i386/sol2.h (SUBTARGET_RETURN_IN_MEMORY): Remove #undef. | |
13923 | ||
2a737389 JL |
13924 | 2011-02-02 Jeff Law <law@redhat.com> |
13925 | ||
13926 | PR middle-end/47543 | |
13927 | * reload.c (find_reloads_address): Handle reg+d address where both | |
13928 | components are invalid by reloading the entire address. | |
13929 | ||
9dac82c4 SP |
13930 | 2011-02-02 Sebastian Pop <sebastian.pop@amd.com> |
13931 | Richard Guenther <rguenther@suse.de> | |
13932 | ||
13933 | PR tree-optimization/40979 | |
13934 | PR bootstrap/47044 | |
13935 | * passes.c (init_optimization_passes): After LIM call copy_prop | |
13936 | and DCE to clean up. | |
13937 | * tree-ssa-loop.c (pass_graphite_transforms): Add TODO_dump_func. | |
13938 | ||
14dd9aab SP |
13939 | 2011-02-02 Sebastian Pop <sebastian.pop@amd.com> |
13940 | ||
13941 | PR tree-optimization/47576 | |
13942 | PR tree-optimization/47555 | |
13943 | * doc/invoke.texi (scev-max-expr-complexity): Documented. | |
13944 | * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. | |
13945 | (PARAM_SCEV_MAX_EXPR_COMPLEXITY): Declared. | |
13946 | * tree-scalar-evolution.c (follow_ssa_edge): Use | |
13947 | PARAM_SCEV_MAX_EXPR_COMPLEXITY. | |
13948 | ||
5cbf5c20 RG |
13949 | 2011-02-02 Richard Guenther <rguenther@suse.de> |
13950 | ||
13951 | PR tree-optimization/47566 | |
13952 | * builtins.c (builtin_save_expr): No SAVE_EXPR for SSA_NAMEs. | |
13953 | ||
83d70792 AO |
13954 | 2011-02-02 Alexandre Oliva <aoliva@redhat.com> |
13955 | ||
e829c321 AO |
13956 | PR debug/47106 |
13957 | PR debug/47402 | |
13958 | * tree-inline.c (declare_return_variable): Remove unused caller | |
13959 | variable. | |
13960 | ||
83d70792 AO |
13961 | PR debug/47106 |
13962 | PR debug/47402 | |
13963 | * tree-flow-inline.h (clear_is_used, is_used_p): New. | |
13964 | * cfgexpand.c (account_used_vars_for_block): Use them. | |
13965 | * tree-nrv.c (tree_nrv): Likewise. | |
13966 | * tree-ssa-live.c (remove_unused_scope_block_p): Likewise. | |
13967 | (dump_scope_block): Likewise. | |
13968 | (remove_unused_locals): Likewise. | |
13969 | ||
aaa2ac93 AO |
13970 | PR debug/47106 |
13971 | PR debug/47402 | |
13972 | * tree-inline.c (declare_return_variable): Add result decl to | |
13973 | local decls only once. | |
13974 | * gimple-low.c (record_vars_into): Mark newly-created variables | |
13975 | as referenced. | |
13976 | ||
a59d15cf AO |
13977 | 2011-02-02 Alexandre Oliva <aoliva@redhat.com> |
13978 | ||
13979 | PR debug/47498 | |
13980 | PR debug/47501 | |
13981 | PR debug/45136 | |
13982 | PR debug/45130 | |
13983 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
13984 | debug insns. | |
13985 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
13986 | treatment of boundary debug insns. | |
38be4072 | 13987 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
a59d15cf AO |
13988 | * sched-ebb.c (schedule_ebbs): Adjust skipping of debug insns. |
13989 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
13990 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
13991 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
13992 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
13993 | boundary debug insns. | |
13994 | * final.c (rest_of_clean_state): Clear notes' BB. | |
13995 | ||
6fc2f091 JM |
13996 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
13997 | ||
13998 | * config/openbsd.opt (assert=): New Driver option. | |
13999 | ||
fc523387 JM |
14000 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
14001 | ||
14002 | * config/i386/nto.opt: New. | |
14003 | * config.gcc (i[34567]86-*-nto-qnx*): Use i386/nto.opt. | |
14004 | ||
6d9821e5 JM |
14005 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
14006 | ||
14007 | * config/i386/netware.opt: New. | |
14008 | * config.gcc (i[3456x]86-*-netware*): Use i386/netware.opt. | |
14009 | ||
cef932d4 JM |
14010 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
14011 | ||
14012 | * config/interix.opt (posix): New Driver option. | |
14013 | ||
22843acd DD |
14014 | 2011-02-01 DJ Delorie <dj@redhat.com> |
14015 | ||
56490b74 DD |
14016 | * config/m32c/m32c.h (PTRDIFF_TYPE): Remove extra definition. |
14017 | ||
22843acd DD |
14018 | * config/m32c/m32c.c (m32c_regno_reg_class): Return smallest reg |
14019 | class for A0/A1. | |
14020 | ||
199c8f2f SP |
14021 | 2011-02-01 Sebastian Pop <sebastian.pop@amd.com> |
14022 | ||
14023 | PR tree-optimization/47561 | |
14024 | * toplev.c (process_options): Print the Graphite flags. Add | |
14025 | flag_loop_flatten to the list of options requiring Graphite. | |
14026 | ||
926bcf22 JM |
14027 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
14028 | ||
14029 | * config/i386/cygming.opt (posix): New Driver option. | |
14030 | ||
59793c51 JM |
14031 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
14032 | ||
14033 | * config/arm/vxworks.opt: New. | |
14034 | * config.gcc (arm-wrs-vxworks): Use arm/vxworks.opt. | |
14035 | ||
183c38a4 JM |
14036 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
14037 | ||
14038 | * config/alpha/elf.opt: New. | |
14039 | * config.gcc (alpha*-*-linux*, alpha*-*-gnu*, alpha*-*-freebsd*, | |
14040 | alpha*-*-netbsd*, alpha*-*-openbsd*): Use alpha/elf.opt. | |
14041 | ||
9939e416 RG |
14042 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
14043 | ||
14044 | PR tree-optimization/47559 | |
14045 | * tree-ssa-loop-im.c (can_sm_ref_p): Do not perform | |
14046 | store-motion on references that can throw. | |
14047 | ||
4a3c9687 BS |
14048 | 2011-02-01 Bernd Schmidt <bernds@codesourcery.com> |
14049 | ||
14050 | * tree-dump.c (dump_option_value_info): Add entry for TDF_CSELIB. | |
14051 | * tree-pass.h (TDF_CSELIB): New macro. | |
14052 | * cselib.c (new_cselib_val, expand_loc, cselib_expand_value_rtx_1, | |
14053 | cselib_lookup): Check for it rather than for TDF_DETAILS. | |
14054 | ||
dd3b31fb L |
14055 | 2011-02-01 H.J. Lu <hongjiu.lu@intel.com> |
14056 | ||
14057 | PR driver/47547 | |
14058 | * lto-wrapper.c (run_gcc): Don't add -dumpdir if linker_output | |
14059 | is HOST_BIT_BUCKET. | |
14060 | ||
14061 | * opts.c (finish_options): Don't add x_aux_base_name if it is | |
14062 | HOST_BIT_BUCKET. | |
14063 | ||
34c1de79 RG |
14064 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
14065 | ||
14066 | PR tree-optimization/47555 | |
14067 | Revert | |
14068 | 2010-07-15 Sebastian Pop <sebastian.pop@amd.com> | |
14069 | ||
14070 | * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. | |
14071 | ||
dd2804d2 SB |
14072 | 2011-02-01 Sebastien Bourdeauducq <sebastien@milkymist.org> |
14073 | ||
14074 | PR gcc/46692 | |
14075 | * config/lm32/t-lm32: Add multilib for all CPU options. | |
14076 | ||
3fd3b156 RG |
14077 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
14078 | ||
14079 | PR tree-optimization/47541 | |
14080 | * tree-ssa-structalias.c (push_fields_onto_fieldstack): Make | |
14081 | sure to have a field at offset zero. | |
14082 | ||
f16072b6 JM |
14083 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
14084 | ||
14085 | * config/arc/arc.opt (EB, EL): New Driver options. | |
14086 | ||
6456cf2e JM |
14087 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
14088 | ||
14089 | * config/alpha/osf5.opt: New. | |
14090 | * config.gcc (alpha*-dec-osf5.1*): Use alpha/osf5.opt. | |
14091 | ||
cdde6ab4 JM |
14092 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
14093 | ||
14094 | * config/vms/vms.opt (map, mvms-return-codes): New Driver options. | |
14095 | ||
7633415c SP |
14096 | 2011-01-31 Sebastian Pop <sebastian.pop@amd.com> |
14097 | ||
14098 | * common.opt (ftree-loop-linear): Use Alias to make it an alias of | |
14099 | -floop-interchange. | |
14100 | * invoke.texi (-ftree-loop-linear): Make it clear that this flag | |
14101 | is an alias of -floop-interchange and that it requires the | |
14102 | Graphite infrastructure. | |
14103 | * tree-ssa-loop.c (gate_graphite_transforms): Do not set | |
14104 | flag_loop_interchange based on the value of flag_tree_loop_linear. | |
14105 | ||
0425d6f5 JJ |
14106 | 2011-01-31 Jakub Jelinek <jakub@redhat.com> |
14107 | Richard Guenther <rguenther@suse.de> | |
14108 | ||
14109 | PR tree-optimization/47538 | |
14110 | * tree-ssa-ccp.c (bit_value_binop_1): For uns computation use | |
14111 | type instead of r1type, except for comparisons. For right | |
14112 | shifts and comparisons punt if there are mismatches in | |
14113 | sizetype vs. non-sizetype types. | |
14114 | ||
500b16c3 RO |
14115 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14116 | ||
14117 | * doc/sourcebuild.texi (Effective-Target Keywords): Document | |
14118 | avx_runtime. | |
14119 | ||
e279edb0 RO |
14120 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14121 | ||
14122 | * configure.ac (gcc_cv_ld_eh_frame_hdr): Update minimal Sun ld | |
14123 | version number. | |
14124 | * configure: Regenerate. | |
14125 | ||
c6092243 RO |
14126 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14127 | ||
14128 | * configure.ac (gcc_cv_ld_static_option): Define. | |
14129 | (gcc_cv_ld_dynamic_option): Define. | |
14130 | (gcc_cv_ld_static_dynamic): Tru64 UNIX support -noso/-so_archive | |
14131 | instead. | |
14132 | (HAVE_LD_STATIC_DYNAMIC): Update message. | |
14133 | (LD_STATIC_OPTION): Define. | |
14134 | (LD_DYNAMIC_OPTION): Define. | |
14135 | * configure: Regenerate. | |
14136 | * config.in: Regenerate. | |
14137 | * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS && | |
14138 | HAVE_LD_STATIC_DYNAMIC]: Use them. | |
14139 | ||
d7862be3 NC |
14140 | 2011-01-31 Nick Clifton <nickc@redhat.com> |
14141 | ||
14142 | * config/rx/rx.c (rx_get_stack_layout): Only save call clobbered | |
14143 | registers inside interrupt handlers if the handler is not a leaf | |
14144 | function. | |
14145 | ||
ba4ec0e0 NC |
14146 | 2011-01-31 Nick Clifton <nickc@redhat.com> |
14147 | ||
14148 | * config/mn10300/mn10300.c (mn10300_regno_in_class_p): Check for | |
14149 | reg_renumber returning an INVALID_REGNUM. | |
14150 | ||
29a63921 AO |
14151 | 2011-01-31 Alexandre Oliva <aoliva@redhat.com> |
14152 | ||
14153 | PR libgcj/44341 | |
14154 | * doc/install.texi: Document host options discarded when cross | |
14155 | configuring target libraries. | |
14156 | ||
ef591d3f AO |
14157 | 2011-01-31 Alexandre Oliva <aoliva@redhat.com> |
14158 | ||
14159 | Reverted: | |
14160 | 2011-01-25 Alexandre Oliva <aoliva@redhat.com> | |
14161 | PR debug/45136 | |
14162 | PR debug/45130 | |
14163 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
14164 | debug insns. | |
14165 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
14166 | treatment of boundary debug insns. | |
38be4072 | 14167 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
ef591d3f AO |
14168 | * sched-ebb.c (schedule_ebbs): Don't skip debug insns. |
14169 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
14170 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
14171 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
14172 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
14173 | boundary debug insns. | |
14174 | * final.c (rest_of_clean-state): Clear notes' BB. | |
14175 | ||
61052244 AM |
14176 | 2011-01-31 Alan Modra <amodra@gmail.com> |
14177 | ||
14178 | * config/rs6000/rs6000.c (print_operand): Rearrange addends in | |
14179 | toc relative expressions as we do in print_operand_address. | |
14180 | ||
c4c8962b KH |
14181 | 2011-01-30 Kazu Hirata <kazu@codesourcery.com> |
14182 | ||
14183 | * doc/extend.texi: Follow spelling conventions. | |
14184 | * doc/invoke.texi: Fix a typo. | |
14185 | ||
e543b94c JM |
14186 | 2011-01-30 Joseph Myers <joseph@codesourcery.com> |
14187 | ||
14188 | * config/hpux11.opt: New. | |
14189 | * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*, | |
14190 | ia64*-*-hpux*): Use hpux11.opt. | |
14191 | ||
509d65dd | 14192 | 2011-01-30 Jonathan Yong <jon_y@users.sourceforge.net> |
a70e0551 JY |
14193 | |
14194 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules | |
14195 | to tmake_file. | |
14196 | ||
7be03a0e GP |
14197 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> |
14198 | ||
14199 | * doc/install.texi (hppa-hp-hpux10): Remove references to HP | |
14200 | support sites. | |
14201 | ||
419d1d37 GP |
14202 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> |
14203 | ||
b596ed64 GP |
14204 | * doc/install.texi (Binaries): Remove outdated reference for |
14205 | Motorola 68HC11/68HC12 downloads. | |
14206 | ||
14207 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> | |
61052244 | 14208 | |
419d1d37 GP |
14209 | * doc/extend.texi (Thread-Local): Adjust reference to Ulrich |
14210 | Drepper's paper. | |
14211 | ||
4406d0e9 JW |
14212 | 2011-01-29 Jonathan Wakely <jwakely.gcc@gmail.com> |
14213 | ||
14214 | PR bootstrap/47147 | |
14215 | * ginclude/stddef.h: Check for _X86_64_ANSI_H_ and _I386_ANSI_H_ as | |
14216 | used by NetBSD. | |
14217 | ||
38be4072 | 14218 | 2011-01-28 Ahmad Sharif <asharif@google.com> |
e0b77418 AS |
14219 | |
14220 | * value-prof.c (check_counter): Corrected error message. | |
14221 | ||
0cd98787 JZ |
14222 | 2011-01-29 Jie Zhang <jie@codesourcery.com> |
14223 | ||
14224 | * config/arm/arm.c (arm_legitimize_reload_address): New. | |
14225 | * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use | |
14226 | arm_legitimize_reload_address. | |
38be4072 | 14227 | * config/arm/arm-protos.h (arm_legitimize_reload_address): Declare. |
0cd98787 | 14228 | |
9b798ac5 ILT |
14229 | 2011-01-28 Ian Lance Taylor <iant@google.com> |
14230 | ||
14231 | * godump.c (go_define): Ignore macros whose definitions include | |
14232 | two adjacent operands. | |
14233 | ||
591e29d9 JJ |
14234 | 2011-01-28 Jakub Jelinek <jakub@redhat.com> |
14235 | ||
14236 | PR target/42894 | |
14237 | * varasm.c (force_const_mem): Store copy of x in desc->constant | |
14238 | instead of x itself. | |
14239 | * expr.c (emit_move_insn): Add a copy of y_cst instead of y_cst | |
14240 | itself into REG_EQUAL note. | |
14241 | ||
62dcc44a JM |
14242 | 2011-01-28 Joseph Myers <joseph@codesourcery.com> |
14243 | ||
14244 | * config/freebsd.opt (posix, rdynamic): New Driver options. | |
14245 | ||
c9f58b9a RO |
14246 | 2011-01-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14247 | ||
14248 | * configure.ac (gcc_cv_ld_static_dynamic): IRIX 6 ld supports | |
14249 | -Bstatic/-Bdynamic. | |
14250 | * configure: Regenerate. | |
14251 | ||
5f02b9db JM |
14252 | 2011-01-27 Joseph Myers <joseph@codesourcery.com> |
14253 | ||
14254 | * config/rs6000/sysv4.h (LIB_NETBSD_SPEC): Don't handle -profile. | |
14255 | * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -profile. | |
14256 | ||
5df97412 AS |
14257 | 2011-01-27 Anatoly Sokolov <aesok@post.ru> |
14258 | ||
14259 | * config/s390/s390.h (PREFERRED_RELOAD_CLASS): Remove. | |
14260 | * config/s390/s390-protos.h (s390_preferred_reload_class): Remove. | |
14261 | * config/s390/s390.c (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
14262 | (s390_preferred_reload_class): Make static. Change return and | |
14263 | 'rclass' argument type to reg_class_t. | |
14264 | ||
779d4b91 JH |
14265 | 2011-01-27 Jan Hubicka <jh@suse.cz> |
14266 | ||
14267 | PR middle-end/46949 | |
14268 | * cgraphunit.c (process_common_attributes): Fix use of remove_attribute. | |
14269 | (process_function_and_variable_attributes): Check defined weakrefs. | |
14270 | ||
e80b21ed MJ |
14271 | 2011-01-27 Martin Jambor <mjambor@suse.cz> |
14272 | ||
14273 | PR tree-optimization/47228 | |
14274 | * tree-sra.c (sra_modify_assign): Use build_ref_for_model instead of | |
14275 | build_ref_for_offset. | |
14276 | ||
6dcc4f31 UW |
14277 | 2011-01-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
14278 | ||
14279 | * config/spu/spu-elf.h (ASM_SPEC): Remove. | |
14280 | ||
509d65dd | 14281 | 2011-01-26 Mikael Pettersson <mikpe@it.uu.se> |
3b8ff89f MP |
14282 | |
14283 | PR rtl-optimization/46856 | |
14284 | * postreload.c (reload_combine_recognize_const_pattern): Do not | |
14285 | separate cc0 setter and user on cc0 targets. | |
14286 | ||
04af8788 NP |
14287 | 2011-01-26 Nicola Pero <nicola.pero@meta-innovation.com> |
14288 | ||
14289 | PR c/43082 | |
14290 | * c-typeck.c (c_objc_common_truthvalue_conversion): If we are | |
14291 | passed a VOID_TYPE expression, immediately emit an error and | |
14292 | return error_mark_node. | |
14293 | ||
f7a60085 JL |
14294 | 2011-01-26 Jeff Law <law@redhat.com> |
14295 | ||
14296 | PR rtl-optimization/47464 | |
14297 | * df-problems.c (can_move_insn_across): Use may_trap_or_fault_p | |
14298 | rather than may_trap_p as needed. | |
14299 | ||
5c2917ec DD |
14300 | 2011-01-26 DJ Delorie <dj@redhat.com> |
14301 | ||
14302 | PR rtl-optimization/46878 | |
14303 | * combine.c (insn_a_feeds_b): Check for the implicit cc0 | |
14304 | setter/user dependency as well. | |
14305 | ||
bef16e87 EB |
14306 | 2011-01-26 Eric Botcazou <ebotcazou@adacore.com> |
14307 | ||
14308 | PR rtl-optimization/44469 | |
14309 | * cfgcleanup.c (try_optimize_cfg): Iterate in CFG layout mode too | |
14310 | after removing trivially dead basic blocks. | |
14311 | ||
c75d884b JM |
14312 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
14313 | ||
14314 | * config/bfin/bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}. | |
14315 | * config/frv/frv.h (LINK_SPEC): Likewise. | |
14316 | * config/i386/netware.h (LINK_SPEC): Likewise. | |
14317 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
14318 | * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise. | |
14319 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
14320 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
14321 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
14322 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
14323 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
14324 | ||
d3153553 JM |
14325 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
14326 | ||
14327 | * config/bfin/bfin.h (ASM_SPEC): Remove %{Ym,*}. | |
14328 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
14329 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
14330 | * config/pa/pa-linux.h (ASM_SPEC): Likewise. | |
14331 | * config/rs6000/linux64.h (ASM_SPEC): Likewise. | |
14332 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
14333 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
14334 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
14335 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
14336 | ||
b89b1e9d JM |
14337 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
14338 | ||
14339 | * config/bfin/bfin.h (LINK_SPEC): Remove %{YP,*}. | |
14340 | * config/frv/frv.h (LINK_SPEC): Likewise. | |
14341 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
14342 | ||
12eb1a9c JM |
14343 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
14344 | ||
14345 | * config/bfin/bfin.h (ASM_SPEC): Remove %{Yd,*}. | |
14346 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
14347 | * config/i386/sol2-10.h (ASM_SPEC): Likewise. | |
14348 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
14349 | * config/pa/pa-linux.h (ASM_SPEC): Likewise. | |
14350 | * config/rs6000/linux64.h (ASM_SPEC32): Likewise. | |
14351 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
14352 | * config/sol2.h (ASM_SPEC): Remove comment about -Yd,. | |
14353 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
14354 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
14355 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
14356 | * config/sparc/sysv4.h (ASM_SPEC): Remove %{Yd,*}. | |
14357 | ||
e435f098 SE |
14358 | 2011-01-26 Steve Ellcey <sje@cup.hp.com> |
14359 | ||
14360 | PR target/46997 | |
14361 | * config/ia64/vect.md (mulv2si3): Enable and fix for TARGET_BIG_ENDIAN. | |
14362 | (*mux2): Ditto. | |
14363 | (vec_extract_evenodd_help): Ditto. | |
14364 | (vec_extract_evenv4hi): Ditto. | |
14365 | (vec_extract_oddv4hi): Ditto. | |
14366 | (vec_interleave_lowv2si): Ditto. | |
14367 | (vec_interleave_highv2si): Ditto. | |
14368 | (vec_extract_evenv2si): Ditto. | |
14369 | (vec_extract_oddv2si: Ditto. | |
14370 | (vec_pack_trunc_v2si): Ditto. | |
14371 | ||
34f0eee0 JH |
14372 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
14373 | ||
14374 | PR target/47237 | |
14375 | * cgraph.h (cgraph_local_info): New field can_change_signature. | |
14376 | * ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee | |
14377 | signature can change. | |
14378 | (ipcp_estimate_growth): Call sequence simplify only if calle signature | |
14379 | can change. | |
14380 | (ipcp_insert_stage): Only compute args_to_skip if signature can change. | |
14381 | (cgraph_function_versioning): We can not change signature of functions | |
14382 | that don't allow that. | |
14383 | * lto-cgraph.c (lto_output_node): Stream local.can_change_signature. | |
14384 | (lto_input_node): Likewise. | |
38be4072 UB |
14385 | * ipa-inline.c (compute_inline_parameters): Compute |
14386 | local.can_change_signature. | |
34f0eee0 | 14387 | * ipa-split.c (visit_bb): Never split away APPLY_ARGS. |
38be4072 UB |
14388 | * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on |
14389 | functions that can not change signature. | |
34f0eee0 | 14390 | * i386.c (ix86_function_regparm, ix86_function_sseregparm, |
38be4072 UB |
14391 | init_cumulative_args): Do not use local calling conventions |
14392 | for functions that can not change signature. | |
34f0eee0 | 14393 | |
980ca891 JH |
14394 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
14395 | ||
14396 | * doc/invoke.texi (hot-bb-frequency-fraction): Commit forgotten hunk. | |
14397 | ||
768e3c60 RG |
14398 | 2011-01-26 Richard Guenther <rguenther@suse.de> |
14399 | ||
14400 | PR tree-optimization/47190 | |
61052244 AM |
14401 | * cgraphunit.c (process_common_attributes): New function. |
14402 | (process_function_and_variable_attributes): Use it. | |
768e3c60 | 14403 | |
21d6a1c7 RG |
14404 | 2011-01-26 Richard Guenther <rguenther@suse.de> |
14405 | ||
14406 | PR lto/47423 | |
14407 | * cgraphbuild.c (record_eh_tables): Record reference to personality | |
14408 | function. | |
14409 | ||
48bb58b1 AO |
14410 | 2011-01-26 Alexandre Oliva <aoliva@redhat.com> |
14411 | ||
14412 | PR debug/45454 | |
14413 | * sel-sched.c (moveup_expr): Don't let debug insns prevent | |
14414 | non-debug insns from moving up. | |
14415 | ||
58c741a6 DK |
14416 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
14417 | ||
14418 | PR target/40125 | |
14419 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable | |
14420 | t-dlldir{,-x} fragment for build and add it to tmake_file. | |
14421 | (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise. | |
14422 | * Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc. | |
14423 | * config/i386/t-dlldir: New file. | |
14424 | (SHLIB_DLLDIR): Define. | |
14425 | * config/i386/t-dlldir-x: New file. | |
14426 | (SHLIB_DLLDIR): Define. | |
14427 | * config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set. | |
14428 | (SHLIB_INSTALL): Use it. | |
14429 | ||
bff99262 CLT |
14430 | 2011-01-26 Chung-Lin Tang <cltang@codesourcery.com> |
14431 | ||
14432 | PR target/47246 | |
14433 | * config/arm/arm.c (thumb2_legitimate_index_p): Change the | |
14434 | lower bound of the allowed Thumb-2 coprocessor load/store | |
14435 | index range to -256. Add explaining comment. | |
14436 | ||
82c03907 ILT |
14437 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
14438 | ||
14439 | * godump.c (go_define): Improve lexing of macro expansion to only | |
14440 | accept expressions which match Go spec. | |
14441 | ||
47ea1edf DK |
14442 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
14443 | ||
d4dba752 | 14444 | PR c++/43601 |
47ea1edf DK |
14445 | * tree.c (handle_dll_attribute): Handle it. |
14446 | * doc/extend.texi (@item dllexport): Mention it. | |
14447 | * doc/invoke.texi (@item -fno-keep-inline-dllexport): Document it. | |
14448 | ||
744f0946 ILT |
14449 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
14450 | ||
14451 | PR tree-optimization/26854 | |
14452 | * c-decl.c (struct c_scope): Add field has_jump_unsafe_decl. | |
14453 | (decl_jump_unsafe): Move higher in file, with no other change. | |
14454 | (bind): Set has_jump_unsafe_decl if appropriate. | |
14455 | (update_label_decls): Test has_jump_unsafe_decl to avoid loop. | |
14456 | (check_earlier_gotos): Likewise. | |
14457 | (c_check_switch_jump_warnings): Likewise. | |
14458 | ||
5734f2b3 JW |
14459 | 2011-01-25 Jonathan Wakely <jwakely.gcc@gmail.com> |
14460 | ||
14461 | * doc/invoke.texi (Warning Options): Add missing hyphen. | |
14462 | (-fprofile-dir): Minor grammatical fixes. | |
14463 | (-fbranch-probabilities): Likewise. | |
14464 | ||
9bdbdcef AO |
14465 | 2011-01-25 Alexandre Oliva <aoliva@redhat.com> |
14466 | ||
14467 | PR debug/45136 | |
14468 | PR debug/45130 | |
14469 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
14470 | debug insns. | |
14471 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
14472 | treatment of boundary debug insns. | |
38be4072 | 14473 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
9bdbdcef AO |
14474 | * sched-ebb.c (schedule_ebbs): Don't skip debug insns. |
14475 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
14476 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
14477 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
14478 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
14479 | boundary debug insns. | |
14480 | * final.c (rest_of_clean-state): Clear notes' BB. | |
14481 | ||
b305e3da SP |
14482 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14483 | ||
14484 | * Makefile.in (LAMBDA_H): Removed. | |
14485 | (TREE_DATA_REF_H): Remove dependence on LAMBDA_H. | |
14486 | (OBJS-common): Remove dependence on lambda-code.o, lambda-mat.o, | |
14487 | lambda-trans.o, and tree-loop-linear.o. | |
14488 | (lto-symtab.o): Remove dependence on LAMBDA_H. | |
14489 | (tree-loop-linear.o): Remove rule. | |
14490 | (lambda-mat.o): Same. | |
14491 | (lambda-trans.o): Same. | |
14492 | (lambda-code.o): Same. | |
14493 | (tree-vect-loop.o): Add missing dependence on TREE_DATA_REF_H. | |
14494 | (tree-vect-slp.o): Same. | |
14495 | * hwint.h (gcd): Moved here. | |
14496 | (least_common_multiple): Same. | |
14497 | * lambda-code.c: Removed. | |
14498 | * lambda-mat.c: Removed. | |
14499 | * lambda-trans.c: Removed. | |
14500 | * lambda.h: Removed. | |
14501 | * tree-loop-linear.c: Removed. | |
14502 | * lto-symtab.c: Do not include lambda.h. | |
14503 | * omega.c (gcd): Removed. | |
14504 | * passes.c (init_optimization_passes): Remove pass_linear_transform. | |
14505 | * tree-data-ref.c (print_lambda_vector): Moved here. | |
14506 | (lambda_vector_copy): Same. | |
14507 | (lambda_matrix_copy): Same. | |
14508 | (lambda_matrix_id): Same. | |
14509 | (lambda_vector_first_nz): Same. | |
14510 | (lambda_matrix_row_add): Same. | |
14511 | (lambda_matrix_row_exchange): Same. | |
14512 | (lambda_vector_mult_const): Same. | |
14513 | (lambda_vector_negate): Same. | |
14514 | (lambda_matrix_row_negate): Same. | |
14515 | (lambda_vector_equal): Same. | |
14516 | (lambda_matrix_right_hermite): Same. | |
14517 | * tree-data-ref.h: Do not include lambda.h. | |
14518 | (lambda_vector): Moved here. | |
14519 | (lambda_matrix): Same. | |
14520 | (dependence_level): Same. | |
14521 | (lambda_transform_legal_p): Removed declaration. | |
14522 | (lambda_collect_parameters): Same. | |
14523 | (lambda_compute_access_matrices): Same. | |
14524 | (lambda_vector_gcd): Same. | |
14525 | (lambda_vector_new): Same. | |
14526 | (lambda_vector_clear): Same. | |
14527 | (lambda_vector_lexico_pos): Same. | |
14528 | (lambda_vector_zerop): Same. | |
14529 | (lambda_matrix_new): Same. | |
14530 | * tree-flow.h (least_common_multiple): Removed declaration. | |
14531 | * tree-parloops.c (lambda_trans_matrix): Moved here. | |
14532 | (LTM_MATRIX): Same. | |
14533 | (LTM_ROWSIZE): Same. | |
14534 | (LTM_COLSIZE): Same. | |
14535 | (LTM_DENOMINATOR): Same. | |
14536 | (lambda_trans_matrix_new): Same. | |
14537 | (lambda_matrix_vector_mult): Same. | |
14538 | (lambda_transform_legal_p): Same. | |
14539 | * tree-pass.h (pass_linear_transform): Removed declaration. | |
14540 | * tree-ssa-loop.c (tree_linear_transform): Removed. | |
14541 | (gate_tree_linear_transform): Removed. | |
14542 | (pass_linear_transform): Removed. | |
14543 | (gate_graphite_transforms): Make flag_tree_loop_linear an alias of | |
14544 | flag_loop_interchange. | |
14545 | ||
6bdfdb96 JJ |
14546 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
14547 | ||
14548 | PR tree-optimization/47265 | |
14549 | PR tree-optimization/47443 | |
14550 | * tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false | |
14551 | if name still has some uses. | |
14552 | ||
e4cba915 MJ |
14553 | 2011-01-25 Martin Jambor <mjambor@suse.cz> |
14554 | ||
14555 | PR tree-optimization/47382 | |
14556 | * gimple-fold.c (gimple_fold_obj_type_ref_call): Removed. | |
14557 | (gimple_fold_call): Do not call gimple_fold_obj_type_ref_call. | |
14558 | ||
509d65dd | 14559 | 2011-01-25 Joel Sherrill <joel.sherrill@oarcorp.com> |
f822b8ea JS |
14560 | |
14561 | * config/m32r/m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to | |
14562 | sjlj_except_unwind_info. | |
14563 | ||
194313e2 RG |
14564 | 2011-01-25 Richard Guenther <rguenther@suse.de> |
14565 | ||
14566 | PR tree-optimization/47426 | |
14567 | * tree-ssa-structalias.c (ipa_pta_execute): Make externally | |
14568 | visible functions results escape. | |
14569 | ||
147a0bcf JJ |
14570 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
14571 | ||
14572 | PR target/45701 | |
14573 | * config/arm/arm.c (any_sibcall_uses_r3): New function. | |
14574 | (arm_get_frame_offsets): Use it. | |
14575 | ||
db963b52 SP |
14576 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14577 | Jakub Jelinek <jakub@redhat.com> | |
14578 | ||
14579 | PR tree-optimization/47271 | |
14580 | * tree-if-conv.c (bb_postdominates_preds): New. | |
14581 | (if_convertible_bb_p): Call bb_postdominates_preds. | |
14582 | (if_convertible_loop_p_1): Compute CDI_POST_DOMINATORS. | |
14583 | (predicate_scalar_phi): Call bb_postdominates_preds. | |
14584 | ||
bcddd3b9 NC |
14585 | 2011-01-25 Nick Clifton <nickc@redhat.com> |
14586 | ||
14587 | * config/rx/rx.h (LIBCALL_VALUE): Do not promote complex types. | |
14588 | * config/rx/rx.c (rx_function_value): Likewise. | |
14589 | (rx_promote_function_mode): Likewise. | |
14590 | (gen_safe_add): Place an outsized immediate value inside an UNSPEC | |
14591 | in order to make it legitimate. | |
38be4072 UB |
14592 | * config/rx/rx.md (adddi3_internal): If the second operand is a MEM |
14593 | make sure that the first operand is the same as the result register. | |
bcddd3b9 NC |
14594 | (addsi3_unspec): Delete. |
14595 | (subdi3): Do not accept immediate operands. | |
14596 | (subdi3_internal): Likewise. | |
14597 | ||
7e6cb022 JL |
14598 | 2011-01-25 Jeff Law <law@redhat.com> |
14599 | ||
14600 | PR rtl-optimization/37273 | |
14601 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
14602 | handle them like argument loads from stack slots. Do not double | |
14603 | count memory for memory constants and argument loads from stack slots. | |
14604 | ||
9ffa621e JJ |
14605 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
14606 | ||
14607 | PR tree-optimization/47427 | |
14608 | PR tree-optimization/47428 | |
14609 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't | |
14610 | coalesce if the new root var would be TREE_READONLY. | |
14611 | ||
5bd6e652 RG |
14612 | 2011-01-25 Richard Guenther <rguenther@suse.de> |
14613 | ||
14614 | PR middle-end/47414 | |
14615 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Use the | |
14616 | correct type for TBAA. | |
14617 | ||
7c48ea69 SP |
14618 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14619 | ||
14620 | * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New. | |
14621 | (close_phi_written_to_memory): Call for_each_index with | |
14622 | dr_indices_valid_in_loop. | |
14623 | ||
38013f25 SP |
14624 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14625 | ||
14626 | * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN | |
14627 | when it is initialized. | |
14628 | ||
5c640e29 SP |
14629 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14630 | ||
14631 | * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Update | |
14632 | call to graphite_find_data_references_in_stmt. | |
14633 | * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New. | |
14634 | (try_generate_gimple_bb): Call outermost_loop_in_sese_1. Update | |
14635 | call to graphite_find_data_references_in_stmt. | |
14636 | (analyze_drs_in_stmts): Same. | |
14637 | * tree-data-ref.c (dr_analyze_indices): Pass in parameter the loop | |
14638 | in which the scalar analysis of indices is performed. | |
14639 | (create_data_ref): Same. Update call to dr_analyze_indices. | |
14640 | (find_data_references_in_stmt): Update call to create_data_ref. | |
14641 | (graphite_find_data_references_in_stmt): Same. | |
14642 | * tree-data-ref.h (graphite_find_data_references_in_stmt): Update | |
14643 | declaration. | |
14644 | (create_data_ref): Same. | |
14645 | * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Update | |
14646 | call to create_data_ref. | |
14647 | ||
ac53c069 SP |
14648 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14649 | ||
14650 | * graphite-sese-to-poly.c (build_poly_scop): Move | |
38be4072 | 14651 | rewrite_commutative_reductions_out_of_ssa before find_scop_parameters. |
ac53c069 | 14652 | |
3d17df15 SP |
14653 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14654 | ||
14655 | * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow | |
14656 | VAR_DECL, PARM_DECL, and RESULT_DECL. | |
14657 | ||
c513da01 SP |
14658 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14659 | ||
14660 | * graphite-dependences.c (reduction_dr_1): Allow several reductions | |
14661 | in a reduction PBB. | |
14662 | * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs | |
14663 | that have already been marked as PBB_IS_REDUCTION. | |
14664 | ||
3a292d59 SP |
14665 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14666 | ||
14667 | * graphite-scop-detection.c (same_close_phi_node): New. | |
14668 | (remove_duplicate_close_phi): New. | |
14669 | (make_close_phi_nodes_unique): New. | |
14670 | (canonicalize_loop_closed_ssa): Call make_close_phi_nodes_unique. | |
14671 | ||
ba858447 SP |
14672 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14673 | ||
14674 | * graphite-dependences.c (new_poly_ddr): Call same_pdr_p. | |
14675 | * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE | |
14676 | of both data references to be the same. | |
14677 | ||
8d865c56 SP |
14678 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14679 | ||
38be4072 UB |
14680 | * graphite-dependences.c (build_lexicographical_constraint): Remove |
14681 | the gdim parameter. | |
14682 | (build_lexicographical_constraint): Adjust call to | |
14683 | ppl_powerset_is_empty. | |
8d865c56 SP |
14684 | (dependence_polyhedron): Same. |
14685 | (graphite_legal_transform_dr): Same. | |
14686 | (graphite_carried_dependence_level_k): Same. | |
38be4072 UB |
14687 | * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params |
14688 | parameter. | |
8d865c56 SP |
14689 | * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration. |
14690 | ||
50034a36 SP |
14691 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14692 | ||
14693 | * graphite-sese-to-poly.c | |
14694 | (translate_scalar_reduction_to_array_for_stmt): Call unshare_expr. | |
14695 | (close_phi_written_to_memory): New. | |
14696 | (translate_scalar_reduction_to_array): Call close_phi_written_to_memory | |
14697 | and unshare_expr. | |
14698 | ||
0deada9e SP |
14699 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14700 | ||
14701 | * doc/install.texi: Update the expected version number of PPL to 0.11. | |
14702 | * graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under | |
14703 | #if PPL_VERSION_MINOR < 11. | |
14704 | ||
d7d3d6af SP |
14705 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14706 | ||
14707 | * graphite-dependences.c: Include graphite-cloog-util.h. | |
14708 | (new_poly_ddr): Inlined into dependence_polyhedron. | |
14709 | (free_poly_ddr): Moved close by new_poly_ddr. | |
14710 | (dependence_polyhedron_1): Renamed dependence_polyhedron. | |
14711 | Early return NULL when ppl_powerset_is_empty returns true. | |
14712 | (dependence_polyhedron): Renamed new_poly_ddr. Call only once | |
14713 | poly_drs_may_alias_p. Avoid one call to ppl_powerset_is_empty. | |
14714 | (graphite_legal_transform_dr): Call new_poly_ddr. | |
14715 | (graphite_carried_dependence_level_k): Same. | |
14716 | (dot_original_deps_stmt_1): Renamed dot_deps_stmt_2. Use new_poly_ddr. | |
14717 | (dot_transformed_deps_stmt_1): Removed. | |
14718 | (dot_deps_stmt_1): Call dot_deps_stmt_2. | |
14719 | (dot_original_deps): Renamed dot_deps_2. Call new_poly_ddr. | |
14720 | (dot_deps_1): Call dot_deps_2. | |
14721 | * Makefile.in (graphite-dependences.o): Add missing dependence on | |
14722 | graphite-cloog-util.h. | |
14723 | ||
28c5db57 SP |
14724 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14725 | ||
14726 | * graphite-dependences.c (new_poly_dr): Call ppl_powerset_is_empty. | |
14727 | (build_lexicographical_constraint): Same. | |
14728 | (dependence_polyhedron_1): Same. | |
14729 | (graphite_legal_transform_dr): Same. | |
14730 | (graphite_carried_dependence_level_k): Same. | |
14731 | * graphite-ppl.c (ppl_powerset_is_empty): New. | |
14732 | * graphite-ppl.h (ppl_powerset_is_empty): Declared. | |
14733 | * tree-data-ref.c (dump_data_reference): Print the basic block index. | |
14734 | ||
5168d98f SP |
14735 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14736 | ||
14737 | * graphite-dependences.c (build_pairwise_scheduling): Correctly compute | |
14738 | the "a followed by b" relation and document it. | |
14739 | ||
4a40293a SP |
14740 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14741 | ||
14742 | * graphite-dependences.c (build_lexicographical_constraint): Stop the | |
14743 | iteration when the bag of constraints is empty. | |
14744 | ||
271fb6fa SP |
14745 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14746 | ||
14747 | * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work. | |
14748 | ||
92d23680 SP |
14749 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14750 | ||
14751 | * graphite-interchange.c (lst_interchange_profitable_p): Takes a loop | |
14752 | nest and two loop depths as parameters. | |
14753 | (lst_try_interchange_loops): Call lst_interchange_profitable_p after | |
14754 | lst_perfect_nestify. | |
14755 | ||
2f51deff SP |
14756 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14757 | ||
14758 | * graphite-dependences.c (print_pddr): Call | |
14759 | ppl_io_fprint_Pointset_Powerset_C_Polyhedron. | |
14760 | ||
07f3593c SP |
14761 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
14762 | ||
14763 | * graphite-ppl.c (debug_gmp_value): New. | |
14764 | * graphite-ppl.h (debug_gmp_value): Declared. | |
14765 | ||
3fae6099 TG |
14766 | 2011-01-25 Tobias Grosser <grosser@fim.uni-passau.de> |
14767 | ||
14768 | * doc/install.texi: Document availability of cloog-0.16. | |
14769 | ||
1c3ba85b SP |
14770 | 2011-01-25 Vladimir Kargov <kargov@gmail.com> |
14771 | ||
14772 | * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Free | |
14773 | invalid postdominance info. | |
14774 | ||
e8ba94fc JH |
14775 | 2011-01-24 Jan Hubicka <jh@suse.cz> |
14776 | ||
14777 | PR c/21659 | |
14778 | * doc/extend.texi (weak pragma): Drop claim that it must | |
14779 | appear before definition. | |
14780 | * varasm.c (merge_weak, declare_weak): Only sanity check | |
14781 | that DECL is not output at a time it is declared weak. | |
14782 | ||
2b6e2d13 KZ |
14783 | 2011-01-24 Kenneth Zadeck <zadeck@naturalbridge.com> |
14784 | ||
14785 | * machmode.def: Fixed comments. | |
1c3ba85b | 14786 | |
9841210f KT |
14787 | 2011-01-24 Kai Tietz <kai.tietz@onevision.com> |
14788 | ||
14789 | * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t. | |
14790 | ||
14791 | 2011-01-24 Paul Koning <ni1d@arrl.net> | |
e046112d PK |
14792 | |
14793 | * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN != | |
1c3ba85b | 14794 | WORDS_BIG_ENDIAN. |
e046112d | 14795 | |
a6c5070a L |
14796 | 2011-01-24 H.J. Lu <hongjiu.lu@intel.com> |
14797 | ||
14798 | PR target/46519 | |
14799 | * config/i386/i386.c: Include sbitmap.h and fibheap.h. | |
14800 | (block_info): Add scanned and prev. | |
14801 | (move_or_delete_vzeroupper_2): Return if the basic block | |
14802 | has been scanned and the upper 128bit state is unchanged | |
14803 | from the last scan. | |
14804 | (move_or_delete_vzeroupper_1): Return true if the exit | |
14805 | state is changed. | |
14806 | (move_or_delete_vzeroupper): Visit basic blocks using the | |
14807 | work-list based algorithm based on vt_find_locations in | |
14808 | var-tracking.c. | |
14809 | ||
14810 | * config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H). | |
14811 | ||
a40d79d7 NC |
14812 | 2011-01-24 Nick Clifton <nickc@redhat.com> |
14813 | ||
14814 | * config/v850/v850.opt (mv850es): New option - alias for -mv850e1. | |
14815 | * config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass | |
14816 | -mv850e1 to the assembler. If -mv850e1 or -mv850es is specified | |
14817 | then define __v850e1__. | |
14818 | * doc/invoke.texi: Document -mv850es. | |
14819 | ||
440eb8de RH |
14820 | 2011-01-24 Richard Henderson <rth@redhat.com> |
14821 | ||
14822 | * config/rx/predicates.md (rx_fp_comparison_operator): Don't accept | |
14823 | compound unordered comparisons. | |
14824 | * config/rx/rx.c (rx_split_fp_compare): Remove. | |
14825 | * config/rx/rx-protos.h: Update. | |
14826 | * config/rx/rx.md (gcc_conds, rx_conds): Remove. | |
14827 | (cbranchsf4): Don't call rx_split_fp_compare. | |
14828 | (*cbranchsf4): Use rx_split_cbranch. | |
14829 | (*cmpsf): Don't accept "i" constraint. | |
14830 | (*conditional_branch): Only valid after reload. | |
14831 | (cstoresf4): Merge expander with insn. Don't call rx_split_fp_compare. | |
14832 | ||
3ff79f99 MM |
14833 | 2011-01-24 Michael Meissner <meissner@linux.vnet.ibm.com> |
14834 | ||
14835 | PR target/47385 | |
14836 | * config/rs6000/altivec.md (vector constant splitters): Add | |
14837 | support for creating vector single precision constants if -mvsx is | |
14838 | used and we would create the constant using Altivec primitives. | |
14839 | ||
ff3d9d08 BS |
14840 | 2011-01-23 Bernd Schmidt <bernds@codesourcery.com> |
14841 | Richard Sandiford <rdsandiford@googlemail.com> | |
14842 | ||
14843 | PR rtl-optimization/47166 | |
14844 | * reload1.c (emit_reload_insns): Disable the spill_reg_store | |
14845 | mechanism for PRE_MODIFY and POST_MODIFY. | |
14846 | (inc_for_reload): For PRE_MODIFY, return the insn that sets the | |
14847 | reloadreg. | |
14848 | ||
7fcaf152 AS |
14849 | 2011-01-23 Andreas Schwab <schwab@linux-m68k.org> |
14850 | ||
8788adb6 | 14851 | * compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers. |
7fcaf152 | 14852 | |
d09b58c4 JH |
14853 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
14854 | ||
14855 | PR lto/47333 | |
14856 | * lto-cgraph.c (reachable_from_this_partition_p): Fix pasto. | |
14857 | ||
e8ff8c5a JH |
14858 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
14859 | ||
14860 | PR tree-optimization/43884 | |
14861 | PR lto/44334 | |
8788adb6 | 14862 | * predict.c (maybe_hot_frequency_p): Use entry block frequency as base. |
e8ff8c5a JH |
14863 | * doc/invoke.texi (hot-bb-frequency-fraction): Update docs. |
14864 | ||
ccaed3ba AS |
14865 | 2011-01-22 Anatoly Sokolov <aesok@post.ru> |
14866 | ||
14867 | * config/s390/s390.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. | |
14868 | * config/s390/s390.c (s390_register_move_cost, | |
14869 | s390_memory_move_cost): New. | |
14870 | (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define. | |
14871 | ||
0cecee06 UW |
14872 | 2011-01-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
14873 | ||
14874 | PR middle-end/47401 | |
14875 | * except.c (sjlj_assign_call_site_values): Move setting the | |
14876 | crtl->uses_eh_lsda flag to ... | |
14877 | (sjlj_mark_call_sites): ... here. | |
14878 | (sjlj_emit_function_enter): Support NULL dispatch label. | |
14879 | (sjlj_build_landing_pads): In a function with no landing pads | |
14880 | that still has must-not-throw regions, generate code to register | |
14881 | a personality function with empty LSDA. | |
14882 | ||
e692f276 RH |
14883 | 2011-01-21 Richard Henderson <rth@redhat.com> |
14884 | ||
1b7ae0b7 RH |
14885 | * config/rx/rx.c (TARGET_FLAGS_REGNUM): New. |
14886 | ||
3843787f RH |
14887 | * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New. |
14888 | ||
e692f276 RH |
14889 | * compare-elim.c: New file. |
14890 | * Makefile.in (OBJS-common): Add it. | |
14891 | (compare-elim.o): New. | |
14892 | * common.opt (fcompare-elim): New. | |
14893 | * opts.c (default_options_table): Add OPT_fcompare_elim. | |
14894 | * tree-pass.h (pass_compare_elim_after_reload): New. | |
14895 | * passes.c (init_optimization_passes): Add it. | |
14896 | * recog.h: Protect against re-inclusion. | |
14897 | * target.def (TARGET_FLAGS_REGNUM): New POD hook. | |
14898 | * doc/invoke.texi (-fcompare-elim): Document it. | |
14899 | * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Document it. | |
14900 | * doc/tm.texi: Rebuild. | |
14901 | ||
9a7c2050 NC |
14902 | 2011-01-22 Nick Clifton <nickc@redhat.com> |
14903 | ||
14904 | * config/rx/rx.md (cstoresf4): Pass comparison operator to | |
14905 | rx_split_fp_compare. | |
14906 | ||
15ba5696 NC |
14907 | 2011-01-22 Nick Clifton <nickc@redhat.com> |
14908 | ||
14909 | * config/rx/rx.md (UNSPEC_CONST): New. | |
14910 | (deallocate_and_return): Wrap the amount popped off the stack in | |
14911 | an UNSPEC_CONST in order to stop it being rejected by | |
14912 | -mmax-constant-size. | |
14913 | (pop_and_return): Add a "(return)" rtx. | |
14914 | (call): Drop the immediate operand. | |
14915 | (call_internal): Likewise. | |
14916 | (call_value): Likewise. | |
14917 | (call_value_internal): Likewise. | |
14918 | (sibcall_internal): Likewise. | |
14919 | (sibcall_value_internal): Likewise. | |
14920 | (sibcall): Likewise. Generate an explicit call using | |
14921 | sibcall_internal. | |
14922 | (sibcall_value): Likewise. | |
14923 | (mov<>): FAIL if a constant operand is not legitimate. | |
14924 | (addsi3_unpsec): New pattern. | |
9a7c2050 | 14925 | |
38be4072 | 14926 | * config/rx/rx.c (rx_print_operand_address): Handle UNSPEC CONSTs. |
15ba5696 NC |
14927 | (ok_for_max_constant): New function. |
14928 | (gen_safe_add): New function. | |
14929 | (rx_expand_prologue): Use gen_safe_add. | |
14930 | (rx_expand_epilogue): Likewise. | |
14931 | (rx_is_legitimate_constant): Use ok_for_max_constant. Handle | |
14932 | UNSPEC CONSTs. | |
14933 | ||
caaf13d3 JL |
14934 | 2011-01-21 Jeff Law <law@redhat.com> |
14935 | ||
14936 | PR tree-optimization/47053 | |
14937 | * tree-ssa-dse.c (need_eh_cleanup): New bitmap. | |
14938 | (dse_optimize_stmt): Set the appropriate bit in NEED_EH_CLEANUP when | |
14939 | statements are deleted. | |
14940 | (tree_ssa_dse): Allocate & free NEED_EH_CLEANUP. If NEED_EH_CLEANUP | |
14941 | is nonempty, then purge dead edges and cleanup the CFG. | |
14942 | ||
12c30f2f AO |
14943 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> |
14944 | ||
14945 | PR debug/47402 | |
14946 | Temporarily revert: | |
14947 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> | |
14948 | PR debug/47106 | |
14949 | * tree-dfa.c (create_var_ann): Mark variable as used. | |
14950 | ||
7360d2ac JJ |
14951 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
14952 | ||
aaa52a96 JJ |
14953 | PR middle-end/45566 |
14954 | * except.c (convert_to_eh_region_ranges): Emit queued no-region | |
14955 | notes from other section in hot/cold partitioning even if | |
14956 | last_action is -3. Increment call_site_base. | |
14957 | ||
7360d2ac JJ |
14958 | PR rtl-optimization/47366 |
14959 | * fwprop.c (forward_propagate_into): Return bool. If | |
14960 | any changes are made, -fnon-call-exceptions is used and | |
14961 | REG_EH_REGION note is present, call purge_dead_edges | |
14962 | and return true if it purged anything. | |
14963 | (fwprop_addr): Adjust callers, call cleanup_cfg (0) if | |
14964 | any EH edges were purged. | |
14965 | ||
e90b336f JL |
14966 | 2011-01-21 Jeff Law <law@redhat.com> |
14967 | ||
14968 | PR rtl-optimization/41619 | |
14969 | * caller-save.c (setup_save_areas): Break out code to determine | |
14970 | which hard regs are live across calls by examining the reload chains | |
14971 | so that it is always used. | |
14972 | Eliminate code which checked REG_N_CALLS_CROSSED. | |
14973 | ||
3ffe07e1 JJ |
14974 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
14975 | ||
14976 | PR tree-optimization/47355 | |
14977 | * tree-eh.c (cleanup_empty_eh_merge_phis): Give up if | |
14978 | NOP has non-debug uses beyond PHIs in new_bb. | |
14979 | ||
1c7d0b34 AO |
14980 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> |
14981 | ||
14982 | PR debug/47106 | |
14983 | * cfgexpand.c (account_used_vars_for_block): Only account vars | |
14984 | that are annotated as used. | |
14985 | (estimated_stack_frame_size): Don't set TREE_USED. | |
14986 | * tree-dfa.c (create_var_ann): Mark variable as used. | |
14987 | ||
f99cc488 RG |
14988 | 2011-01-21 Richard Guenther <rguenther@suse.de> |
14989 | ||
14990 | PR middle-end/47395 | |
14991 | * tree.def (WIDEN_MULT_MINUS_EXPR): Fix printed name. | |
14992 | ||
3bc27de7 RG |
14993 | 2011-01-21 Richard Guenther <rguenther@suse.de> |
14994 | ||
14995 | PR tree-optimization/47365 | |
14996 | * tree-ssa-sccvn.h (vn_lookup_kind): Declare. | |
14997 | (vn_reference_lookup_pieces): Adjust. | |
14998 | (vn_reference_lookup): Likewise. | |
14999 | * tree-ssa-sccvn.c (vn_walk_kind): New static global. | |
15000 | (vn_reference_lookup_3): Only look through kills if in | |
15001 | VN_WALKREWRITE mode. | |
15002 | (vn_reference_lookup_pieces): Adjust. | |
15003 | (vn_reference_lookup): Likewise. | |
15004 | (visit_reference_op_load): Likewise. | |
15005 | (visit_reference_op_store): Likewise. | |
15006 | * tree-ssa-pre.c (phi_translate_1): Use VN_WALK mode. | |
15007 | (compute_avail): Likewise. | |
15008 | (eliminate): Likewise. | |
15009 | ||
d8debb1d JJ |
15010 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
15011 | ||
15012 | * tree-ssa-live.c (remove_unused_scope_block_p): Don't remove | |
15013 | DECL_IGNORED_P non-reg vars if they are used. | |
15014 | ||
3a2df831 JJ |
15015 | PR tree-optimization/47391 |
15016 | * varpool.c (const_value_known_p): Return false if | |
15017 | decl is volatile. | |
15018 | ||
1dd584a2 KT |
15019 | 2011-01-21 Kai Tietz <kai.tietz@onevision.com> |
15020 | ||
15021 | PR bootstrap/47215 | |
15022 | * config/i386/i386.c (ix86_local_alignment): Handle | |
15023 | case for va_list_type_node is nil. | |
15024 | (ix86_canonical_va_list_type): Likewise. | |
15025 | ||
7f9f095e AM |
15026 | 2011-01-21 Alan Modra <amodra@gmail.com> |
15027 | ||
15028 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Add | |
15029 | builtin_define __CMODEL_MEDIUM__ and __CMODEL_LARGE__. | |
15030 | ||
837b01f6 RR |
15031 | 2011-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
15032 | ||
15033 | * config/arm/arm.md (define_attr type): Rename f_load | |
15034 | and f_store to f_fpa_load and f_fpa_store. Update. | |
15035 | (write_conflict): Deal with rename fallout. | |
15036 | (*push_fp_multi): Likewise. | |
15037 | * config/arm/fpa.md (f_load): Use f_fpa_load. | |
15038 | (f_store): Use f_fpa_store. | |
15039 | (*movsf_fpa): Likewise. | |
15040 | (*movdf_fpa): Likewise. | |
15041 | (*movxf_fpa): Likewise. | |
15042 | (*thumb2_movsf_fpa): Likewise. | |
15043 | (*thumb2_movdf_fpa): Likewise. | |
15044 | (*thumb2_movxf_fpa): Likewise. | |
15045 | * config/arm/vfp.md (*thumb2_movdf_vfp): Fix attribute to | |
15046 | f_loadd and f_stored. | |
15047 | (*thumb2_movdi_vfp): Likewise. | |
15048 | (*thumb2_movsf_vfp): Fix attribute to f_loads. | |
15049 | (*thumb2_movsi_vfp): Likewise. | |
15050 | * config/arm/cortex-m4-fpu.md (cortex_m4_f_load): | |
15051 | Use f_loads instead of f_load. | |
15052 | * config/arm/cortex-a5.md (cortex_a5_f_loads): Remove f_load. | |
15053 | ||
a1a79768 AS |
15054 | 2011-01-20 Anatoly Sokolov <aesok@post.ru> |
15055 | ||
15056 | * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
15057 | * config/xtensa/xtensa-protos.h (constantpool_address_p): Remove. | |
15058 | * config/xtensa/xtensa.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
15059 | (xtensa_mode_dependent_address_p): New function. | |
15060 | (constantpool_address_p): Make static. Change return type to bool. | |
15061 | Change argument type to const_rtx. Use CONST_INT_P predicate. | |
15062 | ||
427f6cec AO |
15063 | 2011-01-20 Alexandre Oliva <aoliva@redhat.com> |
15064 | ||
15065 | PR debug/46583 | |
15066 | * tree-ssa-live.c (remove_unused_scope_block_p): Keep type decls. | |
15067 | ||
583ac69c JJ |
15068 | 2011-01-20 Jakub Jelinek <jakub@redhat.com> |
15069 | ||
15070 | PR debug/47283 | |
15071 | * cfgexpand.c (expand_debug_expr): Instead of generating | |
15072 | (mem (debug_implicit_ptr)) for MEM_REFs use COMPONENT_REF | |
15073 | etc. handling. | |
15074 | ||
93e452ed RG |
15075 | 2011-01-20 Richard Guenther <rguenther@suse.de> |
15076 | ||
15077 | PR middle-end/47370 | |
15078 | * tree-inline.c (remap_gimple_op_r): Recurse manually for | |
15079 | the pointer operand of MEM_REFs. | |
15080 | ||
28fc44f3 JJ |
15081 | 2011-01-20 Jakub Jelinek <jakub@redhat.com> |
15082 | ||
15083 | PR tree-optimization/46130 | |
15084 | * ipa-split.c (consider_split): If return_bb contains non-virtual | |
15085 | PHIs other than for retval or if split_function would not adjust it, | |
15086 | refuse to split. | |
15087 | ||
ddd268f2 RG |
15088 | 2011-01-20 Richard Guenther <rguenther@suse.de> |
15089 | ||
15090 | PR tree-optimization/47167 | |
15091 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): | |
15092 | Revert previous change, only avoid enumeral type changes. | |
15093 | ||
882020aa MS |
15094 | 2011-01-19 Mike Stump <mikestump@comcast.net> |
15095 | ||
15096 | * doc/tm.texi.in (BRANCH_COST): Englishify. | |
15097 | * doc/tm.texi (BRANCH_COST): Likewise. | |
15098 | ||
7edb6247 DS |
15099 | 2011-01-19 Dodji Seketeli <dodji@redhat.com> |
15100 | ||
15101 | PR c++/47291 | |
15102 | * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen) | |
61052244 AM |
15103 | (gen_scheduled_generic_parms_dies): New functions. |
15104 | (gen_struct_or_union_type_die): Schedule template parameters DIEs | |
15105 | generation for the end of CU compilation. | |
15106 | (dwarf2out_finish): Generate template parameters DIEs here. | |
7edb6247 | 15107 | |
23d5ed5d AO |
15108 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
15109 | ||
15110 | PR debug/46240 | |
15111 | * tree-into-ssa.c (maybe_register_def): Do not attempt to add | |
15112 | debug bind stmt on merge edges. | |
15113 | ||
37d6a488 AO |
15114 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
15115 | ||
15116 | PR debug/47079 | |
15117 | PR debug/46724 | |
15118 | * function.c (instantiate_expr): Instantiate incoming rtl of | |
15119 | implicit arguments, and recurse on VALUE_EXPRs. | |
15120 | (instantiate_decls): Instantiate rtl and VALUE_EXPR of result. | |
15121 | * var-tracking.c (adjust_mems): Reject virtual_incoming_args_rtx. | |
15122 | ||
689f2c82 AO |
15123 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
15124 | ||
15125 | * c-parser.c (c_parser_for_statement): Initialize | |
15126 | collection_expression. | |
15127 | ||
03029de4 JM |
15128 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
15129 | ||
15130 | * config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}. | |
15131 | ||
3e03217e JM |
15132 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
15133 | ||
15134 | * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove. | |
15135 | (LINK_SHLIB_SPEC): Don't use %(link_path). | |
15136 | (SUBTARGET_EXTRA_SPECS): Remove link_path. | |
15137 | ||
5bbe9b3f JM |
15138 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
15139 | ||
15140 | * config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional. | |
15141 | (NO_SHARED_LIB_SUPPORT): Remove. | |
15142 | (LINK_SHLIB_SPEC): Remove one conditional definition. | |
15143 | ||
368e0b39 JM |
15144 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
15145 | ||
15146 | * config/mips/linux64.h (LINK_SPEC): Remove %{non_shared} | |
15147 | %{call_shared}. | |
15148 | * config/mips/mips.h (LINK_SPEC): Remove %{non_shared}. | |
15149 | * config/mips/netbsd.h (LINK_SPEC): Remove %{call_shared}. | |
15150 | * config/mips/openbsd.h (LINK_SPEC): Remove %{non_shared} | |
15151 | %{call_shared} and conditionals on these options not being passed. | |
15152 | * config/mips/sde.h (LINK_SPEC): Remove %{non_shared} | |
15153 | %{call_shared}. | |
15154 | ||
ed7656f6 JJ |
15155 | 2011-01-19 Jakub Jelinek <jakub@redhat.com> |
15156 | ||
68457901 JJ |
15157 | * ipa-split.c (find_return_bb): Use single_pred_p/single_pred_edge, |
15158 | simplify. | |
15159 | ||
ed7656f6 JJ |
15160 | * ipa-split.c: Spelling fixes. |
15161 | ||
e0d1958f RH |
15162 | 2011-01-19 Richard Henderson <rth@redhat.com> |
15163 | ||
15164 | * config/mn10300/mn10300.md (mulsi3): Use reg_or_am33_const_operand. | |
15165 | (*mulsi3): Likewise. | |
15166 | ||
27098b6b RH |
15167 | * longlong.h [__mn10300__] (count_leading_zeros): New. |
15168 | [__mn10300__] (umul_ppmm, smul_ppmm): New. | |
15169 | [__mn10300__] (add_ssaaaa, subddmmss): New. | |
15170 | [__mn10300__] (udiv_qrnnd, sdiv_qrnnd): New. | |
15171 | [__mn10300__] (UMUL_TIME, UDIV_TIME): New. | |
15172 | ||
d6be7c36 UW |
15173 | 2011-01-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
15174 | ||
15175 | * config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case. | |
15176 | ||
b1efde2a RH |
15177 | 2011-01-19 Richard Henderson <rth@redhat.com> |
15178 | ||
44217823 RH |
15179 | * config/mn10300/mn10300.md (addsi3_flags): New. |
15180 | (addc_internal, adddi3, adddi3_internal, *adddi3_degenerate): New. | |
15181 | (subsi3_flags, subc_internal, subdi3): New. | |
15182 | (subdi3_internal, *subdi3_degenerate): New. | |
15183 | * config/mn10300/predicates.md (reg_or_am33_const_operand): New. | |
15184 | ||
37a185d7 RH |
15185 | * config/mn10300/mn10300.c (mn10300_can_use_retf_insn): New. |
15186 | (mn10300_can_use_rets_insn): Rename from mn10300_can_use_return_insn. | |
15187 | (mn10300_expand_epilogue): Use it. Compute REG_SAVE_BYTES once. | |
15188 | * config/mn10300/mn10300-protos.h: Update. | |
15189 | * config/mn10300/mn10300.md (return): Use mn10300_can_use_retf_insn. | |
15190 | (return_ret): Likewise. Rename from return_internal_regs. | |
15191 | (return_internal): Remove. | |
15192 | ||
040c5757 RH |
15193 | * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): Remove. |
15194 | (mn10300_asm_output_addr_const_extra): Don't handle UNSPEC_INT_LABEL. | |
15195 | (mn10300_legitimate_constant_p): Likewise. | |
15196 | (mn10300_can_use_return_insn): Use mn10300_initial_offset. | |
15197 | (mn10300_frame_size): New. | |
15198 | (mn10300_expand_prologue): Use it. | |
15199 | (mn10300_expand_epilogue): Likewise. | |
15200 | (mn10300_initial_offset): Likewise. | |
15201 | * config/mn10300/mn10300-protos.h: Update. | |
15202 | * config/mn10300/mn10300.h (mn10300_unspec_int_label_counter): Remove. | |
15203 | * config/mn10300/mn10300.md (UNSPEC_INT_LABEL): Remove. | |
15204 | (prologue, epilogue, return_internal): Tidy output code. | |
15205 | (mn10300_store_multiple_operation, return): Likewise. | |
15206 | (int_label, pop_pic_reg, GOTaddr2picreg): Remove. | |
15207 | (am33_loadPC, mn10300_loadPC, call_next_insn): Remove. | |
15208 | (add_GOT_to_pic_reg, add_GOT_to_any_reg): Remove. | |
15209 | (load_pic, am33_load_pic): New. | |
15210 | (mn10300_load_pic0, mn10300_load_pic1): New. | |
15211 | ||
bad41521 RH |
15212 | * config/mn10300/mn10300-modes.def (CCZN, CCZNC): New modes. |
15213 | * config/mn10300/mn10300.c (CC_FLAG_Z): New. | |
15214 | (CC_FLAG_N, CC_FLAG_C, CC_FLAG_V): New. | |
15215 | (cc_flags_for_mode, cc_flags_for_code): New. | |
15216 | (mn10300_print_operand) ['B']: Use nc/ns for GE/LT when the | |
15217 | overflow flag is not valid. Validate that the flags we need | |
15218 | for the comparison are valid. | |
15219 | (mn10300_output_cmp): Remove. | |
15220 | (mn10300_output_add): New. | |
15221 | (mn10300_select_cc_mode): Use cc_flags_for_code. | |
15222 | (mn10300_split_cbranch): New. | |
15223 | (mn10300_match_ccmode): New. | |
15224 | (mn10300_split_and_operand_count): New. | |
15225 | * config/mn10300/mn10300.h (SELECT_CC_MODE): Pass all of the arguments | |
15226 | to the function. | |
15227 | * config/mn10300/mn10300.md (*am33_addsi3, *mn10300_addsi3): Merge... | |
15228 | (addsi3): ... here. Use mn10300_output_add. | |
15229 | (*addsi3_flags): New. | |
15230 | (*am33_subsi3, *mn10300_subsi3): Merge... | |
15231 | (subsi3): ... here. Use attribute isa. | |
15232 | (*subsi3_flags): New. | |
15233 | (negsi2): Rewrite from expander to insn_and_split. Use NOT+INC | |
15234 | when possible. | |
15235 | (*am33_andsi3, *mn10300_andsi3): Merge... | |
15236 | (andsi3): ... here. | |
15237 | (*andsi3_flags): New. | |
15238 | (andsi3 splitters): New. | |
15239 | (*am33_iorsi3, *mn10300_iorsi3): Merge... | |
15240 | (iorsi3): ... here. | |
15241 | (*iorsi3_flags): New. | |
15242 | (*am33_xorsi3, *mn10300_xorsi3): Merge... | |
15243 | (xorsi3): ... here. | |
15244 | (*xorsi3_flags): New. | |
15245 | (*am33_cmpsi2, *mn10300_cmplsi2): Merge... | |
15246 | (one_cmplsi2): ... here. | |
15247 | (*one_cmplsi2_flags): New. | |
15248 | (*cbranchsi4_cmp): Rename from cbranchsi4_post_reload. Use "r" | |
15249 | instead of "dax" in constraints. Use mn10300_split_cbranch. | |
15250 | (*cmpsi): Rename from cmpsi. Do not use mn10300_output_cmp. Do not | |
15251 | use matching constraints to eliminate a self-comparison. | |
15252 | (*integer_conditional_branch): Rename from integer_conditional_branch. | |
15253 | Use int_mode_flags to match CC_REG. | |
15254 | (*cbranchsi4_btst, *btstsi): New. | |
15255 | (*cbranchsf4_cmp): Rename from *cbranchsf4_post_reload. Use | |
15256 | mn10300_split_cbranch. | |
15257 | (*am33_cmpsf): Rename from am33_cmpsf. | |
15258 | (*float_conditional_branch): Rename from float_conditional_branch. | |
15259 | (*zero_extendqisi2_am33, *zero_extendqisi2_mn10300): Merge... | |
15260 | (zero_extendqisi2): ... here. | |
15261 | (*zero_extendhisi2_am33, *zero_extendhisi2_mn10300): Merge... | |
15262 | (zero_extendhisi2): ... here. | |
15263 | (*extendqisi2_am33, *extendqisi2_mn10300): Merge... | |
15264 | (extendqisi2): ... here. | |
15265 | (*extendhisi2_am33, *extendhisi2_mn10300): Merge... | |
15266 | (extendhisi2): ... here. | |
15267 | (*am33_ashlsi3, *mn10300_ashlsi3): Merge... | |
15268 | (ashlsi3): ... here. | |
15269 | (*am33_lshrsi3, *mn10300_lshrsi3): Merge... | |
15270 | (lshrsi3): ... here. | |
15271 | (*am33_ashrisi3, *mn10300_ashrsi3): Merge... | |
15272 | (ashrsi3): ... here. | |
15273 | (consecutive add peephole): Remove. | |
15274 | * config/mn10300/predicates.md (label_ref_operand): New. | |
15275 | (int_mode_flags): New. | |
15276 | (CCZN_comparison_operator): New. | |
15277 | ||
9efb4993 RH |
15278 | * config/mn10300/mn10300.md (UNSPEC_EXT): New. |
15279 | (throughput_42_latency_43): New reservation. | |
15280 | (mulsidi3, umulsidi3): New expanders. | |
15281 | (mulsidi3_internal): Rewrite from old mulsidi3 pattern. Expose | |
15282 | the MDR register to allocation; separately allocate the low and | |
15283 | high parts of the DImode result. | |
15284 | (umulsidi3_internal): Similarly. | |
15285 | (*am33_mulsi3, *mn10300_mulsi3): Merge into ... | |
15286 | (*mulsi3): ... here. Clobber MDR as a scratch as necessary. | |
15287 | (udivsi3, umodsi3): Remove. | |
15288 | (udivmodsi4, divmodsi4): New expanders. | |
15289 | (*udivmodsi4): Rename from udivmodsi4. Expose MDR properly. | |
15290 | (*divmodsi4): Simiarly. | |
15291 | (ext_internal): New. | |
15292 | ||
c25a21f5 RH |
15293 | * config/mn10300/constraints.md ("z"): New constraint. |
15294 | * config/mn10300/mn10300.h (MDR_REGNUM): Remove. | |
15295 | (FIXED_REGISTERS): Don't fix MDR. | |
15296 | (CALL_USED_REGSITERS): Reformat nicely. | |
15297 | (REG_ALLOC_ORDER): Add MDR. | |
15298 | (enum regclass): Add MDR_REGS. | |
15299 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update to match. | |
15300 | (IRA_COVER_CLASSES): Add MDR_REGS. | |
15301 | (REGNO_REG_CLASS): Handle MDR_REG. | |
15302 | * config/mn10300/mn10300.c (mn10300_secondary_reload): Handle MDR_REGS. | |
15303 | (mn10300_register_move_cost): Likewise. | |
15304 | * config/mn10300/mn10300.md (MDR_REG): New. | |
15305 | (*movsi_internal): Handle moves to/from MDR_REGS. | |
15306 | ||
36846b26 RH |
15307 | * config/mn10300/mn10300.c (mn10300_print_operand_address): Handle |
15308 | POST_MODIFY. | |
15309 | (mn10300_secondary_reload): Tidy combination reload classes. | |
15310 | (mn10300_legitimate_address_p): Allow post-modify and reg+reg | |
15311 | addresses for AM33. Allow symbolic offsets for reg+imm. | |
15312 | (mn10300_regno_in_class_p): New. | |
15313 | (mn10300_legitimize_reload_address): New. | |
15314 | * config/mn10300/mn10300.h (enum reg_class): Remove | |
15315 | DATA_OR_ADDRESS_REGS, DATA_OR_EXTENDED_REGS, ADDRESS_OR_EXTENDED_REGS, | |
15316 | SP_OR_EXTENDED_REGS, SP_OR_ADDRESS_OR_EXTENDED_REGS. Add | |
15317 | SP_OR_GENERAL_REGS. | |
15318 | (REG_CLASS_NAMES): Update to match. | |
15319 | (REG_CLASS_CONTENTS): Likewise. | |
15320 | (INDEX_REG_CLASS): Use GENERAL_REGS for AM33. | |
15321 | (BASE_REG_CLASS): Use SP_OR_GENERAL_REGS for AM33. | |
15322 | (REGNO_IN_RANGE_P): Remove. | |
15323 | (REGNO_DATA_P): Use mn10300_regno_in_class_p. | |
15324 | (REGNO_ADDRESS_P, REGNO_EXTENDED_P): Likewise. | |
15325 | (REGNO_STRICT_OK_FOR_BASE_P): Likewise. | |
15326 | (REGNO_STRICT_OK_FOR_BIT_BASE_P): Likewise. | |
15327 | (REGNO_STRICT_OK_FOR_INDEX_P): Likewise. | |
15328 | (REGNO_SP_P, REGNO_AM33_P, REGNO_FP_P): Remove. | |
15329 | (REGNO_GENERAL_P): New. | |
15330 | (HAVE_POST_MODIFY_DISP): New. | |
15331 | (USE_LOAD_POST_INCREMENT, USE_STORE_POST_INCREMENT): New. | |
15332 | (LEGITIMIZE_RELOAD_ADDRESS): New. | |
15333 | * config/mn10300/mn10300-protos.h: Update. | |
15334 | ||
8b119bb6 RH |
15335 | * config/mn10300/mn10300.c (mn10300_preferred_reload_class): Allow |
15336 | DATA_REGS for AM33 stack-pointer destination. | |
15337 | (mn10300_preferred_output_reload_class): Likewise. | |
15338 | (mn10300_secondary_reload): Rearrange mn10300_secondary_reload_class | |
15339 | into a form appropriate for ... | |
15340 | (TARGET_SECONDARY_RELOAD): New. | |
15341 | * config/mn10300/mn10300.h (SECONDARY_RELOAD_CLASS): Remove. | |
15342 | * config/mn10300/mn10300-protos.h: Update. | |
15343 | * config/mn10300/mn10300.md (reload_plus_sp_const): Rename from | |
15344 | reload_insi; use the "A" constraint for the scratch; handle AM33 | |
15345 | moves of sp to non-address registers. | |
15346 | ||
b1efde2a RH |
15347 | * config/mn10300/mn10300.md (*am33_movqi, *mn10300_movqi): Merge into |
15348 | (*movqi_internal): ... here. | |
15349 | (*am33_movhi, *mn10300_movhi): Merge into... | |
15350 | (*movhi_internal): ... here. | |
15351 | (*movsi_internal): Use "r" instead of "dax" in constraints. Use "A" | |
15352 | as the source/destination of moves from/to SP. | |
15353 | (movsf): Only allow for AM33-2. | |
1c3ba85b | 15354 | (*movsf_internal): Use "r" instead of "dax"; use "F" instead of |
b1efde2a RH |
15355 | any integer constant constraint. Only allow for AM33-2. Tidy |
15356 | all of the alternative outputs. | |
15357 | (movdi, movdf, *am33_2_movdf, *mn10300_movdf): Remove. | |
15358 | (udivmodsi4): Delete expander and promote *udivmodsi4. Disallow | |
15359 | for MN103. | |
15360 | (udivsi3, umodsi3): New patterns for MN103 only. | |
15361 | ||
b899fd78 JR |
15362 | 2011-01-19 Joern Rennecke <amylaar@spamcop.net> |
15363 | ||
15364 | * doc/tm.texi.in: Spell out that a lack of register class unions | |
15365 | can lead to ICEs. | |
15366 | * doc/tm.texi: Regenerate. | |
15367 | ||
afaaa67d JJ |
15368 | 2011-01-19 Jakub Jelinek <jakub@redhat.com> |
15369 | ||
2e0642cd JJ |
15370 | PR rtl-optimization/47337 |
15371 | * dce.c (check_argument_store): New function. | |
15372 | (find_call_stack_args): Ignore debug insns. Use check_argument_store. | |
15373 | ||
afaaa67d JJ |
15374 | PR tree-optimization/47290 |
15375 | * tree-eh.c (infinite_empty_loop_p): New function. | |
15376 | (cleanup_empty_eh): Use it. | |
15377 | ||
d2cd871f SE |
15378 | 2011-01-18 Steve Ellcey <sje@cup.hp.com> |
15379 | ||
15380 | PR target/46997 | |
15381 | * ia64.c (ia64_expand_unpack): Fix code for TARGET_BIG_ENDIAN. | |
15382 | (a64_expand_widen_sum): Ditto. | |
15383 | * vect.md (mulv2si3): Disable for TARGET_BIG_ENDIAN. | |
15384 | (vec_extract_evenodd_help): Ditto. | |
15385 | (vec_extract_evenv4hi): Ditto. | |
15386 | (vec_extract_oddv4hi): Ditto. | |
15387 | (vec_extract_evenv2si): Ditto. | |
15388 | (vec_extract_oddv2si): Ditto. | |
15389 | (vec_extract_evenv2sf): Ditto. | |
15390 | (vec_extract_oddv2sf): Ditto. | |
15391 | (vec_pack_trunc_v4hi: Ditto. | |
15392 | (vec_pack_trunc_v2si): Ditto. | |
15393 | (vec_interleave_lowv8qi): Fix for TARGET_BIG_ENDIAN. | |
15394 | (vec_interleave_highv8qi): Ditto. | |
15395 | (mix1_r): Ditto. | |
15396 | (vec_extract_oddv8qi): Ditto. | |
15397 | (vec_interleave_lowv4hi): Ditto. | |
15398 | (vec_interleave_highv4hi): Ditto. | |
15399 | (vec_interleave_lowv2si): Ditto. | |
15400 | (vec_interleave_highv2si): Ditto. | |
15401 | ||
41a1208a JDA |
15402 | 2011-01-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
15403 | ||
15404 | * doc/extend.texi: Mention __float128 support on hppa HP-UX. | |
15405 | * config/pa/pa-hpux.h (HPUX_LONG_DOUBLE_LIBRARY): Define to 1. | |
15406 | * config/pa/pa.c (pa_expand_builtin): New. Include "langhooks.h". | |
15407 | (pa_c_mode_for_suffix): New. | |
15408 | (TARGET_EXPAND_BUILTIN): Define. | |
15409 | (TARGET_C_MODE_FOR_SUFFIX): Define. | |
15410 | (pa_builtins): Define. | |
15411 | (pa_init_builtins): Register __float128 type and init new support | |
15412 | builtins. | |
15413 | * config/pa/pa.h (HPUX_LONG_DOUBLE_LIBRARY): Define if not defined. | |
15414 | * config/pa/quadlib.c (_U_Qfcopysign): New. | |
15415 | ||
1ecad98e EB |
15416 | 2011-01-18 Eric Botcazou <ebotcazou@adacore.com> |
15417 | ||
15418 | PR middle-end/46894 | |
15419 | * explow.c (allocate_dynamic_stack_space): Do not assume more than | |
15420 | BITS_PER_UNIT alignment if STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET | |
15421 | are defined. | |
15422 | ||
d4f2460a UW |
15423 | 2011-01-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
15424 | ||
15425 | PR tree-optimization/47179 | |
15426 | * config/spu/spu.c (spu_ref_may_alias_errno): New function. | |
15427 | (TARGET_REF_MAY_ALIAS_ERRNO): Define. | |
15428 | ||
4994da65 RG |
15429 | 2011-01-18 Richard Guenther <rguenther@suse.de> |
15430 | ||
15431 | PR rtl-optimization/47216 | |
15432 | * emit-rtl.c: Include tree-flow.h. | |
15433 | (set_mem_attributes_minus_bitpos): Use tree_could_trap_p instead | |
15434 | of replicating it with different semantics. | |
15435 | * Makefile.in (emit-rtl.o): Adjust. | |
15436 | ||
1eb458d1 RR |
15437 | 2011-01-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
15438 | ||
38be4072 | 15439 | * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually include. |
61052244 | 15440 | (cortex_a9_dp): Handle neon types correctly. |
1eb458d1 | 15441 | |
e7ef91dc JJ |
15442 | 2011-01-18 Jakub Jelinek <jakub@redhat.com> |
15443 | ||
15444 | PR rtl-optimization/47299 | |
15445 | * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use | |
38be4072 | 15446 | subtarget. Use normal multiplication if both operands are constants. |
e7ef91dc JJ |
15447 | * expmed.c (expand_widening_mult): Don't try to optimize constant |
15448 | multiplication if op0 has VOIDmode. Convert op1 constant to mode | |
15449 | before using it. | |
15450 | ||
535b7874 RW |
15451 | 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
15452 | ||
15453 | * doc/lto.texi (LTO): Ensure two spaces after period. Fix | |
15454 | spacing after 'e.g.', typos, comma, hyphenation. | |
15455 | ||
27bf36f3 RH |
15456 | 2011-01-17 Richard Henderson <rth@redhat.com> |
15457 | ||
8a5b5449 RH |
15458 | * config/rx/predicates.md (rx_constshift_operand): Use match_test. |
15459 | (rx_restricted_mem_operand): New. | |
15460 | (rx_shift_operand): Use register_operand. | |
15461 | (rx_source_operand, rx_compare_operand): Likewise. | |
15462 | * config/rx/rx.md (addsi3_flags): New expander. | |
15463 | (adddi3): Rewrite as expander. | |
15464 | (adc_internal, *adc_flags, adddi3_internal): New patterns. | |
15465 | (subsi3_flags): New expander. | |
15466 | (subdi3): Rewrite as expander. | |
15467 | (sbb_internal, *sbb_flags, subdi3_internal): New patterns. | |
15468 | ||
784f69be RH |
15469 | * config/rx/rx.c (RX_BUILTIN_SAT): Remove. |
15470 | (rx_init_builtins): Remove sat builtin. | |
15471 | (rx_expand_builtin): Likewise. | |
15472 | * config/rx/rx.md (ssaddsi3): New. | |
15473 | (*sat): Rename from sat. Represent the CC_REG input. | |
15474 | ||
f033541c RH |
15475 | * config/rx/predicates.md (rshift_operator): New. |
15476 | * config/rx/rx.c (rx_expand_insv): Remove. | |
15477 | * config/rx/rx-protos.h: Update. | |
15478 | * config/rx/rx.md (*bitset): Rename from bitset. Swap the ashift | |
15479 | operand to the canonical position. | |
15480 | (*bitset_in_memory, *bitinvert, *bitinvert_in_memory): Similarly. | |
15481 | (*bitclr, *bitclr_in_memory): Similarly. | |
15482 | (*insv_imm, rx_insv_reg, *insv_cond, *bmcc, *insv_cond_lt): New. | |
15483 | (insv): Retain the zero_extract in the expansion. | |
15484 | ||
34fee389 RH |
15485 | * config/rx/rx.md (bswapsi2): Use = not + for output reload. |
15486 | (bswaphi2, bitinvert, revw): Likewise. | |
15487 | ||
265c835f RH |
15488 | * config/rx/rx.c (gen_rx_store_vector): Use VOIDmode for gen_rtx_SET. |
15489 | (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise. | |
15490 | * config/rx/rx.md (pop_and_return): Use VOIDmode for SET. | |
15491 | (stack_push, stack_pushm, stack_pop, stack_popm): Likewise. | |
15492 | (bitset, bitset_in_memory): Likewise. | |
15493 | (bitinvert, bitinvert_in_memory): Likewise. | |
15494 | (bitclr, bitclr_in_memory): Likewise. | |
15495 | (insv, sync_lock_test_and_setsi, movstr, rx_movstr): Likewise. | |
15496 | (rx_strend, rx_cmpstrn): Likewise. | |
15497 | (rx_setmem): Likewise. Make the source BLKmode to match the dest. | |
15498 | (bitop peep2 patterns): Remove. | |
15499 | ||
b4d83be3 RH |
15500 | * config/rx/rx.c (rx_match_ccmode): New. |
15501 | * config/rx/rx-protos.h: Update. | |
15502 | * config/rx/rx.md (abssi2): Clobber, don't set flags. | |
15503 | (addsi3, adddi3, andsi3, negsi2, one_cmplsi2, iorsi3): Likewise. | |
15504 | (rotlsi3, rotrsi3, ashrsi3, lshrsi3, ashlsi3): Likewise. | |
15505 | (subsi3, subdi3, xorsi3, addsf3, divsf3, mulsf3, subsf3): Likewise. | |
15506 | (fix_truncsfsi2, floatsisf2): Likewise. | |
15507 | (*abssi2_flags, *addsi3_flags, *andsi3_flags, *negsi2_flags): New. | |
15508 | (*one_cmplsi2_flags, *iorsi3_flags, *rotlsi3_flags): New. | |
15509 | (*rotrsi3_flags, *ashrsi3_flags, *lshrsi3_flags, *ashlsi3_flags): New. | |
15510 | (*subsi3_flags, *xorsi3_flags): New. | |
15511 | ||
d0acb939 RH |
15512 | * config/rx/rx.md (cstoresf4, *cstoresf4): New patterns. |
15513 | ||
c06fc3d9 RH |
15514 | * config/rx/rx.c (rx_print_operand): Remove workaround for |
15515 | unsplit comparison operations. | |
15516 | ||
2882702b RH |
15517 | * config/rx/rx.md (movsicc): Split after reload. |
15518 | (*movsicc): Merge *movsieq and *movsine via match_operator. | |
15519 | (*stcc): New pattern. | |
15520 | ||
6f7310f2 RH |
15521 | * config/rx/rx.c (rx_float_compare_mode): Remove. |
15522 | * config/rx/rx.h (rx_float_compare_mode): Remove. | |
15523 | * config/rx/rx.md (cstoresi4): Split after reload. | |
15524 | (*sccc): New pattern. | |
15525 | ||
e963cb1a RH |
15526 | * config/rx/predicates.md (label_ref_operand): New. |
15527 | (rx_z_comparison_operator): New. | |
15528 | (rx_zs_comparison_operator): New. | |
15529 | (rx_fp_comparison_operator): New. | |
15530 | * config/rx/rx.c (rx_print_operand) [B]: Examine comparison modes. | |
15531 | Validate that the flags are set properly for the comparison. | |
15532 | (rx_gen_cond_branch_template): Remove. | |
15533 | (rx_cc_modes_compatible): Remove. | |
15534 | (mode_from_flags): New. | |
15535 | (flags_from_code): Rename from flags_needed_for_conditional. | |
15536 | (rx_cc_modes_compatible): Re-write in terms of flags_from_mode. | |
15537 | (rx_select_cc_mode): Likewise. | |
15538 | (rx_split_fp_compare): New. | |
15539 | (rx_split_cbranch): New. | |
15540 | * config/rx/rx.md (most_cond, zs_cond): Remove iterators. | |
15541 | (*cbranchsi4): Use match_operator and rx_split_cbranch. | |
15542 | (*cbranchsf4): Similarly. | |
15543 | (*cbranchsi4_tst): Rename from *tstbranchsi4_<code>. Use | |
15544 | match_operator and rx_split_cbranch. | |
15545 | (*cbranchsi4_tst_ext): Combine *tstbranchsi4m_eq and | |
15546 | tstbranchsi4m_ne. Use match_operator and rx_split_cbranch. | |
15547 | (*cmpsi): Rename from cmpsi. | |
15548 | (*tstsi): Rename from tstsi. | |
15549 | (*cmpsf): Rename from cmpsf; use CC_Fmode. | |
15550 | (*conditional_branch): Rename from conditional_branch. | |
15551 | (*reveresed_conditional_branch): Remove. | |
15552 | (b<code>): Remove expander. | |
15553 | * config/rx/rx-protos.h: Update. | |
15554 | ||
af530bb4 RH |
15555 | * config/rx/rx.c (rx_compare_redundant): Remove. |
15556 | * config/rx/rx.md (cmpsi): Don't use it. | |
15557 | * config/rx/rx-protos.h: Update. | |
15558 | ||
27bf36f3 RH |
15559 | * config/rx/rx-modes.def (CC_F): New mode. |
15560 | * config/rx/rx.c (rx_select_cc_mode): New. | |
15561 | * config/rx/rx.h (SELECT_CC_MODE): Use it. | |
15562 | * config/rx/rx-protos.h: Update. | |
15563 | ||
d7fde127 RH |
15564 | 2011-01-17 Richard Henderson <rth@redhat.com> |
15565 | ||
15566 | * except.c (dump_eh_tree): Fix stray ; after for statement. | |
15567 | ||
6ff38230 RG |
15568 | 2011-01-17 Richard Guenther <rguenther@suse.de> |
15569 | ||
15570 | PR tree-optimization/47313 | |
15571 | * tree-inline.c (tree_function_versioning): Move DECL_RESULT | |
15572 | handling before copying the body. Properly deal with | |
15573 | by-reference result in SSA form. | |
15574 | ||
114ce554 ILT |
15575 | 2011-01-17 Ian Lance Taylor <iant@google.com> |
15576 | ||
bf5cd92b | 15577 | PR target/47219 |
114ce554 ILT |
15578 | * config/sparc/sparc.c (sparc_sr_alias_set): Don't define. |
15579 | (struct_value_alias_set): Don't define. | |
15580 | (sparc_option_override): Don't set sparc_sr_alias_set and | |
15581 | struct_value_alias_set. | |
15582 | (save_or_restore_regs): Use gen_frame_mem rather than calling | |
15583 | set_mem_alias_set. | |
15584 | (sparc_struct_value_rtx): Likewise. | |
15585 | ||
98c6d93c L |
15586 | 2011-01-17 H.J. Lu <hongjiu.lu@intel.com> |
15587 | ||
15588 | PR target/47318 | |
7a81008b | 15589 | * config/i386/avxintrin.h (_mm_maskload_pd): Change mask to __m128i. |
98c6d93c L |
15590 | (_mm_maskstore_pd): Likewise. |
15591 | (_mm_maskload_ps): Likewise. | |
15592 | (_mm_maskstore_ps): Likewise. | |
15593 | (_mm256_maskload_pd): Change mask to __m256i. | |
15594 | (_mm256_maskstore_pd): Likewise. | |
15595 | (_mm256_maskload_ps): Likewise. | |
15596 | (_mm256_maskstore_ps): Likewise. | |
15597 | ||
15598 | * config/i386/i386-builtin-types.def: Updated. | |
15599 | (ix86_expand_special_args_builtin): Likewise. | |
15600 | ||
15601 | * config/i386/i386.c (bdesc_special_args): Update | |
15602 | __builtin_ia32_maskloadpd, __builtin_ia32_maskloadps, | |
15603 | __builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256, | |
15604 | __builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps, | |
15605 | __builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256. | |
15606 | ||
15607 | * config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>): | |
15608 | Use <avxpermvecmode> on mask register. | |
15609 | (avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise. | |
15610 | ||
b9361af2 | 15611 | 2011-01-17 Olivier Hainque <hainque@adacore.com> |
61052244 AM |
15612 | Michael Haubenwallner <michael.haubenwallner@salomon.at> |
15613 | Eric Botcazou <ebotcazou@adacore.com> | |
b9361af2 OH |
15614 | |
15615 | PR target/46655 | |
15616 | * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only | |
15617 | if <= USHRT_MAX in 32-bit mode. | |
15618 | ||
b7ae9eb5 RW |
15619 | 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
15620 | ||
15621 | * doc/install.texi (Configuration, Specific): Wrap long | |
15622 | lines in examples. Allow line wrapping in long options | |
15623 | and URLs where beneficial for PDF output. | |
15624 | ||
4377fad9 RS |
15625 | 2011-01-16 Richard Sandiford <rdsandiford@googlemail.com> |
15626 | ||
15627 | * config/mips/mips.c (mips_classify_symbol): Don't return | |
15628 | SYMBOL_PC_RELATIVE for nonlocal labels. | |
15629 | ||
55959ffa | 15630 | 2011-01-15 Eric Botcazou <ebotcazou@adacore.com> |
be46831f | 15631 | |
55959ffa EB |
15632 | * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo. |
15633 | ||
15634 | 2011-01-15 Jan Hubicka <jh@suse.cz> | |
15635 | ||
15636 | PR tree-optimization/47276 | |
be46831f JH |
15637 | * ipa.c (function_and_variable_visibility): Do not try to mark alias |
15638 | declarations as needed. | |
15639 | ||
05842ff5 MJ |
15640 | 2011-01-15 Martin Jambor <mjambor@suse.cz> |
15641 | ||
15642 | * common.opt (fdevirtualize): New flag. | |
15643 | * doc/invoke.texi (Option Summary): Document it. | |
15644 | * opts.c (default_options_table): Add devirtualize flag. | |
15645 | * ipa-prop.c (detect_type_change): Return immediately if | |
15646 | devirtualize flag is not set. | |
15647 | (detect_type_change_ssa): Likewise. | |
15648 | (compute_known_type_jump_func): Likewise. | |
15649 | (ipa_analyze_virtual_call_uses): Likewise. | |
15650 | ||
f65cf2b7 MJ |
15651 | 2011-01-14 Martin Jambor <mjambor@suse.cz> |
15652 | ||
15653 | PR tree-optimization/45934 | |
15654 | PR tree-optimization/46302 | |
15655 | * ipa-prop.c (type_change_info): New type. | |
15656 | (stmt_may_be_vtbl_ptr_store): New function. | |
15657 | (check_stmt_for_type_change): Likewise. | |
15658 | (detect_type_change): Likewise. | |
15659 | (detect_type_change_ssa): Likewise. | |
15660 | (compute_complex_assign_jump_func): Check for dynamic type change. | |
15661 | (compute_complex_ancestor_jump_func): Likewise. | |
15662 | (compute_known_type_jump_func): Likewise. | |
15663 | (compute_scalar_jump_functions): Likewise. | |
15664 | (ipa_analyze_virtual_call_uses): Likewise. | |
15665 | (ipa_analyze_node): Push and pop cfun, set current_function_decl. | |
15666 | ||
eb5bb0fd JM |
15667 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
15668 | ||
15669 | * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5. | |
15670 | * config/i386/i386.opt (msse5): New Alias. | |
15671 | ||
f2060fbe JM |
15672 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
15673 | ||
15674 | * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}. | |
15675 | * config/sparc/linux64.h (CC1_SPEC): Likewise. | |
15676 | * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
15677 | * config/sparc/sparc.h (CC1_SPEC): Likewise. | |
15678 | ||
3a7b4385 JM |
15679 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
15680 | ||
15681 | * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of | |
15682 | -mcpu options. | |
15683 | * config/sparc/linux64.h (CC1_SPEC): Likewise. | |
15684 | * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
15685 | * config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise. | |
15686 | * config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC): | |
15687 | Likewise. | |
15688 | * config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8. | |
15689 | ||
a7b778f8 JM |
15690 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
15691 | ||
38be4072 | 15692 | * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or -fvec-eabi. |
a7b778f8 | 15693 | |
a7edae0a MS |
15694 | 2011-01-14 Mike Stump <mikestump@comcast.net> |
15695 | ||
15696 | * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set. | |
15697 | * config/fr30/fr30.md: Likweise | |
15698 | (movsi_push): Likewise. | |
15699 | (movsi_pop): Likewise. | |
15700 | (enter_func): Likewise. | |
15701 | * config/moxie/moxie.md (movsi_push): Likewise. | |
15702 | (movsi_pop): Likewise. | |
15703 | ||
cbabf03f JM |
15704 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
15705 | ||
15706 | * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum} | |
15707 | %{no_archive} %{exact_version}. | |
15708 | * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}. | |
15709 | * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum} | |
15710 | %{no_archive} %{exact_version}. | |
15711 | * config/mips/openbsd.h (LINK_SPEC): Likewise. | |
15712 | * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}. | |
15713 | * config/mips/vxworks.h: Likewise. | |
15714 | ||
438da41a JM |
15715 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
15716 | ||
38be4072 | 15717 | * config/microblaze/microblaze.h (ASM_SPEC): Remove %{microblaze1}. |
438da41a | 15718 | |
da290a42 JM |
15719 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
15720 | ||
15721 | * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC, | |
15722 | ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove. | |
15723 | ||
8989d00e JM |
15724 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
15725 | ||
15726 | * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not | |
15727 | -nodefaultlib. | |
15728 | ||
a3010a69 JM |
15729 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
15730 | ||
15731 | * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check | |
15732 | for mcpu not cpu. | |
15733 | * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC, | |
15734 | CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu | |
15735 | not cpu. | |
15736 | (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options. | |
15737 | Don't handle -shlib. | |
15738 | ||
e7f2f537 JM |
15739 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
15740 | ||
15741 | * config/avr/avr.h (CPP_SPEC): Don't handle -posix. | |
15742 | (CC1_SPEC): Don't handle -profile. | |
15743 | ||
34830bfd JM |
15744 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
15745 | ||
15746 | * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec. | |
15747 | * config/mips/mips.h (CC1_SPEC): Likewise. | |
15748 | ||
b2d36e74 JM |
15749 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
15750 | ||
15751 | * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }. | |
15752 | * config/mips/mips.h (CC1_SPEC): Likewise. | |
15753 | ||
dabadc52 JM |
15754 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
15755 | ||
15756 | * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional. | |
15757 | * config/m32r/linux.h (LINK_SPEC): Likewise. | |
15758 | * config/mips/linux.h (LINK_SPEC): Likewise. | |
15759 | * config/mips/linux64.h (LINK_SPEC): Likewise. | |
15760 | * config/sparc/linux.h (LINK_SPEC): Likewise. | |
15761 | * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC, | |
15762 | LINK_SPEC): Likewise. | |
15763 | * config/xtensa/linux.h (LINK_SPEC): Likewise. | |
15764 | ||
43ee6785 JM |
15765 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
15766 | ||
15767 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove | |
15768 | %{version:-v}. | |
15769 | * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise. | |
15770 | ||
45e79dfd JM |
15771 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
15772 | ||
15773 | * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}. | |
15774 | * config/sparc/sp64-elf.h (ASM_SPEC): Likewise. | |
15775 | ||
37e9e71d JM |
15776 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
15777 | ||
15778 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}. | |
15779 | ||
bb127cd8 RO |
15780 | 2011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
15781 | ||
15782 | * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always | |
15783 | supports -Bstatic/-Bdynamic. | |
15784 | * configure: Regenerate. | |
15785 | ||
89a012ea | 15786 | 2011-01-14 Jan Hubicka <jh@suse.cz> |
509d65dd | 15787 | Jack Howarth <howarth@bromo.med.uc.edu> |
89a012ea JH |
15788 | |
15789 | PR target/46037 | |
15790 | * config/darwin.c (darwin_override_options): Honor flag_gtoggle | |
15791 | when checking debug_info_level. Test write_symbols instead of | |
15792 | debug_hooks->var_location when setting flag_var_tracking_uninit. | |
15793 | ||
7352c013 RG |
15794 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
15795 | ||
15796 | PR tree-optimization/47179 | |
15797 | * target.def (ref_may_alias_errno): New target hook. | |
15798 | * targhooks.h (default_ref_may_alias_errno): Declare. | |
15799 | * targhooks.c: Include tree-ssa-alias.h and tree-flow.h. | |
15800 | (default_ref_may_alias_errno): New function. | |
15801 | * target.h (struct ao_ref_s): Declare. | |
15802 | * tree-ssa-alias.c: Include target.h. | |
15803 | (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook. | |
15804 | * Makefile.in (tree-ssa-alias.o): Adjust dependencies. | |
15805 | (targhooks.o): Likewise. | |
15806 | * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document. | |
15807 | * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation. | |
15808 | ||
9a6c9288 RG |
15809 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
15810 | ||
15811 | * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER. | |
15812 | ||
0fdb0d27 RG |
15813 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
15814 | ||
15815 | PR tree-optimization/47280 | |
15816 | * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and | |
15817 | return CFG changes. | |
15818 | (tree_ssa_forward_propagate_single_use_vars): Deal with | |
15819 | CFG changes from associate_plusminus. | |
15820 | ||
8f66db3b RG |
15821 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
15822 | ||
15823 | PR middle-end/47281 | |
15824 | Revert | |
15825 | 2011-01-11 Richard Guenther <rguenther@suse.de> | |
15826 | ||
280d9630 EB |
15827 | PR tree-optimization/46076 |
15828 | * tree-ssa.c (useless_type_conversion_p): Conversions from | |
15829 | unprototyped to empty argument list function types are useless. | |
8f66db3b | 15830 | |
6c0c92e6 RG |
15831 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
15832 | ||
15833 | PR tree-optimization/47286 | |
280d9630 | 15834 | * tree-ssa-structalias.c (new_var_info): Register variables are global. |
6c0c92e6 | 15835 | |
db09f943 MJ |
15836 | 2011-01-14 Martin Jambor <mjambor@suse.cz> |
15837 | ||
15838 | PR middle-end/46823 | |
15839 | * tree-inline.c (expand_call_inline): Get fndecl from call graph edge. | |
15840 | ||
dde8a3a4 AS |
15841 | 2011-01-13 Anatoly Sokolov <aesok@post.ru> |
15842 | ||
15843 | * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE, | |
15844 | LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. | |
15845 | * config/xtensa/xtensa.c (xtensa_libcall_value, | |
15846 | xtensa_function_value_regno_p): New functions. | |
15847 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
15848 | ||
a2b63a20 KT |
15849 | 2011-01-13 Kai Tietz <kai.tietz@onevision.com> |
15850 | ||
15851 | PR c++/47213 | |
15852 | * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY): | |
15853 | PE specific hook. | |
15854 | * config/i386/i386-protos.h (i386_pe_assemble_visibility): | |
15855 | New function prototype. | |
15856 | * config/i386/winnt.c (i386_pe_assemble_visibility): | |
15857 | Warn only if attribute was specified by user. | |
15858 | ||
b41f0b34 MM |
15859 | 2011-01-13 Michael Meissner <meissner@linux.vnet.ibm.com> |
15860 | ||
15861 | PR target/47251 | |
15862 | * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware | |
15863 | floating point. | |
15864 | (floatunsdidf2_fcfidu): Ditto. | |
15865 | ||
3f3c098d AK |
15866 | 2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
15867 | ||
15868 | * config/s390/s390.c (print_operand_address): Replace 'error' with | |
15869 | 'output_operand_lossage'. | |
15870 | (print_operand): Likewise. | |
15871 | ||
29fa95ed JL |
15872 | 2011-01-13 Jeff Law <law@redhat.com> |
15873 | ||
280d9630 | 15874 | PR rtl-optimization/39077 |
29fa95ed JL |
15875 | * doc/invoke.texi (max-gcse-insertion-ratio): Document. |
15876 | * params.h (MAX_GCSE_INSERTION_RATIO): Define. | |
15877 | * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define. | |
15878 | * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps. | |
15879 | * gcse.c (prune_insertions_deletions): New function. | |
15880 | (compute_pre_data): Use it. | |
15881 | ||
71d12276 DS |
15882 | 2011-01-13 Dodji Seketeli <dodji@redhat.com> |
15883 | ||
15884 | PR debug/PR46973 | |
15885 | * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New | |
15886 | static function. | |
61052244 | 15887 | (prune_unused_types_mark): Use it. |
71d12276 | 15888 | |
9b0f04e7 AB |
15889 | 2011-01-13 Andrey Belevantsev <abel@ispras.ru> |
15890 | ||
15891 | PR rtl-optimization/45352 | |
1c3ba85b | 15892 | * sel-sched.c: Update copyright years. |
9b0f04e7 | 15893 | (reset_sched_cycles_in_current_ebb): Also recheck the DFA state |
1c3ba85b | 15894 | in the advancing loop when we have issued issue_rate insns. |
9b0f04e7 | 15895 | |
d6a3e264 RH |
15896 | 2011-01-12 Richard Henderson <rth@redhat.com> |
15897 | ||
a49b692a RH |
15898 | * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New. |
15899 | (TARGET_MD_ASM_CLOBBERS): New. | |
15900 | ||
126b1483 RH |
15901 | * config/mn10300/mn10300.c (mn10300_delegitimize_address): New. |
15902 | (TARGET_DELEGITIMIZE_ADDRESS): New. | |
15903 | ||
f3d9d2e0 RH |
15904 | * config/mn10300/mn10300.md (UNSPEC_BSCH): New. |
15905 | (clzsi2, *bsch): New patterns. | |
15906 | ||
d84760c9 RH |
15907 | * config/mn10300/mn10300.md (INT): New mode iterator. |
15908 | (*mov<INT>_clr): New pattern, and peep2 to generate it. | |
15909 | ||
ec815d65 RH |
15910 | * config/mn10300/mn10300.c (mn10300_option_override): Force enable |
15911 | flag_split_wide_types. | |
15912 | ||
d6a3e264 RH |
15913 | * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove. |
15914 | (mn10300_trampoline_init): Rewrite without a template, an immediate | |
15915 | load and a direct branch. | |
15916 | * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16. | |
15917 | ||
0f8ab434 AS |
15918 | 2011-01-12 Anatoly Sokolov <aesok@post.ru> |
15919 | ||
15920 | * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
15921 | * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove. | |
15922 | * config/s390/s390.c (s390_output_addr_const_extra): Make static. | |
15923 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
15924 | ||
d8a24b65 KT |
15925 | 2011-01-12 Kai Tietz <kai.tietz@onevision.com> |
15926 | ||
15927 | PR debug/47209 | |
15928 | * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT | |
15929 | of type. | |
15930 | ||
56e22cab JH |
15931 | 2011-01-12 Jan Hubicka <jh@suse.cz> |
15932 | ||
15933 | PR driver/47244 | |
15934 | * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used. | |
15935 | (PLUGIN_COND_CLOSE): New macro. | |
15936 | (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE. | |
15937 | ||
4b18b3c2 RG |
15938 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
15939 | ||
15940 | PR lto/47259 | |
15941 | * lto-streamer-out.c (output_gimple_stmt): Do not wrap | |
15942 | register variables in a MEM_REF. | |
15943 | ||
8e38461c JM |
15944 | 2011-01-12 Joseph Myers <joseph@codesourcery.com> |
15945 | ||
15946 | * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*, | |
15947 | crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*, | |
15948 | hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* | | |
15949 | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | | |
15950 | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu, | |
15951 | x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu, | |
15952 | ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*, | |
15953 | m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*, | |
15954 | mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*, | |
15955 | s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*, | |
15956 | sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*, | |
15957 | am33_2.0-*-linux*): Use gnu-user.h before linux.h. | |
15958 | * config/gnu-user.h: New. Copied from linux.h. | |
15959 | (LINUX_TARGET_STARTFILE_SPEC): Rename to | |
15960 | GNU_USER_TARGET_STARTFILE_SPEC. | |
15961 | (LINUX_TARGET_ENDFILE_SPEC): Rename to | |
15962 | GNU_USER_TARGET_ENDFILE_SPEC. | |
15963 | (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC. | |
15964 | (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC. | |
15965 | (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC, | |
15966 | LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1, | |
15967 | CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER, | |
15968 | UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64, | |
15969 | BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32, | |
15970 | BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER, | |
15971 | LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64, | |
15972 | TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove. | |
15973 | * config/arm/linux-eabi.h (CC1_SPEC): Use | |
15974 | GNU_USER_TARGET_CC1_SPEC. | |
15975 | (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC. | |
15976 | (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC. | |
15977 | (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC | |
15978 | * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF, | |
15979 | LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC, | |
15980 | LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC, | |
15981 | CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC, | |
15982 | LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove. | |
15983 | ||
a570fc16 RG |
15984 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
15985 | ||
15986 | PR other/46946 | |
15987 | * doc/invoke.texi (ffast-math): Document it is turned on | |
15988 | with -Ofast. | |
15989 | ||
b0223c3e JH |
15990 | 2011-01-12 Jan Hubicka <jh@suse.cz> |
15991 | ||
15992 | PR tree-optimization/47233 | |
ca1e00b3 EB |
15993 | * opts.c (common_handle_option): Disable ipa-reference with profile |
15994 | feedback. | |
b0223c3e | 15995 | |
1c3ba85b | 15996 | 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> |
d853ee42 NP |
15997 | |
15998 | * c-parser.c (c_parser_objc_at_property_declaration): Improved | |
ca1e00b3 EB |
15999 | error message. |
16000 | ||
d853ee42 NP |
16001 | 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> |
16002 | ||
16003 | * c-parser.c (c_lex_one_token): Updated and reindented some | |
16004 | comments. No changes in code. | |
16005 | ||
4053a5a0 ILT |
16006 | 2011-01-11 Ian Lance Taylor <iant@google.com> |
16007 | ||
16008 | * godump.c (go_output_var): Don't output the variable if there is | |
16009 | already a type with the same name. | |
16010 | ||
fa3e04d2 ILT |
16011 | 2011-01-11 Ian Lance Taylor <iant@google.com> |
16012 | ||
16013 | * godump.c (go_format_type): Don't generate float80. | |
16014 | ||
885fe07c RH |
16015 | 2011-01-11 Richard Henderson <rth@redhat.com> |
16016 | ||
72d6e3c5 RH |
16017 | * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward |
16018 | declaration. Rewrite for both speed and size. | |
16019 | (mn10300_address_cost_1): Remove. | |
16020 | (mn10300_register_move_cost): New. | |
16021 | (mn10300_memory_move_cost): New. | |
16022 | (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle | |
16023 | ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare, | |
16024 | extensions, shifts, BSWAP, CLZ. | |
16025 | (mn10300_wide_const_load_uses_clr): Remove. | |
16026 | (TARGET_REGISTER_MOVE_COST): New. | |
16027 | (TARGET_MEMORY_MOVE_COST): New. | |
16028 | * config/mn10300/mn10300-protos.h: Update. | |
16029 | * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove. | |
16030 | ||
df37c023 RH |
16031 | * config/mn10300/constraints.md ("R", "T"): Remove constraints. |
16032 | * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove. | |
16033 | * config/mn10300/mn10300-protos.h: Update. | |
16034 | * config/mn10300/mn10300.md (movsi_internal): Don't use "R". | |
16035 | (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove. | |
16036 | (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove. | |
16037 | (*test_int_bitfield, *test_byte_bitfield): Remove. | |
16038 | (*bit_test, *subreg_bit_test): Remove. | |
62d3f9b2 | 16039 | * config/mn10300/predicates.md (const_8bit_operand): Remove. |
df37c023 | 16040 | |
85a337b5 RH |
16041 | * config/mn10300/constraints.md ("c"): Rename from "A". |
16042 | ("A", "D"): New constraint letters. | |
16043 | * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint. | |
16044 | (fmssf4, fnmasf4, fnmssf4): Likewise. | |
16045 | ||
a5c727e3 RH |
16046 | * config/mn10300/mn10300.md (isa): New attribute. |
16047 | (enabled): New attribute. | |
16048 | ||
0d9e23f4 RH |
16049 | * config/mn10300/mn10300.md (absdf2, negdf2): Remove. |
16050 | (abssf2, negsf2): Define only for hardware fp. | |
16051 | (sqrtsf2): Reformat. | |
16052 | (addsf3, subsf3, mulsf3): Merge expander and insn. | |
16053 | ||
c157b3f0 RH |
16054 | * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New. |
16055 | (DEBUGGER_AUTO_OFFSET): Remove. | |
16056 | (DEBUGGER_ARG_OFFSET): Remove. | |
16057 | ||
cc909bba RH |
16058 | * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static. |
16059 | Emit register stores with the same offsets as the hardware. | |
16060 | (mn10300_store_multiple_operation): Don't check that the register | |
16061 | save offsets are monotonic. | |
16062 | * config/mn10300/mn10300-protos.h: Update. | |
16063 | ||
e3b5c2f3 RH |
16064 | * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete. |
16065 | ||
885fe07c RH |
16066 | * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define |
16067 | in terms of the value on the stack, not the MDR register. | |
16068 | ||
6e701822 JH |
16069 | 2011-01-11 Jan Hubicka <jh@suse.cz> |
16070 | ||
16071 | PR lto/45721 | |
16072 | PR lto/45375 | |
16073 | * tree.h (symbol_alias_set_t): Move typedef here from varasm.c | |
16074 | (symbol_alias_set_destroy, symbol_alias_set_contains, | |
16075 | propagate_aliases_backward): Declare. | |
16076 | * lto-streamer-out.c (struct sets): New sturcture. | |
16077 | (trivally_defined_alias): New function. | |
16078 | (output_alias_pair_p): Rewrite. | |
16079 | (output_unreferenced_globals): Fix output of alias pairs. | |
16080 | (produce_symtab): Likewise. | |
16081 | * ipa.c (function_and_variable_visibility): Set weak alias destination | |
16082 | as needed in lto. | |
16083 | * varasm.c (symbol_alias_set_t): Remove. | |
16084 | (symbol_alias_set_destroy): Export. | |
16085 | (propagate_aliases_forward, propagate_aliases_backward): New functions | |
16086 | based on ... | |
16087 | (compute_visible_aliases): ... this one; remove. | |
16088 | (trivially_visible_alias): New | |
16089 | (trivially_defined_alias): New. | |
16090 | (remove_unreachable_alias_pairs): Rewrite. | |
16091 | (finish_aliases_1): Reorganize code checking if alias is defined. | |
16092 | * passes.c (rest_of_decl_compilation): Do not call assemble_alias when | |
16093 | in LTO mode. | |
16094 | ||
1b248907 RG |
16095 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
16096 | ||
16097 | PR tree-optimization/46076 | |
16098 | * tree-ssa.c (useless_type_conversion_p): Conversions from | |
16099 | unprototyped to empty argument list function types are useless. | |
16100 | ||
b1923f0a RG |
16101 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
16102 | ||
16103 | PR middle-end/45235 | |
16104 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark | |
16105 | volatile MEMs as MEM_READONLY_P. | |
16106 | ||
e98965af RG |
16107 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
16108 | ||
16109 | PR tree-optimization/47239 | |
16110 | * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs. | |
16111 | ||
9f9ca914 JL |
16112 | 2011-01-11 Jeff Law <law@redhat.com> |
16113 | ||
1ee3ea05 | 16114 | PR tree-optimization/47086 |
9f9ca914 JL |
16115 | * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record |
16116 | IVs from statements that might throw. | |
16117 | ||
345fdcb7 JH |
16118 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
16119 | ||
16120 | PR lto/45375 | |
16121 | * lto-cgraph.c (input_profile_summary): Remove overactive sanity check. | |
16122 | ||
c459c97b JH |
16123 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
16124 | ||
16125 | PR lto/45375 | |
16126 | * profile.c (read_profile_edge_counts): Ignore profile inconistency | |
16127 | when correcting profile. | |
16128 | ||
06c9eb51 JH |
16129 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
16130 | ||
16131 | PR lto/46083 | |
16132 | * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store | |
16133 | DECL_FINI_PRIORITY. | |
16134 | * lto-streamer-in.c (unpack_ts_function_decl_value_fields): | |
16135 | Restore DECL_FINI_PRIORITY. | |
16136 | ||
ae9fd815 RW |
16137 | 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
16138 | ||
16139 | * doc/gimple.texi: Fix quoting of multi-word return values in | |
16140 | @deftypefn statements. Ensure presence of return value. Wrap | |
16141 | overlong @deftypefn lines. | |
16142 | (is_gimple_operand, is_gimple_min_invariant_address): Remove | |
16143 | descriptions of removed functions. | |
16144 | * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting | |
16145 | of multi-word return value in @deftypefn statement. | |
16146 | ||
0ecb4a7c RW |
16147 | 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
16148 | ||
16149 | * doc/gimple.texi (Temporaries, Operands, Compound Lvalues) | |
16150 | (Conditional Expressions, Logical Operators) | |
16151 | (Statement and operand traversals): Do not indent smallexample | |
16152 | code. Fix duplicate function argument in example. | |
16153 | ||
2e5e346d JL |
16154 | 2011-01-10 Jeff Law <law@redhat.com> |
16155 | ||
1ee3ea05 | 16156 | PR tree-optimization/47141 |
2e5e346d JL |
16157 | * ipa-split.c (split_function): Handle case where we are |
16158 | returning a value and the return block has a virtual operand phi. | |
16159 | ||
cf9712cc JH |
16160 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
16161 | ||
1c3ba85b | 16162 | PR tree-optimization/47234 |
cf9712cc JH |
16163 | * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO. |
16164 | (pass_feedback_split_functions): Declare. | |
16165 | * passes.c (init_optimization_passes): Add ipa-split as subpass of | |
16166 | tree-profile. | |
16167 | * ipa-split.c (gate_split_functions): Update comments; disable | |
16168 | split-functions for profile_arc_flag and branch_probabilities. | |
16169 | (gate_feedback_split_functions): New function. | |
16170 | (execute_feedback_split_functions): New function. | |
16171 | (pass_feedback_split_functions): New global var. | |
16172 | ||
94cd932c L |
16173 | 2011-01-10 H.J. Lu <hongjiu.lu@intel.com> |
16174 | ||
16175 | PR lto/46760 | |
16176 | * tree-inline.c (tree_can_inline_p): Check e->call_stmt before | |
16177 | calling gimple_call_set_cannot_inline. | |
16178 | ||
fbbfcaf1 IS |
16179 | 2011-01-10 Iain Sandoe <iains@gcc.gnu.org> |
16180 | ||
16181 | * config/darwin-sections.def: Remove unused section. | |
16182 | ||
d06865bf DK |
16183 | 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com> |
16184 | ||
16185 | PR c++/47218 | |
16186 | * cgraphunit.c (assemble_thunk): Call resolve_unique_section. | |
16187 | ||
96bbfbac NP |
16188 | 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com> |
16189 | ||
16190 | PR objc/47232 | |
16191 | * c-parser.c (c_parser_declaration_or_fndef): Improved | |
16192 | error message. | |
16193 | ||
1ba6516f KT |
16194 | 2011-01-09 Kai Tietz <kai.tietz@onevision.com> |
16195 | ||
16196 | * config/i386/winnt.c (i386_pe_start_function): Make sure | |
16197 | to switch back to function's section. | |
16198 | ||
0c5d770e IS |
16199 | 2011-01-09 Iain Sandoe <iains@gcc.gnu.org> |
16200 | ||
16201 | PR gcc/46902 | |
16202 | PR testsuite/46912 | |
16203 | * plugin.c: Move include of dlfcn.h from here... | |
16204 | * system.h: ... to here. | |
16205 | ||
16206 | 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | |
4ee1aa2a RW |
16207 | |
16208 | * doc/cpp.texi (C++ Named Operators): Fix markup for header | |
16209 | file name. | |
16210 | * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid | |
16211 | two extra empty pages in PDF output. | |
16212 | ||
046608a3 NP |
16213 | 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com> |
16214 | ||
16215 | PR objc/47078 | |
16216 | * c-parser.c (c_parser_objc_type_name): If the type is unknown, | |
16217 | for error recovery purposes behave as if it was not specified so | |
16218 | that the default type is usd. | |
16219 | ||
8cb114b9 JH |
16220 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
16221 | ||
16222 | PR tree-optmization/46469 | |
16223 | * ipa.c (function_and_variable_visibility): Clear needed flags on | |
16224 | nodes with external decls; handle weakrefs merging correctly. | |
16225 | ||
b294a75e JM |
16226 | 2011-01-07 Joseph Myers <joseph@codesourcery.com> |
16227 | ||
16228 | * opts.c (finish_options): Set opts->x_flag_opts_finished to true, | |
16229 | not false. | |
16230 | ||
96bdf9b4 JH |
16231 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
16232 | ||
f60c2554 | 16233 | * doc/invoke.texi (-flto, -fuse-linker-plugin): Update defaults |
96bdf9b4 JH |
16234 | and no longer claim that gold is required for linker plugin. |
16235 | * configure: Regenerate. | |
16236 | * gcc.c (PLUGIN_COND): New macro. | |
16237 | (LINK_COMMAND_SPEC): Use it. | |
16238 | (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set. | |
16239 | * config.in (HAVE_LTO_PLUGIN): New. | |
16240 | * configure.ac (--with-lto-plugin): New parameter; autodetect | |
16241 | HAVE_LTO_PLUGIN. | |
16242 | ||
17afc0fe JH |
16243 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
16244 | ||
16245 | PR tree-optimization/46367 | |
16246 | * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only | |
16247 | when we can update original. | |
16248 | (cgraph_mark_inline_edge): Sanity check. | |
16249 | * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check. | |
16250 | ||
d4c48c0f UW |
16251 | 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
16252 | ||
16253 | * config/spu/spu.h (ASM_COMMENT_START): Define. | |
16254 | ||
96f5b137 L |
16255 | 2011-01-07 H.J. Lu <hongjiu.lu@intel.com> |
16256 | ||
16257 | PR driver/42445 | |
16258 | * gcc.c (%>S): New. | |
16259 | (SWITCH_KEEP_FOR_GCC): Likewise. | |
16260 | (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC. | |
16261 | (do_spec_1): Handle "%>". | |
16262 | ||
16263 | * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>". | |
16264 | ||
c6a8f6de JJ |
16265 | 2011-01-07 Jakub Jelinek <jakub@redhat.com> |
16266 | ||
c21bbd7a JJ |
16267 | PR target/47201 |
16268 | * config/i386/i386.c (ix86_delegitimize_address): If | |
16269 | simplify_gen_subreg fails, return orig_x. | |
16270 | ||
c6a8f6de JJ |
16271 | PR bootstrap/47187 |
16272 | * value-prof.c (gimple_stringop_fixed_value): Handle | |
16273 | lhs of the call properly. | |
16274 | ||
fe95fbf9 JH |
16275 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
16276 | ||
16277 | PR lto/45375 | |
16278 | * lto-opt.c (lto_reissue_options): Set flag_shlib. | |
16279 | ||
14d11d40 IS |
16280 | 2011-01-07 Iain Sandoe <iains@gcc.gnu.org> |
16281 | ||
72e961c8 EB |
16282 | * target.def (function_switched_text_sections): New hook. |
16283 | * doc/tm.texi: Regenerated. | |
16284 | * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New. | |
14d11d40 | 16285 | * final.c (default_function_switched_text_sections): New. |
72e961c8 EB |
16286 | (final_scan_insn): Call function_switched_text_sections when a |
16287 | mid-function section change occurs. | |
14d11d40 | 16288 | * output.h (default_function_switched_text_sections): Declare. |
72e961c8 EB |
16289 | * config/darwin-protos.h (darwin_function_switched_text_sections): |
16290 | Likewise. | |
14d11d40 | 16291 | * config/darwin.c (darwin_function_switched_text_sections): New. |
72e961c8 | 16292 | * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New. |
14d11d40 | 16293 | |
0b764288 IS |
16294 | 2011-01-07 Iain Sandoe <iains@gcc.gnu.org> |
16295 | ||
16296 | * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for | |
16297 | DWARF >= 3. Add pubnames for the primary section and a reduced DIE for | |
16298 | the secondary code fragment when outputting for DWARF == 2. | |
16299 | ||
2ac6bb04 AS |
16300 | 2011-01-07 Anatoly Sokolov <aesok@post.ru> |
16301 | ||
16302 | * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
16303 | * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra): | |
16304 | Remove. | |
16305 | * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static. | |
16306 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
16307 | ||
9f82de11 EB |
16308 | 2011-01-06 Eric Botcazou <ebotcazou@adacore.com> |
16309 | ||
16310 | PR debug/46704 | |
280d9630 EB |
16311 | * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only |
16312 | when it is not empty. | |
9f82de11 EB |
16313 | |
16314 | 2011-01-06 Changpeng Fang <changpeng.fang@amd.com> | |
14b52538 | 16315 | |
1ed72abf | 16316 | Bobcat Enablement |
14b52538 | 16317 | * config.gcc (i[34567]86-*-linux* | ...): Add btver1. |
1ed72abf | 16318 | (case ${target}): Add btver1. |
14b52538 | 16319 | * config/i386/driver-i386.c (host_detect_local_cpu): Let |
1ed72abf | 16320 | -march=native recognize btver1 processors. |
14b52538 | 16321 | * config/i386/i386-c.c (ix86_target_macros_internal): Add |
1ed72abf | 16322 | btver1 def_and_undef |
14b52538 | 16323 | * config/i386/i386.c (struct processor_costs btver1_cost): New |
1ed72abf CF |
16324 | btver1 cost table. |
16325 | (m_BTVER1): New definition. | |
16326 | (m_AMD_MULTIPLE): Includes m_BTVER1. | |
16327 | (initial_ix86_tune_features): Add btver1 tune. | |
16328 | (processor_target_table): Add btver1 entry. | |
16329 | (static const char *const cpu_names): Add btver1 entry. | |
16330 | (software_prefetching_beneficial_p): Add btver1. | |
16331 | (ix86_option_override_internal): Add btver1 instruction sets. | |
16332 | (ix86_issue_rate): Add btver1. | |
16333 | (ix86_adjust_cost): Add btver1. | |
14b52538 | 16334 | * config/i386/i386.h (TARGET_BTVER1): New definition. |
1ed72abf CF |
16335 | (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1. |
16336 | (enum processor_type): Add PROCESSOR_BTVER1. | |
14b52538 CF |
16337 | * config/i386/i386.md (define_attr "cpu"): Add btver1. |
16338 | ||
e1a973d8 RO |
16339 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16340 | ||
16341 | PR target/43309 | |
16342 | * config/i386/i386.c (legitimize_tls_address) | |
16343 | <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS. | |
16344 | * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare. | |
16345 | (tls_initial_exec_64_sun): New pattern. | |
16346 | ||
c73f67c5 GP |
16347 | 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com> |
16348 | ||
16349 | * doc/invoke.texi (Overall Options): Improve wording and markup | |
16350 | of the description of -wrapper. | |
16351 | ||
bc4c6f9c JM |
16352 | 2011-01-06 Joseph Myers <joseph@codesourcery.com> |
16353 | ||
16354 | * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads, | |
16355 | rdynamic, threads): New Driver options. | |
16356 | ||
adb75db0 RO |
16357 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16358 | ||
16359 | PR target/38118 | |
16360 | * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss | |
16361 | if coming from .tdata. | |
16362 | * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. | |
16363 | ||
402c1cb4 JH |
16364 | 2011-01-06 Jan Hubicka <jh@suse.cz> |
16365 | ||
16366 | PR lto/47188 | |
16367 | * collect2.c (main): Do not enable LTOmode when plugin is active. | |
16368 | ||
a4da6485 RO |
16369 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16370 | ||
16371 | PR other/45915 | |
16372 | * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd | |
16373 | --version output if supported. | |
16374 | * configure: Regenerate. | |
16375 | ||
028dbdf4 JM |
16376 | 2011-01-06 Joseph Myers <joseph@codesourcery.com> |
16377 | ||
16378 | * config/linux-android.opt (tno-android-cc, tno-android-ld): New | |
16379 | Driver options. | |
16380 | ||
dfe776dd JJ |
16381 | 2011-01-06 Jakub Jelinek <jakub@redhat.com> |
16382 | ||
16383 | PR c/47150 | |
16384 | * c-convert.c (convert): When converting a complex expression | |
16385 | other than COMPLEX_EXPR to a different complex type, ensure | |
16386 | c_save_expr is called instead of save_expr, unless in_late_binary_op. | |
16387 | * c-typeck.c (convert_for_assignment): Set in_late_binary_op also | |
16388 | when converting COMPLEX_TYPE. | |
16389 | ||
210dedfe IR |
16390 | 2011-01-06 Ira Rosen <irar@il.ibm.com> |
16391 | ||
16392 | PR tree-optimization/47139 | |
16393 | * tree-vect-loop.c (vect_is_simple_reduction_1): Check that | |
16394 | only the last reduction value is used outside the loop. Update | |
16395 | documentation. | |
16396 | ||
cd33a412 JM |
16397 | 2011-01-05 Joseph Myers <joseph@codesourcery.com> |
16398 | ||
16399 | * config/rtems.opt: New. | |
16400 | * config.gcc (*-*-rtems*): Use rtems.opt. | |
16401 | ||
819edd94 CF |
16402 | 2011-01-05 Changpeng Fang <changpeng.fang@amd.com> |
16403 | ||
16404 | * config/i386/i386.c (ix86_option_override_internal): Bulldozer | |
16405 | processors do not support 3DNow instructions. | |
16406 | ||
dc242c4a UW |
16407 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
16408 | ||
16409 | * config/spu/spu.c (spu_option_override): Set parameter | |
16410 | PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1. | |
16411 | ||
be286227 JH |
16412 | 2011-01-05 Jan Hubicka <jh@suse.cz> |
16413 | ||
16414 | * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified | |
16415 | at the command line. | |
16416 | ||
644e637f MJ |
16417 | 2011-01-05 Martin Jambor <mjambor@suse.cz> |
16418 | ||
16419 | PR lto/47162 | |
16420 | * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk | |
16421 | deltas on streamed outgoing edges. | |
16422 | (output_node_opt_summary): Output info for outgoing edges only when | |
16423 | the node is in new parameter set. | |
16424 | (output_cgraph_opt_summary): New parameter set, passed to the two | |
16425 | aforementioned functions. Update its forward declaration and its | |
16426 | callee too. | |
16427 | ||
7bd11157 TT |
16428 | 2011-01-05 Tom Tromey <tromey@redhat.com> |
16429 | ||
16430 | * c-parser.c (c_parser_omp_atomic): Pass location of assignment | |
16431 | operator to c_finish_omp_atomic. | |
16432 | * c-typeck.c (lvalue_or_else): Add 'loc' argument. | |
16433 | (build_unary_op): Update. | |
16434 | (build_modify_expr): Update. | |
16435 | (build_asm_expr): Update. | |
16436 | ||
f626b979 UW |
16437 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
16438 | ||
16439 | * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for | |
16440 | newly inserted insns. | |
16441 | (pad_bb): Likewise. | |
16442 | (spu_emit_branch_hint): Likewise. | |
16443 | (insert_hbrp_for_ilb_runout): Likewise. | |
16444 | (spu_machine_dependent_reorg): Call df_finish_pass after | |
16445 | schedule_insns returns. | |
16446 | ||
4c825c02 UW |
16447 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
16448 | ||
16449 | * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage. | |
16450 | ||
5e9fba51 EB |
16451 | 2011-01-05 Eric Botcazou <ebotcazou@adacore.com> |
16452 | ||
16453 | PR tree-optimization/47005 | |
16454 | * tree-sra.c (struct access): Add 'non_addressable' bit. | |
16455 | (create_access): Set it for a DECL_NONADDRESSABLE_P field. | |
16456 | (decide_one_param_reduction): Return 0 if the parameter is passed by | |
16457 | reference and one of the accesses in the group is non_addressable. | |
16458 | ||
3ebb5ca6 EB |
16459 | 2011-01-04 Eric Botcazou <ebotcazou@adacore.com> |
16460 | ||
16461 | PR tree-optimization/47056 | |
16462 | * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers. | |
16463 | (mark_load): Likewise. Handle FUNCTION_DECL specially. | |
16464 | (mark_store): Likewise. Pass STMT to ipa_record_reference. | |
16465 | ||
d5d4d14e EB |
16466 | 2011-01-04 Eric Botcazou <ebotcazou@adacore.com> |
16467 | ||
16468 | * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the | |
16469 | initializer. Skip view conversions from aggregate types. | |
16470 | ||
d996ef70 KT |
16471 | 2011-01-04 Kai Tietz <kai.tietz@onevision.com> |
16472 | ||
16473 | PR bootstrap/47055 | |
16474 | * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC. | |
16475 | ||
509d65dd | 16476 | 2011-01-04 Philipp Thomas <pth@suse.de> |
017096ca PT |
16477 | |
16478 | * config/microblaze/microbalse.opt (mxl-float-convert): Fix | |
16479 | obvious typo. | |
16480 | ||
55c623b5 UW |
16481 | 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
16482 | ||
16483 | * function.c (thread_prologue_and_epilogue_insns): Do not crash | |
16484 | on empty epilogue sequences. | |
16485 | ||
b98d6b35 JM |
16486 | 2011-01-04 Joseph Myers <joseph@codesourcery.com> |
16487 | ||
16488 | * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now, | |
16489 | non-static): New Driver options. | |
16490 | ||
a0d43bac JZ |
16491 | 2011-01-04 Jie Zhang <jie@codesourcery.com> |
16492 | ||
16493 | PR driver/47137 | |
16494 | * gcc.c (default_compilers[]): Set combinable field to 0 | |
16495 | for all assembly languages. | |
16496 | ||
2b18eb32 MX |
16497 | 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com> |
16498 | ||
16499 | * config/mips/loongson3a.md: New file. | |
16500 | * config/mips/mips.md: Include loongson3a.md. | |
16501 | * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when | |
16502 | TUNE_LOONGSON_3A. | |
16503 | ||
42a48c4f EB |
16504 | 2011-01-03 Eric Botcazou <ebotcazou@adacore.com> |
16505 | ||
16506 | PR middle-end/47017 | |
16507 | * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space | |
16508 | instead of convert_memory_address_addr_space on the base expression. | |
16509 | ||
9c1732c4 UW |
16510 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
16511 | ||
16512 | * config/spu/spu.c (spu_option_override): Update error text | |
16513 | for bad -march= / -mtune= values. | |
16514 | ||
aa474365 UW |
16515 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
16516 | ||
16517 | * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking | |
16518 | if branch-hint optimization will be performed. | |
16519 | ||
9766135b JJ |
16520 | 2011-01-03 Jakub Jelinek <jakub@redhat.com> |
16521 | ||
371556ee JJ |
16522 | PR tree-optimization/47148 |
16523 | * ipa-split.c (split_function): Convert arguments to | |
16524 | DECL_ARG_TYPE if possible. | |
16525 | ||
1ac12fa2 JJ |
16526 | PR tree-optimization/47155 |
16527 | * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type | |
16528 | when computing uns. | |
16529 | ||
9766135b JJ |
16530 | PR rtl-optimization/47157 |
16531 | * combine.c (try_combine): If undobuf.other_insn becomes | |
16532 | (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it | |
16533 | and set *new_direct_jump_p too. | |
16534 | ||
f4a2e571 SP |
16535 | 2011-01-03 Sebastian Pop <sebastian.pop@amd.com> |
16536 | ||
16537 | PR tree-optimization/47021 | |
16538 | * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR. | |
16539 | ||
9f8e43c0 JJ |
16540 | 2011-01-03 Jakub Jelinek <jakub@redhat.com> |
16541 | ||
16542 | * gcc.c (process_command): Update copyright notice dates. | |
16543 | * gcov.c (print_version): Likewise. | |
16544 | * gcov-dump.c (print_version): Likewise. | |
16545 | * mips-tfile.c (main): Likewise. | |
16546 | * mips-tdump.c (main): Likewise. | |
16547 | ||
1a2e38f3 MJ |
16548 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
16549 | ||
16550 | PR tree-optimization/46801 | |
16551 | * tree-sra.c (type_internals_preclude_sra_p): Check whether | |
16552 | aggregate fields start at byte boundary instead of the bit-field flag. | |
16553 | ||
56b721c5 L |
16554 | 2011-01-03 H.J. Lu <hongjiu.lu@intel.com> |
16555 | ||
16556 | PR driver/47137 | |
16557 | * gcc.c (main): Revert revision 168407. | |
16558 | ||
839d549b MJ |
16559 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
16560 | ||
16561 | * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type. | |
16562 | ||
4ce99a20 | 16563 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
2fa6eeff UW |
16564 | |
16565 | * tree-vect-generic.c (expand_vector_operations_1): When using vector/ | |
16566 | vector optab to expand vector/scalar shift, update gimple to vector. | |
16567 | ||
76df0ae6 MJ |
16568 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
16569 | ||
16570 | * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to | |
16571 | a thunk. | |
16572 | ||
ce47fda3 MJ |
16573 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
16574 | ||
16575 | PR tree-optimization/46984 | |
16576 | * cgraph.h (cgraph_indirect_call_info): make field thunk_delta | |
16577 | HOST_WIDE_INT. | |
16578 | (cgraph_create_indirect_edge): Fixed line length. | |
16579 | (cgraph_indirect_call_info): Declare. | |
16580 | (cgraph_make_edge_direct) Update declaration. | |
16581 | * cgraph.c (cgraph_allocate_init_indirect_info): New function. | |
16582 | (cgraph_create_indirect_edge): Use it. | |
16583 | (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all | |
16584 | callees. | |
16585 | * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for | |
16586 | the new thunk_delta representation. | |
16587 | * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to | |
16588 | HOST_WIDE_INT. | |
16589 | (ipa_write_indirect_edge_info): Remove streaming of thunk_delta. | |
16590 | (ipa_read_indirect_edge_info): Likewise. | |
16591 | * lto-cgraph.c (output_edge_opt_summary): New function. | |
16592 | (output_node_opt_summary): Call it on all outgoing edges. | |
16593 | (input_edge_opt_summary): New function. | |
16594 | (input_node_opt_summary): Call it on all outgoing edges. | |
16595 | ||
1e67fa1f L |
16596 | 2011-01-02 H.J. Lu <hongjiu.lu@intel.com> |
16597 | ||
16598 | PR driver/47137 | |
16599 | * gcc.c (main): Don't check have_o when settting combine_inputs. | |
16600 | ||
6656b2ac EB |
16601 | 2011-01-02 Eric Botcazou <ebotcazou@adacore.com> |
16602 | ||
16603 | * regrename.c: Add general comment describing the pass. | |
16604 | (struct du_head): Remove 'length' field. | |
16605 | (get_element, merge_sort_comparison, merge, sort_du_head): Remove. | |
16606 | (regrename_optimize): Do not sort chains. Rework comments, add others. | |
16607 | Force renaming to the preferred class (if any) in the first pass and do | |
16608 | not consider registers that belong to it in the second pass. | |
16609 | (create_new_chain): Do not set 'length' field. | |
16610 | (scan_rtx_reg): Likewise. | |
16611 | ||
bc470c24 JJ |
16612 | 2011-01-02 Jakub Jelinek <jakub@redhat.com> |
16613 | ||
4e996296 JJ |
16614 | PR tree-optimization/47140 |
16615 | * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use | |
16616 | TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument | |
16617 | to bit_value_binop. | |
16618 | ||
bc470c24 | 16619 | PR rtl-optimization/47028 |
6656b2ac EB |
16620 | * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after |
16621 | parm_birth_insn instead of at the beginning of first bb. | |
bc470c24 | 16622 | |
5af62fcd | 16623 | 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com> |
0d52f2a8 MX |
16624 | |
16625 | * doc/generic.texi: Remove duplicated "@subsubsection Statements". | |
16626 | Remove the word "see" before "@pxref". | |
16627 | * doc/rtl.texi: Remove the word "see" before "@pxref". | |
16628 | ||
0e20c89f JH |
16629 | 2011-01-01 Jan Hubicka <jh@suse.cz> |
16630 | ||
6656b2ac EB |
16631 | * tree-loop-distribution.c (tree_loop_distribution): Do not use freed |
16632 | memory. | |
0e20c89f | 16633 | |
220e83ca KT |
16634 | 2011-01-01 Kai Tietz <kai.tietz@onevision.com> |
16635 | ||
16636 | PR target/38662 | |
6656b2ac | 16637 | * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too. |
220e83ca | 16638 | |
ad41bd84 | 16639 | \f |
797103eb | 16640 | Copyright (C) 2011 Free Software Foundation, Inc. |
ad41bd84 JM |
16641 | |
16642 | Copying and distribution of this file, with or without modification, | |
16643 | are permitted in any medium without royalty provided the copyright | |
16644 | notice and this notice are preserved. |