]>
Commit | Line | Data |
---|---|---|
3411bc59 XDL |
1 | 2011-04-09 Xinliang David Li <davidxl@google.com> |
2 | ||
3 | PR tree-optimization/PR48484 | |
4 | * tree-ssa-uninit.c (convert_control_dep_chain_into_preds): Set | |
5 | has_valid_pred lazily | |
6 | ||
b365495a DS |
7 | 2011-04-09 Duncan Sands <baldrick@free.fr> |
8 | ||
9 | * tree.c (array_type_nelts): Bail out if TYPE_MAX_VALUE not set. | |
10 | ||
68bc509a EB |
11 | 2011-04-08 Eric Botcazou <ebotcazou@adacore.com> |
12 | ||
13 | * combine.c (combine_validate_cost): Adjust comments. Set registered | |
14 | cost of I0 to zero at the end, if any. | |
15 | ||
041e059f XDL |
16 | 2011-04-08 Xinliang David Li <davidxl@google.com> |
17 | ||
68bc509a EB |
18 | * ipa-cp.c (ipcp_update_profiling): Correct negative scale factor due |
19 | to insane profile data. | |
041e059f | 20 | |
6a801cf2 XDL |
21 | 2011-04-08 Xinliang David Li <davidxl@google.com> |
22 | ||
23 | * final.c (dump_basic_block_info): New function. | |
24 | (final): Dump basic block. | |
25 | (final_scan_insn): Remove old dump. | |
26 | ||
d5f3624e SK |
27 | 2011-04-08 Steven G. Kargl <kargl@gcc.gnu.org> |
28 | ||
68bc509a EB |
29 | PR target/47829 |
30 | * config.gcc (i386-*-freebsd): Disable unwind table generation for | |
31 | crtbegin/crtend. | |
d5f3624e | 32 | |
42821aff MM |
33 | 2011-04-08 Michael Matz <matz@suse.de> |
34 | ||
35 | PR middle-end/48389 | |
36 | * jump.c (rebuild_jump_labels_1, rebuild_jump_labels_chain): New | |
37 | functions. | |
38 | (rebuild_jump_labels): Call rebuild_jump_labels_1. | |
39 | * rtl.h (rebuild_jump_labels_chain): Declare. | |
40 | * cfgexpand.c (gimple_expand_cfg): Initialize JUMP_LABEL also on | |
41 | insns inserted on edges. | |
42 | ||
ad7be009 JM |
43 | 2011-04-08 Joseph Myers <joseph@codesourcery.com> |
44 | ||
45 | * config.gcc (arm*-*-*): Add arm/arm-tables.opt to extra_options. | |
46 | * config/arm/arm-arches.def: New. | |
47 | * config/arm/arm-opts.h: New. | |
48 | * config/arm/genopt.sh: New. | |
49 | * config/arm/arm-tables.opt: New (generated). | |
50 | * config/arm/arm.c (arm_handle_option, arm_target_help, | |
51 | TARGET_HANDLE_OPTION, TARGET_HELP, arm_find_cpu): Remove. | |
52 | (all_architectures): Get most table contents from arm-arches.def. | |
53 | (arm_option_override): Set arm_selected_arch, arm_selected_cpu and | |
54 | arm_selected_tune here. | |
55 | * config/arm/arm.h (enum processor_type): Move to arm-opts.h. | |
56 | * config/arm/arm.opt (config/arm/arm-opts.h): New HeaderInclude. | |
57 | (march=, mcpu=, mtune=): Use Enum and Var. | |
58 | * config/arm/t-arm ($(srcdir)/config/arm/arm-tables.opt): New. | |
59 | (arm.o): Update dependencies. | |
ecbb6fb7 | 60 | |
42821aff | 61 | 2011-04-08 Basile Starynkevitch <basile@starynkevitch.net> |
ecbb6fb7 BS |
62 | |
63 | * gengtype.c (write_typed_alloc_def): New argument f. Use it instead | |
64 | of header_file. | |
65 | (write_typed_struct_alloc_def, write_typed_typedef_alloc_def) | |
66 | (write_typed_alloc_defns): Likewise. | |
67 | (main): Calls write_typed_alloc_defns with output_header. | |
68 | ||
8d189b3f VM |
69 | 2011-04-08 Vladimir Makarov <vmakarov@redhat.com> |
70 | ||
68bc509a | 71 | PR inline-asm/48435 |
8d189b3f VM |
72 | * ira-color.c (setup_profitable_hard_regs): Add comments. |
73 | Don't take prohibited hard regs into account. | |
74 | (setup_conflict_profitable_regs): Rename to | |
75 | get_conflict_profitable_regs. | |
76 | (check_hard_reg_p): Check prohibited hard regs. | |
77 | ||
44f370bf NF |
78 | 2011-04-08 Nathan Froyd <froydnj@codesourcery.com> |
79 | ||
80 | * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Call use_reg. | |
81 | * config/xtensa/xtensa.c (xtensa_call_tls_desc): Likewise. | |
82 | * config/sparc/sparc.c (sparc_legitimize_tls_address): Likewise. | |
83 | ||
483d7ad3 JDA |
84 | 2011-04-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
85 | ||
86 | PR target/48366 | |
87 | * config/pa/pa.c (hppa_register_move_cost): Increase to 18 cost of | |
88 | move from floating point to shift amount register . | |
89 | (emit_move_sequence): Remove secondary reload support for floating | |
90 | point to shift amount amount register copies. | |
91 | (pa_secondary_reload): Return GENERAL_REGS for floating point/shift | |
92 | amount register copies. | |
93 | * config/pa/pa32-regs.h (HARD_REGNO_MODE_OK): For shift amount | |
94 | register, return false if mode isn't a scalar integer mode. | |
95 | * config/pa/pa64-regs.h (HARD_REGNO_MODE_OK): Likewise. | |
96 | ||
97e03fa1 RG |
97 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
98 | ||
99 | * gimple.c (gimple_call_flags): Remove kludge. | |
100 | ||
9d40778b AM |
101 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
102 | ||
103 | * sel-sched.c (sel_region_init): Move call to | |
104 | sel_setup_region_sched_flags after setup_current_loop_nest. | |
105 | ||
19ac7892 AB |
106 | 2011-04-08 Andrey Belevantsev <abel@ispras.ru> |
107 | ||
108 | PR rtl-optimization/48272 | |
19ac7892 AB |
109 | * sched-deps.c (setup_insn_reg_pressure_info): Export and rename to |
110 | init_insn_reg_pressure_info. Adjust a caller. | |
111 | * sched-int.h (init_insn_reg_pressure_info): Declare. | |
112 | * haifa-sched.c (haifa_init_insn): Call init_insn_reg_pressure_info | |
113 | when sched-pressure is enabled. | |
114 | ||
0f8c63cc RG |
115 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
116 | ||
117 | * gimple.c (gimple_set_modified): Do not queue calls to | |
118 | MODIFIED_NORETURN_CALLS here ... | |
119 | * tree-ssa-operands.c (update_stmt_operands): ... but here. | |
120 | ||
5e5a425e RG |
121 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
122 | ||
123 | PR lto/48467 | |
124 | * toplev.c (lang_dependent_init): Do not open asm_out_file | |
125 | in WPA mode, nor perform debug machinery initialization. | |
126 | (finalize): Do not unlink asm_out_file in WPA mode. | |
127 | ||
9bfc434b RG |
128 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
129 | ||
130 | * gimple.h (gimple_call_fntype): New function. | |
131 | (gimple_call_return_type): Use it. | |
132 | * expr.c (expand_expr_real_1): Use gimple_call_fntype. | |
133 | * gimple-low.c (gimple_check_call_args): Likewise. | |
134 | * gimple.c (gimple_call_flags): Likewise. | |
135 | (gimple_call_arg_flags): Likewise. | |
136 | (gimple_call_return_flags): Likewise. | |
137 | * tree-cfg.c (verify_gimple_call): Likewise. | |
138 | (do_warn_unused_result): Likewise. | |
139 | * tree-ssa-ccp.c (ccp_fold_stmt): Likewise. | |
140 | * value-prof.c (gimple_ic_transform): Fix fndecl check. | |
141 | ||
7c1f0b40 DM |
142 | 2011-04-08 Dmitry Melnik <dm@ispras.ru> |
143 | ||
144 | PR rtl-optimization/48235 | |
145 | * sel-sched.c (code_motion_process_successors): Recompute the last | |
146 | insn in basic block if control flow changed. | |
147 | (code_motion_path_driver): Ditto. Recompute the first insn as well. | |
148 | Update condition for ilist_remove. | |
149 | ||
ea4d630f AM |
150 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
151 | ||
152 | PR rtl-optimization/48302 | |
153 | * sel-sched-ir.h (sel_add_loop_preheaders): Update prototype. | |
154 | * sel-sched-ir.c (sel_add_loop_preheaders): Add 'bbs' argument. Use | |
155 | it to record added preheader blocks. | |
156 | * sel-sched.c (setup_current_loop_nest): Add 'bbs' argument. Pass it | |
157 | on to sel_add_loop_preheaders. | |
158 | (sel_region_init): Move call to setup_current_loop_nest after | |
159 | sel_init_bbs. | |
160 | ||
07643d76 AM |
161 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
162 | ||
163 | PR target/48273 | |
164 | * cfgloop.h (loop_has_exit_edges): New helper. | |
165 | * sel-sched-ir.c (init_global_and_expr_for_insn): Make CALLs | |
166 | non-clonable. | |
167 | * sel-sched.c (sel_setup_region_sched_flags): Don't pipeline loops | |
168 | that have no exit edges. | |
169 | ||
1f3b2b4e AM |
170 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
171 | ||
172 | PR rtl-optimization/48442 | |
173 | * sel-sched.c (init_seqno): Remove number_of_insns argument. Update | |
174 | all callers. Adjust assert. | |
175 | ||
554f1948 JJ |
176 | 2011-04-08 Jakub Jelinek <jakub@redhat.com> |
177 | ||
178 | PR tree-optimization/48377 | |
179 | * tree-vect-data-refs.c (vector_alignment_reachable_p): Set | |
180 | is_packed to true even for types with smaller TYPE_ALIGN than | |
181 | TYPE_SIZE. | |
182 | ||
ddf72388 RG |
183 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
184 | ||
185 | PR bootstrap/48513 | |
186 | * doc/tm.texi: Re-generate. | |
187 | ||
0c27e2d8 WG |
188 | 2011-04-08 Wei Guozhi <carrot@google.com> |
189 | ||
190 | PR target/47855 | |
191 | * config/arm/arm-protos.h (arm_attr_length_push_multi): New prototype. | |
192 | * config/arm/arm.c (arm_attr_length_push_multi): New function. | |
193 | * config/arm/arm.md (*push_multi): Change the length computation to | |
194 | call a C function. | |
195 | ||
07c5f94e AS |
196 | 2011-04-08 Anatoly Sokolov <aesok@post.ru> |
197 | ||
198 | * doc/tm.texi.in (ASM_OUTPUT_BSS): Remove documentation. | |
199 | (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): Update documentation. | |
200 | * doc/tm.texi: Regenerate. | |
201 | * system.h (ASM_OUTPUT_BSS): Poison. | |
202 | * varasm.c (asm_output_bss): Remove function. | |
203 | (emit_bss, init_varasm_once): Don't use ASM_OUTPUT_BSS macro. | |
204 | ||
205 | * config/frv/frv.h (BSS_SECTION_ASM_OP): Remove comment. | |
206 | * config/frv/fr30.h (BSS_SECTION_ASM_OP): Likewise. | |
207 | * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Likewise. | |
208 | * config/i386/i386elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
209 | Likewise. | |
210 | * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
211 | Likewise. | |
212 | * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
213 | Likewise. | |
214 | * config/m68k/netbsd-elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. | |
215 | ||
5f2c36e1 JM |
216 | 2011-04-07 Joseph Myers <joseph@codesourcery.com> |
217 | ||
218 | * config/rx/rx.opt (rx610, rx200, rx600): Use Enum not Name on | |
219 | EnumValue lines. | |
220 | ||
39e7722b JM |
221 | 2011-04-07 Joseph Myers <joseph@codesourcery.com> |
222 | ||
223 | * config/m68k/m68k.c (m68k_handle_option): Don't handle | |
224 | OPT_m68000, OPT_mc68000, OPT_m68010, OPT_m68020, OPT_mc68020, | |
225 | OPT_m68030, OPT_m68040, OPT_m68060, OPT_m68302, OPT_m68332 and | |
226 | OPT_mcpu32. | |
227 | * config/m68k/m68k.h (OPTION_DEFAULT_SPECS, ASM_CPU_SPEC): Don't | |
228 | handle -mc68000, -m68000, -m68302, -m68010, -mc68020, -m68020, | |
229 | -m68030, -m68040, -m68060, -mcpu32 and -m68332. | |
230 | * config/m68k/m68k.opt (m68000, m68010, m68020, m68030, m68040, | |
231 | m68060, m68302, m68332, mc68000, mc68020, mcpu32): Use Alias. | |
232 | * config/m68k/t-mlibs (CANONICALIZE_OPTIONS): Remove. | |
233 | (MULTILIB_OPTIONS): Don't use $(CANONICALIZE_OPTIONS). | |
234 | (MULTILIB_MATCHES): Map -march= options to corresponding -mcpu= | |
235 | options. Don't map other m68k options manually. Don't handle | |
236 | old-style options as canonical. | |
237 | (MULTILIB_EXCEPTIONS): Don't use $(CANONICALIZE_OPTIONS). | |
238 | * doc/install.texi (m68k-*-*): Document binutils version | |
239 | requirement. | |
240 | ||
cf103ca4 EB |
241 | 2011-04-07 Eric Botcazou <ebotcazou@adacore.com> |
242 | ||
243 | * basic-block.h (force_nonfallthru): Move to... | |
244 | * cfghooks.h (struct cfg_hooks): Add force_nonfallthru hook. | |
245 | (force_nonfallthru): ...here. | |
246 | * cfghooks.c (force_nonfallthru): New function. | |
247 | * cfgrtl.c (force_nonfallthru): Rename into... | |
248 | (rtl_force_nonfallthru): ...this. | |
249 | (commit_one_edge_insertion): Do not set AUX field. | |
250 | (commit_edge_insertions): Do not discover new basic blocks. | |
251 | (rtl_cfg_hooks): Add rtl_force_nonfallthru. | |
252 | (cfg_layout_rtl_cfg_hooks): Likewise. | |
253 | * function.c (thread_prologue_and_epilogue_insns): Remove bogus | |
254 | ATTRIBUTE_UNUSED. Discover new basic blocks in the prologue insns. | |
255 | * tree-cfg.c (gimple_cfg_hooks): Add NULL for force_nonfallthru. | |
256 | ||
14431f58 AS |
257 | 2011-04-07 Anatoly Sokolov <aesok@post.ru> |
258 | ||
259 | * config/mips/mips.h (REG_MODE_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): | |
260 | Remove macros. | |
261 | ||
3729983c UB |
262 | 2011-04-07 Uros Bizjak <ubizjak@gmail.com> |
263 | ||
264 | * config/i386/sse.md: Update copyright year. | |
265 | (avxcvtvecmode): Remove. | |
266 | (sse_movhlps): Merge with *avx_movhlps. | |
267 | (sse_movlhps): Merge with *avx_movlhps. | |
268 | (vec_interleave_highv4sf): Merge with *avx_interleave_highv4sf. | |
269 | (vec_interleave_lowv4sf): Merge with *avx_interleave_lowv4sf. | |
270 | (sse_shufps_<mode>): Merge with *avx_shufps_<mode>. | |
271 | (sse_loadhps): Merge with *avx_loadhps. | |
272 | (sse_storelps): Merge with *avx_storelps. | |
273 | (sse_loadlps): Merge with *avx_loadlps. | |
274 | (sse_movss): Merge with *avx_movss. | |
275 | (*vec_concatv2sf_sse4_1): Merge with *vec_concatv2sf_avx. | |
276 | (*vec_concatv4sf_sse): Merge with *vec_concatv4sf_avx. | |
277 | (*vec_set<mode>_0_sse4_1): Merge with *vec_set<mode>_0_avx. | |
278 | (*vec_set<mode>_0_sse2): Split multi-unit alternative. | |
279 | (vec_set<mode>_0): Ditto. | |
280 | (*vec_setv4sf_sse4_1): Merge with *vec_setv4sf_avx. | |
281 | (sse4_1_insertps): Merge with *avx_insertps. | |
282 | (*sse3_interleave_highv2df): Merge with *avx_interleave_highv2df. | |
283 | (*sse3_interleave_lowv2df): Merge with *avx_interleave_lowv2df. | |
284 | (vec_interleave_highv2di): Merge with *avx_interleave_highv2di. | |
285 | (sse2_shufpd_<mode>): Merge with *avx_shufpd_<mode>. | |
286 | (sse2_storehpd): Merge with *avx_storehpd. | |
287 | (sse2_loadhpd): Merge with *avx_loadhpd. | |
288 | (sse2_loadlpd): Merge with *avx_loadlpd. | |
289 | (sse2_movsd): Merge with *avx_movsd. | |
290 | (*vec_concatv2df): Merge with *vec_concatv2df. | |
291 | ||
4e626909 JJ |
292 | 2011-04-07 Jakub Jelinek <jakub@redhat.com> |
293 | ||
294 | PR debug/48343 | |
295 | * combine.c (combine_instructions): Add last_combined_insn, | |
3729983c | 296 | update it if insn is after it, pass it to all try_combine calls. |
4e626909 JJ |
297 | (try_combine): Add last_combined_insn parameter, pass it instead of |
298 | i3 to propagate_for_debug. | |
299 | ||
3729983c | 300 | 2011-04-07 Nick Clifton <nickc@redhat.com> |
5a10b0a9 NC |
301 | |
302 | * config/mn10300/mn10300.md (movqi_internal): Add alternatives | |
303 | to handle MDR <-> data register transfers. | |
304 | (movhi_internal): Likewise. | |
305 | ||
20c03367 AM |
306 | 2011-04-07 Alan Modra <amodra@gmail.com> |
307 | ||
308 | * config/rs6000/rs6000.c (rs6000_stack_info): Don't compare against | |
309 | previous stack info. | |
310 | ||
bf22920b TV |
311 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
312 | ||
313 | PR target/43920 | |
314 | * cfgcleanup.c (try_crossjump_to_edge): Add dir parameter. Pass dir to | |
315 | flow_find_cross_jump. Swap variables to implement backward replacement. | |
316 | (try_crossjump_bb): Add argument to try_crossjump_to_edge. | |
317 | ||
823918ae TV |
318 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
319 | ||
320 | PR target/43920 | |
321 | * cfgcleanup.c (walk_to_nondebug_insn): New function. | |
3729983c UB |
322 | (flow_find_cross_jump): Use walk_to_nondebug_insn. Recalculate bb1 |
323 | and bb2. | |
324 | (try_crossjump_to_edge): Handle case that newpos1 or newpos2 is not | |
325 | src1 or src2. Redirect edges to the last basic block. Update | |
326 | frequency and count on multiple basic blocks in case of fallthru. | |
823918ae | 327 | |
472c95f5 TV |
328 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
329 | ||
330 | PR target/43920 | |
331 | * cfgcleanup.c (equal_different_set_p, can_replace_by, merge_dir): New | |
332 | function. | |
3729983c UB |
333 | (old_insns_match_p): Change return type. Replace return false/true |
334 | with return dir_none/dir_both. Use can_replace_by. | |
335 | (flow_find_cross_jump): Add dir_p parameter. Init replacement | |
336 | direction from dir_p. Register replacement direction in dir, last_dir | |
337 | and afterlast_dir. Handle new return type of old_insns_match_p using | |
472c95f5 TV |
338 | merge_dir. Return replacement direction in dir_p. |
339 | (flow_find_head_matching_sequence, outgoing_edges_match): Handle new | |
340 | return type of old_insns_match_p. | |
341 | (try_crossjump_to_edge): Add argument to call to flow_find_cross_jump. | |
342 | * ifcvt.c ( cond_exec_process_if_block): Add argument to call to | |
343 | flow_find_cross_jump. | |
344 | * basic-block.h (enum replace_direction): New type. | |
345 | (flow_find_cross_jump): Add parameter to declaration. | |
346 | ||
a95d4000 UB |
347 | 2011-04-06 Uros Bizjak <ubizjak@gmail.com> |
348 | ||
349 | * config/i386/sse.md (AVXMODEDCVTDQ2PS): Remove. | |
350 | (AVXMODEDCVTPS2DQ): Ditto. | |
351 | (VEC_FLOAT_MODE): Ditto. | |
352 | (<sse>_andnot<mode>3): Merge with avx_andnot<mode>3. Use VF mode | |
353 | iterator. Handle TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL target flag. | |
354 | (<any_logic:code><mode>3): Use VF mode iterator. | |
355 | (*<any_logic:code><mode>3): Merge with *avx_<any_logic:code><mode>3. | |
356 | Use VF mode iterator. | |
357 | (copysign<mode>3): Use VF mode iterator. | |
358 | (*andnot<MODEF:mode>3): Merge with *avx_andnot<MODEF:mode>3. Handle | |
359 | TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL target flag. | |
360 | (*<any_logic:code><MODEF:mode>3): Merge with | |
361 | *avx_<any_logic:code><MODEF:mode>3. | |
362 | (sse_cvtsi2ss): Merge with *avx_cvtsi2ss. | |
363 | (sse_cvtsi2ssq): Merge with *avx_cvtsi2ssq. | |
364 | (avx_cvtdq2ps256): Split from avx_cvtdq2ps<avxmodesuffix>. | |
365 | (avx_cvtdq2ps<avxmodesuffix>): Remove. | |
366 | (sse2_cvtdq2ps): Use %v modifier. | |
367 | (avx_cvtps2dq256): Split from avx_cvtps2dq<avxmodesuffix>. | |
368 | (avx_cvtps2dq<avxmodesuffix>): Remove. | |
369 | (sse2_cvtps2dq): Use %v modifier. | |
370 | (avx_cvttps2dq256): Split from avx_cvttps2dq<avxmodesuffix>. | |
371 | (avx_cvttps2dq<avxmodesuffix>): Remove. | |
372 | (sse2_cvttps2dq): Use %v modifier. | |
373 | (sse2_cvtsi2sd): Merge with *avx_cvtsi2sd. | |
374 | (sse2_cvtsi2sdq): Merge with *avx_cvtsi2sdq. | |
375 | (sse2_cvtsd2siq): Fix insn template. | |
376 | (sse2_cvtsd2siq_2): Ditto. | |
377 | (sse2_cvttsd2siq): Ditto. | |
378 | (sse2_cvtsd2ss): Merge with *avx_cvtsd2ss. | |
379 | (sse2_cvtss2sd): Merge with *avx_cvtss2sd. | |
380 | ||
ad01c437 JM |
381 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
382 | ||
383 | * gcov-io.c: Use GCC Runtime Library Exception. | |
384 | ||
fe846284 JJ |
385 | 2011-04-06 Jakub Jelinek <jakub@redhat.com> |
386 | ||
387 | PR debug/48466 | |
388 | * dwarf2out.c (based_loc_descr): If drap_reg is INVALID_REGNUM, use | |
389 | as base_reg whatever register reg has been eliminated to, instead | |
390 | of hardcoding STACK_POINTER_REGNUM. | |
391 | ||
acce4e77 JM |
392 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
393 | ||
394 | * doc/tm.texi.in: Document C target hooks as separate from general | |
395 | target hooks. | |
396 | * doc/tm.texi: Regenerate. | |
397 | * genhooks.c (struct hook_desc): Add docname field. | |
398 | (HOOK_VECTOR_1, DEFHOOKPOD, DEFHOOK, DEFHOOK_UNDOC). Initialize | |
399 | docname field. | |
400 | (hook_array): Include c-target.def. | |
401 | (emit_documentation): Use docname field in output. | |
402 | (emit_init_macros): Take docname argument. Only emit definitions | |
403 | for hooks matching docname. | |
404 | (main): Expect additional arguments in all cases. Pass argument | |
405 | to emit_init_macros. | |
406 | * target.def: Move initial macro definitions and comments to | |
407 | target-hooks-macros.h. | |
408 | (gcc_targetcm): Move to c-family/c-target.def. | |
409 | * target.h (targetcm): Move declaration to c-family/c-target.h. | |
410 | * targhooks.c (default_handle_c_option): Move to | |
411 | c-family/c-opts.c. | |
412 | * targhooks.h (default_handle_c_option): Move declaration to | |
413 | c-family/c-common.h. | |
414 | * target-hooks-macros.h: New file. | |
415 | * config.gcc (target_has_targetcm): Define and use to add to | |
416 | c_target_objs and cxx_target_objs. | |
417 | * config/default-c.c: New file. | |
418 | * config/darwin-c.c: Include c-target.h and c-target-def.h instead | |
419 | of target.h and target-def.h. | |
420 | (TARGET_HANDLE_C_OPTION, targetcm): Define later in file. | |
421 | (darwin_objc_construct_string, darwin_cfstring_ref_p, | |
422 | darwin_check_cfstring_format_arg): Make static. | |
423 | (TARGET_OBJC_CONSTRUCT_STRING_OBJECT, | |
424 | TARGET_STRING_OBJECT_REF_TYPE_P, | |
425 | TARGET_CHECK_STRING_OBJECT_FORMAT_ARG): Define here. | |
426 | * config/darwin-protos.h (darwin_objc_construct_string, | |
427 | darwin_cfstring_ref_p, darwin_check_cfstring_format_arg): Don't | |
428 | declare. | |
429 | * config/darwin.h (TARGET_OBJC_CONSTRUCT_STRING_OBJECT, | |
430 | TARGET_STRING_OBJECT_REF_TYPE_P, | |
a95d4000 | 431 | TARGET_CHECK_STRING_OBJECT_FORMAT_ARG, TARGET_HAS_TARGETCM): Remove. |
acce4e77 JM |
432 | * config/t-darwin (darwin-c.o): Update dependencies. |
433 | * system.h (TARGET_HAS_TARGETCM): Poison. | |
434 | * Makefile.in (TARGET_H): Update. | |
435 | (TARGET_DEF, C_TARGET_DEF, C_TARGET_H, C_TARGET_DEF_H): Define. | |
436 | (c-family/c-format.o, c-family/c-opts.o): Update dependencies. | |
437 | (default-c.o): New target. | |
438 | (s-target-hooks-def-h): Pass "Target Hook" string to genhooks. | |
a95d4000 | 439 | (c-family/c-target-hooks-def.h, s-c-target-hooks-def-h): New targets. |
acce4e77 JM |
440 | (s-tm-texi): Pass -d option to genhooks. Also test timestamp on |
441 | c-target.def. | |
442 | (build/genhooks.o): Update dependencies. | |
443 | ||
275b4baa | 444 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
a95d4000 | 445 | |
275b4baa RG |
446 | * ipa-inline.c (enum inlining_mode): Remove. |
447 | (cgraph_flatten): Use some other token. | |
448 | (cgraph_edge_early_inlinable_p): New function, split out from ... | |
449 | (cgraph_perform_always_inlining): New function, split out from ... | |
450 | (cgraph_decide_inlining_incrementally): ... here. | |
451 | (cgraph_mark_inline_edge): Adjust. | |
452 | (cgraph_early_inlining): Re-structure. | |
453 | (pass_early_inline): Require SSA form. | |
454 | ||
f15b8bdf | 455 | 2011-04-06 Andrew Stubbs <ams@codesourcery.com> |
9adc580c AS |
456 | Julian Brown <julian@codesourcery.com> |
457 | Mark Shinwell <shinwell@codesourcery.com> | |
458 | ||
459 | * config/arm/arm.h (arm_class_likely_spilled_p): Check against | |
460 | LO_REGS only for Thumb-1. | |
461 | (MODE_BASE_REG_CLASS): Restrict base registers to those which can | |
462 | be used in short instructions when optimising for size on Thumb-2. | |
463 | ||
516426da EB |
464 | 2011-04-06 Eric Botcazou <ebotcazou@adacore.com> |
465 | ||
466 | * gimple-low.c (lower_gimple_return): When not optimizing, force labels | |
467 | associated with user returns to be preserved. | |
468 | ||
96621ebf TG |
469 | 2011-04-06 Tristan Gingold <gingold@adacore.com> |
470 | ||
f15b8bdf EB |
471 | * dbxout.c (debug_nesting, symbol_queue, symbol_queue_index, |
472 | symbol_queue_size, DBXOUT_DECR_NESTING, | |
96621ebf TG |
473 | (DBXOUT_DECR_NESTING_AND_RETURN): Also define |
474 | if XCOFF_DEBUGGING_INFO. | |
475 | ||
07c0852e UB |
476 | 2011-04-06 Uros Bizjak <ubizjak@gmail.com> |
477 | ||
478 | * config/i386/i386.md (attribute isa): New. | |
479 | (attribute enabled): New. | |
480 | (setcc_<mode>_sse): Merge from *{avx,sse}_setcc<mode>. | |
481 | (*fop_<mode>_comm_mixed): Merge with *fop_<mode>_comm_mixed_avx. | |
482 | (*fop_<mode>_comm_sse): Merge with *fop_<mode>_comm_avx. | |
483 | (*fop_<mode>_1_mixed): Merge with *fop_<mode>_1_mixed_avx. | |
484 | (*fop_<mode>_1_sse): Merge with *fop_<mode>_1_avx. | |
485 | (<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3. | |
486 | (*ieee_smin<mode>3): Merge with *avx_ieee_smin<mode>3. | |
487 | (*ieee_smax<mode>3): Merge with *avx_ieee_smax<mode>3. | |
488 | ||
489 | * config/i386/sse.md (VF): New mode iterator. | |
490 | (VF1): Ditto. | |
491 | (VF2): Ditto. | |
492 | (VF_128): Ditto. | |
493 | (SSEMODEF4): Remove. | |
494 | (attribute sse): Handle V8SF and V4DF modes. | |
495 | (<absneg:code><mode>2): Use VF mode iterator. | |
496 | (*absneg<mode>2): Merge from *{avx,sse}_absneg<mode>2. Use VF | |
497 | mode iterator. | |
498 | (<plusminus_insn><mode>3): Use VF mode iterator. | |
499 | (*<plusminus_insn><mode>3): Merge with *avx_<plusminus_insn><mode>3. | |
500 | Use VF mode iterator. | |
501 | (<sse>_vm<plusminus_insn><mode>3): Merge with | |
502 | *avx_vm<plusminus_insn><mode>3. Use VF_128 mode iterator. | |
503 | (mul<mode>3): Use VF mode iterator. | |
504 | (*mul<mode>3): Merge with *avx_mul<mode>3. Use VF mode iterator. | |
505 | (<sse>_vmmul<mode>3): Merge with *avx_vmmul<mode>3. Use VF_128 | |
506 | mode iterator. | |
507 | (div<VF2:mode>3): Merge from divv2df3 and divv4df3. | |
508 | (div<VF1:mode>3): Merge from divv4sf3 and divv8sf3. | |
509 | (<sse>_div<mode>3): Merge with *avx_div<mode>3. Use VF mode iterator. | |
510 | (<sse>_vmdiv<mode>3): Merge with *avx_vmdiv<mode>3. Use VF_128 | |
511 | mode iterator. | |
512 | (<sse>_rcp<mode>2): Merge from avx_rcpv8sf2 and sse_rcpv4sf2. | |
513 | Use VF1 mode iterator. | |
514 | (sse_vmrcpv4sf2): Merge with *avx_vmrcpv4sf2. | |
515 | (sqrt<VF2:mode>2): New expander. | |
516 | (sqrt<VF1:mode>2): Merge from sqrtv4sf2 and sqrtv8sf2. | |
517 | (<sse>_sqrt<mode>2): Merge from avx_sqrtv8sf2, sse_sqrtv4sf, sqrtv4df2 | |
518 | and sqrtv2df2. Use VF mode iterator. | |
519 | (<sse>_vmsqrt<mode>2): Merge with *avx_vmsqrt<mode>2. Use VF_128 | |
520 | mode iterator. | |
521 | (rsqrt<VF1:mode>2): Merge from rsqrtv4sf2 and rsqrtv8sf2. | |
522 | (<sse>_rsqrt<mode>2): Merge from avx_rsqrtv8sf2 and sse_rsqrt4sf2. | |
523 | Use VF1 mode iterator. | |
524 | (sse_vmrsqrtv4sf2): Merge with *avx_vmrsqrtv4sf2. | |
525 | (<smaxmin:code><mode>3): Use VF mode iterator. | |
526 | (*<smaxmin:code><mode>3_finite): Merge with | |
527 | *avx_<smaxmin:code><mode>3_finite. Use VF mode iterator. | |
528 | (*<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3. | |
529 | (<sse>_vm<smaxmin:code><mode>2): Merge with | |
530 | *avx_vm<smaxmin:code><mode>2. Use VF_128 mode iterator. | |
531 | (*ieee_smin<mode>3): Merge with *avx_ieee_smin<mode>3. Use VF | |
532 | mode iterator. | |
533 | (*ieee_smax<mode>3): Merge with *avx_ieee_smax<mode>3. Use VF | |
534 | mode iterator. | |
535 | (sse3_addsubv2df3): Merge with *avx_addsubv2df3. | |
536 | (sse3_addsubv4sf3): Merge with *avx_addsubv4sf3. | |
537 | (sse3_h<plusminus_insn>v2df3): Merge with *avx_h<plusminus_insn>v2df3. | |
538 | (sse3_h<plusminus_insn>v4sf3): Merge with *avx_h<plusminus_insn>v4sf3. | |
539 | (avx_cmp<mode>3): Rename from avx_cmp<ssemodesuffix><mode>3. Use | |
540 | VF mode iterator. | |
541 | (avx_vmcmp<mode>3): Rename from avx_cmp<ssescalarmodesuffix><mode>3. | |
542 | Use VF_128 mode iterator. | |
543 | (<sse>_maskcmp<mode>3): Merge with *avx_maskcmp<mode>3. Use VF | |
544 | mode iterator. | |
545 | (<sse>_vmmaskcmp<mode>3): Merge with *avx_vmmaskcmp<mode>3. Use | |
546 | VF_128 mode iterator. | |
547 | (vcond<mode>): Use VF mode iterator. | |
548 | * config/i386/predicates.md (sse_comparison_operator): Merge with | |
549 | avx_comparison_float_operator. Do not declare as special_predicate. | |
550 | * config/i386/i386.c (struct builtin_description): Update for renamed | |
551 | compare patterns. | |
552 | (ix86_expand_args_builtin): Ditto. | |
553 | (ix86_expand_sse_compare_mask): Ditto. | |
554 | ||
ff5d142c RG |
555 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
556 | ||
557 | * tree-inline.c (estimate_num_insns): For calls simply account | |
558 | for all passed arguments and a used return value. | |
559 | ||
d7d1d041 | 560 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
07c0852e | 561 | |
d7d1d041 RG |
562 | PR tree-optimization/47663 |
563 | * cgraph.h (struct cgraph_edge): Add call_stmt_size and | |
564 | call_stmt_time fields. | |
565 | (cgraph_edge_inlinable_p): Declare. | |
566 | (cgraph_edge_recursive_p): New inline function. | |
567 | * cgraph.c (cgraph_create_edge_1): Initialize call_stmt_size. | |
568 | (cgraph_clone_edge): Copy it. | |
569 | * ipa-inline.c (cgraph_estimate_edge_time): New function. | |
570 | Account for call stmt time. | |
571 | (cgraph_estimate_time_after_inlining): Take edge argument. | |
572 | (cgraph_estimate_edge_growth): Account call stmt size. | |
573 | (cgraph_estimate_size_after_inlining): Take edge argument. | |
574 | (cgraph_mark_inline_edge): Adjust. | |
575 | (cgraph_check_inline_limits): Likewise. | |
576 | (cgraph_recursive_inlining_p): Remove. | |
577 | (cgraph_edge_badness): Use cgraph_edge_recursive_p. | |
578 | (cgraph_decide_recursive_inlining): Take edge argument and | |
579 | adjust. | |
580 | (cgraph_decide_inlining_of_small_functions): Do not avoid | |
581 | diags for recursive inlining here. | |
582 | (cgraph_flatten): Adjust. | |
583 | (cgraph_decide_inlining_incrementally): Likewise. | |
584 | (estimate_function_body_sizes): Remove call cost handling. | |
585 | (compute_inline_parameters): Initialize caller edge call costs. | |
586 | (cgraph_estimate_edge_growth): New function. | |
587 | (cgraph_estimate_growth): Use it. | |
588 | (cgraph_edge_badness): Likewise. | |
589 | (cgraph_check_inline_limits): Take an edge argument. | |
590 | (cgraph_decide_inlining_of_small_functions): Adjust. | |
591 | (cgraph_decide_inlining): Likewise. | |
592 | * tree-inline.c (estimate_num_insns): Only account for call | |
593 | return value if it is used. | |
594 | (expand_call_inline): Avoid diagnostics on recursive inline | |
595 | functions here. | |
596 | * lto-cgraph.c (lto_output_edge): Output edge call costs. | |
597 | (input_edge): Input edge call costs. | |
598 | ||
2feb95f7 RO |
599 | 2011-04-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
600 | ||
601 | * config/alpha/osf5.h (MAX_OFILE_ALIGNMENT): Define. | |
602 | ||
26fbd9c2 JW |
603 | 2011-04-06 Jonathan Wakely <jwakely.gcc@gmail.com> |
604 | ||
605 | * doc/invoke.texi (Spec Files): Fix typo. | |
606 | ||
694dc0ca EB |
607 | 2011-04-06 Eric Botcazou <ebotcazou@adacore.com> |
608 | ||
609 | * profile.c (branch_prob): Move declaration of local variable. Remove | |
610 | obsolete ??? comment. Expand the location explicitly instead of using | |
611 | the LOCATION_FILE and LOCATION_LINE macros. | |
612 | ||
4925d0d5 WG |
613 | 2011-04-06 Wei Guozhi <carrot@google.com> |
614 | ||
615 | PR target/47855 | |
616 | * config/arm/arm.md (arm_cmpsi_insn): Compute attr "length". | |
617 | (arm_cond_branch): Likewise. | |
618 | (arm_cond_branch_reversed): Likewise. | |
619 | (arm_jump): Likewise. | |
620 | (push_multi): Likewise. | |
621 | * config/arm/constraints.md (Py): New constraint. | |
622 | ||
f55dfa2f NF |
623 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
624 | ||
625 | PR bootstrap/48471 | |
626 | * dbxout.c (debug_nesting, symbol_queue, symbol_queue_index): | |
627 | Move these... | |
628 | (symbol_queue_size, DBXOUT_DECR_NESTING): ...and these... | |
629 | (DBXOUT_DECR_NESTING_AND_RETURN): ...and this under | |
630 | #ifdef DBX_DEBUGGING_INFO. | |
631 | ||
fca96842 BS |
632 | 2011-04-05 Bernd Schmidt <bernds@codesourcery.com> |
633 | ||
634 | PR bootstrap/48403 | |
635 | * haifa-sched.c (schedule_block): Increment cycle_issued_insns only | |
636 | if old and new states differ. | |
637 | ||
30b83e38 JM |
638 | 2011-04-05 Joseph Myers <joseph@codesourcery.com> |
639 | ||
640 | * config/m68k/m68k.c (m68k_handle_option): Don't handle OPT_m5200, | |
641 | OPT_m5206e, OPT_m528x, OPT_m5307, OPT_m5407 and OPT_mcfv4e. | |
642 | * config/m68k/m68k.h (OPTION_DEFAULT_SPECS, ASM_CPU_SPEC): Don't | |
643 | handle -m5200, -m5206e, -m528x, -m5307, -m5407 and -mcfv4e. | |
644 | * config/m68k/m68k.opt (m5200, m5206e, m528x, m5307, m5407, | |
645 | mcfv4e): Use Alias. | |
646 | * config/m68k/t-mlibs (MULTILIB_MATCHES): Don't map legacy | |
647 | ColdFire options to -mcpu= options. | |
648 | ||
277a9aa5 JL |
649 | 2011-04-05 Jeff Law <law@redhat.com> |
650 | ||
651 | * tree-ssa-threadupdate.c (determine_bb_domination_status): Always | |
652 | check if BB is a successor of LOOP->header and return | |
653 | NONDOMINATING if it is not, regardless of ENABLE_CHECKING. | |
654 | ||
c1e2610e SB |
655 | 2011-04-05 Steven Bosscher <steven@gcc.gnu.org> |
656 | ||
657 | * cprop.c (struct reg_use): Remove. | |
658 | (reg_use_table): Make an array of RTX. | |
659 | (find_used_regs, constprop_register, local_cprop_pass, | |
660 | bypass_block): Simplify users of reg_use_table. | |
661 | (cprop_insn): Likewise. Iterate if copy propagation succeeded | |
662 | on one of the uses found by find_used_regs. | |
663 | ||
e532f586 NF |
664 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
665 | ||
666 | PR bootstrap/48469 | |
667 | * combine.c (combine_instructions): #ifdef AUTO_INC_DEC links | |
668 | declaration. | |
669 | ||
3fb7c055 NF |
670 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
671 | ||
672 | * combine.c (combine_instructions) [AUTO_INC_DEC]: Declare links | |
673 | as an rtx. | |
674 | (try_combine) [AUTO_INC_DEC]: Declare a local link rtx. | |
675 | ||
b71b43d9 SB |
676 | 2011-04-05 Steven Bosscher <steven@gcc.gnu.org> |
677 | ||
678 | PR middle-end/48441 | |
679 | * cprop.c (one_cprop_pass): Do not mark_oprs_set of deleted insns. | |
680 | ||
b405b274 NF |
681 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
682 | ||
683 | * combine.c: Include obstack.h. | |
684 | (struct insn_link): Define. | |
685 | (uid_log_links): Adjust type. | |
686 | (FOR_EACH_LOG_LINK): New macro. | |
687 | (insn_link_obstack): Declare. | |
688 | (alloc_insn_link): Define. | |
689 | (create_log_links): Call it. Use FOR_EACH_LOG_LINK and adjust | |
690 | type of link variables. | |
691 | (find_single_use, insn_a_feeds_b, combine_instructions): Likewise. | |
692 | (try_combine, record_promoted_values, distribute_notes): Likewise. | |
693 | (distribute_links): Likewise. Tweak prototype. | |
694 | (clear_log_links): Delete. | |
695 | (adjust_for_new_dest): Call alloc_insn_link. | |
696 | * Makefile.in (combine.o): Depend on $(OBSTACK_H). | |
697 | ||
6409abe3 NF |
698 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
699 | ||
700 | * gcse.c (modify_mem_list): Convert to an array of VECs. | |
701 | (canon_modify_mem_list, compute_transp): Tweak formatting. | |
702 | (alloc_gcse_mem): Likewise. Adjust for modify_mem_list change. | |
703 | (load_killed_in_block_p): Likewise. | |
704 | (record_last_mem_set_info): Likewise. | |
705 | (clear_modify_mem_tables): Likewise. | |
706 | ||
170d8157 TV |
707 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
708 | ||
709 | PR middle-end/48461 | |
710 | * function.c (emit_use_return_register_into_block): Only define if | |
711 | HAVE_return. | |
712 | ||
c5911a55 EB |
713 | 2011-04-05 Eric Botcazou <ebotcazou@adacore.com> |
714 | ||
715 | * stor-layout.c (self_referential_size): Fix 2010-07-13 commit. | |
716 | ||
abd016e6 JM |
717 | 2011-04-05 Joseph Myers <joseph@codesourcery.com> |
718 | ||
719 | * config/rx/rx-opts.h: New. | |
720 | * config/rx/rx.c (rx_cpu_type): Remove. | |
721 | (rx_handle_option): Don't assert that global structures are in | |
722 | use. Access variables via opts pointer. Defer most handling of | |
723 | OPT_mint_register_. Use error_at. | |
724 | (rx_option_override): Handle deferred OPT_mint_register_ here. | |
725 | * config/rx/rx.h (enum rx_cpu_types): Move to rx-opts.h. | |
726 | * config/rx/rx.opt (config/rx/rx-opts.h: New HeaderInclude. | |
727 | (mcpu=): Use Enum and specifiy rx_cpu_type with Var. | |
728 | (rx_cpu_types): New Enum and EnumValue entries. | |
729 | (mint-register=): Use Defer and use Var accordingly. | |
730 | ||
1ed13f83 NF |
731 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
732 | ||
733 | * debug.h (debug_flush_symbol_queue, debug_queue_symbol): Delete. | |
734 | (debug_free_queue, debug_nesting, symbol_queue_index): Delete. | |
735 | * final.c (debug_flush_symbol_queue, debug_queue_symbol): | |
736 | Move these... | |
737 | (debug_free_queue, debug_nesting, symbol_queue_index): | |
738 | ...and these... | |
739 | * dbxout.c: ...to here. Make static. | |
740 | ||
6ce1edcf NF |
741 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
742 | ||
743 | * gcse.c (modify_pair): Define. Define a VEC of it. | |
744 | (canon_modify_mem_list): Convert to an array of VECs. | |
745 | (free_insn_expr_list_list): Delete. | |
746 | (clear_modify_mem_tables): Call VEC_free instead. | |
747 | (record_last_mem_set_info): Don't modify canon_modify_mem_list. | |
748 | (alloc_gcse_mem): Adjust for canon_modify_mem_list change. | |
749 | (canon_list_insert, compute_transp): Likewise. | |
750 | ||
c201ac94 TV |
751 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
752 | ||
753 | PR target/43920 | |
754 | * config/arm/arm.h (BRANCH_COST): Set to 1 for Thumb-2 when optimizing | |
755 | for size. | |
756 | ||
4c029f40 TV |
757 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
758 | ||
759 | PR target/43920 | |
760 | * function.c (emit_use_return_register_into_block): New function. | |
761 | (thread_prologue_and_epilogue_insns): Use | |
762 | emit_use_return_register_into_block. | |
763 | ||
2a562b0a TV |
764 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
765 | ||
766 | PR target/43920 | |
767 | * cfgcleanup.c (flow_find_cross_jump): Don't count USE or CLOBBER as | |
768 | insn. | |
769 | ||
0248bceb TV |
770 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
771 | ||
772 | * cfgcleanup.c (try_crossjump_bb): Remove 2 superfluous variables. | |
773 | ||
ffa94123 YZ |
774 | 2011-04-05 Yufeng Zhang <yufeng.zhang@arm.com> |
775 | ||
776 | * config/arm/arm.md (define_constants for unspec): Replace with | |
777 | define_c_enum. | |
778 | (define_constants for unspecv): Replace with define_c_enum. | |
779 | * config/arm/neon.md (define_constants for unspec): Replace with | |
780 | define_c_enum. | |
781 | ||
3b8f9b46 RH |
782 | 2011-04-04 Richard Henderson <rth@redhat.com> |
783 | ||
720cf80f | 784 | PR bootstrap/48400 |
3b8f9b46 RH |
785 | * dwarf2out.c (output_line_info): Always emit line info from |
786 | at least one section. | |
787 | (dwarf2out_init): Create text_section_line_info here ... | |
788 | (set_cur_line_info_table): ... not here. | |
789 | ||
720cf80f | 790 | 2011-04-04 Vladimir Makarov <vmakarov@redhat.com> |
e5b0e1ca VM |
791 | |
792 | PR target/48380 | |
793 | * ira.c (ira): Call grow_reg_equivs when fix_reg_equiv_init is | |
720cf80f | 794 | not called. |
e5b0e1ca | 795 | |
720cf80f | 796 | * ira-emit.c (emit_move_list): Update reg_equiv_init insn list. |
e5b0e1ca | 797 | |
196565d4 SB |
798 | 2011-04-04 Steven Bosscher <steven@gcc.gnu.org> |
799 | ||
b77f9eab SB |
800 | * cprop.c (struct expr): Split 'expr' field in 'dest' and 'src'. |
801 | (expr_equiv_p): Remove. | |
802 | (insert_set_in_table): Look at <dest, src> pair instead of expr. | |
803 | (hash_scan_set): Update call to insert_set_in_table. | |
804 | (dump_hash_table): Dump <dest, src> pair. | |
805 | (lookup_set): Simplify. Lookup <dest, src> pair. | |
806 | (compute_transp): Remove, fold heavily simplified code into... | |
807 | (compute_local_properties): ...here. Expect COMP and TRANSP | |
808 | unconditionally. | |
809 | (find_avail_set): Take set directly from struct expr. | |
810 | (find_bypass-set): Likewise. | |
811 | (bypass_block): Likewise. | |
812 | (cprop_insn): Likewise. Remove redundant INSN_P test. | |
813 | ||
384d7a55 SB |
814 | * cprop.c (implicit_set_cond_p): Assume nothing about COND, move |
815 | checks on form of COND from find_implicit_sets to here. | |
816 | (find_implicit_sets): Cleanup control flow. Split critical edges | |
817 | if it exposes implicit sets. Allocate/resize implicit_sets as | |
818 | necessary. | |
819 | (one_cprop_pass): Only delete unreachable blocks if local_cprop_pass | |
820 | changed something. Run df_analyze after find_implicit_sets if any | |
821 | edges were split. Do not allocate implicit_sets here. | |
822 | ||
3084ce69 SB |
823 | * cprop.c: s/gcse/cprop/ everywhere except for flag_gcse. |
824 | (gcse_obstack): Renamed to cprop_obstack. | |
825 | (GNEW, GNEWVEC, GNEWVAR): Remove. | |
826 | (gmalloc): Remove. | |
827 | (alloc_hash_table): Use XNEWVAR instead of GNEWVAR. | |
828 | (GOBNEW, GOBNEWVAR): Adjust for gcse_obstack renaming. | |
829 | (gcse_alloc): Likewise, and rename to cprop_alloc. | |
830 | (alloc_gcse_men, free_gcse_mem): Remove. | |
831 | (gcse_constant_p): Rename to cprop_constant_p, and adjust all callers. | |
832 | (compute_hash_table_work): Allocate and free reg_set_bitmap here. | |
833 | (one_cprop_pass): Likewise. Adjust for gcse_obstack renaming. | |
834 | ||
196565d4 SB |
835 | * cprop.c (oprs_not_set_p): Remove. |
836 | (mark_set, mark_clobber): Remove. | |
837 | (mark_oprs_set): Rewrite using DF_INSN_INFO_DEFS cache. | |
838 | (reg_not_set_p): New function. | |
839 | (find_avail_set): Use reg_not_set_p instead of oprs_not_set_p. | |
840 | (cprop_insn): Likewise. | |
841 | (cprop_jump): Use FOR_EACH_EDGE. | |
842 | ||
9b69cf83 BS |
843 | 2011-04-04 Bernd Schmidt <bernds@codesourcery.com> |
844 | ||
845 | PR bootstrap/48403 | |
846 | * haifa-sched.c (nonscheduled_insns_begin): New static variable. | |
847 | (rank_for_schedule): Use scheduled_insns vector instead of | |
848 | last_scheduled_insn. | |
849 | (ok_for_early_queue_removal): Likewise. | |
850 | (queue_to_ready): Search forward in nonscheduled_insns_begin if | |
851 | we have a dbg_cnt. | |
852 | (choose_ready): Likewise. | |
853 | (commit_schedule): Use VEC_iterate. | |
854 | (schedule_block): Initialize nonscheduled_insns_begin. If we have | |
855 | a dbg_cnt, use it and ensure the first insn is in the ready list. | |
856 | (haifa_sched_init): Allocate scheduled_insns. | |
857 | (sched_extend_ready_list): Don't allocate it; reserve space. | |
858 | (haifa_sched_finish): Free it. | |
859 | ||
24f48c2f JM |
860 | 2011-04-04 Joseph Myers <joseph@codesourcery.com> |
861 | ||
862 | * optc-gen.awk: Always remove type from Variable entry before | |
863 | recording in var_seen. | |
864 | ||
8effe856 EB |
865 | 2011-04-04 Eric Botcazou <ebotcazou@adacore.com> |
866 | ||
867 | * cfghooks.c (tidy_fallthru_edges): Add ??? comment. | |
868 | * tree-inline.c (delete_unreachable_blocks_update_callgraph): Remove | |
869 | call to tidy_fallthru_edges. | |
870 | ||
413519ae JM |
871 | 2011-04-04 Joseph Myers <joseph@codesourcery.com> |
872 | ||
873 | * doc/options.texi (ToLower): Document. | |
3729983c | 874 | * opt-functions.awk (switch_bit_fields): Initialize cl_tolower field. |
413519ae JM |
875 | * opts-common.c (decode_cmdline_option): Handle cl_tolower. |
876 | * opts.h (cl_option): Add cl_tolower field. | |
877 | * config/rx/rx.c (rx_handle_option): Use strcmp of -mcpu= | |
878 | arguments with lowercase strings. | |
879 | * config/rx/rx.opt (mcpu=): Add ToLower. | |
880 | * config/rx/t-rx (MULTILIB_MATCHES): Don't handle uppercase -mcpu= | |
881 | argument. | |
882 | ||
7d34a1b0 RS |
883 | 2011-04-04 Richard Sandiford <richard.sandiford@linaro.org> |
884 | ||
885 | * config/pdp11/pdp11.h (IRA_COVER_CLASSES): Delete. | |
886 | ||
c30e7434 RS |
887 | 2011-04-04 Richard Sandiford <richard.sandiford@linaro.org> |
888 | ||
889 | * config/vax/vax.c: Include reload.h. | |
890 | ||
112a861d AS |
891 | 2011-04-04 Anatoly Sokolov <aesok@post.ru> |
892 | ||
893 | * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Remove. | |
894 | * config/sparc/sparc.c (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
895 | (sparc_preferred_reload_class): New function. | |
896 | ||
e8c6bb74 JJ |
897 | 2011-04-04 Jakub Jelinek <jakub@redhat.com> |
898 | ||
2aeaa366 | 899 | PR debug/48401 |
e8c6bb74 JJ |
900 | * cfgexpand.c (expand_gimple_basic_block): Avoid useless assignment. |
901 | Use PAT_VAR_LOCATION_LOC instead of INSN_VAR_LOCATION_LOC. | |
902 | ||
2c081caf NF |
903 | 2011-04-03 Nathan Froyd <froydnj@codesourcery.com> |
904 | ||
905 | * tree.h (struct tree_const_decl): Inherit from tree_decl_common. | |
906 | * tree.c (initialize_tree_contains_struct): Adjust accordingly. | |
907 | ||
53802f27 AS |
908 | 2011-04-03 Anatoly Sokolov <aesok@post.ru> |
909 | ||
910 | * config/avr/avr.h (ASM_OUTPUT_BSS): Remove. | |
911 | (ASM_OUTPUT_ALIGNED_BSS): Define. | |
912 | ||
e89964e3 MM |
913 | 2011-04-03 Michael Matz <matz@suse.de> |
914 | ||
915 | * lto-streamer.h (struct lto_streamer_cache_d): Remove offsets | |
916 | and next_slot members. | |
917 | (lto_streamer_cache_insert, lto_streamer_cache_insert_at, | |
918 | lto_streamer_cache_lookup, lto_streamer_cache_get): Adjust prototypes. | |
919 | (lto_streamer_cache_append): Declare. | |
920 | * lto-streamer.c (lto_streamer_cache_add_to_node_array): Use | |
921 | unsigned index, remove offset parameter, ensure that we append | |
922 | or update existing entries. | |
923 | (lto_streamer_cache_insert_1): Use unsigned index, remove offset_p | |
924 | parameter, update next_slot for append. | |
925 | (lto_streamer_cache_insert): Use unsigned index, remove offset_p | |
926 | parameter. | |
927 | (lto_streamer_cache_insert_at): Likewise. | |
928 | (lto_streamer_cache_append): New function. | |
929 | (lto_streamer_cache_lookup): Use unsigned index. | |
930 | (lto_streamer_cache_get): Likewise. | |
931 | (lto_record_common_node): Don't test tree_node_can_be_shared. | |
932 | (preload_common_node): Adjust call to lto_streamer_cache_insert. | |
933 | (lto_streamer_cache_delete): Don't free offsets member. | |
934 | * lto-streamer-out.c (eq_string_slot_node): Use memcmp. | |
935 | (lto_output_string_with_length): Use lto_output_data_stream. | |
936 | (lto_output_tree_header): Remove ix parameter, don't write it. | |
937 | (lto_output_builtin_tree): Likewise. | |
938 | (lto_write_tree): Adjust callers to above, don't track and write | |
939 | offset, write unsigned index. | |
940 | (output_unreferenced_globals): Don't emit all global vars. | |
941 | (write_global_references): Use unsigned indices. | |
942 | (lto_output_decl_state_refs): Likewise. | |
943 | (write_symbol): Likewise. | |
944 | * lto-streamer-in.c (lto_input_chain): Move earlier. | |
945 | (input_function): Use unsigned index. | |
946 | (input_alias_pairs): Don't read and then ignore all global vars. | |
947 | (lto_materialize_tree): Remove ix_p parameter, don't read index, | |
948 | don't pass it back, use lto_streamer_cache_append. | |
949 | (lto_register_var_decl_in_symtab): Use unsigned index. | |
950 | (lto_register_function_decl_in_symtab): Likewise. | |
951 | (lto_get_pickled_tree): Don't read in or handle offset, read unsigned | |
952 | index. | |
953 | (lto_get_builtin_tree): Don't read index, use | |
954 | lto_streamer_cache_append. | |
955 | (lto_read_tree): Adjust call to lto_materialize_tree. | |
956 | ||
957 | * ipa-inline.c (cgraph_edge_badness): Move growth calculaton, | |
958 | don't use function calls in arguments to MIN. | |
959 | ||
960 | * varasm.c (decl_binds_to_current_def_p): Don't check TREE_PUBLIC | |
961 | twice. | |
962 | ||
963 | * gimple.c (gimple_type_leader_entry): Mark deletable. | |
964 | ||
b9a5b5b2 AM |
965 | 2011-04-03 Alan Modra <amodra@gmail.com> |
966 | ||
967 | * dwarf2out.c (mem_loc_descriptor): Recurse on LO_SUM. | |
968 | ||
ac6a641b MM |
969 | 2011-04-03 Michael Matz <matz@suse.de> |
970 | ||
971 | * tree.c (free_lang_data_in_decl): Zero DECL_VINDEX if it's not | |
972 | an integer. | |
973 | * tree.h (tree_decl_non_common.vindex): Adjust comment. | |
974 | ||
0038d4e0 MM |
975 | 2011-04-03 Michael Matz <matz@suse.de> |
976 | ||
e9c18386 | 977 | * cgraphbuild.c (record_reference): Canonicalize constructor values. |
0038d4e0 MM |
978 | * gimple-fold.c (canonicalize_constructor_val): Accept being called |
979 | without function context. | |
980 | * cgraphunit.c (cgraph_finalize_compilation_unit): Clear | |
981 | current_function_decl and cfun. | |
982 | ||
91f2fae8 MM |
983 | 2011-04-03 Michael Matz <matz@suse.de> |
984 | ||
985 | * tree.c (decl_init_priority_insert): Don't create entry for | |
986 | default priority. | |
987 | (decl_fini_priority_insert): Ditto. | |
988 | (fields_compatible_p, find_compatible_field): Remove. | |
989 | * tree.h (fields_compatible_p, find_compatible_field): Remove. | |
990 | * gimple.c (gimple_compare_field_offset): Adjust block comment. | |
991 | ||
da29e070 EB |
992 | 2011-04-03 Eric Botcazou <ebotcazou@adacore.com> |
993 | ||
994 | * combine.c (try_combine): Remove useless local variable. | |
995 | ||
4979c28b | 996 | 2011-04-03 Richard Guenther <rguenther@suse.de> |
91f2fae8 | 997 | Ira Rosen <ira.rosen@linaro.org> |
4979c28b RG |
998 | |
999 | * tree-if-conv.c (memrefs_read_or_written_unconditionally): Strip all | |
1000 | non-variable offsets and compare the remaining bases of the two | |
1001 | accesses instead of looking for exact same data-ref. | |
1002 | ||
b4ddcaee KT |
1003 | 2011-04-02 Kai Tietz <ktietz@redhat.com> |
1004 | ||
f90298e1 KT |
1005 | PR target/48416 |
1006 | * i386.c (ix86_function_arg_boundary): Fix printf formatter. | |
1007 | ||
b4ddcaee KT |
1008 | * i386.c (ix86_is_msabi_thiscall): New helper function. |
1009 | (ix86_is_type_thiscall): New helper function. | |
1010 | (ix86_comp_type_attributes): Handle thiscall for method-functions | |
1011 | special. | |
1012 | (init_cumulative_args): Likewise. | |
1013 | (find_drap_reg): Likewise. | |
1014 | (ix86_static_chain): Likewise. | |
1015 | (x86_this_parameter): Likewise. | |
1016 | (x86_output_mi_thunk): Likewise. | |
1017 | ||
2a9d769a | 1018 | 2011-04-01 Olivier Hainque <hainque@adacore.com> |
91f2fae8 MM |
1019 | Nicolas Setton <setton@adacore.com> |
1020 | Eric Botcazou <ebotcazou@adacore.com> | |
2a9d769a OH |
1021 | |
1022 | * dwarf2out.c (dwarf_attr_name): Map DW_AT_GNAT_descriptive_type. | |
1023 | (add_gnat_descriptive_type_attribute): New function. | |
1024 | (gen_array_type_die): Call it. | |
1025 | (gen_enumeration_type_die): Likewise. | |
1026 | (gen_struct_or_union_type_die): Likewise. | |
1027 | (modified_type_die): Likewise. | |
1028 | * langhooks.h (lang_hooks_for_types): New descriptive_type hook. | |
1029 | * langhooks-def.h (LANG_HOOKS_DESCRIPTIVE_TYPE): Default to NULL. | |
1030 | (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add LANG_HOOKS_DESCRIPTIVE_TYPE. | |
1031 | ||
15a03a11 JJ |
1032 | 2011-04-01 Jakub Jelinek <jakub@redhat.com> |
1033 | ||
1034 | PR bootstrap/48148 | |
1035 | * dwarf2out.c (resolve_addr): Don't call force_decl_die | |
1036 | if DECL_EXTERNAL has non-NULL DECL_ABSTRACT_ORIGIN. | |
1037 | ||
1038 | Revert: | |
1039 | 2011-03-17 Richard Guenther <rguenther@suse.de> | |
1040 | ||
1041 | PR bootstrap/48148 | |
1042 | * lto-cgraph.c (input_overwrite_node): Clear the abstract | |
1043 | origin for decls in other ltrans units. | |
1044 | (input_varpool_node): Likewise. | |
1045 | ||
19228b93 JJ |
1046 | 2011-04-01 Jakub Jelinek <jakub@redhat.com> |
1047 | ||
1048 | PR middle-end/48335 | |
1049 | * expr.c (expand_assignment): Handle all possibilities | |
1050 | if TO_RTX is CONCAT. | |
e9c18386 | 1051 | * expmed.c (store_bit_field_1): Avoid trying to create invalid SUBREGs. |
19228b93 JJ |
1052 | (store_split_bit_field): If SUBREG_REG (op0) or |
1053 | op0 itself has smaller mode than word, return it | |
1054 | for offset 0 and const0_rtx for out-of-bounds stores. | |
1055 | If word is const0_rtx, skip it. | |
1056 | ||
88cb339e N |
1057 | 2011-04-01 Naveen H.S <naveen.S@kpitcummins.com> |
1058 | ||
1059 | * config/h8300/h8300.c (print_operand_address): Rename to... | |
1060 | (h8300_print_operand_address): ...this. Make static. Adjust comments. | |
1061 | Call h8300_print_operand and h8300_print_operand_address instead of | |
1062 | print_operand and print_operand_address. Declare. | |
1063 | (print_operand): Renake to... | |
1064 | (h8300_print_operand): ...this. Make static. Adjust comments. | |
1065 | Call h8300_print_operand instead of print_operand. Declare. | |
1066 | (h8300_print_operand_punct_valid_p): Moved from h8300.h file. | |
1067 | (h8300_register_move_cost): Likewise. | |
1068 | (TARGET_PRINT_OPERAND_PUNCT_VALID_P, TARGET_PRINT_OPERAND | |
1069 | TARGET_PRINT_OPERAND_ADDRESS, TARGET_REGISTER_MOVE_COST): Define. | |
1070 | * config/h8300/h8300.h (PRINT_OPERAND_ADDRESS, PRINT_OPERAND | |
1071 | PRINT_OPERAND_PUNCT_VALID_P, REGISTER_MOVE_COST): Delete. | |
1072 | * config/h8300/h8300-protos.h (print_operand): Delete. | |
1073 | (print_operand_address): Delete. | |
1074 | ||
756d6ee9 RH |
1075 | 2011-04-01 Richard Henderson <rth@redhat.com> |
1076 | ||
1077 | PR 48400 | |
1078 | * dwarf2out.c (dwarf2out_source_line): Disable discriminators | |
1079 | in strict mode before dwarf4. Re-order tests to early out | |
1080 | before switching sections. | |
1081 | ||
ceaaaeab NF |
1082 | 2011-04-01 Nathan Froyd <froydnj@codesourcery.com> |
1083 | ||
1084 | * config/h8300/constraints.md: New file. | |
1085 | * config/h8300/h8300.md: Include it. Use satisfies_constraint_J, | |
1086 | satisfies_constraint_L, and satisfies_constraint_N for peephole2s. | |
1087 | (*tst_extzv_1_n, *tstsi_variable_bit_qi): Use satisfies_constraint_U. | |
1088 | * config/h8300/predicates.md (bit_operand): Likewise. | |
1089 | (incdec_operand): Use satisfies_constraint_M and | |
1090 | satisfies_constraint_O. Don't use C code block. | |
1091 | * config/h8300/h8300-protos.h (h8300_reg_class_from_letter): Delete. | |
1092 | * config/h8300/h8300.c (h8300_reg_class_from_letter): Delete. | |
1093 | (compute_mov_length): Use satisfies_constraint_G. | |
1094 | (fix_bit_operand): Use satisfies_constraint_U. | |
1095 | * config/h8300/h8300.h (REG_CLASS_FROM_LETTER): Delete. | |
1096 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Delete. | |
1097 | (CONST_OK_FOR_M, CONST_OK_FOR_N, CONST_OK_FOR_O): Delete. | |
1098 | (CONST_OK_FOR_Ppositive, CONST_OK_FOR_Pnegative): Delete. | |
1099 | (CONST_OK_FOR_P, CONSTRAINT_LEN_FOR_P): Delete. | |
1100 | (CONST_OK_FOR_CONSTRAINT_P, CONST_OK_FOR_LETTER_P): Delete. | |
1101 | (CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
1102 | (OK_FOR_Q, OK_FOR_R, OK_FOR_S, OK_FOR_T, OK_FOR_U, OK_FOR_WU): Delete. | |
1103 | (OK_FOR_W, CONSTRAINT_LEN_FOR_W, OK_FOR_Y2, OK_FOR_Y0): Delete. | |
1104 | (OK_FOR_Y, CONSTRAINT_LEN_FOR_Y, OK_FOR_Z): Delete. | |
1105 | (EXTRA_CONSTRAINT_STR, CONSTRAINT_LEN): Delete. | |
1106 | (EXTRA_MEMORY_CONSTRAINT): Delete. | |
1107 | ||
08ae38e0 AP |
1108 | 2011-04-01 Andrew Pinski <pinskia@gmail.com> |
1109 | Michael Meissner <meissner@linux.vnet.ibm.com> | |
1110 | ||
1111 | PR target/48262 | |
1112 | * config/rs6000/vector.md (movmisalign<mode>): Allow for memory | |
1113 | operands, as per the specifications. | |
1114 | ||
1115 | * config/rs6000/altivec.md (vec_extract_evenv4si): Correct modes. | |
1116 | (vec_extract_evenv4sf): Ditto. | |
1117 | (vec_extract_evenv8hi): Ditto. | |
1118 | (vec_extract_evenv16qi): Ditto. | |
1119 | (vec_extract_oddv4si): Ditto. | |
1120 | ||
bdb0b0f6 MW |
1121 | 2011-03-31 Mark Wielaard <mjw@redhat.com> |
1122 | ||
1123 | * dwarf2out.c (dwarf2out_finish): Don't add low_pc and/or | |
1124 | high_pc attribute if the CU has no associated code. Only output | |
1125 | DW_AT_entry_pc for CU if not generating strict dwarf and | |
1126 | dwarf_version < 4. | |
1127 | ||
722279e4 BS |
1128 | 2011-04-01 Bernd Schmidt <bernds@codesourcery.com> |
1129 | ||
1130 | * dwarf2out.h (dwarf2out_frame_debug_init): Declare. | |
1131 | * dwarf2out.c (dwarf2out_frame_debug_init): New function, broken | |
1132 | out of ... | |
1133 | (dwarf2out_frame_debug): ... here. Don't handle a NULL argument. | |
1134 | * final.c (final_start_function): Call the new function rather | |
1135 | than using a NULL argument for dwarf2out_frame_debug. | |
1136 | ||
c5dd277d BS |
1137 | * ifcvt.c (cond_exec_process_insns): Disallow converting a block |
1138 | that contains the prologue. | |
1139 | ||
ec4efea9 BS |
1140 | * haifa-sched.c (queue_insn): New arg REASON. All callers |
1141 | changed. Print it in debugging output. | |
1142 | ||
2a6a0d80 BS |
1143 | * sched-ebb.c (schedule_ebbs): Honor the BB_DISABLE_SCHEDULE flag. |
1144 | ||
86014d07 BS |
1145 | * sched-ebb.c (begin_schedule_ready): Remove second argument. |
1146 | Split most of the code into... | |
1147 | (begin_move_insn): ... here. New function. | |
1148 | (ebb_sched_info): Add a pointer to it. | |
1149 | * haifa-sched.c (scheduled_insns): New static variable. | |
1150 | (sched_extend_ready_list): Allocate it. | |
1151 | (schedule_block): Use it to record the order of scheduled insns. | |
1152 | Perform RTL changes to move insns only after all scheduling | |
1153 | decisions have been made. | |
1154 | * modulo-sched.c (sms_sched_haifa_sched_info): Add NULL entry for the | |
1155 | begin_move_insn field. | |
1156 | * sel-sched-ir.c (sched_sel_haifa_sched_info): Likewise. | |
1157 | * sched-int.h (struct haifa_sched_info): Remove second argument | |
1158 | from begin_schedule_ready hook. Add new member begin_move_insn. | |
1159 | * sched-rgn.c (begin_schedule_ready): Remove second argument. | |
1160 | (rgn_const_sched_info): Add NULL entry for the begin_move_insn field. | |
1161 | ||
9d701248 BS |
1162 | * haifa-sched.c (prune_ready_list): New function, broken out of |
1163 | schedule_block. | |
1164 | (schedule_block): Use it. | |
1165 | ||
1ca1dad5 UW |
1166 | 2011-04-01 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
1167 | ||
1168 | * config/spu/t-spu-elf (dp-bit.c): Use > instead of >>. | |
1169 | ||
49568e45 KT |
1170 | 2011-04-01 Kai Tietz <ktietz@redhat.com> |
1171 | ||
1172 | * config.gcc (*-*-mingw*): Allow as option the | |
1173 | posix threading model. | |
07c0852e | 1174 | * config/i386/mingw32.h (SPEC_PTHREAD1, SPEC_PTHREAD2): |
49568e45 KT |
1175 | New macros defined dependent to TARGET_USE_PTHREAD_BY_DEFAULT |
1176 | definition. | |
1177 | (CPP_SPEC): Add pthread/no-pthread handling. | |
1178 | (LIB_SPEC): Likewise. | |
1179 | * config/i386/mingw-w64.h (CPP_SPEC):Likewise. | |
1180 | (LIB_SPEC): Likewise. | |
1181 | * config/i386/t-cygming (SHLIB_PTHREAD_CFLAG): New | |
1182 | flag to pass -pthread option for shared libgcc build. | |
1183 | (SHLIB_PTHREAD_LDFLAG): New option to pass -lpthread | |
1184 | for shared libgcc build. | |
1185 | * config/i386/t-mingw-pthread: New file. | |
1186 | * config/i386/mingw-pthread.h (TARGET_USE_PTHREAD_BY_DEFAULT): | |
1187 | New define to enable use of library pthread by default. | |
1188 | * config/i386/mingw.opt (pthread): New driver option. | |
1189 | (no-pthread): New driver option. | |
e9c18386 | 1190 | * config/i386/cygming.opt: Make sure trailing empty line is retained. |
49568e45 KT |
1191 | * config/i386/mingw-w64.opt: Likewise. |
1192 | ||
636b4106 GF |
1193 | 2011-04-01 Gary Funck <gary@intrepid.com> |
1194 | ||
1195 | * c-decl.c (grokdeclarator): Fix formatting. | |
1196 | ||
f04713ee RS |
1197 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
1198 | ||
1199 | * expr.c (emit_block_move_via_movmem): Use n_generator_args | |
1200 | instead of n_operands. | |
1201 | (set_storage_via_setmem): Likewise. | |
1202 | * optabs.c (maybe_gen_insn): Likewise. | |
1203 | * config/arm/arm.c (arm_init_neon_builtins): Likewise. | |
1204 | * config/mips/mips.c (mips_expand_builtin_compare_1): Likewise. | |
1205 | (mips_expand_builtin_direct): Likewise. | |
1206 | * config/spu/spu.c (expand_builtin_args): Likewise. | |
1207 | ||
b29387ee RS |
1208 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
1209 | ||
1210 | * recog.h (insn_data_d): Add n_generator_args. | |
1211 | * genoutput.c (data): Likewise. | |
1212 | (output_insn_data): Print it. | |
1213 | (max_opno, num_dups): Delete. | |
1214 | (scan_operands): Just fill in "d->operand[...]". | |
1215 | (gen_insn, gen_peephole, gen_expand, gen_split): Use get_pattern_stats. | |
1216 | ||
e792559a RS |
1217 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
1218 | ||
1219 | * gensupport.h (pattern_stats): New structure. | |
1220 | * gensupport.c (get_pattern_stats_1, get_pattern_stats): New functions. | |
1221 | * genemit.c (max_opno, max_dupno, max_scratch_opno): Delete. | |
1222 | (max_operand_1, max_operand_vec): Delete. | |
1223 | (gen_insn, gen_expand, gen_split): Use get_pattern_stats. | |
1224 | ||
e8110d6f NF |
1225 | 2011-03-31 Nathan Froyd <froydnj@codesourcery.com> |
1226 | ||
1227 | * emit-rtl.c (emit_pattern_after_setloc): New function. | |
1228 | (emit_insn_after_setloc, emit_jump_insn_after_setloc): Call it. | |
1229 | (emit_call_insn_after_setloc, emit_debug_insn_after_setloc): Likewise. | |
1230 | (emit_pattern_after): New function. | |
1231 | (emit_insn_after, emit_jump_insn_after): Call it. | |
1232 | (emit_call_insn_after, emit_debug_insn_after): Likewise. | |
1233 | (emit_pattern_before_setloc): New function. | |
1234 | (emit_insn_before_setloc, emit_jump_insn_before_setloc): Call it. | |
1235 | (emit_call_insn_before_setloc, emit_debug_insn_before_setloc): | |
1236 | Likewise. | |
1237 | (emit_pattern_before): New function. | |
1238 | (emit_insn_before, emit_jump_insn_before): Call it. | |
1239 | (emit_call_insn_before, emit_debug_insn_before): Likewise. | |
1240 | ||
576f85f1 RH |
1241 | 2011-03-31 Richard Henderson <rth@redhat.com> |
1242 | ||
1243 | * dwarf2out.c (dw_separate_line_info_ref): Remove. | |
1244 | (dw_separate_line_info_entry): Remove. | |
1245 | (enum dw_line_info_opcode): New. | |
1246 | (dw_line_info_entry): Use it. | |
1247 | (dw_line_info_table, dw_line_info_table_p): New. | |
1248 | (DWARF_LINE_OPCODE_BASE): Include dwarf3 opcodes. | |
1249 | (line_info_table, line_info_label_num): Remove. | |
1250 | (line_info_table_in_use): Remove. | |
1251 | (separate_line_info_table): Remove. | |
1252 | (separate_line_info_table_allocated): Remove. | |
1253 | (separate_line_info_table_in_use): Remove. | |
1254 | (LINE_INFO_TABLE_INCREMENT): Remove. | |
1255 | (line_info_label_num): New. | |
1256 | (cur_line_info_table): New. | |
1257 | (text_section_line_info, cold_text_section_line_info): New. | |
1258 | (separate_line_info): New. | |
1259 | (SEPARATE_LINE_CODE_LABEL): Remove. | |
1260 | (print_dwarf_line_table): Remove. | |
1261 | (debug_dwarf): Don't dump it. | |
1262 | (output_one_line_info_table): New. | |
1263 | (output_line_info): Use it. | |
1264 | (new_line_info_table): New. | |
1265 | (set_cur_line_info_table): New. | |
1266 | (dwarf2out_switch_text_section): Use it. | |
1267 | (dwarf2out_begin_function): Likewise. | |
1268 | (push_dw_line_info_entry): New. | |
1269 | (dwarf2out_source_line): Rewrite for new line info tables. | |
1270 | (dwarf2out_init): Remove dead initailizations. | |
1271 | ||
300d83d9 JM |
1272 | 2011-03-31 Joseph Myers <joseph@codesourcery.com> |
1273 | ||
1274 | * opts.h (cl_option): Add comments to fields. Add bit-fields for | |
1275 | various flags. | |
1276 | (CL_SEPARATE_NARGS_SHIFT, CL_SEPARATE_NARGS_MASK, | |
1277 | CL_SEPARATE_ALIAS, CL_NO_DRIVER_ARG, CL_REJECT_DRIVER, CL_SAVE, | |
1278 | CL_DISABLED, CL_REPOR, CL_REJECT_NEGATIVE, CL_MISSING_OK, | |
1279 | CL_UINTEGER, CL_NEGATIVE_ALIAS): Remove. | |
1280 | (CL_JOINED, CL_SEPARATE, CL_UNDOCUMENTED): Update bit positions. | |
1281 | * opt-functions.awk (flag_init, switch_bit_fields): New. | |
1282 | (switch_flags): Don't handle flags moved to bit-fields. Don't | |
1283 | generate CL_MISSING_OK or CL_SAVE. | |
1284 | * optc-gen.awk: Update to generate bit-field output as well as | |
1285 | flags field. | |
1286 | * gcc.c (driver_wrong_lang_callback): Use cl_reject_driver | |
1287 | bit-field instead of CL_REJECT_DRIVER flag. | |
1288 | * opts-common.c (generate_canonical_option, | |
1289 | decode_cmdline_option): Use bit-fields instead of CL_* flags. | |
1290 | * opts.c (maybe_default_option): Use cl_reject_negative bit-field | |
1291 | instead of CL_REJECT_NEGATIVE flag. | |
1292 | * toplev.c (print_switch_values): Use cl_report bit-field instead | |
1293 | of CL_REPORT flag. | |
1294 | ||
d4d73ce2 EB |
1295 | 2011-03-31 Eric Botcazou <ebotcazou@adacore.com> |
1296 | ||
1297 | * tree-ssa-pre.c (create_component_ref_by_pieces_1) <ARRAY_REF>: Drop | |
1298 | a zero minimum index only if it is redundant. | |
1299 | ||
b8faca75 VM |
1300 | 2011-03-31 Vladimir Makarov <vmakarov@redhat.com> |
1301 | ||
1302 | PR rtl-optimization/48381 | |
1303 | * ira-color.c (assign_hard_reg): Use hard reg set intersection | |
1304 | instead of ira_class_hard_reg_index for calculating conflicting | |
1305 | hard registers. | |
1306 | ||
7d11cebe SB |
1307 | 2011-03-31 Steven Bosscher <steven@gcc.gnu.org> |
1308 | ||
1309 | * cprop.c: Clean up hash table building. | |
1310 | (reg_avail_info): Remove. | |
1311 | (oprs_available_p): Remove. | |
1312 | (record_last_reg_set_info): Remove. | |
1313 | (record_last_set_info): Remove. | |
1314 | (reg_available_p): New function. | |
1315 | (gcse_constant_p): Do not treat unfolded conditions as constants. | |
1316 | (make_set_regs_unavailable): New function. | |
1317 | (hash_scan_set): Simplify with new reg_available_p. | |
1318 | (compute_hash_table_work): Traverse insns stream only once. | |
1319 | Do not compute reg_avail_info. Traverse insns in reverse order. | |
1320 | Record implicit sets after recording explicit sets from the block. | |
1321 | ||
98faf84f MM |
1322 | 2011-03-31 Michael Matz <matz@suse.de> |
1323 | ||
e9c18386 | 1324 | * builtins.c (build_va_arg_indirect_ref): Use build_simple_mem_ref_loc. |
98faf84f | 1325 | |
f52d97da AS |
1326 | 2011-03-31 Anatoly Sokolov <aesok@post.ru> |
1327 | ||
1328 | * config/h8300/h8300.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove macro. | |
1329 | * config/h8300/h8300-protos.h (h8300_get_index): Remove. | |
1330 | * config/h8300/h8300.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
1331 | (h8300_mode_dependent_address_p): New function. | |
1332 | (h8300_get_index): Make static. | |
1333 | ||
e16b6fd0 JL |
1334 | 2011-03-31 Jeff Law <law@redhat.com> |
1335 | ||
10c51983 JL |
1336 | * reload1.c (elimination_effects): Fix typo in recent change. |
1337 | ||
e9c18386 | 1338 | * tree-ssa-forwprop.c (forward_propagate_into_cond): Avoid |
e16b6fd0 JL |
1339 | typo potentially leading to null pointer dereference. |
1340 | ||
1341 | * caller-save.c (new_saved_hard_reg): Eliminate return value. | |
1342 | (setup_save_areas): Corresponding changes to avoid useless | |
1343 | assignments. | |
1344 | ||
1345 | * jump.c (reversed_comparison_code_parts): Avoid successive return | |
1346 | statements when REVERSE_CONDITION is defined. | |
1347 | ||
1348 | * expr.c (expand_assignment): Avoid useless assignments. | |
1349 | (expand_expr_real_1): Likewise. | |
1350 | (expand_expr_real_2): Avoid useless statements. | |
1351 | ||
1352 | * tree-ssa-phiopt.c (minmax_replacement): Avoid useless statement. | |
1353 | ||
1354 | * cfgexpand.c (expand_gimple_basic_block): Avoid useless assignment. | |
1355 | ||
1356 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Avoid useless | |
1357 | statements. | |
1358 | ||
1359 | * stmt.c (expand_expr_stmt): Avoid useless assignment. | |
1360 | ||
eb1eb914 JM |
1361 | 2011-03-31 Joseph Myers <joseph@codesourcery.com> |
1362 | ||
1363 | PR target/47109 | |
1364 | * doc/tm.texi.in (TARGET_VERSION): Remove. | |
1365 | * doc/tm.texi: Regenerate. | |
1366 | * system.h (TARGET_VERSION, MACHINE_TYPE): Poison. | |
1367 | * collect2.c (main): Don't use TARGET_VERSION. | |
1368 | * mips-tdump.c (main): Don't use TARGET_VERSION. | |
1369 | * mips-tfile.c (main): Don't use TARGET_VERSION. | |
e9c18386 | 1370 | * config.gcc (powerpc-wrs-vxworksae): Don't use rs6000/vxworksae.h. |
eb1eb914 JM |
1371 | * config/rs6000/vxworksae.h: Remove. |
1372 | * config/alpha/alpha.h (TARGET_VERSION): Remove. | |
1373 | * config/alpha/freebsd.h (TARGET_VERSION): Remove. | |
1374 | * config/alpha/linux-elf.h (TARGET_VERSION): Remove. | |
1375 | * config/alpha/netbsd.h (TARGET_VERSION): Remove. | |
1376 | * config/alpha/vms.h (TARGET_NAME, TARGET_VERSION): Remove. | |
1377 | * config/arm/arm.h (TARGET_VERSION): Remove. | |
1378 | * config/arm/coff.h (TARGET_VERSION): Remove. | |
1379 | * config/arm/ecos-elf.h (TARGET_VERSION): Remove. | |
1380 | * config/arm/elf.h (TARGET_VERSION): Remove. | |
1381 | * config/arm/freebsd.h (TARGET_VERSION): Remove. | |
1382 | * config/arm/linux-elf.h (TARGET_VERSION): Remove. | |
1383 | * config/arm/netbsd-elf.h (TARGET_VERSION): Remove. | |
1384 | * config/arm/pe.h (TARGET_VERSION): Remove. | |
1385 | * config/arm/rtems-elf.h (TARGET_VERSION): Remove. | |
1386 | * config/arm/semi.h (TARGET_VERSION): Remove. | |
1387 | * config/arm/uclinux-elf.h (TARGET_VERSION): Remove. | |
1388 | * config/arm/unknown-elf.h (TARGET_VERSION): Remove. | |
1389 | * config/arm/vxworks.h (TARGET_VERSION): Remove. | |
1390 | * config/avr/avr.h (TARGET_VERSION): Remove. | |
1391 | * config/bfin/bfin.h (TARGET_VERSION): Remove. | |
1392 | * config/fr30/fr30.h (TARGET_VERSION): Remove. | |
1393 | * config/frv/frv.h (TARGET_VERSION): Remove. | |
1394 | * config/h8300/h8300.h (TARGET_VERSION): Remove. | |
1395 | * config/i386/cygwin.h (TARGET_VERSION): Remove. | |
1396 | * config/i386/darwin.h (TARGET_VERSION): Remove. | |
1397 | * config/i386/darwin64.h (TARGET_VERSION): Remove. | |
1398 | * config/i386/djgpp.h (TARGET_VERSION): Remove. | |
1399 | * config/i386/freebsd.h (TARGET_VERSION): Remove. | |
1400 | * config/i386/freebsd64.h (TARGET_VERSION): Remove. | |
1401 | * config/i386/gnu.h (TARGET_VERSION): Remove. | |
1402 | * config/i386/i386-interix.h (TARGET_VERSION): Remove. | |
1403 | * config/i386/i386elf.h (TARGET_VERSION): Remove. | |
1404 | * config/i386/linux.h (TARGET_VERSION): Remove. | |
1405 | * config/i386/linux64.h (TARGET_VERSION): Remove. | |
1406 | * config/i386/lynx.h (TARGET_VERSION): Remove. | |
1407 | * config/i386/mingw32.h (TARGET_VERSION): Remove. | |
1408 | * config/i386/netbsd-elf.h (TARGET_VERSION): Remove. | |
1409 | * config/i386/netbsd64.h (TARGET_VERSION): Remove. | |
1410 | * config/i386/netware.h (TARGET_VERSION): Remove. | |
1411 | * config/i386/nto.h (TARGET_VERSION): Remove. | |
1412 | * config/i386/openbsd.h (TARGET_VERSION): Remove. | |
1413 | * config/i386/vxworks.h (TARGET_VERSION): Remove. | |
1414 | * config/ia64/elf.h (TARGET_VERSION): Remove. | |
1415 | * config/ia64/freebsd.h (TARGET_VERSION): Remove. | |
1416 | * config/ia64/hpux.h (TARGET_VERSION): Remove. | |
1417 | * config/ia64/linux.h (TARGET_VERSION): Remove. | |
1418 | * config/ia64/vms.h (TARGET_NAME, TARGET_VERSION): Remove. | |
1419 | * config/iq2000/iq2000.h (IQ2000_VERSION, MACHINE_TYPE, | |
1420 | TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove. | |
1421 | * config/lm32/lm32.h (TARGET_VERSION): Remove. | |
1422 | * config/lm32/uclinux-elf.h (TARGET_VERSION): Remove. | |
1423 | * config/m32c/m32c.h (TARGET_VERSION): Remove. | |
1424 | * config/m32r/linux.h (LINUX_DEFAULT_ELF, TARGET_VERSION): Remove. | |
1425 | * config/m32r/m32r.h (TARGET_VERSION): Remove. | |
1426 | * config/m68k/linux.h (TARGET_VERSION): Remove. | |
1427 | * config/m68k/m68k.h (TARGET_VERSION): Remove. | |
1428 | * config/m68k/netbsd-elf.h (TARGET_VERSION): Remove. | |
1429 | * config/m68k/uclinux.h (TARGET_VERSION): Remove. | |
1430 | * config/mcore/mcore-elf.h (TARGET_VERSION): Remove. | |
1431 | * config/mep/mep.h (TARGET_VERSION): Remove. | |
1432 | * config/microblaze/microblaze.h (MICROBLAZE_VERSION, | |
1433 | MACHINE_TYPE, TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove. | |
1434 | * config/mips/iris6.h (MACHINE_TYPE): Remove. | |
1435 | * config/mips/linux.h (TARGET_VERSION): Remove. | |
1436 | * config/mips/netbsd.h (MACHINE_TYPE): Remove. | |
1437 | * config/mips/vxworks.h (TARGET_VERSION): Remove. | |
1438 | * config/mmix/mmix.h (TARGET_VERSION): Remove. | |
1439 | * config/mn10300/linux.h (TARGET_VERSION): Remove. | |
1440 | * config/mn10300/mn10300.h (TARGET_VERSION): Remove. | |
1441 | * config/pa/pa.h (TARGET_VERSION): Remove. | |
1442 | * config/pdp11/pdp11.h (TARGET_VERSION): Remove. | |
1443 | * config/picochip/picochip.h (TARGET_VERSION): Remove. | |
1444 | * config/rs6000/aix.h (TARGET_VERSION): Remove. | |
1445 | * config/rs6000/darwin.h (TARGET_VERSION): Remove. | |
1446 | * config/rs6000/darwin64.h (TARGET_VERSION): Remove. | |
1447 | * config/rs6000/eabi.h (TARGET_VERSION): Remove. | |
1448 | * config/rs6000/eabialtivec.h (TARGET_VERSION): Remove. | |
1449 | * config/rs6000/eabisim.h (TARGET_VERSION): Remove. | |
1450 | * config/rs6000/eabispe.h (TARGET_VERSION): Remove. | |
1451 | * config/rs6000/freebsd.h (TARGET_VERSION): Remove. | |
1452 | * config/rs6000/linux.h (TARGET_VERSION): Remove. | |
1453 | * config/rs6000/linux64.h (TARGET_VERSION): Remove. | |
1454 | * config/rs6000/linuxaltivec.h (TARGET_VERSION): Remove. | |
1455 | * config/rs6000/linuxspe.h (TARGET_VERSION): Remove. | |
1456 | * config/rs6000/lynx.h (TARGET_VERSION): Remove. | |
1457 | * config/rs6000/netbsd.h (TARGET_VERSION): Remove. | |
1458 | * config/rs6000/sysv4.h (TARGET_VERSION): Remove. | |
1459 | * config/rs6000/vxworks.h (TARGET_VERSION): Remove. | |
1460 | * config/s390/linux.h (TARGET_VERSION): Remove. | |
1461 | * config/s390/s390.h (TARGET_VERSION): Remove. | |
1462 | * config/s390/tpf.h (TARGET_VERSION): Remove. | |
1463 | * config/score/score.h (TARGET_VERSION): Remove. | |
1464 | * config/sh/linux.h (TARGET_VERSION): Remove. | |
1465 | * config/sh/netbsd-elf.h (TARGET_VERSION_ENDIAN, | |
1466 | TARGET_VERSION_CPU, TARGET_VERSION): Remove. | |
1467 | * config/sh/sh.h (TARGET_VERSION): Remove. | |
1468 | * config/sh/sh64.h (TARGET_VERSION): Remove. | |
1469 | * config/sh/superh.h (TARGET_VERSION): Remove. | |
1470 | * config/sh/vxworks.h (TARGET_VERSION): Remove. | |
1471 | * config/sparc/freebsd.h (TARGET_VERSION): Remove. | |
1472 | * config/sparc/linux.h (TARGET_VERSION): Remove. | |
1473 | * config/sparc/linux64.h (TARGET_VERSION): Remove. | |
1474 | * config/sparc/netbsd-elf.h (TARGET_VERSION, TARGET_NAME64, | |
1475 | TARGET_NAME32, TARGET_NAME): Remove. | |
1476 | * config/sparc/openbsd64.h (TARGET_VERSION): Remove. | |
1477 | * config/sparc/sp-elf.h (TARGET_VERSION): Remove. | |
1478 | * config/sparc/sp64-elf.h (TARGET_VERSION): Remove. | |
1479 | * config/sparc/sysv4.h (TARGET_VERSION): Remove. | |
1480 | * config/sparc/vxworks.h (TARGET_VERSION): Remove. | |
1481 | * config/spu/spu.h (TARGET_VERSION): Remove. | |
1482 | * config/stormy16/stormy16.h (TARGET_VERSION): Remove. | |
1483 | * config/v850/v850.h (TARGET_VERSION): Remove. | |
1484 | * config/vax/linux.h (TARGET_VERSION): Remove. | |
1485 | * config/vax/vax.h (TARGET_NAME, TARGET_VERSION): Remove. | |
1486 | * config/xtensa/elf.h (TARGET_VERSION): Remove. | |
1487 | * config/xtensa/linux.h (TARGET_VERSION): Remove. | |
1488 | ||
ace31bca EB |
1489 | 2011-03-31 Eric Botcazou <ebotcazou@adacore.com> |
1490 | ||
1491 | PR target/48142 | |
1492 | * config/i386/i386.c (ix86_adjust_stack_and_probe): Differentiate | |
1493 | frame-related from frame-unrelated adjustments to the stack pointer. | |
1494 | ||
76f9db36 JJ |
1495 | 2011-03-31 Jakub Jelinek <jakub@redhat.com> |
1496 | ||
1497 | * common.opt (fdebug-types-section): Move earlier. | |
1498 | * doc/invoke.texi: Fix up -fno-debug-types-section documentation. | |
1499 | ||
b7826465 AT |
1500 | 2011-03-31 Andreas Tobler <andreast@fgznet.ch> |
1501 | ||
1502 | * config/rs6000/rs6000.c (rs6000_handle_option): Remove unused isel | |
1503 | var. | |
1504 | ||
1290e54c NF |
1505 | 2011-03-30 Nathan Froyd <froydnj@codesourcery.com> |
1506 | ||
1507 | * tree.h (CASE_CHAIN): Define. | |
1508 | * tree-cfg.c (edge_to_cases_cleanup, get_cases_for_edge): Use it. | |
1509 | (gimple_redirect_edge_and_branch): Likewise. | |
1510 | ||
bddc98e1 VM |
1511 | 2011-03-30 Vladimir Makarov <vmakarov@redhat.com> |
1512 | ||
1513 | PR middle-end/48367 | |
1514 | * ira-costs.c (find_costs_and_classes): Fix a typo in i_mem_cost | |
1515 | calculation. | |
1516 | ||
c865e437 JL |
1517 | 2011-03-30 Jeff Law <law@redhat.com> |
1518 | ||
b3750213 | 1519 | * PR bootstrap/48371 |
c865e437 JL |
1520 | * reload1.c (reload): Fix botch in last change. |
1521 | ||
1522 | * reload.h (struct reload): Fix typo introduced in last change. | |
1523 | ||
2cdf9574 JM |
1524 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
1525 | ||
1526 | * config/arm/arm.opt (mhard-float, msoft-float): Mark | |
1527 | Undocumented. Remove help text. | |
1528 | * doc/invoke.texi (ARM Options): Don't document -msoft-float and | |
1529 | -mhard-float. | |
1530 | ||
666a21a2 JM |
1531 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
1532 | ||
1533 | * doc/options.texi (NegativeAlias): Document. | |
1534 | (Alias): Mention NegativeAlias. | |
1535 | * opt-functions.awk: Handle NegativeAlias. | |
e9c18386 | 1536 | * optc-gen.awk: Disallow NegativeAlias with multiple Alias arguments. |
666a21a2 JM |
1537 | * opts-common.c (decode_cmdline_option): Handle CL_NEGATIVE_ALIAS. |
1538 | * opts.h (CL_NEGATIVE_ALIAS): Define. | |
1539 | * config/rs6000/rs6000.c (rs6000_parse_yes_no_option): Remove. | |
1540 | (rs6000_handle_option): Don't handle OPT_mvrsave_, OPT_misel_ and | |
1541 | OPT_mspe_. | |
1542 | * config/rs6000/rs6000.opt (mvrsave=, misel=, mspe=): Replace with | |
1543 | Alias entries. | |
1544 | * config/rs6000/t-spe (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use | |
1545 | mno-spe and mno-isel instead of mspe=no and -misel=no. | |
1546 | ||
0fa4e351 MW |
1547 | 2011-03-29 Mark Wielaard <mjw@redhat.com> |
1548 | ||
1549 | * common.opt (fdebug-types-section): New flag. | |
1550 | * doc/invoke.texi: Document new -fno-debug-types-section flag. | |
1551 | * dwarf2out.c (use_debug_types): New define. | |
1552 | (struct die_struct): Mark die_id with GTY desc use_debug_types. | |
1553 | (print_die): Guard output of type unit signatures using | |
1554 | use_debug_types. | |
1555 | (build_abbrev_table): Replace assert of dwarf_version >= 4 | |
1556 | with assert on use_debug_types. | |
1557 | (size_of_die): Likewise. | |
1558 | (unmark_dies): Likewise. | |
1559 | (value_format): Decide AT_ref_external form on use_debug_types. | |
1560 | (output_die): Replace dwarf_version version check guard with | |
1561 | use_debug_types where appropriate. | |
1562 | (modified_type_die): Likewise. | |
1563 | (gen_reference_type_die): Likewise. | |
1564 | (dwarf2out_start_source_file): Likewise. | |
1565 | (dwarf2out_end_source_file): Likewise. | |
1566 | (prune_unused_types_walk_attribs): Likewise. | |
1567 | (dwarf2out_finish): Likewise. | |
1568 | ||
4648deb4 VM |
1569 | 2011-03-30 Vladimir Makarov <vmakarov@redhat.com> |
1570 | ||
1571 | * ira-color.c (ira_assign_hard_reg): Use only one variable 'mode'. | |
1572 | ||
4f431835 RS |
1573 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
1574 | ||
1575 | PR rtl-optimization/48332 | |
1576 | * optabs.c (expand_binop_directly): Set xmodeN to the target-mandated | |
1577 | mode of input operand N and modeN to its actual mode. | |
1578 | ||
f2034d06 JL |
1579 | 2011-03-30 Jeff Law <law@redhat.com> |
1580 | ||
1581 | * reload.h (reg_equiv_constant): Move into new structure reg_equivs, | |
1582 | define accessor macro. | |
1583 | (reg_equiv_invariant, reg_equiv_memory_loc): Likewise. | |
1584 | (reg_equiv_address, reg_equiv_mem, reg_equiv_alt_mem_list): Likewise. | |
1585 | (reg_equiv_init): Likewise. | |
1586 | (reg_equivs_size): New variable. | |
1587 | (reg_equiv_init_size): Remove. | |
1588 | (allocate_initial_values): Move prototype to here from.... | |
1589 | * integrate.h (allocate_initial_values): Remove prototype. | |
1590 | * integrate.c: Include reload.h. | |
1591 | (allocate_initial_values): Corresponding changes. | |
1592 | * ira.c (find_reg_equiv_invariant_cost): Corresponding changes. | |
1593 | (fix_reg_equiv_init, no_equiv): Corresponding changes. | |
1594 | (update_equiv_regs): Corresponding changes. | |
1595 | (ira): Corresponding changes. | |
1596 | * reload.c (push_reg_equiv_alt_mem): Corresponding changes. | |
1597 | (push_secondary_reload): Corresponding changes. | |
1598 | (push_reload, find_reloads, find_reloads_toplev): Corresponding changes. | |
1599 | (make_memloc, find_reloads_address): Corresponding changes. | |
1600 | (subst_reg_equivs, subst_indexed_address): Corresponding changes. | |
1601 | (find_reloads_address_1): Corresponding changes. | |
1602 | (find_reloads_subreg_address, subst_reloads): Corresponding changes. | |
1603 | (refers_to_regno_for_reload_p): Corresponding changes. | |
1604 | (reg_overlap_mentioned_for_reload_p): Corresponding changes. | |
1605 | (refers_to_mem_for_reload_p, find_equiv_reg): Corresponding changes. | |
1606 | * reload1.c: Include ggc.h. | |
1607 | (grow_reg_equivs): New function. | |
1608 | (replace_pseudos_in, reload): Corresponding changes. | |
1609 | (calculate_needs_all_insns, alter_regs): Corresponding changes. | |
1610 | (eliminate_regs_1, elimination_effects): Corresponding changes. | |
1611 | (emit_input_reload_insns, emit_output_reload_insns): Likewise. | |
1612 | (delete_output_reload): Likewise. | |
1613 | * caller-save.c (mark_referenced_regs): Corresponding changes. | |
1614 | * alpha/alpha.c (resolve_reload_operand): Corresponding changes. | |
1615 | * frv/predicates.md (frv_load_operand): Corresponding changes. | |
1616 | * microblaze/microblaze.c (double_memory_operand): Corresponding | |
1617 | changes. | |
1618 | * avr/avr.h (LEGITIMIZE_RELOAD_ADDRESS): Corresponding changes. | |
1619 | * xtensa/xtensa.c (fixup_subreg_mem): Corresponding changes. | |
e9c18386 | 1620 | * mn10300/mn10300.c (mn10300_secondary_reload): Corresponding changes. |
f2034d06 JL |
1621 | * m68k/m68k.c (emit_move_sequence): Corresponding changes. |
1622 | * arm/arm.c (arm_reload_in_hi, arm_reload_out_hi): Corresponding | |
1623 | changes. | |
1624 | * pa/pa.c (emit_move_sequence): Corresponding changes. | |
1625 | * vax/vax.c (nonindexed_address_p): Corresponding changes. | |
1626 | ||
159b81b0 RS |
1627 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
1628 | ||
1629 | PR target/47551 | |
1630 | * config/arm/arm.c (coproc_secondary_reload_class): Handle | |
1631 | structure modes. Don't check neon_vector_mem_operand for | |
1632 | vector or structure modes. | |
1633 | ||
a6217191 RS |
1634 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
1635 | Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> | |
1636 | ||
1637 | PR target/43590 | |
1638 | * config/arm/neon.md (neon_vld3qa<mode>, neon_vld4qa<mode>): Remove | |
1639 | operand 1 and reshuffle the operands to match. | |
1640 | (neon_vld3<mode>, neon_vld4<mode>): Update accordingly. | |
1641 | ||
bd837408 CS |
1642 | 2011-03-30 Christian Schüler <cschueler@gmx.de> |
1643 | ||
6955d771 | 1644 | PR driver/48208 |
bd837408 | 1645 | * config/c.opt (F): Added 'Driver' to -F option. |
e9c18386 | 1646 | |
6955d771 | 1647 | PR driver/48260 |
bd837408 CS |
1648 | * config/darwin-driver.c (darwin_driver_init): Add '-arch' to |
1649 | handler function. | |
1650 | * config/darwin.opt: Added '-arch' option. | |
1651 | ||
e9c0470a NC |
1652 | 2011-03-30 Nick Clifton <nickc@redhat.com> |
1653 | ||
1654 | * config/rx/rx.md: Add peepholes and patterns to combine | |
1655 | extending loads and simple arithmetic instructions. | |
1656 | * config/rx/rx.h (ADJUST_INSN_LENGTH): Define. | |
e9c18386 UB |
1657 | * config/rx/rx-protos.h (rx_adjust_insn_length): Prototype. |
1658 | * config/rx/rx.c (rx_is_legitimate_address): Allow QI and HI | |
e9c0470a | 1659 | modes to use pre-decrement and post-increment addressing. |
e9c18386 | 1660 | (rx_is_restricted_memory_address): Add range checking of REG+INT |
e9c0470a | 1661 | addresses. |
e9c18386 UB |
1662 | (rx_print_operand): Add support for %Q. Fix handling of %Q. |
1663 | (rx_memory_move_cost): Adjust cost of stores. | |
1664 | (rx_adjust_insn_length): New function. | |
e9c0470a | 1665 | |
8a87e7ab JJ |
1666 | 2011-03-30 Jakub Jelinek <jakub@redhat.com> |
1667 | ||
1668 | PR c/48305 | |
1669 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure | |
1670 | arg10/arg11 in (X ^ Y) == (Z ^ W) are always fold converted to | |
1671 | matching arg00/arg01 types. | |
1672 | ||
12486e03 EB |
1673 | 2011-03-30 Eric Botcazou <ebotcazou@adacore.com> |
1674 | ||
1675 | * cfglayout.c (insn_locators_alloc): Initialize curr_location and | |
1676 | last_location to UNKNOWN_LOCATION. | |
1677 | ||
0b99eef6 L |
1678 | 2011-03-30 H.J. Lu <hongjiu.lu@intel.com> |
1679 | ||
1680 | PR target/48349 | |
1681 | * config/i386/i386.h (REG_CLASS_CONTENTS): Fix a typo in | |
1682 | FLOAT_SSE_REGS. | |
1683 | ||
023592aa JM |
1684 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
1685 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
1686 | ||
1687 | PR bootstrap/48337 | |
1688 | * config/sparc/sparc.opt (sparc_cpu_and_features): Add | |
1689 | Init(PROCESSOR_V7). | |
1690 | (sparc_cpu): Likewise. | |
1691 | * config/sparc/sparc.c (sparc_option_override): Replace 0 by | |
1692 | PROCESSOR_V7. | |
1693 | ||
ad3b266b VM |
1694 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
1695 | ||
1696 | PR target/48336 | |
1697 | PR middle-end/48342 | |
1698 | PR rtl-optimization/48345 | |
1699 | * ira-color.c (setup_conflict_profitable_regs): Exclude prohibited | |
1700 | hard regs for given mode from profitable regs when doing secondary | |
1701 | allocation. | |
1702 | ||
633c9126 JL |
1703 | 2011-03-29 Jeff Law <law@redhat.com> |
1704 | ||
1705 | PR bootstrap/48327 | |
1706 | * tree-ssa-threadupdate.c (struct redirection_data): Remove | |
1707 | do_not_duplicate field. | |
1708 | (lookup_redirection_data): Corresponding changes. | |
1709 | (create_duplicates): Always create a template block. | |
1710 | (redirect_edges): Remove code which reused the original block | |
1711 | when it was going to become unreachable code. | |
1712 | (thread_block): Don't set do_not_duplicate field. | |
1713 | ||
eb50f63a JM |
1714 | 2011-03-29 Joseph Myers <joseph@codesourcery.com> |
1715 | ||
1716 | * lto-opts.c (register_user_option_p, lto_register_user_option): | |
1717 | Make type argument unsigned. | |
1718 | * lto-streamer.h (lto_register_user_option): Make type argument | |
1719 | unsigned. | |
1720 | * opth-gen.awk: Make CL_* macros unsigned. | |
1721 | * opts-common.c (find_opt): Make lang_mask argument unsigned. | |
1722 | * opts.h (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_DRIVER, | |
1723 | CL_TARGET, CL_COMMON, CL_SEPARATE_NARGS_MASK, CL_SEPARATE_ALIAS, | |
1724 | CL_NO_DRIVER_ARG, CL_REJECT_DRIVER, CL_SAVE, CL_DISABLED, | |
1725 | CL_REPORT, CL_JOINED, CL_SEPARATE, CL_REJECT_NEGATIVE, | |
1726 | CL_MISSING_OK, CL_UINTEGER, CL_UNDOCUMENTED): Make unsigned. | |
1727 | (find_opt): Make lang_mask argument unsigned. | |
1728 | ||
76763a6d VM |
1729 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
1730 | ||
1731 | PR rtl-optimization/48331 | |
1732 | PR rtl-optimization/48334 | |
1733 | * ira-color.c (color_allocnos): Call setup_profitable_hard_regs | |
1734 | for any used algorithm. | |
1735 | ||
5c82436e VM |
1736 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
1737 | ||
1738 | * ira-conflicts.c (build_object_conflicts): Add unused attribute | |
1739 | to parent_max. | |
1740 | ||
7a81008b UB |
1741 | 2011-03-29 Uros Bizjak <ubizjak@gmail.com> |
1742 | ||
1743 | * config/alpha/alpha.c (alpha_sr_alias_set): Don't define. | |
1744 | (alpha_option_override): Don't set alpha_sr_alias_set. | |
1745 | (emit_frame_store_1): Use gen_frame_mem rather than calling | |
1746 | set_mem_alias_set. | |
1747 | (alpha_expand_epilogue): Ditto. | |
1748 | ||
86c8d1f6 IR |
1749 | 2011-03-29 Ira Rosen <ira.rosen@linaro.org> |
1750 | ||
1751 | PR tree-optimization/48290 | |
1752 | * tree-vect-loop.c (vect_analyze_loop_operations): In outer loop | |
1753 | vectorization, check that relevant phis in the basic block after | |
1754 | the inner loop are really inner loop's exit phis. | |
1755 | ||
0d12220f RS |
1756 | 2011-03-29 Richard Sandiford <richard.sandiford@linaro.org> |
1757 | ||
e8cf17e7 | 1758 | PR debug/48190 |
0d12220f RS |
1759 | * dwarf2out.c (dw_loc_list_node): Add resolved_addr and replaced. |
1760 | (cached_dw_loc_list_def): New structure. | |
1761 | (cached_dw_loc_list): New typedef. | |
1762 | (cached_dw_loc_list_table): New variable. | |
1763 | (cached_dw_loc_list_table_hash): New function. | |
1764 | (cached_dw_loc_list_table_eq): Likewise. | |
1765 | (add_location_or_const_value_attribute): Take a bool cache_p. | |
1766 | Cache the list when the parameter is true. | |
1767 | (gen_formal_parameter_die): Update caller. | |
1768 | (gen_variable_die): Likewise. | |
1769 | (dwarf2out_finish): Likewise. | |
1770 | (dwarf2out_abstract_function): Nullify cached_dw_loc_list_table | |
1771 | while generating debug info for the decl. | |
1772 | (dwarf2out_function_decl): Clear cached_dw_loc_list_table. | |
1773 | (dwarf2out_init): Initialize cached_dw_loc_list_table. | |
1774 | (resolve_addr): Cache the result of resolving a chain of | |
1775 | location lists. | |
1776 | ||
1756cb66 VM |
1777 | 2011-03-28 Vladimir Makarov <vmakarov@redhat.com> |
1778 | ||
1779 | * ira-color.c (update_left_conflict_sizes_p): Don't assume that | |
1780 | conflict object hard regset nodes have intersecting hard reg sets. | |
7a81008b | 1781 | |
1756cb66 VM |
1782 | * regmove.c (regmove_optimize): Move ira_set_pseudo_classes call |
1783 | after regstat_init_n_sets_and_refs. | |
1784 | ||
1785 | * ira.c: Add more comments at the top. | |
1786 | (setup_stack_reg_pressure_class, setup_pressure_classes): | |
1787 | Add comments how we compute the register pressure classes. | |
1788 | (setup_allocno_and_important_classes): Add more comments. | |
1789 | (setup_class_translate_array, reorder_important_classes) | |
1790 | (setup_reg_class_relations): Add comments. | |
1791 | ||
1792 | * ira-emit.c: Add 2011 to the Copyright line. Add comments at the | |
1793 | start of the file. | |
1794 | ||
1795 | * ira-color.c: Add 2011 to the Copyright line. | |
1796 | (assign_hard_reg): Add more comments. | |
1797 | (improve_allocation): Ditto. | |
1798 | ||
1799 | * ira-costs.c: Add 2011 to the Copyright line. | |
1800 | (setup_cost_classes, setup_regno_cost_classes_by_aclass): Add more | |
1801 | comments. | |
1802 | (setup_regno_cost_classes_by_mode): Ditto. | |
1803 | ||
1804 | Initial patches from ira-improv branch: | |
1805 | ||
1806 | 2010-08-13 Vladimir Makarov <vmakarov@redhat.com> | |
1807 | ||
1808 | * ira-build.c: (ira_create_object): Remove initialization of | |
1809 | OBJECT_PROFITABLE_HARD_REGS. Initialize OBJECT_ADD_DATA. | |
1810 | (ira_create_allocno): Remove initialization of | |
1811 | ALLOCNO_MEM_OPTIMIZED_DEST, ALLOCNO_MEM_OPTIMIZED_DEST_P, | |
1812 | ALLOCNO_SOMEWHERE_RENAMED_P, ALLOCNO_CHILD_RENAMED_P, | |
1813 | ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P, ALLOCNO_COLORABLE_P, | |
1814 | ALLOCNO_NEXT_BUCKET_ALLOCNO, ALLOCNO_PREV_BUCKET_ALLOCNO, | |
1815 | ALLOCNO_FIRST_COALESCED_ALLOCNO, ALLOCNO_NEXT_COALESCED_ALLOCNO. | |
1816 | Initialize ALLOCNO_ADD_DATA. | |
1817 | (copy_info_to_removed_store_destinations): Use ALLOCNO_EMIT_DATA | |
1818 | and allocno_emit_reg instead of ALLOCNO_MEM_OPTIMIZED_DEST_P and | |
1819 | ALLOCNO_REG. | |
1820 | (ira_flattening): Ditto. Use ALLOCNO_EMIT_DATA instead of | |
1821 | ALLOCNO_MEM_OPTIMIZED_DEST and ALLOCNO_SOMEWHERE_RENAMED_P. | |
1822 | ||
1823 | * ira.c (ira_reallocate): Remove. | |
1824 | (setup_pressure_classes): Call | |
1825 | ira_init_register_move_cost_if_necessary. Use | |
1826 | ira_register_move_cost instead of ira_get_register_move_cost. | |
1827 | (setup_allocno_assignment_flags): Use ALLOCNO_EMIT_DATA. | |
1828 | (ira): Call ira_initiate_emit_data and ira_finish_emit_data. | |
1829 | ||
1830 | * ira-color.c: Use ALLOCNO_COLOR_DATA instead of | |
1831 | ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P, ALLOCNO_COLORABLE_P, | |
1832 | ALLOCNO_AVAILABLE_REGS_NUM, ALLOCNO_NEXT_BUCKET_ALLOCNO, | |
1833 | ALLOCNO_PREV_BUCKET_ALLOCNO. ALLOCNO_TEMP. Use OBJECT_COLOR_DATA | |
1834 | instead of OBJECT_PROFITABLE_HARD_REGS, OBJECT_HARD_REGS_NODE, | |
1835 | OBJECT_HARD_REGS_SUBNODES_START, OBJECT_HARD_REGS_SUBNODES_NUM. | |
1836 | Fix formatting. | |
7a81008b | 1837 | (object_hard_regs_t, object_hard_regs_node_t): Move from ira-int.h. |
1756cb66 VM |
1838 | (struct object_hard_regs, struct object_hard_regs_node): Ditto. |
1839 | (struct allocno_color_data): New. | |
1840 | (allocno_color_data_t): New typedef. | |
1841 | (allocno_color_data): New definition. | |
1842 | (ALLOCNO_COLOR_DATA): New macro. | |
1843 | (struct object_color_data): New. | |
1844 | (object_color_data_t): New typedef. | |
1845 | (object_color_data): New definition. | |
1846 | (OBJECT_COLOR_DATA): New macro. | |
1847 | (update_copy_costs, calculate_allocno_spill_cost): Call | |
1848 | ira_init_register_move_cost_if_necessary. Use | |
1849 | ira_register_move_cost instead of ira_get_register_move_cost. | |
1850 | (move_spill_restore, update_curr_costs): Ditto. | |
1851 | (allocno_spill_priority): Make it inline. | |
7a81008b | 1852 | (color_pass): Allocate and free allocno_color_dat and object_color_data. |
1756cb66 VM |
1853 | (struct coalesce_data, coalesce_data_t): New. |
1854 | (allocno_coalesce_data): New definition. | |
1855 | (ALLOCNO_COALESCE_DATA): New macro. | |
1856 | (merge_allocnos, coalesced_allocno_conflict_p): Use | |
1857 | ALLOCNO_COALESCED_DATA instead of ALLOCNO_FIRST_COALESCED_ALLOCNO, | |
1858 | ALLOCNO_NEXT_COALESCED_ALLOCNO, ALLOCNO_TEMP. | |
1859 | (coalesce_allocnos): Ditto. | |
1860 | (setup_coalesced_allocno_costs_and_nums): Ditto. | |
1861 | (collect_spilled_coalesced_allocnos): Ditto. | |
1862 | (slot_coalesced_allocno_live_ranges_intersect_p): Ditto. | |
1863 | (setup_slot_coalesced_allocno_live_ranges): Ditto. | |
1864 | (coalesce_spill_slots): Ditto. | |
1865 | (ira_sort_regnos_for_alter_reg): Ditto. Allocate, initialize and | |
1866 | free allocno_coalesce_data. | |
1867 | ||
1868 | * ira-conflicts.c: Fix formatting. | |
1869 | (process_regs_for_copy): Call | |
1870 | ira_init_register_move_cost_if_necessary. Use | |
1871 | ira_register_move_cost instead of ira_get_register_move_cost. | |
1872 | (build_object_conflicts): Optimize. | |
1873 | ||
1874 | * ira-costs.c (record_reg_classes): Optimize. Call | |
1875 | ira_init_register_move_cost_if_necessary. Use | |
1876 | ira_register_move_cost, ira_may_move_in_cost, and | |
1877 | ira_may_move_out_cost instead of ira_get_register_move_cost and | |
1878 | ira_get_may_move_cost. | |
1879 | (record_address_regs): Ditto. | |
1880 | (scan_one_insn): Optimize. | |
1881 | (find_costs_and_classes): Optimize. | |
1882 | (process_bb_node_for_hard_reg_moves): Call | |
1883 | ira_init_register_move_cost_if_necessary. Use | |
1884 | ira_register_move_cost instead of ira_get_register_move_cost. | |
1885 | ||
1886 | * ira-emit.c: Use allocno_emit_reg, ALLOCNO_EMIT_DATA instead of | |
1887 | ALLOCNO_REG, ALLOCNO_CHILD_RENAMED_P, ALLOCNO_MEM_OPTIMIZED_DEST, | |
1888 | ALLOCNO_MEM_OPTIMIZED_DEST_P, and ALLOCNO_SOMEWHERE_RENAMED_P. | |
1889 | (ira_allocno_emit_data, void_p, new_allocno_emit_data_vec): New | |
1890 | definitions. | |
1891 | (ira_initiate_emit_data, ira_finish_emit_data) | |
1892 | (create_new_allocno): New functions. | |
7a81008b | 1893 | (modify_move_list): Call create_new_alloc instead of ira_create_allocno. |
1756cb66 VM |
1894 | (emit_move_list): Call ira_init_register_move_cost_if_necessary. |
1895 | Use ira_register_move_cost instead of ira_get_register_move_cost. | |
1896 | ||
1897 | * ira-int.h: Fix some comments. | |
7a81008b UB |
1898 | (object_hard_regs_t, object_hard_regs_node_t): Move to ira-color.c. |
1899 | (struct object_hard_regs, struct object_hard_regs_node): Ditto. | |
1756cb66 VM |
1900 | (struct ira_object): Remove profitable_hard_regs, hard_regs_node, |
1901 | hard_regs_subnodes_start, hard_regs_subnodes_num. Add new member | |
1902 | add_data. | |
1903 | (struct ira_allocno): Make mode and aclass a bitfield. Move other | |
1904 | bitfield after mode. Make hard_regno a short int. Make | |
1905 | hard_regno short. Remove first_coalesced_allocno and | |
1906 | next_coalesced_allocno. Move mem_optimized_dest_p, | |
1907 | somewhere_renamed_p, child_renamed_p, reg, and mem_optimized_dest | |
1908 | into struct ira_emit_data. Remove in_graph_p, may_be_spilled_p, | |
1909 | available_regs_num, next_bucket_allocno, prev_bucket_allocno, | |
1910 | temp, colorable_p. Add new member add_data. | |
1911 | (ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P): Remove. | |
1912 | (ALLOCNO_COLORABLE_P, ALLOCNO_AVAILABLE_REGS_NUM): Remove. | |
1913 | (ALLOCNO_NEXT_BUCKET_ALLOCNO, ALLOCNO_PREV_BUCKET_ALLOCNO): Remove. | |
1914 | (ALLOCNO_TEMP, ALLOCNO_FIRST_COALESCED_ALLOCNO): Remove. | |
1915 | (ALLOCNO_NEXT_COALESCED_ALLOCNO): Remove. | |
1916 | (ALLOCNO_ADD_DATA): New macro. | |
1917 | (ira_emit_data_t): New typedef. | |
1918 | (struct ira_emit_data): New. Move mem_optimized_dest_p, | |
1919 | somewhere_renamed_p, child_renamed_p, reg, mem_optimized_dest | |
1920 | from struct ira_allocno. | |
1921 | (ALLOCNO_EMIT_DATA): New macro. | |
1922 | (ira_allocno_emit_data, allocno_emit_reg): New. | |
1923 | (ALLOCNO_PROFITABLE_HARD_REGS, OBJECT_HARD_REGS_NODE): Remove. | |
7a81008b | 1924 | (OBJECT_HARD_REGS_SUBNODES_STAR, OBJECT_HARD_REGS_SUBNODES_NUM): Remove. |
1756cb66 VM |
1925 | (OBJECT_ADD_DATA): New macro. |
1926 | (ira_reallocate): Remove. | |
1927 | (ira_initiate_emit_data, ira_finish_emit_data): New. | |
1928 | (ira_get_register_move_cost, ira_get_may_move_cost): Remove. | |
1929 | (ira_init_register_move_cost_if_necessary): New. | |
1930 | (ira_object_conflict_iter_next): Merge into | |
1931 | ira_object_conflict_iter_cond. | |
7a81008b | 1932 | (FOR_EACH_OBJECT_CONFLICT): Don't use ira_object_conflict_iter_next. |
1756cb66 VM |
1933 | |
1934 | * ira-live.c: (process_single_reg_class_operands): Call | |
1935 | ira_init_register_move_cost_if_necessary. Use | |
1936 | ira_register_move_cost instead of ira_get_register_move_cost. | |
1937 | ||
1938 | 2010-08-13 Vladimir Makarov <vmakarov@redhat.com> | |
1939 | ||
1940 | * ira-int.h (struct target_ira_int): Remove x_cost_classes. | |
1941 | ||
1942 | * ira-costs.c: Fix formatting. | |
1943 | (cost_classes, cost_classes_num): Remove. | |
1944 | (struct cost_classes, cost_classes_t, const_cost_classes_t): New. | |
1945 | (regno_cost_classes, cost_classes_hash, cost_classes_eq): New. | |
1946 | (cost_classes_del, cost_classes_htab): New. | |
1947 | (cost_classes_aclass_cache, cost_classes_mode_cache): New. | |
1948 | (initiate_regno_cost_classes, setup_cost_classes): New. | |
1949 | (setup_regno_cost_classes_by_aclass): New. | |
7a81008b | 1950 | (setup_regno_cost_classes_by_mode, finish_regno_cost_classes): New. |
1756cb66 VM |
1951 | (record_reg_classes): Use regno_cost_classes instead of |
1952 | cost_classes. Move checking opposite operand up. | |
1953 | (record_address_regs): Use regno_cost_classes | |
1954 | instead of cost_classes. | |
1955 | (scan_one_insn): Ditto. Use always general register. | |
1956 | (print_allocno_costs): Use regno_cost_classes instead of | |
1957 | cost_classes. | |
1958 | (print_pseudo_costs): Ditto. Use Reg_N_REFS. | |
1959 | (find_costs_and_classes): Set up cost classes for each registers. | |
1960 | Use also their mode for this. Use regno_cost_classes instead of | |
1961 | cost_classes. | |
1962 | (setup_allocno_class_and_costs): Use regno_cost_classes instead of | |
1963 | cost_classes. | |
1964 | (free_ira_costs, ira_init_costs): Don't use cost_classes. | |
1965 | (ira_costs, ira_set_pseudo_classes): Call | |
1966 | initiate_regno_cost_classes and finish_regno_cost_classes. | |
1967 | ||
1968 | 2010-10-04 Vladimir Makarov <vmakarov@redhat.com> | |
1969 | ||
1970 | * target-def.h (TARGET_IRA_COVER_CLASSES): Remove. | |
1971 | ||
1972 | * target.def (ira_cover_classes): Remove. | |
1973 | ||
7a81008b | 1974 | * doc/tm.texi: Remove TARGET_IRA_COVER_CLASSES and IRA_COVER_CLASSES. |
1756cb66 VM |
1975 | |
1976 | * doc/tm.texi.in: Ditto. | |
1977 | ||
1978 | * ira-conflicts.c: Remove mentioning cover classes from the file. | |
1979 | Use ALLOCNO_CLASS instead of ALLOCNO_COVER_CLASS. Use | |
7a81008b | 1980 | ALLOCNO_COVER_CLASS_COST instead of ALLOCNO_CLASS_COST. Fix formatting. |
1756cb66 VM |
1981 | |
1982 | * targhooks.c (default_ira_cover_classes): Remove. | |
1983 | ||
1984 | * targhooks.h (default_ira_cover_classes): Ditto. | |
1985 | ||
1986 | * haifa-sched.c: Remove mentioning cover classes from the file. | |
1987 | Use ira_reg_pressure_cover instead of ira_reg_class_cover. Use | |
1988 | ira_pressure_classes and ira_pressure_classes_num instead of | |
1989 | ira_reg_class_cover_size and ira_reg_class_cover. Use | |
1990 | sched_regno_pressure_class instead of sched_regno_cover_class. | |
1991 | (mark_regno_birth_or_death, setup_insn_reg_pressure_info): Use | |
1992 | ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
1993 | ||
1994 | * ira-int.h: Add 2010 to Copyright. Remove mentioning cover | |
1995 | classes from the file. | |
1996 | (object_hard_regs_t, object_hard_regs_node_t): New typedefs. | |
1997 | (struct object_hard_regs, struct object_hard_regs_node): New. | |
1998 | (struct ira_object): New members profitable_hard_regs, | |
1999 | hard_regs_node, hard_regs_subnodes_start, hard_regs_subnodes_num. | |
2000 | (struct ira_allocno): Rename cover_class to aclass. Rename | |
2001 | cover_class_cost and updated_cover_class_cost to class_cost and | |
2002 | updated_class_cost. Remove splay_removed_p and | |
2003 | left_conflict_size. Add new members colorable_p. | |
2004 | (ALLOCNO_SPLAY_REMOVED_P, ALLOCNO_LEFT_CONFLICTS_SIZE): Remove. | |
2005 | (ALLOCNO_COLORABLE_P): New macro. | |
2006 | (ALLOCNO_COVER_CLASS): Rename to ALLOCNO_CLASS. | |
2007 | (ALLOCNO_COVER_CLASS_COST, ALLOCNO_UPDATED_COVER_CLASS_COST): | |
2008 | Rename to ALLOCNO_CLASS_COST and ALLOCNO_UPDATED__CLASS_COST. | |
2009 | (OBJECT_...): Rename parameter C to O. | |
2010 | (OBJECT_PROFITABLE_HARD_REGS): New macro. | |
2011 | (OBJECT_HARD_REGS_NODE, OBJECT_HARD_REGS_SUBNODES_START) | |
2012 | (OBJECT_HARD_REGS_SUBNODES_NUM): New macros. | |
2013 | (struct target_ira_int): New members x_ira_max_memory_move_cost, | |
2014 | x_ira_max_register_move_cost, x_ira_max_may_move_in_cost, | |
2015 | x_ira_max_may_move_out_cost, x_ira_reg_allocno_class_p, | |
2016 | x_ira_reg_pressure_class_p, x_ira_important_class_nums, | |
2017 | x_ira_reg_class_superunion. Rename x_prohibited_class_mode_reg to | |
2018 | x_ira_prohibited_class_mode_reg. Rename x_ira_reg_class_union to | |
2019 | x_ira_reg_class_subunion. | |
2020 | (ira_max_memory_move_cost, ira_max_register_move_cost) | |
2021 | (ira_max_may_move_in_cost, ira_max_may_move_out_cost) | |
2022 | (ira_reg_allocno_class_p, ira_reg_pressure_class_p) | |
2023 | (ira_important_class_nums, ira_reg_class_superunion): New macros. | |
7a81008b | 2024 | (prohibited_class_mode_regs): Rename to ira_prohibited_class_mode_regs. |
1756cb66 VM |
2025 | (ira_reg_class_union): Rename to ira_reg_class_subunion. |
2026 | (ira_debug_class_cover): Rename to ira_debug_allocno_classes. | |
2027 | (ira_set_allocno_cover_class): Rename to ira_set_allocno_class. | |
2028 | (ira_tune_allocno_costs_and_cover_classes): Rename to | |
2029 | ira_tune_allocno_costs. | |
2030 | (ira_debug_hard_regs_forest): New. | |
2031 | (ira_object_conflict_iter_init, ira_object_conflict_iter_cond) | |
2032 | (ira_object_conflict_iter_next): Fix comments. | |
7a81008b | 2033 | (ira_hard_reg_set_intersection_p, hard_reg_set_size): New functions. |
1756cb66 VM |
2034 | (ira_allocate_and_set_costs, ira_allocate_and_copy_costs): Rename |
2035 | cover_class to aclass. | |
2036 | (ira_allocate_and_accumulate_costs): Ditto. | |
2037 | (ira_allocate_and_set_or_copy_costs): Ditto. | |
2038 | ||
2039 | * opts.c (decode_options): Remove ira_cover_class check. | |
2040 | ||
2041 | * ira-color.c: Remove mentioning cover classes from the file. Use | |
2042 | ALLOCNO_CLASS, ALLOCNO_CLASS_COST, and ALLOCNO_UPDATED_CLASS_COST | |
2043 | instead of ALLOCNO_COVER_CLASS, ALLOCNO_COVER_CLASS_COST, and | |
2044 | ALLOCNO_UPDATED_COVER_CLASS_COST. Fix formatting. | |
2045 | (splay-tree.h): Remove include. | |
2046 | (allocno_coalesced_p, processed_coalesced_allocno_bitmap): Move | |
2047 | before copy_freq_compare_func. | |
2048 | (allocnos_for_spilling, removed_splay_allocno_vec): Remove. | |
2049 | (object_hard_regs_vec, object_hard_regs_htab, node_check_tick): | |
2050 | New definitions. | |
2051 | (hard_regs_roots, hard_regs_node_vec): Ditto. | |
2052 | (object_hard_regs_hash, object_hard_regs_eq, find_hard_regs): Ditto. | |
2053 | (insert_hard_regs, init_object_hard_regs, add_object_hard_regs): Ditto. | |
2054 | (finish_object_hard_regs, object_hard_regs_compare): Ditto. | |
2055 | (create_new_object_hard_regs_node): Ditto. | |
2056 | (add_new_object_hard_regs_node_to_forest): Ditto. | |
7a81008b | 2057 | (add_object_hard_regs_to_forest, collect_object_hard_regs_cover): Ditto. |
1756cb66 VM |
2058 | (setup_object_hard_regs_nodes_parent, first_common_ancestor_node): |
2059 | Ditto. | |
2060 | (print_hard_reg_set, print_hard_regs_subforest): Ditto. | |
2061 | (print_hard_regs_forest, ira_debug_hard_regs_forest): Ditto. | |
2062 | (remove_unused_object_hard_regs_nodes): Ditto. | |
2063 | (enumerate_object_hard_regs_nodes): Ditto. | |
2064 | (object_hard_regs_nodes_num, object_hard_regs_nodes): Ditto. | |
2065 | (object_hard_regs_subnode_t): Ditto. | |
2066 | (struct object_hard_regs_subnode): Ditto. | |
2067 | (object_hard_regs_subnodes, object_hard_regs_subnode_index): Ditto. | |
2068 | (setup_object_hard_regs_subnode_index): Ditto. | |
2069 | (get_object_hard_regs_subnodes_num): Ditto. | |
2070 | (form_object_hard_regs_nodes_forest): Ditto. | |
2071 | (finish_object_hard_regs_nodes_tree): Ditto. | |
2072 | (finish_object_hard_regs_nodes_forest): Ditto. | |
2073 | (allocnos_have_intersected_live_ranges_p): Rename to | |
7a81008b | 2074 | allocnos_conflict_by_live_ranges_p. Move before copy_freq_compare_func. |
1756cb66 VM |
2075 | (pseudos_have_intersected_live_ranges_p): Rename to |
2076 | conflict_by_live_ranges_p. Move before copy_freq_compare_func. | |
2077 | (setup_left_conflict_sizes_p, update_left_conflict_sizes_p): Ditto. | |
2078 | (empty_profitable_hard_regs, setup_profitable_hard_regs): Ditto. | |
2079 | (update_copy_costs): Remove assert. Skip cost update if the hard | |
2080 | reg does not belong the class. | |
2081 | (assign_hard_reg): Process only profitable hard regs. | |
2082 | (uncolorable_allocnos_num): Make it scalar. | |
2083 | (allocno_spill_priority): Use ALLOCNO_EXCESS_PRESSURE_POINTS_NUM | |
2084 | and ira_reg_class_max_nregs instead of ALLOCNO_LEFT_CONFLICTS_SIZE | |
2085 | and ira_reg_class_max_nregs. | |
2086 | (bucket_allocno_compare_func): Check frequency first. | |
2087 | (sort_bucket): Add compare function as a parameter. | |
2088 | (add_allocno_to_ordered_bucket): Assume no coalesced allocnos. | |
2089 | (uncolorable_allocnos_splay_tree, USE_SPLAY_P): Remove. | |
2090 | (push_allocno_to_stack): Rewrite for checking new allocno | |
2091 | colorability. | |
7a81008b | 2092 | (remove_allocno_from_bucket_and_push): Print cost too. Remove assert. |
1756cb66 VM |
2093 | (push_only_colorable): Pass new parameter to sort_bucket. |
2094 | (push_allocno_to_spill): Remove. | |
2095 | (allocno_spill_priority_compare): Make it inline and rewrite. | |
2096 | (splay_tree_allocate, splay_tree_free): Remove. | |
2097 | (allocno_spill_sort_compare): New function. | |
2098 | (push_allocnos_to_stack): Sort allocnos for spilling once. Don't | |
2099 | build and use splay tree. Choose first allocno in uncolorable | |
2100 | allocno bucket to spill. Remove setting spill cost. | |
2101 | (all_conflicting_hard_regs): Remove. | |
2102 | (setup_allocno_available_regs_num): Check only profitable hard | |
2103 | regs. Print info about hard regs nodes. | |
2104 | (setup_allocno_left_conflicts_size): Remove. | |
2105 | (put_allocno_into_bucket): Don't call | |
7a81008b | 2106 | setup_allocno_left_conflicts_size. Use setup_left_conflict_sizes_p. |
1756cb66 VM |
2107 | (improve_allocation): New. |
2108 | (color_allocnos): Call setup_profitable_hard_regs, | |
2109 | form_object_hard_regs_nodes_forest, improve_allocation, | |
2110 | finish_object_hard_regs_nodes_forest. Setup spill cost. | |
2111 | (print_loop_title): Use pressure classes. | |
2112 | (color_allocnso): Ditto. | |
2113 | (do_coloring): Remove allocation and freeing splay_tree_node_pool | |
2114 | and allocnos_for_spilling. | |
2115 | (ira_sort_regnos_for_alter_reg): Don't setup members | |
2116 | {first,next}_coalesced_allocno. | |
2117 | (color): Remove allocating and freeing removed_splay_allocno_vec. | |
2118 | (fast_allocation): Use ira_prohibited_class_mode_regs instead of | |
2119 | prohibited_class_mode_regs. | |
2120 | ||
2121 | * ira-lives.c: Remove mentioning cover classes from the file. Fix | |
2122 | formatting. | |
2123 | (update_allocno_pressure_excess_length): Use pressure classes. | |
2124 | (inc_register_pressure, dec_register_pressure): Check for pressure | |
2125 | class. | |
2126 | (mark_pseudo_regno_live, mark_pseudo_regno_subword_live): Use | |
2127 | pressure class. Use ira_reg_class_nregs instead of | |
2128 | ira_reg_class_max_nregs. | |
2129 | (mark_pseudo_regno_dead, mark_pseudo_regno_subword_dead): Ditto. | |
2130 | (mark_hard_reg_live, mark_hard_reg_dead): Use pressure class. | |
2131 | (single_reg_class): Use ira_reg_class_nregs instead of | |
2132 | ira_reg_class_max_nregs. | |
2133 | (process_bb_node_lives): Use pressure classes. | |
2134 | ||
2135 | * ira-emit.c: Remove mentioning cover classes from the file. Use | |
2136 | ALLOCNO_CLASS instead of ALLOCNO_COVER_CLASS. Fix formatting. | |
2137 | (change_loop): Use pressure classes. | |
2138 | (modify_move_list): Call ira_set_allocno_class instead of | |
2139 | ira_set_allocno_cover_class. | |
2140 | ||
2141 | * ira-build.c: Remove mentioning cover classes from the file. Use | |
2142 | ALLOCNO_CLASS and ALLOCNO_CLASS_COST instead of | |
2143 | ALLOCNO_COVER_CLASS and ALLOCNO_COVER_CLASS_COST. Use | |
2144 | ALLOCNO_UPDATED_CLASS_COST instead of | |
2145 | ALLOCNO_UPDATED_COVER_CLASS_COST. Fix formatting. | |
2146 | (ira_create_object): Initiate OBJECT_PROFITABLE_HARD_REGS. | |
2147 | (ira_create_allocno): Remove initialization of | |
2148 | ALLOCNO_SPLAY_REMOVED_P, ALLOCNO_LEFT_CONFLICT_SIZE. Initialize | |
2149 | ALLOCNO_COLORABLE_P. | |
2150 | (ira_set_allocno_cover_class): Rename to ira_set_allocno_class. | |
2151 | Update conflict regs for the objects. | |
2152 | (create_cap_allocno): Remove assert. Don't propagate | |
2153 | ALLOCNO_AVAILABLE_REGS_NUM. | |
2154 | (ira_free_allocno_costs): New function. | |
2155 | (finish_allocno): Change a part of code into call of | |
2156 | ira_free_allocno_costs. | |
2157 | (low_pressure_loop_node_p): Use pressure classes. | |
2158 | (object_range_compare_func): Don't compare classes. | |
2159 | (setup_min_max_conflict_allocno_ids): Ditto. | |
2160 | ||
2161 | * loop-invariant.c: Remove mentioning cover classes from the file. | |
2162 | Use ira_pressure_classes and ira_pressure_classes_num instead of | |
2163 | ira_reg_class_cover_size and ira_reg_class_cover. Fix formatting. | |
7a81008b UB |
2164 | (get_cover_class_and_nregs): Rename to get_cover_pressure_and_nregs. |
2165 | Use ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
2166 | Use reg_allocno_class instead of reg_cover_class. | |
1756cb66 VM |
2167 | (get_inv_cost): Use instead ira_stack_reg_pressure_class of |
2168 | STACK_REG_COVER_CLASS. | |
2169 | (get_regno_cover_class): Rename to get_regno_pressure_class. | |
2170 | (move_loop_invariants): Initialize and finalize regstat. | |
2171 | ||
2172 | * ira.c: Remove mentioning cover classes from the file. Add | |
2173 | comments about coloring without cover classes. Use ALLOCNO_CLASS | |
2174 | instead of ALLOCNO_COVER_CLASS. Fix formatting. | |
2175 | (alloc_reg_class_subclasses, setup_reg_subclasses): Move it before | |
2176 | setup_class_subset_and_memory_move_costs. | |
2177 | (setup_stack_reg_pressure_class, setup_pressure_classes): New. | |
2178 | (setup_cover_and_important_classes): Rename to | |
2179 | setup_allocno_and_important_classes. | |
2180 | (setup_class_translate_array): New. | |
2181 | (setup_class_translate): Call it for allocno and pressure classes. | |
2182 | (cover_class_order): Rename to allocno_class_order. | |
2183 | (comp_reg_classes_func): Use ira_allocno_class_translate instead | |
2184 | of ira_class_translate. | |
2185 | (reorder_important_classes): Set up ira_important_class_nums. | |
2186 | (setup_reg_class_relations): Set up ira_reg_class_superunion. | |
2187 | (print_class_cover): Rename to print_classes. Add parameter. | |
2188 | (ira_debug_class_cover): Rename to ira_debug_allocno_classes. | |
2189 | Print pressure classes too. | |
2190 | (find_reg_class_closure): Rename to find_reg_classes. Don't call | |
2191 | setup_reg_subclasses. | |
7a81008b | 2192 | (ira_hard_regno_cover_class): Rename to ira_hard_regno_allocno_class. |
1756cb66 VM |
2193 | (ira_reg_class_nregs): Rename to ira_reg_class_max_nregs. |
2194 | (setup_prohibited_class_mode_regs): Use | |
7a81008b | 2195 | ira_prohibited_class_mode_regs instead of prohibited_class_mode_regs. |
1756cb66 VM |
2196 | (clarify_prohibited_class_mode_regs): New function. |
2197 | (ira_init_register_move_cost): Set up ira_max_register_move_cost, | |
2198 | ira_max_may_move_in_cost, and ira_max_may_move_out_cost. | |
2199 | (ira_init_once): Initialize them. | |
2200 | (free_register_move_costs): Process them. | |
2201 | (ira_init): Move calls of find_reg_classes and | |
2202 | setup_hard_regno_aclass after setup_prohibited_class_mode_regs. | |
2203 | Call clarify_prohibited_class_mode_regs. | |
2204 | (ira_no_alloc_reg): Remove. | |
2205 | (too_high_register_pressure_p): Use pressure classes. | |
2206 | ||
2207 | * sched-deps.c: Remove mentioning cover classes from the file. | |
2208 | Use ira_reg_pressure_cover instead of ira_reg_class_cover. Use | |
2209 | ira_pressure_classes and ira_pressure_classes_num instead of | |
2210 | ira_reg_class_cover_size and ira_reg_class_cover. | |
2211 | (mark_insn_hard_regno_birth, mark_hard_regno_death): Use | |
2212 | sched_regno_pressure_class instead of sched_regno_cover_class. | |
2213 | (mark_insn_pseudo_birth, mark_pseudo_death): Ditto. Use | |
2214 | ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
2215 | ||
2216 | * ira.h: Add 2010 to Copyright. | |
2217 | (ira_no_alloc_reg): Remove external. | |
2218 | (struct target_ira): Rename x_ira_hard_regno_cover_class, | |
2219 | x_ira_reg_class_cover_size, x_ira_reg_class_cover, and | |
2220 | x_ira_class_translate to x_ira_hard_regno_allocno_class, | |
2221 | x_ira_allocno_classes_num, x_ira_allocno_classes, and | |
2222 | x_ira_allocno_class_translate. Add x_ira_pressure_classes_num, | |
2223 | x_ira_pressure_classes, x_ira_pressure_class_translate, and | |
2224 | x_ira_stack_reg_pressure_class. Rename x_ira_reg_class_nregs to | |
2225 | x_ira_reg_class_max_nregs. Add x_ira_reg_class_min_nregs and | |
2226 | x_ira_no_alloc_regs. | |
7a81008b | 2227 | (ira_hard_regno_cover_class): Rename to ira_hard_regno_allocno_class. |
1756cb66 VM |
2228 | (ira_reg_class_cover_size, ira_reg_class_cover): Rename to |
2229 | ira_allocno_classes_num and ira_allocno_classes. | |
2230 | (ira_class_translate): Rename to ira_allocno_class_translate. | |
2231 | (ira_pressure_classes_num, ira_pressure_classes): New definitions. | |
2232 | (ira_pressure_class_translate, ira_stack_reg_pressure_class): Ditto. | |
2233 | (ira_reg_class_nregs): Rename to ira_reg_class_max_nregs. | |
2234 | (ira_reg_class_min_nregs, ira_stack_reg_pressure_class): New | |
2235 | (ira_no_alloc_regs): New. | |
2236 | ||
2237 | * ira-costs.c: Add 2010 to Copyright. Remove mentioning cover | |
2238 | classes from the file. Use ALLOCNO_CLASS instead of | |
2239 | ALLOCNO_COVER_CLASS. Use ALLOCNO_CLASS_COST instead of | |
2240 | ALLOCNO_COVER_CLASS_COST. | |
2241 | (regno_cover_class): Rename to regno_aclass. | |
2242 | (record_reg_classes): Use ira_reg_class_subunion instead of | |
2243 | ira_reg_class_union. | |
2244 | (record_address_regs): Check overflow. | |
2245 | (scan_one_insn): Ditto. | |
7a81008b | 2246 | (print_allocno_costs): Print total mem cost fore regional allocation. |
1756cb66 VM |
2247 | (print_pseudo_costs): Use REG_N_REFS. |
2248 | (find_costs_and_classes): Use classes intersected with them on the | |
2249 | 1st pass. Check overflow. Use ira_reg_class_subunion instead of | |
2250 | ira_reg_class_union. Use ira_allocno_class_translate and | |
2251 | regno_aclass instead of ira_class_translate and regno_cover_class. | |
2252 | Modify code for finding regno_aclass. Setup preferred classes for | |
2253 | the next pass. | |
2254 | (setup_allocno_cover_class_and_costs): Rename to | |
2255 | setup_allocno_class_and_costs. Use regno_aclass instead of | |
2256 | regno_cover_class. Use ira_set_allocno_class instead of | |
2257 | ira_set_allocno_cover_class. | |
2258 | (init_costs, finish_costs): Use regno_aclass instead of | |
2259 | regno_cover_class. | |
2260 | (ira_costs): Use setup_allocno_class_and_costs instead of | |
2261 | setup_allocno_cover_class_and_costs. | |
2262 | (ira_tune_allocno_costs_and_cover_classes): Rename to | |
2263 | ira_tune_allocno_costs. Check overflow. Skip conflict hard regs | |
2264 | by processing objects. Use ira_reg_class_max_nregs instead of | |
2265 | ira_reg_class_nregs. | |
2266 | ||
2267 | * rtl.h (reg_cover_class): Rename to reg_allocno_class. | |
2268 | ||
2269 | * sched-int.h: Remove mentioning cover classes from the file. | |
2270 | (sched_regno_cover_class): Rename to sched_regno_pressure_class. | |
2271 | ||
2272 | * reginfo.c: Add 2010 to Copyright. Remove mentioning cover | |
2273 | classes from the file. | |
2274 | (struct reg_pref): Rename coverclass into allocnoclass. | |
2275 | (reg_cover_class): Rename to reg_allocno_class. | |
2276 | ||
7a81008b | 2277 | * Makefile.in (ira-color.o): Remove SPLAY_TREE_H from dependencies. |
1756cb66 VM |
2278 | |
2279 | * config/alpha/alpha.h (IRA_COVER_CLASSES): Remove. | |
2280 | ||
2281 | * config/arm/arm.h (IRA_COVER_CLASSES): Ditto. | |
2282 | ||
2283 | * config/avr/avr.h (IRA_COVER_CLASSES): Ditto. | |
2284 | ||
2285 | * config/bfin/bfin.h (IRA_COVER_CLASSES): Ditto. | |
2286 | ||
2287 | * config/cris/cris.h (IRA_COVER_CLASSES): Ditto. | |
2288 | ||
2289 | * config/fr30/fr30.h (IRA_COVER_CLASSES): Ditto. | |
2290 | ||
2291 | * config/frv/frv.h (IRA_COVER_CLASSES): Ditto. | |
2292 | ||
2293 | * config/h8300/h8300.h (IRA_COVER_CLASSES): Ditto. | |
2294 | ||
2295 | * config/i386/i386.h (STACK_REG_COVER_CLASS): Ditto. | |
2296 | ||
2297 | * config/i386/i386.c (TARGET_IRA_COVER_CLASSES) | |
2298 | (i386_ira_cover_classes): Ditto. | |
2299 | ||
2300 | * config/ia64/ia64.h (IRA_COVER_CLASSES): Ditto. | |
2301 | ||
2302 | * config/iq2000/iq2000.h (IRA_COVER_CLASSES): Ditto. | |
2303 | ||
2304 | * config/m32r/m32r.h (IRA_COVER_CLASSES): Ditto. | |
2305 | ||
2306 | * config/m68k/m68k.h (IRA_COVER_CLASSES): Ditto. | |
2307 | ||
2308 | * config/mcore/mcore.h (IRA_COVER_CLASSES): Ditto. | |
2309 | ||
2310 | * config/mep/mep.h (IRA_COVER_CLASSES): Ditto. | |
2311 | ||
2312 | * config/mips/mips.c (TARGET_IRA_COVER_CLASSES) | |
2313 | (mips_ira_cover_classes): Ditto. | |
2314 | ||
2315 | * config/mn10300/mn10300.h (IRA_COVER_CLASSES): Ditto. | |
2316 | ||
2317 | * config/moxie/moxie.h (IRA_COVER_CLASSES): Ditto. | |
2318 | ||
2319 | * config/pa/pa64-regs.h (IRA_COVER_CLASSES): Ditto. | |
2320 | ||
2321 | * config/pa/pa32-regs.h (IRA_COVER_CLASSES): Ditto. | |
2322 | ||
2323 | * config/picochip/picochip.h (IRA_COVER_CLASSES): Ditto. | |
2324 | ||
2325 | * config/rs6000/rs6000.h (IRA_COVER_CLASSES_PRE_VSX) | |
2326 | (IRA_COVER_CLASSES_VSX): Ditto. | |
2327 | ||
2328 | * config/rs6000/rs6000.c (TARGET_IRA_COVER_CLASSES) | |
2329 | (rs6000_ira_cover_classes): Ditto. | |
2330 | ||
2331 | * config/rx/rx.h (IRA_COVER_CLASSES): Ditto. | |
2332 | ||
2333 | * config/s390/s390.h (IRA_COVER_CLASSES): Ditto. | |
2334 | ||
2335 | * config/score/score.h (IRA_COVER_CLASSES): Ditto. | |
2336 | ||
2337 | * config/sh/sh.h (IRA_COVER_CLASSES): Ditto. | |
2338 | ||
2339 | * config/sparc/sparc.h (IRA_COVER_CLASSES): Ditto. | |
2340 | ||
2341 | * config/spu/spu.h (IRA_COVER_CLASSES): Ditto. | |
2342 | ||
2343 | * config/stormy16/stormy16.h (IRA_COVER_CLASSES): Ditto. | |
2344 | ||
2345 | * config/v850/v850.h (IRA_COVER_CLASSES): Ditto. | |
2346 | ||
2347 | * config/vax/vax.h (IRA_COVER_CLASSES): Ditto. | |
2348 | ||
2349 | * config/xtensa/xtensa.h (IRA_COVER_CLASSES): Ditto. | |
2350 | ||
2b80199f JJ |
2351 | 2011-03-29 Jakub Jelinek <jakub@redhat.com> |
2352 | ||
71dae1fe JJ |
2353 | PR debug/48253 |
2354 | * dwarf2out.c (struct dw_fde_struct): Remove dw_fde_hot_section_label, | |
2355 | dw_fde_hot_section_end_label, dw_fde_unlikely_section_label, | |
2356 | dw_fde_unlikely_section_end_label, cold_in_std_section, | |
2357 | dw_fde_switched_sections and dw_fde_switched_cold_to_hot fields. | |
2358 | Add dw_fde_second_begin, dw_fde_second_end and second_in_std_section | |
2359 | fields. | |
2360 | (output_fde): Use dw_fde_second_{begin,end} if second is | |
2361 | true, otherwise dw_fde_{begin,end}. | |
2362 | (output_call_frame_info): Test dw_fde_second_begin != NULL | |
2363 | instead of dw_fde_switched_sections. | |
2364 | (dwarf2out_begin_prologue): Stop initializing removed dw_fde_struct | |
2365 | fields, initialize new fields. Initialize in_std_section | |
2366 | unconditionally from the first partition. | |
2367 | (dwarf2out_end_epilogue): Don't override dw_fde_end when | |
2368 | dw_fde_second_begin is non-NULL. | |
2369 | (dwarf2out_switch_text_section): Stop initializing removed | |
2370 | dw_fde_struct fields, initialize new fields, initialize | |
2371 | also dw_fde_end here. Set dw_fde_switch_cfi even when | |
2372 | dwarf2out_do_cfi_asm (). Call var_location_switch_text_section. | |
2373 | (struct var_loc_list_def): Add last_before_switch field. | |
2374 | (arange_table, arange_table_allocated, arange_table_in_use, | |
2375 | ARANGE_TABLE_INCREMENT, add_arange): Removed. | |
2376 | (size_of_aranges): Count !in_std_section and !second_in_std_section | |
2377 | hunks in fdes, instead of looking at arange_table_in_use. | |
2378 | (output_aranges): Add aranges_length argument, don't call | |
2379 | size_of_aranges here. Instead of using aranges_table* | |
2380 | emit ranges for fdes when !in_std_section resp. | |
2381 | !second_in_std_section. | |
2382 | (dw_loc_list): Break ranges crossing section switch. | |
2383 | (convert_cfa_to_fb_loc_list): Likewise. If switched sections, | |
7a81008b | 2384 | use dw_fde_second_end instead of dw_fde_end as end of last range. |
71dae1fe JJ |
2385 | (gen_subprogram_die): Don't call add_arange. Use |
2386 | dw_fde_{begin,end} for first partition and if switched | |
2387 | section dw_fde_second_{begin,end} for the second. | |
2388 | (var_location_switch_text_section_1, | |
2389 | var_location_switch_text_section): New functions. | |
2390 | (dwarf2out_begin_function): Initialize cold_text_section even | |
2391 | when function_section () isn't text_section. | |
2392 | (prune_unused_types): Don't walk arange_table. | |
2393 | (dwarf2out_finish): Don't needlessly test | |
2394 | flag_reorder_blocks_and_partition when testing cold_text_section_used. | |
2395 | If info_section_emitted, call size_of_aranges and if it indicates | |
2396 | non-empty .debug_aranges, call output_aranges with the computed | |
2397 | size. Stop using removed dw_fde_struct fields, use | |
2398 | dw_fde_{begin,end} for first partition and dw_fde_second_{begin,end} | |
2399 | for second. | |
2400 | ||
2b80199f JJ |
2401 | PR debug/48203 |
2402 | * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Only | |
2403 | create ENTRY_VALUE if incoming or address of incoming's MEM | |
2404 | is a hard REG. | |
2405 | * dwarf2out.c (mem_loc_descriptor): Don't emit | |
2406 | DW_OP_GNU_entry_value of DW_OP_fbreg. | |
2407 | * var-tracking.c (vt_add_function_parameter): Ensure cselib_lookup | |
2408 | on ENTRY_VALUE is able to find the canonical parameter VALUE. | |
2409 | * cselib.c (rtx_equal_for_cselib_1) <case ENTRY_VALUE>: Use | |
2410 | rtx_equal_p instead of rtx_equal_for_cselib_1 to compare | |
2411 | ENTRY_VALUE_EXPs. | |
2412 | (cselib_hash_rtx) <case ENTRY_VALUE>: If ENTRY_VALUE_EXP | |
2413 | is a REG_P or MEM_P with REG_P address, compute hash directly | |
2414 | instead of calling cselib_hash_rtx on ENTRY_VALUE_EXP. | |
2415 | (preserve_only_constants): Don't clear VALUES forwaring | |
2416 | ENTRY_VALUE to some other VALUE. | |
2417 | ||
8a445129 RS |
2418 | 2011-03-28 Richard Sandiford <richard.sandiford@linaro.org> |
2419 | ||
2420 | * builtins.c (expand_builtin_memset_args): Use gen_int_mode | |
2421 | instead of GEN_INT. | |
2422 | ||
c82fee88 EB |
2423 | 2011-03-28 Eric Botcazou <ebotcazou@adacore.com> |
2424 | ||
2425 | * cfgexpand.c (expand_gimple_cond): Always set the source location and | |
2426 | block before expanding the statement. | |
2427 | (expand_gimple_stmt_1): Likewise. Set them here... | |
2428 | (expand_gimple_stmt): ...and not here. Tidy. | |
2429 | * cfglayout.c (curr_insn_locator): Return 0 if the current location is | |
2430 | unknown. | |
2431 | ||
e45425ec SB |
2432 | 2011-03-28 Steven Bosscher <steven@gcc.gnu.org> |
2433 | ||
2434 | * Makefile.in: New rule for cprop.o. | |
2435 | * gcse.c: Move constant/copy propagation to cprop.c. | |
2436 | (compute_local_properties): Only handle expression tables. | |
2437 | (hash_scan_set, compute_hash_table_work, alloc_hash_table,): Likewise. | |
2438 | (one_pre_gcse_pass, one_code_hoisting_pass): Likewise. | |
2439 | (hash_set, insert_set_in_table, gcse_constant_p, lookup_set, | |
2440 | next_set, reset_opr_set_tables, oprs_not_set_p, mark_call, mark_set, | |
7a81008b | 2441 | mark_clobber, mark_oprs_set, alloc_cprop_mem, free_cprop_mem, |
e45425ec SB |
2442 | compute_cprop_data, find_used_regs, try_replace_reg, |
2443 | find_avail_set, cprop_jump, constprop_register, cprop_insn, | |
2444 | local_cprop_find_used_regs, do_local_cprop, local_cprop_pass, | |
2445 | fis_get_condition, implicit_set_cond_p, find_implicit_sets, | |
2446 | find_bypass_set, reg_killed_on_edge, bypass_block, | |
2447 | bypass_conditional_jumps, one_cprop_pass, gate_rtl_cprop, | |
2448 | execute_rtl_cprop, pass_rtl_cprop): Move to... | |
2449 | * cprop.c: ...here. New file, constant/copy propagation for RTL | |
2450 | moved from gcse.c to here with minor cleanups in duplicated code. | |
2451 | ||
c09d5426 L |
2452 | 2011-03-28 H.J. Lu <hongjiu.lu@intel.com> |
2453 | ||
2454 | * config/i386/i386.c (flag_opts): Fix a typo in | |
2455 | -mavx256-split-unaligned-store. | |
2456 | ||
9eaa7740 AS |
2457 | 2011-03-28 Anatoly Sokolov <aesok@post.ru> |
2458 | ||
2459 | * config/h8300/h8300.h (FUNCTION_VALUE_REGNO_P, FUNCTION_VALUE, | |
2460 | LIBCALL_VALUE): Remove macros. | |
2461 | * config/h8300/h8300.c (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
2462 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
2463 | (h8300_function_value, h8300_libcall_value, | |
2464 | h8300_function_value_regno_p): New functions. | |
2465 | ||
dcec2be2 AS |
2466 | 2011-03-28 Anatoly Sokolov <aesok@post.ru> |
2467 | ||
2468 | * config/h8300/h8300.h (ASM_OUTPUT_BSS): Remove macro. | |
2469 | ||
520af9ec JL |
2470 | 2011-03-28 Jeff Law <law@redhat.com> |
2471 | ||
2472 | * tree-ssa-threadupdate.c (redirect_edges): Call | |
2473 | create_edge_and_update_destination_phis as needed. | |
2474 | (create_edge_and_update_destination_phis): Accept new BB argument. | |
2475 | All callers updated. | |
2476 | (thread_block): Do not update the profile when threading around | |
2477 | intermediate blocks. | |
2478 | (thread_single_edge): Likewise. | |
2479 | (determine_bb_domination_status): If BB is not a successor of the | |
2480 | loop header, return NONDOMINATING. | |
2481 | (register_jump_thread): Note when we register a jump thread around | |
2482 | an intermediate block. | |
2483 | * tree-ssa-threadedge.c (thread_around_empty_block): New function. | |
2484 | (thread_across_edge): Use it. | |
2485 | ||
7450b54f TG |
2486 | 2011-03-28 Tristan Gingold <gingold@adacore.com> |
2487 | ||
2488 | * config/ia64/ia64.c (ia64_promote_function_mode): Fix promotion | |
2489 | when for_return is 2. | |
2490 | ||
649beb33 JL |
2491 | 2011-03-28 Jeff Law <law@redhat.com> |
2492 | ||
2493 | * var-tracking.c (canonicalize_values_mark): Delete unused | |
2494 | lhs assignment. | |
2495 | (canonicalize_values_star, set_variable_part): Likewise. | |
2496 | (clobber_variable_part, delete_variable_part): Likewise. | |
2497 | ||
d5b8da97 SB |
2498 | 2011-03-28 Steven Bosscher <steven@gcc.gnu.org> |
2499 | ||
2500 | * gcse.c (free_gcse_mem): Free reg_set_bitmap. | |
2501 | ||
322dd859 MJ |
2502 | 2011-03-28 Martin Jambor <mjambor@suse.cz> |
2503 | ||
2504 | * tree-inline.c (expand_call_inline): Do not check that destination | |
2505 | node is analyzed. | |
2506 | (optimize_inline_calls): Assert that destination node is analyzed. | |
2507 | * cgraph.c (cgraph_add_new_function): Call cgraph_analyze_function, do | |
2508 | not call tree_lowering_passes. | |
2509 | * cgraph.h (cgraph_analyze_function): Declare. | |
2510 | * cgraphunit.c (cgraph_analyze_function): Make public. | |
2511 | ||
aa53e58b JM |
2512 | 2011-03-28 Joseph Myers <joseph@codesourcery.com> |
2513 | ||
2514 | * config/sparc/sparc-opts.h: New. | |
2515 | * config/sparc/sparc.c (sparc_handle_option, sparc_select, | |
2516 | sparc_cpu, fpu_option_set, TARGET_HANDLE_OPTION): Remove. | |
2517 | (sparc_option_override): Store processor_type enumeration rather | |
2518 | than string in cpu_default. Remove name and enumeration from | |
2519 | cpu_table. Directly default -mcpu then default -mtune from -mcpu | |
2520 | without using sparc_select. Use target_flags_explicit instead of | |
2521 | fpu_option_set. | |
2522 | * config/sparc/sparc.h (enum processor_type): Move to | |
2523 | sparc-opts.h. | |
2524 | (sparc_cpu, struct sparc_cpu_select, sparc_select): Remove. | |
2525 | * config/sparc/sparc.opt (config/sparc/sparc-opts.h): New | |
2526 | HeaderInclude entry. | |
2527 | (mcpu=, mtune=): Use Var and Enum. | |
2528 | (sparc_processor_type): New Enum and EnumValue entries. | |
2529 | ||
dd350eba RO |
2530 | 2011-03-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2531 | Iain Sandoe <iains@gcc.gnu.org> | |
2532 | ||
2533 | PR target/48245 | |
2534 | * config/darwin.h (LINK_COMMAND_SPEC_A): Use LINK_PLUGIN_SPEC. | |
2535 | ||
1b29f05e EB |
2536 | 2011-03-28 Eric Botcazou <ebotcazou@adacore.com> |
2537 | ||
2538 | * tree-vectorizer.h (vect_create_data_ref_ptr): Adjust prototype. | |
2539 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add GSI parameter. | |
2540 | Insert new statements at it in lieu of STMT. | |
2541 | (vect_setup_realignment): Adjust call to vect_create_data_ref_ptr. | |
2542 | * tree-vect-stmts.c (vectorizable_store): Likewise. | |
2543 | (vectorizable_load): Likewise. | |
2544 | ||
506e6808 UB |
2545 | 2011-03-28 Uros Bizjak <ubizjak@gmail.com> |
2546 | ||
2547 | * config/alpha/alpha.md (addtf3): Change mode of operands to TFmode. | |
2548 | (divtf3): Ditto. | |
2549 | (multf3): Ditto. | |
2550 | (subtf3): Ditto. | |
2551 | ||
2e939ee9 L |
2552 | 2011-03-27 H.J. Lu <hongjiu.lu@intel.com> |
2553 | ||
2554 | * config/i386/sse.md (*avx_mov<mode>_internal): Don't assert | |
2555 | unaligned 256bit load/store. | |
2556 | (*avx_movu<ssemodesuffix><avxmodesuffix>): Likewise. | |
2557 | (*avx_movdqu<avxmodesuffix>): Likewise. | |
2558 | ||
5e85ab88 JDA |
2559 | 2011-03-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2560 | ||
2561 | PR target/48288 | |
2562 | * config/pa/predicates.md (reg_or_ior_operand): New predicate. | |
2563 | * config/pa/pa.md (iordi3): Use new predicate in expander. | |
2564 | (iorsi3): Likewise. | |
2565 | ||
47be3d6d AS |
2566 | 2011-03-27 Anatoly Sokolov <aesok@post.ru> |
2567 | ||
506e6808 | 2568 | * config/mips/mips.h (LIBCALL_VALUE, FUNCTION_VALUE, |
47be3d6d | 2569 | FUNCTION_VALUE_REGNO_P): Remove macros. |
506e6808 UB |
2570 | * config/mips/mips-protos.h (mips_function_value): Remove. |
2571 | * config/mips/mips.c (mips_function_value): Rename to... | |
47be3d6d AS |
2572 | (mips_function_value_1): ... this. Make static. Handle receiving |
2573 | the function type in 'fn_decl_or_type' argument. | |
2574 | (mips_function_value, mips_libcall_value, | |
2575 | mips_function_value_regno_p): New function. | |
2576 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
2577 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
2578 | ||
d253656a L |
2579 | 2011-03-27 H.J. Lu <hongjiu.lu@intel.com> |
2580 | ||
2581 | * config/i386/i386.c (flag_opts): Add -mavx256-split-unaligned-load | |
2582 | and -mavx256-split-unaligned-store. | |
2583 | (ix86_option_override_internal): Split 32-byte AVX unaligned | |
2584 | load/store by default. | |
2585 | (ix86_avx256_split_vector_move_misalign): New. | |
2586 | (ix86_expand_vector_move_misalign): Use it. | |
2587 | ||
2588 | * config/i386/i386.opt: Add -mavx256-split-unaligned-load and | |
2589 | -mavx256-split-unaligned-store. | |
2590 | ||
2591 | * config/i386/sse.md (*avx_mov<mode>_internal): Verify unaligned | |
2592 | 256bit load/store. Generate unaligned store on misaligned memory | |
2593 | operand. | |
2594 | (*avx_movu<ssemodesuffix><avxmodesuffix>): Verify unaligned | |
2595 | 256bit load/store. | |
2596 | (*avx_movdqu<avxmodesuffix>): Likewise. | |
2597 | ||
2598 | * doc/invoke.texi: Document -mavx256-split-unaligned-load and | |
2599 | -mavx256-split-unaligned-store. | |
2600 | ||
1ea9206a RS |
2601 | 2011-03-27 Richard Sandiford <rdsandiford@googlemail.com> |
2602 | ||
2603 | PR target/38598 | |
2604 | * config/mips/mips.md (extendsidi2): Add an "l" alternative. | |
2605 | Update commentary. | |
2606 | ||
b99ce2a8 RS |
2607 | 2011-03-27 Richard Sandiford <rdsandiford@googlemail.com> |
2608 | ||
2609 | * config/mips/mips.c (mips_prepare_builtin_arg): Replace icode and | |
2610 | opno arguments with an expand_operand. Use create_input_operand. | |
2611 | (mips_prepare_builtin_target): Delete. | |
2612 | (mips_expand_builtin_insn, mips_expand_builtin_compare_1): New | |
2613 | functions. | |
2614 | (mips_expand_builtin_direct): Use create_output_operand and | |
2615 | mips_expand_builtin_insn. Update call to mips_prepare_builtin_arg. | |
2616 | (mips_expand_builtin_movtf): Likewise. Use mips_expand_fp_comparison. | |
2617 | (mips_expand_builtin_compare): Use mips_expand_fp_comparison. | |
2618 | ||
69d52339 IR |
2619 | 2011-03-27 Ira Rosen <ira.rosen@linaro.org> |
2620 | ||
2621 | * config/arm/arm.c (arm_autovectorize_vector_sizes): New | |
2622 | function. | |
2623 | (TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES): Define. | |
2624 | ||
ba5e9aca EB |
2625 | 2011-03-26 Eric Botcazou <ebotcazou@adacore.com> |
2626 | ||
2627 | * basic-block.h (fixup_abnormal_edges): Adjust prototype. | |
2628 | * reload1.c (reload): Adjust call to fixup_abnormal_edges. Rediscover | |
2629 | basic blocks and call commit_edge_insertions directly. | |
2630 | (fixup_abnormal_edges): Move from here to... | |
2631 | * cfgrtl.c (fixup_abnormal_edges): ...here. Only insert instructions | |
2632 | on the edges and return whether some have actually been inserted. | |
2633 | * reg-stack.c (convert_regs): Fix up abnormal edges before inserting | |
2634 | compensation code. | |
2635 | ||
5d369d58 AB |
2636 | 2011-03-26 Andrey Belevantsev <abel@ispras.ru> |
2637 | ||
2638 | PR rtl-optimization/48144 | |
2639 | * sel-sched-ir.c (merge_history_vect): Factor out from ... | |
2640 | (merge_expr_data): ... here. | |
2641 | (av_set_intersect): Rename to av_set_code_motion_filter. | |
2642 | Update all callers. Call merge_history_vect when an expression | |
2643 | is found in both sets. | |
2644 | * sel-sched-ir.h (av_set_code_motion_filter): Add prototype. | |
2645 | ||
f082c000 AM |
2646 | 2011-03-26 Alan Modra <amodra@gmail.com> |
2647 | ||
2648 | * config/rs6000/predicates.md (word_offset_memref_op): Handle | |
2649 | cmodel medium addresses. | |
2650 | * config/rs6000/rs6000.c (rs6000_secondary_reload): Handle misaligned | |
2651 | 64-bit gpr loads and stores. | |
2652 | (rs6000_secondary_reload_ppc64): New function. | |
2653 | * config/rs6000/rs6000-protos.h: Declare it. | |
2654 | * config/rs6000/rs6000.md (reload_di_store, reload_di_load): New. | |
2655 | ||
8ac5e12e AM |
2656 | 2011-03-26 Alan Modra <amodra@gmail.com> |
2657 | ||
2658 | PR target/47487 | |
2659 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Support | |
2660 | GNU Go in traceback table. | |
2661 | ||
c2654ded RH |
2662 | 2011-03-25 Richard Henderson <rth@redhat.com> |
2663 | ||
2664 | * expr.c (emit_block_move_via_movmem): Only use 6 operand variant | |
2665 | if there are exactly 6 operands. | |
2666 | (set_storage_via_setmem): Similarly. | |
2667 | ||
ba78087b KT |
2668 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
2669 | ||
2670 | * collect2.c (write_c_file_stat): Handle backslash | |
2671 | as right-hand directory separator. | |
2672 | (resolve_lib_name): Use IS_DIR_SEPARATOR instead of | |
2673 | checking just for slash. | |
2674 | * coverage.c (coverage_init): Use IS_ABSOLUTE_PATH | |
2675 | instead of checking for trailing slash. | |
2676 | * gcc.c (record_temp_file): Use filename_cmp instead | |
2677 | of strcmp. | |
2678 | (do_spec_1): Likewise. | |
2679 | (replace_outfile_spec_function): Likewise. | |
2680 | (is_directory): Use filename_ncmp instead of strncmp. | |
2681 | (print_multilib_info): Likewise. | |
2682 | * gcov.c (find_source): Use filename_cmp instead | |
2683 | instead of strcmp. | |
2684 | (make_gcov_file_name): Fix order of slash/backslash | |
2685 | checks. | |
2686 | * incpath.c (DIRS_EQ): Use filename_cmp instead of strcmp. | |
2687 | (add_standard_paths): Likewise. | |
2688 | * mips-tfile.c (saber_stop): Handle backslash. | |
2689 | * prefix.c (update_path): Use filename_ncmp instead of | |
2690 | strncmp. | |
2691 | * profile.c (output_location): Use filename_cmp instead | |
2692 | of strcmp. | |
2693 | * read-md.c (handle_toplevel_file): Handle backslash. | |
2694 | * tlink.c (frob_extension): Likewise. | |
2695 | * tree-cfg.c (same_line_p): Use filename_cmp instead of | |
2696 | strcmp. | |
2697 | * tree-dump.c (dequeue_and_dump): Handle backslash. | |
2698 | * tree.c (get_file_function_name): Likewise. | |
2699 | * gengtype.c (read_input_list): Likewise. | |
2700 | (get_file_realbasename): Likewise. | |
2701 | (get_output_file_with_visibility): Use filename_cmp | |
2702 | instead of strcmp. | |
2703 | ||
75f6ec9a RS |
2704 | 2011-03-25 Richard Sandiford <richard.sandiford@linaro.org> |
2705 | ||
2706 | * config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Restrict FPA_REGS | |
2707 | case to VFPv1. | |
2708 | ||
6c4e2997 NF |
2709 | 2011-03-25 Nathan Froyd <froydnj@codesourcery.com> |
2710 | ||
2711 | * fold-const.c (expr_location_or): New function. | |
2712 | (fold_truth_not_expr): Call it. | |
2713 | ||
0edf1bb2 JL |
2714 | 2011-03-25 Jeff Law <law@redhat.com> |
2715 | ||
2716 | * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Add missing | |
2717 | va_end. | |
2718 | * c-family/c-common.c (def_fn_type): Likewise. | |
2719 | * ada/gcc-interface/utils.c (def_fn_type): Likewise. | |
2720 | * emit-rtl.c (gen_rtvec): Likewise. | |
2721 | * lto/lto-lang.c (def_fn_type): Likewise. | |
2722 | ||
fdc2de95 RG |
2723 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
2724 | ||
2725 | * tree-ssa-copy.c (stmt_may_generate_copy): Copies from constants | |
2726 | also generate copies. | |
2727 | (fini_copy_prop): Handle constant values properly. | |
2728 | ||
21385db0 JJ |
2729 | 2011-03-25 Jakub Jelinek <jakub@redhat.com> |
2730 | ||
2731 | * dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTRACT>: Compare | |
2732 | mode size instead of bitsize with DWARF2_ADDR_SIZE. | |
2733 | (hash_loc_operands, compare_loc_operands): Handle | |
2734 | DW_OP_GNU_entry_value. | |
2735 | ||
6510e8bb KT |
2736 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
2737 | ||
2738 | * config/i386/cygming.h (DWARF_FRAME_REGISTERS): Adjust comment. | |
2739 | (STACK_BOUNDARY): Check for bit-ness in case of MS_ABI. | |
2740 | * config/i386/i386.c (ix86_conditional_register_usage): Adjust | |
2741 | comment and use macro TARGET_64BIT_MS_ABI instead. | |
2742 | (ix86_keep_aggregate_return_pointer): Optimize for 64-bit case | |
2743 | and change default behavior for 32-bit MS_ABI. | |
2744 | (ix86_reg_parm_stack_space): Check additionally for bit-ness. | |
2745 | (ix86_function_type_abi): Allow check for ms_abi/sysv_abi for | |
2746 | 32-bit, too. | |
2747 | (ix86_cfun_abi): Likewise. | |
2748 | (ix86_maybe_switch_abi): Adjust comment. | |
2749 | (init_cumulative_args): Check for bit-ness in MS_ABI case. | |
2750 | (ix86_gimplify_va_arg): Check just for not TARGET_64BIT_MS_ABI | |
2751 | instead of checking for SYSV_ABI. | |
2752 | (ix86_nsaved_sseregs): Likewise. | |
2753 | (ix86_compute_frame_layout): Set only for 64-bit MS_ABI alignment | |
2754 | to 16 bytes. | |
2755 | (ix86_expand_call): Use TARGET_64BIT_MS_ABI macro. | |
2756 | * config/i386.h (TARGET_32BIT_MS_ABI): New macro. | |
2757 | (ACCUMULATE_OUTGOING_ARGS): Check explicit for 64-bit MS_ABI. | |
2758 | (OUTGOING_REG_PARM_STACK_SPACE): Likewise. | |
2759 | * config/mingw32.h (DEFAULT_ABI): Change default always to MS_ABI. | |
2760 | ||
34019e28 RG |
2761 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
2762 | ||
2763 | * tree-flow.h (verify_stmts): Rename to verify_gimple_in_cfg. | |
2764 | (verify_types_in_gimple_seq): Rename to verify_gimple_in_seq. | |
2765 | (verify_gimple): Remove. | |
2766 | * tree-cfg.c (verify_gimple_call): Merge verification | |
2767 | from verify_stmts. | |
2768 | (verify_gimple_phi): Merge verification from verify_stmts. | |
2769 | (verify_gimple_label): New function. | |
2770 | (verify_types_in_gimple_seq_2): Rename to verify_gimple_in_seq_2. | |
2771 | (verify_types_in_gimple_seq): Rename to verify_gimple_in_seq. | |
2772 | (verify_stmt): Merge into verify_gimple_in_cfg and callees. | |
2773 | (verify_stmts): Rename to verify_gimple_in_cfg. | |
2774 | (verify_gimple_in_cfg): New function. | |
2775 | * passes.c (execute_function_todo): Call verify_gimple_in_cfg. | |
2776 | * tree-ssa.c (verify_ssa): Likewise. | |
2777 | * gimplify.c (gimplify_body): Call verify_gimple_in_seq. | |
2778 | ||
605896f5 RG |
2779 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
2780 | ||
2781 | * passes.c (init_optimization_passes): Add FRE pass after | |
2782 | early SRA. | |
2783 | ||
7baa7c13 BS |
2784 | 2011-03-25 Bernd Schmidt <bernds@codesourcery.com> |
2785 | Andrew Stubbs <ams@codesourcery.com> | |
2786 | ||
2787 | * config/arm/vfp.md (arm_movdi_vfp): Enable only when not tuning | |
2788 | for Cortex-A8. | |
2789 | (arm_movdi_vfp_cortexa8): New pattern. | |
2790 | * config/arm/neon.md (adddi3_neon, subdi3_neon, anddi3_neon, | |
2791 | iordi3_neon, xordi3_neon): Add alternatives to discourage Neon | |
2792 | instructions when tuning for Cortex-A8. Set attribute "arch". | |
2793 | * config/arm/arm.md: Move include arm-tune.md up a bit. | |
2794 | (define_attr "arch"): Add "onlya8" and "nota8" values. | |
2795 | (define_attr "arch_enabled"): Handle "onlya8" and "nota8". | |
2796 | ||
45dbce1b NF |
2797 | 2011-03-25 Nathan Froyd <froydnj@codesourcery.com> |
2798 | ||
4ff08abf | 2799 | PR bootstrap/48282 |
45dbce1b NF |
2800 | Revert: |
2801 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> | |
2802 | ||
2803 | * function.c (instantiate_virtual_regs): Use FOR_EACH_BB and | |
2804 | FOR_BB_INSNS_SAFE to iterate through insns. Re-indent. | |
2805 | (pass_instantiate_virtual_regs): Require PROP_cfglayout. | |
2806 | * passes.c (init_optimization_passes): Move | |
2807 | pass_instantiate_virtual_regs after pass_into_cfg_layout_mode. | |
2808 | ||
ac9a30ae KT |
2809 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
2810 | ||
2811 | * c-typeck.c (comptypes_internal): Replace target | |
2812 | hook call of comp_type_attributes by version in tree.c file. | |
2813 | * gimple.c (gimple_types_compatible_p_1): Likewise. | |
2814 | * tree-ssa.c (useless_type_conversion_p): Likewise. | |
2815 | * tree.c (build_type_attribute_qual_variant): Likewise. | |
2816 | (attribute_value_equal): New static helper function. | |
2817 | (comp_type_attributes): New function. | |
2818 | (merge_attributes): Use attribute_value_equal for comparison. | |
2819 | (attribute_list_contained): Likewise. | |
2820 | * tree.h (comp_type_attributes): New prototype. | |
2821 | ||
afdac116 RG |
2822 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
2823 | ||
2824 | * tree-cfg.c (verify_gimple_assign_unary): Drop special casing | |
2825 | of complex types at -O0. | |
2826 | (verify_gimple_assign_binary): Likewise. | |
2827 | (verify_gimple_assign_ternary): Likewise. | |
2828 | ||
ec6165f8 MW |
2829 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
2830 | ||
2831 | * dwarf2out.c (size_of_die): Modify comment to say DW_FORM_ref_sig8. | |
2832 | (value_format): Use DW_FORM_ref_sig8, not DW_FORM_sig8. | |
2833 | ||
2a5ac39a MW |
2834 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
2835 | ||
2836 | PR debug/48041 | |
2837 | * dwarf2out.c (output_abbrev_section): Only write table when | |
2838 | abbrev_die_table_in_use > 1. | |
2839 | ||
e533b2a4 RH |
2840 | 2011-02-24 Richard Henderson <rth@redhat.com> |
2841 | ||
2842 | * config/alpha/alpha.c (alpha_expand_unaligned_load): Use extql. | |
2843 | (alpha_expand_unaligned_store): Use mskwl, mskll, mskql. | |
2844 | (alpha_expand_unaligned_load_words): Use extql. | |
2845 | (alpha_expand_unaligned_store_words): Use insqh, mskqh, mskql. | |
2846 | (emit_insxl): Handle all modes for consistency. | |
2847 | ||
0b2a7367 RH |
2848 | 2011-02-24 Richard Henderson <rth@redhat.com> |
2849 | ||
2850 | * config/alpha/alpha.c (get_aligned_mem): Don't test WORDS_BIG_ENDIAN. | |
2851 | (alpha_expand_unaligned_load): Likewise. | |
2852 | (alpha_expand_unaligned_store): Likewise. | |
2853 | (alpha_expand_unaligned_load_words): Likewise. | |
2854 | (alpha_expand_unaligned_store_words): Likewise. | |
2855 | (emit_insxl, alpha_split_compare_and_swap_12): Likewise. | |
2856 | (alpha_split_lock_test_and_set_12): Likewise. | |
2857 | (print_operand, alpha_fold_builtin_extxx): Likewise. | |
2858 | (alpha_fold_builtin_insxx, alpha_fold_builtin_mskxx): Likewise. | |
2859 | * config/alpha/alpha.md (bswapsi2, insv, extv, extzv): Likewise. | |
2860 | (builtin_extwh, builtin_extlh, builtin_extql): Likewise. | |
2861 | (unaligned_extendqidi_be, unaligned_extendhidi_be, extxl_be): Remove. | |
2862 | (*extxl_1_be, *extql_2_be, extqh_be, extlh_be, extwh_be): Remove. | |
2863 | (insbl_be, inswl_be, insll_be, insql_be, mskxl_be): Remove. | |
2864 | (unaligned_loadqi_be, unaligned_loadhi_be): Remove. | |
2865 | (unaligned_storeqi_be, unaligned_storehi_be): Remove. | |
2866 | (extbl): Rename from builtin_extbl; don't test WORDS_BIG_ENDIAN. | |
2867 | (extwl, extll, extql): Similarly. | |
2868 | (inswh, inslh, insqh): Similarly. | |
2869 | (mskbl, mskwl, mskll, mskql): Similarly. | |
2870 | (mskwh, msklh, mskqh): Similarly. | |
2871 | ||
315b2bef RH |
2872 | 2011-02-24 Richard Henderson <rth@redhat.com> |
2873 | ||
2874 | * config/alpha/alpha.md (attribute isa): Add er, ner. | |
2875 | (attribute enabled): Handle them. | |
2876 | (*movdi): Merge *movdi_{er_nofix,nofix,er_fix,fix}. | |
2877 | ||
67102517 RH |
2878 | 2011-02-24 Richard Henderson <rth@redhat.com> |
2879 | ||
2880 | * config/alpha/alpha.md (attribute isa): Add vms. | |
2881 | (attribute enabled): Handle it. | |
2882 | (*movsf): Merge *movsf_{nofix,fix,nofp}. | |
2883 | (*movdf): Merge *movdf_{nofix,fix,nofp}. | |
2884 | (*movtf): Rename from *movtf_internal for consistency. | |
2885 | (*movsi): Merge with *movsi_nt_vms. | |
2886 | (*movhi): Merge *movhi_nobwx, *movhi_bwx. | |
2887 | (*movqi): Merge *movqi_nobwx, *movqi_bwx. | |
2888 | (*mov<VEC>): Merge *mov<VEC>_fix, *mov<VEC>_nofix. | |
2889 | * config/alpha/constraint.md ("f"): Use NO_REGS when fpu is disabled. | |
2890 | ||
6aba5cb4 RH |
2891 | 2011-02-24 Richard Henderson <rth@redhat.com> |
2892 | ||
2893 | * config/alpha/alpha.md (extendqihi2): Implement for BWX only. | |
2894 | (extendqisi2, extendhisi2): Likewise. | |
2895 | (extendqidi2): Simplify BWX/non-BWX expansions. | |
2896 | (extendhidi2): Similarly. | |
2897 | ||
bdfb351b RH |
2898 | 2011-02-24 Richard Henderson <rth@redhat.com> |
2899 | ||
2900 | * config/alpha/alpha.md (attribute isa): New. | |
2901 | (attribute enabled): New. | |
2902 | (zero_extendqihi2): Merge from *zero_extendqihi2_{bwx,nobwx}. | |
2903 | (zero_extendqisi2, zero_extendqidi2): Similarly. | |
2904 | (zero_extendhisi2, zero_extendhidi2): Similarly. | |
2905 | * config/alpha/predicates.md (reg_or_bwx_memory_operand): New. | |
2906 | ||
6abe71eb RH |
2907 | 2011-02-24 Richard Henderson <rth@redhat.com> |
2908 | ||
2909 | * config/alpha/predicates.md (input_operand): Revert last change; | |
2910 | update comment to mention 32-bit VMS rather than Windows. | |
2911 | ||
7114321e NF |
2912 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
2913 | ||
2914 | * function.c (instantiate_virtual_regs): Use FOR_EACH_BB and | |
2915 | FOR_BB_INSNS_SAFE to iterate through insns. Re-indent. | |
2916 | (pass_instantiate_virtual_regs): Require PROP_cfglayout. | |
2917 | * passes.c (init_optimization_passes): Move | |
2918 | pass_instantiate_virtual_regs after pass_into_cfg_layout_mode. | |
2919 | ||
c8679567 EB |
2920 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
2921 | ||
2922 | * dojump.c (do_jump_by_parts_greater_rtx): Optimize in specific cases. | |
2923 | ||
27173058 UB |
2924 | 2011-03-24 Uros Bizjak <ubizjak@gmail.com> |
2925 | ||
2926 | * config/i386/i386.md (ix86_print_operand): Output DFmode const_double | |
2927 | correctly. | |
2928 | ||
6f0c9f06 JJ |
2929 | 2011-03-24 Jakub Jelinek <jakub@redhat.com> |
2930 | ||
2931 | PR debug/48204 | |
2932 | * simplify-rtx.c (simplify_const_unary_operation): Call | |
2933 | real_convert when changing mode class with FLOAT_EXTEND. | |
2934 | ||
662666e5 NC |
2935 | 2011-03-24 Nick Clifton <nickc@redhat.com> |
2936 | ||
2937 | * config/rx/rx.h (LABEL_ALIGN_FOR_BARRIER): Define. | |
2938 | (ASM_OUTPUT_MAX_SKIP_ALIGN): Define. | |
2939 | * config/rx/rx.c (rx_option_override): Set align_jumps, | |
2940 | align_loops and align_labels if not set by the user. | |
2941 | (rx_align_for_label): New function. | |
2942 | (rx_max_skip_for_label): New function. | |
2943 | (TARGET_ASM_JUMP_ALIGN_MAX_SKIP): Define. | |
2944 | (TARGET_ASM_LOOP_ALIGN_MAX_SKIP): Define. | |
2945 | (TARGET_ASM_LABEL_ALIGN_MAX_SKIP): Define. | |
2946 | (TARGET_ASM_LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Define. | |
2947 | * config/rx/rx-protos.h (rx_align_for_label): Add prototype. | |
2948 | ||
2b99b2b8 RS |
2949 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
2950 | ||
2951 | PR rtl-optimization/48263 | |
2952 | * optabs.c (expand_binop_directly): Reinstate convert_modes code | |
2953 | and original commutative_p handling. Use maybe_gen_insn. | |
2954 | ||
ccecd6ea AK |
2955 | 2011-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2956 | ||
2957 | * reload.c (find_reloads_subreg_address): Add address_reloaded | |
2958 | parameter and return true there if the full address has been | |
2959 | reloaded. | |
2960 | (find_reloads_toplev): Pass address_reloaded flag. | |
2961 | (find_reloads_address_1): Don't use address_reloaded parameter. | |
2962 | ||
67295642 JL |
2963 | 2011-03-24 Jeff Law <law@redhat.com> |
2964 | ||
2965 | * tree-ssa-live.c (remove_unused_scope_block_p): Remove set but | |
2966 | unused variable "ann". | |
2967 | (remove_unused_locals): Likewise. | |
2968 | ||
2969 | * tree-ssa-copy.c (propagate_tree_value_into_stmt): Remove useless | |
2970 | statement. | |
2971 | ||
2972 | * cfglayout.c (fixup_reorder_chain): Do not dereference E_FALL | |
2973 | after it is freed. | |
2974 | ||
212aa74f AK |
2975 | 2011-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2976 | ||
2977 | * config/s390/s390.c (s390_preferred_reload_class): Return NO_REGS | |
2978 | for invalid symbolic addresses. | |
2979 | (s390_secondary_reload): Don't use s390_check_symref_alignment for | |
2980 | larl operands. | |
2981 | ||
fe784e0d EB |
2982 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
2983 | ||
2984 | * fold-const.c (fold_ternary_loc): Preserve the location (if any) of | |
2985 | the argument in calls to fold_truth_not_expr. | |
2986 | ||
63ee8641 NF |
2987 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
2988 | ||
2989 | * tree.c (record_node_allocation_statistics): New function. | |
2990 | (make_node_stat, copy_node_stat, build_string): Call it. | |
2991 | (make_tree_binfo_stat, make_tree_vec_stat, tree_cons_stat): Likewise. | |
2992 | (build1_stat, build_omp_clause): Likewise. | |
2993 | ||
61be2a1c RS |
2994 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
2995 | ||
2996 | * builtins.c (expand_movstr): Fix endp == 1 adjustment after | |
2997 | last commit. | |
2998 | ||
a881aaa7 RG |
2999 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
3000 | ||
3001 | PR tree-optimization/48271 | |
3002 | * tree-ssa-dom.c (tree_ssa_dominator_optimize): Only cleanup | |
3003 | blocks that still exist. | |
3004 | ||
dbaa912c RG |
3005 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
3006 | ||
3007 | PR tree-optimization/48270 | |
3008 | * tree-ssa-phiopt.c (cond_if_else_store_replacement): Do | |
3009 | not free datarefs before ddrs. | |
3010 | ||
1d60cc55 EB |
3011 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
3012 | ||
3013 | * tree-sra.c (build_ref_for_offset): Strip useless type conversions | |
3014 | from the address built for a reference with variable offset. | |
3015 | ||
c78dd519 UB |
3016 | 2011-03-24 Uros Bizjak <ubizjak@gmail.com> |
3017 | ||
3018 | PR target/48237 | |
3019 | * config/i386/i386.md (*movdf_internal_rex64): Do not split | |
3020 | alternatives that can be handled with movq or movabsq insn. | |
3021 | (*movdf_internal): Disable for !TARGET_64BIT. | |
3022 | (*movdf_internal_nointeger): Ditto. | |
3023 | * config/i386/i386.c (ix86_print_operand): Handle DFmode immediates. | |
3024 | ||
b25b9e8f NF |
3025 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
3026 | ||
3027 | * system.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Poison. | |
3028 | (FUNCTION_ARG_ADVANCE): Likewise. | |
3029 | * tm.texi.in: Change references to them to hook references. | |
3030 | * tm.texi: Regenerate. | |
c78dd519 | 3031 | * targhooks.c (default_function_arg): Eliminate check for target macro. |
b25b9e8f NF |
3032 | (default_function_incoming_arg): Likewise. |
3033 | (default_function_arg_advance): Likewise. | |
c78dd519 | 3034 | * target.def (function_arg, function_incoming_arg): Change to DEFHOOK. |
b25b9e8f NF |
3035 | (function_arg_advance): Likewise. |
3036 | * target-def.h: Eliminate FUNCTION_INCOMING_ARG check. | |
3037 | ||
190b2187 RG |
3038 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
3039 | ||
3040 | PR middle-end/48269 | |
3041 | * tree-object-size.c (addr_object_size): Do not double-account | |
3042 | for MEM_REF offsets. | |
3043 | ||
a183b5c7 DN |
3044 | 2011-03-24 Diego Novillo <dnovillo@google.com> |
3045 | ||
3046 | * lto-opts.c (input_data_block): Move to lto-streamer-in.c. | |
c78dd519 | 3047 | * lto-streamer-in.c (input_string_internal): Add clarifying comments. |
a183b5c7 DN |
3048 | (lto_input_data_block): Move from lto-opts.c. Make extern. |
3049 | Update all users. | |
3050 | (lto_input_string): Rename from input_string. Make extern. | |
3051 | Update all users. | |
3052 | * lto-streamer-out.c (lto_output_string_with_length): Rename from | |
3053 | output_string_with_length. | |
3054 | Output 0 to indicate a non-NULL string. Update all callers to | |
3055 | not emit 0. | |
3056 | (lto_output_string): Rename from output_string. Make extern. | |
3057 | Update all users. | |
3058 | (lto_output_decl_state_streams): Make extern. | |
3059 | (lto_output_decl_state_refs): Make extern. | |
3060 | * lto-streamer.h (lto_input_string): Declare. | |
3061 | (lto_input_data_block): Declare. | |
3062 | (lto_output_string): Declare. | |
3063 | (lto_output_string_with_length): Declare. | |
3064 | (lto_output_decl_state_streams): Declare. | |
3065 | (lto_output_decl_state_refs): Declare. | |
3066 | ||
cfef45c8 RG |
3067 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
3068 | ||
3069 | PR tree-optimization/46562 | |
3070 | * tree.c (build_invariant_address): New function. | |
3071 | * tree.h (build_invariant_address): Declare. | |
3072 | * tree-dfa.c (get_addr_base_and_unit_offset): Wrap around | |
3073 | a renamed function moved ... | |
3074 | * tree-flow-inline.h (get_addr_base_and_unit_offset_1): ... here. | |
3075 | Take valueization callback parameter. | |
3076 | * tree-flow.h (gimple_fold_stmt_to_constant): Declare. | |
3077 | * gimple-fold.h: New file. | |
3078 | * tree-ssa-ccp.c (ccp_fold): Use gimple_fold_stmt_to_constant_1. | |
3079 | (ccp_fold, fold_const_aggregate_ref, | |
3080 | fold_ctor_reference, fold_nonarray_ctor_reference, | |
3081 | fold_array_ctor_reference, fold_string_cst_ctor_reference, | |
3082 | get_base_constructor): Move ... | |
3083 | * gimple-fold.c: ... here. | |
3084 | (gimple_fold_stmt_to_constant_1): New function | |
3085 | split out from ccp_fold. Take a valueization callback parameter. | |
3086 | Valueize all operands. | |
3087 | (gimple_fold_stmt_to_constant): New wrapper function. | |
3088 | (fold_const_aggregate_ref_1): New function split out from | |
3089 | fold_const_aggregate_ref. Take a valueization callback parameter. | |
3090 | (fold_const_aggregate_ref): Wrap fold_const_aggregate_ref_1. | |
3091 | * tree-ssa-sccvn.c (simplify_binary_expression): Simplify | |
3092 | invariant POINTER_PLUS_EXPRs to invariant form. | |
3093 | (vn_valueize): New function. | |
3094 | (try_to_simplify): Simplify by using gimple_fold_stmt_to_constant. | |
3095 | * tree-vrp.c (vrp_valueize): New function. | |
3096 | (vrp_visit_assignment_or_call): Use gimple_fold_stmt_to_constant | |
3097 | to fold statements to constants. | |
3098 | * tree-ssa-pre.c (eliminate): Properly guard propagation of | |
3099 | function declarations. | |
3100 | * Makefile.in (tree-ssa-sccvn.o, tree-vrp.o, gimple-fold.o, | |
3101 | tree-ssa-ccp.o): Add gimple-fold.h dependencies. | |
3102 | ||
5e0a7e40 RS |
3103 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
3104 | ||
3105 | * config/h8300/predicates.md (jump_address_operand): Fix register | |
3106 | mode check. | |
3107 | ||
bfe068c3 IR |
3108 | 2011-03-24 Ira Rosen <ira.rosen@linaro.org> |
3109 | ||
3110 | * doc/invoke.texi (max-stores-to-sink): Document. | |
3111 | * params.h (MAX_STORES_TO_SINK): Define. | |
3112 | * opts.c (finish_options): Set MAX_STORES_TO_SINK to 0 | |
3113 | if either vectorization or if-conversion is disabled. | |
3114 | * tree-data-ref.c (dr_equal_offsets_p1): Moved and renamed from | |
3115 | tree-vect-data-refs.c vect_equal_offsets. | |
3116 | (dr_equal_offsets_p): New function. | |
3117 | (find_data_references_in_bb): Remove static. | |
3118 | * tree-data-ref.h (find_data_references_in_bb): Declare. | |
3119 | (dr_equal_offsets_p): Likewise. | |
3120 | * tree-vect-data-refs.c (vect_equal_offsets): Move to tree-data-ref.c. | |
3121 | (vect_drs_dependent_in_basic_block): Update calls to | |
3122 | vect_equal_offsets. | |
3123 | (vect_check_interleaving): Likewise. | |
3124 | * tree-ssa-phiopt.c: Include cfgloop.h and tree-data-ref.h. | |
3125 | (cond_if_else_store_replacement): Rename to... | |
3126 | (cond_if_else_store_replacement_1): ... this. Change arguments and | |
3127 | documentation. | |
3128 | (cond_if_else_store_replacement): New function. | |
3129 | * Makefile.in (tree-ssa-phiopt.o): Adjust dependencies. | |
3130 | * params.def (PARAM_MAX_STORES_TO_SINK): Define. | |
3131 | ||
4908b0bf CLT |
3132 | 2011-03-23 Chung-Lin Tang <cltang@codesourcery.com> |
3133 | ||
3134 | PR target/46934 | |
3135 | * config/arm/arm.md (casesi): Use the gen_int_mode() function | |
3136 | to subtract lower bound instead of GEN_INT(). | |
3137 | ||
2be478a2 JW |
3138 | 2011-03-23 Jonathan Wakely <jwakely.gcc@gmail.com> |
3139 | ||
3140 | PR other/48179 | |
3141 | PR other/48221 | |
3142 | PR other/48234 | |
3143 | * doc/extend.texi (Alignment): Move section to match order in TOC. | |
3144 | * doc/invoke.texi (i386 and x86-64 Windows Options): Likewise. | |
3145 | (Warning Options): Adjust -Wno-cpp summary and remove stray backslash. | |
3146 | ||
0c617be4 JL |
3147 | 2011-03-23 Jeff Law <law@redhat.com> |
3148 | ||
3149 | * cfg.c (redirect_edge_succ_nodup): Duplicate the varm map | |
3150 | before removing the edge. | |
3151 | ||
3152 | * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Do not use E after | |
3153 | it may have been freed by redirect_branch_edge or | |
3154 | redirect_edge_succ_nodup. | |
3155 | ||
58da96fe RG |
3156 | 2011-03-23 Richard Guenther <rguenther@suse.de> |
3157 | ||
c78dd519 | 3158 | * tree-stdarg.c (va_list_counter_bump): Handle bumps via MEM_REF. |
58da96fe RG |
3159 | (check_va_list_escapes): Likewise. |
3160 | (check_all_va_list_escapes): Likewise. | |
3161 | ||
b8beb4d1 RG |
3162 | 2011-03-23 Richard Guenther <rguenther@suse.de> |
3163 | ||
3164 | * Makefile.in (IPA_TYPE_ESCAPE_H): Remove. | |
3165 | (OBJS-archive): Remove ipa-struct-reorg.o and ipa-type-escape.o. | |
3166 | (tree-ssa-alias.o): Do not depend on IPA_TYPE_ESCAPE_H. | |
3167 | (alias.o): Likewise. | |
3168 | (ipa-type-escape.o): Remove. | |
3169 | (ipa-struct-reorg.o): Likewise. | |
3170 | (GTFILES): Remove ipa-struct-reorg.c. | |
3171 | * alias.c: Do not include ipa-type-escape.h. | |
3172 | * tree-ssa-alias.c: Likewise. | |
3173 | * common.opt (fipa-struct-reorg): Preserve for backward compatibility. | |
3174 | * opts.c (finish_options): Do not reset flag_ipa_struct_reorg. | |
3175 | * passes.c (init_optimization_passes): Remove ipa-struct-reorg | |
3176 | and ipa-type-escape passes. | |
3177 | * tree-pass.h (pass_ipa_type_escape): Remove. | |
3178 | (pass_ipa_struct_reorg): Likewise. | |
3179 | * ipa-struct-reorg.h: Remove. | |
3180 | * ipa-struct-reorg.c: Likewise. | |
3181 | * ipa-type-escape.h: Likewise. | |
3182 | * ipa-type-escape.c: Likewise. | |
3183 | * doc/invoke.texi (-fipa-struct-reorg): Remove. | |
3184 | (--param struct-reorg-cold-struct-ratio): Likewise. | |
3185 | * params.def (PARAM_STRUCT_REORG_COLD_STRUCT_RATIO): Likewise. | |
3186 | * params.h (STRUCT_REORG_COLD_STRUCT_RATIO): Likewise. | |
3187 | * timevar.def (TV_IPA_TYPE_ESCAPE): Likewise. | |
3188 | ||
f137aa63 AK |
3189 | 2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
3190 | ||
3191 | * config/s390/2084.md: Enable all insn reservations also for z9_ec | |
3192 | cpu attribute value. | |
3193 | * config/s390/s390-opts.h (enum s390_arch_option): Remove. | |
3194 | (enum processor_type): Add PROCESSOR_2094_Z9_EC. | |
3195 | * config/s390/s390.c (processor_flags_table): New constant array. | |
3196 | (s390_handle_arch_option): Remove. | |
3197 | (s390_handle_option): Remove s390_handle_arch_option invocations | |
3198 | and OPT_mwarn_framesize_ handling. | |
3199 | (s390_option_override): Remove s390_handle_arch_option invocation. | |
3200 | (s390_emit_prologue): Remove use of HOST_WIDE_INT_PRINT_DEC in | |
3201 | warnings. | |
3202 | * config/s390/s390.md (cpu attribute): Add z9_ec value. | |
3203 | * config/s390/s390.opt (s390_tune, s390_arch) | |
3204 | (march=): Replace s390_arch_option enum and values with | |
3205 | processor_type. Set variable name to s390_arch. Set | |
3206 | initialization value. | |
3207 | (mtune=): Replace s390_arch_option with processor_type. Set | |
3208 | variable name to s390_tune. Set initialization value. | |
3209 | ||
bf90208f JB |
3210 | 2011-03-23 Julian Brown <julian@codesourcery.com> |
3211 | ||
3212 | * expr.c (expand_expr_real_1): Only use BLKmode for volatile | |
3213 | accesses which are not naturally aligned. | |
3214 | ||
3460fdf3 RS |
3215 | 2011-03-23 Richard Sandiford <richard.sandiford@linaro.org> |
3216 | ||
3217 | PR target/47553 | |
3218 | * config/arm/predicates.md (neon_lane_number): Accept 0..15. | |
3219 | ||
a5c7d693 RS |
3220 | 2011-03-23 Richard Sandiford <richard.sandiford@linaro.org> |
3221 | ||
3222 | * optabs.h (emit_unop_insn, maybe_emit_unop_insn): Change insn code | |
3223 | parameter from "int" to "enum insn_code". | |
3224 | (expand_operand_type): New enum. | |
3225 | (expand_operand): New structure. | |
3226 | (create_expand_operand): New function. | |
3227 | (create_fixed_operand, create_output_operand): Likewise | |
3228 | (create_input_operand, create_convert_operand_to): Likewise. | |
3229 | (create_convert_operand_from, create_address_operand): Likewise. | |
3230 | (create_integer_operand): Likewise. | |
3231 | (create_convert_operand_from_type, maybe_legitimize_operands): Declare. | |
3232 | (maybe_gen_insn, maybe_expand_insn, maybe_expand_jump_insn): Likewise. | |
3233 | (expand_insn, expand_jump_insn): Likewise. | |
3234 | * builtins.c (expand_builtin_prefetch): Use the new interfaces. | |
3235 | (expand_builtin_interclass_mathfn, expand_builtin_strlen): Likewise. | |
3236 | (expand_movstr, expand_builtin___clear_cache): Likewise. | |
3237 | (expand_builtin_lock_release): Likewise. | |
3238 | * explow.c (allocate_dynamic_stack_space): Likewise. | |
3239 | (probe_stack_range): Likewise. Allow check_stack to FAIL, | |
3240 | and use the default handling in that case. | |
3241 | * expmed.c (check_predicate_volatile_ok): Delete. | |
3242 | (store_bit_field_1, extract_bit_field_1): Use the new interfaces. | |
3243 | (emit_cstore): Likewise. | |
3244 | * expr.c (emit_block_move_via_movmem): Likewise. | |
3245 | (set_storage_via_setmem, expand_assignment): Likewise. | |
3246 | (emit_storent_insn, try_casesi): Likewise. | |
3247 | (emit_single_push_insn): Likewise. Allow the expansion to fail. | |
3248 | * optabs.c (expand_widen_pattern_expr, expand_ternary_op): Likewise. | |
3249 | (expand_vec_shift_expr, expand_binop_directly): Likewise. | |
3250 | (expand_twoval_unop, expand_twoval_binop): Likewise. | |
3251 | (expand_unop_direct, emit_indirect_jump): Likewise. | |
3252 | (emit_conditional_move, vector_compare_rtx): Likewise. | |
3253 | (expand_vec_cond_expr, expand_val_compare_and_swap_1): Likewise. | |
3254 | (expand_sync_operation, expand_sync_fetch_operation): Likewise. | |
3255 | (expand_sync_lock_test_and_set): Likewise. | |
3256 | (maybe_emit_unop_insn): Likewise. Change icode to an insn_code. | |
3257 | (emit_unop_insn): Likewise. | |
3258 | (expand_copysign_absneg): Change icode to an insn_code. | |
3259 | (create_convert_operand_from_type): New function. | |
3260 | (maybe_legitimize_operand, maybe_legitimize_operands): Likewise. | |
3261 | (maybe_gen_insn, maybe_expand_insn, maybe_expand_jump_insn): Likewise. | |
3262 | (expand_insn, expand_jump_insn): Likewise. | |
3263 | * config/i386/i386.md (setmem<mode>): Use nonmemory_operand rather | |
3264 | than const_int_operand for operand 2. | |
3265 | ||
78fadbab AK |
3266 | 2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
3267 | ||
3268 | * dwarf2out.c (const_ok_for_output_1): Print the unspec enum name | |
3269 | if possible. | |
3270 | ||
5f02387d NF |
3271 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
3272 | ||
3273 | * emit-rtl.c (emit_pattern_before_noloc): New function. | |
3274 | (emit_insn_before_noloc, emit_jump_insn_before_noloc): Call it. | |
3275 | (emit_call_insn_before_noloc, emit_debug_insn_before_noloc): Likewise. | |
3276 | (emit_pattern_after_noloc): New function. | |
3277 | (emit_insn_after_noloc, emit_jump_insn_after_noloc): Call it. | |
3278 | (emit_call_insn_after_noloc, emit_debug_insn_after_noloc): Likewise. | |
3279 | ||
fdf3e18a NF |
3280 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
3281 | ||
3282 | * libgcc2.c (__lshrdi3, __ashldi3, __ashrdi3): Use W_TYPE_SIZE. | |
3283 | (__ffsDI2): Likewise. | |
3284 | ||
42d085c1 RH |
3285 | 2011-03-22 Richard Henderson <rth@redhat.com> |
3286 | ||
3287 | * config/alpha/alpha.c (direct_return): Use TARGET_ABI_OSF instead | |
3288 | of !TARGET_ABI_OPEN_VMS. | |
3289 | (alpha_trampoline_init, alpha_start_function): Likewise. | |
3290 | (alpha_expand_epilogue, alpha_file_start): Likewise. | |
3291 | * config/alpha/alpha.md (divsi3, modsi3): Likewise. | |
3292 | (udivsi3, umodsi3, divdi3, moddi3, udivdi3, umoddi3): Likewise. | |
3293 | (*divmodsi_internal_er, *divmodsi_internal_er_1): Likewise. | |
3294 | (*divmodsi_internal, *divmoddi_internal_er): Likewise. | |
3295 | (*divmoddi_internal_er_1, *divmoddi_internal): Likewise. | |
3296 | ||
cabbe12a JM |
3297 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3298 | ||
3299 | * config/s390/s390-opts.h: New. | |
3300 | * config/s390/s390.c (s390_tune, s390_tune_flags, s390_arch, | |
3301 | s390_arch_flags, s390_warn_framesize, s390_stack_size, | |
3302 | s390_stack_guard): Remove. | |
3303 | (s390_handle_arch_option): Return void. Take enum | |
3304 | s390_arch_option value instead of string and searching array. | |
3305 | (s390_handle_option): Don't assert that global structures are in | |
3306 | use. Access variables via opts pointer. Use error_at. Don't use | |
3307 | sscanf for -mstack-guard= or -mstack-size=. Update call to | |
3308 | s390_handle_arch_option. | |
3309 | (s390_option_override): Update call to s390_handle_arch_option. | |
3310 | (s390_emit_prologue): Use %d format for s390_stack_size in | |
3311 | diagnostic. Use %wd for HOST_WIDE_INT. | |
3312 | * config/s390/s390.h (enum processor_type): Move to s390-opts.h. | |
3313 | (s390_tune, s390_tune_flags, s390_arch, s390_arch_flags): Remove. | |
3314 | * config/s390/s390.opt (config/s390/s390-opts.h): New | |
3315 | HeaderInclude entry. | |
3316 | (s390_arch_string, s390_tune, s390_tune_flags, s390_arch, | |
3317 | s390_arch_flags, s390_warn_framesize): New Variable entries. | |
3318 | (s390_arch_option): New Enum and EnumValue entries. | |
3319 | (march=): Use Enum instead of Var. | |
3320 | (mstack-guard=, mstack-size=): Use UInteger and Var. | |
3321 | (mtune=): Use Enum. | |
3322 | ||
05b12036 JM |
3323 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3324 | ||
3325 | * config/score/score.c (score_handle_option): Don't assert that | |
3326 | global structures are in use. Access target_flags via opts | |
3327 | pointer. Use value of -march= option to determine target_flags | |
3328 | settings. | |
3329 | * config/score/score.opt (march=): Use Enum. | |
3330 | (score_arch): New Enum and EnumValue entries. | |
3331 | ||
dd51e35a JM |
3332 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3333 | ||
3334 | * config/mep/mep.c (option_mtiny_specified): Remove. | |
3335 | (mep_option_override): Move register handling for -mivc2 from | |
3336 | mep_handle_option. Use global_options_set.x_mep_tiny_cutoff | |
3337 | instead of option_mtiny_specified. | |
3338 | (mep_handle_option): Access target_flags via opts pointer. Don't | |
3339 | assert that global structures are in use. Defer part of -mivc2 | |
3340 | handling and move it to mep_option_override. | |
3341 | * config/mep/mep.opt (IVC2): New Mask entry. | |
3342 | (mivc2): Use Var and Defer instead of Mask. | |
3343 | ||
4a8d3d91 JM |
3344 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3345 | ||
3346 | * config/v850/v850-opts.h: New. | |
3347 | * config/v850/v850.c (small_memory): Replace with | |
3348 | small_memory_physical_max array. Make that array static const. | |
3349 | (v850_handle_memory_option): Take integer value of argument. Take | |
3350 | gcc_options pointer, option text and location. Return void. | |
3351 | Update for changes to small memory structures. | |
3352 | (v850_handle_option): Access target_flags via opts pointer. Don't | |
3353 | assert that global structures are in use. Update calls to | |
3354 | v850_handle_memory_option. | |
c78dd519 UB |
3355 | (v850_encode_data_area): Update references to small memory settings. |
3356 | * config/v850/v850.h (struct small_memory_info, small_memory): Remove. | |
4a8d3d91 JM |
3357 | (enum small_memory_type): Move to v850-opts.h. |
3358 | * config/v850/v850.opt (config/v850/v850-opts.h): New | |
3359 | HeaderInclude entry. | |
3360 | (small_memory_max): New Variable entry. | |
3361 | (msda): Replace by pair of options msda= and msda-. Use UInteger. | |
3362 | (mtda, mzda): Likewise. | |
3363 | ||
117fdbfa JM |
3364 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3365 | ||
3366 | * config/sh/sh.c (sh_handle_option): Access target_flags via opts | |
3367 | pointer. Don't assert that global structures are in use. | |
3368 | ||
d715091c JM |
3369 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3370 | ||
3371 | * config/pdp11/pdp11.c (pdp11_handle_option): Access target_flags | |
3372 | via opts pointer. Don't assert that global structures are in use. | |
3373 | ||
1bb721dc JM |
3374 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3375 | ||
3376 | * config/pa/pa-hpux.opt (flag_pa_unix): New Variable entry. | |
3377 | (munix=93): Use Var. | |
3378 | * config/pa/pa-hpux1010.opt (munix=95): Use Var. | |
3379 | * config/pa/pa-hpux1111.opt (munix=98): Use Var. | |
3380 | * config/pa/pa-opts.h: New. | |
3381 | * config/pa/pa.c (pa_cpu, flag_pa_unix): Remove. | |
3382 | (pa_handle_option): Don't assert that global structures are in | |
3383 | use. Access target_flags via opts pointer. Don't handle | |
3384 | OPT_mschedule_, OPT_mfixed_range_, OPT_munix_93, OPT_munix_95 or | |
3385 | OPT_munix_98 here. | |
3386 | (pa_option_override): Handle deferred OPT_mfixed_range_. | |
3387 | ||
cd8d8754 JM |
3388 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3389 | ||
3390 | * config/mn10300/mn10300-opts.h: New. | |
3391 | * config/mn10300/mn10300.c (mn10300_processor, | |
3392 | mn10300_tune_string): Remove. | |
3393 | (mn10300_handle_option): Don't assert that global structures are | |
3394 | in use. Access mn10300_processor via opts pointer. Don't handle | |
3395 | OPT_mtune_ here. | |
3396 | * config/mn10300/mn10300.h (enum processor_type): Move to | |
3397 | mn10300-opts.h. | |
3398 | (mn10300_processor): Remove. | |
3399 | * config/mn10300/mn10300.opt (config/mn10300/mn10300-opts.h): New | |
3400 | HeaderInclude entry. | |
3401 | (mn10300_processor): New Variable entry. | |
3402 | (mtune=): Use Var. | |
3403 | ||
24e6e6b1 JM |
3404 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3405 | ||
3406 | * config/microblaze/microblaze.c: Don't include opts.h. | |
3407 | (microblaze_handle_option, TARGET_HANDLE_OPTION): Remove. | |
3408 | * config/microblaze/microblaze.opt (mxl-stack-check): Use Warn. | |
3409 | (mno-clearbss): Use Var and Warn. | |
3410 | ||
8a784afb JM |
3411 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3412 | ||
3413 | * config/m32r/m32r-opts.h: New. | |
3414 | * config/m32r/m32r.c (m32r_model, m32r_sdata): Remove. | |
3415 | (m32r_handle_option): Don't assert that global structures are in | |
3416 | use. Access target_flags and m32r_cache_flush_func via opts | |
3417 | pointer. Don't handle OPT_mmodel_, OPT_msdata_ or | |
3418 | OPT_mno_flush_trap here. | |
3419 | * config/m32r/m32r.h (Code Models, Small Data Area): Replace by | |
3420 | include of m32r-opts.h. | |
3421 | * config/m32r/m32r.opt (config/m32r/m32r-opts.h): New | |
3422 | HeaderInclude entry. | |
3423 | (m32r_model_selected, m32r_sdata_selected): New Variable entries. | |
3424 | (mmodel=): Use Enum and Var. | |
3425 | (m32r_model): New Enum and EnumValue entries. | |
3426 | (mno-flush-trap): Use Var. | |
3427 | (msdata=): Use Enum and Var. | |
3428 | (m32r_sdata): New Enum and EnumValue entries. | |
3429 | ||
bbfc9a8c JM |
3430 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3431 | ||
3432 | * config/m32c/m32c.c: Don't include opts.h. | |
3433 | (target_memregs, target_memregs_set, TARGET_HANDLE_OPTION, | |
3434 | m32c_handle_option): Remove. | |
3435 | (m32c_option_override): Check global_options_set.x_target_memregs | |
3436 | instead of target_memregs_set. | |
3437 | * config/m32c/m32c.h (target_memregs): Remove. | |
3438 | * config/m32c/m32c.opt (memregs=): Use UInteger with integer | |
3439 | variable. | |
3440 | ||
e24b8335 JM |
3441 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3442 | ||
3443 | * config/iq2000/iq2000-opts.h: New. | |
3444 | * config/iq2000/iq2000.c: Don't include opts.h. | |
3445 | (iq2000_tune, iq2000_handle_option, TARGET_HANDLE_OPTION): Remove. | |
c78dd519 | 3446 | * config/iq2000/iq2000.h (enum processor_type, iq2000_tune): Remove. |
e24b8335 JM |
3447 | * config/iq2000/iq2000.opt (config/iq2000/iq2000-opts.h): New |
3448 | HeaderInclude entry. | |
3449 | (iq2000_tune): New Variable entry. | |
3450 | (march=): Add comment. Use Enum. | |
3451 | (iq2000_arch): New Enum and EnumValue entries. | |
3452 | (mcpu=): Use Enum and Var. | |
3453 | (iq2000_tune): New Enum and EnumValue entries. | |
3454 | ||
e6cc0c98 JM |
3455 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3456 | ||
3457 | * config/ia64/ia64-opts.h: New. | |
3458 | * config/ia64/ia64.c (ia64_tune): Remove. | |
3459 | (ia64_handle_option): Don't handle OPT_mfixed_range_ or OPT_mtune_ | |
3460 | here. Use error_at. | |
3461 | (ia64_option_override): Handle deferred OPT_mfixed_range_. | |
3462 | * config/ia64/ia64.h (enum processor_type, ia64_tune): Remove. | |
3463 | * config/ia64/ia64.opt (config/ia64/ia64-opts.h): New | |
3464 | HeaderInclude entry. | |
3465 | (ia64_tune): New Variable entry. | |
3466 | (mfixed-range=): Use Defer and Var. | |
3467 | (mtune=): Use Enum and Var. | |
3468 | (ia64_tune): New Enum and EnumValue entries. | |
3469 | ||
db25893c JM |
3470 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3471 | ||
3472 | * config/frv/frv-opts.h: New. | |
3473 | * config/frv/frv-protos.h (enum frv_cpu, frv_cpu_t): Move to | |
3474 | frv-opts.h. | |
3475 | (frv_cpu_type): Remove. | |
3476 | * config/frv/frv.c: Don't include opts.h. | |
3477 | (frv_cpu_type, frv_handle_option, TARGET_HANDLE_OPTION): Remove. | |
c78dd519 | 3478 | * config/frv/frv.opt (config/frv/frv-opts.h): New HeaderInclude entry. |
db25893c JM |
3479 | (frv_cpu_type): New Variable entry. |
3480 | (frv_cpu): New Enum and EnumValue entries. | |
3481 | ||
6c223f5d JM |
3482 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3483 | ||
3484 | * config/cris/cris.c (cris_handle_option): Access target_flags via | |
3485 | opts pointer. Don't assert that global structures are in use. | |
3486 | Don't call CRIS_SUBTARGET_HANDLE_OPTION. | |
3487 | * config/cris/cris.h (CRIS_SUBTARGET_HANDLE_OPTION): Don't define. | |
3488 | ||
bbd399cf JM |
3489 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3490 | ||
3491 | * config/bfin/bfin-opts.h: New. | |
3492 | * config/bfin/bfin.c (bfin_lib_id_given, bfin_cpu_type, | |
3493 | bfin_si_revision, bfin_workarounds): Remove. | |
3494 | (bfin_cpus): Make static const. | |
3495 | (bfin_load_pic_reg): Check global_options_set.x_bfin_library_id | |
3496 | not bfin_lib_id_given. | |
3497 | (bfin_handle_option): Don't set bfin_lib_id_given. Access | |
3498 | bfin_cpu_type, bfin_si_revision and bfin_workarounds via opts | |
c78dd519 | 3499 | pointer. Use error_at. Don't assert that global structures are in use. |
bbd399cf JM |
3500 | * config/bfin/bfin.h: Include bfin-opts.h. |
3501 | (enum bfin_cpu_type, bfin_cpu_t): Move to bfin-opts.h. | |
3502 | (bfin_cpu_type, bfin_si_revision, bfin_workarounds): Remove. | |
3503 | * bfin.opt (config/bfin/bfin-opts.h): New HeaderInclude entry. | |
3504 | (bfin_cpu_type, bfin_si_revision, bfin_workarounds): New Variable | |
3505 | entries. | |
3506 | ||
5e1b4d5a JM |
3507 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3508 | ||
3509 | * config/arm/arm.opt (mhard-float, msoft-float): Use Alias. | |
3510 | * config/arm/arm.c (arm_handle_option): Don't handle -mhard-float | |
3511 | or -msoft-float here. | |
3512 | * config/arm/arm.h (CPP_SPEC): Handle -mfloat-abi=*, not | |
3513 | -msoft-float and -mhard-float. | |
c78dd519 | 3514 | (OPTION_DEFAULT_SPECS): Don't handle -mhard-float and -msoft-float. |
5e1b4d5a JM |
3515 | * config/arm/coff.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not |
3516 | msoft-float. | |
3517 | * config/arm/elf.h (ASM_SPEC): Don't handle -mhard-float and | |
3518 | -msoft-float. | |
3519 | (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not msoft-float. | |
3520 | * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Use mfloat-abi=hard, | |
3521 | not mhard-float. | |
3522 | (LIBGCC_SPEC): Don't handle -msoft-float. | |
3523 | * config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Don't handle | |
3524 | -mhard-float. | |
3525 | * config/arm/pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not | |
3526 | msoft-float. | |
3527 | * config/arm/rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Handle | |
3528 | -mfloat-abi=*, not -msoft-float and -mhard-float. | |
3529 | * config/arm/semi.h((ASM_SPEC): Don't handle -mhard-float and | |
3530 | -msoft-float. | |
3531 | * config/arm/t-arm-elf (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): | |
3532 | Use mfloat-abi=hard and mfloat-abi=soft in comments, not | |
3533 | mhard-float and msoft-float. | |
3534 | * config/arm/t-linux (MULTILIB_OPTIONS): Use mfloat-abi=hard and | |
3535 | mfloat-abi=soft in comments, not mhard-float and msoft-float. | |
3536 | * config/arm/t-rtems (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use | |
3537 | mfloat-abi=soft and mfloat-abi=hard, not msoft-float and | |
3538 | mhard-float. | |
3539 | * config/arm/t-strongarm-elf (MULTILIB_OPTIONS): Use | |
3540 | mfloat-abi=hard and mfloat-abi=soft, not mhard-float and | |
3541 | msoft-float. | |
3542 | * config/arm/t-wince-pe (MULTILIB_OPTIONS): Use mfloat-abi=hard, | |
3543 | not mhard-float. | |
3544 | * config/arm/wince-pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, | |
3545 | not msoft-float. | |
3546 | ||
800d1de1 RH |
3547 | 2011-03-22 Richard Henderson <rth@redhat.com> |
3548 | ||
3549 | * config/alpha/alpha.c (alpha_expand_prologue): Don't test | |
3550 | TARGET_ABI_WINDOWS_NT. | |
3551 | (alpha_output_function_end_prologue): Likewise. | |
3552 | * config/alpha/alpha.h (TARGET_ABI_OSF): Likewise. | |
3553 | (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
3554 | * config/alpha/alpha.md (call, call_value, tablejump): Likewise. | |
3555 | (trap, *movsi_nt_vms): Likewise. | |
3556 | (call_nt, call_value_nt, *call_nt_1, *call_value_nt_1): Remove. | |
3557 | (*tablejump_osf_nt_internal): Remove. | |
3558 | * config/alpha/predicates.md (input_operand): Only test Pmode. | |
3559 | ||
c59ddd2b JM |
3560 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3561 | ||
3562 | * config/alpha/alpha.c (alpha_handle_option): Access target_flags | |
3563 | via opts pointer. Use error_at. Don't assert that global | |
3564 | structures are in use. | |
3565 | ||
1333f97f JM |
3566 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3567 | ||
3568 | * config/i386/i386.c (ix86_isa_flags_explicit): Remove. | |
3569 | (ix86_handle_option): Access ix86_isa_flags and | |
3570 | ix86_isa_flags_explicit via opts pointer. Don't assert that | |
3571 | global structures are in use. | |
3572 | (ix86_function_specific_save, ix86_function_specific_restore): | |
3573 | Update ix86_isa_flags_explicit field name. | |
c78dd519 | 3574 | * config/i386/i386.opt (ix86_isa_flags_explicit): New Variable entry. |
1333f97f JM |
3575 | (ix86_isa_flags_explicit): Rename TargetSave entry to |
3576 | x_ix86_isa_flags_explicit. | |
3577 | ||
75db85d8 RH |
3578 | 2011-03-22 Richard Henderson <rth@redhat.com> |
3579 | ||
3580 | * config/alpha/alpha.c (NUM_ARGS): Don't test TARGET_ABI_UNICOSMK. | |
3581 | (alpha_option_override, direct_return): Likewise. | |
3582 | (alpha_arg_partial_bytes, alpha_setup_incoming_varargs): Likewise. | |
3583 | (alpha_va_start, alpha_gimplify_va_arg, alpha_sa_mask): Likewise. | |
3584 | (alpha_sa_size, compute_frame_size, alpha_expand_prologue): Likewise. | |
3585 | (alpha_start_function, alpha_output_function_end_prologue): Likewise. | |
3586 | (alpha_expand_epilogue, alpha_end_function): Likewise. | |
3587 | (alpha_init_libfuncs): Likewise. | |
3588 | (struct machine_function): Remove unicosmk members. | |
3589 | (print_operand) ['t']: Remove. | |
3590 | (unicosmk_must_pass_in_stack, unicosmk_initial_elimination_offset, | |
3591 | unicosmk_output_module_name, unicosmk_output_common, | |
3592 | current_section_align, unicosmk_output_text_section_asm_op, | |
3593 | unicosmk_output_data_section_asm_op, unicosmk_init_sections, | |
3594 | unicosmk_section_type_flags, unicosmk_unique_section, | |
3595 | unicosmk_asm_named_section, unicosmk_insert_attributes, | |
3596 | unicosmk_output_align, unicosmk_defer_case_vector, | |
3597 | unicosmk_output_addr_vec, unicosmk_output_deferred_case_vectors, | |
3598 | SSIB_PREFIX, SSIB_PREFIX_LEN, unicosmk_ssib_name, unicosmk_gen_dsib, | |
3599 | unicosmk_output_ssib, unicosmk_add_call_info_word, | |
3600 | unicosmk_extern_head, unicosmk_output_default_externs, | |
3601 | unicosmk_output_externs, unicosmk_add_extern, unicosmk_dex_list, | |
3602 | unicosmk_dex_count, unicosmk_special_name, unicosmk_need_dex, | |
3603 | unicosmk_output_dex, unicosmk_file_start, unicosmk_file_end): Remove. | |
3604 | * config/alpha/alpha-protos.h: Update. | |
3605 | * config/alpha/alpha.h (TARGET_ABI_OSF): Don't test TARGET_ABI_UNICOSMK. | |
3606 | * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM): Remove. | |
3607 | (UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): Remove. | |
3608 | (mulsi3): Don't test TARGET_ABI_UNICOSMK. | |
3609 | (*mulsi_se, mulvsi3): Likewise. | |
3610 | (divsi3, udivsi3, modsi3, umodsi3, divdi3, udivdi3): Likewise. | |
3611 | (*divmodsi_internal, call, call_value, realign): Likewise. | |
3612 | (moddi3, umoddi3): Likewise; remove duplicate expander. | |
3613 | (moddi3_umk, umoddi3_umk, call_umk, call_value_umk): Remove. | |
3614 | (*call_umk_1, *movsi, umk_laum, umk_lalm, *umk_load_ciw): Remove. | |
3615 | (*movdi_nofix): Remove r/U alternative. | |
3616 | (umk_mismatch_args, arg_home_umk, *call_value_umk): Remove. | |
3617 | * config/alpha/constraints.md ("U"): Remove. | |
3618 | * config/alpha/predicates.md (call_operand"): Don't test | |
3619 | TARGET_ABI_UNICOSMK. | |
3620 | ||
96e45421 JM |
3621 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3622 | ||
3623 | * target.def (handle_option): Take gcc_options and | |
3624 | cl_decoded_option pointers and location_t. | |
3625 | * doc/tm.texi.in (TARGET_HANDLE_OPTION): Update documentation. | |
3626 | * doc/tm.texi: Regenerate. | |
3627 | * hooks.c (hook_bool_size_t_constcharptr_int_true): Remove. | |
3628 | * hooks.h (hook_bool_size_t_constcharptr_int_true): Don't declare. | |
3629 | * lto-opts.c (lto_reissue_options): Generate option structure for | |
3630 | targetm.handle_option call. | |
3631 | * opts.c (target_handle_option): Update call to | |
3632 | targetm.handle_option. Remove assertions about values now passed | |
3633 | down to hook. | |
3634 | * targhooks.c (default_target_handle_option): New. | |
3635 | * targhooks.h (default_target_handle_option): Declare. | |
3636 | * config/alpha/alpha.c: Include opts.h. | |
3637 | (alpha_handle_option): Update to new hook interface. | |
3638 | * config/arm/arm.c: Include opts.h. | |
3639 | (arm_handle_option): Update to new hook interface. | |
3640 | * config/arm/t-arm (arm.o): Update dependencies. | |
3641 | * config/bfin/bfin.c: Include opts.h. | |
3642 | (bfin_handle_option): Update to new hook interface. | |
3643 | * config/cris/cris.c: Include opts.h. | |
3644 | (cris_handle_option): Update to new hook interface. | |
3645 | * config/frv/frv.c: Include opts.h. | |
3646 | (frv_handle_option): Update to new hook interface. | |
3647 | * config/i386/i386.c: Include opts.h. | |
3648 | (ix86_handle_option): Update to new hook interface. | |
3649 | (ix86_valid_target_attribute_inner_p): Generate option structure | |
3650 | for call to ix86_handle_option. | |
3651 | * config/i386/t-i386 (i386.o): Update dependencies. | |
3652 | * config/ia64/ia64.c: Include opts.h. | |
3653 | (ia64_handle_option): Update to new hook interface. | |
3654 | * config/ia64/t-ia64 (ia64.o): Update dependencies. | |
3655 | * config/iq2000/iq2000.c: Include opts.h. | |
3656 | (iq2000_handle_option): Update to new hook interface. | |
3657 | * config/m32c/m32c.c: Include opts.h. | |
3658 | (m32c_handle_option): Update to new hook interface. | |
3659 | * config/m32r/m32r.c: Include opts.h. | |
3660 | (m32r_handle_option): Update to new hook interface. | |
3661 | * config/m68k/m68k.c: Include opts.h. | |
3662 | (m68k_handle_option): Update to new hook interface. | |
3663 | * config/mep/mep.c: Include opts.h. | |
3664 | (mep_handle_option): Update to new hook interface. | |
3665 | * config/microblaze/microblaze.c: Include opts.h. | |
3666 | (microblaze_handle_option): Update to new hook interface. | |
3667 | * config/mips/mips.c: Include opts.h. | |
3668 | (mips_handle_option): Update to new hook interface. | |
3669 | * config/mn10300/mn10300.c: Include opts.h. | |
3670 | (mn10300_handle_option): Update to new hook interface. | |
3671 | * config/pa/pa.c: Include opts.h. | |
3672 | (pa_handle_option): Update to new hook interface. | |
3673 | * config/pdp11/pdp11.c: Include opts.h. | |
3674 | (pdp11_handle_option): Update to new hook interface. | |
3675 | * config/rs6000/rs6000.c: Include opts.h. | |
3676 | (rs6000_handle_option): Update to new hook interface. | |
3677 | * config/rs6000/t-rs6000 (rs6000.o): Update dependencies. | |
3678 | * config/rx/rx.c: Include opts.h. | |
3679 | (rx_handle_option): Update to new hook interface. | |
3680 | * config/s390/s390.c: Include opts.h. | |
3681 | (s390_handle_option): Update to new hook interface. | |
3682 | * config/score/score.c: Include opts.h. | |
3683 | (score_handle_option): Update to new hook interface. | |
3684 | * config/sh/sh.c: Include opts.h. | |
3685 | (sh_handle_option): Update to new hook interface. | |
3686 | * config/sparc/sparc.c: Include opts.h. | |
3687 | (sparc_handle_option): Update to new hook interface. | |
3688 | * config/v850/v850.c: Include opts.h. | |
3689 | (v850_handle_option): Update to new hook interface. | |
3690 | ||
66017846 JM |
3691 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3692 | ||
3693 | * gcc.c (driver_unknown_option_callback): Only permit and save | |
3694 | unknown -Wno- options. | |
3695 | (driver_wrong_lang_callback): Save options directly instead of via | |
3696 | driver_unknown_option_callback. | |
3697 | ||
e8b97ccd EB |
3698 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
3699 | ||
3700 | * combine.c (simplify_set): Try harder to find the best CC mode when | |
3701 | simplifying a nested COMPARE on the RHS. | |
3702 | ||
ebb9f8b0 JM |
3703 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
3704 | ||
3705 | * config/alpha/gnu.h: Remove. | |
3706 | * config/arc: Remove directory. | |
3707 | * config/arm/netbsd.h: Remove. | |
3708 | * config/arm/t-pe: Remove. | |
3709 | * config/crx: Remove directory. | |
3710 | * config/i386/netbsd.h: Remove. | |
3711 | * config/m68hc11: Remove directory. | |
3712 | * config/m68k/uclinux-oldabi.h: Remove. | |
3713 | * config/mcore/mcore-pe.h: Remove. | |
3714 | * config/mcore/t-mcore-pe: Remove. | |
3715 | * config/netbsd-aout.h: Remove. | |
3716 | * config/rs6000/gnu.h: Remove. | |
3717 | * config/sh/sh-symbian.h: Remove. | |
3718 | * config/sh/symbian-base.c: Remove. | |
3719 | * config/sh/symbian-c.c: Remove. | |
3720 | * config/sh/symbian-cxx.c: Remove. | |
3721 | * config/sh/symbian-post.h: Remove. | |
3722 | * config/sh/symbian-pre.h: Remove. | |
3723 | * config/sh/t-symbian: Remove. | |
3724 | * config/svr3.h: Remove. | |
3725 | * config/vax/netbsd.h: Remove. | |
3726 | * config.build: Don't handle i[34567]86-*-pe. | |
3727 | * config.gcc: Remove handling of deprecations for most deprecated | |
3728 | targets. | |
3729 | (m68k-*-uclinuxoldabi*): Add to second deprecated list. | |
3730 | (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*, arm-*-pe*, crx-*-elf, | |
3731 | i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*|m6811-*-*, | |
3732 | m68hc12-*-*|m6812-*-*, m68k-*-uclinuxoldabi*, mcore-*-pe*, | |
3733 | powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*, | |
3734 | sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*): | |
3735 | Remove cases. | |
3736 | * config.host: Don't handle i[34567]86-*-pe. | |
3737 | * config/rs6000/linux64.h (LINK_OS_GNU_SPEC): Remove. | |
3738 | (ASM_SPEC32): Don't handle -mcall-gnu. | |
3739 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't handle | |
3740 | -mcall-gnu. | |
3741 | (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, CPP_SPEC, | |
3742 | STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): Don't handle -mcall-gnu. | |
3743 | (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, | |
3744 | LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): Remove. | |
3745 | (SUBTARGET_EXTRA_SPECS): Remove *_gnu specs. | |
3746 | * config/sh/sh-protos.h, config/sh/sh.c: Remove all code | |
3747 | conditional on SYMBIAN. | |
3748 | * configure.ac: Don't handle powerpc*-*-gnu*. | |
3749 | * configure: Regenerate. | |
3750 | * doc/extend.texi (interrupt attribute): Don't mention CRX. | |
3751 | * doc/install-old.texi (m6811, m6812): Don't mention. | |
3752 | * doc/install.texi (arc-*-elf*): Don't document multilib option. | |
3753 | (arc-*-elf, CRX, m6811-elf, m6812-elf): Remove. | |
3754 | (m68k-uclinuxoldabi): Don't mention. | |
3755 | * doc/invoke.texi (ARC Options, CRX Options, M68hc1x Options): | |
3756 | Remove. | |
3757 | (-mcall-gnu): Remove. | |
3758 | * doc/md.texi (CRX Architecture, Motorola 68HC11 & 68HC12 | |
3759 | families): Remove constraint documentation. | |
3760 | ||
999a7d80 MS |
3761 | 2011-03-22 Marius Strobl <marius@FreeBSD.org> |
3762 | ||
3763 | * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Replace with... | |
3764 | (FBSD_TARGET_CPU_CPP_BUILTINS): ...this. | |
3765 | (TARGET_GNU_TLS, TARGET_SUN_TLS): Define. | |
3766 | ||
980a0ff4 GJL |
3767 | 2011-03-21 Georg-Johann Lay <avr@gjlay.de> |
3768 | ||
3769 | * config/avr/avr-protos.h (expand_epilogue): Change prototype | |
3770 | * config/avr/avr.h (struct machine_function): Add field sibcall_fails. | |
3771 | * config/avr/avr.c (init_cumulative_args) | |
3772 | (avr_function_arg_advance): Use it. | |
3773 | * config/avr/avr.c (expand_epilogue): Add bool parameter. Handle | |
3774 | sibcall epilogues. | |
3775 | (TARGET_FUNCTION_OK_FOR_SIBCALL): Define to... | |
3776 | (avr_function_ok_for_sibcall): ...this new function. | |
3777 | (avr_lookup_function_attribute1): New static Function. | |
3778 | (avr_naked_function_p, interrupt_function_p) | |
3779 | (signal_function_p, avr_OS_task_function_p) | |
3780 | (avr_OS_main_function_p): Use it. | |
3781 | * config/avr/avr.md ("sibcall", "sibcall_value") | |
3782 | ("sibcall_epilogue"): New expander. | |
3783 | ("*call_insn", "*call_value_insn"): New insn. | |
3784 | ("call_insn", "call_value_insn"): Remove | |
3785 | ("call", "call_value", "epilogue"): Change expander to handle | |
3786 | sibling calls. | |
3787 | ||
49168734 NC |
3788 | 2011-03-21 Nick Clifton <nickc@redhat.com> |
3789 | ||
3790 | * doc/invoke.texi (Overall Options): Move closing brace to end of | |
3791 | options list. | |
3792 | (Optimization Options): Add missing @gol. | |
3793 | (Directory Options): Likewise. | |
3794 | (i386 and x86-64 Options): Likewise. | |
3795 | (RS6000 and PowerPC Options): Likewise. | |
3796 | (i386 and x86-64 Windows Options): Likewise. | |
3797 | (V850 Options): Add text missing from descriptions. | |
3798 | ||
bdfe906f RH |
3799 | 2011-03-22 Richard Henderson <rth@redhat.com> |
3800 | ||
3801 | * config/avr/avr.c (TARGET_EXCEPT_UNWIND_INFO): New. | |
3802 | (avr_incoming_return_addr_rtx): New. | |
3803 | (emit_push_byte): New. | |
3804 | (expand_prologue): Use it. Remove incorrect dwarf annotation for | |
3805 | SREG, RAMPZ, zero register. Push frame pointer by bytes. Add dwarf | |
3806 | annotation for __prologue_saves__. Fixup dwarf annotation for CFA. | |
3807 | (emit_pop_byte): New. | |
3808 | (expand_epilogue): Use it. Pop frame pointer by bytes. | |
3809 | * config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Remove. | |
3810 | (INCOMING_RETURN_ADDR_RTX): New. | |
3811 | (INCOMING_FRAME_SP_OFFSET): New. | |
3812 | (ARG_POINTER_CFA_OFFSET): New. | |
3813 | * config/avr/avr.md (*pushqi): Fix mode of auto-inc. | |
3814 | (*pushhi, *pushsi, *pushsf, popqi): Likewise. | |
3815 | (pophi): Remove. | |
3816 | ||
d090a5aa RH |
3817 | * dwarf2out.c (dwarf2out_frame_debug_expr) [rule 11]: Handle post_dec. |
3818 | ||
fdf3e18a NF |
3819 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
3820 | ||
3821 | * system.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Poison. | |
3822 | (FUNCTION_ARG_ADVANCE): Likewise. | |
3823 | * tm.texi.in: Change references to them to hook references. | |
3824 | * tm.texi: Regenerate. | |
3825 | * targhooks.c (default_function_arg): Eliminate check for target | |
3826 | macro. | |
3827 | (default_function_incoming_arg): Likewise. | |
3828 | (default_function_arg_advance): Likewise. | |
c78dd519 | 3829 | * target.def (function_arg, function_incoming_arg): Change to DEFHOOK. |
fdf3e18a NF |
3830 | (function_arg_advance): Likewise. |
3831 | * target-def.h: Eliminate FUNCTION_INCOMING_ARG check. | |
3832 | ||
009d3fcf NF |
3833 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
3834 | ||
3835 | * tree.c (build_call_1): New function. | |
3836 | (build_call_valist, build_call_array_loc, build_call_vec): Call it. | |
3837 | ||
7bec30e1 RG |
3838 | 2011-03-22 Richard Guenther <rguenther@suse.de> |
3839 | ||
3840 | PR tree-optimization/48228 | |
3841 | * tree-vrp.c (vrp_visit_phi_node): Do not stop propagating | |
3842 | for single-arg PHIs. | |
3843 | ||
0b7e851b AB |
3844 | 2011-03-22 Andrey Belevantsev <abel@ispras.ru> |
3845 | ||
3846 | PR rtl-optimization/48143 | |
3847 | * config/i386/sse.md (*sse2_cvtpd2dq): Add athlon_decode attribute. | |
3848 | (*sse2_cvttpd2dq, sse2_cvtss2sd, *sse2_cvtpd2ps, | |
3849 | sse2_cvtps2pd): Likewise. | |
3850 | ||
d89afca5 AK |
3851 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
3852 | ||
3853 | * recog.c (canonicalize_change_group): Use validate_unshare_change. | |
3854 | ||
f471fe72 RG |
3855 | 2011-03-22 Richard Guenther <rguenther@suse.de> |
3856 | ||
3857 | * gimple.c (gimple_rhs_class_table): POLYNOMIAL_CHREC is not | |
3858 | a valid RHS. Make DOT_PROD_EXPR and REALIGN_LOAD_EXPR ternary. | |
3859 | * tree-cfg.c (verify_gimple_assign_ternary): Allow DOT_PROD_EXPR | |
3860 | and REALIGN_LOAD_EXPR. | |
3861 | (verify_gimple_assign_single): Do not allow POLYNOMIAL_CHREC, | |
3862 | DOT_PROD_EXPR or REALIGN_LOAD_EXPR. | |
3863 | * expr.c (expand_expr_real_1): Move REALIGN_LOAD_EXPR and | |
3864 | DOT_PROD_EXPR case ... | |
3865 | (expand_expr_real_2): ... here. | |
3866 | * gimple-pretty-print.c (dump_ternary_rhs): Handle DOT_PROD_EXPR | |
3867 | and REALIGN_LOAD_EXPR. | |
3868 | * tree-data-ref.c (split_constant_offset): Bail out for all CHRECs. | |
3869 | * tree-vect-loop.c (vect_model_reduction_cost): Handle ternaries. | |
3870 | (vect_create_epilog_for_reduction): Likewise. | |
3871 | (vectorizable_reduction): Likewise. | |
3872 | * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Adjust. | |
3873 | * tree-vect-stmts.c (vectorizable_load): Likewise. | |
3874 | ||
f2f81d57 EB |
3875 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
3876 | ||
3877 | * gimplify.c (gimplify_cond_expr): Gimplify COMPOUND_EXPR conditions. | |
3878 | ||
ab081dd6 AK |
3879 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
3880 | ||
3881 | * config/s390/s390.c (s390_delegitimize_address): Fix offset | |
3882 | handling for PLTOFF/GOTOFF. | |
3883 | ||
6fd5332b NC |
3884 | 2011-03-22 Nick Clifton <nickc@redhat.com> |
3885 | ||
3886 | * config/i386/cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Remove | |
3887 | trailing backslash from the end of the macro definition. | |
3888 | ||
01841ac0 AK |
3889 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
3890 | ||
3891 | * config/s390/s390.c (s390_delegitimize_address): Handle PLTOFF | |
3892 | and PLT unspecs. | |
3893 | ||
2ef6ce06 RS |
3894 | 2011-03-21 Richard Sandiford <richard.sandiford@linaro.org> |
3895 | ||
3896 | * expr.h (prepare_operand): Move to... | |
3897 | * optabs.h (prepare_operand): ...here and change the insn code | |
3898 | parameter from "int" to "enum insn_code". | |
3899 | (insn_operand_matches): Declare. | |
3900 | * expr.c (init_expr_target): Use insn_operand_matches. | |
3901 | (compress_float_constant): Likewise. | |
3902 | * function.c (safe_insn_predicate, assign_parm_setup_reg): Likewise. | |
3903 | * optabs.c (can_compare_p, prepare_cmp_insn): Likewise. | |
3904 | (emit_cmp_and_jump_insn_1, gen_add2_insn, gen_add3_insn): Likewise. | |
c78dd519 UB |
3905 | (have_add2_insn, gen_sub2_insn, gen_sub3_insn, have_sub2_insn): |
3906 | Likewise. | |
2ef6ce06 RS |
3907 | (gen_cond_trap): Likewise. |
3908 | (prepare_operand): Likewise. Change icode to an insn_code. | |
3909 | (insn_operand_matches): New function. | |
3910 | * reload.c (find_reloads_address_1): Use insn_operand_matches. | |
3911 | * reload1.c (gen_reload): Likewise. | |
3912 | * targhooks.c (default_secondary_reload): Likewise. | |
3913 | ||
9e43ad68 UB |
3914 | 2011-03-21 Uros Bizjak <ubizjak@gmail.com> |
3915 | ||
9a96da32 UB |
3916 | * config/alpha/alpha.md (unspec): New define_c_enum. |
3917 | (unspecv): Ditto. | |
3918 | ||
3919 | 2011-03-21 Uros Bizjak <ubizjak@gmail.com> | |
3920 | ||
3921 | PR debug/48214 | |
9e43ad68 UB |
3922 | * config/alpha/alpha.c (alpha_pad_noreturn): Do not emit an unop |
3923 | between a call and its CALL_ARG_LOCATION note. | |
3924 | ||
31408f60 EB |
3925 | 2011-03-21 Eric Botcazou <ebotcazou@adacore.com> |
3926 | ||
3927 | * gimplify.c (gimplify_vla_decl): Set TREE_THIS_NOTRAP flag. | |
3928 | ||
3929 | 2011-03-21 Jakub Jelinek <jakub@redhat.com> | |
126e6609 JJ |
3930 | |
3931 | PR c/42544 | |
3932 | PR c/48197 | |
3933 | * c-common.c (shorten_compare): If primopN is first sign-extended | |
3934 | to opN and then zero-extended to result type, set primopN to opN. | |
3935 | ||
9dfd55f5 DJ |
3936 | 2011-03-21 Daniel Jacobowitz <dan@codesourcery.com> |
3937 | ||
3938 | * config/arm/unwind-arm.c (__gnu_unwind_pr_common): Correct test | |
3939 | for barrier handlers. | |
3940 | ||
f3c33d9d MM |
3941 | 2011-03-21 Michael Meissner <meissner@linux.vnet.ibm.com> |
3942 | ||
3943 | * config/rs6000/rs6000.md (UNSPEC_*, UNSPECV_*): Redefine all | |
3944 | UNSPEC constants to be in the unspec enumeration, and redefine | |
3945 | all UNSPECV constants to be in the unspecv enumeration, so that | |
3946 | dumps print which unspec/unspec_volatile this is. | |
3947 | * config/rs6000/vector.md (UNSPEC_*): Ditto. | |
3948 | * config/rs6000/paired.md (UNSPEC_*): Ditto. | |
3949 | * config/rs6000/vsx.md (UNSPEC_*): Ditto. | |
3950 | * config/rs6000/altivec.md (UNSPEC_*, UNSPECV_*): Ditto. | |
3951 | * config/rs6000/dfp.md (UNSPEC_*): Ditto. | |
3952 | ||
3953 | * config/rs6000/rs6000.md (UNSPECV_ISYNC, UNSPECV_LWSYNC): Rename | |
3954 | UNSPEC_ISYNC and UNSPEC_HWSYNC to UNSPECV_ISYNC and | |
3955 | UNSPECV_LWSYNC, since these are used as unspec_volatile. | |
3956 | * config/rs6000/sync.md (isync, lwsync): Ditto. | |
3957 | ||
ac43f774 RG |
3958 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
3959 | ||
3960 | * params.def (lto-min-partition): Fix typo. | |
3961 | ||
411cdbd8 RG |
3962 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
3963 | ||
3964 | PR c/47939 | |
3965 | * c-decl.c (grokdeclarator): Drop to the main variant only | |
3966 | for array types. Drop flag_gen_aux_info check. | |
3967 | ||
1cd9e416 RG |
3968 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
3969 | ||
3970 | PR translation/47911 | |
3971 | * params.def (lto-partitions): Fix typo. | |
3972 | (lto-min-partition): Fix wording. | |
3973 | ||
ada5ad67 AT |
3974 | 2011-03-21 Andreas Tobler <andreast@fgznet.ch> |
3975 | ||
3976 | * config/rs6000/t-freebsd: Remove duplication from file. | |
3977 | ||
f9613c9a RG |
3978 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
3979 | ||
3980 | PR middle-end/47661 | |
3981 | * gimple.c (is_gimple_condexpr): Use tree_could_throw_p. | |
3982 | ||
9bfbc1eb RG |
3983 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
3984 | ||
3985 | PR lto/48210 | |
3986 | * params.def (lto-partitions): Require at least 1 partition. | |
3987 | ||
a2268084 RO |
3988 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3989 | ||
3990 | * gthr-solaris.h: Remove. | |
3991 | * gthr.h (_SOLARIS_THREADS): Don't include gthr-solaris.h, remove. | |
3992 | * config/sol2.h (CPP_SUBTARGET_SPEC): Remove -threads support. | |
3993 | (LIB_SPEC): Likewise. | |
3994 | * config/sol2.opt (threads): Remove. | |
9e43ad68 | 3995 | * config.gcc (i[34567]86-*-solaris2*): Remove solaris threads support. |
a2268084 RO |
3996 | (sparc*-*-solaris2*): Likewise. |
3997 | * configure.ac (enable_threads): Enable solaris support. | |
3998 | * configure: Regenerate. | |
9e43ad68 | 3999 | * doc/invoke.texi (Option Summary, Solaris 2 Options): Remove -threads. |
a2268084 RO |
4000 | * doc/install.texi (Configuration, --enable-threads=lib): Remove |
4001 | solaris. | |
4002 | ||
c43d9a1b RO |
4003 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4004 | ||
4005 | * config.gcc: Obsolete *-*-solaris2.8*. | |
4006 | * doc/install.texi (Specific, *-*-solaris2*): Document it. | |
4007 | ||
084239f4 RO |
4008 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4009 | ||
4010 | PR bootstrap/48135 | |
4011 | * doc/install.texi (Prerequisites, Perl): Remove Glob.pm | |
4012 | reference. Solaris 8 perl works. | |
4013 | ||
64cadbe7 RO |
4014 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4015 | ||
4016 | PR bootstrap/48135 | |
4017 | * doc/install.texi (Prerequisites): Move jar etc. up. | |
4018 | Explain support library version requirements. | |
4019 | ||
eb975109 RO |
4020 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4021 | ||
4022 | PR bootstrap/48135 | |
4023 | * doc/install.texi (Prerequisites): Move Perl to build | |
4024 | requirements. Always necessary on Solaris 2 with Sun ld. | |
4025 | ||
8a509ffd RO |
4026 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4027 | ||
4028 | * doc/install.texi (Specific, alpha*-dec-osf5.1): Update for | |
4029 | binutils 2.21. | |
4030 | (Specific, i?86-*-solaris2.[89]): Likewise. | |
4031 | (Specific, i?86-*-solaris2.10): Likewise. | |
4032 | (Specific, mips-sgi-irix6): Likewise. | |
4033 | (Specific, *-*-solaris2*): Remove Sun Studio download URL. | |
4034 | Update for binutils 2.21. | |
4035 | ||
8fbc58a1 RO |
4036 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4037 | ||
4038 | * configure.ac (gcc_cv_lto_plugin): Fix typo. | |
4039 | Allow -fuse-linker-plugin for non-default plugin linker. | |
4040 | * configure: Regenerate. | |
4041 | ||
7e84ad0b NP |
4042 | 2011-03-21 Nicola Pero <nicola.pero@meta-innovation.com> |
4043 | ||
4044 | PR bootstrap/48167 | |
4045 | * gengtype.c (files_rules): Added rule for cp/parser.h. | |
4046 | ||
2f36e14b JJ |
4047 | 2011-03-21 Jakub Jelinek <jakub@redhat.com> |
4048 | ||
4049 | PR target/48213 | |
4050 | * config/s390/s390.c (s390_delegitimize_address): Don't call | |
4051 | lowpart_subreg if orig_x has BLKmode. | |
4052 | ||
62d784f7 KT |
4053 | 2011-03-21 Kai Tietz <ktietz@redhat.com> |
4054 | ||
4055 | PR target/12171 | |
9e43ad68 UB |
4056 | * doc/plugins.texi: Adjust documentation for plugin register_callback. |
4057 | * tree.h (attribute_spec): Add new member affects_type_identity. | |
4058 | * attribs.c (empty_attribute_table): Adjust attribute_spec | |
4059 | initializers. | |
62d784f7 KT |
4060 | * config/alpha/alpha.c: Likewise. |
4061 | * config/arc/arc.c: Likewise. | |
4062 | * config/arm/arm.c: Likewise. | |
4063 | * config/avr/avr.c: Likewise. | |
4064 | * config/bfin/bfin.c: Likewise. | |
4065 | * config/crx/crx.c: Likewise. | |
4066 | * config/darwin.h: Likewise. | |
4067 | * config/h8300/h8300.c: Likewise. | |
4068 | * config/i386/cygming.h: Likewise. | |
4069 | * config/i386/i386.c: Likewise. | |
4070 | * config/ia64/ia64.c: Likewise. | |
4071 | * config/m32c/m32c.c: Likewise. | |
4072 | * config/m32r/m32r.c: Likewise. | |
4073 | * config/m68hc11/m68hc11.c: Likewise. | |
4074 | * config/m68k/m68k.c: Likewise. | |
4075 | * config/mcore/mcore.c: Likewise. | |
4076 | * config/mep/mep.c: Likewise. | |
4077 | * config/microblaze/microblaze.c: Likewise. | |
4078 | * config/mips/mips.c: Likewise. | |
4079 | * config/rs6000/rs6000.c: Likewise. | |
4080 | * config/rx/rx.c: Likewise. | |
4081 | * config/sh/sh.c: Likewise. | |
4082 | * config/sol2.h: Likewise. | |
4083 | * config/sparc/sparc.c: Likewise. | |
4084 | * config/spu/spu.c: Likewise. | |
4085 | * config/stormy16/stormy16.c: Likewise. | |
4086 | * config/v850/v850.c: Likewise. | |
4087 | ||
54833ec0 CLT |
4088 | 2011-03-21 Chung-Lin Tang <cltang@codesourcery.com> |
4089 | ||
4090 | * simplify-rtx.c (simplify_binary_operation_1): Handle | |
4091 | (xor (and A B) C) case when B and C are both constants. | |
4092 | ||
14a41392 MX |
4093 | 2011-03-21 Mingjie Xing <mingjie.xing@gmail.com> |
4094 | ||
4095 | * tree-dfa.c (add_referenced_var): Fix typo in comment. | |
4096 | ||
806c3492 EB |
4097 | 2011-03-20 Eric Botcazou <ebotcazou@adacore.com> |
4098 | ||
4099 | PR bootstrap/48168 | |
4100 | * config/sparc/sparc.c (sparc_delegitimize_address): Add new pattern. | |
4101 | ||
65e0a0f3 JJ |
4102 | 2011-03-20 Jakub Jelinek <jakub@redhat.com> |
4103 | ||
4104 | PR rtl-optimization/48156 | |
4105 | * df-core.c (df_get_bb_dirty): Use df_lr if df_live is NULL, | |
4106 | assume df and df_lr are not NULL. | |
4107 | ||
b6a75dda RR |
4108 | 2011-03-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
4109 | ||
4110 | PR debug/48023 | |
4111 | * config/arm/arm.c (create_fix_barrier): Do not emit a minipool | |
4112 | between a call and its CALL_ARG_LOCATION note. | |
4113 | ||
5969b52d KK |
4114 | 2011-03-19 Kaz Kojima <kkojima@gcc.gnu.org> |
4115 | ||
4116 | PR debug/48178 | |
4117 | * config/sh/sh.c (find_barrier): Don't emit a constant pool | |
4118 | between a call and its corresponding CALL_ARG_LOCATION note. | |
4119 | ||
f773c2bd AS |
4120 | 2011-03-19 Anatoly Sokolov <aesok@post.ru> |
4121 | ||
4122 | * cfgcleanup.c (mark_effect): Use bitmap_set_range/bitmap_clear_range | |
4123 | instead of loop. Use HARD_REGISTER_NUM_P predicate. | |
4124 | * haifa-sched.c (setup_ref_regs): Ditto. | |
4125 | * caller-save.c (add_used_regs_1): Ditto. | |
4126 | * dse.c (look_for_hardregs): Ditto. | |
4127 | * df-problems.c (df_simulate_one_insn_forwards): Ditto. | |
4128 | * sched-rgn.c (check_live_1): Ditto. | |
4129 | ||
8bf872f9 JM |
4130 | 2011-03-18 Joseph Myers <joseph@codesourcery.com> |
4131 | ||
4132 | * c-decl.c (diagnose_mismatched_decls): Give an error for | |
4133 | redefining a typedef with variably modified type. | |
4134 | ||
ff8e2159 JM |
4135 | 2011-03-18 Joseph Myers <joseph@codesourcery.com> |
4136 | ||
4137 | * c-decl.c (grokfield): Don't allow typedefs for structures or | |
4138 | unions with no tag by default. | |
4139 | * doc/extend.texi (Unnamed Fields): Update. | |
4140 | ||
16cc4440 UB |
4141 | 2011-03-18 Uros Bizjak <ubizjak@gmail.com> |
4142 | ||
4143 | * config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2): | |
4144 | Rewrite using indirect functions. | |
4145 | (lwp_slwpcb): Ditto. | |
4146 | * config/i386/sse.md (avx_vextractf128<mode>): Ditto. | |
4147 | (avx_vinsertf128<mode>): Ditto. | |
4148 | ||
e101e12e AK |
4149 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
4150 | ||
4151 | * config/s390/s390.c (s390_delegitimize_address): Handle GOTOFF | |
4152 | unspecs. | |
4153 | ||
4627c7fb AK |
4154 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
4155 | ||
4156 | * config/s390/s390.c (s390_chunkify_start): Prevent literal pool | |
9e43ad68 | 4157 | splitting between a call and its corresponding CALL_ARG_LOCATION note. |
4627c7fb | 4158 | |
2d36b47f MK |
4159 | 2011-03-18 Maxim Kuvyrkov <maxim@codesourcery.com> |
4160 | ||
4161 | PR rtl-optimization/48170 | |
4162 | * gcse.c (hoist_code): Remove bogus asserts. | |
4163 | ||
2a3d7659 JL |
4164 | 2011-03-18 Georg-Johann Lay <avr@gjlay.de> |
4165 | ||
4166 | * ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost | |
4167 | computation for prologue/epilogue. | |
4168 | ||
34c3ef05 RO |
4169 | 2011-03-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4170 | ||
4171 | * Makefile.in (check-consistency): Remove. | |
4172 | ||
81f2b976 JJ |
4173 | 2011-03-18 Jakub Jelinek <jakub@redhat.com> |
4174 | ||
4175 | PR debug/48176 | |
4176 | * dwarf2out.c (dwarf2out_finish): Call output_aranges even when | |
4177 | arange_table_in_use is 0, but either text_section_used or | |
4178 | cold_text_section_used is true. Don't call it if | |
4179 | !info_section_emitted. | |
4180 | ||
68fd7765 AS |
4181 | 2011-03-18 Anatoly Sokolov <aesok@post.ru> |
4182 | ||
4183 | * config/avr/avr.h (RET_REGISTER, LIBCALL_VALUE, | |
4184 | FUNCTION_VALUE_REGNO_P): Remove. | |
4185 | * config/avr/avr-protos.h (avr_ret_register, avr_libcall_value): | |
4186 | Remove. | |
4187 | * config/avr/avr.c (avr_ret_register): Make static inline. | |
4188 | (avr_function_value_regno_p): New function. | |
4189 | (avr_libcall_value): Make static. Add 'func' argument. | |
4190 | (avr_function_value): Make static. Rename 'func' argument to | |
4191 | 'fn_decl_or_type', forward it to avr_libcall_value. Call | |
4192 | avr_ret_register function instead of RET_REGISTER macro. | |
4193 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
4194 | ||
b4ef8aac JM |
4195 | 2011-03-18 Jason Merrill <jason@redhat.com> |
4196 | ||
4197 | PR c++/23372 | |
4198 | * gimplify.c (gimplify_arg): Strip redundant TARGET_EXPR. | |
4199 | ||
09a52fc3 RG |
4200 | 2011-03-18 Richard Guenther <rguenther@suse.de> |
4201 | ||
4202 | * doc/install.texi (--enable-gold): Remove. | |
4203 | (--with-plugin-ld): Document. | |
4204 | * doc/invoke.texi (-fuse-linker-plugin): Clarify. | |
4205 | ||
2a3d7659 | 4206 | 2011-03-18 Andrew Pinski <pinskia@gmail.com> |
3bf162a0 AP |
4207 | |
4208 | PR middle-end/47790 | |
4209 | * expr.c (optimize_bitfield_assignment_op): Revamp to work | |
4210 | again after expansion changes. | |
4211 | ||
2abbb0fe CLT |
4212 | 2011-03-18 Chung-Lin Tang <cltang@codesourcery.com> |
4213 | ||
4214 | * combine.c (try_combine): Do simplification only call of | |
4215 | subst() on i2 even when i1 is present. Update comments. | |
4216 | ||
2efd0aa6 KK |
4217 | 2011-03-18 Kaz Kojima <kkojima@gcc.gnu.org> |
4218 | ||
4219 | * config/sh/sh.c (sh_delegitimize_address): Handle UNSPEC_SYMOFF | |
4220 | and UNSPEC_PCREL_SYMOFF. | |
4221 | ||
30a49b23 AK |
4222 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
4223 | ||
4224 | * config/s390/s390.md: Use define_c_enum for the unspec constant | |
4225 | definitions. | |
4226 | ||
419e1853 JJ |
4227 | 2011-03-18 Richard Henderson <rth@redhat.com> |
4228 | Jakub Jelinek <jakub@redhat.com> | |
4229 | ||
4230 | PR bootstrap/48161 | |
4231 | * expr.c (expand_expr_addr_expr_1): Use simplify_gen_binary | |
4232 | instead of gen_rtx_PLUS if EXPAND_SUM or EXPAND_INITIALIZER. | |
4233 | ||
37875856 L |
4234 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
4235 | ||
4236 | PR middle-end/47725 | |
4237 | * combine.c (cant_combine_insn_p): Don't check zero/sign | |
4238 | extended hard registers. | |
4239 | ||
76069764 L |
4240 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
4241 | ||
4242 | PR middle-end/47725 | |
4243 | * combine.c (cant_combine_insn_p): Check zero/sign extended | |
4244 | hard registers. | |
4245 | ||
24da2019 AS |
4246 | 2011-03-17 Anatoly Sokolov <aesok@post.ru> |
4247 | ||
4248 | * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
4249 | * config/v850/v850-protos.h (v850_output_addr_const_extra): Remove. | |
4250 | * config/v850/v850.c (v850_output_addr_const_extra): Make static. | |
4251 | Change return type to bool. | |
4252 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
4253 | ||
a82ff31f JJ |
4254 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
4255 | ||
8b29c87a JJ |
4256 | PR debug/48163 |
4257 | * var-tracking.c (prepare_call_arguments): If CALL target | |
4258 | is a non-SYMBOL_REF CONSTANT_P, just add that into the list as | |
4259 | pc instead of looking it up using cselib_lookup and use | |
4260 | Pmode for it if x has VOIDmode. | |
4261 | * dwarf2out.c (gen_subprogram_die): If also both first and | |
4262 | second CONCAT arguments are VOIDmode, use mode of CONCAT itself. | |
4263 | ||
a82ff31f JJ |
4264 | PR debug/48163 |
4265 | * function.c (assign_parms): For data.passed_pointer parms | |
4266 | use MEM of data.entry_parm instead of data.entry_parm itself | |
4267 | as DECL_INCOMING_RTL. | |
4268 | * dwarf2out.c (rtl_for_decl_location): Use DECL_INCOMING_RTL | |
4269 | also when passed and declared mode is the same, DECL_RTL | |
4270 | is a MEM with pseudo as address and DECL_INCOMING_RTL is | |
4271 | a MEM too. | |
4272 | ||
82ce305c JL |
4273 | 2011-03-16 Jeff Law <law@redhat.com> |
4274 | ||
4275 | PR rtl-optimization/37273 | |
4276 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
4277 | handle them like argument loads from stack slots. Do not double | |
4278 | count memory for memory constants and argument loads from stack slots. | |
4279 | ||
fe58e02b L |
4280 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
4281 | ||
4282 | PR debug/48160 | |
4283 | * var-tracking.c (prepare_call_arguments): Check SUBREG. | |
4284 | ||
6fc4dbc7 L |
4285 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
4286 | ||
4287 | PR target/48171 | |
4288 | * config/i386/i386.opt: Add Save to -mavx and -mfma. | |
4289 | ||
db3ed0b3 JJ |
4290 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
4291 | ||
8054a389 JJ |
4292 | PR bootstrap/48153 |
4293 | * dwarf2out.c (mem_loc_descriptor) <case ENTRY_VALUE>: Return NULL | |
4294 | if dwarf_strict. | |
4295 | (gen_subprogram_die): Don't add call_site DIEs if dwarf_strict. | |
4296 | Clear call_arg_locations and call_arg_loc_last always. | |
4297 | ||
db3ed0b3 JJ |
4298 | PR middle-end/48152 |
4299 | * var-tracking.c (prepare_call_arguments): If argument needs to be | |
4300 | passed by reference, adjust argtype and mode. | |
4301 | ||
1bce4ff3 RG |
4302 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
4303 | ||
4304 | PR middle-end/48134 | |
4305 | * tree-ssa.c (insert_debug_temp_for_var_def): If we propagated | |
4306 | a value make sure to fold the statement. | |
4307 | ||
7c71147d CLT |
4308 | 2011-03-17 Chung-Lin Tang <cltang@codesourcery.com> |
4309 | ||
4310 | PR target/43872 | |
4311 | * config/arm/arm.c (arm_get_frame_offsets): Adjust early | |
4312 | return condition with !cfun->calls_alloca. | |
4313 | ||
0e1ee172 RG |
4314 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
4315 | ||
4316 | PR bootstrap/48148 | |
4317 | * lto-cgraph.c (input_overwrite_node): Clear the abstract | |
4318 | origin for decls in other ltrans units. | |
4319 | (input_varpool_node): Likewise. | |
4320 | ||
f8bce518 RG |
4321 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
4322 | ||
4323 | PR middle-end/48165 | |
4324 | * tree-object-size.c (compute_object_offset): Properly return | |
4325 | the offset operand of MEM_REFs as sizetype. | |
4326 | ||
1b6fa860 JJ |
4327 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
4328 | ||
dabd47e7 JJ |
4329 | PR rtl-optimization/48141 |
4330 | * params.def (PARAM_MAX_DSE_ACTIVE_LOCAL_STORES): New. | |
4331 | * dse.c: Include params.h. | |
4332 | (active_local_stores_len): New variable. | |
4333 | (add_wild_read, dse_step1): Clear it when setting active_local_stores | |
4334 | to NULL. | |
4335 | (record_store, check_mem_read_rtx): Decrease it when removing | |
4336 | from the chain. | |
4337 | (scan_insn): Likewise. Increase it when adding to chain, if it | |
4338 | reaches PARAM_MAX_DSE_ACTIVE_LOCAL_STORES limit, set to 1 and | |
4339 | set active_local_stores to NULL before the addition. | |
4340 | * Makefile.in (dse.o): Depend on $(PARAMS_H). | |
4341 | ||
1b6fa860 JJ |
4342 | PR rtl-optimization/48141 |
4343 | * dse.c (record_store): If no positions are needed in an insn | |
4344 | that cannot be deleted, at least unchain it from active_local_stores. | |
4345 | ||
7b5cb7d6 DS |
4346 | 2011-03-16 Dodji Seketeli <dodji@redhat.com> |
4347 | ||
4348 | PR debug/47510 | |
4349 | * dwarf2out.c (strip_naming_typedef): Factorize out of ... | |
4350 | (lookup_type_die_strip_naming_typedef): ... here. | |
4351 | (get_context_die): Use it. | |
4352 | (gen_typedef_die): Add a DW_AT_{,MIPS_}linkage_name attribute to | |
4353 | the anonymous struct named by the naming typedef. | |
4354 | ||
585e9d9d L |
4355 | 2011-03-16 H.J. Lu <hongjiu.lu@intel.com> |
4356 | ||
4357 | PR target/48154 | |
4358 | * config/i386/i386.c (ix86_builtin_vectorized_function): Check | |
4359 | TARGET_ROUND for BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins. | |
4360 | ||
6261ab0e JL |
4361 | 2011-03-16 Jeff Law <law@redhat.com> |
4362 | ||
4363 | * tree-vrp.c (identify_jump_threads): Slightly simplify type | |
16cc4440 | 4364 | check for operands of conditional. Allow type to be a pointer. |
6261ab0e | 4365 | |
0b0081ec RG |
4366 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
4367 | ||
4368 | PR tree-optimization/48149 | |
4369 | * fold-const.c (fold_binary_loc): Fold | |
4370 | COMPLEX_EXPR <REALPART_EXPR <x>, IMAGPART_EXPR <x>>. | |
4371 | ||
64a3d647 RG |
4372 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
4373 | ||
4374 | PR tree-optimization/26134 | |
4375 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Handle rewriting | |
4376 | complex part accesses to REALPART_EXPR and IMAGPART_EXPR. | |
4377 | (non_rewritable_mem_ref_base): Handle complex type component | |
4378 | accesses, constrain offsets for vector and complex extracts | |
4379 | more properly. | |
4380 | ||
ef13324e RG |
4381 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
4382 | ||
4383 | PR tree-optimization/48146 | |
4384 | * tree-ssa-sink.c (sink_code_in_bb): Manually update virtual | |
4385 | operands avoiding the need for renaming. | |
4386 | ||
f0eddb90 RG |
4387 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
4388 | ||
4389 | * gimple-fold.c (maybe_fold_reference): Open-code relevant | |
4390 | constant folding. Move MEM_REF canonicalization first. | |
4391 | Rely on fold_const_aggregate_ref for initializer folding. | |
4392 | * tree-ssa-ccp.c (ccp_fold): Handle constant vector extracts. | |
4393 | ||
e42348b8 JJ |
4394 | 2011-03-16 Jakub Jelinek <jakub@redhat.com> |
4395 | ||
29f10e71 JJ |
4396 | PR middle-end/48136 |
4397 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure | |
4398 | arg0/arg1 or their arguments are always fold converted to matching | |
4399 | types. | |
4400 | ||
e42348b8 JJ |
4401 | * var-tracking.c (prepare_call_arguments): Add ATTRIBUTE_UNUSED |
4402 | to nargs. | |
4403 | ||
55b46574 RO |
4404 | 2011-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4405 | ||
4406 | PR lto/46944 | |
4407 | * configure.ac (gcc_cv_gld_major_version, gcc_cv_gld_minor): | |
4408 | Handle in-tree gold. | |
4409 | (ld_vers): Extract binutils version for gold. | |
4410 | (gcc_cv_ld_hidden): Handle gold here. | |
4411 | (gcc_cv_lto_plugin): Determine level of linker plugin support. | |
4412 | * configure: Regenerate. | |
4413 | * config.in: Regenerate. | |
4414 | * gcc.c: Only use LTO plugin if HAVE_LTO_PLUGIN > 0, reject | |
4415 | -fuse-linker-plugin otherwise. | |
4416 | (LINK_PLUGIN_SPEC): Define. Extract from LINK_COMMAND_SPEC. | |
4417 | (LINK_COMMAND_SPEC): Use it. | |
4418 | (main): Only look for LTOPLUGINSONAME if HAVE_LTO_PLUGIN > 0. | |
4419 | ||
2b1c5433 JJ |
4420 | 2011-03-16 Jakub Jelinek <jakub@redhat.com> |
4421 | ||
c2969d8e JJ |
4422 | * emit-rtl.c (try_split): Don't call copy_call_info debug hook. |
4423 | * calls.c: Remove debug.h include. | |
4424 | (emit_call_1): Don't call virtual_call_token debug hook. | |
4425 | * dwarf2out.c (debug_dcall_section, debug_vcall_section, | |
4426 | dcall_entry, vcall_entry, dcall_table, vcall_table, vcall_insn, | |
4427 | vcall_insn_table, DEBUG_DCALL_SECTION, DEBUG_VCALL_SECTION, | |
4428 | size_of_dcall_table, output_dcall_table, size_of_vcall_table, | |
4429 | output_vcall_table, dwarf2out_direct_call, vcall_insn_table_hash, | |
4430 | vcall_insn_table_eq, store_vcall_insn, lookup_vcall_insn, | |
4431 | dwarf2out_virtual_call_token, dwarf2out_copy_call_info, | |
4432 | dwarf2out_virtual_call): Remove. | |
4433 | (dwarf2_debug_hooks): Remove direct_call, virtual_call_token, | |
4434 | copy_call_info and virtual_call hooks. | |
4435 | (dwarf2out_init): Don't initialize vcall_insn_table, | |
4436 | debug_dcall_section and debug_vcall_section. | |
4437 | (prune_unused_types): Don't mark nodes from dcall_table. | |
4438 | (dwarf2out_finish): Don't output dcall or vcall tables. | |
4439 | * final.c (final_scan_insn): Don't call direct_call or | |
4440 | virtual_call debug hooks. | |
4441 | * debug.h (struct gcc_debug_hooks): Remove direct_call, | |
4442 | virtual_call_token, copy_call_info and virtual_call hooks. | |
4443 | (debug_nothing_uid): Remove prototype. | |
4444 | * sdbout.c (sdb_debug_hooks): Remove direct_call, virtual_call_token, | |
4445 | copy_call_info and virtual_call hooks. | |
4446 | * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. | |
4447 | * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Likewise. | |
4448 | * debug.c (do_nothing_debug_hooks): Likewise. | |
4449 | (debug_nothing_uid): Remove. | |
4450 | * doc/invoke.texi (-fenable-icf-debug): Remove. | |
4451 | * common.opt (-fenable-icf-debug): Likewise. | |
4452 | ||
325f5379 JJ |
4453 | * calls.c (emit_call_1): Set MEM_EXPR on call's MEM. |
4454 | * var-tracking.c (prepare_call_arguments): Use MEM_EXPR on | |
4455 | call's MEM. Handle functions returning aggregate through a hidden | |
4456 | first pointer. For virtual calls add clobbered pc to call arguments | |
4457 | chain. | |
4458 | * dwarf2out.c (gen_subprogram_die): Emit | |
4459 | DW_AT_GNU_call_site_target_clobbered if DW_AT_GNU_call_site_target | |
4460 | can't be emitted. | |
4461 | ||
a58a8e4b JJ |
4462 | PR debug/45882 |
4463 | * rtl.def (ENTRY_VALUE): Change format from "e" to "0". | |
4464 | * rtl.h (ENTRY_VALUE_EXP): Define. | |
4465 | * rtl.c (rtx_equal_p_cb, rtx_equal_p): Handle ENTRY_VALUE. | |
4466 | * cselib.c (rtx_equal_for_cselib_p, cselib_hash_rtx): Likewise. | |
4467 | * print-rtl.c (print_rtx): Likewise. | |
4468 | * gengtype.c (adjust_field_rtx_def): Likewise. | |
4469 | * var-tracking.c (vt_add_function_parameter): Adjust | |
4470 | gen_rtx_ENTRY_VALUE uses, use ENTRY_VALUE_EXP macro. | |
4471 | * dwarf2out.c (mem_loc_descriptor): Use ENTRY_VALUE_EXP macro. | |
4472 | * cfgexpand.c (expand_debug_expr): If a SSA_NAME without | |
4473 | partition is a default definition of a PARM_DECL, use ENTRY_VALUE | |
4474 | of its DECL_INCOMING_RTL if possible, or its DECL_RTL if set. | |
4475 | ||
2b1c5433 JJ |
4476 | * final.c (final_scan_insn): Handle NOTE_INSN_CALL_ARG_LOCATION. |
4477 | Call var_location debug hook even on CALL_INSNs. | |
4478 | (rest_of_clean_state): Don't print NOTE_INSN_CALL_ARG_LOCATION. | |
4479 | * rtl.def (ENTRY_VALUE): New. | |
4480 | * dwarf2out.c: Include cfglayout.h. | |
4481 | (dwarf_stack_op_name, size_of_loc_descr, output_loc_operands, | |
4482 | output_loc_operands_raw): Handle DW_OP_GNU_entry_value. | |
4483 | (struct call_arg_loc_node): New type. | |
4484 | (call_arg_locations, call_arg_loc_last, block_map, call_site_count, | |
4485 | tail_call_site_count): New variables. | |
4486 | (dwarf_tag_name): Handle DW_TAG_GNU_call_site and | |
4487 | DW_TAG_GNU_call_site_parameter. | |
4488 | (dwarf_attr_name): Handle DW_AT_GNU_call_site_value, | |
4489 | DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target, | |
4490 | DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call, | |
4491 | DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites | |
4492 | and DW_AT_GNU_all_source_call_sites. | |
4493 | (mem_loc_descriptor): Handle ENTRY_VALUE. | |
4494 | (add_src_coords_attributes): Don't add enything if | |
4495 | DECL_SOURCE_LOCATION is UNKNOWN_LOCATION. | |
4496 | (dwarf2out_abstract_function): Save and clear call_arg_location, | |
4497 | call_site_count and tail_call_site_count around dwarf2out_decl call. | |
4498 | (gen_call_site_die): New function. | |
4499 | (gen_subprogram_die): Emit DW_TAG_GNU_call_site DIEs for call sites. | |
4500 | (gen_lexical_block_die, gen_inlined_subroutine_die): Update block_map. | |
4501 | (dwarf2out_function_decl): Clear call_arg_locations, | |
4502 | call_arg_loc_last, set call_site_count and tail_call_site_count | |
4503 | to -1 and free block_map. | |
4504 | (dwarf2out_var_location): Handle NOTE_INSN_CALL_ARG_LOCATION and | |
4505 | CALL_INSNs. Add NOTE_DURING_CALL_P var location notes even when not | |
4506 | followed by any real instructions. | |
4507 | (dwarf2out_begin_function): Set call_site_count and | |
4508 | tail_call_site_count to 0. | |
4509 | (resolve_addr): If DW_AT_abstract_origin of DW_TAG_GNU_call_site | |
4510 | is dw_val_class_addr, attempt to look it up again, for DECL_EXTERNAL | |
4511 | attempt to force a DIE for it and worst case remove the attribute. | |
4512 | (resolve_one_addr): For TREE_CONSTANT_POOL_ADDRESS_P SYMBOL_REFs | |
4513 | check TREE_ASM_WRITTEN of DECL_INITIAL of the decl instead of | |
4514 | the decl itself. | |
4515 | * var-tracking.c: Include tm_p.h. | |
4516 | (vt_stack_adjustments): For calls call note_register_arguments. | |
4517 | (argument_reg_set): New variable. | |
4518 | (add_stores): For MO_VAL_SET of non-tracked regs from argument_reg_set | |
4519 | ensure the VALUE is resolved. | |
4520 | (call_arguments): New variable. | |
4521 | (prepare_call_arguments): New function. | |
4522 | (add_with_sets): For MO_CALL set u.loc from call_arguments and clear it. | |
4523 | (struct expand_loc_callback_data): Add ignore_cur_loc field. | |
4524 | (vt_expand_loc_callback): If ignore_cur_loc, don't look at cur_loc and | |
4525 | always use the best expression. | |
4526 | (vt_expand_loc): Add ignore_cur_loc argument. | |
4527 | (vt_expand_loc_dummy): Clear ignore_cur_loc field. | |
4528 | (emit_note_insn_var_location): Adjust vt_expand_loc callers. | |
4529 | (emit_notes_in_bb) <case MO_CALL>: Add NOTE_INSN_CALL_ARG_LOCATION | |
4530 | note for all calls. | |
4531 | (vt_add_function_parameter): Use cselib_lookup_from_insn. | |
4532 | If dv is a VALUE, enter into hash table also ENTRY_VALUE for the | |
4533 | argument. Don't call cselib_preserve_only_values and | |
4534 | cselib_reset_table. | |
4535 | (note_register_arguments): New function. | |
4536 | (vt_initialize): Compute argument_reg_set. Call | |
4537 | vt_add_function_parameters before processing basic blocks instead of | |
4538 | afterwards. For calls call prepare_call_arguments before calling | |
4539 | cselib_process_insn. | |
4540 | * print-rtl.c (print_rtx): Handle NOTE_INSN_CALL_ARG_LOCATION. | |
4541 | * Makefile.in (dwarf2out.o): Depend on $(CFGLAYOUT_H). | |
4542 | (var-tracking.o): Depend on $(TM_P_H). | |
4543 | * cfglayout.h (insn_scope): New prototype. | |
4544 | * gengtype.c (adjust_field_rtx_def): Handle NOTE_INSN_CALL_ARG_LOCATION. | |
4545 | * cfglayout.c (insn_scope): No longer static. | |
4546 | * insn-notes.def (CALL_ARG_LOCATION): New. | |
4547 | * calls.c (expand_call, emit_library_call_value_1): Put USEs for | |
4548 | MEM arguments into CALL_INSN_FUNCTION_USAGE unconditionally. | |
4549 | * integrate.c (set_block_origin_self, set_block_abstract_flags): Do | |
4550 | nothing for DECL_EXTERNAL BLOCK_VARS. | |
4551 | ||
9ef13bd0 AM |
4552 | 2011-03-16 Alan Modra <amodra@gmail.com> |
4553 | ||
4554 | PR target/45844 | |
4555 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Don't | |
4556 | create invalid offset address for vsx splat insn. | |
4557 | * config/rs6000/predicates.md (splat_input_operand): New. | |
4558 | * config/rs6000/vsx.md (vsx_splat_*): Use it. | |
4559 | ||
56b67510 XDL |
4560 | 2011-03-15 Xinliang David Li <davidxl@google.com> |
4561 | ||
4562 | PR c/47837 | |
4563 | * tree-ssa-uninit.c (pred_chain_length_cmp): New function. | |
4564 | (normalize_preds): New function. | |
4565 | (is_use_properly_guarded): Normalize def predicates. | |
4566 | ||
80fffdef RR |
4567 | 2011-03-15 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
4568 | ||
732f37c6 | 4569 | PR target/46788 |
80fffdef RR |
4570 | * config/arm/arm.md (arm_movtas_ze): Use 'L' instead of 'c' |
4571 | in the output template. | |
4572 | ||
930672ad RG |
4573 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
4574 | ||
4575 | PR middle-end/47650 | |
4576 | * tree-pretty-print.c (dump_function_declaration): Properly | |
4577 | dump unprototyped and varargs function types. | |
4578 | ||
c7ee7b45 RG |
4579 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
4580 | ||
4581 | PR tree-optimization/13954 | |
4582 | * tree-ssa-sccvn.c (vn_reference_lookup_3): Look through memcpy | |
4583 | and friends. | |
4584 | ||
b2ad5e37 RG |
4585 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
4586 | ||
4587 | PR tree-optimization/48037 | |
4588 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Rewrite vector | |
4589 | selects into BIT_FIELD_REFs. | |
4590 | (non_rewritable_mem_ref_base): Check if a MEM_REF is a | |
4591 | vector select. | |
4592 | ||
7ee93d4e JJ |
4593 | 2011-03-15 Jakub Jelinek <jakub@redhat.com> |
4594 | ||
4595 | PR tree-optimization/48129 | |
4596 | * builtins.c (fold_builtin_snprintf): Convert to type of | |
4597 | built_in_decls[BUILT_IN_SNPRINTF] retval instead of | |
4598 | implicit_built_in_decls[BUILT_IN_SNPRINTF] retval. | |
4599 | ||
e106efc7 RG |
4600 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
4601 | ||
4602 | PR tree-optimization/41490 | |
4603 | * tree-ssa-dce.c (propagate_necessity): Handle returns without | |
4604 | value but with VUSE. | |
4605 | * tree-ssa-operands.c (parse_ssa_operands): Add a VUSE on all | |
4606 | return statements. | |
4607 | * tree-ssa-sink.c (statement_sink_location): Fix store sinking. | |
4608 | * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Handle virtual PHIs. | |
4609 | * tree-tailcall.c (find_tail_calls): Ignore returns. | |
4610 | ||
17dea42f RG |
4611 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
4612 | ||
4613 | PR middle-end/48031 | |
4614 | * fold-const.c (fold_indirect_ref_1): Do not create new variable-sized | |
4615 | or variable-indexed array accesses when in gimple form. | |
4616 | ||
01c77a60 RG |
4617 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
4618 | ||
16cc4440 | 4619 | * config/i386/i386.c (ix86_emit_swdivsf): Implement more efficiently. |
01c77a60 | 4620 | |
77b0791e AM |
4621 | 2011-03-15 Alan Modra <amodra@gmail.com> |
4622 | ||
4623 | PR target/48032 | |
4624 | * config/rs6000/rs6000.c (offsettable_ok_by_alignment): Do not | |
4625 | presume symbol_refs without a symbol_ref_decl are suitably | |
4626 | aligned, nor other trees we may see here. Handle anchor symbols. | |
4627 | (legitimate_constant_pool_address_p): Comment. Add mode param. | |
4628 | Check cmodel=medium addresses. Adjust all calls. | |
4629 | (rs6000_emit_move): Don't call offsettable_ok_by_alignment on | |
4630 | creating cmodel=medium optimized access to locals. | |
4631 | * config/rs6000/constraints.md (R): Pass QImode to | |
4632 | legitimate_constant_pool_address_p. | |
4633 | * config/rs6000/predicates.md (input_operand): Pass mode to | |
4634 | legitimate_constant_pool_address_p. | |
4635 | * config/rs6000/rs6000-protos.h (legitimate_constant_pool_address_p): | |
4636 | Update prototype. | |
4637 | ||
35f61ba4 MM |
4638 | 2011-03-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
4639 | ||
4640 | PR target/48053 | |
4641 | * config/rs6000/rs6000.md (movdi split for 32-bit): Don't split up | |
4642 | 64-bit constants being loaded into registers other than GPRs such | |
4643 | as loading 0 into a VSX register. | |
4644 | ||
07332e6d RO |
4645 | 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4646 | ||
16cc4440 | 4647 | * config/sol2.c (solaris_assemble_visibility): Remove obsolete URLs. |
07332e6d | 4648 | |
de888d90 JJ |
4649 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
4650 | ||
ba3ceb2d JJ |
4651 | PR middle-end/47917 |
4652 | * builtins.c (fold_builtin_snprintf): New function. | |
4653 | (fold_builtin_3): Call it for BUILT_IN_SNPRINTF. | |
4654 | (fold_builtin_4): Likewise. | |
4655 | ||
2e64f8b8 JJ |
4656 | PR middle-end/38878 |
4657 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Add | |
4658 | STRIP_NOPS on arg0 and arg1. When optimizing X +- C == X | |
4659 | and C - X == X also strip nops from +/-/p+ operand. | |
4660 | When optimizing -X == C, fold C to arg0's type. | |
4661 | ||
de888d90 JJ |
4662 | PR debug/47946 |
4663 | * dwarf2out.c (add_bit_offset_attribute): If bit_offset is negative, | |
4664 | emit it as add_AT_int instead of add_AT_unsigned. | |
4665 | ||
4666 | 2011-03-14 Tom Tromey <tromey@redhat.com> | |
f4e749b4 TT |
4667 | |
4668 | * unwind-dw2.c: Include sys/sdt.h if it exists. | |
4669 | (_Unwind_DebugHook): Use STAP_PROBE2. | |
4670 | * config.in, configure: Rebuild. | |
4671 | * configure.ac: Check for sys/sdt.h. | |
4672 | ||
d34abfd2 UB |
4673 | 2011-03-14 Uros Bizjak <ubizjak@gmail.com> |
4674 | ||
4675 | * config/i386/i386.md (ROUND_FLOOR): New constant. | |
4676 | (ROUND_CEIL): Ditto. | |
4677 | (ROUND_TRUNC): Ditto. | |
4678 | (ROUND_MXCSR): Ditto. | |
4679 | (ROUND_NO_EXC): Ditto. | |
4680 | (rint<mode>2): Use new defines instead of numerical constants. | |
4681 | (floor<mode>2): Ditto. | |
4682 | (ceil<mode>2): Ditto. | |
4683 | (btrunc<mode>2): Ditto. | |
4684 | * config/i386/i386-builtin-types.def: Define ROUND function type | |
4685 | aliases. | |
4686 | * config/i386/i386.c (enum ix86_builtins): Add | |
4687 | IX86_BUILTIN_{FLOOR,CEIL,TRUNC,RINT}{PS,PD}{,256} defines. | |
4688 | (struct builtin_description): Add | |
4689 | __builtin_ia32_{floor,ceil,trunc,rint}{pd,ps}{,256} descriptions. | |
4690 | (ix86_expand_sse_round): New static function. | |
4691 | (ix86_expand_args_builtin): Call ix86_expand_sse_round for ROUND | |
4692 | function types. | |
4693 | (ix86_builtin_vectorized_function): Handle | |
4694 | BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins. | |
4695 | ||
87f9e23d TT |
4696 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
4697 | ||
4698 | * c-parser.c (c_parser_asm_string_literal): Clear | |
4699 | warn_overlength_strings. | |
4700 | ||
b3ab9ea2 TT |
4701 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
4702 | ||
4703 | * c-parser.c (disable_extension_diagnostics): Save | |
4704 | warn_overlength_strings. | |
4705 | (restore_extension_diagnostics): Restore warn_overlength_strings. | |
4706 | ||
6bd73dd8 JJ |
4707 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
4708 | ||
4709 | * BASE-VER: Change to 4.7.0. | |
4710 | ||
7f4d6e1b RG |
4711 | 2011-03-14 Richard Guenther <rguenther@suse.de> |
4712 | ||
4713 | PR middle-end/48098 | |
4714 | * tree.c (build_vector_from_val): Adjust assert to requirements | |
4715 | and reality. | |
4716 | ||
c6104ef1 JJ |
4717 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
4718 | ||
4719 | PR bootstrap/48102 | |
d34abfd2 | 4720 | * graphite-cloog-compat.h (build_cloog_prog): Remove STATE parameter. |
c6104ef1 | 4721 | |
dfa95e19 AT |
4722 | 2011-03-14 Andreas Tobler <andreast@fgznet.ch> |
4723 | ||
4724 | * config/rs6000/freebsd.h: (RELOCATABLE_NEEDS_FIXUP): Define in | |
4725 | terms of target_flags_explicit. Adjust copyright year. | |
4726 | ||
4727 | * config.gcc: Add FreeBSD PowerPC soft-float libgcc bits. | |
4728 | * config/rs6000/t-freebsd: New file. Add override for | |
4729 | LIB2FUNCS_EXTRA. | |
4730 | ||
bb322018 CD |
4731 | 2011-03-13 Chris Demetriou <cgd@google.com> |
4732 | ||
4733 | * doc/invoke.texi (-fdiagnostics-show-option): Replace with... | |
4734 | (-fno-diagnostics-show-option): this, to reflect current default. | |
4735 | (-Werror=): Update text about -fno-diagnostics-show-option. | |
4736 | ||
12b1c80b PB |
4737 | 2011-03-12 Peter Bergner <bergner@vnet.ibm.com> |
4738 | ||
4739 | PR target/48053 | |
4740 | * config/rs6000/predicates.md (easy_vector_constant_add_self, | |
4741 | easy_vector_constant_msb): Do not handle V2DImode and V2DFmode. | |
4742 | * config/rs6000/rs6000.c (const_vector_elt_as_int): Add assert that | |
4743 | mode is not V2DImode or V2DFmode. | |
4744 | (vspltis_constant): Do not handle V2DImode and V2DFmode. | |
4745 | (rs6000_expand_vector_init): Replace copy_to_reg with copy_to_mode_reg. | |
4746 | * config/rs6000/rs6000.md (movdi_internal32): Allow setting VSX | |
4747 | registers to 0. | |
4748 | (movdi_internal64): Likewise. | |
4749 | ||
57d598f7 SP |
4750 | 2011-03-12 Sebastian Pop <sebastian.pop@amd.com> |
4751 | ||
4752 | PR tree-optimization/47127 | |
4753 | * graphite-clast-to-gimple.c (build_cloog_prog): Removed state | |
4754 | parameter. | |
4755 | (set_cloog_options): Same. | |
4756 | (scop_to_clast): Same. | |
4757 | (print_clast_stmt): Do not call cloog_state_malloc and | |
4758 | cloog_state_free. | |
4759 | (print_generated_program): Same. | |
4760 | (gloog): Same. | |
4761 | * graphite-clast-to-gimple.h (cloog_state): Declared. | |
4762 | (scop_to_clast): Adjust declaration. | |
4763 | * graphite.c (cloog_state): Defined here. | |
4764 | (graphite_initialize): Call cloog_state_malloc. | |
4765 | (graphite_finalize): Call cloog_state_free. | |
4766 | ||
f231b5ff JM |
4767 | 2011-03-11 Jason Merrill <jason@redhat.com> |
4768 | ||
4769 | * attribs.c (lookup_attribute_spec): Take const_tree. | |
4770 | * tree.h: Adjust. | |
4771 | ||
6a4e2bd5 JM |
4772 | 2011-03-11 Joseph Myers <joseph@codesourcery.com> |
4773 | ||
4774 | * config/sparc/sparc.c (sparc_option_override): Use | |
4775 | PROCESSOR_NIAGARA2 not PROCESSOR_NIAGARA for "niagara2". | |
4776 | ||
a758fd67 RG |
4777 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
4778 | ||
4779 | PR tree-optimization/48067 | |
4780 | * tree-ssa-math-opts.c (convert_mult_to_fma): Verify the | |
4781 | multiplication result will be only used once on the target | |
4782 | stmt. | |
4783 | ||
03dfda54 RG |
4784 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
4785 | ||
4786 | * doc/invoke.texi (max-inline-insns-single): Adjust default value. | |
4787 | ||
5f11a50a RG |
4788 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
4789 | ||
4790 | PR lto/48073 | |
4791 | * tree.c (find_decls_types_r): Do not walk types only reachable | |
4792 | from IDENTIFIER_NODEs. | |
4793 | ||
4074f163 JJ |
4794 | 2011-03-11 Jakub Jelinek <jakub@redhat.com> |
4795 | ||
4796 | PR middle-end/48044 | |
4797 | * ipa.c (cgraph_remove_unreachable_nodes): Enqueue | |
4798 | all vnode->force_output nodes as needed. | |
4799 | ||
30f7cdcd JM |
4800 | 2011-03-11 Jason Merrill <jason@redhat.com> |
4801 | ||
4802 | PR c++/48069 | |
4803 | * tree.c (type_hash_eq): Use COMPLETE_TYPE_P, not | |
4804 | COMPLETE_OR_UNBOUND_ARRAY_TYPE_P. | |
4805 | ||
62ecfeb8 MJ |
4806 | 2011-03-11 Martin Jambor <mjambor@suse.cz> |
4807 | ||
4808 | * cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of | |
4809 | cgraph_node. | |
4810 | ||
e89e03ab JJ |
4811 | 2011-03-11 Jakub Jelinek <jakub@redhat.com> |
4812 | ||
4813 | PR tree-optimization/48063 | |
4814 | * ipa-inline.c (cgraph_decide_inlining): Don't try to | |
4815 | inline functions called once if !tree_can_inline_p (node->callers). | |
4816 | ||
efbe978b | 4817 | 2011-03-11 Chen Liqin <liqin.gcc@gmail.com> |
9d6193a7 | 4818 | |
efbe978b EB |
4819 | * config.gcc (score-*-elf): Add extra_parts .., update tmake_file and |
4820 | extra_objs. | |
9d6193a7 CL |
4821 | * config/score/score3.c: Delete. |
4822 | * config/score/score3.h: Delete. | |
4823 | * config/score/mul-div.S: Delete. | |
4824 | * config/score/sfp-machine.h: Add new file. | |
4825 | * config/score/constraints.md: Add new file. | |
4826 | * config/score/t-score-softfp: Add new file. | |
efbe978b | 4827 | * config/score/t-score-elf: Remove score3.o, do not generate multilib. |
9d6193a7 CL |
4828 | * config/score/score7.c (score7_const_ok_for_letter_p): Delete. |
4829 | (score7_extra_constraint): Delete. | |
efbe978b | 4830 | (score7_option_override): Remove unused code. |
9d6193a7 CL |
4831 | * config/score/score.c: Remove score3 and score5 define and code. |
4832 | * config/score/score.h: Remove score3 and score5 define and code. | |
efbe978b | 4833 | * config/score/score.md: Remove score3 template and unusual insn. |
9d6193a7 CL |
4834 | * config/score/score.opt: Remove score3 and score5 options. |
4835 | ||
5de27cca JDA |
4836 | 2011-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4837 | ||
4838 | * config/pa/pa-hpux10.h (TARGET_OS_CPP_BUILTINS): Define _REENTRANT | |
4839 | when _HPUX_SOURCE is defined. | |
4840 | (LIB_SPEC): Use -lc instead of -lc_r when -threads is specified. | |
4841 | ||
18d92053 JM |
4842 | 2011-03-10 Jason Merrill <jason@redhat.com> |
4843 | ||
4844 | PR c++/48029 | |
4845 | * stor-layout.c (layout_type): Don't set structural equality | |
4846 | on arrays of incomplete type. | |
4847 | * tree.c (type_hash_eq): Handle comparing them properly. | |
4848 | ||
67a2f76d JJ |
4849 | 2011-03-10 Jakub Jelinek <jakub@redhat.com> |
4850 | ||
4851 | PR debug/48043 | |
18d92053 | 4852 | * config/s390/s390.c (s390_delegitimize_address): Make sure the |
67a2f76d JJ |
4853 | result mode matches original rtl mode. |
4854 | ||
d845b2f9 NC |
4855 | 2011-03-10 Nick Clifton <nickc@redhat.com> |
4856 | ||
4857 | * config/rx/rx.md (bitset_in_memory, bitclr_in_memory: Fix timings. | |
39242686 | 4858 | (andsi3, andsi3_flags): Fix timings for three operand alternative. |
d845b2f9 | 4859 | |
db7ec035 JJ |
4860 | 2011-03-09 Jakub Jelinek <jakub@redhat.com> |
4861 | ||
4862 | PR rtl-optimization/47866 | |
4863 | * expr.c (store_field): If MEM_SCALAR_P (target), don't use | |
4864 | MEM_SET_IN_STRUCT_P (to_rtx, 1), just set MEM_IN_STRUCT_P (to_rtx) | |
4865 | if target wasn't scalar. | |
4866 | * function.c (assign_stack_temp_for_type): Assert that neither | |
4867 | MEM_SCALAR_P nor MEM_IN_STRUCT_P is set previously, set either | |
4868 | MEM_IN_STRUCT_P or MEM_SCALAR_P instead of using MEM_SET_IN_STRUCT_P | |
4869 | macro. | |
4870 | * rtl.h (MEM_SET_IN_STRUCT_P): Removed. | |
4871 | ||
5d304e47 AK |
4872 | 2011-03-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
4873 | ||
4874 | * config/s390/s390-protos.h (s390_label_align): New prototype. | |
4875 | * config/s390/s390.c (s390_label_align): New function. | |
4876 | * config/s390/s390.h (LABEL_ALIGN): New target macro definition. | |
4877 | ||
93b826f0 MM |
4878 | 2011-03-08 Michael Meissner <meissner@linux.vnet.ibm.com> |
4879 | ||
4880 | PR target/47755 | |
4881 | * config/rs6000/rs6000.c (easy_altivec_constant): Correctly handle | |
4882 | V2DI/V2DF constants. Only all 0's or all 1's are easy. | |
4883 | (output_vec_const_move): Ditto. | |
4884 | ||
ef78aed6 AS |
4885 | 2011-03-08 Anatoly Sokolov <aesok@post.ru> |
4886 | ||
4887 | * config/mips/mips.h (PREFERRED_RELOAD_CLASS): Remove macro. | |
4888 | * config/mips/mips-protos.h (mips_preferred_reload_class): Remove. | |
4889 | * config/mips/mips.c (mips_preferred_reload_class): Make static. | |
4890 | Change 'rclass' argument and result type to reg_class_t. | |
4891 | (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
4892 | ||
5f892aa0 GJL |
4893 | 2011-03-08 Georg-Johann Lay <avr@gjlay.de> |
4894 | ||
9e43ad68 UB |
4895 | * config/avr/avr.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. |
4896 | * config/avr/avr.c (TARGET_REGISTER_MOVE_COST) | |
4897 | (TARGET_MEMORY_MOVE_COST): Define. | |
4898 | (avr_register_move_cost, avr_memory_move_cost): New Functions. | |
5f892aa0 | 4899 | |
32bd2409 JJ |
4900 | 2011-03-08 Jakub Jelinek <jakub@redhat.com> |
4901 | ||
530a4800 JJ |
4902 | PR debug/47881 |
4903 | * ira.c (ira): Call df_analyze again if delete_trivially_dead_insns | |
4904 | removed anything. | |
4905 | ||
32bd2409 JJ |
4906 | PR tree-optimization/48022 |
4907 | * fold-const.c (fold_comparison): Don't call fold_overflow_warning | |
4908 | for EQ/NE_EXPR. | |
4909 | ||
c7148991 JJ |
4910 | 2011-03-07 Jakub Jelinek <jakub@redhat.com> |
4911 | ||
4912 | PR debug/47991 | |
4913 | * var-tracking.c (find_use_val): Return NULL for | |
4914 | cui->sets && cui->store_p BLKmode MEMs. | |
4915 | ||
43070a6e AS |
4916 | 2011-03-07 Anatoly Sokolov <aesok@post.ru> |
4917 | ||
4918 | * config/stormy16/stormy16.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): | |
4919 | Remove. | |
4920 | * config/stormy16/stormy16-protos.h (xstormy16_print_operand, | |
4921 | xstormy16_print_operand_address): Remove. | |
4922 | * config/stormy16/stormy16.c (xstormy16_print_operand, | |
4923 | xstormy16_print_operand_address): Make static. | |
4924 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
4925 | ||
efbe978b | 4926 | 2011-03-07 Pat Haugen <pthaugen@us.ibm.com> |
79eefb0d PH |
4927 | |
4928 | PR target/47862 | |
4929 | * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Define. | |
4930 | * config/rs6000/e500.h (HARD_REGNO_CALLER_SAVE_MODE): Undefine | |
4931 | before definition. | |
4932 | ||
cec8ac0b ZD |
4933 | 2011-03-07 Zdenek Dvorak <ook@ucw.cz> |
4934 | ||
4935 | PR bootstrap/48000 | |
4936 | * cfgloopmanip.c (fix_bb_placements): Return immediately | |
4937 | if FROM is BASE_LOOP's header. | |
4938 | ||
59527282 PW |
4939 | 2011-03-07 Paul Wögerer <paul_woegerer@mentor.com> |
4940 | ||
4941 | * gimplify.c (gimplify_function_tree): Fix building calls | |
4942 | to __builtin_return_address. | |
4943 | ||
617718f7 AM |
4944 | 2011-03-07 Alan Modra <amodra@gmail.com> |
4945 | ||
4946 | * config/rs6000/linux.h (TARGET_ASM_FILE_END): Don't define. | |
4947 | * config/rs6000/linux64.h (TARGET_ASM_FILE_END): Don't define. | |
4948 | * config/rs6000/sysv4.h (TARGET_ASM_FILE_END): Define. | |
4949 | * config/rs6000/rs6000-protos.h (init_cumulative_args): Add fndecl and | |
4950 | return_mode args. | |
4951 | * config/rs6000/rs6000.h (CUMULATIVE_ARGS): Add "escapes". | |
4952 | (INIT_CUMULATIVE_ARGS): Pass FNDECL, VOIDmode. | |
4953 | (INIT_CUMULATIVE_INCOMING_ARGS): Pass current_function_decl, VOIDmode. | |
4954 | (INIT_CUMULATIVE_LIBCALL_ARGS): Pass NULL_TREE, MODE. | |
4955 | * config/rs6000/rs6000.c | |
4956 | (rs6000_elf_end_indicate_exec_stack): Rename to.. | |
4957 | (rs6000_elf_file_end): ..this. Only call file_end_indicate_exec_stack | |
4958 | for POWERPC_LINUX. Move code emitting .gnu_attribute to here, from.. | |
4959 | (rs6000_file_start): ..here. | |
4960 | (rs6000_passes_float, rs6000_passes_vector, rs6000_returns_struct): New | |
4961 | file scope variables. | |
4962 | (call_ABI_of_interest): New function. | |
4963 | (init_cumulative_args): Set above vars when function return value | |
4964 | is a float, vector, or small struct. | |
4965 | (rs6000_function_arg_advance_1): Likewise for function args. | |
4966 | (rs6000_va_start): Set rs6000_passes_float if variable arg function | |
4967 | references float args. | |
4968 | ||
38528d50 MX |
4969 | 2011-03-07 Mingjie Xing <mingjie.xing@gmail.com> |
4970 | ||
4971 | * doc/cfg.texi: Remove "See" before @ref. | |
4972 | * doc/invoke.texi: Likewise. | |
4973 | ||
f42cf4f4 JM |
4974 | 2011-03-05 Jason Merrill <jason@redhat.com> |
4975 | ||
4976 | * doc/invoke.texi (C++ Dialect Options): Document ABI v5. | |
4977 | ||
804a304d AG |
4978 | 2011-03-05 Anthony Green <green@moxielogic.com> |
4979 | ||
4980 | * config.gcc (moxie-*-elf): Add newlib-stdint.h to tmfile. | |
4981 | ||
634ee309 ZD |
4982 | 2011-03-05 Zdenek Dvorak <ook@ucw.cz> |
4983 | ||
4984 | PR rtl-optimization/47899 | |
4985 | * cfgloopmanip.c (fix_bb_placements): Fix first argument | |
4986 | to flow_loop_nested_p when moving the loop upward. | |
4987 | ||
6fe471c8 RE |
4988 | 2011-03-05 Richard Earnshaw <rearnsha@arm.com> |
4989 | ||
4990 | PR target/47719 | |
4991 | * arm.md (movhi_insn_arch4): Accept any immediate constant. | |
4992 | ||
cc58ceee JJ |
4993 | 2011-03-05 Jakub Jelinek <jakub@redhat.com> |
4994 | ||
4995 | PR tree-optimization/47967 | |
4996 | * ipa-cp.c (build_const_val): Return NULL instead of creating | |
4997 | VIEW_CONVERT_EXPR for mismatching sizes. | |
4998 | (ipcp_create_replace_map): Return NULL if build_const_val failed. | |
4999 | (ipcp_insert_stage): If ipcp_create_replace_map returns NULL, | |
5000 | give up on versioning. | |
5001 | ||
ea868305 AM |
5002 | 2011-03-05 Alan Modra <amodra@gmail.com> |
5003 | ||
5004 | PR target/47986 | |
5005 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle | |
5006 | full cmodel medium/large lo_sum + high addresses. | |
5007 | ||
bc6ce334 AK |
5008 | 2011-03-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
5009 | ||
5010 | * config/s390/s390.c (s390_decompose_address): Reject non-literal | |
5011 | pool references in UNSPEC_LTREL_OFFSET. | |
5012 | ||
87e7b310 JH |
5013 | 2011-03-04 Jan Hubicka <jh@suse.cz> |
5014 | ||
5015 | PR lto/47497 | |
5016 | * lto-symtab.c (lto_cgraph_replace_node): Do not set thunk.alias. | |
5017 | (lto_symtab_merge_cgraph_nodes_1): Update thunk.alias pointers here. | |
d34abfd2 UB |
5018 | * cgraph.h (cgraph_same_body_alias, cgraph_add_thunk): |
5019 | Add node pointers. | |
87e7b310 JH |
5020 | * cgraph.c (cgraph_same_body_alias_1, cgraph_same_body_alias, |
5021 | cgraph_add_thunk): Add node pointers. | |
5022 | * lto-cgraph.c (lto_output_node): Verify that thunks&aliases are | |
5023 | associated to right node. | |
5024 | (input_node): Update use of cgraph_same_body_alias | |
5025 | and cgraph_add_thunk. | |
5026 | ||
d9c64246 CF |
5027 | 2011-03-04 Changpeng Fang <changpeng.fang@amd.com> |
5028 | ||
5029 | * config/i386/i386.opt (mprefer-avx128): New flag. | |
d34abfd2 UB |
5030 | * config/i386/i386.c (ix86_preferred_simd_mode): Prefer 128-bit AVX |
5031 | modes when the flag -mprefer-avx128 is on. | |
d9c64246 | 5032 | |
08707076 RS |
5033 | 2011-03-04 Richard Sandiford <richard.sandiford@linaro.org> |
5034 | ||
5035 | * dwarf2out.c (compare_loc_operands): Fix address handling. | |
5036 | ||
52517c81 AM |
5037 | 2011-03-04 Alan Modra <amodra@gmail.com> |
5038 | ||
5039 | * tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment. | |
5040 | ||
b147c5b9 RG |
5041 | 2011-03-04 Richard Guenther <rguenther@suse.de> |
5042 | ||
5043 | PR middle-end/47968 | |
5044 | * expmed.c (extract_bit_field_1): Prefer vector modes that | |
5045 | vec_extract patterns can handle. | |
5046 | ||
8750672f RG |
5047 | 2011-03-04 Richard Guenther <rguenther@suse.de> |
5048 | ||
5049 | PR middle-end/47975 | |
5050 | * optabs.c (optab_for_tree_code): Do not use VECTOR_MODE_P. | |
5051 | ||
9eac0f2a RH |
5052 | 2011-03-04 Richard Henderson <rth@redhat.com> |
5053 | ||
5054 | * explow.c (emit_stack_save): Remove 'after' parameter. | |
5055 | (emit_stack_restore): Likewise. | |
5056 | * expr.h: Update to match. | |
5057 | * builtins.c, calls.c, stmt.c: Likewise. | |
5058 | * config/alpha/alpha.md, config/avr/avr.md: Likewise. | |
5059 | * config/mips/mips.md, config/pa/pa.md, config/vax/vax.md: Likewise. | |
5060 | * function.c (expand_function_end): Insert the emit_stack_save | |
5061 | sequence before parm_birth_insn instead of after. | |
5062 | ||
dfee1406 UB |
5063 | 2011-03-03 Uros Bizjak <ubizjak@gmail.com> |
5064 | ||
5065 | * config/i386/sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX. | |
5066 | (ssse3_pmaddubsw128): Ditto. | |
5067 | (ssse3_pmaddubsw): Ditto. | |
5068 | ||
f1d4c3de SE |
5069 | 2011-03-03 Steve Ellcey <sje@cup.hp.com> |
5070 | ||
5071 | * config/ia64/t-hpux: Add $(srcdir)/unwind-c.c to LIB2ADDEH | |
5072 | ||
71f3a3f5 JJ |
5073 | 2011-03-03 Jakub Jelinek <jakub@redhat.com> |
5074 | ||
423ed416 JJ |
5075 | PR c/47963 |
5076 | * gimplify.c (omp_add_variable): Only call omp_notice_variable | |
5077 | on TYPE_SIZE_UNIT if it is a DECL. | |
5078 | ||
71f3a3f5 JJ |
5079 | PR debug/47283 |
5080 | * cfgexpand.c (expand_debug_expr) <case MEM_REF>: If MEM_REF | |
5081 | first operand is not is_gimple_mem_ref_addr, try to fold it. | |
5082 | If the operand still isn't is_gimple_mem_ref_addr, clear | |
5083 | MEM_EXPR on op0. | |
5084 | ||
4b1a5c0d RG |
5085 | 2011-03-03 Richard Guenther <rguenther@suse.de> |
5086 | ||
5087 | PR middle-end/47283 | |
5088 | * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Make code | |
5089 | match comment. | |
5090 | (refs_may_alias_p_1): For release branches return true if | |
5091 | we are confused by our input. | |
5092 | ||
b46616fd AK |
5093 | 2011-03-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
5094 | ||
5095 | * config/s390/s390.c (s390_function_value): Rename to ... | |
5096 | (s390_function_and_libcall_value): ... this. | |
5097 | (s390_function_value): New function. | |
5098 | (s390_libcall_value): New function. | |
dfee1406 | 5099 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Define target hooks. |
b46616fd AK |
5100 | * config/s390/s390.h (FUNCTION_VALUE, LIBCALL_VALUE): Remove |
5101 | target macro definitions. | |
5102 | * config/s390/s390-protos.h (s390_function_value): Remove prototype. | |
5103 | ||
46d8fabb JM |
5104 | 2011-03-02 Joseph Myers <joseph@codesourcery.com> |
5105 | ||
5106 | * config/i386/freebsd64.h (CC1_SPEC): Define. | |
5107 | * config/i386/linux64.h (CC1_SPEC): Define. | |
5108 | * config/i386/x86-64.h (CC1_SPEC): Don't define. | |
5109 | ||
6b1ce545 AS |
5110 | 2011-03-02 Anatoly Sokolov <aesok@post.ru> |
5111 | ||
5112 | * config/stormy16/stormy16.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): | |
5113 | Remove. | |
5114 | * config/stormy16/stormy16.c: Include reload.h. | |
5115 | (xstormy16_memory_move_cost): New function. | |
5116 | (TARGET_MEMORY_MOVE_COST): Define. | |
5117 | ||
34161e98 RS |
5118 | 2011-03-02 Richard Sandiford <richard.sandiford@linaro.org> |
5119 | ||
5120 | PR rtl-optimization/47925 | |
5121 | * cse.c (count_reg_usage): Don't ignore the SET_DEST of instructions | |
5122 | with side effects. Remove the more-specific check for volatile asms. | |
5123 | ||
f60a97cf AM |
5124 | 2011-03-02 Alan Modra <amodra@gmail.com> |
5125 | ||
5126 | PR target/47935 | |
5127 | * config/rs6000/predicates.md (lwa_operand): Check cmodel medium | |
5128 | toc relative addresses for valid offsets. | |
5129 | ||
f2ca11ca RG |
5130 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
5131 | ||
5132 | PR tree-optimization/47890 | |
5133 | * tree-vect-loop.c (get_initial_def_for_induction): Set | |
5134 | related stmt properly. | |
5135 | ||
7a00d9ea RG |
5136 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
5137 | ||
5138 | PR lto/47924 | |
5139 | * lto-streamer.c (lto_record_common_node): Also register | |
5140 | the canonical type. | |
5141 | ||
06c7edcc RG |
5142 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
5143 | ||
5144 | PR lto/46911 | |
5145 | * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers): | |
5146 | Do not stream DECL_ABSTRACT_ORIGIN. | |
5147 | (lto_input_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION, | |
5148 | BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN. | |
5149 | * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): | |
5150 | Do not stream DECL_ABSTRACT_ORIGIN. | |
5151 | (lto_output_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION, | |
5152 | BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN. | |
5153 | ||
998871e9 AS |
5154 | 2011-02-28 Anatoly Sokolov <aesok@post.ru> |
5155 | ||
5156 | * config/stormy16/stormy16.h (FUNCTION_VALUE, LIBCALL_VALUE, | |
5157 | FUNCTION_VALUE_REGNO_P): Remove. | |
b2e2ea67 | 5158 | * config/stormy16/stormy16-protos.h (xstormy16_function_value): Remove. |
998871e9 AS |
5159 | * config/stormy16/stormy16.c (xstormy16_function_value): Make static. |
5160 | Add 'outgoing' argument. | |
5161 | (xstormy16_libcall_value, xstormy16_function_value_regno_p): New | |
5162 | function. | |
5163 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
5164 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
5165 | ||
94369251 KT |
5166 | 2011-02-28 Kai Tietz <kai.tietz@onevision.com> |
5167 | ||
5168 | PR debug/28047 | |
5169 | * dwarf2out.c (file_table_eq): Use filename_cmp instead of strcmp. | |
5170 | (lookup_filename): Likewise. | |
b2e2ea67 | 5171 | * final.c (remap_debug_filename): Use filename_ncmp instead of strncmp. |
94369251 | 5172 | |
80a832cd JJ |
5173 | 2011-02-28 Bernd Schmidt <bernds@codesourcery.com> |
5174 | Jakub Jelinek <jakub@redhat.com> | |
5175 | ||
5176 | PR middle-end/47893 | |
5177 | * rtl.h (ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD): Define. | |
5178 | (assign_stack_local_1): Change last argument type to int. | |
5179 | * function.c (assign_stack_local_1): Replace reduce_alignment_ok | |
5180 | argument with kind. If bit ASLK_RECORD_PAD is not set in it, | |
b2e2ea67 | 5181 | don't record padding space into frame_space_list nor use those areas. |
80a832cd JJ |
5182 | (assign_stack_local): Adjust caller. |
5183 | (assign_stack_temp_for_type): Call assign_stack_local_1 instead | |
5184 | of assign_stack_local, pass 0 as last argument. | |
5185 | * caller-save.c (setup_save_areas): Adjust assign_stack_local_1 | |
5186 | callers. | |
5187 | ||
1b500976 JJ |
5188 | 2011-02-28 Jakub Jelinek <jakub@redhat.com> |
5189 | ||
f61c6f34 JJ |
5190 | PR debug/47283 |
5191 | * cfgexpand.c (convert_debug_memory_address): Add AS parameter. | |
5192 | Use target address_mode and pointer_mode hooks instead of hardcoded | |
5193 | Pmode and ptr_mode. Handle some simple cases of extending if | |
5194 | POINTERS_EXTEND_UNSIGNED < 0. | |
5195 | (expand_debug_expr) <case MEM_REF, INDIRECT_REF, TARGET_MEM_REF>: | |
5196 | Call convert_debug_memory_address. | |
5197 | (expand_debug_expr) <case ADDR_EXPR>: Pass as to | |
5198 | convert_debug_memory_address. | |
5199 | ||
1b500976 JJ |
5200 | PR middle-end/46790 |
5201 | * configure.ac (HAVE_LD_EH_GC_SECTIONS_BUG): New test. | |
5202 | * configure: Regenerated. | |
5203 | * config.in: Regenerated. | |
5204 | * varasm.c (default_function_section): Return NULL | |
b2e2ea67 | 5205 | if HAVE_LD_EH_GC_SECTIONS_BUG and decl has implicit section name. |
1b500976 | 5206 | |
2f2935b6 MJ |
5207 | 2011-02-28 Martin Jambor <mjambor@suse.cz> |
5208 | ||
5209 | * ipa-inline.c (cgraph_decide_inlining_of_small_functions): Fix | |
5210 | the description to match the printed values. | |
5211 | ||
474086eb RG |
5212 | 2011-02-28 Richard Guenther <rguenther@suse.de> |
5213 | ||
5214 | * tree-inline.c (tree_function_versioning): Set BLOCK_SUPERCONTEXT | |
5215 | of the copied scope tree. | |
5216 | ||
15bf6f3a RW |
5217 | 2011-02-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
5218 | ||
5219 | * doc/extend.texi (Function Attributes): Avoid deeply (and | |
5220 | wrongly) nested tables. | |
5221 | ||
f6b439c9 JJ |
5222 | 2011-02-27 Jakub Jelinek <jakub@redhat.com> |
5223 | ||
5224 | PR middle-end/47903 | |
5225 | * real.c (real_arithmetic) <case PLUS_EXPR, MINUS_EXPR, | |
5226 | MULT_EXPR, RDIV_EXPR>: Clear padding bits in *r first if | |
5227 | r isn't op0 nor op1. | |
5228 | ||
1d8ca2c7 GJL |
5229 | 2011-02-23 Georg-Johann Lay <avr@gjlay.de> |
5230 | ||
5231 | * config/avr/avr.md: Remove magic comment for emacs. | |
5232 | ||
593fca4b GJL |
5233 | 2011-02-23 Georg-Johann Lay <avr@gjlay.de> |
5234 | ||
5235 | PR target/45261 | |
5236 | * config/avr/avr.c (avr_option_override): Use error on bad options. | |
5237 | (avr_help): New function. | |
5238 | (TARGET_HELP): Define. | |
5239 | ||
6609216e GJL |
5240 | 2011-02-22 Georg-Johann Lay <avr@gjlay.de> |
5241 | ||
5242 | PR target/42240 | |
5243 | * config/avr/avr.c (avr_cannot_modify_jumps_p): New function. | |
5244 | (TARGET_CANNOT_MODIFY_JUMPS_P): Define. | |
5245 | ||
03d458af GP |
5246 | 2011-02-26 Gerald Pfeifer <gerald@pfeifer.com> |
5247 | ||
5248 | * doc/invoke.texi (ARC Options): Use CPU instead of cpu. | |
5249 | (ARM Options): Ditto. | |
5250 | (i386 and x86-64 Options): Ditto. | |
5251 | (RX Options): Ditto. | |
5252 | (SPARC Options): Ditto. | |
5253 | ||
1c379b78 TC |
5254 | 2011-02-26 Tijl Coosemans <tijl@coosemans.org> |
5255 | ||
5256 | * config.gcc (i386-*-freebsd*): Make i486 the default arch on | |
5257 | FreeBSD 6 and later. Generally use cpu generic. | |
5258 | ||
d5ed058c | 5259 | 2011-02-25 Gerald Pfeifer <gerald@pfeifer.com> |
b2e2ea67 | 5260 | |
d5ed058c GP |
5261 | * doc/cpp.texi: Update copyright years. |
5262 | ||
509d65dd | 5263 | 2011-02-25 Sebastien Bourdeauducq <sebastien@milkymist.org> |
308d39cd | 5264 | |
509d65dd | 5265 | PR target/46898 |
308d39cd SB |
5266 | * config/lm32/lm32.md (ashrsi3): Added needed variable. |
5267 | ||
509d65dd | 5268 | 2011-02-25 Jon Beniston <jon@beniston.com> |
308d39cd | 5269 | |
509d65dd | 5270 | PR target/46898 |
308d39cd SB |
5271 | * config/lm32/lm32.h (INCOMING_RETURN_ADDR_RTX): New. |
5272 | * config/lm32/lm32.md (ashlsi3): Remove unused variable. | |
5273 | * config/lm32/lm32.c (TARGET_EXCEPT_UNWIND_INFO): New. | |
5274 | (lm32_block_move_inline): Add type cast to remove warning. | |
b2e2ea67 | 5275 | (lm32_expand_prologue): Generate fp in a way compatible with dwarf2out. |
308d39cd SB |
5276 | (gen_int_relational): Move declarations to start of function. |
5277 | ||
822ba6d7 EB |
5278 | 2011-02-25 Eric Botcazou <ebotcazou@adacore.com> |
5279 | ||
5280 | PR tree-optimization/45470 | |
5281 | * tree-vect-data-refs.c (vect_analyze_data_refs): Fail if a statement | |
5282 | can throw internally only. | |
5283 | * tree-vect-stmts.c (vectorizable_call): Likewise. | |
5284 | ||
ef795fc2 AS |
5285 | 2011-02-24 Anatoly Sokolov <aesok@post.ru> |
5286 | ||
5287 | * config/stormy16/stormy16.h (PREFERRED_RELOAD_CLASS, | |
5288 | PREFERRED_OUTPUT_RELOAD_CLASS): Remove. | |
5289 | * config/stormy16/stormy16-protos.h | |
5290 | (xstormy16_preferred_reload_class): Remove. | |
5291 | * config/stormy16/stormy16.c (xstormy16_preferred_reload_class): Make | |
5292 | static. Change 'rclass' argument and return type to reg_class_t. | |
5293 | (TARGET_PREFERRED_RELOAD_CLASS, | |
5294 | TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. | |
5295 | ||
1c3277ee RG |
5296 | 2011-02-24 Richard Guenther <rguenther@suse.de> |
5297 | ||
5298 | * lto-streamer-in.c (input_bb): Do not find referenced vars | |
5299 | in debug statements. | |
5300 | ||
67e18edb JM |
5301 | 2011-02-23 Jason Merrill <jason@redhat.com> |
5302 | ||
5303 | * common.opt (fabi-version): Document v5 and v6. | |
5304 | ||
b14fad9d RG |
5305 | 2011-02-23 Richard Guenther <rguenther@suse.de> |
5306 | ||
5307 | PR tree-optimization/47849 | |
5308 | * tree-if-conv.c (main_tree_if_conversion): Free postdom info. | |
5309 | ||
7fcf46f5 JZ |
5310 | 2011-02-23 Jie Zhang <jie@codesourcery.com> |
5311 | ||
5312 | * opts-common.c (decode_cmdline_option): Print empty string | |
5313 | argument as "" in decoded->orig_option_with_args_text. | |
5314 | * gcc.c (execute): Print empty string argument as "" | |
5315 | in the verbose output. | |
5316 | (do_spec_1): Keep empty string argument. | |
5317 | ||
f85b70fd NF |
5318 | 2011-02-23 Nathan Froyd <froydnj@codesourcery.com> |
5319 | ||
5320 | * config.gcc: Declare score-* and crx-* obsolete. | |
5321 | ||
b152a615 JZ |
5322 | 2011-02-23 Jie Zhang <jie@codesourcery.com> |
5323 | ||
5324 | PR rtl-optimization/47763 | |
5325 | * web.c (web_main): Ignore naked clobber when replacing register. | |
5326 | ||
bb6e77bc AS |
5327 | 2011-02-22 Anatoly Sokolov <aesok@post.ru> |
5328 | ||
5329 | * config/stormy16/stormy16.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): | |
5330 | Remove. | |
5331 | ||
68bf6491 SP |
5332 | 2011-02-22 Sebastian Pop <sebastian.pop@amd.com> |
5333 | ||
5334 | PR doc/47848 | |
5335 | * doc/invoke.texi: Do not mention -ftree-loop-if-convert-memory-writes. | |
5336 | ||
88ee1fc7 MS |
5337 | 2011-02-22 Mike Stump <mikestump@comcast.net> |
5338 | ||
5339 | * acinclude.m4 (gcc_cv_gas_vers): Add -arch ppc for probing darwin | |
5340 | assembler. | |
5341 | * configure: Regenerate. | |
5342 | ||
6042d1dd CLT |
5343 | 2011-02-21 Chung-Lin Tang <cltang@codesourcery.com> |
5344 | ||
5345 | PR rtl-optimization/46002 | |
5346 | * ira-color.c (update_copy_costs): Change class intersection | |
5347 | test to reg_class_contents[] test of 'hard_regno'. | |
5348 | ||
7de97f9e JM |
5349 | 2011-02-21 Joseph Myers <joseph@codesourcery.com> |
5350 | ||
5351 | * config/alpha/osf5.opt (mno-mips-tfile): Mark as Target rather | |
5352 | than Driver option. | |
5353 | * config/hpux11.opt (mt): Likewise. | |
5354 | * config/microblaze/microblaze.opt (mxl-mode-xilkernel): Likewise. | |
5355 | * config/rs6000/xilinx.opt (mno-clearbss, mppcperflib): Likewise. | |
5356 | * config/vax/elf.opt (mno-asm-pic): Likewise. | |
5357 | * config/vms/vms.opt (map, mvms-return-codes): Likewise. | |
5358 | ||
d1d46f9f MS |
5359 | 2011-02-21 Mike Stump <mikestump@comcast.net> |
5360 | ||
5361 | PR target/47822 | |
5362 | * config/darwin-protos.h (darwin_init_cfstring_builtins): Return a | |
5363 | tree so we can get save the type. | |
5364 | * config/i386/darwin.h (SUBTARGET_INIT_BUILTINS): Reserve builtin slot | |
5365 | for CFString instead of trying to use past the end of the builtins. | |
5366 | * config/i386/i386.c (IX86_BUILTIN_CFSTRING): Likewise. | |
5367 | * config/rs6000/rs6000-builtin.def (RS6000_BUILTIN_CFSTRING): Likewise. | |
5368 | * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): Likewise. | |
5369 | * config/darwin.c (DARWIN_BUILTIN_CFSTRINGMAKECONSTANTSTRING): | |
5370 | Rename to darwin_builtin_cfstring. | |
5371 | (darwin_init_cfstring_builtins): Return the built type. | |
5372 | ||
23e0d930 UB |
5373 | 2011-02-21 Uros Bizjak <ubizjak@gmail.com> |
5374 | ||
5375 | PR target/47840 | |
5376 | * config/i386/avxintrin.h (_mm256_insert_epi32): Use _mm_insert_epi32. | |
5377 | (_mm256_insert_epi64): Use _mm_insert_epi64. | |
5378 | ||
192997cf AS |
5379 | 2011-02-21 Anatoly Sokolov <aesok@post.ru> |
5380 | ||
5381 | * config/stormy16/stormy16.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
5382 | * config/stormy16/stormy16-protos.h | |
5383 | (xstormy16_mode_dependent_address_p): Remove. | |
5384 | * config/stormy16/stormy16.c (xstormy16_mode_dependent_address_p): | |
5385 | Make static. Change return type to bool. Change argument type to | |
5386 | const_rtx. Remove dead code. | |
5387 | (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
5388 | ||
e292d003 RG |
5389 | 2011-02-21 Richard Guenther <rguenther@suse.de> |
5390 | ||
5391 | PR lto/47820 | |
5392 | * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers): | |
5393 | Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs. | |
5394 | (lto_input_ts_block_tree_pointers): Hook a BLOCK into the | |
5395 | TUs context. | |
23e0d930 | 5396 | * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): |
e292d003 RG |
5397 | Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs. |
5398 | ||
77f846e9 RG |
5399 | 2011-02-20 Richard Guenther <rguenther@suse.de> |
5400 | ||
5401 | PR lto/47822 | |
5402 | * tree.c (free_lang_data_in_decl): Clean builtins from | |
5403 | the TU decl BLOCK_VARS. | |
23e0d930 | 5404 | |
b2cddfc8 AO |
5405 | 2011-02-19 Alexandre Oliva <aoliva@redhat.com> |
5406 | ||
5407 | PR debug/47620 | |
5408 | PR debug/47630 | |
5409 | * haifa-sched.c (fix_tick_ready): Skip tick computation | |
5410 | for debug insns. | |
5411 | ||
becf4c11 RG |
5412 | 2011-02-19 Richard Guenther <rguenther@suse.de> |
5413 | ||
5414 | PR lto/47647 | |
5415 | * lto-streamer-in.c (lto_input_ts_decl_minimal_tree_pointers): | |
5416 | Remove lazy BLOCK_VARS streaming. | |
5417 | (lto_input_ts_block_tree_pointers): Likewise. | |
5418 | * lto-streamer-out.c (lto_output_ts_block_tree_pointers): Likewise. | |
5419 | ||
27f98305 JM |
5420 | 2011-02-19 Joseph Myers <joseph@codesourcery.com> |
5421 | ||
5422 | * config.gcc (i[34567]86-pc-msdosdjgpp*): Use i386/djgpp-stdint.h. | |
5423 | ||
064bf3f4 JM |
5424 | 2011-02-19 Joseph Myers <joseph@codesourcery.com> |
5425 | ||
5426 | * config/i386/biarch32.h, config/i386/mach.h, | |
5427 | config/rs6000/aix.opt, config/sh/superh64.h: Remove. | |
5428 | ||
9215ddc3 JJ |
5429 | 2011-02-19 Jakub Jelinek <jakub@redhat.com> |
5430 | ||
5431 | PR target/47800 | |
5432 | * config/i386/i386.md (peephole2 for shift and plus): Use | |
5433 | operands[1] original mode in the first insn. | |
5434 | ||
8b021004 MS |
5435 | 2011-02-18 Mike Stump <mikestump@comcast.net> |
5436 | ||
65ded153 | 5437 | * config/t-darwin (TM_H): Add dependency on darwin-sections.def. |
8b021004 | 5438 | |
f84ae14c JH |
5439 | 2011-02-18 Jan Hubicka <jh@suse.cz> |
5440 | ||
5441 | PR middle-end/47788 | |
65ded153 EB |
5442 | * ipa-inline.c (compute_inline_parameters): Set disregard_inline_limits |
5443 | to zero when the function is not inlinable at all. | |
f84ae14c | 5444 | |
eddabc80 JDA |
5445 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
5446 | ||
5447 | * config.gcc (hppa[12]*-*-hpux11*): Set extra_parts. | |
5448 | * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, | |
5449 | pthread_mutex_unlock, pthread_once): Reinstate pthread stubs. | |
5450 | * config/pa/t-pa-hpux11: Add rules to build pthread stubs. | |
5451 | * config/pa/t-pa64: Likewise. | |
5452 | * config/pa/pa-hpux11.h (LINK_GCC_C_SEQUENCE_SPEC): Define. | |
5453 | ||
ca3da783 JJ |
5454 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
5455 | ||
5456 | PR driver/47787 | |
5457 | * gcc.c (default_compilers): Clear combinable field for "@cpp-output". | |
5458 | ||
430aa868 JDA |
5459 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
5460 | ||
5461 | PR target/47792 | |
5462 | * gthr-dce.h (__gthread_mutx_destroy): Fix typo in name. | |
5463 | ||
4bf7ff7e AS |
5464 | 2011-02-18 Anatoly Sokolov <aesok@post.ru> |
5465 | ||
5466 | * config/m32r/m32r.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, | |
5467 | RTX_OK_FOR_BASE_P, RTX_OK_FOR_OFFSET_P, LEGITIMATE_OFFSET_ADDRESS_P, | |
5468 | LEGITIMATE_LO_SUM_ADDRESS_P, LOAD_POSTINC_P, STORE_PREINC_PREDEC_P, | |
5469 | GO_IF_LEGITIMATE_ADDRESS): Remove macros. | |
5470 | * config/m32r/m32r.c (TARGET_LEGITIMATE_ADDRESS_P): Define. | |
5471 | (m32r_rtx_ok_for_base_p, m32r_rtx_ok_for_offset_p, | |
5472 | m32r_legitimate_offset_addres_p, m32r_legitimate_lo_sum_addres_p, | |
5473 | m32r_load_postinc_p, m32r_store_preinc_predec_p, | |
5474 | m32r_legitimate_address_p): New functions. | |
5475 | * config/m32r/constraints.md (constraint "S"): Don't use | |
5476 | STORE_PREINC_PREDEC_P. | |
5477 | (constraint "U"): Don't use LOAD_POSTINC_P. | |
5478 | ||
7efcf910 CLT |
5479 | 2011-02-18 Chung-Lin Tang <cltang@codesourcery.com> |
5480 | ||
5481 | PR rtl-optimization/46178 | |
5482 | * ira.c (setup_hard_regno_class): Use ira_class_translate[] to | |
5483 | compute ira_hard_regno_cover_class[]. | |
5484 | ||
237d6259 RG |
5485 | 2011-02-18 Richard Guenther <rguenther@suse.de> |
5486 | ||
5487 | PR lto/47798 | |
5488 | * lto-streamer.h (lto_global_var_decls): Declare. | |
5489 | * lto-streamer-in.c (lto_register_var_decl_in_symtab): Register | |
5490 | statics for global var processing. | |
5491 | ||
12d80acc RG |
5492 | 2011-02-18 Richard Guenther <rguenther@suse.de> |
5493 | ||
5494 | PR tree-optimization/47737 | |
5495 | * tree-ssa-loop-im.c (extract_true_false_args_from_phi): Fix | |
5496 | edge dominance check. | |
5497 | ||
abfea58d JJ |
5498 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
5499 | ||
5500 | PR debug/47780 | |
5501 | * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Call copy_rtx to | |
5502 | avoid invalid rtx sharing. | |
5503 | ||
f73c8882 GP |
5504 | 2011-02-18 Gerald Pfeifer <gerald@pfeifer.com> |
5505 | ||
5506 | * doc/cpp.texi (Obsolete Features): Add background on the | |
5507 | origin of assertions. | |
5508 | ||
d764a8e6 IS |
5509 | 2011-02-17 Iain Sandoe <iains@gcc.gnu.org> |
5510 | ||
5511 | * config/darwin-c.c (darwin_cpp_builtins): Define __OBJC2__ for | |
23e0d930 | 5512 | objc_abi == 2. |
d764a8e6 IS |
5513 | * config/darwin.c (output_objc_section_asm_op): Added support for |
5514 | ABI v1 and v2. | |
5515 | (is_objc_metadata): New. | |
5516 | (darwin_objc2_section): New. | |
5517 | (darwin_objc1_section): New. | |
5518 | (machopic_select_section): Added support for ABI v1 and v2. | |
5519 | (darwin_emit_objc_zeroed): New. | |
5520 | (darwin_output_aligned_bss): Detect objc metadata and treat it | |
5521 | appropriately. | |
5522 | (darwin_asm_output_aligned_decl_common): Same. | |
5523 | (darwin_asm_output_aligned_decl_local): Same. | |
5524 | * config/darwin-sections.def: Updated for ABI v1 and v2. | |
5525 | * config/darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): When | |
5526 | compiling Objective-C code for the NeXT runtime, default to using | |
5527 | ABI version 0 for 32-bit, and version 2 for 64-bit. | |
5528 | ||
0a8134ca JM |
5529 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
5530 | ||
5531 | * common.opt (optimize_fast): New Variable. | |
5532 | * opts.c (default_options_optimization): Use opts->x_optimize_fast | |
5533 | instead of local variable ofast. | |
5534 | ||
0a256240 NP |
5535 | 2011-02-17 Nicola Pero <nicola.pero@meta-innovation.com> |
5536 | ||
5537 | * doc/invoke.texi (fobjc-abi-version): Documented. | |
5538 | (fobjc-nilcheck): Documented. | |
5539 | (fno-nil-receiver): Updated documentation to refer to the NeXT ABI | |
5540 | version. | |
5541 | ||
fa381cb2 JM |
5542 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
5543 | ||
5544 | PR driver/47390 | |
5545 | * common.opt (export-dynamic): New Driver option. | |
5546 | * gcc.c (LINK_COMMAND_SPEC): Add comment about %{e*}. | |
5547 | ||
5437eaa6 JM |
5548 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
5549 | ||
5550 | * config/rx/rx.h (LIB_SPEC): Match -msim not -msim*. | |
5551 | ||
bb7e6d55 AO |
5552 | 2011-02-17 Alexandre Oliva <aoliva@redhat.com> |
5553 | Jan Hubicka <jh@suse.cz> | |
5554 | ||
5555 | PR debug/47106 | |
5556 | PR debug/47402 | |
5557 | * cfgexpand.c (account_used_vars_for_block): Remove. | |
5558 | (estimated_stack_frame_size): Use referenced vars. | |
5559 | * tree-inline.c (remap_decl): Only mark VAR_DECLs as referenced | |
5560 | that were referenced in the original function. Test src_fn | |
5561 | rather than cfun. Drop redundant get_var_ann. | |
5562 | (setup_one_parameter): Drop redundant get_var_ann. | |
5563 | (declare_return_variable): Likewise. | |
5564 | (copy_decl_for_dup_finish): Mark VAR_DECLs referenced in src_fn. | |
5565 | (copy_arguments_for_versioning): Drop redundant get_var_ann. | |
5566 | * ipa-inline.c (compute_inline_parameters): Do not compute | |
5567 | disregard_inline_limits here. | |
bb7e6d55 AO |
5568 | (compute_inlinable_for_current, pass_inlinable): New. |
5569 | (pass_inline_parameters): Require PROP_referenced_vars. | |
5570 | * cgraphunit.c (cgraph_process_new_functions): Don't run | |
23e0d930 | 5571 | compute_inline_parameters explicitly unless function is in SSA form. |
bb7e6d55 AO |
5572 | (cgraph_analyze_function): Set .disregard_inline_limits. |
5573 | * tree-sra.c (convert_callers): Compute inliner parameters | |
5574 | only for functions already in SSA form. | |
5575 | ||
f181a8a7 JM |
5576 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
5577 | ||
5578 | * config/sparc/sparc.h (CPP_ENDIAN_SPEC): Don't handle | |
5579 | -mlittle-endian-data. | |
5580 | ||
c6869789 JM |
5581 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
5582 | ||
5583 | * config/sparc/linux64.h (OPTION_DEFAULT_SPECS): Match -mfpu and | |
5584 | -mno-fpu, not -fpu and -no-fpu. | |
5585 | * config/sparc/sol2-bi.h (OPTION_DEFAULT_SPECS): Likewise. | |
5586 | * config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Likewise. | |
5587 | ||
fbf4bfd3 UB |
5588 | 2011-02-17 Uros Bizjak <ubizjak@gmail.com> |
5589 | ||
5590 | PR target/43653 | |
5591 | * config/i386/i386.c (ix86_secondary_reload): Handle SSE | |
5592 | input reload with PLUS RTX. | |
5593 | ||
70be5dc7 JM |
5594 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
5595 | ||
5596 | * config/mips/mips.opt (mno-mdmx): Use Var(TARGET_MDMX, 0) instead | |
5597 | of InverseVar(MDMX). | |
5598 | ||
30b1646e JM |
5599 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
5600 | ||
5601 | * config/sh/embed-elf.h (LIBGCC_SPEC): Match -m4-340 instead of | |
5602 | --m4-340. | |
5603 | ||
ab7b71e9 JM |
5604 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
5605 | ||
5606 | * config/mn10300/mn10300.opt (mno-crt0): New. | |
5607 | ||
466f3f08 JM |
5608 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
5609 | ||
5610 | * config/m68k/uclinux.opt (static-libc): New Driver option. | |
5611 | ||
8226cd7b JM |
5612 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
5613 | ||
5614 | * config/m32c/m32c.h (LIB_SPEC): Match -msim not -msim*. | |
5615 | ||
45cab1d7 JM |
5616 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
5617 | ||
5618 | * config/lm32/lm32.h (ASM_SPEC): Use %{muser-enabled} instead of | |
5619 | %{muser-extend-enabled}. | |
5620 | ||
65aab64f RG |
5621 | 2011-02-16 Richard Guenther <rguenther@suse.de> |
5622 | ||
5623 | PR tree-optimization/47738 | |
5624 | * tree-ssa-loop.c (run_tree_predictive_commoning): Return | |
5625 | the TODO from tree_predictive_commoning. | |
5626 | ||
fc2fa4fb JL |
5627 | 2011-02-15 Jeff Law <law@redhat.com> |
5628 | ||
5629 | Revert | |
5630 | 2011-01-25 Jeff Law <law@redhat.com> | |
5631 | ||
5632 | PR rtl-optimization/37273 | |
5633 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
5634 | handle them like argument loads from stack slots. Do not double | |
5635 | count memory for memory constants and argument loads from stack slots. | |
5636 | ||
4e380b8e L |
5637 | 2011-02-15 H.J. Lu <hongjiu.lu@intel.com> |
5638 | ||
5639 | PR middle-end/47725 | |
5640 | * combine.c (cant_combine_insn_p): Revert the last change. | |
5641 | ||
e3a69bb4 MM |
5642 | 2011-02-15 Michael Meissner <meissner@linux.vnet.ibm.com> |
5643 | ||
5644 | PR target/47755 | |
5645 | * config/rs6000/predicates.md (easy_vector_constant): Allow V2DI | |
5646 | mode for vector constants. Remove code that checks for TImode. | |
5647 | ||
de650422 AO |
5648 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
5649 | ||
5650 | PR debug/47106 | |
5651 | PR debug/47402 | |
5652 | * cgraph.h (compute_inline_parameters): Return void. | |
5653 | * ipa-inline.c (compute_inline_parameters): Adjust. | |
5654 | ||
30925d94 AO |
5655 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
5656 | ||
5657 | PR debug/47106 | |
5658 | PR debug/47402 | |
5659 | * tree-inline.h (estimated_stack_frame_size): Take cgraph node | |
5660 | rather than decl. | |
5661 | * cfgexpand.c (estimated_stack_frame_size): Likewise. | |
5662 | * ipa-inline.c (compute_inline_parameters): Adjust. | |
5663 | ||
1b9a784a AO |
5664 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
5665 | ||
5666 | PR debug/47106 | |
5667 | PR debug/47402 | |
5668 | * tree-flow.h (FOR_EACH_REFERENCED_VAR): Add FN argument. | |
5669 | Adjust all users. Pass FN to... | |
5670 | * tree-flow-inline.h (first_referenced_var): ... this. Add | |
5671 | fn argument. | |
5672 | * ipa-struct-reorg.c: Adjust. | |
5673 | * tree-dfa.c: Adjust. | |
5674 | * tree-into-ssa.c: Adjust. | |
5675 | * tree-sra.c: Adjust. | |
5676 | * tree-ssa-alias.c: Adjust. | |
5677 | * tree-ssa-live.c: Adjust. | |
5678 | * tree-ssa.c: Adjust. | |
5679 | * tree-ssanames.c: Adjust. | |
5680 | * tree-tailcall.c: Adjust. | |
5681 | ||
27c6b086 AO |
5682 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
5683 | ||
5684 | PR debug/47106 | |
5685 | PR debug/47402 | |
5686 | * tree-flow.h (referenced_var_lookup): Add fn parameter. | |
5687 | Adjust all callers. | |
5688 | * tree-dfa.c (referenced_var_lookup): Use fn instead of cfun. | |
5689 | * tree-flow-inline.h: Adjust. | |
5690 | * gimple-pretty-print.c: Adjust. | |
5691 | * tree-into-ssa.c: Adjust. | |
5692 | * tree-ssa.c: Adjust. | |
5693 | * cfgexpand.c: Adjust. | |
5694 | ||
679e8183 NF |
5695 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
5696 | ||
fbf4bfd3 UB |
5697 | * config/iq2000/i2000.h (REG_CLASS_FROM_LETTER): Delete. |
5698 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
5699 | (EXTRA_CONSTRAINT): Delete. | |
5700 | * config/iq2000/constraints.md: New file. | |
5701 | * config/iq2000/iq2000.md: Include it. | |
679e8183 NF |
5702 | (define_insn ""): Delete. |
5703 | (movsi_internal2, movhi_internal2, movqi_internal2): Delete | |
5704 | unsupported constraint letters from patterns. | |
5705 | (call_value, call_value_internal1): Likewise. | |
5706 | (call_value_multiple_internal1): Likewise. | |
5707 | ||
a45d420a NC |
5708 | 2011-02-15 Nick Clifton <nickc@redhat.com> |
5709 | ||
5710 | * config/mn10300/mn10300.c: Include tm-constrs.h. | |
5711 | (struct liw_data): New data structure describing an LIW candidate | |
5712 | instruction. | |
5713 | (extract_bundle): Use struct liw_data. Allow small integer | |
5714 | operands for some instructions. | |
5715 | (check_liw_constraints): Use struct liw_data. Remove swapped | |
5716 | parameter. Add comments describing the checks. Fix bug when | |
5717 | assigning the source of liw1 to the source of liw2. | |
5718 | (liw_candidate): Delete. Code moved into extract_bundle. | |
5719 | (mn10300_bundle_liw): Use struct liw_data. Check constraints | |
5720 | before swapping. | |
5721 | * config/mn10300/predicates.md (liw_operand): New predicate. | |
5722 | Allows registers and small integer constants. | |
5723 | * config/mn10300/constraints.md (O): New constraint. Accetps | |
5724 | integers in the range -8 to +7 inclusive. | |
5725 | * config/mn10300/mn10300.md (movesi_internal): Add an alternative | |
5726 | for moving a small integer into a register. Give this alternative | |
5727 | LIW attributes. | |
5728 | (addsi3, subsi3, cmpsi, lshrsi3, ashrsi3): Likewise. | |
5729 | (ashlsi3): Likewise, plus give LIW attributes to the alternatives | |
5730 | using the J,K,L and M constraints, | |
5731 | (liw): Remove SI mode on second operands to allow for HI and QI | |
5732 | mode values. | |
5733 | (cmp_liw, liw_cmp): Likewise. Plus fix order of operands in the | |
5734 | instruction. | |
5735 | ||
8a73faf1 L |
5736 | 2011-02-15 H.J. Lu <hongjiu.lu@intel.com> |
5737 | ||
5738 | PR middle-end/47725 | |
5739 | * combine.c (cant_combine_insn_p): Check zero/sign extended | |
5740 | hard registers. | |
5741 | ||
48feba28 RG |
5742 | 2011-02-15 Richard Guenther <rguenther@suse.de> |
5743 | ||
5744 | PR tree-optimization/47743 | |
5745 | * tree-ssa-pre.c (phi_translate_1): If we didn't get a value-number | |
5746 | for a non-type-compatible VN lookup bail out. | |
5747 | ||
ad1c1eeb NF |
5748 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
5749 | ||
5750 | * config/fr30/constraints.md: New file. | |
5751 | * config/fr30/fr30.md: Include it. | |
5752 | * config/fr30/fr30.h (REG_CLASS_FROM_LETTER): Delete. | |
5753 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
5754 | (EXTRA_CONSTRAINT): Delete. | |
5755 | ||
49ac143d NF |
5756 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
5757 | ||
5758 | * config/frv/constraints.md: New file. | |
5759 | * config/frv/predicates.md: Include it. | |
5760 | * config/frv/frv.c (reg_class_from_letter): Delete. | |
5761 | (frv_option_override): Don't initialize it. | |
5762 | * config/frv/frv.h (REG_CLASS_FROM_LETTER): Delete. | |
5763 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_K): Delete. | |
5764 | (CONST_OK_FOR_L, CONST_OK_FOR_M, CONST_OK_FOR_N): Delete. | |
5765 | (CONST_OK_FOR_O, CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete. | |
5766 | (CONST_DOUBLE_OK_FOR_G, CONST_DOUBLE_OK_FOR_H): Delete. | |
5767 | (CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
5768 | (EXTRA_CONSTRAINT_FOR_Q, EXTRA_CONSTRAINT_FOR_R): Delete. | |
5769 | (EXTRA_CONSTRAINT_FOR_S, EXTRA_CONSTRAINT_FOR_T): Delete. | |
5770 | (EXTRA_CONSTRAINT_FOR_U, EXTRA_CONSTRAINT): Delete. | |
5771 | (EXTRA_MEMORY_CONSTRAINT, CONSTRAINT_LEN): Delete. | |
5772 | (REG_CLASS_FROM_CONSTRAINT): Delete. | |
5773 | ||
c95f9494 JJ |
5774 | 2011-02-15 Jakub Jelinek <jakub@redhat.com> |
5775 | ||
5776 | PR middle-end/47581 | |
5777 | * config/i386/i386.c (ix86_compute_frame_size): Don't align offset | |
5778 | if frame size is 0 in a leaf function. | |
5779 | ||
13aed611 RO |
5780 | 2011-02-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5781 | ||
5782 | PR pch/14940 | |
5783 | * config/alpha/host-osf.c: New file. | |
5784 | * config/alpha/x-osf: New file. | |
5785 | * config.host (alpha*-dec-osf*): Use it. | |
5786 | ||
b09c3081 AS |
5787 | 2011-02-14 Anatoly Sokolov <aesok@post.ru> |
5788 | ||
5789 | * config/rx/rx.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
5790 | * config/rx/rx-protos.h (rx_is_mode_dependent_addr): Remove. | |
5791 | * config/xtensa/xtensa.c (rx_is_mode_dependent_addr): Rename to... | |
5792 | (rx_mode_dependent_address_p): ...this. Make static. Change argument | |
5793 | type to const_rtx. | |
5794 | (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
5795 | ||
d634083b NF |
5796 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
5797 | ||
5798 | * config/stormy16/constraints.md: New file. | |
5799 | * config/stormy16/predicates.md (nonimmediate_nonstack_operand): | |
5800 | Use satisfies_constraint_Q and satisfies_constraint_R. | |
5801 | * config/stormy16/stomry16-protos.h (xstormy16_extra_constraint_p): | |
5802 | Delete. | |
5803 | (xstormy16_legitiamte_address_p): Declare. | |
5804 | * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Delete. | |
5805 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
5806 | (EXTRA_CONSTRAINT): Delete. | |
fbf4bfd3 | 5807 | * config/stormy16/stormy16.c (xstormy16_legitimate_address_p): |
d634083b NF |
5808 | Un-staticize. |
5809 | (xstormy16_extra_constraint_p): Delete. | |
5810 | ||
c7dd803e EB |
5811 | 2011-02-14 Eric Botcazou <ebotcazou@adacore.com> |
5812 | ||
5813 | PR tree-optimization/46494 | |
5814 | * loop-unroll.c (split_edge_and_insert): Adjust comment. | |
5815 | * loop-init.c (loop_optimizer_finalize): Do not call verify_flow_info. | |
5816 | (pass_rtl_loop_done): Add TODO_verify_flow. | |
5817 | * fwprop.c (pass_rtl_fwprop): Likewise. | |
5818 | * modulo-sched.c (pass_sms): Likewise. | |
5819 | * tree-ssa-dom.c (pass_dominator): Likewise. | |
5820 | * tree-ssa-loop-ch.c (pass_ch): Likewise. | |
5821 | * tree-ssa-loop.c (pass_complete_unrolli): Likewise. | |
5822 | (pass_tree_loop_done): Likewise. | |
5823 | * tree-ssa-pre.c (execute_pre): Likewise. | |
5824 | * tree-ssa-reassoc.c (pass_reassoc): Likewise. | |
5825 | * tree-ssa-sink.c (pass_sink_code): Likewise. | |
5826 | * tree-vrp.c (pass_vrp): Likewise. | |
5827 | ||
c6150df6 NF |
5828 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
5829 | ||
c7dd803e EB |
5830 | * config/v850/constraints.md: New file. |
5831 | * config/v850/v850.md: Include it. | |
5832 | * config/v850/predicates.md (reg_or_0_operand): Use | |
5833 | satisfies_constraint_G. | |
5834 | (special_symbolref_operand): Use satisfies_constraint_K. | |
5835 | * config/v850/v850.h (CONSTANT_ADDRESS_P): Use constraint_satisfied_p. | |
5836 | (GO_IF_LEGITIMATE_ADDRESS): Likewise. | |
5837 | (REG_CLASS_FROM_LETTER, INT_7_BITS, INT_8_BITS): Delete. | |
5838 | (CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete. | |
5839 | (EXTRA_CONSTRAINT): Delete. | |
5840 | (CONST_OK_FOR_I, CONST_OK_FOR_J): Use insn_const_int_ok_for_constraint. | |
5841 | (CONST_OK_FOR_K, CONST_OK_FOR_L, CONST_OK_FOR_M): Likewise. | |
5842 | (CONST_OK_FOR_N, CONST_OK_FOR_O): Likewise. | |
c6150df6 | 5843 | |
30dd1ea3 AS |
5844 | 2011-02-14 Anatoly Sokolov <aesok@post.ru> |
5845 | ||
5846 | PR target/47696 | |
5847 | * config/avr/avr-devices.c (avr_mcu_types): Fix ATmega2560 device | |
5848 | description. | |
5849 | ||
944f4bb3 NF |
5850 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
5851 | ||
5852 | * config/mcore/constraints.md: New file. | |
5853 | * config/mcore/mcore.md: Include it. | |
5854 | * config/mcore/mcore.c (reg_class_from_letter): Delete. | |
5855 | * config/mcore/mcore.h (reg_class_from_letter): Delete. | |
5856 | (REG_CLASS_FROM_LETTER): Delete. | |
5857 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Use | |
5858 | insn_const_int_ok_for_constraint. | |
5859 | (CONST_OK_FOR_K, CONST_OK_FOR_M, CONST_OK_FOR_N): Likewise. | |
5860 | (CONST_OK_FOR_O, CONST_OK_FOR_P): Likewise. | |
5861 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
5862 | (EXTRA_CONSTRAINT): Delete. | |
5863 | ||
ad56a54c RO |
5864 | 2011-02-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5865 | ||
5866 | PR ada/41929 | |
5867 | * config/sparc/sol2-unwind.h: Include <sys/frame.h>, <sys/stack.h> | |
5868 | (IS_SIGHANDLER): Define. | |
5869 | (sparc64_is_sighandler): New function, split off from | |
5870 | sparc64_fallback_frame_state. | |
5871 | (sparc_is_sighandler): New function, split off from | |
5872 | sparc_fallback_frame_state. | |
5873 | (sparc64_fallback_frame_state): Merge with ... | |
5874 | (sparc_fallback_frame_state): ... this into ... | |
5875 | (MD_FALLBACK_FRAME_STATE_FOR): ... this. | |
fbf4bfd3 UB |
5876 | Change new_cfa to long. Remove regs_off, fpu_save_off, fpu_save. |
5877 | Define nframes, mctx. Use IS_SIGHANDLER, handler_args, mctx, walk | |
5878 | stack instead of hardcoded offsets. | |
ad56a54c | 5879 | |
fbf4bfd3 | 5880 | 2011-02-14 Andriy Gapon <avg@freebsd.org> |
67932abf AG |
5881 | |
5882 | PR target/45808 | |
5883 | * config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case. | |
5884 | ||
029c8f3e RW |
5885 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
5886 | ||
5887 | * configure: Regenerate. | |
5888 | ||
a016dc83 JM |
5889 | 2011-02-12 Joseph Myers <joseph@codesourcery.com> |
5890 | ||
5891 | PR driver/45731 | |
5892 | * gcc.c (asm_options): Correct spec matching --target-help. | |
5893 | ||
8957a0ec MJ |
5894 | 2011-02-12 Martin Jambor <mjambor@suse.cz> |
5895 | ||
5896 | * tree-cfg.c (verify_gimple_call): Return true upon invalid argument | |
5897 | to gimple call error. | |
5898 | ||
6ef828bc MS |
5899 | 2011-02-12 Mike Stump <mikestump@comcast.net> |
5900 | ||
5901 | * config/frv/frv.h (TRANSFER_FROM_TRAMPOLINE): Canonicalize | |
5902 | comments in backslash regions. | |
5903 | ||
a4015be5 MS |
5904 | 2011-02-12 Mike Stump <mikestump@comcast.net> |
5905 | Jakub Jelinek <jakub@redhat.com> | |
5906 | Iain Sandoe <iains@gcc.gnu.org> | |
5907 | ||
5908 | PR target/47324 | |
5909 | * dwarf2out.c (output_cfa_loc): When required, apply the | |
5910 | DWARF2_FRAME_REG_OUT macro to adjust register numbers. | |
5911 | (output_loc_sequence): Likewise. | |
5912 | (output_loc_operands_raw): Likewise. | |
5913 | (output_loc_sequence_raw): Likewise. | |
5914 | (output_cfa_loc): Likewise. | |
5915 | (output_loc_list): Suppress register number adjustment when | |
5916 | calling output_loc_sequence() | |
5917 | (output_die): Likewise. | |
5918 | ||
5378dda2 AS |
5919 | 2011-02-12 Anatoly Sokolov <aesok@post.ru> |
5920 | ||
5921 | * config/xtensa/xtensa.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): | |
5922 | Remove macros. | |
5923 | * config/xtensa/xtensa.c (xtensa_register_move_cost, | |
5924 | xtensa_memory_move_cost): New functions. | |
5925 | (TARGET_REGISTER_MOVE_COST, TARGET_REGISTER_MOVE_COST): Define. | |
5926 | ||
f3d533d3 AO |
5927 | 2011-02-12 Alexandre Oliva <aoliva@redhat.com> |
5928 | ||
5929 | PR lto/47225 | |
5930 | * configure.ac (gcc_cv_lto_plugin): Test for liblto_plugin.la | |
5931 | in the current directory. | |
5932 | * configure: Rebuilt. | |
5933 | ||
9d53403c IS |
5934 | 2011-02-12 Iain Sandoe <iains@gcc.gnu.org> |
5935 | ||
5936 | * config/darwin.c (darwin_override_options): Add a hunk missed | |
fbf4bfd3 | 5937 | from the commit of r168571. Trim comment line lengths and |
9d53403c IS |
5938 | correct indents of the preceding block. |
5939 | ||
a350a6c8 IS |
5940 | 2011-02-12 Iain Sandoe <iains@gcc.gnu.org> |
5941 | ||
5942 | * gcc.c (driver_handle_option): Concatenate the argument to -F with | |
5943 | the switch. | |
5944 | ||
bab79a40 JM |
5945 | 2011-02-11 Joseph Myers <joseph@codesourcery.com> |
5946 | ||
5947 | * common.opt (nostartfiles): New Driver option. | |
5948 | ||
1bbc6693 XDL |
5949 | 2011-02-11 Xinliang David Li <davidxl@google.com> |
5950 | ||
5951 | PR tree-optimization/47707 | |
5952 | * tree-chrec.c (convert_affine_scev): Keep type precision. | |
5953 | ||
1da7d8c0 EB |
5954 | 2011-02-11 Eric Botcazou <ebotcazou@adacore.com> |
5955 | ||
5956 | PR tree-optimization/47420 | |
5957 | * ipa-split.c (visit_bb): Punt on any kind of GIMPLE_RESX. | |
5958 | ||
5959 | 2011-02-11 Pat Haugen <pthaugen@us.ibm.com> | |
3f82421f PH |
5960 | |
5961 | PR rtl-optimization/47614 | |
5962 | * rtl.h (check_for_inc_dec): Declare. | |
5963 | * dse.c (check_for_inc_dec): Externalize... | |
5964 | * postreload.c (reload_cse_simplify): ...use it before deleting stmt. | |
5965 | (reload_cse_simplify_operands): Don't simplify opnds with side effects. | |
5966 | ||
4df47bca JM |
5967 | 2011-02-11 Joseph Myers <joseph@codesourcery.com> |
5968 | ||
5969 | PR driver/47678 | |
5970 | * gcc.c (main): Do not compile inputs if there were errors in | |
5971 | option handling. | |
5972 | * opts-common.c (read_cmdline_option): Check for wrong language | |
5973 | after other error checks. | |
5974 | ||
61502ca8 NF |
5975 | 2011-02-11 Nathan Froyd <froydnj@codesourcery.com> |
5976 | ||
5977 | * cgraph.c: Fix comment typos. | |
5978 | * cgraph.h: Likewise. | |
5979 | * cgraphunit.c: Likewise. | |
5980 | * ipa-cp.c: Likewise. | |
5981 | * ipa-inline.c: Likewise. | |
5982 | * ipa-prop.c: Likewise. | |
5983 | * ipa-pure-const.c: Likewise. | |
5984 | * ipa-ref.c: Likewise. | |
5985 | * ipa-reference.c: Likewise. | |
5986 | ||
b63f974e JJ |
5987 | 2011-02-11 Jakub Jelinek <jakub@redhat.com> |
5988 | ||
d50c5e0c JJ |
5989 | PR debug/47684 |
5990 | * tree-predcom.c (single_nonlooparound_use): Ignore debug uses. | |
b63f974e | 5991 | |
6dd2a13c RO |
5992 | 2011-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5993 | ||
5994 | PR testsuite/47400 | |
5995 | * doc/sourcebuild.texi (Require Support): Document | |
5996 | dg-require-ascii-locale. | |
5997 | ||
4a087ccf MX |
5998 | 2011-02-11 Mingjie Xing <mingjie.xing@gmail.com> |
5999 | ||
6000 | * doc/lto.texi (Write summary): Fix missing parentheses. | |
6001 | ||
a4403164 DD |
6002 | 2011-02-10 DJ Delorie <dj@redhat.com> |
6003 | ||
6004 | * config/m32c/m32c.c (m32c_option_override): Disable | |
6005 | -fcombine-stack-adjustments until flag value tracking and compare | |
6006 | optimization can be rewritten. | |
6007 | ||
4fac45bd PB |
6008 | 2011-02-10 Peter Bergner <bergner@vnet.ibm.com> |
6009 | ||
6010 | * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Change to | |
6011 | PROCESSOR_POWER7. | |
6012 | (PROCESSOR_DEFAULT64): Likewise. | |
6013 | ||
72602cd1 RH |
6014 | 2011-02-10 Richard Henderson <rth@redhat.com> |
6015 | ||
6016 | * config/rx/predicates.md (rx_zs_comparison_operator): Revert | |
6017 | change from 2011-02-03. | |
6018 | * config/rx/rx.c (flags_from_code): Likewise. | |
6019 | (rx_print_operand) ['B']: For LT/GE, use lt/ge if overflow flag | |
6020 | is valid, n/pz otherwise. | |
6021 | (rx_select_cc_mode): Return CCmode if Y is not zero. | |
6022 | ||
ea57f573 RG |
6023 | 2011-02-10 Richard Guenther <rguenther@suse.de> |
6024 | ||
ea4c3e65 | 6025 | * tree-ssa-structalias.c (bitpos_of_field): Use BITS_PER_UNIT, not 8. |
ea57f573 | 6026 | |
92b1d23b RG |
6027 | 2011-02-10 Richard Guenther <rguenther@suse.de> |
6028 | ||
6029 | PR tree-optimization/47677 | |
6030 | * tree-vrp.c (vrp_bitmap_equal_p): Fix comparison of empty bitmaps. | |
6031 | ||
525a2d06 JJ |
6032 | 2011-02-10 Jakub Jelinek <jakub@redhat.com> |
6033 | ||
6034 | PR target/47665 | |
6035 | * combine.c (make_compound_operation): Only change shifts into | |
6036 | multiplication for SCALAR_INT_MODE_P. | |
6037 | ||
06c969bd JZ |
6038 | 2011-02-10 Jie Zhang <jie@codesourcery.com> |
6039 | ||
6040 | PR testsuite/47622 | |
6041 | Revert | |
6042 | 2011-02-05 Jie Zhang <jie@codesourcery.com> | |
6043 | PR debug/42631 | |
6044 | * web.c (entry_register): Don't clobber the number of the | |
6045 | first uninitialized reference in used[]. | |
6046 | ||
282ec48e RG |
6047 | 2011-02-09 Richard Guenther <rguenther@suse.de> |
6048 | ||
6049 | PR tree-optimization/47664 | |
6050 | * ipa-inline.c (cgraph_decide_inlining_incrementally): Visit | |
6051 | all edges again. | |
6052 | ||
df98c3e8 DE |
6053 | 2011-02-09 David Edelsohn <dje.gcc@gmail.com> |
6054 | ||
d0f21cd6 DE |
6055 | PR target/46481 |
6056 | PR target/47032 | |
df98c3e8 DE |
6057 | * config/rs6000/aix61.h (PROCESSOR_DEFAULT): Change to |
6058 | PROCESSOR_POWER7. | |
6059 | (PROCESSOR_DEFAULT64): Same. | |
6060 | (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Delete. | |
6061 | ||
67b6839f RO |
6062 | 2011-02-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6063 | ||
6064 | * config/mips/iris6.h (TARGET_C99_FUNCTIONS): Define. | |
6065 | ||
4fd73214 MJ |
6066 | 2011-02-09 Martin Jambor <mjambor@suse.cz> |
6067 | ||
6068 | PR middle-end/45505 | |
6069 | * tree-sra.c (struct access): New flags grp_scalar_read and | |
6070 | grp_scalar_write. Changed description of assignment read and write | |
6071 | flags. | |
6072 | (dump_access): Dump new flags, reorder all of them. | |
6073 | (sort_and_splice_var_accesses): Set the new flag accordingly, use them | |
6074 | to detect multiple scalar reads. | |
6075 | (analyze_access_subtree): Use the new scalar read write flags instead | |
6076 | of the old flags. Adjusted comments. | |
6077 | ||
91140cd3 DD |
6078 | 2011-02-08 DJ Delorie <dj@redhat.com> |
6079 | ||
6080 | PR target/47548 | |
6081 | * config/m32c/m32c.c (m32c_subreg): Don't try to validate interim | |
6082 | patterns. | |
6083 | ||
4254bbfe JM |
6084 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
6085 | ||
6086 | * config/m68k/uclinux.opt: New. | |
6087 | * config.gcc (m68k-*-uclinux*): Use m68k/uclinux.opt. | |
6088 | ||
f1fda84e JM |
6089 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
6090 | ||
6091 | * config/cris/elf.opt (sim): New Driver option. | |
6092 | ||
4933ae74 JM |
6093 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
6094 | ||
6095 | * config/xtensa/elf.opt: New. | |
6096 | * config.gcc (xtensa*-*-elf*): Use xtensa/elf.opt. | |
6097 | ||
4ad70280 JM |
6098 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
6099 | ||
6100 | * config/vax/elf.opt: New. | |
6101 | * config.gcc (vax-*-linux*, vax-*-netbsdelf*): Use vax/elf.opt. | |
6102 | ||
20893707 JM |
6103 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
6104 | ||
6105 | * config/rs6000/aix64.opt (posix, pthread): New Driver options. | |
6106 | ||
b8e7038e JM |
6107 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
6108 | ||
6109 | * config/gnu-user.opt: New. | |
6110 | * config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | | |
6111 | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu, | |
6112 | *-*-uclinux*): Use gnu-user.opt. | |
6113 | ||
e1c5225a TS |
6114 | 2011-02-08 Thomas Schwinge <thomas@schwinge.name> |
6115 | ||
6116 | * config/gnu.h (CPP_SPEC, LIB_SPEC): Remove handling of -bsd option. | |
6117 | * config/i386/gnu.h (CPP_SPEC): Likewise. | |
6118 | ||
5e46b0c6 ILT |
6119 | 2011-02-08 Ian Lance Taylor <iant@google.com> |
6120 | ||
6121 | * common.opt (fcx-limited-range): Add SetByCombined flag. | |
6122 | (ffinite-math-only, fmath-errno, frounding-math): Likewise. | |
6123 | (fsignaling-nans, fsigned-zeros, ftrapping-math): Likewise. | |
6124 | (fassociative-math, freciprocal-math): Likewise. | |
6125 | (funsafe-math-optimizations): Likewise. | |
6126 | * opth-gen.awk: Handle SetByCombined. | |
6127 | * optc-gen.awk: Likewise. | |
ea4c3e65 | 6128 | * opts.c (set_fast_math_flags): Don't override flag if set by frontend. |
5e46b0c6 ILT |
6129 | (set_unsafe_math_optimizations_flags): Likewise. |
6130 | * doc/options.texi (Option properties): Document SetByCombined. | |
6131 | ||
32243d46 JM |
6132 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
6133 | ||
6134 | * config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*, | |
6135 | i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe, | |
6136 | m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*, | |
6137 | m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*, | |
6138 | sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete. | |
6139 | ||
479c1fb3 SP |
6140 | 2011-02-08 Sebastian Pop <sebastian.pop@amd.com> |
6141 | ||
6142 | PR tree-optimization/46834 | |
6143 | PR tree-optimization/46994 | |
6144 | PR tree-optimization/46995 | |
6145 | * graphite-sese-to-poly.c (used_outside_reduction): New. | |
6146 | (detect_commutative_reduction): Call used_outside_reduction. | |
6147 | (rewrite_commutative_reductions_out_of_ssa_close_phi): Call | |
6148 | translate_scalar_reduction_to_array only when at least one | |
6149 | loop-phi/close-phi tuple has been detected. | |
6150 | ||
3865a06f RG |
6151 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
6152 | ||
6153 | PR middle-end/47639 | |
6154 | * tree-vect-generic.c (expand_vector_operations_1): Update | |
6155 | stmts here ... | |
6156 | (expand_vector_operations): ... not here. Cleanup EH info | |
6157 | and the CFG if required. | |
6158 | ||
62902f3f RG |
6159 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
6160 | ||
6161 | PR tree-optimization/47641 | |
6162 | * tree-ssa.c (execute_update_addresses_taken): For asm outputs | |
6163 | require type compatibility. | |
6164 | ||
0efb9d64 AK |
6165 | 2011-02-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
6166 | ||
6167 | * gimple-low.c (lower_function_body): Don't remove the location of | |
6168 | the return statement here. | |
6169 | (lower_gimple_return): Do it here instead but only if the return | |
6170 | statement is actually used twice. | |
6171 | ||
034b8ae4 RG |
6172 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
6173 | ||
6174 | PR tree-optimization/47632 | |
6175 | * tree-ssa-forwprop.c (remove_prop_source_from_use): Remove | |
6176 | unused up_to_stmt parameter, return whether cfg-cleanup is | |
6177 | necessary, remove EH info properly. | |
6178 | (forward_propagate_into_gimple_cond): Adjust caller. | |
6179 | (forward_propagate_into_cond): Likewise. | |
6180 | (forward_propagate_comparison): Likewise. | |
6181 | (tree_ssa_forward_propagate_single_use_vars): Make | |
6182 | forward_propagate_comparison case similar to the two others. | |
6183 | ||
298362c8 NC |
6184 | 2011-02-08 Nick Clifton <nickc@redhat.com> |
6185 | ||
6186 | * config/mn10300/mn10300.opt (mliw): New command line option. | |
6187 | * config/mn10300/mn10300.md (UNSPEC_LIW): New unspec. | |
6188 | (liw_bundling): New automaton. | |
6189 | (liw): New attribute. | |
6190 | (liw_op): New attribute. | |
6191 | (liw_op1, liw_op2, liw_both, liw_either): New reservations. | |
6192 | (movsi_internal): Add LIW attributes. | |
6193 | (andsi3): Likewise. | |
6194 | (iorsi3): Likewise. | |
6195 | (xorsi3): Likewise. | |
6196 | (addsi3): Separate register and immediate alternatives. | |
6197 | Add LIW attributes. | |
6198 | (subsi3): Likewise. | |
6199 | (cmpsi): Likewise. | |
6200 | (aslsi3): Likewise. | |
6201 | (lshrsi3): Likewise. | |
6202 | (ashrsi3): Likewise. | |
6203 | (liw): New pattern. | |
6204 | * config/mn10300/mn10300.c (liw_op_names): New | |
6205 | (mn10300_print_operand): Handle 'W' operand descriptor. | |
6206 | (extract_bundle): New function. | |
6207 | (check_liw_constraints): New function. | |
6208 | (liw_candidate): New function. | |
6209 | (mn10300_bundle_liw): New function. | |
6210 | (mn10300_reorg): New function. | |
6211 | (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
6212 | (TARGET_DEFAULT_TARGET_FLAGS): Add MASK_ALLOW_LIW. | |
6213 | * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Define | |
6214 | __LIW__ or __NO_LIW__. | |
6215 | * doc/invoke.texi: Describe the -mliw command line option. | |
6216 | ||
90488014 JDA |
6217 | 2011-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6218 | ||
6219 | * config.gcc (hppa[12]*-*-hpux11*): Don't set extra_parts. | |
6220 | * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, | |
6221 | pthread_mutex_unlock): Remove. | |
6222 | * config/pa/t-pa-hpux11: Remove rules to build pthread stubs. | |
6223 | * config/pa/t-pa64: Likewise. | |
6224 | * config/pa/pa64-hpux.h (LIB_SPEC): In static links, link against | |
6225 | shared libc if not linking against libpthread. | |
6226 | * config/pa/pa-hpux11.h (LIB_SPEC): Likewise. | |
6227 | ||
689ff841 IS |
6228 | 2011-02-07 Iain Sandoe <iains@gcc.gnu.org> |
6229 | ||
6230 | PR target/47558 | |
6231 | * config/darwin10.h (LINK_GCC_C_SEQUENCE_SPEC): Put -lSystem first | |
6232 | on 10.6 and later to ensure that we always use the unwinder from | |
6233 | the system. Only add -no_compact_unwind when tarteting darwin | |
6234 | 10.6 or later. | |
6235 | ||
821014aa SE |
6236 | 2011-02-07 Steve Ellcey <sje@cup.hp.com> |
6237 | ||
6238 | PR target/46997 | |
6239 | * vect.md (vec_interleave_highv2sf): Change fmix for TARGET_BIG_ENDIAN. | |
6240 | (vec_interleave_lowv2sf): Ditto. | |
6241 | (vec_extract_evenv2sf): Add TARGET_BIG_ENDIAN check. | |
6242 | (vec_extract_oddv2sf): Ditto. | |
6243 | ||
41cf94fb MS |
6244 | 2011-02-07 Mike Stump <mikestump@comcast.net> |
6245 | ||
62dea57d | 6246 | PR target/42333 |
41cf94fb MS |
6247 | Add __ieee_divdc3 entry point. |
6248 | * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Retain ___divdc3 | |
6249 | entry point. | |
6250 | (SUBTARGET_INIT_BUILTINS): Call darwin_rename_builtins. | |
6251 | * config/i386/i386.c (TARGET_INIT_LIBFUNCS): Likewise. | |
6252 | * config/darwin.c (darwin_rename_builtins): Add. | |
6253 | * config/darwin-protos.h (darwin_rename_builtins): Add. | |
6254 | ||
ee09a3dd MM |
6255 | 2011-02-07 Michael Meissner <meissner@linux.vnet.ibm.com> |
6256 | ||
6257 | PR target/47636 | |
6258 | * config/rs6000/rs6000.md (rsqrt<mode>2): Use the correct macro | |
6259 | for the condition. | |
6260 | ||
83296cd0 MS |
6261 | 2011-02-07 Mike Stump <mikestump@comcast.net> |
6262 | ||
ea4c3e65 | 6263 | * config/darwin.opt (mmacosx-version-min): Update default OS version. |
83296cd0 | 6264 | |
0f4e946f DC |
6265 | 2011-02-07 Denis Chertykov <chertykov@gmail.com> |
6266 | ||
6267 | PR target/47534 | |
6268 | * config/avr/libgcc.S (exit): Move .endfunc | |
6269 | ||
1ec87690 RG |
6270 | 2011-02-07 Richard Guenther <rguenther@suse.de> |
6271 | ||
6272 | PR tree-optimization/47615 | |
6273 | * tree-ssa-sccvn.h (run_scc_vn): Take a vn-walk mode argument. | |
6274 | * tree-ssa-sccvn.c (default_vn_walk_kind): New global. | |
6275 | (run_scc_vn): Initialize it. | |
6276 | (visit_reference_op_load): Use it. | |
6277 | * tree-ssa-pre.c (execute_pre): Use VN_WALK if in PRE. | |
6278 | ||
b46ae6da UW |
6279 | 2011-02-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
6280 | ||
6281 | * config/spu/spu.c (spu_init_libfuncs): Install SImode and | |
6282 | DImode trapping arithmetic libfuncs. | |
6283 | ||
c0aae19c RG |
6284 | 2011-02-07 Richard Guenther <rguenther@suse.de> |
6285 | ||
6286 | PR tree-optimization/47621 | |
6287 | * tree-ssa.c (non_rewritable_lvalue_p): New function, split out from | |
6288 | two duplicates ... | |
6289 | (execute_update_addresses_taken): ... here. Make it more | |
6290 | conservative in what we accept. | |
6291 | ||
295d926b JM |
6292 | 2011-02-06 Joseph Myers <joseph@codesourcery.com> |
6293 | ||
6294 | * config/sparc/freebsd.h (ASM_SPEC): Define. | |
6295 | * config/sparc/vxworks.h (ASM_SPEC): Define. | |
6296 | ||
bdeb2471 JM |
6297 | 2011-02-06 Joseph Myers <joseph@codesourcery.com> |
6298 | ||
6299 | * config/sparc/sol2-bi.h (CC1_SPEC): Remove %{sun4:} %{target:}. | |
6300 | ||
d5d3781a SB |
6301 | 2011-02-06 Steven Bosscher <steven@gcc.gnu.org> |
6302 | ||
6303 | * doc/invoke.texi: Remove reference to compiler internals from | |
6304 | user documentation. | |
6305 | ||
6306 | * reg-notes.def: Remove REG_VALUE_PROFILE. | |
6307 | * combine.c (distribute_notes): Do not handle REG_VALUE_PROFILE. | |
6308 | ||
c42c09fc JJ |
6309 | 2011-02-05 Jakub Jelinek <jakub@redhat.com> |
6310 | ||
6311 | PR middle-end/47610 | |
6312 | * varasm.c (default_section_type_flags): If decl is NULL, | |
38be4072 | 6313 | and name is .data.rel.ro or .data.rel.ro.local, set SECTION_RELRO bit. |
c42c09fc | 6314 | |
beea2755 JZ |
6315 | 2011-02-05 Jie Zhang <jie@codesourcery.com> |
6316 | ||
6317 | PR debug/42631 | |
6318 | * web.c (entry_register): Don't clobber the number of the | |
6319 | first uninitialized reference in used[]. | |
6320 | ||
a130584a SP |
6321 | 2011-02-04 Sebastian Pop <sebastian.pop@amd.com> |
6322 | ||
6323 | PR tree-optimization/46194 | |
6324 | * tree-data-ref.c (analyze_miv_subscript): Remove comment. | |
6325 | (build_classic_dist_vector_1): Do not represent classic distance | |
6326 | vectors when the access functions are variating in different loops. | |
6327 | ||
962101ac JM |
6328 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
6329 | ||
6330 | * config/mips/iris6.opt: New. | |
6331 | * config.gcc (mips-sgi-irix6.5*): Use mips/iris6.opt. | |
6332 | ||
55eaaa5b RH |
6333 | 2011-02-04 Richard Henderson <rth@redhat.com> |
6334 | Steve Ellcey <sje@cup.hp.com> | |
6335 | ||
6336 | PR target/46997 | |
6337 | * config/ia64/predicates.md (mux1_brcst_element): New. | |
6338 | * config/ia64/ia64-protos.h (ia64_unpack_assemble): New. | |
6339 | * config/ia64/ia64.c (ia64_unpack_assemble): New. | |
6340 | (ia64_unpack_sign): New. | |
6341 | (ia64_expand_unpack): Rewrite using new routines. | |
6342 | (ia64_expand_widen_sum): Ditto. | |
6343 | (ia64_expand_dot_prod_v8qi): Ditto. | |
6344 | * config/ia64/vect.md (mulv8qi3): Rewrite to use new | |
6345 | routines, add endian check. | |
6346 | (pmpy2_even): Rename from pmpy2_r, add endian check. | |
6347 | (pmpy2_odd): Rename from pmpy2_l, add endian check. | |
6348 | (vec_widen_smult_lo_v4hi): Rewrite using new routines. | |
6349 | (vec_widen_smult_hi_v4hi): Ditto. | |
6350 | (vec_widen_umult_lo_v4hi): Ditto. | |
6351 | (vec_widen_umult_hi_v4hi): Ditto. | |
6352 | (mulv2si3): Change endian checks. | |
6353 | (sdot_prodv4hi): Rewrite with new calls. | |
6354 | (udot_prodv4hi): New. | |
6355 | (vec_pack_ssat_v4hi): Add endian check. | |
6356 | (vec_pack_usat_v4hi): Ditto. | |
6357 | (vec_pack_ssat_v2si): Ditto. | |
6358 | (max1_even): Rename from max1_r, add endian check. | |
6359 | (max1_odd): Rename from max1_l, add endian check. | |
6360 | (*mux1_rev): Format change. | |
6361 | (*mux1_mix): Ditto. | |
6362 | (*mux1_shuf): Ditto. | |
6363 | (*mux1_alt): Ditto. | |
6364 | (*mux1_brcst_v8qi): Use new predicate. | |
6365 | (vec_extract_evenv8qi): Remove endian check. | |
6366 | (vec_extract_oddv8qi): Ditto. | |
6367 | (vec_interleave_lowv4hi): Format change. | |
6368 | (vec_interleave_highv4hi): Ditto. | |
6369 | (mix2_even): Rename from mix2_r, add endian check. | |
6370 | (mix2_odd): Rename from mux2_l, add endian check. | |
6371 | (*mux2): Fix mask setting for TARGET_BIG_ENDIAN. | |
6372 | (vec_extract_evenodd_helper): Format change. | |
6373 | (vec_extract_evenv4hi): Remove endian check. | |
6374 | (vec_extract_oddv4hi): Remove endian check. | |
6375 | (vec_interleave_lowv2si): Format change. | |
6376 | (vec_interleave_highv2si): Format change. | |
6377 | (vec_initv2si): Remove endian check. | |
6378 | (vecinit_v2si): Add endian check. | |
6379 | (reduc_splus_v2sf): Add endian check. | |
6380 | (reduc_smax_v2sf): Ditto. | |
6381 | (reduc_smin_v2sf): Ditto. | |
6382 | (vec_initv2sf): Remove endian check. | |
6383 | (fpack): Add endian check. | |
6384 | (fswap): Add endian check. | |
6385 | (vec_interleave_highv2sf): Add endian check. | |
6386 | (vec_interleave_lowv2sf): Add endian check. | |
6387 | (fmix_lr): Add endian check. | |
6388 | (vec_setv2sf): Format change. | |
6389 | (*vec_extractv2sf_0_be): Use shift to extract operand. | |
6390 | (*vec_extractv2sf_1_be): New. | |
6391 | (vec_pack_trunc_v4hi): Add endian check. | |
6392 | (vec_pack_trunc_v2si): Format change. | |
6393 | ||
dcde5957 JJ |
6394 | 2011-02-04 Jakub Jelinek <jakub@redhat.com> |
6395 | ||
6396 | PR inline-asm/23200 | |
6397 | * tree-ssa-ter.c (is_replaceable_p): Add TER argument. Don't | |
38be4072 | 6398 | do bb, locus and block comparison and disallow loads if it is not set. |
dcde5957 JJ |
6399 | (stmt_is_replaceable_p): New function. |
6400 | (process_replaceable, find_replaceable_in_bb): Adjust is_replaceable_p | |
6401 | callers. | |
6402 | * expr.c (expand_expr_real_1) <case SSA_NAME>: If | |
6403 | get_gimple_for_ssa_name try for EXPAND_INITIALIZER harder to use | |
6404 | SSA_NAME_DEF_STMT. | |
6405 | * tree-flow.h (stmt_is_replaceable_p): New prototype. | |
6406 | ||
a64a8e5a JM |
6407 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
6408 | ||
6409 | * config/rs6000/xilinx.opt: New. | |
6410 | * config.gcc (powerpc-xilinx-eabi*): Use rs6000/xilinx.opt. | |
6411 | ||
4da2ed2f JM |
6412 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
6413 | ||
6414 | * config/mips/mips.opt (EB, EL, noasmopt): New Driver options. | |
6415 | ||
a6e508f9 AS |
6416 | 2011-02-03 Anatoly Sokolov <aesok@post.ru> |
6417 | ||
6418 | * config/xtensa/xtensa.h (PREFERRED_RELOAD_CLASS, | |
6419 | PREFERRED_OUTPUT_RELOAD_CLASS): Remove. | |
6420 | * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class, | |
6421 | secondary_reload_info, xtensa_secondary_reload): Remove. | |
6422 | * config/xtensa/xtensa.c (TARGET_PREFERRED_RELOAD_CLASS, | |
6423 | TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. | |
6424 | (xtensa_preferred_reload_class): Make static. Change return and | |
6425 | 'rclass' argument type to reg_class_t. Remove 'isoutput' argument. | |
6426 | Use CONST_DOUBLE_P predicate. | |
6427 | (xtensa_preferred_output_reload_class): New function. | |
6428 | (xtensa_secondary_reload): Make static. | |
6429 | ||
82dc0de3 JM |
6430 | 2011-02-03 Joseph Myers <joseph@codesourcery.com> |
6431 | ||
6432 | * config/microblaze/microblaze.opt (Zxl-mode-bootstrap, | |
6433 | Zxl-mode-executable, Zxl-mode-novectors, Zxl-mode-xilkernel, | |
6434 | Zxl-mode-xmdstub, mxl-mode-xilkernel): New Driver options. | |
6435 | ||
7fece979 JJ |
6436 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
6437 | ||
6438 | PR middle-end/31490 | |
6439 | * output.h (SECTION_RELRO): Define. | |
6440 | (SECTION_MACH_DEP): Adjust. | |
6441 | (get_variable_section): New prototype. | |
6442 | * varpool.c (varpool_finalize_named_section_flags): New function. | |
6443 | (varpool_assemble_pending_decls): Call it. | |
6444 | * cgraph.h (varpool_finalize_named_section_flags): New prototype. | |
6445 | * cgraphunit.c (cgraph_output_in_order): Call | |
6446 | varpool_finalize_named_section_flags. | |
6447 | * varasm.c (get_section): Allow section flags conflicts between | |
6448 | relro and read-only sections if the section hasn't been declared yet. | |
6449 | Set SECTION_OVERRIDE after diagnosing section type conflict. | |
6450 | (get_variable_section): No longer static. | |
6451 | (default_section_type_flags): Use SECTION_WRITE | SECTION_RELRO for | |
6452 | readonly sections that need relocations. | |
6453 | (decl_readonly_section_1): New function. | |
6454 | (decl_readonly_section): Use it. | |
6455 | ||
6456 | Revert: | |
509d65dd | 6457 | 2010-11-17 Dinar Temirbulatov <dtemirbulatov@gmail.com> |
7fece979 JJ |
6458 | Steve Ellcey <sje@cup.hp.com> |
6459 | ||
6460 | PR middle-end/31490 | |
6461 | * varasm.c (categorize_decl_for_section): Ignore reloc_rw_mask | |
6462 | if section attribute used. | |
6463 | ||
d18d5478 JJ |
6464 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
6465 | ||
6466 | * config/darwin.h (SECTION_NO_ANCHOR): Remove. | |
6467 | * config/darwin.c (SECTION_NO_ANCHOR): Define. | |
6468 | (darwin_init_sections): Remove assertion. | |
6469 | ||
6479ed4b NC |
6470 | 2011-02-03 Nick Clifton <nickc@redhat.com> |
6471 | ||
6472 | * config/rx/predicates.md (rx_zs_comparison_operator): Remove | |
6473 | lt and ge. | |
38be4072 | 6474 | * config/rx/rx.md (abssi2_flags): Use CC_ZSmode rather than CC_ZSOmode. |
6479ed4b NC |
6475 | * config/rx/rx.c (rx_print_operand): Use "lt" and "ge" suffixes |
6476 | instead of "n" and "pz". | |
6477 | (flags_from_code): LT and GE tests need CC_FLAG_O as well as | |
6478 | CC_FLAG_S. | |
6479 | ||
89843f5d JJ |
6480 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
6481 | ||
65450d64 JJ |
6482 | PR target/47312 |
6483 | * expr.c (expand_expr_real_2) <case FMA_EXPR>: If target doesn't expand | |
6484 | fma, expand FMA_EXPR as fma{,f,l} call. | |
6485 | ||
7d58701c JJ |
6486 | PR lto/47274 |
6487 | * lto-streamer-out.c (write_symbol): When writing kind and visibility, | |
6488 | copy them into a unsigned char variable and pass address of it to | |
6489 | lto_output_data_stream. | |
6490 | ||
89843f5d JJ |
6491 | PR target/47564 |
6492 | * toplev.c (target_reinit): Save and restore *crtl and regno_reg_rtx | |
6493 | around backend_init_target and lang_dependent_init_target calls. | |
6494 | * cgraphunit.c (cgraph_debug_gimple_stmt): New function. | |
6495 | (verify_cgraph_node): Don't call set_cfun here. Use | |
6496 | cgraph_debug_gimple_stmt instead of debug_gimple_stmt. | |
6497 | Set error_found for incorrectly represented calls to thunks. | |
6498 | ||
4deef538 AO |
6499 | 2011-02-03 Alexandre Oliva <aoliva@redhat.com> |
6500 | ||
6501 | PR debug/43092 | |
6502 | PR rtl-optimization/43494 | |
6503 | * rtl.h (for_each_inc_dec_fn): New type. | |
6504 | (for_each_inc_dec): Declare. | |
6505 | * rtlanal.c (struct for_each_inc_dec_ops): New type. | |
6506 | (for_each_inc_dec_find_inc_dec): New fn. | |
6507 | (for_each_inc_dec_find_mem): New fn. | |
6508 | (for_each_inc_dec): New fn. | |
6509 | * dse.c (struct insn_size): Remove. | |
6510 | (replace_inc_dec, replace_inc_dec_mem): Remove. | |
6511 | (emit_inc_dec_insn_before): New fn. | |
6512 | (check_for_inc_dec): Use it, along with for_each_inc_dec. | |
6513 | (canon_address): Pass mem modes to cselib_lookup. | |
6514 | * cselib.h (cselib_lookup): Add memmode argument. Adjust callers. | |
6515 | (cselib_lookup_from_insn): Likewise. | |
6516 | (cselib_subst_to_values): Likewise. | |
6517 | * cselib.c (find_slot_memmode): New var. | |
6518 | (cselib_find_slot): New fn. Use it instead of | |
6519 | htab_find_slot_with_hash everywhere. | |
6520 | (entry_and_rtx_equal_p): Use find_slot_memmode. | |
6521 | (autoinc_split): New fn. | |
6522 | (rtx_equal_for_cselib_p): Rename and implement in terms of... | |
6523 | (rtx_equal_for_cselib_1): ... this. Take memmode, pass it on. | |
6524 | Deal with autoinc. Special-case recursion into MEMs. | |
6525 | (cselib_hash_rtx): Likewise. | |
6526 | (cselib_lookup_mem): Infer pmode from address mode. Distinguish | |
6527 | address and MEM modes. | |
6528 | (cselib_subst_to_values): Add memmode, pass it on. | |
6529 | Deal with autoinc. | |
6530 | (cselib_lookup): Add memmode argument, pass it on. | |
6531 | (cselib_lookup_from_insn): Add memmode. | |
6532 | (cselib_invalidate_rtx): Discard obsolete push_operand handling. | |
6533 | (struct cselib_record_autoinc_data): New. | |
6534 | (cselib_record_autoinc_cb): New fn. | |
6535 | (cselib_record_sets): Use it, along with for_each_inc_dec. Pass MEM | |
6536 | mode to cselib_lookup. Reset autoinced REGs here instead of... | |
6537 | (cselib_process_insn): ... here. | |
6538 | * var-tracking.c (replace_expr_with_values, use_type): Pass MEM mode | |
6539 | to cselib_lookup. | |
6540 | (add_uses): Likewise, also to cselib_subst_to_values. | |
6541 | (add_stores): Likewise. | |
6542 | * sched-deps.c (add_insn_mem_dependence): Pass mode to | |
6543 | cselib_subst_to_values. | |
6544 | (sched_analyze_1, sched_analyze_2): Likewise. Adjusted. | |
6545 | * gcse.c (do_local_cprop): Adjusted. | |
6546 | * postreload.c (reload_cse_simplify_set): Adjusted. | |
6547 | (reload_cse_simplify_operands): Adjusted. | |
6548 | * sel-sched-dump (debug_mem_addr_value): Pass mode. | |
6549 | ||
1551d44a AO |
6550 | 2011-02-03 Alexandre Oliva <aoliva@redhat.com> |
6551 | ||
6552 | PR tree-optimization/45122 | |
6553 | * tree-ssa-loop-niter.c (number_of_iterations_exit): Don't make | |
6554 | unsafe assumptions when there's more than one loop exit. | |
6555 | ||
c9485473 MM |
6556 | 2011-02-02 Michael Meissner <meissner@linux.vnet.ibm.com> |
6557 | ||
6558 | PR target/47272 | |
6559 | * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): | |
6560 | Document using vector double with the load/store builtins, and | |
6561 | that the load/store builtins always use Altivec instructions. | |
6562 | ||
6563 | * config/rs6000/vector.md (vector_altivec_load_<mode>): New insns | |
6564 | to use altivec memory instructions, even on VSX. | |
6565 | (vector_altivec_store_<mode>): Ditto. | |
6566 | ||
6567 | * config/rs6000/rs6000-protos.h (rs6000_address_for_altivec): New | |
6568 | function. | |
6569 | ||
6570 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add | |
6571 | V2DF, V2DI support to load/store overloaded builtins. | |
6572 | ||
6573 | * config/rs6000/rs6000-builtin.def (ALTIVEC_BUILTIN_*): Add | |
6574 | altivec load/store builtins for V2DF/V2DI types. | |
6575 | ||
6576 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't | |
6577 | set avoid indexed addresses on power6 if -maltivec. | |
6578 | (altivec_expand_ld_builtin): Add V2DF, V2DI support, use | |
6579 | vector_altivec_load/vector_altivec_store builtins. | |
6580 | (altivec_expand_st_builtin): Ditto. | |
6581 | (altivec_expand_builtin): Add VSX memory builtins. | |
6582 | (rs6000_init_builtins): Add V2DI types to internal types. | |
6583 | (altivec_init_builtins): Add support for V2DF/V2DI altivec | |
6584 | load/store builtins. | |
6585 | (rs6000_address_for_altivec): Insure memory address is appropriate | |
6586 | for Altivec. | |
6587 | ||
6588 | * config/rs6000/vsx.md (vsx_load_<mode>): New expanders for | |
6589 | vec_vsx_ld and vec_vsx_st. | |
6590 | (vsx_store_<mode>): Ditto. | |
6591 | ||
6592 | * config/rs6000/rs6000.h (RS6000_BTI_long_long): New type | |
6593 | variables to hold long long types for VSX vector memory builtins. | |
6594 | (RS6000_BTI_unsigned_long_long): Ditto. | |
6595 | (long_long_integer_type_internal_node): Ditti. | |
6596 | (long_long_unsigned_type_internal_node): Ditti. | |
6597 | ||
6598 | * config/rs6000/altivec.md (UNSPEC_LVX): New UNSPEC. | |
6599 | (altivec_lvx_<mode>): Make altivec_lvx use a mode iterator. | |
6600 | (altivec_stvx_<mode>): Make altivec_stvx use a mode iterator. | |
6601 | ||
6602 | * config/rs6000/altivec.h (vec_vsx_ld): Define VSX memory builtin | |
6603 | short cuts. | |
6604 | (vec_vsx_st): Ditto. | |
6605 | ||
b24d1acf JM |
6606 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
6607 | ||
6608 | * config/pa/pa-hpux10.opt: New. | |
6609 | * config/hpux11.opt (pthread): New Driver option. | |
6610 | * config/pa/pa-hpux.opt (nolibdld, rdynamic): New Driver options. | |
6611 | * config.gcc (hppa[12]*-*-hpux10*): Use pa/pa-hpux10.opt. | |
6612 | ||
aa18dd0f JM |
6613 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
6614 | ||
6615 | * config/ia64/vms.opt: New. | |
6616 | * config.gcc (ia64-hp-*vms*): Use ia64/vms.opt. | |
6617 | ||
28fc3eee MM |
6618 | 2011-02-01 Michael Meissner <meissner@linux.vnet.ibm.com> |
6619 | ||
6620 | PR target/47580 | |
6621 | * config/rs6000/vsx.md (vsx_float<VSi><mode>2): Use | |
6622 | gpc_reg_operand instead of vsx_register_operand to match rs6000.md | |
6623 | generator functions. | |
6624 | (vsx_floatuns<VSi><mode>2): Ditto. | |
6625 | (vsx_fix_trunc<mode><VSi>2): Ditto. | |
6626 | (vsx_fixuns_trunc<mode><VSi>2): Ditto. | |
6627 | ||
b5838b1f JM |
6628 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
6629 | ||
6630 | * config/i386/djgpp.opt (posix): New Driver option. | |
6631 | ||
0db8fa89 GP |
6632 | 2011-02-02 Gerald Pfeifer <gerald@pfeifer.com> |
6633 | ||
6634 | * config.gcc (*-*-freebsd[12], *-*-freebsd[12].*, *-*-freebsd*aout*): | |
6635 | Move to the unsupported targets list. | |
6636 | ||
9cd4f22a PB |
6637 | 2011-02-02 Peter Bergner <bergner@vnet.ibm.com> |
6638 | ||
6639 | PR rtl-optimization/47525 | |
6640 | * df-scan.c: Update copyright years. | |
6641 | (df_get_call_refs): Do not mark global registers as DF_REF_REG_USE | |
6642 | and non-clobber DF_REF_REG_DEF for calls to const and pure functions. | |
6643 | ||
9ed8059c RO |
6644 | 2011-02-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6645 | ||
6646 | * config/i386/sysv4.h (TARGET_VERSION): Remove. | |
6647 | (SUBTARGET_RETURN_IN_MEMORY): Remove. | |
6648 | (ASM_OUTPUT_ASCII): Remove. | |
6649 | * config/i386/sol2.h (SUBTARGET_RETURN_IN_MEMORY): Remove #undef. | |
6650 | ||
2a737389 JL |
6651 | 2011-02-02 Jeff Law <law@redhat.com> |
6652 | ||
6653 | PR middle-end/47543 | |
6654 | * reload.c (find_reloads_address): Handle reg+d address where both | |
6655 | components are invalid by reloading the entire address. | |
6656 | ||
9dac82c4 SP |
6657 | 2011-02-02 Sebastian Pop <sebastian.pop@amd.com> |
6658 | Richard Guenther <rguenther@suse.de> | |
6659 | ||
6660 | PR tree-optimization/40979 | |
6661 | PR bootstrap/47044 | |
6662 | * passes.c (init_optimization_passes): After LIM call copy_prop | |
6663 | and DCE to clean up. | |
6664 | * tree-ssa-loop.c (pass_graphite_transforms): Add TODO_dump_func. | |
6665 | ||
14dd9aab SP |
6666 | 2011-02-02 Sebastian Pop <sebastian.pop@amd.com> |
6667 | ||
6668 | PR tree-optimization/47576 | |
6669 | PR tree-optimization/47555 | |
6670 | * doc/invoke.texi (scev-max-expr-complexity): Documented. | |
6671 | * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. | |
6672 | (PARAM_SCEV_MAX_EXPR_COMPLEXITY): Declared. | |
6673 | * tree-scalar-evolution.c (follow_ssa_edge): Use | |
6674 | PARAM_SCEV_MAX_EXPR_COMPLEXITY. | |
6675 | ||
5cbf5c20 RG |
6676 | 2011-02-02 Richard Guenther <rguenther@suse.de> |
6677 | ||
6678 | PR tree-optimization/47566 | |
6679 | * builtins.c (builtin_save_expr): No SAVE_EXPR for SSA_NAMEs. | |
6680 | ||
83d70792 AO |
6681 | 2011-02-02 Alexandre Oliva <aoliva@redhat.com> |
6682 | ||
e829c321 AO |
6683 | PR debug/47106 |
6684 | PR debug/47402 | |
6685 | * tree-inline.c (declare_return_variable): Remove unused caller | |
6686 | variable. | |
6687 | ||
83d70792 AO |
6688 | PR debug/47106 |
6689 | PR debug/47402 | |
6690 | * tree-flow-inline.h (clear_is_used, is_used_p): New. | |
6691 | * cfgexpand.c (account_used_vars_for_block): Use them. | |
6692 | * tree-nrv.c (tree_nrv): Likewise. | |
6693 | * tree-ssa-live.c (remove_unused_scope_block_p): Likewise. | |
6694 | (dump_scope_block): Likewise. | |
6695 | (remove_unused_locals): Likewise. | |
6696 | ||
aaa2ac93 AO |
6697 | PR debug/47106 |
6698 | PR debug/47402 | |
6699 | * tree-inline.c (declare_return_variable): Add result decl to | |
6700 | local decls only once. | |
6701 | * gimple-low.c (record_vars_into): Mark newly-created variables | |
6702 | as referenced. | |
6703 | ||
a59d15cf AO |
6704 | 2011-02-02 Alexandre Oliva <aoliva@redhat.com> |
6705 | ||
6706 | PR debug/47498 | |
6707 | PR debug/47501 | |
6708 | PR debug/45136 | |
6709 | PR debug/45130 | |
6710 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
6711 | debug insns. | |
6712 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
6713 | treatment of boundary debug insns. | |
38be4072 | 6714 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
a59d15cf AO |
6715 | * sched-ebb.c (schedule_ebbs): Adjust skipping of debug insns. |
6716 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
6717 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
6718 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
6719 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
6720 | boundary debug insns. | |
6721 | * final.c (rest_of_clean_state): Clear notes' BB. | |
6722 | ||
6fc2f091 JM |
6723 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
6724 | ||
6725 | * config/openbsd.opt (assert=): New Driver option. | |
6726 | ||
fc523387 JM |
6727 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
6728 | ||
6729 | * config/i386/nto.opt: New. | |
6730 | * config.gcc (i[34567]86-*-nto-qnx*): Use i386/nto.opt. | |
6731 | ||
6d9821e5 JM |
6732 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
6733 | ||
6734 | * config/i386/netware.opt: New. | |
6735 | * config.gcc (i[3456x]86-*-netware*): Use i386/netware.opt. | |
6736 | ||
cef932d4 JM |
6737 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
6738 | ||
6739 | * config/interix.opt (posix): New Driver option. | |
6740 | ||
22843acd DD |
6741 | 2011-02-01 DJ Delorie <dj@redhat.com> |
6742 | ||
56490b74 DD |
6743 | * config/m32c/m32c.h (PTRDIFF_TYPE): Remove extra definition. |
6744 | ||
22843acd DD |
6745 | * config/m32c/m32c.c (m32c_regno_reg_class): Return smallest reg |
6746 | class for A0/A1. | |
6747 | ||
199c8f2f SP |
6748 | 2011-02-01 Sebastian Pop <sebastian.pop@amd.com> |
6749 | ||
6750 | PR tree-optimization/47561 | |
6751 | * toplev.c (process_options): Print the Graphite flags. Add | |
6752 | flag_loop_flatten to the list of options requiring Graphite. | |
6753 | ||
926bcf22 JM |
6754 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
6755 | ||
6756 | * config/i386/cygming.opt (posix): New Driver option. | |
6757 | ||
59793c51 JM |
6758 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
6759 | ||
6760 | * config/arm/vxworks.opt: New. | |
6761 | * config.gcc (arm-wrs-vxworks): Use arm/vxworks.opt. | |
6762 | ||
183c38a4 JM |
6763 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
6764 | ||
6765 | * config/alpha/elf.opt: New. | |
6766 | * config.gcc (alpha*-*-linux*, alpha*-*-gnu*, alpha*-*-freebsd*, | |
6767 | alpha*-*-netbsd*, alpha*-*-openbsd*): Use alpha/elf.opt. | |
6768 | ||
9939e416 RG |
6769 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
6770 | ||
6771 | PR tree-optimization/47559 | |
6772 | * tree-ssa-loop-im.c (can_sm_ref_p): Do not perform | |
6773 | store-motion on references that can throw. | |
6774 | ||
4a3c9687 BS |
6775 | 2011-02-01 Bernd Schmidt <bernds@codesourcery.com> |
6776 | ||
6777 | * tree-dump.c (dump_option_value_info): Add entry for TDF_CSELIB. | |
6778 | * tree-pass.h (TDF_CSELIB): New macro. | |
6779 | * cselib.c (new_cselib_val, expand_loc, cselib_expand_value_rtx_1, | |
6780 | cselib_lookup): Check for it rather than for TDF_DETAILS. | |
6781 | ||
dd3b31fb L |
6782 | 2011-02-01 H.J. Lu <hongjiu.lu@intel.com> |
6783 | ||
6784 | PR driver/47547 | |
6785 | * lto-wrapper.c (run_gcc): Don't add -dumpdir if linker_output | |
6786 | is HOST_BIT_BUCKET. | |
6787 | ||
6788 | * opts.c (finish_options): Don't add x_aux_base_name if it is | |
6789 | HOST_BIT_BUCKET. | |
6790 | ||
34c1de79 RG |
6791 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
6792 | ||
6793 | PR tree-optimization/47555 | |
6794 | Revert | |
6795 | 2010-07-15 Sebastian Pop <sebastian.pop@amd.com> | |
6796 | ||
6797 | * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. | |
6798 | ||
dd2804d2 SB |
6799 | 2011-02-01 Sebastien Bourdeauducq <sebastien@milkymist.org> |
6800 | ||
6801 | PR gcc/46692 | |
6802 | * config/lm32/t-lm32: Add multilib for all CPU options. | |
6803 | ||
3fd3b156 RG |
6804 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
6805 | ||
6806 | PR tree-optimization/47541 | |
6807 | * tree-ssa-structalias.c (push_fields_onto_fieldstack): Make | |
6808 | sure to have a field at offset zero. | |
6809 | ||
f16072b6 JM |
6810 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
6811 | ||
6812 | * config/arc/arc.opt (EB, EL): New Driver options. | |
6813 | ||
6456cf2e JM |
6814 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
6815 | ||
6816 | * config/alpha/osf5.opt: New. | |
6817 | * config.gcc (alpha*-dec-osf5.1*): Use alpha/osf5.opt. | |
6818 | ||
cdde6ab4 JM |
6819 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
6820 | ||
6821 | * config/vms/vms.opt (map, mvms-return-codes): New Driver options. | |
6822 | ||
7633415c SP |
6823 | 2011-01-31 Sebastian Pop <sebastian.pop@amd.com> |
6824 | ||
6825 | * common.opt (ftree-loop-linear): Use Alias to make it an alias of | |
6826 | -floop-interchange. | |
6827 | * invoke.texi (-ftree-loop-linear): Make it clear that this flag | |
6828 | is an alias of -floop-interchange and that it requires the | |
6829 | Graphite infrastructure. | |
6830 | * tree-ssa-loop.c (gate_graphite_transforms): Do not set | |
6831 | flag_loop_interchange based on the value of flag_tree_loop_linear. | |
6832 | ||
0425d6f5 JJ |
6833 | 2011-01-31 Jakub Jelinek <jakub@redhat.com> |
6834 | Richard Guenther <rguenther@suse.de> | |
6835 | ||
6836 | PR tree-optimization/47538 | |
6837 | * tree-ssa-ccp.c (bit_value_binop_1): For uns computation use | |
6838 | type instead of r1type, except for comparisons. For right | |
6839 | shifts and comparisons punt if there are mismatches in | |
6840 | sizetype vs. non-sizetype types. | |
6841 | ||
500b16c3 RO |
6842 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6843 | ||
6844 | * doc/sourcebuild.texi (Effective-Target Keywords): Document | |
6845 | avx_runtime. | |
6846 | ||
e279edb0 RO |
6847 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6848 | ||
6849 | * configure.ac (gcc_cv_ld_eh_frame_hdr): Update minimal Sun ld | |
6850 | version number. | |
6851 | * configure: Regenerate. | |
6852 | ||
c6092243 RO |
6853 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6854 | ||
6855 | * configure.ac (gcc_cv_ld_static_option): Define. | |
6856 | (gcc_cv_ld_dynamic_option): Define. | |
6857 | (gcc_cv_ld_static_dynamic): Tru64 UNIX support -noso/-so_archive | |
6858 | instead. | |
6859 | (HAVE_LD_STATIC_DYNAMIC): Update message. | |
6860 | (LD_STATIC_OPTION): Define. | |
6861 | (LD_DYNAMIC_OPTION): Define. | |
6862 | * configure: Regenerate. | |
6863 | * config.in: Regenerate. | |
6864 | * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS && | |
6865 | HAVE_LD_STATIC_DYNAMIC]: Use them. | |
6866 | ||
d7862be3 NC |
6867 | 2011-01-31 Nick Clifton <nickc@redhat.com> |
6868 | ||
6869 | * config/rx/rx.c (rx_get_stack_layout): Only save call clobbered | |
6870 | registers inside interrupt handlers if the handler is not a leaf | |
6871 | function. | |
6872 | ||
ba4ec0e0 NC |
6873 | 2011-01-31 Nick Clifton <nickc@redhat.com> |
6874 | ||
6875 | * config/mn10300/mn10300.c (mn10300_regno_in_class_p): Check for | |
6876 | reg_renumber returning an INVALID_REGNUM. | |
6877 | ||
29a63921 AO |
6878 | 2011-01-31 Alexandre Oliva <aoliva@redhat.com> |
6879 | ||
6880 | PR libgcj/44341 | |
6881 | * doc/install.texi: Document host options discarded when cross | |
6882 | configuring target libraries. | |
6883 | ||
ef591d3f AO |
6884 | 2011-01-31 Alexandre Oliva <aoliva@redhat.com> |
6885 | ||
6886 | Reverted: | |
6887 | 2011-01-25 Alexandre Oliva <aoliva@redhat.com> | |
6888 | PR debug/45136 | |
6889 | PR debug/45130 | |
6890 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
6891 | debug insns. | |
6892 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
6893 | treatment of boundary debug insns. | |
38be4072 | 6894 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
ef591d3f AO |
6895 | * sched-ebb.c (schedule_ebbs): Don't skip debug insns. |
6896 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
6897 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
6898 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
6899 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
6900 | boundary debug insns. | |
6901 | * final.c (rest_of_clean-state): Clear notes' BB. | |
6902 | ||
61052244 AM |
6903 | 2011-01-31 Alan Modra <amodra@gmail.com> |
6904 | ||
6905 | * config/rs6000/rs6000.c (print_operand): Rearrange addends in | |
6906 | toc relative expressions as we do in print_operand_address. | |
6907 | ||
c4c8962b KH |
6908 | 2011-01-30 Kazu Hirata <kazu@codesourcery.com> |
6909 | ||
6910 | * doc/extend.texi: Follow spelling conventions. | |
6911 | * doc/invoke.texi: Fix a typo. | |
6912 | ||
e543b94c JM |
6913 | 2011-01-30 Joseph Myers <joseph@codesourcery.com> |
6914 | ||
6915 | * config/hpux11.opt: New. | |
6916 | * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*, | |
6917 | ia64*-*-hpux*): Use hpux11.opt. | |
6918 | ||
509d65dd | 6919 | 2011-01-30 Jonathan Yong <jon_y@users.sourceforge.net> |
a70e0551 JY |
6920 | |
6921 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules | |
6922 | to tmake_file. | |
6923 | ||
7be03a0e GP |
6924 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> |
6925 | ||
6926 | * doc/install.texi (hppa-hp-hpux10): Remove references to HP | |
6927 | support sites. | |
6928 | ||
419d1d37 GP |
6929 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> |
6930 | ||
b596ed64 GP |
6931 | * doc/install.texi (Binaries): Remove outdated reference for |
6932 | Motorola 68HC11/68HC12 downloads. | |
6933 | ||
6934 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> | |
61052244 | 6935 | |
419d1d37 GP |
6936 | * doc/extend.texi (Thread-Local): Adjust reference to Ulrich |
6937 | Drepper's paper. | |
6938 | ||
4406d0e9 JW |
6939 | 2011-01-29 Jonathan Wakely <jwakely.gcc@gmail.com> |
6940 | ||
6941 | PR bootstrap/47147 | |
6942 | * ginclude/stddef.h: Check for _X86_64_ANSI_H_ and _I386_ANSI_H_ as | |
6943 | used by NetBSD. | |
6944 | ||
38be4072 | 6945 | 2011-01-28 Ahmad Sharif <asharif@google.com> |
e0b77418 AS |
6946 | |
6947 | * value-prof.c (check_counter): Corrected error message. | |
6948 | ||
0cd98787 JZ |
6949 | 2011-01-29 Jie Zhang <jie@codesourcery.com> |
6950 | ||
6951 | * config/arm/arm.c (arm_legitimize_reload_address): New. | |
6952 | * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use | |
6953 | arm_legitimize_reload_address. | |
38be4072 | 6954 | * config/arm/arm-protos.h (arm_legitimize_reload_address): Declare. |
0cd98787 | 6955 | |
9b798ac5 ILT |
6956 | 2011-01-28 Ian Lance Taylor <iant@google.com> |
6957 | ||
6958 | * godump.c (go_define): Ignore macros whose definitions include | |
6959 | two adjacent operands. | |
6960 | ||
591e29d9 JJ |
6961 | 2011-01-28 Jakub Jelinek <jakub@redhat.com> |
6962 | ||
6963 | PR target/42894 | |
6964 | * varasm.c (force_const_mem): Store copy of x in desc->constant | |
6965 | instead of x itself. | |
6966 | * expr.c (emit_move_insn): Add a copy of y_cst instead of y_cst | |
6967 | itself into REG_EQUAL note. | |
6968 | ||
62dcc44a JM |
6969 | 2011-01-28 Joseph Myers <joseph@codesourcery.com> |
6970 | ||
6971 | * config/freebsd.opt (posix, rdynamic): New Driver options. | |
6972 | ||
c9f58b9a RO |
6973 | 2011-01-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6974 | ||
6975 | * configure.ac (gcc_cv_ld_static_dynamic): IRIX 6 ld supports | |
6976 | -Bstatic/-Bdynamic. | |
6977 | * configure: Regenerate. | |
6978 | ||
5f02b9db JM |
6979 | 2011-01-27 Joseph Myers <joseph@codesourcery.com> |
6980 | ||
6981 | * config/rs6000/sysv4.h (LIB_NETBSD_SPEC): Don't handle -profile. | |
6982 | * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -profile. | |
6983 | ||
5df97412 AS |
6984 | 2011-01-27 Anatoly Sokolov <aesok@post.ru> |
6985 | ||
6986 | * config/s390/s390.h (PREFERRED_RELOAD_CLASS): Remove. | |
6987 | * config/s390/s390-protos.h (s390_preferred_reload_class): Remove. | |
6988 | * config/s390/s390.c (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
6989 | (s390_preferred_reload_class): Make static. Change return and | |
6990 | 'rclass' argument type to reg_class_t. | |
6991 | ||
779d4b91 JH |
6992 | 2011-01-27 Jan Hubicka <jh@suse.cz> |
6993 | ||
6994 | PR middle-end/46949 | |
6995 | * cgraphunit.c (process_common_attributes): Fix use of remove_attribute. | |
6996 | (process_function_and_variable_attributes): Check defined weakrefs. | |
6997 | ||
e80b21ed MJ |
6998 | 2011-01-27 Martin Jambor <mjambor@suse.cz> |
6999 | ||
7000 | PR tree-optimization/47228 | |
7001 | * tree-sra.c (sra_modify_assign): Use build_ref_for_model instead of | |
7002 | build_ref_for_offset. | |
7003 | ||
6dcc4f31 UW |
7004 | 2011-01-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
7005 | ||
7006 | * config/spu/spu-elf.h (ASM_SPEC): Remove. | |
7007 | ||
509d65dd | 7008 | 2011-01-26 Mikael Pettersson <mikpe@it.uu.se> |
3b8ff89f MP |
7009 | |
7010 | PR rtl-optimization/46856 | |
7011 | * postreload.c (reload_combine_recognize_const_pattern): Do not | |
7012 | separate cc0 setter and user on cc0 targets. | |
7013 | ||
04af8788 NP |
7014 | 2011-01-26 Nicola Pero <nicola.pero@meta-innovation.com> |
7015 | ||
7016 | PR c/43082 | |
7017 | * c-typeck.c (c_objc_common_truthvalue_conversion): If we are | |
7018 | passed a VOID_TYPE expression, immediately emit an error and | |
7019 | return error_mark_node. | |
7020 | ||
f7a60085 JL |
7021 | 2011-01-26 Jeff Law <law@redhat.com> |
7022 | ||
7023 | PR rtl-optimization/47464 | |
7024 | * df-problems.c (can_move_insn_across): Use may_trap_or_fault_p | |
7025 | rather than may_trap_p as needed. | |
7026 | ||
5c2917ec DD |
7027 | 2011-01-26 DJ Delorie <dj@redhat.com> |
7028 | ||
7029 | PR rtl-optimization/46878 | |
7030 | * combine.c (insn_a_feeds_b): Check for the implicit cc0 | |
7031 | setter/user dependency as well. | |
7032 | ||
bef16e87 EB |
7033 | 2011-01-26 Eric Botcazou <ebotcazou@adacore.com> |
7034 | ||
7035 | PR rtl-optimization/44469 | |
7036 | * cfgcleanup.c (try_optimize_cfg): Iterate in CFG layout mode too | |
7037 | after removing trivially dead basic blocks. | |
7038 | ||
c75d884b JM |
7039 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
7040 | ||
7041 | * config/bfin/bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}. | |
7042 | * config/frv/frv.h (LINK_SPEC): Likewise. | |
7043 | * config/i386/netware.h (LINK_SPEC): Likewise. | |
7044 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
7045 | * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise. | |
7046 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
7047 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
7048 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
7049 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
7050 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
7051 | ||
d3153553 JM |
7052 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
7053 | ||
7054 | * config/bfin/bfin.h (ASM_SPEC): Remove %{Ym,*}. | |
7055 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
7056 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
7057 | * config/pa/pa-linux.h (ASM_SPEC): Likewise. | |
7058 | * config/rs6000/linux64.h (ASM_SPEC): Likewise. | |
7059 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
7060 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
7061 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
7062 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
7063 | ||
b89b1e9d JM |
7064 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
7065 | ||
7066 | * config/bfin/bfin.h (LINK_SPEC): Remove %{YP,*}. | |
7067 | * config/frv/frv.h (LINK_SPEC): Likewise. | |
7068 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
7069 | ||
12eb1a9c JM |
7070 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
7071 | ||
7072 | * config/bfin/bfin.h (ASM_SPEC): Remove %{Yd,*}. | |
7073 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
7074 | * config/i386/sol2-10.h (ASM_SPEC): Likewise. | |
7075 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
7076 | * config/pa/pa-linux.h (ASM_SPEC): Likewise. | |
7077 | * config/rs6000/linux64.h (ASM_SPEC32): Likewise. | |
7078 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
7079 | * config/sol2.h (ASM_SPEC): Remove comment about -Yd,. | |
7080 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
7081 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
7082 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
7083 | * config/sparc/sysv4.h (ASM_SPEC): Remove %{Yd,*}. | |
7084 | ||
e435f098 SE |
7085 | 2011-01-26 Steve Ellcey <sje@cup.hp.com> |
7086 | ||
7087 | PR target/46997 | |
7088 | * config/ia64/vect.md (mulv2si3): Enable and fix for TARGET_BIG_ENDIAN. | |
7089 | (*mux2): Ditto. | |
7090 | (vec_extract_evenodd_help): Ditto. | |
7091 | (vec_extract_evenv4hi): Ditto. | |
7092 | (vec_extract_oddv4hi): Ditto. | |
7093 | (vec_interleave_lowv2si): Ditto. | |
7094 | (vec_interleave_highv2si): Ditto. | |
7095 | (vec_extract_evenv2si): Ditto. | |
7096 | (vec_extract_oddv2si: Ditto. | |
7097 | (vec_pack_trunc_v2si): Ditto. | |
7098 | ||
34f0eee0 JH |
7099 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
7100 | ||
7101 | PR target/47237 | |
7102 | * cgraph.h (cgraph_local_info): New field can_change_signature. | |
7103 | * ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee | |
7104 | signature can change. | |
7105 | (ipcp_estimate_growth): Call sequence simplify only if calle signature | |
7106 | can change. | |
7107 | (ipcp_insert_stage): Only compute args_to_skip if signature can change. | |
7108 | (cgraph_function_versioning): We can not change signature of functions | |
7109 | that don't allow that. | |
7110 | * lto-cgraph.c (lto_output_node): Stream local.can_change_signature. | |
7111 | (lto_input_node): Likewise. | |
38be4072 UB |
7112 | * ipa-inline.c (compute_inline_parameters): Compute |
7113 | local.can_change_signature. | |
34f0eee0 | 7114 | * ipa-split.c (visit_bb): Never split away APPLY_ARGS. |
38be4072 UB |
7115 | * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on |
7116 | functions that can not change signature. | |
34f0eee0 | 7117 | * i386.c (ix86_function_regparm, ix86_function_sseregparm, |
38be4072 UB |
7118 | init_cumulative_args): Do not use local calling conventions |
7119 | for functions that can not change signature. | |
34f0eee0 | 7120 | |
980ca891 JH |
7121 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
7122 | ||
7123 | * doc/invoke.texi (hot-bb-frequency-fraction): Commit forgotten hunk. | |
7124 | ||
768e3c60 RG |
7125 | 2011-01-26 Richard Guenther <rguenther@suse.de> |
7126 | ||
7127 | PR tree-optimization/47190 | |
61052244 AM |
7128 | * cgraphunit.c (process_common_attributes): New function. |
7129 | (process_function_and_variable_attributes): Use it. | |
768e3c60 | 7130 | |
21d6a1c7 RG |
7131 | 2011-01-26 Richard Guenther <rguenther@suse.de> |
7132 | ||
7133 | PR lto/47423 | |
7134 | * cgraphbuild.c (record_eh_tables): Record reference to personality | |
7135 | function. | |
7136 | ||
48bb58b1 AO |
7137 | 2011-01-26 Alexandre Oliva <aoliva@redhat.com> |
7138 | ||
7139 | PR debug/45454 | |
7140 | * sel-sched.c (moveup_expr): Don't let debug insns prevent | |
7141 | non-debug insns from moving up. | |
7142 | ||
58c741a6 DK |
7143 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
7144 | ||
7145 | PR target/40125 | |
7146 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable | |
7147 | t-dlldir{,-x} fragment for build and add it to tmake_file. | |
7148 | (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise. | |
7149 | * Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc. | |
7150 | * config/i386/t-dlldir: New file. | |
7151 | (SHLIB_DLLDIR): Define. | |
7152 | * config/i386/t-dlldir-x: New file. | |
7153 | (SHLIB_DLLDIR): Define. | |
7154 | * config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set. | |
7155 | (SHLIB_INSTALL): Use it. | |
7156 | ||
bff99262 CLT |
7157 | 2011-01-26 Chung-Lin Tang <cltang@codesourcery.com> |
7158 | ||
7159 | PR target/47246 | |
7160 | * config/arm/arm.c (thumb2_legitimate_index_p): Change the | |
7161 | lower bound of the allowed Thumb-2 coprocessor load/store | |
7162 | index range to -256. Add explaining comment. | |
7163 | ||
82c03907 ILT |
7164 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
7165 | ||
7166 | * godump.c (go_define): Improve lexing of macro expansion to only | |
7167 | accept expressions which match Go spec. | |
7168 | ||
47ea1edf DK |
7169 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
7170 | ||
d4dba752 | 7171 | PR c++/43601 |
47ea1edf DK |
7172 | * tree.c (handle_dll_attribute): Handle it. |
7173 | * doc/extend.texi (@item dllexport): Mention it. | |
7174 | * doc/invoke.texi (@item -fno-keep-inline-dllexport): Document it. | |
7175 | ||
744f0946 ILT |
7176 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
7177 | ||
7178 | PR tree-optimization/26854 | |
7179 | * c-decl.c (struct c_scope): Add field has_jump_unsafe_decl. | |
7180 | (decl_jump_unsafe): Move higher in file, with no other change. | |
7181 | (bind): Set has_jump_unsafe_decl if appropriate. | |
7182 | (update_label_decls): Test has_jump_unsafe_decl to avoid loop. | |
7183 | (check_earlier_gotos): Likewise. | |
7184 | (c_check_switch_jump_warnings): Likewise. | |
7185 | ||
5734f2b3 JW |
7186 | 2011-01-25 Jonathan Wakely <jwakely.gcc@gmail.com> |
7187 | ||
7188 | * doc/invoke.texi (Warning Options): Add missing hyphen. | |
7189 | (-fprofile-dir): Minor grammatical fixes. | |
7190 | (-fbranch-probabilities): Likewise. | |
7191 | ||
9bdbdcef AO |
7192 | 2011-01-25 Alexandre Oliva <aoliva@redhat.com> |
7193 | ||
7194 | PR debug/45136 | |
7195 | PR debug/45130 | |
7196 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
7197 | debug insns. | |
7198 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
7199 | treatment of boundary debug insns. | |
38be4072 | 7200 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
9bdbdcef AO |
7201 | * sched-ebb.c (schedule_ebbs): Don't skip debug insns. |
7202 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
7203 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
7204 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
7205 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
7206 | boundary debug insns. | |
7207 | * final.c (rest_of_clean-state): Clear notes' BB. | |
7208 | ||
b305e3da SP |
7209 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7210 | ||
7211 | * Makefile.in (LAMBDA_H): Removed. | |
7212 | (TREE_DATA_REF_H): Remove dependence on LAMBDA_H. | |
7213 | (OBJS-common): Remove dependence on lambda-code.o, lambda-mat.o, | |
7214 | lambda-trans.o, and tree-loop-linear.o. | |
7215 | (lto-symtab.o): Remove dependence on LAMBDA_H. | |
7216 | (tree-loop-linear.o): Remove rule. | |
7217 | (lambda-mat.o): Same. | |
7218 | (lambda-trans.o): Same. | |
7219 | (lambda-code.o): Same. | |
7220 | (tree-vect-loop.o): Add missing dependence on TREE_DATA_REF_H. | |
7221 | (tree-vect-slp.o): Same. | |
7222 | * hwint.h (gcd): Moved here. | |
7223 | (least_common_multiple): Same. | |
7224 | * lambda-code.c: Removed. | |
7225 | * lambda-mat.c: Removed. | |
7226 | * lambda-trans.c: Removed. | |
7227 | * lambda.h: Removed. | |
7228 | * tree-loop-linear.c: Removed. | |
7229 | * lto-symtab.c: Do not include lambda.h. | |
7230 | * omega.c (gcd): Removed. | |
7231 | * passes.c (init_optimization_passes): Remove pass_linear_transform. | |
7232 | * tree-data-ref.c (print_lambda_vector): Moved here. | |
7233 | (lambda_vector_copy): Same. | |
7234 | (lambda_matrix_copy): Same. | |
7235 | (lambda_matrix_id): Same. | |
7236 | (lambda_vector_first_nz): Same. | |
7237 | (lambda_matrix_row_add): Same. | |
7238 | (lambda_matrix_row_exchange): Same. | |
7239 | (lambda_vector_mult_const): Same. | |
7240 | (lambda_vector_negate): Same. | |
7241 | (lambda_matrix_row_negate): Same. | |
7242 | (lambda_vector_equal): Same. | |
7243 | (lambda_matrix_right_hermite): Same. | |
7244 | * tree-data-ref.h: Do not include lambda.h. | |
7245 | (lambda_vector): Moved here. | |
7246 | (lambda_matrix): Same. | |
7247 | (dependence_level): Same. | |
7248 | (lambda_transform_legal_p): Removed declaration. | |
7249 | (lambda_collect_parameters): Same. | |
7250 | (lambda_compute_access_matrices): Same. | |
7251 | (lambda_vector_gcd): Same. | |
7252 | (lambda_vector_new): Same. | |
7253 | (lambda_vector_clear): Same. | |
7254 | (lambda_vector_lexico_pos): Same. | |
7255 | (lambda_vector_zerop): Same. | |
7256 | (lambda_matrix_new): Same. | |
7257 | * tree-flow.h (least_common_multiple): Removed declaration. | |
7258 | * tree-parloops.c (lambda_trans_matrix): Moved here. | |
7259 | (LTM_MATRIX): Same. | |
7260 | (LTM_ROWSIZE): Same. | |
7261 | (LTM_COLSIZE): Same. | |
7262 | (LTM_DENOMINATOR): Same. | |
7263 | (lambda_trans_matrix_new): Same. | |
7264 | (lambda_matrix_vector_mult): Same. | |
7265 | (lambda_transform_legal_p): Same. | |
7266 | * tree-pass.h (pass_linear_transform): Removed declaration. | |
7267 | * tree-ssa-loop.c (tree_linear_transform): Removed. | |
7268 | (gate_tree_linear_transform): Removed. | |
7269 | (pass_linear_transform): Removed. | |
7270 | (gate_graphite_transforms): Make flag_tree_loop_linear an alias of | |
7271 | flag_loop_interchange. | |
7272 | ||
6bdfdb96 JJ |
7273 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
7274 | ||
7275 | PR tree-optimization/47265 | |
7276 | PR tree-optimization/47443 | |
7277 | * tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false | |
7278 | if name still has some uses. | |
7279 | ||
e4cba915 MJ |
7280 | 2011-01-25 Martin Jambor <mjambor@suse.cz> |
7281 | ||
7282 | PR tree-optimization/47382 | |
7283 | * gimple-fold.c (gimple_fold_obj_type_ref_call): Removed. | |
7284 | (gimple_fold_call): Do not call gimple_fold_obj_type_ref_call. | |
7285 | ||
509d65dd | 7286 | 2011-01-25 Joel Sherrill <joel.sherrill@oarcorp.com> |
f822b8ea JS |
7287 | |
7288 | * config/m32r/m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to | |
7289 | sjlj_except_unwind_info. | |
7290 | ||
194313e2 RG |
7291 | 2011-01-25 Richard Guenther <rguenther@suse.de> |
7292 | ||
7293 | PR tree-optimization/47426 | |
7294 | * tree-ssa-structalias.c (ipa_pta_execute): Make externally | |
7295 | visible functions results escape. | |
7296 | ||
147a0bcf JJ |
7297 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
7298 | ||
7299 | PR target/45701 | |
7300 | * config/arm/arm.c (any_sibcall_uses_r3): New function. | |
7301 | (arm_get_frame_offsets): Use it. | |
7302 | ||
db963b52 SP |
7303 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7304 | Jakub Jelinek <jakub@redhat.com> | |
7305 | ||
7306 | PR tree-optimization/47271 | |
7307 | * tree-if-conv.c (bb_postdominates_preds): New. | |
7308 | (if_convertible_bb_p): Call bb_postdominates_preds. | |
7309 | (if_convertible_loop_p_1): Compute CDI_POST_DOMINATORS. | |
7310 | (predicate_scalar_phi): Call bb_postdominates_preds. | |
7311 | ||
bcddd3b9 NC |
7312 | 2011-01-25 Nick Clifton <nickc@redhat.com> |
7313 | ||
7314 | * config/rx/rx.h (LIBCALL_VALUE): Do not promote complex types. | |
7315 | * config/rx/rx.c (rx_function_value): Likewise. | |
7316 | (rx_promote_function_mode): Likewise. | |
7317 | (gen_safe_add): Place an outsized immediate value inside an UNSPEC | |
7318 | in order to make it legitimate. | |
38be4072 UB |
7319 | * config/rx/rx.md (adddi3_internal): If the second operand is a MEM |
7320 | make sure that the first operand is the same as the result register. | |
bcddd3b9 NC |
7321 | (addsi3_unspec): Delete. |
7322 | (subdi3): Do not accept immediate operands. | |
7323 | (subdi3_internal): Likewise. | |
7324 | ||
7e6cb022 JL |
7325 | 2011-01-25 Jeff Law <law@redhat.com> |
7326 | ||
7327 | PR rtl-optimization/37273 | |
7328 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
7329 | handle them like argument loads from stack slots. Do not double | |
7330 | count memory for memory constants and argument loads from stack slots. | |
7331 | ||
9ffa621e JJ |
7332 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
7333 | ||
7334 | PR tree-optimization/47427 | |
7335 | PR tree-optimization/47428 | |
7336 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't | |
7337 | coalesce if the new root var would be TREE_READONLY. | |
7338 | ||
5bd6e652 RG |
7339 | 2011-01-25 Richard Guenther <rguenther@suse.de> |
7340 | ||
7341 | PR middle-end/47414 | |
7342 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Use the | |
7343 | correct type for TBAA. | |
7344 | ||
7c48ea69 SP |
7345 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7346 | ||
7347 | * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New. | |
7348 | (close_phi_written_to_memory): Call for_each_index with | |
7349 | dr_indices_valid_in_loop. | |
7350 | ||
38013f25 SP |
7351 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7352 | ||
7353 | * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN | |
7354 | when it is initialized. | |
7355 | ||
5c640e29 SP |
7356 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7357 | ||
7358 | * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Update | |
7359 | call to graphite_find_data_references_in_stmt. | |
7360 | * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New. | |
7361 | (try_generate_gimple_bb): Call outermost_loop_in_sese_1. Update | |
7362 | call to graphite_find_data_references_in_stmt. | |
7363 | (analyze_drs_in_stmts): Same. | |
7364 | * tree-data-ref.c (dr_analyze_indices): Pass in parameter the loop | |
7365 | in which the scalar analysis of indices is performed. | |
7366 | (create_data_ref): Same. Update call to dr_analyze_indices. | |
7367 | (find_data_references_in_stmt): Update call to create_data_ref. | |
7368 | (graphite_find_data_references_in_stmt): Same. | |
7369 | * tree-data-ref.h (graphite_find_data_references_in_stmt): Update | |
7370 | declaration. | |
7371 | (create_data_ref): Same. | |
7372 | * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Update | |
7373 | call to create_data_ref. | |
7374 | ||
ac53c069 SP |
7375 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7376 | ||
7377 | * graphite-sese-to-poly.c (build_poly_scop): Move | |
38be4072 | 7378 | rewrite_commutative_reductions_out_of_ssa before find_scop_parameters. |
ac53c069 | 7379 | |
3d17df15 SP |
7380 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7381 | ||
7382 | * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow | |
7383 | VAR_DECL, PARM_DECL, and RESULT_DECL. | |
7384 | ||
c513da01 SP |
7385 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7386 | ||
7387 | * graphite-dependences.c (reduction_dr_1): Allow several reductions | |
7388 | in a reduction PBB. | |
7389 | * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs | |
7390 | that have already been marked as PBB_IS_REDUCTION. | |
7391 | ||
3a292d59 SP |
7392 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7393 | ||
7394 | * graphite-scop-detection.c (same_close_phi_node): New. | |
7395 | (remove_duplicate_close_phi): New. | |
7396 | (make_close_phi_nodes_unique): New. | |
7397 | (canonicalize_loop_closed_ssa): Call make_close_phi_nodes_unique. | |
7398 | ||
ba858447 SP |
7399 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7400 | ||
7401 | * graphite-dependences.c (new_poly_ddr): Call same_pdr_p. | |
7402 | * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE | |
7403 | of both data references to be the same. | |
7404 | ||
8d865c56 SP |
7405 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7406 | ||
38be4072 UB |
7407 | * graphite-dependences.c (build_lexicographical_constraint): Remove |
7408 | the gdim parameter. | |
7409 | (build_lexicographical_constraint): Adjust call to | |
7410 | ppl_powerset_is_empty. | |
8d865c56 SP |
7411 | (dependence_polyhedron): Same. |
7412 | (graphite_legal_transform_dr): Same. | |
7413 | (graphite_carried_dependence_level_k): Same. | |
38be4072 UB |
7414 | * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params |
7415 | parameter. | |
8d865c56 SP |
7416 | * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration. |
7417 | ||
50034a36 SP |
7418 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7419 | ||
7420 | * graphite-sese-to-poly.c | |
7421 | (translate_scalar_reduction_to_array_for_stmt): Call unshare_expr. | |
7422 | (close_phi_written_to_memory): New. | |
7423 | (translate_scalar_reduction_to_array): Call close_phi_written_to_memory | |
7424 | and unshare_expr. | |
7425 | ||
0deada9e SP |
7426 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7427 | ||
7428 | * doc/install.texi: Update the expected version number of PPL to 0.11. | |
7429 | * graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under | |
7430 | #if PPL_VERSION_MINOR < 11. | |
7431 | ||
d7d3d6af SP |
7432 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7433 | ||
7434 | * graphite-dependences.c: Include graphite-cloog-util.h. | |
7435 | (new_poly_ddr): Inlined into dependence_polyhedron. | |
7436 | (free_poly_ddr): Moved close by new_poly_ddr. | |
7437 | (dependence_polyhedron_1): Renamed dependence_polyhedron. | |
7438 | Early return NULL when ppl_powerset_is_empty returns true. | |
7439 | (dependence_polyhedron): Renamed new_poly_ddr. Call only once | |
7440 | poly_drs_may_alias_p. Avoid one call to ppl_powerset_is_empty. | |
7441 | (graphite_legal_transform_dr): Call new_poly_ddr. | |
7442 | (graphite_carried_dependence_level_k): Same. | |
7443 | (dot_original_deps_stmt_1): Renamed dot_deps_stmt_2. Use new_poly_ddr. | |
7444 | (dot_transformed_deps_stmt_1): Removed. | |
7445 | (dot_deps_stmt_1): Call dot_deps_stmt_2. | |
7446 | (dot_original_deps): Renamed dot_deps_2. Call new_poly_ddr. | |
7447 | (dot_deps_1): Call dot_deps_2. | |
7448 | * Makefile.in (graphite-dependences.o): Add missing dependence on | |
7449 | graphite-cloog-util.h. | |
7450 | ||
28c5db57 SP |
7451 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7452 | ||
7453 | * graphite-dependences.c (new_poly_dr): Call ppl_powerset_is_empty. | |
7454 | (build_lexicographical_constraint): Same. | |
7455 | (dependence_polyhedron_1): Same. | |
7456 | (graphite_legal_transform_dr): Same. | |
7457 | (graphite_carried_dependence_level_k): Same. | |
7458 | * graphite-ppl.c (ppl_powerset_is_empty): New. | |
7459 | * graphite-ppl.h (ppl_powerset_is_empty): Declared. | |
7460 | * tree-data-ref.c (dump_data_reference): Print the basic block index. | |
7461 | ||
5168d98f SP |
7462 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7463 | ||
7464 | * graphite-dependences.c (build_pairwise_scheduling): Correctly compute | |
7465 | the "a followed by b" relation and document it. | |
7466 | ||
4a40293a SP |
7467 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7468 | ||
7469 | * graphite-dependences.c (build_lexicographical_constraint): Stop the | |
7470 | iteration when the bag of constraints is empty. | |
7471 | ||
271fb6fa SP |
7472 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7473 | ||
7474 | * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work. | |
7475 | ||
92d23680 SP |
7476 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7477 | ||
7478 | * graphite-interchange.c (lst_interchange_profitable_p): Takes a loop | |
7479 | nest and two loop depths as parameters. | |
7480 | (lst_try_interchange_loops): Call lst_interchange_profitable_p after | |
7481 | lst_perfect_nestify. | |
7482 | ||
2f51deff SP |
7483 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7484 | ||
7485 | * graphite-dependences.c (print_pddr): Call | |
7486 | ppl_io_fprint_Pointset_Powerset_C_Polyhedron. | |
7487 | ||
07f3593c SP |
7488 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
7489 | ||
7490 | * graphite-ppl.c (debug_gmp_value): New. | |
7491 | * graphite-ppl.h (debug_gmp_value): Declared. | |
7492 | ||
3fae6099 TG |
7493 | 2011-01-25 Tobias Grosser <grosser@fim.uni-passau.de> |
7494 | ||
7495 | * doc/install.texi: Document availability of cloog-0.16. | |
7496 | ||
1c3ba85b SP |
7497 | 2011-01-25 Vladimir Kargov <kargov@gmail.com> |
7498 | ||
7499 | * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Free | |
7500 | invalid postdominance info. | |
7501 | ||
e8ba94fc JH |
7502 | 2011-01-24 Jan Hubicka <jh@suse.cz> |
7503 | ||
7504 | PR c/21659 | |
7505 | * doc/extend.texi (weak pragma): Drop claim that it must | |
7506 | appear before definition. | |
7507 | * varasm.c (merge_weak, declare_weak): Only sanity check | |
7508 | that DECL is not output at a time it is declared weak. | |
7509 | ||
2b6e2d13 KZ |
7510 | 2011-01-24 Kenneth Zadeck <zadeck@naturalbridge.com> |
7511 | ||
7512 | * machmode.def: Fixed comments. | |
1c3ba85b | 7513 | |
9841210f KT |
7514 | 2011-01-24 Kai Tietz <kai.tietz@onevision.com> |
7515 | ||
7516 | * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t. | |
7517 | ||
7518 | 2011-01-24 Paul Koning <ni1d@arrl.net> | |
e046112d PK |
7519 | |
7520 | * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN != | |
1c3ba85b | 7521 | WORDS_BIG_ENDIAN. |
e046112d | 7522 | |
a6c5070a L |
7523 | 2011-01-24 H.J. Lu <hongjiu.lu@intel.com> |
7524 | ||
7525 | PR target/46519 | |
7526 | * config/i386/i386.c: Include sbitmap.h and fibheap.h. | |
7527 | (block_info): Add scanned and prev. | |
7528 | (move_or_delete_vzeroupper_2): Return if the basic block | |
7529 | has been scanned and the upper 128bit state is unchanged | |
7530 | from the last scan. | |
7531 | (move_or_delete_vzeroupper_1): Return true if the exit | |
7532 | state is changed. | |
7533 | (move_or_delete_vzeroupper): Visit basic blocks using the | |
7534 | work-list based algorithm based on vt_find_locations in | |
7535 | var-tracking.c. | |
7536 | ||
7537 | * config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H). | |
7538 | ||
a40d79d7 NC |
7539 | 2011-01-24 Nick Clifton <nickc@redhat.com> |
7540 | ||
7541 | * config/v850/v850.opt (mv850es): New option - alias for -mv850e1. | |
7542 | * config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass | |
7543 | -mv850e1 to the assembler. If -mv850e1 or -mv850es is specified | |
7544 | then define __v850e1__. | |
7545 | * doc/invoke.texi: Document -mv850es. | |
7546 | ||
440eb8de RH |
7547 | 2011-01-24 Richard Henderson <rth@redhat.com> |
7548 | ||
7549 | * config/rx/predicates.md (rx_fp_comparison_operator): Don't accept | |
7550 | compound unordered comparisons. | |
7551 | * config/rx/rx.c (rx_split_fp_compare): Remove. | |
7552 | * config/rx/rx-protos.h: Update. | |
7553 | * config/rx/rx.md (gcc_conds, rx_conds): Remove. | |
7554 | (cbranchsf4): Don't call rx_split_fp_compare. | |
7555 | (*cbranchsf4): Use rx_split_cbranch. | |
7556 | (*cmpsf): Don't accept "i" constraint. | |
7557 | (*conditional_branch): Only valid after reload. | |
7558 | (cstoresf4): Merge expander with insn. Don't call rx_split_fp_compare. | |
7559 | ||
3ff79f99 MM |
7560 | 2011-01-24 Michael Meissner <meissner@linux.vnet.ibm.com> |
7561 | ||
7562 | PR target/47385 | |
7563 | * config/rs6000/altivec.md (vector constant splitters): Add | |
7564 | support for creating vector single precision constants if -mvsx is | |
7565 | used and we would create the constant using Altivec primitives. | |
7566 | ||
ff3d9d08 BS |
7567 | 2011-01-23 Bernd Schmidt <bernds@codesourcery.com> |
7568 | Richard Sandiford <rdsandiford@googlemail.com> | |
7569 | ||
7570 | PR rtl-optimization/47166 | |
7571 | * reload1.c (emit_reload_insns): Disable the spill_reg_store | |
7572 | mechanism for PRE_MODIFY and POST_MODIFY. | |
7573 | (inc_for_reload): For PRE_MODIFY, return the insn that sets the | |
7574 | reloadreg. | |
7575 | ||
7fcaf152 AS |
7576 | 2011-01-23 Andreas Schwab <schwab@linux-m68k.org> |
7577 | ||
8788adb6 | 7578 | * compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers. |
7fcaf152 | 7579 | |
d09b58c4 JH |
7580 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
7581 | ||
7582 | PR lto/47333 | |
7583 | * lto-cgraph.c (reachable_from_this_partition_p): Fix pasto. | |
7584 | ||
e8ff8c5a JH |
7585 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
7586 | ||
7587 | PR tree-optimization/43884 | |
7588 | PR lto/44334 | |
8788adb6 | 7589 | * predict.c (maybe_hot_frequency_p): Use entry block frequency as base. |
e8ff8c5a JH |
7590 | * doc/invoke.texi (hot-bb-frequency-fraction): Update docs. |
7591 | ||
ccaed3ba AS |
7592 | 2011-01-22 Anatoly Sokolov <aesok@post.ru> |
7593 | ||
7594 | * config/s390/s390.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. | |
7595 | * config/s390/s390.c (s390_register_move_cost, | |
7596 | s390_memory_move_cost): New. | |
7597 | (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define. | |
7598 | ||
0cecee06 UW |
7599 | 2011-01-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
7600 | ||
7601 | PR middle-end/47401 | |
7602 | * except.c (sjlj_assign_call_site_values): Move setting the | |
7603 | crtl->uses_eh_lsda flag to ... | |
7604 | (sjlj_mark_call_sites): ... here. | |
7605 | (sjlj_emit_function_enter): Support NULL dispatch label. | |
7606 | (sjlj_build_landing_pads): In a function with no landing pads | |
7607 | that still has must-not-throw regions, generate code to register | |
7608 | a personality function with empty LSDA. | |
7609 | ||
e692f276 RH |
7610 | 2011-01-21 Richard Henderson <rth@redhat.com> |
7611 | ||
1b7ae0b7 RH |
7612 | * config/rx/rx.c (TARGET_FLAGS_REGNUM): New. |
7613 | ||
3843787f RH |
7614 | * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New. |
7615 | ||
e692f276 RH |
7616 | * compare-elim.c: New file. |
7617 | * Makefile.in (OBJS-common): Add it. | |
7618 | (compare-elim.o): New. | |
7619 | * common.opt (fcompare-elim): New. | |
7620 | * opts.c (default_options_table): Add OPT_fcompare_elim. | |
7621 | * tree-pass.h (pass_compare_elim_after_reload): New. | |
7622 | * passes.c (init_optimization_passes): Add it. | |
7623 | * recog.h: Protect against re-inclusion. | |
7624 | * target.def (TARGET_FLAGS_REGNUM): New POD hook. | |
7625 | * doc/invoke.texi (-fcompare-elim): Document it. | |
7626 | * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Document it. | |
7627 | * doc/tm.texi: Rebuild. | |
7628 | ||
9a7c2050 NC |
7629 | 2011-01-22 Nick Clifton <nickc@redhat.com> |
7630 | ||
7631 | * config/rx/rx.md (cstoresf4): Pass comparison operator to | |
7632 | rx_split_fp_compare. | |
7633 | ||
15ba5696 NC |
7634 | 2011-01-22 Nick Clifton <nickc@redhat.com> |
7635 | ||
7636 | * config/rx/rx.md (UNSPEC_CONST): New. | |
7637 | (deallocate_and_return): Wrap the amount popped off the stack in | |
7638 | an UNSPEC_CONST in order to stop it being rejected by | |
7639 | -mmax-constant-size. | |
7640 | (pop_and_return): Add a "(return)" rtx. | |
7641 | (call): Drop the immediate operand. | |
7642 | (call_internal): Likewise. | |
7643 | (call_value): Likewise. | |
7644 | (call_value_internal): Likewise. | |
7645 | (sibcall_internal): Likewise. | |
7646 | (sibcall_value_internal): Likewise. | |
7647 | (sibcall): Likewise. Generate an explicit call using | |
7648 | sibcall_internal. | |
7649 | (sibcall_value): Likewise. | |
7650 | (mov<>): FAIL if a constant operand is not legitimate. | |
7651 | (addsi3_unpsec): New pattern. | |
9a7c2050 | 7652 | |
38be4072 | 7653 | * config/rx/rx.c (rx_print_operand_address): Handle UNSPEC CONSTs. |
15ba5696 NC |
7654 | (ok_for_max_constant): New function. |
7655 | (gen_safe_add): New function. | |
7656 | (rx_expand_prologue): Use gen_safe_add. | |
7657 | (rx_expand_epilogue): Likewise. | |
7658 | (rx_is_legitimate_constant): Use ok_for_max_constant. Handle | |
7659 | UNSPEC CONSTs. | |
7660 | ||
caaf13d3 JL |
7661 | 2011-01-21 Jeff Law <law@redhat.com> |
7662 | ||
7663 | PR tree-optimization/47053 | |
7664 | * tree-ssa-dse.c (need_eh_cleanup): New bitmap. | |
7665 | (dse_optimize_stmt): Set the appropriate bit in NEED_EH_CLEANUP when | |
7666 | statements are deleted. | |
7667 | (tree_ssa_dse): Allocate & free NEED_EH_CLEANUP. If NEED_EH_CLEANUP | |
7668 | is nonempty, then purge dead edges and cleanup the CFG. | |
7669 | ||
12c30f2f AO |
7670 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> |
7671 | ||
7672 | PR debug/47402 | |
7673 | Temporarily revert: | |
7674 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> | |
7675 | PR debug/47106 | |
7676 | * tree-dfa.c (create_var_ann): Mark variable as used. | |
7677 | ||
7360d2ac JJ |
7678 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
7679 | ||
aaa52a96 JJ |
7680 | PR middle-end/45566 |
7681 | * except.c (convert_to_eh_region_ranges): Emit queued no-region | |
7682 | notes from other section in hot/cold partitioning even if | |
7683 | last_action is -3. Increment call_site_base. | |
7684 | ||
7360d2ac JJ |
7685 | PR rtl-optimization/47366 |
7686 | * fwprop.c (forward_propagate_into): Return bool. If | |
7687 | any changes are made, -fnon-call-exceptions is used and | |
7688 | REG_EH_REGION note is present, call purge_dead_edges | |
7689 | and return true if it purged anything. | |
7690 | (fwprop_addr): Adjust callers, call cleanup_cfg (0) if | |
7691 | any EH edges were purged. | |
7692 | ||
e90b336f JL |
7693 | 2011-01-21 Jeff Law <law@redhat.com> |
7694 | ||
7695 | PR rtl-optimization/41619 | |
7696 | * caller-save.c (setup_save_areas): Break out code to determine | |
7697 | which hard regs are live across calls by examining the reload chains | |
7698 | so that it is always used. | |
7699 | Eliminate code which checked REG_N_CALLS_CROSSED. | |
7700 | ||
3ffe07e1 JJ |
7701 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
7702 | ||
7703 | PR tree-optimization/47355 | |
7704 | * tree-eh.c (cleanup_empty_eh_merge_phis): Give up if | |
7705 | NOP has non-debug uses beyond PHIs in new_bb. | |
7706 | ||
1c7d0b34 AO |
7707 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> |
7708 | ||
7709 | PR debug/47106 | |
7710 | * cfgexpand.c (account_used_vars_for_block): Only account vars | |
7711 | that are annotated as used. | |
7712 | (estimated_stack_frame_size): Don't set TREE_USED. | |
7713 | * tree-dfa.c (create_var_ann): Mark variable as used. | |
7714 | ||
f99cc488 RG |
7715 | 2011-01-21 Richard Guenther <rguenther@suse.de> |
7716 | ||
7717 | PR middle-end/47395 | |
7718 | * tree.def (WIDEN_MULT_MINUS_EXPR): Fix printed name. | |
7719 | ||
3bc27de7 RG |
7720 | 2011-01-21 Richard Guenther <rguenther@suse.de> |
7721 | ||
7722 | PR tree-optimization/47365 | |
7723 | * tree-ssa-sccvn.h (vn_lookup_kind): Declare. | |
7724 | (vn_reference_lookup_pieces): Adjust. | |
7725 | (vn_reference_lookup): Likewise. | |
7726 | * tree-ssa-sccvn.c (vn_walk_kind): New static global. | |
7727 | (vn_reference_lookup_3): Only look through kills if in | |
7728 | VN_WALKREWRITE mode. | |
7729 | (vn_reference_lookup_pieces): Adjust. | |
7730 | (vn_reference_lookup): Likewise. | |
7731 | (visit_reference_op_load): Likewise. | |
7732 | (visit_reference_op_store): Likewise. | |
7733 | * tree-ssa-pre.c (phi_translate_1): Use VN_WALK mode. | |
7734 | (compute_avail): Likewise. | |
7735 | (eliminate): Likewise. | |
7736 | ||
d8debb1d JJ |
7737 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
7738 | ||
7739 | * tree-ssa-live.c (remove_unused_scope_block_p): Don't remove | |
7740 | DECL_IGNORED_P non-reg vars if they are used. | |
7741 | ||
3a2df831 JJ |
7742 | PR tree-optimization/47391 |
7743 | * varpool.c (const_value_known_p): Return false if | |
7744 | decl is volatile. | |
7745 | ||
1dd584a2 KT |
7746 | 2011-01-21 Kai Tietz <kai.tietz@onevision.com> |
7747 | ||
7748 | PR bootstrap/47215 | |
7749 | * config/i386/i386.c (ix86_local_alignment): Handle | |
7750 | case for va_list_type_node is nil. | |
7751 | (ix86_canonical_va_list_type): Likewise. | |
7752 | ||
7f9f095e AM |
7753 | 2011-01-21 Alan Modra <amodra@gmail.com> |
7754 | ||
7755 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Add | |
7756 | builtin_define __CMODEL_MEDIUM__ and __CMODEL_LARGE__. | |
7757 | ||
837b01f6 RR |
7758 | 2011-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
7759 | ||
7760 | * config/arm/arm.md (define_attr type): Rename f_load | |
7761 | and f_store to f_fpa_load and f_fpa_store. Update. | |
7762 | (write_conflict): Deal with rename fallout. | |
7763 | (*push_fp_multi): Likewise. | |
7764 | * config/arm/fpa.md (f_load): Use f_fpa_load. | |
7765 | (f_store): Use f_fpa_store. | |
7766 | (*movsf_fpa): Likewise. | |
7767 | (*movdf_fpa): Likewise. | |
7768 | (*movxf_fpa): Likewise. | |
7769 | (*thumb2_movsf_fpa): Likewise. | |
7770 | (*thumb2_movdf_fpa): Likewise. | |
7771 | (*thumb2_movxf_fpa): Likewise. | |
7772 | * config/arm/vfp.md (*thumb2_movdf_vfp): Fix attribute to | |
7773 | f_loadd and f_stored. | |
7774 | (*thumb2_movdi_vfp): Likewise. | |
7775 | (*thumb2_movsf_vfp): Fix attribute to f_loads. | |
7776 | (*thumb2_movsi_vfp): Likewise. | |
7777 | * config/arm/cortex-m4-fpu.md (cortex_m4_f_load): | |
7778 | Use f_loads instead of f_load. | |
7779 | * config/arm/cortex-a5.md (cortex_a5_f_loads): Remove f_load. | |
7780 | ||
a1a79768 AS |
7781 | 2011-01-20 Anatoly Sokolov <aesok@post.ru> |
7782 | ||
7783 | * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
7784 | * config/xtensa/xtensa-protos.h (constantpool_address_p): Remove. | |
7785 | * config/xtensa/xtensa.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
7786 | (xtensa_mode_dependent_address_p): New function. | |
7787 | (constantpool_address_p): Make static. Change return type to bool. | |
7788 | Change argument type to const_rtx. Use CONST_INT_P predicate. | |
7789 | ||
427f6cec AO |
7790 | 2011-01-20 Alexandre Oliva <aoliva@redhat.com> |
7791 | ||
7792 | PR debug/46583 | |
7793 | * tree-ssa-live.c (remove_unused_scope_block_p): Keep type decls. | |
7794 | ||
583ac69c JJ |
7795 | 2011-01-20 Jakub Jelinek <jakub@redhat.com> |
7796 | ||
7797 | PR debug/47283 | |
7798 | * cfgexpand.c (expand_debug_expr): Instead of generating | |
7799 | (mem (debug_implicit_ptr)) for MEM_REFs use COMPONENT_REF | |
7800 | etc. handling. | |
7801 | ||
93e452ed RG |
7802 | 2011-01-20 Richard Guenther <rguenther@suse.de> |
7803 | ||
7804 | PR middle-end/47370 | |
7805 | * tree-inline.c (remap_gimple_op_r): Recurse manually for | |
7806 | the pointer operand of MEM_REFs. | |
7807 | ||
28fc44f3 JJ |
7808 | 2011-01-20 Jakub Jelinek <jakub@redhat.com> |
7809 | ||
7810 | PR tree-optimization/46130 | |
7811 | * ipa-split.c (consider_split): If return_bb contains non-virtual | |
7812 | PHIs other than for retval or if split_function would not adjust it, | |
7813 | refuse to split. | |
7814 | ||
ddd268f2 RG |
7815 | 2011-01-20 Richard Guenther <rguenther@suse.de> |
7816 | ||
7817 | PR tree-optimization/47167 | |
7818 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): | |
7819 | Revert previous change, only avoid enumeral type changes. | |
7820 | ||
882020aa MS |
7821 | 2011-01-19 Mike Stump <mikestump@comcast.net> |
7822 | ||
7823 | * doc/tm.texi.in (BRANCH_COST): Englishify. | |
7824 | * doc/tm.texi (BRANCH_COST): Likewise. | |
7825 | ||
7edb6247 DS |
7826 | 2011-01-19 Dodji Seketeli <dodji@redhat.com> |
7827 | ||
7828 | PR c++/47291 | |
7829 | * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen) | |
61052244 AM |
7830 | (gen_scheduled_generic_parms_dies): New functions. |
7831 | (gen_struct_or_union_type_die): Schedule template parameters DIEs | |
7832 | generation for the end of CU compilation. | |
7833 | (dwarf2out_finish): Generate template parameters DIEs here. | |
7edb6247 | 7834 | |
23d5ed5d AO |
7835 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
7836 | ||
7837 | PR debug/46240 | |
7838 | * tree-into-ssa.c (maybe_register_def): Do not attempt to add | |
7839 | debug bind stmt on merge edges. | |
7840 | ||
37d6a488 AO |
7841 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
7842 | ||
7843 | PR debug/47079 | |
7844 | PR debug/46724 | |
7845 | * function.c (instantiate_expr): Instantiate incoming rtl of | |
7846 | implicit arguments, and recurse on VALUE_EXPRs. | |
7847 | (instantiate_decls): Instantiate rtl and VALUE_EXPR of result. | |
7848 | * var-tracking.c (adjust_mems): Reject virtual_incoming_args_rtx. | |
7849 | ||
689f2c82 AO |
7850 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
7851 | ||
7852 | * c-parser.c (c_parser_for_statement): Initialize | |
7853 | collection_expression. | |
7854 | ||
03029de4 JM |
7855 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
7856 | ||
7857 | * config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}. | |
7858 | ||
3e03217e JM |
7859 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
7860 | ||
7861 | * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove. | |
7862 | (LINK_SHLIB_SPEC): Don't use %(link_path). | |
7863 | (SUBTARGET_EXTRA_SPECS): Remove link_path. | |
7864 | ||
5bbe9b3f JM |
7865 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
7866 | ||
7867 | * config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional. | |
7868 | (NO_SHARED_LIB_SUPPORT): Remove. | |
7869 | (LINK_SHLIB_SPEC): Remove one conditional definition. | |
7870 | ||
368e0b39 JM |
7871 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
7872 | ||
7873 | * config/mips/linux64.h (LINK_SPEC): Remove %{non_shared} | |
7874 | %{call_shared}. | |
7875 | * config/mips/mips.h (LINK_SPEC): Remove %{non_shared}. | |
7876 | * config/mips/netbsd.h (LINK_SPEC): Remove %{call_shared}. | |
7877 | * config/mips/openbsd.h (LINK_SPEC): Remove %{non_shared} | |
7878 | %{call_shared} and conditionals on these options not being passed. | |
7879 | * config/mips/sde.h (LINK_SPEC): Remove %{non_shared} | |
7880 | %{call_shared}. | |
7881 | ||
ed7656f6 JJ |
7882 | 2011-01-19 Jakub Jelinek <jakub@redhat.com> |
7883 | ||
68457901 JJ |
7884 | * ipa-split.c (find_return_bb): Use single_pred_p/single_pred_edge, |
7885 | simplify. | |
7886 | ||
ed7656f6 JJ |
7887 | * ipa-split.c: Spelling fixes. |
7888 | ||
e0d1958f RH |
7889 | 2011-01-19 Richard Henderson <rth@redhat.com> |
7890 | ||
7891 | * config/mn10300/mn10300.md (mulsi3): Use reg_or_am33_const_operand. | |
7892 | (*mulsi3): Likewise. | |
7893 | ||
27098b6b RH |
7894 | * longlong.h [__mn10300__] (count_leading_zeros): New. |
7895 | [__mn10300__] (umul_ppmm, smul_ppmm): New. | |
7896 | [__mn10300__] (add_ssaaaa, subddmmss): New. | |
7897 | [__mn10300__] (udiv_qrnnd, sdiv_qrnnd): New. | |
7898 | [__mn10300__] (UMUL_TIME, UDIV_TIME): New. | |
7899 | ||
d6be7c36 UW |
7900 | 2011-01-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
7901 | ||
7902 | * config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case. | |
7903 | ||
b1efde2a RH |
7904 | 2011-01-19 Richard Henderson <rth@redhat.com> |
7905 | ||
44217823 RH |
7906 | * config/mn10300/mn10300.md (addsi3_flags): New. |
7907 | (addc_internal, adddi3, adddi3_internal, *adddi3_degenerate): New. | |
7908 | (subsi3_flags, subc_internal, subdi3): New. | |
7909 | (subdi3_internal, *subdi3_degenerate): New. | |
7910 | * config/mn10300/predicates.md (reg_or_am33_const_operand): New. | |
7911 | ||
37a185d7 RH |
7912 | * config/mn10300/mn10300.c (mn10300_can_use_retf_insn): New. |
7913 | (mn10300_can_use_rets_insn): Rename from mn10300_can_use_return_insn. | |
7914 | (mn10300_expand_epilogue): Use it. Compute REG_SAVE_BYTES once. | |
7915 | * config/mn10300/mn10300-protos.h: Update. | |
7916 | * config/mn10300/mn10300.md (return): Use mn10300_can_use_retf_insn. | |
7917 | (return_ret): Likewise. Rename from return_internal_regs. | |
7918 | (return_internal): Remove. | |
7919 | ||
040c5757 RH |
7920 | * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): Remove. |
7921 | (mn10300_asm_output_addr_const_extra): Don't handle UNSPEC_INT_LABEL. | |
7922 | (mn10300_legitimate_constant_p): Likewise. | |
7923 | (mn10300_can_use_return_insn): Use mn10300_initial_offset. | |
7924 | (mn10300_frame_size): New. | |
7925 | (mn10300_expand_prologue): Use it. | |
7926 | (mn10300_expand_epilogue): Likewise. | |
7927 | (mn10300_initial_offset): Likewise. | |
7928 | * config/mn10300/mn10300-protos.h: Update. | |
7929 | * config/mn10300/mn10300.h (mn10300_unspec_int_label_counter): Remove. | |
7930 | * config/mn10300/mn10300.md (UNSPEC_INT_LABEL): Remove. | |
7931 | (prologue, epilogue, return_internal): Tidy output code. | |
7932 | (mn10300_store_multiple_operation, return): Likewise. | |
7933 | (int_label, pop_pic_reg, GOTaddr2picreg): Remove. | |
7934 | (am33_loadPC, mn10300_loadPC, call_next_insn): Remove. | |
7935 | (add_GOT_to_pic_reg, add_GOT_to_any_reg): Remove. | |
7936 | (load_pic, am33_load_pic): New. | |
7937 | (mn10300_load_pic0, mn10300_load_pic1): New. | |
7938 | ||
bad41521 RH |
7939 | * config/mn10300/mn10300-modes.def (CCZN, CCZNC): New modes. |
7940 | * config/mn10300/mn10300.c (CC_FLAG_Z): New. | |
7941 | (CC_FLAG_N, CC_FLAG_C, CC_FLAG_V): New. | |
7942 | (cc_flags_for_mode, cc_flags_for_code): New. | |
7943 | (mn10300_print_operand) ['B']: Use nc/ns for GE/LT when the | |
7944 | overflow flag is not valid. Validate that the flags we need | |
7945 | for the comparison are valid. | |
7946 | (mn10300_output_cmp): Remove. | |
7947 | (mn10300_output_add): New. | |
7948 | (mn10300_select_cc_mode): Use cc_flags_for_code. | |
7949 | (mn10300_split_cbranch): New. | |
7950 | (mn10300_match_ccmode): New. | |
7951 | (mn10300_split_and_operand_count): New. | |
7952 | * config/mn10300/mn10300.h (SELECT_CC_MODE): Pass all of the arguments | |
7953 | to the function. | |
7954 | * config/mn10300/mn10300.md (*am33_addsi3, *mn10300_addsi3): Merge... | |
7955 | (addsi3): ... here. Use mn10300_output_add. | |
7956 | (*addsi3_flags): New. | |
7957 | (*am33_subsi3, *mn10300_subsi3): Merge... | |
7958 | (subsi3): ... here. Use attribute isa. | |
7959 | (*subsi3_flags): New. | |
7960 | (negsi2): Rewrite from expander to insn_and_split. Use NOT+INC | |
7961 | when possible. | |
7962 | (*am33_andsi3, *mn10300_andsi3): Merge... | |
7963 | (andsi3): ... here. | |
7964 | (*andsi3_flags): New. | |
7965 | (andsi3 splitters): New. | |
7966 | (*am33_iorsi3, *mn10300_iorsi3): Merge... | |
7967 | (iorsi3): ... here. | |
7968 | (*iorsi3_flags): New. | |
7969 | (*am33_xorsi3, *mn10300_xorsi3): Merge... | |
7970 | (xorsi3): ... here. | |
7971 | (*xorsi3_flags): New. | |
7972 | (*am33_cmpsi2, *mn10300_cmplsi2): Merge... | |
7973 | (one_cmplsi2): ... here. | |
7974 | (*one_cmplsi2_flags): New. | |
7975 | (*cbranchsi4_cmp): Rename from cbranchsi4_post_reload. Use "r" | |
7976 | instead of "dax" in constraints. Use mn10300_split_cbranch. | |
7977 | (*cmpsi): Rename from cmpsi. Do not use mn10300_output_cmp. Do not | |
7978 | use matching constraints to eliminate a self-comparison. | |
7979 | (*integer_conditional_branch): Rename from integer_conditional_branch. | |
7980 | Use int_mode_flags to match CC_REG. | |
7981 | (*cbranchsi4_btst, *btstsi): New. | |
7982 | (*cbranchsf4_cmp): Rename from *cbranchsf4_post_reload. Use | |
7983 | mn10300_split_cbranch. | |
7984 | (*am33_cmpsf): Rename from am33_cmpsf. | |
7985 | (*float_conditional_branch): Rename from float_conditional_branch. | |
7986 | (*zero_extendqisi2_am33, *zero_extendqisi2_mn10300): Merge... | |
7987 | (zero_extendqisi2): ... here. | |
7988 | (*zero_extendhisi2_am33, *zero_extendhisi2_mn10300): Merge... | |
7989 | (zero_extendhisi2): ... here. | |
7990 | (*extendqisi2_am33, *extendqisi2_mn10300): Merge... | |
7991 | (extendqisi2): ... here. | |
7992 | (*extendhisi2_am33, *extendhisi2_mn10300): Merge... | |
7993 | (extendhisi2): ... here. | |
7994 | (*am33_ashlsi3, *mn10300_ashlsi3): Merge... | |
7995 | (ashlsi3): ... here. | |
7996 | (*am33_lshrsi3, *mn10300_lshrsi3): Merge... | |
7997 | (lshrsi3): ... here. | |
7998 | (*am33_ashrisi3, *mn10300_ashrsi3): Merge... | |
7999 | (ashrsi3): ... here. | |
8000 | (consecutive add peephole): Remove. | |
8001 | * config/mn10300/predicates.md (label_ref_operand): New. | |
8002 | (int_mode_flags): New. | |
8003 | (CCZN_comparison_operator): New. | |
8004 | ||
9efb4993 RH |
8005 | * config/mn10300/mn10300.md (UNSPEC_EXT): New. |
8006 | (throughput_42_latency_43): New reservation. | |
8007 | (mulsidi3, umulsidi3): New expanders. | |
8008 | (mulsidi3_internal): Rewrite from old mulsidi3 pattern. Expose | |
8009 | the MDR register to allocation; separately allocate the low and | |
8010 | high parts of the DImode result. | |
8011 | (umulsidi3_internal): Similarly. | |
8012 | (*am33_mulsi3, *mn10300_mulsi3): Merge into ... | |
8013 | (*mulsi3): ... here. Clobber MDR as a scratch as necessary. | |
8014 | (udivsi3, umodsi3): Remove. | |
8015 | (udivmodsi4, divmodsi4): New expanders. | |
8016 | (*udivmodsi4): Rename from udivmodsi4. Expose MDR properly. | |
8017 | (*divmodsi4): Simiarly. | |
8018 | (ext_internal): New. | |
8019 | ||
c25a21f5 RH |
8020 | * config/mn10300/constraints.md ("z"): New constraint. |
8021 | * config/mn10300/mn10300.h (MDR_REGNUM): Remove. | |
8022 | (FIXED_REGISTERS): Don't fix MDR. | |
8023 | (CALL_USED_REGSITERS): Reformat nicely. | |
8024 | (REG_ALLOC_ORDER): Add MDR. | |
8025 | (enum regclass): Add MDR_REGS. | |
8026 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update to match. | |
8027 | (IRA_COVER_CLASSES): Add MDR_REGS. | |
8028 | (REGNO_REG_CLASS): Handle MDR_REG. | |
8029 | * config/mn10300/mn10300.c (mn10300_secondary_reload): Handle MDR_REGS. | |
8030 | (mn10300_register_move_cost): Likewise. | |
8031 | * config/mn10300/mn10300.md (MDR_REG): New. | |
8032 | (*movsi_internal): Handle moves to/from MDR_REGS. | |
8033 | ||
36846b26 RH |
8034 | * config/mn10300/mn10300.c (mn10300_print_operand_address): Handle |
8035 | POST_MODIFY. | |
8036 | (mn10300_secondary_reload): Tidy combination reload classes. | |
8037 | (mn10300_legitimate_address_p): Allow post-modify and reg+reg | |
8038 | addresses for AM33. Allow symbolic offsets for reg+imm. | |
8039 | (mn10300_regno_in_class_p): New. | |
8040 | (mn10300_legitimize_reload_address): New. | |
8041 | * config/mn10300/mn10300.h (enum reg_class): Remove | |
8042 | DATA_OR_ADDRESS_REGS, DATA_OR_EXTENDED_REGS, ADDRESS_OR_EXTENDED_REGS, | |
8043 | SP_OR_EXTENDED_REGS, SP_OR_ADDRESS_OR_EXTENDED_REGS. Add | |
8044 | SP_OR_GENERAL_REGS. | |
8045 | (REG_CLASS_NAMES): Update to match. | |
8046 | (REG_CLASS_CONTENTS): Likewise. | |
8047 | (INDEX_REG_CLASS): Use GENERAL_REGS for AM33. | |
8048 | (BASE_REG_CLASS): Use SP_OR_GENERAL_REGS for AM33. | |
8049 | (REGNO_IN_RANGE_P): Remove. | |
8050 | (REGNO_DATA_P): Use mn10300_regno_in_class_p. | |
8051 | (REGNO_ADDRESS_P, REGNO_EXTENDED_P): Likewise. | |
8052 | (REGNO_STRICT_OK_FOR_BASE_P): Likewise. | |
8053 | (REGNO_STRICT_OK_FOR_BIT_BASE_P): Likewise. | |
8054 | (REGNO_STRICT_OK_FOR_INDEX_P): Likewise. | |
8055 | (REGNO_SP_P, REGNO_AM33_P, REGNO_FP_P): Remove. | |
8056 | (REGNO_GENERAL_P): New. | |
8057 | (HAVE_POST_MODIFY_DISP): New. | |
8058 | (USE_LOAD_POST_INCREMENT, USE_STORE_POST_INCREMENT): New. | |
8059 | (LEGITIMIZE_RELOAD_ADDRESS): New. | |
8060 | * config/mn10300/mn10300-protos.h: Update. | |
8061 | ||
8b119bb6 RH |
8062 | * config/mn10300/mn10300.c (mn10300_preferred_reload_class): Allow |
8063 | DATA_REGS for AM33 stack-pointer destination. | |
8064 | (mn10300_preferred_output_reload_class): Likewise. | |
8065 | (mn10300_secondary_reload): Rearrange mn10300_secondary_reload_class | |
8066 | into a form appropriate for ... | |
8067 | (TARGET_SECONDARY_RELOAD): New. | |
8068 | * config/mn10300/mn10300.h (SECONDARY_RELOAD_CLASS): Remove. | |
8069 | * config/mn10300/mn10300-protos.h: Update. | |
8070 | * config/mn10300/mn10300.md (reload_plus_sp_const): Rename from | |
8071 | reload_insi; use the "A" constraint for the scratch; handle AM33 | |
8072 | moves of sp to non-address registers. | |
8073 | ||
b1efde2a RH |
8074 | * config/mn10300/mn10300.md (*am33_movqi, *mn10300_movqi): Merge into |
8075 | (*movqi_internal): ... here. | |
8076 | (*am33_movhi, *mn10300_movhi): Merge into... | |
8077 | (*movhi_internal): ... here. | |
8078 | (*movsi_internal): Use "r" instead of "dax" in constraints. Use "A" | |
8079 | as the source/destination of moves from/to SP. | |
8080 | (movsf): Only allow for AM33-2. | |
1c3ba85b | 8081 | (*movsf_internal): Use "r" instead of "dax"; use "F" instead of |
b1efde2a RH |
8082 | any integer constant constraint. Only allow for AM33-2. Tidy |
8083 | all of the alternative outputs. | |
8084 | (movdi, movdf, *am33_2_movdf, *mn10300_movdf): Remove. | |
8085 | (udivmodsi4): Delete expander and promote *udivmodsi4. Disallow | |
8086 | for MN103. | |
8087 | (udivsi3, umodsi3): New patterns for MN103 only. | |
8088 | ||
b899fd78 JR |
8089 | 2011-01-19 Joern Rennecke <amylaar@spamcop.net> |
8090 | ||
8091 | * doc/tm.texi.in: Spell out that a lack of register class unions | |
8092 | can lead to ICEs. | |
8093 | * doc/tm.texi: Regenerate. | |
8094 | ||
afaaa67d JJ |
8095 | 2011-01-19 Jakub Jelinek <jakub@redhat.com> |
8096 | ||
2e0642cd JJ |
8097 | PR rtl-optimization/47337 |
8098 | * dce.c (check_argument_store): New function. | |
8099 | (find_call_stack_args): Ignore debug insns. Use check_argument_store. | |
8100 | ||
afaaa67d JJ |
8101 | PR tree-optimization/47290 |
8102 | * tree-eh.c (infinite_empty_loop_p): New function. | |
8103 | (cleanup_empty_eh): Use it. | |
8104 | ||
d2cd871f SE |
8105 | 2011-01-18 Steve Ellcey <sje@cup.hp.com> |
8106 | ||
8107 | PR target/46997 | |
8108 | * ia64.c (ia64_expand_unpack): Fix code for TARGET_BIG_ENDIAN. | |
8109 | (a64_expand_widen_sum): Ditto. | |
8110 | * vect.md (mulv2si3): Disable for TARGET_BIG_ENDIAN. | |
8111 | (vec_extract_evenodd_help): Ditto. | |
8112 | (vec_extract_evenv4hi): Ditto. | |
8113 | (vec_extract_oddv4hi): Ditto. | |
8114 | (vec_extract_evenv2si): Ditto. | |
8115 | (vec_extract_oddv2si): Ditto. | |
8116 | (vec_extract_evenv2sf): Ditto. | |
8117 | (vec_extract_oddv2sf): Ditto. | |
8118 | (vec_pack_trunc_v4hi: Ditto. | |
8119 | (vec_pack_trunc_v2si): Ditto. | |
8120 | (vec_interleave_lowv8qi): Fix for TARGET_BIG_ENDIAN. | |
8121 | (vec_interleave_highv8qi): Ditto. | |
8122 | (mix1_r): Ditto. | |
8123 | (vec_extract_oddv8qi): Ditto. | |
8124 | (vec_interleave_lowv4hi): Ditto. | |
8125 | (vec_interleave_highv4hi): Ditto. | |
8126 | (vec_interleave_lowv2si): Ditto. | |
8127 | (vec_interleave_highv2si): Ditto. | |
8128 | ||
41a1208a JDA |
8129 | 2011-01-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
8130 | ||
8131 | * doc/extend.texi: Mention __float128 support on hppa HP-UX. | |
8132 | * config/pa/pa-hpux.h (HPUX_LONG_DOUBLE_LIBRARY): Define to 1. | |
8133 | * config/pa/pa.c (pa_expand_builtin): New. Include "langhooks.h". | |
8134 | (pa_c_mode_for_suffix): New. | |
8135 | (TARGET_EXPAND_BUILTIN): Define. | |
8136 | (TARGET_C_MODE_FOR_SUFFIX): Define. | |
8137 | (pa_builtins): Define. | |
8138 | (pa_init_builtins): Register __float128 type and init new support | |
8139 | builtins. | |
8140 | * config/pa/pa.h (HPUX_LONG_DOUBLE_LIBRARY): Define if not defined. | |
8141 | * config/pa/quadlib.c (_U_Qfcopysign): New. | |
8142 | ||
1ecad98e EB |
8143 | 2011-01-18 Eric Botcazou <ebotcazou@adacore.com> |
8144 | ||
8145 | PR middle-end/46894 | |
8146 | * explow.c (allocate_dynamic_stack_space): Do not assume more than | |
8147 | BITS_PER_UNIT alignment if STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET | |
8148 | are defined. | |
8149 | ||
d4f2460a UW |
8150 | 2011-01-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
8151 | ||
8152 | PR tree-optimization/47179 | |
8153 | * config/spu/spu.c (spu_ref_may_alias_errno): New function. | |
8154 | (TARGET_REF_MAY_ALIAS_ERRNO): Define. | |
8155 | ||
4994da65 RG |
8156 | 2011-01-18 Richard Guenther <rguenther@suse.de> |
8157 | ||
8158 | PR rtl-optimization/47216 | |
8159 | * emit-rtl.c: Include tree-flow.h. | |
8160 | (set_mem_attributes_minus_bitpos): Use tree_could_trap_p instead | |
8161 | of replicating it with different semantics. | |
8162 | * Makefile.in (emit-rtl.o): Adjust. | |
8163 | ||
1eb458d1 RR |
8164 | 2011-01-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
8165 | ||
38be4072 | 8166 | * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually include. |
61052244 | 8167 | (cortex_a9_dp): Handle neon types correctly. |
1eb458d1 | 8168 | |
e7ef91dc JJ |
8169 | 2011-01-18 Jakub Jelinek <jakub@redhat.com> |
8170 | ||
8171 | PR rtl-optimization/47299 | |
8172 | * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use | |
38be4072 | 8173 | subtarget. Use normal multiplication if both operands are constants. |
e7ef91dc JJ |
8174 | * expmed.c (expand_widening_mult): Don't try to optimize constant |
8175 | multiplication if op0 has VOIDmode. Convert op1 constant to mode | |
8176 | before using it. | |
8177 | ||
535b7874 RW |
8178 | 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
8179 | ||
8180 | * doc/lto.texi (LTO): Ensure two spaces after period. Fix | |
8181 | spacing after 'e.g.', typos, comma, hyphenation. | |
8182 | ||
27bf36f3 RH |
8183 | 2011-01-17 Richard Henderson <rth@redhat.com> |
8184 | ||
8a5b5449 RH |
8185 | * config/rx/predicates.md (rx_constshift_operand): Use match_test. |
8186 | (rx_restricted_mem_operand): New. | |
8187 | (rx_shift_operand): Use register_operand. | |
8188 | (rx_source_operand, rx_compare_operand): Likewise. | |
8189 | * config/rx/rx.md (addsi3_flags): New expander. | |
8190 | (adddi3): Rewrite as expander. | |
8191 | (adc_internal, *adc_flags, adddi3_internal): New patterns. | |
8192 | (subsi3_flags): New expander. | |
8193 | (subdi3): Rewrite as expander. | |
8194 | (sbb_internal, *sbb_flags, subdi3_internal): New patterns. | |
8195 | ||
784f69be RH |
8196 | * config/rx/rx.c (RX_BUILTIN_SAT): Remove. |
8197 | (rx_init_builtins): Remove sat builtin. | |
8198 | (rx_expand_builtin): Likewise. | |
8199 | * config/rx/rx.md (ssaddsi3): New. | |
8200 | (*sat): Rename from sat. Represent the CC_REG input. | |
8201 | ||
f033541c RH |
8202 | * config/rx/predicates.md (rshift_operator): New. |
8203 | * config/rx/rx.c (rx_expand_insv): Remove. | |
8204 | * config/rx/rx-protos.h: Update. | |
8205 | * config/rx/rx.md (*bitset): Rename from bitset. Swap the ashift | |
8206 | operand to the canonical position. | |
8207 | (*bitset_in_memory, *bitinvert, *bitinvert_in_memory): Similarly. | |
8208 | (*bitclr, *bitclr_in_memory): Similarly. | |
8209 | (*insv_imm, rx_insv_reg, *insv_cond, *bmcc, *insv_cond_lt): New. | |
8210 | (insv): Retain the zero_extract in the expansion. | |
8211 | ||
34fee389 RH |
8212 | * config/rx/rx.md (bswapsi2): Use = not + for output reload. |
8213 | (bswaphi2, bitinvert, revw): Likewise. | |
8214 | ||
265c835f RH |
8215 | * config/rx/rx.c (gen_rx_store_vector): Use VOIDmode for gen_rtx_SET. |
8216 | (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise. | |
8217 | * config/rx/rx.md (pop_and_return): Use VOIDmode for SET. | |
8218 | (stack_push, stack_pushm, stack_pop, stack_popm): Likewise. | |
8219 | (bitset, bitset_in_memory): Likewise. | |
8220 | (bitinvert, bitinvert_in_memory): Likewise. | |
8221 | (bitclr, bitclr_in_memory): Likewise. | |
8222 | (insv, sync_lock_test_and_setsi, movstr, rx_movstr): Likewise. | |
8223 | (rx_strend, rx_cmpstrn): Likewise. | |
8224 | (rx_setmem): Likewise. Make the source BLKmode to match the dest. | |
8225 | (bitop peep2 patterns): Remove. | |
8226 | ||
b4d83be3 RH |
8227 | * config/rx/rx.c (rx_match_ccmode): New. |
8228 | * config/rx/rx-protos.h: Update. | |
8229 | * config/rx/rx.md (abssi2): Clobber, don't set flags. | |
8230 | (addsi3, adddi3, andsi3, negsi2, one_cmplsi2, iorsi3): Likewise. | |
8231 | (rotlsi3, rotrsi3, ashrsi3, lshrsi3, ashlsi3): Likewise. | |
8232 | (subsi3, subdi3, xorsi3, addsf3, divsf3, mulsf3, subsf3): Likewise. | |
8233 | (fix_truncsfsi2, floatsisf2): Likewise. | |
8234 | (*abssi2_flags, *addsi3_flags, *andsi3_flags, *negsi2_flags): New. | |
8235 | (*one_cmplsi2_flags, *iorsi3_flags, *rotlsi3_flags): New. | |
8236 | (*rotrsi3_flags, *ashrsi3_flags, *lshrsi3_flags, *ashlsi3_flags): New. | |
8237 | (*subsi3_flags, *xorsi3_flags): New. | |
8238 | ||
d0acb939 RH |
8239 | * config/rx/rx.md (cstoresf4, *cstoresf4): New patterns. |
8240 | ||
c06fc3d9 RH |
8241 | * config/rx/rx.c (rx_print_operand): Remove workaround for |
8242 | unsplit comparison operations. | |
8243 | ||
2882702b RH |
8244 | * config/rx/rx.md (movsicc): Split after reload. |
8245 | (*movsicc): Merge *movsieq and *movsine via match_operator. | |
8246 | (*stcc): New pattern. | |
8247 | ||
6f7310f2 RH |
8248 | * config/rx/rx.c (rx_float_compare_mode): Remove. |
8249 | * config/rx/rx.h (rx_float_compare_mode): Remove. | |
8250 | * config/rx/rx.md (cstoresi4): Split after reload. | |
8251 | (*sccc): New pattern. | |
8252 | ||
e963cb1a RH |
8253 | * config/rx/predicates.md (label_ref_operand): New. |
8254 | (rx_z_comparison_operator): New. | |
8255 | (rx_zs_comparison_operator): New. | |
8256 | (rx_fp_comparison_operator): New. | |
8257 | * config/rx/rx.c (rx_print_operand) [B]: Examine comparison modes. | |
8258 | Validate that the flags are set properly for the comparison. | |
8259 | (rx_gen_cond_branch_template): Remove. | |
8260 | (rx_cc_modes_compatible): Remove. | |
8261 | (mode_from_flags): New. | |
8262 | (flags_from_code): Rename from flags_needed_for_conditional. | |
8263 | (rx_cc_modes_compatible): Re-write in terms of flags_from_mode. | |
8264 | (rx_select_cc_mode): Likewise. | |
8265 | (rx_split_fp_compare): New. | |
8266 | (rx_split_cbranch): New. | |
8267 | * config/rx/rx.md (most_cond, zs_cond): Remove iterators. | |
8268 | (*cbranchsi4): Use match_operator and rx_split_cbranch. | |
8269 | (*cbranchsf4): Similarly. | |
8270 | (*cbranchsi4_tst): Rename from *tstbranchsi4_<code>. Use | |
8271 | match_operator and rx_split_cbranch. | |
8272 | (*cbranchsi4_tst_ext): Combine *tstbranchsi4m_eq and | |
8273 | tstbranchsi4m_ne. Use match_operator and rx_split_cbranch. | |
8274 | (*cmpsi): Rename from cmpsi. | |
8275 | (*tstsi): Rename from tstsi. | |
8276 | (*cmpsf): Rename from cmpsf; use CC_Fmode. | |
8277 | (*conditional_branch): Rename from conditional_branch. | |
8278 | (*reveresed_conditional_branch): Remove. | |
8279 | (b<code>): Remove expander. | |
8280 | * config/rx/rx-protos.h: Update. | |
8281 | ||
af530bb4 RH |
8282 | * config/rx/rx.c (rx_compare_redundant): Remove. |
8283 | * config/rx/rx.md (cmpsi): Don't use it. | |
8284 | * config/rx/rx-protos.h: Update. | |
8285 | ||
27bf36f3 RH |
8286 | * config/rx/rx-modes.def (CC_F): New mode. |
8287 | * config/rx/rx.c (rx_select_cc_mode): New. | |
8288 | * config/rx/rx.h (SELECT_CC_MODE): Use it. | |
8289 | * config/rx/rx-protos.h: Update. | |
8290 | ||
d7fde127 RH |
8291 | 2011-01-17 Richard Henderson <rth@redhat.com> |
8292 | ||
8293 | * except.c (dump_eh_tree): Fix stray ; after for statement. | |
8294 | ||
6ff38230 RG |
8295 | 2011-01-17 Richard Guenther <rguenther@suse.de> |
8296 | ||
8297 | PR tree-optimization/47313 | |
8298 | * tree-inline.c (tree_function_versioning): Move DECL_RESULT | |
8299 | handling before copying the body. Properly deal with | |
8300 | by-reference result in SSA form. | |
8301 | ||
114ce554 ILT |
8302 | 2011-01-17 Ian Lance Taylor <iant@google.com> |
8303 | ||
bf5cd92b | 8304 | PR target/47219 |
114ce554 ILT |
8305 | * config/sparc/sparc.c (sparc_sr_alias_set): Don't define. |
8306 | (struct_value_alias_set): Don't define. | |
8307 | (sparc_option_override): Don't set sparc_sr_alias_set and | |
8308 | struct_value_alias_set. | |
8309 | (save_or_restore_regs): Use gen_frame_mem rather than calling | |
8310 | set_mem_alias_set. | |
8311 | (sparc_struct_value_rtx): Likewise. | |
8312 | ||
98c6d93c L |
8313 | 2011-01-17 H.J. Lu <hongjiu.lu@intel.com> |
8314 | ||
8315 | PR target/47318 | |
7a81008b | 8316 | * config/i386/avxintrin.h (_mm_maskload_pd): Change mask to __m128i. |
98c6d93c L |
8317 | (_mm_maskstore_pd): Likewise. |
8318 | (_mm_maskload_ps): Likewise. | |
8319 | (_mm_maskstore_ps): Likewise. | |
8320 | (_mm256_maskload_pd): Change mask to __m256i. | |
8321 | (_mm256_maskstore_pd): Likewise. | |
8322 | (_mm256_maskload_ps): Likewise. | |
8323 | (_mm256_maskstore_ps): Likewise. | |
8324 | ||
8325 | * config/i386/i386-builtin-types.def: Updated. | |
8326 | (ix86_expand_special_args_builtin): Likewise. | |
8327 | ||
8328 | * config/i386/i386.c (bdesc_special_args): Update | |
8329 | __builtin_ia32_maskloadpd, __builtin_ia32_maskloadps, | |
8330 | __builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256, | |
8331 | __builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps, | |
8332 | __builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256. | |
8333 | ||
8334 | * config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>): | |
8335 | Use <avxpermvecmode> on mask register. | |
8336 | (avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise. | |
8337 | ||
b9361af2 | 8338 | 2011-01-17 Olivier Hainque <hainque@adacore.com> |
61052244 AM |
8339 | Michael Haubenwallner <michael.haubenwallner@salomon.at> |
8340 | Eric Botcazou <ebotcazou@adacore.com> | |
b9361af2 OH |
8341 | |
8342 | PR target/46655 | |
8343 | * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only | |
8344 | if <= USHRT_MAX in 32-bit mode. | |
8345 | ||
b7ae9eb5 RW |
8346 | 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
8347 | ||
8348 | * doc/install.texi (Configuration, Specific): Wrap long | |
8349 | lines in examples. Allow line wrapping in long options | |
8350 | and URLs where beneficial for PDF output. | |
8351 | ||
4377fad9 RS |
8352 | 2011-01-16 Richard Sandiford <rdsandiford@googlemail.com> |
8353 | ||
8354 | * config/mips/mips.c (mips_classify_symbol): Don't return | |
8355 | SYMBOL_PC_RELATIVE for nonlocal labels. | |
8356 | ||
55959ffa | 8357 | 2011-01-15 Eric Botcazou <ebotcazou@adacore.com> |
be46831f | 8358 | |
55959ffa EB |
8359 | * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo. |
8360 | ||
8361 | 2011-01-15 Jan Hubicka <jh@suse.cz> | |
8362 | ||
8363 | PR tree-optimization/47276 | |
be46831f JH |
8364 | * ipa.c (function_and_variable_visibility): Do not try to mark alias |
8365 | declarations as needed. | |
8366 | ||
05842ff5 MJ |
8367 | 2011-01-15 Martin Jambor <mjambor@suse.cz> |
8368 | ||
8369 | * common.opt (fdevirtualize): New flag. | |
8370 | * doc/invoke.texi (Option Summary): Document it. | |
8371 | * opts.c (default_options_table): Add devirtualize flag. | |
8372 | * ipa-prop.c (detect_type_change): Return immediately if | |
8373 | devirtualize flag is not set. | |
8374 | (detect_type_change_ssa): Likewise. | |
8375 | (compute_known_type_jump_func): Likewise. | |
8376 | (ipa_analyze_virtual_call_uses): Likewise. | |
8377 | ||
f65cf2b7 MJ |
8378 | 2011-01-14 Martin Jambor <mjambor@suse.cz> |
8379 | ||
8380 | PR tree-optimization/45934 | |
8381 | PR tree-optimization/46302 | |
8382 | * ipa-prop.c (type_change_info): New type. | |
8383 | (stmt_may_be_vtbl_ptr_store): New function. | |
8384 | (check_stmt_for_type_change): Likewise. | |
8385 | (detect_type_change): Likewise. | |
8386 | (detect_type_change_ssa): Likewise. | |
8387 | (compute_complex_assign_jump_func): Check for dynamic type change. | |
8388 | (compute_complex_ancestor_jump_func): Likewise. | |
8389 | (compute_known_type_jump_func): Likewise. | |
8390 | (compute_scalar_jump_functions): Likewise. | |
8391 | (ipa_analyze_virtual_call_uses): Likewise. | |
8392 | (ipa_analyze_node): Push and pop cfun, set current_function_decl. | |
8393 | ||
eb5bb0fd JM |
8394 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
8395 | ||
8396 | * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5. | |
8397 | * config/i386/i386.opt (msse5): New Alias. | |
8398 | ||
f2060fbe JM |
8399 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
8400 | ||
8401 | * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}. | |
8402 | * config/sparc/linux64.h (CC1_SPEC): Likewise. | |
8403 | * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
8404 | * config/sparc/sparc.h (CC1_SPEC): Likewise. | |
8405 | ||
3a7b4385 JM |
8406 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
8407 | ||
8408 | * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of | |
8409 | -mcpu options. | |
8410 | * config/sparc/linux64.h (CC1_SPEC): Likewise. | |
8411 | * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
8412 | * config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise. | |
8413 | * config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC): | |
8414 | Likewise. | |
8415 | * config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8. | |
8416 | ||
a7b778f8 JM |
8417 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
8418 | ||
38be4072 | 8419 | * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or -fvec-eabi. |
a7b778f8 | 8420 | |
a7edae0a MS |
8421 | 2011-01-14 Mike Stump <mikestump@comcast.net> |
8422 | ||
8423 | * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set. | |
8424 | * config/fr30/fr30.md: Likweise | |
8425 | (movsi_push): Likewise. | |
8426 | (movsi_pop): Likewise. | |
8427 | (enter_func): Likewise. | |
8428 | * config/moxie/moxie.md (movsi_push): Likewise. | |
8429 | (movsi_pop): Likewise. | |
8430 | ||
cbabf03f JM |
8431 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
8432 | ||
8433 | * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum} | |
8434 | %{no_archive} %{exact_version}. | |
8435 | * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}. | |
8436 | * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum} | |
8437 | %{no_archive} %{exact_version}. | |
8438 | * config/mips/openbsd.h (LINK_SPEC): Likewise. | |
8439 | * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}. | |
8440 | * config/mips/vxworks.h: Likewise. | |
8441 | ||
438da41a JM |
8442 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
8443 | ||
38be4072 | 8444 | * config/microblaze/microblaze.h (ASM_SPEC): Remove %{microblaze1}. |
438da41a | 8445 | |
da290a42 JM |
8446 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
8447 | ||
8448 | * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC, | |
8449 | ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove. | |
8450 | ||
8989d00e JM |
8451 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
8452 | ||
8453 | * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not | |
8454 | -nodefaultlib. | |
8455 | ||
a3010a69 JM |
8456 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
8457 | ||
8458 | * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check | |
8459 | for mcpu not cpu. | |
8460 | * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC, | |
8461 | CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu | |
8462 | not cpu. | |
8463 | (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options. | |
8464 | Don't handle -shlib. | |
8465 | ||
e7f2f537 JM |
8466 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
8467 | ||
8468 | * config/avr/avr.h (CPP_SPEC): Don't handle -posix. | |
8469 | (CC1_SPEC): Don't handle -profile. | |
8470 | ||
34830bfd JM |
8471 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
8472 | ||
8473 | * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec. | |
8474 | * config/mips/mips.h (CC1_SPEC): Likewise. | |
8475 | ||
b2d36e74 JM |
8476 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
8477 | ||
8478 | * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }. | |
8479 | * config/mips/mips.h (CC1_SPEC): Likewise. | |
8480 | ||
dabadc52 JM |
8481 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
8482 | ||
8483 | * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional. | |
8484 | * config/m32r/linux.h (LINK_SPEC): Likewise. | |
8485 | * config/mips/linux.h (LINK_SPEC): Likewise. | |
8486 | * config/mips/linux64.h (LINK_SPEC): Likewise. | |
8487 | * config/sparc/linux.h (LINK_SPEC): Likewise. | |
8488 | * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC, | |
8489 | LINK_SPEC): Likewise. | |
8490 | * config/xtensa/linux.h (LINK_SPEC): Likewise. | |
8491 | ||
43ee6785 JM |
8492 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
8493 | ||
8494 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove | |
8495 | %{version:-v}. | |
8496 | * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise. | |
8497 | ||
45e79dfd JM |
8498 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
8499 | ||
8500 | * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}. | |
8501 | * config/sparc/sp64-elf.h (ASM_SPEC): Likewise. | |
8502 | ||
37e9e71d JM |
8503 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
8504 | ||
8505 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}. | |
8506 | ||
bb127cd8 RO |
8507 | 2011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8508 | ||
8509 | * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always | |
8510 | supports -Bstatic/-Bdynamic. | |
8511 | * configure: Regenerate. | |
8512 | ||
89a012ea | 8513 | 2011-01-14 Jan Hubicka <jh@suse.cz> |
509d65dd | 8514 | Jack Howarth <howarth@bromo.med.uc.edu> |
89a012ea JH |
8515 | |
8516 | PR target/46037 | |
8517 | * config/darwin.c (darwin_override_options): Honor flag_gtoggle | |
8518 | when checking debug_info_level. Test write_symbols instead of | |
8519 | debug_hooks->var_location when setting flag_var_tracking_uninit. | |
8520 | ||
7352c013 RG |
8521 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
8522 | ||
8523 | PR tree-optimization/47179 | |
8524 | * target.def (ref_may_alias_errno): New target hook. | |
8525 | * targhooks.h (default_ref_may_alias_errno): Declare. | |
8526 | * targhooks.c: Include tree-ssa-alias.h and tree-flow.h. | |
8527 | (default_ref_may_alias_errno): New function. | |
8528 | * target.h (struct ao_ref_s): Declare. | |
8529 | * tree-ssa-alias.c: Include target.h. | |
8530 | (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook. | |
8531 | * Makefile.in (tree-ssa-alias.o): Adjust dependencies. | |
8532 | (targhooks.o): Likewise. | |
8533 | * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document. | |
8534 | * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation. | |
8535 | ||
9a6c9288 RG |
8536 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
8537 | ||
8538 | * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER. | |
8539 | ||
0fdb0d27 RG |
8540 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
8541 | ||
8542 | PR tree-optimization/47280 | |
8543 | * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and | |
8544 | return CFG changes. | |
8545 | (tree_ssa_forward_propagate_single_use_vars): Deal with | |
8546 | CFG changes from associate_plusminus. | |
8547 | ||
8f66db3b RG |
8548 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
8549 | ||
8550 | PR middle-end/47281 | |
8551 | Revert | |
8552 | 2011-01-11 Richard Guenther <rguenther@suse.de> | |
8553 | ||
280d9630 EB |
8554 | PR tree-optimization/46076 |
8555 | * tree-ssa.c (useless_type_conversion_p): Conversions from | |
8556 | unprototyped to empty argument list function types are useless. | |
8f66db3b | 8557 | |
6c0c92e6 RG |
8558 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
8559 | ||
8560 | PR tree-optimization/47286 | |
280d9630 | 8561 | * tree-ssa-structalias.c (new_var_info): Register variables are global. |
6c0c92e6 | 8562 | |
db09f943 MJ |
8563 | 2011-01-14 Martin Jambor <mjambor@suse.cz> |
8564 | ||
8565 | PR middle-end/46823 | |
8566 | * tree-inline.c (expand_call_inline): Get fndecl from call graph edge. | |
8567 | ||
dde8a3a4 AS |
8568 | 2011-01-13 Anatoly Sokolov <aesok@post.ru> |
8569 | ||
8570 | * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE, | |
8571 | LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. | |
8572 | * config/xtensa/xtensa.c (xtensa_libcall_value, | |
8573 | xtensa_function_value_regno_p): New functions. | |
8574 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
8575 | ||
a2b63a20 KT |
8576 | 2011-01-13 Kai Tietz <kai.tietz@onevision.com> |
8577 | ||
8578 | PR c++/47213 | |
8579 | * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY): | |
8580 | PE specific hook. | |
8581 | * config/i386/i386-protos.h (i386_pe_assemble_visibility): | |
8582 | New function prototype. | |
8583 | * config/i386/winnt.c (i386_pe_assemble_visibility): | |
8584 | Warn only if attribute was specified by user. | |
8585 | ||
b41f0b34 MM |
8586 | 2011-01-13 Michael Meissner <meissner@linux.vnet.ibm.com> |
8587 | ||
8588 | PR target/47251 | |
8589 | * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware | |
8590 | floating point. | |
8591 | (floatunsdidf2_fcfidu): Ditto. | |
8592 | ||
3f3c098d AK |
8593 | 2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
8594 | ||
8595 | * config/s390/s390.c (print_operand_address): Replace 'error' with | |
8596 | 'output_operand_lossage'. | |
8597 | (print_operand): Likewise. | |
8598 | ||
29fa95ed JL |
8599 | 2011-01-13 Jeff Law <law@redhat.com> |
8600 | ||
280d9630 | 8601 | PR rtl-optimization/39077 |
29fa95ed JL |
8602 | * doc/invoke.texi (max-gcse-insertion-ratio): Document. |
8603 | * params.h (MAX_GCSE_INSERTION_RATIO): Define. | |
8604 | * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define. | |
8605 | * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps. | |
8606 | * gcse.c (prune_insertions_deletions): New function. | |
8607 | (compute_pre_data): Use it. | |
8608 | ||
71d12276 DS |
8609 | 2011-01-13 Dodji Seketeli <dodji@redhat.com> |
8610 | ||
8611 | PR debug/PR46973 | |
8612 | * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New | |
8613 | static function. | |
61052244 | 8614 | (prune_unused_types_mark): Use it. |
71d12276 | 8615 | |
9b0f04e7 AB |
8616 | 2011-01-13 Andrey Belevantsev <abel@ispras.ru> |
8617 | ||
8618 | PR rtl-optimization/45352 | |
1c3ba85b | 8619 | * sel-sched.c: Update copyright years. |
9b0f04e7 | 8620 | (reset_sched_cycles_in_current_ebb): Also recheck the DFA state |
1c3ba85b | 8621 | in the advancing loop when we have issued issue_rate insns. |
9b0f04e7 | 8622 | |
d6a3e264 RH |
8623 | 2011-01-12 Richard Henderson <rth@redhat.com> |
8624 | ||
a49b692a RH |
8625 | * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New. |
8626 | (TARGET_MD_ASM_CLOBBERS): New. | |
8627 | ||
126b1483 RH |
8628 | * config/mn10300/mn10300.c (mn10300_delegitimize_address): New. |
8629 | (TARGET_DELEGITIMIZE_ADDRESS): New. | |
8630 | ||
f3d9d2e0 RH |
8631 | * config/mn10300/mn10300.md (UNSPEC_BSCH): New. |
8632 | (clzsi2, *bsch): New patterns. | |
8633 | ||
d84760c9 RH |
8634 | * config/mn10300/mn10300.md (INT): New mode iterator. |
8635 | (*mov<INT>_clr): New pattern, and peep2 to generate it. | |
8636 | ||
ec815d65 RH |
8637 | * config/mn10300/mn10300.c (mn10300_option_override): Force enable |
8638 | flag_split_wide_types. | |
8639 | ||
d6a3e264 RH |
8640 | * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove. |
8641 | (mn10300_trampoline_init): Rewrite without a template, an immediate | |
8642 | load and a direct branch. | |
8643 | * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16. | |
8644 | ||
0f8ab434 AS |
8645 | 2011-01-12 Anatoly Sokolov <aesok@post.ru> |
8646 | ||
8647 | * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
8648 | * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove. | |
8649 | * config/s390/s390.c (s390_output_addr_const_extra): Make static. | |
8650 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
8651 | ||
d8a24b65 KT |
8652 | 2011-01-12 Kai Tietz <kai.tietz@onevision.com> |
8653 | ||
8654 | PR debug/47209 | |
8655 | * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT | |
8656 | of type. | |
8657 | ||
56e22cab JH |
8658 | 2011-01-12 Jan Hubicka <jh@suse.cz> |
8659 | ||
8660 | PR driver/47244 | |
8661 | * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used. | |
8662 | (PLUGIN_COND_CLOSE): New macro. | |
8663 | (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE. | |
8664 | ||
4b18b3c2 RG |
8665 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
8666 | ||
8667 | PR lto/47259 | |
8668 | * lto-streamer-out.c (output_gimple_stmt): Do not wrap | |
8669 | register variables in a MEM_REF. | |
8670 | ||
8e38461c JM |
8671 | 2011-01-12 Joseph Myers <joseph@codesourcery.com> |
8672 | ||
8673 | * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*, | |
8674 | crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*, | |
8675 | hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* | | |
8676 | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | | |
8677 | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu, | |
8678 | x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu, | |
8679 | ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*, | |
8680 | m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*, | |
8681 | mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*, | |
8682 | s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*, | |
8683 | sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*, | |
8684 | am33_2.0-*-linux*): Use gnu-user.h before linux.h. | |
8685 | * config/gnu-user.h: New. Copied from linux.h. | |
8686 | (LINUX_TARGET_STARTFILE_SPEC): Rename to | |
8687 | GNU_USER_TARGET_STARTFILE_SPEC. | |
8688 | (LINUX_TARGET_ENDFILE_SPEC): Rename to | |
8689 | GNU_USER_TARGET_ENDFILE_SPEC. | |
8690 | (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC. | |
8691 | (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC. | |
8692 | (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC, | |
8693 | LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1, | |
8694 | CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER, | |
8695 | UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64, | |
8696 | BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32, | |
8697 | BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER, | |
8698 | LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64, | |
8699 | TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove. | |
8700 | * config/arm/linux-eabi.h (CC1_SPEC): Use | |
8701 | GNU_USER_TARGET_CC1_SPEC. | |
8702 | (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC. | |
8703 | (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC. | |
8704 | (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC | |
8705 | * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF, | |
8706 | LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC, | |
8707 | LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC, | |
8708 | CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC, | |
8709 | LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove. | |
8710 | ||
a570fc16 RG |
8711 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
8712 | ||
8713 | PR other/46946 | |
8714 | * doc/invoke.texi (ffast-math): Document it is turned on | |
8715 | with -Ofast. | |
8716 | ||
b0223c3e JH |
8717 | 2011-01-12 Jan Hubicka <jh@suse.cz> |
8718 | ||
8719 | PR tree-optimization/47233 | |
ca1e00b3 EB |
8720 | * opts.c (common_handle_option): Disable ipa-reference with profile |
8721 | feedback. | |
b0223c3e | 8722 | |
1c3ba85b | 8723 | 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> |
d853ee42 NP |
8724 | |
8725 | * c-parser.c (c_parser_objc_at_property_declaration): Improved | |
ca1e00b3 EB |
8726 | error message. |
8727 | ||
d853ee42 NP |
8728 | 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> |
8729 | ||
8730 | * c-parser.c (c_lex_one_token): Updated and reindented some | |
8731 | comments. No changes in code. | |
8732 | ||
4053a5a0 ILT |
8733 | 2011-01-11 Ian Lance Taylor <iant@google.com> |
8734 | ||
8735 | * godump.c (go_output_var): Don't output the variable if there is | |
8736 | already a type with the same name. | |
8737 | ||
fa3e04d2 ILT |
8738 | 2011-01-11 Ian Lance Taylor <iant@google.com> |
8739 | ||
8740 | * godump.c (go_format_type): Don't generate float80. | |
8741 | ||
885fe07c RH |
8742 | 2011-01-11 Richard Henderson <rth@redhat.com> |
8743 | ||
72d6e3c5 RH |
8744 | * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward |
8745 | declaration. Rewrite for both speed and size. | |
8746 | (mn10300_address_cost_1): Remove. | |
8747 | (mn10300_register_move_cost): New. | |
8748 | (mn10300_memory_move_cost): New. | |
8749 | (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle | |
8750 | ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare, | |
8751 | extensions, shifts, BSWAP, CLZ. | |
8752 | (mn10300_wide_const_load_uses_clr): Remove. | |
8753 | (TARGET_REGISTER_MOVE_COST): New. | |
8754 | (TARGET_MEMORY_MOVE_COST): New. | |
8755 | * config/mn10300/mn10300-protos.h: Update. | |
8756 | * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove. | |
8757 | ||
df37c023 RH |
8758 | * config/mn10300/constraints.md ("R", "T"): Remove constraints. |
8759 | * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove. | |
8760 | * config/mn10300/mn10300-protos.h: Update. | |
8761 | * config/mn10300/mn10300.md (movsi_internal): Don't use "R". | |
8762 | (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove. | |
8763 | (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove. | |
8764 | (*test_int_bitfield, *test_byte_bitfield): Remove. | |
8765 | (*bit_test, *subreg_bit_test): Remove. | |
62d3f9b2 | 8766 | * config/mn10300/predicates.md (const_8bit_operand): Remove. |
df37c023 | 8767 | |
85a337b5 RH |
8768 | * config/mn10300/constraints.md ("c"): Rename from "A". |
8769 | ("A", "D"): New constraint letters. | |
8770 | * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint. | |
8771 | (fmssf4, fnmasf4, fnmssf4): Likewise. | |
8772 | ||
a5c727e3 RH |
8773 | * config/mn10300/mn10300.md (isa): New attribute. |
8774 | (enabled): New attribute. | |
8775 | ||
0d9e23f4 RH |
8776 | * config/mn10300/mn10300.md (absdf2, negdf2): Remove. |
8777 | (abssf2, negsf2): Define only for hardware fp. | |
8778 | (sqrtsf2): Reformat. | |
8779 | (addsf3, subsf3, mulsf3): Merge expander and insn. | |
8780 | ||
c157b3f0 RH |
8781 | * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New. |
8782 | (DEBUGGER_AUTO_OFFSET): Remove. | |
8783 | (DEBUGGER_ARG_OFFSET): Remove. | |
8784 | ||
cc909bba RH |
8785 | * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static. |
8786 | Emit register stores with the same offsets as the hardware. | |
8787 | (mn10300_store_multiple_operation): Don't check that the register | |
8788 | save offsets are monotonic. | |
8789 | * config/mn10300/mn10300-protos.h: Update. | |
8790 | ||
e3b5c2f3 RH |
8791 | * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete. |
8792 | ||
885fe07c RH |
8793 | * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define |
8794 | in terms of the value on the stack, not the MDR register. | |
8795 | ||
6e701822 JH |
8796 | 2011-01-11 Jan Hubicka <jh@suse.cz> |
8797 | ||
8798 | PR lto/45721 | |
8799 | PR lto/45375 | |
8800 | * tree.h (symbol_alias_set_t): Move typedef here from varasm.c | |
8801 | (symbol_alias_set_destroy, symbol_alias_set_contains, | |
8802 | propagate_aliases_backward): Declare. | |
8803 | * lto-streamer-out.c (struct sets): New sturcture. | |
8804 | (trivally_defined_alias): New function. | |
8805 | (output_alias_pair_p): Rewrite. | |
8806 | (output_unreferenced_globals): Fix output of alias pairs. | |
8807 | (produce_symtab): Likewise. | |
8808 | * ipa.c (function_and_variable_visibility): Set weak alias destination | |
8809 | as needed in lto. | |
8810 | * varasm.c (symbol_alias_set_t): Remove. | |
8811 | (symbol_alias_set_destroy): Export. | |
8812 | (propagate_aliases_forward, propagate_aliases_backward): New functions | |
8813 | based on ... | |
8814 | (compute_visible_aliases): ... this one; remove. | |
8815 | (trivially_visible_alias): New | |
8816 | (trivially_defined_alias): New. | |
8817 | (remove_unreachable_alias_pairs): Rewrite. | |
8818 | (finish_aliases_1): Reorganize code checking if alias is defined. | |
8819 | * passes.c (rest_of_decl_compilation): Do not call assemble_alias when | |
8820 | in LTO mode. | |
8821 | ||
1b248907 RG |
8822 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
8823 | ||
8824 | PR tree-optimization/46076 | |
8825 | * tree-ssa.c (useless_type_conversion_p): Conversions from | |
8826 | unprototyped to empty argument list function types are useless. | |
8827 | ||
b1923f0a RG |
8828 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
8829 | ||
8830 | PR middle-end/45235 | |
8831 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark | |
8832 | volatile MEMs as MEM_READONLY_P. | |
8833 | ||
e98965af RG |
8834 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
8835 | ||
8836 | PR tree-optimization/47239 | |
8837 | * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs. | |
8838 | ||
9f9ca914 JL |
8839 | 2011-01-11 Jeff Law <law@redhat.com> |
8840 | ||
1ee3ea05 | 8841 | PR tree-optimization/47086 |
9f9ca914 JL |
8842 | * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record |
8843 | IVs from statements that might throw. | |
8844 | ||
345fdcb7 JH |
8845 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
8846 | ||
8847 | PR lto/45375 | |
8848 | * lto-cgraph.c (input_profile_summary): Remove overactive sanity check. | |
8849 | ||
c459c97b JH |
8850 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
8851 | ||
8852 | PR lto/45375 | |
8853 | * profile.c (read_profile_edge_counts): Ignore profile inconistency | |
8854 | when correcting profile. | |
8855 | ||
06c9eb51 JH |
8856 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
8857 | ||
8858 | PR lto/46083 | |
8859 | * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store | |
8860 | DECL_FINI_PRIORITY. | |
8861 | * lto-streamer-in.c (unpack_ts_function_decl_value_fields): | |
8862 | Restore DECL_FINI_PRIORITY. | |
8863 | ||
ae9fd815 RW |
8864 | 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
8865 | ||
8866 | * doc/gimple.texi: Fix quoting of multi-word return values in | |
8867 | @deftypefn statements. Ensure presence of return value. Wrap | |
8868 | overlong @deftypefn lines. | |
8869 | (is_gimple_operand, is_gimple_min_invariant_address): Remove | |
8870 | descriptions of removed functions. | |
8871 | * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting | |
8872 | of multi-word return value in @deftypefn statement. | |
8873 | ||
0ecb4a7c RW |
8874 | 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
8875 | ||
8876 | * doc/gimple.texi (Temporaries, Operands, Compound Lvalues) | |
8877 | (Conditional Expressions, Logical Operators) | |
8878 | (Statement and operand traversals): Do not indent smallexample | |
8879 | code. Fix duplicate function argument in example. | |
8880 | ||
2e5e346d JL |
8881 | 2011-01-10 Jeff Law <law@redhat.com> |
8882 | ||
1ee3ea05 | 8883 | PR tree-optimization/47141 |
2e5e346d JL |
8884 | * ipa-split.c (split_function): Handle case where we are |
8885 | returning a value and the return block has a virtual operand phi. | |
8886 | ||
cf9712cc JH |
8887 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
8888 | ||
1c3ba85b | 8889 | PR tree-optimization/47234 |
cf9712cc JH |
8890 | * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO. |
8891 | (pass_feedback_split_functions): Declare. | |
8892 | * passes.c (init_optimization_passes): Add ipa-split as subpass of | |
8893 | tree-profile. | |
8894 | * ipa-split.c (gate_split_functions): Update comments; disable | |
8895 | split-functions for profile_arc_flag and branch_probabilities. | |
8896 | (gate_feedback_split_functions): New function. | |
8897 | (execute_feedback_split_functions): New function. | |
8898 | (pass_feedback_split_functions): New global var. | |
8899 | ||
94cd932c L |
8900 | 2011-01-10 H.J. Lu <hongjiu.lu@intel.com> |
8901 | ||
8902 | PR lto/46760 | |
8903 | * tree-inline.c (tree_can_inline_p): Check e->call_stmt before | |
8904 | calling gimple_call_set_cannot_inline. | |
8905 | ||
fbbfcaf1 IS |
8906 | 2011-01-10 Iain Sandoe <iains@gcc.gnu.org> |
8907 | ||
8908 | * config/darwin-sections.def: Remove unused section. | |
8909 | ||
d06865bf DK |
8910 | 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com> |
8911 | ||
8912 | PR c++/47218 | |
8913 | * cgraphunit.c (assemble_thunk): Call resolve_unique_section. | |
8914 | ||
96bbfbac NP |
8915 | 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com> |
8916 | ||
8917 | PR objc/47232 | |
8918 | * c-parser.c (c_parser_declaration_or_fndef): Improved | |
8919 | error message. | |
8920 | ||
1ba6516f KT |
8921 | 2011-01-09 Kai Tietz <kai.tietz@onevision.com> |
8922 | ||
8923 | * config/i386/winnt.c (i386_pe_start_function): Make sure | |
8924 | to switch back to function's section. | |
8925 | ||
0c5d770e IS |
8926 | 2011-01-09 Iain Sandoe <iains@gcc.gnu.org> |
8927 | ||
8928 | PR gcc/46902 | |
8929 | PR testsuite/46912 | |
8930 | * plugin.c: Move include of dlfcn.h from here... | |
8931 | * system.h: ... to here. | |
8932 | ||
8933 | 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | |
4ee1aa2a RW |
8934 | |
8935 | * doc/cpp.texi (C++ Named Operators): Fix markup for header | |
8936 | file name. | |
8937 | * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid | |
8938 | two extra empty pages in PDF output. | |
8939 | ||
046608a3 NP |
8940 | 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com> |
8941 | ||
8942 | PR objc/47078 | |
8943 | * c-parser.c (c_parser_objc_type_name): If the type is unknown, | |
8944 | for error recovery purposes behave as if it was not specified so | |
8945 | that the default type is usd. | |
8946 | ||
8cb114b9 JH |
8947 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
8948 | ||
8949 | PR tree-optmization/46469 | |
8950 | * ipa.c (function_and_variable_visibility): Clear needed flags on | |
8951 | nodes with external decls; handle weakrefs merging correctly. | |
8952 | ||
b294a75e JM |
8953 | 2011-01-07 Joseph Myers <joseph@codesourcery.com> |
8954 | ||
8955 | * opts.c (finish_options): Set opts->x_flag_opts_finished to true, | |
8956 | not false. | |
8957 | ||
96bdf9b4 JH |
8958 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
8959 | ||
8960 | * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults | |
8961 | and no longer claim that gold is required for linker plugin. | |
8962 | * configure: Regenerate. | |
8963 | * gcc.c (PLUGIN_COND): New macro. | |
8964 | (LINK_COMMAND_SPEC): Use it. | |
8965 | (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set. | |
8966 | * config.in (HAVE_LTO_PLUGIN): New. | |
8967 | * configure.ac (--with-lto-plugin): New parameter; autodetect | |
8968 | HAVE_LTO_PLUGIN. | |
8969 | ||
17afc0fe JH |
8970 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
8971 | ||
8972 | PR tree-optimization/46367 | |
8973 | * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only | |
8974 | when we can update original. | |
8975 | (cgraph_mark_inline_edge): Sanity check. | |
8976 | * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check. | |
8977 | ||
d4c48c0f UW |
8978 | 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
8979 | ||
8980 | * config/spu/spu.h (ASM_COMMENT_START): Define. | |
8981 | ||
96f5b137 L |
8982 | 2011-01-07 H.J. Lu <hongjiu.lu@intel.com> |
8983 | ||
8984 | PR driver/42445 | |
8985 | * gcc.c (%>S): New. | |
8986 | (SWITCH_KEEP_FOR_GCC): Likewise. | |
8987 | (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC. | |
8988 | (do_spec_1): Handle "%>". | |
8989 | ||
8990 | * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>". | |
8991 | ||
c6a8f6de JJ |
8992 | 2011-01-07 Jakub Jelinek <jakub@redhat.com> |
8993 | ||
c21bbd7a JJ |
8994 | PR target/47201 |
8995 | * config/i386/i386.c (ix86_delegitimize_address): If | |
8996 | simplify_gen_subreg fails, return orig_x. | |
8997 | ||
c6a8f6de JJ |
8998 | PR bootstrap/47187 |
8999 | * value-prof.c (gimple_stringop_fixed_value): Handle | |
9000 | lhs of the call properly. | |
9001 | ||
fe95fbf9 JH |
9002 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
9003 | ||
9004 | PR lto/45375 | |
9005 | * lto-opt.c (lto_reissue_options): Set flag_shlib. | |
9006 | ||
14d11d40 IS |
9007 | 2011-01-07 Iain Sandoe <iains@gcc.gnu.org> |
9008 | ||
72e961c8 EB |
9009 | * target.def (function_switched_text_sections): New hook. |
9010 | * doc/tm.texi: Regenerated. | |
9011 | * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New. | |
14d11d40 | 9012 | * final.c (default_function_switched_text_sections): New. |
72e961c8 EB |
9013 | (final_scan_insn): Call function_switched_text_sections when a |
9014 | mid-function section change occurs. | |
14d11d40 | 9015 | * output.h (default_function_switched_text_sections): Declare. |
72e961c8 EB |
9016 | * config/darwin-protos.h (darwin_function_switched_text_sections): |
9017 | Likewise. | |
14d11d40 | 9018 | * config/darwin.c (darwin_function_switched_text_sections): New. |
72e961c8 | 9019 | * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New. |
14d11d40 | 9020 | |
0b764288 IS |
9021 | 2011-01-07 Iain Sandoe <iains@gcc.gnu.org> |
9022 | ||
9023 | * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for | |
9024 | DWARF >= 3. Add pubnames for the primary section and a reduced DIE for | |
9025 | the secondary code fragment when outputting for DWARF == 2. | |
9026 | ||
2ac6bb04 AS |
9027 | 2011-01-07 Anatoly Sokolov <aesok@post.ru> |
9028 | ||
9029 | * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
9030 | * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra): | |
9031 | Remove. | |
9032 | * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static. | |
9033 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
9034 | ||
9f82de11 EB |
9035 | 2011-01-06 Eric Botcazou <ebotcazou@adacore.com> |
9036 | ||
9037 | PR debug/46704 | |
280d9630 EB |
9038 | * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only |
9039 | when it is not empty. | |
9f82de11 EB |
9040 | |
9041 | 2011-01-06 Changpeng Fang <changpeng.fang@amd.com> | |
14b52538 | 9042 | |
1ed72abf | 9043 | Bobcat Enablement |
14b52538 | 9044 | * config.gcc (i[34567]86-*-linux* | ...): Add btver1. |
1ed72abf | 9045 | (case ${target}): Add btver1. |
14b52538 | 9046 | * config/i386/driver-i386.c (host_detect_local_cpu): Let |
1ed72abf | 9047 | -march=native recognize btver1 processors. |
14b52538 | 9048 | * config/i386/i386-c.c (ix86_target_macros_internal): Add |
1ed72abf | 9049 | btver1 def_and_undef |
14b52538 | 9050 | * config/i386/i386.c (struct processor_costs btver1_cost): New |
1ed72abf CF |
9051 | btver1 cost table. |
9052 | (m_BTVER1): New definition. | |
9053 | (m_AMD_MULTIPLE): Includes m_BTVER1. | |
9054 | (initial_ix86_tune_features): Add btver1 tune. | |
9055 | (processor_target_table): Add btver1 entry. | |
9056 | (static const char *const cpu_names): Add btver1 entry. | |
9057 | (software_prefetching_beneficial_p): Add btver1. | |
9058 | (ix86_option_override_internal): Add btver1 instruction sets. | |
9059 | (ix86_issue_rate): Add btver1. | |
9060 | (ix86_adjust_cost): Add btver1. | |
14b52538 | 9061 | * config/i386/i386.h (TARGET_BTVER1): New definition. |
1ed72abf CF |
9062 | (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1. |
9063 | (enum processor_type): Add PROCESSOR_BTVER1. | |
14b52538 CF |
9064 | * config/i386/i386.md (define_attr "cpu"): Add btver1. |
9065 | ||
e1a973d8 RO |
9066 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9067 | ||
9068 | PR target/43309 | |
9069 | * config/i386/i386.c (legitimize_tls_address) | |
9070 | <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS. | |
9071 | * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare. | |
9072 | (tls_initial_exec_64_sun): New pattern. | |
9073 | ||
c73f67c5 GP |
9074 | 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com> |
9075 | ||
9076 | * doc/invoke.texi (Overall Options): Improve wording and markup | |
9077 | of the description of -wrapper. | |
9078 | ||
bc4c6f9c JM |
9079 | 2011-01-06 Joseph Myers <joseph@codesourcery.com> |
9080 | ||
9081 | * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads, | |
9082 | rdynamic, threads): New Driver options. | |
9083 | ||
adb75db0 RO |
9084 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9085 | ||
9086 | PR target/38118 | |
9087 | * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss | |
9088 | if coming from .tdata. | |
9089 | * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. | |
9090 | ||
402c1cb4 JH |
9091 | 2011-01-06 Jan Hubicka <jh@suse.cz> |
9092 | ||
9093 | PR lto/47188 | |
9094 | * collect2.c (main): Do not enable LTOmode when plugin is active. | |
9095 | ||
a4da6485 RO |
9096 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9097 | ||
9098 | PR other/45915 | |
9099 | * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd | |
9100 | --version output if supported. | |
9101 | * configure: Regenerate. | |
9102 | ||
028dbdf4 JM |
9103 | 2011-01-06 Joseph Myers <joseph@codesourcery.com> |
9104 | ||
9105 | * config/linux-android.opt (tno-android-cc, tno-android-ld): New | |
9106 | Driver options. | |
9107 | ||
dfe776dd JJ |
9108 | 2011-01-06 Jakub Jelinek <jakub@redhat.com> |
9109 | ||
9110 | PR c/47150 | |
9111 | * c-convert.c (convert): When converting a complex expression | |
9112 | other than COMPLEX_EXPR to a different complex type, ensure | |
9113 | c_save_expr is called instead of save_expr, unless in_late_binary_op. | |
9114 | * c-typeck.c (convert_for_assignment): Set in_late_binary_op also | |
9115 | when converting COMPLEX_TYPE. | |
9116 | ||
210dedfe IR |
9117 | 2011-01-06 Ira Rosen <irar@il.ibm.com> |
9118 | ||
9119 | PR tree-optimization/47139 | |
9120 | * tree-vect-loop.c (vect_is_simple_reduction_1): Check that | |
9121 | only the last reduction value is used outside the loop. Update | |
9122 | documentation. | |
9123 | ||
cd33a412 JM |
9124 | 2011-01-05 Joseph Myers <joseph@codesourcery.com> |
9125 | ||
9126 | * config/rtems.opt: New. | |
9127 | * config.gcc (*-*-rtems*): Use rtems.opt. | |
9128 | ||
819edd94 CF |
9129 | 2011-01-05 Changpeng Fang <changpeng.fang@amd.com> |
9130 | ||
9131 | * config/i386/i386.c (ix86_option_override_internal): Bulldozer | |
9132 | processors do not support 3DNow instructions. | |
9133 | ||
dc242c4a UW |
9134 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
9135 | ||
9136 | * config/spu/spu.c (spu_option_override): Set parameter | |
9137 | PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1. | |
9138 | ||
be286227 JH |
9139 | 2011-01-05 Jan Hubicka <jh@suse.cz> |
9140 | ||
9141 | * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified | |
9142 | at the command line. | |
9143 | ||
644e637f MJ |
9144 | 2011-01-05 Martin Jambor <mjambor@suse.cz> |
9145 | ||
9146 | PR lto/47162 | |
9147 | * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk | |
9148 | deltas on streamed outgoing edges. | |
9149 | (output_node_opt_summary): Output info for outgoing edges only when | |
9150 | the node is in new parameter set. | |
9151 | (output_cgraph_opt_summary): New parameter set, passed to the two | |
9152 | aforementioned functions. Update its forward declaration and its | |
9153 | callee too. | |
9154 | ||
7bd11157 TT |
9155 | 2011-01-05 Tom Tromey <tromey@redhat.com> |
9156 | ||
9157 | * c-parser.c (c_parser_omp_atomic): Pass location of assignment | |
9158 | operator to c_finish_omp_atomic. | |
9159 | * c-typeck.c (lvalue_or_else): Add 'loc' argument. | |
9160 | (build_unary_op): Update. | |
9161 | (build_modify_expr): Update. | |
9162 | (build_asm_expr): Update. | |
9163 | ||
f626b979 UW |
9164 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
9165 | ||
9166 | * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for | |
9167 | newly inserted insns. | |
9168 | (pad_bb): Likewise. | |
9169 | (spu_emit_branch_hint): Likewise. | |
9170 | (insert_hbrp_for_ilb_runout): Likewise. | |
9171 | (spu_machine_dependent_reorg): Call df_finish_pass after | |
9172 | schedule_insns returns. | |
9173 | ||
4c825c02 UW |
9174 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
9175 | ||
9176 | * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage. | |
9177 | ||
5e9fba51 EB |
9178 | 2011-01-05 Eric Botcazou <ebotcazou@adacore.com> |
9179 | ||
9180 | PR tree-optimization/47005 | |
9181 | * tree-sra.c (struct access): Add 'non_addressable' bit. | |
9182 | (create_access): Set it for a DECL_NONADDRESSABLE_P field. | |
9183 | (decide_one_param_reduction): Return 0 if the parameter is passed by | |
9184 | reference and one of the accesses in the group is non_addressable. | |
9185 | ||
3ebb5ca6 EB |
9186 | 2011-01-04 Eric Botcazou <ebotcazou@adacore.com> |
9187 | ||
9188 | PR tree-optimization/47056 | |
9189 | * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers. | |
9190 | (mark_load): Likewise. Handle FUNCTION_DECL specially. | |
9191 | (mark_store): Likewise. Pass STMT to ipa_record_reference. | |
9192 | ||
d5d4d14e EB |
9193 | 2011-01-04 Eric Botcazou <ebotcazou@adacore.com> |
9194 | ||
9195 | * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the | |
9196 | initializer. Skip view conversions from aggregate types. | |
9197 | ||
d996ef70 KT |
9198 | 2011-01-04 Kai Tietz <kai.tietz@onevision.com> |
9199 | ||
9200 | PR bootstrap/47055 | |
9201 | * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC. | |
9202 | ||
509d65dd | 9203 | 2011-01-04 Philipp Thomas <pth@suse.de> |
017096ca PT |
9204 | |
9205 | * config/microblaze/microbalse.opt (mxl-float-convert): Fix | |
9206 | obvious typo. | |
9207 | ||
55c623b5 UW |
9208 | 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
9209 | ||
9210 | * function.c (thread_prologue_and_epilogue_insns): Do not crash | |
9211 | on empty epilogue sequences. | |
9212 | ||
b98d6b35 JM |
9213 | 2011-01-04 Joseph Myers <joseph@codesourcery.com> |
9214 | ||
9215 | * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now, | |
9216 | non-static): New Driver options. | |
9217 | ||
a0d43bac JZ |
9218 | 2011-01-04 Jie Zhang <jie@codesourcery.com> |
9219 | ||
9220 | PR driver/47137 | |
9221 | * gcc.c (default_compilers[]): Set combinable field to 0 | |
9222 | for all assembly languages. | |
9223 | ||
2b18eb32 MX |
9224 | 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com> |
9225 | ||
9226 | * config/mips/loongson3a.md: New file. | |
9227 | * config/mips/mips.md: Include loongson3a.md. | |
9228 | * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when | |
9229 | TUNE_LOONGSON_3A. | |
9230 | ||
42a48c4f EB |
9231 | 2011-01-03 Eric Botcazou <ebotcazou@adacore.com> |
9232 | ||
9233 | PR middle-end/47017 | |
9234 | * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space | |
9235 | instead of convert_memory_address_addr_space on the base expression. | |
9236 | ||
9c1732c4 UW |
9237 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
9238 | ||
9239 | * config/spu/spu.c (spu_option_override): Update error text | |
9240 | for bad -march= / -mtune= values. | |
9241 | ||
aa474365 UW |
9242 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
9243 | ||
9244 | * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking | |
9245 | if branch-hint optimization will be performed. | |
9246 | ||
9766135b JJ |
9247 | 2011-01-03 Jakub Jelinek <jakub@redhat.com> |
9248 | ||
371556ee JJ |
9249 | PR tree-optimization/47148 |
9250 | * ipa-split.c (split_function): Convert arguments to | |
9251 | DECL_ARG_TYPE if possible. | |
9252 | ||
1ac12fa2 JJ |
9253 | PR tree-optimization/47155 |
9254 | * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type | |
9255 | when computing uns. | |
9256 | ||
9766135b JJ |
9257 | PR rtl-optimization/47157 |
9258 | * combine.c (try_combine): If undobuf.other_insn becomes | |
9259 | (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it | |
9260 | and set *new_direct_jump_p too. | |
9261 | ||
f4a2e571 SP |
9262 | 2011-01-03 Sebastian Pop <sebastian.pop@amd.com> |
9263 | ||
9264 | PR tree-optimization/47021 | |
9265 | * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR. | |
9266 | ||
9f8e43c0 JJ |
9267 | 2011-01-03 Jakub Jelinek <jakub@redhat.com> |
9268 | ||
9269 | * gcc.c (process_command): Update copyright notice dates. | |
9270 | * gcov.c (print_version): Likewise. | |
9271 | * gcov-dump.c (print_version): Likewise. | |
9272 | * mips-tfile.c (main): Likewise. | |
9273 | * mips-tdump.c (main): Likewise. | |
9274 | ||
1a2e38f3 MJ |
9275 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
9276 | ||
9277 | PR tree-optimization/46801 | |
9278 | * tree-sra.c (type_internals_preclude_sra_p): Check whether | |
9279 | aggregate fields start at byte boundary instead of the bit-field flag. | |
9280 | ||
56b721c5 L |
9281 | 2011-01-03 H.J. Lu <hongjiu.lu@intel.com> |
9282 | ||
9283 | PR driver/47137 | |
9284 | * gcc.c (main): Revert revision 168407. | |
9285 | ||
839d549b MJ |
9286 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
9287 | ||
9288 | * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type. | |
9289 | ||
4ce99a20 | 9290 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
2fa6eeff UW |
9291 | |
9292 | * tree-vect-generic.c (expand_vector_operations_1): When using vector/ | |
9293 | vector optab to expand vector/scalar shift, update gimple to vector. | |
9294 | ||
76df0ae6 MJ |
9295 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
9296 | ||
9297 | * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to | |
9298 | a thunk. | |
9299 | ||
ce47fda3 MJ |
9300 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
9301 | ||
9302 | PR tree-optimization/46984 | |
9303 | * cgraph.h (cgraph_indirect_call_info): make field thunk_delta | |
9304 | HOST_WIDE_INT. | |
9305 | (cgraph_create_indirect_edge): Fixed line length. | |
9306 | (cgraph_indirect_call_info): Declare. | |
9307 | (cgraph_make_edge_direct) Update declaration. | |
9308 | * cgraph.c (cgraph_allocate_init_indirect_info): New function. | |
9309 | (cgraph_create_indirect_edge): Use it. | |
9310 | (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all | |
9311 | callees. | |
9312 | * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for | |
9313 | the new thunk_delta representation. | |
9314 | * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to | |
9315 | HOST_WIDE_INT. | |
9316 | (ipa_write_indirect_edge_info): Remove streaming of thunk_delta. | |
9317 | (ipa_read_indirect_edge_info): Likewise. | |
9318 | * lto-cgraph.c (output_edge_opt_summary): New function. | |
9319 | (output_node_opt_summary): Call it on all outgoing edges. | |
9320 | (input_edge_opt_summary): New function. | |
9321 | (input_node_opt_summary): Call it on all outgoing edges. | |
9322 | ||
1e67fa1f L |
9323 | 2011-01-02 H.J. Lu <hongjiu.lu@intel.com> |
9324 | ||
9325 | PR driver/47137 | |
9326 | * gcc.c (main): Don't check have_o when settting combine_inputs. | |
9327 | ||
6656b2ac EB |
9328 | 2011-01-02 Eric Botcazou <ebotcazou@adacore.com> |
9329 | ||
9330 | * regrename.c: Add general comment describing the pass. | |
9331 | (struct du_head): Remove 'length' field. | |
9332 | (get_element, merge_sort_comparison, merge, sort_du_head): Remove. | |
9333 | (regrename_optimize): Do not sort chains. Rework comments, add others. | |
9334 | Force renaming to the preferred class (if any) in the first pass and do | |
9335 | not consider registers that belong to it in the second pass. | |
9336 | (create_new_chain): Do not set 'length' field. | |
9337 | (scan_rtx_reg): Likewise. | |
9338 | ||
bc470c24 JJ |
9339 | 2011-01-02 Jakub Jelinek <jakub@redhat.com> |
9340 | ||
4e996296 JJ |
9341 | PR tree-optimization/47140 |
9342 | * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use | |
9343 | TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument | |
9344 | to bit_value_binop. | |
9345 | ||
bc470c24 | 9346 | PR rtl-optimization/47028 |
6656b2ac EB |
9347 | * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after |
9348 | parm_birth_insn instead of at the beginning of first bb. | |
bc470c24 | 9349 | |
5af62fcd | 9350 | 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com> |
0d52f2a8 MX |
9351 | |
9352 | * doc/generic.texi: Remove duplicated "@subsubsection Statements". | |
9353 | Remove the word "see" before "@pxref". | |
9354 | * doc/rtl.texi: Remove the word "see" before "@pxref". | |
9355 | ||
0e20c89f JH |
9356 | 2011-01-01 Jan Hubicka <jh@suse.cz> |
9357 | ||
6656b2ac EB |
9358 | * tree-loop-distribution.c (tree_loop_distribution): Do not use freed |
9359 | memory. | |
0e20c89f | 9360 | |
220e83ca KT |
9361 | 2011-01-01 Kai Tietz <kai.tietz@onevision.com> |
9362 | ||
9363 | PR target/38662 | |
6656b2ac | 9364 | * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too. |
220e83ca | 9365 | |
ad41bd84 | 9366 | \f |
797103eb | 9367 | Copyright (C) 2011 Free Software Foundation, Inc. |
ad41bd84 JM |
9368 | |
9369 | Copying and distribution of this file, with or without modification, | |
9370 | are permitted in any medium without royalty provided the copyright | |
9371 | notice and this notice are preserved. |