]>
Commit | Line | Data |
---|---|---|
9e34e53f RO |
1 | 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2 | ||
3 | PR target/49541 | |
4 | * config/sol2.h (LIB_SPEC): Simplify. | |
5 | Move LIB_THREAD_LDFLAGS_SPEC ... | |
6 | (LINK_SPEC): ... here. | |
7 | ||
51564684 BS |
8 | 2011-07-13 Bernd Schmidt <bernds@codesourcery.com> |
9 | ||
10 | * haifa-sched.c (struct sched_block_state): New. | |
11 | (schedule_block): Move some local variables into such a structure. | |
12 | ||
b3fe1584 RO |
13 | 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14 | ||
15 | * config/i386/crtprec.c: Move to ../libgcc/config/i386. | |
16 | * config/i386/t-crtpc: Remove. | |
17 | * config/t-darwin (EXTRA_MULTILIB_PARTS): Remove. | |
18 | * config.gcc (i[34567]86-*-darwin*): Remove i386/t-crtpc from | |
19 | tmake_file. | |
20 | (x86_64-*-darwin*): Likewise. | |
21 | (i[34567]86-*-linux*): Likewise. | |
22 | (x86_64-*-linux*): Likewise. | |
23 | ||
24 | * config/i386/sol2.h (ENDFILE_SPEC): Redefine. | |
25 | Handle -mpc32, -mpc64, -mpc80. | |
26 | ||
35d8090d RO |
27 | 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
28 | ||
29 | * config/alpha/crtfastmath.c: Move to ../libgcc/config/alpha. | |
30 | * config/alpha/t-crtfm: Remove. | |
31 | * config/i386/crtfastmath.c: Move to ../libgcc/config/i386. | |
32 | * config/i386/t-crtfm: Remove. | |
33 | * config/ia64/crtfastmath.c: Move to ../libgcc/config/ia64. | |
34 | * config/mips/crtfastmath.c: Move to ../libgcc/config/mips. | |
35 | * config/sparc/crtfastmath.c: Move to ../libgcc/config/sparc. | |
36 | * config/sparc/t-crtfm: Remove. | |
37 | ||
38 | * config.gcc (alpha*-*-linux*): Remove alpha/t-crtfm from tmake_file. | |
39 | (alpha*-*-freebsd*): Likewise. | |
40 | (i[34567]86-*-darwin*): Remove i386/t-crtfm from tmake_file. | |
41 | (x86_64-*-darwin*): Likewise. | |
42 | (i[34567]86-*-linux*): Likewise. | |
43 | (x86_64-*-linux*): Likewise. | |
44 | (x86_64-*-mingw*): Likewise. | |
45 | (ia64*-*-elf*): Remove crtfastmath.o from extra_parts. | |
46 | (ia64*-*-freebsd*): Likewise. | |
47 | (ia64*-*-linux*): Likewise. | |
48 | (mips64*-*-linux*): Likewise. | |
49 | (mips*-*-linux*): Likewise. | |
50 | (sparc-*-linux*): Remove sparc/t-crtfm from tmake_file. | |
51 | (sparc64-*-linux*): Likewise. | |
52 | (sparc64-*-freebsd*): Likewise. | |
53 | ||
e141542e RO |
54 | 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
55 | ||
56 | * config/darwin-crt2.c: Move to ../libgcc/config/rs6000. | |
57 | * config/darwin-crt3.c: Move to ../libgcc/config. | |
58 | * config/t-darwin (EXTRA_MULTILIB_PARTS): Remove. | |
59 | ($(T)crt3$(objext)): Remove. | |
60 | * config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): Remove. | |
61 | ($(T)crt2$(objext)): Remove. | |
62 | * config.gcc (powerpc-*-darwin*): Remove extra_parts. | |
63 | (powerpc64-*-darwin*): Likewise. | |
64 | ||
72fbc381 L |
65 | 2011-07-13 H.J. Lu <hongjiu.lu@intel.com> |
66 | ||
67 | * config/i386/i386.c (x86_output_mi_thunk): Support ptr_mode | |
68 | != Pmode. | |
69 | ||
70 | * config/i386/i386.md (*addsi_1_zext): Renamed to ... | |
71 | (addsi_1_zext): This. | |
72 | ||
727a65e6 BS |
73 | 2011-07-13 Bernd Schmidt <bernds@codesourcery.com> |
74 | ||
75 | * doc/tm.texi.in (TARGET_ASM_MERGEABLE_RODATA_PREFIX): Add hook. | |
76 | * doc/tm.texi: Regenerate. | |
77 | * target.def (mergeable_rodata_prefix: New defhookpod. | |
78 | * varasm.c (mergeable_string_section, mergeable_constant_section): | |
79 | Use it. Allocate name with alloca. | |
80 | ||
cb77b6cf L |
81 | 2011-07-13 H.J. Lu <hongjiu.lu@intel.com> |
82 | ||
83 | * doc/invoke.texi (x86): Remove -mfused-madd and add -mfma. | |
84 | ||
36fc3799 RS |
85 | 2011-07-13 Richard Sandiford <richard.sandiford@linaro.org> |
86 | ||
87 | * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): Tighten | |
88 | overlap check. | |
89 | ||
953d0c90 RS |
90 | 2011-07-13 Richard Sandiford <richard.sandiford@linaro.org> |
91 | ||
92 | * tree.h (categorize_ctor_elements): Remove comment. Fix long line. | |
93 | (count_type_elements): Delete. | |
94 | (complete_ctor_at_level_p): Declare. | |
95 | * expr.c (flexible_array_member_p): New function, split out from... | |
96 | (count_type_elements): ...here. Make static. Replace allow_flexarr | |
97 | parameter with for_ctor_p. When for_ctor_p is true, return the | |
98 | number of elements that should appear in the top-level constructor, | |
99 | otherwise return an estimate of the number of scalars. | |
100 | (categorize_ctor_elements): Replace p_must_clear with p_complete. | |
101 | (categorize_ctor_elements_1): Likewise. Use complete_ctor_at_level_p. | |
102 | (complete_ctor_at_level_p): New function, borrowing union logic | |
103 | from old categorize_ctor_elements_1. | |
104 | (mostly_zeros_p): Return true if the constructor is not complete. | |
105 | (all_zeros_p): Update call to categorize_ctor_elements. | |
106 | * gimplify.c (gimplify_init_constructor): Update call to | |
107 | categorize_ctor_elements. Don't call count_type_elements. | |
108 | Unconditionally prevent clearing for variable-sized types, | |
109 | otherwise rely on categorize_ctor_elements to detect | |
110 | incomplete initializers. | |
111 | ||
9111c715 RG |
112 | 2011-07-13 Richard Guenther <rguenther@suse.de> |
113 | ||
114 | * tree-vrp.c (simplify_conversion_using_ranges): Make sure | |
115 | the final type is integral. | |
116 | ||
a19af9c4 BS |
117 | 2011-07-13 Bernd Schmidt <bernds@codesourcery.com> |
118 | ||
119 | * sched-int.h (struct _dep): Add member cost. | |
120 | (DEP_COST, UNKNOWN_DEP_COST): New macros. | |
121 | * sched-deps.c (init_dep_1): Initialize DEP_COST. | |
122 | * haifa-sched.c (dep_cost_1): Use and set DEP_COST. | |
123 | (sched_change_pattern): Reset it for dependent insns. | |
124 | ||
2d1efe2d RO |
125 | 2011-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
126 | ||
127 | * Makefile.in (CRT0STUFF_T_CFLAGS): Remove. | |
128 | ($(T)crt0.o, $(T)mcrt0.o, s-crt0): Remove. | |
129 | * config/i386/netware-crt0.c: Move to ../libgcc/config/i386. | |
130 | * config/i386/t-nwld (CRTSTUFF_T_CFLAGS, CRT0STUFF_T_CFLAGS): Remove. | |
131 | (CRT0_S, MCRT0_S): Remove. | |
132 | ($(T)libgcc.def, $(T)libc.def, $(T)libcpre.def, $(T)posixpre.def): | |
133 | Remove. | |
134 | (s-crt0): Remove. | |
135 | * config.gcc (i[3456x]86-*-netware*): Remove extra_parts. | |
136 | ||
e84a58ff EB |
137 | 2011-07-12 Eric Botcazou <ebotcazou@adacore.com> |
138 | ||
139 | * cse.c (insert_with_costs): Put semi-colon after empty loop body | |
140 | on the next line. | |
141 | * emit-rtl.c (push_to_sequence): Likewise. | |
142 | * haifa-sched.c (max_issue): Likewise. | |
143 | * matrix-reorg.c (add_allocation_site): Likewise. | |
144 | * postreload-gcse.c (eliminate_partially_redundant_load): Likewise. | |
145 | * reload.c (alternative_allows_const_pool_ref): Likewise. | |
146 | * sched-rgn.c (rgn_add_block): Likewise. | |
147 | (rgn_fix_recovery_cfg): Likewise. | |
148 | * tree.c (attribute_list_contained): Likewise. | |
149 | ||
3a4ffde6 UB |
150 | 2011-07-12 Uros Bizjak <ubizjak@gmail.com> |
151 | ||
152 | * config/i386/i386.c: Tidy processor feature bitmasks. | |
153 | (m_P4_NOCONA): New. | |
154 | ||
10b75750 AP |
155 | 2011-07-12 Andrew Pinski <pinskia@gmail.com> |
156 | ||
157 | PR rtl-opt/49474 | |
158 | * cprop.c (find_implicit_sets): Correct the condition. | |
159 | ||
4f42d714 RH |
160 | 2011-07-12 Richard Henderson <rth@redhat.com> |
161 | ||
162 | PR target/49713 | |
163 | * dwarf2out.h (dwarf_frame_regnum): Remove. | |
164 | * dwarf2out.c (based_loc_descr): Revert last change. Initialize regno | |
165 | earlier from DWARF_FRAME_REGNUM. Never use dbx_reg_number. | |
166 | * dwarf2cfi.c (dw_stack_pointer_regnum, dw_frame_pointer_regnum): New. | |
167 | (execute_dwarf2_frame): Initialize them. | |
168 | (DW_STACK_POINTER_REGNUM, DW_FRAME_POINTER_REGNUM): Remove; replace | |
169 | users of the macros with the variables. | |
170 | (expand_builtin_dwarf_sp_column): Revert last change. | |
171 | (expand_builtin_init_dwarf_reg_sizes): Likewise. Compute the | |
172 | result of DWARF_FRAME_REGNUM into a local variable. | |
173 | ||
3a5e4ad6 RH |
174 | 2011-07-12 Richard Henderson <rth@redhat.com> |
175 | ||
176 | PR target/49714 | |
177 | * config/i386/i386.c (x86_output_mi_thunk): Use | |
178 | machopic_indirect_call_target instead of machopic_indirection_name | |
179 | directly. | |
180 | ||
9e9bd455 LG |
181 | 2011-07-12 Laurent GUERBY <laurent@guerby.net> |
182 | Eric Botcazou <ebotcazou@adacore.com> | |
183 | ||
184 | * prefix.h: Wrap up in extern "C" block. | |
185 | ||
4d652a18 HJ |
186 | 2011-07-12 Harsha Jagasia <harsha.jagasia@amd.com> |
187 | ||
188 | AMD bdver2 Enablement | |
189 | * config.gcc (i[34567]86-*-linux* | ...): Add bdver2. | |
190 | (case ${target}): Add bdver2. | |
191 | * config/i386/driver-i386.c (host_detect_local_cpu): Let | |
192 | -march=native recognize bdver2 processors. | |
193 | * config/i386/i386-c.c (ix86_target_macros_internal): Add | |
194 | bdver2 def_and_undef | |
195 | * config/i386/i386.c (struct processor_costs bdver2_cost): New | |
196 | bdver2 cost table. | |
197 | (m_BDVER2): New definition. | |
198 | (m_AMD_MULTIPLE): Includes m_BDVER2. | |
199 | (initial_ix86_tune_features): Add bdver2 tuning. | |
200 | (processor_target_table): Add bdver2 entry. | |
201 | (static const char *const cpu_names): Add bdver2 entry. | |
202 | (ix86_option_override_internal): Add bdver2 instruction sets. | |
203 | (ix86_issue_rate): Add bdver2. | |
204 | (ix86_adjust_cost): Add bdver2. | |
205 | (has_dispatch): Add bdver2. | |
206 | * config/i386/i386.h (TARGET_BDVER2): New definition. | |
207 | (enum target_cpu_default): Add TARGET_CPU_DEFAULT_bdver2. | |
208 | (enum processor_type): Add PROCESSOR_BDVER2. | |
209 | * config/i386/i386.md (define_attr "cpu"): Add bdver2. | |
210 | * config/i386/i386.opt ( mdispatch-scheduler): Add bdver2 to | |
211 | description. | |
212 | ||
5756d08c RH |
213 | 2011-07-12 Richard Henderson <rth@redhat.com> |
214 | ||
215 | PR target/49714 | |
216 | * config/i386/i386.c (x86_output_mi_thunk): Fix mode for | |
217 | destination address in memory on some paths. | |
218 | ||
123148b5 BS |
219 | 2011-07-12 Bernd Schmidt <bernds@codesourcery.com> |
220 | ||
221 | * doc/tm.texi.in (FUNCTION_ARG_PADDING): Mention | |
222 | TARGET_FUNCTION_ARG_ROUND_BOUNDARY. | |
223 | (TARGET_FUNCTION_ARG_ROUND_BOUNDARY): Add hook. | |
224 | * function.c (locate_and_pad_parm): Take it into account. | |
225 | * target.def (function_arg_round_boundary): New hook. | |
226 | * targhooks.c (default_function_arg_round_boundary): New function. | |
227 | * targhooks.h (default_function_arg_round_boundary): Declare. | |
228 | * doc/tm.texi: Regenerate. | |
229 | ||
b7a83ad8 RG |
230 | 2011-07-12 Richard Guenther <rguenther@suse.de> |
231 | ||
232 | * tree-ssa-copyrename.c (rename_ssa_copies): Zero statistics. | |
233 | Do not perform no-op changes. | |
234 | ||
12c4ecb1 RS |
235 | 2011-07-12 Richard Sandiford <richard.sandiford@linaro.org> |
236 | ||
237 | * config/arm/predicates.md (neon_struct_operand): Make a normal | |
238 | predicate. | |
239 | (neon_struct_or_register_operand): New predicate. | |
240 | * config/arm/neon.md (movmisalign<mode>): Replace predicates | |
241 | with neon_struct_or_register_operand. | |
242 | (*movmisalign<mode>_neon_store, *movmisalign<mode>_neon_load): Use | |
243 | neon_struct_operand instead of memory_operand. | |
244 | ||
ab079773 MJ |
245 | 2011-07-12 Martin Jambor <mjambor@suse.cz> |
246 | ||
247 | * cgraph.h (cgraph_get_node_or_alias): Removed declaration. | |
248 | * cgraph.c (cgraph_get_node_or_alias): Removed. | |
249 | (change_decl_assembler_name): Changed all calls to | |
250 | cgraph_get_node_or_alias to a call to cgraph_get_node. | |
251 | (cgraph_make_decl_local): Likewise. | |
252 | * lto-symtab.c (lto_symtab_resolve_symbols): Likewise. | |
253 | * varasm.c (default_binds_local_p_1): Likewise. | |
254 | (decl_binds_to_current_def_p): Likewise. | |
255 | ||
d5fed62d JJ |
256 | 2011-07-12 Jakub Jelinek <jakub@redhat.com> |
257 | ||
258 | PR tree-optimization/49712 | |
259 | * tree-ssa-loop-im.c (gen_lsm_tmp_name): Handle TARGET_MEM_REF. | |
260 | ||
c0b6224a BS |
261 | 2011-07-11 Bernd Schmidt <bernds@codesourcery.com> |
262 | ||
263 | * genautomata.c (add_arc): Return void. All callers changed. | |
264 | (make_automaton): Remove dead code. | |
265 | ||
7263c6d7 RH |
266 | 2011-07-11 Richard Henderson <rth@redhat.com> |
267 | ||
268 | * dwarf2cfi.c (DW_STACK_POINTER_REGNUM): New. | |
269 | (DW_FRAME_POINTER_REGNUM): New. | |
270 | (expand_builtin_init_dwarf_reg_sizes): Use unsigned for rnum. | |
271 | (def_cfa_1): Do not convert reg to DWARF_FRAME_REGNUM here. | |
272 | (dwf_regno): New. | |
273 | (dwarf2out_flush_queued_reg_saves, dwarf2out_frame_debug_def_cfa, | |
274 | dwarf2out_frame_debug_adjust_cfa, dwarf2out_frame_debug_cfa_register, | |
275 | dwarf2out_frame_debug_cfa_expression, dwarf2out_frame_debug_expr): | |
276 | Use it. | |
277 | * dwarf2out.c (based_loc_descr): Use dwarf_frame_regnum. | |
278 | * dwarf2out.h (dwarf_frame_regnum): New. | |
279 | (struct cfa_loc): Document the domain of the reg member. | |
280 | ||
f9610d20 UB |
281 | 2011-07-11 Uros Bizjak <ubizjak@gmail.com> |
282 | ||
283 | * config/i386/i386.c (ix86_trampoline_init): Switch arms of if expr. | |
284 | Use offset everywhere. Always assert that offset <= TRAMPOLINE_SIZE. | |
285 | ||
96ae7458 JJ |
286 | 2011-07-11 Jakub Jelinek <jakub@redhat.com> |
287 | ||
288 | PR debug/49676 | |
289 | * dwarf2out.c (int_shift_loc_descriptor): New function. | |
290 | (int_loc_descriptor): If shorter, emit i as | |
291 | (i >> shift), shift, DW_OP_shl for suitable shift value. | |
292 | Similarly, try to optimize large negative values using | |
293 | DW_OP_neg of a positive value if shorter. | |
294 | (size_of_int_shift_loc_descriptor): New function. | |
295 | (size_of_int_loc_descriptor): Adjust to match int_loc_descriptor | |
296 | changes. | |
297 | (mem_loc_descriptor) <case CONST_INT>: Emit zero-extended constants | |
298 | that fit into DWARF2_ADDR_SIZE bytes as int_loc_descriptor + | |
299 | DW_OP_GNU_convert instead of DW_OP_GNU_const_type if the former | |
300 | is shorter. | |
301 | (resolve_addr_in_expr): Optimize DW_OP_plus_uconst with a large | |
302 | addend as added DW_OP_plus if it is shorter. | |
303 | ||
feffaec4 RO |
304 | 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
305 | ||
306 | * config/i386/sol2.h [!USE_GLD] (CTORS_SECTION_ASM_OP): Define. | |
307 | (DTORS_SECTION_ASM_OP): Define. | |
308 | ||
2d8d5935 RO |
309 | 2011-07-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
310 | ||
311 | * config/dfp-bit.c, config/dfp-bit.h: Move to ../libgcc. | |
312 | * config/t-dfprules: Move to ../libgcc/config. | |
313 | * config.gcc (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu, | |
314 | i[34567]86-*-knetbsd*-gnu, i[34567]86-*-gnu*, | |
315 | i[34567]86-*-kopensolaris*-gnu): Remove t-dfprules from tmake_file. | |
316 | (x86_64-*-linux*, x86_64-*-kfreebsd*-gnu, x86_64-*-knetbsd*-gnu): | |
317 | Likewise. | |
318 | (i[34567]86-*-cygwin*): Likewise. | |
319 | (i[34567]86-*-mingw*, x86_64-*-mingw*): Likewise. | |
320 | (powerpc-*-linux*, powerpc64-*-linux*): Likewise. | |
321 | * Makefile.in (D32PBIT_FUNCS, D64PBIT_FUNCS, D128PBIT_FUNCS): Remove. | |
322 | (libgcc.mvars): Remove DFP_ENABLE, DFP_CFLAGS, D32PBIT_FUNCS, | |
323 | D64PBIT_FUNCS, D128PBIT_FUNCS. | |
324 | ||
dcc95c20 RG |
325 | 2011-07-11 Richard Guenther <rguenther@suse.de> |
326 | ||
327 | * tree-vrp.c (simplify_conversion_using_ranges): Manually | |
328 | translate the source value-range through the conversion chain. | |
329 | ||
28164eed RS |
330 | 2011-07-11 Richard Sandiford <richard.sandiford@linaro.org> |
331 | ||
332 | * expr.c (expand_expr_real_1): Use expand_insn for movmisalign. | |
333 | ||
f3054223 AL |
334 | 2011-07-11 Arthur Loiret <aloiret@debian.org> |
335 | ||
336 | * config.gcc (s390-*-linux*): If 'enabled_targets' is 'all', build | |
337 | a bi-arch compiler defaulting to 31-bit. In this case: | |
338 | (tmake_file): Add s390/t-linux64. | |
339 | * doc/install.texi: Add s390-linux to the list of targets supporting | |
340 | --enable-targets=all. | |
341 | ||
bd5ab709 AL |
342 | 2011-07-11 Arthur Loiret <aloiret@debian.org> |
343 | Matthias Klose <doko@debian.org> | |
344 | ||
345 | * config.gcc (mips*-*-linux*): If 'enabled_targets' is 'all', build | |
346 | a tri-arch compiler defaulting to 32-bit (ABI o32). In this case: | |
347 | (tm_file): Add mips/linux64.h. | |
348 | (tmake_file): Add mips/t-linux64. | |
349 | (tm_defines): Add MIPS_ABI_DEFAULT=ABI_32. | |
350 | * config/mips/linux64.h (DRIVER_SELF_SPECS): Use MULTILIB_ABI_DEFAULT | |
351 | instead of hardcoded mabi=n32. | |
352 | * config/mips/t-linux64 (MULTILIB_DIRNAMES): Set to 'n32 . 64' if | |
353 | tm_defines contains MIPS_ABI_DEFAULT ABI_32, to follow the glibc | |
354 | convention. | |
355 | ||
d3b7e946 AK |
356 | 2011-07-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
357 | ||
358 | * passes.c (init_optimization_passes): Add invariant motion pass | |
359 | after induction variable optimization. | |
360 | ||
7e4ec472 | 361 | 2011-07-11 Georg-Johann Lay <avr@gjlay.de> |
f9610d20 | 362 | |
7e4ec472 GJL |
363 | PR target/39633 |
364 | * config/avr/avr.c (notice_update_cc): For ashiftrt:QI, only | |
365 | offsets 1..5 set cc0 in a usable way. | |
366 | ||
0e65e631 RG |
367 | 2011-07-11 Romain Geissler <romain.geissler@gmail.com> |
368 | ||
369 | * tree.h (call_expr_arg): Remove. | |
370 | (call_expr_argp): Likewise. | |
371 | ||
18970372 EB |
372 | 2011-07-11 Eric Botcazou <ebotcazou@adacore.com> |
373 | ||
374 | * config/sparc/sparc.md (save_register_window_1): Rename to... | |
375 | (window_save): ...this. | |
376 | * config/sparc/sparc.c (emit_save_register_window): Rename to... | |
377 | (emit_window_save): ...this. | |
378 | (sparc_expand_prologue): Adjust to above renaming. | |
379 | ||
9e419e38 L |
380 | 2011-07-10 H.J. Lu <hongjiu.lu@intel.com> |
381 | ||
382 | * config/i386/i386.c (ix86_trampoline_init): Use movl instead | |
383 | of movabs for x32. | |
384 | ||
3db72de3 RH |
385 | 2011-07-10 Richard Henderson <rth@redhat.com> |
386 | ||
387 | * config/i386/i386.c (x86_output_mi_thunk): Generate rtl and | |
388 | run final, instead of emitting text directly. | |
389 | ||
a1f91bca L |
390 | 2011-07-10 H.J. Lu <hongjiu.lu@intel.com> |
391 | ||
392 | * config/i386/i386.c (ix86_option_override_internal): Turn on | |
393 | OPTION_MASK_ISA_64BIT for TARGET_X32. Only allow small and | |
394 | small PIC models for TARGET_X32. | |
395 | ||
a50023f9 HPN |
396 | 2011-07-10 Hans-Peter Nilsson <hp@axis.com> |
397 | ||
9a0b29f0 HPN |
398 | PR target/49684 |
399 | * config/cris/t-elfmulti (CRTSTUFF_T_CFLAGS): Don't include | |
400 | $(LIBGCC2_CFLAGS). | |
401 | ||
a50023f9 HPN |
402 | PR bootstrap/49680 |
403 | * config/cris/cris.c (cris_asm_output_case_end): Robustify against | |
404 | stray notes and debug insns by using prev_nonnote_nondebug_insn | |
405 | instead of PREV_INSN. | |
406 | ||
948d330e RH |
407 | 2011-07-09 Richard Henderson <rth@redhat.com> |
408 | ||
409 | * defaults.h (DWARF2_ADDR_SIZE, DWARF_OFFSET_SIZE, | |
410 | DWARF_TYPE_SIGNATURE_SIZE): Move from ... | |
411 | * dwarf2out.c: ... here. | |
412 | (output_all_cfis): Remove. | |
413 | (dwarf2out_switch_text_section): Use output_cfis directly. | |
414 | (size_of_locs): Export. | |
415 | (output_loc_sequence, output_loc_sequence_raw): Export. | |
416 | (div_data_align, need_data_align_sf_opcode, dwarf_cfi_name, output_cfi, | |
417 | output_cfi_directive, dwarf2out_emit_cfi, output_cfis, output_cfa_loc, | |
418 | output_cfa_loc_raw): Move to ... | |
419 | * dwarfcfi.c: ... here. | |
420 | * dwarf2out.h: Update decls. | |
421 | ||
db42e39d RH |
422 | 2011-07-09 Richard Henderson <rth@redhat.com> |
423 | ||
424 | * defaults.h (DWARF_CIE_DATA_ALIGNMENT, DWARF_FRAME_RETURN_COLUMN, | |
425 | DWARF_FRAME_REGNUM, DWARF2_FRAME_REG_OUT): Move from ... | |
426 | * dwarf2cfi.c: ... here. | |
427 | (PTR_SIZE, DWARF_OFFSET_SIZE, DWARF_INITIAL_LENGTH_SIZE): Remove. | |
428 | (DWARF_ROUND, DWARF_CIE_ID): Remove. | |
429 | * dwarf2out.c (INCOMING_RETURN_ADDR_RTX): Remove. | |
430 | (DWARF2_FRAME_REG_OUT, DWARF_CIE_DATA_ALIGNMENT): Remove. | |
431 | (DWARF_FRAME_RETURN_COLUMN, DWARF_FRAME_REGNUM): Remove. | |
432 | ||
a8e5c0e7 RH |
433 | 2011-07-09 Richard Henderson <rth@redhat.com> |
434 | ||
435 | * dwarf2cfi.c (cie_return_save): New. | |
436 | (queue_reg_save): Use compare_reg_or_pc. | |
437 | (dwarf2out_flush_queued_reg_saves): Handle pc_rtx as return column. | |
438 | (dwarf2out_frame_debug_expr): Likewise. | |
439 | (dwarf2out_frame_debug_cfa_register): Record saved reg for pc too. | |
440 | (initial_return_save): Likewise. | |
441 | (execute_dwarf2_frame): Save and restore initial return save from | |
442 | the cie to the fde. | |
443 | * config/mips/mips.c (mips_frame_set): Remove special case for | |
444 | DWARF_FRAME_RETURN_COLUMN. | |
445 | ||
4a8ee122 RH |
446 | 2011-07-09 Richard Henderson <rth@redhat.com> |
447 | ||
448 | * dwarf2cfi.c (lookup_cfa): Remove. | |
449 | (execute_dwarf2_frame): Assert queues are empty on entry. | |
450 | Setup initial cfa directly, not via lookup_cfa. | |
451 | Don't clear args_size state here. | |
452 | ||
3edb53aa RH |
453 | 2011-07-09 Richard Henderson <rth@redhat.com> |
454 | ||
455 | * dwarf2cfi.c (add_cfi_vec): New. | |
456 | (add_cfi): Rename from add_fde_cfi. Add the element to add_cfi_vec. | |
457 | (def_cfa_1, reg_save): Remove for_cie argument. Update all callers. | |
458 | (execute_dwarf2_frame): Set add_cfi_vec. | |
459 | ||
ded49a7f RH |
460 | 2011-07-09 Richard Henderson <rth@redhat.com> |
461 | ||
462 | * defaults.h (ASM_COMMENT_START): Move here... | |
463 | * dwarf2asm.c: ... from here. | |
464 | * dwarf2out.c, final.c, vmsdbgout.c: Remove duplicates. | |
465 | * toplev.c: Remove ifndef tests of ASM_COMMENT_START. | |
466 | * varasm.c: Likewise. | |
467 | ||
45fba6d1 RH |
468 | 2011-07-09 Richard Henderson <rth@redhat.com> |
469 | ||
470 | PR debug/49686 | |
471 | * dwarf2cfi.c (dwarf2out_frame_debug): Don't set cfi_insn here... | |
472 | (create_cfi_notes): ... do it here instead. | |
473 | ||
5b696ba2 JJ |
474 | 2011-07-09 Jakub Jelinek <jakub@redhat.com> |
475 | ||
476 | PR debug/49676 | |
477 | * dwarf2out.c (size_of_int_loc_descriptor): New function. | |
478 | (address_of_int_loc_descriptor): Use it. | |
f9610d20 | 479 | (scompare_loc_descriptor): Optimize EQ/NE comparison with constant. |
5b696ba2 | 480 | |
8662b2ba RH |
481 | 2011-07-09 Richard Henderson <rth@redhat.com> |
482 | ||
483 | * config/pdp11/pdp11.md (define_c_enum "unspecv"): New. | |
484 | (prologue, epilogue): New. | |
485 | (return, *rts): New. | |
486 | (blockage, setd, seti): New. | |
487 | * config/pdp11/pdp11.c (TARGET_ASM_FUNCTION_PROLOGUE): Remove. | |
488 | (TARGET_ASM_FUNCTION_EPILOGUE): Remove. | |
489 | (pdp11_saved_regno): New. | |
490 | (pdp11_expand_prologue): Rename from pdp11_output_function_prologue; | |
491 | generate rtl instead of text. | |
492 | (pdp11_expand_epilogue): Similarly from pdp11_output_function_epilogue. | |
493 | (pdp11_sp_frame_offset): Export. Use pdp11_saved_regno. | |
494 | * config/pdp11/pdp11-protos.h: Update. | |
495 | ||
28b21ebb RH |
496 | 2011-07-09 Richard Henderson <rth@redhat.com> |
497 | ||
498 | * config/rs6000/rs6000.c (rs6000_output_function_prologue): Don't | |
499 | try to insert an rtl prologue here. | |
500 | (rs6000_output_function_epilogue): Similarly. | |
501 | * config/rs6000/rs6000.md (prologue): Emit a barrier to | |
502 | satisfy !TARGET_SCHED_PROLOG. | |
503 | (epilogue, sibcall_epilogue): Likewise. | |
504 | ||
0a222ba7 EB |
505 | 2011-07-09 Eric Botcazou <ebotcazou@adacore.com> |
506 | ||
507 | * config/sparc/sparc.h (STACK_SAVEAREA_MODE): Move around. | |
508 | (FP_REG_P): Delete. | |
509 | (IN_OR_GLOBAL_P): Likewise. | |
510 | ||
2fda8e14 JM |
511 | 2011-07-08 Jason Merrill <jason@redhat.com> |
512 | ||
4063e61b JM |
513 | PR c++/45437 |
514 | * gimplify.c (goa_stabilize_expr): Handle RHS preevaluation in | |
515 | compound assignment. | |
516 | ||
2fda8e14 JM |
517 | * cgraph.c (cgraph_add_to_same_comdat_group): New. |
518 | * cgraph.h: Declare it. | |
519 | * ipa.c (function_and_variable_visibility): Make sure thunks | |
520 | have the right visibility. | |
521 | ||
830f11fe RH |
522 | 2011-07-08 Richard Henderson <rth@redhat.com> |
523 | ||
524 | PR bootstrap/49680 | |
525 | * dwarf2cfi.c (dwarf2out_frame_debug): Insert cfi notes after | |
526 | any tablejump vector. | |
527 | ||
965b2557 RH |
528 | PR bootstrap/49680 |
529 | * dwarf2cfi.c (create_cfi_notes): Flush queued saves at the | |
530 | end of the prologue. | |
531 | ||
70db9095 JJ |
532 | 2011-07-08 Jakub Jelinek <jakub@redhat.com> |
533 | ||
534 | PR target/49621 | |
535 | * config/rs6000/rs6000.c (rs6000_emit_vector_cond_expr): Use | |
f9610d20 | 536 | CONST0_RTX (dest_mode) instead of const0_rtx as second operand of NE. |
70db9095 JJ |
537 | * config/rs6000/vector.md (vector_select_<mode>, |
538 | vector_select_<mode>_uns): Change second operand of NE to | |
539 | CONST0_RTX (<MODE>mode) instead of const0_rtx. | |
540 | * config/rs6000/altivec.md (*altivec_vsel<mode>, | |
541 | *altivec_vsel<mode>_uns): Expect second operand of NE to be | |
542 | zero_constant of the corresponding vector mode. | |
543 | * config/rs6000/vsx.md (*vsx_xxsel<mode>, *vsx_xxsel<mode>_uns): | |
544 | Likewise. | |
545 | ||
e92c5020 SP |
546 | 2011-07-08 Sebastian Pop <sebastian.pop@amd.com> |
547 | ||
548 | * graphite-dependences.c (build_alias_set_powerset): Remove | |
549 | continue from loop, add one more assert. | |
550 | ||
3e4f8484 | 551 | 2011-07-08 Georg-Johann Lay <avr@gjlay.de> |
f9610d20 | 552 | |
3e4f8484 GJL |
553 | PR target/46779 |
554 | * config/avr/avr.c (avr_hard_regno_mode_ok): Rewrite. | |
555 | In particular, allow 8-bit values in r28 and r29. | |
556 | (avr_hard_regno_scratch_ok): Disallow any register that might be | |
557 | part of the frame pointer. | |
558 | (avr_hard_regno_rename_ok): Same. | |
559 | (avr_legitimate_address_p): Don't allow SUBREGs. | |
560 | ||
0094f21b JB |
561 | 2011-07-08 Julian Brown <julian@codesourcery.com> |
562 | ||
563 | * config/arm/neon.md (vec_shr_<mode>, vec_shl_<mode>): Disable in | |
564 | big-endian mode. | |
565 | (reduc_splus_<mode>, reduc_uplus_<mode>, reduc_smin_<mode>) | |
566 | (reduc_smax_<mode>, reduc_umin_<mode>, reduc_umax_<mode>) | |
567 | (neon_vec_unpack<US>_lo_<mode>, neon_vec_unpack<US>_hi_<mode>) | |
568 | (vec_unpack<US>_hi_<mode>, vec_unpack<US>_lo_<mode>) | |
569 | (neon_vec_<US>mult_lo_<mode>, vec_widen_<US>mult_lo_<mode>) | |
570 | (neon_vec_<US>mult_hi_<mode>, vec_widen_<US>mult_hi_<mode>) | |
571 | (vec_pack_trunc_<mode>, neon_vec_pack_trunc_<mode>): Disable for Q | |
572 | registers in big-endian mode. | |
573 | ||
9ae60101 BS |
574 | 2011-07-08 Bernd Schmidt <bernds@codesourcery.com> |
575 | ||
576 | * genattrtab.c (evaluate_eq_attr): Allow an attribute to be defined | |
577 | in terms of another. | |
578 | (write_attr_value): Write a cast if necessary. | |
579 | ||
c0a6a1ef BS |
580 | * defaults.h (REG_WORDS_BIG_ENDIAN): Provide a default. |
581 | * doc/tm.texi.in (WORDS_BIG_ENDIAN): Mention REG_WORDS_BIG_ENDIAN. | |
582 | (REG_WORDS_BIG_ENDIAN): Document. | |
583 | * doc/tm.texi: Regenerate. | |
584 | * reload.c (operands_match_p): Take it into account. | |
585 | (reload_adjust_reg_for_mode): Likewise. | |
586 | * rtlanal.c (subreg_get_info): Likewise. | |
587 | ||
b862187a RG |
588 | 2011-07-08 Richard Guenther <rguenther@suse.de> |
589 | ||
590 | * fold-const.c (fold_binary_loc): Remove index +p PTR -> PTR +p index | |
591 | folding. | |
592 | ||
e8e8c74b KT |
593 | 2011-07-08 Kai Tietz <ktietz@redhat.com> |
594 | ||
595 | * fold-const.c (fold_truth_andor): Factored out truth_andor | |
596 | label from fold_binary as function. | |
597 | (fold_binary_loc): Replace truth_andor lable | |
598 | by function fold_truth_andor. | |
599 | ||
6c3cb698 KY |
600 | 2011-07-08 Kirill Yukhin <kirill.yukhin@intel.com> |
601 | ||
602 | PR middle-end/49519 | |
603 | * calls.c (mem_overlaps_already_clobbered_arg_p): Additional | |
604 | check if address is stored in register. If so - give up. | |
605 | (check_sibcall_argument_overlap_1): Do not perform check of | |
606 | overlapping when it is call to address. | |
607 | ||
7d8d6d73 | 608 | 2011-07-08 Georg-Johann Lay <avr@gjlay.de> |
9ae60101 | 609 | |
7d8d6d73 GJL |
610 | * config/avr/avr.c (output_reload_insisf): Use 'REG_Z+1' instead |
611 | of magic '31'. | |
612 | ||
69660a70 BS |
613 | 2011-07-08 Bernd Schmidt <bernds@codesourcery.com> |
614 | ||
615 | * optabs.c (expand_binop): Use GET_MODE_PRECISION instead of | |
616 | GET_MODE_BITSIZE where appropriate. | |
617 | (widen_leading, expand_parity, expand_ctz, expand_ffs, | |
618 | expand_unop, expand_abs_nojump, expand_one_cmpl_abs_nojump, | |
619 | expand_float, expand_fix): Likewise. | |
620 | * expr.c (convert_move, convert_modes, expand_expr_real_2, | |
621 | expand_expr_real_1, reduce_to_bit_field_precision): Likewise. | |
622 | * stor-layout.c (get_mode_bounds): Likewise. | |
623 | * cfgexpand.c (convert_debug_memory_address, expand_debug_expr): | |
624 | Likewise. | |
625 | * convert.c (convert_to_integer): Likewise. | |
626 | * expmed.c (expand_shift_1): Likewise. | |
627 | ||
86cdf393 BS |
628 | * rtlanal.c (nonzero_bits1): Don't compare GET_MODE_SIZE against |
629 | a bitsize. | |
630 | ||
0d44736e BS |
631 | * optabs.c (expand_binop): Tighten conditions for doubleword |
632 | expansions. | |
f9610d20 | 633 | (widen_bswap): Assert that mode bitsize and precision are the same. |
0d44736e BS |
634 | * stor-layout.c (get_best_mode): Skip modes that have lower |
635 | precision than bitsize. | |
636 | * recog.c (simplify_while_replacing): Assert that bitsize and | |
637 | precision are the same. | |
638 | ||
2c50b2c3 RO |
639 | 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
640 | ||
641 | * Makefile.in (LIBGCOV): Remove. | |
642 | (libgcc.mvars): Remove LIBGCOV. | |
643 | * libgov.c: Move to ../libgcc. | |
644 | ||
a039d7c2 RO |
645 | 2011-07-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
646 | ||
647 | * config/fixed-bit.c, config/fixed-bit.h: Move to ../libgcc. | |
648 | ||
e923ef41 MJ |
649 | 2011-07-08 Martin Jambor <mjambor@suse.cz> |
650 | ||
651 | * tree-sra.c (analyze_all_variable_accesses): Dump that a struture | |
652 | is too big for total scalarization. | |
653 | ||
b709e189 RH |
654 | 2011-07-07 Richard Henderson <rth@redhat.com> |
655 | ||
656 | * config/alpha/elf.h (MIPS_DEBUGGING_INFO): Undef. | |
657 | (DBX_DEBUGGING_INFO): Undef. | |
658 | ||
2867fa7c RH |
659 | 2011-07-07 Richard Henderson <rth@redhat.com> |
660 | ||
661 | * dwarf2out.c (output_cfi_directive): Export. Add FILE parameter. | |
662 | Handle some opcodes specially for debugging. | |
663 | * print-rtl.c: Include dwarf2out.h | |
664 | (print_rtx): Handle NOTE_INSN_CFI. | |
665 | * Makefile.in (print-rtl.o): Update. | |
666 | ||
7644b3c7 RH |
667 | 2011-07-07 Richard Henderson <rth@redhat.com> |
668 | ||
669 | * tree-pass.h (pass_dwarf2_frame): Declare. | |
670 | * passes.c (init_optimization_passes): Add it. | |
671 | * dwarf2cfi.c (dwarf2out_frame_debug): Make static. | |
672 | (create_cfi_notes): Rename from dwarf2out_frame_debug_after_prologue; | |
673 | make static, do not call add_cfis_to_fde. | |
674 | (dwarf2out_frame_debug_init, dwarf2cfi_function_init, | |
675 | dwarf2out_frame_init): Merge into... | |
676 | (execute_dwarf2_frame): ... here. New function. | |
677 | (dwarf2out_do_frame, dwarf2out_do_cfi_asm): Make boolean. Change | |
678 | saved_do_cfi_asm to a tri-state variable. | |
679 | (gate_dwarf2_frame, pass_dwarf2_frame): New. | |
680 | * dwarf2out.c (dwarf2out_begin_prologue): Only allocate the fde | |
681 | if it has yet to be done. Don't call dwarf2cfi_function_init. | |
682 | * dwarf2out.h, debug.h: Update decls. | |
683 | * final.c (final_start_function): Don't call | |
684 | dwarf2out_frame_debug_init or dwarf2out_frame_debug_after_prologue. | |
685 | * lto-streamer-in.c (lto_init_eh): Don't call dwarf2out_frame_init. | |
686 | * toplev.c (lang_dependent_init): Likewise. | |
687 | ||
a518b996 RH |
688 | 2011-07-07 Richard Henderson <rth@redhat.com> |
689 | ||
690 | * dwarf2out.c (fde_table, fde_table_allocated, fde_table_in_use, | |
691 | FDE_TABLE_INCREMENT): Replace with... | |
692 | (fde_vec): ... this, a new vector. | |
693 | (current_fde): Remove. Replace all users with cfun->fde. | |
694 | (output_call_frame_info): Use FOR_EACH_VEC_ELT over fde_vec. | |
695 | (size_of_aranges, dwarf2out_finish): Likewise. | |
696 | (dwarf2out_alloc_current_fde): Break out from ... | |
697 | (dwarf2out_begin_prologue): ... here. | |
698 | (dwarf2out_frame_init): Remove. | |
699 | * dwarf2cfi.c: Update all users of current_fde. | |
700 | (dwarf2out_frame_init): Rename from dwarf2cfi_frame_init. | |
701 | * dwarf2out.h: Update decls. | |
702 | (dw_fde_node): Add fde_index member. | |
703 | * function.h (struct function): Add fde member. | |
704 | ||
89e25f95 BS |
705 | 2011-07-07 Bernd Schmidt <bernds@codesourcery.com> |
706 | Richard Henderson <rth@redhat.com> | |
707 | ||
708 | * dwarf2cfi.c (add_cfi): Remove. | |
709 | (dwarf2out_cfi_label): Remove force argument. Only generate the | |
710 | label name. | |
711 | (add_fde_cfi): Simplify the different code paths. | |
712 | (add_cie_cfi): New. | |
713 | (old_cfa, old_cfa_remember): New. | |
714 | (def_cfa_1, reg_save): Remove label, add for_cie parameter. | |
715 | (last_reg_save_label): Remove. | |
716 | (dwarf2out_args_size, dwarf2out_stack_adjust, queue_reg_save, | |
717 | dwarf2out_frame_debug_def_cfa, dwarf2out_frame_debug_adjust_cfa, | |
718 | dwarf2out_frame_debug_cfa_offset, dwarf2out_frame_debug_cfa_register, | |
719 | dwarf2out_frame_debug_cfa_expression, | |
720 | dwarf2out_frame_debug_cfa_restore, | |
721 | dwarf2out_frame_debug_cfa_window_save, | |
722 | dwarf2out_frame_debug_expr): Remove label parameter. | |
723 | (cfi_label_required_p, add_cfis_to_fde): New. | |
724 | (dwarf2out_frame_debug_after_prologue): New. | |
725 | (dwarf2cfi_frame_init): Initialize old_cfa. | |
726 | (dwarf2out_frame_debug_restore_state): Likewise. | |
727 | * dwarf2out.c (dwarf2out_emit_cfi): Only do output for cfi_asm. | |
728 | (dwarf2out_switch_text_section): Don't clear dw_fde_current_label here. | |
729 | * final.c (final_start_function): Call | |
730 | dwarf2out_frame_debug_after_prologue. | |
731 | ||
bc5612ed BS |
732 | 2011-07-07 Bernd Schmidt <bernds@codesourcery.com> |
733 | Richard Henderson <rth@redhat.com> | |
734 | ||
735 | * dwarf2cfi.c (cfi_insn): New. | |
736 | (dwarf2out_cfi_label): Don't emit cfi label here. | |
737 | (add_fde_cfi): Create a NOTE_INSN_CFI. | |
738 | (dwarf2out_frame_debug): Setup cfi_insn. | |
739 | (dwarf2out_frame_debug_init): Loop over insns creating CFI notes. | |
740 | (dwarf2out_cfi_begin_epilogue): Make static. | |
741 | (dwarf2out_frame_debug_restore_state): Make static. | |
742 | * dwarf2out.c (output_cfi_directive): Make static. | |
743 | (dwarf2out_emit_cfi): New. | |
744 | * dwarf2out.h: Update. | |
745 | * final.c (final): Remove CFI notes. | |
746 | (final_scan_insn): Don't call dwarf2out_cfi_begin_epilogue, | |
747 | dwarf2out_frame_debug_restore_state, dwarf2out_frame_debug. | |
748 | Handle NOTE_INSN_CFI and NOTE_INSN_CFI_LABEL. | |
749 | * insn-notes.def (NOTE_INSN_CFI): New. | |
750 | (NOTE_INSN_CFI_LABEL): New. | |
751 | * rtl.h (union rtunion_def): Add rt_cfi member. | |
752 | (XCFI, XCCFI, NOTE_CFI, NOTE_LABEL_NUMBER): New. | |
753 | ||
647a1567 RH |
754 | 2011-07-07 Richard Henderson <rth@redhat.com> |
755 | ||
756 | * dwarf2cfi.c: New file. | |
757 | * Makefile.in (OBJS): Add it. | |
758 | (GTFILES): Add dwarf2cfi.c and dwarf2out.h. | |
759 | * gengtype.c (open_base_files): Include dwarf2out.h. | |
760 | * coretypes.h (enum var_init_status): Move from ... | |
761 | * rtl.h: ... here. | |
762 | * dwarf2out.c (saved_do_cfi_asm, dwarf2out_do_frame, | |
763 | dwarf2out_do_cfi_asm, cie_cfi_vec, dwarf2out_cfi_label_num, | |
764 | expand_builtin_dwarf_sp_column, init_return_column_size, | |
765 | expand_builtin_init_dwarf_reg_sizes, new_cfi, add_cfi, | |
766 | dwarf2out_cfi_label, emit_cfa_remember, any_cfis_emitted, add_fde_cfi, | |
767 | lookup_cfa_1, lookup_cfa, cfa, cfa_store, cfa_remember, args_size, | |
768 | old_args_size, cfa_equal_p, def_cfa_1, reg_save, initial_return_save, | |
769 | stack_adjust_offset, barrier_args_size, compute_barrier_args_size_1, | |
770 | compute_barrier_args_size, dwarf2out_args_size, | |
771 | dwarf2out_stack_adjust, dwarf2out_notice_stack_adjust, | |
772 | queued_reg_saves, reg_saved_in_data, regs_saved_in_regs, | |
773 | compare_reg_or_pc, record_reg_saved_in_reg, last_reg_save_label, | |
774 | queue_reg_save, dwarf2out_flush_queued_reg_saves, | |
775 | clobbers_queued_reg_save, reg_saved_in, cfa_temp, | |
776 | dwarf2out_frame_debug_def_cfa, dwarf2out_frame_debug_adjust_cfa, | |
777 | dwarf2out_frame_debug_cfa_offset, dwarf2out_frame_debug_cfa_register, | |
778 | dwarf2out_frame_debug_cfa_expression, | |
779 | dwarf2out_frame_debug_cfa_restore, | |
780 | dwarf2out_frame_debug_cfa_window_save, dwarf2out_frame_debug_expr, | |
781 | dwarf2out_frame_debug, dwarf2out_frame_debug_init, | |
782 | dwarf2out_cfi_begin_epilogue, dwarf2out_frame_debug_restore_state, | |
783 | get_cfa_from_loc_descr): Move to dwarf2cfi.c. | |
784 | (dw_cfi_ref, dw_fde_ref, dw_cfi_oprnd_ref, enum dw_cfi_oprnd_type, | |
785 | dw_cfi_oprnd, dw_cfi_node, cfi_vec, dw_cfa_location, dw_fde_node, | |
786 | dw_val_ref, dw_die_ref, const_dw_die_ref, dw_loc_descr_ref, | |
787 | dw_loc_list_ref, enum dw_val_class, dw_vec_const, dw_val_node, | |
788 | dw_loc_descr_node): Move to dwarf2out.h. | |
789 | (current_fde, output_cfi_directive, build_cfa_loc, get_address_mode, | |
790 | mem_loc_descriptor): Export. | |
791 | (build_cfa_aligned_loc): Export. Take CFA as a parameter. | |
792 | (dwarf2out_frame_init): Extract CIE generation code to | |
793 | dwarf2cfi_frame_init. | |
794 | ||
b286d9ed EB |
795 | 2011-07-07 Eric Botcazou <ebotcazou@adacore.com> |
796 | ||
797 | PR target/49660 | |
798 | * config/sparc/sol2.h [TARGET_64BIT_DEFAULT] (TARGET_DEFAULT): Add | |
799 | MASK_V8PLUS, remove commented out flag and reorder. | |
800 | ||
c4603e7c JJ |
801 | 2011-07-07 Jakub Jelinek <jakub@redhat.com> |
802 | ||
803 | PR c/49644 | |
804 | * c-typeck.c (build_binary_op): For MULT_EXPR and TRUNC_DIV_EXPR with | |
805 | one non-complex and one complex argument, call c_save_expr on both | |
806 | operands. | |
807 | ||
81361831 MJ |
808 | 2011-07-07 Martin Jambor <mjambor@suse.cz> |
809 | ||
810 | PR middle-end/49495 | |
811 | * cgraphunit.c (verify_edge_corresponds_to_fndecl): New function. | |
812 | (verify_cgraph_node): Some functinality moved to | |
813 | verify_edge_corresponds_to_fndecl, call it. | |
814 | ||
1e4b2746 JM |
815 | 2011-07-07 Joseph Myers <joseph@codesourcery.com> |
816 | ||
817 | * config.gcc (*local*): Remove. | |
818 | * doc/install-old.texi: Don't mention local configurations. | |
819 | ||
d7ff1e11 JJ |
820 | 2011-07-07 Jakub Jelinek <jakub@redhat.com> |
821 | ||
822 | PR debug/49522 | |
823 | * df-problems.c (dead_debug_reset): Remove dead_debug_uses | |
824 | referencing debug insns that have been reset. | |
825 | (dead_debug_insert_before): Don't assert reg is non-NULL, | |
826 | instead return immediately if it is NULL. | |
827 | ||
2492731a JM |
828 | 2011-07-07 Joseph Myers <joseph@codesourcery.com> |
829 | ||
f9610d20 | 830 | * config/i386/t-crtpic, config/i386/t-svr3dbx, config/pa/t-pa: Remove. |
2492731a | 831 | |
9d9c740d BS |
832 | 2011-07-07 Bernd Schmidt <bernds@codesourcery.com> |
833 | ||
834 | * hw-doloop.c: New file. | |
835 | * hw-doloop.h: New file. | |
836 | * Makefile.in (OBJS): Add hw-doloop.o. | |
837 | (hw-doloop.o): New rule. | |
838 | ($(obj_out_file)): Add hw-doloop.h dependency. | |
839 | * config/bfin/bfin.c: Include "hw-doloop.h". | |
840 | (loop_info, DEF_VEC_P for loop_info, loop_info_d): Remove. | |
841 | (bfin_dump_loops, bfin_bb_in_loop, bfin_scan_loop): Remove. | |
842 | (hwloop_optimize): Renamed from bfin_optimize_loop. Argument | |
843 | type changed to hwloop_info. Return bool, true if the loop was | |
844 | successfully optimized. Remove code that was moved to | |
845 | hw-doloop.c, and adjust other parts. | |
846 | (hwloop_fail): New static function, containing parts that used | |
847 | to be in bfin_optimize_loop. | |
848 | (bfin_discover_loop, bfin_discover_loops, free_loops, | |
849 | bfin_reorder_loops): Remove. | |
850 | (hwloop_pattern_reg): New static function. | |
851 | (bfin_doloop_hooks): New variable. | |
852 | (bfin_reorg_loops): Remove most code, call reorg_loops. | |
853 | * config/bfin/bfin.md (doloop_end splitter): Also enable if | |
854 | loop counter is a memory_operand. | |
855 | ||
f0ea7581 L |
856 | 2011-07-07 H.J. Lu <hongjiu.lu@intel.com> |
857 | ||
f9610d20 | 858 | * config.gcc: Support --with-multilib-list for x86 Linux targets. |
f0ea7581 L |
859 | |
860 | * configure.ac: Mention x86-64 for --with-multilib-list. | |
861 | * configure: Regenerated. | |
862 | ||
863 | * config/i386/gnu-user64.h (SPEC_64): Support x32. | |
864 | (SPEC_32): Likewise. | |
865 | (ASM_SPEC): Likewise. | |
866 | (LINK_SPEC): Likewise. | |
867 | (TARGET_THREAD_SSP_OFFSET): Likewise. | |
868 | (TARGET_THREAD_SPLIT_STACK_OFFSET): Likewise. | |
869 | (SPEC_X32): New. | |
870 | ||
871 | * config/i386/i386.h (TARGET_X32): New. | |
872 | (TARGET_LP64): New. | |
873 | (LONG_TYPE_SIZE): Likewise. | |
874 | (POINTER_SIZE): Likewise. | |
875 | (POINTERS_EXTEND_UNSIGNED): Likewise. | |
876 | (OPT_ARCH64): Support x32. | |
877 | (OPT_ARCH32): Likewise. | |
878 | ||
879 | * config/i386/i386.opt (mx32): New. | |
880 | ||
881 | * config/i386/kfreebsd-gnu64.h (GNU_USER_LINK_EMULATIONX32): New. | |
882 | (GLIBC_DYNAMIC_LINKERX32): Likewise. | |
883 | * config/i386/linux64.h (GNU_USER_LINK_EMULATIONX32): Likewise. | |
884 | (GLIBC_DYNAMIC_LINKERX32): Likewise. | |
885 | ||
886 | * config/linux.h (UCLIBC_DYNAMIC_LINKERX32): New. | |
887 | (BIONIC_DYNAMIC_LINKERX32): Likewise. | |
888 | (GNU_USER_DYNAMIC_LINKERX32): Likewise. | |
889 | ||
890 | * config/i386/t-linux64: Support TM_MULTILIB_CONFIG. | |
891 | ||
f9610d20 | 892 | * doc/install.texi: Document --with-multilib-list for Linux/x86-64. |
f0ea7581 L |
893 | |
894 | * doc/invoke.texi: Document -mx32. | |
895 | ||
38460025 RS |
896 | 2011-07-07 Richard Sandiford <richard.sandiford@linaro.org> |
897 | ||
898 | * doc/invoke.texi (mwords-little-endian): Deprecate. | |
899 | * config/arm/arm.opt (mwords-little-endian): Likewise. | |
900 | * config/arm/arm.c (arm_option_override): Warn about the deprecation | |
901 | of -mwords-little-endian. | |
902 | ||
3f125532 RS |
903 | 2011-07-07 Richard Sandiford <richard.sandiford@linaro.org> |
904 | ||
905 | * reload1.c (choose_reload_regs): Use mode sizes to check whether | |
906 | an old reload register completely defines the required value. | |
907 | ||
bbc210ab RG |
908 | 2011-07-07 Richard Guenther <rguenther@suse.de> |
909 | ||
910 | * fold-const.c (fold_unary_loc): Do not strip sign-changes | |
911 | for NEGATE_EXPR. | |
912 | ||
29c5134a RG |
913 | 2011-07-07 Richard Guenther <rguenther@suse.de> |
914 | ||
915 | * tree-vrp.c (simplify_conversion_using_ranges): New function. | |
916 | (simplify_stmt_using_ranges): Call it. | |
917 | ||
0816a42a KT |
918 | 2011-07-07 Kai Tietz <ktietz@redhat.com> |
919 | ||
920 | * tree-ssa-forwprop.c (truth_valued_ssa_name): New function. | |
921 | (lookup_logical_inverted_value): Likewise. | |
922 | (simplify_bitwise_binary_1): Likewise. | |
923 | (simplify_bitwise_binary): Use simplify_bitwise_binary_1. | |
924 | ||
3ce9f090 JM |
925 | 2011-07-07 Joseph Myers <joseph@codesourcery.com> |
926 | ||
927 | * gcc.c (%[Spec]): Don't document. | |
928 | (struct spec_list): Update comment. | |
929 | (do_spec_1): Don't handle %[Spec]. | |
930 | * doc/invoke.texi (%[@var{name}]): Remove documentation of spec. | |
931 | ||
41dfca87 JM |
932 | 2011-07-07 Joseph Myers <joseph@codesourcery.com> |
933 | ||
934 | * common/common-target-def.h (TARGET_HAVE_NAMED_SECTIONS): Don't | |
935 | default based on TARGET_ASM_NAMED_SECTION. | |
936 | * common/common-target.def (have_named_sections): Default to true. | |
937 | * common/config/default-common.c: Don't include tm.h. | |
938 | * common/config/picochip/picochip-common.c | |
939 | (TARGET_HAVE_NAMED_SECTIONS): Don't define. | |
940 | * common/config/m32c/m32c-common.c: Remove. | |
941 | * config.gcc (m32c*-*-*): Set target_has_targetm_common=no. | |
f9610d20 UB |
942 | * config/alpha/osf5.h (TARGET_HAVE_NAMED_SECTIONS): Define to false. |
943 | * config/i386/openbsd.h (TARGET_HAVE_NAMED_SECTIONS): Define to false. | |
944 | * config/m68k/openbsd.h (TARGET_HAVE_NAMED_SECTIONS): Define to false. | |
41dfca87 | 945 | * config/pa/som.h (TARGET_HAVE_NAMED_SECTIONS): Define to false. |
f9610d20 UB |
946 | * config/pdp11/pdp11.h (TARGET_HAVE_NAMED_SECTIONS): Define to false. |
947 | * config/vax/openbsd.h (TARGET_HAVE_NAMED_SECTIONS): Define to false. | |
41dfca87 | 948 | |
19c44640 JJ |
949 | 2011-07-07 Jakub Jelinek <jakub@redhat.com> |
950 | ||
951 | PR middle-end/49640 | |
f9610d20 UB |
952 | * gimplify.c (gimplify_compound_lval): For last 2 ARRAY_*REF operands |
953 | and last COMPONENT_REF operand call gimplify_expr on it if non-NULL. | |
19c44640 | 954 | |
891a2e42 RO |
955 | 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
956 | ||
957 | PR libmudflap/49550 | |
958 | * gcc.c (MFWRAP_SPEC): Also wrap mmap64. | |
959 | ||
fbdd5d87 RO |
960 | 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
961 | ||
962 | PR target/39150 | |
963 | * configure.ac (gcc_cv_as_hidden): Also accept | |
964 | x86_64-*-solaris2.1[0-9]*. | |
965 | (gcc_cv_as_cfi_directive): Likewise. | |
966 | (gcc_cv_as_comdat_group_group): Likewise. | |
967 | (set_have_as_tls): Likewise. | |
968 | * configure: Regenerate. | |
969 | * config.gcc (i[34567]86-*-solaris2*): Also handle | |
970 | x86_64-*-solaris2.1[0-9]*. | |
971 | * config.host (i[34567]86-*-solaris2*): Likewise. | |
972 | * config/sparc/sol2.h (ASM_CPU_DEFAULT_SPEC): Remove. | |
973 | * config/sol2-bi.h (ASM_CPU_DEFAULT_SPEC): Redefine. | |
974 | [USE_GLD] (ARCH_DEFAULT_EMULATION): Define. | |
975 | (TARGET_LD_EMULATION): Use it. | |
976 | * config/i386/sol2.h (ASM_CPU_DEFAULT_SPEC): Define. | |
977 | (SUBTARGET_CPU_EXTRA_SPECS): Add asm_cpu_default. | |
978 | * config/i386/sol2-bi.h (ASM_CPU32_DEFAULT_SPEC): Define. | |
979 | (ASM_CPU64_DEFAULT_SPEC): Define. | |
980 | (ASM_CPU_SPEC): Use %(asm_cpu_default). | |
981 | (ASM_SPEC): Redefine. | |
982 | (DEFAULT_ARCH32_P): Define using TARGET_64BIT_DEFAULT. | |
983 | * config/host-solaris.c [__x86_64__] (TRY_EMPTY_VM_SPACE): Reduce. | |
f9610d20 | 984 | * doc/install.texi (Specific, amd64-*-solaris2.1[0-9]*): Document. |
fbdd5d87 RO |
985 | (Specific, i?86-*-solaris2.10): Mention x86_64-*-solaris2.1[0-9]* |
986 | configuration. | |
987 | (Specific, x86_64-*-solaris2.1[0-9]*): Document. | |
988 | ||
fcf7471a RO |
989 | 2011-07-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
990 | ||
991 | * config/sol2.h (ASM_SPEC): Split into ... | |
992 | (ASM_SPEC_BASE, ASM_PIC_SPEC): ... this. | |
993 | * config/i386/sol2.h (ASM_SPEC): Define using ASM_SPEC_BASE. | |
994 | * config/i386/sol2-bi.h (ASM_CPU_SPEC): Redefine. | |
995 | (ASM_SPEC): Use ASM_SPEC_BASE. | |
996 | * config/sparc/sol2.h (ASM_SPEC): Redefine. | |
997 | ||
1e6a67d1 | 998 | 2011-07-07 Georg-Johann Lay <avr@gjlay.de> |
f9610d20 | 999 | |
1e6a67d1 GJL |
1000 | * config/avr/avr.md (*reload_insi): Change predicate #1 to |
1001 | const_int_operand. Ditto for peep2 producing this insn. | |
1002 | Add argument to output_reload_insisf call. | |
1003 | (*movsi,*movsf): Add argument to output_movsisf call. | |
1004 | (*reload_insf): New insn and new peep2 to produce it. | |
1005 | * config/avr/avr-protos.h (output_movsisf): Change prototype. | |
1006 | (output_reload_insisf): Change prototype. | |
1007 | * config/avr/avr.c (avr_asm_len): New function. | |
1008 | (output_reload_insisf): Rewrite. | |
1009 | (output_movsisf): Change prototype. output_reload_insisf for | |
1010 | all CONST_INT and CONST_DOUBLE. ALlow moving 0.0f to memory. | |
1011 | (adjust_insn_length): Add argument to output_movsisf and | |
1012 | output_reload_insisf call. | |
1013 | ||
6a4bdc79 BS |
1014 | 2011-07-07 Bernd Schmidt <bernds@codesourcery.com> |
1015 | ||
1016 | * emit-rtl.c (paradoxical_subreg_p): New function. | |
1017 | * rtl.h (paradoxical_subreg_p): Declare. | |
1018 | * combine.c (set_nonzero_bits_and_sign_copies, get_last_value, | |
1019 | apply_distributive_law, simplify_comparison, simplify_set): Use it. | |
1020 | * cse.c (record_jump_cond, cse_insn): Likewise. | |
1021 | * expr.c (force_operand): Likewise. | |
1022 | * rtlanal.c (num_sign_bit_copies1): Likewise. | |
1023 | * reload1.c (eliminate_regs_1, strip_paradoxical_subreg): Likewise. | |
1024 | * reload.c (push_secondary_reload, find_reloads_toplev): Likewise. | |
1025 | (push_reload): Use precision to check for paradoxical subregs. | |
1026 | * expmed.c (extract_bit_field_1): Likewise. | |
1027 | ||
46c9550f BS |
1028 | * machmode.h (HWI_COMPUTABLE_MODE_P): New macro. |
1029 | * combine.c (set_nonzero_bits_and_sign_copies): Use it. | |
1030 | (find_split-point, combine_simplify_rtx, simplify_if_then_else, | |
1031 | simplify_set, simplify_logical, expand_compound_operation, | |
1032 | make_extraction, force_to_mode, if_then_else_cond, extended_count, | |
1033 | try_widen_shift_mode, simplify_shift_const_1, simplify_comparison, | |
1034 | record_value_for_reg): Likewise. | |
1035 | * expmed.c (expand_widening_mult, expand_mult_highpart): Likewise. | |
1036 | * simplify-rtx. c (simplify_unary_operation_1, | |
1037 | simplify_binary_operation_1, simplify_const_relational_operation): | |
1038 | Likewise. | |
1039 | ||
5511bc5a BS |
1040 | * explow.c (trunc_int_for_mode): Use GET_MODE_PRECISION |
1041 | instead of GET_MODE_BITSIZE where appropriate. | |
1042 | * rtlanal.c (subreg_lsb_1, subreg_get_info, nonzero_bits1, | |
1043 | num_sign_bit_copies1, canonicalize_condition, low_bitmask_len, | |
1044 | init_num_sign_bit_copies_in_rep): Likewise. | |
1045 | * cse.c (fold_rtx, cse_insn): Likewise. | |
1046 | * loop-doloop.c (doloop_modify, doloop_optimize): Likewise. | |
1047 | * simplify-rtx.c (simplify_unary_operation_1, | |
1048 | simplify_const_unary_operation, simplify_binary_operation_1, | |
1049 | simplify_const_binary_operation, simplify_ternary_operation, | |
1050 | simplify_const_relational_operation, simplify_subreg): Likewise. | |
1051 | * combine.c (try_combine, find_split_point, combine_simplify_rtx, | |
1052 | simplify_if_then_else, simplify_set, expand_compound_operation, | |
1053 | expand_field_assignment, make_extraction, if_then_else_cond, | |
1054 | make_compound_operation, force_to_mode, make_field_assignment, | |
1055 | reg_nonzero_bits_for_combine, reg_num_sign_bit_copies_for_combine, | |
1056 | extended_count, try_widen_shift_mode, simplify_shift_const_1, | |
1057 | simplify_comparison, record_promoted_value, simplify_compare_const, | |
1058 | record_dead_and_set_regs_1): Likewise. | |
1059 | ||
d58c1a38 BS |
1060 | Revert: |
1061 | * simplify-rtx.c (simplify_const_binary_operation): Use the | |
f9610d20 UB |
1062 | shift_truncation_mask hook instead of performing modulo by width. |
1063 | Compare against mode precision, not bitsize. | |
d58c1a38 | 1064 | * combine.c (combine_simplify_rtx, simplify_shift_const_1): |
f9610d20 | 1065 | Use shift_truncation_mask instead of constructing the value manually. |
d58c1a38 | 1066 | |
76594d53 MM |
1067 | 2011-07-06 Michael Meissner <meissner@linux.vnet.ibm.com> |
1068 | ||
1069 | * config/rs6000/rs6000-protos.h (rs6000_call_indirect_aix): New | |
1070 | declaration. | |
1071 | (rs6000_save_toc_in_prologue_p): Ditto. | |
1072 | ||
1073 | * config/rs6000/rs6000.opt (-mr11): New switch to disable loading | |
1074 | up the static chain (r11) during indirect function calls. | |
1075 | (-msave-toc-indirect): New undocumented debug switch. | |
1076 | ||
1077 | * config/rs6000/rs6000.c (struct machine_function): Add | |
1078 | save_toc_in_prologue field to note whether the prologue needs to | |
1079 | save the TOC value in the reserved stack location. | |
1080 | (rs6000_emit_prologue): Use TOC_REGNUM instead of 2. If we need | |
1081 | to save the TOC in the prologue, do so. | |
1082 | (rs6000_trampoline_init): Don't allow creating AIX style | |
1083 | trampolines if -mno-r11 is in effect. | |
1084 | (rs6000_call_indirect_aix): New function to create AIX style | |
1085 | indirect calls, adding support for -mno-r11 to suppress loading | |
1086 | the static chain, and saving the TOC in the prologue instead of | |
1087 | the call body. | |
1088 | (rs6000_save_toc_in_prologue_p): Return true if we are saving the | |
1089 | TOC in the prologue. | |
1090 | ||
1091 | * config/rs6000/rs6000.md (STACK_POINTER_REGNUM): Add more fixed | |
1092 | register numbers. | |
1093 | (TOC_REGNUM): Ditto. | |
1094 | (STATIC_CHAIN_REGNUM): Ditto. | |
1095 | (ARG_POINTER_REGNUM): Ditto. | |
1096 | (SFP_REGNO): Delete, unused. | |
1097 | (TOC_SAVE_OFFSET_32BIT): Add constants for AIX TOC save and | |
1098 | function descriptor offsets. | |
1099 | (TOC_SAVE_OFFSET_64BIT): Ditto. | |
1100 | (AIX_FUNC_DESC_TOC_32BIT): Ditto. | |
1101 | (AIX_FUNC_DESC_TOC_64BIT): Ditto. | |
1102 | (AIX_FUNC_DESC_SC_32BIT): Ditto. | |
1103 | (AIX_FUNC_DESC_SC_64BIT): Ditto. | |
f9610d20 UB |
1104 | (ptrload): New mode attribute for the appropriate load of a pointer. |
1105 | (call_indirect_aix32): Delete, rewrite AIX indirect function calls. | |
76594d53 MM |
1106 | (call_indirect_aix64): Ditto. |
1107 | (call_value_indirect_aix32): Ditto. | |
1108 | (call_value_indirect_aix64): Ditto. | |
1109 | (call_indirect_nonlocal_aix32_internal): Ditto. | |
1110 | (call_indirect_nonlocal_aix32): Ditto. | |
1111 | (call_indirect_nonlocal_aix64_internal): Ditto. | |
1112 | (call_indirect_nonlocal_aix64): Ditto. | |
1113 | (call): Rewrite AIX indirect function calls. Add support for | |
1114 | eliminating the static chain, and for moving the save of the TOC | |
1115 | to the function prologue. | |
1116 | (call_value): Ditto. | |
1117 | (call_indirect_aix<ptrsize>): Ditto. | |
1118 | (call_indirect_aix<ptrsize>_internal): Ditto. | |
1119 | (call_indirect_aix<ptrsize>_internal2): Ditto. | |
1120 | (call_indirect_aix<ptrsize>_nor11): Ditto. | |
1121 | (call_value_indirect_aix<ptrsize>): Ditto. | |
1122 | (call_value_indirect_aix<ptrsize>_internal): Ditto. | |
1123 | (call_value_indirect_aix<ptrsize>_internal2): Ditto. | |
1124 | (call_value_indirect_aix<ptrsize>_nor11): Ditto. | |
1125 | (call_nonlocal_aix32): Relocate in the rs6000.md file. | |
1126 | (call_nonlocal_aix64): Ditto. | |
1127 | ||
1128 | * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mr11 and | |
1129 | -mno-r11 documentation. | |
1130 | ||
49d6830d JW |
1131 | 2011-07-06 Jonathan Wakely <jwakely.gcc@gmail.com> |
1132 | ||
1133 | PR other/49658 | |
1134 | * doc/extend.texi (Compound Literals): Fix typo. | |
1135 | ||
c884924f JG |
1136 | 2011-07-06 James Greenhalgh <james.greenhalgh@arm.com> |
1137 | ||
f9610d20 | 1138 | * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Add __ARM_FEATURE_DSP. |
c884924f | 1139 | |
bf588455 BS |
1140 | 2011-07-06 Basile Starynkevitch <basile@starynkevitch.net> |
1141 | ||
1142 | * configure.ac (plugin-version.h): Generate | |
1143 | GCCPLUGIN_VERSION_MAJOR, GCCPLUGIN_VERSION_MINOR, | |
1144 | GCCPLUGIN_VERSION_PATCHLEVEL, GCCPLUGIN_VERSION constant integer | |
1145 | macros. | |
1146 | ||
1147 | * configure: Regenerate. | |
1148 | ||
1149 | * doc/plugins.texi (Building GCC plugins): Mention | |
1150 | GCCPLUGIN_VERSION ... constant macros in plugin-version.h. | |
1151 | ||
d0edd768 BS |
1152 | 2011-07-06 Bernd Schmidt <bernds@codesourcery.com> |
1153 | ||
1154 | * machmode.h (TRULY_NOOP_TRUNCATION_MODES_P): New macro. | |
1155 | * combine.c (make_extraction, gen_lowpart_or_truncate, | |
1156 | apply_distributive_law, simplify_comparison, | |
1157 | reg_truncated_to_mode, record_truncated_value): Use it. | |
1158 | * cse.c (notreg_cost): Likewise. | |
1159 | * expmed.c (store_bit_field_1, extract_bit_field_1): Likewise. | |
1160 | * expr.c (convert_move, convert_modes): Likewise. | |
1161 | * optabs.c (expand_binop, expand_unop): Likewise. | |
1162 | * postreload.c (move2add_last_label): Likewise. | |
1163 | * regmove.c (optimize_reg_copy_3): Likewise. | |
1164 | * rtlhooks.c (gen_lowpart_general): Likewise. | |
1165 | * simplify-rtx.c (simplify_unary_operation_1): Likewise. | |
1166 | ||
e5cabdfb JM |
1167 | 2011-07-06 Joseph Myers <joseph@codesourcery.com> |
1168 | ||
1169 | * config/rs6000/vxworks.h (WORDS_BIG_ENDIAN): Define. | |
1170 | ||
2d0c270f BS |
1171 | 2011-07-06 Bernd Schmidt <bernds@codesourcery.com> |
1172 | ||
1173 | * cse.c (find_comparison_args): Use val_mode_signbit_set_p. | |
1174 | * simplify-rtx.c (mode_signbit_p): Use GET_MODE_PRECISION. | |
1175 | (val_mode_signbit_p, val_mode_signbit_set_p): New functions. | |
1176 | (simplify_const_unary_operation, simplify_binary_operation_1, | |
f9610d20 UB |
1177 | simplify_const_binary_operation, simplify_const_relational_operation): |
1178 | Use them. Use GET_MODE_MASK for masking and sign-extensions. | |
2d0c270f BS |
1179 | * combine.c (set_nonzero_bits_and_sign_copies, simplify_set, |
1180 | combine_simplify_rtx, force_to_mode, reg_nonzero_bits_for_combine, | |
1181 | simplify_shift_const_1, simplify_comparison): Likewise. | |
1182 | * expr.c (convert_modes): Likewise. | |
1183 | * rtlanal.c (nonzero_bits1, canonicalize_condition): Likewise. | |
f9610d20 | 1184 | * expmed.c (emit_cstore, emit_store_flag_1, emit_store_flag): Likewise. |
2d0c270f BS |
1185 | * rtl.h (val_mode_signbit_p, val_mode_signbit_set_p): Declare. |
1186 | ||
f9c08345 BS |
1187 | * simplify-rtx.c (simplify_ternary_operation): Remove dead code. |
1188 | ||
6d6c9525 RG |
1189 | 2011-07-06 Richard Guenther <rguenther@suse.de> |
1190 | ||
1191 | PR tree-optimization/49645 | |
1192 | * c-decl.c (finish_decl): Also set DECL_HARD_REGISTER for global | |
1193 | register variables. | |
1194 | * tree-ssa-sccvn.c (vn_reference_op_eq): Disregard differences | |
1195 | in type qualification here ... | |
1196 | (copy_reference_ops_from_ref): ... not here. | |
1197 | (vn_reference_lookup_3): ... or here. | |
1198 | (copy_reference_ops_from_ref): Record decl bases as MEM[&decl]. | |
1199 | (vn_reference_lookup): Do the lookup with a valueized ao-ref. | |
1200 | ||
d1a6ec10 ILT |
1201 | 2011-07-06 Ian Lance Taylor <iant@google.com> |
1202 | ||
1203 | * doc/install.texi (Configuration): It's | |
1204 | --enable-gnu-indirect-function, not --enable-indirect-function. | |
1205 | ||
ff3e08af BS |
1206 | 2011-07-06 Bernd Schmidt <bernds@codesourcery.com> |
1207 | ||
1208 | * simplify-rtx.c (simplify_const_binary_operation): Use the | |
f9610d20 UB |
1209 | shift_truncation_mask hook instead of performing modulo by width. |
1210 | Compare against mode precision, not bitsize. | |
ff3e08af | 1211 | * combine.c (combine_simplify_rtx, simplify_shift_const_1): |
f9610d20 | 1212 | Use shift_truncation_mask instead of constructing the value manually. |
ff3e08af | 1213 | |
a369b639 L |
1214 | 2011-07-06 H.J. Lu <hongjiu.lu@intel.com> |
1215 | ||
1216 | PR middle-end/47383 | |
1217 | * tree-ssa-address.c (addr_for_mem_ref): Use pointer_mode for | |
1218 | address computation and convert to address_mode if needed. | |
1219 | ||
1a072294 RG |
1220 | 2011-07-06 Richard Guenther <rguenther@suse.de> |
1221 | ||
1222 | * tree.c (build_common_tree_nodes_2): Merge with | |
1223 | build_common_tree_nodes. | |
1224 | * tree.h (build_common_tree_nodes): Adjust prototype. | |
1225 | (build_common_tree_nodes_2): Remove. | |
1226 | * doc/tm.texi.in (lang_hooks.builtin_function): Adjust. | |
1227 | * doc/tm.texi (lang_hooks.builtin_function): Regenerate. | |
1228 | ||
f2c3a8ce JJ |
1229 | 2011-07-05 Jakub Jelinek <jakub@redhat.com> |
1230 | ||
1231 | PR tree-optimization/49618 | |
1232 | * tree-eh.c (tree_could_trap_p) <case CALL_EXPR>: For DECL_WEAK | |
1233 | t recurse on the decl. | |
1234 | <case FUNCTION_DECL, case VAR_DECL>: For DECL_WEAK decls | |
1235 | return true if expr isn't known to be defined in current | |
1236 | TU or some other LTO partition. | |
1237 | ||
3aa439ed MM |
1238 | 2011-07-05 Michael Meissner <meissner@linux.vnet.ibm.com> |
1239 | ||
1240 | * params.def (PARAM_CASE_VALUES_THRESHOLD): New parameter to | |
1241 | override CASE_VALUES_THRESHOLD. | |
1242 | ||
1243 | * stmt.c (toplevel): Include params.h. | |
1244 | (case_values_threshold): Use the --param case-values-threshold | |
1245 | value if non-zero, otherwise use machine dependent value. | |
1246 | (expand_case): Use case_values_threshold. | |
1247 | ||
1248 | * Makefile.in (stmt.o): Add $(PARAMS_H) dependency. | |
1249 | ||
1250 | * doc/invoke.texi (--param case-values-threshold): Document. | |
1251 | ||
49956667 RH |
1252 | 2011-07-05 Richard Henderson <rth@redhat.com> |
1253 | ||
1254 | * dwarf2out.c (dwarf2out_cfi_label): Make static. | |
1255 | (dwarf2out_flush_queued_reg_saves): Make static. | |
1256 | (dwarf2out_reg_save): Remove. | |
1257 | (dwarf2out_return_save): Remove. | |
1258 | (dwarf2out_return_reg): Remove. | |
1259 | (dwarf2out_reg_save_reg): Remove. | |
1260 | (dwarf2out_def_cfa): Merge into ... | |
1261 | (dwarf2out_frame_init): ... here. | |
1262 | * dwarf2out.h, tree.h: Remove declarations as necessary. | |
1263 | ||
9f2ff8e5 RH |
1264 | 2011-07-05 Richard Henderson <rth@redhat.com> |
1265 | ||
c2b40eba RH |
1266 | * config/ia64/ia64.c (ia64_dwarf_handle_frame_unspec): Remove. |
1267 | (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Remove. | |
1268 | (ia64_expand_epilogue): Emit an empty FRAME_RELATED_EXPR for | |
1269 | the alloc insn. | |
1270 | ||
7d3c6cd8 RH |
1271 | * config/ia64/ia64.c (ia64_emit_deleted_label_after_insn): Remove. |
1272 | (IA64_CHANGE_CFA_IN_EPILOGUE): Remove. | |
1273 | (process_epilogue): Don't call dwarf2out_def_cfa. | |
1274 | ||
5f740973 RH |
1275 | * config/ia64/ia64.c (ia64_expand_prologue): Use pc_rtx to |
1276 | indicate the return address save. | |
1277 | (process_cfa_register): Likewise. | |
1278 | ||
a1880147 RH |
1279 | * config/ia64/ia64.c (ia64_dwarf2out_def_steady_cfa): Remove. |
1280 | (process_cfa_adjust_cfa, ia64_asm_unwind_emit): Don't call it. | |
1281 | ||
9f2ff8e5 RH |
1282 | * config/ia64/ia64.c (ia64_expand_prologue): Emit REG_CFA_REGISTER |
1283 | for ar.pfs save at alloc insn. | |
1284 | ||
ddc6e7d6 RH |
1285 | 2011-07-05 Richard Henderson <rth@redhat.com> |
1286 | ||
1287 | * config/arm/arm.c (arm_dwarf_handle_frame_unspec): Remove. | |
1288 | (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Remove. | |
1289 | (arm_expand_prologue): Use REG_CFA_REGISTER to mark the | |
1290 | stack pointer save. | |
1291 | (arm_unwind_emit_set): Don't recognize UNSPEC_STACK_ALIGN. | |
1292 | (arm_unwind_emit): Walk REG_NOTES for unwinding notes. Emit | |
1293 | proper unwind info for a REG_CFA_REGISTER save of stack pointer. | |
1294 | * config/arm/arm.md (UNSPEC_STACK_ALIGN): Remove. | |
1295 | ||
a3515605 RH |
1296 | 2011-07-05 Richard Henderson <rth@redhat.com> |
1297 | ||
1298 | * config/vax/vax.md (define_c_enum unspecv): New. Define the | |
1299 | VUNSPEC_* constants here instead of via define_constants. | |
1300 | (VUNSPEC_PEM): New constant. | |
1301 | (procedure_entry_mask): New insn. | |
1302 | (prologue): New expander. | |
1303 | * config/vax/vax.c (vax_add_reg_cfa_offset): New. | |
1304 | (vax_expand_prologue): Rename from vax_output_function_prologue; | |
1305 | emit rtl instead of text. | |
1306 | (TARGET_ASM_FUNCTION_PROLOGUE): Remove. | |
1307 | (print_operand): Add 'x' prefix. | |
1308 | ||
a7adbbcb L |
1309 | 2011-07-05 H.J. Lu <hongjiu.lu@intel.com> |
1310 | ||
1311 | PR middle-end/47715 | |
1312 | * calls.c (precompute_register_parameters): Promote the function | |
1313 | argument before checking non-legitimate constant. | |
1314 | ||
cec11ec4 SP |
1315 | 2011-07-05 Sebastian Pop <sebastian.pop@amd.com> |
1316 | ||
1317 | PR tree-optimization/47654 | |
1318 | * graphite-blocking.c (pbb_strip_mine_time_depth): Do not return bool. | |
1319 | (lst_do_strip_mine_loop): Return an int. | |
1320 | (lst_do_strip_mine): Same. | |
1321 | (scop_do_strip_mine): Same. | |
1322 | (scop_do_block): Loop blocking should strip-mine at least two loops. | |
1323 | * graphite-interchange.c (lst_interchange_select_outer): Return an int. | |
1324 | (scop_do_interchange): Same. | |
1325 | * graphite-poly.h (scop_do_interchange): Update declaration. | |
1326 | (scop_do_strip_mine): Same. | |
1327 | ||
9b0d314a SP |
1328 | 2011-07-05 Sebastian Pop <sebastian.pop@amd.com> |
1329 | ||
1330 | * graphite-clast-to-gimple.c (precision_for_value): Removed. | |
1331 | (precision_for_interval): Removed. | |
1332 | (gcc_type_for_interval): Use mpz_sizeinbase. | |
1333 | ||
81d6d080 SP |
1334 | 2011-07-05 Sebastian Pop <sebastian.pop@amd.com> |
1335 | ||
1336 | * graphite-ppl.h (value_max): Correct computation of max. | |
1337 | ||
369e3430 SP |
1338 | 2011-07-05 Sebastian Pop <sebastian.pop@amd.com> |
1339 | ||
1340 | * graphite-clast-to-gimple.c (clast_name_to_index): Add missing space. | |
1341 | ||
fce5dddd RG |
1342 | 2011-07-05 Richard Guenther <rguenther@suse.de> |
1343 | ||
1344 | * c-decl.c (c_init_decl_processing): Defer building common | |
1345 | tree nodes to c_common_nodes_and_builtins. | |
1346 | ||
12037899 RL |
1347 | 2011-07-05 Razya Ladelsky <razya@il.ibm.com> |
1348 | ||
1349 | PR tree-optimization/49580 | |
f9610d20 | 1350 | * tree-cfg.c (gimple_duplicate_sese_tail): Remove handling of |
12037899 | 1351 | the loop's number of iterations. |
f9610d20 UB |
1352 | * tree-parloops.c (transform_to_exit_first_loop): Add the |
1353 | handling of the loop's number of iterations before the call | |
12037899 | 1354 | to gimple_duplicate_sese_tail. |
28b21ebb | 1355 | Insert the stmt caclculating the new rhs of the loop's |
12037899 RL |
1356 | condition stmt to the preheader instead of iters_bb. |
1357 | ||
509a31f8 L |
1358 | 2011-07-05 H.J. Lu <hongjiu.lu@intel.com> |
1359 | ||
1360 | PR rtl-optimization/47449 | |
1361 | * fwprop.c (forward_propagate_subreg): Don't propagate hard | |
1362 | register nor zero/sign extended hard register. | |
1363 | ||
39becbac RG |
1364 | 2011-07-05 Richard Guenther <rguenther@suse.de> |
1365 | ||
1366 | PR tree-optimization/49518 | |
1367 | PR tree-optimization/49628 | |
1368 | * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Skip | |
1369 | irrelevant and invariant data-references. | |
1370 | (vect_analyze_data_ref_access): For invariant loads clear the | |
1371 | group association. | |
1372 | ||
15923c25 JJ |
1373 | 2011-07-04 Jakub Jelinek <jakub@redhat.com> |
1374 | ||
af421d9c JJ |
1375 | PR rtl-optimization/49619 |
1376 | * combine.c (combine_simplify_rtx): In PLUS -> IOR simplification | |
1377 | pass VOIDmode as op0_mode to recursive call, and return temp even | |
1378 | when different from tor, just if it is not IOR of the original | |
1379 | PLUS arguments. | |
1380 | ||
707f9919 JJ |
1381 | PR rtl-optimization/49472 |
1382 | * simplify-rtx.c (simplify_unary_operation_1) <case NEG>: When | |
1383 | negating MULT, negate the second operand instead of first. | |
1384 | (simplify_binary_operation_1) <case MULT>: If one operand is | |
f9610d20 UB |
1385 | a NEG and the other is MULT, don't attempt to optimize by negation |
1386 | of the MULT operand if it only moves the NEG operation around. | |
707f9919 | 1387 | |
15923c25 JJ |
1388 | PR debug/49602 |
1389 | * tree-into-ssa.c (rewrite_debug_stmt_uses): Disregard | |
1390 | get_current_def return value if it can't be trusted to be | |
1391 | the current value of the variable in the current bb. | |
1392 | ||
0d5e0c1b UB |
1393 | 2011-07-04 Uros Bizjak <ubizjak@gmail.com> |
1394 | ||
1395 | PR target/49600 | |
1396 | * config/i386/i386.md (SSE2 int->float split): Push operand 1 in | |
1397 | general register to memory for !TARGET_INTER_UNIT_MOVES. | |
1398 | ||
db297e20 GJL |
1399 | 2011-07-04 Georg-Johann Lay <avr@gjlay.de> |
1400 | ||
1401 | PR target/44643 | |
1402 | * config/avr/avr.c (avr_insert_attributes): Use TYPE_READONLY | |
1403 | instead of TREE_READONLY. | |
1404 | ||
f451d14d GJL |
1405 | 2011-07-04 Georg-Johann Lay <avr@gjlay.de> |
1406 | ||
1407 | * doc/extend.texi (AVR Built-in Functions): Update documentation | |
1408 | of __builtin_avr_fmul*. | |
0d5e0c1b | 1409 | * config/avr/avr.c (avr_init_builtins): Don't depend on AVR_HAVE_MUL. |
f451d14d GJL |
1410 | * config/avr/avr-c.c (avr_cpu_cpp_builtins): Ditto. |
1411 | * config/avr/avr.md (fmul): Rename to fmul_insn. | |
1412 | (fmuls): Rename to fmuls_insn. | |
1413 | (fmulsu): Rename to fmulsu_insn. | |
1414 | (fmul,fmuls,fmulsu): New expander. | |
1415 | (*fmul.call,*fmuls.call,*fmulsu.call): New Insn. | |
1416 | * config/avr/t-avr (LIB1ASMFUNCS): Add _fmul, _fmuls, _fmulsu. | |
1417 | * config/avr/libgcc.S (__fmul): New function. | |
1418 | (__fmuls): New function. | |
1419 | (__fmulsu,__fmulsu_exit): New function. | |
1420 | ||
30f1e6de RG |
1421 | 2011-07-04 Richard Guenther <rguenther@suse.de> |
1422 | ||
1423 | PR tree-optimization/49615 | |
1424 | * tree-cfgcleanup.c (split_bbs_on_noreturn_calls): Fix | |
1425 | basic-block index check. | |
1426 | ||
6dab9931 GJL |
1427 | 2011-07-04 Georg-Johann Lay <avr@gjlay.de> |
1428 | ||
1429 | * longlong.h (count_leading_zeros, count_trailing_zeros, | |
1430 | COUNT_LEADING_ZEROS_0): Define for target avr if W_TYPE_SIZE is 16 | |
1431 | resp. 64. | |
1432 | ||
b5066d8b IR |
1433 | 2011-07-03 Ira Rosen <ira.rosen@linaro.org> |
1434 | ||
1435 | PR tree-optimization/49610 | |
1436 | * tree-vect-loop.c (vect_is_slp_reduction): Check that DEF_STMT has | |
1437 | a basic block. | |
1438 | ||
bc712852 EB |
1439 | 2011-07-02 Eric Botcazou <ebotcazou@adacore.com> |
1440 | Olivier Hainque <hainque@adacore.com> | |
1441 | Nicolas Setton <setton@adacore.com> | |
1442 | ||
1443 | * tree.h (TYPE_ARTIFICIAL): New flag. | |
1444 | * dwarf2out.c (modified_type_die): Add a DW_AT_artificial attribute to | |
1445 | the DIE of the type if it is artificial. | |
1446 | (gen_array_type_die): Likewise. | |
1447 | (gen_enumeration_type_die): Likewise. | |
1448 | (gen_struct_or_union_type_die): Likewise. | |
1449 | * lto-streamer-in.c (unpack_ts_base_value_fields): Use TYPE_ARTIFICIAL. | |
1450 | * lto-streamer-out.c (pack_ts_base_value_fields): Likewise. | |
1451 | ||
8b1bdcc5 JJ |
1452 | 2011-07-01 Jakub Jelinek <jakub@redhat.com> |
1453 | ||
1454 | * tree-object-size.c (pass_through_call): Handle | |
1455 | BUILT_IN_ASSUME_ALIGNED. | |
1456 | ||
06e88d73 MJ |
1457 | 2011-07-01 Martin Jambor <mjambor@suse.cz> |
1458 | ||
1459 | * tree-sra.c (tree_non_mode_aligned_mem_p): Also ignore MEM_REFs. | |
1460 | ||
6bbec3e1 L |
1461 | 2011-07-01 H.J. Lu <hongjiu.lu@intel.com> |
1462 | ||
1463 | PR middle-end/48016 | |
1464 | * explow.c (update_nonlocal_goto_save_area): Use proper mode | |
1465 | for stack save area. | |
1466 | * function.c (expand_function_start): Likewise. | |
1467 | ||
e8fdf1cd RG |
1468 | 2011-07-01 Richard Guenther <rguenther@suse.de> |
1469 | ||
1470 | PR middle-end/49596 | |
1471 | * cgraph.h (varpool_all_refs_explicit_p): Not analyzed nodes | |
1472 | may have unknown refs. | |
1473 | ||
80d3dd38 KT |
1474 | 2011-07-01 Kai Tietz <ktietz@redhat.com> |
1475 | ||
1476 | * tree-ssa-forwprop.c (simplify_bitwise_binary): Fix typo. | |
1477 | ||
179fc656 RO |
1478 | 2011-07-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1479 | ||
1480 | * config.gcc: Obsolete alpha*-dec-osf5.1, mips-sgi-irix6.5. | |
1481 | * doc/install.texi (Specific, alpha*-dec-osf5.1): Document it. | |
1482 | (Specific, mips-sgi-irix6): Likewise. | |
1483 | ||
14a393a3 RO |
1484 | 2011-07-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1485 | ||
1486 | PR libmudflap/49549 | |
1487 | * doc/sourcebuild.texi (Effective-Target Keywords): Document gld. | |
1488 | ||
3aecd443 JJ |
1489 | 2011-07-01 Jakub Jelinek <jakub@redhat.com> |
1490 | ||
1491 | * tree-pretty-print.c (dump_generic_code) <case CONSTRUCTOR>: Print | |
1492 | [idx]= and [idx1 ... idx2]= before initializers if needed for | |
1493 | array initializers. | |
1494 | ||
7474f719 CL |
1495 | 2011-07-01 Chen Liqin <liqin.gcc@gmail.com> |
1496 | ||
1497 | * config.gcc (score-*-elf): Remove score7.o. | |
1498 | * config/score/t-score-elf: Likewise. | |
1499 | * config/score/score.c: Merge score7 to score.c and | |
1500 | remove forwarding functions. | |
1501 | * config/score/score7.c: Deleted. | |
1502 | * config/score/score7.h: Deleted. | |
1503 | ||
ab70d825 RG |
1504 | 2011-07-01 Richard Guenther <rguenther@suse.de> |
1505 | ||
1506 | PR tree-optimization/49603 | |
0d5e0c1b | 1507 | * tree-vect-stmts.c (vectorizable_load): Remove unnecessary assert. |
ab70d825 | 1508 | |
1ac93f10 MJ |
1509 | 2011-06-30 Martin Jambor <mjambor@suse.cz> |
1510 | ||
1511 | * tree-sra.c (struct access): Rename total_scalarization to | |
1512 | grp_total_scalarization | |
1513 | (completely_scalarize_var): New function. | |
1514 | (sort_and_splice_var_accesses): Set total_scalarization in the | |
1515 | representative access. | |
1516 | (analyze_access_subtree): Propagate total scalarization accross the | |
1517 | tree, no holes in totally scalarized trees, simplify coverage | |
1518 | computation. | |
1519 | (analyze_all_variable_accesses): Call completely_scalarize_var instead | |
1520 | of completely_scalarize_record. | |
1521 | ||
97f309c3 RH |
1522 | 2011-06-30 Richard Henderson <rth@redhat.com> |
1523 | ||
1524 | * config/i386/i386.h (X86_TUNE_DEEP_BRANCH_PREDICTION): Remove. | |
1525 | (TARGET_DEEP_BRANCH_PREDICTION): Remove. | |
1526 | * config/i386/i386.c: Don't include dwarf2out.h. | |
1527 | (initial_ix86_tune_features): Remove X86_TUNE_DEEP_BRANCH_PREDICTION. | |
1528 | (output_set_got): Don't test TARGET_DEEP_BRANCH_PREDICTION, delete | |
1529 | all code dead thereafter. Don't do dwarf2out_flush_queued_reg_saves. | |
1530 | (ix86_expand_prologue): Set REG_CFA_FLUSH_QUEUE on set_got insn. | |
1531 | (machopic_output_stub): Don't test TARGET_DEEP_BRANCH_PREDICTION. | |
1532 | ||
ef284364 RH |
1533 | 2011-06-30 Richard Henderson <rth@redhat.com> |
1534 | ||
1535 | * reg-notes.def (REG_CFA_FLUSH_QUEUE): New. | |
1536 | * dwarf2out.c (dwarf2out_frame_debug): Handle it. | |
1537 | * final.c (final_scan_insn): Look for it, and invoke | |
1538 | dwarf2out_frame_debug before the insn if found. | |
1539 | ||
c8412f97 RH |
1540 | 2011-06-30 Richard Henderson <rth@redhat.com> |
1541 | ||
1542 | * dwarf2out.c (dwarf2out_frame_debug_cfa_offset): Allow PC_RTX | |
1543 | as a source, and interpret that as DWARF_FRAME_RETURN_COLUMN. | |
1544 | ||
e3f903d8 RH |
1545 | 2011-06-30 Richard Henderson <rth@redhat.com> |
1546 | ||
1547 | * dwarf2out.c (struct reg_saved_in_data): Provide a typedef. | |
1548 | Define a vector of this type. | |
1549 | (regs_saved_in_regs): Use a VEC. | |
1550 | (num_regs_saved_in_regs): Remove. | |
1551 | (compare_reg_or_pc): New. | |
1552 | (record_reg_saved_in_reg): Split out from... | |
1553 | (dwarf2out_flush_queued_reg_saves): ... here. | |
1554 | (clobbers_queued_reg_save): Update for VEC. | |
1555 | (reg_saved_in): Likewise. | |
1556 | (dwarf2out_frame_debug_init): Likewise. | |
1557 | (dwarf2out_reg_save_reg): Use record_reg_saved_in_reg. | |
1558 | (dwarf2out_frame_debug_cfa_register): Likewise. | |
1559 | ||
e2c9010a EB |
1560 | 2011-06-30 Eric Botcazou <ebotcazou@adacore.com> |
1561 | ||
1562 | PR tree-optimization/49572 | |
1563 | * tree-ssa-dom.c (initialize_hash_element) <GIMPLE_SINGLE_RHS>: Use the | |
1564 | type of the RHS instead of that of the LHS for the expression type. | |
1565 | ||
dbb07bbc EB |
1566 | 2011-06-30 Eric Botcazou <ebotcazou@adacore.com> |
1567 | ||
1568 | * df-scan.c (df_get_entry_block_def_set): Use INCOMING_REGNO macro | |
1569 | unconditionally. | |
1570 | ||
1565af08 RG |
1571 | 2011-06-30 Richard Guenther <rguenther@suse.de> |
1572 | ||
1573 | * opts.c (finish_options): Do not disable IPA-PTA during ltrans. | |
1574 | * tree-ssa-structalias.c (create_variable_info_for): Do not | |
1575 | add initial constraints for non-var-decls. Properly handle | |
1576 | globals in other ltrans partitions. | |
1577 | (intra_create_variable_infos): Manually create constraints for | |
1578 | the fake no-alias parameter. | |
1579 | (ipa_pta_execute): Dump the cgraph, handle ltrans partitions properly | |
1580 | and assert there are no clones. | |
1581 | ||
42373e0b RG |
1582 | 2011-06-30 Richard Guenther <rguenther@suse.de> |
1583 | ||
1584 | PR tree-optimization/46787 | |
1585 | * tree-data-ref.c (dr_address_invariant_p): Remove. | |
1586 | (find_data_references_in_stmt): Invariant accesses are ok now. | |
0d5e0c1b | 1587 | * tree-vect-stmts.c (vectorizable_load): Handle invariant loads. |
42373e0b RG |
1588 | * tree-vect-data-refs.c (vect_analyze_data_ref_access): Allow |
1589 | invariant loads. | |
1590 | ||
7aa62ea1 MJ |
1591 | 2011-06-30 Martin Jambor <mjambor@suse.cz> |
1592 | ||
1593 | PR tree-optimization/49094 | |
1594 | * tree-sra.c (tree_non_mode_aligned_mem_p): New function. | |
1595 | (build_accesses_from_assign): Use it. | |
1596 | ||
f60f32b3 JJ |
1597 | 2011-06-30 Jakub Jelinek <jakub@redhat.com> |
1598 | ||
d9048d16 JJ |
1599 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Fix |
1600 | handling of BUILT_IN_ASSUME_ALIGNED. | |
1601 | ||
f60f32b3 JJ |
1602 | PR debug/49364 |
1603 | * dwarf2out.c (output_abbrev_section): Don't return early | |
1604 | if abbrev_die_table_in_use is 1. | |
1605 | (dwarf2out_finish): Instead don't call output_abbrev_section | |
1606 | nor emit abbrev_section_label in that case. | |
1607 | ||
7cce15d4 NC |
1608 | 2011-06-30 Nick Clifton <nickc@redhat.com> |
1609 | ||
1610 | * config/v850/v850.h (CPP_SPEC): Define __v850e__ when compiling | |
1611 | for the V850E. | |
1612 | ||
ce7e54ff JJ |
1613 | 2011-06-30 Jakub Jelinek <jakub@redhat.com> |
1614 | ||
1615 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Fix | |
1616 | handling of BUILT_IN_MEMPCPY_CHK and BUILT_IN_STPCPY_CHK. | |
1617 | ||
83197f37 IR |
1618 | 2011-06-30 Ira Rosen <ira.rosen@linaro.org> |
1619 | ||
1620 | * tree-vect-loop.c (vect_determine_vectorization_factor): Handle | |
1621 | both pattern and original statements if necessary. | |
1622 | (vect_transform_loop): Likewise. | |
1623 | * tree-vect-patterns.c (vect_pattern_recog): Update documentation. | |
1624 | * tree-vect-stmts.c (vect_mark_relevant): Add new argument. | |
1625 | Mark the pattern statement only if the original statement doesn't | |
1626 | have its own uses. | |
1627 | (process_use): Call vect_mark_relevant with additional parameter. | |
1628 | (vect_mark_stmts_to_be_vectorized): Likewise. | |
1629 | (vect_get_vec_def_for_operand): Use vectorized pattern statement. | |
1630 | (vect_analyze_stmt): Handle both pattern and original statements | |
1631 | if necessary. | |
1632 | (vect_transform_stmt): Don't store vectorized pattern statement | |
1633 | in the original statement. | |
1634 | (vect_is_simple_use_1): Use related pattern statement only if the | |
1635 | original statement is irrelevant. | |
1636 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Likewise. | |
1637 | ||
dbb07bbc | 1638 | 2011-06-29 Changpeng Fang <changpeng.fang@amd.com> |
5c0d88e6 | 1639 | |
dbb07bbc EB |
1640 | * config/i386/i386.opt (mprefer-avx128): Redefine the flag as a Mask |
1641 | option. | |
1642 | * config/i386/i386.h (ix86_tune_indices): Add X86_TUNE_AVX128_OPTIMAL | |
1643 | entry. | |
5c0d88e6 CF |
1644 | (TARGET_AVX128_OPTIMAL): New definition. |
1645 | * config/i386/i386.c (initial_ix86_tune_features): Initialize | |
1646 | X86_TUNE_AVX128_OPTIMAL entry. | |
1647 | (ix86_option_override_internal): Enable the generation | |
1648 | of the 128-bit instructions when TARGET_AVX128_OPTIMAL is set. | |
1649 | (ix86_preferred_simd_mode): Use TARGET_PREFER_AVX128. | |
1650 | (ix86_autovectorize_vector_sizes): Use TARGET_PREFER_AVX128. | |
1651 | ||
931050d0 EB |
1652 | 2011-06-29 Eric Botcazou <ebotcazou@adacore.com> |
1653 | ||
1654 | PR tree-optimization/49539 | |
1655 | * tree-ssa-forwprop.c (can_propagate_from): Check for abnormal SSA | |
1656 | names by means of stmt_references_abnormal_ssa_name. | |
1657 | (associate_plusminus): Call can_propagate_from before propagating | |
1658 | from definition statements. | |
1659 | (ssa_forward_propagate_and_combine): Remove superfluous newline. | |
1660 | ||
dfedbe40 RG |
1661 | 2011-06-29 Richard Guenther <rguenther@suse.de> |
1662 | ||
1663 | * doc/invoke.texi: Document -scev dump modifier. | |
1664 | * tree-pass.h (TDF_SCEV): New dump flag. | |
1665 | * tree-dump.c (dump_option_value_in): Add scev. | |
1666 | * tree-chrec.c: Replace all TDF_DETAILS checks with TDF_SCEV. | |
1667 | * tree-scalar-evolution.c: Likewise. | |
1668 | ||
3a86cfeb NS |
1669 | 2011-06-29 Nathan Sidwell <nathan@codesourcery.com> |
1670 | ||
1671 | * config/arm/unwind-arm.c (enum __cxa_type_match_result): New. | |
1672 | (cxa_type_match): Correct declaration. | |
0d5e0c1b UB |
1673 | (__gnu_unwind_pr_common): Reconstruct additional indirection |
1674 | when __cxa_type_match returns succeeded_with_ptr_to_base. | |
3a86cfeb | 1675 | |
f3678bfb UW |
1676 | 2011-06-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
1677 | ||
1678 | PR rtl-optimization/49114 | |
1679 | * reload.c (struct replacement): Remove SUBREG_LOC member. | |
1680 | (push_reload): Do not set it. | |
1681 | (push_replacement): Likewise. | |
1682 | (subst_reload): Remove dead code. | |
1683 | (copy_replacements): Remove assertion. | |
1684 | (copy_replacements_1): Do not handle SUBREG_LOC. | |
1685 | (move_replacements): Likewise. | |
1686 | (find_replacement): Remove dead code. Use reload_adjust_reg_for_mode. | |
1687 | Detect subregs via recursive descent instead of via SUBREG_LOC. | |
1688 | ||
433ba0a5 | 1689 | 2011-06-29 Georg-Johann Lay <avr@gjlay.de> |
0d5e0c1b | 1690 | |
433ba0a5 GJL |
1691 | * config/avr/avr.c (avr_encode_section_info): Dispatch to |
1692 | default_encode_section_info. | |
1693 | ||
73f6eabc RS |
1694 | 2011-06-29 Richard Sandiford <richard.sandiford@linaro.org> |
1695 | ||
1696 | PR tree-optimization/49545 | |
1697 | * builtins.c (get_object_alignment_1): Update function comment. | |
1698 | Do not use DECL_ALIGN for functions, but test | |
1699 | TARGET_PTRMEMFUNC_VBIT_LOCATION instead. | |
1700 | * fold-const.c (get_pointer_modulus_and_residue): Don't check | |
1701 | for functions here. | |
1702 | * tree-ssa-ccp.c (get_value_from_alignment): Likewise. | |
1703 | ||
a0f33d3a JJ |
1704 | 2011-06-29 Jakub Jelinek <jakub@redhat.com> |
1705 | ||
1706 | PR debug/49567 | |
0d5e0c1b UB |
1707 | * dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTEND>: Give up for |
1708 | non-MODE_INT modes instead of asserting the mode has MODE_INT class. | |
a0f33d3a | 1709 | |
946c8b23 | 1710 | 2011-06-29 Georg-Johann Lay <avr@gjlay.de> |
0d5e0c1b | 1711 | |
946c8b23 | 1712 | PR target/34734 |
0d5e0c1b | 1713 | * config/avr/avr.c (avr_handle_progmem_attribute): Move warning |
946c8b23 GJL |
1714 | about uninitialized data attributed 'progmem' from here... |
1715 | (avr_encode_section_info): ...to this new function. | |
1716 | (TARGET_ENCODE_SECTION_INFO): New define. | |
1717 | (avr_section_type_flags): For data in ".progmem.data", remove | |
1718 | section flag SECTION_WRITE. | |
1719 | ||
9a63dee4 | 1720 | 2011-06-29 Georg-Johann Lay <avr@gjlay.de> |
0d5e0c1b | 1721 | |
9a63dee4 GJL |
1722 | * config/avr/t-avr (LIB1ASMFUNCS): Add _mulhisi3, _umulhisi3, |
1723 | _xmulhisi3_exit. | |
1724 | * config/avr/libgcc.S (_xmulhisi3_exit): New Function. | |
1725 | (__mulhisi3): Optimize if have MUL*. Use XJMP instead of rjmp. | |
1726 | (__umulhisi3): Ditto. | |
1727 | * config/avr/avr.md (mulhisi3): New insn expender. | |
1728 | (umulhisi3): New insn expender. | |
1729 | (*mulhisi3_call): New insn. | |
1730 | (*umulhisi3_call): New insn. | |
1731 | ||
4374ce45 JM |
1732 | 2011-06-28 Joseph Myers <joseph@codesourcery.com> |
1733 | ||
1734 | * Makefile.in (LIBGCC2_CFLAGS): Remove -D__GCC_FLOAT_NOT_NEEDED. | |
1735 | ||
94759030 RH |
1736 | 2011-06-28 Richard Henderson <rth@redhat.com> |
1737 | ||
1738 | * config/arm/arm.c (thumb_pop): Rename from thumb_pushpop. Delete | |
1739 | all code and arguments that handled pushes. Update all callers. | |
1740 | ||
d018b46e RH |
1741 | 2011-06-28 Richard Henderson <rth@redhat.com> |
1742 | ||
1743 | * config/arm/arm.c (arm_output_function_prologue): Don't call | |
1744 | thumb1_output_function_prologue. | |
1745 | (arm_expand_prologue): Avoid dead store. | |
1746 | (number_of_first_bit_set): Use ctz_hwi. | |
1747 | (thumb1_emit_multi_reg_push): New. | |
1748 | (thumb1_expand_prologue): Merge thumb1_output_function_prologue | |
1749 | to emit the entire prologue as rtl. | |
1750 | (thumb1_output_interwork): Split out from | |
1751 | thumb1_output_function_prologue. | |
1752 | (thumb1_output_function_prologue): Remove. | |
1753 | (arm_attr_length_push_multi): Handle thumb1. | |
1754 | * config/arm/arm.md (VUNSPEC_THUMB1_INTERWORK): New. | |
1755 | (prologue_thumb1_interwork): New. | |
1756 | (*push_multi): Allow thumb1; use push_mult_memory_operand. | |
1757 | * config/arm/predicates.md (push_mult_memory_operand): New. | |
1758 | ||
97269a23 EB |
1759 | 2011-06-28 Eric Botcazou <ebotcazou@adacore.com> |
1760 | ||
1761 | * config/sparc/sync.md (*stbar): Delete. | |
1762 | (*membar_v8): New insn to implement UNSPEC_MEMBAR in SPARC-V8. | |
1763 | ||
4a9206ce EB |
1764 | 2011-06-28 Eric Botcazou <ebotcazou@adacore.com> |
1765 | ||
1766 | * tree-ssa-dom.c (initialize_hash_element): Fix oversight. | |
1767 | ||
6138f9bd RO |
1768 | 2011-06-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1769 | ||
1770 | * config/sparc/sol2-64.h (TARGET_DEFAULT): Remove. | |
1771 | (TARGET_64BIT_DEFAULT): Define. | |
1772 | * config.gcc (sparc*-*-solaris2*): Move sparc/sol2-64.h to front | |
1773 | of tm_file. | |
1774 | * config/sparc/sol2.h [TARGET_64BIT_DEFAULT] (TARGET_DEFAULT): Define. | |
1775 | ||
a7d0d30f JM |
1776 | 2011-06-28 Joseph Myers <joseph@codesourcery.com> |
1777 | ||
1778 | * common.opt (in_lto_p): New Variable entry. | |
1779 | * flags.h (in_lto_p): Move to common.opt. | |
1780 | * gcc.c: Include params.h. | |
1781 | (set_option_handlers): Also use common_handle_option and | |
1782 | target_handle_option. | |
0d5e0c1b | 1783 | (main): Call global_init_params, finish_params and init_options_struct. |
a7d0d30f JM |
1784 | * opts.c (debug_type_names): Move from toplev.c. |
1785 | (print_filtered_help): Access quiet_flag through opts pointer. | |
0d5e0c1b UB |
1786 | (common_handle_option): Return early in the driver for some options. |
1787 | Access in_lto_p, dwarf_version and warn_maybe_uninitialized through | |
1788 | opts pointer. | |
a7d0d30f JM |
1789 | * toplev.c (in_lto_p): Move to common.opt. |
1790 | (debug_type_names): Move to opts.c. | |
1791 | * Makefile.in (OBJS): Remove opts.o. | |
1792 | (OBJS-libcommon-target): Add opts.o. | |
1793 | (gcc.o): Update dependencies. | |
1794 | ||
420863a9 KT |
1795 | 2011-06-28 Kai Tietz <ktietz@redhat.com> |
1796 | ||
0d5e0c1b | 1797 | * tree-ssa-forwprop.c (simplify_bitwise_binary): Improve type sinking. |
420863a9 | 1798 | |
0498a2be RR |
1799 | 2011-06-28 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
1800 | ||
1801 | * config/arm/vfp.md ("*divsf3_vfp"): Replace '+' constraint modifier | |
1802 | with '=' constraint modifier. | |
1803 | (*divdf3_vfp): Likewise. | |
1804 | ("*mulsf3_vfp"): Likewise. | |
1805 | ("*muldf3_vfp"): Likewise. | |
1806 | ("*mulsf3negsf_vfp"): Likewise. | |
1807 | ("*muldf3negdf_vfp"): Likewise. | |
1808 | ||
4a68b724 NC |
1809 | 2011-06-28 Nick Clifton <nickc@redhat.com> |
1810 | ||
1811 | * config/mn10300/mn10300.h (LINK_SPEC): Do not use linker | |
1812 | relaxation when performing an incremental link. | |
1813 | ||
72a32729 KT |
1814 | 2011-06-28 Kai Tietz <ktietz@redhat.com> |
1815 | ||
1816 | * tree-ssa-math-opts.c (execute_optimize_bswap): Search | |
1817 | within BB from last to first. | |
1818 | ||
88a00ef7 JM |
1819 | 2011-06-28 Joseph Myers <joseph@codesourcery.com> |
1820 | ||
1821 | * genattr-common.c: New. Based on genattr.c. | |
1822 | * Makefile.in (INSN_ATTR_H): Include insn-attr-common.h. | |
1823 | (MOSTLYCLEANFILES): Add insn-attr-common.h. | |
1824 | (opts.o): Update dependencies. | |
1825 | (.PRECIOUS): Add insn-attr-common.h. | |
1826 | (simple_rtl_generated_h): Add insn-attr-common.h. | |
1827 | (build/genattr-common.o): New. | |
1828 | (genprogrtl): Add attr-common. | |
1829 | * genattr.c (main): Include insn-attr-common.h. Don't generate | |
1830 | definitions of DELAY_SLOTS or INSN_SCHEDULING. | |
0d5e0c1b | 1831 | * opts.c: Include insn-attr-common.h instead of rtl.h and insn-attr.h. |
88a00ef7 | 1832 | |
880962ac GJL |
1833 | 2011-06-28 Georg-Johann Lay <avr@gjlay.de> |
1834 | ||
4a68b724 | 1835 | * config.gcc (tm_file): Add elfos.h and avr/elf.h for |
880962ac | 1836 | avr-*-* and avr-*-rtems* targets. |
4a68b724 | 1837 | |
880962ac GJL |
1838 | * config/avr/elf.h: New file. |
1839 | (ASM_OUTPUT_BEFORE_CASE_LABEL): Define. | |
1840 | (TARGET_ASM_SELECT_SECTION): Define. | |
1841 | (INIT_SECTION_ASM_OP): Undefine. | |
1842 | (FINI_SECTION_ASM_OP): Undefine. | |
1843 | (READONLY_DATA_SECTION_ASM_OP): Undefine. | |
1844 | (PCC_BITFIELD_TYPE_MATTERS): Undefine. | |
1845 | (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Undefine. | |
1846 | * config/avr/avr.h: | |
1847 | (PREFERRED_DEBUGGING_TYPE): Move to elf.h. | |
1848 | (TARGET_ASM_NAMED_SECTION): Move to elf.h. | |
1849 | (MAX_OFILE_ALIGNMENT): Move to elf.h. | |
1850 | (STRING_LIMIT): Move to elf.h. | |
1851 | (ASM_DECLARE_FUNCTION_NAME): Move to elf.h. | |
1852 | (ASM_DECLARE_OBJECT_NAME): Remove. | |
1853 | (ESCAPES): Remove. | |
1854 | (ASM_OUTPUT_SKIP): Remove. | |
1855 | (DWARF2_DEBUGGING_INFO): Remove. | |
1856 | (OBJECT_FORMAT_ELF): Remove. | |
1857 | (USER_LABEL_PREFIX): Remove. | |
1858 | (ASM_OUTPUT_EXTERNAL): Remove. | |
1859 | (ASM_OUTPUT_ASCII): Remove. | |
1860 | (TYPE_ASM_OP): Remove. | |
1861 | (SIZE_ASM_OP): Remove. | |
1862 | (WEAK_ASM_OP): Remove. | |
1863 | (STRING_ASM_OP): Remove. | |
1864 | (SET_ASM_OP): Remove. | |
1865 | (ASM_WEAKEN_LABEL): Remove. | |
1866 | (TYPE_OPERAND_FMT): Remove. | |
1867 | (ASM_DECLARE_FUNCTION_SIZE): Remove. | |
1868 | (ASM_FINISH_DECLARE_OBJECT): Remove. | |
1869 | (NO_DOLLAR_IN_LABEL): Remove. | |
1870 | (ASM_GENERATE_INTERNAL_LABEL): Remove. | |
1871 | (ASM_OUTPUT_CASE_LABEL): Remove. | |
1872 | * config/avr/avr.c (avr_asm_output_aligned_decl_common): Use | |
1873 | ASM_OUTPUT_ALIGNED_LOCAL, ASM_OUTPUT_ALIGNED_COMMON. | |
1874 | (gas_output_ascii): Remove. | |
1875 | (gas_output_limited_string): Remove. | |
1876 | (TARGET_ASM_FILE_START_FILE_DIRECTIVE): Remove. | |
1877 | * config/avr/avr-protos.h | |
1878 | (gas_output_ascii): Remove prototye. | |
1879 | (gas_output_limited_string): Remove prototype. | |
1880 | ||
a1b5eb93 RE |
1881 | 2011-06-27 Richard Earnshaw <rearnsha@arm.com> |
1882 | ||
1883 | PR target/48637 | |
1884 | * arm.c (arm_print_operand): Allow sym+offset. Don't abort on invalid | |
1885 | asm operands. | |
1886 | ||
310e71a8 JH |
1887 | 2011-06-27 Jan Hubicka <jh@suse.cz> |
1888 | ||
4a9206ce EB |
1889 | * ipa.c (cgraph_address_taken_from_non_vtable_p): Walk references of |
1890 | node instead of references in node. | |
310e71a8 | 1891 | |
171da07a RH |
1892 | 2011-06-27 Richard Henderson <rth@redhat.com> |
1893 | ||
1894 | * config/alpha/alpha.c (vms_patch_builtins): Provide dummy definition. | |
1895 | * config/ia64/ia64.c (ia64_init_builtins): Call vms_patch_builtins | |
1896 | inside ifdef. | |
1897 | ||
dc2a58da JJ |
1898 | 2011-06-27 Jakub Jelinek <jakub@redhat.com> |
1899 | ||
56300785 JJ |
1900 | * c-decl.c (union lang_tree_node): Use it in chain_next expression. |
1901 | ||
45d439ac JJ |
1902 | * builtin-types.def (BT_FN_PTR_CONST_PTR_SIZE_VAR): New. |
1903 | * builtins.def (BUILT_IN_ASSUME_ALIGNED): New builtin. | |
1904 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call, | |
1905 | find_func_clobbers): Handle BUILT_IN_ASSUME_ALIGNED. | |
1906 | * tree-ssa-ccp.c (bit_value_assume_aligned): New function. | |
1907 | (evaluate_stmt, execute_fold_all_builtins): Handle | |
1908 | BUILT_IN_ASSUME_ALIGNED. | |
1909 | * tree-ssa-dce.c (propagate_necessity): Likewise. | |
1910 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1, | |
1911 | call_may_clobber_ref_p_1): Likewise. | |
1912 | * builtins.c (is_simple_builtin, expand_builtin): Likewise. | |
1913 | (expand_builtin_assume_aligned): New function. | |
1914 | * doc/extend.texi (__builtin_assume_aligned): Document. | |
1915 | ||
dc2a58da JJ |
1916 | PR debug/49544 |
1917 | * cselib.c (promote_debug_loc): If cselib_preserve_constants | |
1918 | and l has two DEBUG_INSN owned locs instead of just one, adjust | |
1919 | the second location's setting_insn too. | |
1920 | ||
0d72f628 RO |
1921 | 2011-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1922 | ||
1923 | PR libmudflap/38738 | |
1924 | * config/sol2.h [!USE_GLD] (MFLIB_SPEC): Define. | |
1925 | ||
bebd619e NC |
1926 | 2011-06-27 Nick Clifton <nickc@redhat.com> |
1927 | ||
0d5e0c1b UB |
1928 | * config/mn10300/mn10300.md (clzsi2): Use XOR after BSCH to convert |
1929 | bit position of highest bit set into a count of the high zero bits. | |
bebd619e | 1930 | |
353b39fa EB |
1931 | 2011-06-27 Eric Botcazou <ebotcazou@adacore.com> |
1932 | ||
1933 | * dwarf2out.c (TYPE_DECL_IS_STUB): Extend mechanism to all types. | |
1934 | ||
a7af037b EB |
1935 | 2011-06-27 Eric Botcazou <ebotcazou@adacore.com> |
1936 | ||
1937 | PR lto/48492 | |
1938 | * dwarf2out.c (dwarf2out_finish): Do not attach a DIE on the limbo list | |
1939 | to a NULL parent. | |
1940 | ||
1c86160a RG |
1941 | 2011-06-27 Richard Guenther <rguenther@suse.de> |
1942 | ||
1943 | PR tree-optimization/49394 | |
1944 | * passes.c (execute_one_pass): Restore current_pass after | |
1945 | applying IPA transforms. | |
1946 | ||
5da49a9d KT |
1947 | 2011-06-27 Kai Tietz <ktietz@redhat.com> |
1948 | ||
1949 | * tree-ssa-math-opts.c (do_shift_rotate): Zero bits | |
1950 | out of type precision after operation. | |
0d5e0c1b UB |
1951 | (find_bswap): Take for limit value the integer auto-promotion |
1952 | into account. | |
5da49a9d | 1953 | |
9242213f EB |
1954 | 2011-06-27 Eric Botcazou <ebotcazou@adacore.com> |
1955 | ||
1956 | * reorg.c (fill_simple_delay_slots): Use stop_search_p to stop the | |
1957 | forward scan as well. | |
1958 | ||
db8b22ef TG |
1959 | 2011-06-27 Tristan Gingold <gingold@adacore.com> |
1960 | ||
1961 | PR target/44241 | |
1962 | * config/vms/vms-protos.h: New file. | |
1963 | * config/vms/vms-crtlmap.map: New file. | |
1964 | * config/vms/vms.c: New file. | |
1965 | * config/vms/make-crtlmap.awk: New file. | |
1966 | * config/vms/vms-crtl.h: File removed. | |
1967 | * config/vms/vms-crtl-64.h: File removed. | |
1968 | * config/vms/t-vms (vms-crtlmap.h, vms.o): New targets. | |
1969 | * config/alpha/vms64.h: Do not include vms-crtl-64.h | |
1970 | * config/alpha/alpha.c (alpha_init_builtins): Remove code to | |
1971 | clear some builtins on VMS. Calls vms_patch_builtins. | |
1972 | (avms_asm_output_external): Remove. | |
1973 | * config/alpha/vms.h (ASM_OUTPUT_EXTERNAL): Remove. | |
1974 | (struct crtl_name_spec): Remove | |
1975 | (DO_CTRL_NAMES): Remove. | |
1976 | * config/ia64/vms.h (struct crtl_name_spec): Remove | |
1977 | (DO_CTRL_NAMES): Remove. | |
1978 | * config/ia64/ia64.c (alpha_init_builtins): Remove code to | |
1979 | clear some builtins on VMS. Calls vms_patch_builtins. | |
1980 | (ia64_asm_output_external): Remove DO_CRTL_NAME. | |
1981 | * config/ia64/vms64.h: Do not include vms-crtl-64.h | |
0d5e0c1b | 1982 | * config.gcc (*-*-*vms*): Define extra_objs, target_gtfiles, tm_p_file. |
db8b22ef | 1983 | |
b213221d TG |
1984 | 2011-06-27 Tristan Gingold <gingold@adacore.com> |
1985 | ||
1986 | * config/alpha/alpha.c (alpha_end_function): Always generate .end | |
1987 | directive on VMS. | |
1988 | ||
157b9300 EB |
1989 | 2011-06-27 Eric Botcazou <ebotcazou@adacore.com> |
1990 | ||
1991 | * config/sparc/sparc.c (sparc_frame_pointer_required): Return true if | |
1992 | the function receives nonlocal gotos. | |
1993 | ||
ccbf5bb4 RG |
1994 | 2011-06-27 Richard Guenther <rguenther@suse.de> |
1995 | ||
1996 | PR tree-optimization/49536 | |
1997 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): | |
1998 | For non-scalar inner types use a scalar type according to | |
1999 | the scalar inner mode. | |
2000 | ||
fe4cd14b RG |
2001 | 2011-06-27 Richard Guenther <rguenther@suse.de> |
2002 | ||
2003 | PR tree-optimization/49365 | |
2004 | * params.def (min-insn-to-prefetch-ratio): Reduce from 10 to 9. | |
2005 | ||
afc3f22f RS |
2006 | 2011-06-27 Richard Guenther <rguenther@suse.de> |
2007 | ||
2008 | PR tree-optimization/49169 | |
2009 | * fold-const.c (get_pointer_modulus_and_residue): Don't rely on | |
2010 | the alignment of function decls. | |
2011 | ||
92590751 | 2012 | 2011-06-26 Iain Sandoe <iains@gcc.gnu.org> |
a45a766b IS |
2013 | |
2014 | PR target/47997 | |
2015 | * config/darwin.c (darwin_mergeable_string_section): Place string | |
2016 | constants in '.cstring' rather than '.const' when CF/NSStrings are | |
2017 | active. | |
2018 | ||
605354f3 EB |
2019 | 2011-06-26 Eric Botcazou <ebotcazou@adacore.com> |
2020 | ||
2021 | * config/sparc/sparc.c (save_local_or_in_reg_p): Adjust comment. | |
2022 | (emit_save_register_window): Likewise. | |
2023 | (sparc_expand_prologue): Use SIZE_INT_RTX and SIZE_RTX variables. | |
2024 | (sparc_flat_expand_prologue): Add comment. Always emit blockage. | |
2025 | Swap back %o7/%i7 in register naming. | |
2026 | ||
0e9197f5 IS |
2027 | 2011-06-25 Iain Sandoe <iains@gcc.gnu.org> |
2028 | ||
2029 | PR driver/49371 | |
2030 | * config/darwin.c (darwin_override_options): Improve warning when | |
2031 | mdynamic-no-pic is given together with fPIC/fpic, also warn when it | |
2032 | is given with fpie/fPIE. | |
2033 | * config/darwin.h (PIE_SPEC): New, (LINK_SPEC): Use PIE_SPEC. | |
2034 | * config/darwin9.h (PIE_SPEC): New. | |
53461199 | 2035 | |
605354f3 | 2036 | 2011-06-25 Basile Starynkevitch <basile@starynkevitch.net> |
53461199 BS |
2037 | |
2038 | * timevar.c (timevar_print): Increase width for display of timevar | |
2039 | name. | |
2040 | ||
f796c438 JJ |
2041 | 2011-06-24 Jakub Jelinek <jakub@redhat.com> |
2042 | ||
2043 | PR c++/46400 | |
2044 | * c-decl.c (union lang_tree_node): Use TYPE_NEXT_VARIANT | |
2045 | instead of TYPE_CHAIN for chain_next for types. | |
2046 | ||
a7289eaf RH |
2047 | 2011-06-24 Richard Henderson <rth@redhat.com> |
2048 | ||
2049 | * config/sparc/sparc.md (create_flat_frame_1<P:mode>): Remove. | |
2050 | (create_flat_frame_2<P:mode>, create_flat_frame_3<P:mode>): Remove. | |
2051 | * config/sparc/sparc.c (gen_create_flat_frame_1): Remove. | |
2052 | (gen_create_flat_frame_2, gen_create_flat_frame_3): Remove. | |
2053 | (sparc_flat_expand_prologue): Emit individual instructions | |
2054 | instead of one of the above. | |
2055 | ||
c4b9a87e ER |
2056 | 2011-06-24 Easwaran Raman <eraman@google.com> |
2057 | ||
2058 | PR rtl-optimization/49429 | |
2059 | PR target/49454 | |
2060 | * expr.c (emit_block_move_hints): Mark MEM_EXPR(x) and | |
2061 | MEM_EXPR(y) addressable if emit_block_move_via_libcall is | |
2062 | used to copy y into x. | |
2063 | * calls.c (initialize_argument_information): Mark | |
2064 | an argument addressable if it is passed by invisible reference. | |
2065 | (emit_library_call_value_1): Mark MEM_EXPR (val) addressable | |
2066 | if it is passed by reference. | |
2067 | ||
5ac6c59e L |
2068 | 2011-06-24 H.J. Lu <hongjiu.lu@intel.com> |
2069 | ||
2070 | PR rtl-optimization/49504 | |
2071 | * rtlanal.c (nonzero_bits1): Properly handle addition or | |
1f134bd6 L |
2072 | subtraction of a pointer in Pmode if pointers extend unsigned. |
2073 | (num_sign_bit_copies1): Likewise. | |
5ac6c59e | 2074 | |
b807e627 MJ |
2075 | 2011-06-24 Martin Jambor <mjambor@suse.cz> |
2076 | ||
2077 | PR tree-optimizations/49516 | |
2078 | * tree-sra.c (sra_modify_assign): Choose the safe path for | |
2079 | aggregate copies if we also did scalar replacements. | |
2080 | ||
9a1ea4b9 RR |
2081 | 2011-06-24 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
2082 | ||
2083 | PR target/49335 | |
2084 | * config/arm/predicates.md (add_operator): New. | |
0d5e0c1b | 2085 | * config/arm/arm.md ("*arith_shiftsi"): Fix for SP reg usage in Thumb2. |
9a1ea4b9 | 2086 | |
949cfd0a AK |
2087 | 2011-06-24 Andi Kleen <ak@linux.intel.com> |
2088 | ||
2089 | * tree-sra.c (type_internals_preclude_sra_p): Add msg | |
2090 | parameter. Split up ifs and report reason in *msg. | |
2091 | (reject): Add. | |
2092 | (find_var_candiate): Add msg variable. | |
2093 | Split up ifs and report reason to reject. | |
2094 | (find_param_candidates): Add msg variable. | |
2095 | Pass msg to type_internals_preclude_sra_p. | |
2096 | ||
49e9c661 | 2097 | 2011-06-23 Jeff Law <law@redhat.com> |
ad3577df | 2098 | |
b0c11403 JL |
2099 | PR middle-end/48770 |
2100 | * reload.h (reload): Change to return a bool. | |
2101 | * ira.c (ira): If requested by reload, run a fast DCE pass after | |
2102 | reload has completed. Fix comment typo. | |
2103 | * reload1.c (need_dce): New file scoped static. | |
2104 | (reload): Set reload_completed here. Return whether or not a DCE | |
2105 | pass after reload is needed. | |
2106 | (delete_dead_insn): Set need_dce as needed. | |
2107 | ||
ad3577df JL |
2108 | PR middle-end/49465 |
2109 | * tree-ssa-threadupate.c (fix_duplicate_block_edges): Fix condition | |
2110 | to detect threading through joiner block. If there was already | |
2111 | an edge to the new target, then do not change the PHI nodes. | |
2112 | ||
7cf64710 JJ |
2113 | 2011-06-23 Jakub Jelinek <jakub@redhat.com> |
2114 | ||
2115 | * tree-vect-data-refs.c (vect_compute_data_ref_alignment): Use | |
2116 | get_pointer_alignment to see if base isn't sufficiently aligned. | |
2117 | ||
febb1302 JH |
2118 | 2011-06-23 Jan Hubicka <jh@suse.cz> |
2119 | ||
2120 | PR tree-optimize/49373 | |
2121 | * tree-pass.h (all_late_ipa_passes): Declare. | |
2122 | * cgraphunit.c (init_lowered_empty_function): Fix properties. | |
4a9206ce EB |
2123 | (cgraph_optimize): Execute late passes; remove unreachable funcions |
2124 | after materialization. | |
2125 | * ipa-inline.c (gate_ipa_inline): Enable only when optimizing or | |
2126 | LTOing. | |
febb1302 JH |
2127 | * passes.c (all_late_ipa_passes): Declare. |
2128 | (dump_passes, register_pass): Handle late ipa passes. | |
4a9206ce EB |
2129 | (init_optimization_passes): Move ipa_pta to late passes; schedule |
2130 | fixup_cfg at beggining of all_passes. | |
febb1302 JH |
2131 | (apply_ipa_transforms): New function. |
2132 | (execute_one_pass): When doing simple ipa pass, apply all transforms. | |
2133 | ||
4c77620d JM |
2134 | 2011-06-23 Joseph Myers <joseph@codesourcery.com> |
2135 | ||
2136 | * params.c: Include common/common-target.h. Don't include tm.h. | |
2137 | (lang_independent_params): Move from toplev.c. | |
2138 | (global_init_params): New. | |
2139 | * params.h (global_init_params): Declare. | |
2140 | * target.def (default_params): Move to common-target.def. | |
2141 | * toplev.c (lang_independent_options): Remove. | |
2142 | (lang_independent_params): Move to params.c. | |
2143 | (general_init): Use global_init_params. | |
2144 | * common/common-target.def (option_default_params): Move from | |
2145 | target.def. | |
2146 | * common/config/ia64/ia64-common.c: Include params.h. | |
2147 | (ia64_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): Move | |
2148 | from ia64.c. | |
2149 | * common/config/rs6000/rs6000-common.c: Include params.h. | |
2150 | (rs6000_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): Move | |
2151 | from rs6000.c. | |
2152 | * common/config/sh/sh-common.c: Include params.h. | |
2153 | (sh_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): Move | |
2154 | from sh.c. | |
2155 | * common/config/spu/spu-common.c: Include params.h. | |
2156 | (spu_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): Move | |
2157 | from spu.c. | |
2158 | * config/ia64/ia64.c (ia64_option_default_params, | |
2159 | TARGET_OPTION_DEFAULT_PARAMS): Move to ia64-common.c. | |
2160 | * config/rs6000/rs6000.c (rs6000_option_default_params, | |
2161 | TARGET_OPTION_DEFAULT_PARAMS): Move to rs6000-common.c. | |
2162 | * config/sh/sh.c (sh_option_default_params, | |
2163 | TARGET_OPTION_DEFAULT_PARAMS): Move to sh-common.c. | |
2164 | * config/spu/spu.c (spu_option_default_params, | |
2165 | TARGET_OPTION_DEFAULT_PARAMS): Move to spu-common.c. | |
2166 | * Makefile.in (OBJS): Remove params.o. | |
2167 | (OBJS-libcommon-target): Add params.o. | |
2168 | (params.o, $(common_out_object_file)): Update dependencies. | |
2169 | * doc/tm.texi: Regenerate. | |
2170 | ||
6aad1e38 AM |
2171 | 2011-06-23 Alan Modra <amodra@gmail.com> |
2172 | ||
2173 | PR bootstrap/49383 | |
2174 | * config/rs6000/rs6000.c (call_ABI_of_interest): Adjust cgraph | |
2175 | invocation for 2011-06-09 changes. | |
2176 | ||
4fb489e7 JJ |
2177 | 2011-06-22 Jakub Jelinek <jakub@redhat.com> |
2178 | ||
fb79f500 JJ |
2179 | PR libgomp/49490 |
2180 | * omp-low.c (expand_omp_for_static_nochunk): Only | |
0d5e0c1b UB |
2181 | use n ceil/ nthreads size for the first n % nthreads threads in the |
2182 | team instead of all threads except for the last few ones which | |
fb79f500 JJ |
2183 | get less work or none at all. |
2184 | ||
4fb489e7 JJ |
2185 | PR debug/49496 |
2186 | * tree-vect-patterns.c (vect_recog_widen_mult_pattern): Ignore debug | |
2187 | uses. | |
2188 | ||
9c7c9f10 RG |
2189 | 2011-06-22 Richard Guenther <rguenther@suse.de> |
2190 | ||
2191 | PR tree-optimization/49493 | |
2192 | * tree-ssa-structalias.c (get_constraint_for_ssa_var): | |
2193 | Refer to the alias target of variables. | |
2194 | (associate_varinfo_to_alias_1): Remove. | |
2195 | (ipa_pta_execute): Do not associate aliases with anything. | |
2196 | * cgraph.h (varpool_alias_aliased_node): Fix cut&paste errors. | |
2197 | (cgraph_function_node): Likewise. | |
2198 | (cgraph_function_or_thunk_node): Likewise. | |
2199 | (varpool_variable_node): Likewise. | |
2200 | ||
7cf13d1f NS |
2201 | 2011-06-22 Nathan Sidwell <nathan@codesourcery.com> |
2202 | ||
0d5e0c1b | 2203 | * config/arm/arm.h (OPTION_DEFAULT_SPECS): Fix -mtls-dialect typo. |
7cf13d1f NS |
2204 | * config.gcc (arm*-*-linux*): Default to gnu tls. |
2205 | (arm*-*-*): Add --with-tls option. | |
2206 | (all_defaults): Add 'tls'. | |
2207 | ||
78a8eb4e RH |
2208 | 2011-06-22 Richard Henderson <rth@redhat.com> |
2209 | ||
2210 | * reg-notes.def (REG_CFA_WINDOW_SAVE): New. | |
2211 | * dwarf2out.c (dwarf2out_frame_debug): Handle it. | |
2212 | (dwarf2out_frame_debug_cfa_window_save): Rename from | |
2213 | dwarf2out_window_save; make static. | |
2214 | * tree.h (dwarf2out_window_save): Don't declare. | |
2215 | ||
2216 | * config/sparc/sparc.c (sparc_dwarf_handle_frame_unspec): Remove. | |
2217 | (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Remove. | |
2218 | (emit_save_register_window): Rename from gen_save_register_window; | |
2219 | emit the insn and add REG_CFA_* notes. | |
2220 | (sparc_expand_prologue): Update to match. | |
2221 | * config/sparc/sparc.md (save_register_window_1): Simplify from | |
2222 | save_register_window<P:mode>. | |
2223 | ||
3b4c46d7 L |
2224 | 2011-06-22 H.J. Lu <hongjiu.lu@intel.com> |
2225 | ||
2226 | PR target/49497 | |
2227 | * config/i386/i386.md (*lea_general_2): Always allow SImode. | |
2228 | (*lea_general_2_zext): Likewise. | |
2229 | (imul to lea peepholes): Use const359_operand and check | |
2230 | TARGET_PARTIAL_REG_STALL. | |
2231 | ||
2232 | * config/i386/predicates.md (const359_operand): New. | |
2233 | ||
4399cf59 MM |
2234 | 2011-06-22 Michael Matz <matz@suse.de> |
2235 | ||
2236 | * cgraphunit.c (assemble_thunk): Use correct return type. | |
2237 | ||
31a0c825 | 2238 | 2011-06-22 Dmitry Plotnikov <dplotnikov@ispras.ru> |
0d5e0c1b | 2239 | Dmitry Melnik <dm@ispras.ru> |
31a0c825 DP |
2240 | |
2241 | * config/arm/arm.c (neon_immediate_valid_for_shift): New function. | |
2242 | (neon_output_shift_immediate): Ditto. | |
2243 | * config/arm/arm-protos.h (neon_immediate_valid_for_shift): New | |
2244 | prototype. | |
2245 | (neon_output_shift_immediate): Ditto. | |
2246 | * config/arm/neon.md (vashl<mode>3): Modified constraint. | |
2247 | (vashr<mode>3_imm): New insn pattern. | |
2248 | (vlshr<mode>3_imm): Ditto. | |
2249 | (vashr<mode>3): Modified constraint. | |
2250 | (vlshr<mode>3): Ditto. | |
2251 | * config/arm/predicates.md (imm_for_neon_lshift_operand): New | |
2252 | predicate. | |
2253 | (imm_for_neon_rshift_operand): Ditto. | |
2254 | (imm_lshift_or_reg_neon): Ditto. | |
2255 | (imm_rshift_or_reg_neon): Ditto. | |
2256 | ||
2257 | * optabs.c (init_optabs): Init optab codes for vashl, vashr, vlshr. | |
2258 | ||
ddb555ed JJ |
2259 | 2011-06-22 Jakub Jelinek <jakub@redhat.com> |
2260 | ||
36dc1a88 JJ |
2261 | * tree-ssa-ccp.c (evaluate_stmt): Try bitwise tracking for |
2262 | builtin calls even if likelyvalue is not CONSTANT. | |
2263 | Handle BUILT_IN_STRDUP and BUILT_IN_STRNDUP like BUILT_IN_MALLOC. | |
2264 | Return get_value_for_expr of first operand | |
2265 | for BUILT_IN_{MEM{CPY,MOVE,SET},STR{,N}CPY}{,_CHK}. | |
2266 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle | |
2267 | BUILT_IN_{MEM{{,P}CPY,MOVE,SET},STR{,N}C{PY,AT},STPCPY}_CHK like | |
2268 | their non-checking counterparts. | |
2269 | (call_may_clobber_ref_p_1): Likewise. | |
2270 | (stmt_kills_ref_p_1): Handle BUILT_IN_MEM{{,P}CPY,MOVE,SET}_CHK | |
2271 | like their non-checking counterparts. | |
2272 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
2273 | Handle BUILT_IN_{MEM{{,P}CPY,MOVE,SET},STR{,N}C{PY,AT},STPCPY}_CHK | |
2274 | like their non-checking counterparts. | |
2275 | (find_func_clobbers): Likewise. | |
2276 | * tree-ssa-dce.c (propagate_necessity): Handle BUILT_IN_MEMSET_CHK | |
2277 | like BUILT_IN_MEMSET and BUILT_IN_CALLOC like BUILT_IN_MALLOC. | |
2278 | ||
41cd4957 JJ |
2279 | * dwarf2out.c (size_of_loc_descr, output_loc_operands, |
2280 | mark_base_types, hash_loc_operands, compare_loc_operands): Allow | |
2281 | DW_OP_GNU_convert and DW_OP_GNU_reinterpret to use constant instead | |
2282 | of base type reference as argument. | |
2283 | (resolve_addr_in_expr): Likewise. Fix keep computation. | |
2284 | (convert_descriptor_to_signed): Renamed to... | |
0d5e0c1b UB |
2285 | (convert_descriptor_to_mode): ... this. For wider types convert to |
2286 | unsigned instead of signed, for <= DWARF2_ADDR_SIZE convert to untyped. | |
41cd4957 JJ |
2287 | (typed_binop): New function. |
2288 | (scompare_loc_descriptor, ucompare_loc_descriptor, | |
2289 | minmax_loc_descriptor, mem_loc_descriptor): For wider integer modes | |
2290 | default to unsigned type instead of signed. | |
2291 | ||
ddb555ed JJ |
2292 | PR debug/47858 |
2293 | * gimple.h (enum gimple_debug_subcode): Add GIMPLE_DEBUG_SOURCE_BIND. | |
2294 | (gimple_build_debug_source_bind_stat): New prototype. | |
2295 | (gimple_build_debug_source_bind): Define. | |
2296 | (gimple_debug_source_bind_p, gimple_debug_source_bind_get_var, | |
2297 | gimple_debug_source_bind_get_value, | |
2298 | gimple_debug_source_bind_get_value_ptr, | |
2299 | gimple_debug_source_bind_set_var, | |
2300 | gimple_debug_source_bind_set_value): New inlines. | |
2301 | * gimple.c (gimple_build_debug_source_bind_stat): New function. | |
2302 | * gimple-pretty-print.c (dump_gimple_debug): Handle | |
2303 | GIMPLE_DEBUG_SOURCE_BIND. | |
2304 | * sese.c (rename_uses): Handle gimple_debug_source_bind_p. | |
2305 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise. | |
2306 | * tree-parloops.c (eliminate_local_variables, | |
2307 | separate_decls_in_region): Likewise. | |
2308 | (separate_decls_in_region_debug): Renamed from | |
2309 | separate_decls_in_region_debug_bind. Handle | |
2310 | gimple_debug_source_bind_p. | |
2311 | * tree.h (decl_debug_args_lookup, decl_debug_args_insert): New | |
2312 | prototypes. | |
2313 | (DECL_HAS_DEBUG_ARGS_P): Define. | |
2314 | (struct tree_function_decl): Add has_debug_args_flag field. | |
2315 | * tree.c (debug_args_for_decl): New variable. | |
2316 | (decl_debug_args_lookup, decl_debug_args_insert): New functions. | |
2317 | * tree-into-ssa.c (mark_def_sites): Handle uses in debug stmts. | |
2318 | (rewrite_debug_stmt_uses): New function. | |
2319 | (rewrite_stmt): Use it to rewrite debug stmt uses. | |
2320 | * rtl.def (DEBUG_PARAMETER_REF): New. | |
2321 | * rtl.h (DEBUG_PARAMETER_REF_DECL): Define. | |
2322 | * cselib.c (rtx_equal_for_cselib_1, cselib_hash_rtx): Handle | |
2323 | DEBUG_PARAMETER_REF. | |
2324 | * rtl.c (rtx_equal_p_cb, rtx_equal_p, iterative_hash_rtx): Likewise. | |
2325 | * print-rtl.c (print_rtx): Likewise. | |
2326 | * tree-sra.c (sra_ipa_reset_debug_stmts): Prefer replacing of | |
2327 | SSA_NAMEs with DEBUG_EXPR_DECLs initialized in source bind | |
2328 | debug stmts in the first bb. | |
2329 | * tree-inline.c (remap_ssa_name): If remapping default def | |
2330 | of a PARM_DECL fails, map to a DEBUG_EXPR_DECL set in | |
2331 | a source bind debug stmt. | |
2332 | (remap_gimple_stmt): Handle gimple_debug_source_bind_p. | |
2333 | (maybe_move_debug_stmts_to_successors): Likewise. | |
2334 | (copy_debug_stmt): Likewise. Avoid shadowing a variable. | |
2335 | (tree_function_versioning): If DECL_HAS_DEBUG_ARGS_P, copy | |
2336 | debug args vector from old_decl to new_decl. | |
2337 | * ipa-prop.c (ipa_modify_call_arguments): For optimized away | |
2338 | or modified parameters, add debug bind stmts before call | |
0d5e0c1b | 2339 | setting DEBUG_EXPR_DECL which is remembered in debug args vector. |
ddb555ed JJ |
2340 | * cfgexpand.c (expand_call_stmt): Call expand_debug_expr |
2341 | on DECL_DEBUG_EXPRs from debug args vector. | |
2342 | (expand_debug_source_expr): New function. | |
2343 | (expand_debug_locations): Use it for source bind insns. | |
2344 | (expand_gimple_basic_block): Handle gimple_debug_source_bind_p. | |
2345 | * var-tracking.c (prepare_call_arguments): Add debug args | |
2346 | to call_arguments if any. | |
2347 | * dwarf2out.c (dwarf_stack_op_name, size_of_loc_descr, | |
0d5e0c1b UB |
2348 | output_loc_operands, output_loc_operands_raw, resolve_addr_in_expr, |
2349 | compare_loc_operands): Handle DW_OP_GNU_parameter_ref. | |
ddb555ed JJ |
2350 | (get_ref_die_offset, parameter_ref_descriptor): New functions. |
2351 | (mem_loc_descriptor): Handle DEBUG_PARAMETER_REF. | |
2352 | (gen_subprogram_die): Handle parameters identified by | |
2353 | DEBUG_PARAMETER_REF. | |
2354 | ||
ccdc2164 NS |
2355 | 2011-06-22 Nathan Sidwell <nathan@codesourcery.com> |
2356 | ||
2357 | * doc/invoke.texi (ARM Options): Document -mtls-dialect option. | |
2358 | * doc/install.texi (Configuration): Document --with-tls. | |
ccdc2164 NS |
2359 | * config/arm/arm.c (enum tls_reloc): Add TLS_DESCSEQ. |
2360 | (arm_call_tls_get_addr): Clean up. Assert not tls descriptor. | |
2361 | (arm_tls_descseq_addr): New. | |
2362 | (legitimize_tls_address): Add tlsdesc support. | |
2363 | (arm_cannot_copy_insn_p): Check for tlscall. | |
2364 | (arm_emit_tls_decoration): Likewise. | |
2365 | * config/arm/arm.h (TARGET_GNU2_TLS): New. | |
2366 | (OPTION_DEFAULT_SPECS): Add with-tls support. | |
2367 | * config/arm/arm.md (R1_REGNUM): Define. | |
2368 | (tlscall): New. | |
2369 | * config/arm/arm.opt (tls_type): New enumeration type and values. | |
2370 | (mtls-dialect): New switch. | |
2371 | * config/arm/arm-opts.h (enum tls_type): New. | |
2372 | ||
70e41a6a NP |
2373 | 2011-06-21 Nicola Pero <nicola.pero@meta-innovation.com> |
2374 | ||
2375 | * attribs.c (register_attribute): Added assert to check that all | |
2376 | attribute specs are registered with a name that is not empty and | |
2377 | does not start with '_'. | |
2378 | (decl_attributes): Avoid the lookup of the "naked" attribute spec | |
2379 | if the function has no attributes. | |
2380 | * tree.c (is_attribute_with_length_p): Removed. | |
2381 | (is_attribute_p): Removed. | |
0d5e0c1b | 2382 | (private_is_attribute_p): New. |
70e41a6a NP |
2383 | (private_lookup_attribute): New. |
2384 | (lookup_attribute): Removed. | |
2385 | (lookup_ident_attribute): New. | |
2386 | (remove_attribute): Require the first argument to be in the form | |
2387 | 'text', not '__text__'. Updated asserts. | |
2388 | (merge_attributes): Use lookup_ident_attributes instead of | |
2389 | lookup_attribute. | |
2390 | (merge_dllimport_decl_attributes): Use remove_attribute. | |
2391 | (attribute_list_contained): Likewise. | |
2392 | (attribute_list_equal): Immediately return 1 if the arguments are | |
2393 | identical pointers. | |
2394 | * tree.h (is_attribute_p): Made inline. Return a 'bool', not an | |
2395 | 'int'. Require the first argument to be in the form 'text', not | |
2396 | '__text__'. Require the second argument to be an identifier. | |
2397 | (lookup_attribute): Made inline. Require the first argument to be | |
2398 | in the form 'text', not '__text__'. | |
2399 | (private_is_attribute_p, private_lookup_attribute): New. | |
2400 | Updated comments. | |
0d5e0c1b | 2401 | |
e0a8ecf2 AM |
2402 | 2011-06-21 Andrew MacLeod <amacleod@redhat.com> |
2403 | ||
2404 | * builtins.c: Add sync_ or SYNC__ to builtin names. | |
2405 | * sync-builtins.def: Add sync_ or SYNC__ to builtin names. | |
2406 | * omp-low.c: Add sync_ or SYNC__ to builtin names. | |
2407 | ||
663827d3 | 2408 | 2011-06-21 Georg-Johann Lay <avr@gjlay.de> |
637c11bd | 2409 | |
663827d3 GJL |
2410 | PR target/33049 |
2411 | * config/avr/avr.md (extzv): New expander. | |
2412 | (*extzv): New insn. | |
2413 | (*extzv.qihi1, *extzv.qihi2): New insn-and-split. | |
2414 | * config/avr/constraints.md (C04): New constraint. | |
2415 | * doc/md.texi (Machine Constraints): Document it. | |
2416 | ||
146aef0b JJ |
2417 | 2011-06-21 Jakub Jelinek <jakub@redhat.com> |
2418 | ||
2419 | PR middle-end/49489 | |
2420 | * builtins.c (expand_builtin_unop): Call expand_unop with 0 as | |
2421 | unsignedp argument instead of 1 for clrsb_optab. | |
2422 | (fold_builtin_bitop): Fix masking for width > HOST_BITS_PER_WIDE_INT | |
2423 | and < 2 * HOST_BITS_PER_WIDE_INT. Optimize BUILT_IN_CLRSB*. | |
2424 | (fold_builtin_1): Call fold_builtin_binop for BUILT_IN_CLRSB*. | |
2425 | * optabs.c (widen_leading): Call widen_operand and expand_unop | |
2426 | with 0 as unsignedp argument instead of 1 for clrsb_optab. | |
637c11bd | 2427 | (expand_unop): Subtract difference of mode sizes also for clrsb_optab. |
146aef0b | 2428 | |
c0503294 GJL |
2429 | 2011-06-21 Georg-Johann Lay <avr@gjlay.de> |
2430 | ||
2431 | * config/avr/avr.md (*jcindirect_jump): Fix build warning. | |
2432 | ||
3801c801 BS |
2433 | 2011-06-21 Bernd Schmidt <bernds@codesourcery.com> |
2434 | ||
0bddee8e BS |
2435 | * gensupport.c (add_define_attr): New static function. |
2436 | (is_predicable): Allow multi-alternative lists for the "predicable" | |
2437 | attribute. | |
2438 | (modify_attr_enabled_ce, alter_attrs_for_insn): New static functions. | |
2439 | (process_one_cond_exec): Call alter_attrs_for_insn. | |
2440 | * doc/md.texi (Defining Attributes): Mention some standard names. | |
2441 | (Conditional Execution): Update documentation for "predicable". | |
2442 | ||
3801c801 BS |
2443 | * doc/extend.texi (__builtin_clrsb, __builtin_clrsbl, |
2444 | __builtin_clrsbll): Document. | |
2445 | * doc/rtl.texi (clrsb): New entry. | |
2446 | * optabs.c (widen_leading): Renamed from widen_clz. New argument | |
2447 | UNOPTAB. All callers changed. Use UNOPTAB instead of clz_optab. | |
2448 | (expand_unop): Handle clrsb_optab. | |
2449 | (init_optabs): Initialize it. | |
2450 | * optabs.h (enum optab_index): New entry OTI_clrsb. | |
2451 | (clrsb_optab): Define. | |
2452 | * genopinit.c (optabs): Add an entry for it. | |
2453 | * builtins.c (expand_builtin): Handle clrsb builtin functions. | |
2454 | * builtins.def (BUILT_IN_CLRSB, BUILT_IN_CLRSBIMAX, BUILT_IN_CLRSBL, | |
2455 | BUILT_IN_CLRSBLL): New. | |
2456 | * rtl.def (CLRSB): New code. | |
2457 | * dwarf2out.c (mem_loc_descriptor): Handle it. | |
2458 | * simplify-rtx.c (simplify_const_unary_operation): Likewise. | |
2459 | Use op_mode rather than mode when optimizing ffs, clz, ctz, parity | |
2460 | and popcount. | |
2461 | * libgcc2.c (__clrsbSI2, __clrsbDI2): New functions. | |
2462 | * libgcc2.h (__clrsbSI2, __clrsbDI2): Define and declare. | |
2463 | (__ctzDI2): Move declaration. | |
2464 | * config/bfin/bfin.md (clrsbsi2): New expander. | |
2465 | (signbitssi2): Use the CLRSB rtx. | |
2466 | (clrsbhi2): Renamed from signbitshi2. Use the CLRSB rtx. | |
2467 | * config/bfin/bfin.c (bdesc_1arg): Changed accordingly. | |
2468 | ||
55f01229 RG |
2469 | 2011-06-21 Richard Guenther <rguenther@suse.de> |
2470 | ||
637c11bd | 2471 | * ipa-inline-transform.c (inline_transform): Fix previous change. |
55f01229 | 2472 | |
5181cd6a IR |
2473 | 2011-06-21 Ira Rosen <ira.rosen@linaro.org> |
2474 | ||
2475 | PR tree-optimization/49478 | |
2476 | * tree-vect-loop.c (vectorizable_reduction): Handle DOT_PROD_EXPR | |
2477 | with constant operand. | |
2478 | ||
e4ee3d70 RG |
2479 | 2011-06-21 Richard Guenther <rguenther@suse.de> |
2480 | ||
2481 | * ipa-inline-transform.c (inline_transform): Fix typo. | |
637c11bd | 2482 | |
7b7ec6c5 RG |
2483 | 2011-06-21 Richard Guenther <rguenther@suse.de> |
2484 | ||
2485 | PR tree-optimization/49483 | |
2486 | * tree-vect-stmts.c (vectorizable_assignment): Also handle | |
2487 | VIEW_CONVERT_EXPR conversions. | |
2488 | ||
1b916ca6 JM |
2489 | 2011-06-21 Joseph Myers <joseph@codesourcery.com> |
2490 | ||
2491 | * config/avr/avr-mcus.def, config/avr/genopt.sh: New files. | |
2492 | * config/avr/avr-tables.opt: New file (generated). | |
2493 | * config.gcc (avr-*-*): Use avr/avr-tables.opt. | |
2494 | * config/avr/avr-devices.c (avr_mcu_types): Move contents to | |
2495 | avr-mcus.def. | |
2496 | * config/avr/avr.c (avr_help, TARGET_HELP): Remove. | |
2497 | (avr_option_override): Don't process -mmcu= argument here. Set | |
2498 | avr_current_device using avr_mcu_index. | |
637c11bd | 2499 | (avr_file_start): Use avr_current_device->name instead of avr_mcu_name. |
1b916ca6 JM |
2500 | * config/avr/avr.opt (mmcu=): Use Enum. |
2501 | * config/avr/t-avr (avr-devices.o): Update dependencies. | |
2502 | ($(srcdir)/config/avr/avr-tables.opt): New. | |
2503 | * target.def (help): Remove. | |
2504 | * doc/tm.texi.in (TARGET_HELP): Remove. | |
2505 | * doc/tm.texi: Regenerate. | |
2506 | * opts.c: Don't include target.h. | |
2507 | (common_handle_option): Don't call targetm.help. | |
2508 | * system.h (TARGET_HELP): Poison. | |
2509 | * Makefile.in (opts.o): Update dependencies. | |
2510 | ||
7ecfa34f RO |
2511 | 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2512 | ||
2513 | * config/usegld.h: New file. | |
2514 | * config/sol2.h (PREFERRED_DEBUGGING_TYPE): Remove. | |
2515 | (CPP_SUBTARGET_SPEC): Remove -compat-bsd support. | |
637c11bd | 2516 | (LIB_SPEC): Likewise. Search /lib. |
7ecfa34f RO |
2517 | (LINK_ARCH32_SPEC_BASE): Remove -compat-bsd support. |
2518 | (RDYNAMIC_SPEC): Handle GNU ld. | |
637c11bd UB |
2519 | [HAVE_LD_EH_FRAME_HDR && TARGET_DL_ITERATE_PHDR] (LINK_EH_SPEC): |
2520 | Define. | |
7ecfa34f RO |
2521 | (SUPPORTS_INIT_PRIORITY): Only disable for Sun ld. |
2522 | (SUBTARGET_INSERT_ATTRIBUTES, SUBTARGET_ATTRIBUTE_TABLE): Define. | |
2523 | [!USE_GAS] (NO_DBX_BNSYM_ENSYM): Redefine. | |
2524 | (STACK_CHECK_STATIC_BUILTIN): Define. | |
2525 | * config/sol2.opt (compat-bsd): Remove. | |
2526 | * config/sol2-10.h (TARGET_C99_FUNCTIONS): Remove undef. | |
2527 | * config/sol2-bi.h: New file. | |
2528 | * config/sol2-gld.h: Remove. | |
2529 | * config/i386/sol2.h (TLS_COMMON_ASM_OP): Only define if !USE_GAS. | |
2530 | (NO_DBX_BNSYM_ENSYM): Remove. | |
2531 | (SUBTARGET_INSERT_ATTRIBUTES, SUBTARGET_ATTRIBUTE_TABLE): Remove. | |
2532 | (STACK_CHECK_STATIC_BUILTIN): Remove. | |
2533 | Test USE_GLD instead of TARGET_GNU_LD. | |
2534 | * config/i386/sol2-10.h: Rename to ... | |
2535 | * config/i386/sol2-bi.h .. this. | |
2536 | (SUBTARGET_EXTRA_SPECS): Redefine. | |
2537 | (WCHAR_TYPE, WCHAR_TYPE_SIZE, WINT_TYPE, WINT_TYPE_SIZE): Remove. | |
2538 | (MULTILIB_DEFAULTS): Remove. | |
2539 | (DEFAULT_ARCH32_P): Define. | |
2540 | (LINK_ARCH64_SPEC_BASE, LINK_ARCH64_SPEC): Remove. | |
2541 | (ARCH64_SUBDIR): Define. | |
2542 | Test USE_GLD instead of TARGET_GNU_LD. | |
2543 | (I386_EMULATION): Rename to ... | |
2544 | (ARCH32_EMULATION): ... this. | |
2545 | (X86_64_EMULATION): Rename to ... | |
2546 | (ARCH64_EMULATION): ... this. | |
2547 | (TARGET_LD_EMULATION): Remove. | |
2548 | (LINK_ARCH_SPEC): Remove. | |
2549 | * config/i386/sol2-gas.h: Remove. | |
2550 | * config/i386/t-sol2-10: Rename to ... | |
2551 | * config/i386/t-sol2-64: ... this. | |
2552 | * config/sparc/sol2.h (SPARC_DEFAULT_CMODEL): Redefine. | |
2553 | (AS_SPARC64_FLAG): Define. | |
2554 | (ASM_CPU32_DEFAULT_SPEC, ASM_CPU64_DEFAULT_SPEC): Redefine. | |
2555 | (CPP_CPU64_DEFAULT_SPEC, ASM_CPU32_DEFAULT_SPEC): Redefine | |
2556 | depending on TARGET_CPU_DEFAULT. | |
2557 | (CPP_CPU_SPEC): Redefine. | |
2558 | (ASM_CPU_SPEC): Handle DEFAULT_ARCH32_P. | |
2559 | (CPP_CPU_DEFAULT_SPEC, ASM_CPU_DEFAULT_SPEC): Redefine. | |
2560 | (CPP_ARCH32_SPEC, CPP_ARCH64_SPEC, CPP_ARCH_SPEC): Redefine. | |
2561 | (ASM_ARCH_SPEC, ASM_ARCH32_SPEC, ASM_ARCH64_SPEC, | |
2562 | ASM_ARCH_DEFAULT_SPEC): Redefine. | |
2563 | (SUBTARGET_EXTRA_SPECS): Add LINK_ARCH32_SPEC, LINK_ARCH64_SPEC, | |
2564 | LINK_ARCH_DEFAULT_SPEC. | |
2565 | [USE_GLD] (ARCH32_EMULATION, ARCH64_EMULATION): Define. | |
2566 | [USE_GLD] (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC): Redefine. | |
2567 | (ARCH64_SUBDIR): Define. | |
2568 | (LINK_ARCH64_SPEC): Redefine. | |
2569 | (CC1_SPEC): Redefine. | |
2570 | (OPTION_DEFAULT_SPECS): Redefine. | |
2571 | (MULTILIB_DEFAULTS): Define. | |
2572 | (WCHAR_TYPE, WCHAR_TYPE_SIZE, WINT_TYPE, WINT_TYPE_SIZE): Redefine. | |
2573 | [USE_GAS && HAVE_AS_TLS] (TARGET_SUN_TLS, TARGET_GNU_TLS): Redefine. | |
2574 | [USE_GLD] (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undef. | |
2575 | (NO_DBX_BNSYM_ENSYM): Remove. | |
2576 | (SUBTARGET_INSERT_ATTRIBUTES, SUBTARGET_ATTRIBUTE_TABLE): Remove. | |
2577 | (ASM_OUTPUT_ALIGN_WITH_NOP): Only define if !USE_GAS. | |
2578 | (TARGET_ASM_NAMED_SECTION): Likewise. | |
2579 | (STACK_CHECK_STATIC_BUILTIN): Remove. | |
2580 | * config/sparc/sol2-bi.h: Remove. | |
2581 | * config/sparc/sol2-gas-bi.h: Remove. | |
2582 | * config/sparc/sol2-gas.h: Remove. | |
2583 | * config/sparc/sol2-gld-bi.h: Remove. | |
2584 | * config.gcc (i[34567]86-*-solaris2*, sparc*-*-solaris2*): Move | |
2585 | common parts ... | |
2586 | (*-*-solaris2*): ... here. | |
2587 | ||
4b583c43 | 2588 | 2011-06-21 Christian Bruel <christian.bruel@st.com> |
637c11bd | 2589 | |
4b583c43 | 2590 | PR other/43564 |
637c11bd UB |
2591 | * ipa-inline.c (can_inline_edge_p): Check |
2592 | !DECL_DISREGARD_INLINE_LIMITS. | |
2593 | ||
3bb556ad | 2594 | 2011-06-21 Christian Bruel <christian.bruel@st.com> |
637c11bd | 2595 | |
3bb556ad CB |
2596 | PR middle-end/49139 |
2597 | * cgraphunit.c (process_function_and_variable_attributes): warn when | |
2598 | always_inline functions that are not inline. | |
637c11bd UB |
2599 | * ipa-inline-transform.c (inline_transform): Always call |
2600 | optimize_inline. | |
2601 | * tree-inline.c (tree_inlinable_function_p): Use error instead | |
2602 | of sorry. | |
3bb556ad | 2603 | (expand_call_inline): Likewise. |
637c11bd | 2604 | |
f1ee724c JJ |
2605 | 2011-06-21 Jakub Jelinek <jakub@redhat.com> |
2606 | ||
2607 | * Makefile.in (dg_target_exps): Set. | |
2608 | (check_gcc_parallelize): Parallelize gcc testing into 10 jobs | |
2609 | instead of 7, try to divide it more evenly. | |
2610 | ||
2611 | 2011-06-20 Changpeng Fang <changpeng.fang@amd.com> | |
97ef5ae6 | 2612 | |
931050d0 | 2613 | PR target/49089 |
97ef5ae6 CF |
2614 | * config/i386/i386.c (avx256_split_unaligned_load): New definition. |
2615 | (avx256_split_unaligned_store): New definition. | |
2616 | (ix86_option_override_internal): Enable avx256 unaligned load/store | |
2617 | splitting only when avx256_split_unaligned_load/store is set. | |
2618 | ||
998c75b6 BS |
2619 | 2011-06-20 Bernd Schmidt <bernds@codesourcery.com> |
2620 | ||
2621 | * regrename.c (scan_rtx_reg): Handle the case where we write to an | |
2622 | open chain in a smaller mode without failing the entire block. | |
2623 | ||
83a8cbda L |
2624 | 2011-06-20 H.J. Lu <hongjiu.lu@intel.com> |
2625 | ||
2626 | PR middle-end/47725 | |
2627 | * combine.c (cant_combine_insn_p): Don't check zero/sign | |
2628 | extended hard registers. | |
2629 | ||
3a769784 AM |
2630 | 2011-06-21 Alan Modra <amodra@gmail.com> |
2631 | ||
2632 | * config/rs6000/rs6000.c (rs6000_cannot_force_const_mem): Match | |
2633 | CONST high part large-toc address. | |
2634 | (rs6000_tls_referenced_p): Make static. | |
2635 | * config/rs6000/rs6000-protos.h (rs6000_tls_referenced_p): Delete. | |
2636 | ||
d1e32c4a L |
2637 | 2011-06-20 H.J. Lu <hongjiu.lu@intel.com> |
2638 | ||
2639 | PR middle-end/47725 | |
2640 | * combine.c (cant_combine_insn_p): Check zero/sign extended | |
2641 | hard registers. | |
2642 | ||
c2954af9 RR |
2643 | 2011-06-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
2644 | ||
2645 | PR target/49385 | |
2646 | * config/arm/thumb2.md (*thumb2_movhi_insn): Make sure atleast | |
2647 | one of the operands is a register. | |
2648 | ||
a95015b6 KT |
2649 | 2011-06-20 Kai Tietz <ktietz@redhat.com> |
2650 | ||
637c11bd UB |
2651 | * fold-const.c (fold_binary_loc): Add missing folding for truth-not |
2652 | operations in combination with binary and. | |
a95015b6 | 2653 | |
49a30d00 BS |
2654 | 2011-06-20 Bernd Schmidt <bernds@codesourcery.com> |
2655 | ||
2656 | * regrename.c (do_replace): Don't update notes. | |
2657 | ||
3bae1d98 AM |
2658 | 2011-06-20 Alan Modra <amodra@gmail.com> |
2659 | ||
2660 | * config/rs6000/rs6000.c (create_TOC_reference): Wrap high part | |
2661 | of toc-relative address in CONST. | |
2662 | (rs6000_delegitimize_address): Recognize changed address. | |
2663 | (rs6000_legitimize_reload_address): Likewise. | |
2664 | (rs6000_emit_move): Don't force these constants to memory. | |
2665 | * config/rs6000/rs6000.md (tls_gd, tls_gd_high): Wrap high part of | |
2666 | toc-relative address in CONST. | |
2667 | (tls_ld, tls_ld_high, tls_got_dtprel, tls_got_dtprel_high): Likewise. | |
2668 | (tls_got_tprel, tls_got_tprel_high, largetoc_high): Likewise. | |
2669 | ||
10937b0c L |
2670 | 2011-06-18 H.J. Lu <hongjiu.lu@intel.com> |
2671 | ||
637c11bd | 2672 | * longlong.h (count_leading_zeros): Use long long builtin for x86-64. |
10937b0c L |
2673 | (count_trailing_zeros): Likewise. |
2674 | ||
0c587260 L |
2675 | 2011-06-18 H.J. Lu <hongjiu.lu@intel.com> |
2676 | ||
2677 | PR other/49325 | |
2678 | * acinclude.m4 (gcc_AC_INITFINI_ARRAY): Properly check if | |
2679 | .init_array can be used with .ctors on targets. | |
2680 | * configure: Regenerated. | |
2681 | ||
c020c92b EB |
2682 | 2011-06-18 Eric Botcazou <ebotcazou@adacore.com> |
2683 | ||
2684 | * tree-sra.c (type_internals_preclude_sra_p) <ARRAY_TYPE>: Return true | |
2685 | if the element type is volatile. | |
2686 | ||
cd35bcf7 JH |
2687 | 2011-06-18 Jan Hubicka <jh@suse.cz> |
2688 | ||
2689 | * lto-symtab.c (lto_varpool_replace_node): Remove code handling | |
2690 | extra name aliases. | |
2691 | (lto_symtab_resolve_can_prevail_p): Likewise. | |
2692 | (lto_symtab_merge_cgraph_nodes): Update alias_of pointers. | |
2693 | * cgraphbuild.c (record_reference): Remove extra body alias code. | |
2694 | (mark_load): Likewise. | |
2695 | (mark_store): Likewise. | |
2696 | * cgraph.h (varpool_node): Remove extra_name filed; | |
2697 | add alias_of and extraname_alias. | |
2698 | (varpool_create_variable_alias, varpool_for_node_and_aliases): Declare. | |
2699 | (varpool_alias_aliased_node): New inline function. | |
2700 | (varpool_variable_node): New function. | |
2701 | * cgraphunit.c (handle_alias_pairs): Handle also variable aliases. | |
2702 | * ipa-ref.c (ipa_record_reference): Allow aliases on variables. | |
2703 | * lto-cgraph.c (lto_output_varpool_node): Update streaming. | |
2704 | (input_varpool_node): Likewise. | |
2705 | * lto-streamer-out.c (produce_symtab): Remove extra name aliases. | |
2706 | (varpool_externally_visible_p): Remove extra body alias code. | |
2707 | (function_and_variable_visibility): Likewise. | |
2708 | * tree-ssa-structalias.c (associate_varinfo_to_alias_1): New function. | |
2709 | (ipa_pta_execute): Use it. | |
2710 | * varpool.c (varpool_remove_node): Remove extra name alias code. | |
2711 | (varpool_mark_needed_node): Likewise. | |
2712 | (varpool_analyze_pending_decls): Analyze aliases. | |
2713 | (assemble_aliases): New functoin. | |
2714 | (varpool_assemble_decl): Use it. | |
2715 | (varpool_create_variable_alias): New function. | |
2716 | (varpool_extra_name_alias): Rewrite. | |
2717 | (varpool_for_node_and_aliases): New function. | |
2718 | ||
c96b4102 JJ |
2719 | 2011-06-18 Jakub Jelinek <jakub@redhat.com> |
2720 | ||
2721 | PR target/49411 | |
2722 | * config/i386/i386.c (ix86_expand_multi_arg_builtins): If | |
2723 | last_arg_constant and last argument doesn't match its predicate, | |
2724 | for xop_vpermil2<mode>3 error out and for xop_rotl<mode>3 | |
2725 | if it is CONST_INT, mask it, otherwise expand using rotl<mode>3. | |
2726 | (ix86_expand_sse_pcmpestr, ix86_expand_sse_pcmpistr): Fix | |
2727 | spelling of error message. | |
2728 | * config/i386/sse.md (sse4a_extrqi, sse4a_insertqi, | |
2729 | vcvtps2ph, *vcvtps2ph, *vcvtps2ph_store, vcvtps2ph256): Use | |
2730 | const_0_to_255_operand instead of const_int_operand. | |
2731 | ||
2732 | Revert: | |
2733 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> | |
2734 | ||
2735 | * config/i386/sse.md (blendbits): Remove mode attribute. | |
2736 | (<sse4_1>_blend<ssemodesuffix><avxsizesuffix>): Use const_int_operand | |
2737 | instead of const_0_to_<blendbits>_operand for operand 3 predicate. | |
2738 | Check integer value of operand 3 in insn constraint. | |
2739 | ||
9a2091cd HPN |
2740 | 2011-06-17 Hans-Peter Nilsson <hp@axis.com> |
2741 | ||
2742 | PR rtl-optimization/48542 | |
2743 | * reload.c (find_equiv_reg): Stop looking when finding a | |
2744 | setjmp-type call. | |
2745 | * reload1.c (reload_as_needed): Invalidate all reload | |
2746 | registers when crossing a setjmp-type call. | |
2747 | ||
361b51c0 JL |
2748 | 2011-06-16 Jeff Law <law@redhat.com> |
2749 | ||
2750 | * tree-ssa-threadupdate.c (struct redirection_data): New field | |
2751 | intermediate_edge. | |
2752 | (THREAD_TARGET2): Define. | |
637c11bd | 2753 | (redirection_data_eq): Also check that the intermediate edge is equal. |
361b51c0 JL |
2754 | (lookup_redirection_data): Drop useless argument. Extract the |
2755 | outgoing_edge and intermediate edge from E. Callers updated. | |
2756 | (copy_phi_args, update_destination_phis): New functions. | |
2757 | (fix_duplicate_block_edges): Likewise. | |
2758 | (create_edge_and_update_destination_phis): Duplicate all the edges | |
2759 | hung off e->aux. Use copy_phi_args. | |
2760 | (create_duplicates): Use fix_duplicate_block_edges. | |
2761 | (fixup_template_block): Likewise. | |
2762 | (redirect_edges): If necessary, redirect the joiner block's incoming | |
2763 | edge to the duplicate of the joiner block. | |
2764 | (thread_block): Don't muck up loops when threading through a joiner | |
2765 | block. | |
637c11bd | 2766 | (thread_through_loop_header): Handle threading through a joiner block. |
361b51c0 JL |
2767 | (mark_threaded_blocks, register_jump_thread): Likewise. |
2768 | * tree-flow.h (register_jump_thread): Add new argument. Callers | |
2769 | updated. | |
2770 | * tree-ssa-threadedge.c (phi_args_equal_on_edges): New function. | |
2771 | (thread_across_edge): Handle threading through a joiner block. | |
637c11bd | 2772 | |
ee460e75 MJ |
2773 | 2011-06-16 Martin Jambor <mjambor@suse.cz> |
2774 | ||
2775 | PR tree-optimization/49343 | |
2776 | * tree-sra.c (build_ref_for_model): Use component_ref_field_offset to | |
2777 | calculate offset, provide 2nd operand for the new COMPONENT_REF. | |
2778 | ||
a285ba2e IS |
2779 | 2011-06-16 Iain Sandoe <iains@gcc.gnu.org> |
2780 | ||
2781 | * config/darwin-protos.h (machopic_select_rtx_section): Move to | |
2782 | inside RTX_CODE ifdef. | |
2783 | ||
0703f020 TV |
2784 | 2011-06-16 Tom de Vries <tom@codesourcery.com> |
2785 | ||
2786 | PR target/45098 | |
637c11bd UB |
2787 | * tree-ssa-loop-niter.c (infer_loop_bounds_from_pointer_arith): |
2788 | Disallow NULL pointer for pointer arithmetic. | |
0703f020 | 2789 | |
900c07da RR |
2790 | 2011-06-16 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
2791 | ||
2792 | PR target/49398 | |
2793 | Revert. | |
2794 | 2011-06-10 Wei Guozhi <carrot@google.com> | |
2795 | ||
2796 | PR target/45335 | |
2797 | * config/arm/ldmstm.md (ldm2_ia, stm2_ia, ldm2_ib, stm2_ib, ldm2_da, | |
2798 | stm2_da, ldm2_db, stm2_db): Add condition !arm_arch7 to these insns. | |
2799 | (ldrd, ldrd_reg1, ldrd_reg2 and peephole2): New insn patterns and | |
2800 | related peephole2. | |
2801 | (strd, strd_reg1, strd_reg2 and peephole2): New insn patterns and | |
2802 | related peephole2. | |
2803 | * config/arm/arm-protos.h (arm_check_ldrd_operands): New prototype. | |
2804 | (arm_legitimate_ldrd_p): New prototype. | |
2805 | (arm_output_ldrd): New prototype. | |
2806 | * config/arm/arm.c (arm_check_ldrd_operands): New function. | |
2807 | (arm_legitimate_ldrd_p): New function. | |
2808 | (arm_output_ldrd): New function. | |
2809 | ||
c020c92b | 2810 | 2011-06-16 Joern Rennecke <joern.rennecke@embecosm.com> |
d5cc9181 JR |
2811 | |
2812 | PR middle-end/46500 | |
2813 | * doc/tm.texi.in: Update Copyright date. | |
2814 | * doc/tm.texi: Regenerate. | |
2815 | * targhooks.c (default_setup_incoming_varargs): Replace | |
2816 | CUMULATIVE_ARGS* argument type with cumulative_args_t. | |
2817 | (default_pretend_outgoing_varargs_named): Likewise. | |
2818 | (hook_pass_by_reference_must_pass_in_stack): Likewise. | |
2819 | (hook_callee_copies_named): Likewise. | |
2820 | (default_function_arg_advance): Likewise. | |
2821 | (default_function_arg): Likewise. | |
2822 | (default_function_incoming_arg): Likewise. | |
2823 | (hook_bool_CUMULATIVE_ARGS_false): Likewise. | |
2824 | (hook_bool_CUMULATIVE_ARGS_true): Likewise. | |
2825 | (hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false): Likewise. | |
2826 | (hook_bool_CUMULATIVE_ARGS_mode_tree_bool_true): Likewise. | |
2827 | (hook_int_CUMULATIVE_ARGS_mode_tree_bool_0): Likewise. | |
2828 | * targhooks.h (default_setup_incoming_varargs): Likewise. | |
2829 | (default_pretend_outgoing_varargs_named): Likewise. | |
2830 | (hook_pass_by_reference_must_pass_in_stack): Likewise. | |
2831 | (hook_callee_copies_named): Likewise. | |
2832 | (default_function_arg_advance): Likewise. | |
2833 | (default_function_arg): Likewise. | |
2834 | (default_function_incoming_arg): Likewise. | |
2835 | (hook_bool_CUMULATIVE_ARGS_false): Likewise. | |
2836 | (hook_bool_CUMULATIVE_ARGS_true): Likewise. | |
2837 | (hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false): Likewise. | |
2838 | (hook_bool_CUMULATIVE_ARGS_mode_tree_bool_true): Likewise. | |
2839 | (hook_int_CUMULATIVE_ARGS_mode_tree_bool_0): Likewise. | |
2840 | * target.def (pass_by_reference): Likewise. | |
2841 | (setup_incoming_varargs, strict_argument_naming): Likewise. | |
2842 | (pretend_outgoing_varargs_named, callee_copies): Likewise. | |
2843 | (arg_partial_bytes, function_arg_advance, function_arg): Likewise. | |
2844 | (function_incoming_arg): Likewise. | |
2845 | * target.h: Don't include "tm.h" . | |
2846 | (cumulative_args_t): New typedef. | |
2847 | [GCC_TM_H] (get_cumulative_args): New static inline function. | |
2848 | [GCC_TM_H] (pack_cumulative_args): Likewise. | |
2849 | * config/alpha/alpha.c (alpha_function_arg): Replace CUMULATIVE_ARGS* | |
2850 | argument type with cumulative_args_t. | |
2851 | (alpha_function_arg_advance, alpha_arg_partial_bytes): Likewise. | |
2852 | (alpha_pass_by_reference, alpha_setup_incoming_varargs): Likewise. | |
2853 | * config/frv/frv.c (frv_setup_incoming_varargs): Likewise. | |
2854 | (frv_arg_partial_bytes, frv_function_arg): Likewise. | |
2855 | (frv_function_incoming_arg, frv_function_arg_advance): Likewise. | |
2856 | (frv_function_arg_1): Likewise. | |
2857 | * config/s390/s390.c (s390_pass_by_reference): Likewise. | |
2858 | (s390_function_arg_advance, s390_function_arg): Likewise. | |
2859 | * config/m32c/m32c.c (m32c_function_arg): Likewise. | |
2860 | (m32c_pass_by_reference, m32c_function_arg_advance): Likewise. | |
2861 | (m32c_strict_argument_naming): Likewise. | |
2862 | * config/spu/spu.c (spu_pass_by_reference, spu_function_arg): Likewise. | |
2863 | (spu_function_arg_advance): Likewise. | |
2864 | (spu_setup_incoming_varargs): Likewise. Make static. | |
2865 | * config/spu/spu-protos.h (spu_setup_incoming_varargs): | |
2866 | Remove prototype. | |
2867 | * config/sparc/sparc.c (sparc_strict_argument_naming): Replace | |
2868 | CUMULATIVE_ARGS* argument type with cumulative_args_t. | |
2869 | (sparc_pass_by_reference, sparc_function_arg_advance): Likewise. | |
2870 | (sparc_function_arg, sparc_function_incoming_arg): Likewise. | |
2871 | (sparc_arg_partial_bytes, sparc_function_arg_1): Likewise. | |
2872 | * config/mep/mep.c (mep_setup_incoming_varargs): Likewise. | |
2873 | (mep_pass_by_reference, mep_function_arg): Likewise. | |
2874 | (mep_function_arg_advance): Likewise. | |
2875 | * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise. | |
2876 | (m32r_pass_by_reference, m32r_arg_partial_bytes): Likewise. | |
2877 | (m32r_function_arg, m32r_function_arg_advance): Likewise. | |
2878 | * config/rx/rx.c (rx_function_arg, rx_function_arg_advance): Likewise. | |
2879 | * config/i386/i386.c (ix86_function_arg_advance): Likewise. | |
2880 | (ix86_function_arg, ix86_pass_by_reference): Likewise. | |
2881 | (ix86_setup_incoming_varargs): Likewise. | |
2882 | * config/sh/sh.c (sh_setup_incoming_varargs): Likewise. | |
2883 | (sh_strict_argument_naming): Likewise. | |
2884 | (sh_pretend_outgoing_varargs_named, sh_pass_by_reference): Likewise. | |
2885 | (sh_callee_copies, sh_arg_partial_bytes): Likewise. | |
2886 | (sh_function_arg_advance, sh_function_arg): Likewise. | |
2887 | * config/pdp11/pdp11.c (pdp11_function_arg): Likewise. | |
2888 | (pdp11_function_arg_advance): Likewise. | |
2889 | * config/microblaze/microblaze.c (microblaze_function_arg_advance): | |
2890 | Likewise. | |
2891 | (microblaze_function_arg, function_arg_partial_bytes): Likewise. | |
2892 | * config/avr/avr.c (avr_function_arg): Likewise. | |
2893 | (avr_function_arg_advance): Likewise. | |
2894 | * config/xtensa/xtensa.c (xtensa_function_arg_advance): Likewise. | |
2895 | (xtensa_function_arg, xtensa_function_incoming_arg): Likewise. | |
2896 | (xtensa_function_arg_1): Likewise. | |
637c11bd UB |
2897 | * config/stormy16/stormy16.c (xstormy16_function_arg_advance): |
2898 | Likewise. | |
d5cc9181 JR |
2899 | (xstormy16_function_arg): Likewise. |
2900 | * config/fr30/fr30.c (fr30_setup_incoming_varargs): Likewise. | |
2901 | (fr30_arg_partial_bytes, fr30_function_arg): Likewise. | |
2902 | (fr30_function_arg_advance): Likewise. | |
2903 | * config/lm32/lm32.c (lm32_setup_incoming_varargs): Likewise. | |
2904 | (lm32_function_arg, lm32_function_arg_advance): Likewise. | |
2905 | * config/moxie/moxie.c (moxie_setup_incoming_varargs): Likewise. | |
2906 | (moxie_function_arg, moxie_function_arg_advance): Likewise. | |
2907 | (moxie_pass_by_reference, moxie_arg_partial_bytes): Likewise. | |
2908 | * config/cris/cris.c (cris_setup_incoming_varargs): Likewise. | |
2909 | (cris_pass_by_reference, cris_arg_partial_bytes): Likewise. | |
2910 | (cris_function_arg, cris_function_incoming_arg): Likewise. | |
2911 | (cris_function_arg_advance, cris_function_arg_1): Likewise. | |
2912 | * config/iq2000/iq2000.c (iq2000_setup_incoming_varargs): Likewise. | |
2913 | (iq2000_pass_by_reference, iq2000_arg_partial_bytes): Likewise. | |
2914 | (iq2000_function_arg, iq2000_function_arg_advance): Likewise. | |
2915 | * config/mn10300/mn10300.c (mn10300_pass_by_reference): Likewise. | |
2916 | (mn10300_function_arg, mn10300_function_arg_advance): Likewise. | |
2917 | (mn10300_arg_partial_bytes): Likewise. | |
2918 | * config/ia64/ia64.c (ia64_setup_incoming_varargs): Likewise. | |
2919 | (ia64_arg_partial_bytes, ia64_function_arg): Likewise. | |
2920 | (ia64_function_incoming_arg, ia64_function_arg_advance): Likewise. | |
2921 | (ia64_function_arg_1): Likewise. | |
2922 | * config/m68k/m68k.c (m68k_function_arg_advance): Likewise. | |
2923 | (m68k_function_arg): Likewise. | |
2924 | * config/rs6000/rs6000.c (rs6000_function_arg_advance): Likewise. | |
2925 | (rs6000_function_arg, setup_incoming_varargs): Likewise. | |
2926 | (rs6000_pass_by_reference, rs6000_arg_partial_bytes): Likewise. | |
2927 | * config/picochip/picochip.c (picochip_arg_partial_bytes): Likewise. | |
2928 | (picochip_function_arg, picochip_incoming_function_arg): Likewise. | |
2929 | (picochip_arg_advance): Likewise. | |
2930 | * config/mcore/mcore.c (mcore_setup_incoming_varargs): Likewise. | |
2931 | (mcore_arg_partial_bytes, mcore_function_arg): Likewise. | |
2932 | (mcore_function_arg_advance): Likewise. | |
2933 | * config/score/score.c (score_pass_by_reference): Likewise. | |
2934 | (score_function_arg_advance): Likewise. | |
2935 | (score_arg_partial_bytes): Likewise. Make static. | |
2936 | * config/score/score-protos.h (score_arg_partial_bytes): Don't declare. | |
2937 | * config/arm/arm.c (arm_arg_partial_bytes): Replace | |
2938 | CUMULATIVE_ARGS* argument type with cumulative_args_t. | |
2939 | (arm_function_arg, arm_function_arg_advance): Likewise. | |
2940 | (arm_setup_incoming_varargs, arm_pass_by_reference): Likewise. | |
2941 | * config/pa/pa.c (pa_pass_by_reference): Likewise. | |
2942 | (pa_arg_partial_bytes, pa_function_arg_advance): Likewise. | |
2943 | (pa_function_arg): Likewise. | |
2944 | * config/mips/mips.c (mips_strict_argument_naming): Likewise. | |
2945 | (mips_function_arg, mips_function_arg_advance): Likewise. | |
2946 | (mips_arg_partial_bytes, mips_pass_by_reference): Likewise. | |
2947 | (mips_callee_copies, mips_setup_incoming_varargs): Likewise. | |
2948 | * config/vax/vax.c (vax_function_arg): Likewise. | |
2949 | (vax_function_arg_advance): Likewise. | |
2950 | * config/h8300/h8300.c (h8300_function_arg): Likewise. | |
2951 | (h8300_function_arg_advance): Likewise. | |
2952 | * config/v850/v850.c (v850_pass_by_reference): Likewise. | |
2953 | (v850_strict_argument_naming, v850_function_arg): Likewise. | |
2954 | (v850_arg_partial_bytes, v850_function_arg_advance): Likewise. | |
2955 | (v850_setup_incoming_varargs): Likewise. | |
2956 | * config/mmix/mmix.c (mmix_setup_incoming_varargs): Likewise. | |
2957 | (mmix_function_arg_advance, mmix_function_incoming_arg): Likewise. | |
2958 | (mmix_function_arg, mmix_pass_by_reference): Likewise. | |
2959 | (mmix_function_arg_1): Replace const CUMULATIVE_ARGS* argument type | |
2960 | with const void *. | |
2961 | * config/bfin/bfin.c (setup_incoming_varargs): Replace | |
2962 | CUMULATIVE_ARGS* argument type with cumulative_args_t. | |
2963 | (bfin_function_arg_advance, bfin_function_arg): Likewise. | |
2964 | (bfin_arg_partial_bytes, bfin_pass_by_reference): Likewise. | |
2965 | * calls.c (emit_call_1): Change type of args_so_far to | |
2966 | cumulative_args_t. Changed all callers. | |
2967 | (initialize_argument_information): Likewise. | |
2968 | (expand_call, emit_library_call_value_1): Use pack_cumulative_args. | |
2969 | * dse.c (get_call_args): Likewise. | |
2970 | * expr.c (block_move_libcall_safe_for_call_parm): Likewise. | |
2971 | * function.c (pass_by_reference, reference_callee_copied): Likewise. | |
2972 | (struct assign_parm_data_all): Rename args_so_far to args_so_far_v. | |
2973 | New member args_so_far_v. Changed all users. | |
2974 | * var-tracking.c (prepare_call_arguments): Use pack_cumulative_args. | |
2975 | * config/iq2000/iq2000.c (iq2000_expand_prologue): Likewise. | |
2976 | * config/mips/mips.c (mips_output_args_xfer): Likewise. | |
2977 | * config/s390/s390.c (s390_call_saved_register_used): Likewise. | |
2978 | * config/sh/sh.c (sh_output_mi_thunk): Likewise. | |
637c11bd UB |
2979 | * config/microblaze/microblaze.c (microblaze_expand_prologue): |
2980 | Likewise. | |
d5cc9181 JR |
2981 | * config/m32r/m32r.c (m32r_return_in_memory): Adjust for changed |
2982 | m32r_pass_by_reference. | |
2983 | ||
51312233 IR |
2984 | 2011-06-16 Ira Rosen <ira.rosen@linaro.org> |
2985 | ||
2986 | * tree-vectorizer.h (vect_recog_func_ptr): Change the first | |
2987 | argument to be a VEC of statements. | |
637c11bd UB |
2988 | * tree-vect-loop.c (vect_determine_vectorization_factor): Remove the |
2989 | assert that pattern statements have to have their vector type set. | |
51312233 IR |
2990 | * tree-vect-patterns.c (vect_recog_widen_sum_pattern): |
2991 | Change the first argument to be a VEC of statements. Update | |
2992 | documentation. | |
2993 | (vect_recog_dot_prod_pattern, vect_recog_pow_pattern): Likewise. | |
2994 | (vect_handle_widen_mult_by_const): New function. | |
637c11bd UB |
2995 | (vect_recog_widen_mult_pattern): Change the first argument to be a |
2996 | VEC of statements. Update documentation. Check that the constant is | |
2997 | INTEGER_CST. Support multiplication by a constant that fits an | |
2998 | intermediate type - call vect_handle_widen_mult_by_const. | |
51312233 IR |
2999 | (vect_pattern_recog_1): Update vect_recog_func_ptr and its |
3000 | call. Handle additional pattern statements if necessary. | |
3001 | ||
fd4df33d NC |
3002 | 2011-06-16 Nick Clifton <nickc@redhat.com> |
3003 | ||
3004 | PR target/49427 | |
3005 | * config.gcc: Set cpu_type to v850 for any V850 architecture. | |
3006 | (v850*-*-*): Delete explicit setting of tm_p_file, tmake_file, | |
3007 | md_file, extra_modes, out_file and extra_options are these are all | |
3008 | deduced from cpu_type. | |
3009 | ||
fbd05da0 GJL |
3010 | 2011-06-16 Georg-Johann Lay <avr@gjlay.de> |
3011 | ||
3012 | * config/avr/libgcc.S (__ashldi3, __ashrdi3, __lshrdi3): Set shift | |
3013 | truncation mask to 63. | |
3014 | ||
0ad8bb3b GJL |
3015 | 2011-06-16 Georg-Johann Lay <avr@gjlay.de> |
3016 | ||
3017 | PR target/49313 | |
3018 | PR target/29524 | |
3019 | * longlong.h: Add AVR support: | |
3020 | (count_leading_zeros): New macro. | |
3021 | (count_trailing_zeros): New macro. | |
3022 | (COUNT_LEADING_ZEROS_0): New macro. | |
637c11bd UB |
3023 | * config/avr/t-avr (LIB1ASMFUNCS): Add _ffssi2, _ffshi2, _loop_ffsqi2, |
3024 | _ctzsi2, _ctzhi2, _clzdi2, _clzsi2, _clzhi2, _paritydi2, _paritysi2, | |
3025 | _parityhi2, _popcounthi2,_popcountsi2, _popcountdi2, _popcountqi2, | |
3026 | _bswapsi2, _bswapdi2, _ashldi3, _ashrdi3, _lshrdi3. | |
0ad8bb3b GJL |
3027 | (LIB2FUNCS_EXCLUDE): Add _clz. |
3028 | * config/avr/libgcc.S (XCALL): Move up in file. | |
3029 | (XJMP): New C Macro. | |
3030 | (DEFUN): New asm macro. | |
3031 | (ENDF): New asm macro. | |
3032 | (__ffssi2): New function. | |
3033 | (__ffshi2): New function. | |
3034 | (__loop_ffsqi2): New function. | |
3035 | (__ctzsi2): New function. | |
3036 | (__ctzhi2): New function. | |
3037 | (__clzdi2): New function. | |
3038 | (__clzsi2): New function. | |
3039 | (__clzhi2): New function. | |
3040 | (__paritydi2): New function. | |
3041 | (__paritysi2): New function. | |
3042 | (__parityhi2): New function. | |
59c1e10b | 3043 | (__parityqi2): New function. |
0ad8bb3b GJL |
3044 | (__popcounthi2): New function. |
3045 | (__popcountsi2): New function. | |
3046 | (__popcountdi2): New function. | |
3047 | (__popcountqi2): New function. | |
3048 | (__bswapsi2): New function. | |
3049 | (__bswapdi2): New function. | |
3050 | (__ashldi3): New function. | |
3051 | (__ashrdi3): New function. | |
3052 | (__lshrdi3): New function. | |
3053 | Fix suspicous lines. | |
3054 | ||
12430896 RG |
3055 | 2011-06-16 Richard Guenther <rguenther@suse.de> |
3056 | ||
3057 | * gimple.c (canonicalize_cond_expr_cond): (bool)x is not | |
3058 | the same as x != 0. | |
637c11bd UB |
3059 | * fold-const.c (fold_binary_loc): Do not fold X & 1 != 0 |
3060 | to (bool) X & 1. | |
12430896 RG |
3061 | * ipa-prop.c (ipa_analyze_indirect_call_uses): Also allow |
3062 | equality compares against zero for the lower bit. | |
3063 | ||
09302442 JJ |
3064 | 2011-06-16 Jakub Jelinek <jakub@redhat.com> |
3065 | ||
3066 | PR tree-optimization/49419 | |
3067 | * tree-vrp.c (execute_vrp): Call init_range_assertions | |
3068 | before estimate_numbers_of_iterations, call | |
3069 | free_number_of_iterations_estimates before calling | |
3070 | remove_range_assertions. | |
3071 | ||
81c41166 RE |
3072 | 2011-06-16 Revital Eres <revital.eres@linaro.org> |
3073 | ||
3074 | * modulo-sched.c (struct ps_insn): Remove row_rest_count field. | |
3075 | (struct partial_schedule): Add rows_length field. | |
3076 | (verify_partial_schedule): Check rows_length. | |
3077 | (ps_insert_empty_row): Handle rows_length. | |
3078 | (create_partial_schedule): Likewise. | |
3079 | (free_partial_schedule): Likewise. | |
3080 | (reset_partial_schedule): Likewise. | |
3081 | (create_ps_insn): Remove rest_count argument. | |
3082 | (remove_node_from_ps): Update rows_length. | |
3083 | (add_node_to_ps): Update rows_length and call create_ps_insn | |
3084 | without passing row_rest_count. | |
3085 | (rotate_partial_schedule): Update rows_length. | |
3086 | ||
d24dc7b3 RE |
3087 | 2011-06-16 Revital Eres <revital.eres@linaro.org> |
3088 | ||
3089 | * ddg.c (add_intra_loop_mem_dep): New function. | |
3090 | (build_intra_loop_deps): Call it. | |
3091 | ||
361b51c0 | 3092 | 2011-06-13 Jeff Law <law@redhat.com> |
2098e438 JL |
3093 | |
3094 | * df-problems.c (df_lr_local_compute): Manually CSE | |
3095 | PIC_OFFSET_TABLE_REGNUM. | |
3096 | * df-scan.c (df_get_regular_block_artificial_uses): Likewise. | |
3097 | (df_get_entry_block_def_set, df_get_exit_block_use_set): Likewise. | |
3098 | ||
85ce9375 JH |
3099 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
3100 | ||
3101 | * cgraphunit.c (handle_alias_pairs): New function. | |
3102 | (cgraph_finalize_compilation_unit): Use it. | |
3103 | * ipa.c (cgraph_externally_visible_p): Remove hack marking asm names | |
3104 | as externally visible. | |
3105 | ||
a577c405 RG |
3106 | 2011-06-15 Richard Guenther <rguenther@suse.de> |
3107 | ||
3108 | * expr.c (expand_expr_real_2): Reduce all integral types to | |
3109 | bitfield precision. | |
3110 | (expand_expr_real_1): Likewise. | |
3111 | ||
93536c97 MJ |
3112 | 2011-06-15 Martin Jambor <mjambor@suse.cz> |
3113 | ||
3114 | PR tree-optimization/48613 | |
3115 | * ipa-prop.c (ipa_prop_write_jump_functions): Return immediately if | |
3116 | ipa_node_params_vector is NULL. | |
fd4df33d | 3117 | |
ba45cfc4 JJ |
3118 | 2011-06-15 Jakub Jelinek <jakub@redhat.com> |
3119 | ||
3120 | PR debug/49382 | |
3121 | * dwarf2out.c (dw_loc_list_node): Add force field. | |
637c11bd UB |
3122 | (add_var_loc_to_decl): For PARM_DECL, attempt to keep the incoming |
3123 | location in the list, even if it is modified before first real insn. | |
ba45cfc4 | 3124 | (output_loc_list): Emit empty ranges with force flag set. |
637c11bd | 3125 | (dw_loc_list): If first range of a PARM_DECL is empty, set force flag. |
ba45cfc4 | 3126 | |
6fc5966f AM |
3127 | 2011-06-15 Alexander Monakov <amonakov@ispras.ru> |
3128 | ||
3129 | PR target/49349 | |
3130 | * sel-sched.c (find_place_for_bookkeeping): Add new parameter | |
3131 | (fence_to_rewind). Use it to notice when bookkeeping will be placed | |
3132 | above a fence. Update comments. | |
3133 | (generate_bookkeeping_insn): Rewind fence when bookkeeping code is | |
3134 | placed just above it. Do not allow NULL place_to_insert. | |
3135 | ||
9d5e7640 IR |
3136 | 2011-06-15 Ira Rosen <ira.rosen@linaro.org> |
3137 | ||
3138 | * tree-vect-loop-manip.c (remove_dead_stmts_from_loop): Remove. | |
3139 | (slpeel_tree_peel_loop_to_edge): Don't call | |
3140 | remove_dead_stmts_from_loop. | |
3141 | * tree-vect-loop.c (vect_determine_vectorization_factor): Don't | |
3142 | remove irrelevant pattern statements. For irrelevant statements | |
3143 | check if it is the last statement of a detected pattern, use | |
3144 | corresponding pattern statement instead. | |
3145 | (destroy_loop_vec_info): No need to remove pattern statements, | |
3146 | only free stmt_vec_info. | |
3147 | (vect_transform_loop): For irrelevant statements check if it is | |
3148 | the last statement of a detected pattern, use corresponding | |
3149 | pattern statement instead. | |
3150 | * tree-vect-patterns.c (vect_pattern_recog_1): Don't insert | |
3151 | pattern statements. Set basic block for the new statement. | |
3152 | (vect_pattern_recog): Update documentation. | |
3153 | * tree-vect-stmts.c (vect_mark_stmts_to_be_vectorized): Scan | |
3154 | operands of pattern statements. | |
3155 | (vectorizable_call): Fix printing. In case of a pattern statement | |
3156 | use the lhs of the original statement when creating a dummy | |
3157 | statement to replace the original call. | |
3158 | (vect_analyze_stmt): For irrelevant statements check if it is | |
3159 | the last statement of a detected pattern, use corresponding | |
3160 | pattern statement instead. | |
3161 | * tree-vect-slp.c (vect_schedule_slp_instance): For pattern | |
3162 | statements use gsi of the original statement. | |
3163 | ||
677f3fa8 JM |
3164 | 2011-06-14 Joseph Myers <joseph@codesourcery.com> |
3165 | ||
3166 | * target-def.h (TARGET_HAVE_NAMED_SECTIONS): Move to | |
3167 | common/common-target-def.h. | |
3168 | * target.def (default_target_flags, handle_option, | |
3169 | supports_split_stack, optimization_table, init_struct, | |
3170 | except_unwind_info, unwind_tables_default, have_named_sections): | |
3171 | Move to common/common-target.def. | |
3172 | * target.h (enum opt_levels, struct default_options): Move to | |
3173 | common/common-target.h. | |
3174 | * targhooks.c (default_except_unwind_info, | |
3175 | dwarf2_except_unwind_info, sjlj_except_unwind_info, | |
3176 | default_target_handle_option, empty_optimization_table): Move to | |
3177 | common/common-targhooks.c. | |
3178 | * targhooks.h (default_except_unwind_info, | |
3179 | dwarf2_except_unwind_info, sjlj_except_unwind_info, | |
3180 | default_target_handle_option, empty_optimization_table): Move to | |
3181 | common/common-targhooks.h. | |
3182 | * common/common-target-def.h: Include common/common-targhooks.h. | |
3183 | (TARGET_HAVE_NAMED_SECTIONS): Define if TARGET_ASM_NAMED_SECTION | |
3184 | defined. | |
3185 | * common/common-target.def (handle_option, option_init_struct, | |
3186 | option_optimization_table, default_target_flags, | |
3187 | except_unwind_info, supports_split_stack, unwind_tables_default, | |
3188 | have_named_sections): Move from target.def. | |
3189 | (HOOK_PREFIX): Undefine at end of file. | |
3190 | * common/common-target.h: Include input.h. | |
3191 | (enum opt_levels, struct default_options): Move from target.h. | |
3192 | * common/common-targhooks.c, common/common-targhooks.h: New. | |
3193 | * config.gcc (target_has_targetm_common): Default to yes. | |
3194 | (moxie*): Set target_has_targetm_common=no. | |
3195 | (hppa*-*-*): Don't set target_has_targetm_common=yes. | |
3196 | * doc/tm.texi: Regenerate. | |
3197 | * Makefile.in (COMMON_TARGET_H): Add $(INPUT_H). | |
3198 | (C_TARGET_DEF_H): Add common/common-targhooks.h. | |
3199 | (GCC_OBJS): Remove vec.o. | |
3200 | (OBJS): Remove hooks.o and vec.o. | |
3201 | (OBJS-libcommon-target): Add vec.o, hooks.o and | |
3202 | common/common-targhooks.o. | |
3203 | (c-family/c-common.o, c-family/c-cppbuiltin.o, lto-opts.o, tree.o, | |
3204 | tree-tailcall.o, opts.o, toplev.o, varasm.o, function.o, except.o, | |
3205 | expr.o, explow.o, dbxout.o, dwarf2out.o, cfgrtl.o, haifa-sched.o, | |
3206 | cfglayout.o, $(out_object_file), $(common_out_object_file)): | |
3207 | Update dependencies. | |
3208 | (common/common-targhooks.o): New. | |
637c11bd | 3209 | * common/config/default-common.c: Include tm.h. Add FIXME comment. |
677f3fa8 JM |
3210 | * common/config/pa/pa-common.c: Include more headers. Take |
3211 | copyright dates from pa.c. | |
3212 | (pa_option_optimization_table, pa_handle_option, | |
3213 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_DEFAULT_TARGET_FLAGS, | |
3214 | TARGET_HANDLE_OPTION): Move from pa.c. | |
3215 | * common/config/alpha/alpha-common.c, | |
3216 | common/config/arm/arm-common.c, common/config/avr/avr-common.c, | |
3217 | common/config/bfin/bfin-common.c, | |
3218 | common/config/cris/cris-common.c, | |
3219 | common/config/fr30/fr30-common.c, common/config/frv/frv-common.c, | |
3220 | common/config/h8300/h8300-common.c, | |
3221 | common/config/i386/i386-common.c, | |
3222 | common/config/ia64/ia64-common.c, | |
3223 | common/config/iq2000/iq2000-common.c, | |
3224 | common/config/lm32/lm32-common.c, | |
3225 | common/config/m32c/m32c-common.c, | |
3226 | common/config/m32r/m32r-common.c, | |
3227 | common/config/m68k/m68k-common.c, | |
3228 | common/config/mcore/mcore-common.c, | |
3229 | common/config/mep/mep-common.c, | |
3230 | common/config/microblaze/microblaze-common.c, | |
3231 | common/config/mips/mips-common.c, | |
3232 | common/config/mmix/mmix-common.c, | |
3233 | common/config/mn10300/mn10300-common.c, | |
3234 | common/config/pdp11/pdp11-common.c, | |
3235 | common/config/picochip/picochip-common.c, | |
3236 | common/config/rs6000/rs6000-common.c, | |
3237 | common/config/rx/rx-common.c, common/config/s390/s390-common.c, | |
3238 | common/config/score/score-common.c, common/config/sh/sh-common.c, | |
3239 | common/config/sparc/sparc-common.c, | |
3240 | common/config/spu/spu-common.c, common/config/v850/v850-common.c, | |
3241 | common/config/vax/vax-common.c, | |
3242 | common/config/xstormy16/xstormy16-common.c, | |
3243 | common/config/xtensa/xtensa-common.c: New. | |
3244 | * config/alpha/alpha.c: Include common/common-target.h. | |
3245 | (alpha_option_optimization_table, alpha_handle_option, | |
3246 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
3247 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to alpha-common.c. | |
3248 | * config/arm/arm-protos.h (arm_except_unwind_info): Declare. | |
3249 | * config/arm/arm.c (arm_option_optimization_table, | |
3250 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3251 | TARGET_EXCEPT_UNWIND_INFO, arm_except_unwind_info): Move to | |
3252 | arm-common.c. | |
3253 | * config/avr/avr.c (avr_option_optimization_table, | |
3254 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INFO): Move | |
3255 | to avr-common.c. | |
3256 | * config/bfin/bfin.c (struct bfin_cpu): Move to bfin.h. | |
3257 | (bfin_cpus, bfin_handle_option, TARGET_HANDLE_OPTION, | |
3258 | TARGET_DEFAULT_TARGET_FLAGS): Move to bfin-common.c. | |
3259 | * config/bfin/bfin.h struct bfin_cpu): Move from bfin.c. | |
3260 | * config/cris/cris.c (cris_option_optimization_table, | |
3261 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
3262 | TARGET_OPTION_OPTIMIZATION_TABLE, cris_handle_option): Move to | |
3263 | cris-common.c. | |
3264 | * config/fr30/fr30.c (fr30_option_optimization_table, | |
3265 | TARGET_EXCEPT_UNWIND_INFO, TARGET_OPTION_OPTIMIZATION_TABLE): Move | |
3266 | to fr30-common.c. | |
3267 | * config/frv/frv.c (frv_option_optimization_table, | |
3268 | MASK_DEFAULT_ALLOC_CC, TARGET_DEFAULT_TARGET_FLAGS, | |
3269 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to frv-common.c. | |
3270 | * config/h8300/h8300.c (h8300_option_optimization_table, | |
3271 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3272 | TARGET_EXCEPT_UNWIND_INFO): Move to h8300-common.c. | |
3273 | * config/i386/i386-protos.h (ix86_handle_option): Declare. | |
3274 | * config/i386/i386.c: Include common/common-target.h. | |
3275 | (OPTION_MASK_ISA_MMX_SET, OPTION_MASK_ISA_3DNOW_SET, | |
3276 | OPTION_MASK_ISA_SSE_SET, OPTION_MASK_ISA_SSE2_SET, | |
3277 | OPTION_MASK_ISA_SSE3_SET, OPTION_MASK_ISA_SSSE3_SET, | |
3278 | OPTION_MASK_ISA_SSE4_1_SET, OPTION_MASK_ISA_SSE4_2_SET, | |
3279 | OPTION_MASK_ISA_AVX_SET, OPTION_MASK_ISA_FMA_SET, | |
3280 | OPTION_MASK_ISA_SSE4_SET, OPTION_MASK_ISA_SSE4A_SET, | |
3281 | OPTION_MASK_ISA_FMA4_SET, OPTION_MASK_ISA_XOP_SET, | |
3282 | OPTION_MASK_ISA_LWP_SET, OPTION_MASK_ISA_AES_SET, | |
3283 | OPTION_MASK_ISA_PCLMUL_SET, OPTION_MASK_ISA_ABM_SET, | |
3284 | OPTION_MASK_ISA_BMI_SET, OPTION_MASK_ISA_TBM_SET, | |
3285 | OPTION_MASK_ISA_POPCNT_SET, OPTION_MASK_ISA_CX16_SET, | |
3286 | OPTION_MASK_ISA_SAHF_SET, OPTION_MASK_ISA_MOVBE_SET, | |
3287 | OPTION_MASK_ISA_CRC32_SET, OPTION_MASK_ISA_FSGSBASE_SET, | |
3288 | OPTION_MASK_ISA_RDRND_SET, OPTION_MASK_ISA_F16C_SET, | |
3289 | OPTION_MASK_ISA_MMX_UNSET, OPTION_MASK_ISA_3DNOW_UNSET, | |
3290 | OPTION_MASK_ISA_3DNOW_A_UNSET, OPTION_MASK_ISA_SSE_UNSET, | |
3291 | OPTION_MASK_ISA_SSE2_UNSET, OPTION_MASK_ISA_SSE3_UNSET, | |
3292 | OPTION_MASK_ISA_SSSE3_UNSET, OPTION_MASK_ISA_SSE4_1_UNSET, | |
3293 | OPTION_MASK_ISA_SSE4_2_UNSET, OPTION_MASK_ISA_AVX_UNSET, | |
3294 | OPTION_MASK_ISA_FMA_UNSET, OPTION_MASK_ISA_SSE4_UNSET, | |
3295 | OPTION_MASK_ISA_SSE4A_UNSET, OPTION_MASK_ISA_FMA4_UNSET, | |
3296 | OPTION_MASK_ISA_XOP_UNSET, OPTION_MASK_ISA_LWP_UNSET, | |
3297 | OPTION_MASK_ISA_AES_UNSET, OPTION_MASK_ISA_PCLMUL_UNSET, | |
3298 | OPTION_MASK_ISA_ABM_UNSET, OPTION_MASK_ISA_BMI_UNSET, | |
3299 | OPTION_MASK_ISA_TBM_UNSET, OPTION_MASK_ISA_POPCNT_UNSET, | |
3300 | OPTION_MASK_ISA_CX16_UNSET, OPTION_MASK_ISA_SAHF_UNSET, | |
3301 | OPTION_MASK_ISA_MOVBE_UNSET, OPTION_MASK_ISA_CRC32_UNSET, | |
3302 | OPTION_MASK_ISA_FSGSBASE_UNSET, OPTION_MASK_ISA_RDRND_UNSET, | |
3303 | OPTION_MASK_ISA_F16C_UNSET, ix86_handle_option, | |
3304 | ix86_option_optimization_table, ix86_option_init_struct, | |
3305 | ix86_supports_split_stack, TARGET_DEFAULT_TARGET_FLAGS, | |
3306 | TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3307 | TARGET_OPTION_INIT_STRUCT, TARGET_SUPPORTS_SPLIT_STACK): Move to | |
3308 | i386-common.c. | |
3309 | * config/i386/t-i386 (i386.o): Update dependencies. | |
3310 | * config/ia64/ia64-protos.h (ia64_except_unwind_info): Declare. | |
3311 | * config/ia64/ia64.c (ia64_option_optimization_table, | |
3312 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INFO, | |
3313 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
3314 | ia64_handle_option): Move to ia64-common.c. | |
3315 | * config/iq2000/iq2000.c (iq2000_option_optimization_table, | |
3316 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to iq2000-common.c. | |
3317 | * config/lm32/lm32.c (lm32_option_optimization_table, | |
3318 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INFO): Move | |
3319 | to lm32-common.c. | |
3320 | * config/m32c/m32c.c (TARGET_HAVE_NAMED_SECTIONS): Move to | |
3321 | m32c-common.c. | |
3322 | * config/m32r/m32r.c (m32r_option_optimization_table, | |
3323 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
3324 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INFO, | |
3325 | m32r_handle_option): Move to m32r-common.c. | |
3326 | (m32r_memory_move_cost): Remove comment referring to | |
3327 | TARGET_HANDLE_OPTION. | |
3328 | * config/m68k/m68k.c (TARGET_HANDLE_OPTION, m68k_handle_option): | |
3329 | Move to m68k-common.c. | |
3330 | * config/mcore/mcore.c (mcore_option_optimization_table, | |
3331 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3332 | TARGET_EXCEPT_UNWIND_INFO): Move to mcore-common.c. | |
3333 | * config/mep/mep.c (mep_option_optimization_table, | |
3334 | mep_handle_option, TARGET_HANDLE_OPTION, | |
3335 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_DEFAULT_TARGET_FLAGS): | |
3336 | Move to mep-common.c. | |
3337 | * config/microblaze/microblaze.c | |
3338 | (microblaze_option_optimization_table, | |
3339 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3340 | TARGET_EXCEPT_UNWIND_INFO): Move to microblaze-common.c. | |
3341 | * config/mips/mips.c (mips_handle_option, | |
3342 | mips_option_optimization_table, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3343 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Move to | |
3344 | mips-common.c. | |
3345 | * config/mmix/mmix.c (mmix_option_optimization_table, | |
3346 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE): | |
3347 | Move to mmix-common.c. | |
3348 | * config/mn10300/mn10300.c (mn10300_option_optimization_table, | |
3349 | mn10300_handle_option, TARGET_EXCEPT_UNWIND_INFO, | |
3350 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
3351 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to mn10300-common.c. | |
3352 | * config/pa/pa.c: Include common/common-target.h. | |
3353 | (pa_option_optimization_table, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3354 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
3355 | pa_handle_option): Move to pa-common.c. | |
3356 | (pa_option_override): Use targetm_common.except_unwind_info. | |
3357 | (pa_asm_output_mi_thunk, pa_function_section): Use | |
3358 | targetm_common.have_named_sections. | |
3359 | * config/pdp11/pdp11.c (pdp11_option_optimization_table, | |
3360 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
3361 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_OPTION_INIT_STRUCT, | |
3362 | pdp11_handle_option, pdp11_option_init_struct): Move to | |
3363 | pdp11-common.c. | |
3364 | * config/picochip/picochip.c (picochip_option_optimization_table, | |
3365 | TARGET_HAVE_NAMED_SECTIONS, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3366 | TARGET_EXCEPT_UNWIND_INFO): Move to picochip-common.c. | |
3367 | * config/rs6000/rs6000.c: Include common/common-target.h. | |
3368 | (rs6000_option_optimization_table, TARGET_HANDLE_OPTION, | |
3369 | TARGET_OPTION_INIT_STRUCT, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3370 | TARGET_DEFAULT_TARGET_FLAGS, rs6000_option_init_struct, | |
3371 | rs6000_handle_option): Move to rs6000-common.c. | |
3372 | * config/rs6000/t-rs6000 (rs6000.o): Update dependencies. | |
3373 | * config/rx/rx.c (rx_handle_option, rx_option_optimization_table, | |
3374 | TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3375 | TARGET_EXCEPT_UNWIND_INFO): Move to rx-common.c. | |
3376 | * config/s390/s390.c (processor_flags_table, | |
3377 | s390_option_optimization_table, s390_option_init_struct, | |
3378 | s390_handle_option, TARGET_DEFAULT_TARGET_FLAGS, | |
3379 | TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE, | |
3380 | TARGET_OPTION_INIT_STRUCT): Move to s390-common.c. | |
3381 | * config/s390/s390.h (processor_flags_table): Declare. | |
3382 | * config/score/score.c (score_option_optimization_table, | |
3383 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
3384 | TARGET_OPTION_OPTIMIZATION_TABLE, MASK_ALL_CPU_BITS, | |
3385 | score_handle_option): Move to score-common.c. | |
3386 | * config/sh/sh.c (sh_option_optimization_table, | |
3387 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_OPTION_INIT_STRUCT, | |
3388 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
3389 | sh_handle_option, sh_option_init_struct): Move to sh-common.c. | |
3390 | * config/sparc/sparc.c: Include common/common-target.h. | |
3391 | (sparc_option_optimization_table, TARGET_DEFAULT_TARGET_FLAGS, | |
3392 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to sparc-common.c. | |
3393 | * config/spu/spu.c (TARGET_DEFAULT_TARGET_FLAGS, | |
3394 | TARGET_OPTION_INIT_STRUCT, TARGET_EXCEPT_UNWIND_INFO, | |
3395 | spu_option_init_struct): Move to spu-common.c. | |
3396 | * config/stormy16/stormy16.c (xstorym16_option_optimization_table, | |
3397 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to xstormy16-common.c. | |
3398 | * config/v850/v850.c (small_memory_physical_max, | |
3399 | v850_handle_memory_optionn v850_handle_option, | |
3400 | v850_option_optimization_table, TARGET_DEFAULT_TARGET_FLAGS, | |
3401 | TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE): Move to | |
3402 | v850-common.c. | |
637c11bd | 3403 | * config/vax/vax.c (TARGET_DEFAULT_TARGET_FLAGS): Move to vax-common.c. |
677f3fa8 JM |
3404 | * config/xtensa/xtensa.c (xtensa_option_optimization_table, |
3405 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE): | |
3406 | Move to xtensa-common.c. | |
3407 | * cfglayout.c: Include common/common-target.h. | |
3408 | (fixup_reorder_chain): Use targetm_common.have_named_sections. | |
3409 | * cfgrtl.c: Include common/common-target.h. | |
3410 | (force_nonfallthru_and_redirect, commit_one_edge_insertion): Use | |
3411 | targetm_common.have_named_sections. | |
3412 | * dbxout.c: Include common/common-target.h. | |
3413 | (dbxout_function_end): Use targetm_common.have_named_sections. | |
3414 | * defaults.h (STACK_OLD_CHECK_PROTECT, STACK_CHECK_PROTECT): Use | |
3415 | targetm_common.except_unwind_info. | |
3416 | * dwarf2out.c: Include common/common-target.h. | |
3417 | (dwarf2out_do_frame, dwarf2out_do_cfi_asm, | |
3418 | dwarf2out_begin_prologue, dwarf2out_frame_init, | |
3419 | dwarf2out_frame_finish, dwarf2out_assembly_start): Use | |
3420 | targetm_common.except_unwind_info. | |
3421 | * except.c: Include common/common-target.h. | |
3422 | (init_eh, finish_eh_generation, | |
3423 | output_one_function_exception_table): Use | |
3424 | targetm_common.except_unwind_info. | |
637c11bd | 3425 | (switch_to_exception_section): Use targetm_common.have_named_sections. |
677f3fa8 JM |
3426 | * explow.c: Include common/common-target.h. |
3427 | * expr.c: Include common/common-target.h. | |
637c11bd | 3428 | (build_personality_function): Use targetm_common.except_unwind_info. |
677f3fa8 JM |
3429 | * function.c: Include common/common-target.h. |
3430 | (expand_function_end): Use targetm_common.except_unwind_info. | |
3431 | * haifa-sched.c: Include common/common-target.h. | |
637c11bd | 3432 | (sched_create_recovery_edges): Use targetm_common.have_named_sections. |
677f3fa8 JM |
3433 | * lto-opts.c: Include common/common-target.h instead of target.h. |
3434 | (lto_reissue_options): Use targetm_common.handle_option. | |
3435 | * opts.c: Include common/common-target.h. | |
3436 | (target_handle_option): Use targetm_common.handle_option. | |
3437 | (init_options_struct): Update comment referring to | |
3438 | targetm.target_option.optimization. Use | |
3439 | targetm_common.default_target_flags, | |
3440 | targetm_common.unwind_tables_default and | |
3441 | targetm_common.option_init_struct. | |
3442 | (default_options_optimization): Use | |
3443 | targetm_common.option_optimization_table. | |
3444 | (finish_options): Use targetm_common.except_unwind_info, | |
3445 | targetm_common.unwind_tables_default, | |
3446 | targetm_common.have_named_sections and | |
3447 | targetm_common.supports_split_stack. | |
3448 | * toplev.c: Include common/common-target.h. | |
3449 | (process_options): Use targetm_common.have_named_sections. | |
3450 | * tree-tailcall.c: Include common/common-target.h. | |
637c11bd | 3451 | (suitable_for_tail_call_opt_p): Use targetm_common.except_unwind_info. |
677f3fa8 | 3452 | * tree.c: Include common/common-target.h. |
637c11bd | 3453 | (build_common_builtin_nodes): Use targetm_common.except_unwind_info. |
677f3fa8 JM |
3454 | * varasm.c: Include common/common-target.h. |
3455 | (resolve_unique_section, hot_function_section, | |
3456 | default_function_section): Use targetm_common.have_named_sections. | |
3457 | ||
d26c7090 ER |
3458 | 2011-06-14 Easwaran Raman <eraman@google.com> |
3459 | ||
3460 | PR rtl-optimization/44194 | |
3461 | * dse.c: Include tree-flow.h | |
3462 | (insn_info): Add new field non_frame_wild_read. | |
3463 | (group_info): Add new fields escaped_n and escaped_p. | |
3464 | (kill_on_calls): New variable. | |
3465 | (get_group_info): Initialize gi->escaped_n and gi->escaped_p. | |
3466 | (dse_step0): Initialize kill_on_calls. | |
3467 | (can_escape): New function. | |
3468 | (set_usage_bits): Add additional parameter; record information | |
3469 | about escaped locations. | |
637c11bd | 3470 | (record_store): Pass EXPR corresponding to MEM to set_usage_bits. |
d26c7090 ER |
3471 | (dse_step2_nospill): Set kill_on_calls based on |
3472 | group->escaped_n and group->escaped_n. | |
3473 | (add_wild_read): Refactor into... | |
3474 | (reset_active_stores): ... New function, and | |
3475 | (free_read_records): ... New function. | |
3476 | (add_non_frame_wild_read): New function. | |
3477 | (scan_insn): Call add_non_frame_wild_read on non-const calls. | |
637c11bd | 3478 | (scan_reads_nospill): Handle instructions with non_frame_wild_read. |
d26c7090 ER |
3479 | (dse_step5_nospill): Call scan_reads_nospill for instructions |
3480 | marked as non_frame_wild_read. | |
637c11bd | 3481 | (dse_step7): Free escaped_n, escaped_p and kill_on_calls bitmaps. |
d26c7090 | 3482 | |
c49a6962 JM |
3483 | 2011-06-14 Joseph Myers <joseph@codesourcery.com> |
3484 | ||
3485 | * common/common-target-def.h, common/common-target.def, | |
3486 | common/common-target.h, common/config/default-common.c, | |
3487 | common/config/pa/pa-common.c: New files. | |
3488 | * Makefile.in (common_out_file, common_out_object_file, | |
3489 | COMMON_TARGET_H, COMMON_TARGET_DEF_H): New. | |
3490 | (OBJS-libcommon-target): Include $(common_out_object_file). | |
3491 | (prefix.o): Update dependencies. | |
3492 | ($(common_out_object_file), common/common-target-hooks-def.h, | |
3493 | s-common-target-hooks-def-h): New. | |
3494 | (s-tm-texi): Also check timestamp on common-target.def. | |
3495 | (build/genhooks.o): Update dependencies. | |
3496 | * config.gcc (common_out_file, target_has_targetm_common): Define. | |
3497 | * config/pa/som.h (ALWAYS_STRIP_DOTDOT): Replace with | |
3498 | TARGET_ALWAYS_STRIP_DOTDOT. | |
3499 | * configure.ac (common_out_object_file): Define. | |
3500 | (common_out_file, common_out_object_file): Substitute. | |
3501 | (common): Create directory. | |
3502 | * configure: Regenerate. | |
3503 | * doc/tm.texi.in (targetm_common): Document. | |
3504 | (TARGET_ALWAYS_STRIP_DOTDOT): Add @hook entry. | |
3505 | * doc/tm.texi: Regenerate. | |
3506 | * genhooks.c (hook_array): Also include common/common-target.def. | |
3507 | * prefix.c (tm.h): Don't include. | |
3508 | (common/common-target.h): Include. | |
3509 | (ALWAYS_STRIP_DOTDOT): Don't define. | |
3510 | (update_path): Use targetm_common.always_strip_dotdot instead of | |
3511 | ALWAYS_STRIP_DOTDOT. | |
3512 | * system.h (ALWAYS_STRIP_DOTDOT): Poison. | |
3513 | ||
22c5fa5f DL |
3514 | 2011-06-14 David Li <davidxl@google.com> |
3515 | ||
3516 | * passes.c (execute_function_todo): Remove TODO_dump_func. | |
3517 | (execute_one_pass): Remove TODO_dump_func. | |
3518 | (execute_function_dump): New function. | |
3519 | * tree-vrp.c: Remove TODO_dump_func. | |
3520 | * regrename.c: Remove TODO_dump_func. | |
3521 | * fwprop.c: Remove TODO_dump_func. | |
3522 | * tree-into-ssa.c: Remove TODO_dump_func. | |
3523 | * tree-complex.c: Remove TODO_dump_func. | |
3524 | * tracer.c: Remove TODO_dump_func. | |
3525 | * tree-loop-distribution.c: Remove TODO_dump_func. | |
3526 | * postreload-gcse.c: Remove TODO_dump_func. | |
3527 | * postreload.c: Remove TODO_dump_func. | |
3528 | * tree-ssa-loop-ch.c: Remove TODO_dump_func. | |
3529 | * tree-tailcall.c: Remove TODO_dump_func. | |
3530 | * ipa-cp.c: Remove TODO_dump_func. | |
3531 | * final.c: Remove TODO_dump_func. | |
3532 | * tree-emutls.c: Remove TODO_dump_func. | |
3533 | * omp-low.c: Remove TODO_dump_func. | |
3534 | * tree-ssa-dse.c: Remove TODO_dump_func. | |
3535 | * tree-ssa-uncprop.c: Remove TODO_dump_func. | |
3536 | * auto-inc-dec.c: Remove TODO_dump_func. | |
3537 | * reorg.c: Remove TODO_dump_func. | |
3538 | * tree-ssa-copyrename.c: Remove TODO_dump_func. | |
3539 | * tree-ssa-ccp.c: Remove TODO_dump_func. | |
3540 | * compare-elim.c: Remove TODO_dump_func. | |
3541 | * mode-switching.c: Remove TODO_dump_func. | |
3542 | * modulo-sched.c: Remove TODO_dump_func. | |
3543 | * tree-call-cdce.c: Remove TODO_dump_func. | |
3544 | * cse.c: Remove TODO_dump_func. | |
3545 | * web.c: Remove TODO_dump_func. | |
3546 | * tree-stdarg.c: Remove TODO_dump_func. | |
3547 | * lto-streamer-out.c: Remove TODO_dump_func. | |
3548 | * tree-ssa-math-opts.c: Remove TODO_dump_func. | |
3549 | * tree-ssa-dom.c: Remove TODO_dump_func. | |
3550 | * tree-nrv.c: Remove TODO_dump_func. | |
3551 | * loop-init.c: Remove TODO_dump_func. | |
3552 | * gimple-low.c: Remove TODO_dump_func. | |
3553 | * ipa-inline.c: Remove TODO_dump_func. | |
3554 | * tree-ssa-sink.c: Remove TODO_dump_func. | |
3555 | * jump.c: Remove TODO_dump_func. | |
3556 | * ifcvt.c: Remove TODO_dump_func. | |
3557 | * tree-ssa-loop.c: Remove TODO_dump_func. | |
3558 | * recog.c: Remove TODO_dump_func. | |
3559 | * dse.c: Remove TODO_dump_func. | |
3560 | * tree-ssa-ifcombine.c: Remove TODO_dump_func. | |
3561 | * matrix-reorg.c: Remove TODO_dump_func. | |
3562 | * tree-eh.c: Remove TODO_dump_func. | |
3563 | * regmove.c: Remove TODO_dump_func. | |
3564 | * function.c: Remove TODO_dump_func. | |
3565 | * tree-vectorizer.c: Remove TODO_dump_func. | |
3566 | * ipa-split.c: Remove TODO_dump_func. | |
3567 | * gcse.c: Remove TODO_dump_func. | |
3568 | * tree-if-conv.c: Remove TODO_dump_func. | |
3569 | * init-regs.c: Remove TODO_dump_func. | |
3570 | * tree-ssa-phiopt.c: Remove TODO_dump_func. | |
3571 | * implicit-zee.c: Remove TODO_dump_func. | |
3572 | * lower-subreg.c: Remove TODO_dump_func. | |
3573 | * bt-load.c: Remove TODO_dump_func. | |
3574 | * tree-dfa.c: Remove TODO_dump_func. | |
3575 | * except.c: Remove TODO_dump_func. | |
3576 | * emit-rtl.c: Remove TODO_dump_func. | |
3577 | * store-motion.c: Remove TODO_dump_func. | |
3578 | * cfgexpand.c: Remove TODO_dump_func. | |
3579 | * tree-cfgcleanup.c: Remove TODO_dump_func. | |
3580 | * cfgcleanup.c: Remove TODO_dump_func. | |
3581 | * tree-ssa-pre.c: Remove TODO_dump_func. | |
3582 | * tree-sra.c: Remove TODO_dump_func. | |
3583 | * tree-mudflap.c: Remove TODO_dump_func. | |
3584 | * tree-ssa-copy.c: Remove TODO_dump_func. | |
3585 | * cfglayout.c: Remove TODO_dump_func. | |
3586 | * tree-ssa-forwprop.c: Remove TODO_dump_func. | |
3587 | * tree-ssa-dce.c: Remove TODO_dump_func. | |
3588 | * ira.c: Remove TODO_dump_func. | |
3589 | * tree-ssa.c: Remove TODO_dump_func. | |
3590 | * integrate.c: Remove TODO_dump_func. | |
3591 | * tree-optimize.c: Remove TODO_dump_func. | |
3592 | * tree-ssa-phiprop.c: Remove TODO_dump_func. | |
3593 | * tree-object-size.c: Remove TODO_dump_func. | |
3594 | * combine.c: Remove TODO_dump_func. | |
3595 | * bb-reorder.c: Remove TODO_dump_func. | |
3596 | * cprop.c: Remove TODO_dump_func. | |
3597 | * var-tracking.c: Remove TODO_dump_func. | |
3598 | * tree-profile.c: Remove TODO_dump_func. | |
3599 | * tree-vect-generic.c: Remove TODO_dump_func. | |
3600 | * reg-stack.c: Remove TODO_dump_func. | |
3601 | * sched-rgn.c: Remove TODO_dump_func. | |
3602 | * tree-ssa-structalias.c: Remove TODO_dump_func. | |
3603 | * tree-switch-conversion.c: Remove TODO_dump_func. | |
3604 | * tree-cfg.c: Remove TODO_dump_func. | |
3605 | * tree-ssa-reassoc.c: Remove TODO_dump_func. | |
3606 | * combine-stack-adj.c: Remove TODO_dump_func. | |
3607 | * dce.c: Remove TODO_dump_func. | |
3608 | * tree-ssanames.c: Remove TODO_dump_func. | |
3609 | * regcprop.c: Remove TODO_dump_func. | |
3610 | ||
fa465762 L |
3611 | 2011-06-14 H.J. Lu <hongjiu.lu@intel.com> |
3612 | ||
3613 | PR middle-end/47364 | |
3614 | * builtins.c (expand_builtin_strlen): Expand strlen to Pmode | |
3615 | and properly handle result not in Pmode. | |
3616 | ||
7d8d16c3 RM |
3617 | 2011-06-14 Robert Millan <rmh@gnu.org> |
3618 | ||
3619 | * config/i386/kfreebsd-gnu.h: Resync with `config/i386/linux.h'. | |
3620 | * config/kfreebsd-gnu.h (GNU_USER_DYNAMIC_LINKER): Resync with | |
3621 | `config/linux.h'. | |
3622 | ||
3623 | * config/i386/kfreebsd-gnu64.h: New file. | |
3624 | * config.gcc (x86_64-*-kfreebsd*-gnu): Replace `i386/kfreebsd-gnu.h' | |
3625 | with `i386/kfreebsd-gnu64.h'. | |
3626 | ||
3627 | * config/i386/linux64.h (GNU_USER_LINK_EMULATION32) | |
3628 | (GNU_USER_LINK_EMULATION64): New macros. | |
3629 | * config/i386/gnu-user64.h (LINK_SPEC): Rely on | |
3630 | `GNU_USER_LINK_EMULATION32' and `GNU_USER_LINK_EMULATION64' instead | |
3631 | of hardcoding `elf_i386' and `elf_x86_64'. | |
3632 | ||
0ccef3d2 NC |
3633 | 2011-06-14 Nick Clifton <nickc@redhat.com> |
3634 | ||
3635 | PR target/49403 | |
3636 | * config/v850/v850.c (v850_memory_move_cost): Add reg_class_t parameter. | |
3637 | ||
3638 | PR target/49402 | |
3639 | * config.gcc(v850*-*-*): Avoid duplication of v850.opt. | |
3640 | ||
8a76c4a0 JJ |
3641 | 2011-06-14 Jakub Jelinek <jakub@redhat.com> |
3642 | ||
1ace6185 JJ |
3643 | PR fortran/49103 |
3644 | * tree.h (DECL_NONSHAREABLE): Define. | |
3645 | (struct tree_decl_common): Change decl_common_unused to | |
3646 | decl_nonshareable_flag. | |
3647 | * cfgexpand.c (expand_used_vars_for_block, clear_tree_used): | |
3648 | Ignore vars with DECL_NONSHAREABLE bit set. | |
3649 | * tree-cfg.c (gimple_duplicate_bb): Set DECL_NONSHAREABLE | |
3650 | on stores to automatic aggregate vars. | |
3651 | ||
8a76c4a0 JJ |
3652 | PR rtl-optimization/49390 |
3653 | Revert: | |
3654 | 2010-06-29 Bernd Schmidt <bernds@codesourcery.com> | |
3655 | ||
3656 | * cse.c (exp_equiv_p): For MEMs, if for_gcse, only compare | |
3657 | MEM_ALIAS_SET. | |
3658 | ||
b4a9343c ZD |
3659 | 2011-06-14 Zdenek Dvorak <ook@ucw.cz> |
3660 | Tom de Vries <tom@codesourcery.com> | |
3661 | ||
3662 | PR target/45098 | |
3663 | * cfgloop.h (nb_iterations_upper_bound, nb_iterations_estimate): | |
3664 | Document changed semantics. | |
3665 | (max_stmt_executions, max_stmt_executions_int): Declare. | |
3666 | * tree-data-ref.c (estimated_loop_iterations) | |
3667 | (estimated_loop_iterations_int): Move functions... | |
3668 | * tree-ssa-loop-niter.c (estimated_loop_iterations) | |
3669 | (estimated_loop_iterations_int): here. | |
3670 | (record_estimate): Change nb_iterations_upper_bound and | |
3671 | nb_iterations_estimate semantics. | |
3672 | (max_stmt_executions, max_stmt_executions_int): New function. | |
3673 | * tree-data-ref.c (estimated_loop_iterations_tree): Rename to ... | |
3674 | (max_stmt_executions_tree): this. | |
3675 | (analyze_miv_subscript): Use max_stmt_executions_tree instead of | |
3676 | estimated_loop_iterations_tree. | |
3677 | tree-ssa-loop-ivopts.c (avg_loop_niter): Use | |
3678 | max_stmt_executions_int instead of estimated_loop_iterations_int. | |
3679 | * predict.c (predict_loops): Idem. | |
3680 | * tree-parloops.c (parallelize_loops): Idem. | |
3681 | * tree-data-ref.c (analyze_siv_subscript_cst_affine) | |
3682 | (compute_overlap_steps_for_affine_1_2, analyze_subscript_affine_affine) | |
3683 | (init_omega_for_ddr_1): Idem. | |
3684 | * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse) | |
3685 | (loop_prefetch_arrays): Idem | |
3686 | * graphite-sese-to-poly.c (build_loop_iteration_domains): Use | |
3687 | max_stmt_executions instead of estimated_loop_iterations. | |
3688 | * tree-data-ref.c (estimated_loop_iterations_tree): Idem. | |
3689 | * tree-vrp.c (adjust_range_with_scev): Use estimated_loop_iterations | |
3690 | instead of nb_iterations_upper_bound. | |
3691 | ||
d2640c43 JH |
3692 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
3693 | ||
3694 | * ipa.c (cgraph_address_taken_from_non_vtable_p): Check the ref type. | |
3695 | ||
40873cdd RH |
3696 | 2011-06-14 Richard Henderson <rth@redhat.com> |
3697 | ||
3698 | PR debug/48459 | |
3699 | * dwarf2out.c (frame_pointer_fb_offset_valid): New. | |
3700 | (based_loc_descr): Assert it's true. | |
3701 | (compute_frame_pointer_to_fb_displacement): Set it, rather than | |
3702 | aborting immediately. | |
3703 | ||
73e8cb24 SL |
3704 | 2011-06-14 Sanjin Liu <scliu@faraday-tech.com> |
3705 | Mingfeng Wu <mingfeng@faraday-tech.com> | |
3706 | ||
3707 | * doc/invoke.texi: Re-add missing -mcpu docs for Faraday cores. | |
3708 | ||
f835f0a7 JH |
3709 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
3710 | ||
3711 | * ipa-cp.c (ipcp_iterate_stage): Revert accidental commit. | |
3712 | ||
ee6f1177 JH |
3713 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
3714 | ||
3715 | * cgraph.c (cgraph_make_decl_local): Handle DECL_ONE_ONLY | |
3716 | similarly to DECL_COMDAT. | |
3717 | * cgraphunit.c (cgraph_analyze_function): Likewise. | |
3718 | * ipa.c (function_and_variable_visibility): Likewise. | |
3719 | ||
618abf9a JH |
3720 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
3721 | ||
3722 | * lto-streamer-out.c (lto_output_ts_binfo_tree_pointers): Do not output | |
3723 | BINFO_VIRTUALS when streaming for ltrans unit. | |
3724 | ||
a45fe02f DE |
3725 | 2011-06-13 David Edelsohn <dje.gcc@gmail.com> |
3726 | ||
3727 | * config/rs6000/rs6000.md (movdi_mfpgpr): Remove POWER mnemonic. | |
3728 | (movdi_internal64): Same. | |
3729 | ||
3730 | 2011-06-13 Edmar Wienskoski <edmar@freescale.com> | |
3731 | ||
e641e495 | 3732 | PR target/44618 |
7d8d16c3 RM |
3733 | * config/rs6000/rs6000.md (save_gpregs_<mode>): Replaced pattern with |
3734 | a set of similar patterns, where the MATCH_OPERAND for the function | |
3735 | argument is replaced with individual references to hardware registers. | |
a45fe02f DE |
3736 | (save_fpregs_<mode>): Ditto |
3737 | (restore_gpregs_<mode>): Ditto | |
3738 | (return_and_restore_gpregs_<mode>): Ditto | |
3739 | (return_and_restore_fpregs_<mode>): Ditto | |
3740 | (return_and_restore_fpregs_aix_<mode>): Ditto | |
3741 | ||
8775a18b JH |
3742 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
3743 | ||
3744 | * ipa-utils.c (postorder_stack): New structure. | |
3745 | (ipa_reverse_postorder): Handle aliases. | |
3746 | ||
3747 | 2011-06-13 Jan Hubicka <jh@suse.cz> | |
3748 | ||
3749 | * ipa-inline.c (reset_edge_caches): Walk aliases. | |
3750 | (update_caller_keys): Do not test inlinability of aliases. | |
3751 | * ipa-inline-analysis.c (do_estimate_edge_time): Look through alias. | |
3752 | (do_estimate_growth): Fix typo. | |
3753 | ||
6c69a029 JH |
3754 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
3755 | ||
3756 | * ipa-inline-transform.c (+can_remove_node_now_p_1): Break out from... | |
3757 | (can_remove_node_now_p): ... here; handle same comdat groups. | |
3758 | (clone_inlined_nodes): Update use of can_remove_node_now_p add TODO. | |
3759 | (inline_call): Update use of can_remove_node_now_p. | |
3760 | ||
10c63ba4 | 3761 | 2011-06-13 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
495f8c14 | 3762 | |
10c63ba4 | 3763 | * config/h8300/h8300.md (bsetqi_msx, bclrqi_msx, bnotqi_msx): Added |
495f8c14 KP |
3764 | condition to disallow non-identical memory locations. |
3765 | (*andqi3_2, andqi3_1, iorqi3_1, xorqi3_1): Reorder insn to give | |
3766 | preference to bit manipulation instructions. | |
495f8c14 | 3767 | |
9aa3f5c5 JH |
3768 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
3769 | ||
3770 | * cgraph.c (cgraph_for_node_thunks_and_aliases, | |
3771 | cgraph_for_node_and_aliases): Fix thinko in recursive walking. | |
3772 | (nonremovable_p): New function. | |
3773 | (cgraph_can_remove_if_no_direct_calls_p): New function. | |
3774 | (used_from_object_file_p): New functoin. | |
10c63ba4 EB |
3775 | (cgraph_will_be_removed_from_program_if_no_direct_calls): Look for |
3776 | references from aliases. | |
9aa3f5c5 JH |
3777 | * cgraph.h (cgraph_can_remove_if_no_direct_calls_p): Bring offline. |
3778 | * ipa-inline.c (check_caller_edge): New function. | |
10c63ba4 EB |
3779 | (want_inline_function_called_once_p): Use it; accept aliases called |
3780 | once, too. | |
9aa3f5c5 JH |
3781 | * ipa-inline-analysis.c (do_estimate_growth): Remove FIXME. |
3782 | ||
30cecf17 RR |
3783 | 2011-06-13 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
3784 | ||
3785 | PR target/48454 | |
3786 | * config/arm/neon.md (vec_pack_trunc): Set the lengths | |
3787 | correctly for the case with Quad vectors. | |
3788 | ||
29f85237 JJ |
3789 | 2011-06-13 Jakub Jelinek <jakub@redhat.com> |
3790 | Ira Rosen <ira.rosen@linaro.org> | |
3791 | ||
3792 | PR tree-optimization/49352 | |
3793 | * tree-vect-loop.c (vect_is_slp_reduction): Don't count debug uses at | |
3794 | all, make sure loop_use_stmt after the loop is a def stmt of a used | |
3795 | SSA_NAME that is the only one defined inside of the loop. Don't | |
3796 | check for COND_EXPR and GIMPLE_BINARY_RHS. | |
3797 | (vect_is_simple_reduction_1): Call vect_is_slp_reduction only if | |
3798 | check_reduction is true. | |
3799 | ||
c3e3f090 JH |
3800 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
3801 | ||
3802 | PR middle-end/49373 | |
3803 | * ipa.c (cgraph_externally_visible_p): Check resolution info. | |
3804 | ||
516e0768 JH |
3805 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
3806 | ||
3807 | PR middle-end/48836 | |
3808 | * ipa-inline-transform.c: Include tree-pass.h | |
3809 | (inline_transform): Set TODO_update_ssa_only_virtuals. | |
3810 | * Makefile.in (ipa-inline-transform.o): Add tree-pass.h. | |
3811 | ||
903b0a8b JH |
3812 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
3813 | ||
3814 | PR middle-end/49378 | |
3815 | * ipa.c (cgraph_non_local_node_p_1, cgraph_local_node_p): Rule out | |
3816 | aliases and thunks. | |
3817 | ||
44542f8e IR |
3818 | 2011-06-12 Ira Rosen <ira.rosen@linaro.org> |
3819 | ||
3820 | * tree-vect-data-refs.c (vect_peeling_hash_get_most_frequent): | |
3821 | Take number of iterations to peel into account for equally frequent | |
3822 | misalignment values. | |
3823 | ||
ea89702b JH |
3824 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
3825 | ||
637c11bd UB |
3826 | * lto-streamer-out.c (produce_symtab): Stream out the newly |
3827 | represented aliases. | |
ea89702b | 3828 | |
380ed5ed JH |
3829 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
3830 | ||
637c11bd UB |
3831 | * ipa-prop.c (ipa_make_edge_direct_to_target): Fix code setting |
3832 | varying args. | |
380ed5ed JH |
3833 | (ipa_update_after_lto_read): Likewise. |
3834 | (ipa_write_node_info): Do not sream call_with_var_arguments. | |
3835 | (ipa_read_node_info): Likewise. | |
3836 | ||
00cfc363 JH |
3837 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
3838 | ||
3839 | * ipa.c (cgraph_comdat_can_be_unshared_p): Fix pasto. | |
3840 | ||
39e2db00 JH |
3841 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
3842 | ||
3843 | * lto-symtab.c (lto_cgraph_replace_node): Kill same body alias code. | |
3844 | (lto_symtab_resolve_can_prevail_p): Likewise. | |
3845 | (lto_symtab_merge_cgraph_nodes): Update merging of aliases. | |
3846 | * cgraph.c (same_body_aliases_done): New global var. | |
3847 | (cgraph_same_body_alias_1): Rename to ... | |
3848 | (cgraph_create_function_alias): ... this one; reorg to new | |
3849 | representation. | |
3850 | (cgraph_same_body_alias): Use cgraph_create_function_alias; | |
3851 | record references when asked to. | |
3852 | (cgraph_add_thunk): Fix formating. | |
3853 | (cgraph_get_node): Kill same body alias code. | |
3854 | (cgraph_node_for_asm): Likewise. | |
3855 | (cgraph_remove_same_body_alias): Remove. | |
3856 | (cgraph_remove_node): Kill same body alias code. | |
3857 | (cgraph_mark_address_taken_node): Mark also the aliased function | |
3858 | as having address taken. | |
3859 | (dump_cgraph_node): Dump same body aliases. | |
3860 | (cgraph_for_node_thunks_and_aliases): Update for new alias | |
3861 | representation. | |
3862 | (cgraph_for_node_and_aliases): Likewise. | |
3863 | * cgraph.h (same_body): Kll pointer. | |
3864 | (same_body_alias): Update comment. | |
3865 | (same_body_aliases_done): Declare. | |
3866 | (cgraph_remove_same_body_alias): Remove declaration. | |
3867 | (cgraph_create_function_alias): Declare. | |
3868 | (cgraph_process_same_body_aliases): Declare. | |
3869 | (cgraph_function_with_gimple_body_p): Check for alias. | |
3870 | (cgraph_can_remove_if_no_direct_calls_p): Look for aliases. | |
3871 | (cgraph_alias_aliased_node): New function. | |
3872 | (cgraph_function_node): Update for new aliases. | |
3873 | (cgraph_function_or_thunk_node): Likewise. | |
3874 | * ipa-inline-transform.c (can_remove_node_now_p): Look for aliases. | |
3875 | (inline_call): Remove dead aliases. | |
10c63ba4 EB |
3876 | * cgraphunit.c (cgraph_decide_is_function_needed): Disable assembler |
3877 | name hack for same body aliases. | |
39e2db00 JH |
3878 | (clone_of_p): Look through aliases. |
3879 | (verify_cgraph_node): Verify aliases. | |
3880 | (cgraph_analyze_function): Analyze aliases; fixup C++ bugs. | |
3881 | (cgraph_process_same_body_aliases): New function. | |
3882 | (process_function_and_variable_attributes): Disable weakref warning on | |
3883 | alias. | |
3884 | (cgraph_analyze_functions): Handle aliases. | |
3885 | (cgraph_mark_functions_to_output): Handle aliases same way as thunks. | |
3886 | (assemble_thunks): Rename to ... | |
3887 | (assemble_thunks_and_aliases): ... this one; handle aliases, too. | |
3888 | (cgraph_expand_function): Remove alias output code. | |
3889 | (cgraph_output_in_order): Skip aliases. | |
3890 | (cgraph_preserve_function_body_p): Aliases don't need preserving. | |
3891 | * ipa-ref.c (ipa_ref_use_name): Add alias reference. | |
3892 | (ipa_record_reference): Do not assert on alias references. | |
3893 | (ipa_ref_has_aliases_p): New function. | |
3894 | * ipa-ref.h (enum ipa_ref_use): Add IPA_REF_ALIAS. | |
3895 | (ipa_ref_has_aliases_p): Declare. | |
3896 | * lto-cgraph.c (lto_output_node): Handle aliases. | |
3897 | (input_node): Likewise. | |
3898 | * lto-streamer-out.c (lto_output): Skip aliases. | |
3899 | (produce_symtab): Kill same_body_alias code. | |
3900 | * ipa-utils.c (ipa_reverse_postorder): Add FIXME. | |
3901 | (ipa_reverse_postorder): Use cgraph_only_called_directly_or_aliased_p. | |
3902 | * ipa-inline.c (update_caller_keys): Walk aliases. | |
3903 | (inline_small_functions): Fix thinko in previous patch. | |
3904 | * ipa.c (cgraph_externally_visible_p): Do not walk aliases. | |
3905 | (function_and_variable_visibility): Do not walk same body aliases. | |
3906 | * tree-ssa-structalias.c (associate_varinfo_to_alias): New function. | |
3907 | (ipa_pta_execute): Use it. | |
3908 | ||
9ee65b55 UB |
3909 | 2011-06-11 Uros Bizjak <ubizjak@gmail.com> |
3910 | ||
3911 | * config/i386/sse.md (vec_dupv4sf): Correct mode of forced register. | |
3912 | (*vec_dupv2df): Rename from vec_dupv2df. | |
3913 | (vec_dupv2df): New expander. | |
3914 | ||
3915 | 2011-06-11 Uros Bizjak <ubizjak@gmail.com> | |
3916 | ||
3917 | * config/i386/sse.md (AVX_VEC_DUP_MODE): Rename from AVX256MODE24P. | |
3918 | ||
3919 | 2011-06-11 Uros Bizjak <ubizjak@gmail.com> | |
3920 | ||
3921 | * config/i386/i386.md: Use default value in "isa" attribute. | |
3922 | * config/i386/sse.md: Ditto. | |
3923 | * config/i386/mmx.md: Ditto. | |
3924 | ||
ba68a139 WG |
3925 | 2011-06-10 Wei Guozhi <carrot@google.com> |
3926 | ||
3927 | PR target/45335 | |
3928 | * config/arm/ldmstm.md (ldm2_ia, stm2_ia, ldm2_ib, stm2_ib, ldm2_da, | |
3929 | stm2_da, ldm2_db, stm2_db): Add condition !arm_arch7 to these insns. | |
3930 | (ldrd, ldrd_reg1, ldrd_reg2 and peephole2): New insn patterns and | |
3931 | related peephole2. | |
3932 | (strd, strd_reg1, strd_reg2 and peephole2): New insn patterns and | |
3933 | related peephole2. | |
3934 | * config/arm/arm-protos.h (arm_check_ldrd_operands): New prototype. | |
3935 | (arm_legitimate_ldrd_p): New prototype. | |
3936 | (arm_output_ldrd): New prototype. | |
3937 | * config/arm/arm.c (arm_check_ldrd_operands): New function. | |
3938 | (arm_legitimate_ldrd_p): New function. | |
3939 | (arm_output_ldrd): New function. | |
3940 | ||
deced1e2 XDL |
3941 | 2011-06-10 David Li <davidxl@google.com> |
3942 | ||
3943 | * cgraphunit.c (cgraph_finalize_compilation_unit): Pass dump. | |
3944 | * passes.c (passr_eq): New function. | |
3945 | (create_pass_tab): New function. | |
3946 | (pass_traverse): New function. | |
3947 | (dump_one_pass): New function. | |
3948 | (dump_pass_list): New function. | |
3949 | (dump_passes): New function. | |
3950 | ||
71fb4f92 JH |
3951 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
3952 | ||
3953 | * cgraph.c (cgraph_set_nothrow_flag_1): Update cgraph after | |
3954 | setting the nothrow flag. | |
3955 | * ipa-reference.c (propagate): Skip aliases. | |
3956 | * ipa-pure-const.c (propagate_pure_const): Skip aliases. | |
3957 | (propagate_nothrow): Skip aliases; do not update cgraph. | |
3958 | (local_pure_const): Do not update cgraph. | |
3959 | * tree-profile.c (tree_profiling): Do fixup_cfg. | |
3960 | ||
41817394 JH |
3961 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
3962 | ||
3963 | * ipa.c (cgraph_non_local_node_p_1): Break out from ...; | |
3964 | (cgraph_local_node_p): ... here; handle aliases. | |
3965 | (has_addr_references_p): Break out from ...; | |
3966 | (cgraph_remove_unreachable_nodes) ... here. | |
3967 | ||
fb37c1de JH |
3968 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
3969 | ||
3970 | * opts.c (default_options): Enlist OPT_finline_functions_called_once. | |
9ee65b55 UB |
3971 | * common.opt (flag_inline_functions_called_once): Do not |
3972 | initialize to 1. | |
fb37c1de | 3973 | |
0818c24c JH |
3974 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
3975 | ||
3976 | * ipa-cp.c (ipcp_versionable_function_p): Thunks are not versionable. | |
9ee65b55 UB |
3977 | (ipcp_initialize_node_lattices): Do not deal with aliases; |
3978 | Do not try to propagate through thunks. | |
0818c24c JH |
3979 | (ipcp_change_tops_to_bottom): Do not deal with aliases. |
3980 | ||
c8246dbe JH |
3981 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
3982 | ||
9ee65b55 UB |
3983 | * ipa-prop.c (ipa_write_node_info): Stream jump functions |
3984 | for indirect calls. | |
c8246dbe JH |
3985 | (ipa_read_node_info): Likewise. |
3986 | ||
d7e2a1c1 BS |
3987 | 2011-06-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
3988 | ||
3989 | PR lto/49302 | |
3990 | * tree-ssa-math-opts.c (powi_as_mults): Minor cleanup. | |
3991 | (build_and_insert_call): Likewise. | |
3992 | (build_and_insert_ref): New. | |
3993 | (gimple_expand_builtin_pow): Minor cleanup. | |
3994 | (gimple_expand_builtin_cabs): New. | |
3995 | (execute_cse_sincos): Add case for BUILT_IN_CABS. | |
9ee65b55 | 3996 | |
749f25d8 JH |
3997 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
3998 | ||
3999 | * ipa-cp.c (ipcp_versionable_function_p): Aliases are not versionable. | |
4000 | (ipcp_cloning_candidate_p): Aliases are not clonning candidates. | |
4001 | (ipcp_initialize_node_lattices): We don't propagate through an aliases. | |
4002 | (ipcp_propagate_stage): Skip aliases when propagating. | |
4003 | (ipcp_need_redirect_p): Skip aliases. | |
4004 | (ipcp_insert_stage): Use FOR_EACH_FUNCTION_WITH_GIMPLE_BODY and | |
4005 | collect_callers_of_node. | |
4006 | * ipa-prop.c (ipa_init_func_list): Do not analyze datastructures | |
4007 | for aliases. | |
4008 | (ipa_compute_jump_functions): Look through aliases. | |
4009 | ||
8340fbd7 RO |
4010 | 2011-06-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4011 | ||
4012 | * doc/sourcebuild.texi (Effective-Target Keywords, pie): Document it. | |
4013 | ||
9aaa7e47 HPN |
4014 | 2011-06-10 Hans-Peter Nilsson <hp@axis.com> |
4015 | ||
4016 | * ira-costs.c: Remove #ifdefs on dead FORBIDDEN_INC_DEC_CLASSES. | |
4017 | Adjust comments. | |
4018 | * system.h (FORBIDDEN_INC_DEC_CLASSES): Poison. | |
4019 | ||
f1724940 JH |
4020 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
4021 | ||
4022 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): | |
4023 | Update call of gimple_get_virt_method_for_binfo. | |
4024 | * gimple-fold.c (gimple_get_virt_method_for_binfo): Remove | |
4025 | refuse_thunks parameter. | |
4026 | (gimple_fold_call): Update. | |
4027 | * ipa-prop.c (try_make_edge_direct_virtual_call): Update. | |
4028 | ||
a6f834c5 JH |
4029 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
4030 | ||
4031 | * tree-sra.c (all_callers_have_enough_arguments_p): Rename to ... | |
4032 | (not_all_callers_have_enough_arguments_p): ... this one; turn into | |
4033 | worker for cgraph_for_node_and_aliases. | |
4034 | (convert_callers_for_node): Break out from ... | |
4035 | (convert_callers): ... here. | |
4036 | (modify_function): Use collect_callers_of_node. | |
4037 | (ipa_early_sra): Use cgraph_for_node_and_aliases. | |
4038 | ||
7871eee3 RG |
4039 | 2011-06-10 Richard Guenther <rguenther@suse.de> |
4040 | ||
4041 | PR tree-optimization/49361 | |
4042 | * fold-const.c (fold_binary_loc): Only fold x * x to pow (x, 2.0) | |
4043 | when not already in gimple form. | |
4044 | ||
dae957ae RG |
4045 | 2011-06-10 Richard Guenther <rguenther@suse.de> |
4046 | ||
4047 | PR bootstrap/49344 | |
4048 | * tree-ssa-math-opts.c (convert_mult_to_fma): Use | |
4049 | FOR_EACH_PHI_OR_STMT_USE. | |
4050 | ||
a5b1779f JH |
4051 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
4052 | ||
4053 | * ipa-inline-transform.c (can_remove_node_now_p): Move out of... | |
4054 | (clone_inlined_nodes): ... here. | |
4055 | (inline_call): Use cgraph_function_or_thunk_node; redirect edge | |
4056 | to real destination prior inlining. | |
4057 | * ipa-inline.c (caller_growth_limits, can_inline_edge_p, | |
4058 | can_early_inline_edge_p, want_early_inline_function_p, | |
4059 | want_early_inline_function_p, want_inline_small_function_p, | |
4060 | want_inline_self_recursive_call_p, want_inline_function_called_once_p, | |
4061 | edge_badness, update_all_callee_keys, lookup_recursive_calls, | |
4062 | add_new_edges_to_heap, inline_small_functions, flatten_function, | |
4063 | inline_always_inline_functions, early_inline_small_functions): Use | |
4064 | cgraph_function_or_thunk_node. | |
4065 | * ipa-inline-analysis.c (evaluate_conditions_for_edge, | |
4066 | dump_inline_edge_summary, estimate_function_body_sizes): Likewise. | |
4067 | (do_estimate_edge_growth_1): Break out from ... | |
4068 | (do_estimate_growth) ... here; walk aliases. | |
4069 | (inline_generate_summary): Skip aliases. | |
4070 | ||
c1ae3ca5 RG |
4071 | 2011-06-10 Richard Guenther <rguenther@suse.de> |
4072 | ||
9ee65b55 UB |
4073 | * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Scan stmts |
4074 | forward when combining, visit inserted stmts when a stmt was changed. | |
c1ae3ca5 | 4075 | |
b504a918 PC |
4076 | 2011-06-10 Paolo Carlini <paolo.carlini@oracle.com> |
4077 | ||
4078 | * tree.h (error_operand_p): Add. | |
4079 | * dbxout.c (dbxout_type_fields): Use the latter. | |
4080 | * c-decl.c (add_stmt): Likewise. | |
4081 | * gimplify.c (omp_add_variable, omp_notice_variable, | |
4082 | gimplify_scan_omp_clauses): Likewise. | |
4083 | ||
3f5ea9dc | 4084 | 2011-06-10 Georg-Johann Lay <avr@gjlay.de> |
b504a918 | 4085 | |
3f5ea9dc GJL |
4086 | * config/avr/avr.c (avr_function_arg_advance): Fix thinko about |
4087 | when a value is actually passed in regs. | |
4088 | ||
b11b0904 | 4089 | 2011-06-10 Eric Botcazou <ebotcazou@adacore.com> |
870c3cf8 | 4090 | Laurent Rougé <laurent.rouge@menta.fr> |
b11b0904 EB |
4091 | |
4092 | * doc/invoke.texi (SPARC options): Add -mflat. | |
4093 | * config/sparc/sparc.opt: Likewise. | |
4094 | * config/sparc/sparc-protos.h (sparc_expand_epilogue): Add parameter. | |
4095 | (sparc_flat_expand_prologue): Declare. | |
4096 | (sparc_flat_expand_epilogue): Likewise. | |
4097 | * config/sparc/sparc.h (CPP_CPU_SPEC): Do not handle -msoft-float. | |
4098 | (CPP_ENDIAN_SPEC): Replace with... | |
4099 | (CPP_OTHER_SPEC): ...this. Also handle -mflat and -msoft-float. | |
4100 | (CPP_SPEC): Adjust to above change. | |
4101 | (EXTRA_SPECS): Likewise. | |
4102 | (SPARC_INCOMING_INT_ARG_FIRST): Add TARGET_FLAT handling. | |
4103 | (INCOMING_REGNO): Likewise. | |
4104 | (OUTGOING_REGNO): Likewise. | |
4105 | (LOCAL_REGNO): Likewise. | |
4106 | (SETUP_FRAME_ADDRESSES): Likewise. | |
4107 | (FIXED_REGISTERS): Set 0 for %fp. | |
4108 | (CALL_USED_REGISTERS): Likewise. | |
4109 | (INITIAL_ELIMINATION_OFFSET): Pass current_function_is_leaf. | |
4110 | (EXIT_IGNORE_STACK): Define to 1 unconditionally. | |
4111 | (RETURN_ADDR_REGNUM): Define. | |
4112 | (RETURN_ADDR_RTX): Use it. | |
4113 | (INCOMING_RETURN_ADDR_REGNUM): Define. | |
4114 | (INCOMING_RETURN_ADDR_RTX): Use it. | |
4115 | (DWARF_FRAME_RETURN_COLUMN): Likewise. | |
4116 | (EH_RETURN_REGNUM): Define. | |
4117 | (EH_RETURN_STACKADJ_RTX): Use it. | |
4118 | (EH_RETURN_HANDLER_RTX): Delete. | |
4119 | (EPILOGUE_USES): Use them and add TARGET_FLAT handling. | |
4120 | * config/sparc/sparc.c (apparent_fsize, actual_fsize, num_gfregs): | |
4121 | Delete. | |
4122 | (struct machine_function): Add frame_size, apparent_frame_size, | |
4123 | frame_base_reg, frame_base_offset, n_global_fp_regs and | |
4124 | save_local_in_regs_p fields. | |
4125 | (sparc_frame_size, sparc_apparent_frame_size, sparc_frame_base_reg, | |
4126 | sparc_frame_base_offset, sparc_n_global_fp_regs, | |
4127 | sparc_save_local_in_regs_p): New macros. | |
4128 | (sparc_option_override): Error out if -fcall-saved-REG is specified | |
4129 | for Out registers. | |
4130 | (eligible_for_restore_insn): Fix formatting. | |
4131 | (eligible_for_return_delay): Likewise. Add TARGET_FLAT handling. | |
4132 | (eligible_for_sibcall_delay): Likewise. | |
4133 | (RTX_OK_FOR_OFFSET_P, RTX_OK_FOR_OLO10_P): Add MODE parameter. | |
4134 | (sparc_legitimate_address_p): Adjust to above change. | |
4135 | (save_global_or_fp_reg_p): New predicate. | |
4136 | (return_addr_reg_needed_p): Likewise. | |
4137 | (save_local_or_in_reg_p): Likewise. | |
4138 | (sparc_compute_frame_size): Use them. Add TARGET_FLAT handling. | |
4139 | (SORR_SAVE, SORR_RESTORE): Delete. | |
4140 | (sorr_pred_t): New typedef. | |
4141 | (sorr_act_t): New enum. | |
4142 | (save_or_restore_regs): Rename to... | |
4143 | (emit_save_or_restore_regs): ...this. Change type of LOW and HIGH | |
4144 | parameters, remove ACTION parameter, add LEAF_FUNCTION_P, SAVE_P, | |
4145 | ACTION_TRUE and ACTION_FALSE parameters. Implement more general | |
4146 | mechanism. Add CFI information for double-word saves in 32-bit mode. | |
4147 | (emit_adjust_base_to_offset): New function extracted from... | |
4148 | (emit_save_or_restore_regs): ...this. Rename the rest to... | |
4149 | (emit_save_or_restore_regs_global_fp_regs): ...this. | |
4150 | (emit_save_or_restore_regs_local_in_regs): New function. | |
4151 | (gen_create_flat_frame_[123]): New functions. | |
4152 | (sparc_expand_prologue): Use SIZE local variable. Adjust. | |
4153 | (sparc_flat_expand_prologue): New function. | |
4154 | (sparc_asm_function_prologue): Add TARGET_FLAT handling. | |
4155 | (sparc_expand_epilogue): Use SIZE local variable. Adjust. | |
4156 | (sparc_flat_expand_epilogue): New function. | |
4157 | (sparc_can_use_return_insn_p): Add TARGET_FLAT handling. | |
4158 | (output_return): Likewise. | |
4159 | (output_sibcall): Likewise. | |
4160 | (sparc_output_mi_thunk): Likewise. | |
4161 | (sparc_frame_pointer_required): Likewise. | |
4162 | (sparc_conditional_register_usage): If TARGET_FLAT, disable the leaf | |
4163 | function optimization. | |
4164 | * config/sparc/sparc.md (flat): New attribute. | |
4165 | (prologue): Add TARGET_FLAT handling. | |
4166 | (save_register_window): Disable if TARGET_FLAT. | |
4167 | (create_flat_frame_[123]): New patterns. | |
4168 | (epilogue): Add TARGET_FLAT handling. | |
4169 | (sibcall_epilogue): Likewise. | |
4170 | (eh_return): New expander. | |
4171 | (eh_return_internal): New insn and splitter. | |
4172 | (return_internal): Add TARGET_FLAT handling. | |
4173 | (untyped_return): Remove bogus test and use RETURN_ADDR_REGNUM. | |
4174 | (save_stack_nonlocal): Use RETURN_ADDR_REGNUM. | |
4175 | (nonlocal_goto): Add TARGET_FLAT handling. | |
4176 | * config/sparc/t-elf: Add -mflat multilib. | |
4177 | * config/sparc/t-leon: Likewise. | |
4178 | ||
fede8efa JH |
4179 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
4180 | ||
4181 | * ipa-utils.c (searchc): Use cgraph_function_or_thunk_node. | |
4182 | * ipa-pure-const.c (analyze_function): Aliases don't need analysis. | |
4183 | (self_recursive_p): Use cgraph_function_node. | |
4184 | (propagate_pure_const): Likewise. | |
4185 | (propagate_nothrow): Likewise. | |
4186 | * ipa-reference.c (ipa_reference_get_not_read_global): Use | |
4187 | cgraph_function_node. | |
4188 | (propagate_bits): Likewise. | |
4189 | (propagate): Likewise. | |
4190 | ||
0127c76f RR |
4191 | 2011-06-10 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
4192 | Richard Earnshaw <rearnsha@arm.com> | |
4193 | ||
9ee65b55 | 4194 | * config/arm/arm.c (const_ok_for_op): Check to see if mvn can be used. |
0127c76f RR |
4195 | * config/arm/vfp.md (*arm_movdi_vfp): Delete. |
4196 | (*thumb2_movdi_vfp): Delete. | |
4197 | (*arm_movdi_vfp_cortexa8): Delete. | |
4198 | (*movdi_vfp): Consolidate from *arm_movdi_vfp and *thumb2_movdi_vfp. | |
4199 | (*movdi_vfp_cortexa8): Likewise. | |
4200 | ||
f93fe5a0 RG |
4201 | 2011-06-10 Richard Guenther <rguenther@suse.de> |
4202 | ||
4203 | * stor-layout.c (initialize_sizetypes): Give names to all | |
4204 | sizetype kinds. | |
4205 | ||
f2164f87 IR |
4206 | 2011-06-10 Ira Rosen <ira.rosen@linaro.org> |
4207 | ||
4208 | PR tree-optimization/49318 | |
4209 | * tree-vect-loop.c (vect_determine_vectorization_factor): Remove | |
4210 | irrelevant pattern statements. | |
4211 | ||
3f91c962 HPN |
4212 | 2011-06-10 Hans-Peter Nilsson <hp@axis.com> |
4213 | ||
3d223145 HPN |
4214 | * system.h (SETJMP_VIA_SAVE_AREA): Poison. |
4215 | ||
3f91c962 HPN |
4216 | PR bootstrap/49354 |
4217 | * ira-costs.c (setup_regno_cost_classes_by_mode): Add missing cast | |
4218 | to last assignment. | |
4219 | ||
b125ad45 JH |
4220 | 2011-06-09 Jan Hubicka <jh@suse.cz> |
4221 | ||
4222 | * cgraphunit.c (cgraph_reset_node): Do not set redefined_extern_inline; | |
4223 | do not recompute reachable flag. | |
4224 | (cgraph_finalize_function, cgraph_analyze_functions): Set | |
4225 | redefined_extern_inline here. | |
4226 | ||
be330ed4 JH |
4227 | 2011-06-09 Jan Hubicka <jh@suse.cz> |
4228 | ||
4229 | * cgraph.h (cgraph_only_called_directly_or_aliased_p): Rename from ... | |
4230 | (cgraph_only_called_directly_p): ... this one; bring offline. | |
4231 | (resolution_used_from_other_file_p, cgraph_used_from_object_file_p, | |
4232 | varpool_used_from_object_file_p): Drop names from the declaratoin. | |
4233 | (cgraph_for_node_thunks_and_aliases, cgraph_for_node_and_aliases, | |
4234 | collect_callers_of_node): New. | |
4235 | (cgraph_function_node, cgraph_function_or_thunk_node): New functions. | |
4236 | (cgraph_edge_recursive_p): Use cgraph_function_node. | |
4237 | * cgraph.c (cgraph_add_thunk): Check that thunk is not already alias. | |
4238 | (cgraph_node_cannot_be_local_p_1): Break out from ... | |
4239 | (cgraph_node_can_be_local_p): ... here; walk aliases. | |
4240 | (cgraph_for_node_thunks_and_aliases): New function. | |
4241 | (cgraph_for_node_and_aliases): New function. | |
4242 | (cgraph_make_node_local_1): Break out from ... | |
9ee65b55 UB |
4243 | (cgraph_make_node_local) ... here; use |
4244 | cgraph_for_node_thunks_and_aliases. | |
be330ed4 | 4245 | (cgraph_set_nothrow_flag_1): Break out from ... |
9ee65b55 UB |
4246 | (cgraph_set_nothrow_flag) ... here; |
4247 | use cgraph_for_node_thunks_and_aliases. | |
be330ed4 | 4248 | (cgraph_set_const_flag_1): Break out from ... |
9ee65b55 UB |
4249 | (cgraph_set_const_flag) ... here; |
4250 | use cgraph_for_node_thunks_and_aliases. | |
be330ed4 | 4251 | (cgraph_set_pure_flag_1): Break out from ... |
9ee65b55 UB |
4252 | (cgraph_set_pure_flag) ... here; |
4253 | use cgraph_for_node_thunks_and_aliases. | |
be330ed4 | 4254 | (cgraph_propagate_frequency_1): Break out from ... |
9ee65b55 UB |
4255 | (cgraph_propagate_frequency) ... here; use |
4256 | cgraph_for_node_thunks_and_aliases. | |
be330ed4 | 4257 | (cgraph_used_from_object_file_p): Do not care about aliases. |
9ee65b55 UB |
4258 | (cgraph_not_only_called_directly_p_1, cgraph_only_called_directly_p): |
4259 | New functions. | |
be330ed4 JH |
4260 | (collect_callers_of_node_1, collect_callers_of_node): New functions. |
4261 | ||
2ea91d6b HPN |
4262 | 2011-06-10 Hans-Peter Nilsson <hp@axis.com> |
4263 | ||
4264 | PR rtl-optimization/49154 | |
4265 | * config/cris/cris.h (FIXED_REGISTERS): Include CRIS_CC0_REGNUM. | |
4266 | (enum reg_class): Add SRP_REGS and MOF_SRP_REGS. | |
4267 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS) | |
4268 | (PREFERRED_RELOAD_CLASS, SECONDARY_RELOAD_CLASS): Adjust to fit. | |
4269 | * config/cris/cris.h (cris_register_move_cost): Remove | |
4270 | !TARGET_V32 code. Tweak comments. | |
4271 | ||
9cf4fb5a JH |
4272 | 2011-06-09 Jan Hubicka <jh@suse.cz> |
4273 | ||
4274 | * cgraphbuild.c (record_eh_tables): Mark personality function as having | |
4275 | address taken. | |
4276 | ||
6049a4c8 HPN |
4277 | 2011-06-10 Hans-Peter Nilsson <hp@axis.com> |
4278 | ||
c577822e | 4279 | PR rtl-optimization/49154 |
9ee65b55 UB |
4280 | * ira-costs.c (setup_regno_cost_classes_by_mode): If there already |
4281 | is a matching slot in the hashtable, assign it to classes_ptr. | |
c577822e | 4282 | |
54e1e4f7 | 4283 | PR rtl-optimization/49154 |
6049a4c8 HPN |
4284 | * doc/tm.texi.in (Register Classes): Document rule for the narrowest |
4285 | register classes. | |
4286 | * doc/tm.texi: Regenerate. | |
4287 | ||
3be68b64 KK |
4288 | 2011-06-09 Kaz Kojima <kkojima@gcc.gnu.org> |
4289 | ||
4290 | PR target/49307 | |
4291 | * config/sh/sh.md (UNSPEC_CHKADD): New. | |
4292 | (chk_guard_add): New define_insn_and_split. | |
4293 | (symGOT_load): Use chk_guard_add instead of blockage. | |
4294 | ||
bf806a90 KT |
4295 | 2011-06-09 Kai Tietz <ktietz@redhat.com> |
4296 | ||
4297 | * libgcc2.c (L_trampoline): Include windows.h for mingw targets. | |
4298 | ||
d5a9738b EB |
4299 | 2011-06-09 Eric Botcazou <ebotcazou@adacore.com> |
4300 | ||
4301 | * config/sparc/sparc.md (return_internal): Adjust 'length' attribute. | |
4302 | ||
527e82c2 WG |
4303 | 2011-06-09 Wei Guozhi <carrot@google.com> |
4304 | ||
4305 | PR target/46975 | |
4306 | * config/arm/arm.md (*addsi3_carryin_compare0_<optab>): New pattern. | |
4307 | (peephole2 for conditional move): Generate 16 bit instructions. | |
4308 | ||
b8bc3a43 UB |
4309 | 2011-06-09 Uros Bizjak <ubizjak@gmail.com> |
4310 | ||
4311 | * config/i386/i386.md (*movdi_internal_rex64): Merge | |
4312 | alternatives 6 and 8. | |
4313 | ||
4745da6e DL |
4314 | 2011-06-09 David Li <davidxl@google.com> |
4315 | ||
4316 | * cgraphunit.c (cgraph_finalize_compilation_unit): Pass dump. | |
4317 | * passes.c (passr_eq): New function. | |
4318 | (create_pass_tab): New function. | |
4319 | (pass_traverse): New function. | |
4320 | (dump_one_pass): New function. | |
4321 | (dump_pass_list): New function. | |
4322 | (dump_passes): New function. | |
4323 | ||
bdf67bcb DL |
4324 | 2011-06-09 David Li <davidxl@google.com> |
4325 | ||
4326 | * tree-complex.c (tree_lower_complex): Gate cleanup. | |
4327 | * tree-stdarg.c (check_all_va_list_escapes): Ditto. | |
4328 | (execute_optimize_stdarg): Ditto. | |
4329 | * tree-eh.c (execute_lower_eh_dispatch): Ditto. | |
4330 | (execute_cleanup_eh_1): Ditto. | |
4331 | (execute_cleanup_eh): Ditto. | |
4332 | * gcse.c (gate_rtl_pre): Ditto. | |
4333 | (execute_rtl_pre): Ditto. | |
4334 | * except.c (finish_eh_generation): Ditto. | |
4335 | (convert_to_eh_region_ranges): Ditto. | |
4336 | * cprop.c (one_cprop_pass): Ditto. | |
4337 | ||
547fdef8 BS |
4338 | 2011-06-09 Bernd Schmidt <bernds@codesourcery.com> |
4339 | ||
4340 | PR target/48673 | |
4341 | * config/ia64/ia64.c (ia64_reorg): Clear BB_DISABLE_SCHEDULE flag | |
4342 | in all basic blocks. | |
4343 | ||
10e48e39 RO |
4344 | 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4345 | ||
4346 | * config/alpha/netbsd.h (ENABLE_EXECUTE_STACK): Remove. | |
4347 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
4348 | * config/alpha/osf5.h (ENABLE_EXECUTE_STACK): Remove. | |
4349 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
4350 | * config/darwin.h (ENABLE_EXECUTE_STACK): Remove. | |
4351 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
4352 | * config/i386/mingw32.h (MINGW_ENABLE_EXECUTE_STACK): Remove. | |
4353 | (ENABLE_EXECUTE_STACK): Remove. | |
4354 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
4355 | [IN_LIBGCC2]: Don't include <windows.h>. | |
4356 | * config/i386/netbsd-elf.h (ENABLE_EXECUTE_STACK): Remove. | |
4357 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
4358 | * config/i386/netbsd64.h (ENABLE_EXECUTE_STACK): Remove. | |
4359 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
4360 | * config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Remove. | |
4361 | * config/openbsd.h (ENABLE_EXECUTE_STACK): Remove. | |
4362 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
4363 | * config/sol2.h (ENABLE_EXECUTE_STACK): Remove. | |
4364 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
4365 | * config/sparc/freebsd.h (ENABLE_EXECUTE_STACK): Remove. | |
4366 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
4367 | * config/sparc/netbsd-elf.h (ENABLE_EXECUTE_STACK): Remove. | |
4368 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
4369 | * config/alpha/alpha.c (alpha_trampoline_init): Test | |
4370 | HAVE_ENABLE_EXECUTE_STACK. | |
4371 | * config/i386/i386.c (ix86_trampoline_init): Likewise. | |
4372 | * config/sparc/sparc.c (sparc32_initialize_trampoline): Likewise. | |
4373 | (sparc64_initialize_trampoline): Likewise. | |
4374 | * libgcc2.c [L_enable_execute_stack]: Remove. | |
4375 | * system.h (ENABLE_EXECUTE_STACK): Poison. | |
4376 | * doc/tm.texi.in (Trampolines, ENABLE_EXECUTE_STACK): Remove. | |
4377 | * doc/tm.texi: Regenerate. | |
4378 | * Makefile.in (LIBGCC2_CFLAGS): Add -fbuilding-libgcc. | |
4379 | ||
8ced31fe JJ |
4380 | 2011-06-09 Jakub Jelinek <jakub@redhat.com> |
4381 | ||
4382 | PR middle-end/49308 | |
4383 | * dce.c (reset_unmarked_insns_debug_uses): Avoid shadowing insn | |
4384 | variable. After resetting and rescanning insn continue with previous | |
4385 | statement. | |
4386 | ||
ee610fcd RO |
4387 | 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4388 | ||
4389 | * configure.ac (gcc_cv_as_hidden): Enable on *-*-darwin*. | |
4390 | (gcc_cv_ld_hidden): Likewise. | |
4391 | * configure: Regenerate. | |
4392 | * config/i386/i386.c (USE_HIDDEN_LINKONCE): Remove TARGET_MACHO. | |
4393 | (ix86_stack_protect_fail): Mark unused. | |
4394 | (TARGET_STACK_PROTECT_FAIL) [TARGET_MACHO]: Don't redefine. | |
4395 | * config/rs6000/rs6000.c (rs6000_assemble_visibility) | |
4396 | [TARGET_MACHO]: Don't define. | |
4397 | (TARGET_ASM_ASSEMBLE_VISIBILITY): Likewise. | |
4398 | (TARGET_STACK_PROTECT_FAIL): Likewise. | |
4399 | (rs6000_stack_protect_fail): Mark unused. | |
4400 | * dwarf2asm.c (dw2_output_indirect_constant_1): Mark decl hidden if | |
b8bc3a43 | 4401 | USE_LINKONCE_INDIRECT. Don't emit .hidden expicitly. |
ee610fcd | 4402 | |
8f2e22ff AK |
4403 | 2011-06-08 Andi Kleen <ak@linux.intel.com> |
4404 | ||
4405 | * varasm.c (get_section): Print location of other conflict | |
4406 | for section conflicts. | |
4407 | ||
815cecbe AK |
4408 | 2011-06-08 Andi Kleen <ak@linux.intel.com> |
4409 | ||
4410 | * config/i386/driver-i386.c (host_detect_local_cpu): | |
4411 | Add model 0x2d Intel CPU. | |
4412 | ||
1460ec5c AK |
4413 | 2011-06-08 Andi Kleen <ak@linux.intel.com> |
4414 | ||
4415 | * reginfo.c (global_regs_decl): Add. | |
b8bc3a43 UB |
4416 | (globalize_reg): Add decl parameter. Compute location. Pass location |
4417 | to warnings and add inform. Store decl in global_regs_decl. | |
1460ec5c AK |
4418 | * rtl.h (globalize_reg): Update prototype. |
4419 | * varasm.c (make_decl_rtl): Pass decl to globalize_reg(). | |
4420 | ||
df17530a MX |
4421 | 2011-06-09 Mingjie Xing <mingjie.xing@gmail.com> |
4422 | ||
4423 | * treestruct.def (TS_TYPE_DECL): Fix the printable name typo. | |
4424 | ||
409fed48 KK |
4425 | 2011-06-08 Kaz Kojima <kkojima@gcc.gnu.org> |
4426 | ||
4427 | PR target/49305 | |
4428 | * config/sh/predicates.md (general_movsrc_operand): Check | |
4429 | mode for memory with indexed address for QI and HImode. | |
4430 | (general_movdst_operand): Likewise. | |
4431 | ||
87c16a45 NP |
4432 | 2011-06-09 Nicola Pero <nicola.pero@meta-innovation.com> |
4433 | ||
b8bc3a43 | 4434 | * doc/objc.texi (Traditional GNU Objective-C runtime API): Updated. |
87c16a45 | 4435 | |
49931fcb AO |
4436 | 2011-06-08 Alexandre Oliva <aoliva@redhat.com> |
4437 | ||
4438 | * tree-flow-inline.h (op_iter_init): Reject GIMPLE_PHI stmts. | |
4439 | (num_ssa_operands): Likewise. | |
4440 | (op_iter_init_phiuse): Forward-declare. | |
4441 | (delink_stmt_imm_use): Iterate with FOR_EACH_PHI_OR_STMT_USE. | |
4442 | ||
29494d1f NC |
4443 | 2011-06-08 Nick Clifton <nickc@redhat.com> |
4444 | ||
4445 | * doc/invoke.texi (ARM Options): Update description of | |
4446 | -mthumb-interwork. | |
4447 | ||
4ffae7ff L |
4448 | 2011-06-08 H.J. Lu <hongjiu.lu@intel.com> |
4449 | ||
4450 | * config/i386/driver-i386.c (host_detect_local_cpu): Support | |
4451 | unknown Intel family 0x6 CPUs. | |
4452 | ||
d9c77712 MJ |
4453 | 2011-06-08 Martin Jambor <mjambor@suse.cz> |
4454 | ||
4455 | * tree-sra.c (mark_rw_status): Removed. | |
4456 | (analyze_access_subtree): New parameter parent instead of | |
4457 | mark_read and mark_write, propagate from that. | |
4458 | ||
b1def36c JB |
4459 | 2011-06-08 Julian Brown <julian@codesourcery.com> |
4460 | ||
4461 | * config/arm/arm.c (arm_libcall_uses_aapcs_base): Use correct ABI | |
4462 | for double-precision helper functions in hard-float mode if only | |
4463 | single-precision arithmetic is supported in hardware. | |
4464 | ||
6c8e9fc9 AM |
4465 | 2011-06-08 Alexander Monakov <amonakov@ispras.ru> |
4466 | ||
4467 | PR rtl-optimization/49303 | |
4468 | * sel-sched.c (move_op): Use correct type for 'res'. Verify that | |
4469 | code_motion_path_driver returned 0 or 1. | |
4470 | (sel_region_finish): Clear h_d_i_d. | |
4471 | ||
c2bbcb0d KK |
4472 | 2011-06-08 Kaz Kojima <kkojima@gcc.gnu.org> |
4473 | ||
4474 | * config/sh/sh.c (prepare_move_operands): Set pic register | |
4475 | appropriately for global and local dynamic tls models even | |
4476 | if flag_pic is unset. | |
4477 | ||
6976ae51 JM |
4478 | 2011-06-07 Jason Merrill <jason@redhat.com> |
4479 | ||
4480 | * pretty-print.h (ATTRIBUTE_GCC_PPDIAG): Use GCC_DIAG_STYLE if set. | |
4481 | ||
bb5b1f5e XDL |
4482 | 2011-06-07 Xinliang David Li <davidxl@google.com> |
4483 | * passes.c (enable_disable_pass): Handle assembler name. | |
4484 | (is_pass_explicitly_enabled_or_disabled): Ditto. | |
4485 | ||
91ffe356 RO |
4486 | 2011-06-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4487 | ||
4488 | PR tree-optimization/48497 | |
4489 | * doc/sourcebuild.texi (Directives, dg-additional-options): Document. | |
4490 | ||
06bc3ec7 BS |
4491 | 2011-06-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
4492 | ||
4493 | PR tree-optimization/46728 | |
4494 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Change FIXME | |
4495 | to use gimple_val_nonnegative_real_p. | |
4496 | * gimple-fold.c (gimple_val_nonnegative_real_p): New function. | |
4497 | * gimple.h (gimple_val_nonnegative_real_p): New declaration. | |
29494d1f | 4498 | |
c074d740 L |
4499 | 2011-06-07 H.J. Lu <hongjiu.lu@intel.com> |
4500 | ||
4501 | * config/i386/i386.md (*movsf_internal): Optimize AVX check. | |
4502 | ||
8973b112 SG |
4503 | 2011-06-07 Sergey Grechanik <mouseentity@ispras.ru> |
4504 | ||
4505 | * config/arm/arm.c (coproc_secondary_reload_class): Return NO_REGS for | |
4506 | constant vectors. | |
4507 | ||
67b88453 RG |
4508 | 2011-06-07 Richard Guenther <rguenther@suse.de> |
4509 | ||
4510 | * stor-layout.c (initialize_sizetypes): Initialize all | |
4511 | sizetypes based on target definitions. | |
4512 | (set_sizetype): Remove. | |
4513 | * tree.c (build_common_tree_nodes): Do not call set_sizetype. | |
4514 | * tree.h (set_sizetype): Remove. | |
4515 | ||
1dcad079 NC |
4516 | 2011-06-07 Nick Clifton <nickc@redhat.com> |
4517 | ||
4518 | * config.gcc: Unify V850 architecture options and add support for | |
4519 | newer V850 architectures. | |
4520 | * config/v850/t-v850e: Delete. | |
4521 | ||
009db074 RG |
4522 | 2011-06-07 Richard Guenther <rguenther@suse.de> |
4523 | ||
4524 | * tree.c (build_common_tree_nodes): Also initialize size_type_node. | |
4525 | Call set_sizetype from here. | |
4526 | ||
f373314f AS |
4527 | 2011-06-07 Andrew Stubbs <ams@codesourcery.com> |
4528 | ||
4529 | * config/arm/arm.md (*maddhidi4tb, *maddhidi4tt): New define_insns. | |
4530 | (*maddhisi4tb, *maddhisi4tt): New define_insns. | |
4531 | ||
c536876e AS |
4532 | 2011-06-07 Bernd Schmidt <bernds@codesourcery.com> |
4533 | Andrew Stubbs <ams@codesourcery.com> | |
4534 | ||
4535 | * simplify-rtx.c (simplify_unary_operation_1): Canonicalize widening | |
4536 | multiplies. | |
4537 | * doc/md.texi (Canonicalization of Instructions): Document widening | |
4538 | multiply canonicalization. | |
4539 | ||
308dc890 JJ |
4540 | 2011-06-07 Jakub Jelinek <jakub@redhat.com> |
4541 | ||
4542 | PR gcov-profile/49299 | |
b8bc3a43 | 4543 | * value-prof.c (gimple_ic): Don't assume icall has a fallthru edge. |
308dc890 | 4544 | |
383d9c83 IR |
4545 | 2011-06-07 Ira Rosen <ira.rosen@linaro.org> |
4546 | ||
4547 | * tree-vectorizer.h (vect_recog_func_ptr): Make last argument to be | |
4548 | a pointer. | |
4549 | * tree-vect-patterns.c (vect_recog_widen_sum_pattern, | |
4550 | vect_recog_widen_mult_pattern, vect_recog_dot_prod_pattern, | |
4551 | vect_recog_pow_pattern): Likewise. | |
4552 | (vect_pattern_recog_1): Remove declaration. | |
4553 | (widened_name_p): Remove declaration. Add new argument to specify | |
4554 | whether to check that both types are either signed or unsigned. | |
4555 | (vect_recog_widen_mult_pattern): Update documentation. Handle | |
4556 | unsigned patterns and multiplication by constants. | |
4557 | (vect_pattern_recog_1): Update vect_recog_func references. Use | |
4558 | statement information from the statement returned from pattern | |
4559 | detection functions. | |
4560 | (vect_pattern_recog): Update vect_recog_func reference. | |
4561 | * tree-vect-stmts.c (vectorizable_type_promotion): For widening | |
4562 | multiplication by a constant use the type of the other operand. | |
4563 | ||
4de4b0f2 RS |
4564 | 2011-06-06 Richard Sandiford <rdsandiford@googlemail.com> |
4565 | ||
4566 | PR rtl-optimization/49145 | |
4567 | * combine.c (make_compound_operation): Handle ZERO_EXTEND specially. | |
4568 | ||
a9d24544 JJ |
4569 | 2011-06-06 Jakub Jelinek <jakub@redhat.com> |
4570 | ||
99a5e049 JJ |
4571 | PR debug/49262 |
4572 | * dwarf2out.c (native_encode_initializer): Decrement count in each | |
4573 | iteration. | |
4574 | ||
04902d4c JJ |
4575 | PR debug/49294 |
4576 | * dwarf2out.c (mem_loc_descriptor) <do_shift>: Give up for | |
4577 | non-MODE_INT modes. | |
4578 | ||
a9d24544 JJ |
4579 | PR c++/49264 |
4580 | * gimple-fold.c (fold_stmt_1): Don't try to fold *& on the lhs | |
4581 | if stmt folded into nothing. | |
b8bc3a43 UB |
4582 | * tree-inline.c (fold_marked_statements): If a builtin at the end of |
4583 | a bb folded into nothing, just update cgraph edges and move to next bb. | |
a9d24544 JJ |
4584 | * cgraph.c (cgraph_update_edges_for_call_stmt_node): Allow new_stmt |
4585 | to be NULL. Don't compute count and frequency if new_call is NULL. | |
4586 | ||
47c79d56 DN |
4587 | 2011-06-04 Diego Novillo <dnovillo@google.com> |
4588 | ||
4589 | * Makefile.in (lto-compress.o): Add dependency on LTO_STREAMER_H. | |
4590 | (cgraph.o): Likewise. | |
4591 | (cgraphunit.o): Likewise. | |
4592 | * cgraphunit.c: Include lto-streamer.h | |
4593 | (cgraph_finalize_compilation_unit): Call lto_streamer_hooks_init | |
4594 | if LTO is enabled. | |
4595 | * lto-streamer-in.c (unpack_value_fields): Call | |
4596 | streamer_hooks.unpack_value_fields if set. | |
4597 | (lto_materialize_tree): For unhandled nodes, first try to | |
4598 | call lto_streamer_hooks.alloc_tree, if it exists. | |
4599 | (lto_input_ts_decl_common_tree_pointers): Move reading of | |
4600 | DECL_INITIAL to lto_streamer_read_tree. | |
4601 | (lto_read_tree): Call lto_streamer_hooks.read_tree if set. | |
4602 | (lto_streamer_read_tree): New. | |
4603 | (lto_reader_init): Rename from lto_init_reader. | |
4604 | Move initialization code to lto/lto.c. | |
4605 | * lto-streamer-out.c (pack_value_fields): Call | |
4606 | streamer_hooks.pack_value_fields if set. | |
b8bc3a43 UB |
4607 | (lto_output_tree_ref): For tree nodes that are not normally indexable, |
4608 | call streamer_hooks.indexable_with_decls_p before giving up. | |
47c79d56 | 4609 | (lto_output_ts_decl_common_tree_pointers): Move handling |
b8bc3a43 UB |
4610 | for FUNCTION_DECL and TRANSLATION_UNIT_DECL to lto_streamer_write_tree. |
4611 | (lto_output_tree_header): Call streamer_hooks.is_streamable instead of | |
4612 | lto_is_streamable. Call lto_streamer_hooks.output_tree_header if set. | |
4613 | (lto_write_tree): Call lto_streamer_hooks.write_tree if set. | |
47c79d56 DN |
4614 | (lto_streamer_write_tree): New. |
4615 | (lto_output): Call lto_streamer_init directly. | |
4616 | (lto_writer_init): Remove. | |
4617 | * lto-streamer.c (streamer_hooks): New. | |
4618 | (lto_streamer_cache_create): Call streamer_hooks.preload_common_nodes | |
4619 | instead of lto_preload_common_nodes. | |
4620 | (lto_is_streamable): Move from lto-streamer.h | |
4621 | (lto_streamer_hooks_init): New. | |
4622 | (streamer_hooks): New. | |
4623 | (streamer_hooks_init): New. | |
4624 | * lto-streamer.h (struct output_block): Forward declare. | |
4625 | (struct lto_input_block): Likewise. | |
4626 | (struct data_in): Likewise. | |
4627 | (struct bitpack_d): Likewise. | |
4628 | (struct streamer_hooks): Declare. | |
4629 | (streamer_hooks): Declare. | |
4630 | (lto_streamer_hooks_init): Declare. | |
4631 | (lto_streamer_write_tree): Declare. | |
4632 | (lto_streamer_read_tree): Declare. | |
4633 | (streamer_hooks_init): Declare. | |
4634 | (lto_is_streamable): Move to lto-streamer.c | |
4635 | ||
22afe143 AK |
4636 | 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
4637 | ||
4638 | * longlong.h (smul_ppmm): The resulting register pair contains the | |
4639 | higher order word first. | |
4640 | ||
3906ea1b BS |
4641 | 2011-06-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
4642 | ||
4643 | PR tree-optimization/46728 | |
4644 | * builtins.c (powi_table): Remove. | |
4645 | (powi_lookup_cost): Remove. | |
4646 | (powi_cost): Remove. | |
4647 | (expand_powi_1): Remove. | |
4648 | (expand_powi): Remove. | |
4649 | (expand_builtin_pow_root): Remove. | |
4650 | (expand_builtin_pow): Remove. | |
4651 | (expand_builtin_powi): Eliminate handling of constant exponent. | |
4652 | (expand_builtin): Use expand_builtin_mathfn_2 for BUILT_IN_POW. | |
b8bc3a43 | 4653 | |
3598cabd AO |
4654 | 2011-06-06 Alexandre Oliva <aoliva@redhat.com> |
4655 | ||
4656 | * cprop.c (local_cprop_pass): Don't set changed for debug insns. | |
4657 | ||
a7a110bb AO |
4658 | 2011-06-06 Alexandre Oliva <aoliva@redhat.com> |
4659 | ||
4660 | * dce.c (reset_unmarked_insns_debug_uses): New. | |
4661 | (delete_unmarked_insns): Skip debug insns. | |
4662 | (prescan_insns_for_dce): Likewise. | |
4663 | (rest_of_handle_ud_dce): Reset debug uses of removed sets. | |
4664 | * reg-stack.c (subst_stack_regs_in_debug_insn): Signal when no | |
4665 | active reg can be found. | |
4666 | (subst_all_stack_regs_in_debug_insn): New. Reset debug insn then. | |
4667 | (convert_regs_1): Use it. | |
4668 | ||
6d8402ac AO |
4669 | 2011-06-06 Alexandre Oliva <aoliva@redhat.com> |
4670 | ||
4671 | * tree-pretty-print.c (dump_function_header): Add flags. | |
4672 | Don't dump decl_uid with nouid. | |
4673 | * tree-pretty-print.h (dump_function_header): Adjust. | |
4674 | * final.c (rest_of_clean_state): Pass dump_flags on, with nouid. | |
4675 | * passes.c (pass_init_dump_file): Pass dump_flags on. | |
4676 | * tree-cfg.c (gimple_dump_cfg): Pass flags on. | |
4677 | ||
f75e1f1e AO |
4678 | 2011-06-06 Alexandre Oliva <aoliva@redhat.com> |
4679 | ||
4680 | PR bootstrap/49270 | |
4681 | * ipa-inline-analysis.c (read_predicate): Initialize all clauses. | |
4682 | ||
275311c4 MP |
4683 | 2011-06-06 Mikael Pettersson <mikpe@it.uu.se> |
4684 | ||
4685 | PR tree-optimization/49243 | |
4686 | * calls.c (setjmp_call_p): Also check if fndecl has the | |
4687 | returns_twice attribute. | |
4688 | ||
aa4203e7 RO |
4689 | 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4690 | ||
4691 | * config/mips/iris6.h (ENDFILE_SPEC): Use crtfastmath.o if | |
4692 | -ffast-math etc. | |
4693 | ||
48f9d59a RH |
4694 | 2011-06-06 Richard Henderson <rth@redhat.com> |
4695 | Georg-Johann Lay <avr@gjlay.de> | |
4696 | ||
4697 | PR target/42210 | |
4698 | * config/avr/predicates.md (const1_operand, const_0_to_7_operand): | |
4699 | New predicates. | |
4700 | * config/avr/avr.md ("insv"): New insn expander. | |
4701 | ("*movbitqi.1-6.a", "*movbitqi.1-6.b", "*movbitqi.0", "*insv.io", | |
4702 | "*insv.not.io", "*insv.reg"): New insns. | |
4703 | ||
11494830 HPN |
4704 | 2011-06-06 Hans-Peter Nilsson <hp@bitrange.com> |
4705 | ||
4706 | PR target/49285 | |
b8bc3a43 UB |
4707 | * config/mmix/mmix.md ("truncdfsf2", "extendsfdf2"): Correct predicate |
4708 | to nonimmediate_operand from memory_operand for the operand that is to | |
4709 | be forced to memory by the expander. Lose the constraints. | |
11494830 | 4710 | |
679e70df EB |
4711 | 2011-06-05 Eric Botcazou <ebotcazou@adacore.com> |
4712 | ||
4713 | * config/sparc/sparc.c (output_return): Fix thinko in the output of an | |
4714 | EH return when delayed branches are disabled. | |
4715 | ||
4d3d7f15 UB |
4716 | 2011-06-05 Uros Bizjak <ubizjak@gmail.com> |
4717 | ||
4718 | * config/i386/i386.md (*movdf_internal_rex64) <case 8,9,10>: | |
4719 | Remove MODE_TI handling. Remove SSE1 handling in attribute "mode" | |
4720 | calculation. | |
4721 | (*movdf_internal_rex64) <case 6,7,8>: Remove MODE_TI handling. | |
4722 | Simplify MODE_V1DF and MODE_V2SF handling. | |
4723 | (*movsf_internal): Remove x constraint from alternative 7 of operand 1. | |
4724 | Simplify MODE_SF handling. | |
4725 | ||
a45c0557 JH |
4726 | 2011-06-04 Jan Hubicka <jh@suse.cz> |
4727 | ||
4728 | PR tree-optimization/48893 | |
4729 | PR tree-optimization/49091 | |
4730 | PR tree-optimization/49179 | |
4731 | * ipa-inline-analysis.c (evaluate_conditions_for_known_args): | |
4732 | Bounds check. | |
4733 | ||
26740835 JH |
4734 | 2011-06-04 Jan Hubicka <jh@suse.cz> |
4735 | ||
4736 | PR lto/48954 | |
b8bc3a43 UB |
4737 | * lto-cgraph.c (output_node_opt_summary): Handle NULL skip args |
4738 | bitmaps. | |
26740835 | 4739 | |
014ab419 JW |
4740 | 2011-06-04 Jonathan Wakely <jwakely.gcc@gmail.com> |
4741 | ||
4742 | * doc/invoke.texi: Document -Wdelete-non-virtual-dtor. | |
4743 | ||
407bcba7 JJ |
4744 | 2011-06-04 Jakub Jelinek <jakub@redhat.com> |
4745 | ||
4746 | PR target/49281 | |
4747 | * config/i386/i386.md (*lea_general_4): Require INTVAL (operands[3]) | |
4748 | to be strictly smaller than 1 << shiftcount. | |
4749 | ||
e3195c52 JH |
4750 | 2011-06-04 Jan Hubicka <jh@suse.cz> |
4751 | ||
4752 | PR tree-optimize/48929 | |
4753 | * ipa-inline-analysis.c (remap_edge_predicates): Fix handling | |
4754 | of empty predicate. | |
4755 | ||
047d33a0 AO |
4756 | 2011-06-04 Alexandre Oliva <aoliva@redhat.com> |
4757 | ||
4758 | PR debug/48333 | |
4759 | * calls.c (emit_call_1): Prefer the __builtin declaration of | |
4760 | builtin functions. | |
4761 | ||
dc587809 DN |
4762 | 2011-06-03 Diego Novillo <dnovillo@google.com> |
4763 | ||
4764 | * lto-streamer-in.c (unpack_value_fields): Remove unneeded asserts. | |
4765 | (lto_input_tree_pointers): Likewise. | |
4766 | * lto-streamer-out.c (pack_value_fields): Likewise. | |
4767 | (lto_output_tree_pointers): Likewise. | |
4768 | * lto-streamer.h (lto_is_streamable): Add check for OMP_CLAUSE | |
4769 | and OPTIMIZATION_NODE. | |
4770 | ||
58cd1d70 RO |
4771 | 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4772 | ||
4773 | * config/alpha/linux.h (MD_UNWIND_SUPPORT): Remove. | |
4774 | * config/alpha/osf5.h (MD_UNWIND_SUPPORT): Remove. | |
4775 | * config/alpha/vms.h (MD_UNWIND_SUPPORT): Remove. | |
4776 | * config/bfin/linux.h (MD_UNWIND_SUPPORT): Remove. | |
4777 | * config/bfin/uclinux.h (MD_UNWIND_SUPPORT): Remove. | |
4778 | * config/i386/linux.h (MD_UNWIND_SUPPORT): Remove. | |
4779 | * config/i386/linux64.h (MD_UNWIND_SUPPORT): Remove. | |
4780 | * config/i386/sol2.h (MD_UNWIND_SUPPORT): Remove. | |
4781 | * config/i386/mingw32.h (MD_UNWIND_SUPPORT): Remove. | |
4782 | * config/ia64/linux.h (MD_UNWIND_SUPPORT): Remove. | |
4783 | * config/ia64/vms.h (MD_UNWIND_SUPPORT): Remove. | |
4784 | * config/m68k/linux.h (MD_UNWIND_SUPPORT): Remove. | |
4785 | * config/mips/linux.h (MD_UNWIND_SUPPORT): Remove. | |
4786 | * config/pa/pa-hpux.h (MD_UNWIND_SUPPORT): Remove. | |
4787 | * config/pa/pa32-linux.h (MD_UNWIND_SUPPORT): Remove. | |
4788 | * config/rs6000/darwin.h (MD_UNWIND_SUPPORT): Remove. | |
4789 | * config/rs6000/linux.h (MD_UNWIND_SUPPORT): Remove. | |
4790 | * config/rs6000/linux64.h (MD_UNWIND_SUPPORT): Remove. | |
4791 | * config/s390/linux.h (MD_UNWIND_SUPPORT): Remove. | |
4792 | * config/s390/tpf.h (MD_UNWIND_SUPPORT): Remove. | |
4793 | * config/sh/linux.h (MD_UNWIND_SUPPORT): Remove. | |
4794 | * config/sparc/linux.h (MD_UNWIND_SUPPORT): Remove. | |
4795 | * config/sparc/linux64.h (MD_UNWIND_SUPPORT): Remove. | |
4796 | * config/sparc/sol2.h (MD_UNWIND_SUPPORT): Remove. | |
4797 | * config/xtensa/linux.h (MD_UNWIND_SUPPORT): Remove. | |
4798 | * config/alpha/linux-unwind.h: Move to ../libgcc/config/alpha. | |
4799 | * config/alpha/osf5-unwind.h: Move to ../libgcc/config/alpha. | |
4800 | * config/alpha/vms-unwind.h: Move to ../libgcc/config/alpha. | |
4801 | * config/bfin/linux-unwind.h: Move to ../libgcc/config/bfin. | |
4802 | * config/i386/linux-unwind.h: Move to ../libgcc/config/i386. | |
4803 | * config/i386/sol2-unwind.h: Move to ../libgcc/config/i386. | |
4804 | * config/i386/w32-unwind.h: Move to ../libgcc/config/i386. | |
4805 | * config/ia64/linux-unwind.h: Move to ../libgcc/config/ia64. | |
4806 | * config/ia64/vms-unwind.h: Move to ../libgcc/config/ia64. | |
4807 | * config/m68k/linux-unwind.h: Move to ../libgcc/config/m68k. | |
4808 | * config/mips/linux-unwind.h: Move to ../libgcc/config/mips. | |
4809 | * config/pa/hpux-unwind.h: Move to ../libgcc/config/pa. | |
4810 | * config/pa/linux-unwind.h: Move to ../libgcc/config/pa. | |
4811 | * config/rs6000/darwin-unwind.h: Move to ../libgcc/config/rs6000. | |
4812 | * config/rs6000/linux-unwind.h: Move to ../libgcc/config/rs6000. | |
4813 | * config/s390/linux-unwind.h: Move to ../libgcc/config/s390. | |
4814 | * config/s390/tpf-unwind.h: Move to ../libgcc/config/s390. | |
4815 | * config/sh/linux-unwind.h: Move to ../libgcc/config/sh. | |
4816 | * config/sparc/linux-unwind.h: Move to ../libgcc/config/sparc. | |
4817 | * config/sparc/sol2-unwind.h: Move to ../libgcc/config/sparc. | |
4818 | * config/xtensa/linux-unwind.h: Move to ../libgcc/config/xtensa. | |
4819 | * config/darwin9.h (DARWIN_LIBSYSTEM_HAS_UNWIND): Remove. | |
4820 | * system.h (MD_UNWIND_SUPPORT): Poison. | |
4821 | * doc/tm.texi.in (Exception Handling, MD_UNWIND_SUPPORT): Remove. | |
4822 | * doc/tm.texi: Regenerate. | |
4823 | * unwind-dw2.c: Include md-unwind-support.h instead of | |
4824 | MD_UNWIND_SUPPORT. | |
4825 | * config/ia64/unwind-ia64.c: Likewise. | |
4826 | * config/xtensa/unwind-dw2-xtensa.c: Likewise. | |
4827 | ||
10c63ba4 | 4828 | 2011-06-03 Jack Howarth <howarth@bromo.med.uc.edu> |
34e0c8d5 JH |
4829 | |
4830 | * varpool.c (varpool_extra_name_alias): Return NULL, not false. | |
4831 | ||
1b7a0148 RH |
4832 | 2011-06-03 Richard Henderson <rth@redhat.com> |
4833 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
4834 | ||
4835 | * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__] | |
4836 | (sigill_hdlr): Correct insn, insn size. | |
4837 | (set_fast_math) [!__x86_64__ && __sun__ && __svr4__]: Use movaps. | |
4838 | ||
737346fa RO |
4839 | 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4840 | ||
4841 | * config.gcc (mips-sgi-irix6.5*): Set tmake_file to mips/t-irix6 | |
4842 | t-slibgcc-dummy. | |
4843 | * config/mips/irix-crti.asm: Move to ../libgcc/config/mips/irix-crti.S. | |
4844 | * config/mips/irix-crtn.asm: Move to ../libgcc/config/mips/irix-crtn.S. | |
4845 | * config/mips/t-iris: Remove. | |
4846 | * config/mips/t-irix6: New file. | |
4847 | * config/mips/t-slibgcc-irix: Move to ../libgcc/config/mips. | |
4848 | ||
c192cee6 RO |
4849 | 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4850 | ||
4851 | * Makefile.in (LIB2ADDEHDEP): Remove. | |
4852 | * config/arm/t-bpabi (LIB2ADDEHDEP): Remove. | |
4853 | * config/arm/t-symbian (LIB2ADDEHDEP): Remove. | |
4854 | * config/picochip/t-picochip (LIB2ADDEHDEP): Remove. | |
4855 | * config/t-darwin (LIB2ADDEHDEP): Remove. | |
4856 | * config/t-freebsd (LIB2ADDEHDEP): Remove. | |
4857 | * config/t-linux (LIB2ADDEHDEP): Remove. | |
4858 | ||
d5828cc7 DN |
4859 | 2011-06-03 Diego Novillo <dnovillo@google.com> |
4860 | ||
4861 | * lto-streamer-in.c (get_resolution): Move to lto/lto.c. | |
4862 | (lto_register_var_decl_in_symtab): Likewise. | |
4863 | (lto_register_function_decl_in_symtab): Likewise. | |
4864 | (lto_read_tree): Move VAR_DECL and FUNCTION_DECL registration | |
8929d9ea | 4865 | logic to uniquify_nodes. |
d5828cc7 | 4866 | |
ee33b5f0 RO |
4867 | 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4868 | ||
4869 | * config/alpha/t-osf5: Remove. | |
4870 | * config/alpha/t-osf-pthread: Remove. | |
4871 | * config.gcc (alpha*-dec-osf5.1*): Set tmake_file to t-slibgcc-dummy. | |
4872 | * mkmap-flat.awk: Handle osf_export for Tru64 UNIX linker -input file. | |
4873 | ||
16868d84 JB |
4874 | 2011-06-03 Julian Brown <julian@codesourcery.com> |
4875 | ||
4876 | * config/arm/arm-cores.def (strongarm, strongarm110, strongarm1100) | |
4877 | (strongarm1110): Use strongarm tuning. | |
4d3d7f15 | 4878 | * config/arm/arm-protos.h (tune_params): Add max_insns_skipped field. |
16868d84 JB |
4879 | * config/arm/arm.c (arm_strongarm_tune): New. |
4880 | (arm_slowmul_tune, arm_fastmul_tune, arm_xscale_tune, arm_9e_tune) | |
4881 | (arm_v6t2_tune, arm_cortex_tune, arm_cortex_a5_tune) | |
4882 | (arm_cortex_a9_tune, arm_fa726te_tune): Add max_insns_skipped field | |
4883 | setting, using previous defaults or 1 for Cortex-A5. | |
4884 | (arm_option_override): Set max_insns_skipped from current tuning. | |
4885 | ||
1cec1285 NS |
4886 | 2011-06-03 Nathan Sidwell <nathan@codesourcery.com> |
4887 | ||
4888 | * doc/install.texi (Options specification): Document --with-specs. | |
4889 | ||
eed55426 RR |
4890 | 2011-06-02 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
4891 | ||
4892 | * config/arm/neon.md (orndi3_neon): Actually split it. | |
4893 | ||
d5b6cc25 AO |
4894 | 2011-06-02 Alexandre Oliva <aoliva@redhat.com> |
4895 | ||
4896 | * params.def (PARAM_MAX_VARTRACK_EXPR_DEPTH): Bump default to 10. | |
4897 | * var-tracking.c (reverse_op): Limite recurse depth to 5. | |
4898 | ||
2ba42841 AO |
4899 | 2011-06-02 Alexandre Oliva <aoliva@redhat.com> |
4900 | ||
4901 | PR debug/47590 | |
4902 | * target.def (delay_sched2, delay_vartrack): New. | |
4903 | * doc/tm.texi.in: Update. | |
4904 | * doc/tm.texi: Rebuild. | |
4905 | * sched-rgn.c (gate_handle_sched2): Fail if delay_sched2. | |
4906 | * var-tracking.c (gate_handle_var_tracking): Likewise. | |
4907 | * config/bfin/bfin.c (bfin_flag_schedule_insns2): Drop. | |
4908 | (bfin_flag_var_tracking): Drop. | |
4909 | (output_file_start): Don't save and override flag_var_tracking. | |
4910 | (bfin_option_override): Ditto flag_schedule_insns_after_reload. | |
4911 | (bfin_reorg): Test original variables. | |
4912 | (TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define. | |
4913 | * config/ia64/ia64.c (ia64_flag_schedule_insns2): Drop. | |
4914 | (ia64_flag_var_tracking): Drop. | |
4915 | (TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define. | |
4916 | (ia64_file_start): Don't save and override flag_var_tracking. | |
4917 | (ia64_override_options_after_change): Ditto | |
4918 | flag_schedule_insns_after_reload. | |
4919 | (ia64_reorg): Test original variables. | |
4920 | * config/picochip/picochip.c (picochip_flag_schedule_insns2): Drop. | |
4921 | (picochip_flag_var_tracking): Drop. | |
4922 | (TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define. | |
4923 | (picochip_option_override): Don't save and override | |
4924 | flag_schedule_insns_after_reload. | |
4925 | (picochip_asm_file_start): Ditto flag_var_tracking. | |
4926 | (picochip_reorg): Test original variables. | |
4927 | * config/spu/spu.c (spu_flag_var_tracking): Drop. | |
4928 | (TARGET_DELAY_VARTRACK): Define. | |
4929 | (spu_var_tracking): New. | |
4930 | (spu_machine_dependent_reorg): Call it. | |
4931 | (asm_file_start): Don't save and override flag_var_tracking. | |
4932 | ||
a700b5f0 KK |
4933 | 2011-06-02 Kaz Kojima <kkojima@gcc.gnu.org> |
4934 | ||
4935 | PR target/49163 | |
4936 | * config/sh/predicates.md (general_movsrc_operand): Return 0 | |
4937 | for memory and memory subreg of which address is an invalid | |
4938 | indexed address for QI and HImode. | |
4939 | (general_movdst_operand): Likewise. | |
4940 | ||
76015c34 EB |
4941 | 2011-06-02 Eric Botcazou <ebotcazou@adacore.com> |
4942 | ||
4943 | * cse.c (cse_find_path): Refine change to exclude EDGE_ABNORMAL_CALL | |
4944 | edges only, when there is a non-local label in the function. | |
4945 | * postreload-gcse.c (bb_has_well_behaved_predecessors): Likewise. | |
4946 | ||
4e76acd2 UB |
4947 | 2011-06-02 Uros Bizjak <ubizjak@gmail.com> |
4948 | ||
4949 | * config/i386/constraints.md (Y3): New register constraint. | |
4950 | * config/i386/sse.md (*vec_interleave_highv2df): Merge with | |
4951 | *sse3_interleave_highv2df and *sse2_interleave_highv2df. | |
4952 | (*vec_interleave_lowv2df): Merge with *sse3_interleave_lowv2df and | |
4953 | *sse2_interleave_lowv2df. | |
4954 | ||
288f605f JB |
4955 | 2011-06-02 Julian Brown <julian@codesourcery.com> |
4956 | ||
4957 | * config/arm/arm-cores.def (cortex-a5): Use cortex_a5 tuning. | |
4958 | * config/arm/arm.c (arm_cortex_a5_branch_cost): New. | |
4959 | (arm_cortex_a5_tune): New. | |
4960 | ||
7ec70105 JB |
4961 | 2011-06-02 Julian Brown <julian@codesourcery.com> |
4962 | ||
153668ec JB |
4963 | * config/arm/arm-protos.h (tune_params): Add branch_cost hook. |
4964 | * config/arm/arm.c (arm_default_branch_cost): New. | |
4965 | (arm_slowmul_tune, arm_fastmul_tune, arm_xscale_tune, arm_9e_tune) | |
4966 | (arm_v6t2_tune, arm_cortex_tune, arm_cortex_a9_tune) | |
4967 | (arm_fa726_tune): Set branch_cost field using | |
4968 | arm_default_branch_cost. | |
4969 | * config/arm/arm.h (BRANCH_COST): Use branch_cost hook from | |
4970 | current_tune structure. | |
4971 | * dojump.c (tm_p.h): Include file. | |
4972 | ||
4973 | 2011-06-02 Julian Brown <julian@codesourcery.com> | |
4974 | ||
4975 | * config/arm/arm-cores.def (arm1156t2-s, arm1156t2f-s): Use v6t2 | |
4976 | tuning. | |
7ec70105 JB |
4977 | (cortex-a5, cortex-a8, cortex-a15, cortex-r4, cortex-r4f, cortex-m4) |
4978 | (cortex-m3, cortex-m1, cortex-m0): Use cortex tuning. | |
4979 | * config/arm/arm-protos.h (tune_params): Add prefer_constant_pool | |
4980 | field. | |
4981 | * config/arm/arm.c (arm_slowmul_tune, arm_fastmul_tune) | |
4982 | (arm_xscale_tune, arm_9e_tune, arm_cortex_a9_tune) | |
4983 | (arm_fa726te_tune): Add prefer_constant_pool setting. | |
4984 | (arm_v6t2_tune, arm_cortex_tune): New. | |
4985 | * config/arm/arm.h (TARGET_USE_MOVT): Make dependent on | |
4986 | prefer_constant_pool setting. | |
4987 | ||
aad61732 UB |
4988 | 2011-06-02 Uros Bizjak <ubizjak@gmail.com> |
4989 | ||
4e76acd2 UB |
4990 | * config/i386/i386.c (standard_sse_constant_p) <case 1>: Simplify |
4991 | switch statement. | |
aad61732 UB |
4992 | * config/i386/i386.md (*movdf_internal_rex64) <case 8,9,10>: Ditto. |
4993 | (*movdf_internal) <case 6,7,8>: Ditto. | |
4994 | ||
4e76acd2 | 4995 | * config/i386/constraints.md (Y4): New register constraint. |
aad61732 UB |
4996 | * config/i386/sse.md (vec_set<mode>_0): Merge with |
4997 | *vec_set<mode>_0_sse4_1 and *vec_set<mode>_0_sse2. | |
4998 | (*vec_extractv2di_1): Merge from *vec_extractv2di_1_sse2 and | |
4999 | *vec_extractv2di_1_sse. | |
5000 | (*vec_concatv2di_rex64): Merge from *vec_concatv2di_rex64_sse4_1 | |
5001 | and *vec_concatv2di_rex64_sse. | |
5002 | ||
6e588138 SH |
5003 | 2011-06-02 Stuart Henderson <shenders@gcc.gnu.org> |
5004 | ||
5005 | PR target/48807 | |
5006 | * config/bfin/bfin.c (bfin_function_ok_for_sibcall): Check return value | |
5007 | of cgraph_local_info for null before attempting to use it. | |
5008 | ||
bc6d3f91 EB |
5009 | 2011-06-02 Eric Botcazou <ebotcazou@adacore.com> |
5010 | ||
5011 | * function.h (struct stack_usage): Remove dynamic_alloc_count field. | |
5012 | (current_function_dynamic_alloc_count): Delete. | |
5013 | * builtins.c (expand_builtin_setjmp_setup): Do not set calls_setjmp. | |
5014 | (expand_builtin_nonlocal_goto): Remove obsolete comment. | |
5015 | (expand_builtin_update_setjmp_buf): Remove dead code. | |
5016 | * cse.c (cse_find_path): Do not follow a single abnormal incoming edge. | |
5017 | * explow.c (allocate_dynamic_stack_space): Remove SETJMP_VIA_SAVE_AREA | |
5018 | support. | |
5019 | * function.c (instantiate_virtual_regs): Likewise. | |
5020 | * postreload-gcse.c (bb_has_well_behaved_predecessors): Return false | |
5021 | for a block with a single abnormal incoming edge. | |
5022 | * config/sparc/sparc.h (STACK_SAVEAREA_MODE): Define. | |
a21ede65 | 5023 | (SETJMP_VIA_SAVE_AREA): Delete. |
bc6d3f91 EB |
5024 | * config/sparc/sparc-protos.h (load_got_register): Declare. |
5025 | * config/sparc/sparc.c (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Define. | |
5026 | (load_got_register): Make global. | |
5027 | (sparc_frame_pointer_required): Add 'static'. | |
5028 | (sparc_can_eliminate): Likewise. Call sparc_frame_pointer_required. | |
5029 | (sparc_builtin_setjmp_frame_value): New function. | |
5030 | * config/sparc/sparc.md (UNSPECV_SETJMP): Remove. | |
5031 | (save_stack_nonlocal): New expander. | |
5032 | (restore_stack_nonlocal): Likewise. | |
5033 | (nonlocal_goto): Remove modes, adjust predicates and reimplement. | |
5034 | (nonlocal_goto_internal): New insn. | |
5035 | (goto_handler_and_restore): Delete. | |
5036 | (builtin_setjmp_setup): Likewise. | |
5037 | (do_builtin_setjmp_setup): Likewise. | |
5038 | (setjmp): Likewise. | |
5039 | (builtin_setjmp_receiver): New expander. | |
5040 | ||
69282fee DL |
5041 | 2011-06-01 David Li <davidxl@google.com> |
5042 | ||
5043 | PR middle-end/49261 | |
5044 | * tree-pretty-print.c (dump_function_header): Format cleanup. | |
5045 | ||
e95873dd KK |
5046 | 2011-06-01 Kaz Kojima <kkojima@gcc.gnu.org> |
5047 | ||
5048 | PR target/49238 | |
5049 | * config/sh/sh.c (expand_cbranchdi4): Use a scratch register if | |
5050 | needed when original operands are used for msw_skip comparison. | |
5051 | ||
88c15821 JJ |
5052 | 2011-06-01 Jakub Jelinek <jakub@redhat.com> |
5053 | ||
5054 | PR debug/49250 | |
5055 | * var-tracking.c (add_uses, add_stores): Don't call | |
5056 | cselib_subst_to_values on ENTRY_VALUE. | |
5057 | ||
07233947 DN |
5058 | 2011-06-01 Diego Novillo <dnovillo@google.com> |
5059 | ||
5060 | * lto-streamer-out.c (lto_output_ts_decl_with_vis_tree_pointers): Call | |
5061 | output_record_start with LTO_null instead of output_zero. | |
5062 | (lto_output_ts_binfo_tree_pointers): Likewise. | |
5063 | (lto_output_tree): Likewise. | |
5064 | (output_eh_try_list): Likewise. | |
5065 | (output_eh_region): Likewise. | |
5066 | (output_eh_lp): Likewise. | |
5067 | (output_eh_regions): Likewise. | |
5068 | (output_bb): Likewise. | |
5069 | (output_function): Likewise. | |
5070 | (output_unreferenced_globals): Likewise. | |
5071 | * lto-streamer.h (enum LTO_tags): Reserve MAX_TREE_CODES | |
5072 | instead of NUM_TREE_CODES. | |
5073 | (lto_tag_is_tree_code_p): Check max value against MAX_TREE_CODES. | |
5074 | (lto_output_int_in_range): Change << to >> when shifting VAL. | |
5075 | ||
4ee3537a DN |
5076 | 2011-06-01 Diego Novillo <dnovillo@google.com> |
5077 | ||
5078 | * lto-streamer-out.c (lto_output_ts_decl_non_common_tree_pointers): | |
5079 | Remove assertion for DECL_SAVED_TREE in FUNCTION_DECL nodes. | |
5080 | ||
02972eaf RS |
5081 | 2011-06-01 Richard Sandiford <rdsandiford@googlemail.com> |
5082 | ||
5083 | PR target/45074 | |
5084 | * optabs.h (valid_multiword_target_p): Declare. | |
5085 | * expmed.c (extract_bit_field_1): Check valid_multiword_target_p when | |
5086 | doing multi-word operations. | |
5087 | * optabs.c (expand_binop): Likewise. | |
5088 | (expand_doubleword_bswap): Likewise. | |
5089 | (expand_absneg_bit): Likewise. | |
5090 | (expand_unop): Likewise. | |
5091 | (expand_copysign_bit): Likewise. | |
5092 | (multiword_target_p): New function. | |
5093 | ||
4d41c2d1 RS |
5094 | 2011-06-01 Richard Sandiford <rdsandiford@googlemail.com> |
5095 | ||
5096 | PR rtl-optimization/48830 | |
5097 | PR rtl-optimization/48808 | |
5098 | PR rtl-optimization/48792 | |
5099 | * reload.c (push_reload): Check contains_reg_of_mode. | |
5100 | * reload1.c (strip_paradoxical_subreg): New function. | |
5101 | (gen_reload_chain_without_interm_reg_p): Use it to handle | |
5102 | paradoxical subregs. | |
5103 | (emit_output_reload_insns, gen_reload): Likewise. | |
5104 | ||
5f57dccb DL |
5105 | 2011-06-01 David Li <davidxl@google.com> |
5106 | ||
5107 | * predict.c : Change pass name | |
5108 | * ipa.c: Ditto. | |
5109 | * dce.c: Ditto. | |
5110 | * tree-profile.c: Ditto. | |
5111 | * except.c: Ditto. | |
5112 | ||
ea6cf778 DL |
5113 | 2011-06-01 David Li <davidxl@google.com> |
5114 | ||
5115 | * tree-pretty-print.c (dump_function_header): New function. | |
5116 | * final.c (rest_of_clean_state): Use header dumper. | |
5117 | * tree-cfg.c (gimple_dump_cfg): Use header dumper. | |
5118 | * passes.c (pass_init_dump_file): Use header dumper. | |
5119 | ||
ebdc0d4b JJ |
5120 | 2011-06-01 Jakub Jelinek <jakub@redhat.com> |
5121 | ||
eeeb9b49 JJ |
5122 | * dwarf2out.c (compare_loc_descriptor, scompare_loc_descriptor, |
5123 | ucompare_loc_descriptor, minmax_loc_descriptor, clz_loc_descriptor, | |
5124 | popcount_loc_descriptor, bswap_loc_descriptor, rotate_loc_descriptor): | |
5125 | New functions. | |
5126 | (mem_loc_descriptor): Use them. | |
5127 | ||
ebdc0d4b JJ |
5128 | * var-tracking.c (create_entry_value): New function. |
5129 | (vt_add_function_parameter): Use it. | |
5130 | ||
0699e415 RO |
5131 | 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5132 | ||
5133 | * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]: | |
5134 | Include <signal.h>, <ucontext.h>. | |
5135 | (sigill_caught): Define. | |
5136 | (sigill_hdlr): New function. | |
5137 | (set_fast_math) [!__x86_64__ && __sun__ && __svr4__]: Check if SSE | |
5138 | insns can be executed. | |
aad61732 | 5139 | * config/sol2.h (ENDFILE_SPEC): Use crtfastmath.o if -ffast-math etc. |
0699e415 RO |
5140 | * config/sparc/sol2.h (ENDFILE_SPEC): Remove. |
5141 | ||
ca24c5ad RO |
5142 | 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5143 | ||
5144 | * config/t-slibgcc-darwin: Move to ... | |
aad61732 | 5145 | * config/t-slibgcc-dummy: ... this. Clarify comments. |
ca24c5ad RO |
5146 | * config.gcc (i[34567]86-*-darwin*, x86_64-*-darwin*, |
5147 | powerpc-*-darwin*, powerpc64-*-darwin*): Reflect this. | |
5148 | (i[3456x]86-*-netware*): Add t-slibgcc-dummy to tmake_file. | |
aad61732 | 5149 | (i[34567]86-*-rtems*): Remove extra_parts. Use i386/t-rtems. |
ca24c5ad RO |
5150 | Remove i386/t-crtstuff from tmake_file. |
5151 | (i[34567]86-*-solaris2*): Remove t-svr4, | |
5152 | t-slibgcc-elf-ver, t-slibgcc-sld from tmake_file, add | |
5153 | t-slibgcc-dummy. | |
5154 | (sparc-*-elf*, sparc64-*-elf*): Remove tmake_file, extra_parts. | |
5155 | (sparc-*-rtems*, sparc64-*-rtems*): Remove sparc/t-crtin, | |
5156 | sparc/t-crtfm from tmake_file. | |
5157 | (sparc*-*-solaris2*): Remove sparc/t-sol2, sparc/t-crtfm, | |
5158 | t-slibgcc-elf-ver, t-slibgcc-sld, add t-slibgcc-dummy. | |
5159 | Remove extra_parts. | |
5160 | * config/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define. | |
5161 | * config/i386/t-nwld (SHLIB_LINK): Remove. | |
5162 | * config/i386/t-rtems-i386: Rename to ... | |
5163 | * config/i386/t-rtems: ... this. | |
5164 | ($(T)crti.o, $(T)crtn.o): Remove. | |
5165 | (FPBIT, DPBIT, LIB2FUNCS_EXTRA): Remove. | |
5166 | (dp-bit.c, fp-bit.c, xp-bit.c): Remove. | |
5167 | (EXTRA_MULTILIB_PARTS, LIBGCC, INSTALL_LIBGCC): Remove. | |
5168 | * config/i386/t-sol2-10 (LIBGCC, INSTALL_LIBGCC, | |
5169 | EXTRA_MULTILIB_PARTS): Remove. | |
5170 | * config/sparc/t-sol2-64: Likewise. | |
5171 | * config/sparc/t-sol2: Remove. | |
5172 | * config/sparc/t-crtin: Remove. | |
5173 | * config/sparc/gmon-sol2.c: Move to ../libgcc/config. | |
5174 | * config/i386/gmon-sol2.c: Remove. | |
5175 | * config/i386/sol2-c1.asm: Move to ../libgcc/config/i386/sol2-c1.S. | |
5176 | * config/i386/sol2-ci.asm: Move to ../libgcc/config/i386/sol2-ci.S. | |
5177 | * config/i386/sol2-cn.asm: Move to ../libgcc/config/i386/sol2-cn.S. | |
5178 | * config/i386/sol2-gc1.asm: Remove. | |
5179 | * config/sparc/sol2-c1.asm: Move to ../libgcc/config/sparc/sol2-c1.S. | |
5180 | * config/sparc/sol2-ci.asm: Move to ../libgcc/config/sparc/sol2-ci.S. | |
5181 | * config/sparc/sol2-cn.asm: Move to ../libgcc/config/sparc/sol2-cn.S. | |
5182 | * config/t-slibgcc-sld: Remove. | |
5183 | ||
a78d13c3 JJ |
5184 | 2011-06-01 Jakub Jelinek <jakub@redhat.com> |
5185 | ||
5186 | * dwarf2out.c (mem_loc_descriptor) <do_ucompare>: Call | |
5187 | base_type_for_mode with op_mode instead of mode. | |
5188 | ||
572070ef PB |
5189 | 2011-06-01 Paul Brook <paul@cpodesourcery.com> |
5190 | ||
5191 | * config/arm/arm-cores.def: Add cortex-r5. Add DIV flags to | |
5192 | Cortex-A15. | |
5193 | * config/arm/arm-tune.md: Regenerate. | |
5194 | * config/arm/arm-tables.opt: Regenerate. | |
5195 | * config/arm/arm.c (FL_DIV): Rename... | |
5196 | (FL_THUMB_DIV): ... to this. | |
5197 | (FL_ARM_DIV): Define. | |
5198 | (FL_FOR_ARCH7R, FL_FOR_ARCH7M): Use FL_THUMB_DIV. | |
5199 | (arm_arch_hwdiv): Remove. | |
5200 | (arm_arch_thumb_hwdiv, arm_arch_arm_hwdiv): New variables. | |
5201 | (arm_issue_rate): Add cortexr5. | |
5202 | * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Set | |
5203 | __ARM_ARCH_EXT_IDIV__. | |
5204 | (TARGET_IDIV): Define. | |
5205 | (arm_arch_hwdiv): Remove. | |
5206 | (arm_arch_arm_hwdiv, arm_arch_thumb_hwdiv): New prototypes. | |
5207 | * config/arm/arm.md (tune_cortexr4): Add cortexr5. | |
5208 | (divsi3, udivsi3): New patterns. | |
5209 | * config/arm/thumb2.md (divsi3, udivsi3): Remove. | |
5210 | * doc/invoke.texi: Document ARM -mcpu=cortex-r5 | |
5211 | ||
11026b51 MJ |
5212 | 2011-06-01 Martin Jambor <mjambor@suse.cz> |
5213 | ||
5214 | * ipa-utils.c (ipa_dfs_info): New field scc_no. | |
5215 | * ipa-utils.c (searchc): Set scc_no. | |
5216 | ||
b6156cf2 MJ |
5217 | 2011-06-01 Martin Jambor <mjambor@suse.cz> |
5218 | ||
5219 | * ipa-utils.c (searchc_env): New field allow_overwritable. | |
5220 | (searchc): do not ignore edges to overwritable nodes if indicated | |
5221 | by env->allow_overwritable. | |
5222 | (ipa_reduced_postorder): Set env.allow_overwritable. | |
5223 | ||
6807da97 RG |
5224 | 2011-06-01 Richard Guenther <rguenther@suse.de> |
5225 | ||
5226 | * tree.c (free_lang_data): Do not reset boolean_type_node nor | |
5227 | char_type_node. | |
5228 | * lto-streamer.c (lto_record_common_node): Take node pointer, | |
5229 | do not register types. | |
5230 | (lto_preload_common_nodes): Explicitly skip preloading nodes | |
5231 | that differ between frontends. | |
5232 | ||
66bd20e7 | 5233 | 2011-05-31 Pat Haugen <pthaugen@us.ibm.com> |
ddaf42bc PH |
5234 | |
5235 | * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Remove vr0..vr2 from | |
5236 | NON_FLOAT_REGS. | |
5237 | ||
66bd20e7 | 5238 | 2011-05-31 Pat Haugen <pthaugen@us.ibm.com> |
abdd692e PH |
5239 | |
5240 | * config/rs6000/rs6000.c (rs6000_register_move_cost): Preserve from | |
5241 | parameter value for dump. Dump cost on outermost call only. | |
5242 | (rs6000_memory_move_cost): Dump cost on outermost call only. | |
5243 | ||
7351d8da JJ |
5244 | 2011-05-31 Jakub Jelinek <jakub@redhat.com> |
5245 | ||
ead7c399 JJ |
5246 | * dwarf2out.c (resolve_addr_in_expr): Optimize away redundant |
5247 | DW_OP_GNU_convert ops. | |
5248 | ||
509f4495 JJ |
5249 | * cselib.c (promote_debug_loc): Allow l->next non-NULL for |
5250 | cselib_preserve_constants. | |
5251 | (cselib_lookup_1): If cselib_preserve_constants, | |
5252 | a new VALUE is being created for REG and there is a VALUE for the | |
5253 | same register in wider mode, add another loc with lowpart SUBREG of | |
5254 | the wider VALUE. | |
5255 | (cselib_subst_to_values): Handle ENTRY_VALUE. | |
5256 | * var-tracking.c (replace_expr_with_values): Return NULL for | |
5257 | ENTRY_VALUE too. | |
5258 | * dwarf2out.c (convert_descriptor_to_signed): New function. | |
5259 | (mem_loc_descriptor) <case ZERO_EXTEND>: Optimize using DW_OP_and | |
5260 | instead of two shifts. | |
5261 | (mem_loc_descriptor) <do_shift>: ZERO_EXTEND second argument to | |
5262 | the right mode if needed. | |
5263 | (mem_loc_descriptor) <case MOD>: For typed ops just use DW_OP_mod. | |
5264 | (mem_loc_descriptor) <case UNSIGNED_FIX>: Use | |
5265 | convert_descriptor_to_signed. | |
5266 | (mem_loc_descriptor) <case UDIV, CLZ, CTZ, FFS, POPCOUNT, PARITY, | |
5267 | BSWAP, ROTATE, ROTATERT>: Handle these rtls. | |
5268 | ||
7351d8da JJ |
5269 | PR target/48688 |
5270 | * config/i386/i386.md (*lea_general_4): New define_insn_and_split. | |
5271 | ||
5cc93ee0 UB |
5272 | 2011-05-31 Uros Bizjak <ubizjak@gmail.com> |
5273 | ||
5274 | * config/i386/i386.md: Use SWI248x instead of X87MODEI, SWI24 instead | |
5275 | of X87MODEI12 and SWI48x instead of SSEMODEI24. | |
5276 | (SWI248x): New mode iterator, rename from X87MODEI. | |
5277 | (X87MODEI): Remove mode iterator. | |
5278 | (X87MODEI12): Ditto. | |
5279 | (SSEMODEI24): Ditto. | |
5280 | ||
f0686e78 AO |
5281 | 2011-05-31 Alexandre Oliva <aoliva@redhat.com> |
5282 | ||
5283 | * params.def (PARAM_MAX_VARTRACK_EXPR_DEPTH): New. | |
5284 | * doc/invoke.texi: Document max-vartrack-expr-depth. | |
5285 | * var-tracking.c (EXPR_DEPTH): New. | |
5286 | (reverse_op, vt_expand_loc, vt_expand_loc_dummy): Use it. | |
5287 | ||
f3308413 AO |
5288 | 2011-05-31 Alexandre Oliva <aoliva@redhat.com> |
5289 | ||
5290 | * config/i386/i386.c (ix86_rtx_costs): Drop NEG from sub for FMA. | |
5291 | * config/i386/sse.md: Add n to negated FMA pattern names. | |
5292 | ||
28c14a04 AO |
5293 | 2011-05-31 Alexandre Oliva <aoliva@redhat.com> |
5294 | ||
5295 | * gcc.c (driver_handle_option): Fix disabling of -fcompare-debug. | |
5296 | ||
70efc82d AO |
5297 | 2011-05-31 Alexandre Oliva <aoliva@redhat.com> |
5298 | ||
5cc93ee0 | 5299 | * gengtype-state.c (read_state_params_structs): Initialize previous. |
70efc82d | 5300 | |
6ba5d856 UB |
5301 | 2011-05-31 Uros Bizjak <ubizjak@gmail.com> |
5302 | ||
5303 | * config/i386/i386.md (*pushxf_nointeger): Merge alternatives 1 and 2. | |
5304 | (FP push_operand splitters): Merge {TF,XF,DF}mode splitters. | |
5305 | ||
5306 | 2011-05-31 Uros Bizjak <ubizjak@gmail.com> | |
5307 | ||
5308 | * config/i386/i386.md (*movtf_internal): Avoid allocating general | |
5309 | registers. Penalize F*r->o alternative to prevent partial memory | |
5310 | stalls. Slightly penalize *roF->*r alternative. Generate SSE | |
5311 | CONST_DOUBLE immediates when optimizing function for size. Do not move | |
5312 | CONST_DOUBLEs directly to memory for !TARGET_MEMORY_MISMATCH_STALL. | |
5313 | (*movxf_internal): Slightly penalize Yx*roF->Yx*r alternative. | |
5314 | (*movdf_internal): Slightly penalize Yd*roF->Yd*r alternative. | |
5315 | (*movdf_internal_rex64): Slightly penalize rm->r, F->m and r->m | |
5316 | alternatives. | |
5317 | (*movsf_internal): Slightly penalize rmF->r and Fr->m alternatives. | |
5318 | ||
5319 | (fp_register_operand splitters): Use fp_register_operand | |
5320 | constraint. Do not use FP_REG_P in insn condition. | |
5321 | (any_fp_register_operand splitters): Use any_fp_register_operand | |
5322 | constraint. Do not use ANY_FP_REG_P in insn condition. | |
5323 | ||
533c07c5 JH |
5324 | 2011-05-31 Jan Hubicka <jh@suse.cz> |
5325 | ||
5326 | * cgraph.h (cgraph_inline_failed_t): Give enum a name | |
5327 | * lto-cgraph.c (LDPR_NUM_KNOWN): New macro. | |
5328 | (LTO_cgraph_tags): Add LTO_cgraph_last_tag. | |
5329 | (lto_output_edge): Use output_enum and var_len_unsigned. | |
5330 | (lto_output_varpool_node): Likewise. | |
5331 | (input_overwrite_node): Do not take resolution parameter; | |
5332 | extract it from a bitpack. | |
5333 | (input_node): Do not read resolution; use input_enum and | |
5334 | var_len_unsigned. | |
5335 | (input_varpool_node): Likewise. | |
5336 | (input_edge): Likewise. | |
5337 | (input_cgraph_1): Likewise. | |
5338 | ||
2611db71 RG |
5339 | 2011-05-31 Richard Guenther <rguenther@suse.de> |
5340 | ||
5341 | * gimple.c (gimple_register_canonical_type): Do not register | |
5342 | any types via gimple_register_type. | |
5343 | ||
b9e57365 JH |
5344 | 2011-05-31 Jan Hubicka <jh@suse.cz> |
5345 | ||
5346 | * lto-symtab.c (lto_symtab_merge_cgraph_nodes): Merge alias decl | |
5347 | of thunks. | |
5348 | ||
35979cc2 JJ |
5349 | 2011-05-31 Jakub Jelinek <jakub@redhat.com> |
5350 | ||
5351 | PR rtl-optimization/49235 | |
5352 | * tree-ssa-address.c (gen_addr_rtx): Ignore base if it is const0_rtx. | |
5353 | (create_mem_ref_raw): Create MEM_REF even if base is INTEGER_CST. | |
5354 | ||
8f7de592 IR |
5355 | 2011-05-31 Ira Rosen <ira.rosen@linaro.org> |
5356 | ||
5357 | PR tree-optimization/49093 | |
5358 | * tree-vect-data-refs.c (vect_analyze_data_refs): Fail for volatile | |
5359 | data references. | |
5360 | ||
8d8a3bda DS |
5361 | 2011-05-31 Dodji Seketeli <dodji@redhat.com> |
5362 | ||
5363 | PR debug/49047 | |
5364 | * dwarf2out.c (gen_subprogram_die): Emit linkage name attribute | |
6ba5d856 | 5365 | for concrete functions containing the code of cloned functions. |
8d8a3bda | 5366 | |
2e87621c RG |
5367 | 2011-05-31 Richard Guenther <rguenther@suse.de> |
5368 | ||
5369 | * tree-ssa-forwprop.c (forward_propagate_into_comparison): Rename | |
5370 | to ... | |
5371 | (forward_propagate_into_comparison_1): ... this. | |
5372 | (forward_propagate_comparison): Rename to ... | |
5373 | (forward_propagate_into_comparison): ... this. Split out | |
5374 | real forward propagation code to ... | |
5375 | (forward_propagate_comparison): ... this. | |
5376 | (forward_propagate_into_gimple_cond): Remove looping. | |
5377 | (forward_propagate_into_cond): Likewise. | |
5378 | (simplify_not_neg_expr): Return whether we have done something. | |
5379 | (simplify_gimple_switch): Likewise. | |
5380 | (tree_ssa_forward_propagate_single_use_vars): Rename to ... | |
5381 | (ssa_forward_propagate_and_combine): ... this. Re-structure | |
5382 | to do a forward forward-propagation walk on BBs and a backward | |
6ba5d856 | 5383 | stmt combining walk on BBs. Consistently re-scan changed statements. |
2e87621c RG |
5384 | (pass_forwprop): Adjust. |
5385 | ||
5a880d5d ILT |
5386 | 2011-05-30 Ian Lance Taylor <iant@google.com> |
5387 | ||
5388 | * godump.c (go_format_type): Correct length of name added to | |
5389 | obstack for anonymous field. | |
5390 | ||
5f133038 KK |
5391 | 2011-05-30 Kaz Kojima <kkojima@gcc.gnu.org> |
5392 | ||
5393 | PR target/49186 | |
5394 | * config/sh/sh.c (expand_cbranchdi4): Set msw_skip when the high | |
5395 | part of the second operand is 0. | |
5396 | ||
b17d5426 UB |
5397 | 2011-05-30 Uros Bizjak <ubizjak@gmail.com> |
5398 | ||
5399 | * config/i386/i386.md (*movxf_internal): Penalize FYx*r->o alternative | |
5400 | to prevent partial memory stalls. Do not move CONST_DOUBLEs directly | |
5401 | to memory for !TARGET_MEMORY_MISMATCH_STALL. | |
5402 | (*movdf_internal_rex64): Do not penalize F->r alternative. | |
6ba5d856 | 5403 | (*movdf_internal): Penalize FYd*r->o alternative to prevent partial |
b17d5426 UB |
5404 | memory stalls. Generate SSE and x87 CONST_DOUBLE immediates only |
5405 | when optimizing function for size. Do not move CONST_DOUBLEs | |
5406 | directly to memory for !TARGET_MEMORY_MISMATCH_STALL. | |
6ba5d856 UB |
5407 | (FP move splitters): Merge {TF,XF,DF}mode splitters. Do not handle |
5408 | SUBREGs. Do not check for MEM_P operands in the insn condition, | |
b17d5426 UB |
5409 | check for ANY_FP_REGNO_P instead. |
5410 | * config/i386/constraints.md (Yd): Enable GENERAL_REGS for | |
5411 | TARGET_64BIT and for TARGET_INTEGER_DFMODE_MOVES when optimizing | |
5412 | function for speed. | |
5413 | * config/i386/i386.c (ix86_option_override_internal): Do not | |
5414 | set TARGET_INTEGER_DFMODE_MOVES here. | |
5415 | ||
a0cd843f L |
5416 | 2011-05-30 H.J. Lu <hongjiu.lu@intel.com> |
5417 | ||
5418 | PR target/49168 | |
aad61732 | 5419 | * config/i386/i386.md (*movtf_internal): Handle misaligned load/store. |
a0cd843f | 5420 | |
006a5f38 JJ |
5421 | 2011-05-30 Jakub Jelinek <jakub@redhat.com> |
5422 | ||
5423 | * dwarf2out.c (modified_type_die, gen_reference_type_die): Use | |
5424 | DW_TAG_rvalue_reference_type even for | |
5425 | -gdwarf-4 -fno-debug-types-section. | |
5426 | ||
6e96f98a BS |
5427 | 2011-05-30 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5428 | ||
5429 | PR tree-optimization/46728 | |
5430 | * tree-ssa-math-opts.c (build_and_insert_call): Reorder parms. | |
5431 | (build_and_insert_binop): New. | |
5432 | (gimple_expand_builtin_pow): Reorder args for | |
5433 | build_and_insert_call; use build_and_insert_binop; add more | |
5434 | optimizations for fractional exponents. | |
b17d5426 | 5435 | |
4f60111f NF |
5436 | 2011-05-30 Nathan Froyd <froydnj@gcc.gnu.org> |
5437 | ||
5438 | PR bootstrap/49190 | |
5439 | ||
5440 | Revert: | |
5441 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> | |
5442 | ||
5443 | * tree.h (struct tree_identifier): Inherit from tree_typed, not | |
5444 | tree_common. | |
5445 | (HT_IDENT_TO_GCC_IDENT): Adjust for said change. | |
5446 | * tree.c (initialize_tree_contains_struct): Mark TS_IDENTIFIER as | |
5447 | TS_BASE instead of TS_COMMON. | |
5448 | * varasm.c (assemble_name): Remove assert. | |
5449 | ||
3fd7879d RS |
5450 | 2011-05-30 Richard Sandiford <rdsandiford@googlemail.com> |
5451 | ||
5452 | * config.gcc: Keep obselete list sorted. | |
5453 | ||
80060f7a JJ |
5454 | 2011-05-30 Jakub Jelinek <jakub@redhat.com> |
5455 | Eric Botcazou <ebotcazou@adacore.com> | |
5456 | ||
5457 | * var-tracking.c (vt_add_function_parameter): Remap incoming MEMs with | |
5458 | crtl->args.internal_arg_pointer based address to arg_pointer_rtx if | |
5459 | there is a DRAP register and arg_pointer_rtx is the CFA pointer. | |
5460 | (vt_init_cfa_base): Don't equate cfa_base_rtx if stack was realigned. | |
5461 | (vt_initialize): Initialize cfa_base_rtx if there is a DRAP register. | |
5462 | ||
17e99cdb RG |
5463 | 2011-05-30 Richard Guenther <rguenther@suse.de> |
5464 | ||
5465 | * gimple.c (gimple_types_compatible_p_1): Compare record | |
5466 | and union type members properly. | |
5467 | ||
42b05b6e RG |
5468 | 2011-05-30 Richard Guenther <rguenther@suse.de> |
5469 | ||
5470 | PR tree-optimization/49210 | |
6ba5d856 UB |
5471 | * ipa-split.c (split_function): Care for the case where the call |
5472 | result is not trivially convertible to the result holding variable. | |
42b05b6e | 5473 | |
f3321158 RG |
5474 | 2011-05-30 Richard Guenther <rguenther@suse.de> |
5475 | ||
5476 | PR tree-optimization/49218 | |
5477 | * tree-vrp.c (adjust_range_with_scev): Properly check whether | |
5478 | overflow occured. | |
5479 | ||
d12d8efe RG |
5480 | 2011-05-30 Richard Guenther <rguenther@suse.de> |
5481 | ||
5482 | * tree-ssa-forwprop.c (forward_propagate_into_comparison): | |
5483 | New function split out from ... | |
5484 | (forward_propagate_into_gimple_cond): ... here. Adjust. | |
5485 | (forward_propagate_into_cond): Likewise. | |
5486 | (forward_propagate_comparison): Also propagate into | |
5487 | comparisons on assignment RHS. Change return value to | |
5488 | behave similar to forward_propagate_into_cond. | |
5489 | (tree_ssa_forward_propagate_single_use_vars): Handle | |
5490 | strict-overflow warnings properly for forward_propagate_comparison. | |
5491 | ||
df33b41f RO |
5492 | 2011-05-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5493 | ||
5494 | * configure.ac (gcc_cv_lto_plugin): Determine lto plugin support | |
5495 | from plugin linker. | |
5496 | * configure: Regenerate. | |
5497 | ||
69940d4d IR |
5498 | 2011-05-30 Ira Rosen <ira.rosen@linaro.org> |
5499 | ||
5500 | PR tree-optimization/49199 | |
5501 | * tree-vect-loop.c (vect_is_slp_reduction): Check that the | |
b17d5426 | 5502 | non-reduction operands are either defined in the loop or by induction. |
69940d4d | 5503 | |
226c52aa XDL |
5504 | 2011-05-29 Xinliang David Li <davidxl@google.com> |
5505 | ||
5506 | * opts-global.c (handle_common_deferred_options): Handle new options. | |
5507 | * passes.c (register_one_dump_file): Call register_pass_name. | |
5508 | (execute_one_pass): Check explicit enable/disable flag. | |
5509 | (passr_hash): New function. | |
5510 | (passr_eq): Ditto. | |
5511 | (register_pass_name): Ditto. | |
5512 | (get_pass_by_name): Ditto. | |
5513 | (pass_hash): Ditto. | |
5514 | (pass_eq): Ditto. | |
5515 | (enable_pass): Ditto. | |
5516 | (disable_pass): Ditto. | |
5517 | (is_pass_explicitly_enabled_or_disabled): Ditto. | |
5518 | ||
491d8eed UB |
5519 | 2011-05-29 Uros Bizjak <ubizjak@gmail.com> |
5520 | ||
5521 | * config/i386/i386.md (*movoi_internal_avx): Use | |
5522 | standard_sse_constant_opcode for alternative 0. | |
5523 | (*movti_internal_sse): Ditto. | |
5524 | (*movti_internal_rex64): Use standard_sse_constant_opcode for | |
5525 | alternative 2. | |
5526 | (*movdi_internal_rex64): Use standard_sse_constant_opcode for | |
5527 | sselog1 type moves. | |
5528 | (*movsi_internal): Ditto. | |
5529 | (*movdi_internal): Ditto. Add ssecvt type moves. | |
5530 | ||
eb93b31f EB |
5531 | 2011-05-29 Eric Botcazou <ebotcazou@adacore.com> |
5532 | ||
5533 | PR target/48830 | |
5534 | * rtlanal.c (simplify_subreg_regno): Adjust comment. | |
5535 | ||
3f831b7d JJ |
5536 | 2011-05-29 Jakub Jelinek <jakub@redhat.com> |
5537 | ||
5538 | PR rtl-optimization/49095 | |
5539 | * config/i386/predicates.md (plusminuslogic_operator): New predicate. | |
5540 | * config/i386/i386.md: Add peepholes for mem {+,-,&,|,^}= x; mem != 0. | |
5541 | ||
ee3ee488 RS |
5542 | 2011-05-29 Richard Sandiford <rdsandiford@googlemail.com> |
5543 | ||
5544 | PR target/43995 | |
5545 | * config/mips/mips.c (mips_pic_call_symbol_from_set): Add a | |
5546 | recurse_p argument. Only follow register copies if it is set, | |
5547 | and prevent mips_find_pic_call_symbol from recursing. | |
5548 | (mips_find_pic_call_symbol): Add a recurse_p argument. | |
5549 | Pass it to mips_pic_call_symbol_from_set. | |
5550 | (mips_annotate_pic_calls): Update accordingly. | |
5551 | ||
65f3dedb RS |
5552 | 2011-05-29 Richard Sandiford <rdsandiford@googlemail.com> |
5553 | ||
5554 | * emit-rtl.c (try_split): Use a loop to search for | |
5555 | NOTE_INSN_CALL_ARG_LOCATIONs. | |
5556 | ||
61e374ab RG |
5557 | 2011-05-29 Richard Guenther <rguenther@suse.de> |
5558 | ||
5559 | PR tree-optimization/49217 | |
5560 | * ipa-pure-const.c (propagate_pure_const): Fix typos. | |
5561 | ||
fac009a8 JH |
5562 | 2011-05-28 Jan Hubicka <jh@suse.cz> |
5563 | ||
5564 | * lto-streamer-out.c (hash_string_slot_node): Hash string based on its | |
5565 | length. | |
5566 | (string_slot_free): Remove | |
5567 | (create_output_block): Initialize obstack. | |
5568 | (destroy_output_block): Free obstack. | |
5569 | (lto_string_index): Add PERSISTENT parameter; do not duplicate | |
5570 | the string unless it needs to be added into the hash. | |
5571 | (lto_output_string_with_length): Add persistent attribute; | |
5572 | handle NULL strings. | |
5573 | (lto_output_string): Add PERSISTENT parameter. | |
5574 | (output_string_cst, output_identifier): Simplify. | |
5575 | (lto_output_location_bitpack): Update. | |
5576 | (lto_output_builtin_tree): Update. | |
5577 | * lto-streamer.h (struct output_block): Add obstack. | |
491d8eed UB |
5578 | (lto_output_string, lto_output_string_with_length): Remove |
5579 | declarations; functions are static now. | |
fac009a8 | 5580 | |
fa766006 JH |
5581 | 2011-05-28 Jan Hubicka <jh@suse.cz> |
5582 | ||
5583 | * lto-streamer-out.c (pack_ts_fixed_cst_value_fields, | |
5584 | pack_ts_decl_common_value_fields, pack_ts_decl_with_vis_value_fields, | |
5585 | pack_ts_function_decl_value_fields, lto_output_builtin_tree, | |
5586 | output_cfg, output_gimple_stmt): Use enum and variable length i/o. | |
5587 | * lto-streamer-in.c (input_cfg, input_gimple_stmt, | |
5588 | unpack_ts_fixed_cst_value_fields, unpack_ts_decl_common_value_fields, | |
5589 | unpack_ts_decl_with_vis_value_fields, | |
5590 | unpack_ts_type_common_value_fields, unpack_ts_block_value_fields, | |
5591 | lto_get_builtin_tree): Use enum and variable length i/o. | |
5592 | * basic-block.h (profile_status_d): Add PROFILE_LAST. | |
5593 | * lto-streamer.h (bp_pack_int_in_range, bp_unpack_int_in_range): | |
5594 | New functions. | |
5595 | (bp_pack_enum, bp_unpack_enum): New macros. | |
5596 | ||
e092158b RS |
5597 | 2011-05-28 Richard Sandiford <rdsandiford@googlemail.com> |
5598 | ||
5599 | * genrecog.c: Remove redundant forward declarations. | |
5600 | ||
7ca2afa0 RS |
5601 | 2011-05-28 Richard Sandiford <rdsandiford@googlemail.com> |
5602 | ||
5603 | * config.gcc: Deprecate mips*-*-openbsd*. | |
5604 | ||
a601a53a RS |
5605 | 2011-05-28 Richard Sandiford <rdsandiford@googlemail.com> |
5606 | ||
5607 | PR bootstrap/49195 | |
5608 | * genrecog.c (add_to_sequence): Use XEXP rather than XVECEXP | |
5609 | for match_op_dup. | |
5610 | ||
fc64b448 AP |
5611 | 2011-05-27 Andrew Pinski <pinskia@gmail.com> |
5612 | ||
5613 | PR middle-end/48981 | |
5614 | * gengtype.c (vec_prefix_type): New function. | |
5615 | (note_def_vec): Use vec_prefix_type and change the length | |
5616 | attribute to be based on the prefix. | |
5617 | * vec.c: Include coretypes.h before vec.h. | |
5618 | (struct vec_prefix): Remove. | |
5619 | (vec_gc_p_reserve): Change the offsetof to sizeof. | |
5620 | (vec_gc_p_reserve_exact): Likewise. | |
5621 | (vec_heap_p_reserve): Likewise. | |
5622 | (vec_heap_p_reserve_exact): Likewise. | |
5623 | (vec_stack_o_reserve_1): Copy from +1 instead of from vec. | |
5624 | (vec_stack_p_reserve): Change the offsetof to sizeof. | |
5625 | (vec_stack_p_reserve_exact): Likewise. | |
5626 | * vec.h (struct vec_prefix): New struct definition. | |
5627 | (VEC_T(T,B)): Use vec_prefix instead of having num/alloc fields. | |
5628 | (VEC_T_GTY(T,B)): Likewise. | |
5629 | (DEF_VEC_FUNC_P(T)): Use prefix field. | |
5630 | (DEF_VEC_NONALLOC_FUNCS_O(T,A)): Likewise. | |
5631 | (DEF_VEC_NONALLOC_FUNCS_I(T,A)): Likewise. | |
5632 | ||
ba869341 BS |
5633 | 2011-05-27 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5634 | ||
5635 | PR tree-optimization/46728 | |
5636 | * tree-ssa-math-opts.c (powi_as_mults_1): Add gimple_set_location. | |
5637 | (powi_as_mults): Add gimple_set_location. | |
5638 | (build_and_insert_call): New. | |
5639 | (gimple_expand_builtin_pow): Add handling for pow(x,y) when y is | |
5640 | 0.5, 0.25, 0.75, 1./3., or 1./6. | |
491d8eed | 5641 | |
d296760d AM |
5642 | 2011-05-27 Alexander Monakov <amonakov@ispras.ru> |
5643 | ||
5644 | * doc/contrib.texi: Update copyright years. | |
5645 | (Contributors): Add Zdenek Sojka. | |
5646 | ||
38e01f9e NF |
5647 | 2011-05-27 Nathan Froyd <froydnj@codesourcery.com> |
5648 | ||
5649 | * c-decl.c (c_push_function_context): Copy the current statement | |
5650 | list stack. | |
5651 | (add_stmt): Check building_stmt_list_p and push_stmt if necessary. | |
5652 | (finish_struct): Call building_stmt_list_p instead of checking | |
5653 | cur_stmt_list. | |
5654 | * c-parser.c (c_parser_postfix_expression): Likewise. | |
5655 | * c-typeck.c (c_end_compound_stmt): Likewise. | |
5656 | * print-tree.c (print_node) [STATEMENT_LIST]: Don't print TREE_CHAIN. | |
5657 | * tree-iterator.c (stmt_list_cache): Change to a VEC. | |
5658 | (alloc_stmt_list): Adjust for stmt_list_cache's new type. | |
5659 | (free_stmt_list): Likewise. | |
5660 | * tree.h (struct tree_statement_list): Include typed_tree instead | |
5661 | of tree_common. | |
5662 | * tree.c (initialize_tree_contains_struct): Mark TS_STATEMENT_LIST | |
5663 | as TS_TYPED instead of TS_COMMON. | |
5664 | ||
8950516e | 5665 | 2011-05-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
66bd20e7 | 5666 | Uros Bizjak <ubizjak@gmail.com> |
8950516e RO |
5667 | |
5668 | * configure.ac (gcc_cv_as_ix86_tlsgdplt): Check for @tlsgdplt | |
5669 | (HAVE_AS_IX86_TLSGDPTL): Define. | |
5670 | (gcc_cv_as_ix86_tlsldmplt): Check for @tlsldmplt. | |
5671 | (HAVE_AS_IX86_TLSLDMPLT): Define. | |
5672 | * configure: Regenerate. | |
5673 | * config.in: Regenerate. | |
5674 | * config/i386/i386.c (ix86_print_operand): Handle code 'p'. | |
5675 | * config/i386/i386.md (*tls_global_dynamic_32_gnu): If | |
5676 | TARGET_SUN_TLS, use @tlsgdplt or @plt. | |
5677 | (*tls_global_dynamic_64): Use @plt if TARGET_SUN_TLS. | |
5678 | (*tls_local_dynamic_base_32_gnu): If TARGET_SUN_TLS, use | |
5679 | @tlsldmplt or @plt. | |
5680 | (*tls_local_dynamic_base_64): Use @plt if TARGET_SUN_TLS. | |
5681 | ||
b0bd15f7 BS |
5682 | 2011-05-27 Bernd Schmidt <bernds@codesourcery.com> |
5683 | ||
5684 | * sched-int.h (struct _haifa_deps_insn_data): New members cond | |
5685 | and reverse_cond. | |
5686 | (INSN_COND, INSN_REVERSE_COND): New macros. | |
5687 | * sched-deps.c (deps_analyze_insn): Call sched_get_condition_with_rev | |
5688 | once. | |
5689 | (sched_get_condition_with_rev): Cache the results, and look them up | |
5690 | if possible. | |
5691 | (sched_analyze_insn): Destroy INSN_COND of previous insns if they | |
5692 | are clobbered by the current insn. | |
5693 | * target.def (exposed_pipline): New sched data hook. | |
5694 | * doc/tm.texi.in: TARGET_SCHED_EXPOSED_PIPELINE: Add hook. | |
5695 | * doc/tm.texi: Regenerate. | |
5696 | ||
fa65a9cf BS |
5697 | 2011-05-27 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5698 | ||
5699 | PR tree-optimization/49170 | |
5700 | * tree-ssa-math-opts.c (execute_cse_sincos): Add checks for | |
5701 | sincos or cexp. | |
b0bd15f7 | 5702 | |
c2299dfe RG |
5703 | 2011-05-27 Richard Guenther <rguenther@suse.de> |
5704 | ||
5705 | PR middle-end/49189 | |
5706 | * fold-const.c (fold_unary_loc): Do not re-fold folding conversions | |
5707 | of comparisons. | |
5708 | ||
a95b23b4 BS |
5709 | 2011-05-27 Bernd Schmidt <bernds@codesourcery.com> |
5710 | ||
5711 | * haifa-sched.c (sched_scan_info): Remove. | |
5712 | (schedule_block): Call sched_extend_luids rather than sched_init_luids | |
5713 | with NULL args. | |
5714 | (extend_bb, init_bb, extend_insn, init_insn, init_insns_in_bb): | |
5715 | Remove functions. | |
5716 | (sched_scan): Remove. | |
5717 | (sched_extend_luids): Renamed from luids_extend_insn and no longer | |
5718 | static. All callers changed. | |
5719 | (sched_init_insn_luid): Renamed from luids_init_insn and no longer | |
5720 | static. All callers changed. | |
5721 | (sched_init_luids): Remove all arguments except the first. All | |
5722 | callers changed. Don't use sched_scan. | |
5723 | (haifa_init_h_i_d): Likewise. | |
5724 | (haifa_init_insn): Call sched_extend_luids and sched_init_insn_luid | |
5725 | manually rather than using sched_init_luids. Likewise with | |
5726 | extend_h_i_d, init_h_i_d and haifa_init_h_i_d. | |
5727 | * sel-sched.c (sel_region_target_finish): Call sched_extend_luids | |
5728 | rather than sched_init_luids with NULL args. | |
5729 | * sel-sched-ir.c (new_insns): Remove variable. | |
5730 | (sched_scan): New static function, previously in haifa-sched.c. Remove | |
5731 | all arguments but the first two; all callers changed. | |
5732 | (sel_init_new_insn): Call sched_extend_luids and sched_init_insn_luid | |
5733 | rather than sched_init_luids. | |
5734 | (sel_init_bbs): Remove second argument. All callers changed. | |
5735 | (sel_add_bb): Call sched_extend_luids rather than sched_init_luids | |
5736 | with NULL arguments. | |
5737 | (create_insn_rtx_from_pattern): Likewise. | |
5738 | * sel-sched-ir.h (sel_init_bbs): Adjust declaration. | |
5739 | * sched-int.h (sched_init_luids, haifa_init_h_i_d): Likewise. | |
5740 | (sched_init_insn_luid, sched_extend_luids): Declare. | |
5741 | (sched_scan_info_def, sched_scan_info, sched_scan): Remove | |
5742 | declarations. | |
5743 | ||
f8f972fc RB |
5744 | 2011-05-27 Richard Guenther <rguenther@suse.de> |
5745 | ||
5746 | PR middle-end/49177 | |
5747 | * fold-const.c (fold_unary_loc): Fold (T)(A CMP B) to | |
5748 | A CMP B ? (T) true : (T) false for non-integral types T again. | |
5749 | ||
51a9ed47 JH |
5750 | 2011-05-27 Jan Hubicka <jh@suse.cz> |
5751 | ||
5752 | * lto-streamer-out.c (lto_string_index): break out from...; offset by 1 | |
5753 | so 0 means NULL string. | |
5754 | (lto_output_string_with_length): ... here. | |
f8f972fc RB |
5755 | (lto_output_string, output_string_cst, output_identifier): Update |
5756 | handling of NULL strings. | |
51a9ed47 JH |
5757 | (lto_output_location_bitpack): New function. |
5758 | (lto_output_location): Use it. | |
5759 | (lto_output_tree_ref): Use output_record_start. | |
f8f972fc RB |
5760 | (pack_ts_type_common_value_fields): Pack aliagn & alias set in var |
5761 | len values. | |
5762 | * lto-streamer-in.c (string_for_index): Break out from ...; offset | |
5763 | values by 1. | |
491d8eed | 5764 | (input_string_internal): ... here; |
f8f972fc RB |
5765 | (input_string_cst, input_identifier, lto_input_string): Update handling |
5766 | of NULL strings. | |
51a9ed47 JH |
5767 | (lto_input_location_bitpack): New function |
5768 | (lto_input_location): Use it. | |
f8f972fc RB |
5769 | (unpack_ts_type_common_value_fields): Pack align & alias in var len |
5770 | values. | |
51a9ed47 JH |
5771 | * lto-streamer.h (bp_pack_val_len_unsigned, bp_pack_val_len_int, |
5772 | bp_unpack_val_len_unsigned, bp_unpack_val_len_int): Declare. | |
5773 | (bp_pack_value): Sanity check the value range. | |
5774 | * lto-section-in.c (bp_unpack_val_len_unsigned, bp_unpack_val_len_int): | |
5775 | New functions. | |
5776 | * lto-section-out.h (bp_pack_val_len_unsigned, bp_pack_val_len_int): | |
5777 | New functions. | |
5778 | ||
66bd20e7 | 5779 | 2011-05-27 Hariharan Sandanagobalane <hariharan@picochip.com> |
dc38fc2e HS |
5780 | |
5781 | * config/picochip/picochip.c (reorder_var_tracking_notes): Drop | |
5782 | call_arg_location instructions down the floor. | |
5783 | ||
574e418a VM |
5784 | 2011-05-26 Vladimir Makarov <vmakarov@redhat.com> |
5785 | ||
5786 | PR rtl-optimization/49154 | |
5787 | * ira.c (setup_pressure_classes): Process class without sublcasses | |
5788 | as a candidate for pressure classes. | |
5789 | ||
6a1a787e RS |
5790 | 2011-05-26 Richard Sandiford <rdsandiford@googlemail.com> |
5791 | ||
5792 | PR rtl-optimization/48575 | |
5793 | * genrecog.c (position_type): New enum. | |
5794 | (position): New structure. | |
5795 | (decision): Use position structure instead of a string. | |
5796 | (root_pos, peep2_insn_pos_list): New variables. | |
5797 | (next_position, compare_positions): New functions. | |
5798 | (new_decision): Use position structures instead of strings. | |
5799 | (maybe_both_true): Likewise. | |
5800 | (change_state): Likewise. | |
5801 | (write_tree): Likewise. | |
5802 | (make_insn_sequence): Likewise. | |
5803 | ||
92e948a8 NF |
5804 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> |
5805 | ||
5806 | * tree.c (initialize_tree_contains_struct): Mark TS_BLOCK as | |
5807 | TS_BASE instead of TS_COMMON. | |
5808 | (find_decls_types_r): Check for TS_TYPED structure before looking at | |
5809 | TREE_TYPE. | |
5810 | * tree.h (struct tree_block): Inherit from tree_base, not tree_common. | |
5811 | Add chain field. | |
5812 | (BLOCK_CHAIN): Use new chain field. | |
5813 | ||
66bd20e7 | 5814 | 2011-05-26 Pat Haugen <pthaugen@us.ibm.com> |
c61e40d3 PH |
5815 | |
5816 | * config/rs6000/rs6000.c (rs6000_register_move_cost): Make LR/CTR | |
5817 | moves expensive on Power7 also. | |
5818 | ||
1f498652 RG |
5819 | 2011-05-26 Richard Guenther <rguenther@suse.de> |
5820 | ||
5821 | * fold-const.c (fold_unary_loc): Remove bogus code. | |
5822 | ||
a2fc3e63 NF |
5823 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> |
5824 | ||
5825 | * tree.h (struct tree_identifier): Inherit from tree_typed, not | |
5826 | tree_common. | |
5827 | (HT_IDENT_TO_GCC_IDENT): Adjust for said change. | |
5828 | * tree.c (initialize_tree_contains_struct): Mark TS_IDENTIFIER as | |
5829 | TS_BASE instead of TS_COMMON. | |
5830 | * varasm.c (assemble_name): Remove assert. | |
5831 | ||
d11bf18f BS |
5832 | 2011-05-26 Bernd Schmidt <bernds@codesourcery.com> |
5833 | ||
5834 | * Makefile.in (srcdirify): Change order so that libgcc_objdir is | |
5835 | substituted first. | |
5836 | * libgcc-std.ver: Delete file. | |
5837 | ||
ac8e1875 RG |
5838 | 2011-05-26 Richard Guenther <rguenther@suse.de> |
5839 | ||
5840 | PR tree-optimization/48702 | |
5841 | * tree-ssa-address.c (create_mem_ref_raw): Create MEM_REFs | |
5842 | only when we know the base address is within bounds. | |
5843 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Do not | |
5844 | assume the base address of TARGET_MEM_REFs is in bounds. | |
5845 | ||
7e32e652 RO |
5846 | 2011-05-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5847 | ||
5848 | PR target/49099 | |
5849 | * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Wrap | |
5850 | declaration in TARGET_SOLARIS. | |
5851 | ||
66bd20e7 | 5852 | 2011-05-26 Hariharan Sandanagobalane <hariharan@picochip.com> |
43660e0b HS |
5853 | |
5854 | * config/picochip/picochip.md (cbranchhi4): No :CC for match_operator. | |
491d8eed | 5855 | The instruction is then expanded explicitly. |
43660e0b HS |
5856 | (supported_compare): Callable instruction. |
5857 | (compare): Likewise. | |
5858 | ||
1537737f JJ |
5859 | 2011-05-26 Jakub Jelinek <jakub@redhat.com> |
5860 | ||
5861 | PR c++/49165 | |
5862 | * gimplify.c (shortcut_cond_r): Don't special case | |
5863 | COND_EXPRs if they have void type on one of their arms. | |
5864 | ||
7b1ac803 BS |
5865 | 2011-05-26 Bernd Schmidt <bernds@codesourcery.com> |
5866 | ||
5867 | * haifa-sched.c (schedule-block): Reorder the inner scheduling loop | |
5868 | to reduce duplication, and to achieve a slightly more logical order | |
5869 | of operations. | |
5870 | ||
1aa9438f JJ |
5871 | 2011-05-26 Jakub Jelinek <jakub@redhat.com> |
5872 | ||
5873 | PR tree-optimization/49161 | |
5874 | * tree-vrp.c (struct case_info): New type. | |
5875 | (compare_case_labels): Sort case_info structs instead of | |
5876 | trees, and not primarily by CASE_LABEL uids but by | |
5877 | label_for_block indexes. | |
5878 | (find_switch_asserts): Put case labels into struct case_info | |
5879 | array instead of TREE_VEC, adjust sorting, compare label_for_block | |
5880 | values instead of CASE_LABELs. | |
5881 | ||
50fed7bf RR |
5882 | 2011-05-26 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
5883 | ||
5884 | * config/arm/neon.md ("orn<mode>3_neon"): Canonicalize not. | |
5885 | ("orndi3_neon"): Likewise. | |
5886 | ("bic<mode>3_neon"): Likewise. | |
5887 | ||
48df3fa6 IR |
5888 | 2011-05-26 Ira Rosen <ira.rosen@linaro.org> |
5889 | ||
5890 | PR tree-optimization/49038 | |
5891 | * tree-vect-loop-manip.c (vect_generate_tmps_on_preheader): | |
5892 | Ensure at least one epilogue iteration if required by data | |
5893 | accesses with gaps. | |
5894 | * tree-vectorizer.h (struct _loop_vec_info): Add new field | |
5895 | to mark loops that require peeling for gaps. | |
5896 | * tree-vect-loop.c (new_loop_vec_info): Initialize new field. | |
5897 | (vect_get_known_peeling_cost): Take peeling for gaps into | |
5898 | account. | |
5899 | (vect_transform_loop): Generate epilogue if required by data | |
5900 | access with gaps. | |
5901 | * tree-vect-data-refs.c (vect_analyze_group_access): Mark the | |
5902 | loop as requiring an epilogue if there are gaps in the end of | |
5903 | the strided group. | |
5904 | ||
53febcba ILT |
5905 | 2011-05-25 Ian Lance Taylor <iant@google.com> |
5906 | ||
5907 | * godump.c (go_format_type): Output the first field with a usable | |
5908 | Go type, if any. | |
5909 | ||
dbbc4d4c ILT |
5910 | 2011-05-25 Ian Lance Taylor <iant@google.com> |
5911 | ||
5912 | * godump.c (go_format_type): Check for invalid type names, pointer | |
5913 | target types, and struct field types. | |
5914 | ||
f03a5402 JM |
5915 | 2011-05-25 Jason Merrill <jason@redhat.com> |
5916 | ||
5917 | * print-tree.c (print_node): Only look at TREE_TYPE if TS_TYPED. | |
5918 | ||
c497c412 UB |
5919 | 2011-05-25 Uros Bizjak <ubizjak@gmail.com> |
5920 | ||
5921 | * config/i386/sse.md (*<sse>_maskcmp<mode>3_comm): New pattern. | |
5922 | ||
e470affe L |
5923 | 2011-05-25 H.J. Lu <hongjiu.lu@intel.com> |
5924 | ||
5925 | * config/i386/i386.md (*movqi_extv_1)): Put back | |
5926 | "register_operand" check in "type" calculation. | |
5927 | (*movqi_extzv_2): Likewise. | |
5928 | ||
6c81b2bc L |
5929 | 2011-05-25 H.J. Lu <hongjiu.lu@intel.com> |
5930 | ||
c497c412 | 5931 | * doc/extend.texi (X86 Built-in Functions): Update pause intrinsic. |
6c81b2bc | 5932 | |
0c007eb2 BS |
5933 | 2011-05-25 Bernd Schmidt <bernds@codesourcery.com> |
5934 | ||
5935 | PR bootstrap/49160 | |
5936 | * libgcc2.h (__powisf2, __powidf2, __powitf2, __powixf2, | |
5937 | __mulsc3, __muldc3, __mulxc3, __multc3, __divsc3, __divdc3, | |
5938 | __divxc3, __divtc3): Wrap definitions in #ifndef. | |
5939 | ||
521ca78e L |
5940 | 2011-05-25 H.J. Lu <hongjiu.lu@intel.com> |
5941 | ||
5942 | PR target/49142 | |
5943 | * config/i386/i386.md (*movqi_extv_1_rex64): Remove | |
5944 | "register_operand" check and replace q_regs_operand with | |
5945 | QIreg_operand in "type" calculation. | |
5946 | (*movqi_extv_1): Likewise. | |
5947 | (*movqi_extzv_2_rex64): Likewise. | |
5948 | (*movqi_extzv_2): Likewise. | |
5949 | ||
5950 | * config/i386/predicates.md (QIreg_operand): New. | |
5951 | ||
29f8b844 RG |
5952 | 2011-05-25 Richard Guenther <rguenther@suse.de> |
5953 | ||
5954 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Fix | |
5955 | type-based offset disambiguation, streamline MEM_REF and | |
5956 | TARGET_MEM_REF handling. | |
5957 | ||
74838de3 L |
5958 | 2011-05-25 H.J. Lu <hongjiu.lu@intel.com> |
5959 | ||
5960 | * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_PAUSE. | |
5961 | (bdesc_special_args): Add pause intrinsic. | |
5962 | ||
5963 | * config/i386/i386.md (UNSPEC_PAUSE): New. | |
5964 | (pause): Likewise. | |
5965 | (*pause): Likewise. | |
5966 | * config/i386/ia32intrin.h (__pause): Likewise. | |
5967 | ||
5968 | * doc/extend.texi (X86 Built-in Functions): Add documentation for | |
5969 | pause intrinsic. | |
5970 | ||
d24ad7d6 BS |
5971 | 2011-05-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
5972 | ||
5973 | PR tree-optimization/46728 | |
5974 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): New. | |
5975 | (execute_cse_sincos): Add switch case for BUILT_IN_POW. | |
c497c412 | 5976 | |
d9f8303f NF |
5977 | 2011-05-25 Nathan Froyd <froydnj@codesourcery.com> |
5978 | ||
5979 | * tree.h (struct tree_exp): Inherit from struct tree_typed. | |
5980 | * tree.c (initialize_tree_contains_struct): Mark TS_EXP as TS_TYPED | |
5981 | instead of TS_COMMON. | |
5982 | ||
cdbf4541 BS |
5983 | 2011-05-25 Bernd Schmidt <bernds@codesourcery.com> |
5984 | ||
5985 | * libgcc2.h (__NW, __NDW): Define using a __gnu_ prefix if | |
5986 | LIBGCC2_GNU_PREFIX is defined. | |
5987 | (__N): New macro. | |
5988 | (__powisf2, __powidf2, __powitf2, __powixf2, __bswapsi2, __bswapdi2, | |
5989 | __mulsc3, __muldc3, __mulxc3, __multc3, __divsc3, __divdc3, __divxc3, | |
5990 | __divtc3, __udiv_w_sdiv, __clear_cache, __enable_execute_stack, | |
5991 | __clz_tab): Define using __N. | |
5992 | (__absvsi2, __negvsi2, __addvsi3, __subvsi3, __mulvsi3): Likewise if | |
5993 | COMPAT_SIMODE_TRAPPING_ARITHMETIC. | |
5994 | * target.def (libfunc_gnu_prefix): New hook. | |
5995 | * doc/tm.texi.in (LIBGCC2_GNU_PREFIX): Document. | |
5996 | (TARGET_LIBFUNC_GNU_PREFIX): Add hook. | |
5997 | * doc/tm.texi: Regenerate. | |
5998 | * system.h (LIBGCC2_GNU_PREFIX): Poison. | |
5999 | * optabs.c (gen_libfunc): Take the libfunc_gnu_prefix hook into | |
6000 | account. | |
6001 | (gen_interclass_conv_libfunc, gen_intraclass_conv_libfunc): Likewise. | |
6002 | (init_optabs): Likewise for the bswap libfuncs. | |
6003 | * tree.c (build_common_builtin_nodes): Likewise for complex multiply | |
6004 | and divide. | |
6005 | * config/t-slibgcc-elf-ver (SHLIB_MAPFILES): Use $$(libgcc_objdir). | |
6006 | * config/t-slibgcc-sld (SHLIB_MAPFILES): Likewise. | |
6007 | * libgcc-std.ver: Remove. | |
6008 | * Makefile.in (srcdirify): Handle $$(libgcc_objdir). | |
6009 | * config/frv/t-linux (SHLIB_MAPFILES): Use $$(libgcc_objdir) for | |
6010 | libgcc-std.ver. | |
6011 | * config/i386/t-linux (SHLIB_MAPFILES): Likewise. | |
6012 | * config/mips/t-slibgcc-irix (SHLIB_MAPFILES): Likewise. | |
6013 | * config/rs6000/t-aix43 (SHLIB_MAPFILES): Likewise. | |
6014 | * config/rs6000/t-aix52 (SHLIB_MAPFILES): Likewise. | |
6015 | * config/sparc/t-linux (SHLIB_MAPFILES): Likewise. | |
6016 | * config/i386/t-linux (SHLIB_MAPFILES): Likewise. | |
6017 | * config/i386/t-linux (SHLIB_MAPFILES): Likewise. | |
6018 | * config/fixed-bit.h (FIXED_OP): Define differently depending on | |
6019 | LIBGCC2_GNU_PREFIX. All uses changed not to pass leading underscores. | |
6020 | (FIXED_CONVERT_OP, FIXED_CONVERT_OP2): Likewise. | |
6021 | ||
f242c0a5 JH |
6022 | 2011-05-25 Jan Hubicka <jh@suse.cz> |
6023 | ||
6024 | * lto-streamer-out.c (output_record_start): Use lto_output_enum | |
6025 | (lto_output_tree): Use output_record_start. | |
6026 | * lto-streamer-in.c (input_record_start): Use lto_input_enum | |
6027 | (lto_get_pickled_tree): Use input_record_start. | |
6028 | * lto-section-in.c (lto_section_overrun): Turn into fatal error. | |
6029 | (lto_value_range_error): New function. | |
6030 | * lto-streamer.h (lto_value_range_error): Declare. | |
6031 | (lto_output_int_in_range, lto_input_int_in_range): New functions. | |
6032 | (lto_output_enum, lto_input_enum): New macros. | |
6033 | ||
a11e0df4 EB |
6034 | 2011-05-25 Eric Botcazou <ebotcazou@adacore.com> |
6035 | ||
6036 | * common.opt (flag_stack_usage_info): New variable. | |
6037 | (-Wstack-usage): New option. | |
6038 | * doc/invoke.texi (Warning options): Document -Wstack-usage. | |
6039 | * opts.c (common_handle_option) <OPT_Wstack_usage_>: New case. | |
6040 | <OPT_fstack_usage>: Likewise. | |
6041 | * toplev.c (output_stack_usage): Handle -Wstack-usage. | |
6042 | * calls.c (expand_call): Test flag_stack_usage_info variable instead | |
6043 | of flag_stack_usage. | |
6044 | (emit_library_call_value_1): Likewise. | |
6045 | * explow.c (allocate_dynamic_stack_space): Likewise. | |
6046 | * function.c (instantiate_virtual_regs ): Likewise. | |
6047 | (prepare_function_start): Likewise. | |
6048 | (rest_of_handle_thread_prologue_and_epilogue): Likewise. | |
6049 | * config/alpha/alpha.c (alpha_expand_prologue): Likewise. | |
6050 | * config/arm/arm.c (arm_expand_prologue): Likewise. | |
6051 | (thumb1_expand_prologue): Likewise. | |
6052 | * config/avr/avr.c (expand_prologue): Likewise. | |
6053 | * config/i386/i386.c (ix86_expand_prologue): Likewise. | |
6054 | * config/ia64/ia64.c (ia64_expand_prologue): Likewise. | |
6055 | * config/m68k/m68k.c (m68k_expand_prologue): Likewise. | |
6056 | * config/mips/mips.c (mips_expand_prologue): Likewise. | |
6057 | * config/pa/pa.c (hppa_expand_prologue): Likewise. | |
6058 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Likewise. | |
6059 | * config/s390/s390.c (s390_emit_prologue): Likewise. | |
6060 | * config/sh/sh.c (sh_expand_prologue): Likewise. | |
6061 | * config/sparc/sparc.c (sparc_expand_prologue): Likewise. | |
6062 | * config/spu/spu.c (spu_expand_prologue): Likewise. | |
6063 | ||
e7cfe241 RG |
6064 | 2011-05-25 Richard Guenther <rguenther@suse.de> |
6065 | ||
6066 | * gimple.c (iterative_hash_canonical_type): Skip non-FIELD_DECLs. | |
6067 | (gimple_canonical_types_compatible_p): Likewise. | |
6068 | ||
c5235f4c JH |
6069 | 2011-05-25 Jan Hubicka <jh@suse.cz> |
6070 | ||
6071 | PR middle-end/49062 | |
6072 | * ipa.c (function_and_variable_visibility): Only add to same | |
6073 | comdat group list if DECL_ONE_ONLY. | |
6074 | ||
8242a0f6 AB |
6075 | 2011-05-25 Andrey Belevantsev <abel@ispras.ru> |
6076 | ||
6077 | PR rtl-optimization/49014 | |
6078 | * config/i386/athlon.md (athlon_ssecomi): Change type to ssecomi. | |
6079 | ||
642a011d JJ |
6080 | 2011-05-25 Jakub Jelinek <jakub@redhat.com> |
6081 | ||
6082 | PR target/49128 | |
6083 | * config/i386/driver-i386.c (host_detect_local_cpu): Fix a typo. | |
6084 | ||
30a435d8 VM |
6085 | 2011-05-24 Vladimir Makarov <vmakarov@redhat.com> |
6086 | ||
6087 | PR rtl-optimization/48757 | |
6088 | * ira-build.c (loop_with_eh_edge_p): Rename to | |
6089 | loop_with_complex_edge_p, check edges on complexity, make function | |
6090 | conditional. | |
6091 | (mark_loops_for_removal): Make call of loop_with_complex_edge_p | |
6092 | conditional. | |
6093 | ||
24d1bbc7 EB |
6094 | 2011-05-24 Eric Botcazou <ebotcazou@adacore.com> |
6095 | ||
6096 | * config/sparc/sparc.c (sparc_option_override): If not set by the user, | |
6097 | force flag_ira_share_save_slots to 0. | |
6098 | ||
65773087 EB |
6099 | 2011-05-24 Eric Botcazou <ebotcazou@adacore.com> |
6100 | ||
6101 | * var-tracking.c (compute_cfa_pointer): Adjust head comment. | |
6102 | (vt_initialize): Set PROLOGUE_BB unconditionally. | |
6103 | Add block comment about CFA_BASE_RTX machinery. | |
6104 | Reset FP_CFA_OFFSET to -1 on all invalid paths. | |
6105 | Call vt_init_cfa_base only if FP_CFA_OFFSET isn't equal to -1. | |
6106 | ||
4e26ba90 NP |
6107 | 2011-05-24 Nicola Pero <nicola.pero@meta-innovation.com> |
6108 | ||
6109 | PR objc/48187 | |
6110 | * c-parser.c (c_parser_objc_class_instance_variables): More robust | |
6111 | parsing of syntax error in ObjC instance variable lists. In | |
6112 | particular, avoid an infinite loop if there is a stray ']'. | |
6113 | Updated error message. | |
6114 | ||
936fd13c ILT |
6115 | 2011-05-24 Ian Lance Taylor <iant@google.com> |
6116 | ||
6117 | * godump.c (go_define): Don't accept a string immediately after | |
6118 | another operand. | |
6119 | ||
f17333e3 ILT |
6120 | 2011-05-24 Ian Lance Taylor <iant@google.com> |
6121 | ||
6122 | * godump.c (struct godump_container): Add invalid_hash field. | |
6123 | (go_format_type): Return false if type is found in invalid_hash. | |
6124 | (go_output_typedef): Add invalid type to invalid_hash. | |
6125 | (go_finish): Create and delete invalid_hash. | |
6126 | ||
d24ad7d6 | 6127 | 2011-05-24 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
c497c412 | 6128 | |
78be79d5 BS |
6129 | PR tree-optimization/46728 |
6130 | * tree-ssa-math-opts.c (powi_table): New. | |
6131 | (powi_lookup_cost): New. | |
6132 | (powi_cost): New. | |
6133 | (powi_as_mults_1): New. | |
6134 | (powi_as_mults): New. | |
6135 | (gimple_expand_builtin_powi): New. | |
6136 | (execute_cse_sincos): Add switch case for BUILT_IN_POWI. | |
6137 | (gate_cse_sincos): Remove sincos/cexp restriction. | |
f17333e3 | 6138 | |
caee412b RO |
6139 | 2011-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6140 | ||
6141 | PR target/3746 | |
6142 | * config.gcc (alpha*-dec-osf5.1*): Only build mips-tfile, | |
6143 | mips-tdump native. | |
6144 | * mips-tfile.c: Remove CROSS_DIRECTORY_STRUCTURE handling. | |
6145 | * mips-tdump.c: Likewise. | |
6146 | ||
5eed4f27 L |
6147 | 2011-05-24 H.J. Lu <hongjiu.lu@intel.com> |
6148 | ||
6149 | PR target/49128 | |
6150 | * config/i386/driver-i386.c (host_detect_local_cpu): Always | |
6151 | add -mno-XXX. Handle FMA. | |
6152 | ||
8c5fdaae VM |
6153 | 2011-05-24 Vladimir Makarov <vmakarov@redhat.com> |
6154 | ||
6155 | PR rtl-optimization/48633 | |
6156 | * ira-build.c (loop_with_eh_edge_p): New function. | |
6157 | (mark_loops_for_removal): Use it. | |
6158 | ||
6159 | 2011-05-24 Vladimir Makarov <vmakarov@redhat.com> | |
113a5be6 VM |
6160 | |
6161 | PR rtl-optimization/48971 | |
6162 | * ira.c (setup_pressure_classes): Don't check register move cost | |
6163 | for classes with one registers. Don't add pressure class if there | |
6164 | is a pressure class with the same available hard registers. | |
6165 | Check contains_reg_of_mode. Fix a typo in collecting | |
6166 | temp_hard_regset. Ignore hard registers not belonging to a class. | |
6167 | ||
df1f7315 UB |
6168 | 2011-05-24 Uros Bizjak <ubizjak@gmail.com> |
6169 | ||
6170 | PR target/49133 | |
6171 | * config/i386/sse.md (sse2_loadhpd): Remove shufpd alternative. | |
6172 | ||
ee0cb37c EB |
6173 | 2011-05-24 Eric Botcazou <ebotcazou@adacore.com> |
6174 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
6175 | ||
6176 | PR gcov-profile/48845 | |
6177 | * config/sol2.h (LIB_SPEC): Link TLS support for tree profiling. | |
6178 | ||
6a20ce76 RG |
6179 | 2011-05-24 Richard Guenther <rguenther@suse.de> |
6180 | ||
6181 | * gimple.c (compare_type_names_p): Remove for_completion_p arg. | |
6182 | (gimple_compatible_complete_and_incomplete_subtype_p): Remove. | |
6183 | (gimple_types_compatible_p_1): Adjust. | |
6184 | (iterative_hash_canonical_type): Do not bother about complete vs. | |
6185 | incomplete types. | |
6186 | (gimple_canonical_types_compatible_p): Likewise. | |
6187 | ||
2fcb858c RO |
6188 | 2011-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6189 | ||
6190 | * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Remove. | |
6191 | ||
96d91dcf RG |
6192 | 2011-05-24 Richard Guenther <rguenther@suse.de> |
6193 | ||
6194 | PR bootstrap/49078 | |
6195 | * gimple.c (gimple_register_canonical_type): Revert | |
6196 | previous change. | |
6197 | * alias.c (get_alias_set): Only assert that TYPE_CANONICAL | |
6198 | does not for a tree for the case where it matters. Cache | |
6199 | pointer-type alias-sets. | |
6200 | ||
1ed1641d JM |
6201 | 2011-05-24 Joseph Myers <joseph@codesourcery.com> |
6202 | ||
6203 | * Makefile.in (GCC_OBJS): Remove opts-common.o and options.o. | |
6204 | (OBJS): Remove options.o, opts-common.o and prefix.o. | |
6205 | (OBJS-libcommon-target): New. | |
6206 | (ALL_HOST_BACKEND_OBJS): Include $(OBJS-libcommon-target). | |
6207 | (BACKEND): Include libcommon-target.a. | |
6208 | (MOSTLYCLEANFILES): Include libcommon-target.a. | |
6209 | (libcommon-target.a): New. | |
6210 | (xgcc$(exeext), cpp$(exeext)): Use libcommon-target.a instead of | |
6211 | prefix.o. | |
6212 | ||
57dfdff0 JM |
6213 | 2011-05-23 Joseph Myers <joseph@codesourcery.com> |
6214 | ||
6215 | * optc-save-gen.awk: New. Based on optc-gen.awk. Don't generate | |
6216 | parts of output shared with the driver. | |
6217 | * optc-gen.awk: Don't generate parts of output not shared with the | |
6218 | driver. | |
6219 | * opth-gen.awk: Remove GCC_DRIVER conditionals. | |
6220 | * doc/options.texi (SourcerInclude): Mention options-save.c. | |
6221 | * Makefile.in (GCC_OBJS): Use options.o instead of gcc-options.o. | |
6222 | (OBJS): Add options-save.o. | |
6223 | (options-save.c, options-save.o): New. | |
6224 | (options.o): Update dependencies. | |
6225 | (gcc-options.o): Remove. | |
6226 | (mostlyclean): Remove options-save.c. | |
6227 | ||
0e0d82a7 JJ |
6228 | 2011-05-23 Jakub Jelinek <jakub@redhat.com> |
6229 | ||
9166988f JJ |
6230 | PR debug/49032 |
6231 | * dbxout.c: Include cgraph.h. | |
6232 | (dbxout_expand_expr): If a VAR_DECL is TREE_STATIC, not written | |
6233 | and without value expr, return NULL if no varpool node exists for | |
6234 | it or if it is not needed. | |
6235 | * Makefile.in (dbxout.o): Depend on $(CGRAPH_H). | |
6236 | ||
0e0d82a7 JJ |
6237 | PR c/49120 |
6238 | * c-decl.c (start_decl): Convert expr to void_type_node. | |
6239 | ||
65712d5c RS |
6240 | 2011-05-23 Richard Sandiford <rdsandiford@googlemail.com> |
6241 | ||
6242 | PR rtl-optimization/48826 | |
6243 | * emit-rtl.c (try_split): When splitting a call that is followed | |
6244 | by a NOTE_INSN_CALL_ARG_LOCATION, move the note after the new call. | |
6245 | ||
9025085e JJ |
6246 | 2011-05-23 Jakub Jelinek <jakub@redhat.com> |
6247 | ||
6248 | * cfgexpand.c (expand_debug_expr): For unused non-addressable | |
6249 | parameters passed in memory prefer using DECL_INCOMING_RTL over | |
6250 | the pseudos it will be copied into. | |
6251 | ||
34a061be L |
6252 | 2011-05-23 H.J. Lu <hongjiu.lu@intel.com> |
6253 | ||
6254 | PR target/47315 | |
6255 | * config/i386/i386.c (ix86_option_override_internal): Save the | |
6256 | initial options after checking vzeroupper. | |
6257 | ||
c375a3a4 DL |
6258 | 2011-05-23 David Li <davidxl@google.com> |
6259 | ||
6260 | PR tree-optimization/48988 | |
6261 | * tree-ssa-uninit.c (convert_control_dep_chain_into_preds): | |
6262 | Initialize has_valid_pred for each pred chain. | |
6263 | ||
e1caba18 RG |
6264 | 2011-05-23 Richard Guenther <rguenther@suse.de> |
6265 | ||
6266 | * gimple.c (gimple_types_compatible_p_1): Always compare type names. | |
6267 | (iterative_hash_gimple_type): Always hash type names. | |
6268 | ||
dde05067 NF |
6269 | 2011-05-23 Nathan Froyd <froydnj@codesourcery.com> |
6270 | ||
6271 | * c-typeck.c (build_function_call_vec): Tweak call to | |
6272 | check_function_arguments. | |
6273 | ||
094f6ab3 RG |
6274 | 2011-05-23 Richard Guenther <rguenther@suse.de> |
6275 | ||
6276 | PR tree-optimization/49115 | |
6277 | * tree-ssa-alias.c (stmt_kills_ref_p_1): If the assignment | |
6278 | is not necessarily carried out, do not claim it kills the ref. | |
6279 | * tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1): Likewise. | |
6280 | ||
9a9822e1 RG |
6281 | 2011-05-23 Richard Guenther <rguenther@suse.de> |
6282 | ||
6283 | PR middle-end/15419 | |
6284 | * builtins.c (fold_builtin_memory_op): Be less restrictive about | |
6285 | what pointer types we accept for folding. | |
6286 | ||
c8028650 RO |
6287 | 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6288 | ||
6289 | * gthr-gnat.c: Remove. | |
6290 | * gthr-gnat.h: Remove. | |
6291 | * Makefile.in (LIB2ADDEH): Remove $(srcdir)/gthr-gnat.c. | |
6292 | * config/t-freebsd (LIB2ADDEH): Likewise. | |
6293 | * config/t-linux (LIB2ADDEH): Likewise. | |
6294 | * config/t-sol2 (LIB2ADDEH): Likewise. | |
6295 | * config/ia64/t-vms (LIB2ADDEH): Likewise. | |
6296 | * configure.ac (target_thread_file): Remove gnat handling. | |
6297 | * configure: Regenerate. | |
6298 | * doc/install.texi (Configuration, --enable-threads): Remove gnat. | |
6299 | ||
15882fe9 TG |
6300 | 2011-05-23 Tristan Gingold <gingold@adacore.com> |
6301 | Eric Botcazou <ebotcazou@adacore.com> | |
6302 | ||
6303 | * gcov.c (create_file_names): If no object directory is specified, | |
6304 | keep the directory of the file. | |
6305 | ||
da90c957 RO |
6306 | 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6307 | ||
6308 | * configure.ac (enable_threads): Remove irix; add lynx, tpf; sort list. | |
6309 | * configure: Regenerate. | |
6310 | ||
7bba408b JJ |
6311 | 2011-05-23 Jakub Jelinek <jakub@redhat.com> |
6312 | ||
6313 | PR middle-end/48973 | |
6314 | * expr.c (expand_expr_real_2) <case LT_EXPR>: If do_store_flag | |
6315 | failed and the comparison has a single bit signed type, use | |
6316 | constm1_rtx instead of const1_rtx for true value. | |
6317 | (do_store_flag): If ops->type is single bit signed type, disable | |
6318 | signel bit test optimization and pass -1 instead of 1 as last | |
6319 | parameter to emit_store_flag_force. | |
6320 | ||
bc69f7ff TV |
6321 | 2011-05-23 Tom de Vries <tom@codesourcery.com> |
6322 | ||
6323 | PR target/45098 | |
6324 | * tree-ssa-loop-niter.c (infer_loop_bounds_from_pointer_arith): New | |
6325 | function. | |
6326 | (infer_loop_bounds_from_undefined): Use new function. | |
6327 | ||
29cedf8e RS |
6328 | 2011-05-22 Richard Sandiford <rdsandiford@googlemail.com> |
6329 | ||
6330 | * config/mips/mips.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Delete. | |
6331 | (ASM_SPEC): Add a -O* option here. Pass -O0 for -noasmopt, | |
6332 | -O1 for -fno-delayed-branch, -O2 if optimization is enabled, | |
6333 | and -O0 otherwise. | |
6334 | (EXTRA_SPECS): Remove subtarget_asm_optimizing_spec. | |
6335 | ||
afe8b6ec EB |
6336 | 2011-05-22 Eric Botcazou <ebotcazou@adacore.com> |
6337 | ||
6338 | * cfgcleanup.c (try_forward_edges): Do not update BB_FORWARDER_BLOCK. | |
6339 | (try_optimize_cfg): Update BB_FORWARDER_BLOCK if try_forward_edges | |
6340 | returns true. | |
6341 | ||
872dab53 RS |
6342 | 2011-05-22 Richard Sandiford <rdsandiford@googlemail.com> |
6343 | ||
6344 | * config/mips/mips.c (mips_default_arch): Honor MIPS_ISA_DEFAULT. | |
6345 | ||
145f6c5b EB |
6346 | 2011-05-22 Eric Botcazou <ebotcazou@adacore.com> |
6347 | ||
6348 | * config/sparc/sparc.c (sparc_delegitimize_address): Handle | |
6349 | UNSPEC_MOVE_PIC pattern. | |
6350 | ||
8ac79835 EB |
6351 | 2011-05-22 Eric Botcazou <ebotcazou@adacore.com> |
6352 | ||
6353 | * config.gcc (sparc-*-elf*): Add sparc/t-crtin. | |
6354 | (sparc-*-rtems*): Likewise. | |
6355 | (sparc64-*-elf*): Likewise. | |
6356 | (sparc64-*-rtems*): Likewise. | |
6357 | (sparc*-*-solaris2*): Likewise. Remove crti.o crtn.o extra parts. | |
6358 | * config/sparc/t-crtin: New file. | |
6359 | * config/sparc/t-sol2 (crti.o): Delete rule. | |
6360 | (crtn.o): Likewise. | |
6361 | * config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Delete. | |
6362 | * config/sparc/t-sol2-64 (EXTRA_MULTILIB_PARTS): Likewise. | |
6363 | * config/sparc/sp64-elf.h (STARTFILE_SPEC): Tidy and add crti.o. | |
6364 | (ENDFILE_SPEC): Add crtn.o. | |
6365 | ||
5fb43dd8 TV |
6366 | 2011-05-22 Tom de Vries <tom@codesourcery.com> |
6367 | ||
6368 | PR middle-end/48689 | |
6369 | * fold-const.c (fold_checksum_tree): Guard TREE_CHAIN use with | |
6370 | CODE_CONTAINS_STRUCT (TS_COMMON). | |
6371 | ||
ccb1b17b JJ |
6372 | 2011-05-22 Jakub Jelinek <jakub@redhat.com> |
6373 | ||
6374 | PR middle-end/49029 | |
6375 | * expmed.c (extract_fixed_bit_field): Test whether target can be used | |
6376 | only after deciding which mode to use. | |
6377 | ||
50ad7db2 TV |
6378 | 2011-05-22 Tom de Vries <tom@codesourcery.com> |
6379 | ||
6380 | PR target/45098 | |
dc0a3366 | 6381 | * tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Fix const test |
50ad7db2 TV |
6382 | for call to get_shiftadd_cost. |
6383 | ||
ef230b38 UB |
6384 | 2011-05-22 Uros Bizjak <ubizjak@gmail.com> |
6385 | ||
6386 | PR target/49104 | |
6387 | * config/i386/cpuid.h (bit_MMXEXT): New define. | |
6388 | ||
15f072f9 NC |
6389 | 2011-05-22 Nick Clifton <nickc@redhat.com> |
6390 | ||
6391 | * config/stormy16/stormy16.c (xstormy16_init_builtins): prevent | |
6392 | initialisation of non-existant args[2] element. Use args[] array | |
6393 | not arg[] array to pass arguments to build_function_type_list. | |
6394 | ||
e38fdc94 IR |
6395 | 2011-05-22 Ira Rosen <ira.rosen@linaro.org> |
6396 | ||
6397 | PR tree-optimization/49087 | |
ef230b38 | 6398 | * tree-vect-loop.c (vect_is_slp_reduction): Fail if LHS has no uses. |
e38fdc94 | 6399 | |
5b018c65 JM |
6400 | 2011-05-21 Jason Merrill <jason@redhat.com> |
6401 | ||
6402 | PR c++/49092 | |
6403 | * dwarf2out.c (tree_add_const_value_attribute_for_decl): Check for | |
6404 | static storage duration. | |
6405 | ||
abd9a770 EB |
6406 | 2011-05-21 Eric Botcazou <ebotcazou@adacore.com> |
6407 | ||
6408 | * config/sparc/sparc.md (setjmp): Handle PIC mode and use the hard | |
6409 | frame pointer. | |
6410 | ||
bd9a3248 EB |
6411 | 2011-05-21 Eric Botcazou <ebotcazou@adacore.com> |
6412 | ||
6413 | * config/sparc/sparc.c (eligible_for_return_delay): Do not return | |
6414 | false if there are call-saved registers here... | |
6415 | (sparc_can_use_return_insn_p): ...but here instead. | |
6416 | (save_or_restore_regs): Fix thinko. | |
6417 | (sparc_expand_prologue): Use current_function_is_leaf. | |
6418 | (sparc_frame_pointer_required): Likewise. | |
6419 | ||
a5dfec9a NC |
6420 | 2011-05-21 Nick Clifton <nickc@redhat.com> |
6421 | ||
6422 | PR target/49098 | |
6423 | * config/rx/rx.c (rx_memory_move_cost): Note unused parameters. | |
6424 | ||
555c3771 NP |
6425 | 2011-05-21 Nicola Pero <nicola.pero@meta-innovation.com> |
6426 | ||
6427 | * gengtype.c (walk_type): Implemented "atomic" GTY option. | |
6428 | * doc/gty.texi (GTY Options): Document "atomic" GTY option. | |
6429 | ||
86fa5de4 JM |
6430 | 2011-05-21 Joseph Myers <joseph@codesourcery.com> |
6431 | ||
6432 | * opt-read.awk: New. Split out of optc-gen.awk and opth-gen.awk. | |
6433 | * optc-gen.awk: Move common code to opt-read.awk. | |
6434 | * opth-gen.awk: Likewise. | |
ef230b38 | 6435 | * Makefile.in (options.c, s-options-h): Update to use opt-read.awk. |
86fa5de4 | 6436 | |
bce33ab2 NF |
6437 | 2011-05-20 Nathan Froyd <froydnj@codesourcery.com> |
6438 | ||
6439 | * godump.c (go_format_type): Don't use TYPE_ARG_TYPES. | |
6440 | ||
e6450c11 TV |
6441 | 2011-05-20 Tom de Vries <tom@codesourcery.com> |
6442 | ||
6443 | PR target/45098 | |
6444 | * tree-ssa-loop-ivopts.c: Include expmed.h. | |
6445 | (get_shiftadd_cost): New function. | |
6446 | (force_expr_to_var_cost): Declare forward. Use get_shiftadd_cost. | |
6447 | ||
0e8b84ec JJ |
6448 | 2011-05-20 Jakub Jelinek <jakub@redhat.com> |
6449 | ||
6450 | PR bootstrap/49086 | |
6451 | * gimple-fold.c (and_comparisons_1, or_comparisons_1): Return NULL | |
6452 | for PHI args that are SSA_NAME_IS_DEFAULT_DEF. | |
6453 | ||
946bdf67 JM |
6454 | 2011-05-20 Joseph Myers <joseph@codesourcery.com> |
6455 | ||
6456 | * Makefile.in: Update comment referring to $(OBJS-common). | |
6457 | ||
c53aafdf ILT |
6458 | 2011-05-20 Ian Lance Taylor <iant@google.com> |
6459 | ||
6460 | * godump.c (go_output_typedef): Put enum constants in the macro | |
6461 | hash table to avoid duplicate Go const definitions. | |
6462 | ||
2691e6d7 JM |
6463 | 2011-05-20 Joseph Myers <joseph@codesourcery.com> |
6464 | ||
6465 | * Makefile.in (LIBDEPS): Add libcommon.a. | |
6466 | (LIBS): Likewise. | |
6467 | (GCC_OBJS): Remove diagnostic.o, pretty-print.o and input.o. | |
6468 | (OBJS-common): Remove diagnostic.o, input.o, intl.o, | |
6469 | pretty-print.o and version.o. | |
6470 | (OBJS-libcommon): New. | |
6471 | (ALL_HOST_BACKEND_OBJS): Add $(OBJS-libcommon). | |
6472 | (BACKEND): Add libcommon.a. | |
6473 | (MOSTLYCLEANFILES): Likewise. | |
6474 | (libcommon.a): New. | |
6475 | (xgcc$(exeext)): Don't explicitly use version.o and intl.o. | |
6476 | (cpp$(exeext)): Likewise. | |
6477 | (COLLECT2_OBJS): Remove intl.o, version.o, diagnostic.o, | |
6478 | pretty-print.o and input.o. | |
6479 | (lto-wrapper$(exeext)): Don't explicitly use intl.o. | |
6480 | (lto-wrapper.o): Depend on $(DIAGNOSTIC_H). | |
6481 | (errors.o): Remove. | |
6482 | (mips-tfile): Don't explicitly use version.o. | |
6483 | (mips-tdump): Likewise. | |
6484 | (gcov.o): Depend on $(DIAGNOSTIC_H). | |
6485 | (gcov-dump.o): Depend on intl.h and $(DIAGNOSTIC_H). | |
6486 | (GCOV_OBJS): Remove intl.o, version.o and errors.o. | |
6487 | (GCOV_DUMP_OBJS): Remove version.o and errors.o. | |
6488 | * gcov-dump.c: Include intl.h and diagnostic.h. | |
6489 | (main): Initialize diagnostics. | |
6490 | * gcov.c: Include diagnostic.h. | |
6491 | (fnotice): Remove. | |
6492 | (main): Initialize diagnostics. | |
6493 | * lto-wrapper.c: Include diagnostic.h. | |
6494 | (main): Initialize diagnostics. | |
6495 | ||
252b3e8c MM |
6496 | 2011-05-20 Michael Matz <matz@suse.de> |
6497 | ||
6498 | * Makefile.in (OBJS-common, OBJS-md, OBJS-archive): Merge into OBJS. | |
6499 | ||
2ee36ba6 MM |
6500 | 2011-05-20 Michael Matz <matz@suse.de> |
6501 | Richard Guenther <rguenther@suse.de> | |
6502 | ||
6503 | * lto-streamer.c (lto_record_common_node): Don't track seen nodes, | |
6504 | use lto_streamer_cache_append directly instead of returning a VEC. | |
6505 | (preload_common_node): Remove. | |
6506 | (lto_get_common_nodes): Rename to lto_preload_common_nodes, don't | |
6507 | track seen nodes. | |
6508 | (lto_streamer_cache_create): Call lto_preload_common_nodes. | |
6509 | ||
90ff582f RG |
6510 | 2011-05-20 Richard Guenther <rguenther@suse.de> |
6511 | ||
6512 | PR tree-optimization/49079 | |
6513 | * tree-dfa.c (get_ref_base_and_extent): Handle view-converting | |
6514 | MEM_REFs correctly for the trailing array access detection. | |
6515 | Special case constants the same way as decls for overall size | |
6516 | constraining. | |
6517 | ||
3cda91d8 UB |
6518 | 2011-05-20 Uros Bizjak <ubizjak@gmail.com> |
6519 | ||
6520 | * config/i386/mingw32.h (OUTPUT_QUOTED_STRING): Fix macro | |
6521 | argument expansion. | |
6522 | ||
6c66f733 JJ |
6523 | 2011-05-20 Jakub Jelinek <jakub@redhat.com> |
6524 | ||
6525 | PR tree-optimization/49073 | |
3cda91d8 UB |
6526 | * gimple-fold.c (and_comparisons_1, or_comparisons_1): Return NULL if |
6527 | PHI argument is SSA_NAME, whose def_stmt is dominated by the PHI. | |
6c66f733 JJ |
6528 | * tree-ssa-ifcombine.c (tree_ssa_ifcombine): Calculate dominators. |
6529 | ||
0ea80a16 RG |
6530 | 2011-05-20 Richard Guenther <rguenther@suse.de> |
6531 | ||
6532 | PR middle-end/48849 | |
6533 | * gimple.c (gimple_register_canonical_type): Compute TYPE_CANONICAL | |
6534 | of pointer types the same way the middle-end does. | |
6535 | ||
fb291a1e RG |
6536 | 2011-05-20 Richard Guenther <rguenther@suse.de> |
6537 | ||
3cda91d8 UB |
6538 | * gimple.c (gimple_register_type_1): Do not fiddle with main-variant |
6539 | or pointer-to chains. Delay all fixup to uniquify_nodes. | |
fb291a1e | 6540 | |
37cb25ed QN |
6541 | 2011-05-19 Quentin Neill <quentin.neill@amd.com> |
6542 | ||
6543 | * config/i386/sse.md (fma4_fmsubadd): Use <ssemodesuffix>. | |
6544 | (fma4_fmaddsub): Likewise | |
6545 | ||
a30726a4 JH |
6546 | 2011-05-19 Jan Hubicka <jh@suse.cz> |
6547 | ||
6548 | * gimple.c (gtc_visited, gtc_ob, type_pair_hash, type_pair_eq): Remove. | |
6549 | (GIMPLE_TYPE_PAIR_SIZE): New macro. | |
6550 | (type_pair_cache): New static var. | |
6551 | (lookup_type_pair): Use fixed sized custom hash; make inline. | |
6552 | (gtc_visit, gimple_types_compatible_p, gimple_register_type_1): Update | |
6553 | calls of lookup_type_pair. | |
6554 | (print_gimple_types_stats): Remove cache stats. | |
6555 | (free_gimple_type_tables): Free type_pair_cache instead of gtc_visited | |
6556 | and gtc_ob. | |
6557 | ||
0955cf61 UB |
6558 | 2011-05-19 Uros Bizjak <ubizjak@gmail.com> |
6559 | ||
6560 | * config/i386/i386.c (option_override_internal): Enable TARGET_CMOVE | |
6561 | when TARGET_RDRND is active. | |
6562 | (ix86_expand_builtin) <case IX86_BUILTIN_RDRAND{16,32,64}_STEP>: | |
6563 | Generate dummy SImode target register when target is NULL. | |
6564 | ||
12d844c8 JM |
6565 | 2011-05-19 Joseph Myers <joseph@codesourcery.com> |
6566 | ||
6567 | * config/arm/arm-fpus.def: New. | |
6568 | * config/arm/genopt.sh: Generate Enum and EnumValue entries from | |
6569 | arm-fpus.def. | |
6570 | * config/arm/arm-tables.opt: Regenerate. | |
6571 | * config/arm/arm.c (all_fpus): Move contents to arm-fpus.def. | |
6572 | (arm_option_override): Don't decode FPU name to string here. | |
6573 | * config/arm/arm.opt (mfpu=): Use Enum. | |
6574 | * config/arm/t-arm ($(srcdir)/config/arm/arm-tables.opt, arm.o): | |
6575 | Update dependencies. | |
6576 | ||
9e350e99 JM |
6577 | 2011-05-19 Joseph Myers <joseph@codesourcery.com> |
6578 | ||
6579 | * collect2.c: Include diagnostic.h. | |
6580 | (fatal_perror, fatal, error, fancy_abort): Remove. | |
6581 | (main): Set progname. Call xmalloc_set_program_name and | |
6582 | diagnostic_initialize. | |
6583 | (maybe_run_lto_and_relink, main, collect_execute, scan_prog_file, | |
6584 | scan_libraries, resolve_lib_name): Call fatal_error instead of | |
6585 | fatal and fatal_perror. | |
6586 | * collect2.h (error, fatal, fatal_perror): Don't declare. | |
6587 | * tlink.c: Include diagnostic-core.h. | |
6588 | (recompile_files): Call fatal_error instead of fatal_perror. | |
6589 | * Makefile.in (COLLECT2_OBJS): Include diagnostic.o, | |
6590 | pretty-print.o and input.o. | |
6591 | (collect2.o, tlink.o): Update dependencies. | |
6592 | ||
86ff4081 RO |
6593 | 2011-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6594 | ||
6595 | * config/i386/i386.md (tls_initial_exec_64_sun): Add semicolon. | |
6596 | ||
2ca48caa RO |
6597 | 2011-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6598 | ||
6599 | PR target/40483 | |
6600 | * configure.ac (gcc_cv_as_comdat_group_group): Check for Sun as | |
6601 | COMDAT group syntax, both SPARC and x86 variants. | |
6602 | (HAVE_COMDAT_GROUP): Also define if gcc_cv_as_comdat_group_group. | |
6603 | * configure: Regenerate. | |
6604 | * config/sol2.h (TARGET_SOLARIS): Define. | |
6605 | (PUSHSECTION_FORMAT): Remove. | |
6606 | (SECTION_NAME_FORMAT): Define. | |
6607 | * config/sol2.c: Include hashtab.h. | |
6608 | (solaris_output_init_fini): Replace PUSHSECTION_FORMAT by its | |
6609 | expansion, using SECTION_NAME_FORMAT. | |
6610 | (solaris_comdat_htab): New variable. | |
6611 | (struct comdat_entry): Define. | |
6612 | (comdat_hash): New function. | |
6613 | (comdat_eq): New function. | |
6614 | (solaris_elf_asm_comdat_section): New function. | |
6615 | (solaris_define_comdat_signature): New function. | |
6616 | (solaris_code_end): New function. | |
6617 | * config/sol2-protos.h (solaris_elf_asm_comdat_section): Declare. | |
6618 | (solaris_code_end): Declare. | |
6619 | * config/t-sol2 (sol2.o): Add $HASHTAB_H dependency. | |
6620 | * config/i386/i386.c (ix86_code_end) [TARGET_SOLARIS]: Call | |
6621 | solaris_code_end. | |
6622 | (i386_solaris_elf_named_section): Wrap in TARGET_SOLARIS. | |
6623 | Remove ATTRIBUTE_UNUSED. | |
6624 | [!USE_GAS]: Call solaris_elf_asm_comdat_section for | |
6625 | SECTION_LINKONCE sections if HAVE_COMDAT_GROUP. | |
0955cf61 | 6626 | * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Likewise. |
2ca48caa RO |
6627 | * config/i386/sol2-10.h (TARGET_ASM_NAMED_SECTION): Moved ... |
6628 | * config/i386/sol2.h (TARGET_ASM_NAMED_SECTION): ... here. | |
6629 | * config/sparc/sol2.h (TARGET_ASM_CODE_END): Redefine. | |
6630 | (PUSHSECTION_FORMAT): Remove. | |
6631 | (SECTION_NAME_FORMAT): Redefine. | |
6632 | ||
da5fb469 KT |
6633 | 2011-05-19 Kai Tietz <ktietz@redhat.com> |
6634 | ||
6635 | * tree-cfg.c (verify_gimple_assign_binary): Barf on | |
6636 | TRUTH_AND_EXPR, TRUTH_OR_EXPR, and TRUTH_XOR_EXPR. | |
6637 | (gimplify_expr): Move TRUTH_AND|OR|XOR_EXPR to its binary form. | |
6638 | ||
1651e703 | 6639 | 2011-05-19 Anatoly Sokolov <aesok@post.ru> |
0967b228 AS |
6640 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6641 | ||
6642 | * config/t-sol2 (sol2.o): Add $(TARGET_H) dependency. | |
6643 | ||
e497b9bd RG |
6644 | 2011-05-19 Richard Guenther <rguenther@suse.de> |
6645 | ||
6646 | PR middle-end/48985 | |
6647 | * tree-object-size.c (addr_object_size): If the pointed-to | |
6648 | variable is a decl use DECL_SIZE_UNIT instead of TYPE_SIZE_UNIT. | |
6649 | ||
31b3ca64 RG |
6650 | 2011-05-19 Richard Guenther <rguenther@suse.de> |
6651 | ||
6652 | * gimple.c (gimple_types_compatible_p_1): Compare names of | |
6653 | the types themselves. | |
6654 | (iterative_hash_gimple_type): And hash them that way. | |
6655 | (gimple_register_type_1): If we register a main variant properly | |
6656 | initialize the leader to ourselves. | |
6657 | ||
bb8d292d TV |
6658 | 2011-05-19 Tom de Vries <tom@codesourcery.com> |
6659 | ||
6660 | PR target/45098 | |
6661 | * tree-ssa-loop-ivopts.c (get_expr_id): Factored new function out of | |
6662 | get_loop_invariant_expr_id. | |
6663 | (get_loop_invariant_expr_id): Use get_expr_id. | |
6664 | (parm_decl_cost): New function. | |
6665 | (determine_use_iv_cost_condition): Use get_expr_id and parm_decl_cost. | |
6666 | Improve bound cost estimation. Use different inv_expr_id for elim and | |
6667 | express cases. | |
6668 | ||
a53c5024 TV |
6669 | 2011-05-19 Tom de Vries <tom@codesourcery.com> |
6670 | ||
6671 | PR target/45098 | |
6672 | * tree-ssa-loop-ivopts.c (determine_iv_cost): Prevent | |
6673 | cost_base.cost == 0. | |
6674 | ||
31f9eb59 L |
6675 | 2011-05-18 H.J. Lu <hongjiu.lu@intel.com> |
6676 | ||
6677 | PR target/49002 | |
66bd20e7 EB |
6678 | * config/i386/sse.md |
6679 | (avx_<ssemodesuffix><avxsizesuffix>_<ssemodesuffix>): Properly handle | |
6680 | load cast. | |
31f9eb59 | 6681 | |
681056ae JJ |
6682 | 2011-05-18 Jakub Jelinek <jakub@redhat.com> |
6683 | ||
6684 | PR tree-optimization/49039 | |
6685 | * tree-vrp.c (extract_range_from_binary_expr): For | |
6686 | MIN_EXPR <~[a, b], ~[c, d]> and MAX_EXPR <~[a, b], ~[c, d]> | |
6687 | return ~[MAX_EXPR <a, c>, MIN_EXPR <b, d>]. | |
6688 | ||
b5ee6752 TV |
6689 | 2011-05-18 Tom de Vries <tom@codesourcery.com> |
6690 | ||
6691 | PR target/45098 | |
6692 | * tree-ssa-loop-ivopts.c (computation_cost): Prevent cost of 0. | |
6693 | ||
0bda47a3 UB |
6694 | 2011-05-18 Uros Bizjak <ubizjak@gmail.com> |
6695 | ||
6696 | * config/i386/i386.md (*tls_global_dynamic_32_gnu): Split asm template. | |
6697 | (*tls_global_dynamic_64): Ditto. | |
6698 | (*tls_local_dynamic_base_32_gnu): Ditto. | |
6699 | (*tls_local_dynamic_base_64): Ditto. | |
6700 | (tls_initial_exec_64_sun): Ditto. | |
6701 | ||
033b0805 SH |
6702 | 2011-05-18 Stuart Henderson <shenders@gcc.gnu.org> |
6703 | ||
6704 | * doc/invoke.texi (Blackfin Options): -mcpu accepts bf592. | |
6705 | * config/bfin/t-bfin-elf (MULTILIB_MATCHES): Select bf532-none for | |
6706 | bf592-none. | |
6707 | * config/bfin/t-bfin-linux (MULTILIB_MATCHES): Likewise. | |
6708 | * config/bfin/t-bfin-uclinux (MULTILIB_MATCHES): Likewise. | |
6709 | * config/bfin/bfin.c (bfin_cpus): Add bf592. | |
6710 | * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define | |
0bda47a3 | 6711 | __ADSPBF592__ and __ADSPBF59x__ for BFIN_CPU_BF592. |
033b0805 SH |
6712 | * config/bfin/bfin-opts.h (bfin_cpu_type): Add BFIN_CPU_BF592. |
6713 | * config/bfin/elf.h (LIB_SPEC): Add bf592. | |
6714 | ||
ba163417 JM |
6715 | 2011-05-18 Joseph Myers <joseph@codesourcery.com> |
6716 | ||
6717 | * config/arm/arm-opts.h (enum arm_fp16_format_type, enum | |
0bda47a3 | 6718 | arm_abi_type, enum float_abi_type, enum arm_tp_type): Move from arm.h. |
ba163417 JM |
6719 | * config/arm/arm.c (arm_float_abi, arm_fp16_format, arm_abi, |
6720 | target_thread_pointer, arm_structure_size_boundary, struct | |
6721 | float_abi, all_float_abis, struct fp16_format, all_fp16_formats, | |
6722 | struct abi_name, arm_all_abis): Remove. | |
0bda47a3 UB |
6723 | (arm_option_override) Don't process most enumerated option values here. |
6724 | Don't process target_fpe_name here. Work with integer not string for | |
6725 | structure size boundary; use separate diagnostics for each case. | |
ba163417 JM |
6726 | * config/arm/arm.h (enum float_abi_type, enum |
6727 | arm_fp16_format_type, enum arm_abi_type, enum arm_tp_type): Move | |
6728 | to arm-opts.h. | |
6729 | (arm_float_abi, arm_fp16_format, arm_abi, target_thread_pointer, | |
6730 | arm_structure_size_boundary): Remove. | |
6731 | * config/arm/arm.opt (mabi=): Use Enum and Init. | |
6732 | (arm_abi_type): New Enum and EnumValue entries. | |
6733 | (mfloat-abi=): Use Enum and Init. | |
6734 | (float_abi_type): New Enum and EnumValue entries. | |
0bda47a3 | 6735 | (mfp=, mfpe=): Replace by separate Alias entries for each argument. |
ba163417 JM |
6736 | (mfp16-format=): Use Enum and Init. |
6737 | (arm_fp16_format_type): New Enum and EnumValue entries. | |
6738 | (mstructure-size-boundary=): Use UInteger and Init. | |
6739 | (mtp=): Use Enum and Init. | |
6740 | (arm_tp_type): New Enum and EnumValue entries. | |
6741 | ||
179184e3 RG |
6742 | 2011-05-18 Richard Guenther <rguenther@suse.de> |
6743 | ||
6744 | PR tree-optimization/49018 | |
6745 | * gimple.c (gimple_has_side_effects): Volatile asms have side-effects. | |
6746 | * tree-ssa-ifcombine.c (bb_no_side_effects_p): Use | |
6747 | gimple_has_side_effects. | |
6748 | ||
93b2a207 RG |
6749 | 2011-05-18 Richard Guenther <rguenther@suse.de> |
6750 | ||
6751 | * gimple.c (gimple_register_type_1): New function, split out from ... | |
6752 | (gimple_register_type): ... here. Avoid infinite recursion. | |
6753 | ||
b010117a IR |
6754 | 2011-05-18 Ira Rosen <ira.rosen@linaro.org> |
6755 | ||
6756 | PR tree-optimization/41881 | |
6757 | * tree-vectorizer.h (struct _loop_vec_info): Add new field | |
6758 | reduction_chains along with a macro for its access. | |
6759 | * tree-vect-loop.c (new_loop_vec_info): Initialize reduction chains. | |
6760 | (destroy_loop_vec_info): Free reduction chains. | |
6761 | (vect_analyze_loop_2): Return false if vect_analyze_slp() returns false. | |
6762 | (vect_is_slp_reduction): New function. | |
6763 | (vect_is_simple_reduction_1): Call vect_is_slp_reduction. | |
6764 | (vect_create_epilog_for_reduction): Support SLP reduction chains. | |
6765 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Allow different | |
6766 | definition types for reduction chains. | |
6767 | (vect_supported_load_permutation_p): Don't allow permutations for | |
6768 | reduction chains. | |
6769 | (vect_analyze_slp_instance): Support reduction chains. | |
6770 | (vect_analyze_slp): Try to build SLP instance from reduction chains. | |
6771 | (vect_get_constant_vectors): Handle reduction chains. | |
6772 | (vect_schedule_slp_instance): Mark the first statement of the | |
6773 | reduction chain as reduction. | |
6774 | ||
e14c1050 IR |
6775 | 2011-05-18 Ira Rosen <ira.rosen@linaro.org> |
6776 | ||
6777 | * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): Use new | |
6778 | names for group elements access. | |
6779 | * tree-vectorizer.h (struct _stmt_vec_info): Use interleaving info for | |
6780 | reduction chains as well. Remove data reference and interleaving | |
6781 | related words from the fields names. | |
6782 | * tree-vect-loop.c (vect_transform_loop): Use new names for group | |
6783 | elements access. | |
6784 | * tree-vect-data-refs.c (vect_get_place_in_interleaving_chain, | |
6785 | vect_insert_into_interleaving_chain, vect_update_interleaving_chain, | |
6786 | vect_update_interleaving_chain, vect_same_range_drs, | |
6787 | vect_analyze_data_ref_dependence, vect_update_misalignment_for_peel, | |
6788 | vect_verify_datarefs_alignment, vector_alignment_reachable_p, | |
6789 | vect_peeling_hash_get_lowest_cost, vect_enhance_data_refs_alignment, | |
6790 | vect_analyze_group_access, vect_analyze_data_ref_access, | |
6791 | vect_create_data_ref_ptr, vect_transform_strided_load, | |
6792 | vect_record_strided_load_vectors): Likewise. | |
6793 | * tree-vect-stmts.c (vect_model_simple_cost, vect_model_store_cost, | |
6794 | vect_model_load_cost, vectorizable_store, vectorizable_load, | |
6795 | vect_remove_stores, new_stmt_vec_info): Likewise. | |
6796 | * tree-vect-slp.c (vect_build_slp_tree, | |
6797 | vect_supported_slp_permutation_p, vect_analyze_slp_instance): Likewise. | |
6798 | ||
51c213f7 RG |
6799 | 2011-05-18 Richard Guenther <rguenther@suse.de> |
6800 | ||
6801 | PR middle-end/48989 | |
6802 | * tree-cfg.c (verify_gimple_assign_unary): Adjust TRUTH op | |
6803 | operand verification. | |
6804 | (verify_gimple_assign_binary): Likewise. | |
6805 | * tree-ssa.c (useless_type_conversion_p): Preserve conversions | |
6806 | to non-1-precision BOOLEAN_TYPEs. | |
6807 | ||
8f5e5434 TV |
6808 | 2011-05-18 Tom de Vries <tom@codesourcery.com> |
6809 | ||
6810 | PR target/45098 | |
6811 | * tree-ssa-loop-ivopts.c (seq_cost): Fix call to rtx_cost. | |
6812 | ||
116bc3a4 JJ |
6813 | 2011-05-18 Jakub Jelinek <jakub@redhat.com> |
6814 | ||
6815 | PR tree-optimization/49000 | |
6816 | * tree-ssa.c (execute_update_addresses_taken): Call | |
6817 | maybe_rewrite_mem_ref_base on debug stmt value. If it couldn't | |
6818 | be rewritten and decl has been marked for renaming, reset | |
6819 | the debug stmt. | |
6820 | ||
26a8964c JM |
6821 | 2011-05-17 Joseph Myers <joseph@codesourcery.com> |
6822 | ||
6823 | * config/i386/i386.c (ix86_valid_target_attribute_tree): Use | |
6824 | enum_opts_set when testing if attributes have set -mfpmath=. | |
6825 | ||
82bd45d7 RS |
6826 | 2011-05-17 Richard Sandiford <rdsandiford@googlemail.com> |
6827 | ||
6828 | * config/mips/mips.c (mips_handle_option): Remove unused variable. | |
6829 | ||
267ffce3 UB |
6830 | 2011-05-17 Uros Bizjak <ubizjak@gmail.com> |
6831 | ||
6832 | * ipa-inline-analysis.c (inline_node_duplication_hook): Initialize | |
6833 | info->entry with 0 | |
6834 | * tree-inline.c (maybe_inline_call_in_expr): Initialize | |
6835 | id.transform_lang_insert_block with NULL. | |
6836 | ||
6837 | 2011-05-17 Uros Bizjak <ubizjak@gmail.com> | |
d9403b0d UB |
6838 | |
6839 | * config/i386/i386-protos.h (output_fix_trunc): Change arg 3 to bool. | |
6840 | (output_fp_compare): Change args 3 and 4 to bool. | |
6841 | (ix86_expand_call): Change arg 6 to bool. | |
6842 | (ix86_attr_length_immediate_default): Change arg 2 to bool. | |
6843 | (ix86_attr_length_vex_default): Change arg 3 to bool. | |
6844 | * config/i386/i386.md: Update all uses. | |
6845 | * config/i386/i386.c: Ditto. | |
6846 | (ix86_flags_dependent): Change return type to bool. | |
6847 | ||
5beaf664 RG |
6848 | 2011-05-17 Richard Guenther <rguenther@suse.de> |
6849 | ||
6850 | * gimple.c (type_hash_pair_compare): Fix comparison. | |
6851 | ||
008bad7a RG |
6852 | 2011-05-17 Richard Guenther <rguenther@suse.de> |
6853 | ||
6854 | * gimple.c (iterative_hash_gimple_type): Simplify singleton | |
6855 | case some more, fix final hash value of the non-singleton case. | |
6856 | ||
36461340 RG |
6857 | 2011-05-17 Richard Guenther <rguenther@suse.de> |
6858 | ||
6859 | PR bootstrap/49013 | |
6860 | Revert | |
6861 | 2011-05-16 Richard Guenther <rguenther@suse.de> | |
6862 | ||
6863 | * gimple.c (gimple_types_compatible_p_1): Use names of the | |
6864 | type itself, not its main variant. | |
6865 | (iterative_hash_gimple_type): Likewise. | |
6866 | ||
6b6a59f3 RG |
6867 | 2011-05-17 Richard Guenther <rguenther@suse.de> |
6868 | ||
6869 | * gimple.c (gimple_register_canonical_type): Use the main-variant | |
6870 | leader for computing the canonical type. | |
6871 | ||
4ffc4134 NC |
6872 | 2011-05-17 Nick Clifton <nickc@redhat.com> |
6873 | ||
a1d8754e NC |
6874 | * config/rx/rx.c (rx_memory_move_cost): Include cost of register |
6875 | moves. | |
6876 | ||
4ffc4134 NC |
6877 | * config/rx/rx.md: Add peephole to remove redundant extensions |
6878 | after loads. | |
39960f7a NC |
6879 | (bitset_in_memory): Use rx_restricted_mem_operand. |
6880 | (bitinvert_in_memory): Likewise. | |
6881 | (bitclr_in_memory): Likewise. | |
4ffc4134 | 6882 | |
b3db92ac KI |
6883 | 2011-05-17 Kazuhio Inaoka <kazuhiro.inaoka.ud@renesas.com> |
6884 | Nick Clifton <nickc@redhat.com> | |
6885 | ||
6886 | * config/rx/rx.md: Add peepholes to match a register move followed | |
6887 | by a comparison of the moved register. Replace these with an | |
6888 | addition of zero that does both actions in one instruction. | |
6889 | ||
8637e32a JJ |
6890 | 2011-05-17 Jakub Jelinek <jakub@redhat.com> |
6891 | ||
6892 | PR target/48986 | |
6893 | * config/i386/sync.md (sync_old_add<mode>): Relax operand 2 | |
6894 | predicate to allow CONST_INT. | |
6895 | (*sync_old_add_cmp<mode>): New insn and peephole2 for it. | |
6896 | ||
8023568e JM |
6897 | 2011-05-16 Joseph Myers <joseph@codesourcery.com> |
6898 | ||
6899 | * opts-common.c (opt_enum_arg_to_value): New. | |
6900 | * opts.h (opt_enum_arg_to_value): Declare. | |
6901 | * config/i386/i386.opt (fpmath): Remove. | |
6902 | (mfpmath=): Use Enum, Init and Save. | |
6903 | (fpmath_unit): New Enum and EnumValue entries. | |
6904 | * config/i386/i386-c.c (ix86_pragma_target_parse): Update field | |
6905 | name for function fpmath state. | |
6906 | * config/i386/i386-opts.h (enum fpmath_unit): Move from i386.h. | |
6907 | * config/i386/i386.c: Include diagnostic.h. | |
6908 | (ix86_fpmath, IX86_FUNCTION_SPECIFIC_FPMATH): Remove. | |
d9403b0d | 6909 | (ix86_target_string): Take enum fpmath_unit value instead of string. |
8023568e | 6910 | (ix86_debug_options): Update call to ix86_target_string. |
d9403b0d | 6911 | (ix86_option_override_internal): Don't process fpmath strings here. |
8023568e JM |
6912 | (x86_function_specific_save, ix86_function_specific_restore): |
6913 | Don't handle fpmath state specially. | |
6914 | (ix86_function_specific_print): Pass fpmath state to | |
6915 | ix86_target_string instead of printing in this function. | |
6916 | (ix86_valid_target_attribute_inner_p): Take gcc_options pointer. | |
6917 | Handle enum attributes. | |
6918 | (IX86_ATTR_ENUM, ix86_opt_enum): New. | |
6919 | (ix86_valid_target_attribute_tree): Update option_strings | |
6920 | handling. Handle fpmath as enum option. | |
6921 | (ix86_can_inline_p): Update field names for function fpmath state. | |
6922 | (ix86_expand_builtin): Update call to ix86_target_string. | |
6923 | * config/i386/i386.h (enum fpmath_unit): Move to i386-opts.h. | |
6924 | (ix86_fpmath): Remove. | |
6925 | * config/i386/t-i386 (i386.o): Update dependencies. | |
6926 | ||
9e8d926e JM |
6927 | 2011-05-16 Joseph Myers <joseph@codesourcery.com> |
6928 | ||
6929 | PR preprocessor/48677 | |
6930 | * cppspec.c (lang_specific_driver): Set new_decoded_options[0] | |
6931 | from decoded_options[0], not from itself. | |
6932 | ||
f6449011 UB |
6933 | 2011-05-16 Uros Bizjak <ubizjak@gmail.com> |
6934 | ||
6935 | * config/i386/constraints.md (z): New constraint. | |
6936 | * config/i386/i386.c (c): New mode attribute. | |
6937 | (*call): Merge insn pattern from *call_0, *call_1, *call_1_rex64 and | |
6938 | *call_1_rex64_large patterns using "P" mode iterator. Use "<c>zm" | |
6939 | constraint for operand 0. | |
6940 | (*call_vzeroupper): Ditto. | |
6941 | (*call_rex64_ms_sysv): Ditto. Use "rzm" constraint for operand 0. | |
6942 | (*call_rex64_ms_sysv_vzeroupper): Ditto. | |
6943 | (*call_pop): Merge insn pattern from *call_pop_0 and *call_pop_1. | |
6944 | Use "lzm" constraint for operand 0. | |
6945 | (*call_pop_vzeroupper): Ditto. | |
6946 | (*sibcall): Merge insn pattern from *sibcall_0, *sibcall_1 and | |
6947 | *sibcall_1_rex64 patterns using "P" mode iterator. Use "Uz" | |
6948 | constraint for operand 0. | |
6949 | (*sibcall_vzeroupper): Ditto. | |
6950 | (*sibcall_rex64_ms_sysv): Ditto. | |
6951 | (*sibcall_rex64_ms_sysv_vzeroupper): Ditto. | |
6952 | (*sibcall_pop): Merge insn pattern from *sibcall_pop_0 and | |
6953 | *sibcall_pop_1. Use "Uz" constraint for operand 0. | |
6954 | (*sibcall_pop_vzeroupper): Ditto. | |
6955 | (*call_value): Merge insn pattern from *call_value_0, *call_value_1, | |
6956 | *call_value_1_rex64 and *call_value_1_rex64_large patterns using "P" | |
6957 | mode iterator. Use "<c>zm" constraint for operand 1. | |
6958 | (*call_value_vzeroupper): Ditto. | |
6959 | (*call_value_rex64_ms_sysv): Ditto. Use "rzm" constraint | |
d9403b0d | 6960 | for operand 1. |
f6449011 UB |
6961 | (*call_value_rex64_ms_sysv_vzeroupper): Ditto. |
6962 | (*call_value_pop): Merge insn pattern from *call_value_pop_0 and | |
6963 | *call_value_pop_1. Use "lzm" constraint for operand 1. | |
6964 | (*call_value_pop_vzeroupper): Ditto. | |
6965 | (*sibcall_value): Merge insn pattern from *sibcall_value_0, | |
6966 | *sibcall_value_1 and *sibcall_value_1_rex64 patterns using "P" | |
6967 | mode iterator. Use "Uz" constraint for operand 1. | |
6968 | (*sibcall_value_vzeroupper): Ditto. | |
6969 | (*sibcall_value_rex64_ms_sysv): Ditto. | |
6970 | (*sibcall_value_rex64_ms_sysv_vzeroupper): Ditto. | |
6971 | (*sibcall_value_pop): Rename from *sibcall_pop_1. Use "Uz" | |
6972 | constraint for operand 1. | |
6973 | (*sibcall_value_pop_vzeroupper): Ditto. | |
6974 | (*tls_global_dynamic_64): Use constant_call_address_operand predicate | |
6975 | and "z" constraint for operand 2. | |
6976 | (*tls_global_dynamic_32_gnu): Ditto. | |
6977 | (*tls_local_dynamic_base_32_gnu): Ditto. | |
6978 | (*tls_local_dynamic_base_64): Ditto. | |
6979 | (*tls_local_dynamic_32_once): Ditto. | |
6980 | * config/i386/i386.c (ix86_output_call_insn): Remove int_addr argument. | |
6981 | Update all callers. | |
6982 | * config/i386/i386-protos.h (ix86_output_call_insn): Update prototype. | |
6983 | ||
c11b6902 RG |
6984 | 2011-05-16 Richard Guenther <rguenther@suse.de> |
6985 | ||
6986 | * gimple.c (gimple_types_compatible_p_1): Use names of the | |
6987 | type itself, not its main variant. | |
6988 | (iterative_hash_gimple_type): Likewise. | |
6989 | ||
1e83b5f1 RG |
6990 | 2011-05-16 Richard Guenther <rguenther@suse.de> |
6991 | ||
f6449011 UB |
6992 | * gimple.c (iterative_hash_gimple_type): Re-instantiate change to |
6993 | always visit pointer target and function result and argument types. | |
1e83b5f1 | 6994 | |
62e36382 JM |
6995 | 2011-05-16 Jason Merrill <jason@redhat.com> |
6996 | ||
6997 | PR c++/48999 | |
6998 | * tree-inline.c (copy_statement_list): Put back recursion. | |
6999 | ||
687027a4 GJL |
7000 | 2011-05-16 Georg-Johann Lay <avr@gjlay.de> |
7001 | ||
7002 | PR target/27663 | |
7003 | PR target/41076 | |
7004 | * config/avr/predicates.md (const_8_16_24_operand): New predicate. | |
7005 | * config/avr/avr.md ("*ior<mode>qi.byte0", | |
7006 | "*ior<mode>qi.byte1-3"): New define_insn_and_split patterns. | |
7007 | ||
f24a5190 GJL |
7008 | 2011-05-16 Georg-Johann Lay <avr@gjlay.de> |
7009 | ||
7010 | PR target/45099 | |
7011 | * config/avr/avr.c (avr_function_arg_advance): Error if a fixed | |
7012 | register is needed for a function argument. | |
7013 | ||
3066f593 RG |
7014 | 2011-05-16 Richard Guenther <rguenther@suse.de> |
7015 | ||
7016 | * gimple.c (struct type_hash_pair): New type. | |
7017 | (type_hash_pair_compare): New function. | |
f6449011 | 7018 | (iterative_hash_gimple_type): Mix in SCC member hashes in hash-order. |
3066f593 | 7019 | |
b2ab2cf4 RE |
7020 | 2011-05-16 Revital Eres <revital.eres@linaro.org> |
7021 | ||
f6449011 | 7022 | * modulo-sched.c (doloop_register_get): Check !DEBUG_INSN_P first. |
b2ab2cf4 | 7023 | |
dfb737fc UB |
7024 | 2011-05-15 Uros Bizjak <ubizjak@gmail.com> |
7025 | ||
7026 | * config/i386/i386.md (floating point move splitters): Fix | |
7027 | usage of standard_80387_constant_p. | |
f6449011 | 7028 | * config/i386/i386.c (ix86_preferred_reload_class): Ditto. |
dfb737fc | 7029 | |
8caa1de0 UB |
7030 | 2011-05-15 Uros Bizjak <ubizjak@gmail.com> |
7031 | ||
7032 | * config/i386/i386.md (*movdf_internal): Simplify insn condition. | |
7033 | ||
8a519095 EB |
7034 | 2011-05-14 Eric Botcazou <ebotcazou@adacore.com> |
7035 | ||
7036 | * tree-ssa-loop-im.c (SET_ALWAYS_EXECUTED_IN): New macro. | |
7037 | (fill_always_executed_in): Use [SET_]ALWAYS_EXECUTED_IN. | |
7038 | (tree_ssa_lim_finalize): Likewise. | |
7039 | ||
479fecd3 UB |
7040 | 2011-05-14 Uros Bizjak <ubizjak@gmail.com> |
7041 | ||
7042 | * config/i386/constraint.md (Yd, Yx): New register constraints. | |
7043 | * config/i386/i386.md (*pushdf): Merge with *pushdf_nointeger. Use | |
7044 | Yd conditional register constraint. | |
7045 | (*movtf_internal): Use standard_sse_constant_opcode. | |
7046 | (*movxf_internal): Merge with *movxf_internal_nointeger. Use | |
7047 | Yx conditional register constraint. | |
7048 | (*movdf_internal): Merge with *movdf_internal_nointeger. Use | |
7049 | Yd conditional register constraint. Use standard_sse_constant_p to | |
7050 | check for valid SSE constants and call standard_sse_constant_opcode to | |
7051 | output SSE insn. | |
7052 | (*movsf_internal): Use standard_sse_constant_p to check for valid SSE | |
7053 | constants and call standard_sse_constant_opcode to output SSE insn. | |
7054 | * config/i386/i386.c (ix86_option_ovverride_internal): Set | |
7055 | TARGET_INTEGER_DFMODE_MOVES for 64bit targets. Clear it when | |
7056 | optimize_size is set. | |
7057 | (standard_sse_constant_opcode): Output conditional AVX insn templates. | |
7058 | ||
2d8c9ad5 TB |
7059 | 2011-05-14 Tobias Burnus <burnus@net-b.de> |
7060 | ||
7061 | * doc/invoke.texi (-Ofast): Also enables -fstack-arrays. | |
7062 | ||
411a20d6 MJ |
7063 | 2011-05-13 Martin Jambor <mjambor@suse.cz> |
7064 | ||
7065 | * ipa-prop.c (ipa_cst_from_jfunc): New function. | |
7066 | * ipa-prop.h (ipa_cst_from_jfunc): Declare. | |
7067 | * ipa-inline-analysis.c (evaluate_conditions_for_edge): Use it. | |
7068 | (evaluate_conditions_for_ipcp_clone): Removed. | |
7069 | (estimate_ipcp_clone_size_and_time): Accept vector of known constants. | |
7070 | * ipa-cp.c (ipcp_estimate_growth): Build vector of known constants. | |
7071 | * ipa-inline.h (estimate_ipcp_clone_size_and_time): Update. | |
7072 | ||
dc764d10 EB |
7073 | 2011-05-13 Eric Botcazou <ebotcazou@adacore.com> |
7074 | ||
7075 | * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Adjust dump message. | |
7076 | * regcprop.c (copyprop_hardreg_forward): Test MAY_HAVE_DEBUG_INSNS in | |
7077 | lieu of MAY_HAVE_DEBUG_STMTS. | |
7078 | * tree-cfgcleanup.c (remove_forwarder_block): Do not attempt to move | |
7079 | debug statements if !MAY_HAVE_DEBUG_STMTS. | |
7080 | ||
9f47a24e MT |
7081 | 2011-05-13 Martin Thuresson <martint@google.com> |
7082 | ||
7083 | PR gcov-profile/47793 | |
7084 | * libgcov.c (gcov_exit): Support relative profile paths. | |
7085 | * doc/invoke.texi (-fprofile-dir): Update for above change. | |
7086 | ||
b8a71aed RG |
7087 | 2011-05-13 Richard Guenther <rguenther@suse.de> |
7088 | ||
7089 | * gimple.c (gimple_canonical_types_compatible_p): Do not use | |
7090 | type-pair caching, do not compare hashes. | |
7091 | ||
eb9f9259 NF |
7092 | 2011-05-13 Nathan Froyd <froydnj@codesourcery.com> |
7093 | ||
7094 | PR middle-end/48965 | |
7095 | * tree-cfg.c (edge_to_cases_cleanup): Return true. | |
7096 | (verify_expr) [CASE_LABEL_EXPR]: Add checking. | |
7097 | ||
3c6cbf7a KT |
7098 | 2011-05-13 Kai Tietz <ktietz@redhat.com> |
7099 | ||
7100 | * gimplify.c (gimplify_expr): Make sure operand is boolified. | |
7101 | * tree-cfg.c (verify_gimple_assign_unary): Check for boolean | |
7102 | compatible type for TRUTH_NOT_EXPR. | |
7103 | ||
2e7f5dc0 L |
7104 | 2011-05-13 H.J. Lu <hongjiu.lu@intel.com> |
7105 | ||
dc764d10 | 7106 | * config/i386/i386.c (ix86_save_reg): Change return type to bool. |
2e7f5dc0 L |
7107 | (ix86_hard_regno_mode_ok): Change return value to bool. Use |
7108 | can_create_pseudo_p (). | |
7109 | ||
e834e95c RG |
7110 | 2011-05-13 Richard Guenther <rguenther@suse.de> |
7111 | ||
7112 | PR lto/48978 | |
7113 | * gimple.c (iterative_hash_gimple_type): Revert change in | |
7114 | pointer target and function result and argument hashing. | |
7115 | ||
34203483 UB |
7116 | 2011-05-13 Uros Bizjak <ubizjak@gmail.com> |
7117 | ||
7118 | * config/i386/i386.md (*movxf_internal): Use !can_create_pseudo (). | |
7119 | (*movxf_internal_nointeger): Ditto. | |
7120 | (*movdf_internal_rex64): Ditto. | |
7121 | (*movdf_internal): Ditto. | |
7122 | (*movdf_internal_nointeger): Ditto. | |
7123 | (*movsf_internal): Ditto. | |
7124 | (sincos splitters): Use can_create_pseudo (). | |
7125 | ||
7eb68c06 JM |
7126 | 2011-05-13 Joseph Myers <joseph@codesourcery.com> |
7127 | ||
7128 | * config/i386/i386-opts.h: New. | |
7129 | * gcc/config/i386/i386.c (stringop_alg, ix86_cmodel, | |
7130 | ix86_asm_dialect, ix86_regparm, ix86_abi, ix86_branch_cost, | |
7131 | ix86_section_threshold): Remove. | |
7132 | (ix86_handle_option): Move MAX_CODE_ALIGN define here. Handle | |
7133 | OPT_malign_loops_, OPT_malign_jumps_, OPT_malign_functions_ and | |
7134 | OPT_mbranch_cost_. | |
7135 | (ix86_option_override_internal): Don't decode strings for options | |
7136 | other than -march=, -mtune= and -mfpmath=. Don't allow for | |
7137 | __attribute__ uses in remaining diagnostics for options with | |
34203483 | 7138 | string arguments. Don't check for integer arguments being negative. |
7eb68c06 | 7139 | * gcc/config/i386/i386.h (enum stringop_alg, enum calling_abi, |
34203483 | 7140 | enum tls_dialect, enum cmodel, enum asm_dialect): Move to i386-opts.h. |
7eb68c06 JM |
7141 | (ix86_abi, ix86_tls_dialect, ix86_cmodel, ix86_asm_dialect, |
7142 | ix86_branch_cost, ix86_section_threshold): Remove. | |
7143 | * gcc/config/i386/i386.opt (config/i386/i386-opts.h): New | |
7144 | HeaderInclude. | |
7145 | (malign-functions=, malign-jumps=, malign-loops=): Use UInteger | |
7146 | but not Var. | |
7147 | (masm=): Use Enum and Init. | |
7148 | (asm_dialect): New Enum and EnumValue entries. | |
7149 | (mbranch-cost=): Use UInteger. | |
7150 | (mlarge-data-threshold=): Use UInteger and Init. | |
7151 | (mcmodel=): Use Enum and Init. | |
7152 | (cmodel): New Enum and EnumValue entries. | |
7153 | (mpc): Replace with separate mpc32, mpc64 and mpc80 entries. | |
7154 | (mpreferred-stack-boundary=, mincoming-stack-boundary=, | |
7155 | mregparm=): Use UInteger. | |
7156 | (mstringop-strategy=): Use Enum and Init. | |
7157 | (stringop_alg): New Enum and EnumValue entries. | |
7158 | (mtls-dialect=): Use Enum and Init. | |
7159 | (tls_dialect): New Enum and EnumValue entries. | |
7160 | (mabi=): Use Enum and Init. | |
7161 | (calling_abi): New Enum and EnumValue entries. | |
7162 | (mveclibabi=): Use Enum and Init. | |
7163 | (ix86_veclibabi): New Enum and EnumValue entries. | |
7164 | ||
f67e203c NC |
7165 | 2011-05-13 Nick Clifton <nickc@redhat.com> |
7166 | ||
34203483 UB |
7167 | * config/rx/rx.md (mov expander): Fix use of rx_legitimate_constant_p. |
7168 | * config/rx/rx-protos.h (rx_legitimate_constant_p): Rename prototype. | |
f67e203c | 7169 | |
221df0b6 KT |
7170 | 2011-05-13 Kai Tietz <ktietz@redhat.com> |
7171 | ||
7172 | PR middle-end/48984 | |
7173 | * gimplify.c (gimplify_expr): Check for boolean_type_node instead | |
7174 | for BOOLEAN_TYPE for TRUTH-NOT/AND/OR/XOR. | |
7175 | (gimple_boolify): Check for cast for boolean_type_node instead for | |
7176 | BOOLEAN_TYPE. | |
7177 | ||
208cb8cb RG |
7178 | 2011-05-13 Richard Guenther <rguenther@suse.de> |
7179 | ||
7180 | PR tree-optimization/48172 | |
7181 | * tree-vect-loop-manip.c (vect_vfa_segment_size): Avoid | |
7182 | multiplying by number of iterations for equal step. | |
7183 | (vect_create_cond_for_alias_checks): Likewise. | |
7184 | ||
b88ecf55 AS |
7185 | 2011-05-13 Andreas Schwab <schwab@redhat.com> |
7186 | ||
7187 | * configure.ac: Use AS_HELP_STRING throughout. | |
7188 | * configure: Regenerate. | |
7189 | ||
569b527e L |
7190 | 2011-05-12 H.J. Lu <hongjiu.lu@intel.com> |
7191 | ||
34203483 | 7192 | * config/i386/i386.c (ix86_save_reg): Change maybe_eh_return to bool. |
569b527e L |
7193 | (ix86_emit_restore_regs_using_mov): Likewise. |
7194 | (ix86_emit_restore_sse_regs_using_mov): Likewise. | |
7195 | ||
8b9a1428 AS |
7196 | 2011-05-12 Anatoly Sokolov <aesok@post.ru> |
7197 | ||
7198 | * config/sparc/sparc.h (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P, | |
7199 | SYMBOLIC_CONST, RTX_OK_FOR_BASE_P, RTX_OK_FOR_INDEX_P): Remove. | |
7200 | (RTX_OK_FOR_OFFSET_P, RTX_OK_FOR_OLO10_P): Move to... | |
7201 | * config/sparc/sparc.c (RTX_OK_FOR_OFFSET_P, | |
7202 | RTX_OK_FOR_OLO10_P): ...here. | |
7203 | (sparc_mode_dependent_address_p): Use symbolic_operand instead of | |
7204 | SYMBOLIC_CONST. | |
7205 | ||
1d15f620 KT |
7206 | 2011-05-12 Kai Tietz <ktietz@redhat.com> |
7207 | ||
7208 | * gimplify.c (gimple_boolify): Re-boolify expression | |
7209 | arguments even if expression type is of kind BOOLEAN_TYPE. | |
7210 | (gimplify_boolean_expr): Removed. | |
7211 | (gimplify_expr): Boolify truth opcodes AND, ANDIF, OR, ORIF, | |
7212 | and XOR. Additional take care that we keep expression's type. | |
7213 | * tree-cfg.c (verify_gimple_assign_binary): Adjust check for type | |
7214 | of TRUTH_AND|OR|XOR_EXPR. | |
7215 | ||
c2b5fc8d JJ |
7216 | 2011-05-12 Jakub Jelinek <jakub@redhat.com> |
7217 | ||
7218 | PR tree-optimization/48975 | |
7219 | * tree-if-conv.c (combine_blocks): Call free_bb_predicate | |
7220 | on all bbs here and free and clear ifc_bbs at the end. | |
7221 | ||
61332f77 RG |
7222 | 2011-05-12 Richard Guenther <rguenther@suse.de> |
7223 | ||
7224 | * gimple.c (gtc_visit): Compare TREE_ADDRESSABLE, handle | |
7225 | NULLPTR_TYPE similar to VOID_TYPE. Defer type-leader lookup | |
7226 | until after simple checks. | |
7227 | (gimple_types_compatible_p): Likewise. | |
7228 | (iterative_hash_gimple_type): Always hash pointer targets | |
7229 | and function return and argument types. | |
7230 | (iterative_hash_canonical_type): Do not hash TYPE_QUALS, | |
7231 | hash TYPE_ALIGN. Do not hash TYPE_MIN/MAX_VALUE. | |
7232 | (gimple_canonical_types_compatible_p): Compare TREE_ADDRESSABLE, | |
7233 | handle NULLPTR_TYPE similar to VOID_TYPE. Handle non-aggregates | |
7234 | completely in the simple compare section. | |
7235 | (gimple_register_canonical_type): Query the cache again after | |
7236 | registering. | |
7237 | ||
e2a3a5f1 RG |
7238 | 2011-05-12 Richard Guenther <rguenther@suse.de> |
7239 | ||
7240 | PR tree-optimization/48172 | |
7241 | * tree-vect-loop-manip.c (vect_vfa_segment_size): Do not exclude | |
7242 | the number of iterations from the segment size calculation. | |
7243 | (vect_create_cond_for_alias_checks): Adjust. | |
7244 | ||
2c703f3a JJ |
7245 | 2011-05-12 Jakub Jelinek <jakub@redhat.com> |
7246 | ||
7247 | PR debug/48967 | |
7248 | * var-tracking.c (use_narrower_mode_test) <case REG>: Return 1 | |
7249 | if validate_subreg fails. | |
7250 | ||
7251 | 2011-05-12 Hariharan Sandanagobalane <hariharan@picochip.com> | |
b27981e0 HS |
7252 | |
7253 | * ira.c (clarify_prohibited_class_mode_regs): Prevent the function from | |
7254 | accessing beyond the end of REGNO_REG_CLASS array by stopping the loop | |
7255 | early. | |
7256 | ||
87e91fca DD |
7257 | 2011-05-12 DJ Delorie <dj@redhat.com> |
7258 | ||
d53903d6 | 7259 | * config/rx/rx.c (rx_builtins): New arrays - holds builtin functions. |
87e91fca DD |
7260 | (ADD_RX_BUILTIN1, ADD_RX_BUILTIN2, ADD_RX_BUILTIN3): Install |
7261 | created builtin into rx_builtins array. | |
7262 | (rx_builtin_decl): New function. | |
34203483 | 7263 | (TARGET_BUITLIN_DECL): Define. Include gt-rx.h. |
87e91fca | 7264 | |
5f2f13fd DD |
7265 | 2011-05-12 DJ Delorie <dj@redhat.com> |
7266 | Nick Clifton <nickc@redhat.com> | |
7267 | ||
7268 | * config/rx/rx.h (HAVE_PRE_DECREMENT): Fix typo. | |
7269 | * config/rx/rx.c (CC_FLAG_FP): Fix comment. | |
7270 | (rx_is_legitimate_address): Add pre-decrement and post-increment | |
7271 | addressing in HImode and QImode. Fix test for out of range | |
7272 | REG+INT addressing. | |
87e91fca | 7273 | (rx_legitimate_constant_p): Rename to rx_is_legitimate_constant. |
34203483 | 7274 | (rx_align_for_label): Test label before extracting its usage count. |
5f2f13fd | 7275 | (rx_adjust_insn_lengths): Fix selection of insn codes. |
87e91fca | 7276 | (TARGET_LEGITIMATE_CONSTANT_P): Use renamed function. |
5f2f13fd | 7277 | |
57421f45 JM |
7278 | 2011-05-11 Jason Merrill <jason@redhat.com> |
7279 | ||
7280 | * tree.c (type_hash_canon): Use struct tree_type_non_common. | |
7281 | ||
898c90c0 EB |
7282 | 2011-05-11 Eric Botcazou <ebotcazou@adacore.com> |
7283 | ||
7284 | * cfgrtl.c (commit_one_edge_insertion): Remove always-true test and | |
7285 | reindent the subsequent block. | |
7286 | ||
79bec923 ST |
7287 | 2011-05-11 Satoru Takabayashi <satorux@google.com> |
7288 | Paul Pluzhnikov <ppluzhnikov@google.com> | |
7289 | ||
34203483 | 7290 | * doc/install.texi (Configuration): Document --with-linker-hash-style. |
e77e2cbb PP |
7291 | * gcc.c (init_spec): Handle LINKER_HASH_STYLE. |
7292 | * config.in: Add LINKER_HASH_STYLE. | |
7293 | * configure.ac: Add --with-linker-hash-style. | |
7294 | * configure: Regenerate. | |
79bec923 | 7295 | |
d0340959 RG |
7296 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
7297 | ||
7298 | PR middle-end/48964 | |
7299 | * gimple.c (iterative_hash_canonical_type): Fix typo. | |
7300 | ||
cb032fee UB |
7301 | 2011-05-11 Uros Bizjak <ubizjak@gmail.com> |
7302 | ||
7303 | * config/i386/i386.c (legitimize_tls_address) | |
479fecd3 | 7304 | <case TLS_MODEL_GLOBAL_DYNAMIC>: Call gen_tls_dynamic_gnu2_{32,64} |
cb032fee UB |
7305 | expanders directly for TARGET_GNU2_TLS. Determine pic and |
7306 | __tls_get_addr symbol reference here. Update call to | |
7307 | gen_tls_global_dynamic_{32,64} for added arguments. | |
479fecd3 | 7308 | <case TLS_MODEL_LOCAL_DYNAMIC>: Call gen_tls_dynamic_gnu2_{32,64} |
cb032fee UB |
7309 | expanders directly for TARGET_GNU2_TLS. Determine |
7310 | __tls_get_addr symbol reference here. Update call to | |
7311 | gen_tls_local_dynamic_base_{32,64} for added arguments. Attach | |
7312 | unique UNSPEC REG_EQUIV to libcall block. | |
7313 | (ix86_tls_get_addr): Declare static. | |
7314 | * config/i386/i386-protos.h (ix86_tls_get_addr): Remove declaration. | |
7315 | * config/i386/i386.md (tls_global_dynamic_32): Add operand 2 and 3. | |
7316 | Do not determine pic and __tls_get_addr symbol reference here. Do not | |
7317 | call gen_tls_dynamic_gnu2_32 for TARGET_GNU2_TLS. | |
7318 | (tls_local_dynamic_base_32): Ditto for operands 1 and 2. | |
7319 | (tls_global_dynamic_64): Add operand 2. Do not determine | |
7320 | __tls_get_addr symbol reference here. Do not call | |
7321 | gen_tls_dynamic_gnu2_64 for TARGET_GNU2_TLS here. | |
7322 | (tls_local_dynamic_base64): Ditto for operand 1. | |
7323 | ||
6d3cc8f0 EB |
7324 | 2011-05-11 Eric Botcazou <ebotcazou@adacore.com> |
7325 | ||
7326 | * function.c (expand_function_start): Initialize stack_check_probe_note | |
7327 | only if the generic stack checking mechanism is used. | |
7328 | ||
51e020fc RG |
7329 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
7330 | ||
7331 | PR tree-optimization/15256 | |
7332 | * tree-ssa-forwprop.c (simplify_bitwise_binary): Canonicalize | |
7333 | (A & B) | C, combine (A op CST1) op CST2. | |
7334 | (tree_ssa_forward_propagate_single_use_vars): Only bother to | |
7335 | visit assigns that have uses. | |
7336 | ||
51545682 NF |
7337 | 2011-05-11 Nathan Froyd <froydnj@codesourcery.com> |
7338 | ||
cb032fee | 7339 | * ggc-page.c (extra_order_size_table): Use struct tree_type_non_common. |
51545682 NF |
7340 | * lto-streamer-in.c (unpack_ts_type_value_fields): Rename to... |
7341 | (unpack_ts_type_common_value_fields): ...this. Update comment. | |
7342 | (unpack_value_fields): Adjust for renaming. | |
7343 | (lto_input_ts_type_tree_pointers): Split into... | |
7344 | (lto_input_ts_type_common_tree_pointer): ...this and... | |
7345 | (lto_input_ts_type_non_common_tree_pointers): ...this. | |
7346 | (lto_input_tree_pointers): Adjust for above split. | |
7347 | * lto-streamer-out.c (pack_ts_type_value_fields): Rename to... | |
7348 | (pack_ts_type_common_value_fields): ...this. Update comment. | |
7349 | (lto_output_ts_type_tree_pointers): Split into... | |
7350 | (lto_output_ts_type_common_tree_pointers): ...this and... | |
7351 | (lto_output_ts_type_non_common_tree_pointers): ...this. | |
7352 | (lto_output_tree_pointers): Adjust for above split. | |
7353 | * lto-streamer.c (check_handled_ts_structures): Mark TS_TYPE_COMMON, | |
7354 | TS_TYPE_WITH_LANG_SPECIFIC, and TS_TYPE_NON_COMMON as handled. | |
7355 | * stor-layout.c (vector_type_mode): Adjust location of mode field. | |
7356 | * tree.h (MARK_TS_TYPE_COMMON, MARK_TS_TYPE_WITH_LANG_SPECIFIC): | |
7357 | Define. | |
7358 | (struct tree_type): Split into... | |
7359 | (struct tree_type_common: ...this and... | |
7360 | (struct tree_type_with_lang_specific): ...this and... | |
7361 | (struct tree_type_non_common): ...this. Adjust accessor macros | |
7362 | accordingly. | |
7363 | (TYPE_VALUES_RAW): Define. | |
7364 | (union tree_node): Update for above changes. | |
7365 | * tree.c (tree_node_structure_for_code) [tcc_type]: Return | |
7366 | TS_TYPE_NON_COMMON. | |
7367 | (initialize_tree_contains_struct) [TS_TYPE]: Use TS_TYPE_COMMON. | |
7368 | Add TS_TYPE_WITH_LANG_SPECIFIC and TS_TYPE_NON_COMMON. | |
7369 | (tree_code_size) [tcc_type]: Use struct tree_type_non_common. | |
7370 | * treestructu.def (TS_TYPE): Remove. | |
7371 | (TS_TYPE_COMMON, TS_TYPE_WITH_LANG_SPECIFIC, TS_TYPE_NON_COMMON): | |
7372 | Define. | |
7373 | ||
b03c3082 JJ |
7374 | 2011-05-11 Jakub Jelinek <jakub@redhat.com> |
7375 | ||
7376 | PR debug/48159 | |
7377 | * tree-ssa.c (reset_debug_uses): New function. | |
7378 | * tree-flow.h (reset_debug_uses): New prototype. | |
7379 | * tree-data-ref.c (stmts_from_loop): Ignore debug stmts. | |
7380 | * tree-loop-distribution.c (generate_loops_for_partition): Call | |
7381 | reset_debug_uses on the stmts that will be removed. Keep around | |
7382 | all debug stmts, don't count them as bits in partition bitmap. | |
7383 | (generate_builtin): Don't count debug stmts or labels as bits in | |
7384 | partition bitmap. | |
7385 | ||
b5e04de5 RG |
7386 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
7387 | ||
7388 | * gimple.c (gimple_type_hash_1): Merge with ... | |
7389 | (gimple_type_hash): ... this. | |
7390 | (gtc_visit): Remove mode parameter and simplify accordingly. | |
7391 | (gimple_types_compatible_p_1): Likewise. | |
7392 | (gimple_types_compatible_p): Likewise. | |
7393 | (iterative_hash_gimple_type): Likewise. | |
7394 | (visit): Likewise. | |
7395 | (gimple_type_eq): Adjust. | |
7396 | ||
fc6970e4 RE |
7397 | 2011-05-11 Revital Eres <revital.eres@linaro.org> |
7398 | ||
7399 | * ddg.c (create_ddg_dep_from_intra_loop_link): If a true dep edge | |
7400 | enters the branch create an anti edge in the opposite direction | |
7401 | to prevent the creation of reg-moves. | |
7402 | * modulo-sched.c: Adjust comment to reflect the fact we are | |
7403 | scheduling closing branch. | |
7404 | (PS_STAGE_COUNT): Rename to CALC_STAGE_COUNT and redefine. | |
7405 | (stage_count): New field in struct partial_schedule. | |
7406 | (calculate_stage_count): New function. | |
7407 | (normalize_sched_times): Rename to reset_sched_times and handle | |
7408 | incrementing the sched time of the nodes by a constant value | |
7409 | passed as parameter. | |
7410 | (duplicate_insns_of_cycles): Skip closing branch. | |
7411 | (sms_schedule_by_order): Schedule closing branch. | |
7412 | (ps_insn_find_column): Handle closing branch. | |
7413 | (sms_schedule): Call reset_sched_times and adjust the code to | |
7414 | support scheduling of the closing branch. | |
7415 | (ps_insert_empty_row): Update calls to normalize_sched_times | |
7416 | and rotate_partial_schedule functions. | |
7417 | ||
41a58a92 RG |
7418 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
7419 | ||
7420 | PR middle-end/48953 | |
7421 | * tree-inline.c (remap_gimple_op_r): Also remap types of MEM_REFs. | |
7422 | ||
e9f8dcf9 JM |
7423 | 2011-05-11 Joseph Myers <joseph@codesourcery.com> |
7424 | ||
cb032fee UB |
7425 | * opts.c (finish_options): Move warning settings from process_options. |
7426 | * toplev.c (process_options): Move warning settings to finish_options. | |
e9f8dcf9 | 7427 | |
10c224a9 RG |
7428 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
7429 | ||
7430 | PR tree-optimization/18041 | |
7431 | * tree-ssa-forwprop.c (simplify_bitwise_and): Rename to ... | |
7432 | (simplify_bitwise_binary): ... this. Handle operand conversions | |
7433 | by applying them to the result instead. | |
7434 | (tree_ssa_forward_propagate_single_use_vars): Adjust. CSE tree code. | |
7435 | ||
825b27de RG |
7436 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
7437 | ||
7438 | * gimple.c (gimple_canonical_types_compatible_p): Split out | |
7439 | from gimple_types_compatible_p and friends. Do not recurse | |
7440 | to pointed-to types. | |
7441 | (gimple_canonical_type_eq): Use it. | |
7442 | (iterative_hash_canonical_type): Split out from | |
7443 | iterative_hash_gimple_type and friends. Do not recurse | |
7444 | to pointed-to types. | |
7445 | (gimple_canonical_type_hash): Use it, allocate the hash here. | |
7446 | ||
ca756625 RE |
7447 | 2011-05-11 Revital Eres <revital.eres@linaro.org> |
7448 | ||
7449 | * modulo-sched.c (doloop_register_get): Ignore DEBUG_INSNs while | |
7450 | recognizing doloop. | |
7451 | ||
b8abece3 RE |
7452 | 2011-05-11 Revital Eres <revital.eres@linaro.org> |
7453 | ||
7454 | * loop-doloop.c (doloop_condition_get): Use prev_nondebug_insn | |
7455 | instead of PREV_INSN. | |
7456 | ||
ce7b3761 RE |
7457 | 2011-05-11 Revital Eres <revital.eres@linaro.org> |
7458 | ||
7459 | * modulo-sched.c (sms_schedule): Support new form of doloop pattern | |
7460 | * loop-doloop.c (doloop_condition_get): Likewise. | |
7461 | * config/arm/thumb2.md (*thumb2_addsi3_compare0): Remove "*". | |
7462 | (doloop_end): New. | |
7463 | * config/arm/arm.md (*addsi3_compare0): Remove "*". | |
7464 | ||
a9dc9d37 NF |
7465 | 2011-05-10 Nathan Froyd <froydnj@codesourcery.com> |
7466 | ||
7467 | * tree.def (CASE_LABEL_EXPR): Add an operand. | |
7468 | * tree.h (CASE_CHAIN): Use TREE_OPERAND instead of TREE_CHAIN. | |
7469 | ||
96703596 JM |
7470 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
7471 | ||
7472 | * c-decl.c (c_override_global_bindings_to_false): Remove. | |
7473 | (global_bindings_p): Don't check | |
7474 | c_override_global_bindings_to_false. | |
7475 | * c-tree.h (c_override_global_bindings_to_false): Remove. | |
7476 | * c-typeck.c (composite_type): Don't set | |
7477 | c_override_global_bindings_to_false. | |
7478 | ||
dbcc9f08 MM |
7479 | 2011-05-10 Michael Meissner <meissner@linux.vnet.ibm.com> |
7480 | ||
7481 | PR target/48857, 48495 | |
7482 | * config/rs6000/rs6000.h (VSX_SCALAR_MODE): Delete. | |
7483 | (VSX_MODE): Ditto. | |
7484 | (VSX_MOVE_MODE): Ditto. | |
7485 | (ALTIVEC_OR_VSX_VECTOR_MODE): New macro, combine all Altivec and | |
7486 | VSX vector types. Add V2DImode. | |
7487 | (HARD_REGNO_CALLER_SAVE_MODE): Use it instead of | |
7488 | ALTIVEC_VECTOR_MODE and VSX_VECTOR_MODE calls. | |
7489 | (MODES_TIEABLE_P): Ditto. | |
7490 | ||
7491 | * config/rs6000/rs6000.c (rs6000_emit_move): Use | |
7492 | ALTIVEC_OR_VSX_MODE instead of ALTIVEC_VECTOR_MODE and | |
7493 | VSX_VECTOR_MODE. | |
7494 | (init_cumulative_args): Ditto. | |
7495 | (rs6000_function_arg_boundary): Ditto. | |
7496 | (rs6000_function_arg_advance_1): Ditto. | |
7497 | (rs6000_function_arg): Ditto. | |
7498 | (rs6000_function_ok_for_sibcall): Ditto. | |
7499 | (emit_frame_save): Ditto. | |
7500 | (rs6000_function_value): Ditto. | |
7501 | (rs6000_libcall_value): Ditto. | |
7502 | ||
4a68b4ca JM |
7503 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
7504 | ||
7505 | * config.gcc (i[34567]86-*-darwin*, x86_64-*-darwin*): Add | |
7506 | i386/darwin-lib.h to $libgcc_tm_file. | |
7507 | * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Remove. | |
7508 | ||
bcb521e9 JM |
7509 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
7510 | ||
7511 | * doc/sourcebuild.texi (Back End): Mention contrib/config-list.mk. | |
7512 | ||
f10d3ac9 JM |
7513 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
7514 | ||
cb032fee | 7515 | * config/rs6000/genopt.sh, config/rs6000/rs6000-cpus.def: New files. |
f10d3ac9 JM |
7516 | * config/rs6000/rs6000-tables.opt: New file (generated). |
7517 | * config.gcc (powerpc*-*-*, rs6000*-*-*): Add | |
7518 | rs6000/rs6000-tables.opt to extra_options. | |
7519 | * config/rs6000/rs6000-opts.h (RS6000_CPU_OPTION_NATIVE): Define. | |
7520 | * config/rs6000/rs6000.c (rs6000_select): Remove. | |
7521 | (processor_target_table): Move contents to rs6000-cpus.def. | |
7522 | (darwin_rs6000_override_options): Check | |
7523 | global_options_set.x_rs6000_cpu_index instead of | |
7524 | rs6000_select[1].string. | |
7525 | (rs6000_option_override_internal): Likewise. | |
7526 | (rs6000_handle_option): Don't assert that global structures are in | |
7527 | use. Don't handle OPT_mcpu_ and OPT_mtune_ here. | |
7528 | (rs6000_default_cpu): New variable. | |
7529 | (rs6000_file_start): Set it instead of local default_cpu. Check | |
7530 | rs6000_default_cpu, global_options_set.x_rs6000_cpu_index and | |
7531 | global_options_set.x_rs6000_tune_index instead of rs6000_select. | |
7532 | (rs6000_darwin_file_start): Check rs6000_default_cpu and | |
7533 | global_options_set.x_rs6000_cpu_index instead of rs6000_select. | |
7534 | * config/rs6000/rs6000.h (struct rs6000_cpu_select, | |
7535 | rs6000_select): Remove. | |
7536 | * config/rs6000/rs6000.opt (rs6000_cpu_index, rs6000_tune_index): | |
7537 | Remove. | |
7538 | (mcpu=, mtune=): Use Var, Init, Enum and Save. | |
7539 | * config/rs6000/t-rs6000 | |
7540 | ($(srcdir)/config/rs6000/rs6000-tables.opt): New. | |
7541 | * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Check | |
7542 | global_options_set.x_rs6000_cpu_index instead of | |
7543 | rs6000_select[1].string. | |
7544 | * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Check | |
7545 | global_options_set.x_rs6000_cpu_index instead of | |
7546 | rs6000_select[1].string. | |
7547 | ||
80cf2e08 JM |
7548 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
7549 | ||
7550 | * config.gcc (libgcc_tm_file): Define instead of including files | |
7551 | from ../../libgcc/config/ in tm_file. | |
cb032fee | 7552 | * configure.ac (libgcc_tm_file_list, libgcc_tm_include_list): Define. |
80cf2e08 JM |
7553 | * configure: Regenerate. |
7554 | * Makefile.in (libgcc_tm_file_list, libgcc_tm_include_list, | |
7555 | libgcc_tm.h, cs-libgcc_tm.h): New. | |
7556 | (TM_H): Include libgcc_tm.h and $(libgcc_tm_file_list). | |
7557 | (clean): Remove libgcc_tm.h. | |
7558 | * config/arm/symbian.h (RENAME_LIBRARY): Remove. | |
7559 | * mkconfig.sh: Include libgcc_tm.h in tm.h if USED_FOR_TARGET. | |
7560 | * system.h (DECLARE_LIBRARY_RENAMES): Poison. | |
7561 | ||
fd01a351 GJL |
7562 | 2011-05-10 Georg-Johann Lay <avr@gjlay.de> |
7563 | ||
7564 | PR target/48896 | |
7565 | * config/avr/avr.c (avr_ret_register): Return unsigned int | |
7566 | instead of int. | |
7567 | (avr_function_value): Mark fn_decl_or_type as unused, don't pass | |
7568 | it to avr_libcall_value. | |
7569 | avr_expand_builtin): Use EXPAND_NORMAL as arg 4 in calls to | |
7570 | expand_expr. | |
7571 | (avr_expand_binop_builtin): Ditto. | |
7572 | (avr_expand_unop_builtin): Ditto. | |
7573 | ||
34cc3c86 DD |
7574 | 2011-05-10 DJ Delorie <dj@redhat.com> |
7575 | ||
7576 | * config/rx/rx.h (JUMP_ALIGN, LABEL_ALIGN, LOOP_ALIGN): Define. | |
7577 | (LABEL_ALIGN_AFTER_BARRIER): Pass label to rx_align_for_label | |
7578 | * config/rx/rx.c (rx_align_for_label): Add label and | |
7579 | uses_threshold parameters. Do not align when the label is not | |
7580 | used enough. | |
7581 | * config/rx/rx-protos.h (rx_align_for_label): Update prototype. | |
7582 | ||
be173289 RG |
7583 | 2011-05-10 Richard Guenther <rguenther@suse.de> |
7584 | ||
7585 | * tree-ssa-forwprop.c (combine_conversions): Pattern-match | |
7586 | a series of conversions and apply foldings similar to what | |
7587 | fold-const does. | |
7588 | (tree_ssa_forward_propagate_single_use_vars): Call it. | |
7589 | ||
e7f78021 JJ |
7590 | 2011-05-10 Jakub Jelinek <jakub@redhat.com> |
7591 | ||
6ae70ea2 JJ |
7592 | PR tree-optimization/48611 |
7593 | PR tree-optimization/48794 | |
7594 | * tree-eh.c (remove_unreachable_handlers): Don't remove regions | |
7595 | referenced from RESX or EH_DISPATCH arguments. | |
7596 | ||
e7f78021 JJ |
7597 | PR debug/48928 |
7598 | * dfp.c (decimal_to_decnumber): Handle conversion from | |
7599 | dconst{1,2,m1,half}. | |
7600 | ||
fca132b9 UB |
7601 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> |
7602 | ||
7603 | * config/i386/i386.c (ix86_autovectorize_vector_sizes): Return 0 | |
7604 | for !flag_prefer_avx128. | |
7605 | (ix86_preferred_simd_mode): Return word_mode for DFmode without SSE2. | |
7606 | ||
e4c03378 EB |
7607 | 2011-05-09 Eric Botcazou <ebotcazou@adacore.com> |
7608 | ||
7609 | * fold-const.c (fold_range_test): Pass LOC to build_range_check. | |
7610 | (fold_ternary_loc): Use expr_location_or. | |
7611 | ||
805d6a75 L |
7612 | 2011-05-09 H.J. Lu <hongjiu.lu@intel.com> |
7613 | ||
7614 | PR debug/48853 | |
7615 | * dwarf2out.c (mem_loc_descriptor) <case SUBREG>: If | |
7616 | POINTERS_EXTEND_UNSIGNED is defined, don't give up if mode is | |
7617 | Pmode and mem_mode is not VOIDmode. | |
7618 | ||
e4c03378 | 7619 | 2011-05-09 Ville Voutilainen <ville.voutilainen@gmail.com> |
b5da71d4 | 7620 | |
e4c03378 EB |
7621 | * tree.h (TYPE_UNQUALIFIED, TYPE_QUAL_CONST, TYPE_QUAL_VOLATILE, |
7622 | TYPE_QUAL_RESTRICT): Convert to enum. | |
b5da71d4 | 7623 | |
51e7f377 UB |
7624 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> |
7625 | ||
7626 | * config/i386/predicates.md (const_pow2_1_to_2_operand): Remove. | |
7627 | (const_pow2_1_to_8_operand): Ditto. | |
7628 | (const_pow2_1_to_128_operand): Ditto. | |
7629 | (const_pow2_1_to_32768_operand): Ditto. | |
7630 | * config/i386/mmx.md (*mmx_pinsrw): Use const_int_operand instead of | |
7631 | const_pow2_1_to_8_operand for operand 3 predicate. Use exact_log2 | |
7632 | in insn constraint to check integer value of operand 3. | |
7633 | * config/i386/sse.md (*vec_setv4sf_sse4_1): Ditto. | |
7634 | ||
7635 | (PINSR_MODE): New mode iterator. | |
7636 | (sse2p4_1): New mode attribute. | |
7637 | (<sse2p4_1>_pinsr<ssemodesuffix>): Merge insn from sse4_1_pinsrb, | |
7638 | sse2_pinsrw, sse4_1_pinsrd and sse4_1_pinsrq using PINSR_MODE mode | |
7639 | iterator. Use const_int_operand instead of | |
7640 | const_pow2_1_to_{2,8,128,32768}_operand for operand 3 predicate. Use | |
7641 | exact_log2 in insn constraint to check integer value of operand 3. | |
7642 | ||
7643 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> | |
7644 | ||
7645 | * config/i386/sse.md (blendbits): Remove mode attribute. | |
7646 | (<sse4_1>_blend<ssemodesuffix><avxsizesuffix>): Use const_int_operand | |
7647 | instead of const_0_to_<blendbits>_operand for operand 3 predicate. | |
7648 | Check integer value of operand 3 in insn constraint. | |
7649 | ||
0ca8de87 RG |
7650 | 2011-05-09 Richard Guenther <rguenther@suse.de> |
7651 | ||
7652 | * lto-symtab.c (lto_cgraph_replace_node): Use types_compatible_p | |
7653 | for diagnostics. | |
7654 | (lto_symtab_merge): Likewise. Do not register types here. | |
7655 | (lto_symtab_merge_decls_2): Likewise. | |
7656 | (lto_symtab_merge_decls_1): Likewise. | |
7657 | * gimple.h (enum gtc_mode, gimple_types_compatible_p): Do not declare. | |
7658 | * gimple.c (enum gtc_mode): Declare. | |
7659 | (gimple_types_compatible_p): Make static. | |
7660 | ||
a9e6994a AK |
7661 | 2011-05-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
7662 | ||
7663 | * config/s390/s390.md (TD/TF mem to reg move splitter): Make the | |
7664 | temporary register to match Pmode. | |
7665 | ||
fb55d62e UB |
7666 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> |
7667 | ||
7668 | * config/i386/sse.md (*vec_concatv4si): Merge from *vec_concatv4si_1 | |
7669 | and *vec_concatv4si_1_avx. | |
7670 | ||
eb1485a6 UB |
7671 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> |
7672 | ||
7673 | PR rtl-optimization/48927 | |
7674 | * ira-conflicts.c (commutative_constraint_p): Use | |
7675 | recog_data.alternative_enabled_p to disable alternatives where | |
7676 | "enabled" attribute is false. | |
7677 | (get_dup_num): Ditto. | |
7678 | * ira-lives.c (single_reg_class): Ditto. | |
7679 | (ira_implicitly_set_insn_hard_regs): Ditto. | |
7680 | ||
c46d001a EB |
7681 | 2011-05-09 Eric Botcazou <ebotcazou@adacore.com> |
7682 | ||
7683 | * var-tracking.c (find_mem_expr_in_1pdv): Fix thinko. | |
7684 | (dataflow_set_preserve_mem_locs): Likewise. | |
7685 | ||
7686 | 2011-05-09 Philipp Thomas <pth@suse.de> | |
7687 | ||
6d9e7c41 PT |
7688 | * config/mep/mep.c (mep_validate_vliw): Syntax description |
7689 | should not be translated. | |
7690 | ||
d371df6f JM |
7691 | 2011-05-09 Joseph Myers <joseph@codesourcery.com> |
7692 | ||
7693 | * config/mips/genopt.sh, config/mips/mips-cpus.def: New files. | |
7694 | * config/mips/mips-tables.opt: New file (generated). | |
eb1485a6 | 7695 | * config.gcc (mips*-*-*): Add mips/mips-tables.opt to extra_options. |
d371df6f JM |
7696 | * config/mips/mips-opts.h (MIPS_ARCH_OPTION_FROM_ABI, |
7697 | MIPS_ARCH_OPTION_NATIVE): Define. | |
7698 | * config/mips/mips.c (mips_cpu_info_table): Move contents to | |
7699 | mips-cpus.def. | |
7700 | (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p, | |
7701 | mips_parse_cpu): Remove. | |
7702 | (mips_cpu_info_from_opt, mips_default_arch): New. | |
7703 | (mips_handle_option): Don't assert that global structures are in | |
7704 | use. Don't handle OPT_march_, OPT_mtune_ and OPT_mips here. | |
7705 | (mips_option_override): Use new variables and functions to set | |
eb1485a6 | 7706 | state of these options. Use strcmp to check for individual CPU names. |
d371df6f JM |
7707 | * config/mips/mips.h (MIPS_CPU_STRING_DEFAULT): Remove default |
7708 | definition. | |
7709 | * config/mips/mips.opt (march=): Use ToLower and Enum. | |
7710 | (mips): Use ToLower, Enum and Var. | |
7711 | (mtune=): Use ToLower and Enum. | |
7712 | * config/mips/t-mips ($(srcdir)/config/mips/mips-tables.opt): New. | |
7713 | ||
4fc07af9 JH |
7714 | 2011-05-08 Jan Hubicka <jh@suse.cz> |
7715 | ||
7716 | * gimple.c (type_pair_hash, type_pair_eq, lookup_type_pair): | |
7717 | Arrange type pairs to be UID ordered. | |
7718 | (gimple_lookup_type_leader): Make inline. | |
7719 | ||
2cf320a8 NC |
7720 | 2011-05-09 Nick Clifton <nickc@redhat.com> |
7721 | ||
61d6def5 NC |
7722 | PR target/48899 |
7723 | * config/iq2000/iq2000.opt (iq2000_tune): Initialise to | |
7724 | PROCESSOR_DEFAULT. | |
7725 | ||
2cf320a8 NC |
7726 | PR target/48897 |
7727 | * config/mn10300/mn10300.c (extract_bundle): Remove spurious local | |
7728 | variable 's'. | |
7729 | ||
4f82319d CLT |
7730 | 2011-05-08 Chung-Lin Tang <cltang@codesourcery.com> |
7731 | ||
7732 | * combine.c (simplify_comparison): Abstract out parts into... | |
7733 | (simplify_compare_const): ... new function. | |
7734 | (try_combine): Generalize parallel arithmetic/compare combining | |
7735 | to call simplify_compare_const() and CANONICALIZE_COMPARE(). | |
7736 | ||
74605a11 JH |
7737 | 2011-05-08 Jan Hubicka <jh@suse.cz> |
7738 | ||
7739 | * cgraph.c (cgraph_clone_node): Add call_duplication_hook parameter. | |
eb1485a6 UB |
7740 | (cgraph_create_virtual_clone): Call hooks once virtual clone |
7741 | is finished. | |
74605a11 | 7742 | * cgraph.h (cgraph_clone_node): Update prototype. |
eb1485a6 UB |
7743 | * ipa-cp.c (ipcp_estimate_growth): Use |
7744 | estimate_ipcp_clone_size_and_time. | |
74605a11 JH |
7745 | * ipa-inline-transform.c (clone_inlined_nodes): Update. |
7746 | * lto-cgraph.c (input_node): Update. | |
7747 | * ipa-inline.c (recursive_inlining): Update. | |
7748 | * ipa-inline.h (estimate_ipcp_clone_size_and_time): New function. | |
7749 | (evaluate_conditions_for_known_args): Break out from ... | |
7750 | (evaluate_conditions_for_edge): ... here. | |
7751 | (evaluate_conditions_for_ipcp_clone): New function. | |
7752 | (inline_node_duplication_hook): Update clone summary based | |
7753 | on parameter map. | |
7754 | (estimate_callee_size_and_time): Rename to ... | |
7755 | (estimate_node_size_and_time): take NODE instead of EDGE; | |
7756 | take POSSIBLE_TRUTHS as argument. | |
7757 | (estimate_callee_size_and_time): Update. | |
7758 | (estimate_ipcp_clone_size_and_time): New function. | |
7759 | (do_estimate_edge_time): Update. | |
7760 | ||
5c049507 RG |
7761 | 2011-05-08 Richard Guenther <rguenther@suse.de> |
7762 | ||
7763 | PR middle-end/48908 | |
7764 | PR middle-end/48905 | |
7765 | * expmed.c (expand_shift_1): Compute adjusted constant shift | |
7766 | amount manually. | |
7767 | ||
f64c36ba EB |
7768 | 2011-05-08 Eric Botcazou <ebotcazou@adacore.com> |
7769 | ||
7770 | * config/avr/avr.c (print_operand_address): Fix invalid RTL access. | |
7771 | ||
c461a957 EB |
7772 | 2011-05-08 Eric Botcazou <ebotcazou@adacore.com> |
7773 | ||
7774 | * config/rs6000/rs6000.c (output_profile_hook): Fix thinko. | |
7775 | ||
7c74e556 JW |
7776 | 2011-05-08 Jonathan Wakely <jwakely.gcc@gmail.com> |
7777 | ||
7778 | * doc/invoke.texi (-fuse-linker-plugin): Improve grammar. | |
7779 | ||
b4c0a884 JH |
7780 | 2011-05-07 Jan Hubicka <jh@suse.cz> |
7781 | ||
a9bcb3f0 EB |
7782 | * ipa-inline-transform.c (inline_call): Account when program size |
7783 | decreases. | |
b4c0a884 | 7784 | * ipa-inline.c (relative_time_benefit): New function. |
a9bcb3f0 EB |
7785 | (edge_badness): Reorganize to be power 2 based; fix thinko when |
7786 | computing badness for negative growth; update comments to match | |
7787 | reality; better dumps. | |
b4c0a884 | 7788 | |
c99c0026 EB |
7789 | 2011-05-07 Eric Botcazou <ebotcazou@adacore.com> |
7790 | ||
7791 | * langhooks.h (lang_hooks_for_types): Change global_bindings_p's return | |
7792 | type to bool and adjust comment. | |
7793 | * fold-const.c (fold_range_test): Adjust call to global_bindings_p. | |
7794 | (fold_mathfn_compare): Remove calls to global_bindings_p. | |
7795 | (fold_inf_compare): Likewise. | |
7796 | * stor-layout.c (variable_size): Adjust call to global_bindings_p. | |
7797 | * c-tree.h (global_bindings_p): Adjust prototype. | |
7798 | * c-decl.c (global_bindings_p): Return bool and simplify. | |
7799 | ||
1400c8e5 ZD |
7800 | 2011-05-07 Zdenek Dvorak <ook@ucw.cz> |
7801 | ||
7802 | PR tree-optimization/48837 | |
7803 | * tree-tailcall.c (tree_optimize_tail_calls_1): Do not mark tailcalls | |
7804 | when accumulator transformation is performed. | |
7805 | ||
5d0878e7 JH |
7806 | 2011-05-06 Jan Hubicka <jh@suse.cz> |
7807 | ||
a9bcb3f0 EB |
7808 | * i386.h (ix86_tune_indices): Add |
7809 | X86_TUNE_SOFTWARE_PREFETCHING_BENEFICIAL. | |
eb1485a6 | 7810 | (TARGET_SOFTWARE_PREFETCHING_BENEFICIAL): New macro. |
a9bcb3f0 EB |
7811 | * i386.c (initial_ix86_tune_features): Add |
7812 | X86_SOFTARE_PREFETCHING_BENEFICIAL. | |
5d0878e7 JH |
7813 | (software_prefetching_beneficial_p): Remove predicate. |
7814 | (ix86_option_override_internal): Use new macro. | |
7815 | ||
58696ce5 JH |
7816 | 2011-05-06 Jan Hubicka <jh@suse.cz> |
7817 | ||
7818 | * ipa-inline.c (update_callee_keys): Don't reset node growth cache. | |
7819 | ||
c47d0034 JH |
7820 | 2011-05-06 Jan Hubicka <jh@suse.cz> |
7821 | ||
7822 | * cgraph.c (cgraph_add_thunk): Create real function node instead | |
7823 | of alias node; finalize it and mark needed/reachale; arrange visibility | |
7824 | to be right and add it into the corresponding same comdat group list. | |
7825 | (dump_cgraph_node): Dump thunks. | |
7826 | * cgraph.h (cgraph_first_defined_function, cgraph_next_defined_function, | |
a9bcb3f0 EB |
7827 | cgraph_function_with_gimple_body_p, |
7828 | cgraph_first_function_with_gimple_body, | |
c47d0034 JH |
7829 | cgraph_next_function_with_gimple_body): New functions. |
7830 | (FOR_EACH_FUNCTION_WITH_GIMPLE_BODY, FOR_EACH_DEFINED_FUNCTION): | |
7831 | New macros. | |
7832 | * ipa-cp.c (ipcp_need_redirect_p): Thunks can't be redirected. | |
7833 | (ipcp_generate_summary): Use FOR_EACH_FUNCTION_WITH_GIMPLE_BODY. | |
7834 | * cgraphunit.c (cgraph_finalize_function): Only look into possible | |
7835 | devirtualization when optimizing. | |
7836 | (verify_cgraph_node): Verify thunks. | |
7837 | (cgraph_analyze_function): Analyze thunks. | |
7838 | (cgraph_mark_functions_to_output): Output thunks only in combination | |
7839 | with function they are assigned to. | |
7840 | (assemble_thunk): Turn thunk into non-thunk; don't try to turn | |
7841 | alias into normal node. | |
7842 | (assemble_thunks): New functoin. | |
7843 | (cgraph_expand_function): Use it. | |
7844 | * lto-cgraph.c (lto_output_node): Stream thunks. | |
7845 | (input_overwrite_node): Stream in thunks. | |
7846 | * ipa-pure-const.c (analyze_function): Thunks do nothing interesting. | |
7847 | * lto-streamer-out.c (lto_output): Do not try to output thunk's body. | |
7848 | * ipa-inline.c (inline_small_functions): Use FOR_EACH_DEFINED_FUNCTION. | |
7849 | * ipa-inline-analysis.c (compute_inline_parameters): "Analyze" thunks. | |
7850 | (inline_analyze_function): Do not care about thunk jump functions. | |
7851 | (inline_generate_summary):Use FOR_EACH_DEFINED_FUNCTION. | |
a9bcb3f0 EB |
7852 | * ipa-prop.c (ipa_prop_write_jump_functions): Use |
7853 | cgraph_function_with_gimple_body_p. | |
7854 | * passes.c (do_per_function_toporder): Use | |
7855 | cgraph_function_with_gimple_body_p. | |
c47d0034 JH |
7856 | (execute_one_pass);Use FOR_EACH_FUNCTION_WITH_GIMPLE_BODY. |
7857 | (ipa_write_summaries): Use cgraph_function_with_gimple_body_p. | |
7858 | (function_called_by_processed_nodes_p): Likewise. | |
7859 | ||
d8f426ec JM |
7860 | 2011-05-06 Joseph Myers <joseph@codesourcery.com> |
7861 | ||
7862 | * config/rs6000/rs6000.opt (rs6000_ieeequad, rs6000_altivec_abi, | |
7863 | rs6000_spe_abi, rs6000_darwin64_abi): Remove TargetVariable | |
7864 | entries. | |
7865 | (mabi=): Replace with separate entries for mabi=altivec, | |
7866 | mabi=no-altivec, mabi=spe, mabi=no-spe, mabi=d64, mabi=d32, | |
7867 | mabi=ieeelongdouble and mabi=ibmlongdouble. | |
7868 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Move | |
7869 | check for -mabi=spe without SPE ABI support here. | |
7870 | (rs6000_handle_option): Replace OPT_mabi_ handling with | |
7871 | OPT_mabi_altivec and OPT_mabi_spe handling. | |
7872 | ||
80bde45b CC |
7873 | 2011-05-06 Cary Coutant <ccoutant@google.com> |
7874 | ||
7875 | * dwarf2out.c (contains_subprogram_definition): New function. | |
7876 | (should_move_die_to_comdat): Call it. | |
7877 | ||
a91926b9 JL |
7878 | 2011-05-06 Jeff Law <law@redhat.com> |
7879 | ||
7880 | * tree-ssa-threadupdate.c (create_block_for_threading): Do not call | |
7881 | remove_ctrl_stmt_and_useless_edges. | |
7882 | (create_duplicates): Call remove_ctrl_stmt_and_useless_edges. | |
7883 | (fixup_template_block, thread_single_edge): Likewise. | |
7884 | (mark_threaded_blocks): Use THREAD_TARGET. | |
7885 | ||
1fc1b66d AM |
7886 | 2011-05-06 Alan Modra <amodra@gmail.com> |
7887 | ||
7888 | PR target/48900 | |
7889 | * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Use | |
7890 | const0_rtx as the arg to the dummy __tls_get_addr libcall. | |
7891 | ||
e194de64 UB |
7892 | 2011-05-06 Uros Bizjak <ubizjak@gmail.com> |
7893 | ||
7894 | * config/i386/i386.md (*movdf_internal_nointeger): Apply "*" | |
7895 | constraint modifier to "r". | |
7896 | ||
d740dc9e JM |
7897 | 2011-05-06 Joseph Myers <joseph@codesourcery.com> |
7898 | ||
7899 | * config/rs6000/rs6000.c (rs6000_handle_option): Don't handle and | |
7900 | fall through for OPT_mcmodel_. | |
7901 | ||
cab78b15 AK |
7902 | 2011-05-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
7903 | ||
7904 | * config/s390/s390.c (s390_asm_trampoline_template): Comment | |
7905 | instruction sizes. | |
e194de64 | 7906 | (s390_trampoline_init): Replace UNITS_PER_WORD with UNITS_PER_LONG. |
cab78b15 | 7907 | |
ee6824ae RR |
7908 | 2011-05-06 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
7909 | ||
eb1485a6 UB |
7910 | PR target/47930 |
7911 | * config/arm/arm.opt (marm): Document it. | |
7912 | (mthumb): Reject negative variant. | |
ee6824ae | 7913 | |
9ef58464 UB |
7914 | 2011-05-06 Uros Bizjak <ubizjak@gmail.com> |
7915 | ||
7916 | PR target/48898 | |
7917 | * config/i386/netware.c (i386_nlm_maybe_mangle_decl_assembler_name): | |
7918 | Fix typo in "ccvt" variable name. | |
7919 | ||
155b6176 TG |
7920 | 2011-05-06 Tristan Gingold <gingold@adacore.com> |
7921 | ||
7922 | PR target/48895 | |
7923 | * config/vms/vms-ar.c (main): Remove cwd variable. | |
7924 | ||
3becc47b JJ |
7925 | 2011-05-06 Jakub Jelinek <jakub@redhat.com> |
7926 | ||
7927 | PR debug/48902 | |
7928 | * var-tracking.c (prepare_call_arguments): Move else before #endif. | |
7929 | ||
3d528853 NF |
7930 | 2011-05-05 Nathan Froyd <froydnj@codesourcery.com> |
7931 | ||
7932 | * except.c (sjlj_emit_dispatch_table): Call build_case_label. | |
7933 | * gimplify.c (gimplify_switch_expr): Likewise. | |
7934 | * omp-low.c (expand_omp_sections): Likewise. | |
7935 | * tree-eh.c (lower_try_finally_switch): Likewise. | |
7936 | (lower_eh_dispatch): Likewise. | |
7937 | * tree.h (build_case_label): Declare. | |
7938 | * tree.c (build_case_label): Define. | |
7939 | ||
deb5046b JM |
7940 | 2011-05-05 Jason Merrill <jason@redhat.com> |
7941 | ||
7942 | PR c++/40975 | |
7943 | * tree-inline.c (copy_tree_r): Use copy_statement_list. | |
7944 | (copy_statement_list): Don't recurse. | |
7945 | * stor-layout.c (copy_self_referential_tree_r): Don't allow | |
7946 | STATEMENT_LIST. | |
7947 | ||
013c0411 JM |
7948 | 2011-05-05 Joseph Myers <joseph@codesourcery.com> |
7949 | ||
7950 | * config/rs6000/rs6000.c (rs6000_handle_option): Don't fall | |
7951 | through from -mfpu= handling. | |
7952 | * config/rs6000/rs6000.opt (mfpu=): Use Var and Init. | |
7953 | ||
a0905f8b BS |
7954 | 2011-05-05 Bernd Schmidt <bernds@codesourcery.com> |
7955 | ||
7956 | * dwarf2out.c (dwarf2out_frame_debug_expr) [rule 10]: Handle | |
7957 | POST_MODIFY. | |
7958 | ||
fc4538e4 SE |
7959 | 2011-05-05 Steve Ellcey <sje@cup.hp.com> |
7960 | ||
7961 | * config.gcc (hppa*64*-*-hpux11*): Modify tm_file and extra_options | |
7962 | for 11.31. | |
7963 | (hppa[12]*-*-hpux11*): Ditto. | |
7964 | (ia64*-*-hpux*): Add ia64/hpux-unix2003.h to tm_file. | |
7965 | * config/ia64/hpux-unix2003.h: New. | |
7966 | * config/pa/pa-hpux1131.opt: New. | |
7967 | * config/pa/pa-hpux1131.h: New. | |
7968 | * config/pa/pa64-hpux.h (STARTFILE_SPEC): Use unix2003.o if requested. | |
7969 | * config/pa/pa-hpux.opt (flag_pa_unix): Check TARGET_HPUX_11_31 value. | |
4eec64ff | 7970 | * config/pa/pa.h (TARGET_HPUX_11_31): Provide default (0) value. |
fc4538e4 | 7971 | |
1e30c578 JJ |
7972 | 2011-05-05 Jakub Jelinek <jakub@redhat.com> |
7973 | ||
7974 | PR debug/48853 | |
7975 | * dwarf2out.c (mem_loc_descriptor) <case SUBREG>: Pass mem_mode | |
7976 | instead of mode as 3rd argument to recursive call. | |
7977 | (mem_loc_descriptor) <case REG>: If POINTERS_EXTEND_UNSIGNED, don't | |
7978 | emit DW_OP_GNU_regval_type if mode is Pmode and mem_mode is not | |
7979 | VOIDmode. | |
7980 | (mem_loc_descriptor) <case SYMBOL_REF>: If POINTERS_EXTEND_UNSIGNED, | |
7981 | don't give up if mode is Pmode and mem_mode is not VOIDmode. | |
7982 | (mem_loc_descriptor) <case CONST_INT>: If POINTERS_EXTEND_UNSIGNED, | |
7983 | use int_loc_descriptor if mode is Pmode and mem_mode is not VOIDmode. | |
7984 | ||
d19eb620 JB |
7985 | 2011-05-05 Julian Brown <julian@codesourcery.com> |
7986 | ||
7987 | * config/arm/neon.md (vec_set<mode>_internal): Fix misplaced | |
7988 | parenthesis in D-register case. | |
7989 | ||
c860fe8c JM |
7990 | 2011-05-05 Joseph Myers <joseph@codesourcery.com> |
7991 | ||
7992 | * opt-functions.awk (var_type_struct): Handle Enum options. | |
7993 | * optc-gen.awk: Don't check range of variables of character type. | |
7994 | * config/rs6000/rs6000.c (rs6000_sched_insert_nops_str, | |
7995 | rs6000_sched_costly_dep_str, rs6000_recip_name, rs6000_abi_name, | |
7996 | rs6000_sdata_name, rs6000_explicit_options): Remove. | |
7997 | (rs6000_option_override_internal): Check for -malign-power here. | |
7998 | Use global_options_set instead of rs6000_explicit_options. | |
7999 | (rs6000_parse_fpu_option): Remove. | |
8000 | (rs6000_handle_option): Access variables via opts and opts_set | |
8001 | pointers. Use error_at and warning_at. Add fall-through | |
8002 | comments. Don't handle OPT_mcmodel_, OPT_maix_struct_return, | |
8003 | OPT_msvr4_struct_return, OPT_mvrsave, OPT_mspe, OPT_mcall_, | |
8004 | OPT_msdata_, OPT_mtls_size_, OPT_mtraceback_, OPT_mfloat_gprs_, | |
8005 | OPT_msched_costly_dep_, OPT_malign_ or OPT_mrecip_ explicitly | |
8006 | here. Don't use rs6000_parse_fpu_option. | |
8007 | * config/rs6000/rs6000.h (fpu_type): Remove declaration. | |
8008 | * config/rs6000/rs6000.opt (rs6000_long_double_type_size, | |
8009 | rs6000_spe, rs6000_float_gprs): Remove TargetVariable entries. | |
8010 | (mrecip=): Use Var. | |
8011 | (mspe): Use Var and Save. | |
8012 | (mtraceback=): Use Enum and Var. | |
8013 | (rs6000_traceback_type): New Enum and EnumValue entries. | |
8014 | (mfloat-gprs=): Use Enum, Var and Save. | |
8015 | (rs6000_float_gprs): New Enum and EnumValue entries. | |
8016 | (mlong-double-): use Var and Save. | |
8017 | (msched-costly-dep=, minsert-sched-nops=): Use Var. | |
8018 | (malign-): Use Enum and Var. | |
8019 | (rs6000_alignment_flags): New Enum and EnumValue entries. | |
8020 | (mfpu=): Use Enum. | |
8021 | (fpu_type_t): New Enum and EnumValue entries. | |
8022 | * config/rs6000/aix43.h (SUBTARGET_OVERRIDE_OPTIONS): Use | |
8023 | global_options_set instead of rs6000_explicit_options. | |
8024 | * config/rs6000/aix52.h (SUBTARGET_OVERRIDE_OPTIONS): Use | |
8025 | global_options_set instead of rs6000_explicit_options. | |
8026 | * config/rs6000/aix53.h (SUBTARGET_OVERRIDE_OPTIONS): Use | |
8027 | global_options_set instead of rs6000_explicit_options. | |
8028 | * config/rs6000/aix61.h (SUBTARGET_OVERRIDE_OPTIONS): Use | |
8029 | global_options_set instead of rs6000_explicit_options. | |
8030 | * config/rs6000/e500-double.h (SUB3TARGET_OVERRIDE_OPTIONS): Use | |
8031 | global_options_set instead of rs6000_explicit_options. | |
8032 | * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use | |
8033 | global_options_set instead of rs6000_explicit_options. | |
8034 | (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Remove commented-out | |
8035 | definition. | |
8036 | * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use | |
8037 | global_options_set instead of rs6000_explicit_options. | |
8038 | * config/rs6000/linux64.opt (mcmodel=): Use Enum and Var. | |
8039 | (rs6000_cmodel): New Enum and EnumValue entries. | |
8040 | * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use | |
8041 | global_options_set instead of rs6000_explicit_options. | |
8042 | * config/rs6000/sysv4.opt (mcall-, msdata=): Use Var. | |
8043 | (mtls-size=): Use Enum and Var. | |
8044 | (rs6000_tls_size): New Enum and EnumValue entries. | |
8045 | ||
0691dde9 MM |
8046 | 2011-05-05 Michael Matz <matz@suse.de> |
8047 | ||
8048 | * config/alpha/elf.h (ENDFILE_SPEC): Add Ofast. | |
8049 | * config/alpha/osf5.h (ENDFILE_SPEC): Add Ofast. | |
8050 | * config/alpha/netbsd.h (ENDFILE_SPEC): Add Ofast. | |
8051 | * config/sparc/linux.h (ENDFILE_SPEC): Add Ofast. | |
8052 | * config/sparc/sp64-elf.h (ENDFILE_SPEC): Add Ofast. | |
8053 | * config/sparc/sp-elf.h (ENDFILE_SPEC): Add Ofast. | |
8054 | * config/sparc/linux64.h (ENDFILE_SPEC): Add Ofast. | |
8055 | * config/sparc/freebsd.h (ENDFILE_SPEC): Add Ofast. | |
8056 | * config/sparc/sol2.h (ENDFILE_SPEC): Add Ofast. | |
8057 | * config/i386/cygwin.h (ENDFILE_SPEC): Add Ofast. | |
8058 | * config/i386/gnu-user.h (ENDFILE_SPEC): Add Ofast. | |
8059 | * config/i386/gnu-user64.h (ENDFILE_SPEC): Add Ofast. | |
8060 | * config/i386/darwin.h (ENDFILE_SPEC): Add Ofast. | |
8061 | * config/i386/mingw32.h (ENDFILE_SPEC): Add Ofast. | |
8062 | * config/ia64/linux.h (ENDFILE_SPEC): Add Ofast. | |
8063 | * config/mips/linux.h (ENDFILE_SPEC): Add Ofast. | |
8064 | ||
86529a49 RG |
8065 | 2011-05-05 Richard Guenther <rguenther@suse.de> |
8066 | ||
8067 | * expmed.c (expand_variable_shift): Rename to ... | |
8068 | (expand_shift_1): ... this. Take an expanded shift amount. | |
8069 | For rotates recurse directly not building trees for the shift amount. | |
8070 | (expand_variable_shift): Wrap around expand_shift_1. | |
8071 | (expand_shift): Adjust. | |
8072 | ||
d0228c2e JJ |
8073 | 2011-05-05 Jakub Jelinek <jakub@redhat.com> |
8074 | ||
8075 | * gimplify.c (create_tmp_var_raw): Don't call build_type_variant. | |
8076 | ||
907a08d9 EB |
8077 | 2011-05-05 Eric Botcazou <ebotcazou@adacore.com> |
8078 | ||
8079 | * tree.h (get_pending_sizes): Remove prototype. | |
8080 | (put_pending_size): Likewise. | |
8081 | (put_pending_sizes): Likewise. | |
8082 | * stor-layout.c (pending_sizes): Delete. | |
8083 | (get_pending_sizes): Likewise. | |
8084 | (put_pending_size): Likewise. | |
8085 | (put_pending_sizes): Likewise. | |
8086 | (variable_size): Do not call put_pending_size and tidy up. | |
8087 | * function.h (struct function): Remove dont_save_pending_sizes_p. | |
8088 | * lto-streamer-in.c (input_function): Do not stream it. | |
8089 | * lto-streamer-out.c (output_function): Likewise. | |
8090 | * tree-inline.c (initialize_cfun): Do not copy it. | |
8091 | * c-decl.c (store_parm_decls): Do not set it. | |
8092 | * omp-low.c (create_task_copyfn): Likewise. | |
8093 | * tree-optimize.c (tree_rest_of_compilation): Likewise. | |
8094 | ||
386d9c57 UB |
8095 | 2011-05-05 Uros Bizjak <ubizjak@gmail.com> |
8096 | ||
8097 | * config/i386/i386.md (*movdf_internal_rex64): Simplify nested "if" | |
8098 | conditions. | |
8099 | (*movdf_internal): Ditto. | |
8100 | (*movdf_internal_nointeger): Ditto. | |
8101 | (*movsf_internal): Ditto. | |
8102 | ||
a04a722b JM |
8103 | 2011-05-05 Joseph Myers <joseph@codesourcery.com> |
8104 | ||
8105 | * c-decl.c (finish_decl): Don't call get_pending_sizes. | |
8106 | (grokparm): Add parameter expr. Pass it to grokdeclarator. | |
8107 | (push_parm_decl): Add parameter expr. Pass it to grokdeclarator. | |
8108 | (c_variable_size): Remove. | |
8109 | (grokdeclarator): Use save_expr instead of c_variable_size. Don't | |
8110 | call put_pending_sizes. | |
8111 | (get_parm_info): Add parameter expr. Use it to set | |
8112 | arg_info->pending_sizes. | |
8113 | (store_parm_decls): Use arg_info->pending_sizes instead or calling | |
8114 | get_pending_sizes. | |
8115 | * c-parser.c (c_parser_parms_declarator): Update call to | |
8116 | c_parser_parms_list_declarator. | |
8117 | (c_parser_parms_list_declarator): Take parameter expr. Update | |
8118 | call to push_parm_decl. Update recursive call. Don't call | |
8119 | get_pending_sizes. Update calls to get_parm_info. | |
8120 | (c_parser_objc_method_definition): Update calls to | |
8121 | c_parser_objc_method_decl and objc_start_method_definition. | |
386d9c57 | 8122 | (c_parser_objc_methodproto): Update call to c_parser_objc_method_decl. |
a04a722b JM |
8123 | (c_parser_objc_method_decl): Add parameter expr. Update call to |
8124 | grokparm. | |
386d9c57 | 8125 | (c_parser_objc_try_catch_finally_statement): Update call to grokparm. |
a04a722b JM |
8126 | * c-tree.h (struct c_arg_info.pending_sizes): Change to a tree. |
8127 | (get_parm_info, grokparm, push_parm_decl): Update prototypes. | |
8128 | ||
c92a6f97 MH |
8129 | 2011-05-05 Michael Hope <michael.hope@linaro.org> |
8130 | ||
386d9c57 UB |
8131 | PR pch/45979 |
8132 | * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for | |
8133 | __ARM_EABI__ hosts. | |
c92a6f97 | 8134 | |
07ea0048 UW |
8135 | 2011-05-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
8136 | ||
8137 | * config/spu/spu.c (TARGET_ASM_OUTPUT_MI_THUNK): Define. | |
8138 | (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Likewise. | |
8139 | (spu_output_mi_thunk): New function. | |
8140 | ||
d634bfa1 RO |
8141 | 2011-05-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8142 | ||
8143 | * config/sparc/sol2.h (ASM_OUTPUT_CALL): Use | |
8144 | targetm.asm_out.print_operand. | |
8145 | * config/sol2.c: Include target.h. | |
8146 | ||
40fda55b JH |
8147 | 2011-05-04 Jan Hubicka <jh@suse.cz> |
8148 | ||
8149 | * ipa-inline.c (reset_edge_caches): New function. | |
8150 | (update_caller_keys): Add check_inlinablity_for; do not | |
8151 | reset edge caches; remove now unnecesary loop. | |
386d9c57 | 8152 | (update_callee_keys): Add comments; reset node_growth_cache of callee. |
40fda55b JH |
8153 | (update_all_callee_keys): Likewise. |
8154 | (inline_small_functions): Sanity check cache; update code | |
8155 | recomputing it. | |
8156 | ||
0360f70d BS |
8157 | 2011-05-04 Bernd Schmidt <bernds@codesourcery.com> |
8158 | ||
8159 | PR rtl-optimization/47612 | |
8160 | * df-problems.c (can_move_insns_across): Don't pick a cc0 setter | |
8161 | as the last insn of the sequence to be moved. | |
8162 | ||
7a994646 TB |
8163 | 2011-05-04 Tobias Burnus <burnus@net-b.de> |
8164 | ||
8165 | PR fortran/48864 | |
8166 | * doc/invoke.texi (Ofast): Document that it | |
8167 | enables Fortran's -fno-protect-parens. | |
8168 | ||
7a2f7208 UB |
8169 | 2011-05-04 Uros Bizjak <ubizjak@gmail.com> |
8170 | ||
8171 | * config/i386/i386.c (ix86_reorg): Run move_or_delete_vzeroupper first. | |
8172 | ||
a2d42931 EB |
8173 | 2011-05-04 Eric Botcazou <ebotcazou@adacore.com> |
8174 | ||
8175 | * stor-layout.c (variable_size): Do not issue errors. | |
8176 | ||
f81b1a3d RG |
8177 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
8178 | ||
8179 | * coverage.c (tree_coverage_counter_ref): Use integer_type_node | |
8180 | for array-ref indices. | |
8181 | (tree_coverage_counter_addr): Likewise. | |
8182 | (build_fn_info_type): Use size_int for index types. | |
8183 | (build_gcov_info): Likewise. | |
8184 | ||
c62c040f RG |
8185 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
8186 | ||
8187 | * c-decl.c (check_bitfield_type_and_width): Do not pass NULL | |
8188 | to build_int_cst. | |
8189 | * c-typeck.c (really_start_incremental_init): Use bitsize_int | |
8190 | for constructor indices. | |
8191 | (push_init_level): Likewise. | |
8192 | ||
1e3287d0 RG |
8193 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
8194 | ||
8195 | * explow.c (promote_mode): Move variable declarations before code. | |
8196 | ||
6c32445b NF |
8197 | 2011-05-04 Nathan Froyd <froydnj@codesourcery.com> |
8198 | ||
8199 | * tree.h (build_function_type_array): Declare. | |
8200 | (build_varargs_function_type_array): Declare. | |
8201 | (build_function_type_vec, build_varargs_function_type_vec): Define. | |
8202 | * tree.c (build_function_type_array_1): New function. | |
8203 | (build_function_type_array): New function. | |
8204 | (build_varargs_function_type_array): New function. | |
8205 | ||
fdabf269 RS |
8206 | 2011-05-04 Richard Sandiford <richard.sandiford@linaro.org> |
8207 | ||
8208 | * tree-vect-loop.c (vectorizable_reduction): Check reduction cost | |
8209 | before setting STMT_VINFO_TYPE. | |
8210 | ||
a207915a UW |
8211 | 2011-05-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
8212 | ||
8213 | * config/spu/spu.c (spu_gimplify_va_arg_expr): Call pass_by_reference | |
8214 | instead of spu_pass_by_reference. | |
8215 | ||
5e617be8 AK |
8216 | 2011-05-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
8217 | ||
8218 | * calls.c (emit_library_call_value_1): Invoke | |
8219 | promote_function_mode hook on libcall arguments. | |
8220 | * explow.c (promote_function_mode, promote_mode): Handle TYPE | |
8221 | argument being NULL. | |
8222 | * targhooks.c (default_promote_function_mode): Lisewise. | |
8223 | * config/s390/s390.c (s390_promote_function_mode): Likewise. | |
8224 | * config/sparc/sparc.c (sparc_promote_function_mode): Likewise. | |
8225 | ||
8226 | * doc/tm.texi: Document that TYPE argument might be NULL. | |
8227 | ||
486d04be SH |
8228 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
8229 | ||
8230 | * config/bfin/bfin.c (bfin_cpus): Update silicon revisions. | |
8231 | ||
9b19b026 SH |
8232 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
8233 | ||
8234 | From Bernd Schmidt | |
8235 | * config/bfin/bfin.md (addsi3): Add an alternative for IREGS. | |
8236 | ||
502bc3df RO |
8237 | 2011-05-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8238 | ||
8239 | * config/alpha/alpha.h (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB) | |
8240 | (MIPS_UNMARK_STAB, SHASH_SIZE, THASH_SIZE, ALIGN_SYMTABLE_OFFSET): | |
8241 | Move ... | |
8242 | * mips-tfile.c: ... here. | |
8243 | Don't include coretypes.h, tm.h, filenames.h. | |
8244 | (saber_stop): Remove definition and all calls. | |
8245 | [__SABER__]: Remove. | |
8246 | (__LINE__): Remove default. | |
8247 | (Size_t, Ptrdiff_t): Remove definitions. | |
8248 | Replace by size_t, ptrdiff_t. | |
8249 | [!MIPS_DEBUGGING_INFO]: Remove. | |
8250 | (SHASH_SIZE, THASH_SIZE): Remove defaults. | |
8251 | (progname): Add const. | |
8252 | (STATIC): Remove. | |
8253 | Replace all uses by static. | |
8254 | (ALIGN_SYMTABLE_OFFSET): Remove default. | |
8255 | * mips-tdump.c: Don't include coretypes.h, tm.h. | |
8256 | Remove !MIPS_IS_STAB guard. | |
8257 | * Makefile.in (mips-tfile.o): Remove $(RTL_H), coretypes.h, | |
8258 | $(TM_H), filenames.h dependencies. | |
8259 | (mips-tdump.o): Remove $(RTL_H), coretypes.h, $(TM_H) dependencies. | |
8260 | ||
991eb6ef SH |
8261 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
8262 | ||
8263 | From Jie Zhang | |
8264 | *config/bfin/bfin.c (bfin_extra_live_on_entry): New. | |
8265 | (TARGET_EXTRA_LIVE_ON_ENTRY): Define. | |
8266 | ||
420ccc84 SH |
8267 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
8268 | ||
8269 | From Bernd Schmidt | |
8270 | * config/bfin/bfin.h (FUNCTION_PROFILER): Take TARGET_LONG_CALLS into | |
8271 | account and save/restore RETS. | |
8272 | (PROFILE_BEFORE_PROLOGUE): Define. | |
8273 | (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Add tab character. Correct | |
8274 | the push insn to use predecrement. | |
8275 | ||
9f8d69ee SH |
8276 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
8277 | ||
8278 | From Jie Zhang | |
8279 | * config/bfin/bfin.c (bfin_expand_prologue): Don't clobber P2. | |
8280 | ||
662c03f4 NC |
8281 | 2011-05-04 Nick Clifton <nickc@redhat.com> |
8282 | ||
8283 | * config/mn10300/mn10300.c: Include cfgloop.h. | |
8284 | (DUMP): New macro. | |
8285 | (mn10300_insert_setlb_lcc): New function. Inserts a SETLB and a | |
8286 | Lcc or a FLcc insn into the instruction stream. | |
8287 | (mn10300_block_contains_call): New function. Returns true if the | |
8288 | given basic block contains a CALL insn. | |
8289 | (mn10300_loop_contains_call_insn): New function. Returns true if | |
8290 | the given loop contains a CALL insn. | |
8291 | (mn10300_scan_for_setlb_lcc): New function. Finds opportunities | |
8292 | to use the SETLB and Lcc or FLcc insns. | |
8293 | (mn10300_reorg): Invoke mn10300_scan_for_setlb_lcc when optimizing. | |
8294 | (TARGET_FLAGS): Add MASK_ALLOW_SETLB. | |
8295 | * config/mn10300/mn10300.opt (msetlb): New option. Used to | |
8296 | disable the SETLB optimization. | |
8297 | * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Add | |
8298 | __SETLB__ or __NO_SETLB__. | |
8299 | * config/mn10300/mn10300.md (UNSPEC_SETLB): New constant. | |
8300 | (movsf_internal): Handle MDR register. | |
8301 | (cmpsi): Make visible. | |
8302 | (setlb): New pattern. | |
8303 | (Lcc): New pattern. | |
8304 | (FLcc): New pattern. | |
8305 | ||
843b6915 UB |
8306 | 2011-05-04 Uros Bizjak <ubizjak@gmail.com> |
8307 | ||
8308 | PR target/48860 | |
8309 | * config/i386/i386.md (*movdi_internal_rex64) Use %vmovd | |
8310 | for reg<->xmm moves. | |
8311 | * config/i386/sse.md (*vec_concatv2di_rex64_sse4_1): Ditto. | |
8312 | (vec_concatv2di_rex64_sse): Ditto. | |
8313 | (*sse2_storeq_rex64): Do not emit %v prefix for mov{q} mnemonic. | |
8314 | (*vec_extractv2di_1_rex64): Ditto. | |
8315 | ||
8316 | Revert: | |
8317 | 2011-05-02 Uros Bizjak <ubizjak@gmail.com> | |
8318 | ||
8319 | * config/i386/mmx.md (*mov<mode>_internal_rex64): Use %vmovq for | |
8320 | reg<->xmm moves. | |
8321 | (*movv2sf_internal_rex64): Use %vmovq for reg<->xmm moves. | |
8322 | ||
d35936ab RG |
8323 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
8324 | ||
8325 | * tree.h (int_const_binop): Remove notrunc argument. | |
8326 | * fold-const.c (int_const_binop): Remove notrunc argument. Always | |
8327 | create integer constants that are properly truncated. | |
8328 | (extract_muldiv_1): Expand one notrunc int_const_binop caller. | |
8329 | (const_binop): Remove zero notrunc argument to int_const_binop. | |
8330 | (size_binop_loc): Likewise. | |
8331 | (fold_div_compare): Likewise. | |
8332 | (maybe_canonicalize_comparison_1): Likewise. | |
8333 | (fold_comparison): Likewise. | |
8334 | (fold_binary_loc): Likewise. | |
8335 | (multiple_of_p): Likewise. | |
8336 | * expr.c (store_constructor): Likewise. | |
8337 | * gimple-fold.c (maybe_fold_offset_to_array_ref): Likewise. | |
8338 | (maybe_fold_stmt_addition): Likewise. | |
8339 | * ipa-prop.c (ipa_modify_call_arguments): Likewise. | |
8340 | * stor-layout.c (layout_type): Likewise. | |
8341 | * tree-data-ref.c (tree_fold_divides_p): Likewise. | |
8342 | * tree-sra.c (build_ref_for_offset): Likewise. | |
8343 | (build_user_friendly_ref_for_offset): Likewise. | |
8344 | * tree-ssa-address.c (maybe_fold_tmr): Likewise. | |
8345 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Likewise. | |
8346 | * tree-ssa-loop-niter.c (inverse): Likewise. | |
8347 | * tree-ssa-pre.c (create_component_ref_by_pieces_1): Likewise. | |
8348 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Likewise. | |
8349 | * tree-switch-conversion.c (check_range): Likewise. | |
8350 | (build_constructors): Likewise. | |
8351 | * tree-vect-generic.c (expand_vector_piecewise): Likewise. | |
8352 | * tree-vrp.c (set_and_canonicalize_value_range): Likewise. | |
8353 | (extract_range_from_assert): Likewise. | |
8354 | (vrp_int_const_binop): Likewise. | |
8355 | (extract_range_from_binary_expr): Likewise. | |
8356 | (extract_range_from_unary_expr): Likewise. | |
8357 | (check_array_ref): Likewise. | |
8358 | (find_case_label_range): Likewise. | |
8359 | (simplify_div_or_mod_using_ranges): Likewise. | |
8360 | * tree-cfg.c (group_case_labels_stmt): Use double-ints for | |
8361 | comparing case labels for merging. | |
8362 | ||
8992c063 MW |
8363 | 2011-05-03 Mark Wielaard <mjw@redhat.com> |
8364 | ||
8365 | * dwarf2out.c (debug_str_hash_forced): Removed. | |
8366 | (gen_label_for_indirect_string): Removed. | |
8367 | (get_debug_string_label): Removed. | |
8368 | (AT_string_form): Generate label directly. | |
8369 | (output_indirect_string): Test indirect_string_node for | |
8370 | DW_FORM_strp instead of checking label and refcount. | |
8371 | (prune_indirect_string): Removed. | |
8372 | (prune_unused_types): Don't check debug_str_hash_forced or | |
8373 | call prune_indirect_string. | |
8374 | ||
4868e6ea AO |
8375 | 2011-05-04 Alexandre Oliva <aoliva@redhat.com> |
8376 | ||
8377 | PR other/48093 | |
8378 | * doc/invoke.texi: Document -mtls-dialect and GCC_COMPARE_DEBUG. | |
8379 | ||
01a5c0ab AO |
8380 | 2011-05-04 Alexandre Oliva <aoliva@redhat.com> |
8381 | ||
8382 | PR debug/47994 | |
8383 | PR debug/47919 | |
8384 | * combine.c (try_combine): Skip debug insns at m_split tests. | |
8385 | ||
6ac00218 MW |
8386 | 2011-04-26 Mark Wielaard <mjw@redhat.com> |
8387 | ||
8388 | PR42288 | |
8389 | * dwarf2out.c (dwarf2out_finish): Always call output_aranges () | |
8390 | when info_section_emitted. | |
8391 | ||
3af42a7b JM |
8392 | 2011-05-03 Joseph Myers <joseph@codesourcery.com> |
8393 | ||
8394 | * config/mips/mips-opts.h: New. | |
8395 | * config/mips/mips.c (enum mips_r10k_cache_barrier_setting): Move | |
8396 | to mips-opts.h. | |
8397 | (mips_abi, mips_code_readable, mips_r10k_cache_barriee): Remove. | |
8398 | (mips_handle_option): Don't handle OPT_mabi_, OPT_mcode_readable_ | |
8399 | or OPT_mr10k_cache_barrier_ here. Access mips_cache_flush_func | |
8400 | via opts pointer. | |
8401 | * config/mips/mips.h (enum mips_code_readable_setting): Move to | |
8402 | mips-opts.h. | |
8403 | (mips_abi, mips_code_readable): Don't declare. | |
843b6915 | 8404 | * config/mips/mips.opt (config/mips/mips-opts.h): New HeaderInclude. |
3af42a7b JM |
8405 | (mabi=): Use Enum and Var. |
8406 | (mips_abi): New Enum and EnumValue entries. | |
8407 | (mcode-readable=): Use Enum and Var. | |
8408 | (mips_code_readable_setting): New Enum and EnumValue entries. | |
8409 | (mr10k-cache-barrier=): Use Enum and Var. | |
8410 | (mips_r10k_cache_barrier_setting): New Enum and EnumValue entries. | |
8411 | ||
1cb1a99f JH |
8412 | 2011-05-03 Jan Hubicka <jh@suse.cz> |
8413 | ||
8414 | * cgraph.h (cgraph_node_set_def, varpool_node_set_def): Move out of GTY; | |
8415 | replace hash by pointer map. | |
8416 | (cgraph_node_set_element_def, cgraph_node_set_element, | |
8417 | const_cgraph_node_set_element, varpool_node_set_element_def, | |
8418 | varpool_node_set_element, const_varpool_node_set_element): Remove. | |
8419 | (free_cgraph_node_set, free_varpool_node_set): New function. | |
8420 | (cgraph_node_set_size, varpool_node_set_size): Use vector size. | |
8421 | * tree-emutls.c: Free varpool node set. | |
8422 | * ipa-utils.c (cgraph_node_set_new, cgraph_node_set_add, | |
8423 | cgraph_node_set_remove, cgraph_node_set_find, dump_cgraph_node_set, | |
8424 | debug_cgraph_node_set, free_cgraph_node_set, varpool_node_set_new, | |
8425 | varpool_node_set_add, varpool_node_set_remove, varpool_node_set_find, | |
8426 | dump_varpool_node_set, free_varpool_node_set, debug_varpool_node_set): | |
8427 | Move here from ipa.c; implement using pointer_map | |
8428 | * ipa.c (cgraph_node_set_new, cgraph_node_set_add, | |
8429 | cgraph_node_set_remove, cgraph_node_set_find, dump_cgraph_node_set, | |
8430 | debug_cgraph_node_set, varpool_node_set_new, | |
8431 | varpool_node_set_add, varpool_node_set_remove, varpool_node_set_find, | |
8432 | dump_varpool_node_set, debug_varpool_node_set): | |
8433 | Move to ipa-uitls.c. | |
8434 | * passes.c (ipa_write_summaries): Update. | |
8435 | ||
7f31f4db SH |
8436 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
8437 | ||
7a2f7208 UB |
8438 | From Mike Frysinger: |
8439 | * config/bfin/bfin.c (bfin_cpus[]): Add 0.4 for | |
8440 | bf542/bf544/bf547/bf548/bf549. | |
7f31f4db | 8441 | |
b70fce6d UB |
8442 | 2011-05-03 Uros Bizjak <ubizjak@gmail.com> |
8443 | ||
8444 | * expmed.c (extract_bit_field_1): Remove write-only variable "icode". | |
8445 | ||
265b1d82 SH |
8446 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
8447 | ||
8448 | From Bernd Schmidt: | |
8449 | * config/bfin/bfin.md (MOVCC): New mode_macro. | |
8450 | (mov<mode>cc_insn1, mov<mode>cc_insn2, mov<mode>cc): Renamed from | |
8451 | movsicc_insn1, movsicc_insn2 and movsicc and macroized. Remove | |
8452 | comments from generated assembly. | |
8453 | ||
f0b568f3 SH |
8454 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
8455 | ||
8456 | From Bernd Schmidt | |
8457 | * config/bfin/t-bfin (LIB1ASMFUNCS): Add muldi3 and umulsi3_highpart. | |
8458 | * config/bfin/t-bfin-elf (LIB1ASMFUNCS): Add muldi3. | |
8459 | * config/bfin/t-bfin-linux (LIB1ASMFUNCS): Add muldi3. | |
8460 | * config/bfin/t-bfin-uclinux (LIB1ASMFUNCS): Add muldi3. | |
8461 | * config/bfin/lib1funcs.asm (___muldi3): New function. | |
8462 | ||
2c67cf6e NF |
8463 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8464 | ||
8465 | * config/stormy16/stormy16 (xstormy16_init_builtins): Call | |
8466 | build_function_type_list instead of build_function_type. | |
8467 | Rearrange initialization of `args' to do so. | |
8468 | ||
f9ac28ad NF |
8469 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8470 | ||
8471 | * config/i386/i386.c (ix86_code_end): Call build_function_type_list | |
8472 | instead of build_function_type. | |
8473 | ||
22b8798c NF |
8474 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8475 | ||
8476 | * config/rs6000/rs6000.c (spe_init_builtins): Call | |
8477 | build_function_type_list instead of build_function_type. | |
8478 | (paired_init_builtins, altivec_init_builtins): Likewise. | |
8479 | (builtin_function_type): Likewise. | |
8480 | ||
4cb44528 NF |
8481 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8482 | ||
8483 | * config/sh/sh.c (sh_media_init_builtins): Call | |
8484 | build_function_type_list instead of build_function_type. | |
8485 | ||
4c203a6a NF |
8486 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8487 | ||
8488 | * config/sparc/sparc.c (sparc_file_end): Call | |
8489 | build_function_type_list instead of build_function_type. | |
8490 | ||
d6a3d62b NF |
8491 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8492 | ||
8493 | * config/alpha/alpha.c (alpha_init_builtins): Call | |
8494 | build_function_type_list instead of build_function_type. | |
8495 | ||
de530b86 NF |
8496 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8497 | ||
8498 | * config/xtensa/xtensa.c (xtensa_init_builtins): Call | |
8499 | build_function_type_list instead of build_function_type. | |
8500 | ||
baeec5f2 NF |
8501 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8502 | ||
8503 | * config/iq2000/i2000.c (iq2000_init_builtins): Call | |
8504 | build_function_type_list instead of build_function_type. | |
8505 | Delete `endlink' variable. | |
8506 | ||
c19afe52 NF |
8507 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8508 | ||
8509 | * config/avr/avr.c (avr_init_builtins): Call | |
8510 | build_function_type_list instead of build_function_type. | |
8511 | ||
a341df0a NF |
8512 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8513 | ||
8514 | * config/picochip/picochip.c (picochip_init_builtins): Call | |
8515 | build_function_type_list instead of build_function_type. | |
8516 | Delete `endlink' variable. | |
8517 | ||
2102b1e1 NF |
8518 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
8519 | ||
8520 | * config/bfin/bfin.c (bfin_init_builtins): Call | |
8521 | build_function_type_list instead of build_function_type. | |
8522 | ||
9f111209 SH |
8523 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
8524 | ||
8525 | From Bernd Schmidt | |
8526 | * config/bfin/bfin.md (rotrsi, rotlsi): Don't take INTVAL of anything | |
8527 | that's not CONST_INT. Seemingly redundant check is due to PR39768. | |
8528 | ||
7071d064 SH |
8529 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
8530 | ||
8531 | From Jie Zhang: | |
8532 | * config/bfin/uclinux.h (LINK_GCC_C_SEQUENCE_SPEC): Make sure | |
8533 | libbffastfp overrides libgcc when -mfast-fp. | |
8534 | ||
748f7574 | 8535 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
44fb48ef SH |
8536 | |
8537 | Originally from Bernd Schmidt | |
8538 | * config/bfin/uclinux.h (SUBTARGET_FDPIC_NOT_SUPPORTED): New macro. | |
8539 | * config/bfin/bfin.c (override_options): Test it and error if | |
8540 | TARGET_FDPIC. | |
8541 | ||
1a3a9152 SH |
8542 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
8543 | ||
8544 | Originally From Bernd Schmidt | |
8545 | * config/bfin/bfin.c (override_options): Disable -fstack-limit for | |
8546 | FD-PIC. | |
8547 | ||
7134c090 JL |
8548 | 2011-05-03 Jeff Law <law@redhat.com> |
8549 | ||
8550 | * tree-ssa-threadupdate.c (THREAD_TARGET): define. | |
8551 | (remove_ctrl_stmt_and_useless_edges): Clear AUX field of outgoing edges. | |
8552 | (craete_edge_and_update_destination_phis): Use THREAD_TARGET rather | |
b70fce6d UB |
8553 | than accessing AUX field directly. Free the AUX field before |
8554 | clearing it. | |
7134c090 JL |
8555 | (thread_block, thread_through_loop_header): Likewise. |
8556 | (thread_single_edge, mark_threaded_blocks): Likewise. | |
8557 | (redirect_edges): Delay clearing the AUX field. Free the AUX field. | |
8558 | (register_jump_thread): Do not attempt to thread to a NULL edge. | |
b70fce6d | 8559 | |
2c7eebae BS |
8560 | 2011-05-03 Bernd Schmidt <bernds@codesourcery.com> |
8561 | ||
8562 | * function.c (init_function_start): Call decide_function_section. | |
8563 | * varasm.c (decide_function_section): New function. | |
8564 | (assemble_start_function): When not using | |
8565 | flag_reorder_blocks_and_partition, don't compute in_cold_section_p | |
8566 | or first_function_block_is_cold. | |
8567 | * rtl.h (decide_function_section): Declare. | |
8568 | ||
17038fcf JJ |
8569 | 2011-05-03 Uros Bizjak <ubizjak@gmail.com> |
8570 | Jakub Jelinek <jakub@redhat.com> | |
8571 | ||
8572 | PR target/48774 | |
8573 | * config/i386/i386.c (ix86_match_ccmode): For CC{A,C,O,S}mode | |
8574 | only succeed if req_mode is the same as set_mode. | |
8575 | ||
3810076b BS |
8576 | 2011-05-03 Bernd Schmidt <bernds@codesourcery.com> |
8577 | ||
8578 | * gengenrtl.c (special_rtx): PC, CC0 and RETURN are special. | |
8579 | * genemit.c (gen_exp): Handle RETURN. | |
8580 | * emit-rtl.c (verify_rtx_sharing): Likewise. | |
8581 | (init_emit_regs): Create pc_rtx, ret_rtx and cc0_rtx specially. | |
8582 | * rtl.c (copy_rtx): RETURN is shared. | |
8583 | * rtl.h (enum global_rtl_index): Add GR_RETURN. | |
8584 | (ret_rtx): New. | |
8585 | * jump.c (redirect_exp_1): Don't use gen_rtx_RETURN. | |
8586 | * config/s390/s390.c (s390_emit_epilogue): Likewise. | |
8587 | * config/rx/rx.c (gen_rx_rtsd_vector): Likewise. | |
8588 | * config/cris/cris.c (cris_expand_return): Likewise. | |
8589 | * config/m68k/m68k.c (m68k_expand_epilogue): Likewise. | |
8590 | * config/rs6000/rs6000.c (rs6000_make_savres_rtx, | |
8591 | rs6000_emit_epilogue, rs6000_output_mi_thunk): Likewise. | |
8592 | * config/picochip/picochip.c (picochip_expand_epilogue): Likewise. | |
8593 | * config/h8300/h8300.c (h8300_push_pop, h8300_expand_epilogue): | |
8594 | Likewise. | |
8595 | * config/v850/v850.c (expand_epilogue): Likewise. | |
8596 | * config/bfin/bfin.c (bfin_expand_call): Likewise. | |
8597 | * config/arm/arm.md (epilogue): Likewise. | |
8598 | * config/mn10300/mn10300.c (mn10300_expand_epilogue): Likewise. | |
8599 | * config/sparc/sparc.c (sparc_struct_value_rtx): Rename ret_rtx | |
8600 | variable to ret_reg. | |
8601 | ||
9efdb4ad RG |
8602 | 2011-05-03 Richard Guenther <rguenther@suse.de> |
8603 | ||
8604 | PR lto/48846 | |
8605 | * lto-streamer-in.c (unpack_ts_decl_common_value_fields): | |
8606 | Stream decl_common.off_align instead of the derived DECL_OFFSET_ALIGN. | |
8607 | * lto-streamer-out.c (pack_ts_decl_common_value_fields): Likewise. | |
8608 | ||
60a45536 RG |
8609 | 2011-05-03 Richard Guenther <rguenther@suse.de> |
8610 | ||
8611 | * c-decl.c (grokdeclarator): Instead of looking at | |
8612 | TREE_OVERFLOW check if the constant fits in the index type. | |
8613 | ||
3188ed59 RS |
8614 | 2011-05-03 Richard Sandiford <richard.sandiford@linaro.org> |
8615 | ||
8616 | * config/arm/neon.md (vec_load_lanes<mode><mode>): New expanders, | |
8617 | (vec_store_lanes<mode><mode>): Likewise. | |
8618 | ||
272c6793 RS |
8619 | 2011-05-03 Richard Sandiford <richard.sandiford@linaro.org> |
8620 | ||
8621 | * doc/md.texi (vec_load_lanes, vec_store_lanes): Document. | |
8622 | * optabs.h (COI_vec_load_lanes, COI_vec_store_lanes): New | |
8623 | convert_optab_index values. | |
8624 | (vec_load_lanes_optab, vec_store_lanes_optab): New convert optabs. | |
8625 | * genopinit.c (optabs): Initialize the new optabs. | |
8626 | * internal-fn.def (LOAD_LANES, STORE_LANES): New internal functions. | |
8627 | * internal-fn.c (get_multi_vector_move, expand_LOAD_LANES) | |
8628 | (expand_STORE_LANES): New functions. | |
8629 | * tree.h (build_array_type_nelts): Declare. | |
8630 | * tree.c (build_array_type_nelts): New function. | |
8631 | * tree-vectorizer.h (vect_model_store_cost): Add a bool argument. | |
8632 | (vect_model_load_cost): Likewise. | |
8633 | (vect_store_lanes_supported, vect_load_lanes_supported) | |
8634 | (vect_record_strided_load_vectors): Declare. | |
8635 | * tree-vect-data-refs.c (vect_lanes_optab_supported_p) | |
8636 | (vect_store_lanes_supported, vect_load_lanes_supported): New functions. | |
8637 | (vect_transform_strided_load): Split out statement recording into... | |
8638 | (vect_record_strided_load_vectors): ...this new function. | |
8639 | * tree-vect-stmts.c (create_vector_array, read_vector_array) | |
8640 | (write_vector_array, create_array_ref): New functions. | |
8641 | (vect_model_store_cost): Add store_lanes_p argument. | |
8642 | (vect_model_load_cost): Add load_lanes_p argument. | |
8643 | (vectorizable_store): Try to use store-lanes functions for | |
8644 | interleaved stores. | |
8645 | (vectorizable_load): Likewise load-lanes and loads. | |
8646 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Update call | |
8647 | to vect_model_store_cost. | |
8648 | (vect_build_slp_tree): Likewise vect_model_load_cost. | |
8649 | ||
0f6d54f7 RS |
8650 | 2011-05-03 Richard Sandiford <richard.sandiford@linaro.org> |
8651 | ||
8652 | * hooks.h (hook_bool_mode_uhwi_false): Declare. | |
8653 | * hooks.c (hook_bool_mode_uhwi_false): New function. | |
8654 | * target.def (array_mode_supported_p): New hook. | |
8655 | * doc/tm.texi.in (TARGET_ARRAY_MODE_SUPPORTED_P): Add @hook. | |
8656 | * doc/tm.texi: Regenerate. | |
8657 | * stor-layout.c (mode_for_array): New function. | |
8658 | (layout_type): Use it. | |
8659 | * config/arm/arm.c (arm_array_mode_supported_p): New function. | |
8660 | (TARGET_ARRAY_MODE_SUPPORTED_P): Define. | |
8661 | ||
b15eacc7 EB |
8662 | 2011-05-03 Eric Botcazou <ebotcazou@adacore.com> |
8663 | ||
8664 | PR target/48723 | |
8665 | * config/i386/i386.c (ix86_expand_prologue): Do not probe the stack | |
8666 | for -fstack-check if the size to allocate is negative. | |
8667 | ||
575bfb00 LC |
8668 | 2011-05-02 Lawrence Crowl <crowl@google.com> |
8669 | ||
8670 | * timevar.h (timevar_cond_start): Remove unused POP_TIMEVAR_AND_RETURN. | |
8671 | (timevar_cond_start): New for starting a timer only when it is not | |
8672 | already running. | |
8673 | (timevar_cond_stop): New for stopping a timer when it was not already | |
8674 | running. | |
8675 | ||
8676 | * timevar.c (timevar_stop): Enable start/stop timers to start again. | |
8677 | (timevar_cond_start): New as above. | |
8678 | (timevar_cond_stop): New as above. | |
8679 | ||
8680 | * timevar.def: Add start/stop timers for compiler phases, | |
8681 | TV_PHASE_SETUP, TV_PHASE_PARSING, TV_PHASE_DEFERRED, TV_PHASE_CGRAPH, | |
8682 | TV_PHASE_DBGINFO (C), TV_PHASE_CHECK_DBGINFO (C++), TV_PHASE_GENERATE, | |
8683 | and TV_PHASE_FINALIZE. | |
8684 | Change push/pop timer TV_PARSE to TV_PARSE_GLOBAL. | |
8685 | Add push/pop timers TV_PARSE_STRUCT, TV_PARSE_ENUM, TV_PARSE_FUNC, | |
8686 | TV_PARSE_INLINE, TV_PARSE_INMETH, TV_TEMPLATE_INST. | |
8687 | Change push/pop timer TV_NAME_LOOKUP into a start/stop timer. | |
8688 | Make unused TV_OVERLOAD into a start/stop timer. | |
8689 | ||
8690 | Remove unused timers TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION. | |
8691 | Mark the strings for TV_NAME_LOOKUP and TV_OVERLOAD with a "|" | |
8692 | to indicate that they are start/stop timers. | |
8693 | ||
8694 | * toplev.c (compile_file): Change TV_PARSE to TV_PARSE_GLOBAL. | |
8695 | Add start/stop timers TV_PHASE_PARSING and TV_PHASE_GENERATE. | |
8696 | Move initialization to do_compile. | |
8697 | (do_compile): Add initialization from above. | |
8698 | Add start/stop timers TV_PHASE_SETUP and TV_PHASE_FINALIZE. | |
8699 | ||
8700 | * c-decl.c (c_write_global_declarations): Add start/stop of | |
8701 | TV_PHASE_DEFERRED, TV_PHASE_CGRAPH, TV_PHASE_DBGINFO. | |
8702 | ||
8703 | * c-parser.c (c_parser_declaration_or_fndef): Push/pop TV_PARSE_FUNC | |
8704 | or TV_PARSE_INLINE, as appropriate. | |
8705 | (c_parser_enum_specifier): Push/pop TV_PARSE_ENUM. | |
8706 | (c_parser_struct_or_union_specifier): Push/pop TV_PARSE_STRUCT. | |
8707 | ||
3533b943 JM |
8708 | 2011-05-02 Jason Merrill <jason@redhat.com> |
8709 | ||
8710 | PR c++/40975 | |
8711 | * tree-inline.c (copy_tree_r): Handle STATEMENT_LIST. | |
8712 | ||
2609a0ce SM |
8713 | 2011-05-02 Simon Martin <simartin@users.sourceforge.net> |
8714 | ||
8715 | PR c/35445 | |
8716 | * c-decl.c (finish_decl): Only create a composite if the types are | |
8717 | compatible. | |
8718 | ||
6b0e4cbb JM |
8719 | 2011-05-02 Joseph Myers <joseph@codesourcery.com> |
8720 | ||
8721 | * config/fr30/fr30-protos.h (Mmode): Don't define. | |
8722 | * config/m32r/m32r-protos.h (Mmode): Don't define. Expand | |
8723 | definition where used. | |
8724 | * config/mn10300/mn10300-protos.h (Mmode, Cstar, Rclas): Don't | |
8725 | define. Expand definitions where used. | |
8726 | * config/rx/rx-protos.h (Mmode, Fargs, Rcode): Don't define. | |
8727 | Expand definitions where used. | |
8728 | * config/rx/rx.c (rx_is_legitimate_address, rx_function_arg_size, | |
8729 | rx_function_arg, rx_function_arg_advance, | |
8730 | rx_function_arg_boundary): Expand definitions of those macros. | |
8731 | * config/v850/v850-protos.h (Mmode): Don't define. Expand | |
8732 | definition where used. | |
8733 | ||
4e938ce6 UB |
8734 | 2011-05-02 Uros Bizjak <ubizjak@gmail.com> |
8735 | ||
8736 | * config/i386/mmx.md (*mov<mode>_internal_rex64): Use %vmovq for | |
8737 | reg<->xmm moves. | |
8738 | (*mov<mode>_internal): Merge with *mov<mode>_internal_avx. | |
8739 | (*movv2sf_internal_rex64): Use %vmovq for reg<->xmm moves. Merge | |
8740 | with *movv2sf_internal_rex64_avx. | |
8741 | (*movv2sf_internal): Merge with *movv2sf_internal_avx. | |
8742 | * config/i386/i386.md (*movdi_internal_rex64) <TYPE_SSEMOV>: | |
8743 | Use %v prefix in insn mnemonic to handle TARGET_AVX. | |
8744 | (*movdi_internal): Add "isa" attribute. Use "maybe_vex" instead of | |
8745 | "vex" in "prefix" attribute calculation. | |
8746 | (*movdf_internal): Output AVX mnemonics. Add "prefix" attribute. | |
8747 | ||
36019c19 SH |
8748 | 2011-05-02 Stuart Henderson <shenders@gcc.gnu.org> |
8749 | ||
7a2f7208 UB |
8750 | PR target/47951 |
8751 | * config/bfin/bfin.md (loop_end): Use matching constraints to ensure | |
8752 | inputs match the output. | |
36019c19 | 8753 | |
f69ea688 AS |
8754 | 2011-05-02 Andreas Schwab <schwab@linux-m68k.org> |
8755 | ||
8756 | PR target/47955 | |
8757 | * config/m68k/m68k.c (m68k_expand_prologue): Set | |
8758 | current_function_static_stack_size. | |
8759 | ||
c33406f5 JH |
8760 | 2011-05-02 Jan Hubicka <jh@suse.cz> |
8761 | ||
8762 | * lto-streamer.c (lto_streamer_cache_insert_1, | |
8763 | lto_streamer_cache_lookup, lto_streamer_cache_create, | |
8764 | lto_streamer_cache_delete): Use pointer map instead of hashtable. | |
8765 | * lto-streamer.h (lto_streamer_cache_d): Turn node_map into pointer_map. | |
8766 | ||
47c94d21 JM |
8767 | 2011-05-02 Joseph Myers <joseph@codesourcery.com> |
8768 | ||
8769 | * config/m68k/genopt.sh, config/m68k/m68k-isas.def, | |
8770 | config/m68k/m68k-microarchs.def, config/m68k/m68k-opts.h, | |
8771 | config/m68k/t-opts: New files. | |
8772 | * config/m68k/m68k-tables.opt: New file (generated). | |
8773 | * config.gcc (fido-*-*, m68k-*-*): Add m68k/m68k-tables.opt to | |
8774 | extra_options and m68k/t-opts to tmake_file. | |
8775 | * config/m68k/m68k.c (m68k_library_id_string): More to m68k.opt. | |
8776 | (all_isas): Initialize using m68k-isas.def. | |
8777 | (all_microarchs): Initialize using m68k-microarchs.def. | |
8778 | (m68k_find_selection): Remove. | |
8779 | (m68k_handle_option): Don't assert that global structures are in | |
8780 | use. Use error_at. Access variables via opts pointer. Don't | |
8781 | handle -march=, -mcpu= and -mtune= here. Set gcc_options fields | |
8782 | directly for -m68020-40 and -m68020-60. | |
8783 | (m68k_option_override): Set m68k_arch_entry, m68k_cpu_entry and | |
8784 | m68k_tune_entry here. | |
8785 | * config/m68k/m68k.h (enum uarch_type, enum target_device): Move | |
8786 | to m68k-opts.h. | |
8787 | (m68k_library_id_string): Remove declaration. | |
4e938ce6 | 8788 | * config/m68k/m68k.opt (config/m68k/m68k-opts.h): New HeaderInclude. |
47c94d21 JM |
8789 | (m68k_library_id_string): New Variable. |
8790 | (march=, mcpu=, mtune=): Use Enum and Var. | |
8791 | ||
e562bf36 RG |
8792 | 2011-05-02 Richard Guenther <rguenther@suse.de> |
8793 | ||
8794 | * varasm.c (output_constructor_regular_field): Compute zero-based | |
8795 | index with double-ints. Make sure to ICE instead of producing | |
8796 | wrong code. | |
8797 | * cgraph.c (cgraph_add_thunk): Do not create new tree nodes | |
8798 | in asserts. Properly use a signed type. | |
8799 | ||
6bec6c98 UB |
8800 | 2011-05-02 Uros Bizjak <ubizjak@gmail.com> |
8801 | ||
8802 | * config/i386/sse.md (V): New mode iterator. | |
8803 | (V_128): Rename from SSEMODE. Make V2DF mode conditional on | |
8804 | TARGET_SSE2. | |
8805 | (V_256): Rename from AVX256MODE. | |
8806 | (VF): Make V4SF mode unconditional. Add TARGET_SSE instruction | |
8807 | condition to all users. | |
8808 | (VF1): Ditto. | |
8809 | (VF2): Make V2DF mode unconditional. Add TARGET_SSE2 instruction | |
8810 | condition to all users. | |
8811 | (VF_128): Make V4SF mode unconditional. | |
8812 | (VF_256): Rename from AVX256MODEF2P. | |
8813 | (VI4F_128): Rename from SSEMODE4S. | |
8814 | (VI8F_128): Rename from SSEMODE2D. | |
8815 | (VI4F_256): Rename from AVX256MODE8P. | |
8816 | (VI8F_256): Rename from AVX256MODE4P. | |
8817 | (avxsizesuffix): Add V16HI, V4DI, V8HI and V2DI modes. | |
8818 | (ssescalarmodesuffix): Remove SF and DF modes. | |
8819 | (SSEMODE124): Remove. | |
8820 | (SSEMODE1248): Ditto. | |
8821 | (SSEMODEF2P): Ditto. | |
8822 | (AVXMODEF2P): Ditto. | |
8823 | (AVXMODEFDP): Ditto. | |
8824 | (AVXMODEFSP): Ditto. | |
8825 | (VEC_EXTRACT_MODE): Make V16QI, V8HI, V4SI, V2DI, V4SF and V2DF modes | |
8826 | unconditional. | |
8827 | (VEC_EXTRACT_EVENODD_MODE): Rename from SSEMODE_EO. Make V4SF mode | |
8828 | unconditional. | |
8829 | (xop_pcmov_<mode><avxsizesuffix>): Merge from xop_pcmov_<mode> and | |
8830 | xop_pcmov_<mode>256. Use V mode iterator. | |
8831 | ||
8832 | Adjust RTX patterns globally for renamed mode attributes. | |
8833 | ||
2dfdcb4b UW |
8834 | 2011-05-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
8835 | ||
8836 | * haifa-sched.c (sched_emit_insn): Emit insn before first | |
8837 | non-scheduled insn. Inform back-end about new insn. Add | |
8838 | new insn to scheduled_insns list. | |
8839 | ||
90bc4623 RG |
8840 | 2011-05-02 Richard Guenther <rguenther@suse.de> |
8841 | ||
8842 | PR tree-optimization/48822 | |
8843 | * tree-ssa-sccvn.c (set_ssa_val_to): Never go up the lattice. | |
8844 | (process_scc): Indicate which iteration we start. | |
8845 | ||
bc0fe8cb JH |
8846 | 2011-05-02 Jan Hubicka <jh@suse.cz> |
8847 | ||
8848 | * lto-section-in.c (lto_input_1_unsigned): Move to lto-streamer.h | |
8849 | (lto_section_overrun): New. | |
8850 | * lto-section-out.c (append_block): Rename to ... | |
8851 | (lto_append_block): ... this one; export. | |
8852 | (lto_output_1_stream): Move lto lto-streamer.h | |
8853 | (lto_output_data_stream): Update. | |
8854 | * lto-streamer.h (lto_section_overrun, lto_append_block): Declare. | |
8855 | (lto_output_1_stream, lto_input_1_unsigned): Turn into inline | |
8856 | functions. | |
8857 | ||
f070a9d1 RG |
8858 | 2011-05-02 Richard Guenther <rguenther@suse.de> |
8859 | ||
8860 | * tree.c (tree_code_counts): New global array. | |
8861 | (record_node_allocation_statistics): Count individual tree codes. | |
8862 | (dump_tree_statistics): Dump individual code stats. | |
8863 | ||
09dfe187 JH |
8864 | 2011-05-01 Jan Hubicka <jh@suse.cz> |
8865 | ||
8866 | * ipa-inline.c (caller_growth_limits): Fix thinko when | |
8867 | looking for largest stack frame. | |
8868 | * ipa-inline.h (dump_inline_summary): Declare. | |
8869 | * ipa-inline-analysis.c (dump_inline_edge_summary): Dump info | |
8870 | on stack usage. | |
8871 | (dump_inline_summary): Export. | |
8872 | (debug_inline_summary): Declare as DEBUG_FUNCTION. | |
8873 | ||
6f76a878 AS |
8874 | 2011-05-01 Anatoly Sokolov <aesok@post.ru> |
8875 | ||
8876 | * reginfo.c (memory_move_cost): Change rclass argument type form | |
8877 | 'enum reg_class' to reg_class_t. | |
8878 | * reload.h (memory_move_cost): Update prototype. | |
8879 | * postreload.c reload_cse_simplify_set): Change type dclass var to | |
8880 | reg_class_t. | |
8881 | * ira-int.h (ira_allocate_cost_vector, ira_free_cost_vector): | |
8882 | Update prototype. | |
8883 | (ira_allocate_and_set_costs): Change aclass argument type form | |
8884 | 'enum reg_class' to reg_class_t. | |
6bec6c98 | 8885 | * ira-build.c (ira_allocate_cost_vector, ira_free_cost_vector): |
6f76a878 AS |
8886 | Change aclass argument type to reg_class_t. |
8887 | (update_conflict_hard_reg_costs): Change type aclass and pref vars | |
8888 | to reg_class_t. | |
8889 | * gcc/ira.c (setup_class_subset_and_memory_move_costs): Adjust | |
8890 | memory_move_cost call. | |
8891 | ||
8892 | * config/ia64/ia64.c (ia64_register_move_cost): Remove 'from' and | |
8893 | 'to' local var. Rename from_i and to_i arguments to 'from' and 'to'. | |
8894 | Change type tmp var to reg_class_t. | |
8895 | ||
9a4ac625 JH |
8896 | 2011-04-30 Jan Hubicka <jh@suse.cz> |
8897 | ||
8898 | * ipa-inline.c (can_inline_edge_p): Disregard limits when | |
8899 | inlining into function with flatten attribute. | |
8900 | (want_inline_small_function_p): Be more realistic about inlining | |
8901 | cold calls where callee size grows. | |
8902 | ||
dd8352ee JH |
8903 | 2011-04-30 Jan Hubicka <jh@suse.cz> |
8904 | ||
8905 | * cgraph.c (cgraph_create_virtual_clone): Clear constructor/destructor | |
8906 | flags. | |
8907 | ||
46e43d2b AS |
8908 | 2011-04-30 Anatoly Sokolov <aesok@post.ru> |
8909 | ||
8910 | * config/sparc/sparc.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS, | |
8911 | PRINT_OPERAND_PUNCT_VALID_P): Remove. | |
8912 | * config/sparc/sparc-protos.h (print_operand): Remove declaration. | |
8913 | * config/sparc/sparc.c (TARGET_PRINT_OPERAND_PUNCT_VALID_P, | |
8914 | TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
8915 | (print_operand): Rename to... | |
8916 | (sparc_print_operand): ...this. Make static. Adjust | |
8917 | sparc_print_operand function call. | |
8918 | (sparc_print_operand_punct_valid_p, sparc_print_operand_address): New | |
8919 | functions. | |
8920 | ||
ecb62563 JH |
8921 | 2011-04-30 Jan Hubicka <jh@suse.cz> |
8922 | ||
6bec6c98 | 8923 | PR middle-end/48752 |
ecb62563 JH |
8924 | * ipa-inline.c (early_inliner): Disable when doing late |
8925 | addition of function. | |
8926 | ||
edb9b69e JJ |
8927 | 2011-04-30 Jakub Jelinek <jakub@redhat.com> |
8928 | ||
be80a87e JJ |
8929 | * dwarf2out.c (get_address_mode): New inline. |
8930 | (mem_loc_descriptor): Add MEM_MODE parameter, adjust recursive calls, | |
8931 | if not dwarf_strict emit | |
8932 | DW_OP_GNU_{{const,regval,deref}_type,convert,reinterpret} when | |
8933 | desirable. Handle FLOAT_EXTEND, FLOAT_TRUNCATE, FLOAT, | |
8934 | UNSIGNED_FLOAT, FIX and UNSIGNED_FIX. Just return NULL for | |
8935 | FMA, STRICT_LOW_PART, CONST_VECTOR and CONST_FIXED. | |
8936 | (dwarf2out_frame_debug_cfa_expression, reg_loc_descriptor, | |
8937 | dw_loc_list_1, cst_pool_loc_descr, loc_list_from_tree): Adjust | |
8938 | mem_loc_descriptor callers. | |
8939 | (dwarf_stack_op_name, size_of_loc_descr, output_loc_operands, | |
8940 | output_loc_operands_raw, hash_loc_operands, compare_loc_operands): | |
8941 | Handle DW_OP_GNU_const_type, DW_OP_GNU_regval_type, | |
8942 | DW_OP_GNU_deref_type, DW_OP_GNU_convert and DW_OP_GNU_reinterpret. | |
8943 | (base_types): New variable. | |
8944 | (get_base_type_offset, calc_base_type_die_sizes, | |
8945 | base_type_for_mode, mark_base_types, base_type_cmp, | |
8946 | move_marked_base_types): New functions. | |
8947 | (calc_die_sizes): Assert that die_offset is 0 or equal to | |
8948 | next_die_offset. | |
8949 | (loc_descriptor): Only handle here lowpart SUBREGs of REG, for | |
8950 | others defer to mem_loc_descriptor. Adjust mem_loc_descriptor | |
8951 | callers. If not dwarf_strict, call mem_loc_descriptor even for | |
8952 | non-MODE_INT modes or MODE_INT modes larger than DWARF2_ADDR_SIZE. | |
8953 | (gen_subprogram_die): Don't give up on call site parameters | |
8954 | with non-integral or large integral modes. Adjust | |
8955 | mem_loc_descriptor callers. | |
8956 | (prune_unused_types): Call prune_unused_types_mark on base_types | |
8957 | vector entries. | |
8958 | (resolve_addr): Call mark_base_types. | |
8959 | (dwarf2out_finish): Call move_marked_base_types. | |
8960 | ||
edb9b69e JJ |
8961 | PR tree-optimization/48809 |
8962 | * tree-switch-conversion.c (build_arrays): Compute tidx in unsigned | |
8963 | type. | |
8964 | (gen_inbound_check): Don't compute index_expr - range_min in utype | |
8965 | again, instead reuse SSA_NAME initialized in build_arrays. | |
8966 | Remove two useless gsi_for_stmt calls. | |
8967 | ||
a6545a3d JL |
8968 | 2011-04-29 Jeff Law <law@redhat.com> |
8969 | ||
8970 | * tree-ssa-threadedge.c (thread_across_edge): Add missing return. | |
8971 | ||
af8bca3c MJ |
8972 | 2011-04-29 Martin Jambor <mjambor@suse.cz> |
8973 | ||
8974 | * cgraph.h (cgraph_postorder): Remove declaration. | |
8975 | * ipa-utils.h (ipa_free_postorder_info): Declare. | |
8976 | (ipa_reverse_postorder): Likewise. | |
8977 | * cgraphunit.c: Include ipa-utils.h. | |
8978 | (cgraph_expand_all_functions): Update call to ipa_reverse_postorder. | |
8979 | * ipa-inline.c: Include ipa-utils.h. | |
8980 | (ipa_inline): Update call to ipa_reverse_postorder. | |
8981 | * ipa-pure-const.c (propagate_pure_const): Update call to | |
8982 | ipa_reduced_postorder and ipa_print_order. Call | |
8983 | ipa_free_postorder_info to clean up. | |
8984 | (propagate_nothrow): Likewise. | |
8985 | * ipa-reference.c (propagate): Removed a useless call to | |
8986 | ipa_utils_reduced_inorder, updated a call to ipa_reduced_postorder | |
8987 | and ipa_print_order. Call ipa_free_postorder_info to clean up. | |
8988 | * ipa.c: Include ipa-utils.h. | |
8989 | (ipa_profile): Update call to ipa_reverse_postorder. | |
8990 | (cgraph_postorder): Moved to... | |
8991 | * ipa-utils.c (ipa_reverse_postorder): ...here and renamed. | |
8992 | (ipa_utils_print_order): Renamed to ipa_print_order. | |
8993 | (ipa_utils_reduced_inorder): Renamed to ipa_reduced_postorder. Updated | |
8994 | comments. | |
8995 | (ipa_free_postorder_info): New function. | |
8996 | * passes.c: Include ipa-utils.h. | |
8997 | (do_per_function_toporder): Update call to ipa_reverse_postorder. | |
8998 | (ipa_write_summaries): Likewise. | |
8999 | * Makefile.in (passes.o): Add IPA_UTILS_H to dependencies. | |
9000 | (cgraphunit.o): Likewise. | |
9001 | (ipa.o): Likewise. | |
9002 | (ipa-inline.o): Likewise. | |
9003 | ||
b15c64ee JH |
9004 | 2011-04-29 Jan Hubicka <jh@suse.cz> |
9005 | ||
9006 | * gcc.dg/tree-ssa/inline-10.c: New testcase. | |
9007 | * gcc.dg/tree-ssa/inline-9.c: Disable partial inlining. | |
9008 | * ipa-inline.h (clause_t): Turn into unsigned int. | |
9009 | * ipa-inline-analysis.c (add_clause): Do more simplification. | |
9010 | (and_predicates): Shortcut more cases. | |
9011 | (predicates_equal_p): Move forward; check that clauses are properly | |
9012 | ordered. | |
9013 | (or_predicates): Shortcut more cases. | |
9014 | (edge_execution_predicate): Rewrite as... | |
9015 | (set_cond_stmt_execution_predicate): ... this function; handle | |
9016 | __builtin_constant_p. | |
9017 | (set_switch_stmt_execution_predicate): New . | |
9018 | (compute_bb_predicates): New. | |
9019 | (will_be_nonconstant_predicate): Update TODO. | |
9020 | (estimate_function_body_sizes): Use compute_bb_predicates | |
9021 | and free them later, always try to estimate if stmt is constant. | |
9022 | (estimate_time_after_inlining, estimate_size_after_inlining): | |
9023 | Gracefully handle optimized out edges. | |
9024 | (read_predicate): Fix off by one error. | |
9025 | ||
a88fdc2a NP |
9026 | 2011-04-29 Nicola Pero <nicola.pero@meta-innovation.com> |
9027 | ||
9028 | * Makefile.in (ENABLE_MAINTAINER_RULES): New. | |
9029 | ||
d984c8ef XDL |
9030 | 2011-04-27 Xinliang David Li <davidxl@google.com> |
9031 | ||
9032 | * tree-profile.c (init_ic_make_global_vars): Set | |
9033 | tls attribute on ic vars. | |
9034 | * coverage.c (coverage_end_function): Initialize | |
9035 | function_list with zero. | |
9036 | ||
45a2c477 RG |
9037 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
9038 | ||
9039 | * builtins.c (fold_builtin_classify_type): Use integer_type_node | |
9040 | for the type of the result. | |
9041 | (fold_builtin_isascii): Likewise. | |
9042 | (fold_builtin_toascii): Use integer_type_node where appropriate. | |
9043 | (fold_builtin_logb): Likewise. | |
9044 | (fold_builtin_frexp): Likewise. | |
9045 | (fold_builtin_strstr): Likewise. | |
9046 | (fold_builtin_strpbrk): Likewise. | |
9047 | (fold_builtin_fputs): Likewise. | |
9048 | (fold_builtin_sprintf): Likewise. | |
9049 | (fold_builtin_snprintf): Likewise. | |
9050 | (fold_builtin_printf): Likewise. | |
9051 | (do_mpfr_remquo): Use a proper type for the assigned constant. | |
9052 | (do_mpfr_lgamma_r): Likewise. | |
9053 | * dwarf2out.c (resolve_one_addr): Use size_int. | |
9054 | * except.c (init_eh): Likewise. | |
9055 | (assign_filter_values): Use integer_type_node for filter values. | |
9056 | (sjlj_emit_dispatch_table): Use integer_type_node for dispatch | |
9057 | indices. | |
9058 | * tree-cfg.c (move_stmt_eh_region_tree_nr): Use integer_type_node | |
9059 | for EH region numbers. | |
9060 | * tree-vrp.c (simplify_div_or_mod_using_ranges): Use integer_type_node | |
9061 | for the shift amount. | |
9062 | ||
eb6c3df1 RG |
9063 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
9064 | ||
9065 | * expr.h (expand_shift): Rename to ... | |
9066 | (expand_variable_shift): ... this. | |
9067 | (expand_shift): Take a constant shift amount. | |
9068 | * expmed.c (expand_shift): Rename to ... | |
9069 | (expand_variable_shift): ... this. | |
9070 | (expand_shift): New wrapper around expand_variable_shift. | |
9071 | * expr.c (convert_move, emit_group_load_1, emit_group_store, | |
9072 | optimize_bitfield_assignment_op, store_field, expand_expr_real_2, | |
9073 | expand_expr_real_1, reduce_to_bit_field_precision): Adjust. | |
9074 | * expmed.c (store_fixed_bit_field, extract_bit_field_1, | |
9075 | extract_fixed_bit_field, extract_split_bit_field, expand_mult_const, | |
9076 | expand_mult, expand_widening_mult, expand_mult_highpart_adjust, | |
9077 | extract_high_half, expand_sdiv_pow2, expand_divmod, emit_cstore, | |
9078 | emit_store_flag_1, emit_store_flag): Likewise. | |
9079 | * builtins.c (expand_builtin_signbit): Likewise. | |
9080 | * calls.c (load_register_parameters): Likewise. | |
9081 | * function.c (assign_parm_setup_block): Likewise. | |
9082 | * lower-subreg.c (resolve_shift_zext): Likewise. | |
9083 | * optabs.c (widen_bswap, expand_abs_nojump, | |
9084 | expand_one_cmpl_abs_nojump, expand_float): Likewise. | |
9085 | * spu/spu.c (spu_expand_extv): Likewise. | |
9086 | * sparc/sparc.c (sparc32_initialize_trampoline): Likewise. | |
9087 | ||
9f616812 RG |
9088 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
9089 | ||
9090 | * tree-inline.c (remap_eh_region_tree_nr): Use integer_type_node | |
9091 | for the remapped region number. | |
9092 | * predict.c (build_predict_expr): Use integer_type_node for the | |
9093 | predict kind. | |
9094 | * fold-const.c (fold_binary_loc): Use integer_type_node for | |
9095 | the shift amount. Use a proper type for the PLUS_EXPR operand. | |
9096 | ||
b823cdfe MM |
9097 | 2011-04-29 Michael Matz <matz@suse.de> |
9098 | ||
9099 | * lto-streamer.c (lto_streamer_cache_insert_1): Accept to override | |
9100 | other trees that just builtins. | |
9101 | (lto_record_common_node): Don't leave NULL TYPE_CANONICAL. | |
9102 | ||
413581ba RG |
9103 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
9104 | ||
9105 | * tree-nested.c (get_trampoline_type): Use size_int. | |
9106 | (get_nl_goto_field): Likewise. | |
9107 | * tree-eh.c (lower_try_finally_switch): Use integer_type_node | |
9108 | for all indexes. | |
9109 | (lower_eh_constructs_2): Likewise. | |
9110 | (lower_resx): Likewise. | |
9111 | (lower_eh_dispatch): Likewise. | |
9112 | * tree-mudflap.c (mf_build_string): Use size_int. | |
9113 | (mudflap_register_call): Use integer_type_node for the flag. | |
9114 | (mudflap_enqueue_constant): Use size_int. | |
9115 | * tree-chrec.c (reset_evolution_in_loop): Copy CHREC_VAR | |
9116 | instead of rebuilding it. | |
9117 | ||
5c04e9f4 RG |
9118 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
9119 | ||
9120 | * tree-ssa-structalias.c (get_fi_for_callee): Restructure. | |
9121 | Handle OBJ_TYPE_REF. | |
9122 | (find_func_aliases_for_call): Use it more consistently. | |
9123 | ||
5c24671b AO |
9124 | 2011-04-29 Alexandre Oliva <aoliva@redhat.com> |
9125 | ||
9126 | * haifa-sched.c (last_nondebug_scheduled_insn): New. | |
9127 | (rank_for_schedule): Use it. | |
9128 | (schedule_block): Set it. | |
9129 | ||
10adac51 XDL |
9130 | 2011-04-28 David Li <davidxl@google.com> |
9131 | ||
9132 | * tree.c (crc32_string): Use crc32_byte. | |
9133 | (crc32_byte): New function. | |
9134 | * tree.h (crc32_byte): New function. | |
9135 | * gcov.c (read_graph_file): Handle new cfg_cksum. | |
9136 | (read_count_file): Ditto. | |
9137 | * profile.c (instrument_values): Ditto. | |
9138 | (get_exec_counts): Ditto. | |
9139 | (read_profile_edge_counts): Ditto. | |
9140 | (compute_branch_probabilities): Ditto. | |
9141 | (compute_value_histograms): Ditto. | |
9142 | (branch_prob): Ditto. | |
9143 | (end_branch_prob): Ditto. | |
9144 | * coverage.c (read_counts_file): Ditto. | |
9145 | (get_coverage_counts): Ditto. | |
9146 | (tree_coverage_counter_addr): Ditto. | |
9147 | (coverage_checksum_string): Ditto. | |
9148 | (coverage_begin_output): Ditto. | |
9149 | (coverage_end_function): Ditto. | |
9150 | (build_fn_info_type): Ditto. | |
9151 | (build_fn_info_value): Ditto. | |
9152 | * libgcov.c (gcov_exit): Ditto. | |
9153 | * gcov-dump.c (tag_function): Ditto. | |
9154 | (compute_checksum): Remove. | |
9155 | ||
5d6358a5 AM |
9156 | 2011-04-29 Alan Modra <amodra@gmail.com> |
9157 | ||
9158 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle | |
9159 | unspec plus offset. Tidy macho code. | |
9160 | ||
85ad2ef5 MJ |
9161 | 2011-04-29 Martin Jambor <mjambor@suse.cz> |
9162 | ||
9163 | * cgraphunit.c (cgraph_preserve_function_body_p): Accept a cgraph | |
9164 | node instead of a decl. Update all callers. | |
9165 | * cgraph.h: Update declaration. | |
9166 | ||
437f4a00 IR |
9167 | 2011-04-28 Ira Rosen <ira.rosen@linaro.org> |
9168 | ||
9169 | PR tree-optimization/48765 | |
9170 | * tree-vectorizer.h (vect_make_slp_decision): Return bool. | |
9171 | * tree-vect-loop.c (vect_analyze_loop_operations): Add new argument | |
9172 | to indicate if loop aware SLP is being used. Scan the statements | |
9173 | and update the vectorization factor according to the type of | |
9174 | vectorization before statement analysis. | |
9175 | (vect_analyze_loop_2): Get a return value from vect_make_slp_decision, | |
9176 | pass it to vect_analyze_loop_operations. | |
9177 | (vectorizable_reduction): Set number of copies to 1 in case of pure | |
9178 | SLP statement. | |
9179 | * tree-vect-stmts.c (vectorizable_conversion, | |
9180 | vectorizable_assignment, vectorizable_shift, | |
9181 | vectorizable_operation, vectorizable_type_demotion, | |
9182 | vectorizable_type_promotion, vectorizable_store, vectorizable_load): | |
9183 | Likewise. | |
9184 | (vectorizable_condition): Move the check that it is not SLP | |
9185 | vectorization before the number of copies check. | |
9186 | * tree-vect-slp.c (vect_make_slp_decision): Return TRUE if decided | |
9187 | to vectorize the loop using SLP. | |
9188 | ||
c6fc44f3 JJ |
9189 | 2011-04-28 Jakub Jelinek <jakub@redhat.com> |
9190 | ||
9191 | PR middle-end/48597 | |
9192 | * final.c (final_scan_insn): Call dwarf2out_frame_debug even for | |
9193 | inline asm. | |
9194 | ||
6c0170ea JM |
9195 | 2011-04-28 Joseph Myers <joseph@codesourcery.com> |
9196 | ||
9197 | * config.gcc (*-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | | |
9198 | *-*-kopensolaris*-gnu): Don't define SINGLE_LIBC. | |
9199 | (i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | | |
9200 | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu, | |
9201 | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu): Don't use | |
9202 | linux*.h headers. | |
6bec6c98 | 9203 | * config/gnu-user.h (TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Define. |
6c0170ea JM |
9204 | * config/i386/gnu.h (MD_UNWIND_SUPPORT): Don't undefine. |
9205 | * config/i386/kfreebsd-gnu.h (MD_UNWIND_SUPPORT): Don't undefine. | |
9206 | * config/i386/knetbsd-gnu.h (MD_UNWIND_SUPPORT): Don't undefine. | |
6bec6c98 | 9207 | * config/i386/kopensolaris-gnu.h (MD_UNWIND_SUPPORT): Don't undefine. |
6c0170ea JM |
9208 | * config/i386/linux-unwind.h (x86_fallback_frame_state): Don't use |
9209 | REG_NAME. | |
9210 | * config/i386/linux.h (REG_NAME): Don't define. | |
9211 | * config/i386/linux64.h (REG_NAME): Don't define. | |
9212 | * config/linux.h (TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): | |
9213 | Undefine before defining. | |
9214 | ||
970dabbd JH |
9215 | 2011-04-28 Jan Hubicka <jh@suse.cz> |
9216 | ||
6bec6c98 UB |
9217 | * ipa-inline-analysis.c (will_be_nonconstant_predicate): Take |
9218 | nonconstant_names array. | |
970dabbd JH |
9219 | (estimate_function_body_sizes): Build nonconstant_names array; handle |
9220 | BUILT_IN_CONSTANT_P. | |
9221 | ||
8d3e3924 RG |
9222 | 2011-04-28 Richard Guenther <rguenther@suse.de> |
9223 | ||
9224 | PR bootstrap/48804 | |
9225 | Revert | |
9226 | 2011-04-28 Richard Guenther <rguenther@suse.de> | |
9227 | ||
9228 | * tree-ssa-structalias.c (solve_constraints): Build succ graph | |
9229 | as late as possible. | |
6bec6c98 | 9230 | |
8576f20a RG |
9231 | 2011-04-28 Richard Guenther <rguenther@suse.de> |
9232 | ||
9233 | * tree-ssa-structalias.c (dump_constraint): Don't end the line. | |
9234 | (debug_constraint): Do it here. | |
9235 | (dump_constraints): And here. | |
9236 | (rewrite_constraints): And here. | |
9237 | (dump_constraint_edge): Remove. | |
9238 | (dump_constraint_graph): Rewrite to produce DOT output. | |
9239 | (solve_constraints): Build succ graph as late as possible. | |
9240 | Dump constraint graphs before and after solving. | |
9241 | ||
e38811ce RG |
9242 | 2011-04-28 Richard Guenther <rguenther@suse.de> |
9243 | ||
9244 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
9245 | New function split out from ... | |
9246 | (find_func_aliases): ... here. Call it. | |
9247 | (find_func_aliases_for_call): Likewise. | |
9248 | ||
fbaf0d0c GDR |
9249 | 2011-04-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
9250 | ||
9251 | * internal-fn.h (internal_fn_name_array): Declare. | |
9252 | (internal_fn_flags_array): Likewise. | |
9253 | ||
cbb734aa UB |
9254 | 2011-04-27 Uros Bizjak <ubizjak@gmail.com> |
9255 | ||
9256 | * config/i386/i386.md (ssemodesuffix): Merge with ssevecsize, | |
9257 | ssemodefsuffix, ssescalarmodesuffix and avxmodesuffixp. | |
9258 | Move from sse.md. | |
9259 | (ssemodefsuffix): Remove. | |
9260 | (ssevecmodesuffix): New mode attribute. | |
9261 | (fix_trunc<mode>di_sse, fix_trunc<mode>si_sse, | |
9262 | *float<SSEMODEI24:mode><MODEF:mode>2_mixed_interunit, | |
9263 | *float<SSEMODEI24:mode><MODEF:mode>2_mixed_nointerunit, | |
9264 | *float<SSEMODEI24:mode><MODEF:mode>2_sse_interunit, | |
9265 | *float<SSEMODEI24:mode><MODEF:mode>2_sse_nointerunit, setcc_<mode>_sse, | |
9266 | *sqrt<mode>2_sse, sse4_1_round<mode>2, <smaxmin:code><mode>3, | |
9267 | *ieee_smin<mode>3, *ieee_smax<mode>3): Adjust assembler templates for | |
9268 | ssemodesuffix mode attribute. | |
9269 | (float splitters): Use ssevecmodesuffix mode attribute. | |
9270 | * config/i386/sse.md (ssescalarmode): Merge with avxscalarmode. | |
9271 | (sseinsmode): Rename from avxvecmode. | |
9272 | (avxsizesuffix): Rename from avxmodesuffix. | |
9273 | (sseintvecmode): Rename from avxpermvecmode. | |
9274 | (ssedoublevecmode): Rename from ssedoublesizemode. | |
9275 | (ssehalfvecmode): Rename from avxhalfvecmode. | |
9276 | (ssescalarmode): Rename from avxscalarmode. | |
9277 | (<sse>_comi, <sse>_ucomi, sse4a_movnt<mode>): Adjust assembler | |
9278 | templates for ssemodesuffix mode attribute. | |
9279 | (*andnot<mode>3, *<any_logic:code><mode>3): Use ssevecmodesuffix | |
9280 | mode attribute. | |
9281 | ||
9282 | Adjust RTX patterns globally for renamed mode attributes. | |
9283 | ||
991278ab JH |
9284 | 2011-04-27 Jan Hubcika <jh@suse.cz> |
9285 | ||
9286 | * ipa-inline.h (struct inline_edge_summary): Add predicate pointer. | |
9287 | * ipa-inline-analysis.c: Include alloc-pool.h. | |
9288 | (edge_predicate_pool): New. | |
9289 | (trye_predicate_p): New function | |
9290 | (false_predicate_p): New function. | |
9291 | (add_clause): Sanity check that false clauses are "optimized"; | |
9292 | never add clauses to predicate that is already known to be false. | |
9293 | (and_predicate): Use flase_predicate_p. | |
9294 | (evaulate_predicate): Rename to ... | |
9295 | (evaluate_predicate): ... this one; update all callers; assert | |
9296 | that false is not listed among possible truths. | |
9297 | (dump_predicate): Use true_predicate_p. | |
9298 | (account_size_time): Use false_predicate_p. | |
9299 | (evaulate_conditions_for_edge): Rename to ... | |
9300 | (evaluate_conditions_for_edge) ... this one. | |
9301 | (edge_set_predicate): New function. | |
9302 | (inline_edge_duplication_hook): Duplicate edge predicates. | |
9303 | (inline_edge_removal_hook): Free edge predicates. | |
cbb734aa | 9304 | (dump_inline_edge_summary): Add INFO parameter; dump edge predicates. |
991278ab JH |
9305 | (dump_inline_summary): Update. |
9306 | (estimate_function_body_sizes): Set edge predicates. | |
9307 | (estimate_calls_size_and_time): Handle predicates. | |
9308 | (estimate_callee_size_and_time): Update. | |
9309 | (remap_predicate): Add toplev_predicate; update comment. | |
9310 | (remap_edge_predicates): New function. | |
9311 | (inline_merge_summary): Compute toplev predicate; update. | |
9312 | (read_predicate): New function. | |
9313 | (read_inline_edge_summary): Use it. | |
9314 | (inline_read_section): Likewise. | |
9315 | (write_predicate): New function. | |
9316 | (write_inline_edge_summary): Use it. | |
9317 | (inline_write_summary): Likewise. | |
9318 | (inline_free_summary): Free alloc pool and edge summary vec. | |
9319 | ||
648b5f85 RG |
9320 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
9321 | ||
9322 | * tree-ssa-structalias.c (changed_count): Remove. | |
9323 | (changed): Use a bitmap. | |
9324 | (unify_nodes): Adjust. | |
9325 | (do_sd_constraint): Likewise. | |
9326 | (do_ds_constraint): Likewise. | |
9327 | (do_complex_constraint): Likewise. | |
9328 | (solve_graph): Likewise. | |
9329 | ||
4d5dcfb2 JH |
9330 | 2011-04-27 Jan Hubicka <jh@suse.cz> |
9331 | ||
9332 | * cgraphunit.c (cgraph_process_new_functions): Fix ordering issue. | |
9333 | ||
200eb7d2 UB |
9334 | 2011-04-27 Uros Bizjak <ubizjak@gmail.com> |
9335 | ||
9336 | * config/i386/predicates.md (avx_vpermilp_*_operand): Remove. | |
9337 | (avx_vperm2f128_*_operand): Ditto. | |
9338 | * config/i386/sse.md (*avx_vpermilp<mode>): Remove operand2 predicate. | |
9339 | Use avx_vpermilp_parallel in insn condition. | |
9340 | (*avx_vperm2f128<mode>_nozero): Remove operand3 predicate. | |
9341 | Use avx_vperm2f128_parallel in insn condition. | |
9342 | ||
7d6e2521 RG |
9343 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
9344 | ||
9345 | * Makefile.in (tree-ssa-structalias.o): Remove | |
9346 | gt-tree-ssa-structalias.h dependency. | |
9347 | (GTFILES): Remove tree-ssa-structalias.c. | |
9348 | * tree.c (allocate_decl_uid): New function. | |
9349 | (make_node_stat): Use it. | |
9350 | (copy_node_stat): Likewise. | |
9351 | * tree.h (allocate_decl_uid): Declare. | |
9352 | * tree-ssa-alias.h (delete_alias_heapvars): Remove. | |
9353 | * tree-ssa.c (delete_tree_ssa): Do not call delete_alias_heapvars. | |
9354 | * tree-flow.h (struct var_ann_d): Remove is_heapvar flag. | |
200eb7d2 | 9355 | * tree-ssa-live.c (remove_unused_locals): Do not check is_heapvar flag. |
7d6e2521 RG |
9356 | * tree-ssa-structalias.c (heapvar_for_stmt): Remove. |
9357 | (struct heapvar_map): Likewise. | |
9358 | (heapvar_map_eq, heapvar_map_hash, heapvar_lookup, | |
9359 | heapvar_insert): Likewise. | |
9360 | (make_heapvar_for): Rename to ... | |
9361 | (make_heapvar): ... this. Simplify. | |
9362 | (fake_var_decl_obstack): New global var. | |
9363 | (build_fake_var_decl): New function. | |
9364 | (make_constraint_from_heapvar): Adjust. | |
9365 | (handle_lhs_call): Likewise. | |
9366 | (create_function_info_for): Likewise. | |
9367 | (intra_create_variable_infos): Likewise. | |
9368 | (init_alias_vars): Allocate fake_var_decl_obstack. | |
9369 | (init_alias_heapvars, delete_alias_heapvars): Remove. | |
9370 | (compute_points_to_sets): Do not call init_alias_heapvars. | |
9371 | (ipa_pta_execute): Likewise. | |
9372 | (delete_points_to_sets): Free fake_var_decl_obstack. | |
9373 | ||
526ed6c2 UW |
9374 | 2011-04-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
9375 | ||
9376 | * config/spu/divmovti4.c (union qword_UTItype): New data type. | |
9377 | (si_from_UTItype, si_to_UTItype): New functions. | |
9378 | (__udivmodti4): Use them to implement type-punning. | |
9379 | * config/spu/multi3.c (union qword_TItype): New data type. | |
9380 | (si_from_TItype, si_to_TItype): New functions. | |
9381 | (__multi3): Use them to implement type-punning. | |
9382 | ||
c187d33c UW |
9383 | 2011-04-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
9384 | ||
9385 | * config/spu/spu.c (spu_expand_epilogue): Do not emit barrier. | |
9386 | ||
40982661 JH |
9387 | 2011-04-27 Jan Hubicka <jh@suse.cz> |
9388 | ||
9389 | * ipa-prop.c (function_insertion_hook_holder): New holder. | |
9390 | (ipa_add_new_function): New function. | |
200eb7d2 UB |
9391 | (ipa_register_cgraph_hooks, ipa_unregister_cgraph_hooks): |
9392 | Register/deregister holder. | |
40982661 | 9393 | |
9aef53ee RG |
9394 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
9395 | ||
9396 | PR tree-optimization/48772 | |
200eb7d2 | 9397 | * tree-ssa-pre.c (eliminate): Update call stmts after elimination only. |
9aef53ee | 9398 | |
f63d806d RG |
9399 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
9400 | ||
9401 | * tree-ssa-alias.c (indirect_refs_may_alias_p): Fix | |
9402 | TARGET_MEM_REF handling. | |
9403 | ||
e1ea7451 NC |
9404 | 2011-04-27 Nick Clifton <nickc@redhat.com> |
9405 | ||
9b5db25d NC |
9406 | * config/frv/frv.h (enum reg_class): Delete EVEN_ACC_REGS, |
9407 | ACC_REGS, FEVEN_REGS, FPR_REGS, EVEN_REGS. | |
9408 | (REG_CLASS_NAMES): Likewise. | |
9409 | (REG_CLASS_CONTENTS): Likewise. | |
9410 | (EVEN_ACC_REGS): New macro. Alias for QUAD_ACC_REGS. | |
9411 | (ACC_REGS): New macro. Alias for QUAD_ACC_REGS. | |
9412 | (FEVEN_REGS): New macro. Alias for QUAD_ACC_REGS. | |
9413 | (FPR_REGS): New macro. Alias for QUAD_ACC_REGS. | |
9414 | (EVEN_REGS): New macro. Alias for QUAD_REGS. | |
9415 | * config/frv/frv.c (frv_secondary_reload_class): Remove use of | |
9416 | duplicate register classes. | |
97d20907 | 9417 | (frv_class_likely_spilled_p): Likewise. |
9b5db25d NC |
9418 | (frv_register_move_cost): Likewise. |
9419 | ||
e1ea7451 NC |
9420 | * config/mcore/mcore.h (REGNO_REG_CLASS): Do not index beyond the |
9421 | end of the regno_reg_class array. | |
9422 | ||
5c2f94b4 JJ |
9423 | 2011-04-27 Jakub Jelinek <jakub@redhat.com> |
9424 | ||
9425 | PR c/48742 | |
9426 | * c-typeck.c (build_binary_op): Don't wrap arguments if | |
9427 | int_operands is true. | |
9428 | ||
57a944d7 KK |
9429 | 2011-04-26 Kaz Kojima <kkojima@gcc.gnu.org> |
9430 | ||
9431 | PR target/48767 | |
9432 | * config/sh/sh.c (sh_gimplify_va_arg_expr): Don't call | |
9433 | targetm.calls.must_pass_in_stack for void type. | |
9434 | ||
898b8927 JH |
9435 | 2011-04-26 Jan Hubicka <jh@suse.cz> |
9436 | ||
9437 | * cgraphbuild.c (build_cgraph_edges): Update call | |
9438 | of cgraph_create_edge and cgraph_create_indirect_edge. | |
9439 | * cgraph.c (cgraph_create_edge_including_clones, | |
9440 | cgraph_create_edge_1, cgraph_allocate_init_indirect_info, | |
9441 | cgraph_update_edges_for_call_stmt_node): Do not take nest | |
9442 | argument; do not initialize call_stmt_size/time. | |
9443 | (dump_cgraph_node): Do not dump nest. | |
9444 | (cgraph_clone_edge): Do not take loop_nest argument; | |
9445 | do not propagate it; do not clone call_stmt_size/time. | |
9446 | (cgraph_clone_node): Likewise. | |
9447 | (cgraph_create_virtual_clone): Update. | |
9448 | * cgraph.h (struct cgraph_edge): Remove | |
9449 | call_stmt_size/call_stmt_time/loop_nest. | |
9450 | (cgraph_create_edge, cgraph_create_indirect_edge, | |
9451 | cgraph_create_edge_including_clones, cgraph_clone_node): Update | |
9452 | prototype. | |
9453 | * tree-emutls.c (gen_emutls_addr): Update. | |
9454 | * ipa-inline-transform.c (update_noncloned_frequencies): Do not handle | |
9455 | loop_nest; handle indirect calls, too. | |
9456 | (clone_inlined_nodes): Do not care about updating inline summaries. | |
9457 | * cgraphunit.c (cgraph_copy_node_for_versioning): Update. | |
9458 | * lto-cgraph.c (lto_output_edge, input_node, input_edge): Do not | |
9459 | stream call_stmt_size/call_stmt_time/loop_nest. | |
9460 | * ipa-inline.c (edge_badness): Update. | |
9461 | (ipa_inline): dump summaries after inlining. | |
9462 | * ipa-inline.h (struct inline_edge_summary, inline_edge_summary_t): | |
200eb7d2 | 9463 | New. |
898b8927 JH |
9464 | (inline_edge_summary): New function. |
9465 | * ipa-inline-analysis.c (edge_duplication_hook_holder): New holder. | |
9466 | (inline_edge_removal_hook): Handle edge summaries. | |
9467 | (inline_edge_duplication_hook): New hook. | |
9468 | (inline_summary_alloc): Alloc hooks. | |
9469 | (initialize_growth_caches): Do not register removal hooks. | |
9470 | (free_growth_caches); Do not free removal hook. | |
9471 | (dump_inline_edge_summary): New function. | |
9472 | (dump_inline_summary): Use it. | |
9473 | (estimate_function_body_sizes, estimate_edge_size_and_time): Update. | |
9474 | (inline_update_callee_summaries): New function. | |
9475 | (inline_merge_summary): Use it. | |
9476 | (do_estimate_edge_time, do_estimate_edge_growth): Update. | |
9477 | (read_inline_edge_summary): New function. | |
9478 | (inline_read_section): Use it. | |
9479 | (write_inline_edge_summary): New function. | |
9480 | (inline_write_summary): Use it. | |
9481 | (inline_free_summary): Free edge new holders. | |
9482 | * tree-inline.c (copy_bb): Update. | |
9483 | ||
ffa03772 JM |
9484 | 2011-04-26 Jason Merrill <jason@redhat.com> |
9485 | ||
9486 | * tree-eh.c (lower_try_finally_switch): Create the label along with | |
9487 | the CASE_LABEL_EXPR. | |
9488 | ||
6d7b45ad DM |
9489 | 2011-04-26 David S. Miller <davem@davemloft.net> |
9490 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
9491 | ||
9492 | * configure.ac (gcc_cv_as_sparc_gotdata_op): Specify alignment. | |
9493 | * configure: Regenerate. | |
9494 | ||
df10b6d4 MM |
9495 | 2011-04-26 Michael Meissner <meissner@linux.vnet.ibm.com> |
9496 | ||
9497 | PR target/48258 | |
9498 | * config/rs6000/vector.md (UNSPEC_REDUC): New unspec for vector | |
9499 | reduction. | |
9500 | (VEC_reduc): New code iterator and splitters for vector reduction. | |
9501 | (VEC_reduc_name): Ditto. | |
9502 | (VEC_reduc_rtx): Ditto. | |
9503 | (reduc_<VEC_reduc_name>_v2df): Vector reduction expanders for VSX. | |
9504 | (reduc_<VEC_reduc_name>_v4sf): Ditto. | |
9505 | ||
9506 | * config/rs6000/rs6000.c (rs6000_expand_vector_extract): Add | |
9507 | support for extracting SF on VSX. | |
9508 | ||
9509 | * config/rs6000/vsx.md (vsx_xscvspdp_scalar2): New insn for | |
9510 | generating xscvspdp. | |
9511 | (vsx_extract_v4sf): New insn to extract SF from V4SF vector. | |
9512 | (vsx_reduc_<VEC_reduc_name>_v2df): New insns and splitters for | |
9513 | double add, minimum, maximum vector reduction. | |
9514 | (vsx_reduc_<VEC_reduc_name>_v4sf): Ditto. | |
9515 | (vsx_reduc_<VEC_reduc_name>_v2df2_scalar): New combiner insn to | |
9516 | optimize double vector reduction. | |
9517 | (vsx_reduc_<VEC_reduc_name>_v4sf_scalar): Ditto. | |
9518 | ||
35a5db04 JM |
9519 | 2011-04-26 Joseph Myers <joseph@codesourcery.com> |
9520 | ||
9521 | * config/fr30/fr30.h (inhibit_libc): Don't define. | |
9522 | * config/m32r/m32r-protos.h: Correct comment. | |
9523 | * config/v850/v850.h (GHS_default_section_names, | |
9524 | GHS_current_section_names): Use tree, not union tree_node *. | |
9525 | ||
2f964ad6 XDL |
9526 | 2011-04-26 Xinliang David Li <davidxl@google.com> |
9527 | ||
200eb7d2 | 9528 | * tree-ssa-uninit.c (warn_uninitialized_phi): Pass warning code. |
2f964ad6 XDL |
9529 | * c-family/c-opts.c (c_common_handle_option): Set |
9530 | warn_maybe_uninitialized. | |
9531 | * opts.c (common_handle_option): Ditto. | |
9532 | * common.opt: New option. | |
9533 | * tree-ssa.c (warn_uninit): Add one more parameter. | |
9534 | (warn_uninitialized_var): Pass warning code. | |
9535 | * tree-flow.h: Interface change. | |
9536 | ||
9c7bd91a RO |
9537 | 2011-04-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9538 | ||
200eb7d2 | 9539 | * config/mips/iris6.h (LOCAL_LABEL_PREFIX): Don't test TARGET_NEWABI. |
9c7bd91a RO |
9540 | (WINT_TYPE_SIZE): Use INT_TYPE_SIZE. |
9541 | (TARGET_OS_CPP_BUILTINS): Remove TARGET_IRIX6 guards. | |
9542 | ||
c2f36e21 RO |
9543 | 2011-04-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9544 | ||
9545 | * config/mips/mips.h (DBX_OUTPUT_SOURCE_LINE): Remove. | |
9546 | * config/mips/mips.opt (mmips-tfile): Remove. | |
9547 | ||
9548 | * doc/install.texi (Specific, mips-*-*): Move mips-tfile, | |
9549 | mips-tdump reference to ... | |
200eb7d2 | 9550 | (Specific, alpha*-dec-osf5.1): ... here. Adapt for Tru64 UNIX. |
c2f36e21 RO |
9551 | * doc/trouble.texi (Cross-Compiler Problems): Replace MIPS |
9552 | reference by Tru64 UNIX. | |
9553 | ||
2c9da85b JJ |
9554 | 2011-04-26 Jakub Jelinek <jakub@redhat.com> |
9555 | ||
0c5f6539 JJ |
9556 | PR debug/48768 |
9557 | * tree-ssa.c (insert_debug_temp_for_var_def): If degenerate_phi_result | |
9558 | is error_mark_node, set value to NULL. | |
9559 | ||
2c9da85b JJ |
9560 | PR tree-optimization/48734 |
9561 | * tree-ssa-reassoc.c (eliminate_redundant_comparison): Give up | |
9562 | if return value from maybe_fold_*_comparsions isn't something | |
9563 | the code is prepared to handle. | |
9564 | ||
77fa1d54 UB |
9565 | 2011-04-26 Uros Bizjak <ubizjak@gmail.com> |
9566 | ||
9567 | * config/i386/predicates.md (ext_QIreg_operand): Remove extra | |
9568 | mode check. | |
9569 | (ext_QIreg_nomode_operands): Remove. | |
9570 | * config/i386/i386.md (*anddi_1): Use ext_QIreg_operand. | |
9571 | (*andsi_1): Ditto. | |
9572 | (*andhi_1): Ditto. | |
9573 | ||
0e2a6c2b AS |
9574 | 2011-04-26 Andrew Stubbs <ams@codesourcery.com> |
9575 | ||
9576 | * config/arm/arm.c (arm_gen_constant): Remove can_negate_initial. | |
9577 | ||
961562d8 RB |
9578 | 2011-04-26 Richard Guenther <rguenther@suse.de> |
9579 | ||
9580 | * c-typeck.c (build_unary_op): Do not expand array-refs via | |
9581 | pointer arithmetic. Only adjust qualifiers for function types. | |
9582 | ||
9583 | 2011-04-26 Richard Guenther <rguenther@suse.de> | |
9584 | ||
9585 | PR middle-end/48694 | |
9586 | * tree.h (OEP_CONSTANT_ADDRESS_OF): New operand_equal_flag. | |
9587 | * fold-const.c (operand_equal_p): For TREE_CONSTANT ADDR_EXPRs | |
77fa1d54 UB |
9588 | compare the operands with OEP_CONSTANT_ADDRESS_OF. Treat trees |
9589 | with TREE_SIDE_EFFECTS equal when OEP_CONSTANT_ADDRESS_OF is set. | |
961562d8 | 9590 | |
a0d260fc PC |
9591 | 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com> |
9592 | ||
6bec6c98 | 9593 | * doc/extend.texi: Document __underlying_type. |
a0d260fc | 9594 | |
4d583bb9 SB |
9595 | 2011-04-25 Segher Boessenkool <segher@kernel.crashing.org> |
9596 | ||
9597 | * config/rs6000/titan.md (automata_option "progress"): Remove. | |
9598 | ||
1f3fcdc3 JL |
9599 | 2011-04-25 Jeff Law <law@redhat.com> |
9600 | ||
9601 | * tree-vrp.c (identify_jump_threads): Handle GIMPLE_SWITCH too. | |
9602 | ||
e5b0dad8 JK |
9603 | 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
9604 | ||
9605 | * system.h (ENUM_BITFIELD): Remove. | |
9606 | ||
5157a881 | 9607 | 2011-04-25 Maxim Kuvyrkov <maxim@codesourcery.com> |
b15eacc7 | 9608 | Eric Botcazou <ebotcazou@adacore.com> |
5157a881 MK |
9609 | |
9610 | * combine.c (combine_simplify_rtx): Avoid mis-simplifying conditionals | |
9611 | for STORE_FLAG_VALUE==-1 case. | |
9612 | ||
ed4c109e RS |
9613 | 2011-04-24 Richard Sandiford <richard.sandiford@linaro.org> |
9614 | ||
9615 | PR target/43804 | |
9616 | * config/m68k/constraints.md (T): Allow PIC operands that satisfy | |
9617 | LEGITIMATE_PIC_OPERAND_P. | |
9618 | ||
f3181aa2 JH |
9619 | 2011-04-24 Jan Hubicka <jh@suse.cz> |
9620 | ||
9621 | * ipa-prop.c (ipa_propagate_indirect_call_infos): Remove obsolette | |
9622 | WPA hack. | |
77fa1d54 UB |
9623 | * ipa-prop.h (ipa_get_param, ipa_is_param_used, |
9624 | ipa_param_cannot_devirtualize_p, ipa_param_types_vec_empty, | |
9625 | ipa_get_ith_jump_func, ipa_get_lattice): Fortify array bounds. | |
f3181aa2 JH |
9626 | * ipa-inline-analysis.c (add_clause): Fix clause ordering. |
9627 | (and_predicates, or_predicates, predicates_equal_p, evaulate_predicate): | |
9628 | Sanity check predicate length. | |
9629 | (remap_predicate): Likewise; sanity check jump functions. | |
9630 | (inline_read_section, inline_write_summary): Sanity check | |
9631 | predicate length. | |
9632 | ||
5307cbaa PC |
9633 | 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
9634 | ||
9635 | PR other/48748 | |
9636 | * doc/extend.texi (Type Traits): Document __is_standard_layout, | |
9637 | __is_literal_type, and __is_trivial; update throughout about | |
9638 | possibly cv-qualified void types. | |
9639 | ||
bebd5f99 GP |
9640 | 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com> |
9641 | ||
9642 | * doc/sourcebuild.texi (Ada Tests): Adjust reference to ACATS | |
9643 | testsuite and make it version agnostic. | |
9644 | ||
7ee28a74 JH |
9645 | 2011-04-22 Jan Hubicka <jh@suse.cz> |
9646 | ||
9647 | * ipa-inline-analysis.c (inline_write_summary): Fix thinko. | |
9648 | ||
16997bc0 JJ |
9649 | 2011-04-23 Jakub Jelinek <jakub@redhat.com> |
9650 | ||
9651 | PR c/48685 | |
9652 | * fold-const.c (fold_convert_loc): Add NOP_EXPR when casting | |
9653 | to VOID_TYPE even around MODIFY_EXPR. | |
9654 | ||
f94d4ab1 MS |
9655 | 2011-04-22 Mike Stump <mikestump@comcast.net> |
9656 | ||
1a84c183 | 9657 | * gensupport.c (read_md_rtx): Fix typo in comment. |
f94d4ab1 MS |
9658 | * config/cris/cris.opt (moverride-best-lib-options): Fix typo in |
9659 | comment. | |
9660 | ||
632b4f8e JH |
9661 | 2011-04-22 Jan Hubicka <jh@suse.cz> |
9662 | ||
9663 | * gengtype.c (open_base_files): Add ipa-inline.h include. | |
77fa1d54 UB |
9664 | * ipa-cp.c (ipcp_get_lattice, ipcp_lattice_from_jfunc): Move to |
9665 | ipa-prop.c; update all uses. | |
632b4f8e | 9666 | * ipa-prop.c: (ipa_get_lattice, ipa_lattice_from_jfunc): ... here. |
77fa1d54 UB |
9667 | * ipa-inline-transform.c (inline_call): Use inline_merge_summary to |
9668 | merge summary of inlined function into former caller. | |
632b4f8e JH |
9669 | * ipa-inline.c (max_benefit): Remove. |
9670 | (edge_badness): Compensate for removal of benefits. | |
77fa1d54 UB |
9671 | (update_caller_keys): Use |
9672 | reset_node_growth_cache/reset_edge_growth_cache. | |
632b4f8e JH |
9673 | (update_callee_keys): Likewise. |
9674 | (update_all_callee_keys): Likewise. | |
77fa1d54 UB |
9675 | (inline_small_functions): Do not collect max_benefit; do not reset |
9676 | estimated_growth; call free_growth_caches and initialize_growth_caches. | |
9677 | * ipa-inline.h (struct condition, type clause_t, struct predicate, | |
9678 | struct size_time_entry): New structures. | |
632b4f8e | 9679 | (INLINE_SIZE_SCALE, INLINE_TIME_SCALE, MAX_CLAUSES): New constants. |
77fa1d54 UB |
9680 | (inline_summary): Remove size_inlining_benefit, time_inlining_benefit |
9681 | and estimated_growth. | |
632b4f8e JH |
9682 | (edge_growth_cache_entry): New structure. |
9683 | (node_growth_cache, edge_growth_cache): New global vars. | |
9684 | (estimate_growth): Turn into inline. | |
9685 | (inline_merge_summary, do_estimate_edge_growth, do_estimate_edge_time, | |
9686 | initialize_growth_caches, free_growth_caches): Declare. | |
9687 | (estimate_edge_growth): Rewrite. | |
9688 | (estimate_edge_time): Implement as inline cache lookup. | |
77fa1d54 UB |
9689 | (reset_node_growth_cache, reset_edge_growth_cache): New inline |
9690 | functions. | |
632b4f8e JH |
9691 | (MAX_TIME): Reduce to allow multiplicatoin by INLINE_SIZE_SCALE. |
9692 | (NUM_CONDITIONS): New constant. | |
9693 | (predicate_conditions): New enum. | |
9694 | (IS_NOT_CONSTANT): New constant. | |
9695 | (edge_removal_hook_holder): New var. | |
9696 | (node_growth_cache, edge_growth_cache): New global vars. | |
77fa1d54 UB |
9697 | (true_predicate, single_cond_predicate, false_predicate, |
9698 | not_inlined_predicate, add_condition, add_clause, and_predicates, | |
9699 | or_predicates, predicates_equal_p, evaulate_predicate, dump_condition, | |
9700 | dump_clause, dump_predicate, account_size_time, | |
632b4f8e JH |
9701 | evaulate_conditions_for_edge): New functions. |
9702 | (inline_summary_alloc): Move to heap. | |
9703 | (inline_node_removal_hook): Clear condition and entry vectors. | |
9704 | (inline_edge_removal_hook): New function. | |
9705 | (initialize_growth_caches, free_growth_caches): New function. | |
9706 | (dump_inline_summary): Update. | |
9707 | (edge_execution_predicate): New function. | |
9708 | (will_be_nonconstant_predicate): New function. | |
9709 | (estimate_function_body_sizes): Compute BB and constantness predicates. | |
9710 | (compute_inline_parameters): Do not clear estimated_growth. | |
9711 | (estimate_edge_size_and_time): New function. | |
9712 | (estimate_calls_size_and_time): New function. | |
9713 | (estimate_callee_size_and_time): New function. | |
9714 | (remap_predicate): New function. | |
9715 | (inline_merge_summary): New function. | |
9716 | (do_estimate_edge_time): New function based on... | |
9717 | (estimate_edge_time): ... this one. | |
9718 | (do_estimate_edge_growth): New function. | |
9719 | (do_estimate_growth): New function based on.... | |
9720 | (estimate_growth): ... this one. | |
9721 | (inline_analyze_function): Analyze after deciding on jump functions. | |
9722 | (inline_read_section): New function. | |
9723 | (inline_read_summary): Use it. | |
9724 | (inline_write_summary): Write all the new data. | |
9725 | * ipa-prop.c (ipa_get_param_decl_index): Export. | |
9726 | (ipa_lattice_from_jfunc): Move here from ipa-cp.c | |
77fa1d54 UB |
9727 | * ipa-prop.h (ipa_get_param_decl_index, ipa_lattice_from_jfunc): |
9728 | Declare. | |
9729 | (ipa_get_lattice): Move here from ipa-cp.c | |
632b4f8e JH |
9730 | * Makefile.in (GTFILES): Add ipa-inline.h and ipa-inline-analysis.c |
9731 | * params.def (PARAM_EARLY_INLINING_INSNS): Set to 11. | |
9732 | * cgraph.h (cgraph_clone_inlined_nodes, compute_inline_parameters, | |
9733 | cgraph_edge_inlinable_p): Remove. | |
9734 | * cgraphunit.c: Include ipainline.h | |
77fa1d54 UB |
9735 | (cgraph_process_new_functions): Update call of |
9736 | compute_inline_parameters. | |
632b4f8e | 9737 | |
1df5b0db RG |
9738 | 2011-04-22 Richard Guenther <rguenther@suse.de> |
9739 | ||
9740 | * tree.c (build_int_cst): Properly create canonicalized integer | |
9741 | constants. | |
9742 | (build_int_cst_type): Remove scary comments. | |
9743 | ||
ae01169c XDL |
9744 | 2011-04-22 Xinliang David Li <davidxl@google.com> |
9745 | ||
9746 | * toplev.c (process_options): Enable -Werror=coverage-mismatch | |
9747 | by default when -Wno-error is not specified. | |
9748 | * opts-global.c (decode_options): Remove call to | |
9749 | control_warning_options. | |
9750 | ||
93dfac24 JJ |
9751 | 2011-04-22 Jakub Jelinek <jakub@redhat.com> |
9752 | ||
9753 | PR tree-optimization/48717 | |
9754 | * tree-ssa-forwprop.c (associate_plusminus): For A + ~A and | |
9755 | ~A + A optimizations use build_int_cst_type instead of build_int_cst. | |
9756 | ||
1b5f5069 JM |
9757 | 2011-04-22 Joseph Myers <joseph@codesourcery.com> |
9758 | ||
9759 | * config/bfin/bfin-protos.h (Mmode): Don't define. Expand | |
9760 | definition where used. | |
9761 | ||
144f4153 JJ |
9762 | 2011-04-22 Jakub Jelinek <jakub@redhat.com> |
9763 | ||
9764 | PR c/48716 | |
9765 | * gimplify.c (gimplify_bind_expr): Mark as GOVD_LOCAL also | |
9766 | TREE_STATIC variables declared inside of some OpenMP construct. | |
9767 | ||
f9fd305b MJ |
9768 | 2011-04-22 Martin Jambor <mjambor@suse.cz> |
9769 | ||
9770 | PR middle-end/48585 | |
1d284ec5 | 9771 | * tree-inline.c (copy_bb): Create new edges only for analyzed nodes. |
f9fd305b | 9772 | |
49819fef AM |
9773 | 2011-04-22 Alexander Monakov <amonakov@ispras.ru> |
9774 | ||
9775 | PR c/36750 | |
9776 | * c-typeck.c (pop_init_level): Do not warn about initializing | |
9777 | with ` = {0}'. | |
9778 | ||
401f6699 AM |
9779 | 2011-04-22 Alan Modra <amodra@gmail.com> |
9780 | ||
9781 | * config/rs6000/rs6000.c (rs6000_function_arg): Remove CALL_LIBCALL | |
9782 | when returning call_cookie. | |
9783 | (rs6000_function_ok_for_sibcall): Allow sibcalls via function | |
9784 | pointers, to functions with no more vector args than the current | |
9785 | function, and some non-local calls for ABI_V4. | |
9786 | * config/rs6000/rs6000.md (sibcall_nonlocal_aix32, | |
9787 | sibcall_nonlocal_aix64): Combine to .. | |
9788 | (sibcall_nonlocal_aix<mode>): ..this. Handle function pointer calls. | |
9789 | (sibcall_value_nonlocal_aix32, sibcall_value_nonlocal_aix64): Combine.. | |
9790 | (sibcall_value_nonlocal_aix<mode>): ..likewise. | |
9791 | (*sibcall_nonlocal_sysv<mode>): Handle function pointer calls. | |
9792 | (sibcall_value_nonlocal_sysv<mode>): Likewise. Correct call cookie | |
9793 | operand. | |
9794 | * config/rs6000/darwin.md (sibcall_nonlocal_darwin64, | |
9795 | sibcall_value_nonlocal_darwin64, sibcall_symbolic_64, | |
9796 | sibcall_value_symbolic_64): Delete. | |
9797 | ||
903d1e67 XDL |
9798 | 2011-04-21 Xinliang David Li <davidxl@google.com> |
9799 | ||
9800 | * cgraph.h: Remove pid. | |
9801 | * cgraph.c: Remove pid. | |
9802 | * value-prof.c (init_node_map): New function. | |
9803 | (del_node_map): New function. | |
9804 | (find_func_by_funcdef_no): New function. | |
9805 | (gimple_ic_transform): Call new function. | |
9806 | * cgraphunit.c (cgraph_finalize_function): Remove pid. | |
9807 | * function.c (get_last_funcdef_no): New function. | |
9808 | * function.h (get_last_funcdef_no): New function. | |
9809 | * tree-profile.c (gimple_gen_ic_func_profiler): Pass funcdef_no | |
9810 | to libgcov function. | |
9811 | (tree-profiling): Call node map init and delete function. | |
9812 | ||
7378e95f ILT |
9813 | 2011-04-21 Ian Lance Taylor <iant@google.com> |
9814 | ||
9815 | * godump.c (go_format_type): Use exported Go name for anonymous | |
9816 | field name. | |
9817 | ||
e84a6fcf NF |
9818 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
9819 | ||
9820 | * config/frv/frv.c (frv_init_builtins): Delete `endlink' variable. | |
9821 | Call builtin_function_type_list instead of builtin_function_type. | |
9822 | (UNARY, BINARY, TRINARY, QUAD): Likewise. | |
9823 | ||
4fe058e2 NF |
9824 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
9825 | ||
9826 | * config/arm/arm.c (arm_init_iwmmxt_builtins): Call | |
9827 | build_function_type_list instead of build_function_type. | |
9828 | Delete variable `endlink'. | |
9829 | ||
1ba0a2d2 NF |
9830 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
9831 | ||
9832 | * config/s390/s390.c (s390_init_builtins): Call | |
9833 | build_function_type_list instead of build_function_type. | |
9834 | ||
c0676219 NF |
9835 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
9836 | ||
9837 | * config/ia64/ia64.c (ia64_init_builtins): Call | |
9838 | build_function_type_list instead of builtin_function_type. | |
9839 | ||
6ddfda8a ER |
9840 | 2011-04-21 Easwaran Raman <eraman@google.com> |
9841 | ||
3a6448ea | 9842 | * cfgexpand.c (stack_var): Remove OFFSET... |
6ddfda8a ER |
9843 | (add_stack_var): ...and its reference here... |
9844 | (expand_stack_vars): ...and here. | |
9845 | (stack_var_cmp): Sort by descending order of size. | |
9846 | (partition_stack_vars): Change heuristic. | |
1d284ec5 | 9847 | (union_stack_vars): Fix to reflect changes in partition_stack_vars. |
6ddfda8a ER |
9848 | (dump_stack_var_partition): Add newline after each partition. |
9849 | ||
23756963 DA |
9850 | 2011-04-21 Dimitrios Apostolou <jimis@gmx.net> |
9851 | Jeff Law <law@redhat.com> | |
9852 | ||
77fa1d54 | 9853 | * gengtype-state.c (read_a_state_token): Fix argument to obstack_free. |
23756963 DA |
9854 | * gengtype.c (matching_file_name_substitute): Likewise. |
9855 | ||
aa2a43d2 RG |
9856 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
9857 | ||
9858 | PR lto/48703 | |
1d284ec5 | 9859 | * tree.c (free_lang_data_in_decl): Do not zero TREE_TYPE of DECL_NAME. |
aa2a43d2 | 9860 | |
4d931f41 EB |
9861 | 2011-04-21 Eric Botcazou <ebotcazou@adacore.com> |
9862 | ||
9863 | * gimple.c (walk_gimple_op) <GIMPLE_CALL>: Fix couple of oversights. | |
9864 | ||
f103fa7a RG |
9865 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
9866 | ||
9867 | * Makefile.in (site.exp): Do not use tmp0 but site.tmp as temporary | |
9868 | file name. | |
9869 | ||
e19f6650 RG |
9870 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
9871 | ||
9872 | * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Handle | |
9873 | MEM_REF and TARGET_MEM_REF, do not care about INDIRECT_REFs. | |
9874 | Use DECL_P, not SSA_VAR_P. | |
9875 | (ptr_derefs_may_alias_p): Likewise. | |
9876 | (ptr_deref_may_alias_ref_p_1): Likewise. | |
9877 | (decl_refs_may_alias_p): Likewise. | |
9878 | (refs_may_alias_p_1): Likewise. | |
9879 | (ref_maybe_used_by_call_p_1): Likewise. | |
9880 | (call_may_clobber_ref_p_1): Likewise. | |
9881 | (indirect_ref_may_alias_decl_p): Assume indirect refrences | |
9882 | are either MEM_REF or TARGET_MEM_REF. | |
9883 | (indirect_refs_may_alias_p): Likewise. | |
9884 | * calls.c (emit_call_1): Build a MEM_REF instead of an INDIRECT_REF | |
9885 | for MEM_EXPR of indirect calls. | |
9886 | ||
9d1831bb TG |
9887 | 2011-04-21 Tristan Gingold <gingold@adacore.com> |
9888 | ||
9889 | * vmsdbgout.c (write_srccorr): Compute file length from the string. | |
9890 | (dst_file_info_struct): Remove flen field. | |
9891 | (lookup_filename): Remove code that set flen field. | |
9892 | ||
f199c029 TG |
9893 | 2011-04-21 Tristan Gingold <gingold@adacore.com> |
9894 | ||
9895 | * config/ia64/ia64.c (ia64_start_function): Add a guard. | |
9896 | ||
2894086e UB |
9897 | 2011-04-21 Uros Bizjak <ubizjak@gmail.com> |
9898 | ||
9899 | PR target/48708 | |
9900 | * config/i386/i386.c (ix86_expand_vector_set) <V2DImode>: Generate | |
9901 | vec_extract and vec_concat for non-SSE4_1 targets. | |
9902 | ||
53f94a5c RG |
9903 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
9904 | ||
9905 | * tree-ssa-alias.c (ref_maybe_used_by_stmt_p): Handle | |
9906 | return statements. | |
9907 | ||
f0dca5ba JM |
9908 | 2011-04-21 Joseph Myers <joseph@codesourcery.com> |
9909 | ||
9910 | * config/i386/cygming.h (union tree_node, TREE): Don't define or | |
9911 | undefine. | |
9912 | (FILE): Don't undefine. | |
9913 | ||
984514ac JM |
9914 | 2011-04-21 Joseph Myers <joseph@codesourcery.com> |
9915 | ||
9916 | * config/alpha/alpha.c (struct machine_function): Use rtx, not | |
9917 | struct rtx_def *. | |
9918 | * config/bfin/bfin.h (bfin_cc_rtx, bfin_rets_rtx): Use rtx, not | |
9919 | struct rtx_def *. | |
9920 | * config/cris/cris-protos.h (STDIO_INCLUDED): Don't define. | |
2894086e | 9921 | * config/h8300/h8300.h (struct cum_arg): Use rtx, not struct rtx_def *. |
984514ac JM |
9922 | * config/iq2000/iq2000.h (struct iq2000_args): Use rtx, not struct |
9923 | rtx_def *. | |
9924 | * config/m32c/m32c-protos.h (MM, UINT): Don't define. Expand | |
9925 | definitions where used. | |
9926 | * config/microblaze/microblaze.h (struct microblaze_args): Use | |
9927 | rtx, not struct rtx_def *. | |
9928 | * config/pa/pa-protos.h (return_addr_rtx): Use rtx, not struct | |
9929 | rtx_def *. | |
2894086e UB |
9930 | * config/pa/pa.h (hppa_pic_save_rtx): Use rtx, not struct rtx_def *. |
9931 | * config/pdp11/pdp11.h (cc0_reg_rtx): Use rtx, not struct rtx_def *. | |
984514ac JM |
9932 | * config/sh/sh-protos.h (sfunc_uses_reg, get_fpscr_rtx): Use rtx, |
9933 | not struct rtx_def *. | |
9934 | * config/sh/sh.h (sh_compare_op0, sh_compare_op1): Use rtx, not | |
9935 | struct rtx_def *. | |
9936 | * config/spu/spu-protos.h (spu_float_const): Use rtx, not struct | |
9937 | rtx_def *. | |
2894086e | 9938 | * config/spu/spu.c (spu_float_const): Use rtx, not struct rtx_def *. |
984514ac | 9939 | |
0b5a2724 RS |
9940 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
9941 | ||
9942 | * tree-vect-data-refs.c (vect_drs_dependent_in_basic_block): Use | |
9943 | operand_equal_p to compare DR_BASE_ADDRESSes. | |
9944 | (vect_check_interleaving): Likewise. | |
9945 | ||
4b18d683 RS |
9946 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
9947 | ||
9948 | PR target/46329 | |
9949 | * config/arm/arm.c (arm_legitimate_constant_p_1): Return false | |
9950 | for all Neon struct constants. | |
9951 | ||
1a627b35 RS |
9952 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
9953 | ||
9954 | * target.def (legitimate_constant_p): New hook. | |
9955 | * doc/tm.texi.in (LEGITIMATE_CONSTANT_P): Replace with... | |
9956 | (TARGET_LEGITIMATE_CONSTANT_P): ...this. | |
9957 | * doc/tm.texi: Regenerate. | |
9958 | * hooks.h (hook_bool_mode_rtx_true): Declare. | |
9959 | * hooks.c (hook_bool_mode_rtx_true): Define. | |
9960 | * system.h (LEGITIMATE_CONSTANT_P): Poison. | |
9961 | * calls.c (precompute_register_parameters): Replace uses of | |
9962 | LEGITIMATE_CONSTANT_P with targetm.legitimate_constant_p. | |
9963 | (emit_library_call_value_1): Likewise. | |
9964 | * expr.c (move_block_to_reg, can_store_by_pieces, emit_move_insn) | |
9965 | (compress_float_constant, emit_push_insn, expand_expr_real_1): Likewise. | |
9966 | * ira-costs.c (scan_one_insn): Likewise. | |
9967 | * recog.c (general_operand, immediate_operand): Likewise. | |
9968 | * reload.c (find_reloads_toplev, find_reloads_address_part): Likewise. | |
9969 | * reload1.c (init_eliminable_invariants): Likewise. | |
9970 | ||
9971 | * config/alpha/alpha-protos.h (alpha_legitimate_constant_p): Add a | |
9972 | mode argument. | |
9973 | * config/alpha/alpha.h (LEGITIMATE_CONSTANT_P): Delete. | |
9974 | * config/alpha/alpha.c (alpha_legitimate_constant_p): Add a mode | |
9975 | argument. | |
9976 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
9977 | * config/alpha/predicates.md (input_operand): Update call to | |
9978 | alpha_legitimate_constant_p. | |
9979 | ||
9980 | * config/arm/arm-protos.h (arm_cannot_force_const_mem): Delete. | |
9981 | * config/arm/arm.h (ARM_LEGITIMATE_CONSTANT_P): Likewise. | |
9982 | (THUMB_LEGITIMATE_CONSTANT_P, LEGITIMATE_CONSTANT_P): Likewise. | |
9983 | * config/arm/arm.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
9984 | (arm_legitimate_constant_p_1, thumb_legitimate_constant_p) | |
9985 | (arm_legitimate_constant_p): New functions. | |
9986 | (arm_cannot_force_const_mem): Make static. | |
9987 | ||
9988 | * config/avr/avr.h (LEGITIMATE_CONSTANT_P): Delete. | |
9989 | ||
9990 | * config/bfin/bfin-protos.h (bfin_legitimate_constant_p): Delete. | |
9991 | * config/bfin/bfin.h (LEGITIMATE_CONSTANT_P): Delete. | |
9992 | * config/bfin/bfin.c (expand_move): Use targetm.legitimate_constant_p | |
9993 | instead of bfin_legitimate_constant_p. | |
9994 | (bfin_legitimate_constant_p): Make static. Add a mode argument. | |
9995 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
9996 | ||
9997 | * config/cris/cris.h (LEGITIMATE_CONSTANT_P): Delete. | |
9998 | ||
9999 | * config/fr30/fr30.h (LEGITIMATE_CONSTANT_P): Delete. | |
10000 | ||
10001 | * config/frv/frv-protos.h (frv_legitimate_constant_p): Delete. | |
10002 | * config/frv/frv.h (LEGITIMATE_CONSTANT_P): Delete. | |
10003 | * config/frv/frv.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10004 | (frv_legitimate_constant_p): Make static. Add a mode argument. | |
10005 | ||
10006 | * config/h8300/h8300-protos.h (h8300_legitimate_constant_p): Delete. | |
10007 | * config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Likewise. | |
10008 | * config/h8300/h8300.c (h8300_legitimate_constant_p): Likewise. | |
10009 | ||
10010 | * config/i386/i386-protos.h (legitimate_constant_p): Delete. | |
10011 | * config/i386/i386.h (LEGITIMATE_CONSTANT_P): Likewise. | |
10012 | * config/i386/i386.c (legitimate_constant_p): Rename to... | |
10013 | (ix86_legitimate_constant_p): ...this. Make static. Add a mode | |
10014 | argument. | |
10015 | (ix86_cannot_force_const_mem): Update accordingly. | |
10016 | (ix86_legitimate_address_p): Likewise. | |
10017 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10018 | * config/i386/i386.md: Update commentary. | |
10019 | ||
10020 | * config/ia64/ia64-protos.h (ia64_legitimate_constant_p): Delete. | |
10021 | * config/ia64/ia64.h (LEGITIMATE_CONSTANT_P): Likewise. | |
10022 | * config/ia64/ia64.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10023 | (ia64_legitimate_constant_p): Make static. Add a mode argument. | |
10024 | ||
10025 | * config/iq2000/iq2000.h (LEGITIMATE_CONSTANT_P): Delete. | |
10026 | ||
10027 | * config/lm32/lm32-protos.h (lm32_legitimate_constant_p): Delete. | |
10028 | * config/lm32/lm32.h (LEGITIMATE_CONSTANT_P): Likewise. | |
10029 | * config/lm32/lm32.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10030 | (lm32_legitimate_constant_p): Make static. Add a mode argument. | |
10031 | ||
10032 | * config/m32c/m32c-protos.h (m32c_legitimate_constant_p): Delete. | |
10033 | * config/m32c/m32c.h (LEGITIMATE_CONSTANT_P): Likewise. | |
10034 | * config/m32c/m32c.c (m32c_legitimate_constant_p): Likewise. | |
10035 | ||
10036 | * config/m32r/m32r.h (LEGITIMATE_CONSTANT_P): Delete. | |
10037 | * config/m32r/m32r.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10038 | (m32r_legitimate_constant_p): New function. | |
10039 | ||
10040 | * config/m68k/m68k-protos.h (m68k_legitimate_constant_p): Declare. | |
10041 | * config/m68k/m68k.h (CONSTANT_ADDRESS_P): Call it instead of | |
10042 | LEGITIMATE_CONSTANT_P. | |
10043 | (LEGITIMATE_CONSTANT_P): Delete. | |
10044 | * config/m68k/m68k.c (m68k_expand_prologue): Call | |
10045 | m68k_legitimate_constant_p instead of LEGITIMATE_CONSTANT_P. | |
10046 | (m68k_legitimate_constant_p): New function. | |
10047 | * config/m68k/m68k.md: Update comments. | |
10048 | ||
10049 | * config/mcore/mcore.h (LEGITIMATE_CONSTANT_P): Delete. | |
10050 | * config/mcore/mcore.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10051 | (mcore_legitimate_constant_p): New function. | |
10052 | ||
10053 | * config/mep/mep-protos.h (mep_legitimate_constant_p): Delete. | |
10054 | * config/mep/mep.h (LEGITIMATE_CONSTANT_P): Likewise. | |
10055 | * config/mep/mep.c (mep_legitimate_constant_p): Make static. | |
10056 | Add a mode argument. | |
10057 | (mep_legitimate_address): Update accordingly. | |
10058 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10059 | ||
10060 | * config/microblaze/microblaze-protos.h (microblaze_const_double_ok): | |
10061 | Delete. | |
10062 | * config/microblaze/microblaze.h (LEGITIMATE_CONSTANT_P): Likewise. | |
10063 | * config/microblaze/microblaze.c (microblaze_const_double_ok): Make | |
10064 | static. Check OP's mode for VOIDmode. | |
10065 | (microblaze_legitimate_constant_p): New function. | |
10066 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10067 | ||
10068 | * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Delete. | |
10069 | * config/mips/mips.c (mips_legitimate_constant_p): New function. | |
10070 | (mips_cannot_force_const_mem): Use it instead of LEGITIMATE_CONSTANT_P. | |
10071 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10072 | * config/mips/predicates.md: Update comments. | |
10073 | ||
10074 | * config/mmix/mmix-protos.h (mmix_legitimate_constant_p): Delete. | |
10075 | * config/mmix/mmix.h (LEGITIMATE_CONSTANT_P): Likewise. | |
10076 | * config/mmix/mmix.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10077 | (mmix_legitimate_constant_p): Make static, return a bool, and take | |
10078 | a mode argument. | |
10079 | (mmix_print_operand_address): Update accordingly. | |
10080 | ||
10081 | * config/mn10300/mn10300-protos.h (mn10300_legitimate_constant_p): | |
10082 | Delete. | |
10083 | * config/mn10300/mn10300.h (LEGITIMATE_CONSTANT_P): Likewise. | |
2894086e UB |
10084 | * config/mn10300/mn10300.c (mn10300_legitimate_constant_p): Make |
10085 | static. Add a mode argument. | |
1a627b35 RS |
10086 | (TARGET_LEGITIMATE_CONSTANT_P): Define. |
10087 | ||
10088 | * config/moxie/moxie.h (LEGITIMATE_CONSTANT_P): Delete. | |
10089 | ||
10090 | * config/pa/pa.h (LEGITIMATE_CONSTANT_P): Delete. | |
10091 | * config/pa/pa.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10092 | (pa_legitimate_constant_p): New function. | |
10093 | ||
10094 | * config/picochip/picochip.h (LEGITIMATE_CONSTANT_P): Delete. | |
10095 | ||
10096 | * config/pdp11/pdp11.h (LEGITIMATE_CONSTANT_P): Delete. | |
10097 | * config/pdp11/pdp11.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10098 | (pdp11_legitimate_constant_p): New function. | |
10099 | ||
10100 | * config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Delete. | |
10101 | * config/rs6000/rs6000.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10102 | (rs6000_legitimate_constant_p): New function. | |
10103 | ||
10104 | * config/rx/rx-protos.h (rx_is_legitimate_constant): Replace with... | |
10105 | (rx_legitimate_constant_p): ...this. | |
10106 | * config/rx/rx.h (LEGITIMATE_CONSTANT_P): Delete. | |
10107 | * config/rx/rx.c (rx_is_legitimate_constant): Replace with... | |
10108 | (rx_legitimate_constant_p): ...this. | |
10109 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10110 | * config/rx/rx.md (mov<register_modes:mode>): Update accordingly. | |
10111 | ||
10112 | * config/s390/s390-protos.h (legitimate_constant_p): Delete. | |
10113 | * config/s390/s390.h (LEGITIMATE_CONSTANT_P): Likewise. | |
10114 | * config/s390/s390.c (legitimate_constant_p): Rename to... | |
10115 | (s390_legitimate_constant_p): ...this. Make static, return a bool, | |
10116 | and add a mode argument. | |
10117 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10118 | ||
10119 | * config/score/score.h (LEGITIMATE_CONSTANT_P): Delete. | |
10120 | ||
10121 | * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Delete. | |
10122 | * config/sh/sh.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10123 | (sh_legitimate_constant_p): New function. | |
10124 | ||
10125 | * config/sparc/sparc-protos.h (legitimate_constant_p): Delete. | |
10126 | * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Delete. | |
10127 | * config/sparc/sparc.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10128 | (legitimate_constant_p): Rename to... | |
10129 | (sparc_legitimate_constant_p): ...this. Make static. Add a mode | |
10130 | argument. | |
10131 | (constant_address_p): Update accordingly. | |
10132 | ||
10133 | * config/spu/spu-protos.h (spu_legitimate_constant_p): Add a mode | |
10134 | argument and return a bool. | |
10135 | * config/spu/spu.h (LEGITIMATE_CONSTANT_P): Delete. | |
10136 | * config/spu/spu.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10137 | (spu_legitimate_constant_p): Add a mode argument and return a bool. | |
10138 | (spu_rtx_costs): Update accordingly. | |
10139 | * config/spu/predicates.md (vec_imm_operand): Likewise. | |
10140 | ||
10141 | * config/stormy16/stormy16.h (LEGITIMATE_CONSTANT_P): Delete. | |
10142 | ||
10143 | * config/v850/v850.h (LEGITIMATE_CONSTANT_P): Delete. | |
10144 | * config/v850/v850.c (v850_legitimate_constant_p): New function. | |
10145 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10146 | ||
10147 | * config/vax/vax-protos.h (legitimate_constant_p): Delete. | |
10148 | * config/vax/vax.h (LEGITIMATE_CONSTANT_P): Likewise. | |
10149 | * config/vax/vax.c (legitimate_constant_p): Likewise. | |
10150 | ||
10151 | * config/xtensa/xtensa.h (LEGITIMATE_CONSTANT_P): Delete. | |
10152 | * config/xtensa/xtensa.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
10153 | (xtensa_legitimate_constant_p): New function. | |
10154 | ||
fbbf66e7 RS |
10155 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
10156 | ||
10157 | * target.def (cannot_force_const_mem): Add a mode argument. | |
10158 | * doc/tm.texi.in (TARGET_CANNOT_FORCE_CONST_MEM): Update accordingly. | |
10159 | * doc/tm.texi: Regenerate. | |
10160 | * hooks.h (hook_bool_mode_rtx_false): Declare. | |
10161 | * hooks.c (hook_bool_mode_const_rtx_false): Fix commentary. | |
10162 | (hook_bool_mode_const_rtx_true): Likewise. | |
10163 | (hook_bool_mode_rtx_false): New function. | |
10164 | * reload.c (CONST_POOL_OK_P): Take a mode argument and require it | |
10165 | to be non-VOID. Update call to cannot_force_const_mem. | |
10166 | (find_reloads): Update accordingly. | |
10167 | * varasm.c (force_const_mem): Update call to cannot_force_const_mem. | |
10168 | * config/alpha/alpha.c (alpha_cannot_force_const_mem): Add a mode | |
10169 | argument. | |
10170 | * config/arm/arm-protos.h (arm_cannot_force_const_mem): Likewise. | |
10171 | * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Update call. | |
10172 | * config/arm/arm.c (arm_cannot_force_const_mem): Add a mode argument. | |
10173 | * config/bfin/bfin.c (bfin_cannot_force_const_mem): Likewise. | |
10174 | * config/frv/frv.c (frv_cannot_force_const_mem): Likewise. | |
10175 | * config/i386/i386.c (ix86_cannot_force_const_mem): Likewise. | |
10176 | * config/ia64/ia64.c (ia64_cannot_force_const_mem): Likewise. | |
10177 | * config/m68k/m68k.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine to... | |
10178 | (m68k_cannot_force_const_mem): ...this new function. | |
10179 | * config/mips/mips.c (mips_cannot_force_const_mem): Add a mode | |
10180 | argument. | |
10181 | (mips_const_insns, mips_legitimize_const_move): Update calls. | |
10182 | (mips_secondary_reload_class): Likewise. | |
10183 | * config/pa/pa.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine to... | |
10184 | (pa_cannot_force_const_mem): ...this new function. | |
2894086e | 10185 | * config/rs6000/rs6000.c (TARGET_CANNOT_FORCE_CONST_MEM): Reefine to... |
fbbf66e7 RS |
10186 | (rs6000_cannot_force_const_mem): ...this new function. |
10187 | * config/s390/s390.c (s390_cannot_force_const_mem): Add a mode | |
10188 | argument. | |
10189 | * config/sparc/sparc.c (sparc_cannot_force_const_mem): Likewise. | |
10190 | * config/xtensa/xtensa.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine | |
10191 | to... | |
10192 | (xtensa_cannot_force_const_mem): ...this new function. | |
10193 | ||
b861891b NF |
10194 | 2011-04-20 Nathan Froyd <froydnj@codesourcery.com> |
10195 | ||
10196 | * config/mips/mips.c (mips16_build_function_stub): Call | |
10197 | build_function_type_list instead of build_function_type. | |
10198 | (mips16_build_call_stub): Likewise. | |
10199 | ||
34149ed5 NF |
10200 | 2011-04-20 Nathan Froyd <froydnj@codesourcery.com> |
10201 | ||
10202 | * config/mep/mep.c (mep_init_builtins): Call build_function_type_list | |
10203 | instead of build_function_type. | |
10204 | ||
12526412 NF |
10205 | 2011-04-20 Nathan Froyd <froydnj@codesourcery.com> |
10206 | ||
10207 | * config/pa/pa.c (pa_init_builtins): Call build_function_type_list | |
10208 | instead of build_function_type. | |
10209 | ||
3b84d61f UB |
10210 | 2011-04-20 Uros Bizjak <ubizjak@gmail.com> |
10211 | ||
10212 | PR target/48678 | |
10213 | * config/i386/i386.md (insv): Change operand 0 constraint to | |
10214 | "register_operand". Change operand 1 and 2 constraint to | |
10215 | "const_int_operand". Expand to pinsr{b,w,d,q} * when appropriate. | |
10216 | * config/i386/sse.md (sse4_1_pinsrb): Export. | |
10217 | (sse2_pinsrw): Ditto. | |
10218 | (sse4_1_pinsrd): Ditto. | |
10219 | (sse4_1_pinsrq): Ditto. | |
10220 | * config/i386/i386-protos.h (ix86_expand_pinsr): Add prototype. | |
10221 | * config/i386/i386.c (ix86_expand_pinsr): New. | |
10222 | ||
4a25752b ER |
10223 | 2011-04-20 Easwaran Raman <eraman@google.com> |
10224 | ||
10225 | * cfgexpand.c (add_alias_set_conflicts): Add conflicts with a variable | |
10226 | containing union type only with -fstrict-aliasing. | |
10227 | ||
04695783 JM |
10228 | 2011-04-20 Jim Meyering <meyering@redhat.com> |
10229 | ||
10230 | Remove useless if-before-free tests. | |
10231 | * calls.c (expand_call, save_area): Likewise. | |
10232 | * cfgcleanup.c (try_forward_edges): Likewise. | |
10233 | * collect2.c (collect_execute): Likewise. | |
10234 | * config/i386/i386.c (ix86_valid_target_attribute_tree): Likewise. | |
10235 | * config/mcore/mcore.c (mcore_expand_prolog): Likewise. | |
10236 | * coverage.c (coverage_checksum_string): Likewise. | |
10237 | * cse.c (init_cse_reg_info, delete_trivially_dead_insns): Likewise. | |
10238 | * cselib.c (cselib_init): Likewise. | |
10239 | * df-core.c (rest_of_handle_df_finish, df_analyze): Likewise. | |
10240 | (df_set_clean_cfg): Likewise. | |
10241 | * function.c (free_after_compilation): Likewise. | |
10242 | * gcc.c (do_spec_1, main): Likewise. | |
10243 | * gcov.c (create_file_names): Likewise. | |
10244 | * gensupport.c (identify_predicable_attribute): Likewise. | |
10245 | * graphite-clast-to-gimple.c (save_clast_name_index): Likewise. | |
10246 | * graphite-sese-to-poly.c (free_data_refs_aux): Likewise. | |
10247 | * haifa-sched.c (haifa_finish_h_i_d): Likewise. | |
10248 | * ipa-prop.c (ipa_free_node_params_substructures): Likewise. | |
10249 | * ipa-pure-const.c (local_pure_const): Likewise. | |
10250 | * ipa-reference.c (propagate): Likewise. | |
10251 | * ira-costs.c (free_ira_costs): Likewise. | |
10252 | * ira.c (free_register_move_costs, build_insn_chain): Likewise. | |
10253 | * matrix-reorg.c (mat_free): Likewise. | |
10254 | * prefix.c (get_key_value): Likewise. | |
10255 | * profile.c (compute_value_histograms): Likewise. | |
10256 | * reload1.c (free_reg_equiv): Likewise. | |
10257 | * sched-deps.c (free_deps): Likewise. | |
10258 | * sel-sched-ir.c (fence_clear): Likewise. | |
10259 | * sese.c (set_rename, if_region_set_false_region): Likewise. | |
10260 | * tree-data-ref.c (free_rdg): Likewise. | |
10261 | * tree-eh.c (lower_try_finally): Likewise. | |
10262 | * tree-ssa-coalesce.c (delete_coalesce_list): Likewise. | |
10263 | * tree-ssa-live.c (delete_var_map): Likewise. | |
10264 | * tree-ssa-loop-ivopts.c (free_loop_data): Likewise. | |
10265 | * tree-ssa-pre.c (phi_trans_add): Likewise. | |
10266 | ||
6788475a JJ |
10267 | 2011-04-20 Jakub Jelinek <jakub@redhat.com> |
10268 | ||
10269 | PR tree-optimization/48611 | |
10270 | * tree-eh.c (note_eh_region_may_contain_throw): Don't propagate | |
10271 | beyond ERT_MUST_NOT_THROW region. | |
10272 | ||
0eda4033 CM |
10273 | 2011-04-20 Catherine Moore <clm@codesourcery.com> |
10274 | ||
10275 | * config/mips/mips.opt (mfix-24k): New. | |
10276 | * config/mips/mips.h (ASM_SPEC): Handle -mfix-24k. | |
10277 | * config/mips/mips.md (length): Increase by 4 for stores if | |
10278 | fixing 24K errata. | |
10279 | * config/mips/mips.c (mips_reorg_process_insns): Do not allow | |
10280 | all noreorder if fixing 24K errata. | |
10281 | * doc/invoke.texi: Document mfix-24k. | |
10282 | ||
01475747 CLT |
10283 | 2011-04-20 Chung-Lin Tang <cltang@codesourcery.com> |
10284 | ||
10285 | * config/arm/arm.c (arm_legitimize_reload_address): For NEON | |
2894086e | 10286 | quad-word modes, reduce to 9-bit index range when above 1016 limit. |
01475747 | 10287 | |
bc2c1a60 AS |
10288 | 2011-04-20 Andrew Stubbs <ams@codesourcery.com> |
10289 | ||
10290 | * config/arm/arm.c (arm_gen_constant): Move movw support .... | |
10291 | (const_ok_for_op): ... to here. | |
10292 | ||
583722ee KT |
10293 | 2011-04-20 Kai Tietz <ktietz@redhat.com> |
10294 | ||
2894086e UB |
10295 | * fold-const.c (fold_binary_loc): Add handling for (X & ~Y) | (~X & Y) |
10296 | and (X && !Y) | (!X && Y) optimization to (X ^ Y). | |
583722ee | 10297 | |
422c0989 AS |
10298 | 2011-04-20 Andrew Stubbs <ams@codesourcery.com> |
10299 | ||
10300 | * config/arm/arm.c (arm_gen_constant): Remove redundant can_invert. | |
10301 | ||
d7978bff RG |
10302 | 2011-04-20 Richard Guenther <rguenther@suse.de> |
10303 | ||
10304 | PR tree-optimization/47892 | |
10305 | * tree-if-conv.c (if_convertible_stmt_p): Const builtins | |
10306 | are if-convertible. | |
10307 | ||
818412ba EB |
10308 | 2011-04-20 Eric Botcazou <ebotcazou@adacore.com> |
10309 | ||
10310 | * config/alpha/vms.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not redefine. | |
10311 | ||
b501ce4e TG |
10312 | 2011-04-20 Tristan Gingold <gingold@adacore.com> |
10313 | ||
10314 | * config/alpha/vms.h (LINK_SPEC): Do not use vms-dwarf2.o for gnu-ld. | |
10315 | ||
516edfdd GJL |
10316 | 2011-04-20 Georg-Johann Lay <avr@gjlay.de> |
10317 | ||
10318 | PR target/18145 | |
10319 | ||
10320 | * config/avr/avr.h (TARGET_ASM_INIT_SECTIONS): Delete. | |
10321 | (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete. | |
10322 | (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. | |
10323 | (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Define. | |
10324 | (TARGET_ASM_NAMED_SECTION): Change to avr_asm_named_section. | |
10325 | ||
10326 | * config/avr/avr-protos.h (avr_asm_output_aligned_common): | |
10327 | New prototype. | |
10328 | ||
10329 | * config/avr/avr.c (TARGET_ASM_INIT_SECTIONS): Define. | |
10330 | (avr_asm_named_section, avr_asm_output_aligned_common, | |
10331 | avr_output_data_section_asm_op, avr_output_bss_section_asm_op): | |
10332 | New functions to update... | |
10333 | (avr_need_clear_bss_p, avr_need_copy_data_p): ...these new variables. | |
10334 | (avr_asm_init_sections): Overwrite section callbacks for | |
10335 | data_section, bss_section. | |
10336 | (avr_file_start): Move output of __do_copy_data, __do_clear_bss | |
10337 | from here to... | |
10338 | (avr_file_end): ...here. | |
10339 | ||
dafc9511 RG |
10340 | 2011-04-20 Richard Guenther <rguenther@suse.de> |
10341 | ||
10342 | PR middle-end/48695 | |
10343 | * tree-ssa-alias.c (aliasing_component_refs_p): Compute base | |
2894086e | 10344 | objects and types here. Adjust for their offset before comparing. |
dafc9511 | 10345 | |
1da0876c RS |
10346 | 2011-04-20 Richard Sandiford <richard.sandiford@linaro.org> |
10347 | ||
10348 | * tree-vect-stmts.c (vectorizable_store): Only chain one related | |
10349 | statement per copy. | |
10350 | ||
25583c4f RS |
10351 | 2011-04-20 Richard Sandiford <richard.sandiford@linaro.org> |
10352 | ||
10353 | * Makefile.in (INTERNAL_FN_DEF, INTERNAL_FN_H): Define. | |
10354 | (GIMPLE_H): Include $(INTERNAL_FN_H). | |
10355 | (OBJS-common): Add internal-fn.o. | |
10356 | (internal-fn.o): New rule. | |
10357 | * internal-fn.def: New file. | |
10358 | * internal-fn.h: Likewise. | |
10359 | * internal-fn.c: Likewise. | |
10360 | * gimple.h: Include internal-fn.h. | |
10361 | (GF_CALL_INTERNAL): New gf_mask. | |
10362 | (gimple_statement_call): Put fntype into a union with a new | |
10363 | internal_fn field. | |
10364 | (gimple_build_call_internal): Declare. | |
10365 | (gimple_build_call_internal_vec): Likewise. | |
10366 | (gimple_call_same_target_p): Likewise. | |
10367 | (gimple_call_internal_p): New function. | |
10368 | (gimple_call_internal_fn): Likewise. | |
10369 | (gimple_call_fntype): Return null for internal calls. | |
10370 | (gimple_call_set_fntype): Assert that the function is not internal. | |
10371 | (gimple_call_set_fn): Likewise. | |
10372 | (gimple_call_set_fndecl): Likewise. | |
10373 | (gimple_call_set_internal_fn): New function. | |
10374 | (gimple_call_addr_fndecl): Handle null functions. | |
10375 | (gimple_call_return_type): Likewise null types. | |
10376 | * gimple.c (gimple_build_call_internal_1): New function. | |
10377 | (gimple_build_call_internal): Likewise. | |
10378 | (gimple_build_call_internal_vec): Likewise. | |
10379 | (gimple_call_same_target_p): Likewise. | |
10380 | (gimple_call_flags): Handle calls to internal functions. | |
10381 | (gimple_call_fnspec): New function. | |
10382 | (gimple_call_arg_flags, gimple_call_return_flags): Use it. | |
10383 | (gimple_has_side_effects): Handle null functions. | |
10384 | (gimple_rhs_has_side_effects): Likewise. | |
10385 | (gimple_call_copy_skip_args): Handle calls to internal functions. | |
10386 | * cfgexpand.c (expand_call_stmt): Likewise. | |
10387 | * expr.c (expand_expr_real_1): Assert that the call isn't internal. | |
10388 | * gimple-fold.c (gimple_fold_call): Handle null functions. | |
10389 | (gimple_fold_stmt_to_constant_1): Don't fold | |
10390 | calls to internal functions. | |
10391 | * gimple-low.c (gimple_check_call_args): Handle calls to internal | |
10392 | functions. | |
10393 | * gimple-pretty-print.c (dump_gimple_call): Likewise. | |
10394 | * ipa-prop.c (ipa_analyze_call_uses): Handle null functions. | |
10395 | * tree-cfg.c (verify_gimple_call): Handle calls to internal functions. | |
10396 | (do_warn_unused_result): Likewise. | |
10397 | * tree-eh.c (same_handler_p): Use gimple_call_same_target_p. | |
10398 | * tree-ssa-ccp.c (ccp_fold_stmt): Handle calls to internal functions. | |
10399 | * tree-ssa-dom.c (hashable_expr): Use the gimple statement to record | |
10400 | the target of a call. | |
10401 | (initialize_hash_element): Update accordingly. | |
10402 | (hashable_expr_equal_p): Use gimple_call_same_target_p. | |
10403 | (iterative_hash_hashable_expr): Handle calls to internal functions. | |
10404 | (print_expr_hash_elt): Likewise. | |
10405 | * tree-ssa-pre.c (can_value_number_call): Likewise. | |
10406 | (eliminate): Handle null functions. | |
10407 | * tree-ssa-sccvn.c (visit_use): Handle calls to internal functions. | |
10408 | * tree-ssa-structalias.c (get_fi_for_callee): Likewise. | |
10409 | (find_func_aliases): Likewise. | |
10410 | * value-prof.c (gimple_ic_transform): Likewise. | |
10411 | (gimple_indirect_call_to_profile): Likewise. | |
10412 | * lto-streamer-in.c (input_gimple_stmt): Likewise. | |
10413 | * lto-streamer-out.c (output_gimple_stmt): Likewise. | |
10414 | ||
1a3118e9 JH |
10415 | 2011-04-19 Jan Hubicka <jh@suse.cz> |
10416 | ||
10417 | * ipa-inline-transform.c (save_inline_function_body): Add comments. | |
9d12f71a EB |
10418 | * ipa-inline.c (inline_small_functions): Compute summaries first, |
10419 | populate heap later. | |
1a3118e9 | 10420 | |
fee8b6da JH |
10421 | 2011-04-19 Jan Hubicka <jh@suse.cz> |
10422 | ||
10423 | * cgraph.h (save_inline_function_body): Remove. | |
10424 | * ipa-inline-transform.c: New file, broke out of... | |
10425 | * ipa-inline.c: ... this one; Update toplevel comment. | |
10426 | (ncalls_inlined, nfunctions_inlined): Move to ipa-inline-transform.c; | |
10427 | make global. | |
10428 | (update_noncloned_frequencies): Move to ipa-inline-transform.c | |
10429 | (cgraph_mark_inline_edge): Rename to inline_call; move to | |
10430 | ipa-inline-transform.c. | |
10431 | (cgraph_clone_inlined_nodes): Rename to clone_inlined_nodes; | |
10432 | move to ipa-inline-transform.c | |
10433 | (recursive_inlining, inline_small_functions, flatten_function, | |
10434 | ipa_inline, inline_always_inline_functions, | |
10435 | early_inline_small_functions): Update. | |
10436 | (inline_transform): Move to ipa-inline-transform.c. | |
10437 | * ipa-inline.h (inline_call, inline_transform, clone_inlined_nodes): | |
10438 | Declare. | |
10439 | * Makefile.in (ipa-inline-transform.o): New file. | |
10440 | * cgraphunit.c (save_inline_function_body): Move to | |
10441 | ipa-inline-transform.c | |
10442 | ||
f0679612 DD |
10443 | 2011-04-19 DJ Delorie <dj@redhat.com> |
10444 | ||
10445 | * config/m32c/m32c.c (m32c_emit_epilogue): Don't try to push | |
10446 | registers if we already know there aren't any. | |
10447 | (m32c_emit_epilogue): Don't emit a barrier here. | |
10448 | (m32c_emit_eh_epilogue): Likewise. | |
10449 | * config/m32c/blkmov.md (movstr): Don't fail on wrong-type | |
10450 | operands at expand time. | |
10451 | * config/m32c/m32c.h (WCHAR_TYPE_SIZE): Change to 4 to match "long | |
10452 | int" wchar type. | |
10453 | (REG_CLASS_CONTENTS, reg_class, REG_CLASS_NAMES): Remove | |
10454 | duplicates. Provide aliases instead. | |
10455 | * config/m32c/prologue.md (eh_return): Emit a barrier here. | |
10456 | (eh_epilogue): Add a "(return)" here as a hint to other parts of | |
10457 | the compiler. | |
10458 | ||
32257ddc AS |
10459 | 2011-04-19 Anatoly Sokolov <aesok@post.ru> |
10460 | ||
10461 | * config/sparc/sparc.h (GENERAL_OR_I64, REGISTER_MOVE_COST): Remove. | |
10462 | * config/sparc/sparc.c (TARGET_REGISTER_MOVE_COST): Define. | |
10463 | (general_or_i64_p, sparc_register_move_cost): New function. | |
10464 | ||
60bea929 RO |
10465 | 2011-04-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
10466 | ||
10467 | * doc/install.texi (Configuration, --enable-threads): Remove mach. | |
3b84d61f | 10468 | Add lynx, mipssde. Sort table. |
60bea929 | 10469 | |
444b3995 | 10470 | 2011-04-19 Xinliang David Li <davidxl@google.com> |
3b84d61f | 10471 | |
9d12f71a EB |
10472 | * ipa-cp.c (ipcp_update_profiling): Assert that scale_completement is |
10473 | not negative. | |
444b3995 | 10474 | |
d708ce50 JJ |
10475 | 2011-04-19 Jakub Jelinek <jakub@redhat.com> |
10476 | ||
10477 | PR target/48678 | |
10478 | * config/i386/i386.md (movstrict<mode>): FAIL if operands[0] | |
10479 | is a SUBREG with non-MODE_INT mode inside of it. | |
10480 | ||
49c471e3 MJ |
10481 | 2011-04-19 Martin Jambor <mjambor@suse.cz> |
10482 | ||
10483 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): Devirtualize | |
10484 | also according to actual contants. | |
10485 | * gimple-fold.c (gimple_extract_devirt_binfo_from_cst): New function. | |
10486 | (gimple_fold_call): Use it. | |
10487 | * gimple.h (gimple_extract_devirt_binfo_from_cst): Declare. | |
10488 | ||
0004f992 MJ |
10489 | 2011-04-19 Martin Jambor <mjambor@suse.cz> |
10490 | ||
10491 | * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Return false for scalar | |
10492 | non-pointer assignments. | |
10493 | ||
40591473 MJ |
10494 | 2011-04-19 Martin Jambor <mjambor@suse.cz> |
10495 | ||
10496 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): Take into | |
10497 | account anc_offset and otr_type from the indirect edge info. | |
10498 | * ipa-prop.c (get_ancestor_addr_info): New function. | |
10499 | (compute_complex_ancestor_jump_func): Assignment analysis moved to | |
10500 | get_ancestor_addr_info, call it. | |
10501 | (ipa_note_param_call): Do not initialize information about polymorphic | |
10502 | calls, return the indirect call graph edge. Remove the last | |
10503 | parameter, adjust all callers. | |
10504 | (ipa_analyze_virtual_call_uses): Process also calls to ancestors of | |
10505 | parameters. Initialize polymorphic information in the indirect edge. | |
10506 | ||
abe36b81 EB |
10507 | 2011-04-19 Eric Botcazou <ebotcazou@adacore.com> |
10508 | ||
10509 | PR lto/48148 | |
10510 | * gimple.c (gimple_types_compatible_p_1) <ENUMERAL_TYPE>: Do not merge | |
10511 | the types if they have different enumeration identifiers. | |
10512 | ||
e6416b30 JH |
10513 | 2011-04-19 Jan Hubicka <jh@suse.cz> |
10514 | ||
10515 | * cgraph.h (cgraph_optimize_for_size_p): Declare. | |
10516 | * ipa-cp.c (ipcp_insert_stage): Use cgraph_optimize_for_size_p. | |
10517 | * predict.c (cgraph_optimize_for_size_p): Break out from ... | |
10518 | (optimize_function_for_size_p) ... here. | |
10519 | ||
d39132ea RG |
10520 | 2011-04-19 Richard Guenther <rguenther@suse.de> |
10521 | ||
10522 | PR lto/48207 | |
10523 | * tree.c (free_lang_data): Do not reset the decl-assembler-name | |
10524 | langhook. | |
10525 | ||
ff7037dc EB |
10526 | 2011-04-19 Eric Botcazou <ebotcazou@adacore.com> |
10527 | ||
10528 | * tree-inline.c (expand_call_inline): Do not issue a -Winline warning | |
10529 | if DECL_NO_INLINE_WARNING_P is set on the function. | |
10530 | ||
c1ee2892 BS |
10531 | 2011-04-19 Bernd Schmidt <bernds@codesourcery.com> |
10532 | ||
10533 | PR fortran/47976 | |
10534 | * reload1.c (inc_for_reload): Return void. All callers changed. | |
10535 | (emit_input_reload_insns): Don't try to delete previous output | |
10536 | reloads to a register, or record spill_reg_store for autoincs. | |
fbb20b29 BS |
10537 | |
10538 | 2011-04-19 Basile Starynkevitch <basile@starynkevitch.net> | |
10539 | ||
10540 | * gengtype.h: Updated copyright year. | |
10541 | (struct input_file_st): Add inpisplugin field. | |
10542 | (type_fileloc): New function. | |
10543 | * gengtype.c | |
10544 | (write_typed_struct_alloc_def): Add gcc_assert. | |
10545 | (write_typed_alloc_defns): Ditto. Don't output for plugin files. | |
10546 | (write_typed_alloc_defns): Don't output for plugin files. | |
10547 | (input_file_by_name): Clear inpisplugin field. | |
10548 | (main): Set inpisplugin field for plugin files. | |
10549 | ||
897e0a89 NP |
10550 | 2011-04-19 Nicola Pero <nicola.pero@meta-innovation.com> |
10551 | ||
10552 | * gengtype-state.c (string_eq): New. | |
10553 | (read_state): Use string_eq instead of strcmp when creating the | |
10554 | state_ident_tab. | |
10555 | ||
363ee90e WG |
10556 | 2011-04-19 Wei Guozhi <carrot@google.com> |
10557 | ||
10558 | PR target/47855 | |
10559 | * config/arm/arm-protos.h (thumb1_legitimate_address_p): New prototype. | |
10560 | * config/arm/arm.c (thumb1_legitimate_address_p): Remove the static | |
10561 | linkage. | |
10562 | * config/arm/constraints.md (Uu): New constraint. | |
10563 | * config/arm/arm.md (*arm_movqi_insn): Compute attr "length". | |
10564 | ||
18a24fed TG |
10565 | 2011-04-19 Tristan Gingold <gingold@adacore.com> |
10566 | ||
10567 | * config.gcc (-*-*-*vms): Added. | |
10568 | (alpha64-dec-*vms*,alpha*-dec-*vms*, ia64-hp-*vms*): Common | |
10569 | definitions moved. | |
10570 | * config/vms/vms-ld.c: New file. | |
10571 | * config/vms/vms-ar.c: New file. | |
10572 | * config/vms/t-vmsnative: New file. | |
10573 | ||
1c13f168 XDL |
10574 | 2011-04-18 Xinliang David Li <davidxl@google.com> |
10575 | ||
10576 | * final.c (dump_basic_block_info): Use ASM_COMMENT_START. | |
10577 | ||
84825707 JJ |
10578 | 2011-04-18 Jakub Jelinek <jakub@redhat.com> |
10579 | ||
10580 | PR middle-end/48661 | |
10581 | * gimple-fold.c (gimple_get_virt_method_for_binfo): Return NULL | |
10582 | if TREE_TYPE (v) is non-NULL. | |
10583 | ||
10584 | * gimple-fold.c (gimple_get_virt_method_for_binfo): Renamed from | |
10585 | gimple_get_virt_mehtod_for_binfo. | |
10586 | * gimple.h (gimple_get_virt_method_for_binfo): Likewise. | |
10587 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): Adjust | |
10588 | callers. | |
10589 | * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise. | |
10590 | ||
7d4f8d02 | 10591 | 2011-04-18 Michael Matz <matz@suse.de> |
7254cb57 MM |
10592 | Steve Ellcey <sje@cup.hp.com> |
10593 | ||
7d4f8d02 EB |
10594 | * expr.c (expand_expr_real_2) <CASE_CONVERT>: If OP0 is a constant, |
10595 | use its mode as source mode if it isn't VOIDmode. | |
7254cb57 | 10596 | |
474e8e70 DCR |
10597 | 2011-04-18 Dennis, CHENG Renquan <crquan@fedoraproject.org> |
10598 | ||
10599 | * doc/passes.texi: Fill crossref nodes. | |
10600 | ||
cff41484 JM |
10601 | 2011-04-18 Jim Meyering <meyering@redhat.com> |
10602 | ||
7d4f8d02 | 10603 | Fix doubled-word typos in comments and strings |
cff41484 JM |
10604 | * config/alpha/vms-unwind.h: s/for for/for/ |
10605 | * config/arm/unwind-arm.h: Likewise. | |
10606 | * config/microblaze/microblaze.c: Likewise. | |
10607 | * config/sh/constraints.md: s/in in/in/ | |
10608 | * tree-cfg.c (verify_types_in_gimple_reference): Likewise. | |
10609 | ||
f60c2554 UB |
10610 | 2011-04-18 Uros Bizjak <ubizjak@gmail.com> |
10611 | ||
10612 | * config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): Remove. | |
10613 | (AVX_FLOAT_MODE_P): Ditto. | |
10614 | (AVX128_VEC_FLOAT_MODE_P): Ditto. | |
10615 | (AVX256_VEC_FLOAT_MODE_P): Ditto. | |
10616 | (AVX_VEC_FLOAT_MODE_P): Ditto. | |
10617 | * config/i386/i386.md (UNSPEC_MASKLOAD): Remove. | |
10618 | (UNSPEC_MASKSTORE): Ditto. | |
10619 | * config/i386/sse.md (<sse>_movmsk<ssemodesuffix><avxmodesuffix>): | |
10620 | Merge from <sse>_movmsk<ssemodesuffix> and | |
10621 | avx_movmsk<ssemodesuffix>256. Use VF mode iterator. | |
10622 | (*sse2_maskmovdqu): Merge with *sse2_maskmovdqu_rex64. Use P mode | |
10623 | iterator. | |
10624 | (avx_maskload<ssemodesuffix><avxmodesuffix>): New expander. | |
10625 | (avx_maskstore<ssemodesuffix><avxmodesuffix>): Ditto. | |
10626 | (*avx_maskmov<ssemodesuffix><avxmodesuffix>): New insn. | |
10627 | ||
09a2806f JH |
10628 | 2011-04-18 Jan Hubicka <jh@suse.cz> |
10629 | ||
8a8dccb2 JH |
10630 | * ipa-inline.c (inline_small_functions): Fix pasto in previous patch. |
10631 | ||
09a2806f JH |
10632 | * ipa-inline.c: Fix comment typos; do not inline gt-ipa-inline.h |
10633 | (want_inline_function_called_once_p): Break out the logic from | |
10634 | ipa_inline. | |
10635 | (edge_badness): Ensure that profile is not misupdated. | |
10636 | (lookup_recursive_calls): Prioritize by call frequencies. | |
10637 | (inline_small_functions): Move program size estimates here; | |
10638 | actually process whole queue even when unit growth has been | |
10639 | met. (to properly compute inline_failed reasons and for the | |
f60c2554 | 10640 | case unit size decrease.) Revisit comments on recursive inlining. |
09a2806f JH |
10641 | (ipa_inline): Remove unit summary code; first inline hot calls |
10642 | of functions called once, cold calls next. | |
10643 | (order, nnodes): Remove unused variables. | |
10644 | * Makefile.in (ipa-inline.o): No longer depent on ggc files. | |
10645 | (GTFILES): Remove ipa-inline.c | |
10646 | * sel-sched.c (fill_insns): Silence uninitialized var warning. | |
10647 | ||
3eea52ef EB |
10648 | 2011-04-18 Eric Botcazou <ebotcazou@adacore.com> |
10649 | ||
10650 | * dwarf2out.c (is_redundant_typedef): Add 'inline' to prototype. | |
10651 | ||
229a1c59 | 10652 | 2011-04-18 Jie Zhang <jie@codesourcery.com> |
3eea52ef | 10653 | Richard Earnshaw <rearnsha@arm.com> |
229a1c59 JZ |
10654 | |
10655 | * arm.c (neon_builtin_type_bits): Remove. | |
10656 | (typedef enum neon_builtin_mode): New. | |
10657 | (T_MAX): Don't define. | |
10658 | (typedef enum neon_builtin_datum): Remove bits, codes[], | |
10659 | num_vars and base_fcode. Add mode, code and fcode. | |
10660 | (VAR1, VAR2, VAR3, VAR4, VAR5, VAR6, VAR7, VAR8, VAR9 | |
10661 | VAR10): Change accordingly. | |
10662 | (neon_builtin_data[]): Change accordingly | |
10663 | (arm_init_neon_builtins): Change accordingly. | |
10664 | (neon_builtin_compare): Remove. | |
10665 | (locate_neon_builtin_icode): Remove. | |
10666 | (arm_expand_neon_builtin): Change accordingly. | |
10667 | ||
10668 | * arm.h (enum arm_builtins): Move to ... | |
10669 | * arm.c (enum arm_builtins): ... here; and rearrange builtin code. | |
10670 | ||
10671 | * arm.c (arm_builtin_decl): Declare. | |
10672 | (TARGET_BUILTIN_DECL): Define. | |
10673 | (enum arm_builtins): Correct ARM_BUILTIN_MAX. | |
10674 | (arm_builtin_decls[]): New. | |
10675 | (arm_init_neon_builtins): Store builtin declarations in | |
10676 | arm_builtin_decls[]. | |
10677 | (arm_init_tls_builtins): Likewise. | |
10678 | (arm_init_iwmmxt_builtins): Likewise. Refactor initialization code. | |
10679 | (arm_builtin_decl): New. | |
10680 | ||
75e802cc RG |
10681 | 2011-04-18 Richard Guenther <rguenther@suse.de> |
10682 | ||
10683 | * tree.c (upper_bound_in_type): Build properly canonicalized | |
10684 | INTEGER_CSTs. | |
10685 | (lower_bound_in_type): Likewise. | |
10686 | ||
3b45a007 RG |
10687 | 2011-04-18 Richard Guenther <rguenther@suse.de> |
10688 | ||
10689 | * gimple.h (gimple_call_addr_fndecl): New function. | |
10690 | (gimple_call_fndecl): Use it. | |
10691 | * gimple-fold.c (gimple_fold_call): Fold away OBJ_TYPE_REFs | |
10692 | for direct calls. | |
10693 | * tree-ssa-ccp.c (ccp_fold_stmt): Remove OBJ_TYPE_REF folding. | |
10694 | * tree-ssa-pre.c (eliminate): Also simplify indirect OBJ_TYPE_REFs. | |
10695 | ||
d25a79ea RG |
10696 | 2011-04-18 Richard Guenther <rguenther@suse.de> |
10697 | ||
10698 | PR middle-end/48650 | |
10699 | * tree.c (build_string): STRING_CST is now derived from tree_typed. | |
10700 | ||
7d5fc814 EB |
10701 | 2011-04-18 Eric Botcazou <ebotcazou@adacore.com> |
10702 | ||
10703 | PR lto/48492 | |
10704 | * cfgexpand.c (expand_debug_expr) <VAR_DECL>: Return NULL for a | |
10705 | DECL_IN_CONSTANT_POOL without RTL. | |
10706 | ||
7e7cfcf6 UW |
10707 | 2011-04-18 Ulrich Weigand <ulrich.weigand@linaro.org> |
10708 | Ira Rosen <ira.rosen@linaro.org> | |
10709 | ||
10710 | PR target/48252 | |
10711 | * config/arm/arm.c (neon_emit_pair_result_insn): Swap arguments | |
10712 | to match neon_vzip/vuzp/vtrn_internal. | |
10713 | * config/arm/neon.md (neon_vtrn<mode>_internal): Make both | |
10714 | outputs explicitly dependent on both inputs. | |
10715 | (neon_vzip<mode>_internal, neon_vuzp<mode>_internal): Likewise. | |
10716 | ||
49eab32e JJ |
10717 | 2011-04-18 Jakub Jelinek <jakub@redhat.com> |
10718 | ||
10719 | PR tree-optimization/48616 | |
10720 | * tree-vect-stmts.c (vectorizable_shift): If SLP, determine | |
10721 | whether the shift is by scalar or vector based on whether all SLP | |
10722 | scalar stmts have the same rhs. | |
10723 | ||
e54170f4 CLT |
10724 | 2011-04-17 Chung-Lin Tang <cltang@codesourcery.com> |
10725 | ||
10726 | * config/arm/arm.c (neon_struct_mem_operand): Support POST_INC/PRE_DEC | |
10727 | memory operands. | |
10728 | ||
b14ee6c9 RS |
10729 | 2011-04-17 Richard Sandiford <rdsandiford@googlemail.com> |
10730 | ||
269e0e18 | 10731 | PR target/43700 |
b14ee6c9 RS |
10732 | * config/mips/mips.c (mips_cfun_call_saved_reg_p): Handle global |
10733 | registers. | |
10734 | ||
10158cd3 JH |
10735 | 2011-04-17 Jan Hubicka <jh@suse.cz> |
10736 | ||
10737 | * cgrpah.h (struct cgraph_node): Remove finalized_by_frontend. | |
7d5fc814 EB |
10738 | * cgrpahunit.c (cgraph_finalize_function): Do not set |
10739 | finalized_by_frontend. | |
10158cd3 JH |
10740 | * lto-cgraph.c (lto_output_node, input_overwrite_node): Do not stream |
10741 | finalized_by_frontend. | |
10742 | ||
2e9bb6ba JH |
10743 | 2011-04-17 Jan Hubicka <jh@suse.cz> |
10744 | ||
10745 | * cgraph.c (cgraph_clone_node): Do not handle vtable_method | |
10746 | * cgraph.h (struct cgraph_local_info): Drop vtable_method. | |
10747 | * cgraphunit.c (cgraph_copy_node_for_versioning): Drop vtable_method. | |
7d5fc814 EB |
10748 | * lto-cgraph.c (lto_output_node, input_overwrite_node): Drop vtable |
10749 | method. | |
2e9bb6ba JH |
10750 | * gimple-fold.c (can_refer_decl_in_current_unit_p): Mention PR20991 in |
10751 | gimple-fold.c | |
10752 | * varasm.c (mark_decl_referenced): Drop vtable_method handling code. | |
10753 | ||
beb628e1 EB |
10754 | 2011-04-17 Eric Botcazou <ebotcazou@adacore.com> |
10755 | ||
10756 | PR lto/48538 | |
10757 | * lto-cgraph.c (merge_profile_summaries): Check that lto_file_data | |
10758 | is non-null before accessing it. | |
10759 | (input_cgraph): Remove trailing spaces. | |
10760 | ||
3e2fdd24 RE |
10761 | 2011-04-17 Revital Eres <revital.eres@linaro.org> |
10762 | ||
10763 | * params.def (sms-min-sc): New param flag. | |
10764 | * modulo-sched.c (sms_schedule): Use it. | |
10765 | * doc/invoke.texi (sms-min-sc): Document it. | |
10766 | ||
4c0f7679 JH |
10767 | 2011-04-17 Jan Hubicka <jh@suse.cz> |
10768 | ||
10769 | * lto-symtab.c (lto_cgraph_replace_node): When call statement is | |
10770 | present, also set gimple_call_set_cannot_inline. | |
10771 | * ipa-inline.c: Update toplevel comment. | |
10772 | (MAX_TIME): Remove. | |
10773 | (cgraph_clone_inlined_nodes): Fix linebreaks. | |
10774 | (cgraph_check_inline_limits): Restructure to ... | |
10775 | (caller_growth_limits): ... this one; be more tolerant | |
10776 | on growth in nested inline chains; add explanatory comment; | |
10777 | fix stack accounting thinko introduced by previous patch. | |
10778 | (cgraph_default_inline_p): Remove. | |
10779 | (report_inline_failed_reason): New function. | |
10780 | (can_inline_edge_p): New function. | |
10781 | (can_early_inline_edge_p): New function. | |
10782 | (leaf_node_p): Move upwards in file. | |
10783 | (want_early_inline_function_p): New function. | |
10784 | (want_inline_small_function_p): New function. | |
10785 | (want_inline_self_recursive_call_p): New function. | |
10786 | (cgraph_edge_badness): Rename to ... | |
10787 | (edge_badness) ... this one; fix linebreaks. | |
10788 | (update_edge_key): Update call of edge_baddness; add | |
10789 | detailed dump about queue updates. | |
10790 | (update_caller_keys): Use can_inline_edge_p and | |
10791 | want_inline_small_function_p. | |
10792 | (cgraph_decide_recursive_inlining): Rename to... | |
10793 | (recursive_inlining): Use can_inline_edge_p and | |
f60c2554 UB |
10794 | want_inline_self_recursive_call_p; simplify and remove no longer |
10795 | valid FIXME. | |
4c0f7679 JH |
10796 | (cgraph_set_inline_failed): Remove. |
10797 | (add_new_edges_to_heap): Use can_inline_edge_p and | |
10798 | want_inline_small_function_p. | |
10799 | (cgraph_decide_inlining_of_small_functions): Rename to ... | |
10800 | (inline_small_functions): ... this one; cleanup; use | |
f60c2554 UB |
10801 | can/want predicates; cleanup debug ouput; work edges till fibheap |
10802 | is exhausted and do not stop once unit growth is reached; remove | |
10803 | later loop processing remaining edges. | |
4c0f7679 JH |
10804 | (cgraph_flatten): Rename to ... |
10805 | (flatten_function): ... this one; use can_inline_edge_p | |
10806 | and can_early_inline_edge_p predicates. | |
10807 | (cgraph_decide_inlining): Rename to ... | |
10808 | (ipa_inline): ... this one; remove unreachable nodes before | |
10809 | inlining functions called once; simplify the pass. | |
10810 | (cgraph_perform_always_inlining): Rename to ... | |
10811 | (inline_always_inline_functions): ... this one; use | |
f60c2554 | 10812 | DECL_DISREGARD_INLINE_LIMITS; use can_inline_edge_p predicate. |
4c0f7679 JH |
10813 | (cgraph_decide_inlining_incrementally): Rename to ... |
10814 | (early_inline_small_functions): ... this one; simplify | |
10815 | using new predicates; cleanup; make dumps prettier. | |
10816 | (cgraph_early_inlining): Rename to ... | |
10817 | (early_inliner): newer inline regular functions into always-inlines; | |
10818 | fix updating of call stmt summaries. | |
10819 | (pass_early_inline): Update for new names. | |
10820 | (inline_transform): Fix formating. | |
10821 | (gate_cgraph_decide_inlining): Rename to ... | |
10822 | (pass_ipa_inline): ... this one. | |
10823 | * ipa-inline.h (inline_summary): Remove disregard_inline_limits. | |
10824 | * ipa-inline-analysis.c (dump_inline_summary): Update. | |
10825 | (compute_inline_parameters): Do not compute disregard_inline_limits; | |
10826 | look for mismatching arguments. | |
10827 | (estimate_growth): Fix handlig of non-trivial self recursion. | |
10828 | (inline_read_summary): Do not read info->disregard_inline_limits. | |
10829 | (inline_write_summary): Do not write info->disregard_inline_limits. | |
beb628e1 EB |
10830 | * tree-inline.c (inline_forbidden_into_p, tree_can_inline_p): Remove |
10831 | and move all checks into can_inline_edge_p predicate; re-enable code | |
10832 | comparing optimization levels. | |
4c0f7679 JH |
10833 | (expand_call_inline): Do not test inline_forbidden_into_p. |
10834 | * Makefile.in (ipa-inline.o): Update arguments. | |
10835 | ||
54333b7c RE |
10836 | 2011-04-17 Revital Eres <revital.eres@linaro.org> |
10837 | ||
10838 | * ddg.c (free_ddg_all_sccs): Free sccs field in struct ddg_all_sccs. | |
10839 | ||
42c2bf92 RE |
10840 | 2011-04-17 Revital Eres <revital.eres@linaro.org> |
10841 | ||
10842 | * modulo-sched.c (sms_schedule): Avoid unfreed memory when SMS fails. | |
10843 | ||
b183e9e0 MM |
10844 | 2011-04-17 Michael Matz <matz@suse.de> |
10845 | ||
10846 | PR tree-optimization/48622 | |
10847 | PR lto/48645 | |
10848 | * ipa-inline-analysis.c (inline_read_summary): Read size/time | |
10849 | in same order as they're written. | |
10850 | ||
b8a17fa2 JDA |
10851 | 2011-04-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
10852 | ||
10853 | * config/pa/predicates.md: Reorganize and simplify predicates. | |
10854 | Eliminate duplicate code checks. | |
10855 | (arith_operand): Rename to arith14_operand | |
10856 | (reg_or_ior_operand): Rename to reg_or_cint_ior_operand. | |
10857 | * config/pa/pa.md: Use renamed operands. | |
10858 | * config/pa/pa-protos.h (symbolic_operand): Delete declaration. | |
10859 | (tls_symbolic_operand, function_label_operand, lhs_lshift_cint_operand, | |
10860 | arith11_operand, adddi3_operand, indexed_memory_operand, | |
10861 | symbolic_memory_operand, int11_operand, reg_or_cint_move_operand, | |
10862 | arith5_operand, uint5_operand, pic_label_operand, plus_xor_ior_operator, | |
10863 | borx_reg_operand, shadd_operand, arith_operand, read_only_operand, | |
10864 | move_dest_operand, move_src_operand, prefetch_cc_operand, | |
10865 | prefetch_nocc_operand, and_operand, ior_operand, arith32_operand, | |
10866 | uint32_operand, reg_before_reload_operand, reg_or_0_operand, | |
10867 | reg_or_0_or_nonsymb_mem_operand, pre_cint_operand, post_cint_operand, | |
10868 | div_operand, int5_operand, movb_comparison_operator, | |
10869 | ireg_or_int5_operand, call_operand_address, ior_operand, fp_reg_operand, | |
10870 | arith_double_operand, ireg_operand, lhs_lshift_operand, | |
10871 | pc_or_label_operand, non_hard_reg_operand, eq_neq_comparison_operator, | |
10872 | integer_store_memory_operand): Likewise. | |
10873 | * config/pa/pa.c (adddi3_operand): Move to predicates.md. | |
10874 | (integer_store_memory_operand, read_only_operand, | |
10875 | function_label_operand, borx_reg_operand, | |
10876 | non_hard_reg_operand): Likewise. | |
10877 | (eq_neq_comparison_operator): Delete unused operator. | |
10878 | (legitimize_pic_address): Use VOIDmode for mode argument in calls to | |
10879 | function_label_operand. | |
10880 | (emit_move_sequence): Likewise. | |
10881 | ||
8dfb9f16 UB |
10882 | 2011-04-16 Uros Bizjak <ubizjak@gmail.com> |
10883 | ||
10884 | * config/i386/sse.md (sseunpackmode): New mode attribute. | |
10885 | (ssepackmode): Ditto. | |
10886 | (vec_pack_trunc_<mode>): Macroize expander from | |
10887 | vec_pack_trunc_{v8hi,v4si,v2di} using VI248_128 mode iterator. | |
10888 | (vec_unpacks_lo_<mode>): Macroize expander from | |
10889 | vec_unpacks_lo_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
10890 | (vec_unpacks_hi_<mode>): Macroize expander from | |
10891 | vec_unpacks_hi_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
10892 | (vec_unpacku_lo_<mode>): Macroize expander from | |
10893 | vec_unpacku_lo_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
10894 | (vec_unpacku_hi_<mode>): Macroize expander from | |
10895 | vec_unpacks_hi_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
10896 | * config/i386/i386.c (ix86_expand_sse_unpack): Merge with | |
10897 | ix86_expand_sse4_unpack. | |
10898 | * config/i386/i386-protos.h (ix86_expand_sse4_unpack): Remove. | |
10899 | ||
e7f23018 JH |
10900 | 2011-04-16 Jan Hubicka <jh@suse.cz> |
10901 | ||
10902 | * cgraphbuild.c: Include ipa-inline.h. | |
10903 | (reset_inline_failed): Use initialize_inline_failed. | |
10904 | * cgraph.c: Include ipa-inline.h. | |
10905 | (cgraph_create_node_1): Do not initialize estimated_growth. | |
10906 | (initialize_inline_failed): More to ipa-inline-analysis.c | |
10907 | (dump_cgraph_node): Do not dump inline flags. | |
10908 | * cgraph.h (cgraph_local_info): Remove inlineable, versionable | |
10909 | and disregard_inline_limits flags. | |
10910 | (cgrpah_global_info): Remove estimated_stack_size, stack_frame_offset, | |
10911 | time, size, estimated_growth. | |
8dfb9f16 UB |
10912 | * ipa-cp.c (ipcp_versionable_function_p, ipcp_generate_summary): |
10913 | Update. | |
e7f23018 JH |
10914 | * cgraphunit.c (cgraph_decide_is_function_needed): Use |
10915 | DECL_DISREGARD_INLINE_LIMITS. | |
10916 | (cgraph_analyze_function): Do not initialize | |
10917 | node->local.disregard_inline_limits. | |
10918 | * lto-cgraph.c (lto_output_node, input_overwrite_node): Do not stream | |
10919 | inlinable, versionable and disregard_inline_limits. | |
10920 | * ipa-inline.c (cgraph_clone_inlined_nodes, cgraph_mark_inline_edge, | |
8dfb9f16 UB |
10921 | cgraph_check_inline_limits, cgraph_default_inline_p, |
10922 | cgraph_edge_badness, update_caller_keys, update_callee_keys, | |
10923 | add_new_edges_to_heap): Update. | |
10924 | (cgraph_decide_inlining_of_small_function): Update; set | |
10925 | CIF_FUNCTION_NOT_INLINABLE for uninlinable functions. | |
e7f23018 JH |
10926 | (cgraph_decide_inlining, cgraph_edge_early_inlinable_p, |
10927 | cgraph_decide_inlining_incrementally): Update. | |
8dfb9f16 UB |
10928 | * ipa-inline.h (inline_summary): Add inlinable, versionable, |
10929 | disregard_inline_limits, estimated_stack_size, stack_frame_offset, | |
10930 | time, size and estimated_growth parameters. | |
e7f23018 JH |
10931 | (estimate_edge_growth): Update. |
10932 | (initialize_inline_failed): Declare. | |
10933 | * ipa-split.c: Include ipa-inline.h | |
10934 | (execute_split_functions): Update. | |
10935 | * ipa.c (cgraph_postorder): Use DECL_DISREGARD_INLINE_LIMITS. | |
10936 | (cgraph_remove_unreachable_nodes): Do not clear inlinable flag. | |
10937 | (record_cdtor_fn): Use DECL_DISREGARD_INLINE_LIMITS. | |
10938 | * ipa-inline-analysis.c (inline_node_removal_hook): Update; set | |
10939 | estimated_growth to INT_MIN. | |
10940 | (inline_node_duplication_hook): Likewise. | |
10941 | (dump_inline_summary): Dump new fields. | |
10942 | (compute_inline_parameters): Update. | |
10943 | (estimate_edge_time, estimate_time_after_inlining, | |
10944 | estimate_size_after_inlining, estimate_growth, inline_read_summary, | |
10945 | inline_write_summary): | |
10946 | (initialize_inline_failed): Move here from cgraph.c. | |
10947 | * tree-sra.c: Include ipa-inline.h. | |
10948 | (ipa_sra_preliminary_function_checks): Update. | |
f60c2554 UB |
10949 | * Makefile.in (cgraph.o, cgraphbuild.o): Add dependency on |
10950 | ipa-inline.h. | |
e7f23018 | 10951 | |
e81b8564 UB |
10952 | 2011-04-16 Uros Bizjak <ubizjak@gmail.com> |
10953 | ||
10954 | * config/i386/sse.md (V16): New mode iterator. | |
10955 | (VI1, VI8): Ditto. | |
10956 | (AVXMODEQI, AVXMODEDI): Remove. | |
10957 | (sse2, sse3): New mode attribute. | |
10958 | (mov<mode>): Use V16 mode iterator. | |
10959 | (*mov<mode>_internal): Merge with *avx_mov<mode>_internal. | |
10960 | (push<mode>1): Use V16 mode iterator. | |
10961 | (movmisalign<mode>): Ditto. | |
10962 | (<sse>_movu<ssemodesuffix><avxmodesuffix>): Merge from | |
10963 | <sse>_movu<ssemodesuffix> and avx_movu<ssemodesuffix><avxmodesuffix>. | |
10964 | (*<sse>_movu<ssemodesuffix><avxmodesuffix>): Merge from | |
10965 | *<sse>_movu<ssemodesuffix> and *avx_movu<ssemodesuffix><avxmodesuffix>. | |
10966 | (<sse2>_movdqu<avxmodesuffix>): Merge from sse2_movdqu and | |
10967 | avx_movdqu<avxmodesuffix>. | |
10968 | (*<sse2>_movdqu<avxmodesuffix>): Merge from *sse2_movdqu and | |
10969 | *avx_movdqu<avxmodesuffix>. | |
10970 | (<sse3>_lddqu<avxmodesuffix>) Merge from sse3_lddqu and | |
10971 | avx_lddqu<avxmodesuffix>. | |
10972 | (<sse>_movnt<mode>): Merge with avx_movnt<AVXMODEF2P:mode>. | |
10973 | (<sse2>_movnt<mode>): Merge from sse2_movntv2di and | |
10974 | avx_movnt<AVXMODEDI:mode>. | |
10975 | * config/i386/i386.c (ix86_expand_vector_move_misalign): Update for | |
10976 | renamed sse_movups, sse2_movupd and sse2_movdqu patterns. | |
10977 | ||
4743d438 BS |
10978 | 2011-04-16 Bernd Schmidt <bernds@codesourcery.com> |
10979 | ||
10980 | PR target/48629 | |
10981 | * haifa-sched.c (prune_ready_list, schedule_block): Use | |
10982 | sched_pressure_p rather than flag_sched_pressure. | |
10983 | ||
748f7574 | 10984 | 2011-04-15 Pat Haugen <pthaugen@us.ibm.com> |
eb229cf4 PH |
10985 | |
10986 | * config/rs6000/rs6000.c (call_ABI_of_interest): Call | |
10987 | cgraph_get_node instead of cgraph_get_create_node. | |
10988 | ||
2ba172e0 JJ |
10989 | 2011-04-15 Jakub Jelinek <jakub@redhat.com> |
10990 | ||
10991 | * cfgexpand.c (expand_debug_expr): Use | |
10992 | simplify_gen_{unary,binary,ternary} instead of gen_rtx_*. | |
10993 | ||
63d2a353 MM |
10994 | 2011-04-15 Michael Matz <matz@suse.de> |
10995 | ||
10996 | * tree.h (ALLOCA_FOR_VAR_P): Rename to CALL_ALLOCA_FOR_VAR_P. | |
10997 | * builtins.c (expand_builtin): Use CALL_ALLOCA_FOR_VAR_P. | |
10998 | * function.c (gimplify_parameters): Ditto. | |
10999 | * gimplify.c (gimplify_vla_decl): Ditto. | |
11000 | ||
11001 | * gimple.h (enum gf_mask): Add GF_CALL_ALLOCA_FOR_VAR. | |
11002 | (gimple_call_set_alloca_for_var): New inline function. | |
11003 | (gimple_call_alloca_for_var_p): Ditto. | |
e81b8564 UB |
11004 | * gimple.c (gimple_build_call_from_tree): Remember |
11005 | CALL_ALLOCA_FOR_VAR_P state. | |
63d2a353 MM |
11006 | * cfgexpand.c (expand_call_stmt): Restore CALL_ALLOCA_FOR_VAR_P state. |
11007 | ||
11008 | * tree-inline.c (inline_forbidden_p_stmt): Don't reject alloca | |
11009 | calls if they were for VLA objects. | |
11010 | ||
dee74c34 MJ |
11011 | 2011-04-15 Martin Jambor <mjambor@suse.cz> |
11012 | ||
11013 | * ipa-prop.c (ipa_analyze_virtual_call_uses): Remove handling | |
11014 | of ADR_EXPRs. | |
11015 | ||
8e5837bc MJ |
11016 | 2011-04-15 Martin Jambor <mjambor@suse.cz> |
11017 | ||
11018 | PR middle-end/48601 | |
11019 | * tree-emutls.c (lower_emutls_function_body): Call | |
11020 | cgraph_get_create_node instead of cgraph_get_node. Do not assert the | |
11021 | result is non-NULL. | |
11022 | ||
0dc33c3c NP |
11023 | 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com> |
11024 | ||
11025 | * c-decl.c (detect_field_duplicates): Call | |
11026 | objc_detect_field_duplicates instead of objc_get_interface_ivars. | |
11027 | ||
edcdea5b NF |
11028 | 2011-04-15 Nathan Froyd <froydnj@codesourcery.com> |
11029 | ||
11030 | * gimple.h (gimple_asm_clobbers_memory_p): Declare. | |
11031 | * gimple.c (gimple_asm_clobbers_memory_p): Define. | |
11032 | * ipa-pure-const.c (check_stmt): Call it. | |
11033 | * tree-ssa-operands.c (get_asm_expr_operands): Likewise. | |
11034 | ||
8456558d RG |
11035 | 2011-04-15 Richard Guenther <rguenther@suse.de> |
11036 | ||
11037 | PR tree-optimization/48290 | |
11038 | * tree-ssa-copy.c (copy_prop_visit_phi_node): Propagate constants. | |
11039 | Properly decide inhibiting propagation based on the valueized | |
11040 | operand. Do loop-closed SSA form preserving here ... | |
11041 | (init_copy_prop): ... not here. | |
11042 | ||
266446be L |
11043 | 2011-04-15 H.J. Lu <hongjiu.lu@intel.com> |
11044 | ||
11045 | PR target/48612 | |
11046 | * config/i386/sse.md (*ieee_smin<mode>3): Switch mnemonics. | |
11047 | (*ieee_smax<mode>3): Likewise. | |
11048 | ||
17465c6e AK |
11049 | 2011-04-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
11050 | ||
11051 | * config/s390/s390.md (popcountdi2, popcountsi2, popcounthi2): | |
11052 | Replace match_operand with match_dup for the third operand in | |
11053 | these expanders. | |
11054 | ||
bce204e5 MK |
11055 | 2011-04-15 Maxim Kuvyrkov <maxim@codesourcery.com> |
11056 | ||
11057 | * combine.c (subst, combine_simlify_rtx): Add new argument, use it | |
11058 | to track processing of conditionals. Update all callers. | |
11059 | (try_combine, simplify_if_then_else): Update. | |
11060 | ||
3162fdf4 MK |
11061 | 2011-04-15 Maxim Kuvyrkov <maxim@codesourcery.com> |
11062 | ||
11063 | * config/m68k/m68k.c (m68k_sched_variable_issue): Handle | |
11064 | -fsched-pressure. | |
11065 | ||
79002a57 | 11066 | 2011-04-15 Georg-Johann Lay <avr@gjlay.de> |
e81b8564 | 11067 | |
79002a57 GJL |
11068 | * config/avr/avr.md ("rotl<mode>3",mode=HIDI): Use match_dup |
11069 | instead of match_operand for operand 3. | |
11070 | ||
4fd3a105 RS |
11071 | 2011-04-15 Richard Sandiford <richard.sandiford@linaro.org> |
11072 | ||
11073 | * recog.h (insn_operand_data): Add an "allows_mem" field. | |
11074 | * genoutput.c (output_operand_data): Initialize it. | |
11075 | * optabs.c (maybe_legitimize_operand_same_code): New function. | |
11076 | (maybe_legitimize_operand): Use it when matching the original | |
11077 | op->value. | |
11078 | ||
ad19c4be EB |
11079 | 2011-04-15 Eric Botcazou <ebotcazou@adacore.com> |
11080 | ||
11081 | * gimplify.c: Fix issues in comments throughout. | |
11082 | (voidify_wrapper_expr): Fix long line. | |
11083 | (build_stack_save_restore): Likewise. | |
11084 | (gimplify_loop_expr): Likewise. | |
11085 | (gimplify_compound_lval): Likewise. | |
11086 | (gimplify_init_ctor_eval): Likewise. | |
11087 | (gimplify_modify_expr_rhs): Likewise. | |
11088 | (omp_notice_threadprivate_variable): Likewise. | |
11089 | ||
b25aa0e8 | 11090 | 2011-04-15 Eric Botcazou <ebotcazou@adacore.com> |
e7925582 | 11091 | |
b25aa0e8 EB |
11092 | * cfgexpand.c (expand_call_stmt): Convert the function type to the |
11093 | original one if this is not a builtin function. | |
e7925582 | 11094 | |
09db7afe JJ |
11095 | 2011-04-14 Jakub Jelinek <jakub@redhat.com> |
11096 | ||
11097 | PR target/48605 | |
11098 | * config/i386/sse.md (sse4_1_insertps): If operands[2] is a MEM, | |
11099 | offset it as needed based on top 2 bits in operands[3], change | |
11100 | MEM mode to SFmode and mask those 2 bits away from operands[3]. | |
11101 | ||
c59633d9 NP |
11102 | 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com> |
11103 | ||
11104 | * c-parser.c (c_parser_objc_protocol_definition): Updated for | |
11105 | change from objc_declare_protocols() to objc_declare_protocol(). | |
11106 | ||
5e60198b UB |
11107 | 2011-04-14 Uros Bizjak <ubizjak@gmail.com> |
11108 | ||
11109 | * config/i386/sse.md (sse4_1): New mode attribute. | |
11110 | (<sse4_1>_blend<ssemodesuffix><avxmodesuffix>): Macroize from | |
11111 | avx_blend<ssemodesuffix><avxmodesuffix> and | |
11112 | sse4_1_blend<ssemodesuffix> using VF mode iterator. | |
11113 | (<sse4_1>_blendv<ssemodesuffix><avxmodesuffix>): Macroize from | |
11114 | avx_blendv<ssemodesuffix><avxmodesuffix> and | |
11115 | sse4_1_blendv<ssemodesuffix> using VF mode iterator. | |
11116 | (<sse4_1>_dp<ssemodesuffix><avxmodesuffix>): Macroize from | |
11117 | avx_dp<ssemodesuffix><avxmodesuffix> and | |
11118 | sse4_1_dp<ssemodesuffix> using VF mode iterator. | |
11119 | (sse4_1_mpsadbw): Merge with *avx_mpsadbw. | |
11120 | (sse4_1_packusdw): Merge with *avx_packusdw. | |
11121 | (sse4_1_pblendvb): Merge with *avx_pblendvb. | |
11122 | (sse4_1_pblendw): Merge with *avx_pblendw. | |
11123 | (avx_vtest<ssemodesuffix><avxmodesuffix>): Use VF mode iterator. | |
11124 | (<sse4_1>_round<ssemodesuffix><avxmodesuffix>): Macroize from | |
11125 | avx_round<ssemodesuffix>256 and sse4_1_round<ssemodesuffix> using | |
11126 | VF mode iterator. | |
11127 | (sse4_1_round<ssescalarmodesuffix>): Merge with | |
11128 | *avx_round<ssescalarmodesuffix>. | |
11129 | (aesenc): Merge with *avx_aesenc. | |
11130 | (aesenclast): Merge with *avx_aesenclast. | |
11131 | (aesdec): Merge with *avx_aesdec. | |
11132 | (aesdeclast): Merge with *avx_aesdeclast. | |
11133 | (pclmulqdq): Merge with *pclmulqdq. | |
11134 | * config/i386/predicates.md (reg_not_xmm0_operand_maybe_avx): | |
11135 | New predicate. | |
11136 | (nonimm_not_xmm0_operand_maybe_avx): Ditto. | |
11137 | ||
6f197850 L |
11138 | 2011-04-14 H.J. Lu <hongjiu.lu@intel.com> |
11139 | ||
11140 | PR middle-end/48608 | |
11141 | * cfgexpand.c (get_decl_align_unit): Renamed to ... | |
11142 | (align_local_variable): This. Update DECL_ALIGN. | |
11143 | (add_stack_var): Updated. | |
11144 | (expand_one_stack_var): Likewise. | |
11145 | ||
4a5ba3ed RG |
11146 | 2011-04-14 Richard Guenther <rguenther@suse.de> |
11147 | ||
11148 | * tree-ssa-dse.c (struct dse_global_data, struct dse_block_local_data): | |
11149 | Remove. | |
11150 | (dse_initialize_block_local_data, dse_leave_block, | |
11151 | record_voperand_set, get_stmt_uid): Likewise. | |
11152 | (dse_possible_dead_store_p): Allow any kind of killing stmt. | |
11153 | (dse_optimize_stmt): Remove voperand set handling code. | |
11154 | Simplify and improve to handle any kind of killing stmt. | |
11155 | (dse_record_phi): Remove. | |
11156 | (dse_enter_block): Simplify. | |
11157 | (tree_ssa_dse): Likewise. | |
11158 | * tree-ssa-alias.c (stmt_kills_ref_p_1): Handle some builtins. | |
11159 | ||
10a5dd5d JH |
11160 | 2011-04-14 Jan Hubicka <jh@suse.cz> |
11161 | ||
11162 | * cgraph.c (dump_cgraph_node): Do not dump inline summaries. | |
11163 | * cgraph.h (struct inline_summary): Move to ipa-inline.h | |
11164 | (cgraph_local_info): Remove inline_summary. | |
11165 | * ipa-cp.c: Include ipa-inline.h. | |
11166 | (ipcp_cloning_candidate_p, ipcp_estimate_growth, | |
11167 | ipcp_estimate_cloning_cost, ipcp_insert_stage): Use inline_summary | |
11168 | accesor. | |
11169 | * lto-cgraph.c (lto_output_node): Do not stream inline summary. | |
11170 | (input_overwrite_node): Do not set inline summary. | |
11171 | (input_node): Do not stream inline summary. | |
11172 | * ipa-inline.c (cgraph_decide_inlining): Dump inline summaries. | |
11173 | (cgraph_decide_inlining_incrementally): Do not try to estimate overall | |
11174 | growth; we do not have inline parameters computed for that anyway. | |
11175 | (cgraph_early_inlining): After inlining compute call_stmt_sizes. | |
11176 | * ipa-inline.h (struct inline_summary): Move here from ipa-inline.h | |
11177 | (inline_summary_t): New type and VECtor. | |
11178 | (debug_inline_summary, dump_inline_summaries): Declare. | |
11179 | (inline_summary): Use VOCtor. | |
11180 | (estimate_edge_growth): Kill hack computing call stmt size directly. | |
11181 | * lto-section-in.c (lto_section_name): Add inline section. | |
11182 | * ipa-inline-analysis.c: Include lto-streamer.h | |
11183 | (node_removal_hook_holder, node_duplication_hook_holder): New holders | |
11184 | (inline_node_removal_hook, inline_node_duplication_hook): New functions. | |
11185 | (inline_summary_vec): Define. | |
11186 | (inline_summary_alloc, dump_inline_summary, debug_inline_summary, | |
11187 | dump_inline_summaries): New functions. | |
5e60198b UB |
11188 | (estimate_function_body_sizes): Properly compute size/time of outgoing |
11189 | calls. | |
11190 | (compute_inline_parameters): Alloc inline_summary; do not compute | |
11191 | size/time of incomming calls. | |
10a5dd5d JH |
11192 | (estimate_edge_time): Avoid missing time summary hack. |
11193 | (inline_read_summary): Read inline summary info. | |
11194 | (inline_write_summary): Write inline summary info. | |
11195 | (inline_free_summary): Free all hooks and inline summary vector. | |
11196 | * lto-streamer.h: Add LTO_section_inline_summary section. | |
11197 | * Makefile.in (ipa-cp.o, ipa-inline-analysis.o): Update dependencies. | |
11198 | * ipa.c (cgraph_remove_unreachable_nodes): Fix dump file formating. | |
11199 | ||
b602d918 RS |
11200 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
11201 | ||
11202 | * tree-vectorizer.h (vect_strided_store_supported): Add a | |
11203 | HOST_WIDE_INT argument. | |
11204 | (vect_strided_load_supported): Likewise. | |
11205 | (vect_permute_store_chain): Return void. | |
11206 | (vect_transform_strided_load): Likewise. | |
11207 | (vect_permute_load_chain): Delete. | |
11208 | * tree-vect-data-refs.c (vect_strided_store_supported): Take a | |
11209 | count argument. Check that the count is a power of two. | |
11210 | (vect_strided_load_supported): Likewise. | |
11211 | (vect_permute_store_chain): Return void. Update after above changes. | |
11212 | Assert that the access is supported. | |
11213 | (vect_permute_load_chain): Likewise. | |
11214 | (vect_transform_strided_load): Return void. | |
11215 | * tree-vect-stmts.c (vectorizable_store): Update calls after | |
11216 | above interface changes. | |
11217 | (vectorizable_load): Likewise. | |
11218 | (vect_analyze_stmt): Don't check for strided powers of two here. | |
11219 | ||
ab4472fa RG |
11220 | 2011-04-14 Richard Guenther <rguenther@suse.de> |
11221 | ||
11222 | PR tree-optimization/48590 | |
11223 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle | |
11224 | BUILT_IN_ALLOCA, BUILT_IN_STACK_SAVE and BUILT_IN_STACK_RESTORE. | |
11225 | (call_may_clobber_ref_p_1): Handle BUILT_IN_ALLOCA and | |
11226 | BUILT_IN_STACK_SAVE. | |
11227 | * tree-ssa-dce.c (propagate_necessity): Handle | |
11228 | BUILT_IN_ALLOCA, BUILT_IN_STACK_SAVE and BUILT_IN_STACK_RESTORE. | |
11229 | ||
32dabdaf NP |
11230 | 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com> |
11231 | ||
11232 | * c-parser.c (c_parser_objc_class_declaration): Updated call to | |
11233 | objc_declare_class. | |
11234 | ||
daade206 RG |
11235 | 2011-04-14 Richard Guenther <rguenther@suse.de> |
11236 | ||
11237 | * tree.h (get_object_alignment_1): Declare. | |
11238 | * builtins.c (get_object_alignment_1): Split out worker from ... | |
11239 | (get_object_alignment): ... here. | |
11240 | * fold-const.c (get_pointer_modulus_and_residue): Use | |
11241 | get_object_alignment_1. | |
11242 | ||
920e8172 RS |
11243 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
11244 | ||
11245 | * tree-vectorizer.h (vect_create_data_ref_ptr): Add an extra | |
11246 | type parameter. | |
11247 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add an aggr_type | |
11248 | parameter. Generalise code to handle arrays as well as vectors. | |
11249 | (vect_setup_realignment): Update accordingly. | |
11250 | * tree-vect-stmts.c (vectorizable_store): Likewise. | |
11251 | (vectorizable_load): Likewise. | |
11252 | ||
5ce1ee7f RS |
11253 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
11254 | ||
11255 | * tree-vect-stmts.c (vectorizable_load): Allocate and free dr_chain | |
11256 | within the per-copy loop. | |
11257 | ||
6438fe33 | 11258 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
0ea25ecd RS |
11259 | |
11260 | * tree-vect-stmts.c (vectorizable_load): Print the number of copies | |
11261 | in the dump file. | |
11262 | ||
6438fe33 | 11263 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
77b10485 RS |
11264 | |
11265 | * doc/options.texi (Negative): Explicitly mention that the | |
11266 | Negative chain must be circular. | |
11267 | ||
61e46a7d NF |
11268 | 2011-04-14 Nathan Froyd <froydnj@codesourcery.com> |
11269 | ||
11270 | * function.h (block_chainon): Declare. | |
11271 | * function.c (block_chainon): Define. | |
11272 | ||
43ea6502 | 11273 | 2011-04-14 Anatoly Sokolov <aesok@post.ru> |
5e60198b | 11274 | Eric Weddington <eric.weddington@atmel.com> |
748f7574 | 11275 | Georg-Johann Lay <avr@gjlay.de> |
5e60198b | 11276 | |
f60c2554 | 11277 | * config/avr/avr.c ("insn-codes.h", "optabs.h", "langhooks.h"): |
43ea6502 AS |
11278 | New Includes |
11279 | (avr_init_builtins, avr_expand_builtin, | |
11280 | avr_expand_delay_cycles, avr_expand_unop_builtin, | |
11281 | avr_expand_binop_builtin ): New functions. | |
11282 | (avr_builtin_id): New enum | |
11283 | (struct avr_builtin_description): New struct | |
11284 | (bdesc_1arg, bdesc_2arg): New arrays describing some RTL builtins. | |
11285 | (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define. | |
5e60198b | 11286 | |
43ea6502 | 11287 | * config/avr/avr.md (UNSPEC_FMUL, UNSPEC_FMULS, UNSPEC_FMULSU, |
5e60198b | 11288 | UNSPECV_ENABLE_IRQS, UNSPECV_NOP, UNSPECV_SLEEP, UNSPECV_WDR, |
43ea6502 AS |
11289 | UNSPECV_DELAY_CYCLES): new enumeration values |
11290 | (UNSPEC_SEI, UNSPEC_CLI): Remove enumeration values | |
11291 | ("enable_interrupt"): Use UNSPECV_ENABLE_IRQS | |
11292 | ("disable_interrupt"): Use UNSPECV_ENABLE_IRQS | |
11293 | ("*rotlqi3_4"): rename insn to "rotlqi3_4" | |
11294 | ("delay_cycles_1", "delay_cycles_2", "delay_cycles_3", | |
11295 | "delay_cycles_4", "nopv", "sleep", "wdr", "fmul", "fmuls", | |
11296 | "fmulsu"): New insns | |
5e60198b | 11297 | |
43ea6502 AS |
11298 | * config/avr/avr-c.c: fix line endings |
11299 | (avr_cpu_cpp_builtins): New builtin defines: __BUILTIN_AVR_NOP, | |
11300 | __BUILTIN_AVR_SEI, __BUILTIN_AVR_CLI, __BUILTIN_AVR_WDR, | |
11301 | __BUILTIN_AVR_SLEEP, __BUILTIN_AVR_SWAP, | |
11302 | __BUILTIN_AVR_DELAY_CYCLES, __BUILTIN_AVR_FMUL, | |
11303 | __BUILTIN_AVR_FMULS, __BUILTIN_AVR_FMULSU. | |
5e60198b | 11304 | |
43ea6502 AS |
11305 | * doc/extend.texi (AVR Built-in Functions): New node |
11306 | (Target Builtins): Add documentation of AVR | |
11307 | built-in functions. | |
11308 | ||
8a9b55f3 GJL |
11309 | 2011-04-14 Georg-Johann Lay <avr@gjlay.de> |
11310 | ||
11311 | PR target/44643 | |
11312 | * config/avr/avr.c (avr_insert_attributes): Leave TREE_READONLY | |
11313 | alone. Error if non-const data has attribute progmem. | |
11314 | ||
94bd1825 NF |
11315 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
11316 | ||
11317 | * tree.h (struct tree_constructor): Include tree_typed instead of | |
11318 | tree_common. | |
11319 | * tree.c (initialize_tree_contains_struct): Mark TS_CONSTRUCTOR as | |
11320 | TS_TYPED instead of TS_COMMON. | |
11321 | ||
5e60198b | 11322 | 2011-04-13 Uros Bizjak <ubizjak@gmail.com> |
81b1e7eb UB |
11323 | |
11324 | * config/i386/sse.md (*sse2_uavgv16qi3): Merge with *avx_uavgv16qi3. | |
11325 | (*sse2_uavgv8hi3): Merge with *avx_uavgv8hi3. | |
11326 | (sse2_psadbw): Merge with *avx_psadbw. | |
11327 | (ssse3_phaddwv8hi3): Merge with *avx_phaddwv8hi3. | |
11328 | (ssse3_phadddv4si3): Merge with *avx_phadddv4si3. | |
11329 | (ssse3_phaddswv8hi3): Merge with *avx_phaddswv8hi3. | |
11330 | (ssse3_phsubwv8hi3): Merge with *avx_phsubwv8hi3. | |
11331 | (ssse3_phsubdv4si3): Merge with *avx_phsubdv4si3. | |
11332 | (ssse3_phsubswv8hi3): Merge with *avx_phsubswv8hi3. | |
11333 | (ssse3_pmaddubsw128): Merge with *avx_pmaddubsw128. | |
11334 | (*ssse3_pmulhrswv8hi3): Merge with *avx_pmulhrswv8hi3. | |
11335 | (ssse3_pshufbv16qi3): Merge with *avx_pshufbv16qi3. | |
11336 | (ssse3_psign<mode>3): Merge with *avx_psign<mode>3. | |
11337 | (ssse3_palignrti): Merge with *avx_palignrti. | |
11338 | ||
4b1a4694 NF |
11339 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
11340 | ||
11341 | * tree-flow.h (struct gimple_df): Make free_ssanames a VEC. | |
11342 | * tree-ssanames.c (fini_ssanames): VEC_free it. | |
11343 | (make_ssa_name_fn): Update for VECness of free_ssanames. | |
11344 | (release_ssa_name, release_dead_ssa_names): Likewise. | |
11345 | * tree.h (struct tree_ssa_name): Include tree_typed instead of | |
11346 | tree_common. | |
11347 | * tree.c (initialize_tree_contains_struct): Mark TS_SSA_NAME as | |
11348 | TS_TYPED instead of TS_COMMON. | |
11349 | ||
4da3b811 NF |
11350 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
11351 | ||
11352 | * postreload-gcse.c (gcse_after_reload_main): Add calls to | |
11353 | statistics_counter_event. | |
11354 | * tree-ssa-copyrename.c (stats): Define. | |
11355 | (rename_ssa_copies): Count coalesced SSA_NAMEs. Add call to | |
11356 | statistics_counter_event. | |
11357 | * tree-ssa-math-opts.c (reciprocal_stats, sincos_stats): Define. | |
11358 | (bswap_stats, widen_mul_stats): Define. | |
11359 | (insert_reciprocals): Increment rdivs_inserted. | |
11360 | (execute_cse_reciprocals): Zeroize reciprocal_stats. Increment | |
11361 | rfuncs_inserted. Add calls to statistics_counter_event. | |
11362 | (execute_cse_sincos_1): Increment inserted. | |
11363 | (execute_cse_sincos): Zeroize sincos_stats. Add call to | |
11364 | statistics_counter_event. | |
11365 | (execute_optimize_bswap): Zeroize bswap_stats. Increment fields | |
11366 | of bswap_stats. Add calls to statistics_counter_event. | |
11367 | (convert_mult_to_widen): Increment widen_mults_inserted. | |
11368 | (convert_plusminus_to_widen): Increment maccs_inserted. | |
11369 | (convert_mult_to_fma): Increment fmas_inserted. | |
11370 | (execute_optimize_widening_mul): Zeroize widen_mul_stats. Add | |
11371 | calls to statistics_counter_event. | |
11372 | ||
89fa552a VM |
11373 | 2011-04-13 Vladimir Makarov <vmakarov@redhat.com> |
11374 | ||
11375 | PR rtl-optimization/48455 | |
11376 | * ira-costs.c (find_costs_and_classes): Use i_mem_cost instead of | |
11377 | `temp_costs->mem_cost'. | |
11378 | ||
03dfc36d JH |
11379 | 2011-04-13 Jan Hubicka <jh@suse.cz> |
11380 | ||
11381 | * ipa-inline.h: New file. | |
11382 | * ipa-inline-analysis.c: New file. Broken out of ... | |
11383 | * ipa-inline.c: ... this file; update toplevel comment; | |
11384 | include ipa-inline.h | |
11385 | (inline_summary): Move to ipa-inline.h | |
11386 | (cgraph_estimate_edge_time): Rename to estimate_edge_time; move to | |
11387 | ipa-inline-analysis.c. | |
7d4f8d02 EB |
11388 | (cgraph_estimate_time_after_inlining): Rename to |
11389 | estiamte_time_after_inlining; move to ipa-inline-analysis.c | |
03dfc36d JH |
11390 | (cgraph_estimate_edge_growth): Move to ipa-inline-analysis.c; rename |
11391 | to estimate_edge_growth. | |
11392 | (cgraph_estimate_size_after_inlining): Move to ipa-inline-analysis.c; | |
11393 | rename to estimate_size_after_inlining. | |
11394 | (cgraph_mark_inline_edge): Update for new naming convention. | |
11395 | (cgraph_check_inline_limits): Likewise. | |
11396 | (cgraph_edge_badness): Likewise. | |
11397 | (cgraph_decide_recursive_inlining): Likewise. | |
11398 | (cgraph_decide_inlining_of_small_functions): Likewise. | |
11399 | (cgraph_decide_inlining_incrementally): Likewise. | |
7d4f8d02 EB |
11400 | (cgraph_estimate_growth): Rename to estimate_growth; move to |
11401 | ipa-inline-analysis.c. | |
03dfc36d JH |
11402 | (eliminated_by_inlining_prob): Move to ipa-inline-analysis.c. |
11403 | (estimate_function_body_sizes): Move to ipa-inline-analysis.c. | |
11404 | (compute_inline_parameters): Likewise. | |
11405 | (compute_inline_parameters_for_current): Likewise. | |
11406 | (pass_inline_parameters): Likewise. | |
11407 | (inline_indirect_intraprocedural_analysis): Likewise. | |
11408 | (analyze_function): Rename to inline_analyze_function; likewise. | |
11409 | (add_new_function): Move to ipa-inline-analysis.c. | |
11410 | (inline_generate_summary): Likewise. | |
11411 | (inline_read_summary): Likewise. | |
11412 | (inline_write_summary): Likewise. | |
11413 | * Makefile.in (ipa-inline-analysis.c): New file. | |
11414 | ||
7673c962 RO |
11415 | 2011-04-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11416 | ||
11417 | * configure.ac (gcc_cv_as_sparc_gotdata_op): Remove GNU ld check. | |
11418 | * configure: Regenerate. | |
11419 | ||
9698252f NF |
11420 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
11421 | ||
11422 | * tree.h (struct tree_int_cst, struct real_value): Include tree_typed | |
11423 | instead of tree_common. | |
11424 | (struct tree_fixed_cst, struct tree_string, struct tree_complex): | |
11425 | Likewise. | |
11426 | * tree.c (initialize_tree_contains_struct): Mark such nodes as being | |
11427 | TS_TYPED rather than TS_COMMON. | |
11428 | * print-tree.c (print_node) [STRING_CST]: Don't print TREE_CHAIN. | |
11429 | ||
3a7bfdd5 GJL |
11430 | 2011-04-01 Georg-Johann Lay <avr@gjlay.de> |
11431 | ||
11432 | PR target/45263 | |
86d83530 GJL |
11433 | * config/avr/libgcc.S (__do_global_ctors, __do_global_dtors): Don't use |
11434 | r20 around calls of __tablejump_elpm__ | |
3a7bfdd5 | 11435 | |
20790697 JJ |
11436 | 2011-04-13 Jakub Jelinek <jakub@redhat.com> |
11437 | ||
11438 | PR middle-end/48591 | |
11439 | * omp-low.c (expand_omp_atomic_fetch_op): Return false if decl is | |
11440 | NULL. | |
11441 | (expand_omp_atomic_pipeline): Return false if cmpxchg is NULL. | |
11442 | ||
094d7661 BS |
11443 | 2011-04-13 Bernd Schmidt <bernds@codesourcery.com> |
11444 | ||
11445 | * dwarf2out.c (struct dw_cfi_struct): Remove member dw_cfi_next. | |
11446 | (dw_cfi_ref): Add DEF_VEC_P and some DEF_VEC_ALLOC_Ps. | |
11447 | (cfi_vec): New typedef. | |
11448 | (struct dw_fde_struct): Make dw_fde_cfi a cfi_vec. Replace | |
11449 | dw_fde_switch_cfi with an integer dw_fde_switch_cfi_index. | |
11450 | (cie_cfi_vec): New static variable. | |
11451 | (cie_cfi_head): Delete. | |
11452 | (add_cfi): Accept a cfi_vec * as first argument. All callers and | |
11453 | declaration changed. Use vector rather than list operations. | |
11454 | (new_cfi): Don't initialize the dw_cfi_next field. | |
11455 | (add_fde_cfi): Allocate cie_cfi_vec if necessary. Use vector | |
11456 | rather than list operations. | |
11457 | (lookup_cfa): Use vector rather than list operations. | |
11458 | (output_cfis): New argument upto. Accept a cfi_vec rather than | |
11459 | a dw_cfi_ref list head as argument. All callers changed. | |
11460 | Iterate over the vector using upto as a maximum index. | |
11461 | (output_all_cfis): New static function. | |
11462 | (output_fde): Use vector rather than list operations. Use the | |
11463 | new upto argument for output_cfis rather than manipulating a | |
11464 | list. | |
11465 | (dwarf2out_begin_prologue): Change initializations to match | |
11466 | new struct members. | |
11467 | (dwarf2out_switch_text_section): Initialize dw_fde_switch_cfi_index | |
11468 | from the vector length rather than searching for the end of a list. | |
11469 | Use output_all_cfis. | |
11470 | (convert_cfa_to_fb_loc_list): Use vector rather than list operations. | |
11471 | ||
673a5740 NC |
11472 | 2011-04-13 Nick Clifton <nickc@redhat.com> |
11473 | ||
11474 | * config/rx/rx.md (movmemsi): Do not use this pattern when | |
11475 | volatile pointers are involved. | |
11476 | ||
1ee8b298 UB |
11477 | 2011-04-13 Uros Bizjak <ubizjak@gmail.com> |
11478 | ||
11479 | * config/i386/sse.md (pinsrbits): Remove. | |
11480 | (sse2_packsswb): Merge with *avx_packsswb. | |
11481 | (sse2_packssdw): Merge with *avx_packssdw. | |
11482 | (sse2_packuswb): Merge with *avx_packuswb. | |
11483 | (vec_interleave_highv16qi): Merge with *avx_interleave_highv16qi. | |
11484 | (vec_interleave_lowv16qi): Merge with *avx_interleave_lowv16qi. | |
11485 | (vec_interleave_highv8hi): Merge with *avx_interleave_highv8hi. | |
11486 | (vec_interleave_lowv8hi): Merge with *avx_interleave_lowv8hi. | |
11487 | (vec_interleave_highv4si): Merge with *avx_interleave_highv4si. | |
11488 | (vec_interleave_lowv4si): Merge with *avx_interleave_lowv4si. | |
11489 | (*sse4_1_pinsrb): Merge with *avx_pinsr<ssevecsize>. | |
11490 | (*sse2_pinsrw): Merge with *avx_pinsr<ssevecsize>. | |
11491 | (*sse4_1_pinsrd): Merge with *avx_pinsr<ssevecsize>. | |
11492 | (*sse4_1_pinsrq): Merge with *avx_pinsrq. | |
11493 | (sse2_loadld): Merge with *avx_loadld. | |
11494 | (*vec_extractv2di_1_rex64): Merge with *vec_extractv2di_1_rex64_avx. | |
11495 | (*vec_extractv2di_1_sse2): Merge with *vec_extractv2di_1_avx. | |
11496 | (*vec_concatv2si_sse4_1): Merge with *vec_concatv2si_avx. | |
11497 | (*vec_concatv2di_rex64_sse4_1): Merge with *vec_concatv2di_rex64_avx. | |
11498 | (vec_concatv2di): Merge with *vec_concatv2di_avx. | |
11499 | ||
81f653d6 NF |
11500 | 2011-04-12 Nathan Froyd <froydnj@codesourcery.com> |
11501 | ||
11502 | * c-decl.c (union lang_tree_node): Check for TS_COMMON before | |
11503 | calling TREE_CHAIN. | |
11504 | * print-tree.c (print_node): Likewise. | |
11505 | * tree-inline.c (copy_tree_r): Likewise. | |
11506 | * c-lang.c (LANG_HOOKS_INIT_TS): Define. | |
11507 | * lto-streamer-in.c (lto_input_tree_pointers): Check for TS_TYPED | |
11508 | instead of TS_COMMON. | |
11509 | * lto-streamer-out.c (lto_output_tree_pointers): Likewise. | |
11510 | * tree.c (initialize_tree_contains_struct): Handle TS_TYPED. | |
11511 | (copy_node_stat): Zero TREE_CHAIN only if necessary. | |
11512 | (MARK_TS_BASE, MARK_TS_TYPED, MARK_TS_COMMON): Move these... | |
11513 | (MARK_TS_DECL_COMMON, MARK_TS_DECL_COMMON, MARK_TS_DECL_WRTL): | |
11514 | ...and these... | |
11515 | (MARK_TS_DECL_WITH_VIS, MARK_TS_DECL_NON_COMMON): ...and these... | |
11516 | * tree.h: ...here. | |
11517 | (TREE_CHAIN): Check for a TS_COMMON structure. | |
11518 | (TREE_TYPE): Check for a TS_TYPED structure. | |
11519 | ||
748f7574 | 11520 | 2011-04-12 Pat Haugen <pthaugen@us.ibm.com> |
ed940a4a PH |
11521 | |
11522 | * config/rs6000/rs6000.c (call_ABI_of_interest): Call | |
11523 | cgraph_get_create_node instead of cgraph_node. | |
11524 | ||
eb345401 NP |
11525 | 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com> |
11526 | ||
11527 | * c-parser.c (c_parser_initelt): Updated call to | |
11528 | objc_build_message_expr. | |
11529 | (c_parser_postfix_expression): Likewise. | |
11530 | ||
a6c46762 KT |
11531 | 2011-04-12 Kai Tietz <ktietz@redhat.com> |
11532 | ||
11533 | * config/i386/mingw32.h (TARGET_SUBTARGET_DEFAULT): Add | |
11534 | MASK_MS_BITFIELD_LAYOUT bit. | |
11535 | ||
b4ccfed9 JJ |
11536 | 2011-04-12 Jakub Jelinek <jakub@redhat.com> |
11537 | ||
11538 | * combine.c (update_cfg_for_uncondjump): Instead of testing at_end | |
11539 | assert it is always true. | |
11540 | (try_combine): Don't call update_cfg_for_uncondjump for noop non-jump | |
11541 | moves. | |
11542 | ||
0d8a2528 NP |
11543 | 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com> |
11544 | ||
11545 | * c-parser.c (c_lex_one_token): Rewritten conditional used when | |
11546 | compiling Objective-C to be more efficient. | |
11547 | ||
06bd234a AF |
11548 | 2011-04-12 Axel Freyn <axel-freyn@gmx.de> |
11549 | ||
11550 | * opts-common.c (decode_cmdline_options_to_array): Remove variable | |
11551 | argv_copied. | |
11552 | ||
28569ac3 RS |
11553 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
11554 | ||
11555 | * recog.h, genoutput.c, optabs.c: Revert last patch. | |
11556 | ||
ae59e00d RR |
11557 | 2011-04-12 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
11558 | ||
81b1e7eb UB |
11559 | PR target/48090 |
11560 | * config/arm/arm.md (*arm_negdi2): Fix early clobber constraints. | |
ae59e00d | 11561 | |
cff1b7e0 RS |
11562 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
11563 | ||
11564 | * recog.h (insn_operand_data): Add an "allows_mem" field. | |
11565 | * genoutput.c (output_operand_data): Initialize it. | |
11566 | * optabs.c (maybe_legitimize_operand_same_code): New function. | |
11567 | (maybe_legitimize_operand): Use it when matching the original | |
11568 | op->value. | |
11569 | ||
77059241 RS |
11570 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
11571 | ||
11572 | * genpreds.c (process_define_predicate): Move most processing | |
11573 | to gensupport.c. Continue to validate the expression. | |
11574 | * genrecog.c (did_you_mean_codes, compute_predicate_codes) | |
11575 | (process_define_predicate): Move processing to gensupport.c. | |
11576 | (main): Remove DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE cases. | |
11577 | * gensupport.c (did_you_mean_codes): Moved from genrecog.c. | |
11578 | (compute_predicate_codes): Moved from genrecog.c. Add lineno | |
11579 | argument. | |
11580 | (valid_predicate_name_p): New function, split out from old | |
11581 | genpreds.c:process_define_predicate. | |
11582 | (process_define_predicate): New function, combining code from | |
11583 | old genpreds.c and genrecog.c functions. | |
11584 | (process_rtx): Call it for DEFINE_PREDICATE and | |
11585 | DEFINE_SPECIAL_PREDICATE. | |
11586 | ||
6308e208 RS |
11587 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
11588 | ||
11589 | * config/arm/arm.c (arm_print_operand): Use MEM_SIZE to get the | |
11590 | size of a '%A' memory reference. | |
11591 | (T_DREG, T_QREG): New neon_builtin_type_bits. | |
11592 | (arm_init_neon_builtins): Assert that the load and store operands | |
11593 | are neon_struct_operands. | |
11594 | (locate_neon_builtin_icode): Provide the neon_builtin_type_bits. | |
11595 | (NEON_ARG_MEMORY): New builtin_arg. | |
11596 | (neon_dereference_pointer): New function. | |
11597 | (arm_expand_neon_args): Add a neon_builtin_type_bits argument. | |
11598 | Handle NEON_ARG_MEMORY. | |
11599 | (arm_expand_neon_builtin): Update after above interface changes. | |
11600 | Use NEON_ARG_MEMORY for loads and stores. | |
11601 | * config/arm/predicates.md (neon_struct_operand): New predicate. | |
11602 | * config/arm/iterators.md (V_two_elem): Tweak formatting. | |
11603 | (V_three_elem): Use BLKmode for accesses that have no associated mode. | |
11604 | (V_four_elem): Tweak formatting. | |
11605 | * config/arm/neon.md (neon_vld1<mode>, neon_vld1_dup<mode>) | |
11606 | (neon_vst1_lane<mode>, neon_vst1<mode>, neon_vld2<mode>) | |
11607 | (neon_vld2_lane<mode>, neon_vld2_dup<mode>, neon_vst2<mode>) | |
11608 | (neon_vst2_lane<mode>, neon_vld3<mode>, neon_vld3_lane<mode>) | |
11609 | (neon_vld3_dup<mode>, neon_vst3<mode>, neon_vst3_lane<mode>) | |
11610 | (neon_vld4<mode>, neon_vld4_lane<mode>, neon_vld4_dup<mode>) | |
11611 | (neon_vst4<mode>): Replace pointer operand with a memory operand. | |
11612 | Use %A in the output template. | |
11613 | (neon_vld3qa<mode>, neon_vld3qb<mode>, neon_vst3qa<mode>) | |
11614 | (neon_vst3qb<mode>, neon_vld4qa<mode>, neon_vld4qb<mode>) | |
11615 | (neon_vst4qa<mode>, neon_vst4qb<mode>): Likewise, but halve | |
11616 | the width of the memory access. Remove post-increment. | |
11617 | * config/arm/neon-testgen.ml: Allow addresses to have an alignment. | |
11618 | ||
e5db8f2f NC |
11619 | 2011-04-12 Nick Clifton <nickc@redhat.com> |
11620 | ||
11621 | * config/v850/v850.c (expand_prologue): Do not use the CALLT | |
11622 | instruction for interrupt handlers if the target is the basic V850 | |
11623 | architecture. | |
11624 | (expand_epilogue): Likewise. | |
11625 | ||
74f091d6 JJ |
11626 | 2011-04-12 Jakub Jelinek <jakub@redhat.com> |
11627 | ||
11628 | PR rtl-optimization/48549 | |
11629 | * combine.c (propagate_for_debug): Also stop after BB_END of | |
11630 | this_basic_block. Process LAST and just stop processing after it. | |
11631 | (combine_instructions): If last_combined_insn has been deleted, | |
11632 | set last_combined_insn to its PREV_INSN. | |
11633 | ||
f20ca725 RG |
11634 | 2011-04-12 Richard Guenther <rguenther@suse.de> |
11635 | ||
11636 | PR tree-optimization/46076 | |
11637 | * gimple.h (struct gimple_statement_call): Add fntype field. | |
11638 | (gimple_call_fntype): Adjust. | |
11639 | (gimple_call_set_fntype): New function. | |
11640 | * gimple.c (gimple_build_call_1): Set the call function type. | |
11641 | * gimplify.c (gimplify_call_expr): Preserve the function | |
11642 | type the frontend used for the call. | |
11643 | (gimplify_modify_expr): Likewise. | |
11644 | * lto-streamer-in.c (input_gimple_stmt): Input the call stmts | |
11645 | function type. | |
11646 | * lto-streamer-out.c (output_gimple_stmt): Output the call stmts | |
11647 | function type. | |
11648 | * tree-ssa.c (useless_type_conversion_p): Function pointer | |
11649 | conversions are useless. | |
11650 | ||
a358e188 MJ |
11651 | 2011-04-12 Martin Jambor <mjambor@suse.cz> |
11652 | ||
11653 | * cgraph.h (cgraph_node): Remove function declaration. | |
11654 | (cgraph_create_node): Declare. | |
11655 | (cgraph_get_create_node): Likewise. | |
11656 | * cgraph.c (cgraph_create_node): Renamed to cgraph_create_node_1. | |
11657 | Updated all callers. | |
11658 | (cgraph_node): Renamed to cgraph_create_node, assert that a node for | |
11659 | the decl does not already exist. Call cgraph_get_create_node instead | |
11660 | of cgraph_node. | |
11661 | (cgraph_get_create_node): New function. | |
11662 | (cgraph_same_body_alias): Update comment. | |
11663 | (cgraph_set_call_stmt): Call cgraph_get_node instead of cgraph_node, | |
11664 | assert it does not return NULL. | |
11665 | (cgraph_update_edges_for_call_stmt): Likewise. | |
11666 | (cgraph_clone_edge): Likewise. | |
11667 | (cgraph_create_virtual_clone): Likewise. | |
11668 | (cgraph_update_edges_for_call_stmt_node): Call cgraph_get_create_node | |
11669 | instead of cgraph_node. | |
11670 | (cgraph_add_new_function): Call cgraph_create_node or | |
11671 | cgraph_get_create_node instead of cgraph_node. | |
11672 | * cgraphbuild.c (record_reference): Call cgraph_get_create_node | |
11673 | instead of cgraph_node. | |
11674 | (record_eh_tables): Likewise. | |
11675 | (mark_address): Likewise. | |
11676 | (mark_load): Likewise. | |
11677 | (build_cgraph_edges): Call cgraph_get_create_node instead | |
11678 | of cgraph_node. | |
11679 | (rebuild_cgraph_edges): Likewise. | |
11680 | * cgraphunit.c (cgraph_finalize_function): Call cgraph_get_create_node | |
11681 | instead of cgraph_node. | |
11682 | (cgraph_copy_node_for_versioning): Call cgraph_create_node instead of | |
11683 | cgraph_node. | |
11684 | * lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Call | |
11685 | cgraph_create_node instead of cgraph_node. | |
11686 | * c-decl.c (finish_function): Call cgraph_get_create_node instead | |
11687 | of cgraph_node. | |
11688 | * lto-cgraph.c (input_node): Likewise. | |
11689 | * lto-streamer-in.c (input_function): Likewise. | |
11690 | * varasm.c (mark_decl_referenced): Likewise. | |
11691 | (assemble_alias): Likewise. | |
11692 | ||
fe660d7b MJ |
11693 | 2011-04-12 Martin Jambor <mjambor@suse.cz> |
11694 | ||
11695 | * tree-inline.c (tree_function_versioning): Call cgraph_get_node | |
11696 | instead of cgraph_node and assert it does not return NULL. | |
11697 | * lto-streamer-in.c (lto_read_body): Likewise. | |
11698 | * omp-low.c (new_omp_context): Likewise. | |
11699 | (create_task_copyfn): Likewise. | |
11700 | * tree-emutls.c (lower_emutls_function_body): Likewise. | |
11701 | * matrix-reorg.c (transform_allocation_sites): Likewise. | |
11702 | ||
bae5cddf JJ |
11703 | 2011-04-12 Jakub Jelinek <jakub@redhat.com> |
11704 | ||
11705 | PR c/48552 | |
11706 | * c-typeck.c (build_asm_expr): Error out on attempts to use | |
11707 | void type outputs or inputs for constraints that allow reg or | |
11708 | don't allow memory. | |
11709 | ||
06eb52ca CLT |
11710 | 2011-04-11 Chung-Lin Tang <cltang@codesourcery.com> |
11711 | Richard Earnshaw <rearnsha@arm.com> | |
11712 | ||
11713 | PR target/48250 | |
11714 | * config/arm/arm.c (arm_legitimize_reload_address): Update cases | |
11715 | to use sign-magnitude offsets. Reject unsupported unaligned | |
11716 | cases. Add detailed description in comments. | |
11717 | * config/arm/arm.md (reload_outdf): Disable for ARM mode; change | |
11718 | condition from TARGET_32BIT to TARGET_ARM. | |
11719 | ||
648a616b NF |
11720 | 2011-04-11 Nathan Froyd <froydnj@codesourcery.com> |
11721 | ||
11722 | * tree.h (struct typed_tree): New. | |
11723 | (struct tree_common): Include it instead of tree_base. | |
11724 | (TREE_TYPE): Update for new location of type field. | |
11725 | (TYPE_USER_ALIGN, TYPE_PACKED): Refer to base field directly. | |
11726 | (DECL_USER_ALIGN, DECL_PACKED): Likewise. | |
11727 | (union tree_node): Add typed field. | |
11728 | * treestruct.def (TS_TYPED): New. | |
11729 | * lto-streamer.c (check_handled_ts_structures): Handle it. | |
11730 | * tree.c (MARK_TS_TYPED): New macro. | |
11731 | (MARK_TS_COMMON): Call it instead of MARK_TS_BASE. | |
11732 | ||
1e6d1da0 EB |
11733 | 2011-04-11 Eric Botcazou <ebotcazou@adacore.com> |
11734 | ||
11735 | * cfghooks.c (redirect_edge_and_branch_force): Localize variable. | |
11736 | (force_nonfallthru): Do not alter the loop nest if no basic block | |
11737 | was created. | |
11738 | ||
11739 | 2011-04-11 Uros Bizjak <ubizjak@gmail.com> | |
d8700b1c UB |
11740 | |
11741 | * config/i386/sse.md (VI): New mode iterator. | |
11742 | (SSEMODEI): Remove. | |
11743 | (AVX256MODEI): Ditto. | |
11744 | (AVXMODEF4P): Ditto. | |
11745 | (avxvecpsmode): Ditto. | |
11746 | (one_cmpl<mode>2): Enable for TARGET_SSE. Use VI mode iterator. | |
11747 | (sse2_andnot<mode>3): New expander. | |
11748 | (*andnot<mode>3): Merge with *sse2_andnot<mode>3 and | |
11749 | *avx_andnot<mode>3. Enable for TARGET_SSE. Use VI mode iterator. | |
11750 | (<any_logic:code><mode>3): Use VI mode iterator. | |
11751 | (*<any_logic:code><mode>3): Merge with *sse2_<any_logic:code><mode>3 | |
11752 | and *avx_<any_logic:code><mode>3. Use VI mode iterator. | |
11753 | (*andnottf3): Handle AVX three-operand constraints. | |
11754 | (*<any_logic:code>tf3): Handle AVX three-operand constraints. | |
11755 | ||
b1372d5d | 11756 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
d8700b1c | 11757 | Robert Millan <rmh@gnu.org> |
b1372d5d JM |
11758 | |
11759 | * config.gcc (x86_64-*-kfreebsd*-gnu): Use i386/kfreebsd-gnu.h. | |
11760 | * config/i386/kfreebsd-gnu.h (GNU_USER_DYNAMIC_LINKER32, | |
11761 | GNU_USER_DYNAMIC_LINKER64): Define. | |
11762 | (REG_NAME): Don't undefine. | |
11763 | (MD_UNWIND_SUPPORT): Undefine. | |
11764 | * config/i386/knetbsd-gnu.h (GNU_USER_LINK_EMULATION): Define. | |
11765 | (REG_NAME): Don't undefine. | |
11766 | (MD_UNWIND_SUPPORT): Undefine. | |
d8700b1c | 11767 | * config/i386/kopensolaris-gnu.h (GNU_USER_LINK_EMULATION): Define. |
b1372d5d | 11768 | |
761c0c6e JM |
11769 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
11770 | ||
11771 | * config/i386/gnu.h (GNU_USER_LINK_EMULATION): Define. | |
11772 | (CPP_SPEC, CC1_SPEC, ENDFILE_SPEC): Remove. | |
11773 | ||
26e0228f XDL |
11774 | 2011-04-11 Xinliang David Li <davidxl@google.com> |
11775 | ||
11776 | * value-profile.c (check_ic_target): New function. | |
11777 | (gimple_ic_transform): Sanity check indirect call target. | |
11778 | * gimple-low.c (gimple_check_call_args): Interface change. | |
11779 | (gimple_check_call_matching_types): New function. | |
11780 | * tree-inline.c (tree_can_inline_p): Call new function. | |
6075765d BS |
11781 | |
11782 | 2011-04-11 Basile Starynkevitch <basile@starynkevitch.net> | |
11783 | ||
11784 | * Makefile.in (PLUGIN_HEADERS): Add gimple-pretty-print.h | |
11785 | tree-pretty-print.h & realmpfr.h. | |
11786 | ||
a58dfa49 VM |
11787 | 2011-04-11 Vladimir Makarov <vmakarov@redhat.com> |
11788 | ||
11789 | PR middle-end/48464 | |
11790 | * ira.c (setup_pressure_classes): Fix typo in loop condition. | |
11791 | (setup_allocno_and_important_classes): Ditto. | |
11792 | ||
107fd1c1 JM |
11793 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
11794 | ||
11795 | * config/alpha/linux-elf.h (LINUX_DYNAMIC_LINKER): Rename to | |
11796 | GNU_USER_DYNAMIC_LINKER. | |
11797 | * config/arm/linux-eabi.h (TARGET_OS_CPP_BUILTINS): Change | |
11798 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11799 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Change | |
11800 | LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. | |
11801 | (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to | |
11802 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11803 | * config/bfin/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
11804 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11805 | * config/bfin/uclinux.h (TARGET_OS_CPP_BUILTINS): Change | |
11806 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11807 | * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Change | |
11808 | LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. | |
11809 | (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to | |
11810 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11811 | * config/frv/linux.h (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
11812 | GNU_USER_DYNAMIC_LINKER. | |
11813 | * config/gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
11814 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11815 | * config/i386/gnu-user.h (TARGET_OS_CPP_BUILTINS): Change | |
11816 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11817 | * config/i386/gnu-user64.h (TARGET_OS_CPP_BUILTINS): Change | |
11818 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11819 | * config/i386/linux.h (GNU_USER_DYNAMIC_LINKER): Remove. | |
11820 | * config/i386/linux64.h (GNU_USER_DYNAMIC_LINKER32, | |
11821 | GNU_USER_DYNAMIC_LINKER64): Remove. | |
11822 | * config/ia64/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
11823 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11824 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
11825 | GNU_USER_DYNAMIC_LINKER. | |
11826 | * config/kfreebsd-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
11827 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11828 | * config/knetbsd-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
11829 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11830 | * config/kopensolaris-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename | |
11831 | to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11832 | * config/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
11833 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11834 | (LINUX_DYNAMIC_LINKER): Rename to GNU_USER_DYNAMIC_LINKER. | |
11835 | (LINUX_DYNAMIC_LINKER32): Rename to GNU_USER_DYNAMIC_LINKER32. | |
11836 | (LINUX_DYNAMIC_LINKER64): Rename to GNU_USER_DYNAMIC_LINKER64. | |
11837 | * config/lm32/uclinux-elf.h (TARGET_OS_CPP_BUILTINS): Change | |
11838 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11839 | * config/m32r/linux.h (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
11840 | GNU_USER_DYNAMIC_LINKER. | |
11841 | (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to | |
11842 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11843 | * config/m68k/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
11844 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11845 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
11846 | GNU_USER_DYNAMIC_LINKER. | |
11847 | * config/m68k/uclinux.h (TARGET_OS_CPP_BUILTINS): Change | |
11848 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11849 | * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
11850 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11851 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
11852 | GNU_USER_DYNAMIC_LINKER. | |
11853 | * config/mips/linux64.h (LINUX_DYNAMIC_LINKERN32): Rename to | |
11854 | GNU_USER_DYNAMIC_LINKERN32. | |
11855 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKERN32 to | |
11856 | GNU_USER_DYNAMIC_LINKERN32. Change LINUX_DYNAMIC_LINKER64 to | |
11857 | GNU_USER_DYNAMIC_LINKER64. Change LINUX_DYNAMIC_LINKER32 to | |
11858 | GNU_USER_DYNAMIC_LINKER32. | |
11859 | * config/mn10300/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
11860 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11861 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
11862 | GNU_USER_DYNAMIC_LINKER. | |
11863 | * config/moxie/uclinux.h (TARGET_OS_CPP_BUILTINS): Change | |
11864 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11865 | * config/pa/pa-linux.h (TARGET_OS_CPP_BUILTINS): Change | |
11866 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
d8700b1c | 11867 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. |
107fd1c1 JM |
11868 | * config/rs6000/linux64.h (LINUX_DYNAMIC_LINKER32): Rename to |
11869 | GNU_USER_DYNAMIC_LINKER32. | |
11870 | (LINUX_DYNAMIC_LINKER64): Rename to GNU_USER_DYNAMIC_LINKER64. | |
11871 | * config/rs6000/sysv4.h (LINUX_DYNAMIC_LINKER): Rename to | |
11872 | GNU_USER_DYNAMIC_LINKER. | |
11873 | * config/s390/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
11874 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11875 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER32 to | |
11876 | GNU_USER_DYNAMIC_LINKER32. Change LINUX_DYNAMIC_LINKER64 to | |
11877 | GNU_USER_DYNAMIC_LINKER64. | |
11878 | * config/sh/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
11879 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11880 | (SUBTARGET_LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
11881 | GNU_USER_DYNAMIC_LINKER. | |
11882 | * config/sparc/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
11883 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11884 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
11885 | GNU_USER_DYNAMIC_LINKER. | |
11886 | * config/sparc/linux64.h (TARGET_OS_CPP_BUILTINS): Change | |
11887 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11888 | (LINK_ARCH32_SPEC): Change LINUX_DYNAMIC_LINKER32 to | |
11889 | GNU_USER_DYNAMIC_LINKER32. | |
11890 | (LINK_ARCH64_SPEC): Change LINUX_DYNAMIC_LINKER64 to | |
11891 | GNU_USER_DYNAMIC_LINKER64. | |
11892 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER64 to | |
11893 | GNU_USER_DYNAMIC_LINKER64. | |
11894 | * config/vax/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
11895 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
11896 | * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
11897 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
d8700b1c | 11898 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. |
107fd1c1 | 11899 | |
e24609cf JM |
11900 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
11901 | ||
11902 | * config/i386/gnu-user.h: Copy from linux.h. Update comments. | |
11903 | (LINK_EMULATION, GLIBC_DYNAMIC_LINKER): Remove. | |
11904 | (SUBTARGET_EXTRA_SPECS): Use GNU_USER_LINK_EMULATION and | |
11905 | GNU_USER_DYNAMIC_LINKER. | |
11906 | (MD_UNWIND_SUPPORT, REG_NAME): Remove. | |
11907 | * config/i386/gnu-user64.h: Copy from linux64.h. Update comments. | |
11908 | (GLIBC_DYNAMIC_LINKER32, GLIBC_DYNAMIC_LINKER64): Remove. | |
11909 | (LINK_SPEC): Use GNU_USER_DYNAMIC_LINKER32 and | |
11910 | GNU_USER_DYNAMIC_LINKER64. | |
11911 | (MD_UNWIND_SUPPORT, REG_NAME): Remove. | |
11912 | * config/i386/kfreebsd-gnu.h (LINK_EMULATION): Change to | |
11913 | GNU_USER_LINK_EMULATION. | |
11914 | * config/i386/linux.h (TARGET_ASM_FILE_START_FILE_DIRECTIVE, | |
11915 | DEFAULT_PCC_STRUCT_RETURN, TARGET_TLS_DIRECT_SEG_REFS_DEFAULT, | |
11916 | ASM_COMMENT_START, DBX_REGISTER_NUMBER, NO_PROFILE_COUNTERS, | |
11917 | MCOUNT_NAME, SUBTARGET_FRAME_POINTER_REQUIRED, SIZE_TYPE, | |
11918 | PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE, TARGET_OS_CPP_BUILTINS, | |
11919 | CPP_SPEC, CC1_SPEC): Remove. | |
11920 | (LINK_EMULATION): Change to GNU_USER_LINK_EMULATION. | |
11921 | (GNU_USER_DYNAMIC_LINKER): Define. | |
11922 | (ASM_SPEC, SUBTARGET_EXTRA_SPECS, LINK_SPEC, ENDFILE_SPEC, | |
11923 | ASM_OUTPUT_ALIGNED_BSS, ASM_OUTPUT_MAX_SKIP_ALIGN, | |
11924 | ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX, CRT_GET_RFIB_DATA, | |
11925 | LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT, TF_SIZE, | |
11926 | TARGET_ASM_FILE_END, STACK_CHECK_MOVING_SP, | |
11927 | STACK_CHECK_STATIC_BUILTIN, TARGET_THREAD_SSP_OFFSET, | |
11928 | TARGET_CAN_SPLIT_STACK, TARGET_THREAD_SPLIT_STACK_OFFSET): Remove. | |
11929 | * config/i386/linux64.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC, | |
11930 | CC1_SPEC, DEFAULT_PCC_STRUCT_RETURN, | |
11931 | TARGET_TLS_DIRECT_SEG_REFS_DEFAULT, SPEC_32, SPEC_64, ASM_SPEC, | |
11932 | LINK_SPEC, ENDFILE_SPEC, MULTILIB_DEFAULTS, LIBGCC2_HAS_TF_MODE, | |
11933 | LIBGCC2_TF_CEXT, TF_SIZE, TARGET_ASM_FILE_END): Remove. | |
11934 | (GNU_USER_DYNAMIC_LINKER32, GNU_USER_DYNAMIC_LINKER64): Define. | |
11935 | (STACK_CHECK_MOVING_SP, STACK_CHECK_STATIC_BUILTIN, | |
11936 | TARGET_THREAD_SSP_OFFSET, TARGET_CAN_SPLIT_STACK, | |
11937 | TARGET_THREAD_SPLIT_STACK_OFFSET): Remove. | |
11938 | * config/i386/gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
11939 | GNU_USER_DYNAMIC_LINKER. | |
11940 | * config/kfreebsd-gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
11941 | GNU_USER_DYNAMIC_LINKER. Unconditionally undefine and redefine. | |
11942 | * config/knetbsd-gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
11943 | GNU_USER_DYNAMIC_LINKER. Unconditionally undefine and redefine. | |
11944 | * config/kopensolaris-gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
11945 | GNU_USER_DYNAMIC_LINKER. Unconditionally undefine and redefine. | |
11946 | * config.gcc (i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | | |
11947 | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* | | |
11948 | i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux* | | |
d8700b1c | 11949 | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu): Use the new headers. |
e24609cf | 11950 | |
b8ce4e94 KT |
11951 | 2011-04-11 Kai Tietz <ktietz@redhat.com> |
11952 | ||
11953 | PR target/9601 | |
11954 | PR target/11772 | |
11955 | * config/i386/i386-protos.h (ix86_get_callcvt): New prototype. | |
11956 | * config/i386/i386.c (ix86_handle_cconv_attribute): Adjust | |
11957 | comment. | |
11958 | (ix86_is_msabi_thiscall): Removed. | |
11959 | (ix86_is_type_thiscall): Likewise. | |
11960 | (ix86_get_callcvt): New function. | |
11961 | (ix86_comp_type_attributes): Simplify check. | |
11962 | (ix86_function_regparm): Use ix86_get_callcvt for calling | |
11963 | convention attribute checks. | |
11964 | (ix86_return_pops_args): Likewise. | |
11965 | (ix86_static_chain): Likewise. | |
11966 | (x86_this_parameter): Likewise. | |
11967 | (x86_output_mi_thunk): Likewise. | |
11968 | (ix86_function_type_abi): Optimize check for types without attributes. | |
11969 | * config/i386/i386.h (IX86_CALLCVT_CDECL, IX86_CALLCVT_STDCALL, | |
11970 | IX86_CALLCVT_FASTCALL, IX86_CALLCVT_THISCALL, IX86_CALLCVT_REGPARM, | |
11971 | IX86_CALLCVT_SSEREGPARM): New macros to represent calling convention | |
11972 | by flag-values. | |
11973 | (IX86_BASE_CALLCVT): Helper macro. | |
11974 | * config/i386/netware.c (i386_nlm_maybe_mangle_decl_assembler_name): | |
11975 | Use ix86_get_callcvt for calling convention attribute checks and avoid | |
11976 | symbol-decoration for stdcall in TARGET_RTD case. | |
11977 | * config/i386/winnt.c (i386_pe_maybe_mangle_decl_assembler_name): | |
11978 | Likewise. | |
11979 | (gen_stdcall_or_fastcall_suffix): Adjust ident and use DECL_ORIGIN | |
11980 | for declaration. | |
11981 | ||
798dd0ba UB |
11982 | 2011-04-11 Uros Bizjak <ubizjak@gmail.com> |
11983 | ||
11984 | * config/i386/sse.md (VI_128): New mode iterator. | |
11985 | (VI12_128): Rename from SSEMODE12. | |
11986 | (VI14_128): Rename from SSEMODE14. | |
11987 | (VI124_128): New mode iterator. | |
11988 | (VI24_128): Rename from SSEMODE248. | |
11989 | (VI248_128): Rename from SSEMODE248. | |
11990 | (SSEMODE124C8): Remove. | |
11991 | (*<plusminus_insn><mode>3): Merge with *avx_<plusminus_insn><mode>3. | |
11992 | (*sse2_<plusminus_insn><mode>3): Merge with | |
11993 | *avx_<plusminus_insn><mode>3. | |
11994 | (*mulv8hi3): Merge with *avx_mulv8hi3. | |
11995 | (*<s>mulv8hi3_highpart): Merge with *avx_<s>mulv8hi3_highpart. | |
11996 | (*sse2_umulv2siv2di3): Merge with *avx_umulv2siv2di3. | |
11997 | (*sse2_pmaddwd): Merge with *avx_pmaddwd. | |
11998 | (*sse4_1_mulv4si3): Merge with *avx_mulv4si3. | |
11999 | (ashr<mode>3): Merge with *avx_ashr<mode>3. | |
12000 | (lshr<mode>3): Merge with *avx_lshr<mode>3. | |
12001 | (ashl<mode>3): Merge with *avx_ashl<mode>3. | |
12002 | (sse2_ashlv1ti3): Merge with *avx_ashlv1ti3. | |
12003 | (sse2_lshrv1ti3): Merge with *avx_lshrv1ti3. | |
12004 | (*sse4_1_<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3. | |
12005 | (*<smaxmin:code>v8hi3): Ditto. | |
12006 | (*sse4_1_<umaxmin:code><mode>3): Merge with *avx_<umaxmin:code><mode>3. | |
12007 | (*<smaxmin:code>v16qi3): Ditto. | |
12008 | (*sse4_1_eqv2di3): Merge with *avx_eq<mode>3. | |
12009 | (*sse2_eq<mode>3): Ditto. | |
12010 | (*sse4_2_eqv2di3): Merge with *avx_gt<mode>3. | |
12011 | (*sse2_gt<mode>3): Ditto. | |
12012 | (vcondv2di): Split out of vcond<mode>. | |
12013 | (vconduv2di): Split out of vcondu<mode>. | |
12014 | ||
956011be RG |
12015 | 2011-04-11 Richard Guenther <rguenther@suse.de> |
12016 | ||
12017 | * gimplify.c (gimple_fold_indirect_ref): Check host_integerp | |
12018 | before calling tree_low_cst. | |
12019 | ||
e6313a78 RG |
12020 | 2011-04-11 Richard Guenther <rguenther@suse.de> |
12021 | ||
12022 | * stor-layout.c (layout_type): Compute all array index size operations | |
12023 | in the original type. | |
12024 | (initialize_sizetypes): Add comment. | |
12025 | (set_sizetype): Do not set TREE_TYPE of a TREE_VEC. | |
12026 | ||
e69d7376 JM |
12027 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
12028 | ||
12029 | * common.opt (Tbss=, Tdata=, Ttext=): New options. | |
12030 | ||
9f9ebcdf MJ |
12031 | 2011-04-11 Martin Jambor <mjambor@suse.cz> |
12032 | ||
12033 | * cgraph.c (cgraph_local_info): Call cgraph_get_node instead | |
12034 | of cgraph_node, handle NULL return value. | |
12035 | (cgraph_global_info): Likewise. | |
12036 | (cgraph_rtl_info): Likewise. | |
12037 | * tree-inline.c (estimate_num_insns): Likewise. | |
12038 | * gimplify.c (unshare_body): Likewise. | |
12039 | (unvisit_body): Likewise. | |
12040 | (gimplify_body): Likewise. | |
12041 | * predict.c (optimize_function_for_size_p): Likewise. | |
12042 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise. | |
12043 | (call_may_clobber_ref_p_1): Likewise. | |
12044 | * varasm.c (function_section_1): Likewise. | |
12045 | (assemble_start_function): Likewise. | |
12046 | ||
581985d7 MJ |
12047 | 2011-04-11 Martin Jambor <mjambor@suse.cz> |
12048 | ||
12049 | * except.c (set_nothrow_function_flags): Call cgraph_get_node instead | |
12050 | of cgraph_node. | |
12051 | * final.c (rest_of_clean_state): Likewise. | |
12052 | * gimple-iterator.c (update_call_edge_frequencies): Likewise. | |
12053 | * passes.c (pass_init_dump_file): Likewise. | |
12054 | (execute_all_ipa_transforms): Likewise. | |
12055 | (function_called_by_processed_nodes_p): Likewise. | |
12056 | * predict.c (maybe_hot_frequency_p): Likewise. | |
12057 | (probably_never_executed_bb_p): Likewise. | |
12058 | (compute_function_frequency): Likewise. | |
12059 | * tree-nested.c (check_for_nested_with_variably_modified): Likewise. | |
12060 | (unnest_nesting_tree_1): Likewise. | |
12061 | (lower_nested_functions): Likewise. | |
12062 | * tree-optimize.c (execute_fixup_cfg): Likewise. | |
12063 | (tree_rest_of_compilation): Likewise. | |
12064 | * tree-profile.c (gimple_gen_ic_func_profiler): Likewise. | |
12065 | * tree-sra.c (ipa_early_sra): Likewise. | |
12066 | * tree-ssa-loop-ivopts.c (computation_cost): Likewise. | |
12067 | * config/i386/i386.c (ix86_compute_frame_layout): Likewise. | |
12068 | * ipa.c (record_cdtor_fn): Likewise. | |
12069 | * ipa-inline.c (cgraph_early_inlining): Likewise. | |
12070 | (compute_inline_parameters_for_current): Likewise. | |
12071 | * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise. | |
12072 | * ipa-pure-const.c (local_pure_const): Likewise. | |
12073 | * ipa-split.c (split_function): Likewise. | |
12074 | (execute_split_functions): Likewise. | |
12075 | * cgraphbuild.c (build_cgraph_edges): Likewise. | |
12076 | (rebuild_cgraph_edges): Likewise. | |
12077 | (cgraph_rebuild_references): Likewise. | |
12078 | (remove_cgraph_callee_edges): Likewise. | |
12079 | * cgraphunit.c (cgraph_mark_if_needed): Likewise. | |
12080 | (verify_cgraph_node): Likewise. | |
12081 | (cgraph_analyze_functions): Likewise. | |
12082 | (cgraph_preserve_function_body_p): Likewise. | |
12083 | (save_inline_function_body): Likewise. | |
12084 | (save_inline_function_body): Likewise. | |
12085 | * tree-inline.c (copy_bb): Likewise. | |
12086 | (optimize_inline_calls): Likewise. | |
12087 | ||
57dbdc5a MJ |
12088 | 2011-04-11 Martin Jambor <mjambor@suse.cz> |
12089 | ||
12090 | PR tree-optimization/48195 | |
12091 | * ipa-cp.c (ipcp_driver): Call ipa_check_create_node_params and | |
12092 | ipa_check_create_edge_args. | |
12093 | (ipcp_generate_summary): Do not call ipa_check_create_node_params and | |
12094 | ipa_check_create_edge_args. | |
12095 | * ipa-inline.c (inline_generate_summary): Do not call | |
12096 | ipa_check_create_node_params and ipa_check_create_edge_args. | |
12097 | * ipa-prop.c (ipa_analyze_node): Call ipa_check_create_node_params and | |
12098 | ipa_check_create_edge_args. | |
12099 | ||
d108e679 AS |
12100 | 2011-04-09 Anatoly Sokolov <aesok@post.ru> |
12101 | ||
12102 | * expr.c (expand_expr_real_1): Use add_to_hard_reg_set function | |
12103 | instead of loop. | |
12104 | * sel-sched.c (mark_unavailable_hard_regs): Likewise. | |
12105 | * function.c (record_hard_reg_sets): Likewise. | |
12106 | * ira.c (compute_regs_asm_clobbered): Likewise. | |
12107 | * sched-deps.c (sched_analyze_1): Likewise. | |
12108 | * reload1.c (mark_reload_reg_in_use, choose_reload_regs): Likewise. | |
12109 | ||
3411bc59 XDL |
12110 | 2011-04-09 Xinliang David Li <davidxl@google.com> |
12111 | ||
12112 | PR tree-optimization/PR48484 | |
12113 | * tree-ssa-uninit.c (convert_control_dep_chain_into_preds): Set | |
12114 | has_valid_pred lazily | |
12115 | ||
b365495a DS |
12116 | 2011-04-09 Duncan Sands <baldrick@free.fr> |
12117 | ||
12118 | * tree.c (array_type_nelts): Bail out if TYPE_MAX_VALUE not set. | |
12119 | ||
68bc509a EB |
12120 | 2011-04-08 Eric Botcazou <ebotcazou@adacore.com> |
12121 | ||
12122 | * combine.c (combine_validate_cost): Adjust comments. Set registered | |
12123 | cost of I0 to zero at the end, if any. | |
12124 | ||
041e059f XDL |
12125 | 2011-04-08 Xinliang David Li <davidxl@google.com> |
12126 | ||
68bc509a EB |
12127 | * ipa-cp.c (ipcp_update_profiling): Correct negative scale factor due |
12128 | to insane profile data. | |
041e059f | 12129 | |
444b3995 XDL |
12130 | 2011-04-08 Xinliang David Li <davidxl@google.com> |
12131 | ||
12132 | * ipa-cp.c (ipcp_update_profiling): Correct | |
12133 | negative scale factor due to insane profile data. | |
12134 | ||
6a801cf2 XDL |
12135 | 2011-04-08 Xinliang David Li <davidxl@google.com> |
12136 | ||
12137 | * final.c (dump_basic_block_info): New function. | |
12138 | (final): Dump basic block. | |
12139 | (final_scan_insn): Remove old dump. | |
12140 | ||
d5f3624e SK |
12141 | 2011-04-08 Steven G. Kargl <kargl@gcc.gnu.org> |
12142 | ||
68bc509a EB |
12143 | PR target/47829 |
12144 | * config.gcc (i386-*-freebsd): Disable unwind table generation for | |
12145 | crtbegin/crtend. | |
d5f3624e | 12146 | |
42821aff MM |
12147 | 2011-04-08 Michael Matz <matz@suse.de> |
12148 | ||
12149 | PR middle-end/48389 | |
12150 | * jump.c (rebuild_jump_labels_1, rebuild_jump_labels_chain): New | |
12151 | functions. | |
12152 | (rebuild_jump_labels): Call rebuild_jump_labels_1. | |
12153 | * rtl.h (rebuild_jump_labels_chain): Declare. | |
12154 | * cfgexpand.c (gimple_expand_cfg): Initialize JUMP_LABEL also on | |
12155 | insns inserted on edges. | |
12156 | ||
ad7be009 JM |
12157 | 2011-04-08 Joseph Myers <joseph@codesourcery.com> |
12158 | ||
12159 | * config.gcc (arm*-*-*): Add arm/arm-tables.opt to extra_options. | |
12160 | * config/arm/arm-arches.def: New. | |
12161 | * config/arm/arm-opts.h: New. | |
12162 | * config/arm/genopt.sh: New. | |
12163 | * config/arm/arm-tables.opt: New (generated). | |
12164 | * config/arm/arm.c (arm_handle_option, arm_target_help, | |
12165 | TARGET_HANDLE_OPTION, TARGET_HELP, arm_find_cpu): Remove. | |
12166 | (all_architectures): Get most table contents from arm-arches.def. | |
12167 | (arm_option_override): Set arm_selected_arch, arm_selected_cpu and | |
12168 | arm_selected_tune here. | |
12169 | * config/arm/arm.h (enum processor_type): Move to arm-opts.h. | |
12170 | * config/arm/arm.opt (config/arm/arm-opts.h): New HeaderInclude. | |
12171 | (march=, mcpu=, mtune=): Use Enum and Var. | |
12172 | * config/arm/t-arm ($(srcdir)/config/arm/arm-tables.opt): New. | |
12173 | (arm.o): Update dependencies. | |
ecbb6fb7 | 12174 | |
42821aff | 12175 | 2011-04-08 Basile Starynkevitch <basile@starynkevitch.net> |
ecbb6fb7 BS |
12176 | |
12177 | * gengtype.c (write_typed_alloc_def): New argument f. Use it instead | |
12178 | of header_file. | |
12179 | (write_typed_struct_alloc_def, write_typed_typedef_alloc_def) | |
12180 | (write_typed_alloc_defns): Likewise. | |
12181 | (main): Calls write_typed_alloc_defns with output_header. | |
12182 | ||
8d189b3f VM |
12183 | 2011-04-08 Vladimir Makarov <vmakarov@redhat.com> |
12184 | ||
68bc509a | 12185 | PR inline-asm/48435 |
8d189b3f VM |
12186 | * ira-color.c (setup_profitable_hard_regs): Add comments. |
12187 | Don't take prohibited hard regs into account. | |
12188 | (setup_conflict_profitable_regs): Rename to | |
12189 | get_conflict_profitable_regs. | |
12190 | (check_hard_reg_p): Check prohibited hard regs. | |
12191 | ||
44f370bf NF |
12192 | 2011-04-08 Nathan Froyd <froydnj@codesourcery.com> |
12193 | ||
12194 | * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Call use_reg. | |
12195 | * config/xtensa/xtensa.c (xtensa_call_tls_desc): Likewise. | |
12196 | * config/sparc/sparc.c (sparc_legitimize_tls_address): Likewise. | |
12197 | ||
483d7ad3 JDA |
12198 | 2011-04-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
12199 | ||
12200 | PR target/48366 | |
12201 | * config/pa/pa.c (hppa_register_move_cost): Increase to 18 cost of | |
b8a17fa2 | 12202 | move from floating point to shift amount register. |
483d7ad3 JDA |
12203 | (emit_move_sequence): Remove secondary reload support for floating |
12204 | point to shift amount amount register copies. | |
12205 | (pa_secondary_reload): Return GENERAL_REGS for floating point/shift | |
12206 | amount register copies. | |
12207 | * config/pa/pa32-regs.h (HARD_REGNO_MODE_OK): For shift amount | |
12208 | register, return false if mode isn't a scalar integer mode. | |
12209 | * config/pa/pa64-regs.h (HARD_REGNO_MODE_OK): Likewise. | |
12210 | ||
97e03fa1 RG |
12211 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
12212 | ||
12213 | * gimple.c (gimple_call_flags): Remove kludge. | |
12214 | ||
9d40778b AM |
12215 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
12216 | ||
12217 | * sel-sched.c (sel_region_init): Move call to | |
12218 | sel_setup_region_sched_flags after setup_current_loop_nest. | |
12219 | ||
19ac7892 AB |
12220 | 2011-04-08 Andrey Belevantsev <abel@ispras.ru> |
12221 | ||
12222 | PR rtl-optimization/48272 | |
19ac7892 AB |
12223 | * sched-deps.c (setup_insn_reg_pressure_info): Export and rename to |
12224 | init_insn_reg_pressure_info. Adjust a caller. | |
12225 | * sched-int.h (init_insn_reg_pressure_info): Declare. | |
12226 | * haifa-sched.c (haifa_init_insn): Call init_insn_reg_pressure_info | |
12227 | when sched-pressure is enabled. | |
12228 | ||
0f8c63cc RG |
12229 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
12230 | ||
12231 | * gimple.c (gimple_set_modified): Do not queue calls to | |
12232 | MODIFIED_NORETURN_CALLS here ... | |
12233 | * tree-ssa-operands.c (update_stmt_operands): ... but here. | |
12234 | ||
5e5a425e RG |
12235 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
12236 | ||
12237 | PR lto/48467 | |
12238 | * toplev.c (lang_dependent_init): Do not open asm_out_file | |
12239 | in WPA mode, nor perform debug machinery initialization. | |
12240 | (finalize): Do not unlink asm_out_file in WPA mode. | |
12241 | ||
9bfc434b RG |
12242 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
12243 | ||
12244 | * gimple.h (gimple_call_fntype): New function. | |
12245 | (gimple_call_return_type): Use it. | |
12246 | * expr.c (expand_expr_real_1): Use gimple_call_fntype. | |
12247 | * gimple-low.c (gimple_check_call_args): Likewise. | |
12248 | * gimple.c (gimple_call_flags): Likewise. | |
12249 | (gimple_call_arg_flags): Likewise. | |
12250 | (gimple_call_return_flags): Likewise. | |
12251 | * tree-cfg.c (verify_gimple_call): Likewise. | |
12252 | (do_warn_unused_result): Likewise. | |
12253 | * tree-ssa-ccp.c (ccp_fold_stmt): Likewise. | |
12254 | * value-prof.c (gimple_ic_transform): Fix fndecl check. | |
12255 | ||
7c1f0b40 DM |
12256 | 2011-04-08 Dmitry Melnik <dm@ispras.ru> |
12257 | ||
12258 | PR rtl-optimization/48235 | |
12259 | * sel-sched.c (code_motion_process_successors): Recompute the last | |
12260 | insn in basic block if control flow changed. | |
12261 | (code_motion_path_driver): Ditto. Recompute the first insn as well. | |
12262 | Update condition for ilist_remove. | |
12263 | ||
ea4d630f AM |
12264 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
12265 | ||
12266 | PR rtl-optimization/48302 | |
12267 | * sel-sched-ir.h (sel_add_loop_preheaders): Update prototype. | |
12268 | * sel-sched-ir.c (sel_add_loop_preheaders): Add 'bbs' argument. Use | |
12269 | it to record added preheader blocks. | |
12270 | * sel-sched.c (setup_current_loop_nest): Add 'bbs' argument. Pass it | |
12271 | on to sel_add_loop_preheaders. | |
12272 | (sel_region_init): Move call to setup_current_loop_nest after | |
12273 | sel_init_bbs. | |
12274 | ||
07643d76 AM |
12275 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
12276 | ||
12277 | PR target/48273 | |
12278 | * cfgloop.h (loop_has_exit_edges): New helper. | |
12279 | * sel-sched-ir.c (init_global_and_expr_for_insn): Make CALLs | |
12280 | non-clonable. | |
12281 | * sel-sched.c (sel_setup_region_sched_flags): Don't pipeline loops | |
12282 | that have no exit edges. | |
12283 | ||
1f3b2b4e AM |
12284 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
12285 | ||
12286 | PR rtl-optimization/48442 | |
12287 | * sel-sched.c (init_seqno): Remove number_of_insns argument. Update | |
12288 | all callers. Adjust assert. | |
12289 | ||
554f1948 JJ |
12290 | 2011-04-08 Jakub Jelinek <jakub@redhat.com> |
12291 | ||
12292 | PR tree-optimization/48377 | |
12293 | * tree-vect-data-refs.c (vector_alignment_reachable_p): Set | |
12294 | is_packed to true even for types with smaller TYPE_ALIGN than | |
12295 | TYPE_SIZE. | |
12296 | ||
ddf72388 RG |
12297 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
12298 | ||
12299 | PR bootstrap/48513 | |
12300 | * doc/tm.texi: Re-generate. | |
12301 | ||
0c27e2d8 WG |
12302 | 2011-04-08 Wei Guozhi <carrot@google.com> |
12303 | ||
12304 | PR target/47855 | |
12305 | * config/arm/arm-protos.h (arm_attr_length_push_multi): New prototype. | |
12306 | * config/arm/arm.c (arm_attr_length_push_multi): New function. | |
12307 | * config/arm/arm.md (*push_multi): Change the length computation to | |
12308 | call a C function. | |
12309 | ||
07c5f94e AS |
12310 | 2011-04-08 Anatoly Sokolov <aesok@post.ru> |
12311 | ||
12312 | * doc/tm.texi.in (ASM_OUTPUT_BSS): Remove documentation. | |
12313 | (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): Update documentation. | |
12314 | * doc/tm.texi: Regenerate. | |
12315 | * system.h (ASM_OUTPUT_BSS): Poison. | |
12316 | * varasm.c (asm_output_bss): Remove function. | |
12317 | (emit_bss, init_varasm_once): Don't use ASM_OUTPUT_BSS macro. | |
798dd0ba | 12318 | |
07c5f94e AS |
12319 | * config/frv/frv.h (BSS_SECTION_ASM_OP): Remove comment. |
12320 | * config/frv/fr30.h (BSS_SECTION_ASM_OP): Likewise. | |
12321 | * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Likewise. | |
12322 | * config/i386/i386elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
12323 | Likewise. | |
12324 | * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
12325 | Likewise. | |
12326 | * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
12327 | Likewise. | |
12328 | * config/m68k/netbsd-elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. | |
12329 | ||
5f2c36e1 JM |
12330 | 2011-04-07 Joseph Myers <joseph@codesourcery.com> |
12331 | ||
12332 | * config/rx/rx.opt (rx610, rx200, rx600): Use Enum not Name on | |
12333 | EnumValue lines. | |
12334 | ||
39e7722b JM |
12335 | 2011-04-07 Joseph Myers <joseph@codesourcery.com> |
12336 | ||
12337 | * config/m68k/m68k.c (m68k_handle_option): Don't handle | |
12338 | OPT_m68000, OPT_mc68000, OPT_m68010, OPT_m68020, OPT_mc68020, | |
12339 | OPT_m68030, OPT_m68040, OPT_m68060, OPT_m68302, OPT_m68332 and | |
12340 | OPT_mcpu32. | |
12341 | * config/m68k/m68k.h (OPTION_DEFAULT_SPECS, ASM_CPU_SPEC): Don't | |
12342 | handle -mc68000, -m68000, -m68302, -m68010, -mc68020, -m68020, | |
12343 | -m68030, -m68040, -m68060, -mcpu32 and -m68332. | |
12344 | * config/m68k/m68k.opt (m68000, m68010, m68020, m68030, m68040, | |
12345 | m68060, m68302, m68332, mc68000, mc68020, mcpu32): Use Alias. | |
12346 | * config/m68k/t-mlibs (CANONICALIZE_OPTIONS): Remove. | |
12347 | (MULTILIB_OPTIONS): Don't use $(CANONICALIZE_OPTIONS). | |
12348 | (MULTILIB_MATCHES): Map -march= options to corresponding -mcpu= | |
12349 | options. Don't map other m68k options manually. Don't handle | |
12350 | old-style options as canonical. | |
12351 | (MULTILIB_EXCEPTIONS): Don't use $(CANONICALIZE_OPTIONS). | |
798dd0ba | 12352 | * doc/install.texi (m68k-*-*): Document binutils version requirement. |
39e7722b | 12353 | |
cf103ca4 EB |
12354 | 2011-04-07 Eric Botcazou <ebotcazou@adacore.com> |
12355 | ||
12356 | * basic-block.h (force_nonfallthru): Move to... | |
12357 | * cfghooks.h (struct cfg_hooks): Add force_nonfallthru hook. | |
12358 | (force_nonfallthru): ...here. | |
12359 | * cfghooks.c (force_nonfallthru): New function. | |
12360 | * cfgrtl.c (force_nonfallthru): Rename into... | |
12361 | (rtl_force_nonfallthru): ...this. | |
12362 | (commit_one_edge_insertion): Do not set AUX field. | |
12363 | (commit_edge_insertions): Do not discover new basic blocks. | |
12364 | (rtl_cfg_hooks): Add rtl_force_nonfallthru. | |
12365 | (cfg_layout_rtl_cfg_hooks): Likewise. | |
12366 | * function.c (thread_prologue_and_epilogue_insns): Remove bogus | |
12367 | ATTRIBUTE_UNUSED. Discover new basic blocks in the prologue insns. | |
12368 | * tree-cfg.c (gimple_cfg_hooks): Add NULL for force_nonfallthru. | |
12369 | ||
14431f58 AS |
12370 | 2011-04-07 Anatoly Sokolov <aesok@post.ru> |
12371 | ||
12372 | * config/mips/mips.h (REG_MODE_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): | |
12373 | Remove macros. | |
12374 | ||
3729983c UB |
12375 | 2011-04-07 Uros Bizjak <ubizjak@gmail.com> |
12376 | ||
12377 | * config/i386/sse.md: Update copyright year. | |
12378 | (avxcvtvecmode): Remove. | |
12379 | (sse_movhlps): Merge with *avx_movhlps. | |
12380 | (sse_movlhps): Merge with *avx_movlhps. | |
12381 | (vec_interleave_highv4sf): Merge with *avx_interleave_highv4sf. | |
12382 | (vec_interleave_lowv4sf): Merge with *avx_interleave_lowv4sf. | |
12383 | (sse_shufps_<mode>): Merge with *avx_shufps_<mode>. | |
12384 | (sse_loadhps): Merge with *avx_loadhps. | |
12385 | (sse_storelps): Merge with *avx_storelps. | |
12386 | (sse_loadlps): Merge with *avx_loadlps. | |
12387 | (sse_movss): Merge with *avx_movss. | |
12388 | (*vec_concatv2sf_sse4_1): Merge with *vec_concatv2sf_avx. | |
12389 | (*vec_concatv4sf_sse): Merge with *vec_concatv4sf_avx. | |
12390 | (*vec_set<mode>_0_sse4_1): Merge with *vec_set<mode>_0_avx. | |
12391 | (*vec_set<mode>_0_sse2): Split multi-unit alternative. | |
12392 | (vec_set<mode>_0): Ditto. | |
12393 | (*vec_setv4sf_sse4_1): Merge with *vec_setv4sf_avx. | |
12394 | (sse4_1_insertps): Merge with *avx_insertps. | |
12395 | (*sse3_interleave_highv2df): Merge with *avx_interleave_highv2df. | |
12396 | (*sse3_interleave_lowv2df): Merge with *avx_interleave_lowv2df. | |
12397 | (vec_interleave_highv2di): Merge with *avx_interleave_highv2di. | |
12398 | (sse2_shufpd_<mode>): Merge with *avx_shufpd_<mode>. | |
12399 | (sse2_storehpd): Merge with *avx_storehpd. | |
12400 | (sse2_loadhpd): Merge with *avx_loadhpd. | |
12401 | (sse2_loadlpd): Merge with *avx_loadlpd. | |
12402 | (sse2_movsd): Merge with *avx_movsd. | |
12403 | (*vec_concatv2df): Merge with *vec_concatv2df. | |
12404 | ||
4e626909 JJ |
12405 | 2011-04-07 Jakub Jelinek <jakub@redhat.com> |
12406 | ||
12407 | PR debug/48343 | |
12408 | * combine.c (combine_instructions): Add last_combined_insn, | |
3729983c | 12409 | update it if insn is after it, pass it to all try_combine calls. |
4e626909 JJ |
12410 | (try_combine): Add last_combined_insn parameter, pass it instead of |
12411 | i3 to propagate_for_debug. | |
12412 | ||
3729983c | 12413 | 2011-04-07 Nick Clifton <nickc@redhat.com> |
5a10b0a9 NC |
12414 | |
12415 | * config/mn10300/mn10300.md (movqi_internal): Add alternatives | |
12416 | to handle MDR <-> data register transfers. | |
12417 | (movhi_internal): Likewise. | |
12418 | ||
20c03367 AM |
12419 | 2011-04-07 Alan Modra <amodra@gmail.com> |
12420 | ||
12421 | * config/rs6000/rs6000.c (rs6000_stack_info): Don't compare against | |
12422 | previous stack info. | |
12423 | ||
bf22920b TV |
12424 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
12425 | ||
12426 | PR target/43920 | |
12427 | * cfgcleanup.c (try_crossjump_to_edge): Add dir parameter. Pass dir to | |
12428 | flow_find_cross_jump. Swap variables to implement backward replacement. | |
12429 | (try_crossjump_bb): Add argument to try_crossjump_to_edge. | |
12430 | ||
823918ae TV |
12431 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
12432 | ||
12433 | PR target/43920 | |
12434 | * cfgcleanup.c (walk_to_nondebug_insn): New function. | |
3729983c UB |
12435 | (flow_find_cross_jump): Use walk_to_nondebug_insn. Recalculate bb1 |
12436 | and bb2. | |
12437 | (try_crossjump_to_edge): Handle case that newpos1 or newpos2 is not | |
12438 | src1 or src2. Redirect edges to the last basic block. Update | |
12439 | frequency and count on multiple basic blocks in case of fallthru. | |
823918ae | 12440 | |
472c95f5 TV |
12441 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
12442 | ||
12443 | PR target/43920 | |
12444 | * cfgcleanup.c (equal_different_set_p, can_replace_by, merge_dir): New | |
12445 | function. | |
3729983c UB |
12446 | (old_insns_match_p): Change return type. Replace return false/true |
12447 | with return dir_none/dir_both. Use can_replace_by. | |
12448 | (flow_find_cross_jump): Add dir_p parameter. Init replacement | |
12449 | direction from dir_p. Register replacement direction in dir, last_dir | |
12450 | and afterlast_dir. Handle new return type of old_insns_match_p using | |
472c95f5 TV |
12451 | merge_dir. Return replacement direction in dir_p. |
12452 | (flow_find_head_matching_sequence, outgoing_edges_match): Handle new | |
12453 | return type of old_insns_match_p. | |
12454 | (try_crossjump_to_edge): Add argument to call to flow_find_cross_jump. | |
12455 | * ifcvt.c ( cond_exec_process_if_block): Add argument to call to | |
12456 | flow_find_cross_jump. | |
12457 | * basic-block.h (enum replace_direction): New type. | |
12458 | (flow_find_cross_jump): Add parameter to declaration. | |
12459 | ||
a95d4000 UB |
12460 | 2011-04-06 Uros Bizjak <ubizjak@gmail.com> |
12461 | ||
12462 | * config/i386/sse.md (AVXMODEDCVTDQ2PS): Remove. | |
12463 | (AVXMODEDCVTPS2DQ): Ditto. | |
12464 | (VEC_FLOAT_MODE): Ditto. | |
12465 | (<sse>_andnot<mode>3): Merge with avx_andnot<mode>3. Use VF mode | |
12466 | iterator. Handle TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL target flag. | |
12467 | (<any_logic:code><mode>3): Use VF mode iterator. | |
12468 | (*<any_logic:code><mode>3): Merge with *avx_<any_logic:code><mode>3. | |
12469 | Use VF mode iterator. | |
12470 | (copysign<mode>3): Use VF mode iterator. | |
12471 | (*andnot<MODEF:mode>3): Merge with *avx_andnot<MODEF:mode>3. Handle | |
12472 | TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL target flag. | |
12473 | (*<any_logic:code><MODEF:mode>3): Merge with | |
12474 | *avx_<any_logic:code><MODEF:mode>3. | |
12475 | (sse_cvtsi2ss): Merge with *avx_cvtsi2ss. | |
12476 | (sse_cvtsi2ssq): Merge with *avx_cvtsi2ssq. | |
12477 | (avx_cvtdq2ps256): Split from avx_cvtdq2ps<avxmodesuffix>. | |
12478 | (avx_cvtdq2ps<avxmodesuffix>): Remove. | |
12479 | (sse2_cvtdq2ps): Use %v modifier. | |
12480 | (avx_cvtps2dq256): Split from avx_cvtps2dq<avxmodesuffix>. | |
12481 | (avx_cvtps2dq<avxmodesuffix>): Remove. | |
12482 | (sse2_cvtps2dq): Use %v modifier. | |
12483 | (avx_cvttps2dq256): Split from avx_cvttps2dq<avxmodesuffix>. | |
12484 | (avx_cvttps2dq<avxmodesuffix>): Remove. | |
12485 | (sse2_cvttps2dq): Use %v modifier. | |
12486 | (sse2_cvtsi2sd): Merge with *avx_cvtsi2sd. | |
12487 | (sse2_cvtsi2sdq): Merge with *avx_cvtsi2sdq. | |
12488 | (sse2_cvtsd2siq): Fix insn template. | |
12489 | (sse2_cvtsd2siq_2): Ditto. | |
12490 | (sse2_cvttsd2siq): Ditto. | |
12491 | (sse2_cvtsd2ss): Merge with *avx_cvtsd2ss. | |
12492 | (sse2_cvtss2sd): Merge with *avx_cvtss2sd. | |
12493 | ||
ad01c437 JM |
12494 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
12495 | ||
12496 | * gcov-io.c: Use GCC Runtime Library Exception. | |
12497 | ||
fe846284 JJ |
12498 | 2011-04-06 Jakub Jelinek <jakub@redhat.com> |
12499 | ||
12500 | PR debug/48466 | |
12501 | * dwarf2out.c (based_loc_descr): If drap_reg is INVALID_REGNUM, use | |
12502 | as base_reg whatever register reg has been eliminated to, instead | |
12503 | of hardcoding STACK_POINTER_REGNUM. | |
12504 | ||
acce4e77 JM |
12505 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
12506 | ||
12507 | * doc/tm.texi.in: Document C target hooks as separate from general | |
12508 | target hooks. | |
12509 | * doc/tm.texi: Regenerate. | |
12510 | * genhooks.c (struct hook_desc): Add docname field. | |
12511 | (HOOK_VECTOR_1, DEFHOOKPOD, DEFHOOK, DEFHOOK_UNDOC). Initialize | |
12512 | docname field. | |
12513 | (hook_array): Include c-target.def. | |
12514 | (emit_documentation): Use docname field in output. | |
12515 | (emit_init_macros): Take docname argument. Only emit definitions | |
12516 | for hooks matching docname. | |
12517 | (main): Expect additional arguments in all cases. Pass argument | |
12518 | to emit_init_macros. | |
12519 | * target.def: Move initial macro definitions and comments to | |
12520 | target-hooks-macros.h. | |
12521 | (gcc_targetcm): Move to c-family/c-target.def. | |
12522 | * target.h (targetcm): Move declaration to c-family/c-target.h. | |
12523 | * targhooks.c (default_handle_c_option): Move to | |
12524 | c-family/c-opts.c. | |
12525 | * targhooks.h (default_handle_c_option): Move declaration to | |
12526 | c-family/c-common.h. | |
12527 | * target-hooks-macros.h: New file. | |
12528 | * config.gcc (target_has_targetcm): Define and use to add to | |
12529 | c_target_objs and cxx_target_objs. | |
12530 | * config/default-c.c: New file. | |
12531 | * config/darwin-c.c: Include c-target.h and c-target-def.h instead | |
12532 | of target.h and target-def.h. | |
12533 | (TARGET_HANDLE_C_OPTION, targetcm): Define later in file. | |
12534 | (darwin_objc_construct_string, darwin_cfstring_ref_p, | |
12535 | darwin_check_cfstring_format_arg): Make static. | |
12536 | (TARGET_OBJC_CONSTRUCT_STRING_OBJECT, | |
12537 | TARGET_STRING_OBJECT_REF_TYPE_P, | |
12538 | TARGET_CHECK_STRING_OBJECT_FORMAT_ARG): Define here. | |
12539 | * config/darwin-protos.h (darwin_objc_construct_string, | |
12540 | darwin_cfstring_ref_p, darwin_check_cfstring_format_arg): Don't | |
12541 | declare. | |
12542 | * config/darwin.h (TARGET_OBJC_CONSTRUCT_STRING_OBJECT, | |
12543 | TARGET_STRING_OBJECT_REF_TYPE_P, | |
a95d4000 | 12544 | TARGET_CHECK_STRING_OBJECT_FORMAT_ARG, TARGET_HAS_TARGETCM): Remove. |
acce4e77 JM |
12545 | * config/t-darwin (darwin-c.o): Update dependencies. |
12546 | * system.h (TARGET_HAS_TARGETCM): Poison. | |
12547 | * Makefile.in (TARGET_H): Update. | |
12548 | (TARGET_DEF, C_TARGET_DEF, C_TARGET_H, C_TARGET_DEF_H): Define. | |
12549 | (c-family/c-format.o, c-family/c-opts.o): Update dependencies. | |
12550 | (default-c.o): New target. | |
12551 | (s-target-hooks-def-h): Pass "Target Hook" string to genhooks. | |
a95d4000 | 12552 | (c-family/c-target-hooks-def.h, s-c-target-hooks-def-h): New targets. |
acce4e77 JM |
12553 | (s-tm-texi): Pass -d option to genhooks. Also test timestamp on |
12554 | c-target.def. | |
12555 | (build/genhooks.o): Update dependencies. | |
12556 | ||
275b4baa | 12557 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
a95d4000 | 12558 | |
275b4baa RG |
12559 | * ipa-inline.c (enum inlining_mode): Remove. |
12560 | (cgraph_flatten): Use some other token. | |
12561 | (cgraph_edge_early_inlinable_p): New function, split out from ... | |
12562 | (cgraph_perform_always_inlining): New function, split out from ... | |
12563 | (cgraph_decide_inlining_incrementally): ... here. | |
12564 | (cgraph_mark_inline_edge): Adjust. | |
12565 | (cgraph_early_inlining): Re-structure. | |
12566 | (pass_early_inline): Require SSA form. | |
12567 | ||
f15b8bdf | 12568 | 2011-04-06 Andrew Stubbs <ams@codesourcery.com> |
9adc580c AS |
12569 | Julian Brown <julian@codesourcery.com> |
12570 | Mark Shinwell <shinwell@codesourcery.com> | |
12571 | ||
12572 | * config/arm/arm.h (arm_class_likely_spilled_p): Check against | |
12573 | LO_REGS only for Thumb-1. | |
12574 | (MODE_BASE_REG_CLASS): Restrict base registers to those which can | |
12575 | be used in short instructions when optimising for size on Thumb-2. | |
12576 | ||
516426da EB |
12577 | 2011-04-06 Eric Botcazou <ebotcazou@adacore.com> |
12578 | ||
12579 | * gimple-low.c (lower_gimple_return): When not optimizing, force labels | |
12580 | associated with user returns to be preserved. | |
12581 | ||
96621ebf TG |
12582 | 2011-04-06 Tristan Gingold <gingold@adacore.com> |
12583 | ||
f15b8bdf EB |
12584 | * dbxout.c (debug_nesting, symbol_queue, symbol_queue_index, |
12585 | symbol_queue_size, DBXOUT_DECR_NESTING, | |
96621ebf TG |
12586 | (DBXOUT_DECR_NESTING_AND_RETURN): Also define |
12587 | if XCOFF_DEBUGGING_INFO. | |
12588 | ||
07c0852e UB |
12589 | 2011-04-06 Uros Bizjak <ubizjak@gmail.com> |
12590 | ||
12591 | * config/i386/i386.md (attribute isa): New. | |
12592 | (attribute enabled): New. | |
12593 | (setcc_<mode>_sse): Merge from *{avx,sse}_setcc<mode>. | |
12594 | (*fop_<mode>_comm_mixed): Merge with *fop_<mode>_comm_mixed_avx. | |
12595 | (*fop_<mode>_comm_sse): Merge with *fop_<mode>_comm_avx. | |
12596 | (*fop_<mode>_1_mixed): Merge with *fop_<mode>_1_mixed_avx. | |
12597 | (*fop_<mode>_1_sse): Merge with *fop_<mode>_1_avx. | |
12598 | (<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3. | |
12599 | (*ieee_smin<mode>3): Merge with *avx_ieee_smin<mode>3. | |
12600 | (*ieee_smax<mode>3): Merge with *avx_ieee_smax<mode>3. | |
12601 | ||
12602 | * config/i386/sse.md (VF): New mode iterator. | |
12603 | (VF1): Ditto. | |
12604 | (VF2): Ditto. | |
12605 | (VF_128): Ditto. | |
12606 | (SSEMODEF4): Remove. | |
12607 | (attribute sse): Handle V8SF and V4DF modes. | |
12608 | (<absneg:code><mode>2): Use VF mode iterator. | |
12609 | (*absneg<mode>2): Merge from *{avx,sse}_absneg<mode>2. Use VF | |
12610 | mode iterator. | |
12611 | (<plusminus_insn><mode>3): Use VF mode iterator. | |
12612 | (*<plusminus_insn><mode>3): Merge with *avx_<plusminus_insn><mode>3. | |
12613 | Use VF mode iterator. | |
12614 | (<sse>_vm<plusminus_insn><mode>3): Merge with | |
12615 | *avx_vm<plusminus_insn><mode>3. Use VF_128 mode iterator. | |
12616 | (mul<mode>3): Use VF mode iterator. | |
12617 | (*mul<mode>3): Merge with *avx_mul<mode>3. Use VF mode iterator. | |
12618 | (<sse>_vmmul<mode>3): Merge with *avx_vmmul<mode>3. Use VF_128 | |
12619 | mode iterator. | |
12620 | (div<VF2:mode>3): Merge from divv2df3 and divv4df3. | |
12621 | (div<VF1:mode>3): Merge from divv4sf3 and divv8sf3. | |
12622 | (<sse>_div<mode>3): Merge with *avx_div<mode>3. Use VF mode iterator. | |
12623 | (<sse>_vmdiv<mode>3): Merge with *avx_vmdiv<mode>3. Use VF_128 | |
12624 | mode iterator. | |
12625 | (<sse>_rcp<mode>2): Merge from avx_rcpv8sf2 and sse_rcpv4sf2. | |
12626 | Use VF1 mode iterator. | |
12627 | (sse_vmrcpv4sf2): Merge with *avx_vmrcpv4sf2. | |
12628 | (sqrt<VF2:mode>2): New expander. | |
12629 | (sqrt<VF1:mode>2): Merge from sqrtv4sf2 and sqrtv8sf2. | |
12630 | (<sse>_sqrt<mode>2): Merge from avx_sqrtv8sf2, sse_sqrtv4sf, sqrtv4df2 | |
12631 | and sqrtv2df2. Use VF mode iterator. | |
12632 | (<sse>_vmsqrt<mode>2): Merge with *avx_vmsqrt<mode>2. Use VF_128 | |
12633 | mode iterator. | |
12634 | (rsqrt<VF1:mode>2): Merge from rsqrtv4sf2 and rsqrtv8sf2. | |
12635 | (<sse>_rsqrt<mode>2): Merge from avx_rsqrtv8sf2 and sse_rsqrt4sf2. | |
12636 | Use VF1 mode iterator. | |
12637 | (sse_vmrsqrtv4sf2): Merge with *avx_vmrsqrtv4sf2. | |
12638 | (<smaxmin:code><mode>3): Use VF mode iterator. | |
12639 | (*<smaxmin:code><mode>3_finite): Merge with | |
12640 | *avx_<smaxmin:code><mode>3_finite. Use VF mode iterator. | |
12641 | (*<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3. | |
12642 | (<sse>_vm<smaxmin:code><mode>2): Merge with | |
12643 | *avx_vm<smaxmin:code><mode>2. Use VF_128 mode iterator. | |
12644 | (*ieee_smin<mode>3): Merge with *avx_ieee_smin<mode>3. Use VF | |
12645 | mode iterator. | |
12646 | (*ieee_smax<mode>3): Merge with *avx_ieee_smax<mode>3. Use VF | |
12647 | mode iterator. | |
12648 | (sse3_addsubv2df3): Merge with *avx_addsubv2df3. | |
12649 | (sse3_addsubv4sf3): Merge with *avx_addsubv4sf3. | |
12650 | (sse3_h<plusminus_insn>v2df3): Merge with *avx_h<plusminus_insn>v2df3. | |
12651 | (sse3_h<plusminus_insn>v4sf3): Merge with *avx_h<plusminus_insn>v4sf3. | |
12652 | (avx_cmp<mode>3): Rename from avx_cmp<ssemodesuffix><mode>3. Use | |
12653 | VF mode iterator. | |
12654 | (avx_vmcmp<mode>3): Rename from avx_cmp<ssescalarmodesuffix><mode>3. | |
12655 | Use VF_128 mode iterator. | |
12656 | (<sse>_maskcmp<mode>3): Merge with *avx_maskcmp<mode>3. Use VF | |
12657 | mode iterator. | |
12658 | (<sse>_vmmaskcmp<mode>3): Merge with *avx_vmmaskcmp<mode>3. Use | |
12659 | VF_128 mode iterator. | |
12660 | (vcond<mode>): Use VF mode iterator. | |
12661 | * config/i386/predicates.md (sse_comparison_operator): Merge with | |
12662 | avx_comparison_float_operator. Do not declare as special_predicate. | |
12663 | * config/i386/i386.c (struct builtin_description): Update for renamed | |
12664 | compare patterns. | |
12665 | (ix86_expand_args_builtin): Ditto. | |
12666 | (ix86_expand_sse_compare_mask): Ditto. | |
12667 | ||
ff5d142c RG |
12668 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
12669 | ||
12670 | * tree-inline.c (estimate_num_insns): For calls simply account | |
12671 | for all passed arguments and a used return value. | |
12672 | ||
d7d1d041 | 12673 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
07c0852e | 12674 | |
d7d1d041 RG |
12675 | PR tree-optimization/47663 |
12676 | * cgraph.h (struct cgraph_edge): Add call_stmt_size and | |
12677 | call_stmt_time fields. | |
12678 | (cgraph_edge_inlinable_p): Declare. | |
12679 | (cgraph_edge_recursive_p): New inline function. | |
12680 | * cgraph.c (cgraph_create_edge_1): Initialize call_stmt_size. | |
12681 | (cgraph_clone_edge): Copy it. | |
12682 | * ipa-inline.c (cgraph_estimate_edge_time): New function. | |
12683 | Account for call stmt time. | |
12684 | (cgraph_estimate_time_after_inlining): Take edge argument. | |
12685 | (cgraph_estimate_edge_growth): Account call stmt size. | |
12686 | (cgraph_estimate_size_after_inlining): Take edge argument. | |
12687 | (cgraph_mark_inline_edge): Adjust. | |
12688 | (cgraph_check_inline_limits): Likewise. | |
12689 | (cgraph_recursive_inlining_p): Remove. | |
12690 | (cgraph_edge_badness): Use cgraph_edge_recursive_p. | |
12691 | (cgraph_decide_recursive_inlining): Take edge argument and | |
12692 | adjust. | |
12693 | (cgraph_decide_inlining_of_small_functions): Do not avoid | |
12694 | diags for recursive inlining here. | |
12695 | (cgraph_flatten): Adjust. | |
12696 | (cgraph_decide_inlining_incrementally): Likewise. | |
12697 | (estimate_function_body_sizes): Remove call cost handling. | |
12698 | (compute_inline_parameters): Initialize caller edge call costs. | |
12699 | (cgraph_estimate_edge_growth): New function. | |
12700 | (cgraph_estimate_growth): Use it. | |
12701 | (cgraph_edge_badness): Likewise. | |
12702 | (cgraph_check_inline_limits): Take an edge argument. | |
12703 | (cgraph_decide_inlining_of_small_functions): Adjust. | |
12704 | (cgraph_decide_inlining): Likewise. | |
12705 | * tree-inline.c (estimate_num_insns): Only account for call | |
12706 | return value if it is used. | |
12707 | (expand_call_inline): Avoid diagnostics on recursive inline | |
12708 | functions here. | |
12709 | * lto-cgraph.c (lto_output_edge): Output edge call costs. | |
12710 | (input_edge): Input edge call costs. | |
12711 | ||
2feb95f7 RO |
12712 | 2011-04-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
12713 | ||
12714 | * config/alpha/osf5.h (MAX_OFILE_ALIGNMENT): Define. | |
12715 | ||
26fbd9c2 JW |
12716 | 2011-04-06 Jonathan Wakely <jwakely.gcc@gmail.com> |
12717 | ||
12718 | * doc/invoke.texi (Spec Files): Fix typo. | |
12719 | ||
694dc0ca EB |
12720 | 2011-04-06 Eric Botcazou <ebotcazou@adacore.com> |
12721 | ||
12722 | * profile.c (branch_prob): Move declaration of local variable. Remove | |
12723 | obsolete ??? comment. Expand the location explicitly instead of using | |
12724 | the LOCATION_FILE and LOCATION_LINE macros. | |
12725 | ||
4925d0d5 WG |
12726 | 2011-04-06 Wei Guozhi <carrot@google.com> |
12727 | ||
12728 | PR target/47855 | |
12729 | * config/arm/arm.md (arm_cmpsi_insn): Compute attr "length". | |
12730 | (arm_cond_branch): Likewise. | |
12731 | (arm_cond_branch_reversed): Likewise. | |
12732 | (arm_jump): Likewise. | |
12733 | (push_multi): Likewise. | |
12734 | * config/arm/constraints.md (Py): New constraint. | |
12735 | ||
f55dfa2f NF |
12736 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
12737 | ||
12738 | PR bootstrap/48471 | |
12739 | * dbxout.c (debug_nesting, symbol_queue, symbol_queue_index): | |
12740 | Move these... | |
12741 | (symbol_queue_size, DBXOUT_DECR_NESTING): ...and these... | |
12742 | (DBXOUT_DECR_NESTING_AND_RETURN): ...and this under | |
12743 | #ifdef DBX_DEBUGGING_INFO. | |
12744 | ||
fca96842 BS |
12745 | 2011-04-05 Bernd Schmidt <bernds@codesourcery.com> |
12746 | ||
12747 | PR bootstrap/48403 | |
12748 | * haifa-sched.c (schedule_block): Increment cycle_issued_insns only | |
12749 | if old and new states differ. | |
12750 | ||
30b83e38 JM |
12751 | 2011-04-05 Joseph Myers <joseph@codesourcery.com> |
12752 | ||
12753 | * config/m68k/m68k.c (m68k_handle_option): Don't handle OPT_m5200, | |
12754 | OPT_m5206e, OPT_m528x, OPT_m5307, OPT_m5407 and OPT_mcfv4e. | |
12755 | * config/m68k/m68k.h (OPTION_DEFAULT_SPECS, ASM_CPU_SPEC): Don't | |
12756 | handle -m5200, -m5206e, -m528x, -m5307, -m5407 and -mcfv4e. | |
12757 | * config/m68k/m68k.opt (m5200, m5206e, m528x, m5307, m5407, | |
12758 | mcfv4e): Use Alias. | |
12759 | * config/m68k/t-mlibs (MULTILIB_MATCHES): Don't map legacy | |
12760 | ColdFire options to -mcpu= options. | |
12761 | ||
277a9aa5 JL |
12762 | 2011-04-05 Jeff Law <law@redhat.com> |
12763 | ||
12764 | * tree-ssa-threadupdate.c (determine_bb_domination_status): Always | |
12765 | check if BB is a successor of LOOP->header and return | |
12766 | NONDOMINATING if it is not, regardless of ENABLE_CHECKING. | |
12767 | ||
c1e2610e SB |
12768 | 2011-04-05 Steven Bosscher <steven@gcc.gnu.org> |
12769 | ||
12770 | * cprop.c (struct reg_use): Remove. | |
12771 | (reg_use_table): Make an array of RTX. | |
12772 | (find_used_regs, constprop_register, local_cprop_pass, | |
12773 | bypass_block): Simplify users of reg_use_table. | |
12774 | (cprop_insn): Likewise. Iterate if copy propagation succeeded | |
12775 | on one of the uses found by find_used_regs. | |
12776 | ||
e532f586 NF |
12777 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
12778 | ||
12779 | PR bootstrap/48469 | |
12780 | * combine.c (combine_instructions): #ifdef AUTO_INC_DEC links | |
12781 | declaration. | |
12782 | ||
3fb7c055 NF |
12783 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
12784 | ||
12785 | * combine.c (combine_instructions) [AUTO_INC_DEC]: Declare links | |
12786 | as an rtx. | |
12787 | (try_combine) [AUTO_INC_DEC]: Declare a local link rtx. | |
12788 | ||
b71b43d9 SB |
12789 | 2011-04-05 Steven Bosscher <steven@gcc.gnu.org> |
12790 | ||
12791 | PR middle-end/48441 | |
12792 | * cprop.c (one_cprop_pass): Do not mark_oprs_set of deleted insns. | |
12793 | ||
b405b274 NF |
12794 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
12795 | ||
12796 | * combine.c: Include obstack.h. | |
12797 | (struct insn_link): Define. | |
12798 | (uid_log_links): Adjust type. | |
12799 | (FOR_EACH_LOG_LINK): New macro. | |
12800 | (insn_link_obstack): Declare. | |
12801 | (alloc_insn_link): Define. | |
12802 | (create_log_links): Call it. Use FOR_EACH_LOG_LINK and adjust | |
12803 | type of link variables. | |
12804 | (find_single_use, insn_a_feeds_b, combine_instructions): Likewise. | |
12805 | (try_combine, record_promoted_values, distribute_notes): Likewise. | |
12806 | (distribute_links): Likewise. Tweak prototype. | |
12807 | (clear_log_links): Delete. | |
12808 | (adjust_for_new_dest): Call alloc_insn_link. | |
12809 | * Makefile.in (combine.o): Depend on $(OBSTACK_H). | |
12810 | ||
6409abe3 NF |
12811 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
12812 | ||
12813 | * gcse.c (modify_mem_list): Convert to an array of VECs. | |
12814 | (canon_modify_mem_list, compute_transp): Tweak formatting. | |
12815 | (alloc_gcse_mem): Likewise. Adjust for modify_mem_list change. | |
12816 | (load_killed_in_block_p): Likewise. | |
12817 | (record_last_mem_set_info): Likewise. | |
12818 | (clear_modify_mem_tables): Likewise. | |
12819 | ||
170d8157 TV |
12820 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
12821 | ||
12822 | PR middle-end/48461 | |
12823 | * function.c (emit_use_return_register_into_block): Only define if | |
12824 | HAVE_return. | |
12825 | ||
c5911a55 EB |
12826 | 2011-04-05 Eric Botcazou <ebotcazou@adacore.com> |
12827 | ||
12828 | * stor-layout.c (self_referential_size): Fix 2010-07-13 commit. | |
12829 | ||
abd016e6 JM |
12830 | 2011-04-05 Joseph Myers <joseph@codesourcery.com> |
12831 | ||
12832 | * config/rx/rx-opts.h: New. | |
12833 | * config/rx/rx.c (rx_cpu_type): Remove. | |
12834 | (rx_handle_option): Don't assert that global structures are in | |
12835 | use. Access variables via opts pointer. Defer most handling of | |
12836 | OPT_mint_register_. Use error_at. | |
12837 | (rx_option_override): Handle deferred OPT_mint_register_ here. | |
12838 | * config/rx/rx.h (enum rx_cpu_types): Move to rx-opts.h. | |
12839 | * config/rx/rx.opt (config/rx/rx-opts.h: New HeaderInclude. | |
12840 | (mcpu=): Use Enum and specifiy rx_cpu_type with Var. | |
12841 | (rx_cpu_types): New Enum and EnumValue entries. | |
12842 | (mint-register=): Use Defer and use Var accordingly. | |
12843 | ||
1ed13f83 NF |
12844 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
12845 | ||
12846 | * debug.h (debug_flush_symbol_queue, debug_queue_symbol): Delete. | |
12847 | (debug_free_queue, debug_nesting, symbol_queue_index): Delete. | |
12848 | * final.c (debug_flush_symbol_queue, debug_queue_symbol): | |
12849 | Move these... | |
12850 | (debug_free_queue, debug_nesting, symbol_queue_index): | |
12851 | ...and these... | |
12852 | * dbxout.c: ...to here. Make static. | |
12853 | ||
6ce1edcf NF |
12854 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
12855 | ||
12856 | * gcse.c (modify_pair): Define. Define a VEC of it. | |
12857 | (canon_modify_mem_list): Convert to an array of VECs. | |
12858 | (free_insn_expr_list_list): Delete. | |
12859 | (clear_modify_mem_tables): Call VEC_free instead. | |
12860 | (record_last_mem_set_info): Don't modify canon_modify_mem_list. | |
12861 | (alloc_gcse_mem): Adjust for canon_modify_mem_list change. | |
12862 | (canon_list_insert, compute_transp): Likewise. | |
12863 | ||
c201ac94 TV |
12864 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
12865 | ||
12866 | PR target/43920 | |
12867 | * config/arm/arm.h (BRANCH_COST): Set to 1 for Thumb-2 when optimizing | |
12868 | for size. | |
12869 | ||
4c029f40 TV |
12870 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
12871 | ||
12872 | PR target/43920 | |
12873 | * function.c (emit_use_return_register_into_block): New function. | |
12874 | (thread_prologue_and_epilogue_insns): Use | |
12875 | emit_use_return_register_into_block. | |
12876 | ||
2a562b0a TV |
12877 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
12878 | ||
12879 | PR target/43920 | |
12880 | * cfgcleanup.c (flow_find_cross_jump): Don't count USE or CLOBBER as | |
12881 | insn. | |
12882 | ||
0248bceb TV |
12883 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
12884 | ||
12885 | * cfgcleanup.c (try_crossjump_bb): Remove 2 superfluous variables. | |
12886 | ||
ffa94123 YZ |
12887 | 2011-04-05 Yufeng Zhang <yufeng.zhang@arm.com> |
12888 | ||
798dd0ba UB |
12889 | * config/arm/arm.md (define_constants for unspec): Replace with |
12890 | define_c_enum. | |
12891 | (define_constants for unspecv): Replace with define_c_enum. | |
12892 | * config/arm/neon.md (define_constants for unspec): Replace with | |
12893 | define_c_enum. | |
ffa94123 | 12894 | |
3b8f9b46 RH |
12895 | 2011-04-04 Richard Henderson <rth@redhat.com> |
12896 | ||
720cf80f | 12897 | PR bootstrap/48400 |
3b8f9b46 RH |
12898 | * dwarf2out.c (output_line_info): Always emit line info from |
12899 | at least one section. | |
12900 | (dwarf2out_init): Create text_section_line_info here ... | |
12901 | (set_cur_line_info_table): ... not here. | |
12902 | ||
720cf80f | 12903 | 2011-04-04 Vladimir Makarov <vmakarov@redhat.com> |
e5b0e1ca VM |
12904 | |
12905 | PR target/48380 | |
12906 | * ira.c (ira): Call grow_reg_equivs when fix_reg_equiv_init is | |
720cf80f | 12907 | not called. |
e5b0e1ca | 12908 | |
720cf80f | 12909 | * ira-emit.c (emit_move_list): Update reg_equiv_init insn list. |
e5b0e1ca | 12910 | |
196565d4 SB |
12911 | 2011-04-04 Steven Bosscher <steven@gcc.gnu.org> |
12912 | ||
b77f9eab SB |
12913 | * cprop.c (struct expr): Split 'expr' field in 'dest' and 'src'. |
12914 | (expr_equiv_p): Remove. | |
12915 | (insert_set_in_table): Look at <dest, src> pair instead of expr. | |
12916 | (hash_scan_set): Update call to insert_set_in_table. | |
12917 | (dump_hash_table): Dump <dest, src> pair. | |
12918 | (lookup_set): Simplify. Lookup <dest, src> pair. | |
12919 | (compute_transp): Remove, fold heavily simplified code into... | |
12920 | (compute_local_properties): ...here. Expect COMP and TRANSP | |
12921 | unconditionally. | |
12922 | (find_avail_set): Take set directly from struct expr. | |
12923 | (find_bypass-set): Likewise. | |
12924 | (bypass_block): Likewise. | |
12925 | (cprop_insn): Likewise. Remove redundant INSN_P test. | |
12926 | ||
384d7a55 SB |
12927 | * cprop.c (implicit_set_cond_p): Assume nothing about COND, move |
12928 | checks on form of COND from find_implicit_sets to here. | |
12929 | (find_implicit_sets): Cleanup control flow. Split critical edges | |
12930 | if it exposes implicit sets. Allocate/resize implicit_sets as | |
12931 | necessary. | |
12932 | (one_cprop_pass): Only delete unreachable blocks if local_cprop_pass | |
12933 | changed something. Run df_analyze after find_implicit_sets if any | |
12934 | edges were split. Do not allocate implicit_sets here. | |
12935 | ||
3084ce69 SB |
12936 | * cprop.c: s/gcse/cprop/ everywhere except for flag_gcse. |
12937 | (gcse_obstack): Renamed to cprop_obstack. | |
12938 | (GNEW, GNEWVEC, GNEWVAR): Remove. | |
12939 | (gmalloc): Remove. | |
12940 | (alloc_hash_table): Use XNEWVAR instead of GNEWVAR. | |
12941 | (GOBNEW, GOBNEWVAR): Adjust for gcse_obstack renaming. | |
12942 | (gcse_alloc): Likewise, and rename to cprop_alloc. | |
12943 | (alloc_gcse_men, free_gcse_mem): Remove. | |
12944 | (gcse_constant_p): Rename to cprop_constant_p, and adjust all callers. | |
12945 | (compute_hash_table_work): Allocate and free reg_set_bitmap here. | |
12946 | (one_cprop_pass): Likewise. Adjust for gcse_obstack renaming. | |
12947 | ||
196565d4 SB |
12948 | * cprop.c (oprs_not_set_p): Remove. |
12949 | (mark_set, mark_clobber): Remove. | |
12950 | (mark_oprs_set): Rewrite using DF_INSN_INFO_DEFS cache. | |
12951 | (reg_not_set_p): New function. | |
12952 | (find_avail_set): Use reg_not_set_p instead of oprs_not_set_p. | |
12953 | (cprop_insn): Likewise. | |
12954 | (cprop_jump): Use FOR_EACH_EDGE. | |
12955 | ||
9b69cf83 BS |
12956 | 2011-04-04 Bernd Schmidt <bernds@codesourcery.com> |
12957 | ||
12958 | PR bootstrap/48403 | |
12959 | * haifa-sched.c (nonscheduled_insns_begin): New static variable. | |
12960 | (rank_for_schedule): Use scheduled_insns vector instead of | |
12961 | last_scheduled_insn. | |
12962 | (ok_for_early_queue_removal): Likewise. | |
12963 | (queue_to_ready): Search forward in nonscheduled_insns_begin if | |
12964 | we have a dbg_cnt. | |
12965 | (choose_ready): Likewise. | |
12966 | (commit_schedule): Use VEC_iterate. | |
12967 | (schedule_block): Initialize nonscheduled_insns_begin. If we have | |
12968 | a dbg_cnt, use it and ensure the first insn is in the ready list. | |
12969 | (haifa_sched_init): Allocate scheduled_insns. | |
12970 | (sched_extend_ready_list): Don't allocate it; reserve space. | |
12971 | (haifa_sched_finish): Free it. | |
12972 | ||
24f48c2f JM |
12973 | 2011-04-04 Joseph Myers <joseph@codesourcery.com> |
12974 | ||
12975 | * optc-gen.awk: Always remove type from Variable entry before | |
12976 | recording in var_seen. | |
12977 | ||
8effe856 EB |
12978 | 2011-04-04 Eric Botcazou <ebotcazou@adacore.com> |
12979 | ||
12980 | * cfghooks.c (tidy_fallthru_edges): Add ??? comment. | |
12981 | * tree-inline.c (delete_unreachable_blocks_update_callgraph): Remove | |
12982 | call to tidy_fallthru_edges. | |
12983 | ||
413519ae JM |
12984 | 2011-04-04 Joseph Myers <joseph@codesourcery.com> |
12985 | ||
12986 | * doc/options.texi (ToLower): Document. | |
3729983c | 12987 | * opt-functions.awk (switch_bit_fields): Initialize cl_tolower field. |
413519ae JM |
12988 | * opts-common.c (decode_cmdline_option): Handle cl_tolower. |
12989 | * opts.h (cl_option): Add cl_tolower field. | |
12990 | * config/rx/rx.c (rx_handle_option): Use strcmp of -mcpu= | |
12991 | arguments with lowercase strings. | |
12992 | * config/rx/rx.opt (mcpu=): Add ToLower. | |
12993 | * config/rx/t-rx (MULTILIB_MATCHES): Don't handle uppercase -mcpu= | |
12994 | argument. | |
12995 | ||
7d34a1b0 RS |
12996 | 2011-04-04 Richard Sandiford <richard.sandiford@linaro.org> |
12997 | ||
12998 | * config/pdp11/pdp11.h (IRA_COVER_CLASSES): Delete. | |
12999 | ||
c30e7434 RS |
13000 | 2011-04-04 Richard Sandiford <richard.sandiford@linaro.org> |
13001 | ||
13002 | * config/vax/vax.c: Include reload.h. | |
13003 | ||
112a861d AS |
13004 | 2011-04-04 Anatoly Sokolov <aesok@post.ru> |
13005 | ||
13006 | * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Remove. | |
13007 | * config/sparc/sparc.c (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
13008 | (sparc_preferred_reload_class): New function. | |
13009 | ||
e8c6bb74 JJ |
13010 | 2011-04-04 Jakub Jelinek <jakub@redhat.com> |
13011 | ||
2aeaa366 | 13012 | PR debug/48401 |
e8c6bb74 JJ |
13013 | * cfgexpand.c (expand_gimple_basic_block): Avoid useless assignment. |
13014 | Use PAT_VAR_LOCATION_LOC instead of INSN_VAR_LOCATION_LOC. | |
13015 | ||
2c081caf NF |
13016 | 2011-04-03 Nathan Froyd <froydnj@codesourcery.com> |
13017 | ||
13018 | * tree.h (struct tree_const_decl): Inherit from tree_decl_common. | |
13019 | * tree.c (initialize_tree_contains_struct): Adjust accordingly. | |
13020 | ||
53802f27 AS |
13021 | 2011-04-03 Anatoly Sokolov <aesok@post.ru> |
13022 | ||
13023 | * config/avr/avr.h (ASM_OUTPUT_BSS): Remove. | |
13024 | (ASM_OUTPUT_ALIGNED_BSS): Define. | |
13025 | ||
e89964e3 MM |
13026 | 2011-04-03 Michael Matz <matz@suse.de> |
13027 | ||
13028 | * lto-streamer.h (struct lto_streamer_cache_d): Remove offsets | |
13029 | and next_slot members. | |
13030 | (lto_streamer_cache_insert, lto_streamer_cache_insert_at, | |
13031 | lto_streamer_cache_lookup, lto_streamer_cache_get): Adjust prototypes. | |
13032 | (lto_streamer_cache_append): Declare. | |
13033 | * lto-streamer.c (lto_streamer_cache_add_to_node_array): Use | |
13034 | unsigned index, remove offset parameter, ensure that we append | |
13035 | or update existing entries. | |
13036 | (lto_streamer_cache_insert_1): Use unsigned index, remove offset_p | |
13037 | parameter, update next_slot for append. | |
13038 | (lto_streamer_cache_insert): Use unsigned index, remove offset_p | |
13039 | parameter. | |
13040 | (lto_streamer_cache_insert_at): Likewise. | |
13041 | (lto_streamer_cache_append): New function. | |
13042 | (lto_streamer_cache_lookup): Use unsigned index. | |
13043 | (lto_streamer_cache_get): Likewise. | |
13044 | (lto_record_common_node): Don't test tree_node_can_be_shared. | |
13045 | (preload_common_node): Adjust call to lto_streamer_cache_insert. | |
13046 | (lto_streamer_cache_delete): Don't free offsets member. | |
13047 | * lto-streamer-out.c (eq_string_slot_node): Use memcmp. | |
13048 | (lto_output_string_with_length): Use lto_output_data_stream. | |
13049 | (lto_output_tree_header): Remove ix parameter, don't write it. | |
13050 | (lto_output_builtin_tree): Likewise. | |
13051 | (lto_write_tree): Adjust callers to above, don't track and write | |
13052 | offset, write unsigned index. | |
13053 | (output_unreferenced_globals): Don't emit all global vars. | |
13054 | (write_global_references): Use unsigned indices. | |
13055 | (lto_output_decl_state_refs): Likewise. | |
13056 | (write_symbol): Likewise. | |
13057 | * lto-streamer-in.c (lto_input_chain): Move earlier. | |
13058 | (input_function): Use unsigned index. | |
13059 | (input_alias_pairs): Don't read and then ignore all global vars. | |
13060 | (lto_materialize_tree): Remove ix_p parameter, don't read index, | |
13061 | don't pass it back, use lto_streamer_cache_append. | |
13062 | (lto_register_var_decl_in_symtab): Use unsigned index. | |
13063 | (lto_register_function_decl_in_symtab): Likewise. | |
13064 | (lto_get_pickled_tree): Don't read in or handle offset, read unsigned | |
13065 | index. | |
13066 | (lto_get_builtin_tree): Don't read index, use | |
13067 | lto_streamer_cache_append. | |
13068 | (lto_read_tree): Adjust call to lto_materialize_tree. | |
13069 | ||
13070 | * ipa-inline.c (cgraph_edge_badness): Move growth calculaton, | |
13071 | don't use function calls in arguments to MIN. | |
13072 | ||
13073 | * varasm.c (decl_binds_to_current_def_p): Don't check TREE_PUBLIC | |
13074 | twice. | |
13075 | ||
13076 | * gimple.c (gimple_type_leader_entry): Mark deletable. | |
13077 | ||
b9a5b5b2 AM |
13078 | 2011-04-03 Alan Modra <amodra@gmail.com> |
13079 | ||
13080 | * dwarf2out.c (mem_loc_descriptor): Recurse on LO_SUM. | |
13081 | ||
ac6a641b MM |
13082 | 2011-04-03 Michael Matz <matz@suse.de> |
13083 | ||
13084 | * tree.c (free_lang_data_in_decl): Zero DECL_VINDEX if it's not | |
13085 | an integer. | |
13086 | * tree.h (tree_decl_non_common.vindex): Adjust comment. | |
13087 | ||
0038d4e0 MM |
13088 | 2011-04-03 Michael Matz <matz@suse.de> |
13089 | ||
e9c18386 | 13090 | * cgraphbuild.c (record_reference): Canonicalize constructor values. |
0038d4e0 MM |
13091 | * gimple-fold.c (canonicalize_constructor_val): Accept being called |
13092 | without function context. | |
13093 | * cgraphunit.c (cgraph_finalize_compilation_unit): Clear | |
13094 | current_function_decl and cfun. | |
13095 | ||
91f2fae8 MM |
13096 | 2011-04-03 Michael Matz <matz@suse.de> |
13097 | ||
13098 | * tree.c (decl_init_priority_insert): Don't create entry for | |
13099 | default priority. | |
13100 | (decl_fini_priority_insert): Ditto. | |
13101 | (fields_compatible_p, find_compatible_field): Remove. | |
13102 | * tree.h (fields_compatible_p, find_compatible_field): Remove. | |
13103 | * gimple.c (gimple_compare_field_offset): Adjust block comment. | |
13104 | ||
da29e070 EB |
13105 | 2011-04-03 Eric Botcazou <ebotcazou@adacore.com> |
13106 | ||
13107 | * combine.c (try_combine): Remove useless local variable. | |
13108 | ||
4979c28b | 13109 | 2011-04-03 Richard Guenther <rguenther@suse.de> |
91f2fae8 | 13110 | Ira Rosen <ira.rosen@linaro.org> |
4979c28b RG |
13111 | |
13112 | * tree-if-conv.c (memrefs_read_or_written_unconditionally): Strip all | |
13113 | non-variable offsets and compare the remaining bases of the two | |
13114 | accesses instead of looking for exact same data-ref. | |
13115 | ||
b4ddcaee KT |
13116 | 2011-04-02 Kai Tietz <ktietz@redhat.com> |
13117 | ||
f90298e1 KT |
13118 | PR target/48416 |
13119 | * i386.c (ix86_function_arg_boundary): Fix printf formatter. | |
13120 | ||
b4ddcaee KT |
13121 | * i386.c (ix86_is_msabi_thiscall): New helper function. |
13122 | (ix86_is_type_thiscall): New helper function. | |
13123 | (ix86_comp_type_attributes): Handle thiscall for method-functions | |
13124 | special. | |
13125 | (init_cumulative_args): Likewise. | |
13126 | (find_drap_reg): Likewise. | |
13127 | (ix86_static_chain): Likewise. | |
13128 | (x86_this_parameter): Likewise. | |
13129 | (x86_output_mi_thunk): Likewise. | |
13130 | ||
2a9d769a | 13131 | 2011-04-01 Olivier Hainque <hainque@adacore.com> |
91f2fae8 MM |
13132 | Nicolas Setton <setton@adacore.com> |
13133 | Eric Botcazou <ebotcazou@adacore.com> | |
2a9d769a OH |
13134 | |
13135 | * dwarf2out.c (dwarf_attr_name): Map DW_AT_GNAT_descriptive_type. | |
13136 | (add_gnat_descriptive_type_attribute): New function. | |
13137 | (gen_array_type_die): Call it. | |
13138 | (gen_enumeration_type_die): Likewise. | |
13139 | (gen_struct_or_union_type_die): Likewise. | |
13140 | (modified_type_die): Likewise. | |
13141 | * langhooks.h (lang_hooks_for_types): New descriptive_type hook. | |
13142 | * langhooks-def.h (LANG_HOOKS_DESCRIPTIVE_TYPE): Default to NULL. | |
13143 | (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add LANG_HOOKS_DESCRIPTIVE_TYPE. | |
13144 | ||
15a03a11 JJ |
13145 | 2011-04-01 Jakub Jelinek <jakub@redhat.com> |
13146 | ||
13147 | PR bootstrap/48148 | |
13148 | * dwarf2out.c (resolve_addr): Don't call force_decl_die | |
13149 | if DECL_EXTERNAL has non-NULL DECL_ABSTRACT_ORIGIN. | |
13150 | ||
13151 | Revert: | |
13152 | 2011-03-17 Richard Guenther <rguenther@suse.de> | |
13153 | ||
13154 | PR bootstrap/48148 | |
13155 | * lto-cgraph.c (input_overwrite_node): Clear the abstract | |
13156 | origin for decls in other ltrans units. | |
13157 | (input_varpool_node): Likewise. | |
13158 | ||
19228b93 JJ |
13159 | 2011-04-01 Jakub Jelinek <jakub@redhat.com> |
13160 | ||
13161 | PR middle-end/48335 | |
13162 | * expr.c (expand_assignment): Handle all possibilities | |
13163 | if TO_RTX is CONCAT. | |
e9c18386 | 13164 | * expmed.c (store_bit_field_1): Avoid trying to create invalid SUBREGs. |
19228b93 JJ |
13165 | (store_split_bit_field): If SUBREG_REG (op0) or |
13166 | op0 itself has smaller mode than word, return it | |
13167 | for offset 0 and const0_rtx for out-of-bounds stores. | |
13168 | If word is const0_rtx, skip it. | |
13169 | ||
88cb339e N |
13170 | 2011-04-01 Naveen H.S <naveen.S@kpitcummins.com> |
13171 | ||
13172 | * config/h8300/h8300.c (print_operand_address): Rename to... | |
13173 | (h8300_print_operand_address): ...this. Make static. Adjust comments. | |
13174 | Call h8300_print_operand and h8300_print_operand_address instead of | |
13175 | print_operand and print_operand_address. Declare. | |
13176 | (print_operand): Renake to... | |
13177 | (h8300_print_operand): ...this. Make static. Adjust comments. | |
13178 | Call h8300_print_operand instead of print_operand. Declare. | |
13179 | (h8300_print_operand_punct_valid_p): Moved from h8300.h file. | |
13180 | (h8300_register_move_cost): Likewise. | |
13181 | (TARGET_PRINT_OPERAND_PUNCT_VALID_P, TARGET_PRINT_OPERAND | |
13182 | TARGET_PRINT_OPERAND_ADDRESS, TARGET_REGISTER_MOVE_COST): Define. | |
13183 | * config/h8300/h8300.h (PRINT_OPERAND_ADDRESS, PRINT_OPERAND | |
13184 | PRINT_OPERAND_PUNCT_VALID_P, REGISTER_MOVE_COST): Delete. | |
13185 | * config/h8300/h8300-protos.h (print_operand): Delete. | |
13186 | (print_operand_address): Delete. | |
13187 | ||
756d6ee9 RH |
13188 | 2011-04-01 Richard Henderson <rth@redhat.com> |
13189 | ||
13190 | PR 48400 | |
13191 | * dwarf2out.c (dwarf2out_source_line): Disable discriminators | |
13192 | in strict mode before dwarf4. Re-order tests to early out | |
13193 | before switching sections. | |
13194 | ||
ceaaaeab NF |
13195 | 2011-04-01 Nathan Froyd <froydnj@codesourcery.com> |
13196 | ||
13197 | * config/h8300/constraints.md: New file. | |
13198 | * config/h8300/h8300.md: Include it. Use satisfies_constraint_J, | |
13199 | satisfies_constraint_L, and satisfies_constraint_N for peephole2s. | |
13200 | (*tst_extzv_1_n, *tstsi_variable_bit_qi): Use satisfies_constraint_U. | |
13201 | * config/h8300/predicates.md (bit_operand): Likewise. | |
13202 | (incdec_operand): Use satisfies_constraint_M and | |
13203 | satisfies_constraint_O. Don't use C code block. | |
13204 | * config/h8300/h8300-protos.h (h8300_reg_class_from_letter): Delete. | |
13205 | * config/h8300/h8300.c (h8300_reg_class_from_letter): Delete. | |
13206 | (compute_mov_length): Use satisfies_constraint_G. | |
13207 | (fix_bit_operand): Use satisfies_constraint_U. | |
13208 | * config/h8300/h8300.h (REG_CLASS_FROM_LETTER): Delete. | |
13209 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Delete. | |
13210 | (CONST_OK_FOR_M, CONST_OK_FOR_N, CONST_OK_FOR_O): Delete. | |
13211 | (CONST_OK_FOR_Ppositive, CONST_OK_FOR_Pnegative): Delete. | |
13212 | (CONST_OK_FOR_P, CONSTRAINT_LEN_FOR_P): Delete. | |
13213 | (CONST_OK_FOR_CONSTRAINT_P, CONST_OK_FOR_LETTER_P): Delete. | |
13214 | (CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
13215 | (OK_FOR_Q, OK_FOR_R, OK_FOR_S, OK_FOR_T, OK_FOR_U, OK_FOR_WU): Delete. | |
13216 | (OK_FOR_W, CONSTRAINT_LEN_FOR_W, OK_FOR_Y2, OK_FOR_Y0): Delete. | |
13217 | (OK_FOR_Y, CONSTRAINT_LEN_FOR_Y, OK_FOR_Z): Delete. | |
13218 | (EXTRA_CONSTRAINT_STR, CONSTRAINT_LEN): Delete. | |
13219 | (EXTRA_MEMORY_CONSTRAINT): Delete. | |
13220 | ||
08ae38e0 AP |
13221 | 2011-04-01 Andrew Pinski <pinskia@gmail.com> |
13222 | Michael Meissner <meissner@linux.vnet.ibm.com> | |
13223 | ||
13224 | PR target/48262 | |
13225 | * config/rs6000/vector.md (movmisalign<mode>): Allow for memory | |
13226 | operands, as per the specifications. | |
13227 | ||
13228 | * config/rs6000/altivec.md (vec_extract_evenv4si): Correct modes. | |
13229 | (vec_extract_evenv4sf): Ditto. | |
13230 | (vec_extract_evenv8hi): Ditto. | |
13231 | (vec_extract_evenv16qi): Ditto. | |
13232 | (vec_extract_oddv4si): Ditto. | |
13233 | ||
bdb0b0f6 MW |
13234 | 2011-03-31 Mark Wielaard <mjw@redhat.com> |
13235 | ||
13236 | * dwarf2out.c (dwarf2out_finish): Don't add low_pc and/or | |
13237 | high_pc attribute if the CU has no associated code. Only output | |
13238 | DW_AT_entry_pc for CU if not generating strict dwarf and | |
13239 | dwarf_version < 4. | |
13240 | ||
722279e4 BS |
13241 | 2011-04-01 Bernd Schmidt <bernds@codesourcery.com> |
13242 | ||
13243 | * dwarf2out.h (dwarf2out_frame_debug_init): Declare. | |
13244 | * dwarf2out.c (dwarf2out_frame_debug_init): New function, broken | |
13245 | out of ... | |
13246 | (dwarf2out_frame_debug): ... here. Don't handle a NULL argument. | |
13247 | * final.c (final_start_function): Call the new function rather | |
13248 | than using a NULL argument for dwarf2out_frame_debug. | |
13249 | ||
c5dd277d BS |
13250 | * ifcvt.c (cond_exec_process_insns): Disallow converting a block |
13251 | that contains the prologue. | |
13252 | ||
ec4efea9 BS |
13253 | * haifa-sched.c (queue_insn): New arg REASON. All callers |
13254 | changed. Print it in debugging output. | |
13255 | ||
2a6a0d80 BS |
13256 | * sched-ebb.c (schedule_ebbs): Honor the BB_DISABLE_SCHEDULE flag. |
13257 | ||
86014d07 BS |
13258 | * sched-ebb.c (begin_schedule_ready): Remove second argument. |
13259 | Split most of the code into... | |
13260 | (begin_move_insn): ... here. New function. | |
13261 | (ebb_sched_info): Add a pointer to it. | |
13262 | * haifa-sched.c (scheduled_insns): New static variable. | |
13263 | (sched_extend_ready_list): Allocate it. | |
13264 | (schedule_block): Use it to record the order of scheduled insns. | |
13265 | Perform RTL changes to move insns only after all scheduling | |
13266 | decisions have been made. | |
13267 | * modulo-sched.c (sms_sched_haifa_sched_info): Add NULL entry for the | |
13268 | begin_move_insn field. | |
13269 | * sel-sched-ir.c (sched_sel_haifa_sched_info): Likewise. | |
13270 | * sched-int.h (struct haifa_sched_info): Remove second argument | |
13271 | from begin_schedule_ready hook. Add new member begin_move_insn. | |
13272 | * sched-rgn.c (begin_schedule_ready): Remove second argument. | |
13273 | (rgn_const_sched_info): Add NULL entry for the begin_move_insn field. | |
13274 | ||
9d701248 BS |
13275 | * haifa-sched.c (prune_ready_list): New function, broken out of |
13276 | schedule_block. | |
13277 | (schedule_block): Use it. | |
13278 | ||
1ca1dad5 UW |
13279 | 2011-04-01 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
13280 | ||
13281 | * config/spu/t-spu-elf (dp-bit.c): Use > instead of >>. | |
13282 | ||
49568e45 KT |
13283 | 2011-04-01 Kai Tietz <ktietz@redhat.com> |
13284 | ||
13285 | * config.gcc (*-*-mingw*): Allow as option the | |
13286 | posix threading model. | |
07c0852e | 13287 | * config/i386/mingw32.h (SPEC_PTHREAD1, SPEC_PTHREAD2): |
49568e45 KT |
13288 | New macros defined dependent to TARGET_USE_PTHREAD_BY_DEFAULT |
13289 | definition. | |
13290 | (CPP_SPEC): Add pthread/no-pthread handling. | |
13291 | (LIB_SPEC): Likewise. | |
13292 | * config/i386/mingw-w64.h (CPP_SPEC):Likewise. | |
13293 | (LIB_SPEC): Likewise. | |
13294 | * config/i386/t-cygming (SHLIB_PTHREAD_CFLAG): New | |
13295 | flag to pass -pthread option for shared libgcc build. | |
13296 | (SHLIB_PTHREAD_LDFLAG): New option to pass -lpthread | |
13297 | for shared libgcc build. | |
13298 | * config/i386/t-mingw-pthread: New file. | |
13299 | * config/i386/mingw-pthread.h (TARGET_USE_PTHREAD_BY_DEFAULT): | |
13300 | New define to enable use of library pthread by default. | |
13301 | * config/i386/mingw.opt (pthread): New driver option. | |
13302 | (no-pthread): New driver option. | |
e9c18386 | 13303 | * config/i386/cygming.opt: Make sure trailing empty line is retained. |
49568e45 KT |
13304 | * config/i386/mingw-w64.opt: Likewise. |
13305 | ||
748f7574 | 13306 | 2011-04-01 Gary Funck <gary@intrepid.com> |
636b4106 GF |
13307 | |
13308 | * c-decl.c (grokdeclarator): Fix formatting. | |
13309 | ||
f04713ee RS |
13310 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
13311 | ||
13312 | * expr.c (emit_block_move_via_movmem): Use n_generator_args | |
13313 | instead of n_operands. | |
13314 | (set_storage_via_setmem): Likewise. | |
13315 | * optabs.c (maybe_gen_insn): Likewise. | |
13316 | * config/arm/arm.c (arm_init_neon_builtins): Likewise. | |
13317 | * config/mips/mips.c (mips_expand_builtin_compare_1): Likewise. | |
13318 | (mips_expand_builtin_direct): Likewise. | |
13319 | * config/spu/spu.c (expand_builtin_args): Likewise. | |
13320 | ||
b29387ee RS |
13321 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
13322 | ||
13323 | * recog.h (insn_data_d): Add n_generator_args. | |
13324 | * genoutput.c (data): Likewise. | |
13325 | (output_insn_data): Print it. | |
13326 | (max_opno, num_dups): Delete. | |
13327 | (scan_operands): Just fill in "d->operand[...]". | |
13328 | (gen_insn, gen_peephole, gen_expand, gen_split): Use get_pattern_stats. | |
13329 | ||
e792559a RS |
13330 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
13331 | ||
13332 | * gensupport.h (pattern_stats): New structure. | |
13333 | * gensupport.c (get_pattern_stats_1, get_pattern_stats): New functions. | |
13334 | * genemit.c (max_opno, max_dupno, max_scratch_opno): Delete. | |
13335 | (max_operand_1, max_operand_vec): Delete. | |
13336 | (gen_insn, gen_expand, gen_split): Use get_pattern_stats. | |
13337 | ||
e8110d6f NF |
13338 | 2011-03-31 Nathan Froyd <froydnj@codesourcery.com> |
13339 | ||
13340 | * emit-rtl.c (emit_pattern_after_setloc): New function. | |
13341 | (emit_insn_after_setloc, emit_jump_insn_after_setloc): Call it. | |
13342 | (emit_call_insn_after_setloc, emit_debug_insn_after_setloc): Likewise. | |
13343 | (emit_pattern_after): New function. | |
13344 | (emit_insn_after, emit_jump_insn_after): Call it. | |
13345 | (emit_call_insn_after, emit_debug_insn_after): Likewise. | |
13346 | (emit_pattern_before_setloc): New function. | |
13347 | (emit_insn_before_setloc, emit_jump_insn_before_setloc): Call it. | |
13348 | (emit_call_insn_before_setloc, emit_debug_insn_before_setloc): | |
13349 | Likewise. | |
13350 | (emit_pattern_before): New function. | |
13351 | (emit_insn_before, emit_jump_insn_before): Call it. | |
13352 | (emit_call_insn_before, emit_debug_insn_before): Likewise. | |
13353 | ||
576f85f1 RH |
13354 | 2011-03-31 Richard Henderson <rth@redhat.com> |
13355 | ||
13356 | * dwarf2out.c (dw_separate_line_info_ref): Remove. | |
13357 | (dw_separate_line_info_entry): Remove. | |
13358 | (enum dw_line_info_opcode): New. | |
13359 | (dw_line_info_entry): Use it. | |
13360 | (dw_line_info_table, dw_line_info_table_p): New. | |
13361 | (DWARF_LINE_OPCODE_BASE): Include dwarf3 opcodes. | |
13362 | (line_info_table, line_info_label_num): Remove. | |
13363 | (line_info_table_in_use): Remove. | |
13364 | (separate_line_info_table): Remove. | |
13365 | (separate_line_info_table_allocated): Remove. | |
13366 | (separate_line_info_table_in_use): Remove. | |
13367 | (LINE_INFO_TABLE_INCREMENT): Remove. | |
13368 | (line_info_label_num): New. | |
13369 | (cur_line_info_table): New. | |
13370 | (text_section_line_info, cold_text_section_line_info): New. | |
13371 | (separate_line_info): New. | |
13372 | (SEPARATE_LINE_CODE_LABEL): Remove. | |
13373 | (print_dwarf_line_table): Remove. | |
13374 | (debug_dwarf): Don't dump it. | |
13375 | (output_one_line_info_table): New. | |
13376 | (output_line_info): Use it. | |
13377 | (new_line_info_table): New. | |
13378 | (set_cur_line_info_table): New. | |
13379 | (dwarf2out_switch_text_section): Use it. | |
13380 | (dwarf2out_begin_function): Likewise. | |
13381 | (push_dw_line_info_entry): New. | |
13382 | (dwarf2out_source_line): Rewrite for new line info tables. | |
13383 | (dwarf2out_init): Remove dead initailizations. | |
13384 | ||
300d83d9 JM |
13385 | 2011-03-31 Joseph Myers <joseph@codesourcery.com> |
13386 | ||
13387 | * opts.h (cl_option): Add comments to fields. Add bit-fields for | |
13388 | various flags. | |
13389 | (CL_SEPARATE_NARGS_SHIFT, CL_SEPARATE_NARGS_MASK, | |
13390 | CL_SEPARATE_ALIAS, CL_NO_DRIVER_ARG, CL_REJECT_DRIVER, CL_SAVE, | |
13391 | CL_DISABLED, CL_REPOR, CL_REJECT_NEGATIVE, CL_MISSING_OK, | |
13392 | CL_UINTEGER, CL_NEGATIVE_ALIAS): Remove. | |
13393 | (CL_JOINED, CL_SEPARATE, CL_UNDOCUMENTED): Update bit positions. | |
13394 | * opt-functions.awk (flag_init, switch_bit_fields): New. | |
13395 | (switch_flags): Don't handle flags moved to bit-fields. Don't | |
13396 | generate CL_MISSING_OK or CL_SAVE. | |
13397 | * optc-gen.awk: Update to generate bit-field output as well as | |
13398 | flags field. | |
13399 | * gcc.c (driver_wrong_lang_callback): Use cl_reject_driver | |
13400 | bit-field instead of CL_REJECT_DRIVER flag. | |
13401 | * opts-common.c (generate_canonical_option, | |
13402 | decode_cmdline_option): Use bit-fields instead of CL_* flags. | |
13403 | * opts.c (maybe_default_option): Use cl_reject_negative bit-field | |
13404 | instead of CL_REJECT_NEGATIVE flag. | |
13405 | * toplev.c (print_switch_values): Use cl_report bit-field instead | |
13406 | of CL_REPORT flag. | |
13407 | ||
d4d73ce2 EB |
13408 | 2011-03-31 Eric Botcazou <ebotcazou@adacore.com> |
13409 | ||
13410 | * tree-ssa-pre.c (create_component_ref_by_pieces_1) <ARRAY_REF>: Drop | |
13411 | a zero minimum index only if it is redundant. | |
13412 | ||
b8faca75 VM |
13413 | 2011-03-31 Vladimir Makarov <vmakarov@redhat.com> |
13414 | ||
13415 | PR rtl-optimization/48381 | |
13416 | * ira-color.c (assign_hard_reg): Use hard reg set intersection | |
13417 | instead of ira_class_hard_reg_index for calculating conflicting | |
13418 | hard registers. | |
13419 | ||
7d11cebe SB |
13420 | 2011-03-31 Steven Bosscher <steven@gcc.gnu.org> |
13421 | ||
13422 | * cprop.c: Clean up hash table building. | |
13423 | (reg_avail_info): Remove. | |
13424 | (oprs_available_p): Remove. | |
13425 | (record_last_reg_set_info): Remove. | |
13426 | (record_last_set_info): Remove. | |
13427 | (reg_available_p): New function. | |
13428 | (gcse_constant_p): Do not treat unfolded conditions as constants. | |
13429 | (make_set_regs_unavailable): New function. | |
13430 | (hash_scan_set): Simplify with new reg_available_p. | |
13431 | (compute_hash_table_work): Traverse insns stream only once. | |
13432 | Do not compute reg_avail_info. Traverse insns in reverse order. | |
13433 | Record implicit sets after recording explicit sets from the block. | |
13434 | ||
98faf84f MM |
13435 | 2011-03-31 Michael Matz <matz@suse.de> |
13436 | ||
e9c18386 | 13437 | * builtins.c (build_va_arg_indirect_ref): Use build_simple_mem_ref_loc. |
98faf84f | 13438 | |
f52d97da AS |
13439 | 2011-03-31 Anatoly Sokolov <aesok@post.ru> |
13440 | ||
13441 | * config/h8300/h8300.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove macro. | |
13442 | * config/h8300/h8300-protos.h (h8300_get_index): Remove. | |
13443 | * config/h8300/h8300.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
13444 | (h8300_mode_dependent_address_p): New function. | |
13445 | (h8300_get_index): Make static. | |
13446 | ||
e16b6fd0 JL |
13447 | 2011-03-31 Jeff Law <law@redhat.com> |
13448 | ||
10c51983 JL |
13449 | * reload1.c (elimination_effects): Fix typo in recent change. |
13450 | ||
e9c18386 | 13451 | * tree-ssa-forwprop.c (forward_propagate_into_cond): Avoid |
e16b6fd0 JL |
13452 | typo potentially leading to null pointer dereference. |
13453 | ||
13454 | * caller-save.c (new_saved_hard_reg): Eliminate return value. | |
13455 | (setup_save_areas): Corresponding changes to avoid useless | |
13456 | assignments. | |
13457 | ||
13458 | * jump.c (reversed_comparison_code_parts): Avoid successive return | |
13459 | statements when REVERSE_CONDITION is defined. | |
13460 | ||
13461 | * expr.c (expand_assignment): Avoid useless assignments. | |
13462 | (expand_expr_real_1): Likewise. | |
13463 | (expand_expr_real_2): Avoid useless statements. | |
13464 | ||
13465 | * tree-ssa-phiopt.c (minmax_replacement): Avoid useless statement. | |
13466 | ||
13467 | * cfgexpand.c (expand_gimple_basic_block): Avoid useless assignment. | |
13468 | ||
13469 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Avoid useless | |
13470 | statements. | |
13471 | ||
13472 | * stmt.c (expand_expr_stmt): Avoid useless assignment. | |
13473 | ||
eb1eb914 JM |
13474 | 2011-03-31 Joseph Myers <joseph@codesourcery.com> |
13475 | ||
13476 | PR target/47109 | |
13477 | * doc/tm.texi.in (TARGET_VERSION): Remove. | |
13478 | * doc/tm.texi: Regenerate. | |
13479 | * system.h (TARGET_VERSION, MACHINE_TYPE): Poison. | |
13480 | * collect2.c (main): Don't use TARGET_VERSION. | |
13481 | * mips-tdump.c (main): Don't use TARGET_VERSION. | |
13482 | * mips-tfile.c (main): Don't use TARGET_VERSION. | |
e9c18386 | 13483 | * config.gcc (powerpc-wrs-vxworksae): Don't use rs6000/vxworksae.h. |
eb1eb914 JM |
13484 | * config/rs6000/vxworksae.h: Remove. |
13485 | * config/alpha/alpha.h (TARGET_VERSION): Remove. | |
13486 | * config/alpha/freebsd.h (TARGET_VERSION): Remove. | |
13487 | * config/alpha/linux-elf.h (TARGET_VERSION): Remove. | |
13488 | * config/alpha/netbsd.h (TARGET_VERSION): Remove. | |
13489 | * config/alpha/vms.h (TARGET_NAME, TARGET_VERSION): Remove. | |
13490 | * config/arm/arm.h (TARGET_VERSION): Remove. | |
13491 | * config/arm/coff.h (TARGET_VERSION): Remove. | |
13492 | * config/arm/ecos-elf.h (TARGET_VERSION): Remove. | |
13493 | * config/arm/elf.h (TARGET_VERSION): Remove. | |
13494 | * config/arm/freebsd.h (TARGET_VERSION): Remove. | |
13495 | * config/arm/linux-elf.h (TARGET_VERSION): Remove. | |
13496 | * config/arm/netbsd-elf.h (TARGET_VERSION): Remove. | |
13497 | * config/arm/pe.h (TARGET_VERSION): Remove. | |
13498 | * config/arm/rtems-elf.h (TARGET_VERSION): Remove. | |
13499 | * config/arm/semi.h (TARGET_VERSION): Remove. | |
13500 | * config/arm/uclinux-elf.h (TARGET_VERSION): Remove. | |
13501 | * config/arm/unknown-elf.h (TARGET_VERSION): Remove. | |
13502 | * config/arm/vxworks.h (TARGET_VERSION): Remove. | |
13503 | * config/avr/avr.h (TARGET_VERSION): Remove. | |
13504 | * config/bfin/bfin.h (TARGET_VERSION): Remove. | |
13505 | * config/fr30/fr30.h (TARGET_VERSION): Remove. | |
13506 | * config/frv/frv.h (TARGET_VERSION): Remove. | |
13507 | * config/h8300/h8300.h (TARGET_VERSION): Remove. | |
13508 | * config/i386/cygwin.h (TARGET_VERSION): Remove. | |
13509 | * config/i386/darwin.h (TARGET_VERSION): Remove. | |
13510 | * config/i386/darwin64.h (TARGET_VERSION): Remove. | |
13511 | * config/i386/djgpp.h (TARGET_VERSION): Remove. | |
13512 | * config/i386/freebsd.h (TARGET_VERSION): Remove. | |
13513 | * config/i386/freebsd64.h (TARGET_VERSION): Remove. | |
13514 | * config/i386/gnu.h (TARGET_VERSION): Remove. | |
13515 | * config/i386/i386-interix.h (TARGET_VERSION): Remove. | |
13516 | * config/i386/i386elf.h (TARGET_VERSION): Remove. | |
13517 | * config/i386/linux.h (TARGET_VERSION): Remove. | |
13518 | * config/i386/linux64.h (TARGET_VERSION): Remove. | |
13519 | * config/i386/lynx.h (TARGET_VERSION): Remove. | |
13520 | * config/i386/mingw32.h (TARGET_VERSION): Remove. | |
13521 | * config/i386/netbsd-elf.h (TARGET_VERSION): Remove. | |
13522 | * config/i386/netbsd64.h (TARGET_VERSION): Remove. | |
13523 | * config/i386/netware.h (TARGET_VERSION): Remove. | |
13524 | * config/i386/nto.h (TARGET_VERSION): Remove. | |
13525 | * config/i386/openbsd.h (TARGET_VERSION): Remove. | |
13526 | * config/i386/vxworks.h (TARGET_VERSION): Remove. | |
13527 | * config/ia64/elf.h (TARGET_VERSION): Remove. | |
13528 | * config/ia64/freebsd.h (TARGET_VERSION): Remove. | |
13529 | * config/ia64/hpux.h (TARGET_VERSION): Remove. | |
13530 | * config/ia64/linux.h (TARGET_VERSION): Remove. | |
13531 | * config/ia64/vms.h (TARGET_NAME, TARGET_VERSION): Remove. | |
13532 | * config/iq2000/iq2000.h (IQ2000_VERSION, MACHINE_TYPE, | |
13533 | TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove. | |
13534 | * config/lm32/lm32.h (TARGET_VERSION): Remove. | |
13535 | * config/lm32/uclinux-elf.h (TARGET_VERSION): Remove. | |
13536 | * config/m32c/m32c.h (TARGET_VERSION): Remove. | |
13537 | * config/m32r/linux.h (LINUX_DEFAULT_ELF, TARGET_VERSION): Remove. | |
13538 | * config/m32r/m32r.h (TARGET_VERSION): Remove. | |
13539 | * config/m68k/linux.h (TARGET_VERSION): Remove. | |
13540 | * config/m68k/m68k.h (TARGET_VERSION): Remove. | |
13541 | * config/m68k/netbsd-elf.h (TARGET_VERSION): Remove. | |
13542 | * config/m68k/uclinux.h (TARGET_VERSION): Remove. | |
13543 | * config/mcore/mcore-elf.h (TARGET_VERSION): Remove. | |
13544 | * config/mep/mep.h (TARGET_VERSION): Remove. | |
13545 | * config/microblaze/microblaze.h (MICROBLAZE_VERSION, | |
13546 | MACHINE_TYPE, TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove. | |
13547 | * config/mips/iris6.h (MACHINE_TYPE): Remove. | |
13548 | * config/mips/linux.h (TARGET_VERSION): Remove. | |
13549 | * config/mips/netbsd.h (MACHINE_TYPE): Remove. | |
13550 | * config/mips/vxworks.h (TARGET_VERSION): Remove. | |
13551 | * config/mmix/mmix.h (TARGET_VERSION): Remove. | |
13552 | * config/mn10300/linux.h (TARGET_VERSION): Remove. | |
13553 | * config/mn10300/mn10300.h (TARGET_VERSION): Remove. | |
13554 | * config/pa/pa.h (TARGET_VERSION): Remove. | |
13555 | * config/pdp11/pdp11.h (TARGET_VERSION): Remove. | |
13556 | * config/picochip/picochip.h (TARGET_VERSION): Remove. | |
13557 | * config/rs6000/aix.h (TARGET_VERSION): Remove. | |
13558 | * config/rs6000/darwin.h (TARGET_VERSION): Remove. | |
13559 | * config/rs6000/darwin64.h (TARGET_VERSION): Remove. | |
13560 | * config/rs6000/eabi.h (TARGET_VERSION): Remove. | |
13561 | * config/rs6000/eabialtivec.h (TARGET_VERSION): Remove. | |
13562 | * config/rs6000/eabisim.h (TARGET_VERSION): Remove. | |
13563 | * config/rs6000/eabispe.h (TARGET_VERSION): Remove. | |
13564 | * config/rs6000/freebsd.h (TARGET_VERSION): Remove. | |
13565 | * config/rs6000/linux.h (TARGET_VERSION): Remove. | |
13566 | * config/rs6000/linux64.h (TARGET_VERSION): Remove. | |
13567 | * config/rs6000/linuxaltivec.h (TARGET_VERSION): Remove. | |
13568 | * config/rs6000/linuxspe.h (TARGET_VERSION): Remove. | |
13569 | * config/rs6000/lynx.h (TARGET_VERSION): Remove. | |
13570 | * config/rs6000/netbsd.h (TARGET_VERSION): Remove. | |
13571 | * config/rs6000/sysv4.h (TARGET_VERSION): Remove. | |
13572 | * config/rs6000/vxworks.h (TARGET_VERSION): Remove. | |
13573 | * config/s390/linux.h (TARGET_VERSION): Remove. | |
13574 | * config/s390/s390.h (TARGET_VERSION): Remove. | |
13575 | * config/s390/tpf.h (TARGET_VERSION): Remove. | |
13576 | * config/score/score.h (TARGET_VERSION): Remove. | |
13577 | * config/sh/linux.h (TARGET_VERSION): Remove. | |
13578 | * config/sh/netbsd-elf.h (TARGET_VERSION_ENDIAN, | |
13579 | TARGET_VERSION_CPU, TARGET_VERSION): Remove. | |
13580 | * config/sh/sh.h (TARGET_VERSION): Remove. | |
13581 | * config/sh/sh64.h (TARGET_VERSION): Remove. | |
13582 | * config/sh/superh.h (TARGET_VERSION): Remove. | |
13583 | * config/sh/vxworks.h (TARGET_VERSION): Remove. | |
13584 | * config/sparc/freebsd.h (TARGET_VERSION): Remove. | |
13585 | * config/sparc/linux.h (TARGET_VERSION): Remove. | |
13586 | * config/sparc/linux64.h (TARGET_VERSION): Remove. | |
13587 | * config/sparc/netbsd-elf.h (TARGET_VERSION, TARGET_NAME64, | |
13588 | TARGET_NAME32, TARGET_NAME): Remove. | |
13589 | * config/sparc/openbsd64.h (TARGET_VERSION): Remove. | |
13590 | * config/sparc/sp-elf.h (TARGET_VERSION): Remove. | |
13591 | * config/sparc/sp64-elf.h (TARGET_VERSION): Remove. | |
13592 | * config/sparc/sysv4.h (TARGET_VERSION): Remove. | |
13593 | * config/sparc/vxworks.h (TARGET_VERSION): Remove. | |
13594 | * config/spu/spu.h (TARGET_VERSION): Remove. | |
13595 | * config/stormy16/stormy16.h (TARGET_VERSION): Remove. | |
13596 | * config/v850/v850.h (TARGET_VERSION): Remove. | |
13597 | * config/vax/linux.h (TARGET_VERSION): Remove. | |
13598 | * config/vax/vax.h (TARGET_NAME, TARGET_VERSION): Remove. | |
13599 | * config/xtensa/elf.h (TARGET_VERSION): Remove. | |
13600 | * config/xtensa/linux.h (TARGET_VERSION): Remove. | |
13601 | ||
ace31bca EB |
13602 | 2011-03-31 Eric Botcazou <ebotcazou@adacore.com> |
13603 | ||
13604 | PR target/48142 | |
13605 | * config/i386/i386.c (ix86_adjust_stack_and_probe): Differentiate | |
13606 | frame-related from frame-unrelated adjustments to the stack pointer. | |
13607 | ||
76f9db36 JJ |
13608 | 2011-03-31 Jakub Jelinek <jakub@redhat.com> |
13609 | ||
13610 | * common.opt (fdebug-types-section): Move earlier. | |
13611 | * doc/invoke.texi: Fix up -fno-debug-types-section documentation. | |
13612 | ||
b7826465 AT |
13613 | 2011-03-31 Andreas Tobler <andreast@fgznet.ch> |
13614 | ||
13615 | * config/rs6000/rs6000.c (rs6000_handle_option): Remove unused isel | |
13616 | var. | |
13617 | ||
1290e54c NF |
13618 | 2011-03-30 Nathan Froyd <froydnj@codesourcery.com> |
13619 | ||
13620 | * tree.h (CASE_CHAIN): Define. | |
13621 | * tree-cfg.c (edge_to_cases_cleanup, get_cases_for_edge): Use it. | |
13622 | (gimple_redirect_edge_and_branch): Likewise. | |
13623 | ||
bddc98e1 VM |
13624 | 2011-03-30 Vladimir Makarov <vmakarov@redhat.com> |
13625 | ||
13626 | PR middle-end/48367 | |
13627 | * ira-costs.c (find_costs_and_classes): Fix a typo in i_mem_cost | |
13628 | calculation. | |
13629 | ||
c865e437 JL |
13630 | 2011-03-30 Jeff Law <law@redhat.com> |
13631 | ||
b3750213 | 13632 | * PR bootstrap/48371 |
c865e437 JL |
13633 | * reload1.c (reload): Fix botch in last change. |
13634 | ||
13635 | * reload.h (struct reload): Fix typo introduced in last change. | |
13636 | ||
2cdf9574 JM |
13637 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
13638 | ||
13639 | * config/arm/arm.opt (mhard-float, msoft-float): Mark | |
13640 | Undocumented. Remove help text. | |
13641 | * doc/invoke.texi (ARM Options): Don't document -msoft-float and | |
13642 | -mhard-float. | |
13643 | ||
666a21a2 JM |
13644 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
13645 | ||
13646 | * doc/options.texi (NegativeAlias): Document. | |
13647 | (Alias): Mention NegativeAlias. | |
13648 | * opt-functions.awk: Handle NegativeAlias. | |
e9c18386 | 13649 | * optc-gen.awk: Disallow NegativeAlias with multiple Alias arguments. |
666a21a2 JM |
13650 | * opts-common.c (decode_cmdline_option): Handle CL_NEGATIVE_ALIAS. |
13651 | * opts.h (CL_NEGATIVE_ALIAS): Define. | |
13652 | * config/rs6000/rs6000.c (rs6000_parse_yes_no_option): Remove. | |
13653 | (rs6000_handle_option): Don't handle OPT_mvrsave_, OPT_misel_ and | |
13654 | OPT_mspe_. | |
13655 | * config/rs6000/rs6000.opt (mvrsave=, misel=, mspe=): Replace with | |
13656 | Alias entries. | |
13657 | * config/rs6000/t-spe (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use | |
13658 | mno-spe and mno-isel instead of mspe=no and -misel=no. | |
13659 | ||
0fa4e351 MW |
13660 | 2011-03-29 Mark Wielaard <mjw@redhat.com> |
13661 | ||
13662 | * common.opt (fdebug-types-section): New flag. | |
13663 | * doc/invoke.texi: Document new -fno-debug-types-section flag. | |
13664 | * dwarf2out.c (use_debug_types): New define. | |
13665 | (struct die_struct): Mark die_id with GTY desc use_debug_types. | |
13666 | (print_die): Guard output of type unit signatures using | |
13667 | use_debug_types. | |
13668 | (build_abbrev_table): Replace assert of dwarf_version >= 4 | |
13669 | with assert on use_debug_types. | |
13670 | (size_of_die): Likewise. | |
13671 | (unmark_dies): Likewise. | |
13672 | (value_format): Decide AT_ref_external form on use_debug_types. | |
13673 | (output_die): Replace dwarf_version version check guard with | |
13674 | use_debug_types where appropriate. | |
13675 | (modified_type_die): Likewise. | |
13676 | (gen_reference_type_die): Likewise. | |
13677 | (dwarf2out_start_source_file): Likewise. | |
13678 | (dwarf2out_end_source_file): Likewise. | |
13679 | (prune_unused_types_walk_attribs): Likewise. | |
13680 | (dwarf2out_finish): Likewise. | |
13681 | ||
4648deb4 VM |
13682 | 2011-03-30 Vladimir Makarov <vmakarov@redhat.com> |
13683 | ||
13684 | * ira-color.c (ira_assign_hard_reg): Use only one variable 'mode'. | |
13685 | ||
4f431835 RS |
13686 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
13687 | ||
13688 | PR rtl-optimization/48332 | |
13689 | * optabs.c (expand_binop_directly): Set xmodeN to the target-mandated | |
13690 | mode of input operand N and modeN to its actual mode. | |
13691 | ||
f2034d06 JL |
13692 | 2011-03-30 Jeff Law <law@redhat.com> |
13693 | ||
13694 | * reload.h (reg_equiv_constant): Move into new structure reg_equivs, | |
13695 | define accessor macro. | |
13696 | (reg_equiv_invariant, reg_equiv_memory_loc): Likewise. | |
13697 | (reg_equiv_address, reg_equiv_mem, reg_equiv_alt_mem_list): Likewise. | |
13698 | (reg_equiv_init): Likewise. | |
13699 | (reg_equivs_size): New variable. | |
13700 | (reg_equiv_init_size): Remove. | |
13701 | (allocate_initial_values): Move prototype to here from.... | |
13702 | * integrate.h (allocate_initial_values): Remove prototype. | |
13703 | * integrate.c: Include reload.h. | |
13704 | (allocate_initial_values): Corresponding changes. | |
13705 | * ira.c (find_reg_equiv_invariant_cost): Corresponding changes. | |
13706 | (fix_reg_equiv_init, no_equiv): Corresponding changes. | |
13707 | (update_equiv_regs): Corresponding changes. | |
13708 | (ira): Corresponding changes. | |
13709 | * reload.c (push_reg_equiv_alt_mem): Corresponding changes. | |
13710 | (push_secondary_reload): Corresponding changes. | |
13711 | (push_reload, find_reloads, find_reloads_toplev): Corresponding changes. | |
13712 | (make_memloc, find_reloads_address): Corresponding changes. | |
13713 | (subst_reg_equivs, subst_indexed_address): Corresponding changes. | |
13714 | (find_reloads_address_1): Corresponding changes. | |
13715 | (find_reloads_subreg_address, subst_reloads): Corresponding changes. | |
13716 | (refers_to_regno_for_reload_p): Corresponding changes. | |
13717 | (reg_overlap_mentioned_for_reload_p): Corresponding changes. | |
13718 | (refers_to_mem_for_reload_p, find_equiv_reg): Corresponding changes. | |
13719 | * reload1.c: Include ggc.h. | |
13720 | (grow_reg_equivs): New function. | |
13721 | (replace_pseudos_in, reload): Corresponding changes. | |
13722 | (calculate_needs_all_insns, alter_regs): Corresponding changes. | |
13723 | (eliminate_regs_1, elimination_effects): Corresponding changes. | |
13724 | (emit_input_reload_insns, emit_output_reload_insns): Likewise. | |
13725 | (delete_output_reload): Likewise. | |
13726 | * caller-save.c (mark_referenced_regs): Corresponding changes. | |
13727 | * alpha/alpha.c (resolve_reload_operand): Corresponding changes. | |
13728 | * frv/predicates.md (frv_load_operand): Corresponding changes. | |
13729 | * microblaze/microblaze.c (double_memory_operand): Corresponding | |
13730 | changes. | |
13731 | * avr/avr.h (LEGITIMIZE_RELOAD_ADDRESS): Corresponding changes. | |
13732 | * xtensa/xtensa.c (fixup_subreg_mem): Corresponding changes. | |
e9c18386 | 13733 | * mn10300/mn10300.c (mn10300_secondary_reload): Corresponding changes. |
f2034d06 JL |
13734 | * m68k/m68k.c (emit_move_sequence): Corresponding changes. |
13735 | * arm/arm.c (arm_reload_in_hi, arm_reload_out_hi): Corresponding | |
13736 | changes. | |
13737 | * pa/pa.c (emit_move_sequence): Corresponding changes. | |
13738 | * vax/vax.c (nonindexed_address_p): Corresponding changes. | |
13739 | ||
159b81b0 RS |
13740 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
13741 | ||
13742 | PR target/47551 | |
13743 | * config/arm/arm.c (coproc_secondary_reload_class): Handle | |
13744 | structure modes. Don't check neon_vector_mem_operand for | |
13745 | vector or structure modes. | |
13746 | ||
a6217191 RS |
13747 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
13748 | Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> | |
13749 | ||
13750 | PR target/43590 | |
13751 | * config/arm/neon.md (neon_vld3qa<mode>, neon_vld4qa<mode>): Remove | |
13752 | operand 1 and reshuffle the operands to match. | |
13753 | (neon_vld3<mode>, neon_vld4<mode>): Update accordingly. | |
13754 | ||
bd837408 CS |
13755 | 2011-03-30 Christian Schüler <cschueler@gmx.de> |
13756 | ||
6955d771 | 13757 | PR driver/48208 |
bd837408 | 13758 | * config/c.opt (F): Added 'Driver' to -F option. |
e9c18386 | 13759 | |
6955d771 | 13760 | PR driver/48260 |
bd837408 CS |
13761 | * config/darwin-driver.c (darwin_driver_init): Add '-arch' to |
13762 | handler function. | |
13763 | * config/darwin.opt: Added '-arch' option. | |
13764 | ||
e9c0470a NC |
13765 | 2011-03-30 Nick Clifton <nickc@redhat.com> |
13766 | ||
13767 | * config/rx/rx.md: Add peepholes and patterns to combine | |
13768 | extending loads and simple arithmetic instructions. | |
13769 | * config/rx/rx.h (ADJUST_INSN_LENGTH): Define. | |
e9c18386 UB |
13770 | * config/rx/rx-protos.h (rx_adjust_insn_length): Prototype. |
13771 | * config/rx/rx.c (rx_is_legitimate_address): Allow QI and HI | |
e9c0470a | 13772 | modes to use pre-decrement and post-increment addressing. |
e9c18386 | 13773 | (rx_is_restricted_memory_address): Add range checking of REG+INT |
e9c0470a | 13774 | addresses. |
e9c18386 UB |
13775 | (rx_print_operand): Add support for %Q. Fix handling of %Q. |
13776 | (rx_memory_move_cost): Adjust cost of stores. | |
13777 | (rx_adjust_insn_length): New function. | |
e9c0470a | 13778 | |
8a87e7ab JJ |
13779 | 2011-03-30 Jakub Jelinek <jakub@redhat.com> |
13780 | ||
13781 | PR c/48305 | |
13782 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure | |
13783 | arg10/arg11 in (X ^ Y) == (Z ^ W) are always fold converted to | |
13784 | matching arg00/arg01 types. | |
13785 | ||
12486e03 EB |
13786 | 2011-03-30 Eric Botcazou <ebotcazou@adacore.com> |
13787 | ||
13788 | * cfglayout.c (insn_locators_alloc): Initialize curr_location and | |
13789 | last_location to UNKNOWN_LOCATION. | |
13790 | ||
0b99eef6 L |
13791 | 2011-03-30 H.J. Lu <hongjiu.lu@intel.com> |
13792 | ||
13793 | PR target/48349 | |
13794 | * config/i386/i386.h (REG_CLASS_CONTENTS): Fix a typo in | |
13795 | FLOAT_SSE_REGS. | |
13796 | ||
023592aa JM |
13797 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
13798 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
13799 | ||
13800 | PR bootstrap/48337 | |
13801 | * config/sparc/sparc.opt (sparc_cpu_and_features): Add | |
13802 | Init(PROCESSOR_V7). | |
13803 | (sparc_cpu): Likewise. | |
13804 | * config/sparc/sparc.c (sparc_option_override): Replace 0 by | |
13805 | PROCESSOR_V7. | |
13806 | ||
ad3b266b VM |
13807 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
13808 | ||
13809 | PR target/48336 | |
13810 | PR middle-end/48342 | |
13811 | PR rtl-optimization/48345 | |
13812 | * ira-color.c (setup_conflict_profitable_regs): Exclude prohibited | |
13813 | hard regs for given mode from profitable regs when doing secondary | |
13814 | allocation. | |
13815 | ||
633c9126 JL |
13816 | 2011-03-29 Jeff Law <law@redhat.com> |
13817 | ||
13818 | PR bootstrap/48327 | |
13819 | * tree-ssa-threadupdate.c (struct redirection_data): Remove | |
13820 | do_not_duplicate field. | |
13821 | (lookup_redirection_data): Corresponding changes. | |
13822 | (create_duplicates): Always create a template block. | |
13823 | (redirect_edges): Remove code which reused the original block | |
13824 | when it was going to become unreachable code. | |
13825 | (thread_block): Don't set do_not_duplicate field. | |
13826 | ||
eb50f63a JM |
13827 | 2011-03-29 Joseph Myers <joseph@codesourcery.com> |
13828 | ||
13829 | * lto-opts.c (register_user_option_p, lto_register_user_option): | |
13830 | Make type argument unsigned. | |
13831 | * lto-streamer.h (lto_register_user_option): Make type argument | |
13832 | unsigned. | |
13833 | * opth-gen.awk: Make CL_* macros unsigned. | |
13834 | * opts-common.c (find_opt): Make lang_mask argument unsigned. | |
13835 | * opts.h (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_DRIVER, | |
13836 | CL_TARGET, CL_COMMON, CL_SEPARATE_NARGS_MASK, CL_SEPARATE_ALIAS, | |
13837 | CL_NO_DRIVER_ARG, CL_REJECT_DRIVER, CL_SAVE, CL_DISABLED, | |
13838 | CL_REPORT, CL_JOINED, CL_SEPARATE, CL_REJECT_NEGATIVE, | |
13839 | CL_MISSING_OK, CL_UINTEGER, CL_UNDOCUMENTED): Make unsigned. | |
13840 | (find_opt): Make lang_mask argument unsigned. | |
13841 | ||
76763a6d VM |
13842 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
13843 | ||
13844 | PR rtl-optimization/48331 | |
13845 | PR rtl-optimization/48334 | |
13846 | * ira-color.c (color_allocnos): Call setup_profitable_hard_regs | |
13847 | for any used algorithm. | |
13848 | ||
5c82436e VM |
13849 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
13850 | ||
13851 | * ira-conflicts.c (build_object_conflicts): Add unused attribute | |
13852 | to parent_max. | |
13853 | ||
7a81008b UB |
13854 | 2011-03-29 Uros Bizjak <ubizjak@gmail.com> |
13855 | ||
13856 | * config/alpha/alpha.c (alpha_sr_alias_set): Don't define. | |
13857 | (alpha_option_override): Don't set alpha_sr_alias_set. | |
13858 | (emit_frame_store_1): Use gen_frame_mem rather than calling | |
13859 | set_mem_alias_set. | |
13860 | (alpha_expand_epilogue): Ditto. | |
13861 | ||
86c8d1f6 IR |
13862 | 2011-03-29 Ira Rosen <ira.rosen@linaro.org> |
13863 | ||
13864 | PR tree-optimization/48290 | |
13865 | * tree-vect-loop.c (vect_analyze_loop_operations): In outer loop | |
13866 | vectorization, check that relevant phis in the basic block after | |
13867 | the inner loop are really inner loop's exit phis. | |
13868 | ||
0d12220f RS |
13869 | 2011-03-29 Richard Sandiford <richard.sandiford@linaro.org> |
13870 | ||
e8cf17e7 | 13871 | PR debug/48190 |
0d12220f RS |
13872 | * dwarf2out.c (dw_loc_list_node): Add resolved_addr and replaced. |
13873 | (cached_dw_loc_list_def): New structure. | |
13874 | (cached_dw_loc_list): New typedef. | |
13875 | (cached_dw_loc_list_table): New variable. | |
13876 | (cached_dw_loc_list_table_hash): New function. | |
13877 | (cached_dw_loc_list_table_eq): Likewise. | |
13878 | (add_location_or_const_value_attribute): Take a bool cache_p. | |
13879 | Cache the list when the parameter is true. | |
13880 | (gen_formal_parameter_die): Update caller. | |
13881 | (gen_variable_die): Likewise. | |
13882 | (dwarf2out_finish): Likewise. | |
13883 | (dwarf2out_abstract_function): Nullify cached_dw_loc_list_table | |
13884 | while generating debug info for the decl. | |
13885 | (dwarf2out_function_decl): Clear cached_dw_loc_list_table. | |
13886 | (dwarf2out_init): Initialize cached_dw_loc_list_table. | |
13887 | (resolve_addr): Cache the result of resolving a chain of | |
13888 | location lists. | |
13889 | ||
1756cb66 VM |
13890 | 2011-03-28 Vladimir Makarov <vmakarov@redhat.com> |
13891 | ||
13892 | * ira-color.c (update_left_conflict_sizes_p): Don't assume that | |
13893 | conflict object hard regset nodes have intersecting hard reg sets. | |
7a81008b | 13894 | |
1756cb66 VM |
13895 | * regmove.c (regmove_optimize): Move ira_set_pseudo_classes call |
13896 | after regstat_init_n_sets_and_refs. | |
13897 | ||
13898 | * ira.c: Add more comments at the top. | |
13899 | (setup_stack_reg_pressure_class, setup_pressure_classes): | |
13900 | Add comments how we compute the register pressure classes. | |
13901 | (setup_allocno_and_important_classes): Add more comments. | |
13902 | (setup_class_translate_array, reorder_important_classes) | |
13903 | (setup_reg_class_relations): Add comments. | |
13904 | ||
13905 | * ira-emit.c: Add 2011 to the Copyright line. Add comments at the | |
13906 | start of the file. | |
13907 | ||
13908 | * ira-color.c: Add 2011 to the Copyright line. | |
13909 | (assign_hard_reg): Add more comments. | |
13910 | (improve_allocation): Ditto. | |
13911 | ||
13912 | * ira-costs.c: Add 2011 to the Copyright line. | |
13913 | (setup_cost_classes, setup_regno_cost_classes_by_aclass): Add more | |
13914 | comments. | |
13915 | (setup_regno_cost_classes_by_mode): Ditto. | |
13916 | ||
13917 | Initial patches from ira-improv branch: | |
13918 | ||
13919 | 2010-08-13 Vladimir Makarov <vmakarov@redhat.com> | |
13920 | ||
f60c2554 | 13921 | * ira-build.c (ira_create_object): Remove initialization of |
1756cb66 VM |
13922 | OBJECT_PROFITABLE_HARD_REGS. Initialize OBJECT_ADD_DATA. |
13923 | (ira_create_allocno): Remove initialization of | |
13924 | ALLOCNO_MEM_OPTIMIZED_DEST, ALLOCNO_MEM_OPTIMIZED_DEST_P, | |
13925 | ALLOCNO_SOMEWHERE_RENAMED_P, ALLOCNO_CHILD_RENAMED_P, | |
13926 | ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P, ALLOCNO_COLORABLE_P, | |
13927 | ALLOCNO_NEXT_BUCKET_ALLOCNO, ALLOCNO_PREV_BUCKET_ALLOCNO, | |
13928 | ALLOCNO_FIRST_COALESCED_ALLOCNO, ALLOCNO_NEXT_COALESCED_ALLOCNO. | |
13929 | Initialize ALLOCNO_ADD_DATA. | |
13930 | (copy_info_to_removed_store_destinations): Use ALLOCNO_EMIT_DATA | |
13931 | and allocno_emit_reg instead of ALLOCNO_MEM_OPTIMIZED_DEST_P and | |
13932 | ALLOCNO_REG. | |
13933 | (ira_flattening): Ditto. Use ALLOCNO_EMIT_DATA instead of | |
13934 | ALLOCNO_MEM_OPTIMIZED_DEST and ALLOCNO_SOMEWHERE_RENAMED_P. | |
13935 | ||
13936 | * ira.c (ira_reallocate): Remove. | |
13937 | (setup_pressure_classes): Call | |
13938 | ira_init_register_move_cost_if_necessary. Use | |
13939 | ira_register_move_cost instead of ira_get_register_move_cost. | |
13940 | (setup_allocno_assignment_flags): Use ALLOCNO_EMIT_DATA. | |
13941 | (ira): Call ira_initiate_emit_data and ira_finish_emit_data. | |
13942 | ||
13943 | * ira-color.c: Use ALLOCNO_COLOR_DATA instead of | |
13944 | ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P, ALLOCNO_COLORABLE_P, | |
13945 | ALLOCNO_AVAILABLE_REGS_NUM, ALLOCNO_NEXT_BUCKET_ALLOCNO, | |
13946 | ALLOCNO_PREV_BUCKET_ALLOCNO. ALLOCNO_TEMP. Use OBJECT_COLOR_DATA | |
13947 | instead of OBJECT_PROFITABLE_HARD_REGS, OBJECT_HARD_REGS_NODE, | |
13948 | OBJECT_HARD_REGS_SUBNODES_START, OBJECT_HARD_REGS_SUBNODES_NUM. | |
13949 | Fix formatting. | |
7a81008b | 13950 | (object_hard_regs_t, object_hard_regs_node_t): Move from ira-int.h. |
1756cb66 VM |
13951 | (struct object_hard_regs, struct object_hard_regs_node): Ditto. |
13952 | (struct allocno_color_data): New. | |
13953 | (allocno_color_data_t): New typedef. | |
13954 | (allocno_color_data): New definition. | |
13955 | (ALLOCNO_COLOR_DATA): New macro. | |
13956 | (struct object_color_data): New. | |
13957 | (object_color_data_t): New typedef. | |
13958 | (object_color_data): New definition. | |
13959 | (OBJECT_COLOR_DATA): New macro. | |
13960 | (update_copy_costs, calculate_allocno_spill_cost): Call | |
13961 | ira_init_register_move_cost_if_necessary. Use | |
13962 | ira_register_move_cost instead of ira_get_register_move_cost. | |
13963 | (move_spill_restore, update_curr_costs): Ditto. | |
13964 | (allocno_spill_priority): Make it inline. | |
7a81008b | 13965 | (color_pass): Allocate and free allocno_color_dat and object_color_data. |
1756cb66 VM |
13966 | (struct coalesce_data, coalesce_data_t): New. |
13967 | (allocno_coalesce_data): New definition. | |
13968 | (ALLOCNO_COALESCE_DATA): New macro. | |
13969 | (merge_allocnos, coalesced_allocno_conflict_p): Use | |
13970 | ALLOCNO_COALESCED_DATA instead of ALLOCNO_FIRST_COALESCED_ALLOCNO, | |
13971 | ALLOCNO_NEXT_COALESCED_ALLOCNO, ALLOCNO_TEMP. | |
13972 | (coalesce_allocnos): Ditto. | |
13973 | (setup_coalesced_allocno_costs_and_nums): Ditto. | |
13974 | (collect_spilled_coalesced_allocnos): Ditto. | |
13975 | (slot_coalesced_allocno_live_ranges_intersect_p): Ditto. | |
13976 | (setup_slot_coalesced_allocno_live_ranges): Ditto. | |
13977 | (coalesce_spill_slots): Ditto. | |
13978 | (ira_sort_regnos_for_alter_reg): Ditto. Allocate, initialize and | |
13979 | free allocno_coalesce_data. | |
13980 | ||
13981 | * ira-conflicts.c: Fix formatting. | |
13982 | (process_regs_for_copy): Call | |
13983 | ira_init_register_move_cost_if_necessary. Use | |
13984 | ira_register_move_cost instead of ira_get_register_move_cost. | |
13985 | (build_object_conflicts): Optimize. | |
13986 | ||
13987 | * ira-costs.c (record_reg_classes): Optimize. Call | |
13988 | ira_init_register_move_cost_if_necessary. Use | |
13989 | ira_register_move_cost, ira_may_move_in_cost, and | |
13990 | ira_may_move_out_cost instead of ira_get_register_move_cost and | |
13991 | ira_get_may_move_cost. | |
13992 | (record_address_regs): Ditto. | |
13993 | (scan_one_insn): Optimize. | |
13994 | (find_costs_and_classes): Optimize. | |
13995 | (process_bb_node_for_hard_reg_moves): Call | |
13996 | ira_init_register_move_cost_if_necessary. Use | |
13997 | ira_register_move_cost instead of ira_get_register_move_cost. | |
13998 | ||
13999 | * ira-emit.c: Use allocno_emit_reg, ALLOCNO_EMIT_DATA instead of | |
14000 | ALLOCNO_REG, ALLOCNO_CHILD_RENAMED_P, ALLOCNO_MEM_OPTIMIZED_DEST, | |
14001 | ALLOCNO_MEM_OPTIMIZED_DEST_P, and ALLOCNO_SOMEWHERE_RENAMED_P. | |
14002 | (ira_allocno_emit_data, void_p, new_allocno_emit_data_vec): New | |
14003 | definitions. | |
14004 | (ira_initiate_emit_data, ira_finish_emit_data) | |
14005 | (create_new_allocno): New functions. | |
7a81008b | 14006 | (modify_move_list): Call create_new_alloc instead of ira_create_allocno. |
1756cb66 VM |
14007 | (emit_move_list): Call ira_init_register_move_cost_if_necessary. |
14008 | Use ira_register_move_cost instead of ira_get_register_move_cost. | |
14009 | ||
14010 | * ira-int.h: Fix some comments. | |
7a81008b UB |
14011 | (object_hard_regs_t, object_hard_regs_node_t): Move to ira-color.c. |
14012 | (struct object_hard_regs, struct object_hard_regs_node): Ditto. | |
1756cb66 VM |
14013 | (struct ira_object): Remove profitable_hard_regs, hard_regs_node, |
14014 | hard_regs_subnodes_start, hard_regs_subnodes_num. Add new member | |
14015 | add_data. | |
14016 | (struct ira_allocno): Make mode and aclass a bitfield. Move other | |
14017 | bitfield after mode. Make hard_regno a short int. Make | |
14018 | hard_regno short. Remove first_coalesced_allocno and | |
14019 | next_coalesced_allocno. Move mem_optimized_dest_p, | |
14020 | somewhere_renamed_p, child_renamed_p, reg, and mem_optimized_dest | |
14021 | into struct ira_emit_data. Remove in_graph_p, may_be_spilled_p, | |
14022 | available_regs_num, next_bucket_allocno, prev_bucket_allocno, | |
14023 | temp, colorable_p. Add new member add_data. | |
14024 | (ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P): Remove. | |
14025 | (ALLOCNO_COLORABLE_P, ALLOCNO_AVAILABLE_REGS_NUM): Remove. | |
14026 | (ALLOCNO_NEXT_BUCKET_ALLOCNO, ALLOCNO_PREV_BUCKET_ALLOCNO): Remove. | |
14027 | (ALLOCNO_TEMP, ALLOCNO_FIRST_COALESCED_ALLOCNO): Remove. | |
14028 | (ALLOCNO_NEXT_COALESCED_ALLOCNO): Remove. | |
14029 | (ALLOCNO_ADD_DATA): New macro. | |
14030 | (ira_emit_data_t): New typedef. | |
14031 | (struct ira_emit_data): New. Move mem_optimized_dest_p, | |
14032 | somewhere_renamed_p, child_renamed_p, reg, mem_optimized_dest | |
14033 | from struct ira_allocno. | |
14034 | (ALLOCNO_EMIT_DATA): New macro. | |
14035 | (ira_allocno_emit_data, allocno_emit_reg): New. | |
14036 | (ALLOCNO_PROFITABLE_HARD_REGS, OBJECT_HARD_REGS_NODE): Remove. | |
7a81008b | 14037 | (OBJECT_HARD_REGS_SUBNODES_STAR, OBJECT_HARD_REGS_SUBNODES_NUM): Remove. |
1756cb66 VM |
14038 | (OBJECT_ADD_DATA): New macro. |
14039 | (ira_reallocate): Remove. | |
14040 | (ira_initiate_emit_data, ira_finish_emit_data): New. | |
14041 | (ira_get_register_move_cost, ira_get_may_move_cost): Remove. | |
14042 | (ira_init_register_move_cost_if_necessary): New. | |
14043 | (ira_object_conflict_iter_next): Merge into | |
14044 | ira_object_conflict_iter_cond. | |
7a81008b | 14045 | (FOR_EACH_OBJECT_CONFLICT): Don't use ira_object_conflict_iter_next. |
1756cb66 | 14046 | |
f60c2554 | 14047 | * ira-live.c (process_single_reg_class_operands): Call |
1756cb66 VM |
14048 | ira_init_register_move_cost_if_necessary. Use |
14049 | ira_register_move_cost instead of ira_get_register_move_cost. | |
14050 | ||
14051 | 2010-08-13 Vladimir Makarov <vmakarov@redhat.com> | |
14052 | ||
14053 | * ira-int.h (struct target_ira_int): Remove x_cost_classes. | |
14054 | ||
14055 | * ira-costs.c: Fix formatting. | |
14056 | (cost_classes, cost_classes_num): Remove. | |
14057 | (struct cost_classes, cost_classes_t, const_cost_classes_t): New. | |
14058 | (regno_cost_classes, cost_classes_hash, cost_classes_eq): New. | |
14059 | (cost_classes_del, cost_classes_htab): New. | |
14060 | (cost_classes_aclass_cache, cost_classes_mode_cache): New. | |
14061 | (initiate_regno_cost_classes, setup_cost_classes): New. | |
14062 | (setup_regno_cost_classes_by_aclass): New. | |
7a81008b | 14063 | (setup_regno_cost_classes_by_mode, finish_regno_cost_classes): New. |
1756cb66 VM |
14064 | (record_reg_classes): Use regno_cost_classes instead of |
14065 | cost_classes. Move checking opposite operand up. | |
14066 | (record_address_regs): Use regno_cost_classes | |
14067 | instead of cost_classes. | |
14068 | (scan_one_insn): Ditto. Use always general register. | |
14069 | (print_allocno_costs): Use regno_cost_classes instead of | |
14070 | cost_classes. | |
14071 | (print_pseudo_costs): Ditto. Use Reg_N_REFS. | |
14072 | (find_costs_and_classes): Set up cost classes for each registers. | |
14073 | Use also their mode for this. Use regno_cost_classes instead of | |
14074 | cost_classes. | |
14075 | (setup_allocno_class_and_costs): Use regno_cost_classes instead of | |
14076 | cost_classes. | |
14077 | (free_ira_costs, ira_init_costs): Don't use cost_classes. | |
14078 | (ira_costs, ira_set_pseudo_classes): Call | |
14079 | initiate_regno_cost_classes and finish_regno_cost_classes. | |
14080 | ||
14081 | 2010-10-04 Vladimir Makarov <vmakarov@redhat.com> | |
14082 | ||
14083 | * target-def.h (TARGET_IRA_COVER_CLASSES): Remove. | |
14084 | ||
14085 | * target.def (ira_cover_classes): Remove. | |
14086 | ||
7a81008b | 14087 | * doc/tm.texi: Remove TARGET_IRA_COVER_CLASSES and IRA_COVER_CLASSES. |
1756cb66 VM |
14088 | |
14089 | * doc/tm.texi.in: Ditto. | |
14090 | ||
14091 | * ira-conflicts.c: Remove mentioning cover classes from the file. | |
14092 | Use ALLOCNO_CLASS instead of ALLOCNO_COVER_CLASS. Use | |
7a81008b | 14093 | ALLOCNO_COVER_CLASS_COST instead of ALLOCNO_CLASS_COST. Fix formatting. |
1756cb66 VM |
14094 | |
14095 | * targhooks.c (default_ira_cover_classes): Remove. | |
14096 | ||
14097 | * targhooks.h (default_ira_cover_classes): Ditto. | |
14098 | ||
14099 | * haifa-sched.c: Remove mentioning cover classes from the file. | |
14100 | Use ira_reg_pressure_cover instead of ira_reg_class_cover. Use | |
14101 | ira_pressure_classes and ira_pressure_classes_num instead of | |
14102 | ira_reg_class_cover_size and ira_reg_class_cover. Use | |
14103 | sched_regno_pressure_class instead of sched_regno_cover_class. | |
14104 | (mark_regno_birth_or_death, setup_insn_reg_pressure_info): Use | |
14105 | ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
14106 | ||
14107 | * ira-int.h: Add 2010 to Copyright. Remove mentioning cover | |
14108 | classes from the file. | |
14109 | (object_hard_regs_t, object_hard_regs_node_t): New typedefs. | |
14110 | (struct object_hard_regs, struct object_hard_regs_node): New. | |
14111 | (struct ira_object): New members profitable_hard_regs, | |
14112 | hard_regs_node, hard_regs_subnodes_start, hard_regs_subnodes_num. | |
14113 | (struct ira_allocno): Rename cover_class to aclass. Rename | |
14114 | cover_class_cost and updated_cover_class_cost to class_cost and | |
14115 | updated_class_cost. Remove splay_removed_p and | |
14116 | left_conflict_size. Add new members colorable_p. | |
14117 | (ALLOCNO_SPLAY_REMOVED_P, ALLOCNO_LEFT_CONFLICTS_SIZE): Remove. | |
14118 | (ALLOCNO_COLORABLE_P): New macro. | |
14119 | (ALLOCNO_COVER_CLASS): Rename to ALLOCNO_CLASS. | |
14120 | (ALLOCNO_COVER_CLASS_COST, ALLOCNO_UPDATED_COVER_CLASS_COST): | |
14121 | Rename to ALLOCNO_CLASS_COST and ALLOCNO_UPDATED__CLASS_COST. | |
14122 | (OBJECT_...): Rename parameter C to O. | |
14123 | (OBJECT_PROFITABLE_HARD_REGS): New macro. | |
14124 | (OBJECT_HARD_REGS_NODE, OBJECT_HARD_REGS_SUBNODES_START) | |
14125 | (OBJECT_HARD_REGS_SUBNODES_NUM): New macros. | |
14126 | (struct target_ira_int): New members x_ira_max_memory_move_cost, | |
14127 | x_ira_max_register_move_cost, x_ira_max_may_move_in_cost, | |
14128 | x_ira_max_may_move_out_cost, x_ira_reg_allocno_class_p, | |
14129 | x_ira_reg_pressure_class_p, x_ira_important_class_nums, | |
14130 | x_ira_reg_class_superunion. Rename x_prohibited_class_mode_reg to | |
14131 | x_ira_prohibited_class_mode_reg. Rename x_ira_reg_class_union to | |
14132 | x_ira_reg_class_subunion. | |
14133 | (ira_max_memory_move_cost, ira_max_register_move_cost) | |
14134 | (ira_max_may_move_in_cost, ira_max_may_move_out_cost) | |
14135 | (ira_reg_allocno_class_p, ira_reg_pressure_class_p) | |
14136 | (ira_important_class_nums, ira_reg_class_superunion): New macros. | |
7a81008b | 14137 | (prohibited_class_mode_regs): Rename to ira_prohibited_class_mode_regs. |
1756cb66 VM |
14138 | (ira_reg_class_union): Rename to ira_reg_class_subunion. |
14139 | (ira_debug_class_cover): Rename to ira_debug_allocno_classes. | |
14140 | (ira_set_allocno_cover_class): Rename to ira_set_allocno_class. | |
14141 | (ira_tune_allocno_costs_and_cover_classes): Rename to | |
14142 | ira_tune_allocno_costs. | |
14143 | (ira_debug_hard_regs_forest): New. | |
14144 | (ira_object_conflict_iter_init, ira_object_conflict_iter_cond) | |
14145 | (ira_object_conflict_iter_next): Fix comments. | |
7a81008b | 14146 | (ira_hard_reg_set_intersection_p, hard_reg_set_size): New functions. |
1756cb66 VM |
14147 | (ira_allocate_and_set_costs, ira_allocate_and_copy_costs): Rename |
14148 | cover_class to aclass. | |
14149 | (ira_allocate_and_accumulate_costs): Ditto. | |
14150 | (ira_allocate_and_set_or_copy_costs): Ditto. | |
14151 | ||
14152 | * opts.c (decode_options): Remove ira_cover_class check. | |
14153 | ||
14154 | * ira-color.c: Remove mentioning cover classes from the file. Use | |
14155 | ALLOCNO_CLASS, ALLOCNO_CLASS_COST, and ALLOCNO_UPDATED_CLASS_COST | |
14156 | instead of ALLOCNO_COVER_CLASS, ALLOCNO_COVER_CLASS_COST, and | |
14157 | ALLOCNO_UPDATED_COVER_CLASS_COST. Fix formatting. | |
14158 | (splay-tree.h): Remove include. | |
14159 | (allocno_coalesced_p, processed_coalesced_allocno_bitmap): Move | |
14160 | before copy_freq_compare_func. | |
14161 | (allocnos_for_spilling, removed_splay_allocno_vec): Remove. | |
14162 | (object_hard_regs_vec, object_hard_regs_htab, node_check_tick): | |
14163 | New definitions. | |
14164 | (hard_regs_roots, hard_regs_node_vec): Ditto. | |
14165 | (object_hard_regs_hash, object_hard_regs_eq, find_hard_regs): Ditto. | |
14166 | (insert_hard_regs, init_object_hard_regs, add_object_hard_regs): Ditto. | |
14167 | (finish_object_hard_regs, object_hard_regs_compare): Ditto. | |
14168 | (create_new_object_hard_regs_node): Ditto. | |
14169 | (add_new_object_hard_regs_node_to_forest): Ditto. | |
7a81008b | 14170 | (add_object_hard_regs_to_forest, collect_object_hard_regs_cover): Ditto. |
1756cb66 VM |
14171 | (setup_object_hard_regs_nodes_parent, first_common_ancestor_node): |
14172 | Ditto. | |
14173 | (print_hard_reg_set, print_hard_regs_subforest): Ditto. | |
14174 | (print_hard_regs_forest, ira_debug_hard_regs_forest): Ditto. | |
14175 | (remove_unused_object_hard_regs_nodes): Ditto. | |
14176 | (enumerate_object_hard_regs_nodes): Ditto. | |
14177 | (object_hard_regs_nodes_num, object_hard_regs_nodes): Ditto. | |
14178 | (object_hard_regs_subnode_t): Ditto. | |
14179 | (struct object_hard_regs_subnode): Ditto. | |
14180 | (object_hard_regs_subnodes, object_hard_regs_subnode_index): Ditto. | |
14181 | (setup_object_hard_regs_subnode_index): Ditto. | |
14182 | (get_object_hard_regs_subnodes_num): Ditto. | |
14183 | (form_object_hard_regs_nodes_forest): Ditto. | |
14184 | (finish_object_hard_regs_nodes_tree): Ditto. | |
14185 | (finish_object_hard_regs_nodes_forest): Ditto. | |
14186 | (allocnos_have_intersected_live_ranges_p): Rename to | |
7a81008b | 14187 | allocnos_conflict_by_live_ranges_p. Move before copy_freq_compare_func. |
1756cb66 VM |
14188 | (pseudos_have_intersected_live_ranges_p): Rename to |
14189 | conflict_by_live_ranges_p. Move before copy_freq_compare_func. | |
14190 | (setup_left_conflict_sizes_p, update_left_conflict_sizes_p): Ditto. | |
14191 | (empty_profitable_hard_regs, setup_profitable_hard_regs): Ditto. | |
14192 | (update_copy_costs): Remove assert. Skip cost update if the hard | |
14193 | reg does not belong the class. | |
14194 | (assign_hard_reg): Process only profitable hard regs. | |
14195 | (uncolorable_allocnos_num): Make it scalar. | |
14196 | (allocno_spill_priority): Use ALLOCNO_EXCESS_PRESSURE_POINTS_NUM | |
14197 | and ira_reg_class_max_nregs instead of ALLOCNO_LEFT_CONFLICTS_SIZE | |
14198 | and ira_reg_class_max_nregs. | |
14199 | (bucket_allocno_compare_func): Check frequency first. | |
14200 | (sort_bucket): Add compare function as a parameter. | |
14201 | (add_allocno_to_ordered_bucket): Assume no coalesced allocnos. | |
14202 | (uncolorable_allocnos_splay_tree, USE_SPLAY_P): Remove. | |
14203 | (push_allocno_to_stack): Rewrite for checking new allocno | |
14204 | colorability. | |
7a81008b | 14205 | (remove_allocno_from_bucket_and_push): Print cost too. Remove assert. |
1756cb66 VM |
14206 | (push_only_colorable): Pass new parameter to sort_bucket. |
14207 | (push_allocno_to_spill): Remove. | |
14208 | (allocno_spill_priority_compare): Make it inline and rewrite. | |
14209 | (splay_tree_allocate, splay_tree_free): Remove. | |
14210 | (allocno_spill_sort_compare): New function. | |
14211 | (push_allocnos_to_stack): Sort allocnos for spilling once. Don't | |
14212 | build and use splay tree. Choose first allocno in uncolorable | |
14213 | allocno bucket to spill. Remove setting spill cost. | |
14214 | (all_conflicting_hard_regs): Remove. | |
14215 | (setup_allocno_available_regs_num): Check only profitable hard | |
14216 | regs. Print info about hard regs nodes. | |
14217 | (setup_allocno_left_conflicts_size): Remove. | |
14218 | (put_allocno_into_bucket): Don't call | |
7a81008b | 14219 | setup_allocno_left_conflicts_size. Use setup_left_conflict_sizes_p. |
1756cb66 VM |
14220 | (improve_allocation): New. |
14221 | (color_allocnos): Call setup_profitable_hard_regs, | |
14222 | form_object_hard_regs_nodes_forest, improve_allocation, | |
14223 | finish_object_hard_regs_nodes_forest. Setup spill cost. | |
14224 | (print_loop_title): Use pressure classes. | |
14225 | (color_allocnso): Ditto. | |
14226 | (do_coloring): Remove allocation and freeing splay_tree_node_pool | |
14227 | and allocnos_for_spilling. | |
14228 | (ira_sort_regnos_for_alter_reg): Don't setup members | |
14229 | {first,next}_coalesced_allocno. | |
14230 | (color): Remove allocating and freeing removed_splay_allocno_vec. | |
14231 | (fast_allocation): Use ira_prohibited_class_mode_regs instead of | |
14232 | prohibited_class_mode_regs. | |
14233 | ||
14234 | * ira-lives.c: Remove mentioning cover classes from the file. Fix | |
14235 | formatting. | |
14236 | (update_allocno_pressure_excess_length): Use pressure classes. | |
14237 | (inc_register_pressure, dec_register_pressure): Check for pressure | |
14238 | class. | |
14239 | (mark_pseudo_regno_live, mark_pseudo_regno_subword_live): Use | |
14240 | pressure class. Use ira_reg_class_nregs instead of | |
14241 | ira_reg_class_max_nregs. | |
14242 | (mark_pseudo_regno_dead, mark_pseudo_regno_subword_dead): Ditto. | |
14243 | (mark_hard_reg_live, mark_hard_reg_dead): Use pressure class. | |
14244 | (single_reg_class): Use ira_reg_class_nregs instead of | |
14245 | ira_reg_class_max_nregs. | |
14246 | (process_bb_node_lives): Use pressure classes. | |
14247 | ||
14248 | * ira-emit.c: Remove mentioning cover classes from the file. Use | |
14249 | ALLOCNO_CLASS instead of ALLOCNO_COVER_CLASS. Fix formatting. | |
14250 | (change_loop): Use pressure classes. | |
14251 | (modify_move_list): Call ira_set_allocno_class instead of | |
14252 | ira_set_allocno_cover_class. | |
14253 | ||
14254 | * ira-build.c: Remove mentioning cover classes from the file. Use | |
14255 | ALLOCNO_CLASS and ALLOCNO_CLASS_COST instead of | |
14256 | ALLOCNO_COVER_CLASS and ALLOCNO_COVER_CLASS_COST. Use | |
14257 | ALLOCNO_UPDATED_CLASS_COST instead of | |
14258 | ALLOCNO_UPDATED_COVER_CLASS_COST. Fix formatting. | |
14259 | (ira_create_object): Initiate OBJECT_PROFITABLE_HARD_REGS. | |
14260 | (ira_create_allocno): Remove initialization of | |
14261 | ALLOCNO_SPLAY_REMOVED_P, ALLOCNO_LEFT_CONFLICT_SIZE. Initialize | |
14262 | ALLOCNO_COLORABLE_P. | |
14263 | (ira_set_allocno_cover_class): Rename to ira_set_allocno_class. | |
14264 | Update conflict regs for the objects. | |
14265 | (create_cap_allocno): Remove assert. Don't propagate | |
14266 | ALLOCNO_AVAILABLE_REGS_NUM. | |
14267 | (ira_free_allocno_costs): New function. | |
14268 | (finish_allocno): Change a part of code into call of | |
14269 | ira_free_allocno_costs. | |
14270 | (low_pressure_loop_node_p): Use pressure classes. | |
14271 | (object_range_compare_func): Don't compare classes. | |
14272 | (setup_min_max_conflict_allocno_ids): Ditto. | |
14273 | ||
14274 | * loop-invariant.c: Remove mentioning cover classes from the file. | |
14275 | Use ira_pressure_classes and ira_pressure_classes_num instead of | |
14276 | ira_reg_class_cover_size and ira_reg_class_cover. Fix formatting. | |
7a81008b UB |
14277 | (get_cover_class_and_nregs): Rename to get_cover_pressure_and_nregs. |
14278 | Use ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
14279 | Use reg_allocno_class instead of reg_cover_class. | |
1756cb66 VM |
14280 | (get_inv_cost): Use instead ira_stack_reg_pressure_class of |
14281 | STACK_REG_COVER_CLASS. | |
14282 | (get_regno_cover_class): Rename to get_regno_pressure_class. | |
14283 | (move_loop_invariants): Initialize and finalize regstat. | |
14284 | ||
14285 | * ira.c: Remove mentioning cover classes from the file. Add | |
14286 | comments about coloring without cover classes. Use ALLOCNO_CLASS | |
14287 | instead of ALLOCNO_COVER_CLASS. Fix formatting. | |
14288 | (alloc_reg_class_subclasses, setup_reg_subclasses): Move it before | |
14289 | setup_class_subset_and_memory_move_costs. | |
14290 | (setup_stack_reg_pressure_class, setup_pressure_classes): New. | |
14291 | (setup_cover_and_important_classes): Rename to | |
14292 | setup_allocno_and_important_classes. | |
14293 | (setup_class_translate_array): New. | |
14294 | (setup_class_translate): Call it for allocno and pressure classes. | |
14295 | (cover_class_order): Rename to allocno_class_order. | |
14296 | (comp_reg_classes_func): Use ira_allocno_class_translate instead | |
14297 | of ira_class_translate. | |
14298 | (reorder_important_classes): Set up ira_important_class_nums. | |
14299 | (setup_reg_class_relations): Set up ira_reg_class_superunion. | |
14300 | (print_class_cover): Rename to print_classes. Add parameter. | |
14301 | (ira_debug_class_cover): Rename to ira_debug_allocno_classes. | |
14302 | Print pressure classes too. | |
14303 | (find_reg_class_closure): Rename to find_reg_classes. Don't call | |
14304 | setup_reg_subclasses. | |
7a81008b | 14305 | (ira_hard_regno_cover_class): Rename to ira_hard_regno_allocno_class. |
1756cb66 VM |
14306 | (ira_reg_class_nregs): Rename to ira_reg_class_max_nregs. |
14307 | (setup_prohibited_class_mode_regs): Use | |
7a81008b | 14308 | ira_prohibited_class_mode_regs instead of prohibited_class_mode_regs. |
1756cb66 VM |
14309 | (clarify_prohibited_class_mode_regs): New function. |
14310 | (ira_init_register_move_cost): Set up ira_max_register_move_cost, | |
14311 | ira_max_may_move_in_cost, and ira_max_may_move_out_cost. | |
14312 | (ira_init_once): Initialize them. | |
14313 | (free_register_move_costs): Process them. | |
14314 | (ira_init): Move calls of find_reg_classes and | |
14315 | setup_hard_regno_aclass after setup_prohibited_class_mode_regs. | |
14316 | Call clarify_prohibited_class_mode_regs. | |
14317 | (ira_no_alloc_reg): Remove. | |
14318 | (too_high_register_pressure_p): Use pressure classes. | |
14319 | ||
14320 | * sched-deps.c: Remove mentioning cover classes from the file. | |
14321 | Use ira_reg_pressure_cover instead of ira_reg_class_cover. Use | |
14322 | ira_pressure_classes and ira_pressure_classes_num instead of | |
14323 | ira_reg_class_cover_size and ira_reg_class_cover. | |
14324 | (mark_insn_hard_regno_birth, mark_hard_regno_death): Use | |
14325 | sched_regno_pressure_class instead of sched_regno_cover_class. | |
14326 | (mark_insn_pseudo_birth, mark_pseudo_death): Ditto. Use | |
14327 | ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
14328 | ||
14329 | * ira.h: Add 2010 to Copyright. | |
14330 | (ira_no_alloc_reg): Remove external. | |
14331 | (struct target_ira): Rename x_ira_hard_regno_cover_class, | |
14332 | x_ira_reg_class_cover_size, x_ira_reg_class_cover, and | |
14333 | x_ira_class_translate to x_ira_hard_regno_allocno_class, | |
14334 | x_ira_allocno_classes_num, x_ira_allocno_classes, and | |
14335 | x_ira_allocno_class_translate. Add x_ira_pressure_classes_num, | |
14336 | x_ira_pressure_classes, x_ira_pressure_class_translate, and | |
14337 | x_ira_stack_reg_pressure_class. Rename x_ira_reg_class_nregs to | |
14338 | x_ira_reg_class_max_nregs. Add x_ira_reg_class_min_nregs and | |
14339 | x_ira_no_alloc_regs. | |
7a81008b | 14340 | (ira_hard_regno_cover_class): Rename to ira_hard_regno_allocno_class. |
1756cb66 VM |
14341 | (ira_reg_class_cover_size, ira_reg_class_cover): Rename to |
14342 | ira_allocno_classes_num and ira_allocno_classes. | |
14343 | (ira_class_translate): Rename to ira_allocno_class_translate. | |
14344 | (ira_pressure_classes_num, ira_pressure_classes): New definitions. | |
14345 | (ira_pressure_class_translate, ira_stack_reg_pressure_class): Ditto. | |
14346 | (ira_reg_class_nregs): Rename to ira_reg_class_max_nregs. | |
14347 | (ira_reg_class_min_nregs, ira_stack_reg_pressure_class): New | |
14348 | (ira_no_alloc_regs): New. | |
14349 | ||
14350 | * ira-costs.c: Add 2010 to Copyright. Remove mentioning cover | |
14351 | classes from the file. Use ALLOCNO_CLASS instead of | |
14352 | ALLOCNO_COVER_CLASS. Use ALLOCNO_CLASS_COST instead of | |
14353 | ALLOCNO_COVER_CLASS_COST. | |
14354 | (regno_cover_class): Rename to regno_aclass. | |
14355 | (record_reg_classes): Use ira_reg_class_subunion instead of | |
14356 | ira_reg_class_union. | |
14357 | (record_address_regs): Check overflow. | |
14358 | (scan_one_insn): Ditto. | |
7a81008b | 14359 | (print_allocno_costs): Print total mem cost fore regional allocation. |
1756cb66 VM |
14360 | (print_pseudo_costs): Use REG_N_REFS. |
14361 | (find_costs_and_classes): Use classes intersected with them on the | |
14362 | 1st pass. Check overflow. Use ira_reg_class_subunion instead of | |
14363 | ira_reg_class_union. Use ira_allocno_class_translate and | |
14364 | regno_aclass instead of ira_class_translate and regno_cover_class. | |
14365 | Modify code for finding regno_aclass. Setup preferred classes for | |
14366 | the next pass. | |
14367 | (setup_allocno_cover_class_and_costs): Rename to | |
14368 | setup_allocno_class_and_costs. Use regno_aclass instead of | |
14369 | regno_cover_class. Use ira_set_allocno_class instead of | |
14370 | ira_set_allocno_cover_class. | |
14371 | (init_costs, finish_costs): Use regno_aclass instead of | |
14372 | regno_cover_class. | |
14373 | (ira_costs): Use setup_allocno_class_and_costs instead of | |
14374 | setup_allocno_cover_class_and_costs. | |
14375 | (ira_tune_allocno_costs_and_cover_classes): Rename to | |
14376 | ira_tune_allocno_costs. Check overflow. Skip conflict hard regs | |
14377 | by processing objects. Use ira_reg_class_max_nregs instead of | |
14378 | ira_reg_class_nregs. | |
14379 | ||
14380 | * rtl.h (reg_cover_class): Rename to reg_allocno_class. | |
14381 | ||
14382 | * sched-int.h: Remove mentioning cover classes from the file. | |
14383 | (sched_regno_cover_class): Rename to sched_regno_pressure_class. | |
14384 | ||
14385 | * reginfo.c: Add 2010 to Copyright. Remove mentioning cover | |
14386 | classes from the file. | |
14387 | (struct reg_pref): Rename coverclass into allocnoclass. | |
14388 | (reg_cover_class): Rename to reg_allocno_class. | |
14389 | ||
7a81008b | 14390 | * Makefile.in (ira-color.o): Remove SPLAY_TREE_H from dependencies. |
1756cb66 VM |
14391 | |
14392 | * config/alpha/alpha.h (IRA_COVER_CLASSES): Remove. | |
14393 | ||
14394 | * config/arm/arm.h (IRA_COVER_CLASSES): Ditto. | |
14395 | ||
14396 | * config/avr/avr.h (IRA_COVER_CLASSES): Ditto. | |
14397 | ||
14398 | * config/bfin/bfin.h (IRA_COVER_CLASSES): Ditto. | |
14399 | ||
14400 | * config/cris/cris.h (IRA_COVER_CLASSES): Ditto. | |
14401 | ||
14402 | * config/fr30/fr30.h (IRA_COVER_CLASSES): Ditto. | |
14403 | ||
14404 | * config/frv/frv.h (IRA_COVER_CLASSES): Ditto. | |
14405 | ||
14406 | * config/h8300/h8300.h (IRA_COVER_CLASSES): Ditto. | |
14407 | ||
14408 | * config/i386/i386.h (STACK_REG_COVER_CLASS): Ditto. | |
14409 | ||
14410 | * config/i386/i386.c (TARGET_IRA_COVER_CLASSES) | |
14411 | (i386_ira_cover_classes): Ditto. | |
14412 | ||
14413 | * config/ia64/ia64.h (IRA_COVER_CLASSES): Ditto. | |
14414 | ||
14415 | * config/iq2000/iq2000.h (IRA_COVER_CLASSES): Ditto. | |
14416 | ||
14417 | * config/m32r/m32r.h (IRA_COVER_CLASSES): Ditto. | |
14418 | ||
14419 | * config/m68k/m68k.h (IRA_COVER_CLASSES): Ditto. | |
14420 | ||
14421 | * config/mcore/mcore.h (IRA_COVER_CLASSES): Ditto. | |
14422 | ||
14423 | * config/mep/mep.h (IRA_COVER_CLASSES): Ditto. | |
14424 | ||
14425 | * config/mips/mips.c (TARGET_IRA_COVER_CLASSES) | |
14426 | (mips_ira_cover_classes): Ditto. | |
14427 | ||
14428 | * config/mn10300/mn10300.h (IRA_COVER_CLASSES): Ditto. | |
14429 | ||
14430 | * config/moxie/moxie.h (IRA_COVER_CLASSES): Ditto. | |
14431 | ||
14432 | * config/pa/pa64-regs.h (IRA_COVER_CLASSES): Ditto. | |
14433 | ||
14434 | * config/pa/pa32-regs.h (IRA_COVER_CLASSES): Ditto. | |
14435 | ||
14436 | * config/picochip/picochip.h (IRA_COVER_CLASSES): Ditto. | |
14437 | ||
14438 | * config/rs6000/rs6000.h (IRA_COVER_CLASSES_PRE_VSX) | |
14439 | (IRA_COVER_CLASSES_VSX): Ditto. | |
14440 | ||
14441 | * config/rs6000/rs6000.c (TARGET_IRA_COVER_CLASSES) | |
14442 | (rs6000_ira_cover_classes): Ditto. | |
14443 | ||
14444 | * config/rx/rx.h (IRA_COVER_CLASSES): Ditto. | |
14445 | ||
14446 | * config/s390/s390.h (IRA_COVER_CLASSES): Ditto. | |
14447 | ||
14448 | * config/score/score.h (IRA_COVER_CLASSES): Ditto. | |
14449 | ||
14450 | * config/sh/sh.h (IRA_COVER_CLASSES): Ditto. | |
14451 | ||
14452 | * config/sparc/sparc.h (IRA_COVER_CLASSES): Ditto. | |
14453 | ||
14454 | * config/spu/spu.h (IRA_COVER_CLASSES): Ditto. | |
14455 | ||
14456 | * config/stormy16/stormy16.h (IRA_COVER_CLASSES): Ditto. | |
14457 | ||
14458 | * config/v850/v850.h (IRA_COVER_CLASSES): Ditto. | |
14459 | ||
14460 | * config/vax/vax.h (IRA_COVER_CLASSES): Ditto. | |
14461 | ||
14462 | * config/xtensa/xtensa.h (IRA_COVER_CLASSES): Ditto. | |
14463 | ||
2b80199f JJ |
14464 | 2011-03-29 Jakub Jelinek <jakub@redhat.com> |
14465 | ||
71dae1fe JJ |
14466 | PR debug/48253 |
14467 | * dwarf2out.c (struct dw_fde_struct): Remove dw_fde_hot_section_label, | |
14468 | dw_fde_hot_section_end_label, dw_fde_unlikely_section_label, | |
14469 | dw_fde_unlikely_section_end_label, cold_in_std_section, | |
14470 | dw_fde_switched_sections and dw_fde_switched_cold_to_hot fields. | |
14471 | Add dw_fde_second_begin, dw_fde_second_end and second_in_std_section | |
14472 | fields. | |
14473 | (output_fde): Use dw_fde_second_{begin,end} if second is | |
14474 | true, otherwise dw_fde_{begin,end}. | |
14475 | (output_call_frame_info): Test dw_fde_second_begin != NULL | |
14476 | instead of dw_fde_switched_sections. | |
14477 | (dwarf2out_begin_prologue): Stop initializing removed dw_fde_struct | |
14478 | fields, initialize new fields. Initialize in_std_section | |
14479 | unconditionally from the first partition. | |
14480 | (dwarf2out_end_epilogue): Don't override dw_fde_end when | |
14481 | dw_fde_second_begin is non-NULL. | |
14482 | (dwarf2out_switch_text_section): Stop initializing removed | |
14483 | dw_fde_struct fields, initialize new fields, initialize | |
14484 | also dw_fde_end here. Set dw_fde_switch_cfi even when | |
14485 | dwarf2out_do_cfi_asm (). Call var_location_switch_text_section. | |
14486 | (struct var_loc_list_def): Add last_before_switch field. | |
14487 | (arange_table, arange_table_allocated, arange_table_in_use, | |
14488 | ARANGE_TABLE_INCREMENT, add_arange): Removed. | |
14489 | (size_of_aranges): Count !in_std_section and !second_in_std_section | |
14490 | hunks in fdes, instead of looking at arange_table_in_use. | |
14491 | (output_aranges): Add aranges_length argument, don't call | |
14492 | size_of_aranges here. Instead of using aranges_table* | |
14493 | emit ranges for fdes when !in_std_section resp. | |
14494 | !second_in_std_section. | |
14495 | (dw_loc_list): Break ranges crossing section switch. | |
14496 | (convert_cfa_to_fb_loc_list): Likewise. If switched sections, | |
7a81008b | 14497 | use dw_fde_second_end instead of dw_fde_end as end of last range. |
71dae1fe JJ |
14498 | (gen_subprogram_die): Don't call add_arange. Use |
14499 | dw_fde_{begin,end} for first partition and if switched | |
14500 | section dw_fde_second_{begin,end} for the second. | |
14501 | (var_location_switch_text_section_1, | |
14502 | var_location_switch_text_section): New functions. | |
14503 | (dwarf2out_begin_function): Initialize cold_text_section even | |
14504 | when function_section () isn't text_section. | |
14505 | (prune_unused_types): Don't walk arange_table. | |
14506 | (dwarf2out_finish): Don't needlessly test | |
14507 | flag_reorder_blocks_and_partition when testing cold_text_section_used. | |
14508 | If info_section_emitted, call size_of_aranges and if it indicates | |
14509 | non-empty .debug_aranges, call output_aranges with the computed | |
14510 | size. Stop using removed dw_fde_struct fields, use | |
14511 | dw_fde_{begin,end} for first partition and dw_fde_second_{begin,end} | |
14512 | for second. | |
14513 | ||
2b80199f JJ |
14514 | PR debug/48203 |
14515 | * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Only | |
14516 | create ENTRY_VALUE if incoming or address of incoming's MEM | |
14517 | is a hard REG. | |
14518 | * dwarf2out.c (mem_loc_descriptor): Don't emit | |
14519 | DW_OP_GNU_entry_value of DW_OP_fbreg. | |
14520 | * var-tracking.c (vt_add_function_parameter): Ensure cselib_lookup | |
14521 | on ENTRY_VALUE is able to find the canonical parameter VALUE. | |
14522 | * cselib.c (rtx_equal_for_cselib_1) <case ENTRY_VALUE>: Use | |
14523 | rtx_equal_p instead of rtx_equal_for_cselib_1 to compare | |
14524 | ENTRY_VALUE_EXPs. | |
14525 | (cselib_hash_rtx) <case ENTRY_VALUE>: If ENTRY_VALUE_EXP | |
14526 | is a REG_P or MEM_P with REG_P address, compute hash directly | |
14527 | instead of calling cselib_hash_rtx on ENTRY_VALUE_EXP. | |
14528 | (preserve_only_constants): Don't clear VALUES forwaring | |
14529 | ENTRY_VALUE to some other VALUE. | |
14530 | ||
8a445129 RS |
14531 | 2011-03-28 Richard Sandiford <richard.sandiford@linaro.org> |
14532 | ||
14533 | * builtins.c (expand_builtin_memset_args): Use gen_int_mode | |
14534 | instead of GEN_INT. | |
14535 | ||
c82fee88 EB |
14536 | 2011-03-28 Eric Botcazou <ebotcazou@adacore.com> |
14537 | ||
14538 | * cfgexpand.c (expand_gimple_cond): Always set the source location and | |
14539 | block before expanding the statement. | |
14540 | (expand_gimple_stmt_1): Likewise. Set them here... | |
14541 | (expand_gimple_stmt): ...and not here. Tidy. | |
14542 | * cfglayout.c (curr_insn_locator): Return 0 if the current location is | |
14543 | unknown. | |
14544 | ||
e45425ec SB |
14545 | 2011-03-28 Steven Bosscher <steven@gcc.gnu.org> |
14546 | ||
14547 | * Makefile.in: New rule for cprop.o. | |
14548 | * gcse.c: Move constant/copy propagation to cprop.c. | |
14549 | (compute_local_properties): Only handle expression tables. | |
14550 | (hash_scan_set, compute_hash_table_work, alloc_hash_table,): Likewise. | |
14551 | (one_pre_gcse_pass, one_code_hoisting_pass): Likewise. | |
14552 | (hash_set, insert_set_in_table, gcse_constant_p, lookup_set, | |
14553 | next_set, reset_opr_set_tables, oprs_not_set_p, mark_call, mark_set, | |
7a81008b | 14554 | mark_clobber, mark_oprs_set, alloc_cprop_mem, free_cprop_mem, |
e45425ec SB |
14555 | compute_cprop_data, find_used_regs, try_replace_reg, |
14556 | find_avail_set, cprop_jump, constprop_register, cprop_insn, | |
14557 | local_cprop_find_used_regs, do_local_cprop, local_cprop_pass, | |
14558 | fis_get_condition, implicit_set_cond_p, find_implicit_sets, | |
14559 | find_bypass_set, reg_killed_on_edge, bypass_block, | |
14560 | bypass_conditional_jumps, one_cprop_pass, gate_rtl_cprop, | |
14561 | execute_rtl_cprop, pass_rtl_cprop): Move to... | |
14562 | * cprop.c: ...here. New file, constant/copy propagation for RTL | |
14563 | moved from gcse.c to here with minor cleanups in duplicated code. | |
14564 | ||
c09d5426 L |
14565 | 2011-03-28 H.J. Lu <hongjiu.lu@intel.com> |
14566 | ||
14567 | * config/i386/i386.c (flag_opts): Fix a typo in | |
14568 | -mavx256-split-unaligned-store. | |
14569 | ||
9eaa7740 AS |
14570 | 2011-03-28 Anatoly Sokolov <aesok@post.ru> |
14571 | ||
14572 | * config/h8300/h8300.h (FUNCTION_VALUE_REGNO_P, FUNCTION_VALUE, | |
14573 | LIBCALL_VALUE): Remove macros. | |
14574 | * config/h8300/h8300.c (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
14575 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
14576 | (h8300_function_value, h8300_libcall_value, | |
14577 | h8300_function_value_regno_p): New functions. | |
14578 | ||
dcec2be2 AS |
14579 | 2011-03-28 Anatoly Sokolov <aesok@post.ru> |
14580 | ||
14581 | * config/h8300/h8300.h (ASM_OUTPUT_BSS): Remove macro. | |
14582 | ||
520af9ec JL |
14583 | 2011-03-28 Jeff Law <law@redhat.com> |
14584 | ||
14585 | * tree-ssa-threadupdate.c (redirect_edges): Call | |
14586 | create_edge_and_update_destination_phis as needed. | |
14587 | (create_edge_and_update_destination_phis): Accept new BB argument. | |
14588 | All callers updated. | |
14589 | (thread_block): Do not update the profile when threading around | |
14590 | intermediate blocks. | |
14591 | (thread_single_edge): Likewise. | |
14592 | (determine_bb_domination_status): If BB is not a successor of the | |
14593 | loop header, return NONDOMINATING. | |
14594 | (register_jump_thread): Note when we register a jump thread around | |
14595 | an intermediate block. | |
14596 | * tree-ssa-threadedge.c (thread_around_empty_block): New function. | |
14597 | (thread_across_edge): Use it. | |
14598 | ||
7450b54f TG |
14599 | 2011-03-28 Tristan Gingold <gingold@adacore.com> |
14600 | ||
14601 | * config/ia64/ia64.c (ia64_promote_function_mode): Fix promotion | |
14602 | when for_return is 2. | |
14603 | ||
649beb33 JL |
14604 | 2011-03-28 Jeff Law <law@redhat.com> |
14605 | ||
14606 | * var-tracking.c (canonicalize_values_mark): Delete unused | |
14607 | lhs assignment. | |
14608 | (canonicalize_values_star, set_variable_part): Likewise. | |
14609 | (clobber_variable_part, delete_variable_part): Likewise. | |
14610 | ||
d5b8da97 SB |
14611 | 2011-03-28 Steven Bosscher <steven@gcc.gnu.org> |
14612 | ||
14613 | * gcse.c (free_gcse_mem): Free reg_set_bitmap. | |
14614 | ||
322dd859 MJ |
14615 | 2011-03-28 Martin Jambor <mjambor@suse.cz> |
14616 | ||
14617 | * tree-inline.c (expand_call_inline): Do not check that destination | |
14618 | node is analyzed. | |
14619 | (optimize_inline_calls): Assert that destination node is analyzed. | |
14620 | * cgraph.c (cgraph_add_new_function): Call cgraph_analyze_function, do | |
14621 | not call tree_lowering_passes. | |
14622 | * cgraph.h (cgraph_analyze_function): Declare. | |
14623 | * cgraphunit.c (cgraph_analyze_function): Make public. | |
14624 | ||
aa53e58b JM |
14625 | 2011-03-28 Joseph Myers <joseph@codesourcery.com> |
14626 | ||
14627 | * config/sparc/sparc-opts.h: New. | |
14628 | * config/sparc/sparc.c (sparc_handle_option, sparc_select, | |
14629 | sparc_cpu, fpu_option_set, TARGET_HANDLE_OPTION): Remove. | |
14630 | (sparc_option_override): Store processor_type enumeration rather | |
14631 | than string in cpu_default. Remove name and enumeration from | |
14632 | cpu_table. Directly default -mcpu then default -mtune from -mcpu | |
14633 | without using sparc_select. Use target_flags_explicit instead of | |
14634 | fpu_option_set. | |
14635 | * config/sparc/sparc.h (enum processor_type): Move to | |
14636 | sparc-opts.h. | |
14637 | (sparc_cpu, struct sparc_cpu_select, sparc_select): Remove. | |
14638 | * config/sparc/sparc.opt (config/sparc/sparc-opts.h): New | |
14639 | HeaderInclude entry. | |
14640 | (mcpu=, mtune=): Use Var and Enum. | |
14641 | (sparc_processor_type): New Enum and EnumValue entries. | |
14642 | ||
dd350eba RO |
14643 | 2011-03-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14644 | Iain Sandoe <iains@gcc.gnu.org> | |
14645 | ||
14646 | PR target/48245 | |
14647 | * config/darwin.h (LINK_COMMAND_SPEC_A): Use LINK_PLUGIN_SPEC. | |
14648 | ||
1b29f05e EB |
14649 | 2011-03-28 Eric Botcazou <ebotcazou@adacore.com> |
14650 | ||
14651 | * tree-vectorizer.h (vect_create_data_ref_ptr): Adjust prototype. | |
14652 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add GSI parameter. | |
14653 | Insert new statements at it in lieu of STMT. | |
14654 | (vect_setup_realignment): Adjust call to vect_create_data_ref_ptr. | |
14655 | * tree-vect-stmts.c (vectorizable_store): Likewise. | |
14656 | (vectorizable_load): Likewise. | |
14657 | ||
506e6808 UB |
14658 | 2011-03-28 Uros Bizjak <ubizjak@gmail.com> |
14659 | ||
14660 | * config/alpha/alpha.md (addtf3): Change mode of operands to TFmode. | |
14661 | (divtf3): Ditto. | |
14662 | (multf3): Ditto. | |
14663 | (subtf3): Ditto. | |
14664 | ||
2e939ee9 L |
14665 | 2011-03-27 H.J. Lu <hongjiu.lu@intel.com> |
14666 | ||
14667 | * config/i386/sse.md (*avx_mov<mode>_internal): Don't assert | |
14668 | unaligned 256bit load/store. | |
14669 | (*avx_movu<ssemodesuffix><avxmodesuffix>): Likewise. | |
14670 | (*avx_movdqu<avxmodesuffix>): Likewise. | |
14671 | ||
5e85ab88 JDA |
14672 | 2011-03-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
14673 | ||
14674 | PR target/48288 | |
14675 | * config/pa/predicates.md (reg_or_ior_operand): New predicate. | |
14676 | * config/pa/pa.md (iordi3): Use new predicate in expander. | |
14677 | (iorsi3): Likewise. | |
14678 | ||
47be3d6d AS |
14679 | 2011-03-27 Anatoly Sokolov <aesok@post.ru> |
14680 | ||
506e6808 | 14681 | * config/mips/mips.h (LIBCALL_VALUE, FUNCTION_VALUE, |
47be3d6d | 14682 | FUNCTION_VALUE_REGNO_P): Remove macros. |
506e6808 UB |
14683 | * config/mips/mips-protos.h (mips_function_value): Remove. |
14684 | * config/mips/mips.c (mips_function_value): Rename to... | |
47be3d6d AS |
14685 | (mips_function_value_1): ... this. Make static. Handle receiving |
14686 | the function type in 'fn_decl_or_type' argument. | |
14687 | (mips_function_value, mips_libcall_value, | |
14688 | mips_function_value_regno_p): New function. | |
14689 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
14690 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
14691 | ||
d253656a L |
14692 | 2011-03-27 H.J. Lu <hongjiu.lu@intel.com> |
14693 | ||
14694 | * config/i386/i386.c (flag_opts): Add -mavx256-split-unaligned-load | |
14695 | and -mavx256-split-unaligned-store. | |
14696 | (ix86_option_override_internal): Split 32-byte AVX unaligned | |
14697 | load/store by default. | |
14698 | (ix86_avx256_split_vector_move_misalign): New. | |
14699 | (ix86_expand_vector_move_misalign): Use it. | |
14700 | ||
14701 | * config/i386/i386.opt: Add -mavx256-split-unaligned-load and | |
14702 | -mavx256-split-unaligned-store. | |
14703 | ||
14704 | * config/i386/sse.md (*avx_mov<mode>_internal): Verify unaligned | |
14705 | 256bit load/store. Generate unaligned store on misaligned memory | |
14706 | operand. | |
14707 | (*avx_movu<ssemodesuffix><avxmodesuffix>): Verify unaligned | |
14708 | 256bit load/store. | |
14709 | (*avx_movdqu<avxmodesuffix>): Likewise. | |
14710 | ||
14711 | * doc/invoke.texi: Document -mavx256-split-unaligned-load and | |
14712 | -mavx256-split-unaligned-store. | |
14713 | ||
1ea9206a RS |
14714 | 2011-03-27 Richard Sandiford <rdsandiford@googlemail.com> |
14715 | ||
14716 | PR target/38598 | |
14717 | * config/mips/mips.md (extendsidi2): Add an "l" alternative. | |
14718 | Update commentary. | |
14719 | ||
b99ce2a8 RS |
14720 | 2011-03-27 Richard Sandiford <rdsandiford@googlemail.com> |
14721 | ||
14722 | * config/mips/mips.c (mips_prepare_builtin_arg): Replace icode and | |
14723 | opno arguments with an expand_operand. Use create_input_operand. | |
14724 | (mips_prepare_builtin_target): Delete. | |
14725 | (mips_expand_builtin_insn, mips_expand_builtin_compare_1): New | |
14726 | functions. | |
14727 | (mips_expand_builtin_direct): Use create_output_operand and | |
14728 | mips_expand_builtin_insn. Update call to mips_prepare_builtin_arg. | |
14729 | (mips_expand_builtin_movtf): Likewise. Use mips_expand_fp_comparison. | |
14730 | (mips_expand_builtin_compare): Use mips_expand_fp_comparison. | |
14731 | ||
69d52339 IR |
14732 | 2011-03-27 Ira Rosen <ira.rosen@linaro.org> |
14733 | ||
14734 | * config/arm/arm.c (arm_autovectorize_vector_sizes): New | |
14735 | function. | |
14736 | (TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES): Define. | |
14737 | ||
ba5e9aca EB |
14738 | 2011-03-26 Eric Botcazou <ebotcazou@adacore.com> |
14739 | ||
14740 | * basic-block.h (fixup_abnormal_edges): Adjust prototype. | |
14741 | * reload1.c (reload): Adjust call to fixup_abnormal_edges. Rediscover | |
14742 | basic blocks and call commit_edge_insertions directly. | |
14743 | (fixup_abnormal_edges): Move from here to... | |
14744 | * cfgrtl.c (fixup_abnormal_edges): ...here. Only insert instructions | |
14745 | on the edges and return whether some have actually been inserted. | |
14746 | * reg-stack.c (convert_regs): Fix up abnormal edges before inserting | |
14747 | compensation code. | |
14748 | ||
5d369d58 AB |
14749 | 2011-03-26 Andrey Belevantsev <abel@ispras.ru> |
14750 | ||
14751 | PR rtl-optimization/48144 | |
14752 | * sel-sched-ir.c (merge_history_vect): Factor out from ... | |
14753 | (merge_expr_data): ... here. | |
14754 | (av_set_intersect): Rename to av_set_code_motion_filter. | |
14755 | Update all callers. Call merge_history_vect when an expression | |
14756 | is found in both sets. | |
14757 | * sel-sched-ir.h (av_set_code_motion_filter): Add prototype. | |
14758 | ||
f082c000 AM |
14759 | 2011-03-26 Alan Modra <amodra@gmail.com> |
14760 | ||
14761 | * config/rs6000/predicates.md (word_offset_memref_op): Handle | |
14762 | cmodel medium addresses. | |
14763 | * config/rs6000/rs6000.c (rs6000_secondary_reload): Handle misaligned | |
14764 | 64-bit gpr loads and stores. | |
14765 | (rs6000_secondary_reload_ppc64): New function. | |
14766 | * config/rs6000/rs6000-protos.h: Declare it. | |
14767 | * config/rs6000/rs6000.md (reload_di_store, reload_di_load): New. | |
14768 | ||
8ac5e12e AM |
14769 | 2011-03-26 Alan Modra <amodra@gmail.com> |
14770 | ||
14771 | PR target/47487 | |
14772 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Support | |
14773 | GNU Go in traceback table. | |
14774 | ||
c2654ded RH |
14775 | 2011-03-25 Richard Henderson <rth@redhat.com> |
14776 | ||
14777 | * expr.c (emit_block_move_via_movmem): Only use 6 operand variant | |
14778 | if there are exactly 6 operands. | |
14779 | (set_storage_via_setmem): Similarly. | |
14780 | ||
ba78087b KT |
14781 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
14782 | ||
14783 | * collect2.c (write_c_file_stat): Handle backslash | |
14784 | as right-hand directory separator. | |
14785 | (resolve_lib_name): Use IS_DIR_SEPARATOR instead of | |
14786 | checking just for slash. | |
14787 | * coverage.c (coverage_init): Use IS_ABSOLUTE_PATH | |
14788 | instead of checking for trailing slash. | |
14789 | * gcc.c (record_temp_file): Use filename_cmp instead | |
14790 | of strcmp. | |
14791 | (do_spec_1): Likewise. | |
14792 | (replace_outfile_spec_function): Likewise. | |
14793 | (is_directory): Use filename_ncmp instead of strncmp. | |
14794 | (print_multilib_info): Likewise. | |
14795 | * gcov.c (find_source): Use filename_cmp instead | |
14796 | instead of strcmp. | |
14797 | (make_gcov_file_name): Fix order of slash/backslash | |
14798 | checks. | |
14799 | * incpath.c (DIRS_EQ): Use filename_cmp instead of strcmp. | |
14800 | (add_standard_paths): Likewise. | |
14801 | * mips-tfile.c (saber_stop): Handle backslash. | |
14802 | * prefix.c (update_path): Use filename_ncmp instead of | |
14803 | strncmp. | |
14804 | * profile.c (output_location): Use filename_cmp instead | |
14805 | of strcmp. | |
14806 | * read-md.c (handle_toplevel_file): Handle backslash. | |
14807 | * tlink.c (frob_extension): Likewise. | |
14808 | * tree-cfg.c (same_line_p): Use filename_cmp instead of | |
14809 | strcmp. | |
14810 | * tree-dump.c (dequeue_and_dump): Handle backslash. | |
14811 | * tree.c (get_file_function_name): Likewise. | |
14812 | * gengtype.c (read_input_list): Likewise. | |
14813 | (get_file_realbasename): Likewise. | |
14814 | (get_output_file_with_visibility): Use filename_cmp | |
14815 | instead of strcmp. | |
14816 | ||
75f6ec9a RS |
14817 | 2011-03-25 Richard Sandiford <richard.sandiford@linaro.org> |
14818 | ||
14819 | * config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Restrict FPA_REGS | |
14820 | case to VFPv1. | |
14821 | ||
6c4e2997 NF |
14822 | 2011-03-25 Nathan Froyd <froydnj@codesourcery.com> |
14823 | ||
14824 | * fold-const.c (expr_location_or): New function. | |
14825 | (fold_truth_not_expr): Call it. | |
14826 | ||
0edf1bb2 JL |
14827 | 2011-03-25 Jeff Law <law@redhat.com> |
14828 | ||
14829 | * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Add missing | |
14830 | va_end. | |
14831 | * c-family/c-common.c (def_fn_type): Likewise. | |
14832 | * ada/gcc-interface/utils.c (def_fn_type): Likewise. | |
14833 | * emit-rtl.c (gen_rtvec): Likewise. | |
14834 | * lto/lto-lang.c (def_fn_type): Likewise. | |
14835 | ||
fdc2de95 RG |
14836 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
14837 | ||
14838 | * tree-ssa-copy.c (stmt_may_generate_copy): Copies from constants | |
14839 | also generate copies. | |
14840 | (fini_copy_prop): Handle constant values properly. | |
14841 | ||
21385db0 JJ |
14842 | 2011-03-25 Jakub Jelinek <jakub@redhat.com> |
14843 | ||
14844 | * dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTRACT>: Compare | |
14845 | mode size instead of bitsize with DWARF2_ADDR_SIZE. | |
14846 | (hash_loc_operands, compare_loc_operands): Handle | |
14847 | DW_OP_GNU_entry_value. | |
14848 | ||
6510e8bb KT |
14849 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
14850 | ||
14851 | * config/i386/cygming.h (DWARF_FRAME_REGISTERS): Adjust comment. | |
14852 | (STACK_BOUNDARY): Check for bit-ness in case of MS_ABI. | |
14853 | * config/i386/i386.c (ix86_conditional_register_usage): Adjust | |
14854 | comment and use macro TARGET_64BIT_MS_ABI instead. | |
14855 | (ix86_keep_aggregate_return_pointer): Optimize for 64-bit case | |
14856 | and change default behavior for 32-bit MS_ABI. | |
14857 | (ix86_reg_parm_stack_space): Check additionally for bit-ness. | |
14858 | (ix86_function_type_abi): Allow check for ms_abi/sysv_abi for | |
14859 | 32-bit, too. | |
14860 | (ix86_cfun_abi): Likewise. | |
14861 | (ix86_maybe_switch_abi): Adjust comment. | |
14862 | (init_cumulative_args): Check for bit-ness in MS_ABI case. | |
14863 | (ix86_gimplify_va_arg): Check just for not TARGET_64BIT_MS_ABI | |
14864 | instead of checking for SYSV_ABI. | |
14865 | (ix86_nsaved_sseregs): Likewise. | |
14866 | (ix86_compute_frame_layout): Set only for 64-bit MS_ABI alignment | |
14867 | to 16 bytes. | |
14868 | (ix86_expand_call): Use TARGET_64BIT_MS_ABI macro. | |
14869 | * config/i386.h (TARGET_32BIT_MS_ABI): New macro. | |
14870 | (ACCUMULATE_OUTGOING_ARGS): Check explicit for 64-bit MS_ABI. | |
14871 | (OUTGOING_REG_PARM_STACK_SPACE): Likewise. | |
14872 | * config/mingw32.h (DEFAULT_ABI): Change default always to MS_ABI. | |
14873 | ||
34019e28 RG |
14874 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
14875 | ||
14876 | * tree-flow.h (verify_stmts): Rename to verify_gimple_in_cfg. | |
14877 | (verify_types_in_gimple_seq): Rename to verify_gimple_in_seq. | |
14878 | (verify_gimple): Remove. | |
14879 | * tree-cfg.c (verify_gimple_call): Merge verification | |
14880 | from verify_stmts. | |
14881 | (verify_gimple_phi): Merge verification from verify_stmts. | |
14882 | (verify_gimple_label): New function. | |
14883 | (verify_types_in_gimple_seq_2): Rename to verify_gimple_in_seq_2. | |
14884 | (verify_types_in_gimple_seq): Rename to verify_gimple_in_seq. | |
14885 | (verify_stmt): Merge into verify_gimple_in_cfg and callees. | |
14886 | (verify_stmts): Rename to verify_gimple_in_cfg. | |
14887 | (verify_gimple_in_cfg): New function. | |
14888 | * passes.c (execute_function_todo): Call verify_gimple_in_cfg. | |
14889 | * tree-ssa.c (verify_ssa): Likewise. | |
14890 | * gimplify.c (gimplify_body): Call verify_gimple_in_seq. | |
14891 | ||
605896f5 RG |
14892 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
14893 | ||
14894 | * passes.c (init_optimization_passes): Add FRE pass after | |
14895 | early SRA. | |
14896 | ||
7baa7c13 BS |
14897 | 2011-03-25 Bernd Schmidt <bernds@codesourcery.com> |
14898 | Andrew Stubbs <ams@codesourcery.com> | |
14899 | ||
14900 | * config/arm/vfp.md (arm_movdi_vfp): Enable only when not tuning | |
14901 | for Cortex-A8. | |
14902 | (arm_movdi_vfp_cortexa8): New pattern. | |
14903 | * config/arm/neon.md (adddi3_neon, subdi3_neon, anddi3_neon, | |
14904 | iordi3_neon, xordi3_neon): Add alternatives to discourage Neon | |
14905 | instructions when tuning for Cortex-A8. Set attribute "arch". | |
14906 | * config/arm/arm.md: Move include arm-tune.md up a bit. | |
14907 | (define_attr "arch"): Add "onlya8" and "nota8" values. | |
14908 | (define_attr "arch_enabled"): Handle "onlya8" and "nota8". | |
14909 | ||
45dbce1b NF |
14910 | 2011-03-25 Nathan Froyd <froydnj@codesourcery.com> |
14911 | ||
4ff08abf | 14912 | PR bootstrap/48282 |
45dbce1b NF |
14913 | Revert: |
14914 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> | |
14915 | ||
14916 | * function.c (instantiate_virtual_regs): Use FOR_EACH_BB and | |
14917 | FOR_BB_INSNS_SAFE to iterate through insns. Re-indent. | |
14918 | (pass_instantiate_virtual_regs): Require PROP_cfglayout. | |
14919 | * passes.c (init_optimization_passes): Move | |
14920 | pass_instantiate_virtual_regs after pass_into_cfg_layout_mode. | |
14921 | ||
ac9a30ae KT |
14922 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
14923 | ||
14924 | * c-typeck.c (comptypes_internal): Replace target | |
14925 | hook call of comp_type_attributes by version in tree.c file. | |
14926 | * gimple.c (gimple_types_compatible_p_1): Likewise. | |
14927 | * tree-ssa.c (useless_type_conversion_p): Likewise. | |
14928 | * tree.c (build_type_attribute_qual_variant): Likewise. | |
14929 | (attribute_value_equal): New static helper function. | |
14930 | (comp_type_attributes): New function. | |
14931 | (merge_attributes): Use attribute_value_equal for comparison. | |
14932 | (attribute_list_contained): Likewise. | |
14933 | * tree.h (comp_type_attributes): New prototype. | |
14934 | ||
afdac116 RG |
14935 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
14936 | ||
14937 | * tree-cfg.c (verify_gimple_assign_unary): Drop special casing | |
14938 | of complex types at -O0. | |
14939 | (verify_gimple_assign_binary): Likewise. | |
14940 | (verify_gimple_assign_ternary): Likewise. | |
14941 | ||
ec6165f8 MW |
14942 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
14943 | ||
14944 | * dwarf2out.c (size_of_die): Modify comment to say DW_FORM_ref_sig8. | |
14945 | (value_format): Use DW_FORM_ref_sig8, not DW_FORM_sig8. | |
14946 | ||
2a5ac39a MW |
14947 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
14948 | ||
14949 | PR debug/48041 | |
14950 | * dwarf2out.c (output_abbrev_section): Only write table when | |
14951 | abbrev_die_table_in_use > 1. | |
14952 | ||
e533b2a4 RH |
14953 | 2011-02-24 Richard Henderson <rth@redhat.com> |
14954 | ||
14955 | * config/alpha/alpha.c (alpha_expand_unaligned_load): Use extql. | |
14956 | (alpha_expand_unaligned_store): Use mskwl, mskll, mskql. | |
14957 | (alpha_expand_unaligned_load_words): Use extql. | |
14958 | (alpha_expand_unaligned_store_words): Use insqh, mskqh, mskql. | |
14959 | (emit_insxl): Handle all modes for consistency. | |
14960 | ||
0b2a7367 RH |
14961 | 2011-02-24 Richard Henderson <rth@redhat.com> |
14962 | ||
14963 | * config/alpha/alpha.c (get_aligned_mem): Don't test WORDS_BIG_ENDIAN. | |
14964 | (alpha_expand_unaligned_load): Likewise. | |
14965 | (alpha_expand_unaligned_store): Likewise. | |
14966 | (alpha_expand_unaligned_load_words): Likewise. | |
14967 | (alpha_expand_unaligned_store_words): Likewise. | |
14968 | (emit_insxl, alpha_split_compare_and_swap_12): Likewise. | |
14969 | (alpha_split_lock_test_and_set_12): Likewise. | |
14970 | (print_operand, alpha_fold_builtin_extxx): Likewise. | |
14971 | (alpha_fold_builtin_insxx, alpha_fold_builtin_mskxx): Likewise. | |
14972 | * config/alpha/alpha.md (bswapsi2, insv, extv, extzv): Likewise. | |
14973 | (builtin_extwh, builtin_extlh, builtin_extql): Likewise. | |
14974 | (unaligned_extendqidi_be, unaligned_extendhidi_be, extxl_be): Remove. | |
14975 | (*extxl_1_be, *extql_2_be, extqh_be, extlh_be, extwh_be): Remove. | |
14976 | (insbl_be, inswl_be, insll_be, insql_be, mskxl_be): Remove. | |
14977 | (unaligned_loadqi_be, unaligned_loadhi_be): Remove. | |
14978 | (unaligned_storeqi_be, unaligned_storehi_be): Remove. | |
14979 | (extbl): Rename from builtin_extbl; don't test WORDS_BIG_ENDIAN. | |
14980 | (extwl, extll, extql): Similarly. | |
14981 | (inswh, inslh, insqh): Similarly. | |
14982 | (mskbl, mskwl, mskll, mskql): Similarly. | |
14983 | (mskwh, msklh, mskqh): Similarly. | |
14984 | ||
315b2bef RH |
14985 | 2011-02-24 Richard Henderson <rth@redhat.com> |
14986 | ||
14987 | * config/alpha/alpha.md (attribute isa): Add er, ner. | |
14988 | (attribute enabled): Handle them. | |
14989 | (*movdi): Merge *movdi_{er_nofix,nofix,er_fix,fix}. | |
14990 | ||
67102517 RH |
14991 | 2011-02-24 Richard Henderson <rth@redhat.com> |
14992 | ||
14993 | * config/alpha/alpha.md (attribute isa): Add vms. | |
14994 | (attribute enabled): Handle it. | |
14995 | (*movsf): Merge *movsf_{nofix,fix,nofp}. | |
14996 | (*movdf): Merge *movdf_{nofix,fix,nofp}. | |
14997 | (*movtf): Rename from *movtf_internal for consistency. | |
14998 | (*movsi): Merge with *movsi_nt_vms. | |
14999 | (*movhi): Merge *movhi_nobwx, *movhi_bwx. | |
15000 | (*movqi): Merge *movqi_nobwx, *movqi_bwx. | |
15001 | (*mov<VEC>): Merge *mov<VEC>_fix, *mov<VEC>_nofix. | |
15002 | * config/alpha/constraint.md ("f"): Use NO_REGS when fpu is disabled. | |
15003 | ||
6aba5cb4 RH |
15004 | 2011-02-24 Richard Henderson <rth@redhat.com> |
15005 | ||
15006 | * config/alpha/alpha.md (extendqihi2): Implement for BWX only. | |
15007 | (extendqisi2, extendhisi2): Likewise. | |
15008 | (extendqidi2): Simplify BWX/non-BWX expansions. | |
15009 | (extendhidi2): Similarly. | |
15010 | ||
bdfb351b RH |
15011 | 2011-02-24 Richard Henderson <rth@redhat.com> |
15012 | ||
15013 | * config/alpha/alpha.md (attribute isa): New. | |
15014 | (attribute enabled): New. | |
15015 | (zero_extendqihi2): Merge from *zero_extendqihi2_{bwx,nobwx}. | |
15016 | (zero_extendqisi2, zero_extendqidi2): Similarly. | |
15017 | (zero_extendhisi2, zero_extendhidi2): Similarly. | |
15018 | * config/alpha/predicates.md (reg_or_bwx_memory_operand): New. | |
15019 | ||
6abe71eb RH |
15020 | 2011-02-24 Richard Henderson <rth@redhat.com> |
15021 | ||
15022 | * config/alpha/predicates.md (input_operand): Revert last change; | |
15023 | update comment to mention 32-bit VMS rather than Windows. | |
15024 | ||
7114321e NF |
15025 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
15026 | ||
15027 | * function.c (instantiate_virtual_regs): Use FOR_EACH_BB and | |
15028 | FOR_BB_INSNS_SAFE to iterate through insns. Re-indent. | |
15029 | (pass_instantiate_virtual_regs): Require PROP_cfglayout. | |
15030 | * passes.c (init_optimization_passes): Move | |
15031 | pass_instantiate_virtual_regs after pass_into_cfg_layout_mode. | |
15032 | ||
c8679567 EB |
15033 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
15034 | ||
15035 | * dojump.c (do_jump_by_parts_greater_rtx): Optimize in specific cases. | |
15036 | ||
27173058 UB |
15037 | 2011-03-24 Uros Bizjak <ubizjak@gmail.com> |
15038 | ||
15039 | * config/i386/i386.md (ix86_print_operand): Output DFmode const_double | |
15040 | correctly. | |
15041 | ||
6f0c9f06 JJ |
15042 | 2011-03-24 Jakub Jelinek <jakub@redhat.com> |
15043 | ||
15044 | PR debug/48204 | |
15045 | * simplify-rtx.c (simplify_const_unary_operation): Call | |
15046 | real_convert when changing mode class with FLOAT_EXTEND. | |
15047 | ||
662666e5 NC |
15048 | 2011-03-24 Nick Clifton <nickc@redhat.com> |
15049 | ||
15050 | * config/rx/rx.h (LABEL_ALIGN_FOR_BARRIER): Define. | |
15051 | (ASM_OUTPUT_MAX_SKIP_ALIGN): Define. | |
15052 | * config/rx/rx.c (rx_option_override): Set align_jumps, | |
15053 | align_loops and align_labels if not set by the user. | |
15054 | (rx_align_for_label): New function. | |
15055 | (rx_max_skip_for_label): New function. | |
15056 | (TARGET_ASM_JUMP_ALIGN_MAX_SKIP): Define. | |
15057 | (TARGET_ASM_LOOP_ALIGN_MAX_SKIP): Define. | |
15058 | (TARGET_ASM_LABEL_ALIGN_MAX_SKIP): Define. | |
15059 | (TARGET_ASM_LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Define. | |
15060 | * config/rx/rx-protos.h (rx_align_for_label): Add prototype. | |
15061 | ||
2b99b2b8 RS |
15062 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
15063 | ||
15064 | PR rtl-optimization/48263 | |
15065 | * optabs.c (expand_binop_directly): Reinstate convert_modes code | |
15066 | and original commutative_p handling. Use maybe_gen_insn. | |
15067 | ||
ccecd6ea AK |
15068 | 2011-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
15069 | ||
15070 | * reload.c (find_reloads_subreg_address): Add address_reloaded | |
15071 | parameter and return true there if the full address has been | |
15072 | reloaded. | |
15073 | (find_reloads_toplev): Pass address_reloaded flag. | |
15074 | (find_reloads_address_1): Don't use address_reloaded parameter. | |
15075 | ||
67295642 JL |
15076 | 2011-03-24 Jeff Law <law@redhat.com> |
15077 | ||
15078 | * tree-ssa-live.c (remove_unused_scope_block_p): Remove set but | |
15079 | unused variable "ann". | |
15080 | (remove_unused_locals): Likewise. | |
15081 | ||
15082 | * tree-ssa-copy.c (propagate_tree_value_into_stmt): Remove useless | |
15083 | statement. | |
15084 | ||
15085 | * cfglayout.c (fixup_reorder_chain): Do not dereference E_FALL | |
15086 | after it is freed. | |
15087 | ||
212aa74f AK |
15088 | 2011-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
15089 | ||
15090 | * config/s390/s390.c (s390_preferred_reload_class): Return NO_REGS | |
15091 | for invalid symbolic addresses. | |
15092 | (s390_secondary_reload): Don't use s390_check_symref_alignment for | |
15093 | larl operands. | |
15094 | ||
fe784e0d EB |
15095 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
15096 | ||
15097 | * fold-const.c (fold_ternary_loc): Preserve the location (if any) of | |
15098 | the argument in calls to fold_truth_not_expr. | |
15099 | ||
63ee8641 NF |
15100 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
15101 | ||
15102 | * tree.c (record_node_allocation_statistics): New function. | |
15103 | (make_node_stat, copy_node_stat, build_string): Call it. | |
15104 | (make_tree_binfo_stat, make_tree_vec_stat, tree_cons_stat): Likewise. | |
15105 | (build1_stat, build_omp_clause): Likewise. | |
15106 | ||
61be2a1c RS |
15107 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
15108 | ||
15109 | * builtins.c (expand_movstr): Fix endp == 1 adjustment after | |
15110 | last commit. | |
15111 | ||
a881aaa7 RG |
15112 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
15113 | ||
15114 | PR tree-optimization/48271 | |
15115 | * tree-ssa-dom.c (tree_ssa_dominator_optimize): Only cleanup | |
15116 | blocks that still exist. | |
15117 | ||
dbaa912c RG |
15118 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
15119 | ||
15120 | PR tree-optimization/48270 | |
15121 | * tree-ssa-phiopt.c (cond_if_else_store_replacement): Do | |
15122 | not free datarefs before ddrs. | |
15123 | ||
1d60cc55 EB |
15124 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
15125 | ||
15126 | * tree-sra.c (build_ref_for_offset): Strip useless type conversions | |
15127 | from the address built for a reference with variable offset. | |
15128 | ||
c78dd519 UB |
15129 | 2011-03-24 Uros Bizjak <ubizjak@gmail.com> |
15130 | ||
15131 | PR target/48237 | |
15132 | * config/i386/i386.md (*movdf_internal_rex64): Do not split | |
15133 | alternatives that can be handled with movq or movabsq insn. | |
15134 | (*movdf_internal): Disable for !TARGET_64BIT. | |
15135 | (*movdf_internal_nointeger): Ditto. | |
15136 | * config/i386/i386.c (ix86_print_operand): Handle DFmode immediates. | |
15137 | ||
b25b9e8f NF |
15138 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
15139 | ||
15140 | * system.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Poison. | |
15141 | (FUNCTION_ARG_ADVANCE): Likewise. | |
15142 | * tm.texi.in: Change references to them to hook references. | |
15143 | * tm.texi: Regenerate. | |
c78dd519 | 15144 | * targhooks.c (default_function_arg): Eliminate check for target macro. |
b25b9e8f NF |
15145 | (default_function_incoming_arg): Likewise. |
15146 | (default_function_arg_advance): Likewise. | |
c78dd519 | 15147 | * target.def (function_arg, function_incoming_arg): Change to DEFHOOK. |
b25b9e8f NF |
15148 | (function_arg_advance): Likewise. |
15149 | * target-def.h: Eliminate FUNCTION_INCOMING_ARG check. | |
15150 | ||
190b2187 RG |
15151 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
15152 | ||
15153 | PR middle-end/48269 | |
15154 | * tree-object-size.c (addr_object_size): Do not double-account | |
15155 | for MEM_REF offsets. | |
15156 | ||
a183b5c7 DN |
15157 | 2011-03-24 Diego Novillo <dnovillo@google.com> |
15158 | ||
15159 | * lto-opts.c (input_data_block): Move to lto-streamer-in.c. | |
c78dd519 | 15160 | * lto-streamer-in.c (input_string_internal): Add clarifying comments. |
a183b5c7 DN |
15161 | (lto_input_data_block): Move from lto-opts.c. Make extern. |
15162 | Update all users. | |
15163 | (lto_input_string): Rename from input_string. Make extern. | |
15164 | Update all users. | |
15165 | * lto-streamer-out.c (lto_output_string_with_length): Rename from | |
15166 | output_string_with_length. | |
15167 | Output 0 to indicate a non-NULL string. Update all callers to | |
15168 | not emit 0. | |
15169 | (lto_output_string): Rename from output_string. Make extern. | |
15170 | Update all users. | |
15171 | (lto_output_decl_state_streams): Make extern. | |
15172 | (lto_output_decl_state_refs): Make extern. | |
15173 | * lto-streamer.h (lto_input_string): Declare. | |
15174 | (lto_input_data_block): Declare. | |
15175 | (lto_output_string): Declare. | |
15176 | (lto_output_string_with_length): Declare. | |
15177 | (lto_output_decl_state_streams): Declare. | |
15178 | (lto_output_decl_state_refs): Declare. | |
15179 | ||
cfef45c8 RG |
15180 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
15181 | ||
15182 | PR tree-optimization/46562 | |
15183 | * tree.c (build_invariant_address): New function. | |
15184 | * tree.h (build_invariant_address): Declare. | |
15185 | * tree-dfa.c (get_addr_base_and_unit_offset): Wrap around | |
15186 | a renamed function moved ... | |
15187 | * tree-flow-inline.h (get_addr_base_and_unit_offset_1): ... here. | |
15188 | Take valueization callback parameter. | |
15189 | * tree-flow.h (gimple_fold_stmt_to_constant): Declare. | |
15190 | * gimple-fold.h: New file. | |
15191 | * tree-ssa-ccp.c (ccp_fold): Use gimple_fold_stmt_to_constant_1. | |
15192 | (ccp_fold, fold_const_aggregate_ref, | |
15193 | fold_ctor_reference, fold_nonarray_ctor_reference, | |
15194 | fold_array_ctor_reference, fold_string_cst_ctor_reference, | |
15195 | get_base_constructor): Move ... | |
15196 | * gimple-fold.c: ... here. | |
15197 | (gimple_fold_stmt_to_constant_1): New function | |
15198 | split out from ccp_fold. Take a valueization callback parameter. | |
15199 | Valueize all operands. | |
15200 | (gimple_fold_stmt_to_constant): New wrapper function. | |
15201 | (fold_const_aggregate_ref_1): New function split out from | |
15202 | fold_const_aggregate_ref. Take a valueization callback parameter. | |
15203 | (fold_const_aggregate_ref): Wrap fold_const_aggregate_ref_1. | |
15204 | * tree-ssa-sccvn.c (simplify_binary_expression): Simplify | |
15205 | invariant POINTER_PLUS_EXPRs to invariant form. | |
15206 | (vn_valueize): New function. | |
15207 | (try_to_simplify): Simplify by using gimple_fold_stmt_to_constant. | |
15208 | * tree-vrp.c (vrp_valueize): New function. | |
15209 | (vrp_visit_assignment_or_call): Use gimple_fold_stmt_to_constant | |
15210 | to fold statements to constants. | |
15211 | * tree-ssa-pre.c (eliminate): Properly guard propagation of | |
15212 | function declarations. | |
15213 | * Makefile.in (tree-ssa-sccvn.o, tree-vrp.o, gimple-fold.o, | |
15214 | tree-ssa-ccp.o): Add gimple-fold.h dependencies. | |
15215 | ||
5e0a7e40 RS |
15216 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
15217 | ||
15218 | * config/h8300/predicates.md (jump_address_operand): Fix register | |
15219 | mode check. | |
15220 | ||
bfe068c3 IR |
15221 | 2011-03-24 Ira Rosen <ira.rosen@linaro.org> |
15222 | ||
15223 | * doc/invoke.texi (max-stores-to-sink): Document. | |
15224 | * params.h (MAX_STORES_TO_SINK): Define. | |
15225 | * opts.c (finish_options): Set MAX_STORES_TO_SINK to 0 | |
15226 | if either vectorization or if-conversion is disabled. | |
15227 | * tree-data-ref.c (dr_equal_offsets_p1): Moved and renamed from | |
15228 | tree-vect-data-refs.c vect_equal_offsets. | |
15229 | (dr_equal_offsets_p): New function. | |
15230 | (find_data_references_in_bb): Remove static. | |
15231 | * tree-data-ref.h (find_data_references_in_bb): Declare. | |
15232 | (dr_equal_offsets_p): Likewise. | |
15233 | * tree-vect-data-refs.c (vect_equal_offsets): Move to tree-data-ref.c. | |
15234 | (vect_drs_dependent_in_basic_block): Update calls to | |
15235 | vect_equal_offsets. | |
15236 | (vect_check_interleaving): Likewise. | |
15237 | * tree-ssa-phiopt.c: Include cfgloop.h and tree-data-ref.h. | |
15238 | (cond_if_else_store_replacement): Rename to... | |
15239 | (cond_if_else_store_replacement_1): ... this. Change arguments and | |
15240 | documentation. | |
15241 | (cond_if_else_store_replacement): New function. | |
15242 | * Makefile.in (tree-ssa-phiopt.o): Adjust dependencies. | |
15243 | * params.def (PARAM_MAX_STORES_TO_SINK): Define. | |
15244 | ||
4908b0bf CLT |
15245 | 2011-03-23 Chung-Lin Tang <cltang@codesourcery.com> |
15246 | ||
15247 | PR target/46934 | |
15248 | * config/arm/arm.md (casesi): Use the gen_int_mode() function | |
15249 | to subtract lower bound instead of GEN_INT(). | |
15250 | ||
2be478a2 JW |
15251 | 2011-03-23 Jonathan Wakely <jwakely.gcc@gmail.com> |
15252 | ||
15253 | PR other/48179 | |
15254 | PR other/48221 | |
15255 | PR other/48234 | |
15256 | * doc/extend.texi (Alignment): Move section to match order in TOC. | |
15257 | * doc/invoke.texi (i386 and x86-64 Windows Options): Likewise. | |
15258 | (Warning Options): Adjust -Wno-cpp summary and remove stray backslash. | |
15259 | ||
0c617be4 JL |
15260 | 2011-03-23 Jeff Law <law@redhat.com> |
15261 | ||
15262 | * cfg.c (redirect_edge_succ_nodup): Duplicate the varm map | |
15263 | before removing the edge. | |
15264 | ||
15265 | * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Do not use E after | |
15266 | it may have been freed by redirect_branch_edge or | |
15267 | redirect_edge_succ_nodup. | |
15268 | ||
58da96fe RG |
15269 | 2011-03-23 Richard Guenther <rguenther@suse.de> |
15270 | ||
c78dd519 | 15271 | * tree-stdarg.c (va_list_counter_bump): Handle bumps via MEM_REF. |
58da96fe RG |
15272 | (check_va_list_escapes): Likewise. |
15273 | (check_all_va_list_escapes): Likewise. | |
15274 | ||
b8beb4d1 RG |
15275 | 2011-03-23 Richard Guenther <rguenther@suse.de> |
15276 | ||
15277 | * Makefile.in (IPA_TYPE_ESCAPE_H): Remove. | |
15278 | (OBJS-archive): Remove ipa-struct-reorg.o and ipa-type-escape.o. | |
15279 | (tree-ssa-alias.o): Do not depend on IPA_TYPE_ESCAPE_H. | |
15280 | (alias.o): Likewise. | |
15281 | (ipa-type-escape.o): Remove. | |
15282 | (ipa-struct-reorg.o): Likewise. | |
15283 | (GTFILES): Remove ipa-struct-reorg.c. | |
15284 | * alias.c: Do not include ipa-type-escape.h. | |
15285 | * tree-ssa-alias.c: Likewise. | |
15286 | * common.opt (fipa-struct-reorg): Preserve for backward compatibility. | |
15287 | * opts.c (finish_options): Do not reset flag_ipa_struct_reorg. | |
15288 | * passes.c (init_optimization_passes): Remove ipa-struct-reorg | |
15289 | and ipa-type-escape passes. | |
15290 | * tree-pass.h (pass_ipa_type_escape): Remove. | |
15291 | (pass_ipa_struct_reorg): Likewise. | |
15292 | * ipa-struct-reorg.h: Remove. | |
15293 | * ipa-struct-reorg.c: Likewise. | |
15294 | * ipa-type-escape.h: Likewise. | |
15295 | * ipa-type-escape.c: Likewise. | |
15296 | * doc/invoke.texi (-fipa-struct-reorg): Remove. | |
15297 | (--param struct-reorg-cold-struct-ratio): Likewise. | |
15298 | * params.def (PARAM_STRUCT_REORG_COLD_STRUCT_RATIO): Likewise. | |
15299 | * params.h (STRUCT_REORG_COLD_STRUCT_RATIO): Likewise. | |
15300 | * timevar.def (TV_IPA_TYPE_ESCAPE): Likewise. | |
15301 | ||
f137aa63 AK |
15302 | 2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
15303 | ||
15304 | * config/s390/2084.md: Enable all insn reservations also for z9_ec | |
15305 | cpu attribute value. | |
15306 | * config/s390/s390-opts.h (enum s390_arch_option): Remove. | |
15307 | (enum processor_type): Add PROCESSOR_2094_Z9_EC. | |
15308 | * config/s390/s390.c (processor_flags_table): New constant array. | |
15309 | (s390_handle_arch_option): Remove. | |
15310 | (s390_handle_option): Remove s390_handle_arch_option invocations | |
15311 | and OPT_mwarn_framesize_ handling. | |
15312 | (s390_option_override): Remove s390_handle_arch_option invocation. | |
15313 | (s390_emit_prologue): Remove use of HOST_WIDE_INT_PRINT_DEC in | |
15314 | warnings. | |
15315 | * config/s390/s390.md (cpu attribute): Add z9_ec value. | |
15316 | * config/s390/s390.opt (s390_tune, s390_arch) | |
15317 | (march=): Replace s390_arch_option enum and values with | |
15318 | processor_type. Set variable name to s390_arch. Set | |
15319 | initialization value. | |
15320 | (mtune=): Replace s390_arch_option with processor_type. Set | |
15321 | variable name to s390_tune. Set initialization value. | |
15322 | ||
bf90208f JB |
15323 | 2011-03-23 Julian Brown <julian@codesourcery.com> |
15324 | ||
15325 | * expr.c (expand_expr_real_1): Only use BLKmode for volatile | |
15326 | accesses which are not naturally aligned. | |
15327 | ||
3460fdf3 RS |
15328 | 2011-03-23 Richard Sandiford <richard.sandiford@linaro.org> |
15329 | ||
15330 | PR target/47553 | |
15331 | * config/arm/predicates.md (neon_lane_number): Accept 0..15. | |
15332 | ||
a5c7d693 RS |
15333 | 2011-03-23 Richard Sandiford <richard.sandiford@linaro.org> |
15334 | ||
15335 | * optabs.h (emit_unop_insn, maybe_emit_unop_insn): Change insn code | |
15336 | parameter from "int" to "enum insn_code". | |
15337 | (expand_operand_type): New enum. | |
15338 | (expand_operand): New structure. | |
15339 | (create_expand_operand): New function. | |
15340 | (create_fixed_operand, create_output_operand): Likewise | |
15341 | (create_input_operand, create_convert_operand_to): Likewise. | |
15342 | (create_convert_operand_from, create_address_operand): Likewise. | |
15343 | (create_integer_operand): Likewise. | |
15344 | (create_convert_operand_from_type, maybe_legitimize_operands): Declare. | |
15345 | (maybe_gen_insn, maybe_expand_insn, maybe_expand_jump_insn): Likewise. | |
15346 | (expand_insn, expand_jump_insn): Likewise. | |
15347 | * builtins.c (expand_builtin_prefetch): Use the new interfaces. | |
15348 | (expand_builtin_interclass_mathfn, expand_builtin_strlen): Likewise. | |
15349 | (expand_movstr, expand_builtin___clear_cache): Likewise. | |
15350 | (expand_builtin_lock_release): Likewise. | |
15351 | * explow.c (allocate_dynamic_stack_space): Likewise. | |
15352 | (probe_stack_range): Likewise. Allow check_stack to FAIL, | |
15353 | and use the default handling in that case. | |
15354 | * expmed.c (check_predicate_volatile_ok): Delete. | |
15355 | (store_bit_field_1, extract_bit_field_1): Use the new interfaces. | |
15356 | (emit_cstore): Likewise. | |
15357 | * expr.c (emit_block_move_via_movmem): Likewise. | |
15358 | (set_storage_via_setmem, expand_assignment): Likewise. | |
15359 | (emit_storent_insn, try_casesi): Likewise. | |
15360 | (emit_single_push_insn): Likewise. Allow the expansion to fail. | |
15361 | * optabs.c (expand_widen_pattern_expr, expand_ternary_op): Likewise. | |
15362 | (expand_vec_shift_expr, expand_binop_directly): Likewise. | |
15363 | (expand_twoval_unop, expand_twoval_binop): Likewise. | |
15364 | (expand_unop_direct, emit_indirect_jump): Likewise. | |
15365 | (emit_conditional_move, vector_compare_rtx): Likewise. | |
15366 | (expand_vec_cond_expr, expand_val_compare_and_swap_1): Likewise. | |
15367 | (expand_sync_operation, expand_sync_fetch_operation): Likewise. | |
15368 | (expand_sync_lock_test_and_set): Likewise. | |
15369 | (maybe_emit_unop_insn): Likewise. Change icode to an insn_code. | |
15370 | (emit_unop_insn): Likewise. | |
15371 | (expand_copysign_absneg): Change icode to an insn_code. | |
15372 | (create_convert_operand_from_type): New function. | |
15373 | (maybe_legitimize_operand, maybe_legitimize_operands): Likewise. | |
15374 | (maybe_gen_insn, maybe_expand_insn, maybe_expand_jump_insn): Likewise. | |
15375 | (expand_insn, expand_jump_insn): Likewise. | |
15376 | * config/i386/i386.md (setmem<mode>): Use nonmemory_operand rather | |
15377 | than const_int_operand for operand 2. | |
15378 | ||
78fadbab AK |
15379 | 2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
15380 | ||
15381 | * dwarf2out.c (const_ok_for_output_1): Print the unspec enum name | |
15382 | if possible. | |
15383 | ||
5f02387d NF |
15384 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
15385 | ||
15386 | * emit-rtl.c (emit_pattern_before_noloc): New function. | |
15387 | (emit_insn_before_noloc, emit_jump_insn_before_noloc): Call it. | |
15388 | (emit_call_insn_before_noloc, emit_debug_insn_before_noloc): Likewise. | |
15389 | (emit_pattern_after_noloc): New function. | |
15390 | (emit_insn_after_noloc, emit_jump_insn_after_noloc): Call it. | |
15391 | (emit_call_insn_after_noloc, emit_debug_insn_after_noloc): Likewise. | |
15392 | ||
fdf3e18a NF |
15393 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
15394 | ||
15395 | * libgcc2.c (__lshrdi3, __ashldi3, __ashrdi3): Use W_TYPE_SIZE. | |
15396 | (__ffsDI2): Likewise. | |
15397 | ||
42d085c1 RH |
15398 | 2011-03-22 Richard Henderson <rth@redhat.com> |
15399 | ||
15400 | * config/alpha/alpha.c (direct_return): Use TARGET_ABI_OSF instead | |
15401 | of !TARGET_ABI_OPEN_VMS. | |
15402 | (alpha_trampoline_init, alpha_start_function): Likewise. | |
15403 | (alpha_expand_epilogue, alpha_file_start): Likewise. | |
15404 | * config/alpha/alpha.md (divsi3, modsi3): Likewise. | |
15405 | (udivsi3, umodsi3, divdi3, moddi3, udivdi3, umoddi3): Likewise. | |
15406 | (*divmodsi_internal_er, *divmodsi_internal_er_1): Likewise. | |
15407 | (*divmodsi_internal, *divmoddi_internal_er): Likewise. | |
15408 | (*divmoddi_internal_er_1, *divmoddi_internal): Likewise. | |
15409 | ||
cabbe12a JM |
15410 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15411 | ||
15412 | * config/s390/s390-opts.h: New. | |
15413 | * config/s390/s390.c (s390_tune, s390_tune_flags, s390_arch, | |
15414 | s390_arch_flags, s390_warn_framesize, s390_stack_size, | |
15415 | s390_stack_guard): Remove. | |
15416 | (s390_handle_arch_option): Return void. Take enum | |
15417 | s390_arch_option value instead of string and searching array. | |
15418 | (s390_handle_option): Don't assert that global structures are in | |
15419 | use. Access variables via opts pointer. Use error_at. Don't use | |
15420 | sscanf for -mstack-guard= or -mstack-size=. Update call to | |
15421 | s390_handle_arch_option. | |
15422 | (s390_option_override): Update call to s390_handle_arch_option. | |
15423 | (s390_emit_prologue): Use %d format for s390_stack_size in | |
15424 | diagnostic. Use %wd for HOST_WIDE_INT. | |
15425 | * config/s390/s390.h (enum processor_type): Move to s390-opts.h. | |
15426 | (s390_tune, s390_tune_flags, s390_arch, s390_arch_flags): Remove. | |
15427 | * config/s390/s390.opt (config/s390/s390-opts.h): New | |
15428 | HeaderInclude entry. | |
15429 | (s390_arch_string, s390_tune, s390_tune_flags, s390_arch, | |
15430 | s390_arch_flags, s390_warn_framesize): New Variable entries. | |
15431 | (s390_arch_option): New Enum and EnumValue entries. | |
15432 | (march=): Use Enum instead of Var. | |
15433 | (mstack-guard=, mstack-size=): Use UInteger and Var. | |
15434 | (mtune=): Use Enum. | |
15435 | ||
05b12036 JM |
15436 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15437 | ||
15438 | * config/score/score.c (score_handle_option): Don't assert that | |
15439 | global structures are in use. Access target_flags via opts | |
15440 | pointer. Use value of -march= option to determine target_flags | |
15441 | settings. | |
15442 | * config/score/score.opt (march=): Use Enum. | |
15443 | (score_arch): New Enum and EnumValue entries. | |
15444 | ||
dd51e35a JM |
15445 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15446 | ||
15447 | * config/mep/mep.c (option_mtiny_specified): Remove. | |
15448 | (mep_option_override): Move register handling for -mivc2 from | |
15449 | mep_handle_option. Use global_options_set.x_mep_tiny_cutoff | |
15450 | instead of option_mtiny_specified. | |
15451 | (mep_handle_option): Access target_flags via opts pointer. Don't | |
15452 | assert that global structures are in use. Defer part of -mivc2 | |
15453 | handling and move it to mep_option_override. | |
15454 | * config/mep/mep.opt (IVC2): New Mask entry. | |
15455 | (mivc2): Use Var and Defer instead of Mask. | |
15456 | ||
4a8d3d91 JM |
15457 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15458 | ||
15459 | * config/v850/v850-opts.h: New. | |
15460 | * config/v850/v850.c (small_memory): Replace with | |
15461 | small_memory_physical_max array. Make that array static const. | |
15462 | (v850_handle_memory_option): Take integer value of argument. Take | |
15463 | gcc_options pointer, option text and location. Return void. | |
15464 | Update for changes to small memory structures. | |
15465 | (v850_handle_option): Access target_flags via opts pointer. Don't | |
15466 | assert that global structures are in use. Update calls to | |
15467 | v850_handle_memory_option. | |
c78dd519 UB |
15468 | (v850_encode_data_area): Update references to small memory settings. |
15469 | * config/v850/v850.h (struct small_memory_info, small_memory): Remove. | |
4a8d3d91 JM |
15470 | (enum small_memory_type): Move to v850-opts.h. |
15471 | * config/v850/v850.opt (config/v850/v850-opts.h): New | |
15472 | HeaderInclude entry. | |
15473 | (small_memory_max): New Variable entry. | |
15474 | (msda): Replace by pair of options msda= and msda-. Use UInteger. | |
15475 | (mtda, mzda): Likewise. | |
15476 | ||
117fdbfa JM |
15477 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15478 | ||
15479 | * config/sh/sh.c (sh_handle_option): Access target_flags via opts | |
15480 | pointer. Don't assert that global structures are in use. | |
15481 | ||
d715091c JM |
15482 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15483 | ||
15484 | * config/pdp11/pdp11.c (pdp11_handle_option): Access target_flags | |
15485 | via opts pointer. Don't assert that global structures are in use. | |
15486 | ||
1bb721dc JM |
15487 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15488 | ||
15489 | * config/pa/pa-hpux.opt (flag_pa_unix): New Variable entry. | |
15490 | (munix=93): Use Var. | |
15491 | * config/pa/pa-hpux1010.opt (munix=95): Use Var. | |
15492 | * config/pa/pa-hpux1111.opt (munix=98): Use Var. | |
15493 | * config/pa/pa-opts.h: New. | |
15494 | * config/pa/pa.c (pa_cpu, flag_pa_unix): Remove. | |
15495 | (pa_handle_option): Don't assert that global structures are in | |
15496 | use. Access target_flags via opts pointer. Don't handle | |
15497 | OPT_mschedule_, OPT_mfixed_range_, OPT_munix_93, OPT_munix_95 or | |
15498 | OPT_munix_98 here. | |
15499 | (pa_option_override): Handle deferred OPT_mfixed_range_. | |
15500 | ||
cd8d8754 JM |
15501 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15502 | ||
15503 | * config/mn10300/mn10300-opts.h: New. | |
15504 | * config/mn10300/mn10300.c (mn10300_processor, | |
15505 | mn10300_tune_string): Remove. | |
15506 | (mn10300_handle_option): Don't assert that global structures are | |
15507 | in use. Access mn10300_processor via opts pointer. Don't handle | |
15508 | OPT_mtune_ here. | |
15509 | * config/mn10300/mn10300.h (enum processor_type): Move to | |
15510 | mn10300-opts.h. | |
15511 | (mn10300_processor): Remove. | |
15512 | * config/mn10300/mn10300.opt (config/mn10300/mn10300-opts.h): New | |
15513 | HeaderInclude entry. | |
15514 | (mn10300_processor): New Variable entry. | |
15515 | (mtune=): Use Var. | |
15516 | ||
24e6e6b1 JM |
15517 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15518 | ||
15519 | * config/microblaze/microblaze.c: Don't include opts.h. | |
15520 | (microblaze_handle_option, TARGET_HANDLE_OPTION): Remove. | |
15521 | * config/microblaze/microblaze.opt (mxl-stack-check): Use Warn. | |
15522 | (mno-clearbss): Use Var and Warn. | |
15523 | ||
8a784afb JM |
15524 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15525 | ||
15526 | * config/m32r/m32r-opts.h: New. | |
15527 | * config/m32r/m32r.c (m32r_model, m32r_sdata): Remove. | |
15528 | (m32r_handle_option): Don't assert that global structures are in | |
15529 | use. Access target_flags and m32r_cache_flush_func via opts | |
15530 | pointer. Don't handle OPT_mmodel_, OPT_msdata_ or | |
15531 | OPT_mno_flush_trap here. | |
15532 | * config/m32r/m32r.h (Code Models, Small Data Area): Replace by | |
15533 | include of m32r-opts.h. | |
15534 | * config/m32r/m32r.opt (config/m32r/m32r-opts.h): New | |
15535 | HeaderInclude entry. | |
15536 | (m32r_model_selected, m32r_sdata_selected): New Variable entries. | |
15537 | (mmodel=): Use Enum and Var. | |
15538 | (m32r_model): New Enum and EnumValue entries. | |
15539 | (mno-flush-trap): Use Var. | |
15540 | (msdata=): Use Enum and Var. | |
15541 | (m32r_sdata): New Enum and EnumValue entries. | |
15542 | ||
bbfc9a8c JM |
15543 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15544 | ||
15545 | * config/m32c/m32c.c: Don't include opts.h. | |
15546 | (target_memregs, target_memregs_set, TARGET_HANDLE_OPTION, | |
15547 | m32c_handle_option): Remove. | |
15548 | (m32c_option_override): Check global_options_set.x_target_memregs | |
15549 | instead of target_memregs_set. | |
15550 | * config/m32c/m32c.h (target_memregs): Remove. | |
15551 | * config/m32c/m32c.opt (memregs=): Use UInteger with integer | |
15552 | variable. | |
15553 | ||
e24b8335 JM |
15554 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15555 | ||
15556 | * config/iq2000/iq2000-opts.h: New. | |
15557 | * config/iq2000/iq2000.c: Don't include opts.h. | |
15558 | (iq2000_tune, iq2000_handle_option, TARGET_HANDLE_OPTION): Remove. | |
c78dd519 | 15559 | * config/iq2000/iq2000.h (enum processor_type, iq2000_tune): Remove. |
e24b8335 JM |
15560 | * config/iq2000/iq2000.opt (config/iq2000/iq2000-opts.h): New |
15561 | HeaderInclude entry. | |
15562 | (iq2000_tune): New Variable entry. | |
15563 | (march=): Add comment. Use Enum. | |
15564 | (iq2000_arch): New Enum and EnumValue entries. | |
15565 | (mcpu=): Use Enum and Var. | |
15566 | (iq2000_tune): New Enum and EnumValue entries. | |
15567 | ||
e6cc0c98 JM |
15568 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15569 | ||
15570 | * config/ia64/ia64-opts.h: New. | |
15571 | * config/ia64/ia64.c (ia64_tune): Remove. | |
15572 | (ia64_handle_option): Don't handle OPT_mfixed_range_ or OPT_mtune_ | |
15573 | here. Use error_at. | |
15574 | (ia64_option_override): Handle deferred OPT_mfixed_range_. | |
15575 | * config/ia64/ia64.h (enum processor_type, ia64_tune): Remove. | |
15576 | * config/ia64/ia64.opt (config/ia64/ia64-opts.h): New | |
15577 | HeaderInclude entry. | |
15578 | (ia64_tune): New Variable entry. | |
15579 | (mfixed-range=): Use Defer and Var. | |
15580 | (mtune=): Use Enum and Var. | |
15581 | (ia64_tune): New Enum and EnumValue entries. | |
15582 | ||
db25893c JM |
15583 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15584 | ||
15585 | * config/frv/frv-opts.h: New. | |
15586 | * config/frv/frv-protos.h (enum frv_cpu, frv_cpu_t): Move to | |
15587 | frv-opts.h. | |
15588 | (frv_cpu_type): Remove. | |
15589 | * config/frv/frv.c: Don't include opts.h. | |
15590 | (frv_cpu_type, frv_handle_option, TARGET_HANDLE_OPTION): Remove. | |
c78dd519 | 15591 | * config/frv/frv.opt (config/frv/frv-opts.h): New HeaderInclude entry. |
db25893c JM |
15592 | (frv_cpu_type): New Variable entry. |
15593 | (frv_cpu): New Enum and EnumValue entries. | |
15594 | ||
6c223f5d JM |
15595 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15596 | ||
15597 | * config/cris/cris.c (cris_handle_option): Access target_flags via | |
15598 | opts pointer. Don't assert that global structures are in use. | |
15599 | Don't call CRIS_SUBTARGET_HANDLE_OPTION. | |
15600 | * config/cris/cris.h (CRIS_SUBTARGET_HANDLE_OPTION): Don't define. | |
15601 | ||
bbd399cf JM |
15602 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15603 | ||
15604 | * config/bfin/bfin-opts.h: New. | |
15605 | * config/bfin/bfin.c (bfin_lib_id_given, bfin_cpu_type, | |
15606 | bfin_si_revision, bfin_workarounds): Remove. | |
15607 | (bfin_cpus): Make static const. | |
15608 | (bfin_load_pic_reg): Check global_options_set.x_bfin_library_id | |
15609 | not bfin_lib_id_given. | |
15610 | (bfin_handle_option): Don't set bfin_lib_id_given. Access | |
15611 | bfin_cpu_type, bfin_si_revision and bfin_workarounds via opts | |
c78dd519 | 15612 | pointer. Use error_at. Don't assert that global structures are in use. |
bbd399cf JM |
15613 | * config/bfin/bfin.h: Include bfin-opts.h. |
15614 | (enum bfin_cpu_type, bfin_cpu_t): Move to bfin-opts.h. | |
15615 | (bfin_cpu_type, bfin_si_revision, bfin_workarounds): Remove. | |
15616 | * bfin.opt (config/bfin/bfin-opts.h): New HeaderInclude entry. | |
15617 | (bfin_cpu_type, bfin_si_revision, bfin_workarounds): New Variable | |
15618 | entries. | |
15619 | ||
5e1b4d5a JM |
15620 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15621 | ||
15622 | * config/arm/arm.opt (mhard-float, msoft-float): Use Alias. | |
15623 | * config/arm/arm.c (arm_handle_option): Don't handle -mhard-float | |
15624 | or -msoft-float here. | |
15625 | * config/arm/arm.h (CPP_SPEC): Handle -mfloat-abi=*, not | |
15626 | -msoft-float and -mhard-float. | |
c78dd519 | 15627 | (OPTION_DEFAULT_SPECS): Don't handle -mhard-float and -msoft-float. |
5e1b4d5a JM |
15628 | * config/arm/coff.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not |
15629 | msoft-float. | |
15630 | * config/arm/elf.h (ASM_SPEC): Don't handle -mhard-float and | |
15631 | -msoft-float. | |
15632 | (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not msoft-float. | |
15633 | * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Use mfloat-abi=hard, | |
15634 | not mhard-float. | |
15635 | (LIBGCC_SPEC): Don't handle -msoft-float. | |
15636 | * config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Don't handle | |
15637 | -mhard-float. | |
15638 | * config/arm/pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not | |
15639 | msoft-float. | |
15640 | * config/arm/rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Handle | |
15641 | -mfloat-abi=*, not -msoft-float and -mhard-float. | |
15642 | * config/arm/semi.h((ASM_SPEC): Don't handle -mhard-float and | |
15643 | -msoft-float. | |
15644 | * config/arm/t-arm-elf (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): | |
15645 | Use mfloat-abi=hard and mfloat-abi=soft in comments, not | |
15646 | mhard-float and msoft-float. | |
15647 | * config/arm/t-linux (MULTILIB_OPTIONS): Use mfloat-abi=hard and | |
15648 | mfloat-abi=soft in comments, not mhard-float and msoft-float. | |
15649 | * config/arm/t-rtems (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use | |
15650 | mfloat-abi=soft and mfloat-abi=hard, not msoft-float and | |
15651 | mhard-float. | |
15652 | * config/arm/t-strongarm-elf (MULTILIB_OPTIONS): Use | |
15653 | mfloat-abi=hard and mfloat-abi=soft, not mhard-float and | |
15654 | msoft-float. | |
15655 | * config/arm/t-wince-pe (MULTILIB_OPTIONS): Use mfloat-abi=hard, | |
15656 | not mhard-float. | |
15657 | * config/arm/wince-pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, | |
15658 | not msoft-float. | |
15659 | ||
800d1de1 RH |
15660 | 2011-03-22 Richard Henderson <rth@redhat.com> |
15661 | ||
15662 | * config/alpha/alpha.c (alpha_expand_prologue): Don't test | |
15663 | TARGET_ABI_WINDOWS_NT. | |
15664 | (alpha_output_function_end_prologue): Likewise. | |
15665 | * config/alpha/alpha.h (TARGET_ABI_OSF): Likewise. | |
15666 | (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
15667 | * config/alpha/alpha.md (call, call_value, tablejump): Likewise. | |
15668 | (trap, *movsi_nt_vms): Likewise. | |
15669 | (call_nt, call_value_nt, *call_nt_1, *call_value_nt_1): Remove. | |
15670 | (*tablejump_osf_nt_internal): Remove. | |
15671 | * config/alpha/predicates.md (input_operand): Only test Pmode. | |
15672 | ||
c59ddd2b JM |
15673 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15674 | ||
15675 | * config/alpha/alpha.c (alpha_handle_option): Access target_flags | |
15676 | via opts pointer. Use error_at. Don't assert that global | |
15677 | structures are in use. | |
15678 | ||
1333f97f JM |
15679 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15680 | ||
15681 | * config/i386/i386.c (ix86_isa_flags_explicit): Remove. | |
15682 | (ix86_handle_option): Access ix86_isa_flags and | |
15683 | ix86_isa_flags_explicit via opts pointer. Don't assert that | |
15684 | global structures are in use. | |
15685 | (ix86_function_specific_save, ix86_function_specific_restore): | |
15686 | Update ix86_isa_flags_explicit field name. | |
c78dd519 | 15687 | * config/i386/i386.opt (ix86_isa_flags_explicit): New Variable entry. |
1333f97f JM |
15688 | (ix86_isa_flags_explicit): Rename TargetSave entry to |
15689 | x_ix86_isa_flags_explicit. | |
15690 | ||
75db85d8 RH |
15691 | 2011-03-22 Richard Henderson <rth@redhat.com> |
15692 | ||
15693 | * config/alpha/alpha.c (NUM_ARGS): Don't test TARGET_ABI_UNICOSMK. | |
15694 | (alpha_option_override, direct_return): Likewise. | |
15695 | (alpha_arg_partial_bytes, alpha_setup_incoming_varargs): Likewise. | |
15696 | (alpha_va_start, alpha_gimplify_va_arg, alpha_sa_mask): Likewise. | |
15697 | (alpha_sa_size, compute_frame_size, alpha_expand_prologue): Likewise. | |
15698 | (alpha_start_function, alpha_output_function_end_prologue): Likewise. | |
15699 | (alpha_expand_epilogue, alpha_end_function): Likewise. | |
15700 | (alpha_init_libfuncs): Likewise. | |
15701 | (struct machine_function): Remove unicosmk members. | |
15702 | (print_operand) ['t']: Remove. | |
15703 | (unicosmk_must_pass_in_stack, unicosmk_initial_elimination_offset, | |
15704 | unicosmk_output_module_name, unicosmk_output_common, | |
15705 | current_section_align, unicosmk_output_text_section_asm_op, | |
15706 | unicosmk_output_data_section_asm_op, unicosmk_init_sections, | |
15707 | unicosmk_section_type_flags, unicosmk_unique_section, | |
15708 | unicosmk_asm_named_section, unicosmk_insert_attributes, | |
15709 | unicosmk_output_align, unicosmk_defer_case_vector, | |
15710 | unicosmk_output_addr_vec, unicosmk_output_deferred_case_vectors, | |
15711 | SSIB_PREFIX, SSIB_PREFIX_LEN, unicosmk_ssib_name, unicosmk_gen_dsib, | |
15712 | unicosmk_output_ssib, unicosmk_add_call_info_word, | |
15713 | unicosmk_extern_head, unicosmk_output_default_externs, | |
15714 | unicosmk_output_externs, unicosmk_add_extern, unicosmk_dex_list, | |
15715 | unicosmk_dex_count, unicosmk_special_name, unicosmk_need_dex, | |
15716 | unicosmk_output_dex, unicosmk_file_start, unicosmk_file_end): Remove. | |
15717 | * config/alpha/alpha-protos.h: Update. | |
15718 | * config/alpha/alpha.h (TARGET_ABI_OSF): Don't test TARGET_ABI_UNICOSMK. | |
15719 | * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM): Remove. | |
15720 | (UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): Remove. | |
15721 | (mulsi3): Don't test TARGET_ABI_UNICOSMK. | |
15722 | (*mulsi_se, mulvsi3): Likewise. | |
15723 | (divsi3, udivsi3, modsi3, umodsi3, divdi3, udivdi3): Likewise. | |
15724 | (*divmodsi_internal, call, call_value, realign): Likewise. | |
15725 | (moddi3, umoddi3): Likewise; remove duplicate expander. | |
15726 | (moddi3_umk, umoddi3_umk, call_umk, call_value_umk): Remove. | |
15727 | (*call_umk_1, *movsi, umk_laum, umk_lalm, *umk_load_ciw): Remove. | |
15728 | (*movdi_nofix): Remove r/U alternative. | |
15729 | (umk_mismatch_args, arg_home_umk, *call_value_umk): Remove. | |
15730 | * config/alpha/constraints.md ("U"): Remove. | |
15731 | * config/alpha/predicates.md (call_operand"): Don't test | |
15732 | TARGET_ABI_UNICOSMK. | |
15733 | ||
96e45421 JM |
15734 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15735 | ||
15736 | * target.def (handle_option): Take gcc_options and | |
15737 | cl_decoded_option pointers and location_t. | |
15738 | * doc/tm.texi.in (TARGET_HANDLE_OPTION): Update documentation. | |
15739 | * doc/tm.texi: Regenerate. | |
15740 | * hooks.c (hook_bool_size_t_constcharptr_int_true): Remove. | |
15741 | * hooks.h (hook_bool_size_t_constcharptr_int_true): Don't declare. | |
15742 | * lto-opts.c (lto_reissue_options): Generate option structure for | |
15743 | targetm.handle_option call. | |
15744 | * opts.c (target_handle_option): Update call to | |
15745 | targetm.handle_option. Remove assertions about values now passed | |
15746 | down to hook. | |
15747 | * targhooks.c (default_target_handle_option): New. | |
15748 | * targhooks.h (default_target_handle_option): Declare. | |
15749 | * config/alpha/alpha.c: Include opts.h. | |
15750 | (alpha_handle_option): Update to new hook interface. | |
15751 | * config/arm/arm.c: Include opts.h. | |
15752 | (arm_handle_option): Update to new hook interface. | |
15753 | * config/arm/t-arm (arm.o): Update dependencies. | |
15754 | * config/bfin/bfin.c: Include opts.h. | |
15755 | (bfin_handle_option): Update to new hook interface. | |
15756 | * config/cris/cris.c: Include opts.h. | |
15757 | (cris_handle_option): Update to new hook interface. | |
15758 | * config/frv/frv.c: Include opts.h. | |
15759 | (frv_handle_option): Update to new hook interface. | |
15760 | * config/i386/i386.c: Include opts.h. | |
15761 | (ix86_handle_option): Update to new hook interface. | |
15762 | (ix86_valid_target_attribute_inner_p): Generate option structure | |
15763 | for call to ix86_handle_option. | |
15764 | * config/i386/t-i386 (i386.o): Update dependencies. | |
15765 | * config/ia64/ia64.c: Include opts.h. | |
15766 | (ia64_handle_option): Update to new hook interface. | |
15767 | * config/ia64/t-ia64 (ia64.o): Update dependencies. | |
15768 | * config/iq2000/iq2000.c: Include opts.h. | |
15769 | (iq2000_handle_option): Update to new hook interface. | |
15770 | * config/m32c/m32c.c: Include opts.h. | |
15771 | (m32c_handle_option): Update to new hook interface. | |
15772 | * config/m32r/m32r.c: Include opts.h. | |
15773 | (m32r_handle_option): Update to new hook interface. | |
15774 | * config/m68k/m68k.c: Include opts.h. | |
15775 | (m68k_handle_option): Update to new hook interface. | |
15776 | * config/mep/mep.c: Include opts.h. | |
15777 | (mep_handle_option): Update to new hook interface. | |
15778 | * config/microblaze/microblaze.c: Include opts.h. | |
15779 | (microblaze_handle_option): Update to new hook interface. | |
15780 | * config/mips/mips.c: Include opts.h. | |
15781 | (mips_handle_option): Update to new hook interface. | |
15782 | * config/mn10300/mn10300.c: Include opts.h. | |
15783 | (mn10300_handle_option): Update to new hook interface. | |
15784 | * config/pa/pa.c: Include opts.h. | |
15785 | (pa_handle_option): Update to new hook interface. | |
15786 | * config/pdp11/pdp11.c: Include opts.h. | |
15787 | (pdp11_handle_option): Update to new hook interface. | |
15788 | * config/rs6000/rs6000.c: Include opts.h. | |
15789 | (rs6000_handle_option): Update to new hook interface. | |
15790 | * config/rs6000/t-rs6000 (rs6000.o): Update dependencies. | |
15791 | * config/rx/rx.c: Include opts.h. | |
15792 | (rx_handle_option): Update to new hook interface. | |
15793 | * config/s390/s390.c: Include opts.h. | |
15794 | (s390_handle_option): Update to new hook interface. | |
15795 | * config/score/score.c: Include opts.h. | |
15796 | (score_handle_option): Update to new hook interface. | |
15797 | * config/sh/sh.c: Include opts.h. | |
15798 | (sh_handle_option): Update to new hook interface. | |
15799 | * config/sparc/sparc.c: Include opts.h. | |
15800 | (sparc_handle_option): Update to new hook interface. | |
15801 | * config/v850/v850.c: Include opts.h. | |
15802 | (v850_handle_option): Update to new hook interface. | |
15803 | ||
66017846 JM |
15804 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15805 | ||
15806 | * gcc.c (driver_unknown_option_callback): Only permit and save | |
15807 | unknown -Wno- options. | |
15808 | (driver_wrong_lang_callback): Save options directly instead of via | |
15809 | driver_unknown_option_callback. | |
15810 | ||
e8b97ccd EB |
15811 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
15812 | ||
15813 | * combine.c (simplify_set): Try harder to find the best CC mode when | |
15814 | simplifying a nested COMPARE on the RHS. | |
15815 | ||
ebb9f8b0 JM |
15816 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
15817 | ||
15818 | * config/alpha/gnu.h: Remove. | |
15819 | * config/arc: Remove directory. | |
15820 | * config/arm/netbsd.h: Remove. | |
15821 | * config/arm/t-pe: Remove. | |
15822 | * config/crx: Remove directory. | |
15823 | * config/i386/netbsd.h: Remove. | |
15824 | * config/m68hc11: Remove directory. | |
15825 | * config/m68k/uclinux-oldabi.h: Remove. | |
15826 | * config/mcore/mcore-pe.h: Remove. | |
15827 | * config/mcore/t-mcore-pe: Remove. | |
15828 | * config/netbsd-aout.h: Remove. | |
15829 | * config/rs6000/gnu.h: Remove. | |
15830 | * config/sh/sh-symbian.h: Remove. | |
15831 | * config/sh/symbian-base.c: Remove. | |
15832 | * config/sh/symbian-c.c: Remove. | |
15833 | * config/sh/symbian-cxx.c: Remove. | |
15834 | * config/sh/symbian-post.h: Remove. | |
15835 | * config/sh/symbian-pre.h: Remove. | |
15836 | * config/sh/t-symbian: Remove. | |
15837 | * config/svr3.h: Remove. | |
15838 | * config/vax/netbsd.h: Remove. | |
15839 | * config.build: Don't handle i[34567]86-*-pe. | |
15840 | * config.gcc: Remove handling of deprecations for most deprecated | |
15841 | targets. | |
15842 | (m68k-*-uclinuxoldabi*): Add to second deprecated list. | |
15843 | (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*, arm-*-pe*, crx-*-elf, | |
15844 | i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*|m6811-*-*, | |
15845 | m68hc12-*-*|m6812-*-*, m68k-*-uclinuxoldabi*, mcore-*-pe*, | |
15846 | powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*, | |
15847 | sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*): | |
15848 | Remove cases. | |
15849 | * config.host: Don't handle i[34567]86-*-pe. | |
15850 | * config/rs6000/linux64.h (LINK_OS_GNU_SPEC): Remove. | |
15851 | (ASM_SPEC32): Don't handle -mcall-gnu. | |
15852 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't handle | |
15853 | -mcall-gnu. | |
15854 | (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, CPP_SPEC, | |
15855 | STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): Don't handle -mcall-gnu. | |
15856 | (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, | |
15857 | LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): Remove. | |
15858 | (SUBTARGET_EXTRA_SPECS): Remove *_gnu specs. | |
15859 | * config/sh/sh-protos.h, config/sh/sh.c: Remove all code | |
15860 | conditional on SYMBIAN. | |
15861 | * configure.ac: Don't handle powerpc*-*-gnu*. | |
15862 | * configure: Regenerate. | |
15863 | * doc/extend.texi (interrupt attribute): Don't mention CRX. | |
15864 | * doc/install-old.texi (m6811, m6812): Don't mention. | |
15865 | * doc/install.texi (arc-*-elf*): Don't document multilib option. | |
15866 | (arc-*-elf, CRX, m6811-elf, m6812-elf): Remove. | |
15867 | (m68k-uclinuxoldabi): Don't mention. | |
15868 | * doc/invoke.texi (ARC Options, CRX Options, M68hc1x Options): | |
15869 | Remove. | |
15870 | (-mcall-gnu): Remove. | |
15871 | * doc/md.texi (CRX Architecture, Motorola 68HC11 & 68HC12 | |
15872 | families): Remove constraint documentation. | |
15873 | ||
999a7d80 MS |
15874 | 2011-03-22 Marius Strobl <marius@FreeBSD.org> |
15875 | ||
15876 | * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Replace with... | |
15877 | (FBSD_TARGET_CPU_CPP_BUILTINS): ...this. | |
15878 | (TARGET_GNU_TLS, TARGET_SUN_TLS): Define. | |
15879 | ||
45540bcf MM |
15880 | 2011-03-21 Michael Meissner <meissner@linux.vnet.ibm.com> |
15881 | ||
15882 | PR target/48226 | |
15883 | * config/rs6000/rs6000-c.c (rs6000_macro_to_expand): If we see a | |
15884 | vector when peeking at the next token for vector, don't expand the | |
15885 | keywords. | |
15886 | ||
980a0ff4 GJL |
15887 | 2011-03-21 Georg-Johann Lay <avr@gjlay.de> |
15888 | ||
15889 | * config/avr/avr-protos.h (expand_epilogue): Change prototype | |
15890 | * config/avr/avr.h (struct machine_function): Add field sibcall_fails. | |
15891 | * config/avr/avr.c (init_cumulative_args) | |
15892 | (avr_function_arg_advance): Use it. | |
15893 | * config/avr/avr.c (expand_epilogue): Add bool parameter. Handle | |
15894 | sibcall epilogues. | |
15895 | (TARGET_FUNCTION_OK_FOR_SIBCALL): Define to... | |
15896 | (avr_function_ok_for_sibcall): ...this new function. | |
15897 | (avr_lookup_function_attribute1): New static Function. | |
15898 | (avr_naked_function_p, interrupt_function_p) | |
15899 | (signal_function_p, avr_OS_task_function_p) | |
15900 | (avr_OS_main_function_p): Use it. | |
15901 | * config/avr/avr.md ("sibcall", "sibcall_value") | |
15902 | ("sibcall_epilogue"): New expander. | |
15903 | ("*call_insn", "*call_value_insn"): New insn. | |
15904 | ("call_insn", "call_value_insn"): Remove | |
15905 | ("call", "call_value", "epilogue"): Change expander to handle | |
15906 | sibling calls. | |
15907 | ||
49168734 NC |
15908 | 2011-03-21 Nick Clifton <nickc@redhat.com> |
15909 | ||
15910 | * doc/invoke.texi (Overall Options): Move closing brace to end of | |
15911 | options list. | |
15912 | (Optimization Options): Add missing @gol. | |
15913 | (Directory Options): Likewise. | |
15914 | (i386 and x86-64 Options): Likewise. | |
15915 | (RS6000 and PowerPC Options): Likewise. | |
15916 | (i386 and x86-64 Windows Options): Likewise. | |
15917 | (V850 Options): Add text missing from descriptions. | |
15918 | ||
bdfe906f RH |
15919 | 2011-03-22 Richard Henderson <rth@redhat.com> |
15920 | ||
15921 | * config/avr/avr.c (TARGET_EXCEPT_UNWIND_INFO): New. | |
15922 | (avr_incoming_return_addr_rtx): New. | |
15923 | (emit_push_byte): New. | |
15924 | (expand_prologue): Use it. Remove incorrect dwarf annotation for | |
15925 | SREG, RAMPZ, zero register. Push frame pointer by bytes. Add dwarf | |
15926 | annotation for __prologue_saves__. Fixup dwarf annotation for CFA. | |
15927 | (emit_pop_byte): New. | |
15928 | (expand_epilogue): Use it. Pop frame pointer by bytes. | |
15929 | * config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Remove. | |
15930 | (INCOMING_RETURN_ADDR_RTX): New. | |
15931 | (INCOMING_FRAME_SP_OFFSET): New. | |
15932 | (ARG_POINTER_CFA_OFFSET): New. | |
15933 | * config/avr/avr.md (*pushqi): Fix mode of auto-inc. | |
15934 | (*pushhi, *pushsi, *pushsf, popqi): Likewise. | |
15935 | (pophi): Remove. | |
15936 | ||
d090a5aa RH |
15937 | * dwarf2out.c (dwarf2out_frame_debug_expr) [rule 11]: Handle post_dec. |
15938 | ||
fdf3e18a NF |
15939 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
15940 | ||
15941 | * system.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Poison. | |
15942 | (FUNCTION_ARG_ADVANCE): Likewise. | |
15943 | * tm.texi.in: Change references to them to hook references. | |
15944 | * tm.texi: Regenerate. | |
15945 | * targhooks.c (default_function_arg): Eliminate check for target | |
15946 | macro. | |
15947 | (default_function_incoming_arg): Likewise. | |
15948 | (default_function_arg_advance): Likewise. | |
c78dd519 | 15949 | * target.def (function_arg, function_incoming_arg): Change to DEFHOOK. |
fdf3e18a NF |
15950 | (function_arg_advance): Likewise. |
15951 | * target-def.h: Eliminate FUNCTION_INCOMING_ARG check. | |
15952 | ||
009d3fcf NF |
15953 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
15954 | ||
15955 | * tree.c (build_call_1): New function. | |
15956 | (build_call_valist, build_call_array_loc, build_call_vec): Call it. | |
15957 | ||
7bec30e1 RG |
15958 | 2011-03-22 Richard Guenther <rguenther@suse.de> |
15959 | ||
15960 | PR tree-optimization/48228 | |
15961 | * tree-vrp.c (vrp_visit_phi_node): Do not stop propagating | |
15962 | for single-arg PHIs. | |
15963 | ||
0b7e851b AB |
15964 | 2011-03-22 Andrey Belevantsev <abel@ispras.ru> |
15965 | ||
15966 | PR rtl-optimization/48143 | |
15967 | * config/i386/sse.md (*sse2_cvtpd2dq): Add athlon_decode attribute. | |
15968 | (*sse2_cvttpd2dq, sse2_cvtss2sd, *sse2_cvtpd2ps, | |
15969 | sse2_cvtps2pd): Likewise. | |
15970 | ||
d89afca5 AK |
15971 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
15972 | ||
15973 | * recog.c (canonicalize_change_group): Use validate_unshare_change. | |
15974 | ||
f471fe72 RG |
15975 | 2011-03-22 Richard Guenther <rguenther@suse.de> |
15976 | ||
15977 | * gimple.c (gimple_rhs_class_table): POLYNOMIAL_CHREC is not | |
15978 | a valid RHS. Make DOT_PROD_EXPR and REALIGN_LOAD_EXPR ternary. | |
15979 | * tree-cfg.c (verify_gimple_assign_ternary): Allow DOT_PROD_EXPR | |
15980 | and REALIGN_LOAD_EXPR. | |
15981 | (verify_gimple_assign_single): Do not allow POLYNOMIAL_CHREC, | |
15982 | DOT_PROD_EXPR or REALIGN_LOAD_EXPR. | |
15983 | * expr.c (expand_expr_real_1): Move REALIGN_LOAD_EXPR and | |
15984 | DOT_PROD_EXPR case ... | |
15985 | (expand_expr_real_2): ... here. | |
15986 | * gimple-pretty-print.c (dump_ternary_rhs): Handle DOT_PROD_EXPR | |
15987 | and REALIGN_LOAD_EXPR. | |
15988 | * tree-data-ref.c (split_constant_offset): Bail out for all CHRECs. | |
15989 | * tree-vect-loop.c (vect_model_reduction_cost): Handle ternaries. | |
15990 | (vect_create_epilog_for_reduction): Likewise. | |
15991 | (vectorizable_reduction): Likewise. | |
15992 | * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Adjust. | |
15993 | * tree-vect-stmts.c (vectorizable_load): Likewise. | |
15994 | ||
f2f81d57 EB |
15995 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
15996 | ||
15997 | * gimplify.c (gimplify_cond_expr): Gimplify COMPOUND_EXPR conditions. | |
15998 | ||
ab081dd6 AK |
15999 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
16000 | ||
16001 | * config/s390/s390.c (s390_delegitimize_address): Fix offset | |
16002 | handling for PLTOFF/GOTOFF. | |
16003 | ||
6fd5332b NC |
16004 | 2011-03-22 Nick Clifton <nickc@redhat.com> |
16005 | ||
16006 | * config/i386/cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Remove | |
16007 | trailing backslash from the end of the macro definition. | |
16008 | ||
01841ac0 AK |
16009 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
16010 | ||
16011 | * config/s390/s390.c (s390_delegitimize_address): Handle PLTOFF | |
16012 | and PLT unspecs. | |
16013 | ||
2ef6ce06 RS |
16014 | 2011-03-21 Richard Sandiford <richard.sandiford@linaro.org> |
16015 | ||
16016 | * expr.h (prepare_operand): Move to... | |
16017 | * optabs.h (prepare_operand): ...here and change the insn code | |
16018 | parameter from "int" to "enum insn_code". | |
16019 | (insn_operand_matches): Declare. | |
16020 | * expr.c (init_expr_target): Use insn_operand_matches. | |
16021 | (compress_float_constant): Likewise. | |
16022 | * function.c (safe_insn_predicate, assign_parm_setup_reg): Likewise. | |
16023 | * optabs.c (can_compare_p, prepare_cmp_insn): Likewise. | |
16024 | (emit_cmp_and_jump_insn_1, gen_add2_insn, gen_add3_insn): Likewise. | |
c78dd519 UB |
16025 | (have_add2_insn, gen_sub2_insn, gen_sub3_insn, have_sub2_insn): |
16026 | Likewise. | |
2ef6ce06 RS |
16027 | (gen_cond_trap): Likewise. |
16028 | (prepare_operand): Likewise. Change icode to an insn_code. | |
16029 | (insn_operand_matches): New function. | |
16030 | * reload.c (find_reloads_address_1): Use insn_operand_matches. | |
16031 | * reload1.c (gen_reload): Likewise. | |
16032 | * targhooks.c (default_secondary_reload): Likewise. | |
16033 | ||
9e43ad68 UB |
16034 | 2011-03-21 Uros Bizjak <ubizjak@gmail.com> |
16035 | ||
9a96da32 UB |
16036 | * config/alpha/alpha.md (unspec): New define_c_enum. |
16037 | (unspecv): Ditto. | |
16038 | ||
16039 | 2011-03-21 Uros Bizjak <ubizjak@gmail.com> | |
16040 | ||
16041 | PR debug/48214 | |
9e43ad68 UB |
16042 | * config/alpha/alpha.c (alpha_pad_noreturn): Do not emit an unop |
16043 | between a call and its CALL_ARG_LOCATION note. | |
16044 | ||
31408f60 EB |
16045 | 2011-03-21 Eric Botcazou <ebotcazou@adacore.com> |
16046 | ||
16047 | * gimplify.c (gimplify_vla_decl): Set TREE_THIS_NOTRAP flag. | |
16048 | ||
16049 | 2011-03-21 Jakub Jelinek <jakub@redhat.com> | |
126e6609 JJ |
16050 | |
16051 | PR c/42544 | |
16052 | PR c/48197 | |
16053 | * c-common.c (shorten_compare): If primopN is first sign-extended | |
16054 | to opN and then zero-extended to result type, set primopN to opN. | |
16055 | ||
9dfd55f5 DJ |
16056 | 2011-03-21 Daniel Jacobowitz <dan@codesourcery.com> |
16057 | ||
16058 | * config/arm/unwind-arm.c (__gnu_unwind_pr_common): Correct test | |
16059 | for barrier handlers. | |
16060 | ||
f3c33d9d MM |
16061 | 2011-03-21 Michael Meissner <meissner@linux.vnet.ibm.com> |
16062 | ||
16063 | * config/rs6000/rs6000.md (UNSPEC_*, UNSPECV_*): Redefine all | |
16064 | UNSPEC constants to be in the unspec enumeration, and redefine | |
16065 | all UNSPECV constants to be in the unspecv enumeration, so that | |
16066 | dumps print which unspec/unspec_volatile this is. | |
16067 | * config/rs6000/vector.md (UNSPEC_*): Ditto. | |
16068 | * config/rs6000/paired.md (UNSPEC_*): Ditto. | |
16069 | * config/rs6000/vsx.md (UNSPEC_*): Ditto. | |
16070 | * config/rs6000/altivec.md (UNSPEC_*, UNSPECV_*): Ditto. | |
16071 | * config/rs6000/dfp.md (UNSPEC_*): Ditto. | |
16072 | ||
16073 | * config/rs6000/rs6000.md (UNSPECV_ISYNC, UNSPECV_LWSYNC): Rename | |
16074 | UNSPEC_ISYNC and UNSPEC_HWSYNC to UNSPECV_ISYNC and | |
16075 | UNSPECV_LWSYNC, since these are used as unspec_volatile. | |
16076 | * config/rs6000/sync.md (isync, lwsync): Ditto. | |
16077 | ||
ac43f774 RG |
16078 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
16079 | ||
16080 | * params.def (lto-min-partition): Fix typo. | |
16081 | ||
411cdbd8 RG |
16082 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
16083 | ||
16084 | PR c/47939 | |
16085 | * c-decl.c (grokdeclarator): Drop to the main variant only | |
16086 | for array types. Drop flag_gen_aux_info check. | |
16087 | ||
1cd9e416 RG |
16088 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
16089 | ||
16090 | PR translation/47911 | |
16091 | * params.def (lto-partitions): Fix typo. | |
16092 | (lto-min-partition): Fix wording. | |
16093 | ||
ada5ad67 AT |
16094 | 2011-03-21 Andreas Tobler <andreast@fgznet.ch> |
16095 | ||
16096 | * config/rs6000/t-freebsd: Remove duplication from file. | |
16097 | ||
f9613c9a RG |
16098 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
16099 | ||
16100 | PR middle-end/47661 | |
16101 | * gimple.c (is_gimple_condexpr): Use tree_could_throw_p. | |
16102 | ||
9bfbc1eb RG |
16103 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
16104 | ||
16105 | PR lto/48210 | |
16106 | * params.def (lto-partitions): Require at least 1 partition. | |
16107 | ||
a2268084 RO |
16108 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16109 | ||
16110 | * gthr-solaris.h: Remove. | |
16111 | * gthr.h (_SOLARIS_THREADS): Don't include gthr-solaris.h, remove. | |
16112 | * config/sol2.h (CPP_SUBTARGET_SPEC): Remove -threads support. | |
16113 | (LIB_SPEC): Likewise. | |
16114 | * config/sol2.opt (threads): Remove. | |
9e43ad68 | 16115 | * config.gcc (i[34567]86-*-solaris2*): Remove solaris threads support. |
a2268084 RO |
16116 | (sparc*-*-solaris2*): Likewise. |
16117 | * configure.ac (enable_threads): Enable solaris support. | |
16118 | * configure: Regenerate. | |
9e43ad68 | 16119 | * doc/invoke.texi (Option Summary, Solaris 2 Options): Remove -threads. |
a2268084 RO |
16120 | * doc/install.texi (Configuration, --enable-threads=lib): Remove |
16121 | solaris. | |
16122 | ||
c43d9a1b RO |
16123 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16124 | ||
16125 | * config.gcc: Obsolete *-*-solaris2.8*. | |
16126 | * doc/install.texi (Specific, *-*-solaris2*): Document it. | |
16127 | ||
084239f4 RO |
16128 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16129 | ||
16130 | PR bootstrap/48135 | |
16131 | * doc/install.texi (Prerequisites, Perl): Remove Glob.pm | |
16132 | reference. Solaris 8 perl works. | |
16133 | ||
64cadbe7 RO |
16134 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16135 | ||
16136 | PR bootstrap/48135 | |
16137 | * doc/install.texi (Prerequisites): Move jar etc. up. | |
16138 | Explain support library version requirements. | |
16139 | ||
eb975109 RO |
16140 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16141 | ||
16142 | PR bootstrap/48135 | |
16143 | * doc/install.texi (Prerequisites): Move Perl to build | |
16144 | requirements. Always necessary on Solaris 2 with Sun ld. | |
16145 | ||
8a509ffd RO |
16146 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16147 | ||
16148 | * doc/install.texi (Specific, alpha*-dec-osf5.1): Update for | |
16149 | binutils 2.21. | |
16150 | (Specific, i?86-*-solaris2.[89]): Likewise. | |
16151 | (Specific, i?86-*-solaris2.10): Likewise. | |
16152 | (Specific, mips-sgi-irix6): Likewise. | |
16153 | (Specific, *-*-solaris2*): Remove Sun Studio download URL. | |
16154 | Update for binutils 2.21. | |
16155 | ||
8fbc58a1 RO |
16156 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16157 | ||
16158 | * configure.ac (gcc_cv_lto_plugin): Fix typo. | |
16159 | Allow -fuse-linker-plugin for non-default plugin linker. | |
16160 | * configure: Regenerate. | |
16161 | ||
7e84ad0b NP |
16162 | 2011-03-21 Nicola Pero <nicola.pero@meta-innovation.com> |
16163 | ||
16164 | PR bootstrap/48167 | |
16165 | * gengtype.c (files_rules): Added rule for cp/parser.h. | |
16166 | ||
2f36e14b JJ |
16167 | 2011-03-21 Jakub Jelinek <jakub@redhat.com> |
16168 | ||
16169 | PR target/48213 | |
16170 | * config/s390/s390.c (s390_delegitimize_address): Don't call | |
16171 | lowpart_subreg if orig_x has BLKmode. | |
16172 | ||
62d784f7 KT |
16173 | 2011-03-21 Kai Tietz <ktietz@redhat.com> |
16174 | ||
16175 | PR target/12171 | |
9e43ad68 UB |
16176 | * doc/plugins.texi: Adjust documentation for plugin register_callback. |
16177 | * tree.h (attribute_spec): Add new member affects_type_identity. | |
16178 | * attribs.c (empty_attribute_table): Adjust attribute_spec | |
16179 | initializers. | |
62d784f7 KT |
16180 | * config/alpha/alpha.c: Likewise. |
16181 | * config/arc/arc.c: Likewise. | |
16182 | * config/arm/arm.c: Likewise. | |
16183 | * config/avr/avr.c: Likewise. | |
16184 | * config/bfin/bfin.c: Likewise. | |
16185 | * config/crx/crx.c: Likewise. | |
16186 | * config/darwin.h: Likewise. | |
16187 | * config/h8300/h8300.c: Likewise. | |
16188 | * config/i386/cygming.h: Likewise. | |
16189 | * config/i386/i386.c: Likewise. | |
16190 | * config/ia64/ia64.c: Likewise. | |
16191 | * config/m32c/m32c.c: Likewise. | |
16192 | * config/m32r/m32r.c: Likewise. | |
16193 | * config/m68hc11/m68hc11.c: Likewise. | |
16194 | * config/m68k/m68k.c: Likewise. | |
16195 | * config/mcore/mcore.c: Likewise. | |
16196 | * config/mep/mep.c: Likewise. | |
16197 | * config/microblaze/microblaze.c: Likewise. | |
16198 | * config/mips/mips.c: Likewise. | |
16199 | * config/rs6000/rs6000.c: Likewise. | |
16200 | * config/rx/rx.c: Likewise. | |
16201 | * config/sh/sh.c: Likewise. | |
16202 | * config/sol2.h: Likewise. | |
16203 | * config/sparc/sparc.c: Likewise. | |
16204 | * config/spu/spu.c: Likewise. | |
16205 | * config/stormy16/stormy16.c: Likewise. | |
16206 | * config/v850/v850.c: Likewise. | |
16207 | ||
54833ec0 CLT |
16208 | 2011-03-21 Chung-Lin Tang <cltang@codesourcery.com> |
16209 | ||
16210 | * simplify-rtx.c (simplify_binary_operation_1): Handle | |
16211 | (xor (and A B) C) case when B and C are both constants. | |
16212 | ||
14a41392 MX |
16213 | 2011-03-21 Mingjie Xing <mingjie.xing@gmail.com> |
16214 | ||
16215 | * tree-dfa.c (add_referenced_var): Fix typo in comment. | |
16216 | ||
806c3492 EB |
16217 | 2011-03-20 Eric Botcazou <ebotcazou@adacore.com> |
16218 | ||
16219 | PR bootstrap/48168 | |
16220 | * config/sparc/sparc.c (sparc_delegitimize_address): Add new pattern. | |
16221 | ||
65e0a0f3 JJ |
16222 | 2011-03-20 Jakub Jelinek <jakub@redhat.com> |
16223 | ||
16224 | PR rtl-optimization/48156 | |
16225 | * df-core.c (df_get_bb_dirty): Use df_lr if df_live is NULL, | |
16226 | assume df and df_lr are not NULL. | |
16227 | ||
b6a75dda RR |
16228 | 2011-03-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
16229 | ||
16230 | PR debug/48023 | |
16231 | * config/arm/arm.c (create_fix_barrier): Do not emit a minipool | |
16232 | between a call and its CALL_ARG_LOCATION note. | |
16233 | ||
5969b52d KK |
16234 | 2011-03-19 Kaz Kojima <kkojima@gcc.gnu.org> |
16235 | ||
16236 | PR debug/48178 | |
16237 | * config/sh/sh.c (find_barrier): Don't emit a constant pool | |
16238 | between a call and its corresponding CALL_ARG_LOCATION note. | |
16239 | ||
f773c2bd AS |
16240 | 2011-03-19 Anatoly Sokolov <aesok@post.ru> |
16241 | ||
16242 | * cfgcleanup.c (mark_effect): Use bitmap_set_range/bitmap_clear_range | |
16243 | instead of loop. Use HARD_REGISTER_NUM_P predicate. | |
16244 | * haifa-sched.c (setup_ref_regs): Ditto. | |
16245 | * caller-save.c (add_used_regs_1): Ditto. | |
16246 | * dse.c (look_for_hardregs): Ditto. | |
16247 | * df-problems.c (df_simulate_one_insn_forwards): Ditto. | |
16248 | * sched-rgn.c (check_live_1): Ditto. | |
16249 | ||
8bf872f9 JM |
16250 | 2011-03-18 Joseph Myers <joseph@codesourcery.com> |
16251 | ||
16252 | * c-decl.c (diagnose_mismatched_decls): Give an error for | |
16253 | redefining a typedef with variably modified type. | |
16254 | ||
ff8e2159 JM |
16255 | 2011-03-18 Joseph Myers <joseph@codesourcery.com> |
16256 | ||
16257 | * c-decl.c (grokfield): Don't allow typedefs for structures or | |
16258 | unions with no tag by default. | |
16259 | * doc/extend.texi (Unnamed Fields): Update. | |
16260 | ||
16cc4440 UB |
16261 | 2011-03-18 Uros Bizjak <ubizjak@gmail.com> |
16262 | ||
16263 | * config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2): | |
16264 | Rewrite using indirect functions. | |
16265 | (lwp_slwpcb): Ditto. | |
16266 | * config/i386/sse.md (avx_vextractf128<mode>): Ditto. | |
16267 | (avx_vinsertf128<mode>): Ditto. | |
16268 | ||
e101e12e AK |
16269 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
16270 | ||
16271 | * config/s390/s390.c (s390_delegitimize_address): Handle GOTOFF | |
16272 | unspecs. | |
16273 | ||
4627c7fb AK |
16274 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
16275 | ||
16276 | * config/s390/s390.c (s390_chunkify_start): Prevent literal pool | |
9e43ad68 | 16277 | splitting between a call and its corresponding CALL_ARG_LOCATION note. |
4627c7fb | 16278 | |
2d36b47f MK |
16279 | 2011-03-18 Maxim Kuvyrkov <maxim@codesourcery.com> |
16280 | ||
16281 | PR rtl-optimization/48170 | |
16282 | * gcse.c (hoist_code): Remove bogus asserts. | |
16283 | ||
2a3d7659 JL |
16284 | 2011-03-18 Georg-Johann Lay <avr@gjlay.de> |
16285 | ||
16286 | * ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost | |
16287 | computation for prologue/epilogue. | |
16288 | ||
34c3ef05 RO |
16289 | 2011-03-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16290 | ||
16291 | * Makefile.in (check-consistency): Remove. | |
16292 | ||
81f2b976 JJ |
16293 | 2011-03-18 Jakub Jelinek <jakub@redhat.com> |
16294 | ||
16295 | PR debug/48176 | |
16296 | * dwarf2out.c (dwarf2out_finish): Call output_aranges even when | |
16297 | arange_table_in_use is 0, but either text_section_used or | |
16298 | cold_text_section_used is true. Don't call it if | |
16299 | !info_section_emitted. | |
16300 | ||
68fd7765 AS |
16301 | 2011-03-18 Anatoly Sokolov <aesok@post.ru> |
16302 | ||
16303 | * config/avr/avr.h (RET_REGISTER, LIBCALL_VALUE, | |
16304 | FUNCTION_VALUE_REGNO_P): Remove. | |
16305 | * config/avr/avr-protos.h (avr_ret_register, avr_libcall_value): | |
16306 | Remove. | |
16307 | * config/avr/avr.c (avr_ret_register): Make static inline. | |
16308 | (avr_function_value_regno_p): New function. | |
16309 | (avr_libcall_value): Make static. Add 'func' argument. | |
16310 | (avr_function_value): Make static. Rename 'func' argument to | |
16311 | 'fn_decl_or_type', forward it to avr_libcall_value. Call | |
16312 | avr_ret_register function instead of RET_REGISTER macro. | |
b8bc3a43 | 16313 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. |
68fd7765 | 16314 | |
b4ef8aac JM |
16315 | 2011-03-18 Jason Merrill <jason@redhat.com> |
16316 | ||
16317 | PR c++/23372 | |
16318 | * gimplify.c (gimplify_arg): Strip redundant TARGET_EXPR. | |
16319 | ||
09a52fc3 RG |
16320 | 2011-03-18 Richard Guenther <rguenther@suse.de> |
16321 | ||
16322 | * doc/install.texi (--enable-gold): Remove. | |
16323 | (--with-plugin-ld): Document. | |
16324 | * doc/invoke.texi (-fuse-linker-plugin): Clarify. | |
16325 | ||
2a3d7659 | 16326 | 2011-03-18 Andrew Pinski <pinskia@gmail.com> |
3bf162a0 AP |
16327 | |
16328 | PR middle-end/47790 | |
16329 | * expr.c (optimize_bitfield_assignment_op): Revamp to work | |
16330 | again after expansion changes. | |
16331 | ||
2abbb0fe CLT |
16332 | 2011-03-18 Chung-Lin Tang <cltang@codesourcery.com> |
16333 | ||
16334 | * combine.c (try_combine): Do simplification only call of | |
16335 | subst() on i2 even when i1 is present. Update comments. | |
16336 | ||
2efd0aa6 KK |
16337 | 2011-03-18 Kaz Kojima <kkojima@gcc.gnu.org> |
16338 | ||
16339 | * config/sh/sh.c (sh_delegitimize_address): Handle UNSPEC_SYMOFF | |
16340 | and UNSPEC_PCREL_SYMOFF. | |
16341 | ||
30a49b23 AK |
16342 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
16343 | ||
16344 | * config/s390/s390.md: Use define_c_enum for the unspec constant | |
16345 | definitions. | |
16346 | ||
419e1853 JJ |
16347 | 2011-03-18 Richard Henderson <rth@redhat.com> |
16348 | Jakub Jelinek <jakub@redhat.com> | |
16349 | ||
16350 | PR bootstrap/48161 | |
16351 | * expr.c (expand_expr_addr_expr_1): Use simplify_gen_binary | |
16352 | instead of gen_rtx_PLUS if EXPAND_SUM or EXPAND_INITIALIZER. | |
16353 | ||
37875856 L |
16354 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
16355 | ||
16356 | PR middle-end/47725 | |
16357 | * combine.c (cant_combine_insn_p): Don't check zero/sign | |
16358 | extended hard registers. | |
16359 | ||
76069764 L |
16360 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
16361 | ||
16362 | PR middle-end/47725 | |
16363 | * combine.c (cant_combine_insn_p): Check zero/sign extended | |
16364 | hard registers. | |
16365 | ||
24da2019 AS |
16366 | 2011-03-17 Anatoly Sokolov <aesok@post.ru> |
16367 | ||
16368 | * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
16369 | * config/v850/v850-protos.h (v850_output_addr_const_extra): Remove. | |
16370 | * config/v850/v850.c (v850_output_addr_const_extra): Make static. | |
16371 | Change return type to bool. | |
16372 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
16373 | ||
a82ff31f JJ |
16374 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
16375 | ||
8b29c87a JJ |
16376 | PR debug/48163 |
16377 | * var-tracking.c (prepare_call_arguments): If CALL target | |
16378 | is a non-SYMBOL_REF CONSTANT_P, just add that into the list as | |
16379 | pc instead of looking it up using cselib_lookup and use | |
16380 | Pmode for it if x has VOIDmode. | |
16381 | * dwarf2out.c (gen_subprogram_die): If also both first and | |
16382 | second CONCAT arguments are VOIDmode, use mode of CONCAT itself. | |
16383 | ||
a82ff31f JJ |
16384 | PR debug/48163 |
16385 | * function.c (assign_parms): For data.passed_pointer parms | |
16386 | use MEM of data.entry_parm instead of data.entry_parm itself | |
16387 | as DECL_INCOMING_RTL. | |
16388 | * dwarf2out.c (rtl_for_decl_location): Use DECL_INCOMING_RTL | |
16389 | also when passed and declared mode is the same, DECL_RTL | |
16390 | is a MEM with pseudo as address and DECL_INCOMING_RTL is | |
16391 | a MEM too. | |
16392 | ||
82ce305c JL |
16393 | 2011-03-16 Jeff Law <law@redhat.com> |
16394 | ||
16395 | PR rtl-optimization/37273 | |
16396 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
16397 | handle them like argument loads from stack slots. Do not double | |
16398 | count memory for memory constants and argument loads from stack slots. | |
16399 | ||
fe58e02b L |
16400 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
16401 | ||
16402 | PR debug/48160 | |
16403 | * var-tracking.c (prepare_call_arguments): Check SUBREG. | |
16404 | ||
6fc4dbc7 L |
16405 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
16406 | ||
16407 | PR target/48171 | |
16408 | * config/i386/i386.opt: Add Save to -mavx and -mfma. | |
16409 | ||
db3ed0b3 JJ |
16410 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
16411 | ||
8054a389 JJ |
16412 | PR bootstrap/48153 |
16413 | * dwarf2out.c (mem_loc_descriptor) <case ENTRY_VALUE>: Return NULL | |
16414 | if dwarf_strict. | |
16415 | (gen_subprogram_die): Don't add call_site DIEs if dwarf_strict. | |
16416 | Clear call_arg_locations and call_arg_loc_last always. | |
16417 | ||
db3ed0b3 JJ |
16418 | PR middle-end/48152 |
16419 | * var-tracking.c (prepare_call_arguments): If argument needs to be | |
16420 | passed by reference, adjust argtype and mode. | |
16421 | ||
1bce4ff3 RG |
16422 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
16423 | ||
16424 | PR middle-end/48134 | |
16425 | * tree-ssa.c (insert_debug_temp_for_var_def): If we propagated | |
16426 | a value make sure to fold the statement. | |
16427 | ||
7c71147d CLT |
16428 | 2011-03-17 Chung-Lin Tang <cltang@codesourcery.com> |
16429 | ||
16430 | PR target/43872 | |
16431 | * config/arm/arm.c (arm_get_frame_offsets): Adjust early | |
16432 | return condition with !cfun->calls_alloca. | |
16433 | ||
0e1ee172 RG |
16434 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
16435 | ||
16436 | PR bootstrap/48148 | |
16437 | * lto-cgraph.c (input_overwrite_node): Clear the abstract | |
16438 | origin for decls in other ltrans units. | |
16439 | (input_varpool_node): Likewise. | |
16440 | ||
f8bce518 RG |
16441 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
16442 | ||
16443 | PR middle-end/48165 | |
16444 | * tree-object-size.c (compute_object_offset): Properly return | |
16445 | the offset operand of MEM_REFs as sizetype. | |
16446 | ||
1b6fa860 JJ |
16447 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
16448 | ||
dabd47e7 JJ |
16449 | PR rtl-optimization/48141 |
16450 | * params.def (PARAM_MAX_DSE_ACTIVE_LOCAL_STORES): New. | |
16451 | * dse.c: Include params.h. | |
16452 | (active_local_stores_len): New variable. | |
16453 | (add_wild_read, dse_step1): Clear it when setting active_local_stores | |
16454 | to NULL. | |
16455 | (record_store, check_mem_read_rtx): Decrease it when removing | |
16456 | from the chain. | |
16457 | (scan_insn): Likewise. Increase it when adding to chain, if it | |
16458 | reaches PARAM_MAX_DSE_ACTIVE_LOCAL_STORES limit, set to 1 and | |
16459 | set active_local_stores to NULL before the addition. | |
16460 | * Makefile.in (dse.o): Depend on $(PARAMS_H). | |
16461 | ||
1b6fa860 JJ |
16462 | PR rtl-optimization/48141 |
16463 | * dse.c (record_store): If no positions are needed in an insn | |
16464 | that cannot be deleted, at least unchain it from active_local_stores. | |
16465 | ||
7b5cb7d6 DS |
16466 | 2011-03-16 Dodji Seketeli <dodji@redhat.com> |
16467 | ||
16468 | PR debug/47510 | |
16469 | * dwarf2out.c (strip_naming_typedef): Factorize out of ... | |
16470 | (lookup_type_die_strip_naming_typedef): ... here. | |
16471 | (get_context_die): Use it. | |
16472 | (gen_typedef_die): Add a DW_AT_{,MIPS_}linkage_name attribute to | |
16473 | the anonymous struct named by the naming typedef. | |
16474 | ||
585e9d9d L |
16475 | 2011-03-16 H.J. Lu <hongjiu.lu@intel.com> |
16476 | ||
16477 | PR target/48154 | |
16478 | * config/i386/i386.c (ix86_builtin_vectorized_function): Check | |
16479 | TARGET_ROUND for BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins. | |
16480 | ||
6261ab0e JL |
16481 | 2011-03-16 Jeff Law <law@redhat.com> |
16482 | ||
16483 | * tree-vrp.c (identify_jump_threads): Slightly simplify type | |
16cc4440 | 16484 | check for operands of conditional. Allow type to be a pointer. |
6261ab0e | 16485 | |
0b0081ec RG |
16486 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
16487 | ||
16488 | PR tree-optimization/48149 | |
16489 | * fold-const.c (fold_binary_loc): Fold | |
16490 | COMPLEX_EXPR <REALPART_EXPR <x>, IMAGPART_EXPR <x>>. | |
16491 | ||
64a3d647 RG |
16492 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
16493 | ||
16494 | PR tree-optimization/26134 | |
16495 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Handle rewriting | |
16496 | complex part accesses to REALPART_EXPR and IMAGPART_EXPR. | |
16497 | (non_rewritable_mem_ref_base): Handle complex type component | |
16498 | accesses, constrain offsets for vector and complex extracts | |
16499 | more properly. | |
16500 | ||
ef13324e RG |
16501 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
16502 | ||
16503 | PR tree-optimization/48146 | |
16504 | * tree-ssa-sink.c (sink_code_in_bb): Manually update virtual | |
16505 | operands avoiding the need for renaming. | |
16506 | ||
f0eddb90 RG |
16507 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
16508 | ||
16509 | * gimple-fold.c (maybe_fold_reference): Open-code relevant | |
16510 | constant folding. Move MEM_REF canonicalization first. | |
16511 | Rely on fold_const_aggregate_ref for initializer folding. | |
16512 | * tree-ssa-ccp.c (ccp_fold): Handle constant vector extracts. | |
16513 | ||
e42348b8 JJ |
16514 | 2011-03-16 Jakub Jelinek <jakub@redhat.com> |
16515 | ||
29f10e71 JJ |
16516 | PR middle-end/48136 |
16517 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure | |
16518 | arg0/arg1 or their arguments are always fold converted to matching | |
16519 | types. | |
16520 | ||
e42348b8 JJ |
16521 | * var-tracking.c (prepare_call_arguments): Add ATTRIBUTE_UNUSED |
16522 | to nargs. | |
16523 | ||
55b46574 RO |
16524 | 2011-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16525 | ||
16526 | PR lto/46944 | |
16527 | * configure.ac (gcc_cv_gld_major_version, gcc_cv_gld_minor): | |
16528 | Handle in-tree gold. | |
16529 | (ld_vers): Extract binutils version for gold. | |
16530 | (gcc_cv_ld_hidden): Handle gold here. | |
16531 | (gcc_cv_lto_plugin): Determine level of linker plugin support. | |
16532 | * configure: Regenerate. | |
16533 | * config.in: Regenerate. | |
16534 | * gcc.c: Only use LTO plugin if HAVE_LTO_PLUGIN > 0, reject | |
16535 | -fuse-linker-plugin otherwise. | |
16536 | (LINK_PLUGIN_SPEC): Define. Extract from LINK_COMMAND_SPEC. | |
16537 | (LINK_COMMAND_SPEC): Use it. | |
16538 | (main): Only look for LTOPLUGINSONAME if HAVE_LTO_PLUGIN > 0. | |
16539 | ||
2b1c5433 JJ |
16540 | 2011-03-16 Jakub Jelinek <jakub@redhat.com> |
16541 | ||
c2969d8e JJ |
16542 | * emit-rtl.c (try_split): Don't call copy_call_info debug hook. |
16543 | * calls.c: Remove debug.h include. | |
16544 | (emit_call_1): Don't call virtual_call_token debug hook. | |
16545 | * dwarf2out.c (debug_dcall_section, debug_vcall_section, | |
16546 | dcall_entry, vcall_entry, dcall_table, vcall_table, vcall_insn, | |
16547 | vcall_insn_table, DEBUG_DCALL_SECTION, DEBUG_VCALL_SECTION, | |
16548 | size_of_dcall_table, output_dcall_table, size_of_vcall_table, | |
16549 | output_vcall_table, dwarf2out_direct_call, vcall_insn_table_hash, | |
16550 | vcall_insn_table_eq, store_vcall_insn, lookup_vcall_insn, | |
16551 | dwarf2out_virtual_call_token, dwarf2out_copy_call_info, | |
16552 | dwarf2out_virtual_call): Remove. | |
16553 | (dwarf2_debug_hooks): Remove direct_call, virtual_call_token, | |
16554 | copy_call_info and virtual_call hooks. | |
16555 | (dwarf2out_init): Don't initialize vcall_insn_table, | |
16556 | debug_dcall_section and debug_vcall_section. | |
16557 | (prune_unused_types): Don't mark nodes from dcall_table. | |
16558 | (dwarf2out_finish): Don't output dcall or vcall tables. | |
16559 | * final.c (final_scan_insn): Don't call direct_call or | |
16560 | virtual_call debug hooks. | |
16561 | * debug.h (struct gcc_debug_hooks): Remove direct_call, | |
16562 | virtual_call_token, copy_call_info and virtual_call hooks. | |
16563 | (debug_nothing_uid): Remove prototype. | |
16564 | * sdbout.c (sdb_debug_hooks): Remove direct_call, virtual_call_token, | |
16565 | copy_call_info and virtual_call hooks. | |
16566 | * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. | |
16567 | * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Likewise. | |
16568 | * debug.c (do_nothing_debug_hooks): Likewise. | |
16569 | (debug_nothing_uid): Remove. | |
16570 | * doc/invoke.texi (-fenable-icf-debug): Remove. | |
16571 | * common.opt (-fenable-icf-debug): Likewise. | |
16572 | ||
325f5379 JJ |
16573 | * calls.c (emit_call_1): Set MEM_EXPR on call's MEM. |
16574 | * var-tracking.c (prepare_call_arguments): Use MEM_EXPR on | |
16575 | call's MEM. Handle functions returning aggregate through a hidden | |
16576 | first pointer. For virtual calls add clobbered pc to call arguments | |
16577 | chain. | |
16578 | * dwarf2out.c (gen_subprogram_die): Emit | |
16579 | DW_AT_GNU_call_site_target_clobbered if DW_AT_GNU_call_site_target | |
16580 | can't be emitted. | |
16581 | ||
a58a8e4b JJ |
16582 | PR debug/45882 |
16583 | * rtl.def (ENTRY_VALUE): Change format from "e" to "0". | |
16584 | * rtl.h (ENTRY_VALUE_EXP): Define. | |
16585 | * rtl.c (rtx_equal_p_cb, rtx_equal_p): Handle ENTRY_VALUE. | |
16586 | * cselib.c (rtx_equal_for_cselib_p, cselib_hash_rtx): Likewise. | |
16587 | * print-rtl.c (print_rtx): Likewise. | |
16588 | * gengtype.c (adjust_field_rtx_def): Likewise. | |
16589 | * var-tracking.c (vt_add_function_parameter): Adjust | |
16590 | gen_rtx_ENTRY_VALUE uses, use ENTRY_VALUE_EXP macro. | |
16591 | * dwarf2out.c (mem_loc_descriptor): Use ENTRY_VALUE_EXP macro. | |
16592 | * cfgexpand.c (expand_debug_expr): If a SSA_NAME without | |
16593 | partition is a default definition of a PARM_DECL, use ENTRY_VALUE | |
16594 | of its DECL_INCOMING_RTL if possible, or its DECL_RTL if set. | |
16595 | ||
2b1c5433 JJ |
16596 | * final.c (final_scan_insn): Handle NOTE_INSN_CALL_ARG_LOCATION. |
16597 | Call var_location debug hook even on CALL_INSNs. | |
16598 | (rest_of_clean_state): Don't print NOTE_INSN_CALL_ARG_LOCATION. | |
16599 | * rtl.def (ENTRY_VALUE): New. | |
16600 | * dwarf2out.c: Include cfglayout.h. | |
16601 | (dwarf_stack_op_name, size_of_loc_descr, output_loc_operands, | |
16602 | output_loc_operands_raw): Handle DW_OP_GNU_entry_value. | |
16603 | (struct call_arg_loc_node): New type. | |
16604 | (call_arg_locations, call_arg_loc_last, block_map, call_site_count, | |
16605 | tail_call_site_count): New variables. | |
16606 | (dwarf_tag_name): Handle DW_TAG_GNU_call_site and | |
16607 | DW_TAG_GNU_call_site_parameter. | |
16608 | (dwarf_attr_name): Handle DW_AT_GNU_call_site_value, | |
16609 | DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target, | |
16610 | DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call, | |
16611 | DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites | |
16612 | and DW_AT_GNU_all_source_call_sites. | |
16613 | (mem_loc_descriptor): Handle ENTRY_VALUE. | |
16614 | (add_src_coords_attributes): Don't add enything if | |
16615 | DECL_SOURCE_LOCATION is UNKNOWN_LOCATION. | |
16616 | (dwarf2out_abstract_function): Save and clear call_arg_location, | |
16617 | call_site_count and tail_call_site_count around dwarf2out_decl call. | |
16618 | (gen_call_site_die): New function. | |
16619 | (gen_subprogram_die): Emit DW_TAG_GNU_call_site DIEs for call sites. | |
16620 | (gen_lexical_block_die, gen_inlined_subroutine_die): Update block_map. | |
16621 | (dwarf2out_function_decl): Clear call_arg_locations, | |
16622 | call_arg_loc_last, set call_site_count and tail_call_site_count | |
16623 | to -1 and free block_map. | |
16624 | (dwarf2out_var_location): Handle NOTE_INSN_CALL_ARG_LOCATION and | |
16625 | CALL_INSNs. Add NOTE_DURING_CALL_P var location notes even when not | |
16626 | followed by any real instructions. | |
16627 | (dwarf2out_begin_function): Set call_site_count and | |
16628 | tail_call_site_count to 0. | |
16629 | (resolve_addr): If DW_AT_abstract_origin of DW_TAG_GNU_call_site | |
16630 | is dw_val_class_addr, attempt to look it up again, for DECL_EXTERNAL | |
16631 | attempt to force a DIE for it and worst case remove the attribute. | |
16632 | (resolve_one_addr): For TREE_CONSTANT_POOL_ADDRESS_P SYMBOL_REFs | |
16633 | check TREE_ASM_WRITTEN of DECL_INITIAL of the decl instead of | |
16634 | the decl itself. | |
16635 | * var-tracking.c: Include tm_p.h. | |
16636 | (vt_stack_adjustments): For calls call note_register_arguments. | |
16637 | (argument_reg_set): New variable. | |
16638 | (add_stores): For MO_VAL_SET of non-tracked regs from argument_reg_set | |
16639 | ensure the VALUE is resolved. | |
16640 | (call_arguments): New variable. | |
16641 | (prepare_call_arguments): New function. | |
16642 | (add_with_sets): For MO_CALL set u.loc from call_arguments and clear it. | |
16643 | (struct expand_loc_callback_data): Add ignore_cur_loc field. | |
16644 | (vt_expand_loc_callback): If ignore_cur_loc, don't look at cur_loc and | |
16645 | always use the best expression. | |
16646 | (vt_expand_loc): Add ignore_cur_loc argument. | |
16647 | (vt_expand_loc_dummy): Clear ignore_cur_loc field. | |
16648 | (emit_note_insn_var_location): Adjust vt_expand_loc callers. | |
16649 | (emit_notes_in_bb) <case MO_CALL>: Add NOTE_INSN_CALL_ARG_LOCATION | |
16650 | note for all calls. | |
16651 | (vt_add_function_parameter): Use cselib_lookup_from_insn. | |
16652 | If dv is a VALUE, enter into hash table also ENTRY_VALUE for the | |
16653 | argument. Don't call cselib_preserve_only_values and | |
16654 | cselib_reset_table. | |
16655 | (note_register_arguments): New function. | |
16656 | (vt_initialize): Compute argument_reg_set. Call | |
16657 | vt_add_function_parameters before processing basic blocks instead of | |
16658 | afterwards. For calls call prepare_call_arguments before calling | |
16659 | cselib_process_insn. | |
16660 | * print-rtl.c (print_rtx): Handle NOTE_INSN_CALL_ARG_LOCATION. | |
16661 | * Makefile.in (dwarf2out.o): Depend on $(CFGLAYOUT_H). | |
16662 | (var-tracking.o): Depend on $(TM_P_H). | |
16663 | * cfglayout.h (insn_scope): New prototype. | |
16664 | * gengtype.c (adjust_field_rtx_def): Handle NOTE_INSN_CALL_ARG_LOCATION. | |
16665 | * cfglayout.c (insn_scope): No longer static. | |
16666 | * insn-notes.def (CALL_ARG_LOCATION): New. | |
16667 | * calls.c (expand_call, emit_library_call_value_1): Put USEs for | |
16668 | MEM arguments into CALL_INSN_FUNCTION_USAGE unconditionally. | |
16669 | * integrate.c (set_block_origin_self, set_block_abstract_flags): Do | |
16670 | nothing for DECL_EXTERNAL BLOCK_VARS. | |
16671 | ||
9ef13bd0 AM |
16672 | 2011-03-16 Alan Modra <amodra@gmail.com> |
16673 | ||
16674 | PR target/45844 | |
16675 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Don't | |
16676 | create invalid offset address for vsx splat insn. | |
16677 | * config/rs6000/predicates.md (splat_input_operand): New. | |
16678 | * config/rs6000/vsx.md (vsx_splat_*): Use it. | |
16679 | ||
56b67510 XDL |
16680 | 2011-03-15 Xinliang David Li <davidxl@google.com> |
16681 | ||
16682 | PR c/47837 | |
16683 | * tree-ssa-uninit.c (pred_chain_length_cmp): New function. | |
16684 | (normalize_preds): New function. | |
16685 | (is_use_properly_guarded): Normalize def predicates. | |
16686 | ||
80fffdef RR |
16687 | 2011-03-15 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
16688 | ||
732f37c6 | 16689 | PR target/46788 |
80fffdef RR |
16690 | * config/arm/arm.md (arm_movtas_ze): Use 'L' instead of 'c' |
16691 | in the output template. | |
16692 | ||
930672ad RG |
16693 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
16694 | ||
16695 | PR middle-end/47650 | |
16696 | * tree-pretty-print.c (dump_function_declaration): Properly | |
16697 | dump unprototyped and varargs function types. | |
16698 | ||
c7ee7b45 RG |
16699 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
16700 | ||
16701 | PR tree-optimization/13954 | |
16702 | * tree-ssa-sccvn.c (vn_reference_lookup_3): Look through memcpy | |
16703 | and friends. | |
16704 | ||
b2ad5e37 RG |
16705 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
16706 | ||
16707 | PR tree-optimization/48037 | |
16708 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Rewrite vector | |
16709 | selects into BIT_FIELD_REFs. | |
16710 | (non_rewritable_mem_ref_base): Check if a MEM_REF is a | |
16711 | vector select. | |
16712 | ||
7ee93d4e JJ |
16713 | 2011-03-15 Jakub Jelinek <jakub@redhat.com> |
16714 | ||
16715 | PR tree-optimization/48129 | |
16716 | * builtins.c (fold_builtin_snprintf): Convert to type of | |
16717 | built_in_decls[BUILT_IN_SNPRINTF] retval instead of | |
16718 | implicit_built_in_decls[BUILT_IN_SNPRINTF] retval. | |
16719 | ||
e106efc7 RG |
16720 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
16721 | ||
16722 | PR tree-optimization/41490 | |
16723 | * tree-ssa-dce.c (propagate_necessity): Handle returns without | |
16724 | value but with VUSE. | |
16725 | * tree-ssa-operands.c (parse_ssa_operands): Add a VUSE on all | |
16726 | return statements. | |
16727 | * tree-ssa-sink.c (statement_sink_location): Fix store sinking. | |
16728 | * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Handle virtual PHIs. | |
16729 | * tree-tailcall.c (find_tail_calls): Ignore returns. | |
16730 | ||
17dea42f RG |
16731 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
16732 | ||
16733 | PR middle-end/48031 | |
16734 | * fold-const.c (fold_indirect_ref_1): Do not create new variable-sized | |
16735 | or variable-indexed array accesses when in gimple form. | |
16736 | ||
01c77a60 RG |
16737 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
16738 | ||
16cc4440 | 16739 | * config/i386/i386.c (ix86_emit_swdivsf): Implement more efficiently. |
01c77a60 | 16740 | |
77b0791e AM |
16741 | 2011-03-15 Alan Modra <amodra@gmail.com> |
16742 | ||
16743 | PR target/48032 | |
16744 | * config/rs6000/rs6000.c (offsettable_ok_by_alignment): Do not | |
16745 | presume symbol_refs without a symbol_ref_decl are suitably | |
16746 | aligned, nor other trees we may see here. Handle anchor symbols. | |
16747 | (legitimate_constant_pool_address_p): Comment. Add mode param. | |
16748 | Check cmodel=medium addresses. Adjust all calls. | |
16749 | (rs6000_emit_move): Don't call offsettable_ok_by_alignment on | |
16750 | creating cmodel=medium optimized access to locals. | |
16751 | * config/rs6000/constraints.md (R): Pass QImode to | |
16752 | legitimate_constant_pool_address_p. | |
16753 | * config/rs6000/predicates.md (input_operand): Pass mode to | |
16754 | legitimate_constant_pool_address_p. | |
16755 | * config/rs6000/rs6000-protos.h (legitimate_constant_pool_address_p): | |
16756 | Update prototype. | |
16757 | ||
35f61ba4 MM |
16758 | 2011-03-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
16759 | ||
16760 | PR target/48053 | |
16761 | * config/rs6000/rs6000.md (movdi split for 32-bit): Don't split up | |
16762 | 64-bit constants being loaded into registers other than GPRs such | |
16763 | as loading 0 into a VSX register. | |
16764 | ||
07332e6d RO |
16765 | 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16766 | ||
16cc4440 | 16767 | * config/sol2.c (solaris_assemble_visibility): Remove obsolete URLs. |
07332e6d | 16768 | |
de888d90 JJ |
16769 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
16770 | ||
ba3ceb2d JJ |
16771 | PR middle-end/47917 |
16772 | * builtins.c (fold_builtin_snprintf): New function. | |
16773 | (fold_builtin_3): Call it for BUILT_IN_SNPRINTF. | |
16774 | (fold_builtin_4): Likewise. | |
16775 | ||
2e64f8b8 JJ |
16776 | PR middle-end/38878 |
16777 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Add | |
16778 | STRIP_NOPS on arg0 and arg1. When optimizing X +- C == X | |
16779 | and C - X == X also strip nops from +/-/p+ operand. | |
16780 | When optimizing -X == C, fold C to arg0's type. | |
16781 | ||
de888d90 JJ |
16782 | PR debug/47946 |
16783 | * dwarf2out.c (add_bit_offset_attribute): If bit_offset is negative, | |
16784 | emit it as add_AT_int instead of add_AT_unsigned. | |
16785 | ||
16786 | 2011-03-14 Tom Tromey <tromey@redhat.com> | |
f4e749b4 TT |
16787 | |
16788 | * unwind-dw2.c: Include sys/sdt.h if it exists. | |
16789 | (_Unwind_DebugHook): Use STAP_PROBE2. | |
16790 | * config.in, configure: Rebuild. | |
16791 | * configure.ac: Check for sys/sdt.h. | |
16792 | ||
d34abfd2 UB |
16793 | 2011-03-14 Uros Bizjak <ubizjak@gmail.com> |
16794 | ||
16795 | * config/i386/i386.md (ROUND_FLOOR): New constant. | |
16796 | (ROUND_CEIL): Ditto. | |
16797 | (ROUND_TRUNC): Ditto. | |
16798 | (ROUND_MXCSR): Ditto. | |
16799 | (ROUND_NO_EXC): Ditto. | |
16800 | (rint<mode>2): Use new defines instead of numerical constants. | |
16801 | (floor<mode>2): Ditto. | |
16802 | (ceil<mode>2): Ditto. | |
16803 | (btrunc<mode>2): Ditto. | |
16804 | * config/i386/i386-builtin-types.def: Define ROUND function type | |
16805 | aliases. | |
16806 | * config/i386/i386.c (enum ix86_builtins): Add | |
16807 | IX86_BUILTIN_{FLOOR,CEIL,TRUNC,RINT}{PS,PD}{,256} defines. | |
16808 | (struct builtin_description): Add | |
16809 | __builtin_ia32_{floor,ceil,trunc,rint}{pd,ps}{,256} descriptions. | |
16810 | (ix86_expand_sse_round): New static function. | |
16811 | (ix86_expand_args_builtin): Call ix86_expand_sse_round for ROUND | |
16812 | function types. | |
16813 | (ix86_builtin_vectorized_function): Handle | |
16814 | BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins. | |
16815 | ||
87f9e23d TT |
16816 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
16817 | ||
16818 | * c-parser.c (c_parser_asm_string_literal): Clear | |
16819 | warn_overlength_strings. | |
16820 | ||
b3ab9ea2 TT |
16821 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
16822 | ||
16823 | * c-parser.c (disable_extension_diagnostics): Save | |
16824 | warn_overlength_strings. | |
16825 | (restore_extension_diagnostics): Restore warn_overlength_strings. | |
16826 | ||
6bd73dd8 JJ |
16827 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
16828 | ||
16829 | * BASE-VER: Change to 4.7.0. | |
16830 | ||
7f4d6e1b RG |
16831 | 2011-03-14 Richard Guenther <rguenther@suse.de> |
16832 | ||
16833 | PR middle-end/48098 | |
16834 | * tree.c (build_vector_from_val): Adjust assert to requirements | |
16835 | and reality. | |
16836 | ||
c6104ef1 JJ |
16837 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
16838 | ||
16839 | PR bootstrap/48102 | |
d34abfd2 | 16840 | * graphite-cloog-compat.h (build_cloog_prog): Remove STATE parameter. |
c6104ef1 | 16841 | |
dfa95e19 AT |
16842 | 2011-03-14 Andreas Tobler <andreast@fgznet.ch> |
16843 | ||
f60c2554 | 16844 | * config/rs6000/freebsd.h (RELOCATABLE_NEEDS_FIXUP): Define in |
dfa95e19 AT |
16845 | terms of target_flags_explicit. Adjust copyright year. |
16846 | ||
16847 | * config.gcc: Add FreeBSD PowerPC soft-float libgcc bits. | |
16848 | * config/rs6000/t-freebsd: New file. Add override for | |
16849 | LIB2FUNCS_EXTRA. | |
16850 | ||
bb322018 CD |
16851 | 2011-03-13 Chris Demetriou <cgd@google.com> |
16852 | ||
16853 | * doc/invoke.texi (-fdiagnostics-show-option): Replace with... | |
16854 | (-fno-diagnostics-show-option): this, to reflect current default. | |
16855 | (-Werror=): Update text about -fno-diagnostics-show-option. | |
16856 | ||
12b1c80b PB |
16857 | 2011-03-12 Peter Bergner <bergner@vnet.ibm.com> |
16858 | ||
16859 | PR target/48053 | |
16860 | * config/rs6000/predicates.md (easy_vector_constant_add_self, | |
16861 | easy_vector_constant_msb): Do not handle V2DImode and V2DFmode. | |
16862 | * config/rs6000/rs6000.c (const_vector_elt_as_int): Add assert that | |
16863 | mode is not V2DImode or V2DFmode. | |
16864 | (vspltis_constant): Do not handle V2DImode and V2DFmode. | |
16865 | (rs6000_expand_vector_init): Replace copy_to_reg with copy_to_mode_reg. | |
16866 | * config/rs6000/rs6000.md (movdi_internal32): Allow setting VSX | |
16867 | registers to 0. | |
16868 | (movdi_internal64): Likewise. | |
16869 | ||
57d598f7 SP |
16870 | 2011-03-12 Sebastian Pop <sebastian.pop@amd.com> |
16871 | ||
16872 | PR tree-optimization/47127 | |
16873 | * graphite-clast-to-gimple.c (build_cloog_prog): Removed state | |
16874 | parameter. | |
16875 | (set_cloog_options): Same. | |
16876 | (scop_to_clast): Same. | |
16877 | (print_clast_stmt): Do not call cloog_state_malloc and | |
16878 | cloog_state_free. | |
16879 | (print_generated_program): Same. | |
16880 | (gloog): Same. | |
16881 | * graphite-clast-to-gimple.h (cloog_state): Declared. | |
16882 | (scop_to_clast): Adjust declaration. | |
16883 | * graphite.c (cloog_state): Defined here. | |
16884 | (graphite_initialize): Call cloog_state_malloc. | |
16885 | (graphite_finalize): Call cloog_state_free. | |
16886 | ||
f231b5ff JM |
16887 | 2011-03-11 Jason Merrill <jason@redhat.com> |
16888 | ||
16889 | * attribs.c (lookup_attribute_spec): Take const_tree. | |
16890 | * tree.h: Adjust. | |
16891 | ||
6a4e2bd5 JM |
16892 | 2011-03-11 Joseph Myers <joseph@codesourcery.com> |
16893 | ||
16894 | * config/sparc/sparc.c (sparc_option_override): Use | |
16895 | PROCESSOR_NIAGARA2 not PROCESSOR_NIAGARA for "niagara2". | |
16896 | ||
a758fd67 RG |
16897 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
16898 | ||
16899 | PR tree-optimization/48067 | |
16900 | * tree-ssa-math-opts.c (convert_mult_to_fma): Verify the | |
16901 | multiplication result will be only used once on the target | |
16902 | stmt. | |
16903 | ||
03dfda54 RG |
16904 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
16905 | ||
16906 | * doc/invoke.texi (max-inline-insns-single): Adjust default value. | |
16907 | ||
5f11a50a RG |
16908 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
16909 | ||
16910 | PR lto/48073 | |
16911 | * tree.c (find_decls_types_r): Do not walk types only reachable | |
16912 | from IDENTIFIER_NODEs. | |
16913 | ||
4074f163 JJ |
16914 | 2011-03-11 Jakub Jelinek <jakub@redhat.com> |
16915 | ||
16916 | PR middle-end/48044 | |
16917 | * ipa.c (cgraph_remove_unreachable_nodes): Enqueue | |
16918 | all vnode->force_output nodes as needed. | |
16919 | ||
30f7cdcd JM |
16920 | 2011-03-11 Jason Merrill <jason@redhat.com> |
16921 | ||
16922 | PR c++/48069 | |
16923 | * tree.c (type_hash_eq): Use COMPLETE_TYPE_P, not | |
16924 | COMPLETE_OR_UNBOUND_ARRAY_TYPE_P. | |
16925 | ||
62ecfeb8 MJ |
16926 | 2011-03-11 Martin Jambor <mjambor@suse.cz> |
16927 | ||
16928 | * cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of | |
16929 | cgraph_node. | |
16930 | ||
e89e03ab JJ |
16931 | 2011-03-11 Jakub Jelinek <jakub@redhat.com> |
16932 | ||
16933 | PR tree-optimization/48063 | |
16934 | * ipa-inline.c (cgraph_decide_inlining): Don't try to | |
16935 | inline functions called once if !tree_can_inline_p (node->callers). | |
16936 | ||
efbe978b | 16937 | 2011-03-11 Chen Liqin <liqin.gcc@gmail.com> |
9d6193a7 | 16938 | |
efbe978b EB |
16939 | * config.gcc (score-*-elf): Add extra_parts .., update tmake_file and |
16940 | extra_objs. | |
9d6193a7 CL |
16941 | * config/score/score3.c: Delete. |
16942 | * config/score/score3.h: Delete. | |
16943 | * config/score/mul-div.S: Delete. | |
16944 | * config/score/sfp-machine.h: Add new file. | |
16945 | * config/score/constraints.md: Add new file. | |
16946 | * config/score/t-score-softfp: Add new file. | |
efbe978b | 16947 | * config/score/t-score-elf: Remove score3.o, do not generate multilib. |
9d6193a7 CL |
16948 | * config/score/score7.c (score7_const_ok_for_letter_p): Delete. |
16949 | (score7_extra_constraint): Delete. | |
efbe978b | 16950 | (score7_option_override): Remove unused code. |
9d6193a7 CL |
16951 | * config/score/score.c: Remove score3 and score5 define and code. |
16952 | * config/score/score.h: Remove score3 and score5 define and code. | |
efbe978b | 16953 | * config/score/score.md: Remove score3 template and unusual insn. |
9d6193a7 CL |
16954 | * config/score/score.opt: Remove score3 and score5 options. |
16955 | ||
5de27cca JDA |
16956 | 2011-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
16957 | ||
16958 | * config/pa/pa-hpux10.h (TARGET_OS_CPP_BUILTINS): Define _REENTRANT | |
16959 | when _HPUX_SOURCE is defined. | |
16960 | (LIB_SPEC): Use -lc instead of -lc_r when -threads is specified. | |
16961 | ||
18d92053 JM |
16962 | 2011-03-10 Jason Merrill <jason@redhat.com> |
16963 | ||
16964 | PR c++/48029 | |
16965 | * stor-layout.c (layout_type): Don't set structural equality | |
16966 | on arrays of incomplete type. | |
16967 | * tree.c (type_hash_eq): Handle comparing them properly. | |
16968 | ||
67a2f76d JJ |
16969 | 2011-03-10 Jakub Jelinek <jakub@redhat.com> |
16970 | ||
16971 | PR debug/48043 | |
18d92053 | 16972 | * config/s390/s390.c (s390_delegitimize_address): Make sure the |
67a2f76d JJ |
16973 | result mode matches original rtl mode. |
16974 | ||
d845b2f9 NC |
16975 | 2011-03-10 Nick Clifton <nickc@redhat.com> |
16976 | ||
16977 | * config/rx/rx.md (bitset_in_memory, bitclr_in_memory: Fix timings. | |
39242686 | 16978 | (andsi3, andsi3_flags): Fix timings for three operand alternative. |
d845b2f9 | 16979 | |
db7ec035 JJ |
16980 | 2011-03-09 Jakub Jelinek <jakub@redhat.com> |
16981 | ||
16982 | PR rtl-optimization/47866 | |
16983 | * expr.c (store_field): If MEM_SCALAR_P (target), don't use | |
16984 | MEM_SET_IN_STRUCT_P (to_rtx, 1), just set MEM_IN_STRUCT_P (to_rtx) | |
16985 | if target wasn't scalar. | |
16986 | * function.c (assign_stack_temp_for_type): Assert that neither | |
16987 | MEM_SCALAR_P nor MEM_IN_STRUCT_P is set previously, set either | |
16988 | MEM_IN_STRUCT_P or MEM_SCALAR_P instead of using MEM_SET_IN_STRUCT_P | |
16989 | macro. | |
16990 | * rtl.h (MEM_SET_IN_STRUCT_P): Removed. | |
16991 | ||
5d304e47 AK |
16992 | 2011-03-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
16993 | ||
16994 | * config/s390/s390-protos.h (s390_label_align): New prototype. | |
16995 | * config/s390/s390.c (s390_label_align): New function. | |
16996 | * config/s390/s390.h (LABEL_ALIGN): New target macro definition. | |
16997 | ||
93b826f0 MM |
16998 | 2011-03-08 Michael Meissner <meissner@linux.vnet.ibm.com> |
16999 | ||
17000 | PR target/47755 | |
17001 | * config/rs6000/rs6000.c (easy_altivec_constant): Correctly handle | |
17002 | V2DI/V2DF constants. Only all 0's or all 1's are easy. | |
17003 | (output_vec_const_move): Ditto. | |
17004 | ||
ef78aed6 AS |
17005 | 2011-03-08 Anatoly Sokolov <aesok@post.ru> |
17006 | ||
17007 | * config/mips/mips.h (PREFERRED_RELOAD_CLASS): Remove macro. | |
17008 | * config/mips/mips-protos.h (mips_preferred_reload_class): Remove. | |
17009 | * config/mips/mips.c (mips_preferred_reload_class): Make static. | |
17010 | Change 'rclass' argument and result type to reg_class_t. | |
17011 | (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
17012 | ||
5f892aa0 GJL |
17013 | 2011-03-08 Georg-Johann Lay <avr@gjlay.de> |
17014 | ||
9e43ad68 UB |
17015 | * config/avr/avr.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. |
17016 | * config/avr/avr.c (TARGET_REGISTER_MOVE_COST) | |
17017 | (TARGET_MEMORY_MOVE_COST): Define. | |
17018 | (avr_register_move_cost, avr_memory_move_cost): New Functions. | |
5f892aa0 | 17019 | |
32bd2409 JJ |
17020 | 2011-03-08 Jakub Jelinek <jakub@redhat.com> |
17021 | ||
530a4800 JJ |
17022 | PR debug/47881 |
17023 | * ira.c (ira): Call df_analyze again if delete_trivially_dead_insns | |
17024 | removed anything. | |
17025 | ||
32bd2409 JJ |
17026 | PR tree-optimization/48022 |
17027 | * fold-const.c (fold_comparison): Don't call fold_overflow_warning | |
17028 | for EQ/NE_EXPR. | |
17029 | ||
c7148991 JJ |
17030 | 2011-03-07 Jakub Jelinek <jakub@redhat.com> |
17031 | ||
17032 | PR debug/47991 | |
17033 | * var-tracking.c (find_use_val): Return NULL for | |
17034 | cui->sets && cui->store_p BLKmode MEMs. | |
17035 | ||
43070a6e AS |
17036 | 2011-03-07 Anatoly Sokolov <aesok@post.ru> |
17037 | ||
17038 | * config/stormy16/stormy16.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): | |
17039 | Remove. | |
17040 | * config/stormy16/stormy16-protos.h (xstormy16_print_operand, | |
17041 | xstormy16_print_operand_address): Remove. | |
17042 | * config/stormy16/stormy16.c (xstormy16_print_operand, | |
17043 | xstormy16_print_operand_address): Make static. | |
17044 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
17045 | ||
efbe978b | 17046 | 2011-03-07 Pat Haugen <pthaugen@us.ibm.com> |
79eefb0d PH |
17047 | |
17048 | PR target/47862 | |
17049 | * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Define. | |
17050 | * config/rs6000/e500.h (HARD_REGNO_CALLER_SAVE_MODE): Undefine | |
17051 | before definition. | |
17052 | ||
cec8ac0b ZD |
17053 | 2011-03-07 Zdenek Dvorak <ook@ucw.cz> |
17054 | ||
17055 | PR bootstrap/48000 | |
17056 | * cfgloopmanip.c (fix_bb_placements): Return immediately | |
17057 | if FROM is BASE_LOOP's header. | |
17058 | ||
59527282 PW |
17059 | 2011-03-07 Paul Wögerer <paul_woegerer@mentor.com> |
17060 | ||
17061 | * gimplify.c (gimplify_function_tree): Fix building calls | |
17062 | to __builtin_return_address. | |
17063 | ||
617718f7 AM |
17064 | 2011-03-07 Alan Modra <amodra@gmail.com> |
17065 | ||
17066 | * config/rs6000/linux.h (TARGET_ASM_FILE_END): Don't define. | |
17067 | * config/rs6000/linux64.h (TARGET_ASM_FILE_END): Don't define. | |
17068 | * config/rs6000/sysv4.h (TARGET_ASM_FILE_END): Define. | |
17069 | * config/rs6000/rs6000-protos.h (init_cumulative_args): Add fndecl and | |
17070 | return_mode args. | |
17071 | * config/rs6000/rs6000.h (CUMULATIVE_ARGS): Add "escapes". | |
17072 | (INIT_CUMULATIVE_ARGS): Pass FNDECL, VOIDmode. | |
17073 | (INIT_CUMULATIVE_INCOMING_ARGS): Pass current_function_decl, VOIDmode. | |
17074 | (INIT_CUMULATIVE_LIBCALL_ARGS): Pass NULL_TREE, MODE. | |
17075 | * config/rs6000/rs6000.c | |
17076 | (rs6000_elf_end_indicate_exec_stack): Rename to.. | |
17077 | (rs6000_elf_file_end): ..this. Only call file_end_indicate_exec_stack | |
17078 | for POWERPC_LINUX. Move code emitting .gnu_attribute to here, from.. | |
17079 | (rs6000_file_start): ..here. | |
17080 | (rs6000_passes_float, rs6000_passes_vector, rs6000_returns_struct): New | |
17081 | file scope variables. | |
17082 | (call_ABI_of_interest): New function. | |
17083 | (init_cumulative_args): Set above vars when function return value | |
17084 | is a float, vector, or small struct. | |
17085 | (rs6000_function_arg_advance_1): Likewise for function args. | |
17086 | (rs6000_va_start): Set rs6000_passes_float if variable arg function | |
17087 | references float args. | |
17088 | ||
38528d50 MX |
17089 | 2011-03-07 Mingjie Xing <mingjie.xing@gmail.com> |
17090 | ||
17091 | * doc/cfg.texi: Remove "See" before @ref. | |
17092 | * doc/invoke.texi: Likewise. | |
17093 | ||
f42cf4f4 JM |
17094 | 2011-03-05 Jason Merrill <jason@redhat.com> |
17095 | ||
17096 | * doc/invoke.texi (C++ Dialect Options): Document ABI v5. | |
17097 | ||
804a304d AG |
17098 | 2011-03-05 Anthony Green <green@moxielogic.com> |
17099 | ||
17100 | * config.gcc (moxie-*-elf): Add newlib-stdint.h to tmfile. | |
17101 | ||
634ee309 ZD |
17102 | 2011-03-05 Zdenek Dvorak <ook@ucw.cz> |
17103 | ||
17104 | PR rtl-optimization/47899 | |
17105 | * cfgloopmanip.c (fix_bb_placements): Fix first argument | |
17106 | to flow_loop_nested_p when moving the loop upward. | |
17107 | ||
6fe471c8 RE |
17108 | 2011-03-05 Richard Earnshaw <rearnsha@arm.com> |
17109 | ||
17110 | PR target/47719 | |
17111 | * arm.md (movhi_insn_arch4): Accept any immediate constant. | |
17112 | ||
cc58ceee JJ |
17113 | 2011-03-05 Jakub Jelinek <jakub@redhat.com> |
17114 | ||
17115 | PR tree-optimization/47967 | |
17116 | * ipa-cp.c (build_const_val): Return NULL instead of creating | |
17117 | VIEW_CONVERT_EXPR for mismatching sizes. | |
17118 | (ipcp_create_replace_map): Return NULL if build_const_val failed. | |
17119 | (ipcp_insert_stage): If ipcp_create_replace_map returns NULL, | |
17120 | give up on versioning. | |
17121 | ||
ea868305 AM |
17122 | 2011-03-05 Alan Modra <amodra@gmail.com> |
17123 | ||
17124 | PR target/47986 | |
17125 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle | |
17126 | full cmodel medium/large lo_sum + high addresses. | |
17127 | ||
bc6ce334 AK |
17128 | 2011-03-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
17129 | ||
17130 | * config/s390/s390.c (s390_decompose_address): Reject non-literal | |
17131 | pool references in UNSPEC_LTREL_OFFSET. | |
17132 | ||
87e7b310 JH |
17133 | 2011-03-04 Jan Hubicka <jh@suse.cz> |
17134 | ||
17135 | PR lto/47497 | |
17136 | * lto-symtab.c (lto_cgraph_replace_node): Do not set thunk.alias. | |
17137 | (lto_symtab_merge_cgraph_nodes_1): Update thunk.alias pointers here. | |
d34abfd2 UB |
17138 | * cgraph.h (cgraph_same_body_alias, cgraph_add_thunk): |
17139 | Add node pointers. | |
87e7b310 JH |
17140 | * cgraph.c (cgraph_same_body_alias_1, cgraph_same_body_alias, |
17141 | cgraph_add_thunk): Add node pointers. | |
17142 | * lto-cgraph.c (lto_output_node): Verify that thunks&aliases are | |
17143 | associated to right node. | |
17144 | (input_node): Update use of cgraph_same_body_alias | |
17145 | and cgraph_add_thunk. | |
17146 | ||
d9c64246 CF |
17147 | 2011-03-04 Changpeng Fang <changpeng.fang@amd.com> |
17148 | ||
17149 | * config/i386/i386.opt (mprefer-avx128): New flag. | |
d34abfd2 UB |
17150 | * config/i386/i386.c (ix86_preferred_simd_mode): Prefer 128-bit AVX |
17151 | modes when the flag -mprefer-avx128 is on. | |
d9c64246 | 17152 | |
08707076 RS |
17153 | 2011-03-04 Richard Sandiford <richard.sandiford@linaro.org> |
17154 | ||
17155 | * dwarf2out.c (compare_loc_operands): Fix address handling. | |
17156 | ||
52517c81 AM |
17157 | 2011-03-04 Alan Modra <amodra@gmail.com> |
17158 | ||
17159 | * tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment. | |
17160 | ||
b147c5b9 RG |
17161 | 2011-03-04 Richard Guenther <rguenther@suse.de> |
17162 | ||
17163 | PR middle-end/47968 | |
17164 | * expmed.c (extract_bit_field_1): Prefer vector modes that | |
17165 | vec_extract patterns can handle. | |
17166 | ||
8750672f RG |
17167 | 2011-03-04 Richard Guenther <rguenther@suse.de> |
17168 | ||
17169 | PR middle-end/47975 | |
17170 | * optabs.c (optab_for_tree_code): Do not use VECTOR_MODE_P. | |
17171 | ||
9eac0f2a RH |
17172 | 2011-03-04 Richard Henderson <rth@redhat.com> |
17173 | ||
17174 | * explow.c (emit_stack_save): Remove 'after' parameter. | |
17175 | (emit_stack_restore): Likewise. | |
17176 | * expr.h: Update to match. | |
17177 | * builtins.c, calls.c, stmt.c: Likewise. | |
17178 | * config/alpha/alpha.md, config/avr/avr.md: Likewise. | |
17179 | * config/mips/mips.md, config/pa/pa.md, config/vax/vax.md: Likewise. | |
17180 | * function.c (expand_function_end): Insert the emit_stack_save | |
17181 | sequence before parm_birth_insn instead of after. | |
17182 | ||
dfee1406 UB |
17183 | 2011-03-03 Uros Bizjak <ubizjak@gmail.com> |
17184 | ||
17185 | * config/i386/sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX. | |
17186 | (ssse3_pmaddubsw128): Ditto. | |
17187 | (ssse3_pmaddubsw): Ditto. | |
17188 | ||
f1d4c3de SE |
17189 | 2011-03-03 Steve Ellcey <sje@cup.hp.com> |
17190 | ||
17191 | * config/ia64/t-hpux: Add $(srcdir)/unwind-c.c to LIB2ADDEH | |
17192 | ||
71f3a3f5 JJ |
17193 | 2011-03-03 Jakub Jelinek <jakub@redhat.com> |
17194 | ||
423ed416 JJ |
17195 | PR c/47963 |
17196 | * gimplify.c (omp_add_variable): Only call omp_notice_variable | |
17197 | on TYPE_SIZE_UNIT if it is a DECL. | |
17198 | ||
71f3a3f5 JJ |
17199 | PR debug/47283 |
17200 | * cfgexpand.c (expand_debug_expr) <case MEM_REF>: If MEM_REF | |
17201 | first operand is not is_gimple_mem_ref_addr, try to fold it. | |
17202 | If the operand still isn't is_gimple_mem_ref_addr, clear | |
17203 | MEM_EXPR on op0. | |
17204 | ||
4b1a5c0d RG |
17205 | 2011-03-03 Richard Guenther <rguenther@suse.de> |
17206 | ||
17207 | PR middle-end/47283 | |
17208 | * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Make code | |
17209 | match comment. | |
17210 | (refs_may_alias_p_1): For release branches return true if | |
17211 | we are confused by our input. | |
17212 | ||
b46616fd AK |
17213 | 2011-03-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
17214 | ||
17215 | * config/s390/s390.c (s390_function_value): Rename to ... | |
17216 | (s390_function_and_libcall_value): ... this. | |
17217 | (s390_function_value): New function. | |
17218 | (s390_libcall_value): New function. | |
dfee1406 | 17219 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Define target hooks. |
b46616fd AK |
17220 | * config/s390/s390.h (FUNCTION_VALUE, LIBCALL_VALUE): Remove |
17221 | target macro definitions. | |
17222 | * config/s390/s390-protos.h (s390_function_value): Remove prototype. | |
17223 | ||
46d8fabb JM |
17224 | 2011-03-02 Joseph Myers <joseph@codesourcery.com> |
17225 | ||
17226 | * config/i386/freebsd64.h (CC1_SPEC): Define. | |
17227 | * config/i386/linux64.h (CC1_SPEC): Define. | |
17228 | * config/i386/x86-64.h (CC1_SPEC): Don't define. | |
17229 | ||
6b1ce545 AS |
17230 | 2011-03-02 Anatoly Sokolov <aesok@post.ru> |
17231 | ||
17232 | * config/stormy16/stormy16.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): | |
17233 | Remove. | |
17234 | * config/stormy16/stormy16.c: Include reload.h. | |
17235 | (xstormy16_memory_move_cost): New function. | |
17236 | (TARGET_MEMORY_MOVE_COST): Define. | |
17237 | ||
34161e98 RS |
17238 | 2011-03-02 Richard Sandiford <richard.sandiford@linaro.org> |
17239 | ||
17240 | PR rtl-optimization/47925 | |
17241 | * cse.c (count_reg_usage): Don't ignore the SET_DEST of instructions | |
17242 | with side effects. Remove the more-specific check for volatile asms. | |
17243 | ||
f60a97cf AM |
17244 | 2011-03-02 Alan Modra <amodra@gmail.com> |
17245 | ||
17246 | PR target/47935 | |
17247 | * config/rs6000/predicates.md (lwa_operand): Check cmodel medium | |
17248 | toc relative addresses for valid offsets. | |
17249 | ||
f2ca11ca RG |
17250 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
17251 | ||
17252 | PR tree-optimization/47890 | |
17253 | * tree-vect-loop.c (get_initial_def_for_induction): Set | |
17254 | related stmt properly. | |
17255 | ||
7a00d9ea RG |
17256 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
17257 | ||
17258 | PR lto/47924 | |
17259 | * lto-streamer.c (lto_record_common_node): Also register | |
17260 | the canonical type. | |
17261 | ||
06c7edcc RG |
17262 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
17263 | ||
17264 | PR lto/46911 | |
17265 | * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers): | |
17266 | Do not stream DECL_ABSTRACT_ORIGIN. | |
17267 | (lto_input_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION, | |
17268 | BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN. | |
17269 | * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): | |
17270 | Do not stream DECL_ABSTRACT_ORIGIN. | |
17271 | (lto_output_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION, | |
17272 | BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN. | |
17273 | ||
998871e9 AS |
17274 | 2011-02-28 Anatoly Sokolov <aesok@post.ru> |
17275 | ||
17276 | * config/stormy16/stormy16.h (FUNCTION_VALUE, LIBCALL_VALUE, | |
17277 | FUNCTION_VALUE_REGNO_P): Remove. | |
b2e2ea67 | 17278 | * config/stormy16/stormy16-protos.h (xstormy16_function_value): Remove. |
998871e9 AS |
17279 | * config/stormy16/stormy16.c (xstormy16_function_value): Make static. |
17280 | Add 'outgoing' argument. | |
17281 | (xstormy16_libcall_value, xstormy16_function_value_regno_p): New | |
17282 | function. | |
17283 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
17284 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
17285 | ||
94369251 KT |
17286 | 2011-02-28 Kai Tietz <kai.tietz@onevision.com> |
17287 | ||
17288 | PR debug/28047 | |
17289 | * dwarf2out.c (file_table_eq): Use filename_cmp instead of strcmp. | |
17290 | (lookup_filename): Likewise. | |
b2e2ea67 | 17291 | * final.c (remap_debug_filename): Use filename_ncmp instead of strncmp. |
94369251 | 17292 | |
80a832cd JJ |
17293 | 2011-02-28 Bernd Schmidt <bernds@codesourcery.com> |
17294 | Jakub Jelinek <jakub@redhat.com> | |
17295 | ||
17296 | PR middle-end/47893 | |
17297 | * rtl.h (ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD): Define. | |
17298 | (assign_stack_local_1): Change last argument type to int. | |
17299 | * function.c (assign_stack_local_1): Replace reduce_alignment_ok | |
17300 | argument with kind. If bit ASLK_RECORD_PAD is not set in it, | |
b2e2ea67 | 17301 | don't record padding space into frame_space_list nor use those areas. |
80a832cd JJ |
17302 | (assign_stack_local): Adjust caller. |
17303 | (assign_stack_temp_for_type): Call assign_stack_local_1 instead | |
17304 | of assign_stack_local, pass 0 as last argument. | |
17305 | * caller-save.c (setup_save_areas): Adjust assign_stack_local_1 | |
17306 | callers. | |
17307 | ||
1b500976 JJ |
17308 | 2011-02-28 Jakub Jelinek <jakub@redhat.com> |
17309 | ||
f61c6f34 JJ |
17310 | PR debug/47283 |
17311 | * cfgexpand.c (convert_debug_memory_address): Add AS parameter. | |
17312 | Use target address_mode and pointer_mode hooks instead of hardcoded | |
17313 | Pmode and ptr_mode. Handle some simple cases of extending if | |
17314 | POINTERS_EXTEND_UNSIGNED < 0. | |
17315 | (expand_debug_expr) <case MEM_REF, INDIRECT_REF, TARGET_MEM_REF>: | |
17316 | Call convert_debug_memory_address. | |
17317 | (expand_debug_expr) <case ADDR_EXPR>: Pass as to | |
17318 | convert_debug_memory_address. | |
17319 | ||
1b500976 JJ |
17320 | PR middle-end/46790 |
17321 | * configure.ac (HAVE_LD_EH_GC_SECTIONS_BUG): New test. | |
17322 | * configure: Regenerated. | |
17323 | * config.in: Regenerated. | |
17324 | * varasm.c (default_function_section): Return NULL | |
b2e2ea67 | 17325 | if HAVE_LD_EH_GC_SECTIONS_BUG and decl has implicit section name. |
1b500976 | 17326 | |
2f2935b6 MJ |
17327 | 2011-02-28 Martin Jambor <mjambor@suse.cz> |
17328 | ||
17329 | * ipa-inline.c (cgraph_decide_inlining_of_small_functions): Fix | |
17330 | the description to match the printed values. | |
17331 | ||
474086eb RG |
17332 | 2011-02-28 Richard Guenther <rguenther@suse.de> |
17333 | ||
17334 | * tree-inline.c (tree_function_versioning): Set BLOCK_SUPERCONTEXT | |
17335 | of the copied scope tree. | |
17336 | ||
15bf6f3a RW |
17337 | 2011-02-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
17338 | ||
17339 | * doc/extend.texi (Function Attributes): Avoid deeply (and | |
17340 | wrongly) nested tables. | |
17341 | ||
f6b439c9 JJ |
17342 | 2011-02-27 Jakub Jelinek <jakub@redhat.com> |
17343 | ||
17344 | PR middle-end/47903 | |
17345 | * real.c (real_arithmetic) <case PLUS_EXPR, MINUS_EXPR, | |
17346 | MULT_EXPR, RDIV_EXPR>: Clear padding bits in *r first if | |
17347 | r isn't op0 nor op1. | |
17348 | ||
1d8ca2c7 GJL |
17349 | 2011-02-23 Georg-Johann Lay <avr@gjlay.de> |
17350 | ||
17351 | * config/avr/avr.md: Remove magic comment for emacs. | |
17352 | ||
593fca4b GJL |
17353 | 2011-02-23 Georg-Johann Lay <avr@gjlay.de> |
17354 | ||
17355 | PR target/45261 | |
17356 | * config/avr/avr.c (avr_option_override): Use error on bad options. | |
17357 | (avr_help): New function. | |
17358 | (TARGET_HELP): Define. | |
17359 | ||
6609216e GJL |
17360 | 2011-02-22 Georg-Johann Lay <avr@gjlay.de> |
17361 | ||
17362 | PR target/42240 | |
17363 | * config/avr/avr.c (avr_cannot_modify_jumps_p): New function. | |
17364 | (TARGET_CANNOT_MODIFY_JUMPS_P): Define. | |
17365 | ||
03d458af GP |
17366 | 2011-02-26 Gerald Pfeifer <gerald@pfeifer.com> |
17367 | ||
17368 | * doc/invoke.texi (ARC Options): Use CPU instead of cpu. | |
17369 | (ARM Options): Ditto. | |
17370 | (i386 and x86-64 Options): Ditto. | |
17371 | (RX Options): Ditto. | |
17372 | (SPARC Options): Ditto. | |
17373 | ||
1c379b78 TC |
17374 | 2011-02-26 Tijl Coosemans <tijl@coosemans.org> |
17375 | ||
17376 | * config.gcc (i386-*-freebsd*): Make i486 the default arch on | |
17377 | FreeBSD 6 and later. Generally use cpu generic. | |
17378 | ||
d5ed058c | 17379 | 2011-02-25 Gerald Pfeifer <gerald@pfeifer.com> |
b2e2ea67 | 17380 | |
d5ed058c GP |
17381 | * doc/cpp.texi: Update copyright years. |
17382 | ||
509d65dd | 17383 | 2011-02-25 Sebastien Bourdeauducq <sebastien@milkymist.org> |
308d39cd | 17384 | |
509d65dd | 17385 | PR target/46898 |
308d39cd SB |
17386 | * config/lm32/lm32.md (ashrsi3): Added needed variable. |
17387 | ||
509d65dd | 17388 | 2011-02-25 Jon Beniston <jon@beniston.com> |
308d39cd | 17389 | |
509d65dd | 17390 | PR target/46898 |
308d39cd SB |
17391 | * config/lm32/lm32.h (INCOMING_RETURN_ADDR_RTX): New. |
17392 | * config/lm32/lm32.md (ashlsi3): Remove unused variable. | |
17393 | * config/lm32/lm32.c (TARGET_EXCEPT_UNWIND_INFO): New. | |
17394 | (lm32_block_move_inline): Add type cast to remove warning. | |
b2e2ea67 | 17395 | (lm32_expand_prologue): Generate fp in a way compatible with dwarf2out. |
308d39cd SB |
17396 | (gen_int_relational): Move declarations to start of function. |
17397 | ||
822ba6d7 EB |
17398 | 2011-02-25 Eric Botcazou <ebotcazou@adacore.com> |
17399 | ||
17400 | PR tree-optimization/45470 | |
17401 | * tree-vect-data-refs.c (vect_analyze_data_refs): Fail if a statement | |
17402 | can throw internally only. | |
17403 | * tree-vect-stmts.c (vectorizable_call): Likewise. | |
17404 | ||
ef795fc2 AS |
17405 | 2011-02-24 Anatoly Sokolov <aesok@post.ru> |
17406 | ||
17407 | * config/stormy16/stormy16.h (PREFERRED_RELOAD_CLASS, | |
17408 | PREFERRED_OUTPUT_RELOAD_CLASS): Remove. | |
17409 | * config/stormy16/stormy16-protos.h | |
17410 | (xstormy16_preferred_reload_class): Remove. | |
17411 | * config/stormy16/stormy16.c (xstormy16_preferred_reload_class): Make | |
17412 | static. Change 'rclass' argument and return type to reg_class_t. | |
17413 | (TARGET_PREFERRED_RELOAD_CLASS, | |
17414 | TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. | |
17415 | ||
1c3277ee RG |
17416 | 2011-02-24 Richard Guenther <rguenther@suse.de> |
17417 | ||
17418 | * lto-streamer-in.c (input_bb): Do not find referenced vars | |
17419 | in debug statements. | |
17420 | ||
67e18edb JM |
17421 | 2011-02-23 Jason Merrill <jason@redhat.com> |
17422 | ||
17423 | * common.opt (fabi-version): Document v5 and v6. | |
17424 | ||
b14fad9d RG |
17425 | 2011-02-23 Richard Guenther <rguenther@suse.de> |
17426 | ||
17427 | PR tree-optimization/47849 | |
17428 | * tree-if-conv.c (main_tree_if_conversion): Free postdom info. | |
17429 | ||
7fcf46f5 JZ |
17430 | 2011-02-23 Jie Zhang <jie@codesourcery.com> |
17431 | ||
17432 | * opts-common.c (decode_cmdline_option): Print empty string | |
17433 | argument as "" in decoded->orig_option_with_args_text. | |
17434 | * gcc.c (execute): Print empty string argument as "" | |
17435 | in the verbose output. | |
17436 | (do_spec_1): Keep empty string argument. | |
17437 | ||
f85b70fd NF |
17438 | 2011-02-23 Nathan Froyd <froydnj@codesourcery.com> |
17439 | ||
17440 | * config.gcc: Declare score-* and crx-* obsolete. | |
17441 | ||
b152a615 JZ |
17442 | 2011-02-23 Jie Zhang <jie@codesourcery.com> |
17443 | ||
17444 | PR rtl-optimization/47763 | |
17445 | * web.c (web_main): Ignore naked clobber when replacing register. | |
17446 | ||
bb6e77bc AS |
17447 | 2011-02-22 Anatoly Sokolov <aesok@post.ru> |
17448 | ||
17449 | * config/stormy16/stormy16.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): | |
17450 | Remove. | |
17451 | ||
68bf6491 SP |
17452 | 2011-02-22 Sebastian Pop <sebastian.pop@amd.com> |
17453 | ||
17454 | PR doc/47848 | |
17455 | * doc/invoke.texi: Do not mention -ftree-loop-if-convert-memory-writes. | |
17456 | ||
88ee1fc7 MS |
17457 | 2011-02-22 Mike Stump <mikestump@comcast.net> |
17458 | ||
17459 | * acinclude.m4 (gcc_cv_gas_vers): Add -arch ppc for probing darwin | |
17460 | assembler. | |
17461 | * configure: Regenerate. | |
17462 | ||
6042d1dd CLT |
17463 | 2011-02-21 Chung-Lin Tang <cltang@codesourcery.com> |
17464 | ||
17465 | PR rtl-optimization/46002 | |
17466 | * ira-color.c (update_copy_costs): Change class intersection | |
17467 | test to reg_class_contents[] test of 'hard_regno'. | |
17468 | ||
7de97f9e JM |
17469 | 2011-02-21 Joseph Myers <joseph@codesourcery.com> |
17470 | ||
17471 | * config/alpha/osf5.opt (mno-mips-tfile): Mark as Target rather | |
17472 | than Driver option. | |
17473 | * config/hpux11.opt (mt): Likewise. | |
17474 | * config/microblaze/microblaze.opt (mxl-mode-xilkernel): Likewise. | |
17475 | * config/rs6000/xilinx.opt (mno-clearbss, mppcperflib): Likewise. | |
17476 | * config/vax/elf.opt (mno-asm-pic): Likewise. | |
17477 | * config/vms/vms.opt (map, mvms-return-codes): Likewise. | |
17478 | ||
d1d46f9f MS |
17479 | 2011-02-21 Mike Stump <mikestump@comcast.net> |
17480 | ||
17481 | PR target/47822 | |
17482 | * config/darwin-protos.h (darwin_init_cfstring_builtins): Return a | |
17483 | tree so we can get save the type. | |
17484 | * config/i386/darwin.h (SUBTARGET_INIT_BUILTINS): Reserve builtin slot | |
17485 | for CFString instead of trying to use past the end of the builtins. | |
17486 | * config/i386/i386.c (IX86_BUILTIN_CFSTRING): Likewise. | |
17487 | * config/rs6000/rs6000-builtin.def (RS6000_BUILTIN_CFSTRING): Likewise. | |
17488 | * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): Likewise. | |
17489 | * config/darwin.c (DARWIN_BUILTIN_CFSTRINGMAKECONSTANTSTRING): | |
17490 | Rename to darwin_builtin_cfstring. | |
17491 | (darwin_init_cfstring_builtins): Return the built type. | |
17492 | ||
23e0d930 UB |
17493 | 2011-02-21 Uros Bizjak <ubizjak@gmail.com> |
17494 | ||
17495 | PR target/47840 | |
17496 | * config/i386/avxintrin.h (_mm256_insert_epi32): Use _mm_insert_epi32. | |
17497 | (_mm256_insert_epi64): Use _mm_insert_epi64. | |
17498 | ||
192997cf AS |
17499 | 2011-02-21 Anatoly Sokolov <aesok@post.ru> |
17500 | ||
17501 | * config/stormy16/stormy16.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
17502 | * config/stormy16/stormy16-protos.h | |
17503 | (xstormy16_mode_dependent_address_p): Remove. | |
17504 | * config/stormy16/stormy16.c (xstormy16_mode_dependent_address_p): | |
17505 | Make static. Change return type to bool. Change argument type to | |
17506 | const_rtx. Remove dead code. | |
17507 | (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
17508 | ||
e292d003 RG |
17509 | 2011-02-21 Richard Guenther <rguenther@suse.de> |
17510 | ||
17511 | PR lto/47820 | |
17512 | * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers): | |
17513 | Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs. | |
17514 | (lto_input_ts_block_tree_pointers): Hook a BLOCK into the | |
17515 | TUs context. | |
23e0d930 | 17516 | * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): |
e292d003 RG |
17517 | Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs. |
17518 | ||
77f846e9 RG |
17519 | 2011-02-20 Richard Guenther <rguenther@suse.de> |
17520 | ||
17521 | PR lto/47822 | |
17522 | * tree.c (free_lang_data_in_decl): Clean builtins from | |
17523 | the TU decl BLOCK_VARS. | |
23e0d930 | 17524 | |
b2cddfc8 AO |
17525 | 2011-02-19 Alexandre Oliva <aoliva@redhat.com> |
17526 | ||
17527 | PR debug/47620 | |
17528 | PR debug/47630 | |
17529 | * haifa-sched.c (fix_tick_ready): Skip tick computation | |
17530 | for debug insns. | |
17531 | ||
becf4c11 RG |
17532 | 2011-02-19 Richard Guenther <rguenther@suse.de> |
17533 | ||
17534 | PR lto/47647 | |
17535 | * lto-streamer-in.c (lto_input_ts_decl_minimal_tree_pointers): | |
17536 | Remove lazy BLOCK_VARS streaming. | |
17537 | (lto_input_ts_block_tree_pointers): Likewise. | |
17538 | * lto-streamer-out.c (lto_output_ts_block_tree_pointers): Likewise. | |
17539 | ||
27f98305 JM |
17540 | 2011-02-19 Joseph Myers <joseph@codesourcery.com> |
17541 | ||
17542 | * config.gcc (i[34567]86-pc-msdosdjgpp*): Use i386/djgpp-stdint.h. | |
17543 | ||
064bf3f4 JM |
17544 | 2011-02-19 Joseph Myers <joseph@codesourcery.com> |
17545 | ||
17546 | * config/i386/biarch32.h, config/i386/mach.h, | |
17547 | config/rs6000/aix.opt, config/sh/superh64.h: Remove. | |
17548 | ||
9215ddc3 JJ |
17549 | 2011-02-19 Jakub Jelinek <jakub@redhat.com> |
17550 | ||
17551 | PR target/47800 | |
17552 | * config/i386/i386.md (peephole2 for shift and plus): Use | |
17553 | operands[1] original mode in the first insn. | |
17554 | ||
8b021004 MS |
17555 | 2011-02-18 Mike Stump <mikestump@comcast.net> |
17556 | ||
65ded153 | 17557 | * config/t-darwin (TM_H): Add dependency on darwin-sections.def. |
8b021004 | 17558 | |
f84ae14c JH |
17559 | 2011-02-18 Jan Hubicka <jh@suse.cz> |
17560 | ||
17561 | PR middle-end/47788 | |
65ded153 EB |
17562 | * ipa-inline.c (compute_inline_parameters): Set disregard_inline_limits |
17563 | to zero when the function is not inlinable at all. | |
f84ae14c | 17564 | |
eddabc80 JDA |
17565 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
17566 | ||
17567 | * config.gcc (hppa[12]*-*-hpux11*): Set extra_parts. | |
17568 | * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, | |
17569 | pthread_mutex_unlock, pthread_once): Reinstate pthread stubs. | |
17570 | * config/pa/t-pa-hpux11: Add rules to build pthread stubs. | |
17571 | * config/pa/t-pa64: Likewise. | |
17572 | * config/pa/pa-hpux11.h (LINK_GCC_C_SEQUENCE_SPEC): Define. | |
17573 | ||
ca3da783 JJ |
17574 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
17575 | ||
17576 | PR driver/47787 | |
17577 | * gcc.c (default_compilers): Clear combinable field for "@cpp-output". | |
17578 | ||
430aa868 JDA |
17579 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
17580 | ||
17581 | PR target/47792 | |
17582 | * gthr-dce.h (__gthread_mutx_destroy): Fix typo in name. | |
17583 | ||
4bf7ff7e AS |
17584 | 2011-02-18 Anatoly Sokolov <aesok@post.ru> |
17585 | ||
17586 | * config/m32r/m32r.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, | |
17587 | RTX_OK_FOR_BASE_P, RTX_OK_FOR_OFFSET_P, LEGITIMATE_OFFSET_ADDRESS_P, | |
17588 | LEGITIMATE_LO_SUM_ADDRESS_P, LOAD_POSTINC_P, STORE_PREINC_PREDEC_P, | |
17589 | GO_IF_LEGITIMATE_ADDRESS): Remove macros. | |
17590 | * config/m32r/m32r.c (TARGET_LEGITIMATE_ADDRESS_P): Define. | |
17591 | (m32r_rtx_ok_for_base_p, m32r_rtx_ok_for_offset_p, | |
17592 | m32r_legitimate_offset_addres_p, m32r_legitimate_lo_sum_addres_p, | |
17593 | m32r_load_postinc_p, m32r_store_preinc_predec_p, | |
17594 | m32r_legitimate_address_p): New functions. | |
17595 | * config/m32r/constraints.md (constraint "S"): Don't use | |
17596 | STORE_PREINC_PREDEC_P. | |
17597 | (constraint "U"): Don't use LOAD_POSTINC_P. | |
17598 | ||
7efcf910 CLT |
17599 | 2011-02-18 Chung-Lin Tang <cltang@codesourcery.com> |
17600 | ||
17601 | PR rtl-optimization/46178 | |
17602 | * ira.c (setup_hard_regno_class): Use ira_class_translate[] to | |
17603 | compute ira_hard_regno_cover_class[]. | |
17604 | ||
237d6259 RG |
17605 | 2011-02-18 Richard Guenther <rguenther@suse.de> |
17606 | ||
17607 | PR lto/47798 | |
17608 | * lto-streamer.h (lto_global_var_decls): Declare. | |
17609 | * lto-streamer-in.c (lto_register_var_decl_in_symtab): Register | |
17610 | statics for global var processing. | |
17611 | ||
12d80acc RG |
17612 | 2011-02-18 Richard Guenther <rguenther@suse.de> |
17613 | ||
17614 | PR tree-optimization/47737 | |
17615 | * tree-ssa-loop-im.c (extract_true_false_args_from_phi): Fix | |
17616 | edge dominance check. | |
17617 | ||
abfea58d JJ |
17618 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
17619 | ||
17620 | PR debug/47780 | |
17621 | * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Call copy_rtx to | |
17622 | avoid invalid rtx sharing. | |
17623 | ||
f73c8882 GP |
17624 | 2011-02-18 Gerald Pfeifer <gerald@pfeifer.com> |
17625 | ||
17626 | * doc/cpp.texi (Obsolete Features): Add background on the | |
17627 | origin of assertions. | |
17628 | ||
d764a8e6 IS |
17629 | 2011-02-17 Iain Sandoe <iains@gcc.gnu.org> |
17630 | ||
17631 | * config/darwin-c.c (darwin_cpp_builtins): Define __OBJC2__ for | |
23e0d930 | 17632 | objc_abi == 2. |
d764a8e6 IS |
17633 | * config/darwin.c (output_objc_section_asm_op): Added support for |
17634 | ABI v1 and v2. | |
17635 | (is_objc_metadata): New. | |
17636 | (darwin_objc2_section): New. | |
17637 | (darwin_objc1_section): New. | |
17638 | (machopic_select_section): Added support for ABI v1 and v2. | |
17639 | (darwin_emit_objc_zeroed): New. | |
17640 | (darwin_output_aligned_bss): Detect objc metadata and treat it | |
17641 | appropriately. | |
17642 | (darwin_asm_output_aligned_decl_common): Same. | |
17643 | (darwin_asm_output_aligned_decl_local): Same. | |
17644 | * config/darwin-sections.def: Updated for ABI v1 and v2. | |
17645 | * config/darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): When | |
17646 | compiling Objective-C code for the NeXT runtime, default to using | |
17647 | ABI version 0 for 32-bit, and version 2 for 64-bit. | |
17648 | ||
0a8134ca JM |
17649 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
17650 | ||
17651 | * common.opt (optimize_fast): New Variable. | |
17652 | * opts.c (default_options_optimization): Use opts->x_optimize_fast | |
17653 | instead of local variable ofast. | |
17654 | ||
0a256240 NP |
17655 | 2011-02-17 Nicola Pero <nicola.pero@meta-innovation.com> |
17656 | ||
17657 | * doc/invoke.texi (fobjc-abi-version): Documented. | |
17658 | (fobjc-nilcheck): Documented. | |
17659 | (fno-nil-receiver): Updated documentation to refer to the NeXT ABI | |
17660 | version. | |
17661 | ||
fa381cb2 JM |
17662 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
17663 | ||
17664 | PR driver/47390 | |
17665 | * common.opt (export-dynamic): New Driver option. | |
17666 | * gcc.c (LINK_COMMAND_SPEC): Add comment about %{e*}. | |
17667 | ||
5437eaa6 JM |
17668 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
17669 | ||
17670 | * config/rx/rx.h (LIB_SPEC): Match -msim not -msim*. | |
17671 | ||
bb7e6d55 AO |
17672 | 2011-02-17 Alexandre Oliva <aoliva@redhat.com> |
17673 | Jan Hubicka <jh@suse.cz> | |
17674 | ||
17675 | PR debug/47106 | |
17676 | PR debug/47402 | |
17677 | * cfgexpand.c (account_used_vars_for_block): Remove. | |
17678 | (estimated_stack_frame_size): Use referenced vars. | |
17679 | * tree-inline.c (remap_decl): Only mark VAR_DECLs as referenced | |
17680 | that were referenced in the original function. Test src_fn | |
17681 | rather than cfun. Drop redundant get_var_ann. | |
17682 | (setup_one_parameter): Drop redundant get_var_ann. | |
17683 | (declare_return_variable): Likewise. | |
17684 | (copy_decl_for_dup_finish): Mark VAR_DECLs referenced in src_fn. | |
17685 | (copy_arguments_for_versioning): Drop redundant get_var_ann. | |
17686 | * ipa-inline.c (compute_inline_parameters): Do not compute | |
17687 | disregard_inline_limits here. | |
bb7e6d55 AO |
17688 | (compute_inlinable_for_current, pass_inlinable): New. |
17689 | (pass_inline_parameters): Require PROP_referenced_vars. | |
17690 | * cgraphunit.c (cgraph_process_new_functions): Don't run | |
23e0d930 | 17691 | compute_inline_parameters explicitly unless function is in SSA form. |
bb7e6d55 AO |
17692 | (cgraph_analyze_function): Set .disregard_inline_limits. |
17693 | * tree-sra.c (convert_callers): Compute inliner parameters | |
17694 | only for functions already in SSA form. | |
17695 | ||
f181a8a7 JM |
17696 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
17697 | ||
17698 | * config/sparc/sparc.h (CPP_ENDIAN_SPEC): Don't handle | |
17699 | -mlittle-endian-data. | |
17700 | ||
c6869789 JM |
17701 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
17702 | ||
17703 | * config/sparc/linux64.h (OPTION_DEFAULT_SPECS): Match -mfpu and | |
17704 | -mno-fpu, not -fpu and -no-fpu. | |
17705 | * config/sparc/sol2-bi.h (OPTION_DEFAULT_SPECS): Likewise. | |
17706 | * config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Likewise. | |
17707 | ||
fbf4bfd3 UB |
17708 | 2011-02-17 Uros Bizjak <ubizjak@gmail.com> |
17709 | ||
17710 | PR target/43653 | |
17711 | * config/i386/i386.c (ix86_secondary_reload): Handle SSE | |
17712 | input reload with PLUS RTX. | |
17713 | ||
70be5dc7 JM |
17714 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
17715 | ||
17716 | * config/mips/mips.opt (mno-mdmx): Use Var(TARGET_MDMX, 0) instead | |
17717 | of InverseVar(MDMX). | |
17718 | ||
30b1646e JM |
17719 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
17720 | ||
17721 | * config/sh/embed-elf.h (LIBGCC_SPEC): Match -m4-340 instead of | |
17722 | --m4-340. | |
17723 | ||
ab7b71e9 JM |
17724 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
17725 | ||
17726 | * config/mn10300/mn10300.opt (mno-crt0): New. | |
17727 | ||
466f3f08 JM |
17728 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
17729 | ||
17730 | * config/m68k/uclinux.opt (static-libc): New Driver option. | |
17731 | ||
8226cd7b JM |
17732 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
17733 | ||
17734 | * config/m32c/m32c.h (LIB_SPEC): Match -msim not -msim*. | |
17735 | ||
45cab1d7 JM |
17736 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
17737 | ||
17738 | * config/lm32/lm32.h (ASM_SPEC): Use %{muser-enabled} instead of | |
17739 | %{muser-extend-enabled}. | |
17740 | ||
65aab64f RG |
17741 | 2011-02-16 Richard Guenther <rguenther@suse.de> |
17742 | ||
17743 | PR tree-optimization/47738 | |
17744 | * tree-ssa-loop.c (run_tree_predictive_commoning): Return | |
17745 | the TODO from tree_predictive_commoning. | |
17746 | ||
fc2fa4fb JL |
17747 | 2011-02-15 Jeff Law <law@redhat.com> |
17748 | ||
17749 | Revert | |
17750 | 2011-01-25 Jeff Law <law@redhat.com> | |
17751 | ||
17752 | PR rtl-optimization/37273 | |
17753 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
17754 | handle them like argument loads from stack slots. Do not double | |
17755 | count memory for memory constants and argument loads from stack slots. | |
17756 | ||
4e380b8e L |
17757 | 2011-02-15 H.J. Lu <hongjiu.lu@intel.com> |
17758 | ||
17759 | PR middle-end/47725 | |
17760 | * combine.c (cant_combine_insn_p): Revert the last change. | |
17761 | ||
e3a69bb4 MM |
17762 | 2011-02-15 Michael Meissner <meissner@linux.vnet.ibm.com> |
17763 | ||
17764 | PR target/47755 | |
17765 | * config/rs6000/predicates.md (easy_vector_constant): Allow V2DI | |
17766 | mode for vector constants. Remove code that checks for TImode. | |
17767 | ||
de650422 AO |
17768 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
17769 | ||
17770 | PR debug/47106 | |
17771 | PR debug/47402 | |
17772 | * cgraph.h (compute_inline_parameters): Return void. | |
17773 | * ipa-inline.c (compute_inline_parameters): Adjust. | |
17774 | ||
30925d94 AO |
17775 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
17776 | ||
17777 | PR debug/47106 | |
17778 | PR debug/47402 | |
17779 | * tree-inline.h (estimated_stack_frame_size): Take cgraph node | |
17780 | rather than decl. | |
17781 | * cfgexpand.c (estimated_stack_frame_size): Likewise. | |
17782 | * ipa-inline.c (compute_inline_parameters): Adjust. | |
17783 | ||
1b9a784a AO |
17784 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
17785 | ||
17786 | PR debug/47106 | |
17787 | PR debug/47402 | |
17788 | * tree-flow.h (FOR_EACH_REFERENCED_VAR): Add FN argument. | |
17789 | Adjust all users. Pass FN to... | |
17790 | * tree-flow-inline.h (first_referenced_var): ... this. Add | |
17791 | fn argument. | |
17792 | * ipa-struct-reorg.c: Adjust. | |
17793 | * tree-dfa.c: Adjust. | |
17794 | * tree-into-ssa.c: Adjust. | |
17795 | * tree-sra.c: Adjust. | |
17796 | * tree-ssa-alias.c: Adjust. | |
17797 | * tree-ssa-live.c: Adjust. | |
17798 | * tree-ssa.c: Adjust. | |
17799 | * tree-ssanames.c: Adjust. | |
17800 | * tree-tailcall.c: Adjust. | |
17801 | ||
27c6b086 AO |
17802 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
17803 | ||
17804 | PR debug/47106 | |
17805 | PR debug/47402 | |
17806 | * tree-flow.h (referenced_var_lookup): Add fn parameter. | |
17807 | Adjust all callers. | |
17808 | * tree-dfa.c (referenced_var_lookup): Use fn instead of cfun. | |
17809 | * tree-flow-inline.h: Adjust. | |
17810 | * gimple-pretty-print.c: Adjust. | |
17811 | * tree-into-ssa.c: Adjust. | |
17812 | * tree-ssa.c: Adjust. | |
17813 | * cfgexpand.c: Adjust. | |
17814 | ||
679e8183 NF |
17815 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
17816 | ||
fbf4bfd3 UB |
17817 | * config/iq2000/i2000.h (REG_CLASS_FROM_LETTER): Delete. |
17818 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
17819 | (EXTRA_CONSTRAINT): Delete. | |
17820 | * config/iq2000/constraints.md: New file. | |
17821 | * config/iq2000/iq2000.md: Include it. | |
679e8183 NF |
17822 | (define_insn ""): Delete. |
17823 | (movsi_internal2, movhi_internal2, movqi_internal2): Delete | |
17824 | unsupported constraint letters from patterns. | |
17825 | (call_value, call_value_internal1): Likewise. | |
17826 | (call_value_multiple_internal1): Likewise. | |
17827 | ||
a45d420a NC |
17828 | 2011-02-15 Nick Clifton <nickc@redhat.com> |
17829 | ||
17830 | * config/mn10300/mn10300.c: Include tm-constrs.h. | |
17831 | (struct liw_data): New data structure describing an LIW candidate | |
17832 | instruction. | |
17833 | (extract_bundle): Use struct liw_data. Allow small integer | |
17834 | operands for some instructions. | |
17835 | (check_liw_constraints): Use struct liw_data. Remove swapped | |
17836 | parameter. Add comments describing the checks. Fix bug when | |
17837 | assigning the source of liw1 to the source of liw2. | |
17838 | (liw_candidate): Delete. Code moved into extract_bundle. | |
17839 | (mn10300_bundle_liw): Use struct liw_data. Check constraints | |
17840 | before swapping. | |
17841 | * config/mn10300/predicates.md (liw_operand): New predicate. | |
17842 | Allows registers and small integer constants. | |
17843 | * config/mn10300/constraints.md (O): New constraint. Accetps | |
17844 | integers in the range -8 to +7 inclusive. | |
17845 | * config/mn10300/mn10300.md (movesi_internal): Add an alternative | |
17846 | for moving a small integer into a register. Give this alternative | |
17847 | LIW attributes. | |
17848 | (addsi3, subsi3, cmpsi, lshrsi3, ashrsi3): Likewise. | |
17849 | (ashlsi3): Likewise, plus give LIW attributes to the alternatives | |
17850 | using the J,K,L and M constraints, | |
17851 | (liw): Remove SI mode on second operands to allow for HI and QI | |
17852 | mode values. | |
17853 | (cmp_liw, liw_cmp): Likewise. Plus fix order of operands in the | |
17854 | instruction. | |
17855 | ||
8a73faf1 L |
17856 | 2011-02-15 H.J. Lu <hongjiu.lu@intel.com> |
17857 | ||
17858 | PR middle-end/47725 | |
17859 | * combine.c (cant_combine_insn_p): Check zero/sign extended | |
17860 | hard registers. | |
17861 | ||
48feba28 RG |
17862 | 2011-02-15 Richard Guenther <rguenther@suse.de> |
17863 | ||
17864 | PR tree-optimization/47743 | |
17865 | * tree-ssa-pre.c (phi_translate_1): If we didn't get a value-number | |
17866 | for a non-type-compatible VN lookup bail out. | |
17867 | ||
ad1c1eeb NF |
17868 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
17869 | ||
17870 | * config/fr30/constraints.md: New file. | |
17871 | * config/fr30/fr30.md: Include it. | |
17872 | * config/fr30/fr30.h (REG_CLASS_FROM_LETTER): Delete. | |
17873 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
17874 | (EXTRA_CONSTRAINT): Delete. | |
17875 | ||
49ac143d NF |
17876 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
17877 | ||
17878 | * config/frv/constraints.md: New file. | |
17879 | * config/frv/predicates.md: Include it. | |
17880 | * config/frv/frv.c (reg_class_from_letter): Delete. | |
17881 | (frv_option_override): Don't initialize it. | |
17882 | * config/frv/frv.h (REG_CLASS_FROM_LETTER): Delete. | |
17883 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_K): Delete. | |
17884 | (CONST_OK_FOR_L, CONST_OK_FOR_M, CONST_OK_FOR_N): Delete. | |
17885 | (CONST_OK_FOR_O, CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete. | |
17886 | (CONST_DOUBLE_OK_FOR_G, CONST_DOUBLE_OK_FOR_H): Delete. | |
17887 | (CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
17888 | (EXTRA_CONSTRAINT_FOR_Q, EXTRA_CONSTRAINT_FOR_R): Delete. | |
17889 | (EXTRA_CONSTRAINT_FOR_S, EXTRA_CONSTRAINT_FOR_T): Delete. | |
17890 | (EXTRA_CONSTRAINT_FOR_U, EXTRA_CONSTRAINT): Delete. | |
17891 | (EXTRA_MEMORY_CONSTRAINT, CONSTRAINT_LEN): Delete. | |
17892 | (REG_CLASS_FROM_CONSTRAINT): Delete. | |
17893 | ||
c95f9494 JJ |
17894 | 2011-02-15 Jakub Jelinek <jakub@redhat.com> |
17895 | ||
17896 | PR middle-end/47581 | |
17897 | * config/i386/i386.c (ix86_compute_frame_size): Don't align offset | |
17898 | if frame size is 0 in a leaf function. | |
17899 | ||
13aed611 RO |
17900 | 2011-02-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17901 | ||
17902 | PR pch/14940 | |
17903 | * config/alpha/host-osf.c: New file. | |
17904 | * config/alpha/x-osf: New file. | |
17905 | * config.host (alpha*-dec-osf*): Use it. | |
17906 | ||
b09c3081 AS |
17907 | 2011-02-14 Anatoly Sokolov <aesok@post.ru> |
17908 | ||
17909 | * config/rx/rx.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
17910 | * config/rx/rx-protos.h (rx_is_mode_dependent_addr): Remove. | |
17911 | * config/xtensa/xtensa.c (rx_is_mode_dependent_addr): Rename to... | |
17912 | (rx_mode_dependent_address_p): ...this. Make static. Change argument | |
17913 | type to const_rtx. | |
17914 | (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
17915 | ||
d634083b NF |
17916 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
17917 | ||
17918 | * config/stormy16/constraints.md: New file. | |
17919 | * config/stormy16/predicates.md (nonimmediate_nonstack_operand): | |
17920 | Use satisfies_constraint_Q and satisfies_constraint_R. | |
17921 | * config/stormy16/stomry16-protos.h (xstormy16_extra_constraint_p): | |
17922 | Delete. | |
17923 | (xstormy16_legitiamte_address_p): Declare. | |
17924 | * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Delete. | |
17925 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
17926 | (EXTRA_CONSTRAINT): Delete. | |
fbf4bfd3 | 17927 | * config/stormy16/stormy16.c (xstormy16_legitimate_address_p): |
d634083b NF |
17928 | Un-staticize. |
17929 | (xstormy16_extra_constraint_p): Delete. | |
17930 | ||
c7dd803e EB |
17931 | 2011-02-14 Eric Botcazou <ebotcazou@adacore.com> |
17932 | ||
17933 | PR tree-optimization/46494 | |
17934 | * loop-unroll.c (split_edge_and_insert): Adjust comment. | |
17935 | * loop-init.c (loop_optimizer_finalize): Do not call verify_flow_info. | |
17936 | (pass_rtl_loop_done): Add TODO_verify_flow. | |
17937 | * fwprop.c (pass_rtl_fwprop): Likewise. | |
17938 | * modulo-sched.c (pass_sms): Likewise. | |
17939 | * tree-ssa-dom.c (pass_dominator): Likewise. | |
17940 | * tree-ssa-loop-ch.c (pass_ch): Likewise. | |
17941 | * tree-ssa-loop.c (pass_complete_unrolli): Likewise. | |
17942 | (pass_tree_loop_done): Likewise. | |
17943 | * tree-ssa-pre.c (execute_pre): Likewise. | |
17944 | * tree-ssa-reassoc.c (pass_reassoc): Likewise. | |
17945 | * tree-ssa-sink.c (pass_sink_code): Likewise. | |
17946 | * tree-vrp.c (pass_vrp): Likewise. | |
17947 | ||
c6150df6 NF |
17948 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
17949 | ||
c7dd803e EB |
17950 | * config/v850/constraints.md: New file. |
17951 | * config/v850/v850.md: Include it. | |
17952 | * config/v850/predicates.md (reg_or_0_operand): Use | |
17953 | satisfies_constraint_G. | |
17954 | (special_symbolref_operand): Use satisfies_constraint_K. | |
17955 | * config/v850/v850.h (CONSTANT_ADDRESS_P): Use constraint_satisfied_p. | |
17956 | (GO_IF_LEGITIMATE_ADDRESS): Likewise. | |
17957 | (REG_CLASS_FROM_LETTER, INT_7_BITS, INT_8_BITS): Delete. | |
17958 | (CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete. | |
17959 | (EXTRA_CONSTRAINT): Delete. | |
17960 | (CONST_OK_FOR_I, CONST_OK_FOR_J): Use insn_const_int_ok_for_constraint. | |
17961 | (CONST_OK_FOR_K, CONST_OK_FOR_L, CONST_OK_FOR_M): Likewise. | |
17962 | (CONST_OK_FOR_N, CONST_OK_FOR_O): Likewise. | |
c6150df6 | 17963 | |
30dd1ea3 AS |
17964 | 2011-02-14 Anatoly Sokolov <aesok@post.ru> |
17965 | ||
17966 | PR target/47696 | |
17967 | * config/avr/avr-devices.c (avr_mcu_types): Fix ATmega2560 device | |
17968 | description. | |
17969 | ||
944f4bb3 NF |
17970 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
17971 | ||
17972 | * config/mcore/constraints.md: New file. | |
17973 | * config/mcore/mcore.md: Include it. | |
17974 | * config/mcore/mcore.c (reg_class_from_letter): Delete. | |
17975 | * config/mcore/mcore.h (reg_class_from_letter): Delete. | |
17976 | (REG_CLASS_FROM_LETTER): Delete. | |
17977 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Use | |
17978 | insn_const_int_ok_for_constraint. | |
17979 | (CONST_OK_FOR_K, CONST_OK_FOR_M, CONST_OK_FOR_N): Likewise. | |
17980 | (CONST_OK_FOR_O, CONST_OK_FOR_P): Likewise. | |
17981 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
17982 | (EXTRA_CONSTRAINT): Delete. | |
17983 | ||
ad56a54c RO |
17984 | 2011-02-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17985 | ||
17986 | PR ada/41929 | |
17987 | * config/sparc/sol2-unwind.h: Include <sys/frame.h>, <sys/stack.h> | |
17988 | (IS_SIGHANDLER): Define. | |
17989 | (sparc64_is_sighandler): New function, split off from | |
17990 | sparc64_fallback_frame_state. | |
17991 | (sparc_is_sighandler): New function, split off from | |
17992 | sparc_fallback_frame_state. | |
17993 | (sparc64_fallback_frame_state): Merge with ... | |
17994 | (sparc_fallback_frame_state): ... this into ... | |
17995 | (MD_FALLBACK_FRAME_STATE_FOR): ... this. | |
fbf4bfd3 UB |
17996 | Change new_cfa to long. Remove regs_off, fpu_save_off, fpu_save. |
17997 | Define nframes, mctx. Use IS_SIGHANDLER, handler_args, mctx, walk | |
17998 | stack instead of hardcoded offsets. | |
ad56a54c | 17999 | |
fbf4bfd3 | 18000 | 2011-02-14 Andriy Gapon <avg@freebsd.org> |
67932abf AG |
18001 | |
18002 | PR target/45808 | |
18003 | * config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case. | |
18004 | ||
029c8f3e RW |
18005 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18006 | ||
18007 | * configure: Regenerate. | |
18008 | ||
a016dc83 JM |
18009 | 2011-02-12 Joseph Myers <joseph@codesourcery.com> |
18010 | ||
18011 | PR driver/45731 | |
18012 | * gcc.c (asm_options): Correct spec matching --target-help. | |
18013 | ||
8957a0ec MJ |
18014 | 2011-02-12 Martin Jambor <mjambor@suse.cz> |
18015 | ||
18016 | * tree-cfg.c (verify_gimple_call): Return true upon invalid argument | |
18017 | to gimple call error. | |
18018 | ||
6ef828bc MS |
18019 | 2011-02-12 Mike Stump <mikestump@comcast.net> |
18020 | ||
18021 | * config/frv/frv.h (TRANSFER_FROM_TRAMPOLINE): Canonicalize | |
18022 | comments in backslash regions. | |
18023 | ||
a4015be5 MS |
18024 | 2011-02-12 Mike Stump <mikestump@comcast.net> |
18025 | Jakub Jelinek <jakub@redhat.com> | |
18026 | Iain Sandoe <iains@gcc.gnu.org> | |
18027 | ||
18028 | PR target/47324 | |
18029 | * dwarf2out.c (output_cfa_loc): When required, apply the | |
18030 | DWARF2_FRAME_REG_OUT macro to adjust register numbers. | |
18031 | (output_loc_sequence): Likewise. | |
18032 | (output_loc_operands_raw): Likewise. | |
18033 | (output_loc_sequence_raw): Likewise. | |
18034 | (output_cfa_loc): Likewise. | |
18035 | (output_loc_list): Suppress register number adjustment when | |
18036 | calling output_loc_sequence() | |
18037 | (output_die): Likewise. | |
18038 | ||
5378dda2 AS |
18039 | 2011-02-12 Anatoly Sokolov <aesok@post.ru> |
18040 | ||
18041 | * config/xtensa/xtensa.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): | |
18042 | Remove macros. | |
18043 | * config/xtensa/xtensa.c (xtensa_register_move_cost, | |
18044 | xtensa_memory_move_cost): New functions. | |
18045 | (TARGET_REGISTER_MOVE_COST, TARGET_REGISTER_MOVE_COST): Define. | |
18046 | ||
f3d533d3 AO |
18047 | 2011-02-12 Alexandre Oliva <aoliva@redhat.com> |
18048 | ||
18049 | PR lto/47225 | |
18050 | * configure.ac (gcc_cv_lto_plugin): Test for liblto_plugin.la | |
18051 | in the current directory. | |
18052 | * configure: Rebuilt. | |
18053 | ||
9d53403c IS |
18054 | 2011-02-12 Iain Sandoe <iains@gcc.gnu.org> |
18055 | ||
18056 | * config/darwin.c (darwin_override_options): Add a hunk missed | |
fbf4bfd3 | 18057 | from the commit of r168571. Trim comment line lengths and |
9d53403c IS |
18058 | correct indents of the preceding block. |
18059 | ||
a350a6c8 IS |
18060 | 2011-02-12 Iain Sandoe <iains@gcc.gnu.org> |
18061 | ||
18062 | * gcc.c (driver_handle_option): Concatenate the argument to -F with | |
18063 | the switch. | |
18064 | ||
bab79a40 JM |
18065 | 2011-02-11 Joseph Myers <joseph@codesourcery.com> |
18066 | ||
18067 | * common.opt (nostartfiles): New Driver option. | |
18068 | ||
1bbc6693 XDL |
18069 | 2011-02-11 Xinliang David Li <davidxl@google.com> |
18070 | ||
18071 | PR tree-optimization/47707 | |
18072 | * tree-chrec.c (convert_affine_scev): Keep type precision. | |
18073 | ||
1da7d8c0 EB |
18074 | 2011-02-11 Eric Botcazou <ebotcazou@adacore.com> |
18075 | ||
18076 | PR tree-optimization/47420 | |
18077 | * ipa-split.c (visit_bb): Punt on any kind of GIMPLE_RESX. | |
18078 | ||
18079 | 2011-02-11 Pat Haugen <pthaugen@us.ibm.com> | |
3f82421f PH |
18080 | |
18081 | PR rtl-optimization/47614 | |
18082 | * rtl.h (check_for_inc_dec): Declare. | |
18083 | * dse.c (check_for_inc_dec): Externalize... | |
18084 | * postreload.c (reload_cse_simplify): ...use it before deleting stmt. | |
18085 | (reload_cse_simplify_operands): Don't simplify opnds with side effects. | |
18086 | ||
4df47bca JM |
18087 | 2011-02-11 Joseph Myers <joseph@codesourcery.com> |
18088 | ||
18089 | PR driver/47678 | |
18090 | * gcc.c (main): Do not compile inputs if there were errors in | |
18091 | option handling. | |
18092 | * opts-common.c (read_cmdline_option): Check for wrong language | |
18093 | after other error checks. | |
18094 | ||
61502ca8 NF |
18095 | 2011-02-11 Nathan Froyd <froydnj@codesourcery.com> |
18096 | ||
18097 | * cgraph.c: Fix comment typos. | |
18098 | * cgraph.h: Likewise. | |
18099 | * cgraphunit.c: Likewise. | |
18100 | * ipa-cp.c: Likewise. | |
18101 | * ipa-inline.c: Likewise. | |
18102 | * ipa-prop.c: Likewise. | |
18103 | * ipa-pure-const.c: Likewise. | |
18104 | * ipa-ref.c: Likewise. | |
18105 | * ipa-reference.c: Likewise. | |
18106 | ||
b63f974e JJ |
18107 | 2011-02-11 Jakub Jelinek <jakub@redhat.com> |
18108 | ||
d50c5e0c JJ |
18109 | PR debug/47684 |
18110 | * tree-predcom.c (single_nonlooparound_use): Ignore debug uses. | |
b63f974e | 18111 | |
6dd2a13c RO |
18112 | 2011-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18113 | ||
18114 | PR testsuite/47400 | |
18115 | * doc/sourcebuild.texi (Require Support): Document | |
18116 | dg-require-ascii-locale. | |
18117 | ||
4a087ccf MX |
18118 | 2011-02-11 Mingjie Xing <mingjie.xing@gmail.com> |
18119 | ||
18120 | * doc/lto.texi (Write summary): Fix missing parentheses. | |
18121 | ||
a4403164 DD |
18122 | 2011-02-10 DJ Delorie <dj@redhat.com> |
18123 | ||
18124 | * config/m32c/m32c.c (m32c_option_override): Disable | |
18125 | -fcombine-stack-adjustments until flag value tracking and compare | |
18126 | optimization can be rewritten. | |
18127 | ||
4fac45bd PB |
18128 | 2011-02-10 Peter Bergner <bergner@vnet.ibm.com> |
18129 | ||
18130 | * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Change to | |
18131 | PROCESSOR_POWER7. | |
18132 | (PROCESSOR_DEFAULT64): Likewise. | |
18133 | ||
72602cd1 RH |
18134 | 2011-02-10 Richard Henderson <rth@redhat.com> |
18135 | ||
18136 | * config/rx/predicates.md (rx_zs_comparison_operator): Revert | |
18137 | change from 2011-02-03. | |
18138 | * config/rx/rx.c (flags_from_code): Likewise. | |
18139 | (rx_print_operand) ['B']: For LT/GE, use lt/ge if overflow flag | |
18140 | is valid, n/pz otherwise. | |
18141 | (rx_select_cc_mode): Return CCmode if Y is not zero. | |
18142 | ||
ea57f573 RG |
18143 | 2011-02-10 Richard Guenther <rguenther@suse.de> |
18144 | ||
ea4c3e65 | 18145 | * tree-ssa-structalias.c (bitpos_of_field): Use BITS_PER_UNIT, not 8. |
ea57f573 | 18146 | |
92b1d23b RG |
18147 | 2011-02-10 Richard Guenther <rguenther@suse.de> |
18148 | ||
18149 | PR tree-optimization/47677 | |
18150 | * tree-vrp.c (vrp_bitmap_equal_p): Fix comparison of empty bitmaps. | |
18151 | ||
525a2d06 JJ |
18152 | 2011-02-10 Jakub Jelinek <jakub@redhat.com> |
18153 | ||
18154 | PR target/47665 | |
18155 | * combine.c (make_compound_operation): Only change shifts into | |
18156 | multiplication for SCALAR_INT_MODE_P. | |
18157 | ||
06c969bd JZ |
18158 | 2011-02-10 Jie Zhang <jie@codesourcery.com> |
18159 | ||
18160 | PR testsuite/47622 | |
18161 | Revert | |
18162 | 2011-02-05 Jie Zhang <jie@codesourcery.com> | |
18163 | PR debug/42631 | |
18164 | * web.c (entry_register): Don't clobber the number of the | |
18165 | first uninitialized reference in used[]. | |
18166 | ||
282ec48e RG |
18167 | 2011-02-09 Richard Guenther <rguenther@suse.de> |
18168 | ||
18169 | PR tree-optimization/47664 | |
18170 | * ipa-inline.c (cgraph_decide_inlining_incrementally): Visit | |
18171 | all edges again. | |
18172 | ||
df98c3e8 DE |
18173 | 2011-02-09 David Edelsohn <dje.gcc@gmail.com> |
18174 | ||
d0f21cd6 DE |
18175 | PR target/46481 |
18176 | PR target/47032 | |
df98c3e8 DE |
18177 | * config/rs6000/aix61.h (PROCESSOR_DEFAULT): Change to |
18178 | PROCESSOR_POWER7. | |
18179 | (PROCESSOR_DEFAULT64): Same. | |
18180 | (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Delete. | |
18181 | ||
67b6839f RO |
18182 | 2011-02-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18183 | ||
18184 | * config/mips/iris6.h (TARGET_C99_FUNCTIONS): Define. | |
18185 | ||
4fd73214 MJ |
18186 | 2011-02-09 Martin Jambor <mjambor@suse.cz> |
18187 | ||
18188 | PR middle-end/45505 | |
18189 | * tree-sra.c (struct access): New flags grp_scalar_read and | |
18190 | grp_scalar_write. Changed description of assignment read and write | |
18191 | flags. | |
18192 | (dump_access): Dump new flags, reorder all of them. | |
18193 | (sort_and_splice_var_accesses): Set the new flag accordingly, use them | |
18194 | to detect multiple scalar reads. | |
18195 | (analyze_access_subtree): Use the new scalar read write flags instead | |
18196 | of the old flags. Adjusted comments. | |
18197 | ||
91140cd3 DD |
18198 | 2011-02-08 DJ Delorie <dj@redhat.com> |
18199 | ||
18200 | PR target/47548 | |
18201 | * config/m32c/m32c.c (m32c_subreg): Don't try to validate interim | |
18202 | patterns. | |
18203 | ||
4254bbfe JM |
18204 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
18205 | ||
18206 | * config/m68k/uclinux.opt: New. | |
18207 | * config.gcc (m68k-*-uclinux*): Use m68k/uclinux.opt. | |
18208 | ||
f1fda84e JM |
18209 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
18210 | ||
18211 | * config/cris/elf.opt (sim): New Driver option. | |
18212 | ||
4933ae74 JM |
18213 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
18214 | ||
18215 | * config/xtensa/elf.opt: New. | |
18216 | * config.gcc (xtensa*-*-elf*): Use xtensa/elf.opt. | |
18217 | ||
4ad70280 JM |
18218 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
18219 | ||
18220 | * config/vax/elf.opt: New. | |
18221 | * config.gcc (vax-*-linux*, vax-*-netbsdelf*): Use vax/elf.opt. | |
18222 | ||
20893707 JM |
18223 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
18224 | ||
18225 | * config/rs6000/aix64.opt (posix, pthread): New Driver options. | |
18226 | ||
b8e7038e JM |
18227 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
18228 | ||
18229 | * config/gnu-user.opt: New. | |
18230 | * config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | | |
18231 | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu, | |
18232 | *-*-uclinux*): Use gnu-user.opt. | |
18233 | ||
e1c5225a TS |
18234 | 2011-02-08 Thomas Schwinge <thomas@schwinge.name> |
18235 | ||
18236 | * config/gnu.h (CPP_SPEC, LIB_SPEC): Remove handling of -bsd option. | |
18237 | * config/i386/gnu.h (CPP_SPEC): Likewise. | |
18238 | ||
5e46b0c6 ILT |
18239 | 2011-02-08 Ian Lance Taylor <iant@google.com> |
18240 | ||
18241 | * common.opt (fcx-limited-range): Add SetByCombined flag. | |
18242 | (ffinite-math-only, fmath-errno, frounding-math): Likewise. | |
18243 | (fsignaling-nans, fsigned-zeros, ftrapping-math): Likewise. | |
18244 | (fassociative-math, freciprocal-math): Likewise. | |
18245 | (funsafe-math-optimizations): Likewise. | |
18246 | * opth-gen.awk: Handle SetByCombined. | |
18247 | * optc-gen.awk: Likewise. | |
ea4c3e65 | 18248 | * opts.c (set_fast_math_flags): Don't override flag if set by frontend. |
5e46b0c6 ILT |
18249 | (set_unsafe_math_optimizations_flags): Likewise. |
18250 | * doc/options.texi (Option properties): Document SetByCombined. | |
18251 | ||
32243d46 JM |
18252 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
18253 | ||
18254 | * config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*, | |
18255 | i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe, | |
18256 | m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*, | |
18257 | m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*, | |
18258 | sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete. | |
18259 | ||
479c1fb3 SP |
18260 | 2011-02-08 Sebastian Pop <sebastian.pop@amd.com> |
18261 | ||
18262 | PR tree-optimization/46834 | |
18263 | PR tree-optimization/46994 | |
18264 | PR tree-optimization/46995 | |
18265 | * graphite-sese-to-poly.c (used_outside_reduction): New. | |
18266 | (detect_commutative_reduction): Call used_outside_reduction. | |
18267 | (rewrite_commutative_reductions_out_of_ssa_close_phi): Call | |
18268 | translate_scalar_reduction_to_array only when at least one | |
18269 | loop-phi/close-phi tuple has been detected. | |
18270 | ||
3865a06f RG |
18271 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
18272 | ||
18273 | PR middle-end/47639 | |
18274 | * tree-vect-generic.c (expand_vector_operations_1): Update | |
18275 | stmts here ... | |
18276 | (expand_vector_operations): ... not here. Cleanup EH info | |
18277 | and the CFG if required. | |
18278 | ||
62902f3f RG |
18279 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
18280 | ||
18281 | PR tree-optimization/47641 | |
18282 | * tree-ssa.c (execute_update_addresses_taken): For asm outputs | |
18283 | require type compatibility. | |
18284 | ||
0efb9d64 AK |
18285 | 2011-02-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
18286 | ||
18287 | * gimple-low.c (lower_function_body): Don't remove the location of | |
18288 | the return statement here. | |
18289 | (lower_gimple_return): Do it here instead but only if the return | |
18290 | statement is actually used twice. | |
18291 | ||
034b8ae4 RG |
18292 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
18293 | ||
18294 | PR tree-optimization/47632 | |
18295 | * tree-ssa-forwprop.c (remove_prop_source_from_use): Remove | |
18296 | unused up_to_stmt parameter, return whether cfg-cleanup is | |
18297 | necessary, remove EH info properly. | |
18298 | (forward_propagate_into_gimple_cond): Adjust caller. | |
18299 | (forward_propagate_into_cond): Likewise. | |
18300 | (forward_propagate_comparison): Likewise. | |
18301 | (tree_ssa_forward_propagate_single_use_vars): Make | |
18302 | forward_propagate_comparison case similar to the two others. | |
18303 | ||
298362c8 NC |
18304 | 2011-02-08 Nick Clifton <nickc@redhat.com> |
18305 | ||
18306 | * config/mn10300/mn10300.opt (mliw): New command line option. | |
18307 | * config/mn10300/mn10300.md (UNSPEC_LIW): New unspec. | |
18308 | (liw_bundling): New automaton. | |
18309 | (liw): New attribute. | |
18310 | (liw_op): New attribute. | |
18311 | (liw_op1, liw_op2, liw_both, liw_either): New reservations. | |
18312 | (movsi_internal): Add LIW attributes. | |
18313 | (andsi3): Likewise. | |
18314 | (iorsi3): Likewise. | |
18315 | (xorsi3): Likewise. | |
18316 | (addsi3): Separate register and immediate alternatives. | |
18317 | Add LIW attributes. | |
18318 | (subsi3): Likewise. | |
18319 | (cmpsi): Likewise. | |
18320 | (aslsi3): Likewise. | |
18321 | (lshrsi3): Likewise. | |
18322 | (ashrsi3): Likewise. | |
18323 | (liw): New pattern. | |
18324 | * config/mn10300/mn10300.c (liw_op_names): New | |
18325 | (mn10300_print_operand): Handle 'W' operand descriptor. | |
18326 | (extract_bundle): New function. | |
18327 | (check_liw_constraints): New function. | |
18328 | (liw_candidate): New function. | |
18329 | (mn10300_bundle_liw): New function. | |
18330 | (mn10300_reorg): New function. | |
18331 | (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
18332 | (TARGET_DEFAULT_TARGET_FLAGS): Add MASK_ALLOW_LIW. | |
18333 | * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Define | |
18334 | __LIW__ or __NO_LIW__. | |
18335 | * doc/invoke.texi: Describe the -mliw command line option. | |
18336 | ||
90488014 JDA |
18337 | 2011-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
18338 | ||
18339 | * config.gcc (hppa[12]*-*-hpux11*): Don't set extra_parts. | |
18340 | * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, | |
18341 | pthread_mutex_unlock): Remove. | |
18342 | * config/pa/t-pa-hpux11: Remove rules to build pthread stubs. | |
18343 | * config/pa/t-pa64: Likewise. | |
18344 | * config/pa/pa64-hpux.h (LIB_SPEC): In static links, link against | |
18345 | shared libc if not linking against libpthread. | |
18346 | * config/pa/pa-hpux11.h (LIB_SPEC): Likewise. | |
18347 | ||
689ff841 IS |
18348 | 2011-02-07 Iain Sandoe <iains@gcc.gnu.org> |
18349 | ||
18350 | PR target/47558 | |
18351 | * config/darwin10.h (LINK_GCC_C_SEQUENCE_SPEC): Put -lSystem first | |
18352 | on 10.6 and later to ensure that we always use the unwinder from | |
18353 | the system. Only add -no_compact_unwind when tarteting darwin | |
18354 | 10.6 or later. | |
18355 | ||
821014aa SE |
18356 | 2011-02-07 Steve Ellcey <sje@cup.hp.com> |
18357 | ||
18358 | PR target/46997 | |
18359 | * vect.md (vec_interleave_highv2sf): Change fmix for TARGET_BIG_ENDIAN. | |
18360 | (vec_interleave_lowv2sf): Ditto. | |
18361 | (vec_extract_evenv2sf): Add TARGET_BIG_ENDIAN check. | |
18362 | (vec_extract_oddv2sf): Ditto. | |
18363 | ||
41cf94fb MS |
18364 | 2011-02-07 Mike Stump <mikestump@comcast.net> |
18365 | ||
62dea57d | 18366 | PR target/42333 |
41cf94fb MS |
18367 | Add __ieee_divdc3 entry point. |
18368 | * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Retain ___divdc3 | |
18369 | entry point. | |
18370 | (SUBTARGET_INIT_BUILTINS): Call darwin_rename_builtins. | |
18371 | * config/i386/i386.c (TARGET_INIT_LIBFUNCS): Likewise. | |
18372 | * config/darwin.c (darwin_rename_builtins): Add. | |
18373 | * config/darwin-protos.h (darwin_rename_builtins): Add. | |
18374 | ||
ee09a3dd MM |
18375 | 2011-02-07 Michael Meissner <meissner@linux.vnet.ibm.com> |
18376 | ||
18377 | PR target/47636 | |
18378 | * config/rs6000/rs6000.md (rsqrt<mode>2): Use the correct macro | |
18379 | for the condition. | |
18380 | ||
83296cd0 MS |
18381 | 2011-02-07 Mike Stump <mikestump@comcast.net> |
18382 | ||
ea4c3e65 | 18383 | * config/darwin.opt (mmacosx-version-min): Update default OS version. |
83296cd0 | 18384 | |
0f4e946f DC |
18385 | 2011-02-07 Denis Chertykov <chertykov@gmail.com> |
18386 | ||
18387 | PR target/47534 | |
18388 | * config/avr/libgcc.S (exit): Move .endfunc | |
18389 | ||
1ec87690 RG |
18390 | 2011-02-07 Richard Guenther <rguenther@suse.de> |
18391 | ||
18392 | PR tree-optimization/47615 | |
18393 | * tree-ssa-sccvn.h (run_scc_vn): Take a vn-walk mode argument. | |
18394 | * tree-ssa-sccvn.c (default_vn_walk_kind): New global. | |
18395 | (run_scc_vn): Initialize it. | |
18396 | (visit_reference_op_load): Use it. | |
18397 | * tree-ssa-pre.c (execute_pre): Use VN_WALK if in PRE. | |
18398 | ||
b46ae6da UW |
18399 | 2011-02-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
18400 | ||
18401 | * config/spu/spu.c (spu_init_libfuncs): Install SImode and | |
18402 | DImode trapping arithmetic libfuncs. | |
18403 | ||
c0aae19c RG |
18404 | 2011-02-07 Richard Guenther <rguenther@suse.de> |
18405 | ||
18406 | PR tree-optimization/47621 | |
18407 | * tree-ssa.c (non_rewritable_lvalue_p): New function, split out from | |
18408 | two duplicates ... | |
18409 | (execute_update_addresses_taken): ... here. Make it more | |
18410 | conservative in what we accept. | |
18411 | ||
295d926b JM |
18412 | 2011-02-06 Joseph Myers <joseph@codesourcery.com> |
18413 | ||
18414 | * config/sparc/freebsd.h (ASM_SPEC): Define. | |
18415 | * config/sparc/vxworks.h (ASM_SPEC): Define. | |
18416 | ||
bdeb2471 JM |
18417 | 2011-02-06 Joseph Myers <joseph@codesourcery.com> |
18418 | ||
18419 | * config/sparc/sol2-bi.h (CC1_SPEC): Remove %{sun4:} %{target:}. | |
18420 | ||
d5d3781a SB |
18421 | 2011-02-06 Steven Bosscher <steven@gcc.gnu.org> |
18422 | ||
18423 | * doc/invoke.texi: Remove reference to compiler internals from | |
18424 | user documentation. | |
18425 | ||
18426 | * reg-notes.def: Remove REG_VALUE_PROFILE. | |
18427 | * combine.c (distribute_notes): Do not handle REG_VALUE_PROFILE. | |
18428 | ||
c42c09fc JJ |
18429 | 2011-02-05 Jakub Jelinek <jakub@redhat.com> |
18430 | ||
18431 | PR middle-end/47610 | |
18432 | * varasm.c (default_section_type_flags): If decl is NULL, | |
38be4072 | 18433 | and name is .data.rel.ro or .data.rel.ro.local, set SECTION_RELRO bit. |
c42c09fc | 18434 | |
beea2755 JZ |
18435 | 2011-02-05 Jie Zhang <jie@codesourcery.com> |
18436 | ||
18437 | PR debug/42631 | |
18438 | * web.c (entry_register): Don't clobber the number of the | |
18439 | first uninitialized reference in used[]. | |
18440 | ||
a130584a SP |
18441 | 2011-02-04 Sebastian Pop <sebastian.pop@amd.com> |
18442 | ||
18443 | PR tree-optimization/46194 | |
18444 | * tree-data-ref.c (analyze_miv_subscript): Remove comment. | |
18445 | (build_classic_dist_vector_1): Do not represent classic distance | |
18446 | vectors when the access functions are variating in different loops. | |
18447 | ||
962101ac JM |
18448 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
18449 | ||
18450 | * config/mips/iris6.opt: New. | |
18451 | * config.gcc (mips-sgi-irix6.5*): Use mips/iris6.opt. | |
18452 | ||
55eaaa5b RH |
18453 | 2011-02-04 Richard Henderson <rth@redhat.com> |
18454 | Steve Ellcey <sje@cup.hp.com> | |
18455 | ||
18456 | PR target/46997 | |
18457 | * config/ia64/predicates.md (mux1_brcst_element): New. | |
18458 | * config/ia64/ia64-protos.h (ia64_unpack_assemble): New. | |
18459 | * config/ia64/ia64.c (ia64_unpack_assemble): New. | |
18460 | (ia64_unpack_sign): New. | |
18461 | (ia64_expand_unpack): Rewrite using new routines. | |
18462 | (ia64_expand_widen_sum): Ditto. | |
18463 | (ia64_expand_dot_prod_v8qi): Ditto. | |
18464 | * config/ia64/vect.md (mulv8qi3): Rewrite to use new | |
18465 | routines, add endian check. | |
18466 | (pmpy2_even): Rename from pmpy2_r, add endian check. | |
18467 | (pmpy2_odd): Rename from pmpy2_l, add endian check. | |
18468 | (vec_widen_smult_lo_v4hi): Rewrite using new routines. | |
18469 | (vec_widen_smult_hi_v4hi): Ditto. | |
18470 | (vec_widen_umult_lo_v4hi): Ditto. | |
18471 | (vec_widen_umult_hi_v4hi): Ditto. | |
18472 | (mulv2si3): Change endian checks. | |
18473 | (sdot_prodv4hi): Rewrite with new calls. | |
18474 | (udot_prodv4hi): New. | |
18475 | (vec_pack_ssat_v4hi): Add endian check. | |
18476 | (vec_pack_usat_v4hi): Ditto. | |
18477 | (vec_pack_ssat_v2si): Ditto. | |
18478 | (max1_even): Rename from max1_r, add endian check. | |
18479 | (max1_odd): Rename from max1_l, add endian check. | |
18480 | (*mux1_rev): Format change. | |
18481 | (*mux1_mix): Ditto. | |
18482 | (*mux1_shuf): Ditto. | |
18483 | (*mux1_alt): Ditto. | |
18484 | (*mux1_brcst_v8qi): Use new predicate. | |
18485 | (vec_extract_evenv8qi): Remove endian check. | |
18486 | (vec_extract_oddv8qi): Ditto. | |
18487 | (vec_interleave_lowv4hi): Format change. | |
18488 | (vec_interleave_highv4hi): Ditto. | |
18489 | (mix2_even): Rename from mix2_r, add endian check. | |
18490 | (mix2_odd): Rename from mux2_l, add endian check. | |
18491 | (*mux2): Fix mask setting for TARGET_BIG_ENDIAN. | |
18492 | (vec_extract_evenodd_helper): Format change. | |
18493 | (vec_extract_evenv4hi): Remove endian check. | |
18494 | (vec_extract_oddv4hi): Remove endian check. | |
18495 | (vec_interleave_lowv2si): Format change. | |
18496 | (vec_interleave_highv2si): Format change. | |
18497 | (vec_initv2si): Remove endian check. | |
18498 | (vecinit_v2si): Add endian check. | |
18499 | (reduc_splus_v2sf): Add endian check. | |
18500 | (reduc_smax_v2sf): Ditto. | |
18501 | (reduc_smin_v2sf): Ditto. | |
18502 | (vec_initv2sf): Remove endian check. | |
18503 | (fpack): Add endian check. | |
18504 | (fswap): Add endian check. | |
18505 | (vec_interleave_highv2sf): Add endian check. | |
18506 | (vec_interleave_lowv2sf): Add endian check. | |
18507 | (fmix_lr): Add endian check. | |
18508 | (vec_setv2sf): Format change. | |
18509 | (*vec_extractv2sf_0_be): Use shift to extract operand. | |
18510 | (*vec_extractv2sf_1_be): New. | |
18511 | (vec_pack_trunc_v4hi): Add endian check. | |
18512 | (vec_pack_trunc_v2si): Format change. | |
18513 | ||
dcde5957 JJ |
18514 | 2011-02-04 Jakub Jelinek <jakub@redhat.com> |
18515 | ||
18516 | PR inline-asm/23200 | |
18517 | * tree-ssa-ter.c (is_replaceable_p): Add TER argument. Don't | |
38be4072 | 18518 | do bb, locus and block comparison and disallow loads if it is not set. |
dcde5957 JJ |
18519 | (stmt_is_replaceable_p): New function. |
18520 | (process_replaceable, find_replaceable_in_bb): Adjust is_replaceable_p | |
18521 | callers. | |
18522 | * expr.c (expand_expr_real_1) <case SSA_NAME>: If | |
18523 | get_gimple_for_ssa_name try for EXPAND_INITIALIZER harder to use | |
18524 | SSA_NAME_DEF_STMT. | |
18525 | * tree-flow.h (stmt_is_replaceable_p): New prototype. | |
18526 | ||
a64a8e5a JM |
18527 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
18528 | ||
18529 | * config/rs6000/xilinx.opt: New. | |
18530 | * config.gcc (powerpc-xilinx-eabi*): Use rs6000/xilinx.opt. | |
18531 | ||
4da2ed2f JM |
18532 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
18533 | ||
18534 | * config/mips/mips.opt (EB, EL, noasmopt): New Driver options. | |
18535 | ||
a6e508f9 AS |
18536 | 2011-02-03 Anatoly Sokolov <aesok@post.ru> |
18537 | ||
18538 | * config/xtensa/xtensa.h (PREFERRED_RELOAD_CLASS, | |
18539 | PREFERRED_OUTPUT_RELOAD_CLASS): Remove. | |
18540 | * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class, | |
18541 | secondary_reload_info, xtensa_secondary_reload): Remove. | |
18542 | * config/xtensa/xtensa.c (TARGET_PREFERRED_RELOAD_CLASS, | |
18543 | TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. | |
18544 | (xtensa_preferred_reload_class): Make static. Change return and | |
18545 | 'rclass' argument type to reg_class_t. Remove 'isoutput' argument. | |
18546 | Use CONST_DOUBLE_P predicate. | |
18547 | (xtensa_preferred_output_reload_class): New function. | |
18548 | (xtensa_secondary_reload): Make static. | |
18549 | ||
82dc0de3 JM |
18550 | 2011-02-03 Joseph Myers <joseph@codesourcery.com> |
18551 | ||
18552 | * config/microblaze/microblaze.opt (Zxl-mode-bootstrap, | |
18553 | Zxl-mode-executable, Zxl-mode-novectors, Zxl-mode-xilkernel, | |
18554 | Zxl-mode-xmdstub, mxl-mode-xilkernel): New Driver options. | |
18555 | ||
7fece979 JJ |
18556 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
18557 | ||
18558 | PR middle-end/31490 | |
18559 | * output.h (SECTION_RELRO): Define. | |
18560 | (SECTION_MACH_DEP): Adjust. | |
18561 | (get_variable_section): New prototype. | |
18562 | * varpool.c (varpool_finalize_named_section_flags): New function. | |
18563 | (varpool_assemble_pending_decls): Call it. | |
18564 | * cgraph.h (varpool_finalize_named_section_flags): New prototype. | |
18565 | * cgraphunit.c (cgraph_output_in_order): Call | |
18566 | varpool_finalize_named_section_flags. | |
18567 | * varasm.c (get_section): Allow section flags conflicts between | |
18568 | relro and read-only sections if the section hasn't been declared yet. | |
18569 | Set SECTION_OVERRIDE after diagnosing section type conflict. | |
18570 | (get_variable_section): No longer static. | |
18571 | (default_section_type_flags): Use SECTION_WRITE | SECTION_RELRO for | |
18572 | readonly sections that need relocations. | |
18573 | (decl_readonly_section_1): New function. | |
18574 | (decl_readonly_section): Use it. | |
18575 | ||
18576 | Revert: | |
509d65dd | 18577 | 2010-11-17 Dinar Temirbulatov <dtemirbulatov@gmail.com> |
7fece979 JJ |
18578 | Steve Ellcey <sje@cup.hp.com> |
18579 | ||
18580 | PR middle-end/31490 | |
18581 | * varasm.c (categorize_decl_for_section): Ignore reloc_rw_mask | |
18582 | if section attribute used. | |
18583 | ||
d18d5478 JJ |
18584 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
18585 | ||
18586 | * config/darwin.h (SECTION_NO_ANCHOR): Remove. | |
18587 | * config/darwin.c (SECTION_NO_ANCHOR): Define. | |
18588 | (darwin_init_sections): Remove assertion. | |
18589 | ||
6479ed4b NC |
18590 | 2011-02-03 Nick Clifton <nickc@redhat.com> |
18591 | ||
18592 | * config/rx/predicates.md (rx_zs_comparison_operator): Remove | |
18593 | lt and ge. | |
38be4072 | 18594 | * config/rx/rx.md (abssi2_flags): Use CC_ZSmode rather than CC_ZSOmode. |
6479ed4b NC |
18595 | * config/rx/rx.c (rx_print_operand): Use "lt" and "ge" suffixes |
18596 | instead of "n" and "pz". | |
18597 | (flags_from_code): LT and GE tests need CC_FLAG_O as well as | |
18598 | CC_FLAG_S. | |
18599 | ||
89843f5d JJ |
18600 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
18601 | ||
65450d64 JJ |
18602 | PR target/47312 |
18603 | * expr.c (expand_expr_real_2) <case FMA_EXPR>: If target doesn't expand | |
18604 | fma, expand FMA_EXPR as fma{,f,l} call. | |
18605 | ||
7d58701c JJ |
18606 | PR lto/47274 |
18607 | * lto-streamer-out.c (write_symbol): When writing kind and visibility, | |
18608 | copy them into a unsigned char variable and pass address of it to | |
18609 | lto_output_data_stream. | |
18610 | ||
89843f5d JJ |
18611 | PR target/47564 |
18612 | * toplev.c (target_reinit): Save and restore *crtl and regno_reg_rtx | |
18613 | around backend_init_target and lang_dependent_init_target calls. | |
18614 | * cgraphunit.c (cgraph_debug_gimple_stmt): New function. | |
18615 | (verify_cgraph_node): Don't call set_cfun here. Use | |
18616 | cgraph_debug_gimple_stmt instead of debug_gimple_stmt. | |
18617 | Set error_found for incorrectly represented calls to thunks. | |
18618 | ||
4deef538 AO |
18619 | 2011-02-03 Alexandre Oliva <aoliva@redhat.com> |
18620 | ||
18621 | PR debug/43092 | |
18622 | PR rtl-optimization/43494 | |
18623 | * rtl.h (for_each_inc_dec_fn): New type. | |
18624 | (for_each_inc_dec): Declare. | |
18625 | * rtlanal.c (struct for_each_inc_dec_ops): New type. | |
18626 | (for_each_inc_dec_find_inc_dec): New fn. | |
18627 | (for_each_inc_dec_find_mem): New fn. | |
18628 | (for_each_inc_dec): New fn. | |
18629 | * dse.c (struct insn_size): Remove. | |
18630 | (replace_inc_dec, replace_inc_dec_mem): Remove. | |
18631 | (emit_inc_dec_insn_before): New fn. | |
18632 | (check_for_inc_dec): Use it, along with for_each_inc_dec. | |
18633 | (canon_address): Pass mem modes to cselib_lookup. | |
18634 | * cselib.h (cselib_lookup): Add memmode argument. Adjust callers. | |
18635 | (cselib_lookup_from_insn): Likewise. | |
18636 | (cselib_subst_to_values): Likewise. | |
18637 | * cselib.c (find_slot_memmode): New var. | |
18638 | (cselib_find_slot): New fn. Use it instead of | |
18639 | htab_find_slot_with_hash everywhere. | |
18640 | (entry_and_rtx_equal_p): Use find_slot_memmode. | |
18641 | (autoinc_split): New fn. | |
18642 | (rtx_equal_for_cselib_p): Rename and implement in terms of... | |
18643 | (rtx_equal_for_cselib_1): ... this. Take memmode, pass it on. | |
18644 | Deal with autoinc. Special-case recursion into MEMs. | |
18645 | (cselib_hash_rtx): Likewise. | |
18646 | (cselib_lookup_mem): Infer pmode from address mode. Distinguish | |
18647 | address and MEM modes. | |
18648 | (cselib_subst_to_values): Add memmode, pass it on. | |
18649 | Deal with autoinc. | |
18650 | (cselib_lookup): Add memmode argument, pass it on. | |
18651 | (cselib_lookup_from_insn): Add memmode. | |
18652 | (cselib_invalidate_rtx): Discard obsolete push_operand handling. | |
18653 | (struct cselib_record_autoinc_data): New. | |
18654 | (cselib_record_autoinc_cb): New fn. | |
18655 | (cselib_record_sets): Use it, along with for_each_inc_dec. Pass MEM | |
18656 | mode to cselib_lookup. Reset autoinced REGs here instead of... | |
18657 | (cselib_process_insn): ... here. | |
18658 | * var-tracking.c (replace_expr_with_values, use_type): Pass MEM mode | |
18659 | to cselib_lookup. | |
18660 | (add_uses): Likewise, also to cselib_subst_to_values. | |
18661 | (add_stores): Likewise. | |
18662 | * sched-deps.c (add_insn_mem_dependence): Pass mode to | |
18663 | cselib_subst_to_values. | |
18664 | (sched_analyze_1, sched_analyze_2): Likewise. Adjusted. | |
18665 | * gcse.c (do_local_cprop): Adjusted. | |
18666 | * postreload.c (reload_cse_simplify_set): Adjusted. | |
18667 | (reload_cse_simplify_operands): Adjusted. | |
18668 | * sel-sched-dump (debug_mem_addr_value): Pass mode. | |
18669 | ||
1551d44a AO |
18670 | 2011-02-03 Alexandre Oliva <aoliva@redhat.com> |
18671 | ||
18672 | PR tree-optimization/45122 | |
18673 | * tree-ssa-loop-niter.c (number_of_iterations_exit): Don't make | |
18674 | unsafe assumptions when there's more than one loop exit. | |
18675 | ||
c9485473 MM |
18676 | 2011-02-02 Michael Meissner <meissner@linux.vnet.ibm.com> |
18677 | ||
18678 | PR target/47272 | |
18679 | * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): | |
18680 | Document using vector double with the load/store builtins, and | |
18681 | that the load/store builtins always use Altivec instructions. | |
18682 | ||
18683 | * config/rs6000/vector.md (vector_altivec_load_<mode>): New insns | |
18684 | to use altivec memory instructions, even on VSX. | |
18685 | (vector_altivec_store_<mode>): Ditto. | |
18686 | ||
18687 | * config/rs6000/rs6000-protos.h (rs6000_address_for_altivec): New | |
18688 | function. | |
18689 | ||
18690 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add | |
18691 | V2DF, V2DI support to load/store overloaded builtins. | |
18692 | ||
18693 | * config/rs6000/rs6000-builtin.def (ALTIVEC_BUILTIN_*): Add | |
18694 | altivec load/store builtins for V2DF/V2DI types. | |
18695 | ||
18696 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't | |
18697 | set avoid indexed addresses on power6 if -maltivec. | |
18698 | (altivec_expand_ld_builtin): Add V2DF, V2DI support, use | |
18699 | vector_altivec_load/vector_altivec_store builtins. | |
18700 | (altivec_expand_st_builtin): Ditto. | |
18701 | (altivec_expand_builtin): Add VSX memory builtins. | |
18702 | (rs6000_init_builtins): Add V2DI types to internal types. | |
18703 | (altivec_init_builtins): Add support for V2DF/V2DI altivec | |
18704 | load/store builtins. | |
18705 | (rs6000_address_for_altivec): Insure memory address is appropriate | |
18706 | for Altivec. | |
18707 | ||
18708 | * config/rs6000/vsx.md (vsx_load_<mode>): New expanders for | |
18709 | vec_vsx_ld and vec_vsx_st. | |
18710 | (vsx_store_<mode>): Ditto. | |
18711 | ||
18712 | * config/rs6000/rs6000.h (RS6000_BTI_long_long): New type | |
18713 | variables to hold long long types for VSX vector memory builtins. | |
18714 | (RS6000_BTI_unsigned_long_long): Ditto. | |
18715 | (long_long_integer_type_internal_node): Ditti. | |
18716 | (long_long_unsigned_type_internal_node): Ditti. | |
18717 | ||
18718 | * config/rs6000/altivec.md (UNSPEC_LVX): New UNSPEC. | |
18719 | (altivec_lvx_<mode>): Make altivec_lvx use a mode iterator. | |
18720 | (altivec_stvx_<mode>): Make altivec_stvx use a mode iterator. | |
18721 | ||
18722 | * config/rs6000/altivec.h (vec_vsx_ld): Define VSX memory builtin | |
18723 | short cuts. | |
18724 | (vec_vsx_st): Ditto. | |
18725 | ||
b24d1acf JM |
18726 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
18727 | ||
18728 | * config/pa/pa-hpux10.opt: New. | |
18729 | * config/hpux11.opt (pthread): New Driver option. | |
18730 | * config/pa/pa-hpux.opt (nolibdld, rdynamic): New Driver options. | |
18731 | * config.gcc (hppa[12]*-*-hpux10*): Use pa/pa-hpux10.opt. | |
18732 | ||
aa18dd0f JM |
18733 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
18734 | ||
18735 | * config/ia64/vms.opt: New. | |
18736 | * config.gcc (ia64-hp-*vms*): Use ia64/vms.opt. | |
18737 | ||
28fc3eee MM |
18738 | 2011-02-01 Michael Meissner <meissner@linux.vnet.ibm.com> |
18739 | ||
18740 | PR target/47580 | |
18741 | * config/rs6000/vsx.md (vsx_float<VSi><mode>2): Use | |
18742 | gpc_reg_operand instead of vsx_register_operand to match rs6000.md | |
18743 | generator functions. | |
18744 | (vsx_floatuns<VSi><mode>2): Ditto. | |
18745 | (vsx_fix_trunc<mode><VSi>2): Ditto. | |
18746 | (vsx_fixuns_trunc<mode><VSi>2): Ditto. | |
18747 | ||
b5838b1f JM |
18748 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
18749 | ||
18750 | * config/i386/djgpp.opt (posix): New Driver option. | |
18751 | ||
0db8fa89 GP |
18752 | 2011-02-02 Gerald Pfeifer <gerald@pfeifer.com> |
18753 | ||
18754 | * config.gcc (*-*-freebsd[12], *-*-freebsd[12].*, *-*-freebsd*aout*): | |
18755 | Move to the unsupported targets list. | |
18756 | ||
9cd4f22a PB |
18757 | 2011-02-02 Peter Bergner <bergner@vnet.ibm.com> |
18758 | ||
18759 | PR rtl-optimization/47525 | |
18760 | * df-scan.c: Update copyright years. | |
18761 | (df_get_call_refs): Do not mark global registers as DF_REF_REG_USE | |
18762 | and non-clobber DF_REF_REG_DEF for calls to const and pure functions. | |
18763 | ||
9ed8059c RO |
18764 | 2011-02-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18765 | ||
18766 | * config/i386/sysv4.h (TARGET_VERSION): Remove. | |
18767 | (SUBTARGET_RETURN_IN_MEMORY): Remove. | |
18768 | (ASM_OUTPUT_ASCII): Remove. | |
18769 | * config/i386/sol2.h (SUBTARGET_RETURN_IN_MEMORY): Remove #undef. | |
18770 | ||
2a737389 JL |
18771 | 2011-02-02 Jeff Law <law@redhat.com> |
18772 | ||
18773 | PR middle-end/47543 | |
18774 | * reload.c (find_reloads_address): Handle reg+d address where both | |
18775 | components are invalid by reloading the entire address. | |
18776 | ||
9dac82c4 SP |
18777 | 2011-02-02 Sebastian Pop <sebastian.pop@amd.com> |
18778 | Richard Guenther <rguenther@suse.de> | |
18779 | ||
18780 | PR tree-optimization/40979 | |
18781 | PR bootstrap/47044 | |
18782 | * passes.c (init_optimization_passes): After LIM call copy_prop | |
18783 | and DCE to clean up. | |
18784 | * tree-ssa-loop.c (pass_graphite_transforms): Add TODO_dump_func. | |
18785 | ||
14dd9aab SP |
18786 | 2011-02-02 Sebastian Pop <sebastian.pop@amd.com> |
18787 | ||
18788 | PR tree-optimization/47576 | |
18789 | PR tree-optimization/47555 | |
18790 | * doc/invoke.texi (scev-max-expr-complexity): Documented. | |
18791 | * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. | |
18792 | (PARAM_SCEV_MAX_EXPR_COMPLEXITY): Declared. | |
18793 | * tree-scalar-evolution.c (follow_ssa_edge): Use | |
18794 | PARAM_SCEV_MAX_EXPR_COMPLEXITY. | |
18795 | ||
5cbf5c20 RG |
18796 | 2011-02-02 Richard Guenther <rguenther@suse.de> |
18797 | ||
18798 | PR tree-optimization/47566 | |
18799 | * builtins.c (builtin_save_expr): No SAVE_EXPR for SSA_NAMEs. | |
18800 | ||
83d70792 AO |
18801 | 2011-02-02 Alexandre Oliva <aoliva@redhat.com> |
18802 | ||
e829c321 AO |
18803 | PR debug/47106 |
18804 | PR debug/47402 | |
18805 | * tree-inline.c (declare_return_variable): Remove unused caller | |
18806 | variable. | |
18807 | ||
83d70792 AO |
18808 | PR debug/47106 |
18809 | PR debug/47402 | |
18810 | * tree-flow-inline.h (clear_is_used, is_used_p): New. | |
18811 | * cfgexpand.c (account_used_vars_for_block): Use them. | |
18812 | * tree-nrv.c (tree_nrv): Likewise. | |
18813 | * tree-ssa-live.c (remove_unused_scope_block_p): Likewise. | |
18814 | (dump_scope_block): Likewise. | |
18815 | (remove_unused_locals): Likewise. | |
18816 | ||
aaa2ac93 AO |
18817 | PR debug/47106 |
18818 | PR debug/47402 | |
18819 | * tree-inline.c (declare_return_variable): Add result decl to | |
18820 | local decls only once. | |
18821 | * gimple-low.c (record_vars_into): Mark newly-created variables | |
18822 | as referenced. | |
18823 | ||
a59d15cf AO |
18824 | 2011-02-02 Alexandre Oliva <aoliva@redhat.com> |
18825 | ||
18826 | PR debug/47498 | |
18827 | PR debug/47501 | |
18828 | PR debug/45136 | |
18829 | PR debug/45130 | |
18830 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
18831 | debug insns. | |
18832 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
18833 | treatment of boundary debug insns. | |
38be4072 | 18834 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
a59d15cf AO |
18835 | * sched-ebb.c (schedule_ebbs): Adjust skipping of debug insns. |
18836 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
18837 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
18838 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
18839 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
18840 | boundary debug insns. | |
18841 | * final.c (rest_of_clean_state): Clear notes' BB. | |
18842 | ||
6fc2f091 JM |
18843 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
18844 | ||
18845 | * config/openbsd.opt (assert=): New Driver option. | |
18846 | ||
fc523387 JM |
18847 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
18848 | ||
18849 | * config/i386/nto.opt: New. | |
18850 | * config.gcc (i[34567]86-*-nto-qnx*): Use i386/nto.opt. | |
18851 | ||
6d9821e5 JM |
18852 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
18853 | ||
18854 | * config/i386/netware.opt: New. | |
18855 | * config.gcc (i[3456x]86-*-netware*): Use i386/netware.opt. | |
18856 | ||
cef932d4 JM |
18857 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
18858 | ||
18859 | * config/interix.opt (posix): New Driver option. | |
18860 | ||
22843acd DD |
18861 | 2011-02-01 DJ Delorie <dj@redhat.com> |
18862 | ||
56490b74 DD |
18863 | * config/m32c/m32c.h (PTRDIFF_TYPE): Remove extra definition. |
18864 | ||
22843acd DD |
18865 | * config/m32c/m32c.c (m32c_regno_reg_class): Return smallest reg |
18866 | class for A0/A1. | |
18867 | ||
199c8f2f SP |
18868 | 2011-02-01 Sebastian Pop <sebastian.pop@amd.com> |
18869 | ||
18870 | PR tree-optimization/47561 | |
18871 | * toplev.c (process_options): Print the Graphite flags. Add | |
18872 | flag_loop_flatten to the list of options requiring Graphite. | |
18873 | ||
926bcf22 JM |
18874 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
18875 | ||
18876 | * config/i386/cygming.opt (posix): New Driver option. | |
18877 | ||
59793c51 JM |
18878 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
18879 | ||
18880 | * config/arm/vxworks.opt: New. | |
18881 | * config.gcc (arm-wrs-vxworks): Use arm/vxworks.opt. | |
18882 | ||
183c38a4 JM |
18883 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
18884 | ||
18885 | * config/alpha/elf.opt: New. | |
18886 | * config.gcc (alpha*-*-linux*, alpha*-*-gnu*, alpha*-*-freebsd*, | |
18887 | alpha*-*-netbsd*, alpha*-*-openbsd*): Use alpha/elf.opt. | |
18888 | ||
9939e416 RG |
18889 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
18890 | ||
18891 | PR tree-optimization/47559 | |
18892 | * tree-ssa-loop-im.c (can_sm_ref_p): Do not perform | |
18893 | store-motion on references that can throw. | |
18894 | ||
4a3c9687 BS |
18895 | 2011-02-01 Bernd Schmidt <bernds@codesourcery.com> |
18896 | ||
18897 | * tree-dump.c (dump_option_value_info): Add entry for TDF_CSELIB. | |
18898 | * tree-pass.h (TDF_CSELIB): New macro. | |
18899 | * cselib.c (new_cselib_val, expand_loc, cselib_expand_value_rtx_1, | |
18900 | cselib_lookup): Check for it rather than for TDF_DETAILS. | |
18901 | ||
dd3b31fb L |
18902 | 2011-02-01 H.J. Lu <hongjiu.lu@intel.com> |
18903 | ||
18904 | PR driver/47547 | |
18905 | * lto-wrapper.c (run_gcc): Don't add -dumpdir if linker_output | |
18906 | is HOST_BIT_BUCKET. | |
18907 | ||
18908 | * opts.c (finish_options): Don't add x_aux_base_name if it is | |
18909 | HOST_BIT_BUCKET. | |
18910 | ||
34c1de79 RG |
18911 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
18912 | ||
18913 | PR tree-optimization/47555 | |
18914 | Revert | |
18915 | 2010-07-15 Sebastian Pop <sebastian.pop@amd.com> | |
18916 | ||
18917 | * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. | |
18918 | ||
dd2804d2 SB |
18919 | 2011-02-01 Sebastien Bourdeauducq <sebastien@milkymist.org> |
18920 | ||
18921 | PR gcc/46692 | |
18922 | * config/lm32/t-lm32: Add multilib for all CPU options. | |
18923 | ||
3fd3b156 RG |
18924 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
18925 | ||
18926 | PR tree-optimization/47541 | |
18927 | * tree-ssa-structalias.c (push_fields_onto_fieldstack): Make | |
18928 | sure to have a field at offset zero. | |
18929 | ||
f16072b6 JM |
18930 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
18931 | ||
18932 | * config/arc/arc.opt (EB, EL): New Driver options. | |
18933 | ||
6456cf2e JM |
18934 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
18935 | ||
18936 | * config/alpha/osf5.opt: New. | |
18937 | * config.gcc (alpha*-dec-osf5.1*): Use alpha/osf5.opt. | |
18938 | ||
cdde6ab4 JM |
18939 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
18940 | ||
18941 | * config/vms/vms.opt (map, mvms-return-codes): New Driver options. | |
18942 | ||
7633415c SP |
18943 | 2011-01-31 Sebastian Pop <sebastian.pop@amd.com> |
18944 | ||
18945 | * common.opt (ftree-loop-linear): Use Alias to make it an alias of | |
18946 | -floop-interchange. | |
18947 | * invoke.texi (-ftree-loop-linear): Make it clear that this flag | |
18948 | is an alias of -floop-interchange and that it requires the | |
18949 | Graphite infrastructure. | |
18950 | * tree-ssa-loop.c (gate_graphite_transforms): Do not set | |
18951 | flag_loop_interchange based on the value of flag_tree_loop_linear. | |
18952 | ||
0425d6f5 JJ |
18953 | 2011-01-31 Jakub Jelinek <jakub@redhat.com> |
18954 | Richard Guenther <rguenther@suse.de> | |
18955 | ||
18956 | PR tree-optimization/47538 | |
18957 | * tree-ssa-ccp.c (bit_value_binop_1): For uns computation use | |
18958 | type instead of r1type, except for comparisons. For right | |
18959 | shifts and comparisons punt if there are mismatches in | |
18960 | sizetype vs. non-sizetype types. | |
18961 | ||
500b16c3 RO |
18962 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18963 | ||
18964 | * doc/sourcebuild.texi (Effective-Target Keywords): Document | |
18965 | avx_runtime. | |
18966 | ||
e279edb0 RO |
18967 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18968 | ||
18969 | * configure.ac (gcc_cv_ld_eh_frame_hdr): Update minimal Sun ld | |
18970 | version number. | |
18971 | * configure: Regenerate. | |
18972 | ||
c6092243 RO |
18973 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18974 | ||
18975 | * configure.ac (gcc_cv_ld_static_option): Define. | |
18976 | (gcc_cv_ld_dynamic_option): Define. | |
18977 | (gcc_cv_ld_static_dynamic): Tru64 UNIX support -noso/-so_archive | |
18978 | instead. | |
18979 | (HAVE_LD_STATIC_DYNAMIC): Update message. | |
18980 | (LD_STATIC_OPTION): Define. | |
18981 | (LD_DYNAMIC_OPTION): Define. | |
18982 | * configure: Regenerate. | |
18983 | * config.in: Regenerate. | |
18984 | * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS && | |
18985 | HAVE_LD_STATIC_DYNAMIC]: Use them. | |
18986 | ||
d7862be3 NC |
18987 | 2011-01-31 Nick Clifton <nickc@redhat.com> |
18988 | ||
18989 | * config/rx/rx.c (rx_get_stack_layout): Only save call clobbered | |
18990 | registers inside interrupt handlers if the handler is not a leaf | |
18991 | function. | |
18992 | ||
ba4ec0e0 NC |
18993 | 2011-01-31 Nick Clifton <nickc@redhat.com> |
18994 | ||
18995 | * config/mn10300/mn10300.c (mn10300_regno_in_class_p): Check for | |
18996 | reg_renumber returning an INVALID_REGNUM. | |
18997 | ||
29a63921 AO |
18998 | 2011-01-31 Alexandre Oliva <aoliva@redhat.com> |
18999 | ||
19000 | PR libgcj/44341 | |
19001 | * doc/install.texi: Document host options discarded when cross | |
19002 | configuring target libraries. | |
19003 | ||
ef591d3f AO |
19004 | 2011-01-31 Alexandre Oliva <aoliva@redhat.com> |
19005 | ||
19006 | Reverted: | |
19007 | 2011-01-25 Alexandre Oliva <aoliva@redhat.com> | |
19008 | PR debug/45136 | |
19009 | PR debug/45130 | |
19010 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
19011 | debug insns. | |
19012 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
19013 | treatment of boundary debug insns. | |
38be4072 | 19014 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
ef591d3f AO |
19015 | * sched-ebb.c (schedule_ebbs): Don't skip debug insns. |
19016 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
19017 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
19018 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
19019 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
19020 | boundary debug insns. | |
19021 | * final.c (rest_of_clean-state): Clear notes' BB. | |
19022 | ||
61052244 AM |
19023 | 2011-01-31 Alan Modra <amodra@gmail.com> |
19024 | ||
19025 | * config/rs6000/rs6000.c (print_operand): Rearrange addends in | |
19026 | toc relative expressions as we do in print_operand_address. | |
19027 | ||
c4c8962b KH |
19028 | 2011-01-30 Kazu Hirata <kazu@codesourcery.com> |
19029 | ||
19030 | * doc/extend.texi: Follow spelling conventions. | |
19031 | * doc/invoke.texi: Fix a typo. | |
19032 | ||
e543b94c JM |
19033 | 2011-01-30 Joseph Myers <joseph@codesourcery.com> |
19034 | ||
19035 | * config/hpux11.opt: New. | |
19036 | * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*, | |
19037 | ia64*-*-hpux*): Use hpux11.opt. | |
19038 | ||
509d65dd | 19039 | 2011-01-30 Jonathan Yong <jon_y@users.sourceforge.net> |
a70e0551 JY |
19040 | |
19041 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules | |
19042 | to tmake_file. | |
19043 | ||
7be03a0e GP |
19044 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> |
19045 | ||
19046 | * doc/install.texi (hppa-hp-hpux10): Remove references to HP | |
19047 | support sites. | |
19048 | ||
419d1d37 GP |
19049 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> |
19050 | ||
b596ed64 GP |
19051 | * doc/install.texi (Binaries): Remove outdated reference for |
19052 | Motorola 68HC11/68HC12 downloads. | |
19053 | ||
19054 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> | |
61052244 | 19055 | |
419d1d37 GP |
19056 | * doc/extend.texi (Thread-Local): Adjust reference to Ulrich |
19057 | Drepper's paper. | |
19058 | ||
4406d0e9 JW |
19059 | 2011-01-29 Jonathan Wakely <jwakely.gcc@gmail.com> |
19060 | ||
19061 | PR bootstrap/47147 | |
19062 | * ginclude/stddef.h: Check for _X86_64_ANSI_H_ and _I386_ANSI_H_ as | |
19063 | used by NetBSD. | |
19064 | ||
38be4072 | 19065 | 2011-01-28 Ahmad Sharif <asharif@google.com> |
e0b77418 AS |
19066 | |
19067 | * value-prof.c (check_counter): Corrected error message. | |
19068 | ||
0cd98787 JZ |
19069 | 2011-01-29 Jie Zhang <jie@codesourcery.com> |
19070 | ||
19071 | * config/arm/arm.c (arm_legitimize_reload_address): New. | |
19072 | * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use | |
19073 | arm_legitimize_reload_address. | |
38be4072 | 19074 | * config/arm/arm-protos.h (arm_legitimize_reload_address): Declare. |
0cd98787 | 19075 | |
9b798ac5 ILT |
19076 | 2011-01-28 Ian Lance Taylor <iant@google.com> |
19077 | ||
19078 | * godump.c (go_define): Ignore macros whose definitions include | |
19079 | two adjacent operands. | |
19080 | ||
591e29d9 JJ |
19081 | 2011-01-28 Jakub Jelinek <jakub@redhat.com> |
19082 | ||
19083 | PR target/42894 | |
19084 | * varasm.c (force_const_mem): Store copy of x in desc->constant | |
19085 | instead of x itself. | |
19086 | * expr.c (emit_move_insn): Add a copy of y_cst instead of y_cst | |
19087 | itself into REG_EQUAL note. | |
19088 | ||
62dcc44a JM |
19089 | 2011-01-28 Joseph Myers <joseph@codesourcery.com> |
19090 | ||
19091 | * config/freebsd.opt (posix, rdynamic): New Driver options. | |
19092 | ||
c9f58b9a RO |
19093 | 2011-01-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19094 | ||
19095 | * configure.ac (gcc_cv_ld_static_dynamic): IRIX 6 ld supports | |
19096 | -Bstatic/-Bdynamic. | |
19097 | * configure: Regenerate. | |
19098 | ||
5f02b9db JM |
19099 | 2011-01-27 Joseph Myers <joseph@codesourcery.com> |
19100 | ||
19101 | * config/rs6000/sysv4.h (LIB_NETBSD_SPEC): Don't handle -profile. | |
19102 | * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -profile. | |
19103 | ||
5df97412 AS |
19104 | 2011-01-27 Anatoly Sokolov <aesok@post.ru> |
19105 | ||
19106 | * config/s390/s390.h (PREFERRED_RELOAD_CLASS): Remove. | |
19107 | * config/s390/s390-protos.h (s390_preferred_reload_class): Remove. | |
19108 | * config/s390/s390.c (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
19109 | (s390_preferred_reload_class): Make static. Change return and | |
19110 | 'rclass' argument type to reg_class_t. | |
19111 | ||
779d4b91 JH |
19112 | 2011-01-27 Jan Hubicka <jh@suse.cz> |
19113 | ||
19114 | PR middle-end/46949 | |
19115 | * cgraphunit.c (process_common_attributes): Fix use of remove_attribute. | |
19116 | (process_function_and_variable_attributes): Check defined weakrefs. | |
19117 | ||
e80b21ed MJ |
19118 | 2011-01-27 Martin Jambor <mjambor@suse.cz> |
19119 | ||
19120 | PR tree-optimization/47228 | |
19121 | * tree-sra.c (sra_modify_assign): Use build_ref_for_model instead of | |
19122 | build_ref_for_offset. | |
19123 | ||
6dcc4f31 UW |
19124 | 2011-01-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
19125 | ||
19126 | * config/spu/spu-elf.h (ASM_SPEC): Remove. | |
19127 | ||
509d65dd | 19128 | 2011-01-26 Mikael Pettersson <mikpe@it.uu.se> |
3b8ff89f MP |
19129 | |
19130 | PR rtl-optimization/46856 | |
19131 | * postreload.c (reload_combine_recognize_const_pattern): Do not | |
19132 | separate cc0 setter and user on cc0 targets. | |
19133 | ||
04af8788 NP |
19134 | 2011-01-26 Nicola Pero <nicola.pero@meta-innovation.com> |
19135 | ||
19136 | PR c/43082 | |
19137 | * c-typeck.c (c_objc_common_truthvalue_conversion): If we are | |
19138 | passed a VOID_TYPE expression, immediately emit an error and | |
19139 | return error_mark_node. | |
19140 | ||
f7a60085 JL |
19141 | 2011-01-26 Jeff Law <law@redhat.com> |
19142 | ||
19143 | PR rtl-optimization/47464 | |
19144 | * df-problems.c (can_move_insn_across): Use may_trap_or_fault_p | |
19145 | rather than may_trap_p as needed. | |
19146 | ||
5c2917ec DD |
19147 | 2011-01-26 DJ Delorie <dj@redhat.com> |
19148 | ||
19149 | PR rtl-optimization/46878 | |
19150 | * combine.c (insn_a_feeds_b): Check for the implicit cc0 | |
19151 | setter/user dependency as well. | |
19152 | ||
bef16e87 EB |
19153 | 2011-01-26 Eric Botcazou <ebotcazou@adacore.com> |
19154 | ||
19155 | PR rtl-optimization/44469 | |
19156 | * cfgcleanup.c (try_optimize_cfg): Iterate in CFG layout mode too | |
19157 | after removing trivially dead basic blocks. | |
19158 | ||
c75d884b JM |
19159 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
19160 | ||
19161 | * config/bfin/bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}. | |
19162 | * config/frv/frv.h (LINK_SPEC): Likewise. | |
19163 | * config/i386/netware.h (LINK_SPEC): Likewise. | |
19164 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
19165 | * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise. | |
19166 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
19167 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
19168 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
19169 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
19170 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
19171 | ||
d3153553 JM |
19172 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
19173 | ||
19174 | * config/bfin/bfin.h (ASM_SPEC): Remove %{Ym,*}. | |
19175 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
19176 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
19177 | * config/pa/pa-linux.h (ASM_SPEC): Likewise. | |
19178 | * config/rs6000/linux64.h (ASM_SPEC): Likewise. | |
19179 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
19180 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
19181 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
19182 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
19183 | ||
b89b1e9d JM |
19184 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
19185 | ||
19186 | * config/bfin/bfin.h (LINK_SPEC): Remove %{YP,*}. | |
19187 | * config/frv/frv.h (LINK_SPEC): Likewise. | |
19188 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
19189 | ||
12eb1a9c JM |
19190 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
19191 | ||
19192 | * config/bfin/bfin.h (ASM_SPEC): Remove %{Yd,*}. | |
19193 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
19194 | * config/i386/sol2-10.h (ASM_SPEC): Likewise. | |
19195 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
19196 | * config/pa/pa-linux.h (ASM_SPEC): Likewise. | |
19197 | * config/rs6000/linux64.h (ASM_SPEC32): Likewise. | |
19198 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
19199 | * config/sol2.h (ASM_SPEC): Remove comment about -Yd,. | |
19200 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
19201 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
19202 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
19203 | * config/sparc/sysv4.h (ASM_SPEC): Remove %{Yd,*}. | |
19204 | ||
e435f098 SE |
19205 | 2011-01-26 Steve Ellcey <sje@cup.hp.com> |
19206 | ||
19207 | PR target/46997 | |
19208 | * config/ia64/vect.md (mulv2si3): Enable and fix for TARGET_BIG_ENDIAN. | |
19209 | (*mux2): Ditto. | |
19210 | (vec_extract_evenodd_help): Ditto. | |
19211 | (vec_extract_evenv4hi): Ditto. | |
19212 | (vec_extract_oddv4hi): Ditto. | |
19213 | (vec_interleave_lowv2si): Ditto. | |
19214 | (vec_interleave_highv2si): Ditto. | |
19215 | (vec_extract_evenv2si): Ditto. | |
19216 | (vec_extract_oddv2si: Ditto. | |
19217 | (vec_pack_trunc_v2si): Ditto. | |
19218 | ||
34f0eee0 JH |
19219 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
19220 | ||
19221 | PR target/47237 | |
19222 | * cgraph.h (cgraph_local_info): New field can_change_signature. | |
19223 | * ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee | |
19224 | signature can change. | |
19225 | (ipcp_estimate_growth): Call sequence simplify only if calle signature | |
19226 | can change. | |
19227 | (ipcp_insert_stage): Only compute args_to_skip if signature can change. | |
19228 | (cgraph_function_versioning): We can not change signature of functions | |
19229 | that don't allow that. | |
19230 | * lto-cgraph.c (lto_output_node): Stream local.can_change_signature. | |
19231 | (lto_input_node): Likewise. | |
38be4072 UB |
19232 | * ipa-inline.c (compute_inline_parameters): Compute |
19233 | local.can_change_signature. | |
34f0eee0 | 19234 | * ipa-split.c (visit_bb): Never split away APPLY_ARGS. |
38be4072 UB |
19235 | * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on |
19236 | functions that can not change signature. | |
34f0eee0 | 19237 | * i386.c (ix86_function_regparm, ix86_function_sseregparm, |
38be4072 UB |
19238 | init_cumulative_args): Do not use local calling conventions |
19239 | for functions that can not change signature. | |
34f0eee0 | 19240 | |
980ca891 JH |
19241 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
19242 | ||
19243 | * doc/invoke.texi (hot-bb-frequency-fraction): Commit forgotten hunk. | |
19244 | ||
768e3c60 RG |
19245 | 2011-01-26 Richard Guenther <rguenther@suse.de> |
19246 | ||
19247 | PR tree-optimization/47190 | |
61052244 AM |
19248 | * cgraphunit.c (process_common_attributes): New function. |
19249 | (process_function_and_variable_attributes): Use it. | |
768e3c60 | 19250 | |
21d6a1c7 RG |
19251 | 2011-01-26 Richard Guenther <rguenther@suse.de> |
19252 | ||
19253 | PR lto/47423 | |
19254 | * cgraphbuild.c (record_eh_tables): Record reference to personality | |
19255 | function. | |
19256 | ||
48bb58b1 AO |
19257 | 2011-01-26 Alexandre Oliva <aoliva@redhat.com> |
19258 | ||
19259 | PR debug/45454 | |
19260 | * sel-sched.c (moveup_expr): Don't let debug insns prevent | |
19261 | non-debug insns from moving up. | |
19262 | ||
58c741a6 DK |
19263 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
19264 | ||
19265 | PR target/40125 | |
19266 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable | |
19267 | t-dlldir{,-x} fragment for build and add it to tmake_file. | |
19268 | (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise. | |
19269 | * Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc. | |
19270 | * config/i386/t-dlldir: New file. | |
19271 | (SHLIB_DLLDIR): Define. | |
19272 | * config/i386/t-dlldir-x: New file. | |
19273 | (SHLIB_DLLDIR): Define. | |
19274 | * config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set. | |
19275 | (SHLIB_INSTALL): Use it. | |
19276 | ||
bff99262 CLT |
19277 | 2011-01-26 Chung-Lin Tang <cltang@codesourcery.com> |
19278 | ||
19279 | PR target/47246 | |
19280 | * config/arm/arm.c (thumb2_legitimate_index_p): Change the | |
19281 | lower bound of the allowed Thumb-2 coprocessor load/store | |
19282 | index range to -256. Add explaining comment. | |
19283 | ||
82c03907 ILT |
19284 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
19285 | ||
19286 | * godump.c (go_define): Improve lexing of macro expansion to only | |
19287 | accept expressions which match Go spec. | |
19288 | ||
47ea1edf DK |
19289 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
19290 | ||
d4dba752 | 19291 | PR c++/43601 |
47ea1edf DK |
19292 | * tree.c (handle_dll_attribute): Handle it. |
19293 | * doc/extend.texi (@item dllexport): Mention it. | |
19294 | * doc/invoke.texi (@item -fno-keep-inline-dllexport): Document it. | |
19295 | ||
744f0946 ILT |
19296 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
19297 | ||
19298 | PR tree-optimization/26854 | |
19299 | * c-decl.c (struct c_scope): Add field has_jump_unsafe_decl. | |
19300 | (decl_jump_unsafe): Move higher in file, with no other change. | |
19301 | (bind): Set has_jump_unsafe_decl if appropriate. | |
19302 | (update_label_decls): Test has_jump_unsafe_decl to avoid loop. | |
19303 | (check_earlier_gotos): Likewise. | |
19304 | (c_check_switch_jump_warnings): Likewise. | |
19305 | ||
5734f2b3 JW |
19306 | 2011-01-25 Jonathan Wakely <jwakely.gcc@gmail.com> |
19307 | ||
19308 | * doc/invoke.texi (Warning Options): Add missing hyphen. | |
19309 | (-fprofile-dir): Minor grammatical fixes. | |
19310 | (-fbranch-probabilities): Likewise. | |
19311 | ||
9bdbdcef AO |
19312 | 2011-01-25 Alexandre Oliva <aoliva@redhat.com> |
19313 | ||
19314 | PR debug/45136 | |
19315 | PR debug/45130 | |
19316 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
19317 | debug insns. | |
19318 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
19319 | treatment of boundary debug insns. | |
38be4072 | 19320 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
9bdbdcef AO |
19321 | * sched-ebb.c (schedule_ebbs): Don't skip debug insns. |
19322 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
19323 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
19324 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
19325 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
19326 | boundary debug insns. | |
19327 | * final.c (rest_of_clean-state): Clear notes' BB. | |
19328 | ||
b305e3da SP |
19329 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19330 | ||
19331 | * Makefile.in (LAMBDA_H): Removed. | |
19332 | (TREE_DATA_REF_H): Remove dependence on LAMBDA_H. | |
19333 | (OBJS-common): Remove dependence on lambda-code.o, lambda-mat.o, | |
19334 | lambda-trans.o, and tree-loop-linear.o. | |
19335 | (lto-symtab.o): Remove dependence on LAMBDA_H. | |
19336 | (tree-loop-linear.o): Remove rule. | |
19337 | (lambda-mat.o): Same. | |
19338 | (lambda-trans.o): Same. | |
19339 | (lambda-code.o): Same. | |
19340 | (tree-vect-loop.o): Add missing dependence on TREE_DATA_REF_H. | |
19341 | (tree-vect-slp.o): Same. | |
19342 | * hwint.h (gcd): Moved here. | |
19343 | (least_common_multiple): Same. | |
19344 | * lambda-code.c: Removed. | |
19345 | * lambda-mat.c: Removed. | |
19346 | * lambda-trans.c: Removed. | |
19347 | * lambda.h: Removed. | |
19348 | * tree-loop-linear.c: Removed. | |
19349 | * lto-symtab.c: Do not include lambda.h. | |
19350 | * omega.c (gcd): Removed. | |
19351 | * passes.c (init_optimization_passes): Remove pass_linear_transform. | |
19352 | * tree-data-ref.c (print_lambda_vector): Moved here. | |
19353 | (lambda_vector_copy): Same. | |
19354 | (lambda_matrix_copy): Same. | |
19355 | (lambda_matrix_id): Same. | |
19356 | (lambda_vector_first_nz): Same. | |
19357 | (lambda_matrix_row_add): Same. | |
19358 | (lambda_matrix_row_exchange): Same. | |
19359 | (lambda_vector_mult_const): Same. | |
19360 | (lambda_vector_negate): Same. | |
19361 | (lambda_matrix_row_negate): Same. | |
19362 | (lambda_vector_equal): Same. | |
19363 | (lambda_matrix_right_hermite): Same. | |
19364 | * tree-data-ref.h: Do not include lambda.h. | |
19365 | (lambda_vector): Moved here. | |
19366 | (lambda_matrix): Same. | |
19367 | (dependence_level): Same. | |
19368 | (lambda_transform_legal_p): Removed declaration. | |
19369 | (lambda_collect_parameters): Same. | |
19370 | (lambda_compute_access_matrices): Same. | |
19371 | (lambda_vector_gcd): Same. | |
19372 | (lambda_vector_new): Same. | |
19373 | (lambda_vector_clear): Same. | |
19374 | (lambda_vector_lexico_pos): Same. | |
19375 | (lambda_vector_zerop): Same. | |
19376 | (lambda_matrix_new): Same. | |
19377 | * tree-flow.h (least_common_multiple): Removed declaration. | |
19378 | * tree-parloops.c (lambda_trans_matrix): Moved here. | |
19379 | (LTM_MATRIX): Same. | |
19380 | (LTM_ROWSIZE): Same. | |
19381 | (LTM_COLSIZE): Same. | |
19382 | (LTM_DENOMINATOR): Same. | |
19383 | (lambda_trans_matrix_new): Same. | |
19384 | (lambda_matrix_vector_mult): Same. | |
19385 | (lambda_transform_legal_p): Same. | |
19386 | * tree-pass.h (pass_linear_transform): Removed declaration. | |
19387 | * tree-ssa-loop.c (tree_linear_transform): Removed. | |
19388 | (gate_tree_linear_transform): Removed. | |
19389 | (pass_linear_transform): Removed. | |
19390 | (gate_graphite_transforms): Make flag_tree_loop_linear an alias of | |
19391 | flag_loop_interchange. | |
19392 | ||
6bdfdb96 JJ |
19393 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
19394 | ||
19395 | PR tree-optimization/47265 | |
19396 | PR tree-optimization/47443 | |
19397 | * tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false | |
19398 | if name still has some uses. | |
19399 | ||
e4cba915 MJ |
19400 | 2011-01-25 Martin Jambor <mjambor@suse.cz> |
19401 | ||
19402 | PR tree-optimization/47382 | |
19403 | * gimple-fold.c (gimple_fold_obj_type_ref_call): Removed. | |
19404 | (gimple_fold_call): Do not call gimple_fold_obj_type_ref_call. | |
19405 | ||
509d65dd | 19406 | 2011-01-25 Joel Sherrill <joel.sherrill@oarcorp.com> |
f822b8ea JS |
19407 | |
19408 | * config/m32r/m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to | |
19409 | sjlj_except_unwind_info. | |
19410 | ||
194313e2 RG |
19411 | 2011-01-25 Richard Guenther <rguenther@suse.de> |
19412 | ||
19413 | PR tree-optimization/47426 | |
19414 | * tree-ssa-structalias.c (ipa_pta_execute): Make externally | |
19415 | visible functions results escape. | |
19416 | ||
147a0bcf JJ |
19417 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
19418 | ||
19419 | PR target/45701 | |
19420 | * config/arm/arm.c (any_sibcall_uses_r3): New function. | |
19421 | (arm_get_frame_offsets): Use it. | |
19422 | ||
db963b52 SP |
19423 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19424 | Jakub Jelinek <jakub@redhat.com> | |
19425 | ||
19426 | PR tree-optimization/47271 | |
19427 | * tree-if-conv.c (bb_postdominates_preds): New. | |
19428 | (if_convertible_bb_p): Call bb_postdominates_preds. | |
19429 | (if_convertible_loop_p_1): Compute CDI_POST_DOMINATORS. | |
19430 | (predicate_scalar_phi): Call bb_postdominates_preds. | |
19431 | ||
bcddd3b9 NC |
19432 | 2011-01-25 Nick Clifton <nickc@redhat.com> |
19433 | ||
19434 | * config/rx/rx.h (LIBCALL_VALUE): Do not promote complex types. | |
19435 | * config/rx/rx.c (rx_function_value): Likewise. | |
19436 | (rx_promote_function_mode): Likewise. | |
19437 | (gen_safe_add): Place an outsized immediate value inside an UNSPEC | |
19438 | in order to make it legitimate. | |
38be4072 UB |
19439 | * config/rx/rx.md (adddi3_internal): If the second operand is a MEM |
19440 | make sure that the first operand is the same as the result register. | |
bcddd3b9 NC |
19441 | (addsi3_unspec): Delete. |
19442 | (subdi3): Do not accept immediate operands. | |
19443 | (subdi3_internal): Likewise. | |
19444 | ||
7e6cb022 JL |
19445 | 2011-01-25 Jeff Law <law@redhat.com> |
19446 | ||
19447 | PR rtl-optimization/37273 | |
19448 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
19449 | handle them like argument loads from stack slots. Do not double | |
19450 | count memory for memory constants and argument loads from stack slots. | |
19451 | ||
9ffa621e JJ |
19452 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
19453 | ||
19454 | PR tree-optimization/47427 | |
19455 | PR tree-optimization/47428 | |
19456 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't | |
19457 | coalesce if the new root var would be TREE_READONLY. | |
19458 | ||
5bd6e652 RG |
19459 | 2011-01-25 Richard Guenther <rguenther@suse.de> |
19460 | ||
19461 | PR middle-end/47414 | |
19462 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Use the | |
19463 | correct type for TBAA. | |
19464 | ||
7c48ea69 SP |
19465 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19466 | ||
19467 | * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New. | |
19468 | (close_phi_written_to_memory): Call for_each_index with | |
19469 | dr_indices_valid_in_loop. | |
19470 | ||
38013f25 SP |
19471 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19472 | ||
19473 | * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN | |
19474 | when it is initialized. | |
19475 | ||
5c640e29 SP |
19476 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19477 | ||
19478 | * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Update | |
19479 | call to graphite_find_data_references_in_stmt. | |
19480 | * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New. | |
19481 | (try_generate_gimple_bb): Call outermost_loop_in_sese_1. Update | |
19482 | call to graphite_find_data_references_in_stmt. | |
19483 | (analyze_drs_in_stmts): Same. | |
19484 | * tree-data-ref.c (dr_analyze_indices): Pass in parameter the loop | |
19485 | in which the scalar analysis of indices is performed. | |
19486 | (create_data_ref): Same. Update call to dr_analyze_indices. | |
19487 | (find_data_references_in_stmt): Update call to create_data_ref. | |
19488 | (graphite_find_data_references_in_stmt): Same. | |
19489 | * tree-data-ref.h (graphite_find_data_references_in_stmt): Update | |
19490 | declaration. | |
19491 | (create_data_ref): Same. | |
19492 | * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Update | |
19493 | call to create_data_ref. | |
19494 | ||
ac53c069 SP |
19495 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19496 | ||
19497 | * graphite-sese-to-poly.c (build_poly_scop): Move | |
38be4072 | 19498 | rewrite_commutative_reductions_out_of_ssa before find_scop_parameters. |
ac53c069 | 19499 | |
3d17df15 SP |
19500 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19501 | ||
19502 | * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow | |
19503 | VAR_DECL, PARM_DECL, and RESULT_DECL. | |
19504 | ||
c513da01 SP |
19505 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19506 | ||
19507 | * graphite-dependences.c (reduction_dr_1): Allow several reductions | |
19508 | in a reduction PBB. | |
19509 | * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs | |
19510 | that have already been marked as PBB_IS_REDUCTION. | |
19511 | ||
3a292d59 SP |
19512 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19513 | ||
19514 | * graphite-scop-detection.c (same_close_phi_node): New. | |
19515 | (remove_duplicate_close_phi): New. | |
19516 | (make_close_phi_nodes_unique): New. | |
19517 | (canonicalize_loop_closed_ssa): Call make_close_phi_nodes_unique. | |
19518 | ||
ba858447 SP |
19519 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19520 | ||
19521 | * graphite-dependences.c (new_poly_ddr): Call same_pdr_p. | |
19522 | * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE | |
19523 | of both data references to be the same. | |
19524 | ||
8d865c56 SP |
19525 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19526 | ||
38be4072 UB |
19527 | * graphite-dependences.c (build_lexicographical_constraint): Remove |
19528 | the gdim parameter. | |
19529 | (build_lexicographical_constraint): Adjust call to | |
19530 | ppl_powerset_is_empty. | |
8d865c56 SP |
19531 | (dependence_polyhedron): Same. |
19532 | (graphite_legal_transform_dr): Same. | |
19533 | (graphite_carried_dependence_level_k): Same. | |
38be4072 UB |
19534 | * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params |
19535 | parameter. | |
8d865c56 SP |
19536 | * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration. |
19537 | ||
50034a36 SP |
19538 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19539 | ||
19540 | * graphite-sese-to-poly.c | |
19541 | (translate_scalar_reduction_to_array_for_stmt): Call unshare_expr. | |
19542 | (close_phi_written_to_memory): New. | |
19543 | (translate_scalar_reduction_to_array): Call close_phi_written_to_memory | |
19544 | and unshare_expr. | |
19545 | ||
0deada9e SP |
19546 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19547 | ||
19548 | * doc/install.texi: Update the expected version number of PPL to 0.11. | |
19549 | * graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under | |
19550 | #if PPL_VERSION_MINOR < 11. | |
19551 | ||
d7d3d6af SP |
19552 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19553 | ||
19554 | * graphite-dependences.c: Include graphite-cloog-util.h. | |
19555 | (new_poly_ddr): Inlined into dependence_polyhedron. | |
19556 | (free_poly_ddr): Moved close by new_poly_ddr. | |
19557 | (dependence_polyhedron_1): Renamed dependence_polyhedron. | |
19558 | Early return NULL when ppl_powerset_is_empty returns true. | |
19559 | (dependence_polyhedron): Renamed new_poly_ddr. Call only once | |
19560 | poly_drs_may_alias_p. Avoid one call to ppl_powerset_is_empty. | |
19561 | (graphite_legal_transform_dr): Call new_poly_ddr. | |
19562 | (graphite_carried_dependence_level_k): Same. | |
19563 | (dot_original_deps_stmt_1): Renamed dot_deps_stmt_2. Use new_poly_ddr. | |
19564 | (dot_transformed_deps_stmt_1): Removed. | |
19565 | (dot_deps_stmt_1): Call dot_deps_stmt_2. | |
19566 | (dot_original_deps): Renamed dot_deps_2. Call new_poly_ddr. | |
19567 | (dot_deps_1): Call dot_deps_2. | |
19568 | * Makefile.in (graphite-dependences.o): Add missing dependence on | |
19569 | graphite-cloog-util.h. | |
19570 | ||
28c5db57 SP |
19571 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19572 | ||
19573 | * graphite-dependences.c (new_poly_dr): Call ppl_powerset_is_empty. | |
19574 | (build_lexicographical_constraint): Same. | |
19575 | (dependence_polyhedron_1): Same. | |
19576 | (graphite_legal_transform_dr): Same. | |
19577 | (graphite_carried_dependence_level_k): Same. | |
19578 | * graphite-ppl.c (ppl_powerset_is_empty): New. | |
19579 | * graphite-ppl.h (ppl_powerset_is_empty): Declared. | |
19580 | * tree-data-ref.c (dump_data_reference): Print the basic block index. | |
19581 | ||
5168d98f SP |
19582 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19583 | ||
19584 | * graphite-dependences.c (build_pairwise_scheduling): Correctly compute | |
19585 | the "a followed by b" relation and document it. | |
19586 | ||
4a40293a SP |
19587 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19588 | ||
19589 | * graphite-dependences.c (build_lexicographical_constraint): Stop the | |
19590 | iteration when the bag of constraints is empty. | |
19591 | ||
271fb6fa SP |
19592 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19593 | ||
19594 | * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work. | |
19595 | ||
92d23680 SP |
19596 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19597 | ||
19598 | * graphite-interchange.c (lst_interchange_profitable_p): Takes a loop | |
19599 | nest and two loop depths as parameters. | |
19600 | (lst_try_interchange_loops): Call lst_interchange_profitable_p after | |
19601 | lst_perfect_nestify. | |
19602 | ||
2f51deff SP |
19603 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19604 | ||
19605 | * graphite-dependences.c (print_pddr): Call | |
19606 | ppl_io_fprint_Pointset_Powerset_C_Polyhedron. | |
19607 | ||
07f3593c SP |
19608 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
19609 | ||
19610 | * graphite-ppl.c (debug_gmp_value): New. | |
19611 | * graphite-ppl.h (debug_gmp_value): Declared. | |
19612 | ||
3fae6099 TG |
19613 | 2011-01-25 Tobias Grosser <grosser@fim.uni-passau.de> |
19614 | ||
19615 | * doc/install.texi: Document availability of cloog-0.16. | |
19616 | ||
1c3ba85b SP |
19617 | 2011-01-25 Vladimir Kargov <kargov@gmail.com> |
19618 | ||
19619 | * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Free | |
19620 | invalid postdominance info. | |
19621 | ||
e8ba94fc JH |
19622 | 2011-01-24 Jan Hubicka <jh@suse.cz> |
19623 | ||
19624 | PR c/21659 | |
19625 | * doc/extend.texi (weak pragma): Drop claim that it must | |
19626 | appear before definition. | |
19627 | * varasm.c (merge_weak, declare_weak): Only sanity check | |
19628 | that DECL is not output at a time it is declared weak. | |
19629 | ||
2b6e2d13 KZ |
19630 | 2011-01-24 Kenneth Zadeck <zadeck@naturalbridge.com> |
19631 | ||
19632 | * machmode.def: Fixed comments. | |
1c3ba85b | 19633 | |
9841210f KT |
19634 | 2011-01-24 Kai Tietz <kai.tietz@onevision.com> |
19635 | ||
19636 | * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t. | |
19637 | ||
19638 | 2011-01-24 Paul Koning <ni1d@arrl.net> | |
e046112d PK |
19639 | |
19640 | * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN != | |
1c3ba85b | 19641 | WORDS_BIG_ENDIAN. |
e046112d | 19642 | |
a6c5070a L |
19643 | 2011-01-24 H.J. Lu <hongjiu.lu@intel.com> |
19644 | ||
19645 | PR target/46519 | |
19646 | * config/i386/i386.c: Include sbitmap.h and fibheap.h. | |
19647 | (block_info): Add scanned and prev. | |
19648 | (move_or_delete_vzeroupper_2): Return if the basic block | |
19649 | has been scanned and the upper 128bit state is unchanged | |
19650 | from the last scan. | |
19651 | (move_or_delete_vzeroupper_1): Return true if the exit | |
19652 | state is changed. | |
19653 | (move_or_delete_vzeroupper): Visit basic blocks using the | |
19654 | work-list based algorithm based on vt_find_locations in | |
19655 | var-tracking.c. | |
19656 | ||
19657 | * config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H). | |
19658 | ||
a40d79d7 NC |
19659 | 2011-01-24 Nick Clifton <nickc@redhat.com> |
19660 | ||
19661 | * config/v850/v850.opt (mv850es): New option - alias for -mv850e1. | |
19662 | * config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass | |
19663 | -mv850e1 to the assembler. If -mv850e1 or -mv850es is specified | |
19664 | then define __v850e1__. | |
19665 | * doc/invoke.texi: Document -mv850es. | |
19666 | ||
440eb8de RH |
19667 | 2011-01-24 Richard Henderson <rth@redhat.com> |
19668 | ||
19669 | * config/rx/predicates.md (rx_fp_comparison_operator): Don't accept | |
19670 | compound unordered comparisons. | |
19671 | * config/rx/rx.c (rx_split_fp_compare): Remove. | |
19672 | * config/rx/rx-protos.h: Update. | |
19673 | * config/rx/rx.md (gcc_conds, rx_conds): Remove. | |
19674 | (cbranchsf4): Don't call rx_split_fp_compare. | |
19675 | (*cbranchsf4): Use rx_split_cbranch. | |
19676 | (*cmpsf): Don't accept "i" constraint. | |
19677 | (*conditional_branch): Only valid after reload. | |
19678 | (cstoresf4): Merge expander with insn. Don't call rx_split_fp_compare. | |
19679 | ||
3ff79f99 MM |
19680 | 2011-01-24 Michael Meissner <meissner@linux.vnet.ibm.com> |
19681 | ||
19682 | PR target/47385 | |
19683 | * config/rs6000/altivec.md (vector constant splitters): Add | |
19684 | support for creating vector single precision constants if -mvsx is | |
19685 | used and we would create the constant using Altivec primitives. | |
19686 | ||
ff3d9d08 BS |
19687 | 2011-01-23 Bernd Schmidt <bernds@codesourcery.com> |
19688 | Richard Sandiford <rdsandiford@googlemail.com> | |
19689 | ||
19690 | PR rtl-optimization/47166 | |
19691 | * reload1.c (emit_reload_insns): Disable the spill_reg_store | |
19692 | mechanism for PRE_MODIFY and POST_MODIFY. | |
19693 | (inc_for_reload): For PRE_MODIFY, return the insn that sets the | |
19694 | reloadreg. | |
19695 | ||
7fcaf152 AS |
19696 | 2011-01-23 Andreas Schwab <schwab@linux-m68k.org> |
19697 | ||
8788adb6 | 19698 | * compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers. |
7fcaf152 | 19699 | |
d09b58c4 JH |
19700 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
19701 | ||
19702 | PR lto/47333 | |
19703 | * lto-cgraph.c (reachable_from_this_partition_p): Fix pasto. | |
19704 | ||
e8ff8c5a JH |
19705 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
19706 | ||
19707 | PR tree-optimization/43884 | |
19708 | PR lto/44334 | |
8788adb6 | 19709 | * predict.c (maybe_hot_frequency_p): Use entry block frequency as base. |
e8ff8c5a JH |
19710 | * doc/invoke.texi (hot-bb-frequency-fraction): Update docs. |
19711 | ||
ccaed3ba AS |
19712 | 2011-01-22 Anatoly Sokolov <aesok@post.ru> |
19713 | ||
19714 | * config/s390/s390.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. | |
19715 | * config/s390/s390.c (s390_register_move_cost, | |
19716 | s390_memory_move_cost): New. | |
19717 | (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define. | |
19718 | ||
0cecee06 UW |
19719 | 2011-01-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
19720 | ||
19721 | PR middle-end/47401 | |
19722 | * except.c (sjlj_assign_call_site_values): Move setting the | |
19723 | crtl->uses_eh_lsda flag to ... | |
19724 | (sjlj_mark_call_sites): ... here. | |
19725 | (sjlj_emit_function_enter): Support NULL dispatch label. | |
19726 | (sjlj_build_landing_pads): In a function with no landing pads | |
19727 | that still has must-not-throw regions, generate code to register | |
19728 | a personality function with empty LSDA. | |
19729 | ||
e692f276 RH |
19730 | 2011-01-21 Richard Henderson <rth@redhat.com> |
19731 | ||
1b7ae0b7 RH |
19732 | * config/rx/rx.c (TARGET_FLAGS_REGNUM): New. |
19733 | ||
3843787f RH |
19734 | * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New. |
19735 | ||
e692f276 RH |
19736 | * compare-elim.c: New file. |
19737 | * Makefile.in (OBJS-common): Add it. | |
19738 | (compare-elim.o): New. | |
19739 | * common.opt (fcompare-elim): New. | |
19740 | * opts.c (default_options_table): Add OPT_fcompare_elim. | |
19741 | * tree-pass.h (pass_compare_elim_after_reload): New. | |
19742 | * passes.c (init_optimization_passes): Add it. | |
19743 | * recog.h: Protect against re-inclusion. | |
19744 | * target.def (TARGET_FLAGS_REGNUM): New POD hook. | |
19745 | * doc/invoke.texi (-fcompare-elim): Document it. | |
19746 | * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Document it. | |
19747 | * doc/tm.texi: Rebuild. | |
19748 | ||
9a7c2050 NC |
19749 | 2011-01-22 Nick Clifton <nickc@redhat.com> |
19750 | ||
19751 | * config/rx/rx.md (cstoresf4): Pass comparison operator to | |
19752 | rx_split_fp_compare. | |
19753 | ||
15ba5696 NC |
19754 | 2011-01-22 Nick Clifton <nickc@redhat.com> |
19755 | ||
19756 | * config/rx/rx.md (UNSPEC_CONST): New. | |
19757 | (deallocate_and_return): Wrap the amount popped off the stack in | |
19758 | an UNSPEC_CONST in order to stop it being rejected by | |
19759 | -mmax-constant-size. | |
19760 | (pop_and_return): Add a "(return)" rtx. | |
19761 | (call): Drop the immediate operand. | |
19762 | (call_internal): Likewise. | |
19763 | (call_value): Likewise. | |
19764 | (call_value_internal): Likewise. | |
19765 | (sibcall_internal): Likewise. | |
19766 | (sibcall_value_internal): Likewise. | |
19767 | (sibcall): Likewise. Generate an explicit call using | |
19768 | sibcall_internal. | |
19769 | (sibcall_value): Likewise. | |
19770 | (mov<>): FAIL if a constant operand is not legitimate. | |
19771 | (addsi3_unpsec): New pattern. | |
9a7c2050 | 19772 | |
38be4072 | 19773 | * config/rx/rx.c (rx_print_operand_address): Handle UNSPEC CONSTs. |
15ba5696 NC |
19774 | (ok_for_max_constant): New function. |
19775 | (gen_safe_add): New function. | |
19776 | (rx_expand_prologue): Use gen_safe_add. | |
19777 | (rx_expand_epilogue): Likewise. | |
19778 | (rx_is_legitimate_constant): Use ok_for_max_constant. Handle | |
19779 | UNSPEC CONSTs. | |
19780 | ||
caaf13d3 JL |
19781 | 2011-01-21 Jeff Law <law@redhat.com> |
19782 | ||
19783 | PR tree-optimization/47053 | |
19784 | * tree-ssa-dse.c (need_eh_cleanup): New bitmap. | |
19785 | (dse_optimize_stmt): Set the appropriate bit in NEED_EH_CLEANUP when | |
19786 | statements are deleted. | |
19787 | (tree_ssa_dse): Allocate & free NEED_EH_CLEANUP. If NEED_EH_CLEANUP | |
19788 | is nonempty, then purge dead edges and cleanup the CFG. | |
19789 | ||
12c30f2f AO |
19790 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> |
19791 | ||
19792 | PR debug/47402 | |
19793 | Temporarily revert: | |
19794 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> | |
19795 | PR debug/47106 | |
19796 | * tree-dfa.c (create_var_ann): Mark variable as used. | |
19797 | ||
7360d2ac JJ |
19798 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
19799 | ||
aaa52a96 JJ |
19800 | PR middle-end/45566 |
19801 | * except.c (convert_to_eh_region_ranges): Emit queued no-region | |
19802 | notes from other section in hot/cold partitioning even if | |
19803 | last_action is -3. Increment call_site_base. | |
19804 | ||
7360d2ac JJ |
19805 | PR rtl-optimization/47366 |
19806 | * fwprop.c (forward_propagate_into): Return bool. If | |
19807 | any changes are made, -fnon-call-exceptions is used and | |
19808 | REG_EH_REGION note is present, call purge_dead_edges | |
19809 | and return true if it purged anything. | |
19810 | (fwprop_addr): Adjust callers, call cleanup_cfg (0) if | |
19811 | any EH edges were purged. | |
19812 | ||
e90b336f JL |
19813 | 2011-01-21 Jeff Law <law@redhat.com> |
19814 | ||
19815 | PR rtl-optimization/41619 | |
19816 | * caller-save.c (setup_save_areas): Break out code to determine | |
19817 | which hard regs are live across calls by examining the reload chains | |
19818 | so that it is always used. | |
19819 | Eliminate code which checked REG_N_CALLS_CROSSED. | |
19820 | ||
3ffe07e1 JJ |
19821 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
19822 | ||
19823 | PR tree-optimization/47355 | |
19824 | * tree-eh.c (cleanup_empty_eh_merge_phis): Give up if | |
19825 | NOP has non-debug uses beyond PHIs in new_bb. | |
19826 | ||
1c7d0b34 AO |
19827 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> |
19828 | ||
19829 | PR debug/47106 | |
19830 | * cfgexpand.c (account_used_vars_for_block): Only account vars | |
19831 | that are annotated as used. | |
19832 | (estimated_stack_frame_size): Don't set TREE_USED. | |
19833 | * tree-dfa.c (create_var_ann): Mark variable as used. | |
19834 | ||
f99cc488 RG |
19835 | 2011-01-21 Richard Guenther <rguenther@suse.de> |
19836 | ||
19837 | PR middle-end/47395 | |
19838 | * tree.def (WIDEN_MULT_MINUS_EXPR): Fix printed name. | |
19839 | ||
3bc27de7 RG |
19840 | 2011-01-21 Richard Guenther <rguenther@suse.de> |
19841 | ||
19842 | PR tree-optimization/47365 | |
19843 | * tree-ssa-sccvn.h (vn_lookup_kind): Declare. | |
19844 | (vn_reference_lookup_pieces): Adjust. | |
19845 | (vn_reference_lookup): Likewise. | |
19846 | * tree-ssa-sccvn.c (vn_walk_kind): New static global. | |
19847 | (vn_reference_lookup_3): Only look through kills if in | |
19848 | VN_WALKREWRITE mode. | |
19849 | (vn_reference_lookup_pieces): Adjust. | |
19850 | (vn_reference_lookup): Likewise. | |
19851 | (visit_reference_op_load): Likewise. | |
19852 | (visit_reference_op_store): Likewise. | |
19853 | * tree-ssa-pre.c (phi_translate_1): Use VN_WALK mode. | |
19854 | (compute_avail): Likewise. | |
19855 | (eliminate): Likewise. | |
19856 | ||
d8debb1d JJ |
19857 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
19858 | ||
19859 | * tree-ssa-live.c (remove_unused_scope_block_p): Don't remove | |
19860 | DECL_IGNORED_P non-reg vars if they are used. | |
19861 | ||
3a2df831 JJ |
19862 | PR tree-optimization/47391 |
19863 | * varpool.c (const_value_known_p): Return false if | |
19864 | decl is volatile. | |
19865 | ||
1dd584a2 KT |
19866 | 2011-01-21 Kai Tietz <kai.tietz@onevision.com> |
19867 | ||
19868 | PR bootstrap/47215 | |
19869 | * config/i386/i386.c (ix86_local_alignment): Handle | |
19870 | case for va_list_type_node is nil. | |
19871 | (ix86_canonical_va_list_type): Likewise. | |
19872 | ||
7f9f095e AM |
19873 | 2011-01-21 Alan Modra <amodra@gmail.com> |
19874 | ||
19875 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Add | |
19876 | builtin_define __CMODEL_MEDIUM__ and __CMODEL_LARGE__. | |
19877 | ||
837b01f6 RR |
19878 | 2011-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
19879 | ||
19880 | * config/arm/arm.md (define_attr type): Rename f_load | |
19881 | and f_store to f_fpa_load and f_fpa_store. Update. | |
19882 | (write_conflict): Deal with rename fallout. | |
19883 | (*push_fp_multi): Likewise. | |
19884 | * config/arm/fpa.md (f_load): Use f_fpa_load. | |
19885 | (f_store): Use f_fpa_store. | |
19886 | (*movsf_fpa): Likewise. | |
19887 | (*movdf_fpa): Likewise. | |
19888 | (*movxf_fpa): Likewise. | |
19889 | (*thumb2_movsf_fpa): Likewise. | |
19890 | (*thumb2_movdf_fpa): Likewise. | |
19891 | (*thumb2_movxf_fpa): Likewise. | |
19892 | * config/arm/vfp.md (*thumb2_movdf_vfp): Fix attribute to | |
19893 | f_loadd and f_stored. | |
19894 | (*thumb2_movdi_vfp): Likewise. | |
19895 | (*thumb2_movsf_vfp): Fix attribute to f_loads. | |
19896 | (*thumb2_movsi_vfp): Likewise. | |
19897 | * config/arm/cortex-m4-fpu.md (cortex_m4_f_load): | |
19898 | Use f_loads instead of f_load. | |
19899 | * config/arm/cortex-a5.md (cortex_a5_f_loads): Remove f_load. | |
19900 | ||
a1a79768 AS |
19901 | 2011-01-20 Anatoly Sokolov <aesok@post.ru> |
19902 | ||
19903 | * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
19904 | * config/xtensa/xtensa-protos.h (constantpool_address_p): Remove. | |
19905 | * config/xtensa/xtensa.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
19906 | (xtensa_mode_dependent_address_p): New function. | |
19907 | (constantpool_address_p): Make static. Change return type to bool. | |
19908 | Change argument type to const_rtx. Use CONST_INT_P predicate. | |
19909 | ||
427f6cec AO |
19910 | 2011-01-20 Alexandre Oliva <aoliva@redhat.com> |
19911 | ||
19912 | PR debug/46583 | |
19913 | * tree-ssa-live.c (remove_unused_scope_block_p): Keep type decls. | |
19914 | ||
583ac69c JJ |
19915 | 2011-01-20 Jakub Jelinek <jakub@redhat.com> |
19916 | ||
19917 | PR debug/47283 | |
19918 | * cfgexpand.c (expand_debug_expr): Instead of generating | |
19919 | (mem (debug_implicit_ptr)) for MEM_REFs use COMPONENT_REF | |
19920 | etc. handling. | |
19921 | ||
93e452ed RG |
19922 | 2011-01-20 Richard Guenther <rguenther@suse.de> |
19923 | ||
19924 | PR middle-end/47370 | |
19925 | * tree-inline.c (remap_gimple_op_r): Recurse manually for | |
19926 | the pointer operand of MEM_REFs. | |
19927 | ||
28fc44f3 JJ |
19928 | 2011-01-20 Jakub Jelinek <jakub@redhat.com> |
19929 | ||
19930 | PR tree-optimization/46130 | |
19931 | * ipa-split.c (consider_split): If return_bb contains non-virtual | |
19932 | PHIs other than for retval or if split_function would not adjust it, | |
19933 | refuse to split. | |
19934 | ||
ddd268f2 RG |
19935 | 2011-01-20 Richard Guenther <rguenther@suse.de> |
19936 | ||
19937 | PR tree-optimization/47167 | |
19938 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): | |
19939 | Revert previous change, only avoid enumeral type changes. | |
19940 | ||
882020aa MS |
19941 | 2011-01-19 Mike Stump <mikestump@comcast.net> |
19942 | ||
19943 | * doc/tm.texi.in (BRANCH_COST): Englishify. | |
19944 | * doc/tm.texi (BRANCH_COST): Likewise. | |
19945 | ||
7edb6247 DS |
19946 | 2011-01-19 Dodji Seketeli <dodji@redhat.com> |
19947 | ||
19948 | PR c++/47291 | |
19949 | * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen) | |
61052244 AM |
19950 | (gen_scheduled_generic_parms_dies): New functions. |
19951 | (gen_struct_or_union_type_die): Schedule template parameters DIEs | |
19952 | generation for the end of CU compilation. | |
19953 | (dwarf2out_finish): Generate template parameters DIEs here. | |
7edb6247 | 19954 | |
23d5ed5d AO |
19955 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
19956 | ||
19957 | PR debug/46240 | |
19958 | * tree-into-ssa.c (maybe_register_def): Do not attempt to add | |
19959 | debug bind stmt on merge edges. | |
19960 | ||
37d6a488 AO |
19961 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
19962 | ||
19963 | PR debug/47079 | |
19964 | PR debug/46724 | |
19965 | * function.c (instantiate_expr): Instantiate incoming rtl of | |
19966 | implicit arguments, and recurse on VALUE_EXPRs. | |
19967 | (instantiate_decls): Instantiate rtl and VALUE_EXPR of result. | |
19968 | * var-tracking.c (adjust_mems): Reject virtual_incoming_args_rtx. | |
19969 | ||
689f2c82 AO |
19970 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
19971 | ||
19972 | * c-parser.c (c_parser_for_statement): Initialize | |
19973 | collection_expression. | |
19974 | ||
03029de4 JM |
19975 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
19976 | ||
19977 | * config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}. | |
19978 | ||
3e03217e JM |
19979 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
19980 | ||
19981 | * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove. | |
19982 | (LINK_SHLIB_SPEC): Don't use %(link_path). | |
19983 | (SUBTARGET_EXTRA_SPECS): Remove link_path. | |
19984 | ||
5bbe9b3f JM |
19985 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
19986 | ||
19987 | * config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional. | |
19988 | (NO_SHARED_LIB_SUPPORT): Remove. | |
19989 | (LINK_SHLIB_SPEC): Remove one conditional definition. | |
19990 | ||
368e0b39 JM |
19991 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
19992 | ||
19993 | * config/mips/linux64.h (LINK_SPEC): Remove %{non_shared} | |
19994 | %{call_shared}. | |
19995 | * config/mips/mips.h (LINK_SPEC): Remove %{non_shared}. | |
19996 | * config/mips/netbsd.h (LINK_SPEC): Remove %{call_shared}. | |
19997 | * config/mips/openbsd.h (LINK_SPEC): Remove %{non_shared} | |
19998 | %{call_shared} and conditionals on these options not being passed. | |
19999 | * config/mips/sde.h (LINK_SPEC): Remove %{non_shared} | |
20000 | %{call_shared}. | |
20001 | ||
ed7656f6 JJ |
20002 | 2011-01-19 Jakub Jelinek <jakub@redhat.com> |
20003 | ||
68457901 JJ |
20004 | * ipa-split.c (find_return_bb): Use single_pred_p/single_pred_edge, |
20005 | simplify. | |
20006 | ||
ed7656f6 JJ |
20007 | * ipa-split.c: Spelling fixes. |
20008 | ||
e0d1958f RH |
20009 | 2011-01-19 Richard Henderson <rth@redhat.com> |
20010 | ||
20011 | * config/mn10300/mn10300.md (mulsi3): Use reg_or_am33_const_operand. | |
20012 | (*mulsi3): Likewise. | |
20013 | ||
27098b6b RH |
20014 | * longlong.h [__mn10300__] (count_leading_zeros): New. |
20015 | [__mn10300__] (umul_ppmm, smul_ppmm): New. | |
20016 | [__mn10300__] (add_ssaaaa, subddmmss): New. | |
20017 | [__mn10300__] (udiv_qrnnd, sdiv_qrnnd): New. | |
20018 | [__mn10300__] (UMUL_TIME, UDIV_TIME): New. | |
20019 | ||
d6be7c36 UW |
20020 | 2011-01-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
20021 | ||
20022 | * config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case. | |
20023 | ||
b1efde2a RH |
20024 | 2011-01-19 Richard Henderson <rth@redhat.com> |
20025 | ||
44217823 RH |
20026 | * config/mn10300/mn10300.md (addsi3_flags): New. |
20027 | (addc_internal, adddi3, adddi3_internal, *adddi3_degenerate): New. | |
20028 | (subsi3_flags, subc_internal, subdi3): New. | |
20029 | (subdi3_internal, *subdi3_degenerate): New. | |
20030 | * config/mn10300/predicates.md (reg_or_am33_const_operand): New. | |
20031 | ||
37a185d7 RH |
20032 | * config/mn10300/mn10300.c (mn10300_can_use_retf_insn): New. |
20033 | (mn10300_can_use_rets_insn): Rename from mn10300_can_use_return_insn. | |
20034 | (mn10300_expand_epilogue): Use it. Compute REG_SAVE_BYTES once. | |
20035 | * config/mn10300/mn10300-protos.h: Update. | |
20036 | * config/mn10300/mn10300.md (return): Use mn10300_can_use_retf_insn. | |
20037 | (return_ret): Likewise. Rename from return_internal_regs. | |
20038 | (return_internal): Remove. | |
20039 | ||
040c5757 RH |
20040 | * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): Remove. |
20041 | (mn10300_asm_output_addr_const_extra): Don't handle UNSPEC_INT_LABEL. | |
20042 | (mn10300_legitimate_constant_p): Likewise. | |
20043 | (mn10300_can_use_return_insn): Use mn10300_initial_offset. | |
20044 | (mn10300_frame_size): New. | |
20045 | (mn10300_expand_prologue): Use it. | |
20046 | (mn10300_expand_epilogue): Likewise. | |
20047 | (mn10300_initial_offset): Likewise. | |
20048 | * config/mn10300/mn10300-protos.h: Update. | |
20049 | * config/mn10300/mn10300.h (mn10300_unspec_int_label_counter): Remove. | |
20050 | * config/mn10300/mn10300.md (UNSPEC_INT_LABEL): Remove. | |
20051 | (prologue, epilogue, return_internal): Tidy output code. | |
20052 | (mn10300_store_multiple_operation, return): Likewise. | |
20053 | (int_label, pop_pic_reg, GOTaddr2picreg): Remove. | |
20054 | (am33_loadPC, mn10300_loadPC, call_next_insn): Remove. | |
20055 | (add_GOT_to_pic_reg, add_GOT_to_any_reg): Remove. | |
20056 | (load_pic, am33_load_pic): New. | |
20057 | (mn10300_load_pic0, mn10300_load_pic1): New. | |
20058 | ||
bad41521 RH |
20059 | * config/mn10300/mn10300-modes.def (CCZN, CCZNC): New modes. |
20060 | * config/mn10300/mn10300.c (CC_FLAG_Z): New. | |
20061 | (CC_FLAG_N, CC_FLAG_C, CC_FLAG_V): New. | |
20062 | (cc_flags_for_mode, cc_flags_for_code): New. | |
20063 | (mn10300_print_operand) ['B']: Use nc/ns for GE/LT when the | |
20064 | overflow flag is not valid. Validate that the flags we need | |
20065 | for the comparison are valid. | |
20066 | (mn10300_output_cmp): Remove. | |
20067 | (mn10300_output_add): New. | |
20068 | (mn10300_select_cc_mode): Use cc_flags_for_code. | |
20069 | (mn10300_split_cbranch): New. | |
20070 | (mn10300_match_ccmode): New. | |
20071 | (mn10300_split_and_operand_count): New. | |
20072 | * config/mn10300/mn10300.h (SELECT_CC_MODE): Pass all of the arguments | |
20073 | to the function. | |
20074 | * config/mn10300/mn10300.md (*am33_addsi3, *mn10300_addsi3): Merge... | |
20075 | (addsi3): ... here. Use mn10300_output_add. | |
20076 | (*addsi3_flags): New. | |
20077 | (*am33_subsi3, *mn10300_subsi3): Merge... | |
20078 | (subsi3): ... here. Use attribute isa. | |
20079 | (*subsi3_flags): New. | |
20080 | (negsi2): Rewrite from expander to insn_and_split. Use NOT+INC | |
20081 | when possible. | |
20082 | (*am33_andsi3, *mn10300_andsi3): Merge... | |
20083 | (andsi3): ... here. | |
20084 | (*andsi3_flags): New. | |
20085 | (andsi3 splitters): New. | |
20086 | (*am33_iorsi3, *mn10300_iorsi3): Merge... | |
20087 | (iorsi3): ... here. | |
20088 | (*iorsi3_flags): New. | |
20089 | (*am33_xorsi3, *mn10300_xorsi3): Merge... | |
20090 | (xorsi3): ... here. | |
20091 | (*xorsi3_flags): New. | |
20092 | (*am33_cmpsi2, *mn10300_cmplsi2): Merge... | |
20093 | (one_cmplsi2): ... here. | |
20094 | (*one_cmplsi2_flags): New. | |
20095 | (*cbranchsi4_cmp): Rename from cbranchsi4_post_reload. Use "r" | |
20096 | instead of "dax" in constraints. Use mn10300_split_cbranch. | |
20097 | (*cmpsi): Rename from cmpsi. Do not use mn10300_output_cmp. Do not | |
20098 | use matching constraints to eliminate a self-comparison. | |
20099 | (*integer_conditional_branch): Rename from integer_conditional_branch. | |
20100 | Use int_mode_flags to match CC_REG. | |
20101 | (*cbranchsi4_btst, *btstsi): New. | |
20102 | (*cbranchsf4_cmp): Rename from *cbranchsf4_post_reload. Use | |
20103 | mn10300_split_cbranch. | |
20104 | (*am33_cmpsf): Rename from am33_cmpsf. | |
20105 | (*float_conditional_branch): Rename from float_conditional_branch. | |
20106 | (*zero_extendqisi2_am33, *zero_extendqisi2_mn10300): Merge... | |
20107 | (zero_extendqisi2): ... here. | |
20108 | (*zero_extendhisi2_am33, *zero_extendhisi2_mn10300): Merge... | |
20109 | (zero_extendhisi2): ... here. | |
20110 | (*extendqisi2_am33, *extendqisi2_mn10300): Merge... | |
20111 | (extendqisi2): ... here. | |
20112 | (*extendhisi2_am33, *extendhisi2_mn10300): Merge... | |
20113 | (extendhisi2): ... here. | |
20114 | (*am33_ashlsi3, *mn10300_ashlsi3): Merge... | |
20115 | (ashlsi3): ... here. | |
20116 | (*am33_lshrsi3, *mn10300_lshrsi3): Merge... | |
20117 | (lshrsi3): ... here. | |
20118 | (*am33_ashrisi3, *mn10300_ashrsi3): Merge... | |
20119 | (ashrsi3): ... here. | |
20120 | (consecutive add peephole): Remove. | |
20121 | * config/mn10300/predicates.md (label_ref_operand): New. | |
20122 | (int_mode_flags): New. | |
20123 | (CCZN_comparison_operator): New. | |
20124 | ||
9efb4993 RH |
20125 | * config/mn10300/mn10300.md (UNSPEC_EXT): New. |
20126 | (throughput_42_latency_43): New reservation. | |
20127 | (mulsidi3, umulsidi3): New expanders. | |
20128 | (mulsidi3_internal): Rewrite from old mulsidi3 pattern. Expose | |
20129 | the MDR register to allocation; separately allocate the low and | |
20130 | high parts of the DImode result. | |
20131 | (umulsidi3_internal): Similarly. | |
20132 | (*am33_mulsi3, *mn10300_mulsi3): Merge into ... | |
20133 | (*mulsi3): ... here. Clobber MDR as a scratch as necessary. | |
20134 | (udivsi3, umodsi3): Remove. | |
20135 | (udivmodsi4, divmodsi4): New expanders. | |
20136 | (*udivmodsi4): Rename from udivmodsi4. Expose MDR properly. | |
20137 | (*divmodsi4): Simiarly. | |
20138 | (ext_internal): New. | |
20139 | ||
c25a21f5 RH |
20140 | * config/mn10300/constraints.md ("z"): New constraint. |
20141 | * config/mn10300/mn10300.h (MDR_REGNUM): Remove. | |
20142 | (FIXED_REGISTERS): Don't fix MDR. | |
20143 | (CALL_USED_REGSITERS): Reformat nicely. | |
20144 | (REG_ALLOC_ORDER): Add MDR. | |
20145 | (enum regclass): Add MDR_REGS. | |
20146 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update to match. | |
20147 | (IRA_COVER_CLASSES): Add MDR_REGS. | |
20148 | (REGNO_REG_CLASS): Handle MDR_REG. | |
20149 | * config/mn10300/mn10300.c (mn10300_secondary_reload): Handle MDR_REGS. | |
20150 | (mn10300_register_move_cost): Likewise. | |
20151 | * config/mn10300/mn10300.md (MDR_REG): New. | |
20152 | (*movsi_internal): Handle moves to/from MDR_REGS. | |
20153 | ||
36846b26 RH |
20154 | * config/mn10300/mn10300.c (mn10300_print_operand_address): Handle |
20155 | POST_MODIFY. | |
20156 | (mn10300_secondary_reload): Tidy combination reload classes. | |
20157 | (mn10300_legitimate_address_p): Allow post-modify and reg+reg | |
20158 | addresses for AM33. Allow symbolic offsets for reg+imm. | |
20159 | (mn10300_regno_in_class_p): New. | |
20160 | (mn10300_legitimize_reload_address): New. | |
20161 | * config/mn10300/mn10300.h (enum reg_class): Remove | |
20162 | DATA_OR_ADDRESS_REGS, DATA_OR_EXTENDED_REGS, ADDRESS_OR_EXTENDED_REGS, | |
20163 | SP_OR_EXTENDED_REGS, SP_OR_ADDRESS_OR_EXTENDED_REGS. Add | |
20164 | SP_OR_GENERAL_REGS. | |
20165 | (REG_CLASS_NAMES): Update to match. | |
20166 | (REG_CLASS_CONTENTS): Likewise. | |
20167 | (INDEX_REG_CLASS): Use GENERAL_REGS for AM33. | |
20168 | (BASE_REG_CLASS): Use SP_OR_GENERAL_REGS for AM33. | |
20169 | (REGNO_IN_RANGE_P): Remove. | |
20170 | (REGNO_DATA_P): Use mn10300_regno_in_class_p. | |
20171 | (REGNO_ADDRESS_P, REGNO_EXTENDED_P): Likewise. | |
20172 | (REGNO_STRICT_OK_FOR_BASE_P): Likewise. | |
20173 | (REGNO_STRICT_OK_FOR_BIT_BASE_P): Likewise. | |
20174 | (REGNO_STRICT_OK_FOR_INDEX_P): Likewise. | |
20175 | (REGNO_SP_P, REGNO_AM33_P, REGNO_FP_P): Remove. | |
20176 | (REGNO_GENERAL_P): New. | |
20177 | (HAVE_POST_MODIFY_DISP): New. | |
20178 | (USE_LOAD_POST_INCREMENT, USE_STORE_POST_INCREMENT): New. | |
20179 | (LEGITIMIZE_RELOAD_ADDRESS): New. | |
20180 | * config/mn10300/mn10300-protos.h: Update. | |
20181 | ||
8b119bb6 RH |
20182 | * config/mn10300/mn10300.c (mn10300_preferred_reload_class): Allow |
20183 | DATA_REGS for AM33 stack-pointer destination. | |
20184 | (mn10300_preferred_output_reload_class): Likewise. | |
20185 | (mn10300_secondary_reload): Rearrange mn10300_secondary_reload_class | |
20186 | into a form appropriate for ... | |
20187 | (TARGET_SECONDARY_RELOAD): New. | |
20188 | * config/mn10300/mn10300.h (SECONDARY_RELOAD_CLASS): Remove. | |
20189 | * config/mn10300/mn10300-protos.h: Update. | |
20190 | * config/mn10300/mn10300.md (reload_plus_sp_const): Rename from | |
20191 | reload_insi; use the "A" constraint for the scratch; handle AM33 | |
20192 | moves of sp to non-address registers. | |
20193 | ||
b1efde2a RH |
20194 | * config/mn10300/mn10300.md (*am33_movqi, *mn10300_movqi): Merge into |
20195 | (*movqi_internal): ... here. | |
20196 | (*am33_movhi, *mn10300_movhi): Merge into... | |
20197 | (*movhi_internal): ... here. | |
20198 | (*movsi_internal): Use "r" instead of "dax" in constraints. Use "A" | |
20199 | as the source/destination of moves from/to SP. | |
20200 | (movsf): Only allow for AM33-2. | |
1c3ba85b | 20201 | (*movsf_internal): Use "r" instead of "dax"; use "F" instead of |
b1efde2a RH |
20202 | any integer constant constraint. Only allow for AM33-2. Tidy |
20203 | all of the alternative outputs. | |
20204 | (movdi, movdf, *am33_2_movdf, *mn10300_movdf): Remove. | |
20205 | (udivmodsi4): Delete expander and promote *udivmodsi4. Disallow | |
20206 | for MN103. | |
20207 | (udivsi3, umodsi3): New patterns for MN103 only. | |
20208 | ||
b899fd78 JR |
20209 | 2011-01-19 Joern Rennecke <amylaar@spamcop.net> |
20210 | ||
20211 | * doc/tm.texi.in: Spell out that a lack of register class unions | |
20212 | can lead to ICEs. | |
20213 | * doc/tm.texi: Regenerate. | |
20214 | ||
afaaa67d JJ |
20215 | 2011-01-19 Jakub Jelinek <jakub@redhat.com> |
20216 | ||
2e0642cd JJ |
20217 | PR rtl-optimization/47337 |
20218 | * dce.c (check_argument_store): New function. | |
20219 | (find_call_stack_args): Ignore debug insns. Use check_argument_store. | |
20220 | ||
afaaa67d JJ |
20221 | PR tree-optimization/47290 |
20222 | * tree-eh.c (infinite_empty_loop_p): New function. | |
20223 | (cleanup_empty_eh): Use it. | |
20224 | ||
d2cd871f SE |
20225 | 2011-01-18 Steve Ellcey <sje@cup.hp.com> |
20226 | ||
20227 | PR target/46997 | |
20228 | * ia64.c (ia64_expand_unpack): Fix code for TARGET_BIG_ENDIAN. | |
20229 | (a64_expand_widen_sum): Ditto. | |
20230 | * vect.md (mulv2si3): Disable for TARGET_BIG_ENDIAN. | |
20231 | (vec_extract_evenodd_help): Ditto. | |
20232 | (vec_extract_evenv4hi): Ditto. | |
20233 | (vec_extract_oddv4hi): Ditto. | |
20234 | (vec_extract_evenv2si): Ditto. | |
20235 | (vec_extract_oddv2si): Ditto. | |
20236 | (vec_extract_evenv2sf): Ditto. | |
20237 | (vec_extract_oddv2sf): Ditto. | |
20238 | (vec_pack_trunc_v4hi: Ditto. | |
20239 | (vec_pack_trunc_v2si): Ditto. | |
20240 | (vec_interleave_lowv8qi): Fix for TARGET_BIG_ENDIAN. | |
20241 | (vec_interleave_highv8qi): Ditto. | |
20242 | (mix1_r): Ditto. | |
20243 | (vec_extract_oddv8qi): Ditto. | |
20244 | (vec_interleave_lowv4hi): Ditto. | |
20245 | (vec_interleave_highv4hi): Ditto. | |
20246 | (vec_interleave_lowv2si): Ditto. | |
20247 | (vec_interleave_highv2si): Ditto. | |
20248 | ||
41a1208a JDA |
20249 | 2011-01-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
20250 | ||
20251 | * doc/extend.texi: Mention __float128 support on hppa HP-UX. | |
20252 | * config/pa/pa-hpux.h (HPUX_LONG_DOUBLE_LIBRARY): Define to 1. | |
20253 | * config/pa/pa.c (pa_expand_builtin): New. Include "langhooks.h". | |
20254 | (pa_c_mode_for_suffix): New. | |
20255 | (TARGET_EXPAND_BUILTIN): Define. | |
20256 | (TARGET_C_MODE_FOR_SUFFIX): Define. | |
20257 | (pa_builtins): Define. | |
20258 | (pa_init_builtins): Register __float128 type and init new support | |
20259 | builtins. | |
20260 | * config/pa/pa.h (HPUX_LONG_DOUBLE_LIBRARY): Define if not defined. | |
20261 | * config/pa/quadlib.c (_U_Qfcopysign): New. | |
20262 | ||
1ecad98e EB |
20263 | 2011-01-18 Eric Botcazou <ebotcazou@adacore.com> |
20264 | ||
20265 | PR middle-end/46894 | |
20266 | * explow.c (allocate_dynamic_stack_space): Do not assume more than | |
20267 | BITS_PER_UNIT alignment if STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET | |
20268 | are defined. | |
20269 | ||
d4f2460a UW |
20270 | 2011-01-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
20271 | ||
20272 | PR tree-optimization/47179 | |
20273 | * config/spu/spu.c (spu_ref_may_alias_errno): New function. | |
20274 | (TARGET_REF_MAY_ALIAS_ERRNO): Define. | |
20275 | ||
4994da65 RG |
20276 | 2011-01-18 Richard Guenther <rguenther@suse.de> |
20277 | ||
20278 | PR rtl-optimization/47216 | |
20279 | * emit-rtl.c: Include tree-flow.h. | |
20280 | (set_mem_attributes_minus_bitpos): Use tree_could_trap_p instead | |
20281 | of replicating it with different semantics. | |
20282 | * Makefile.in (emit-rtl.o): Adjust. | |
20283 | ||
1eb458d1 RR |
20284 | 2011-01-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
20285 | ||
38be4072 | 20286 | * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually include. |
61052244 | 20287 | (cortex_a9_dp): Handle neon types correctly. |
1eb458d1 | 20288 | |
e7ef91dc JJ |
20289 | 2011-01-18 Jakub Jelinek <jakub@redhat.com> |
20290 | ||
20291 | PR rtl-optimization/47299 | |
20292 | * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use | |
38be4072 | 20293 | subtarget. Use normal multiplication if both operands are constants. |
e7ef91dc JJ |
20294 | * expmed.c (expand_widening_mult): Don't try to optimize constant |
20295 | multiplication if op0 has VOIDmode. Convert op1 constant to mode | |
20296 | before using it. | |
20297 | ||
535b7874 RW |
20298 | 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
20299 | ||
20300 | * doc/lto.texi (LTO): Ensure two spaces after period. Fix | |
20301 | spacing after 'e.g.', typos, comma, hyphenation. | |
20302 | ||
27bf36f3 RH |
20303 | 2011-01-17 Richard Henderson <rth@redhat.com> |
20304 | ||
8a5b5449 RH |
20305 | * config/rx/predicates.md (rx_constshift_operand): Use match_test. |
20306 | (rx_restricted_mem_operand): New. | |
20307 | (rx_shift_operand): Use register_operand. | |
20308 | (rx_source_operand, rx_compare_operand): Likewise. | |
20309 | * config/rx/rx.md (addsi3_flags): New expander. | |
20310 | (adddi3): Rewrite as expander. | |
20311 | (adc_internal, *adc_flags, adddi3_internal): New patterns. | |
20312 | (subsi3_flags): New expander. | |
20313 | (subdi3): Rewrite as expander. | |
20314 | (sbb_internal, *sbb_flags, subdi3_internal): New patterns. | |
20315 | ||
784f69be RH |
20316 | * config/rx/rx.c (RX_BUILTIN_SAT): Remove. |
20317 | (rx_init_builtins): Remove sat builtin. | |
20318 | (rx_expand_builtin): Likewise. | |
20319 | * config/rx/rx.md (ssaddsi3): New. | |
20320 | (*sat): Rename from sat. Represent the CC_REG input. | |
20321 | ||
f033541c RH |
20322 | * config/rx/predicates.md (rshift_operator): New. |
20323 | * config/rx/rx.c (rx_expand_insv): Remove. | |
20324 | * config/rx/rx-protos.h: Update. | |
20325 | * config/rx/rx.md (*bitset): Rename from bitset. Swap the ashift | |
20326 | operand to the canonical position. | |
20327 | (*bitset_in_memory, *bitinvert, *bitinvert_in_memory): Similarly. | |
20328 | (*bitclr, *bitclr_in_memory): Similarly. | |
20329 | (*insv_imm, rx_insv_reg, *insv_cond, *bmcc, *insv_cond_lt): New. | |
20330 | (insv): Retain the zero_extract in the expansion. | |
20331 | ||
34fee389 RH |
20332 | * config/rx/rx.md (bswapsi2): Use = not + for output reload. |
20333 | (bswaphi2, bitinvert, revw): Likewise. | |
20334 | ||
265c835f RH |
20335 | * config/rx/rx.c (gen_rx_store_vector): Use VOIDmode for gen_rtx_SET. |
20336 | (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise. | |
20337 | * config/rx/rx.md (pop_and_return): Use VOIDmode for SET. | |
20338 | (stack_push, stack_pushm, stack_pop, stack_popm): Likewise. | |
20339 | (bitset, bitset_in_memory): Likewise. | |
20340 | (bitinvert, bitinvert_in_memory): Likewise. | |
20341 | (bitclr, bitclr_in_memory): Likewise. | |
20342 | (insv, sync_lock_test_and_setsi, movstr, rx_movstr): Likewise. | |
20343 | (rx_strend, rx_cmpstrn): Likewise. | |
20344 | (rx_setmem): Likewise. Make the source BLKmode to match the dest. | |
20345 | (bitop peep2 patterns): Remove. | |
20346 | ||
b4d83be3 RH |
20347 | * config/rx/rx.c (rx_match_ccmode): New. |
20348 | * config/rx/rx-protos.h: Update. | |
20349 | * config/rx/rx.md (abssi2): Clobber, don't set flags. | |
20350 | (addsi3, adddi3, andsi3, negsi2, one_cmplsi2, iorsi3): Likewise. | |
20351 | (rotlsi3, rotrsi3, ashrsi3, lshrsi3, ashlsi3): Likewise. | |
20352 | (subsi3, subdi3, xorsi3, addsf3, divsf3, mulsf3, subsf3): Likewise. | |
20353 | (fix_truncsfsi2, floatsisf2): Likewise. | |
20354 | (*abssi2_flags, *addsi3_flags, *andsi3_flags, *negsi2_flags): New. | |
20355 | (*one_cmplsi2_flags, *iorsi3_flags, *rotlsi3_flags): New. | |
20356 | (*rotrsi3_flags, *ashrsi3_flags, *lshrsi3_flags, *ashlsi3_flags): New. | |
20357 | (*subsi3_flags, *xorsi3_flags): New. | |
20358 | ||
d0acb939 RH |
20359 | * config/rx/rx.md (cstoresf4, *cstoresf4): New patterns. |
20360 | ||
c06fc3d9 RH |
20361 | * config/rx/rx.c (rx_print_operand): Remove workaround for |
20362 | unsplit comparison operations. | |
20363 | ||
2882702b RH |
20364 | * config/rx/rx.md (movsicc): Split after reload. |
20365 | (*movsicc): Merge *movsieq and *movsine via match_operator. | |
20366 | (*stcc): New pattern. | |
20367 | ||
6f7310f2 RH |
20368 | * config/rx/rx.c (rx_float_compare_mode): Remove. |
20369 | * config/rx/rx.h (rx_float_compare_mode): Remove. | |
20370 | * config/rx/rx.md (cstoresi4): Split after reload. | |
20371 | (*sccc): New pattern. | |
20372 | ||
e963cb1a RH |
20373 | * config/rx/predicates.md (label_ref_operand): New. |
20374 | (rx_z_comparison_operator): New. | |
20375 | (rx_zs_comparison_operator): New. | |
20376 | (rx_fp_comparison_operator): New. | |
20377 | * config/rx/rx.c (rx_print_operand) [B]: Examine comparison modes. | |
20378 | Validate that the flags are set properly for the comparison. | |
20379 | (rx_gen_cond_branch_template): Remove. | |
20380 | (rx_cc_modes_compatible): Remove. | |
20381 | (mode_from_flags): New. | |
20382 | (flags_from_code): Rename from flags_needed_for_conditional. | |
20383 | (rx_cc_modes_compatible): Re-write in terms of flags_from_mode. | |
20384 | (rx_select_cc_mode): Likewise. | |
20385 | (rx_split_fp_compare): New. | |
20386 | (rx_split_cbranch): New. | |
20387 | * config/rx/rx.md (most_cond, zs_cond): Remove iterators. | |
20388 | (*cbranchsi4): Use match_operator and rx_split_cbranch. | |
20389 | (*cbranchsf4): Similarly. | |
20390 | (*cbranchsi4_tst): Rename from *tstbranchsi4_<code>. Use | |
20391 | match_operator and rx_split_cbranch. | |
20392 | (*cbranchsi4_tst_ext): Combine *tstbranchsi4m_eq and | |
20393 | tstbranchsi4m_ne. Use match_operator and rx_split_cbranch. | |
20394 | (*cmpsi): Rename from cmpsi. | |
20395 | (*tstsi): Rename from tstsi. | |
20396 | (*cmpsf): Rename from cmpsf; use CC_Fmode. | |
20397 | (*conditional_branch): Rename from conditional_branch. | |
20398 | (*reveresed_conditional_branch): Remove. | |
20399 | (b<code>): Remove expander. | |
20400 | * config/rx/rx-protos.h: Update. | |
20401 | ||
af530bb4 RH |
20402 | * config/rx/rx.c (rx_compare_redundant): Remove. |
20403 | * config/rx/rx.md (cmpsi): Don't use it. | |
20404 | * config/rx/rx-protos.h: Update. | |
20405 | ||
27bf36f3 RH |
20406 | * config/rx/rx-modes.def (CC_F): New mode. |
20407 | * config/rx/rx.c (rx_select_cc_mode): New. | |
20408 | * config/rx/rx.h (SELECT_CC_MODE): Use it. | |
20409 | * config/rx/rx-protos.h: Update. | |
20410 | ||
d7fde127 RH |
20411 | 2011-01-17 Richard Henderson <rth@redhat.com> |
20412 | ||
20413 | * except.c (dump_eh_tree): Fix stray ; after for statement. | |
20414 | ||
6ff38230 RG |
20415 | 2011-01-17 Richard Guenther <rguenther@suse.de> |
20416 | ||
20417 | PR tree-optimization/47313 | |
20418 | * tree-inline.c (tree_function_versioning): Move DECL_RESULT | |
20419 | handling before copying the body. Properly deal with | |
20420 | by-reference result in SSA form. | |
20421 | ||
114ce554 ILT |
20422 | 2011-01-17 Ian Lance Taylor <iant@google.com> |
20423 | ||
bf5cd92b | 20424 | PR target/47219 |
114ce554 ILT |
20425 | * config/sparc/sparc.c (sparc_sr_alias_set): Don't define. |
20426 | (struct_value_alias_set): Don't define. | |
20427 | (sparc_option_override): Don't set sparc_sr_alias_set and | |
20428 | struct_value_alias_set. | |
20429 | (save_or_restore_regs): Use gen_frame_mem rather than calling | |
20430 | set_mem_alias_set. | |
20431 | (sparc_struct_value_rtx): Likewise. | |
20432 | ||
98c6d93c L |
20433 | 2011-01-17 H.J. Lu <hongjiu.lu@intel.com> |
20434 | ||
20435 | PR target/47318 | |
7a81008b | 20436 | * config/i386/avxintrin.h (_mm_maskload_pd): Change mask to __m128i. |
98c6d93c L |
20437 | (_mm_maskstore_pd): Likewise. |
20438 | (_mm_maskload_ps): Likewise. | |
20439 | (_mm_maskstore_ps): Likewise. | |
20440 | (_mm256_maskload_pd): Change mask to __m256i. | |
20441 | (_mm256_maskstore_pd): Likewise. | |
20442 | (_mm256_maskload_ps): Likewise. | |
20443 | (_mm256_maskstore_ps): Likewise. | |
20444 | ||
20445 | * config/i386/i386-builtin-types.def: Updated. | |
20446 | (ix86_expand_special_args_builtin): Likewise. | |
20447 | ||
20448 | * config/i386/i386.c (bdesc_special_args): Update | |
20449 | __builtin_ia32_maskloadpd, __builtin_ia32_maskloadps, | |
20450 | __builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256, | |
20451 | __builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps, | |
20452 | __builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256. | |
20453 | ||
20454 | * config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>): | |
20455 | Use <avxpermvecmode> on mask register. | |
20456 | (avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise. | |
20457 | ||
b9361af2 | 20458 | 2011-01-17 Olivier Hainque <hainque@adacore.com> |
61052244 AM |
20459 | Michael Haubenwallner <michael.haubenwallner@salomon.at> |
20460 | Eric Botcazou <ebotcazou@adacore.com> | |
b9361af2 OH |
20461 | |
20462 | PR target/46655 | |
20463 | * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only | |
20464 | if <= USHRT_MAX in 32-bit mode. | |
20465 | ||
b7ae9eb5 RW |
20466 | 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
20467 | ||
20468 | * doc/install.texi (Configuration, Specific): Wrap long | |
20469 | lines in examples. Allow line wrapping in long options | |
20470 | and URLs where beneficial for PDF output. | |
20471 | ||
4377fad9 RS |
20472 | 2011-01-16 Richard Sandiford <rdsandiford@googlemail.com> |
20473 | ||
20474 | * config/mips/mips.c (mips_classify_symbol): Don't return | |
20475 | SYMBOL_PC_RELATIVE for nonlocal labels. | |
20476 | ||
55959ffa | 20477 | 2011-01-15 Eric Botcazou <ebotcazou@adacore.com> |
be46831f | 20478 | |
55959ffa EB |
20479 | * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo. |
20480 | ||
20481 | 2011-01-15 Jan Hubicka <jh@suse.cz> | |
20482 | ||
20483 | PR tree-optimization/47276 | |
be46831f JH |
20484 | * ipa.c (function_and_variable_visibility): Do not try to mark alias |
20485 | declarations as needed. | |
20486 | ||
05842ff5 MJ |
20487 | 2011-01-15 Martin Jambor <mjambor@suse.cz> |
20488 | ||
20489 | * common.opt (fdevirtualize): New flag. | |
20490 | * doc/invoke.texi (Option Summary): Document it. | |
20491 | * opts.c (default_options_table): Add devirtualize flag. | |
20492 | * ipa-prop.c (detect_type_change): Return immediately if | |
20493 | devirtualize flag is not set. | |
20494 | (detect_type_change_ssa): Likewise. | |
20495 | (compute_known_type_jump_func): Likewise. | |
20496 | (ipa_analyze_virtual_call_uses): Likewise. | |
20497 | ||
f65cf2b7 MJ |
20498 | 2011-01-14 Martin Jambor <mjambor@suse.cz> |
20499 | ||
20500 | PR tree-optimization/45934 | |
20501 | PR tree-optimization/46302 | |
20502 | * ipa-prop.c (type_change_info): New type. | |
20503 | (stmt_may_be_vtbl_ptr_store): New function. | |
20504 | (check_stmt_for_type_change): Likewise. | |
20505 | (detect_type_change): Likewise. | |
20506 | (detect_type_change_ssa): Likewise. | |
20507 | (compute_complex_assign_jump_func): Check for dynamic type change. | |
20508 | (compute_complex_ancestor_jump_func): Likewise. | |
20509 | (compute_known_type_jump_func): Likewise. | |
20510 | (compute_scalar_jump_functions): Likewise. | |
20511 | (ipa_analyze_virtual_call_uses): Likewise. | |
20512 | (ipa_analyze_node): Push and pop cfun, set current_function_decl. | |
20513 | ||
eb5bb0fd JM |
20514 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20515 | ||
20516 | * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5. | |
20517 | * config/i386/i386.opt (msse5): New Alias. | |
20518 | ||
f2060fbe JM |
20519 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20520 | ||
20521 | * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}. | |
20522 | * config/sparc/linux64.h (CC1_SPEC): Likewise. | |
20523 | * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
20524 | * config/sparc/sparc.h (CC1_SPEC): Likewise. | |
20525 | ||
3a7b4385 JM |
20526 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20527 | ||
20528 | * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of | |
20529 | -mcpu options. | |
20530 | * config/sparc/linux64.h (CC1_SPEC): Likewise. | |
20531 | * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
20532 | * config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise. | |
20533 | * config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC): | |
20534 | Likewise. | |
20535 | * config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8. | |
20536 | ||
a7b778f8 JM |
20537 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20538 | ||
38be4072 | 20539 | * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or -fvec-eabi. |
a7b778f8 | 20540 | |
a7edae0a MS |
20541 | 2011-01-14 Mike Stump <mikestump@comcast.net> |
20542 | ||
20543 | * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set. | |
20544 | * config/fr30/fr30.md: Likweise | |
20545 | (movsi_push): Likewise. | |
20546 | (movsi_pop): Likewise. | |
20547 | (enter_func): Likewise. | |
20548 | * config/moxie/moxie.md (movsi_push): Likewise. | |
20549 | (movsi_pop): Likewise. | |
20550 | ||
cbabf03f JM |
20551 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20552 | ||
20553 | * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum} | |
20554 | %{no_archive} %{exact_version}. | |
20555 | * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}. | |
20556 | * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum} | |
20557 | %{no_archive} %{exact_version}. | |
20558 | * config/mips/openbsd.h (LINK_SPEC): Likewise. | |
20559 | * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}. | |
20560 | * config/mips/vxworks.h: Likewise. | |
20561 | ||
438da41a JM |
20562 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20563 | ||
38be4072 | 20564 | * config/microblaze/microblaze.h (ASM_SPEC): Remove %{microblaze1}. |
438da41a | 20565 | |
da290a42 JM |
20566 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20567 | ||
20568 | * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC, | |
20569 | ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove. | |
20570 | ||
8989d00e JM |
20571 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20572 | ||
20573 | * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not | |
20574 | -nodefaultlib. | |
20575 | ||
a3010a69 JM |
20576 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20577 | ||
20578 | * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check | |
20579 | for mcpu not cpu. | |
20580 | * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC, | |
20581 | CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu | |
20582 | not cpu. | |
20583 | (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options. | |
20584 | Don't handle -shlib. | |
20585 | ||
e7f2f537 JM |
20586 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20587 | ||
20588 | * config/avr/avr.h (CPP_SPEC): Don't handle -posix. | |
20589 | (CC1_SPEC): Don't handle -profile. | |
20590 | ||
34830bfd JM |
20591 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20592 | ||
20593 | * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec. | |
20594 | * config/mips/mips.h (CC1_SPEC): Likewise. | |
20595 | ||
b2d36e74 JM |
20596 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20597 | ||
20598 | * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }. | |
20599 | * config/mips/mips.h (CC1_SPEC): Likewise. | |
20600 | ||
dabadc52 JM |
20601 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20602 | ||
20603 | * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional. | |
20604 | * config/m32r/linux.h (LINK_SPEC): Likewise. | |
20605 | * config/mips/linux.h (LINK_SPEC): Likewise. | |
20606 | * config/mips/linux64.h (LINK_SPEC): Likewise. | |
20607 | * config/sparc/linux.h (LINK_SPEC): Likewise. | |
20608 | * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC, | |
20609 | LINK_SPEC): Likewise. | |
20610 | * config/xtensa/linux.h (LINK_SPEC): Likewise. | |
20611 | ||
43ee6785 JM |
20612 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20613 | ||
20614 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove | |
20615 | %{version:-v}. | |
20616 | * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise. | |
20617 | ||
45e79dfd JM |
20618 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20619 | ||
20620 | * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}. | |
20621 | * config/sparc/sp64-elf.h (ASM_SPEC): Likewise. | |
20622 | ||
37e9e71d JM |
20623 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
20624 | ||
20625 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}. | |
20626 | ||
bb127cd8 RO |
20627 | 2011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
20628 | ||
20629 | * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always | |
20630 | supports -Bstatic/-Bdynamic. | |
20631 | * configure: Regenerate. | |
20632 | ||
89a012ea | 20633 | 2011-01-14 Jan Hubicka <jh@suse.cz> |
509d65dd | 20634 | Jack Howarth <howarth@bromo.med.uc.edu> |
89a012ea JH |
20635 | |
20636 | PR target/46037 | |
20637 | * config/darwin.c (darwin_override_options): Honor flag_gtoggle | |
20638 | when checking debug_info_level. Test write_symbols instead of | |
20639 | debug_hooks->var_location when setting flag_var_tracking_uninit. | |
20640 | ||
7352c013 RG |
20641 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
20642 | ||
20643 | PR tree-optimization/47179 | |
20644 | * target.def (ref_may_alias_errno): New target hook. | |
20645 | * targhooks.h (default_ref_may_alias_errno): Declare. | |
20646 | * targhooks.c: Include tree-ssa-alias.h and tree-flow.h. | |
20647 | (default_ref_may_alias_errno): New function. | |
20648 | * target.h (struct ao_ref_s): Declare. | |
20649 | * tree-ssa-alias.c: Include target.h. | |
20650 | (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook. | |
20651 | * Makefile.in (tree-ssa-alias.o): Adjust dependencies. | |
20652 | (targhooks.o): Likewise. | |
20653 | * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document. | |
20654 | * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation. | |
20655 | ||
9a6c9288 RG |
20656 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
20657 | ||
20658 | * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER. | |
20659 | ||
0fdb0d27 RG |
20660 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
20661 | ||
20662 | PR tree-optimization/47280 | |
20663 | * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and | |
20664 | return CFG changes. | |
20665 | (tree_ssa_forward_propagate_single_use_vars): Deal with | |
20666 | CFG changes from associate_plusminus. | |
20667 | ||
8f66db3b RG |
20668 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
20669 | ||
20670 | PR middle-end/47281 | |
20671 | Revert | |
20672 | 2011-01-11 Richard Guenther <rguenther@suse.de> | |
20673 | ||
280d9630 EB |
20674 | PR tree-optimization/46076 |
20675 | * tree-ssa.c (useless_type_conversion_p): Conversions from | |
20676 | unprototyped to empty argument list function types are useless. | |
8f66db3b | 20677 | |
6c0c92e6 RG |
20678 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
20679 | ||
20680 | PR tree-optimization/47286 | |
280d9630 | 20681 | * tree-ssa-structalias.c (new_var_info): Register variables are global. |
6c0c92e6 | 20682 | |
db09f943 MJ |
20683 | 2011-01-14 Martin Jambor <mjambor@suse.cz> |
20684 | ||
20685 | PR middle-end/46823 | |
20686 | * tree-inline.c (expand_call_inline): Get fndecl from call graph edge. | |
20687 | ||
dde8a3a4 AS |
20688 | 2011-01-13 Anatoly Sokolov <aesok@post.ru> |
20689 | ||
20690 | * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE, | |
20691 | LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. | |
20692 | * config/xtensa/xtensa.c (xtensa_libcall_value, | |
20693 | xtensa_function_value_regno_p): New functions. | |
20694 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
20695 | ||
a2b63a20 KT |
20696 | 2011-01-13 Kai Tietz <kai.tietz@onevision.com> |
20697 | ||
20698 | PR c++/47213 | |
20699 | * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY): | |
20700 | PE specific hook. | |
20701 | * config/i386/i386-protos.h (i386_pe_assemble_visibility): | |
20702 | New function prototype. | |
20703 | * config/i386/winnt.c (i386_pe_assemble_visibility): | |
20704 | Warn only if attribute was specified by user. | |
20705 | ||
b41f0b34 MM |
20706 | 2011-01-13 Michael Meissner <meissner@linux.vnet.ibm.com> |
20707 | ||
20708 | PR target/47251 | |
20709 | * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware | |
20710 | floating point. | |
20711 | (floatunsdidf2_fcfidu): Ditto. | |
20712 | ||
3f3c098d AK |
20713 | 2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
20714 | ||
20715 | * config/s390/s390.c (print_operand_address): Replace 'error' with | |
20716 | 'output_operand_lossage'. | |
20717 | (print_operand): Likewise. | |
20718 | ||
29fa95ed JL |
20719 | 2011-01-13 Jeff Law <law@redhat.com> |
20720 | ||
280d9630 | 20721 | PR rtl-optimization/39077 |
29fa95ed JL |
20722 | * doc/invoke.texi (max-gcse-insertion-ratio): Document. |
20723 | * params.h (MAX_GCSE_INSERTION_RATIO): Define. | |
20724 | * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define. | |
20725 | * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps. | |
20726 | * gcse.c (prune_insertions_deletions): New function. | |
20727 | (compute_pre_data): Use it. | |
20728 | ||
71d12276 DS |
20729 | 2011-01-13 Dodji Seketeli <dodji@redhat.com> |
20730 | ||
20731 | PR debug/PR46973 | |
20732 | * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New | |
20733 | static function. | |
61052244 | 20734 | (prune_unused_types_mark): Use it. |
71d12276 | 20735 | |
9b0f04e7 AB |
20736 | 2011-01-13 Andrey Belevantsev <abel@ispras.ru> |
20737 | ||
20738 | PR rtl-optimization/45352 | |
1c3ba85b | 20739 | * sel-sched.c: Update copyright years. |
9b0f04e7 | 20740 | (reset_sched_cycles_in_current_ebb): Also recheck the DFA state |
1c3ba85b | 20741 | in the advancing loop when we have issued issue_rate insns. |
9b0f04e7 | 20742 | |
d6a3e264 RH |
20743 | 2011-01-12 Richard Henderson <rth@redhat.com> |
20744 | ||
a49b692a RH |
20745 | * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New. |
20746 | (TARGET_MD_ASM_CLOBBERS): New. | |
20747 | ||
126b1483 RH |
20748 | * config/mn10300/mn10300.c (mn10300_delegitimize_address): New. |
20749 | (TARGET_DELEGITIMIZE_ADDRESS): New. | |
20750 | ||
f3d9d2e0 RH |
20751 | * config/mn10300/mn10300.md (UNSPEC_BSCH): New. |
20752 | (clzsi2, *bsch): New patterns. | |
20753 | ||
d84760c9 RH |
20754 | * config/mn10300/mn10300.md (INT): New mode iterator. |
20755 | (*mov<INT>_clr): New pattern, and peep2 to generate it. | |
20756 | ||
ec815d65 RH |
20757 | * config/mn10300/mn10300.c (mn10300_option_override): Force enable |
20758 | flag_split_wide_types. | |
20759 | ||
d6a3e264 RH |
20760 | * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove. |
20761 | (mn10300_trampoline_init): Rewrite without a template, an immediate | |
20762 | load and a direct branch. | |
20763 | * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16. | |
20764 | ||
0f8ab434 AS |
20765 | 2011-01-12 Anatoly Sokolov <aesok@post.ru> |
20766 | ||
20767 | * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
20768 | * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove. | |
20769 | * config/s390/s390.c (s390_output_addr_const_extra): Make static. | |
20770 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
20771 | ||
d8a24b65 KT |
20772 | 2011-01-12 Kai Tietz <kai.tietz@onevision.com> |
20773 | ||
20774 | PR debug/47209 | |
20775 | * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT | |
20776 | of type. | |
20777 | ||
56e22cab JH |
20778 | 2011-01-12 Jan Hubicka <jh@suse.cz> |
20779 | ||
20780 | PR driver/47244 | |
20781 | * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used. | |
20782 | (PLUGIN_COND_CLOSE): New macro. | |
20783 | (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE. | |
20784 | ||
4b18b3c2 RG |
20785 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
20786 | ||
20787 | PR lto/47259 | |
20788 | * lto-streamer-out.c (output_gimple_stmt): Do not wrap | |
20789 | register variables in a MEM_REF. | |
20790 | ||
8e38461c JM |
20791 | 2011-01-12 Joseph Myers <joseph@codesourcery.com> |
20792 | ||
20793 | * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*, | |
20794 | crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*, | |
20795 | hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* | | |
20796 | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | | |
20797 | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu, | |
20798 | x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu, | |
20799 | ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*, | |
20800 | m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*, | |
20801 | mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*, | |
20802 | s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*, | |
20803 | sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*, | |
20804 | am33_2.0-*-linux*): Use gnu-user.h before linux.h. | |
20805 | * config/gnu-user.h: New. Copied from linux.h. | |
20806 | (LINUX_TARGET_STARTFILE_SPEC): Rename to | |
20807 | GNU_USER_TARGET_STARTFILE_SPEC. | |
20808 | (LINUX_TARGET_ENDFILE_SPEC): Rename to | |
20809 | GNU_USER_TARGET_ENDFILE_SPEC. | |
20810 | (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC. | |
20811 | (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC. | |
20812 | (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC, | |
20813 | LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1, | |
20814 | CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER, | |
20815 | UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64, | |
20816 | BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32, | |
20817 | BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER, | |
20818 | LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64, | |
20819 | TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove. | |
20820 | * config/arm/linux-eabi.h (CC1_SPEC): Use | |
20821 | GNU_USER_TARGET_CC1_SPEC. | |
20822 | (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC. | |
20823 | (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC. | |
20824 | (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC | |
20825 | * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF, | |
20826 | LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC, | |
20827 | LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC, | |
20828 | CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC, | |
20829 | LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove. | |
20830 | ||
a570fc16 RG |
20831 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
20832 | ||
20833 | PR other/46946 | |
20834 | * doc/invoke.texi (ffast-math): Document it is turned on | |
20835 | with -Ofast. | |
20836 | ||
b0223c3e JH |
20837 | 2011-01-12 Jan Hubicka <jh@suse.cz> |
20838 | ||
20839 | PR tree-optimization/47233 | |
ca1e00b3 EB |
20840 | * opts.c (common_handle_option): Disable ipa-reference with profile |
20841 | feedback. | |
b0223c3e | 20842 | |
1c3ba85b | 20843 | 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> |
d853ee42 NP |
20844 | |
20845 | * c-parser.c (c_parser_objc_at_property_declaration): Improved | |
ca1e00b3 EB |
20846 | error message. |
20847 | ||
d853ee42 NP |
20848 | 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> |
20849 | ||
20850 | * c-parser.c (c_lex_one_token): Updated and reindented some | |
20851 | comments. No changes in code. | |
20852 | ||
4053a5a0 ILT |
20853 | 2011-01-11 Ian Lance Taylor <iant@google.com> |
20854 | ||
20855 | * godump.c (go_output_var): Don't output the variable if there is | |
20856 | already a type with the same name. | |
20857 | ||
fa3e04d2 ILT |
20858 | 2011-01-11 Ian Lance Taylor <iant@google.com> |
20859 | ||
20860 | * godump.c (go_format_type): Don't generate float80. | |
20861 | ||
885fe07c RH |
20862 | 2011-01-11 Richard Henderson <rth@redhat.com> |
20863 | ||
72d6e3c5 RH |
20864 | * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward |
20865 | declaration. Rewrite for both speed and size. | |
20866 | (mn10300_address_cost_1): Remove. | |
20867 | (mn10300_register_move_cost): New. | |
20868 | (mn10300_memory_move_cost): New. | |
20869 | (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle | |
20870 | ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare, | |
20871 | extensions, shifts, BSWAP, CLZ. | |
20872 | (mn10300_wide_const_load_uses_clr): Remove. | |
20873 | (TARGET_REGISTER_MOVE_COST): New. | |
20874 | (TARGET_MEMORY_MOVE_COST): New. | |
20875 | * config/mn10300/mn10300-protos.h: Update. | |
20876 | * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove. | |
20877 | ||
df37c023 RH |
20878 | * config/mn10300/constraints.md ("R", "T"): Remove constraints. |
20879 | * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove. | |
20880 | * config/mn10300/mn10300-protos.h: Update. | |
20881 | * config/mn10300/mn10300.md (movsi_internal): Don't use "R". | |
20882 | (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove. | |
20883 | (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove. | |
20884 | (*test_int_bitfield, *test_byte_bitfield): Remove. | |
20885 | (*bit_test, *subreg_bit_test): Remove. | |
62d3f9b2 | 20886 | * config/mn10300/predicates.md (const_8bit_operand): Remove. |
df37c023 | 20887 | |
85a337b5 RH |
20888 | * config/mn10300/constraints.md ("c"): Rename from "A". |
20889 | ("A", "D"): New constraint letters. | |
20890 | * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint. | |
20891 | (fmssf4, fnmasf4, fnmssf4): Likewise. | |
20892 | ||
a5c727e3 RH |
20893 | * config/mn10300/mn10300.md (isa): New attribute. |
20894 | (enabled): New attribute. | |
20895 | ||
0d9e23f4 RH |
20896 | * config/mn10300/mn10300.md (absdf2, negdf2): Remove. |
20897 | (abssf2, negsf2): Define only for hardware fp. | |
20898 | (sqrtsf2): Reformat. | |
20899 | (addsf3, subsf3, mulsf3): Merge expander and insn. | |
20900 | ||
c157b3f0 RH |
20901 | * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New. |
20902 | (DEBUGGER_AUTO_OFFSET): Remove. | |
20903 | (DEBUGGER_ARG_OFFSET): Remove. | |
20904 | ||
cc909bba RH |
20905 | * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static. |
20906 | Emit register stores with the same offsets as the hardware. | |
20907 | (mn10300_store_multiple_operation): Don't check that the register | |
20908 | save offsets are monotonic. | |
20909 | * config/mn10300/mn10300-protos.h: Update. | |
20910 | ||
e3b5c2f3 RH |
20911 | * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete. |
20912 | ||
885fe07c RH |
20913 | * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define |
20914 | in terms of the value on the stack, not the MDR register. | |
20915 | ||
6e701822 JH |
20916 | 2011-01-11 Jan Hubicka <jh@suse.cz> |
20917 | ||
20918 | PR lto/45721 | |
20919 | PR lto/45375 | |
20920 | * tree.h (symbol_alias_set_t): Move typedef here from varasm.c | |
20921 | (symbol_alias_set_destroy, symbol_alias_set_contains, | |
20922 | propagate_aliases_backward): Declare. | |
20923 | * lto-streamer-out.c (struct sets): New sturcture. | |
20924 | (trivally_defined_alias): New function. | |
20925 | (output_alias_pair_p): Rewrite. | |
20926 | (output_unreferenced_globals): Fix output of alias pairs. | |
20927 | (produce_symtab): Likewise. | |
20928 | * ipa.c (function_and_variable_visibility): Set weak alias destination | |
20929 | as needed in lto. | |
20930 | * varasm.c (symbol_alias_set_t): Remove. | |
20931 | (symbol_alias_set_destroy): Export. | |
20932 | (propagate_aliases_forward, propagate_aliases_backward): New functions | |
20933 | based on ... | |
20934 | (compute_visible_aliases): ... this one; remove. | |
20935 | (trivially_visible_alias): New | |
20936 | (trivially_defined_alias): New. | |
20937 | (remove_unreachable_alias_pairs): Rewrite. | |
20938 | (finish_aliases_1): Reorganize code checking if alias is defined. | |
20939 | * passes.c (rest_of_decl_compilation): Do not call assemble_alias when | |
20940 | in LTO mode. | |
20941 | ||
1b248907 RG |
20942 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
20943 | ||
20944 | PR tree-optimization/46076 | |
20945 | * tree-ssa.c (useless_type_conversion_p): Conversions from | |
20946 | unprototyped to empty argument list function types are useless. | |
20947 | ||
b1923f0a RG |
20948 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
20949 | ||
20950 | PR middle-end/45235 | |
20951 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark | |
20952 | volatile MEMs as MEM_READONLY_P. | |
20953 | ||
e98965af RG |
20954 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
20955 | ||
20956 | PR tree-optimization/47239 | |
20957 | * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs. | |
20958 | ||
9f9ca914 JL |
20959 | 2011-01-11 Jeff Law <law@redhat.com> |
20960 | ||
1ee3ea05 | 20961 | PR tree-optimization/47086 |
9f9ca914 JL |
20962 | * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record |
20963 | IVs from statements that might throw. | |
20964 | ||
345fdcb7 JH |
20965 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
20966 | ||
20967 | PR lto/45375 | |
20968 | * lto-cgraph.c (input_profile_summary): Remove overactive sanity check. | |
20969 | ||
c459c97b JH |
20970 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
20971 | ||
20972 | PR lto/45375 | |
20973 | * profile.c (read_profile_edge_counts): Ignore profile inconistency | |
20974 | when correcting profile. | |
20975 | ||
06c9eb51 JH |
20976 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
20977 | ||
20978 | PR lto/46083 | |
20979 | * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store | |
20980 | DECL_FINI_PRIORITY. | |
20981 | * lto-streamer-in.c (unpack_ts_function_decl_value_fields): | |
20982 | Restore DECL_FINI_PRIORITY. | |
20983 | ||
ae9fd815 RW |
20984 | 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
20985 | ||
20986 | * doc/gimple.texi: Fix quoting of multi-word return values in | |
20987 | @deftypefn statements. Ensure presence of return value. Wrap | |
20988 | overlong @deftypefn lines. | |
20989 | (is_gimple_operand, is_gimple_min_invariant_address): Remove | |
20990 | descriptions of removed functions. | |
20991 | * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting | |
20992 | of multi-word return value in @deftypefn statement. | |
20993 | ||
0ecb4a7c RW |
20994 | 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
20995 | ||
20996 | * doc/gimple.texi (Temporaries, Operands, Compound Lvalues) | |
20997 | (Conditional Expressions, Logical Operators) | |
20998 | (Statement and operand traversals): Do not indent smallexample | |
20999 | code. Fix duplicate function argument in example. | |
21000 | ||
2e5e346d JL |
21001 | 2011-01-10 Jeff Law <law@redhat.com> |
21002 | ||
1ee3ea05 | 21003 | PR tree-optimization/47141 |
2e5e346d JL |
21004 | * ipa-split.c (split_function): Handle case where we are |
21005 | returning a value and the return block has a virtual operand phi. | |
21006 | ||
cf9712cc JH |
21007 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
21008 | ||
1c3ba85b | 21009 | PR tree-optimization/47234 |
cf9712cc JH |
21010 | * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO. |
21011 | (pass_feedback_split_functions): Declare. | |
21012 | * passes.c (init_optimization_passes): Add ipa-split as subpass of | |
21013 | tree-profile. | |
21014 | * ipa-split.c (gate_split_functions): Update comments; disable | |
21015 | split-functions for profile_arc_flag and branch_probabilities. | |
21016 | (gate_feedback_split_functions): New function. | |
21017 | (execute_feedback_split_functions): New function. | |
21018 | (pass_feedback_split_functions): New global var. | |
21019 | ||
94cd932c L |
21020 | 2011-01-10 H.J. Lu <hongjiu.lu@intel.com> |
21021 | ||
21022 | PR lto/46760 | |
21023 | * tree-inline.c (tree_can_inline_p): Check e->call_stmt before | |
21024 | calling gimple_call_set_cannot_inline. | |
21025 | ||
fbbfcaf1 IS |
21026 | 2011-01-10 Iain Sandoe <iains@gcc.gnu.org> |
21027 | ||
21028 | * config/darwin-sections.def: Remove unused section. | |
21029 | ||
d06865bf DK |
21030 | 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com> |
21031 | ||
21032 | PR c++/47218 | |
21033 | * cgraphunit.c (assemble_thunk): Call resolve_unique_section. | |
21034 | ||
96bbfbac NP |
21035 | 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com> |
21036 | ||
21037 | PR objc/47232 | |
21038 | * c-parser.c (c_parser_declaration_or_fndef): Improved | |
21039 | error message. | |
21040 | ||
1ba6516f KT |
21041 | 2011-01-09 Kai Tietz <kai.tietz@onevision.com> |
21042 | ||
21043 | * config/i386/winnt.c (i386_pe_start_function): Make sure | |
21044 | to switch back to function's section. | |
21045 | ||
0c5d770e IS |
21046 | 2011-01-09 Iain Sandoe <iains@gcc.gnu.org> |
21047 | ||
21048 | PR gcc/46902 | |
21049 | PR testsuite/46912 | |
21050 | * plugin.c: Move include of dlfcn.h from here... | |
21051 | * system.h: ... to here. | |
21052 | ||
21053 | 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | |
4ee1aa2a RW |
21054 | |
21055 | * doc/cpp.texi (C++ Named Operators): Fix markup for header | |
21056 | file name. | |
21057 | * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid | |
21058 | two extra empty pages in PDF output. | |
21059 | ||
046608a3 NP |
21060 | 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com> |
21061 | ||
21062 | PR objc/47078 | |
21063 | * c-parser.c (c_parser_objc_type_name): If the type is unknown, | |
21064 | for error recovery purposes behave as if it was not specified so | |
21065 | that the default type is usd. | |
21066 | ||
8cb114b9 JH |
21067 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
21068 | ||
21069 | PR tree-optmization/46469 | |
21070 | * ipa.c (function_and_variable_visibility): Clear needed flags on | |
21071 | nodes with external decls; handle weakrefs merging correctly. | |
21072 | ||
b294a75e JM |
21073 | 2011-01-07 Joseph Myers <joseph@codesourcery.com> |
21074 | ||
21075 | * opts.c (finish_options): Set opts->x_flag_opts_finished to true, | |
21076 | not false. | |
21077 | ||
96bdf9b4 JH |
21078 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
21079 | ||
f60c2554 | 21080 | * doc/invoke.texi (-flto, -fuse-linker-plugin): Update defaults |
96bdf9b4 JH |
21081 | and no longer claim that gold is required for linker plugin. |
21082 | * configure: Regenerate. | |
21083 | * gcc.c (PLUGIN_COND): New macro. | |
21084 | (LINK_COMMAND_SPEC): Use it. | |
21085 | (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set. | |
21086 | * config.in (HAVE_LTO_PLUGIN): New. | |
21087 | * configure.ac (--with-lto-plugin): New parameter; autodetect | |
21088 | HAVE_LTO_PLUGIN. | |
21089 | ||
17afc0fe JH |
21090 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
21091 | ||
21092 | PR tree-optimization/46367 | |
21093 | * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only | |
21094 | when we can update original. | |
21095 | (cgraph_mark_inline_edge): Sanity check. | |
21096 | * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check. | |
21097 | ||
d4c48c0f UW |
21098 | 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
21099 | ||
21100 | * config/spu/spu.h (ASM_COMMENT_START): Define. | |
21101 | ||
96f5b137 L |
21102 | 2011-01-07 H.J. Lu <hongjiu.lu@intel.com> |
21103 | ||
21104 | PR driver/42445 | |
21105 | * gcc.c (%>S): New. | |
21106 | (SWITCH_KEEP_FOR_GCC): Likewise. | |
21107 | (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC. | |
21108 | (do_spec_1): Handle "%>". | |
21109 | ||
21110 | * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>". | |
21111 | ||
c6a8f6de JJ |
21112 | 2011-01-07 Jakub Jelinek <jakub@redhat.com> |
21113 | ||
c21bbd7a JJ |
21114 | PR target/47201 |
21115 | * config/i386/i386.c (ix86_delegitimize_address): If | |
21116 | simplify_gen_subreg fails, return orig_x. | |
21117 | ||
c6a8f6de JJ |
21118 | PR bootstrap/47187 |
21119 | * value-prof.c (gimple_stringop_fixed_value): Handle | |
21120 | lhs of the call properly. | |
21121 | ||
fe95fbf9 JH |
21122 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
21123 | ||
21124 | PR lto/45375 | |
21125 | * lto-opt.c (lto_reissue_options): Set flag_shlib. | |
21126 | ||
14d11d40 IS |
21127 | 2011-01-07 Iain Sandoe <iains@gcc.gnu.org> |
21128 | ||
72e961c8 EB |
21129 | * target.def (function_switched_text_sections): New hook. |
21130 | * doc/tm.texi: Regenerated. | |
21131 | * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New. | |
14d11d40 | 21132 | * final.c (default_function_switched_text_sections): New. |
72e961c8 EB |
21133 | (final_scan_insn): Call function_switched_text_sections when a |
21134 | mid-function section change occurs. | |
14d11d40 | 21135 | * output.h (default_function_switched_text_sections): Declare. |
72e961c8 EB |
21136 | * config/darwin-protos.h (darwin_function_switched_text_sections): |
21137 | Likewise. | |
14d11d40 | 21138 | * config/darwin.c (darwin_function_switched_text_sections): New. |
72e961c8 | 21139 | * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New. |
14d11d40 | 21140 | |
0b764288 IS |
21141 | 2011-01-07 Iain Sandoe <iains@gcc.gnu.org> |
21142 | ||
21143 | * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for | |
21144 | DWARF >= 3. Add pubnames for the primary section and a reduced DIE for | |
21145 | the secondary code fragment when outputting for DWARF == 2. | |
21146 | ||
2ac6bb04 AS |
21147 | 2011-01-07 Anatoly Sokolov <aesok@post.ru> |
21148 | ||
21149 | * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
21150 | * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra): | |
21151 | Remove. | |
21152 | * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static. | |
21153 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
21154 | ||
9f82de11 EB |
21155 | 2011-01-06 Eric Botcazou <ebotcazou@adacore.com> |
21156 | ||
21157 | PR debug/46704 | |
280d9630 EB |
21158 | * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only |
21159 | when it is not empty. | |
9f82de11 EB |
21160 | |
21161 | 2011-01-06 Changpeng Fang <changpeng.fang@amd.com> | |
14b52538 | 21162 | |
1ed72abf | 21163 | Bobcat Enablement |
14b52538 | 21164 | * config.gcc (i[34567]86-*-linux* | ...): Add btver1. |
1ed72abf | 21165 | (case ${target}): Add btver1. |
14b52538 | 21166 | * config/i386/driver-i386.c (host_detect_local_cpu): Let |
1ed72abf | 21167 | -march=native recognize btver1 processors. |
14b52538 | 21168 | * config/i386/i386-c.c (ix86_target_macros_internal): Add |
1ed72abf | 21169 | btver1 def_and_undef |
14b52538 | 21170 | * config/i386/i386.c (struct processor_costs btver1_cost): New |
1ed72abf CF |
21171 | btver1 cost table. |
21172 | (m_BTVER1): New definition. | |
21173 | (m_AMD_MULTIPLE): Includes m_BTVER1. | |
21174 | (initial_ix86_tune_features): Add btver1 tune. | |
21175 | (processor_target_table): Add btver1 entry. | |
21176 | (static const char *const cpu_names): Add btver1 entry. | |
21177 | (software_prefetching_beneficial_p): Add btver1. | |
21178 | (ix86_option_override_internal): Add btver1 instruction sets. | |
21179 | (ix86_issue_rate): Add btver1. | |
21180 | (ix86_adjust_cost): Add btver1. | |
14b52538 | 21181 | * config/i386/i386.h (TARGET_BTVER1): New definition. |
1ed72abf CF |
21182 | (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1. |
21183 | (enum processor_type): Add PROCESSOR_BTVER1. | |
14b52538 CF |
21184 | * config/i386/i386.md (define_attr "cpu"): Add btver1. |
21185 | ||
e1a973d8 RO |
21186 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
21187 | ||
21188 | PR target/43309 | |
21189 | * config/i386/i386.c (legitimize_tls_address) | |
21190 | <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS. | |
21191 | * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare. | |
21192 | (tls_initial_exec_64_sun): New pattern. | |
21193 | ||
c73f67c5 GP |
21194 | 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com> |
21195 | ||
21196 | * doc/invoke.texi (Overall Options): Improve wording and markup | |
21197 | of the description of -wrapper. | |
21198 | ||
bc4c6f9c JM |
21199 | 2011-01-06 Joseph Myers <joseph@codesourcery.com> |
21200 | ||
21201 | * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads, | |
21202 | rdynamic, threads): New Driver options. | |
21203 | ||
adb75db0 RO |
21204 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
21205 | ||
21206 | PR target/38118 | |
21207 | * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss | |
21208 | if coming from .tdata. | |
21209 | * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. | |
21210 | ||
402c1cb4 JH |
21211 | 2011-01-06 Jan Hubicka <jh@suse.cz> |
21212 | ||
21213 | PR lto/47188 | |
21214 | * collect2.c (main): Do not enable LTOmode when plugin is active. | |
21215 | ||
a4da6485 RO |
21216 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
21217 | ||
21218 | PR other/45915 | |
21219 | * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd | |
21220 | --version output if supported. | |
21221 | * configure: Regenerate. | |
21222 | ||
028dbdf4 JM |
21223 | 2011-01-06 Joseph Myers <joseph@codesourcery.com> |
21224 | ||
21225 | * config/linux-android.opt (tno-android-cc, tno-android-ld): New | |
21226 | Driver options. | |
21227 | ||
dfe776dd JJ |
21228 | 2011-01-06 Jakub Jelinek <jakub@redhat.com> |
21229 | ||
21230 | PR c/47150 | |
21231 | * c-convert.c (convert): When converting a complex expression | |
21232 | other than COMPLEX_EXPR to a different complex type, ensure | |
21233 | c_save_expr is called instead of save_expr, unless in_late_binary_op. | |
21234 | * c-typeck.c (convert_for_assignment): Set in_late_binary_op also | |
21235 | when converting COMPLEX_TYPE. | |
21236 | ||
210dedfe IR |
21237 | 2011-01-06 Ira Rosen <irar@il.ibm.com> |
21238 | ||
21239 | PR tree-optimization/47139 | |
21240 | * tree-vect-loop.c (vect_is_simple_reduction_1): Check that | |
21241 | only the last reduction value is used outside the loop. Update | |
21242 | documentation. | |
21243 | ||
cd33a412 JM |
21244 | 2011-01-05 Joseph Myers <joseph@codesourcery.com> |
21245 | ||
21246 | * config/rtems.opt: New. | |
21247 | * config.gcc (*-*-rtems*): Use rtems.opt. | |
21248 | ||
819edd94 CF |
21249 | 2011-01-05 Changpeng Fang <changpeng.fang@amd.com> |
21250 | ||
21251 | * config/i386/i386.c (ix86_option_override_internal): Bulldozer | |
21252 | processors do not support 3DNow instructions. | |
21253 | ||
dc242c4a UW |
21254 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
21255 | ||
21256 | * config/spu/spu.c (spu_option_override): Set parameter | |
21257 | PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1. | |
21258 | ||
be286227 JH |
21259 | 2011-01-05 Jan Hubicka <jh@suse.cz> |
21260 | ||
21261 | * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified | |
21262 | at the command line. | |
21263 | ||
644e637f MJ |
21264 | 2011-01-05 Martin Jambor <mjambor@suse.cz> |
21265 | ||
21266 | PR lto/47162 | |
21267 | * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk | |
21268 | deltas on streamed outgoing edges. | |
21269 | (output_node_opt_summary): Output info for outgoing edges only when | |
21270 | the node is in new parameter set. | |
21271 | (output_cgraph_opt_summary): New parameter set, passed to the two | |
21272 | aforementioned functions. Update its forward declaration and its | |
21273 | callee too. | |
21274 | ||
7bd11157 TT |
21275 | 2011-01-05 Tom Tromey <tromey@redhat.com> |
21276 | ||
21277 | * c-parser.c (c_parser_omp_atomic): Pass location of assignment | |
21278 | operator to c_finish_omp_atomic. | |
21279 | * c-typeck.c (lvalue_or_else): Add 'loc' argument. | |
21280 | (build_unary_op): Update. | |
21281 | (build_modify_expr): Update. | |
21282 | (build_asm_expr): Update. | |
21283 | ||
f626b979 UW |
21284 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
21285 | ||
21286 | * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for | |
21287 | newly inserted insns. | |
21288 | (pad_bb): Likewise. | |
21289 | (spu_emit_branch_hint): Likewise. | |
21290 | (insert_hbrp_for_ilb_runout): Likewise. | |
21291 | (spu_machine_dependent_reorg): Call df_finish_pass after | |
21292 | schedule_insns returns. | |
21293 | ||
4c825c02 UW |
21294 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
21295 | ||
21296 | * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage. | |
21297 | ||
5e9fba51 EB |
21298 | 2011-01-05 Eric Botcazou <ebotcazou@adacore.com> |
21299 | ||
21300 | PR tree-optimization/47005 | |
21301 | * tree-sra.c (struct access): Add 'non_addressable' bit. | |
21302 | (create_access): Set it for a DECL_NONADDRESSABLE_P field. | |
21303 | (decide_one_param_reduction): Return 0 if the parameter is passed by | |
21304 | reference and one of the accesses in the group is non_addressable. | |
21305 | ||
3ebb5ca6 EB |
21306 | 2011-01-04 Eric Botcazou <ebotcazou@adacore.com> |
21307 | ||
21308 | PR tree-optimization/47056 | |
21309 | * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers. | |
21310 | (mark_load): Likewise. Handle FUNCTION_DECL specially. | |
21311 | (mark_store): Likewise. Pass STMT to ipa_record_reference. | |
21312 | ||
d5d4d14e EB |
21313 | 2011-01-04 Eric Botcazou <ebotcazou@adacore.com> |
21314 | ||
21315 | * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the | |
21316 | initializer. Skip view conversions from aggregate types. | |
21317 | ||
d996ef70 KT |
21318 | 2011-01-04 Kai Tietz <kai.tietz@onevision.com> |
21319 | ||
21320 | PR bootstrap/47055 | |
21321 | * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC. | |
21322 | ||
509d65dd | 21323 | 2011-01-04 Philipp Thomas <pth@suse.de> |
017096ca PT |
21324 | |
21325 | * config/microblaze/microbalse.opt (mxl-float-convert): Fix | |
21326 | obvious typo. | |
21327 | ||
55c623b5 UW |
21328 | 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
21329 | ||
21330 | * function.c (thread_prologue_and_epilogue_insns): Do not crash | |
21331 | on empty epilogue sequences. | |
21332 | ||
b98d6b35 JM |
21333 | 2011-01-04 Joseph Myers <joseph@codesourcery.com> |
21334 | ||
21335 | * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now, | |
21336 | non-static): New Driver options. | |
21337 | ||
a0d43bac JZ |
21338 | 2011-01-04 Jie Zhang <jie@codesourcery.com> |
21339 | ||
21340 | PR driver/47137 | |
21341 | * gcc.c (default_compilers[]): Set combinable field to 0 | |
21342 | for all assembly languages. | |
21343 | ||
2b18eb32 MX |
21344 | 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com> |
21345 | ||
21346 | * config/mips/loongson3a.md: New file. | |
21347 | * config/mips/mips.md: Include loongson3a.md. | |
21348 | * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when | |
21349 | TUNE_LOONGSON_3A. | |
21350 | ||
42a48c4f EB |
21351 | 2011-01-03 Eric Botcazou <ebotcazou@adacore.com> |
21352 | ||
21353 | PR middle-end/47017 | |
21354 | * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space | |
21355 | instead of convert_memory_address_addr_space on the base expression. | |
21356 | ||
9c1732c4 UW |
21357 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
21358 | ||
21359 | * config/spu/spu.c (spu_option_override): Update error text | |
21360 | for bad -march= / -mtune= values. | |
21361 | ||
aa474365 UW |
21362 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
21363 | ||
21364 | * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking | |
21365 | if branch-hint optimization will be performed. | |
21366 | ||
9766135b JJ |
21367 | 2011-01-03 Jakub Jelinek <jakub@redhat.com> |
21368 | ||
371556ee JJ |
21369 | PR tree-optimization/47148 |
21370 | * ipa-split.c (split_function): Convert arguments to | |
21371 | DECL_ARG_TYPE if possible. | |
21372 | ||
1ac12fa2 JJ |
21373 | PR tree-optimization/47155 |
21374 | * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type | |
21375 | when computing uns. | |
21376 | ||
9766135b JJ |
21377 | PR rtl-optimization/47157 |
21378 | * combine.c (try_combine): If undobuf.other_insn becomes | |
21379 | (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it | |
21380 | and set *new_direct_jump_p too. | |
21381 | ||
f4a2e571 SP |
21382 | 2011-01-03 Sebastian Pop <sebastian.pop@amd.com> |
21383 | ||
21384 | PR tree-optimization/47021 | |
21385 | * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR. | |
21386 | ||
9f8e43c0 JJ |
21387 | 2011-01-03 Jakub Jelinek <jakub@redhat.com> |
21388 | ||
21389 | * gcc.c (process_command): Update copyright notice dates. | |
21390 | * gcov.c (print_version): Likewise. | |
21391 | * gcov-dump.c (print_version): Likewise. | |
21392 | * mips-tfile.c (main): Likewise. | |
21393 | * mips-tdump.c (main): Likewise. | |
21394 | ||
1a2e38f3 MJ |
21395 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
21396 | ||
21397 | PR tree-optimization/46801 | |
21398 | * tree-sra.c (type_internals_preclude_sra_p): Check whether | |
21399 | aggregate fields start at byte boundary instead of the bit-field flag. | |
21400 | ||
56b721c5 L |
21401 | 2011-01-03 H.J. Lu <hongjiu.lu@intel.com> |
21402 | ||
21403 | PR driver/47137 | |
21404 | * gcc.c (main): Revert revision 168407. | |
21405 | ||
839d549b MJ |
21406 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
21407 | ||
21408 | * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type. | |
21409 | ||
4ce99a20 | 21410 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
2fa6eeff UW |
21411 | |
21412 | * tree-vect-generic.c (expand_vector_operations_1): When using vector/ | |
21413 | vector optab to expand vector/scalar shift, update gimple to vector. | |
21414 | ||
76df0ae6 MJ |
21415 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
21416 | ||
21417 | * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to | |
21418 | a thunk. | |
21419 | ||
ce47fda3 MJ |
21420 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
21421 | ||
21422 | PR tree-optimization/46984 | |
21423 | * cgraph.h (cgraph_indirect_call_info): make field thunk_delta | |
21424 | HOST_WIDE_INT. | |
21425 | (cgraph_create_indirect_edge): Fixed line length. | |
21426 | (cgraph_indirect_call_info): Declare. | |
21427 | (cgraph_make_edge_direct) Update declaration. | |
21428 | * cgraph.c (cgraph_allocate_init_indirect_info): New function. | |
21429 | (cgraph_create_indirect_edge): Use it. | |
21430 | (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all | |
21431 | callees. | |
21432 | * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for | |
21433 | the new thunk_delta representation. | |
21434 | * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to | |
21435 | HOST_WIDE_INT. | |
21436 | (ipa_write_indirect_edge_info): Remove streaming of thunk_delta. | |
21437 | (ipa_read_indirect_edge_info): Likewise. | |
21438 | * lto-cgraph.c (output_edge_opt_summary): New function. | |
21439 | (output_node_opt_summary): Call it on all outgoing edges. | |
21440 | (input_edge_opt_summary): New function. | |
21441 | (input_node_opt_summary): Call it on all outgoing edges. | |
21442 | ||
1e67fa1f L |
21443 | 2011-01-02 H.J. Lu <hongjiu.lu@intel.com> |
21444 | ||
21445 | PR driver/47137 | |
21446 | * gcc.c (main): Don't check have_o when settting combine_inputs. | |
21447 | ||
6656b2ac EB |
21448 | 2011-01-02 Eric Botcazou <ebotcazou@adacore.com> |
21449 | ||
21450 | * regrename.c: Add general comment describing the pass. | |
21451 | (struct du_head): Remove 'length' field. | |
21452 | (get_element, merge_sort_comparison, merge, sort_du_head): Remove. | |
21453 | (regrename_optimize): Do not sort chains. Rework comments, add others. | |
21454 | Force renaming to the preferred class (if any) in the first pass and do | |
21455 | not consider registers that belong to it in the second pass. | |
21456 | (create_new_chain): Do not set 'length' field. | |
21457 | (scan_rtx_reg): Likewise. | |
21458 | ||
bc470c24 JJ |
21459 | 2011-01-02 Jakub Jelinek <jakub@redhat.com> |
21460 | ||
4e996296 JJ |
21461 | PR tree-optimization/47140 |
21462 | * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use | |
21463 | TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument | |
21464 | to bit_value_binop. | |
21465 | ||
bc470c24 | 21466 | PR rtl-optimization/47028 |
6656b2ac EB |
21467 | * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after |
21468 | parm_birth_insn instead of at the beginning of first bb. | |
bc470c24 | 21469 | |
5af62fcd | 21470 | 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com> |
0d52f2a8 MX |
21471 | |
21472 | * doc/generic.texi: Remove duplicated "@subsubsection Statements". | |
21473 | Remove the word "see" before "@pxref". | |
21474 | * doc/rtl.texi: Remove the word "see" before "@pxref". | |
21475 | ||
0e20c89f JH |
21476 | 2011-01-01 Jan Hubicka <jh@suse.cz> |
21477 | ||
6656b2ac EB |
21478 | * tree-loop-distribution.c (tree_loop_distribution): Do not use freed |
21479 | memory. | |
0e20c89f | 21480 | |
220e83ca KT |
21481 | 2011-01-01 Kai Tietz <kai.tietz@onevision.com> |
21482 | ||
21483 | PR target/38662 | |
6656b2ac | 21484 | * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too. |
220e83ca | 21485 | |
ad41bd84 | 21486 | \f |
797103eb | 21487 | Copyright (C) 2011 Free Software Foundation, Inc. |
ad41bd84 JM |
21488 | |
21489 | Copying and distribution of this file, with or without modification, | |
21490 | are permitted in any medium without royalty provided the copyright | |
21491 | notice and this notice are preserved. |