]>
Commit | Line | Data |
---|---|---|
06e88d73 MJ |
1 | 2011-07-01 Martin Jambor <mjambor@suse.cz> |
2 | ||
3 | * tree-sra.c (tree_non_mode_aligned_mem_p): Also ignore MEM_REFs. | |
4 | ||
6bbec3e1 L |
5 | 2011-07-01 H.J. Lu <hongjiu.lu@intel.com> |
6 | ||
7 | PR middle-end/48016 | |
8 | * explow.c (update_nonlocal_goto_save_area): Use proper mode | |
9 | for stack save area. | |
10 | * function.c (expand_function_start): Likewise. | |
11 | ||
e8fdf1cd RG |
12 | 2011-07-01 Richard Guenther <rguenther@suse.de> |
13 | ||
14 | PR middle-end/49596 | |
15 | * cgraph.h (varpool_all_refs_explicit_p): Not analyzed nodes | |
16 | may have unknown refs. | |
17 | ||
80d3dd38 KT |
18 | 2011-07-01 Kai Tietz <ktietz@redhat.com> |
19 | ||
20 | * tree-ssa-forwprop.c (simplify_bitwise_binary): Fix typo. | |
21 | ||
179fc656 RO |
22 | 2011-07-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
23 | ||
24 | * config.gcc: Obsolete alpha*-dec-osf5.1, mips-sgi-irix6.5. | |
25 | * doc/install.texi (Specific, alpha*-dec-osf5.1): Document it. | |
26 | (Specific, mips-sgi-irix6): Likewise. | |
27 | ||
14a393a3 RO |
28 | 2011-07-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
29 | ||
30 | PR libmudflap/49549 | |
31 | * doc/sourcebuild.texi (Effective-Target Keywords): Document gld. | |
32 | ||
3aecd443 JJ |
33 | 2011-07-01 Jakub Jelinek <jakub@redhat.com> |
34 | ||
35 | * tree-pretty-print.c (dump_generic_code) <case CONSTRUCTOR>: Print | |
36 | [idx]= and [idx1 ... idx2]= before initializers if needed for | |
37 | array initializers. | |
38 | ||
7474f719 CL |
39 | 2011-07-01 Chen Liqin <liqin.gcc@gmail.com> |
40 | ||
41 | * config.gcc (score-*-elf): Remove score7.o. | |
42 | * config/score/t-score-elf: Likewise. | |
43 | * config/score/score.c: Merge score7 to score.c and | |
44 | remove forwarding functions. | |
45 | * config/score/score7.c: Deleted. | |
46 | * config/score/score7.h: Deleted. | |
47 | ||
ab70d825 RG |
48 | 2011-07-01 Richard Guenther <rguenther@suse.de> |
49 | ||
50 | PR tree-optimization/49603 | |
51 | * tree-vect-stmts.c (vectorizable_load): Remove unnecessary | |
52 | assert. | |
53 | ||
1ac93f10 MJ |
54 | 2011-06-30 Martin Jambor <mjambor@suse.cz> |
55 | ||
56 | * tree-sra.c (struct access): Rename total_scalarization to | |
57 | grp_total_scalarization | |
58 | (completely_scalarize_var): New function. | |
59 | (sort_and_splice_var_accesses): Set total_scalarization in the | |
60 | representative access. | |
61 | (analyze_access_subtree): Propagate total scalarization accross the | |
62 | tree, no holes in totally scalarized trees, simplify coverage | |
63 | computation. | |
64 | (analyze_all_variable_accesses): Call completely_scalarize_var instead | |
65 | of completely_scalarize_record. | |
66 | ||
97f309c3 RH |
67 | 2011-06-30 Richard Henderson <rth@redhat.com> |
68 | ||
69 | * config/i386/i386.h (X86_TUNE_DEEP_BRANCH_PREDICTION): Remove. | |
70 | (TARGET_DEEP_BRANCH_PREDICTION): Remove. | |
71 | * config/i386/i386.c: Don't include dwarf2out.h. | |
72 | (initial_ix86_tune_features): Remove X86_TUNE_DEEP_BRANCH_PREDICTION. | |
73 | (output_set_got): Don't test TARGET_DEEP_BRANCH_PREDICTION, delete | |
74 | all code dead thereafter. Don't do dwarf2out_flush_queued_reg_saves. | |
75 | (ix86_expand_prologue): Set REG_CFA_FLUSH_QUEUE on set_got insn. | |
76 | (machopic_output_stub): Don't test TARGET_DEEP_BRANCH_PREDICTION. | |
77 | ||
ef284364 RH |
78 | 2011-06-30 Richard Henderson <rth@redhat.com> |
79 | ||
80 | * reg-notes.def (REG_CFA_FLUSH_QUEUE): New. | |
81 | * dwarf2out.c (dwarf2out_frame_debug): Handle it. | |
82 | * final.c (final_scan_insn): Look for it, and invoke | |
83 | dwarf2out_frame_debug before the insn if found. | |
84 | ||
c8412f97 RH |
85 | 2011-06-30 Richard Henderson <rth@redhat.com> |
86 | ||
87 | * dwarf2out.c (dwarf2out_frame_debug_cfa_offset): Allow PC_RTX | |
88 | as a source, and interpret that as DWARF_FRAME_RETURN_COLUMN. | |
89 | ||
e3f903d8 RH |
90 | 2011-06-30 Richard Henderson <rth@redhat.com> |
91 | ||
92 | * dwarf2out.c (struct reg_saved_in_data): Provide a typedef. | |
93 | Define a vector of this type. | |
94 | (regs_saved_in_regs): Use a VEC. | |
95 | (num_regs_saved_in_regs): Remove. | |
96 | (compare_reg_or_pc): New. | |
97 | (record_reg_saved_in_reg): Split out from... | |
98 | (dwarf2out_flush_queued_reg_saves): ... here. | |
99 | (clobbers_queued_reg_save): Update for VEC. | |
100 | (reg_saved_in): Likewise. | |
101 | (dwarf2out_frame_debug_init): Likewise. | |
102 | (dwarf2out_reg_save_reg): Use record_reg_saved_in_reg. | |
103 | (dwarf2out_frame_debug_cfa_register): Likewise. | |
104 | ||
e2c9010a EB |
105 | 2011-06-30 Eric Botcazou <ebotcazou@adacore.com> |
106 | ||
107 | PR tree-optimization/49572 | |
108 | * tree-ssa-dom.c (initialize_hash_element) <GIMPLE_SINGLE_RHS>: Use the | |
109 | type of the RHS instead of that of the LHS for the expression type. | |
110 | ||
dbb07bbc EB |
111 | 2011-06-30 Eric Botcazou <ebotcazou@adacore.com> |
112 | ||
113 | * df-scan.c (df_get_entry_block_def_set): Use INCOMING_REGNO macro | |
114 | unconditionally. | |
115 | ||
1565af08 RG |
116 | 2011-06-30 Richard Guenther <rguenther@suse.de> |
117 | ||
118 | * opts.c (finish_options): Do not disable IPA-PTA during ltrans. | |
119 | * tree-ssa-structalias.c (create_variable_info_for): Do not | |
120 | add initial constraints for non-var-decls. Properly handle | |
121 | globals in other ltrans partitions. | |
122 | (intra_create_variable_infos): Manually create constraints for | |
123 | the fake no-alias parameter. | |
124 | (ipa_pta_execute): Dump the cgraph, handle ltrans partitions properly | |
125 | and assert there are no clones. | |
126 | ||
42373e0b RG |
127 | 2011-06-30 Richard Guenther <rguenther@suse.de> |
128 | ||
129 | PR tree-optimization/46787 | |
130 | * tree-data-ref.c (dr_address_invariant_p): Remove. | |
131 | (find_data_references_in_stmt): Invariant accesses are ok now. | |
132 | * tree-vect-stmts.c (vectorizable_load): Handle invariant | |
133 | loads. | |
134 | * tree-vect-data-refs.c (vect_analyze_data_ref_access): Allow | |
135 | invariant loads. | |
136 | ||
7aa62ea1 MJ |
137 | 2011-06-30 Martin Jambor <mjambor@suse.cz> |
138 | ||
139 | PR tree-optimization/49094 | |
140 | * tree-sra.c (tree_non_mode_aligned_mem_p): New function. | |
141 | (build_accesses_from_assign): Use it. | |
142 | ||
f60f32b3 JJ |
143 | 2011-06-30 Jakub Jelinek <jakub@redhat.com> |
144 | ||
d9048d16 JJ |
145 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Fix |
146 | handling of BUILT_IN_ASSUME_ALIGNED. | |
147 | ||
f60f32b3 JJ |
148 | PR debug/49364 |
149 | * dwarf2out.c (output_abbrev_section): Don't return early | |
150 | if abbrev_die_table_in_use is 1. | |
151 | (dwarf2out_finish): Instead don't call output_abbrev_section | |
152 | nor emit abbrev_section_label in that case. | |
153 | ||
7cce15d4 NC |
154 | 2011-06-30 Nick Clifton <nickc@redhat.com> |
155 | ||
156 | * config/v850/v850.h (CPP_SPEC): Define __v850e__ when compiling | |
157 | for the V850E. | |
158 | ||
ce7e54ff JJ |
159 | 2011-06-30 Jakub Jelinek <jakub@redhat.com> |
160 | ||
161 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): Fix | |
162 | handling of BUILT_IN_MEMPCPY_CHK and BUILT_IN_STPCPY_CHK. | |
163 | ||
83197f37 IR |
164 | 2011-06-30 Ira Rosen <ira.rosen@linaro.org> |
165 | ||
166 | * tree-vect-loop.c (vect_determine_vectorization_factor): Handle | |
167 | both pattern and original statements if necessary. | |
168 | (vect_transform_loop): Likewise. | |
169 | * tree-vect-patterns.c (vect_pattern_recog): Update documentation. | |
170 | * tree-vect-stmts.c (vect_mark_relevant): Add new argument. | |
171 | Mark the pattern statement only if the original statement doesn't | |
172 | have its own uses. | |
173 | (process_use): Call vect_mark_relevant with additional parameter. | |
174 | (vect_mark_stmts_to_be_vectorized): Likewise. | |
175 | (vect_get_vec_def_for_operand): Use vectorized pattern statement. | |
176 | (vect_analyze_stmt): Handle both pattern and original statements | |
177 | if necessary. | |
178 | (vect_transform_stmt): Don't store vectorized pattern statement | |
179 | in the original statement. | |
180 | (vect_is_simple_use_1): Use related pattern statement only if the | |
181 | original statement is irrelevant. | |
182 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Likewise. | |
183 | ||
dbb07bbc | 184 | 2011-06-29 Changpeng Fang <changpeng.fang@amd.com> |
5c0d88e6 | 185 | |
dbb07bbc EB |
186 | * config/i386/i386.opt (mprefer-avx128): Redefine the flag as a Mask |
187 | option. | |
188 | * config/i386/i386.h (ix86_tune_indices): Add X86_TUNE_AVX128_OPTIMAL | |
189 | entry. | |
5c0d88e6 CF |
190 | (TARGET_AVX128_OPTIMAL): New definition. |
191 | * config/i386/i386.c (initial_ix86_tune_features): Initialize | |
192 | X86_TUNE_AVX128_OPTIMAL entry. | |
193 | (ix86_option_override_internal): Enable the generation | |
194 | of the 128-bit instructions when TARGET_AVX128_OPTIMAL is set. | |
195 | (ix86_preferred_simd_mode): Use TARGET_PREFER_AVX128. | |
196 | (ix86_autovectorize_vector_sizes): Use TARGET_PREFER_AVX128. | |
197 | ||
931050d0 EB |
198 | 2011-06-29 Eric Botcazou <ebotcazou@adacore.com> |
199 | ||
200 | PR tree-optimization/49539 | |
201 | * tree-ssa-forwprop.c (can_propagate_from): Check for abnormal SSA | |
202 | names by means of stmt_references_abnormal_ssa_name. | |
203 | (associate_plusminus): Call can_propagate_from before propagating | |
204 | from definition statements. | |
205 | (ssa_forward_propagate_and_combine): Remove superfluous newline. | |
206 | ||
dfedbe40 RG |
207 | 2011-06-29 Richard Guenther <rguenther@suse.de> |
208 | ||
209 | * doc/invoke.texi: Document -scev dump modifier. | |
210 | * tree-pass.h (TDF_SCEV): New dump flag. | |
211 | * tree-dump.c (dump_option_value_in): Add scev. | |
212 | * tree-chrec.c: Replace all TDF_DETAILS checks with TDF_SCEV. | |
213 | * tree-scalar-evolution.c: Likewise. | |
214 | ||
3a86cfeb NS |
215 | 2011-06-29 Nathan Sidwell <nathan@codesourcery.com> |
216 | ||
217 | * config/arm/unwind-arm.c (enum __cxa_type_match_result): New. | |
218 | (cxa_type_match): Correct declaration. | |
219 | (__gnu_unwind_pr_common): Reconstruct | |
220 | additional indirection when __cxa_type_match returns | |
221 | succeeded_with_ptr_to_base. | |
222 | ||
f3678bfb UW |
223 | 2011-06-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
224 | ||
225 | PR rtl-optimization/49114 | |
226 | * reload.c (struct replacement): Remove SUBREG_LOC member. | |
227 | (push_reload): Do not set it. | |
228 | (push_replacement): Likewise. | |
229 | (subst_reload): Remove dead code. | |
230 | (copy_replacements): Remove assertion. | |
231 | (copy_replacements_1): Do not handle SUBREG_LOC. | |
232 | (move_replacements): Likewise. | |
233 | (find_replacement): Remove dead code. Use reload_adjust_reg_for_mode. | |
234 | Detect subregs via recursive descent instead of via SUBREG_LOC. | |
235 | ||
433ba0a5 GJL |
236 | 2011-06-29 Georg-Johann Lay <avr@gjlay.de> |
237 | ||
238 | * config/avr/avr.c (avr_encode_section_info): Dispatch to | |
239 | default_encode_section_info. | |
240 | ||
73f6eabc RS |
241 | 2011-06-29 Richard Sandiford <richard.sandiford@linaro.org> |
242 | ||
243 | PR tree-optimization/49545 | |
244 | * builtins.c (get_object_alignment_1): Update function comment. | |
245 | Do not use DECL_ALIGN for functions, but test | |
246 | TARGET_PTRMEMFUNC_VBIT_LOCATION instead. | |
247 | * fold-const.c (get_pointer_modulus_and_residue): Don't check | |
248 | for functions here. | |
249 | * tree-ssa-ccp.c (get_value_from_alignment): Likewise. | |
250 | ||
a0f33d3a JJ |
251 | 2011-06-29 Jakub Jelinek <jakub@redhat.com> |
252 | ||
253 | PR debug/49567 | |
254 | * dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTEND>: Give up | |
255 | for non-MODE_INT modes instead of asserting the mode has MODE_INT | |
256 | class. | |
257 | ||
946c8b23 GJL |
258 | 2011-06-29 Georg-Johann Lay <avr@gjlay.de> |
259 | ||
260 | PR target/34734 | |
261 | * config/avr/avr.c (avr_handle_progmem_attribute): Move warning | |
262 | about uninitialized data attributed 'progmem' from here... | |
263 | (avr_encode_section_info): ...to this new function. | |
264 | (TARGET_ENCODE_SECTION_INFO): New define. | |
265 | (avr_section_type_flags): For data in ".progmem.data", remove | |
266 | section flag SECTION_WRITE. | |
267 | ||
9a63dee4 GJL |
268 | 2011-06-29 Georg-Johann Lay <avr@gjlay.de> |
269 | ||
270 | * config/avr/t-avr (LIB1ASMFUNCS): Add _mulhisi3, _umulhisi3, | |
271 | _xmulhisi3_exit. | |
272 | * config/avr/libgcc.S (_xmulhisi3_exit): New Function. | |
273 | (__mulhisi3): Optimize if have MUL*. Use XJMP instead of rjmp. | |
274 | (__umulhisi3): Ditto. | |
275 | * config/avr/avr.md (mulhisi3): New insn expender. | |
276 | (umulhisi3): New insn expender. | |
277 | (*mulhisi3_call): New insn. | |
278 | (*umulhisi3_call): New insn. | |
279 | ||
4374ce45 JM |
280 | 2011-06-28 Joseph Myers <joseph@codesourcery.com> |
281 | ||
282 | * Makefile.in (LIBGCC2_CFLAGS): Remove -D__GCC_FLOAT_NOT_NEEDED. | |
283 | ||
94759030 RH |
284 | 2011-06-28 Richard Henderson <rth@redhat.com> |
285 | ||
286 | * config/arm/arm.c (thumb_pop): Rename from thumb_pushpop. Delete | |
287 | all code and arguments that handled pushes. Update all callers. | |
288 | ||
d018b46e RH |
289 | 2011-06-28 Richard Henderson <rth@redhat.com> |
290 | ||
291 | * config/arm/arm.c (arm_output_function_prologue): Don't call | |
292 | thumb1_output_function_prologue. | |
293 | (arm_expand_prologue): Avoid dead store. | |
294 | (number_of_first_bit_set): Use ctz_hwi. | |
295 | (thumb1_emit_multi_reg_push): New. | |
296 | (thumb1_expand_prologue): Merge thumb1_output_function_prologue | |
297 | to emit the entire prologue as rtl. | |
298 | (thumb1_output_interwork): Split out from | |
299 | thumb1_output_function_prologue. | |
300 | (thumb1_output_function_prologue): Remove. | |
301 | (arm_attr_length_push_multi): Handle thumb1. | |
302 | * config/arm/arm.md (VUNSPEC_THUMB1_INTERWORK): New. | |
303 | (prologue_thumb1_interwork): New. | |
304 | (*push_multi): Allow thumb1; use push_mult_memory_operand. | |
305 | * config/arm/predicates.md (push_mult_memory_operand): New. | |
306 | ||
97269a23 EB |
307 | 2011-06-28 Eric Botcazou <ebotcazou@adacore.com> |
308 | ||
309 | * config/sparc/sync.md (*stbar): Delete. | |
310 | (*membar_v8): New insn to implement UNSPEC_MEMBAR in SPARC-V8. | |
311 | ||
4a9206ce EB |
312 | 2011-06-28 Eric Botcazou <ebotcazou@adacore.com> |
313 | ||
314 | * tree-ssa-dom.c (initialize_hash_element): Fix oversight. | |
315 | ||
6138f9bd RO |
316 | 2011-06-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
317 | ||
318 | * config/sparc/sol2-64.h (TARGET_DEFAULT): Remove. | |
319 | (TARGET_64BIT_DEFAULT): Define. | |
320 | * config.gcc (sparc*-*-solaris2*): Move sparc/sol2-64.h to front | |
321 | of tm_file. | |
322 | * config/sparc/sol2.h [TARGET_64BIT_DEFAULT] (TARGET_DEFAULT): Define. | |
323 | ||
a7d0d30f JM |
324 | 2011-06-28 Joseph Myers <joseph@codesourcery.com> |
325 | ||
326 | * common.opt (in_lto_p): New Variable entry. | |
327 | * flags.h (in_lto_p): Move to common.opt. | |
328 | * gcc.c: Include params.h. | |
329 | (set_option_handlers): Also use common_handle_option and | |
330 | target_handle_option. | |
331 | (main): Call global_init_params, finish_params and | |
332 | init_options_struct. | |
333 | * opts.c (debug_type_names): Move from toplev.c. | |
334 | (print_filtered_help): Access quiet_flag through opts pointer. | |
335 | (common_handle_option): Return early in the driver for some | |
336 | options. Access in_lto_p, dwarf_version and | |
337 | warn_maybe_uninitialized through opts pointer. | |
338 | * toplev.c (in_lto_p): Move to common.opt. | |
339 | (debug_type_names): Move to opts.c. | |
340 | * Makefile.in (OBJS): Remove opts.o. | |
341 | (OBJS-libcommon-target): Add opts.o. | |
342 | (gcc.o): Update dependencies. | |
343 | ||
420863a9 KT |
344 | 2011-06-28 Kai Tietz <ktietz@redhat.com> |
345 | ||
346 | * tree-ssa-forwprop.c (simplify_bitwise_binary): Improve | |
347 | type sinking. | |
348 | ||
0498a2be RR |
349 | 2011-06-28 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
350 | ||
351 | * config/arm/vfp.md ("*divsf3_vfp"): Replace '+' constraint modifier | |
352 | with '=' constraint modifier. | |
353 | (*divdf3_vfp): Likewise. | |
354 | ("*mulsf3_vfp"): Likewise. | |
355 | ("*muldf3_vfp"): Likewise. | |
356 | ("*mulsf3negsf_vfp"): Likewise. | |
357 | ("*muldf3negdf_vfp"): Likewise. | |
358 | ||
4a68b724 NC |
359 | 2011-06-28 Nick Clifton <nickc@redhat.com> |
360 | ||
361 | * config/mn10300/mn10300.h (LINK_SPEC): Do not use linker | |
362 | relaxation when performing an incremental link. | |
363 | ||
72a32729 KT |
364 | 2011-06-28 Kai Tietz <ktietz@redhat.com> |
365 | ||
366 | * tree-ssa-math-opts.c (execute_optimize_bswap): Search | |
367 | within BB from last to first. | |
368 | ||
88a00ef7 JM |
369 | 2011-06-28 Joseph Myers <joseph@codesourcery.com> |
370 | ||
371 | * genattr-common.c: New. Based on genattr.c. | |
372 | * Makefile.in (INSN_ATTR_H): Include insn-attr-common.h. | |
373 | (MOSTLYCLEANFILES): Add insn-attr-common.h. | |
374 | (opts.o): Update dependencies. | |
375 | (.PRECIOUS): Add insn-attr-common.h. | |
376 | (simple_rtl_generated_h): Add insn-attr-common.h. | |
377 | (build/genattr-common.o): New. | |
378 | (genprogrtl): Add attr-common. | |
379 | * genattr.c (main): Include insn-attr-common.h. Don't generate | |
380 | definitions of DELAY_SLOTS or INSN_SCHEDULING. | |
381 | * opts.c: Include insn-attr-common.h instead of rtl.h and | |
382 | insn-attr.h. | |
383 | ||
880962ac GJL |
384 | 2011-06-28 Georg-Johann Lay <avr@gjlay.de> |
385 | ||
4a68b724 | 386 | * config.gcc (tm_file): Add elfos.h and avr/elf.h for |
880962ac | 387 | avr-*-* and avr-*-rtems* targets. |
4a68b724 | 388 | |
880962ac GJL |
389 | * config/avr/elf.h: New file. |
390 | (ASM_OUTPUT_BEFORE_CASE_LABEL): Define. | |
391 | (TARGET_ASM_SELECT_SECTION): Define. | |
392 | (INIT_SECTION_ASM_OP): Undefine. | |
393 | (FINI_SECTION_ASM_OP): Undefine. | |
394 | (READONLY_DATA_SECTION_ASM_OP): Undefine. | |
395 | (PCC_BITFIELD_TYPE_MATTERS): Undefine. | |
396 | (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Undefine. | |
397 | * config/avr/avr.h: | |
398 | (PREFERRED_DEBUGGING_TYPE): Move to elf.h. | |
399 | (TARGET_ASM_NAMED_SECTION): Move to elf.h. | |
400 | (MAX_OFILE_ALIGNMENT): Move to elf.h. | |
401 | (STRING_LIMIT): Move to elf.h. | |
402 | (ASM_DECLARE_FUNCTION_NAME): Move to elf.h. | |
403 | (ASM_DECLARE_OBJECT_NAME): Remove. | |
404 | (ESCAPES): Remove. | |
405 | (ASM_OUTPUT_SKIP): Remove. | |
406 | (DWARF2_DEBUGGING_INFO): Remove. | |
407 | (OBJECT_FORMAT_ELF): Remove. | |
408 | (USER_LABEL_PREFIX): Remove. | |
409 | (ASM_OUTPUT_EXTERNAL): Remove. | |
410 | (ASM_OUTPUT_ASCII): Remove. | |
411 | (TYPE_ASM_OP): Remove. | |
412 | (SIZE_ASM_OP): Remove. | |
413 | (WEAK_ASM_OP): Remove. | |
414 | (STRING_ASM_OP): Remove. | |
415 | (SET_ASM_OP): Remove. | |
416 | (ASM_WEAKEN_LABEL): Remove. | |
417 | (TYPE_OPERAND_FMT): Remove. | |
418 | (ASM_DECLARE_FUNCTION_SIZE): Remove. | |
419 | (ASM_FINISH_DECLARE_OBJECT): Remove. | |
420 | (NO_DOLLAR_IN_LABEL): Remove. | |
421 | (ASM_GENERATE_INTERNAL_LABEL): Remove. | |
422 | (ASM_OUTPUT_CASE_LABEL): Remove. | |
423 | * config/avr/avr.c (avr_asm_output_aligned_decl_common): Use | |
424 | ASM_OUTPUT_ALIGNED_LOCAL, ASM_OUTPUT_ALIGNED_COMMON. | |
425 | (gas_output_ascii): Remove. | |
426 | (gas_output_limited_string): Remove. | |
427 | (TARGET_ASM_FILE_START_FILE_DIRECTIVE): Remove. | |
428 | * config/avr/avr-protos.h | |
429 | (gas_output_ascii): Remove prototye. | |
430 | (gas_output_limited_string): Remove prototype. | |
431 | ||
a1b5eb93 RE |
432 | 2011-06-27 Richard Earnshaw <rearnsha@arm.com> |
433 | ||
434 | PR target/48637 | |
435 | * arm.c (arm_print_operand): Allow sym+offset. Don't abort on invalid | |
436 | asm operands. | |
437 | ||
310e71a8 JH |
438 | 2011-06-27 Jan Hubicka <jh@suse.cz> |
439 | ||
4a9206ce EB |
440 | * ipa.c (cgraph_address_taken_from_non_vtable_p): Walk references of |
441 | node instead of references in node. | |
310e71a8 | 442 | |
171da07a RH |
443 | 2011-06-27 Richard Henderson <rth@redhat.com> |
444 | ||
445 | * config/alpha/alpha.c (vms_patch_builtins): Provide dummy definition. | |
446 | * config/ia64/ia64.c (ia64_init_builtins): Call vms_patch_builtins | |
447 | inside ifdef. | |
448 | ||
dc2a58da JJ |
449 | 2011-06-27 Jakub Jelinek <jakub@redhat.com> |
450 | ||
56300785 JJ |
451 | * c-decl.c (union lang_tree_node): Use it in chain_next expression. |
452 | ||
45d439ac JJ |
453 | * builtin-types.def (BT_FN_PTR_CONST_PTR_SIZE_VAR): New. |
454 | * builtins.def (BUILT_IN_ASSUME_ALIGNED): New builtin. | |
455 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call, | |
456 | find_func_clobbers): Handle BUILT_IN_ASSUME_ALIGNED. | |
457 | * tree-ssa-ccp.c (bit_value_assume_aligned): New function. | |
458 | (evaluate_stmt, execute_fold_all_builtins): Handle | |
459 | BUILT_IN_ASSUME_ALIGNED. | |
460 | * tree-ssa-dce.c (propagate_necessity): Likewise. | |
461 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1, | |
462 | call_may_clobber_ref_p_1): Likewise. | |
463 | * builtins.c (is_simple_builtin, expand_builtin): Likewise. | |
464 | (expand_builtin_assume_aligned): New function. | |
465 | * doc/extend.texi (__builtin_assume_aligned): Document. | |
466 | ||
dc2a58da JJ |
467 | PR debug/49544 |
468 | * cselib.c (promote_debug_loc): If cselib_preserve_constants | |
469 | and l has two DEBUG_INSN owned locs instead of just one, adjust | |
470 | the second location's setting_insn too. | |
471 | ||
0d72f628 RO |
472 | 2011-06-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
473 | ||
474 | PR libmudflap/38738 | |
475 | * config/sol2.h [!USE_GLD] (MFLIB_SPEC): Define. | |
476 | ||
bebd619e NC |
477 | 2011-06-27 Nick Clifton <nickc@redhat.com> |
478 | ||
479 | * config/mn10300/mn10300.md (clzsi2): Use XOR after BSCH to | |
480 | convert bit position of highest bit set into a count of the high | |
481 | zero bits. | |
482 | ||
353b39fa EB |
483 | 2011-06-27 Eric Botcazou <ebotcazou@adacore.com> |
484 | ||
485 | * dwarf2out.c (TYPE_DECL_IS_STUB): Extend mechanism to all types. | |
486 | ||
a7af037b EB |
487 | 2011-06-27 Eric Botcazou <ebotcazou@adacore.com> |
488 | ||
489 | PR lto/48492 | |
490 | * dwarf2out.c (dwarf2out_finish): Do not attach a DIE on the limbo list | |
491 | to a NULL parent. | |
492 | ||
1c86160a RG |
493 | 2011-06-27 Richard Guenther <rguenther@suse.de> |
494 | ||
495 | PR tree-optimization/49394 | |
496 | * passes.c (execute_one_pass): Restore current_pass after | |
497 | applying IPA transforms. | |
498 | ||
5da49a9d KT |
499 | 2011-06-27 Kai Tietz <ktietz@redhat.com> |
500 | ||
501 | * tree-ssa-math-opts.c (do_shift_rotate): Zero bits | |
502 | out of type precision after operation. | |
503 | (find_bswap): Take for limit value the integer auto- | |
504 | promotion into account. | |
505 | ||
9242213f EB |
506 | 2011-06-27 Eric Botcazou <ebotcazou@adacore.com> |
507 | ||
508 | * reorg.c (fill_simple_delay_slots): Use stop_search_p to stop the | |
509 | forward scan as well. | |
510 | ||
db8b22ef TG |
511 | 2011-06-27 Tristan Gingold <gingold@adacore.com> |
512 | ||
513 | PR target/44241 | |
514 | * config/vms/vms-protos.h: New file. | |
515 | * config/vms/vms-crtlmap.map: New file. | |
516 | * config/vms/vms.c: New file. | |
517 | * config/vms/make-crtlmap.awk: New file. | |
518 | * config/vms/vms-crtl.h: File removed. | |
519 | * config/vms/vms-crtl-64.h: File removed. | |
520 | * config/vms/t-vms (vms-crtlmap.h, vms.o): New targets. | |
521 | * config/alpha/vms64.h: Do not include vms-crtl-64.h | |
522 | * config/alpha/alpha.c (alpha_init_builtins): Remove code to | |
523 | clear some builtins on VMS. Calls vms_patch_builtins. | |
524 | (avms_asm_output_external): Remove. | |
525 | * config/alpha/vms.h (ASM_OUTPUT_EXTERNAL): Remove. | |
526 | (struct crtl_name_spec): Remove | |
527 | (DO_CTRL_NAMES): Remove. | |
528 | * config/ia64/vms.h (struct crtl_name_spec): Remove | |
529 | (DO_CTRL_NAMES): Remove. | |
530 | * config/ia64/ia64.c (alpha_init_builtins): Remove code to | |
531 | clear some builtins on VMS. Calls vms_patch_builtins. | |
532 | (ia64_asm_output_external): Remove DO_CRTL_NAME. | |
533 | * config/ia64/vms64.h: Do not include vms-crtl-64.h | |
534 | * config.gcc (*-*-*vms*): Define extra_objs, target_gtfiles, | |
535 | tm_p_file. | |
536 | ||
b213221d TG |
537 | 2011-06-27 Tristan Gingold <gingold@adacore.com> |
538 | ||
539 | * config/alpha/alpha.c (alpha_end_function): Always generate .end | |
540 | directive on VMS. | |
541 | ||
157b9300 EB |
542 | 2011-06-27 Eric Botcazou <ebotcazou@adacore.com> |
543 | ||
544 | * config/sparc/sparc.c (sparc_frame_pointer_required): Return true if | |
545 | the function receives nonlocal gotos. | |
546 | ||
ccbf5bb4 RG |
547 | 2011-06-27 Richard Guenther <rguenther@suse.de> |
548 | ||
549 | PR tree-optimization/49536 | |
550 | * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): | |
551 | For non-scalar inner types use a scalar type according to | |
552 | the scalar inner mode. | |
553 | ||
fe4cd14b RG |
554 | 2011-06-27 Richard Guenther <rguenther@suse.de> |
555 | ||
556 | PR tree-optimization/49365 | |
557 | * params.def (min-insn-to-prefetch-ratio): Reduce from 10 to 9. | |
558 | ||
afc3f22f RS |
559 | 2011-06-27 Richard Guenther <rguenther@suse.de> |
560 | ||
561 | PR tree-optimization/49169 | |
562 | * fold-const.c (get_pointer_modulus_and_residue): Don't rely on | |
563 | the alignment of function decls. | |
564 | ||
92590751 | 565 | 2011-06-26 Iain Sandoe <iains@gcc.gnu.org> |
a45a766b IS |
566 | |
567 | PR target/47997 | |
568 | * config/darwin.c (darwin_mergeable_string_section): Place string | |
569 | constants in '.cstring' rather than '.const' when CF/NSStrings are | |
570 | active. | |
571 | ||
605354f3 EB |
572 | 2011-06-26 Eric Botcazou <ebotcazou@adacore.com> |
573 | ||
574 | * config/sparc/sparc.c (save_local_or_in_reg_p): Adjust comment. | |
575 | (emit_save_register_window): Likewise. | |
576 | (sparc_expand_prologue): Use SIZE_INT_RTX and SIZE_RTX variables. | |
577 | (sparc_flat_expand_prologue): Add comment. Always emit blockage. | |
578 | Swap back %o7/%i7 in register naming. | |
579 | ||
0e9197f5 IS |
580 | 2011-06-25 Iain Sandoe <iains@gcc.gnu.org> |
581 | ||
582 | PR driver/49371 | |
583 | * config/darwin.c (darwin_override_options): Improve warning when | |
584 | mdynamic-no-pic is given together with fPIC/fpic, also warn when it | |
585 | is given with fpie/fPIE. | |
586 | * config/darwin.h (PIE_SPEC): New, (LINK_SPEC): Use PIE_SPEC. | |
587 | * config/darwin9.h (PIE_SPEC): New. | |
53461199 | 588 | |
605354f3 | 589 | 2011-06-25 Basile Starynkevitch <basile@starynkevitch.net> |
53461199 BS |
590 | |
591 | * timevar.c (timevar_print): Increase width for display of timevar | |
592 | name. | |
593 | ||
f796c438 JJ |
594 | 2011-06-24 Jakub Jelinek <jakub@redhat.com> |
595 | ||
596 | PR c++/46400 | |
597 | * c-decl.c (union lang_tree_node): Use TYPE_NEXT_VARIANT | |
598 | instead of TYPE_CHAIN for chain_next for types. | |
599 | ||
a7289eaf RH |
600 | 2011-06-24 Richard Henderson <rth@redhat.com> |
601 | ||
602 | * config/sparc/sparc.md (create_flat_frame_1<P:mode>): Remove. | |
603 | (create_flat_frame_2<P:mode>, create_flat_frame_3<P:mode>): Remove. | |
604 | * config/sparc/sparc.c (gen_create_flat_frame_1): Remove. | |
605 | (gen_create_flat_frame_2, gen_create_flat_frame_3): Remove. | |
606 | (sparc_flat_expand_prologue): Emit individual instructions | |
607 | instead of one of the above. | |
608 | ||
c4b9a87e ER |
609 | 2011-06-24 Easwaran Raman <eraman@google.com> |
610 | ||
611 | PR rtl-optimization/49429 | |
612 | PR target/49454 | |
613 | * expr.c (emit_block_move_hints): Mark MEM_EXPR(x) and | |
614 | MEM_EXPR(y) addressable if emit_block_move_via_libcall is | |
615 | used to copy y into x. | |
616 | * calls.c (initialize_argument_information): Mark | |
617 | an argument addressable if it is passed by invisible reference. | |
618 | (emit_library_call_value_1): Mark MEM_EXPR (val) addressable | |
619 | if it is passed by reference. | |
620 | ||
5ac6c59e L |
621 | 2011-06-24 H.J. Lu <hongjiu.lu@intel.com> |
622 | ||
623 | PR rtl-optimization/49504 | |
624 | * rtlanal.c (nonzero_bits1): Properly handle addition or | |
1f134bd6 L |
625 | subtraction of a pointer in Pmode if pointers extend unsigned. |
626 | (num_sign_bit_copies1): Likewise. | |
5ac6c59e | 627 | |
b807e627 MJ |
628 | 2011-06-24 Martin Jambor <mjambor@suse.cz> |
629 | ||
630 | PR tree-optimizations/49516 | |
631 | * tree-sra.c (sra_modify_assign): Choose the safe path for | |
632 | aggregate copies if we also did scalar replacements. | |
633 | ||
9a1ea4b9 RR |
634 | 2011-06-24 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
635 | ||
636 | PR target/49335 | |
637 | * config/arm/predicates.md (add_operator): New. | |
638 | * config/arm/arm.md ("*arith_shiftsi"): Fix for SP reg usage | |
639 | in Thumb2. | |
640 | ||
949cfd0a AK |
641 | 2011-06-24 Andi Kleen <ak@linux.intel.com> |
642 | ||
643 | * tree-sra.c (type_internals_preclude_sra_p): Add msg | |
644 | parameter. Split up ifs and report reason in *msg. | |
645 | (reject): Add. | |
646 | (find_var_candiate): Add msg variable. | |
647 | Split up ifs and report reason to reject. | |
648 | (find_param_candidates): Add msg variable. | |
649 | Pass msg to type_internals_preclude_sra_p. | |
650 | ||
49e9c661 | 651 | 2011-06-23 Jeff Law <law@redhat.com> |
ad3577df | 652 | |
b0c11403 JL |
653 | PR middle-end/48770 |
654 | * reload.h (reload): Change to return a bool. | |
655 | * ira.c (ira): If requested by reload, run a fast DCE pass after | |
656 | reload has completed. Fix comment typo. | |
657 | * reload1.c (need_dce): New file scoped static. | |
658 | (reload): Set reload_completed here. Return whether or not a DCE | |
659 | pass after reload is needed. | |
660 | (delete_dead_insn): Set need_dce as needed. | |
661 | ||
ad3577df JL |
662 | PR middle-end/49465 |
663 | * tree-ssa-threadupate.c (fix_duplicate_block_edges): Fix condition | |
664 | to detect threading through joiner block. If there was already | |
665 | an edge to the new target, then do not change the PHI nodes. | |
666 | ||
7cf64710 JJ |
667 | 2011-06-23 Jakub Jelinek <jakub@redhat.com> |
668 | ||
669 | * tree-vect-data-refs.c (vect_compute_data_ref_alignment): Use | |
670 | get_pointer_alignment to see if base isn't sufficiently aligned. | |
671 | ||
febb1302 JH |
672 | 2011-06-23 Jan Hubicka <jh@suse.cz> |
673 | ||
674 | PR tree-optimize/49373 | |
675 | * tree-pass.h (all_late_ipa_passes): Declare. | |
676 | * cgraphunit.c (init_lowered_empty_function): Fix properties. | |
4a9206ce EB |
677 | (cgraph_optimize): Execute late passes; remove unreachable funcions |
678 | after materialization. | |
679 | * ipa-inline.c (gate_ipa_inline): Enable only when optimizing or | |
680 | LTOing. | |
febb1302 JH |
681 | * passes.c (all_late_ipa_passes): Declare. |
682 | (dump_passes, register_pass): Handle late ipa passes. | |
4a9206ce EB |
683 | (init_optimization_passes): Move ipa_pta to late passes; schedule |
684 | fixup_cfg at beggining of all_passes. | |
febb1302 JH |
685 | (apply_ipa_transforms): New function. |
686 | (execute_one_pass): When doing simple ipa pass, apply all transforms. | |
687 | ||
4c77620d JM |
688 | 2011-06-23 Joseph Myers <joseph@codesourcery.com> |
689 | ||
690 | * params.c: Include common/common-target.h. Don't include tm.h. | |
691 | (lang_independent_params): Move from toplev.c. | |
692 | (global_init_params): New. | |
693 | * params.h (global_init_params): Declare. | |
694 | * target.def (default_params): Move to common-target.def. | |
695 | * toplev.c (lang_independent_options): Remove. | |
696 | (lang_independent_params): Move to params.c. | |
697 | (general_init): Use global_init_params. | |
698 | * common/common-target.def (option_default_params): Move from | |
699 | target.def. | |
700 | * common/config/ia64/ia64-common.c: Include params.h. | |
701 | (ia64_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): Move | |
702 | from ia64.c. | |
703 | * common/config/rs6000/rs6000-common.c: Include params.h. | |
704 | (rs6000_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): Move | |
705 | from rs6000.c. | |
706 | * common/config/sh/sh-common.c: Include params.h. | |
707 | (sh_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): Move | |
708 | from sh.c. | |
709 | * common/config/spu/spu-common.c: Include params.h. | |
710 | (spu_option_default_params, TARGET_OPTION_DEFAULT_PARAMS): Move | |
711 | from spu.c. | |
712 | * config/ia64/ia64.c (ia64_option_default_params, | |
713 | TARGET_OPTION_DEFAULT_PARAMS): Move to ia64-common.c. | |
714 | * config/rs6000/rs6000.c (rs6000_option_default_params, | |
715 | TARGET_OPTION_DEFAULT_PARAMS): Move to rs6000-common.c. | |
716 | * config/sh/sh.c (sh_option_default_params, | |
717 | TARGET_OPTION_DEFAULT_PARAMS): Move to sh-common.c. | |
718 | * config/spu/spu.c (spu_option_default_params, | |
719 | TARGET_OPTION_DEFAULT_PARAMS): Move to spu-common.c. | |
720 | * Makefile.in (OBJS): Remove params.o. | |
721 | (OBJS-libcommon-target): Add params.o. | |
722 | (params.o, $(common_out_object_file)): Update dependencies. | |
723 | * doc/tm.texi: Regenerate. | |
724 | ||
6aad1e38 AM |
725 | 2011-06-23 Alan Modra <amodra@gmail.com> |
726 | ||
727 | PR bootstrap/49383 | |
728 | * config/rs6000/rs6000.c (call_ABI_of_interest): Adjust cgraph | |
729 | invocation for 2011-06-09 changes. | |
730 | ||
4fb489e7 JJ |
731 | 2011-06-22 Jakub Jelinek <jakub@redhat.com> |
732 | ||
fb79f500 JJ |
733 | PR libgomp/49490 |
734 | * omp-low.c (expand_omp_for_static_nochunk): Only | |
735 | use n ceil/ nthreads size for the first | |
736 | n % nthreads threads in the team instead of | |
737 | all threads except for the last few ones which | |
738 | get less work or none at all. | |
739 | ||
4fb489e7 JJ |
740 | PR debug/49496 |
741 | * tree-vect-patterns.c (vect_recog_widen_mult_pattern): Ignore debug | |
742 | uses. | |
743 | ||
9c7c9f10 RG |
744 | 2011-06-22 Richard Guenther <rguenther@suse.de> |
745 | ||
746 | PR tree-optimization/49493 | |
747 | * tree-ssa-structalias.c (get_constraint_for_ssa_var): | |
748 | Refer to the alias target of variables. | |
749 | (associate_varinfo_to_alias_1): Remove. | |
750 | (ipa_pta_execute): Do not associate aliases with anything. | |
751 | * cgraph.h (varpool_alias_aliased_node): Fix cut&paste errors. | |
752 | (cgraph_function_node): Likewise. | |
753 | (cgraph_function_or_thunk_node): Likewise. | |
754 | (varpool_variable_node): Likewise. | |
755 | ||
7cf13d1f NS |
756 | 2011-06-22 Nathan Sidwell <nathan@codesourcery.com> |
757 | ||
758 | * config/arm/arm.h (OPTION_DEFAULT_SPECS): Fix -mtls-dialect | |
759 | typo. | |
760 | * config.gcc (arm*-*-linux*): Default to gnu tls. | |
761 | (arm*-*-*): Add --with-tls option. | |
762 | (all_defaults): Add 'tls'. | |
763 | ||
78a8eb4e RH |
764 | 2011-06-22 Richard Henderson <rth@redhat.com> |
765 | ||
766 | * reg-notes.def (REG_CFA_WINDOW_SAVE): New. | |
767 | * dwarf2out.c (dwarf2out_frame_debug): Handle it. | |
768 | (dwarf2out_frame_debug_cfa_window_save): Rename from | |
769 | dwarf2out_window_save; make static. | |
770 | * tree.h (dwarf2out_window_save): Don't declare. | |
771 | ||
772 | * config/sparc/sparc.c (sparc_dwarf_handle_frame_unspec): Remove. | |
773 | (TARGET_DWARF_HANDLE_FRAME_UNSPEC): Remove. | |
774 | (emit_save_register_window): Rename from gen_save_register_window; | |
775 | emit the insn and add REG_CFA_* notes. | |
776 | (sparc_expand_prologue): Update to match. | |
777 | * config/sparc/sparc.md (save_register_window_1): Simplify from | |
778 | save_register_window<P:mode>. | |
779 | ||
3b4c46d7 L |
780 | 2011-06-22 H.J. Lu <hongjiu.lu@intel.com> |
781 | ||
782 | PR target/49497 | |
783 | * config/i386/i386.md (*lea_general_2): Always allow SImode. | |
784 | (*lea_general_2_zext): Likewise. | |
785 | (imul to lea peepholes): Use const359_operand and check | |
786 | TARGET_PARTIAL_REG_STALL. | |
787 | ||
788 | * config/i386/predicates.md (const359_operand): New. | |
789 | ||
4399cf59 MM |
790 | 2011-06-22 Michael Matz <matz@suse.de> |
791 | ||
792 | * cgraphunit.c (assemble_thunk): Use correct return type. | |
793 | ||
31a0c825 DP |
794 | 2011-06-22 Dmitry Plotnikov <dplotnikov@ispras.ru> |
795 | Dmitry Melnik <dm@ispras.ru> | |
796 | ||
797 | * config/arm/arm.c (neon_immediate_valid_for_shift): New function. | |
798 | (neon_output_shift_immediate): Ditto. | |
799 | * config/arm/arm-protos.h (neon_immediate_valid_for_shift): New | |
800 | prototype. | |
801 | (neon_output_shift_immediate): Ditto. | |
802 | * config/arm/neon.md (vashl<mode>3): Modified constraint. | |
803 | (vashr<mode>3_imm): New insn pattern. | |
804 | (vlshr<mode>3_imm): Ditto. | |
805 | (vashr<mode>3): Modified constraint. | |
806 | (vlshr<mode>3): Ditto. | |
807 | * config/arm/predicates.md (imm_for_neon_lshift_operand): New | |
808 | predicate. | |
809 | (imm_for_neon_rshift_operand): Ditto. | |
810 | (imm_lshift_or_reg_neon): Ditto. | |
811 | (imm_rshift_or_reg_neon): Ditto. | |
812 | ||
813 | * optabs.c (init_optabs): Init optab codes for vashl, vashr, vlshr. | |
814 | ||
ddb555ed JJ |
815 | 2011-06-22 Jakub Jelinek <jakub@redhat.com> |
816 | ||
36dc1a88 JJ |
817 | * tree-ssa-ccp.c (evaluate_stmt): Try bitwise tracking for |
818 | builtin calls even if likelyvalue is not CONSTANT. | |
819 | Handle BUILT_IN_STRDUP and BUILT_IN_STRNDUP like BUILT_IN_MALLOC. | |
820 | Return get_value_for_expr of first operand | |
821 | for BUILT_IN_{MEM{CPY,MOVE,SET},STR{,N}CPY}{,_CHK}. | |
822 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle | |
823 | BUILT_IN_{MEM{{,P}CPY,MOVE,SET},STR{,N}C{PY,AT},STPCPY}_CHK like | |
824 | their non-checking counterparts. | |
825 | (call_may_clobber_ref_p_1): Likewise. | |
826 | (stmt_kills_ref_p_1): Handle BUILT_IN_MEM{{,P}CPY,MOVE,SET}_CHK | |
827 | like their non-checking counterparts. | |
828 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
829 | Handle BUILT_IN_{MEM{{,P}CPY,MOVE,SET},STR{,N}C{PY,AT},STPCPY}_CHK | |
830 | like their non-checking counterparts. | |
831 | (find_func_clobbers): Likewise. | |
832 | * tree-ssa-dce.c (propagate_necessity): Handle BUILT_IN_MEMSET_CHK | |
833 | like BUILT_IN_MEMSET and BUILT_IN_CALLOC like BUILT_IN_MALLOC. | |
834 | ||
41cd4957 JJ |
835 | * dwarf2out.c (size_of_loc_descr, output_loc_operands, |
836 | mark_base_types, hash_loc_operands, compare_loc_operands): Allow | |
837 | DW_OP_GNU_convert and DW_OP_GNU_reinterpret to use constant instead | |
838 | of base type reference as argument. | |
839 | (resolve_addr_in_expr): Likewise. Fix keep computation. | |
840 | (convert_descriptor_to_signed): Renamed to... | |
841 | (convert_descriptor_to_mode): ... this. For wider types convert | |
842 | to unsigned instead of signed, for <= DWARF2_ADDR_SIZE convert to | |
843 | untyped. | |
844 | (typed_binop): New function. | |
845 | (scompare_loc_descriptor, ucompare_loc_descriptor, | |
846 | minmax_loc_descriptor, mem_loc_descriptor): For wider integer modes | |
847 | default to unsigned type instead of signed. | |
848 | ||
ddb555ed JJ |
849 | PR debug/47858 |
850 | * gimple.h (enum gimple_debug_subcode): Add GIMPLE_DEBUG_SOURCE_BIND. | |
851 | (gimple_build_debug_source_bind_stat): New prototype. | |
852 | (gimple_build_debug_source_bind): Define. | |
853 | (gimple_debug_source_bind_p, gimple_debug_source_bind_get_var, | |
854 | gimple_debug_source_bind_get_value, | |
855 | gimple_debug_source_bind_get_value_ptr, | |
856 | gimple_debug_source_bind_set_var, | |
857 | gimple_debug_source_bind_set_value): New inlines. | |
858 | * gimple.c (gimple_build_debug_source_bind_stat): New function. | |
859 | * gimple-pretty-print.c (dump_gimple_debug): Handle | |
860 | GIMPLE_DEBUG_SOURCE_BIND. | |
861 | * sese.c (rename_uses): Handle gimple_debug_source_bind_p. | |
862 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise. | |
863 | * tree-parloops.c (eliminate_local_variables, | |
864 | separate_decls_in_region): Likewise. | |
865 | (separate_decls_in_region_debug): Renamed from | |
866 | separate_decls_in_region_debug_bind. Handle | |
867 | gimple_debug_source_bind_p. | |
868 | * tree.h (decl_debug_args_lookup, decl_debug_args_insert): New | |
869 | prototypes. | |
870 | (DECL_HAS_DEBUG_ARGS_P): Define. | |
871 | (struct tree_function_decl): Add has_debug_args_flag field. | |
872 | * tree.c (debug_args_for_decl): New variable. | |
873 | (decl_debug_args_lookup, decl_debug_args_insert): New functions. | |
874 | * tree-into-ssa.c (mark_def_sites): Handle uses in debug stmts. | |
875 | (rewrite_debug_stmt_uses): New function. | |
876 | (rewrite_stmt): Use it to rewrite debug stmt uses. | |
877 | * rtl.def (DEBUG_PARAMETER_REF): New. | |
878 | * rtl.h (DEBUG_PARAMETER_REF_DECL): Define. | |
879 | * cselib.c (rtx_equal_for_cselib_1, cselib_hash_rtx): Handle | |
880 | DEBUG_PARAMETER_REF. | |
881 | * rtl.c (rtx_equal_p_cb, rtx_equal_p, iterative_hash_rtx): Likewise. | |
882 | * print-rtl.c (print_rtx): Likewise. | |
883 | * tree-sra.c (sra_ipa_reset_debug_stmts): Prefer replacing of | |
884 | SSA_NAMEs with DEBUG_EXPR_DECLs initialized in source bind | |
885 | debug stmts in the first bb. | |
886 | * tree-inline.c (remap_ssa_name): If remapping default def | |
887 | of a PARM_DECL fails, map to a DEBUG_EXPR_DECL set in | |
888 | a source bind debug stmt. | |
889 | (remap_gimple_stmt): Handle gimple_debug_source_bind_p. | |
890 | (maybe_move_debug_stmts_to_successors): Likewise. | |
891 | (copy_debug_stmt): Likewise. Avoid shadowing a variable. | |
892 | (tree_function_versioning): If DECL_HAS_DEBUG_ARGS_P, copy | |
893 | debug args vector from old_decl to new_decl. | |
894 | * ipa-prop.c (ipa_modify_call_arguments): For optimized away | |
895 | or modified parameters, add debug bind stmts before call | |
896 | setting DEBUG_EXPR_DECL which is remembered in debug args | |
897 | vector. | |
898 | * cfgexpand.c (expand_call_stmt): Call expand_debug_expr | |
899 | on DECL_DEBUG_EXPRs from debug args vector. | |
900 | (expand_debug_source_expr): New function. | |
901 | (expand_debug_locations): Use it for source bind insns. | |
902 | (expand_gimple_basic_block): Handle gimple_debug_source_bind_p. | |
903 | * var-tracking.c (prepare_call_arguments): Add debug args | |
904 | to call_arguments if any. | |
905 | * dwarf2out.c (dwarf_stack_op_name, size_of_loc_descr, | |
906 | output_loc_operands, output_loc_operands_raw, | |
907 | resolve_addr_in_expr, compare_loc_operands): Handle | |
908 | DW_OP_GNU_parameter_ref. | |
909 | (get_ref_die_offset, parameter_ref_descriptor): New functions. | |
910 | (mem_loc_descriptor): Handle DEBUG_PARAMETER_REF. | |
911 | (gen_subprogram_die): Handle parameters identified by | |
912 | DEBUG_PARAMETER_REF. | |
913 | ||
ccdc2164 NS |
914 | 2011-06-22 Nathan Sidwell <nathan@codesourcery.com> |
915 | ||
916 | * doc/invoke.texi (ARM Options): Document -mtls-dialect option. | |
917 | * doc/install.texi (Configuration): Document --with-tls. | |
ccdc2164 NS |
918 | * config/arm/arm.c (enum tls_reloc): Add TLS_DESCSEQ. |
919 | (arm_call_tls_get_addr): Clean up. Assert not tls descriptor. | |
920 | (arm_tls_descseq_addr): New. | |
921 | (legitimize_tls_address): Add tlsdesc support. | |
922 | (arm_cannot_copy_insn_p): Check for tlscall. | |
923 | (arm_emit_tls_decoration): Likewise. | |
924 | * config/arm/arm.h (TARGET_GNU2_TLS): New. | |
925 | (OPTION_DEFAULT_SPECS): Add with-tls support. | |
926 | * config/arm/arm.md (R1_REGNUM): Define. | |
927 | (tlscall): New. | |
928 | * config/arm/arm.opt (tls_type): New enumeration type and values. | |
929 | (mtls-dialect): New switch. | |
930 | * config/arm/arm-opts.h (enum tls_type): New. | |
931 | ||
70e41a6a NP |
932 | 2011-06-21 Nicola Pero <nicola.pero@meta-innovation.com> |
933 | ||
934 | * attribs.c (register_attribute): Added assert to check that all | |
935 | attribute specs are registered with a name that is not empty and | |
936 | does not start with '_'. | |
937 | (decl_attributes): Avoid the lookup of the "naked" attribute spec | |
938 | if the function has no attributes. | |
939 | * tree.c (is_attribute_with_length_p): Removed. | |
940 | (is_attribute_p): Removed. | |
941 | (private_is_attribute_p): New. | |
942 | (private_lookup_attribute): New. | |
943 | (lookup_attribute): Removed. | |
944 | (lookup_ident_attribute): New. | |
945 | (remove_attribute): Require the first argument to be in the form | |
946 | 'text', not '__text__'. Updated asserts. | |
947 | (merge_attributes): Use lookup_ident_attributes instead of | |
948 | lookup_attribute. | |
949 | (merge_dllimport_decl_attributes): Use remove_attribute. | |
950 | (attribute_list_contained): Likewise. | |
951 | (attribute_list_equal): Immediately return 1 if the arguments are | |
952 | identical pointers. | |
953 | * tree.h (is_attribute_p): Made inline. Return a 'bool', not an | |
954 | 'int'. Require the first argument to be in the form 'text', not | |
955 | '__text__'. Require the second argument to be an identifier. | |
956 | (lookup_attribute): Made inline. Require the first argument to be | |
957 | in the form 'text', not '__text__'. | |
958 | (private_is_attribute_p, private_lookup_attribute): New. | |
959 | Updated comments. | |
960 | ||
e0a8ecf2 AM |
961 | 2011-06-21 Andrew MacLeod <amacleod@redhat.com> |
962 | ||
963 | * builtins.c: Add sync_ or SYNC__ to builtin names. | |
964 | * sync-builtins.def: Add sync_ or SYNC__ to builtin names. | |
965 | * omp-low.c: Add sync_ or SYNC__ to builtin names. | |
966 | ||
663827d3 | 967 | 2011-06-21 Georg-Johann Lay <avr@gjlay.de> |
637c11bd | 968 | |
663827d3 GJL |
969 | PR target/33049 |
970 | * config/avr/avr.md (extzv): New expander. | |
971 | (*extzv): New insn. | |
972 | (*extzv.qihi1, *extzv.qihi2): New insn-and-split. | |
973 | * config/avr/constraints.md (C04): New constraint. | |
974 | * doc/md.texi (Machine Constraints): Document it. | |
975 | ||
146aef0b JJ |
976 | 2011-06-21 Jakub Jelinek <jakub@redhat.com> |
977 | ||
978 | PR middle-end/49489 | |
979 | * builtins.c (expand_builtin_unop): Call expand_unop with 0 as | |
980 | unsignedp argument instead of 1 for clrsb_optab. | |
981 | (fold_builtin_bitop): Fix masking for width > HOST_BITS_PER_WIDE_INT | |
982 | and < 2 * HOST_BITS_PER_WIDE_INT. Optimize BUILT_IN_CLRSB*. | |
983 | (fold_builtin_1): Call fold_builtin_binop for BUILT_IN_CLRSB*. | |
984 | * optabs.c (widen_leading): Call widen_operand and expand_unop | |
985 | with 0 as unsignedp argument instead of 1 for clrsb_optab. | |
637c11bd | 986 | (expand_unop): Subtract difference of mode sizes also for clrsb_optab. |
146aef0b | 987 | |
c0503294 GJL |
988 | 2011-06-21 Georg-Johann Lay <avr@gjlay.de> |
989 | ||
990 | * config/avr/avr.md (*jcindirect_jump): Fix build warning. | |
991 | ||
3801c801 BS |
992 | 2011-06-21 Bernd Schmidt <bernds@codesourcery.com> |
993 | ||
0bddee8e BS |
994 | * gensupport.c (add_define_attr): New static function. |
995 | (is_predicable): Allow multi-alternative lists for the "predicable" | |
996 | attribute. | |
997 | (modify_attr_enabled_ce, alter_attrs_for_insn): New static functions. | |
998 | (process_one_cond_exec): Call alter_attrs_for_insn. | |
999 | * doc/md.texi (Defining Attributes): Mention some standard names. | |
1000 | (Conditional Execution): Update documentation for "predicable". | |
1001 | ||
3801c801 BS |
1002 | * doc/extend.texi (__builtin_clrsb, __builtin_clrsbl, |
1003 | __builtin_clrsbll): Document. | |
1004 | * doc/rtl.texi (clrsb): New entry. | |
1005 | * optabs.c (widen_leading): Renamed from widen_clz. New argument | |
1006 | UNOPTAB. All callers changed. Use UNOPTAB instead of clz_optab. | |
1007 | (expand_unop): Handle clrsb_optab. | |
1008 | (init_optabs): Initialize it. | |
1009 | * optabs.h (enum optab_index): New entry OTI_clrsb. | |
1010 | (clrsb_optab): Define. | |
1011 | * genopinit.c (optabs): Add an entry for it. | |
1012 | * builtins.c (expand_builtin): Handle clrsb builtin functions. | |
1013 | * builtins.def (BUILT_IN_CLRSB, BUILT_IN_CLRSBIMAX, BUILT_IN_CLRSBL, | |
1014 | BUILT_IN_CLRSBLL): New. | |
1015 | * rtl.def (CLRSB): New code. | |
1016 | * dwarf2out.c (mem_loc_descriptor): Handle it. | |
1017 | * simplify-rtx.c (simplify_const_unary_operation): Likewise. | |
1018 | Use op_mode rather than mode when optimizing ffs, clz, ctz, parity | |
1019 | and popcount. | |
1020 | * libgcc2.c (__clrsbSI2, __clrsbDI2): New functions. | |
1021 | * libgcc2.h (__clrsbSI2, __clrsbDI2): Define and declare. | |
1022 | (__ctzDI2): Move declaration. | |
1023 | * config/bfin/bfin.md (clrsbsi2): New expander. | |
1024 | (signbitssi2): Use the CLRSB rtx. | |
1025 | (clrsbhi2): Renamed from signbitshi2. Use the CLRSB rtx. | |
1026 | * config/bfin/bfin.c (bdesc_1arg): Changed accordingly. | |
1027 | ||
55f01229 RG |
1028 | 2011-06-21 Richard Guenther <rguenther@suse.de> |
1029 | ||
637c11bd | 1030 | * ipa-inline-transform.c (inline_transform): Fix previous change. |
55f01229 | 1031 | |
5181cd6a IR |
1032 | 2011-06-21 Ira Rosen <ira.rosen@linaro.org> |
1033 | ||
1034 | PR tree-optimization/49478 | |
1035 | * tree-vect-loop.c (vectorizable_reduction): Handle DOT_PROD_EXPR | |
1036 | with constant operand. | |
1037 | ||
e4ee3d70 RG |
1038 | 2011-06-21 Richard Guenther <rguenther@suse.de> |
1039 | ||
1040 | * ipa-inline-transform.c (inline_transform): Fix typo. | |
637c11bd | 1041 | |
7b7ec6c5 RG |
1042 | 2011-06-21 Richard Guenther <rguenther@suse.de> |
1043 | ||
1044 | PR tree-optimization/49483 | |
1045 | * tree-vect-stmts.c (vectorizable_assignment): Also handle | |
1046 | VIEW_CONVERT_EXPR conversions. | |
1047 | ||
1b916ca6 JM |
1048 | 2011-06-21 Joseph Myers <joseph@codesourcery.com> |
1049 | ||
1050 | * config/avr/avr-mcus.def, config/avr/genopt.sh: New files. | |
1051 | * config/avr/avr-tables.opt: New file (generated). | |
1052 | * config.gcc (avr-*-*): Use avr/avr-tables.opt. | |
1053 | * config/avr/avr-devices.c (avr_mcu_types): Move contents to | |
1054 | avr-mcus.def. | |
1055 | * config/avr/avr.c (avr_help, TARGET_HELP): Remove. | |
1056 | (avr_option_override): Don't process -mmcu= argument here. Set | |
1057 | avr_current_device using avr_mcu_index. | |
637c11bd | 1058 | (avr_file_start): Use avr_current_device->name instead of avr_mcu_name. |
1b916ca6 JM |
1059 | * config/avr/avr.opt (mmcu=): Use Enum. |
1060 | * config/avr/t-avr (avr-devices.o): Update dependencies. | |
1061 | ($(srcdir)/config/avr/avr-tables.opt): New. | |
1062 | * target.def (help): Remove. | |
1063 | * doc/tm.texi.in (TARGET_HELP): Remove. | |
1064 | * doc/tm.texi: Regenerate. | |
1065 | * opts.c: Don't include target.h. | |
1066 | (common_handle_option): Don't call targetm.help. | |
1067 | * system.h (TARGET_HELP): Poison. | |
1068 | * Makefile.in (opts.o): Update dependencies. | |
1069 | ||
7ecfa34f RO |
1070 | 2011-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1071 | ||
1072 | * config/usegld.h: New file. | |
1073 | * config/sol2.h (PREFERRED_DEBUGGING_TYPE): Remove. | |
1074 | (CPP_SUBTARGET_SPEC): Remove -compat-bsd support. | |
637c11bd | 1075 | (LIB_SPEC): Likewise. Search /lib. |
7ecfa34f RO |
1076 | (LINK_ARCH32_SPEC_BASE): Remove -compat-bsd support. |
1077 | (RDYNAMIC_SPEC): Handle GNU ld. | |
637c11bd UB |
1078 | [HAVE_LD_EH_FRAME_HDR && TARGET_DL_ITERATE_PHDR] (LINK_EH_SPEC): |
1079 | Define. | |
7ecfa34f RO |
1080 | (SUPPORTS_INIT_PRIORITY): Only disable for Sun ld. |
1081 | (SUBTARGET_INSERT_ATTRIBUTES, SUBTARGET_ATTRIBUTE_TABLE): Define. | |
1082 | [!USE_GAS] (NO_DBX_BNSYM_ENSYM): Redefine. | |
1083 | (STACK_CHECK_STATIC_BUILTIN): Define. | |
1084 | * config/sol2.opt (compat-bsd): Remove. | |
1085 | * config/sol2-10.h (TARGET_C99_FUNCTIONS): Remove undef. | |
1086 | * config/sol2-bi.h: New file. | |
1087 | * config/sol2-gld.h: Remove. | |
1088 | * config/i386/sol2.h (TLS_COMMON_ASM_OP): Only define if !USE_GAS. | |
1089 | (NO_DBX_BNSYM_ENSYM): Remove. | |
1090 | (SUBTARGET_INSERT_ATTRIBUTES, SUBTARGET_ATTRIBUTE_TABLE): Remove. | |
1091 | (STACK_CHECK_STATIC_BUILTIN): Remove. | |
1092 | Test USE_GLD instead of TARGET_GNU_LD. | |
1093 | * config/i386/sol2-10.h: Rename to ... | |
1094 | * config/i386/sol2-bi.h .. this. | |
1095 | (SUBTARGET_EXTRA_SPECS): Redefine. | |
1096 | (WCHAR_TYPE, WCHAR_TYPE_SIZE, WINT_TYPE, WINT_TYPE_SIZE): Remove. | |
1097 | (MULTILIB_DEFAULTS): Remove. | |
1098 | (DEFAULT_ARCH32_P): Define. | |
1099 | (LINK_ARCH64_SPEC_BASE, LINK_ARCH64_SPEC): Remove. | |
1100 | (ARCH64_SUBDIR): Define. | |
1101 | Test USE_GLD instead of TARGET_GNU_LD. | |
1102 | (I386_EMULATION): Rename to ... | |
1103 | (ARCH32_EMULATION): ... this. | |
1104 | (X86_64_EMULATION): Rename to ... | |
1105 | (ARCH64_EMULATION): ... this. | |
1106 | (TARGET_LD_EMULATION): Remove. | |
1107 | (LINK_ARCH_SPEC): Remove. | |
1108 | * config/i386/sol2-gas.h: Remove. | |
1109 | * config/i386/t-sol2-10: Rename to ... | |
1110 | * config/i386/t-sol2-64: ... this. | |
1111 | * config/sparc/sol2.h (SPARC_DEFAULT_CMODEL): Redefine. | |
1112 | (AS_SPARC64_FLAG): Define. | |
1113 | (ASM_CPU32_DEFAULT_SPEC, ASM_CPU64_DEFAULT_SPEC): Redefine. | |
1114 | (CPP_CPU64_DEFAULT_SPEC, ASM_CPU32_DEFAULT_SPEC): Redefine | |
1115 | depending on TARGET_CPU_DEFAULT. | |
1116 | (CPP_CPU_SPEC): Redefine. | |
1117 | (ASM_CPU_SPEC): Handle DEFAULT_ARCH32_P. | |
1118 | (CPP_CPU_DEFAULT_SPEC, ASM_CPU_DEFAULT_SPEC): Redefine. | |
1119 | (CPP_ARCH32_SPEC, CPP_ARCH64_SPEC, CPP_ARCH_SPEC): Redefine. | |
1120 | (ASM_ARCH_SPEC, ASM_ARCH32_SPEC, ASM_ARCH64_SPEC, | |
1121 | ASM_ARCH_DEFAULT_SPEC): Redefine. | |
1122 | (SUBTARGET_EXTRA_SPECS): Add LINK_ARCH32_SPEC, LINK_ARCH64_SPEC, | |
1123 | LINK_ARCH_DEFAULT_SPEC. | |
1124 | [USE_GLD] (ARCH32_EMULATION, ARCH64_EMULATION): Define. | |
1125 | [USE_GLD] (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC): Redefine. | |
1126 | (ARCH64_SUBDIR): Define. | |
1127 | (LINK_ARCH64_SPEC): Redefine. | |
1128 | (CC1_SPEC): Redefine. | |
1129 | (OPTION_DEFAULT_SPECS): Redefine. | |
1130 | (MULTILIB_DEFAULTS): Define. | |
1131 | (WCHAR_TYPE, WCHAR_TYPE_SIZE, WINT_TYPE, WINT_TYPE_SIZE): Redefine. | |
1132 | [USE_GAS && HAVE_AS_TLS] (TARGET_SUN_TLS, TARGET_GNU_TLS): Redefine. | |
1133 | [USE_GLD] (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Undef. | |
1134 | (NO_DBX_BNSYM_ENSYM): Remove. | |
1135 | (SUBTARGET_INSERT_ATTRIBUTES, SUBTARGET_ATTRIBUTE_TABLE): Remove. | |
1136 | (ASM_OUTPUT_ALIGN_WITH_NOP): Only define if !USE_GAS. | |
1137 | (TARGET_ASM_NAMED_SECTION): Likewise. | |
1138 | (STACK_CHECK_STATIC_BUILTIN): Remove. | |
1139 | * config/sparc/sol2-bi.h: Remove. | |
1140 | * config/sparc/sol2-gas-bi.h: Remove. | |
1141 | * config/sparc/sol2-gas.h: Remove. | |
1142 | * config/sparc/sol2-gld-bi.h: Remove. | |
1143 | * config.gcc (i[34567]86-*-solaris2*, sparc*-*-solaris2*): Move | |
1144 | common parts ... | |
1145 | (*-*-solaris2*): ... here. | |
1146 | ||
4b583c43 | 1147 | 2011-06-21 Christian Bruel <christian.bruel@st.com> |
637c11bd | 1148 | |
4b583c43 | 1149 | PR other/43564 |
637c11bd UB |
1150 | * ipa-inline.c (can_inline_edge_p): Check |
1151 | !DECL_DISREGARD_INLINE_LIMITS. | |
1152 | ||
3bb556ad | 1153 | 2011-06-21 Christian Bruel <christian.bruel@st.com> |
637c11bd | 1154 | |
3bb556ad CB |
1155 | PR middle-end/49139 |
1156 | * cgraphunit.c (process_function_and_variable_attributes): warn when | |
1157 | always_inline functions that are not inline. | |
637c11bd UB |
1158 | * ipa-inline-transform.c (inline_transform): Always call |
1159 | optimize_inline. | |
1160 | * tree-inline.c (tree_inlinable_function_p): Use error instead | |
1161 | of sorry. | |
3bb556ad | 1162 | (expand_call_inline): Likewise. |
637c11bd | 1163 | |
f1ee724c JJ |
1164 | 2011-06-21 Jakub Jelinek <jakub@redhat.com> |
1165 | ||
1166 | * Makefile.in (dg_target_exps): Set. | |
1167 | (check_gcc_parallelize): Parallelize gcc testing into 10 jobs | |
1168 | instead of 7, try to divide it more evenly. | |
1169 | ||
1170 | 2011-06-20 Changpeng Fang <changpeng.fang@amd.com> | |
97ef5ae6 | 1171 | |
931050d0 | 1172 | PR target/49089 |
97ef5ae6 CF |
1173 | * config/i386/i386.c (avx256_split_unaligned_load): New definition. |
1174 | (avx256_split_unaligned_store): New definition. | |
1175 | (ix86_option_override_internal): Enable avx256 unaligned load/store | |
1176 | splitting only when avx256_split_unaligned_load/store is set. | |
1177 | ||
998c75b6 BS |
1178 | 2011-06-20 Bernd Schmidt <bernds@codesourcery.com> |
1179 | ||
1180 | * regrename.c (scan_rtx_reg): Handle the case where we write to an | |
1181 | open chain in a smaller mode without failing the entire block. | |
1182 | ||
83a8cbda L |
1183 | 2011-06-20 H.J. Lu <hongjiu.lu@intel.com> |
1184 | ||
1185 | PR middle-end/47725 | |
1186 | * combine.c (cant_combine_insn_p): Don't check zero/sign | |
1187 | extended hard registers. | |
1188 | ||
3a769784 AM |
1189 | 2011-06-21 Alan Modra <amodra@gmail.com> |
1190 | ||
1191 | * config/rs6000/rs6000.c (rs6000_cannot_force_const_mem): Match | |
1192 | CONST high part large-toc address. | |
1193 | (rs6000_tls_referenced_p): Make static. | |
1194 | * config/rs6000/rs6000-protos.h (rs6000_tls_referenced_p): Delete. | |
1195 | ||
d1e32c4a L |
1196 | 2011-06-20 H.J. Lu <hongjiu.lu@intel.com> |
1197 | ||
1198 | PR middle-end/47725 | |
1199 | * combine.c (cant_combine_insn_p): Check zero/sign extended | |
1200 | hard registers. | |
1201 | ||
c2954af9 RR |
1202 | 2011-06-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
1203 | ||
1204 | PR target/49385 | |
1205 | * config/arm/thumb2.md (*thumb2_movhi_insn): Make sure atleast | |
1206 | one of the operands is a register. | |
1207 | ||
a95015b6 KT |
1208 | 2011-06-20 Kai Tietz <ktietz@redhat.com> |
1209 | ||
637c11bd UB |
1210 | * fold-const.c (fold_binary_loc): Add missing folding for truth-not |
1211 | operations in combination with binary and. | |
a95015b6 | 1212 | |
49a30d00 BS |
1213 | 2011-06-20 Bernd Schmidt <bernds@codesourcery.com> |
1214 | ||
1215 | * regrename.c (do_replace): Don't update notes. | |
1216 | ||
3bae1d98 AM |
1217 | 2011-06-20 Alan Modra <amodra@gmail.com> |
1218 | ||
1219 | * config/rs6000/rs6000.c (create_TOC_reference): Wrap high part | |
1220 | of toc-relative address in CONST. | |
1221 | (rs6000_delegitimize_address): Recognize changed address. | |
1222 | (rs6000_legitimize_reload_address): Likewise. | |
1223 | (rs6000_emit_move): Don't force these constants to memory. | |
1224 | * config/rs6000/rs6000.md (tls_gd, tls_gd_high): Wrap high part of | |
1225 | toc-relative address in CONST. | |
1226 | (tls_ld, tls_ld_high, tls_got_dtprel, tls_got_dtprel_high): Likewise. | |
1227 | (tls_got_tprel, tls_got_tprel_high, largetoc_high): Likewise. | |
1228 | ||
10937b0c L |
1229 | 2011-06-18 H.J. Lu <hongjiu.lu@intel.com> |
1230 | ||
637c11bd | 1231 | * longlong.h (count_leading_zeros): Use long long builtin for x86-64. |
10937b0c L |
1232 | (count_trailing_zeros): Likewise. |
1233 | ||
0c587260 L |
1234 | 2011-06-18 H.J. Lu <hongjiu.lu@intel.com> |
1235 | ||
1236 | PR other/49325 | |
1237 | * acinclude.m4 (gcc_AC_INITFINI_ARRAY): Properly check if | |
1238 | .init_array can be used with .ctors on targets. | |
1239 | * configure: Regenerated. | |
1240 | ||
c020c92b EB |
1241 | 2011-06-18 Eric Botcazou <ebotcazou@adacore.com> |
1242 | ||
1243 | * tree-sra.c (type_internals_preclude_sra_p) <ARRAY_TYPE>: Return true | |
1244 | if the element type is volatile. | |
1245 | ||
cd35bcf7 JH |
1246 | 2011-06-18 Jan Hubicka <jh@suse.cz> |
1247 | ||
1248 | * lto-symtab.c (lto_varpool_replace_node): Remove code handling | |
1249 | extra name aliases. | |
1250 | (lto_symtab_resolve_can_prevail_p): Likewise. | |
1251 | (lto_symtab_merge_cgraph_nodes): Update alias_of pointers. | |
1252 | * cgraphbuild.c (record_reference): Remove extra body alias code. | |
1253 | (mark_load): Likewise. | |
1254 | (mark_store): Likewise. | |
1255 | * cgraph.h (varpool_node): Remove extra_name filed; | |
1256 | add alias_of and extraname_alias. | |
1257 | (varpool_create_variable_alias, varpool_for_node_and_aliases): Declare. | |
1258 | (varpool_alias_aliased_node): New inline function. | |
1259 | (varpool_variable_node): New function. | |
1260 | * cgraphunit.c (handle_alias_pairs): Handle also variable aliases. | |
1261 | * ipa-ref.c (ipa_record_reference): Allow aliases on variables. | |
1262 | * lto-cgraph.c (lto_output_varpool_node): Update streaming. | |
1263 | (input_varpool_node): Likewise. | |
1264 | * lto-streamer-out.c (produce_symtab): Remove extra name aliases. | |
1265 | (varpool_externally_visible_p): Remove extra body alias code. | |
1266 | (function_and_variable_visibility): Likewise. | |
1267 | * tree-ssa-structalias.c (associate_varinfo_to_alias_1): New function. | |
1268 | (ipa_pta_execute): Use it. | |
1269 | * varpool.c (varpool_remove_node): Remove extra name alias code. | |
1270 | (varpool_mark_needed_node): Likewise. | |
1271 | (varpool_analyze_pending_decls): Analyze aliases. | |
1272 | (assemble_aliases): New functoin. | |
1273 | (varpool_assemble_decl): Use it. | |
1274 | (varpool_create_variable_alias): New function. | |
1275 | (varpool_extra_name_alias): Rewrite. | |
1276 | (varpool_for_node_and_aliases): New function. | |
1277 | ||
c96b4102 JJ |
1278 | 2011-06-18 Jakub Jelinek <jakub@redhat.com> |
1279 | ||
1280 | PR target/49411 | |
1281 | * config/i386/i386.c (ix86_expand_multi_arg_builtins): If | |
1282 | last_arg_constant and last argument doesn't match its predicate, | |
1283 | for xop_vpermil2<mode>3 error out and for xop_rotl<mode>3 | |
1284 | if it is CONST_INT, mask it, otherwise expand using rotl<mode>3. | |
1285 | (ix86_expand_sse_pcmpestr, ix86_expand_sse_pcmpistr): Fix | |
1286 | spelling of error message. | |
1287 | * config/i386/sse.md (sse4a_extrqi, sse4a_insertqi, | |
1288 | vcvtps2ph, *vcvtps2ph, *vcvtps2ph_store, vcvtps2ph256): Use | |
1289 | const_0_to_255_operand instead of const_int_operand. | |
1290 | ||
1291 | Revert: | |
1292 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> | |
1293 | ||
1294 | * config/i386/sse.md (blendbits): Remove mode attribute. | |
1295 | (<sse4_1>_blend<ssemodesuffix><avxsizesuffix>): Use const_int_operand | |
1296 | instead of const_0_to_<blendbits>_operand for operand 3 predicate. | |
1297 | Check integer value of operand 3 in insn constraint. | |
1298 | ||
9a2091cd HPN |
1299 | 2011-06-17 Hans-Peter Nilsson <hp@axis.com> |
1300 | ||
1301 | PR rtl-optimization/48542 | |
1302 | * reload.c (find_equiv_reg): Stop looking when finding a | |
1303 | setjmp-type call. | |
1304 | * reload1.c (reload_as_needed): Invalidate all reload | |
1305 | registers when crossing a setjmp-type call. | |
1306 | ||
361b51c0 JL |
1307 | 2011-06-16 Jeff Law <law@redhat.com> |
1308 | ||
1309 | * tree-ssa-threadupdate.c (struct redirection_data): New field | |
1310 | intermediate_edge. | |
1311 | (THREAD_TARGET2): Define. | |
637c11bd | 1312 | (redirection_data_eq): Also check that the intermediate edge is equal. |
361b51c0 JL |
1313 | (lookup_redirection_data): Drop useless argument. Extract the |
1314 | outgoing_edge and intermediate edge from E. Callers updated. | |
1315 | (copy_phi_args, update_destination_phis): New functions. | |
1316 | (fix_duplicate_block_edges): Likewise. | |
1317 | (create_edge_and_update_destination_phis): Duplicate all the edges | |
1318 | hung off e->aux. Use copy_phi_args. | |
1319 | (create_duplicates): Use fix_duplicate_block_edges. | |
1320 | (fixup_template_block): Likewise. | |
1321 | (redirect_edges): If necessary, redirect the joiner block's incoming | |
1322 | edge to the duplicate of the joiner block. | |
1323 | (thread_block): Don't muck up loops when threading through a joiner | |
1324 | block. | |
637c11bd | 1325 | (thread_through_loop_header): Handle threading through a joiner block. |
361b51c0 JL |
1326 | (mark_threaded_blocks, register_jump_thread): Likewise. |
1327 | * tree-flow.h (register_jump_thread): Add new argument. Callers | |
1328 | updated. | |
1329 | * tree-ssa-threadedge.c (phi_args_equal_on_edges): New function. | |
1330 | (thread_across_edge): Handle threading through a joiner block. | |
637c11bd | 1331 | |
ee460e75 MJ |
1332 | 2011-06-16 Martin Jambor <mjambor@suse.cz> |
1333 | ||
1334 | PR tree-optimization/49343 | |
1335 | * tree-sra.c (build_ref_for_model): Use component_ref_field_offset to | |
1336 | calculate offset, provide 2nd operand for the new COMPONENT_REF. | |
1337 | ||
a285ba2e IS |
1338 | 2011-06-16 Iain Sandoe <iains@gcc.gnu.org> |
1339 | ||
1340 | * config/darwin-protos.h (machopic_select_rtx_section): Move to | |
1341 | inside RTX_CODE ifdef. | |
1342 | ||
0703f020 TV |
1343 | 2011-06-16 Tom de Vries <tom@codesourcery.com> |
1344 | ||
1345 | PR target/45098 | |
637c11bd UB |
1346 | * tree-ssa-loop-niter.c (infer_loop_bounds_from_pointer_arith): |
1347 | Disallow NULL pointer for pointer arithmetic. | |
0703f020 | 1348 | |
900c07da RR |
1349 | 2011-06-16 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
1350 | ||
1351 | PR target/49398 | |
1352 | Revert. | |
1353 | 2011-06-10 Wei Guozhi <carrot@google.com> | |
1354 | ||
1355 | PR target/45335 | |
1356 | * config/arm/ldmstm.md (ldm2_ia, stm2_ia, ldm2_ib, stm2_ib, ldm2_da, | |
1357 | stm2_da, ldm2_db, stm2_db): Add condition !arm_arch7 to these insns. | |
1358 | (ldrd, ldrd_reg1, ldrd_reg2 and peephole2): New insn patterns and | |
1359 | related peephole2. | |
1360 | (strd, strd_reg1, strd_reg2 and peephole2): New insn patterns and | |
1361 | related peephole2. | |
1362 | * config/arm/arm-protos.h (arm_check_ldrd_operands): New prototype. | |
1363 | (arm_legitimate_ldrd_p): New prototype. | |
1364 | (arm_output_ldrd): New prototype. | |
1365 | * config/arm/arm.c (arm_check_ldrd_operands): New function. | |
1366 | (arm_legitimate_ldrd_p): New function. | |
1367 | (arm_output_ldrd): New function. | |
1368 | ||
c020c92b | 1369 | 2011-06-16 Joern Rennecke <joern.rennecke@embecosm.com> |
d5cc9181 JR |
1370 | |
1371 | PR middle-end/46500 | |
1372 | * doc/tm.texi.in: Update Copyright date. | |
1373 | * doc/tm.texi: Regenerate. | |
1374 | * targhooks.c (default_setup_incoming_varargs): Replace | |
1375 | CUMULATIVE_ARGS* argument type with cumulative_args_t. | |
1376 | (default_pretend_outgoing_varargs_named): Likewise. | |
1377 | (hook_pass_by_reference_must_pass_in_stack): Likewise. | |
1378 | (hook_callee_copies_named): Likewise. | |
1379 | (default_function_arg_advance): Likewise. | |
1380 | (default_function_arg): Likewise. | |
1381 | (default_function_incoming_arg): Likewise. | |
1382 | (hook_bool_CUMULATIVE_ARGS_false): Likewise. | |
1383 | (hook_bool_CUMULATIVE_ARGS_true): Likewise. | |
1384 | (hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false): Likewise. | |
1385 | (hook_bool_CUMULATIVE_ARGS_mode_tree_bool_true): Likewise. | |
1386 | (hook_int_CUMULATIVE_ARGS_mode_tree_bool_0): Likewise. | |
1387 | * targhooks.h (default_setup_incoming_varargs): Likewise. | |
1388 | (default_pretend_outgoing_varargs_named): Likewise. | |
1389 | (hook_pass_by_reference_must_pass_in_stack): Likewise. | |
1390 | (hook_callee_copies_named): Likewise. | |
1391 | (default_function_arg_advance): Likewise. | |
1392 | (default_function_arg): Likewise. | |
1393 | (default_function_incoming_arg): Likewise. | |
1394 | (hook_bool_CUMULATIVE_ARGS_false): Likewise. | |
1395 | (hook_bool_CUMULATIVE_ARGS_true): Likewise. | |
1396 | (hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false): Likewise. | |
1397 | (hook_bool_CUMULATIVE_ARGS_mode_tree_bool_true): Likewise. | |
1398 | (hook_int_CUMULATIVE_ARGS_mode_tree_bool_0): Likewise. | |
1399 | * target.def (pass_by_reference): Likewise. | |
1400 | (setup_incoming_varargs, strict_argument_naming): Likewise. | |
1401 | (pretend_outgoing_varargs_named, callee_copies): Likewise. | |
1402 | (arg_partial_bytes, function_arg_advance, function_arg): Likewise. | |
1403 | (function_incoming_arg): Likewise. | |
1404 | * target.h: Don't include "tm.h" . | |
1405 | (cumulative_args_t): New typedef. | |
1406 | [GCC_TM_H] (get_cumulative_args): New static inline function. | |
1407 | [GCC_TM_H] (pack_cumulative_args): Likewise. | |
1408 | * config/alpha/alpha.c (alpha_function_arg): Replace CUMULATIVE_ARGS* | |
1409 | argument type with cumulative_args_t. | |
1410 | (alpha_function_arg_advance, alpha_arg_partial_bytes): Likewise. | |
1411 | (alpha_pass_by_reference, alpha_setup_incoming_varargs): Likewise. | |
1412 | * config/frv/frv.c (frv_setup_incoming_varargs): Likewise. | |
1413 | (frv_arg_partial_bytes, frv_function_arg): Likewise. | |
1414 | (frv_function_incoming_arg, frv_function_arg_advance): Likewise. | |
1415 | (frv_function_arg_1): Likewise. | |
1416 | * config/s390/s390.c (s390_pass_by_reference): Likewise. | |
1417 | (s390_function_arg_advance, s390_function_arg): Likewise. | |
1418 | * config/m32c/m32c.c (m32c_function_arg): Likewise. | |
1419 | (m32c_pass_by_reference, m32c_function_arg_advance): Likewise. | |
1420 | (m32c_strict_argument_naming): Likewise. | |
1421 | * config/spu/spu.c (spu_pass_by_reference, spu_function_arg): Likewise. | |
1422 | (spu_function_arg_advance): Likewise. | |
1423 | (spu_setup_incoming_varargs): Likewise. Make static. | |
1424 | * config/spu/spu-protos.h (spu_setup_incoming_varargs): | |
1425 | Remove prototype. | |
1426 | * config/sparc/sparc.c (sparc_strict_argument_naming): Replace | |
1427 | CUMULATIVE_ARGS* argument type with cumulative_args_t. | |
1428 | (sparc_pass_by_reference, sparc_function_arg_advance): Likewise. | |
1429 | (sparc_function_arg, sparc_function_incoming_arg): Likewise. | |
1430 | (sparc_arg_partial_bytes, sparc_function_arg_1): Likewise. | |
1431 | * config/mep/mep.c (mep_setup_incoming_varargs): Likewise. | |
1432 | (mep_pass_by_reference, mep_function_arg): Likewise. | |
1433 | (mep_function_arg_advance): Likewise. | |
1434 | * config/m32r/m32r.c (m32r_setup_incoming_varargs): Likewise. | |
1435 | (m32r_pass_by_reference, m32r_arg_partial_bytes): Likewise. | |
1436 | (m32r_function_arg, m32r_function_arg_advance): Likewise. | |
1437 | * config/rx/rx.c (rx_function_arg, rx_function_arg_advance): Likewise. | |
1438 | * config/i386/i386.c (ix86_function_arg_advance): Likewise. | |
1439 | (ix86_function_arg, ix86_pass_by_reference): Likewise. | |
1440 | (ix86_setup_incoming_varargs): Likewise. | |
1441 | * config/sh/sh.c (sh_setup_incoming_varargs): Likewise. | |
1442 | (sh_strict_argument_naming): Likewise. | |
1443 | (sh_pretend_outgoing_varargs_named, sh_pass_by_reference): Likewise. | |
1444 | (sh_callee_copies, sh_arg_partial_bytes): Likewise. | |
1445 | (sh_function_arg_advance, sh_function_arg): Likewise. | |
1446 | * config/pdp11/pdp11.c (pdp11_function_arg): Likewise. | |
1447 | (pdp11_function_arg_advance): Likewise. | |
1448 | * config/microblaze/microblaze.c (microblaze_function_arg_advance): | |
1449 | Likewise. | |
1450 | (microblaze_function_arg, function_arg_partial_bytes): Likewise. | |
1451 | * config/avr/avr.c (avr_function_arg): Likewise. | |
1452 | (avr_function_arg_advance): Likewise. | |
1453 | * config/xtensa/xtensa.c (xtensa_function_arg_advance): Likewise. | |
1454 | (xtensa_function_arg, xtensa_function_incoming_arg): Likewise. | |
1455 | (xtensa_function_arg_1): Likewise. | |
637c11bd UB |
1456 | * config/stormy16/stormy16.c (xstormy16_function_arg_advance): |
1457 | Likewise. | |
d5cc9181 JR |
1458 | (xstormy16_function_arg): Likewise. |
1459 | * config/fr30/fr30.c (fr30_setup_incoming_varargs): Likewise. | |
1460 | (fr30_arg_partial_bytes, fr30_function_arg): Likewise. | |
1461 | (fr30_function_arg_advance): Likewise. | |
1462 | * config/lm32/lm32.c (lm32_setup_incoming_varargs): Likewise. | |
1463 | (lm32_function_arg, lm32_function_arg_advance): Likewise. | |
1464 | * config/moxie/moxie.c (moxie_setup_incoming_varargs): Likewise. | |
1465 | (moxie_function_arg, moxie_function_arg_advance): Likewise. | |
1466 | (moxie_pass_by_reference, moxie_arg_partial_bytes): Likewise. | |
1467 | * config/cris/cris.c (cris_setup_incoming_varargs): Likewise. | |
1468 | (cris_pass_by_reference, cris_arg_partial_bytes): Likewise. | |
1469 | (cris_function_arg, cris_function_incoming_arg): Likewise. | |
1470 | (cris_function_arg_advance, cris_function_arg_1): Likewise. | |
1471 | * config/iq2000/iq2000.c (iq2000_setup_incoming_varargs): Likewise. | |
1472 | (iq2000_pass_by_reference, iq2000_arg_partial_bytes): Likewise. | |
1473 | (iq2000_function_arg, iq2000_function_arg_advance): Likewise. | |
1474 | * config/mn10300/mn10300.c (mn10300_pass_by_reference): Likewise. | |
1475 | (mn10300_function_arg, mn10300_function_arg_advance): Likewise. | |
1476 | (mn10300_arg_partial_bytes): Likewise. | |
1477 | * config/ia64/ia64.c (ia64_setup_incoming_varargs): Likewise. | |
1478 | (ia64_arg_partial_bytes, ia64_function_arg): Likewise. | |
1479 | (ia64_function_incoming_arg, ia64_function_arg_advance): Likewise. | |
1480 | (ia64_function_arg_1): Likewise. | |
1481 | * config/m68k/m68k.c (m68k_function_arg_advance): Likewise. | |
1482 | (m68k_function_arg): Likewise. | |
1483 | * config/rs6000/rs6000.c (rs6000_function_arg_advance): Likewise. | |
1484 | (rs6000_function_arg, setup_incoming_varargs): Likewise. | |
1485 | (rs6000_pass_by_reference, rs6000_arg_partial_bytes): Likewise. | |
1486 | * config/picochip/picochip.c (picochip_arg_partial_bytes): Likewise. | |
1487 | (picochip_function_arg, picochip_incoming_function_arg): Likewise. | |
1488 | (picochip_arg_advance): Likewise. | |
1489 | * config/mcore/mcore.c (mcore_setup_incoming_varargs): Likewise. | |
1490 | (mcore_arg_partial_bytes, mcore_function_arg): Likewise. | |
1491 | (mcore_function_arg_advance): Likewise. | |
1492 | * config/score/score.c (score_pass_by_reference): Likewise. | |
1493 | (score_function_arg_advance): Likewise. | |
1494 | (score_arg_partial_bytes): Likewise. Make static. | |
1495 | * config/score/score-protos.h (score_arg_partial_bytes): Don't declare. | |
1496 | * config/arm/arm.c (arm_arg_partial_bytes): Replace | |
1497 | CUMULATIVE_ARGS* argument type with cumulative_args_t. | |
1498 | (arm_function_arg, arm_function_arg_advance): Likewise. | |
1499 | (arm_setup_incoming_varargs, arm_pass_by_reference): Likewise. | |
1500 | * config/pa/pa.c (pa_pass_by_reference): Likewise. | |
1501 | (pa_arg_partial_bytes, pa_function_arg_advance): Likewise. | |
1502 | (pa_function_arg): Likewise. | |
1503 | * config/mips/mips.c (mips_strict_argument_naming): Likewise. | |
1504 | (mips_function_arg, mips_function_arg_advance): Likewise. | |
1505 | (mips_arg_partial_bytes, mips_pass_by_reference): Likewise. | |
1506 | (mips_callee_copies, mips_setup_incoming_varargs): Likewise. | |
1507 | * config/vax/vax.c (vax_function_arg): Likewise. | |
1508 | (vax_function_arg_advance): Likewise. | |
1509 | * config/h8300/h8300.c (h8300_function_arg): Likewise. | |
1510 | (h8300_function_arg_advance): Likewise. | |
1511 | * config/v850/v850.c (v850_pass_by_reference): Likewise. | |
1512 | (v850_strict_argument_naming, v850_function_arg): Likewise. | |
1513 | (v850_arg_partial_bytes, v850_function_arg_advance): Likewise. | |
1514 | (v850_setup_incoming_varargs): Likewise. | |
1515 | * config/mmix/mmix.c (mmix_setup_incoming_varargs): Likewise. | |
1516 | (mmix_function_arg_advance, mmix_function_incoming_arg): Likewise. | |
1517 | (mmix_function_arg, mmix_pass_by_reference): Likewise. | |
1518 | (mmix_function_arg_1): Replace const CUMULATIVE_ARGS* argument type | |
1519 | with const void *. | |
1520 | * config/bfin/bfin.c (setup_incoming_varargs): Replace | |
1521 | CUMULATIVE_ARGS* argument type with cumulative_args_t. | |
1522 | (bfin_function_arg_advance, bfin_function_arg): Likewise. | |
1523 | (bfin_arg_partial_bytes, bfin_pass_by_reference): Likewise. | |
1524 | * calls.c (emit_call_1): Change type of args_so_far to | |
1525 | cumulative_args_t. Changed all callers. | |
1526 | (initialize_argument_information): Likewise. | |
1527 | (expand_call, emit_library_call_value_1): Use pack_cumulative_args. | |
1528 | * dse.c (get_call_args): Likewise. | |
1529 | * expr.c (block_move_libcall_safe_for_call_parm): Likewise. | |
1530 | * function.c (pass_by_reference, reference_callee_copied): Likewise. | |
1531 | (struct assign_parm_data_all): Rename args_so_far to args_so_far_v. | |
1532 | New member args_so_far_v. Changed all users. | |
1533 | * var-tracking.c (prepare_call_arguments): Use pack_cumulative_args. | |
1534 | * config/iq2000/iq2000.c (iq2000_expand_prologue): Likewise. | |
1535 | * config/mips/mips.c (mips_output_args_xfer): Likewise. | |
1536 | * config/s390/s390.c (s390_call_saved_register_used): Likewise. | |
1537 | * config/sh/sh.c (sh_output_mi_thunk): Likewise. | |
637c11bd UB |
1538 | * config/microblaze/microblaze.c (microblaze_expand_prologue): |
1539 | Likewise. | |
d5cc9181 JR |
1540 | * config/m32r/m32r.c (m32r_return_in_memory): Adjust for changed |
1541 | m32r_pass_by_reference. | |
1542 | ||
51312233 IR |
1543 | 2011-06-16 Ira Rosen <ira.rosen@linaro.org> |
1544 | ||
1545 | * tree-vectorizer.h (vect_recog_func_ptr): Change the first | |
1546 | argument to be a VEC of statements. | |
637c11bd UB |
1547 | * tree-vect-loop.c (vect_determine_vectorization_factor): Remove the |
1548 | assert that pattern statements have to have their vector type set. | |
51312233 IR |
1549 | * tree-vect-patterns.c (vect_recog_widen_sum_pattern): |
1550 | Change the first argument to be a VEC of statements. Update | |
1551 | documentation. | |
1552 | (vect_recog_dot_prod_pattern, vect_recog_pow_pattern): Likewise. | |
1553 | (vect_handle_widen_mult_by_const): New function. | |
637c11bd UB |
1554 | (vect_recog_widen_mult_pattern): Change the first argument to be a |
1555 | VEC of statements. Update documentation. Check that the constant is | |
1556 | INTEGER_CST. Support multiplication by a constant that fits an | |
1557 | intermediate type - call vect_handle_widen_mult_by_const. | |
51312233 IR |
1558 | (vect_pattern_recog_1): Update vect_recog_func_ptr and its |
1559 | call. Handle additional pattern statements if necessary. | |
1560 | ||
fd4df33d NC |
1561 | 2011-06-16 Nick Clifton <nickc@redhat.com> |
1562 | ||
1563 | PR target/49427 | |
1564 | * config.gcc: Set cpu_type to v850 for any V850 architecture. | |
1565 | (v850*-*-*): Delete explicit setting of tm_p_file, tmake_file, | |
1566 | md_file, extra_modes, out_file and extra_options are these are all | |
1567 | deduced from cpu_type. | |
1568 | ||
fbd05da0 GJL |
1569 | 2011-06-16 Georg-Johann Lay <avr@gjlay.de> |
1570 | ||
1571 | * config/avr/libgcc.S (__ashldi3, __ashrdi3, __lshrdi3): Set shift | |
1572 | truncation mask to 63. | |
1573 | ||
0ad8bb3b GJL |
1574 | 2011-06-16 Georg-Johann Lay <avr@gjlay.de> |
1575 | ||
1576 | PR target/49313 | |
1577 | PR target/29524 | |
1578 | * longlong.h: Add AVR support: | |
1579 | (count_leading_zeros): New macro. | |
1580 | (count_trailing_zeros): New macro. | |
1581 | (COUNT_LEADING_ZEROS_0): New macro. | |
637c11bd UB |
1582 | * config/avr/t-avr (LIB1ASMFUNCS): Add _ffssi2, _ffshi2, _loop_ffsqi2, |
1583 | _ctzsi2, _ctzhi2, _clzdi2, _clzsi2, _clzhi2, _paritydi2, _paritysi2, | |
1584 | _parityhi2, _popcounthi2,_popcountsi2, _popcountdi2, _popcountqi2, | |
1585 | _bswapsi2, _bswapdi2, _ashldi3, _ashrdi3, _lshrdi3. | |
0ad8bb3b GJL |
1586 | (LIB2FUNCS_EXCLUDE): Add _clz. |
1587 | * config/avr/libgcc.S (XCALL): Move up in file. | |
1588 | (XJMP): New C Macro. | |
1589 | (DEFUN): New asm macro. | |
1590 | (ENDF): New asm macro. | |
1591 | (__ffssi2): New function. | |
1592 | (__ffshi2): New function. | |
1593 | (__loop_ffsqi2): New function. | |
1594 | (__ctzsi2): New function. | |
1595 | (__ctzhi2): New function. | |
1596 | (__clzdi2): New function. | |
1597 | (__clzsi2): New function. | |
1598 | (__clzhi2): New function. | |
1599 | (__paritydi2): New function. | |
1600 | (__paritysi2): New function. | |
1601 | (__parityhi2): New function. | |
59c1e10b | 1602 | (__parityqi2): New function. |
0ad8bb3b GJL |
1603 | (__popcounthi2): New function. |
1604 | (__popcountsi2): New function. | |
1605 | (__popcountdi2): New function. | |
1606 | (__popcountqi2): New function. | |
1607 | (__bswapsi2): New function. | |
1608 | (__bswapdi2): New function. | |
1609 | (__ashldi3): New function. | |
1610 | (__ashrdi3): New function. | |
1611 | (__lshrdi3): New function. | |
1612 | Fix suspicous lines. | |
1613 | ||
12430896 RG |
1614 | 2011-06-16 Richard Guenther <rguenther@suse.de> |
1615 | ||
1616 | * gimple.c (canonicalize_cond_expr_cond): (bool)x is not | |
1617 | the same as x != 0. | |
637c11bd UB |
1618 | * fold-const.c (fold_binary_loc): Do not fold X & 1 != 0 |
1619 | to (bool) X & 1. | |
12430896 RG |
1620 | * ipa-prop.c (ipa_analyze_indirect_call_uses): Also allow |
1621 | equality compares against zero for the lower bit. | |
1622 | ||
09302442 JJ |
1623 | 2011-06-16 Jakub Jelinek <jakub@redhat.com> |
1624 | ||
1625 | PR tree-optimization/49419 | |
1626 | * tree-vrp.c (execute_vrp): Call init_range_assertions | |
1627 | before estimate_numbers_of_iterations, call | |
1628 | free_number_of_iterations_estimates before calling | |
1629 | remove_range_assertions. | |
1630 | ||
81c41166 RE |
1631 | 2011-06-16 Revital Eres <revital.eres@linaro.org> |
1632 | ||
1633 | * modulo-sched.c (struct ps_insn): Remove row_rest_count field. | |
1634 | (struct partial_schedule): Add rows_length field. | |
1635 | (verify_partial_schedule): Check rows_length. | |
1636 | (ps_insert_empty_row): Handle rows_length. | |
1637 | (create_partial_schedule): Likewise. | |
1638 | (free_partial_schedule): Likewise. | |
1639 | (reset_partial_schedule): Likewise. | |
1640 | (create_ps_insn): Remove rest_count argument. | |
1641 | (remove_node_from_ps): Update rows_length. | |
1642 | (add_node_to_ps): Update rows_length and call create_ps_insn | |
1643 | without passing row_rest_count. | |
1644 | (rotate_partial_schedule): Update rows_length. | |
1645 | ||
d24dc7b3 RE |
1646 | 2011-06-16 Revital Eres <revital.eres@linaro.org> |
1647 | ||
1648 | * ddg.c (add_intra_loop_mem_dep): New function. | |
1649 | (build_intra_loop_deps): Call it. | |
1650 | ||
361b51c0 | 1651 | 2011-06-13 Jeff Law <law@redhat.com> |
2098e438 JL |
1652 | |
1653 | * df-problems.c (df_lr_local_compute): Manually CSE | |
1654 | PIC_OFFSET_TABLE_REGNUM. | |
1655 | * df-scan.c (df_get_regular_block_artificial_uses): Likewise. | |
1656 | (df_get_entry_block_def_set, df_get_exit_block_use_set): Likewise. | |
1657 | ||
85ce9375 JH |
1658 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
1659 | ||
1660 | * cgraphunit.c (handle_alias_pairs): New function. | |
1661 | (cgraph_finalize_compilation_unit): Use it. | |
1662 | * ipa.c (cgraph_externally_visible_p): Remove hack marking asm names | |
1663 | as externally visible. | |
1664 | ||
a577c405 RG |
1665 | 2011-06-15 Richard Guenther <rguenther@suse.de> |
1666 | ||
1667 | * expr.c (expand_expr_real_2): Reduce all integral types to | |
1668 | bitfield precision. | |
1669 | (expand_expr_real_1): Likewise. | |
1670 | ||
93536c97 MJ |
1671 | 2011-06-15 Martin Jambor <mjambor@suse.cz> |
1672 | ||
1673 | PR tree-optimization/48613 | |
1674 | * ipa-prop.c (ipa_prop_write_jump_functions): Return immediately if | |
1675 | ipa_node_params_vector is NULL. | |
fd4df33d | 1676 | |
ba45cfc4 JJ |
1677 | 2011-06-15 Jakub Jelinek <jakub@redhat.com> |
1678 | ||
1679 | PR debug/49382 | |
1680 | * dwarf2out.c (dw_loc_list_node): Add force field. | |
637c11bd UB |
1681 | (add_var_loc_to_decl): For PARM_DECL, attempt to keep the incoming |
1682 | location in the list, even if it is modified before first real insn. | |
ba45cfc4 | 1683 | (output_loc_list): Emit empty ranges with force flag set. |
637c11bd | 1684 | (dw_loc_list): If first range of a PARM_DECL is empty, set force flag. |
ba45cfc4 | 1685 | |
6fc5966f AM |
1686 | 2011-06-15 Alexander Monakov <amonakov@ispras.ru> |
1687 | ||
1688 | PR target/49349 | |
1689 | * sel-sched.c (find_place_for_bookkeeping): Add new parameter | |
1690 | (fence_to_rewind). Use it to notice when bookkeeping will be placed | |
1691 | above a fence. Update comments. | |
1692 | (generate_bookkeeping_insn): Rewind fence when bookkeeping code is | |
1693 | placed just above it. Do not allow NULL place_to_insert. | |
1694 | ||
9d5e7640 IR |
1695 | 2011-06-15 Ira Rosen <ira.rosen@linaro.org> |
1696 | ||
1697 | * tree-vect-loop-manip.c (remove_dead_stmts_from_loop): Remove. | |
1698 | (slpeel_tree_peel_loop_to_edge): Don't call | |
1699 | remove_dead_stmts_from_loop. | |
1700 | * tree-vect-loop.c (vect_determine_vectorization_factor): Don't | |
1701 | remove irrelevant pattern statements. For irrelevant statements | |
1702 | check if it is the last statement of a detected pattern, use | |
1703 | corresponding pattern statement instead. | |
1704 | (destroy_loop_vec_info): No need to remove pattern statements, | |
1705 | only free stmt_vec_info. | |
1706 | (vect_transform_loop): For irrelevant statements check if it is | |
1707 | the last statement of a detected pattern, use corresponding | |
1708 | pattern statement instead. | |
1709 | * tree-vect-patterns.c (vect_pattern_recog_1): Don't insert | |
1710 | pattern statements. Set basic block for the new statement. | |
1711 | (vect_pattern_recog): Update documentation. | |
1712 | * tree-vect-stmts.c (vect_mark_stmts_to_be_vectorized): Scan | |
1713 | operands of pattern statements. | |
1714 | (vectorizable_call): Fix printing. In case of a pattern statement | |
1715 | use the lhs of the original statement when creating a dummy | |
1716 | statement to replace the original call. | |
1717 | (vect_analyze_stmt): For irrelevant statements check if it is | |
1718 | the last statement of a detected pattern, use corresponding | |
1719 | pattern statement instead. | |
1720 | * tree-vect-slp.c (vect_schedule_slp_instance): For pattern | |
1721 | statements use gsi of the original statement. | |
1722 | ||
677f3fa8 JM |
1723 | 2011-06-14 Joseph Myers <joseph@codesourcery.com> |
1724 | ||
1725 | * target-def.h (TARGET_HAVE_NAMED_SECTIONS): Move to | |
1726 | common/common-target-def.h. | |
1727 | * target.def (default_target_flags, handle_option, | |
1728 | supports_split_stack, optimization_table, init_struct, | |
1729 | except_unwind_info, unwind_tables_default, have_named_sections): | |
1730 | Move to common/common-target.def. | |
1731 | * target.h (enum opt_levels, struct default_options): Move to | |
1732 | common/common-target.h. | |
1733 | * targhooks.c (default_except_unwind_info, | |
1734 | dwarf2_except_unwind_info, sjlj_except_unwind_info, | |
1735 | default_target_handle_option, empty_optimization_table): Move to | |
1736 | common/common-targhooks.c. | |
1737 | * targhooks.h (default_except_unwind_info, | |
1738 | dwarf2_except_unwind_info, sjlj_except_unwind_info, | |
1739 | default_target_handle_option, empty_optimization_table): Move to | |
1740 | common/common-targhooks.h. | |
1741 | * common/common-target-def.h: Include common/common-targhooks.h. | |
1742 | (TARGET_HAVE_NAMED_SECTIONS): Define if TARGET_ASM_NAMED_SECTION | |
1743 | defined. | |
1744 | * common/common-target.def (handle_option, option_init_struct, | |
1745 | option_optimization_table, default_target_flags, | |
1746 | except_unwind_info, supports_split_stack, unwind_tables_default, | |
1747 | have_named_sections): Move from target.def. | |
1748 | (HOOK_PREFIX): Undefine at end of file. | |
1749 | * common/common-target.h: Include input.h. | |
1750 | (enum opt_levels, struct default_options): Move from target.h. | |
1751 | * common/common-targhooks.c, common/common-targhooks.h: New. | |
1752 | * config.gcc (target_has_targetm_common): Default to yes. | |
1753 | (moxie*): Set target_has_targetm_common=no. | |
1754 | (hppa*-*-*): Don't set target_has_targetm_common=yes. | |
1755 | * doc/tm.texi: Regenerate. | |
1756 | * Makefile.in (COMMON_TARGET_H): Add $(INPUT_H). | |
1757 | (C_TARGET_DEF_H): Add common/common-targhooks.h. | |
1758 | (GCC_OBJS): Remove vec.o. | |
1759 | (OBJS): Remove hooks.o and vec.o. | |
1760 | (OBJS-libcommon-target): Add vec.o, hooks.o and | |
1761 | common/common-targhooks.o. | |
1762 | (c-family/c-common.o, c-family/c-cppbuiltin.o, lto-opts.o, tree.o, | |
1763 | tree-tailcall.o, opts.o, toplev.o, varasm.o, function.o, except.o, | |
1764 | expr.o, explow.o, dbxout.o, dwarf2out.o, cfgrtl.o, haifa-sched.o, | |
1765 | cfglayout.o, $(out_object_file), $(common_out_object_file)): | |
1766 | Update dependencies. | |
1767 | (common/common-targhooks.o): New. | |
637c11bd | 1768 | * common/config/default-common.c: Include tm.h. Add FIXME comment. |
677f3fa8 JM |
1769 | * common/config/pa/pa-common.c: Include more headers. Take |
1770 | copyright dates from pa.c. | |
1771 | (pa_option_optimization_table, pa_handle_option, | |
1772 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_DEFAULT_TARGET_FLAGS, | |
1773 | TARGET_HANDLE_OPTION): Move from pa.c. | |
1774 | * common/config/alpha/alpha-common.c, | |
1775 | common/config/arm/arm-common.c, common/config/avr/avr-common.c, | |
1776 | common/config/bfin/bfin-common.c, | |
1777 | common/config/cris/cris-common.c, | |
1778 | common/config/fr30/fr30-common.c, common/config/frv/frv-common.c, | |
1779 | common/config/h8300/h8300-common.c, | |
1780 | common/config/i386/i386-common.c, | |
1781 | common/config/ia64/ia64-common.c, | |
1782 | common/config/iq2000/iq2000-common.c, | |
1783 | common/config/lm32/lm32-common.c, | |
1784 | common/config/m32c/m32c-common.c, | |
1785 | common/config/m32r/m32r-common.c, | |
1786 | common/config/m68k/m68k-common.c, | |
1787 | common/config/mcore/mcore-common.c, | |
1788 | common/config/mep/mep-common.c, | |
1789 | common/config/microblaze/microblaze-common.c, | |
1790 | common/config/mips/mips-common.c, | |
1791 | common/config/mmix/mmix-common.c, | |
1792 | common/config/mn10300/mn10300-common.c, | |
1793 | common/config/pdp11/pdp11-common.c, | |
1794 | common/config/picochip/picochip-common.c, | |
1795 | common/config/rs6000/rs6000-common.c, | |
1796 | common/config/rx/rx-common.c, common/config/s390/s390-common.c, | |
1797 | common/config/score/score-common.c, common/config/sh/sh-common.c, | |
1798 | common/config/sparc/sparc-common.c, | |
1799 | common/config/spu/spu-common.c, common/config/v850/v850-common.c, | |
1800 | common/config/vax/vax-common.c, | |
1801 | common/config/xstormy16/xstormy16-common.c, | |
1802 | common/config/xtensa/xtensa-common.c: New. | |
1803 | * config/alpha/alpha.c: Include common/common-target.h. | |
1804 | (alpha_option_optimization_table, alpha_handle_option, | |
1805 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
1806 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to alpha-common.c. | |
1807 | * config/arm/arm-protos.h (arm_except_unwind_info): Declare. | |
1808 | * config/arm/arm.c (arm_option_optimization_table, | |
1809 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE, | |
1810 | TARGET_EXCEPT_UNWIND_INFO, arm_except_unwind_info): Move to | |
1811 | arm-common.c. | |
1812 | * config/avr/avr.c (avr_option_optimization_table, | |
1813 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INFO): Move | |
1814 | to avr-common.c. | |
1815 | * config/bfin/bfin.c (struct bfin_cpu): Move to bfin.h. | |
1816 | (bfin_cpus, bfin_handle_option, TARGET_HANDLE_OPTION, | |
1817 | TARGET_DEFAULT_TARGET_FLAGS): Move to bfin-common.c. | |
1818 | * config/bfin/bfin.h struct bfin_cpu): Move from bfin.c. | |
1819 | * config/cris/cris.c (cris_option_optimization_table, | |
1820 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
1821 | TARGET_OPTION_OPTIMIZATION_TABLE, cris_handle_option): Move to | |
1822 | cris-common.c. | |
1823 | * config/fr30/fr30.c (fr30_option_optimization_table, | |
1824 | TARGET_EXCEPT_UNWIND_INFO, TARGET_OPTION_OPTIMIZATION_TABLE): Move | |
1825 | to fr30-common.c. | |
1826 | * config/frv/frv.c (frv_option_optimization_table, | |
1827 | MASK_DEFAULT_ALLOC_CC, TARGET_DEFAULT_TARGET_FLAGS, | |
1828 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to frv-common.c. | |
1829 | * config/h8300/h8300.c (h8300_option_optimization_table, | |
1830 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE, | |
1831 | TARGET_EXCEPT_UNWIND_INFO): Move to h8300-common.c. | |
1832 | * config/i386/i386-protos.h (ix86_handle_option): Declare. | |
1833 | * config/i386/i386.c: Include common/common-target.h. | |
1834 | (OPTION_MASK_ISA_MMX_SET, OPTION_MASK_ISA_3DNOW_SET, | |
1835 | OPTION_MASK_ISA_SSE_SET, OPTION_MASK_ISA_SSE2_SET, | |
1836 | OPTION_MASK_ISA_SSE3_SET, OPTION_MASK_ISA_SSSE3_SET, | |
1837 | OPTION_MASK_ISA_SSE4_1_SET, OPTION_MASK_ISA_SSE4_2_SET, | |
1838 | OPTION_MASK_ISA_AVX_SET, OPTION_MASK_ISA_FMA_SET, | |
1839 | OPTION_MASK_ISA_SSE4_SET, OPTION_MASK_ISA_SSE4A_SET, | |
1840 | OPTION_MASK_ISA_FMA4_SET, OPTION_MASK_ISA_XOP_SET, | |
1841 | OPTION_MASK_ISA_LWP_SET, OPTION_MASK_ISA_AES_SET, | |
1842 | OPTION_MASK_ISA_PCLMUL_SET, OPTION_MASK_ISA_ABM_SET, | |
1843 | OPTION_MASK_ISA_BMI_SET, OPTION_MASK_ISA_TBM_SET, | |
1844 | OPTION_MASK_ISA_POPCNT_SET, OPTION_MASK_ISA_CX16_SET, | |
1845 | OPTION_MASK_ISA_SAHF_SET, OPTION_MASK_ISA_MOVBE_SET, | |
1846 | OPTION_MASK_ISA_CRC32_SET, OPTION_MASK_ISA_FSGSBASE_SET, | |
1847 | OPTION_MASK_ISA_RDRND_SET, OPTION_MASK_ISA_F16C_SET, | |
1848 | OPTION_MASK_ISA_MMX_UNSET, OPTION_MASK_ISA_3DNOW_UNSET, | |
1849 | OPTION_MASK_ISA_3DNOW_A_UNSET, OPTION_MASK_ISA_SSE_UNSET, | |
1850 | OPTION_MASK_ISA_SSE2_UNSET, OPTION_MASK_ISA_SSE3_UNSET, | |
1851 | OPTION_MASK_ISA_SSSE3_UNSET, OPTION_MASK_ISA_SSE4_1_UNSET, | |
1852 | OPTION_MASK_ISA_SSE4_2_UNSET, OPTION_MASK_ISA_AVX_UNSET, | |
1853 | OPTION_MASK_ISA_FMA_UNSET, OPTION_MASK_ISA_SSE4_UNSET, | |
1854 | OPTION_MASK_ISA_SSE4A_UNSET, OPTION_MASK_ISA_FMA4_UNSET, | |
1855 | OPTION_MASK_ISA_XOP_UNSET, OPTION_MASK_ISA_LWP_UNSET, | |
1856 | OPTION_MASK_ISA_AES_UNSET, OPTION_MASK_ISA_PCLMUL_UNSET, | |
1857 | OPTION_MASK_ISA_ABM_UNSET, OPTION_MASK_ISA_BMI_UNSET, | |
1858 | OPTION_MASK_ISA_TBM_UNSET, OPTION_MASK_ISA_POPCNT_UNSET, | |
1859 | OPTION_MASK_ISA_CX16_UNSET, OPTION_MASK_ISA_SAHF_UNSET, | |
1860 | OPTION_MASK_ISA_MOVBE_UNSET, OPTION_MASK_ISA_CRC32_UNSET, | |
1861 | OPTION_MASK_ISA_FSGSBASE_UNSET, OPTION_MASK_ISA_RDRND_UNSET, | |
1862 | OPTION_MASK_ISA_F16C_UNSET, ix86_handle_option, | |
1863 | ix86_option_optimization_table, ix86_option_init_struct, | |
1864 | ix86_supports_split_stack, TARGET_DEFAULT_TARGET_FLAGS, | |
1865 | TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE, | |
1866 | TARGET_OPTION_INIT_STRUCT, TARGET_SUPPORTS_SPLIT_STACK): Move to | |
1867 | i386-common.c. | |
1868 | * config/i386/t-i386 (i386.o): Update dependencies. | |
1869 | * config/ia64/ia64-protos.h (ia64_except_unwind_info): Declare. | |
1870 | * config/ia64/ia64.c (ia64_option_optimization_table, | |
1871 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INFO, | |
1872 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
1873 | ia64_handle_option): Move to ia64-common.c. | |
1874 | * config/iq2000/iq2000.c (iq2000_option_optimization_table, | |
1875 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to iq2000-common.c. | |
1876 | * config/lm32/lm32.c (lm32_option_optimization_table, | |
1877 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INFO): Move | |
1878 | to lm32-common.c. | |
1879 | * config/m32c/m32c.c (TARGET_HAVE_NAMED_SECTIONS): Move to | |
1880 | m32c-common.c. | |
1881 | * config/m32r/m32r.c (m32r_option_optimization_table, | |
1882 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
1883 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_EXCEPT_UNWIND_INFO, | |
1884 | m32r_handle_option): Move to m32r-common.c. | |
1885 | (m32r_memory_move_cost): Remove comment referring to | |
1886 | TARGET_HANDLE_OPTION. | |
1887 | * config/m68k/m68k.c (TARGET_HANDLE_OPTION, m68k_handle_option): | |
1888 | Move to m68k-common.c. | |
1889 | * config/mcore/mcore.c (mcore_option_optimization_table, | |
1890 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE, | |
1891 | TARGET_EXCEPT_UNWIND_INFO): Move to mcore-common.c. | |
1892 | * config/mep/mep.c (mep_option_optimization_table, | |
1893 | mep_handle_option, TARGET_HANDLE_OPTION, | |
1894 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_DEFAULT_TARGET_FLAGS): | |
1895 | Move to mep-common.c. | |
1896 | * config/microblaze/microblaze.c | |
1897 | (microblaze_option_optimization_table, | |
1898 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE, | |
1899 | TARGET_EXCEPT_UNWIND_INFO): Move to microblaze-common.c. | |
1900 | * config/mips/mips.c (mips_handle_option, | |
1901 | mips_option_optimization_table, TARGET_OPTION_OPTIMIZATION_TABLE, | |
1902 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Move to | |
1903 | mips-common.c. | |
1904 | * config/mmix/mmix.c (mmix_option_optimization_table, | |
1905 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE): | |
1906 | Move to mmix-common.c. | |
1907 | * config/mn10300/mn10300.c (mn10300_option_optimization_table, | |
1908 | mn10300_handle_option, TARGET_EXCEPT_UNWIND_INFO, | |
1909 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
1910 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to mn10300-common.c. | |
1911 | * config/pa/pa.c: Include common/common-target.h. | |
1912 | (pa_option_optimization_table, TARGET_OPTION_OPTIMIZATION_TABLE, | |
1913 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
1914 | pa_handle_option): Move to pa-common.c. | |
1915 | (pa_option_override): Use targetm_common.except_unwind_info. | |
1916 | (pa_asm_output_mi_thunk, pa_function_section): Use | |
1917 | targetm_common.have_named_sections. | |
1918 | * config/pdp11/pdp11.c (pdp11_option_optimization_table, | |
1919 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
1920 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_OPTION_INIT_STRUCT, | |
1921 | pdp11_handle_option, pdp11_option_init_struct): Move to | |
1922 | pdp11-common.c. | |
1923 | * config/picochip/picochip.c (picochip_option_optimization_table, | |
1924 | TARGET_HAVE_NAMED_SECTIONS, TARGET_OPTION_OPTIMIZATION_TABLE, | |
1925 | TARGET_EXCEPT_UNWIND_INFO): Move to picochip-common.c. | |
1926 | * config/rs6000/rs6000.c: Include common/common-target.h. | |
1927 | (rs6000_option_optimization_table, TARGET_HANDLE_OPTION, | |
1928 | TARGET_OPTION_INIT_STRUCT, TARGET_OPTION_OPTIMIZATION_TABLE, | |
1929 | TARGET_DEFAULT_TARGET_FLAGS, rs6000_option_init_struct, | |
1930 | rs6000_handle_option): Move to rs6000-common.c. | |
1931 | * config/rs6000/t-rs6000 (rs6000.o): Update dependencies. | |
1932 | * config/rx/rx.c (rx_handle_option, rx_option_optimization_table, | |
1933 | TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE, | |
1934 | TARGET_EXCEPT_UNWIND_INFO): Move to rx-common.c. | |
1935 | * config/s390/s390.c (processor_flags_table, | |
1936 | s390_option_optimization_table, s390_option_init_struct, | |
1937 | s390_handle_option, TARGET_DEFAULT_TARGET_FLAGS, | |
1938 | TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE, | |
1939 | TARGET_OPTION_INIT_STRUCT): Move to s390-common.c. | |
1940 | * config/s390/s390.h (processor_flags_table): Declare. | |
1941 | * config/score/score.c (score_option_optimization_table, | |
1942 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
1943 | TARGET_OPTION_OPTIMIZATION_TABLE, MASK_ALL_CPU_BITS, | |
1944 | score_handle_option): Move to score-common.c. | |
1945 | * config/sh/sh.c (sh_option_optimization_table, | |
1946 | TARGET_OPTION_OPTIMIZATION_TABLE, TARGET_OPTION_INIT_STRUCT, | |
1947 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION, | |
1948 | sh_handle_option, sh_option_init_struct): Move to sh-common.c. | |
1949 | * config/sparc/sparc.c: Include common/common-target.h. | |
1950 | (sparc_option_optimization_table, TARGET_DEFAULT_TARGET_FLAGS, | |
1951 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to sparc-common.c. | |
1952 | * config/spu/spu.c (TARGET_DEFAULT_TARGET_FLAGS, | |
1953 | TARGET_OPTION_INIT_STRUCT, TARGET_EXCEPT_UNWIND_INFO, | |
1954 | spu_option_init_struct): Move to spu-common.c. | |
1955 | * config/stormy16/stormy16.c (xstorym16_option_optimization_table, | |
1956 | TARGET_OPTION_OPTIMIZATION_TABLE): Move to xstormy16-common.c. | |
1957 | * config/v850/v850.c (small_memory_physical_max, | |
1958 | v850_handle_memory_optionn v850_handle_option, | |
1959 | v850_option_optimization_table, TARGET_DEFAULT_TARGET_FLAGS, | |
1960 | TARGET_HANDLE_OPTION, TARGET_OPTION_OPTIMIZATION_TABLE): Move to | |
1961 | v850-common.c. | |
637c11bd | 1962 | * config/vax/vax.c (TARGET_DEFAULT_TARGET_FLAGS): Move to vax-common.c. |
677f3fa8 JM |
1963 | * config/xtensa/xtensa.c (xtensa_option_optimization_table, |
1964 | TARGET_DEFAULT_TARGET_FLAGS, TARGET_OPTION_OPTIMIZATION_TABLE): | |
1965 | Move to xtensa-common.c. | |
1966 | * cfglayout.c: Include common/common-target.h. | |
1967 | (fixup_reorder_chain): Use targetm_common.have_named_sections. | |
1968 | * cfgrtl.c: Include common/common-target.h. | |
1969 | (force_nonfallthru_and_redirect, commit_one_edge_insertion): Use | |
1970 | targetm_common.have_named_sections. | |
1971 | * dbxout.c: Include common/common-target.h. | |
1972 | (dbxout_function_end): Use targetm_common.have_named_sections. | |
1973 | * defaults.h (STACK_OLD_CHECK_PROTECT, STACK_CHECK_PROTECT): Use | |
1974 | targetm_common.except_unwind_info. | |
1975 | * dwarf2out.c: Include common/common-target.h. | |
1976 | (dwarf2out_do_frame, dwarf2out_do_cfi_asm, | |
1977 | dwarf2out_begin_prologue, dwarf2out_frame_init, | |
1978 | dwarf2out_frame_finish, dwarf2out_assembly_start): Use | |
1979 | targetm_common.except_unwind_info. | |
1980 | * except.c: Include common/common-target.h. | |
1981 | (init_eh, finish_eh_generation, | |
1982 | output_one_function_exception_table): Use | |
1983 | targetm_common.except_unwind_info. | |
637c11bd | 1984 | (switch_to_exception_section): Use targetm_common.have_named_sections. |
677f3fa8 JM |
1985 | * explow.c: Include common/common-target.h. |
1986 | * expr.c: Include common/common-target.h. | |
637c11bd | 1987 | (build_personality_function): Use targetm_common.except_unwind_info. |
677f3fa8 JM |
1988 | * function.c: Include common/common-target.h. |
1989 | (expand_function_end): Use targetm_common.except_unwind_info. | |
1990 | * haifa-sched.c: Include common/common-target.h. | |
637c11bd | 1991 | (sched_create_recovery_edges): Use targetm_common.have_named_sections. |
677f3fa8 JM |
1992 | * lto-opts.c: Include common/common-target.h instead of target.h. |
1993 | (lto_reissue_options): Use targetm_common.handle_option. | |
1994 | * opts.c: Include common/common-target.h. | |
1995 | (target_handle_option): Use targetm_common.handle_option. | |
1996 | (init_options_struct): Update comment referring to | |
1997 | targetm.target_option.optimization. Use | |
1998 | targetm_common.default_target_flags, | |
1999 | targetm_common.unwind_tables_default and | |
2000 | targetm_common.option_init_struct. | |
2001 | (default_options_optimization): Use | |
2002 | targetm_common.option_optimization_table. | |
2003 | (finish_options): Use targetm_common.except_unwind_info, | |
2004 | targetm_common.unwind_tables_default, | |
2005 | targetm_common.have_named_sections and | |
2006 | targetm_common.supports_split_stack. | |
2007 | * toplev.c: Include common/common-target.h. | |
2008 | (process_options): Use targetm_common.have_named_sections. | |
2009 | * tree-tailcall.c: Include common/common-target.h. | |
637c11bd | 2010 | (suitable_for_tail_call_opt_p): Use targetm_common.except_unwind_info. |
677f3fa8 | 2011 | * tree.c: Include common/common-target.h. |
637c11bd | 2012 | (build_common_builtin_nodes): Use targetm_common.except_unwind_info. |
677f3fa8 JM |
2013 | * varasm.c: Include common/common-target.h. |
2014 | (resolve_unique_section, hot_function_section, | |
2015 | default_function_section): Use targetm_common.have_named_sections. | |
2016 | ||
d26c7090 ER |
2017 | 2011-06-14 Easwaran Raman <eraman@google.com> |
2018 | ||
2019 | PR rtl-optimization/44194 | |
2020 | * dse.c: Include tree-flow.h | |
2021 | (insn_info): Add new field non_frame_wild_read. | |
2022 | (group_info): Add new fields escaped_n and escaped_p. | |
2023 | (kill_on_calls): New variable. | |
2024 | (get_group_info): Initialize gi->escaped_n and gi->escaped_p. | |
2025 | (dse_step0): Initialize kill_on_calls. | |
2026 | (can_escape): New function. | |
2027 | (set_usage_bits): Add additional parameter; record information | |
2028 | about escaped locations. | |
637c11bd | 2029 | (record_store): Pass EXPR corresponding to MEM to set_usage_bits. |
d26c7090 ER |
2030 | (dse_step2_nospill): Set kill_on_calls based on |
2031 | group->escaped_n and group->escaped_n. | |
2032 | (add_wild_read): Refactor into... | |
2033 | (reset_active_stores): ... New function, and | |
2034 | (free_read_records): ... New function. | |
2035 | (add_non_frame_wild_read): New function. | |
2036 | (scan_insn): Call add_non_frame_wild_read on non-const calls. | |
637c11bd | 2037 | (scan_reads_nospill): Handle instructions with non_frame_wild_read. |
d26c7090 ER |
2038 | (dse_step5_nospill): Call scan_reads_nospill for instructions |
2039 | marked as non_frame_wild_read. | |
637c11bd | 2040 | (dse_step7): Free escaped_n, escaped_p and kill_on_calls bitmaps. |
d26c7090 | 2041 | |
c49a6962 JM |
2042 | 2011-06-14 Joseph Myers <joseph@codesourcery.com> |
2043 | ||
2044 | * common/common-target-def.h, common/common-target.def, | |
2045 | common/common-target.h, common/config/default-common.c, | |
2046 | common/config/pa/pa-common.c: New files. | |
2047 | * Makefile.in (common_out_file, common_out_object_file, | |
2048 | COMMON_TARGET_H, COMMON_TARGET_DEF_H): New. | |
2049 | (OBJS-libcommon-target): Include $(common_out_object_file). | |
2050 | (prefix.o): Update dependencies. | |
2051 | ($(common_out_object_file), common/common-target-hooks-def.h, | |
2052 | s-common-target-hooks-def-h): New. | |
2053 | (s-tm-texi): Also check timestamp on common-target.def. | |
2054 | (build/genhooks.o): Update dependencies. | |
2055 | * config.gcc (common_out_file, target_has_targetm_common): Define. | |
2056 | * config/pa/som.h (ALWAYS_STRIP_DOTDOT): Replace with | |
2057 | TARGET_ALWAYS_STRIP_DOTDOT. | |
2058 | * configure.ac (common_out_object_file): Define. | |
2059 | (common_out_file, common_out_object_file): Substitute. | |
2060 | (common): Create directory. | |
2061 | * configure: Regenerate. | |
2062 | * doc/tm.texi.in (targetm_common): Document. | |
2063 | (TARGET_ALWAYS_STRIP_DOTDOT): Add @hook entry. | |
2064 | * doc/tm.texi: Regenerate. | |
2065 | * genhooks.c (hook_array): Also include common/common-target.def. | |
2066 | * prefix.c (tm.h): Don't include. | |
2067 | (common/common-target.h): Include. | |
2068 | (ALWAYS_STRIP_DOTDOT): Don't define. | |
2069 | (update_path): Use targetm_common.always_strip_dotdot instead of | |
2070 | ALWAYS_STRIP_DOTDOT. | |
2071 | * system.h (ALWAYS_STRIP_DOTDOT): Poison. | |
2072 | ||
22c5fa5f DL |
2073 | 2011-06-14 David Li <davidxl@google.com> |
2074 | ||
2075 | * passes.c (execute_function_todo): Remove TODO_dump_func. | |
2076 | (execute_one_pass): Remove TODO_dump_func. | |
2077 | (execute_function_dump): New function. | |
2078 | * tree-vrp.c: Remove TODO_dump_func. | |
2079 | * regrename.c: Remove TODO_dump_func. | |
2080 | * fwprop.c: Remove TODO_dump_func. | |
2081 | * tree-into-ssa.c: Remove TODO_dump_func. | |
2082 | * tree-complex.c: Remove TODO_dump_func. | |
2083 | * tracer.c: Remove TODO_dump_func. | |
2084 | * tree-loop-distribution.c: Remove TODO_dump_func. | |
2085 | * postreload-gcse.c: Remove TODO_dump_func. | |
2086 | * postreload.c: Remove TODO_dump_func. | |
2087 | * tree-ssa-loop-ch.c: Remove TODO_dump_func. | |
2088 | * tree-tailcall.c: Remove TODO_dump_func. | |
2089 | * ipa-cp.c: Remove TODO_dump_func. | |
2090 | * final.c: Remove TODO_dump_func. | |
2091 | * tree-emutls.c: Remove TODO_dump_func. | |
2092 | * omp-low.c: Remove TODO_dump_func. | |
2093 | * tree-ssa-dse.c: Remove TODO_dump_func. | |
2094 | * tree-ssa-uncprop.c: Remove TODO_dump_func. | |
2095 | * auto-inc-dec.c: Remove TODO_dump_func. | |
2096 | * reorg.c: Remove TODO_dump_func. | |
2097 | * tree-ssa-copyrename.c: Remove TODO_dump_func. | |
2098 | * tree-ssa-ccp.c: Remove TODO_dump_func. | |
2099 | * compare-elim.c: Remove TODO_dump_func. | |
2100 | * mode-switching.c: Remove TODO_dump_func. | |
2101 | * modulo-sched.c: Remove TODO_dump_func. | |
2102 | * tree-call-cdce.c: Remove TODO_dump_func. | |
2103 | * cse.c: Remove TODO_dump_func. | |
2104 | * web.c: Remove TODO_dump_func. | |
2105 | * tree-stdarg.c: Remove TODO_dump_func. | |
2106 | * lto-streamer-out.c: Remove TODO_dump_func. | |
2107 | * tree-ssa-math-opts.c: Remove TODO_dump_func. | |
2108 | * tree-ssa-dom.c: Remove TODO_dump_func. | |
2109 | * tree-nrv.c: Remove TODO_dump_func. | |
2110 | * loop-init.c: Remove TODO_dump_func. | |
2111 | * gimple-low.c: Remove TODO_dump_func. | |
2112 | * ipa-inline.c: Remove TODO_dump_func. | |
2113 | * tree-ssa-sink.c: Remove TODO_dump_func. | |
2114 | * jump.c: Remove TODO_dump_func. | |
2115 | * ifcvt.c: Remove TODO_dump_func. | |
2116 | * tree-ssa-loop.c: Remove TODO_dump_func. | |
2117 | * recog.c: Remove TODO_dump_func. | |
2118 | * dse.c: Remove TODO_dump_func. | |
2119 | * tree-ssa-ifcombine.c: Remove TODO_dump_func. | |
2120 | * matrix-reorg.c: Remove TODO_dump_func. | |
2121 | * tree-eh.c: Remove TODO_dump_func. | |
2122 | * regmove.c: Remove TODO_dump_func. | |
2123 | * function.c: Remove TODO_dump_func. | |
2124 | * tree-vectorizer.c: Remove TODO_dump_func. | |
2125 | * ipa-split.c: Remove TODO_dump_func. | |
2126 | * gcse.c: Remove TODO_dump_func. | |
2127 | * tree-if-conv.c: Remove TODO_dump_func. | |
2128 | * init-regs.c: Remove TODO_dump_func. | |
2129 | * tree-ssa-phiopt.c: Remove TODO_dump_func. | |
2130 | * implicit-zee.c: Remove TODO_dump_func. | |
2131 | * lower-subreg.c: Remove TODO_dump_func. | |
2132 | * bt-load.c: Remove TODO_dump_func. | |
2133 | * tree-dfa.c: Remove TODO_dump_func. | |
2134 | * except.c: Remove TODO_dump_func. | |
2135 | * emit-rtl.c: Remove TODO_dump_func. | |
2136 | * store-motion.c: Remove TODO_dump_func. | |
2137 | * cfgexpand.c: Remove TODO_dump_func. | |
2138 | * tree-cfgcleanup.c: Remove TODO_dump_func. | |
2139 | * cfgcleanup.c: Remove TODO_dump_func. | |
2140 | * tree-ssa-pre.c: Remove TODO_dump_func. | |
2141 | * tree-sra.c: Remove TODO_dump_func. | |
2142 | * tree-mudflap.c: Remove TODO_dump_func. | |
2143 | * tree-ssa-copy.c: Remove TODO_dump_func. | |
2144 | * cfglayout.c: Remove TODO_dump_func. | |
2145 | * tree-ssa-forwprop.c: Remove TODO_dump_func. | |
2146 | * tree-ssa-dce.c: Remove TODO_dump_func. | |
2147 | * ira.c: Remove TODO_dump_func. | |
2148 | * tree-ssa.c: Remove TODO_dump_func. | |
2149 | * integrate.c: Remove TODO_dump_func. | |
2150 | * tree-optimize.c: Remove TODO_dump_func. | |
2151 | * tree-ssa-phiprop.c: Remove TODO_dump_func. | |
2152 | * tree-object-size.c: Remove TODO_dump_func. | |
2153 | * combine.c: Remove TODO_dump_func. | |
2154 | * bb-reorder.c: Remove TODO_dump_func. | |
2155 | * cprop.c: Remove TODO_dump_func. | |
2156 | * var-tracking.c: Remove TODO_dump_func. | |
2157 | * tree-profile.c: Remove TODO_dump_func. | |
2158 | * tree-vect-generic.c: Remove TODO_dump_func. | |
2159 | * reg-stack.c: Remove TODO_dump_func. | |
2160 | * sched-rgn.c: Remove TODO_dump_func. | |
2161 | * tree-ssa-structalias.c: Remove TODO_dump_func. | |
2162 | * tree-switch-conversion.c: Remove TODO_dump_func. | |
2163 | * tree-cfg.c: Remove TODO_dump_func. | |
2164 | * tree-ssa-reassoc.c: Remove TODO_dump_func. | |
2165 | * combine-stack-adj.c: Remove TODO_dump_func. | |
2166 | * dce.c: Remove TODO_dump_func. | |
2167 | * tree-ssanames.c: Remove TODO_dump_func. | |
2168 | * regcprop.c: Remove TODO_dump_func. | |
2169 | ||
fa465762 L |
2170 | 2011-06-14 H.J. Lu <hongjiu.lu@intel.com> |
2171 | ||
2172 | PR middle-end/47364 | |
2173 | * builtins.c (expand_builtin_strlen): Expand strlen to Pmode | |
2174 | and properly handle result not in Pmode. | |
2175 | ||
7d8d16c3 RM |
2176 | 2011-06-14 Robert Millan <rmh@gnu.org> |
2177 | ||
2178 | * config/i386/kfreebsd-gnu.h: Resync with `config/i386/linux.h'. | |
2179 | * config/kfreebsd-gnu.h (GNU_USER_DYNAMIC_LINKER): Resync with | |
2180 | `config/linux.h'. | |
2181 | ||
2182 | * config/i386/kfreebsd-gnu64.h: New file. | |
2183 | * config.gcc (x86_64-*-kfreebsd*-gnu): Replace `i386/kfreebsd-gnu.h' | |
2184 | with `i386/kfreebsd-gnu64.h'. | |
2185 | ||
2186 | * config/i386/linux64.h (GNU_USER_LINK_EMULATION32) | |
2187 | (GNU_USER_LINK_EMULATION64): New macros. | |
2188 | * config/i386/gnu-user64.h (LINK_SPEC): Rely on | |
2189 | `GNU_USER_LINK_EMULATION32' and `GNU_USER_LINK_EMULATION64' instead | |
2190 | of hardcoding `elf_i386' and `elf_x86_64'. | |
2191 | ||
0ccef3d2 NC |
2192 | 2011-06-14 Nick Clifton <nickc@redhat.com> |
2193 | ||
2194 | PR target/49403 | |
2195 | * config/v850/v850.c (v850_memory_move_cost): Add reg_class_t parameter. | |
2196 | ||
2197 | PR target/49402 | |
2198 | * config.gcc(v850*-*-*): Avoid duplication of v850.opt. | |
2199 | ||
8a76c4a0 JJ |
2200 | 2011-06-14 Jakub Jelinek <jakub@redhat.com> |
2201 | ||
1ace6185 JJ |
2202 | PR fortran/49103 |
2203 | * tree.h (DECL_NONSHAREABLE): Define. | |
2204 | (struct tree_decl_common): Change decl_common_unused to | |
2205 | decl_nonshareable_flag. | |
2206 | * cfgexpand.c (expand_used_vars_for_block, clear_tree_used): | |
2207 | Ignore vars with DECL_NONSHAREABLE bit set. | |
2208 | * tree-cfg.c (gimple_duplicate_bb): Set DECL_NONSHAREABLE | |
2209 | on stores to automatic aggregate vars. | |
2210 | ||
8a76c4a0 JJ |
2211 | PR rtl-optimization/49390 |
2212 | Revert: | |
2213 | 2010-06-29 Bernd Schmidt <bernds@codesourcery.com> | |
2214 | ||
2215 | * cse.c (exp_equiv_p): For MEMs, if for_gcse, only compare | |
2216 | MEM_ALIAS_SET. | |
2217 | ||
b4a9343c ZD |
2218 | 2011-06-14 Zdenek Dvorak <ook@ucw.cz> |
2219 | Tom de Vries <tom@codesourcery.com> | |
2220 | ||
2221 | PR target/45098 | |
2222 | * cfgloop.h (nb_iterations_upper_bound, nb_iterations_estimate): | |
2223 | Document changed semantics. | |
2224 | (max_stmt_executions, max_stmt_executions_int): Declare. | |
2225 | * tree-data-ref.c (estimated_loop_iterations) | |
2226 | (estimated_loop_iterations_int): Move functions... | |
2227 | * tree-ssa-loop-niter.c (estimated_loop_iterations) | |
2228 | (estimated_loop_iterations_int): here. | |
2229 | (record_estimate): Change nb_iterations_upper_bound and | |
2230 | nb_iterations_estimate semantics. | |
2231 | (max_stmt_executions, max_stmt_executions_int): New function. | |
2232 | * tree-data-ref.c (estimated_loop_iterations_tree): Rename to ... | |
2233 | (max_stmt_executions_tree): this. | |
2234 | (analyze_miv_subscript): Use max_stmt_executions_tree instead of | |
2235 | estimated_loop_iterations_tree. | |
2236 | tree-ssa-loop-ivopts.c (avg_loop_niter): Use | |
2237 | max_stmt_executions_int instead of estimated_loop_iterations_int. | |
2238 | * predict.c (predict_loops): Idem. | |
2239 | * tree-parloops.c (parallelize_loops): Idem. | |
2240 | * tree-data-ref.c (analyze_siv_subscript_cst_affine) | |
2241 | (compute_overlap_steps_for_affine_1_2, analyze_subscript_affine_affine) | |
2242 | (init_omega_for_ddr_1): Idem. | |
2243 | * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse) | |
2244 | (loop_prefetch_arrays): Idem | |
2245 | * graphite-sese-to-poly.c (build_loop_iteration_domains): Use | |
2246 | max_stmt_executions instead of estimated_loop_iterations. | |
2247 | * tree-data-ref.c (estimated_loop_iterations_tree): Idem. | |
2248 | * tree-vrp.c (adjust_range_with_scev): Use estimated_loop_iterations | |
2249 | instead of nb_iterations_upper_bound. | |
2250 | ||
d2640c43 JH |
2251 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
2252 | ||
2253 | * ipa.c (cgraph_address_taken_from_non_vtable_p): Check the ref type. | |
2254 | ||
40873cdd RH |
2255 | 2011-06-14 Richard Henderson <rth@redhat.com> |
2256 | ||
2257 | PR debug/48459 | |
2258 | * dwarf2out.c (frame_pointer_fb_offset_valid): New. | |
2259 | (based_loc_descr): Assert it's true. | |
2260 | (compute_frame_pointer_to_fb_displacement): Set it, rather than | |
2261 | aborting immediately. | |
2262 | ||
73e8cb24 SL |
2263 | 2011-06-14 Sanjin Liu <scliu@faraday-tech.com> |
2264 | Mingfeng Wu <mingfeng@faraday-tech.com> | |
2265 | ||
2266 | * doc/invoke.texi: Re-add missing -mcpu docs for Faraday cores. | |
2267 | ||
f835f0a7 JH |
2268 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
2269 | ||
2270 | * ipa-cp.c (ipcp_iterate_stage): Revert accidental commit. | |
2271 | ||
ee6f1177 JH |
2272 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
2273 | ||
2274 | * cgraph.c (cgraph_make_decl_local): Handle DECL_ONE_ONLY | |
2275 | similarly to DECL_COMDAT. | |
2276 | * cgraphunit.c (cgraph_analyze_function): Likewise. | |
2277 | * ipa.c (function_and_variable_visibility): Likewise. | |
2278 | ||
618abf9a JH |
2279 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
2280 | ||
2281 | * lto-streamer-out.c (lto_output_ts_binfo_tree_pointers): Do not output | |
2282 | BINFO_VIRTUALS when streaming for ltrans unit. | |
2283 | ||
a45fe02f DE |
2284 | 2011-06-13 David Edelsohn <dje.gcc@gmail.com> |
2285 | ||
2286 | * config/rs6000/rs6000.md (movdi_mfpgpr): Remove POWER mnemonic. | |
2287 | (movdi_internal64): Same. | |
2288 | ||
2289 | 2011-06-13 Edmar Wienskoski <edmar@freescale.com> | |
2290 | ||
e641e495 | 2291 | PR target/44618 |
7d8d16c3 RM |
2292 | * config/rs6000/rs6000.md (save_gpregs_<mode>): Replaced pattern with |
2293 | a set of similar patterns, where the MATCH_OPERAND for the function | |
2294 | argument is replaced with individual references to hardware registers. | |
a45fe02f DE |
2295 | (save_fpregs_<mode>): Ditto |
2296 | (restore_gpregs_<mode>): Ditto | |
2297 | (return_and_restore_gpregs_<mode>): Ditto | |
2298 | (return_and_restore_fpregs_<mode>): Ditto | |
2299 | (return_and_restore_fpregs_aix_<mode>): Ditto | |
2300 | ||
8775a18b JH |
2301 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
2302 | ||
2303 | * ipa-utils.c (postorder_stack): New structure. | |
2304 | (ipa_reverse_postorder): Handle aliases. | |
2305 | ||
2306 | 2011-06-13 Jan Hubicka <jh@suse.cz> | |
2307 | ||
2308 | * ipa-inline.c (reset_edge_caches): Walk aliases. | |
2309 | (update_caller_keys): Do not test inlinability of aliases. | |
2310 | * ipa-inline-analysis.c (do_estimate_edge_time): Look through alias. | |
2311 | (do_estimate_growth): Fix typo. | |
2312 | ||
6c69a029 JH |
2313 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
2314 | ||
2315 | * ipa-inline-transform.c (+can_remove_node_now_p_1): Break out from... | |
2316 | (can_remove_node_now_p): ... here; handle same comdat groups. | |
2317 | (clone_inlined_nodes): Update use of can_remove_node_now_p add TODO. | |
2318 | (inline_call): Update use of can_remove_node_now_p. | |
2319 | ||
10c63ba4 | 2320 | 2011-06-13 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
495f8c14 | 2321 | |
10c63ba4 | 2322 | * config/h8300/h8300.md (bsetqi_msx, bclrqi_msx, bnotqi_msx): Added |
495f8c14 KP |
2323 | condition to disallow non-identical memory locations. |
2324 | (*andqi3_2, andqi3_1, iorqi3_1, xorqi3_1): Reorder insn to give | |
2325 | preference to bit manipulation instructions. | |
495f8c14 | 2326 | |
9aa3f5c5 JH |
2327 | 2011-06-13 Jan Hubicka <jh@suse.cz> |
2328 | ||
2329 | * cgraph.c (cgraph_for_node_thunks_and_aliases, | |
2330 | cgraph_for_node_and_aliases): Fix thinko in recursive walking. | |
2331 | (nonremovable_p): New function. | |
2332 | (cgraph_can_remove_if_no_direct_calls_p): New function. | |
2333 | (used_from_object_file_p): New functoin. | |
10c63ba4 EB |
2334 | (cgraph_will_be_removed_from_program_if_no_direct_calls): Look for |
2335 | references from aliases. | |
9aa3f5c5 JH |
2336 | * cgraph.h (cgraph_can_remove_if_no_direct_calls_p): Bring offline. |
2337 | * ipa-inline.c (check_caller_edge): New function. | |
10c63ba4 EB |
2338 | (want_inline_function_called_once_p): Use it; accept aliases called |
2339 | once, too. | |
9aa3f5c5 JH |
2340 | * ipa-inline-analysis.c (do_estimate_growth): Remove FIXME. |
2341 | ||
30cecf17 RR |
2342 | 2011-06-13 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
2343 | ||
2344 | PR target/48454 | |
2345 | * config/arm/neon.md (vec_pack_trunc): Set the lengths | |
2346 | correctly for the case with Quad vectors. | |
2347 | ||
29f85237 JJ |
2348 | 2011-06-13 Jakub Jelinek <jakub@redhat.com> |
2349 | Ira Rosen <ira.rosen@linaro.org> | |
2350 | ||
2351 | PR tree-optimization/49352 | |
2352 | * tree-vect-loop.c (vect_is_slp_reduction): Don't count debug uses at | |
2353 | all, make sure loop_use_stmt after the loop is a def stmt of a used | |
2354 | SSA_NAME that is the only one defined inside of the loop. Don't | |
2355 | check for COND_EXPR and GIMPLE_BINARY_RHS. | |
2356 | (vect_is_simple_reduction_1): Call vect_is_slp_reduction only if | |
2357 | check_reduction is true. | |
2358 | ||
c3e3f090 JH |
2359 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
2360 | ||
2361 | PR middle-end/49373 | |
2362 | * ipa.c (cgraph_externally_visible_p): Check resolution info. | |
2363 | ||
516e0768 JH |
2364 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
2365 | ||
2366 | PR middle-end/48836 | |
2367 | * ipa-inline-transform.c: Include tree-pass.h | |
2368 | (inline_transform): Set TODO_update_ssa_only_virtuals. | |
2369 | * Makefile.in (ipa-inline-transform.o): Add tree-pass.h. | |
2370 | ||
903b0a8b JH |
2371 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
2372 | ||
2373 | PR middle-end/49378 | |
2374 | * ipa.c (cgraph_non_local_node_p_1, cgraph_local_node_p): Rule out | |
2375 | aliases and thunks. | |
2376 | ||
44542f8e IR |
2377 | 2011-06-12 Ira Rosen <ira.rosen@linaro.org> |
2378 | ||
2379 | * tree-vect-data-refs.c (vect_peeling_hash_get_most_frequent): | |
2380 | Take number of iterations to peel into account for equally frequent | |
2381 | misalignment values. | |
2382 | ||
ea89702b JH |
2383 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
2384 | ||
637c11bd UB |
2385 | * lto-streamer-out.c (produce_symtab): Stream out the newly |
2386 | represented aliases. | |
ea89702b | 2387 | |
380ed5ed JH |
2388 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
2389 | ||
637c11bd UB |
2390 | * ipa-prop.c (ipa_make_edge_direct_to_target): Fix code setting |
2391 | varying args. | |
380ed5ed JH |
2392 | (ipa_update_after_lto_read): Likewise. |
2393 | (ipa_write_node_info): Do not sream call_with_var_arguments. | |
2394 | (ipa_read_node_info): Likewise. | |
2395 | ||
00cfc363 JH |
2396 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
2397 | ||
2398 | * ipa.c (cgraph_comdat_can_be_unshared_p): Fix pasto. | |
2399 | ||
39e2db00 JH |
2400 | 2011-06-11 Jan Hubicka <jh@suse.cz> |
2401 | ||
2402 | * lto-symtab.c (lto_cgraph_replace_node): Kill same body alias code. | |
2403 | (lto_symtab_resolve_can_prevail_p): Likewise. | |
2404 | (lto_symtab_merge_cgraph_nodes): Update merging of aliases. | |
2405 | * cgraph.c (same_body_aliases_done): New global var. | |
2406 | (cgraph_same_body_alias_1): Rename to ... | |
2407 | (cgraph_create_function_alias): ... this one; reorg to new | |
2408 | representation. | |
2409 | (cgraph_same_body_alias): Use cgraph_create_function_alias; | |
2410 | record references when asked to. | |
2411 | (cgraph_add_thunk): Fix formating. | |
2412 | (cgraph_get_node): Kill same body alias code. | |
2413 | (cgraph_node_for_asm): Likewise. | |
2414 | (cgraph_remove_same_body_alias): Remove. | |
2415 | (cgraph_remove_node): Kill same body alias code. | |
2416 | (cgraph_mark_address_taken_node): Mark also the aliased function | |
2417 | as having address taken. | |
2418 | (dump_cgraph_node): Dump same body aliases. | |
2419 | (cgraph_for_node_thunks_and_aliases): Update for new alias | |
2420 | representation. | |
2421 | (cgraph_for_node_and_aliases): Likewise. | |
2422 | * cgraph.h (same_body): Kll pointer. | |
2423 | (same_body_alias): Update comment. | |
2424 | (same_body_aliases_done): Declare. | |
2425 | (cgraph_remove_same_body_alias): Remove declaration. | |
2426 | (cgraph_create_function_alias): Declare. | |
2427 | (cgraph_process_same_body_aliases): Declare. | |
2428 | (cgraph_function_with_gimple_body_p): Check for alias. | |
2429 | (cgraph_can_remove_if_no_direct_calls_p): Look for aliases. | |
2430 | (cgraph_alias_aliased_node): New function. | |
2431 | (cgraph_function_node): Update for new aliases. | |
2432 | (cgraph_function_or_thunk_node): Likewise. | |
2433 | * ipa-inline-transform.c (can_remove_node_now_p): Look for aliases. | |
2434 | (inline_call): Remove dead aliases. | |
10c63ba4 EB |
2435 | * cgraphunit.c (cgraph_decide_is_function_needed): Disable assembler |
2436 | name hack for same body aliases. | |
39e2db00 JH |
2437 | (clone_of_p): Look through aliases. |
2438 | (verify_cgraph_node): Verify aliases. | |
2439 | (cgraph_analyze_function): Analyze aliases; fixup C++ bugs. | |
2440 | (cgraph_process_same_body_aliases): New function. | |
2441 | (process_function_and_variable_attributes): Disable weakref warning on | |
2442 | alias. | |
2443 | (cgraph_analyze_functions): Handle aliases. | |
2444 | (cgraph_mark_functions_to_output): Handle aliases same way as thunks. | |
2445 | (assemble_thunks): Rename to ... | |
2446 | (assemble_thunks_and_aliases): ... this one; handle aliases, too. | |
2447 | (cgraph_expand_function): Remove alias output code. | |
2448 | (cgraph_output_in_order): Skip aliases. | |
2449 | (cgraph_preserve_function_body_p): Aliases don't need preserving. | |
2450 | * ipa-ref.c (ipa_ref_use_name): Add alias reference. | |
2451 | (ipa_record_reference): Do not assert on alias references. | |
2452 | (ipa_ref_has_aliases_p): New function. | |
2453 | * ipa-ref.h (enum ipa_ref_use): Add IPA_REF_ALIAS. | |
2454 | (ipa_ref_has_aliases_p): Declare. | |
2455 | * lto-cgraph.c (lto_output_node): Handle aliases. | |
2456 | (input_node): Likewise. | |
2457 | * lto-streamer-out.c (lto_output): Skip aliases. | |
2458 | (produce_symtab): Kill same_body_alias code. | |
2459 | * ipa-utils.c (ipa_reverse_postorder): Add FIXME. | |
2460 | (ipa_reverse_postorder): Use cgraph_only_called_directly_or_aliased_p. | |
2461 | * ipa-inline.c (update_caller_keys): Walk aliases. | |
2462 | (inline_small_functions): Fix thinko in previous patch. | |
2463 | * ipa.c (cgraph_externally_visible_p): Do not walk aliases. | |
2464 | (function_and_variable_visibility): Do not walk same body aliases. | |
2465 | * tree-ssa-structalias.c (associate_varinfo_to_alias): New function. | |
2466 | (ipa_pta_execute): Use it. | |
2467 | ||
9ee65b55 UB |
2468 | 2011-06-11 Uros Bizjak <ubizjak@gmail.com> |
2469 | ||
2470 | * config/i386/sse.md (vec_dupv4sf): Correct mode of forced register. | |
2471 | (*vec_dupv2df): Rename from vec_dupv2df. | |
2472 | (vec_dupv2df): New expander. | |
2473 | ||
2474 | 2011-06-11 Uros Bizjak <ubizjak@gmail.com> | |
2475 | ||
2476 | * config/i386/sse.md (AVX_VEC_DUP_MODE): Rename from AVX256MODE24P. | |
2477 | ||
2478 | 2011-06-11 Uros Bizjak <ubizjak@gmail.com> | |
2479 | ||
2480 | * config/i386/i386.md: Use default value in "isa" attribute. | |
2481 | * config/i386/sse.md: Ditto. | |
2482 | * config/i386/mmx.md: Ditto. | |
2483 | ||
ba68a139 WG |
2484 | 2011-06-10 Wei Guozhi <carrot@google.com> |
2485 | ||
2486 | PR target/45335 | |
2487 | * config/arm/ldmstm.md (ldm2_ia, stm2_ia, ldm2_ib, stm2_ib, ldm2_da, | |
2488 | stm2_da, ldm2_db, stm2_db): Add condition !arm_arch7 to these insns. | |
2489 | (ldrd, ldrd_reg1, ldrd_reg2 and peephole2): New insn patterns and | |
2490 | related peephole2. | |
2491 | (strd, strd_reg1, strd_reg2 and peephole2): New insn patterns and | |
2492 | related peephole2. | |
2493 | * config/arm/arm-protos.h (arm_check_ldrd_operands): New prototype. | |
2494 | (arm_legitimate_ldrd_p): New prototype. | |
2495 | (arm_output_ldrd): New prototype. | |
2496 | * config/arm/arm.c (arm_check_ldrd_operands): New function. | |
2497 | (arm_legitimate_ldrd_p): New function. | |
2498 | (arm_output_ldrd): New function. | |
2499 | ||
deced1e2 XDL |
2500 | 2011-06-10 David Li <davidxl@google.com> |
2501 | ||
2502 | * cgraphunit.c (cgraph_finalize_compilation_unit): Pass dump. | |
2503 | * passes.c (passr_eq): New function. | |
2504 | (create_pass_tab): New function. | |
2505 | (pass_traverse): New function. | |
2506 | (dump_one_pass): New function. | |
2507 | (dump_pass_list): New function. | |
2508 | (dump_passes): New function. | |
2509 | ||
71fb4f92 JH |
2510 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
2511 | ||
2512 | * cgraph.c (cgraph_set_nothrow_flag_1): Update cgraph after | |
2513 | setting the nothrow flag. | |
2514 | * ipa-reference.c (propagate): Skip aliases. | |
2515 | * ipa-pure-const.c (propagate_pure_const): Skip aliases. | |
2516 | (propagate_nothrow): Skip aliases; do not update cgraph. | |
2517 | (local_pure_const): Do not update cgraph. | |
2518 | * tree-profile.c (tree_profiling): Do fixup_cfg. | |
2519 | ||
41817394 JH |
2520 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
2521 | ||
2522 | * ipa.c (cgraph_non_local_node_p_1): Break out from ...; | |
2523 | (cgraph_local_node_p): ... here; handle aliases. | |
2524 | (has_addr_references_p): Break out from ...; | |
2525 | (cgraph_remove_unreachable_nodes) ... here. | |
2526 | ||
fb37c1de JH |
2527 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
2528 | ||
2529 | * opts.c (default_options): Enlist OPT_finline_functions_called_once. | |
9ee65b55 UB |
2530 | * common.opt (flag_inline_functions_called_once): Do not |
2531 | initialize to 1. | |
fb37c1de | 2532 | |
0818c24c JH |
2533 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
2534 | ||
2535 | * ipa-cp.c (ipcp_versionable_function_p): Thunks are not versionable. | |
9ee65b55 UB |
2536 | (ipcp_initialize_node_lattices): Do not deal with aliases; |
2537 | Do not try to propagate through thunks. | |
0818c24c JH |
2538 | (ipcp_change_tops_to_bottom): Do not deal with aliases. |
2539 | ||
c8246dbe JH |
2540 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
2541 | ||
9ee65b55 UB |
2542 | * ipa-prop.c (ipa_write_node_info): Stream jump functions |
2543 | for indirect calls. | |
c8246dbe JH |
2544 | (ipa_read_node_info): Likewise. |
2545 | ||
d7e2a1c1 BS |
2546 | 2011-06-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
2547 | ||
2548 | PR lto/49302 | |
2549 | * tree-ssa-math-opts.c (powi_as_mults): Minor cleanup. | |
2550 | (build_and_insert_call): Likewise. | |
2551 | (build_and_insert_ref): New. | |
2552 | (gimple_expand_builtin_pow): Minor cleanup. | |
2553 | (gimple_expand_builtin_cabs): New. | |
2554 | (execute_cse_sincos): Add case for BUILT_IN_CABS. | |
9ee65b55 | 2555 | |
749f25d8 JH |
2556 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
2557 | ||
2558 | * ipa-cp.c (ipcp_versionable_function_p): Aliases are not versionable. | |
2559 | (ipcp_cloning_candidate_p): Aliases are not clonning candidates. | |
2560 | (ipcp_initialize_node_lattices): We don't propagate through an aliases. | |
2561 | (ipcp_propagate_stage): Skip aliases when propagating. | |
2562 | (ipcp_need_redirect_p): Skip aliases. | |
2563 | (ipcp_insert_stage): Use FOR_EACH_FUNCTION_WITH_GIMPLE_BODY and | |
2564 | collect_callers_of_node. | |
2565 | * ipa-prop.c (ipa_init_func_list): Do not analyze datastructures | |
2566 | for aliases. | |
2567 | (ipa_compute_jump_functions): Look through aliases. | |
2568 | ||
8340fbd7 RO |
2569 | 2011-06-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2570 | ||
2571 | * doc/sourcebuild.texi (Effective-Target Keywords, pie): Document it. | |
2572 | ||
9aaa7e47 HPN |
2573 | 2011-06-10 Hans-Peter Nilsson <hp@axis.com> |
2574 | ||
2575 | * ira-costs.c: Remove #ifdefs on dead FORBIDDEN_INC_DEC_CLASSES. | |
2576 | Adjust comments. | |
2577 | * system.h (FORBIDDEN_INC_DEC_CLASSES): Poison. | |
2578 | ||
f1724940 JH |
2579 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
2580 | ||
2581 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): | |
2582 | Update call of gimple_get_virt_method_for_binfo. | |
2583 | * gimple-fold.c (gimple_get_virt_method_for_binfo): Remove | |
2584 | refuse_thunks parameter. | |
2585 | (gimple_fold_call): Update. | |
2586 | * ipa-prop.c (try_make_edge_direct_virtual_call): Update. | |
2587 | ||
a6f834c5 JH |
2588 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
2589 | ||
2590 | * tree-sra.c (all_callers_have_enough_arguments_p): Rename to ... | |
2591 | (not_all_callers_have_enough_arguments_p): ... this one; turn into | |
2592 | worker for cgraph_for_node_and_aliases. | |
2593 | (convert_callers_for_node): Break out from ... | |
2594 | (convert_callers): ... here. | |
2595 | (modify_function): Use collect_callers_of_node. | |
2596 | (ipa_early_sra): Use cgraph_for_node_and_aliases. | |
2597 | ||
7871eee3 RG |
2598 | 2011-06-10 Richard Guenther <rguenther@suse.de> |
2599 | ||
2600 | PR tree-optimization/49361 | |
2601 | * fold-const.c (fold_binary_loc): Only fold x * x to pow (x, 2.0) | |
2602 | when not already in gimple form. | |
2603 | ||
dae957ae RG |
2604 | 2011-06-10 Richard Guenther <rguenther@suse.de> |
2605 | ||
2606 | PR bootstrap/49344 | |
2607 | * tree-ssa-math-opts.c (convert_mult_to_fma): Use | |
2608 | FOR_EACH_PHI_OR_STMT_USE. | |
2609 | ||
a5b1779f JH |
2610 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
2611 | ||
2612 | * ipa-inline-transform.c (can_remove_node_now_p): Move out of... | |
2613 | (clone_inlined_nodes): ... here. | |
2614 | (inline_call): Use cgraph_function_or_thunk_node; redirect edge | |
2615 | to real destination prior inlining. | |
2616 | * ipa-inline.c (caller_growth_limits, can_inline_edge_p, | |
2617 | can_early_inline_edge_p, want_early_inline_function_p, | |
2618 | want_early_inline_function_p, want_inline_small_function_p, | |
2619 | want_inline_self_recursive_call_p, want_inline_function_called_once_p, | |
2620 | edge_badness, update_all_callee_keys, lookup_recursive_calls, | |
2621 | add_new_edges_to_heap, inline_small_functions, flatten_function, | |
2622 | inline_always_inline_functions, early_inline_small_functions): Use | |
2623 | cgraph_function_or_thunk_node. | |
2624 | * ipa-inline-analysis.c (evaluate_conditions_for_edge, | |
2625 | dump_inline_edge_summary, estimate_function_body_sizes): Likewise. | |
2626 | (do_estimate_edge_growth_1): Break out from ... | |
2627 | (do_estimate_growth) ... here; walk aliases. | |
2628 | (inline_generate_summary): Skip aliases. | |
2629 | ||
c1ae3ca5 RG |
2630 | 2011-06-10 Richard Guenther <rguenther@suse.de> |
2631 | ||
9ee65b55 UB |
2632 | * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Scan stmts |
2633 | forward when combining, visit inserted stmts when a stmt was changed. | |
c1ae3ca5 | 2634 | |
b504a918 PC |
2635 | 2011-06-10 Paolo Carlini <paolo.carlini@oracle.com> |
2636 | ||
2637 | * tree.h (error_operand_p): Add. | |
2638 | * dbxout.c (dbxout_type_fields): Use the latter. | |
2639 | * c-decl.c (add_stmt): Likewise. | |
2640 | * gimplify.c (omp_add_variable, omp_notice_variable, | |
2641 | gimplify_scan_omp_clauses): Likewise. | |
2642 | ||
3f5ea9dc | 2643 | 2011-06-10 Georg-Johann Lay <avr@gjlay.de> |
b504a918 | 2644 | |
3f5ea9dc GJL |
2645 | * config/avr/avr.c (avr_function_arg_advance): Fix thinko about |
2646 | when a value is actually passed in regs. | |
2647 | ||
b11b0904 | 2648 | 2011-06-10 Eric Botcazou <ebotcazou@adacore.com> |
870c3cf8 | 2649 | Laurent Rougé <laurent.rouge@menta.fr> |
b11b0904 EB |
2650 | |
2651 | * doc/invoke.texi (SPARC options): Add -mflat. | |
2652 | * config/sparc/sparc.opt: Likewise. | |
2653 | * config/sparc/sparc-protos.h (sparc_expand_epilogue): Add parameter. | |
2654 | (sparc_flat_expand_prologue): Declare. | |
2655 | (sparc_flat_expand_epilogue): Likewise. | |
2656 | * config/sparc/sparc.h (CPP_CPU_SPEC): Do not handle -msoft-float. | |
2657 | (CPP_ENDIAN_SPEC): Replace with... | |
2658 | (CPP_OTHER_SPEC): ...this. Also handle -mflat and -msoft-float. | |
2659 | (CPP_SPEC): Adjust to above change. | |
2660 | (EXTRA_SPECS): Likewise. | |
2661 | (SPARC_INCOMING_INT_ARG_FIRST): Add TARGET_FLAT handling. | |
2662 | (INCOMING_REGNO): Likewise. | |
2663 | (OUTGOING_REGNO): Likewise. | |
2664 | (LOCAL_REGNO): Likewise. | |
2665 | (SETUP_FRAME_ADDRESSES): Likewise. | |
2666 | (FIXED_REGISTERS): Set 0 for %fp. | |
2667 | (CALL_USED_REGISTERS): Likewise. | |
2668 | (INITIAL_ELIMINATION_OFFSET): Pass current_function_is_leaf. | |
2669 | (EXIT_IGNORE_STACK): Define to 1 unconditionally. | |
2670 | (RETURN_ADDR_REGNUM): Define. | |
2671 | (RETURN_ADDR_RTX): Use it. | |
2672 | (INCOMING_RETURN_ADDR_REGNUM): Define. | |
2673 | (INCOMING_RETURN_ADDR_RTX): Use it. | |
2674 | (DWARF_FRAME_RETURN_COLUMN): Likewise. | |
2675 | (EH_RETURN_REGNUM): Define. | |
2676 | (EH_RETURN_STACKADJ_RTX): Use it. | |
2677 | (EH_RETURN_HANDLER_RTX): Delete. | |
2678 | (EPILOGUE_USES): Use them and add TARGET_FLAT handling. | |
2679 | * config/sparc/sparc.c (apparent_fsize, actual_fsize, num_gfregs): | |
2680 | Delete. | |
2681 | (struct machine_function): Add frame_size, apparent_frame_size, | |
2682 | frame_base_reg, frame_base_offset, n_global_fp_regs and | |
2683 | save_local_in_regs_p fields. | |
2684 | (sparc_frame_size, sparc_apparent_frame_size, sparc_frame_base_reg, | |
2685 | sparc_frame_base_offset, sparc_n_global_fp_regs, | |
2686 | sparc_save_local_in_regs_p): New macros. | |
2687 | (sparc_option_override): Error out if -fcall-saved-REG is specified | |
2688 | for Out registers. | |
2689 | (eligible_for_restore_insn): Fix formatting. | |
2690 | (eligible_for_return_delay): Likewise. Add TARGET_FLAT handling. | |
2691 | (eligible_for_sibcall_delay): Likewise. | |
2692 | (RTX_OK_FOR_OFFSET_P, RTX_OK_FOR_OLO10_P): Add MODE parameter. | |
2693 | (sparc_legitimate_address_p): Adjust to above change. | |
2694 | (save_global_or_fp_reg_p): New predicate. | |
2695 | (return_addr_reg_needed_p): Likewise. | |
2696 | (save_local_or_in_reg_p): Likewise. | |
2697 | (sparc_compute_frame_size): Use them. Add TARGET_FLAT handling. | |
2698 | (SORR_SAVE, SORR_RESTORE): Delete. | |
2699 | (sorr_pred_t): New typedef. | |
2700 | (sorr_act_t): New enum. | |
2701 | (save_or_restore_regs): Rename to... | |
2702 | (emit_save_or_restore_regs): ...this. Change type of LOW and HIGH | |
2703 | parameters, remove ACTION parameter, add LEAF_FUNCTION_P, SAVE_P, | |
2704 | ACTION_TRUE and ACTION_FALSE parameters. Implement more general | |
2705 | mechanism. Add CFI information for double-word saves in 32-bit mode. | |
2706 | (emit_adjust_base_to_offset): New function extracted from... | |
2707 | (emit_save_or_restore_regs): ...this. Rename the rest to... | |
2708 | (emit_save_or_restore_regs_global_fp_regs): ...this. | |
2709 | (emit_save_or_restore_regs_local_in_regs): New function. | |
2710 | (gen_create_flat_frame_[123]): New functions. | |
2711 | (sparc_expand_prologue): Use SIZE local variable. Adjust. | |
2712 | (sparc_flat_expand_prologue): New function. | |
2713 | (sparc_asm_function_prologue): Add TARGET_FLAT handling. | |
2714 | (sparc_expand_epilogue): Use SIZE local variable. Adjust. | |
2715 | (sparc_flat_expand_epilogue): New function. | |
2716 | (sparc_can_use_return_insn_p): Add TARGET_FLAT handling. | |
2717 | (output_return): Likewise. | |
2718 | (output_sibcall): Likewise. | |
2719 | (sparc_output_mi_thunk): Likewise. | |
2720 | (sparc_frame_pointer_required): Likewise. | |
2721 | (sparc_conditional_register_usage): If TARGET_FLAT, disable the leaf | |
2722 | function optimization. | |
2723 | * config/sparc/sparc.md (flat): New attribute. | |
2724 | (prologue): Add TARGET_FLAT handling. | |
2725 | (save_register_window): Disable if TARGET_FLAT. | |
2726 | (create_flat_frame_[123]): New patterns. | |
2727 | (epilogue): Add TARGET_FLAT handling. | |
2728 | (sibcall_epilogue): Likewise. | |
2729 | (eh_return): New expander. | |
2730 | (eh_return_internal): New insn and splitter. | |
2731 | (return_internal): Add TARGET_FLAT handling. | |
2732 | (untyped_return): Remove bogus test and use RETURN_ADDR_REGNUM. | |
2733 | (save_stack_nonlocal): Use RETURN_ADDR_REGNUM. | |
2734 | (nonlocal_goto): Add TARGET_FLAT handling. | |
2735 | * config/sparc/t-elf: Add -mflat multilib. | |
2736 | * config/sparc/t-leon: Likewise. | |
2737 | ||
fede8efa JH |
2738 | 2011-06-10 Jan Hubicka <jh@suse.cz> |
2739 | ||
2740 | * ipa-utils.c (searchc): Use cgraph_function_or_thunk_node. | |
2741 | * ipa-pure-const.c (analyze_function): Aliases don't need analysis. | |
2742 | (self_recursive_p): Use cgraph_function_node. | |
2743 | (propagate_pure_const): Likewise. | |
2744 | (propagate_nothrow): Likewise. | |
2745 | * ipa-reference.c (ipa_reference_get_not_read_global): Use | |
2746 | cgraph_function_node. | |
2747 | (propagate_bits): Likewise. | |
2748 | (propagate): Likewise. | |
2749 | ||
0127c76f RR |
2750 | 2011-06-10 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
2751 | Richard Earnshaw <rearnsha@arm.com> | |
2752 | ||
9ee65b55 | 2753 | * config/arm/arm.c (const_ok_for_op): Check to see if mvn can be used. |
0127c76f RR |
2754 | * config/arm/vfp.md (*arm_movdi_vfp): Delete. |
2755 | (*thumb2_movdi_vfp): Delete. | |
2756 | (*arm_movdi_vfp_cortexa8): Delete. | |
2757 | (*movdi_vfp): Consolidate from *arm_movdi_vfp and *thumb2_movdi_vfp. | |
2758 | (*movdi_vfp_cortexa8): Likewise. | |
2759 | ||
f93fe5a0 RG |
2760 | 2011-06-10 Richard Guenther <rguenther@suse.de> |
2761 | ||
2762 | * stor-layout.c (initialize_sizetypes): Give names to all | |
2763 | sizetype kinds. | |
2764 | ||
f2164f87 IR |
2765 | 2011-06-10 Ira Rosen <ira.rosen@linaro.org> |
2766 | ||
2767 | PR tree-optimization/49318 | |
2768 | * tree-vect-loop.c (vect_determine_vectorization_factor): Remove | |
2769 | irrelevant pattern statements. | |
2770 | ||
3f91c962 HPN |
2771 | 2011-06-10 Hans-Peter Nilsson <hp@axis.com> |
2772 | ||
3d223145 HPN |
2773 | * system.h (SETJMP_VIA_SAVE_AREA): Poison. |
2774 | ||
3f91c962 HPN |
2775 | PR bootstrap/49354 |
2776 | * ira-costs.c (setup_regno_cost_classes_by_mode): Add missing cast | |
2777 | to last assignment. | |
2778 | ||
b125ad45 JH |
2779 | 2011-06-09 Jan Hubicka <jh@suse.cz> |
2780 | ||
2781 | * cgraphunit.c (cgraph_reset_node): Do not set redefined_extern_inline; | |
2782 | do not recompute reachable flag. | |
2783 | (cgraph_finalize_function, cgraph_analyze_functions): Set | |
2784 | redefined_extern_inline here. | |
2785 | ||
be330ed4 JH |
2786 | 2011-06-09 Jan Hubicka <jh@suse.cz> |
2787 | ||
2788 | * cgraph.h (cgraph_only_called_directly_or_aliased_p): Rename from ... | |
2789 | (cgraph_only_called_directly_p): ... this one; bring offline. | |
2790 | (resolution_used_from_other_file_p, cgraph_used_from_object_file_p, | |
2791 | varpool_used_from_object_file_p): Drop names from the declaratoin. | |
2792 | (cgraph_for_node_thunks_and_aliases, cgraph_for_node_and_aliases, | |
2793 | collect_callers_of_node): New. | |
2794 | (cgraph_function_node, cgraph_function_or_thunk_node): New functions. | |
2795 | (cgraph_edge_recursive_p): Use cgraph_function_node. | |
2796 | * cgraph.c (cgraph_add_thunk): Check that thunk is not already alias. | |
2797 | (cgraph_node_cannot_be_local_p_1): Break out from ... | |
2798 | (cgraph_node_can_be_local_p): ... here; walk aliases. | |
2799 | (cgraph_for_node_thunks_and_aliases): New function. | |
2800 | (cgraph_for_node_and_aliases): New function. | |
2801 | (cgraph_make_node_local_1): Break out from ... | |
9ee65b55 UB |
2802 | (cgraph_make_node_local) ... here; use |
2803 | cgraph_for_node_thunks_and_aliases. | |
be330ed4 | 2804 | (cgraph_set_nothrow_flag_1): Break out from ... |
9ee65b55 UB |
2805 | (cgraph_set_nothrow_flag) ... here; |
2806 | use cgraph_for_node_thunks_and_aliases. | |
be330ed4 | 2807 | (cgraph_set_const_flag_1): Break out from ... |
9ee65b55 UB |
2808 | (cgraph_set_const_flag) ... here; |
2809 | use cgraph_for_node_thunks_and_aliases. | |
be330ed4 | 2810 | (cgraph_set_pure_flag_1): Break out from ... |
9ee65b55 UB |
2811 | (cgraph_set_pure_flag) ... here; |
2812 | use cgraph_for_node_thunks_and_aliases. | |
be330ed4 | 2813 | (cgraph_propagate_frequency_1): Break out from ... |
9ee65b55 UB |
2814 | (cgraph_propagate_frequency) ... here; use |
2815 | cgraph_for_node_thunks_and_aliases. | |
be330ed4 | 2816 | (cgraph_used_from_object_file_p): Do not care about aliases. |
9ee65b55 UB |
2817 | (cgraph_not_only_called_directly_p_1, cgraph_only_called_directly_p): |
2818 | New functions. | |
be330ed4 JH |
2819 | (collect_callers_of_node_1, collect_callers_of_node): New functions. |
2820 | ||
2ea91d6b HPN |
2821 | 2011-06-10 Hans-Peter Nilsson <hp@axis.com> |
2822 | ||
2823 | PR rtl-optimization/49154 | |
2824 | * config/cris/cris.h (FIXED_REGISTERS): Include CRIS_CC0_REGNUM. | |
2825 | (enum reg_class): Add SRP_REGS and MOF_SRP_REGS. | |
2826 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS) | |
2827 | (PREFERRED_RELOAD_CLASS, SECONDARY_RELOAD_CLASS): Adjust to fit. | |
2828 | * config/cris/cris.h (cris_register_move_cost): Remove | |
2829 | !TARGET_V32 code. Tweak comments. | |
2830 | ||
9cf4fb5a JH |
2831 | 2011-06-09 Jan Hubicka <jh@suse.cz> |
2832 | ||
2833 | * cgraphbuild.c (record_eh_tables): Mark personality function as having | |
2834 | address taken. | |
2835 | ||
6049a4c8 HPN |
2836 | 2011-06-10 Hans-Peter Nilsson <hp@axis.com> |
2837 | ||
c577822e | 2838 | PR rtl-optimization/49154 |
9ee65b55 UB |
2839 | * ira-costs.c (setup_regno_cost_classes_by_mode): If there already |
2840 | is a matching slot in the hashtable, assign it to classes_ptr. | |
c577822e | 2841 | |
54e1e4f7 | 2842 | PR rtl-optimization/49154 |
6049a4c8 HPN |
2843 | * doc/tm.texi.in (Register Classes): Document rule for the narrowest |
2844 | register classes. | |
2845 | * doc/tm.texi: Regenerate. | |
2846 | ||
3be68b64 KK |
2847 | 2011-06-09 Kaz Kojima <kkojima@gcc.gnu.org> |
2848 | ||
2849 | PR target/49307 | |
2850 | * config/sh/sh.md (UNSPEC_CHKADD): New. | |
2851 | (chk_guard_add): New define_insn_and_split. | |
2852 | (symGOT_load): Use chk_guard_add instead of blockage. | |
2853 | ||
bf806a90 KT |
2854 | 2011-06-09 Kai Tietz <ktietz@redhat.com> |
2855 | ||
2856 | * libgcc2.c (L_trampoline): Include windows.h for mingw targets. | |
2857 | ||
d5a9738b EB |
2858 | 2011-06-09 Eric Botcazou <ebotcazou@adacore.com> |
2859 | ||
2860 | * config/sparc/sparc.md (return_internal): Adjust 'length' attribute. | |
2861 | ||
527e82c2 WG |
2862 | 2011-06-09 Wei Guozhi <carrot@google.com> |
2863 | ||
2864 | PR target/46975 | |
2865 | * config/arm/arm.md (*addsi3_carryin_compare0_<optab>): New pattern. | |
2866 | (peephole2 for conditional move): Generate 16 bit instructions. | |
2867 | ||
b8bc3a43 UB |
2868 | 2011-06-09 Uros Bizjak <ubizjak@gmail.com> |
2869 | ||
2870 | * config/i386/i386.md (*movdi_internal_rex64): Merge | |
2871 | alternatives 6 and 8. | |
2872 | ||
4745da6e DL |
2873 | 2011-06-09 David Li <davidxl@google.com> |
2874 | ||
2875 | * cgraphunit.c (cgraph_finalize_compilation_unit): Pass dump. | |
2876 | * passes.c (passr_eq): New function. | |
2877 | (create_pass_tab): New function. | |
2878 | (pass_traverse): New function. | |
2879 | (dump_one_pass): New function. | |
2880 | (dump_pass_list): New function. | |
2881 | (dump_passes): New function. | |
2882 | ||
bdf67bcb DL |
2883 | 2011-06-09 David Li <davidxl@google.com> |
2884 | ||
2885 | * tree-complex.c (tree_lower_complex): Gate cleanup. | |
2886 | * tree-stdarg.c (check_all_va_list_escapes): Ditto. | |
2887 | (execute_optimize_stdarg): Ditto. | |
2888 | * tree-eh.c (execute_lower_eh_dispatch): Ditto. | |
2889 | (execute_cleanup_eh_1): Ditto. | |
2890 | (execute_cleanup_eh): Ditto. | |
2891 | * gcse.c (gate_rtl_pre): Ditto. | |
2892 | (execute_rtl_pre): Ditto. | |
2893 | * except.c (finish_eh_generation): Ditto. | |
2894 | (convert_to_eh_region_ranges): Ditto. | |
2895 | * cprop.c (one_cprop_pass): Ditto. | |
2896 | ||
547fdef8 BS |
2897 | 2011-06-09 Bernd Schmidt <bernds@codesourcery.com> |
2898 | ||
2899 | PR target/48673 | |
2900 | * config/ia64/ia64.c (ia64_reorg): Clear BB_DISABLE_SCHEDULE flag | |
2901 | in all basic blocks. | |
2902 | ||
10e48e39 RO |
2903 | 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2904 | ||
2905 | * config/alpha/netbsd.h (ENABLE_EXECUTE_STACK): Remove. | |
2906 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
2907 | * config/alpha/osf5.h (ENABLE_EXECUTE_STACK): Remove. | |
2908 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
2909 | * config/darwin.h (ENABLE_EXECUTE_STACK): Remove. | |
2910 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
2911 | * config/i386/mingw32.h (MINGW_ENABLE_EXECUTE_STACK): Remove. | |
2912 | (ENABLE_EXECUTE_STACK): Remove. | |
2913 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
2914 | [IN_LIBGCC2]: Don't include <windows.h>. | |
2915 | * config/i386/netbsd-elf.h (ENABLE_EXECUTE_STACK): Remove. | |
2916 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
2917 | * config/i386/netbsd64.h (ENABLE_EXECUTE_STACK): Remove. | |
2918 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
2919 | * config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Remove. | |
2920 | * config/openbsd.h (ENABLE_EXECUTE_STACK): Remove. | |
2921 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
2922 | * config/sol2.h (ENABLE_EXECUTE_STACK): Remove. | |
2923 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
2924 | * config/sparc/freebsd.h (ENABLE_EXECUTE_STACK): Remove. | |
2925 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
2926 | * config/sparc/netbsd-elf.h (ENABLE_EXECUTE_STACK): Remove. | |
2927 | (HAVE_ENABLE_EXECUTE_STACK): Define. | |
2928 | * config/alpha/alpha.c (alpha_trampoline_init): Test | |
2929 | HAVE_ENABLE_EXECUTE_STACK. | |
2930 | * config/i386/i386.c (ix86_trampoline_init): Likewise. | |
2931 | * config/sparc/sparc.c (sparc32_initialize_trampoline): Likewise. | |
2932 | (sparc64_initialize_trampoline): Likewise. | |
2933 | * libgcc2.c [L_enable_execute_stack]: Remove. | |
2934 | * system.h (ENABLE_EXECUTE_STACK): Poison. | |
2935 | * doc/tm.texi.in (Trampolines, ENABLE_EXECUTE_STACK): Remove. | |
2936 | * doc/tm.texi: Regenerate. | |
2937 | * Makefile.in (LIBGCC2_CFLAGS): Add -fbuilding-libgcc. | |
2938 | ||
8ced31fe JJ |
2939 | 2011-06-09 Jakub Jelinek <jakub@redhat.com> |
2940 | ||
2941 | PR middle-end/49308 | |
2942 | * dce.c (reset_unmarked_insns_debug_uses): Avoid shadowing insn | |
2943 | variable. After resetting and rescanning insn continue with previous | |
2944 | statement. | |
2945 | ||
ee610fcd RO |
2946 | 2011-06-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2947 | ||
2948 | * configure.ac (gcc_cv_as_hidden): Enable on *-*-darwin*. | |
2949 | (gcc_cv_ld_hidden): Likewise. | |
2950 | * configure: Regenerate. | |
2951 | * config/i386/i386.c (USE_HIDDEN_LINKONCE): Remove TARGET_MACHO. | |
2952 | (ix86_stack_protect_fail): Mark unused. | |
2953 | (TARGET_STACK_PROTECT_FAIL) [TARGET_MACHO]: Don't redefine. | |
2954 | * config/rs6000/rs6000.c (rs6000_assemble_visibility) | |
2955 | [TARGET_MACHO]: Don't define. | |
2956 | (TARGET_ASM_ASSEMBLE_VISIBILITY): Likewise. | |
2957 | (TARGET_STACK_PROTECT_FAIL): Likewise. | |
2958 | (rs6000_stack_protect_fail): Mark unused. | |
2959 | * dwarf2asm.c (dw2_output_indirect_constant_1): Mark decl hidden if | |
b8bc3a43 | 2960 | USE_LINKONCE_INDIRECT. Don't emit .hidden expicitly. |
ee610fcd | 2961 | |
8f2e22ff AK |
2962 | 2011-06-08 Andi Kleen <ak@linux.intel.com> |
2963 | ||
2964 | * varasm.c (get_section): Print location of other conflict | |
2965 | for section conflicts. | |
2966 | ||
815cecbe AK |
2967 | 2011-06-08 Andi Kleen <ak@linux.intel.com> |
2968 | ||
2969 | * config/i386/driver-i386.c (host_detect_local_cpu): | |
2970 | Add model 0x2d Intel CPU. | |
2971 | ||
1460ec5c AK |
2972 | 2011-06-08 Andi Kleen <ak@linux.intel.com> |
2973 | ||
2974 | * reginfo.c (global_regs_decl): Add. | |
b8bc3a43 UB |
2975 | (globalize_reg): Add decl parameter. Compute location. Pass location |
2976 | to warnings and add inform. Store decl in global_regs_decl. | |
1460ec5c AK |
2977 | * rtl.h (globalize_reg): Update prototype. |
2978 | * varasm.c (make_decl_rtl): Pass decl to globalize_reg(). | |
2979 | ||
df17530a MX |
2980 | 2011-06-09 Mingjie Xing <mingjie.xing@gmail.com> |
2981 | ||
2982 | * treestruct.def (TS_TYPE_DECL): Fix the printable name typo. | |
2983 | ||
409fed48 KK |
2984 | 2011-06-08 Kaz Kojima <kkojima@gcc.gnu.org> |
2985 | ||
2986 | PR target/49305 | |
2987 | * config/sh/predicates.md (general_movsrc_operand): Check | |
2988 | mode for memory with indexed address for QI and HImode. | |
2989 | (general_movdst_operand): Likewise. | |
2990 | ||
87c16a45 NP |
2991 | 2011-06-09 Nicola Pero <nicola.pero@meta-innovation.com> |
2992 | ||
b8bc3a43 | 2993 | * doc/objc.texi (Traditional GNU Objective-C runtime API): Updated. |
87c16a45 | 2994 | |
49931fcb AO |
2995 | 2011-06-08 Alexandre Oliva <aoliva@redhat.com> |
2996 | ||
2997 | * tree-flow-inline.h (op_iter_init): Reject GIMPLE_PHI stmts. | |
2998 | (num_ssa_operands): Likewise. | |
2999 | (op_iter_init_phiuse): Forward-declare. | |
3000 | (delink_stmt_imm_use): Iterate with FOR_EACH_PHI_OR_STMT_USE. | |
3001 | ||
29494d1f NC |
3002 | 2011-06-08 Nick Clifton <nickc@redhat.com> |
3003 | ||
3004 | * doc/invoke.texi (ARM Options): Update description of | |
3005 | -mthumb-interwork. | |
3006 | ||
4ffae7ff L |
3007 | 2011-06-08 H.J. Lu <hongjiu.lu@intel.com> |
3008 | ||
3009 | * config/i386/driver-i386.c (host_detect_local_cpu): Support | |
3010 | unknown Intel family 0x6 CPUs. | |
3011 | ||
d9c77712 MJ |
3012 | 2011-06-08 Martin Jambor <mjambor@suse.cz> |
3013 | ||
3014 | * tree-sra.c (mark_rw_status): Removed. | |
3015 | (analyze_access_subtree): New parameter parent instead of | |
3016 | mark_read and mark_write, propagate from that. | |
3017 | ||
b1def36c JB |
3018 | 2011-06-08 Julian Brown <julian@codesourcery.com> |
3019 | ||
3020 | * config/arm/arm.c (arm_libcall_uses_aapcs_base): Use correct ABI | |
3021 | for double-precision helper functions in hard-float mode if only | |
3022 | single-precision arithmetic is supported in hardware. | |
3023 | ||
6c8e9fc9 AM |
3024 | 2011-06-08 Alexander Monakov <amonakov@ispras.ru> |
3025 | ||
3026 | PR rtl-optimization/49303 | |
3027 | * sel-sched.c (move_op): Use correct type for 'res'. Verify that | |
3028 | code_motion_path_driver returned 0 or 1. | |
3029 | (sel_region_finish): Clear h_d_i_d. | |
3030 | ||
c2bbcb0d KK |
3031 | 2011-06-08 Kaz Kojima <kkojima@gcc.gnu.org> |
3032 | ||
3033 | * config/sh/sh.c (prepare_move_operands): Set pic register | |
3034 | appropriately for global and local dynamic tls models even | |
3035 | if flag_pic is unset. | |
3036 | ||
6976ae51 JM |
3037 | 2011-06-07 Jason Merrill <jason@redhat.com> |
3038 | ||
3039 | * pretty-print.h (ATTRIBUTE_GCC_PPDIAG): Use GCC_DIAG_STYLE if set. | |
3040 | ||
bb5b1f5e XDL |
3041 | 2011-06-07 Xinliang David Li <davidxl@google.com> |
3042 | * passes.c (enable_disable_pass): Handle assembler name. | |
3043 | (is_pass_explicitly_enabled_or_disabled): Ditto. | |
3044 | ||
91ffe356 RO |
3045 | 2011-06-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3046 | ||
3047 | PR tree-optimization/48497 | |
3048 | * doc/sourcebuild.texi (Directives, dg-additional-options): Document. | |
3049 | ||
06bc3ec7 BS |
3050 | 2011-06-07 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
3051 | ||
3052 | PR tree-optimization/46728 | |
3053 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Change FIXME | |
3054 | to use gimple_val_nonnegative_real_p. | |
3055 | * gimple-fold.c (gimple_val_nonnegative_real_p): New function. | |
3056 | * gimple.h (gimple_val_nonnegative_real_p): New declaration. | |
29494d1f | 3057 | |
c074d740 L |
3058 | 2011-06-07 H.J. Lu <hongjiu.lu@intel.com> |
3059 | ||
3060 | * config/i386/i386.md (*movsf_internal): Optimize AVX check. | |
3061 | ||
8973b112 SG |
3062 | 2011-06-07 Sergey Grechanik <mouseentity@ispras.ru> |
3063 | ||
3064 | * config/arm/arm.c (coproc_secondary_reload_class): Return NO_REGS for | |
3065 | constant vectors. | |
3066 | ||
67b88453 RG |
3067 | 2011-06-07 Richard Guenther <rguenther@suse.de> |
3068 | ||
3069 | * stor-layout.c (initialize_sizetypes): Initialize all | |
3070 | sizetypes based on target definitions. | |
3071 | (set_sizetype): Remove. | |
3072 | * tree.c (build_common_tree_nodes): Do not call set_sizetype. | |
3073 | * tree.h (set_sizetype): Remove. | |
3074 | ||
1dcad079 NC |
3075 | 2011-06-07 Nick Clifton <nickc@redhat.com> |
3076 | ||
3077 | * config.gcc: Unify V850 architecture options and add support for | |
3078 | newer V850 architectures. | |
3079 | * config/v850/t-v850e: Delete. | |
3080 | ||
009db074 RG |
3081 | 2011-06-07 Richard Guenther <rguenther@suse.de> |
3082 | ||
3083 | * tree.c (build_common_tree_nodes): Also initialize size_type_node. | |
3084 | Call set_sizetype from here. | |
3085 | ||
f373314f AS |
3086 | 2011-06-07 Andrew Stubbs <ams@codesourcery.com> |
3087 | ||
3088 | * config/arm/arm.md (*maddhidi4tb, *maddhidi4tt): New define_insns. | |
3089 | (*maddhisi4tb, *maddhisi4tt): New define_insns. | |
3090 | ||
c536876e AS |
3091 | 2011-06-07 Bernd Schmidt <bernds@codesourcery.com> |
3092 | Andrew Stubbs <ams@codesourcery.com> | |
3093 | ||
3094 | * simplify-rtx.c (simplify_unary_operation_1): Canonicalize widening | |
3095 | multiplies. | |
3096 | * doc/md.texi (Canonicalization of Instructions): Document widening | |
3097 | multiply canonicalization. | |
3098 | ||
308dc890 JJ |
3099 | 2011-06-07 Jakub Jelinek <jakub@redhat.com> |
3100 | ||
3101 | PR gcov-profile/49299 | |
b8bc3a43 | 3102 | * value-prof.c (gimple_ic): Don't assume icall has a fallthru edge. |
308dc890 | 3103 | |
383d9c83 IR |
3104 | 2011-06-07 Ira Rosen <ira.rosen@linaro.org> |
3105 | ||
3106 | * tree-vectorizer.h (vect_recog_func_ptr): Make last argument to be | |
3107 | a pointer. | |
3108 | * tree-vect-patterns.c (vect_recog_widen_sum_pattern, | |
3109 | vect_recog_widen_mult_pattern, vect_recog_dot_prod_pattern, | |
3110 | vect_recog_pow_pattern): Likewise. | |
3111 | (vect_pattern_recog_1): Remove declaration. | |
3112 | (widened_name_p): Remove declaration. Add new argument to specify | |
3113 | whether to check that both types are either signed or unsigned. | |
3114 | (vect_recog_widen_mult_pattern): Update documentation. Handle | |
3115 | unsigned patterns and multiplication by constants. | |
3116 | (vect_pattern_recog_1): Update vect_recog_func references. Use | |
3117 | statement information from the statement returned from pattern | |
3118 | detection functions. | |
3119 | (vect_pattern_recog): Update vect_recog_func reference. | |
3120 | * tree-vect-stmts.c (vectorizable_type_promotion): For widening | |
3121 | multiplication by a constant use the type of the other operand. | |
3122 | ||
4de4b0f2 RS |
3123 | 2011-06-06 Richard Sandiford <rdsandiford@googlemail.com> |
3124 | ||
3125 | PR rtl-optimization/49145 | |
3126 | * combine.c (make_compound_operation): Handle ZERO_EXTEND specially. | |
3127 | ||
a9d24544 JJ |
3128 | 2011-06-06 Jakub Jelinek <jakub@redhat.com> |
3129 | ||
99a5e049 JJ |
3130 | PR debug/49262 |
3131 | * dwarf2out.c (native_encode_initializer): Decrement count in each | |
3132 | iteration. | |
3133 | ||
04902d4c JJ |
3134 | PR debug/49294 |
3135 | * dwarf2out.c (mem_loc_descriptor) <do_shift>: Give up for | |
3136 | non-MODE_INT modes. | |
3137 | ||
a9d24544 JJ |
3138 | PR c++/49264 |
3139 | * gimple-fold.c (fold_stmt_1): Don't try to fold *& on the lhs | |
3140 | if stmt folded into nothing. | |
b8bc3a43 UB |
3141 | * tree-inline.c (fold_marked_statements): If a builtin at the end of |
3142 | a bb folded into nothing, just update cgraph edges and move to next bb. | |
a9d24544 JJ |
3143 | * cgraph.c (cgraph_update_edges_for_call_stmt_node): Allow new_stmt |
3144 | to be NULL. Don't compute count and frequency if new_call is NULL. | |
3145 | ||
47c79d56 DN |
3146 | 2011-06-04 Diego Novillo <dnovillo@google.com> |
3147 | ||
3148 | * Makefile.in (lto-compress.o): Add dependency on LTO_STREAMER_H. | |
3149 | (cgraph.o): Likewise. | |
3150 | (cgraphunit.o): Likewise. | |
3151 | * cgraphunit.c: Include lto-streamer.h | |
3152 | (cgraph_finalize_compilation_unit): Call lto_streamer_hooks_init | |
3153 | if LTO is enabled. | |
3154 | * lto-streamer-in.c (unpack_value_fields): Call | |
3155 | streamer_hooks.unpack_value_fields if set. | |
3156 | (lto_materialize_tree): For unhandled nodes, first try to | |
3157 | call lto_streamer_hooks.alloc_tree, if it exists. | |
3158 | (lto_input_ts_decl_common_tree_pointers): Move reading of | |
3159 | DECL_INITIAL to lto_streamer_read_tree. | |
3160 | (lto_read_tree): Call lto_streamer_hooks.read_tree if set. | |
3161 | (lto_streamer_read_tree): New. | |
3162 | (lto_reader_init): Rename from lto_init_reader. | |
3163 | Move initialization code to lto/lto.c. | |
3164 | * lto-streamer-out.c (pack_value_fields): Call | |
3165 | streamer_hooks.pack_value_fields if set. | |
b8bc3a43 UB |
3166 | (lto_output_tree_ref): For tree nodes that are not normally indexable, |
3167 | call streamer_hooks.indexable_with_decls_p before giving up. | |
47c79d56 | 3168 | (lto_output_ts_decl_common_tree_pointers): Move handling |
b8bc3a43 UB |
3169 | for FUNCTION_DECL and TRANSLATION_UNIT_DECL to lto_streamer_write_tree. |
3170 | (lto_output_tree_header): Call streamer_hooks.is_streamable instead of | |
3171 | lto_is_streamable. Call lto_streamer_hooks.output_tree_header if set. | |
3172 | (lto_write_tree): Call lto_streamer_hooks.write_tree if set. | |
47c79d56 DN |
3173 | (lto_streamer_write_tree): New. |
3174 | (lto_output): Call lto_streamer_init directly. | |
3175 | (lto_writer_init): Remove. | |
3176 | * lto-streamer.c (streamer_hooks): New. | |
3177 | (lto_streamer_cache_create): Call streamer_hooks.preload_common_nodes | |
3178 | instead of lto_preload_common_nodes. | |
3179 | (lto_is_streamable): Move from lto-streamer.h | |
3180 | (lto_streamer_hooks_init): New. | |
3181 | (streamer_hooks): New. | |
3182 | (streamer_hooks_init): New. | |
3183 | * lto-streamer.h (struct output_block): Forward declare. | |
3184 | (struct lto_input_block): Likewise. | |
3185 | (struct data_in): Likewise. | |
3186 | (struct bitpack_d): Likewise. | |
3187 | (struct streamer_hooks): Declare. | |
3188 | (streamer_hooks): Declare. | |
3189 | (lto_streamer_hooks_init): Declare. | |
3190 | (lto_streamer_write_tree): Declare. | |
3191 | (lto_streamer_read_tree): Declare. | |
3192 | (streamer_hooks_init): Declare. | |
3193 | (lto_is_streamable): Move to lto-streamer.c | |
3194 | ||
22afe143 AK |
3195 | 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
3196 | ||
3197 | * longlong.h (smul_ppmm): The resulting register pair contains the | |
3198 | higher order word first. | |
3199 | ||
3906ea1b BS |
3200 | 2011-06-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
3201 | ||
3202 | PR tree-optimization/46728 | |
3203 | * builtins.c (powi_table): Remove. | |
3204 | (powi_lookup_cost): Remove. | |
3205 | (powi_cost): Remove. | |
3206 | (expand_powi_1): Remove. | |
3207 | (expand_powi): Remove. | |
3208 | (expand_builtin_pow_root): Remove. | |
3209 | (expand_builtin_pow): Remove. | |
3210 | (expand_builtin_powi): Eliminate handling of constant exponent. | |
3211 | (expand_builtin): Use expand_builtin_mathfn_2 for BUILT_IN_POW. | |
b8bc3a43 | 3212 | |
3598cabd AO |
3213 | 2011-06-06 Alexandre Oliva <aoliva@redhat.com> |
3214 | ||
3215 | * cprop.c (local_cprop_pass): Don't set changed for debug insns. | |
3216 | ||
a7a110bb AO |
3217 | 2011-06-06 Alexandre Oliva <aoliva@redhat.com> |
3218 | ||
3219 | * dce.c (reset_unmarked_insns_debug_uses): New. | |
3220 | (delete_unmarked_insns): Skip debug insns. | |
3221 | (prescan_insns_for_dce): Likewise. | |
3222 | (rest_of_handle_ud_dce): Reset debug uses of removed sets. | |
3223 | * reg-stack.c (subst_stack_regs_in_debug_insn): Signal when no | |
3224 | active reg can be found. | |
3225 | (subst_all_stack_regs_in_debug_insn): New. Reset debug insn then. | |
3226 | (convert_regs_1): Use it. | |
3227 | ||
6d8402ac AO |
3228 | 2011-06-06 Alexandre Oliva <aoliva@redhat.com> |
3229 | ||
3230 | * tree-pretty-print.c (dump_function_header): Add flags. | |
3231 | Don't dump decl_uid with nouid. | |
3232 | * tree-pretty-print.h (dump_function_header): Adjust. | |
3233 | * final.c (rest_of_clean_state): Pass dump_flags on, with nouid. | |
3234 | * passes.c (pass_init_dump_file): Pass dump_flags on. | |
3235 | * tree-cfg.c (gimple_dump_cfg): Pass flags on. | |
3236 | ||
f75e1f1e AO |
3237 | 2011-06-06 Alexandre Oliva <aoliva@redhat.com> |
3238 | ||
3239 | PR bootstrap/49270 | |
3240 | * ipa-inline-analysis.c (read_predicate): Initialize all clauses. | |
3241 | ||
275311c4 MP |
3242 | 2011-06-06 Mikael Pettersson <mikpe@it.uu.se> |
3243 | ||
3244 | PR tree-optimization/49243 | |
3245 | * calls.c (setjmp_call_p): Also check if fndecl has the | |
3246 | returns_twice attribute. | |
3247 | ||
aa4203e7 RO |
3248 | 2011-06-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3249 | ||
3250 | * config/mips/iris6.h (ENDFILE_SPEC): Use crtfastmath.o if | |
3251 | -ffast-math etc. | |
3252 | ||
48f9d59a RH |
3253 | 2011-06-06 Richard Henderson <rth@redhat.com> |
3254 | Georg-Johann Lay <avr@gjlay.de> | |
3255 | ||
3256 | PR target/42210 | |
3257 | * config/avr/predicates.md (const1_operand, const_0_to_7_operand): | |
3258 | New predicates. | |
3259 | * config/avr/avr.md ("insv"): New insn expander. | |
3260 | ("*movbitqi.1-6.a", "*movbitqi.1-6.b", "*movbitqi.0", "*insv.io", | |
3261 | "*insv.not.io", "*insv.reg"): New insns. | |
3262 | ||
11494830 HPN |
3263 | 2011-06-06 Hans-Peter Nilsson <hp@bitrange.com> |
3264 | ||
3265 | PR target/49285 | |
b8bc3a43 UB |
3266 | * config/mmix/mmix.md ("truncdfsf2", "extendsfdf2"): Correct predicate |
3267 | to nonimmediate_operand from memory_operand for the operand that is to | |
3268 | be forced to memory by the expander. Lose the constraints. | |
11494830 | 3269 | |
679e70df EB |
3270 | 2011-06-05 Eric Botcazou <ebotcazou@adacore.com> |
3271 | ||
3272 | * config/sparc/sparc.c (output_return): Fix thinko in the output of an | |
3273 | EH return when delayed branches are disabled. | |
3274 | ||
4d3d7f15 UB |
3275 | 2011-06-05 Uros Bizjak <ubizjak@gmail.com> |
3276 | ||
3277 | * config/i386/i386.md (*movdf_internal_rex64) <case 8,9,10>: | |
3278 | Remove MODE_TI handling. Remove SSE1 handling in attribute "mode" | |
3279 | calculation. | |
3280 | (*movdf_internal_rex64) <case 6,7,8>: Remove MODE_TI handling. | |
3281 | Simplify MODE_V1DF and MODE_V2SF handling. | |
3282 | (*movsf_internal): Remove x constraint from alternative 7 of operand 1. | |
3283 | Simplify MODE_SF handling. | |
3284 | ||
a45c0557 JH |
3285 | 2011-06-04 Jan Hubicka <jh@suse.cz> |
3286 | ||
3287 | PR tree-optimization/48893 | |
3288 | PR tree-optimization/49091 | |
3289 | PR tree-optimization/49179 | |
3290 | * ipa-inline-analysis.c (evaluate_conditions_for_known_args): | |
3291 | Bounds check. | |
3292 | ||
26740835 JH |
3293 | 2011-06-04 Jan Hubicka <jh@suse.cz> |
3294 | ||
3295 | PR lto/48954 | |
b8bc3a43 UB |
3296 | * lto-cgraph.c (output_node_opt_summary): Handle NULL skip args |
3297 | bitmaps. | |
26740835 | 3298 | |
014ab419 JW |
3299 | 2011-06-04 Jonathan Wakely <jwakely.gcc@gmail.com> |
3300 | ||
3301 | * doc/invoke.texi: Document -Wdelete-non-virtual-dtor. | |
3302 | ||
407bcba7 JJ |
3303 | 2011-06-04 Jakub Jelinek <jakub@redhat.com> |
3304 | ||
3305 | PR target/49281 | |
3306 | * config/i386/i386.md (*lea_general_4): Require INTVAL (operands[3]) | |
3307 | to be strictly smaller than 1 << shiftcount. | |
3308 | ||
e3195c52 JH |
3309 | 2011-06-04 Jan Hubicka <jh@suse.cz> |
3310 | ||
3311 | PR tree-optimize/48929 | |
3312 | * ipa-inline-analysis.c (remap_edge_predicates): Fix handling | |
3313 | of empty predicate. | |
3314 | ||
047d33a0 AO |
3315 | 2011-06-04 Alexandre Oliva <aoliva@redhat.com> |
3316 | ||
3317 | PR debug/48333 | |
3318 | * calls.c (emit_call_1): Prefer the __builtin declaration of | |
3319 | builtin functions. | |
3320 | ||
dc587809 DN |
3321 | 2011-06-03 Diego Novillo <dnovillo@google.com> |
3322 | ||
3323 | * lto-streamer-in.c (unpack_value_fields): Remove unneeded asserts. | |
3324 | (lto_input_tree_pointers): Likewise. | |
3325 | * lto-streamer-out.c (pack_value_fields): Likewise. | |
3326 | (lto_output_tree_pointers): Likewise. | |
3327 | * lto-streamer.h (lto_is_streamable): Add check for OMP_CLAUSE | |
3328 | and OPTIMIZATION_NODE. | |
3329 | ||
58cd1d70 RO |
3330 | 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3331 | ||
3332 | * config/alpha/linux.h (MD_UNWIND_SUPPORT): Remove. | |
3333 | * config/alpha/osf5.h (MD_UNWIND_SUPPORT): Remove. | |
3334 | * config/alpha/vms.h (MD_UNWIND_SUPPORT): Remove. | |
3335 | * config/bfin/linux.h (MD_UNWIND_SUPPORT): Remove. | |
3336 | * config/bfin/uclinux.h (MD_UNWIND_SUPPORT): Remove. | |
3337 | * config/i386/linux.h (MD_UNWIND_SUPPORT): Remove. | |
3338 | * config/i386/linux64.h (MD_UNWIND_SUPPORT): Remove. | |
3339 | * config/i386/sol2.h (MD_UNWIND_SUPPORT): Remove. | |
3340 | * config/i386/mingw32.h (MD_UNWIND_SUPPORT): Remove. | |
3341 | * config/ia64/linux.h (MD_UNWIND_SUPPORT): Remove. | |
3342 | * config/ia64/vms.h (MD_UNWIND_SUPPORT): Remove. | |
3343 | * config/m68k/linux.h (MD_UNWIND_SUPPORT): Remove. | |
3344 | * config/mips/linux.h (MD_UNWIND_SUPPORT): Remove. | |
3345 | * config/pa/pa-hpux.h (MD_UNWIND_SUPPORT): Remove. | |
3346 | * config/pa/pa32-linux.h (MD_UNWIND_SUPPORT): Remove. | |
3347 | * config/rs6000/darwin.h (MD_UNWIND_SUPPORT): Remove. | |
3348 | * config/rs6000/linux.h (MD_UNWIND_SUPPORT): Remove. | |
3349 | * config/rs6000/linux64.h (MD_UNWIND_SUPPORT): Remove. | |
3350 | * config/s390/linux.h (MD_UNWIND_SUPPORT): Remove. | |
3351 | * config/s390/tpf.h (MD_UNWIND_SUPPORT): Remove. | |
3352 | * config/sh/linux.h (MD_UNWIND_SUPPORT): Remove. | |
3353 | * config/sparc/linux.h (MD_UNWIND_SUPPORT): Remove. | |
3354 | * config/sparc/linux64.h (MD_UNWIND_SUPPORT): Remove. | |
3355 | * config/sparc/sol2.h (MD_UNWIND_SUPPORT): Remove. | |
3356 | * config/xtensa/linux.h (MD_UNWIND_SUPPORT): Remove. | |
3357 | * config/alpha/linux-unwind.h: Move to ../libgcc/config/alpha. | |
3358 | * config/alpha/osf5-unwind.h: Move to ../libgcc/config/alpha. | |
3359 | * config/alpha/vms-unwind.h: Move to ../libgcc/config/alpha. | |
3360 | * config/bfin/linux-unwind.h: Move to ../libgcc/config/bfin. | |
3361 | * config/i386/linux-unwind.h: Move to ../libgcc/config/i386. | |
3362 | * config/i386/sol2-unwind.h: Move to ../libgcc/config/i386. | |
3363 | * config/i386/w32-unwind.h: Move to ../libgcc/config/i386. | |
3364 | * config/ia64/linux-unwind.h: Move to ../libgcc/config/ia64. | |
3365 | * config/ia64/vms-unwind.h: Move to ../libgcc/config/ia64. | |
3366 | * config/m68k/linux-unwind.h: Move to ../libgcc/config/m68k. | |
3367 | * config/mips/linux-unwind.h: Move to ../libgcc/config/mips. | |
3368 | * config/pa/hpux-unwind.h: Move to ../libgcc/config/pa. | |
3369 | * config/pa/linux-unwind.h: Move to ../libgcc/config/pa. | |
3370 | * config/rs6000/darwin-unwind.h: Move to ../libgcc/config/rs6000. | |
3371 | * config/rs6000/linux-unwind.h: Move to ../libgcc/config/rs6000. | |
3372 | * config/s390/linux-unwind.h: Move to ../libgcc/config/s390. | |
3373 | * config/s390/tpf-unwind.h: Move to ../libgcc/config/s390. | |
3374 | * config/sh/linux-unwind.h: Move to ../libgcc/config/sh. | |
3375 | * config/sparc/linux-unwind.h: Move to ../libgcc/config/sparc. | |
3376 | * config/sparc/sol2-unwind.h: Move to ../libgcc/config/sparc. | |
3377 | * config/xtensa/linux-unwind.h: Move to ../libgcc/config/xtensa. | |
3378 | * config/darwin9.h (DARWIN_LIBSYSTEM_HAS_UNWIND): Remove. | |
3379 | * system.h (MD_UNWIND_SUPPORT): Poison. | |
3380 | * doc/tm.texi.in (Exception Handling, MD_UNWIND_SUPPORT): Remove. | |
3381 | * doc/tm.texi: Regenerate. | |
3382 | * unwind-dw2.c: Include md-unwind-support.h instead of | |
3383 | MD_UNWIND_SUPPORT. | |
3384 | * config/ia64/unwind-ia64.c: Likewise. | |
3385 | * config/xtensa/unwind-dw2-xtensa.c: Likewise. | |
3386 | ||
10c63ba4 | 3387 | 2011-06-03 Jack Howarth <howarth@bromo.med.uc.edu> |
34e0c8d5 JH |
3388 | |
3389 | * varpool.c (varpool_extra_name_alias): Return NULL, not false. | |
3390 | ||
1b7a0148 RH |
3391 | 2011-06-03 Richard Henderson <rth@redhat.com> |
3392 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
3393 | ||
3394 | * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__] | |
3395 | (sigill_hdlr): Correct insn, insn size. | |
3396 | (set_fast_math) [!__x86_64__ && __sun__ && __svr4__]: Use movaps. | |
3397 | ||
737346fa RO |
3398 | 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3399 | ||
3400 | * config.gcc (mips-sgi-irix6.5*): Set tmake_file to mips/t-irix6 | |
3401 | t-slibgcc-dummy. | |
3402 | * config/mips/irix-crti.asm: Move to ../libgcc/config/mips/irix-crti.S. | |
3403 | * config/mips/irix-crtn.asm: Move to ../libgcc/config/mips/irix-crtn.S. | |
3404 | * config/mips/t-iris: Remove. | |
3405 | * config/mips/t-irix6: New file. | |
3406 | * config/mips/t-slibgcc-irix: Move to ../libgcc/config/mips. | |
3407 | ||
c192cee6 RO |
3408 | 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3409 | ||
3410 | * Makefile.in (LIB2ADDEHDEP): Remove. | |
3411 | * config/arm/t-bpabi (LIB2ADDEHDEP): Remove. | |
3412 | * config/arm/t-symbian (LIB2ADDEHDEP): Remove. | |
3413 | * config/picochip/t-picochip (LIB2ADDEHDEP): Remove. | |
3414 | * config/t-darwin (LIB2ADDEHDEP): Remove. | |
3415 | * config/t-freebsd (LIB2ADDEHDEP): Remove. | |
3416 | * config/t-linux (LIB2ADDEHDEP): Remove. | |
3417 | ||
d5828cc7 DN |
3418 | 2011-06-03 Diego Novillo <dnovillo@google.com> |
3419 | ||
3420 | * lto-streamer-in.c (get_resolution): Move to lto/lto.c. | |
3421 | (lto_register_var_decl_in_symtab): Likewise. | |
3422 | (lto_register_function_decl_in_symtab): Likewise. | |
3423 | (lto_read_tree): Move VAR_DECL and FUNCTION_DECL registration | |
8929d9ea | 3424 | logic to uniquify_nodes. |
d5828cc7 | 3425 | |
ee33b5f0 RO |
3426 | 2011-06-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3427 | ||
3428 | * config/alpha/t-osf5: Remove. | |
3429 | * config/alpha/t-osf-pthread: Remove. | |
3430 | * config.gcc (alpha*-dec-osf5.1*): Set tmake_file to t-slibgcc-dummy. | |
3431 | * mkmap-flat.awk: Handle osf_export for Tru64 UNIX linker -input file. | |
3432 | ||
16868d84 JB |
3433 | 2011-06-03 Julian Brown <julian@codesourcery.com> |
3434 | ||
3435 | * config/arm/arm-cores.def (strongarm, strongarm110, strongarm1100) | |
3436 | (strongarm1110): Use strongarm tuning. | |
4d3d7f15 | 3437 | * config/arm/arm-protos.h (tune_params): Add max_insns_skipped field. |
16868d84 JB |
3438 | * config/arm/arm.c (arm_strongarm_tune): New. |
3439 | (arm_slowmul_tune, arm_fastmul_tune, arm_xscale_tune, arm_9e_tune) | |
3440 | (arm_v6t2_tune, arm_cortex_tune, arm_cortex_a5_tune) | |
3441 | (arm_cortex_a9_tune, arm_fa726te_tune): Add max_insns_skipped field | |
3442 | setting, using previous defaults or 1 for Cortex-A5. | |
3443 | (arm_option_override): Set max_insns_skipped from current tuning. | |
3444 | ||
1cec1285 NS |
3445 | 2011-06-03 Nathan Sidwell <nathan@codesourcery.com> |
3446 | ||
3447 | * doc/install.texi (Options specification): Document --with-specs. | |
3448 | ||
eed55426 RR |
3449 | 2011-06-02 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
3450 | ||
3451 | * config/arm/neon.md (orndi3_neon): Actually split it. | |
3452 | ||
d5b6cc25 AO |
3453 | 2011-06-02 Alexandre Oliva <aoliva@redhat.com> |
3454 | ||
3455 | * params.def (PARAM_MAX_VARTRACK_EXPR_DEPTH): Bump default to 10. | |
3456 | * var-tracking.c (reverse_op): Limite recurse depth to 5. | |
3457 | ||
2ba42841 AO |
3458 | 2011-06-02 Alexandre Oliva <aoliva@redhat.com> |
3459 | ||
3460 | PR debug/47590 | |
3461 | * target.def (delay_sched2, delay_vartrack): New. | |
3462 | * doc/tm.texi.in: Update. | |
3463 | * doc/tm.texi: Rebuild. | |
3464 | * sched-rgn.c (gate_handle_sched2): Fail if delay_sched2. | |
3465 | * var-tracking.c (gate_handle_var_tracking): Likewise. | |
3466 | * config/bfin/bfin.c (bfin_flag_schedule_insns2): Drop. | |
3467 | (bfin_flag_var_tracking): Drop. | |
3468 | (output_file_start): Don't save and override flag_var_tracking. | |
3469 | (bfin_option_override): Ditto flag_schedule_insns_after_reload. | |
3470 | (bfin_reorg): Test original variables. | |
3471 | (TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define. | |
3472 | * config/ia64/ia64.c (ia64_flag_schedule_insns2): Drop. | |
3473 | (ia64_flag_var_tracking): Drop. | |
3474 | (TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define. | |
3475 | (ia64_file_start): Don't save and override flag_var_tracking. | |
3476 | (ia64_override_options_after_change): Ditto | |
3477 | flag_schedule_insns_after_reload. | |
3478 | (ia64_reorg): Test original variables. | |
3479 | * config/picochip/picochip.c (picochip_flag_schedule_insns2): Drop. | |
3480 | (picochip_flag_var_tracking): Drop. | |
3481 | (TARGET_DELAY_SCHED2, TARGET_DELAY_VARTRACK): Define. | |
3482 | (picochip_option_override): Don't save and override | |
3483 | flag_schedule_insns_after_reload. | |
3484 | (picochip_asm_file_start): Ditto flag_var_tracking. | |
3485 | (picochip_reorg): Test original variables. | |
3486 | * config/spu/spu.c (spu_flag_var_tracking): Drop. | |
3487 | (TARGET_DELAY_VARTRACK): Define. | |
3488 | (spu_var_tracking): New. | |
3489 | (spu_machine_dependent_reorg): Call it. | |
3490 | (asm_file_start): Don't save and override flag_var_tracking. | |
3491 | ||
a700b5f0 KK |
3492 | 2011-06-02 Kaz Kojima <kkojima@gcc.gnu.org> |
3493 | ||
3494 | PR target/49163 | |
3495 | * config/sh/predicates.md (general_movsrc_operand): Return 0 | |
3496 | for memory and memory subreg of which address is an invalid | |
3497 | indexed address for QI and HImode. | |
3498 | (general_movdst_operand): Likewise. | |
3499 | ||
76015c34 EB |
3500 | 2011-06-02 Eric Botcazou <ebotcazou@adacore.com> |
3501 | ||
3502 | * cse.c (cse_find_path): Refine change to exclude EDGE_ABNORMAL_CALL | |
3503 | edges only, when there is a non-local label in the function. | |
3504 | * postreload-gcse.c (bb_has_well_behaved_predecessors): Likewise. | |
3505 | ||
4e76acd2 UB |
3506 | 2011-06-02 Uros Bizjak <ubizjak@gmail.com> |
3507 | ||
3508 | * config/i386/constraints.md (Y3): New register constraint. | |
3509 | * config/i386/sse.md (*vec_interleave_highv2df): Merge with | |
3510 | *sse3_interleave_highv2df and *sse2_interleave_highv2df. | |
3511 | (*vec_interleave_lowv2df): Merge with *sse3_interleave_lowv2df and | |
3512 | *sse2_interleave_lowv2df. | |
3513 | ||
288f605f JB |
3514 | 2011-06-02 Julian Brown <julian@codesourcery.com> |
3515 | ||
3516 | * config/arm/arm-cores.def (cortex-a5): Use cortex_a5 tuning. | |
3517 | * config/arm/arm.c (arm_cortex_a5_branch_cost): New. | |
3518 | (arm_cortex_a5_tune): New. | |
3519 | ||
7ec70105 JB |
3520 | 2011-06-02 Julian Brown <julian@codesourcery.com> |
3521 | ||
153668ec JB |
3522 | * config/arm/arm-protos.h (tune_params): Add branch_cost hook. |
3523 | * config/arm/arm.c (arm_default_branch_cost): New. | |
3524 | (arm_slowmul_tune, arm_fastmul_tune, arm_xscale_tune, arm_9e_tune) | |
3525 | (arm_v6t2_tune, arm_cortex_tune, arm_cortex_a9_tune) | |
3526 | (arm_fa726_tune): Set branch_cost field using | |
3527 | arm_default_branch_cost. | |
3528 | * config/arm/arm.h (BRANCH_COST): Use branch_cost hook from | |
3529 | current_tune structure. | |
3530 | * dojump.c (tm_p.h): Include file. | |
3531 | ||
3532 | 2011-06-02 Julian Brown <julian@codesourcery.com> | |
3533 | ||
3534 | * config/arm/arm-cores.def (arm1156t2-s, arm1156t2f-s): Use v6t2 | |
3535 | tuning. | |
7ec70105 JB |
3536 | (cortex-a5, cortex-a8, cortex-a15, cortex-r4, cortex-r4f, cortex-m4) |
3537 | (cortex-m3, cortex-m1, cortex-m0): Use cortex tuning. | |
3538 | * config/arm/arm-protos.h (tune_params): Add prefer_constant_pool | |
3539 | field. | |
3540 | * config/arm/arm.c (arm_slowmul_tune, arm_fastmul_tune) | |
3541 | (arm_xscale_tune, arm_9e_tune, arm_cortex_a9_tune) | |
3542 | (arm_fa726te_tune): Add prefer_constant_pool setting. | |
3543 | (arm_v6t2_tune, arm_cortex_tune): New. | |
3544 | * config/arm/arm.h (TARGET_USE_MOVT): Make dependent on | |
3545 | prefer_constant_pool setting. | |
3546 | ||
aad61732 UB |
3547 | 2011-06-02 Uros Bizjak <ubizjak@gmail.com> |
3548 | ||
4e76acd2 UB |
3549 | * config/i386/i386.c (standard_sse_constant_p) <case 1>: Simplify |
3550 | switch statement. | |
aad61732 UB |
3551 | * config/i386/i386.md (*movdf_internal_rex64) <case 8,9,10>: Ditto. |
3552 | (*movdf_internal) <case 6,7,8>: Ditto. | |
3553 | ||
4e76acd2 | 3554 | * config/i386/constraints.md (Y4): New register constraint. |
aad61732 UB |
3555 | * config/i386/sse.md (vec_set<mode>_0): Merge with |
3556 | *vec_set<mode>_0_sse4_1 and *vec_set<mode>_0_sse2. | |
3557 | (*vec_extractv2di_1): Merge from *vec_extractv2di_1_sse2 and | |
3558 | *vec_extractv2di_1_sse. | |
3559 | (*vec_concatv2di_rex64): Merge from *vec_concatv2di_rex64_sse4_1 | |
3560 | and *vec_concatv2di_rex64_sse. | |
3561 | ||
6e588138 SH |
3562 | 2011-06-02 Stuart Henderson <shenders@gcc.gnu.org> |
3563 | ||
3564 | PR target/48807 | |
3565 | * config/bfin/bfin.c (bfin_function_ok_for_sibcall): Check return value | |
3566 | of cgraph_local_info for null before attempting to use it. | |
3567 | ||
bc6d3f91 EB |
3568 | 2011-06-02 Eric Botcazou <ebotcazou@adacore.com> |
3569 | ||
3570 | * function.h (struct stack_usage): Remove dynamic_alloc_count field. | |
3571 | (current_function_dynamic_alloc_count): Delete. | |
3572 | * builtins.c (expand_builtin_setjmp_setup): Do not set calls_setjmp. | |
3573 | (expand_builtin_nonlocal_goto): Remove obsolete comment. | |
3574 | (expand_builtin_update_setjmp_buf): Remove dead code. | |
3575 | * cse.c (cse_find_path): Do not follow a single abnormal incoming edge. | |
3576 | * explow.c (allocate_dynamic_stack_space): Remove SETJMP_VIA_SAVE_AREA | |
3577 | support. | |
3578 | * function.c (instantiate_virtual_regs): Likewise. | |
3579 | * postreload-gcse.c (bb_has_well_behaved_predecessors): Return false | |
3580 | for a block with a single abnormal incoming edge. | |
3581 | * config/sparc/sparc.h (STACK_SAVEAREA_MODE): Define. | |
a21ede65 | 3582 | (SETJMP_VIA_SAVE_AREA): Delete. |
bc6d3f91 EB |
3583 | * config/sparc/sparc-protos.h (load_got_register): Declare. |
3584 | * config/sparc/sparc.c (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Define. | |
3585 | (load_got_register): Make global. | |
3586 | (sparc_frame_pointer_required): Add 'static'. | |
3587 | (sparc_can_eliminate): Likewise. Call sparc_frame_pointer_required. | |
3588 | (sparc_builtin_setjmp_frame_value): New function. | |
3589 | * config/sparc/sparc.md (UNSPECV_SETJMP): Remove. | |
3590 | (save_stack_nonlocal): New expander. | |
3591 | (restore_stack_nonlocal): Likewise. | |
3592 | (nonlocal_goto): Remove modes, adjust predicates and reimplement. | |
3593 | (nonlocal_goto_internal): New insn. | |
3594 | (goto_handler_and_restore): Delete. | |
3595 | (builtin_setjmp_setup): Likewise. | |
3596 | (do_builtin_setjmp_setup): Likewise. | |
3597 | (setjmp): Likewise. | |
3598 | (builtin_setjmp_receiver): New expander. | |
3599 | ||
69282fee DL |
3600 | 2011-06-01 David Li <davidxl@google.com> |
3601 | ||
3602 | PR middle-end/49261 | |
3603 | * tree-pretty-print.c (dump_function_header): Format cleanup. | |
3604 | ||
e95873dd KK |
3605 | 2011-06-01 Kaz Kojima <kkojima@gcc.gnu.org> |
3606 | ||
3607 | PR target/49238 | |
3608 | * config/sh/sh.c (expand_cbranchdi4): Use a scratch register if | |
3609 | needed when original operands are used for msw_skip comparison. | |
3610 | ||
88c15821 JJ |
3611 | 2011-06-01 Jakub Jelinek <jakub@redhat.com> |
3612 | ||
3613 | PR debug/49250 | |
3614 | * var-tracking.c (add_uses, add_stores): Don't call | |
3615 | cselib_subst_to_values on ENTRY_VALUE. | |
3616 | ||
07233947 DN |
3617 | 2011-06-01 Diego Novillo <dnovillo@google.com> |
3618 | ||
3619 | * lto-streamer-out.c (lto_output_ts_decl_with_vis_tree_pointers): Call | |
3620 | output_record_start with LTO_null instead of output_zero. | |
3621 | (lto_output_ts_binfo_tree_pointers): Likewise. | |
3622 | (lto_output_tree): Likewise. | |
3623 | (output_eh_try_list): Likewise. | |
3624 | (output_eh_region): Likewise. | |
3625 | (output_eh_lp): Likewise. | |
3626 | (output_eh_regions): Likewise. | |
3627 | (output_bb): Likewise. | |
3628 | (output_function): Likewise. | |
3629 | (output_unreferenced_globals): Likewise. | |
3630 | * lto-streamer.h (enum LTO_tags): Reserve MAX_TREE_CODES | |
3631 | instead of NUM_TREE_CODES. | |
3632 | (lto_tag_is_tree_code_p): Check max value against MAX_TREE_CODES. | |
3633 | (lto_output_int_in_range): Change << to >> when shifting VAL. | |
3634 | ||
4ee3537a DN |
3635 | 2011-06-01 Diego Novillo <dnovillo@google.com> |
3636 | ||
3637 | * lto-streamer-out.c (lto_output_ts_decl_non_common_tree_pointers): | |
3638 | Remove assertion for DECL_SAVED_TREE in FUNCTION_DECL nodes. | |
3639 | ||
02972eaf RS |
3640 | 2011-06-01 Richard Sandiford <rdsandiford@googlemail.com> |
3641 | ||
3642 | PR target/45074 | |
3643 | * optabs.h (valid_multiword_target_p): Declare. | |
3644 | * expmed.c (extract_bit_field_1): Check valid_multiword_target_p when | |
3645 | doing multi-word operations. | |
3646 | * optabs.c (expand_binop): Likewise. | |
3647 | (expand_doubleword_bswap): Likewise. | |
3648 | (expand_absneg_bit): Likewise. | |
3649 | (expand_unop): Likewise. | |
3650 | (expand_copysign_bit): Likewise. | |
3651 | (multiword_target_p): New function. | |
3652 | ||
4d41c2d1 RS |
3653 | 2011-06-01 Richard Sandiford <rdsandiford@googlemail.com> |
3654 | ||
3655 | PR rtl-optimization/48830 | |
3656 | PR rtl-optimization/48808 | |
3657 | PR rtl-optimization/48792 | |
3658 | * reload.c (push_reload): Check contains_reg_of_mode. | |
3659 | * reload1.c (strip_paradoxical_subreg): New function. | |
3660 | (gen_reload_chain_without_interm_reg_p): Use it to handle | |
3661 | paradoxical subregs. | |
3662 | (emit_output_reload_insns, gen_reload): Likewise. | |
3663 | ||
5f57dccb DL |
3664 | 2011-06-01 David Li <davidxl@google.com> |
3665 | ||
3666 | * predict.c : Change pass name | |
3667 | * ipa.c: Ditto. | |
3668 | * dce.c: Ditto. | |
3669 | * tree-profile.c: Ditto. | |
3670 | * except.c: Ditto. | |
3671 | ||
ea6cf778 DL |
3672 | 2011-06-01 David Li <davidxl@google.com> |
3673 | ||
3674 | * tree-pretty-print.c (dump_function_header): New function. | |
3675 | * final.c (rest_of_clean_state): Use header dumper. | |
3676 | * tree-cfg.c (gimple_dump_cfg): Use header dumper. | |
3677 | * passes.c (pass_init_dump_file): Use header dumper. | |
3678 | ||
ebdc0d4b JJ |
3679 | 2011-06-01 Jakub Jelinek <jakub@redhat.com> |
3680 | ||
eeeb9b49 JJ |
3681 | * dwarf2out.c (compare_loc_descriptor, scompare_loc_descriptor, |
3682 | ucompare_loc_descriptor, minmax_loc_descriptor, clz_loc_descriptor, | |
3683 | popcount_loc_descriptor, bswap_loc_descriptor, rotate_loc_descriptor): | |
3684 | New functions. | |
3685 | (mem_loc_descriptor): Use them. | |
3686 | ||
ebdc0d4b JJ |
3687 | * var-tracking.c (create_entry_value): New function. |
3688 | (vt_add_function_parameter): Use it. | |
3689 | ||
0699e415 RO |
3690 | 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3691 | ||
3692 | * config/i386/crtfastmath.c [!__x86_64__ && __sun__ && __svr4__]: | |
3693 | Include <signal.h>, <ucontext.h>. | |
3694 | (sigill_caught): Define. | |
3695 | (sigill_hdlr): New function. | |
3696 | (set_fast_math) [!__x86_64__ && __sun__ && __svr4__]: Check if SSE | |
3697 | insns can be executed. | |
aad61732 | 3698 | * config/sol2.h (ENDFILE_SPEC): Use crtfastmath.o if -ffast-math etc. |
0699e415 RO |
3699 | * config/sparc/sol2.h (ENDFILE_SPEC): Remove. |
3700 | ||
ca24c5ad RO |
3701 | 2011-06-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3702 | ||
3703 | * config/t-slibgcc-darwin: Move to ... | |
aad61732 | 3704 | * config/t-slibgcc-dummy: ... this. Clarify comments. |
ca24c5ad RO |
3705 | * config.gcc (i[34567]86-*-darwin*, x86_64-*-darwin*, |
3706 | powerpc-*-darwin*, powerpc64-*-darwin*): Reflect this. | |
3707 | (i[3456x]86-*-netware*): Add t-slibgcc-dummy to tmake_file. | |
aad61732 | 3708 | (i[34567]86-*-rtems*): Remove extra_parts. Use i386/t-rtems. |
ca24c5ad RO |
3709 | Remove i386/t-crtstuff from tmake_file. |
3710 | (i[34567]86-*-solaris2*): Remove t-svr4, | |
3711 | t-slibgcc-elf-ver, t-slibgcc-sld from tmake_file, add | |
3712 | t-slibgcc-dummy. | |
3713 | (sparc-*-elf*, sparc64-*-elf*): Remove tmake_file, extra_parts. | |
3714 | (sparc-*-rtems*, sparc64-*-rtems*): Remove sparc/t-crtin, | |
3715 | sparc/t-crtfm from tmake_file. | |
3716 | (sparc*-*-solaris2*): Remove sparc/t-sol2, sparc/t-crtfm, | |
3717 | t-slibgcc-elf-ver, t-slibgcc-sld, add t-slibgcc-dummy. | |
3718 | Remove extra_parts. | |
3719 | * config/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define. | |
3720 | * config/i386/t-nwld (SHLIB_LINK): Remove. | |
3721 | * config/i386/t-rtems-i386: Rename to ... | |
3722 | * config/i386/t-rtems: ... this. | |
3723 | ($(T)crti.o, $(T)crtn.o): Remove. | |
3724 | (FPBIT, DPBIT, LIB2FUNCS_EXTRA): Remove. | |
3725 | (dp-bit.c, fp-bit.c, xp-bit.c): Remove. | |
3726 | (EXTRA_MULTILIB_PARTS, LIBGCC, INSTALL_LIBGCC): Remove. | |
3727 | * config/i386/t-sol2-10 (LIBGCC, INSTALL_LIBGCC, | |
3728 | EXTRA_MULTILIB_PARTS): Remove. | |
3729 | * config/sparc/t-sol2-64: Likewise. | |
3730 | * config/sparc/t-sol2: Remove. | |
3731 | * config/sparc/t-crtin: Remove. | |
3732 | * config/sparc/gmon-sol2.c: Move to ../libgcc/config. | |
3733 | * config/i386/gmon-sol2.c: Remove. | |
3734 | * config/i386/sol2-c1.asm: Move to ../libgcc/config/i386/sol2-c1.S. | |
3735 | * config/i386/sol2-ci.asm: Move to ../libgcc/config/i386/sol2-ci.S. | |
3736 | * config/i386/sol2-cn.asm: Move to ../libgcc/config/i386/sol2-cn.S. | |
3737 | * config/i386/sol2-gc1.asm: Remove. | |
3738 | * config/sparc/sol2-c1.asm: Move to ../libgcc/config/sparc/sol2-c1.S. | |
3739 | * config/sparc/sol2-ci.asm: Move to ../libgcc/config/sparc/sol2-ci.S. | |
3740 | * config/sparc/sol2-cn.asm: Move to ../libgcc/config/sparc/sol2-cn.S. | |
3741 | * config/t-slibgcc-sld: Remove. | |
3742 | ||
a78d13c3 JJ |
3743 | 2011-06-01 Jakub Jelinek <jakub@redhat.com> |
3744 | ||
3745 | * dwarf2out.c (mem_loc_descriptor) <do_ucompare>: Call | |
3746 | base_type_for_mode with op_mode instead of mode. | |
3747 | ||
572070ef PB |
3748 | 2011-06-01 Paul Brook <paul@cpodesourcery.com> |
3749 | ||
3750 | * config/arm/arm-cores.def: Add cortex-r5. Add DIV flags to | |
3751 | Cortex-A15. | |
3752 | * config/arm/arm-tune.md: Regenerate. | |
3753 | * config/arm/arm-tables.opt: Regenerate. | |
3754 | * config/arm/arm.c (FL_DIV): Rename... | |
3755 | (FL_THUMB_DIV): ... to this. | |
3756 | (FL_ARM_DIV): Define. | |
3757 | (FL_FOR_ARCH7R, FL_FOR_ARCH7M): Use FL_THUMB_DIV. | |
3758 | (arm_arch_hwdiv): Remove. | |
3759 | (arm_arch_thumb_hwdiv, arm_arch_arm_hwdiv): New variables. | |
3760 | (arm_issue_rate): Add cortexr5. | |
3761 | * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Set | |
3762 | __ARM_ARCH_EXT_IDIV__. | |
3763 | (TARGET_IDIV): Define. | |
3764 | (arm_arch_hwdiv): Remove. | |
3765 | (arm_arch_arm_hwdiv, arm_arch_thumb_hwdiv): New prototypes. | |
3766 | * config/arm/arm.md (tune_cortexr4): Add cortexr5. | |
3767 | (divsi3, udivsi3): New patterns. | |
3768 | * config/arm/thumb2.md (divsi3, udivsi3): Remove. | |
3769 | * doc/invoke.texi: Document ARM -mcpu=cortex-r5 | |
3770 | ||
11026b51 MJ |
3771 | 2011-06-01 Martin Jambor <mjambor@suse.cz> |
3772 | ||
3773 | * ipa-utils.c (ipa_dfs_info): New field scc_no. | |
3774 | * ipa-utils.c (searchc): Set scc_no. | |
3775 | ||
b6156cf2 MJ |
3776 | 2011-06-01 Martin Jambor <mjambor@suse.cz> |
3777 | ||
3778 | * ipa-utils.c (searchc_env): New field allow_overwritable. | |
3779 | (searchc): do not ignore edges to overwritable nodes if indicated | |
3780 | by env->allow_overwritable. | |
3781 | (ipa_reduced_postorder): Set env.allow_overwritable. | |
3782 | ||
6807da97 RG |
3783 | 2011-06-01 Richard Guenther <rguenther@suse.de> |
3784 | ||
3785 | * tree.c (free_lang_data): Do not reset boolean_type_node nor | |
3786 | char_type_node. | |
3787 | * lto-streamer.c (lto_record_common_node): Take node pointer, | |
3788 | do not register types. | |
3789 | (lto_preload_common_nodes): Explicitly skip preloading nodes | |
3790 | that differ between frontends. | |
3791 | ||
66bd20e7 | 3792 | 2011-05-31 Pat Haugen <pthaugen@us.ibm.com> |
ddaf42bc PH |
3793 | |
3794 | * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Remove vr0..vr2 from | |
3795 | NON_FLOAT_REGS. | |
3796 | ||
66bd20e7 | 3797 | 2011-05-31 Pat Haugen <pthaugen@us.ibm.com> |
abdd692e PH |
3798 | |
3799 | * config/rs6000/rs6000.c (rs6000_register_move_cost): Preserve from | |
3800 | parameter value for dump. Dump cost on outermost call only. | |
3801 | (rs6000_memory_move_cost): Dump cost on outermost call only. | |
3802 | ||
7351d8da JJ |
3803 | 2011-05-31 Jakub Jelinek <jakub@redhat.com> |
3804 | ||
ead7c399 JJ |
3805 | * dwarf2out.c (resolve_addr_in_expr): Optimize away redundant |
3806 | DW_OP_GNU_convert ops. | |
3807 | ||
509f4495 JJ |
3808 | * cselib.c (promote_debug_loc): Allow l->next non-NULL for |
3809 | cselib_preserve_constants. | |
3810 | (cselib_lookup_1): If cselib_preserve_constants, | |
3811 | a new VALUE is being created for REG and there is a VALUE for the | |
3812 | same register in wider mode, add another loc with lowpart SUBREG of | |
3813 | the wider VALUE. | |
3814 | (cselib_subst_to_values): Handle ENTRY_VALUE. | |
3815 | * var-tracking.c (replace_expr_with_values): Return NULL for | |
3816 | ENTRY_VALUE too. | |
3817 | * dwarf2out.c (convert_descriptor_to_signed): New function. | |
3818 | (mem_loc_descriptor) <case ZERO_EXTEND>: Optimize using DW_OP_and | |
3819 | instead of two shifts. | |
3820 | (mem_loc_descriptor) <do_shift>: ZERO_EXTEND second argument to | |
3821 | the right mode if needed. | |
3822 | (mem_loc_descriptor) <case MOD>: For typed ops just use DW_OP_mod. | |
3823 | (mem_loc_descriptor) <case UNSIGNED_FIX>: Use | |
3824 | convert_descriptor_to_signed. | |
3825 | (mem_loc_descriptor) <case UDIV, CLZ, CTZ, FFS, POPCOUNT, PARITY, | |
3826 | BSWAP, ROTATE, ROTATERT>: Handle these rtls. | |
3827 | ||
7351d8da JJ |
3828 | PR target/48688 |
3829 | * config/i386/i386.md (*lea_general_4): New define_insn_and_split. | |
3830 | ||
5cc93ee0 UB |
3831 | 2011-05-31 Uros Bizjak <ubizjak@gmail.com> |
3832 | ||
3833 | * config/i386/i386.md: Use SWI248x instead of X87MODEI, SWI24 instead | |
3834 | of X87MODEI12 and SWI48x instead of SSEMODEI24. | |
3835 | (SWI248x): New mode iterator, rename from X87MODEI. | |
3836 | (X87MODEI): Remove mode iterator. | |
3837 | (X87MODEI12): Ditto. | |
3838 | (SSEMODEI24): Ditto. | |
3839 | ||
f0686e78 AO |
3840 | 2011-05-31 Alexandre Oliva <aoliva@redhat.com> |
3841 | ||
3842 | * params.def (PARAM_MAX_VARTRACK_EXPR_DEPTH): New. | |
3843 | * doc/invoke.texi: Document max-vartrack-expr-depth. | |
3844 | * var-tracking.c (EXPR_DEPTH): New. | |
3845 | (reverse_op, vt_expand_loc, vt_expand_loc_dummy): Use it. | |
3846 | ||
f3308413 AO |
3847 | 2011-05-31 Alexandre Oliva <aoliva@redhat.com> |
3848 | ||
3849 | * config/i386/i386.c (ix86_rtx_costs): Drop NEG from sub for FMA. | |
3850 | * config/i386/sse.md: Add n to negated FMA pattern names. | |
3851 | ||
28c14a04 AO |
3852 | 2011-05-31 Alexandre Oliva <aoliva@redhat.com> |
3853 | ||
3854 | * gcc.c (driver_handle_option): Fix disabling of -fcompare-debug. | |
3855 | ||
70efc82d AO |
3856 | 2011-05-31 Alexandre Oliva <aoliva@redhat.com> |
3857 | ||
5cc93ee0 | 3858 | * gengtype-state.c (read_state_params_structs): Initialize previous. |
70efc82d | 3859 | |
6ba5d856 UB |
3860 | 2011-05-31 Uros Bizjak <ubizjak@gmail.com> |
3861 | ||
3862 | * config/i386/i386.md (*pushxf_nointeger): Merge alternatives 1 and 2. | |
3863 | (FP push_operand splitters): Merge {TF,XF,DF}mode splitters. | |
3864 | ||
3865 | 2011-05-31 Uros Bizjak <ubizjak@gmail.com> | |
3866 | ||
3867 | * config/i386/i386.md (*movtf_internal): Avoid allocating general | |
3868 | registers. Penalize F*r->o alternative to prevent partial memory | |
3869 | stalls. Slightly penalize *roF->*r alternative. Generate SSE | |
3870 | CONST_DOUBLE immediates when optimizing function for size. Do not move | |
3871 | CONST_DOUBLEs directly to memory for !TARGET_MEMORY_MISMATCH_STALL. | |
3872 | (*movxf_internal): Slightly penalize Yx*roF->Yx*r alternative. | |
3873 | (*movdf_internal): Slightly penalize Yd*roF->Yd*r alternative. | |
3874 | (*movdf_internal_rex64): Slightly penalize rm->r, F->m and r->m | |
3875 | alternatives. | |
3876 | (*movsf_internal): Slightly penalize rmF->r and Fr->m alternatives. | |
3877 | ||
3878 | (fp_register_operand splitters): Use fp_register_operand | |
3879 | constraint. Do not use FP_REG_P in insn condition. | |
3880 | (any_fp_register_operand splitters): Use any_fp_register_operand | |
3881 | constraint. Do not use ANY_FP_REG_P in insn condition. | |
3882 | ||
533c07c5 JH |
3883 | 2011-05-31 Jan Hubicka <jh@suse.cz> |
3884 | ||
3885 | * cgraph.h (cgraph_inline_failed_t): Give enum a name | |
3886 | * lto-cgraph.c (LDPR_NUM_KNOWN): New macro. | |
3887 | (LTO_cgraph_tags): Add LTO_cgraph_last_tag. | |
3888 | (lto_output_edge): Use output_enum and var_len_unsigned. | |
3889 | (lto_output_varpool_node): Likewise. | |
3890 | (input_overwrite_node): Do not take resolution parameter; | |
3891 | extract it from a bitpack. | |
3892 | (input_node): Do not read resolution; use input_enum and | |
3893 | var_len_unsigned. | |
3894 | (input_varpool_node): Likewise. | |
3895 | (input_edge): Likewise. | |
3896 | (input_cgraph_1): Likewise. | |
3897 | ||
2611db71 RG |
3898 | 2011-05-31 Richard Guenther <rguenther@suse.de> |
3899 | ||
3900 | * gimple.c (gimple_register_canonical_type): Do not register | |
3901 | any types via gimple_register_type. | |
3902 | ||
b9e57365 JH |
3903 | 2011-05-31 Jan Hubicka <jh@suse.cz> |
3904 | ||
3905 | * lto-symtab.c (lto_symtab_merge_cgraph_nodes): Merge alias decl | |
3906 | of thunks. | |
3907 | ||
35979cc2 JJ |
3908 | 2011-05-31 Jakub Jelinek <jakub@redhat.com> |
3909 | ||
3910 | PR rtl-optimization/49235 | |
3911 | * tree-ssa-address.c (gen_addr_rtx): Ignore base if it is const0_rtx. | |
3912 | (create_mem_ref_raw): Create MEM_REF even if base is INTEGER_CST. | |
3913 | ||
8f7de592 IR |
3914 | 2011-05-31 Ira Rosen <ira.rosen@linaro.org> |
3915 | ||
3916 | PR tree-optimization/49093 | |
3917 | * tree-vect-data-refs.c (vect_analyze_data_refs): Fail for volatile | |
3918 | data references. | |
3919 | ||
8d8a3bda DS |
3920 | 2011-05-31 Dodji Seketeli <dodji@redhat.com> |
3921 | ||
3922 | PR debug/49047 | |
3923 | * dwarf2out.c (gen_subprogram_die): Emit linkage name attribute | |
6ba5d856 | 3924 | for concrete functions containing the code of cloned functions. |
8d8a3bda | 3925 | |
2e87621c RG |
3926 | 2011-05-31 Richard Guenther <rguenther@suse.de> |
3927 | ||
3928 | * tree-ssa-forwprop.c (forward_propagate_into_comparison): Rename | |
3929 | to ... | |
3930 | (forward_propagate_into_comparison_1): ... this. | |
3931 | (forward_propagate_comparison): Rename to ... | |
3932 | (forward_propagate_into_comparison): ... this. Split out | |
3933 | real forward propagation code to ... | |
3934 | (forward_propagate_comparison): ... this. | |
3935 | (forward_propagate_into_gimple_cond): Remove looping. | |
3936 | (forward_propagate_into_cond): Likewise. | |
3937 | (simplify_not_neg_expr): Return whether we have done something. | |
3938 | (simplify_gimple_switch): Likewise. | |
3939 | (tree_ssa_forward_propagate_single_use_vars): Rename to ... | |
3940 | (ssa_forward_propagate_and_combine): ... this. Re-structure | |
3941 | to do a forward forward-propagation walk on BBs and a backward | |
6ba5d856 | 3942 | stmt combining walk on BBs. Consistently re-scan changed statements. |
2e87621c RG |
3943 | (pass_forwprop): Adjust. |
3944 | ||
5a880d5d ILT |
3945 | 2011-05-30 Ian Lance Taylor <iant@google.com> |
3946 | ||
3947 | * godump.c (go_format_type): Correct length of name added to | |
3948 | obstack for anonymous field. | |
3949 | ||
5f133038 KK |
3950 | 2011-05-30 Kaz Kojima <kkojima@gcc.gnu.org> |
3951 | ||
3952 | PR target/49186 | |
3953 | * config/sh/sh.c (expand_cbranchdi4): Set msw_skip when the high | |
3954 | part of the second operand is 0. | |
3955 | ||
b17d5426 UB |
3956 | 2011-05-30 Uros Bizjak <ubizjak@gmail.com> |
3957 | ||
3958 | * config/i386/i386.md (*movxf_internal): Penalize FYx*r->o alternative | |
3959 | to prevent partial memory stalls. Do not move CONST_DOUBLEs directly | |
3960 | to memory for !TARGET_MEMORY_MISMATCH_STALL. | |
3961 | (*movdf_internal_rex64): Do not penalize F->r alternative. | |
6ba5d856 | 3962 | (*movdf_internal): Penalize FYd*r->o alternative to prevent partial |
b17d5426 UB |
3963 | memory stalls. Generate SSE and x87 CONST_DOUBLE immediates only |
3964 | when optimizing function for size. Do not move CONST_DOUBLEs | |
3965 | directly to memory for !TARGET_MEMORY_MISMATCH_STALL. | |
6ba5d856 UB |
3966 | (FP move splitters): Merge {TF,XF,DF}mode splitters. Do not handle |
3967 | SUBREGs. Do not check for MEM_P operands in the insn condition, | |
b17d5426 UB |
3968 | check for ANY_FP_REGNO_P instead. |
3969 | * config/i386/constraints.md (Yd): Enable GENERAL_REGS for | |
3970 | TARGET_64BIT and for TARGET_INTEGER_DFMODE_MOVES when optimizing | |
3971 | function for speed. | |
3972 | * config/i386/i386.c (ix86_option_override_internal): Do not | |
3973 | set TARGET_INTEGER_DFMODE_MOVES here. | |
3974 | ||
a0cd843f L |
3975 | 2011-05-30 H.J. Lu <hongjiu.lu@intel.com> |
3976 | ||
3977 | PR target/49168 | |
aad61732 | 3978 | * config/i386/i386.md (*movtf_internal): Handle misaligned load/store. |
a0cd843f | 3979 | |
006a5f38 JJ |
3980 | 2011-05-30 Jakub Jelinek <jakub@redhat.com> |
3981 | ||
3982 | * dwarf2out.c (modified_type_die, gen_reference_type_die): Use | |
3983 | DW_TAG_rvalue_reference_type even for | |
3984 | -gdwarf-4 -fno-debug-types-section. | |
3985 | ||
6e96f98a BS |
3986 | 2011-05-30 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
3987 | ||
3988 | PR tree-optimization/46728 | |
3989 | * tree-ssa-math-opts.c (build_and_insert_call): Reorder parms. | |
3990 | (build_and_insert_binop): New. | |
3991 | (gimple_expand_builtin_pow): Reorder args for | |
3992 | build_and_insert_call; use build_and_insert_binop; add more | |
3993 | optimizations for fractional exponents. | |
b17d5426 | 3994 | |
4f60111f NF |
3995 | 2011-05-30 Nathan Froyd <froydnj@gcc.gnu.org> |
3996 | ||
3997 | PR bootstrap/49190 | |
3998 | ||
3999 | Revert: | |
4000 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> | |
4001 | ||
4002 | * tree.h (struct tree_identifier): Inherit from tree_typed, not | |
4003 | tree_common. | |
4004 | (HT_IDENT_TO_GCC_IDENT): Adjust for said change. | |
4005 | * tree.c (initialize_tree_contains_struct): Mark TS_IDENTIFIER as | |
4006 | TS_BASE instead of TS_COMMON. | |
4007 | * varasm.c (assemble_name): Remove assert. | |
4008 | ||
3fd7879d RS |
4009 | 2011-05-30 Richard Sandiford <rdsandiford@googlemail.com> |
4010 | ||
4011 | * config.gcc: Keep obselete list sorted. | |
4012 | ||
80060f7a JJ |
4013 | 2011-05-30 Jakub Jelinek <jakub@redhat.com> |
4014 | Eric Botcazou <ebotcazou@adacore.com> | |
4015 | ||
4016 | * var-tracking.c (vt_add_function_parameter): Remap incoming MEMs with | |
4017 | crtl->args.internal_arg_pointer based address to arg_pointer_rtx if | |
4018 | there is a DRAP register and arg_pointer_rtx is the CFA pointer. | |
4019 | (vt_init_cfa_base): Don't equate cfa_base_rtx if stack was realigned. | |
4020 | (vt_initialize): Initialize cfa_base_rtx if there is a DRAP register. | |
4021 | ||
17e99cdb RG |
4022 | 2011-05-30 Richard Guenther <rguenther@suse.de> |
4023 | ||
4024 | * gimple.c (gimple_types_compatible_p_1): Compare record | |
4025 | and union type members properly. | |
4026 | ||
42b05b6e RG |
4027 | 2011-05-30 Richard Guenther <rguenther@suse.de> |
4028 | ||
4029 | PR tree-optimization/49210 | |
6ba5d856 UB |
4030 | * ipa-split.c (split_function): Care for the case where the call |
4031 | result is not trivially convertible to the result holding variable. | |
42b05b6e | 4032 | |
f3321158 RG |
4033 | 2011-05-30 Richard Guenther <rguenther@suse.de> |
4034 | ||
4035 | PR tree-optimization/49218 | |
4036 | * tree-vrp.c (adjust_range_with_scev): Properly check whether | |
4037 | overflow occured. | |
4038 | ||
d12d8efe RG |
4039 | 2011-05-30 Richard Guenther <rguenther@suse.de> |
4040 | ||
4041 | * tree-ssa-forwprop.c (forward_propagate_into_comparison): | |
4042 | New function split out from ... | |
4043 | (forward_propagate_into_gimple_cond): ... here. Adjust. | |
4044 | (forward_propagate_into_cond): Likewise. | |
4045 | (forward_propagate_comparison): Also propagate into | |
4046 | comparisons on assignment RHS. Change return value to | |
4047 | behave similar to forward_propagate_into_cond. | |
4048 | (tree_ssa_forward_propagate_single_use_vars): Handle | |
4049 | strict-overflow warnings properly for forward_propagate_comparison. | |
4050 | ||
df33b41f RO |
4051 | 2011-05-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4052 | ||
4053 | * configure.ac (gcc_cv_lto_plugin): Determine lto plugin support | |
4054 | from plugin linker. | |
4055 | * configure: Regenerate. | |
4056 | ||
69940d4d IR |
4057 | 2011-05-30 Ira Rosen <ira.rosen@linaro.org> |
4058 | ||
4059 | PR tree-optimization/49199 | |
4060 | * tree-vect-loop.c (vect_is_slp_reduction): Check that the | |
b17d5426 | 4061 | non-reduction operands are either defined in the loop or by induction. |
69940d4d | 4062 | |
226c52aa XDL |
4063 | 2011-05-29 Xinliang David Li <davidxl@google.com> |
4064 | ||
4065 | * opts-global.c (handle_common_deferred_options): Handle new options. | |
4066 | * passes.c (register_one_dump_file): Call register_pass_name. | |
4067 | (execute_one_pass): Check explicit enable/disable flag. | |
4068 | (passr_hash): New function. | |
4069 | (passr_eq): Ditto. | |
4070 | (register_pass_name): Ditto. | |
4071 | (get_pass_by_name): Ditto. | |
4072 | (pass_hash): Ditto. | |
4073 | (pass_eq): Ditto. | |
4074 | (enable_pass): Ditto. | |
4075 | (disable_pass): Ditto. | |
4076 | (is_pass_explicitly_enabled_or_disabled): Ditto. | |
4077 | ||
491d8eed UB |
4078 | 2011-05-29 Uros Bizjak <ubizjak@gmail.com> |
4079 | ||
4080 | * config/i386/i386.md (*movoi_internal_avx): Use | |
4081 | standard_sse_constant_opcode for alternative 0. | |
4082 | (*movti_internal_sse): Ditto. | |
4083 | (*movti_internal_rex64): Use standard_sse_constant_opcode for | |
4084 | alternative 2. | |
4085 | (*movdi_internal_rex64): Use standard_sse_constant_opcode for | |
4086 | sselog1 type moves. | |
4087 | (*movsi_internal): Ditto. | |
4088 | (*movdi_internal): Ditto. Add ssecvt type moves. | |
4089 | ||
eb93b31f EB |
4090 | 2011-05-29 Eric Botcazou <ebotcazou@adacore.com> |
4091 | ||
4092 | PR target/48830 | |
4093 | * rtlanal.c (simplify_subreg_regno): Adjust comment. | |
4094 | ||
3f831b7d JJ |
4095 | 2011-05-29 Jakub Jelinek <jakub@redhat.com> |
4096 | ||
4097 | PR rtl-optimization/49095 | |
4098 | * config/i386/predicates.md (plusminuslogic_operator): New predicate. | |
4099 | * config/i386/i386.md: Add peepholes for mem {+,-,&,|,^}= x; mem != 0. | |
4100 | ||
ee3ee488 RS |
4101 | 2011-05-29 Richard Sandiford <rdsandiford@googlemail.com> |
4102 | ||
4103 | PR target/43995 | |
4104 | * config/mips/mips.c (mips_pic_call_symbol_from_set): Add a | |
4105 | recurse_p argument. Only follow register copies if it is set, | |
4106 | and prevent mips_find_pic_call_symbol from recursing. | |
4107 | (mips_find_pic_call_symbol): Add a recurse_p argument. | |
4108 | Pass it to mips_pic_call_symbol_from_set. | |
4109 | (mips_annotate_pic_calls): Update accordingly. | |
4110 | ||
65f3dedb RS |
4111 | 2011-05-29 Richard Sandiford <rdsandiford@googlemail.com> |
4112 | ||
4113 | * emit-rtl.c (try_split): Use a loop to search for | |
4114 | NOTE_INSN_CALL_ARG_LOCATIONs. | |
4115 | ||
61e374ab RG |
4116 | 2011-05-29 Richard Guenther <rguenther@suse.de> |
4117 | ||
4118 | PR tree-optimization/49217 | |
4119 | * ipa-pure-const.c (propagate_pure_const): Fix typos. | |
4120 | ||
fac009a8 JH |
4121 | 2011-05-28 Jan Hubicka <jh@suse.cz> |
4122 | ||
4123 | * lto-streamer-out.c (hash_string_slot_node): Hash string based on its | |
4124 | length. | |
4125 | (string_slot_free): Remove | |
4126 | (create_output_block): Initialize obstack. | |
4127 | (destroy_output_block): Free obstack. | |
4128 | (lto_string_index): Add PERSISTENT parameter; do not duplicate | |
4129 | the string unless it needs to be added into the hash. | |
4130 | (lto_output_string_with_length): Add persistent attribute; | |
4131 | handle NULL strings. | |
4132 | (lto_output_string): Add PERSISTENT parameter. | |
4133 | (output_string_cst, output_identifier): Simplify. | |
4134 | (lto_output_location_bitpack): Update. | |
4135 | (lto_output_builtin_tree): Update. | |
4136 | * lto-streamer.h (struct output_block): Add obstack. | |
491d8eed UB |
4137 | (lto_output_string, lto_output_string_with_length): Remove |
4138 | declarations; functions are static now. | |
fac009a8 | 4139 | |
fa766006 JH |
4140 | 2011-05-28 Jan Hubicka <jh@suse.cz> |
4141 | ||
4142 | * lto-streamer-out.c (pack_ts_fixed_cst_value_fields, | |
4143 | pack_ts_decl_common_value_fields, pack_ts_decl_with_vis_value_fields, | |
4144 | pack_ts_function_decl_value_fields, lto_output_builtin_tree, | |
4145 | output_cfg, output_gimple_stmt): Use enum and variable length i/o. | |
4146 | * lto-streamer-in.c (input_cfg, input_gimple_stmt, | |
4147 | unpack_ts_fixed_cst_value_fields, unpack_ts_decl_common_value_fields, | |
4148 | unpack_ts_decl_with_vis_value_fields, | |
4149 | unpack_ts_type_common_value_fields, unpack_ts_block_value_fields, | |
4150 | lto_get_builtin_tree): Use enum and variable length i/o. | |
4151 | * basic-block.h (profile_status_d): Add PROFILE_LAST. | |
4152 | * lto-streamer.h (bp_pack_int_in_range, bp_unpack_int_in_range): | |
4153 | New functions. | |
4154 | (bp_pack_enum, bp_unpack_enum): New macros. | |
4155 | ||
e092158b RS |
4156 | 2011-05-28 Richard Sandiford <rdsandiford@googlemail.com> |
4157 | ||
4158 | * genrecog.c: Remove redundant forward declarations. | |
4159 | ||
7ca2afa0 RS |
4160 | 2011-05-28 Richard Sandiford <rdsandiford@googlemail.com> |
4161 | ||
4162 | * config.gcc: Deprecate mips*-*-openbsd*. | |
4163 | ||
a601a53a RS |
4164 | 2011-05-28 Richard Sandiford <rdsandiford@googlemail.com> |
4165 | ||
4166 | PR bootstrap/49195 | |
4167 | * genrecog.c (add_to_sequence): Use XEXP rather than XVECEXP | |
4168 | for match_op_dup. | |
4169 | ||
fc64b448 AP |
4170 | 2011-05-27 Andrew Pinski <pinskia@gmail.com> |
4171 | ||
4172 | PR middle-end/48981 | |
4173 | * gengtype.c (vec_prefix_type): New function. | |
4174 | (note_def_vec): Use vec_prefix_type and change the length | |
4175 | attribute to be based on the prefix. | |
4176 | * vec.c: Include coretypes.h before vec.h. | |
4177 | (struct vec_prefix): Remove. | |
4178 | (vec_gc_p_reserve): Change the offsetof to sizeof. | |
4179 | (vec_gc_p_reserve_exact): Likewise. | |
4180 | (vec_heap_p_reserve): Likewise. | |
4181 | (vec_heap_p_reserve_exact): Likewise. | |
4182 | (vec_stack_o_reserve_1): Copy from +1 instead of from vec. | |
4183 | (vec_stack_p_reserve): Change the offsetof to sizeof. | |
4184 | (vec_stack_p_reserve_exact): Likewise. | |
4185 | * vec.h (struct vec_prefix): New struct definition. | |
4186 | (VEC_T(T,B)): Use vec_prefix instead of having num/alloc fields. | |
4187 | (VEC_T_GTY(T,B)): Likewise. | |
4188 | (DEF_VEC_FUNC_P(T)): Use prefix field. | |
4189 | (DEF_VEC_NONALLOC_FUNCS_O(T,A)): Likewise. | |
4190 | (DEF_VEC_NONALLOC_FUNCS_I(T,A)): Likewise. | |
4191 | ||
ba869341 BS |
4192 | 2011-05-27 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
4193 | ||
4194 | PR tree-optimization/46728 | |
4195 | * tree-ssa-math-opts.c (powi_as_mults_1): Add gimple_set_location. | |
4196 | (powi_as_mults): Add gimple_set_location. | |
4197 | (build_and_insert_call): New. | |
4198 | (gimple_expand_builtin_pow): Add handling for pow(x,y) when y is | |
4199 | 0.5, 0.25, 0.75, 1./3., or 1./6. | |
491d8eed | 4200 | |
d296760d AM |
4201 | 2011-05-27 Alexander Monakov <amonakov@ispras.ru> |
4202 | ||
4203 | * doc/contrib.texi: Update copyright years. | |
4204 | (Contributors): Add Zdenek Sojka. | |
4205 | ||
38e01f9e NF |
4206 | 2011-05-27 Nathan Froyd <froydnj@codesourcery.com> |
4207 | ||
4208 | * c-decl.c (c_push_function_context): Copy the current statement | |
4209 | list stack. | |
4210 | (add_stmt): Check building_stmt_list_p and push_stmt if necessary. | |
4211 | (finish_struct): Call building_stmt_list_p instead of checking | |
4212 | cur_stmt_list. | |
4213 | * c-parser.c (c_parser_postfix_expression): Likewise. | |
4214 | * c-typeck.c (c_end_compound_stmt): Likewise. | |
4215 | * print-tree.c (print_node) [STATEMENT_LIST]: Don't print TREE_CHAIN. | |
4216 | * tree-iterator.c (stmt_list_cache): Change to a VEC. | |
4217 | (alloc_stmt_list): Adjust for stmt_list_cache's new type. | |
4218 | (free_stmt_list): Likewise. | |
4219 | * tree.h (struct tree_statement_list): Include typed_tree instead | |
4220 | of tree_common. | |
4221 | * tree.c (initialize_tree_contains_struct): Mark TS_STATEMENT_LIST | |
4222 | as TS_TYPED instead of TS_COMMON. | |
4223 | ||
8950516e | 4224 | 2011-05-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
66bd20e7 | 4225 | Uros Bizjak <ubizjak@gmail.com> |
8950516e RO |
4226 | |
4227 | * configure.ac (gcc_cv_as_ix86_tlsgdplt): Check for @tlsgdplt | |
4228 | (HAVE_AS_IX86_TLSGDPTL): Define. | |
4229 | (gcc_cv_as_ix86_tlsldmplt): Check for @tlsldmplt. | |
4230 | (HAVE_AS_IX86_TLSLDMPLT): Define. | |
4231 | * configure: Regenerate. | |
4232 | * config.in: Regenerate. | |
4233 | * config/i386/i386.c (ix86_print_operand): Handle code 'p'. | |
4234 | * config/i386/i386.md (*tls_global_dynamic_32_gnu): If | |
4235 | TARGET_SUN_TLS, use @tlsgdplt or @plt. | |
4236 | (*tls_global_dynamic_64): Use @plt if TARGET_SUN_TLS. | |
4237 | (*tls_local_dynamic_base_32_gnu): If TARGET_SUN_TLS, use | |
4238 | @tlsldmplt or @plt. | |
4239 | (*tls_local_dynamic_base_64): Use @plt if TARGET_SUN_TLS. | |
4240 | ||
b0bd15f7 BS |
4241 | 2011-05-27 Bernd Schmidt <bernds@codesourcery.com> |
4242 | ||
4243 | * sched-int.h (struct _haifa_deps_insn_data): New members cond | |
4244 | and reverse_cond. | |
4245 | (INSN_COND, INSN_REVERSE_COND): New macros. | |
4246 | * sched-deps.c (deps_analyze_insn): Call sched_get_condition_with_rev | |
4247 | once. | |
4248 | (sched_get_condition_with_rev): Cache the results, and look them up | |
4249 | if possible. | |
4250 | (sched_analyze_insn): Destroy INSN_COND of previous insns if they | |
4251 | are clobbered by the current insn. | |
4252 | * target.def (exposed_pipline): New sched data hook. | |
4253 | * doc/tm.texi.in: TARGET_SCHED_EXPOSED_PIPELINE: Add hook. | |
4254 | * doc/tm.texi: Regenerate. | |
4255 | ||
fa65a9cf BS |
4256 | 2011-05-27 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
4257 | ||
4258 | PR tree-optimization/49170 | |
4259 | * tree-ssa-math-opts.c (execute_cse_sincos): Add checks for | |
4260 | sincos or cexp. | |
b0bd15f7 | 4261 | |
c2299dfe RG |
4262 | 2011-05-27 Richard Guenther <rguenther@suse.de> |
4263 | ||
4264 | PR middle-end/49189 | |
4265 | * fold-const.c (fold_unary_loc): Do not re-fold folding conversions | |
4266 | of comparisons. | |
4267 | ||
a95b23b4 BS |
4268 | 2011-05-27 Bernd Schmidt <bernds@codesourcery.com> |
4269 | ||
4270 | * haifa-sched.c (sched_scan_info): Remove. | |
4271 | (schedule_block): Call sched_extend_luids rather than sched_init_luids | |
4272 | with NULL args. | |
4273 | (extend_bb, init_bb, extend_insn, init_insn, init_insns_in_bb): | |
4274 | Remove functions. | |
4275 | (sched_scan): Remove. | |
4276 | (sched_extend_luids): Renamed from luids_extend_insn and no longer | |
4277 | static. All callers changed. | |
4278 | (sched_init_insn_luid): Renamed from luids_init_insn and no longer | |
4279 | static. All callers changed. | |
4280 | (sched_init_luids): Remove all arguments except the first. All | |
4281 | callers changed. Don't use sched_scan. | |
4282 | (haifa_init_h_i_d): Likewise. | |
4283 | (haifa_init_insn): Call sched_extend_luids and sched_init_insn_luid | |
4284 | manually rather than using sched_init_luids. Likewise with | |
4285 | extend_h_i_d, init_h_i_d and haifa_init_h_i_d. | |
4286 | * sel-sched.c (sel_region_target_finish): Call sched_extend_luids | |
4287 | rather than sched_init_luids with NULL args. | |
4288 | * sel-sched-ir.c (new_insns): Remove variable. | |
4289 | (sched_scan): New static function, previously in haifa-sched.c. Remove | |
4290 | all arguments but the first two; all callers changed. | |
4291 | (sel_init_new_insn): Call sched_extend_luids and sched_init_insn_luid | |
4292 | rather than sched_init_luids. | |
4293 | (sel_init_bbs): Remove second argument. All callers changed. | |
4294 | (sel_add_bb): Call sched_extend_luids rather than sched_init_luids | |
4295 | with NULL arguments. | |
4296 | (create_insn_rtx_from_pattern): Likewise. | |
4297 | * sel-sched-ir.h (sel_init_bbs): Adjust declaration. | |
4298 | * sched-int.h (sched_init_luids, haifa_init_h_i_d): Likewise. | |
4299 | (sched_init_insn_luid, sched_extend_luids): Declare. | |
4300 | (sched_scan_info_def, sched_scan_info, sched_scan): Remove | |
4301 | declarations. | |
4302 | ||
f8f972fc RB |
4303 | 2011-05-27 Richard Guenther <rguenther@suse.de> |
4304 | ||
4305 | PR middle-end/49177 | |
4306 | * fold-const.c (fold_unary_loc): Fold (T)(A CMP B) to | |
4307 | A CMP B ? (T) true : (T) false for non-integral types T again. | |
4308 | ||
51a9ed47 JH |
4309 | 2011-05-27 Jan Hubicka <jh@suse.cz> |
4310 | ||
4311 | * lto-streamer-out.c (lto_string_index): break out from...; offset by 1 | |
4312 | so 0 means NULL string. | |
4313 | (lto_output_string_with_length): ... here. | |
f8f972fc RB |
4314 | (lto_output_string, output_string_cst, output_identifier): Update |
4315 | handling of NULL strings. | |
51a9ed47 JH |
4316 | (lto_output_location_bitpack): New function. |
4317 | (lto_output_location): Use it. | |
4318 | (lto_output_tree_ref): Use output_record_start. | |
f8f972fc RB |
4319 | (pack_ts_type_common_value_fields): Pack aliagn & alias set in var |
4320 | len values. | |
4321 | * lto-streamer-in.c (string_for_index): Break out from ...; offset | |
4322 | values by 1. | |
491d8eed | 4323 | (input_string_internal): ... here; |
f8f972fc RB |
4324 | (input_string_cst, input_identifier, lto_input_string): Update handling |
4325 | of NULL strings. | |
51a9ed47 JH |
4326 | (lto_input_location_bitpack): New function |
4327 | (lto_input_location): Use it. | |
f8f972fc RB |
4328 | (unpack_ts_type_common_value_fields): Pack align & alias in var len |
4329 | values. | |
51a9ed47 JH |
4330 | * lto-streamer.h (bp_pack_val_len_unsigned, bp_pack_val_len_int, |
4331 | bp_unpack_val_len_unsigned, bp_unpack_val_len_int): Declare. | |
4332 | (bp_pack_value): Sanity check the value range. | |
4333 | * lto-section-in.c (bp_unpack_val_len_unsigned, bp_unpack_val_len_int): | |
4334 | New functions. | |
4335 | * lto-section-out.h (bp_pack_val_len_unsigned, bp_pack_val_len_int): | |
4336 | New functions. | |
4337 | ||
66bd20e7 | 4338 | 2011-05-27 Hariharan Sandanagobalane <hariharan@picochip.com> |
dc38fc2e HS |
4339 | |
4340 | * config/picochip/picochip.c (reorder_var_tracking_notes): Drop | |
4341 | call_arg_location instructions down the floor. | |
4342 | ||
574e418a VM |
4343 | 2011-05-26 Vladimir Makarov <vmakarov@redhat.com> |
4344 | ||
4345 | PR rtl-optimization/49154 | |
4346 | * ira.c (setup_pressure_classes): Process class without sublcasses | |
4347 | as a candidate for pressure classes. | |
4348 | ||
6a1a787e RS |
4349 | 2011-05-26 Richard Sandiford <rdsandiford@googlemail.com> |
4350 | ||
4351 | PR rtl-optimization/48575 | |
4352 | * genrecog.c (position_type): New enum. | |
4353 | (position): New structure. | |
4354 | (decision): Use position structure instead of a string. | |
4355 | (root_pos, peep2_insn_pos_list): New variables. | |
4356 | (next_position, compare_positions): New functions. | |
4357 | (new_decision): Use position structures instead of strings. | |
4358 | (maybe_both_true): Likewise. | |
4359 | (change_state): Likewise. | |
4360 | (write_tree): Likewise. | |
4361 | (make_insn_sequence): Likewise. | |
4362 | ||
92e948a8 NF |
4363 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> |
4364 | ||
4365 | * tree.c (initialize_tree_contains_struct): Mark TS_BLOCK as | |
4366 | TS_BASE instead of TS_COMMON. | |
4367 | (find_decls_types_r): Check for TS_TYPED structure before looking at | |
4368 | TREE_TYPE. | |
4369 | * tree.h (struct tree_block): Inherit from tree_base, not tree_common. | |
4370 | Add chain field. | |
4371 | (BLOCK_CHAIN): Use new chain field. | |
4372 | ||
66bd20e7 | 4373 | 2011-05-26 Pat Haugen <pthaugen@us.ibm.com> |
c61e40d3 PH |
4374 | |
4375 | * config/rs6000/rs6000.c (rs6000_register_move_cost): Make LR/CTR | |
4376 | moves expensive on Power7 also. | |
4377 | ||
1f498652 RG |
4378 | 2011-05-26 Richard Guenther <rguenther@suse.de> |
4379 | ||
4380 | * fold-const.c (fold_unary_loc): Remove bogus code. | |
4381 | ||
a2fc3e63 NF |
4382 | 2011-05-26 Nathan Froyd <froydnj@codesourcery.com> |
4383 | ||
4384 | * tree.h (struct tree_identifier): Inherit from tree_typed, not | |
4385 | tree_common. | |
4386 | (HT_IDENT_TO_GCC_IDENT): Adjust for said change. | |
4387 | * tree.c (initialize_tree_contains_struct): Mark TS_IDENTIFIER as | |
4388 | TS_BASE instead of TS_COMMON. | |
4389 | * varasm.c (assemble_name): Remove assert. | |
4390 | ||
d11bf18f BS |
4391 | 2011-05-26 Bernd Schmidt <bernds@codesourcery.com> |
4392 | ||
4393 | * Makefile.in (srcdirify): Change order so that libgcc_objdir is | |
4394 | substituted first. | |
4395 | * libgcc-std.ver: Delete file. | |
4396 | ||
ac8e1875 RG |
4397 | 2011-05-26 Richard Guenther <rguenther@suse.de> |
4398 | ||
4399 | PR tree-optimization/48702 | |
4400 | * tree-ssa-address.c (create_mem_ref_raw): Create MEM_REFs | |
4401 | only when we know the base address is within bounds. | |
4402 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Do not | |
4403 | assume the base address of TARGET_MEM_REFs is in bounds. | |
4404 | ||
7e32e652 RO |
4405 | 2011-05-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4406 | ||
4407 | PR target/49099 | |
4408 | * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Wrap | |
4409 | declaration in TARGET_SOLARIS. | |
4410 | ||
66bd20e7 | 4411 | 2011-05-26 Hariharan Sandanagobalane <hariharan@picochip.com> |
43660e0b HS |
4412 | |
4413 | * config/picochip/picochip.md (cbranchhi4): No :CC for match_operator. | |
491d8eed | 4414 | The instruction is then expanded explicitly. |
43660e0b HS |
4415 | (supported_compare): Callable instruction. |
4416 | (compare): Likewise. | |
4417 | ||
1537737f JJ |
4418 | 2011-05-26 Jakub Jelinek <jakub@redhat.com> |
4419 | ||
4420 | PR c++/49165 | |
4421 | * gimplify.c (shortcut_cond_r): Don't special case | |
4422 | COND_EXPRs if they have void type on one of their arms. | |
4423 | ||
7b1ac803 BS |
4424 | 2011-05-26 Bernd Schmidt <bernds@codesourcery.com> |
4425 | ||
4426 | * haifa-sched.c (schedule-block): Reorder the inner scheduling loop | |
4427 | to reduce duplication, and to achieve a slightly more logical order | |
4428 | of operations. | |
4429 | ||
1aa9438f JJ |
4430 | 2011-05-26 Jakub Jelinek <jakub@redhat.com> |
4431 | ||
4432 | PR tree-optimization/49161 | |
4433 | * tree-vrp.c (struct case_info): New type. | |
4434 | (compare_case_labels): Sort case_info structs instead of | |
4435 | trees, and not primarily by CASE_LABEL uids but by | |
4436 | label_for_block indexes. | |
4437 | (find_switch_asserts): Put case labels into struct case_info | |
4438 | array instead of TREE_VEC, adjust sorting, compare label_for_block | |
4439 | values instead of CASE_LABELs. | |
4440 | ||
50fed7bf RR |
4441 | 2011-05-26 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
4442 | ||
4443 | * config/arm/neon.md ("orn<mode>3_neon"): Canonicalize not. | |
4444 | ("orndi3_neon"): Likewise. | |
4445 | ("bic<mode>3_neon"): Likewise. | |
4446 | ||
48df3fa6 IR |
4447 | 2011-05-26 Ira Rosen <ira.rosen@linaro.org> |
4448 | ||
4449 | PR tree-optimization/49038 | |
4450 | * tree-vect-loop-manip.c (vect_generate_tmps_on_preheader): | |
4451 | Ensure at least one epilogue iteration if required by data | |
4452 | accesses with gaps. | |
4453 | * tree-vectorizer.h (struct _loop_vec_info): Add new field | |
4454 | to mark loops that require peeling for gaps. | |
4455 | * tree-vect-loop.c (new_loop_vec_info): Initialize new field. | |
4456 | (vect_get_known_peeling_cost): Take peeling for gaps into | |
4457 | account. | |
4458 | (vect_transform_loop): Generate epilogue if required by data | |
4459 | access with gaps. | |
4460 | * tree-vect-data-refs.c (vect_analyze_group_access): Mark the | |
4461 | loop as requiring an epilogue if there are gaps in the end of | |
4462 | the strided group. | |
4463 | ||
53febcba ILT |
4464 | 2011-05-25 Ian Lance Taylor <iant@google.com> |
4465 | ||
4466 | * godump.c (go_format_type): Output the first field with a usable | |
4467 | Go type, if any. | |
4468 | ||
dbbc4d4c ILT |
4469 | 2011-05-25 Ian Lance Taylor <iant@google.com> |
4470 | ||
4471 | * godump.c (go_format_type): Check for invalid type names, pointer | |
4472 | target types, and struct field types. | |
4473 | ||
f03a5402 JM |
4474 | 2011-05-25 Jason Merrill <jason@redhat.com> |
4475 | ||
4476 | * print-tree.c (print_node): Only look at TREE_TYPE if TS_TYPED. | |
4477 | ||
c497c412 UB |
4478 | 2011-05-25 Uros Bizjak <ubizjak@gmail.com> |
4479 | ||
4480 | * config/i386/sse.md (*<sse>_maskcmp<mode>3_comm): New pattern. | |
4481 | ||
e470affe L |
4482 | 2011-05-25 H.J. Lu <hongjiu.lu@intel.com> |
4483 | ||
4484 | * config/i386/i386.md (*movqi_extv_1)): Put back | |
4485 | "register_operand" check in "type" calculation. | |
4486 | (*movqi_extzv_2): Likewise. | |
4487 | ||
6c81b2bc L |
4488 | 2011-05-25 H.J. Lu <hongjiu.lu@intel.com> |
4489 | ||
c497c412 | 4490 | * doc/extend.texi (X86 Built-in Functions): Update pause intrinsic. |
6c81b2bc | 4491 | |
0c007eb2 BS |
4492 | 2011-05-25 Bernd Schmidt <bernds@codesourcery.com> |
4493 | ||
4494 | PR bootstrap/49160 | |
4495 | * libgcc2.h (__powisf2, __powidf2, __powitf2, __powixf2, | |
4496 | __mulsc3, __muldc3, __mulxc3, __multc3, __divsc3, __divdc3, | |
4497 | __divxc3, __divtc3): Wrap definitions in #ifndef. | |
4498 | ||
521ca78e L |
4499 | 2011-05-25 H.J. Lu <hongjiu.lu@intel.com> |
4500 | ||
4501 | PR target/49142 | |
4502 | * config/i386/i386.md (*movqi_extv_1_rex64): Remove | |
4503 | "register_operand" check and replace q_regs_operand with | |
4504 | QIreg_operand in "type" calculation. | |
4505 | (*movqi_extv_1): Likewise. | |
4506 | (*movqi_extzv_2_rex64): Likewise. | |
4507 | (*movqi_extzv_2): Likewise. | |
4508 | ||
4509 | * config/i386/predicates.md (QIreg_operand): New. | |
4510 | ||
29f8b844 RG |
4511 | 2011-05-25 Richard Guenther <rguenther@suse.de> |
4512 | ||
4513 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Fix | |
4514 | type-based offset disambiguation, streamline MEM_REF and | |
4515 | TARGET_MEM_REF handling. | |
4516 | ||
74838de3 L |
4517 | 2011-05-25 H.J. Lu <hongjiu.lu@intel.com> |
4518 | ||
4519 | * config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_PAUSE. | |
4520 | (bdesc_special_args): Add pause intrinsic. | |
4521 | ||
4522 | * config/i386/i386.md (UNSPEC_PAUSE): New. | |
4523 | (pause): Likewise. | |
4524 | (*pause): Likewise. | |
4525 | * config/i386/ia32intrin.h (__pause): Likewise. | |
4526 | ||
4527 | * doc/extend.texi (X86 Built-in Functions): Add documentation for | |
4528 | pause intrinsic. | |
4529 | ||
d24ad7d6 BS |
4530 | 2011-05-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
4531 | ||
4532 | PR tree-optimization/46728 | |
4533 | * tree-ssa-math-opts.c (gimple_expand_builtin_pow): New. | |
4534 | (execute_cse_sincos): Add switch case for BUILT_IN_POW. | |
c497c412 | 4535 | |
d9f8303f NF |
4536 | 2011-05-25 Nathan Froyd <froydnj@codesourcery.com> |
4537 | ||
4538 | * tree.h (struct tree_exp): Inherit from struct tree_typed. | |
4539 | * tree.c (initialize_tree_contains_struct): Mark TS_EXP as TS_TYPED | |
4540 | instead of TS_COMMON. | |
4541 | ||
cdbf4541 BS |
4542 | 2011-05-25 Bernd Schmidt <bernds@codesourcery.com> |
4543 | ||
4544 | * libgcc2.h (__NW, __NDW): Define using a __gnu_ prefix if | |
4545 | LIBGCC2_GNU_PREFIX is defined. | |
4546 | (__N): New macro. | |
4547 | (__powisf2, __powidf2, __powitf2, __powixf2, __bswapsi2, __bswapdi2, | |
4548 | __mulsc3, __muldc3, __mulxc3, __multc3, __divsc3, __divdc3, __divxc3, | |
4549 | __divtc3, __udiv_w_sdiv, __clear_cache, __enable_execute_stack, | |
4550 | __clz_tab): Define using __N. | |
4551 | (__absvsi2, __negvsi2, __addvsi3, __subvsi3, __mulvsi3): Likewise if | |
4552 | COMPAT_SIMODE_TRAPPING_ARITHMETIC. | |
4553 | * target.def (libfunc_gnu_prefix): New hook. | |
4554 | * doc/tm.texi.in (LIBGCC2_GNU_PREFIX): Document. | |
4555 | (TARGET_LIBFUNC_GNU_PREFIX): Add hook. | |
4556 | * doc/tm.texi: Regenerate. | |
4557 | * system.h (LIBGCC2_GNU_PREFIX): Poison. | |
4558 | * optabs.c (gen_libfunc): Take the libfunc_gnu_prefix hook into | |
4559 | account. | |
4560 | (gen_interclass_conv_libfunc, gen_intraclass_conv_libfunc): Likewise. | |
4561 | (init_optabs): Likewise for the bswap libfuncs. | |
4562 | * tree.c (build_common_builtin_nodes): Likewise for complex multiply | |
4563 | and divide. | |
4564 | * config/t-slibgcc-elf-ver (SHLIB_MAPFILES): Use $$(libgcc_objdir). | |
4565 | * config/t-slibgcc-sld (SHLIB_MAPFILES): Likewise. | |
4566 | * libgcc-std.ver: Remove. | |
4567 | * Makefile.in (srcdirify): Handle $$(libgcc_objdir). | |
4568 | * config/frv/t-linux (SHLIB_MAPFILES): Use $$(libgcc_objdir) for | |
4569 | libgcc-std.ver. | |
4570 | * config/i386/t-linux (SHLIB_MAPFILES): Likewise. | |
4571 | * config/mips/t-slibgcc-irix (SHLIB_MAPFILES): Likewise. | |
4572 | * config/rs6000/t-aix43 (SHLIB_MAPFILES): Likewise. | |
4573 | * config/rs6000/t-aix52 (SHLIB_MAPFILES): Likewise. | |
4574 | * config/sparc/t-linux (SHLIB_MAPFILES): Likewise. | |
4575 | * config/i386/t-linux (SHLIB_MAPFILES): Likewise. | |
4576 | * config/i386/t-linux (SHLIB_MAPFILES): Likewise. | |
4577 | * config/fixed-bit.h (FIXED_OP): Define differently depending on | |
4578 | LIBGCC2_GNU_PREFIX. All uses changed not to pass leading underscores. | |
4579 | (FIXED_CONVERT_OP, FIXED_CONVERT_OP2): Likewise. | |
4580 | ||
f242c0a5 JH |
4581 | 2011-05-25 Jan Hubicka <jh@suse.cz> |
4582 | ||
4583 | * lto-streamer-out.c (output_record_start): Use lto_output_enum | |
4584 | (lto_output_tree): Use output_record_start. | |
4585 | * lto-streamer-in.c (input_record_start): Use lto_input_enum | |
4586 | (lto_get_pickled_tree): Use input_record_start. | |
4587 | * lto-section-in.c (lto_section_overrun): Turn into fatal error. | |
4588 | (lto_value_range_error): New function. | |
4589 | * lto-streamer.h (lto_value_range_error): Declare. | |
4590 | (lto_output_int_in_range, lto_input_int_in_range): New functions. | |
4591 | (lto_output_enum, lto_input_enum): New macros. | |
4592 | ||
a11e0df4 EB |
4593 | 2011-05-25 Eric Botcazou <ebotcazou@adacore.com> |
4594 | ||
4595 | * common.opt (flag_stack_usage_info): New variable. | |
4596 | (-Wstack-usage): New option. | |
4597 | * doc/invoke.texi (Warning options): Document -Wstack-usage. | |
4598 | * opts.c (common_handle_option) <OPT_Wstack_usage_>: New case. | |
4599 | <OPT_fstack_usage>: Likewise. | |
4600 | * toplev.c (output_stack_usage): Handle -Wstack-usage. | |
4601 | * calls.c (expand_call): Test flag_stack_usage_info variable instead | |
4602 | of flag_stack_usage. | |
4603 | (emit_library_call_value_1): Likewise. | |
4604 | * explow.c (allocate_dynamic_stack_space): Likewise. | |
4605 | * function.c (instantiate_virtual_regs ): Likewise. | |
4606 | (prepare_function_start): Likewise. | |
4607 | (rest_of_handle_thread_prologue_and_epilogue): Likewise. | |
4608 | * config/alpha/alpha.c (alpha_expand_prologue): Likewise. | |
4609 | * config/arm/arm.c (arm_expand_prologue): Likewise. | |
4610 | (thumb1_expand_prologue): Likewise. | |
4611 | * config/avr/avr.c (expand_prologue): Likewise. | |
4612 | * config/i386/i386.c (ix86_expand_prologue): Likewise. | |
4613 | * config/ia64/ia64.c (ia64_expand_prologue): Likewise. | |
4614 | * config/m68k/m68k.c (m68k_expand_prologue): Likewise. | |
4615 | * config/mips/mips.c (mips_expand_prologue): Likewise. | |
4616 | * config/pa/pa.c (hppa_expand_prologue): Likewise. | |
4617 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Likewise. | |
4618 | * config/s390/s390.c (s390_emit_prologue): Likewise. | |
4619 | * config/sh/sh.c (sh_expand_prologue): Likewise. | |
4620 | * config/sparc/sparc.c (sparc_expand_prologue): Likewise. | |
4621 | * config/spu/spu.c (spu_expand_prologue): Likewise. | |
4622 | ||
e7cfe241 RG |
4623 | 2011-05-25 Richard Guenther <rguenther@suse.de> |
4624 | ||
4625 | * gimple.c (iterative_hash_canonical_type): Skip non-FIELD_DECLs. | |
4626 | (gimple_canonical_types_compatible_p): Likewise. | |
4627 | ||
c5235f4c JH |
4628 | 2011-05-25 Jan Hubicka <jh@suse.cz> |
4629 | ||
4630 | PR middle-end/49062 | |
4631 | * ipa.c (function_and_variable_visibility): Only add to same | |
4632 | comdat group list if DECL_ONE_ONLY. | |
4633 | ||
8242a0f6 AB |
4634 | 2011-05-25 Andrey Belevantsev <abel@ispras.ru> |
4635 | ||
4636 | PR rtl-optimization/49014 | |
4637 | * config/i386/athlon.md (athlon_ssecomi): Change type to ssecomi. | |
4638 | ||
642a011d JJ |
4639 | 2011-05-25 Jakub Jelinek <jakub@redhat.com> |
4640 | ||
4641 | PR target/49128 | |
4642 | * config/i386/driver-i386.c (host_detect_local_cpu): Fix a typo. | |
4643 | ||
30a435d8 VM |
4644 | 2011-05-24 Vladimir Makarov <vmakarov@redhat.com> |
4645 | ||
4646 | PR rtl-optimization/48757 | |
4647 | * ira-build.c (loop_with_eh_edge_p): Rename to | |
4648 | loop_with_complex_edge_p, check edges on complexity, make function | |
4649 | conditional. | |
4650 | (mark_loops_for_removal): Make call of loop_with_complex_edge_p | |
4651 | conditional. | |
4652 | ||
24d1bbc7 EB |
4653 | 2011-05-24 Eric Botcazou <ebotcazou@adacore.com> |
4654 | ||
4655 | * config/sparc/sparc.c (sparc_option_override): If not set by the user, | |
4656 | force flag_ira_share_save_slots to 0. | |
4657 | ||
65773087 EB |
4658 | 2011-05-24 Eric Botcazou <ebotcazou@adacore.com> |
4659 | ||
4660 | * var-tracking.c (compute_cfa_pointer): Adjust head comment. | |
4661 | (vt_initialize): Set PROLOGUE_BB unconditionally. | |
4662 | Add block comment about CFA_BASE_RTX machinery. | |
4663 | Reset FP_CFA_OFFSET to -1 on all invalid paths. | |
4664 | Call vt_init_cfa_base only if FP_CFA_OFFSET isn't equal to -1. | |
4665 | ||
4e26ba90 NP |
4666 | 2011-05-24 Nicola Pero <nicola.pero@meta-innovation.com> |
4667 | ||
4668 | PR objc/48187 | |
4669 | * c-parser.c (c_parser_objc_class_instance_variables): More robust | |
4670 | parsing of syntax error in ObjC instance variable lists. In | |
4671 | particular, avoid an infinite loop if there is a stray ']'. | |
4672 | Updated error message. | |
4673 | ||
936fd13c ILT |
4674 | 2011-05-24 Ian Lance Taylor <iant@google.com> |
4675 | ||
4676 | * godump.c (go_define): Don't accept a string immediately after | |
4677 | another operand. | |
4678 | ||
f17333e3 ILT |
4679 | 2011-05-24 Ian Lance Taylor <iant@google.com> |
4680 | ||
4681 | * godump.c (struct godump_container): Add invalid_hash field. | |
4682 | (go_format_type): Return false if type is found in invalid_hash. | |
4683 | (go_output_typedef): Add invalid type to invalid_hash. | |
4684 | (go_finish): Create and delete invalid_hash. | |
4685 | ||
d24ad7d6 | 4686 | 2011-05-24 Bill Schmidt <wschmidt@linux.vnet.ibm.com> |
c497c412 | 4687 | |
78be79d5 BS |
4688 | PR tree-optimization/46728 |
4689 | * tree-ssa-math-opts.c (powi_table): New. | |
4690 | (powi_lookup_cost): New. | |
4691 | (powi_cost): New. | |
4692 | (powi_as_mults_1): New. | |
4693 | (powi_as_mults): New. | |
4694 | (gimple_expand_builtin_powi): New. | |
4695 | (execute_cse_sincos): Add switch case for BUILT_IN_POWI. | |
4696 | (gate_cse_sincos): Remove sincos/cexp restriction. | |
f17333e3 | 4697 | |
caee412b RO |
4698 | 2011-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4699 | ||
4700 | PR target/3746 | |
4701 | * config.gcc (alpha*-dec-osf5.1*): Only build mips-tfile, | |
4702 | mips-tdump native. | |
4703 | * mips-tfile.c: Remove CROSS_DIRECTORY_STRUCTURE handling. | |
4704 | * mips-tdump.c: Likewise. | |
4705 | ||
5eed4f27 L |
4706 | 2011-05-24 H.J. Lu <hongjiu.lu@intel.com> |
4707 | ||
4708 | PR target/49128 | |
4709 | * config/i386/driver-i386.c (host_detect_local_cpu): Always | |
4710 | add -mno-XXX. Handle FMA. | |
4711 | ||
8c5fdaae VM |
4712 | 2011-05-24 Vladimir Makarov <vmakarov@redhat.com> |
4713 | ||
4714 | PR rtl-optimization/48633 | |
4715 | * ira-build.c (loop_with_eh_edge_p): New function. | |
4716 | (mark_loops_for_removal): Use it. | |
4717 | ||
4718 | 2011-05-24 Vladimir Makarov <vmakarov@redhat.com> | |
113a5be6 VM |
4719 | |
4720 | PR rtl-optimization/48971 | |
4721 | * ira.c (setup_pressure_classes): Don't check register move cost | |
4722 | for classes with one registers. Don't add pressure class if there | |
4723 | is a pressure class with the same available hard registers. | |
4724 | Check contains_reg_of_mode. Fix a typo in collecting | |
4725 | temp_hard_regset. Ignore hard registers not belonging to a class. | |
4726 | ||
df1f7315 UB |
4727 | 2011-05-24 Uros Bizjak <ubizjak@gmail.com> |
4728 | ||
4729 | PR target/49133 | |
4730 | * config/i386/sse.md (sse2_loadhpd): Remove shufpd alternative. | |
4731 | ||
ee0cb37c EB |
4732 | 2011-05-24 Eric Botcazou <ebotcazou@adacore.com> |
4733 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
4734 | ||
4735 | PR gcov-profile/48845 | |
4736 | * config/sol2.h (LIB_SPEC): Link TLS support for tree profiling. | |
4737 | ||
6a20ce76 RG |
4738 | 2011-05-24 Richard Guenther <rguenther@suse.de> |
4739 | ||
4740 | * gimple.c (compare_type_names_p): Remove for_completion_p arg. | |
4741 | (gimple_compatible_complete_and_incomplete_subtype_p): Remove. | |
4742 | (gimple_types_compatible_p_1): Adjust. | |
4743 | (iterative_hash_canonical_type): Do not bother about complete vs. | |
4744 | incomplete types. | |
4745 | (gimple_canonical_types_compatible_p): Likewise. | |
4746 | ||
2fcb858c RO |
4747 | 2011-05-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4748 | ||
4749 | * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Remove. | |
4750 | ||
96d91dcf RG |
4751 | 2011-05-24 Richard Guenther <rguenther@suse.de> |
4752 | ||
4753 | PR bootstrap/49078 | |
4754 | * gimple.c (gimple_register_canonical_type): Revert | |
4755 | previous change. | |
4756 | * alias.c (get_alias_set): Only assert that TYPE_CANONICAL | |
4757 | does not for a tree for the case where it matters. Cache | |
4758 | pointer-type alias-sets. | |
4759 | ||
1ed1641d JM |
4760 | 2011-05-24 Joseph Myers <joseph@codesourcery.com> |
4761 | ||
4762 | * Makefile.in (GCC_OBJS): Remove opts-common.o and options.o. | |
4763 | (OBJS): Remove options.o, opts-common.o and prefix.o. | |
4764 | (OBJS-libcommon-target): New. | |
4765 | (ALL_HOST_BACKEND_OBJS): Include $(OBJS-libcommon-target). | |
4766 | (BACKEND): Include libcommon-target.a. | |
4767 | (MOSTLYCLEANFILES): Include libcommon-target.a. | |
4768 | (libcommon-target.a): New. | |
4769 | (xgcc$(exeext), cpp$(exeext)): Use libcommon-target.a instead of | |
4770 | prefix.o. | |
4771 | ||
57dfdff0 JM |
4772 | 2011-05-23 Joseph Myers <joseph@codesourcery.com> |
4773 | ||
4774 | * optc-save-gen.awk: New. Based on optc-gen.awk. Don't generate | |
4775 | parts of output shared with the driver. | |
4776 | * optc-gen.awk: Don't generate parts of output not shared with the | |
4777 | driver. | |
4778 | * opth-gen.awk: Remove GCC_DRIVER conditionals. | |
4779 | * doc/options.texi (SourcerInclude): Mention options-save.c. | |
4780 | * Makefile.in (GCC_OBJS): Use options.o instead of gcc-options.o. | |
4781 | (OBJS): Add options-save.o. | |
4782 | (options-save.c, options-save.o): New. | |
4783 | (options.o): Update dependencies. | |
4784 | (gcc-options.o): Remove. | |
4785 | (mostlyclean): Remove options-save.c. | |
4786 | ||
0e0d82a7 JJ |
4787 | 2011-05-23 Jakub Jelinek <jakub@redhat.com> |
4788 | ||
9166988f JJ |
4789 | PR debug/49032 |
4790 | * dbxout.c: Include cgraph.h. | |
4791 | (dbxout_expand_expr): If a VAR_DECL is TREE_STATIC, not written | |
4792 | and without value expr, return NULL if no varpool node exists for | |
4793 | it or if it is not needed. | |
4794 | * Makefile.in (dbxout.o): Depend on $(CGRAPH_H). | |
4795 | ||
0e0d82a7 JJ |
4796 | PR c/49120 |
4797 | * c-decl.c (start_decl): Convert expr to void_type_node. | |
4798 | ||
65712d5c RS |
4799 | 2011-05-23 Richard Sandiford <rdsandiford@googlemail.com> |
4800 | ||
4801 | PR rtl-optimization/48826 | |
4802 | * emit-rtl.c (try_split): When splitting a call that is followed | |
4803 | by a NOTE_INSN_CALL_ARG_LOCATION, move the note after the new call. | |
4804 | ||
9025085e JJ |
4805 | 2011-05-23 Jakub Jelinek <jakub@redhat.com> |
4806 | ||
4807 | * cfgexpand.c (expand_debug_expr): For unused non-addressable | |
4808 | parameters passed in memory prefer using DECL_INCOMING_RTL over | |
4809 | the pseudos it will be copied into. | |
4810 | ||
34a061be L |
4811 | 2011-05-23 H.J. Lu <hongjiu.lu@intel.com> |
4812 | ||
4813 | PR target/47315 | |
4814 | * config/i386/i386.c (ix86_option_override_internal): Save the | |
4815 | initial options after checking vzeroupper. | |
4816 | ||
c375a3a4 DL |
4817 | 2011-05-23 David Li <davidxl@google.com> |
4818 | ||
4819 | PR tree-optimization/48988 | |
4820 | * tree-ssa-uninit.c (convert_control_dep_chain_into_preds): | |
4821 | Initialize has_valid_pred for each pred chain. | |
4822 | ||
e1caba18 RG |
4823 | 2011-05-23 Richard Guenther <rguenther@suse.de> |
4824 | ||
4825 | * gimple.c (gimple_types_compatible_p_1): Always compare type names. | |
4826 | (iterative_hash_gimple_type): Always hash type names. | |
4827 | ||
dde05067 NF |
4828 | 2011-05-23 Nathan Froyd <froydnj@codesourcery.com> |
4829 | ||
4830 | * c-typeck.c (build_function_call_vec): Tweak call to | |
4831 | check_function_arguments. | |
4832 | ||
094f6ab3 RG |
4833 | 2011-05-23 Richard Guenther <rguenther@suse.de> |
4834 | ||
4835 | PR tree-optimization/49115 | |
4836 | * tree-ssa-alias.c (stmt_kills_ref_p_1): If the assignment | |
4837 | is not necessarily carried out, do not claim it kills the ref. | |
4838 | * tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1): Likewise. | |
4839 | ||
9a9822e1 RG |
4840 | 2011-05-23 Richard Guenther <rguenther@suse.de> |
4841 | ||
4842 | PR middle-end/15419 | |
4843 | * builtins.c (fold_builtin_memory_op): Be less restrictive about | |
4844 | what pointer types we accept for folding. | |
4845 | ||
c8028650 RO |
4846 | 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4847 | ||
4848 | * gthr-gnat.c: Remove. | |
4849 | * gthr-gnat.h: Remove. | |
4850 | * Makefile.in (LIB2ADDEH): Remove $(srcdir)/gthr-gnat.c. | |
4851 | * config/t-freebsd (LIB2ADDEH): Likewise. | |
4852 | * config/t-linux (LIB2ADDEH): Likewise. | |
4853 | * config/t-sol2 (LIB2ADDEH): Likewise. | |
4854 | * config/ia64/t-vms (LIB2ADDEH): Likewise. | |
4855 | * configure.ac (target_thread_file): Remove gnat handling. | |
4856 | * configure: Regenerate. | |
4857 | * doc/install.texi (Configuration, --enable-threads): Remove gnat. | |
4858 | ||
15882fe9 TG |
4859 | 2011-05-23 Tristan Gingold <gingold@adacore.com> |
4860 | Eric Botcazou <ebotcazou@adacore.com> | |
4861 | ||
4862 | * gcov.c (create_file_names): If no object directory is specified, | |
4863 | keep the directory of the file. | |
4864 | ||
da90c957 RO |
4865 | 2011-05-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4866 | ||
4867 | * configure.ac (enable_threads): Remove irix; add lynx, tpf; sort list. | |
4868 | * configure: Regenerate. | |
4869 | ||
7bba408b JJ |
4870 | 2011-05-23 Jakub Jelinek <jakub@redhat.com> |
4871 | ||
4872 | PR middle-end/48973 | |
4873 | * expr.c (expand_expr_real_2) <case LT_EXPR>: If do_store_flag | |
4874 | failed and the comparison has a single bit signed type, use | |
4875 | constm1_rtx instead of const1_rtx for true value. | |
4876 | (do_store_flag): If ops->type is single bit signed type, disable | |
4877 | signel bit test optimization and pass -1 instead of 1 as last | |
4878 | parameter to emit_store_flag_force. | |
4879 | ||
bc69f7ff TV |
4880 | 2011-05-23 Tom de Vries <tom@codesourcery.com> |
4881 | ||
4882 | PR target/45098 | |
4883 | * tree-ssa-loop-niter.c (infer_loop_bounds_from_pointer_arith): New | |
4884 | function. | |
4885 | (infer_loop_bounds_from_undefined): Use new function. | |
4886 | ||
29cedf8e RS |
4887 | 2011-05-22 Richard Sandiford <rdsandiford@googlemail.com> |
4888 | ||
4889 | * config/mips/mips.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Delete. | |
4890 | (ASM_SPEC): Add a -O* option here. Pass -O0 for -noasmopt, | |
4891 | -O1 for -fno-delayed-branch, -O2 if optimization is enabled, | |
4892 | and -O0 otherwise. | |
4893 | (EXTRA_SPECS): Remove subtarget_asm_optimizing_spec. | |
4894 | ||
afe8b6ec EB |
4895 | 2011-05-22 Eric Botcazou <ebotcazou@adacore.com> |
4896 | ||
4897 | * cfgcleanup.c (try_forward_edges): Do not update BB_FORWARDER_BLOCK. | |
4898 | (try_optimize_cfg): Update BB_FORWARDER_BLOCK if try_forward_edges | |
4899 | returns true. | |
4900 | ||
872dab53 RS |
4901 | 2011-05-22 Richard Sandiford <rdsandiford@googlemail.com> |
4902 | ||
4903 | * config/mips/mips.c (mips_default_arch): Honor MIPS_ISA_DEFAULT. | |
4904 | ||
145f6c5b EB |
4905 | 2011-05-22 Eric Botcazou <ebotcazou@adacore.com> |
4906 | ||
4907 | * config/sparc/sparc.c (sparc_delegitimize_address): Handle | |
4908 | UNSPEC_MOVE_PIC pattern. | |
4909 | ||
8ac79835 EB |
4910 | 2011-05-22 Eric Botcazou <ebotcazou@adacore.com> |
4911 | ||
4912 | * config.gcc (sparc-*-elf*): Add sparc/t-crtin. | |
4913 | (sparc-*-rtems*): Likewise. | |
4914 | (sparc64-*-elf*): Likewise. | |
4915 | (sparc64-*-rtems*): Likewise. | |
4916 | (sparc*-*-solaris2*): Likewise. Remove crti.o crtn.o extra parts. | |
4917 | * config/sparc/t-crtin: New file. | |
4918 | * config/sparc/t-sol2 (crti.o): Delete rule. | |
4919 | (crtn.o): Likewise. | |
4920 | * config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Delete. | |
4921 | * config/sparc/t-sol2-64 (EXTRA_MULTILIB_PARTS): Likewise. | |
4922 | * config/sparc/sp64-elf.h (STARTFILE_SPEC): Tidy and add crti.o. | |
4923 | (ENDFILE_SPEC): Add crtn.o. | |
4924 | ||
5fb43dd8 TV |
4925 | 2011-05-22 Tom de Vries <tom@codesourcery.com> |
4926 | ||
4927 | PR middle-end/48689 | |
4928 | * fold-const.c (fold_checksum_tree): Guard TREE_CHAIN use with | |
4929 | CODE_CONTAINS_STRUCT (TS_COMMON). | |
4930 | ||
ccb1b17b JJ |
4931 | 2011-05-22 Jakub Jelinek <jakub@redhat.com> |
4932 | ||
4933 | PR middle-end/49029 | |
4934 | * expmed.c (extract_fixed_bit_field): Test whether target can be used | |
4935 | only after deciding which mode to use. | |
4936 | ||
50ad7db2 TV |
4937 | 2011-05-22 Tom de Vries <tom@codesourcery.com> |
4938 | ||
4939 | PR target/45098 | |
dc0a3366 | 4940 | * tree-ssa-loop-ivopts.c (force_expr_to_var_cost): Fix const test |
50ad7db2 TV |
4941 | for call to get_shiftadd_cost. |
4942 | ||
ef230b38 UB |
4943 | 2011-05-22 Uros Bizjak <ubizjak@gmail.com> |
4944 | ||
4945 | PR target/49104 | |
4946 | * config/i386/cpuid.h (bit_MMXEXT): New define. | |
4947 | ||
15f072f9 NC |
4948 | 2011-05-22 Nick Clifton <nickc@redhat.com> |
4949 | ||
4950 | * config/stormy16/stormy16.c (xstormy16_init_builtins): prevent | |
4951 | initialisation of non-existant args[2] element. Use args[] array | |
4952 | not arg[] array to pass arguments to build_function_type_list. | |
4953 | ||
e38fdc94 IR |
4954 | 2011-05-22 Ira Rosen <ira.rosen@linaro.org> |
4955 | ||
4956 | PR tree-optimization/49087 | |
ef230b38 | 4957 | * tree-vect-loop.c (vect_is_slp_reduction): Fail if LHS has no uses. |
e38fdc94 | 4958 | |
5b018c65 JM |
4959 | 2011-05-21 Jason Merrill <jason@redhat.com> |
4960 | ||
4961 | PR c++/49092 | |
4962 | * dwarf2out.c (tree_add_const_value_attribute_for_decl): Check for | |
4963 | static storage duration. | |
4964 | ||
abd9a770 EB |
4965 | 2011-05-21 Eric Botcazou <ebotcazou@adacore.com> |
4966 | ||
4967 | * config/sparc/sparc.md (setjmp): Handle PIC mode and use the hard | |
4968 | frame pointer. | |
4969 | ||
bd9a3248 EB |
4970 | 2011-05-21 Eric Botcazou <ebotcazou@adacore.com> |
4971 | ||
4972 | * config/sparc/sparc.c (eligible_for_return_delay): Do not return | |
4973 | false if there are call-saved registers here... | |
4974 | (sparc_can_use_return_insn_p): ...but here instead. | |
4975 | (save_or_restore_regs): Fix thinko. | |
4976 | (sparc_expand_prologue): Use current_function_is_leaf. | |
4977 | (sparc_frame_pointer_required): Likewise. | |
4978 | ||
a5dfec9a NC |
4979 | 2011-05-21 Nick Clifton <nickc@redhat.com> |
4980 | ||
4981 | PR target/49098 | |
4982 | * config/rx/rx.c (rx_memory_move_cost): Note unused parameters. | |
4983 | ||
555c3771 NP |
4984 | 2011-05-21 Nicola Pero <nicola.pero@meta-innovation.com> |
4985 | ||
4986 | * gengtype.c (walk_type): Implemented "atomic" GTY option. | |
4987 | * doc/gty.texi (GTY Options): Document "atomic" GTY option. | |
4988 | ||
86fa5de4 JM |
4989 | 2011-05-21 Joseph Myers <joseph@codesourcery.com> |
4990 | ||
4991 | * opt-read.awk: New. Split out of optc-gen.awk and opth-gen.awk. | |
4992 | * optc-gen.awk: Move common code to opt-read.awk. | |
4993 | * opth-gen.awk: Likewise. | |
ef230b38 | 4994 | * Makefile.in (options.c, s-options-h): Update to use opt-read.awk. |
86fa5de4 | 4995 | |
bce33ab2 NF |
4996 | 2011-05-20 Nathan Froyd <froydnj@codesourcery.com> |
4997 | ||
4998 | * godump.c (go_format_type): Don't use TYPE_ARG_TYPES. | |
4999 | ||
e6450c11 TV |
5000 | 2011-05-20 Tom de Vries <tom@codesourcery.com> |
5001 | ||
5002 | PR target/45098 | |
5003 | * tree-ssa-loop-ivopts.c: Include expmed.h. | |
5004 | (get_shiftadd_cost): New function. | |
5005 | (force_expr_to_var_cost): Declare forward. Use get_shiftadd_cost. | |
5006 | ||
0e8b84ec JJ |
5007 | 2011-05-20 Jakub Jelinek <jakub@redhat.com> |
5008 | ||
5009 | PR bootstrap/49086 | |
5010 | * gimple-fold.c (and_comparisons_1, or_comparisons_1): Return NULL | |
5011 | for PHI args that are SSA_NAME_IS_DEFAULT_DEF. | |
5012 | ||
946bdf67 JM |
5013 | 2011-05-20 Joseph Myers <joseph@codesourcery.com> |
5014 | ||
5015 | * Makefile.in: Update comment referring to $(OBJS-common). | |
5016 | ||
c53aafdf ILT |
5017 | 2011-05-20 Ian Lance Taylor <iant@google.com> |
5018 | ||
5019 | * godump.c (go_output_typedef): Put enum constants in the macro | |
5020 | hash table to avoid duplicate Go const definitions. | |
5021 | ||
2691e6d7 JM |
5022 | 2011-05-20 Joseph Myers <joseph@codesourcery.com> |
5023 | ||
5024 | * Makefile.in (LIBDEPS): Add libcommon.a. | |
5025 | (LIBS): Likewise. | |
5026 | (GCC_OBJS): Remove diagnostic.o, pretty-print.o and input.o. | |
5027 | (OBJS-common): Remove diagnostic.o, input.o, intl.o, | |
5028 | pretty-print.o and version.o. | |
5029 | (OBJS-libcommon): New. | |
5030 | (ALL_HOST_BACKEND_OBJS): Add $(OBJS-libcommon). | |
5031 | (BACKEND): Add libcommon.a. | |
5032 | (MOSTLYCLEANFILES): Likewise. | |
5033 | (libcommon.a): New. | |
5034 | (xgcc$(exeext)): Don't explicitly use version.o and intl.o. | |
5035 | (cpp$(exeext)): Likewise. | |
5036 | (COLLECT2_OBJS): Remove intl.o, version.o, diagnostic.o, | |
5037 | pretty-print.o and input.o. | |
5038 | (lto-wrapper$(exeext)): Don't explicitly use intl.o. | |
5039 | (lto-wrapper.o): Depend on $(DIAGNOSTIC_H). | |
5040 | (errors.o): Remove. | |
5041 | (mips-tfile): Don't explicitly use version.o. | |
5042 | (mips-tdump): Likewise. | |
5043 | (gcov.o): Depend on $(DIAGNOSTIC_H). | |
5044 | (gcov-dump.o): Depend on intl.h and $(DIAGNOSTIC_H). | |
5045 | (GCOV_OBJS): Remove intl.o, version.o and errors.o. | |
5046 | (GCOV_DUMP_OBJS): Remove version.o and errors.o. | |
5047 | * gcov-dump.c: Include intl.h and diagnostic.h. | |
5048 | (main): Initialize diagnostics. | |
5049 | * gcov.c: Include diagnostic.h. | |
5050 | (fnotice): Remove. | |
5051 | (main): Initialize diagnostics. | |
5052 | * lto-wrapper.c: Include diagnostic.h. | |
5053 | (main): Initialize diagnostics. | |
5054 | ||
252b3e8c MM |
5055 | 2011-05-20 Michael Matz <matz@suse.de> |
5056 | ||
5057 | * Makefile.in (OBJS-common, OBJS-md, OBJS-archive): Merge into OBJS. | |
5058 | ||
2ee36ba6 MM |
5059 | 2011-05-20 Michael Matz <matz@suse.de> |
5060 | Richard Guenther <rguenther@suse.de> | |
5061 | ||
5062 | * lto-streamer.c (lto_record_common_node): Don't track seen nodes, | |
5063 | use lto_streamer_cache_append directly instead of returning a VEC. | |
5064 | (preload_common_node): Remove. | |
5065 | (lto_get_common_nodes): Rename to lto_preload_common_nodes, don't | |
5066 | track seen nodes. | |
5067 | (lto_streamer_cache_create): Call lto_preload_common_nodes. | |
5068 | ||
90ff582f RG |
5069 | 2011-05-20 Richard Guenther <rguenther@suse.de> |
5070 | ||
5071 | PR tree-optimization/49079 | |
5072 | * tree-dfa.c (get_ref_base_and_extent): Handle view-converting | |
5073 | MEM_REFs correctly for the trailing array access detection. | |
5074 | Special case constants the same way as decls for overall size | |
5075 | constraining. | |
5076 | ||
3cda91d8 UB |
5077 | 2011-05-20 Uros Bizjak <ubizjak@gmail.com> |
5078 | ||
5079 | * config/i386/mingw32.h (OUTPUT_QUOTED_STRING): Fix macro | |
5080 | argument expansion. | |
5081 | ||
6c66f733 JJ |
5082 | 2011-05-20 Jakub Jelinek <jakub@redhat.com> |
5083 | ||
5084 | PR tree-optimization/49073 | |
3cda91d8 UB |
5085 | * gimple-fold.c (and_comparisons_1, or_comparisons_1): Return NULL if |
5086 | PHI argument is SSA_NAME, whose def_stmt is dominated by the PHI. | |
6c66f733 JJ |
5087 | * tree-ssa-ifcombine.c (tree_ssa_ifcombine): Calculate dominators. |
5088 | ||
0ea80a16 RG |
5089 | 2011-05-20 Richard Guenther <rguenther@suse.de> |
5090 | ||
5091 | PR middle-end/48849 | |
5092 | * gimple.c (gimple_register_canonical_type): Compute TYPE_CANONICAL | |
5093 | of pointer types the same way the middle-end does. | |
5094 | ||
fb291a1e RG |
5095 | 2011-05-20 Richard Guenther <rguenther@suse.de> |
5096 | ||
3cda91d8 UB |
5097 | * gimple.c (gimple_register_type_1): Do not fiddle with main-variant |
5098 | or pointer-to chains. Delay all fixup to uniquify_nodes. | |
fb291a1e | 5099 | |
37cb25ed QN |
5100 | 2011-05-19 Quentin Neill <quentin.neill@amd.com> |
5101 | ||
5102 | * config/i386/sse.md (fma4_fmsubadd): Use <ssemodesuffix>. | |
5103 | (fma4_fmaddsub): Likewise | |
5104 | ||
a30726a4 JH |
5105 | 2011-05-19 Jan Hubicka <jh@suse.cz> |
5106 | ||
5107 | * gimple.c (gtc_visited, gtc_ob, type_pair_hash, type_pair_eq): Remove. | |
5108 | (GIMPLE_TYPE_PAIR_SIZE): New macro. | |
5109 | (type_pair_cache): New static var. | |
5110 | (lookup_type_pair): Use fixed sized custom hash; make inline. | |
5111 | (gtc_visit, gimple_types_compatible_p, gimple_register_type_1): Update | |
5112 | calls of lookup_type_pair. | |
5113 | (print_gimple_types_stats): Remove cache stats. | |
5114 | (free_gimple_type_tables): Free type_pair_cache instead of gtc_visited | |
5115 | and gtc_ob. | |
5116 | ||
0955cf61 UB |
5117 | 2011-05-19 Uros Bizjak <ubizjak@gmail.com> |
5118 | ||
5119 | * config/i386/i386.c (option_override_internal): Enable TARGET_CMOVE | |
5120 | when TARGET_RDRND is active. | |
5121 | (ix86_expand_builtin) <case IX86_BUILTIN_RDRAND{16,32,64}_STEP>: | |
5122 | Generate dummy SImode target register when target is NULL. | |
5123 | ||
12d844c8 JM |
5124 | 2011-05-19 Joseph Myers <joseph@codesourcery.com> |
5125 | ||
5126 | * config/arm/arm-fpus.def: New. | |
5127 | * config/arm/genopt.sh: Generate Enum and EnumValue entries from | |
5128 | arm-fpus.def. | |
5129 | * config/arm/arm-tables.opt: Regenerate. | |
5130 | * config/arm/arm.c (all_fpus): Move contents to arm-fpus.def. | |
5131 | (arm_option_override): Don't decode FPU name to string here. | |
5132 | * config/arm/arm.opt (mfpu=): Use Enum. | |
5133 | * config/arm/t-arm ($(srcdir)/config/arm/arm-tables.opt, arm.o): | |
5134 | Update dependencies. | |
5135 | ||
9e350e99 JM |
5136 | 2011-05-19 Joseph Myers <joseph@codesourcery.com> |
5137 | ||
5138 | * collect2.c: Include diagnostic.h. | |
5139 | (fatal_perror, fatal, error, fancy_abort): Remove. | |
5140 | (main): Set progname. Call xmalloc_set_program_name and | |
5141 | diagnostic_initialize. | |
5142 | (maybe_run_lto_and_relink, main, collect_execute, scan_prog_file, | |
5143 | scan_libraries, resolve_lib_name): Call fatal_error instead of | |
5144 | fatal and fatal_perror. | |
5145 | * collect2.h (error, fatal, fatal_perror): Don't declare. | |
5146 | * tlink.c: Include diagnostic-core.h. | |
5147 | (recompile_files): Call fatal_error instead of fatal_perror. | |
5148 | * Makefile.in (COLLECT2_OBJS): Include diagnostic.o, | |
5149 | pretty-print.o and input.o. | |
5150 | (collect2.o, tlink.o): Update dependencies. | |
5151 | ||
86ff4081 RO |
5152 | 2011-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5153 | ||
5154 | * config/i386/i386.md (tls_initial_exec_64_sun): Add semicolon. | |
5155 | ||
2ca48caa RO |
5156 | 2011-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5157 | ||
5158 | PR target/40483 | |
5159 | * configure.ac (gcc_cv_as_comdat_group_group): Check for Sun as | |
5160 | COMDAT group syntax, both SPARC and x86 variants. | |
5161 | (HAVE_COMDAT_GROUP): Also define if gcc_cv_as_comdat_group_group. | |
5162 | * configure: Regenerate. | |
5163 | * config/sol2.h (TARGET_SOLARIS): Define. | |
5164 | (PUSHSECTION_FORMAT): Remove. | |
5165 | (SECTION_NAME_FORMAT): Define. | |
5166 | * config/sol2.c: Include hashtab.h. | |
5167 | (solaris_output_init_fini): Replace PUSHSECTION_FORMAT by its | |
5168 | expansion, using SECTION_NAME_FORMAT. | |
5169 | (solaris_comdat_htab): New variable. | |
5170 | (struct comdat_entry): Define. | |
5171 | (comdat_hash): New function. | |
5172 | (comdat_eq): New function. | |
5173 | (solaris_elf_asm_comdat_section): New function. | |
5174 | (solaris_define_comdat_signature): New function. | |
5175 | (solaris_code_end): New function. | |
5176 | * config/sol2-protos.h (solaris_elf_asm_comdat_section): Declare. | |
5177 | (solaris_code_end): Declare. | |
5178 | * config/t-sol2 (sol2.o): Add $HASHTAB_H dependency. | |
5179 | * config/i386/i386.c (ix86_code_end) [TARGET_SOLARIS]: Call | |
5180 | solaris_code_end. | |
5181 | (i386_solaris_elf_named_section): Wrap in TARGET_SOLARIS. | |
5182 | Remove ATTRIBUTE_UNUSED. | |
5183 | [!USE_GAS]: Call solaris_elf_asm_comdat_section for | |
5184 | SECTION_LINKONCE sections if HAVE_COMDAT_GROUP. | |
0955cf61 | 5185 | * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Likewise. |
2ca48caa RO |
5186 | * config/i386/sol2-10.h (TARGET_ASM_NAMED_SECTION): Moved ... |
5187 | * config/i386/sol2.h (TARGET_ASM_NAMED_SECTION): ... here. | |
5188 | * config/sparc/sol2.h (TARGET_ASM_CODE_END): Redefine. | |
5189 | (PUSHSECTION_FORMAT): Remove. | |
5190 | (SECTION_NAME_FORMAT): Redefine. | |
5191 | ||
da5fb469 KT |
5192 | 2011-05-19 Kai Tietz <ktietz@redhat.com> |
5193 | ||
5194 | * tree-cfg.c (verify_gimple_assign_binary): Barf on | |
5195 | TRUTH_AND_EXPR, TRUTH_OR_EXPR, and TRUTH_XOR_EXPR. | |
5196 | (gimplify_expr): Move TRUTH_AND|OR|XOR_EXPR to its binary form. | |
5197 | ||
1651e703 | 5198 | 2011-05-19 Anatoly Sokolov <aesok@post.ru> |
0967b228 AS |
5199 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5200 | ||
5201 | * config/t-sol2 (sol2.o): Add $(TARGET_H) dependency. | |
5202 | ||
e497b9bd RG |
5203 | 2011-05-19 Richard Guenther <rguenther@suse.de> |
5204 | ||
5205 | PR middle-end/48985 | |
5206 | * tree-object-size.c (addr_object_size): If the pointed-to | |
5207 | variable is a decl use DECL_SIZE_UNIT instead of TYPE_SIZE_UNIT. | |
5208 | ||
31b3ca64 RG |
5209 | 2011-05-19 Richard Guenther <rguenther@suse.de> |
5210 | ||
5211 | * gimple.c (gimple_types_compatible_p_1): Compare names of | |
5212 | the types themselves. | |
5213 | (iterative_hash_gimple_type): And hash them that way. | |
5214 | (gimple_register_type_1): If we register a main variant properly | |
5215 | initialize the leader to ourselves. | |
5216 | ||
bb8d292d TV |
5217 | 2011-05-19 Tom de Vries <tom@codesourcery.com> |
5218 | ||
5219 | PR target/45098 | |
5220 | * tree-ssa-loop-ivopts.c (get_expr_id): Factored new function out of | |
5221 | get_loop_invariant_expr_id. | |
5222 | (get_loop_invariant_expr_id): Use get_expr_id. | |
5223 | (parm_decl_cost): New function. | |
5224 | (determine_use_iv_cost_condition): Use get_expr_id and parm_decl_cost. | |
5225 | Improve bound cost estimation. Use different inv_expr_id for elim and | |
5226 | express cases. | |
5227 | ||
a53c5024 TV |
5228 | 2011-05-19 Tom de Vries <tom@codesourcery.com> |
5229 | ||
5230 | PR target/45098 | |
5231 | * tree-ssa-loop-ivopts.c (determine_iv_cost): Prevent | |
5232 | cost_base.cost == 0. | |
5233 | ||
31f9eb59 L |
5234 | 2011-05-18 H.J. Lu <hongjiu.lu@intel.com> |
5235 | ||
5236 | PR target/49002 | |
66bd20e7 EB |
5237 | * config/i386/sse.md |
5238 | (avx_<ssemodesuffix><avxsizesuffix>_<ssemodesuffix>): Properly handle | |
5239 | load cast. | |
31f9eb59 | 5240 | |
681056ae JJ |
5241 | 2011-05-18 Jakub Jelinek <jakub@redhat.com> |
5242 | ||
5243 | PR tree-optimization/49039 | |
5244 | * tree-vrp.c (extract_range_from_binary_expr): For | |
5245 | MIN_EXPR <~[a, b], ~[c, d]> and MAX_EXPR <~[a, b], ~[c, d]> | |
5246 | return ~[MAX_EXPR <a, c>, MIN_EXPR <b, d>]. | |
5247 | ||
b5ee6752 TV |
5248 | 2011-05-18 Tom de Vries <tom@codesourcery.com> |
5249 | ||
5250 | PR target/45098 | |
5251 | * tree-ssa-loop-ivopts.c (computation_cost): Prevent cost of 0. | |
5252 | ||
0bda47a3 UB |
5253 | 2011-05-18 Uros Bizjak <ubizjak@gmail.com> |
5254 | ||
5255 | * config/i386/i386.md (*tls_global_dynamic_32_gnu): Split asm template. | |
5256 | (*tls_global_dynamic_64): Ditto. | |
5257 | (*tls_local_dynamic_base_32_gnu): Ditto. | |
5258 | (*tls_local_dynamic_base_64): Ditto. | |
5259 | (tls_initial_exec_64_sun): Ditto. | |
5260 | ||
033b0805 SH |
5261 | 2011-05-18 Stuart Henderson <shenders@gcc.gnu.org> |
5262 | ||
5263 | * doc/invoke.texi (Blackfin Options): -mcpu accepts bf592. | |
5264 | * config/bfin/t-bfin-elf (MULTILIB_MATCHES): Select bf532-none for | |
5265 | bf592-none. | |
5266 | * config/bfin/t-bfin-linux (MULTILIB_MATCHES): Likewise. | |
5267 | * config/bfin/t-bfin-uclinux (MULTILIB_MATCHES): Likewise. | |
5268 | * config/bfin/bfin.c (bfin_cpus): Add bf592. | |
5269 | * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define | |
0bda47a3 | 5270 | __ADSPBF592__ and __ADSPBF59x__ for BFIN_CPU_BF592. |
033b0805 SH |
5271 | * config/bfin/bfin-opts.h (bfin_cpu_type): Add BFIN_CPU_BF592. |
5272 | * config/bfin/elf.h (LIB_SPEC): Add bf592. | |
5273 | ||
ba163417 JM |
5274 | 2011-05-18 Joseph Myers <joseph@codesourcery.com> |
5275 | ||
5276 | * config/arm/arm-opts.h (enum arm_fp16_format_type, enum | |
0bda47a3 | 5277 | arm_abi_type, enum float_abi_type, enum arm_tp_type): Move from arm.h. |
ba163417 JM |
5278 | * config/arm/arm.c (arm_float_abi, arm_fp16_format, arm_abi, |
5279 | target_thread_pointer, arm_structure_size_boundary, struct | |
5280 | float_abi, all_float_abis, struct fp16_format, all_fp16_formats, | |
5281 | struct abi_name, arm_all_abis): Remove. | |
0bda47a3 UB |
5282 | (arm_option_override) Don't process most enumerated option values here. |
5283 | Don't process target_fpe_name here. Work with integer not string for | |
5284 | structure size boundary; use separate diagnostics for each case. | |
ba163417 JM |
5285 | * config/arm/arm.h (enum float_abi_type, enum |
5286 | arm_fp16_format_type, enum arm_abi_type, enum arm_tp_type): Move | |
5287 | to arm-opts.h. | |
5288 | (arm_float_abi, arm_fp16_format, arm_abi, target_thread_pointer, | |
5289 | arm_structure_size_boundary): Remove. | |
5290 | * config/arm/arm.opt (mabi=): Use Enum and Init. | |
5291 | (arm_abi_type): New Enum and EnumValue entries. | |
5292 | (mfloat-abi=): Use Enum and Init. | |
5293 | (float_abi_type): New Enum and EnumValue entries. | |
0bda47a3 | 5294 | (mfp=, mfpe=): Replace by separate Alias entries for each argument. |
ba163417 JM |
5295 | (mfp16-format=): Use Enum and Init. |
5296 | (arm_fp16_format_type): New Enum and EnumValue entries. | |
5297 | (mstructure-size-boundary=): Use UInteger and Init. | |
5298 | (mtp=): Use Enum and Init. | |
5299 | (arm_tp_type): New Enum and EnumValue entries. | |
5300 | ||
179184e3 RG |
5301 | 2011-05-18 Richard Guenther <rguenther@suse.de> |
5302 | ||
5303 | PR tree-optimization/49018 | |
5304 | * gimple.c (gimple_has_side_effects): Volatile asms have side-effects. | |
5305 | * tree-ssa-ifcombine.c (bb_no_side_effects_p): Use | |
5306 | gimple_has_side_effects. | |
5307 | ||
93b2a207 RG |
5308 | 2011-05-18 Richard Guenther <rguenther@suse.de> |
5309 | ||
5310 | * gimple.c (gimple_register_type_1): New function, split out from ... | |
5311 | (gimple_register_type): ... here. Avoid infinite recursion. | |
5312 | ||
b010117a IR |
5313 | 2011-05-18 Ira Rosen <ira.rosen@linaro.org> |
5314 | ||
5315 | PR tree-optimization/41881 | |
5316 | * tree-vectorizer.h (struct _loop_vec_info): Add new field | |
5317 | reduction_chains along with a macro for its access. | |
5318 | * tree-vect-loop.c (new_loop_vec_info): Initialize reduction chains. | |
5319 | (destroy_loop_vec_info): Free reduction chains. | |
5320 | (vect_analyze_loop_2): Return false if vect_analyze_slp() returns false. | |
5321 | (vect_is_slp_reduction): New function. | |
5322 | (vect_is_simple_reduction_1): Call vect_is_slp_reduction. | |
5323 | (vect_create_epilog_for_reduction): Support SLP reduction chains. | |
5324 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Allow different | |
5325 | definition types for reduction chains. | |
5326 | (vect_supported_load_permutation_p): Don't allow permutations for | |
5327 | reduction chains. | |
5328 | (vect_analyze_slp_instance): Support reduction chains. | |
5329 | (vect_analyze_slp): Try to build SLP instance from reduction chains. | |
5330 | (vect_get_constant_vectors): Handle reduction chains. | |
5331 | (vect_schedule_slp_instance): Mark the first statement of the | |
5332 | reduction chain as reduction. | |
5333 | ||
e14c1050 IR |
5334 | 2011-05-18 Ira Rosen <ira.rosen@linaro.org> |
5335 | ||
5336 | * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks): Use new | |
5337 | names for group elements access. | |
5338 | * tree-vectorizer.h (struct _stmt_vec_info): Use interleaving info for | |
5339 | reduction chains as well. Remove data reference and interleaving | |
5340 | related words from the fields names. | |
5341 | * tree-vect-loop.c (vect_transform_loop): Use new names for group | |
5342 | elements access. | |
5343 | * tree-vect-data-refs.c (vect_get_place_in_interleaving_chain, | |
5344 | vect_insert_into_interleaving_chain, vect_update_interleaving_chain, | |
5345 | vect_update_interleaving_chain, vect_same_range_drs, | |
5346 | vect_analyze_data_ref_dependence, vect_update_misalignment_for_peel, | |
5347 | vect_verify_datarefs_alignment, vector_alignment_reachable_p, | |
5348 | vect_peeling_hash_get_lowest_cost, vect_enhance_data_refs_alignment, | |
5349 | vect_analyze_group_access, vect_analyze_data_ref_access, | |
5350 | vect_create_data_ref_ptr, vect_transform_strided_load, | |
5351 | vect_record_strided_load_vectors): Likewise. | |
5352 | * tree-vect-stmts.c (vect_model_simple_cost, vect_model_store_cost, | |
5353 | vect_model_load_cost, vectorizable_store, vectorizable_load, | |
5354 | vect_remove_stores, new_stmt_vec_info): Likewise. | |
5355 | * tree-vect-slp.c (vect_build_slp_tree, | |
5356 | vect_supported_slp_permutation_p, vect_analyze_slp_instance): Likewise. | |
5357 | ||
51c213f7 RG |
5358 | 2011-05-18 Richard Guenther <rguenther@suse.de> |
5359 | ||
5360 | PR middle-end/48989 | |
5361 | * tree-cfg.c (verify_gimple_assign_unary): Adjust TRUTH op | |
5362 | operand verification. | |
5363 | (verify_gimple_assign_binary): Likewise. | |
5364 | * tree-ssa.c (useless_type_conversion_p): Preserve conversions | |
5365 | to non-1-precision BOOLEAN_TYPEs. | |
5366 | ||
8f5e5434 TV |
5367 | 2011-05-18 Tom de Vries <tom@codesourcery.com> |
5368 | ||
5369 | PR target/45098 | |
5370 | * tree-ssa-loop-ivopts.c (seq_cost): Fix call to rtx_cost. | |
5371 | ||
116bc3a4 JJ |
5372 | 2011-05-18 Jakub Jelinek <jakub@redhat.com> |
5373 | ||
5374 | PR tree-optimization/49000 | |
5375 | * tree-ssa.c (execute_update_addresses_taken): Call | |
5376 | maybe_rewrite_mem_ref_base on debug stmt value. If it couldn't | |
5377 | be rewritten and decl has been marked for renaming, reset | |
5378 | the debug stmt. | |
5379 | ||
26a8964c JM |
5380 | 2011-05-17 Joseph Myers <joseph@codesourcery.com> |
5381 | ||
5382 | * config/i386/i386.c (ix86_valid_target_attribute_tree): Use | |
5383 | enum_opts_set when testing if attributes have set -mfpmath=. | |
5384 | ||
82bd45d7 RS |
5385 | 2011-05-17 Richard Sandiford <rdsandiford@googlemail.com> |
5386 | ||
5387 | * config/mips/mips.c (mips_handle_option): Remove unused variable. | |
5388 | ||
267ffce3 UB |
5389 | 2011-05-17 Uros Bizjak <ubizjak@gmail.com> |
5390 | ||
5391 | * ipa-inline-analysis.c (inline_node_duplication_hook): Initialize | |
5392 | info->entry with 0 | |
5393 | * tree-inline.c (maybe_inline_call_in_expr): Initialize | |
5394 | id.transform_lang_insert_block with NULL. | |
5395 | ||
5396 | 2011-05-17 Uros Bizjak <ubizjak@gmail.com> | |
d9403b0d UB |
5397 | |
5398 | * config/i386/i386-protos.h (output_fix_trunc): Change arg 3 to bool. | |
5399 | (output_fp_compare): Change args 3 and 4 to bool. | |
5400 | (ix86_expand_call): Change arg 6 to bool. | |
5401 | (ix86_attr_length_immediate_default): Change arg 2 to bool. | |
5402 | (ix86_attr_length_vex_default): Change arg 3 to bool. | |
5403 | * config/i386/i386.md: Update all uses. | |
5404 | * config/i386/i386.c: Ditto. | |
5405 | (ix86_flags_dependent): Change return type to bool. | |
5406 | ||
5beaf664 RG |
5407 | 2011-05-17 Richard Guenther <rguenther@suse.de> |
5408 | ||
5409 | * gimple.c (type_hash_pair_compare): Fix comparison. | |
5410 | ||
008bad7a RG |
5411 | 2011-05-17 Richard Guenther <rguenther@suse.de> |
5412 | ||
5413 | * gimple.c (iterative_hash_gimple_type): Simplify singleton | |
5414 | case some more, fix final hash value of the non-singleton case. | |
5415 | ||
36461340 RG |
5416 | 2011-05-17 Richard Guenther <rguenther@suse.de> |
5417 | ||
5418 | PR bootstrap/49013 | |
5419 | Revert | |
5420 | 2011-05-16 Richard Guenther <rguenther@suse.de> | |
5421 | ||
5422 | * gimple.c (gimple_types_compatible_p_1): Use names of the | |
5423 | type itself, not its main variant. | |
5424 | (iterative_hash_gimple_type): Likewise. | |
5425 | ||
6b6a59f3 RG |
5426 | 2011-05-17 Richard Guenther <rguenther@suse.de> |
5427 | ||
5428 | * gimple.c (gimple_register_canonical_type): Use the main-variant | |
5429 | leader for computing the canonical type. | |
5430 | ||
4ffc4134 NC |
5431 | 2011-05-17 Nick Clifton <nickc@redhat.com> |
5432 | ||
a1d8754e NC |
5433 | * config/rx/rx.c (rx_memory_move_cost): Include cost of register |
5434 | moves. | |
5435 | ||
4ffc4134 NC |
5436 | * config/rx/rx.md: Add peephole to remove redundant extensions |
5437 | after loads. | |
39960f7a NC |
5438 | (bitset_in_memory): Use rx_restricted_mem_operand. |
5439 | (bitinvert_in_memory): Likewise. | |
5440 | (bitclr_in_memory): Likewise. | |
4ffc4134 | 5441 | |
b3db92ac KI |
5442 | 2011-05-17 Kazuhio Inaoka <kazuhiro.inaoka.ud@renesas.com> |
5443 | Nick Clifton <nickc@redhat.com> | |
5444 | ||
5445 | * config/rx/rx.md: Add peepholes to match a register move followed | |
5446 | by a comparison of the moved register. Replace these with an | |
5447 | addition of zero that does both actions in one instruction. | |
5448 | ||
8637e32a JJ |
5449 | 2011-05-17 Jakub Jelinek <jakub@redhat.com> |
5450 | ||
5451 | PR target/48986 | |
5452 | * config/i386/sync.md (sync_old_add<mode>): Relax operand 2 | |
5453 | predicate to allow CONST_INT. | |
5454 | (*sync_old_add_cmp<mode>): New insn and peephole2 for it. | |
5455 | ||
8023568e JM |
5456 | 2011-05-16 Joseph Myers <joseph@codesourcery.com> |
5457 | ||
5458 | * opts-common.c (opt_enum_arg_to_value): New. | |
5459 | * opts.h (opt_enum_arg_to_value): Declare. | |
5460 | * config/i386/i386.opt (fpmath): Remove. | |
5461 | (mfpmath=): Use Enum, Init and Save. | |
5462 | (fpmath_unit): New Enum and EnumValue entries. | |
5463 | * config/i386/i386-c.c (ix86_pragma_target_parse): Update field | |
5464 | name for function fpmath state. | |
5465 | * config/i386/i386-opts.h (enum fpmath_unit): Move from i386.h. | |
5466 | * config/i386/i386.c: Include diagnostic.h. | |
5467 | (ix86_fpmath, IX86_FUNCTION_SPECIFIC_FPMATH): Remove. | |
d9403b0d | 5468 | (ix86_target_string): Take enum fpmath_unit value instead of string. |
8023568e | 5469 | (ix86_debug_options): Update call to ix86_target_string. |
d9403b0d | 5470 | (ix86_option_override_internal): Don't process fpmath strings here. |
8023568e JM |
5471 | (x86_function_specific_save, ix86_function_specific_restore): |
5472 | Don't handle fpmath state specially. | |
5473 | (ix86_function_specific_print): Pass fpmath state to | |
5474 | ix86_target_string instead of printing in this function. | |
5475 | (ix86_valid_target_attribute_inner_p): Take gcc_options pointer. | |
5476 | Handle enum attributes. | |
5477 | (IX86_ATTR_ENUM, ix86_opt_enum): New. | |
5478 | (ix86_valid_target_attribute_tree): Update option_strings | |
5479 | handling. Handle fpmath as enum option. | |
5480 | (ix86_can_inline_p): Update field names for function fpmath state. | |
5481 | (ix86_expand_builtin): Update call to ix86_target_string. | |
5482 | * config/i386/i386.h (enum fpmath_unit): Move to i386-opts.h. | |
5483 | (ix86_fpmath): Remove. | |
5484 | * config/i386/t-i386 (i386.o): Update dependencies. | |
5485 | ||
9e8d926e JM |
5486 | 2011-05-16 Joseph Myers <joseph@codesourcery.com> |
5487 | ||
5488 | PR preprocessor/48677 | |
5489 | * cppspec.c (lang_specific_driver): Set new_decoded_options[0] | |
5490 | from decoded_options[0], not from itself. | |
5491 | ||
f6449011 UB |
5492 | 2011-05-16 Uros Bizjak <ubizjak@gmail.com> |
5493 | ||
5494 | * config/i386/constraints.md (z): New constraint. | |
5495 | * config/i386/i386.c (c): New mode attribute. | |
5496 | (*call): Merge insn pattern from *call_0, *call_1, *call_1_rex64 and | |
5497 | *call_1_rex64_large patterns using "P" mode iterator. Use "<c>zm" | |
5498 | constraint for operand 0. | |
5499 | (*call_vzeroupper): Ditto. | |
5500 | (*call_rex64_ms_sysv): Ditto. Use "rzm" constraint for operand 0. | |
5501 | (*call_rex64_ms_sysv_vzeroupper): Ditto. | |
5502 | (*call_pop): Merge insn pattern from *call_pop_0 and *call_pop_1. | |
5503 | Use "lzm" constraint for operand 0. | |
5504 | (*call_pop_vzeroupper): Ditto. | |
5505 | (*sibcall): Merge insn pattern from *sibcall_0, *sibcall_1 and | |
5506 | *sibcall_1_rex64 patterns using "P" mode iterator. Use "Uz" | |
5507 | constraint for operand 0. | |
5508 | (*sibcall_vzeroupper): Ditto. | |
5509 | (*sibcall_rex64_ms_sysv): Ditto. | |
5510 | (*sibcall_rex64_ms_sysv_vzeroupper): Ditto. | |
5511 | (*sibcall_pop): Merge insn pattern from *sibcall_pop_0 and | |
5512 | *sibcall_pop_1. Use "Uz" constraint for operand 0. | |
5513 | (*sibcall_pop_vzeroupper): Ditto. | |
5514 | (*call_value): Merge insn pattern from *call_value_0, *call_value_1, | |
5515 | *call_value_1_rex64 and *call_value_1_rex64_large patterns using "P" | |
5516 | mode iterator. Use "<c>zm" constraint for operand 1. | |
5517 | (*call_value_vzeroupper): Ditto. | |
5518 | (*call_value_rex64_ms_sysv): Ditto. Use "rzm" constraint | |
d9403b0d | 5519 | for operand 1. |
f6449011 UB |
5520 | (*call_value_rex64_ms_sysv_vzeroupper): Ditto. |
5521 | (*call_value_pop): Merge insn pattern from *call_value_pop_0 and | |
5522 | *call_value_pop_1. Use "lzm" constraint for operand 1. | |
5523 | (*call_value_pop_vzeroupper): Ditto. | |
5524 | (*sibcall_value): Merge insn pattern from *sibcall_value_0, | |
5525 | *sibcall_value_1 and *sibcall_value_1_rex64 patterns using "P" | |
5526 | mode iterator. Use "Uz" constraint for operand 1. | |
5527 | (*sibcall_value_vzeroupper): Ditto. | |
5528 | (*sibcall_value_rex64_ms_sysv): Ditto. | |
5529 | (*sibcall_value_rex64_ms_sysv_vzeroupper): Ditto. | |
5530 | (*sibcall_value_pop): Rename from *sibcall_pop_1. Use "Uz" | |
5531 | constraint for operand 1. | |
5532 | (*sibcall_value_pop_vzeroupper): Ditto. | |
5533 | (*tls_global_dynamic_64): Use constant_call_address_operand predicate | |
5534 | and "z" constraint for operand 2. | |
5535 | (*tls_global_dynamic_32_gnu): Ditto. | |
5536 | (*tls_local_dynamic_base_32_gnu): Ditto. | |
5537 | (*tls_local_dynamic_base_64): Ditto. | |
5538 | (*tls_local_dynamic_32_once): Ditto. | |
5539 | * config/i386/i386.c (ix86_output_call_insn): Remove int_addr argument. | |
5540 | Update all callers. | |
5541 | * config/i386/i386-protos.h (ix86_output_call_insn): Update prototype. | |
5542 | ||
c11b6902 RG |
5543 | 2011-05-16 Richard Guenther <rguenther@suse.de> |
5544 | ||
5545 | * gimple.c (gimple_types_compatible_p_1): Use names of the | |
5546 | type itself, not its main variant. | |
5547 | (iterative_hash_gimple_type): Likewise. | |
5548 | ||
1e83b5f1 RG |
5549 | 2011-05-16 Richard Guenther <rguenther@suse.de> |
5550 | ||
f6449011 UB |
5551 | * gimple.c (iterative_hash_gimple_type): Re-instantiate change to |
5552 | always visit pointer target and function result and argument types. | |
1e83b5f1 | 5553 | |
62e36382 JM |
5554 | 2011-05-16 Jason Merrill <jason@redhat.com> |
5555 | ||
5556 | PR c++/48999 | |
5557 | * tree-inline.c (copy_statement_list): Put back recursion. | |
5558 | ||
687027a4 GJL |
5559 | 2011-05-16 Georg-Johann Lay <avr@gjlay.de> |
5560 | ||
5561 | PR target/27663 | |
5562 | PR target/41076 | |
5563 | * config/avr/predicates.md (const_8_16_24_operand): New predicate. | |
5564 | * config/avr/avr.md ("*ior<mode>qi.byte0", | |
5565 | "*ior<mode>qi.byte1-3"): New define_insn_and_split patterns. | |
5566 | ||
f24a5190 GJL |
5567 | 2011-05-16 Georg-Johann Lay <avr@gjlay.de> |
5568 | ||
5569 | PR target/45099 | |
5570 | * config/avr/avr.c (avr_function_arg_advance): Error if a fixed | |
5571 | register is needed for a function argument. | |
5572 | ||
3066f593 RG |
5573 | 2011-05-16 Richard Guenther <rguenther@suse.de> |
5574 | ||
5575 | * gimple.c (struct type_hash_pair): New type. | |
5576 | (type_hash_pair_compare): New function. | |
f6449011 | 5577 | (iterative_hash_gimple_type): Mix in SCC member hashes in hash-order. |
3066f593 | 5578 | |
b2ab2cf4 RE |
5579 | 2011-05-16 Revital Eres <revital.eres@linaro.org> |
5580 | ||
f6449011 | 5581 | * modulo-sched.c (doloop_register_get): Check !DEBUG_INSN_P first. |
b2ab2cf4 | 5582 | |
dfb737fc UB |
5583 | 2011-05-15 Uros Bizjak <ubizjak@gmail.com> |
5584 | ||
5585 | * config/i386/i386.md (floating point move splitters): Fix | |
5586 | usage of standard_80387_constant_p. | |
f6449011 | 5587 | * config/i386/i386.c (ix86_preferred_reload_class): Ditto. |
dfb737fc | 5588 | |
8caa1de0 UB |
5589 | 2011-05-15 Uros Bizjak <ubizjak@gmail.com> |
5590 | ||
5591 | * config/i386/i386.md (*movdf_internal): Simplify insn condition. | |
5592 | ||
8a519095 EB |
5593 | 2011-05-14 Eric Botcazou <ebotcazou@adacore.com> |
5594 | ||
5595 | * tree-ssa-loop-im.c (SET_ALWAYS_EXECUTED_IN): New macro. | |
5596 | (fill_always_executed_in): Use [SET_]ALWAYS_EXECUTED_IN. | |
5597 | (tree_ssa_lim_finalize): Likewise. | |
5598 | ||
479fecd3 UB |
5599 | 2011-05-14 Uros Bizjak <ubizjak@gmail.com> |
5600 | ||
5601 | * config/i386/constraint.md (Yd, Yx): New register constraints. | |
5602 | * config/i386/i386.md (*pushdf): Merge with *pushdf_nointeger. Use | |
5603 | Yd conditional register constraint. | |
5604 | (*movtf_internal): Use standard_sse_constant_opcode. | |
5605 | (*movxf_internal): Merge with *movxf_internal_nointeger. Use | |
5606 | Yx conditional register constraint. | |
5607 | (*movdf_internal): Merge with *movdf_internal_nointeger. Use | |
5608 | Yd conditional register constraint. Use standard_sse_constant_p to | |
5609 | check for valid SSE constants and call standard_sse_constant_opcode to | |
5610 | output SSE insn. | |
5611 | (*movsf_internal): Use standard_sse_constant_p to check for valid SSE | |
5612 | constants and call standard_sse_constant_opcode to output SSE insn. | |
5613 | * config/i386/i386.c (ix86_option_ovverride_internal): Set | |
5614 | TARGET_INTEGER_DFMODE_MOVES for 64bit targets. Clear it when | |
5615 | optimize_size is set. | |
5616 | (standard_sse_constant_opcode): Output conditional AVX insn templates. | |
5617 | ||
2d8c9ad5 TB |
5618 | 2011-05-14 Tobias Burnus <burnus@net-b.de> |
5619 | ||
5620 | * doc/invoke.texi (-Ofast): Also enables -fstack-arrays. | |
5621 | ||
411a20d6 MJ |
5622 | 2011-05-13 Martin Jambor <mjambor@suse.cz> |
5623 | ||
5624 | * ipa-prop.c (ipa_cst_from_jfunc): New function. | |
5625 | * ipa-prop.h (ipa_cst_from_jfunc): Declare. | |
5626 | * ipa-inline-analysis.c (evaluate_conditions_for_edge): Use it. | |
5627 | (evaluate_conditions_for_ipcp_clone): Removed. | |
5628 | (estimate_ipcp_clone_size_and_time): Accept vector of known constants. | |
5629 | * ipa-cp.c (ipcp_estimate_growth): Build vector of known constants. | |
5630 | * ipa-inline.h (estimate_ipcp_clone_size_and_time): Update. | |
5631 | ||
dc764d10 EB |
5632 | 2011-05-13 Eric Botcazou <ebotcazou@adacore.com> |
5633 | ||
5634 | * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Adjust dump message. | |
5635 | * regcprop.c (copyprop_hardreg_forward): Test MAY_HAVE_DEBUG_INSNS in | |
5636 | lieu of MAY_HAVE_DEBUG_STMTS. | |
5637 | * tree-cfgcleanup.c (remove_forwarder_block): Do not attempt to move | |
5638 | debug statements if !MAY_HAVE_DEBUG_STMTS. | |
5639 | ||
9f47a24e MT |
5640 | 2011-05-13 Martin Thuresson <martint@google.com> |
5641 | ||
5642 | PR gcov-profile/47793 | |
5643 | * libgcov.c (gcov_exit): Support relative profile paths. | |
5644 | * doc/invoke.texi (-fprofile-dir): Update for above change. | |
5645 | ||
b8a71aed RG |
5646 | 2011-05-13 Richard Guenther <rguenther@suse.de> |
5647 | ||
5648 | * gimple.c (gimple_canonical_types_compatible_p): Do not use | |
5649 | type-pair caching, do not compare hashes. | |
5650 | ||
eb9f9259 NF |
5651 | 2011-05-13 Nathan Froyd <froydnj@codesourcery.com> |
5652 | ||
5653 | PR middle-end/48965 | |
5654 | * tree-cfg.c (edge_to_cases_cleanup): Return true. | |
5655 | (verify_expr) [CASE_LABEL_EXPR]: Add checking. | |
5656 | ||
3c6cbf7a KT |
5657 | 2011-05-13 Kai Tietz <ktietz@redhat.com> |
5658 | ||
5659 | * gimplify.c (gimplify_expr): Make sure operand is boolified. | |
5660 | * tree-cfg.c (verify_gimple_assign_unary): Check for boolean | |
5661 | compatible type for TRUTH_NOT_EXPR. | |
5662 | ||
2e7f5dc0 L |
5663 | 2011-05-13 H.J. Lu <hongjiu.lu@intel.com> |
5664 | ||
dc764d10 | 5665 | * config/i386/i386.c (ix86_save_reg): Change return type to bool. |
2e7f5dc0 L |
5666 | (ix86_hard_regno_mode_ok): Change return value to bool. Use |
5667 | can_create_pseudo_p (). | |
5668 | ||
e834e95c RG |
5669 | 2011-05-13 Richard Guenther <rguenther@suse.de> |
5670 | ||
5671 | PR lto/48978 | |
5672 | * gimple.c (iterative_hash_gimple_type): Revert change in | |
5673 | pointer target and function result and argument hashing. | |
5674 | ||
34203483 UB |
5675 | 2011-05-13 Uros Bizjak <ubizjak@gmail.com> |
5676 | ||
5677 | * config/i386/i386.md (*movxf_internal): Use !can_create_pseudo (). | |
5678 | (*movxf_internal_nointeger): Ditto. | |
5679 | (*movdf_internal_rex64): Ditto. | |
5680 | (*movdf_internal): Ditto. | |
5681 | (*movdf_internal_nointeger): Ditto. | |
5682 | (*movsf_internal): Ditto. | |
5683 | (sincos splitters): Use can_create_pseudo (). | |
5684 | ||
7eb68c06 JM |
5685 | 2011-05-13 Joseph Myers <joseph@codesourcery.com> |
5686 | ||
5687 | * config/i386/i386-opts.h: New. | |
5688 | * gcc/config/i386/i386.c (stringop_alg, ix86_cmodel, | |
5689 | ix86_asm_dialect, ix86_regparm, ix86_abi, ix86_branch_cost, | |
5690 | ix86_section_threshold): Remove. | |
5691 | (ix86_handle_option): Move MAX_CODE_ALIGN define here. Handle | |
5692 | OPT_malign_loops_, OPT_malign_jumps_, OPT_malign_functions_ and | |
5693 | OPT_mbranch_cost_. | |
5694 | (ix86_option_override_internal): Don't decode strings for options | |
5695 | other than -march=, -mtune= and -mfpmath=. Don't allow for | |
5696 | __attribute__ uses in remaining diagnostics for options with | |
34203483 | 5697 | string arguments. Don't check for integer arguments being negative. |
7eb68c06 | 5698 | * gcc/config/i386/i386.h (enum stringop_alg, enum calling_abi, |
34203483 | 5699 | enum tls_dialect, enum cmodel, enum asm_dialect): Move to i386-opts.h. |
7eb68c06 JM |
5700 | (ix86_abi, ix86_tls_dialect, ix86_cmodel, ix86_asm_dialect, |
5701 | ix86_branch_cost, ix86_section_threshold): Remove. | |
5702 | * gcc/config/i386/i386.opt (config/i386/i386-opts.h): New | |
5703 | HeaderInclude. | |
5704 | (malign-functions=, malign-jumps=, malign-loops=): Use UInteger | |
5705 | but not Var. | |
5706 | (masm=): Use Enum and Init. | |
5707 | (asm_dialect): New Enum and EnumValue entries. | |
5708 | (mbranch-cost=): Use UInteger. | |
5709 | (mlarge-data-threshold=): Use UInteger and Init. | |
5710 | (mcmodel=): Use Enum and Init. | |
5711 | (cmodel): New Enum and EnumValue entries. | |
5712 | (mpc): Replace with separate mpc32, mpc64 and mpc80 entries. | |
5713 | (mpreferred-stack-boundary=, mincoming-stack-boundary=, | |
5714 | mregparm=): Use UInteger. | |
5715 | (mstringop-strategy=): Use Enum and Init. | |
5716 | (stringop_alg): New Enum and EnumValue entries. | |
5717 | (mtls-dialect=): Use Enum and Init. | |
5718 | (tls_dialect): New Enum and EnumValue entries. | |
5719 | (mabi=): Use Enum and Init. | |
5720 | (calling_abi): New Enum and EnumValue entries. | |
5721 | (mveclibabi=): Use Enum and Init. | |
5722 | (ix86_veclibabi): New Enum and EnumValue entries. | |
5723 | ||
f67e203c NC |
5724 | 2011-05-13 Nick Clifton <nickc@redhat.com> |
5725 | ||
34203483 UB |
5726 | * config/rx/rx.md (mov expander): Fix use of rx_legitimate_constant_p. |
5727 | * config/rx/rx-protos.h (rx_legitimate_constant_p): Rename prototype. | |
f67e203c | 5728 | |
221df0b6 KT |
5729 | 2011-05-13 Kai Tietz <ktietz@redhat.com> |
5730 | ||
5731 | PR middle-end/48984 | |
5732 | * gimplify.c (gimplify_expr): Check for boolean_type_node instead | |
5733 | for BOOLEAN_TYPE for TRUTH-NOT/AND/OR/XOR. | |
5734 | (gimple_boolify): Check for cast for boolean_type_node instead for | |
5735 | BOOLEAN_TYPE. | |
5736 | ||
208cb8cb RG |
5737 | 2011-05-13 Richard Guenther <rguenther@suse.de> |
5738 | ||
5739 | PR tree-optimization/48172 | |
5740 | * tree-vect-loop-manip.c (vect_vfa_segment_size): Avoid | |
5741 | multiplying by number of iterations for equal step. | |
5742 | (vect_create_cond_for_alias_checks): Likewise. | |
5743 | ||
b88ecf55 AS |
5744 | 2011-05-13 Andreas Schwab <schwab@redhat.com> |
5745 | ||
5746 | * configure.ac: Use AS_HELP_STRING throughout. | |
5747 | * configure: Regenerate. | |
5748 | ||
569b527e L |
5749 | 2011-05-12 H.J. Lu <hongjiu.lu@intel.com> |
5750 | ||
34203483 | 5751 | * config/i386/i386.c (ix86_save_reg): Change maybe_eh_return to bool. |
569b527e L |
5752 | (ix86_emit_restore_regs_using_mov): Likewise. |
5753 | (ix86_emit_restore_sse_regs_using_mov): Likewise. | |
5754 | ||
8b9a1428 AS |
5755 | 2011-05-12 Anatoly Sokolov <aesok@post.ru> |
5756 | ||
5757 | * config/sparc/sparc.h (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P, | |
5758 | SYMBOLIC_CONST, RTX_OK_FOR_BASE_P, RTX_OK_FOR_INDEX_P): Remove. | |
5759 | (RTX_OK_FOR_OFFSET_P, RTX_OK_FOR_OLO10_P): Move to... | |
5760 | * config/sparc/sparc.c (RTX_OK_FOR_OFFSET_P, | |
5761 | RTX_OK_FOR_OLO10_P): ...here. | |
5762 | (sparc_mode_dependent_address_p): Use symbolic_operand instead of | |
5763 | SYMBOLIC_CONST. | |
5764 | ||
1d15f620 KT |
5765 | 2011-05-12 Kai Tietz <ktietz@redhat.com> |
5766 | ||
5767 | * gimplify.c (gimple_boolify): Re-boolify expression | |
5768 | arguments even if expression type is of kind BOOLEAN_TYPE. | |
5769 | (gimplify_boolean_expr): Removed. | |
5770 | (gimplify_expr): Boolify truth opcodes AND, ANDIF, OR, ORIF, | |
5771 | and XOR. Additional take care that we keep expression's type. | |
5772 | * tree-cfg.c (verify_gimple_assign_binary): Adjust check for type | |
5773 | of TRUTH_AND|OR|XOR_EXPR. | |
5774 | ||
c2b5fc8d JJ |
5775 | 2011-05-12 Jakub Jelinek <jakub@redhat.com> |
5776 | ||
5777 | PR tree-optimization/48975 | |
5778 | * tree-if-conv.c (combine_blocks): Call free_bb_predicate | |
5779 | on all bbs here and free and clear ifc_bbs at the end. | |
5780 | ||
61332f77 RG |
5781 | 2011-05-12 Richard Guenther <rguenther@suse.de> |
5782 | ||
5783 | * gimple.c (gtc_visit): Compare TREE_ADDRESSABLE, handle | |
5784 | NULLPTR_TYPE similar to VOID_TYPE. Defer type-leader lookup | |
5785 | until after simple checks. | |
5786 | (gimple_types_compatible_p): Likewise. | |
5787 | (iterative_hash_gimple_type): Always hash pointer targets | |
5788 | and function return and argument types. | |
5789 | (iterative_hash_canonical_type): Do not hash TYPE_QUALS, | |
5790 | hash TYPE_ALIGN. Do not hash TYPE_MIN/MAX_VALUE. | |
5791 | (gimple_canonical_types_compatible_p): Compare TREE_ADDRESSABLE, | |
5792 | handle NULLPTR_TYPE similar to VOID_TYPE. Handle non-aggregates | |
5793 | completely in the simple compare section. | |
5794 | (gimple_register_canonical_type): Query the cache again after | |
5795 | registering. | |
5796 | ||
e2a3a5f1 RG |
5797 | 2011-05-12 Richard Guenther <rguenther@suse.de> |
5798 | ||
5799 | PR tree-optimization/48172 | |
5800 | * tree-vect-loop-manip.c (vect_vfa_segment_size): Do not exclude | |
5801 | the number of iterations from the segment size calculation. | |
5802 | (vect_create_cond_for_alias_checks): Adjust. | |
5803 | ||
2c703f3a JJ |
5804 | 2011-05-12 Jakub Jelinek <jakub@redhat.com> |
5805 | ||
5806 | PR debug/48967 | |
5807 | * var-tracking.c (use_narrower_mode_test) <case REG>: Return 1 | |
5808 | if validate_subreg fails. | |
5809 | ||
5810 | 2011-05-12 Hariharan Sandanagobalane <hariharan@picochip.com> | |
b27981e0 HS |
5811 | |
5812 | * ira.c (clarify_prohibited_class_mode_regs): Prevent the function from | |
5813 | accessing beyond the end of REGNO_REG_CLASS array by stopping the loop | |
5814 | early. | |
5815 | ||
87e91fca DD |
5816 | 2011-05-12 DJ Delorie <dj@redhat.com> |
5817 | ||
d53903d6 | 5818 | * config/rx/rx.c (rx_builtins): New arrays - holds builtin functions. |
87e91fca DD |
5819 | (ADD_RX_BUILTIN1, ADD_RX_BUILTIN2, ADD_RX_BUILTIN3): Install |
5820 | created builtin into rx_builtins array. | |
5821 | (rx_builtin_decl): New function. | |
34203483 | 5822 | (TARGET_BUITLIN_DECL): Define. Include gt-rx.h. |
87e91fca | 5823 | |
5f2f13fd DD |
5824 | 2011-05-12 DJ Delorie <dj@redhat.com> |
5825 | Nick Clifton <nickc@redhat.com> | |
5826 | ||
5827 | * config/rx/rx.h (HAVE_PRE_DECREMENT): Fix typo. | |
5828 | * config/rx/rx.c (CC_FLAG_FP): Fix comment. | |
5829 | (rx_is_legitimate_address): Add pre-decrement and post-increment | |
5830 | addressing in HImode and QImode. Fix test for out of range | |
5831 | REG+INT addressing. | |
87e91fca | 5832 | (rx_legitimate_constant_p): Rename to rx_is_legitimate_constant. |
34203483 | 5833 | (rx_align_for_label): Test label before extracting its usage count. |
5f2f13fd | 5834 | (rx_adjust_insn_lengths): Fix selection of insn codes. |
87e91fca | 5835 | (TARGET_LEGITIMATE_CONSTANT_P): Use renamed function. |
5f2f13fd | 5836 | |
57421f45 JM |
5837 | 2011-05-11 Jason Merrill <jason@redhat.com> |
5838 | ||
5839 | * tree.c (type_hash_canon): Use struct tree_type_non_common. | |
5840 | ||
898c90c0 EB |
5841 | 2011-05-11 Eric Botcazou <ebotcazou@adacore.com> |
5842 | ||
5843 | * cfgrtl.c (commit_one_edge_insertion): Remove always-true test and | |
5844 | reindent the subsequent block. | |
5845 | ||
79bec923 ST |
5846 | 2011-05-11 Satoru Takabayashi <satorux@google.com> |
5847 | Paul Pluzhnikov <ppluzhnikov@google.com> | |
5848 | ||
34203483 | 5849 | * doc/install.texi (Configuration): Document --with-linker-hash-style. |
e77e2cbb PP |
5850 | * gcc.c (init_spec): Handle LINKER_HASH_STYLE. |
5851 | * config.in: Add LINKER_HASH_STYLE. | |
5852 | * configure.ac: Add --with-linker-hash-style. | |
5853 | * configure: Regenerate. | |
79bec923 | 5854 | |
d0340959 RG |
5855 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
5856 | ||
5857 | PR middle-end/48964 | |
5858 | * gimple.c (iterative_hash_canonical_type): Fix typo. | |
5859 | ||
cb032fee UB |
5860 | 2011-05-11 Uros Bizjak <ubizjak@gmail.com> |
5861 | ||
5862 | * config/i386/i386.c (legitimize_tls_address) | |
479fecd3 | 5863 | <case TLS_MODEL_GLOBAL_DYNAMIC>: Call gen_tls_dynamic_gnu2_{32,64} |
cb032fee UB |
5864 | expanders directly for TARGET_GNU2_TLS. Determine pic and |
5865 | __tls_get_addr symbol reference here. Update call to | |
5866 | gen_tls_global_dynamic_{32,64} for added arguments. | |
479fecd3 | 5867 | <case TLS_MODEL_LOCAL_DYNAMIC>: Call gen_tls_dynamic_gnu2_{32,64} |
cb032fee UB |
5868 | expanders directly for TARGET_GNU2_TLS. Determine |
5869 | __tls_get_addr symbol reference here. Update call to | |
5870 | gen_tls_local_dynamic_base_{32,64} for added arguments. Attach | |
5871 | unique UNSPEC REG_EQUIV to libcall block. | |
5872 | (ix86_tls_get_addr): Declare static. | |
5873 | * config/i386/i386-protos.h (ix86_tls_get_addr): Remove declaration. | |
5874 | * config/i386/i386.md (tls_global_dynamic_32): Add operand 2 and 3. | |
5875 | Do not determine pic and __tls_get_addr symbol reference here. Do not | |
5876 | call gen_tls_dynamic_gnu2_32 for TARGET_GNU2_TLS. | |
5877 | (tls_local_dynamic_base_32): Ditto for operands 1 and 2. | |
5878 | (tls_global_dynamic_64): Add operand 2. Do not determine | |
5879 | __tls_get_addr symbol reference here. Do not call | |
5880 | gen_tls_dynamic_gnu2_64 for TARGET_GNU2_TLS here. | |
5881 | (tls_local_dynamic_base64): Ditto for operand 1. | |
5882 | ||
6d3cc8f0 EB |
5883 | 2011-05-11 Eric Botcazou <ebotcazou@adacore.com> |
5884 | ||
5885 | * function.c (expand_function_start): Initialize stack_check_probe_note | |
5886 | only if the generic stack checking mechanism is used. | |
5887 | ||
51e020fc RG |
5888 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
5889 | ||
5890 | PR tree-optimization/15256 | |
5891 | * tree-ssa-forwprop.c (simplify_bitwise_binary): Canonicalize | |
5892 | (A & B) | C, combine (A op CST1) op CST2. | |
5893 | (tree_ssa_forward_propagate_single_use_vars): Only bother to | |
5894 | visit assigns that have uses. | |
5895 | ||
51545682 NF |
5896 | 2011-05-11 Nathan Froyd <froydnj@codesourcery.com> |
5897 | ||
cb032fee | 5898 | * ggc-page.c (extra_order_size_table): Use struct tree_type_non_common. |
51545682 NF |
5899 | * lto-streamer-in.c (unpack_ts_type_value_fields): Rename to... |
5900 | (unpack_ts_type_common_value_fields): ...this. Update comment. | |
5901 | (unpack_value_fields): Adjust for renaming. | |
5902 | (lto_input_ts_type_tree_pointers): Split into... | |
5903 | (lto_input_ts_type_common_tree_pointer): ...this and... | |
5904 | (lto_input_ts_type_non_common_tree_pointers): ...this. | |
5905 | (lto_input_tree_pointers): Adjust for above split. | |
5906 | * lto-streamer-out.c (pack_ts_type_value_fields): Rename to... | |
5907 | (pack_ts_type_common_value_fields): ...this. Update comment. | |
5908 | (lto_output_ts_type_tree_pointers): Split into... | |
5909 | (lto_output_ts_type_common_tree_pointers): ...this and... | |
5910 | (lto_output_ts_type_non_common_tree_pointers): ...this. | |
5911 | (lto_output_tree_pointers): Adjust for above split. | |
5912 | * lto-streamer.c (check_handled_ts_structures): Mark TS_TYPE_COMMON, | |
5913 | TS_TYPE_WITH_LANG_SPECIFIC, and TS_TYPE_NON_COMMON as handled. | |
5914 | * stor-layout.c (vector_type_mode): Adjust location of mode field. | |
5915 | * tree.h (MARK_TS_TYPE_COMMON, MARK_TS_TYPE_WITH_LANG_SPECIFIC): | |
5916 | Define. | |
5917 | (struct tree_type): Split into... | |
5918 | (struct tree_type_common: ...this and... | |
5919 | (struct tree_type_with_lang_specific): ...this and... | |
5920 | (struct tree_type_non_common): ...this. Adjust accessor macros | |
5921 | accordingly. | |
5922 | (TYPE_VALUES_RAW): Define. | |
5923 | (union tree_node): Update for above changes. | |
5924 | * tree.c (tree_node_structure_for_code) [tcc_type]: Return | |
5925 | TS_TYPE_NON_COMMON. | |
5926 | (initialize_tree_contains_struct) [TS_TYPE]: Use TS_TYPE_COMMON. | |
5927 | Add TS_TYPE_WITH_LANG_SPECIFIC and TS_TYPE_NON_COMMON. | |
5928 | (tree_code_size) [tcc_type]: Use struct tree_type_non_common. | |
5929 | * treestructu.def (TS_TYPE): Remove. | |
5930 | (TS_TYPE_COMMON, TS_TYPE_WITH_LANG_SPECIFIC, TS_TYPE_NON_COMMON): | |
5931 | Define. | |
5932 | ||
b03c3082 JJ |
5933 | 2011-05-11 Jakub Jelinek <jakub@redhat.com> |
5934 | ||
5935 | PR debug/48159 | |
5936 | * tree-ssa.c (reset_debug_uses): New function. | |
5937 | * tree-flow.h (reset_debug_uses): New prototype. | |
5938 | * tree-data-ref.c (stmts_from_loop): Ignore debug stmts. | |
5939 | * tree-loop-distribution.c (generate_loops_for_partition): Call | |
5940 | reset_debug_uses on the stmts that will be removed. Keep around | |
5941 | all debug stmts, don't count them as bits in partition bitmap. | |
5942 | (generate_builtin): Don't count debug stmts or labels as bits in | |
5943 | partition bitmap. | |
5944 | ||
b5e04de5 RG |
5945 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
5946 | ||
5947 | * gimple.c (gimple_type_hash_1): Merge with ... | |
5948 | (gimple_type_hash): ... this. | |
5949 | (gtc_visit): Remove mode parameter and simplify accordingly. | |
5950 | (gimple_types_compatible_p_1): Likewise. | |
5951 | (gimple_types_compatible_p): Likewise. | |
5952 | (iterative_hash_gimple_type): Likewise. | |
5953 | (visit): Likewise. | |
5954 | (gimple_type_eq): Adjust. | |
5955 | ||
fc6970e4 RE |
5956 | 2011-05-11 Revital Eres <revital.eres@linaro.org> |
5957 | ||
5958 | * ddg.c (create_ddg_dep_from_intra_loop_link): If a true dep edge | |
5959 | enters the branch create an anti edge in the opposite direction | |
5960 | to prevent the creation of reg-moves. | |
5961 | * modulo-sched.c: Adjust comment to reflect the fact we are | |
5962 | scheduling closing branch. | |
5963 | (PS_STAGE_COUNT): Rename to CALC_STAGE_COUNT and redefine. | |
5964 | (stage_count): New field in struct partial_schedule. | |
5965 | (calculate_stage_count): New function. | |
5966 | (normalize_sched_times): Rename to reset_sched_times and handle | |
5967 | incrementing the sched time of the nodes by a constant value | |
5968 | passed as parameter. | |
5969 | (duplicate_insns_of_cycles): Skip closing branch. | |
5970 | (sms_schedule_by_order): Schedule closing branch. | |
5971 | (ps_insn_find_column): Handle closing branch. | |
5972 | (sms_schedule): Call reset_sched_times and adjust the code to | |
5973 | support scheduling of the closing branch. | |
5974 | (ps_insert_empty_row): Update calls to normalize_sched_times | |
5975 | and rotate_partial_schedule functions. | |
5976 | ||
41a58a92 RG |
5977 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
5978 | ||
5979 | PR middle-end/48953 | |
5980 | * tree-inline.c (remap_gimple_op_r): Also remap types of MEM_REFs. | |
5981 | ||
e9f8dcf9 JM |
5982 | 2011-05-11 Joseph Myers <joseph@codesourcery.com> |
5983 | ||
cb032fee UB |
5984 | * opts.c (finish_options): Move warning settings from process_options. |
5985 | * toplev.c (process_options): Move warning settings to finish_options. | |
e9f8dcf9 | 5986 | |
10c224a9 RG |
5987 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
5988 | ||
5989 | PR tree-optimization/18041 | |
5990 | * tree-ssa-forwprop.c (simplify_bitwise_and): Rename to ... | |
5991 | (simplify_bitwise_binary): ... this. Handle operand conversions | |
5992 | by applying them to the result instead. | |
5993 | (tree_ssa_forward_propagate_single_use_vars): Adjust. CSE tree code. | |
5994 | ||
825b27de RG |
5995 | 2011-05-11 Richard Guenther <rguenther@suse.de> |
5996 | ||
5997 | * gimple.c (gimple_canonical_types_compatible_p): Split out | |
5998 | from gimple_types_compatible_p and friends. Do not recurse | |
5999 | to pointed-to types. | |
6000 | (gimple_canonical_type_eq): Use it. | |
6001 | (iterative_hash_canonical_type): Split out from | |
6002 | iterative_hash_gimple_type and friends. Do not recurse | |
6003 | to pointed-to types. | |
6004 | (gimple_canonical_type_hash): Use it, allocate the hash here. | |
6005 | ||
ca756625 RE |
6006 | 2011-05-11 Revital Eres <revital.eres@linaro.org> |
6007 | ||
6008 | * modulo-sched.c (doloop_register_get): Ignore DEBUG_INSNs while | |
6009 | recognizing doloop. | |
6010 | ||
b8abece3 RE |
6011 | 2011-05-11 Revital Eres <revital.eres@linaro.org> |
6012 | ||
6013 | * loop-doloop.c (doloop_condition_get): Use prev_nondebug_insn | |
6014 | instead of PREV_INSN. | |
6015 | ||
ce7b3761 RE |
6016 | 2011-05-11 Revital Eres <revital.eres@linaro.org> |
6017 | ||
6018 | * modulo-sched.c (sms_schedule): Support new form of doloop pattern | |
6019 | * loop-doloop.c (doloop_condition_get): Likewise. | |
6020 | * config/arm/thumb2.md (*thumb2_addsi3_compare0): Remove "*". | |
6021 | (doloop_end): New. | |
6022 | * config/arm/arm.md (*addsi3_compare0): Remove "*". | |
6023 | ||
a9dc9d37 NF |
6024 | 2011-05-10 Nathan Froyd <froydnj@codesourcery.com> |
6025 | ||
6026 | * tree.def (CASE_LABEL_EXPR): Add an operand. | |
6027 | * tree.h (CASE_CHAIN): Use TREE_OPERAND instead of TREE_CHAIN. | |
6028 | ||
96703596 JM |
6029 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
6030 | ||
6031 | * c-decl.c (c_override_global_bindings_to_false): Remove. | |
6032 | (global_bindings_p): Don't check | |
6033 | c_override_global_bindings_to_false. | |
6034 | * c-tree.h (c_override_global_bindings_to_false): Remove. | |
6035 | * c-typeck.c (composite_type): Don't set | |
6036 | c_override_global_bindings_to_false. | |
6037 | ||
dbcc9f08 MM |
6038 | 2011-05-10 Michael Meissner <meissner@linux.vnet.ibm.com> |
6039 | ||
6040 | PR target/48857, 48495 | |
6041 | * config/rs6000/rs6000.h (VSX_SCALAR_MODE): Delete. | |
6042 | (VSX_MODE): Ditto. | |
6043 | (VSX_MOVE_MODE): Ditto. | |
6044 | (ALTIVEC_OR_VSX_VECTOR_MODE): New macro, combine all Altivec and | |
6045 | VSX vector types. Add V2DImode. | |
6046 | (HARD_REGNO_CALLER_SAVE_MODE): Use it instead of | |
6047 | ALTIVEC_VECTOR_MODE and VSX_VECTOR_MODE calls. | |
6048 | (MODES_TIEABLE_P): Ditto. | |
6049 | ||
6050 | * config/rs6000/rs6000.c (rs6000_emit_move): Use | |
6051 | ALTIVEC_OR_VSX_MODE instead of ALTIVEC_VECTOR_MODE and | |
6052 | VSX_VECTOR_MODE. | |
6053 | (init_cumulative_args): Ditto. | |
6054 | (rs6000_function_arg_boundary): Ditto. | |
6055 | (rs6000_function_arg_advance_1): Ditto. | |
6056 | (rs6000_function_arg): Ditto. | |
6057 | (rs6000_function_ok_for_sibcall): Ditto. | |
6058 | (emit_frame_save): Ditto. | |
6059 | (rs6000_function_value): Ditto. | |
6060 | (rs6000_libcall_value): Ditto. | |
6061 | ||
4a68b4ca JM |
6062 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
6063 | ||
6064 | * config.gcc (i[34567]86-*-darwin*, x86_64-*-darwin*): Add | |
6065 | i386/darwin-lib.h to $libgcc_tm_file. | |
6066 | * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Remove. | |
6067 | ||
bcb521e9 JM |
6068 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
6069 | ||
6070 | * doc/sourcebuild.texi (Back End): Mention contrib/config-list.mk. | |
6071 | ||
f10d3ac9 JM |
6072 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
6073 | ||
cb032fee | 6074 | * config/rs6000/genopt.sh, config/rs6000/rs6000-cpus.def: New files. |
f10d3ac9 JM |
6075 | * config/rs6000/rs6000-tables.opt: New file (generated). |
6076 | * config.gcc (powerpc*-*-*, rs6000*-*-*): Add | |
6077 | rs6000/rs6000-tables.opt to extra_options. | |
6078 | * config/rs6000/rs6000-opts.h (RS6000_CPU_OPTION_NATIVE): Define. | |
6079 | * config/rs6000/rs6000.c (rs6000_select): Remove. | |
6080 | (processor_target_table): Move contents to rs6000-cpus.def. | |
6081 | (darwin_rs6000_override_options): Check | |
6082 | global_options_set.x_rs6000_cpu_index instead of | |
6083 | rs6000_select[1].string. | |
6084 | (rs6000_option_override_internal): Likewise. | |
6085 | (rs6000_handle_option): Don't assert that global structures are in | |
6086 | use. Don't handle OPT_mcpu_ and OPT_mtune_ here. | |
6087 | (rs6000_default_cpu): New variable. | |
6088 | (rs6000_file_start): Set it instead of local default_cpu. Check | |
6089 | rs6000_default_cpu, global_options_set.x_rs6000_cpu_index and | |
6090 | global_options_set.x_rs6000_tune_index instead of rs6000_select. | |
6091 | (rs6000_darwin_file_start): Check rs6000_default_cpu and | |
6092 | global_options_set.x_rs6000_cpu_index instead of rs6000_select. | |
6093 | * config/rs6000/rs6000.h (struct rs6000_cpu_select, | |
6094 | rs6000_select): Remove. | |
6095 | * config/rs6000/rs6000.opt (rs6000_cpu_index, rs6000_tune_index): | |
6096 | Remove. | |
6097 | (mcpu=, mtune=): Use Var, Init, Enum and Save. | |
6098 | * config/rs6000/t-rs6000 | |
6099 | ($(srcdir)/config/rs6000/rs6000-tables.opt): New. | |
6100 | * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Check | |
6101 | global_options_set.x_rs6000_cpu_index instead of | |
6102 | rs6000_select[1].string. | |
6103 | * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Check | |
6104 | global_options_set.x_rs6000_cpu_index instead of | |
6105 | rs6000_select[1].string. | |
6106 | ||
80cf2e08 JM |
6107 | 2011-05-10 Joseph Myers <joseph@codesourcery.com> |
6108 | ||
6109 | * config.gcc (libgcc_tm_file): Define instead of including files | |
6110 | from ../../libgcc/config/ in tm_file. | |
cb032fee | 6111 | * configure.ac (libgcc_tm_file_list, libgcc_tm_include_list): Define. |
80cf2e08 JM |
6112 | * configure: Regenerate. |
6113 | * Makefile.in (libgcc_tm_file_list, libgcc_tm_include_list, | |
6114 | libgcc_tm.h, cs-libgcc_tm.h): New. | |
6115 | (TM_H): Include libgcc_tm.h and $(libgcc_tm_file_list). | |
6116 | (clean): Remove libgcc_tm.h. | |
6117 | * config/arm/symbian.h (RENAME_LIBRARY): Remove. | |
6118 | * mkconfig.sh: Include libgcc_tm.h in tm.h if USED_FOR_TARGET. | |
6119 | * system.h (DECLARE_LIBRARY_RENAMES): Poison. | |
6120 | ||
fd01a351 GJL |
6121 | 2011-05-10 Georg-Johann Lay <avr@gjlay.de> |
6122 | ||
6123 | PR target/48896 | |
6124 | * config/avr/avr.c (avr_ret_register): Return unsigned int | |
6125 | instead of int. | |
6126 | (avr_function_value): Mark fn_decl_or_type as unused, don't pass | |
6127 | it to avr_libcall_value. | |
6128 | avr_expand_builtin): Use EXPAND_NORMAL as arg 4 in calls to | |
6129 | expand_expr. | |
6130 | (avr_expand_binop_builtin): Ditto. | |
6131 | (avr_expand_unop_builtin): Ditto. | |
6132 | ||
34cc3c86 DD |
6133 | 2011-05-10 DJ Delorie <dj@redhat.com> |
6134 | ||
6135 | * config/rx/rx.h (JUMP_ALIGN, LABEL_ALIGN, LOOP_ALIGN): Define. | |
6136 | (LABEL_ALIGN_AFTER_BARRIER): Pass label to rx_align_for_label | |
6137 | * config/rx/rx.c (rx_align_for_label): Add label and | |
6138 | uses_threshold parameters. Do not align when the label is not | |
6139 | used enough. | |
6140 | * config/rx/rx-protos.h (rx_align_for_label): Update prototype. | |
6141 | ||
be173289 RG |
6142 | 2011-05-10 Richard Guenther <rguenther@suse.de> |
6143 | ||
6144 | * tree-ssa-forwprop.c (combine_conversions): Pattern-match | |
6145 | a series of conversions and apply foldings similar to what | |
6146 | fold-const does. | |
6147 | (tree_ssa_forward_propagate_single_use_vars): Call it. | |
6148 | ||
e7f78021 JJ |
6149 | 2011-05-10 Jakub Jelinek <jakub@redhat.com> |
6150 | ||
6ae70ea2 JJ |
6151 | PR tree-optimization/48611 |
6152 | PR tree-optimization/48794 | |
6153 | * tree-eh.c (remove_unreachable_handlers): Don't remove regions | |
6154 | referenced from RESX or EH_DISPATCH arguments. | |
6155 | ||
e7f78021 JJ |
6156 | PR debug/48928 |
6157 | * dfp.c (decimal_to_decnumber): Handle conversion from | |
6158 | dconst{1,2,m1,half}. | |
6159 | ||
fca132b9 UB |
6160 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> |
6161 | ||
6162 | * config/i386/i386.c (ix86_autovectorize_vector_sizes): Return 0 | |
6163 | for !flag_prefer_avx128. | |
6164 | (ix86_preferred_simd_mode): Return word_mode for DFmode without SSE2. | |
6165 | ||
e4c03378 EB |
6166 | 2011-05-09 Eric Botcazou <ebotcazou@adacore.com> |
6167 | ||
6168 | * fold-const.c (fold_range_test): Pass LOC to build_range_check. | |
6169 | (fold_ternary_loc): Use expr_location_or. | |
6170 | ||
805d6a75 L |
6171 | 2011-05-09 H.J. Lu <hongjiu.lu@intel.com> |
6172 | ||
6173 | PR debug/48853 | |
6174 | * dwarf2out.c (mem_loc_descriptor) <case SUBREG>: If | |
6175 | POINTERS_EXTEND_UNSIGNED is defined, don't give up if mode is | |
6176 | Pmode and mem_mode is not VOIDmode. | |
6177 | ||
e4c03378 | 6178 | 2011-05-09 Ville Voutilainen <ville.voutilainen@gmail.com> |
b5da71d4 | 6179 | |
e4c03378 EB |
6180 | * tree.h (TYPE_UNQUALIFIED, TYPE_QUAL_CONST, TYPE_QUAL_VOLATILE, |
6181 | TYPE_QUAL_RESTRICT): Convert to enum. | |
b5da71d4 | 6182 | |
51e7f377 UB |
6183 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> |
6184 | ||
6185 | * config/i386/predicates.md (const_pow2_1_to_2_operand): Remove. | |
6186 | (const_pow2_1_to_8_operand): Ditto. | |
6187 | (const_pow2_1_to_128_operand): Ditto. | |
6188 | (const_pow2_1_to_32768_operand): Ditto. | |
6189 | * config/i386/mmx.md (*mmx_pinsrw): Use const_int_operand instead of | |
6190 | const_pow2_1_to_8_operand for operand 3 predicate. Use exact_log2 | |
6191 | in insn constraint to check integer value of operand 3. | |
6192 | * config/i386/sse.md (*vec_setv4sf_sse4_1): Ditto. | |
6193 | ||
6194 | (PINSR_MODE): New mode iterator. | |
6195 | (sse2p4_1): New mode attribute. | |
6196 | (<sse2p4_1>_pinsr<ssemodesuffix>): Merge insn from sse4_1_pinsrb, | |
6197 | sse2_pinsrw, sse4_1_pinsrd and sse4_1_pinsrq using PINSR_MODE mode | |
6198 | iterator. Use const_int_operand instead of | |
6199 | const_pow2_1_to_{2,8,128,32768}_operand for operand 3 predicate. Use | |
6200 | exact_log2 in insn constraint to check integer value of operand 3. | |
6201 | ||
6202 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> | |
6203 | ||
6204 | * config/i386/sse.md (blendbits): Remove mode attribute. | |
6205 | (<sse4_1>_blend<ssemodesuffix><avxsizesuffix>): Use const_int_operand | |
6206 | instead of const_0_to_<blendbits>_operand for operand 3 predicate. | |
6207 | Check integer value of operand 3 in insn constraint. | |
6208 | ||
0ca8de87 RG |
6209 | 2011-05-09 Richard Guenther <rguenther@suse.de> |
6210 | ||
6211 | * lto-symtab.c (lto_cgraph_replace_node): Use types_compatible_p | |
6212 | for diagnostics. | |
6213 | (lto_symtab_merge): Likewise. Do not register types here. | |
6214 | (lto_symtab_merge_decls_2): Likewise. | |
6215 | (lto_symtab_merge_decls_1): Likewise. | |
6216 | * gimple.h (enum gtc_mode, gimple_types_compatible_p): Do not declare. | |
6217 | * gimple.c (enum gtc_mode): Declare. | |
6218 | (gimple_types_compatible_p): Make static. | |
6219 | ||
a9e6994a AK |
6220 | 2011-05-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
6221 | ||
6222 | * config/s390/s390.md (TD/TF mem to reg move splitter): Make the | |
6223 | temporary register to match Pmode. | |
6224 | ||
fb55d62e UB |
6225 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> |
6226 | ||
6227 | * config/i386/sse.md (*vec_concatv4si): Merge from *vec_concatv4si_1 | |
6228 | and *vec_concatv4si_1_avx. | |
6229 | ||
eb1485a6 UB |
6230 | 2011-05-09 Uros Bizjak <ubizjak@gmail.com> |
6231 | ||
6232 | PR rtl-optimization/48927 | |
6233 | * ira-conflicts.c (commutative_constraint_p): Use | |
6234 | recog_data.alternative_enabled_p to disable alternatives where | |
6235 | "enabled" attribute is false. | |
6236 | (get_dup_num): Ditto. | |
6237 | * ira-lives.c (single_reg_class): Ditto. | |
6238 | (ira_implicitly_set_insn_hard_regs): Ditto. | |
6239 | ||
c46d001a EB |
6240 | 2011-05-09 Eric Botcazou <ebotcazou@adacore.com> |
6241 | ||
6242 | * var-tracking.c (find_mem_expr_in_1pdv): Fix thinko. | |
6243 | (dataflow_set_preserve_mem_locs): Likewise. | |
6244 | ||
6245 | 2011-05-09 Philipp Thomas <pth@suse.de> | |
6246 | ||
6d9e7c41 PT |
6247 | * config/mep/mep.c (mep_validate_vliw): Syntax description |
6248 | should not be translated. | |
6249 | ||
d371df6f JM |
6250 | 2011-05-09 Joseph Myers <joseph@codesourcery.com> |
6251 | ||
6252 | * config/mips/genopt.sh, config/mips/mips-cpus.def: New files. | |
6253 | * config/mips/mips-tables.opt: New file (generated). | |
eb1485a6 | 6254 | * config.gcc (mips*-*-*): Add mips/mips-tables.opt to extra_options. |
d371df6f JM |
6255 | * config/mips/mips-opts.h (MIPS_ARCH_OPTION_FROM_ABI, |
6256 | MIPS_ARCH_OPTION_NATIVE): Define. | |
6257 | * config/mips/mips.c (mips_cpu_info_table): Move contents to | |
6258 | mips-cpus.def. | |
6259 | (mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p, | |
6260 | mips_parse_cpu): Remove. | |
6261 | (mips_cpu_info_from_opt, mips_default_arch): New. | |
6262 | (mips_handle_option): Don't assert that global structures are in | |
6263 | use. Don't handle OPT_march_, OPT_mtune_ and OPT_mips here. | |
6264 | (mips_option_override): Use new variables and functions to set | |
eb1485a6 | 6265 | state of these options. Use strcmp to check for individual CPU names. |
d371df6f JM |
6266 | * config/mips/mips.h (MIPS_CPU_STRING_DEFAULT): Remove default |
6267 | definition. | |
6268 | * config/mips/mips.opt (march=): Use ToLower and Enum. | |
6269 | (mips): Use ToLower, Enum and Var. | |
6270 | (mtune=): Use ToLower and Enum. | |
6271 | * config/mips/t-mips ($(srcdir)/config/mips/mips-tables.opt): New. | |
6272 | ||
4fc07af9 JH |
6273 | 2011-05-08 Jan Hubicka <jh@suse.cz> |
6274 | ||
6275 | * gimple.c (type_pair_hash, type_pair_eq, lookup_type_pair): | |
6276 | Arrange type pairs to be UID ordered. | |
6277 | (gimple_lookup_type_leader): Make inline. | |
6278 | ||
2cf320a8 NC |
6279 | 2011-05-09 Nick Clifton <nickc@redhat.com> |
6280 | ||
61d6def5 NC |
6281 | PR target/48899 |
6282 | * config/iq2000/iq2000.opt (iq2000_tune): Initialise to | |
6283 | PROCESSOR_DEFAULT. | |
6284 | ||
2cf320a8 NC |
6285 | PR target/48897 |
6286 | * config/mn10300/mn10300.c (extract_bundle): Remove spurious local | |
6287 | variable 's'. | |
6288 | ||
4f82319d CLT |
6289 | 2011-05-08 Chung-Lin Tang <cltang@codesourcery.com> |
6290 | ||
6291 | * combine.c (simplify_comparison): Abstract out parts into... | |
6292 | (simplify_compare_const): ... new function. | |
6293 | (try_combine): Generalize parallel arithmetic/compare combining | |
6294 | to call simplify_compare_const() and CANONICALIZE_COMPARE(). | |
6295 | ||
74605a11 JH |
6296 | 2011-05-08 Jan Hubicka <jh@suse.cz> |
6297 | ||
6298 | * cgraph.c (cgraph_clone_node): Add call_duplication_hook parameter. | |
eb1485a6 UB |
6299 | (cgraph_create_virtual_clone): Call hooks once virtual clone |
6300 | is finished. | |
74605a11 | 6301 | * cgraph.h (cgraph_clone_node): Update prototype. |
eb1485a6 UB |
6302 | * ipa-cp.c (ipcp_estimate_growth): Use |
6303 | estimate_ipcp_clone_size_and_time. | |
74605a11 JH |
6304 | * ipa-inline-transform.c (clone_inlined_nodes): Update. |
6305 | * lto-cgraph.c (input_node): Update. | |
6306 | * ipa-inline.c (recursive_inlining): Update. | |
6307 | * ipa-inline.h (estimate_ipcp_clone_size_and_time): New function. | |
6308 | (evaluate_conditions_for_known_args): Break out from ... | |
6309 | (evaluate_conditions_for_edge): ... here. | |
6310 | (evaluate_conditions_for_ipcp_clone): New function. | |
6311 | (inline_node_duplication_hook): Update clone summary based | |
6312 | on parameter map. | |
6313 | (estimate_callee_size_and_time): Rename to ... | |
6314 | (estimate_node_size_and_time): take NODE instead of EDGE; | |
6315 | take POSSIBLE_TRUTHS as argument. | |
6316 | (estimate_callee_size_and_time): Update. | |
6317 | (estimate_ipcp_clone_size_and_time): New function. | |
6318 | (do_estimate_edge_time): Update. | |
6319 | ||
5c049507 RG |
6320 | 2011-05-08 Richard Guenther <rguenther@suse.de> |
6321 | ||
6322 | PR middle-end/48908 | |
6323 | PR middle-end/48905 | |
6324 | * expmed.c (expand_shift_1): Compute adjusted constant shift | |
6325 | amount manually. | |
6326 | ||
f64c36ba EB |
6327 | 2011-05-08 Eric Botcazou <ebotcazou@adacore.com> |
6328 | ||
6329 | * config/avr/avr.c (print_operand_address): Fix invalid RTL access. | |
6330 | ||
c461a957 EB |
6331 | 2011-05-08 Eric Botcazou <ebotcazou@adacore.com> |
6332 | ||
6333 | * config/rs6000/rs6000.c (output_profile_hook): Fix thinko. | |
6334 | ||
7c74e556 JW |
6335 | 2011-05-08 Jonathan Wakely <jwakely.gcc@gmail.com> |
6336 | ||
6337 | * doc/invoke.texi (-fuse-linker-plugin): Improve grammar. | |
6338 | ||
b4c0a884 JH |
6339 | 2011-05-07 Jan Hubicka <jh@suse.cz> |
6340 | ||
a9bcb3f0 EB |
6341 | * ipa-inline-transform.c (inline_call): Account when program size |
6342 | decreases. | |
b4c0a884 | 6343 | * ipa-inline.c (relative_time_benefit): New function. |
a9bcb3f0 EB |
6344 | (edge_badness): Reorganize to be power 2 based; fix thinko when |
6345 | computing badness for negative growth; update comments to match | |
6346 | reality; better dumps. | |
b4c0a884 | 6347 | |
c99c0026 EB |
6348 | 2011-05-07 Eric Botcazou <ebotcazou@adacore.com> |
6349 | ||
6350 | * langhooks.h (lang_hooks_for_types): Change global_bindings_p's return | |
6351 | type to bool and adjust comment. | |
6352 | * fold-const.c (fold_range_test): Adjust call to global_bindings_p. | |
6353 | (fold_mathfn_compare): Remove calls to global_bindings_p. | |
6354 | (fold_inf_compare): Likewise. | |
6355 | * stor-layout.c (variable_size): Adjust call to global_bindings_p. | |
6356 | * c-tree.h (global_bindings_p): Adjust prototype. | |
6357 | * c-decl.c (global_bindings_p): Return bool and simplify. | |
6358 | ||
1400c8e5 ZD |
6359 | 2011-05-07 Zdenek Dvorak <ook@ucw.cz> |
6360 | ||
6361 | PR tree-optimization/48837 | |
6362 | * tree-tailcall.c (tree_optimize_tail_calls_1): Do not mark tailcalls | |
6363 | when accumulator transformation is performed. | |
6364 | ||
5d0878e7 JH |
6365 | 2011-05-06 Jan Hubicka <jh@suse.cz> |
6366 | ||
a9bcb3f0 EB |
6367 | * i386.h (ix86_tune_indices): Add |
6368 | X86_TUNE_SOFTWARE_PREFETCHING_BENEFICIAL. | |
eb1485a6 | 6369 | (TARGET_SOFTWARE_PREFETCHING_BENEFICIAL): New macro. |
a9bcb3f0 EB |
6370 | * i386.c (initial_ix86_tune_features): Add |
6371 | X86_SOFTARE_PREFETCHING_BENEFICIAL. | |
5d0878e7 JH |
6372 | (software_prefetching_beneficial_p): Remove predicate. |
6373 | (ix86_option_override_internal): Use new macro. | |
6374 | ||
58696ce5 JH |
6375 | 2011-05-06 Jan Hubicka <jh@suse.cz> |
6376 | ||
6377 | * ipa-inline.c (update_callee_keys): Don't reset node growth cache. | |
6378 | ||
c47d0034 JH |
6379 | 2011-05-06 Jan Hubicka <jh@suse.cz> |
6380 | ||
6381 | * cgraph.c (cgraph_add_thunk): Create real function node instead | |
6382 | of alias node; finalize it and mark needed/reachale; arrange visibility | |
6383 | to be right and add it into the corresponding same comdat group list. | |
6384 | (dump_cgraph_node): Dump thunks. | |
6385 | * cgraph.h (cgraph_first_defined_function, cgraph_next_defined_function, | |
a9bcb3f0 EB |
6386 | cgraph_function_with_gimple_body_p, |
6387 | cgraph_first_function_with_gimple_body, | |
c47d0034 JH |
6388 | cgraph_next_function_with_gimple_body): New functions. |
6389 | (FOR_EACH_FUNCTION_WITH_GIMPLE_BODY, FOR_EACH_DEFINED_FUNCTION): | |
6390 | New macros. | |
6391 | * ipa-cp.c (ipcp_need_redirect_p): Thunks can't be redirected. | |
6392 | (ipcp_generate_summary): Use FOR_EACH_FUNCTION_WITH_GIMPLE_BODY. | |
6393 | * cgraphunit.c (cgraph_finalize_function): Only look into possible | |
6394 | devirtualization when optimizing. | |
6395 | (verify_cgraph_node): Verify thunks. | |
6396 | (cgraph_analyze_function): Analyze thunks. | |
6397 | (cgraph_mark_functions_to_output): Output thunks only in combination | |
6398 | with function they are assigned to. | |
6399 | (assemble_thunk): Turn thunk into non-thunk; don't try to turn | |
6400 | alias into normal node. | |
6401 | (assemble_thunks): New functoin. | |
6402 | (cgraph_expand_function): Use it. | |
6403 | * lto-cgraph.c (lto_output_node): Stream thunks. | |
6404 | (input_overwrite_node): Stream in thunks. | |
6405 | * ipa-pure-const.c (analyze_function): Thunks do nothing interesting. | |
6406 | * lto-streamer-out.c (lto_output): Do not try to output thunk's body. | |
6407 | * ipa-inline.c (inline_small_functions): Use FOR_EACH_DEFINED_FUNCTION. | |
6408 | * ipa-inline-analysis.c (compute_inline_parameters): "Analyze" thunks. | |
6409 | (inline_analyze_function): Do not care about thunk jump functions. | |
6410 | (inline_generate_summary):Use FOR_EACH_DEFINED_FUNCTION. | |
a9bcb3f0 EB |
6411 | * ipa-prop.c (ipa_prop_write_jump_functions): Use |
6412 | cgraph_function_with_gimple_body_p. | |
6413 | * passes.c (do_per_function_toporder): Use | |
6414 | cgraph_function_with_gimple_body_p. | |
c47d0034 JH |
6415 | (execute_one_pass);Use FOR_EACH_FUNCTION_WITH_GIMPLE_BODY. |
6416 | (ipa_write_summaries): Use cgraph_function_with_gimple_body_p. | |
6417 | (function_called_by_processed_nodes_p): Likewise. | |
6418 | ||
d8f426ec JM |
6419 | 2011-05-06 Joseph Myers <joseph@codesourcery.com> |
6420 | ||
6421 | * config/rs6000/rs6000.opt (rs6000_ieeequad, rs6000_altivec_abi, | |
6422 | rs6000_spe_abi, rs6000_darwin64_abi): Remove TargetVariable | |
6423 | entries. | |
6424 | (mabi=): Replace with separate entries for mabi=altivec, | |
6425 | mabi=no-altivec, mabi=spe, mabi=no-spe, mabi=d64, mabi=d32, | |
6426 | mabi=ieeelongdouble and mabi=ibmlongdouble. | |
6427 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Move | |
6428 | check for -mabi=spe without SPE ABI support here. | |
6429 | (rs6000_handle_option): Replace OPT_mabi_ handling with | |
6430 | OPT_mabi_altivec and OPT_mabi_spe handling. | |
6431 | ||
80bde45b CC |
6432 | 2011-05-06 Cary Coutant <ccoutant@google.com> |
6433 | ||
6434 | * dwarf2out.c (contains_subprogram_definition): New function. | |
6435 | (should_move_die_to_comdat): Call it. | |
6436 | ||
a91926b9 JL |
6437 | 2011-05-06 Jeff Law <law@redhat.com> |
6438 | ||
6439 | * tree-ssa-threadupdate.c (create_block_for_threading): Do not call | |
6440 | remove_ctrl_stmt_and_useless_edges. | |
6441 | (create_duplicates): Call remove_ctrl_stmt_and_useless_edges. | |
6442 | (fixup_template_block, thread_single_edge): Likewise. | |
6443 | (mark_threaded_blocks): Use THREAD_TARGET. | |
6444 | ||
1fc1b66d AM |
6445 | 2011-05-06 Alan Modra <amodra@gmail.com> |
6446 | ||
6447 | PR target/48900 | |
6448 | * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Use | |
6449 | const0_rtx as the arg to the dummy __tls_get_addr libcall. | |
6450 | ||
e194de64 UB |
6451 | 2011-05-06 Uros Bizjak <ubizjak@gmail.com> |
6452 | ||
6453 | * config/i386/i386.md (*movdf_internal_nointeger): Apply "*" | |
6454 | constraint modifier to "r". | |
6455 | ||
d740dc9e JM |
6456 | 2011-05-06 Joseph Myers <joseph@codesourcery.com> |
6457 | ||
6458 | * config/rs6000/rs6000.c (rs6000_handle_option): Don't handle and | |
6459 | fall through for OPT_mcmodel_. | |
6460 | ||
cab78b15 AK |
6461 | 2011-05-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
6462 | ||
6463 | * config/s390/s390.c (s390_asm_trampoline_template): Comment | |
6464 | instruction sizes. | |
e194de64 | 6465 | (s390_trampoline_init): Replace UNITS_PER_WORD with UNITS_PER_LONG. |
cab78b15 | 6466 | |
ee6824ae RR |
6467 | 2011-05-06 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
6468 | ||
eb1485a6 UB |
6469 | PR target/47930 |
6470 | * config/arm/arm.opt (marm): Document it. | |
6471 | (mthumb): Reject negative variant. | |
ee6824ae | 6472 | |
9ef58464 UB |
6473 | 2011-05-06 Uros Bizjak <ubizjak@gmail.com> |
6474 | ||
6475 | PR target/48898 | |
6476 | * config/i386/netware.c (i386_nlm_maybe_mangle_decl_assembler_name): | |
6477 | Fix typo in "ccvt" variable name. | |
6478 | ||
155b6176 TG |
6479 | 2011-05-06 Tristan Gingold <gingold@adacore.com> |
6480 | ||
6481 | PR target/48895 | |
6482 | * config/vms/vms-ar.c (main): Remove cwd variable. | |
6483 | ||
3becc47b JJ |
6484 | 2011-05-06 Jakub Jelinek <jakub@redhat.com> |
6485 | ||
6486 | PR debug/48902 | |
6487 | * var-tracking.c (prepare_call_arguments): Move else before #endif. | |
6488 | ||
3d528853 NF |
6489 | 2011-05-05 Nathan Froyd <froydnj@codesourcery.com> |
6490 | ||
6491 | * except.c (sjlj_emit_dispatch_table): Call build_case_label. | |
6492 | * gimplify.c (gimplify_switch_expr): Likewise. | |
6493 | * omp-low.c (expand_omp_sections): Likewise. | |
6494 | * tree-eh.c (lower_try_finally_switch): Likewise. | |
6495 | (lower_eh_dispatch): Likewise. | |
6496 | * tree.h (build_case_label): Declare. | |
6497 | * tree.c (build_case_label): Define. | |
6498 | ||
deb5046b JM |
6499 | 2011-05-05 Jason Merrill <jason@redhat.com> |
6500 | ||
6501 | PR c++/40975 | |
6502 | * tree-inline.c (copy_tree_r): Use copy_statement_list. | |
6503 | (copy_statement_list): Don't recurse. | |
6504 | * stor-layout.c (copy_self_referential_tree_r): Don't allow | |
6505 | STATEMENT_LIST. | |
6506 | ||
013c0411 JM |
6507 | 2011-05-05 Joseph Myers <joseph@codesourcery.com> |
6508 | ||
6509 | * config/rs6000/rs6000.c (rs6000_handle_option): Don't fall | |
6510 | through from -mfpu= handling. | |
6511 | * config/rs6000/rs6000.opt (mfpu=): Use Var and Init. | |
6512 | ||
a0905f8b BS |
6513 | 2011-05-05 Bernd Schmidt <bernds@codesourcery.com> |
6514 | ||
6515 | * dwarf2out.c (dwarf2out_frame_debug_expr) [rule 10]: Handle | |
6516 | POST_MODIFY. | |
6517 | ||
fc4538e4 SE |
6518 | 2011-05-05 Steve Ellcey <sje@cup.hp.com> |
6519 | ||
6520 | * config.gcc (hppa*64*-*-hpux11*): Modify tm_file and extra_options | |
6521 | for 11.31. | |
6522 | (hppa[12]*-*-hpux11*): Ditto. | |
6523 | (ia64*-*-hpux*): Add ia64/hpux-unix2003.h to tm_file. | |
6524 | * config/ia64/hpux-unix2003.h: New. | |
6525 | * config/pa/pa-hpux1131.opt: New. | |
6526 | * config/pa/pa-hpux1131.h: New. | |
6527 | * config/pa/pa64-hpux.h (STARTFILE_SPEC): Use unix2003.o if requested. | |
6528 | * config/pa/pa-hpux.opt (flag_pa_unix): Check TARGET_HPUX_11_31 value. | |
4eec64ff | 6529 | * config/pa/pa.h (TARGET_HPUX_11_31): Provide default (0) value. |
fc4538e4 | 6530 | |
1e30c578 JJ |
6531 | 2011-05-05 Jakub Jelinek <jakub@redhat.com> |
6532 | ||
6533 | PR debug/48853 | |
6534 | * dwarf2out.c (mem_loc_descriptor) <case SUBREG>: Pass mem_mode | |
6535 | instead of mode as 3rd argument to recursive call. | |
6536 | (mem_loc_descriptor) <case REG>: If POINTERS_EXTEND_UNSIGNED, don't | |
6537 | emit DW_OP_GNU_regval_type if mode is Pmode and mem_mode is not | |
6538 | VOIDmode. | |
6539 | (mem_loc_descriptor) <case SYMBOL_REF>: If POINTERS_EXTEND_UNSIGNED, | |
6540 | don't give up if mode is Pmode and mem_mode is not VOIDmode. | |
6541 | (mem_loc_descriptor) <case CONST_INT>: If POINTERS_EXTEND_UNSIGNED, | |
6542 | use int_loc_descriptor if mode is Pmode and mem_mode is not VOIDmode. | |
6543 | ||
d19eb620 JB |
6544 | 2011-05-05 Julian Brown <julian@codesourcery.com> |
6545 | ||
6546 | * config/arm/neon.md (vec_set<mode>_internal): Fix misplaced | |
6547 | parenthesis in D-register case. | |
6548 | ||
c860fe8c JM |
6549 | 2011-05-05 Joseph Myers <joseph@codesourcery.com> |
6550 | ||
6551 | * opt-functions.awk (var_type_struct): Handle Enum options. | |
6552 | * optc-gen.awk: Don't check range of variables of character type. | |
6553 | * config/rs6000/rs6000.c (rs6000_sched_insert_nops_str, | |
6554 | rs6000_sched_costly_dep_str, rs6000_recip_name, rs6000_abi_name, | |
6555 | rs6000_sdata_name, rs6000_explicit_options): Remove. | |
6556 | (rs6000_option_override_internal): Check for -malign-power here. | |
6557 | Use global_options_set instead of rs6000_explicit_options. | |
6558 | (rs6000_parse_fpu_option): Remove. | |
6559 | (rs6000_handle_option): Access variables via opts and opts_set | |
6560 | pointers. Use error_at and warning_at. Add fall-through | |
6561 | comments. Don't handle OPT_mcmodel_, OPT_maix_struct_return, | |
6562 | OPT_msvr4_struct_return, OPT_mvrsave, OPT_mspe, OPT_mcall_, | |
6563 | OPT_msdata_, OPT_mtls_size_, OPT_mtraceback_, OPT_mfloat_gprs_, | |
6564 | OPT_msched_costly_dep_, OPT_malign_ or OPT_mrecip_ explicitly | |
6565 | here. Don't use rs6000_parse_fpu_option. | |
6566 | * config/rs6000/rs6000.h (fpu_type): Remove declaration. | |
6567 | * config/rs6000/rs6000.opt (rs6000_long_double_type_size, | |
6568 | rs6000_spe, rs6000_float_gprs): Remove TargetVariable entries. | |
6569 | (mrecip=): Use Var. | |
6570 | (mspe): Use Var and Save. | |
6571 | (mtraceback=): Use Enum and Var. | |
6572 | (rs6000_traceback_type): New Enum and EnumValue entries. | |
6573 | (mfloat-gprs=): Use Enum, Var and Save. | |
6574 | (rs6000_float_gprs): New Enum and EnumValue entries. | |
6575 | (mlong-double-): use Var and Save. | |
6576 | (msched-costly-dep=, minsert-sched-nops=): Use Var. | |
6577 | (malign-): Use Enum and Var. | |
6578 | (rs6000_alignment_flags): New Enum and EnumValue entries. | |
6579 | (mfpu=): Use Enum. | |
6580 | (fpu_type_t): New Enum and EnumValue entries. | |
6581 | * config/rs6000/aix43.h (SUBTARGET_OVERRIDE_OPTIONS): Use | |
6582 | global_options_set instead of rs6000_explicit_options. | |
6583 | * config/rs6000/aix52.h (SUBTARGET_OVERRIDE_OPTIONS): Use | |
6584 | global_options_set instead of rs6000_explicit_options. | |
6585 | * config/rs6000/aix53.h (SUBTARGET_OVERRIDE_OPTIONS): Use | |
6586 | global_options_set instead of rs6000_explicit_options. | |
6587 | * config/rs6000/aix61.h (SUBTARGET_OVERRIDE_OPTIONS): Use | |
6588 | global_options_set instead of rs6000_explicit_options. | |
6589 | * config/rs6000/e500-double.h (SUB3TARGET_OVERRIDE_OPTIONS): Use | |
6590 | global_options_set instead of rs6000_explicit_options. | |
6591 | * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use | |
6592 | global_options_set instead of rs6000_explicit_options. | |
6593 | (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Remove commented-out | |
6594 | definition. | |
6595 | * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use | |
6596 | global_options_set instead of rs6000_explicit_options. | |
6597 | * config/rs6000/linux64.opt (mcmodel=): Use Enum and Var. | |
6598 | (rs6000_cmodel): New Enum and EnumValue entries. | |
6599 | * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use | |
6600 | global_options_set instead of rs6000_explicit_options. | |
6601 | * config/rs6000/sysv4.opt (mcall-, msdata=): Use Var. | |
6602 | (mtls-size=): Use Enum and Var. | |
6603 | (rs6000_tls_size): New Enum and EnumValue entries. | |
6604 | ||
0691dde9 MM |
6605 | 2011-05-05 Michael Matz <matz@suse.de> |
6606 | ||
6607 | * config/alpha/elf.h (ENDFILE_SPEC): Add Ofast. | |
6608 | * config/alpha/osf5.h (ENDFILE_SPEC): Add Ofast. | |
6609 | * config/alpha/netbsd.h (ENDFILE_SPEC): Add Ofast. | |
6610 | * config/sparc/linux.h (ENDFILE_SPEC): Add Ofast. | |
6611 | * config/sparc/sp64-elf.h (ENDFILE_SPEC): Add Ofast. | |
6612 | * config/sparc/sp-elf.h (ENDFILE_SPEC): Add Ofast. | |
6613 | * config/sparc/linux64.h (ENDFILE_SPEC): Add Ofast. | |
6614 | * config/sparc/freebsd.h (ENDFILE_SPEC): Add Ofast. | |
6615 | * config/sparc/sol2.h (ENDFILE_SPEC): Add Ofast. | |
6616 | * config/i386/cygwin.h (ENDFILE_SPEC): Add Ofast. | |
6617 | * config/i386/gnu-user.h (ENDFILE_SPEC): Add Ofast. | |
6618 | * config/i386/gnu-user64.h (ENDFILE_SPEC): Add Ofast. | |
6619 | * config/i386/darwin.h (ENDFILE_SPEC): Add Ofast. | |
6620 | * config/i386/mingw32.h (ENDFILE_SPEC): Add Ofast. | |
6621 | * config/ia64/linux.h (ENDFILE_SPEC): Add Ofast. | |
6622 | * config/mips/linux.h (ENDFILE_SPEC): Add Ofast. | |
6623 | ||
86529a49 RG |
6624 | 2011-05-05 Richard Guenther <rguenther@suse.de> |
6625 | ||
6626 | * expmed.c (expand_variable_shift): Rename to ... | |
6627 | (expand_shift_1): ... this. Take an expanded shift amount. | |
6628 | For rotates recurse directly not building trees for the shift amount. | |
6629 | (expand_variable_shift): Wrap around expand_shift_1. | |
6630 | (expand_shift): Adjust. | |
6631 | ||
d0228c2e JJ |
6632 | 2011-05-05 Jakub Jelinek <jakub@redhat.com> |
6633 | ||
6634 | * gimplify.c (create_tmp_var_raw): Don't call build_type_variant. | |
6635 | ||
907a08d9 EB |
6636 | 2011-05-05 Eric Botcazou <ebotcazou@adacore.com> |
6637 | ||
6638 | * tree.h (get_pending_sizes): Remove prototype. | |
6639 | (put_pending_size): Likewise. | |
6640 | (put_pending_sizes): Likewise. | |
6641 | * stor-layout.c (pending_sizes): Delete. | |
6642 | (get_pending_sizes): Likewise. | |
6643 | (put_pending_size): Likewise. | |
6644 | (put_pending_sizes): Likewise. | |
6645 | (variable_size): Do not call put_pending_size and tidy up. | |
6646 | * function.h (struct function): Remove dont_save_pending_sizes_p. | |
6647 | * lto-streamer-in.c (input_function): Do not stream it. | |
6648 | * lto-streamer-out.c (output_function): Likewise. | |
6649 | * tree-inline.c (initialize_cfun): Do not copy it. | |
6650 | * c-decl.c (store_parm_decls): Do not set it. | |
6651 | * omp-low.c (create_task_copyfn): Likewise. | |
6652 | * tree-optimize.c (tree_rest_of_compilation): Likewise. | |
6653 | ||
386d9c57 UB |
6654 | 2011-05-05 Uros Bizjak <ubizjak@gmail.com> |
6655 | ||
6656 | * config/i386/i386.md (*movdf_internal_rex64): Simplify nested "if" | |
6657 | conditions. | |
6658 | (*movdf_internal): Ditto. | |
6659 | (*movdf_internal_nointeger): Ditto. | |
6660 | (*movsf_internal): Ditto. | |
6661 | ||
a04a722b JM |
6662 | 2011-05-05 Joseph Myers <joseph@codesourcery.com> |
6663 | ||
6664 | * c-decl.c (finish_decl): Don't call get_pending_sizes. | |
6665 | (grokparm): Add parameter expr. Pass it to grokdeclarator. | |
6666 | (push_parm_decl): Add parameter expr. Pass it to grokdeclarator. | |
6667 | (c_variable_size): Remove. | |
6668 | (grokdeclarator): Use save_expr instead of c_variable_size. Don't | |
6669 | call put_pending_sizes. | |
6670 | (get_parm_info): Add parameter expr. Use it to set | |
6671 | arg_info->pending_sizes. | |
6672 | (store_parm_decls): Use arg_info->pending_sizes instead or calling | |
6673 | get_pending_sizes. | |
6674 | * c-parser.c (c_parser_parms_declarator): Update call to | |
6675 | c_parser_parms_list_declarator. | |
6676 | (c_parser_parms_list_declarator): Take parameter expr. Update | |
6677 | call to push_parm_decl. Update recursive call. Don't call | |
6678 | get_pending_sizes. Update calls to get_parm_info. | |
6679 | (c_parser_objc_method_definition): Update calls to | |
6680 | c_parser_objc_method_decl and objc_start_method_definition. | |
386d9c57 | 6681 | (c_parser_objc_methodproto): Update call to c_parser_objc_method_decl. |
a04a722b JM |
6682 | (c_parser_objc_method_decl): Add parameter expr. Update call to |
6683 | grokparm. | |
386d9c57 | 6684 | (c_parser_objc_try_catch_finally_statement): Update call to grokparm. |
a04a722b JM |
6685 | * c-tree.h (struct c_arg_info.pending_sizes): Change to a tree. |
6686 | (get_parm_info, grokparm, push_parm_decl): Update prototypes. | |
6687 | ||
c92a6f97 MH |
6688 | 2011-05-05 Michael Hope <michael.hope@linaro.org> |
6689 | ||
386d9c57 UB |
6690 | PR pch/45979 |
6691 | * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for | |
6692 | __ARM_EABI__ hosts. | |
c92a6f97 | 6693 | |
07ea0048 UW |
6694 | 2011-05-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
6695 | ||
6696 | * config/spu/spu.c (TARGET_ASM_OUTPUT_MI_THUNK): Define. | |
6697 | (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Likewise. | |
6698 | (spu_output_mi_thunk): New function. | |
6699 | ||
d634bfa1 RO |
6700 | 2011-05-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6701 | ||
6702 | * config/sparc/sol2.h (ASM_OUTPUT_CALL): Use | |
6703 | targetm.asm_out.print_operand. | |
6704 | * config/sol2.c: Include target.h. | |
6705 | ||
40fda55b JH |
6706 | 2011-05-04 Jan Hubicka <jh@suse.cz> |
6707 | ||
6708 | * ipa-inline.c (reset_edge_caches): New function. | |
6709 | (update_caller_keys): Add check_inlinablity_for; do not | |
6710 | reset edge caches; remove now unnecesary loop. | |
386d9c57 | 6711 | (update_callee_keys): Add comments; reset node_growth_cache of callee. |
40fda55b JH |
6712 | (update_all_callee_keys): Likewise. |
6713 | (inline_small_functions): Sanity check cache; update code | |
6714 | recomputing it. | |
6715 | ||
0360f70d BS |
6716 | 2011-05-04 Bernd Schmidt <bernds@codesourcery.com> |
6717 | ||
6718 | PR rtl-optimization/47612 | |
6719 | * df-problems.c (can_move_insns_across): Don't pick a cc0 setter | |
6720 | as the last insn of the sequence to be moved. | |
6721 | ||
7a994646 TB |
6722 | 2011-05-04 Tobias Burnus <burnus@net-b.de> |
6723 | ||
6724 | PR fortran/48864 | |
6725 | * doc/invoke.texi (Ofast): Document that it | |
6726 | enables Fortran's -fno-protect-parens. | |
6727 | ||
7a2f7208 UB |
6728 | 2011-05-04 Uros Bizjak <ubizjak@gmail.com> |
6729 | ||
6730 | * config/i386/i386.c (ix86_reorg): Run move_or_delete_vzeroupper first. | |
6731 | ||
a2d42931 EB |
6732 | 2011-05-04 Eric Botcazou <ebotcazou@adacore.com> |
6733 | ||
6734 | * stor-layout.c (variable_size): Do not issue errors. | |
6735 | ||
f81b1a3d RG |
6736 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
6737 | ||
6738 | * coverage.c (tree_coverage_counter_ref): Use integer_type_node | |
6739 | for array-ref indices. | |
6740 | (tree_coverage_counter_addr): Likewise. | |
6741 | (build_fn_info_type): Use size_int for index types. | |
6742 | (build_gcov_info): Likewise. | |
6743 | ||
c62c040f RG |
6744 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
6745 | ||
6746 | * c-decl.c (check_bitfield_type_and_width): Do not pass NULL | |
6747 | to build_int_cst. | |
6748 | * c-typeck.c (really_start_incremental_init): Use bitsize_int | |
6749 | for constructor indices. | |
6750 | (push_init_level): Likewise. | |
6751 | ||
1e3287d0 RG |
6752 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
6753 | ||
6754 | * explow.c (promote_mode): Move variable declarations before code. | |
6755 | ||
6c32445b NF |
6756 | 2011-05-04 Nathan Froyd <froydnj@codesourcery.com> |
6757 | ||
6758 | * tree.h (build_function_type_array): Declare. | |
6759 | (build_varargs_function_type_array): Declare. | |
6760 | (build_function_type_vec, build_varargs_function_type_vec): Define. | |
6761 | * tree.c (build_function_type_array_1): New function. | |
6762 | (build_function_type_array): New function. | |
6763 | (build_varargs_function_type_array): New function. | |
6764 | ||
fdabf269 RS |
6765 | 2011-05-04 Richard Sandiford <richard.sandiford@linaro.org> |
6766 | ||
6767 | * tree-vect-loop.c (vectorizable_reduction): Check reduction cost | |
6768 | before setting STMT_VINFO_TYPE. | |
6769 | ||
a207915a UW |
6770 | 2011-05-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
6771 | ||
6772 | * config/spu/spu.c (spu_gimplify_va_arg_expr): Call pass_by_reference | |
6773 | instead of spu_pass_by_reference. | |
6774 | ||
5e617be8 AK |
6775 | 2011-05-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
6776 | ||
6777 | * calls.c (emit_library_call_value_1): Invoke | |
6778 | promote_function_mode hook on libcall arguments. | |
6779 | * explow.c (promote_function_mode, promote_mode): Handle TYPE | |
6780 | argument being NULL. | |
6781 | * targhooks.c (default_promote_function_mode): Lisewise. | |
6782 | * config/s390/s390.c (s390_promote_function_mode): Likewise. | |
6783 | * config/sparc/sparc.c (sparc_promote_function_mode): Likewise. | |
6784 | ||
6785 | * doc/tm.texi: Document that TYPE argument might be NULL. | |
6786 | ||
486d04be SH |
6787 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
6788 | ||
6789 | * config/bfin/bfin.c (bfin_cpus): Update silicon revisions. | |
6790 | ||
9b19b026 SH |
6791 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
6792 | ||
6793 | From Bernd Schmidt | |
6794 | * config/bfin/bfin.md (addsi3): Add an alternative for IREGS. | |
6795 | ||
502bc3df RO |
6796 | 2011-05-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6797 | ||
6798 | * config/alpha/alpha.h (CODE_MASK, MIPS_IS_STAB, MIPS_MARK_STAB) | |
6799 | (MIPS_UNMARK_STAB, SHASH_SIZE, THASH_SIZE, ALIGN_SYMTABLE_OFFSET): | |
6800 | Move ... | |
6801 | * mips-tfile.c: ... here. | |
6802 | Don't include coretypes.h, tm.h, filenames.h. | |
6803 | (saber_stop): Remove definition and all calls. | |
6804 | [__SABER__]: Remove. | |
6805 | (__LINE__): Remove default. | |
6806 | (Size_t, Ptrdiff_t): Remove definitions. | |
6807 | Replace by size_t, ptrdiff_t. | |
6808 | [!MIPS_DEBUGGING_INFO]: Remove. | |
6809 | (SHASH_SIZE, THASH_SIZE): Remove defaults. | |
6810 | (progname): Add const. | |
6811 | (STATIC): Remove. | |
6812 | Replace all uses by static. | |
6813 | (ALIGN_SYMTABLE_OFFSET): Remove default. | |
6814 | * mips-tdump.c: Don't include coretypes.h, tm.h. | |
6815 | Remove !MIPS_IS_STAB guard. | |
6816 | * Makefile.in (mips-tfile.o): Remove $(RTL_H), coretypes.h, | |
6817 | $(TM_H), filenames.h dependencies. | |
6818 | (mips-tdump.o): Remove $(RTL_H), coretypes.h, $(TM_H) dependencies. | |
6819 | ||
991eb6ef SH |
6820 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
6821 | ||
6822 | From Jie Zhang | |
6823 | *config/bfin/bfin.c (bfin_extra_live_on_entry): New. | |
6824 | (TARGET_EXTRA_LIVE_ON_ENTRY): Define. | |
6825 | ||
420ccc84 SH |
6826 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
6827 | ||
6828 | From Bernd Schmidt | |
6829 | * config/bfin/bfin.h (FUNCTION_PROFILER): Take TARGET_LONG_CALLS into | |
6830 | account and save/restore RETS. | |
6831 | (PROFILE_BEFORE_PROLOGUE): Define. | |
6832 | (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Add tab character. Correct | |
6833 | the push insn to use predecrement. | |
6834 | ||
9f8d69ee SH |
6835 | 2011-05-04 Stuart Henderson <shenders@gcc.gnu.org> |
6836 | ||
6837 | From Jie Zhang | |
6838 | * config/bfin/bfin.c (bfin_expand_prologue): Don't clobber P2. | |
6839 | ||
662c03f4 NC |
6840 | 2011-05-04 Nick Clifton <nickc@redhat.com> |
6841 | ||
6842 | * config/mn10300/mn10300.c: Include cfgloop.h. | |
6843 | (DUMP): New macro. | |
6844 | (mn10300_insert_setlb_lcc): New function. Inserts a SETLB and a | |
6845 | Lcc or a FLcc insn into the instruction stream. | |
6846 | (mn10300_block_contains_call): New function. Returns true if the | |
6847 | given basic block contains a CALL insn. | |
6848 | (mn10300_loop_contains_call_insn): New function. Returns true if | |
6849 | the given loop contains a CALL insn. | |
6850 | (mn10300_scan_for_setlb_lcc): New function. Finds opportunities | |
6851 | to use the SETLB and Lcc or FLcc insns. | |
6852 | (mn10300_reorg): Invoke mn10300_scan_for_setlb_lcc when optimizing. | |
6853 | (TARGET_FLAGS): Add MASK_ALLOW_SETLB. | |
6854 | * config/mn10300/mn10300.opt (msetlb): New option. Used to | |
6855 | disable the SETLB optimization. | |
6856 | * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Add | |
6857 | __SETLB__ or __NO_SETLB__. | |
6858 | * config/mn10300/mn10300.md (UNSPEC_SETLB): New constant. | |
6859 | (movsf_internal): Handle MDR register. | |
6860 | (cmpsi): Make visible. | |
6861 | (setlb): New pattern. | |
6862 | (Lcc): New pattern. | |
6863 | (FLcc): New pattern. | |
6864 | ||
843b6915 UB |
6865 | 2011-05-04 Uros Bizjak <ubizjak@gmail.com> |
6866 | ||
6867 | PR target/48860 | |
6868 | * config/i386/i386.md (*movdi_internal_rex64) Use %vmovd | |
6869 | for reg<->xmm moves. | |
6870 | * config/i386/sse.md (*vec_concatv2di_rex64_sse4_1): Ditto. | |
6871 | (vec_concatv2di_rex64_sse): Ditto. | |
6872 | (*sse2_storeq_rex64): Do not emit %v prefix for mov{q} mnemonic. | |
6873 | (*vec_extractv2di_1_rex64): Ditto. | |
6874 | ||
6875 | Revert: | |
6876 | 2011-05-02 Uros Bizjak <ubizjak@gmail.com> | |
6877 | ||
6878 | * config/i386/mmx.md (*mov<mode>_internal_rex64): Use %vmovq for | |
6879 | reg<->xmm moves. | |
6880 | (*movv2sf_internal_rex64): Use %vmovq for reg<->xmm moves. | |
6881 | ||
d35936ab RG |
6882 | 2011-05-04 Richard Guenther <rguenther@suse.de> |
6883 | ||
6884 | * tree.h (int_const_binop): Remove notrunc argument. | |
6885 | * fold-const.c (int_const_binop): Remove notrunc argument. Always | |
6886 | create integer constants that are properly truncated. | |
6887 | (extract_muldiv_1): Expand one notrunc int_const_binop caller. | |
6888 | (const_binop): Remove zero notrunc argument to int_const_binop. | |
6889 | (size_binop_loc): Likewise. | |
6890 | (fold_div_compare): Likewise. | |
6891 | (maybe_canonicalize_comparison_1): Likewise. | |
6892 | (fold_comparison): Likewise. | |
6893 | (fold_binary_loc): Likewise. | |
6894 | (multiple_of_p): Likewise. | |
6895 | * expr.c (store_constructor): Likewise. | |
6896 | * gimple-fold.c (maybe_fold_offset_to_array_ref): Likewise. | |
6897 | (maybe_fold_stmt_addition): Likewise. | |
6898 | * ipa-prop.c (ipa_modify_call_arguments): Likewise. | |
6899 | * stor-layout.c (layout_type): Likewise. | |
6900 | * tree-data-ref.c (tree_fold_divides_p): Likewise. | |
6901 | * tree-sra.c (build_ref_for_offset): Likewise. | |
6902 | (build_user_friendly_ref_for_offset): Likewise. | |
6903 | * tree-ssa-address.c (maybe_fold_tmr): Likewise. | |
6904 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Likewise. | |
6905 | * tree-ssa-loop-niter.c (inverse): Likewise. | |
6906 | * tree-ssa-pre.c (create_component_ref_by_pieces_1): Likewise. | |
6907 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Likewise. | |
6908 | * tree-switch-conversion.c (check_range): Likewise. | |
6909 | (build_constructors): Likewise. | |
6910 | * tree-vect-generic.c (expand_vector_piecewise): Likewise. | |
6911 | * tree-vrp.c (set_and_canonicalize_value_range): Likewise. | |
6912 | (extract_range_from_assert): Likewise. | |
6913 | (vrp_int_const_binop): Likewise. | |
6914 | (extract_range_from_binary_expr): Likewise. | |
6915 | (extract_range_from_unary_expr): Likewise. | |
6916 | (check_array_ref): Likewise. | |
6917 | (find_case_label_range): Likewise. | |
6918 | (simplify_div_or_mod_using_ranges): Likewise. | |
6919 | * tree-cfg.c (group_case_labels_stmt): Use double-ints for | |
6920 | comparing case labels for merging. | |
6921 | ||
8992c063 MW |
6922 | 2011-05-03 Mark Wielaard <mjw@redhat.com> |
6923 | ||
6924 | * dwarf2out.c (debug_str_hash_forced): Removed. | |
6925 | (gen_label_for_indirect_string): Removed. | |
6926 | (get_debug_string_label): Removed. | |
6927 | (AT_string_form): Generate label directly. | |
6928 | (output_indirect_string): Test indirect_string_node for | |
6929 | DW_FORM_strp instead of checking label and refcount. | |
6930 | (prune_indirect_string): Removed. | |
6931 | (prune_unused_types): Don't check debug_str_hash_forced or | |
6932 | call prune_indirect_string. | |
6933 | ||
4868e6ea AO |
6934 | 2011-05-04 Alexandre Oliva <aoliva@redhat.com> |
6935 | ||
6936 | PR other/48093 | |
6937 | * doc/invoke.texi: Document -mtls-dialect and GCC_COMPARE_DEBUG. | |
6938 | ||
01a5c0ab AO |
6939 | 2011-05-04 Alexandre Oliva <aoliva@redhat.com> |
6940 | ||
6941 | PR debug/47994 | |
6942 | PR debug/47919 | |
6943 | * combine.c (try_combine): Skip debug insns at m_split tests. | |
6944 | ||
6ac00218 MW |
6945 | 2011-04-26 Mark Wielaard <mjw@redhat.com> |
6946 | ||
6947 | PR42288 | |
6948 | * dwarf2out.c (dwarf2out_finish): Always call output_aranges () | |
6949 | when info_section_emitted. | |
6950 | ||
3af42a7b JM |
6951 | 2011-05-03 Joseph Myers <joseph@codesourcery.com> |
6952 | ||
6953 | * config/mips/mips-opts.h: New. | |
6954 | * config/mips/mips.c (enum mips_r10k_cache_barrier_setting): Move | |
6955 | to mips-opts.h. | |
6956 | (mips_abi, mips_code_readable, mips_r10k_cache_barriee): Remove. | |
6957 | (mips_handle_option): Don't handle OPT_mabi_, OPT_mcode_readable_ | |
6958 | or OPT_mr10k_cache_barrier_ here. Access mips_cache_flush_func | |
6959 | via opts pointer. | |
6960 | * config/mips/mips.h (enum mips_code_readable_setting): Move to | |
6961 | mips-opts.h. | |
6962 | (mips_abi, mips_code_readable): Don't declare. | |
843b6915 | 6963 | * config/mips/mips.opt (config/mips/mips-opts.h): New HeaderInclude. |
3af42a7b JM |
6964 | (mabi=): Use Enum and Var. |
6965 | (mips_abi): New Enum and EnumValue entries. | |
6966 | (mcode-readable=): Use Enum and Var. | |
6967 | (mips_code_readable_setting): New Enum and EnumValue entries. | |
6968 | (mr10k-cache-barrier=): Use Enum and Var. | |
6969 | (mips_r10k_cache_barrier_setting): New Enum and EnumValue entries. | |
6970 | ||
1cb1a99f JH |
6971 | 2011-05-03 Jan Hubicka <jh@suse.cz> |
6972 | ||
6973 | * cgraph.h (cgraph_node_set_def, varpool_node_set_def): Move out of GTY; | |
6974 | replace hash by pointer map. | |
6975 | (cgraph_node_set_element_def, cgraph_node_set_element, | |
6976 | const_cgraph_node_set_element, varpool_node_set_element_def, | |
6977 | varpool_node_set_element, const_varpool_node_set_element): Remove. | |
6978 | (free_cgraph_node_set, free_varpool_node_set): New function. | |
6979 | (cgraph_node_set_size, varpool_node_set_size): Use vector size. | |
6980 | * tree-emutls.c: Free varpool node set. | |
6981 | * ipa-utils.c (cgraph_node_set_new, cgraph_node_set_add, | |
6982 | cgraph_node_set_remove, cgraph_node_set_find, dump_cgraph_node_set, | |
6983 | debug_cgraph_node_set, free_cgraph_node_set, varpool_node_set_new, | |
6984 | varpool_node_set_add, varpool_node_set_remove, varpool_node_set_find, | |
6985 | dump_varpool_node_set, free_varpool_node_set, debug_varpool_node_set): | |
6986 | Move here from ipa.c; implement using pointer_map | |
6987 | * ipa.c (cgraph_node_set_new, cgraph_node_set_add, | |
6988 | cgraph_node_set_remove, cgraph_node_set_find, dump_cgraph_node_set, | |
6989 | debug_cgraph_node_set, varpool_node_set_new, | |
6990 | varpool_node_set_add, varpool_node_set_remove, varpool_node_set_find, | |
6991 | dump_varpool_node_set, debug_varpool_node_set): | |
6992 | Move to ipa-uitls.c. | |
6993 | * passes.c (ipa_write_summaries): Update. | |
6994 | ||
7f31f4db SH |
6995 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
6996 | ||
7a2f7208 UB |
6997 | From Mike Frysinger: |
6998 | * config/bfin/bfin.c (bfin_cpus[]): Add 0.4 for | |
6999 | bf542/bf544/bf547/bf548/bf549. | |
7f31f4db | 7000 | |
b70fce6d UB |
7001 | 2011-05-03 Uros Bizjak <ubizjak@gmail.com> |
7002 | ||
7003 | * expmed.c (extract_bit_field_1): Remove write-only variable "icode". | |
7004 | ||
265b1d82 SH |
7005 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
7006 | ||
7007 | From Bernd Schmidt: | |
7008 | * config/bfin/bfin.md (MOVCC): New mode_macro. | |
7009 | (mov<mode>cc_insn1, mov<mode>cc_insn2, mov<mode>cc): Renamed from | |
7010 | movsicc_insn1, movsicc_insn2 and movsicc and macroized. Remove | |
7011 | comments from generated assembly. | |
7012 | ||
f0b568f3 SH |
7013 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
7014 | ||
7015 | From Bernd Schmidt | |
7016 | * config/bfin/t-bfin (LIB1ASMFUNCS): Add muldi3 and umulsi3_highpart. | |
7017 | * config/bfin/t-bfin-elf (LIB1ASMFUNCS): Add muldi3. | |
7018 | * config/bfin/t-bfin-linux (LIB1ASMFUNCS): Add muldi3. | |
7019 | * config/bfin/t-bfin-uclinux (LIB1ASMFUNCS): Add muldi3. | |
7020 | * config/bfin/lib1funcs.asm (___muldi3): New function. | |
7021 | ||
2c67cf6e NF |
7022 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
7023 | ||
7024 | * config/stormy16/stormy16 (xstormy16_init_builtins): Call | |
7025 | build_function_type_list instead of build_function_type. | |
7026 | Rearrange initialization of `args' to do so. | |
7027 | ||
f9ac28ad NF |
7028 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
7029 | ||
7030 | * config/i386/i386.c (ix86_code_end): Call build_function_type_list | |
7031 | instead of build_function_type. | |
7032 | ||
22b8798c NF |
7033 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
7034 | ||
7035 | * config/rs6000/rs6000.c (spe_init_builtins): Call | |
7036 | build_function_type_list instead of build_function_type. | |
7037 | (paired_init_builtins, altivec_init_builtins): Likewise. | |
7038 | (builtin_function_type): Likewise. | |
7039 | ||
4cb44528 NF |
7040 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
7041 | ||
7042 | * config/sh/sh.c (sh_media_init_builtins): Call | |
7043 | build_function_type_list instead of build_function_type. | |
7044 | ||
4c203a6a NF |
7045 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
7046 | ||
7047 | * config/sparc/sparc.c (sparc_file_end): Call | |
7048 | build_function_type_list instead of build_function_type. | |
7049 | ||
d6a3d62b NF |
7050 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
7051 | ||
7052 | * config/alpha/alpha.c (alpha_init_builtins): Call | |
7053 | build_function_type_list instead of build_function_type. | |
7054 | ||
de530b86 NF |
7055 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
7056 | ||
7057 | * config/xtensa/xtensa.c (xtensa_init_builtins): Call | |
7058 | build_function_type_list instead of build_function_type. | |
7059 | ||
baeec5f2 NF |
7060 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
7061 | ||
7062 | * config/iq2000/i2000.c (iq2000_init_builtins): Call | |
7063 | build_function_type_list instead of build_function_type. | |
7064 | Delete `endlink' variable. | |
7065 | ||
c19afe52 NF |
7066 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
7067 | ||
7068 | * config/avr/avr.c (avr_init_builtins): Call | |
7069 | build_function_type_list instead of build_function_type. | |
7070 | ||
a341df0a NF |
7071 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
7072 | ||
7073 | * config/picochip/picochip.c (picochip_init_builtins): Call | |
7074 | build_function_type_list instead of build_function_type. | |
7075 | Delete `endlink' variable. | |
7076 | ||
2102b1e1 NF |
7077 | 2011-05-03 Nathan Froyd <froydnj@codesourcery.com> |
7078 | ||
7079 | * config/bfin/bfin.c (bfin_init_builtins): Call | |
7080 | build_function_type_list instead of build_function_type. | |
7081 | ||
9f111209 SH |
7082 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
7083 | ||
7084 | From Bernd Schmidt | |
7085 | * config/bfin/bfin.md (rotrsi, rotlsi): Don't take INTVAL of anything | |
7086 | that's not CONST_INT. Seemingly redundant check is due to PR39768. | |
7087 | ||
7071d064 SH |
7088 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
7089 | ||
7090 | From Jie Zhang: | |
7091 | * config/bfin/uclinux.h (LINK_GCC_C_SEQUENCE_SPEC): Make sure | |
7092 | libbffastfp overrides libgcc when -mfast-fp. | |
7093 | ||
748f7574 | 7094 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
44fb48ef SH |
7095 | |
7096 | Originally from Bernd Schmidt | |
7097 | * config/bfin/uclinux.h (SUBTARGET_FDPIC_NOT_SUPPORTED): New macro. | |
7098 | * config/bfin/bfin.c (override_options): Test it and error if | |
7099 | TARGET_FDPIC. | |
7100 | ||
1a3a9152 SH |
7101 | 2011-05-03 Stuart Henderson <shenders@gcc.gnu.org> |
7102 | ||
7103 | Originally From Bernd Schmidt | |
7104 | * config/bfin/bfin.c (override_options): Disable -fstack-limit for | |
7105 | FD-PIC. | |
7106 | ||
7134c090 JL |
7107 | 2011-05-03 Jeff Law <law@redhat.com> |
7108 | ||
7109 | * tree-ssa-threadupdate.c (THREAD_TARGET): define. | |
7110 | (remove_ctrl_stmt_and_useless_edges): Clear AUX field of outgoing edges. | |
7111 | (craete_edge_and_update_destination_phis): Use THREAD_TARGET rather | |
b70fce6d UB |
7112 | than accessing AUX field directly. Free the AUX field before |
7113 | clearing it. | |
7134c090 JL |
7114 | (thread_block, thread_through_loop_header): Likewise. |
7115 | (thread_single_edge, mark_threaded_blocks): Likewise. | |
7116 | (redirect_edges): Delay clearing the AUX field. Free the AUX field. | |
7117 | (register_jump_thread): Do not attempt to thread to a NULL edge. | |
b70fce6d | 7118 | |
2c7eebae BS |
7119 | 2011-05-03 Bernd Schmidt <bernds@codesourcery.com> |
7120 | ||
7121 | * function.c (init_function_start): Call decide_function_section. | |
7122 | * varasm.c (decide_function_section): New function. | |
7123 | (assemble_start_function): When not using | |
7124 | flag_reorder_blocks_and_partition, don't compute in_cold_section_p | |
7125 | or first_function_block_is_cold. | |
7126 | * rtl.h (decide_function_section): Declare. | |
7127 | ||
17038fcf JJ |
7128 | 2011-05-03 Uros Bizjak <ubizjak@gmail.com> |
7129 | Jakub Jelinek <jakub@redhat.com> | |
7130 | ||
7131 | PR target/48774 | |
7132 | * config/i386/i386.c (ix86_match_ccmode): For CC{A,C,O,S}mode | |
7133 | only succeed if req_mode is the same as set_mode. | |
7134 | ||
3810076b BS |
7135 | 2011-05-03 Bernd Schmidt <bernds@codesourcery.com> |
7136 | ||
7137 | * gengenrtl.c (special_rtx): PC, CC0 and RETURN are special. | |
7138 | * genemit.c (gen_exp): Handle RETURN. | |
7139 | * emit-rtl.c (verify_rtx_sharing): Likewise. | |
7140 | (init_emit_regs): Create pc_rtx, ret_rtx and cc0_rtx specially. | |
7141 | * rtl.c (copy_rtx): RETURN is shared. | |
7142 | * rtl.h (enum global_rtl_index): Add GR_RETURN. | |
7143 | (ret_rtx): New. | |
7144 | * jump.c (redirect_exp_1): Don't use gen_rtx_RETURN. | |
7145 | * config/s390/s390.c (s390_emit_epilogue): Likewise. | |
7146 | * config/rx/rx.c (gen_rx_rtsd_vector): Likewise. | |
7147 | * config/cris/cris.c (cris_expand_return): Likewise. | |
7148 | * config/m68k/m68k.c (m68k_expand_epilogue): Likewise. | |
7149 | * config/rs6000/rs6000.c (rs6000_make_savres_rtx, | |
7150 | rs6000_emit_epilogue, rs6000_output_mi_thunk): Likewise. | |
7151 | * config/picochip/picochip.c (picochip_expand_epilogue): Likewise. | |
7152 | * config/h8300/h8300.c (h8300_push_pop, h8300_expand_epilogue): | |
7153 | Likewise. | |
7154 | * config/v850/v850.c (expand_epilogue): Likewise. | |
7155 | * config/bfin/bfin.c (bfin_expand_call): Likewise. | |
7156 | * config/arm/arm.md (epilogue): Likewise. | |
7157 | * config/mn10300/mn10300.c (mn10300_expand_epilogue): Likewise. | |
7158 | * config/sparc/sparc.c (sparc_struct_value_rtx): Rename ret_rtx | |
7159 | variable to ret_reg. | |
7160 | ||
9efdb4ad RG |
7161 | 2011-05-03 Richard Guenther <rguenther@suse.de> |
7162 | ||
7163 | PR lto/48846 | |
7164 | * lto-streamer-in.c (unpack_ts_decl_common_value_fields): | |
7165 | Stream decl_common.off_align instead of the derived DECL_OFFSET_ALIGN. | |
7166 | * lto-streamer-out.c (pack_ts_decl_common_value_fields): Likewise. | |
7167 | ||
60a45536 RG |
7168 | 2011-05-03 Richard Guenther <rguenther@suse.de> |
7169 | ||
7170 | * c-decl.c (grokdeclarator): Instead of looking at | |
7171 | TREE_OVERFLOW check if the constant fits in the index type. | |
7172 | ||
3188ed59 RS |
7173 | 2011-05-03 Richard Sandiford <richard.sandiford@linaro.org> |
7174 | ||
7175 | * config/arm/neon.md (vec_load_lanes<mode><mode>): New expanders, | |
7176 | (vec_store_lanes<mode><mode>): Likewise. | |
7177 | ||
272c6793 RS |
7178 | 2011-05-03 Richard Sandiford <richard.sandiford@linaro.org> |
7179 | ||
7180 | * doc/md.texi (vec_load_lanes, vec_store_lanes): Document. | |
7181 | * optabs.h (COI_vec_load_lanes, COI_vec_store_lanes): New | |
7182 | convert_optab_index values. | |
7183 | (vec_load_lanes_optab, vec_store_lanes_optab): New convert optabs. | |
7184 | * genopinit.c (optabs): Initialize the new optabs. | |
7185 | * internal-fn.def (LOAD_LANES, STORE_LANES): New internal functions. | |
7186 | * internal-fn.c (get_multi_vector_move, expand_LOAD_LANES) | |
7187 | (expand_STORE_LANES): New functions. | |
7188 | * tree.h (build_array_type_nelts): Declare. | |
7189 | * tree.c (build_array_type_nelts): New function. | |
7190 | * tree-vectorizer.h (vect_model_store_cost): Add a bool argument. | |
7191 | (vect_model_load_cost): Likewise. | |
7192 | (vect_store_lanes_supported, vect_load_lanes_supported) | |
7193 | (vect_record_strided_load_vectors): Declare. | |
7194 | * tree-vect-data-refs.c (vect_lanes_optab_supported_p) | |
7195 | (vect_store_lanes_supported, vect_load_lanes_supported): New functions. | |
7196 | (vect_transform_strided_load): Split out statement recording into... | |
7197 | (vect_record_strided_load_vectors): ...this new function. | |
7198 | * tree-vect-stmts.c (create_vector_array, read_vector_array) | |
7199 | (write_vector_array, create_array_ref): New functions. | |
7200 | (vect_model_store_cost): Add store_lanes_p argument. | |
7201 | (vect_model_load_cost): Add load_lanes_p argument. | |
7202 | (vectorizable_store): Try to use store-lanes functions for | |
7203 | interleaved stores. | |
7204 | (vectorizable_load): Likewise load-lanes and loads. | |
7205 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Update call | |
7206 | to vect_model_store_cost. | |
7207 | (vect_build_slp_tree): Likewise vect_model_load_cost. | |
7208 | ||
0f6d54f7 RS |
7209 | 2011-05-03 Richard Sandiford <richard.sandiford@linaro.org> |
7210 | ||
7211 | * hooks.h (hook_bool_mode_uhwi_false): Declare. | |
7212 | * hooks.c (hook_bool_mode_uhwi_false): New function. | |
7213 | * target.def (array_mode_supported_p): New hook. | |
7214 | * doc/tm.texi.in (TARGET_ARRAY_MODE_SUPPORTED_P): Add @hook. | |
7215 | * doc/tm.texi: Regenerate. | |
7216 | * stor-layout.c (mode_for_array): New function. | |
7217 | (layout_type): Use it. | |
7218 | * config/arm/arm.c (arm_array_mode_supported_p): New function. | |
7219 | (TARGET_ARRAY_MODE_SUPPORTED_P): Define. | |
7220 | ||
b15eacc7 EB |
7221 | 2011-05-03 Eric Botcazou <ebotcazou@adacore.com> |
7222 | ||
7223 | PR target/48723 | |
7224 | * config/i386/i386.c (ix86_expand_prologue): Do not probe the stack | |
7225 | for -fstack-check if the size to allocate is negative. | |
7226 | ||
575bfb00 LC |
7227 | 2011-05-02 Lawrence Crowl <crowl@google.com> |
7228 | ||
7229 | * timevar.h (timevar_cond_start): Remove unused POP_TIMEVAR_AND_RETURN. | |
7230 | (timevar_cond_start): New for starting a timer only when it is not | |
7231 | already running. | |
7232 | (timevar_cond_stop): New for stopping a timer when it was not already | |
7233 | running. | |
7234 | ||
7235 | * timevar.c (timevar_stop): Enable start/stop timers to start again. | |
7236 | (timevar_cond_start): New as above. | |
7237 | (timevar_cond_stop): New as above. | |
7238 | ||
7239 | * timevar.def: Add start/stop timers for compiler phases, | |
7240 | TV_PHASE_SETUP, TV_PHASE_PARSING, TV_PHASE_DEFERRED, TV_PHASE_CGRAPH, | |
7241 | TV_PHASE_DBGINFO (C), TV_PHASE_CHECK_DBGINFO (C++), TV_PHASE_GENERATE, | |
7242 | and TV_PHASE_FINALIZE. | |
7243 | Change push/pop timer TV_PARSE to TV_PARSE_GLOBAL. | |
7244 | Add push/pop timers TV_PARSE_STRUCT, TV_PARSE_ENUM, TV_PARSE_FUNC, | |
7245 | TV_PARSE_INLINE, TV_PARSE_INMETH, TV_TEMPLATE_INST. | |
7246 | Change push/pop timer TV_NAME_LOOKUP into a start/stop timer. | |
7247 | Make unused TV_OVERLOAD into a start/stop timer. | |
7248 | ||
7249 | Remove unused timers TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION. | |
7250 | Mark the strings for TV_NAME_LOOKUP and TV_OVERLOAD with a "|" | |
7251 | to indicate that they are start/stop timers. | |
7252 | ||
7253 | * toplev.c (compile_file): Change TV_PARSE to TV_PARSE_GLOBAL. | |
7254 | Add start/stop timers TV_PHASE_PARSING and TV_PHASE_GENERATE. | |
7255 | Move initialization to do_compile. | |
7256 | (do_compile): Add initialization from above. | |
7257 | Add start/stop timers TV_PHASE_SETUP and TV_PHASE_FINALIZE. | |
7258 | ||
7259 | * c-decl.c (c_write_global_declarations): Add start/stop of | |
7260 | TV_PHASE_DEFERRED, TV_PHASE_CGRAPH, TV_PHASE_DBGINFO. | |
7261 | ||
7262 | * c-parser.c (c_parser_declaration_or_fndef): Push/pop TV_PARSE_FUNC | |
7263 | or TV_PARSE_INLINE, as appropriate. | |
7264 | (c_parser_enum_specifier): Push/pop TV_PARSE_ENUM. | |
7265 | (c_parser_struct_or_union_specifier): Push/pop TV_PARSE_STRUCT. | |
7266 | ||
3533b943 JM |
7267 | 2011-05-02 Jason Merrill <jason@redhat.com> |
7268 | ||
7269 | PR c++/40975 | |
7270 | * tree-inline.c (copy_tree_r): Handle STATEMENT_LIST. | |
7271 | ||
2609a0ce SM |
7272 | 2011-05-02 Simon Martin <simartin@users.sourceforge.net> |
7273 | ||
7274 | PR c/35445 | |
7275 | * c-decl.c (finish_decl): Only create a composite if the types are | |
7276 | compatible. | |
7277 | ||
6b0e4cbb JM |
7278 | 2011-05-02 Joseph Myers <joseph@codesourcery.com> |
7279 | ||
7280 | * config/fr30/fr30-protos.h (Mmode): Don't define. | |
7281 | * config/m32r/m32r-protos.h (Mmode): Don't define. Expand | |
7282 | definition where used. | |
7283 | * config/mn10300/mn10300-protos.h (Mmode, Cstar, Rclas): Don't | |
7284 | define. Expand definitions where used. | |
7285 | * config/rx/rx-protos.h (Mmode, Fargs, Rcode): Don't define. | |
7286 | Expand definitions where used. | |
7287 | * config/rx/rx.c (rx_is_legitimate_address, rx_function_arg_size, | |
7288 | rx_function_arg, rx_function_arg_advance, | |
7289 | rx_function_arg_boundary): Expand definitions of those macros. | |
7290 | * config/v850/v850-protos.h (Mmode): Don't define. Expand | |
7291 | definition where used. | |
7292 | ||
4e938ce6 UB |
7293 | 2011-05-02 Uros Bizjak <ubizjak@gmail.com> |
7294 | ||
7295 | * config/i386/mmx.md (*mov<mode>_internal_rex64): Use %vmovq for | |
7296 | reg<->xmm moves. | |
7297 | (*mov<mode>_internal): Merge with *mov<mode>_internal_avx. | |
7298 | (*movv2sf_internal_rex64): Use %vmovq for reg<->xmm moves. Merge | |
7299 | with *movv2sf_internal_rex64_avx. | |
7300 | (*movv2sf_internal): Merge with *movv2sf_internal_avx. | |
7301 | * config/i386/i386.md (*movdi_internal_rex64) <TYPE_SSEMOV>: | |
7302 | Use %v prefix in insn mnemonic to handle TARGET_AVX. | |
7303 | (*movdi_internal): Add "isa" attribute. Use "maybe_vex" instead of | |
7304 | "vex" in "prefix" attribute calculation. | |
7305 | (*movdf_internal): Output AVX mnemonics. Add "prefix" attribute. | |
7306 | ||
36019c19 SH |
7307 | 2011-05-02 Stuart Henderson <shenders@gcc.gnu.org> |
7308 | ||
7a2f7208 UB |
7309 | PR target/47951 |
7310 | * config/bfin/bfin.md (loop_end): Use matching constraints to ensure | |
7311 | inputs match the output. | |
36019c19 | 7312 | |
f69ea688 AS |
7313 | 2011-05-02 Andreas Schwab <schwab@linux-m68k.org> |
7314 | ||
7315 | PR target/47955 | |
7316 | * config/m68k/m68k.c (m68k_expand_prologue): Set | |
7317 | current_function_static_stack_size. | |
7318 | ||
c33406f5 JH |
7319 | 2011-05-02 Jan Hubicka <jh@suse.cz> |
7320 | ||
7321 | * lto-streamer.c (lto_streamer_cache_insert_1, | |
7322 | lto_streamer_cache_lookup, lto_streamer_cache_create, | |
7323 | lto_streamer_cache_delete): Use pointer map instead of hashtable. | |
7324 | * lto-streamer.h (lto_streamer_cache_d): Turn node_map into pointer_map. | |
7325 | ||
47c94d21 JM |
7326 | 2011-05-02 Joseph Myers <joseph@codesourcery.com> |
7327 | ||
7328 | * config/m68k/genopt.sh, config/m68k/m68k-isas.def, | |
7329 | config/m68k/m68k-microarchs.def, config/m68k/m68k-opts.h, | |
7330 | config/m68k/t-opts: New files. | |
7331 | * config/m68k/m68k-tables.opt: New file (generated). | |
7332 | * config.gcc (fido-*-*, m68k-*-*): Add m68k/m68k-tables.opt to | |
7333 | extra_options and m68k/t-opts to tmake_file. | |
7334 | * config/m68k/m68k.c (m68k_library_id_string): More to m68k.opt. | |
7335 | (all_isas): Initialize using m68k-isas.def. | |
7336 | (all_microarchs): Initialize using m68k-microarchs.def. | |
7337 | (m68k_find_selection): Remove. | |
7338 | (m68k_handle_option): Don't assert that global structures are in | |
7339 | use. Use error_at. Access variables via opts pointer. Don't | |
7340 | handle -march=, -mcpu= and -mtune= here. Set gcc_options fields | |
7341 | directly for -m68020-40 and -m68020-60. | |
7342 | (m68k_option_override): Set m68k_arch_entry, m68k_cpu_entry and | |
7343 | m68k_tune_entry here. | |
7344 | * config/m68k/m68k.h (enum uarch_type, enum target_device): Move | |
7345 | to m68k-opts.h. | |
7346 | (m68k_library_id_string): Remove declaration. | |
4e938ce6 | 7347 | * config/m68k/m68k.opt (config/m68k/m68k-opts.h): New HeaderInclude. |
47c94d21 JM |
7348 | (m68k_library_id_string): New Variable. |
7349 | (march=, mcpu=, mtune=): Use Enum and Var. | |
7350 | ||
e562bf36 RG |
7351 | 2011-05-02 Richard Guenther <rguenther@suse.de> |
7352 | ||
7353 | * varasm.c (output_constructor_regular_field): Compute zero-based | |
7354 | index with double-ints. Make sure to ICE instead of producing | |
7355 | wrong code. | |
7356 | * cgraph.c (cgraph_add_thunk): Do not create new tree nodes | |
7357 | in asserts. Properly use a signed type. | |
7358 | ||
6bec6c98 UB |
7359 | 2011-05-02 Uros Bizjak <ubizjak@gmail.com> |
7360 | ||
7361 | * config/i386/sse.md (V): New mode iterator. | |
7362 | (V_128): Rename from SSEMODE. Make V2DF mode conditional on | |
7363 | TARGET_SSE2. | |
7364 | (V_256): Rename from AVX256MODE. | |
7365 | (VF): Make V4SF mode unconditional. Add TARGET_SSE instruction | |
7366 | condition to all users. | |
7367 | (VF1): Ditto. | |
7368 | (VF2): Make V2DF mode unconditional. Add TARGET_SSE2 instruction | |
7369 | condition to all users. | |
7370 | (VF_128): Make V4SF mode unconditional. | |
7371 | (VF_256): Rename from AVX256MODEF2P. | |
7372 | (VI4F_128): Rename from SSEMODE4S. | |
7373 | (VI8F_128): Rename from SSEMODE2D. | |
7374 | (VI4F_256): Rename from AVX256MODE8P. | |
7375 | (VI8F_256): Rename from AVX256MODE4P. | |
7376 | (avxsizesuffix): Add V16HI, V4DI, V8HI and V2DI modes. | |
7377 | (ssescalarmodesuffix): Remove SF and DF modes. | |
7378 | (SSEMODE124): Remove. | |
7379 | (SSEMODE1248): Ditto. | |
7380 | (SSEMODEF2P): Ditto. | |
7381 | (AVXMODEF2P): Ditto. | |
7382 | (AVXMODEFDP): Ditto. | |
7383 | (AVXMODEFSP): Ditto. | |
7384 | (VEC_EXTRACT_MODE): Make V16QI, V8HI, V4SI, V2DI, V4SF and V2DF modes | |
7385 | unconditional. | |
7386 | (VEC_EXTRACT_EVENODD_MODE): Rename from SSEMODE_EO. Make V4SF mode | |
7387 | unconditional. | |
7388 | (xop_pcmov_<mode><avxsizesuffix>): Merge from xop_pcmov_<mode> and | |
7389 | xop_pcmov_<mode>256. Use V mode iterator. | |
7390 | ||
7391 | Adjust RTX patterns globally for renamed mode attributes. | |
7392 | ||
2dfdcb4b UW |
7393 | 2011-05-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
7394 | ||
7395 | * haifa-sched.c (sched_emit_insn): Emit insn before first | |
7396 | non-scheduled insn. Inform back-end about new insn. Add | |
7397 | new insn to scheduled_insns list. | |
7398 | ||
90bc4623 RG |
7399 | 2011-05-02 Richard Guenther <rguenther@suse.de> |
7400 | ||
7401 | PR tree-optimization/48822 | |
7402 | * tree-ssa-sccvn.c (set_ssa_val_to): Never go up the lattice. | |
7403 | (process_scc): Indicate which iteration we start. | |
7404 | ||
bc0fe8cb JH |
7405 | 2011-05-02 Jan Hubicka <jh@suse.cz> |
7406 | ||
7407 | * lto-section-in.c (lto_input_1_unsigned): Move to lto-streamer.h | |
7408 | (lto_section_overrun): New. | |
7409 | * lto-section-out.c (append_block): Rename to ... | |
7410 | (lto_append_block): ... this one; export. | |
7411 | (lto_output_1_stream): Move lto lto-streamer.h | |
7412 | (lto_output_data_stream): Update. | |
7413 | * lto-streamer.h (lto_section_overrun, lto_append_block): Declare. | |
7414 | (lto_output_1_stream, lto_input_1_unsigned): Turn into inline | |
7415 | functions. | |
7416 | ||
f070a9d1 RG |
7417 | 2011-05-02 Richard Guenther <rguenther@suse.de> |
7418 | ||
7419 | * tree.c (tree_code_counts): New global array. | |
7420 | (record_node_allocation_statistics): Count individual tree codes. | |
7421 | (dump_tree_statistics): Dump individual code stats. | |
7422 | ||
09dfe187 JH |
7423 | 2011-05-01 Jan Hubicka <jh@suse.cz> |
7424 | ||
7425 | * ipa-inline.c (caller_growth_limits): Fix thinko when | |
7426 | looking for largest stack frame. | |
7427 | * ipa-inline.h (dump_inline_summary): Declare. | |
7428 | * ipa-inline-analysis.c (dump_inline_edge_summary): Dump info | |
7429 | on stack usage. | |
7430 | (dump_inline_summary): Export. | |
7431 | (debug_inline_summary): Declare as DEBUG_FUNCTION. | |
7432 | ||
6f76a878 AS |
7433 | 2011-05-01 Anatoly Sokolov <aesok@post.ru> |
7434 | ||
7435 | * reginfo.c (memory_move_cost): Change rclass argument type form | |
7436 | 'enum reg_class' to reg_class_t. | |
7437 | * reload.h (memory_move_cost): Update prototype. | |
7438 | * postreload.c reload_cse_simplify_set): Change type dclass var to | |
7439 | reg_class_t. | |
7440 | * ira-int.h (ira_allocate_cost_vector, ira_free_cost_vector): | |
7441 | Update prototype. | |
7442 | (ira_allocate_and_set_costs): Change aclass argument type form | |
7443 | 'enum reg_class' to reg_class_t. | |
6bec6c98 | 7444 | * ira-build.c (ira_allocate_cost_vector, ira_free_cost_vector): |
6f76a878 AS |
7445 | Change aclass argument type to reg_class_t. |
7446 | (update_conflict_hard_reg_costs): Change type aclass and pref vars | |
7447 | to reg_class_t. | |
7448 | * gcc/ira.c (setup_class_subset_and_memory_move_costs): Adjust | |
7449 | memory_move_cost call. | |
7450 | ||
7451 | * config/ia64/ia64.c (ia64_register_move_cost): Remove 'from' and | |
7452 | 'to' local var. Rename from_i and to_i arguments to 'from' and 'to'. | |
7453 | Change type tmp var to reg_class_t. | |
7454 | ||
9a4ac625 JH |
7455 | 2011-04-30 Jan Hubicka <jh@suse.cz> |
7456 | ||
7457 | * ipa-inline.c (can_inline_edge_p): Disregard limits when | |
7458 | inlining into function with flatten attribute. | |
7459 | (want_inline_small_function_p): Be more realistic about inlining | |
7460 | cold calls where callee size grows. | |
7461 | ||
dd8352ee JH |
7462 | 2011-04-30 Jan Hubicka <jh@suse.cz> |
7463 | ||
7464 | * cgraph.c (cgraph_create_virtual_clone): Clear constructor/destructor | |
7465 | flags. | |
7466 | ||
46e43d2b AS |
7467 | 2011-04-30 Anatoly Sokolov <aesok@post.ru> |
7468 | ||
7469 | * config/sparc/sparc.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS, | |
7470 | PRINT_OPERAND_PUNCT_VALID_P): Remove. | |
7471 | * config/sparc/sparc-protos.h (print_operand): Remove declaration. | |
7472 | * config/sparc/sparc.c (TARGET_PRINT_OPERAND_PUNCT_VALID_P, | |
7473 | TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
7474 | (print_operand): Rename to... | |
7475 | (sparc_print_operand): ...this. Make static. Adjust | |
7476 | sparc_print_operand function call. | |
7477 | (sparc_print_operand_punct_valid_p, sparc_print_operand_address): New | |
7478 | functions. | |
7479 | ||
ecb62563 JH |
7480 | 2011-04-30 Jan Hubicka <jh@suse.cz> |
7481 | ||
6bec6c98 | 7482 | PR middle-end/48752 |
ecb62563 JH |
7483 | * ipa-inline.c (early_inliner): Disable when doing late |
7484 | addition of function. | |
7485 | ||
edb9b69e JJ |
7486 | 2011-04-30 Jakub Jelinek <jakub@redhat.com> |
7487 | ||
be80a87e JJ |
7488 | * dwarf2out.c (get_address_mode): New inline. |
7489 | (mem_loc_descriptor): Add MEM_MODE parameter, adjust recursive calls, | |
7490 | if not dwarf_strict emit | |
7491 | DW_OP_GNU_{{const,regval,deref}_type,convert,reinterpret} when | |
7492 | desirable. Handle FLOAT_EXTEND, FLOAT_TRUNCATE, FLOAT, | |
7493 | UNSIGNED_FLOAT, FIX and UNSIGNED_FIX. Just return NULL for | |
7494 | FMA, STRICT_LOW_PART, CONST_VECTOR and CONST_FIXED. | |
7495 | (dwarf2out_frame_debug_cfa_expression, reg_loc_descriptor, | |
7496 | dw_loc_list_1, cst_pool_loc_descr, loc_list_from_tree): Adjust | |
7497 | mem_loc_descriptor callers. | |
7498 | (dwarf_stack_op_name, size_of_loc_descr, output_loc_operands, | |
7499 | output_loc_operands_raw, hash_loc_operands, compare_loc_operands): | |
7500 | Handle DW_OP_GNU_const_type, DW_OP_GNU_regval_type, | |
7501 | DW_OP_GNU_deref_type, DW_OP_GNU_convert and DW_OP_GNU_reinterpret. | |
7502 | (base_types): New variable. | |
7503 | (get_base_type_offset, calc_base_type_die_sizes, | |
7504 | base_type_for_mode, mark_base_types, base_type_cmp, | |
7505 | move_marked_base_types): New functions. | |
7506 | (calc_die_sizes): Assert that die_offset is 0 or equal to | |
7507 | next_die_offset. | |
7508 | (loc_descriptor): Only handle here lowpart SUBREGs of REG, for | |
7509 | others defer to mem_loc_descriptor. Adjust mem_loc_descriptor | |
7510 | callers. If not dwarf_strict, call mem_loc_descriptor even for | |
7511 | non-MODE_INT modes or MODE_INT modes larger than DWARF2_ADDR_SIZE. | |
7512 | (gen_subprogram_die): Don't give up on call site parameters | |
7513 | with non-integral or large integral modes. Adjust | |
7514 | mem_loc_descriptor callers. | |
7515 | (prune_unused_types): Call prune_unused_types_mark on base_types | |
7516 | vector entries. | |
7517 | (resolve_addr): Call mark_base_types. | |
7518 | (dwarf2out_finish): Call move_marked_base_types. | |
7519 | ||
edb9b69e JJ |
7520 | PR tree-optimization/48809 |
7521 | * tree-switch-conversion.c (build_arrays): Compute tidx in unsigned | |
7522 | type. | |
7523 | (gen_inbound_check): Don't compute index_expr - range_min in utype | |
7524 | again, instead reuse SSA_NAME initialized in build_arrays. | |
7525 | Remove two useless gsi_for_stmt calls. | |
7526 | ||
a6545a3d JL |
7527 | 2011-04-29 Jeff Law <law@redhat.com> |
7528 | ||
7529 | * tree-ssa-threadedge.c (thread_across_edge): Add missing return. | |
7530 | ||
af8bca3c MJ |
7531 | 2011-04-29 Martin Jambor <mjambor@suse.cz> |
7532 | ||
7533 | * cgraph.h (cgraph_postorder): Remove declaration. | |
7534 | * ipa-utils.h (ipa_free_postorder_info): Declare. | |
7535 | (ipa_reverse_postorder): Likewise. | |
7536 | * cgraphunit.c: Include ipa-utils.h. | |
7537 | (cgraph_expand_all_functions): Update call to ipa_reverse_postorder. | |
7538 | * ipa-inline.c: Include ipa-utils.h. | |
7539 | (ipa_inline): Update call to ipa_reverse_postorder. | |
7540 | * ipa-pure-const.c (propagate_pure_const): Update call to | |
7541 | ipa_reduced_postorder and ipa_print_order. Call | |
7542 | ipa_free_postorder_info to clean up. | |
7543 | (propagate_nothrow): Likewise. | |
7544 | * ipa-reference.c (propagate): Removed a useless call to | |
7545 | ipa_utils_reduced_inorder, updated a call to ipa_reduced_postorder | |
7546 | and ipa_print_order. Call ipa_free_postorder_info to clean up. | |
7547 | * ipa.c: Include ipa-utils.h. | |
7548 | (ipa_profile): Update call to ipa_reverse_postorder. | |
7549 | (cgraph_postorder): Moved to... | |
7550 | * ipa-utils.c (ipa_reverse_postorder): ...here and renamed. | |
7551 | (ipa_utils_print_order): Renamed to ipa_print_order. | |
7552 | (ipa_utils_reduced_inorder): Renamed to ipa_reduced_postorder. Updated | |
7553 | comments. | |
7554 | (ipa_free_postorder_info): New function. | |
7555 | * passes.c: Include ipa-utils.h. | |
7556 | (do_per_function_toporder): Update call to ipa_reverse_postorder. | |
7557 | (ipa_write_summaries): Likewise. | |
7558 | * Makefile.in (passes.o): Add IPA_UTILS_H to dependencies. | |
7559 | (cgraphunit.o): Likewise. | |
7560 | (ipa.o): Likewise. | |
7561 | (ipa-inline.o): Likewise. | |
7562 | ||
b15c64ee JH |
7563 | 2011-04-29 Jan Hubicka <jh@suse.cz> |
7564 | ||
7565 | * gcc.dg/tree-ssa/inline-10.c: New testcase. | |
7566 | * gcc.dg/tree-ssa/inline-9.c: Disable partial inlining. | |
7567 | * ipa-inline.h (clause_t): Turn into unsigned int. | |
7568 | * ipa-inline-analysis.c (add_clause): Do more simplification. | |
7569 | (and_predicates): Shortcut more cases. | |
7570 | (predicates_equal_p): Move forward; check that clauses are properly | |
7571 | ordered. | |
7572 | (or_predicates): Shortcut more cases. | |
7573 | (edge_execution_predicate): Rewrite as... | |
7574 | (set_cond_stmt_execution_predicate): ... this function; handle | |
7575 | __builtin_constant_p. | |
7576 | (set_switch_stmt_execution_predicate): New . | |
7577 | (compute_bb_predicates): New. | |
7578 | (will_be_nonconstant_predicate): Update TODO. | |
7579 | (estimate_function_body_sizes): Use compute_bb_predicates | |
7580 | and free them later, always try to estimate if stmt is constant. | |
7581 | (estimate_time_after_inlining, estimate_size_after_inlining): | |
7582 | Gracefully handle optimized out edges. | |
7583 | (read_predicate): Fix off by one error. | |
7584 | ||
a88fdc2a NP |
7585 | 2011-04-29 Nicola Pero <nicola.pero@meta-innovation.com> |
7586 | ||
7587 | * Makefile.in (ENABLE_MAINTAINER_RULES): New. | |
7588 | ||
d984c8ef XDL |
7589 | 2011-04-27 Xinliang David Li <davidxl@google.com> |
7590 | ||
7591 | * tree-profile.c (init_ic_make_global_vars): Set | |
7592 | tls attribute on ic vars. | |
7593 | * coverage.c (coverage_end_function): Initialize | |
7594 | function_list with zero. | |
7595 | ||
45a2c477 RG |
7596 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
7597 | ||
7598 | * builtins.c (fold_builtin_classify_type): Use integer_type_node | |
7599 | for the type of the result. | |
7600 | (fold_builtin_isascii): Likewise. | |
7601 | (fold_builtin_toascii): Use integer_type_node where appropriate. | |
7602 | (fold_builtin_logb): Likewise. | |
7603 | (fold_builtin_frexp): Likewise. | |
7604 | (fold_builtin_strstr): Likewise. | |
7605 | (fold_builtin_strpbrk): Likewise. | |
7606 | (fold_builtin_fputs): Likewise. | |
7607 | (fold_builtin_sprintf): Likewise. | |
7608 | (fold_builtin_snprintf): Likewise. | |
7609 | (fold_builtin_printf): Likewise. | |
7610 | (do_mpfr_remquo): Use a proper type for the assigned constant. | |
7611 | (do_mpfr_lgamma_r): Likewise. | |
7612 | * dwarf2out.c (resolve_one_addr): Use size_int. | |
7613 | * except.c (init_eh): Likewise. | |
7614 | (assign_filter_values): Use integer_type_node for filter values. | |
7615 | (sjlj_emit_dispatch_table): Use integer_type_node for dispatch | |
7616 | indices. | |
7617 | * tree-cfg.c (move_stmt_eh_region_tree_nr): Use integer_type_node | |
7618 | for EH region numbers. | |
7619 | * tree-vrp.c (simplify_div_or_mod_using_ranges): Use integer_type_node | |
7620 | for the shift amount. | |
7621 | ||
eb6c3df1 RG |
7622 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
7623 | ||
7624 | * expr.h (expand_shift): Rename to ... | |
7625 | (expand_variable_shift): ... this. | |
7626 | (expand_shift): Take a constant shift amount. | |
7627 | * expmed.c (expand_shift): Rename to ... | |
7628 | (expand_variable_shift): ... this. | |
7629 | (expand_shift): New wrapper around expand_variable_shift. | |
7630 | * expr.c (convert_move, emit_group_load_1, emit_group_store, | |
7631 | optimize_bitfield_assignment_op, store_field, expand_expr_real_2, | |
7632 | expand_expr_real_1, reduce_to_bit_field_precision): Adjust. | |
7633 | * expmed.c (store_fixed_bit_field, extract_bit_field_1, | |
7634 | extract_fixed_bit_field, extract_split_bit_field, expand_mult_const, | |
7635 | expand_mult, expand_widening_mult, expand_mult_highpart_adjust, | |
7636 | extract_high_half, expand_sdiv_pow2, expand_divmod, emit_cstore, | |
7637 | emit_store_flag_1, emit_store_flag): Likewise. | |
7638 | * builtins.c (expand_builtin_signbit): Likewise. | |
7639 | * calls.c (load_register_parameters): Likewise. | |
7640 | * function.c (assign_parm_setup_block): Likewise. | |
7641 | * lower-subreg.c (resolve_shift_zext): Likewise. | |
7642 | * optabs.c (widen_bswap, expand_abs_nojump, | |
7643 | expand_one_cmpl_abs_nojump, expand_float): Likewise. | |
7644 | * spu/spu.c (spu_expand_extv): Likewise. | |
7645 | * sparc/sparc.c (sparc32_initialize_trampoline): Likewise. | |
7646 | ||
9f616812 RG |
7647 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
7648 | ||
7649 | * tree-inline.c (remap_eh_region_tree_nr): Use integer_type_node | |
7650 | for the remapped region number. | |
7651 | * predict.c (build_predict_expr): Use integer_type_node for the | |
7652 | predict kind. | |
7653 | * fold-const.c (fold_binary_loc): Use integer_type_node for | |
7654 | the shift amount. Use a proper type for the PLUS_EXPR operand. | |
7655 | ||
b823cdfe MM |
7656 | 2011-04-29 Michael Matz <matz@suse.de> |
7657 | ||
7658 | * lto-streamer.c (lto_streamer_cache_insert_1): Accept to override | |
7659 | other trees that just builtins. | |
7660 | (lto_record_common_node): Don't leave NULL TYPE_CANONICAL. | |
7661 | ||
413581ba RG |
7662 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
7663 | ||
7664 | * tree-nested.c (get_trampoline_type): Use size_int. | |
7665 | (get_nl_goto_field): Likewise. | |
7666 | * tree-eh.c (lower_try_finally_switch): Use integer_type_node | |
7667 | for all indexes. | |
7668 | (lower_eh_constructs_2): Likewise. | |
7669 | (lower_resx): Likewise. | |
7670 | (lower_eh_dispatch): Likewise. | |
7671 | * tree-mudflap.c (mf_build_string): Use size_int. | |
7672 | (mudflap_register_call): Use integer_type_node for the flag. | |
7673 | (mudflap_enqueue_constant): Use size_int. | |
7674 | * tree-chrec.c (reset_evolution_in_loop): Copy CHREC_VAR | |
7675 | instead of rebuilding it. | |
7676 | ||
5c04e9f4 RG |
7677 | 2011-04-29 Richard Guenther <rguenther@suse.de> |
7678 | ||
7679 | * tree-ssa-structalias.c (get_fi_for_callee): Restructure. | |
7680 | Handle OBJ_TYPE_REF. | |
7681 | (find_func_aliases_for_call): Use it more consistently. | |
7682 | ||
5c24671b AO |
7683 | 2011-04-29 Alexandre Oliva <aoliva@redhat.com> |
7684 | ||
7685 | * haifa-sched.c (last_nondebug_scheduled_insn): New. | |
7686 | (rank_for_schedule): Use it. | |
7687 | (schedule_block): Set it. | |
7688 | ||
10adac51 XDL |
7689 | 2011-04-28 David Li <davidxl@google.com> |
7690 | ||
7691 | * tree.c (crc32_string): Use crc32_byte. | |
7692 | (crc32_byte): New function. | |
7693 | * tree.h (crc32_byte): New function. | |
7694 | * gcov.c (read_graph_file): Handle new cfg_cksum. | |
7695 | (read_count_file): Ditto. | |
7696 | * profile.c (instrument_values): Ditto. | |
7697 | (get_exec_counts): Ditto. | |
7698 | (read_profile_edge_counts): Ditto. | |
7699 | (compute_branch_probabilities): Ditto. | |
7700 | (compute_value_histograms): Ditto. | |
7701 | (branch_prob): Ditto. | |
7702 | (end_branch_prob): Ditto. | |
7703 | * coverage.c (read_counts_file): Ditto. | |
7704 | (get_coverage_counts): Ditto. | |
7705 | (tree_coverage_counter_addr): Ditto. | |
7706 | (coverage_checksum_string): Ditto. | |
7707 | (coverage_begin_output): Ditto. | |
7708 | (coverage_end_function): Ditto. | |
7709 | (build_fn_info_type): Ditto. | |
7710 | (build_fn_info_value): Ditto. | |
7711 | * libgcov.c (gcov_exit): Ditto. | |
7712 | * gcov-dump.c (tag_function): Ditto. | |
7713 | (compute_checksum): Remove. | |
7714 | ||
5d6358a5 AM |
7715 | 2011-04-29 Alan Modra <amodra@gmail.com> |
7716 | ||
7717 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle | |
7718 | unspec plus offset. Tidy macho code. | |
7719 | ||
85ad2ef5 MJ |
7720 | 2011-04-29 Martin Jambor <mjambor@suse.cz> |
7721 | ||
7722 | * cgraphunit.c (cgraph_preserve_function_body_p): Accept a cgraph | |
7723 | node instead of a decl. Update all callers. | |
7724 | * cgraph.h: Update declaration. | |
7725 | ||
437f4a00 IR |
7726 | 2011-04-28 Ira Rosen <ira.rosen@linaro.org> |
7727 | ||
7728 | PR tree-optimization/48765 | |
7729 | * tree-vectorizer.h (vect_make_slp_decision): Return bool. | |
7730 | * tree-vect-loop.c (vect_analyze_loop_operations): Add new argument | |
7731 | to indicate if loop aware SLP is being used. Scan the statements | |
7732 | and update the vectorization factor according to the type of | |
7733 | vectorization before statement analysis. | |
7734 | (vect_analyze_loop_2): Get a return value from vect_make_slp_decision, | |
7735 | pass it to vect_analyze_loop_operations. | |
7736 | (vectorizable_reduction): Set number of copies to 1 in case of pure | |
7737 | SLP statement. | |
7738 | * tree-vect-stmts.c (vectorizable_conversion, | |
7739 | vectorizable_assignment, vectorizable_shift, | |
7740 | vectorizable_operation, vectorizable_type_demotion, | |
7741 | vectorizable_type_promotion, vectorizable_store, vectorizable_load): | |
7742 | Likewise. | |
7743 | (vectorizable_condition): Move the check that it is not SLP | |
7744 | vectorization before the number of copies check. | |
7745 | * tree-vect-slp.c (vect_make_slp_decision): Return TRUE if decided | |
7746 | to vectorize the loop using SLP. | |
7747 | ||
c6fc44f3 JJ |
7748 | 2011-04-28 Jakub Jelinek <jakub@redhat.com> |
7749 | ||
7750 | PR middle-end/48597 | |
7751 | * final.c (final_scan_insn): Call dwarf2out_frame_debug even for | |
7752 | inline asm. | |
7753 | ||
6c0170ea JM |
7754 | 2011-04-28 Joseph Myers <joseph@codesourcery.com> |
7755 | ||
7756 | * config.gcc (*-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | | |
7757 | *-*-kopensolaris*-gnu): Don't define SINGLE_LIBC. | |
7758 | (i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | | |
7759 | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu, | |
7760 | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu): Don't use | |
7761 | linux*.h headers. | |
6bec6c98 | 7762 | * config/gnu-user.h (TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Define. |
6c0170ea JM |
7763 | * config/i386/gnu.h (MD_UNWIND_SUPPORT): Don't undefine. |
7764 | * config/i386/kfreebsd-gnu.h (MD_UNWIND_SUPPORT): Don't undefine. | |
7765 | * config/i386/knetbsd-gnu.h (MD_UNWIND_SUPPORT): Don't undefine. | |
6bec6c98 | 7766 | * config/i386/kopensolaris-gnu.h (MD_UNWIND_SUPPORT): Don't undefine. |
6c0170ea JM |
7767 | * config/i386/linux-unwind.h (x86_fallback_frame_state): Don't use |
7768 | REG_NAME. | |
7769 | * config/i386/linux.h (REG_NAME): Don't define. | |
7770 | * config/i386/linux64.h (REG_NAME): Don't define. | |
7771 | * config/linux.h (TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): | |
7772 | Undefine before defining. | |
7773 | ||
970dabbd JH |
7774 | 2011-04-28 Jan Hubicka <jh@suse.cz> |
7775 | ||
6bec6c98 UB |
7776 | * ipa-inline-analysis.c (will_be_nonconstant_predicate): Take |
7777 | nonconstant_names array. | |
970dabbd JH |
7778 | (estimate_function_body_sizes): Build nonconstant_names array; handle |
7779 | BUILT_IN_CONSTANT_P. | |
7780 | ||
8d3e3924 RG |
7781 | 2011-04-28 Richard Guenther <rguenther@suse.de> |
7782 | ||
7783 | PR bootstrap/48804 | |
7784 | Revert | |
7785 | 2011-04-28 Richard Guenther <rguenther@suse.de> | |
7786 | ||
7787 | * tree-ssa-structalias.c (solve_constraints): Build succ graph | |
7788 | as late as possible. | |
6bec6c98 | 7789 | |
8576f20a RG |
7790 | 2011-04-28 Richard Guenther <rguenther@suse.de> |
7791 | ||
7792 | * tree-ssa-structalias.c (dump_constraint): Don't end the line. | |
7793 | (debug_constraint): Do it here. | |
7794 | (dump_constraints): And here. | |
7795 | (rewrite_constraints): And here. | |
7796 | (dump_constraint_edge): Remove. | |
7797 | (dump_constraint_graph): Rewrite to produce DOT output. | |
7798 | (solve_constraints): Build succ graph as late as possible. | |
7799 | Dump constraint graphs before and after solving. | |
7800 | ||
e38811ce RG |
7801 | 2011-04-28 Richard Guenther <rguenther@suse.de> |
7802 | ||
7803 | * tree-ssa-structalias.c (find_func_aliases_for_builtin_call): | |
7804 | New function split out from ... | |
7805 | (find_func_aliases): ... here. Call it. | |
7806 | (find_func_aliases_for_call): Likewise. | |
7807 | ||
fbaf0d0c GDR |
7808 | 2011-04-27 Gabriel Dos Reis <gdr@integrable-solutions.net> |
7809 | ||
7810 | * internal-fn.h (internal_fn_name_array): Declare. | |
7811 | (internal_fn_flags_array): Likewise. | |
7812 | ||
cbb734aa UB |
7813 | 2011-04-27 Uros Bizjak <ubizjak@gmail.com> |
7814 | ||
7815 | * config/i386/i386.md (ssemodesuffix): Merge with ssevecsize, | |
7816 | ssemodefsuffix, ssescalarmodesuffix and avxmodesuffixp. | |
7817 | Move from sse.md. | |
7818 | (ssemodefsuffix): Remove. | |
7819 | (ssevecmodesuffix): New mode attribute. | |
7820 | (fix_trunc<mode>di_sse, fix_trunc<mode>si_sse, | |
7821 | *float<SSEMODEI24:mode><MODEF:mode>2_mixed_interunit, | |
7822 | *float<SSEMODEI24:mode><MODEF:mode>2_mixed_nointerunit, | |
7823 | *float<SSEMODEI24:mode><MODEF:mode>2_sse_interunit, | |
7824 | *float<SSEMODEI24:mode><MODEF:mode>2_sse_nointerunit, setcc_<mode>_sse, | |
7825 | *sqrt<mode>2_sse, sse4_1_round<mode>2, <smaxmin:code><mode>3, | |
7826 | *ieee_smin<mode>3, *ieee_smax<mode>3): Adjust assembler templates for | |
7827 | ssemodesuffix mode attribute. | |
7828 | (float splitters): Use ssevecmodesuffix mode attribute. | |
7829 | * config/i386/sse.md (ssescalarmode): Merge with avxscalarmode. | |
7830 | (sseinsmode): Rename from avxvecmode. | |
7831 | (avxsizesuffix): Rename from avxmodesuffix. | |
7832 | (sseintvecmode): Rename from avxpermvecmode. | |
7833 | (ssedoublevecmode): Rename from ssedoublesizemode. | |
7834 | (ssehalfvecmode): Rename from avxhalfvecmode. | |
7835 | (ssescalarmode): Rename from avxscalarmode. | |
7836 | (<sse>_comi, <sse>_ucomi, sse4a_movnt<mode>): Adjust assembler | |
7837 | templates for ssemodesuffix mode attribute. | |
7838 | (*andnot<mode>3, *<any_logic:code><mode>3): Use ssevecmodesuffix | |
7839 | mode attribute. | |
7840 | ||
7841 | Adjust RTX patterns globally for renamed mode attributes. | |
7842 | ||
991278ab JH |
7843 | 2011-04-27 Jan Hubcika <jh@suse.cz> |
7844 | ||
7845 | * ipa-inline.h (struct inline_edge_summary): Add predicate pointer. | |
7846 | * ipa-inline-analysis.c: Include alloc-pool.h. | |
7847 | (edge_predicate_pool): New. | |
7848 | (trye_predicate_p): New function | |
7849 | (false_predicate_p): New function. | |
7850 | (add_clause): Sanity check that false clauses are "optimized"; | |
7851 | never add clauses to predicate that is already known to be false. | |
7852 | (and_predicate): Use flase_predicate_p. | |
7853 | (evaulate_predicate): Rename to ... | |
7854 | (evaluate_predicate): ... this one; update all callers; assert | |
7855 | that false is not listed among possible truths. | |
7856 | (dump_predicate): Use true_predicate_p. | |
7857 | (account_size_time): Use false_predicate_p. | |
7858 | (evaulate_conditions_for_edge): Rename to ... | |
7859 | (evaluate_conditions_for_edge) ... this one. | |
7860 | (edge_set_predicate): New function. | |
7861 | (inline_edge_duplication_hook): Duplicate edge predicates. | |
7862 | (inline_edge_removal_hook): Free edge predicates. | |
cbb734aa | 7863 | (dump_inline_edge_summary): Add INFO parameter; dump edge predicates. |
991278ab JH |
7864 | (dump_inline_summary): Update. |
7865 | (estimate_function_body_sizes): Set edge predicates. | |
7866 | (estimate_calls_size_and_time): Handle predicates. | |
7867 | (estimate_callee_size_and_time): Update. | |
7868 | (remap_predicate): Add toplev_predicate; update comment. | |
7869 | (remap_edge_predicates): New function. | |
7870 | (inline_merge_summary): Compute toplev predicate; update. | |
7871 | (read_predicate): New function. | |
7872 | (read_inline_edge_summary): Use it. | |
7873 | (inline_read_section): Likewise. | |
7874 | (write_predicate): New function. | |
7875 | (write_inline_edge_summary): Use it. | |
7876 | (inline_write_summary): Likewise. | |
7877 | (inline_free_summary): Free alloc pool and edge summary vec. | |
7878 | ||
648b5f85 RG |
7879 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
7880 | ||
7881 | * tree-ssa-structalias.c (changed_count): Remove. | |
7882 | (changed): Use a bitmap. | |
7883 | (unify_nodes): Adjust. | |
7884 | (do_sd_constraint): Likewise. | |
7885 | (do_ds_constraint): Likewise. | |
7886 | (do_complex_constraint): Likewise. | |
7887 | (solve_graph): Likewise. | |
7888 | ||
4d5dcfb2 JH |
7889 | 2011-04-27 Jan Hubicka <jh@suse.cz> |
7890 | ||
7891 | * cgraphunit.c (cgraph_process_new_functions): Fix ordering issue. | |
7892 | ||
200eb7d2 UB |
7893 | 2011-04-27 Uros Bizjak <ubizjak@gmail.com> |
7894 | ||
7895 | * config/i386/predicates.md (avx_vpermilp_*_operand): Remove. | |
7896 | (avx_vperm2f128_*_operand): Ditto. | |
7897 | * config/i386/sse.md (*avx_vpermilp<mode>): Remove operand2 predicate. | |
7898 | Use avx_vpermilp_parallel in insn condition. | |
7899 | (*avx_vperm2f128<mode>_nozero): Remove operand3 predicate. | |
7900 | Use avx_vperm2f128_parallel in insn condition. | |
7901 | ||
7d6e2521 RG |
7902 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
7903 | ||
7904 | * Makefile.in (tree-ssa-structalias.o): Remove | |
7905 | gt-tree-ssa-structalias.h dependency. | |
7906 | (GTFILES): Remove tree-ssa-structalias.c. | |
7907 | * tree.c (allocate_decl_uid): New function. | |
7908 | (make_node_stat): Use it. | |
7909 | (copy_node_stat): Likewise. | |
7910 | * tree.h (allocate_decl_uid): Declare. | |
7911 | * tree-ssa-alias.h (delete_alias_heapvars): Remove. | |
7912 | * tree-ssa.c (delete_tree_ssa): Do not call delete_alias_heapvars. | |
7913 | * tree-flow.h (struct var_ann_d): Remove is_heapvar flag. | |
200eb7d2 | 7914 | * tree-ssa-live.c (remove_unused_locals): Do not check is_heapvar flag. |
7d6e2521 RG |
7915 | * tree-ssa-structalias.c (heapvar_for_stmt): Remove. |
7916 | (struct heapvar_map): Likewise. | |
7917 | (heapvar_map_eq, heapvar_map_hash, heapvar_lookup, | |
7918 | heapvar_insert): Likewise. | |
7919 | (make_heapvar_for): Rename to ... | |
7920 | (make_heapvar): ... this. Simplify. | |
7921 | (fake_var_decl_obstack): New global var. | |
7922 | (build_fake_var_decl): New function. | |
7923 | (make_constraint_from_heapvar): Adjust. | |
7924 | (handle_lhs_call): Likewise. | |
7925 | (create_function_info_for): Likewise. | |
7926 | (intra_create_variable_infos): Likewise. | |
7927 | (init_alias_vars): Allocate fake_var_decl_obstack. | |
7928 | (init_alias_heapvars, delete_alias_heapvars): Remove. | |
7929 | (compute_points_to_sets): Do not call init_alias_heapvars. | |
7930 | (ipa_pta_execute): Likewise. | |
7931 | (delete_points_to_sets): Free fake_var_decl_obstack. | |
7932 | ||
526ed6c2 UW |
7933 | 2011-04-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
7934 | ||
7935 | * config/spu/divmovti4.c (union qword_UTItype): New data type. | |
7936 | (si_from_UTItype, si_to_UTItype): New functions. | |
7937 | (__udivmodti4): Use them to implement type-punning. | |
7938 | * config/spu/multi3.c (union qword_TItype): New data type. | |
7939 | (si_from_TItype, si_to_TItype): New functions. | |
7940 | (__multi3): Use them to implement type-punning. | |
7941 | ||
c187d33c UW |
7942 | 2011-04-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
7943 | ||
7944 | * config/spu/spu.c (spu_expand_epilogue): Do not emit barrier. | |
7945 | ||
40982661 JH |
7946 | 2011-04-27 Jan Hubicka <jh@suse.cz> |
7947 | ||
7948 | * ipa-prop.c (function_insertion_hook_holder): New holder. | |
7949 | (ipa_add_new_function): New function. | |
200eb7d2 UB |
7950 | (ipa_register_cgraph_hooks, ipa_unregister_cgraph_hooks): |
7951 | Register/deregister holder. | |
40982661 | 7952 | |
9aef53ee RG |
7953 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
7954 | ||
7955 | PR tree-optimization/48772 | |
200eb7d2 | 7956 | * tree-ssa-pre.c (eliminate): Update call stmts after elimination only. |
9aef53ee | 7957 | |
f63d806d RG |
7958 | 2011-04-27 Richard Guenther <rguenther@suse.de> |
7959 | ||
7960 | * tree-ssa-alias.c (indirect_refs_may_alias_p): Fix | |
7961 | TARGET_MEM_REF handling. | |
7962 | ||
e1ea7451 NC |
7963 | 2011-04-27 Nick Clifton <nickc@redhat.com> |
7964 | ||
9b5db25d NC |
7965 | * config/frv/frv.h (enum reg_class): Delete EVEN_ACC_REGS, |
7966 | ACC_REGS, FEVEN_REGS, FPR_REGS, EVEN_REGS. | |
7967 | (REG_CLASS_NAMES): Likewise. | |
7968 | (REG_CLASS_CONTENTS): Likewise. | |
7969 | (EVEN_ACC_REGS): New macro. Alias for QUAD_ACC_REGS. | |
7970 | (ACC_REGS): New macro. Alias for QUAD_ACC_REGS. | |
7971 | (FEVEN_REGS): New macro. Alias for QUAD_ACC_REGS. | |
7972 | (FPR_REGS): New macro. Alias for QUAD_ACC_REGS. | |
7973 | (EVEN_REGS): New macro. Alias for QUAD_REGS. | |
7974 | * config/frv/frv.c (frv_secondary_reload_class): Remove use of | |
7975 | duplicate register classes. | |
97d20907 | 7976 | (frv_class_likely_spilled_p): Likewise. |
9b5db25d NC |
7977 | (frv_register_move_cost): Likewise. |
7978 | ||
e1ea7451 NC |
7979 | * config/mcore/mcore.h (REGNO_REG_CLASS): Do not index beyond the |
7980 | end of the regno_reg_class array. | |
7981 | ||
5c2f94b4 JJ |
7982 | 2011-04-27 Jakub Jelinek <jakub@redhat.com> |
7983 | ||
7984 | PR c/48742 | |
7985 | * c-typeck.c (build_binary_op): Don't wrap arguments if | |
7986 | int_operands is true. | |
7987 | ||
57a944d7 KK |
7988 | 2011-04-26 Kaz Kojima <kkojima@gcc.gnu.org> |
7989 | ||
7990 | PR target/48767 | |
7991 | * config/sh/sh.c (sh_gimplify_va_arg_expr): Don't call | |
7992 | targetm.calls.must_pass_in_stack for void type. | |
7993 | ||
898b8927 JH |
7994 | 2011-04-26 Jan Hubicka <jh@suse.cz> |
7995 | ||
7996 | * cgraphbuild.c (build_cgraph_edges): Update call | |
7997 | of cgraph_create_edge and cgraph_create_indirect_edge. | |
7998 | * cgraph.c (cgraph_create_edge_including_clones, | |
7999 | cgraph_create_edge_1, cgraph_allocate_init_indirect_info, | |
8000 | cgraph_update_edges_for_call_stmt_node): Do not take nest | |
8001 | argument; do not initialize call_stmt_size/time. | |
8002 | (dump_cgraph_node): Do not dump nest. | |
8003 | (cgraph_clone_edge): Do not take loop_nest argument; | |
8004 | do not propagate it; do not clone call_stmt_size/time. | |
8005 | (cgraph_clone_node): Likewise. | |
8006 | (cgraph_create_virtual_clone): Update. | |
8007 | * cgraph.h (struct cgraph_edge): Remove | |
8008 | call_stmt_size/call_stmt_time/loop_nest. | |
8009 | (cgraph_create_edge, cgraph_create_indirect_edge, | |
8010 | cgraph_create_edge_including_clones, cgraph_clone_node): Update | |
8011 | prototype. | |
8012 | * tree-emutls.c (gen_emutls_addr): Update. | |
8013 | * ipa-inline-transform.c (update_noncloned_frequencies): Do not handle | |
8014 | loop_nest; handle indirect calls, too. | |
8015 | (clone_inlined_nodes): Do not care about updating inline summaries. | |
8016 | * cgraphunit.c (cgraph_copy_node_for_versioning): Update. | |
8017 | * lto-cgraph.c (lto_output_edge, input_node, input_edge): Do not | |
8018 | stream call_stmt_size/call_stmt_time/loop_nest. | |
8019 | * ipa-inline.c (edge_badness): Update. | |
8020 | (ipa_inline): dump summaries after inlining. | |
8021 | * ipa-inline.h (struct inline_edge_summary, inline_edge_summary_t): | |
200eb7d2 | 8022 | New. |
898b8927 JH |
8023 | (inline_edge_summary): New function. |
8024 | * ipa-inline-analysis.c (edge_duplication_hook_holder): New holder. | |
8025 | (inline_edge_removal_hook): Handle edge summaries. | |
8026 | (inline_edge_duplication_hook): New hook. | |
8027 | (inline_summary_alloc): Alloc hooks. | |
8028 | (initialize_growth_caches): Do not register removal hooks. | |
8029 | (free_growth_caches); Do not free removal hook. | |
8030 | (dump_inline_edge_summary): New function. | |
8031 | (dump_inline_summary): Use it. | |
8032 | (estimate_function_body_sizes, estimate_edge_size_and_time): Update. | |
8033 | (inline_update_callee_summaries): New function. | |
8034 | (inline_merge_summary): Use it. | |
8035 | (do_estimate_edge_time, do_estimate_edge_growth): Update. | |
8036 | (read_inline_edge_summary): New function. | |
8037 | (inline_read_section): Use it. | |
8038 | (write_inline_edge_summary): New function. | |
8039 | (inline_write_summary): Use it. | |
8040 | (inline_free_summary): Free edge new holders. | |
8041 | * tree-inline.c (copy_bb): Update. | |
8042 | ||
ffa03772 JM |
8043 | 2011-04-26 Jason Merrill <jason@redhat.com> |
8044 | ||
8045 | * tree-eh.c (lower_try_finally_switch): Create the label along with | |
8046 | the CASE_LABEL_EXPR. | |
8047 | ||
6d7b45ad DM |
8048 | 2011-04-26 David S. Miller <davem@davemloft.net> |
8049 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
8050 | ||
8051 | * configure.ac (gcc_cv_as_sparc_gotdata_op): Specify alignment. | |
8052 | * configure: Regenerate. | |
8053 | ||
df10b6d4 MM |
8054 | 2011-04-26 Michael Meissner <meissner@linux.vnet.ibm.com> |
8055 | ||
8056 | PR target/48258 | |
8057 | * config/rs6000/vector.md (UNSPEC_REDUC): New unspec for vector | |
8058 | reduction. | |
8059 | (VEC_reduc): New code iterator and splitters for vector reduction. | |
8060 | (VEC_reduc_name): Ditto. | |
8061 | (VEC_reduc_rtx): Ditto. | |
8062 | (reduc_<VEC_reduc_name>_v2df): Vector reduction expanders for VSX. | |
8063 | (reduc_<VEC_reduc_name>_v4sf): Ditto. | |
8064 | ||
8065 | * config/rs6000/rs6000.c (rs6000_expand_vector_extract): Add | |
8066 | support for extracting SF on VSX. | |
8067 | ||
8068 | * config/rs6000/vsx.md (vsx_xscvspdp_scalar2): New insn for | |
8069 | generating xscvspdp. | |
8070 | (vsx_extract_v4sf): New insn to extract SF from V4SF vector. | |
8071 | (vsx_reduc_<VEC_reduc_name>_v2df): New insns and splitters for | |
8072 | double add, minimum, maximum vector reduction. | |
8073 | (vsx_reduc_<VEC_reduc_name>_v4sf): Ditto. | |
8074 | (vsx_reduc_<VEC_reduc_name>_v2df2_scalar): New combiner insn to | |
8075 | optimize double vector reduction. | |
8076 | (vsx_reduc_<VEC_reduc_name>_v4sf_scalar): Ditto. | |
8077 | ||
35a5db04 JM |
8078 | 2011-04-26 Joseph Myers <joseph@codesourcery.com> |
8079 | ||
8080 | * config/fr30/fr30.h (inhibit_libc): Don't define. | |
8081 | * config/m32r/m32r-protos.h: Correct comment. | |
8082 | * config/v850/v850.h (GHS_default_section_names, | |
8083 | GHS_current_section_names): Use tree, not union tree_node *. | |
8084 | ||
2f964ad6 XDL |
8085 | 2011-04-26 Xinliang David Li <davidxl@google.com> |
8086 | ||
200eb7d2 | 8087 | * tree-ssa-uninit.c (warn_uninitialized_phi): Pass warning code. |
2f964ad6 XDL |
8088 | * c-family/c-opts.c (c_common_handle_option): Set |
8089 | warn_maybe_uninitialized. | |
8090 | * opts.c (common_handle_option): Ditto. | |
8091 | * common.opt: New option. | |
8092 | * tree-ssa.c (warn_uninit): Add one more parameter. | |
8093 | (warn_uninitialized_var): Pass warning code. | |
8094 | * tree-flow.h: Interface change. | |
8095 | ||
9c7bd91a RO |
8096 | 2011-04-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8097 | ||
200eb7d2 | 8098 | * config/mips/iris6.h (LOCAL_LABEL_PREFIX): Don't test TARGET_NEWABI. |
9c7bd91a RO |
8099 | (WINT_TYPE_SIZE): Use INT_TYPE_SIZE. |
8100 | (TARGET_OS_CPP_BUILTINS): Remove TARGET_IRIX6 guards. | |
8101 | ||
c2f36e21 RO |
8102 | 2011-04-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8103 | ||
8104 | * config/mips/mips.h (DBX_OUTPUT_SOURCE_LINE): Remove. | |
8105 | * config/mips/mips.opt (mmips-tfile): Remove. | |
8106 | ||
8107 | * doc/install.texi (Specific, mips-*-*): Move mips-tfile, | |
8108 | mips-tdump reference to ... | |
200eb7d2 | 8109 | (Specific, alpha*-dec-osf5.1): ... here. Adapt for Tru64 UNIX. |
c2f36e21 RO |
8110 | * doc/trouble.texi (Cross-Compiler Problems): Replace MIPS |
8111 | reference by Tru64 UNIX. | |
8112 | ||
2c9da85b JJ |
8113 | 2011-04-26 Jakub Jelinek <jakub@redhat.com> |
8114 | ||
0c5f6539 JJ |
8115 | PR debug/48768 |
8116 | * tree-ssa.c (insert_debug_temp_for_var_def): If degenerate_phi_result | |
8117 | is error_mark_node, set value to NULL. | |
8118 | ||
2c9da85b JJ |
8119 | PR tree-optimization/48734 |
8120 | * tree-ssa-reassoc.c (eliminate_redundant_comparison): Give up | |
8121 | if return value from maybe_fold_*_comparsions isn't something | |
8122 | the code is prepared to handle. | |
8123 | ||
77fa1d54 UB |
8124 | 2011-04-26 Uros Bizjak <ubizjak@gmail.com> |
8125 | ||
8126 | * config/i386/predicates.md (ext_QIreg_operand): Remove extra | |
8127 | mode check. | |
8128 | (ext_QIreg_nomode_operands): Remove. | |
8129 | * config/i386/i386.md (*anddi_1): Use ext_QIreg_operand. | |
8130 | (*andsi_1): Ditto. | |
8131 | (*andhi_1): Ditto. | |
8132 | ||
0e2a6c2b AS |
8133 | 2011-04-26 Andrew Stubbs <ams@codesourcery.com> |
8134 | ||
8135 | * config/arm/arm.c (arm_gen_constant): Remove can_negate_initial. | |
8136 | ||
961562d8 RB |
8137 | 2011-04-26 Richard Guenther <rguenther@suse.de> |
8138 | ||
8139 | * c-typeck.c (build_unary_op): Do not expand array-refs via | |
8140 | pointer arithmetic. Only adjust qualifiers for function types. | |
8141 | ||
8142 | 2011-04-26 Richard Guenther <rguenther@suse.de> | |
8143 | ||
8144 | PR middle-end/48694 | |
8145 | * tree.h (OEP_CONSTANT_ADDRESS_OF): New operand_equal_flag. | |
8146 | * fold-const.c (operand_equal_p): For TREE_CONSTANT ADDR_EXPRs | |
77fa1d54 UB |
8147 | compare the operands with OEP_CONSTANT_ADDRESS_OF. Treat trees |
8148 | with TREE_SIDE_EFFECTS equal when OEP_CONSTANT_ADDRESS_OF is set. | |
961562d8 | 8149 | |
a0d260fc PC |
8150 | 2011-04-25 Paolo Carlini <paolo.carlini@oracle.com> |
8151 | ||
6bec6c98 | 8152 | * doc/extend.texi: Document __underlying_type. |
a0d260fc | 8153 | |
4d583bb9 SB |
8154 | 2011-04-25 Segher Boessenkool <segher@kernel.crashing.org> |
8155 | ||
8156 | * config/rs6000/titan.md (automata_option "progress"): Remove. | |
8157 | ||
1f3fcdc3 JL |
8158 | 2011-04-25 Jeff Law <law@redhat.com> |
8159 | ||
8160 | * tree-vrp.c (identify_jump_threads): Handle GIMPLE_SWITCH too. | |
8161 | ||
e5b0dad8 JK |
8162 | 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
8163 | ||
8164 | * system.h (ENUM_BITFIELD): Remove. | |
8165 | ||
5157a881 | 8166 | 2011-04-25 Maxim Kuvyrkov <maxim@codesourcery.com> |
b15eacc7 | 8167 | Eric Botcazou <ebotcazou@adacore.com> |
5157a881 MK |
8168 | |
8169 | * combine.c (combine_simplify_rtx): Avoid mis-simplifying conditionals | |
8170 | for STORE_FLAG_VALUE==-1 case. | |
8171 | ||
ed4c109e RS |
8172 | 2011-04-24 Richard Sandiford <richard.sandiford@linaro.org> |
8173 | ||
8174 | PR target/43804 | |
8175 | * config/m68k/constraints.md (T): Allow PIC operands that satisfy | |
8176 | LEGITIMATE_PIC_OPERAND_P. | |
8177 | ||
f3181aa2 JH |
8178 | 2011-04-24 Jan Hubicka <jh@suse.cz> |
8179 | ||
8180 | * ipa-prop.c (ipa_propagate_indirect_call_infos): Remove obsolette | |
8181 | WPA hack. | |
77fa1d54 UB |
8182 | * ipa-prop.h (ipa_get_param, ipa_is_param_used, |
8183 | ipa_param_cannot_devirtualize_p, ipa_param_types_vec_empty, | |
8184 | ipa_get_ith_jump_func, ipa_get_lattice): Fortify array bounds. | |
f3181aa2 JH |
8185 | * ipa-inline-analysis.c (add_clause): Fix clause ordering. |
8186 | (and_predicates, or_predicates, predicates_equal_p, evaulate_predicate): | |
8187 | Sanity check predicate length. | |
8188 | (remap_predicate): Likewise; sanity check jump functions. | |
8189 | (inline_read_section, inline_write_summary): Sanity check | |
8190 | predicate length. | |
8191 | ||
5307cbaa PC |
8192 | 2011-04-24 Paolo Carlini <paolo.carlini@oracle.com> |
8193 | ||
8194 | PR other/48748 | |
8195 | * doc/extend.texi (Type Traits): Document __is_standard_layout, | |
8196 | __is_literal_type, and __is_trivial; update throughout about | |
8197 | possibly cv-qualified void types. | |
8198 | ||
bebd5f99 GP |
8199 | 2011-04-24 Gerald Pfeifer <gerald@pfeifer.com> |
8200 | ||
8201 | * doc/sourcebuild.texi (Ada Tests): Adjust reference to ACATS | |
8202 | testsuite and make it version agnostic. | |
8203 | ||
7ee28a74 JH |
8204 | 2011-04-22 Jan Hubicka <jh@suse.cz> |
8205 | ||
8206 | * ipa-inline-analysis.c (inline_write_summary): Fix thinko. | |
8207 | ||
16997bc0 JJ |
8208 | 2011-04-23 Jakub Jelinek <jakub@redhat.com> |
8209 | ||
8210 | PR c/48685 | |
8211 | * fold-const.c (fold_convert_loc): Add NOP_EXPR when casting | |
8212 | to VOID_TYPE even around MODIFY_EXPR. | |
8213 | ||
f94d4ab1 MS |
8214 | 2011-04-22 Mike Stump <mikestump@comcast.net> |
8215 | ||
1a84c183 | 8216 | * gensupport.c (read_md_rtx): Fix typo in comment. |
f94d4ab1 MS |
8217 | * config/cris/cris.opt (moverride-best-lib-options): Fix typo in |
8218 | comment. | |
8219 | ||
632b4f8e JH |
8220 | 2011-04-22 Jan Hubicka <jh@suse.cz> |
8221 | ||
8222 | * gengtype.c (open_base_files): Add ipa-inline.h include. | |
77fa1d54 UB |
8223 | * ipa-cp.c (ipcp_get_lattice, ipcp_lattice_from_jfunc): Move to |
8224 | ipa-prop.c; update all uses. | |
632b4f8e | 8225 | * ipa-prop.c: (ipa_get_lattice, ipa_lattice_from_jfunc): ... here. |
77fa1d54 UB |
8226 | * ipa-inline-transform.c (inline_call): Use inline_merge_summary to |
8227 | merge summary of inlined function into former caller. | |
632b4f8e JH |
8228 | * ipa-inline.c (max_benefit): Remove. |
8229 | (edge_badness): Compensate for removal of benefits. | |
77fa1d54 UB |
8230 | (update_caller_keys): Use |
8231 | reset_node_growth_cache/reset_edge_growth_cache. | |
632b4f8e JH |
8232 | (update_callee_keys): Likewise. |
8233 | (update_all_callee_keys): Likewise. | |
77fa1d54 UB |
8234 | (inline_small_functions): Do not collect max_benefit; do not reset |
8235 | estimated_growth; call free_growth_caches and initialize_growth_caches. | |
8236 | * ipa-inline.h (struct condition, type clause_t, struct predicate, | |
8237 | struct size_time_entry): New structures. | |
632b4f8e | 8238 | (INLINE_SIZE_SCALE, INLINE_TIME_SCALE, MAX_CLAUSES): New constants. |
77fa1d54 UB |
8239 | (inline_summary): Remove size_inlining_benefit, time_inlining_benefit |
8240 | and estimated_growth. | |
632b4f8e JH |
8241 | (edge_growth_cache_entry): New structure. |
8242 | (node_growth_cache, edge_growth_cache): New global vars. | |
8243 | (estimate_growth): Turn into inline. | |
8244 | (inline_merge_summary, do_estimate_edge_growth, do_estimate_edge_time, | |
8245 | initialize_growth_caches, free_growth_caches): Declare. | |
8246 | (estimate_edge_growth): Rewrite. | |
8247 | (estimate_edge_time): Implement as inline cache lookup. | |
77fa1d54 UB |
8248 | (reset_node_growth_cache, reset_edge_growth_cache): New inline |
8249 | functions. | |
632b4f8e JH |
8250 | (MAX_TIME): Reduce to allow multiplicatoin by INLINE_SIZE_SCALE. |
8251 | (NUM_CONDITIONS): New constant. | |
8252 | (predicate_conditions): New enum. | |
8253 | (IS_NOT_CONSTANT): New constant. | |
8254 | (edge_removal_hook_holder): New var. | |
8255 | (node_growth_cache, edge_growth_cache): New global vars. | |
77fa1d54 UB |
8256 | (true_predicate, single_cond_predicate, false_predicate, |
8257 | not_inlined_predicate, add_condition, add_clause, and_predicates, | |
8258 | or_predicates, predicates_equal_p, evaulate_predicate, dump_condition, | |
8259 | dump_clause, dump_predicate, account_size_time, | |
632b4f8e JH |
8260 | evaulate_conditions_for_edge): New functions. |
8261 | (inline_summary_alloc): Move to heap. | |
8262 | (inline_node_removal_hook): Clear condition and entry vectors. | |
8263 | (inline_edge_removal_hook): New function. | |
8264 | (initialize_growth_caches, free_growth_caches): New function. | |
8265 | (dump_inline_summary): Update. | |
8266 | (edge_execution_predicate): New function. | |
8267 | (will_be_nonconstant_predicate): New function. | |
8268 | (estimate_function_body_sizes): Compute BB and constantness predicates. | |
8269 | (compute_inline_parameters): Do not clear estimated_growth. | |
8270 | (estimate_edge_size_and_time): New function. | |
8271 | (estimate_calls_size_and_time): New function. | |
8272 | (estimate_callee_size_and_time): New function. | |
8273 | (remap_predicate): New function. | |
8274 | (inline_merge_summary): New function. | |
8275 | (do_estimate_edge_time): New function based on... | |
8276 | (estimate_edge_time): ... this one. | |
8277 | (do_estimate_edge_growth): New function. | |
8278 | (do_estimate_growth): New function based on.... | |
8279 | (estimate_growth): ... this one. | |
8280 | (inline_analyze_function): Analyze after deciding on jump functions. | |
8281 | (inline_read_section): New function. | |
8282 | (inline_read_summary): Use it. | |
8283 | (inline_write_summary): Write all the new data. | |
8284 | * ipa-prop.c (ipa_get_param_decl_index): Export. | |
8285 | (ipa_lattice_from_jfunc): Move here from ipa-cp.c | |
77fa1d54 UB |
8286 | * ipa-prop.h (ipa_get_param_decl_index, ipa_lattice_from_jfunc): |
8287 | Declare. | |
8288 | (ipa_get_lattice): Move here from ipa-cp.c | |
632b4f8e JH |
8289 | * Makefile.in (GTFILES): Add ipa-inline.h and ipa-inline-analysis.c |
8290 | * params.def (PARAM_EARLY_INLINING_INSNS): Set to 11. | |
8291 | * cgraph.h (cgraph_clone_inlined_nodes, compute_inline_parameters, | |
8292 | cgraph_edge_inlinable_p): Remove. | |
8293 | * cgraphunit.c: Include ipainline.h | |
77fa1d54 UB |
8294 | (cgraph_process_new_functions): Update call of |
8295 | compute_inline_parameters. | |
632b4f8e | 8296 | |
1df5b0db RG |
8297 | 2011-04-22 Richard Guenther <rguenther@suse.de> |
8298 | ||
8299 | * tree.c (build_int_cst): Properly create canonicalized integer | |
8300 | constants. | |
8301 | (build_int_cst_type): Remove scary comments. | |
8302 | ||
ae01169c XDL |
8303 | 2011-04-22 Xinliang David Li <davidxl@google.com> |
8304 | ||
8305 | * toplev.c (process_options): Enable -Werror=coverage-mismatch | |
8306 | by default when -Wno-error is not specified. | |
8307 | * opts-global.c (decode_options): Remove call to | |
8308 | control_warning_options. | |
8309 | ||
93dfac24 JJ |
8310 | 2011-04-22 Jakub Jelinek <jakub@redhat.com> |
8311 | ||
8312 | PR tree-optimization/48717 | |
8313 | * tree-ssa-forwprop.c (associate_plusminus): For A + ~A and | |
8314 | ~A + A optimizations use build_int_cst_type instead of build_int_cst. | |
8315 | ||
1b5f5069 JM |
8316 | 2011-04-22 Joseph Myers <joseph@codesourcery.com> |
8317 | ||
8318 | * config/bfin/bfin-protos.h (Mmode): Don't define. Expand | |
8319 | definition where used. | |
8320 | ||
144f4153 JJ |
8321 | 2011-04-22 Jakub Jelinek <jakub@redhat.com> |
8322 | ||
8323 | PR c/48716 | |
8324 | * gimplify.c (gimplify_bind_expr): Mark as GOVD_LOCAL also | |
8325 | TREE_STATIC variables declared inside of some OpenMP construct. | |
8326 | ||
f9fd305b MJ |
8327 | 2011-04-22 Martin Jambor <mjambor@suse.cz> |
8328 | ||
8329 | PR middle-end/48585 | |
1d284ec5 | 8330 | * tree-inline.c (copy_bb): Create new edges only for analyzed nodes. |
f9fd305b | 8331 | |
49819fef AM |
8332 | 2011-04-22 Alexander Monakov <amonakov@ispras.ru> |
8333 | ||
8334 | PR c/36750 | |
8335 | * c-typeck.c (pop_init_level): Do not warn about initializing | |
8336 | with ` = {0}'. | |
8337 | ||
401f6699 AM |
8338 | 2011-04-22 Alan Modra <amodra@gmail.com> |
8339 | ||
8340 | * config/rs6000/rs6000.c (rs6000_function_arg): Remove CALL_LIBCALL | |
8341 | when returning call_cookie. | |
8342 | (rs6000_function_ok_for_sibcall): Allow sibcalls via function | |
8343 | pointers, to functions with no more vector args than the current | |
8344 | function, and some non-local calls for ABI_V4. | |
8345 | * config/rs6000/rs6000.md (sibcall_nonlocal_aix32, | |
8346 | sibcall_nonlocal_aix64): Combine to .. | |
8347 | (sibcall_nonlocal_aix<mode>): ..this. Handle function pointer calls. | |
8348 | (sibcall_value_nonlocal_aix32, sibcall_value_nonlocal_aix64): Combine.. | |
8349 | (sibcall_value_nonlocal_aix<mode>): ..likewise. | |
8350 | (*sibcall_nonlocal_sysv<mode>): Handle function pointer calls. | |
8351 | (sibcall_value_nonlocal_sysv<mode>): Likewise. Correct call cookie | |
8352 | operand. | |
8353 | * config/rs6000/darwin.md (sibcall_nonlocal_darwin64, | |
8354 | sibcall_value_nonlocal_darwin64, sibcall_symbolic_64, | |
8355 | sibcall_value_symbolic_64): Delete. | |
8356 | ||
903d1e67 XDL |
8357 | 2011-04-21 Xinliang David Li <davidxl@google.com> |
8358 | ||
8359 | * cgraph.h: Remove pid. | |
8360 | * cgraph.c: Remove pid. | |
8361 | * value-prof.c (init_node_map): New function. | |
8362 | (del_node_map): New function. | |
8363 | (find_func_by_funcdef_no): New function. | |
8364 | (gimple_ic_transform): Call new function. | |
8365 | * cgraphunit.c (cgraph_finalize_function): Remove pid. | |
8366 | * function.c (get_last_funcdef_no): New function. | |
8367 | * function.h (get_last_funcdef_no): New function. | |
8368 | * tree-profile.c (gimple_gen_ic_func_profiler): Pass funcdef_no | |
8369 | to libgcov function. | |
8370 | (tree-profiling): Call node map init and delete function. | |
8371 | ||
7378e95f ILT |
8372 | 2011-04-21 Ian Lance Taylor <iant@google.com> |
8373 | ||
8374 | * godump.c (go_format_type): Use exported Go name for anonymous | |
8375 | field name. | |
8376 | ||
e84a6fcf NF |
8377 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
8378 | ||
8379 | * config/frv/frv.c (frv_init_builtins): Delete `endlink' variable. | |
8380 | Call builtin_function_type_list instead of builtin_function_type. | |
8381 | (UNARY, BINARY, TRINARY, QUAD): Likewise. | |
8382 | ||
4fe058e2 NF |
8383 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
8384 | ||
8385 | * config/arm/arm.c (arm_init_iwmmxt_builtins): Call | |
8386 | build_function_type_list instead of build_function_type. | |
8387 | Delete variable `endlink'. | |
8388 | ||
1ba0a2d2 NF |
8389 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
8390 | ||
8391 | * config/s390/s390.c (s390_init_builtins): Call | |
8392 | build_function_type_list instead of build_function_type. | |
8393 | ||
c0676219 NF |
8394 | 2011-04-21 Nathan Froyd <froydnj@codesourcery.com> |
8395 | ||
8396 | * config/ia64/ia64.c (ia64_init_builtins): Call | |
8397 | build_function_type_list instead of builtin_function_type. | |
8398 | ||
6ddfda8a ER |
8399 | 2011-04-21 Easwaran Raman <eraman@google.com> |
8400 | ||
3a6448ea | 8401 | * cfgexpand.c (stack_var): Remove OFFSET... |
6ddfda8a ER |
8402 | (add_stack_var): ...and its reference here... |
8403 | (expand_stack_vars): ...and here. | |
8404 | (stack_var_cmp): Sort by descending order of size. | |
8405 | (partition_stack_vars): Change heuristic. | |
1d284ec5 | 8406 | (union_stack_vars): Fix to reflect changes in partition_stack_vars. |
6ddfda8a ER |
8407 | (dump_stack_var_partition): Add newline after each partition. |
8408 | ||
23756963 DA |
8409 | 2011-04-21 Dimitrios Apostolou <jimis@gmx.net> |
8410 | Jeff Law <law@redhat.com> | |
8411 | ||
77fa1d54 | 8412 | * gengtype-state.c (read_a_state_token): Fix argument to obstack_free. |
23756963 DA |
8413 | * gengtype.c (matching_file_name_substitute): Likewise. |
8414 | ||
aa2a43d2 RG |
8415 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
8416 | ||
8417 | PR lto/48703 | |
1d284ec5 | 8418 | * tree.c (free_lang_data_in_decl): Do not zero TREE_TYPE of DECL_NAME. |
aa2a43d2 | 8419 | |
4d931f41 EB |
8420 | 2011-04-21 Eric Botcazou <ebotcazou@adacore.com> |
8421 | ||
8422 | * gimple.c (walk_gimple_op) <GIMPLE_CALL>: Fix couple of oversights. | |
8423 | ||
f103fa7a RG |
8424 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
8425 | ||
8426 | * Makefile.in (site.exp): Do not use tmp0 but site.tmp as temporary | |
8427 | file name. | |
8428 | ||
e19f6650 RG |
8429 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
8430 | ||
8431 | * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Handle | |
8432 | MEM_REF and TARGET_MEM_REF, do not care about INDIRECT_REFs. | |
8433 | Use DECL_P, not SSA_VAR_P. | |
8434 | (ptr_derefs_may_alias_p): Likewise. | |
8435 | (ptr_deref_may_alias_ref_p_1): Likewise. | |
8436 | (decl_refs_may_alias_p): Likewise. | |
8437 | (refs_may_alias_p_1): Likewise. | |
8438 | (ref_maybe_used_by_call_p_1): Likewise. | |
8439 | (call_may_clobber_ref_p_1): Likewise. | |
8440 | (indirect_ref_may_alias_decl_p): Assume indirect refrences | |
8441 | are either MEM_REF or TARGET_MEM_REF. | |
8442 | (indirect_refs_may_alias_p): Likewise. | |
8443 | * calls.c (emit_call_1): Build a MEM_REF instead of an INDIRECT_REF | |
8444 | for MEM_EXPR of indirect calls. | |
8445 | ||
9d1831bb TG |
8446 | 2011-04-21 Tristan Gingold <gingold@adacore.com> |
8447 | ||
8448 | * vmsdbgout.c (write_srccorr): Compute file length from the string. | |
8449 | (dst_file_info_struct): Remove flen field. | |
8450 | (lookup_filename): Remove code that set flen field. | |
8451 | ||
f199c029 TG |
8452 | 2011-04-21 Tristan Gingold <gingold@adacore.com> |
8453 | ||
8454 | * config/ia64/ia64.c (ia64_start_function): Add a guard. | |
8455 | ||
2894086e UB |
8456 | 2011-04-21 Uros Bizjak <ubizjak@gmail.com> |
8457 | ||
8458 | PR target/48708 | |
8459 | * config/i386/i386.c (ix86_expand_vector_set) <V2DImode>: Generate | |
8460 | vec_extract and vec_concat for non-SSE4_1 targets. | |
8461 | ||
53f94a5c RG |
8462 | 2011-04-21 Richard Guenther <rguenther@suse.de> |
8463 | ||
8464 | * tree-ssa-alias.c (ref_maybe_used_by_stmt_p): Handle | |
8465 | return statements. | |
8466 | ||
f0dca5ba JM |
8467 | 2011-04-21 Joseph Myers <joseph@codesourcery.com> |
8468 | ||
8469 | * config/i386/cygming.h (union tree_node, TREE): Don't define or | |
8470 | undefine. | |
8471 | (FILE): Don't undefine. | |
8472 | ||
984514ac JM |
8473 | 2011-04-21 Joseph Myers <joseph@codesourcery.com> |
8474 | ||
8475 | * config/alpha/alpha.c (struct machine_function): Use rtx, not | |
8476 | struct rtx_def *. | |
8477 | * config/bfin/bfin.h (bfin_cc_rtx, bfin_rets_rtx): Use rtx, not | |
8478 | struct rtx_def *. | |
8479 | * config/cris/cris-protos.h (STDIO_INCLUDED): Don't define. | |
2894086e | 8480 | * config/h8300/h8300.h (struct cum_arg): Use rtx, not struct rtx_def *. |
984514ac JM |
8481 | * config/iq2000/iq2000.h (struct iq2000_args): Use rtx, not struct |
8482 | rtx_def *. | |
8483 | * config/m32c/m32c-protos.h (MM, UINT): Don't define. Expand | |
8484 | definitions where used. | |
8485 | * config/microblaze/microblaze.h (struct microblaze_args): Use | |
8486 | rtx, not struct rtx_def *. | |
8487 | * config/pa/pa-protos.h (return_addr_rtx): Use rtx, not struct | |
8488 | rtx_def *. | |
2894086e UB |
8489 | * config/pa/pa.h (hppa_pic_save_rtx): Use rtx, not struct rtx_def *. |
8490 | * config/pdp11/pdp11.h (cc0_reg_rtx): Use rtx, not struct rtx_def *. | |
984514ac JM |
8491 | * config/sh/sh-protos.h (sfunc_uses_reg, get_fpscr_rtx): Use rtx, |
8492 | not struct rtx_def *. | |
8493 | * config/sh/sh.h (sh_compare_op0, sh_compare_op1): Use rtx, not | |
8494 | struct rtx_def *. | |
8495 | * config/spu/spu-protos.h (spu_float_const): Use rtx, not struct | |
8496 | rtx_def *. | |
2894086e | 8497 | * config/spu/spu.c (spu_float_const): Use rtx, not struct rtx_def *. |
984514ac | 8498 | |
0b5a2724 RS |
8499 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
8500 | ||
8501 | * tree-vect-data-refs.c (vect_drs_dependent_in_basic_block): Use | |
8502 | operand_equal_p to compare DR_BASE_ADDRESSes. | |
8503 | (vect_check_interleaving): Likewise. | |
8504 | ||
4b18d683 RS |
8505 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
8506 | ||
8507 | PR target/46329 | |
8508 | * config/arm/arm.c (arm_legitimate_constant_p_1): Return false | |
8509 | for all Neon struct constants. | |
8510 | ||
1a627b35 RS |
8511 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
8512 | ||
8513 | * target.def (legitimate_constant_p): New hook. | |
8514 | * doc/tm.texi.in (LEGITIMATE_CONSTANT_P): Replace with... | |
8515 | (TARGET_LEGITIMATE_CONSTANT_P): ...this. | |
8516 | * doc/tm.texi: Regenerate. | |
8517 | * hooks.h (hook_bool_mode_rtx_true): Declare. | |
8518 | * hooks.c (hook_bool_mode_rtx_true): Define. | |
8519 | * system.h (LEGITIMATE_CONSTANT_P): Poison. | |
8520 | * calls.c (precompute_register_parameters): Replace uses of | |
8521 | LEGITIMATE_CONSTANT_P with targetm.legitimate_constant_p. | |
8522 | (emit_library_call_value_1): Likewise. | |
8523 | * expr.c (move_block_to_reg, can_store_by_pieces, emit_move_insn) | |
8524 | (compress_float_constant, emit_push_insn, expand_expr_real_1): Likewise. | |
8525 | * ira-costs.c (scan_one_insn): Likewise. | |
8526 | * recog.c (general_operand, immediate_operand): Likewise. | |
8527 | * reload.c (find_reloads_toplev, find_reloads_address_part): Likewise. | |
8528 | * reload1.c (init_eliminable_invariants): Likewise. | |
8529 | ||
8530 | * config/alpha/alpha-protos.h (alpha_legitimate_constant_p): Add a | |
8531 | mode argument. | |
8532 | * config/alpha/alpha.h (LEGITIMATE_CONSTANT_P): Delete. | |
8533 | * config/alpha/alpha.c (alpha_legitimate_constant_p): Add a mode | |
8534 | argument. | |
8535 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8536 | * config/alpha/predicates.md (input_operand): Update call to | |
8537 | alpha_legitimate_constant_p. | |
8538 | ||
8539 | * config/arm/arm-protos.h (arm_cannot_force_const_mem): Delete. | |
8540 | * config/arm/arm.h (ARM_LEGITIMATE_CONSTANT_P): Likewise. | |
8541 | (THUMB_LEGITIMATE_CONSTANT_P, LEGITIMATE_CONSTANT_P): Likewise. | |
8542 | * config/arm/arm.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8543 | (arm_legitimate_constant_p_1, thumb_legitimate_constant_p) | |
8544 | (arm_legitimate_constant_p): New functions. | |
8545 | (arm_cannot_force_const_mem): Make static. | |
8546 | ||
8547 | * config/avr/avr.h (LEGITIMATE_CONSTANT_P): Delete. | |
8548 | ||
8549 | * config/bfin/bfin-protos.h (bfin_legitimate_constant_p): Delete. | |
8550 | * config/bfin/bfin.h (LEGITIMATE_CONSTANT_P): Delete. | |
8551 | * config/bfin/bfin.c (expand_move): Use targetm.legitimate_constant_p | |
8552 | instead of bfin_legitimate_constant_p. | |
8553 | (bfin_legitimate_constant_p): Make static. Add a mode argument. | |
8554 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8555 | ||
8556 | * config/cris/cris.h (LEGITIMATE_CONSTANT_P): Delete. | |
8557 | ||
8558 | * config/fr30/fr30.h (LEGITIMATE_CONSTANT_P): Delete. | |
8559 | ||
8560 | * config/frv/frv-protos.h (frv_legitimate_constant_p): Delete. | |
8561 | * config/frv/frv.h (LEGITIMATE_CONSTANT_P): Delete. | |
8562 | * config/frv/frv.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8563 | (frv_legitimate_constant_p): Make static. Add a mode argument. | |
8564 | ||
8565 | * config/h8300/h8300-protos.h (h8300_legitimate_constant_p): Delete. | |
8566 | * config/h8300/h8300.h (LEGITIMATE_CONSTANT_P): Likewise. | |
8567 | * config/h8300/h8300.c (h8300_legitimate_constant_p): Likewise. | |
8568 | ||
8569 | * config/i386/i386-protos.h (legitimate_constant_p): Delete. | |
8570 | * config/i386/i386.h (LEGITIMATE_CONSTANT_P): Likewise. | |
8571 | * config/i386/i386.c (legitimate_constant_p): Rename to... | |
8572 | (ix86_legitimate_constant_p): ...this. Make static. Add a mode | |
8573 | argument. | |
8574 | (ix86_cannot_force_const_mem): Update accordingly. | |
8575 | (ix86_legitimate_address_p): Likewise. | |
8576 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8577 | * config/i386/i386.md: Update commentary. | |
8578 | ||
8579 | * config/ia64/ia64-protos.h (ia64_legitimate_constant_p): Delete. | |
8580 | * config/ia64/ia64.h (LEGITIMATE_CONSTANT_P): Likewise. | |
8581 | * config/ia64/ia64.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8582 | (ia64_legitimate_constant_p): Make static. Add a mode argument. | |
8583 | ||
8584 | * config/iq2000/iq2000.h (LEGITIMATE_CONSTANT_P): Delete. | |
8585 | ||
8586 | * config/lm32/lm32-protos.h (lm32_legitimate_constant_p): Delete. | |
8587 | * config/lm32/lm32.h (LEGITIMATE_CONSTANT_P): Likewise. | |
8588 | * config/lm32/lm32.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8589 | (lm32_legitimate_constant_p): Make static. Add a mode argument. | |
8590 | ||
8591 | * config/m32c/m32c-protos.h (m32c_legitimate_constant_p): Delete. | |
8592 | * config/m32c/m32c.h (LEGITIMATE_CONSTANT_P): Likewise. | |
8593 | * config/m32c/m32c.c (m32c_legitimate_constant_p): Likewise. | |
8594 | ||
8595 | * config/m32r/m32r.h (LEGITIMATE_CONSTANT_P): Delete. | |
8596 | * config/m32r/m32r.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8597 | (m32r_legitimate_constant_p): New function. | |
8598 | ||
8599 | * config/m68k/m68k-protos.h (m68k_legitimate_constant_p): Declare. | |
8600 | * config/m68k/m68k.h (CONSTANT_ADDRESS_P): Call it instead of | |
8601 | LEGITIMATE_CONSTANT_P. | |
8602 | (LEGITIMATE_CONSTANT_P): Delete. | |
8603 | * config/m68k/m68k.c (m68k_expand_prologue): Call | |
8604 | m68k_legitimate_constant_p instead of LEGITIMATE_CONSTANT_P. | |
8605 | (m68k_legitimate_constant_p): New function. | |
8606 | * config/m68k/m68k.md: Update comments. | |
8607 | ||
8608 | * config/mcore/mcore.h (LEGITIMATE_CONSTANT_P): Delete. | |
8609 | * config/mcore/mcore.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8610 | (mcore_legitimate_constant_p): New function. | |
8611 | ||
8612 | * config/mep/mep-protos.h (mep_legitimate_constant_p): Delete. | |
8613 | * config/mep/mep.h (LEGITIMATE_CONSTANT_P): Likewise. | |
8614 | * config/mep/mep.c (mep_legitimate_constant_p): Make static. | |
8615 | Add a mode argument. | |
8616 | (mep_legitimate_address): Update accordingly. | |
8617 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8618 | ||
8619 | * config/microblaze/microblaze-protos.h (microblaze_const_double_ok): | |
8620 | Delete. | |
8621 | * config/microblaze/microblaze.h (LEGITIMATE_CONSTANT_P): Likewise. | |
8622 | * config/microblaze/microblaze.c (microblaze_const_double_ok): Make | |
8623 | static. Check OP's mode for VOIDmode. | |
8624 | (microblaze_legitimate_constant_p): New function. | |
8625 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8626 | ||
8627 | * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Delete. | |
8628 | * config/mips/mips.c (mips_legitimate_constant_p): New function. | |
8629 | (mips_cannot_force_const_mem): Use it instead of LEGITIMATE_CONSTANT_P. | |
8630 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8631 | * config/mips/predicates.md: Update comments. | |
8632 | ||
8633 | * config/mmix/mmix-protos.h (mmix_legitimate_constant_p): Delete. | |
8634 | * config/mmix/mmix.h (LEGITIMATE_CONSTANT_P): Likewise. | |
8635 | * config/mmix/mmix.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8636 | (mmix_legitimate_constant_p): Make static, return a bool, and take | |
8637 | a mode argument. | |
8638 | (mmix_print_operand_address): Update accordingly. | |
8639 | ||
8640 | * config/mn10300/mn10300-protos.h (mn10300_legitimate_constant_p): | |
8641 | Delete. | |
8642 | * config/mn10300/mn10300.h (LEGITIMATE_CONSTANT_P): Likewise. | |
2894086e UB |
8643 | * config/mn10300/mn10300.c (mn10300_legitimate_constant_p): Make |
8644 | static. Add a mode argument. | |
1a627b35 RS |
8645 | (TARGET_LEGITIMATE_CONSTANT_P): Define. |
8646 | ||
8647 | * config/moxie/moxie.h (LEGITIMATE_CONSTANT_P): Delete. | |
8648 | ||
8649 | * config/pa/pa.h (LEGITIMATE_CONSTANT_P): Delete. | |
8650 | * config/pa/pa.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8651 | (pa_legitimate_constant_p): New function. | |
8652 | ||
8653 | * config/picochip/picochip.h (LEGITIMATE_CONSTANT_P): Delete. | |
8654 | ||
8655 | * config/pdp11/pdp11.h (LEGITIMATE_CONSTANT_P): Delete. | |
8656 | * config/pdp11/pdp11.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8657 | (pdp11_legitimate_constant_p): New function. | |
8658 | ||
8659 | * config/rs6000/rs6000.h (LEGITIMATE_CONSTANT_P): Delete. | |
8660 | * config/rs6000/rs6000.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8661 | (rs6000_legitimate_constant_p): New function. | |
8662 | ||
8663 | * config/rx/rx-protos.h (rx_is_legitimate_constant): Replace with... | |
8664 | (rx_legitimate_constant_p): ...this. | |
8665 | * config/rx/rx.h (LEGITIMATE_CONSTANT_P): Delete. | |
8666 | * config/rx/rx.c (rx_is_legitimate_constant): Replace with... | |
8667 | (rx_legitimate_constant_p): ...this. | |
8668 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8669 | * config/rx/rx.md (mov<register_modes:mode>): Update accordingly. | |
8670 | ||
8671 | * config/s390/s390-protos.h (legitimate_constant_p): Delete. | |
8672 | * config/s390/s390.h (LEGITIMATE_CONSTANT_P): Likewise. | |
8673 | * config/s390/s390.c (legitimate_constant_p): Rename to... | |
8674 | (s390_legitimate_constant_p): ...this. Make static, return a bool, | |
8675 | and add a mode argument. | |
8676 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8677 | ||
8678 | * config/score/score.h (LEGITIMATE_CONSTANT_P): Delete. | |
8679 | ||
8680 | * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Delete. | |
8681 | * config/sh/sh.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8682 | (sh_legitimate_constant_p): New function. | |
8683 | ||
8684 | * config/sparc/sparc-protos.h (legitimate_constant_p): Delete. | |
8685 | * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Delete. | |
8686 | * config/sparc/sparc.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8687 | (legitimate_constant_p): Rename to... | |
8688 | (sparc_legitimate_constant_p): ...this. Make static. Add a mode | |
8689 | argument. | |
8690 | (constant_address_p): Update accordingly. | |
8691 | ||
8692 | * config/spu/spu-protos.h (spu_legitimate_constant_p): Add a mode | |
8693 | argument and return a bool. | |
8694 | * config/spu/spu.h (LEGITIMATE_CONSTANT_P): Delete. | |
8695 | * config/spu/spu.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8696 | (spu_legitimate_constant_p): Add a mode argument and return a bool. | |
8697 | (spu_rtx_costs): Update accordingly. | |
8698 | * config/spu/predicates.md (vec_imm_operand): Likewise. | |
8699 | ||
8700 | * config/stormy16/stormy16.h (LEGITIMATE_CONSTANT_P): Delete. | |
8701 | ||
8702 | * config/v850/v850.h (LEGITIMATE_CONSTANT_P): Delete. | |
8703 | * config/v850/v850.c (v850_legitimate_constant_p): New function. | |
8704 | (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8705 | ||
8706 | * config/vax/vax-protos.h (legitimate_constant_p): Delete. | |
8707 | * config/vax/vax.h (LEGITIMATE_CONSTANT_P): Likewise. | |
8708 | * config/vax/vax.c (legitimate_constant_p): Likewise. | |
8709 | ||
8710 | * config/xtensa/xtensa.h (LEGITIMATE_CONSTANT_P): Delete. | |
8711 | * config/xtensa/xtensa.c (TARGET_LEGITIMATE_CONSTANT_P): Define. | |
8712 | (xtensa_legitimate_constant_p): New function. | |
8713 | ||
fbbf66e7 RS |
8714 | 2011-04-21 Richard Sandiford <richard.sandiford@linaro.org> |
8715 | ||
8716 | * target.def (cannot_force_const_mem): Add a mode argument. | |
8717 | * doc/tm.texi.in (TARGET_CANNOT_FORCE_CONST_MEM): Update accordingly. | |
8718 | * doc/tm.texi: Regenerate. | |
8719 | * hooks.h (hook_bool_mode_rtx_false): Declare. | |
8720 | * hooks.c (hook_bool_mode_const_rtx_false): Fix commentary. | |
8721 | (hook_bool_mode_const_rtx_true): Likewise. | |
8722 | (hook_bool_mode_rtx_false): New function. | |
8723 | * reload.c (CONST_POOL_OK_P): Take a mode argument and require it | |
8724 | to be non-VOID. Update call to cannot_force_const_mem. | |
8725 | (find_reloads): Update accordingly. | |
8726 | * varasm.c (force_const_mem): Update call to cannot_force_const_mem. | |
8727 | * config/alpha/alpha.c (alpha_cannot_force_const_mem): Add a mode | |
8728 | argument. | |
8729 | * config/arm/arm-protos.h (arm_cannot_force_const_mem): Likewise. | |
8730 | * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Update call. | |
8731 | * config/arm/arm.c (arm_cannot_force_const_mem): Add a mode argument. | |
8732 | * config/bfin/bfin.c (bfin_cannot_force_const_mem): Likewise. | |
8733 | * config/frv/frv.c (frv_cannot_force_const_mem): Likewise. | |
8734 | * config/i386/i386.c (ix86_cannot_force_const_mem): Likewise. | |
8735 | * config/ia64/ia64.c (ia64_cannot_force_const_mem): Likewise. | |
8736 | * config/m68k/m68k.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine to... | |
8737 | (m68k_cannot_force_const_mem): ...this new function. | |
8738 | * config/mips/mips.c (mips_cannot_force_const_mem): Add a mode | |
8739 | argument. | |
8740 | (mips_const_insns, mips_legitimize_const_move): Update calls. | |
8741 | (mips_secondary_reload_class): Likewise. | |
8742 | * config/pa/pa.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine to... | |
8743 | (pa_cannot_force_const_mem): ...this new function. | |
2894086e | 8744 | * config/rs6000/rs6000.c (TARGET_CANNOT_FORCE_CONST_MEM): Reefine to... |
fbbf66e7 RS |
8745 | (rs6000_cannot_force_const_mem): ...this new function. |
8746 | * config/s390/s390.c (s390_cannot_force_const_mem): Add a mode | |
8747 | argument. | |
8748 | * config/sparc/sparc.c (sparc_cannot_force_const_mem): Likewise. | |
8749 | * config/xtensa/xtensa.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine | |
8750 | to... | |
8751 | (xtensa_cannot_force_const_mem): ...this new function. | |
8752 | ||
b861891b NF |
8753 | 2011-04-20 Nathan Froyd <froydnj@codesourcery.com> |
8754 | ||
8755 | * config/mips/mips.c (mips16_build_function_stub): Call | |
8756 | build_function_type_list instead of build_function_type. | |
8757 | (mips16_build_call_stub): Likewise. | |
8758 | ||
34149ed5 NF |
8759 | 2011-04-20 Nathan Froyd <froydnj@codesourcery.com> |
8760 | ||
8761 | * config/mep/mep.c (mep_init_builtins): Call build_function_type_list | |
8762 | instead of build_function_type. | |
8763 | ||
12526412 NF |
8764 | 2011-04-20 Nathan Froyd <froydnj@codesourcery.com> |
8765 | ||
8766 | * config/pa/pa.c (pa_init_builtins): Call build_function_type_list | |
8767 | instead of build_function_type. | |
8768 | ||
3b84d61f UB |
8769 | 2011-04-20 Uros Bizjak <ubizjak@gmail.com> |
8770 | ||
8771 | PR target/48678 | |
8772 | * config/i386/i386.md (insv): Change operand 0 constraint to | |
8773 | "register_operand". Change operand 1 and 2 constraint to | |
8774 | "const_int_operand". Expand to pinsr{b,w,d,q} * when appropriate. | |
8775 | * config/i386/sse.md (sse4_1_pinsrb): Export. | |
8776 | (sse2_pinsrw): Ditto. | |
8777 | (sse4_1_pinsrd): Ditto. | |
8778 | (sse4_1_pinsrq): Ditto. | |
8779 | * config/i386/i386-protos.h (ix86_expand_pinsr): Add prototype. | |
8780 | * config/i386/i386.c (ix86_expand_pinsr): New. | |
8781 | ||
4a25752b ER |
8782 | 2011-04-20 Easwaran Raman <eraman@google.com> |
8783 | ||
8784 | * cfgexpand.c (add_alias_set_conflicts): Add conflicts with a variable | |
8785 | containing union type only with -fstrict-aliasing. | |
8786 | ||
04695783 JM |
8787 | 2011-04-20 Jim Meyering <meyering@redhat.com> |
8788 | ||
8789 | Remove useless if-before-free tests. | |
8790 | * calls.c (expand_call, save_area): Likewise. | |
8791 | * cfgcleanup.c (try_forward_edges): Likewise. | |
8792 | * collect2.c (collect_execute): Likewise. | |
8793 | * config/i386/i386.c (ix86_valid_target_attribute_tree): Likewise. | |
8794 | * config/mcore/mcore.c (mcore_expand_prolog): Likewise. | |
8795 | * coverage.c (coverage_checksum_string): Likewise. | |
8796 | * cse.c (init_cse_reg_info, delete_trivially_dead_insns): Likewise. | |
8797 | * cselib.c (cselib_init): Likewise. | |
8798 | * df-core.c (rest_of_handle_df_finish, df_analyze): Likewise. | |
8799 | (df_set_clean_cfg): Likewise. | |
8800 | * function.c (free_after_compilation): Likewise. | |
8801 | * gcc.c (do_spec_1, main): Likewise. | |
8802 | * gcov.c (create_file_names): Likewise. | |
8803 | * gensupport.c (identify_predicable_attribute): Likewise. | |
8804 | * graphite-clast-to-gimple.c (save_clast_name_index): Likewise. | |
8805 | * graphite-sese-to-poly.c (free_data_refs_aux): Likewise. | |
8806 | * haifa-sched.c (haifa_finish_h_i_d): Likewise. | |
8807 | * ipa-prop.c (ipa_free_node_params_substructures): Likewise. | |
8808 | * ipa-pure-const.c (local_pure_const): Likewise. | |
8809 | * ipa-reference.c (propagate): Likewise. | |
8810 | * ira-costs.c (free_ira_costs): Likewise. | |
8811 | * ira.c (free_register_move_costs, build_insn_chain): Likewise. | |
8812 | * matrix-reorg.c (mat_free): Likewise. | |
8813 | * prefix.c (get_key_value): Likewise. | |
8814 | * profile.c (compute_value_histograms): Likewise. | |
8815 | * reload1.c (free_reg_equiv): Likewise. | |
8816 | * sched-deps.c (free_deps): Likewise. | |
8817 | * sel-sched-ir.c (fence_clear): Likewise. | |
8818 | * sese.c (set_rename, if_region_set_false_region): Likewise. | |
8819 | * tree-data-ref.c (free_rdg): Likewise. | |
8820 | * tree-eh.c (lower_try_finally): Likewise. | |
8821 | * tree-ssa-coalesce.c (delete_coalesce_list): Likewise. | |
8822 | * tree-ssa-live.c (delete_var_map): Likewise. | |
8823 | * tree-ssa-loop-ivopts.c (free_loop_data): Likewise. | |
8824 | * tree-ssa-pre.c (phi_trans_add): Likewise. | |
8825 | ||
6788475a JJ |
8826 | 2011-04-20 Jakub Jelinek <jakub@redhat.com> |
8827 | ||
8828 | PR tree-optimization/48611 | |
8829 | * tree-eh.c (note_eh_region_may_contain_throw): Don't propagate | |
8830 | beyond ERT_MUST_NOT_THROW region. | |
8831 | ||
0eda4033 CM |
8832 | 2011-04-20 Catherine Moore <clm@codesourcery.com> |
8833 | ||
8834 | * config/mips/mips.opt (mfix-24k): New. | |
8835 | * config/mips/mips.h (ASM_SPEC): Handle -mfix-24k. | |
8836 | * config/mips/mips.md (length): Increase by 4 for stores if | |
8837 | fixing 24K errata. | |
8838 | * config/mips/mips.c (mips_reorg_process_insns): Do not allow | |
8839 | all noreorder if fixing 24K errata. | |
8840 | * doc/invoke.texi: Document mfix-24k. | |
8841 | ||
01475747 CLT |
8842 | 2011-04-20 Chung-Lin Tang <cltang@codesourcery.com> |
8843 | ||
8844 | * config/arm/arm.c (arm_legitimize_reload_address): For NEON | |
2894086e | 8845 | quad-word modes, reduce to 9-bit index range when above 1016 limit. |
01475747 | 8846 | |
bc2c1a60 AS |
8847 | 2011-04-20 Andrew Stubbs <ams@codesourcery.com> |
8848 | ||
8849 | * config/arm/arm.c (arm_gen_constant): Move movw support .... | |
8850 | (const_ok_for_op): ... to here. | |
8851 | ||
583722ee KT |
8852 | 2011-04-20 Kai Tietz <ktietz@redhat.com> |
8853 | ||
2894086e UB |
8854 | * fold-const.c (fold_binary_loc): Add handling for (X & ~Y) | (~X & Y) |
8855 | and (X && !Y) | (!X && Y) optimization to (X ^ Y). | |
583722ee | 8856 | |
422c0989 AS |
8857 | 2011-04-20 Andrew Stubbs <ams@codesourcery.com> |
8858 | ||
8859 | * config/arm/arm.c (arm_gen_constant): Remove redundant can_invert. | |
8860 | ||
d7978bff RG |
8861 | 2011-04-20 Richard Guenther <rguenther@suse.de> |
8862 | ||
8863 | PR tree-optimization/47892 | |
8864 | * tree-if-conv.c (if_convertible_stmt_p): Const builtins | |
8865 | are if-convertible. | |
8866 | ||
818412ba EB |
8867 | 2011-04-20 Eric Botcazou <ebotcazou@adacore.com> |
8868 | ||
8869 | * config/alpha/vms.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not redefine. | |
8870 | ||
b501ce4e TG |
8871 | 2011-04-20 Tristan Gingold <gingold@adacore.com> |
8872 | ||
8873 | * config/alpha/vms.h (LINK_SPEC): Do not use vms-dwarf2.o for gnu-ld. | |
8874 | ||
516edfdd GJL |
8875 | 2011-04-20 Georg-Johann Lay <avr@gjlay.de> |
8876 | ||
8877 | PR target/18145 | |
8878 | ||
8879 | * config/avr/avr.h (TARGET_ASM_INIT_SECTIONS): Delete. | |
8880 | (ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Delete. | |
8881 | (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. | |
8882 | (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Define. | |
8883 | (TARGET_ASM_NAMED_SECTION): Change to avr_asm_named_section. | |
8884 | ||
8885 | * config/avr/avr-protos.h (avr_asm_output_aligned_common): | |
8886 | New prototype. | |
8887 | ||
8888 | * config/avr/avr.c (TARGET_ASM_INIT_SECTIONS): Define. | |
8889 | (avr_asm_named_section, avr_asm_output_aligned_common, | |
8890 | avr_output_data_section_asm_op, avr_output_bss_section_asm_op): | |
8891 | New functions to update... | |
8892 | (avr_need_clear_bss_p, avr_need_copy_data_p): ...these new variables. | |
8893 | (avr_asm_init_sections): Overwrite section callbacks for | |
8894 | data_section, bss_section. | |
8895 | (avr_file_start): Move output of __do_copy_data, __do_clear_bss | |
8896 | from here to... | |
8897 | (avr_file_end): ...here. | |
8898 | ||
dafc9511 RG |
8899 | 2011-04-20 Richard Guenther <rguenther@suse.de> |
8900 | ||
8901 | PR middle-end/48695 | |
8902 | * tree-ssa-alias.c (aliasing_component_refs_p): Compute base | |
2894086e | 8903 | objects and types here. Adjust for their offset before comparing. |
dafc9511 | 8904 | |
1da0876c RS |
8905 | 2011-04-20 Richard Sandiford <richard.sandiford@linaro.org> |
8906 | ||
8907 | * tree-vect-stmts.c (vectorizable_store): Only chain one related | |
8908 | statement per copy. | |
8909 | ||
25583c4f RS |
8910 | 2011-04-20 Richard Sandiford <richard.sandiford@linaro.org> |
8911 | ||
8912 | * Makefile.in (INTERNAL_FN_DEF, INTERNAL_FN_H): Define. | |
8913 | (GIMPLE_H): Include $(INTERNAL_FN_H). | |
8914 | (OBJS-common): Add internal-fn.o. | |
8915 | (internal-fn.o): New rule. | |
8916 | * internal-fn.def: New file. | |
8917 | * internal-fn.h: Likewise. | |
8918 | * internal-fn.c: Likewise. | |
8919 | * gimple.h: Include internal-fn.h. | |
8920 | (GF_CALL_INTERNAL): New gf_mask. | |
8921 | (gimple_statement_call): Put fntype into a union with a new | |
8922 | internal_fn field. | |
8923 | (gimple_build_call_internal): Declare. | |
8924 | (gimple_build_call_internal_vec): Likewise. | |
8925 | (gimple_call_same_target_p): Likewise. | |
8926 | (gimple_call_internal_p): New function. | |
8927 | (gimple_call_internal_fn): Likewise. | |
8928 | (gimple_call_fntype): Return null for internal calls. | |
8929 | (gimple_call_set_fntype): Assert that the function is not internal. | |
8930 | (gimple_call_set_fn): Likewise. | |
8931 | (gimple_call_set_fndecl): Likewise. | |
8932 | (gimple_call_set_internal_fn): New function. | |
8933 | (gimple_call_addr_fndecl): Handle null functions. | |
8934 | (gimple_call_return_type): Likewise null types. | |
8935 | * gimple.c (gimple_build_call_internal_1): New function. | |
8936 | (gimple_build_call_internal): Likewise. | |
8937 | (gimple_build_call_internal_vec): Likewise. | |
8938 | (gimple_call_same_target_p): Likewise. | |
8939 | (gimple_call_flags): Handle calls to internal functions. | |
8940 | (gimple_call_fnspec): New function. | |
8941 | (gimple_call_arg_flags, gimple_call_return_flags): Use it. | |
8942 | (gimple_has_side_effects): Handle null functions. | |
8943 | (gimple_rhs_has_side_effects): Likewise. | |
8944 | (gimple_call_copy_skip_args): Handle calls to internal functions. | |
8945 | * cfgexpand.c (expand_call_stmt): Likewise. | |
8946 | * expr.c (expand_expr_real_1): Assert that the call isn't internal. | |
8947 | * gimple-fold.c (gimple_fold_call): Handle null functions. | |
8948 | (gimple_fold_stmt_to_constant_1): Don't fold | |
8949 | calls to internal functions. | |
8950 | * gimple-low.c (gimple_check_call_args): Handle calls to internal | |
8951 | functions. | |
8952 | * gimple-pretty-print.c (dump_gimple_call): Likewise. | |
8953 | * ipa-prop.c (ipa_analyze_call_uses): Handle null functions. | |
8954 | * tree-cfg.c (verify_gimple_call): Handle calls to internal functions. | |
8955 | (do_warn_unused_result): Likewise. | |
8956 | * tree-eh.c (same_handler_p): Use gimple_call_same_target_p. | |
8957 | * tree-ssa-ccp.c (ccp_fold_stmt): Handle calls to internal functions. | |
8958 | * tree-ssa-dom.c (hashable_expr): Use the gimple statement to record | |
8959 | the target of a call. | |
8960 | (initialize_hash_element): Update accordingly. | |
8961 | (hashable_expr_equal_p): Use gimple_call_same_target_p. | |
8962 | (iterative_hash_hashable_expr): Handle calls to internal functions. | |
8963 | (print_expr_hash_elt): Likewise. | |
8964 | * tree-ssa-pre.c (can_value_number_call): Likewise. | |
8965 | (eliminate): Handle null functions. | |
8966 | * tree-ssa-sccvn.c (visit_use): Handle calls to internal functions. | |
8967 | * tree-ssa-structalias.c (get_fi_for_callee): Likewise. | |
8968 | (find_func_aliases): Likewise. | |
8969 | * value-prof.c (gimple_ic_transform): Likewise. | |
8970 | (gimple_indirect_call_to_profile): Likewise. | |
8971 | * lto-streamer-in.c (input_gimple_stmt): Likewise. | |
8972 | * lto-streamer-out.c (output_gimple_stmt): Likewise. | |
8973 | ||
1a3118e9 JH |
8974 | 2011-04-19 Jan Hubicka <jh@suse.cz> |
8975 | ||
8976 | * ipa-inline-transform.c (save_inline_function_body): Add comments. | |
9d12f71a EB |
8977 | * ipa-inline.c (inline_small_functions): Compute summaries first, |
8978 | populate heap later. | |
1a3118e9 | 8979 | |
fee8b6da JH |
8980 | 2011-04-19 Jan Hubicka <jh@suse.cz> |
8981 | ||
8982 | * cgraph.h (save_inline_function_body): Remove. | |
8983 | * ipa-inline-transform.c: New file, broke out of... | |
8984 | * ipa-inline.c: ... this one; Update toplevel comment. | |
8985 | (ncalls_inlined, nfunctions_inlined): Move to ipa-inline-transform.c; | |
8986 | make global. | |
8987 | (update_noncloned_frequencies): Move to ipa-inline-transform.c | |
8988 | (cgraph_mark_inline_edge): Rename to inline_call; move to | |
8989 | ipa-inline-transform.c. | |
8990 | (cgraph_clone_inlined_nodes): Rename to clone_inlined_nodes; | |
8991 | move to ipa-inline-transform.c | |
8992 | (recursive_inlining, inline_small_functions, flatten_function, | |
8993 | ipa_inline, inline_always_inline_functions, | |
8994 | early_inline_small_functions): Update. | |
8995 | (inline_transform): Move to ipa-inline-transform.c. | |
8996 | * ipa-inline.h (inline_call, inline_transform, clone_inlined_nodes): | |
8997 | Declare. | |
8998 | * Makefile.in (ipa-inline-transform.o): New file. | |
8999 | * cgraphunit.c (save_inline_function_body): Move to | |
9000 | ipa-inline-transform.c | |
9001 | ||
f0679612 DD |
9002 | 2011-04-19 DJ Delorie <dj@redhat.com> |
9003 | ||
9004 | * config/m32c/m32c.c (m32c_emit_epilogue): Don't try to push | |
9005 | registers if we already know there aren't any. | |
9006 | (m32c_emit_epilogue): Don't emit a barrier here. | |
9007 | (m32c_emit_eh_epilogue): Likewise. | |
9008 | * config/m32c/blkmov.md (movstr): Don't fail on wrong-type | |
9009 | operands at expand time. | |
9010 | * config/m32c/m32c.h (WCHAR_TYPE_SIZE): Change to 4 to match "long | |
9011 | int" wchar type. | |
9012 | (REG_CLASS_CONTENTS, reg_class, REG_CLASS_NAMES): Remove | |
9013 | duplicates. Provide aliases instead. | |
9014 | * config/m32c/prologue.md (eh_return): Emit a barrier here. | |
9015 | (eh_epilogue): Add a "(return)" here as a hint to other parts of | |
9016 | the compiler. | |
9017 | ||
32257ddc AS |
9018 | 2011-04-19 Anatoly Sokolov <aesok@post.ru> |
9019 | ||
9020 | * config/sparc/sparc.h (GENERAL_OR_I64, REGISTER_MOVE_COST): Remove. | |
9021 | * config/sparc/sparc.c (TARGET_REGISTER_MOVE_COST): Define. | |
9022 | (general_or_i64_p, sparc_register_move_cost): New function. | |
9023 | ||
60bea929 RO |
9024 | 2011-04-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9025 | ||
9026 | * doc/install.texi (Configuration, --enable-threads): Remove mach. | |
3b84d61f | 9027 | Add lynx, mipssde. Sort table. |
60bea929 | 9028 | |
444b3995 | 9029 | 2011-04-19 Xinliang David Li <davidxl@google.com> |
3b84d61f | 9030 | |
9d12f71a EB |
9031 | * ipa-cp.c (ipcp_update_profiling): Assert that scale_completement is |
9032 | not negative. | |
444b3995 | 9033 | |
d708ce50 JJ |
9034 | 2011-04-19 Jakub Jelinek <jakub@redhat.com> |
9035 | ||
9036 | PR target/48678 | |
9037 | * config/i386/i386.md (movstrict<mode>): FAIL if operands[0] | |
9038 | is a SUBREG with non-MODE_INT mode inside of it. | |
9039 | ||
49c471e3 MJ |
9040 | 2011-04-19 Martin Jambor <mjambor@suse.cz> |
9041 | ||
9042 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): Devirtualize | |
9043 | also according to actual contants. | |
9044 | * gimple-fold.c (gimple_extract_devirt_binfo_from_cst): New function. | |
9045 | (gimple_fold_call): Use it. | |
9046 | * gimple.h (gimple_extract_devirt_binfo_from_cst): Declare. | |
9047 | ||
0004f992 MJ |
9048 | 2011-04-19 Martin Jambor <mjambor@suse.cz> |
9049 | ||
9050 | * ipa-prop.c (stmt_may_be_vtbl_ptr_store): Return false for scalar | |
9051 | non-pointer assignments. | |
9052 | ||
40591473 MJ |
9053 | 2011-04-19 Martin Jambor <mjambor@suse.cz> |
9054 | ||
9055 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): Take into | |
9056 | account anc_offset and otr_type from the indirect edge info. | |
9057 | * ipa-prop.c (get_ancestor_addr_info): New function. | |
9058 | (compute_complex_ancestor_jump_func): Assignment analysis moved to | |
9059 | get_ancestor_addr_info, call it. | |
9060 | (ipa_note_param_call): Do not initialize information about polymorphic | |
9061 | calls, return the indirect call graph edge. Remove the last | |
9062 | parameter, adjust all callers. | |
9063 | (ipa_analyze_virtual_call_uses): Process also calls to ancestors of | |
9064 | parameters. Initialize polymorphic information in the indirect edge. | |
9065 | ||
abe36b81 EB |
9066 | 2011-04-19 Eric Botcazou <ebotcazou@adacore.com> |
9067 | ||
9068 | PR lto/48148 | |
9069 | * gimple.c (gimple_types_compatible_p_1) <ENUMERAL_TYPE>: Do not merge | |
9070 | the types if they have different enumeration identifiers. | |
9071 | ||
e6416b30 JH |
9072 | 2011-04-19 Jan Hubicka <jh@suse.cz> |
9073 | ||
9074 | * cgraph.h (cgraph_optimize_for_size_p): Declare. | |
9075 | * ipa-cp.c (ipcp_insert_stage): Use cgraph_optimize_for_size_p. | |
9076 | * predict.c (cgraph_optimize_for_size_p): Break out from ... | |
9077 | (optimize_function_for_size_p) ... here. | |
9078 | ||
d39132ea RG |
9079 | 2011-04-19 Richard Guenther <rguenther@suse.de> |
9080 | ||
9081 | PR lto/48207 | |
9082 | * tree.c (free_lang_data): Do not reset the decl-assembler-name | |
9083 | langhook. | |
9084 | ||
ff7037dc EB |
9085 | 2011-04-19 Eric Botcazou <ebotcazou@adacore.com> |
9086 | ||
9087 | * tree-inline.c (expand_call_inline): Do not issue a -Winline warning | |
9088 | if DECL_NO_INLINE_WARNING_P is set on the function. | |
9089 | ||
c1ee2892 BS |
9090 | 2011-04-19 Bernd Schmidt <bernds@codesourcery.com> |
9091 | ||
9092 | PR fortran/47976 | |
9093 | * reload1.c (inc_for_reload): Return void. All callers changed. | |
9094 | (emit_input_reload_insns): Don't try to delete previous output | |
9095 | reloads to a register, or record spill_reg_store for autoincs. | |
fbb20b29 BS |
9096 | |
9097 | 2011-04-19 Basile Starynkevitch <basile@starynkevitch.net> | |
9098 | ||
9099 | * gengtype.h: Updated copyright year. | |
9100 | (struct input_file_st): Add inpisplugin field. | |
9101 | (type_fileloc): New function. | |
9102 | * gengtype.c | |
9103 | (write_typed_struct_alloc_def): Add gcc_assert. | |
9104 | (write_typed_alloc_defns): Ditto. Don't output for plugin files. | |
9105 | (write_typed_alloc_defns): Don't output for plugin files. | |
9106 | (input_file_by_name): Clear inpisplugin field. | |
9107 | (main): Set inpisplugin field for plugin files. | |
9108 | ||
897e0a89 NP |
9109 | 2011-04-19 Nicola Pero <nicola.pero@meta-innovation.com> |
9110 | ||
9111 | * gengtype-state.c (string_eq): New. | |
9112 | (read_state): Use string_eq instead of strcmp when creating the | |
9113 | state_ident_tab. | |
9114 | ||
363ee90e WG |
9115 | 2011-04-19 Wei Guozhi <carrot@google.com> |
9116 | ||
9117 | PR target/47855 | |
9118 | * config/arm/arm-protos.h (thumb1_legitimate_address_p): New prototype. | |
9119 | * config/arm/arm.c (thumb1_legitimate_address_p): Remove the static | |
9120 | linkage. | |
9121 | * config/arm/constraints.md (Uu): New constraint. | |
9122 | * config/arm/arm.md (*arm_movqi_insn): Compute attr "length". | |
9123 | ||
18a24fed TG |
9124 | 2011-04-19 Tristan Gingold <gingold@adacore.com> |
9125 | ||
9126 | * config.gcc (-*-*-*vms): Added. | |
9127 | (alpha64-dec-*vms*,alpha*-dec-*vms*, ia64-hp-*vms*): Common | |
9128 | definitions moved. | |
9129 | * config/vms/vms-ld.c: New file. | |
9130 | * config/vms/vms-ar.c: New file. | |
9131 | * config/vms/t-vmsnative: New file. | |
9132 | ||
1c13f168 XDL |
9133 | 2011-04-18 Xinliang David Li <davidxl@google.com> |
9134 | ||
9135 | * final.c (dump_basic_block_info): Use ASM_COMMENT_START. | |
9136 | ||
84825707 JJ |
9137 | 2011-04-18 Jakub Jelinek <jakub@redhat.com> |
9138 | ||
9139 | PR middle-end/48661 | |
9140 | * gimple-fold.c (gimple_get_virt_method_for_binfo): Return NULL | |
9141 | if TREE_TYPE (v) is non-NULL. | |
9142 | ||
9143 | * gimple-fold.c (gimple_get_virt_method_for_binfo): Renamed from | |
9144 | gimple_get_virt_mehtod_for_binfo. | |
9145 | * gimple.h (gimple_get_virt_method_for_binfo): Likewise. | |
9146 | * ipa-cp.c (ipcp_process_devirtualization_opportunities): Adjust | |
9147 | callers. | |
9148 | * ipa-prop.c (try_make_edge_direct_virtual_call): Likewise. | |
9149 | ||
7d4f8d02 | 9150 | 2011-04-18 Michael Matz <matz@suse.de> |
7254cb57 MM |
9151 | Steve Ellcey <sje@cup.hp.com> |
9152 | ||
7d4f8d02 EB |
9153 | * expr.c (expand_expr_real_2) <CASE_CONVERT>: If OP0 is a constant, |
9154 | use its mode as source mode if it isn't VOIDmode. | |
7254cb57 | 9155 | |
474e8e70 DCR |
9156 | 2011-04-18 Dennis, CHENG Renquan <crquan@fedoraproject.org> |
9157 | ||
9158 | * doc/passes.texi: Fill crossref nodes. | |
9159 | ||
cff41484 JM |
9160 | 2011-04-18 Jim Meyering <meyering@redhat.com> |
9161 | ||
7d4f8d02 | 9162 | Fix doubled-word typos in comments and strings |
cff41484 JM |
9163 | * config/alpha/vms-unwind.h: s/for for/for/ |
9164 | * config/arm/unwind-arm.h: Likewise. | |
9165 | * config/microblaze/microblaze.c: Likewise. | |
9166 | * config/sh/constraints.md: s/in in/in/ | |
9167 | * tree-cfg.c (verify_types_in_gimple_reference): Likewise. | |
9168 | ||
f60c2554 UB |
9169 | 2011-04-18 Uros Bizjak <ubizjak@gmail.com> |
9170 | ||
9171 | * config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): Remove. | |
9172 | (AVX_FLOAT_MODE_P): Ditto. | |
9173 | (AVX128_VEC_FLOAT_MODE_P): Ditto. | |
9174 | (AVX256_VEC_FLOAT_MODE_P): Ditto. | |
9175 | (AVX_VEC_FLOAT_MODE_P): Ditto. | |
9176 | * config/i386/i386.md (UNSPEC_MASKLOAD): Remove. | |
9177 | (UNSPEC_MASKSTORE): Ditto. | |
9178 | * config/i386/sse.md (<sse>_movmsk<ssemodesuffix><avxmodesuffix>): | |
9179 | Merge from <sse>_movmsk<ssemodesuffix> and | |
9180 | avx_movmsk<ssemodesuffix>256. Use VF mode iterator. | |
9181 | (*sse2_maskmovdqu): Merge with *sse2_maskmovdqu_rex64. Use P mode | |
9182 | iterator. | |
9183 | (avx_maskload<ssemodesuffix><avxmodesuffix>): New expander. | |
9184 | (avx_maskstore<ssemodesuffix><avxmodesuffix>): Ditto. | |
9185 | (*avx_maskmov<ssemodesuffix><avxmodesuffix>): New insn. | |
9186 | ||
09a2806f JH |
9187 | 2011-04-18 Jan Hubicka <jh@suse.cz> |
9188 | ||
8a8dccb2 JH |
9189 | * ipa-inline.c (inline_small_functions): Fix pasto in previous patch. |
9190 | ||
09a2806f JH |
9191 | * ipa-inline.c: Fix comment typos; do not inline gt-ipa-inline.h |
9192 | (want_inline_function_called_once_p): Break out the logic from | |
9193 | ipa_inline. | |
9194 | (edge_badness): Ensure that profile is not misupdated. | |
9195 | (lookup_recursive_calls): Prioritize by call frequencies. | |
9196 | (inline_small_functions): Move program size estimates here; | |
9197 | actually process whole queue even when unit growth has been | |
9198 | met. (to properly compute inline_failed reasons and for the | |
f60c2554 | 9199 | case unit size decrease.) Revisit comments on recursive inlining. |
09a2806f JH |
9200 | (ipa_inline): Remove unit summary code; first inline hot calls |
9201 | of functions called once, cold calls next. | |
9202 | (order, nnodes): Remove unused variables. | |
9203 | * Makefile.in (ipa-inline.o): No longer depent on ggc files. | |
9204 | (GTFILES): Remove ipa-inline.c | |
9205 | * sel-sched.c (fill_insns): Silence uninitialized var warning. | |
9206 | ||
3eea52ef EB |
9207 | 2011-04-18 Eric Botcazou <ebotcazou@adacore.com> |
9208 | ||
9209 | * dwarf2out.c (is_redundant_typedef): Add 'inline' to prototype. | |
9210 | ||
229a1c59 | 9211 | 2011-04-18 Jie Zhang <jie@codesourcery.com> |
3eea52ef | 9212 | Richard Earnshaw <rearnsha@arm.com> |
229a1c59 JZ |
9213 | |
9214 | * arm.c (neon_builtin_type_bits): Remove. | |
9215 | (typedef enum neon_builtin_mode): New. | |
9216 | (T_MAX): Don't define. | |
9217 | (typedef enum neon_builtin_datum): Remove bits, codes[], | |
9218 | num_vars and base_fcode. Add mode, code and fcode. | |
9219 | (VAR1, VAR2, VAR3, VAR4, VAR5, VAR6, VAR7, VAR8, VAR9 | |
9220 | VAR10): Change accordingly. | |
9221 | (neon_builtin_data[]): Change accordingly | |
9222 | (arm_init_neon_builtins): Change accordingly. | |
9223 | (neon_builtin_compare): Remove. | |
9224 | (locate_neon_builtin_icode): Remove. | |
9225 | (arm_expand_neon_builtin): Change accordingly. | |
9226 | ||
9227 | * arm.h (enum arm_builtins): Move to ... | |
9228 | * arm.c (enum arm_builtins): ... here; and rearrange builtin code. | |
9229 | ||
9230 | * arm.c (arm_builtin_decl): Declare. | |
9231 | (TARGET_BUILTIN_DECL): Define. | |
9232 | (enum arm_builtins): Correct ARM_BUILTIN_MAX. | |
9233 | (arm_builtin_decls[]): New. | |
9234 | (arm_init_neon_builtins): Store builtin declarations in | |
9235 | arm_builtin_decls[]. | |
9236 | (arm_init_tls_builtins): Likewise. | |
9237 | (arm_init_iwmmxt_builtins): Likewise. Refactor initialization code. | |
9238 | (arm_builtin_decl): New. | |
9239 | ||
75e802cc RG |
9240 | 2011-04-18 Richard Guenther <rguenther@suse.de> |
9241 | ||
9242 | * tree.c (upper_bound_in_type): Build properly canonicalized | |
9243 | INTEGER_CSTs. | |
9244 | (lower_bound_in_type): Likewise. | |
9245 | ||
3b45a007 RG |
9246 | 2011-04-18 Richard Guenther <rguenther@suse.de> |
9247 | ||
9248 | * gimple.h (gimple_call_addr_fndecl): New function. | |
9249 | (gimple_call_fndecl): Use it. | |
9250 | * gimple-fold.c (gimple_fold_call): Fold away OBJ_TYPE_REFs | |
9251 | for direct calls. | |
9252 | * tree-ssa-ccp.c (ccp_fold_stmt): Remove OBJ_TYPE_REF folding. | |
9253 | * tree-ssa-pre.c (eliminate): Also simplify indirect OBJ_TYPE_REFs. | |
9254 | ||
d25a79ea RG |
9255 | 2011-04-18 Richard Guenther <rguenther@suse.de> |
9256 | ||
9257 | PR middle-end/48650 | |
9258 | * tree.c (build_string): STRING_CST is now derived from tree_typed. | |
9259 | ||
7d5fc814 EB |
9260 | 2011-04-18 Eric Botcazou <ebotcazou@adacore.com> |
9261 | ||
9262 | PR lto/48492 | |
9263 | * cfgexpand.c (expand_debug_expr) <VAR_DECL>: Return NULL for a | |
9264 | DECL_IN_CONSTANT_POOL without RTL. | |
9265 | ||
7e7cfcf6 UW |
9266 | 2011-04-18 Ulrich Weigand <ulrich.weigand@linaro.org> |
9267 | Ira Rosen <ira.rosen@linaro.org> | |
9268 | ||
9269 | PR target/48252 | |
9270 | * config/arm/arm.c (neon_emit_pair_result_insn): Swap arguments | |
9271 | to match neon_vzip/vuzp/vtrn_internal. | |
9272 | * config/arm/neon.md (neon_vtrn<mode>_internal): Make both | |
9273 | outputs explicitly dependent on both inputs. | |
9274 | (neon_vzip<mode>_internal, neon_vuzp<mode>_internal): Likewise. | |
9275 | ||
49eab32e JJ |
9276 | 2011-04-18 Jakub Jelinek <jakub@redhat.com> |
9277 | ||
9278 | PR tree-optimization/48616 | |
9279 | * tree-vect-stmts.c (vectorizable_shift): If SLP, determine | |
9280 | whether the shift is by scalar or vector based on whether all SLP | |
9281 | scalar stmts have the same rhs. | |
9282 | ||
e54170f4 CLT |
9283 | 2011-04-17 Chung-Lin Tang <cltang@codesourcery.com> |
9284 | ||
9285 | * config/arm/arm.c (neon_struct_mem_operand): Support POST_INC/PRE_DEC | |
9286 | memory operands. | |
9287 | ||
b14ee6c9 RS |
9288 | 2011-04-17 Richard Sandiford <rdsandiford@googlemail.com> |
9289 | ||
269e0e18 | 9290 | PR target/43700 |
b14ee6c9 RS |
9291 | * config/mips/mips.c (mips_cfun_call_saved_reg_p): Handle global |
9292 | registers. | |
9293 | ||
10158cd3 JH |
9294 | 2011-04-17 Jan Hubicka <jh@suse.cz> |
9295 | ||
9296 | * cgrpah.h (struct cgraph_node): Remove finalized_by_frontend. | |
7d5fc814 EB |
9297 | * cgrpahunit.c (cgraph_finalize_function): Do not set |
9298 | finalized_by_frontend. | |
10158cd3 JH |
9299 | * lto-cgraph.c (lto_output_node, input_overwrite_node): Do not stream |
9300 | finalized_by_frontend. | |
9301 | ||
2e9bb6ba JH |
9302 | 2011-04-17 Jan Hubicka <jh@suse.cz> |
9303 | ||
9304 | * cgraph.c (cgraph_clone_node): Do not handle vtable_method | |
9305 | * cgraph.h (struct cgraph_local_info): Drop vtable_method. | |
9306 | * cgraphunit.c (cgraph_copy_node_for_versioning): Drop vtable_method. | |
7d5fc814 EB |
9307 | * lto-cgraph.c (lto_output_node, input_overwrite_node): Drop vtable |
9308 | method. | |
2e9bb6ba JH |
9309 | * gimple-fold.c (can_refer_decl_in_current_unit_p): Mention PR20991 in |
9310 | gimple-fold.c | |
9311 | * varasm.c (mark_decl_referenced): Drop vtable_method handling code. | |
9312 | ||
beb628e1 EB |
9313 | 2011-04-17 Eric Botcazou <ebotcazou@adacore.com> |
9314 | ||
9315 | PR lto/48538 | |
9316 | * lto-cgraph.c (merge_profile_summaries): Check that lto_file_data | |
9317 | is non-null before accessing it. | |
9318 | (input_cgraph): Remove trailing spaces. | |
9319 | ||
3e2fdd24 RE |
9320 | 2011-04-17 Revital Eres <revital.eres@linaro.org> |
9321 | ||
9322 | * params.def (sms-min-sc): New param flag. | |
9323 | * modulo-sched.c (sms_schedule): Use it. | |
9324 | * doc/invoke.texi (sms-min-sc): Document it. | |
9325 | ||
4c0f7679 JH |
9326 | 2011-04-17 Jan Hubicka <jh@suse.cz> |
9327 | ||
9328 | * lto-symtab.c (lto_cgraph_replace_node): When call statement is | |
9329 | present, also set gimple_call_set_cannot_inline. | |
9330 | * ipa-inline.c: Update toplevel comment. | |
9331 | (MAX_TIME): Remove. | |
9332 | (cgraph_clone_inlined_nodes): Fix linebreaks. | |
9333 | (cgraph_check_inline_limits): Restructure to ... | |
9334 | (caller_growth_limits): ... this one; be more tolerant | |
9335 | on growth in nested inline chains; add explanatory comment; | |
9336 | fix stack accounting thinko introduced by previous patch. | |
9337 | (cgraph_default_inline_p): Remove. | |
9338 | (report_inline_failed_reason): New function. | |
9339 | (can_inline_edge_p): New function. | |
9340 | (can_early_inline_edge_p): New function. | |
9341 | (leaf_node_p): Move upwards in file. | |
9342 | (want_early_inline_function_p): New function. | |
9343 | (want_inline_small_function_p): New function. | |
9344 | (want_inline_self_recursive_call_p): New function. | |
9345 | (cgraph_edge_badness): Rename to ... | |
9346 | (edge_badness) ... this one; fix linebreaks. | |
9347 | (update_edge_key): Update call of edge_baddness; add | |
9348 | detailed dump about queue updates. | |
9349 | (update_caller_keys): Use can_inline_edge_p and | |
9350 | want_inline_small_function_p. | |
9351 | (cgraph_decide_recursive_inlining): Rename to... | |
9352 | (recursive_inlining): Use can_inline_edge_p and | |
f60c2554 UB |
9353 | want_inline_self_recursive_call_p; simplify and remove no longer |
9354 | valid FIXME. | |
4c0f7679 JH |
9355 | (cgraph_set_inline_failed): Remove. |
9356 | (add_new_edges_to_heap): Use can_inline_edge_p and | |
9357 | want_inline_small_function_p. | |
9358 | (cgraph_decide_inlining_of_small_functions): Rename to ... | |
9359 | (inline_small_functions): ... this one; cleanup; use | |
f60c2554 UB |
9360 | can/want predicates; cleanup debug ouput; work edges till fibheap |
9361 | is exhausted and do not stop once unit growth is reached; remove | |
9362 | later loop processing remaining edges. | |
4c0f7679 JH |
9363 | (cgraph_flatten): Rename to ... |
9364 | (flatten_function): ... this one; use can_inline_edge_p | |
9365 | and can_early_inline_edge_p predicates. | |
9366 | (cgraph_decide_inlining): Rename to ... | |
9367 | (ipa_inline): ... this one; remove unreachable nodes before | |
9368 | inlining functions called once; simplify the pass. | |
9369 | (cgraph_perform_always_inlining): Rename to ... | |
9370 | (inline_always_inline_functions): ... this one; use | |
f60c2554 | 9371 | DECL_DISREGARD_INLINE_LIMITS; use can_inline_edge_p predicate. |
4c0f7679 JH |
9372 | (cgraph_decide_inlining_incrementally): Rename to ... |
9373 | (early_inline_small_functions): ... this one; simplify | |
9374 | using new predicates; cleanup; make dumps prettier. | |
9375 | (cgraph_early_inlining): Rename to ... | |
9376 | (early_inliner): newer inline regular functions into always-inlines; | |
9377 | fix updating of call stmt summaries. | |
9378 | (pass_early_inline): Update for new names. | |
9379 | (inline_transform): Fix formating. | |
9380 | (gate_cgraph_decide_inlining): Rename to ... | |
9381 | (pass_ipa_inline): ... this one. | |
9382 | * ipa-inline.h (inline_summary): Remove disregard_inline_limits. | |
9383 | * ipa-inline-analysis.c (dump_inline_summary): Update. | |
9384 | (compute_inline_parameters): Do not compute disregard_inline_limits; | |
9385 | look for mismatching arguments. | |
9386 | (estimate_growth): Fix handlig of non-trivial self recursion. | |
9387 | (inline_read_summary): Do not read info->disregard_inline_limits. | |
9388 | (inline_write_summary): Do not write info->disregard_inline_limits. | |
beb628e1 EB |
9389 | * tree-inline.c (inline_forbidden_into_p, tree_can_inline_p): Remove |
9390 | and move all checks into can_inline_edge_p predicate; re-enable code | |
9391 | comparing optimization levels. | |
4c0f7679 JH |
9392 | (expand_call_inline): Do not test inline_forbidden_into_p. |
9393 | * Makefile.in (ipa-inline.o): Update arguments. | |
9394 | ||
54333b7c RE |
9395 | 2011-04-17 Revital Eres <revital.eres@linaro.org> |
9396 | ||
9397 | * ddg.c (free_ddg_all_sccs): Free sccs field in struct ddg_all_sccs. | |
9398 | ||
42c2bf92 RE |
9399 | 2011-04-17 Revital Eres <revital.eres@linaro.org> |
9400 | ||
9401 | * modulo-sched.c (sms_schedule): Avoid unfreed memory when SMS fails. | |
9402 | ||
b183e9e0 MM |
9403 | 2011-04-17 Michael Matz <matz@suse.de> |
9404 | ||
9405 | PR tree-optimization/48622 | |
9406 | PR lto/48645 | |
9407 | * ipa-inline-analysis.c (inline_read_summary): Read size/time | |
9408 | in same order as they're written. | |
9409 | ||
b8a17fa2 JDA |
9410 | 2011-04-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
9411 | ||
9412 | * config/pa/predicates.md: Reorganize and simplify predicates. | |
9413 | Eliminate duplicate code checks. | |
9414 | (arith_operand): Rename to arith14_operand | |
9415 | (reg_or_ior_operand): Rename to reg_or_cint_ior_operand. | |
9416 | * config/pa/pa.md: Use renamed operands. | |
9417 | * config/pa/pa-protos.h (symbolic_operand): Delete declaration. | |
9418 | (tls_symbolic_operand, function_label_operand, lhs_lshift_cint_operand, | |
9419 | arith11_operand, adddi3_operand, indexed_memory_operand, | |
9420 | symbolic_memory_operand, int11_operand, reg_or_cint_move_operand, | |
9421 | arith5_operand, uint5_operand, pic_label_operand, plus_xor_ior_operator, | |
9422 | borx_reg_operand, shadd_operand, arith_operand, read_only_operand, | |
9423 | move_dest_operand, move_src_operand, prefetch_cc_operand, | |
9424 | prefetch_nocc_operand, and_operand, ior_operand, arith32_operand, | |
9425 | uint32_operand, reg_before_reload_operand, reg_or_0_operand, | |
9426 | reg_or_0_or_nonsymb_mem_operand, pre_cint_operand, post_cint_operand, | |
9427 | div_operand, int5_operand, movb_comparison_operator, | |
9428 | ireg_or_int5_operand, call_operand_address, ior_operand, fp_reg_operand, | |
9429 | arith_double_operand, ireg_operand, lhs_lshift_operand, | |
9430 | pc_or_label_operand, non_hard_reg_operand, eq_neq_comparison_operator, | |
9431 | integer_store_memory_operand): Likewise. | |
9432 | * config/pa/pa.c (adddi3_operand): Move to predicates.md. | |
9433 | (integer_store_memory_operand, read_only_operand, | |
9434 | function_label_operand, borx_reg_operand, | |
9435 | non_hard_reg_operand): Likewise. | |
9436 | (eq_neq_comparison_operator): Delete unused operator. | |
9437 | (legitimize_pic_address): Use VOIDmode for mode argument in calls to | |
9438 | function_label_operand. | |
9439 | (emit_move_sequence): Likewise. | |
9440 | ||
8dfb9f16 UB |
9441 | 2011-04-16 Uros Bizjak <ubizjak@gmail.com> |
9442 | ||
9443 | * config/i386/sse.md (sseunpackmode): New mode attribute. | |
9444 | (ssepackmode): Ditto. | |
9445 | (vec_pack_trunc_<mode>): Macroize expander from | |
9446 | vec_pack_trunc_{v8hi,v4si,v2di} using VI248_128 mode iterator. | |
9447 | (vec_unpacks_lo_<mode>): Macroize expander from | |
9448 | vec_unpacks_lo_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
9449 | (vec_unpacks_hi_<mode>): Macroize expander from | |
9450 | vec_unpacks_hi_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
9451 | (vec_unpacku_lo_<mode>): Macroize expander from | |
9452 | vec_unpacku_lo_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
9453 | (vec_unpacku_hi_<mode>): Macroize expander from | |
9454 | vec_unpacks_hi_{v16qi,v8hi,v4si} using VI124_128 mode iterator. | |
9455 | * config/i386/i386.c (ix86_expand_sse_unpack): Merge with | |
9456 | ix86_expand_sse4_unpack. | |
9457 | * config/i386/i386-protos.h (ix86_expand_sse4_unpack): Remove. | |
9458 | ||
e7f23018 JH |
9459 | 2011-04-16 Jan Hubicka <jh@suse.cz> |
9460 | ||
9461 | * cgraphbuild.c: Include ipa-inline.h. | |
9462 | (reset_inline_failed): Use initialize_inline_failed. | |
9463 | * cgraph.c: Include ipa-inline.h. | |
9464 | (cgraph_create_node_1): Do not initialize estimated_growth. | |
9465 | (initialize_inline_failed): More to ipa-inline-analysis.c | |
9466 | (dump_cgraph_node): Do not dump inline flags. | |
9467 | * cgraph.h (cgraph_local_info): Remove inlineable, versionable | |
9468 | and disregard_inline_limits flags. | |
9469 | (cgrpah_global_info): Remove estimated_stack_size, stack_frame_offset, | |
9470 | time, size, estimated_growth. | |
8dfb9f16 UB |
9471 | * ipa-cp.c (ipcp_versionable_function_p, ipcp_generate_summary): |
9472 | Update. | |
e7f23018 JH |
9473 | * cgraphunit.c (cgraph_decide_is_function_needed): Use |
9474 | DECL_DISREGARD_INLINE_LIMITS. | |
9475 | (cgraph_analyze_function): Do not initialize | |
9476 | node->local.disregard_inline_limits. | |
9477 | * lto-cgraph.c (lto_output_node, input_overwrite_node): Do not stream | |
9478 | inlinable, versionable and disregard_inline_limits. | |
9479 | * ipa-inline.c (cgraph_clone_inlined_nodes, cgraph_mark_inline_edge, | |
8dfb9f16 UB |
9480 | cgraph_check_inline_limits, cgraph_default_inline_p, |
9481 | cgraph_edge_badness, update_caller_keys, update_callee_keys, | |
9482 | add_new_edges_to_heap): Update. | |
9483 | (cgraph_decide_inlining_of_small_function): Update; set | |
9484 | CIF_FUNCTION_NOT_INLINABLE for uninlinable functions. | |
e7f23018 JH |
9485 | (cgraph_decide_inlining, cgraph_edge_early_inlinable_p, |
9486 | cgraph_decide_inlining_incrementally): Update. | |
8dfb9f16 UB |
9487 | * ipa-inline.h (inline_summary): Add inlinable, versionable, |
9488 | disregard_inline_limits, estimated_stack_size, stack_frame_offset, | |
9489 | time, size and estimated_growth parameters. | |
e7f23018 JH |
9490 | (estimate_edge_growth): Update. |
9491 | (initialize_inline_failed): Declare. | |
9492 | * ipa-split.c: Include ipa-inline.h | |
9493 | (execute_split_functions): Update. | |
9494 | * ipa.c (cgraph_postorder): Use DECL_DISREGARD_INLINE_LIMITS. | |
9495 | (cgraph_remove_unreachable_nodes): Do not clear inlinable flag. | |
9496 | (record_cdtor_fn): Use DECL_DISREGARD_INLINE_LIMITS. | |
9497 | * ipa-inline-analysis.c (inline_node_removal_hook): Update; set | |
9498 | estimated_growth to INT_MIN. | |
9499 | (inline_node_duplication_hook): Likewise. | |
9500 | (dump_inline_summary): Dump new fields. | |
9501 | (compute_inline_parameters): Update. | |
9502 | (estimate_edge_time, estimate_time_after_inlining, | |
9503 | estimate_size_after_inlining, estimate_growth, inline_read_summary, | |
9504 | inline_write_summary): | |
9505 | (initialize_inline_failed): Move here from cgraph.c. | |
9506 | * tree-sra.c: Include ipa-inline.h. | |
9507 | (ipa_sra_preliminary_function_checks): Update. | |
f60c2554 UB |
9508 | * Makefile.in (cgraph.o, cgraphbuild.o): Add dependency on |
9509 | ipa-inline.h. | |
e7f23018 | 9510 | |
e81b8564 UB |
9511 | 2011-04-16 Uros Bizjak <ubizjak@gmail.com> |
9512 | ||
9513 | * config/i386/sse.md (V16): New mode iterator. | |
9514 | (VI1, VI8): Ditto. | |
9515 | (AVXMODEQI, AVXMODEDI): Remove. | |
9516 | (sse2, sse3): New mode attribute. | |
9517 | (mov<mode>): Use V16 mode iterator. | |
9518 | (*mov<mode>_internal): Merge with *avx_mov<mode>_internal. | |
9519 | (push<mode>1): Use V16 mode iterator. | |
9520 | (movmisalign<mode>): Ditto. | |
9521 | (<sse>_movu<ssemodesuffix><avxmodesuffix>): Merge from | |
9522 | <sse>_movu<ssemodesuffix> and avx_movu<ssemodesuffix><avxmodesuffix>. | |
9523 | (*<sse>_movu<ssemodesuffix><avxmodesuffix>): Merge from | |
9524 | *<sse>_movu<ssemodesuffix> and *avx_movu<ssemodesuffix><avxmodesuffix>. | |
9525 | (<sse2>_movdqu<avxmodesuffix>): Merge from sse2_movdqu and | |
9526 | avx_movdqu<avxmodesuffix>. | |
9527 | (*<sse2>_movdqu<avxmodesuffix>): Merge from *sse2_movdqu and | |
9528 | *avx_movdqu<avxmodesuffix>. | |
9529 | (<sse3>_lddqu<avxmodesuffix>) Merge from sse3_lddqu and | |
9530 | avx_lddqu<avxmodesuffix>. | |
9531 | (<sse>_movnt<mode>): Merge with avx_movnt<AVXMODEF2P:mode>. | |
9532 | (<sse2>_movnt<mode>): Merge from sse2_movntv2di and | |
9533 | avx_movnt<AVXMODEDI:mode>. | |
9534 | * config/i386/i386.c (ix86_expand_vector_move_misalign): Update for | |
9535 | renamed sse_movups, sse2_movupd and sse2_movdqu patterns. | |
9536 | ||
4743d438 BS |
9537 | 2011-04-16 Bernd Schmidt <bernds@codesourcery.com> |
9538 | ||
9539 | PR target/48629 | |
9540 | * haifa-sched.c (prune_ready_list, schedule_block): Use | |
9541 | sched_pressure_p rather than flag_sched_pressure. | |
9542 | ||
748f7574 | 9543 | 2011-04-15 Pat Haugen <pthaugen@us.ibm.com> |
eb229cf4 PH |
9544 | |
9545 | * config/rs6000/rs6000.c (call_ABI_of_interest): Call | |
9546 | cgraph_get_node instead of cgraph_get_create_node. | |
9547 | ||
2ba172e0 JJ |
9548 | 2011-04-15 Jakub Jelinek <jakub@redhat.com> |
9549 | ||
9550 | * cfgexpand.c (expand_debug_expr): Use | |
9551 | simplify_gen_{unary,binary,ternary} instead of gen_rtx_*. | |
9552 | ||
63d2a353 MM |
9553 | 2011-04-15 Michael Matz <matz@suse.de> |
9554 | ||
9555 | * tree.h (ALLOCA_FOR_VAR_P): Rename to CALL_ALLOCA_FOR_VAR_P. | |
9556 | * builtins.c (expand_builtin): Use CALL_ALLOCA_FOR_VAR_P. | |
9557 | * function.c (gimplify_parameters): Ditto. | |
9558 | * gimplify.c (gimplify_vla_decl): Ditto. | |
9559 | ||
9560 | * gimple.h (enum gf_mask): Add GF_CALL_ALLOCA_FOR_VAR. | |
9561 | (gimple_call_set_alloca_for_var): New inline function. | |
9562 | (gimple_call_alloca_for_var_p): Ditto. | |
e81b8564 UB |
9563 | * gimple.c (gimple_build_call_from_tree): Remember |
9564 | CALL_ALLOCA_FOR_VAR_P state. | |
63d2a353 MM |
9565 | * cfgexpand.c (expand_call_stmt): Restore CALL_ALLOCA_FOR_VAR_P state. |
9566 | ||
9567 | * tree-inline.c (inline_forbidden_p_stmt): Don't reject alloca | |
9568 | calls if they were for VLA objects. | |
9569 | ||
dee74c34 MJ |
9570 | 2011-04-15 Martin Jambor <mjambor@suse.cz> |
9571 | ||
9572 | * ipa-prop.c (ipa_analyze_virtual_call_uses): Remove handling | |
9573 | of ADR_EXPRs. | |
9574 | ||
8e5837bc MJ |
9575 | 2011-04-15 Martin Jambor <mjambor@suse.cz> |
9576 | ||
9577 | PR middle-end/48601 | |
9578 | * tree-emutls.c (lower_emutls_function_body): Call | |
9579 | cgraph_get_create_node instead of cgraph_get_node. Do not assert the | |
9580 | result is non-NULL. | |
9581 | ||
0dc33c3c NP |
9582 | 2011-04-15 Nicola Pero <nicola.pero@meta-innovation.com> |
9583 | ||
9584 | * c-decl.c (detect_field_duplicates): Call | |
9585 | objc_detect_field_duplicates instead of objc_get_interface_ivars. | |
9586 | ||
edcdea5b NF |
9587 | 2011-04-15 Nathan Froyd <froydnj@codesourcery.com> |
9588 | ||
9589 | * gimple.h (gimple_asm_clobbers_memory_p): Declare. | |
9590 | * gimple.c (gimple_asm_clobbers_memory_p): Define. | |
9591 | * ipa-pure-const.c (check_stmt): Call it. | |
9592 | * tree-ssa-operands.c (get_asm_expr_operands): Likewise. | |
9593 | ||
8456558d RG |
9594 | 2011-04-15 Richard Guenther <rguenther@suse.de> |
9595 | ||
9596 | PR tree-optimization/48290 | |
9597 | * tree-ssa-copy.c (copy_prop_visit_phi_node): Propagate constants. | |
9598 | Properly decide inhibiting propagation based on the valueized | |
9599 | operand. Do loop-closed SSA form preserving here ... | |
9600 | (init_copy_prop): ... not here. | |
9601 | ||
266446be L |
9602 | 2011-04-15 H.J. Lu <hongjiu.lu@intel.com> |
9603 | ||
9604 | PR target/48612 | |
9605 | * config/i386/sse.md (*ieee_smin<mode>3): Switch mnemonics. | |
9606 | (*ieee_smax<mode>3): Likewise. | |
9607 | ||
17465c6e AK |
9608 | 2011-04-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
9609 | ||
9610 | * config/s390/s390.md (popcountdi2, popcountsi2, popcounthi2): | |
9611 | Replace match_operand with match_dup for the third operand in | |
9612 | these expanders. | |
9613 | ||
bce204e5 MK |
9614 | 2011-04-15 Maxim Kuvyrkov <maxim@codesourcery.com> |
9615 | ||
9616 | * combine.c (subst, combine_simlify_rtx): Add new argument, use it | |
9617 | to track processing of conditionals. Update all callers. | |
9618 | (try_combine, simplify_if_then_else): Update. | |
9619 | ||
3162fdf4 MK |
9620 | 2011-04-15 Maxim Kuvyrkov <maxim@codesourcery.com> |
9621 | ||
9622 | * config/m68k/m68k.c (m68k_sched_variable_issue): Handle | |
9623 | -fsched-pressure. | |
9624 | ||
79002a57 | 9625 | 2011-04-15 Georg-Johann Lay <avr@gjlay.de> |
e81b8564 | 9626 | |
79002a57 GJL |
9627 | * config/avr/avr.md ("rotl<mode>3",mode=HIDI): Use match_dup |
9628 | instead of match_operand for operand 3. | |
9629 | ||
4fd3a105 RS |
9630 | 2011-04-15 Richard Sandiford <richard.sandiford@linaro.org> |
9631 | ||
9632 | * recog.h (insn_operand_data): Add an "allows_mem" field. | |
9633 | * genoutput.c (output_operand_data): Initialize it. | |
9634 | * optabs.c (maybe_legitimize_operand_same_code): New function. | |
9635 | (maybe_legitimize_operand): Use it when matching the original | |
9636 | op->value. | |
9637 | ||
ad19c4be EB |
9638 | 2011-04-15 Eric Botcazou <ebotcazou@adacore.com> |
9639 | ||
9640 | * gimplify.c: Fix issues in comments throughout. | |
9641 | (voidify_wrapper_expr): Fix long line. | |
9642 | (build_stack_save_restore): Likewise. | |
9643 | (gimplify_loop_expr): Likewise. | |
9644 | (gimplify_compound_lval): Likewise. | |
9645 | (gimplify_init_ctor_eval): Likewise. | |
9646 | (gimplify_modify_expr_rhs): Likewise. | |
9647 | (omp_notice_threadprivate_variable): Likewise. | |
9648 | ||
b25aa0e8 | 9649 | 2011-04-15 Eric Botcazou <ebotcazou@adacore.com> |
e7925582 | 9650 | |
b25aa0e8 EB |
9651 | * cfgexpand.c (expand_call_stmt): Convert the function type to the |
9652 | original one if this is not a builtin function. | |
e7925582 | 9653 | |
09db7afe JJ |
9654 | 2011-04-14 Jakub Jelinek <jakub@redhat.com> |
9655 | ||
9656 | PR target/48605 | |
9657 | * config/i386/sse.md (sse4_1_insertps): If operands[2] is a MEM, | |
9658 | offset it as needed based on top 2 bits in operands[3], change | |
9659 | MEM mode to SFmode and mask those 2 bits away from operands[3]. | |
9660 | ||
c59633d9 NP |
9661 | 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com> |
9662 | ||
9663 | * c-parser.c (c_parser_objc_protocol_definition): Updated for | |
9664 | change from objc_declare_protocols() to objc_declare_protocol(). | |
9665 | ||
5e60198b UB |
9666 | 2011-04-14 Uros Bizjak <ubizjak@gmail.com> |
9667 | ||
9668 | * config/i386/sse.md (sse4_1): New mode attribute. | |
9669 | (<sse4_1>_blend<ssemodesuffix><avxmodesuffix>): Macroize from | |
9670 | avx_blend<ssemodesuffix><avxmodesuffix> and | |
9671 | sse4_1_blend<ssemodesuffix> using VF mode iterator. | |
9672 | (<sse4_1>_blendv<ssemodesuffix><avxmodesuffix>): Macroize from | |
9673 | avx_blendv<ssemodesuffix><avxmodesuffix> and | |
9674 | sse4_1_blendv<ssemodesuffix> using VF mode iterator. | |
9675 | (<sse4_1>_dp<ssemodesuffix><avxmodesuffix>): Macroize from | |
9676 | avx_dp<ssemodesuffix><avxmodesuffix> and | |
9677 | sse4_1_dp<ssemodesuffix> using VF mode iterator. | |
9678 | (sse4_1_mpsadbw): Merge with *avx_mpsadbw. | |
9679 | (sse4_1_packusdw): Merge with *avx_packusdw. | |
9680 | (sse4_1_pblendvb): Merge with *avx_pblendvb. | |
9681 | (sse4_1_pblendw): Merge with *avx_pblendw. | |
9682 | (avx_vtest<ssemodesuffix><avxmodesuffix>): Use VF mode iterator. | |
9683 | (<sse4_1>_round<ssemodesuffix><avxmodesuffix>): Macroize from | |
9684 | avx_round<ssemodesuffix>256 and sse4_1_round<ssemodesuffix> using | |
9685 | VF mode iterator. | |
9686 | (sse4_1_round<ssescalarmodesuffix>): Merge with | |
9687 | *avx_round<ssescalarmodesuffix>. | |
9688 | (aesenc): Merge with *avx_aesenc. | |
9689 | (aesenclast): Merge with *avx_aesenclast. | |
9690 | (aesdec): Merge with *avx_aesdec. | |
9691 | (aesdeclast): Merge with *avx_aesdeclast. | |
9692 | (pclmulqdq): Merge with *pclmulqdq. | |
9693 | * config/i386/predicates.md (reg_not_xmm0_operand_maybe_avx): | |
9694 | New predicate. | |
9695 | (nonimm_not_xmm0_operand_maybe_avx): Ditto. | |
9696 | ||
6f197850 L |
9697 | 2011-04-14 H.J. Lu <hongjiu.lu@intel.com> |
9698 | ||
9699 | PR middle-end/48608 | |
9700 | * cfgexpand.c (get_decl_align_unit): Renamed to ... | |
9701 | (align_local_variable): This. Update DECL_ALIGN. | |
9702 | (add_stack_var): Updated. | |
9703 | (expand_one_stack_var): Likewise. | |
9704 | ||
4a5ba3ed RG |
9705 | 2011-04-14 Richard Guenther <rguenther@suse.de> |
9706 | ||
9707 | * tree-ssa-dse.c (struct dse_global_data, struct dse_block_local_data): | |
9708 | Remove. | |
9709 | (dse_initialize_block_local_data, dse_leave_block, | |
9710 | record_voperand_set, get_stmt_uid): Likewise. | |
9711 | (dse_possible_dead_store_p): Allow any kind of killing stmt. | |
9712 | (dse_optimize_stmt): Remove voperand set handling code. | |
9713 | Simplify and improve to handle any kind of killing stmt. | |
9714 | (dse_record_phi): Remove. | |
9715 | (dse_enter_block): Simplify. | |
9716 | (tree_ssa_dse): Likewise. | |
9717 | * tree-ssa-alias.c (stmt_kills_ref_p_1): Handle some builtins. | |
9718 | ||
10a5dd5d JH |
9719 | 2011-04-14 Jan Hubicka <jh@suse.cz> |
9720 | ||
9721 | * cgraph.c (dump_cgraph_node): Do not dump inline summaries. | |
9722 | * cgraph.h (struct inline_summary): Move to ipa-inline.h | |
9723 | (cgraph_local_info): Remove inline_summary. | |
9724 | * ipa-cp.c: Include ipa-inline.h. | |
9725 | (ipcp_cloning_candidate_p, ipcp_estimate_growth, | |
9726 | ipcp_estimate_cloning_cost, ipcp_insert_stage): Use inline_summary | |
9727 | accesor. | |
9728 | * lto-cgraph.c (lto_output_node): Do not stream inline summary. | |
9729 | (input_overwrite_node): Do not set inline summary. | |
9730 | (input_node): Do not stream inline summary. | |
9731 | * ipa-inline.c (cgraph_decide_inlining): Dump inline summaries. | |
9732 | (cgraph_decide_inlining_incrementally): Do not try to estimate overall | |
9733 | growth; we do not have inline parameters computed for that anyway. | |
9734 | (cgraph_early_inlining): After inlining compute call_stmt_sizes. | |
9735 | * ipa-inline.h (struct inline_summary): Move here from ipa-inline.h | |
9736 | (inline_summary_t): New type and VECtor. | |
9737 | (debug_inline_summary, dump_inline_summaries): Declare. | |
9738 | (inline_summary): Use VOCtor. | |
9739 | (estimate_edge_growth): Kill hack computing call stmt size directly. | |
9740 | * lto-section-in.c (lto_section_name): Add inline section. | |
9741 | * ipa-inline-analysis.c: Include lto-streamer.h | |
9742 | (node_removal_hook_holder, node_duplication_hook_holder): New holders | |
9743 | (inline_node_removal_hook, inline_node_duplication_hook): New functions. | |
9744 | (inline_summary_vec): Define. | |
9745 | (inline_summary_alloc, dump_inline_summary, debug_inline_summary, | |
9746 | dump_inline_summaries): New functions. | |
5e60198b UB |
9747 | (estimate_function_body_sizes): Properly compute size/time of outgoing |
9748 | calls. | |
9749 | (compute_inline_parameters): Alloc inline_summary; do not compute | |
9750 | size/time of incomming calls. | |
10a5dd5d JH |
9751 | (estimate_edge_time): Avoid missing time summary hack. |
9752 | (inline_read_summary): Read inline summary info. | |
9753 | (inline_write_summary): Write inline summary info. | |
9754 | (inline_free_summary): Free all hooks and inline summary vector. | |
9755 | * lto-streamer.h: Add LTO_section_inline_summary section. | |
9756 | * Makefile.in (ipa-cp.o, ipa-inline-analysis.o): Update dependencies. | |
9757 | * ipa.c (cgraph_remove_unreachable_nodes): Fix dump file formating. | |
9758 | ||
b602d918 RS |
9759 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
9760 | ||
9761 | * tree-vectorizer.h (vect_strided_store_supported): Add a | |
9762 | HOST_WIDE_INT argument. | |
9763 | (vect_strided_load_supported): Likewise. | |
9764 | (vect_permute_store_chain): Return void. | |
9765 | (vect_transform_strided_load): Likewise. | |
9766 | (vect_permute_load_chain): Delete. | |
9767 | * tree-vect-data-refs.c (vect_strided_store_supported): Take a | |
9768 | count argument. Check that the count is a power of two. | |
9769 | (vect_strided_load_supported): Likewise. | |
9770 | (vect_permute_store_chain): Return void. Update after above changes. | |
9771 | Assert that the access is supported. | |
9772 | (vect_permute_load_chain): Likewise. | |
9773 | (vect_transform_strided_load): Return void. | |
9774 | * tree-vect-stmts.c (vectorizable_store): Update calls after | |
9775 | above interface changes. | |
9776 | (vectorizable_load): Likewise. | |
9777 | (vect_analyze_stmt): Don't check for strided powers of two here. | |
9778 | ||
ab4472fa RG |
9779 | 2011-04-14 Richard Guenther <rguenther@suse.de> |
9780 | ||
9781 | PR tree-optimization/48590 | |
9782 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle | |
9783 | BUILT_IN_ALLOCA, BUILT_IN_STACK_SAVE and BUILT_IN_STACK_RESTORE. | |
9784 | (call_may_clobber_ref_p_1): Handle BUILT_IN_ALLOCA and | |
9785 | BUILT_IN_STACK_SAVE. | |
9786 | * tree-ssa-dce.c (propagate_necessity): Handle | |
9787 | BUILT_IN_ALLOCA, BUILT_IN_STACK_SAVE and BUILT_IN_STACK_RESTORE. | |
9788 | ||
32dabdaf NP |
9789 | 2011-04-14 Nicola Pero <nicola.pero@meta-innovation.com> |
9790 | ||
9791 | * c-parser.c (c_parser_objc_class_declaration): Updated call to | |
9792 | objc_declare_class. | |
9793 | ||
daade206 RG |
9794 | 2011-04-14 Richard Guenther <rguenther@suse.de> |
9795 | ||
9796 | * tree.h (get_object_alignment_1): Declare. | |
9797 | * builtins.c (get_object_alignment_1): Split out worker from ... | |
9798 | (get_object_alignment): ... here. | |
9799 | * fold-const.c (get_pointer_modulus_and_residue): Use | |
9800 | get_object_alignment_1. | |
9801 | ||
920e8172 RS |
9802 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
9803 | ||
9804 | * tree-vectorizer.h (vect_create_data_ref_ptr): Add an extra | |
9805 | type parameter. | |
9806 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add an aggr_type | |
9807 | parameter. Generalise code to handle arrays as well as vectors. | |
9808 | (vect_setup_realignment): Update accordingly. | |
9809 | * tree-vect-stmts.c (vectorizable_store): Likewise. | |
9810 | (vectorizable_load): Likewise. | |
9811 | ||
5ce1ee7f RS |
9812 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
9813 | ||
9814 | * tree-vect-stmts.c (vectorizable_load): Allocate and free dr_chain | |
9815 | within the per-copy loop. | |
9816 | ||
6438fe33 | 9817 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
0ea25ecd RS |
9818 | |
9819 | * tree-vect-stmts.c (vectorizable_load): Print the number of copies | |
9820 | in the dump file. | |
9821 | ||
6438fe33 | 9822 | 2011-04-14 Richard Sandiford <richard.sandiford@linaro.org> |
77b10485 RS |
9823 | |
9824 | * doc/options.texi (Negative): Explicitly mention that the | |
9825 | Negative chain must be circular. | |
9826 | ||
61e46a7d NF |
9827 | 2011-04-14 Nathan Froyd <froydnj@codesourcery.com> |
9828 | ||
9829 | * function.h (block_chainon): Declare. | |
9830 | * function.c (block_chainon): Define. | |
9831 | ||
43ea6502 | 9832 | 2011-04-14 Anatoly Sokolov <aesok@post.ru> |
5e60198b | 9833 | Eric Weddington <eric.weddington@atmel.com> |
748f7574 | 9834 | Georg-Johann Lay <avr@gjlay.de> |
5e60198b | 9835 | |
f60c2554 | 9836 | * config/avr/avr.c ("insn-codes.h", "optabs.h", "langhooks.h"): |
43ea6502 AS |
9837 | New Includes |
9838 | (avr_init_builtins, avr_expand_builtin, | |
9839 | avr_expand_delay_cycles, avr_expand_unop_builtin, | |
9840 | avr_expand_binop_builtin ): New functions. | |
9841 | (avr_builtin_id): New enum | |
9842 | (struct avr_builtin_description): New struct | |
9843 | (bdesc_1arg, bdesc_2arg): New arrays describing some RTL builtins. | |
9844 | (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define. | |
5e60198b | 9845 | |
43ea6502 | 9846 | * config/avr/avr.md (UNSPEC_FMUL, UNSPEC_FMULS, UNSPEC_FMULSU, |
5e60198b | 9847 | UNSPECV_ENABLE_IRQS, UNSPECV_NOP, UNSPECV_SLEEP, UNSPECV_WDR, |
43ea6502 AS |
9848 | UNSPECV_DELAY_CYCLES): new enumeration values |
9849 | (UNSPEC_SEI, UNSPEC_CLI): Remove enumeration values | |
9850 | ("enable_interrupt"): Use UNSPECV_ENABLE_IRQS | |
9851 | ("disable_interrupt"): Use UNSPECV_ENABLE_IRQS | |
9852 | ("*rotlqi3_4"): rename insn to "rotlqi3_4" | |
9853 | ("delay_cycles_1", "delay_cycles_2", "delay_cycles_3", | |
9854 | "delay_cycles_4", "nopv", "sleep", "wdr", "fmul", "fmuls", | |
9855 | "fmulsu"): New insns | |
5e60198b | 9856 | |
43ea6502 AS |
9857 | * config/avr/avr-c.c: fix line endings |
9858 | (avr_cpu_cpp_builtins): New builtin defines: __BUILTIN_AVR_NOP, | |
9859 | __BUILTIN_AVR_SEI, __BUILTIN_AVR_CLI, __BUILTIN_AVR_WDR, | |
9860 | __BUILTIN_AVR_SLEEP, __BUILTIN_AVR_SWAP, | |
9861 | __BUILTIN_AVR_DELAY_CYCLES, __BUILTIN_AVR_FMUL, | |
9862 | __BUILTIN_AVR_FMULS, __BUILTIN_AVR_FMULSU. | |
5e60198b | 9863 | |
43ea6502 AS |
9864 | * doc/extend.texi (AVR Built-in Functions): New node |
9865 | (Target Builtins): Add documentation of AVR | |
9866 | built-in functions. | |
9867 | ||
8a9b55f3 GJL |
9868 | 2011-04-14 Georg-Johann Lay <avr@gjlay.de> |
9869 | ||
9870 | PR target/44643 | |
9871 | * config/avr/avr.c (avr_insert_attributes): Leave TREE_READONLY | |
9872 | alone. Error if non-const data has attribute progmem. | |
9873 | ||
94bd1825 NF |
9874 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
9875 | ||
9876 | * tree.h (struct tree_constructor): Include tree_typed instead of | |
9877 | tree_common. | |
9878 | * tree.c (initialize_tree_contains_struct): Mark TS_CONSTRUCTOR as | |
9879 | TS_TYPED instead of TS_COMMON. | |
9880 | ||
5e60198b | 9881 | 2011-04-13 Uros Bizjak <ubizjak@gmail.com> |
81b1e7eb UB |
9882 | |
9883 | * config/i386/sse.md (*sse2_uavgv16qi3): Merge with *avx_uavgv16qi3. | |
9884 | (*sse2_uavgv8hi3): Merge with *avx_uavgv8hi3. | |
9885 | (sse2_psadbw): Merge with *avx_psadbw. | |
9886 | (ssse3_phaddwv8hi3): Merge with *avx_phaddwv8hi3. | |
9887 | (ssse3_phadddv4si3): Merge with *avx_phadddv4si3. | |
9888 | (ssse3_phaddswv8hi3): Merge with *avx_phaddswv8hi3. | |
9889 | (ssse3_phsubwv8hi3): Merge with *avx_phsubwv8hi3. | |
9890 | (ssse3_phsubdv4si3): Merge with *avx_phsubdv4si3. | |
9891 | (ssse3_phsubswv8hi3): Merge with *avx_phsubswv8hi3. | |
9892 | (ssse3_pmaddubsw128): Merge with *avx_pmaddubsw128. | |
9893 | (*ssse3_pmulhrswv8hi3): Merge with *avx_pmulhrswv8hi3. | |
9894 | (ssse3_pshufbv16qi3): Merge with *avx_pshufbv16qi3. | |
9895 | (ssse3_psign<mode>3): Merge with *avx_psign<mode>3. | |
9896 | (ssse3_palignrti): Merge with *avx_palignrti. | |
9897 | ||
4b1a4694 NF |
9898 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
9899 | ||
9900 | * tree-flow.h (struct gimple_df): Make free_ssanames a VEC. | |
9901 | * tree-ssanames.c (fini_ssanames): VEC_free it. | |
9902 | (make_ssa_name_fn): Update for VECness of free_ssanames. | |
9903 | (release_ssa_name, release_dead_ssa_names): Likewise. | |
9904 | * tree.h (struct tree_ssa_name): Include tree_typed instead of | |
9905 | tree_common. | |
9906 | * tree.c (initialize_tree_contains_struct): Mark TS_SSA_NAME as | |
9907 | TS_TYPED instead of TS_COMMON. | |
9908 | ||
4da3b811 NF |
9909 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
9910 | ||
9911 | * postreload-gcse.c (gcse_after_reload_main): Add calls to | |
9912 | statistics_counter_event. | |
9913 | * tree-ssa-copyrename.c (stats): Define. | |
9914 | (rename_ssa_copies): Count coalesced SSA_NAMEs. Add call to | |
9915 | statistics_counter_event. | |
9916 | * tree-ssa-math-opts.c (reciprocal_stats, sincos_stats): Define. | |
9917 | (bswap_stats, widen_mul_stats): Define. | |
9918 | (insert_reciprocals): Increment rdivs_inserted. | |
9919 | (execute_cse_reciprocals): Zeroize reciprocal_stats. Increment | |
9920 | rfuncs_inserted. Add calls to statistics_counter_event. | |
9921 | (execute_cse_sincos_1): Increment inserted. | |
9922 | (execute_cse_sincos): Zeroize sincos_stats. Add call to | |
9923 | statistics_counter_event. | |
9924 | (execute_optimize_bswap): Zeroize bswap_stats. Increment fields | |
9925 | of bswap_stats. Add calls to statistics_counter_event. | |
9926 | (convert_mult_to_widen): Increment widen_mults_inserted. | |
9927 | (convert_plusminus_to_widen): Increment maccs_inserted. | |
9928 | (convert_mult_to_fma): Increment fmas_inserted. | |
9929 | (execute_optimize_widening_mul): Zeroize widen_mul_stats. Add | |
9930 | calls to statistics_counter_event. | |
9931 | ||
89fa552a VM |
9932 | 2011-04-13 Vladimir Makarov <vmakarov@redhat.com> |
9933 | ||
9934 | PR rtl-optimization/48455 | |
9935 | * ira-costs.c (find_costs_and_classes): Use i_mem_cost instead of | |
9936 | `temp_costs->mem_cost'. | |
9937 | ||
03dfc36d JH |
9938 | 2011-04-13 Jan Hubicka <jh@suse.cz> |
9939 | ||
9940 | * ipa-inline.h: New file. | |
9941 | * ipa-inline-analysis.c: New file. Broken out of ... | |
9942 | * ipa-inline.c: ... this file; update toplevel comment; | |
9943 | include ipa-inline.h | |
9944 | (inline_summary): Move to ipa-inline.h | |
9945 | (cgraph_estimate_edge_time): Rename to estimate_edge_time; move to | |
9946 | ipa-inline-analysis.c. | |
7d4f8d02 EB |
9947 | (cgraph_estimate_time_after_inlining): Rename to |
9948 | estiamte_time_after_inlining; move to ipa-inline-analysis.c | |
03dfc36d JH |
9949 | (cgraph_estimate_edge_growth): Move to ipa-inline-analysis.c; rename |
9950 | to estimate_edge_growth. | |
9951 | (cgraph_estimate_size_after_inlining): Move to ipa-inline-analysis.c; | |
9952 | rename to estimate_size_after_inlining. | |
9953 | (cgraph_mark_inline_edge): Update for new naming convention. | |
9954 | (cgraph_check_inline_limits): Likewise. | |
9955 | (cgraph_edge_badness): Likewise. | |
9956 | (cgraph_decide_recursive_inlining): Likewise. | |
9957 | (cgraph_decide_inlining_of_small_functions): Likewise. | |
9958 | (cgraph_decide_inlining_incrementally): Likewise. | |
7d4f8d02 EB |
9959 | (cgraph_estimate_growth): Rename to estimate_growth; move to |
9960 | ipa-inline-analysis.c. | |
03dfc36d JH |
9961 | (eliminated_by_inlining_prob): Move to ipa-inline-analysis.c. |
9962 | (estimate_function_body_sizes): Move to ipa-inline-analysis.c. | |
9963 | (compute_inline_parameters): Likewise. | |
9964 | (compute_inline_parameters_for_current): Likewise. | |
9965 | (pass_inline_parameters): Likewise. | |
9966 | (inline_indirect_intraprocedural_analysis): Likewise. | |
9967 | (analyze_function): Rename to inline_analyze_function; likewise. | |
9968 | (add_new_function): Move to ipa-inline-analysis.c. | |
9969 | (inline_generate_summary): Likewise. | |
9970 | (inline_read_summary): Likewise. | |
9971 | (inline_write_summary): Likewise. | |
9972 | * Makefile.in (ipa-inline-analysis.c): New file. | |
9973 | ||
7673c962 RO |
9974 | 2011-04-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9975 | ||
9976 | * configure.ac (gcc_cv_as_sparc_gotdata_op): Remove GNU ld check. | |
9977 | * configure: Regenerate. | |
9978 | ||
9698252f NF |
9979 | 2011-04-13 Nathan Froyd <froydnj@codesourcery.com> |
9980 | ||
9981 | * tree.h (struct tree_int_cst, struct real_value): Include tree_typed | |
9982 | instead of tree_common. | |
9983 | (struct tree_fixed_cst, struct tree_string, struct tree_complex): | |
9984 | Likewise. | |
9985 | * tree.c (initialize_tree_contains_struct): Mark such nodes as being | |
9986 | TS_TYPED rather than TS_COMMON. | |
9987 | * print-tree.c (print_node) [STRING_CST]: Don't print TREE_CHAIN. | |
9988 | ||
3a7bfdd5 GJL |
9989 | 2011-04-01 Georg-Johann Lay <avr@gjlay.de> |
9990 | ||
9991 | PR target/45263 | |
86d83530 GJL |
9992 | * config/avr/libgcc.S (__do_global_ctors, __do_global_dtors): Don't use |
9993 | r20 around calls of __tablejump_elpm__ | |
3a7bfdd5 | 9994 | |
20790697 JJ |
9995 | 2011-04-13 Jakub Jelinek <jakub@redhat.com> |
9996 | ||
9997 | PR middle-end/48591 | |
9998 | * omp-low.c (expand_omp_atomic_fetch_op): Return false if decl is | |
9999 | NULL. | |
10000 | (expand_omp_atomic_pipeline): Return false if cmpxchg is NULL. | |
10001 | ||
094d7661 BS |
10002 | 2011-04-13 Bernd Schmidt <bernds@codesourcery.com> |
10003 | ||
10004 | * dwarf2out.c (struct dw_cfi_struct): Remove member dw_cfi_next. | |
10005 | (dw_cfi_ref): Add DEF_VEC_P and some DEF_VEC_ALLOC_Ps. | |
10006 | (cfi_vec): New typedef. | |
10007 | (struct dw_fde_struct): Make dw_fde_cfi a cfi_vec. Replace | |
10008 | dw_fde_switch_cfi with an integer dw_fde_switch_cfi_index. | |
10009 | (cie_cfi_vec): New static variable. | |
10010 | (cie_cfi_head): Delete. | |
10011 | (add_cfi): Accept a cfi_vec * as first argument. All callers and | |
10012 | declaration changed. Use vector rather than list operations. | |
10013 | (new_cfi): Don't initialize the dw_cfi_next field. | |
10014 | (add_fde_cfi): Allocate cie_cfi_vec if necessary. Use vector | |
10015 | rather than list operations. | |
10016 | (lookup_cfa): Use vector rather than list operations. | |
10017 | (output_cfis): New argument upto. Accept a cfi_vec rather than | |
10018 | a dw_cfi_ref list head as argument. All callers changed. | |
10019 | Iterate over the vector using upto as a maximum index. | |
10020 | (output_all_cfis): New static function. | |
10021 | (output_fde): Use vector rather than list operations. Use the | |
10022 | new upto argument for output_cfis rather than manipulating a | |
10023 | list. | |
10024 | (dwarf2out_begin_prologue): Change initializations to match | |
10025 | new struct members. | |
10026 | (dwarf2out_switch_text_section): Initialize dw_fde_switch_cfi_index | |
10027 | from the vector length rather than searching for the end of a list. | |
10028 | Use output_all_cfis. | |
10029 | (convert_cfa_to_fb_loc_list): Use vector rather than list operations. | |
10030 | ||
673a5740 NC |
10031 | 2011-04-13 Nick Clifton <nickc@redhat.com> |
10032 | ||
10033 | * config/rx/rx.md (movmemsi): Do not use this pattern when | |
10034 | volatile pointers are involved. | |
10035 | ||
1ee8b298 UB |
10036 | 2011-04-13 Uros Bizjak <ubizjak@gmail.com> |
10037 | ||
10038 | * config/i386/sse.md (pinsrbits): Remove. | |
10039 | (sse2_packsswb): Merge with *avx_packsswb. | |
10040 | (sse2_packssdw): Merge with *avx_packssdw. | |
10041 | (sse2_packuswb): Merge with *avx_packuswb. | |
10042 | (vec_interleave_highv16qi): Merge with *avx_interleave_highv16qi. | |
10043 | (vec_interleave_lowv16qi): Merge with *avx_interleave_lowv16qi. | |
10044 | (vec_interleave_highv8hi): Merge with *avx_interleave_highv8hi. | |
10045 | (vec_interleave_lowv8hi): Merge with *avx_interleave_lowv8hi. | |
10046 | (vec_interleave_highv4si): Merge with *avx_interleave_highv4si. | |
10047 | (vec_interleave_lowv4si): Merge with *avx_interleave_lowv4si. | |
10048 | (*sse4_1_pinsrb): Merge with *avx_pinsr<ssevecsize>. | |
10049 | (*sse2_pinsrw): Merge with *avx_pinsr<ssevecsize>. | |
10050 | (*sse4_1_pinsrd): Merge with *avx_pinsr<ssevecsize>. | |
10051 | (*sse4_1_pinsrq): Merge with *avx_pinsrq. | |
10052 | (sse2_loadld): Merge with *avx_loadld. | |
10053 | (*vec_extractv2di_1_rex64): Merge with *vec_extractv2di_1_rex64_avx. | |
10054 | (*vec_extractv2di_1_sse2): Merge with *vec_extractv2di_1_avx. | |
10055 | (*vec_concatv2si_sse4_1): Merge with *vec_concatv2si_avx. | |
10056 | (*vec_concatv2di_rex64_sse4_1): Merge with *vec_concatv2di_rex64_avx. | |
10057 | (vec_concatv2di): Merge with *vec_concatv2di_avx. | |
10058 | ||
81f653d6 NF |
10059 | 2011-04-12 Nathan Froyd <froydnj@codesourcery.com> |
10060 | ||
10061 | * c-decl.c (union lang_tree_node): Check for TS_COMMON before | |
10062 | calling TREE_CHAIN. | |
10063 | * print-tree.c (print_node): Likewise. | |
10064 | * tree-inline.c (copy_tree_r): Likewise. | |
10065 | * c-lang.c (LANG_HOOKS_INIT_TS): Define. | |
10066 | * lto-streamer-in.c (lto_input_tree_pointers): Check for TS_TYPED | |
10067 | instead of TS_COMMON. | |
10068 | * lto-streamer-out.c (lto_output_tree_pointers): Likewise. | |
10069 | * tree.c (initialize_tree_contains_struct): Handle TS_TYPED. | |
10070 | (copy_node_stat): Zero TREE_CHAIN only if necessary. | |
10071 | (MARK_TS_BASE, MARK_TS_TYPED, MARK_TS_COMMON): Move these... | |
10072 | (MARK_TS_DECL_COMMON, MARK_TS_DECL_COMMON, MARK_TS_DECL_WRTL): | |
10073 | ...and these... | |
10074 | (MARK_TS_DECL_WITH_VIS, MARK_TS_DECL_NON_COMMON): ...and these... | |
10075 | * tree.h: ...here. | |
10076 | (TREE_CHAIN): Check for a TS_COMMON structure. | |
10077 | (TREE_TYPE): Check for a TS_TYPED structure. | |
10078 | ||
748f7574 | 10079 | 2011-04-12 Pat Haugen <pthaugen@us.ibm.com> |
ed940a4a PH |
10080 | |
10081 | * config/rs6000/rs6000.c (call_ABI_of_interest): Call | |
10082 | cgraph_get_create_node instead of cgraph_node. | |
10083 | ||
eb345401 NP |
10084 | 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com> |
10085 | ||
10086 | * c-parser.c (c_parser_initelt): Updated call to | |
10087 | objc_build_message_expr. | |
10088 | (c_parser_postfix_expression): Likewise. | |
10089 | ||
a6c46762 KT |
10090 | 2011-04-12 Kai Tietz <ktietz@redhat.com> |
10091 | ||
10092 | * config/i386/mingw32.h (TARGET_SUBTARGET_DEFAULT): Add | |
10093 | MASK_MS_BITFIELD_LAYOUT bit. | |
10094 | ||
b4ccfed9 JJ |
10095 | 2011-04-12 Jakub Jelinek <jakub@redhat.com> |
10096 | ||
10097 | * combine.c (update_cfg_for_uncondjump): Instead of testing at_end | |
10098 | assert it is always true. | |
10099 | (try_combine): Don't call update_cfg_for_uncondjump for noop non-jump | |
10100 | moves. | |
10101 | ||
0d8a2528 NP |
10102 | 2011-04-12 Nicola Pero <nicola.pero@meta-innovation.com> |
10103 | ||
10104 | * c-parser.c (c_lex_one_token): Rewritten conditional used when | |
10105 | compiling Objective-C to be more efficient. | |
10106 | ||
06bd234a AF |
10107 | 2011-04-12 Axel Freyn <axel-freyn@gmx.de> |
10108 | ||
10109 | * opts-common.c (decode_cmdline_options_to_array): Remove variable | |
10110 | argv_copied. | |
10111 | ||
28569ac3 RS |
10112 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
10113 | ||
10114 | * recog.h, genoutput.c, optabs.c: Revert last patch. | |
10115 | ||
ae59e00d RR |
10116 | 2011-04-12 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
10117 | ||
81b1e7eb UB |
10118 | PR target/48090 |
10119 | * config/arm/arm.md (*arm_negdi2): Fix early clobber constraints. | |
ae59e00d | 10120 | |
cff1b7e0 RS |
10121 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
10122 | ||
10123 | * recog.h (insn_operand_data): Add an "allows_mem" field. | |
10124 | * genoutput.c (output_operand_data): Initialize it. | |
10125 | * optabs.c (maybe_legitimize_operand_same_code): New function. | |
10126 | (maybe_legitimize_operand): Use it when matching the original | |
10127 | op->value. | |
10128 | ||
77059241 RS |
10129 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
10130 | ||
10131 | * genpreds.c (process_define_predicate): Move most processing | |
10132 | to gensupport.c. Continue to validate the expression. | |
10133 | * genrecog.c (did_you_mean_codes, compute_predicate_codes) | |
10134 | (process_define_predicate): Move processing to gensupport.c. | |
10135 | (main): Remove DEFINE_PREDICATE and DEFINE_SPECIAL_PREDICATE cases. | |
10136 | * gensupport.c (did_you_mean_codes): Moved from genrecog.c. | |
10137 | (compute_predicate_codes): Moved from genrecog.c. Add lineno | |
10138 | argument. | |
10139 | (valid_predicate_name_p): New function, split out from old | |
10140 | genpreds.c:process_define_predicate. | |
10141 | (process_define_predicate): New function, combining code from | |
10142 | old genpreds.c and genrecog.c functions. | |
10143 | (process_rtx): Call it for DEFINE_PREDICATE and | |
10144 | DEFINE_SPECIAL_PREDICATE. | |
10145 | ||
6308e208 RS |
10146 | 2011-04-12 Richard Sandiford <richard.sandiford@linaro.org> |
10147 | ||
10148 | * config/arm/arm.c (arm_print_operand): Use MEM_SIZE to get the | |
10149 | size of a '%A' memory reference. | |
10150 | (T_DREG, T_QREG): New neon_builtin_type_bits. | |
10151 | (arm_init_neon_builtins): Assert that the load and store operands | |
10152 | are neon_struct_operands. | |
10153 | (locate_neon_builtin_icode): Provide the neon_builtin_type_bits. | |
10154 | (NEON_ARG_MEMORY): New builtin_arg. | |
10155 | (neon_dereference_pointer): New function. | |
10156 | (arm_expand_neon_args): Add a neon_builtin_type_bits argument. | |
10157 | Handle NEON_ARG_MEMORY. | |
10158 | (arm_expand_neon_builtin): Update after above interface changes. | |
10159 | Use NEON_ARG_MEMORY for loads and stores. | |
10160 | * config/arm/predicates.md (neon_struct_operand): New predicate. | |
10161 | * config/arm/iterators.md (V_two_elem): Tweak formatting. | |
10162 | (V_three_elem): Use BLKmode for accesses that have no associated mode. | |
10163 | (V_four_elem): Tweak formatting. | |
10164 | * config/arm/neon.md (neon_vld1<mode>, neon_vld1_dup<mode>) | |
10165 | (neon_vst1_lane<mode>, neon_vst1<mode>, neon_vld2<mode>) | |
10166 | (neon_vld2_lane<mode>, neon_vld2_dup<mode>, neon_vst2<mode>) | |
10167 | (neon_vst2_lane<mode>, neon_vld3<mode>, neon_vld3_lane<mode>) | |
10168 | (neon_vld3_dup<mode>, neon_vst3<mode>, neon_vst3_lane<mode>) | |
10169 | (neon_vld4<mode>, neon_vld4_lane<mode>, neon_vld4_dup<mode>) | |
10170 | (neon_vst4<mode>): Replace pointer operand with a memory operand. | |
10171 | Use %A in the output template. | |
10172 | (neon_vld3qa<mode>, neon_vld3qb<mode>, neon_vst3qa<mode>) | |
10173 | (neon_vst3qb<mode>, neon_vld4qa<mode>, neon_vld4qb<mode>) | |
10174 | (neon_vst4qa<mode>, neon_vst4qb<mode>): Likewise, but halve | |
10175 | the width of the memory access. Remove post-increment. | |
10176 | * config/arm/neon-testgen.ml: Allow addresses to have an alignment. | |
10177 | ||
e5db8f2f NC |
10178 | 2011-04-12 Nick Clifton <nickc@redhat.com> |
10179 | ||
10180 | * config/v850/v850.c (expand_prologue): Do not use the CALLT | |
10181 | instruction for interrupt handlers if the target is the basic V850 | |
10182 | architecture. | |
10183 | (expand_epilogue): Likewise. | |
10184 | ||
74f091d6 JJ |
10185 | 2011-04-12 Jakub Jelinek <jakub@redhat.com> |
10186 | ||
10187 | PR rtl-optimization/48549 | |
10188 | * combine.c (propagate_for_debug): Also stop after BB_END of | |
10189 | this_basic_block. Process LAST and just stop processing after it. | |
10190 | (combine_instructions): If last_combined_insn has been deleted, | |
10191 | set last_combined_insn to its PREV_INSN. | |
10192 | ||
f20ca725 RG |
10193 | 2011-04-12 Richard Guenther <rguenther@suse.de> |
10194 | ||
10195 | PR tree-optimization/46076 | |
10196 | * gimple.h (struct gimple_statement_call): Add fntype field. | |
10197 | (gimple_call_fntype): Adjust. | |
10198 | (gimple_call_set_fntype): New function. | |
10199 | * gimple.c (gimple_build_call_1): Set the call function type. | |
10200 | * gimplify.c (gimplify_call_expr): Preserve the function | |
10201 | type the frontend used for the call. | |
10202 | (gimplify_modify_expr): Likewise. | |
10203 | * lto-streamer-in.c (input_gimple_stmt): Input the call stmts | |
10204 | function type. | |
10205 | * lto-streamer-out.c (output_gimple_stmt): Output the call stmts | |
10206 | function type. | |
10207 | * tree-ssa.c (useless_type_conversion_p): Function pointer | |
10208 | conversions are useless. | |
10209 | ||
a358e188 MJ |
10210 | 2011-04-12 Martin Jambor <mjambor@suse.cz> |
10211 | ||
10212 | * cgraph.h (cgraph_node): Remove function declaration. | |
10213 | (cgraph_create_node): Declare. | |
10214 | (cgraph_get_create_node): Likewise. | |
10215 | * cgraph.c (cgraph_create_node): Renamed to cgraph_create_node_1. | |
10216 | Updated all callers. | |
10217 | (cgraph_node): Renamed to cgraph_create_node, assert that a node for | |
10218 | the decl does not already exist. Call cgraph_get_create_node instead | |
10219 | of cgraph_node. | |
10220 | (cgraph_get_create_node): New function. | |
10221 | (cgraph_same_body_alias): Update comment. | |
10222 | (cgraph_set_call_stmt): Call cgraph_get_node instead of cgraph_node, | |
10223 | assert it does not return NULL. | |
10224 | (cgraph_update_edges_for_call_stmt): Likewise. | |
10225 | (cgraph_clone_edge): Likewise. | |
10226 | (cgraph_create_virtual_clone): Likewise. | |
10227 | (cgraph_update_edges_for_call_stmt_node): Call cgraph_get_create_node | |
10228 | instead of cgraph_node. | |
10229 | (cgraph_add_new_function): Call cgraph_create_node or | |
10230 | cgraph_get_create_node instead of cgraph_node. | |
10231 | * cgraphbuild.c (record_reference): Call cgraph_get_create_node | |
10232 | instead of cgraph_node. | |
10233 | (record_eh_tables): Likewise. | |
10234 | (mark_address): Likewise. | |
10235 | (mark_load): Likewise. | |
10236 | (build_cgraph_edges): Call cgraph_get_create_node instead | |
10237 | of cgraph_node. | |
10238 | (rebuild_cgraph_edges): Likewise. | |
10239 | * cgraphunit.c (cgraph_finalize_function): Call cgraph_get_create_node | |
10240 | instead of cgraph_node. | |
10241 | (cgraph_copy_node_for_versioning): Call cgraph_create_node instead of | |
10242 | cgraph_node. | |
10243 | * lto-symtab.c (lto_symtab_merge_cgraph_nodes_1): Call | |
10244 | cgraph_create_node instead of cgraph_node. | |
10245 | * c-decl.c (finish_function): Call cgraph_get_create_node instead | |
10246 | of cgraph_node. | |
10247 | * lto-cgraph.c (input_node): Likewise. | |
10248 | * lto-streamer-in.c (input_function): Likewise. | |
10249 | * varasm.c (mark_decl_referenced): Likewise. | |
10250 | (assemble_alias): Likewise. | |
10251 | ||
fe660d7b MJ |
10252 | 2011-04-12 Martin Jambor <mjambor@suse.cz> |
10253 | ||
10254 | * tree-inline.c (tree_function_versioning): Call cgraph_get_node | |
10255 | instead of cgraph_node and assert it does not return NULL. | |
10256 | * lto-streamer-in.c (lto_read_body): Likewise. | |
10257 | * omp-low.c (new_omp_context): Likewise. | |
10258 | (create_task_copyfn): Likewise. | |
10259 | * tree-emutls.c (lower_emutls_function_body): Likewise. | |
10260 | * matrix-reorg.c (transform_allocation_sites): Likewise. | |
10261 | ||
bae5cddf JJ |
10262 | 2011-04-12 Jakub Jelinek <jakub@redhat.com> |
10263 | ||
10264 | PR c/48552 | |
10265 | * c-typeck.c (build_asm_expr): Error out on attempts to use | |
10266 | void type outputs or inputs for constraints that allow reg or | |
10267 | don't allow memory. | |
10268 | ||
06eb52ca CLT |
10269 | 2011-04-11 Chung-Lin Tang <cltang@codesourcery.com> |
10270 | Richard Earnshaw <rearnsha@arm.com> | |
10271 | ||
10272 | PR target/48250 | |
10273 | * config/arm/arm.c (arm_legitimize_reload_address): Update cases | |
10274 | to use sign-magnitude offsets. Reject unsupported unaligned | |
10275 | cases. Add detailed description in comments. | |
10276 | * config/arm/arm.md (reload_outdf): Disable for ARM mode; change | |
10277 | condition from TARGET_32BIT to TARGET_ARM. | |
10278 | ||
648a616b NF |
10279 | 2011-04-11 Nathan Froyd <froydnj@codesourcery.com> |
10280 | ||
10281 | * tree.h (struct typed_tree): New. | |
10282 | (struct tree_common): Include it instead of tree_base. | |
10283 | (TREE_TYPE): Update for new location of type field. | |
10284 | (TYPE_USER_ALIGN, TYPE_PACKED): Refer to base field directly. | |
10285 | (DECL_USER_ALIGN, DECL_PACKED): Likewise. | |
10286 | (union tree_node): Add typed field. | |
10287 | * treestruct.def (TS_TYPED): New. | |
10288 | * lto-streamer.c (check_handled_ts_structures): Handle it. | |
10289 | * tree.c (MARK_TS_TYPED): New macro. | |
10290 | (MARK_TS_COMMON): Call it instead of MARK_TS_BASE. | |
10291 | ||
1e6d1da0 EB |
10292 | 2011-04-11 Eric Botcazou <ebotcazou@adacore.com> |
10293 | ||
10294 | * cfghooks.c (redirect_edge_and_branch_force): Localize variable. | |
10295 | (force_nonfallthru): Do not alter the loop nest if no basic block | |
10296 | was created. | |
10297 | ||
10298 | 2011-04-11 Uros Bizjak <ubizjak@gmail.com> | |
d8700b1c UB |
10299 | |
10300 | * config/i386/sse.md (VI): New mode iterator. | |
10301 | (SSEMODEI): Remove. | |
10302 | (AVX256MODEI): Ditto. | |
10303 | (AVXMODEF4P): Ditto. | |
10304 | (avxvecpsmode): Ditto. | |
10305 | (one_cmpl<mode>2): Enable for TARGET_SSE. Use VI mode iterator. | |
10306 | (sse2_andnot<mode>3): New expander. | |
10307 | (*andnot<mode>3): Merge with *sse2_andnot<mode>3 and | |
10308 | *avx_andnot<mode>3. Enable for TARGET_SSE. Use VI mode iterator. | |
10309 | (<any_logic:code><mode>3): Use VI mode iterator. | |
10310 | (*<any_logic:code><mode>3): Merge with *sse2_<any_logic:code><mode>3 | |
10311 | and *avx_<any_logic:code><mode>3. Use VI mode iterator. | |
10312 | (*andnottf3): Handle AVX three-operand constraints. | |
10313 | (*<any_logic:code>tf3): Handle AVX three-operand constraints. | |
10314 | ||
b1372d5d | 10315 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
d8700b1c | 10316 | Robert Millan <rmh@gnu.org> |
b1372d5d JM |
10317 | |
10318 | * config.gcc (x86_64-*-kfreebsd*-gnu): Use i386/kfreebsd-gnu.h. | |
10319 | * config/i386/kfreebsd-gnu.h (GNU_USER_DYNAMIC_LINKER32, | |
10320 | GNU_USER_DYNAMIC_LINKER64): Define. | |
10321 | (REG_NAME): Don't undefine. | |
10322 | (MD_UNWIND_SUPPORT): Undefine. | |
10323 | * config/i386/knetbsd-gnu.h (GNU_USER_LINK_EMULATION): Define. | |
10324 | (REG_NAME): Don't undefine. | |
10325 | (MD_UNWIND_SUPPORT): Undefine. | |
d8700b1c | 10326 | * config/i386/kopensolaris-gnu.h (GNU_USER_LINK_EMULATION): Define. |
b1372d5d | 10327 | |
761c0c6e JM |
10328 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
10329 | ||
10330 | * config/i386/gnu.h (GNU_USER_LINK_EMULATION): Define. | |
10331 | (CPP_SPEC, CC1_SPEC, ENDFILE_SPEC): Remove. | |
10332 | ||
26e0228f XDL |
10333 | 2011-04-11 Xinliang David Li <davidxl@google.com> |
10334 | ||
10335 | * value-profile.c (check_ic_target): New function. | |
10336 | (gimple_ic_transform): Sanity check indirect call target. | |
10337 | * gimple-low.c (gimple_check_call_args): Interface change. | |
10338 | (gimple_check_call_matching_types): New function. | |
10339 | * tree-inline.c (tree_can_inline_p): Call new function. | |
6075765d BS |
10340 | |
10341 | 2011-04-11 Basile Starynkevitch <basile@starynkevitch.net> | |
10342 | ||
10343 | * Makefile.in (PLUGIN_HEADERS): Add gimple-pretty-print.h | |
10344 | tree-pretty-print.h & realmpfr.h. | |
10345 | ||
a58dfa49 VM |
10346 | 2011-04-11 Vladimir Makarov <vmakarov@redhat.com> |
10347 | ||
10348 | PR middle-end/48464 | |
10349 | * ira.c (setup_pressure_classes): Fix typo in loop condition. | |
10350 | (setup_allocno_and_important_classes): Ditto. | |
10351 | ||
107fd1c1 JM |
10352 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
10353 | ||
10354 | * config/alpha/linux-elf.h (LINUX_DYNAMIC_LINKER): Rename to | |
10355 | GNU_USER_DYNAMIC_LINKER. | |
10356 | * config/arm/linux-eabi.h (TARGET_OS_CPP_BUILTINS): Change | |
10357 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10358 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Change | |
10359 | LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. | |
10360 | (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to | |
10361 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10362 | * config/bfin/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
10363 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10364 | * config/bfin/uclinux.h (TARGET_OS_CPP_BUILTINS): Change | |
10365 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10366 | * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Change | |
10367 | LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. | |
10368 | (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to | |
10369 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10370 | * config/frv/linux.h (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
10371 | GNU_USER_DYNAMIC_LINKER. | |
10372 | * config/gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
10373 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10374 | * config/i386/gnu-user.h (TARGET_OS_CPP_BUILTINS): Change | |
10375 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10376 | * config/i386/gnu-user64.h (TARGET_OS_CPP_BUILTINS): Change | |
10377 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10378 | * config/i386/linux.h (GNU_USER_DYNAMIC_LINKER): Remove. | |
10379 | * config/i386/linux64.h (GNU_USER_DYNAMIC_LINKER32, | |
10380 | GNU_USER_DYNAMIC_LINKER64): Remove. | |
10381 | * config/ia64/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
10382 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10383 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
10384 | GNU_USER_DYNAMIC_LINKER. | |
10385 | * config/kfreebsd-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
10386 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10387 | * config/knetbsd-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
10388 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10389 | * config/kopensolaris-gnu.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename | |
10390 | to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10391 | * config/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): Rename to | |
10392 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10393 | (LINUX_DYNAMIC_LINKER): Rename to GNU_USER_DYNAMIC_LINKER. | |
10394 | (LINUX_DYNAMIC_LINKER32): Rename to GNU_USER_DYNAMIC_LINKER32. | |
10395 | (LINUX_DYNAMIC_LINKER64): Rename to GNU_USER_DYNAMIC_LINKER64. | |
10396 | * config/lm32/uclinux-elf.h (TARGET_OS_CPP_BUILTINS): Change | |
10397 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10398 | * config/m32r/linux.h (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
10399 | GNU_USER_DYNAMIC_LINKER. | |
10400 | (TARGET_OS_CPP_BUILTINS): Change LINUX_TARGET_OS_CPP_BUILTINS to | |
10401 | GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10402 | * config/m68k/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
10403 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10404 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
10405 | GNU_USER_DYNAMIC_LINKER. | |
10406 | * config/m68k/uclinux.h (TARGET_OS_CPP_BUILTINS): Change | |
10407 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10408 | * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
10409 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10410 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
10411 | GNU_USER_DYNAMIC_LINKER. | |
10412 | * config/mips/linux64.h (LINUX_DYNAMIC_LINKERN32): Rename to | |
10413 | GNU_USER_DYNAMIC_LINKERN32. | |
10414 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKERN32 to | |
10415 | GNU_USER_DYNAMIC_LINKERN32. Change LINUX_DYNAMIC_LINKER64 to | |
10416 | GNU_USER_DYNAMIC_LINKER64. Change LINUX_DYNAMIC_LINKER32 to | |
10417 | GNU_USER_DYNAMIC_LINKER32. | |
10418 | * config/mn10300/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
10419 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10420 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
10421 | GNU_USER_DYNAMIC_LINKER. | |
10422 | * config/moxie/uclinux.h (TARGET_OS_CPP_BUILTINS): Change | |
10423 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10424 | * config/pa/pa-linux.h (TARGET_OS_CPP_BUILTINS): Change | |
10425 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
d8700b1c | 10426 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. |
107fd1c1 JM |
10427 | * config/rs6000/linux64.h (LINUX_DYNAMIC_LINKER32): Rename to |
10428 | GNU_USER_DYNAMIC_LINKER32. | |
10429 | (LINUX_DYNAMIC_LINKER64): Rename to GNU_USER_DYNAMIC_LINKER64. | |
10430 | * config/rs6000/sysv4.h (LINUX_DYNAMIC_LINKER): Rename to | |
10431 | GNU_USER_DYNAMIC_LINKER. | |
10432 | * config/s390/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
10433 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10434 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER32 to | |
10435 | GNU_USER_DYNAMIC_LINKER32. Change LINUX_DYNAMIC_LINKER64 to | |
10436 | GNU_USER_DYNAMIC_LINKER64. | |
10437 | * config/sh/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
10438 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10439 | (SUBTARGET_LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
10440 | GNU_USER_DYNAMIC_LINKER. | |
10441 | * config/sparc/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
10442 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10443 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to | |
10444 | GNU_USER_DYNAMIC_LINKER. | |
10445 | * config/sparc/linux64.h (TARGET_OS_CPP_BUILTINS): Change | |
10446 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10447 | (LINK_ARCH32_SPEC): Change LINUX_DYNAMIC_LINKER32 to | |
10448 | GNU_USER_DYNAMIC_LINKER32. | |
10449 | (LINK_ARCH64_SPEC): Change LINUX_DYNAMIC_LINKER64 to | |
10450 | GNU_USER_DYNAMIC_LINKER64. | |
10451 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER64 to | |
10452 | GNU_USER_DYNAMIC_LINKER64. | |
10453 | * config/vax/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
10454 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
10455 | * config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Change | |
10456 | LINUX_TARGET_OS_CPP_BUILTINS to GNU_USER_TARGET_OS_CPP_BUILTINS. | |
d8700b1c | 10457 | (LINK_SPEC): Change LINUX_DYNAMIC_LINKER to GNU_USER_DYNAMIC_LINKER. |
107fd1c1 | 10458 | |
e24609cf JM |
10459 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
10460 | ||
10461 | * config/i386/gnu-user.h: Copy from linux.h. Update comments. | |
10462 | (LINK_EMULATION, GLIBC_DYNAMIC_LINKER): Remove. | |
10463 | (SUBTARGET_EXTRA_SPECS): Use GNU_USER_LINK_EMULATION and | |
10464 | GNU_USER_DYNAMIC_LINKER. | |
10465 | (MD_UNWIND_SUPPORT, REG_NAME): Remove. | |
10466 | * config/i386/gnu-user64.h: Copy from linux64.h. Update comments. | |
10467 | (GLIBC_DYNAMIC_LINKER32, GLIBC_DYNAMIC_LINKER64): Remove. | |
10468 | (LINK_SPEC): Use GNU_USER_DYNAMIC_LINKER32 and | |
10469 | GNU_USER_DYNAMIC_LINKER64. | |
10470 | (MD_UNWIND_SUPPORT, REG_NAME): Remove. | |
10471 | * config/i386/kfreebsd-gnu.h (LINK_EMULATION): Change to | |
10472 | GNU_USER_LINK_EMULATION. | |
10473 | * config/i386/linux.h (TARGET_ASM_FILE_START_FILE_DIRECTIVE, | |
10474 | DEFAULT_PCC_STRUCT_RETURN, TARGET_TLS_DIRECT_SEG_REFS_DEFAULT, | |
10475 | ASM_COMMENT_START, DBX_REGISTER_NUMBER, NO_PROFILE_COUNTERS, | |
10476 | MCOUNT_NAME, SUBTARGET_FRAME_POINTER_REQUIRED, SIZE_TYPE, | |
10477 | PTRDIFF_TYPE, WCHAR_TYPE, WCHAR_TYPE_SIZE, TARGET_OS_CPP_BUILTINS, | |
10478 | CPP_SPEC, CC1_SPEC): Remove. | |
10479 | (LINK_EMULATION): Change to GNU_USER_LINK_EMULATION. | |
10480 | (GNU_USER_DYNAMIC_LINKER): Define. | |
10481 | (ASM_SPEC, SUBTARGET_EXTRA_SPECS, LINK_SPEC, ENDFILE_SPEC, | |
10482 | ASM_OUTPUT_ALIGNED_BSS, ASM_OUTPUT_MAX_SKIP_ALIGN, | |
10483 | ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX, CRT_GET_RFIB_DATA, | |
10484 | LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT, TF_SIZE, | |
10485 | TARGET_ASM_FILE_END, STACK_CHECK_MOVING_SP, | |
10486 | STACK_CHECK_STATIC_BUILTIN, TARGET_THREAD_SSP_OFFSET, | |
10487 | TARGET_CAN_SPLIT_STACK, TARGET_THREAD_SPLIT_STACK_OFFSET): Remove. | |
10488 | * config/i386/linux64.h (TARGET_OS_CPP_BUILTINS, CPP_SPEC, | |
10489 | CC1_SPEC, DEFAULT_PCC_STRUCT_RETURN, | |
10490 | TARGET_TLS_DIRECT_SEG_REFS_DEFAULT, SPEC_32, SPEC_64, ASM_SPEC, | |
10491 | LINK_SPEC, ENDFILE_SPEC, MULTILIB_DEFAULTS, LIBGCC2_HAS_TF_MODE, | |
10492 | LIBGCC2_TF_CEXT, TF_SIZE, TARGET_ASM_FILE_END): Remove. | |
10493 | (GNU_USER_DYNAMIC_LINKER32, GNU_USER_DYNAMIC_LINKER64): Define. | |
10494 | (STACK_CHECK_MOVING_SP, STACK_CHECK_STATIC_BUILTIN, | |
10495 | TARGET_THREAD_SSP_OFFSET, TARGET_CAN_SPLIT_STACK, | |
10496 | TARGET_THREAD_SPLIT_STACK_OFFSET): Remove. | |
10497 | * config/i386/gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
10498 | GNU_USER_DYNAMIC_LINKER. | |
10499 | * config/kfreebsd-gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
10500 | GNU_USER_DYNAMIC_LINKER. Unconditionally undefine and redefine. | |
10501 | * config/knetbsd-gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
10502 | GNU_USER_DYNAMIC_LINKER. Unconditionally undefine and redefine. | |
10503 | * config/kopensolaris-gnu.h (GLIBC_DYNAMIC_LINKER): Change to | |
10504 | GNU_USER_DYNAMIC_LINKER. Unconditionally undefine and redefine. | |
10505 | * config.gcc (i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | | |
10506 | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* | | |
10507 | i[34567]86-*-kopensolaris*-gnu, x86_64-*-linux* | | |
d8700b1c | 10508 | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu): Use the new headers. |
e24609cf | 10509 | |
b8ce4e94 KT |
10510 | 2011-04-11 Kai Tietz <ktietz@redhat.com> |
10511 | ||
10512 | PR target/9601 | |
10513 | PR target/11772 | |
10514 | * config/i386/i386-protos.h (ix86_get_callcvt): New prototype. | |
10515 | * config/i386/i386.c (ix86_handle_cconv_attribute): Adjust | |
10516 | comment. | |
10517 | (ix86_is_msabi_thiscall): Removed. | |
10518 | (ix86_is_type_thiscall): Likewise. | |
10519 | (ix86_get_callcvt): New function. | |
10520 | (ix86_comp_type_attributes): Simplify check. | |
10521 | (ix86_function_regparm): Use ix86_get_callcvt for calling | |
10522 | convention attribute checks. | |
10523 | (ix86_return_pops_args): Likewise. | |
10524 | (ix86_static_chain): Likewise. | |
10525 | (x86_this_parameter): Likewise. | |
10526 | (x86_output_mi_thunk): Likewise. | |
10527 | (ix86_function_type_abi): Optimize check for types without attributes. | |
10528 | * config/i386/i386.h (IX86_CALLCVT_CDECL, IX86_CALLCVT_STDCALL, | |
10529 | IX86_CALLCVT_FASTCALL, IX86_CALLCVT_THISCALL, IX86_CALLCVT_REGPARM, | |
10530 | IX86_CALLCVT_SSEREGPARM): New macros to represent calling convention | |
10531 | by flag-values. | |
10532 | (IX86_BASE_CALLCVT): Helper macro. | |
10533 | * config/i386/netware.c (i386_nlm_maybe_mangle_decl_assembler_name): | |
10534 | Use ix86_get_callcvt for calling convention attribute checks and avoid | |
10535 | symbol-decoration for stdcall in TARGET_RTD case. | |
10536 | * config/i386/winnt.c (i386_pe_maybe_mangle_decl_assembler_name): | |
10537 | Likewise. | |
10538 | (gen_stdcall_or_fastcall_suffix): Adjust ident and use DECL_ORIGIN | |
10539 | for declaration. | |
10540 | ||
798dd0ba UB |
10541 | 2011-04-11 Uros Bizjak <ubizjak@gmail.com> |
10542 | ||
10543 | * config/i386/sse.md (VI_128): New mode iterator. | |
10544 | (VI12_128): Rename from SSEMODE12. | |
10545 | (VI14_128): Rename from SSEMODE14. | |
10546 | (VI124_128): New mode iterator. | |
10547 | (VI24_128): Rename from SSEMODE248. | |
10548 | (VI248_128): Rename from SSEMODE248. | |
10549 | (SSEMODE124C8): Remove. | |
10550 | (*<plusminus_insn><mode>3): Merge with *avx_<plusminus_insn><mode>3. | |
10551 | (*sse2_<plusminus_insn><mode>3): Merge with | |
10552 | *avx_<plusminus_insn><mode>3. | |
10553 | (*mulv8hi3): Merge with *avx_mulv8hi3. | |
10554 | (*<s>mulv8hi3_highpart): Merge with *avx_<s>mulv8hi3_highpart. | |
10555 | (*sse2_umulv2siv2di3): Merge with *avx_umulv2siv2di3. | |
10556 | (*sse2_pmaddwd): Merge with *avx_pmaddwd. | |
10557 | (*sse4_1_mulv4si3): Merge with *avx_mulv4si3. | |
10558 | (ashr<mode>3): Merge with *avx_ashr<mode>3. | |
10559 | (lshr<mode>3): Merge with *avx_lshr<mode>3. | |
10560 | (ashl<mode>3): Merge with *avx_ashl<mode>3. | |
10561 | (sse2_ashlv1ti3): Merge with *avx_ashlv1ti3. | |
10562 | (sse2_lshrv1ti3): Merge with *avx_lshrv1ti3. | |
10563 | (*sse4_1_<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3. | |
10564 | (*<smaxmin:code>v8hi3): Ditto. | |
10565 | (*sse4_1_<umaxmin:code><mode>3): Merge with *avx_<umaxmin:code><mode>3. | |
10566 | (*<smaxmin:code>v16qi3): Ditto. | |
10567 | (*sse4_1_eqv2di3): Merge with *avx_eq<mode>3. | |
10568 | (*sse2_eq<mode>3): Ditto. | |
10569 | (*sse4_2_eqv2di3): Merge with *avx_gt<mode>3. | |
10570 | (*sse2_gt<mode>3): Ditto. | |
10571 | (vcondv2di): Split out of vcond<mode>. | |
10572 | (vconduv2di): Split out of vcondu<mode>. | |
10573 | ||
956011be RG |
10574 | 2011-04-11 Richard Guenther <rguenther@suse.de> |
10575 | ||
10576 | * gimplify.c (gimple_fold_indirect_ref): Check host_integerp | |
10577 | before calling tree_low_cst. | |
10578 | ||
e6313a78 RG |
10579 | 2011-04-11 Richard Guenther <rguenther@suse.de> |
10580 | ||
10581 | * stor-layout.c (layout_type): Compute all array index size operations | |
10582 | in the original type. | |
10583 | (initialize_sizetypes): Add comment. | |
10584 | (set_sizetype): Do not set TREE_TYPE of a TREE_VEC. | |
10585 | ||
e69d7376 JM |
10586 | 2011-04-11 Joseph Myers <joseph@codesourcery.com> |
10587 | ||
10588 | * common.opt (Tbss=, Tdata=, Ttext=): New options. | |
10589 | ||
9f9ebcdf MJ |
10590 | 2011-04-11 Martin Jambor <mjambor@suse.cz> |
10591 | ||
10592 | * cgraph.c (cgraph_local_info): Call cgraph_get_node instead | |
10593 | of cgraph_node, handle NULL return value. | |
10594 | (cgraph_global_info): Likewise. | |
10595 | (cgraph_rtl_info): Likewise. | |
10596 | * tree-inline.c (estimate_num_insns): Likewise. | |
10597 | * gimplify.c (unshare_body): Likewise. | |
10598 | (unvisit_body): Likewise. | |
10599 | (gimplify_body): Likewise. | |
10600 | * predict.c (optimize_function_for_size_p): Likewise. | |
10601 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Likewise. | |
10602 | (call_may_clobber_ref_p_1): Likewise. | |
10603 | * varasm.c (function_section_1): Likewise. | |
10604 | (assemble_start_function): Likewise. | |
10605 | ||
581985d7 MJ |
10606 | 2011-04-11 Martin Jambor <mjambor@suse.cz> |
10607 | ||
10608 | * except.c (set_nothrow_function_flags): Call cgraph_get_node instead | |
10609 | of cgraph_node. | |
10610 | * final.c (rest_of_clean_state): Likewise. | |
10611 | * gimple-iterator.c (update_call_edge_frequencies): Likewise. | |
10612 | * passes.c (pass_init_dump_file): Likewise. | |
10613 | (execute_all_ipa_transforms): Likewise. | |
10614 | (function_called_by_processed_nodes_p): Likewise. | |
10615 | * predict.c (maybe_hot_frequency_p): Likewise. | |
10616 | (probably_never_executed_bb_p): Likewise. | |
10617 | (compute_function_frequency): Likewise. | |
10618 | * tree-nested.c (check_for_nested_with_variably_modified): Likewise. | |
10619 | (unnest_nesting_tree_1): Likewise. | |
10620 | (lower_nested_functions): Likewise. | |
10621 | * tree-optimize.c (execute_fixup_cfg): Likewise. | |
10622 | (tree_rest_of_compilation): Likewise. | |
10623 | * tree-profile.c (gimple_gen_ic_func_profiler): Likewise. | |
10624 | * tree-sra.c (ipa_early_sra): Likewise. | |
10625 | * tree-ssa-loop-ivopts.c (computation_cost): Likewise. | |
10626 | * config/i386/i386.c (ix86_compute_frame_layout): Likewise. | |
10627 | * ipa.c (record_cdtor_fn): Likewise. | |
10628 | * ipa-inline.c (cgraph_early_inlining): Likewise. | |
10629 | (compute_inline_parameters_for_current): Likewise. | |
10630 | * ipa-prop.c (ipa_make_edge_direct_to_target): Likewise. | |
10631 | * ipa-pure-const.c (local_pure_const): Likewise. | |
10632 | * ipa-split.c (split_function): Likewise. | |
10633 | (execute_split_functions): Likewise. | |
10634 | * cgraphbuild.c (build_cgraph_edges): Likewise. | |
10635 | (rebuild_cgraph_edges): Likewise. | |
10636 | (cgraph_rebuild_references): Likewise. | |
10637 | (remove_cgraph_callee_edges): Likewise. | |
10638 | * cgraphunit.c (cgraph_mark_if_needed): Likewise. | |
10639 | (verify_cgraph_node): Likewise. | |
10640 | (cgraph_analyze_functions): Likewise. | |
10641 | (cgraph_preserve_function_body_p): Likewise. | |
10642 | (save_inline_function_body): Likewise. | |
10643 | (save_inline_function_body): Likewise. | |
10644 | * tree-inline.c (copy_bb): Likewise. | |
10645 | (optimize_inline_calls): Likewise. | |
10646 | ||
57dbdc5a MJ |
10647 | 2011-04-11 Martin Jambor <mjambor@suse.cz> |
10648 | ||
10649 | PR tree-optimization/48195 | |
10650 | * ipa-cp.c (ipcp_driver): Call ipa_check_create_node_params and | |
10651 | ipa_check_create_edge_args. | |
10652 | (ipcp_generate_summary): Do not call ipa_check_create_node_params and | |
10653 | ipa_check_create_edge_args. | |
10654 | * ipa-inline.c (inline_generate_summary): Do not call | |
10655 | ipa_check_create_node_params and ipa_check_create_edge_args. | |
10656 | * ipa-prop.c (ipa_analyze_node): Call ipa_check_create_node_params and | |
10657 | ipa_check_create_edge_args. | |
10658 | ||
d108e679 AS |
10659 | 2011-04-09 Anatoly Sokolov <aesok@post.ru> |
10660 | ||
10661 | * expr.c (expand_expr_real_1): Use add_to_hard_reg_set function | |
10662 | instead of loop. | |
10663 | * sel-sched.c (mark_unavailable_hard_regs): Likewise. | |
10664 | * function.c (record_hard_reg_sets): Likewise. | |
10665 | * ira.c (compute_regs_asm_clobbered): Likewise. | |
10666 | * sched-deps.c (sched_analyze_1): Likewise. | |
10667 | * reload1.c (mark_reload_reg_in_use, choose_reload_regs): Likewise. | |
10668 | ||
3411bc59 XDL |
10669 | 2011-04-09 Xinliang David Li <davidxl@google.com> |
10670 | ||
10671 | PR tree-optimization/PR48484 | |
10672 | * tree-ssa-uninit.c (convert_control_dep_chain_into_preds): Set | |
10673 | has_valid_pred lazily | |
10674 | ||
b365495a DS |
10675 | 2011-04-09 Duncan Sands <baldrick@free.fr> |
10676 | ||
10677 | * tree.c (array_type_nelts): Bail out if TYPE_MAX_VALUE not set. | |
10678 | ||
68bc509a EB |
10679 | 2011-04-08 Eric Botcazou <ebotcazou@adacore.com> |
10680 | ||
10681 | * combine.c (combine_validate_cost): Adjust comments. Set registered | |
10682 | cost of I0 to zero at the end, if any. | |
10683 | ||
041e059f XDL |
10684 | 2011-04-08 Xinliang David Li <davidxl@google.com> |
10685 | ||
68bc509a EB |
10686 | * ipa-cp.c (ipcp_update_profiling): Correct negative scale factor due |
10687 | to insane profile data. | |
041e059f | 10688 | |
444b3995 XDL |
10689 | 2011-04-08 Xinliang David Li <davidxl@google.com> |
10690 | ||
10691 | * ipa-cp.c (ipcp_update_profiling): Correct | |
10692 | negative scale factor due to insane profile data. | |
10693 | ||
6a801cf2 XDL |
10694 | 2011-04-08 Xinliang David Li <davidxl@google.com> |
10695 | ||
10696 | * final.c (dump_basic_block_info): New function. | |
10697 | (final): Dump basic block. | |
10698 | (final_scan_insn): Remove old dump. | |
10699 | ||
d5f3624e SK |
10700 | 2011-04-08 Steven G. Kargl <kargl@gcc.gnu.org> |
10701 | ||
68bc509a EB |
10702 | PR target/47829 |
10703 | * config.gcc (i386-*-freebsd): Disable unwind table generation for | |
10704 | crtbegin/crtend. | |
d5f3624e | 10705 | |
42821aff MM |
10706 | 2011-04-08 Michael Matz <matz@suse.de> |
10707 | ||
10708 | PR middle-end/48389 | |
10709 | * jump.c (rebuild_jump_labels_1, rebuild_jump_labels_chain): New | |
10710 | functions. | |
10711 | (rebuild_jump_labels): Call rebuild_jump_labels_1. | |
10712 | * rtl.h (rebuild_jump_labels_chain): Declare. | |
10713 | * cfgexpand.c (gimple_expand_cfg): Initialize JUMP_LABEL also on | |
10714 | insns inserted on edges. | |
10715 | ||
ad7be009 JM |
10716 | 2011-04-08 Joseph Myers <joseph@codesourcery.com> |
10717 | ||
10718 | * config.gcc (arm*-*-*): Add arm/arm-tables.opt to extra_options. | |
10719 | * config/arm/arm-arches.def: New. | |
10720 | * config/arm/arm-opts.h: New. | |
10721 | * config/arm/genopt.sh: New. | |
10722 | * config/arm/arm-tables.opt: New (generated). | |
10723 | * config/arm/arm.c (arm_handle_option, arm_target_help, | |
10724 | TARGET_HANDLE_OPTION, TARGET_HELP, arm_find_cpu): Remove. | |
10725 | (all_architectures): Get most table contents from arm-arches.def. | |
10726 | (arm_option_override): Set arm_selected_arch, arm_selected_cpu and | |
10727 | arm_selected_tune here. | |
10728 | * config/arm/arm.h (enum processor_type): Move to arm-opts.h. | |
10729 | * config/arm/arm.opt (config/arm/arm-opts.h): New HeaderInclude. | |
10730 | (march=, mcpu=, mtune=): Use Enum and Var. | |
10731 | * config/arm/t-arm ($(srcdir)/config/arm/arm-tables.opt): New. | |
10732 | (arm.o): Update dependencies. | |
ecbb6fb7 | 10733 | |
42821aff | 10734 | 2011-04-08 Basile Starynkevitch <basile@starynkevitch.net> |
ecbb6fb7 BS |
10735 | |
10736 | * gengtype.c (write_typed_alloc_def): New argument f. Use it instead | |
10737 | of header_file. | |
10738 | (write_typed_struct_alloc_def, write_typed_typedef_alloc_def) | |
10739 | (write_typed_alloc_defns): Likewise. | |
10740 | (main): Calls write_typed_alloc_defns with output_header. | |
10741 | ||
8d189b3f VM |
10742 | 2011-04-08 Vladimir Makarov <vmakarov@redhat.com> |
10743 | ||
68bc509a | 10744 | PR inline-asm/48435 |
8d189b3f VM |
10745 | * ira-color.c (setup_profitable_hard_regs): Add comments. |
10746 | Don't take prohibited hard regs into account. | |
10747 | (setup_conflict_profitable_regs): Rename to | |
10748 | get_conflict_profitable_regs. | |
10749 | (check_hard_reg_p): Check prohibited hard regs. | |
10750 | ||
44f370bf NF |
10751 | 2011-04-08 Nathan Froyd <froydnj@codesourcery.com> |
10752 | ||
10753 | * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Call use_reg. | |
10754 | * config/xtensa/xtensa.c (xtensa_call_tls_desc): Likewise. | |
10755 | * config/sparc/sparc.c (sparc_legitimize_tls_address): Likewise. | |
10756 | ||
483d7ad3 JDA |
10757 | 2011-04-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
10758 | ||
10759 | PR target/48366 | |
10760 | * config/pa/pa.c (hppa_register_move_cost): Increase to 18 cost of | |
b8a17fa2 | 10761 | move from floating point to shift amount register. |
483d7ad3 JDA |
10762 | (emit_move_sequence): Remove secondary reload support for floating |
10763 | point to shift amount amount register copies. | |
10764 | (pa_secondary_reload): Return GENERAL_REGS for floating point/shift | |
10765 | amount register copies. | |
10766 | * config/pa/pa32-regs.h (HARD_REGNO_MODE_OK): For shift amount | |
10767 | register, return false if mode isn't a scalar integer mode. | |
10768 | * config/pa/pa64-regs.h (HARD_REGNO_MODE_OK): Likewise. | |
10769 | ||
97e03fa1 RG |
10770 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
10771 | ||
10772 | * gimple.c (gimple_call_flags): Remove kludge. | |
10773 | ||
9d40778b AM |
10774 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
10775 | ||
10776 | * sel-sched.c (sel_region_init): Move call to | |
10777 | sel_setup_region_sched_flags after setup_current_loop_nest. | |
10778 | ||
19ac7892 AB |
10779 | 2011-04-08 Andrey Belevantsev <abel@ispras.ru> |
10780 | ||
10781 | PR rtl-optimization/48272 | |
19ac7892 AB |
10782 | * sched-deps.c (setup_insn_reg_pressure_info): Export and rename to |
10783 | init_insn_reg_pressure_info. Adjust a caller. | |
10784 | * sched-int.h (init_insn_reg_pressure_info): Declare. | |
10785 | * haifa-sched.c (haifa_init_insn): Call init_insn_reg_pressure_info | |
10786 | when sched-pressure is enabled. | |
10787 | ||
0f8c63cc RG |
10788 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
10789 | ||
10790 | * gimple.c (gimple_set_modified): Do not queue calls to | |
10791 | MODIFIED_NORETURN_CALLS here ... | |
10792 | * tree-ssa-operands.c (update_stmt_operands): ... but here. | |
10793 | ||
5e5a425e RG |
10794 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
10795 | ||
10796 | PR lto/48467 | |
10797 | * toplev.c (lang_dependent_init): Do not open asm_out_file | |
10798 | in WPA mode, nor perform debug machinery initialization. | |
10799 | (finalize): Do not unlink asm_out_file in WPA mode. | |
10800 | ||
9bfc434b RG |
10801 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
10802 | ||
10803 | * gimple.h (gimple_call_fntype): New function. | |
10804 | (gimple_call_return_type): Use it. | |
10805 | * expr.c (expand_expr_real_1): Use gimple_call_fntype. | |
10806 | * gimple-low.c (gimple_check_call_args): Likewise. | |
10807 | * gimple.c (gimple_call_flags): Likewise. | |
10808 | (gimple_call_arg_flags): Likewise. | |
10809 | (gimple_call_return_flags): Likewise. | |
10810 | * tree-cfg.c (verify_gimple_call): Likewise. | |
10811 | (do_warn_unused_result): Likewise. | |
10812 | * tree-ssa-ccp.c (ccp_fold_stmt): Likewise. | |
10813 | * value-prof.c (gimple_ic_transform): Fix fndecl check. | |
10814 | ||
7c1f0b40 DM |
10815 | 2011-04-08 Dmitry Melnik <dm@ispras.ru> |
10816 | ||
10817 | PR rtl-optimization/48235 | |
10818 | * sel-sched.c (code_motion_process_successors): Recompute the last | |
10819 | insn in basic block if control flow changed. | |
10820 | (code_motion_path_driver): Ditto. Recompute the first insn as well. | |
10821 | Update condition for ilist_remove. | |
10822 | ||
ea4d630f AM |
10823 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
10824 | ||
10825 | PR rtl-optimization/48302 | |
10826 | * sel-sched-ir.h (sel_add_loop_preheaders): Update prototype. | |
10827 | * sel-sched-ir.c (sel_add_loop_preheaders): Add 'bbs' argument. Use | |
10828 | it to record added preheader blocks. | |
10829 | * sel-sched.c (setup_current_loop_nest): Add 'bbs' argument. Pass it | |
10830 | on to sel_add_loop_preheaders. | |
10831 | (sel_region_init): Move call to setup_current_loop_nest after | |
10832 | sel_init_bbs. | |
10833 | ||
07643d76 AM |
10834 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
10835 | ||
10836 | PR target/48273 | |
10837 | * cfgloop.h (loop_has_exit_edges): New helper. | |
10838 | * sel-sched-ir.c (init_global_and_expr_for_insn): Make CALLs | |
10839 | non-clonable. | |
10840 | * sel-sched.c (sel_setup_region_sched_flags): Don't pipeline loops | |
10841 | that have no exit edges. | |
10842 | ||
1f3b2b4e AM |
10843 | 2011-04-08 Alexander Monakov <amonakov@ispras.ru> |
10844 | ||
10845 | PR rtl-optimization/48442 | |
10846 | * sel-sched.c (init_seqno): Remove number_of_insns argument. Update | |
10847 | all callers. Adjust assert. | |
10848 | ||
554f1948 JJ |
10849 | 2011-04-08 Jakub Jelinek <jakub@redhat.com> |
10850 | ||
10851 | PR tree-optimization/48377 | |
10852 | * tree-vect-data-refs.c (vector_alignment_reachable_p): Set | |
10853 | is_packed to true even for types with smaller TYPE_ALIGN than | |
10854 | TYPE_SIZE. | |
10855 | ||
ddf72388 RG |
10856 | 2011-04-08 Richard Guenther <rguenther@suse.de> |
10857 | ||
10858 | PR bootstrap/48513 | |
10859 | * doc/tm.texi: Re-generate. | |
10860 | ||
0c27e2d8 WG |
10861 | 2011-04-08 Wei Guozhi <carrot@google.com> |
10862 | ||
10863 | PR target/47855 | |
10864 | * config/arm/arm-protos.h (arm_attr_length_push_multi): New prototype. | |
10865 | * config/arm/arm.c (arm_attr_length_push_multi): New function. | |
10866 | * config/arm/arm.md (*push_multi): Change the length computation to | |
10867 | call a C function. | |
10868 | ||
07c5f94e AS |
10869 | 2011-04-08 Anatoly Sokolov <aesok@post.ru> |
10870 | ||
10871 | * doc/tm.texi.in (ASM_OUTPUT_BSS): Remove documentation. | |
10872 | (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): Update documentation. | |
10873 | * doc/tm.texi: Regenerate. | |
10874 | * system.h (ASM_OUTPUT_BSS): Poison. | |
10875 | * varasm.c (asm_output_bss): Remove function. | |
10876 | (emit_bss, init_varasm_once): Don't use ASM_OUTPUT_BSS macro. | |
798dd0ba | 10877 | |
07c5f94e AS |
10878 | * config/frv/frv.h (BSS_SECTION_ASM_OP): Remove comment. |
10879 | * config/frv/fr30.h (BSS_SECTION_ASM_OP): Likewise. | |
10880 | * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Likewise. | |
10881 | * config/i386/i386elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
10882 | Likewise. | |
10883 | * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
10884 | Likewise. | |
10885 | * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS): | |
10886 | Likewise. | |
10887 | * config/m68k/netbsd-elf.h (ASM_OUTPUT_ALIGNED_BSS): Likewise. | |
10888 | ||
5f2c36e1 JM |
10889 | 2011-04-07 Joseph Myers <joseph@codesourcery.com> |
10890 | ||
10891 | * config/rx/rx.opt (rx610, rx200, rx600): Use Enum not Name on | |
10892 | EnumValue lines. | |
10893 | ||
39e7722b JM |
10894 | 2011-04-07 Joseph Myers <joseph@codesourcery.com> |
10895 | ||
10896 | * config/m68k/m68k.c (m68k_handle_option): Don't handle | |
10897 | OPT_m68000, OPT_mc68000, OPT_m68010, OPT_m68020, OPT_mc68020, | |
10898 | OPT_m68030, OPT_m68040, OPT_m68060, OPT_m68302, OPT_m68332 and | |
10899 | OPT_mcpu32. | |
10900 | * config/m68k/m68k.h (OPTION_DEFAULT_SPECS, ASM_CPU_SPEC): Don't | |
10901 | handle -mc68000, -m68000, -m68302, -m68010, -mc68020, -m68020, | |
10902 | -m68030, -m68040, -m68060, -mcpu32 and -m68332. | |
10903 | * config/m68k/m68k.opt (m68000, m68010, m68020, m68030, m68040, | |
10904 | m68060, m68302, m68332, mc68000, mc68020, mcpu32): Use Alias. | |
10905 | * config/m68k/t-mlibs (CANONICALIZE_OPTIONS): Remove. | |
10906 | (MULTILIB_OPTIONS): Don't use $(CANONICALIZE_OPTIONS). | |
10907 | (MULTILIB_MATCHES): Map -march= options to corresponding -mcpu= | |
10908 | options. Don't map other m68k options manually. Don't handle | |
10909 | old-style options as canonical. | |
10910 | (MULTILIB_EXCEPTIONS): Don't use $(CANONICALIZE_OPTIONS). | |
798dd0ba | 10911 | * doc/install.texi (m68k-*-*): Document binutils version requirement. |
39e7722b | 10912 | |
cf103ca4 EB |
10913 | 2011-04-07 Eric Botcazou <ebotcazou@adacore.com> |
10914 | ||
10915 | * basic-block.h (force_nonfallthru): Move to... | |
10916 | * cfghooks.h (struct cfg_hooks): Add force_nonfallthru hook. | |
10917 | (force_nonfallthru): ...here. | |
10918 | * cfghooks.c (force_nonfallthru): New function. | |
10919 | * cfgrtl.c (force_nonfallthru): Rename into... | |
10920 | (rtl_force_nonfallthru): ...this. | |
10921 | (commit_one_edge_insertion): Do not set AUX field. | |
10922 | (commit_edge_insertions): Do not discover new basic blocks. | |
10923 | (rtl_cfg_hooks): Add rtl_force_nonfallthru. | |
10924 | (cfg_layout_rtl_cfg_hooks): Likewise. | |
10925 | * function.c (thread_prologue_and_epilogue_insns): Remove bogus | |
10926 | ATTRIBUTE_UNUSED. Discover new basic blocks in the prologue insns. | |
10927 | * tree-cfg.c (gimple_cfg_hooks): Add NULL for force_nonfallthru. | |
10928 | ||
14431f58 AS |
10929 | 2011-04-07 Anatoly Sokolov <aesok@post.ru> |
10930 | ||
10931 | * config/mips/mips.h (REG_MODE_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): | |
10932 | Remove macros. | |
10933 | ||
3729983c UB |
10934 | 2011-04-07 Uros Bizjak <ubizjak@gmail.com> |
10935 | ||
10936 | * config/i386/sse.md: Update copyright year. | |
10937 | (avxcvtvecmode): Remove. | |
10938 | (sse_movhlps): Merge with *avx_movhlps. | |
10939 | (sse_movlhps): Merge with *avx_movlhps. | |
10940 | (vec_interleave_highv4sf): Merge with *avx_interleave_highv4sf. | |
10941 | (vec_interleave_lowv4sf): Merge with *avx_interleave_lowv4sf. | |
10942 | (sse_shufps_<mode>): Merge with *avx_shufps_<mode>. | |
10943 | (sse_loadhps): Merge with *avx_loadhps. | |
10944 | (sse_storelps): Merge with *avx_storelps. | |
10945 | (sse_loadlps): Merge with *avx_loadlps. | |
10946 | (sse_movss): Merge with *avx_movss. | |
10947 | (*vec_concatv2sf_sse4_1): Merge with *vec_concatv2sf_avx. | |
10948 | (*vec_concatv4sf_sse): Merge with *vec_concatv4sf_avx. | |
10949 | (*vec_set<mode>_0_sse4_1): Merge with *vec_set<mode>_0_avx. | |
10950 | (*vec_set<mode>_0_sse2): Split multi-unit alternative. | |
10951 | (vec_set<mode>_0): Ditto. | |
10952 | (*vec_setv4sf_sse4_1): Merge with *vec_setv4sf_avx. | |
10953 | (sse4_1_insertps): Merge with *avx_insertps. | |
10954 | (*sse3_interleave_highv2df): Merge with *avx_interleave_highv2df. | |
10955 | (*sse3_interleave_lowv2df): Merge with *avx_interleave_lowv2df. | |
10956 | (vec_interleave_highv2di): Merge with *avx_interleave_highv2di. | |
10957 | (sse2_shufpd_<mode>): Merge with *avx_shufpd_<mode>. | |
10958 | (sse2_storehpd): Merge with *avx_storehpd. | |
10959 | (sse2_loadhpd): Merge with *avx_loadhpd. | |
10960 | (sse2_loadlpd): Merge with *avx_loadlpd. | |
10961 | (sse2_movsd): Merge with *avx_movsd. | |
10962 | (*vec_concatv2df): Merge with *vec_concatv2df. | |
10963 | ||
4e626909 JJ |
10964 | 2011-04-07 Jakub Jelinek <jakub@redhat.com> |
10965 | ||
10966 | PR debug/48343 | |
10967 | * combine.c (combine_instructions): Add last_combined_insn, | |
3729983c | 10968 | update it if insn is after it, pass it to all try_combine calls. |
4e626909 JJ |
10969 | (try_combine): Add last_combined_insn parameter, pass it instead of |
10970 | i3 to propagate_for_debug. | |
10971 | ||
3729983c | 10972 | 2011-04-07 Nick Clifton <nickc@redhat.com> |
5a10b0a9 NC |
10973 | |
10974 | * config/mn10300/mn10300.md (movqi_internal): Add alternatives | |
10975 | to handle MDR <-> data register transfers. | |
10976 | (movhi_internal): Likewise. | |
10977 | ||
20c03367 AM |
10978 | 2011-04-07 Alan Modra <amodra@gmail.com> |
10979 | ||
10980 | * config/rs6000/rs6000.c (rs6000_stack_info): Don't compare against | |
10981 | previous stack info. | |
10982 | ||
bf22920b TV |
10983 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
10984 | ||
10985 | PR target/43920 | |
10986 | * cfgcleanup.c (try_crossjump_to_edge): Add dir parameter. Pass dir to | |
10987 | flow_find_cross_jump. Swap variables to implement backward replacement. | |
10988 | (try_crossjump_bb): Add argument to try_crossjump_to_edge. | |
10989 | ||
823918ae TV |
10990 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
10991 | ||
10992 | PR target/43920 | |
10993 | * cfgcleanup.c (walk_to_nondebug_insn): New function. | |
3729983c UB |
10994 | (flow_find_cross_jump): Use walk_to_nondebug_insn. Recalculate bb1 |
10995 | and bb2. | |
10996 | (try_crossjump_to_edge): Handle case that newpos1 or newpos2 is not | |
10997 | src1 or src2. Redirect edges to the last basic block. Update | |
10998 | frequency and count on multiple basic blocks in case of fallthru. | |
823918ae | 10999 | |
472c95f5 TV |
11000 | 2011-04-07 Tom de Vries <tom@codesourcery.com> |
11001 | ||
11002 | PR target/43920 | |
11003 | * cfgcleanup.c (equal_different_set_p, can_replace_by, merge_dir): New | |
11004 | function. | |
3729983c UB |
11005 | (old_insns_match_p): Change return type. Replace return false/true |
11006 | with return dir_none/dir_both. Use can_replace_by. | |
11007 | (flow_find_cross_jump): Add dir_p parameter. Init replacement | |
11008 | direction from dir_p. Register replacement direction in dir, last_dir | |
11009 | and afterlast_dir. Handle new return type of old_insns_match_p using | |
472c95f5 TV |
11010 | merge_dir. Return replacement direction in dir_p. |
11011 | (flow_find_head_matching_sequence, outgoing_edges_match): Handle new | |
11012 | return type of old_insns_match_p. | |
11013 | (try_crossjump_to_edge): Add argument to call to flow_find_cross_jump. | |
11014 | * ifcvt.c ( cond_exec_process_if_block): Add argument to call to | |
11015 | flow_find_cross_jump. | |
11016 | * basic-block.h (enum replace_direction): New type. | |
11017 | (flow_find_cross_jump): Add parameter to declaration. | |
11018 | ||
a95d4000 UB |
11019 | 2011-04-06 Uros Bizjak <ubizjak@gmail.com> |
11020 | ||
11021 | * config/i386/sse.md (AVXMODEDCVTDQ2PS): Remove. | |
11022 | (AVXMODEDCVTPS2DQ): Ditto. | |
11023 | (VEC_FLOAT_MODE): Ditto. | |
11024 | (<sse>_andnot<mode>3): Merge with avx_andnot<mode>3. Use VF mode | |
11025 | iterator. Handle TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL target flag. | |
11026 | (<any_logic:code><mode>3): Use VF mode iterator. | |
11027 | (*<any_logic:code><mode>3): Merge with *avx_<any_logic:code><mode>3. | |
11028 | Use VF mode iterator. | |
11029 | (copysign<mode>3): Use VF mode iterator. | |
11030 | (*andnot<MODEF:mode>3): Merge with *avx_andnot<MODEF:mode>3. Handle | |
11031 | TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL target flag. | |
11032 | (*<any_logic:code><MODEF:mode>3): Merge with | |
11033 | *avx_<any_logic:code><MODEF:mode>3. | |
11034 | (sse_cvtsi2ss): Merge with *avx_cvtsi2ss. | |
11035 | (sse_cvtsi2ssq): Merge with *avx_cvtsi2ssq. | |
11036 | (avx_cvtdq2ps256): Split from avx_cvtdq2ps<avxmodesuffix>. | |
11037 | (avx_cvtdq2ps<avxmodesuffix>): Remove. | |
11038 | (sse2_cvtdq2ps): Use %v modifier. | |
11039 | (avx_cvtps2dq256): Split from avx_cvtps2dq<avxmodesuffix>. | |
11040 | (avx_cvtps2dq<avxmodesuffix>): Remove. | |
11041 | (sse2_cvtps2dq): Use %v modifier. | |
11042 | (avx_cvttps2dq256): Split from avx_cvttps2dq<avxmodesuffix>. | |
11043 | (avx_cvttps2dq<avxmodesuffix>): Remove. | |
11044 | (sse2_cvttps2dq): Use %v modifier. | |
11045 | (sse2_cvtsi2sd): Merge with *avx_cvtsi2sd. | |
11046 | (sse2_cvtsi2sdq): Merge with *avx_cvtsi2sdq. | |
11047 | (sse2_cvtsd2siq): Fix insn template. | |
11048 | (sse2_cvtsd2siq_2): Ditto. | |
11049 | (sse2_cvttsd2siq): Ditto. | |
11050 | (sse2_cvtsd2ss): Merge with *avx_cvtsd2ss. | |
11051 | (sse2_cvtss2sd): Merge with *avx_cvtss2sd. | |
11052 | ||
ad01c437 JM |
11053 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
11054 | ||
11055 | * gcov-io.c: Use GCC Runtime Library Exception. | |
11056 | ||
fe846284 JJ |
11057 | 2011-04-06 Jakub Jelinek <jakub@redhat.com> |
11058 | ||
11059 | PR debug/48466 | |
11060 | * dwarf2out.c (based_loc_descr): If drap_reg is INVALID_REGNUM, use | |
11061 | as base_reg whatever register reg has been eliminated to, instead | |
11062 | of hardcoding STACK_POINTER_REGNUM. | |
11063 | ||
acce4e77 JM |
11064 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
11065 | ||
11066 | * doc/tm.texi.in: Document C target hooks as separate from general | |
11067 | target hooks. | |
11068 | * doc/tm.texi: Regenerate. | |
11069 | * genhooks.c (struct hook_desc): Add docname field. | |
11070 | (HOOK_VECTOR_1, DEFHOOKPOD, DEFHOOK, DEFHOOK_UNDOC). Initialize | |
11071 | docname field. | |
11072 | (hook_array): Include c-target.def. | |
11073 | (emit_documentation): Use docname field in output. | |
11074 | (emit_init_macros): Take docname argument. Only emit definitions | |
11075 | for hooks matching docname. | |
11076 | (main): Expect additional arguments in all cases. Pass argument | |
11077 | to emit_init_macros. | |
11078 | * target.def: Move initial macro definitions and comments to | |
11079 | target-hooks-macros.h. | |
11080 | (gcc_targetcm): Move to c-family/c-target.def. | |
11081 | * target.h (targetcm): Move declaration to c-family/c-target.h. | |
11082 | * targhooks.c (default_handle_c_option): Move to | |
11083 | c-family/c-opts.c. | |
11084 | * targhooks.h (default_handle_c_option): Move declaration to | |
11085 | c-family/c-common.h. | |
11086 | * target-hooks-macros.h: New file. | |
11087 | * config.gcc (target_has_targetcm): Define and use to add to | |
11088 | c_target_objs and cxx_target_objs. | |
11089 | * config/default-c.c: New file. | |
11090 | * config/darwin-c.c: Include c-target.h and c-target-def.h instead | |
11091 | of target.h and target-def.h. | |
11092 | (TARGET_HANDLE_C_OPTION, targetcm): Define later in file. | |
11093 | (darwin_objc_construct_string, darwin_cfstring_ref_p, | |
11094 | darwin_check_cfstring_format_arg): Make static. | |
11095 | (TARGET_OBJC_CONSTRUCT_STRING_OBJECT, | |
11096 | TARGET_STRING_OBJECT_REF_TYPE_P, | |
11097 | TARGET_CHECK_STRING_OBJECT_FORMAT_ARG): Define here. | |
11098 | * config/darwin-protos.h (darwin_objc_construct_string, | |
11099 | darwin_cfstring_ref_p, darwin_check_cfstring_format_arg): Don't | |
11100 | declare. | |
11101 | * config/darwin.h (TARGET_OBJC_CONSTRUCT_STRING_OBJECT, | |
11102 | TARGET_STRING_OBJECT_REF_TYPE_P, | |
a95d4000 | 11103 | TARGET_CHECK_STRING_OBJECT_FORMAT_ARG, TARGET_HAS_TARGETCM): Remove. |
acce4e77 JM |
11104 | * config/t-darwin (darwin-c.o): Update dependencies. |
11105 | * system.h (TARGET_HAS_TARGETCM): Poison. | |
11106 | * Makefile.in (TARGET_H): Update. | |
11107 | (TARGET_DEF, C_TARGET_DEF, C_TARGET_H, C_TARGET_DEF_H): Define. | |
11108 | (c-family/c-format.o, c-family/c-opts.o): Update dependencies. | |
11109 | (default-c.o): New target. | |
11110 | (s-target-hooks-def-h): Pass "Target Hook" string to genhooks. | |
a95d4000 | 11111 | (c-family/c-target-hooks-def.h, s-c-target-hooks-def-h): New targets. |
acce4e77 JM |
11112 | (s-tm-texi): Pass -d option to genhooks. Also test timestamp on |
11113 | c-target.def. | |
11114 | (build/genhooks.o): Update dependencies. | |
11115 | ||
275b4baa | 11116 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
a95d4000 | 11117 | |
275b4baa RG |
11118 | * ipa-inline.c (enum inlining_mode): Remove. |
11119 | (cgraph_flatten): Use some other token. | |
11120 | (cgraph_edge_early_inlinable_p): New function, split out from ... | |
11121 | (cgraph_perform_always_inlining): New function, split out from ... | |
11122 | (cgraph_decide_inlining_incrementally): ... here. | |
11123 | (cgraph_mark_inline_edge): Adjust. | |
11124 | (cgraph_early_inlining): Re-structure. | |
11125 | (pass_early_inline): Require SSA form. | |
11126 | ||
f15b8bdf | 11127 | 2011-04-06 Andrew Stubbs <ams@codesourcery.com> |
9adc580c AS |
11128 | Julian Brown <julian@codesourcery.com> |
11129 | Mark Shinwell <shinwell@codesourcery.com> | |
11130 | ||
11131 | * config/arm/arm.h (arm_class_likely_spilled_p): Check against | |
11132 | LO_REGS only for Thumb-1. | |
11133 | (MODE_BASE_REG_CLASS): Restrict base registers to those which can | |
11134 | be used in short instructions when optimising for size on Thumb-2. | |
11135 | ||
516426da EB |
11136 | 2011-04-06 Eric Botcazou <ebotcazou@adacore.com> |
11137 | ||
11138 | * gimple-low.c (lower_gimple_return): When not optimizing, force labels | |
11139 | associated with user returns to be preserved. | |
11140 | ||
96621ebf TG |
11141 | 2011-04-06 Tristan Gingold <gingold@adacore.com> |
11142 | ||
f15b8bdf EB |
11143 | * dbxout.c (debug_nesting, symbol_queue, symbol_queue_index, |
11144 | symbol_queue_size, DBXOUT_DECR_NESTING, | |
96621ebf TG |
11145 | (DBXOUT_DECR_NESTING_AND_RETURN): Also define |
11146 | if XCOFF_DEBUGGING_INFO. | |
11147 | ||
07c0852e UB |
11148 | 2011-04-06 Uros Bizjak <ubizjak@gmail.com> |
11149 | ||
11150 | * config/i386/i386.md (attribute isa): New. | |
11151 | (attribute enabled): New. | |
11152 | (setcc_<mode>_sse): Merge from *{avx,sse}_setcc<mode>. | |
11153 | (*fop_<mode>_comm_mixed): Merge with *fop_<mode>_comm_mixed_avx. | |
11154 | (*fop_<mode>_comm_sse): Merge with *fop_<mode>_comm_avx. | |
11155 | (*fop_<mode>_1_mixed): Merge with *fop_<mode>_1_mixed_avx. | |
11156 | (*fop_<mode>_1_sse): Merge with *fop_<mode>_1_avx. | |
11157 | (<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3. | |
11158 | (*ieee_smin<mode>3): Merge with *avx_ieee_smin<mode>3. | |
11159 | (*ieee_smax<mode>3): Merge with *avx_ieee_smax<mode>3. | |
11160 | ||
11161 | * config/i386/sse.md (VF): New mode iterator. | |
11162 | (VF1): Ditto. | |
11163 | (VF2): Ditto. | |
11164 | (VF_128): Ditto. | |
11165 | (SSEMODEF4): Remove. | |
11166 | (attribute sse): Handle V8SF and V4DF modes. | |
11167 | (<absneg:code><mode>2): Use VF mode iterator. | |
11168 | (*absneg<mode>2): Merge from *{avx,sse}_absneg<mode>2. Use VF | |
11169 | mode iterator. | |
11170 | (<plusminus_insn><mode>3): Use VF mode iterator. | |
11171 | (*<plusminus_insn><mode>3): Merge with *avx_<plusminus_insn><mode>3. | |
11172 | Use VF mode iterator. | |
11173 | (<sse>_vm<plusminus_insn><mode>3): Merge with | |
11174 | *avx_vm<plusminus_insn><mode>3. Use VF_128 mode iterator. | |
11175 | (mul<mode>3): Use VF mode iterator. | |
11176 | (*mul<mode>3): Merge with *avx_mul<mode>3. Use VF mode iterator. | |
11177 | (<sse>_vmmul<mode>3): Merge with *avx_vmmul<mode>3. Use VF_128 | |
11178 | mode iterator. | |
11179 | (div<VF2:mode>3): Merge from divv2df3 and divv4df3. | |
11180 | (div<VF1:mode>3): Merge from divv4sf3 and divv8sf3. | |
11181 | (<sse>_div<mode>3): Merge with *avx_div<mode>3. Use VF mode iterator. | |
11182 | (<sse>_vmdiv<mode>3): Merge with *avx_vmdiv<mode>3. Use VF_128 | |
11183 | mode iterator. | |
11184 | (<sse>_rcp<mode>2): Merge from avx_rcpv8sf2 and sse_rcpv4sf2. | |
11185 | Use VF1 mode iterator. | |
11186 | (sse_vmrcpv4sf2): Merge with *avx_vmrcpv4sf2. | |
11187 | (sqrt<VF2:mode>2): New expander. | |
11188 | (sqrt<VF1:mode>2): Merge from sqrtv4sf2 and sqrtv8sf2. | |
11189 | (<sse>_sqrt<mode>2): Merge from avx_sqrtv8sf2, sse_sqrtv4sf, sqrtv4df2 | |
11190 | and sqrtv2df2. Use VF mode iterator. | |
11191 | (<sse>_vmsqrt<mode>2): Merge with *avx_vmsqrt<mode>2. Use VF_128 | |
11192 | mode iterator. | |
11193 | (rsqrt<VF1:mode>2): Merge from rsqrtv4sf2 and rsqrtv8sf2. | |
11194 | (<sse>_rsqrt<mode>2): Merge from avx_rsqrtv8sf2 and sse_rsqrt4sf2. | |
11195 | Use VF1 mode iterator. | |
11196 | (sse_vmrsqrtv4sf2): Merge with *avx_vmrsqrtv4sf2. | |
11197 | (<smaxmin:code><mode>3): Use VF mode iterator. | |
11198 | (*<smaxmin:code><mode>3_finite): Merge with | |
11199 | *avx_<smaxmin:code><mode>3_finite. Use VF mode iterator. | |
11200 | (*<smaxmin:code><mode>3): Merge with *avx_<smaxmin:code><mode>3. | |
11201 | (<sse>_vm<smaxmin:code><mode>2): Merge with | |
11202 | *avx_vm<smaxmin:code><mode>2. Use VF_128 mode iterator. | |
11203 | (*ieee_smin<mode>3): Merge with *avx_ieee_smin<mode>3. Use VF | |
11204 | mode iterator. | |
11205 | (*ieee_smax<mode>3): Merge with *avx_ieee_smax<mode>3. Use VF | |
11206 | mode iterator. | |
11207 | (sse3_addsubv2df3): Merge with *avx_addsubv2df3. | |
11208 | (sse3_addsubv4sf3): Merge with *avx_addsubv4sf3. | |
11209 | (sse3_h<plusminus_insn>v2df3): Merge with *avx_h<plusminus_insn>v2df3. | |
11210 | (sse3_h<plusminus_insn>v4sf3): Merge with *avx_h<plusminus_insn>v4sf3. | |
11211 | (avx_cmp<mode>3): Rename from avx_cmp<ssemodesuffix><mode>3. Use | |
11212 | VF mode iterator. | |
11213 | (avx_vmcmp<mode>3): Rename from avx_cmp<ssescalarmodesuffix><mode>3. | |
11214 | Use VF_128 mode iterator. | |
11215 | (<sse>_maskcmp<mode>3): Merge with *avx_maskcmp<mode>3. Use VF | |
11216 | mode iterator. | |
11217 | (<sse>_vmmaskcmp<mode>3): Merge with *avx_vmmaskcmp<mode>3. Use | |
11218 | VF_128 mode iterator. | |
11219 | (vcond<mode>): Use VF mode iterator. | |
11220 | * config/i386/predicates.md (sse_comparison_operator): Merge with | |
11221 | avx_comparison_float_operator. Do not declare as special_predicate. | |
11222 | * config/i386/i386.c (struct builtin_description): Update for renamed | |
11223 | compare patterns. | |
11224 | (ix86_expand_args_builtin): Ditto. | |
11225 | (ix86_expand_sse_compare_mask): Ditto. | |
11226 | ||
ff5d142c RG |
11227 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
11228 | ||
11229 | * tree-inline.c (estimate_num_insns): For calls simply account | |
11230 | for all passed arguments and a used return value. | |
11231 | ||
d7d1d041 | 11232 | 2011-04-06 Richard Guenther <rguenther@suse.de> |
07c0852e | 11233 | |
d7d1d041 RG |
11234 | PR tree-optimization/47663 |
11235 | * cgraph.h (struct cgraph_edge): Add call_stmt_size and | |
11236 | call_stmt_time fields. | |
11237 | (cgraph_edge_inlinable_p): Declare. | |
11238 | (cgraph_edge_recursive_p): New inline function. | |
11239 | * cgraph.c (cgraph_create_edge_1): Initialize call_stmt_size. | |
11240 | (cgraph_clone_edge): Copy it. | |
11241 | * ipa-inline.c (cgraph_estimate_edge_time): New function. | |
11242 | Account for call stmt time. | |
11243 | (cgraph_estimate_time_after_inlining): Take edge argument. | |
11244 | (cgraph_estimate_edge_growth): Account call stmt size. | |
11245 | (cgraph_estimate_size_after_inlining): Take edge argument. | |
11246 | (cgraph_mark_inline_edge): Adjust. | |
11247 | (cgraph_check_inline_limits): Likewise. | |
11248 | (cgraph_recursive_inlining_p): Remove. | |
11249 | (cgraph_edge_badness): Use cgraph_edge_recursive_p. | |
11250 | (cgraph_decide_recursive_inlining): Take edge argument and | |
11251 | adjust. | |
11252 | (cgraph_decide_inlining_of_small_functions): Do not avoid | |
11253 | diags for recursive inlining here. | |
11254 | (cgraph_flatten): Adjust. | |
11255 | (cgraph_decide_inlining_incrementally): Likewise. | |
11256 | (estimate_function_body_sizes): Remove call cost handling. | |
11257 | (compute_inline_parameters): Initialize caller edge call costs. | |
11258 | (cgraph_estimate_edge_growth): New function. | |
11259 | (cgraph_estimate_growth): Use it. | |
11260 | (cgraph_edge_badness): Likewise. | |
11261 | (cgraph_check_inline_limits): Take an edge argument. | |
11262 | (cgraph_decide_inlining_of_small_functions): Adjust. | |
11263 | (cgraph_decide_inlining): Likewise. | |
11264 | * tree-inline.c (estimate_num_insns): Only account for call | |
11265 | return value if it is used. | |
11266 | (expand_call_inline): Avoid diagnostics on recursive inline | |
11267 | functions here. | |
11268 | * lto-cgraph.c (lto_output_edge): Output edge call costs. | |
11269 | (input_edge): Input edge call costs. | |
11270 | ||
2feb95f7 RO |
11271 | 2011-04-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11272 | ||
11273 | * config/alpha/osf5.h (MAX_OFILE_ALIGNMENT): Define. | |
11274 | ||
26fbd9c2 JW |
11275 | 2011-04-06 Jonathan Wakely <jwakely.gcc@gmail.com> |
11276 | ||
11277 | * doc/invoke.texi (Spec Files): Fix typo. | |
11278 | ||
694dc0ca EB |
11279 | 2011-04-06 Eric Botcazou <ebotcazou@adacore.com> |
11280 | ||
11281 | * profile.c (branch_prob): Move declaration of local variable. Remove | |
11282 | obsolete ??? comment. Expand the location explicitly instead of using | |
11283 | the LOCATION_FILE and LOCATION_LINE macros. | |
11284 | ||
4925d0d5 WG |
11285 | 2011-04-06 Wei Guozhi <carrot@google.com> |
11286 | ||
11287 | PR target/47855 | |
11288 | * config/arm/arm.md (arm_cmpsi_insn): Compute attr "length". | |
11289 | (arm_cond_branch): Likewise. | |
11290 | (arm_cond_branch_reversed): Likewise. | |
11291 | (arm_jump): Likewise. | |
11292 | (push_multi): Likewise. | |
11293 | * config/arm/constraints.md (Py): New constraint. | |
11294 | ||
f55dfa2f NF |
11295 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
11296 | ||
11297 | PR bootstrap/48471 | |
11298 | * dbxout.c (debug_nesting, symbol_queue, symbol_queue_index): | |
11299 | Move these... | |
11300 | (symbol_queue_size, DBXOUT_DECR_NESTING): ...and these... | |
11301 | (DBXOUT_DECR_NESTING_AND_RETURN): ...and this under | |
11302 | #ifdef DBX_DEBUGGING_INFO. | |
11303 | ||
fca96842 BS |
11304 | 2011-04-05 Bernd Schmidt <bernds@codesourcery.com> |
11305 | ||
11306 | PR bootstrap/48403 | |
11307 | * haifa-sched.c (schedule_block): Increment cycle_issued_insns only | |
11308 | if old and new states differ. | |
11309 | ||
30b83e38 JM |
11310 | 2011-04-05 Joseph Myers <joseph@codesourcery.com> |
11311 | ||
11312 | * config/m68k/m68k.c (m68k_handle_option): Don't handle OPT_m5200, | |
11313 | OPT_m5206e, OPT_m528x, OPT_m5307, OPT_m5407 and OPT_mcfv4e. | |
11314 | * config/m68k/m68k.h (OPTION_DEFAULT_SPECS, ASM_CPU_SPEC): Don't | |
11315 | handle -m5200, -m5206e, -m528x, -m5307, -m5407 and -mcfv4e. | |
11316 | * config/m68k/m68k.opt (m5200, m5206e, m528x, m5307, m5407, | |
11317 | mcfv4e): Use Alias. | |
11318 | * config/m68k/t-mlibs (MULTILIB_MATCHES): Don't map legacy | |
11319 | ColdFire options to -mcpu= options. | |
11320 | ||
277a9aa5 JL |
11321 | 2011-04-05 Jeff Law <law@redhat.com> |
11322 | ||
11323 | * tree-ssa-threadupdate.c (determine_bb_domination_status): Always | |
11324 | check if BB is a successor of LOOP->header and return | |
11325 | NONDOMINATING if it is not, regardless of ENABLE_CHECKING. | |
11326 | ||
c1e2610e SB |
11327 | 2011-04-05 Steven Bosscher <steven@gcc.gnu.org> |
11328 | ||
11329 | * cprop.c (struct reg_use): Remove. | |
11330 | (reg_use_table): Make an array of RTX. | |
11331 | (find_used_regs, constprop_register, local_cprop_pass, | |
11332 | bypass_block): Simplify users of reg_use_table. | |
11333 | (cprop_insn): Likewise. Iterate if copy propagation succeeded | |
11334 | on one of the uses found by find_used_regs. | |
11335 | ||
e532f586 NF |
11336 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
11337 | ||
11338 | PR bootstrap/48469 | |
11339 | * combine.c (combine_instructions): #ifdef AUTO_INC_DEC links | |
11340 | declaration. | |
11341 | ||
3fb7c055 NF |
11342 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
11343 | ||
11344 | * combine.c (combine_instructions) [AUTO_INC_DEC]: Declare links | |
11345 | as an rtx. | |
11346 | (try_combine) [AUTO_INC_DEC]: Declare a local link rtx. | |
11347 | ||
b71b43d9 SB |
11348 | 2011-04-05 Steven Bosscher <steven@gcc.gnu.org> |
11349 | ||
11350 | PR middle-end/48441 | |
11351 | * cprop.c (one_cprop_pass): Do not mark_oprs_set of deleted insns. | |
11352 | ||
b405b274 NF |
11353 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
11354 | ||
11355 | * combine.c: Include obstack.h. | |
11356 | (struct insn_link): Define. | |
11357 | (uid_log_links): Adjust type. | |
11358 | (FOR_EACH_LOG_LINK): New macro. | |
11359 | (insn_link_obstack): Declare. | |
11360 | (alloc_insn_link): Define. | |
11361 | (create_log_links): Call it. Use FOR_EACH_LOG_LINK and adjust | |
11362 | type of link variables. | |
11363 | (find_single_use, insn_a_feeds_b, combine_instructions): Likewise. | |
11364 | (try_combine, record_promoted_values, distribute_notes): Likewise. | |
11365 | (distribute_links): Likewise. Tweak prototype. | |
11366 | (clear_log_links): Delete. | |
11367 | (adjust_for_new_dest): Call alloc_insn_link. | |
11368 | * Makefile.in (combine.o): Depend on $(OBSTACK_H). | |
11369 | ||
6409abe3 NF |
11370 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
11371 | ||
11372 | * gcse.c (modify_mem_list): Convert to an array of VECs. | |
11373 | (canon_modify_mem_list, compute_transp): Tweak formatting. | |
11374 | (alloc_gcse_mem): Likewise. Adjust for modify_mem_list change. | |
11375 | (load_killed_in_block_p): Likewise. | |
11376 | (record_last_mem_set_info): Likewise. | |
11377 | (clear_modify_mem_tables): Likewise. | |
11378 | ||
170d8157 TV |
11379 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
11380 | ||
11381 | PR middle-end/48461 | |
11382 | * function.c (emit_use_return_register_into_block): Only define if | |
11383 | HAVE_return. | |
11384 | ||
c5911a55 EB |
11385 | 2011-04-05 Eric Botcazou <ebotcazou@adacore.com> |
11386 | ||
11387 | * stor-layout.c (self_referential_size): Fix 2010-07-13 commit. | |
11388 | ||
abd016e6 JM |
11389 | 2011-04-05 Joseph Myers <joseph@codesourcery.com> |
11390 | ||
11391 | * config/rx/rx-opts.h: New. | |
11392 | * config/rx/rx.c (rx_cpu_type): Remove. | |
11393 | (rx_handle_option): Don't assert that global structures are in | |
11394 | use. Access variables via opts pointer. Defer most handling of | |
11395 | OPT_mint_register_. Use error_at. | |
11396 | (rx_option_override): Handle deferred OPT_mint_register_ here. | |
11397 | * config/rx/rx.h (enum rx_cpu_types): Move to rx-opts.h. | |
11398 | * config/rx/rx.opt (config/rx/rx-opts.h: New HeaderInclude. | |
11399 | (mcpu=): Use Enum and specifiy rx_cpu_type with Var. | |
11400 | (rx_cpu_types): New Enum and EnumValue entries. | |
11401 | (mint-register=): Use Defer and use Var accordingly. | |
11402 | ||
1ed13f83 NF |
11403 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
11404 | ||
11405 | * debug.h (debug_flush_symbol_queue, debug_queue_symbol): Delete. | |
11406 | (debug_free_queue, debug_nesting, symbol_queue_index): Delete. | |
11407 | * final.c (debug_flush_symbol_queue, debug_queue_symbol): | |
11408 | Move these... | |
11409 | (debug_free_queue, debug_nesting, symbol_queue_index): | |
11410 | ...and these... | |
11411 | * dbxout.c: ...to here. Make static. | |
11412 | ||
6ce1edcf NF |
11413 | 2011-04-05 Nathan Froyd <froydnj@codesourcery.com> |
11414 | ||
11415 | * gcse.c (modify_pair): Define. Define a VEC of it. | |
11416 | (canon_modify_mem_list): Convert to an array of VECs. | |
11417 | (free_insn_expr_list_list): Delete. | |
11418 | (clear_modify_mem_tables): Call VEC_free instead. | |
11419 | (record_last_mem_set_info): Don't modify canon_modify_mem_list. | |
11420 | (alloc_gcse_mem): Adjust for canon_modify_mem_list change. | |
11421 | (canon_list_insert, compute_transp): Likewise. | |
11422 | ||
c201ac94 TV |
11423 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
11424 | ||
11425 | PR target/43920 | |
11426 | * config/arm/arm.h (BRANCH_COST): Set to 1 for Thumb-2 when optimizing | |
11427 | for size. | |
11428 | ||
4c029f40 TV |
11429 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
11430 | ||
11431 | PR target/43920 | |
11432 | * function.c (emit_use_return_register_into_block): New function. | |
11433 | (thread_prologue_and_epilogue_insns): Use | |
11434 | emit_use_return_register_into_block. | |
11435 | ||
2a562b0a TV |
11436 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
11437 | ||
11438 | PR target/43920 | |
11439 | * cfgcleanup.c (flow_find_cross_jump): Don't count USE or CLOBBER as | |
11440 | insn. | |
11441 | ||
0248bceb TV |
11442 | 2011-04-05 Tom de Vries <tom@codesourcery.com> |
11443 | ||
11444 | * cfgcleanup.c (try_crossjump_bb): Remove 2 superfluous variables. | |
11445 | ||
ffa94123 YZ |
11446 | 2011-04-05 Yufeng Zhang <yufeng.zhang@arm.com> |
11447 | ||
798dd0ba UB |
11448 | * config/arm/arm.md (define_constants for unspec): Replace with |
11449 | define_c_enum. | |
11450 | (define_constants for unspecv): Replace with define_c_enum. | |
11451 | * config/arm/neon.md (define_constants for unspec): Replace with | |
11452 | define_c_enum. | |
ffa94123 | 11453 | |
3b8f9b46 RH |
11454 | 2011-04-04 Richard Henderson <rth@redhat.com> |
11455 | ||
720cf80f | 11456 | PR bootstrap/48400 |
3b8f9b46 RH |
11457 | * dwarf2out.c (output_line_info): Always emit line info from |
11458 | at least one section. | |
11459 | (dwarf2out_init): Create text_section_line_info here ... | |
11460 | (set_cur_line_info_table): ... not here. | |
11461 | ||
720cf80f | 11462 | 2011-04-04 Vladimir Makarov <vmakarov@redhat.com> |
e5b0e1ca VM |
11463 | |
11464 | PR target/48380 | |
11465 | * ira.c (ira): Call grow_reg_equivs when fix_reg_equiv_init is | |
720cf80f | 11466 | not called. |
e5b0e1ca | 11467 | |
720cf80f | 11468 | * ira-emit.c (emit_move_list): Update reg_equiv_init insn list. |
e5b0e1ca | 11469 | |
196565d4 SB |
11470 | 2011-04-04 Steven Bosscher <steven@gcc.gnu.org> |
11471 | ||
b77f9eab SB |
11472 | * cprop.c (struct expr): Split 'expr' field in 'dest' and 'src'. |
11473 | (expr_equiv_p): Remove. | |
11474 | (insert_set_in_table): Look at <dest, src> pair instead of expr. | |
11475 | (hash_scan_set): Update call to insert_set_in_table. | |
11476 | (dump_hash_table): Dump <dest, src> pair. | |
11477 | (lookup_set): Simplify. Lookup <dest, src> pair. | |
11478 | (compute_transp): Remove, fold heavily simplified code into... | |
11479 | (compute_local_properties): ...here. Expect COMP and TRANSP | |
11480 | unconditionally. | |
11481 | (find_avail_set): Take set directly from struct expr. | |
11482 | (find_bypass-set): Likewise. | |
11483 | (bypass_block): Likewise. | |
11484 | (cprop_insn): Likewise. Remove redundant INSN_P test. | |
11485 | ||
384d7a55 SB |
11486 | * cprop.c (implicit_set_cond_p): Assume nothing about COND, move |
11487 | checks on form of COND from find_implicit_sets to here. | |
11488 | (find_implicit_sets): Cleanup control flow. Split critical edges | |
11489 | if it exposes implicit sets. Allocate/resize implicit_sets as | |
11490 | necessary. | |
11491 | (one_cprop_pass): Only delete unreachable blocks if local_cprop_pass | |
11492 | changed something. Run df_analyze after find_implicit_sets if any | |
11493 | edges were split. Do not allocate implicit_sets here. | |
11494 | ||
3084ce69 SB |
11495 | * cprop.c: s/gcse/cprop/ everywhere except for flag_gcse. |
11496 | (gcse_obstack): Renamed to cprop_obstack. | |
11497 | (GNEW, GNEWVEC, GNEWVAR): Remove. | |
11498 | (gmalloc): Remove. | |
11499 | (alloc_hash_table): Use XNEWVAR instead of GNEWVAR. | |
11500 | (GOBNEW, GOBNEWVAR): Adjust for gcse_obstack renaming. | |
11501 | (gcse_alloc): Likewise, and rename to cprop_alloc. | |
11502 | (alloc_gcse_men, free_gcse_mem): Remove. | |
11503 | (gcse_constant_p): Rename to cprop_constant_p, and adjust all callers. | |
11504 | (compute_hash_table_work): Allocate and free reg_set_bitmap here. | |
11505 | (one_cprop_pass): Likewise. Adjust for gcse_obstack renaming. | |
11506 | ||
196565d4 SB |
11507 | * cprop.c (oprs_not_set_p): Remove. |
11508 | (mark_set, mark_clobber): Remove. | |
11509 | (mark_oprs_set): Rewrite using DF_INSN_INFO_DEFS cache. | |
11510 | (reg_not_set_p): New function. | |
11511 | (find_avail_set): Use reg_not_set_p instead of oprs_not_set_p. | |
11512 | (cprop_insn): Likewise. | |
11513 | (cprop_jump): Use FOR_EACH_EDGE. | |
11514 | ||
9b69cf83 BS |
11515 | 2011-04-04 Bernd Schmidt <bernds@codesourcery.com> |
11516 | ||
11517 | PR bootstrap/48403 | |
11518 | * haifa-sched.c (nonscheduled_insns_begin): New static variable. | |
11519 | (rank_for_schedule): Use scheduled_insns vector instead of | |
11520 | last_scheduled_insn. | |
11521 | (ok_for_early_queue_removal): Likewise. | |
11522 | (queue_to_ready): Search forward in nonscheduled_insns_begin if | |
11523 | we have a dbg_cnt. | |
11524 | (choose_ready): Likewise. | |
11525 | (commit_schedule): Use VEC_iterate. | |
11526 | (schedule_block): Initialize nonscheduled_insns_begin. If we have | |
11527 | a dbg_cnt, use it and ensure the first insn is in the ready list. | |
11528 | (haifa_sched_init): Allocate scheduled_insns. | |
11529 | (sched_extend_ready_list): Don't allocate it; reserve space. | |
11530 | (haifa_sched_finish): Free it. | |
11531 | ||
24f48c2f JM |
11532 | 2011-04-04 Joseph Myers <joseph@codesourcery.com> |
11533 | ||
11534 | * optc-gen.awk: Always remove type from Variable entry before | |
11535 | recording in var_seen. | |
11536 | ||
8effe856 EB |
11537 | 2011-04-04 Eric Botcazou <ebotcazou@adacore.com> |
11538 | ||
11539 | * cfghooks.c (tidy_fallthru_edges): Add ??? comment. | |
11540 | * tree-inline.c (delete_unreachable_blocks_update_callgraph): Remove | |
11541 | call to tidy_fallthru_edges. | |
11542 | ||
413519ae JM |
11543 | 2011-04-04 Joseph Myers <joseph@codesourcery.com> |
11544 | ||
11545 | * doc/options.texi (ToLower): Document. | |
3729983c | 11546 | * opt-functions.awk (switch_bit_fields): Initialize cl_tolower field. |
413519ae JM |
11547 | * opts-common.c (decode_cmdline_option): Handle cl_tolower. |
11548 | * opts.h (cl_option): Add cl_tolower field. | |
11549 | * config/rx/rx.c (rx_handle_option): Use strcmp of -mcpu= | |
11550 | arguments with lowercase strings. | |
11551 | * config/rx/rx.opt (mcpu=): Add ToLower. | |
11552 | * config/rx/t-rx (MULTILIB_MATCHES): Don't handle uppercase -mcpu= | |
11553 | argument. | |
11554 | ||
7d34a1b0 RS |
11555 | 2011-04-04 Richard Sandiford <richard.sandiford@linaro.org> |
11556 | ||
11557 | * config/pdp11/pdp11.h (IRA_COVER_CLASSES): Delete. | |
11558 | ||
c30e7434 RS |
11559 | 2011-04-04 Richard Sandiford <richard.sandiford@linaro.org> |
11560 | ||
11561 | * config/vax/vax.c: Include reload.h. | |
11562 | ||
112a861d AS |
11563 | 2011-04-04 Anatoly Sokolov <aesok@post.ru> |
11564 | ||
11565 | * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Remove. | |
11566 | * config/sparc/sparc.c (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
11567 | (sparc_preferred_reload_class): New function. | |
11568 | ||
e8c6bb74 JJ |
11569 | 2011-04-04 Jakub Jelinek <jakub@redhat.com> |
11570 | ||
2aeaa366 | 11571 | PR debug/48401 |
e8c6bb74 JJ |
11572 | * cfgexpand.c (expand_gimple_basic_block): Avoid useless assignment. |
11573 | Use PAT_VAR_LOCATION_LOC instead of INSN_VAR_LOCATION_LOC. | |
11574 | ||
2c081caf NF |
11575 | 2011-04-03 Nathan Froyd <froydnj@codesourcery.com> |
11576 | ||
11577 | * tree.h (struct tree_const_decl): Inherit from tree_decl_common. | |
11578 | * tree.c (initialize_tree_contains_struct): Adjust accordingly. | |
11579 | ||
53802f27 AS |
11580 | 2011-04-03 Anatoly Sokolov <aesok@post.ru> |
11581 | ||
11582 | * config/avr/avr.h (ASM_OUTPUT_BSS): Remove. | |
11583 | (ASM_OUTPUT_ALIGNED_BSS): Define. | |
11584 | ||
e89964e3 MM |
11585 | 2011-04-03 Michael Matz <matz@suse.de> |
11586 | ||
11587 | * lto-streamer.h (struct lto_streamer_cache_d): Remove offsets | |
11588 | and next_slot members. | |
11589 | (lto_streamer_cache_insert, lto_streamer_cache_insert_at, | |
11590 | lto_streamer_cache_lookup, lto_streamer_cache_get): Adjust prototypes. | |
11591 | (lto_streamer_cache_append): Declare. | |
11592 | * lto-streamer.c (lto_streamer_cache_add_to_node_array): Use | |
11593 | unsigned index, remove offset parameter, ensure that we append | |
11594 | or update existing entries. | |
11595 | (lto_streamer_cache_insert_1): Use unsigned index, remove offset_p | |
11596 | parameter, update next_slot for append. | |
11597 | (lto_streamer_cache_insert): Use unsigned index, remove offset_p | |
11598 | parameter. | |
11599 | (lto_streamer_cache_insert_at): Likewise. | |
11600 | (lto_streamer_cache_append): New function. | |
11601 | (lto_streamer_cache_lookup): Use unsigned index. | |
11602 | (lto_streamer_cache_get): Likewise. | |
11603 | (lto_record_common_node): Don't test tree_node_can_be_shared. | |
11604 | (preload_common_node): Adjust call to lto_streamer_cache_insert. | |
11605 | (lto_streamer_cache_delete): Don't free offsets member. | |
11606 | * lto-streamer-out.c (eq_string_slot_node): Use memcmp. | |
11607 | (lto_output_string_with_length): Use lto_output_data_stream. | |
11608 | (lto_output_tree_header): Remove ix parameter, don't write it. | |
11609 | (lto_output_builtin_tree): Likewise. | |
11610 | (lto_write_tree): Adjust callers to above, don't track and write | |
11611 | offset, write unsigned index. | |
11612 | (output_unreferenced_globals): Don't emit all global vars. | |
11613 | (write_global_references): Use unsigned indices. | |
11614 | (lto_output_decl_state_refs): Likewise. | |
11615 | (write_symbol): Likewise. | |
11616 | * lto-streamer-in.c (lto_input_chain): Move earlier. | |
11617 | (input_function): Use unsigned index. | |
11618 | (input_alias_pairs): Don't read and then ignore all global vars. | |
11619 | (lto_materialize_tree): Remove ix_p parameter, don't read index, | |
11620 | don't pass it back, use lto_streamer_cache_append. | |
11621 | (lto_register_var_decl_in_symtab): Use unsigned index. | |
11622 | (lto_register_function_decl_in_symtab): Likewise. | |
11623 | (lto_get_pickled_tree): Don't read in or handle offset, read unsigned | |
11624 | index. | |
11625 | (lto_get_builtin_tree): Don't read index, use | |
11626 | lto_streamer_cache_append. | |
11627 | (lto_read_tree): Adjust call to lto_materialize_tree. | |
11628 | ||
11629 | * ipa-inline.c (cgraph_edge_badness): Move growth calculaton, | |
11630 | don't use function calls in arguments to MIN. | |
11631 | ||
11632 | * varasm.c (decl_binds_to_current_def_p): Don't check TREE_PUBLIC | |
11633 | twice. | |
11634 | ||
11635 | * gimple.c (gimple_type_leader_entry): Mark deletable. | |
11636 | ||
b9a5b5b2 AM |
11637 | 2011-04-03 Alan Modra <amodra@gmail.com> |
11638 | ||
11639 | * dwarf2out.c (mem_loc_descriptor): Recurse on LO_SUM. | |
11640 | ||
ac6a641b MM |
11641 | 2011-04-03 Michael Matz <matz@suse.de> |
11642 | ||
11643 | * tree.c (free_lang_data_in_decl): Zero DECL_VINDEX if it's not | |
11644 | an integer. | |
11645 | * tree.h (tree_decl_non_common.vindex): Adjust comment. | |
11646 | ||
0038d4e0 MM |
11647 | 2011-04-03 Michael Matz <matz@suse.de> |
11648 | ||
e9c18386 | 11649 | * cgraphbuild.c (record_reference): Canonicalize constructor values. |
0038d4e0 MM |
11650 | * gimple-fold.c (canonicalize_constructor_val): Accept being called |
11651 | without function context. | |
11652 | * cgraphunit.c (cgraph_finalize_compilation_unit): Clear | |
11653 | current_function_decl and cfun. | |
11654 | ||
91f2fae8 MM |
11655 | 2011-04-03 Michael Matz <matz@suse.de> |
11656 | ||
11657 | * tree.c (decl_init_priority_insert): Don't create entry for | |
11658 | default priority. | |
11659 | (decl_fini_priority_insert): Ditto. | |
11660 | (fields_compatible_p, find_compatible_field): Remove. | |
11661 | * tree.h (fields_compatible_p, find_compatible_field): Remove. | |
11662 | * gimple.c (gimple_compare_field_offset): Adjust block comment. | |
11663 | ||
da29e070 EB |
11664 | 2011-04-03 Eric Botcazou <ebotcazou@adacore.com> |
11665 | ||
11666 | * combine.c (try_combine): Remove useless local variable. | |
11667 | ||
4979c28b | 11668 | 2011-04-03 Richard Guenther <rguenther@suse.de> |
91f2fae8 | 11669 | Ira Rosen <ira.rosen@linaro.org> |
4979c28b RG |
11670 | |
11671 | * tree-if-conv.c (memrefs_read_or_written_unconditionally): Strip all | |
11672 | non-variable offsets and compare the remaining bases of the two | |
11673 | accesses instead of looking for exact same data-ref. | |
11674 | ||
b4ddcaee KT |
11675 | 2011-04-02 Kai Tietz <ktietz@redhat.com> |
11676 | ||
f90298e1 KT |
11677 | PR target/48416 |
11678 | * i386.c (ix86_function_arg_boundary): Fix printf formatter. | |
11679 | ||
b4ddcaee KT |
11680 | * i386.c (ix86_is_msabi_thiscall): New helper function. |
11681 | (ix86_is_type_thiscall): New helper function. | |
11682 | (ix86_comp_type_attributes): Handle thiscall for method-functions | |
11683 | special. | |
11684 | (init_cumulative_args): Likewise. | |
11685 | (find_drap_reg): Likewise. | |
11686 | (ix86_static_chain): Likewise. | |
11687 | (x86_this_parameter): Likewise. | |
11688 | (x86_output_mi_thunk): Likewise. | |
11689 | ||
2a9d769a | 11690 | 2011-04-01 Olivier Hainque <hainque@adacore.com> |
91f2fae8 MM |
11691 | Nicolas Setton <setton@adacore.com> |
11692 | Eric Botcazou <ebotcazou@adacore.com> | |
2a9d769a OH |
11693 | |
11694 | * dwarf2out.c (dwarf_attr_name): Map DW_AT_GNAT_descriptive_type. | |
11695 | (add_gnat_descriptive_type_attribute): New function. | |
11696 | (gen_array_type_die): Call it. | |
11697 | (gen_enumeration_type_die): Likewise. | |
11698 | (gen_struct_or_union_type_die): Likewise. | |
11699 | (modified_type_die): Likewise. | |
11700 | * langhooks.h (lang_hooks_for_types): New descriptive_type hook. | |
11701 | * langhooks-def.h (LANG_HOOKS_DESCRIPTIVE_TYPE): Default to NULL. | |
11702 | (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add LANG_HOOKS_DESCRIPTIVE_TYPE. | |
11703 | ||
15a03a11 JJ |
11704 | 2011-04-01 Jakub Jelinek <jakub@redhat.com> |
11705 | ||
11706 | PR bootstrap/48148 | |
11707 | * dwarf2out.c (resolve_addr): Don't call force_decl_die | |
11708 | if DECL_EXTERNAL has non-NULL DECL_ABSTRACT_ORIGIN. | |
11709 | ||
11710 | Revert: | |
11711 | 2011-03-17 Richard Guenther <rguenther@suse.de> | |
11712 | ||
11713 | PR bootstrap/48148 | |
11714 | * lto-cgraph.c (input_overwrite_node): Clear the abstract | |
11715 | origin for decls in other ltrans units. | |
11716 | (input_varpool_node): Likewise. | |
11717 | ||
19228b93 JJ |
11718 | 2011-04-01 Jakub Jelinek <jakub@redhat.com> |
11719 | ||
11720 | PR middle-end/48335 | |
11721 | * expr.c (expand_assignment): Handle all possibilities | |
11722 | if TO_RTX is CONCAT. | |
e9c18386 | 11723 | * expmed.c (store_bit_field_1): Avoid trying to create invalid SUBREGs. |
19228b93 JJ |
11724 | (store_split_bit_field): If SUBREG_REG (op0) or |
11725 | op0 itself has smaller mode than word, return it | |
11726 | for offset 0 and const0_rtx for out-of-bounds stores. | |
11727 | If word is const0_rtx, skip it. | |
11728 | ||
88cb339e N |
11729 | 2011-04-01 Naveen H.S <naveen.S@kpitcummins.com> |
11730 | ||
11731 | * config/h8300/h8300.c (print_operand_address): Rename to... | |
11732 | (h8300_print_operand_address): ...this. Make static. Adjust comments. | |
11733 | Call h8300_print_operand and h8300_print_operand_address instead of | |
11734 | print_operand and print_operand_address. Declare. | |
11735 | (print_operand): Renake to... | |
11736 | (h8300_print_operand): ...this. Make static. Adjust comments. | |
11737 | Call h8300_print_operand instead of print_operand. Declare. | |
11738 | (h8300_print_operand_punct_valid_p): Moved from h8300.h file. | |
11739 | (h8300_register_move_cost): Likewise. | |
11740 | (TARGET_PRINT_OPERAND_PUNCT_VALID_P, TARGET_PRINT_OPERAND | |
11741 | TARGET_PRINT_OPERAND_ADDRESS, TARGET_REGISTER_MOVE_COST): Define. | |
11742 | * config/h8300/h8300.h (PRINT_OPERAND_ADDRESS, PRINT_OPERAND | |
11743 | PRINT_OPERAND_PUNCT_VALID_P, REGISTER_MOVE_COST): Delete. | |
11744 | * config/h8300/h8300-protos.h (print_operand): Delete. | |
11745 | (print_operand_address): Delete. | |
11746 | ||
756d6ee9 RH |
11747 | 2011-04-01 Richard Henderson <rth@redhat.com> |
11748 | ||
11749 | PR 48400 | |
11750 | * dwarf2out.c (dwarf2out_source_line): Disable discriminators | |
11751 | in strict mode before dwarf4. Re-order tests to early out | |
11752 | before switching sections. | |
11753 | ||
ceaaaeab NF |
11754 | 2011-04-01 Nathan Froyd <froydnj@codesourcery.com> |
11755 | ||
11756 | * config/h8300/constraints.md: New file. | |
11757 | * config/h8300/h8300.md: Include it. Use satisfies_constraint_J, | |
11758 | satisfies_constraint_L, and satisfies_constraint_N for peephole2s. | |
11759 | (*tst_extzv_1_n, *tstsi_variable_bit_qi): Use satisfies_constraint_U. | |
11760 | * config/h8300/predicates.md (bit_operand): Likewise. | |
11761 | (incdec_operand): Use satisfies_constraint_M and | |
11762 | satisfies_constraint_O. Don't use C code block. | |
11763 | * config/h8300/h8300-protos.h (h8300_reg_class_from_letter): Delete. | |
11764 | * config/h8300/h8300.c (h8300_reg_class_from_letter): Delete. | |
11765 | (compute_mov_length): Use satisfies_constraint_G. | |
11766 | (fix_bit_operand): Use satisfies_constraint_U. | |
11767 | * config/h8300/h8300.h (REG_CLASS_FROM_LETTER): Delete. | |
11768 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Delete. | |
11769 | (CONST_OK_FOR_M, CONST_OK_FOR_N, CONST_OK_FOR_O): Delete. | |
11770 | (CONST_OK_FOR_Ppositive, CONST_OK_FOR_Pnegative): Delete. | |
11771 | (CONST_OK_FOR_P, CONSTRAINT_LEN_FOR_P): Delete. | |
11772 | (CONST_OK_FOR_CONSTRAINT_P, CONST_OK_FOR_LETTER_P): Delete. | |
11773 | (CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
11774 | (OK_FOR_Q, OK_FOR_R, OK_FOR_S, OK_FOR_T, OK_FOR_U, OK_FOR_WU): Delete. | |
11775 | (OK_FOR_W, CONSTRAINT_LEN_FOR_W, OK_FOR_Y2, OK_FOR_Y0): Delete. | |
11776 | (OK_FOR_Y, CONSTRAINT_LEN_FOR_Y, OK_FOR_Z): Delete. | |
11777 | (EXTRA_CONSTRAINT_STR, CONSTRAINT_LEN): Delete. | |
11778 | (EXTRA_MEMORY_CONSTRAINT): Delete. | |
11779 | ||
08ae38e0 AP |
11780 | 2011-04-01 Andrew Pinski <pinskia@gmail.com> |
11781 | Michael Meissner <meissner@linux.vnet.ibm.com> | |
11782 | ||
11783 | PR target/48262 | |
11784 | * config/rs6000/vector.md (movmisalign<mode>): Allow for memory | |
11785 | operands, as per the specifications. | |
11786 | ||
11787 | * config/rs6000/altivec.md (vec_extract_evenv4si): Correct modes. | |
11788 | (vec_extract_evenv4sf): Ditto. | |
11789 | (vec_extract_evenv8hi): Ditto. | |
11790 | (vec_extract_evenv16qi): Ditto. | |
11791 | (vec_extract_oddv4si): Ditto. | |
11792 | ||
bdb0b0f6 MW |
11793 | 2011-03-31 Mark Wielaard <mjw@redhat.com> |
11794 | ||
11795 | * dwarf2out.c (dwarf2out_finish): Don't add low_pc and/or | |
11796 | high_pc attribute if the CU has no associated code. Only output | |
11797 | DW_AT_entry_pc for CU if not generating strict dwarf and | |
11798 | dwarf_version < 4. | |
11799 | ||
722279e4 BS |
11800 | 2011-04-01 Bernd Schmidt <bernds@codesourcery.com> |
11801 | ||
11802 | * dwarf2out.h (dwarf2out_frame_debug_init): Declare. | |
11803 | * dwarf2out.c (dwarf2out_frame_debug_init): New function, broken | |
11804 | out of ... | |
11805 | (dwarf2out_frame_debug): ... here. Don't handle a NULL argument. | |
11806 | * final.c (final_start_function): Call the new function rather | |
11807 | than using a NULL argument for dwarf2out_frame_debug. | |
11808 | ||
c5dd277d BS |
11809 | * ifcvt.c (cond_exec_process_insns): Disallow converting a block |
11810 | that contains the prologue. | |
11811 | ||
ec4efea9 BS |
11812 | * haifa-sched.c (queue_insn): New arg REASON. All callers |
11813 | changed. Print it in debugging output. | |
11814 | ||
2a6a0d80 BS |
11815 | * sched-ebb.c (schedule_ebbs): Honor the BB_DISABLE_SCHEDULE flag. |
11816 | ||
86014d07 BS |
11817 | * sched-ebb.c (begin_schedule_ready): Remove second argument. |
11818 | Split most of the code into... | |
11819 | (begin_move_insn): ... here. New function. | |
11820 | (ebb_sched_info): Add a pointer to it. | |
11821 | * haifa-sched.c (scheduled_insns): New static variable. | |
11822 | (sched_extend_ready_list): Allocate it. | |
11823 | (schedule_block): Use it to record the order of scheduled insns. | |
11824 | Perform RTL changes to move insns only after all scheduling | |
11825 | decisions have been made. | |
11826 | * modulo-sched.c (sms_sched_haifa_sched_info): Add NULL entry for the | |
11827 | begin_move_insn field. | |
11828 | * sel-sched-ir.c (sched_sel_haifa_sched_info): Likewise. | |
11829 | * sched-int.h (struct haifa_sched_info): Remove second argument | |
11830 | from begin_schedule_ready hook. Add new member begin_move_insn. | |
11831 | * sched-rgn.c (begin_schedule_ready): Remove second argument. | |
11832 | (rgn_const_sched_info): Add NULL entry for the begin_move_insn field. | |
11833 | ||
9d701248 BS |
11834 | * haifa-sched.c (prune_ready_list): New function, broken out of |
11835 | schedule_block. | |
11836 | (schedule_block): Use it. | |
11837 | ||
1ca1dad5 UW |
11838 | 2011-04-01 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
11839 | ||
11840 | * config/spu/t-spu-elf (dp-bit.c): Use > instead of >>. | |
11841 | ||
49568e45 KT |
11842 | 2011-04-01 Kai Tietz <ktietz@redhat.com> |
11843 | ||
11844 | * config.gcc (*-*-mingw*): Allow as option the | |
11845 | posix threading model. | |
07c0852e | 11846 | * config/i386/mingw32.h (SPEC_PTHREAD1, SPEC_PTHREAD2): |
49568e45 KT |
11847 | New macros defined dependent to TARGET_USE_PTHREAD_BY_DEFAULT |
11848 | definition. | |
11849 | (CPP_SPEC): Add pthread/no-pthread handling. | |
11850 | (LIB_SPEC): Likewise. | |
11851 | * config/i386/mingw-w64.h (CPP_SPEC):Likewise. | |
11852 | (LIB_SPEC): Likewise. | |
11853 | * config/i386/t-cygming (SHLIB_PTHREAD_CFLAG): New | |
11854 | flag to pass -pthread option for shared libgcc build. | |
11855 | (SHLIB_PTHREAD_LDFLAG): New option to pass -lpthread | |
11856 | for shared libgcc build. | |
11857 | * config/i386/t-mingw-pthread: New file. | |
11858 | * config/i386/mingw-pthread.h (TARGET_USE_PTHREAD_BY_DEFAULT): | |
11859 | New define to enable use of library pthread by default. | |
11860 | * config/i386/mingw.opt (pthread): New driver option. | |
11861 | (no-pthread): New driver option. | |
e9c18386 | 11862 | * config/i386/cygming.opt: Make sure trailing empty line is retained. |
49568e45 KT |
11863 | * config/i386/mingw-w64.opt: Likewise. |
11864 | ||
748f7574 | 11865 | 2011-04-01 Gary Funck <gary@intrepid.com> |
636b4106 GF |
11866 | |
11867 | * c-decl.c (grokdeclarator): Fix formatting. | |
11868 | ||
f04713ee RS |
11869 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
11870 | ||
11871 | * expr.c (emit_block_move_via_movmem): Use n_generator_args | |
11872 | instead of n_operands. | |
11873 | (set_storage_via_setmem): Likewise. | |
11874 | * optabs.c (maybe_gen_insn): Likewise. | |
11875 | * config/arm/arm.c (arm_init_neon_builtins): Likewise. | |
11876 | * config/mips/mips.c (mips_expand_builtin_compare_1): Likewise. | |
11877 | (mips_expand_builtin_direct): Likewise. | |
11878 | * config/spu/spu.c (expand_builtin_args): Likewise. | |
11879 | ||
b29387ee RS |
11880 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
11881 | ||
11882 | * recog.h (insn_data_d): Add n_generator_args. | |
11883 | * genoutput.c (data): Likewise. | |
11884 | (output_insn_data): Print it. | |
11885 | (max_opno, num_dups): Delete. | |
11886 | (scan_operands): Just fill in "d->operand[...]". | |
11887 | (gen_insn, gen_peephole, gen_expand, gen_split): Use get_pattern_stats. | |
11888 | ||
e792559a RS |
11889 | 2011-04-01 Richard Sandiford <richard.sandiford@linaro.org> |
11890 | ||
11891 | * gensupport.h (pattern_stats): New structure. | |
11892 | * gensupport.c (get_pattern_stats_1, get_pattern_stats): New functions. | |
11893 | * genemit.c (max_opno, max_dupno, max_scratch_opno): Delete. | |
11894 | (max_operand_1, max_operand_vec): Delete. | |
11895 | (gen_insn, gen_expand, gen_split): Use get_pattern_stats. | |
11896 | ||
e8110d6f NF |
11897 | 2011-03-31 Nathan Froyd <froydnj@codesourcery.com> |
11898 | ||
11899 | * emit-rtl.c (emit_pattern_after_setloc): New function. | |
11900 | (emit_insn_after_setloc, emit_jump_insn_after_setloc): Call it. | |
11901 | (emit_call_insn_after_setloc, emit_debug_insn_after_setloc): Likewise. | |
11902 | (emit_pattern_after): New function. | |
11903 | (emit_insn_after, emit_jump_insn_after): Call it. | |
11904 | (emit_call_insn_after, emit_debug_insn_after): Likewise. | |
11905 | (emit_pattern_before_setloc): New function. | |
11906 | (emit_insn_before_setloc, emit_jump_insn_before_setloc): Call it. | |
11907 | (emit_call_insn_before_setloc, emit_debug_insn_before_setloc): | |
11908 | Likewise. | |
11909 | (emit_pattern_before): New function. | |
11910 | (emit_insn_before, emit_jump_insn_before): Call it. | |
11911 | (emit_call_insn_before, emit_debug_insn_before): Likewise. | |
11912 | ||
576f85f1 RH |
11913 | 2011-03-31 Richard Henderson <rth@redhat.com> |
11914 | ||
11915 | * dwarf2out.c (dw_separate_line_info_ref): Remove. | |
11916 | (dw_separate_line_info_entry): Remove. | |
11917 | (enum dw_line_info_opcode): New. | |
11918 | (dw_line_info_entry): Use it. | |
11919 | (dw_line_info_table, dw_line_info_table_p): New. | |
11920 | (DWARF_LINE_OPCODE_BASE): Include dwarf3 opcodes. | |
11921 | (line_info_table, line_info_label_num): Remove. | |
11922 | (line_info_table_in_use): Remove. | |
11923 | (separate_line_info_table): Remove. | |
11924 | (separate_line_info_table_allocated): Remove. | |
11925 | (separate_line_info_table_in_use): Remove. | |
11926 | (LINE_INFO_TABLE_INCREMENT): Remove. | |
11927 | (line_info_label_num): New. | |
11928 | (cur_line_info_table): New. | |
11929 | (text_section_line_info, cold_text_section_line_info): New. | |
11930 | (separate_line_info): New. | |
11931 | (SEPARATE_LINE_CODE_LABEL): Remove. | |
11932 | (print_dwarf_line_table): Remove. | |
11933 | (debug_dwarf): Don't dump it. | |
11934 | (output_one_line_info_table): New. | |
11935 | (output_line_info): Use it. | |
11936 | (new_line_info_table): New. | |
11937 | (set_cur_line_info_table): New. | |
11938 | (dwarf2out_switch_text_section): Use it. | |
11939 | (dwarf2out_begin_function): Likewise. | |
11940 | (push_dw_line_info_entry): New. | |
11941 | (dwarf2out_source_line): Rewrite for new line info tables. | |
11942 | (dwarf2out_init): Remove dead initailizations. | |
11943 | ||
300d83d9 JM |
11944 | 2011-03-31 Joseph Myers <joseph@codesourcery.com> |
11945 | ||
11946 | * opts.h (cl_option): Add comments to fields. Add bit-fields for | |
11947 | various flags. | |
11948 | (CL_SEPARATE_NARGS_SHIFT, CL_SEPARATE_NARGS_MASK, | |
11949 | CL_SEPARATE_ALIAS, CL_NO_DRIVER_ARG, CL_REJECT_DRIVER, CL_SAVE, | |
11950 | CL_DISABLED, CL_REPOR, CL_REJECT_NEGATIVE, CL_MISSING_OK, | |
11951 | CL_UINTEGER, CL_NEGATIVE_ALIAS): Remove. | |
11952 | (CL_JOINED, CL_SEPARATE, CL_UNDOCUMENTED): Update bit positions. | |
11953 | * opt-functions.awk (flag_init, switch_bit_fields): New. | |
11954 | (switch_flags): Don't handle flags moved to bit-fields. Don't | |
11955 | generate CL_MISSING_OK or CL_SAVE. | |
11956 | * optc-gen.awk: Update to generate bit-field output as well as | |
11957 | flags field. | |
11958 | * gcc.c (driver_wrong_lang_callback): Use cl_reject_driver | |
11959 | bit-field instead of CL_REJECT_DRIVER flag. | |
11960 | * opts-common.c (generate_canonical_option, | |
11961 | decode_cmdline_option): Use bit-fields instead of CL_* flags. | |
11962 | * opts.c (maybe_default_option): Use cl_reject_negative bit-field | |
11963 | instead of CL_REJECT_NEGATIVE flag. | |
11964 | * toplev.c (print_switch_values): Use cl_report bit-field instead | |
11965 | of CL_REPORT flag. | |
11966 | ||
d4d73ce2 EB |
11967 | 2011-03-31 Eric Botcazou <ebotcazou@adacore.com> |
11968 | ||
11969 | * tree-ssa-pre.c (create_component_ref_by_pieces_1) <ARRAY_REF>: Drop | |
11970 | a zero minimum index only if it is redundant. | |
11971 | ||
b8faca75 VM |
11972 | 2011-03-31 Vladimir Makarov <vmakarov@redhat.com> |
11973 | ||
11974 | PR rtl-optimization/48381 | |
11975 | * ira-color.c (assign_hard_reg): Use hard reg set intersection | |
11976 | instead of ira_class_hard_reg_index for calculating conflicting | |
11977 | hard registers. | |
11978 | ||
7d11cebe SB |
11979 | 2011-03-31 Steven Bosscher <steven@gcc.gnu.org> |
11980 | ||
11981 | * cprop.c: Clean up hash table building. | |
11982 | (reg_avail_info): Remove. | |
11983 | (oprs_available_p): Remove. | |
11984 | (record_last_reg_set_info): Remove. | |
11985 | (record_last_set_info): Remove. | |
11986 | (reg_available_p): New function. | |
11987 | (gcse_constant_p): Do not treat unfolded conditions as constants. | |
11988 | (make_set_regs_unavailable): New function. | |
11989 | (hash_scan_set): Simplify with new reg_available_p. | |
11990 | (compute_hash_table_work): Traverse insns stream only once. | |
11991 | Do not compute reg_avail_info. Traverse insns in reverse order. | |
11992 | Record implicit sets after recording explicit sets from the block. | |
11993 | ||
98faf84f MM |
11994 | 2011-03-31 Michael Matz <matz@suse.de> |
11995 | ||
e9c18386 | 11996 | * builtins.c (build_va_arg_indirect_ref): Use build_simple_mem_ref_loc. |
98faf84f | 11997 | |
f52d97da AS |
11998 | 2011-03-31 Anatoly Sokolov <aesok@post.ru> |
11999 | ||
12000 | * config/h8300/h8300.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove macro. | |
12001 | * config/h8300/h8300-protos.h (h8300_get_index): Remove. | |
12002 | * config/h8300/h8300.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
12003 | (h8300_mode_dependent_address_p): New function. | |
12004 | (h8300_get_index): Make static. | |
12005 | ||
e16b6fd0 JL |
12006 | 2011-03-31 Jeff Law <law@redhat.com> |
12007 | ||
10c51983 JL |
12008 | * reload1.c (elimination_effects): Fix typo in recent change. |
12009 | ||
e9c18386 | 12010 | * tree-ssa-forwprop.c (forward_propagate_into_cond): Avoid |
e16b6fd0 JL |
12011 | typo potentially leading to null pointer dereference. |
12012 | ||
12013 | * caller-save.c (new_saved_hard_reg): Eliminate return value. | |
12014 | (setup_save_areas): Corresponding changes to avoid useless | |
12015 | assignments. | |
12016 | ||
12017 | * jump.c (reversed_comparison_code_parts): Avoid successive return | |
12018 | statements when REVERSE_CONDITION is defined. | |
12019 | ||
12020 | * expr.c (expand_assignment): Avoid useless assignments. | |
12021 | (expand_expr_real_1): Likewise. | |
12022 | (expand_expr_real_2): Avoid useless statements. | |
12023 | ||
12024 | * tree-ssa-phiopt.c (minmax_replacement): Avoid useless statement. | |
12025 | ||
12026 | * cfgexpand.c (expand_gimple_basic_block): Avoid useless assignment. | |
12027 | ||
12028 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Avoid useless | |
12029 | statements. | |
12030 | ||
12031 | * stmt.c (expand_expr_stmt): Avoid useless assignment. | |
12032 | ||
eb1eb914 JM |
12033 | 2011-03-31 Joseph Myers <joseph@codesourcery.com> |
12034 | ||
12035 | PR target/47109 | |
12036 | * doc/tm.texi.in (TARGET_VERSION): Remove. | |
12037 | * doc/tm.texi: Regenerate. | |
12038 | * system.h (TARGET_VERSION, MACHINE_TYPE): Poison. | |
12039 | * collect2.c (main): Don't use TARGET_VERSION. | |
12040 | * mips-tdump.c (main): Don't use TARGET_VERSION. | |
12041 | * mips-tfile.c (main): Don't use TARGET_VERSION. | |
e9c18386 | 12042 | * config.gcc (powerpc-wrs-vxworksae): Don't use rs6000/vxworksae.h. |
eb1eb914 JM |
12043 | * config/rs6000/vxworksae.h: Remove. |
12044 | * config/alpha/alpha.h (TARGET_VERSION): Remove. | |
12045 | * config/alpha/freebsd.h (TARGET_VERSION): Remove. | |
12046 | * config/alpha/linux-elf.h (TARGET_VERSION): Remove. | |
12047 | * config/alpha/netbsd.h (TARGET_VERSION): Remove. | |
12048 | * config/alpha/vms.h (TARGET_NAME, TARGET_VERSION): Remove. | |
12049 | * config/arm/arm.h (TARGET_VERSION): Remove. | |
12050 | * config/arm/coff.h (TARGET_VERSION): Remove. | |
12051 | * config/arm/ecos-elf.h (TARGET_VERSION): Remove. | |
12052 | * config/arm/elf.h (TARGET_VERSION): Remove. | |
12053 | * config/arm/freebsd.h (TARGET_VERSION): Remove. | |
12054 | * config/arm/linux-elf.h (TARGET_VERSION): Remove. | |
12055 | * config/arm/netbsd-elf.h (TARGET_VERSION): Remove. | |
12056 | * config/arm/pe.h (TARGET_VERSION): Remove. | |
12057 | * config/arm/rtems-elf.h (TARGET_VERSION): Remove. | |
12058 | * config/arm/semi.h (TARGET_VERSION): Remove. | |
12059 | * config/arm/uclinux-elf.h (TARGET_VERSION): Remove. | |
12060 | * config/arm/unknown-elf.h (TARGET_VERSION): Remove. | |
12061 | * config/arm/vxworks.h (TARGET_VERSION): Remove. | |
12062 | * config/avr/avr.h (TARGET_VERSION): Remove. | |
12063 | * config/bfin/bfin.h (TARGET_VERSION): Remove. | |
12064 | * config/fr30/fr30.h (TARGET_VERSION): Remove. | |
12065 | * config/frv/frv.h (TARGET_VERSION): Remove. | |
12066 | * config/h8300/h8300.h (TARGET_VERSION): Remove. | |
12067 | * config/i386/cygwin.h (TARGET_VERSION): Remove. | |
12068 | * config/i386/darwin.h (TARGET_VERSION): Remove. | |
12069 | * config/i386/darwin64.h (TARGET_VERSION): Remove. | |
12070 | * config/i386/djgpp.h (TARGET_VERSION): Remove. | |
12071 | * config/i386/freebsd.h (TARGET_VERSION): Remove. | |
12072 | * config/i386/freebsd64.h (TARGET_VERSION): Remove. | |
12073 | * config/i386/gnu.h (TARGET_VERSION): Remove. | |
12074 | * config/i386/i386-interix.h (TARGET_VERSION): Remove. | |
12075 | * config/i386/i386elf.h (TARGET_VERSION): Remove. | |
12076 | * config/i386/linux.h (TARGET_VERSION): Remove. | |
12077 | * config/i386/linux64.h (TARGET_VERSION): Remove. | |
12078 | * config/i386/lynx.h (TARGET_VERSION): Remove. | |
12079 | * config/i386/mingw32.h (TARGET_VERSION): Remove. | |
12080 | * config/i386/netbsd-elf.h (TARGET_VERSION): Remove. | |
12081 | * config/i386/netbsd64.h (TARGET_VERSION): Remove. | |
12082 | * config/i386/netware.h (TARGET_VERSION): Remove. | |
12083 | * config/i386/nto.h (TARGET_VERSION): Remove. | |
12084 | * config/i386/openbsd.h (TARGET_VERSION): Remove. | |
12085 | * config/i386/vxworks.h (TARGET_VERSION): Remove. | |
12086 | * config/ia64/elf.h (TARGET_VERSION): Remove. | |
12087 | * config/ia64/freebsd.h (TARGET_VERSION): Remove. | |
12088 | * config/ia64/hpux.h (TARGET_VERSION): Remove. | |
12089 | * config/ia64/linux.h (TARGET_VERSION): Remove. | |
12090 | * config/ia64/vms.h (TARGET_NAME, TARGET_VERSION): Remove. | |
12091 | * config/iq2000/iq2000.h (IQ2000_VERSION, MACHINE_TYPE, | |
12092 | TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove. | |
12093 | * config/lm32/lm32.h (TARGET_VERSION): Remove. | |
12094 | * config/lm32/uclinux-elf.h (TARGET_VERSION): Remove. | |
12095 | * config/m32c/m32c.h (TARGET_VERSION): Remove. | |
12096 | * config/m32r/linux.h (LINUX_DEFAULT_ELF, TARGET_VERSION): Remove. | |
12097 | * config/m32r/m32r.h (TARGET_VERSION): Remove. | |
12098 | * config/m68k/linux.h (TARGET_VERSION): Remove. | |
12099 | * config/m68k/m68k.h (TARGET_VERSION): Remove. | |
12100 | * config/m68k/netbsd-elf.h (TARGET_VERSION): Remove. | |
12101 | * config/m68k/uclinux.h (TARGET_VERSION): Remove. | |
12102 | * config/mcore/mcore-elf.h (TARGET_VERSION): Remove. | |
12103 | * config/mep/mep.h (TARGET_VERSION): Remove. | |
12104 | * config/microblaze/microblaze.h (MICROBLAZE_VERSION, | |
12105 | MACHINE_TYPE, TARGET_VERSION_INTERNAL, TARGET_VERSION): Remove. | |
12106 | * config/mips/iris6.h (MACHINE_TYPE): Remove. | |
12107 | * config/mips/linux.h (TARGET_VERSION): Remove. | |
12108 | * config/mips/netbsd.h (MACHINE_TYPE): Remove. | |
12109 | * config/mips/vxworks.h (TARGET_VERSION): Remove. | |
12110 | * config/mmix/mmix.h (TARGET_VERSION): Remove. | |
12111 | * config/mn10300/linux.h (TARGET_VERSION): Remove. | |
12112 | * config/mn10300/mn10300.h (TARGET_VERSION): Remove. | |
12113 | * config/pa/pa.h (TARGET_VERSION): Remove. | |
12114 | * config/pdp11/pdp11.h (TARGET_VERSION): Remove. | |
12115 | * config/picochip/picochip.h (TARGET_VERSION): Remove. | |
12116 | * config/rs6000/aix.h (TARGET_VERSION): Remove. | |
12117 | * config/rs6000/darwin.h (TARGET_VERSION): Remove. | |
12118 | * config/rs6000/darwin64.h (TARGET_VERSION): Remove. | |
12119 | * config/rs6000/eabi.h (TARGET_VERSION): Remove. | |
12120 | * config/rs6000/eabialtivec.h (TARGET_VERSION): Remove. | |
12121 | * config/rs6000/eabisim.h (TARGET_VERSION): Remove. | |
12122 | * config/rs6000/eabispe.h (TARGET_VERSION): Remove. | |
12123 | * config/rs6000/freebsd.h (TARGET_VERSION): Remove. | |
12124 | * config/rs6000/linux.h (TARGET_VERSION): Remove. | |
12125 | * config/rs6000/linux64.h (TARGET_VERSION): Remove. | |
12126 | * config/rs6000/linuxaltivec.h (TARGET_VERSION): Remove. | |
12127 | * config/rs6000/linuxspe.h (TARGET_VERSION): Remove. | |
12128 | * config/rs6000/lynx.h (TARGET_VERSION): Remove. | |
12129 | * config/rs6000/netbsd.h (TARGET_VERSION): Remove. | |
12130 | * config/rs6000/sysv4.h (TARGET_VERSION): Remove. | |
12131 | * config/rs6000/vxworks.h (TARGET_VERSION): Remove. | |
12132 | * config/s390/linux.h (TARGET_VERSION): Remove. | |
12133 | * config/s390/s390.h (TARGET_VERSION): Remove. | |
12134 | * config/s390/tpf.h (TARGET_VERSION): Remove. | |
12135 | * config/score/score.h (TARGET_VERSION): Remove. | |
12136 | * config/sh/linux.h (TARGET_VERSION): Remove. | |
12137 | * config/sh/netbsd-elf.h (TARGET_VERSION_ENDIAN, | |
12138 | TARGET_VERSION_CPU, TARGET_VERSION): Remove. | |
12139 | * config/sh/sh.h (TARGET_VERSION): Remove. | |
12140 | * config/sh/sh64.h (TARGET_VERSION): Remove. | |
12141 | * config/sh/superh.h (TARGET_VERSION): Remove. | |
12142 | * config/sh/vxworks.h (TARGET_VERSION): Remove. | |
12143 | * config/sparc/freebsd.h (TARGET_VERSION): Remove. | |
12144 | * config/sparc/linux.h (TARGET_VERSION): Remove. | |
12145 | * config/sparc/linux64.h (TARGET_VERSION): Remove. | |
12146 | * config/sparc/netbsd-elf.h (TARGET_VERSION, TARGET_NAME64, | |
12147 | TARGET_NAME32, TARGET_NAME): Remove. | |
12148 | * config/sparc/openbsd64.h (TARGET_VERSION): Remove. | |
12149 | * config/sparc/sp-elf.h (TARGET_VERSION): Remove. | |
12150 | * config/sparc/sp64-elf.h (TARGET_VERSION): Remove. | |
12151 | * config/sparc/sysv4.h (TARGET_VERSION): Remove. | |
12152 | * config/sparc/vxworks.h (TARGET_VERSION): Remove. | |
12153 | * config/spu/spu.h (TARGET_VERSION): Remove. | |
12154 | * config/stormy16/stormy16.h (TARGET_VERSION): Remove. | |
12155 | * config/v850/v850.h (TARGET_VERSION): Remove. | |
12156 | * config/vax/linux.h (TARGET_VERSION): Remove. | |
12157 | * config/vax/vax.h (TARGET_NAME, TARGET_VERSION): Remove. | |
12158 | * config/xtensa/elf.h (TARGET_VERSION): Remove. | |
12159 | * config/xtensa/linux.h (TARGET_VERSION): Remove. | |
12160 | ||
ace31bca EB |
12161 | 2011-03-31 Eric Botcazou <ebotcazou@adacore.com> |
12162 | ||
12163 | PR target/48142 | |
12164 | * config/i386/i386.c (ix86_adjust_stack_and_probe): Differentiate | |
12165 | frame-related from frame-unrelated adjustments to the stack pointer. | |
12166 | ||
76f9db36 JJ |
12167 | 2011-03-31 Jakub Jelinek <jakub@redhat.com> |
12168 | ||
12169 | * common.opt (fdebug-types-section): Move earlier. | |
12170 | * doc/invoke.texi: Fix up -fno-debug-types-section documentation. | |
12171 | ||
b7826465 AT |
12172 | 2011-03-31 Andreas Tobler <andreast@fgznet.ch> |
12173 | ||
12174 | * config/rs6000/rs6000.c (rs6000_handle_option): Remove unused isel | |
12175 | var. | |
12176 | ||
1290e54c NF |
12177 | 2011-03-30 Nathan Froyd <froydnj@codesourcery.com> |
12178 | ||
12179 | * tree.h (CASE_CHAIN): Define. | |
12180 | * tree-cfg.c (edge_to_cases_cleanup, get_cases_for_edge): Use it. | |
12181 | (gimple_redirect_edge_and_branch): Likewise. | |
12182 | ||
bddc98e1 VM |
12183 | 2011-03-30 Vladimir Makarov <vmakarov@redhat.com> |
12184 | ||
12185 | PR middle-end/48367 | |
12186 | * ira-costs.c (find_costs_and_classes): Fix a typo in i_mem_cost | |
12187 | calculation. | |
12188 | ||
c865e437 JL |
12189 | 2011-03-30 Jeff Law <law@redhat.com> |
12190 | ||
b3750213 | 12191 | * PR bootstrap/48371 |
c865e437 JL |
12192 | * reload1.c (reload): Fix botch in last change. |
12193 | ||
12194 | * reload.h (struct reload): Fix typo introduced in last change. | |
12195 | ||
2cdf9574 JM |
12196 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
12197 | ||
12198 | * config/arm/arm.opt (mhard-float, msoft-float): Mark | |
12199 | Undocumented. Remove help text. | |
12200 | * doc/invoke.texi (ARM Options): Don't document -msoft-float and | |
12201 | -mhard-float. | |
12202 | ||
666a21a2 JM |
12203 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
12204 | ||
12205 | * doc/options.texi (NegativeAlias): Document. | |
12206 | (Alias): Mention NegativeAlias. | |
12207 | * opt-functions.awk: Handle NegativeAlias. | |
e9c18386 | 12208 | * optc-gen.awk: Disallow NegativeAlias with multiple Alias arguments. |
666a21a2 JM |
12209 | * opts-common.c (decode_cmdline_option): Handle CL_NEGATIVE_ALIAS. |
12210 | * opts.h (CL_NEGATIVE_ALIAS): Define. | |
12211 | * config/rs6000/rs6000.c (rs6000_parse_yes_no_option): Remove. | |
12212 | (rs6000_handle_option): Don't handle OPT_mvrsave_, OPT_misel_ and | |
12213 | OPT_mspe_. | |
12214 | * config/rs6000/rs6000.opt (mvrsave=, misel=, mspe=): Replace with | |
12215 | Alias entries. | |
12216 | * config/rs6000/t-spe (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use | |
12217 | mno-spe and mno-isel instead of mspe=no and -misel=no. | |
12218 | ||
0fa4e351 MW |
12219 | 2011-03-29 Mark Wielaard <mjw@redhat.com> |
12220 | ||
12221 | * common.opt (fdebug-types-section): New flag. | |
12222 | * doc/invoke.texi: Document new -fno-debug-types-section flag. | |
12223 | * dwarf2out.c (use_debug_types): New define. | |
12224 | (struct die_struct): Mark die_id with GTY desc use_debug_types. | |
12225 | (print_die): Guard output of type unit signatures using | |
12226 | use_debug_types. | |
12227 | (build_abbrev_table): Replace assert of dwarf_version >= 4 | |
12228 | with assert on use_debug_types. | |
12229 | (size_of_die): Likewise. | |
12230 | (unmark_dies): Likewise. | |
12231 | (value_format): Decide AT_ref_external form on use_debug_types. | |
12232 | (output_die): Replace dwarf_version version check guard with | |
12233 | use_debug_types where appropriate. | |
12234 | (modified_type_die): Likewise. | |
12235 | (gen_reference_type_die): Likewise. | |
12236 | (dwarf2out_start_source_file): Likewise. | |
12237 | (dwarf2out_end_source_file): Likewise. | |
12238 | (prune_unused_types_walk_attribs): Likewise. | |
12239 | (dwarf2out_finish): Likewise. | |
12240 | ||
4648deb4 VM |
12241 | 2011-03-30 Vladimir Makarov <vmakarov@redhat.com> |
12242 | ||
12243 | * ira-color.c (ira_assign_hard_reg): Use only one variable 'mode'. | |
12244 | ||
4f431835 RS |
12245 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
12246 | ||
12247 | PR rtl-optimization/48332 | |
12248 | * optabs.c (expand_binop_directly): Set xmodeN to the target-mandated | |
12249 | mode of input operand N and modeN to its actual mode. | |
12250 | ||
f2034d06 JL |
12251 | 2011-03-30 Jeff Law <law@redhat.com> |
12252 | ||
12253 | * reload.h (reg_equiv_constant): Move into new structure reg_equivs, | |
12254 | define accessor macro. | |
12255 | (reg_equiv_invariant, reg_equiv_memory_loc): Likewise. | |
12256 | (reg_equiv_address, reg_equiv_mem, reg_equiv_alt_mem_list): Likewise. | |
12257 | (reg_equiv_init): Likewise. | |
12258 | (reg_equivs_size): New variable. | |
12259 | (reg_equiv_init_size): Remove. | |
12260 | (allocate_initial_values): Move prototype to here from.... | |
12261 | * integrate.h (allocate_initial_values): Remove prototype. | |
12262 | * integrate.c: Include reload.h. | |
12263 | (allocate_initial_values): Corresponding changes. | |
12264 | * ira.c (find_reg_equiv_invariant_cost): Corresponding changes. | |
12265 | (fix_reg_equiv_init, no_equiv): Corresponding changes. | |
12266 | (update_equiv_regs): Corresponding changes. | |
12267 | (ira): Corresponding changes. | |
12268 | * reload.c (push_reg_equiv_alt_mem): Corresponding changes. | |
12269 | (push_secondary_reload): Corresponding changes. | |
12270 | (push_reload, find_reloads, find_reloads_toplev): Corresponding changes. | |
12271 | (make_memloc, find_reloads_address): Corresponding changes. | |
12272 | (subst_reg_equivs, subst_indexed_address): Corresponding changes. | |
12273 | (find_reloads_address_1): Corresponding changes. | |
12274 | (find_reloads_subreg_address, subst_reloads): Corresponding changes. | |
12275 | (refers_to_regno_for_reload_p): Corresponding changes. | |
12276 | (reg_overlap_mentioned_for_reload_p): Corresponding changes. | |
12277 | (refers_to_mem_for_reload_p, find_equiv_reg): Corresponding changes. | |
12278 | * reload1.c: Include ggc.h. | |
12279 | (grow_reg_equivs): New function. | |
12280 | (replace_pseudos_in, reload): Corresponding changes. | |
12281 | (calculate_needs_all_insns, alter_regs): Corresponding changes. | |
12282 | (eliminate_regs_1, elimination_effects): Corresponding changes. | |
12283 | (emit_input_reload_insns, emit_output_reload_insns): Likewise. | |
12284 | (delete_output_reload): Likewise. | |
12285 | * caller-save.c (mark_referenced_regs): Corresponding changes. | |
12286 | * alpha/alpha.c (resolve_reload_operand): Corresponding changes. | |
12287 | * frv/predicates.md (frv_load_operand): Corresponding changes. | |
12288 | * microblaze/microblaze.c (double_memory_operand): Corresponding | |
12289 | changes. | |
12290 | * avr/avr.h (LEGITIMIZE_RELOAD_ADDRESS): Corresponding changes. | |
12291 | * xtensa/xtensa.c (fixup_subreg_mem): Corresponding changes. | |
e9c18386 | 12292 | * mn10300/mn10300.c (mn10300_secondary_reload): Corresponding changes. |
f2034d06 JL |
12293 | * m68k/m68k.c (emit_move_sequence): Corresponding changes. |
12294 | * arm/arm.c (arm_reload_in_hi, arm_reload_out_hi): Corresponding | |
12295 | changes. | |
12296 | * pa/pa.c (emit_move_sequence): Corresponding changes. | |
12297 | * vax/vax.c (nonindexed_address_p): Corresponding changes. | |
12298 | ||
159b81b0 RS |
12299 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
12300 | ||
12301 | PR target/47551 | |
12302 | * config/arm/arm.c (coproc_secondary_reload_class): Handle | |
12303 | structure modes. Don't check neon_vector_mem_operand for | |
12304 | vector or structure modes. | |
12305 | ||
a6217191 RS |
12306 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
12307 | Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> | |
12308 | ||
12309 | PR target/43590 | |
12310 | * config/arm/neon.md (neon_vld3qa<mode>, neon_vld4qa<mode>): Remove | |
12311 | operand 1 and reshuffle the operands to match. | |
12312 | (neon_vld3<mode>, neon_vld4<mode>): Update accordingly. | |
12313 | ||
bd837408 CS |
12314 | 2011-03-30 Christian Schüler <cschueler@gmx.de> |
12315 | ||
6955d771 | 12316 | PR driver/48208 |
bd837408 | 12317 | * config/c.opt (F): Added 'Driver' to -F option. |
e9c18386 | 12318 | |
6955d771 | 12319 | PR driver/48260 |
bd837408 CS |
12320 | * config/darwin-driver.c (darwin_driver_init): Add '-arch' to |
12321 | handler function. | |
12322 | * config/darwin.opt: Added '-arch' option. | |
12323 | ||
e9c0470a NC |
12324 | 2011-03-30 Nick Clifton <nickc@redhat.com> |
12325 | ||
12326 | * config/rx/rx.md: Add peepholes and patterns to combine | |
12327 | extending loads and simple arithmetic instructions. | |
12328 | * config/rx/rx.h (ADJUST_INSN_LENGTH): Define. | |
e9c18386 UB |
12329 | * config/rx/rx-protos.h (rx_adjust_insn_length): Prototype. |
12330 | * config/rx/rx.c (rx_is_legitimate_address): Allow QI and HI | |
e9c0470a | 12331 | modes to use pre-decrement and post-increment addressing. |
e9c18386 | 12332 | (rx_is_restricted_memory_address): Add range checking of REG+INT |
e9c0470a | 12333 | addresses. |
e9c18386 UB |
12334 | (rx_print_operand): Add support for %Q. Fix handling of %Q. |
12335 | (rx_memory_move_cost): Adjust cost of stores. | |
12336 | (rx_adjust_insn_length): New function. | |
e9c0470a | 12337 | |
8a87e7ab JJ |
12338 | 2011-03-30 Jakub Jelinek <jakub@redhat.com> |
12339 | ||
12340 | PR c/48305 | |
12341 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure | |
12342 | arg10/arg11 in (X ^ Y) == (Z ^ W) are always fold converted to | |
12343 | matching arg00/arg01 types. | |
12344 | ||
12486e03 EB |
12345 | 2011-03-30 Eric Botcazou <ebotcazou@adacore.com> |
12346 | ||
12347 | * cfglayout.c (insn_locators_alloc): Initialize curr_location and | |
12348 | last_location to UNKNOWN_LOCATION. | |
12349 | ||
0b99eef6 L |
12350 | 2011-03-30 H.J. Lu <hongjiu.lu@intel.com> |
12351 | ||
12352 | PR target/48349 | |
12353 | * config/i386/i386.h (REG_CLASS_CONTENTS): Fix a typo in | |
12354 | FLOAT_SSE_REGS. | |
12355 | ||
023592aa JM |
12356 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
12357 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
12358 | ||
12359 | PR bootstrap/48337 | |
12360 | * config/sparc/sparc.opt (sparc_cpu_and_features): Add | |
12361 | Init(PROCESSOR_V7). | |
12362 | (sparc_cpu): Likewise. | |
12363 | * config/sparc/sparc.c (sparc_option_override): Replace 0 by | |
12364 | PROCESSOR_V7. | |
12365 | ||
ad3b266b VM |
12366 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
12367 | ||
12368 | PR target/48336 | |
12369 | PR middle-end/48342 | |
12370 | PR rtl-optimization/48345 | |
12371 | * ira-color.c (setup_conflict_profitable_regs): Exclude prohibited | |
12372 | hard regs for given mode from profitable regs when doing secondary | |
12373 | allocation. | |
12374 | ||
633c9126 JL |
12375 | 2011-03-29 Jeff Law <law@redhat.com> |
12376 | ||
12377 | PR bootstrap/48327 | |
12378 | * tree-ssa-threadupdate.c (struct redirection_data): Remove | |
12379 | do_not_duplicate field. | |
12380 | (lookup_redirection_data): Corresponding changes. | |
12381 | (create_duplicates): Always create a template block. | |
12382 | (redirect_edges): Remove code which reused the original block | |
12383 | when it was going to become unreachable code. | |
12384 | (thread_block): Don't set do_not_duplicate field. | |
12385 | ||
eb50f63a JM |
12386 | 2011-03-29 Joseph Myers <joseph@codesourcery.com> |
12387 | ||
12388 | * lto-opts.c (register_user_option_p, lto_register_user_option): | |
12389 | Make type argument unsigned. | |
12390 | * lto-streamer.h (lto_register_user_option): Make type argument | |
12391 | unsigned. | |
12392 | * opth-gen.awk: Make CL_* macros unsigned. | |
12393 | * opts-common.c (find_opt): Make lang_mask argument unsigned. | |
12394 | * opts.h (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_DRIVER, | |
12395 | CL_TARGET, CL_COMMON, CL_SEPARATE_NARGS_MASK, CL_SEPARATE_ALIAS, | |
12396 | CL_NO_DRIVER_ARG, CL_REJECT_DRIVER, CL_SAVE, CL_DISABLED, | |
12397 | CL_REPORT, CL_JOINED, CL_SEPARATE, CL_REJECT_NEGATIVE, | |
12398 | CL_MISSING_OK, CL_UINTEGER, CL_UNDOCUMENTED): Make unsigned. | |
12399 | (find_opt): Make lang_mask argument unsigned. | |
12400 | ||
76763a6d VM |
12401 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
12402 | ||
12403 | PR rtl-optimization/48331 | |
12404 | PR rtl-optimization/48334 | |
12405 | * ira-color.c (color_allocnos): Call setup_profitable_hard_regs | |
12406 | for any used algorithm. | |
12407 | ||
5c82436e VM |
12408 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
12409 | ||
12410 | * ira-conflicts.c (build_object_conflicts): Add unused attribute | |
12411 | to parent_max. | |
12412 | ||
7a81008b UB |
12413 | 2011-03-29 Uros Bizjak <ubizjak@gmail.com> |
12414 | ||
12415 | * config/alpha/alpha.c (alpha_sr_alias_set): Don't define. | |
12416 | (alpha_option_override): Don't set alpha_sr_alias_set. | |
12417 | (emit_frame_store_1): Use gen_frame_mem rather than calling | |
12418 | set_mem_alias_set. | |
12419 | (alpha_expand_epilogue): Ditto. | |
12420 | ||
86c8d1f6 IR |
12421 | 2011-03-29 Ira Rosen <ira.rosen@linaro.org> |
12422 | ||
12423 | PR tree-optimization/48290 | |
12424 | * tree-vect-loop.c (vect_analyze_loop_operations): In outer loop | |
12425 | vectorization, check that relevant phis in the basic block after | |
12426 | the inner loop are really inner loop's exit phis. | |
12427 | ||
0d12220f RS |
12428 | 2011-03-29 Richard Sandiford <richard.sandiford@linaro.org> |
12429 | ||
e8cf17e7 | 12430 | PR debug/48190 |
0d12220f RS |
12431 | * dwarf2out.c (dw_loc_list_node): Add resolved_addr and replaced. |
12432 | (cached_dw_loc_list_def): New structure. | |
12433 | (cached_dw_loc_list): New typedef. | |
12434 | (cached_dw_loc_list_table): New variable. | |
12435 | (cached_dw_loc_list_table_hash): New function. | |
12436 | (cached_dw_loc_list_table_eq): Likewise. | |
12437 | (add_location_or_const_value_attribute): Take a bool cache_p. | |
12438 | Cache the list when the parameter is true. | |
12439 | (gen_formal_parameter_die): Update caller. | |
12440 | (gen_variable_die): Likewise. | |
12441 | (dwarf2out_finish): Likewise. | |
12442 | (dwarf2out_abstract_function): Nullify cached_dw_loc_list_table | |
12443 | while generating debug info for the decl. | |
12444 | (dwarf2out_function_decl): Clear cached_dw_loc_list_table. | |
12445 | (dwarf2out_init): Initialize cached_dw_loc_list_table. | |
12446 | (resolve_addr): Cache the result of resolving a chain of | |
12447 | location lists. | |
12448 | ||
1756cb66 VM |
12449 | 2011-03-28 Vladimir Makarov <vmakarov@redhat.com> |
12450 | ||
12451 | * ira-color.c (update_left_conflict_sizes_p): Don't assume that | |
12452 | conflict object hard regset nodes have intersecting hard reg sets. | |
7a81008b | 12453 | |
1756cb66 VM |
12454 | * regmove.c (regmove_optimize): Move ira_set_pseudo_classes call |
12455 | after regstat_init_n_sets_and_refs. | |
12456 | ||
12457 | * ira.c: Add more comments at the top. | |
12458 | (setup_stack_reg_pressure_class, setup_pressure_classes): | |
12459 | Add comments how we compute the register pressure classes. | |
12460 | (setup_allocno_and_important_classes): Add more comments. | |
12461 | (setup_class_translate_array, reorder_important_classes) | |
12462 | (setup_reg_class_relations): Add comments. | |
12463 | ||
12464 | * ira-emit.c: Add 2011 to the Copyright line. Add comments at the | |
12465 | start of the file. | |
12466 | ||
12467 | * ira-color.c: Add 2011 to the Copyright line. | |
12468 | (assign_hard_reg): Add more comments. | |
12469 | (improve_allocation): Ditto. | |
12470 | ||
12471 | * ira-costs.c: Add 2011 to the Copyright line. | |
12472 | (setup_cost_classes, setup_regno_cost_classes_by_aclass): Add more | |
12473 | comments. | |
12474 | (setup_regno_cost_classes_by_mode): Ditto. | |
12475 | ||
12476 | Initial patches from ira-improv branch: | |
12477 | ||
12478 | 2010-08-13 Vladimir Makarov <vmakarov@redhat.com> | |
12479 | ||
f60c2554 | 12480 | * ira-build.c (ira_create_object): Remove initialization of |
1756cb66 VM |
12481 | OBJECT_PROFITABLE_HARD_REGS. Initialize OBJECT_ADD_DATA. |
12482 | (ira_create_allocno): Remove initialization of | |
12483 | ALLOCNO_MEM_OPTIMIZED_DEST, ALLOCNO_MEM_OPTIMIZED_DEST_P, | |
12484 | ALLOCNO_SOMEWHERE_RENAMED_P, ALLOCNO_CHILD_RENAMED_P, | |
12485 | ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P, ALLOCNO_COLORABLE_P, | |
12486 | ALLOCNO_NEXT_BUCKET_ALLOCNO, ALLOCNO_PREV_BUCKET_ALLOCNO, | |
12487 | ALLOCNO_FIRST_COALESCED_ALLOCNO, ALLOCNO_NEXT_COALESCED_ALLOCNO. | |
12488 | Initialize ALLOCNO_ADD_DATA. | |
12489 | (copy_info_to_removed_store_destinations): Use ALLOCNO_EMIT_DATA | |
12490 | and allocno_emit_reg instead of ALLOCNO_MEM_OPTIMIZED_DEST_P and | |
12491 | ALLOCNO_REG. | |
12492 | (ira_flattening): Ditto. Use ALLOCNO_EMIT_DATA instead of | |
12493 | ALLOCNO_MEM_OPTIMIZED_DEST and ALLOCNO_SOMEWHERE_RENAMED_P. | |
12494 | ||
12495 | * ira.c (ira_reallocate): Remove. | |
12496 | (setup_pressure_classes): Call | |
12497 | ira_init_register_move_cost_if_necessary. Use | |
12498 | ira_register_move_cost instead of ira_get_register_move_cost. | |
12499 | (setup_allocno_assignment_flags): Use ALLOCNO_EMIT_DATA. | |
12500 | (ira): Call ira_initiate_emit_data and ira_finish_emit_data. | |
12501 | ||
12502 | * ira-color.c: Use ALLOCNO_COLOR_DATA instead of | |
12503 | ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P, ALLOCNO_COLORABLE_P, | |
12504 | ALLOCNO_AVAILABLE_REGS_NUM, ALLOCNO_NEXT_BUCKET_ALLOCNO, | |
12505 | ALLOCNO_PREV_BUCKET_ALLOCNO. ALLOCNO_TEMP. Use OBJECT_COLOR_DATA | |
12506 | instead of OBJECT_PROFITABLE_HARD_REGS, OBJECT_HARD_REGS_NODE, | |
12507 | OBJECT_HARD_REGS_SUBNODES_START, OBJECT_HARD_REGS_SUBNODES_NUM. | |
12508 | Fix formatting. | |
7a81008b | 12509 | (object_hard_regs_t, object_hard_regs_node_t): Move from ira-int.h. |
1756cb66 VM |
12510 | (struct object_hard_regs, struct object_hard_regs_node): Ditto. |
12511 | (struct allocno_color_data): New. | |
12512 | (allocno_color_data_t): New typedef. | |
12513 | (allocno_color_data): New definition. | |
12514 | (ALLOCNO_COLOR_DATA): New macro. | |
12515 | (struct object_color_data): New. | |
12516 | (object_color_data_t): New typedef. | |
12517 | (object_color_data): New definition. | |
12518 | (OBJECT_COLOR_DATA): New macro. | |
12519 | (update_copy_costs, calculate_allocno_spill_cost): Call | |
12520 | ira_init_register_move_cost_if_necessary. Use | |
12521 | ira_register_move_cost instead of ira_get_register_move_cost. | |
12522 | (move_spill_restore, update_curr_costs): Ditto. | |
12523 | (allocno_spill_priority): Make it inline. | |
7a81008b | 12524 | (color_pass): Allocate and free allocno_color_dat and object_color_data. |
1756cb66 VM |
12525 | (struct coalesce_data, coalesce_data_t): New. |
12526 | (allocno_coalesce_data): New definition. | |
12527 | (ALLOCNO_COALESCE_DATA): New macro. | |
12528 | (merge_allocnos, coalesced_allocno_conflict_p): Use | |
12529 | ALLOCNO_COALESCED_DATA instead of ALLOCNO_FIRST_COALESCED_ALLOCNO, | |
12530 | ALLOCNO_NEXT_COALESCED_ALLOCNO, ALLOCNO_TEMP. | |
12531 | (coalesce_allocnos): Ditto. | |
12532 | (setup_coalesced_allocno_costs_and_nums): Ditto. | |
12533 | (collect_spilled_coalesced_allocnos): Ditto. | |
12534 | (slot_coalesced_allocno_live_ranges_intersect_p): Ditto. | |
12535 | (setup_slot_coalesced_allocno_live_ranges): Ditto. | |
12536 | (coalesce_spill_slots): Ditto. | |
12537 | (ira_sort_regnos_for_alter_reg): Ditto. Allocate, initialize and | |
12538 | free allocno_coalesce_data. | |
12539 | ||
12540 | * ira-conflicts.c: Fix formatting. | |
12541 | (process_regs_for_copy): Call | |
12542 | ira_init_register_move_cost_if_necessary. Use | |
12543 | ira_register_move_cost instead of ira_get_register_move_cost. | |
12544 | (build_object_conflicts): Optimize. | |
12545 | ||
12546 | * ira-costs.c (record_reg_classes): Optimize. Call | |
12547 | ira_init_register_move_cost_if_necessary. Use | |
12548 | ira_register_move_cost, ira_may_move_in_cost, and | |
12549 | ira_may_move_out_cost instead of ira_get_register_move_cost and | |
12550 | ira_get_may_move_cost. | |
12551 | (record_address_regs): Ditto. | |
12552 | (scan_one_insn): Optimize. | |
12553 | (find_costs_and_classes): Optimize. | |
12554 | (process_bb_node_for_hard_reg_moves): Call | |
12555 | ira_init_register_move_cost_if_necessary. Use | |
12556 | ira_register_move_cost instead of ira_get_register_move_cost. | |
12557 | ||
12558 | * ira-emit.c: Use allocno_emit_reg, ALLOCNO_EMIT_DATA instead of | |
12559 | ALLOCNO_REG, ALLOCNO_CHILD_RENAMED_P, ALLOCNO_MEM_OPTIMIZED_DEST, | |
12560 | ALLOCNO_MEM_OPTIMIZED_DEST_P, and ALLOCNO_SOMEWHERE_RENAMED_P. | |
12561 | (ira_allocno_emit_data, void_p, new_allocno_emit_data_vec): New | |
12562 | definitions. | |
12563 | (ira_initiate_emit_data, ira_finish_emit_data) | |
12564 | (create_new_allocno): New functions. | |
7a81008b | 12565 | (modify_move_list): Call create_new_alloc instead of ira_create_allocno. |
1756cb66 VM |
12566 | (emit_move_list): Call ira_init_register_move_cost_if_necessary. |
12567 | Use ira_register_move_cost instead of ira_get_register_move_cost. | |
12568 | ||
12569 | * ira-int.h: Fix some comments. | |
7a81008b UB |
12570 | (object_hard_regs_t, object_hard_regs_node_t): Move to ira-color.c. |
12571 | (struct object_hard_regs, struct object_hard_regs_node): Ditto. | |
1756cb66 VM |
12572 | (struct ira_object): Remove profitable_hard_regs, hard_regs_node, |
12573 | hard_regs_subnodes_start, hard_regs_subnodes_num. Add new member | |
12574 | add_data. | |
12575 | (struct ira_allocno): Make mode and aclass a bitfield. Move other | |
12576 | bitfield after mode. Make hard_regno a short int. Make | |
12577 | hard_regno short. Remove first_coalesced_allocno and | |
12578 | next_coalesced_allocno. Move mem_optimized_dest_p, | |
12579 | somewhere_renamed_p, child_renamed_p, reg, and mem_optimized_dest | |
12580 | into struct ira_emit_data. Remove in_graph_p, may_be_spilled_p, | |
12581 | available_regs_num, next_bucket_allocno, prev_bucket_allocno, | |
12582 | temp, colorable_p. Add new member add_data. | |
12583 | (ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P): Remove. | |
12584 | (ALLOCNO_COLORABLE_P, ALLOCNO_AVAILABLE_REGS_NUM): Remove. | |
12585 | (ALLOCNO_NEXT_BUCKET_ALLOCNO, ALLOCNO_PREV_BUCKET_ALLOCNO): Remove. | |
12586 | (ALLOCNO_TEMP, ALLOCNO_FIRST_COALESCED_ALLOCNO): Remove. | |
12587 | (ALLOCNO_NEXT_COALESCED_ALLOCNO): Remove. | |
12588 | (ALLOCNO_ADD_DATA): New macro. | |
12589 | (ira_emit_data_t): New typedef. | |
12590 | (struct ira_emit_data): New. Move mem_optimized_dest_p, | |
12591 | somewhere_renamed_p, child_renamed_p, reg, mem_optimized_dest | |
12592 | from struct ira_allocno. | |
12593 | (ALLOCNO_EMIT_DATA): New macro. | |
12594 | (ira_allocno_emit_data, allocno_emit_reg): New. | |
12595 | (ALLOCNO_PROFITABLE_HARD_REGS, OBJECT_HARD_REGS_NODE): Remove. | |
7a81008b | 12596 | (OBJECT_HARD_REGS_SUBNODES_STAR, OBJECT_HARD_REGS_SUBNODES_NUM): Remove. |
1756cb66 VM |
12597 | (OBJECT_ADD_DATA): New macro. |
12598 | (ira_reallocate): Remove. | |
12599 | (ira_initiate_emit_data, ira_finish_emit_data): New. | |
12600 | (ira_get_register_move_cost, ira_get_may_move_cost): Remove. | |
12601 | (ira_init_register_move_cost_if_necessary): New. | |
12602 | (ira_object_conflict_iter_next): Merge into | |
12603 | ira_object_conflict_iter_cond. | |
7a81008b | 12604 | (FOR_EACH_OBJECT_CONFLICT): Don't use ira_object_conflict_iter_next. |
1756cb66 | 12605 | |
f60c2554 | 12606 | * ira-live.c (process_single_reg_class_operands): Call |
1756cb66 VM |
12607 | ira_init_register_move_cost_if_necessary. Use |
12608 | ira_register_move_cost instead of ira_get_register_move_cost. | |
12609 | ||
12610 | 2010-08-13 Vladimir Makarov <vmakarov@redhat.com> | |
12611 | ||
12612 | * ira-int.h (struct target_ira_int): Remove x_cost_classes. | |
12613 | ||
12614 | * ira-costs.c: Fix formatting. | |
12615 | (cost_classes, cost_classes_num): Remove. | |
12616 | (struct cost_classes, cost_classes_t, const_cost_classes_t): New. | |
12617 | (regno_cost_classes, cost_classes_hash, cost_classes_eq): New. | |
12618 | (cost_classes_del, cost_classes_htab): New. | |
12619 | (cost_classes_aclass_cache, cost_classes_mode_cache): New. | |
12620 | (initiate_regno_cost_classes, setup_cost_classes): New. | |
12621 | (setup_regno_cost_classes_by_aclass): New. | |
7a81008b | 12622 | (setup_regno_cost_classes_by_mode, finish_regno_cost_classes): New. |
1756cb66 VM |
12623 | (record_reg_classes): Use regno_cost_classes instead of |
12624 | cost_classes. Move checking opposite operand up. | |
12625 | (record_address_regs): Use regno_cost_classes | |
12626 | instead of cost_classes. | |
12627 | (scan_one_insn): Ditto. Use always general register. | |
12628 | (print_allocno_costs): Use regno_cost_classes instead of | |
12629 | cost_classes. | |
12630 | (print_pseudo_costs): Ditto. Use Reg_N_REFS. | |
12631 | (find_costs_and_classes): Set up cost classes for each registers. | |
12632 | Use also their mode for this. Use regno_cost_classes instead of | |
12633 | cost_classes. | |
12634 | (setup_allocno_class_and_costs): Use regno_cost_classes instead of | |
12635 | cost_classes. | |
12636 | (free_ira_costs, ira_init_costs): Don't use cost_classes. | |
12637 | (ira_costs, ira_set_pseudo_classes): Call | |
12638 | initiate_regno_cost_classes and finish_regno_cost_classes. | |
12639 | ||
12640 | 2010-10-04 Vladimir Makarov <vmakarov@redhat.com> | |
12641 | ||
12642 | * target-def.h (TARGET_IRA_COVER_CLASSES): Remove. | |
12643 | ||
12644 | * target.def (ira_cover_classes): Remove. | |
12645 | ||
7a81008b | 12646 | * doc/tm.texi: Remove TARGET_IRA_COVER_CLASSES and IRA_COVER_CLASSES. |
1756cb66 VM |
12647 | |
12648 | * doc/tm.texi.in: Ditto. | |
12649 | ||
12650 | * ira-conflicts.c: Remove mentioning cover classes from the file. | |
12651 | Use ALLOCNO_CLASS instead of ALLOCNO_COVER_CLASS. Use | |
7a81008b | 12652 | ALLOCNO_COVER_CLASS_COST instead of ALLOCNO_CLASS_COST. Fix formatting. |
1756cb66 VM |
12653 | |
12654 | * targhooks.c (default_ira_cover_classes): Remove. | |
12655 | ||
12656 | * targhooks.h (default_ira_cover_classes): Ditto. | |
12657 | ||
12658 | * haifa-sched.c: Remove mentioning cover classes from the file. | |
12659 | Use ira_reg_pressure_cover instead of ira_reg_class_cover. Use | |
12660 | ira_pressure_classes and ira_pressure_classes_num instead of | |
12661 | ira_reg_class_cover_size and ira_reg_class_cover. Use | |
12662 | sched_regno_pressure_class instead of sched_regno_cover_class. | |
12663 | (mark_regno_birth_or_death, setup_insn_reg_pressure_info): Use | |
12664 | ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
12665 | ||
12666 | * ira-int.h: Add 2010 to Copyright. Remove mentioning cover | |
12667 | classes from the file. | |
12668 | (object_hard_regs_t, object_hard_regs_node_t): New typedefs. | |
12669 | (struct object_hard_regs, struct object_hard_regs_node): New. | |
12670 | (struct ira_object): New members profitable_hard_regs, | |
12671 | hard_regs_node, hard_regs_subnodes_start, hard_regs_subnodes_num. | |
12672 | (struct ira_allocno): Rename cover_class to aclass. Rename | |
12673 | cover_class_cost and updated_cover_class_cost to class_cost and | |
12674 | updated_class_cost. Remove splay_removed_p and | |
12675 | left_conflict_size. Add new members colorable_p. | |
12676 | (ALLOCNO_SPLAY_REMOVED_P, ALLOCNO_LEFT_CONFLICTS_SIZE): Remove. | |
12677 | (ALLOCNO_COLORABLE_P): New macro. | |
12678 | (ALLOCNO_COVER_CLASS): Rename to ALLOCNO_CLASS. | |
12679 | (ALLOCNO_COVER_CLASS_COST, ALLOCNO_UPDATED_COVER_CLASS_COST): | |
12680 | Rename to ALLOCNO_CLASS_COST and ALLOCNO_UPDATED__CLASS_COST. | |
12681 | (OBJECT_...): Rename parameter C to O. | |
12682 | (OBJECT_PROFITABLE_HARD_REGS): New macro. | |
12683 | (OBJECT_HARD_REGS_NODE, OBJECT_HARD_REGS_SUBNODES_START) | |
12684 | (OBJECT_HARD_REGS_SUBNODES_NUM): New macros. | |
12685 | (struct target_ira_int): New members x_ira_max_memory_move_cost, | |
12686 | x_ira_max_register_move_cost, x_ira_max_may_move_in_cost, | |
12687 | x_ira_max_may_move_out_cost, x_ira_reg_allocno_class_p, | |
12688 | x_ira_reg_pressure_class_p, x_ira_important_class_nums, | |
12689 | x_ira_reg_class_superunion. Rename x_prohibited_class_mode_reg to | |
12690 | x_ira_prohibited_class_mode_reg. Rename x_ira_reg_class_union to | |
12691 | x_ira_reg_class_subunion. | |
12692 | (ira_max_memory_move_cost, ira_max_register_move_cost) | |
12693 | (ira_max_may_move_in_cost, ira_max_may_move_out_cost) | |
12694 | (ira_reg_allocno_class_p, ira_reg_pressure_class_p) | |
12695 | (ira_important_class_nums, ira_reg_class_superunion): New macros. | |
7a81008b | 12696 | (prohibited_class_mode_regs): Rename to ira_prohibited_class_mode_regs. |
1756cb66 VM |
12697 | (ira_reg_class_union): Rename to ira_reg_class_subunion. |
12698 | (ira_debug_class_cover): Rename to ira_debug_allocno_classes. | |
12699 | (ira_set_allocno_cover_class): Rename to ira_set_allocno_class. | |
12700 | (ira_tune_allocno_costs_and_cover_classes): Rename to | |
12701 | ira_tune_allocno_costs. | |
12702 | (ira_debug_hard_regs_forest): New. | |
12703 | (ira_object_conflict_iter_init, ira_object_conflict_iter_cond) | |
12704 | (ira_object_conflict_iter_next): Fix comments. | |
7a81008b | 12705 | (ira_hard_reg_set_intersection_p, hard_reg_set_size): New functions. |
1756cb66 VM |
12706 | (ira_allocate_and_set_costs, ira_allocate_and_copy_costs): Rename |
12707 | cover_class to aclass. | |
12708 | (ira_allocate_and_accumulate_costs): Ditto. | |
12709 | (ira_allocate_and_set_or_copy_costs): Ditto. | |
12710 | ||
12711 | * opts.c (decode_options): Remove ira_cover_class check. | |
12712 | ||
12713 | * ira-color.c: Remove mentioning cover classes from the file. Use | |
12714 | ALLOCNO_CLASS, ALLOCNO_CLASS_COST, and ALLOCNO_UPDATED_CLASS_COST | |
12715 | instead of ALLOCNO_COVER_CLASS, ALLOCNO_COVER_CLASS_COST, and | |
12716 | ALLOCNO_UPDATED_COVER_CLASS_COST. Fix formatting. | |
12717 | (splay-tree.h): Remove include. | |
12718 | (allocno_coalesced_p, processed_coalesced_allocno_bitmap): Move | |
12719 | before copy_freq_compare_func. | |
12720 | (allocnos_for_spilling, removed_splay_allocno_vec): Remove. | |
12721 | (object_hard_regs_vec, object_hard_regs_htab, node_check_tick): | |
12722 | New definitions. | |
12723 | (hard_regs_roots, hard_regs_node_vec): Ditto. | |
12724 | (object_hard_regs_hash, object_hard_regs_eq, find_hard_regs): Ditto. | |
12725 | (insert_hard_regs, init_object_hard_regs, add_object_hard_regs): Ditto. | |
12726 | (finish_object_hard_regs, object_hard_regs_compare): Ditto. | |
12727 | (create_new_object_hard_regs_node): Ditto. | |
12728 | (add_new_object_hard_regs_node_to_forest): Ditto. | |
7a81008b | 12729 | (add_object_hard_regs_to_forest, collect_object_hard_regs_cover): Ditto. |
1756cb66 VM |
12730 | (setup_object_hard_regs_nodes_parent, first_common_ancestor_node): |
12731 | Ditto. | |
12732 | (print_hard_reg_set, print_hard_regs_subforest): Ditto. | |
12733 | (print_hard_regs_forest, ira_debug_hard_regs_forest): Ditto. | |
12734 | (remove_unused_object_hard_regs_nodes): Ditto. | |
12735 | (enumerate_object_hard_regs_nodes): Ditto. | |
12736 | (object_hard_regs_nodes_num, object_hard_regs_nodes): Ditto. | |
12737 | (object_hard_regs_subnode_t): Ditto. | |
12738 | (struct object_hard_regs_subnode): Ditto. | |
12739 | (object_hard_regs_subnodes, object_hard_regs_subnode_index): Ditto. | |
12740 | (setup_object_hard_regs_subnode_index): Ditto. | |
12741 | (get_object_hard_regs_subnodes_num): Ditto. | |
12742 | (form_object_hard_regs_nodes_forest): Ditto. | |
12743 | (finish_object_hard_regs_nodes_tree): Ditto. | |
12744 | (finish_object_hard_regs_nodes_forest): Ditto. | |
12745 | (allocnos_have_intersected_live_ranges_p): Rename to | |
7a81008b | 12746 | allocnos_conflict_by_live_ranges_p. Move before copy_freq_compare_func. |
1756cb66 VM |
12747 | (pseudos_have_intersected_live_ranges_p): Rename to |
12748 | conflict_by_live_ranges_p. Move before copy_freq_compare_func. | |
12749 | (setup_left_conflict_sizes_p, update_left_conflict_sizes_p): Ditto. | |
12750 | (empty_profitable_hard_regs, setup_profitable_hard_regs): Ditto. | |
12751 | (update_copy_costs): Remove assert. Skip cost update if the hard | |
12752 | reg does not belong the class. | |
12753 | (assign_hard_reg): Process only profitable hard regs. | |
12754 | (uncolorable_allocnos_num): Make it scalar. | |
12755 | (allocno_spill_priority): Use ALLOCNO_EXCESS_PRESSURE_POINTS_NUM | |
12756 | and ira_reg_class_max_nregs instead of ALLOCNO_LEFT_CONFLICTS_SIZE | |
12757 | and ira_reg_class_max_nregs. | |
12758 | (bucket_allocno_compare_func): Check frequency first. | |
12759 | (sort_bucket): Add compare function as a parameter. | |
12760 | (add_allocno_to_ordered_bucket): Assume no coalesced allocnos. | |
12761 | (uncolorable_allocnos_splay_tree, USE_SPLAY_P): Remove. | |
12762 | (push_allocno_to_stack): Rewrite for checking new allocno | |
12763 | colorability. | |
7a81008b | 12764 | (remove_allocno_from_bucket_and_push): Print cost too. Remove assert. |
1756cb66 VM |
12765 | (push_only_colorable): Pass new parameter to sort_bucket. |
12766 | (push_allocno_to_spill): Remove. | |
12767 | (allocno_spill_priority_compare): Make it inline and rewrite. | |
12768 | (splay_tree_allocate, splay_tree_free): Remove. | |
12769 | (allocno_spill_sort_compare): New function. | |
12770 | (push_allocnos_to_stack): Sort allocnos for spilling once. Don't | |
12771 | build and use splay tree. Choose first allocno in uncolorable | |
12772 | allocno bucket to spill. Remove setting spill cost. | |
12773 | (all_conflicting_hard_regs): Remove. | |
12774 | (setup_allocno_available_regs_num): Check only profitable hard | |
12775 | regs. Print info about hard regs nodes. | |
12776 | (setup_allocno_left_conflicts_size): Remove. | |
12777 | (put_allocno_into_bucket): Don't call | |
7a81008b | 12778 | setup_allocno_left_conflicts_size. Use setup_left_conflict_sizes_p. |
1756cb66 VM |
12779 | (improve_allocation): New. |
12780 | (color_allocnos): Call setup_profitable_hard_regs, | |
12781 | form_object_hard_regs_nodes_forest, improve_allocation, | |
12782 | finish_object_hard_regs_nodes_forest. Setup spill cost. | |
12783 | (print_loop_title): Use pressure classes. | |
12784 | (color_allocnso): Ditto. | |
12785 | (do_coloring): Remove allocation and freeing splay_tree_node_pool | |
12786 | and allocnos_for_spilling. | |
12787 | (ira_sort_regnos_for_alter_reg): Don't setup members | |
12788 | {first,next}_coalesced_allocno. | |
12789 | (color): Remove allocating and freeing removed_splay_allocno_vec. | |
12790 | (fast_allocation): Use ira_prohibited_class_mode_regs instead of | |
12791 | prohibited_class_mode_regs. | |
12792 | ||
12793 | * ira-lives.c: Remove mentioning cover classes from the file. Fix | |
12794 | formatting. | |
12795 | (update_allocno_pressure_excess_length): Use pressure classes. | |
12796 | (inc_register_pressure, dec_register_pressure): Check for pressure | |
12797 | class. | |
12798 | (mark_pseudo_regno_live, mark_pseudo_regno_subword_live): Use | |
12799 | pressure class. Use ira_reg_class_nregs instead of | |
12800 | ira_reg_class_max_nregs. | |
12801 | (mark_pseudo_regno_dead, mark_pseudo_regno_subword_dead): Ditto. | |
12802 | (mark_hard_reg_live, mark_hard_reg_dead): Use pressure class. | |
12803 | (single_reg_class): Use ira_reg_class_nregs instead of | |
12804 | ira_reg_class_max_nregs. | |
12805 | (process_bb_node_lives): Use pressure classes. | |
12806 | ||
12807 | * ira-emit.c: Remove mentioning cover classes from the file. Use | |
12808 | ALLOCNO_CLASS instead of ALLOCNO_COVER_CLASS. Fix formatting. | |
12809 | (change_loop): Use pressure classes. | |
12810 | (modify_move_list): Call ira_set_allocno_class instead of | |
12811 | ira_set_allocno_cover_class. | |
12812 | ||
12813 | * ira-build.c: Remove mentioning cover classes from the file. Use | |
12814 | ALLOCNO_CLASS and ALLOCNO_CLASS_COST instead of | |
12815 | ALLOCNO_COVER_CLASS and ALLOCNO_COVER_CLASS_COST. Use | |
12816 | ALLOCNO_UPDATED_CLASS_COST instead of | |
12817 | ALLOCNO_UPDATED_COVER_CLASS_COST. Fix formatting. | |
12818 | (ira_create_object): Initiate OBJECT_PROFITABLE_HARD_REGS. | |
12819 | (ira_create_allocno): Remove initialization of | |
12820 | ALLOCNO_SPLAY_REMOVED_P, ALLOCNO_LEFT_CONFLICT_SIZE. Initialize | |
12821 | ALLOCNO_COLORABLE_P. | |
12822 | (ira_set_allocno_cover_class): Rename to ira_set_allocno_class. | |
12823 | Update conflict regs for the objects. | |
12824 | (create_cap_allocno): Remove assert. Don't propagate | |
12825 | ALLOCNO_AVAILABLE_REGS_NUM. | |
12826 | (ira_free_allocno_costs): New function. | |
12827 | (finish_allocno): Change a part of code into call of | |
12828 | ira_free_allocno_costs. | |
12829 | (low_pressure_loop_node_p): Use pressure classes. | |
12830 | (object_range_compare_func): Don't compare classes. | |
12831 | (setup_min_max_conflict_allocno_ids): Ditto. | |
12832 | ||
12833 | * loop-invariant.c: Remove mentioning cover classes from the file. | |
12834 | Use ira_pressure_classes and ira_pressure_classes_num instead of | |
12835 | ira_reg_class_cover_size and ira_reg_class_cover. Fix formatting. | |
7a81008b UB |
12836 | (get_cover_class_and_nregs): Rename to get_cover_pressure_and_nregs. |
12837 | Use ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
12838 | Use reg_allocno_class instead of reg_cover_class. | |
1756cb66 VM |
12839 | (get_inv_cost): Use instead ira_stack_reg_pressure_class of |
12840 | STACK_REG_COVER_CLASS. | |
12841 | (get_regno_cover_class): Rename to get_regno_pressure_class. | |
12842 | (move_loop_invariants): Initialize and finalize regstat. | |
12843 | ||
12844 | * ira.c: Remove mentioning cover classes from the file. Add | |
12845 | comments about coloring without cover classes. Use ALLOCNO_CLASS | |
12846 | instead of ALLOCNO_COVER_CLASS. Fix formatting. | |
12847 | (alloc_reg_class_subclasses, setup_reg_subclasses): Move it before | |
12848 | setup_class_subset_and_memory_move_costs. | |
12849 | (setup_stack_reg_pressure_class, setup_pressure_classes): New. | |
12850 | (setup_cover_and_important_classes): Rename to | |
12851 | setup_allocno_and_important_classes. | |
12852 | (setup_class_translate_array): New. | |
12853 | (setup_class_translate): Call it for allocno and pressure classes. | |
12854 | (cover_class_order): Rename to allocno_class_order. | |
12855 | (comp_reg_classes_func): Use ira_allocno_class_translate instead | |
12856 | of ira_class_translate. | |
12857 | (reorder_important_classes): Set up ira_important_class_nums. | |
12858 | (setup_reg_class_relations): Set up ira_reg_class_superunion. | |
12859 | (print_class_cover): Rename to print_classes. Add parameter. | |
12860 | (ira_debug_class_cover): Rename to ira_debug_allocno_classes. | |
12861 | Print pressure classes too. | |
12862 | (find_reg_class_closure): Rename to find_reg_classes. Don't call | |
12863 | setup_reg_subclasses. | |
7a81008b | 12864 | (ira_hard_regno_cover_class): Rename to ira_hard_regno_allocno_class. |
1756cb66 VM |
12865 | (ira_reg_class_nregs): Rename to ira_reg_class_max_nregs. |
12866 | (setup_prohibited_class_mode_regs): Use | |
7a81008b | 12867 | ira_prohibited_class_mode_regs instead of prohibited_class_mode_regs. |
1756cb66 VM |
12868 | (clarify_prohibited_class_mode_regs): New function. |
12869 | (ira_init_register_move_cost): Set up ira_max_register_move_cost, | |
12870 | ira_max_may_move_in_cost, and ira_max_may_move_out_cost. | |
12871 | (ira_init_once): Initialize them. | |
12872 | (free_register_move_costs): Process them. | |
12873 | (ira_init): Move calls of find_reg_classes and | |
12874 | setup_hard_regno_aclass after setup_prohibited_class_mode_regs. | |
12875 | Call clarify_prohibited_class_mode_regs. | |
12876 | (ira_no_alloc_reg): Remove. | |
12877 | (too_high_register_pressure_p): Use pressure classes. | |
12878 | ||
12879 | * sched-deps.c: Remove mentioning cover classes from the file. | |
12880 | Use ira_reg_pressure_cover instead of ira_reg_class_cover. Use | |
12881 | ira_pressure_classes and ira_pressure_classes_num instead of | |
12882 | ira_reg_class_cover_size and ira_reg_class_cover. | |
12883 | (mark_insn_hard_regno_birth, mark_hard_regno_death): Use | |
12884 | sched_regno_pressure_class instead of sched_regno_cover_class. | |
12885 | (mark_insn_pseudo_birth, mark_pseudo_death): Ditto. Use | |
12886 | ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
12887 | ||
12888 | * ira.h: Add 2010 to Copyright. | |
12889 | (ira_no_alloc_reg): Remove external. | |
12890 | (struct target_ira): Rename x_ira_hard_regno_cover_class, | |
12891 | x_ira_reg_class_cover_size, x_ira_reg_class_cover, and | |
12892 | x_ira_class_translate to x_ira_hard_regno_allocno_class, | |
12893 | x_ira_allocno_classes_num, x_ira_allocno_classes, and | |
12894 | x_ira_allocno_class_translate. Add x_ira_pressure_classes_num, | |
12895 | x_ira_pressure_classes, x_ira_pressure_class_translate, and | |
12896 | x_ira_stack_reg_pressure_class. Rename x_ira_reg_class_nregs to | |
12897 | x_ira_reg_class_max_nregs. Add x_ira_reg_class_min_nregs and | |
12898 | x_ira_no_alloc_regs. | |
7a81008b | 12899 | (ira_hard_regno_cover_class): Rename to ira_hard_regno_allocno_class. |
1756cb66 VM |
12900 | (ira_reg_class_cover_size, ira_reg_class_cover): Rename to |
12901 | ira_allocno_classes_num and ira_allocno_classes. | |
12902 | (ira_class_translate): Rename to ira_allocno_class_translate. | |
12903 | (ira_pressure_classes_num, ira_pressure_classes): New definitions. | |
12904 | (ira_pressure_class_translate, ira_stack_reg_pressure_class): Ditto. | |
12905 | (ira_reg_class_nregs): Rename to ira_reg_class_max_nregs. | |
12906 | (ira_reg_class_min_nregs, ira_stack_reg_pressure_class): New | |
12907 | (ira_no_alloc_regs): New. | |
12908 | ||
12909 | * ira-costs.c: Add 2010 to Copyright. Remove mentioning cover | |
12910 | classes from the file. Use ALLOCNO_CLASS instead of | |
12911 | ALLOCNO_COVER_CLASS. Use ALLOCNO_CLASS_COST instead of | |
12912 | ALLOCNO_COVER_CLASS_COST. | |
12913 | (regno_cover_class): Rename to regno_aclass. | |
12914 | (record_reg_classes): Use ira_reg_class_subunion instead of | |
12915 | ira_reg_class_union. | |
12916 | (record_address_regs): Check overflow. | |
12917 | (scan_one_insn): Ditto. | |
7a81008b | 12918 | (print_allocno_costs): Print total mem cost fore regional allocation. |
1756cb66 VM |
12919 | (print_pseudo_costs): Use REG_N_REFS. |
12920 | (find_costs_and_classes): Use classes intersected with them on the | |
12921 | 1st pass. Check overflow. Use ira_reg_class_subunion instead of | |
12922 | ira_reg_class_union. Use ira_allocno_class_translate and | |
12923 | regno_aclass instead of ira_class_translate and regno_cover_class. | |
12924 | Modify code for finding regno_aclass. Setup preferred classes for | |
12925 | the next pass. | |
12926 | (setup_allocno_cover_class_and_costs): Rename to | |
12927 | setup_allocno_class_and_costs. Use regno_aclass instead of | |
12928 | regno_cover_class. Use ira_set_allocno_class instead of | |
12929 | ira_set_allocno_cover_class. | |
12930 | (init_costs, finish_costs): Use regno_aclass instead of | |
12931 | regno_cover_class. | |
12932 | (ira_costs): Use setup_allocno_class_and_costs instead of | |
12933 | setup_allocno_cover_class_and_costs. | |
12934 | (ira_tune_allocno_costs_and_cover_classes): Rename to | |
12935 | ira_tune_allocno_costs. Check overflow. Skip conflict hard regs | |
12936 | by processing objects. Use ira_reg_class_max_nregs instead of | |
12937 | ira_reg_class_nregs. | |
12938 | ||
12939 | * rtl.h (reg_cover_class): Rename to reg_allocno_class. | |
12940 | ||
12941 | * sched-int.h: Remove mentioning cover classes from the file. | |
12942 | (sched_regno_cover_class): Rename to sched_regno_pressure_class. | |
12943 | ||
12944 | * reginfo.c: Add 2010 to Copyright. Remove mentioning cover | |
12945 | classes from the file. | |
12946 | (struct reg_pref): Rename coverclass into allocnoclass. | |
12947 | (reg_cover_class): Rename to reg_allocno_class. | |
12948 | ||
7a81008b | 12949 | * Makefile.in (ira-color.o): Remove SPLAY_TREE_H from dependencies. |
1756cb66 VM |
12950 | |
12951 | * config/alpha/alpha.h (IRA_COVER_CLASSES): Remove. | |
12952 | ||
12953 | * config/arm/arm.h (IRA_COVER_CLASSES): Ditto. | |
12954 | ||
12955 | * config/avr/avr.h (IRA_COVER_CLASSES): Ditto. | |
12956 | ||
12957 | * config/bfin/bfin.h (IRA_COVER_CLASSES): Ditto. | |
12958 | ||
12959 | * config/cris/cris.h (IRA_COVER_CLASSES): Ditto. | |
12960 | ||
12961 | * config/fr30/fr30.h (IRA_COVER_CLASSES): Ditto. | |
12962 | ||
12963 | * config/frv/frv.h (IRA_COVER_CLASSES): Ditto. | |
12964 | ||
12965 | * config/h8300/h8300.h (IRA_COVER_CLASSES): Ditto. | |
12966 | ||
12967 | * config/i386/i386.h (STACK_REG_COVER_CLASS): Ditto. | |
12968 | ||
12969 | * config/i386/i386.c (TARGET_IRA_COVER_CLASSES) | |
12970 | (i386_ira_cover_classes): Ditto. | |
12971 | ||
12972 | * config/ia64/ia64.h (IRA_COVER_CLASSES): Ditto. | |
12973 | ||
12974 | * config/iq2000/iq2000.h (IRA_COVER_CLASSES): Ditto. | |
12975 | ||
12976 | * config/m32r/m32r.h (IRA_COVER_CLASSES): Ditto. | |
12977 | ||
12978 | * config/m68k/m68k.h (IRA_COVER_CLASSES): Ditto. | |
12979 | ||
12980 | * config/mcore/mcore.h (IRA_COVER_CLASSES): Ditto. | |
12981 | ||
12982 | * config/mep/mep.h (IRA_COVER_CLASSES): Ditto. | |
12983 | ||
12984 | * config/mips/mips.c (TARGET_IRA_COVER_CLASSES) | |
12985 | (mips_ira_cover_classes): Ditto. | |
12986 | ||
12987 | * config/mn10300/mn10300.h (IRA_COVER_CLASSES): Ditto. | |
12988 | ||
12989 | * config/moxie/moxie.h (IRA_COVER_CLASSES): Ditto. | |
12990 | ||
12991 | * config/pa/pa64-regs.h (IRA_COVER_CLASSES): Ditto. | |
12992 | ||
12993 | * config/pa/pa32-regs.h (IRA_COVER_CLASSES): Ditto. | |
12994 | ||
12995 | * config/picochip/picochip.h (IRA_COVER_CLASSES): Ditto. | |
12996 | ||
12997 | * config/rs6000/rs6000.h (IRA_COVER_CLASSES_PRE_VSX) | |
12998 | (IRA_COVER_CLASSES_VSX): Ditto. | |
12999 | ||
13000 | * config/rs6000/rs6000.c (TARGET_IRA_COVER_CLASSES) | |
13001 | (rs6000_ira_cover_classes): Ditto. | |
13002 | ||
13003 | * config/rx/rx.h (IRA_COVER_CLASSES): Ditto. | |
13004 | ||
13005 | * config/s390/s390.h (IRA_COVER_CLASSES): Ditto. | |
13006 | ||
13007 | * config/score/score.h (IRA_COVER_CLASSES): Ditto. | |
13008 | ||
13009 | * config/sh/sh.h (IRA_COVER_CLASSES): Ditto. | |
13010 | ||
13011 | * config/sparc/sparc.h (IRA_COVER_CLASSES): Ditto. | |
13012 | ||
13013 | * config/spu/spu.h (IRA_COVER_CLASSES): Ditto. | |
13014 | ||
13015 | * config/stormy16/stormy16.h (IRA_COVER_CLASSES): Ditto. | |
13016 | ||
13017 | * config/v850/v850.h (IRA_COVER_CLASSES): Ditto. | |
13018 | ||
13019 | * config/vax/vax.h (IRA_COVER_CLASSES): Ditto. | |
13020 | ||
13021 | * config/xtensa/xtensa.h (IRA_COVER_CLASSES): Ditto. | |
13022 | ||
2b80199f JJ |
13023 | 2011-03-29 Jakub Jelinek <jakub@redhat.com> |
13024 | ||
71dae1fe JJ |
13025 | PR debug/48253 |
13026 | * dwarf2out.c (struct dw_fde_struct): Remove dw_fde_hot_section_label, | |
13027 | dw_fde_hot_section_end_label, dw_fde_unlikely_section_label, | |
13028 | dw_fde_unlikely_section_end_label, cold_in_std_section, | |
13029 | dw_fde_switched_sections and dw_fde_switched_cold_to_hot fields. | |
13030 | Add dw_fde_second_begin, dw_fde_second_end and second_in_std_section | |
13031 | fields. | |
13032 | (output_fde): Use dw_fde_second_{begin,end} if second is | |
13033 | true, otherwise dw_fde_{begin,end}. | |
13034 | (output_call_frame_info): Test dw_fde_second_begin != NULL | |
13035 | instead of dw_fde_switched_sections. | |
13036 | (dwarf2out_begin_prologue): Stop initializing removed dw_fde_struct | |
13037 | fields, initialize new fields. Initialize in_std_section | |
13038 | unconditionally from the first partition. | |
13039 | (dwarf2out_end_epilogue): Don't override dw_fde_end when | |
13040 | dw_fde_second_begin is non-NULL. | |
13041 | (dwarf2out_switch_text_section): Stop initializing removed | |
13042 | dw_fde_struct fields, initialize new fields, initialize | |
13043 | also dw_fde_end here. Set dw_fde_switch_cfi even when | |
13044 | dwarf2out_do_cfi_asm (). Call var_location_switch_text_section. | |
13045 | (struct var_loc_list_def): Add last_before_switch field. | |
13046 | (arange_table, arange_table_allocated, arange_table_in_use, | |
13047 | ARANGE_TABLE_INCREMENT, add_arange): Removed. | |
13048 | (size_of_aranges): Count !in_std_section and !second_in_std_section | |
13049 | hunks in fdes, instead of looking at arange_table_in_use. | |
13050 | (output_aranges): Add aranges_length argument, don't call | |
13051 | size_of_aranges here. Instead of using aranges_table* | |
13052 | emit ranges for fdes when !in_std_section resp. | |
13053 | !second_in_std_section. | |
13054 | (dw_loc_list): Break ranges crossing section switch. | |
13055 | (convert_cfa_to_fb_loc_list): Likewise. If switched sections, | |
7a81008b | 13056 | use dw_fde_second_end instead of dw_fde_end as end of last range. |
71dae1fe JJ |
13057 | (gen_subprogram_die): Don't call add_arange. Use |
13058 | dw_fde_{begin,end} for first partition and if switched | |
13059 | section dw_fde_second_{begin,end} for the second. | |
13060 | (var_location_switch_text_section_1, | |
13061 | var_location_switch_text_section): New functions. | |
13062 | (dwarf2out_begin_function): Initialize cold_text_section even | |
13063 | when function_section () isn't text_section. | |
13064 | (prune_unused_types): Don't walk arange_table. | |
13065 | (dwarf2out_finish): Don't needlessly test | |
13066 | flag_reorder_blocks_and_partition when testing cold_text_section_used. | |
13067 | If info_section_emitted, call size_of_aranges and if it indicates | |
13068 | non-empty .debug_aranges, call output_aranges with the computed | |
13069 | size. Stop using removed dw_fde_struct fields, use | |
13070 | dw_fde_{begin,end} for first partition and dw_fde_second_{begin,end} | |
13071 | for second. | |
13072 | ||
2b80199f JJ |
13073 | PR debug/48203 |
13074 | * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Only | |
13075 | create ENTRY_VALUE if incoming or address of incoming's MEM | |
13076 | is a hard REG. | |
13077 | * dwarf2out.c (mem_loc_descriptor): Don't emit | |
13078 | DW_OP_GNU_entry_value of DW_OP_fbreg. | |
13079 | * var-tracking.c (vt_add_function_parameter): Ensure cselib_lookup | |
13080 | on ENTRY_VALUE is able to find the canonical parameter VALUE. | |
13081 | * cselib.c (rtx_equal_for_cselib_1) <case ENTRY_VALUE>: Use | |
13082 | rtx_equal_p instead of rtx_equal_for_cselib_1 to compare | |
13083 | ENTRY_VALUE_EXPs. | |
13084 | (cselib_hash_rtx) <case ENTRY_VALUE>: If ENTRY_VALUE_EXP | |
13085 | is a REG_P or MEM_P with REG_P address, compute hash directly | |
13086 | instead of calling cselib_hash_rtx on ENTRY_VALUE_EXP. | |
13087 | (preserve_only_constants): Don't clear VALUES forwaring | |
13088 | ENTRY_VALUE to some other VALUE. | |
13089 | ||
8a445129 RS |
13090 | 2011-03-28 Richard Sandiford <richard.sandiford@linaro.org> |
13091 | ||
13092 | * builtins.c (expand_builtin_memset_args): Use gen_int_mode | |
13093 | instead of GEN_INT. | |
13094 | ||
c82fee88 EB |
13095 | 2011-03-28 Eric Botcazou <ebotcazou@adacore.com> |
13096 | ||
13097 | * cfgexpand.c (expand_gimple_cond): Always set the source location and | |
13098 | block before expanding the statement. | |
13099 | (expand_gimple_stmt_1): Likewise. Set them here... | |
13100 | (expand_gimple_stmt): ...and not here. Tidy. | |
13101 | * cfglayout.c (curr_insn_locator): Return 0 if the current location is | |
13102 | unknown. | |
13103 | ||
e45425ec SB |
13104 | 2011-03-28 Steven Bosscher <steven@gcc.gnu.org> |
13105 | ||
13106 | * Makefile.in: New rule for cprop.o. | |
13107 | * gcse.c: Move constant/copy propagation to cprop.c. | |
13108 | (compute_local_properties): Only handle expression tables. | |
13109 | (hash_scan_set, compute_hash_table_work, alloc_hash_table,): Likewise. | |
13110 | (one_pre_gcse_pass, one_code_hoisting_pass): Likewise. | |
13111 | (hash_set, insert_set_in_table, gcse_constant_p, lookup_set, | |
13112 | next_set, reset_opr_set_tables, oprs_not_set_p, mark_call, mark_set, | |
7a81008b | 13113 | mark_clobber, mark_oprs_set, alloc_cprop_mem, free_cprop_mem, |
e45425ec SB |
13114 | compute_cprop_data, find_used_regs, try_replace_reg, |
13115 | find_avail_set, cprop_jump, constprop_register, cprop_insn, | |
13116 | local_cprop_find_used_regs, do_local_cprop, local_cprop_pass, | |
13117 | fis_get_condition, implicit_set_cond_p, find_implicit_sets, | |
13118 | find_bypass_set, reg_killed_on_edge, bypass_block, | |
13119 | bypass_conditional_jumps, one_cprop_pass, gate_rtl_cprop, | |
13120 | execute_rtl_cprop, pass_rtl_cprop): Move to... | |
13121 | * cprop.c: ...here. New file, constant/copy propagation for RTL | |
13122 | moved from gcse.c to here with minor cleanups in duplicated code. | |
13123 | ||
c09d5426 L |
13124 | 2011-03-28 H.J. Lu <hongjiu.lu@intel.com> |
13125 | ||
13126 | * config/i386/i386.c (flag_opts): Fix a typo in | |
13127 | -mavx256-split-unaligned-store. | |
13128 | ||
9eaa7740 AS |
13129 | 2011-03-28 Anatoly Sokolov <aesok@post.ru> |
13130 | ||
13131 | * config/h8300/h8300.h (FUNCTION_VALUE_REGNO_P, FUNCTION_VALUE, | |
13132 | LIBCALL_VALUE): Remove macros. | |
13133 | * config/h8300/h8300.c (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
13134 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
13135 | (h8300_function_value, h8300_libcall_value, | |
13136 | h8300_function_value_regno_p): New functions. | |
13137 | ||
dcec2be2 AS |
13138 | 2011-03-28 Anatoly Sokolov <aesok@post.ru> |
13139 | ||
13140 | * config/h8300/h8300.h (ASM_OUTPUT_BSS): Remove macro. | |
13141 | ||
520af9ec JL |
13142 | 2011-03-28 Jeff Law <law@redhat.com> |
13143 | ||
13144 | * tree-ssa-threadupdate.c (redirect_edges): Call | |
13145 | create_edge_and_update_destination_phis as needed. | |
13146 | (create_edge_and_update_destination_phis): Accept new BB argument. | |
13147 | All callers updated. | |
13148 | (thread_block): Do not update the profile when threading around | |
13149 | intermediate blocks. | |
13150 | (thread_single_edge): Likewise. | |
13151 | (determine_bb_domination_status): If BB is not a successor of the | |
13152 | loop header, return NONDOMINATING. | |
13153 | (register_jump_thread): Note when we register a jump thread around | |
13154 | an intermediate block. | |
13155 | * tree-ssa-threadedge.c (thread_around_empty_block): New function. | |
13156 | (thread_across_edge): Use it. | |
13157 | ||
7450b54f TG |
13158 | 2011-03-28 Tristan Gingold <gingold@adacore.com> |
13159 | ||
13160 | * config/ia64/ia64.c (ia64_promote_function_mode): Fix promotion | |
13161 | when for_return is 2. | |
13162 | ||
649beb33 JL |
13163 | 2011-03-28 Jeff Law <law@redhat.com> |
13164 | ||
13165 | * var-tracking.c (canonicalize_values_mark): Delete unused | |
13166 | lhs assignment. | |
13167 | (canonicalize_values_star, set_variable_part): Likewise. | |
13168 | (clobber_variable_part, delete_variable_part): Likewise. | |
13169 | ||
d5b8da97 SB |
13170 | 2011-03-28 Steven Bosscher <steven@gcc.gnu.org> |
13171 | ||
13172 | * gcse.c (free_gcse_mem): Free reg_set_bitmap. | |
13173 | ||
322dd859 MJ |
13174 | 2011-03-28 Martin Jambor <mjambor@suse.cz> |
13175 | ||
13176 | * tree-inline.c (expand_call_inline): Do not check that destination | |
13177 | node is analyzed. | |
13178 | (optimize_inline_calls): Assert that destination node is analyzed. | |
13179 | * cgraph.c (cgraph_add_new_function): Call cgraph_analyze_function, do | |
13180 | not call tree_lowering_passes. | |
13181 | * cgraph.h (cgraph_analyze_function): Declare. | |
13182 | * cgraphunit.c (cgraph_analyze_function): Make public. | |
13183 | ||
aa53e58b JM |
13184 | 2011-03-28 Joseph Myers <joseph@codesourcery.com> |
13185 | ||
13186 | * config/sparc/sparc-opts.h: New. | |
13187 | * config/sparc/sparc.c (sparc_handle_option, sparc_select, | |
13188 | sparc_cpu, fpu_option_set, TARGET_HANDLE_OPTION): Remove. | |
13189 | (sparc_option_override): Store processor_type enumeration rather | |
13190 | than string in cpu_default. Remove name and enumeration from | |
13191 | cpu_table. Directly default -mcpu then default -mtune from -mcpu | |
13192 | without using sparc_select. Use target_flags_explicit instead of | |
13193 | fpu_option_set. | |
13194 | * config/sparc/sparc.h (enum processor_type): Move to | |
13195 | sparc-opts.h. | |
13196 | (sparc_cpu, struct sparc_cpu_select, sparc_select): Remove. | |
13197 | * config/sparc/sparc.opt (config/sparc/sparc-opts.h): New | |
13198 | HeaderInclude entry. | |
13199 | (mcpu=, mtune=): Use Var and Enum. | |
13200 | (sparc_processor_type): New Enum and EnumValue entries. | |
13201 | ||
dd350eba RO |
13202 | 2011-03-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13203 | Iain Sandoe <iains@gcc.gnu.org> | |
13204 | ||
13205 | PR target/48245 | |
13206 | * config/darwin.h (LINK_COMMAND_SPEC_A): Use LINK_PLUGIN_SPEC. | |
13207 | ||
1b29f05e EB |
13208 | 2011-03-28 Eric Botcazou <ebotcazou@adacore.com> |
13209 | ||
13210 | * tree-vectorizer.h (vect_create_data_ref_ptr): Adjust prototype. | |
13211 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add GSI parameter. | |
13212 | Insert new statements at it in lieu of STMT. | |
13213 | (vect_setup_realignment): Adjust call to vect_create_data_ref_ptr. | |
13214 | * tree-vect-stmts.c (vectorizable_store): Likewise. | |
13215 | (vectorizable_load): Likewise. | |
13216 | ||
506e6808 UB |
13217 | 2011-03-28 Uros Bizjak <ubizjak@gmail.com> |
13218 | ||
13219 | * config/alpha/alpha.md (addtf3): Change mode of operands to TFmode. | |
13220 | (divtf3): Ditto. | |
13221 | (multf3): Ditto. | |
13222 | (subtf3): Ditto. | |
13223 | ||
2e939ee9 L |
13224 | 2011-03-27 H.J. Lu <hongjiu.lu@intel.com> |
13225 | ||
13226 | * config/i386/sse.md (*avx_mov<mode>_internal): Don't assert | |
13227 | unaligned 256bit load/store. | |
13228 | (*avx_movu<ssemodesuffix><avxmodesuffix>): Likewise. | |
13229 | (*avx_movdqu<avxmodesuffix>): Likewise. | |
13230 | ||
5e85ab88 JDA |
13231 | 2011-03-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
13232 | ||
13233 | PR target/48288 | |
13234 | * config/pa/predicates.md (reg_or_ior_operand): New predicate. | |
13235 | * config/pa/pa.md (iordi3): Use new predicate in expander. | |
13236 | (iorsi3): Likewise. | |
13237 | ||
47be3d6d AS |
13238 | 2011-03-27 Anatoly Sokolov <aesok@post.ru> |
13239 | ||
506e6808 | 13240 | * config/mips/mips.h (LIBCALL_VALUE, FUNCTION_VALUE, |
47be3d6d | 13241 | FUNCTION_VALUE_REGNO_P): Remove macros. |
506e6808 UB |
13242 | * config/mips/mips-protos.h (mips_function_value): Remove. |
13243 | * config/mips/mips.c (mips_function_value): Rename to... | |
47be3d6d AS |
13244 | (mips_function_value_1): ... this. Make static. Handle receiving |
13245 | the function type in 'fn_decl_or_type' argument. | |
13246 | (mips_function_value, mips_libcall_value, | |
13247 | mips_function_value_regno_p): New function. | |
13248 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
13249 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
13250 | ||
d253656a L |
13251 | 2011-03-27 H.J. Lu <hongjiu.lu@intel.com> |
13252 | ||
13253 | * config/i386/i386.c (flag_opts): Add -mavx256-split-unaligned-load | |
13254 | and -mavx256-split-unaligned-store. | |
13255 | (ix86_option_override_internal): Split 32-byte AVX unaligned | |
13256 | load/store by default. | |
13257 | (ix86_avx256_split_vector_move_misalign): New. | |
13258 | (ix86_expand_vector_move_misalign): Use it. | |
13259 | ||
13260 | * config/i386/i386.opt: Add -mavx256-split-unaligned-load and | |
13261 | -mavx256-split-unaligned-store. | |
13262 | ||
13263 | * config/i386/sse.md (*avx_mov<mode>_internal): Verify unaligned | |
13264 | 256bit load/store. Generate unaligned store on misaligned memory | |
13265 | operand. | |
13266 | (*avx_movu<ssemodesuffix><avxmodesuffix>): Verify unaligned | |
13267 | 256bit load/store. | |
13268 | (*avx_movdqu<avxmodesuffix>): Likewise. | |
13269 | ||
13270 | * doc/invoke.texi: Document -mavx256-split-unaligned-load and | |
13271 | -mavx256-split-unaligned-store. | |
13272 | ||
1ea9206a RS |
13273 | 2011-03-27 Richard Sandiford <rdsandiford@googlemail.com> |
13274 | ||
13275 | PR target/38598 | |
13276 | * config/mips/mips.md (extendsidi2): Add an "l" alternative. | |
13277 | Update commentary. | |
13278 | ||
b99ce2a8 RS |
13279 | 2011-03-27 Richard Sandiford <rdsandiford@googlemail.com> |
13280 | ||
13281 | * config/mips/mips.c (mips_prepare_builtin_arg): Replace icode and | |
13282 | opno arguments with an expand_operand. Use create_input_operand. | |
13283 | (mips_prepare_builtin_target): Delete. | |
13284 | (mips_expand_builtin_insn, mips_expand_builtin_compare_1): New | |
13285 | functions. | |
13286 | (mips_expand_builtin_direct): Use create_output_operand and | |
13287 | mips_expand_builtin_insn. Update call to mips_prepare_builtin_arg. | |
13288 | (mips_expand_builtin_movtf): Likewise. Use mips_expand_fp_comparison. | |
13289 | (mips_expand_builtin_compare): Use mips_expand_fp_comparison. | |
13290 | ||
69d52339 IR |
13291 | 2011-03-27 Ira Rosen <ira.rosen@linaro.org> |
13292 | ||
13293 | * config/arm/arm.c (arm_autovectorize_vector_sizes): New | |
13294 | function. | |
13295 | (TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES): Define. | |
13296 | ||
ba5e9aca EB |
13297 | 2011-03-26 Eric Botcazou <ebotcazou@adacore.com> |
13298 | ||
13299 | * basic-block.h (fixup_abnormal_edges): Adjust prototype. | |
13300 | * reload1.c (reload): Adjust call to fixup_abnormal_edges. Rediscover | |
13301 | basic blocks and call commit_edge_insertions directly. | |
13302 | (fixup_abnormal_edges): Move from here to... | |
13303 | * cfgrtl.c (fixup_abnormal_edges): ...here. Only insert instructions | |
13304 | on the edges and return whether some have actually been inserted. | |
13305 | * reg-stack.c (convert_regs): Fix up abnormal edges before inserting | |
13306 | compensation code. | |
13307 | ||
5d369d58 AB |
13308 | 2011-03-26 Andrey Belevantsev <abel@ispras.ru> |
13309 | ||
13310 | PR rtl-optimization/48144 | |
13311 | * sel-sched-ir.c (merge_history_vect): Factor out from ... | |
13312 | (merge_expr_data): ... here. | |
13313 | (av_set_intersect): Rename to av_set_code_motion_filter. | |
13314 | Update all callers. Call merge_history_vect when an expression | |
13315 | is found in both sets. | |
13316 | * sel-sched-ir.h (av_set_code_motion_filter): Add prototype. | |
13317 | ||
f082c000 AM |
13318 | 2011-03-26 Alan Modra <amodra@gmail.com> |
13319 | ||
13320 | * config/rs6000/predicates.md (word_offset_memref_op): Handle | |
13321 | cmodel medium addresses. | |
13322 | * config/rs6000/rs6000.c (rs6000_secondary_reload): Handle misaligned | |
13323 | 64-bit gpr loads and stores. | |
13324 | (rs6000_secondary_reload_ppc64): New function. | |
13325 | * config/rs6000/rs6000-protos.h: Declare it. | |
13326 | * config/rs6000/rs6000.md (reload_di_store, reload_di_load): New. | |
13327 | ||
8ac5e12e AM |
13328 | 2011-03-26 Alan Modra <amodra@gmail.com> |
13329 | ||
13330 | PR target/47487 | |
13331 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Support | |
13332 | GNU Go in traceback table. | |
13333 | ||
c2654ded RH |
13334 | 2011-03-25 Richard Henderson <rth@redhat.com> |
13335 | ||
13336 | * expr.c (emit_block_move_via_movmem): Only use 6 operand variant | |
13337 | if there are exactly 6 operands. | |
13338 | (set_storage_via_setmem): Similarly. | |
13339 | ||
ba78087b KT |
13340 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
13341 | ||
13342 | * collect2.c (write_c_file_stat): Handle backslash | |
13343 | as right-hand directory separator. | |
13344 | (resolve_lib_name): Use IS_DIR_SEPARATOR instead of | |
13345 | checking just for slash. | |
13346 | * coverage.c (coverage_init): Use IS_ABSOLUTE_PATH | |
13347 | instead of checking for trailing slash. | |
13348 | * gcc.c (record_temp_file): Use filename_cmp instead | |
13349 | of strcmp. | |
13350 | (do_spec_1): Likewise. | |
13351 | (replace_outfile_spec_function): Likewise. | |
13352 | (is_directory): Use filename_ncmp instead of strncmp. | |
13353 | (print_multilib_info): Likewise. | |
13354 | * gcov.c (find_source): Use filename_cmp instead | |
13355 | instead of strcmp. | |
13356 | (make_gcov_file_name): Fix order of slash/backslash | |
13357 | checks. | |
13358 | * incpath.c (DIRS_EQ): Use filename_cmp instead of strcmp. | |
13359 | (add_standard_paths): Likewise. | |
13360 | * mips-tfile.c (saber_stop): Handle backslash. | |
13361 | * prefix.c (update_path): Use filename_ncmp instead of | |
13362 | strncmp. | |
13363 | * profile.c (output_location): Use filename_cmp instead | |
13364 | of strcmp. | |
13365 | * read-md.c (handle_toplevel_file): Handle backslash. | |
13366 | * tlink.c (frob_extension): Likewise. | |
13367 | * tree-cfg.c (same_line_p): Use filename_cmp instead of | |
13368 | strcmp. | |
13369 | * tree-dump.c (dequeue_and_dump): Handle backslash. | |
13370 | * tree.c (get_file_function_name): Likewise. | |
13371 | * gengtype.c (read_input_list): Likewise. | |
13372 | (get_file_realbasename): Likewise. | |
13373 | (get_output_file_with_visibility): Use filename_cmp | |
13374 | instead of strcmp. | |
13375 | ||
75f6ec9a RS |
13376 | 2011-03-25 Richard Sandiford <richard.sandiford@linaro.org> |
13377 | ||
13378 | * config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Restrict FPA_REGS | |
13379 | case to VFPv1. | |
13380 | ||
6c4e2997 NF |
13381 | 2011-03-25 Nathan Froyd <froydnj@codesourcery.com> |
13382 | ||
13383 | * fold-const.c (expr_location_or): New function. | |
13384 | (fold_truth_not_expr): Call it. | |
13385 | ||
0edf1bb2 JL |
13386 | 2011-03-25 Jeff Law <law@redhat.com> |
13387 | ||
13388 | * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Add missing | |
13389 | va_end. | |
13390 | * c-family/c-common.c (def_fn_type): Likewise. | |
13391 | * ada/gcc-interface/utils.c (def_fn_type): Likewise. | |
13392 | * emit-rtl.c (gen_rtvec): Likewise. | |
13393 | * lto/lto-lang.c (def_fn_type): Likewise. | |
13394 | ||
fdc2de95 RG |
13395 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
13396 | ||
13397 | * tree-ssa-copy.c (stmt_may_generate_copy): Copies from constants | |
13398 | also generate copies. | |
13399 | (fini_copy_prop): Handle constant values properly. | |
13400 | ||
21385db0 JJ |
13401 | 2011-03-25 Jakub Jelinek <jakub@redhat.com> |
13402 | ||
13403 | * dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTRACT>: Compare | |
13404 | mode size instead of bitsize with DWARF2_ADDR_SIZE. | |
13405 | (hash_loc_operands, compare_loc_operands): Handle | |
13406 | DW_OP_GNU_entry_value. | |
13407 | ||
6510e8bb KT |
13408 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
13409 | ||
13410 | * config/i386/cygming.h (DWARF_FRAME_REGISTERS): Adjust comment. | |
13411 | (STACK_BOUNDARY): Check for bit-ness in case of MS_ABI. | |
13412 | * config/i386/i386.c (ix86_conditional_register_usage): Adjust | |
13413 | comment and use macro TARGET_64BIT_MS_ABI instead. | |
13414 | (ix86_keep_aggregate_return_pointer): Optimize for 64-bit case | |
13415 | and change default behavior for 32-bit MS_ABI. | |
13416 | (ix86_reg_parm_stack_space): Check additionally for bit-ness. | |
13417 | (ix86_function_type_abi): Allow check for ms_abi/sysv_abi for | |
13418 | 32-bit, too. | |
13419 | (ix86_cfun_abi): Likewise. | |
13420 | (ix86_maybe_switch_abi): Adjust comment. | |
13421 | (init_cumulative_args): Check for bit-ness in MS_ABI case. | |
13422 | (ix86_gimplify_va_arg): Check just for not TARGET_64BIT_MS_ABI | |
13423 | instead of checking for SYSV_ABI. | |
13424 | (ix86_nsaved_sseregs): Likewise. | |
13425 | (ix86_compute_frame_layout): Set only for 64-bit MS_ABI alignment | |
13426 | to 16 bytes. | |
13427 | (ix86_expand_call): Use TARGET_64BIT_MS_ABI macro. | |
13428 | * config/i386.h (TARGET_32BIT_MS_ABI): New macro. | |
13429 | (ACCUMULATE_OUTGOING_ARGS): Check explicit for 64-bit MS_ABI. | |
13430 | (OUTGOING_REG_PARM_STACK_SPACE): Likewise. | |
13431 | * config/mingw32.h (DEFAULT_ABI): Change default always to MS_ABI. | |
13432 | ||
34019e28 RG |
13433 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
13434 | ||
13435 | * tree-flow.h (verify_stmts): Rename to verify_gimple_in_cfg. | |
13436 | (verify_types_in_gimple_seq): Rename to verify_gimple_in_seq. | |
13437 | (verify_gimple): Remove. | |
13438 | * tree-cfg.c (verify_gimple_call): Merge verification | |
13439 | from verify_stmts. | |
13440 | (verify_gimple_phi): Merge verification from verify_stmts. | |
13441 | (verify_gimple_label): New function. | |
13442 | (verify_types_in_gimple_seq_2): Rename to verify_gimple_in_seq_2. | |
13443 | (verify_types_in_gimple_seq): Rename to verify_gimple_in_seq. | |
13444 | (verify_stmt): Merge into verify_gimple_in_cfg and callees. | |
13445 | (verify_stmts): Rename to verify_gimple_in_cfg. | |
13446 | (verify_gimple_in_cfg): New function. | |
13447 | * passes.c (execute_function_todo): Call verify_gimple_in_cfg. | |
13448 | * tree-ssa.c (verify_ssa): Likewise. | |
13449 | * gimplify.c (gimplify_body): Call verify_gimple_in_seq. | |
13450 | ||
605896f5 RG |
13451 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
13452 | ||
13453 | * passes.c (init_optimization_passes): Add FRE pass after | |
13454 | early SRA. | |
13455 | ||
7baa7c13 BS |
13456 | 2011-03-25 Bernd Schmidt <bernds@codesourcery.com> |
13457 | Andrew Stubbs <ams@codesourcery.com> | |
13458 | ||
13459 | * config/arm/vfp.md (arm_movdi_vfp): Enable only when not tuning | |
13460 | for Cortex-A8. | |
13461 | (arm_movdi_vfp_cortexa8): New pattern. | |
13462 | * config/arm/neon.md (adddi3_neon, subdi3_neon, anddi3_neon, | |
13463 | iordi3_neon, xordi3_neon): Add alternatives to discourage Neon | |
13464 | instructions when tuning for Cortex-A8. Set attribute "arch". | |
13465 | * config/arm/arm.md: Move include arm-tune.md up a bit. | |
13466 | (define_attr "arch"): Add "onlya8" and "nota8" values. | |
13467 | (define_attr "arch_enabled"): Handle "onlya8" and "nota8". | |
13468 | ||
45dbce1b NF |
13469 | 2011-03-25 Nathan Froyd <froydnj@codesourcery.com> |
13470 | ||
4ff08abf | 13471 | PR bootstrap/48282 |
45dbce1b NF |
13472 | Revert: |
13473 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> | |
13474 | ||
13475 | * function.c (instantiate_virtual_regs): Use FOR_EACH_BB and | |
13476 | FOR_BB_INSNS_SAFE to iterate through insns. Re-indent. | |
13477 | (pass_instantiate_virtual_regs): Require PROP_cfglayout. | |
13478 | * passes.c (init_optimization_passes): Move | |
13479 | pass_instantiate_virtual_regs after pass_into_cfg_layout_mode. | |
13480 | ||
ac9a30ae KT |
13481 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
13482 | ||
13483 | * c-typeck.c (comptypes_internal): Replace target | |
13484 | hook call of comp_type_attributes by version in tree.c file. | |
13485 | * gimple.c (gimple_types_compatible_p_1): Likewise. | |
13486 | * tree-ssa.c (useless_type_conversion_p): Likewise. | |
13487 | * tree.c (build_type_attribute_qual_variant): Likewise. | |
13488 | (attribute_value_equal): New static helper function. | |
13489 | (comp_type_attributes): New function. | |
13490 | (merge_attributes): Use attribute_value_equal for comparison. | |
13491 | (attribute_list_contained): Likewise. | |
13492 | * tree.h (comp_type_attributes): New prototype. | |
13493 | ||
afdac116 RG |
13494 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
13495 | ||
13496 | * tree-cfg.c (verify_gimple_assign_unary): Drop special casing | |
13497 | of complex types at -O0. | |
13498 | (verify_gimple_assign_binary): Likewise. | |
13499 | (verify_gimple_assign_ternary): Likewise. | |
13500 | ||
ec6165f8 MW |
13501 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
13502 | ||
13503 | * dwarf2out.c (size_of_die): Modify comment to say DW_FORM_ref_sig8. | |
13504 | (value_format): Use DW_FORM_ref_sig8, not DW_FORM_sig8. | |
13505 | ||
2a5ac39a MW |
13506 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
13507 | ||
13508 | PR debug/48041 | |
13509 | * dwarf2out.c (output_abbrev_section): Only write table when | |
13510 | abbrev_die_table_in_use > 1. | |
13511 | ||
e533b2a4 RH |
13512 | 2011-02-24 Richard Henderson <rth@redhat.com> |
13513 | ||
13514 | * config/alpha/alpha.c (alpha_expand_unaligned_load): Use extql. | |
13515 | (alpha_expand_unaligned_store): Use mskwl, mskll, mskql. | |
13516 | (alpha_expand_unaligned_load_words): Use extql. | |
13517 | (alpha_expand_unaligned_store_words): Use insqh, mskqh, mskql. | |
13518 | (emit_insxl): Handle all modes for consistency. | |
13519 | ||
0b2a7367 RH |
13520 | 2011-02-24 Richard Henderson <rth@redhat.com> |
13521 | ||
13522 | * config/alpha/alpha.c (get_aligned_mem): Don't test WORDS_BIG_ENDIAN. | |
13523 | (alpha_expand_unaligned_load): Likewise. | |
13524 | (alpha_expand_unaligned_store): Likewise. | |
13525 | (alpha_expand_unaligned_load_words): Likewise. | |
13526 | (alpha_expand_unaligned_store_words): Likewise. | |
13527 | (emit_insxl, alpha_split_compare_and_swap_12): Likewise. | |
13528 | (alpha_split_lock_test_and_set_12): Likewise. | |
13529 | (print_operand, alpha_fold_builtin_extxx): Likewise. | |
13530 | (alpha_fold_builtin_insxx, alpha_fold_builtin_mskxx): Likewise. | |
13531 | * config/alpha/alpha.md (bswapsi2, insv, extv, extzv): Likewise. | |
13532 | (builtin_extwh, builtin_extlh, builtin_extql): Likewise. | |
13533 | (unaligned_extendqidi_be, unaligned_extendhidi_be, extxl_be): Remove. | |
13534 | (*extxl_1_be, *extql_2_be, extqh_be, extlh_be, extwh_be): Remove. | |
13535 | (insbl_be, inswl_be, insll_be, insql_be, mskxl_be): Remove. | |
13536 | (unaligned_loadqi_be, unaligned_loadhi_be): Remove. | |
13537 | (unaligned_storeqi_be, unaligned_storehi_be): Remove. | |
13538 | (extbl): Rename from builtin_extbl; don't test WORDS_BIG_ENDIAN. | |
13539 | (extwl, extll, extql): Similarly. | |
13540 | (inswh, inslh, insqh): Similarly. | |
13541 | (mskbl, mskwl, mskll, mskql): Similarly. | |
13542 | (mskwh, msklh, mskqh): Similarly. | |
13543 | ||
315b2bef RH |
13544 | 2011-02-24 Richard Henderson <rth@redhat.com> |
13545 | ||
13546 | * config/alpha/alpha.md (attribute isa): Add er, ner. | |
13547 | (attribute enabled): Handle them. | |
13548 | (*movdi): Merge *movdi_{er_nofix,nofix,er_fix,fix}. | |
13549 | ||
67102517 RH |
13550 | 2011-02-24 Richard Henderson <rth@redhat.com> |
13551 | ||
13552 | * config/alpha/alpha.md (attribute isa): Add vms. | |
13553 | (attribute enabled): Handle it. | |
13554 | (*movsf): Merge *movsf_{nofix,fix,nofp}. | |
13555 | (*movdf): Merge *movdf_{nofix,fix,nofp}. | |
13556 | (*movtf): Rename from *movtf_internal for consistency. | |
13557 | (*movsi): Merge with *movsi_nt_vms. | |
13558 | (*movhi): Merge *movhi_nobwx, *movhi_bwx. | |
13559 | (*movqi): Merge *movqi_nobwx, *movqi_bwx. | |
13560 | (*mov<VEC>): Merge *mov<VEC>_fix, *mov<VEC>_nofix. | |
13561 | * config/alpha/constraint.md ("f"): Use NO_REGS when fpu is disabled. | |
13562 | ||
6aba5cb4 RH |
13563 | 2011-02-24 Richard Henderson <rth@redhat.com> |
13564 | ||
13565 | * config/alpha/alpha.md (extendqihi2): Implement for BWX only. | |
13566 | (extendqisi2, extendhisi2): Likewise. | |
13567 | (extendqidi2): Simplify BWX/non-BWX expansions. | |
13568 | (extendhidi2): Similarly. | |
13569 | ||
bdfb351b RH |
13570 | 2011-02-24 Richard Henderson <rth@redhat.com> |
13571 | ||
13572 | * config/alpha/alpha.md (attribute isa): New. | |
13573 | (attribute enabled): New. | |
13574 | (zero_extendqihi2): Merge from *zero_extendqihi2_{bwx,nobwx}. | |
13575 | (zero_extendqisi2, zero_extendqidi2): Similarly. | |
13576 | (zero_extendhisi2, zero_extendhidi2): Similarly. | |
13577 | * config/alpha/predicates.md (reg_or_bwx_memory_operand): New. | |
13578 | ||
6abe71eb RH |
13579 | 2011-02-24 Richard Henderson <rth@redhat.com> |
13580 | ||
13581 | * config/alpha/predicates.md (input_operand): Revert last change; | |
13582 | update comment to mention 32-bit VMS rather than Windows. | |
13583 | ||
7114321e NF |
13584 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
13585 | ||
13586 | * function.c (instantiate_virtual_regs): Use FOR_EACH_BB and | |
13587 | FOR_BB_INSNS_SAFE to iterate through insns. Re-indent. | |
13588 | (pass_instantiate_virtual_regs): Require PROP_cfglayout. | |
13589 | * passes.c (init_optimization_passes): Move | |
13590 | pass_instantiate_virtual_regs after pass_into_cfg_layout_mode. | |
13591 | ||
c8679567 EB |
13592 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
13593 | ||
13594 | * dojump.c (do_jump_by_parts_greater_rtx): Optimize in specific cases. | |
13595 | ||
27173058 UB |
13596 | 2011-03-24 Uros Bizjak <ubizjak@gmail.com> |
13597 | ||
13598 | * config/i386/i386.md (ix86_print_operand): Output DFmode const_double | |
13599 | correctly. | |
13600 | ||
6f0c9f06 JJ |
13601 | 2011-03-24 Jakub Jelinek <jakub@redhat.com> |
13602 | ||
13603 | PR debug/48204 | |
13604 | * simplify-rtx.c (simplify_const_unary_operation): Call | |
13605 | real_convert when changing mode class with FLOAT_EXTEND. | |
13606 | ||
662666e5 NC |
13607 | 2011-03-24 Nick Clifton <nickc@redhat.com> |
13608 | ||
13609 | * config/rx/rx.h (LABEL_ALIGN_FOR_BARRIER): Define. | |
13610 | (ASM_OUTPUT_MAX_SKIP_ALIGN): Define. | |
13611 | * config/rx/rx.c (rx_option_override): Set align_jumps, | |
13612 | align_loops and align_labels if not set by the user. | |
13613 | (rx_align_for_label): New function. | |
13614 | (rx_max_skip_for_label): New function. | |
13615 | (TARGET_ASM_JUMP_ALIGN_MAX_SKIP): Define. | |
13616 | (TARGET_ASM_LOOP_ALIGN_MAX_SKIP): Define. | |
13617 | (TARGET_ASM_LABEL_ALIGN_MAX_SKIP): Define. | |
13618 | (TARGET_ASM_LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Define. | |
13619 | * config/rx/rx-protos.h (rx_align_for_label): Add prototype. | |
13620 | ||
2b99b2b8 RS |
13621 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
13622 | ||
13623 | PR rtl-optimization/48263 | |
13624 | * optabs.c (expand_binop_directly): Reinstate convert_modes code | |
13625 | and original commutative_p handling. Use maybe_gen_insn. | |
13626 | ||
ccecd6ea AK |
13627 | 2011-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
13628 | ||
13629 | * reload.c (find_reloads_subreg_address): Add address_reloaded | |
13630 | parameter and return true there if the full address has been | |
13631 | reloaded. | |
13632 | (find_reloads_toplev): Pass address_reloaded flag. | |
13633 | (find_reloads_address_1): Don't use address_reloaded parameter. | |
13634 | ||
67295642 JL |
13635 | 2011-03-24 Jeff Law <law@redhat.com> |
13636 | ||
13637 | * tree-ssa-live.c (remove_unused_scope_block_p): Remove set but | |
13638 | unused variable "ann". | |
13639 | (remove_unused_locals): Likewise. | |
13640 | ||
13641 | * tree-ssa-copy.c (propagate_tree_value_into_stmt): Remove useless | |
13642 | statement. | |
13643 | ||
13644 | * cfglayout.c (fixup_reorder_chain): Do not dereference E_FALL | |
13645 | after it is freed. | |
13646 | ||
212aa74f AK |
13647 | 2011-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
13648 | ||
13649 | * config/s390/s390.c (s390_preferred_reload_class): Return NO_REGS | |
13650 | for invalid symbolic addresses. | |
13651 | (s390_secondary_reload): Don't use s390_check_symref_alignment for | |
13652 | larl operands. | |
13653 | ||
fe784e0d EB |
13654 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
13655 | ||
13656 | * fold-const.c (fold_ternary_loc): Preserve the location (if any) of | |
13657 | the argument in calls to fold_truth_not_expr. | |
13658 | ||
63ee8641 NF |
13659 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
13660 | ||
13661 | * tree.c (record_node_allocation_statistics): New function. | |
13662 | (make_node_stat, copy_node_stat, build_string): Call it. | |
13663 | (make_tree_binfo_stat, make_tree_vec_stat, tree_cons_stat): Likewise. | |
13664 | (build1_stat, build_omp_clause): Likewise. | |
13665 | ||
61be2a1c RS |
13666 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
13667 | ||
13668 | * builtins.c (expand_movstr): Fix endp == 1 adjustment after | |
13669 | last commit. | |
13670 | ||
a881aaa7 RG |
13671 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
13672 | ||
13673 | PR tree-optimization/48271 | |
13674 | * tree-ssa-dom.c (tree_ssa_dominator_optimize): Only cleanup | |
13675 | blocks that still exist. | |
13676 | ||
dbaa912c RG |
13677 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
13678 | ||
13679 | PR tree-optimization/48270 | |
13680 | * tree-ssa-phiopt.c (cond_if_else_store_replacement): Do | |
13681 | not free datarefs before ddrs. | |
13682 | ||
1d60cc55 EB |
13683 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
13684 | ||
13685 | * tree-sra.c (build_ref_for_offset): Strip useless type conversions | |
13686 | from the address built for a reference with variable offset. | |
13687 | ||
c78dd519 UB |
13688 | 2011-03-24 Uros Bizjak <ubizjak@gmail.com> |
13689 | ||
13690 | PR target/48237 | |
13691 | * config/i386/i386.md (*movdf_internal_rex64): Do not split | |
13692 | alternatives that can be handled with movq or movabsq insn. | |
13693 | (*movdf_internal): Disable for !TARGET_64BIT. | |
13694 | (*movdf_internal_nointeger): Ditto. | |
13695 | * config/i386/i386.c (ix86_print_operand): Handle DFmode immediates. | |
13696 | ||
b25b9e8f NF |
13697 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
13698 | ||
13699 | * system.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Poison. | |
13700 | (FUNCTION_ARG_ADVANCE): Likewise. | |
13701 | * tm.texi.in: Change references to them to hook references. | |
13702 | * tm.texi: Regenerate. | |
c78dd519 | 13703 | * targhooks.c (default_function_arg): Eliminate check for target macro. |
b25b9e8f NF |
13704 | (default_function_incoming_arg): Likewise. |
13705 | (default_function_arg_advance): Likewise. | |
c78dd519 | 13706 | * target.def (function_arg, function_incoming_arg): Change to DEFHOOK. |
b25b9e8f NF |
13707 | (function_arg_advance): Likewise. |
13708 | * target-def.h: Eliminate FUNCTION_INCOMING_ARG check. | |
13709 | ||
190b2187 RG |
13710 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
13711 | ||
13712 | PR middle-end/48269 | |
13713 | * tree-object-size.c (addr_object_size): Do not double-account | |
13714 | for MEM_REF offsets. | |
13715 | ||
a183b5c7 DN |
13716 | 2011-03-24 Diego Novillo <dnovillo@google.com> |
13717 | ||
13718 | * lto-opts.c (input_data_block): Move to lto-streamer-in.c. | |
c78dd519 | 13719 | * lto-streamer-in.c (input_string_internal): Add clarifying comments. |
a183b5c7 DN |
13720 | (lto_input_data_block): Move from lto-opts.c. Make extern. |
13721 | Update all users. | |
13722 | (lto_input_string): Rename from input_string. Make extern. | |
13723 | Update all users. | |
13724 | * lto-streamer-out.c (lto_output_string_with_length): Rename from | |
13725 | output_string_with_length. | |
13726 | Output 0 to indicate a non-NULL string. Update all callers to | |
13727 | not emit 0. | |
13728 | (lto_output_string): Rename from output_string. Make extern. | |
13729 | Update all users. | |
13730 | (lto_output_decl_state_streams): Make extern. | |
13731 | (lto_output_decl_state_refs): Make extern. | |
13732 | * lto-streamer.h (lto_input_string): Declare. | |
13733 | (lto_input_data_block): Declare. | |
13734 | (lto_output_string): Declare. | |
13735 | (lto_output_string_with_length): Declare. | |
13736 | (lto_output_decl_state_streams): Declare. | |
13737 | (lto_output_decl_state_refs): Declare. | |
13738 | ||
cfef45c8 RG |
13739 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
13740 | ||
13741 | PR tree-optimization/46562 | |
13742 | * tree.c (build_invariant_address): New function. | |
13743 | * tree.h (build_invariant_address): Declare. | |
13744 | * tree-dfa.c (get_addr_base_and_unit_offset): Wrap around | |
13745 | a renamed function moved ... | |
13746 | * tree-flow-inline.h (get_addr_base_and_unit_offset_1): ... here. | |
13747 | Take valueization callback parameter. | |
13748 | * tree-flow.h (gimple_fold_stmt_to_constant): Declare. | |
13749 | * gimple-fold.h: New file. | |
13750 | * tree-ssa-ccp.c (ccp_fold): Use gimple_fold_stmt_to_constant_1. | |
13751 | (ccp_fold, fold_const_aggregate_ref, | |
13752 | fold_ctor_reference, fold_nonarray_ctor_reference, | |
13753 | fold_array_ctor_reference, fold_string_cst_ctor_reference, | |
13754 | get_base_constructor): Move ... | |
13755 | * gimple-fold.c: ... here. | |
13756 | (gimple_fold_stmt_to_constant_1): New function | |
13757 | split out from ccp_fold. Take a valueization callback parameter. | |
13758 | Valueize all operands. | |
13759 | (gimple_fold_stmt_to_constant): New wrapper function. | |
13760 | (fold_const_aggregate_ref_1): New function split out from | |
13761 | fold_const_aggregate_ref. Take a valueization callback parameter. | |
13762 | (fold_const_aggregate_ref): Wrap fold_const_aggregate_ref_1. | |
13763 | * tree-ssa-sccvn.c (simplify_binary_expression): Simplify | |
13764 | invariant POINTER_PLUS_EXPRs to invariant form. | |
13765 | (vn_valueize): New function. | |
13766 | (try_to_simplify): Simplify by using gimple_fold_stmt_to_constant. | |
13767 | * tree-vrp.c (vrp_valueize): New function. | |
13768 | (vrp_visit_assignment_or_call): Use gimple_fold_stmt_to_constant | |
13769 | to fold statements to constants. | |
13770 | * tree-ssa-pre.c (eliminate): Properly guard propagation of | |
13771 | function declarations. | |
13772 | * Makefile.in (tree-ssa-sccvn.o, tree-vrp.o, gimple-fold.o, | |
13773 | tree-ssa-ccp.o): Add gimple-fold.h dependencies. | |
13774 | ||
5e0a7e40 RS |
13775 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
13776 | ||
13777 | * config/h8300/predicates.md (jump_address_operand): Fix register | |
13778 | mode check. | |
13779 | ||
bfe068c3 IR |
13780 | 2011-03-24 Ira Rosen <ira.rosen@linaro.org> |
13781 | ||
13782 | * doc/invoke.texi (max-stores-to-sink): Document. | |
13783 | * params.h (MAX_STORES_TO_SINK): Define. | |
13784 | * opts.c (finish_options): Set MAX_STORES_TO_SINK to 0 | |
13785 | if either vectorization or if-conversion is disabled. | |
13786 | * tree-data-ref.c (dr_equal_offsets_p1): Moved and renamed from | |
13787 | tree-vect-data-refs.c vect_equal_offsets. | |
13788 | (dr_equal_offsets_p): New function. | |
13789 | (find_data_references_in_bb): Remove static. | |
13790 | * tree-data-ref.h (find_data_references_in_bb): Declare. | |
13791 | (dr_equal_offsets_p): Likewise. | |
13792 | * tree-vect-data-refs.c (vect_equal_offsets): Move to tree-data-ref.c. | |
13793 | (vect_drs_dependent_in_basic_block): Update calls to | |
13794 | vect_equal_offsets. | |
13795 | (vect_check_interleaving): Likewise. | |
13796 | * tree-ssa-phiopt.c: Include cfgloop.h and tree-data-ref.h. | |
13797 | (cond_if_else_store_replacement): Rename to... | |
13798 | (cond_if_else_store_replacement_1): ... this. Change arguments and | |
13799 | documentation. | |
13800 | (cond_if_else_store_replacement): New function. | |
13801 | * Makefile.in (tree-ssa-phiopt.o): Adjust dependencies. | |
13802 | * params.def (PARAM_MAX_STORES_TO_SINK): Define. | |
13803 | ||
4908b0bf CLT |
13804 | 2011-03-23 Chung-Lin Tang <cltang@codesourcery.com> |
13805 | ||
13806 | PR target/46934 | |
13807 | * config/arm/arm.md (casesi): Use the gen_int_mode() function | |
13808 | to subtract lower bound instead of GEN_INT(). | |
13809 | ||
2be478a2 JW |
13810 | 2011-03-23 Jonathan Wakely <jwakely.gcc@gmail.com> |
13811 | ||
13812 | PR other/48179 | |
13813 | PR other/48221 | |
13814 | PR other/48234 | |
13815 | * doc/extend.texi (Alignment): Move section to match order in TOC. | |
13816 | * doc/invoke.texi (i386 and x86-64 Windows Options): Likewise. | |
13817 | (Warning Options): Adjust -Wno-cpp summary and remove stray backslash. | |
13818 | ||
0c617be4 JL |
13819 | 2011-03-23 Jeff Law <law@redhat.com> |
13820 | ||
13821 | * cfg.c (redirect_edge_succ_nodup): Duplicate the varm map | |
13822 | before removing the edge. | |
13823 | ||
13824 | * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Do not use E after | |
13825 | it may have been freed by redirect_branch_edge or | |
13826 | redirect_edge_succ_nodup. | |
13827 | ||
58da96fe RG |
13828 | 2011-03-23 Richard Guenther <rguenther@suse.de> |
13829 | ||
c78dd519 | 13830 | * tree-stdarg.c (va_list_counter_bump): Handle bumps via MEM_REF. |
58da96fe RG |
13831 | (check_va_list_escapes): Likewise. |
13832 | (check_all_va_list_escapes): Likewise. | |
13833 | ||
b8beb4d1 RG |
13834 | 2011-03-23 Richard Guenther <rguenther@suse.de> |
13835 | ||
13836 | * Makefile.in (IPA_TYPE_ESCAPE_H): Remove. | |
13837 | (OBJS-archive): Remove ipa-struct-reorg.o and ipa-type-escape.o. | |
13838 | (tree-ssa-alias.o): Do not depend on IPA_TYPE_ESCAPE_H. | |
13839 | (alias.o): Likewise. | |
13840 | (ipa-type-escape.o): Remove. | |
13841 | (ipa-struct-reorg.o): Likewise. | |
13842 | (GTFILES): Remove ipa-struct-reorg.c. | |
13843 | * alias.c: Do not include ipa-type-escape.h. | |
13844 | * tree-ssa-alias.c: Likewise. | |
13845 | * common.opt (fipa-struct-reorg): Preserve for backward compatibility. | |
13846 | * opts.c (finish_options): Do not reset flag_ipa_struct_reorg. | |
13847 | * passes.c (init_optimization_passes): Remove ipa-struct-reorg | |
13848 | and ipa-type-escape passes. | |
13849 | * tree-pass.h (pass_ipa_type_escape): Remove. | |
13850 | (pass_ipa_struct_reorg): Likewise. | |
13851 | * ipa-struct-reorg.h: Remove. | |
13852 | * ipa-struct-reorg.c: Likewise. | |
13853 | * ipa-type-escape.h: Likewise. | |
13854 | * ipa-type-escape.c: Likewise. | |
13855 | * doc/invoke.texi (-fipa-struct-reorg): Remove. | |
13856 | (--param struct-reorg-cold-struct-ratio): Likewise. | |
13857 | * params.def (PARAM_STRUCT_REORG_COLD_STRUCT_RATIO): Likewise. | |
13858 | * params.h (STRUCT_REORG_COLD_STRUCT_RATIO): Likewise. | |
13859 | * timevar.def (TV_IPA_TYPE_ESCAPE): Likewise. | |
13860 | ||
f137aa63 AK |
13861 | 2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
13862 | ||
13863 | * config/s390/2084.md: Enable all insn reservations also for z9_ec | |
13864 | cpu attribute value. | |
13865 | * config/s390/s390-opts.h (enum s390_arch_option): Remove. | |
13866 | (enum processor_type): Add PROCESSOR_2094_Z9_EC. | |
13867 | * config/s390/s390.c (processor_flags_table): New constant array. | |
13868 | (s390_handle_arch_option): Remove. | |
13869 | (s390_handle_option): Remove s390_handle_arch_option invocations | |
13870 | and OPT_mwarn_framesize_ handling. | |
13871 | (s390_option_override): Remove s390_handle_arch_option invocation. | |
13872 | (s390_emit_prologue): Remove use of HOST_WIDE_INT_PRINT_DEC in | |
13873 | warnings. | |
13874 | * config/s390/s390.md (cpu attribute): Add z9_ec value. | |
13875 | * config/s390/s390.opt (s390_tune, s390_arch) | |
13876 | (march=): Replace s390_arch_option enum and values with | |
13877 | processor_type. Set variable name to s390_arch. Set | |
13878 | initialization value. | |
13879 | (mtune=): Replace s390_arch_option with processor_type. Set | |
13880 | variable name to s390_tune. Set initialization value. | |
13881 | ||
bf90208f JB |
13882 | 2011-03-23 Julian Brown <julian@codesourcery.com> |
13883 | ||
13884 | * expr.c (expand_expr_real_1): Only use BLKmode for volatile | |
13885 | accesses which are not naturally aligned. | |
13886 | ||
3460fdf3 RS |
13887 | 2011-03-23 Richard Sandiford <richard.sandiford@linaro.org> |
13888 | ||
13889 | PR target/47553 | |
13890 | * config/arm/predicates.md (neon_lane_number): Accept 0..15. | |
13891 | ||
a5c7d693 RS |
13892 | 2011-03-23 Richard Sandiford <richard.sandiford@linaro.org> |
13893 | ||
13894 | * optabs.h (emit_unop_insn, maybe_emit_unop_insn): Change insn code | |
13895 | parameter from "int" to "enum insn_code". | |
13896 | (expand_operand_type): New enum. | |
13897 | (expand_operand): New structure. | |
13898 | (create_expand_operand): New function. | |
13899 | (create_fixed_operand, create_output_operand): Likewise | |
13900 | (create_input_operand, create_convert_operand_to): Likewise. | |
13901 | (create_convert_operand_from, create_address_operand): Likewise. | |
13902 | (create_integer_operand): Likewise. | |
13903 | (create_convert_operand_from_type, maybe_legitimize_operands): Declare. | |
13904 | (maybe_gen_insn, maybe_expand_insn, maybe_expand_jump_insn): Likewise. | |
13905 | (expand_insn, expand_jump_insn): Likewise. | |
13906 | * builtins.c (expand_builtin_prefetch): Use the new interfaces. | |
13907 | (expand_builtin_interclass_mathfn, expand_builtin_strlen): Likewise. | |
13908 | (expand_movstr, expand_builtin___clear_cache): Likewise. | |
13909 | (expand_builtin_lock_release): Likewise. | |
13910 | * explow.c (allocate_dynamic_stack_space): Likewise. | |
13911 | (probe_stack_range): Likewise. Allow check_stack to FAIL, | |
13912 | and use the default handling in that case. | |
13913 | * expmed.c (check_predicate_volatile_ok): Delete. | |
13914 | (store_bit_field_1, extract_bit_field_1): Use the new interfaces. | |
13915 | (emit_cstore): Likewise. | |
13916 | * expr.c (emit_block_move_via_movmem): Likewise. | |
13917 | (set_storage_via_setmem, expand_assignment): Likewise. | |
13918 | (emit_storent_insn, try_casesi): Likewise. | |
13919 | (emit_single_push_insn): Likewise. Allow the expansion to fail. | |
13920 | * optabs.c (expand_widen_pattern_expr, expand_ternary_op): Likewise. | |
13921 | (expand_vec_shift_expr, expand_binop_directly): Likewise. | |
13922 | (expand_twoval_unop, expand_twoval_binop): Likewise. | |
13923 | (expand_unop_direct, emit_indirect_jump): Likewise. | |
13924 | (emit_conditional_move, vector_compare_rtx): Likewise. | |
13925 | (expand_vec_cond_expr, expand_val_compare_and_swap_1): Likewise. | |
13926 | (expand_sync_operation, expand_sync_fetch_operation): Likewise. | |
13927 | (expand_sync_lock_test_and_set): Likewise. | |
13928 | (maybe_emit_unop_insn): Likewise. Change icode to an insn_code. | |
13929 | (emit_unop_insn): Likewise. | |
13930 | (expand_copysign_absneg): Change icode to an insn_code. | |
13931 | (create_convert_operand_from_type): New function. | |
13932 | (maybe_legitimize_operand, maybe_legitimize_operands): Likewise. | |
13933 | (maybe_gen_insn, maybe_expand_insn, maybe_expand_jump_insn): Likewise. | |
13934 | (expand_insn, expand_jump_insn): Likewise. | |
13935 | * config/i386/i386.md (setmem<mode>): Use nonmemory_operand rather | |
13936 | than const_int_operand for operand 2. | |
13937 | ||
78fadbab AK |
13938 | 2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
13939 | ||
13940 | * dwarf2out.c (const_ok_for_output_1): Print the unspec enum name | |
13941 | if possible. | |
13942 | ||
5f02387d NF |
13943 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
13944 | ||
13945 | * emit-rtl.c (emit_pattern_before_noloc): New function. | |
13946 | (emit_insn_before_noloc, emit_jump_insn_before_noloc): Call it. | |
13947 | (emit_call_insn_before_noloc, emit_debug_insn_before_noloc): Likewise. | |
13948 | (emit_pattern_after_noloc): New function. | |
13949 | (emit_insn_after_noloc, emit_jump_insn_after_noloc): Call it. | |
13950 | (emit_call_insn_after_noloc, emit_debug_insn_after_noloc): Likewise. | |
13951 | ||
fdf3e18a NF |
13952 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
13953 | ||
13954 | * libgcc2.c (__lshrdi3, __ashldi3, __ashrdi3): Use W_TYPE_SIZE. | |
13955 | (__ffsDI2): Likewise. | |
13956 | ||
42d085c1 RH |
13957 | 2011-03-22 Richard Henderson <rth@redhat.com> |
13958 | ||
13959 | * config/alpha/alpha.c (direct_return): Use TARGET_ABI_OSF instead | |
13960 | of !TARGET_ABI_OPEN_VMS. | |
13961 | (alpha_trampoline_init, alpha_start_function): Likewise. | |
13962 | (alpha_expand_epilogue, alpha_file_start): Likewise. | |
13963 | * config/alpha/alpha.md (divsi3, modsi3): Likewise. | |
13964 | (udivsi3, umodsi3, divdi3, moddi3, udivdi3, umoddi3): Likewise. | |
13965 | (*divmodsi_internal_er, *divmodsi_internal_er_1): Likewise. | |
13966 | (*divmodsi_internal, *divmoddi_internal_er): Likewise. | |
13967 | (*divmoddi_internal_er_1, *divmoddi_internal): Likewise. | |
13968 | ||
cabbe12a JM |
13969 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
13970 | ||
13971 | * config/s390/s390-opts.h: New. | |
13972 | * config/s390/s390.c (s390_tune, s390_tune_flags, s390_arch, | |
13973 | s390_arch_flags, s390_warn_framesize, s390_stack_size, | |
13974 | s390_stack_guard): Remove. | |
13975 | (s390_handle_arch_option): Return void. Take enum | |
13976 | s390_arch_option value instead of string and searching array. | |
13977 | (s390_handle_option): Don't assert that global structures are in | |
13978 | use. Access variables via opts pointer. Use error_at. Don't use | |
13979 | sscanf for -mstack-guard= or -mstack-size=. Update call to | |
13980 | s390_handle_arch_option. | |
13981 | (s390_option_override): Update call to s390_handle_arch_option. | |
13982 | (s390_emit_prologue): Use %d format for s390_stack_size in | |
13983 | diagnostic. Use %wd for HOST_WIDE_INT. | |
13984 | * config/s390/s390.h (enum processor_type): Move to s390-opts.h. | |
13985 | (s390_tune, s390_tune_flags, s390_arch, s390_arch_flags): Remove. | |
13986 | * config/s390/s390.opt (config/s390/s390-opts.h): New | |
13987 | HeaderInclude entry. | |
13988 | (s390_arch_string, s390_tune, s390_tune_flags, s390_arch, | |
13989 | s390_arch_flags, s390_warn_framesize): New Variable entries. | |
13990 | (s390_arch_option): New Enum and EnumValue entries. | |
13991 | (march=): Use Enum instead of Var. | |
13992 | (mstack-guard=, mstack-size=): Use UInteger and Var. | |
13993 | (mtune=): Use Enum. | |
13994 | ||
05b12036 JM |
13995 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
13996 | ||
13997 | * config/score/score.c (score_handle_option): Don't assert that | |
13998 | global structures are in use. Access target_flags via opts | |
13999 | pointer. Use value of -march= option to determine target_flags | |
14000 | settings. | |
14001 | * config/score/score.opt (march=): Use Enum. | |
14002 | (score_arch): New Enum and EnumValue entries. | |
14003 | ||
dd51e35a JM |
14004 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14005 | ||
14006 | * config/mep/mep.c (option_mtiny_specified): Remove. | |
14007 | (mep_option_override): Move register handling for -mivc2 from | |
14008 | mep_handle_option. Use global_options_set.x_mep_tiny_cutoff | |
14009 | instead of option_mtiny_specified. | |
14010 | (mep_handle_option): Access target_flags via opts pointer. Don't | |
14011 | assert that global structures are in use. Defer part of -mivc2 | |
14012 | handling and move it to mep_option_override. | |
14013 | * config/mep/mep.opt (IVC2): New Mask entry. | |
14014 | (mivc2): Use Var and Defer instead of Mask. | |
14015 | ||
4a8d3d91 JM |
14016 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14017 | ||
14018 | * config/v850/v850-opts.h: New. | |
14019 | * config/v850/v850.c (small_memory): Replace with | |
14020 | small_memory_physical_max array. Make that array static const. | |
14021 | (v850_handle_memory_option): Take integer value of argument. Take | |
14022 | gcc_options pointer, option text and location. Return void. | |
14023 | Update for changes to small memory structures. | |
14024 | (v850_handle_option): Access target_flags via opts pointer. Don't | |
14025 | assert that global structures are in use. Update calls to | |
14026 | v850_handle_memory_option. | |
c78dd519 UB |
14027 | (v850_encode_data_area): Update references to small memory settings. |
14028 | * config/v850/v850.h (struct small_memory_info, small_memory): Remove. | |
4a8d3d91 JM |
14029 | (enum small_memory_type): Move to v850-opts.h. |
14030 | * config/v850/v850.opt (config/v850/v850-opts.h): New | |
14031 | HeaderInclude entry. | |
14032 | (small_memory_max): New Variable entry. | |
14033 | (msda): Replace by pair of options msda= and msda-. Use UInteger. | |
14034 | (mtda, mzda): Likewise. | |
14035 | ||
117fdbfa JM |
14036 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14037 | ||
14038 | * config/sh/sh.c (sh_handle_option): Access target_flags via opts | |
14039 | pointer. Don't assert that global structures are in use. | |
14040 | ||
d715091c JM |
14041 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14042 | ||
14043 | * config/pdp11/pdp11.c (pdp11_handle_option): Access target_flags | |
14044 | via opts pointer. Don't assert that global structures are in use. | |
14045 | ||
1bb721dc JM |
14046 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14047 | ||
14048 | * config/pa/pa-hpux.opt (flag_pa_unix): New Variable entry. | |
14049 | (munix=93): Use Var. | |
14050 | * config/pa/pa-hpux1010.opt (munix=95): Use Var. | |
14051 | * config/pa/pa-hpux1111.opt (munix=98): Use Var. | |
14052 | * config/pa/pa-opts.h: New. | |
14053 | * config/pa/pa.c (pa_cpu, flag_pa_unix): Remove. | |
14054 | (pa_handle_option): Don't assert that global structures are in | |
14055 | use. Access target_flags via opts pointer. Don't handle | |
14056 | OPT_mschedule_, OPT_mfixed_range_, OPT_munix_93, OPT_munix_95 or | |
14057 | OPT_munix_98 here. | |
14058 | (pa_option_override): Handle deferred OPT_mfixed_range_. | |
14059 | ||
cd8d8754 JM |
14060 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14061 | ||
14062 | * config/mn10300/mn10300-opts.h: New. | |
14063 | * config/mn10300/mn10300.c (mn10300_processor, | |
14064 | mn10300_tune_string): Remove. | |
14065 | (mn10300_handle_option): Don't assert that global structures are | |
14066 | in use. Access mn10300_processor via opts pointer. Don't handle | |
14067 | OPT_mtune_ here. | |
14068 | * config/mn10300/mn10300.h (enum processor_type): Move to | |
14069 | mn10300-opts.h. | |
14070 | (mn10300_processor): Remove. | |
14071 | * config/mn10300/mn10300.opt (config/mn10300/mn10300-opts.h): New | |
14072 | HeaderInclude entry. | |
14073 | (mn10300_processor): New Variable entry. | |
14074 | (mtune=): Use Var. | |
14075 | ||
24e6e6b1 JM |
14076 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14077 | ||
14078 | * config/microblaze/microblaze.c: Don't include opts.h. | |
14079 | (microblaze_handle_option, TARGET_HANDLE_OPTION): Remove. | |
14080 | * config/microblaze/microblaze.opt (mxl-stack-check): Use Warn. | |
14081 | (mno-clearbss): Use Var and Warn. | |
14082 | ||
8a784afb JM |
14083 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14084 | ||
14085 | * config/m32r/m32r-opts.h: New. | |
14086 | * config/m32r/m32r.c (m32r_model, m32r_sdata): Remove. | |
14087 | (m32r_handle_option): Don't assert that global structures are in | |
14088 | use. Access target_flags and m32r_cache_flush_func via opts | |
14089 | pointer. Don't handle OPT_mmodel_, OPT_msdata_ or | |
14090 | OPT_mno_flush_trap here. | |
14091 | * config/m32r/m32r.h (Code Models, Small Data Area): Replace by | |
14092 | include of m32r-opts.h. | |
14093 | * config/m32r/m32r.opt (config/m32r/m32r-opts.h): New | |
14094 | HeaderInclude entry. | |
14095 | (m32r_model_selected, m32r_sdata_selected): New Variable entries. | |
14096 | (mmodel=): Use Enum and Var. | |
14097 | (m32r_model): New Enum and EnumValue entries. | |
14098 | (mno-flush-trap): Use Var. | |
14099 | (msdata=): Use Enum and Var. | |
14100 | (m32r_sdata): New Enum and EnumValue entries. | |
14101 | ||
bbfc9a8c JM |
14102 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14103 | ||
14104 | * config/m32c/m32c.c: Don't include opts.h. | |
14105 | (target_memregs, target_memregs_set, TARGET_HANDLE_OPTION, | |
14106 | m32c_handle_option): Remove. | |
14107 | (m32c_option_override): Check global_options_set.x_target_memregs | |
14108 | instead of target_memregs_set. | |
14109 | * config/m32c/m32c.h (target_memregs): Remove. | |
14110 | * config/m32c/m32c.opt (memregs=): Use UInteger with integer | |
14111 | variable. | |
14112 | ||
e24b8335 JM |
14113 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14114 | ||
14115 | * config/iq2000/iq2000-opts.h: New. | |
14116 | * config/iq2000/iq2000.c: Don't include opts.h. | |
14117 | (iq2000_tune, iq2000_handle_option, TARGET_HANDLE_OPTION): Remove. | |
c78dd519 | 14118 | * config/iq2000/iq2000.h (enum processor_type, iq2000_tune): Remove. |
e24b8335 JM |
14119 | * config/iq2000/iq2000.opt (config/iq2000/iq2000-opts.h): New |
14120 | HeaderInclude entry. | |
14121 | (iq2000_tune): New Variable entry. | |
14122 | (march=): Add comment. Use Enum. | |
14123 | (iq2000_arch): New Enum and EnumValue entries. | |
14124 | (mcpu=): Use Enum and Var. | |
14125 | (iq2000_tune): New Enum and EnumValue entries. | |
14126 | ||
e6cc0c98 JM |
14127 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14128 | ||
14129 | * config/ia64/ia64-opts.h: New. | |
14130 | * config/ia64/ia64.c (ia64_tune): Remove. | |
14131 | (ia64_handle_option): Don't handle OPT_mfixed_range_ or OPT_mtune_ | |
14132 | here. Use error_at. | |
14133 | (ia64_option_override): Handle deferred OPT_mfixed_range_. | |
14134 | * config/ia64/ia64.h (enum processor_type, ia64_tune): Remove. | |
14135 | * config/ia64/ia64.opt (config/ia64/ia64-opts.h): New | |
14136 | HeaderInclude entry. | |
14137 | (ia64_tune): New Variable entry. | |
14138 | (mfixed-range=): Use Defer and Var. | |
14139 | (mtune=): Use Enum and Var. | |
14140 | (ia64_tune): New Enum and EnumValue entries. | |
14141 | ||
db25893c JM |
14142 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14143 | ||
14144 | * config/frv/frv-opts.h: New. | |
14145 | * config/frv/frv-protos.h (enum frv_cpu, frv_cpu_t): Move to | |
14146 | frv-opts.h. | |
14147 | (frv_cpu_type): Remove. | |
14148 | * config/frv/frv.c: Don't include opts.h. | |
14149 | (frv_cpu_type, frv_handle_option, TARGET_HANDLE_OPTION): Remove. | |
c78dd519 | 14150 | * config/frv/frv.opt (config/frv/frv-opts.h): New HeaderInclude entry. |
db25893c JM |
14151 | (frv_cpu_type): New Variable entry. |
14152 | (frv_cpu): New Enum and EnumValue entries. | |
14153 | ||
6c223f5d JM |
14154 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14155 | ||
14156 | * config/cris/cris.c (cris_handle_option): Access target_flags via | |
14157 | opts pointer. Don't assert that global structures are in use. | |
14158 | Don't call CRIS_SUBTARGET_HANDLE_OPTION. | |
14159 | * config/cris/cris.h (CRIS_SUBTARGET_HANDLE_OPTION): Don't define. | |
14160 | ||
bbd399cf JM |
14161 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14162 | ||
14163 | * config/bfin/bfin-opts.h: New. | |
14164 | * config/bfin/bfin.c (bfin_lib_id_given, bfin_cpu_type, | |
14165 | bfin_si_revision, bfin_workarounds): Remove. | |
14166 | (bfin_cpus): Make static const. | |
14167 | (bfin_load_pic_reg): Check global_options_set.x_bfin_library_id | |
14168 | not bfin_lib_id_given. | |
14169 | (bfin_handle_option): Don't set bfin_lib_id_given. Access | |
14170 | bfin_cpu_type, bfin_si_revision and bfin_workarounds via opts | |
c78dd519 | 14171 | pointer. Use error_at. Don't assert that global structures are in use. |
bbd399cf JM |
14172 | * config/bfin/bfin.h: Include bfin-opts.h. |
14173 | (enum bfin_cpu_type, bfin_cpu_t): Move to bfin-opts.h. | |
14174 | (bfin_cpu_type, bfin_si_revision, bfin_workarounds): Remove. | |
14175 | * bfin.opt (config/bfin/bfin-opts.h): New HeaderInclude entry. | |
14176 | (bfin_cpu_type, bfin_si_revision, bfin_workarounds): New Variable | |
14177 | entries. | |
14178 | ||
5e1b4d5a JM |
14179 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14180 | ||
14181 | * config/arm/arm.opt (mhard-float, msoft-float): Use Alias. | |
14182 | * config/arm/arm.c (arm_handle_option): Don't handle -mhard-float | |
14183 | or -msoft-float here. | |
14184 | * config/arm/arm.h (CPP_SPEC): Handle -mfloat-abi=*, not | |
14185 | -msoft-float and -mhard-float. | |
c78dd519 | 14186 | (OPTION_DEFAULT_SPECS): Don't handle -mhard-float and -msoft-float. |
5e1b4d5a JM |
14187 | * config/arm/coff.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not |
14188 | msoft-float. | |
14189 | * config/arm/elf.h (ASM_SPEC): Don't handle -mhard-float and | |
14190 | -msoft-float. | |
14191 | (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not msoft-float. | |
14192 | * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Use mfloat-abi=hard, | |
14193 | not mhard-float. | |
14194 | (LIBGCC_SPEC): Don't handle -msoft-float. | |
14195 | * config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Don't handle | |
14196 | -mhard-float. | |
14197 | * config/arm/pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not | |
14198 | msoft-float. | |
14199 | * config/arm/rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Handle | |
14200 | -mfloat-abi=*, not -msoft-float and -mhard-float. | |
14201 | * config/arm/semi.h((ASM_SPEC): Don't handle -mhard-float and | |
14202 | -msoft-float. | |
14203 | * config/arm/t-arm-elf (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): | |
14204 | Use mfloat-abi=hard and mfloat-abi=soft in comments, not | |
14205 | mhard-float and msoft-float. | |
14206 | * config/arm/t-linux (MULTILIB_OPTIONS): Use mfloat-abi=hard and | |
14207 | mfloat-abi=soft in comments, not mhard-float and msoft-float. | |
14208 | * config/arm/t-rtems (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use | |
14209 | mfloat-abi=soft and mfloat-abi=hard, not msoft-float and | |
14210 | mhard-float. | |
14211 | * config/arm/t-strongarm-elf (MULTILIB_OPTIONS): Use | |
14212 | mfloat-abi=hard and mfloat-abi=soft, not mhard-float and | |
14213 | msoft-float. | |
14214 | * config/arm/t-wince-pe (MULTILIB_OPTIONS): Use mfloat-abi=hard, | |
14215 | not mhard-float. | |
14216 | * config/arm/wince-pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, | |
14217 | not msoft-float. | |
14218 | ||
800d1de1 RH |
14219 | 2011-03-22 Richard Henderson <rth@redhat.com> |
14220 | ||
14221 | * config/alpha/alpha.c (alpha_expand_prologue): Don't test | |
14222 | TARGET_ABI_WINDOWS_NT. | |
14223 | (alpha_output_function_end_prologue): Likewise. | |
14224 | * config/alpha/alpha.h (TARGET_ABI_OSF): Likewise. | |
14225 | (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
14226 | * config/alpha/alpha.md (call, call_value, tablejump): Likewise. | |
14227 | (trap, *movsi_nt_vms): Likewise. | |
14228 | (call_nt, call_value_nt, *call_nt_1, *call_value_nt_1): Remove. | |
14229 | (*tablejump_osf_nt_internal): Remove. | |
14230 | * config/alpha/predicates.md (input_operand): Only test Pmode. | |
14231 | ||
c59ddd2b JM |
14232 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14233 | ||
14234 | * config/alpha/alpha.c (alpha_handle_option): Access target_flags | |
14235 | via opts pointer. Use error_at. Don't assert that global | |
14236 | structures are in use. | |
14237 | ||
1333f97f JM |
14238 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14239 | ||
14240 | * config/i386/i386.c (ix86_isa_flags_explicit): Remove. | |
14241 | (ix86_handle_option): Access ix86_isa_flags and | |
14242 | ix86_isa_flags_explicit via opts pointer. Don't assert that | |
14243 | global structures are in use. | |
14244 | (ix86_function_specific_save, ix86_function_specific_restore): | |
14245 | Update ix86_isa_flags_explicit field name. | |
c78dd519 | 14246 | * config/i386/i386.opt (ix86_isa_flags_explicit): New Variable entry. |
1333f97f JM |
14247 | (ix86_isa_flags_explicit): Rename TargetSave entry to |
14248 | x_ix86_isa_flags_explicit. | |
14249 | ||
75db85d8 RH |
14250 | 2011-03-22 Richard Henderson <rth@redhat.com> |
14251 | ||
14252 | * config/alpha/alpha.c (NUM_ARGS): Don't test TARGET_ABI_UNICOSMK. | |
14253 | (alpha_option_override, direct_return): Likewise. | |
14254 | (alpha_arg_partial_bytes, alpha_setup_incoming_varargs): Likewise. | |
14255 | (alpha_va_start, alpha_gimplify_va_arg, alpha_sa_mask): Likewise. | |
14256 | (alpha_sa_size, compute_frame_size, alpha_expand_prologue): Likewise. | |
14257 | (alpha_start_function, alpha_output_function_end_prologue): Likewise. | |
14258 | (alpha_expand_epilogue, alpha_end_function): Likewise. | |
14259 | (alpha_init_libfuncs): Likewise. | |
14260 | (struct machine_function): Remove unicosmk members. | |
14261 | (print_operand) ['t']: Remove. | |
14262 | (unicosmk_must_pass_in_stack, unicosmk_initial_elimination_offset, | |
14263 | unicosmk_output_module_name, unicosmk_output_common, | |
14264 | current_section_align, unicosmk_output_text_section_asm_op, | |
14265 | unicosmk_output_data_section_asm_op, unicosmk_init_sections, | |
14266 | unicosmk_section_type_flags, unicosmk_unique_section, | |
14267 | unicosmk_asm_named_section, unicosmk_insert_attributes, | |
14268 | unicosmk_output_align, unicosmk_defer_case_vector, | |
14269 | unicosmk_output_addr_vec, unicosmk_output_deferred_case_vectors, | |
14270 | SSIB_PREFIX, SSIB_PREFIX_LEN, unicosmk_ssib_name, unicosmk_gen_dsib, | |
14271 | unicosmk_output_ssib, unicosmk_add_call_info_word, | |
14272 | unicosmk_extern_head, unicosmk_output_default_externs, | |
14273 | unicosmk_output_externs, unicosmk_add_extern, unicosmk_dex_list, | |
14274 | unicosmk_dex_count, unicosmk_special_name, unicosmk_need_dex, | |
14275 | unicosmk_output_dex, unicosmk_file_start, unicosmk_file_end): Remove. | |
14276 | * config/alpha/alpha-protos.h: Update. | |
14277 | * config/alpha/alpha.h (TARGET_ABI_OSF): Don't test TARGET_ABI_UNICOSMK. | |
14278 | * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM): Remove. | |
14279 | (UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): Remove. | |
14280 | (mulsi3): Don't test TARGET_ABI_UNICOSMK. | |
14281 | (*mulsi_se, mulvsi3): Likewise. | |
14282 | (divsi3, udivsi3, modsi3, umodsi3, divdi3, udivdi3): Likewise. | |
14283 | (*divmodsi_internal, call, call_value, realign): Likewise. | |
14284 | (moddi3, umoddi3): Likewise; remove duplicate expander. | |
14285 | (moddi3_umk, umoddi3_umk, call_umk, call_value_umk): Remove. | |
14286 | (*call_umk_1, *movsi, umk_laum, umk_lalm, *umk_load_ciw): Remove. | |
14287 | (*movdi_nofix): Remove r/U alternative. | |
14288 | (umk_mismatch_args, arg_home_umk, *call_value_umk): Remove. | |
14289 | * config/alpha/constraints.md ("U"): Remove. | |
14290 | * config/alpha/predicates.md (call_operand"): Don't test | |
14291 | TARGET_ABI_UNICOSMK. | |
14292 | ||
96e45421 JM |
14293 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14294 | ||
14295 | * target.def (handle_option): Take gcc_options and | |
14296 | cl_decoded_option pointers and location_t. | |
14297 | * doc/tm.texi.in (TARGET_HANDLE_OPTION): Update documentation. | |
14298 | * doc/tm.texi: Regenerate. | |
14299 | * hooks.c (hook_bool_size_t_constcharptr_int_true): Remove. | |
14300 | * hooks.h (hook_bool_size_t_constcharptr_int_true): Don't declare. | |
14301 | * lto-opts.c (lto_reissue_options): Generate option structure for | |
14302 | targetm.handle_option call. | |
14303 | * opts.c (target_handle_option): Update call to | |
14304 | targetm.handle_option. Remove assertions about values now passed | |
14305 | down to hook. | |
14306 | * targhooks.c (default_target_handle_option): New. | |
14307 | * targhooks.h (default_target_handle_option): Declare. | |
14308 | * config/alpha/alpha.c: Include opts.h. | |
14309 | (alpha_handle_option): Update to new hook interface. | |
14310 | * config/arm/arm.c: Include opts.h. | |
14311 | (arm_handle_option): Update to new hook interface. | |
14312 | * config/arm/t-arm (arm.o): Update dependencies. | |
14313 | * config/bfin/bfin.c: Include opts.h. | |
14314 | (bfin_handle_option): Update to new hook interface. | |
14315 | * config/cris/cris.c: Include opts.h. | |
14316 | (cris_handle_option): Update to new hook interface. | |
14317 | * config/frv/frv.c: Include opts.h. | |
14318 | (frv_handle_option): Update to new hook interface. | |
14319 | * config/i386/i386.c: Include opts.h. | |
14320 | (ix86_handle_option): Update to new hook interface. | |
14321 | (ix86_valid_target_attribute_inner_p): Generate option structure | |
14322 | for call to ix86_handle_option. | |
14323 | * config/i386/t-i386 (i386.o): Update dependencies. | |
14324 | * config/ia64/ia64.c: Include opts.h. | |
14325 | (ia64_handle_option): Update to new hook interface. | |
14326 | * config/ia64/t-ia64 (ia64.o): Update dependencies. | |
14327 | * config/iq2000/iq2000.c: Include opts.h. | |
14328 | (iq2000_handle_option): Update to new hook interface. | |
14329 | * config/m32c/m32c.c: Include opts.h. | |
14330 | (m32c_handle_option): Update to new hook interface. | |
14331 | * config/m32r/m32r.c: Include opts.h. | |
14332 | (m32r_handle_option): Update to new hook interface. | |
14333 | * config/m68k/m68k.c: Include opts.h. | |
14334 | (m68k_handle_option): Update to new hook interface. | |
14335 | * config/mep/mep.c: Include opts.h. | |
14336 | (mep_handle_option): Update to new hook interface. | |
14337 | * config/microblaze/microblaze.c: Include opts.h. | |
14338 | (microblaze_handle_option): Update to new hook interface. | |
14339 | * config/mips/mips.c: Include opts.h. | |
14340 | (mips_handle_option): Update to new hook interface. | |
14341 | * config/mn10300/mn10300.c: Include opts.h. | |
14342 | (mn10300_handle_option): Update to new hook interface. | |
14343 | * config/pa/pa.c: Include opts.h. | |
14344 | (pa_handle_option): Update to new hook interface. | |
14345 | * config/pdp11/pdp11.c: Include opts.h. | |
14346 | (pdp11_handle_option): Update to new hook interface. | |
14347 | * config/rs6000/rs6000.c: Include opts.h. | |
14348 | (rs6000_handle_option): Update to new hook interface. | |
14349 | * config/rs6000/t-rs6000 (rs6000.o): Update dependencies. | |
14350 | * config/rx/rx.c: Include opts.h. | |
14351 | (rx_handle_option): Update to new hook interface. | |
14352 | * config/s390/s390.c: Include opts.h. | |
14353 | (s390_handle_option): Update to new hook interface. | |
14354 | * config/score/score.c: Include opts.h. | |
14355 | (score_handle_option): Update to new hook interface. | |
14356 | * config/sh/sh.c: Include opts.h. | |
14357 | (sh_handle_option): Update to new hook interface. | |
14358 | * config/sparc/sparc.c: Include opts.h. | |
14359 | (sparc_handle_option): Update to new hook interface. | |
14360 | * config/v850/v850.c: Include opts.h. | |
14361 | (v850_handle_option): Update to new hook interface. | |
14362 | ||
66017846 JM |
14363 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14364 | ||
14365 | * gcc.c (driver_unknown_option_callback): Only permit and save | |
14366 | unknown -Wno- options. | |
14367 | (driver_wrong_lang_callback): Save options directly instead of via | |
14368 | driver_unknown_option_callback. | |
14369 | ||
e8b97ccd EB |
14370 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
14371 | ||
14372 | * combine.c (simplify_set): Try harder to find the best CC mode when | |
14373 | simplifying a nested COMPARE on the RHS. | |
14374 | ||
ebb9f8b0 JM |
14375 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
14376 | ||
14377 | * config/alpha/gnu.h: Remove. | |
14378 | * config/arc: Remove directory. | |
14379 | * config/arm/netbsd.h: Remove. | |
14380 | * config/arm/t-pe: Remove. | |
14381 | * config/crx: Remove directory. | |
14382 | * config/i386/netbsd.h: Remove. | |
14383 | * config/m68hc11: Remove directory. | |
14384 | * config/m68k/uclinux-oldabi.h: Remove. | |
14385 | * config/mcore/mcore-pe.h: Remove. | |
14386 | * config/mcore/t-mcore-pe: Remove. | |
14387 | * config/netbsd-aout.h: Remove. | |
14388 | * config/rs6000/gnu.h: Remove. | |
14389 | * config/sh/sh-symbian.h: Remove. | |
14390 | * config/sh/symbian-base.c: Remove. | |
14391 | * config/sh/symbian-c.c: Remove. | |
14392 | * config/sh/symbian-cxx.c: Remove. | |
14393 | * config/sh/symbian-post.h: Remove. | |
14394 | * config/sh/symbian-pre.h: Remove. | |
14395 | * config/sh/t-symbian: Remove. | |
14396 | * config/svr3.h: Remove. | |
14397 | * config/vax/netbsd.h: Remove. | |
14398 | * config.build: Don't handle i[34567]86-*-pe. | |
14399 | * config.gcc: Remove handling of deprecations for most deprecated | |
14400 | targets. | |
14401 | (m68k-*-uclinuxoldabi*): Add to second deprecated list. | |
14402 | (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*, arm-*-pe*, crx-*-elf, | |
14403 | i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*|m6811-*-*, | |
14404 | m68hc12-*-*|m6812-*-*, m68k-*-uclinuxoldabi*, mcore-*-pe*, | |
14405 | powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*, | |
14406 | sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*): | |
14407 | Remove cases. | |
14408 | * config.host: Don't handle i[34567]86-*-pe. | |
14409 | * config/rs6000/linux64.h (LINK_OS_GNU_SPEC): Remove. | |
14410 | (ASM_SPEC32): Don't handle -mcall-gnu. | |
14411 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't handle | |
14412 | -mcall-gnu. | |
14413 | (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, CPP_SPEC, | |
14414 | STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): Don't handle -mcall-gnu. | |
14415 | (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, | |
14416 | LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): Remove. | |
14417 | (SUBTARGET_EXTRA_SPECS): Remove *_gnu specs. | |
14418 | * config/sh/sh-protos.h, config/sh/sh.c: Remove all code | |
14419 | conditional on SYMBIAN. | |
14420 | * configure.ac: Don't handle powerpc*-*-gnu*. | |
14421 | * configure: Regenerate. | |
14422 | * doc/extend.texi (interrupt attribute): Don't mention CRX. | |
14423 | * doc/install-old.texi (m6811, m6812): Don't mention. | |
14424 | * doc/install.texi (arc-*-elf*): Don't document multilib option. | |
14425 | (arc-*-elf, CRX, m6811-elf, m6812-elf): Remove. | |
14426 | (m68k-uclinuxoldabi): Don't mention. | |
14427 | * doc/invoke.texi (ARC Options, CRX Options, M68hc1x Options): | |
14428 | Remove. | |
14429 | (-mcall-gnu): Remove. | |
14430 | * doc/md.texi (CRX Architecture, Motorola 68HC11 & 68HC12 | |
14431 | families): Remove constraint documentation. | |
14432 | ||
999a7d80 MS |
14433 | 2011-03-22 Marius Strobl <marius@FreeBSD.org> |
14434 | ||
14435 | * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Replace with... | |
14436 | (FBSD_TARGET_CPU_CPP_BUILTINS): ...this. | |
14437 | (TARGET_GNU_TLS, TARGET_SUN_TLS): Define. | |
14438 | ||
45540bcf MM |
14439 | 2011-03-21 Michael Meissner <meissner@linux.vnet.ibm.com> |
14440 | ||
14441 | PR target/48226 | |
14442 | * config/rs6000/rs6000-c.c (rs6000_macro_to_expand): If we see a | |
14443 | vector when peeking at the next token for vector, don't expand the | |
14444 | keywords. | |
14445 | ||
980a0ff4 GJL |
14446 | 2011-03-21 Georg-Johann Lay <avr@gjlay.de> |
14447 | ||
14448 | * config/avr/avr-protos.h (expand_epilogue): Change prototype | |
14449 | * config/avr/avr.h (struct machine_function): Add field sibcall_fails. | |
14450 | * config/avr/avr.c (init_cumulative_args) | |
14451 | (avr_function_arg_advance): Use it. | |
14452 | * config/avr/avr.c (expand_epilogue): Add bool parameter. Handle | |
14453 | sibcall epilogues. | |
14454 | (TARGET_FUNCTION_OK_FOR_SIBCALL): Define to... | |
14455 | (avr_function_ok_for_sibcall): ...this new function. | |
14456 | (avr_lookup_function_attribute1): New static Function. | |
14457 | (avr_naked_function_p, interrupt_function_p) | |
14458 | (signal_function_p, avr_OS_task_function_p) | |
14459 | (avr_OS_main_function_p): Use it. | |
14460 | * config/avr/avr.md ("sibcall", "sibcall_value") | |
14461 | ("sibcall_epilogue"): New expander. | |
14462 | ("*call_insn", "*call_value_insn"): New insn. | |
14463 | ("call_insn", "call_value_insn"): Remove | |
14464 | ("call", "call_value", "epilogue"): Change expander to handle | |
14465 | sibling calls. | |
14466 | ||
49168734 NC |
14467 | 2011-03-21 Nick Clifton <nickc@redhat.com> |
14468 | ||
14469 | * doc/invoke.texi (Overall Options): Move closing brace to end of | |
14470 | options list. | |
14471 | (Optimization Options): Add missing @gol. | |
14472 | (Directory Options): Likewise. | |
14473 | (i386 and x86-64 Options): Likewise. | |
14474 | (RS6000 and PowerPC Options): Likewise. | |
14475 | (i386 and x86-64 Windows Options): Likewise. | |
14476 | (V850 Options): Add text missing from descriptions. | |
14477 | ||
bdfe906f RH |
14478 | 2011-03-22 Richard Henderson <rth@redhat.com> |
14479 | ||
14480 | * config/avr/avr.c (TARGET_EXCEPT_UNWIND_INFO): New. | |
14481 | (avr_incoming_return_addr_rtx): New. | |
14482 | (emit_push_byte): New. | |
14483 | (expand_prologue): Use it. Remove incorrect dwarf annotation for | |
14484 | SREG, RAMPZ, zero register. Push frame pointer by bytes. Add dwarf | |
14485 | annotation for __prologue_saves__. Fixup dwarf annotation for CFA. | |
14486 | (emit_pop_byte): New. | |
14487 | (expand_epilogue): Use it. Pop frame pointer by bytes. | |
14488 | * config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Remove. | |
14489 | (INCOMING_RETURN_ADDR_RTX): New. | |
14490 | (INCOMING_FRAME_SP_OFFSET): New. | |
14491 | (ARG_POINTER_CFA_OFFSET): New. | |
14492 | * config/avr/avr.md (*pushqi): Fix mode of auto-inc. | |
14493 | (*pushhi, *pushsi, *pushsf, popqi): Likewise. | |
14494 | (pophi): Remove. | |
14495 | ||
d090a5aa RH |
14496 | * dwarf2out.c (dwarf2out_frame_debug_expr) [rule 11]: Handle post_dec. |
14497 | ||
fdf3e18a NF |
14498 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
14499 | ||
14500 | * system.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Poison. | |
14501 | (FUNCTION_ARG_ADVANCE): Likewise. | |
14502 | * tm.texi.in: Change references to them to hook references. | |
14503 | * tm.texi: Regenerate. | |
14504 | * targhooks.c (default_function_arg): Eliminate check for target | |
14505 | macro. | |
14506 | (default_function_incoming_arg): Likewise. | |
14507 | (default_function_arg_advance): Likewise. | |
c78dd519 | 14508 | * target.def (function_arg, function_incoming_arg): Change to DEFHOOK. |
fdf3e18a NF |
14509 | (function_arg_advance): Likewise. |
14510 | * target-def.h: Eliminate FUNCTION_INCOMING_ARG check. | |
14511 | ||
009d3fcf NF |
14512 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
14513 | ||
14514 | * tree.c (build_call_1): New function. | |
14515 | (build_call_valist, build_call_array_loc, build_call_vec): Call it. | |
14516 | ||
7bec30e1 RG |
14517 | 2011-03-22 Richard Guenther <rguenther@suse.de> |
14518 | ||
14519 | PR tree-optimization/48228 | |
14520 | * tree-vrp.c (vrp_visit_phi_node): Do not stop propagating | |
14521 | for single-arg PHIs. | |
14522 | ||
0b7e851b AB |
14523 | 2011-03-22 Andrey Belevantsev <abel@ispras.ru> |
14524 | ||
14525 | PR rtl-optimization/48143 | |
14526 | * config/i386/sse.md (*sse2_cvtpd2dq): Add athlon_decode attribute. | |
14527 | (*sse2_cvttpd2dq, sse2_cvtss2sd, *sse2_cvtpd2ps, | |
14528 | sse2_cvtps2pd): Likewise. | |
14529 | ||
d89afca5 AK |
14530 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
14531 | ||
14532 | * recog.c (canonicalize_change_group): Use validate_unshare_change. | |
14533 | ||
f471fe72 RG |
14534 | 2011-03-22 Richard Guenther <rguenther@suse.de> |
14535 | ||
14536 | * gimple.c (gimple_rhs_class_table): POLYNOMIAL_CHREC is not | |
14537 | a valid RHS. Make DOT_PROD_EXPR and REALIGN_LOAD_EXPR ternary. | |
14538 | * tree-cfg.c (verify_gimple_assign_ternary): Allow DOT_PROD_EXPR | |
14539 | and REALIGN_LOAD_EXPR. | |
14540 | (verify_gimple_assign_single): Do not allow POLYNOMIAL_CHREC, | |
14541 | DOT_PROD_EXPR or REALIGN_LOAD_EXPR. | |
14542 | * expr.c (expand_expr_real_1): Move REALIGN_LOAD_EXPR and | |
14543 | DOT_PROD_EXPR case ... | |
14544 | (expand_expr_real_2): ... here. | |
14545 | * gimple-pretty-print.c (dump_ternary_rhs): Handle DOT_PROD_EXPR | |
14546 | and REALIGN_LOAD_EXPR. | |
14547 | * tree-data-ref.c (split_constant_offset): Bail out for all CHRECs. | |
14548 | * tree-vect-loop.c (vect_model_reduction_cost): Handle ternaries. | |
14549 | (vect_create_epilog_for_reduction): Likewise. | |
14550 | (vectorizable_reduction): Likewise. | |
14551 | * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Adjust. | |
14552 | * tree-vect-stmts.c (vectorizable_load): Likewise. | |
14553 | ||
f2f81d57 EB |
14554 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
14555 | ||
14556 | * gimplify.c (gimplify_cond_expr): Gimplify COMPOUND_EXPR conditions. | |
14557 | ||
ab081dd6 AK |
14558 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
14559 | ||
14560 | * config/s390/s390.c (s390_delegitimize_address): Fix offset | |
14561 | handling for PLTOFF/GOTOFF. | |
14562 | ||
6fd5332b NC |
14563 | 2011-03-22 Nick Clifton <nickc@redhat.com> |
14564 | ||
14565 | * config/i386/cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Remove | |
14566 | trailing backslash from the end of the macro definition. | |
14567 | ||
01841ac0 AK |
14568 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
14569 | ||
14570 | * config/s390/s390.c (s390_delegitimize_address): Handle PLTOFF | |
14571 | and PLT unspecs. | |
14572 | ||
2ef6ce06 RS |
14573 | 2011-03-21 Richard Sandiford <richard.sandiford@linaro.org> |
14574 | ||
14575 | * expr.h (prepare_operand): Move to... | |
14576 | * optabs.h (prepare_operand): ...here and change the insn code | |
14577 | parameter from "int" to "enum insn_code". | |
14578 | (insn_operand_matches): Declare. | |
14579 | * expr.c (init_expr_target): Use insn_operand_matches. | |
14580 | (compress_float_constant): Likewise. | |
14581 | * function.c (safe_insn_predicate, assign_parm_setup_reg): Likewise. | |
14582 | * optabs.c (can_compare_p, prepare_cmp_insn): Likewise. | |
14583 | (emit_cmp_and_jump_insn_1, gen_add2_insn, gen_add3_insn): Likewise. | |
c78dd519 UB |
14584 | (have_add2_insn, gen_sub2_insn, gen_sub3_insn, have_sub2_insn): |
14585 | Likewise. | |
2ef6ce06 RS |
14586 | (gen_cond_trap): Likewise. |
14587 | (prepare_operand): Likewise. Change icode to an insn_code. | |
14588 | (insn_operand_matches): New function. | |
14589 | * reload.c (find_reloads_address_1): Use insn_operand_matches. | |
14590 | * reload1.c (gen_reload): Likewise. | |
14591 | * targhooks.c (default_secondary_reload): Likewise. | |
14592 | ||
9e43ad68 UB |
14593 | 2011-03-21 Uros Bizjak <ubizjak@gmail.com> |
14594 | ||
9a96da32 UB |
14595 | * config/alpha/alpha.md (unspec): New define_c_enum. |
14596 | (unspecv): Ditto. | |
14597 | ||
14598 | 2011-03-21 Uros Bizjak <ubizjak@gmail.com> | |
14599 | ||
14600 | PR debug/48214 | |
9e43ad68 UB |
14601 | * config/alpha/alpha.c (alpha_pad_noreturn): Do not emit an unop |
14602 | between a call and its CALL_ARG_LOCATION note. | |
14603 | ||
31408f60 EB |
14604 | 2011-03-21 Eric Botcazou <ebotcazou@adacore.com> |
14605 | ||
14606 | * gimplify.c (gimplify_vla_decl): Set TREE_THIS_NOTRAP flag. | |
14607 | ||
14608 | 2011-03-21 Jakub Jelinek <jakub@redhat.com> | |
126e6609 JJ |
14609 | |
14610 | PR c/42544 | |
14611 | PR c/48197 | |
14612 | * c-common.c (shorten_compare): If primopN is first sign-extended | |
14613 | to opN and then zero-extended to result type, set primopN to opN. | |
14614 | ||
9dfd55f5 DJ |
14615 | 2011-03-21 Daniel Jacobowitz <dan@codesourcery.com> |
14616 | ||
14617 | * config/arm/unwind-arm.c (__gnu_unwind_pr_common): Correct test | |
14618 | for barrier handlers. | |
14619 | ||
f3c33d9d MM |
14620 | 2011-03-21 Michael Meissner <meissner@linux.vnet.ibm.com> |
14621 | ||
14622 | * config/rs6000/rs6000.md (UNSPEC_*, UNSPECV_*): Redefine all | |
14623 | UNSPEC constants to be in the unspec enumeration, and redefine | |
14624 | all UNSPECV constants to be in the unspecv enumeration, so that | |
14625 | dumps print which unspec/unspec_volatile this is. | |
14626 | * config/rs6000/vector.md (UNSPEC_*): Ditto. | |
14627 | * config/rs6000/paired.md (UNSPEC_*): Ditto. | |
14628 | * config/rs6000/vsx.md (UNSPEC_*): Ditto. | |
14629 | * config/rs6000/altivec.md (UNSPEC_*, UNSPECV_*): Ditto. | |
14630 | * config/rs6000/dfp.md (UNSPEC_*): Ditto. | |
14631 | ||
14632 | * config/rs6000/rs6000.md (UNSPECV_ISYNC, UNSPECV_LWSYNC): Rename | |
14633 | UNSPEC_ISYNC and UNSPEC_HWSYNC to UNSPECV_ISYNC and | |
14634 | UNSPECV_LWSYNC, since these are used as unspec_volatile. | |
14635 | * config/rs6000/sync.md (isync, lwsync): Ditto. | |
14636 | ||
ac43f774 RG |
14637 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
14638 | ||
14639 | * params.def (lto-min-partition): Fix typo. | |
14640 | ||
411cdbd8 RG |
14641 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
14642 | ||
14643 | PR c/47939 | |
14644 | * c-decl.c (grokdeclarator): Drop to the main variant only | |
14645 | for array types. Drop flag_gen_aux_info check. | |
14646 | ||
1cd9e416 RG |
14647 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
14648 | ||
14649 | PR translation/47911 | |
14650 | * params.def (lto-partitions): Fix typo. | |
14651 | (lto-min-partition): Fix wording. | |
14652 | ||
ada5ad67 AT |
14653 | 2011-03-21 Andreas Tobler <andreast@fgznet.ch> |
14654 | ||
14655 | * config/rs6000/t-freebsd: Remove duplication from file. | |
14656 | ||
f9613c9a RG |
14657 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
14658 | ||
14659 | PR middle-end/47661 | |
14660 | * gimple.c (is_gimple_condexpr): Use tree_could_throw_p. | |
14661 | ||
9bfbc1eb RG |
14662 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
14663 | ||
14664 | PR lto/48210 | |
14665 | * params.def (lto-partitions): Require at least 1 partition. | |
14666 | ||
a2268084 RO |
14667 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14668 | ||
14669 | * gthr-solaris.h: Remove. | |
14670 | * gthr.h (_SOLARIS_THREADS): Don't include gthr-solaris.h, remove. | |
14671 | * config/sol2.h (CPP_SUBTARGET_SPEC): Remove -threads support. | |
14672 | (LIB_SPEC): Likewise. | |
14673 | * config/sol2.opt (threads): Remove. | |
9e43ad68 | 14674 | * config.gcc (i[34567]86-*-solaris2*): Remove solaris threads support. |
a2268084 RO |
14675 | (sparc*-*-solaris2*): Likewise. |
14676 | * configure.ac (enable_threads): Enable solaris support. | |
14677 | * configure: Regenerate. | |
9e43ad68 | 14678 | * doc/invoke.texi (Option Summary, Solaris 2 Options): Remove -threads. |
a2268084 RO |
14679 | * doc/install.texi (Configuration, --enable-threads=lib): Remove |
14680 | solaris. | |
14681 | ||
c43d9a1b RO |
14682 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14683 | ||
14684 | * config.gcc: Obsolete *-*-solaris2.8*. | |
14685 | * doc/install.texi (Specific, *-*-solaris2*): Document it. | |
14686 | ||
084239f4 RO |
14687 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14688 | ||
14689 | PR bootstrap/48135 | |
14690 | * doc/install.texi (Prerequisites, Perl): Remove Glob.pm | |
14691 | reference. Solaris 8 perl works. | |
14692 | ||
64cadbe7 RO |
14693 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14694 | ||
14695 | PR bootstrap/48135 | |
14696 | * doc/install.texi (Prerequisites): Move jar etc. up. | |
14697 | Explain support library version requirements. | |
14698 | ||
eb975109 RO |
14699 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14700 | ||
14701 | PR bootstrap/48135 | |
14702 | * doc/install.texi (Prerequisites): Move Perl to build | |
14703 | requirements. Always necessary on Solaris 2 with Sun ld. | |
14704 | ||
8a509ffd RO |
14705 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14706 | ||
14707 | * doc/install.texi (Specific, alpha*-dec-osf5.1): Update for | |
14708 | binutils 2.21. | |
14709 | (Specific, i?86-*-solaris2.[89]): Likewise. | |
14710 | (Specific, i?86-*-solaris2.10): Likewise. | |
14711 | (Specific, mips-sgi-irix6): Likewise. | |
14712 | (Specific, *-*-solaris2*): Remove Sun Studio download URL. | |
14713 | Update for binutils 2.21. | |
14714 | ||
8fbc58a1 RO |
14715 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14716 | ||
14717 | * configure.ac (gcc_cv_lto_plugin): Fix typo. | |
14718 | Allow -fuse-linker-plugin for non-default plugin linker. | |
14719 | * configure: Regenerate. | |
14720 | ||
7e84ad0b NP |
14721 | 2011-03-21 Nicola Pero <nicola.pero@meta-innovation.com> |
14722 | ||
14723 | PR bootstrap/48167 | |
14724 | * gengtype.c (files_rules): Added rule for cp/parser.h. | |
14725 | ||
2f36e14b JJ |
14726 | 2011-03-21 Jakub Jelinek <jakub@redhat.com> |
14727 | ||
14728 | PR target/48213 | |
14729 | * config/s390/s390.c (s390_delegitimize_address): Don't call | |
14730 | lowpart_subreg if orig_x has BLKmode. | |
14731 | ||
62d784f7 KT |
14732 | 2011-03-21 Kai Tietz <ktietz@redhat.com> |
14733 | ||
14734 | PR target/12171 | |
9e43ad68 UB |
14735 | * doc/plugins.texi: Adjust documentation for plugin register_callback. |
14736 | * tree.h (attribute_spec): Add new member affects_type_identity. | |
14737 | * attribs.c (empty_attribute_table): Adjust attribute_spec | |
14738 | initializers. | |
62d784f7 KT |
14739 | * config/alpha/alpha.c: Likewise. |
14740 | * config/arc/arc.c: Likewise. | |
14741 | * config/arm/arm.c: Likewise. | |
14742 | * config/avr/avr.c: Likewise. | |
14743 | * config/bfin/bfin.c: Likewise. | |
14744 | * config/crx/crx.c: Likewise. | |
14745 | * config/darwin.h: Likewise. | |
14746 | * config/h8300/h8300.c: Likewise. | |
14747 | * config/i386/cygming.h: Likewise. | |
14748 | * config/i386/i386.c: Likewise. | |
14749 | * config/ia64/ia64.c: Likewise. | |
14750 | * config/m32c/m32c.c: Likewise. | |
14751 | * config/m32r/m32r.c: Likewise. | |
14752 | * config/m68hc11/m68hc11.c: Likewise. | |
14753 | * config/m68k/m68k.c: Likewise. | |
14754 | * config/mcore/mcore.c: Likewise. | |
14755 | * config/mep/mep.c: Likewise. | |
14756 | * config/microblaze/microblaze.c: Likewise. | |
14757 | * config/mips/mips.c: Likewise. | |
14758 | * config/rs6000/rs6000.c: Likewise. | |
14759 | * config/rx/rx.c: Likewise. | |
14760 | * config/sh/sh.c: Likewise. | |
14761 | * config/sol2.h: Likewise. | |
14762 | * config/sparc/sparc.c: Likewise. | |
14763 | * config/spu/spu.c: Likewise. | |
14764 | * config/stormy16/stormy16.c: Likewise. | |
14765 | * config/v850/v850.c: Likewise. | |
14766 | ||
54833ec0 CLT |
14767 | 2011-03-21 Chung-Lin Tang <cltang@codesourcery.com> |
14768 | ||
14769 | * simplify-rtx.c (simplify_binary_operation_1): Handle | |
14770 | (xor (and A B) C) case when B and C are both constants. | |
14771 | ||
14a41392 MX |
14772 | 2011-03-21 Mingjie Xing <mingjie.xing@gmail.com> |
14773 | ||
14774 | * tree-dfa.c (add_referenced_var): Fix typo in comment. | |
14775 | ||
806c3492 EB |
14776 | 2011-03-20 Eric Botcazou <ebotcazou@adacore.com> |
14777 | ||
14778 | PR bootstrap/48168 | |
14779 | * config/sparc/sparc.c (sparc_delegitimize_address): Add new pattern. | |
14780 | ||
65e0a0f3 JJ |
14781 | 2011-03-20 Jakub Jelinek <jakub@redhat.com> |
14782 | ||
14783 | PR rtl-optimization/48156 | |
14784 | * df-core.c (df_get_bb_dirty): Use df_lr if df_live is NULL, | |
14785 | assume df and df_lr are not NULL. | |
14786 | ||
b6a75dda RR |
14787 | 2011-03-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
14788 | ||
14789 | PR debug/48023 | |
14790 | * config/arm/arm.c (create_fix_barrier): Do not emit a minipool | |
14791 | between a call and its CALL_ARG_LOCATION note. | |
14792 | ||
5969b52d KK |
14793 | 2011-03-19 Kaz Kojima <kkojima@gcc.gnu.org> |
14794 | ||
14795 | PR debug/48178 | |
14796 | * config/sh/sh.c (find_barrier): Don't emit a constant pool | |
14797 | between a call and its corresponding CALL_ARG_LOCATION note. | |
14798 | ||
f773c2bd AS |
14799 | 2011-03-19 Anatoly Sokolov <aesok@post.ru> |
14800 | ||
14801 | * cfgcleanup.c (mark_effect): Use bitmap_set_range/bitmap_clear_range | |
14802 | instead of loop. Use HARD_REGISTER_NUM_P predicate. | |
14803 | * haifa-sched.c (setup_ref_regs): Ditto. | |
14804 | * caller-save.c (add_used_regs_1): Ditto. | |
14805 | * dse.c (look_for_hardregs): Ditto. | |
14806 | * df-problems.c (df_simulate_one_insn_forwards): Ditto. | |
14807 | * sched-rgn.c (check_live_1): Ditto. | |
14808 | ||
8bf872f9 JM |
14809 | 2011-03-18 Joseph Myers <joseph@codesourcery.com> |
14810 | ||
14811 | * c-decl.c (diagnose_mismatched_decls): Give an error for | |
14812 | redefining a typedef with variably modified type. | |
14813 | ||
ff8e2159 JM |
14814 | 2011-03-18 Joseph Myers <joseph@codesourcery.com> |
14815 | ||
14816 | * c-decl.c (grokfield): Don't allow typedefs for structures or | |
14817 | unions with no tag by default. | |
14818 | * doc/extend.texi (Unnamed Fields): Update. | |
14819 | ||
16cc4440 UB |
14820 | 2011-03-18 Uros Bizjak <ubizjak@gmail.com> |
14821 | ||
14822 | * config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2): | |
14823 | Rewrite using indirect functions. | |
14824 | (lwp_slwpcb): Ditto. | |
14825 | * config/i386/sse.md (avx_vextractf128<mode>): Ditto. | |
14826 | (avx_vinsertf128<mode>): Ditto. | |
14827 | ||
e101e12e AK |
14828 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
14829 | ||
14830 | * config/s390/s390.c (s390_delegitimize_address): Handle GOTOFF | |
14831 | unspecs. | |
14832 | ||
4627c7fb AK |
14833 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
14834 | ||
14835 | * config/s390/s390.c (s390_chunkify_start): Prevent literal pool | |
9e43ad68 | 14836 | splitting between a call and its corresponding CALL_ARG_LOCATION note. |
4627c7fb | 14837 | |
2d36b47f MK |
14838 | 2011-03-18 Maxim Kuvyrkov <maxim@codesourcery.com> |
14839 | ||
14840 | PR rtl-optimization/48170 | |
14841 | * gcse.c (hoist_code): Remove bogus asserts. | |
14842 | ||
2a3d7659 JL |
14843 | 2011-03-18 Georg-Johann Lay <avr@gjlay.de> |
14844 | ||
14845 | * ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost | |
14846 | computation for prologue/epilogue. | |
14847 | ||
34c3ef05 RO |
14848 | 2011-03-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14849 | ||
14850 | * Makefile.in (check-consistency): Remove. | |
14851 | ||
81f2b976 JJ |
14852 | 2011-03-18 Jakub Jelinek <jakub@redhat.com> |
14853 | ||
14854 | PR debug/48176 | |
14855 | * dwarf2out.c (dwarf2out_finish): Call output_aranges even when | |
14856 | arange_table_in_use is 0, but either text_section_used or | |
14857 | cold_text_section_used is true. Don't call it if | |
14858 | !info_section_emitted. | |
14859 | ||
68fd7765 AS |
14860 | 2011-03-18 Anatoly Sokolov <aesok@post.ru> |
14861 | ||
14862 | * config/avr/avr.h (RET_REGISTER, LIBCALL_VALUE, | |
14863 | FUNCTION_VALUE_REGNO_P): Remove. | |
14864 | * config/avr/avr-protos.h (avr_ret_register, avr_libcall_value): | |
14865 | Remove. | |
14866 | * config/avr/avr.c (avr_ret_register): Make static inline. | |
14867 | (avr_function_value_regno_p): New function. | |
14868 | (avr_libcall_value): Make static. Add 'func' argument. | |
14869 | (avr_function_value): Make static. Rename 'func' argument to | |
14870 | 'fn_decl_or_type', forward it to avr_libcall_value. Call | |
14871 | avr_ret_register function instead of RET_REGISTER macro. | |
b8bc3a43 | 14872 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. |
68fd7765 | 14873 | |
b4ef8aac JM |
14874 | 2011-03-18 Jason Merrill <jason@redhat.com> |
14875 | ||
14876 | PR c++/23372 | |
14877 | * gimplify.c (gimplify_arg): Strip redundant TARGET_EXPR. | |
14878 | ||
09a52fc3 RG |
14879 | 2011-03-18 Richard Guenther <rguenther@suse.de> |
14880 | ||
14881 | * doc/install.texi (--enable-gold): Remove. | |
14882 | (--with-plugin-ld): Document. | |
14883 | * doc/invoke.texi (-fuse-linker-plugin): Clarify. | |
14884 | ||
2a3d7659 | 14885 | 2011-03-18 Andrew Pinski <pinskia@gmail.com> |
3bf162a0 AP |
14886 | |
14887 | PR middle-end/47790 | |
14888 | * expr.c (optimize_bitfield_assignment_op): Revamp to work | |
14889 | again after expansion changes. | |
14890 | ||
2abbb0fe CLT |
14891 | 2011-03-18 Chung-Lin Tang <cltang@codesourcery.com> |
14892 | ||
14893 | * combine.c (try_combine): Do simplification only call of | |
14894 | subst() on i2 even when i1 is present. Update comments. | |
14895 | ||
2efd0aa6 KK |
14896 | 2011-03-18 Kaz Kojima <kkojima@gcc.gnu.org> |
14897 | ||
14898 | * config/sh/sh.c (sh_delegitimize_address): Handle UNSPEC_SYMOFF | |
14899 | and UNSPEC_PCREL_SYMOFF. | |
14900 | ||
30a49b23 AK |
14901 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
14902 | ||
14903 | * config/s390/s390.md: Use define_c_enum for the unspec constant | |
14904 | definitions. | |
14905 | ||
419e1853 JJ |
14906 | 2011-03-18 Richard Henderson <rth@redhat.com> |
14907 | Jakub Jelinek <jakub@redhat.com> | |
14908 | ||
14909 | PR bootstrap/48161 | |
14910 | * expr.c (expand_expr_addr_expr_1): Use simplify_gen_binary | |
14911 | instead of gen_rtx_PLUS if EXPAND_SUM or EXPAND_INITIALIZER. | |
14912 | ||
37875856 L |
14913 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
14914 | ||
14915 | PR middle-end/47725 | |
14916 | * combine.c (cant_combine_insn_p): Don't check zero/sign | |
14917 | extended hard registers. | |
14918 | ||
76069764 L |
14919 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
14920 | ||
14921 | PR middle-end/47725 | |
14922 | * combine.c (cant_combine_insn_p): Check zero/sign extended | |
14923 | hard registers. | |
14924 | ||
24da2019 AS |
14925 | 2011-03-17 Anatoly Sokolov <aesok@post.ru> |
14926 | ||
14927 | * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
14928 | * config/v850/v850-protos.h (v850_output_addr_const_extra): Remove. | |
14929 | * config/v850/v850.c (v850_output_addr_const_extra): Make static. | |
14930 | Change return type to bool. | |
14931 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
14932 | ||
a82ff31f JJ |
14933 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
14934 | ||
8b29c87a JJ |
14935 | PR debug/48163 |
14936 | * var-tracking.c (prepare_call_arguments): If CALL target | |
14937 | is a non-SYMBOL_REF CONSTANT_P, just add that into the list as | |
14938 | pc instead of looking it up using cselib_lookup and use | |
14939 | Pmode for it if x has VOIDmode. | |
14940 | * dwarf2out.c (gen_subprogram_die): If also both first and | |
14941 | second CONCAT arguments are VOIDmode, use mode of CONCAT itself. | |
14942 | ||
a82ff31f JJ |
14943 | PR debug/48163 |
14944 | * function.c (assign_parms): For data.passed_pointer parms | |
14945 | use MEM of data.entry_parm instead of data.entry_parm itself | |
14946 | as DECL_INCOMING_RTL. | |
14947 | * dwarf2out.c (rtl_for_decl_location): Use DECL_INCOMING_RTL | |
14948 | also when passed and declared mode is the same, DECL_RTL | |
14949 | is a MEM with pseudo as address and DECL_INCOMING_RTL is | |
14950 | a MEM too. | |
14951 | ||
82ce305c JL |
14952 | 2011-03-16 Jeff Law <law@redhat.com> |
14953 | ||
14954 | PR rtl-optimization/37273 | |
14955 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
14956 | handle them like argument loads from stack slots. Do not double | |
14957 | count memory for memory constants and argument loads from stack slots. | |
14958 | ||
fe58e02b L |
14959 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
14960 | ||
14961 | PR debug/48160 | |
14962 | * var-tracking.c (prepare_call_arguments): Check SUBREG. | |
14963 | ||
6fc4dbc7 L |
14964 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
14965 | ||
14966 | PR target/48171 | |
14967 | * config/i386/i386.opt: Add Save to -mavx and -mfma. | |
14968 | ||
db3ed0b3 JJ |
14969 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
14970 | ||
8054a389 JJ |
14971 | PR bootstrap/48153 |
14972 | * dwarf2out.c (mem_loc_descriptor) <case ENTRY_VALUE>: Return NULL | |
14973 | if dwarf_strict. | |
14974 | (gen_subprogram_die): Don't add call_site DIEs if dwarf_strict. | |
14975 | Clear call_arg_locations and call_arg_loc_last always. | |
14976 | ||
db3ed0b3 JJ |
14977 | PR middle-end/48152 |
14978 | * var-tracking.c (prepare_call_arguments): If argument needs to be | |
14979 | passed by reference, adjust argtype and mode. | |
14980 | ||
1bce4ff3 RG |
14981 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
14982 | ||
14983 | PR middle-end/48134 | |
14984 | * tree-ssa.c (insert_debug_temp_for_var_def): If we propagated | |
14985 | a value make sure to fold the statement. | |
14986 | ||
7c71147d CLT |
14987 | 2011-03-17 Chung-Lin Tang <cltang@codesourcery.com> |
14988 | ||
14989 | PR target/43872 | |
14990 | * config/arm/arm.c (arm_get_frame_offsets): Adjust early | |
14991 | return condition with !cfun->calls_alloca. | |
14992 | ||
0e1ee172 RG |
14993 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
14994 | ||
14995 | PR bootstrap/48148 | |
14996 | * lto-cgraph.c (input_overwrite_node): Clear the abstract | |
14997 | origin for decls in other ltrans units. | |
14998 | (input_varpool_node): Likewise. | |
14999 | ||
f8bce518 RG |
15000 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
15001 | ||
15002 | PR middle-end/48165 | |
15003 | * tree-object-size.c (compute_object_offset): Properly return | |
15004 | the offset operand of MEM_REFs as sizetype. | |
15005 | ||
1b6fa860 JJ |
15006 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
15007 | ||
dabd47e7 JJ |
15008 | PR rtl-optimization/48141 |
15009 | * params.def (PARAM_MAX_DSE_ACTIVE_LOCAL_STORES): New. | |
15010 | * dse.c: Include params.h. | |
15011 | (active_local_stores_len): New variable. | |
15012 | (add_wild_read, dse_step1): Clear it when setting active_local_stores | |
15013 | to NULL. | |
15014 | (record_store, check_mem_read_rtx): Decrease it when removing | |
15015 | from the chain. | |
15016 | (scan_insn): Likewise. Increase it when adding to chain, if it | |
15017 | reaches PARAM_MAX_DSE_ACTIVE_LOCAL_STORES limit, set to 1 and | |
15018 | set active_local_stores to NULL before the addition. | |
15019 | * Makefile.in (dse.o): Depend on $(PARAMS_H). | |
15020 | ||
1b6fa860 JJ |
15021 | PR rtl-optimization/48141 |
15022 | * dse.c (record_store): If no positions are needed in an insn | |
15023 | that cannot be deleted, at least unchain it from active_local_stores. | |
15024 | ||
7b5cb7d6 DS |
15025 | 2011-03-16 Dodji Seketeli <dodji@redhat.com> |
15026 | ||
15027 | PR debug/47510 | |
15028 | * dwarf2out.c (strip_naming_typedef): Factorize out of ... | |
15029 | (lookup_type_die_strip_naming_typedef): ... here. | |
15030 | (get_context_die): Use it. | |
15031 | (gen_typedef_die): Add a DW_AT_{,MIPS_}linkage_name attribute to | |
15032 | the anonymous struct named by the naming typedef. | |
15033 | ||
585e9d9d L |
15034 | 2011-03-16 H.J. Lu <hongjiu.lu@intel.com> |
15035 | ||
15036 | PR target/48154 | |
15037 | * config/i386/i386.c (ix86_builtin_vectorized_function): Check | |
15038 | TARGET_ROUND for BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins. | |
15039 | ||
6261ab0e JL |
15040 | 2011-03-16 Jeff Law <law@redhat.com> |
15041 | ||
15042 | * tree-vrp.c (identify_jump_threads): Slightly simplify type | |
16cc4440 | 15043 | check for operands of conditional. Allow type to be a pointer. |
6261ab0e | 15044 | |
0b0081ec RG |
15045 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
15046 | ||
15047 | PR tree-optimization/48149 | |
15048 | * fold-const.c (fold_binary_loc): Fold | |
15049 | COMPLEX_EXPR <REALPART_EXPR <x>, IMAGPART_EXPR <x>>. | |
15050 | ||
64a3d647 RG |
15051 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
15052 | ||
15053 | PR tree-optimization/26134 | |
15054 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Handle rewriting | |
15055 | complex part accesses to REALPART_EXPR and IMAGPART_EXPR. | |
15056 | (non_rewritable_mem_ref_base): Handle complex type component | |
15057 | accesses, constrain offsets for vector and complex extracts | |
15058 | more properly. | |
15059 | ||
ef13324e RG |
15060 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
15061 | ||
15062 | PR tree-optimization/48146 | |
15063 | * tree-ssa-sink.c (sink_code_in_bb): Manually update virtual | |
15064 | operands avoiding the need for renaming. | |
15065 | ||
f0eddb90 RG |
15066 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
15067 | ||
15068 | * gimple-fold.c (maybe_fold_reference): Open-code relevant | |
15069 | constant folding. Move MEM_REF canonicalization first. | |
15070 | Rely on fold_const_aggregate_ref for initializer folding. | |
15071 | * tree-ssa-ccp.c (ccp_fold): Handle constant vector extracts. | |
15072 | ||
e42348b8 JJ |
15073 | 2011-03-16 Jakub Jelinek <jakub@redhat.com> |
15074 | ||
29f10e71 JJ |
15075 | PR middle-end/48136 |
15076 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure | |
15077 | arg0/arg1 or their arguments are always fold converted to matching | |
15078 | types. | |
15079 | ||
e42348b8 JJ |
15080 | * var-tracking.c (prepare_call_arguments): Add ATTRIBUTE_UNUSED |
15081 | to nargs. | |
15082 | ||
55b46574 RO |
15083 | 2011-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
15084 | ||
15085 | PR lto/46944 | |
15086 | * configure.ac (gcc_cv_gld_major_version, gcc_cv_gld_minor): | |
15087 | Handle in-tree gold. | |
15088 | (ld_vers): Extract binutils version for gold. | |
15089 | (gcc_cv_ld_hidden): Handle gold here. | |
15090 | (gcc_cv_lto_plugin): Determine level of linker plugin support. | |
15091 | * configure: Regenerate. | |
15092 | * config.in: Regenerate. | |
15093 | * gcc.c: Only use LTO plugin if HAVE_LTO_PLUGIN > 0, reject | |
15094 | -fuse-linker-plugin otherwise. | |
15095 | (LINK_PLUGIN_SPEC): Define. Extract from LINK_COMMAND_SPEC. | |
15096 | (LINK_COMMAND_SPEC): Use it. | |
15097 | (main): Only look for LTOPLUGINSONAME if HAVE_LTO_PLUGIN > 0. | |
15098 | ||
2b1c5433 JJ |
15099 | 2011-03-16 Jakub Jelinek <jakub@redhat.com> |
15100 | ||
c2969d8e JJ |
15101 | * emit-rtl.c (try_split): Don't call copy_call_info debug hook. |
15102 | * calls.c: Remove debug.h include. | |
15103 | (emit_call_1): Don't call virtual_call_token debug hook. | |
15104 | * dwarf2out.c (debug_dcall_section, debug_vcall_section, | |
15105 | dcall_entry, vcall_entry, dcall_table, vcall_table, vcall_insn, | |
15106 | vcall_insn_table, DEBUG_DCALL_SECTION, DEBUG_VCALL_SECTION, | |
15107 | size_of_dcall_table, output_dcall_table, size_of_vcall_table, | |
15108 | output_vcall_table, dwarf2out_direct_call, vcall_insn_table_hash, | |
15109 | vcall_insn_table_eq, store_vcall_insn, lookup_vcall_insn, | |
15110 | dwarf2out_virtual_call_token, dwarf2out_copy_call_info, | |
15111 | dwarf2out_virtual_call): Remove. | |
15112 | (dwarf2_debug_hooks): Remove direct_call, virtual_call_token, | |
15113 | copy_call_info and virtual_call hooks. | |
15114 | (dwarf2out_init): Don't initialize vcall_insn_table, | |
15115 | debug_dcall_section and debug_vcall_section. | |
15116 | (prune_unused_types): Don't mark nodes from dcall_table. | |
15117 | (dwarf2out_finish): Don't output dcall or vcall tables. | |
15118 | * final.c (final_scan_insn): Don't call direct_call or | |
15119 | virtual_call debug hooks. | |
15120 | * debug.h (struct gcc_debug_hooks): Remove direct_call, | |
15121 | virtual_call_token, copy_call_info and virtual_call hooks. | |
15122 | (debug_nothing_uid): Remove prototype. | |
15123 | * sdbout.c (sdb_debug_hooks): Remove direct_call, virtual_call_token, | |
15124 | copy_call_info and virtual_call hooks. | |
15125 | * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. | |
15126 | * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Likewise. | |
15127 | * debug.c (do_nothing_debug_hooks): Likewise. | |
15128 | (debug_nothing_uid): Remove. | |
15129 | * doc/invoke.texi (-fenable-icf-debug): Remove. | |
15130 | * common.opt (-fenable-icf-debug): Likewise. | |
15131 | ||
325f5379 JJ |
15132 | * calls.c (emit_call_1): Set MEM_EXPR on call's MEM. |
15133 | * var-tracking.c (prepare_call_arguments): Use MEM_EXPR on | |
15134 | call's MEM. Handle functions returning aggregate through a hidden | |
15135 | first pointer. For virtual calls add clobbered pc to call arguments | |
15136 | chain. | |
15137 | * dwarf2out.c (gen_subprogram_die): Emit | |
15138 | DW_AT_GNU_call_site_target_clobbered if DW_AT_GNU_call_site_target | |
15139 | can't be emitted. | |
15140 | ||
a58a8e4b JJ |
15141 | PR debug/45882 |
15142 | * rtl.def (ENTRY_VALUE): Change format from "e" to "0". | |
15143 | * rtl.h (ENTRY_VALUE_EXP): Define. | |
15144 | * rtl.c (rtx_equal_p_cb, rtx_equal_p): Handle ENTRY_VALUE. | |
15145 | * cselib.c (rtx_equal_for_cselib_p, cselib_hash_rtx): Likewise. | |
15146 | * print-rtl.c (print_rtx): Likewise. | |
15147 | * gengtype.c (adjust_field_rtx_def): Likewise. | |
15148 | * var-tracking.c (vt_add_function_parameter): Adjust | |
15149 | gen_rtx_ENTRY_VALUE uses, use ENTRY_VALUE_EXP macro. | |
15150 | * dwarf2out.c (mem_loc_descriptor): Use ENTRY_VALUE_EXP macro. | |
15151 | * cfgexpand.c (expand_debug_expr): If a SSA_NAME without | |
15152 | partition is a default definition of a PARM_DECL, use ENTRY_VALUE | |
15153 | of its DECL_INCOMING_RTL if possible, or its DECL_RTL if set. | |
15154 | ||
2b1c5433 JJ |
15155 | * final.c (final_scan_insn): Handle NOTE_INSN_CALL_ARG_LOCATION. |
15156 | Call var_location debug hook even on CALL_INSNs. | |
15157 | (rest_of_clean_state): Don't print NOTE_INSN_CALL_ARG_LOCATION. | |
15158 | * rtl.def (ENTRY_VALUE): New. | |
15159 | * dwarf2out.c: Include cfglayout.h. | |
15160 | (dwarf_stack_op_name, size_of_loc_descr, output_loc_operands, | |
15161 | output_loc_operands_raw): Handle DW_OP_GNU_entry_value. | |
15162 | (struct call_arg_loc_node): New type. | |
15163 | (call_arg_locations, call_arg_loc_last, block_map, call_site_count, | |
15164 | tail_call_site_count): New variables. | |
15165 | (dwarf_tag_name): Handle DW_TAG_GNU_call_site and | |
15166 | DW_TAG_GNU_call_site_parameter. | |
15167 | (dwarf_attr_name): Handle DW_AT_GNU_call_site_value, | |
15168 | DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target, | |
15169 | DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call, | |
15170 | DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites | |
15171 | and DW_AT_GNU_all_source_call_sites. | |
15172 | (mem_loc_descriptor): Handle ENTRY_VALUE. | |
15173 | (add_src_coords_attributes): Don't add enything if | |
15174 | DECL_SOURCE_LOCATION is UNKNOWN_LOCATION. | |
15175 | (dwarf2out_abstract_function): Save and clear call_arg_location, | |
15176 | call_site_count and tail_call_site_count around dwarf2out_decl call. | |
15177 | (gen_call_site_die): New function. | |
15178 | (gen_subprogram_die): Emit DW_TAG_GNU_call_site DIEs for call sites. | |
15179 | (gen_lexical_block_die, gen_inlined_subroutine_die): Update block_map. | |
15180 | (dwarf2out_function_decl): Clear call_arg_locations, | |
15181 | call_arg_loc_last, set call_site_count and tail_call_site_count | |
15182 | to -1 and free block_map. | |
15183 | (dwarf2out_var_location): Handle NOTE_INSN_CALL_ARG_LOCATION and | |
15184 | CALL_INSNs. Add NOTE_DURING_CALL_P var location notes even when not | |
15185 | followed by any real instructions. | |
15186 | (dwarf2out_begin_function): Set call_site_count and | |
15187 | tail_call_site_count to 0. | |
15188 | (resolve_addr): If DW_AT_abstract_origin of DW_TAG_GNU_call_site | |
15189 | is dw_val_class_addr, attempt to look it up again, for DECL_EXTERNAL | |
15190 | attempt to force a DIE for it and worst case remove the attribute. | |
15191 | (resolve_one_addr): For TREE_CONSTANT_POOL_ADDRESS_P SYMBOL_REFs | |
15192 | check TREE_ASM_WRITTEN of DECL_INITIAL of the decl instead of | |
15193 | the decl itself. | |
15194 | * var-tracking.c: Include tm_p.h. | |
15195 | (vt_stack_adjustments): For calls call note_register_arguments. | |
15196 | (argument_reg_set): New variable. | |
15197 | (add_stores): For MO_VAL_SET of non-tracked regs from argument_reg_set | |
15198 | ensure the VALUE is resolved. | |
15199 | (call_arguments): New variable. | |
15200 | (prepare_call_arguments): New function. | |
15201 | (add_with_sets): For MO_CALL set u.loc from call_arguments and clear it. | |
15202 | (struct expand_loc_callback_data): Add ignore_cur_loc field. | |
15203 | (vt_expand_loc_callback): If ignore_cur_loc, don't look at cur_loc and | |
15204 | always use the best expression. | |
15205 | (vt_expand_loc): Add ignore_cur_loc argument. | |
15206 | (vt_expand_loc_dummy): Clear ignore_cur_loc field. | |
15207 | (emit_note_insn_var_location): Adjust vt_expand_loc callers. | |
15208 | (emit_notes_in_bb) <case MO_CALL>: Add NOTE_INSN_CALL_ARG_LOCATION | |
15209 | note for all calls. | |
15210 | (vt_add_function_parameter): Use cselib_lookup_from_insn. | |
15211 | If dv is a VALUE, enter into hash table also ENTRY_VALUE for the | |
15212 | argument. Don't call cselib_preserve_only_values and | |
15213 | cselib_reset_table. | |
15214 | (note_register_arguments): New function. | |
15215 | (vt_initialize): Compute argument_reg_set. Call | |
15216 | vt_add_function_parameters before processing basic blocks instead of | |
15217 | afterwards. For calls call prepare_call_arguments before calling | |
15218 | cselib_process_insn. | |
15219 | * print-rtl.c (print_rtx): Handle NOTE_INSN_CALL_ARG_LOCATION. | |
15220 | * Makefile.in (dwarf2out.o): Depend on $(CFGLAYOUT_H). | |
15221 | (var-tracking.o): Depend on $(TM_P_H). | |
15222 | * cfglayout.h (insn_scope): New prototype. | |
15223 | * gengtype.c (adjust_field_rtx_def): Handle NOTE_INSN_CALL_ARG_LOCATION. | |
15224 | * cfglayout.c (insn_scope): No longer static. | |
15225 | * insn-notes.def (CALL_ARG_LOCATION): New. | |
15226 | * calls.c (expand_call, emit_library_call_value_1): Put USEs for | |
15227 | MEM arguments into CALL_INSN_FUNCTION_USAGE unconditionally. | |
15228 | * integrate.c (set_block_origin_self, set_block_abstract_flags): Do | |
15229 | nothing for DECL_EXTERNAL BLOCK_VARS. | |
15230 | ||
9ef13bd0 AM |
15231 | 2011-03-16 Alan Modra <amodra@gmail.com> |
15232 | ||
15233 | PR target/45844 | |
15234 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Don't | |
15235 | create invalid offset address for vsx splat insn. | |
15236 | * config/rs6000/predicates.md (splat_input_operand): New. | |
15237 | * config/rs6000/vsx.md (vsx_splat_*): Use it. | |
15238 | ||
56b67510 XDL |
15239 | 2011-03-15 Xinliang David Li <davidxl@google.com> |
15240 | ||
15241 | PR c/47837 | |
15242 | * tree-ssa-uninit.c (pred_chain_length_cmp): New function. | |
15243 | (normalize_preds): New function. | |
15244 | (is_use_properly_guarded): Normalize def predicates. | |
15245 | ||
80fffdef RR |
15246 | 2011-03-15 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
15247 | ||
732f37c6 | 15248 | PR target/46788 |
80fffdef RR |
15249 | * config/arm/arm.md (arm_movtas_ze): Use 'L' instead of 'c' |
15250 | in the output template. | |
15251 | ||
930672ad RG |
15252 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
15253 | ||
15254 | PR middle-end/47650 | |
15255 | * tree-pretty-print.c (dump_function_declaration): Properly | |
15256 | dump unprototyped and varargs function types. | |
15257 | ||
c7ee7b45 RG |
15258 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
15259 | ||
15260 | PR tree-optimization/13954 | |
15261 | * tree-ssa-sccvn.c (vn_reference_lookup_3): Look through memcpy | |
15262 | and friends. | |
15263 | ||
b2ad5e37 RG |
15264 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
15265 | ||
15266 | PR tree-optimization/48037 | |
15267 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Rewrite vector | |
15268 | selects into BIT_FIELD_REFs. | |
15269 | (non_rewritable_mem_ref_base): Check if a MEM_REF is a | |
15270 | vector select. | |
15271 | ||
7ee93d4e JJ |
15272 | 2011-03-15 Jakub Jelinek <jakub@redhat.com> |
15273 | ||
15274 | PR tree-optimization/48129 | |
15275 | * builtins.c (fold_builtin_snprintf): Convert to type of | |
15276 | built_in_decls[BUILT_IN_SNPRINTF] retval instead of | |
15277 | implicit_built_in_decls[BUILT_IN_SNPRINTF] retval. | |
15278 | ||
e106efc7 RG |
15279 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
15280 | ||
15281 | PR tree-optimization/41490 | |
15282 | * tree-ssa-dce.c (propagate_necessity): Handle returns without | |
15283 | value but with VUSE. | |
15284 | * tree-ssa-operands.c (parse_ssa_operands): Add a VUSE on all | |
15285 | return statements. | |
15286 | * tree-ssa-sink.c (statement_sink_location): Fix store sinking. | |
15287 | * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Handle virtual PHIs. | |
15288 | * tree-tailcall.c (find_tail_calls): Ignore returns. | |
15289 | ||
17dea42f RG |
15290 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
15291 | ||
15292 | PR middle-end/48031 | |
15293 | * fold-const.c (fold_indirect_ref_1): Do not create new variable-sized | |
15294 | or variable-indexed array accesses when in gimple form. | |
15295 | ||
01c77a60 RG |
15296 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
15297 | ||
16cc4440 | 15298 | * config/i386/i386.c (ix86_emit_swdivsf): Implement more efficiently. |
01c77a60 | 15299 | |
77b0791e AM |
15300 | 2011-03-15 Alan Modra <amodra@gmail.com> |
15301 | ||
15302 | PR target/48032 | |
15303 | * config/rs6000/rs6000.c (offsettable_ok_by_alignment): Do not | |
15304 | presume symbol_refs without a symbol_ref_decl are suitably | |
15305 | aligned, nor other trees we may see here. Handle anchor symbols. | |
15306 | (legitimate_constant_pool_address_p): Comment. Add mode param. | |
15307 | Check cmodel=medium addresses. Adjust all calls. | |
15308 | (rs6000_emit_move): Don't call offsettable_ok_by_alignment on | |
15309 | creating cmodel=medium optimized access to locals. | |
15310 | * config/rs6000/constraints.md (R): Pass QImode to | |
15311 | legitimate_constant_pool_address_p. | |
15312 | * config/rs6000/predicates.md (input_operand): Pass mode to | |
15313 | legitimate_constant_pool_address_p. | |
15314 | * config/rs6000/rs6000-protos.h (legitimate_constant_pool_address_p): | |
15315 | Update prototype. | |
15316 | ||
35f61ba4 MM |
15317 | 2011-03-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
15318 | ||
15319 | PR target/48053 | |
15320 | * config/rs6000/rs6000.md (movdi split for 32-bit): Don't split up | |
15321 | 64-bit constants being loaded into registers other than GPRs such | |
15322 | as loading 0 into a VSX register. | |
15323 | ||
07332e6d RO |
15324 | 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
15325 | ||
16cc4440 | 15326 | * config/sol2.c (solaris_assemble_visibility): Remove obsolete URLs. |
07332e6d | 15327 | |
de888d90 JJ |
15328 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
15329 | ||
ba3ceb2d JJ |
15330 | PR middle-end/47917 |
15331 | * builtins.c (fold_builtin_snprintf): New function. | |
15332 | (fold_builtin_3): Call it for BUILT_IN_SNPRINTF. | |
15333 | (fold_builtin_4): Likewise. | |
15334 | ||
2e64f8b8 JJ |
15335 | PR middle-end/38878 |
15336 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Add | |
15337 | STRIP_NOPS on arg0 and arg1. When optimizing X +- C == X | |
15338 | and C - X == X also strip nops from +/-/p+ operand. | |
15339 | When optimizing -X == C, fold C to arg0's type. | |
15340 | ||
de888d90 JJ |
15341 | PR debug/47946 |
15342 | * dwarf2out.c (add_bit_offset_attribute): If bit_offset is negative, | |
15343 | emit it as add_AT_int instead of add_AT_unsigned. | |
15344 | ||
15345 | 2011-03-14 Tom Tromey <tromey@redhat.com> | |
f4e749b4 TT |
15346 | |
15347 | * unwind-dw2.c: Include sys/sdt.h if it exists. | |
15348 | (_Unwind_DebugHook): Use STAP_PROBE2. | |
15349 | * config.in, configure: Rebuild. | |
15350 | * configure.ac: Check for sys/sdt.h. | |
15351 | ||
d34abfd2 UB |
15352 | 2011-03-14 Uros Bizjak <ubizjak@gmail.com> |
15353 | ||
15354 | * config/i386/i386.md (ROUND_FLOOR): New constant. | |
15355 | (ROUND_CEIL): Ditto. | |
15356 | (ROUND_TRUNC): Ditto. | |
15357 | (ROUND_MXCSR): Ditto. | |
15358 | (ROUND_NO_EXC): Ditto. | |
15359 | (rint<mode>2): Use new defines instead of numerical constants. | |
15360 | (floor<mode>2): Ditto. | |
15361 | (ceil<mode>2): Ditto. | |
15362 | (btrunc<mode>2): Ditto. | |
15363 | * config/i386/i386-builtin-types.def: Define ROUND function type | |
15364 | aliases. | |
15365 | * config/i386/i386.c (enum ix86_builtins): Add | |
15366 | IX86_BUILTIN_{FLOOR,CEIL,TRUNC,RINT}{PS,PD}{,256} defines. | |
15367 | (struct builtin_description): Add | |
15368 | __builtin_ia32_{floor,ceil,trunc,rint}{pd,ps}{,256} descriptions. | |
15369 | (ix86_expand_sse_round): New static function. | |
15370 | (ix86_expand_args_builtin): Call ix86_expand_sse_round for ROUND | |
15371 | function types. | |
15372 | (ix86_builtin_vectorized_function): Handle | |
15373 | BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins. | |
15374 | ||
87f9e23d TT |
15375 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
15376 | ||
15377 | * c-parser.c (c_parser_asm_string_literal): Clear | |
15378 | warn_overlength_strings. | |
15379 | ||
b3ab9ea2 TT |
15380 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
15381 | ||
15382 | * c-parser.c (disable_extension_diagnostics): Save | |
15383 | warn_overlength_strings. | |
15384 | (restore_extension_diagnostics): Restore warn_overlength_strings. | |
15385 | ||
6bd73dd8 JJ |
15386 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
15387 | ||
15388 | * BASE-VER: Change to 4.7.0. | |
15389 | ||
7f4d6e1b RG |
15390 | 2011-03-14 Richard Guenther <rguenther@suse.de> |
15391 | ||
15392 | PR middle-end/48098 | |
15393 | * tree.c (build_vector_from_val): Adjust assert to requirements | |
15394 | and reality. | |
15395 | ||
c6104ef1 JJ |
15396 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
15397 | ||
15398 | PR bootstrap/48102 | |
d34abfd2 | 15399 | * graphite-cloog-compat.h (build_cloog_prog): Remove STATE parameter. |
c6104ef1 | 15400 | |
dfa95e19 AT |
15401 | 2011-03-14 Andreas Tobler <andreast@fgznet.ch> |
15402 | ||
f60c2554 | 15403 | * config/rs6000/freebsd.h (RELOCATABLE_NEEDS_FIXUP): Define in |
dfa95e19 AT |
15404 | terms of target_flags_explicit. Adjust copyright year. |
15405 | ||
15406 | * config.gcc: Add FreeBSD PowerPC soft-float libgcc bits. | |
15407 | * config/rs6000/t-freebsd: New file. Add override for | |
15408 | LIB2FUNCS_EXTRA. | |
15409 | ||
bb322018 CD |
15410 | 2011-03-13 Chris Demetriou <cgd@google.com> |
15411 | ||
15412 | * doc/invoke.texi (-fdiagnostics-show-option): Replace with... | |
15413 | (-fno-diagnostics-show-option): this, to reflect current default. | |
15414 | (-Werror=): Update text about -fno-diagnostics-show-option. | |
15415 | ||
12b1c80b PB |
15416 | 2011-03-12 Peter Bergner <bergner@vnet.ibm.com> |
15417 | ||
15418 | PR target/48053 | |
15419 | * config/rs6000/predicates.md (easy_vector_constant_add_self, | |
15420 | easy_vector_constant_msb): Do not handle V2DImode and V2DFmode. | |
15421 | * config/rs6000/rs6000.c (const_vector_elt_as_int): Add assert that | |
15422 | mode is not V2DImode or V2DFmode. | |
15423 | (vspltis_constant): Do not handle V2DImode and V2DFmode. | |
15424 | (rs6000_expand_vector_init): Replace copy_to_reg with copy_to_mode_reg. | |
15425 | * config/rs6000/rs6000.md (movdi_internal32): Allow setting VSX | |
15426 | registers to 0. | |
15427 | (movdi_internal64): Likewise. | |
15428 | ||
57d598f7 SP |
15429 | 2011-03-12 Sebastian Pop <sebastian.pop@amd.com> |
15430 | ||
15431 | PR tree-optimization/47127 | |
15432 | * graphite-clast-to-gimple.c (build_cloog_prog): Removed state | |
15433 | parameter. | |
15434 | (set_cloog_options): Same. | |
15435 | (scop_to_clast): Same. | |
15436 | (print_clast_stmt): Do not call cloog_state_malloc and | |
15437 | cloog_state_free. | |
15438 | (print_generated_program): Same. | |
15439 | (gloog): Same. | |
15440 | * graphite-clast-to-gimple.h (cloog_state): Declared. | |
15441 | (scop_to_clast): Adjust declaration. | |
15442 | * graphite.c (cloog_state): Defined here. | |
15443 | (graphite_initialize): Call cloog_state_malloc. | |
15444 | (graphite_finalize): Call cloog_state_free. | |
15445 | ||
f231b5ff JM |
15446 | 2011-03-11 Jason Merrill <jason@redhat.com> |
15447 | ||
15448 | * attribs.c (lookup_attribute_spec): Take const_tree. | |
15449 | * tree.h: Adjust. | |
15450 | ||
6a4e2bd5 JM |
15451 | 2011-03-11 Joseph Myers <joseph@codesourcery.com> |
15452 | ||
15453 | * config/sparc/sparc.c (sparc_option_override): Use | |
15454 | PROCESSOR_NIAGARA2 not PROCESSOR_NIAGARA for "niagara2". | |
15455 | ||
a758fd67 RG |
15456 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
15457 | ||
15458 | PR tree-optimization/48067 | |
15459 | * tree-ssa-math-opts.c (convert_mult_to_fma): Verify the | |
15460 | multiplication result will be only used once on the target | |
15461 | stmt. | |
15462 | ||
03dfda54 RG |
15463 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
15464 | ||
15465 | * doc/invoke.texi (max-inline-insns-single): Adjust default value. | |
15466 | ||
5f11a50a RG |
15467 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
15468 | ||
15469 | PR lto/48073 | |
15470 | * tree.c (find_decls_types_r): Do not walk types only reachable | |
15471 | from IDENTIFIER_NODEs. | |
15472 | ||
4074f163 JJ |
15473 | 2011-03-11 Jakub Jelinek <jakub@redhat.com> |
15474 | ||
15475 | PR middle-end/48044 | |
15476 | * ipa.c (cgraph_remove_unreachable_nodes): Enqueue | |
15477 | all vnode->force_output nodes as needed. | |
15478 | ||
30f7cdcd JM |
15479 | 2011-03-11 Jason Merrill <jason@redhat.com> |
15480 | ||
15481 | PR c++/48069 | |
15482 | * tree.c (type_hash_eq): Use COMPLETE_TYPE_P, not | |
15483 | COMPLETE_OR_UNBOUND_ARRAY_TYPE_P. | |
15484 | ||
62ecfeb8 MJ |
15485 | 2011-03-11 Martin Jambor <mjambor@suse.cz> |
15486 | ||
15487 | * cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of | |
15488 | cgraph_node. | |
15489 | ||
e89e03ab JJ |
15490 | 2011-03-11 Jakub Jelinek <jakub@redhat.com> |
15491 | ||
15492 | PR tree-optimization/48063 | |
15493 | * ipa-inline.c (cgraph_decide_inlining): Don't try to | |
15494 | inline functions called once if !tree_can_inline_p (node->callers). | |
15495 | ||
efbe978b | 15496 | 2011-03-11 Chen Liqin <liqin.gcc@gmail.com> |
9d6193a7 | 15497 | |
efbe978b EB |
15498 | * config.gcc (score-*-elf): Add extra_parts .., update tmake_file and |
15499 | extra_objs. | |
9d6193a7 CL |
15500 | * config/score/score3.c: Delete. |
15501 | * config/score/score3.h: Delete. | |
15502 | * config/score/mul-div.S: Delete. | |
15503 | * config/score/sfp-machine.h: Add new file. | |
15504 | * config/score/constraints.md: Add new file. | |
15505 | * config/score/t-score-softfp: Add new file. | |
efbe978b | 15506 | * config/score/t-score-elf: Remove score3.o, do not generate multilib. |
9d6193a7 CL |
15507 | * config/score/score7.c (score7_const_ok_for_letter_p): Delete. |
15508 | (score7_extra_constraint): Delete. | |
efbe978b | 15509 | (score7_option_override): Remove unused code. |
9d6193a7 CL |
15510 | * config/score/score.c: Remove score3 and score5 define and code. |
15511 | * config/score/score.h: Remove score3 and score5 define and code. | |
efbe978b | 15512 | * config/score/score.md: Remove score3 template and unusual insn. |
9d6193a7 CL |
15513 | * config/score/score.opt: Remove score3 and score5 options. |
15514 | ||
5de27cca JDA |
15515 | 2011-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
15516 | ||
15517 | * config/pa/pa-hpux10.h (TARGET_OS_CPP_BUILTINS): Define _REENTRANT | |
15518 | when _HPUX_SOURCE is defined. | |
15519 | (LIB_SPEC): Use -lc instead of -lc_r when -threads is specified. | |
15520 | ||
18d92053 JM |
15521 | 2011-03-10 Jason Merrill <jason@redhat.com> |
15522 | ||
15523 | PR c++/48029 | |
15524 | * stor-layout.c (layout_type): Don't set structural equality | |
15525 | on arrays of incomplete type. | |
15526 | * tree.c (type_hash_eq): Handle comparing them properly. | |
15527 | ||
67a2f76d JJ |
15528 | 2011-03-10 Jakub Jelinek <jakub@redhat.com> |
15529 | ||
15530 | PR debug/48043 | |
18d92053 | 15531 | * config/s390/s390.c (s390_delegitimize_address): Make sure the |
67a2f76d JJ |
15532 | result mode matches original rtl mode. |
15533 | ||
d845b2f9 NC |
15534 | 2011-03-10 Nick Clifton <nickc@redhat.com> |
15535 | ||
15536 | * config/rx/rx.md (bitset_in_memory, bitclr_in_memory: Fix timings. | |
39242686 | 15537 | (andsi3, andsi3_flags): Fix timings for three operand alternative. |
d845b2f9 | 15538 | |
db7ec035 JJ |
15539 | 2011-03-09 Jakub Jelinek <jakub@redhat.com> |
15540 | ||
15541 | PR rtl-optimization/47866 | |
15542 | * expr.c (store_field): If MEM_SCALAR_P (target), don't use | |
15543 | MEM_SET_IN_STRUCT_P (to_rtx, 1), just set MEM_IN_STRUCT_P (to_rtx) | |
15544 | if target wasn't scalar. | |
15545 | * function.c (assign_stack_temp_for_type): Assert that neither | |
15546 | MEM_SCALAR_P nor MEM_IN_STRUCT_P is set previously, set either | |
15547 | MEM_IN_STRUCT_P or MEM_SCALAR_P instead of using MEM_SET_IN_STRUCT_P | |
15548 | macro. | |
15549 | * rtl.h (MEM_SET_IN_STRUCT_P): Removed. | |
15550 | ||
5d304e47 AK |
15551 | 2011-03-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
15552 | ||
15553 | * config/s390/s390-protos.h (s390_label_align): New prototype. | |
15554 | * config/s390/s390.c (s390_label_align): New function. | |
15555 | * config/s390/s390.h (LABEL_ALIGN): New target macro definition. | |
15556 | ||
93b826f0 MM |
15557 | 2011-03-08 Michael Meissner <meissner@linux.vnet.ibm.com> |
15558 | ||
15559 | PR target/47755 | |
15560 | * config/rs6000/rs6000.c (easy_altivec_constant): Correctly handle | |
15561 | V2DI/V2DF constants. Only all 0's or all 1's are easy. | |
15562 | (output_vec_const_move): Ditto. | |
15563 | ||
ef78aed6 AS |
15564 | 2011-03-08 Anatoly Sokolov <aesok@post.ru> |
15565 | ||
15566 | * config/mips/mips.h (PREFERRED_RELOAD_CLASS): Remove macro. | |
15567 | * config/mips/mips-protos.h (mips_preferred_reload_class): Remove. | |
15568 | * config/mips/mips.c (mips_preferred_reload_class): Make static. | |
15569 | Change 'rclass' argument and result type to reg_class_t. | |
15570 | (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
15571 | ||
5f892aa0 GJL |
15572 | 2011-03-08 Georg-Johann Lay <avr@gjlay.de> |
15573 | ||
9e43ad68 UB |
15574 | * config/avr/avr.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. |
15575 | * config/avr/avr.c (TARGET_REGISTER_MOVE_COST) | |
15576 | (TARGET_MEMORY_MOVE_COST): Define. | |
15577 | (avr_register_move_cost, avr_memory_move_cost): New Functions. | |
5f892aa0 | 15578 | |
32bd2409 JJ |
15579 | 2011-03-08 Jakub Jelinek <jakub@redhat.com> |
15580 | ||
530a4800 JJ |
15581 | PR debug/47881 |
15582 | * ira.c (ira): Call df_analyze again if delete_trivially_dead_insns | |
15583 | removed anything. | |
15584 | ||
32bd2409 JJ |
15585 | PR tree-optimization/48022 |
15586 | * fold-const.c (fold_comparison): Don't call fold_overflow_warning | |
15587 | for EQ/NE_EXPR. | |
15588 | ||
c7148991 JJ |
15589 | 2011-03-07 Jakub Jelinek <jakub@redhat.com> |
15590 | ||
15591 | PR debug/47991 | |
15592 | * var-tracking.c (find_use_val): Return NULL for | |
15593 | cui->sets && cui->store_p BLKmode MEMs. | |
15594 | ||
43070a6e AS |
15595 | 2011-03-07 Anatoly Sokolov <aesok@post.ru> |
15596 | ||
15597 | * config/stormy16/stormy16.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): | |
15598 | Remove. | |
15599 | * config/stormy16/stormy16-protos.h (xstormy16_print_operand, | |
15600 | xstormy16_print_operand_address): Remove. | |
15601 | * config/stormy16/stormy16.c (xstormy16_print_operand, | |
15602 | xstormy16_print_operand_address): Make static. | |
15603 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
15604 | ||
efbe978b | 15605 | 2011-03-07 Pat Haugen <pthaugen@us.ibm.com> |
79eefb0d PH |
15606 | |
15607 | PR target/47862 | |
15608 | * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Define. | |
15609 | * config/rs6000/e500.h (HARD_REGNO_CALLER_SAVE_MODE): Undefine | |
15610 | before definition. | |
15611 | ||
cec8ac0b ZD |
15612 | 2011-03-07 Zdenek Dvorak <ook@ucw.cz> |
15613 | ||
15614 | PR bootstrap/48000 | |
15615 | * cfgloopmanip.c (fix_bb_placements): Return immediately | |
15616 | if FROM is BASE_LOOP's header. | |
15617 | ||
59527282 PW |
15618 | 2011-03-07 Paul Wögerer <paul_woegerer@mentor.com> |
15619 | ||
15620 | * gimplify.c (gimplify_function_tree): Fix building calls | |
15621 | to __builtin_return_address. | |
15622 | ||
617718f7 AM |
15623 | 2011-03-07 Alan Modra <amodra@gmail.com> |
15624 | ||
15625 | * config/rs6000/linux.h (TARGET_ASM_FILE_END): Don't define. | |
15626 | * config/rs6000/linux64.h (TARGET_ASM_FILE_END): Don't define. | |
15627 | * config/rs6000/sysv4.h (TARGET_ASM_FILE_END): Define. | |
15628 | * config/rs6000/rs6000-protos.h (init_cumulative_args): Add fndecl and | |
15629 | return_mode args. | |
15630 | * config/rs6000/rs6000.h (CUMULATIVE_ARGS): Add "escapes". | |
15631 | (INIT_CUMULATIVE_ARGS): Pass FNDECL, VOIDmode. | |
15632 | (INIT_CUMULATIVE_INCOMING_ARGS): Pass current_function_decl, VOIDmode. | |
15633 | (INIT_CUMULATIVE_LIBCALL_ARGS): Pass NULL_TREE, MODE. | |
15634 | * config/rs6000/rs6000.c | |
15635 | (rs6000_elf_end_indicate_exec_stack): Rename to.. | |
15636 | (rs6000_elf_file_end): ..this. Only call file_end_indicate_exec_stack | |
15637 | for POWERPC_LINUX. Move code emitting .gnu_attribute to here, from.. | |
15638 | (rs6000_file_start): ..here. | |
15639 | (rs6000_passes_float, rs6000_passes_vector, rs6000_returns_struct): New | |
15640 | file scope variables. | |
15641 | (call_ABI_of_interest): New function. | |
15642 | (init_cumulative_args): Set above vars when function return value | |
15643 | is a float, vector, or small struct. | |
15644 | (rs6000_function_arg_advance_1): Likewise for function args. | |
15645 | (rs6000_va_start): Set rs6000_passes_float if variable arg function | |
15646 | references float args. | |
15647 | ||
38528d50 MX |
15648 | 2011-03-07 Mingjie Xing <mingjie.xing@gmail.com> |
15649 | ||
15650 | * doc/cfg.texi: Remove "See" before @ref. | |
15651 | * doc/invoke.texi: Likewise. | |
15652 | ||
f42cf4f4 JM |
15653 | 2011-03-05 Jason Merrill <jason@redhat.com> |
15654 | ||
15655 | * doc/invoke.texi (C++ Dialect Options): Document ABI v5. | |
15656 | ||
804a304d AG |
15657 | 2011-03-05 Anthony Green <green@moxielogic.com> |
15658 | ||
15659 | * config.gcc (moxie-*-elf): Add newlib-stdint.h to tmfile. | |
15660 | ||
634ee309 ZD |
15661 | 2011-03-05 Zdenek Dvorak <ook@ucw.cz> |
15662 | ||
15663 | PR rtl-optimization/47899 | |
15664 | * cfgloopmanip.c (fix_bb_placements): Fix first argument | |
15665 | to flow_loop_nested_p when moving the loop upward. | |
15666 | ||
6fe471c8 RE |
15667 | 2011-03-05 Richard Earnshaw <rearnsha@arm.com> |
15668 | ||
15669 | PR target/47719 | |
15670 | * arm.md (movhi_insn_arch4): Accept any immediate constant. | |
15671 | ||
cc58ceee JJ |
15672 | 2011-03-05 Jakub Jelinek <jakub@redhat.com> |
15673 | ||
15674 | PR tree-optimization/47967 | |
15675 | * ipa-cp.c (build_const_val): Return NULL instead of creating | |
15676 | VIEW_CONVERT_EXPR for mismatching sizes. | |
15677 | (ipcp_create_replace_map): Return NULL if build_const_val failed. | |
15678 | (ipcp_insert_stage): If ipcp_create_replace_map returns NULL, | |
15679 | give up on versioning. | |
15680 | ||
ea868305 AM |
15681 | 2011-03-05 Alan Modra <amodra@gmail.com> |
15682 | ||
15683 | PR target/47986 | |
15684 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle | |
15685 | full cmodel medium/large lo_sum + high addresses. | |
15686 | ||
bc6ce334 AK |
15687 | 2011-03-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
15688 | ||
15689 | * config/s390/s390.c (s390_decompose_address): Reject non-literal | |
15690 | pool references in UNSPEC_LTREL_OFFSET. | |
15691 | ||
87e7b310 JH |
15692 | 2011-03-04 Jan Hubicka <jh@suse.cz> |
15693 | ||
15694 | PR lto/47497 | |
15695 | * lto-symtab.c (lto_cgraph_replace_node): Do not set thunk.alias. | |
15696 | (lto_symtab_merge_cgraph_nodes_1): Update thunk.alias pointers here. | |
d34abfd2 UB |
15697 | * cgraph.h (cgraph_same_body_alias, cgraph_add_thunk): |
15698 | Add node pointers. | |
87e7b310 JH |
15699 | * cgraph.c (cgraph_same_body_alias_1, cgraph_same_body_alias, |
15700 | cgraph_add_thunk): Add node pointers. | |
15701 | * lto-cgraph.c (lto_output_node): Verify that thunks&aliases are | |
15702 | associated to right node. | |
15703 | (input_node): Update use of cgraph_same_body_alias | |
15704 | and cgraph_add_thunk. | |
15705 | ||
d9c64246 CF |
15706 | 2011-03-04 Changpeng Fang <changpeng.fang@amd.com> |
15707 | ||
15708 | * config/i386/i386.opt (mprefer-avx128): New flag. | |
d34abfd2 UB |
15709 | * config/i386/i386.c (ix86_preferred_simd_mode): Prefer 128-bit AVX |
15710 | modes when the flag -mprefer-avx128 is on. | |
d9c64246 | 15711 | |
08707076 RS |
15712 | 2011-03-04 Richard Sandiford <richard.sandiford@linaro.org> |
15713 | ||
15714 | * dwarf2out.c (compare_loc_operands): Fix address handling. | |
15715 | ||
52517c81 AM |
15716 | 2011-03-04 Alan Modra <amodra@gmail.com> |
15717 | ||
15718 | * tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment. | |
15719 | ||
b147c5b9 RG |
15720 | 2011-03-04 Richard Guenther <rguenther@suse.de> |
15721 | ||
15722 | PR middle-end/47968 | |
15723 | * expmed.c (extract_bit_field_1): Prefer vector modes that | |
15724 | vec_extract patterns can handle. | |
15725 | ||
8750672f RG |
15726 | 2011-03-04 Richard Guenther <rguenther@suse.de> |
15727 | ||
15728 | PR middle-end/47975 | |
15729 | * optabs.c (optab_for_tree_code): Do not use VECTOR_MODE_P. | |
15730 | ||
9eac0f2a RH |
15731 | 2011-03-04 Richard Henderson <rth@redhat.com> |
15732 | ||
15733 | * explow.c (emit_stack_save): Remove 'after' parameter. | |
15734 | (emit_stack_restore): Likewise. | |
15735 | * expr.h: Update to match. | |
15736 | * builtins.c, calls.c, stmt.c: Likewise. | |
15737 | * config/alpha/alpha.md, config/avr/avr.md: Likewise. | |
15738 | * config/mips/mips.md, config/pa/pa.md, config/vax/vax.md: Likewise. | |
15739 | * function.c (expand_function_end): Insert the emit_stack_save | |
15740 | sequence before parm_birth_insn instead of after. | |
15741 | ||
dfee1406 UB |
15742 | 2011-03-03 Uros Bizjak <ubizjak@gmail.com> |
15743 | ||
15744 | * config/i386/sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX. | |
15745 | (ssse3_pmaddubsw128): Ditto. | |
15746 | (ssse3_pmaddubsw): Ditto. | |
15747 | ||
f1d4c3de SE |
15748 | 2011-03-03 Steve Ellcey <sje@cup.hp.com> |
15749 | ||
15750 | * config/ia64/t-hpux: Add $(srcdir)/unwind-c.c to LIB2ADDEH | |
15751 | ||
71f3a3f5 JJ |
15752 | 2011-03-03 Jakub Jelinek <jakub@redhat.com> |
15753 | ||
423ed416 JJ |
15754 | PR c/47963 |
15755 | * gimplify.c (omp_add_variable): Only call omp_notice_variable | |
15756 | on TYPE_SIZE_UNIT if it is a DECL. | |
15757 | ||
71f3a3f5 JJ |
15758 | PR debug/47283 |
15759 | * cfgexpand.c (expand_debug_expr) <case MEM_REF>: If MEM_REF | |
15760 | first operand is not is_gimple_mem_ref_addr, try to fold it. | |
15761 | If the operand still isn't is_gimple_mem_ref_addr, clear | |
15762 | MEM_EXPR on op0. | |
15763 | ||
4b1a5c0d RG |
15764 | 2011-03-03 Richard Guenther <rguenther@suse.de> |
15765 | ||
15766 | PR middle-end/47283 | |
15767 | * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Make code | |
15768 | match comment. | |
15769 | (refs_may_alias_p_1): For release branches return true if | |
15770 | we are confused by our input. | |
15771 | ||
b46616fd AK |
15772 | 2011-03-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
15773 | ||
15774 | * config/s390/s390.c (s390_function_value): Rename to ... | |
15775 | (s390_function_and_libcall_value): ... this. | |
15776 | (s390_function_value): New function. | |
15777 | (s390_libcall_value): New function. | |
dfee1406 | 15778 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Define target hooks. |
b46616fd AK |
15779 | * config/s390/s390.h (FUNCTION_VALUE, LIBCALL_VALUE): Remove |
15780 | target macro definitions. | |
15781 | * config/s390/s390-protos.h (s390_function_value): Remove prototype. | |
15782 | ||
46d8fabb JM |
15783 | 2011-03-02 Joseph Myers <joseph@codesourcery.com> |
15784 | ||
15785 | * config/i386/freebsd64.h (CC1_SPEC): Define. | |
15786 | * config/i386/linux64.h (CC1_SPEC): Define. | |
15787 | * config/i386/x86-64.h (CC1_SPEC): Don't define. | |
15788 | ||
6b1ce545 AS |
15789 | 2011-03-02 Anatoly Sokolov <aesok@post.ru> |
15790 | ||
15791 | * config/stormy16/stormy16.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): | |
15792 | Remove. | |
15793 | * config/stormy16/stormy16.c: Include reload.h. | |
15794 | (xstormy16_memory_move_cost): New function. | |
15795 | (TARGET_MEMORY_MOVE_COST): Define. | |
15796 | ||
34161e98 RS |
15797 | 2011-03-02 Richard Sandiford <richard.sandiford@linaro.org> |
15798 | ||
15799 | PR rtl-optimization/47925 | |
15800 | * cse.c (count_reg_usage): Don't ignore the SET_DEST of instructions | |
15801 | with side effects. Remove the more-specific check for volatile asms. | |
15802 | ||
f60a97cf AM |
15803 | 2011-03-02 Alan Modra <amodra@gmail.com> |
15804 | ||
15805 | PR target/47935 | |
15806 | * config/rs6000/predicates.md (lwa_operand): Check cmodel medium | |
15807 | toc relative addresses for valid offsets. | |
15808 | ||
f2ca11ca RG |
15809 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
15810 | ||
15811 | PR tree-optimization/47890 | |
15812 | * tree-vect-loop.c (get_initial_def_for_induction): Set | |
15813 | related stmt properly. | |
15814 | ||
7a00d9ea RG |
15815 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
15816 | ||
15817 | PR lto/47924 | |
15818 | * lto-streamer.c (lto_record_common_node): Also register | |
15819 | the canonical type. | |
15820 | ||
06c7edcc RG |
15821 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
15822 | ||
15823 | PR lto/46911 | |
15824 | * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers): | |
15825 | Do not stream DECL_ABSTRACT_ORIGIN. | |
15826 | (lto_input_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION, | |
15827 | BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN. | |
15828 | * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): | |
15829 | Do not stream DECL_ABSTRACT_ORIGIN. | |
15830 | (lto_output_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION, | |
15831 | BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN. | |
15832 | ||
998871e9 AS |
15833 | 2011-02-28 Anatoly Sokolov <aesok@post.ru> |
15834 | ||
15835 | * config/stormy16/stormy16.h (FUNCTION_VALUE, LIBCALL_VALUE, | |
15836 | FUNCTION_VALUE_REGNO_P): Remove. | |
b2e2ea67 | 15837 | * config/stormy16/stormy16-protos.h (xstormy16_function_value): Remove. |
998871e9 AS |
15838 | * config/stormy16/stormy16.c (xstormy16_function_value): Make static. |
15839 | Add 'outgoing' argument. | |
15840 | (xstormy16_libcall_value, xstormy16_function_value_regno_p): New | |
15841 | function. | |
15842 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
15843 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
15844 | ||
94369251 KT |
15845 | 2011-02-28 Kai Tietz <kai.tietz@onevision.com> |
15846 | ||
15847 | PR debug/28047 | |
15848 | * dwarf2out.c (file_table_eq): Use filename_cmp instead of strcmp. | |
15849 | (lookup_filename): Likewise. | |
b2e2ea67 | 15850 | * final.c (remap_debug_filename): Use filename_ncmp instead of strncmp. |
94369251 | 15851 | |
80a832cd JJ |
15852 | 2011-02-28 Bernd Schmidt <bernds@codesourcery.com> |
15853 | Jakub Jelinek <jakub@redhat.com> | |
15854 | ||
15855 | PR middle-end/47893 | |
15856 | * rtl.h (ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD): Define. | |
15857 | (assign_stack_local_1): Change last argument type to int. | |
15858 | * function.c (assign_stack_local_1): Replace reduce_alignment_ok | |
15859 | argument with kind. If bit ASLK_RECORD_PAD is not set in it, | |
b2e2ea67 | 15860 | don't record padding space into frame_space_list nor use those areas. |
80a832cd JJ |
15861 | (assign_stack_local): Adjust caller. |
15862 | (assign_stack_temp_for_type): Call assign_stack_local_1 instead | |
15863 | of assign_stack_local, pass 0 as last argument. | |
15864 | * caller-save.c (setup_save_areas): Adjust assign_stack_local_1 | |
15865 | callers. | |
15866 | ||
1b500976 JJ |
15867 | 2011-02-28 Jakub Jelinek <jakub@redhat.com> |
15868 | ||
f61c6f34 JJ |
15869 | PR debug/47283 |
15870 | * cfgexpand.c (convert_debug_memory_address): Add AS parameter. | |
15871 | Use target address_mode and pointer_mode hooks instead of hardcoded | |
15872 | Pmode and ptr_mode. Handle some simple cases of extending if | |
15873 | POINTERS_EXTEND_UNSIGNED < 0. | |
15874 | (expand_debug_expr) <case MEM_REF, INDIRECT_REF, TARGET_MEM_REF>: | |
15875 | Call convert_debug_memory_address. | |
15876 | (expand_debug_expr) <case ADDR_EXPR>: Pass as to | |
15877 | convert_debug_memory_address. | |
15878 | ||
1b500976 JJ |
15879 | PR middle-end/46790 |
15880 | * configure.ac (HAVE_LD_EH_GC_SECTIONS_BUG): New test. | |
15881 | * configure: Regenerated. | |
15882 | * config.in: Regenerated. | |
15883 | * varasm.c (default_function_section): Return NULL | |
b2e2ea67 | 15884 | if HAVE_LD_EH_GC_SECTIONS_BUG and decl has implicit section name. |
1b500976 | 15885 | |
2f2935b6 MJ |
15886 | 2011-02-28 Martin Jambor <mjambor@suse.cz> |
15887 | ||
15888 | * ipa-inline.c (cgraph_decide_inlining_of_small_functions): Fix | |
15889 | the description to match the printed values. | |
15890 | ||
474086eb RG |
15891 | 2011-02-28 Richard Guenther <rguenther@suse.de> |
15892 | ||
15893 | * tree-inline.c (tree_function_versioning): Set BLOCK_SUPERCONTEXT | |
15894 | of the copied scope tree. | |
15895 | ||
15bf6f3a RW |
15896 | 2011-02-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
15897 | ||
15898 | * doc/extend.texi (Function Attributes): Avoid deeply (and | |
15899 | wrongly) nested tables. | |
15900 | ||
f6b439c9 JJ |
15901 | 2011-02-27 Jakub Jelinek <jakub@redhat.com> |
15902 | ||
15903 | PR middle-end/47903 | |
15904 | * real.c (real_arithmetic) <case PLUS_EXPR, MINUS_EXPR, | |
15905 | MULT_EXPR, RDIV_EXPR>: Clear padding bits in *r first if | |
15906 | r isn't op0 nor op1. | |
15907 | ||
1d8ca2c7 GJL |
15908 | 2011-02-23 Georg-Johann Lay <avr@gjlay.de> |
15909 | ||
15910 | * config/avr/avr.md: Remove magic comment for emacs. | |
15911 | ||
593fca4b GJL |
15912 | 2011-02-23 Georg-Johann Lay <avr@gjlay.de> |
15913 | ||
15914 | PR target/45261 | |
15915 | * config/avr/avr.c (avr_option_override): Use error on bad options. | |
15916 | (avr_help): New function. | |
15917 | (TARGET_HELP): Define. | |
15918 | ||
6609216e GJL |
15919 | 2011-02-22 Georg-Johann Lay <avr@gjlay.de> |
15920 | ||
15921 | PR target/42240 | |
15922 | * config/avr/avr.c (avr_cannot_modify_jumps_p): New function. | |
15923 | (TARGET_CANNOT_MODIFY_JUMPS_P): Define. | |
15924 | ||
03d458af GP |
15925 | 2011-02-26 Gerald Pfeifer <gerald@pfeifer.com> |
15926 | ||
15927 | * doc/invoke.texi (ARC Options): Use CPU instead of cpu. | |
15928 | (ARM Options): Ditto. | |
15929 | (i386 and x86-64 Options): Ditto. | |
15930 | (RX Options): Ditto. | |
15931 | (SPARC Options): Ditto. | |
15932 | ||
1c379b78 TC |
15933 | 2011-02-26 Tijl Coosemans <tijl@coosemans.org> |
15934 | ||
15935 | * config.gcc (i386-*-freebsd*): Make i486 the default arch on | |
15936 | FreeBSD 6 and later. Generally use cpu generic. | |
15937 | ||
d5ed058c | 15938 | 2011-02-25 Gerald Pfeifer <gerald@pfeifer.com> |
b2e2ea67 | 15939 | |
d5ed058c GP |
15940 | * doc/cpp.texi: Update copyright years. |
15941 | ||
509d65dd | 15942 | 2011-02-25 Sebastien Bourdeauducq <sebastien@milkymist.org> |
308d39cd | 15943 | |
509d65dd | 15944 | PR target/46898 |
308d39cd SB |
15945 | * config/lm32/lm32.md (ashrsi3): Added needed variable. |
15946 | ||
509d65dd | 15947 | 2011-02-25 Jon Beniston <jon@beniston.com> |
308d39cd | 15948 | |
509d65dd | 15949 | PR target/46898 |
308d39cd SB |
15950 | * config/lm32/lm32.h (INCOMING_RETURN_ADDR_RTX): New. |
15951 | * config/lm32/lm32.md (ashlsi3): Remove unused variable. | |
15952 | * config/lm32/lm32.c (TARGET_EXCEPT_UNWIND_INFO): New. | |
15953 | (lm32_block_move_inline): Add type cast to remove warning. | |
b2e2ea67 | 15954 | (lm32_expand_prologue): Generate fp in a way compatible with dwarf2out. |
308d39cd SB |
15955 | (gen_int_relational): Move declarations to start of function. |
15956 | ||
822ba6d7 EB |
15957 | 2011-02-25 Eric Botcazou <ebotcazou@adacore.com> |
15958 | ||
15959 | PR tree-optimization/45470 | |
15960 | * tree-vect-data-refs.c (vect_analyze_data_refs): Fail if a statement | |
15961 | can throw internally only. | |
15962 | * tree-vect-stmts.c (vectorizable_call): Likewise. | |
15963 | ||
ef795fc2 AS |
15964 | 2011-02-24 Anatoly Sokolov <aesok@post.ru> |
15965 | ||
15966 | * config/stormy16/stormy16.h (PREFERRED_RELOAD_CLASS, | |
15967 | PREFERRED_OUTPUT_RELOAD_CLASS): Remove. | |
15968 | * config/stormy16/stormy16-protos.h | |
15969 | (xstormy16_preferred_reload_class): Remove. | |
15970 | * config/stormy16/stormy16.c (xstormy16_preferred_reload_class): Make | |
15971 | static. Change 'rclass' argument and return type to reg_class_t. | |
15972 | (TARGET_PREFERRED_RELOAD_CLASS, | |
15973 | TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. | |
15974 | ||
1c3277ee RG |
15975 | 2011-02-24 Richard Guenther <rguenther@suse.de> |
15976 | ||
15977 | * lto-streamer-in.c (input_bb): Do not find referenced vars | |
15978 | in debug statements. | |
15979 | ||
67e18edb JM |
15980 | 2011-02-23 Jason Merrill <jason@redhat.com> |
15981 | ||
15982 | * common.opt (fabi-version): Document v5 and v6. | |
15983 | ||
b14fad9d RG |
15984 | 2011-02-23 Richard Guenther <rguenther@suse.de> |
15985 | ||
15986 | PR tree-optimization/47849 | |
15987 | * tree-if-conv.c (main_tree_if_conversion): Free postdom info. | |
15988 | ||
7fcf46f5 JZ |
15989 | 2011-02-23 Jie Zhang <jie@codesourcery.com> |
15990 | ||
15991 | * opts-common.c (decode_cmdline_option): Print empty string | |
15992 | argument as "" in decoded->orig_option_with_args_text. | |
15993 | * gcc.c (execute): Print empty string argument as "" | |
15994 | in the verbose output. | |
15995 | (do_spec_1): Keep empty string argument. | |
15996 | ||
f85b70fd NF |
15997 | 2011-02-23 Nathan Froyd <froydnj@codesourcery.com> |
15998 | ||
15999 | * config.gcc: Declare score-* and crx-* obsolete. | |
16000 | ||
b152a615 JZ |
16001 | 2011-02-23 Jie Zhang <jie@codesourcery.com> |
16002 | ||
16003 | PR rtl-optimization/47763 | |
16004 | * web.c (web_main): Ignore naked clobber when replacing register. | |
16005 | ||
bb6e77bc AS |
16006 | 2011-02-22 Anatoly Sokolov <aesok@post.ru> |
16007 | ||
16008 | * config/stormy16/stormy16.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): | |
16009 | Remove. | |
16010 | ||
68bf6491 SP |
16011 | 2011-02-22 Sebastian Pop <sebastian.pop@amd.com> |
16012 | ||
16013 | PR doc/47848 | |
16014 | * doc/invoke.texi: Do not mention -ftree-loop-if-convert-memory-writes. | |
16015 | ||
88ee1fc7 MS |
16016 | 2011-02-22 Mike Stump <mikestump@comcast.net> |
16017 | ||
16018 | * acinclude.m4 (gcc_cv_gas_vers): Add -arch ppc for probing darwin | |
16019 | assembler. | |
16020 | * configure: Regenerate. | |
16021 | ||
6042d1dd CLT |
16022 | 2011-02-21 Chung-Lin Tang <cltang@codesourcery.com> |
16023 | ||
16024 | PR rtl-optimization/46002 | |
16025 | * ira-color.c (update_copy_costs): Change class intersection | |
16026 | test to reg_class_contents[] test of 'hard_regno'. | |
16027 | ||
7de97f9e JM |
16028 | 2011-02-21 Joseph Myers <joseph@codesourcery.com> |
16029 | ||
16030 | * config/alpha/osf5.opt (mno-mips-tfile): Mark as Target rather | |
16031 | than Driver option. | |
16032 | * config/hpux11.opt (mt): Likewise. | |
16033 | * config/microblaze/microblaze.opt (mxl-mode-xilkernel): Likewise. | |
16034 | * config/rs6000/xilinx.opt (mno-clearbss, mppcperflib): Likewise. | |
16035 | * config/vax/elf.opt (mno-asm-pic): Likewise. | |
16036 | * config/vms/vms.opt (map, mvms-return-codes): Likewise. | |
16037 | ||
d1d46f9f MS |
16038 | 2011-02-21 Mike Stump <mikestump@comcast.net> |
16039 | ||
16040 | PR target/47822 | |
16041 | * config/darwin-protos.h (darwin_init_cfstring_builtins): Return a | |
16042 | tree so we can get save the type. | |
16043 | * config/i386/darwin.h (SUBTARGET_INIT_BUILTINS): Reserve builtin slot | |
16044 | for CFString instead of trying to use past the end of the builtins. | |
16045 | * config/i386/i386.c (IX86_BUILTIN_CFSTRING): Likewise. | |
16046 | * config/rs6000/rs6000-builtin.def (RS6000_BUILTIN_CFSTRING): Likewise. | |
16047 | * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): Likewise. | |
16048 | * config/darwin.c (DARWIN_BUILTIN_CFSTRINGMAKECONSTANTSTRING): | |
16049 | Rename to darwin_builtin_cfstring. | |
16050 | (darwin_init_cfstring_builtins): Return the built type. | |
16051 | ||
23e0d930 UB |
16052 | 2011-02-21 Uros Bizjak <ubizjak@gmail.com> |
16053 | ||
16054 | PR target/47840 | |
16055 | * config/i386/avxintrin.h (_mm256_insert_epi32): Use _mm_insert_epi32. | |
16056 | (_mm256_insert_epi64): Use _mm_insert_epi64. | |
16057 | ||
192997cf AS |
16058 | 2011-02-21 Anatoly Sokolov <aesok@post.ru> |
16059 | ||
16060 | * config/stormy16/stormy16.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
16061 | * config/stormy16/stormy16-protos.h | |
16062 | (xstormy16_mode_dependent_address_p): Remove. | |
16063 | * config/stormy16/stormy16.c (xstormy16_mode_dependent_address_p): | |
16064 | Make static. Change return type to bool. Change argument type to | |
16065 | const_rtx. Remove dead code. | |
16066 | (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
16067 | ||
e292d003 RG |
16068 | 2011-02-21 Richard Guenther <rguenther@suse.de> |
16069 | ||
16070 | PR lto/47820 | |
16071 | * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers): | |
16072 | Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs. | |
16073 | (lto_input_ts_block_tree_pointers): Hook a BLOCK into the | |
16074 | TUs context. | |
23e0d930 | 16075 | * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): |
e292d003 RG |
16076 | Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs. |
16077 | ||
77f846e9 RG |
16078 | 2011-02-20 Richard Guenther <rguenther@suse.de> |
16079 | ||
16080 | PR lto/47822 | |
16081 | * tree.c (free_lang_data_in_decl): Clean builtins from | |
16082 | the TU decl BLOCK_VARS. | |
23e0d930 | 16083 | |
b2cddfc8 AO |
16084 | 2011-02-19 Alexandre Oliva <aoliva@redhat.com> |
16085 | ||
16086 | PR debug/47620 | |
16087 | PR debug/47630 | |
16088 | * haifa-sched.c (fix_tick_ready): Skip tick computation | |
16089 | for debug insns. | |
16090 | ||
becf4c11 RG |
16091 | 2011-02-19 Richard Guenther <rguenther@suse.de> |
16092 | ||
16093 | PR lto/47647 | |
16094 | * lto-streamer-in.c (lto_input_ts_decl_minimal_tree_pointers): | |
16095 | Remove lazy BLOCK_VARS streaming. | |
16096 | (lto_input_ts_block_tree_pointers): Likewise. | |
16097 | * lto-streamer-out.c (lto_output_ts_block_tree_pointers): Likewise. | |
16098 | ||
27f98305 JM |
16099 | 2011-02-19 Joseph Myers <joseph@codesourcery.com> |
16100 | ||
16101 | * config.gcc (i[34567]86-pc-msdosdjgpp*): Use i386/djgpp-stdint.h. | |
16102 | ||
064bf3f4 JM |
16103 | 2011-02-19 Joseph Myers <joseph@codesourcery.com> |
16104 | ||
16105 | * config/i386/biarch32.h, config/i386/mach.h, | |
16106 | config/rs6000/aix.opt, config/sh/superh64.h: Remove. | |
16107 | ||
9215ddc3 JJ |
16108 | 2011-02-19 Jakub Jelinek <jakub@redhat.com> |
16109 | ||
16110 | PR target/47800 | |
16111 | * config/i386/i386.md (peephole2 for shift and plus): Use | |
16112 | operands[1] original mode in the first insn. | |
16113 | ||
8b021004 MS |
16114 | 2011-02-18 Mike Stump <mikestump@comcast.net> |
16115 | ||
65ded153 | 16116 | * config/t-darwin (TM_H): Add dependency on darwin-sections.def. |
8b021004 | 16117 | |
f84ae14c JH |
16118 | 2011-02-18 Jan Hubicka <jh@suse.cz> |
16119 | ||
16120 | PR middle-end/47788 | |
65ded153 EB |
16121 | * ipa-inline.c (compute_inline_parameters): Set disregard_inline_limits |
16122 | to zero when the function is not inlinable at all. | |
f84ae14c | 16123 | |
eddabc80 JDA |
16124 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
16125 | ||
16126 | * config.gcc (hppa[12]*-*-hpux11*): Set extra_parts. | |
16127 | * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, | |
16128 | pthread_mutex_unlock, pthread_once): Reinstate pthread stubs. | |
16129 | * config/pa/t-pa-hpux11: Add rules to build pthread stubs. | |
16130 | * config/pa/t-pa64: Likewise. | |
16131 | * config/pa/pa-hpux11.h (LINK_GCC_C_SEQUENCE_SPEC): Define. | |
16132 | ||
ca3da783 JJ |
16133 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
16134 | ||
16135 | PR driver/47787 | |
16136 | * gcc.c (default_compilers): Clear combinable field for "@cpp-output". | |
16137 | ||
430aa868 JDA |
16138 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
16139 | ||
16140 | PR target/47792 | |
16141 | * gthr-dce.h (__gthread_mutx_destroy): Fix typo in name. | |
16142 | ||
4bf7ff7e AS |
16143 | 2011-02-18 Anatoly Sokolov <aesok@post.ru> |
16144 | ||
16145 | * config/m32r/m32r.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, | |
16146 | RTX_OK_FOR_BASE_P, RTX_OK_FOR_OFFSET_P, LEGITIMATE_OFFSET_ADDRESS_P, | |
16147 | LEGITIMATE_LO_SUM_ADDRESS_P, LOAD_POSTINC_P, STORE_PREINC_PREDEC_P, | |
16148 | GO_IF_LEGITIMATE_ADDRESS): Remove macros. | |
16149 | * config/m32r/m32r.c (TARGET_LEGITIMATE_ADDRESS_P): Define. | |
16150 | (m32r_rtx_ok_for_base_p, m32r_rtx_ok_for_offset_p, | |
16151 | m32r_legitimate_offset_addres_p, m32r_legitimate_lo_sum_addres_p, | |
16152 | m32r_load_postinc_p, m32r_store_preinc_predec_p, | |
16153 | m32r_legitimate_address_p): New functions. | |
16154 | * config/m32r/constraints.md (constraint "S"): Don't use | |
16155 | STORE_PREINC_PREDEC_P. | |
16156 | (constraint "U"): Don't use LOAD_POSTINC_P. | |
16157 | ||
7efcf910 CLT |
16158 | 2011-02-18 Chung-Lin Tang <cltang@codesourcery.com> |
16159 | ||
16160 | PR rtl-optimization/46178 | |
16161 | * ira.c (setup_hard_regno_class): Use ira_class_translate[] to | |
16162 | compute ira_hard_regno_cover_class[]. | |
16163 | ||
237d6259 RG |
16164 | 2011-02-18 Richard Guenther <rguenther@suse.de> |
16165 | ||
16166 | PR lto/47798 | |
16167 | * lto-streamer.h (lto_global_var_decls): Declare. | |
16168 | * lto-streamer-in.c (lto_register_var_decl_in_symtab): Register | |
16169 | statics for global var processing. | |
16170 | ||
12d80acc RG |
16171 | 2011-02-18 Richard Guenther <rguenther@suse.de> |
16172 | ||
16173 | PR tree-optimization/47737 | |
16174 | * tree-ssa-loop-im.c (extract_true_false_args_from_phi): Fix | |
16175 | edge dominance check. | |
16176 | ||
abfea58d JJ |
16177 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
16178 | ||
16179 | PR debug/47780 | |
16180 | * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Call copy_rtx to | |
16181 | avoid invalid rtx sharing. | |
16182 | ||
f73c8882 GP |
16183 | 2011-02-18 Gerald Pfeifer <gerald@pfeifer.com> |
16184 | ||
16185 | * doc/cpp.texi (Obsolete Features): Add background on the | |
16186 | origin of assertions. | |
16187 | ||
d764a8e6 IS |
16188 | 2011-02-17 Iain Sandoe <iains@gcc.gnu.org> |
16189 | ||
16190 | * config/darwin-c.c (darwin_cpp_builtins): Define __OBJC2__ for | |
23e0d930 | 16191 | objc_abi == 2. |
d764a8e6 IS |
16192 | * config/darwin.c (output_objc_section_asm_op): Added support for |
16193 | ABI v1 and v2. | |
16194 | (is_objc_metadata): New. | |
16195 | (darwin_objc2_section): New. | |
16196 | (darwin_objc1_section): New. | |
16197 | (machopic_select_section): Added support for ABI v1 and v2. | |
16198 | (darwin_emit_objc_zeroed): New. | |
16199 | (darwin_output_aligned_bss): Detect objc metadata and treat it | |
16200 | appropriately. | |
16201 | (darwin_asm_output_aligned_decl_common): Same. | |
16202 | (darwin_asm_output_aligned_decl_local): Same. | |
16203 | * config/darwin-sections.def: Updated for ABI v1 and v2. | |
16204 | * config/darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): When | |
16205 | compiling Objective-C code for the NeXT runtime, default to using | |
16206 | ABI version 0 for 32-bit, and version 2 for 64-bit. | |
16207 | ||
0a8134ca JM |
16208 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
16209 | ||
16210 | * common.opt (optimize_fast): New Variable. | |
16211 | * opts.c (default_options_optimization): Use opts->x_optimize_fast | |
16212 | instead of local variable ofast. | |
16213 | ||
0a256240 NP |
16214 | 2011-02-17 Nicola Pero <nicola.pero@meta-innovation.com> |
16215 | ||
16216 | * doc/invoke.texi (fobjc-abi-version): Documented. | |
16217 | (fobjc-nilcheck): Documented. | |
16218 | (fno-nil-receiver): Updated documentation to refer to the NeXT ABI | |
16219 | version. | |
16220 | ||
fa381cb2 JM |
16221 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
16222 | ||
16223 | PR driver/47390 | |
16224 | * common.opt (export-dynamic): New Driver option. | |
16225 | * gcc.c (LINK_COMMAND_SPEC): Add comment about %{e*}. | |
16226 | ||
5437eaa6 JM |
16227 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
16228 | ||
16229 | * config/rx/rx.h (LIB_SPEC): Match -msim not -msim*. | |
16230 | ||
bb7e6d55 AO |
16231 | 2011-02-17 Alexandre Oliva <aoliva@redhat.com> |
16232 | Jan Hubicka <jh@suse.cz> | |
16233 | ||
16234 | PR debug/47106 | |
16235 | PR debug/47402 | |
16236 | * cfgexpand.c (account_used_vars_for_block): Remove. | |
16237 | (estimated_stack_frame_size): Use referenced vars. | |
16238 | * tree-inline.c (remap_decl): Only mark VAR_DECLs as referenced | |
16239 | that were referenced in the original function. Test src_fn | |
16240 | rather than cfun. Drop redundant get_var_ann. | |
16241 | (setup_one_parameter): Drop redundant get_var_ann. | |
16242 | (declare_return_variable): Likewise. | |
16243 | (copy_decl_for_dup_finish): Mark VAR_DECLs referenced in src_fn. | |
16244 | (copy_arguments_for_versioning): Drop redundant get_var_ann. | |
16245 | * ipa-inline.c (compute_inline_parameters): Do not compute | |
16246 | disregard_inline_limits here. | |
bb7e6d55 AO |
16247 | (compute_inlinable_for_current, pass_inlinable): New. |
16248 | (pass_inline_parameters): Require PROP_referenced_vars. | |
16249 | * cgraphunit.c (cgraph_process_new_functions): Don't run | |
23e0d930 | 16250 | compute_inline_parameters explicitly unless function is in SSA form. |
bb7e6d55 AO |
16251 | (cgraph_analyze_function): Set .disregard_inline_limits. |
16252 | * tree-sra.c (convert_callers): Compute inliner parameters | |
16253 | only for functions already in SSA form. | |
16254 | ||
f181a8a7 JM |
16255 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
16256 | ||
16257 | * config/sparc/sparc.h (CPP_ENDIAN_SPEC): Don't handle | |
16258 | -mlittle-endian-data. | |
16259 | ||
c6869789 JM |
16260 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
16261 | ||
16262 | * config/sparc/linux64.h (OPTION_DEFAULT_SPECS): Match -mfpu and | |
16263 | -mno-fpu, not -fpu and -no-fpu. | |
16264 | * config/sparc/sol2-bi.h (OPTION_DEFAULT_SPECS): Likewise. | |
16265 | * config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Likewise. | |
16266 | ||
fbf4bfd3 UB |
16267 | 2011-02-17 Uros Bizjak <ubizjak@gmail.com> |
16268 | ||
16269 | PR target/43653 | |
16270 | * config/i386/i386.c (ix86_secondary_reload): Handle SSE | |
16271 | input reload with PLUS RTX. | |
16272 | ||
70be5dc7 JM |
16273 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
16274 | ||
16275 | * config/mips/mips.opt (mno-mdmx): Use Var(TARGET_MDMX, 0) instead | |
16276 | of InverseVar(MDMX). | |
16277 | ||
30b1646e JM |
16278 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
16279 | ||
16280 | * config/sh/embed-elf.h (LIBGCC_SPEC): Match -m4-340 instead of | |
16281 | --m4-340. | |
16282 | ||
ab7b71e9 JM |
16283 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
16284 | ||
16285 | * config/mn10300/mn10300.opt (mno-crt0): New. | |
16286 | ||
466f3f08 JM |
16287 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
16288 | ||
16289 | * config/m68k/uclinux.opt (static-libc): New Driver option. | |
16290 | ||
8226cd7b JM |
16291 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
16292 | ||
16293 | * config/m32c/m32c.h (LIB_SPEC): Match -msim not -msim*. | |
16294 | ||
45cab1d7 JM |
16295 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
16296 | ||
16297 | * config/lm32/lm32.h (ASM_SPEC): Use %{muser-enabled} instead of | |
16298 | %{muser-extend-enabled}. | |
16299 | ||
65aab64f RG |
16300 | 2011-02-16 Richard Guenther <rguenther@suse.de> |
16301 | ||
16302 | PR tree-optimization/47738 | |
16303 | * tree-ssa-loop.c (run_tree_predictive_commoning): Return | |
16304 | the TODO from tree_predictive_commoning. | |
16305 | ||
fc2fa4fb JL |
16306 | 2011-02-15 Jeff Law <law@redhat.com> |
16307 | ||
16308 | Revert | |
16309 | 2011-01-25 Jeff Law <law@redhat.com> | |
16310 | ||
16311 | PR rtl-optimization/37273 | |
16312 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
16313 | handle them like argument loads from stack slots. Do not double | |
16314 | count memory for memory constants and argument loads from stack slots. | |
16315 | ||
4e380b8e L |
16316 | 2011-02-15 H.J. Lu <hongjiu.lu@intel.com> |
16317 | ||
16318 | PR middle-end/47725 | |
16319 | * combine.c (cant_combine_insn_p): Revert the last change. | |
16320 | ||
e3a69bb4 MM |
16321 | 2011-02-15 Michael Meissner <meissner@linux.vnet.ibm.com> |
16322 | ||
16323 | PR target/47755 | |
16324 | * config/rs6000/predicates.md (easy_vector_constant): Allow V2DI | |
16325 | mode for vector constants. Remove code that checks for TImode. | |
16326 | ||
de650422 AO |
16327 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
16328 | ||
16329 | PR debug/47106 | |
16330 | PR debug/47402 | |
16331 | * cgraph.h (compute_inline_parameters): Return void. | |
16332 | * ipa-inline.c (compute_inline_parameters): Adjust. | |
16333 | ||
30925d94 AO |
16334 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
16335 | ||
16336 | PR debug/47106 | |
16337 | PR debug/47402 | |
16338 | * tree-inline.h (estimated_stack_frame_size): Take cgraph node | |
16339 | rather than decl. | |
16340 | * cfgexpand.c (estimated_stack_frame_size): Likewise. | |
16341 | * ipa-inline.c (compute_inline_parameters): Adjust. | |
16342 | ||
1b9a784a AO |
16343 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
16344 | ||
16345 | PR debug/47106 | |
16346 | PR debug/47402 | |
16347 | * tree-flow.h (FOR_EACH_REFERENCED_VAR): Add FN argument. | |
16348 | Adjust all users. Pass FN to... | |
16349 | * tree-flow-inline.h (first_referenced_var): ... this. Add | |
16350 | fn argument. | |
16351 | * ipa-struct-reorg.c: Adjust. | |
16352 | * tree-dfa.c: Adjust. | |
16353 | * tree-into-ssa.c: Adjust. | |
16354 | * tree-sra.c: Adjust. | |
16355 | * tree-ssa-alias.c: Adjust. | |
16356 | * tree-ssa-live.c: Adjust. | |
16357 | * tree-ssa.c: Adjust. | |
16358 | * tree-ssanames.c: Adjust. | |
16359 | * tree-tailcall.c: Adjust. | |
16360 | ||
27c6b086 AO |
16361 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
16362 | ||
16363 | PR debug/47106 | |
16364 | PR debug/47402 | |
16365 | * tree-flow.h (referenced_var_lookup): Add fn parameter. | |
16366 | Adjust all callers. | |
16367 | * tree-dfa.c (referenced_var_lookup): Use fn instead of cfun. | |
16368 | * tree-flow-inline.h: Adjust. | |
16369 | * gimple-pretty-print.c: Adjust. | |
16370 | * tree-into-ssa.c: Adjust. | |
16371 | * tree-ssa.c: Adjust. | |
16372 | * cfgexpand.c: Adjust. | |
16373 | ||
679e8183 NF |
16374 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
16375 | ||
fbf4bfd3 UB |
16376 | * config/iq2000/i2000.h (REG_CLASS_FROM_LETTER): Delete. |
16377 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
16378 | (EXTRA_CONSTRAINT): Delete. | |
16379 | * config/iq2000/constraints.md: New file. | |
16380 | * config/iq2000/iq2000.md: Include it. | |
679e8183 NF |
16381 | (define_insn ""): Delete. |
16382 | (movsi_internal2, movhi_internal2, movqi_internal2): Delete | |
16383 | unsupported constraint letters from patterns. | |
16384 | (call_value, call_value_internal1): Likewise. | |
16385 | (call_value_multiple_internal1): Likewise. | |
16386 | ||
a45d420a NC |
16387 | 2011-02-15 Nick Clifton <nickc@redhat.com> |
16388 | ||
16389 | * config/mn10300/mn10300.c: Include tm-constrs.h. | |
16390 | (struct liw_data): New data structure describing an LIW candidate | |
16391 | instruction. | |
16392 | (extract_bundle): Use struct liw_data. Allow small integer | |
16393 | operands for some instructions. | |
16394 | (check_liw_constraints): Use struct liw_data. Remove swapped | |
16395 | parameter. Add comments describing the checks. Fix bug when | |
16396 | assigning the source of liw1 to the source of liw2. | |
16397 | (liw_candidate): Delete. Code moved into extract_bundle. | |
16398 | (mn10300_bundle_liw): Use struct liw_data. Check constraints | |
16399 | before swapping. | |
16400 | * config/mn10300/predicates.md (liw_operand): New predicate. | |
16401 | Allows registers and small integer constants. | |
16402 | * config/mn10300/constraints.md (O): New constraint. Accetps | |
16403 | integers in the range -8 to +7 inclusive. | |
16404 | * config/mn10300/mn10300.md (movesi_internal): Add an alternative | |
16405 | for moving a small integer into a register. Give this alternative | |
16406 | LIW attributes. | |
16407 | (addsi3, subsi3, cmpsi, lshrsi3, ashrsi3): Likewise. | |
16408 | (ashlsi3): Likewise, plus give LIW attributes to the alternatives | |
16409 | using the J,K,L and M constraints, | |
16410 | (liw): Remove SI mode on second operands to allow for HI and QI | |
16411 | mode values. | |
16412 | (cmp_liw, liw_cmp): Likewise. Plus fix order of operands in the | |
16413 | instruction. | |
16414 | ||
8a73faf1 L |
16415 | 2011-02-15 H.J. Lu <hongjiu.lu@intel.com> |
16416 | ||
16417 | PR middle-end/47725 | |
16418 | * combine.c (cant_combine_insn_p): Check zero/sign extended | |
16419 | hard registers. | |
16420 | ||
48feba28 RG |
16421 | 2011-02-15 Richard Guenther <rguenther@suse.de> |
16422 | ||
16423 | PR tree-optimization/47743 | |
16424 | * tree-ssa-pre.c (phi_translate_1): If we didn't get a value-number | |
16425 | for a non-type-compatible VN lookup bail out. | |
16426 | ||
ad1c1eeb NF |
16427 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
16428 | ||
16429 | * config/fr30/constraints.md: New file. | |
16430 | * config/fr30/fr30.md: Include it. | |
16431 | * config/fr30/fr30.h (REG_CLASS_FROM_LETTER): Delete. | |
16432 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
16433 | (EXTRA_CONSTRAINT): Delete. | |
16434 | ||
49ac143d NF |
16435 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
16436 | ||
16437 | * config/frv/constraints.md: New file. | |
16438 | * config/frv/predicates.md: Include it. | |
16439 | * config/frv/frv.c (reg_class_from_letter): Delete. | |
16440 | (frv_option_override): Don't initialize it. | |
16441 | * config/frv/frv.h (REG_CLASS_FROM_LETTER): Delete. | |
16442 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_K): Delete. | |
16443 | (CONST_OK_FOR_L, CONST_OK_FOR_M, CONST_OK_FOR_N): Delete. | |
16444 | (CONST_OK_FOR_O, CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete. | |
16445 | (CONST_DOUBLE_OK_FOR_G, CONST_DOUBLE_OK_FOR_H): Delete. | |
16446 | (CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
16447 | (EXTRA_CONSTRAINT_FOR_Q, EXTRA_CONSTRAINT_FOR_R): Delete. | |
16448 | (EXTRA_CONSTRAINT_FOR_S, EXTRA_CONSTRAINT_FOR_T): Delete. | |
16449 | (EXTRA_CONSTRAINT_FOR_U, EXTRA_CONSTRAINT): Delete. | |
16450 | (EXTRA_MEMORY_CONSTRAINT, CONSTRAINT_LEN): Delete. | |
16451 | (REG_CLASS_FROM_CONSTRAINT): Delete. | |
16452 | ||
c95f9494 JJ |
16453 | 2011-02-15 Jakub Jelinek <jakub@redhat.com> |
16454 | ||
16455 | PR middle-end/47581 | |
16456 | * config/i386/i386.c (ix86_compute_frame_size): Don't align offset | |
16457 | if frame size is 0 in a leaf function. | |
16458 | ||
13aed611 RO |
16459 | 2011-02-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16460 | ||
16461 | PR pch/14940 | |
16462 | * config/alpha/host-osf.c: New file. | |
16463 | * config/alpha/x-osf: New file. | |
16464 | * config.host (alpha*-dec-osf*): Use it. | |
16465 | ||
b09c3081 AS |
16466 | 2011-02-14 Anatoly Sokolov <aesok@post.ru> |
16467 | ||
16468 | * config/rx/rx.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
16469 | * config/rx/rx-protos.h (rx_is_mode_dependent_addr): Remove. | |
16470 | * config/xtensa/xtensa.c (rx_is_mode_dependent_addr): Rename to... | |
16471 | (rx_mode_dependent_address_p): ...this. Make static. Change argument | |
16472 | type to const_rtx. | |
16473 | (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
16474 | ||
d634083b NF |
16475 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
16476 | ||
16477 | * config/stormy16/constraints.md: New file. | |
16478 | * config/stormy16/predicates.md (nonimmediate_nonstack_operand): | |
16479 | Use satisfies_constraint_Q and satisfies_constraint_R. | |
16480 | * config/stormy16/stomry16-protos.h (xstormy16_extra_constraint_p): | |
16481 | Delete. | |
16482 | (xstormy16_legitiamte_address_p): Declare. | |
16483 | * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Delete. | |
16484 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
16485 | (EXTRA_CONSTRAINT): Delete. | |
fbf4bfd3 | 16486 | * config/stormy16/stormy16.c (xstormy16_legitimate_address_p): |
d634083b NF |
16487 | Un-staticize. |
16488 | (xstormy16_extra_constraint_p): Delete. | |
16489 | ||
c7dd803e EB |
16490 | 2011-02-14 Eric Botcazou <ebotcazou@adacore.com> |
16491 | ||
16492 | PR tree-optimization/46494 | |
16493 | * loop-unroll.c (split_edge_and_insert): Adjust comment. | |
16494 | * loop-init.c (loop_optimizer_finalize): Do not call verify_flow_info. | |
16495 | (pass_rtl_loop_done): Add TODO_verify_flow. | |
16496 | * fwprop.c (pass_rtl_fwprop): Likewise. | |
16497 | * modulo-sched.c (pass_sms): Likewise. | |
16498 | * tree-ssa-dom.c (pass_dominator): Likewise. | |
16499 | * tree-ssa-loop-ch.c (pass_ch): Likewise. | |
16500 | * tree-ssa-loop.c (pass_complete_unrolli): Likewise. | |
16501 | (pass_tree_loop_done): Likewise. | |
16502 | * tree-ssa-pre.c (execute_pre): Likewise. | |
16503 | * tree-ssa-reassoc.c (pass_reassoc): Likewise. | |
16504 | * tree-ssa-sink.c (pass_sink_code): Likewise. | |
16505 | * tree-vrp.c (pass_vrp): Likewise. | |
16506 | ||
c6150df6 NF |
16507 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
16508 | ||
c7dd803e EB |
16509 | * config/v850/constraints.md: New file. |
16510 | * config/v850/v850.md: Include it. | |
16511 | * config/v850/predicates.md (reg_or_0_operand): Use | |
16512 | satisfies_constraint_G. | |
16513 | (special_symbolref_operand): Use satisfies_constraint_K. | |
16514 | * config/v850/v850.h (CONSTANT_ADDRESS_P): Use constraint_satisfied_p. | |
16515 | (GO_IF_LEGITIMATE_ADDRESS): Likewise. | |
16516 | (REG_CLASS_FROM_LETTER, INT_7_BITS, INT_8_BITS): Delete. | |
16517 | (CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete. | |
16518 | (EXTRA_CONSTRAINT): Delete. | |
16519 | (CONST_OK_FOR_I, CONST_OK_FOR_J): Use insn_const_int_ok_for_constraint. | |
16520 | (CONST_OK_FOR_K, CONST_OK_FOR_L, CONST_OK_FOR_M): Likewise. | |
16521 | (CONST_OK_FOR_N, CONST_OK_FOR_O): Likewise. | |
c6150df6 | 16522 | |
30dd1ea3 AS |
16523 | 2011-02-14 Anatoly Sokolov <aesok@post.ru> |
16524 | ||
16525 | PR target/47696 | |
16526 | * config/avr/avr-devices.c (avr_mcu_types): Fix ATmega2560 device | |
16527 | description. | |
16528 | ||
944f4bb3 NF |
16529 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
16530 | ||
16531 | * config/mcore/constraints.md: New file. | |
16532 | * config/mcore/mcore.md: Include it. | |
16533 | * config/mcore/mcore.c (reg_class_from_letter): Delete. | |
16534 | * config/mcore/mcore.h (reg_class_from_letter): Delete. | |
16535 | (REG_CLASS_FROM_LETTER): Delete. | |
16536 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Use | |
16537 | insn_const_int_ok_for_constraint. | |
16538 | (CONST_OK_FOR_K, CONST_OK_FOR_M, CONST_OK_FOR_N): Likewise. | |
16539 | (CONST_OK_FOR_O, CONST_OK_FOR_P): Likewise. | |
16540 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
16541 | (EXTRA_CONSTRAINT): Delete. | |
16542 | ||
ad56a54c RO |
16543 | 2011-02-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16544 | ||
16545 | PR ada/41929 | |
16546 | * config/sparc/sol2-unwind.h: Include <sys/frame.h>, <sys/stack.h> | |
16547 | (IS_SIGHANDLER): Define. | |
16548 | (sparc64_is_sighandler): New function, split off from | |
16549 | sparc64_fallback_frame_state. | |
16550 | (sparc_is_sighandler): New function, split off from | |
16551 | sparc_fallback_frame_state. | |
16552 | (sparc64_fallback_frame_state): Merge with ... | |
16553 | (sparc_fallback_frame_state): ... this into ... | |
16554 | (MD_FALLBACK_FRAME_STATE_FOR): ... this. | |
fbf4bfd3 UB |
16555 | Change new_cfa to long. Remove regs_off, fpu_save_off, fpu_save. |
16556 | Define nframes, mctx. Use IS_SIGHANDLER, handler_args, mctx, walk | |
16557 | stack instead of hardcoded offsets. | |
ad56a54c | 16558 | |
fbf4bfd3 | 16559 | 2011-02-14 Andriy Gapon <avg@freebsd.org> |
67932abf AG |
16560 | |
16561 | PR target/45808 | |
16562 | * config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case. | |
16563 | ||
029c8f3e RW |
16564 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
16565 | ||
16566 | * configure: Regenerate. | |
16567 | ||
a016dc83 JM |
16568 | 2011-02-12 Joseph Myers <joseph@codesourcery.com> |
16569 | ||
16570 | PR driver/45731 | |
16571 | * gcc.c (asm_options): Correct spec matching --target-help. | |
16572 | ||
8957a0ec MJ |
16573 | 2011-02-12 Martin Jambor <mjambor@suse.cz> |
16574 | ||
16575 | * tree-cfg.c (verify_gimple_call): Return true upon invalid argument | |
16576 | to gimple call error. | |
16577 | ||
6ef828bc MS |
16578 | 2011-02-12 Mike Stump <mikestump@comcast.net> |
16579 | ||
16580 | * config/frv/frv.h (TRANSFER_FROM_TRAMPOLINE): Canonicalize | |
16581 | comments in backslash regions. | |
16582 | ||
a4015be5 MS |
16583 | 2011-02-12 Mike Stump <mikestump@comcast.net> |
16584 | Jakub Jelinek <jakub@redhat.com> | |
16585 | Iain Sandoe <iains@gcc.gnu.org> | |
16586 | ||
16587 | PR target/47324 | |
16588 | * dwarf2out.c (output_cfa_loc): When required, apply the | |
16589 | DWARF2_FRAME_REG_OUT macro to adjust register numbers. | |
16590 | (output_loc_sequence): Likewise. | |
16591 | (output_loc_operands_raw): Likewise. | |
16592 | (output_loc_sequence_raw): Likewise. | |
16593 | (output_cfa_loc): Likewise. | |
16594 | (output_loc_list): Suppress register number adjustment when | |
16595 | calling output_loc_sequence() | |
16596 | (output_die): Likewise. | |
16597 | ||
5378dda2 AS |
16598 | 2011-02-12 Anatoly Sokolov <aesok@post.ru> |
16599 | ||
16600 | * config/xtensa/xtensa.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): | |
16601 | Remove macros. | |
16602 | * config/xtensa/xtensa.c (xtensa_register_move_cost, | |
16603 | xtensa_memory_move_cost): New functions. | |
16604 | (TARGET_REGISTER_MOVE_COST, TARGET_REGISTER_MOVE_COST): Define. | |
16605 | ||
f3d533d3 AO |
16606 | 2011-02-12 Alexandre Oliva <aoliva@redhat.com> |
16607 | ||
16608 | PR lto/47225 | |
16609 | * configure.ac (gcc_cv_lto_plugin): Test for liblto_plugin.la | |
16610 | in the current directory. | |
16611 | * configure: Rebuilt. | |
16612 | ||
9d53403c IS |
16613 | 2011-02-12 Iain Sandoe <iains@gcc.gnu.org> |
16614 | ||
16615 | * config/darwin.c (darwin_override_options): Add a hunk missed | |
fbf4bfd3 | 16616 | from the commit of r168571. Trim comment line lengths and |
9d53403c IS |
16617 | correct indents of the preceding block. |
16618 | ||
a350a6c8 IS |
16619 | 2011-02-12 Iain Sandoe <iains@gcc.gnu.org> |
16620 | ||
16621 | * gcc.c (driver_handle_option): Concatenate the argument to -F with | |
16622 | the switch. | |
16623 | ||
bab79a40 JM |
16624 | 2011-02-11 Joseph Myers <joseph@codesourcery.com> |
16625 | ||
16626 | * common.opt (nostartfiles): New Driver option. | |
16627 | ||
1bbc6693 XDL |
16628 | 2011-02-11 Xinliang David Li <davidxl@google.com> |
16629 | ||
16630 | PR tree-optimization/47707 | |
16631 | * tree-chrec.c (convert_affine_scev): Keep type precision. | |
16632 | ||
1da7d8c0 EB |
16633 | 2011-02-11 Eric Botcazou <ebotcazou@adacore.com> |
16634 | ||
16635 | PR tree-optimization/47420 | |
16636 | * ipa-split.c (visit_bb): Punt on any kind of GIMPLE_RESX. | |
16637 | ||
16638 | 2011-02-11 Pat Haugen <pthaugen@us.ibm.com> | |
3f82421f PH |
16639 | |
16640 | PR rtl-optimization/47614 | |
16641 | * rtl.h (check_for_inc_dec): Declare. | |
16642 | * dse.c (check_for_inc_dec): Externalize... | |
16643 | * postreload.c (reload_cse_simplify): ...use it before deleting stmt. | |
16644 | (reload_cse_simplify_operands): Don't simplify opnds with side effects. | |
16645 | ||
4df47bca JM |
16646 | 2011-02-11 Joseph Myers <joseph@codesourcery.com> |
16647 | ||
16648 | PR driver/47678 | |
16649 | * gcc.c (main): Do not compile inputs if there were errors in | |
16650 | option handling. | |
16651 | * opts-common.c (read_cmdline_option): Check for wrong language | |
16652 | after other error checks. | |
16653 | ||
61502ca8 NF |
16654 | 2011-02-11 Nathan Froyd <froydnj@codesourcery.com> |
16655 | ||
16656 | * cgraph.c: Fix comment typos. | |
16657 | * cgraph.h: Likewise. | |
16658 | * cgraphunit.c: Likewise. | |
16659 | * ipa-cp.c: Likewise. | |
16660 | * ipa-inline.c: Likewise. | |
16661 | * ipa-prop.c: Likewise. | |
16662 | * ipa-pure-const.c: Likewise. | |
16663 | * ipa-ref.c: Likewise. | |
16664 | * ipa-reference.c: Likewise. | |
16665 | ||
b63f974e JJ |
16666 | 2011-02-11 Jakub Jelinek <jakub@redhat.com> |
16667 | ||
d50c5e0c JJ |
16668 | PR debug/47684 |
16669 | * tree-predcom.c (single_nonlooparound_use): Ignore debug uses. | |
b63f974e | 16670 | |
6dd2a13c RO |
16671 | 2011-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16672 | ||
16673 | PR testsuite/47400 | |
16674 | * doc/sourcebuild.texi (Require Support): Document | |
16675 | dg-require-ascii-locale. | |
16676 | ||
4a087ccf MX |
16677 | 2011-02-11 Mingjie Xing <mingjie.xing@gmail.com> |
16678 | ||
16679 | * doc/lto.texi (Write summary): Fix missing parentheses. | |
16680 | ||
a4403164 DD |
16681 | 2011-02-10 DJ Delorie <dj@redhat.com> |
16682 | ||
16683 | * config/m32c/m32c.c (m32c_option_override): Disable | |
16684 | -fcombine-stack-adjustments until flag value tracking and compare | |
16685 | optimization can be rewritten. | |
16686 | ||
4fac45bd PB |
16687 | 2011-02-10 Peter Bergner <bergner@vnet.ibm.com> |
16688 | ||
16689 | * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Change to | |
16690 | PROCESSOR_POWER7. | |
16691 | (PROCESSOR_DEFAULT64): Likewise. | |
16692 | ||
72602cd1 RH |
16693 | 2011-02-10 Richard Henderson <rth@redhat.com> |
16694 | ||
16695 | * config/rx/predicates.md (rx_zs_comparison_operator): Revert | |
16696 | change from 2011-02-03. | |
16697 | * config/rx/rx.c (flags_from_code): Likewise. | |
16698 | (rx_print_operand) ['B']: For LT/GE, use lt/ge if overflow flag | |
16699 | is valid, n/pz otherwise. | |
16700 | (rx_select_cc_mode): Return CCmode if Y is not zero. | |
16701 | ||
ea57f573 RG |
16702 | 2011-02-10 Richard Guenther <rguenther@suse.de> |
16703 | ||
ea4c3e65 | 16704 | * tree-ssa-structalias.c (bitpos_of_field): Use BITS_PER_UNIT, not 8. |
ea57f573 | 16705 | |
92b1d23b RG |
16706 | 2011-02-10 Richard Guenther <rguenther@suse.de> |
16707 | ||
16708 | PR tree-optimization/47677 | |
16709 | * tree-vrp.c (vrp_bitmap_equal_p): Fix comparison of empty bitmaps. | |
16710 | ||
525a2d06 JJ |
16711 | 2011-02-10 Jakub Jelinek <jakub@redhat.com> |
16712 | ||
16713 | PR target/47665 | |
16714 | * combine.c (make_compound_operation): Only change shifts into | |
16715 | multiplication for SCALAR_INT_MODE_P. | |
16716 | ||
06c969bd JZ |
16717 | 2011-02-10 Jie Zhang <jie@codesourcery.com> |
16718 | ||
16719 | PR testsuite/47622 | |
16720 | Revert | |
16721 | 2011-02-05 Jie Zhang <jie@codesourcery.com> | |
16722 | PR debug/42631 | |
16723 | * web.c (entry_register): Don't clobber the number of the | |
16724 | first uninitialized reference in used[]. | |
16725 | ||
282ec48e RG |
16726 | 2011-02-09 Richard Guenther <rguenther@suse.de> |
16727 | ||
16728 | PR tree-optimization/47664 | |
16729 | * ipa-inline.c (cgraph_decide_inlining_incrementally): Visit | |
16730 | all edges again. | |
16731 | ||
df98c3e8 DE |
16732 | 2011-02-09 David Edelsohn <dje.gcc@gmail.com> |
16733 | ||
d0f21cd6 DE |
16734 | PR target/46481 |
16735 | PR target/47032 | |
df98c3e8 DE |
16736 | * config/rs6000/aix61.h (PROCESSOR_DEFAULT): Change to |
16737 | PROCESSOR_POWER7. | |
16738 | (PROCESSOR_DEFAULT64): Same. | |
16739 | (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Delete. | |
16740 | ||
67b6839f RO |
16741 | 2011-02-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16742 | ||
16743 | * config/mips/iris6.h (TARGET_C99_FUNCTIONS): Define. | |
16744 | ||
4fd73214 MJ |
16745 | 2011-02-09 Martin Jambor <mjambor@suse.cz> |
16746 | ||
16747 | PR middle-end/45505 | |
16748 | * tree-sra.c (struct access): New flags grp_scalar_read and | |
16749 | grp_scalar_write. Changed description of assignment read and write | |
16750 | flags. | |
16751 | (dump_access): Dump new flags, reorder all of them. | |
16752 | (sort_and_splice_var_accesses): Set the new flag accordingly, use them | |
16753 | to detect multiple scalar reads. | |
16754 | (analyze_access_subtree): Use the new scalar read write flags instead | |
16755 | of the old flags. Adjusted comments. | |
16756 | ||
91140cd3 DD |
16757 | 2011-02-08 DJ Delorie <dj@redhat.com> |
16758 | ||
16759 | PR target/47548 | |
16760 | * config/m32c/m32c.c (m32c_subreg): Don't try to validate interim | |
16761 | patterns. | |
16762 | ||
4254bbfe JM |
16763 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
16764 | ||
16765 | * config/m68k/uclinux.opt: New. | |
16766 | * config.gcc (m68k-*-uclinux*): Use m68k/uclinux.opt. | |
16767 | ||
f1fda84e JM |
16768 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
16769 | ||
16770 | * config/cris/elf.opt (sim): New Driver option. | |
16771 | ||
4933ae74 JM |
16772 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
16773 | ||
16774 | * config/xtensa/elf.opt: New. | |
16775 | * config.gcc (xtensa*-*-elf*): Use xtensa/elf.opt. | |
16776 | ||
4ad70280 JM |
16777 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
16778 | ||
16779 | * config/vax/elf.opt: New. | |
16780 | * config.gcc (vax-*-linux*, vax-*-netbsdelf*): Use vax/elf.opt. | |
16781 | ||
20893707 JM |
16782 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
16783 | ||
16784 | * config/rs6000/aix64.opt (posix, pthread): New Driver options. | |
16785 | ||
b8e7038e JM |
16786 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
16787 | ||
16788 | * config/gnu-user.opt: New. | |
16789 | * config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | | |
16790 | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu, | |
16791 | *-*-uclinux*): Use gnu-user.opt. | |
16792 | ||
e1c5225a TS |
16793 | 2011-02-08 Thomas Schwinge <thomas@schwinge.name> |
16794 | ||
16795 | * config/gnu.h (CPP_SPEC, LIB_SPEC): Remove handling of -bsd option. | |
16796 | * config/i386/gnu.h (CPP_SPEC): Likewise. | |
16797 | ||
5e46b0c6 ILT |
16798 | 2011-02-08 Ian Lance Taylor <iant@google.com> |
16799 | ||
16800 | * common.opt (fcx-limited-range): Add SetByCombined flag. | |
16801 | (ffinite-math-only, fmath-errno, frounding-math): Likewise. | |
16802 | (fsignaling-nans, fsigned-zeros, ftrapping-math): Likewise. | |
16803 | (fassociative-math, freciprocal-math): Likewise. | |
16804 | (funsafe-math-optimizations): Likewise. | |
16805 | * opth-gen.awk: Handle SetByCombined. | |
16806 | * optc-gen.awk: Likewise. | |
ea4c3e65 | 16807 | * opts.c (set_fast_math_flags): Don't override flag if set by frontend. |
5e46b0c6 ILT |
16808 | (set_unsafe_math_optimizations_flags): Likewise. |
16809 | * doc/options.texi (Option properties): Document SetByCombined. | |
16810 | ||
32243d46 JM |
16811 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
16812 | ||
16813 | * config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*, | |
16814 | i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe, | |
16815 | m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*, | |
16816 | m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*, | |
16817 | sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete. | |
16818 | ||
479c1fb3 SP |
16819 | 2011-02-08 Sebastian Pop <sebastian.pop@amd.com> |
16820 | ||
16821 | PR tree-optimization/46834 | |
16822 | PR tree-optimization/46994 | |
16823 | PR tree-optimization/46995 | |
16824 | * graphite-sese-to-poly.c (used_outside_reduction): New. | |
16825 | (detect_commutative_reduction): Call used_outside_reduction. | |
16826 | (rewrite_commutative_reductions_out_of_ssa_close_phi): Call | |
16827 | translate_scalar_reduction_to_array only when at least one | |
16828 | loop-phi/close-phi tuple has been detected. | |
16829 | ||
3865a06f RG |
16830 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
16831 | ||
16832 | PR middle-end/47639 | |
16833 | * tree-vect-generic.c (expand_vector_operations_1): Update | |
16834 | stmts here ... | |
16835 | (expand_vector_operations): ... not here. Cleanup EH info | |
16836 | and the CFG if required. | |
16837 | ||
62902f3f RG |
16838 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
16839 | ||
16840 | PR tree-optimization/47641 | |
16841 | * tree-ssa.c (execute_update_addresses_taken): For asm outputs | |
16842 | require type compatibility. | |
16843 | ||
0efb9d64 AK |
16844 | 2011-02-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
16845 | ||
16846 | * gimple-low.c (lower_function_body): Don't remove the location of | |
16847 | the return statement here. | |
16848 | (lower_gimple_return): Do it here instead but only if the return | |
16849 | statement is actually used twice. | |
16850 | ||
034b8ae4 RG |
16851 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
16852 | ||
16853 | PR tree-optimization/47632 | |
16854 | * tree-ssa-forwprop.c (remove_prop_source_from_use): Remove | |
16855 | unused up_to_stmt parameter, return whether cfg-cleanup is | |
16856 | necessary, remove EH info properly. | |
16857 | (forward_propagate_into_gimple_cond): Adjust caller. | |
16858 | (forward_propagate_into_cond): Likewise. | |
16859 | (forward_propagate_comparison): Likewise. | |
16860 | (tree_ssa_forward_propagate_single_use_vars): Make | |
16861 | forward_propagate_comparison case similar to the two others. | |
16862 | ||
298362c8 NC |
16863 | 2011-02-08 Nick Clifton <nickc@redhat.com> |
16864 | ||
16865 | * config/mn10300/mn10300.opt (mliw): New command line option. | |
16866 | * config/mn10300/mn10300.md (UNSPEC_LIW): New unspec. | |
16867 | (liw_bundling): New automaton. | |
16868 | (liw): New attribute. | |
16869 | (liw_op): New attribute. | |
16870 | (liw_op1, liw_op2, liw_both, liw_either): New reservations. | |
16871 | (movsi_internal): Add LIW attributes. | |
16872 | (andsi3): Likewise. | |
16873 | (iorsi3): Likewise. | |
16874 | (xorsi3): Likewise. | |
16875 | (addsi3): Separate register and immediate alternatives. | |
16876 | Add LIW attributes. | |
16877 | (subsi3): Likewise. | |
16878 | (cmpsi): Likewise. | |
16879 | (aslsi3): Likewise. | |
16880 | (lshrsi3): Likewise. | |
16881 | (ashrsi3): Likewise. | |
16882 | (liw): New pattern. | |
16883 | * config/mn10300/mn10300.c (liw_op_names): New | |
16884 | (mn10300_print_operand): Handle 'W' operand descriptor. | |
16885 | (extract_bundle): New function. | |
16886 | (check_liw_constraints): New function. | |
16887 | (liw_candidate): New function. | |
16888 | (mn10300_bundle_liw): New function. | |
16889 | (mn10300_reorg): New function. | |
16890 | (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
16891 | (TARGET_DEFAULT_TARGET_FLAGS): Add MASK_ALLOW_LIW. | |
16892 | * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Define | |
16893 | __LIW__ or __NO_LIW__. | |
16894 | * doc/invoke.texi: Describe the -mliw command line option. | |
16895 | ||
90488014 JDA |
16896 | 2011-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
16897 | ||
16898 | * config.gcc (hppa[12]*-*-hpux11*): Don't set extra_parts. | |
16899 | * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, | |
16900 | pthread_mutex_unlock): Remove. | |
16901 | * config/pa/t-pa-hpux11: Remove rules to build pthread stubs. | |
16902 | * config/pa/t-pa64: Likewise. | |
16903 | * config/pa/pa64-hpux.h (LIB_SPEC): In static links, link against | |
16904 | shared libc if not linking against libpthread. | |
16905 | * config/pa/pa-hpux11.h (LIB_SPEC): Likewise. | |
16906 | ||
689ff841 IS |
16907 | 2011-02-07 Iain Sandoe <iains@gcc.gnu.org> |
16908 | ||
16909 | PR target/47558 | |
16910 | * config/darwin10.h (LINK_GCC_C_SEQUENCE_SPEC): Put -lSystem first | |
16911 | on 10.6 and later to ensure that we always use the unwinder from | |
16912 | the system. Only add -no_compact_unwind when tarteting darwin | |
16913 | 10.6 or later. | |
16914 | ||
821014aa SE |
16915 | 2011-02-07 Steve Ellcey <sje@cup.hp.com> |
16916 | ||
16917 | PR target/46997 | |
16918 | * vect.md (vec_interleave_highv2sf): Change fmix for TARGET_BIG_ENDIAN. | |
16919 | (vec_interleave_lowv2sf): Ditto. | |
16920 | (vec_extract_evenv2sf): Add TARGET_BIG_ENDIAN check. | |
16921 | (vec_extract_oddv2sf): Ditto. | |
16922 | ||
41cf94fb MS |
16923 | 2011-02-07 Mike Stump <mikestump@comcast.net> |
16924 | ||
62dea57d | 16925 | PR target/42333 |
41cf94fb MS |
16926 | Add __ieee_divdc3 entry point. |
16927 | * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Retain ___divdc3 | |
16928 | entry point. | |
16929 | (SUBTARGET_INIT_BUILTINS): Call darwin_rename_builtins. | |
16930 | * config/i386/i386.c (TARGET_INIT_LIBFUNCS): Likewise. | |
16931 | * config/darwin.c (darwin_rename_builtins): Add. | |
16932 | * config/darwin-protos.h (darwin_rename_builtins): Add. | |
16933 | ||
ee09a3dd MM |
16934 | 2011-02-07 Michael Meissner <meissner@linux.vnet.ibm.com> |
16935 | ||
16936 | PR target/47636 | |
16937 | * config/rs6000/rs6000.md (rsqrt<mode>2): Use the correct macro | |
16938 | for the condition. | |
16939 | ||
83296cd0 MS |
16940 | 2011-02-07 Mike Stump <mikestump@comcast.net> |
16941 | ||
ea4c3e65 | 16942 | * config/darwin.opt (mmacosx-version-min): Update default OS version. |
83296cd0 | 16943 | |
0f4e946f DC |
16944 | 2011-02-07 Denis Chertykov <chertykov@gmail.com> |
16945 | ||
16946 | PR target/47534 | |
16947 | * config/avr/libgcc.S (exit): Move .endfunc | |
16948 | ||
1ec87690 RG |
16949 | 2011-02-07 Richard Guenther <rguenther@suse.de> |
16950 | ||
16951 | PR tree-optimization/47615 | |
16952 | * tree-ssa-sccvn.h (run_scc_vn): Take a vn-walk mode argument. | |
16953 | * tree-ssa-sccvn.c (default_vn_walk_kind): New global. | |
16954 | (run_scc_vn): Initialize it. | |
16955 | (visit_reference_op_load): Use it. | |
16956 | * tree-ssa-pre.c (execute_pre): Use VN_WALK if in PRE. | |
16957 | ||
b46ae6da UW |
16958 | 2011-02-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
16959 | ||
16960 | * config/spu/spu.c (spu_init_libfuncs): Install SImode and | |
16961 | DImode trapping arithmetic libfuncs. | |
16962 | ||
c0aae19c RG |
16963 | 2011-02-07 Richard Guenther <rguenther@suse.de> |
16964 | ||
16965 | PR tree-optimization/47621 | |
16966 | * tree-ssa.c (non_rewritable_lvalue_p): New function, split out from | |
16967 | two duplicates ... | |
16968 | (execute_update_addresses_taken): ... here. Make it more | |
16969 | conservative in what we accept. | |
16970 | ||
295d926b JM |
16971 | 2011-02-06 Joseph Myers <joseph@codesourcery.com> |
16972 | ||
16973 | * config/sparc/freebsd.h (ASM_SPEC): Define. | |
16974 | * config/sparc/vxworks.h (ASM_SPEC): Define. | |
16975 | ||
bdeb2471 JM |
16976 | 2011-02-06 Joseph Myers <joseph@codesourcery.com> |
16977 | ||
16978 | * config/sparc/sol2-bi.h (CC1_SPEC): Remove %{sun4:} %{target:}. | |
16979 | ||
d5d3781a SB |
16980 | 2011-02-06 Steven Bosscher <steven@gcc.gnu.org> |
16981 | ||
16982 | * doc/invoke.texi: Remove reference to compiler internals from | |
16983 | user documentation. | |
16984 | ||
16985 | * reg-notes.def: Remove REG_VALUE_PROFILE. | |
16986 | * combine.c (distribute_notes): Do not handle REG_VALUE_PROFILE. | |
16987 | ||
c42c09fc JJ |
16988 | 2011-02-05 Jakub Jelinek <jakub@redhat.com> |
16989 | ||
16990 | PR middle-end/47610 | |
16991 | * varasm.c (default_section_type_flags): If decl is NULL, | |
38be4072 | 16992 | and name is .data.rel.ro or .data.rel.ro.local, set SECTION_RELRO bit. |
c42c09fc | 16993 | |
beea2755 JZ |
16994 | 2011-02-05 Jie Zhang <jie@codesourcery.com> |
16995 | ||
16996 | PR debug/42631 | |
16997 | * web.c (entry_register): Don't clobber the number of the | |
16998 | first uninitialized reference in used[]. | |
16999 | ||
a130584a SP |
17000 | 2011-02-04 Sebastian Pop <sebastian.pop@amd.com> |
17001 | ||
17002 | PR tree-optimization/46194 | |
17003 | * tree-data-ref.c (analyze_miv_subscript): Remove comment. | |
17004 | (build_classic_dist_vector_1): Do not represent classic distance | |
17005 | vectors when the access functions are variating in different loops. | |
17006 | ||
962101ac JM |
17007 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
17008 | ||
17009 | * config/mips/iris6.opt: New. | |
17010 | * config.gcc (mips-sgi-irix6.5*): Use mips/iris6.opt. | |
17011 | ||
55eaaa5b RH |
17012 | 2011-02-04 Richard Henderson <rth@redhat.com> |
17013 | Steve Ellcey <sje@cup.hp.com> | |
17014 | ||
17015 | PR target/46997 | |
17016 | * config/ia64/predicates.md (mux1_brcst_element): New. | |
17017 | * config/ia64/ia64-protos.h (ia64_unpack_assemble): New. | |
17018 | * config/ia64/ia64.c (ia64_unpack_assemble): New. | |
17019 | (ia64_unpack_sign): New. | |
17020 | (ia64_expand_unpack): Rewrite using new routines. | |
17021 | (ia64_expand_widen_sum): Ditto. | |
17022 | (ia64_expand_dot_prod_v8qi): Ditto. | |
17023 | * config/ia64/vect.md (mulv8qi3): Rewrite to use new | |
17024 | routines, add endian check. | |
17025 | (pmpy2_even): Rename from pmpy2_r, add endian check. | |
17026 | (pmpy2_odd): Rename from pmpy2_l, add endian check. | |
17027 | (vec_widen_smult_lo_v4hi): Rewrite using new routines. | |
17028 | (vec_widen_smult_hi_v4hi): Ditto. | |
17029 | (vec_widen_umult_lo_v4hi): Ditto. | |
17030 | (vec_widen_umult_hi_v4hi): Ditto. | |
17031 | (mulv2si3): Change endian checks. | |
17032 | (sdot_prodv4hi): Rewrite with new calls. | |
17033 | (udot_prodv4hi): New. | |
17034 | (vec_pack_ssat_v4hi): Add endian check. | |
17035 | (vec_pack_usat_v4hi): Ditto. | |
17036 | (vec_pack_ssat_v2si): Ditto. | |
17037 | (max1_even): Rename from max1_r, add endian check. | |
17038 | (max1_odd): Rename from max1_l, add endian check. | |
17039 | (*mux1_rev): Format change. | |
17040 | (*mux1_mix): Ditto. | |
17041 | (*mux1_shuf): Ditto. | |
17042 | (*mux1_alt): Ditto. | |
17043 | (*mux1_brcst_v8qi): Use new predicate. | |
17044 | (vec_extract_evenv8qi): Remove endian check. | |
17045 | (vec_extract_oddv8qi): Ditto. | |
17046 | (vec_interleave_lowv4hi): Format change. | |
17047 | (vec_interleave_highv4hi): Ditto. | |
17048 | (mix2_even): Rename from mix2_r, add endian check. | |
17049 | (mix2_odd): Rename from mux2_l, add endian check. | |
17050 | (*mux2): Fix mask setting for TARGET_BIG_ENDIAN. | |
17051 | (vec_extract_evenodd_helper): Format change. | |
17052 | (vec_extract_evenv4hi): Remove endian check. | |
17053 | (vec_extract_oddv4hi): Remove endian check. | |
17054 | (vec_interleave_lowv2si): Format change. | |
17055 | (vec_interleave_highv2si): Format change. | |
17056 | (vec_initv2si): Remove endian check. | |
17057 | (vecinit_v2si): Add endian check. | |
17058 | (reduc_splus_v2sf): Add endian check. | |
17059 | (reduc_smax_v2sf): Ditto. | |
17060 | (reduc_smin_v2sf): Ditto. | |
17061 | (vec_initv2sf): Remove endian check. | |
17062 | (fpack): Add endian check. | |
17063 | (fswap): Add endian check. | |
17064 | (vec_interleave_highv2sf): Add endian check. | |
17065 | (vec_interleave_lowv2sf): Add endian check. | |
17066 | (fmix_lr): Add endian check. | |
17067 | (vec_setv2sf): Format change. | |
17068 | (*vec_extractv2sf_0_be): Use shift to extract operand. | |
17069 | (*vec_extractv2sf_1_be): New. | |
17070 | (vec_pack_trunc_v4hi): Add endian check. | |
17071 | (vec_pack_trunc_v2si): Format change. | |
17072 | ||
dcde5957 JJ |
17073 | 2011-02-04 Jakub Jelinek <jakub@redhat.com> |
17074 | ||
17075 | PR inline-asm/23200 | |
17076 | * tree-ssa-ter.c (is_replaceable_p): Add TER argument. Don't | |
38be4072 | 17077 | do bb, locus and block comparison and disallow loads if it is not set. |
dcde5957 JJ |
17078 | (stmt_is_replaceable_p): New function. |
17079 | (process_replaceable, find_replaceable_in_bb): Adjust is_replaceable_p | |
17080 | callers. | |
17081 | * expr.c (expand_expr_real_1) <case SSA_NAME>: If | |
17082 | get_gimple_for_ssa_name try for EXPAND_INITIALIZER harder to use | |
17083 | SSA_NAME_DEF_STMT. | |
17084 | * tree-flow.h (stmt_is_replaceable_p): New prototype. | |
17085 | ||
a64a8e5a JM |
17086 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
17087 | ||
17088 | * config/rs6000/xilinx.opt: New. | |
17089 | * config.gcc (powerpc-xilinx-eabi*): Use rs6000/xilinx.opt. | |
17090 | ||
4da2ed2f JM |
17091 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
17092 | ||
17093 | * config/mips/mips.opt (EB, EL, noasmopt): New Driver options. | |
17094 | ||
a6e508f9 AS |
17095 | 2011-02-03 Anatoly Sokolov <aesok@post.ru> |
17096 | ||
17097 | * config/xtensa/xtensa.h (PREFERRED_RELOAD_CLASS, | |
17098 | PREFERRED_OUTPUT_RELOAD_CLASS): Remove. | |
17099 | * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class, | |
17100 | secondary_reload_info, xtensa_secondary_reload): Remove. | |
17101 | * config/xtensa/xtensa.c (TARGET_PREFERRED_RELOAD_CLASS, | |
17102 | TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. | |
17103 | (xtensa_preferred_reload_class): Make static. Change return and | |
17104 | 'rclass' argument type to reg_class_t. Remove 'isoutput' argument. | |
17105 | Use CONST_DOUBLE_P predicate. | |
17106 | (xtensa_preferred_output_reload_class): New function. | |
17107 | (xtensa_secondary_reload): Make static. | |
17108 | ||
82dc0de3 JM |
17109 | 2011-02-03 Joseph Myers <joseph@codesourcery.com> |
17110 | ||
17111 | * config/microblaze/microblaze.opt (Zxl-mode-bootstrap, | |
17112 | Zxl-mode-executable, Zxl-mode-novectors, Zxl-mode-xilkernel, | |
17113 | Zxl-mode-xmdstub, mxl-mode-xilkernel): New Driver options. | |
17114 | ||
7fece979 JJ |
17115 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
17116 | ||
17117 | PR middle-end/31490 | |
17118 | * output.h (SECTION_RELRO): Define. | |
17119 | (SECTION_MACH_DEP): Adjust. | |
17120 | (get_variable_section): New prototype. | |
17121 | * varpool.c (varpool_finalize_named_section_flags): New function. | |
17122 | (varpool_assemble_pending_decls): Call it. | |
17123 | * cgraph.h (varpool_finalize_named_section_flags): New prototype. | |
17124 | * cgraphunit.c (cgraph_output_in_order): Call | |
17125 | varpool_finalize_named_section_flags. | |
17126 | * varasm.c (get_section): Allow section flags conflicts between | |
17127 | relro and read-only sections if the section hasn't been declared yet. | |
17128 | Set SECTION_OVERRIDE after diagnosing section type conflict. | |
17129 | (get_variable_section): No longer static. | |
17130 | (default_section_type_flags): Use SECTION_WRITE | SECTION_RELRO for | |
17131 | readonly sections that need relocations. | |
17132 | (decl_readonly_section_1): New function. | |
17133 | (decl_readonly_section): Use it. | |
17134 | ||
17135 | Revert: | |
509d65dd | 17136 | 2010-11-17 Dinar Temirbulatov <dtemirbulatov@gmail.com> |
7fece979 JJ |
17137 | Steve Ellcey <sje@cup.hp.com> |
17138 | ||
17139 | PR middle-end/31490 | |
17140 | * varasm.c (categorize_decl_for_section): Ignore reloc_rw_mask | |
17141 | if section attribute used. | |
17142 | ||
d18d5478 JJ |
17143 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
17144 | ||
17145 | * config/darwin.h (SECTION_NO_ANCHOR): Remove. | |
17146 | * config/darwin.c (SECTION_NO_ANCHOR): Define. | |
17147 | (darwin_init_sections): Remove assertion. | |
17148 | ||
6479ed4b NC |
17149 | 2011-02-03 Nick Clifton <nickc@redhat.com> |
17150 | ||
17151 | * config/rx/predicates.md (rx_zs_comparison_operator): Remove | |
17152 | lt and ge. | |
38be4072 | 17153 | * config/rx/rx.md (abssi2_flags): Use CC_ZSmode rather than CC_ZSOmode. |
6479ed4b NC |
17154 | * config/rx/rx.c (rx_print_operand): Use "lt" and "ge" suffixes |
17155 | instead of "n" and "pz". | |
17156 | (flags_from_code): LT and GE tests need CC_FLAG_O as well as | |
17157 | CC_FLAG_S. | |
17158 | ||
89843f5d JJ |
17159 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
17160 | ||
65450d64 JJ |
17161 | PR target/47312 |
17162 | * expr.c (expand_expr_real_2) <case FMA_EXPR>: If target doesn't expand | |
17163 | fma, expand FMA_EXPR as fma{,f,l} call. | |
17164 | ||
7d58701c JJ |
17165 | PR lto/47274 |
17166 | * lto-streamer-out.c (write_symbol): When writing kind and visibility, | |
17167 | copy them into a unsigned char variable and pass address of it to | |
17168 | lto_output_data_stream. | |
17169 | ||
89843f5d JJ |
17170 | PR target/47564 |
17171 | * toplev.c (target_reinit): Save and restore *crtl and regno_reg_rtx | |
17172 | around backend_init_target and lang_dependent_init_target calls. | |
17173 | * cgraphunit.c (cgraph_debug_gimple_stmt): New function. | |
17174 | (verify_cgraph_node): Don't call set_cfun here. Use | |
17175 | cgraph_debug_gimple_stmt instead of debug_gimple_stmt. | |
17176 | Set error_found for incorrectly represented calls to thunks. | |
17177 | ||
4deef538 AO |
17178 | 2011-02-03 Alexandre Oliva <aoliva@redhat.com> |
17179 | ||
17180 | PR debug/43092 | |
17181 | PR rtl-optimization/43494 | |
17182 | * rtl.h (for_each_inc_dec_fn): New type. | |
17183 | (for_each_inc_dec): Declare. | |
17184 | * rtlanal.c (struct for_each_inc_dec_ops): New type. | |
17185 | (for_each_inc_dec_find_inc_dec): New fn. | |
17186 | (for_each_inc_dec_find_mem): New fn. | |
17187 | (for_each_inc_dec): New fn. | |
17188 | * dse.c (struct insn_size): Remove. | |
17189 | (replace_inc_dec, replace_inc_dec_mem): Remove. | |
17190 | (emit_inc_dec_insn_before): New fn. | |
17191 | (check_for_inc_dec): Use it, along with for_each_inc_dec. | |
17192 | (canon_address): Pass mem modes to cselib_lookup. | |
17193 | * cselib.h (cselib_lookup): Add memmode argument. Adjust callers. | |
17194 | (cselib_lookup_from_insn): Likewise. | |
17195 | (cselib_subst_to_values): Likewise. | |
17196 | * cselib.c (find_slot_memmode): New var. | |
17197 | (cselib_find_slot): New fn. Use it instead of | |
17198 | htab_find_slot_with_hash everywhere. | |
17199 | (entry_and_rtx_equal_p): Use find_slot_memmode. | |
17200 | (autoinc_split): New fn. | |
17201 | (rtx_equal_for_cselib_p): Rename and implement in terms of... | |
17202 | (rtx_equal_for_cselib_1): ... this. Take memmode, pass it on. | |
17203 | Deal with autoinc. Special-case recursion into MEMs. | |
17204 | (cselib_hash_rtx): Likewise. | |
17205 | (cselib_lookup_mem): Infer pmode from address mode. Distinguish | |
17206 | address and MEM modes. | |
17207 | (cselib_subst_to_values): Add memmode, pass it on. | |
17208 | Deal with autoinc. | |
17209 | (cselib_lookup): Add memmode argument, pass it on. | |
17210 | (cselib_lookup_from_insn): Add memmode. | |
17211 | (cselib_invalidate_rtx): Discard obsolete push_operand handling. | |
17212 | (struct cselib_record_autoinc_data): New. | |
17213 | (cselib_record_autoinc_cb): New fn. | |
17214 | (cselib_record_sets): Use it, along with for_each_inc_dec. Pass MEM | |
17215 | mode to cselib_lookup. Reset autoinced REGs here instead of... | |
17216 | (cselib_process_insn): ... here. | |
17217 | * var-tracking.c (replace_expr_with_values, use_type): Pass MEM mode | |
17218 | to cselib_lookup. | |
17219 | (add_uses): Likewise, also to cselib_subst_to_values. | |
17220 | (add_stores): Likewise. | |
17221 | * sched-deps.c (add_insn_mem_dependence): Pass mode to | |
17222 | cselib_subst_to_values. | |
17223 | (sched_analyze_1, sched_analyze_2): Likewise. Adjusted. | |
17224 | * gcse.c (do_local_cprop): Adjusted. | |
17225 | * postreload.c (reload_cse_simplify_set): Adjusted. | |
17226 | (reload_cse_simplify_operands): Adjusted. | |
17227 | * sel-sched-dump (debug_mem_addr_value): Pass mode. | |
17228 | ||
1551d44a AO |
17229 | 2011-02-03 Alexandre Oliva <aoliva@redhat.com> |
17230 | ||
17231 | PR tree-optimization/45122 | |
17232 | * tree-ssa-loop-niter.c (number_of_iterations_exit): Don't make | |
17233 | unsafe assumptions when there's more than one loop exit. | |
17234 | ||
c9485473 MM |
17235 | 2011-02-02 Michael Meissner <meissner@linux.vnet.ibm.com> |
17236 | ||
17237 | PR target/47272 | |
17238 | * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): | |
17239 | Document using vector double with the load/store builtins, and | |
17240 | that the load/store builtins always use Altivec instructions. | |
17241 | ||
17242 | * config/rs6000/vector.md (vector_altivec_load_<mode>): New insns | |
17243 | to use altivec memory instructions, even on VSX. | |
17244 | (vector_altivec_store_<mode>): Ditto. | |
17245 | ||
17246 | * config/rs6000/rs6000-protos.h (rs6000_address_for_altivec): New | |
17247 | function. | |
17248 | ||
17249 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add | |
17250 | V2DF, V2DI support to load/store overloaded builtins. | |
17251 | ||
17252 | * config/rs6000/rs6000-builtin.def (ALTIVEC_BUILTIN_*): Add | |
17253 | altivec load/store builtins for V2DF/V2DI types. | |
17254 | ||
17255 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't | |
17256 | set avoid indexed addresses on power6 if -maltivec. | |
17257 | (altivec_expand_ld_builtin): Add V2DF, V2DI support, use | |
17258 | vector_altivec_load/vector_altivec_store builtins. | |
17259 | (altivec_expand_st_builtin): Ditto. | |
17260 | (altivec_expand_builtin): Add VSX memory builtins. | |
17261 | (rs6000_init_builtins): Add V2DI types to internal types. | |
17262 | (altivec_init_builtins): Add support for V2DF/V2DI altivec | |
17263 | load/store builtins. | |
17264 | (rs6000_address_for_altivec): Insure memory address is appropriate | |
17265 | for Altivec. | |
17266 | ||
17267 | * config/rs6000/vsx.md (vsx_load_<mode>): New expanders for | |
17268 | vec_vsx_ld and vec_vsx_st. | |
17269 | (vsx_store_<mode>): Ditto. | |
17270 | ||
17271 | * config/rs6000/rs6000.h (RS6000_BTI_long_long): New type | |
17272 | variables to hold long long types for VSX vector memory builtins. | |
17273 | (RS6000_BTI_unsigned_long_long): Ditto. | |
17274 | (long_long_integer_type_internal_node): Ditti. | |
17275 | (long_long_unsigned_type_internal_node): Ditti. | |
17276 | ||
17277 | * config/rs6000/altivec.md (UNSPEC_LVX): New UNSPEC. | |
17278 | (altivec_lvx_<mode>): Make altivec_lvx use a mode iterator. | |
17279 | (altivec_stvx_<mode>): Make altivec_stvx use a mode iterator. | |
17280 | ||
17281 | * config/rs6000/altivec.h (vec_vsx_ld): Define VSX memory builtin | |
17282 | short cuts. | |
17283 | (vec_vsx_st): Ditto. | |
17284 | ||
b24d1acf JM |
17285 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
17286 | ||
17287 | * config/pa/pa-hpux10.opt: New. | |
17288 | * config/hpux11.opt (pthread): New Driver option. | |
17289 | * config/pa/pa-hpux.opt (nolibdld, rdynamic): New Driver options. | |
17290 | * config.gcc (hppa[12]*-*-hpux10*): Use pa/pa-hpux10.opt. | |
17291 | ||
aa18dd0f JM |
17292 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
17293 | ||
17294 | * config/ia64/vms.opt: New. | |
17295 | * config.gcc (ia64-hp-*vms*): Use ia64/vms.opt. | |
17296 | ||
28fc3eee MM |
17297 | 2011-02-01 Michael Meissner <meissner@linux.vnet.ibm.com> |
17298 | ||
17299 | PR target/47580 | |
17300 | * config/rs6000/vsx.md (vsx_float<VSi><mode>2): Use | |
17301 | gpc_reg_operand instead of vsx_register_operand to match rs6000.md | |
17302 | generator functions. | |
17303 | (vsx_floatuns<VSi><mode>2): Ditto. | |
17304 | (vsx_fix_trunc<mode><VSi>2): Ditto. | |
17305 | (vsx_fixuns_trunc<mode><VSi>2): Ditto. | |
17306 | ||
b5838b1f JM |
17307 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
17308 | ||
17309 | * config/i386/djgpp.opt (posix): New Driver option. | |
17310 | ||
0db8fa89 GP |
17311 | 2011-02-02 Gerald Pfeifer <gerald@pfeifer.com> |
17312 | ||
17313 | * config.gcc (*-*-freebsd[12], *-*-freebsd[12].*, *-*-freebsd*aout*): | |
17314 | Move to the unsupported targets list. | |
17315 | ||
9cd4f22a PB |
17316 | 2011-02-02 Peter Bergner <bergner@vnet.ibm.com> |
17317 | ||
17318 | PR rtl-optimization/47525 | |
17319 | * df-scan.c: Update copyright years. | |
17320 | (df_get_call_refs): Do not mark global registers as DF_REF_REG_USE | |
17321 | and non-clobber DF_REF_REG_DEF for calls to const and pure functions. | |
17322 | ||
9ed8059c RO |
17323 | 2011-02-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17324 | ||
17325 | * config/i386/sysv4.h (TARGET_VERSION): Remove. | |
17326 | (SUBTARGET_RETURN_IN_MEMORY): Remove. | |
17327 | (ASM_OUTPUT_ASCII): Remove. | |
17328 | * config/i386/sol2.h (SUBTARGET_RETURN_IN_MEMORY): Remove #undef. | |
17329 | ||
2a737389 JL |
17330 | 2011-02-02 Jeff Law <law@redhat.com> |
17331 | ||
17332 | PR middle-end/47543 | |
17333 | * reload.c (find_reloads_address): Handle reg+d address where both | |
17334 | components are invalid by reloading the entire address. | |
17335 | ||
9dac82c4 SP |
17336 | 2011-02-02 Sebastian Pop <sebastian.pop@amd.com> |
17337 | Richard Guenther <rguenther@suse.de> | |
17338 | ||
17339 | PR tree-optimization/40979 | |
17340 | PR bootstrap/47044 | |
17341 | * passes.c (init_optimization_passes): After LIM call copy_prop | |
17342 | and DCE to clean up. | |
17343 | * tree-ssa-loop.c (pass_graphite_transforms): Add TODO_dump_func. | |
17344 | ||
14dd9aab SP |
17345 | 2011-02-02 Sebastian Pop <sebastian.pop@amd.com> |
17346 | ||
17347 | PR tree-optimization/47576 | |
17348 | PR tree-optimization/47555 | |
17349 | * doc/invoke.texi (scev-max-expr-complexity): Documented. | |
17350 | * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. | |
17351 | (PARAM_SCEV_MAX_EXPR_COMPLEXITY): Declared. | |
17352 | * tree-scalar-evolution.c (follow_ssa_edge): Use | |
17353 | PARAM_SCEV_MAX_EXPR_COMPLEXITY. | |
17354 | ||
5cbf5c20 RG |
17355 | 2011-02-02 Richard Guenther <rguenther@suse.de> |
17356 | ||
17357 | PR tree-optimization/47566 | |
17358 | * builtins.c (builtin_save_expr): No SAVE_EXPR for SSA_NAMEs. | |
17359 | ||
83d70792 AO |
17360 | 2011-02-02 Alexandre Oliva <aoliva@redhat.com> |
17361 | ||
e829c321 AO |
17362 | PR debug/47106 |
17363 | PR debug/47402 | |
17364 | * tree-inline.c (declare_return_variable): Remove unused caller | |
17365 | variable. | |
17366 | ||
83d70792 AO |
17367 | PR debug/47106 |
17368 | PR debug/47402 | |
17369 | * tree-flow-inline.h (clear_is_used, is_used_p): New. | |
17370 | * cfgexpand.c (account_used_vars_for_block): Use them. | |
17371 | * tree-nrv.c (tree_nrv): Likewise. | |
17372 | * tree-ssa-live.c (remove_unused_scope_block_p): Likewise. | |
17373 | (dump_scope_block): Likewise. | |
17374 | (remove_unused_locals): Likewise. | |
17375 | ||
aaa2ac93 AO |
17376 | PR debug/47106 |
17377 | PR debug/47402 | |
17378 | * tree-inline.c (declare_return_variable): Add result decl to | |
17379 | local decls only once. | |
17380 | * gimple-low.c (record_vars_into): Mark newly-created variables | |
17381 | as referenced. | |
17382 | ||
a59d15cf AO |
17383 | 2011-02-02 Alexandre Oliva <aoliva@redhat.com> |
17384 | ||
17385 | PR debug/47498 | |
17386 | PR debug/47501 | |
17387 | PR debug/45136 | |
17388 | PR debug/45130 | |
17389 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
17390 | debug insns. | |
17391 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
17392 | treatment of boundary debug insns. | |
38be4072 | 17393 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
a59d15cf AO |
17394 | * sched-ebb.c (schedule_ebbs): Adjust skipping of debug insns. |
17395 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
17396 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
17397 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
17398 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
17399 | boundary debug insns. | |
17400 | * final.c (rest_of_clean_state): Clear notes' BB. | |
17401 | ||
6fc2f091 JM |
17402 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
17403 | ||
17404 | * config/openbsd.opt (assert=): New Driver option. | |
17405 | ||
fc523387 JM |
17406 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
17407 | ||
17408 | * config/i386/nto.opt: New. | |
17409 | * config.gcc (i[34567]86-*-nto-qnx*): Use i386/nto.opt. | |
17410 | ||
6d9821e5 JM |
17411 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
17412 | ||
17413 | * config/i386/netware.opt: New. | |
17414 | * config.gcc (i[3456x]86-*-netware*): Use i386/netware.opt. | |
17415 | ||
cef932d4 JM |
17416 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
17417 | ||
17418 | * config/interix.opt (posix): New Driver option. | |
17419 | ||
22843acd DD |
17420 | 2011-02-01 DJ Delorie <dj@redhat.com> |
17421 | ||
56490b74 DD |
17422 | * config/m32c/m32c.h (PTRDIFF_TYPE): Remove extra definition. |
17423 | ||
22843acd DD |
17424 | * config/m32c/m32c.c (m32c_regno_reg_class): Return smallest reg |
17425 | class for A0/A1. | |
17426 | ||
199c8f2f SP |
17427 | 2011-02-01 Sebastian Pop <sebastian.pop@amd.com> |
17428 | ||
17429 | PR tree-optimization/47561 | |
17430 | * toplev.c (process_options): Print the Graphite flags. Add | |
17431 | flag_loop_flatten to the list of options requiring Graphite. | |
17432 | ||
926bcf22 JM |
17433 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
17434 | ||
17435 | * config/i386/cygming.opt (posix): New Driver option. | |
17436 | ||
59793c51 JM |
17437 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
17438 | ||
17439 | * config/arm/vxworks.opt: New. | |
17440 | * config.gcc (arm-wrs-vxworks): Use arm/vxworks.opt. | |
17441 | ||
183c38a4 JM |
17442 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
17443 | ||
17444 | * config/alpha/elf.opt: New. | |
17445 | * config.gcc (alpha*-*-linux*, alpha*-*-gnu*, alpha*-*-freebsd*, | |
17446 | alpha*-*-netbsd*, alpha*-*-openbsd*): Use alpha/elf.opt. | |
17447 | ||
9939e416 RG |
17448 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
17449 | ||
17450 | PR tree-optimization/47559 | |
17451 | * tree-ssa-loop-im.c (can_sm_ref_p): Do not perform | |
17452 | store-motion on references that can throw. | |
17453 | ||
4a3c9687 BS |
17454 | 2011-02-01 Bernd Schmidt <bernds@codesourcery.com> |
17455 | ||
17456 | * tree-dump.c (dump_option_value_info): Add entry for TDF_CSELIB. | |
17457 | * tree-pass.h (TDF_CSELIB): New macro. | |
17458 | * cselib.c (new_cselib_val, expand_loc, cselib_expand_value_rtx_1, | |
17459 | cselib_lookup): Check for it rather than for TDF_DETAILS. | |
17460 | ||
dd3b31fb L |
17461 | 2011-02-01 H.J. Lu <hongjiu.lu@intel.com> |
17462 | ||
17463 | PR driver/47547 | |
17464 | * lto-wrapper.c (run_gcc): Don't add -dumpdir if linker_output | |
17465 | is HOST_BIT_BUCKET. | |
17466 | ||
17467 | * opts.c (finish_options): Don't add x_aux_base_name if it is | |
17468 | HOST_BIT_BUCKET. | |
17469 | ||
34c1de79 RG |
17470 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
17471 | ||
17472 | PR tree-optimization/47555 | |
17473 | Revert | |
17474 | 2010-07-15 Sebastian Pop <sebastian.pop@amd.com> | |
17475 | ||
17476 | * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. | |
17477 | ||
dd2804d2 SB |
17478 | 2011-02-01 Sebastien Bourdeauducq <sebastien@milkymist.org> |
17479 | ||
17480 | PR gcc/46692 | |
17481 | * config/lm32/t-lm32: Add multilib for all CPU options. | |
17482 | ||
3fd3b156 RG |
17483 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
17484 | ||
17485 | PR tree-optimization/47541 | |
17486 | * tree-ssa-structalias.c (push_fields_onto_fieldstack): Make | |
17487 | sure to have a field at offset zero. | |
17488 | ||
f16072b6 JM |
17489 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
17490 | ||
17491 | * config/arc/arc.opt (EB, EL): New Driver options. | |
17492 | ||
6456cf2e JM |
17493 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
17494 | ||
17495 | * config/alpha/osf5.opt: New. | |
17496 | * config.gcc (alpha*-dec-osf5.1*): Use alpha/osf5.opt. | |
17497 | ||
cdde6ab4 JM |
17498 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
17499 | ||
17500 | * config/vms/vms.opt (map, mvms-return-codes): New Driver options. | |
17501 | ||
7633415c SP |
17502 | 2011-01-31 Sebastian Pop <sebastian.pop@amd.com> |
17503 | ||
17504 | * common.opt (ftree-loop-linear): Use Alias to make it an alias of | |
17505 | -floop-interchange. | |
17506 | * invoke.texi (-ftree-loop-linear): Make it clear that this flag | |
17507 | is an alias of -floop-interchange and that it requires the | |
17508 | Graphite infrastructure. | |
17509 | * tree-ssa-loop.c (gate_graphite_transforms): Do not set | |
17510 | flag_loop_interchange based on the value of flag_tree_loop_linear. | |
17511 | ||
0425d6f5 JJ |
17512 | 2011-01-31 Jakub Jelinek <jakub@redhat.com> |
17513 | Richard Guenther <rguenther@suse.de> | |
17514 | ||
17515 | PR tree-optimization/47538 | |
17516 | * tree-ssa-ccp.c (bit_value_binop_1): For uns computation use | |
17517 | type instead of r1type, except for comparisons. For right | |
17518 | shifts and comparisons punt if there are mismatches in | |
17519 | sizetype vs. non-sizetype types. | |
17520 | ||
500b16c3 RO |
17521 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17522 | ||
17523 | * doc/sourcebuild.texi (Effective-Target Keywords): Document | |
17524 | avx_runtime. | |
17525 | ||
e279edb0 RO |
17526 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17527 | ||
17528 | * configure.ac (gcc_cv_ld_eh_frame_hdr): Update minimal Sun ld | |
17529 | version number. | |
17530 | * configure: Regenerate. | |
17531 | ||
c6092243 RO |
17532 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17533 | ||
17534 | * configure.ac (gcc_cv_ld_static_option): Define. | |
17535 | (gcc_cv_ld_dynamic_option): Define. | |
17536 | (gcc_cv_ld_static_dynamic): Tru64 UNIX support -noso/-so_archive | |
17537 | instead. | |
17538 | (HAVE_LD_STATIC_DYNAMIC): Update message. | |
17539 | (LD_STATIC_OPTION): Define. | |
17540 | (LD_DYNAMIC_OPTION): Define. | |
17541 | * configure: Regenerate. | |
17542 | * config.in: Regenerate. | |
17543 | * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS && | |
17544 | HAVE_LD_STATIC_DYNAMIC]: Use them. | |
17545 | ||
d7862be3 NC |
17546 | 2011-01-31 Nick Clifton <nickc@redhat.com> |
17547 | ||
17548 | * config/rx/rx.c (rx_get_stack_layout): Only save call clobbered | |
17549 | registers inside interrupt handlers if the handler is not a leaf | |
17550 | function. | |
17551 | ||
ba4ec0e0 NC |
17552 | 2011-01-31 Nick Clifton <nickc@redhat.com> |
17553 | ||
17554 | * config/mn10300/mn10300.c (mn10300_regno_in_class_p): Check for | |
17555 | reg_renumber returning an INVALID_REGNUM. | |
17556 | ||
29a63921 AO |
17557 | 2011-01-31 Alexandre Oliva <aoliva@redhat.com> |
17558 | ||
17559 | PR libgcj/44341 | |
17560 | * doc/install.texi: Document host options discarded when cross | |
17561 | configuring target libraries. | |
17562 | ||
ef591d3f AO |
17563 | 2011-01-31 Alexandre Oliva <aoliva@redhat.com> |
17564 | ||
17565 | Reverted: | |
17566 | 2011-01-25 Alexandre Oliva <aoliva@redhat.com> | |
17567 | PR debug/45136 | |
17568 | PR debug/45130 | |
17569 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
17570 | debug insns. | |
17571 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
17572 | treatment of boundary debug insns. | |
38be4072 | 17573 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
ef591d3f AO |
17574 | * sched-ebb.c (schedule_ebbs): Don't skip debug insns. |
17575 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
17576 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
17577 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
17578 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
17579 | boundary debug insns. | |
17580 | * final.c (rest_of_clean-state): Clear notes' BB. | |
17581 | ||
61052244 AM |
17582 | 2011-01-31 Alan Modra <amodra@gmail.com> |
17583 | ||
17584 | * config/rs6000/rs6000.c (print_operand): Rearrange addends in | |
17585 | toc relative expressions as we do in print_operand_address. | |
17586 | ||
c4c8962b KH |
17587 | 2011-01-30 Kazu Hirata <kazu@codesourcery.com> |
17588 | ||
17589 | * doc/extend.texi: Follow spelling conventions. | |
17590 | * doc/invoke.texi: Fix a typo. | |
17591 | ||
e543b94c JM |
17592 | 2011-01-30 Joseph Myers <joseph@codesourcery.com> |
17593 | ||
17594 | * config/hpux11.opt: New. | |
17595 | * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*, | |
17596 | ia64*-*-hpux*): Use hpux11.opt. | |
17597 | ||
509d65dd | 17598 | 2011-01-30 Jonathan Yong <jon_y@users.sourceforge.net> |
a70e0551 JY |
17599 | |
17600 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules | |
17601 | to tmake_file. | |
17602 | ||
7be03a0e GP |
17603 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> |
17604 | ||
17605 | * doc/install.texi (hppa-hp-hpux10): Remove references to HP | |
17606 | support sites. | |
17607 | ||
419d1d37 GP |
17608 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> |
17609 | ||
b596ed64 GP |
17610 | * doc/install.texi (Binaries): Remove outdated reference for |
17611 | Motorola 68HC11/68HC12 downloads. | |
17612 | ||
17613 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> | |
61052244 | 17614 | |
419d1d37 GP |
17615 | * doc/extend.texi (Thread-Local): Adjust reference to Ulrich |
17616 | Drepper's paper. | |
17617 | ||
4406d0e9 JW |
17618 | 2011-01-29 Jonathan Wakely <jwakely.gcc@gmail.com> |
17619 | ||
17620 | PR bootstrap/47147 | |
17621 | * ginclude/stddef.h: Check for _X86_64_ANSI_H_ and _I386_ANSI_H_ as | |
17622 | used by NetBSD. | |
17623 | ||
38be4072 | 17624 | 2011-01-28 Ahmad Sharif <asharif@google.com> |
e0b77418 AS |
17625 | |
17626 | * value-prof.c (check_counter): Corrected error message. | |
17627 | ||
0cd98787 JZ |
17628 | 2011-01-29 Jie Zhang <jie@codesourcery.com> |
17629 | ||
17630 | * config/arm/arm.c (arm_legitimize_reload_address): New. | |
17631 | * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use | |
17632 | arm_legitimize_reload_address. | |
38be4072 | 17633 | * config/arm/arm-protos.h (arm_legitimize_reload_address): Declare. |
0cd98787 | 17634 | |
9b798ac5 ILT |
17635 | 2011-01-28 Ian Lance Taylor <iant@google.com> |
17636 | ||
17637 | * godump.c (go_define): Ignore macros whose definitions include | |
17638 | two adjacent operands. | |
17639 | ||
591e29d9 JJ |
17640 | 2011-01-28 Jakub Jelinek <jakub@redhat.com> |
17641 | ||
17642 | PR target/42894 | |
17643 | * varasm.c (force_const_mem): Store copy of x in desc->constant | |
17644 | instead of x itself. | |
17645 | * expr.c (emit_move_insn): Add a copy of y_cst instead of y_cst | |
17646 | itself into REG_EQUAL note. | |
17647 | ||
62dcc44a JM |
17648 | 2011-01-28 Joseph Myers <joseph@codesourcery.com> |
17649 | ||
17650 | * config/freebsd.opt (posix, rdynamic): New Driver options. | |
17651 | ||
c9f58b9a RO |
17652 | 2011-01-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17653 | ||
17654 | * configure.ac (gcc_cv_ld_static_dynamic): IRIX 6 ld supports | |
17655 | -Bstatic/-Bdynamic. | |
17656 | * configure: Regenerate. | |
17657 | ||
5f02b9db JM |
17658 | 2011-01-27 Joseph Myers <joseph@codesourcery.com> |
17659 | ||
17660 | * config/rs6000/sysv4.h (LIB_NETBSD_SPEC): Don't handle -profile. | |
17661 | * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -profile. | |
17662 | ||
5df97412 AS |
17663 | 2011-01-27 Anatoly Sokolov <aesok@post.ru> |
17664 | ||
17665 | * config/s390/s390.h (PREFERRED_RELOAD_CLASS): Remove. | |
17666 | * config/s390/s390-protos.h (s390_preferred_reload_class): Remove. | |
17667 | * config/s390/s390.c (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
17668 | (s390_preferred_reload_class): Make static. Change return and | |
17669 | 'rclass' argument type to reg_class_t. | |
17670 | ||
779d4b91 JH |
17671 | 2011-01-27 Jan Hubicka <jh@suse.cz> |
17672 | ||
17673 | PR middle-end/46949 | |
17674 | * cgraphunit.c (process_common_attributes): Fix use of remove_attribute. | |
17675 | (process_function_and_variable_attributes): Check defined weakrefs. | |
17676 | ||
e80b21ed MJ |
17677 | 2011-01-27 Martin Jambor <mjambor@suse.cz> |
17678 | ||
17679 | PR tree-optimization/47228 | |
17680 | * tree-sra.c (sra_modify_assign): Use build_ref_for_model instead of | |
17681 | build_ref_for_offset. | |
17682 | ||
6dcc4f31 UW |
17683 | 2011-01-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
17684 | ||
17685 | * config/spu/spu-elf.h (ASM_SPEC): Remove. | |
17686 | ||
509d65dd | 17687 | 2011-01-26 Mikael Pettersson <mikpe@it.uu.se> |
3b8ff89f MP |
17688 | |
17689 | PR rtl-optimization/46856 | |
17690 | * postreload.c (reload_combine_recognize_const_pattern): Do not | |
17691 | separate cc0 setter and user on cc0 targets. | |
17692 | ||
04af8788 NP |
17693 | 2011-01-26 Nicola Pero <nicola.pero@meta-innovation.com> |
17694 | ||
17695 | PR c/43082 | |
17696 | * c-typeck.c (c_objc_common_truthvalue_conversion): If we are | |
17697 | passed a VOID_TYPE expression, immediately emit an error and | |
17698 | return error_mark_node. | |
17699 | ||
f7a60085 JL |
17700 | 2011-01-26 Jeff Law <law@redhat.com> |
17701 | ||
17702 | PR rtl-optimization/47464 | |
17703 | * df-problems.c (can_move_insn_across): Use may_trap_or_fault_p | |
17704 | rather than may_trap_p as needed. | |
17705 | ||
5c2917ec DD |
17706 | 2011-01-26 DJ Delorie <dj@redhat.com> |
17707 | ||
17708 | PR rtl-optimization/46878 | |
17709 | * combine.c (insn_a_feeds_b): Check for the implicit cc0 | |
17710 | setter/user dependency as well. | |
17711 | ||
bef16e87 EB |
17712 | 2011-01-26 Eric Botcazou <ebotcazou@adacore.com> |
17713 | ||
17714 | PR rtl-optimization/44469 | |
17715 | * cfgcleanup.c (try_optimize_cfg): Iterate in CFG layout mode too | |
17716 | after removing trivially dead basic blocks. | |
17717 | ||
c75d884b JM |
17718 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
17719 | ||
17720 | * config/bfin/bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}. | |
17721 | * config/frv/frv.h (LINK_SPEC): Likewise. | |
17722 | * config/i386/netware.h (LINK_SPEC): Likewise. | |
17723 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
17724 | * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise. | |
17725 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
17726 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
17727 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
17728 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
17729 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
17730 | ||
d3153553 JM |
17731 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
17732 | ||
17733 | * config/bfin/bfin.h (ASM_SPEC): Remove %{Ym,*}. | |
17734 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
17735 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
17736 | * config/pa/pa-linux.h (ASM_SPEC): Likewise. | |
17737 | * config/rs6000/linux64.h (ASM_SPEC): Likewise. | |
17738 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
17739 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
17740 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
17741 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
17742 | ||
b89b1e9d JM |
17743 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
17744 | ||
17745 | * config/bfin/bfin.h (LINK_SPEC): Remove %{YP,*}. | |
17746 | * config/frv/frv.h (LINK_SPEC): Likewise. | |
17747 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
17748 | ||
12eb1a9c JM |
17749 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
17750 | ||
17751 | * config/bfin/bfin.h (ASM_SPEC): Remove %{Yd,*}. | |
17752 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
17753 | * config/i386/sol2-10.h (ASM_SPEC): Likewise. | |
17754 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
17755 | * config/pa/pa-linux.h (ASM_SPEC): Likewise. | |
17756 | * config/rs6000/linux64.h (ASM_SPEC32): Likewise. | |
17757 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
17758 | * config/sol2.h (ASM_SPEC): Remove comment about -Yd,. | |
17759 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
17760 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
17761 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
17762 | * config/sparc/sysv4.h (ASM_SPEC): Remove %{Yd,*}. | |
17763 | ||
e435f098 SE |
17764 | 2011-01-26 Steve Ellcey <sje@cup.hp.com> |
17765 | ||
17766 | PR target/46997 | |
17767 | * config/ia64/vect.md (mulv2si3): Enable and fix for TARGET_BIG_ENDIAN. | |
17768 | (*mux2): Ditto. | |
17769 | (vec_extract_evenodd_help): Ditto. | |
17770 | (vec_extract_evenv4hi): Ditto. | |
17771 | (vec_extract_oddv4hi): Ditto. | |
17772 | (vec_interleave_lowv2si): Ditto. | |
17773 | (vec_interleave_highv2si): Ditto. | |
17774 | (vec_extract_evenv2si): Ditto. | |
17775 | (vec_extract_oddv2si: Ditto. | |
17776 | (vec_pack_trunc_v2si): Ditto. | |
17777 | ||
34f0eee0 JH |
17778 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
17779 | ||
17780 | PR target/47237 | |
17781 | * cgraph.h (cgraph_local_info): New field can_change_signature. | |
17782 | * ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee | |
17783 | signature can change. | |
17784 | (ipcp_estimate_growth): Call sequence simplify only if calle signature | |
17785 | can change. | |
17786 | (ipcp_insert_stage): Only compute args_to_skip if signature can change. | |
17787 | (cgraph_function_versioning): We can not change signature of functions | |
17788 | that don't allow that. | |
17789 | * lto-cgraph.c (lto_output_node): Stream local.can_change_signature. | |
17790 | (lto_input_node): Likewise. | |
38be4072 UB |
17791 | * ipa-inline.c (compute_inline_parameters): Compute |
17792 | local.can_change_signature. | |
34f0eee0 | 17793 | * ipa-split.c (visit_bb): Never split away APPLY_ARGS. |
38be4072 UB |
17794 | * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on |
17795 | functions that can not change signature. | |
34f0eee0 | 17796 | * i386.c (ix86_function_regparm, ix86_function_sseregparm, |
38be4072 UB |
17797 | init_cumulative_args): Do not use local calling conventions |
17798 | for functions that can not change signature. | |
34f0eee0 | 17799 | |
980ca891 JH |
17800 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
17801 | ||
17802 | * doc/invoke.texi (hot-bb-frequency-fraction): Commit forgotten hunk. | |
17803 | ||
768e3c60 RG |
17804 | 2011-01-26 Richard Guenther <rguenther@suse.de> |
17805 | ||
17806 | PR tree-optimization/47190 | |
61052244 AM |
17807 | * cgraphunit.c (process_common_attributes): New function. |
17808 | (process_function_and_variable_attributes): Use it. | |
768e3c60 | 17809 | |
21d6a1c7 RG |
17810 | 2011-01-26 Richard Guenther <rguenther@suse.de> |
17811 | ||
17812 | PR lto/47423 | |
17813 | * cgraphbuild.c (record_eh_tables): Record reference to personality | |
17814 | function. | |
17815 | ||
48bb58b1 AO |
17816 | 2011-01-26 Alexandre Oliva <aoliva@redhat.com> |
17817 | ||
17818 | PR debug/45454 | |
17819 | * sel-sched.c (moveup_expr): Don't let debug insns prevent | |
17820 | non-debug insns from moving up. | |
17821 | ||
58c741a6 DK |
17822 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
17823 | ||
17824 | PR target/40125 | |
17825 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable | |
17826 | t-dlldir{,-x} fragment for build and add it to tmake_file. | |
17827 | (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise. | |
17828 | * Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc. | |
17829 | * config/i386/t-dlldir: New file. | |
17830 | (SHLIB_DLLDIR): Define. | |
17831 | * config/i386/t-dlldir-x: New file. | |
17832 | (SHLIB_DLLDIR): Define. | |
17833 | * config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set. | |
17834 | (SHLIB_INSTALL): Use it. | |
17835 | ||
bff99262 CLT |
17836 | 2011-01-26 Chung-Lin Tang <cltang@codesourcery.com> |
17837 | ||
17838 | PR target/47246 | |
17839 | * config/arm/arm.c (thumb2_legitimate_index_p): Change the | |
17840 | lower bound of the allowed Thumb-2 coprocessor load/store | |
17841 | index range to -256. Add explaining comment. | |
17842 | ||
82c03907 ILT |
17843 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
17844 | ||
17845 | * godump.c (go_define): Improve lexing of macro expansion to only | |
17846 | accept expressions which match Go spec. | |
17847 | ||
47ea1edf DK |
17848 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
17849 | ||
d4dba752 | 17850 | PR c++/43601 |
47ea1edf DK |
17851 | * tree.c (handle_dll_attribute): Handle it. |
17852 | * doc/extend.texi (@item dllexport): Mention it. | |
17853 | * doc/invoke.texi (@item -fno-keep-inline-dllexport): Document it. | |
17854 | ||
744f0946 ILT |
17855 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
17856 | ||
17857 | PR tree-optimization/26854 | |
17858 | * c-decl.c (struct c_scope): Add field has_jump_unsafe_decl. | |
17859 | (decl_jump_unsafe): Move higher in file, with no other change. | |
17860 | (bind): Set has_jump_unsafe_decl if appropriate. | |
17861 | (update_label_decls): Test has_jump_unsafe_decl to avoid loop. | |
17862 | (check_earlier_gotos): Likewise. | |
17863 | (c_check_switch_jump_warnings): Likewise. | |
17864 | ||
5734f2b3 JW |
17865 | 2011-01-25 Jonathan Wakely <jwakely.gcc@gmail.com> |
17866 | ||
17867 | * doc/invoke.texi (Warning Options): Add missing hyphen. | |
17868 | (-fprofile-dir): Minor grammatical fixes. | |
17869 | (-fbranch-probabilities): Likewise. | |
17870 | ||
9bdbdcef AO |
17871 | 2011-01-25 Alexandre Oliva <aoliva@redhat.com> |
17872 | ||
17873 | PR debug/45136 | |
17874 | PR debug/45130 | |
17875 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
17876 | debug insns. | |
17877 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
17878 | treatment of boundary debug insns. | |
38be4072 | 17879 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
9bdbdcef AO |
17880 | * sched-ebb.c (schedule_ebbs): Don't skip debug insns. |
17881 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
17882 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
17883 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
17884 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
17885 | boundary debug insns. | |
17886 | * final.c (rest_of_clean-state): Clear notes' BB. | |
17887 | ||
b305e3da SP |
17888 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
17889 | ||
17890 | * Makefile.in (LAMBDA_H): Removed. | |
17891 | (TREE_DATA_REF_H): Remove dependence on LAMBDA_H. | |
17892 | (OBJS-common): Remove dependence on lambda-code.o, lambda-mat.o, | |
17893 | lambda-trans.o, and tree-loop-linear.o. | |
17894 | (lto-symtab.o): Remove dependence on LAMBDA_H. | |
17895 | (tree-loop-linear.o): Remove rule. | |
17896 | (lambda-mat.o): Same. | |
17897 | (lambda-trans.o): Same. | |
17898 | (lambda-code.o): Same. | |
17899 | (tree-vect-loop.o): Add missing dependence on TREE_DATA_REF_H. | |
17900 | (tree-vect-slp.o): Same. | |
17901 | * hwint.h (gcd): Moved here. | |
17902 | (least_common_multiple): Same. | |
17903 | * lambda-code.c: Removed. | |
17904 | * lambda-mat.c: Removed. | |
17905 | * lambda-trans.c: Removed. | |
17906 | * lambda.h: Removed. | |
17907 | * tree-loop-linear.c: Removed. | |
17908 | * lto-symtab.c: Do not include lambda.h. | |
17909 | * omega.c (gcd): Removed. | |
17910 | * passes.c (init_optimization_passes): Remove pass_linear_transform. | |
17911 | * tree-data-ref.c (print_lambda_vector): Moved here. | |
17912 | (lambda_vector_copy): Same. | |
17913 | (lambda_matrix_copy): Same. | |
17914 | (lambda_matrix_id): Same. | |
17915 | (lambda_vector_first_nz): Same. | |
17916 | (lambda_matrix_row_add): Same. | |
17917 | (lambda_matrix_row_exchange): Same. | |
17918 | (lambda_vector_mult_const): Same. | |
17919 | (lambda_vector_negate): Same. | |
17920 | (lambda_matrix_row_negate): Same. | |
17921 | (lambda_vector_equal): Same. | |
17922 | (lambda_matrix_right_hermite): Same. | |
17923 | * tree-data-ref.h: Do not include lambda.h. | |
17924 | (lambda_vector): Moved here. | |
17925 | (lambda_matrix): Same. | |
17926 | (dependence_level): Same. | |
17927 | (lambda_transform_legal_p): Removed declaration. | |
17928 | (lambda_collect_parameters): Same. | |
17929 | (lambda_compute_access_matrices): Same. | |
17930 | (lambda_vector_gcd): Same. | |
17931 | (lambda_vector_new): Same. | |
17932 | (lambda_vector_clear): Same. | |
17933 | (lambda_vector_lexico_pos): Same. | |
17934 | (lambda_vector_zerop): Same. | |
17935 | (lambda_matrix_new): Same. | |
17936 | * tree-flow.h (least_common_multiple): Removed declaration. | |
17937 | * tree-parloops.c (lambda_trans_matrix): Moved here. | |
17938 | (LTM_MATRIX): Same. | |
17939 | (LTM_ROWSIZE): Same. | |
17940 | (LTM_COLSIZE): Same. | |
17941 | (LTM_DENOMINATOR): Same. | |
17942 | (lambda_trans_matrix_new): Same. | |
17943 | (lambda_matrix_vector_mult): Same. | |
17944 | (lambda_transform_legal_p): Same. | |
17945 | * tree-pass.h (pass_linear_transform): Removed declaration. | |
17946 | * tree-ssa-loop.c (tree_linear_transform): Removed. | |
17947 | (gate_tree_linear_transform): Removed. | |
17948 | (pass_linear_transform): Removed. | |
17949 | (gate_graphite_transforms): Make flag_tree_loop_linear an alias of | |
17950 | flag_loop_interchange. | |
17951 | ||
6bdfdb96 JJ |
17952 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
17953 | ||
17954 | PR tree-optimization/47265 | |
17955 | PR tree-optimization/47443 | |
17956 | * tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false | |
17957 | if name still has some uses. | |
17958 | ||
e4cba915 MJ |
17959 | 2011-01-25 Martin Jambor <mjambor@suse.cz> |
17960 | ||
17961 | PR tree-optimization/47382 | |
17962 | * gimple-fold.c (gimple_fold_obj_type_ref_call): Removed. | |
17963 | (gimple_fold_call): Do not call gimple_fold_obj_type_ref_call. | |
17964 | ||
509d65dd | 17965 | 2011-01-25 Joel Sherrill <joel.sherrill@oarcorp.com> |
f822b8ea JS |
17966 | |
17967 | * config/m32r/m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to | |
17968 | sjlj_except_unwind_info. | |
17969 | ||
194313e2 RG |
17970 | 2011-01-25 Richard Guenther <rguenther@suse.de> |
17971 | ||
17972 | PR tree-optimization/47426 | |
17973 | * tree-ssa-structalias.c (ipa_pta_execute): Make externally | |
17974 | visible functions results escape. | |
17975 | ||
147a0bcf JJ |
17976 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
17977 | ||
17978 | PR target/45701 | |
17979 | * config/arm/arm.c (any_sibcall_uses_r3): New function. | |
17980 | (arm_get_frame_offsets): Use it. | |
17981 | ||
db963b52 SP |
17982 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
17983 | Jakub Jelinek <jakub@redhat.com> | |
17984 | ||
17985 | PR tree-optimization/47271 | |
17986 | * tree-if-conv.c (bb_postdominates_preds): New. | |
17987 | (if_convertible_bb_p): Call bb_postdominates_preds. | |
17988 | (if_convertible_loop_p_1): Compute CDI_POST_DOMINATORS. | |
17989 | (predicate_scalar_phi): Call bb_postdominates_preds. | |
17990 | ||
bcddd3b9 NC |
17991 | 2011-01-25 Nick Clifton <nickc@redhat.com> |
17992 | ||
17993 | * config/rx/rx.h (LIBCALL_VALUE): Do not promote complex types. | |
17994 | * config/rx/rx.c (rx_function_value): Likewise. | |
17995 | (rx_promote_function_mode): Likewise. | |
17996 | (gen_safe_add): Place an outsized immediate value inside an UNSPEC | |
17997 | in order to make it legitimate. | |
38be4072 UB |
17998 | * config/rx/rx.md (adddi3_internal): If the second operand is a MEM |
17999 | make sure that the first operand is the same as the result register. | |
bcddd3b9 NC |
18000 | (addsi3_unspec): Delete. |
18001 | (subdi3): Do not accept immediate operands. | |
18002 | (subdi3_internal): Likewise. | |
18003 | ||
7e6cb022 JL |
18004 | 2011-01-25 Jeff Law <law@redhat.com> |
18005 | ||
18006 | PR rtl-optimization/37273 | |
18007 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
18008 | handle them like argument loads from stack slots. Do not double | |
18009 | count memory for memory constants and argument loads from stack slots. | |
18010 | ||
9ffa621e JJ |
18011 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
18012 | ||
18013 | PR tree-optimization/47427 | |
18014 | PR tree-optimization/47428 | |
18015 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't | |
18016 | coalesce if the new root var would be TREE_READONLY. | |
18017 | ||
5bd6e652 RG |
18018 | 2011-01-25 Richard Guenther <rguenther@suse.de> |
18019 | ||
18020 | PR middle-end/47414 | |
18021 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Use the | |
18022 | correct type for TBAA. | |
18023 | ||
7c48ea69 SP |
18024 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
18025 | ||
18026 | * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New. | |
18027 | (close_phi_written_to_memory): Call for_each_index with | |
18028 | dr_indices_valid_in_loop. | |
18029 | ||
38013f25 SP |
18030 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
18031 | ||
18032 | * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN | |
18033 | when it is initialized. | |
18034 | ||
5c640e29 SP |
18035 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
18036 | ||
18037 | * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Update | |
18038 | call to graphite_find_data_references_in_stmt. | |
18039 | * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New. | |
18040 | (try_generate_gimple_bb): Call outermost_loop_in_sese_1. Update | |
18041 | call to graphite_find_data_references_in_stmt. | |
18042 | (analyze_drs_in_stmts): Same. | |
18043 | * tree-data-ref.c (dr_analyze_indices): Pass in parameter the loop | |
18044 | in which the scalar analysis of indices is performed. | |
18045 | (create_data_ref): Same. Update call to dr_analyze_indices. | |
18046 | (find_data_references_in_stmt): Update call to create_data_ref. | |
18047 | (graphite_find_data_references_in_stmt): Same. | |
18048 | * tree-data-ref.h (graphite_find_data_references_in_stmt): Update | |
18049 | declaration. | |
18050 | (create_data_ref): Same. | |
18051 | * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Update | |
18052 | call to create_data_ref. | |
18053 | ||
ac53c069 SP |
18054 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
18055 | ||
18056 | * graphite-sese-to-poly.c (build_poly_scop): Move | |
38be4072 | 18057 | rewrite_commutative_reductions_out_of_ssa before find_scop_parameters. |
ac53c069 | 18058 | |
3d17df15 SP |
18059 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
18060 | ||
18061 | * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow | |
18062 | VAR_DECL, PARM_DECL, and RESULT_DECL. | |
18063 | ||
c513da01 SP |
18064 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
18065 | ||
18066 | * graphite-dependences.c (reduction_dr_1): Allow several reductions | |
18067 | in a reduction PBB. | |
18068 | * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs | |
18069 | that have already been marked as PBB_IS_REDUCTION. | |
18070 | ||
3a292d59 SP |
18071 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
18072 | ||
18073 | * graphite-scop-detection.c (same_close_phi_node): New. | |
18074 | (remove_duplicate_close_phi): New. | |
18075 | (make_close_phi_nodes_unique): New. | |
18076 | (canonicalize_loop_closed_ssa): Call make_close_phi_nodes_unique. | |
18077 | ||
ba858447 SP |
18078 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
18079 | ||
18080 | * graphite-dependences.c (new_poly_ddr): Call same_pdr_p. | |
18081 | * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE | |
18082 | of both data references to be the same. | |
18083 | ||
8d865c56 SP |
18084 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
18085 | ||
38be4072 UB |
18086 | * graphite-dependences.c (build_lexicographical_constraint): Remove |
18087 | the gdim parameter. | |
18088 | (build_lexicographical_constraint): Adjust call to | |
18089 | ppl_powerset_is_empty. | |
8d865c56 SP |
18090 | (dependence_polyhedron): Same. |
18091 | (graphite_legal_transform_dr): Same. | |
18092 | (graphite_carried_dependence_level_k): Same. | |
38be4072 UB |
18093 | * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params |
18094 | parameter. | |
8d865c56 SP |
18095 | * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration. |
18096 | ||
50034a36 SP |
18097 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
18098 | ||
18099 | * graphite-sese-to-poly.c | |
18100 | (translate_scalar_reduction_to_array_for_stmt): Call unshare_expr. | |
18101 | (close_phi_written_to_memory): New. | |
18102 | (translate_scalar_reduction_to_array): Call close_phi_written_to_memory | |
18103 | and unshare_expr. | |
18104 | ||
0deada9e SP |
18105 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
18106 | ||
18107 | * doc/install.texi: Update the expected version number of PPL to 0.11. | |
18108 | * graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under | |
18109 | #if PPL_VERSION_MINOR < 11. | |
18110 | ||
d7d3d6af SP |
18111 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
18112 | ||
18113 | * graphite-dependences.c: Include graphite-cloog-util.h. | |
18114 | (new_poly_ddr): Inlined into dependence_polyhedron. | |
18115 | (free_poly_ddr): Moved close by new_poly_ddr. | |
18116 | (dependence_polyhedron_1): Renamed dependence_polyhedron. | |
18117 | Early return NULL when ppl_powerset_is_empty returns true. | |
18118 | (dependence_polyhedron): Renamed new_poly_ddr. Call only once | |
18119 | poly_drs_may_alias_p. Avoid one call to ppl_powerset_is_empty. | |
18120 | (graphite_legal_transform_dr): Call new_poly_ddr. | |
18121 | (graphite_carried_dependence_level_k): Same. | |
18122 | (dot_original_deps_stmt_1): Renamed dot_deps_stmt_2. Use new_poly_ddr. | |
18123 | (dot_transformed_deps_stmt_1): Removed. | |
18124 | (dot_deps_stmt_1): Call dot_deps_stmt_2. | |
18125 | (dot_original_deps): Renamed dot_deps_2. Call new_poly_ddr. | |
18126 | (dot_deps_1): Call dot_deps_2. | |
18127 | * Makefile.in (graphite-dependences.o): Add missing dependence on | |
18128 | graphite-cloog-util.h. | |
18129 | ||
28c5db57 SP |
18130 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
18131 | ||
18132 | * graphite-dependences.c (new_poly_dr): Call ppl_powerset_is_empty. | |
18133 | (build_lexicographical_constraint): Same. | |
18134 | (dependence_polyhedron_1): Same. | |
18135 | (graphite_legal_transform_dr): Same. | |
18136 | (graphite_carried_dependence_level_k): Same. | |
18137 | * graphite-ppl.c (ppl_powerset_is_empty): New. | |
18138 | * graphite-ppl.h (ppl_powerset_is_empty): Declared. | |
18139 | * tree-data-ref.c (dump_data_reference): Print the basic block index. | |
18140 | ||
5168d98f SP |
18141 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
18142 | ||
18143 | * graphite-dependences.c (build_pairwise_scheduling): Correctly compute | |
18144 | the "a followed by b" relation and document it. | |
18145 | ||
4a40293a SP |
18146 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
18147 | ||
18148 | * graphite-dependences.c (build_lexicographical_constraint): Stop the | |
18149 | iteration when the bag of constraints is empty. | |
18150 | ||
271fb6fa SP |
18151 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
18152 | ||
18153 | * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work. | |
18154 | ||
92d23680 SP |
18155 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
18156 | ||
18157 | * graphite-interchange.c (lst_interchange_profitable_p): Takes a loop | |
18158 | nest and two loop depths as parameters. | |
18159 | (lst_try_interchange_loops): Call lst_interchange_profitable_p after | |
18160 | lst_perfect_nestify. | |
18161 | ||
2f51deff SP |
18162 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
18163 | ||
18164 | * graphite-dependences.c (print_pddr): Call | |
18165 | ppl_io_fprint_Pointset_Powerset_C_Polyhedron. | |
18166 | ||
07f3593c SP |
18167 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
18168 | ||
18169 | * graphite-ppl.c (debug_gmp_value): New. | |
18170 | * graphite-ppl.h (debug_gmp_value): Declared. | |
18171 | ||
3fae6099 TG |
18172 | 2011-01-25 Tobias Grosser <grosser@fim.uni-passau.de> |
18173 | ||
18174 | * doc/install.texi: Document availability of cloog-0.16. | |
18175 | ||
1c3ba85b SP |
18176 | 2011-01-25 Vladimir Kargov <kargov@gmail.com> |
18177 | ||
18178 | * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Free | |
18179 | invalid postdominance info. | |
18180 | ||
e8ba94fc JH |
18181 | 2011-01-24 Jan Hubicka <jh@suse.cz> |
18182 | ||
18183 | PR c/21659 | |
18184 | * doc/extend.texi (weak pragma): Drop claim that it must | |
18185 | appear before definition. | |
18186 | * varasm.c (merge_weak, declare_weak): Only sanity check | |
18187 | that DECL is not output at a time it is declared weak. | |
18188 | ||
2b6e2d13 KZ |
18189 | 2011-01-24 Kenneth Zadeck <zadeck@naturalbridge.com> |
18190 | ||
18191 | * machmode.def: Fixed comments. | |
1c3ba85b | 18192 | |
9841210f KT |
18193 | 2011-01-24 Kai Tietz <kai.tietz@onevision.com> |
18194 | ||
18195 | * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t. | |
18196 | ||
18197 | 2011-01-24 Paul Koning <ni1d@arrl.net> | |
e046112d PK |
18198 | |
18199 | * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN != | |
1c3ba85b | 18200 | WORDS_BIG_ENDIAN. |
e046112d | 18201 | |
a6c5070a L |
18202 | 2011-01-24 H.J. Lu <hongjiu.lu@intel.com> |
18203 | ||
18204 | PR target/46519 | |
18205 | * config/i386/i386.c: Include sbitmap.h and fibheap.h. | |
18206 | (block_info): Add scanned and prev. | |
18207 | (move_or_delete_vzeroupper_2): Return if the basic block | |
18208 | has been scanned and the upper 128bit state is unchanged | |
18209 | from the last scan. | |
18210 | (move_or_delete_vzeroupper_1): Return true if the exit | |
18211 | state is changed. | |
18212 | (move_or_delete_vzeroupper): Visit basic blocks using the | |
18213 | work-list based algorithm based on vt_find_locations in | |
18214 | var-tracking.c. | |
18215 | ||
18216 | * config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H). | |
18217 | ||
a40d79d7 NC |
18218 | 2011-01-24 Nick Clifton <nickc@redhat.com> |
18219 | ||
18220 | * config/v850/v850.opt (mv850es): New option - alias for -mv850e1. | |
18221 | * config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass | |
18222 | -mv850e1 to the assembler. If -mv850e1 or -mv850es is specified | |
18223 | then define __v850e1__. | |
18224 | * doc/invoke.texi: Document -mv850es. | |
18225 | ||
440eb8de RH |
18226 | 2011-01-24 Richard Henderson <rth@redhat.com> |
18227 | ||
18228 | * config/rx/predicates.md (rx_fp_comparison_operator): Don't accept | |
18229 | compound unordered comparisons. | |
18230 | * config/rx/rx.c (rx_split_fp_compare): Remove. | |
18231 | * config/rx/rx-protos.h: Update. | |
18232 | * config/rx/rx.md (gcc_conds, rx_conds): Remove. | |
18233 | (cbranchsf4): Don't call rx_split_fp_compare. | |
18234 | (*cbranchsf4): Use rx_split_cbranch. | |
18235 | (*cmpsf): Don't accept "i" constraint. | |
18236 | (*conditional_branch): Only valid after reload. | |
18237 | (cstoresf4): Merge expander with insn. Don't call rx_split_fp_compare. | |
18238 | ||
3ff79f99 MM |
18239 | 2011-01-24 Michael Meissner <meissner@linux.vnet.ibm.com> |
18240 | ||
18241 | PR target/47385 | |
18242 | * config/rs6000/altivec.md (vector constant splitters): Add | |
18243 | support for creating vector single precision constants if -mvsx is | |
18244 | used and we would create the constant using Altivec primitives. | |
18245 | ||
ff3d9d08 BS |
18246 | 2011-01-23 Bernd Schmidt <bernds@codesourcery.com> |
18247 | Richard Sandiford <rdsandiford@googlemail.com> | |
18248 | ||
18249 | PR rtl-optimization/47166 | |
18250 | * reload1.c (emit_reload_insns): Disable the spill_reg_store | |
18251 | mechanism for PRE_MODIFY and POST_MODIFY. | |
18252 | (inc_for_reload): For PRE_MODIFY, return the insn that sets the | |
18253 | reloadreg. | |
18254 | ||
7fcaf152 AS |
18255 | 2011-01-23 Andreas Schwab <schwab@linux-m68k.org> |
18256 | ||
8788adb6 | 18257 | * compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers. |
7fcaf152 | 18258 | |
d09b58c4 JH |
18259 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
18260 | ||
18261 | PR lto/47333 | |
18262 | * lto-cgraph.c (reachable_from_this_partition_p): Fix pasto. | |
18263 | ||
e8ff8c5a JH |
18264 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
18265 | ||
18266 | PR tree-optimization/43884 | |
18267 | PR lto/44334 | |
8788adb6 | 18268 | * predict.c (maybe_hot_frequency_p): Use entry block frequency as base. |
e8ff8c5a JH |
18269 | * doc/invoke.texi (hot-bb-frequency-fraction): Update docs. |
18270 | ||
ccaed3ba AS |
18271 | 2011-01-22 Anatoly Sokolov <aesok@post.ru> |
18272 | ||
18273 | * config/s390/s390.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. | |
18274 | * config/s390/s390.c (s390_register_move_cost, | |
18275 | s390_memory_move_cost): New. | |
18276 | (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define. | |
18277 | ||
0cecee06 UW |
18278 | 2011-01-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
18279 | ||
18280 | PR middle-end/47401 | |
18281 | * except.c (sjlj_assign_call_site_values): Move setting the | |
18282 | crtl->uses_eh_lsda flag to ... | |
18283 | (sjlj_mark_call_sites): ... here. | |
18284 | (sjlj_emit_function_enter): Support NULL dispatch label. | |
18285 | (sjlj_build_landing_pads): In a function with no landing pads | |
18286 | that still has must-not-throw regions, generate code to register | |
18287 | a personality function with empty LSDA. | |
18288 | ||
e692f276 RH |
18289 | 2011-01-21 Richard Henderson <rth@redhat.com> |
18290 | ||
1b7ae0b7 RH |
18291 | * config/rx/rx.c (TARGET_FLAGS_REGNUM): New. |
18292 | ||
3843787f RH |
18293 | * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New. |
18294 | ||
e692f276 RH |
18295 | * compare-elim.c: New file. |
18296 | * Makefile.in (OBJS-common): Add it. | |
18297 | (compare-elim.o): New. | |
18298 | * common.opt (fcompare-elim): New. | |
18299 | * opts.c (default_options_table): Add OPT_fcompare_elim. | |
18300 | * tree-pass.h (pass_compare_elim_after_reload): New. | |
18301 | * passes.c (init_optimization_passes): Add it. | |
18302 | * recog.h: Protect against re-inclusion. | |
18303 | * target.def (TARGET_FLAGS_REGNUM): New POD hook. | |
18304 | * doc/invoke.texi (-fcompare-elim): Document it. | |
18305 | * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Document it. | |
18306 | * doc/tm.texi: Rebuild. | |
18307 | ||
9a7c2050 NC |
18308 | 2011-01-22 Nick Clifton <nickc@redhat.com> |
18309 | ||
18310 | * config/rx/rx.md (cstoresf4): Pass comparison operator to | |
18311 | rx_split_fp_compare. | |
18312 | ||
15ba5696 NC |
18313 | 2011-01-22 Nick Clifton <nickc@redhat.com> |
18314 | ||
18315 | * config/rx/rx.md (UNSPEC_CONST): New. | |
18316 | (deallocate_and_return): Wrap the amount popped off the stack in | |
18317 | an UNSPEC_CONST in order to stop it being rejected by | |
18318 | -mmax-constant-size. | |
18319 | (pop_and_return): Add a "(return)" rtx. | |
18320 | (call): Drop the immediate operand. | |
18321 | (call_internal): Likewise. | |
18322 | (call_value): Likewise. | |
18323 | (call_value_internal): Likewise. | |
18324 | (sibcall_internal): Likewise. | |
18325 | (sibcall_value_internal): Likewise. | |
18326 | (sibcall): Likewise. Generate an explicit call using | |
18327 | sibcall_internal. | |
18328 | (sibcall_value): Likewise. | |
18329 | (mov<>): FAIL if a constant operand is not legitimate. | |
18330 | (addsi3_unpsec): New pattern. | |
9a7c2050 | 18331 | |
38be4072 | 18332 | * config/rx/rx.c (rx_print_operand_address): Handle UNSPEC CONSTs. |
15ba5696 NC |
18333 | (ok_for_max_constant): New function. |
18334 | (gen_safe_add): New function. | |
18335 | (rx_expand_prologue): Use gen_safe_add. | |
18336 | (rx_expand_epilogue): Likewise. | |
18337 | (rx_is_legitimate_constant): Use ok_for_max_constant. Handle | |
18338 | UNSPEC CONSTs. | |
18339 | ||
caaf13d3 JL |
18340 | 2011-01-21 Jeff Law <law@redhat.com> |
18341 | ||
18342 | PR tree-optimization/47053 | |
18343 | * tree-ssa-dse.c (need_eh_cleanup): New bitmap. | |
18344 | (dse_optimize_stmt): Set the appropriate bit in NEED_EH_CLEANUP when | |
18345 | statements are deleted. | |
18346 | (tree_ssa_dse): Allocate & free NEED_EH_CLEANUP. If NEED_EH_CLEANUP | |
18347 | is nonempty, then purge dead edges and cleanup the CFG. | |
18348 | ||
12c30f2f AO |
18349 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> |
18350 | ||
18351 | PR debug/47402 | |
18352 | Temporarily revert: | |
18353 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> | |
18354 | PR debug/47106 | |
18355 | * tree-dfa.c (create_var_ann): Mark variable as used. | |
18356 | ||
7360d2ac JJ |
18357 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
18358 | ||
aaa52a96 JJ |
18359 | PR middle-end/45566 |
18360 | * except.c (convert_to_eh_region_ranges): Emit queued no-region | |
18361 | notes from other section in hot/cold partitioning even if | |
18362 | last_action is -3. Increment call_site_base. | |
18363 | ||
7360d2ac JJ |
18364 | PR rtl-optimization/47366 |
18365 | * fwprop.c (forward_propagate_into): Return bool. If | |
18366 | any changes are made, -fnon-call-exceptions is used and | |
18367 | REG_EH_REGION note is present, call purge_dead_edges | |
18368 | and return true if it purged anything. | |
18369 | (fwprop_addr): Adjust callers, call cleanup_cfg (0) if | |
18370 | any EH edges were purged. | |
18371 | ||
e90b336f JL |
18372 | 2011-01-21 Jeff Law <law@redhat.com> |
18373 | ||
18374 | PR rtl-optimization/41619 | |
18375 | * caller-save.c (setup_save_areas): Break out code to determine | |
18376 | which hard regs are live across calls by examining the reload chains | |
18377 | so that it is always used. | |
18378 | Eliminate code which checked REG_N_CALLS_CROSSED. | |
18379 | ||
3ffe07e1 JJ |
18380 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
18381 | ||
18382 | PR tree-optimization/47355 | |
18383 | * tree-eh.c (cleanup_empty_eh_merge_phis): Give up if | |
18384 | NOP has non-debug uses beyond PHIs in new_bb. | |
18385 | ||
1c7d0b34 AO |
18386 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> |
18387 | ||
18388 | PR debug/47106 | |
18389 | * cfgexpand.c (account_used_vars_for_block): Only account vars | |
18390 | that are annotated as used. | |
18391 | (estimated_stack_frame_size): Don't set TREE_USED. | |
18392 | * tree-dfa.c (create_var_ann): Mark variable as used. | |
18393 | ||
f99cc488 RG |
18394 | 2011-01-21 Richard Guenther <rguenther@suse.de> |
18395 | ||
18396 | PR middle-end/47395 | |
18397 | * tree.def (WIDEN_MULT_MINUS_EXPR): Fix printed name. | |
18398 | ||
3bc27de7 RG |
18399 | 2011-01-21 Richard Guenther <rguenther@suse.de> |
18400 | ||
18401 | PR tree-optimization/47365 | |
18402 | * tree-ssa-sccvn.h (vn_lookup_kind): Declare. | |
18403 | (vn_reference_lookup_pieces): Adjust. | |
18404 | (vn_reference_lookup): Likewise. | |
18405 | * tree-ssa-sccvn.c (vn_walk_kind): New static global. | |
18406 | (vn_reference_lookup_3): Only look through kills if in | |
18407 | VN_WALKREWRITE mode. | |
18408 | (vn_reference_lookup_pieces): Adjust. | |
18409 | (vn_reference_lookup): Likewise. | |
18410 | (visit_reference_op_load): Likewise. | |
18411 | (visit_reference_op_store): Likewise. | |
18412 | * tree-ssa-pre.c (phi_translate_1): Use VN_WALK mode. | |
18413 | (compute_avail): Likewise. | |
18414 | (eliminate): Likewise. | |
18415 | ||
d8debb1d JJ |
18416 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
18417 | ||
18418 | * tree-ssa-live.c (remove_unused_scope_block_p): Don't remove | |
18419 | DECL_IGNORED_P non-reg vars if they are used. | |
18420 | ||
3a2df831 JJ |
18421 | PR tree-optimization/47391 |
18422 | * varpool.c (const_value_known_p): Return false if | |
18423 | decl is volatile. | |
18424 | ||
1dd584a2 KT |
18425 | 2011-01-21 Kai Tietz <kai.tietz@onevision.com> |
18426 | ||
18427 | PR bootstrap/47215 | |
18428 | * config/i386/i386.c (ix86_local_alignment): Handle | |
18429 | case for va_list_type_node is nil. | |
18430 | (ix86_canonical_va_list_type): Likewise. | |
18431 | ||
7f9f095e AM |
18432 | 2011-01-21 Alan Modra <amodra@gmail.com> |
18433 | ||
18434 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Add | |
18435 | builtin_define __CMODEL_MEDIUM__ and __CMODEL_LARGE__. | |
18436 | ||
837b01f6 RR |
18437 | 2011-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
18438 | ||
18439 | * config/arm/arm.md (define_attr type): Rename f_load | |
18440 | and f_store to f_fpa_load and f_fpa_store. Update. | |
18441 | (write_conflict): Deal with rename fallout. | |
18442 | (*push_fp_multi): Likewise. | |
18443 | * config/arm/fpa.md (f_load): Use f_fpa_load. | |
18444 | (f_store): Use f_fpa_store. | |
18445 | (*movsf_fpa): Likewise. | |
18446 | (*movdf_fpa): Likewise. | |
18447 | (*movxf_fpa): Likewise. | |
18448 | (*thumb2_movsf_fpa): Likewise. | |
18449 | (*thumb2_movdf_fpa): Likewise. | |
18450 | (*thumb2_movxf_fpa): Likewise. | |
18451 | * config/arm/vfp.md (*thumb2_movdf_vfp): Fix attribute to | |
18452 | f_loadd and f_stored. | |
18453 | (*thumb2_movdi_vfp): Likewise. | |
18454 | (*thumb2_movsf_vfp): Fix attribute to f_loads. | |
18455 | (*thumb2_movsi_vfp): Likewise. | |
18456 | * config/arm/cortex-m4-fpu.md (cortex_m4_f_load): | |
18457 | Use f_loads instead of f_load. | |
18458 | * config/arm/cortex-a5.md (cortex_a5_f_loads): Remove f_load. | |
18459 | ||
a1a79768 AS |
18460 | 2011-01-20 Anatoly Sokolov <aesok@post.ru> |
18461 | ||
18462 | * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
18463 | * config/xtensa/xtensa-protos.h (constantpool_address_p): Remove. | |
18464 | * config/xtensa/xtensa.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
18465 | (xtensa_mode_dependent_address_p): New function. | |
18466 | (constantpool_address_p): Make static. Change return type to bool. | |
18467 | Change argument type to const_rtx. Use CONST_INT_P predicate. | |
18468 | ||
427f6cec AO |
18469 | 2011-01-20 Alexandre Oliva <aoliva@redhat.com> |
18470 | ||
18471 | PR debug/46583 | |
18472 | * tree-ssa-live.c (remove_unused_scope_block_p): Keep type decls. | |
18473 | ||
583ac69c JJ |
18474 | 2011-01-20 Jakub Jelinek <jakub@redhat.com> |
18475 | ||
18476 | PR debug/47283 | |
18477 | * cfgexpand.c (expand_debug_expr): Instead of generating | |
18478 | (mem (debug_implicit_ptr)) for MEM_REFs use COMPONENT_REF | |
18479 | etc. handling. | |
18480 | ||
93e452ed RG |
18481 | 2011-01-20 Richard Guenther <rguenther@suse.de> |
18482 | ||
18483 | PR middle-end/47370 | |
18484 | * tree-inline.c (remap_gimple_op_r): Recurse manually for | |
18485 | the pointer operand of MEM_REFs. | |
18486 | ||
28fc44f3 JJ |
18487 | 2011-01-20 Jakub Jelinek <jakub@redhat.com> |
18488 | ||
18489 | PR tree-optimization/46130 | |
18490 | * ipa-split.c (consider_split): If return_bb contains non-virtual | |
18491 | PHIs other than for retval or if split_function would not adjust it, | |
18492 | refuse to split. | |
18493 | ||
ddd268f2 RG |
18494 | 2011-01-20 Richard Guenther <rguenther@suse.de> |
18495 | ||
18496 | PR tree-optimization/47167 | |
18497 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): | |
18498 | Revert previous change, only avoid enumeral type changes. | |
18499 | ||
882020aa MS |
18500 | 2011-01-19 Mike Stump <mikestump@comcast.net> |
18501 | ||
18502 | * doc/tm.texi.in (BRANCH_COST): Englishify. | |
18503 | * doc/tm.texi (BRANCH_COST): Likewise. | |
18504 | ||
7edb6247 DS |
18505 | 2011-01-19 Dodji Seketeli <dodji@redhat.com> |
18506 | ||
18507 | PR c++/47291 | |
18508 | * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen) | |
61052244 AM |
18509 | (gen_scheduled_generic_parms_dies): New functions. |
18510 | (gen_struct_or_union_type_die): Schedule template parameters DIEs | |
18511 | generation for the end of CU compilation. | |
18512 | (dwarf2out_finish): Generate template parameters DIEs here. | |
7edb6247 | 18513 | |
23d5ed5d AO |
18514 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
18515 | ||
18516 | PR debug/46240 | |
18517 | * tree-into-ssa.c (maybe_register_def): Do not attempt to add | |
18518 | debug bind stmt on merge edges. | |
18519 | ||
37d6a488 AO |
18520 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
18521 | ||
18522 | PR debug/47079 | |
18523 | PR debug/46724 | |
18524 | * function.c (instantiate_expr): Instantiate incoming rtl of | |
18525 | implicit arguments, and recurse on VALUE_EXPRs. | |
18526 | (instantiate_decls): Instantiate rtl and VALUE_EXPR of result. | |
18527 | * var-tracking.c (adjust_mems): Reject virtual_incoming_args_rtx. | |
18528 | ||
689f2c82 AO |
18529 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
18530 | ||
18531 | * c-parser.c (c_parser_for_statement): Initialize | |
18532 | collection_expression. | |
18533 | ||
03029de4 JM |
18534 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
18535 | ||
18536 | * config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}. | |
18537 | ||
3e03217e JM |
18538 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
18539 | ||
18540 | * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove. | |
18541 | (LINK_SHLIB_SPEC): Don't use %(link_path). | |
18542 | (SUBTARGET_EXTRA_SPECS): Remove link_path. | |
18543 | ||
5bbe9b3f JM |
18544 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
18545 | ||
18546 | * config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional. | |
18547 | (NO_SHARED_LIB_SUPPORT): Remove. | |
18548 | (LINK_SHLIB_SPEC): Remove one conditional definition. | |
18549 | ||
368e0b39 JM |
18550 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
18551 | ||
18552 | * config/mips/linux64.h (LINK_SPEC): Remove %{non_shared} | |
18553 | %{call_shared}. | |
18554 | * config/mips/mips.h (LINK_SPEC): Remove %{non_shared}. | |
18555 | * config/mips/netbsd.h (LINK_SPEC): Remove %{call_shared}. | |
18556 | * config/mips/openbsd.h (LINK_SPEC): Remove %{non_shared} | |
18557 | %{call_shared} and conditionals on these options not being passed. | |
18558 | * config/mips/sde.h (LINK_SPEC): Remove %{non_shared} | |
18559 | %{call_shared}. | |
18560 | ||
ed7656f6 JJ |
18561 | 2011-01-19 Jakub Jelinek <jakub@redhat.com> |
18562 | ||
68457901 JJ |
18563 | * ipa-split.c (find_return_bb): Use single_pred_p/single_pred_edge, |
18564 | simplify. | |
18565 | ||
ed7656f6 JJ |
18566 | * ipa-split.c: Spelling fixes. |
18567 | ||
e0d1958f RH |
18568 | 2011-01-19 Richard Henderson <rth@redhat.com> |
18569 | ||
18570 | * config/mn10300/mn10300.md (mulsi3): Use reg_or_am33_const_operand. | |
18571 | (*mulsi3): Likewise. | |
18572 | ||
27098b6b RH |
18573 | * longlong.h [__mn10300__] (count_leading_zeros): New. |
18574 | [__mn10300__] (umul_ppmm, smul_ppmm): New. | |
18575 | [__mn10300__] (add_ssaaaa, subddmmss): New. | |
18576 | [__mn10300__] (udiv_qrnnd, sdiv_qrnnd): New. | |
18577 | [__mn10300__] (UMUL_TIME, UDIV_TIME): New. | |
18578 | ||
d6be7c36 UW |
18579 | 2011-01-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
18580 | ||
18581 | * config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case. | |
18582 | ||
b1efde2a RH |
18583 | 2011-01-19 Richard Henderson <rth@redhat.com> |
18584 | ||
44217823 RH |
18585 | * config/mn10300/mn10300.md (addsi3_flags): New. |
18586 | (addc_internal, adddi3, adddi3_internal, *adddi3_degenerate): New. | |
18587 | (subsi3_flags, subc_internal, subdi3): New. | |
18588 | (subdi3_internal, *subdi3_degenerate): New. | |
18589 | * config/mn10300/predicates.md (reg_or_am33_const_operand): New. | |
18590 | ||
37a185d7 RH |
18591 | * config/mn10300/mn10300.c (mn10300_can_use_retf_insn): New. |
18592 | (mn10300_can_use_rets_insn): Rename from mn10300_can_use_return_insn. | |
18593 | (mn10300_expand_epilogue): Use it. Compute REG_SAVE_BYTES once. | |
18594 | * config/mn10300/mn10300-protos.h: Update. | |
18595 | * config/mn10300/mn10300.md (return): Use mn10300_can_use_retf_insn. | |
18596 | (return_ret): Likewise. Rename from return_internal_regs. | |
18597 | (return_internal): Remove. | |
18598 | ||
040c5757 RH |
18599 | * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): Remove. |
18600 | (mn10300_asm_output_addr_const_extra): Don't handle UNSPEC_INT_LABEL. | |
18601 | (mn10300_legitimate_constant_p): Likewise. | |
18602 | (mn10300_can_use_return_insn): Use mn10300_initial_offset. | |
18603 | (mn10300_frame_size): New. | |
18604 | (mn10300_expand_prologue): Use it. | |
18605 | (mn10300_expand_epilogue): Likewise. | |
18606 | (mn10300_initial_offset): Likewise. | |
18607 | * config/mn10300/mn10300-protos.h: Update. | |
18608 | * config/mn10300/mn10300.h (mn10300_unspec_int_label_counter): Remove. | |
18609 | * config/mn10300/mn10300.md (UNSPEC_INT_LABEL): Remove. | |
18610 | (prologue, epilogue, return_internal): Tidy output code. | |
18611 | (mn10300_store_multiple_operation, return): Likewise. | |
18612 | (int_label, pop_pic_reg, GOTaddr2picreg): Remove. | |
18613 | (am33_loadPC, mn10300_loadPC, call_next_insn): Remove. | |
18614 | (add_GOT_to_pic_reg, add_GOT_to_any_reg): Remove. | |
18615 | (load_pic, am33_load_pic): New. | |
18616 | (mn10300_load_pic0, mn10300_load_pic1): New. | |
18617 | ||
bad41521 RH |
18618 | * config/mn10300/mn10300-modes.def (CCZN, CCZNC): New modes. |
18619 | * config/mn10300/mn10300.c (CC_FLAG_Z): New. | |
18620 | (CC_FLAG_N, CC_FLAG_C, CC_FLAG_V): New. | |
18621 | (cc_flags_for_mode, cc_flags_for_code): New. | |
18622 | (mn10300_print_operand) ['B']: Use nc/ns for GE/LT when the | |
18623 | overflow flag is not valid. Validate that the flags we need | |
18624 | for the comparison are valid. | |
18625 | (mn10300_output_cmp): Remove. | |
18626 | (mn10300_output_add): New. | |
18627 | (mn10300_select_cc_mode): Use cc_flags_for_code. | |
18628 | (mn10300_split_cbranch): New. | |
18629 | (mn10300_match_ccmode): New. | |
18630 | (mn10300_split_and_operand_count): New. | |
18631 | * config/mn10300/mn10300.h (SELECT_CC_MODE): Pass all of the arguments | |
18632 | to the function. | |
18633 | * config/mn10300/mn10300.md (*am33_addsi3, *mn10300_addsi3): Merge... | |
18634 | (addsi3): ... here. Use mn10300_output_add. | |
18635 | (*addsi3_flags): New. | |
18636 | (*am33_subsi3, *mn10300_subsi3): Merge... | |
18637 | (subsi3): ... here. Use attribute isa. | |
18638 | (*subsi3_flags): New. | |
18639 | (negsi2): Rewrite from expander to insn_and_split. Use NOT+INC | |
18640 | when possible. | |
18641 | (*am33_andsi3, *mn10300_andsi3): Merge... | |
18642 | (andsi3): ... here. | |
18643 | (*andsi3_flags): New. | |
18644 | (andsi3 splitters): New. | |
18645 | (*am33_iorsi3, *mn10300_iorsi3): Merge... | |
18646 | (iorsi3): ... here. | |
18647 | (*iorsi3_flags): New. | |
18648 | (*am33_xorsi3, *mn10300_xorsi3): Merge... | |
18649 | (xorsi3): ... here. | |
18650 | (*xorsi3_flags): New. | |
18651 | (*am33_cmpsi2, *mn10300_cmplsi2): Merge... | |
18652 | (one_cmplsi2): ... here. | |
18653 | (*one_cmplsi2_flags): New. | |
18654 | (*cbranchsi4_cmp): Rename from cbranchsi4_post_reload. Use "r" | |
18655 | instead of "dax" in constraints. Use mn10300_split_cbranch. | |
18656 | (*cmpsi): Rename from cmpsi. Do not use mn10300_output_cmp. Do not | |
18657 | use matching constraints to eliminate a self-comparison. | |
18658 | (*integer_conditional_branch): Rename from integer_conditional_branch. | |
18659 | Use int_mode_flags to match CC_REG. | |
18660 | (*cbranchsi4_btst, *btstsi): New. | |
18661 | (*cbranchsf4_cmp): Rename from *cbranchsf4_post_reload. Use | |
18662 | mn10300_split_cbranch. | |
18663 | (*am33_cmpsf): Rename from am33_cmpsf. | |
18664 | (*float_conditional_branch): Rename from float_conditional_branch. | |
18665 | (*zero_extendqisi2_am33, *zero_extendqisi2_mn10300): Merge... | |
18666 | (zero_extendqisi2): ... here. | |
18667 | (*zero_extendhisi2_am33, *zero_extendhisi2_mn10300): Merge... | |
18668 | (zero_extendhisi2): ... here. | |
18669 | (*extendqisi2_am33, *extendqisi2_mn10300): Merge... | |
18670 | (extendqisi2): ... here. | |
18671 | (*extendhisi2_am33, *extendhisi2_mn10300): Merge... | |
18672 | (extendhisi2): ... here. | |
18673 | (*am33_ashlsi3, *mn10300_ashlsi3): Merge... | |
18674 | (ashlsi3): ... here. | |
18675 | (*am33_lshrsi3, *mn10300_lshrsi3): Merge... | |
18676 | (lshrsi3): ... here. | |
18677 | (*am33_ashrisi3, *mn10300_ashrsi3): Merge... | |
18678 | (ashrsi3): ... here. | |
18679 | (consecutive add peephole): Remove. | |
18680 | * config/mn10300/predicates.md (label_ref_operand): New. | |
18681 | (int_mode_flags): New. | |
18682 | (CCZN_comparison_operator): New. | |
18683 | ||
9efb4993 RH |
18684 | * config/mn10300/mn10300.md (UNSPEC_EXT): New. |
18685 | (throughput_42_latency_43): New reservation. | |
18686 | (mulsidi3, umulsidi3): New expanders. | |
18687 | (mulsidi3_internal): Rewrite from old mulsidi3 pattern. Expose | |
18688 | the MDR register to allocation; separately allocate the low and | |
18689 | high parts of the DImode result. | |
18690 | (umulsidi3_internal): Similarly. | |
18691 | (*am33_mulsi3, *mn10300_mulsi3): Merge into ... | |
18692 | (*mulsi3): ... here. Clobber MDR as a scratch as necessary. | |
18693 | (udivsi3, umodsi3): Remove. | |
18694 | (udivmodsi4, divmodsi4): New expanders. | |
18695 | (*udivmodsi4): Rename from udivmodsi4. Expose MDR properly. | |
18696 | (*divmodsi4): Simiarly. | |
18697 | (ext_internal): New. | |
18698 | ||
c25a21f5 RH |
18699 | * config/mn10300/constraints.md ("z"): New constraint. |
18700 | * config/mn10300/mn10300.h (MDR_REGNUM): Remove. | |
18701 | (FIXED_REGISTERS): Don't fix MDR. | |
18702 | (CALL_USED_REGSITERS): Reformat nicely. | |
18703 | (REG_ALLOC_ORDER): Add MDR. | |
18704 | (enum regclass): Add MDR_REGS. | |
18705 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update to match. | |
18706 | (IRA_COVER_CLASSES): Add MDR_REGS. | |
18707 | (REGNO_REG_CLASS): Handle MDR_REG. | |
18708 | * config/mn10300/mn10300.c (mn10300_secondary_reload): Handle MDR_REGS. | |
18709 | (mn10300_register_move_cost): Likewise. | |
18710 | * config/mn10300/mn10300.md (MDR_REG): New. | |
18711 | (*movsi_internal): Handle moves to/from MDR_REGS. | |
18712 | ||
36846b26 RH |
18713 | * config/mn10300/mn10300.c (mn10300_print_operand_address): Handle |
18714 | POST_MODIFY. | |
18715 | (mn10300_secondary_reload): Tidy combination reload classes. | |
18716 | (mn10300_legitimate_address_p): Allow post-modify and reg+reg | |
18717 | addresses for AM33. Allow symbolic offsets for reg+imm. | |
18718 | (mn10300_regno_in_class_p): New. | |
18719 | (mn10300_legitimize_reload_address): New. | |
18720 | * config/mn10300/mn10300.h (enum reg_class): Remove | |
18721 | DATA_OR_ADDRESS_REGS, DATA_OR_EXTENDED_REGS, ADDRESS_OR_EXTENDED_REGS, | |
18722 | SP_OR_EXTENDED_REGS, SP_OR_ADDRESS_OR_EXTENDED_REGS. Add | |
18723 | SP_OR_GENERAL_REGS. | |
18724 | (REG_CLASS_NAMES): Update to match. | |
18725 | (REG_CLASS_CONTENTS): Likewise. | |
18726 | (INDEX_REG_CLASS): Use GENERAL_REGS for AM33. | |
18727 | (BASE_REG_CLASS): Use SP_OR_GENERAL_REGS for AM33. | |
18728 | (REGNO_IN_RANGE_P): Remove. | |
18729 | (REGNO_DATA_P): Use mn10300_regno_in_class_p. | |
18730 | (REGNO_ADDRESS_P, REGNO_EXTENDED_P): Likewise. | |
18731 | (REGNO_STRICT_OK_FOR_BASE_P): Likewise. | |
18732 | (REGNO_STRICT_OK_FOR_BIT_BASE_P): Likewise. | |
18733 | (REGNO_STRICT_OK_FOR_INDEX_P): Likewise. | |
18734 | (REGNO_SP_P, REGNO_AM33_P, REGNO_FP_P): Remove. | |
18735 | (REGNO_GENERAL_P): New. | |
18736 | (HAVE_POST_MODIFY_DISP): New. | |
18737 | (USE_LOAD_POST_INCREMENT, USE_STORE_POST_INCREMENT): New. | |
18738 | (LEGITIMIZE_RELOAD_ADDRESS): New. | |
18739 | * config/mn10300/mn10300-protos.h: Update. | |
18740 | ||
8b119bb6 RH |
18741 | * config/mn10300/mn10300.c (mn10300_preferred_reload_class): Allow |
18742 | DATA_REGS for AM33 stack-pointer destination. | |
18743 | (mn10300_preferred_output_reload_class): Likewise. | |
18744 | (mn10300_secondary_reload): Rearrange mn10300_secondary_reload_class | |
18745 | into a form appropriate for ... | |
18746 | (TARGET_SECONDARY_RELOAD): New. | |
18747 | * config/mn10300/mn10300.h (SECONDARY_RELOAD_CLASS): Remove. | |
18748 | * config/mn10300/mn10300-protos.h: Update. | |
18749 | * config/mn10300/mn10300.md (reload_plus_sp_const): Rename from | |
18750 | reload_insi; use the "A" constraint for the scratch; handle AM33 | |
18751 | moves of sp to non-address registers. | |
18752 | ||
b1efde2a RH |
18753 | * config/mn10300/mn10300.md (*am33_movqi, *mn10300_movqi): Merge into |
18754 | (*movqi_internal): ... here. | |
18755 | (*am33_movhi, *mn10300_movhi): Merge into... | |
18756 | (*movhi_internal): ... here. | |
18757 | (*movsi_internal): Use "r" instead of "dax" in constraints. Use "A" | |
18758 | as the source/destination of moves from/to SP. | |
18759 | (movsf): Only allow for AM33-2. | |
1c3ba85b | 18760 | (*movsf_internal): Use "r" instead of "dax"; use "F" instead of |
b1efde2a RH |
18761 | any integer constant constraint. Only allow for AM33-2. Tidy |
18762 | all of the alternative outputs. | |
18763 | (movdi, movdf, *am33_2_movdf, *mn10300_movdf): Remove. | |
18764 | (udivmodsi4): Delete expander and promote *udivmodsi4. Disallow | |
18765 | for MN103. | |
18766 | (udivsi3, umodsi3): New patterns for MN103 only. | |
18767 | ||
b899fd78 JR |
18768 | 2011-01-19 Joern Rennecke <amylaar@spamcop.net> |
18769 | ||
18770 | * doc/tm.texi.in: Spell out that a lack of register class unions | |
18771 | can lead to ICEs. | |
18772 | * doc/tm.texi: Regenerate. | |
18773 | ||
afaaa67d JJ |
18774 | 2011-01-19 Jakub Jelinek <jakub@redhat.com> |
18775 | ||
2e0642cd JJ |
18776 | PR rtl-optimization/47337 |
18777 | * dce.c (check_argument_store): New function. | |
18778 | (find_call_stack_args): Ignore debug insns. Use check_argument_store. | |
18779 | ||
afaaa67d JJ |
18780 | PR tree-optimization/47290 |
18781 | * tree-eh.c (infinite_empty_loop_p): New function. | |
18782 | (cleanup_empty_eh): Use it. | |
18783 | ||
d2cd871f SE |
18784 | 2011-01-18 Steve Ellcey <sje@cup.hp.com> |
18785 | ||
18786 | PR target/46997 | |
18787 | * ia64.c (ia64_expand_unpack): Fix code for TARGET_BIG_ENDIAN. | |
18788 | (a64_expand_widen_sum): Ditto. | |
18789 | * vect.md (mulv2si3): Disable for TARGET_BIG_ENDIAN. | |
18790 | (vec_extract_evenodd_help): Ditto. | |
18791 | (vec_extract_evenv4hi): Ditto. | |
18792 | (vec_extract_oddv4hi): Ditto. | |
18793 | (vec_extract_evenv2si): Ditto. | |
18794 | (vec_extract_oddv2si): Ditto. | |
18795 | (vec_extract_evenv2sf): Ditto. | |
18796 | (vec_extract_oddv2sf): Ditto. | |
18797 | (vec_pack_trunc_v4hi: Ditto. | |
18798 | (vec_pack_trunc_v2si): Ditto. | |
18799 | (vec_interleave_lowv8qi): Fix for TARGET_BIG_ENDIAN. | |
18800 | (vec_interleave_highv8qi): Ditto. | |
18801 | (mix1_r): Ditto. | |
18802 | (vec_extract_oddv8qi): Ditto. | |
18803 | (vec_interleave_lowv4hi): Ditto. | |
18804 | (vec_interleave_highv4hi): Ditto. | |
18805 | (vec_interleave_lowv2si): Ditto. | |
18806 | (vec_interleave_highv2si): Ditto. | |
18807 | ||
41a1208a JDA |
18808 | 2011-01-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
18809 | ||
18810 | * doc/extend.texi: Mention __float128 support on hppa HP-UX. | |
18811 | * config/pa/pa-hpux.h (HPUX_LONG_DOUBLE_LIBRARY): Define to 1. | |
18812 | * config/pa/pa.c (pa_expand_builtin): New. Include "langhooks.h". | |
18813 | (pa_c_mode_for_suffix): New. | |
18814 | (TARGET_EXPAND_BUILTIN): Define. | |
18815 | (TARGET_C_MODE_FOR_SUFFIX): Define. | |
18816 | (pa_builtins): Define. | |
18817 | (pa_init_builtins): Register __float128 type and init new support | |
18818 | builtins. | |
18819 | * config/pa/pa.h (HPUX_LONG_DOUBLE_LIBRARY): Define if not defined. | |
18820 | * config/pa/quadlib.c (_U_Qfcopysign): New. | |
18821 | ||
1ecad98e EB |
18822 | 2011-01-18 Eric Botcazou <ebotcazou@adacore.com> |
18823 | ||
18824 | PR middle-end/46894 | |
18825 | * explow.c (allocate_dynamic_stack_space): Do not assume more than | |
18826 | BITS_PER_UNIT alignment if STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET | |
18827 | are defined. | |
18828 | ||
d4f2460a UW |
18829 | 2011-01-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
18830 | ||
18831 | PR tree-optimization/47179 | |
18832 | * config/spu/spu.c (spu_ref_may_alias_errno): New function. | |
18833 | (TARGET_REF_MAY_ALIAS_ERRNO): Define. | |
18834 | ||
4994da65 RG |
18835 | 2011-01-18 Richard Guenther <rguenther@suse.de> |
18836 | ||
18837 | PR rtl-optimization/47216 | |
18838 | * emit-rtl.c: Include tree-flow.h. | |
18839 | (set_mem_attributes_minus_bitpos): Use tree_could_trap_p instead | |
18840 | of replicating it with different semantics. | |
18841 | * Makefile.in (emit-rtl.o): Adjust. | |
18842 | ||
1eb458d1 RR |
18843 | 2011-01-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
18844 | ||
38be4072 | 18845 | * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually include. |
61052244 | 18846 | (cortex_a9_dp): Handle neon types correctly. |
1eb458d1 | 18847 | |
e7ef91dc JJ |
18848 | 2011-01-18 Jakub Jelinek <jakub@redhat.com> |
18849 | ||
18850 | PR rtl-optimization/47299 | |
18851 | * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use | |
38be4072 | 18852 | subtarget. Use normal multiplication if both operands are constants. |
e7ef91dc JJ |
18853 | * expmed.c (expand_widening_mult): Don't try to optimize constant |
18854 | multiplication if op0 has VOIDmode. Convert op1 constant to mode | |
18855 | before using it. | |
18856 | ||
535b7874 RW |
18857 | 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
18858 | ||
18859 | * doc/lto.texi (LTO): Ensure two spaces after period. Fix | |
18860 | spacing after 'e.g.', typos, comma, hyphenation. | |
18861 | ||
27bf36f3 RH |
18862 | 2011-01-17 Richard Henderson <rth@redhat.com> |
18863 | ||
8a5b5449 RH |
18864 | * config/rx/predicates.md (rx_constshift_operand): Use match_test. |
18865 | (rx_restricted_mem_operand): New. | |
18866 | (rx_shift_operand): Use register_operand. | |
18867 | (rx_source_operand, rx_compare_operand): Likewise. | |
18868 | * config/rx/rx.md (addsi3_flags): New expander. | |
18869 | (adddi3): Rewrite as expander. | |
18870 | (adc_internal, *adc_flags, adddi3_internal): New patterns. | |
18871 | (subsi3_flags): New expander. | |
18872 | (subdi3): Rewrite as expander. | |
18873 | (sbb_internal, *sbb_flags, subdi3_internal): New patterns. | |
18874 | ||
784f69be RH |
18875 | * config/rx/rx.c (RX_BUILTIN_SAT): Remove. |
18876 | (rx_init_builtins): Remove sat builtin. | |
18877 | (rx_expand_builtin): Likewise. | |
18878 | * config/rx/rx.md (ssaddsi3): New. | |
18879 | (*sat): Rename from sat. Represent the CC_REG input. | |
18880 | ||
f033541c RH |
18881 | * config/rx/predicates.md (rshift_operator): New. |
18882 | * config/rx/rx.c (rx_expand_insv): Remove. | |
18883 | * config/rx/rx-protos.h: Update. | |
18884 | * config/rx/rx.md (*bitset): Rename from bitset. Swap the ashift | |
18885 | operand to the canonical position. | |
18886 | (*bitset_in_memory, *bitinvert, *bitinvert_in_memory): Similarly. | |
18887 | (*bitclr, *bitclr_in_memory): Similarly. | |
18888 | (*insv_imm, rx_insv_reg, *insv_cond, *bmcc, *insv_cond_lt): New. | |
18889 | (insv): Retain the zero_extract in the expansion. | |
18890 | ||
34fee389 RH |
18891 | * config/rx/rx.md (bswapsi2): Use = not + for output reload. |
18892 | (bswaphi2, bitinvert, revw): Likewise. | |
18893 | ||
265c835f RH |
18894 | * config/rx/rx.c (gen_rx_store_vector): Use VOIDmode for gen_rtx_SET. |
18895 | (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise. | |
18896 | * config/rx/rx.md (pop_and_return): Use VOIDmode for SET. | |
18897 | (stack_push, stack_pushm, stack_pop, stack_popm): Likewise. | |
18898 | (bitset, bitset_in_memory): Likewise. | |
18899 | (bitinvert, bitinvert_in_memory): Likewise. | |
18900 | (bitclr, bitclr_in_memory): Likewise. | |
18901 | (insv, sync_lock_test_and_setsi, movstr, rx_movstr): Likewise. | |
18902 | (rx_strend, rx_cmpstrn): Likewise. | |
18903 | (rx_setmem): Likewise. Make the source BLKmode to match the dest. | |
18904 | (bitop peep2 patterns): Remove. | |
18905 | ||
b4d83be3 RH |
18906 | * config/rx/rx.c (rx_match_ccmode): New. |
18907 | * config/rx/rx-protos.h: Update. | |
18908 | * config/rx/rx.md (abssi2): Clobber, don't set flags. | |
18909 | (addsi3, adddi3, andsi3, negsi2, one_cmplsi2, iorsi3): Likewise. | |
18910 | (rotlsi3, rotrsi3, ashrsi3, lshrsi3, ashlsi3): Likewise. | |
18911 | (subsi3, subdi3, xorsi3, addsf3, divsf3, mulsf3, subsf3): Likewise. | |
18912 | (fix_truncsfsi2, floatsisf2): Likewise. | |
18913 | (*abssi2_flags, *addsi3_flags, *andsi3_flags, *negsi2_flags): New. | |
18914 | (*one_cmplsi2_flags, *iorsi3_flags, *rotlsi3_flags): New. | |
18915 | (*rotrsi3_flags, *ashrsi3_flags, *lshrsi3_flags, *ashlsi3_flags): New. | |
18916 | (*subsi3_flags, *xorsi3_flags): New. | |
18917 | ||
d0acb939 RH |
18918 | * config/rx/rx.md (cstoresf4, *cstoresf4): New patterns. |
18919 | ||
c06fc3d9 RH |
18920 | * config/rx/rx.c (rx_print_operand): Remove workaround for |
18921 | unsplit comparison operations. | |
18922 | ||
2882702b RH |
18923 | * config/rx/rx.md (movsicc): Split after reload. |
18924 | (*movsicc): Merge *movsieq and *movsine via match_operator. | |
18925 | (*stcc): New pattern. | |
18926 | ||
6f7310f2 RH |
18927 | * config/rx/rx.c (rx_float_compare_mode): Remove. |
18928 | * config/rx/rx.h (rx_float_compare_mode): Remove. | |
18929 | * config/rx/rx.md (cstoresi4): Split after reload. | |
18930 | (*sccc): New pattern. | |
18931 | ||
e963cb1a RH |
18932 | * config/rx/predicates.md (label_ref_operand): New. |
18933 | (rx_z_comparison_operator): New. | |
18934 | (rx_zs_comparison_operator): New. | |
18935 | (rx_fp_comparison_operator): New. | |
18936 | * config/rx/rx.c (rx_print_operand) [B]: Examine comparison modes. | |
18937 | Validate that the flags are set properly for the comparison. | |
18938 | (rx_gen_cond_branch_template): Remove. | |
18939 | (rx_cc_modes_compatible): Remove. | |
18940 | (mode_from_flags): New. | |
18941 | (flags_from_code): Rename from flags_needed_for_conditional. | |
18942 | (rx_cc_modes_compatible): Re-write in terms of flags_from_mode. | |
18943 | (rx_select_cc_mode): Likewise. | |
18944 | (rx_split_fp_compare): New. | |
18945 | (rx_split_cbranch): New. | |
18946 | * config/rx/rx.md (most_cond, zs_cond): Remove iterators. | |
18947 | (*cbranchsi4): Use match_operator and rx_split_cbranch. | |
18948 | (*cbranchsf4): Similarly. | |
18949 | (*cbranchsi4_tst): Rename from *tstbranchsi4_<code>. Use | |
18950 | match_operator and rx_split_cbranch. | |
18951 | (*cbranchsi4_tst_ext): Combine *tstbranchsi4m_eq and | |
18952 | tstbranchsi4m_ne. Use match_operator and rx_split_cbranch. | |
18953 | (*cmpsi): Rename from cmpsi. | |
18954 | (*tstsi): Rename from tstsi. | |
18955 | (*cmpsf): Rename from cmpsf; use CC_Fmode. | |
18956 | (*conditional_branch): Rename from conditional_branch. | |
18957 | (*reveresed_conditional_branch): Remove. | |
18958 | (b<code>): Remove expander. | |
18959 | * config/rx/rx-protos.h: Update. | |
18960 | ||
af530bb4 RH |
18961 | * config/rx/rx.c (rx_compare_redundant): Remove. |
18962 | * config/rx/rx.md (cmpsi): Don't use it. | |
18963 | * config/rx/rx-protos.h: Update. | |
18964 | ||
27bf36f3 RH |
18965 | * config/rx/rx-modes.def (CC_F): New mode. |
18966 | * config/rx/rx.c (rx_select_cc_mode): New. | |
18967 | * config/rx/rx.h (SELECT_CC_MODE): Use it. | |
18968 | * config/rx/rx-protos.h: Update. | |
18969 | ||
d7fde127 RH |
18970 | 2011-01-17 Richard Henderson <rth@redhat.com> |
18971 | ||
18972 | * except.c (dump_eh_tree): Fix stray ; after for statement. | |
18973 | ||
6ff38230 RG |
18974 | 2011-01-17 Richard Guenther <rguenther@suse.de> |
18975 | ||
18976 | PR tree-optimization/47313 | |
18977 | * tree-inline.c (tree_function_versioning): Move DECL_RESULT | |
18978 | handling before copying the body. Properly deal with | |
18979 | by-reference result in SSA form. | |
18980 | ||
114ce554 ILT |
18981 | 2011-01-17 Ian Lance Taylor <iant@google.com> |
18982 | ||
bf5cd92b | 18983 | PR target/47219 |
114ce554 ILT |
18984 | * config/sparc/sparc.c (sparc_sr_alias_set): Don't define. |
18985 | (struct_value_alias_set): Don't define. | |
18986 | (sparc_option_override): Don't set sparc_sr_alias_set and | |
18987 | struct_value_alias_set. | |
18988 | (save_or_restore_regs): Use gen_frame_mem rather than calling | |
18989 | set_mem_alias_set. | |
18990 | (sparc_struct_value_rtx): Likewise. | |
18991 | ||
98c6d93c L |
18992 | 2011-01-17 H.J. Lu <hongjiu.lu@intel.com> |
18993 | ||
18994 | PR target/47318 | |
7a81008b | 18995 | * config/i386/avxintrin.h (_mm_maskload_pd): Change mask to __m128i. |
98c6d93c L |
18996 | (_mm_maskstore_pd): Likewise. |
18997 | (_mm_maskload_ps): Likewise. | |
18998 | (_mm_maskstore_ps): Likewise. | |
18999 | (_mm256_maskload_pd): Change mask to __m256i. | |
19000 | (_mm256_maskstore_pd): Likewise. | |
19001 | (_mm256_maskload_ps): Likewise. | |
19002 | (_mm256_maskstore_ps): Likewise. | |
19003 | ||
19004 | * config/i386/i386-builtin-types.def: Updated. | |
19005 | (ix86_expand_special_args_builtin): Likewise. | |
19006 | ||
19007 | * config/i386/i386.c (bdesc_special_args): Update | |
19008 | __builtin_ia32_maskloadpd, __builtin_ia32_maskloadps, | |
19009 | __builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256, | |
19010 | __builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps, | |
19011 | __builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256. | |
19012 | ||
19013 | * config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>): | |
19014 | Use <avxpermvecmode> on mask register. | |
19015 | (avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise. | |
19016 | ||
b9361af2 | 19017 | 2011-01-17 Olivier Hainque <hainque@adacore.com> |
61052244 AM |
19018 | Michael Haubenwallner <michael.haubenwallner@salomon.at> |
19019 | Eric Botcazou <ebotcazou@adacore.com> | |
b9361af2 OH |
19020 | |
19021 | PR target/46655 | |
19022 | * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only | |
19023 | if <= USHRT_MAX in 32-bit mode. | |
19024 | ||
b7ae9eb5 RW |
19025 | 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
19026 | ||
19027 | * doc/install.texi (Configuration, Specific): Wrap long | |
19028 | lines in examples. Allow line wrapping in long options | |
19029 | and URLs where beneficial for PDF output. | |
19030 | ||
4377fad9 RS |
19031 | 2011-01-16 Richard Sandiford <rdsandiford@googlemail.com> |
19032 | ||
19033 | * config/mips/mips.c (mips_classify_symbol): Don't return | |
19034 | SYMBOL_PC_RELATIVE for nonlocal labels. | |
19035 | ||
55959ffa | 19036 | 2011-01-15 Eric Botcazou <ebotcazou@adacore.com> |
be46831f | 19037 | |
55959ffa EB |
19038 | * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo. |
19039 | ||
19040 | 2011-01-15 Jan Hubicka <jh@suse.cz> | |
19041 | ||
19042 | PR tree-optimization/47276 | |
be46831f JH |
19043 | * ipa.c (function_and_variable_visibility): Do not try to mark alias |
19044 | declarations as needed. | |
19045 | ||
05842ff5 MJ |
19046 | 2011-01-15 Martin Jambor <mjambor@suse.cz> |
19047 | ||
19048 | * common.opt (fdevirtualize): New flag. | |
19049 | * doc/invoke.texi (Option Summary): Document it. | |
19050 | * opts.c (default_options_table): Add devirtualize flag. | |
19051 | * ipa-prop.c (detect_type_change): Return immediately if | |
19052 | devirtualize flag is not set. | |
19053 | (detect_type_change_ssa): Likewise. | |
19054 | (compute_known_type_jump_func): Likewise. | |
19055 | (ipa_analyze_virtual_call_uses): Likewise. | |
19056 | ||
f65cf2b7 MJ |
19057 | 2011-01-14 Martin Jambor <mjambor@suse.cz> |
19058 | ||
19059 | PR tree-optimization/45934 | |
19060 | PR tree-optimization/46302 | |
19061 | * ipa-prop.c (type_change_info): New type. | |
19062 | (stmt_may_be_vtbl_ptr_store): New function. | |
19063 | (check_stmt_for_type_change): Likewise. | |
19064 | (detect_type_change): Likewise. | |
19065 | (detect_type_change_ssa): Likewise. | |
19066 | (compute_complex_assign_jump_func): Check for dynamic type change. | |
19067 | (compute_complex_ancestor_jump_func): Likewise. | |
19068 | (compute_known_type_jump_func): Likewise. | |
19069 | (compute_scalar_jump_functions): Likewise. | |
19070 | (ipa_analyze_virtual_call_uses): Likewise. | |
19071 | (ipa_analyze_node): Push and pop cfun, set current_function_decl. | |
19072 | ||
eb5bb0fd JM |
19073 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
19074 | ||
19075 | * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5. | |
19076 | * config/i386/i386.opt (msse5): New Alias. | |
19077 | ||
f2060fbe JM |
19078 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
19079 | ||
19080 | * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}. | |
19081 | * config/sparc/linux64.h (CC1_SPEC): Likewise. | |
19082 | * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
19083 | * config/sparc/sparc.h (CC1_SPEC): Likewise. | |
19084 | ||
3a7b4385 JM |
19085 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
19086 | ||
19087 | * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of | |
19088 | -mcpu options. | |
19089 | * config/sparc/linux64.h (CC1_SPEC): Likewise. | |
19090 | * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
19091 | * config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise. | |
19092 | * config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC): | |
19093 | Likewise. | |
19094 | * config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8. | |
19095 | ||
a7b778f8 JM |
19096 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
19097 | ||
38be4072 | 19098 | * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or -fvec-eabi. |
a7b778f8 | 19099 | |
a7edae0a MS |
19100 | 2011-01-14 Mike Stump <mikestump@comcast.net> |
19101 | ||
19102 | * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set. | |
19103 | * config/fr30/fr30.md: Likweise | |
19104 | (movsi_push): Likewise. | |
19105 | (movsi_pop): Likewise. | |
19106 | (enter_func): Likewise. | |
19107 | * config/moxie/moxie.md (movsi_push): Likewise. | |
19108 | (movsi_pop): Likewise. | |
19109 | ||
cbabf03f JM |
19110 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
19111 | ||
19112 | * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum} | |
19113 | %{no_archive} %{exact_version}. | |
19114 | * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}. | |
19115 | * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum} | |
19116 | %{no_archive} %{exact_version}. | |
19117 | * config/mips/openbsd.h (LINK_SPEC): Likewise. | |
19118 | * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}. | |
19119 | * config/mips/vxworks.h: Likewise. | |
19120 | ||
438da41a JM |
19121 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
19122 | ||
38be4072 | 19123 | * config/microblaze/microblaze.h (ASM_SPEC): Remove %{microblaze1}. |
438da41a | 19124 | |
da290a42 JM |
19125 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
19126 | ||
19127 | * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC, | |
19128 | ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove. | |
19129 | ||
8989d00e JM |
19130 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
19131 | ||
19132 | * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not | |
19133 | -nodefaultlib. | |
19134 | ||
a3010a69 JM |
19135 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
19136 | ||
19137 | * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check | |
19138 | for mcpu not cpu. | |
19139 | * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC, | |
19140 | CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu | |
19141 | not cpu. | |
19142 | (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options. | |
19143 | Don't handle -shlib. | |
19144 | ||
e7f2f537 JM |
19145 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
19146 | ||
19147 | * config/avr/avr.h (CPP_SPEC): Don't handle -posix. | |
19148 | (CC1_SPEC): Don't handle -profile. | |
19149 | ||
34830bfd JM |
19150 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
19151 | ||
19152 | * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec. | |
19153 | * config/mips/mips.h (CC1_SPEC): Likewise. | |
19154 | ||
b2d36e74 JM |
19155 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
19156 | ||
19157 | * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }. | |
19158 | * config/mips/mips.h (CC1_SPEC): Likewise. | |
19159 | ||
dabadc52 JM |
19160 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
19161 | ||
19162 | * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional. | |
19163 | * config/m32r/linux.h (LINK_SPEC): Likewise. | |
19164 | * config/mips/linux.h (LINK_SPEC): Likewise. | |
19165 | * config/mips/linux64.h (LINK_SPEC): Likewise. | |
19166 | * config/sparc/linux.h (LINK_SPEC): Likewise. | |
19167 | * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC, | |
19168 | LINK_SPEC): Likewise. | |
19169 | * config/xtensa/linux.h (LINK_SPEC): Likewise. | |
19170 | ||
43ee6785 JM |
19171 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
19172 | ||
19173 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove | |
19174 | %{version:-v}. | |
19175 | * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise. | |
19176 | ||
45e79dfd JM |
19177 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
19178 | ||
19179 | * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}. | |
19180 | * config/sparc/sp64-elf.h (ASM_SPEC): Likewise. | |
19181 | ||
37e9e71d JM |
19182 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
19183 | ||
19184 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}. | |
19185 | ||
bb127cd8 RO |
19186 | 2011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19187 | ||
19188 | * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always | |
19189 | supports -Bstatic/-Bdynamic. | |
19190 | * configure: Regenerate. | |
19191 | ||
89a012ea | 19192 | 2011-01-14 Jan Hubicka <jh@suse.cz> |
509d65dd | 19193 | Jack Howarth <howarth@bromo.med.uc.edu> |
89a012ea JH |
19194 | |
19195 | PR target/46037 | |
19196 | * config/darwin.c (darwin_override_options): Honor flag_gtoggle | |
19197 | when checking debug_info_level. Test write_symbols instead of | |
19198 | debug_hooks->var_location when setting flag_var_tracking_uninit. | |
19199 | ||
7352c013 RG |
19200 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
19201 | ||
19202 | PR tree-optimization/47179 | |
19203 | * target.def (ref_may_alias_errno): New target hook. | |
19204 | * targhooks.h (default_ref_may_alias_errno): Declare. | |
19205 | * targhooks.c: Include tree-ssa-alias.h and tree-flow.h. | |
19206 | (default_ref_may_alias_errno): New function. | |
19207 | * target.h (struct ao_ref_s): Declare. | |
19208 | * tree-ssa-alias.c: Include target.h. | |
19209 | (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook. | |
19210 | * Makefile.in (tree-ssa-alias.o): Adjust dependencies. | |
19211 | (targhooks.o): Likewise. | |
19212 | * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document. | |
19213 | * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation. | |
19214 | ||
9a6c9288 RG |
19215 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
19216 | ||
19217 | * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER. | |
19218 | ||
0fdb0d27 RG |
19219 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
19220 | ||
19221 | PR tree-optimization/47280 | |
19222 | * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and | |
19223 | return CFG changes. | |
19224 | (tree_ssa_forward_propagate_single_use_vars): Deal with | |
19225 | CFG changes from associate_plusminus. | |
19226 | ||
8f66db3b RG |
19227 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
19228 | ||
19229 | PR middle-end/47281 | |
19230 | Revert | |
19231 | 2011-01-11 Richard Guenther <rguenther@suse.de> | |
19232 | ||
280d9630 EB |
19233 | PR tree-optimization/46076 |
19234 | * tree-ssa.c (useless_type_conversion_p): Conversions from | |
19235 | unprototyped to empty argument list function types are useless. | |
8f66db3b | 19236 | |
6c0c92e6 RG |
19237 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
19238 | ||
19239 | PR tree-optimization/47286 | |
280d9630 | 19240 | * tree-ssa-structalias.c (new_var_info): Register variables are global. |
6c0c92e6 | 19241 | |
db09f943 MJ |
19242 | 2011-01-14 Martin Jambor <mjambor@suse.cz> |
19243 | ||
19244 | PR middle-end/46823 | |
19245 | * tree-inline.c (expand_call_inline): Get fndecl from call graph edge. | |
19246 | ||
dde8a3a4 AS |
19247 | 2011-01-13 Anatoly Sokolov <aesok@post.ru> |
19248 | ||
19249 | * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE, | |
19250 | LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. | |
19251 | * config/xtensa/xtensa.c (xtensa_libcall_value, | |
19252 | xtensa_function_value_regno_p): New functions. | |
19253 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
19254 | ||
a2b63a20 KT |
19255 | 2011-01-13 Kai Tietz <kai.tietz@onevision.com> |
19256 | ||
19257 | PR c++/47213 | |
19258 | * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY): | |
19259 | PE specific hook. | |
19260 | * config/i386/i386-protos.h (i386_pe_assemble_visibility): | |
19261 | New function prototype. | |
19262 | * config/i386/winnt.c (i386_pe_assemble_visibility): | |
19263 | Warn only if attribute was specified by user. | |
19264 | ||
b41f0b34 MM |
19265 | 2011-01-13 Michael Meissner <meissner@linux.vnet.ibm.com> |
19266 | ||
19267 | PR target/47251 | |
19268 | * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware | |
19269 | floating point. | |
19270 | (floatunsdidf2_fcfidu): Ditto. | |
19271 | ||
3f3c098d AK |
19272 | 2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
19273 | ||
19274 | * config/s390/s390.c (print_operand_address): Replace 'error' with | |
19275 | 'output_operand_lossage'. | |
19276 | (print_operand): Likewise. | |
19277 | ||
29fa95ed JL |
19278 | 2011-01-13 Jeff Law <law@redhat.com> |
19279 | ||
280d9630 | 19280 | PR rtl-optimization/39077 |
29fa95ed JL |
19281 | * doc/invoke.texi (max-gcse-insertion-ratio): Document. |
19282 | * params.h (MAX_GCSE_INSERTION_RATIO): Define. | |
19283 | * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define. | |
19284 | * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps. | |
19285 | * gcse.c (prune_insertions_deletions): New function. | |
19286 | (compute_pre_data): Use it. | |
19287 | ||
71d12276 DS |
19288 | 2011-01-13 Dodji Seketeli <dodji@redhat.com> |
19289 | ||
19290 | PR debug/PR46973 | |
19291 | * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New | |
19292 | static function. | |
61052244 | 19293 | (prune_unused_types_mark): Use it. |
71d12276 | 19294 | |
9b0f04e7 AB |
19295 | 2011-01-13 Andrey Belevantsev <abel@ispras.ru> |
19296 | ||
19297 | PR rtl-optimization/45352 | |
1c3ba85b | 19298 | * sel-sched.c: Update copyright years. |
9b0f04e7 | 19299 | (reset_sched_cycles_in_current_ebb): Also recheck the DFA state |
1c3ba85b | 19300 | in the advancing loop when we have issued issue_rate insns. |
9b0f04e7 | 19301 | |
d6a3e264 RH |
19302 | 2011-01-12 Richard Henderson <rth@redhat.com> |
19303 | ||
a49b692a RH |
19304 | * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New. |
19305 | (TARGET_MD_ASM_CLOBBERS): New. | |
19306 | ||
126b1483 RH |
19307 | * config/mn10300/mn10300.c (mn10300_delegitimize_address): New. |
19308 | (TARGET_DELEGITIMIZE_ADDRESS): New. | |
19309 | ||
f3d9d2e0 RH |
19310 | * config/mn10300/mn10300.md (UNSPEC_BSCH): New. |
19311 | (clzsi2, *bsch): New patterns. | |
19312 | ||
d84760c9 RH |
19313 | * config/mn10300/mn10300.md (INT): New mode iterator. |
19314 | (*mov<INT>_clr): New pattern, and peep2 to generate it. | |
19315 | ||
ec815d65 RH |
19316 | * config/mn10300/mn10300.c (mn10300_option_override): Force enable |
19317 | flag_split_wide_types. | |
19318 | ||
d6a3e264 RH |
19319 | * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove. |
19320 | (mn10300_trampoline_init): Rewrite without a template, an immediate | |
19321 | load and a direct branch. | |
19322 | * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16. | |
19323 | ||
0f8ab434 AS |
19324 | 2011-01-12 Anatoly Sokolov <aesok@post.ru> |
19325 | ||
19326 | * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
19327 | * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove. | |
19328 | * config/s390/s390.c (s390_output_addr_const_extra): Make static. | |
19329 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
19330 | ||
d8a24b65 KT |
19331 | 2011-01-12 Kai Tietz <kai.tietz@onevision.com> |
19332 | ||
19333 | PR debug/47209 | |
19334 | * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT | |
19335 | of type. | |
19336 | ||
56e22cab JH |
19337 | 2011-01-12 Jan Hubicka <jh@suse.cz> |
19338 | ||
19339 | PR driver/47244 | |
19340 | * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used. | |
19341 | (PLUGIN_COND_CLOSE): New macro. | |
19342 | (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE. | |
19343 | ||
4b18b3c2 RG |
19344 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
19345 | ||
19346 | PR lto/47259 | |
19347 | * lto-streamer-out.c (output_gimple_stmt): Do not wrap | |
19348 | register variables in a MEM_REF. | |
19349 | ||
8e38461c JM |
19350 | 2011-01-12 Joseph Myers <joseph@codesourcery.com> |
19351 | ||
19352 | * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*, | |
19353 | crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*, | |
19354 | hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* | | |
19355 | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | | |
19356 | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu, | |
19357 | x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu, | |
19358 | ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*, | |
19359 | m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*, | |
19360 | mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*, | |
19361 | s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*, | |
19362 | sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*, | |
19363 | am33_2.0-*-linux*): Use gnu-user.h before linux.h. | |
19364 | * config/gnu-user.h: New. Copied from linux.h. | |
19365 | (LINUX_TARGET_STARTFILE_SPEC): Rename to | |
19366 | GNU_USER_TARGET_STARTFILE_SPEC. | |
19367 | (LINUX_TARGET_ENDFILE_SPEC): Rename to | |
19368 | GNU_USER_TARGET_ENDFILE_SPEC. | |
19369 | (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC. | |
19370 | (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC. | |
19371 | (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC, | |
19372 | LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1, | |
19373 | CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER, | |
19374 | UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64, | |
19375 | BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32, | |
19376 | BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER, | |
19377 | LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64, | |
19378 | TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove. | |
19379 | * config/arm/linux-eabi.h (CC1_SPEC): Use | |
19380 | GNU_USER_TARGET_CC1_SPEC. | |
19381 | (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC. | |
19382 | (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC. | |
19383 | (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC | |
19384 | * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF, | |
19385 | LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC, | |
19386 | LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC, | |
19387 | CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC, | |
19388 | LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove. | |
19389 | ||
a570fc16 RG |
19390 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
19391 | ||
19392 | PR other/46946 | |
19393 | * doc/invoke.texi (ffast-math): Document it is turned on | |
19394 | with -Ofast. | |
19395 | ||
b0223c3e JH |
19396 | 2011-01-12 Jan Hubicka <jh@suse.cz> |
19397 | ||
19398 | PR tree-optimization/47233 | |
ca1e00b3 EB |
19399 | * opts.c (common_handle_option): Disable ipa-reference with profile |
19400 | feedback. | |
b0223c3e | 19401 | |
1c3ba85b | 19402 | 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> |
d853ee42 NP |
19403 | |
19404 | * c-parser.c (c_parser_objc_at_property_declaration): Improved | |
ca1e00b3 EB |
19405 | error message. |
19406 | ||
d853ee42 NP |
19407 | 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> |
19408 | ||
19409 | * c-parser.c (c_lex_one_token): Updated and reindented some | |
19410 | comments. No changes in code. | |
19411 | ||
4053a5a0 ILT |
19412 | 2011-01-11 Ian Lance Taylor <iant@google.com> |
19413 | ||
19414 | * godump.c (go_output_var): Don't output the variable if there is | |
19415 | already a type with the same name. | |
19416 | ||
fa3e04d2 ILT |
19417 | 2011-01-11 Ian Lance Taylor <iant@google.com> |
19418 | ||
19419 | * godump.c (go_format_type): Don't generate float80. | |
19420 | ||
885fe07c RH |
19421 | 2011-01-11 Richard Henderson <rth@redhat.com> |
19422 | ||
72d6e3c5 RH |
19423 | * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward |
19424 | declaration. Rewrite for both speed and size. | |
19425 | (mn10300_address_cost_1): Remove. | |
19426 | (mn10300_register_move_cost): New. | |
19427 | (mn10300_memory_move_cost): New. | |
19428 | (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle | |
19429 | ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare, | |
19430 | extensions, shifts, BSWAP, CLZ. | |
19431 | (mn10300_wide_const_load_uses_clr): Remove. | |
19432 | (TARGET_REGISTER_MOVE_COST): New. | |
19433 | (TARGET_MEMORY_MOVE_COST): New. | |
19434 | * config/mn10300/mn10300-protos.h: Update. | |
19435 | * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove. | |
19436 | ||
df37c023 RH |
19437 | * config/mn10300/constraints.md ("R", "T"): Remove constraints. |
19438 | * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove. | |
19439 | * config/mn10300/mn10300-protos.h: Update. | |
19440 | * config/mn10300/mn10300.md (movsi_internal): Don't use "R". | |
19441 | (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove. | |
19442 | (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove. | |
19443 | (*test_int_bitfield, *test_byte_bitfield): Remove. | |
19444 | (*bit_test, *subreg_bit_test): Remove. | |
62d3f9b2 | 19445 | * config/mn10300/predicates.md (const_8bit_operand): Remove. |
df37c023 | 19446 | |
85a337b5 RH |
19447 | * config/mn10300/constraints.md ("c"): Rename from "A". |
19448 | ("A", "D"): New constraint letters. | |
19449 | * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint. | |
19450 | (fmssf4, fnmasf4, fnmssf4): Likewise. | |
19451 | ||
a5c727e3 RH |
19452 | * config/mn10300/mn10300.md (isa): New attribute. |
19453 | (enabled): New attribute. | |
19454 | ||
0d9e23f4 RH |
19455 | * config/mn10300/mn10300.md (absdf2, negdf2): Remove. |
19456 | (abssf2, negsf2): Define only for hardware fp. | |
19457 | (sqrtsf2): Reformat. | |
19458 | (addsf3, subsf3, mulsf3): Merge expander and insn. | |
19459 | ||
c157b3f0 RH |
19460 | * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New. |
19461 | (DEBUGGER_AUTO_OFFSET): Remove. | |
19462 | (DEBUGGER_ARG_OFFSET): Remove. | |
19463 | ||
cc909bba RH |
19464 | * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static. |
19465 | Emit register stores with the same offsets as the hardware. | |
19466 | (mn10300_store_multiple_operation): Don't check that the register | |
19467 | save offsets are monotonic. | |
19468 | * config/mn10300/mn10300-protos.h: Update. | |
19469 | ||
e3b5c2f3 RH |
19470 | * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete. |
19471 | ||
885fe07c RH |
19472 | * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define |
19473 | in terms of the value on the stack, not the MDR register. | |
19474 | ||
6e701822 JH |
19475 | 2011-01-11 Jan Hubicka <jh@suse.cz> |
19476 | ||
19477 | PR lto/45721 | |
19478 | PR lto/45375 | |
19479 | * tree.h (symbol_alias_set_t): Move typedef here from varasm.c | |
19480 | (symbol_alias_set_destroy, symbol_alias_set_contains, | |
19481 | propagate_aliases_backward): Declare. | |
19482 | * lto-streamer-out.c (struct sets): New sturcture. | |
19483 | (trivally_defined_alias): New function. | |
19484 | (output_alias_pair_p): Rewrite. | |
19485 | (output_unreferenced_globals): Fix output of alias pairs. | |
19486 | (produce_symtab): Likewise. | |
19487 | * ipa.c (function_and_variable_visibility): Set weak alias destination | |
19488 | as needed in lto. | |
19489 | * varasm.c (symbol_alias_set_t): Remove. | |
19490 | (symbol_alias_set_destroy): Export. | |
19491 | (propagate_aliases_forward, propagate_aliases_backward): New functions | |
19492 | based on ... | |
19493 | (compute_visible_aliases): ... this one; remove. | |
19494 | (trivially_visible_alias): New | |
19495 | (trivially_defined_alias): New. | |
19496 | (remove_unreachable_alias_pairs): Rewrite. | |
19497 | (finish_aliases_1): Reorganize code checking if alias is defined. | |
19498 | * passes.c (rest_of_decl_compilation): Do not call assemble_alias when | |
19499 | in LTO mode. | |
19500 | ||
1b248907 RG |
19501 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
19502 | ||
19503 | PR tree-optimization/46076 | |
19504 | * tree-ssa.c (useless_type_conversion_p): Conversions from | |
19505 | unprototyped to empty argument list function types are useless. | |
19506 | ||
b1923f0a RG |
19507 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
19508 | ||
19509 | PR middle-end/45235 | |
19510 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark | |
19511 | volatile MEMs as MEM_READONLY_P. | |
19512 | ||
e98965af RG |
19513 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
19514 | ||
19515 | PR tree-optimization/47239 | |
19516 | * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs. | |
19517 | ||
9f9ca914 JL |
19518 | 2011-01-11 Jeff Law <law@redhat.com> |
19519 | ||
1ee3ea05 | 19520 | PR tree-optimization/47086 |
9f9ca914 JL |
19521 | * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record |
19522 | IVs from statements that might throw. | |
19523 | ||
345fdcb7 JH |
19524 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
19525 | ||
19526 | PR lto/45375 | |
19527 | * lto-cgraph.c (input_profile_summary): Remove overactive sanity check. | |
19528 | ||
c459c97b JH |
19529 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
19530 | ||
19531 | PR lto/45375 | |
19532 | * profile.c (read_profile_edge_counts): Ignore profile inconistency | |
19533 | when correcting profile. | |
19534 | ||
06c9eb51 JH |
19535 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
19536 | ||
19537 | PR lto/46083 | |
19538 | * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store | |
19539 | DECL_FINI_PRIORITY. | |
19540 | * lto-streamer-in.c (unpack_ts_function_decl_value_fields): | |
19541 | Restore DECL_FINI_PRIORITY. | |
19542 | ||
ae9fd815 RW |
19543 | 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
19544 | ||
19545 | * doc/gimple.texi: Fix quoting of multi-word return values in | |
19546 | @deftypefn statements. Ensure presence of return value. Wrap | |
19547 | overlong @deftypefn lines. | |
19548 | (is_gimple_operand, is_gimple_min_invariant_address): Remove | |
19549 | descriptions of removed functions. | |
19550 | * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting | |
19551 | of multi-word return value in @deftypefn statement. | |
19552 | ||
0ecb4a7c RW |
19553 | 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
19554 | ||
19555 | * doc/gimple.texi (Temporaries, Operands, Compound Lvalues) | |
19556 | (Conditional Expressions, Logical Operators) | |
19557 | (Statement and operand traversals): Do not indent smallexample | |
19558 | code. Fix duplicate function argument in example. | |
19559 | ||
2e5e346d JL |
19560 | 2011-01-10 Jeff Law <law@redhat.com> |
19561 | ||
1ee3ea05 | 19562 | PR tree-optimization/47141 |
2e5e346d JL |
19563 | * ipa-split.c (split_function): Handle case where we are |
19564 | returning a value and the return block has a virtual operand phi. | |
19565 | ||
cf9712cc JH |
19566 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
19567 | ||
1c3ba85b | 19568 | PR tree-optimization/47234 |
cf9712cc JH |
19569 | * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO. |
19570 | (pass_feedback_split_functions): Declare. | |
19571 | * passes.c (init_optimization_passes): Add ipa-split as subpass of | |
19572 | tree-profile. | |
19573 | * ipa-split.c (gate_split_functions): Update comments; disable | |
19574 | split-functions for profile_arc_flag and branch_probabilities. | |
19575 | (gate_feedback_split_functions): New function. | |
19576 | (execute_feedback_split_functions): New function. | |
19577 | (pass_feedback_split_functions): New global var. | |
19578 | ||
94cd932c L |
19579 | 2011-01-10 H.J. Lu <hongjiu.lu@intel.com> |
19580 | ||
19581 | PR lto/46760 | |
19582 | * tree-inline.c (tree_can_inline_p): Check e->call_stmt before | |
19583 | calling gimple_call_set_cannot_inline. | |
19584 | ||
fbbfcaf1 IS |
19585 | 2011-01-10 Iain Sandoe <iains@gcc.gnu.org> |
19586 | ||
19587 | * config/darwin-sections.def: Remove unused section. | |
19588 | ||
d06865bf DK |
19589 | 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com> |
19590 | ||
19591 | PR c++/47218 | |
19592 | * cgraphunit.c (assemble_thunk): Call resolve_unique_section. | |
19593 | ||
96bbfbac NP |
19594 | 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com> |
19595 | ||
19596 | PR objc/47232 | |
19597 | * c-parser.c (c_parser_declaration_or_fndef): Improved | |
19598 | error message. | |
19599 | ||
1ba6516f KT |
19600 | 2011-01-09 Kai Tietz <kai.tietz@onevision.com> |
19601 | ||
19602 | * config/i386/winnt.c (i386_pe_start_function): Make sure | |
19603 | to switch back to function's section. | |
19604 | ||
0c5d770e IS |
19605 | 2011-01-09 Iain Sandoe <iains@gcc.gnu.org> |
19606 | ||
19607 | PR gcc/46902 | |
19608 | PR testsuite/46912 | |
19609 | * plugin.c: Move include of dlfcn.h from here... | |
19610 | * system.h: ... to here. | |
19611 | ||
19612 | 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | |
4ee1aa2a RW |
19613 | |
19614 | * doc/cpp.texi (C++ Named Operators): Fix markup for header | |
19615 | file name. | |
19616 | * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid | |
19617 | two extra empty pages in PDF output. | |
19618 | ||
046608a3 NP |
19619 | 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com> |
19620 | ||
19621 | PR objc/47078 | |
19622 | * c-parser.c (c_parser_objc_type_name): If the type is unknown, | |
19623 | for error recovery purposes behave as if it was not specified so | |
19624 | that the default type is usd. | |
19625 | ||
8cb114b9 JH |
19626 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
19627 | ||
19628 | PR tree-optmization/46469 | |
19629 | * ipa.c (function_and_variable_visibility): Clear needed flags on | |
19630 | nodes with external decls; handle weakrefs merging correctly. | |
19631 | ||
b294a75e JM |
19632 | 2011-01-07 Joseph Myers <joseph@codesourcery.com> |
19633 | ||
19634 | * opts.c (finish_options): Set opts->x_flag_opts_finished to true, | |
19635 | not false. | |
19636 | ||
96bdf9b4 JH |
19637 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
19638 | ||
f60c2554 | 19639 | * doc/invoke.texi (-flto, -fuse-linker-plugin): Update defaults |
96bdf9b4 JH |
19640 | and no longer claim that gold is required for linker plugin. |
19641 | * configure: Regenerate. | |
19642 | * gcc.c (PLUGIN_COND): New macro. | |
19643 | (LINK_COMMAND_SPEC): Use it. | |
19644 | (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set. | |
19645 | * config.in (HAVE_LTO_PLUGIN): New. | |
19646 | * configure.ac (--with-lto-plugin): New parameter; autodetect | |
19647 | HAVE_LTO_PLUGIN. | |
19648 | ||
17afc0fe JH |
19649 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
19650 | ||
19651 | PR tree-optimization/46367 | |
19652 | * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only | |
19653 | when we can update original. | |
19654 | (cgraph_mark_inline_edge): Sanity check. | |
19655 | * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check. | |
19656 | ||
d4c48c0f UW |
19657 | 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
19658 | ||
19659 | * config/spu/spu.h (ASM_COMMENT_START): Define. | |
19660 | ||
96f5b137 L |
19661 | 2011-01-07 H.J. Lu <hongjiu.lu@intel.com> |
19662 | ||
19663 | PR driver/42445 | |
19664 | * gcc.c (%>S): New. | |
19665 | (SWITCH_KEEP_FOR_GCC): Likewise. | |
19666 | (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC. | |
19667 | (do_spec_1): Handle "%>". | |
19668 | ||
19669 | * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>". | |
19670 | ||
c6a8f6de JJ |
19671 | 2011-01-07 Jakub Jelinek <jakub@redhat.com> |
19672 | ||
c21bbd7a JJ |
19673 | PR target/47201 |
19674 | * config/i386/i386.c (ix86_delegitimize_address): If | |
19675 | simplify_gen_subreg fails, return orig_x. | |
19676 | ||
c6a8f6de JJ |
19677 | PR bootstrap/47187 |
19678 | * value-prof.c (gimple_stringop_fixed_value): Handle | |
19679 | lhs of the call properly. | |
19680 | ||
fe95fbf9 JH |
19681 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
19682 | ||
19683 | PR lto/45375 | |
19684 | * lto-opt.c (lto_reissue_options): Set flag_shlib. | |
19685 | ||
14d11d40 IS |
19686 | 2011-01-07 Iain Sandoe <iains@gcc.gnu.org> |
19687 | ||
72e961c8 EB |
19688 | * target.def (function_switched_text_sections): New hook. |
19689 | * doc/tm.texi: Regenerated. | |
19690 | * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New. | |
14d11d40 | 19691 | * final.c (default_function_switched_text_sections): New. |
72e961c8 EB |
19692 | (final_scan_insn): Call function_switched_text_sections when a |
19693 | mid-function section change occurs. | |
14d11d40 | 19694 | * output.h (default_function_switched_text_sections): Declare. |
72e961c8 EB |
19695 | * config/darwin-protos.h (darwin_function_switched_text_sections): |
19696 | Likewise. | |
14d11d40 | 19697 | * config/darwin.c (darwin_function_switched_text_sections): New. |
72e961c8 | 19698 | * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New. |
14d11d40 | 19699 | |
0b764288 IS |
19700 | 2011-01-07 Iain Sandoe <iains@gcc.gnu.org> |
19701 | ||
19702 | * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for | |
19703 | DWARF >= 3. Add pubnames for the primary section and a reduced DIE for | |
19704 | the secondary code fragment when outputting for DWARF == 2. | |
19705 | ||
2ac6bb04 AS |
19706 | 2011-01-07 Anatoly Sokolov <aesok@post.ru> |
19707 | ||
19708 | * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
19709 | * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra): | |
19710 | Remove. | |
19711 | * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static. | |
19712 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
19713 | ||
9f82de11 EB |
19714 | 2011-01-06 Eric Botcazou <ebotcazou@adacore.com> |
19715 | ||
19716 | PR debug/46704 | |
280d9630 EB |
19717 | * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only |
19718 | when it is not empty. | |
9f82de11 EB |
19719 | |
19720 | 2011-01-06 Changpeng Fang <changpeng.fang@amd.com> | |
14b52538 | 19721 | |
1ed72abf | 19722 | Bobcat Enablement |
14b52538 | 19723 | * config.gcc (i[34567]86-*-linux* | ...): Add btver1. |
1ed72abf | 19724 | (case ${target}): Add btver1. |
14b52538 | 19725 | * config/i386/driver-i386.c (host_detect_local_cpu): Let |
1ed72abf | 19726 | -march=native recognize btver1 processors. |
14b52538 | 19727 | * config/i386/i386-c.c (ix86_target_macros_internal): Add |
1ed72abf | 19728 | btver1 def_and_undef |
14b52538 | 19729 | * config/i386/i386.c (struct processor_costs btver1_cost): New |
1ed72abf CF |
19730 | btver1 cost table. |
19731 | (m_BTVER1): New definition. | |
19732 | (m_AMD_MULTIPLE): Includes m_BTVER1. | |
19733 | (initial_ix86_tune_features): Add btver1 tune. | |
19734 | (processor_target_table): Add btver1 entry. | |
19735 | (static const char *const cpu_names): Add btver1 entry. | |
19736 | (software_prefetching_beneficial_p): Add btver1. | |
19737 | (ix86_option_override_internal): Add btver1 instruction sets. | |
19738 | (ix86_issue_rate): Add btver1. | |
19739 | (ix86_adjust_cost): Add btver1. | |
14b52538 | 19740 | * config/i386/i386.h (TARGET_BTVER1): New definition. |
1ed72abf CF |
19741 | (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1. |
19742 | (enum processor_type): Add PROCESSOR_BTVER1. | |
14b52538 CF |
19743 | * config/i386/i386.md (define_attr "cpu"): Add btver1. |
19744 | ||
e1a973d8 RO |
19745 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19746 | ||
19747 | PR target/43309 | |
19748 | * config/i386/i386.c (legitimize_tls_address) | |
19749 | <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS. | |
19750 | * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare. | |
19751 | (tls_initial_exec_64_sun): New pattern. | |
19752 | ||
c73f67c5 GP |
19753 | 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com> |
19754 | ||
19755 | * doc/invoke.texi (Overall Options): Improve wording and markup | |
19756 | of the description of -wrapper. | |
19757 | ||
bc4c6f9c JM |
19758 | 2011-01-06 Joseph Myers <joseph@codesourcery.com> |
19759 | ||
19760 | * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads, | |
19761 | rdynamic, threads): New Driver options. | |
19762 | ||
adb75db0 RO |
19763 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19764 | ||
19765 | PR target/38118 | |
19766 | * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss | |
19767 | if coming from .tdata. | |
19768 | * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. | |
19769 | ||
402c1cb4 JH |
19770 | 2011-01-06 Jan Hubicka <jh@suse.cz> |
19771 | ||
19772 | PR lto/47188 | |
19773 | * collect2.c (main): Do not enable LTOmode when plugin is active. | |
19774 | ||
a4da6485 RO |
19775 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19776 | ||
19777 | PR other/45915 | |
19778 | * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd | |
19779 | --version output if supported. | |
19780 | * configure: Regenerate. | |
19781 | ||
028dbdf4 JM |
19782 | 2011-01-06 Joseph Myers <joseph@codesourcery.com> |
19783 | ||
19784 | * config/linux-android.opt (tno-android-cc, tno-android-ld): New | |
19785 | Driver options. | |
19786 | ||
dfe776dd JJ |
19787 | 2011-01-06 Jakub Jelinek <jakub@redhat.com> |
19788 | ||
19789 | PR c/47150 | |
19790 | * c-convert.c (convert): When converting a complex expression | |
19791 | other than COMPLEX_EXPR to a different complex type, ensure | |
19792 | c_save_expr is called instead of save_expr, unless in_late_binary_op. | |
19793 | * c-typeck.c (convert_for_assignment): Set in_late_binary_op also | |
19794 | when converting COMPLEX_TYPE. | |
19795 | ||
210dedfe IR |
19796 | 2011-01-06 Ira Rosen <irar@il.ibm.com> |
19797 | ||
19798 | PR tree-optimization/47139 | |
19799 | * tree-vect-loop.c (vect_is_simple_reduction_1): Check that | |
19800 | only the last reduction value is used outside the loop. Update | |
19801 | documentation. | |
19802 | ||
cd33a412 JM |
19803 | 2011-01-05 Joseph Myers <joseph@codesourcery.com> |
19804 | ||
19805 | * config/rtems.opt: New. | |
19806 | * config.gcc (*-*-rtems*): Use rtems.opt. | |
19807 | ||
819edd94 CF |
19808 | 2011-01-05 Changpeng Fang <changpeng.fang@amd.com> |
19809 | ||
19810 | * config/i386/i386.c (ix86_option_override_internal): Bulldozer | |
19811 | processors do not support 3DNow instructions. | |
19812 | ||
dc242c4a UW |
19813 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
19814 | ||
19815 | * config/spu/spu.c (spu_option_override): Set parameter | |
19816 | PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1. | |
19817 | ||
be286227 JH |
19818 | 2011-01-05 Jan Hubicka <jh@suse.cz> |
19819 | ||
19820 | * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified | |
19821 | at the command line. | |
19822 | ||
644e637f MJ |
19823 | 2011-01-05 Martin Jambor <mjambor@suse.cz> |
19824 | ||
19825 | PR lto/47162 | |
19826 | * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk | |
19827 | deltas on streamed outgoing edges. | |
19828 | (output_node_opt_summary): Output info for outgoing edges only when | |
19829 | the node is in new parameter set. | |
19830 | (output_cgraph_opt_summary): New parameter set, passed to the two | |
19831 | aforementioned functions. Update its forward declaration and its | |
19832 | callee too. | |
19833 | ||
7bd11157 TT |
19834 | 2011-01-05 Tom Tromey <tromey@redhat.com> |
19835 | ||
19836 | * c-parser.c (c_parser_omp_atomic): Pass location of assignment | |
19837 | operator to c_finish_omp_atomic. | |
19838 | * c-typeck.c (lvalue_or_else): Add 'loc' argument. | |
19839 | (build_unary_op): Update. | |
19840 | (build_modify_expr): Update. | |
19841 | (build_asm_expr): Update. | |
19842 | ||
f626b979 UW |
19843 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
19844 | ||
19845 | * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for | |
19846 | newly inserted insns. | |
19847 | (pad_bb): Likewise. | |
19848 | (spu_emit_branch_hint): Likewise. | |
19849 | (insert_hbrp_for_ilb_runout): Likewise. | |
19850 | (spu_machine_dependent_reorg): Call df_finish_pass after | |
19851 | schedule_insns returns. | |
19852 | ||
4c825c02 UW |
19853 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
19854 | ||
19855 | * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage. | |
19856 | ||
5e9fba51 EB |
19857 | 2011-01-05 Eric Botcazou <ebotcazou@adacore.com> |
19858 | ||
19859 | PR tree-optimization/47005 | |
19860 | * tree-sra.c (struct access): Add 'non_addressable' bit. | |
19861 | (create_access): Set it for a DECL_NONADDRESSABLE_P field. | |
19862 | (decide_one_param_reduction): Return 0 if the parameter is passed by | |
19863 | reference and one of the accesses in the group is non_addressable. | |
19864 | ||
3ebb5ca6 EB |
19865 | 2011-01-04 Eric Botcazou <ebotcazou@adacore.com> |
19866 | ||
19867 | PR tree-optimization/47056 | |
19868 | * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers. | |
19869 | (mark_load): Likewise. Handle FUNCTION_DECL specially. | |
19870 | (mark_store): Likewise. Pass STMT to ipa_record_reference. | |
19871 | ||
d5d4d14e EB |
19872 | 2011-01-04 Eric Botcazou <ebotcazou@adacore.com> |
19873 | ||
19874 | * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the | |
19875 | initializer. Skip view conversions from aggregate types. | |
19876 | ||
d996ef70 KT |
19877 | 2011-01-04 Kai Tietz <kai.tietz@onevision.com> |
19878 | ||
19879 | PR bootstrap/47055 | |
19880 | * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC. | |
19881 | ||
509d65dd | 19882 | 2011-01-04 Philipp Thomas <pth@suse.de> |
017096ca PT |
19883 | |
19884 | * config/microblaze/microbalse.opt (mxl-float-convert): Fix | |
19885 | obvious typo. | |
19886 | ||
55c623b5 UW |
19887 | 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
19888 | ||
19889 | * function.c (thread_prologue_and_epilogue_insns): Do not crash | |
19890 | on empty epilogue sequences. | |
19891 | ||
b98d6b35 JM |
19892 | 2011-01-04 Joseph Myers <joseph@codesourcery.com> |
19893 | ||
19894 | * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now, | |
19895 | non-static): New Driver options. | |
19896 | ||
a0d43bac JZ |
19897 | 2011-01-04 Jie Zhang <jie@codesourcery.com> |
19898 | ||
19899 | PR driver/47137 | |
19900 | * gcc.c (default_compilers[]): Set combinable field to 0 | |
19901 | for all assembly languages. | |
19902 | ||
2b18eb32 MX |
19903 | 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com> |
19904 | ||
19905 | * config/mips/loongson3a.md: New file. | |
19906 | * config/mips/mips.md: Include loongson3a.md. | |
19907 | * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when | |
19908 | TUNE_LOONGSON_3A. | |
19909 | ||
42a48c4f EB |
19910 | 2011-01-03 Eric Botcazou <ebotcazou@adacore.com> |
19911 | ||
19912 | PR middle-end/47017 | |
19913 | * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space | |
19914 | instead of convert_memory_address_addr_space on the base expression. | |
19915 | ||
9c1732c4 UW |
19916 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
19917 | ||
19918 | * config/spu/spu.c (spu_option_override): Update error text | |
19919 | for bad -march= / -mtune= values. | |
19920 | ||
aa474365 UW |
19921 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
19922 | ||
19923 | * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking | |
19924 | if branch-hint optimization will be performed. | |
19925 | ||
9766135b JJ |
19926 | 2011-01-03 Jakub Jelinek <jakub@redhat.com> |
19927 | ||
371556ee JJ |
19928 | PR tree-optimization/47148 |
19929 | * ipa-split.c (split_function): Convert arguments to | |
19930 | DECL_ARG_TYPE if possible. | |
19931 | ||
1ac12fa2 JJ |
19932 | PR tree-optimization/47155 |
19933 | * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type | |
19934 | when computing uns. | |
19935 | ||
9766135b JJ |
19936 | PR rtl-optimization/47157 |
19937 | * combine.c (try_combine): If undobuf.other_insn becomes | |
19938 | (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it | |
19939 | and set *new_direct_jump_p too. | |
19940 | ||
f4a2e571 SP |
19941 | 2011-01-03 Sebastian Pop <sebastian.pop@amd.com> |
19942 | ||
19943 | PR tree-optimization/47021 | |
19944 | * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR. | |
19945 | ||
9f8e43c0 JJ |
19946 | 2011-01-03 Jakub Jelinek <jakub@redhat.com> |
19947 | ||
19948 | * gcc.c (process_command): Update copyright notice dates. | |
19949 | * gcov.c (print_version): Likewise. | |
19950 | * gcov-dump.c (print_version): Likewise. | |
19951 | * mips-tfile.c (main): Likewise. | |
19952 | * mips-tdump.c (main): Likewise. | |
19953 | ||
1a2e38f3 MJ |
19954 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
19955 | ||
19956 | PR tree-optimization/46801 | |
19957 | * tree-sra.c (type_internals_preclude_sra_p): Check whether | |
19958 | aggregate fields start at byte boundary instead of the bit-field flag. | |
19959 | ||
56b721c5 L |
19960 | 2011-01-03 H.J. Lu <hongjiu.lu@intel.com> |
19961 | ||
19962 | PR driver/47137 | |
19963 | * gcc.c (main): Revert revision 168407. | |
19964 | ||
839d549b MJ |
19965 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
19966 | ||
19967 | * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type. | |
19968 | ||
4ce99a20 | 19969 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
2fa6eeff UW |
19970 | |
19971 | * tree-vect-generic.c (expand_vector_operations_1): When using vector/ | |
19972 | vector optab to expand vector/scalar shift, update gimple to vector. | |
19973 | ||
76df0ae6 MJ |
19974 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
19975 | ||
19976 | * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to | |
19977 | a thunk. | |
19978 | ||
ce47fda3 MJ |
19979 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
19980 | ||
19981 | PR tree-optimization/46984 | |
19982 | * cgraph.h (cgraph_indirect_call_info): make field thunk_delta | |
19983 | HOST_WIDE_INT. | |
19984 | (cgraph_create_indirect_edge): Fixed line length. | |
19985 | (cgraph_indirect_call_info): Declare. | |
19986 | (cgraph_make_edge_direct) Update declaration. | |
19987 | * cgraph.c (cgraph_allocate_init_indirect_info): New function. | |
19988 | (cgraph_create_indirect_edge): Use it. | |
19989 | (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all | |
19990 | callees. | |
19991 | * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for | |
19992 | the new thunk_delta representation. | |
19993 | * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to | |
19994 | HOST_WIDE_INT. | |
19995 | (ipa_write_indirect_edge_info): Remove streaming of thunk_delta. | |
19996 | (ipa_read_indirect_edge_info): Likewise. | |
19997 | * lto-cgraph.c (output_edge_opt_summary): New function. | |
19998 | (output_node_opt_summary): Call it on all outgoing edges. | |
19999 | (input_edge_opt_summary): New function. | |
20000 | (input_node_opt_summary): Call it on all outgoing edges. | |
20001 | ||
1e67fa1f L |
20002 | 2011-01-02 H.J. Lu <hongjiu.lu@intel.com> |
20003 | ||
20004 | PR driver/47137 | |
20005 | * gcc.c (main): Don't check have_o when settting combine_inputs. | |
20006 | ||
6656b2ac EB |
20007 | 2011-01-02 Eric Botcazou <ebotcazou@adacore.com> |
20008 | ||
20009 | * regrename.c: Add general comment describing the pass. | |
20010 | (struct du_head): Remove 'length' field. | |
20011 | (get_element, merge_sort_comparison, merge, sort_du_head): Remove. | |
20012 | (regrename_optimize): Do not sort chains. Rework comments, add others. | |
20013 | Force renaming to the preferred class (if any) in the first pass and do | |
20014 | not consider registers that belong to it in the second pass. | |
20015 | (create_new_chain): Do not set 'length' field. | |
20016 | (scan_rtx_reg): Likewise. | |
20017 | ||
bc470c24 JJ |
20018 | 2011-01-02 Jakub Jelinek <jakub@redhat.com> |
20019 | ||
4e996296 JJ |
20020 | PR tree-optimization/47140 |
20021 | * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use | |
20022 | TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument | |
20023 | to bit_value_binop. | |
20024 | ||
bc470c24 | 20025 | PR rtl-optimization/47028 |
6656b2ac EB |
20026 | * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after |
20027 | parm_birth_insn instead of at the beginning of first bb. | |
bc470c24 | 20028 | |
5af62fcd | 20029 | 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com> |
0d52f2a8 MX |
20030 | |
20031 | * doc/generic.texi: Remove duplicated "@subsubsection Statements". | |
20032 | Remove the word "see" before "@pxref". | |
20033 | * doc/rtl.texi: Remove the word "see" before "@pxref". | |
20034 | ||
0e20c89f JH |
20035 | 2011-01-01 Jan Hubicka <jh@suse.cz> |
20036 | ||
6656b2ac EB |
20037 | * tree-loop-distribution.c (tree_loop_distribution): Do not use freed |
20038 | memory. | |
0e20c89f | 20039 | |
220e83ca KT |
20040 | 2011-01-01 Kai Tietz <kai.tietz@onevision.com> |
20041 | ||
20042 | PR target/38662 | |
6656b2ac | 20043 | * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too. |
220e83ca | 20044 | |
ad41bd84 | 20045 | \f |
797103eb | 20046 | Copyright (C) 2011 Free Software Foundation, Inc. |
ad41bd84 JM |
20047 | |
20048 | Copying and distribution of this file, with or without modification, | |
20049 | are permitted in any medium without royalty provided the copyright | |
20050 | notice and this notice are preserved. |