]>
Commit | Line | Data |
---|---|---|
e004838d | 1 | 2008-03-15 Richard Guenther <rguenther@suse.de> |
2 | ||
3 | * tree-ssa-ccp.c (get_symbol_constant_value): Export. | |
4 | (fold_const_aggregate_ref): Likewise. | |
5 | (get_value): Return NULL if we don't have any values. | |
6 | (ccp_finalize): Set const_val to NULL after freeing it. | |
7 | * tree-flow.h (get_symbol_constant_value): Declare. | |
8 | (fold_const_aggregate_ref): Likewise. | |
9 | * tree-ssa-sccvn.c (try_to_simplify): Use them. | |
10 | ||
b7488229 | 11 | 2008-03-15 Richard Guenther <rguenther@suse.de> |
12 | ||
13 | PR middle-end/35593 | |
14 | * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Make sure | |
15 | to not produce negative array indices if not allowed. Add | |
16 | parameter to indicate that. | |
17 | (maybe_fold_offset_to_component_ref): Allow negative array | |
18 | indices only for the first member of a structure. | |
19 | (maybe_fold_offset_to_reference): Allow negative array indices. | |
20 | (maybe_fold_stmt_addition): Likewise. | |
21 | ||
90ef7269 | 22 | 2008-03-15 Bjoern Haase <bjoern.m.haase@web.de> |
23 | Anatoly Sokolov <aesok@post.ru> | |
24 | ||
25 | * gcc/gcc/config/avr/avr.c (avr_arch_types): Add avr6 entry. | |
26 | (avr_arch): Add ARCH_AVR6. | |
27 | (avr_mcu_types): Add 'atmega2560' and 'atmega2561' entry. | |
28 | (initial_elimination_offset): Initialize and use 'avr_pc_size' | |
29 | instead of fixed value 2. | |
30 | (print_operand_address): Use gs() asm specifier instead of pm(). | |
31 | (avr_assemble_integer): (Ditto.). | |
32 | (avr_output_addr_vec_elt): (Ditto.). | |
33 | (print_operand): Handle "!" code. | |
34 | * gcc/gcc/config/avr/avr.h (TARGET_CPU_CPP_BUILTINS): Add | |
35 | __AVR_3_BYTE_PC__, __AVR_2_BYTE_PC__ and __AVR_HAVE_JMP_CALL__. | |
36 | (AVR_HAVE_EIJMP_EICALL): Define. | |
37 | (AVR_3_BYTE_PC): Redefine. | |
38 | (AVR_2_BYTE_PC): (Ditto.). | |
39 | (PRINT_OPERAND_PUNCT_VALID_P): Add '!' code. | |
40 | (LINK_SPEC): Add atmega2560 and atmega2561. | |
41 | (CRT_BINUTILS_SPEC): Add atmega2560 (crtm2560.o) and atmega2561 | |
42 | (crtm2561.o). | |
43 | * gcc/gcc/config/avr/avr.md (call_insn): Use eicall instead of icall | |
44 | for 3 byte PC devices. | |
45 | (call_value_insn): (Ditto.). | |
46 | (*tablejump_enh): Use eijmp instead of ijmp for 3 byte PC devices. | |
47 | (indirect_jump): Use only for for 2 byte PC devices. | |
48 | (*tablejump): (Ditto.). | |
49 | (*indirect_jump_avr6): Add insn. | |
50 | (*tablejump_rjmp): Don't use for 3 byte PC devices. | |
51 | * gcc/gcc/config/avr/libgcc.S (__prologue_saves__): Use eijmp | |
52 | instead of ijmp for 3 byte PC devices. | |
53 | (__tablejump2__): (Ditto.). | |
54 | * gcc/gcc/config/avr/t-avr (MULITLIB_OPTIONS): Add avr6 architecture. | |
55 | (MULITLIB_DIRNAMES): (Ditto.). | |
56 | (MULTILIB_MATCHES): Add atmega2560 and atmega2561 to list. | |
57 | ||
28a2ab9f | 58 | 2008-03-15 Uros Bizjak <ubizjak@gmail.com> |
59 | ||
60 | * config/i386/mmx.md ("sse2_umulv1siv2di3"): Rename from | |
61 | "sse2_umulsidi3". Use V1DI mode for operand 0. | |
62 | ("mmx_psadbw"): Use V1DI mode for operand 0. | |
63 | * config/i386/i386-modes.def (V1SI): New vector mode. | |
64 | * config/i386/i386.c (struct builtin_description) | |
65 | [IX86_BUILTIN_PMULUDQ]: Use CODE_FOR_sse2_umulv1siv1di3. | |
66 | (v1di_ftype_v8qi_v8qi): Rename from di_ftype_v8qi_v8qi. | |
67 | (v1di_ftype_v2si_v2si): Rename from di_ftype_v2si_v2si. | |
68 | (ix86_init_mmx_sse_builtins) [__builtin_ia32_psadbw]: Use | |
69 | v1di_ftype_v8qi_v8qi type. | |
70 | [__builtin_ia32_pmuludq]: Use v1di_ftype_v2si_v2si type. | |
71 | ||
72 | * doc/extend.texi (X86 Built-in Functions) [__builtin_ia32_psadbw, | |
73 | __builtin_ia32_pmuludq]: Fix the mode of return value. | |
74 | ||
a77a3698 | 75 | 2008-03-15 Richard Guenther <rguenther@suse.de> |
76 | ||
77 | PR middle-end/35595 | |
78 | * tree-ssa-pre.c (bitmap_find_leader): Handle expression | |
79 | being a PHI_NODE. | |
80 | ||
2c613040 | 81 | 2008-03-14 Bob Wilson <bob.wilson@acm.org> |
82 | ||
83 | * doc/invoke.texi (Option Summary, Xtensa Options): Document | |
84 | -mserialize-volatile and -mno-serialize-volatile Xtensa options. | |
85 | * config/xtensa/xtensa.c (print_operand): Do not emit MEMW instructions | |
86 | unless TARGET_SERIALIZE_VOLATILE is enabled. | |
87 | * config/xtensa/xtensa.md (*lsiu, *ssiu): Likewise. | |
88 | * config/xtensa/xtensa.h (TARGET_DEFAULT): Add MASK_SERIALIZE_VOLATILE. | |
89 | * config/xtensa/xtensa.opt (mserialize_volatile): New option. | |
90 | ||
404d6be4 | 91 | 2008-03-14 Richard Guenther <rguenther@suse.de> |
92 | ||
93 | PR tree-optimization/34172 | |
94 | * tree-flow.h (refs_may_alias_p): Declare. | |
95 | (get_single_def_stmt): Likewise. | |
96 | (get_single_def_stmt_from_phi): Likewise. | |
97 | (get_single_def_stmt_with_phi): Likewise. | |
98 | * tree-dfa.c (refs_may_alias_p): New function. | |
99 | (get_single_def_stmt): Likewise. | |
100 | (get_single_def_stmt_from_phi): Likewise. | |
101 | (get_single_def_stmt_with_phi): Likewise. | |
102 | * tree-ssa-sccvn.c (get_def_ref_stmt_vuses): New function. | |
103 | (vn_reference_lookup_1): New helper function. | |
104 | (vn_reference_lookup): Walk the virtual use-def chain to | |
105 | continue searching for a match if the def does not alias the | |
106 | reference we are looking for. | |
107 | ||
a7af6b24 | 108 | 2008-03-14 David Edelsohn <edelsohn@gnu.org> |
109 | ||
110 | * doc/install.texi (Binaries): Remove UCLA archive. Add HVCC | |
111 | archive and Perzl. Update The Written Word listing. | |
112 | ||
1d9353f3 | 113 | 2008-03-14 Richard Guenther <rguenther@suse.de> |
114 | ||
115 | PR tree-optimization/34043 | |
116 | PR tree-optimization/33989 | |
117 | * tree-ssa-pre.c (execute_pre): Allow SCCVN to do insertion | |
118 | when doing FRE. | |
119 | (bitmap_find_leader): Use extra argument to verify dominance | |
120 | relationship inside a basic-block. | |
121 | (can_PRE_operation): Add VIEW_CONVERT_EXPR. | |
122 | (find_leader_in_sets): Adjust. | |
123 | (create_component_ref_by_pieces): Take extra argument for | |
124 | dominance check, handle lookup failures. | |
125 | (find_or_generate_expression): Likewise. | |
126 | (create_expression_by_pieces): Likewise. | |
127 | (insert_into_preds_of_block): Adjust. | |
128 | (create_value_expr_from): If asked for, verify all operands | |
129 | are in the blocks AVAIL_OUT set. | |
130 | (make_values_for_stmt): Check for SSA_NAMEs that are life | |
131 | over an abnormal edge. | |
132 | (compute_avail): Remove such check. | |
133 | (do_SCCVN_insertion): New function. | |
134 | (eliminate): If we do not find a leader suitable for replacement | |
135 | insert a replacement expression from SCCVN if available. | |
136 | * tree-ssa-sccvn.h (run_scc_vn): Update prototype. | |
137 | (struct vn_ssa_aux): Add needs_insertion flag. | |
138 | * tree-ssa-sccvn.c (may_insert): New global flag. | |
139 | (copy_reference_ops_from_ref): Value-number union member access | |
140 | based on its size, not type and member if insertion is allowed. | |
141 | (visit_reference_op_load): For a weak match from union type | |
142 | punning lookup a view-converted value and insert a SSA_NAME | |
143 | for that value if that is not found. | |
144 | (visit_use): Make dumps shorter. Do not disallow value numbering | |
145 | SSA_NAMEs that are life over an abnormal edge to constants. | |
146 | (free_scc_vn): Release inserted SSA_NAMEs. | |
147 | (run_scc_vn): New flag to specify whether insertion is allowed. | |
148 | Process SSA_NAMEs in forward order. | |
149 | * tree-ssa-loop-im.c (for_each_index): Handle invariant | |
150 | ADDR_EXPRs inside VIEW_CONVERT_EXPR. | |
151 | * fold-const.c (fold_unary): Fold VIEW_CONVERT_EXPRs from/to | |
152 | pointer type to/from integral types that do not change the | |
153 | precision to regular conversions. | |
154 | ||
c9f96750 | 155 | 2008-03-13 Uros Bizjak <ubizjak@gmail.com> |
156 | ||
157 | * doc/extend.texi (X86 Built-in Functions) [__builtin_ia32_psll?, | |
158 | __builtin_ia32_psrl?, __builtin_ia32_psra?, __builtin_ia32_psll?i, | |
159 | __builtin_ia32_psrl?i, __builtin_ia32_psra?i, __builtin_ia32_psll?128, | |
160 | __builtin_ia32_psrl?128, __builtin_ia32_psra?128]: Fix the mode of | |
5b2ddfe1 | 161 | input arguments and the mode of return value. Built-in functions |
162 | that operate on whole 64-bit MMX register now use V1DI mode. | |
c9f96750 | 163 | |
3992c686 | 164 | 2008-03-13 Alon Dayan <alond@il.ibm.com> |
165 | Olga Golovanevsky <olga@il.ibm.com> | |
166 | ||
167 | PR tree-optimization/35041 | |
168 | * ipa-struct-reorg.c (find_pos_in_stmt_1): Add another option | |
169 | to locate the right position in a statement. | |
170 | ||
517b0286 | 171 | 2008-03-13 Uros Bizjak <ubizjak@gmail.com> |
172 | ||
173 | PR target/34000 | |
174 | PR target/35553 | |
175 | * config/i386/xmmintrin.h: Change all static inline functions to | |
176 | extern inline and add __gnu_inline__ attribute. | |
177 | * config/i386/bmintrin.h: Ditto. | |
178 | * config/i386/smmintrin.h: Ditto. | |
179 | * config/i386/tmmintrin.h: Ditto. | |
180 | * config/i386/mmintrin-common.h: Ditto. | |
181 | * config/i386/ammintrin.h: Ditto. | |
182 | * config/i386/emmintrin.h: Ditto. | |
183 | * config/i386/pmmintrin.h: Ditto. | |
184 | * config/i386/mmintrin.h: Ditto. | |
185 | * config/i386/mm3dnow.h: Ditto. | |
186 | ||
a4890dc9 | 187 | 2008-03-13 Jakub Jelinek <jakub@redhat.com> |
188 | ||
189 | PR middle-end/35185 | |
190 | * omp-low.c (lower_regimplify, init_tmp_var, save_tmp_var): Removed. | |
191 | (lower_omp_2): New function. | |
192 | (lower_omp_1, lower_omp): Rewritten. | |
193 | ||
ebba2dc7 | 194 | 2008-03-13 Danny Smith <dannysmith@users.sourceforge.net> |
195 | ||
196 | PR 35054 | |
197 | * doc/extend.texi (Structure-Packing Pragmas): Replace "Win32" | |
198 | with the phrase "Microsoft Windows compilers". | |
199 | (Push/Pop Macro Pragmas): New subsection. Document | |
200 | #pragma push_macro and pragma pop_macro. | |
201 | ||
1c4adc7a | 202 | 2008-03-12 Paul Brook <paul@codesourcery.com> |
203 | ||
204 | * config/arm/arm.c (output_move_double): Prefer LDRD to LDM. | |
205 | ||
1d9e8561 | 206 | 2008-03-12 Paul Brook <paul@codesourcery.com> |
207 | ||
208 | * config/arm/thumb2.md: Extend peephole to cover 3-arg subs. | |
209 | (thumb2_alusi3_short): Exclude PLUS and MINUS. | |
210 | (thumb2_addsi_shortim): Rename ... | |
211 | (thumb2_addsi_short): ... to this. Allow register operands. | |
212 | (thumb2_subsi_short): New pattern. | |
213 | (thumb2_one_cmplsi2_short, | |
214 | thumb2_negsi2_short): New patterns and peepholes. | |
215 | ||
e077db18 | 216 | 2008-03-12 Paul Brook <paul@codesourcery.com> |
217 | ||
e077db18 | 218 | * config/arm/arm.c (arm_size_rtx_costs): Use ARM costs for Thumb-2. |
219 | ||
96b39775 | 220 | 2008-03-12 Uros Bizjak <ubizjak@gmail.com> |
221 | ||
222 | * config/i386/i386.md (int_cond): New code iterator. | |
223 | (fp_cond): Ditto. | |
224 | ("s<code>"): Macroize expander from seq, sne, sgt, sgtu, slt, sltu, | |
225 | sge, sgeu, sle and sleu expanders usign int_cond code iterator. | |
226 | ("s<code>"): Macroize expander from sunordered, sordered, suneq, sunge, | |
227 | sungt, sunle, sunlt and sltgt expanders usign fp_cond code iterator. | |
228 | ("b<code>"): Macroize expander from beq, bne, bgt, bgtu, blt, bltu, | |
229 | bge, bgeu, ble and bleu expanders usign int_cond code iterator. | |
230 | ("b<code>"): Macroize expander from bunordered, bordered, buneq, bunge, | |
231 | bungt, bunle, bunlt and bltgt expanders usign fp_cond code iterator. | |
232 | ||
bb21ed29 | 233 | 2008-03-12 Paul Brook <paul@codesourcery.com> |
234 | ||
235 | * config/arm/arm.c (use_return_insn): Use offsets->saved_regs_mask | |
236 | instead of {arm,thumb}_compute_save_reg_mask. | |
237 | (output_return_instruction): Ditto. | |
238 | (thumb_unexpanded_epilogue): Ditto. | |
239 | (thumb1_expand_prologue): Ditto. | |
240 | (thumb1_output_function_prologue): Ditto. | |
241 | (arm_set_return_address): Ditto. | |
242 | (thumb_set_return_address): Ditto. | |
243 | (arm_get_frame_offsets): Set offsets->saved_regs_mask. Push extra | |
244 | regs to achieve stack alignment. | |
245 | (thumb1_compute_save_reg_mask): Fix compiler warning. | |
246 | (arm_output_epilogue): Use offsets->saved_regs_mask. | |
247 | Adjust stack pointer by poping call clobered registers. | |
248 | (arm_expand_prologue): Use offsets->saved_regs_mask. | |
249 | Adjust stack pointer by pushing extra registers. | |
a4890dc9 | 250 | * config/arm.h (arm_stack_offsets): Add saved_regs_mask. |
bb21ed29 | 251 | |
92b2f241 | 252 | 2008-03-12 Paolo Bonzini <bonzini@gnu.org> |
253 | ||
254 | PR tree-opt/35422 | |
255 | * fold-const.c (fold_unary) <NOP_EXPR>: Distribute a narrowing | |
256 | conversion to the operands of a multiplication. | |
257 | ||
a2fd87ad | 258 | 2008-03-12 Richard Guenther <rguenther@suse.de> |
259 | ||
260 | * Makefile.in (OBJS-common): Add tree-ssa-phiprop.o | |
261 | (tree-ssa-phiprop.o): Copy dependencies from tree-ssa-forwprop.o. | |
262 | * timevar.def (TV_TREE_PHIPROP): Add. | |
263 | * tree-ssa-phiprop.c: Split from tree-ssa-forwprop.c, added | |
264 | pass description. Use TV_TREE_PHIPROP. | |
265 | * tree-ssa-forwprop.c: Remove phiprop code. | |
266 | ||
e8a588af | 267 | 2008-03-12 Jakub Jelinek <jakub@redhat.com> |
268 | ||
269 | PR middle-end/35549 | |
270 | * omp-low.c (maybe_lookup_decl): Constify first argument. | |
271 | (use_pointer_for_field): Change last argument from bool to | |
272 | omp_context *. Disallow shared copy-in/out in nested | |
273 | parallel if decl is shared in outer parallel too. | |
274 | (build_outer_var_ref, scan_sharing_clauses, | |
275 | lower_rec_input_clauses, lower_copyprivate_clauses, | |
276 | lower_send_clauses, lower_send_shared_vars): Adjust callers. | |
277 | ||
c6ba58f9 | 278 | 2008-03-12 Victor Kaplansky <victork@il.ibm.com> |
279 | Ira Rosen <irar@il.ibm.com> | |
280 | ||
281 | * tree-vectorizer.c (free_stmt_vec_info): New function. | |
282 | (destroy_loop_vec_info): Move code to free_stmt_vec_info(). | |
283 | Call free_stmt_vec_info(). Free LOOP_VINFO_STRIDED_STORES.. | |
284 | * tree-vectorizer.h (free_stmt_vec_info): Declare. | |
285 | * tree-vect-transform.c (vectorizable_conversion): Free | |
286 | vec_oprnds0 if it was allocated. | |
287 | (vect_permute_store_chain): Remove unused VECs. | |
288 | (vectorizable_store): Free VECs that are allocated in the.. | |
289 | function. | |
290 | (vect_transform_strided_load, vectorizable_load): Likewise. | |
291 | (vect_remove_stores): Simplify the code. | |
292 | (vect_transform_loop): Move code to vect_remove_stores(). | |
293 | Call vect_remove_stores() and free_stmt_vec_info(). | |
294 | ||
feb01ed5 | 295 | 2008-03-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
296 | ||
297 | * pa.h (TARGET_LONG_PIC_SDIFF_CALL): Conditionalize define on | |
298 | TARGET_HPUX. Revise comment. | |
299 | (TARGET_LONG_PIC_PCREL_CALL): Revise comment. | |
300 | * pa.c (output_call): Update for revised TARGET_LONG_PIC_SDIFF_CALL. | |
301 | Use sr4 variant of `be' instruction when not generating PIC code. | |
302 | (attr_length_call): Adjust for above change. | |
303 | ||
6219f064 | 304 | 2008-03-11 Andrew Pinski <andrew_pinski@playstation.sony.com> |
305 | ||
306 | * ipa-reference.c (static_execute): Remove module_statics_const and | |
307 | associated setting code. | |
308 | ||
47b5db9d | 309 | 2008-03-11 Uros Bizjak <ubizjak@gmail.com> |
310 | ||
311 | PR target/35540 | |
312 | * config/i386/i386.md (paritysi2, paritydi2): Use register_operand | |
313 | constraint for operand 1. | |
314 | (paritysi2_cmp): Use register_operand constraint for operand 2. | |
315 | Use earlyclobber modifier for operand 1. Remove support for | |
316 | memory operands. | |
317 | (paritydi2_cmp): Use register_operand constraint for operand 3. | |
318 | Use earlyclobber modifier for operand 1. Remove support for | |
319 | memory operands. | |
320 | ||
6640ca58 | 321 | 2008-03-11 Paul Brook <paul@codesourcery.com> |
47b5db9d | 322 | Vladimir Prus <vladimir@codesourcery.com> |
6640ca58 | 323 | |
324 | * config/arm/arm.c (use_return_insn): Check TARGET_APCS_FRAME. | |
325 | (arm_compute_save_reg0_reg12_mask): Always | |
326 | check if register 11 must be saved. Always safe hard frame pointer | |
327 | when frame_pointer_needeed. | |
328 | (arm_compute_save_reg_mask): Save IP and PC | |
329 | only with apcs frames. | |
330 | (arm_output_epilogue): Adjust Thumb2 codepath to | |
331 | be also invoked and work for ARM non-apcs frames. | |
332 | (arm_expand_prologue): Don't bother saving IP | |
333 | for non-apcs frame, since it's not clobbered by | |
334 | prologue code. Implement non-apcs frame | |
335 | layout. | |
336 | ||
8ae2fa3b | 337 | 2008-03-11 Paolo Bonzini <bonzini@gnu.org> |
338 | ||
339 | PR rtl-optimization/35281 | |
340 | * expr.c (convert_move): Use a new pseudo for the intermediate | |
341 | from_mode->word_mode result. | |
342 | ||
c616456b | 343 | 2008-03-11 Paolo Bonzini <bonzini@gnu.org> |
344 | ||
6640ca58 | 345 | * langhooks-def.h (LANG_HOOKS_CLEAR_BINDING_STACK): Delete. |
346 | * langhooks.h (struct lang_hooks): Delete clear_binding_stack member. | |
347 | * toplev.c (compile_file): Don't call it. | |
c616456b | 348 | |
e06aee53 | 349 | 2008-03-11 Uros Bizjak <ubizjak@gmail.com> |
350 | ||
351 | PR middle-end/35526 | |
352 | * expr.c (store_expr): Call emit_block_move if the mode | |
353 | of "temp" RTX is BLKmode. | |
354 | ||
06240723 | 355 | 2008-03-11 Andrew Pinski <andrew_pinski@playstation.sony.com> |
e06aee53 | 356 | Richard Guenther <rguenther@suse.de> |
06240723 | 357 | |
358 | PR tree-optimization/31358 | |
359 | * tree-ssa-loop-manip.c (create_iv): Call force_gimple_operand for | |
360 | the step with a NULL_TREE. | |
361 | * tree-ssa-loop-ivopts.c (find_bivs): Convert the step | |
362 | to sizetype if type is a pointer type. | |
363 | (add_candidate_1): Don't convert the base and step to | |
364 | the generic type if the orginal type is a pointer type. | |
365 | (add_iv_value_candidates): Use sizetype for the step | |
366 | if type is a pointer type. | |
367 | (cand_value_at): Likewise. | |
368 | * tree-ssa-address.c (add_to_parts): Use POINTER_PLUS_EXPR | |
369 | for pointer types. | |
370 | * tree-affine.c (tree_to_aff_combination <POINTER_PLUS_EXPR>): | |
371 | Don't convert the tem affine to the type. | |
372 | (add_elt_to_tree): Use sizetype for the step if a pointer. | |
373 | Use POINTER_PLUS_EXPR for pointers. | |
374 | (aff_combination_to_tree): Use sizetype for the step if a | |
375 | pointer. | |
376 | ||
267858a7 | 377 | 2008-03-10 Vladimir Makarov <vmakarov@redhat.com> |
378 | ||
379 | * config/i386/sse.md (ssse3_pmaddubswv8hi3, ssse3_pmaddubswv4hi3): | |
380 | Remove commutativity hint. | |
381 | ||
b821e790 | 382 | 2008-03-10 Jakub Jelinek <jakub@redhat.com> |
383 | ||
50389d5d | 384 | PR c/35438 |
385 | PR c/35439 | |
386 | * c-parser.c (c_parser_omp_threadprivate): Don't add vars with | |
387 | errorneous type. Check that v is a VAR_DECL. | |
388 | ||
b821e790 | 389 | PR middle-end/35099 |
390 | * tree-cfg.c (new_label_mapper): Update cfun->last_label_uid. | |
391 | ||
ff949d47 | 392 | 2008-03-10 H.J. Lu <hongjiu.lu@intel.com> |
393 | ||
394 | PR tree-optimization/35494 | |
395 | * tree-ssa-ccp.c (get_symbol_constant_value): Check if value | |
396 | may be overriden at link and run time. | |
397 | ||
466e11c3 | 398 | 2008-03-10 Richard Guenther <rguenther@suse.de> |
399 | ||
400 | PR tree-optimization/34677 | |
401 | * tree-ssa-pre.c (modify_expr_node_pool): Remove. | |
402 | (poolify_tree): Likewise. | |
403 | (modify_expr_template): Likewise. | |
404 | (poolify_modify_stmt): Likewise. | |
405 | (insert_fake_stores): Handle all component-ref style stores | |
406 | in addition to INDIRECT_REF. Also handle complex types. | |
407 | Do not poolify the inserted load. | |
408 | (realify_fake_stores): Do not rebuild the tree but only | |
409 | make it a SSA_NAME copy. | |
410 | (init_pre): Remove initialzation of modify_expr_template. | |
411 | Do not allocate modify_expr_node_pool. | |
412 | (fini_pre): Do not free modify_expr_node_pool. | |
413 | ||
2c2d2f40 | 414 | 2008-03-10 Paul Brook <paul@codesourcery.com> |
415 | ||
416 | * config/arm/arm.md (UNSPEC_STACK_ALIGN, UNSPEC_PIC_OFFSET): Renumber | |
417 | to avoid conflicts. | |
418 | ||
934a1e72 | 419 | 2008-03-10 Paul Brook <paul@codesourcery.com> |
e06aee53 | 420 | Mark Shinwell <shinwell@codesourcery.com> |
934a1e72 | 421 | |
934a1e72 | 422 | * config/arm/cortex-r4.md: New. |
423 | * config/arm/thumb2.md (divsi3, udivsi3): Annotate with | |
424 | insn attributes. | |
425 | * config/arm/arm.md: Include cortex-r4.md. | |
426 | (insn): Add smmls, sdiv and udiv values. | |
427 | (generic_sched): Don't use generic scheduling for Cortex-R4. | |
428 | (arm_issue_rate): New function. | |
429 | (TARGET_SCHED_ISSUE_RATE): Define. | |
430 | ||
767297d1 | 431 | 2008-03-10 Sebastian Pop <sebastian.pop@amd.com> |
432 | ||
433 | * doc/invoke.texi (-ftree-loop-distribution): Add an example. | |
434 | ||
10bf6100 | 435 | 2008-03-10 Richard Guenther <rguenther@suse.de> |
436 | ||
437 | * tree-ssa-pre.c (get_sccvn_value): Simplify. | |
438 | (compute_avail): Do not add stmt uses to AVAIL_OUT. | |
439 | ||
550a64af | 440 | 2008-03-10 Paolo Bonzini <bonzini@gnu.org> |
441 | ||
442 | * langhooks-def.h (LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS): | |
443 | Set default to true. | |
444 | ||
2c3b9819 | 445 | 2008-03-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
446 | ||
447 | * c.opt (Wsynth): Deprecate. | |
448 | * doc/invoke.texi (Option Summary, Warning Options): Document | |
449 | -Wno-format-contains-nul. | |
450 | ||
e2cb4221 | 451 | 2008-03-09 Uros Bizjak <ubizjak@gmail.com> |
452 | ||
453 | PR target/35496 | |
2f6e3388 | 454 | * config/i386/i386.c (ix86_constant_alignment): Compute alignment using |
e2cb4221 | 455 | ALIGN_MODE_128 for VECTOR_CST and INTEGER_CST in addition to REAL_CST. |
456 | ||
5c93936e | 457 | 2008-03-09 Ira Rosen <irar@il.ibm.com> |
458 | ||
459 | * config/rs6000/rs6000.c (builtin_description): Rename vector | |
460 | left shift operations. | |
461 | * config/rs6000/altivec.md (UNSPEC_VSL): Remove. | |
462 | (altivec_vsl<VI_char>): Rename to ... | |
463 | (ashl<mode>3): ... new name. | |
464 | (mulv4sf3, mulv4si3, negv4sf2): Replace gen_altivec_vslw with | |
465 | gen_ashlv4si3. | |
466 | (absv4sf2): Convert to use ashift:V4SI instead of UNSPEC_VSL. | |
467 | ||
a961cdc2 | 468 | 2008-03-08 Richard Guenther <rguenther@suse.de> |
469 | ||
470 | * coverage.h (tree_coverage_counter_addr): Declare. | |
471 | * coverage.c (tree_coverage_counter_addr): New function. | |
472 | * tree-profile.c (tree_gen_edge_profiler): Unshare counter | |
473 | before using again. | |
474 | (tree_gen_pow2_profiler): Use tree_coverage_counter_addr. | |
475 | (tree_gen_one_value_profiler): Likewise. | |
476 | (tree_gen_ic_profiler): Likewise. | |
477 | (tree_gen_average_profiler): Likewise. | |
478 | (tree_gen_ior_profiler): Likewise. | |
479 | ||
51a23cfc | 480 | 2008-03-08 Richard Guenther <rguenther@suse.de> |
481 | ||
482 | * tree-ssa-sccvn.h (vn_binary_op_lookup): Remove. | |
483 | (vn_binary_op_insert): Likewise. | |
484 | (vn_unary_op_lookup): Likewise. | |
485 | (vn_unary_op_insert): Likewise. | |
486 | (vn_nary_op_lookup): Declare. | |
487 | (vn_nary_op_insert): Likewise. | |
488 | * tree-ssa-sccvn.c (struct vn_tables_s): Merge unary | |
489 | and binary hashes, use a single obstack for unary_op_pool | |
490 | and binary_op_pool. | |
491 | (struct vn_binary_op_s, struct vn_unary_op_s): Replace with | |
492 | a single struct vn_nary_op_s. Store tree code length and | |
493 | a variable number of operands. | |
494 | (struct vn_reference_op_struct): Remove unused op2. | |
495 | (vn_reference_op_eq): Do not compare op2. | |
496 | (vn_reference_op_compute_hash): Do not compute hash of op2. | |
497 | (vn_unary_op_hash, vn_binary_op_hash): Replace with vn_nary_op_hash. | |
498 | (vn_unary_op_compute_hash, vn_binary_op_compute_hash): Replace | |
499 | with vn_nary_op_compute_hash. | |
500 | (vn_unary_op_eq, vn_binary_op_eq): Replace with vn_nary_op_eq. | |
501 | (vn_unary_op_lookup, vn_binary_op_lookup): Replace with | |
502 | vn_nary_op_lookup. | |
503 | (vn_unary_op_insert, vn_binary_op_insert): Replace with | |
504 | vn_nary_op_insert. | |
505 | (visit_unary_op): Call nary functions. | |
506 | (visit_binary_op): Likewise. | |
507 | (process_scc): Adjust for struct vn_tables_s changes. | |
508 | (allocate_vn_table): Likewise. | |
509 | (free_vn_table): Likewise. | |
510 | * tree-vn.c (vn_add): Call nary functions. | |
511 | (vn_lookup): Likewise. | |
512 | ||
ce096d07 | 513 | 2008-03-08 Jakub Jelinek <jakub@redhat.com> |
514 | ||
515 | PR target/35498 | |
516 | * config/rs6000/rs6000.c (rs6000_expand_compare_and_swapqhi): Shift | |
517 | wdst back after sync_compare_and_swapqhi_internal. | |
518 | ||
7916ca8a | 519 | 2008-03-08 Uros Bizjak <ubizjak@gmail.com> |
520 | ||
521 | PR target/22152 | |
522 | * config/i386/i386-modes.def (V1DI): New vector mode. | |
523 | * config/i386/i386.h (VALID_MMX_REG_MODE): Add V1DImode. | |
524 | * config/i386/mmx.md (MMXMODEI8): New mode iterator. | |
525 | (MMXMODE248): Ditto. | |
526 | (MMXMODE): Add V1DI mode. | |
527 | (mmxvecsize): Change DI mode to V1DI mode. | |
528 | ("mov<mode>): Use MMXMODEI8 mode iterator. | |
529 | ("*mov<mode>_internal_rex64"): Ditto. | |
530 | ("*mov<mode>_internal"): Ditto. | |
531 | ("mmx_add<mode>3"): Ditto. Handle V1DImode for TARGET_SSE2. | |
532 | ("mmx_sub<mode>3"): Ditto. | |
533 | ("mmx_adddi3"): Remove insn pattern. | |
534 | ("mmx_subdi3"): Ditto. | |
535 | ("mmx_ashr<mode>3"): Use SImode and "yN" constraint for operand 2. | |
536 | ("mmx_lshr<mode>3"): Ditto. Use MMXMODE248 mode iterator. | |
537 | ("mmx_ashl<mode>3"): Ditto. | |
538 | ("mmx_lshrdi3"): Remove insn pattern. | |
539 | ("mmx_ashldi3"): Ditto. | |
540 | * config/i386/i386.c (classify_argument): Handle V1DImode. | |
541 | (function_arg_advance_32): Ditto. | |
542 | (function_arg_32): Ditto. | |
543 | (struct builtin_description) [IX86_BUILTIN_PADDQ]: Use | |
544 | mmx_addv1di3 insn pattern. | |
545 | [IX86_BUILTIN_PSUBQ]: Use mmx_subv1di3 insn pattern. | |
546 | [IX86_BUILTIN_PSLL?, IX86_BUILTIN_PSRL?, IX86_BUILTIN_PSRA?, | |
547 | IX86_BUILTIN_PSLL?I, IX86_BUILTIN_PSRL?I, IX86_BUILTIN_PSRA?I, | |
548 | IX86_BUILTIN_PSLL?I128, IX86_BUILTIN_PSRL?I128, IX86_BUILTIN_PSRA?I128]: | |
549 | Remove definitions of built-in functions. | |
550 | (V1DI_type_node): New node. | |
551 | (v1di_ftype_v1di_int): Ditto. | |
552 | (v1di_ftype_v1di_v1di): Ditto. | |
553 | (v2si_ftype_v2si_si): Ditto. | |
554 | (v4hi_ftype_v4hi_di): Remove node. | |
555 | (v2si_ftype_v2si_di): Ditto. | |
556 | (ix86_init_mmx_sse_builtins): Handle V1DImode. | |
557 | (__builtin_ia32_psll?, __builtin_ia32_psrl?, __builtin_ia32_psra?): | |
558 | Redefine builtins using def_builtin_const with *_ftype_*_int node. | |
559 | (__builtin_ia32_psll?i, __builtin_ia32_psrl?i, __builtin_ia32_psra?i): | |
560 | Add new builtins using def_builtin_const. | |
561 | (ix86_expand_builtin) [IX86_BUILTIN_PSLL?, IX86_BUILTIN_PSRL?, | |
562 | IX86_BUILTIN_PSRA?, IX86_BUILTIN_PSLL?I, IX86_BUILTIN_PSRL?I, | |
563 | IX86_BUILTIN_PSRA?I]: Handle builtin definitions. | |
564 | * config/i386/mmintrin.h (__v1di): New typedef. | |
565 | (_mm_add_si64): Cast arguments to __v1di type. | |
566 | (_mm_sub_si64): Ditto. | |
567 | (_mm_sll_pi16): Cast __count to __v4hi type. | |
568 | (_mm_sll_pi32): Cast __count to __v2si type. | |
569 | (_mm_sll_si64): Cast arguments to __v1di type. | |
570 | (_mm_srl_pi16): Cast __count to __v4hi type. | |
571 | (_mm_srl_pi32): Cast __count to __v2si type. | |
572 | (_mm_srl_si64): Cast arguments to __v1di type. | |
573 | (_mm_sra_pi16): Cast __count to __v4hi type. | |
574 | (_mm_sra_pi32): Cast __count to __v2si type. | |
575 | (_mm_slli_pi16): Use __builtin_ia32_psllwi. | |
576 | (_mm_slli_pi32): Use __builtin_ia32_pslldi. | |
577 | (_mm_slli_si64): Use __builtin_ia32_psllqi. Cast __m to __v1di type. | |
578 | (_mm_srli_pi16): Use __builtin_ia32_psrlwi. | |
579 | (_mm_srli_pi32): Use __builtin_ia32_psrldi. | |
580 | (_mm_srli_si64): Use __builtin_ia32_psrlqi. Cast __m to __v1di type. | |
581 | (_mm_srai_pi16): Use __builtin_ia32_psrawi. | |
582 | (_mm_srai_pi32): Use __builtin_ia32_psradi. | |
583 | * config/i386/i386.md (UNSPEC_NOP): Remove unspec definition. | |
584 | * doc/extend.texi (X86 Built-in Functions) [__builtin_ia32_psll?, | |
585 | __builtin_ia32_psrl?, __builtin_ia32_psra?, __builtin_ia32_psll?i, | |
586 | __builtin_ia32_psrl?i, __builtin_ia32_psra?i]: Add new builtins. | |
587 | ||
4d170403 | 588 | 2008-03-07 Joseph Myers <joseph@codesourcery.com> |
589 | ||
590 | * doc/include/texinfo.tex: Update to version 2008-03-07.10. | |
591 | ||
55100279 | 592 | 2008-03-07 Peter Bergner <bergner@vnet.ibm.com> |
593 | ||
594 | PR target/35373 | |
595 | * config/rs6000/rs6000.c (rs6000_legitimize_address): Don't generate | |
596 | reg+const addressing for Altivec modes. Don't generate reg+reg | |
597 | addressing for TFmode or TDmode quantities. | |
598 | ||
29f51994 | 599 | 2008-03-07 Paolo Bonzini <bonzini@gnu.org> |
600 | ||
601 | * c-common.c (vector_types_convertible_p): Call langhook | |
602 | instead of comptypes. | |
603 | ||
6e6e51e5 | 604 | 2008-03-06 Andrew Pinski <andrew_pinski@playstation.sony.com> |
605 | ||
606 | PR tree-opt/35402 | |
607 | * tree-ssa-ccp.c (get_symbol_constant_value): Handle | |
608 | integral and scalar float variables which have a | |
609 | NULL DECL_INITIAL. | |
610 | ||
bf2e2aa9 | 611 | 2008-03-06 Nathan Froyd <froydnj@codesourcery.com> |
612 | ||
613 | * dwarf2out.c (dwarf2out_frame_debug_expr): Consult the | |
614 | dwarf_register_span hook when emitting unwind information for | |
615 | register-to-memory saves. | |
616 | * config/rs6000/rs6000.c (spe_synthesize_frame): Delete. | |
617 | (rs6000_frame_related): Remove call to spe_synthesize_frame. | |
618 | ||
83c5f690 | 619 | 2008-03-06 Jakub Jelinek <jakub@redhat.com> |
620 | ||
621 | * gimplify.c (goa_lhs_expr_p): Allow different ADDR_EXPR nodes | |
622 | for the same VAR_DECL. | |
623 | ||
167057eb | 624 | 2008-03-06 Tom Tromey <tromey@redhat.com> |
625 | ||
626 | * treelang: Delete. | |
627 | * doc/standards.texi (Standards): Don't mention treelang. | |
628 | * doc/invoke.texi (Overall Options): Don't mention treelang. | |
629 | * doc/install.texi (Prerequisites): Don't mention bison or | |
630 | treelang. | |
631 | (Configuration): Don't mention treelang. | |
632 | (Building): Likewise. | |
633 | * doc/frontends.texi (G++ and GCC): Don't mention treelang. | |
634 | ||
8178351b | 635 | 2008-03-06 Paolo Bonzini <bonzini@gnu.org> |
636 | ||
637 | * simplify-rtx.c (simplify_subreg): Remove useless shifts from | |
638 | word-extractions out of a multi-word object. | |
639 | ||
70337474 | 640 | 2008-03-06 Richard Guenther <rguenther@suse.de> |
641 | ||
642 | * tree.def (BIT_FIELD_REF): Constrain result type and its precision. | |
643 | * tree-cfg.c (verify_expr): Verify BIT_FIELD_REF constraints on | |
644 | result type and precision. | |
645 | * expr.c (get_inner_reference): Set unsignedp based on the result | |
646 | type of BIT_FIELD_REF. | |
647 | * tree.h (BIT_FIELD_REF_UNSIGNED): Remove. | |
648 | * tree-sra.c (instantiate_element): Do not set BIT_FIELD_REF_UNSIGNED. | |
649 | (try_instantiate_multiple_fields): Likewise. Use the correct type | |
650 | for BIT_FIELD_REF. | |
651 | (sra_build_assignment): Likewise. | |
652 | (sra_build_elt_assignment): Likewise. | |
653 | (sra_explode_bitfield_assignment): Likewise. | |
654 | * print-tree.c (print_node): Do not check BIT_FIELD_REF_UNSIGNED. | |
655 | * tree-vect-transform.c (vect_create_epilog_for_reduction): Do not | |
656 | set BIT_FIELD_REF_UNSIGNED. | |
657 | (vectorizable_load): Likewise. | |
658 | ||
b357aba8 | 659 | 2008-03-06 Andreas Krebbel <krebbel1@de.ibm.com> |
660 | ||
661 | * cse.c (cse_extended_basic_block): Invalidate artificial defs | |
662 | at bb start. | |
663 | ||
1e020227 | 664 | 2008-03-06 Richard Guenther <rguenther@suse.de> |
665 | ||
666 | * alias.c (struct alias_set_entry): Move has_zero_child field | |
667 | to pack with alias_set. | |
668 | ||
4a8f8ebf | 669 | 2008-03-05 H.J. Lu <hongjiu.lu@intel.com> |
670 | ||
671 | * config/i386/i386-modes.def: Use 4 byte alignment on DI for | |
672 | 32bit host. | |
673 | ||
f701cb4d | 674 | 2008-03-05 Ian Lance Taylor <iant@google.com> |
675 | ||
676 | * alias.h (alias_set_type): Change from HOST_WIDE_INT to int. | |
677 | ||
30de5b55 | 678 | 2008-03-05 Kenneth Zadeck <zadeck@naturalbridge.com> |
679 | ||
680 | * fwprop.c (update_df): Support width and offset parameters of | |
681 | df_ref_create. | |
682 | * ra-conflict.c (mark_reg_store, clear_reg_in_live, | |
683 | global_conflicts): Change DF_REF_EXTRACT to either | |
684 | DF_REF_ZERO_EXTRACT or DF_REF_SIGN_EXTRACT. Change | |
685 | DF_REF_STRICT_LOWER_PART to DF_REF_STRICT_LOW_PART. | |
686 | * df-scan.c (df_ref_record, df_defs_record, | |
687 | df_ref_create_structure, df_def_record_1, df_uses_record, | |
688 | df_get_conditional_uses, df_get_call_refs, df_insn_refs_collect, | |
689 | df_bb_refs_collect, df_entry_block_defs_collect, | |
690 | df_exit_block_uses_collect): Support new width and offset fields. | |
691 | (ref_extract_pool): New storage pool. | |
692 | (df_free_ref): New function. | |
693 | (df_reg_chain_unlink, df_free_collection_rec, | |
694 | df_sort_and_compress_refs): Call df_free_ref. | |
695 | (df_ref_equal_p, df_ref_compare): Compare offset and width fields | |
696 | of df_ref_extract. | |
697 | (df_ref_create_structure): Allocate df_ref_extract if offset and | |
698 | width fields are used. | |
699 | (df_def_record_1): Get offset and width from ZERO_EXTRACT. | |
700 | (df_uses_record): Get offset and width from ZERO_EXTRACT | |
701 | and SIGN_EXTRACT. | |
702 | * global.c (build_insn_chain): Change DF_REF_EXTRACT to either | |
703 | DF_REF_ZERO_EXTRACT or DF_REF_SIGN_EXTRACT. Change | |
704 | DF_REF_STRICT_LOWER_PART to DF_REF_STRICT_LOW_PART. | |
705 | * df.h (df_ref_flags): Change DF_REF_EXTRACT to either | |
706 | DF_REF_ZERO_EXTRACT or DF_REF_SIGN_EXTRACT. Change | |
707 | DF_REF_STRICT_LOWER_PART to DF_REF_STRICT_LOW_PART. | |
708 | (df_ref_extract): New structure. | |
709 | (DF_REF_WIDTH, DF_REF_OFFSET): New macros. | |
710 | (df_ref_create): Add width and offset parameters. | |
711 | ||
a306ee43 | 712 | 2008-03-05 Richard Guenther <rguenther@suse.de> |
713 | ||
714 | * tree-ssa-structalias.c (get_constraint_for_component_ref): | |
715 | Use ranges_overlap_p. | |
716 | (offset_overlaps_with_access): Rename | |
717 | to ranges_overlap_p and move ... | |
718 | * tree-flow-inline.h (ranges_overlap_p): ... here. | |
719 | ||
720 | * tree.h (get_inner_reference, handled_component_p): Update | |
721 | comments. | |
722 | ||
723 | * tree.h (record_component_aliases, get_alias_set, | |
724 | alias_sets_conflict_p, alias_sets_must_conflict_p, | |
725 | objects_must_conflict_p): Move declarations ... | |
726 | * alias.h (record_component_aliases, get_alias_set, | |
727 | alias_sets_conflict_p, alias_sets_must_conflict_p, | |
728 | objects_must_conflict_p): ... here. | |
729 | Include coretypes.h. | |
730 | * Makefile.in (ALIAS_H): Add coretypes.h dependency. | |
731 | ||
d03ba86f | 732 | 2008-03-05 Aldy Hernandez <aldyh@redhat.com> |
733 | ||
734 | * cfg.c: Include tree-flow.h. | |
735 | (remove_edge_raw): Call redirect_edge_var_map_clear. | |
736 | (redirect_edge_succ_nodup): Call redirect_edge_var_map_dup. | |
737 | * tree-flow-inline.h (redirect_edge_var_map_def): New. | |
738 | (redirect_edge_var_map_result): New. | |
739 | * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Replace | |
740 | PENDING_STMT use with redirect_edge_var_map_*. | |
741 | * tree-ssa.c (edge_var_maps): New definition. | |
742 | (redirect_edge_var_map_add): New. | |
743 | (redirect_edge_var_map_clear): New. | |
744 | (redirect_edge_var_map_dup): New. | |
745 | (redirect_edge_var_map_vector): New. | |
746 | (redirect_edge_var_map_destroy): New. | |
747 | (ssa_redirect_edge): Replace PENDING_STMT use with | |
748 | redirect_edge_var_map_*. | |
749 | (flush_pending_stmts): Same. | |
750 | (delete_tree_ssa): Destroy edge var map. | |
751 | * tree-flow.h (struct _edge_var_map): New. | |
752 | Define edge_var_map vector type. | |
753 | Declare redirect_edge_var_map_* prototypes. | |
754 | * Makefile.in (cfg.o): Depend on TREE_FLOW_H. | |
755 | * tree-cfg.c (reinstall_phi_args): Replace | |
756 | PENDING_STMT use with redirect_edge_var_map_*. | |
757 | ||
7cf3d282 | 758 | 2008-03-05 Richard Guenther <rguenther@suse.de> |
759 | ||
760 | PR tree-optimization/35472 | |
761 | * tree-ssa-dse.c (dse_optimize_stmt): Do not delete a store | |
762 | whose single use_stmt has a overlapping set of loaded and | |
763 | stored symbols as that use_stmt might be a noop assignment then. | |
764 | ||
2349cd3e | 765 | 2008-03-05 Joel Sherrill <joel.sherrill@oarcorp.com> |
766 | ||
767 | * gthr-rtems.h: Implement __gthread_mutex_destroy. | |
768 | ||
70d2daf7 | 769 | 2008-03-05 Richard Guenther <rguenther@suse.de> |
770 | ||
771 | PR c++/35336 | |
772 | * tree.def (BIT_FIELD_REF): Document that operands 1 and 2 | |
773 | should be constants. | |
774 | * tree-cfg.c (verify_expr): Verify it. | |
775 | * fold-const.c (fold_truthop): Remove code generating | |
776 | BIT_FIELD_REFs of structure bases. | |
777 | (fold_binary): Likewise. | |
778 | (fold_ternary): Position and size of BIT_FIELD_REFs are | |
779 | always host integers. | |
780 | (make_bit_field_ref): Remove. | |
781 | (optimize_bit_field_compare): Remove. | |
782 | (all_ones_mask_p): Remove. | |
783 | ||
a08778a2 | 784 | 2008-03-05 Gabor Loki <loki@gcc.gnu.org> |
785 | ||
786 | PR gcc/33009 | |
787 | * rtl-factoring.c (clear_regs_live_in_seq): Fix backward steps. | |
788 | (split_block_and_df_analyze): New. Split basic block and rebuild | |
789 | dataflow. | |
790 | (block_label_after): Use SPLIT_BLOCK_AND_DF_ANALYZE instead of | |
791 | SPLIT_BLOCK. | |
792 | (split_pattern_seq): Likewise. | |
793 | (erase_matching_seqs): Likewise. | |
794 | (split_pattern_seq): Skip return insn in case of REG_NORETURN note. | |
795 | ||
ad7c187a | 796 | 2008-03-04 Geoff Keating <geoffk@apple.com> |
797 | ||
798 | * fold-const.c (tree_single_nonnegative_warnv_p): Fix mixed | |
799 | declaration and code. | |
800 | (tree_invalid_nonnegative_warnv_p): Likewise. | |
801 | ||
57c56476 | 802 | 2008-03-05 Serge Belyshev <belyshev@depni.sinp.msu.ru> |
803 | ||
804 | * doc/install.texi (Testing): Correct quoting for the RUNTESTFLAGS | |
805 | examples. Truncate option-names then causing overfull hbox. | |
806 | ||
d4f869a6 | 807 | 2008-03-04 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
808 | ||
809 | PR target/35222 | |
810 | * configure.ac (CONFIG_SJLJ_EXCEPTIONS): Force SJLJ exceptions | |
811 | on hpux10. | |
812 | * configure: Rebuilt. | |
813 | ||
ea1a85df | 814 | 2008-03-04 Rafael Espindola <espindola@google.com> |
815 | ||
816 | * fold-const.c (tree_simple_nonnegative_warnv_p): New. | |
817 | (tree_unary_nonnegative_warnv_p): New. | |
818 | (tree_binary_nonnegative_warnv_p): New. | |
819 | (tree_single_nonnegative_warnv_p): New. | |
820 | (tree_invalid_nonnegative_warnv_p): New. | |
821 | (tree_expr_nonnegative_warnv_p): Redefine in term of the new functions. | |
822 | ||
88d4fcc4 | 823 | 2008-03-04 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
824 | ||
825 | PR 28322 | |
826 | * opts.c (handle_option): Postpone 'unknown option' errors only for | |
827 | warning options. | |
828 | ||
f98d7ce9 | 829 | 2008-03-04 H.J. Lu <hongjiu.lu@intel.com> |
830 | ||
831 | PR target/35453 | |
832 | * config/i386/smmintrin.h (SIDD_XXX): Renamed to ... | |
833 | (_SIDD_XXX): This. | |
834 | ||
937bceaf | 835 | 2008-03-04 Rafael Espindola <espindola@google.com> |
836 | ||
837 | * fold-const.c (tree_unary_nonzero_warnv_p): New. | |
838 | (tree_binary_nonzero_warnv_p): New. | |
839 | (tree_single_nonzero_warnv_p): New. | |
840 | (tree_expr_nonzero_warnv_p): Redefine using the new functions. | |
841 | ||
01e93ec4 | 842 | 2008-03-04 Uros Bizjak <ubizjak@gmail.com> |
843 | ||
844 | PR middle-end/35456 | |
845 | * fold-const.c (fold_cond_expr_with_comparison): Prevent | |
846 | transformations for modes that have signed zeros. | |
847 | * ifcvt.c (noce_try_abs): Ditto. | |
848 | ||
cfb92464 | 849 | 2008-03-04 Joseph Myers <joseph@codesourcery.com> |
850 | ||
851 | * config/i386/i386.c (override_options): Force | |
852 | -maccumulate-outgoing-args on if TARGET_STACK_PROBE. | |
853 | ||
fb1b7d77 | 854 | 2008-03-04 Jan Hubicka <jh@suse.cz> |
855 | ||
856 | PR c++/35262 | |
857 | * ipa-inline.c (cgraph_decide_inlining_of_small_function): Fix typo | |
858 | in last commit. | |
859 | ||
9b980db1 | 860 | 2008-03-04 Danny Smith <dannysmith@users.sourceforge.net> |
861 | ||
862 | * config/i386/i386.md (allocate_stack_worker_32): Use __chkstk | |
863 | label to probe the stack. | |
864 | ||
abefb712 | 865 | 2008-03-04 Danny Smith <dannysmith@users.sourceforge.net> |
866 | ||
867 | * gthr-win32.h [__GTHREAD_HIDE_WIN32API] | |
868 | (__gthr_win32_mutex_destroy): Declare. | |
869 | [__GTHREAD_HIDE_WIN32API] (__gthread_mutex_destroy): Use | |
870 | __gthr_win32_mutex_destroy. | |
871 | * config/i386/gthr-win32.c (__gthr_win32_mutex_destroy): Define. | |
872 | ||
99e909be | 873 | 2008-03-03 Jan Hubicka <jh@suse.cz> |
874 | ||
875 | PR c++/35262 | |
876 | * ipa-inline.c (cgraph_decide_inlining_of_small_function): Be more | |
877 | aggressive on inlining cold calls. | |
878 | ||
802d9f2f | 879 | 2008-03-03 Richard Guenther <rguenther@suse.de> |
880 | ||
881 | * tree-ssa-sccvn.c (visit_reference_op_store): Do not insert | |
882 | struct copies into the expression table. | |
883 | (simplify_unary_expression): Handle VIEW_CONVERT_EXPR. | |
884 | (try_to_simplify): Likewise. | |
885 | * fold-const.c (fold_unary): Fold VIEW_CONVERT_EXPR of | |
886 | integral and pointer arguments which do not change the | |
887 | precision to NOP_EXPRs. | |
888 | * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Adjust | |
889 | VIEW_CONVERT_EXPR case. | |
890 | ||
663608f5 | 891 | 2008-03-02 Sebastian Pop <sebastian.pop@amd.com> |
892 | ||
893 | * tree-scalar-evolution.c (instantiate_parameters_1): An SSA_NAME | |
894 | defined in a loop at depth 0 is invariant. | |
895 | * tree-chrec.c (evolution_function_is_invariant_rec_p): Ditto. | |
896 | * tree-ssa-loop-ivopts.c (expr_invariant_in_loop_p): Should never | |
897 | be called at loop depth 0. | |
898 | ||
e46a4556 | 899 | 2008-03-02 Jakub Jelinek <jakub@redhat.com> |
900 | ||
901 | PR driver/35420 | |
902 | * gcc.c (process_command): Update copyright notice dates. | |
903 | * gcov.c (print_version): Likewise. | |
904 | * gcov-dump.c (print_version): Likewise. | |
905 | * mips-tfile.c (main): Likewise. | |
906 | * mips-tdump.c (main): Likewise. | |
907 | ||
07317e69 | 908 | 2008-03-02 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
909 | ||
910 | PR 24924 | |
911 | * c-common.c (flag_permissive): Delete. | |
912 | (constant_expression_warnings): Check flags first. | |
913 | (constant_expression_error): New. | |
914 | * c-common.h (flag_permissive): Delete. | |
915 | (constant_expression_error): Declare. | |
916 | * flags.h (flag_permissive): Declare. Update description. | |
917 | * diagnostic.c (pedwarn): Update. | |
918 | (permerror): New. | |
919 | * diagnostic.h: (pedantic_error_kind): Rename as pedantic_warning_kind. | |
920 | (permissive_error_kind): New. | |
921 | * toplev.c (flag_permissive): Define. Update description. | |
922 | * toplev.h (permissive_error_kind): Declare. | |
923 | * c-errors.c (pedwarn_c99): Use pedantic_warning_kind. | |
924 | (pedwarn_c90): Use pedantic_warning_kind. | |
925 | * c-opts.c (c_common_post_options): flag_permissive does not affect | |
926 | flag_pedantic_errors. | |
927 | ||
462a0c31 | 928 | 2008-03-02 Joseph Myers <joseph@codesourcery.com> |
929 | ||
930 | * libgcc2.c (__addvSI3, __addvsi3, __addvDI3, __subvSI3, | |
931 | __subvsi3, __subvDI3, __negvSI2, __negvsi2, __negvDI2, __absvSI2, | |
932 | __absvsi2, __absvDI2): Use unsigned arithmetic. | |
933 | ||
64cf91f5 | 934 | 2008-03-02 Andi Kleen <ak@suse.de> |
e06aee53 | 935 | Richard Guenther <rguenther@suse.de> |
64cf91f5 | 936 | |
937 | * struct-equiv.c: Remove file. | |
938 | * cfg_cleanup.c (condjump_equiv_p): Remove. | |
939 | * Makefile.in (OBJS-common): Remove struct-equiv.o. | |
940 | (struct-equiv.o): Remove rule. | |
941 | * basic-block.h (struct_equiv_checkpoint, STRUCT_EQUIV_*, | |
942 | insns_match_p, struct_equiv_block_eq, struct_equiv_init, | |
943 | rtx_equiv_p, condjump_equiv_p): Remove prototypes. | |
944 | ||
ba0b5cfc | 945 | 2008-03-01 Alexandre Oliva <aoliva@redhat.com> |
946 | ||
947 | * ifcvt.c (noce_process_if_block): Try to handle only the then | |
948 | block if the else block exists but isn't suitable. | |
949 | ||
71239661 | 950 | 2008-03-01 Janne Blomqvist <jb@gcc.gnu.org> |
951 | ||
952 | PR gcc/35063 | |
953 | * gthr-posix.h (__gthread_mutex_destroy): Remove extra declarations. | |
954 | * gthr-posix95.h (__gthread_mutex_destroy): Likewise. Note this fixes | |
955 | regression from previous patch. | |
956 | ||
1cd3a344 | 957 | 2008-03-01 Janne Blomqvist <jb@gcc.gnu.org> |
958 | ||
959 | PR gcc/35063 | |
960 | * gthr.h: Add __gthread_mutex_destroy as a function that must be | |
961 | implemented. | |
962 | * gthr-vxworks.h (__gthread_mutex_destroy): Null implementation. | |
963 | * gthr-single.h (__gthread_mutex_destroy): Likewise. | |
964 | * gthr-rtems.h (__gthread_mutex_destroy): Likewise. | |
965 | * gthr-mipssde.h (__gthread_mutex_destroy): Likewise. | |
966 | * gthr-nks.h (__gthread_mutex_destroy): Likewise. | |
967 | * gthr-solaris.h (__gthread_mutex_destroy): Call mutex_destroy. | |
968 | * gthr-win32.h (__GTHREAD_MUTEX_DESTROY_FUNCTION): Remove. | |
969 | (__gthread_mutex_destroy_function): Rename to | |
970 | __gthread_mutex_destroy. | |
971 | * gthr-dce.h (__gthread_mutex_destroy): Call | |
972 | pthread_mutex_destroy. | |
973 | * gthr-tpf.h (__gthread_mutex_destroy): Likewise. | |
974 | * gthr-posix.h (__gthread_mutex_destroy): Likewise. | |
975 | * gthr-posix95.h (__gthread_mutex_destroy): Likewise. | |
976 | ||
a2bdd643 | 977 | 2008-03-01 Alexandre Oliva <aoliva@redhat.com> |
978 | ||
979 | * df-scan.c (df_ref_chain_change_bb): Simplify. | |
980 | (df_insn_change_bb): Add new_bb argument. Simplify. Call | |
981 | set_block_for_insn if there's any change. | |
982 | * df.h ((df_insn_change_bb): Fix prototype. | |
983 | * cfgrtl.c (update_bb_for_insn_chain): Pass bb to | |
984 | df_insn_change_bb, don't call set_block_for_insn. | |
985 | * emit-rtl.c (reorder_insns): Likewise. | |
986 | * haifa-sched.c (move_insn): Likewise. | |
987 | ||
c8707f08 | 988 | 2008-03-01 Alexandre Oliva <aoliva@redhat.com> |
989 | ||
990 | * rtlanal.c (loc_mentioned_in_p): Test XVECEXPs correctly. | |
991 | ||
200ad982 | 992 | 2008-03-01 Alexandre Oliva <aoliva@redhat.com> |
993 | ||
994 | * tree-flow-inline.h (next_readonly_imm_use): Return | |
995 | NULL_USE_OPERAND_P after the end. | |
996 | ||
0045e505 | 997 | 2008-03-01 Richard Guenther <rguenther@suse.de> |
998 | ||
999 | PR tree-optimization/35411 | |
1000 | * tree-sra.c (sra_build_assignment): Split conversion to | |
1001 | final type to a separate statement if we are not assigning | |
1002 | to a register. | |
1003 | ||
4a2f7014 | 1004 | 2008-02-29 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
1005 | ||
1006 | * fold-const.c (fold_convertible_p): Correct the logic to follow | |
1007 | that in fold_convert(). | |
1008 | ||
e8e0078c | 1009 | 2008-02-29 Douglas Gregor <doug.gregor@gmail.com> |
1010 | ||
1011 | PR c++/35315 | |
1012 | * tree-inline.c (build_duplicate_type): When we make a | |
1013 | duplicate type, make it unique in the canonical types system. | |
1014 | ||
26cb3d1c | 1015 | 2008-02-29 Tom Tromey <tromey@redhat.com> |
1016 | ||
1017 | * toplev.c (input_file_stack, input_file_stack_tick, fs_p, | |
1018 | input_file_stack_history, input_file_stack_restored): Remove. | |
1019 | (push_srcloc, pop_srcloc, restore_input_file_stack): Likewise. | |
1020 | * input.h (struct file_stack): Remove. | |
1021 | (push_srcloc, pop_srcloc, restore_input_file_stack): Likewise. | |
1022 | (input_file_stack, input_file_stack_tick, INPUT_FILE_STACK_BITS): | |
1023 | Likewise. | |
1024 | * diagnostic.h (struct diagnostic_context) <last_module>: Change | |
1025 | type. | |
1026 | (diagnostic_last_module_changed): Add 'map' argument. | |
1027 | (diagnostic_set_last_function): Likewise. | |
1028 | * diagnostic.c (undiagnostic_report_current_module): Iterate using | |
1029 | line map, not input_file_stack. | |
1030 | * c-lex.c (fe_file_change): Don't use push_srcloc or pop_srcloc. | |
1031 | ||
a09d6770 | 1032 | 2008-02-29 Paul Brook <paul@codesourcery.com> |
1033 | ||
1034 | * config/arm/arm.md (arm_addsi3): Add r/k/n alternative. | |
1035 | ||
a7aa526d | 1036 | 2008-02-29 Paul Brook <paul@codesourcery.com> |
1037 | ||
1038 | * config/arm/ieee754-df.S (muldf3): Use RET macros. | |
1039 | ||
d4cdfd27 | 1040 | 2008-02-29 Richard Guenther <rguenther@suse.de> |
1041 | ||
1042 | * tree-ssa-pre.c (get_sccvn_value): Create missing VNs via | |
1043 | vn_lookup_or_add. | |
1044 | * tree-ssa-sccnv.c (visit_reference_op_store): Use the rhs | |
1045 | value for comparing for a store match. | |
1046 | (simplify_unary_expression): Do nothing for SSA_NAMEs. | |
1047 | (try_to_simplify): Do not do a full-blown reference lookup. | |
1048 | ||
607ac910 | 1049 | 2008-02-29 Kaz Kojima <kkojima@gcc.gnu.org> |
1050 | ||
1051 | * config/sh/sh.c (sh_scalar_mode_supported_p): New function. | |
1052 | (TARGET_SCALAR_MODE_SUPPORTED_P): Define. | |
1053 | ||
1054 | * config/sh/sh.h (OVERRIDE_OPTIONS): Don't warn for profiling. | |
1055 | ||
2fcf1fbb | 1056 | 2008-02-29 Sebastian Pop <sebastian.pop@amd.com> |
1057 | ||
1058 | * tree-loop-linear.c (try_interchange_loops): Compare memory access | |
1059 | strides against cache sizes. | |
1060 | ||
583c0935 | 1061 | 2008-02-29 Kaz Kojima <kkojima@gcc.gnu.org> |
1062 | ||
1063 | * config/sh/sh.c (sh_secondary_reload): Handle loading a float | |
1064 | constant to fpul. | |
1065 | ||
ad76ccf5 | 1066 | 2008-02-28 Richard Sandiford <rsandifo@nildram.co.uk> |
1067 | ||
1068 | * simplify-rtx.c (simplify_unary_operation_1): Extend the handling | |
1069 | of SUBREG_PROMOTED_VAR_P to cope with cases where the extended value | |
1070 | is smaller than the original promoted value. | |
1071 | (simplify_subreg): If OP is a SUBREG, try to preserve its | |
1072 | SUBREG_PROMOTED_VAR_P information. | |
1073 | ||
b9584939 | 1074 | 2008-02-28 Steven Bosscher <stevenb.gcc@gmail.com> |
1075 | ||
1076 | * tree-ssa-sccvn (vn_ssa_aux_obstack): New obstack. | |
1077 | (VN_INFO_GET): Allocate new objects on the obstack. | |
1078 | (init_scc_vn): Initialize the obstack. Use XDELETE instead of free | |
1079 | for rpo_numbers_temp, for consistency. | |
1080 | (free_scc_vn): Free the obstack. | |
1081 | ||
801c5610 | 1082 | 2008-02-28 Sebastian Pop <sebastian.pop@amd.com> |
1083 | ||
1084 | * doc/invoke.texi: Document -ftree-loop-distribution. | |
1085 | * tree-loop-distribution.c: New. | |
1086 | * tree-pass.h (pass_loop_distribution): New. | |
1087 | * graphds.h (struct graph): Add htab_t indices. | |
1088 | * timevar.def (TV_TREE_LOOP_DISTRIBUTION): New. | |
1089 | * tree-vectorizer.c (rename_variables_in_loop): Extern. | |
1090 | (slpeel_tree_duplicate_loop_to_edge_cfg): Init PENDING_STMT to NULL. | |
1091 | * tree-vectorizer.h (tree_duplicate_loop_on_edge): Declared. | |
1092 | * tree-data-ref.c (debug_data_dependence_relations): New. | |
1093 | (dump_data_dependence_relation): Also print data references. | |
1094 | (free_data_ref): Extern. | |
1095 | (same_access_functions): Moved... | |
1096 | (find_vertex_for_stmt): Renamed rdg_vertex_for_stmt. | |
1097 | (dump_rdg_vertex, debug_rdg_vertex, dump_rdg_component, | |
1098 | debug_rdg_component, dump_rdg, debug_rdg, dot_rdg_1, dot_rdg, | |
1099 | struct rdg_vertex_info, rdg_vertex_for_stmt): New. | |
1100 | (create_rdg_edge_for_ddr, create_rdg_vertices): Cleaned up. | |
1101 | (stmts_from_loop): Skip LABEL_EXPR. | |
01e93ec4 | 1102 | (hash_stmt_vertex_info, eq_stmt_vertex_info, hash_stmt_vertex_del): |
1103 | New. | |
801c5610 | 1104 | (build_rdg): Initialize rdg->indices htab. |
1105 | (free_rdg, stores_from_loop, ref_base_address, | |
1106 | rdg_defs_used_in_other_loops_p, have_similar_memory_accesses, | |
1107 | have_similar_memory_accesses_1, ref_base_address_1, | |
1108 | remove_similar_memory_refs): New. | |
1109 | * tree-data-ref.h: Depend on tree-chrec.h. | |
1110 | (debug_data_dependence_relations, free_data_ref): Declared. | |
1111 | (same_access_functions): ... here. | |
01e93ec4 | 1112 | (ddr_is_anti_dependent, ddrs_have_anti_deps, ddr_dependence_level): |
1113 | New. | |
801c5610 | 1114 | (struct rdg_vertex): Add has_mem_write and has_mem_reads. |
1115 | (RDGV_HAS_MEM_WRITE, RDGV_HAS_MEM_READS, RDG_STMT, | |
1116 | RDG_MEM_WRITE_STMT, RDG_MEM_READS_STMT): New. | |
1117 | (dump_rdg_vertex, debug_rdg_vertex, dump_rdg_component, | |
1118 | debug_rdg_component, dump_rdg, debug_rdg, dot_rdg, | |
1119 | rdg_vertex_for_stmt): Declared. | |
1120 | (struct rdg_edge): Add level. | |
1121 | (RDGE_LEVEL): New. | |
1122 | (free_rdg, stores_from_loop, remove_similar_memory_refs, | |
01e93ec4 | 1123 | rdg_defs_used_in_other_loops_p, have_similar_memory_accesses): |
1124 | Declared. | |
801c5610 | 1125 | (rdg_has_similar_memory_accesses): New. |
1126 | * tree-vect-analyze.c: Remove unused static decls. | |
1127 | * lambda.h (dependence_level): New. | |
1128 | * common.opt (ftree-loop-distribution): New. | |
1129 | * tree-flow.h (mark_virtual_ops_in_bb, | |
1130 | slpeel_tree_duplicate_loop_to_edge_cfg, | |
1131 | rename_variables_in_loop): Declared. | |
1132 | * Makefile.in (TREE_DATA_REF_H): Depend on tree-chrec.h. | |
1133 | (OBJS-common): Add tree-loop-distribution.o. | |
1134 | (tree-loop-distribution.o): New rule. | |
1135 | * tree-cfg.c (mark_virtual_ops_in_bb): New. | |
1136 | (mark_virtual_ops_in_region): Use mark_virtual_ops_in_bb. | |
1137 | * passes.c (init_optimization_passes): Schedule pass_loop_distribution. | |
1138 | ||
9c467f13 | 1139 | 2008-02-28 Joseph Myers <joseph@codesourcery.com> |
1140 | ||
1141 | PR target/33963 | |
1142 | * tree.c (handle_dll_attribute): Disallow TYPE_DECLs for types | |
1143 | other than structures and unions. | |
1144 | ||
c0ff55b3 | 1145 | 2008-02-28 Richard Guenther <rguenther@suse.de> |
1146 | ||
1147 | Revert: | |
1148 | 2008-02-26 Richard Guenther <rguenther@suse.de> | |
1149 | ||
1150 | * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ... | |
1151 | * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here. | |
1152 | (lookup_decl_from_uid): Declare. | |
1153 | (remove_decl_from_map): Likewise. | |
1154 | * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ... | |
1155 | * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here. | |
1156 | (decl_for_uid_map): New global hashtable mapping DECL_UID | |
1157 | to the decl tree. | |
1158 | (init_ttree): Allocate it. | |
1159 | (insert_decl_to_uid_decl_map): New helper function. | |
1160 | (make_node_stat): Insert new decls into the map. | |
1161 | (copy_node_stat): Likewise. | |
1162 | (lookup_decl_from_uid): New function. | |
1163 | (remove_decl_from_map): Likewise. | |
1164 | (print_decl_for_uid_map_statistics): New helper. | |
1165 | (dump_tree_statistics): Call it. | |
1166 | ||
1167 | * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap. | |
1168 | (referenced_var_iterator): Adjust. | |
1169 | (FOR_EACH_REFERENCED_VAR): Adjust. | |
1170 | (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator. | |
1171 | (num_referenced_vars): Adjust. | |
1172 | * tree-flow-inline.h (gimple_referenced_vars): Adjust. | |
1173 | (first_referenced_var): Remove. | |
1174 | (end_referenced_vars_p): Likewise. | |
1175 | (next_referenced_var): Likewise. | |
1176 | (referenced_var_iterator_set): New helper function. | |
1177 | * tree-dfa.c (referenced_var_lookup): Adjust. | |
1178 | (referenced_var_check_and_insert): Likewise. | |
1179 | (remove_referenced_var): Likewise. | |
1180 | * tree-ssa.c (verify_flow_insensitive_alias_info): Use | |
1181 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
1182 | (verify_call_clobbering): Likewise. | |
1183 | (verify_memory_partitions): Likewise. | |
1184 | (init_tree_ssa): Allocate bitmap instead of hashtable for | |
1185 | referenced_vars. | |
1186 | (delete_tree_ssa): Adjust. | |
1187 | * tree-ssa-alias.c (mark_aliases_call_clobbered): Use | |
1188 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
1189 | (compute_tag_properties): Likewise. | |
1190 | (set_initial_properties): Likewise. | |
1191 | (find_partition_for): Likewise. | |
1192 | (update_reference_counts): Likewise. | |
1193 | (dump_may_aliases_for): Likewise. | |
1194 | * tree-ssa-operands.c (add_virtual_operand): Likewise. | |
1195 | (add_call_clobber_ops): Likewise. | |
1196 | (add_call_read_ops): Likewise. | |
1197 | (get_asm_expr_operands): Likewise. | |
1198 | * tree-into-ssa.c (dump_decl_set): Likewise. | |
1199 | (update_ssa): Likewise. | |
1200 | * tree-sra.c (scan_function): Likewise. | |
1201 | (decide_instantiations): Likewise. | |
1202 | (scalarize_parms): Likewise. | |
1203 | * tree-ssa-alias-warnings.c (build_reference_table): Likewise. | |
1204 | (dsa_named_for): Likewise. | |
1205 | * tree-ssa-structalias.c (update_alias_info): Likewise. | |
1206 | (merge_smts_into): Likewise. | |
1207 | ||
16b35285 | 1208 | 2008-02-27 David Daney <ddaney@avtrex.com> |
1209 | ||
1210 | PR target/34409 | |
1211 | * config/mips/iris.h (MIPS_DEBUGGING_INFO): Define. | |
1212 | * config/mips/openbsd.h (MIPS_DEBUGGING_INFO): Same. | |
1213 | * config/mips/sde.h (MIPS_DEBUGGING_INFO): Remove undef. | |
1214 | * config/mips/vxworks.h (MIPS_DEBUGGING_INFO): Same. | |
1215 | * config/mips/mips.h (MIPS_DEBUGGING_INFO): Remove define. | |
1216 | ||
d243d9c9 | 1217 | 2008-02-27 Uros Bizjak <ubizjak@gmail.com> |
1218 | ||
1219 | PR target/25477 | |
1220 | * config/darwin-ppc-ldouble-patch.def (BUILT_IN_NANL): Add. | |
1221 | (BUILT_IN_NEXTTOWARD): Remove. | |
1222 | (BUILT_IN_NEXTTOWARDF): Ditto. | |
1223 | * config/darwin.c (darwin_patch_builtin): Use ACONCAT instead of | |
1224 | alloca/strcpy/strcat. Remove commented-out code. Fix whitespace. | |
1225 | ||
de9ebaea | 1226 | 2008-02-27 Tom Tromey <tromey@redhat.com> |
1227 | ||
1228 | * tree-dump.c (dequeue_and_dump) <FUNCTION_DECL>: Check | |
1229 | DECL_SAVED_TREE, not DECL_LANG_SPECIFIC, when dumping body. | |
1230 | ||
5f398d1f | 1231 | 2008-02-27 Jan Beulich <jbeulich@novell.com> |
1232 | ||
1233 | * c-decl.c (merge_decls): Use DECL_USER_ALIGN() on olddecl to | |
1234 | update the respective field on newdecl. | |
1235 | ||
9cc5df33 | 1236 | 2008-02-27 Revital Eres <eres@il.ibm.com> |
1237 | ||
1238 | PR rtl-optimization/34999 | |
1239 | * bb-reorder.c (add_labels_and_missing_jumps): Do not handle | |
1240 | crossing edges that ends with a call insn. | |
1241 | (fix_up_fall_thru_edges): Handle crossing edges that ends with a | |
1242 | call insn and clear the EDGE_CROSSING flag of the crossing edge | |
1243 | when fixing fallthru edges. | |
1244 | ||
c2f5179d | 1245 | 2008-02-27 Richard Guenther <rguenther@suse.de> |
1246 | ||
c0ff55b3 | 1247 | PR middle-end/35390 |
c2f5179d | 1248 | * fold-const.c (fold_unary): Return the correct argument, |
1249 | converted to the result type. | |
1250 | ||
6295ca72 | 1251 | 2008-02-27 Richard Guenther <rguenther@suse.de> |
1252 | ||
1253 | PR middle-end/34971 | |
1254 | * expr.c (expand_expr_real_1): Assert on rotates that operate | |
1255 | on partial modes. | |
1256 | * fold-const.c (fold_binary): Use the types precision, not the | |
1257 | bitsize of the mode if folding rotate expressions. Build rotates | |
1258 | only for full modes. | |
1259 | ||
146a4308 | 1260 | 2008-02-27 Jakub Jelinek <jakub@redhat.com> |
1261 | ||
1262 | * c-ppoutput.c (scan_translation_unit): Handle CPP_PRAGMA | |
1263 | and CPP_PRAGMA_EOL. | |
1264 | * c-pragma.c (pragma_ns_name): New typedef. | |
1265 | (registered_pp_pragmas): New variable. | |
1266 | (c_pp_lookup_pragma): New function. | |
1267 | (c_register_pragma_1): If flag_preprocess_only, do nothing | |
1268 | for non-expanded pragmas, for expanded ones push pragma's | |
1269 | namespace and name into registered_pp_pragmas vector. | |
1270 | (c_invoke_pragma_handler): Register OpenMP pragmas even when | |
1271 | flag_preprocess_only, don't register GCC pch_preprocess | |
1272 | pragma if flag_preprocess_only. | |
1273 | * c-opts.c (c_common_init): Call init_pragma even if | |
1274 | flag_preprocess_only. | |
1275 | * c-pragma.c (c_pp_lookup_pragma): New prototype. | |
1276 | * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Don't call | |
1277 | cpp_register_pragma if flag_preprocess_only. | |
1278 | ||
784c0df4 | 1279 | 2008-02-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
1280 | ||
1281 | PR c/28800 | |
1282 | * c-parser.c (c_parser_translation_unit): Warn for empty | |
1283 | translation unit, not empty source file. | |
1284 | ||
aaa37ad6 | 1285 | 2008-02-26 Paul Brook <paul@codesourcery.com> |
1286 | ||
1287 | * config/arm/arm.c (thumb_set_frame_pointer): Ensure SP is first | |
1288 | operand for Thumb-2. | |
1289 | * config/arm/arm.h (reg_class): Add CORE_REGS. | |
1290 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Ditto. | |
1291 | (BASE_REG_CLASS): Use CORE_REGS. | |
1292 | (PREFERRED_RELOAD_CLASS): Add STACK_REG. | |
1293 | (REGNO_MODE_OK_FOR_REG_BASE_P): Use REGNO_MODE_OK_FOR_BASE_P. | |
1294 | (REGNO_OK_FOR_INDEX_P): Exclude SP. | |
1295 | (ARM_REG_OK_FOR_INDEX_P): Always define. Use | |
1296 | ARM_REGNO_OK_FOR_INDEX_P. | |
1297 | (ARM_PRINT_OPERAND_ADDRESS): Swap operands for [reg, sp]. | |
1298 | * config/arm/arm.md (arm_addsi3, thumb1_addsi3, arm_subsi3_insn, | |
1299 | arm_movsi_insn, thumb1_movsi_insni, stack_tie): Add "k" alternatives. | |
1300 | (ldm/stm peepholes): Ditto. | |
1301 | * config/arm/thumb2.md (thumb2_movdi): Add "k" alternatives. | |
1302 | * config/arm/vfp.md (arm_movsi_vfp, thumb2_movsi_vfp): Ditto. | |
1303 | * config/arm/iwmmxt.md (iwmmxt_movsi_insn): Ditto. | |
1304 | * config/arm/constraints.md: Enable "k" constraint on ARM. | |
1305 | ||
7effebe0 | 1306 | 2008-02-27 Ben Elliston <bje@au.ibm.com> |
1307 | ||
1308 | * config/rs6000/rs6000.c: Annotate cache line size field in all | |
1309 | instances of struct processor_costs. | |
1310 | ||
4ff06051 | 1311 | 2008-02-26 David Edelsohn <edelsohn@gnu.org> |
1312 | ||
1313 | * dbgcnt.def (cfg_cleanup, cprop1, cprop2, dce_fast, dce_ud, dse1, | |
1314 | dse2, gcse, if_conversion, if_after_combine, if_after_reload, | |
1315 | jump_bypass): New counters. | |
1316 | * cfgcleanup.c (cleanup_cfg): Add dbg_cnt. | |
1317 | * dce.c (gate_ud_dce): Same. | |
1318 | (gate_fast_dce): Same. | |
1319 | * dse.c (gate_dse1): New function. | |
1320 | (gate_dse2): New function. | |
1321 | (gate_dse): Merge results of new gate functions. | |
1322 | * gcse.c (gcse_main): Bracket cprop1 and cprop2 with dbg_cnt. | |
1323 | (gate_handle_jump_bypass): Add dbg_cnt. | |
1324 | (gate_handle_gcse): Add dbg_cnt. | |
1325 | * ifcvt.c (gate_handle_if_conversion): Same. | |
1326 | (gate_handle_if_after_combine): Same. | |
1327 | (gate_handle_if_after_reload): Same. | |
1328 | * Makefile.in: Add DBGCNT_H to cfgcleanup.o and ifcvt.o. | |
1329 | ||
0fc88469 | 1330 | 2008-02-26 Edmar Wienskoski <edmar@freescale.com> |
1331 | ||
1332 | * config/rs6000/rs6000.c (processor_costs): Update e300 cache | |
1333 | line sizes. | |
1334 | * doc/invoke.texi: Add e300c2 and e300c3 to list of cpus. | |
1335 | ||
3ef0a05e | 1336 | 2008-02-26 Jason Merrill <jason@redhat.com> |
1337 | ||
1338 | PR c++/35315 | |
1339 | * attribs.c (decl_attributes): Leave ATTR_FLAG_TYPE_IN_PLACE | |
1340 | alone if it's the naming decl for the type's main variant. | |
1341 | ||
9c85a98a | 1342 | 2008-02-26 Tom Tromey <tromey@redhat.com> |
1343 | ||
1344 | * system.h (USE_MAPPED_LOCATION): Poison. | |
1345 | * Makefile.in (GTFILES): Put CPP_ID_DATA_H first. | |
1346 | * tree-cfg.c (make_cond_expr_edges): Remove old location code. | |
1347 | (make_goto_expr_edges): Likewise. | |
1348 | (remove_bb): Likewise. | |
1349 | (execute_warn_function_return): Likewise. | |
1350 | * basic-block.h (struct edge_def) <goto_locus>: Change type to | |
1351 | location_t. | |
1352 | * c-common.c (fname_decl): Remove old location code. | |
1353 | * tree-vect-transform.c (vect_finish_stmt_generation): Remove old | |
1354 | location code. | |
1355 | * rtl.h (ASM_OPERANDS_SOURCE_LOCATION): Remove old-location | |
1356 | variant. | |
1357 | (ASM_INPUT_SOURCE_LOCATION): Likewise. | |
1358 | (gen_rtx_ASM_INPUT): Likewise. | |
1359 | (gen_rtx_ASM_INPUT_loc): Likewise. | |
1360 | (get_rtx_asm_OPERANDS): Remove. | |
1361 | * cfglayout.c (insn_locators_alloc): Remove old location code. | |
1362 | (set_curr_insn_source_location): Likewise. | |
1363 | (curr_insn_locator): Likewise. | |
1364 | * print-tree.c (print_node): Remove old location code. | |
1365 | * tree-mudflap.c (mf_varname_tree): Remove old location code. | |
1366 | (mf_file_function_line_tree): Remove test of USE_MAPPED_LOCATION. | |
1367 | * cfgexpand.c (expand_gimple_cond_expr): Don't use | |
1368 | location_from_locus. | |
1369 | (construct_exit_block): Remove old location code. | |
1370 | * emit-rtl.c (force_next_line_note): Remove old location code. | |
1371 | * profile.c (branch_prob): Remove old location code. | |
1372 | * tree-vectorizer.h (LOC, UNKNOWN_LOC, EXPR_LOC, LOC_FILE, | |
1373 | LOC_LINE): Remove old-location variants. | |
1374 | * langhooks.c (lhd_print_error_function): Remove old location | |
1375 | code. | |
1376 | * configure, config.in: Rebuilt. | |
1377 | * configure.ac (--enable-mapped-location): Remove. | |
1378 | * c-decl.c (c_init_decl_processing): Remove old location code. | |
1379 | (finish_function): Likewise. | |
1380 | * recog.c (decode_asm_operands): Remove old location code. | |
1381 | * c-pch.c (c_common_read_pch): Remove old location code. | |
1382 | * rtl.def (ASM_INPUT, ASM_OPERANDS): Remove old location | |
1383 | variants. | |
1384 | * gimple-low.c (lower_function_body): Remove old location code. | |
1385 | * toplev.c (unknown_location): Remove. | |
1386 | (push_srcloc): Remove old-location variant. | |
1387 | (process_options): Remove old location code. | |
1388 | (lang_dependent_init): Likewise. | |
1389 | * input.h (UNKNOWN_LOCATION): Move definition. | |
1390 | (location_t): Undeprecate. | |
1391 | (source_locus): Remove. | |
1392 | (location_from_locus): Remove. | |
1393 | (struct location_s): Remove. | |
1394 | Remove all old-location code. | |
1395 | (input_line, input_filename): Remove. | |
1396 | * final.c (final_scan_insn): Remove old location code. | |
1397 | * diagnostic.c (diagnostic_build_prefix): Remove | |
1398 | USE_MAPPED_LOCATION test. | |
1399 | * tree.h (gimple_stmt) <locus>: Now a location_t. | |
1400 | (tree_exp) <locus>: Likewise. | |
1401 | (DECL_IS_BUILTIN): Remove old-location variant. | |
1402 | (annotate_with_file_line, annotate_with_locus): Likewise. | |
1403 | (expr_locus, set_expr_locus): Update. | |
1404 | * tree.c (build1_stat): Remove old location code. | |
1405 | (last_annotated_node): Remove. | |
1406 | (annotate_with_file_line): Remove old-location variant. | |
1407 | (annotate_with_locus): Likewise. | |
1408 | (expr_location): Remove old location code. | |
1409 | (set_expr_location): Likewise. | |
1410 | (expr_has_location): Likewise. | |
1411 | (expr_locus): Likewise. | |
1412 | (set_expr_locus): Likewise. | |
1413 | (expr_filename): Don't use location_from_locus. | |
1414 | (expr_lineno): Likewise. | |
1415 | * rtl-error.c (location_for_asm): Remove old location code. | |
1416 | * c-lex.c (cb_line_change): Remove old location code. | |
1417 | (fe_file_change): Likewise. | |
1418 | (cb_def_pragma): Likewise. | |
1419 | (c_lex_with_flags): Likewise. | |
1420 | * gengtype.c (do_typedef): Don't special-case location types. | |
1421 | (define_location_structures): Remove. | |
1422 | (main): Don't call define_location_structures. | |
1423 | * tree-pretty-print.c (dump_implicit_edges): Remove old location | |
1424 | code. | |
1425 | ||
c0394294 | 1426 | 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
1427 | ||
1428 | PR 26264 | |
1429 | * builtins.def (BUILT_IN_STDARG_START): Remove. | |
1430 | * builtins.c (expand_builtin): Remove BUILT_IN_STDARG_START. | |
1431 | * tree-stdarg.c (execute_optimize_stdarg): Likewise. | |
1432 | * tree-inline.c (inline_forbidden_p_1): Likewise. | |
1433 | ||
20308404 | 1434 | 2008-02-26 Richard Guenther <rguenther@suse.de> |
1435 | ||
1436 | * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ... | |
1437 | * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here. | |
1438 | (lookup_decl_from_uid): Declare. | |
1439 | (remove_decl_from_map): Likewise. | |
1440 | * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ... | |
1441 | * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here. | |
1442 | (decl_for_uid_map): New global hashtable mapping DECL_UID | |
1443 | to the decl tree. | |
1444 | (init_ttree): Allocate it. | |
1445 | (insert_decl_to_uid_decl_map): New helper function. | |
1446 | (make_node_stat): Insert new decls into the map. | |
1447 | (copy_node_stat): Likewise. | |
1448 | (lookup_decl_from_uid): New function. | |
1449 | (remove_decl_from_map): Likewise. | |
1450 | (print_decl_for_uid_map_statistics): New helper. | |
1451 | (dump_tree_statistics): Call it. | |
1452 | ||
1453 | * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap. | |
1454 | (referenced_var_iterator): Adjust. | |
1455 | (FOR_EACH_REFERENCED_VAR): Adjust. | |
1456 | (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator. | |
1457 | (num_referenced_vars): Adjust. | |
1458 | * tree-flow-inline.h (gimple_referenced_vars): Adjust. | |
1459 | (first_referenced_var): Remove. | |
1460 | (end_referenced_vars_p): Likewise. | |
1461 | (next_referenced_var): Likewise. | |
1462 | (referenced_var_iterator_set): New helper function. | |
1463 | * tree-dfa.c (referenced_var_lookup): Adjust. | |
1464 | (referenced_var_check_and_insert): Likewise. | |
1465 | (remove_referenced_var): Likewise. | |
1466 | * tree-ssa.c (verify_flow_insensitive_alias_info): Use | |
1467 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
1468 | (verify_call_clobbering): Likewise. | |
1469 | (verify_memory_partitions): Likewise. | |
1470 | (init_tree_ssa): Allocate bitmap instead of hashtable for | |
1471 | referenced_vars. | |
1472 | (delete_tree_ssa): Adjust. | |
1473 | * tree-ssa-alias.c (mark_aliases_call_clobbered): Use | |
1474 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
1475 | (compute_tag_properties): Likewise. | |
1476 | (set_initial_properties): Likewise. | |
1477 | (find_partition_for): Likewise. | |
1478 | (update_reference_counts): Likewise. | |
1479 | (dump_may_aliases_for): Likewise. | |
1480 | * tree-ssa-operands.c (add_virtual_operand): Likewise. | |
1481 | (add_call_clobber_ops): Likewise. | |
1482 | (add_call_read_ops): Likewise. | |
1483 | (get_asm_expr_operands): Likewise. | |
1484 | * tree-into-ssa.c (dump_decl_set): Likewise. | |
1485 | (update_ssa): Likewise. | |
1486 | * tree-sra.c (scan_function): Likewise. | |
1487 | (decide_instantiations): Likewise. | |
1488 | (scalarize_parms): Likewise. | |
1489 | * tree-ssa-alias-warnings.c (build_reference_table): Likewise. | |
1490 | (dsa_named_for): Likewise. | |
1491 | * tree-ssa-structalias.c (update_alias_info): Likewise. | |
1492 | (merge_smts_into): Likewise. | |
1493 | ||
75130fc7 | 1494 | 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
1495 | ||
1496 | PR 34351 | |
1497 | * doc/invoke.texi (-Wall): Add -Wvolatile-register-var. | |
1498 | * c-opts.c (c_common_handle_option): Wall enables | |
1499 | Wvolatile-register-var. | |
1500 | * common.opt: Move Wvolatile-register-var to... | |
1501 | * c.opt: ...here. | |
1502 | ||
17c66687 | 1503 | 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
1504 | ||
1505 | * common.opt (Wlarger-than=): New. | |
1506 | * doc/invoke.texi (Warning Options): Replace -Wlarger-than- with | |
1507 | -Wlarger-than=. | |
1508 | * opts.c (common_handle_option): Handle -Wlarger-than=. | |
1509 | * optc-gen.awk: Likewise. | |
1510 | * opth-gen.awk: Likewise. | |
1511 | * stor-layout.c (layout_decl): Use -Wlarger-than= for warning. | |
1512 | * tree-optimize.c (tree_rest_of_compilation): Likewise. | |
1513 | ||
6cbbbc89 | 1514 | 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
1515 | ||
1516 | * c-common.c (match_case_to_enum_1): Add appropriate | |
1517 | OPT_W* parameter to warning. | |
1518 | (c_do_switch_warnings): Likewise. | |
1519 | * c-typeck.c (warning_init): Add one more parameter following | |
1520 | 'warning' function. | |
1521 | (push_init_level): Update call to warning_init. | |
1522 | (pop_init_level): Likewise. | |
1523 | (add_pending_init): Likewise. | |
1524 | (output_init_element: Likewise. | |
1525 | ||
ddb48b82 | 1526 | 2008-02-26 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
1527 | ||
1528 | PR 28322 | |
1529 | * toplev.c (toplev_main): If there are warnings or error, print | |
1530 | errors for ignored options. | |
1531 | * opts.c (ignored_options): New static variable. | |
1532 | (postpone_unknown_option_error): New. | |
1533 | (print_ignored_options): New. | |
1534 | (handle_option): Postpone errors for unknown -Wno-* options. | |
1535 | * opts.h (print_ignored_options): Declare. | |
1536 | ||
7ecd9299 | 1537 | 2008-02-25 Richard Sandiford <rsandifo@nildram.co.uk> |
1538 | ||
1539 | * config/mips/mips.md (loadgp_blockage, blockage): Change type | |
1540 | to "ghost". | |
1541 | ||
3a0e28bd | 1542 | 2008-02-25 Richard Guenther <rguenther@suse.de> |
1543 | ||
1544 | Revert: | |
1545 | 2008-02-25 Richard Guenther <rguenther@suse.de> | |
1546 | ||
1547 | * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ... | |
1548 | * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here. | |
1549 | (lookup_decl_from_uid): Declare. | |
1550 | * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ... | |
1551 | * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here. | |
1552 | (decl_for_uid_map): New global hashtable mapping DECL_UID | |
1553 | to the decl tree. | |
1554 | (init_ttree): Allocate it. | |
1555 | (insert_decl_to_uid_decl_map): New helper function. | |
1556 | (make_node_stat): Insert new decls into the map. | |
1557 | (copy_node_stat): Likewise. | |
1558 | (lookup_decl_from_uid): New function. | |
1559 | (print_decl_for_uid_map_statistics): New helper. | |
1560 | (dump_tree_statistics): Call it. | |
1561 | ||
1562 | * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap. | |
1563 | (referenced_var_iterator): Adjust. | |
1564 | (FOR_EACH_REFERENCED_VAR): Adjust. | |
1565 | (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator. | |
1566 | (num_referenced_vars): Adjust. | |
1567 | * tree-flow-inline.h (gimple_referenced_vars): Adjust. | |
1568 | (first_referenced_var): Remove. | |
1569 | (end_referenced_vars_p): Likewise. | |
1570 | (next_referenced_var): Likewise. | |
1571 | (referenced_var_iterator_set): New helper function. | |
1572 | * tree-dfa.c (referenced_var_lookup): Adjust. | |
1573 | (referenced_var_check_and_insert): Likewise. | |
1574 | (remove_referenced_var): Likewise. | |
1575 | * tree-ssa.c (verify_flow_insensitive_alias_info): Use | |
1576 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
1577 | (verify_call_clobbering): Likewise. | |
1578 | (verify_memory_partitions): Likewise. | |
1579 | (init_tree_ssa): Allocate bitmap instead of hashtable for | |
1580 | referenced_vars. | |
1581 | (delete_tree_ssa): Adjust. | |
1582 | * tree-ssa-alias.c (mark_aliases_call_clobbered): Use | |
1583 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
1584 | (compute_tag_properties): Likewise. | |
1585 | (set_initial_properties): Likewise. | |
1586 | (find_partition_for): Likewise. | |
1587 | (update_reference_counts): Likewise. | |
1588 | (dump_may_aliases_for): Likewise. | |
1589 | * tree-ssa-operands.c (add_virtual_operand): Likewise. | |
1590 | (add_call_clobber_ops): Likewise. | |
1591 | (add_call_read_ops): Likewise. | |
1592 | (get_asm_expr_operands): Likewise. | |
1593 | * tree-into-ssa.c (dump_decl_set): Likewise. | |
1594 | (update_ssa): Likewise. | |
1595 | * tree-sra.c (scan_function): Likewise. | |
1596 | (decide_instantiations): Likewise. | |
1597 | (scalarize_parms): Likewise. | |
1598 | * tree-ssa-alias-warnings.c (build_reference_table): Likewise. | |
1599 | (dsa_named_for): Likewise. | |
1600 | * tree-ssa-structalias.c (update_alias_info): Likewise. | |
1601 | (merge_smts_into): Likewise. | |
1602 | ||
7e959c84 | 1603 | 2008-02-25 Janne Blomqvist <jb@gcc.gnu.org> |
1604 | ||
1605 | PR fortran/29549 | |
1606 | * doc/invoke.texi (-fcx-limited-range): Document new option. | |
1607 | * toplev.c (process_options): Handle -fcx-fortran-rules. | |
1608 | * common.opt: Add documentation for -fcx-fortran-rules. | |
1609 | ||
a8806066 | 1610 | 2008-02-25 Janne Blomqvist <jb@gcc.gnu.org> |
1611 | ||
1612 | PR c/35162 | |
1613 | * doc/invoke.texi (-fcx-limited-range): Correct to be in line with | |
1614 | actual behaviour and C99. | |
1615 | ||
b30c4a87 | 1616 | 2008-02-26 Ben Elliston <bje@au.ibm.com> |
1617 | ||
1618 | * config/rs6000/rs6000.h (ASM_CPU_POWER5_SPEC): Define. | |
1619 | (ASM_CPU_POWER6_SPEC): Likewise. | |
1620 | (ASM_CPU_SPEC): Pass %(asm_cpu_power5) for -mcpu=power5. | |
1621 | Likewise, pass %(asm_cpu_power6) for -mcpu=power6. | |
1622 | (EXTRA_SPECS): Add asm_cpu_power5, asm_cpu_power6 spec strings. | |
1623 | ||
8ca26bdd | 1624 | 2008-02-25 Richard Guenther <rguenther@suse.de> |
1625 | ||
1626 | * tree-flow.h (uid_decl_map_hash, uid_decl_map_eq): Move ... | |
1627 | * tree.h (uid_decl_map_hash, uid_decl_map_eq): ... here. | |
1628 | (lookup_decl_from_uid): Declare. | |
1629 | * tree-ssa.c (uid_decl_map_eq, uid_decl_map_hash): Move ... | |
1630 | * tree.c (uid_decl_map_eq, uid_decl_map_hash): ... here. | |
1631 | (decl_for_uid_map): New global hashtable mapping DECL_UID | |
1632 | to the decl tree. | |
1633 | (init_ttree): Allocate it. | |
1634 | (insert_decl_to_uid_decl_map): New helper function. | |
1635 | (make_node_stat): Insert new decls into the map. | |
1636 | (copy_node_stat): Likewise. | |
1637 | (lookup_decl_from_uid): New function. | |
1638 | (print_decl_for_uid_map_statistics): New helper. | |
1639 | (dump_tree_statistics): Call it. | |
1640 | ||
1641 | * tree-flow.h (struct gimple_df): Make referenced_vars a bitmap. | |
1642 | (referenced_var_iterator): Adjust. | |
1643 | (FOR_EACH_REFERENCED_VAR): Adjust. | |
1644 | (FOR_EACH_REFERENCED_VAR_IN_BITMAP): New iterator. | |
1645 | (num_referenced_vars): Adjust. | |
1646 | * tree-flow-inline.h (gimple_referenced_vars): Adjust. | |
1647 | (first_referenced_var): Remove. | |
1648 | (end_referenced_vars_p): Likewise. | |
1649 | (next_referenced_var): Likewise. | |
1650 | (referenced_var_iterator_set): New helper function. | |
1651 | * tree-dfa.c (referenced_var_lookup): Adjust. | |
1652 | (referenced_var_check_and_insert): Likewise. | |
1653 | (remove_referenced_var): Likewise. | |
1654 | * tree-ssa.c (verify_flow_insensitive_alias_info): Use | |
1655 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
1656 | (verify_call_clobbering): Likewise. | |
1657 | (verify_memory_partitions): Likewise. | |
1658 | (init_tree_ssa): Allocate bitmap instead of hashtable for | |
1659 | referenced_vars. | |
1660 | (delete_tree_ssa): Adjust. | |
1661 | * tree-ssa-alias.c (mark_aliases_call_clobbered): Use | |
1662 | FOR_EACH_REFERENCED_VAR_IN_BITMAP. | |
1663 | (compute_tag_properties): Likewise. | |
1664 | (set_initial_properties): Likewise. | |
1665 | (find_partition_for): Likewise. | |
1666 | (update_reference_counts): Likewise. | |
1667 | (dump_may_aliases_for): Likewise. | |
1668 | * tree-ssa-operands.c (add_virtual_operand): Likewise. | |
1669 | (add_call_clobber_ops): Likewise. | |
1670 | (add_call_read_ops): Likewise. | |
1671 | (get_asm_expr_operands): Likewise. | |
1672 | * tree-into-ssa.c (dump_decl_set): Likewise. | |
1673 | (update_ssa): Likewise. | |
1674 | * tree-sra.c (scan_function): Likewise. | |
1675 | (decide_instantiations): Likewise. | |
1676 | (scalarize_parms): Likewise. | |
1677 | * tree-ssa-alias-warnings.c (build_reference_table): Likewise. | |
1678 | (dsa_named_for): Likewise. | |
1679 | * tree-ssa-structalias.c (update_alias_info): Likewise. | |
1680 | (merge_smts_into): Likewise. | |
1681 | ||
5fe61d21 | 1682 | 2008-02-25 Andreas Krebbel <krebbel1@de.ibm.com> |
1683 | ||
1684 | PR target/35258 | |
1685 | * cse.c (cse_insn): Avoid creation of overlapping MEMs. | |
1686 | * alias.c (nonoverlapping_memrefs_p): Export for use in other modules. | |
1687 | * alias.h (nonoverlapping_memrefs_p): Likewise. | |
1688 | ||
cab0c612 | 1689 | 2008-02-25 Jan Beulich <jbeulich@novell.com> |
1690 | ||
d243d9c9 | 1691 | * Makefile.in: Also prefix uses of crt0.o and mcrt0.o with $(T). |
cab0c612 | 1692 | * config/i386/netware-libgcc.exp: Add __bswap?i2, |
1693 | __emultls_get_address, __emultls_register_common, | |
1694 | __floatundi?f, and _Unwind_GetIPInfo. | |
1695 | * config/i386/netware.c (gen_stdcall_or_fastcall_decoration): | |
1696 | Sync with config/i386/winnt.c:gen_stdcall_or_fastcall_suffix(). | |
1697 | (gen_regparm_prefix): Likewise. | |
1698 | (i386_nlm_encode_section_info): Sync with | |
1699 | config/i386/winnt.c:i386_pe_encode_section_info(). | |
1700 | (i386_nlm_maybe_mangle_decl_assembler_name): New. | |
1701 | i386_nlm_mangle_decl_assembler_name): New. | |
1702 | (netware_override_options): New. | |
1703 | * config/i386/netware.h (netware_override_options): Declare. | |
1704 | (OVERRIDE_OPTIONS): Re-define to netware_override_options. | |
1705 | (i386_nlm_mangle_decl_assembler_name): Declare. | |
1706 | (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Define. | |
1707 | ||
5243b29d | 1708 | 2008-02-25 Ben Elliston <bje@au.ibm.com> |
1709 | ||
1710 | PR other/32948 | |
1711 | * c-decl.c (grokdeclarator): Remove unused local variables | |
1712 | `typedef_type' and `type_as_written'. | |
1713 | * bb-reorder.c | |
1714 | (find_rarely_executed_basic_blocks_and_crossing_edges): Remove | |
1715 | unused local variable `has_hot_blocks'. | |
1716 | (fix_crossing_conditional_branches): Remove unused local variable | |
1717 | `prev_bb'. | |
1718 | ||
620d0bf8 | 1719 | 2008-02-25 Uros Bizjak <ubizjak@gmail.com> |
1720 | ||
1721 | PR middle-end/19984 | |
1722 | * builtins.def (BUILT_IN_NAN): Define as c99 builtin | |
1723 | using DEF_C99_BUILTIN. | |
1724 | (BUILT_IN_NANF): Ditto. | |
1725 | (BUILT_IN_NANL): Ditto. | |
1726 | ||
84004523 | 1727 | 2008-02-25 Ayal Zaks <zaks@il.ibm.com> |
34d8410f | 1728 | Revital Eres <eres@il.ibm.com> |
84004523 | 1729 | |
1730 | * modulo-sched.c (calculate_must_precede_follow): Address TODO | |
1731 | regarding the order of two dependent insns in the same row. | |
1732 | ||
23f65835 | 1733 | 2008-02-25 Eric Botcazou <ebotcazou@adacore.com> |
1734 | ||
1735 | * stor-layout.c (layout_decl): Do not bump the alignment of a | |
1736 | bit-field to more than byte alignment if it is packed. | |
1737 | ||
b18d68e3 | 1738 | 2008-02-24 David Edelsohn <edelsohn@gnu.org> |
1739 | ||
1740 | * config/rs6000/rs6000.c (processor_costs): Add cache costs for | |
1741 | e300c2 and e300c3. | |
1742 | ||
100b67da | 1743 | 2008-02-24 Diego Novillo <dnovillo@google.com> |
1744 | ||
1745 | http://gcc.gnu.org/ml/gcc-patches/2008-02/msg01094.html | |
1746 | ||
1747 | PR 33738 | |
1748 | * tree-vrp.c (vrp_evaluate_conditional): With | |
1749 | -Wtype-limits, emit a warning when comparing against a | |
1750 | constant outside the natural range of OP0's type. | |
1751 | * c.opt (Wtype-limits): Move ... | |
1752 | * common.opt (Wtype-limits): ... here. | |
1753 | ||
2aeab935 | 1754 | 2008-02-24 Edmar Wienskoski <edmar@freescale.com> |
73edc44b | 1755 | |
1756 | * config.gcc (powerpc*-*-*): Add new cores e300c2 and e300c3. | |
1757 | * config/rs6000/e300c2c3.md: New file. | |
1758 | * config/rs6000/rs6000.c (processor_costs): Add new costs for | |
1759 | e300c2 and e300c3. | |
1760 | (rs6000_override_options): Add e300c2 and e300c3 cases to | |
1761 | processor_target_table. Do not allow usage of Altivec or Spe | |
1762 | with e300 cores. Initialize rs6000_cost for e300c2 and e300c3. | |
1763 | (rs6000_issue_rate): Set issue rate for e300c2 and e300c3. | |
1764 | * config/rs6000/rs6000.h (processor_type): Add | |
1765 | PROCESSOR_PPCE300C2 and PROCESSOR_PPCE300C3. | |
1766 | (ASM_CPU_SPEC): Add e300c2 and e300c3. | |
1767 | * config/rs6000/rs6000.md (define_attr "cpu"): Add ppce300c2 | |
1768 | and ppce300c3. Include e300c2c3.md. | |
1769 | ||
070270ea | 1770 | 2008-02-23 David Edelsohn <edelsohn@gnu.org> |
1771 | ||
1772 | * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Use STRICT_ALIGNMENT | |
1773 | instead of TARGET_STRICT_ALIGN. | |
1774 | ||
64ec1b61 | 1775 | 2008-02-23 Joseph Myers <joseph@codesourcery.com> |
1776 | ||
1777 | * explow.c (memory_address): Assert that the generated address is | |
1778 | valid. | |
1779 | ||
6aee6ac8 | 1780 | 2008-02-23 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
1781 | ||
1782 | PR target/25477 | |
1783 | * config/darwin-protos.h: Add darwin_patch_builtins prototype. | |
1784 | * config/darwin-ppc-ldouble-patch.def: New file. | |
1785 | * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): New macro. | |
1786 | * config/rs6000/rs6000.c (rs6000_init_builtins): Call | |
1787 | SUBTARGET_INIT_BUILTINS if defined. | |
620d0bf8 | 1788 | * config/darwin.c (darwin_patch_builtin, darwin_patch_builtins): |
1789 | New functions. | |
6aee6ac8 | 1790 | |
3d72a1b5 | 1791 | 2008-02-23 Andrew Pinski <andrew_pinski@playstation.sony.com> |
1792 | ||
1793 | PR rtl-opt/33512 | |
1794 | * simplify-rtx.c (simplify_binary_operation_1): Add simplification | |
1795 | of (and X (ior (not X) Y) and (and (ior (not X) Y) X). | |
1796 | ||
c12ee0c6 | 1797 | 2008-02-23 Andrew Pinski <andrew_pinski@playstation.sony.com> |
1798 | ||
1799 | PR pch/35027 | |
1800 | * c-pch.c (c_common_valid_pch): Make the "too short to be a PCH | |
1801 | file" warning condtional on -Winvalid-PCH. | |
1802 | ||
05b481df | 1803 | 2008-02-23 Daniel Jacobowitz <dan@codesourcery.com> |
1804 | ||
1805 | * expmed.c (extract_bit_field): Always use adjust_address for MEM. | |
1806 | ||
78624f54 | 1807 | 2008-02-23 Uros Bizjak <ubizjak@gmail.com> |
1808 | ||
1809 | PR target/22076 | |
1810 | PR target/34256 | |
1811 | * config/i386/mmx.md (*mov<mode>_internal_rex64): Use "!y" to | |
1812 | prevent reload from using MMX registers. | |
1813 | (*mov<mode>_internal): Ditto. | |
1814 | (*movv2sf_internal_rex64): Ditto. | |
1815 | (*movv2sf_internal): Ditto. | |
1816 | ||
ed3f349a | 1817 | 2008-02-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
1818 | ||
1819 | PR documentation/31569 | |
1820 | * doc/install.texi2html: Use makeinfo --no-number-sections. | |
1821 | ||
e720c3f0 | 1822 | 2008-02-22 Nathan Froyd <froydnj@codesourcery.com> |
1823 | ||
1824 | * config/rs6000/rs6000.c (rs6000_legitimize_address): Check to | |
1825 | ensure that we can address an entire entity > 8 bytes. Don't | |
1826 | generate reg+reg addressing for such data. | |
1827 | ||
dc3be372 | 1828 | 2008-02-22 Nathan Froyd <froydnj@codesourcery.com> |
1829 | ||
1830 | * config/rs6000/rs6000.h (CONSTANT_ALIGNMENT): Don't overalign | |
1831 | strings when optimizing for size, unless the target cares about | |
1832 | alignment. | |
1833 | ||
af3f5a19 | 1834 | 2008-02-22 Tom Tromey <tromey@redhat.com> |
1835 | ||
1836 | * regclass.c (current_pass): Remove declaration. | |
1837 | ||
9e926232 | 1838 | 2008-02-22 Anatoly Sokolov <aesok@post.ru> |
1839 | ||
1840 | * config/avr/libgcc.S (__RAMPZ__): Define. | |
1841 | (__do_copy_data): Add for devices with 128KB code memory. | |
1842 | ||
b9cd27b3 | 1843 | 2008-02-22 Nathan Froyd <froydnj@codesourcery.com> |
1844 | ||
1845 | * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): | |
1846 | Use spe_abi. | |
1847 | * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Likewise. | |
1848 | ||
e8cb528f | 1849 | 2008-02-22 Hans-Peter Nilsson <hp@axis.com> |
1850 | ||
1851 | * config/cris/cris.h (REG_CLASS_FROM_LETTER): Recognize 'b' for | |
1852 | GENNONACR_REGS. | |
1853 | ||
067d82a2 | 1854 | 2008-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
1855 | ||
1856 | PR c/19999 | |
1857 | * c-typeck.c (build_binary_op): Warn about floating point | |
1858 | comparisons if FLOAT_TYPE_P, not only for REAL_TYPE. | |
1859 | ||
f9c1a520 | 1860 | 2008-02-21 Janis Johnson <janis187@us.ibm.com> |
1861 | ||
1862 | PR target/34526 | |
1863 | * config/rs6000/rs6000.c (rs6000_altivec_abi): Clarify comment. | |
1864 | (rs6000_explicit_options): Split abi into spe_abi and altivec_abi, | |
1865 | add vrsave. | |
1866 | (rs6000_override_options): Set altivec_abi as default, not override, | |
1867 | for 64-bit GNU/Linux; for 32-bit GNU/Linux default to altivec_abi for | |
1868 | TARGET_ALTIVEC; default to TARGET_ALTIVEC_VRSAVE when AltiVec ABI | |
1869 | is used; use new member spe_abi. | |
1870 | (rs6000_handle_option): Set rs6000_explicit_options.vrsave; use | |
1871 | spe_abi and altivec_abi. | |
1872 | ||
c7dcbde4 | 1873 | 2008-02-22 Tomas Bily <tbily@suse.cz> |
1874 | ||
1875 | * tree-vectorizer.c (vect_is_simple_reduction): Fix comment typo. | |
1876 | ||
d45cdac2 | 1877 | 2008-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
1878 | ||
1879 | PR bootstrap/35273 | |
1880 | * config.build (build_file_translate): Set to `CMD //c' only if | |
1881 | it works. | |
1882 | * Makefile.in (build_file_translate): Improve comment. | |
1883 | ||
f3cb8b1d | 1884 | 2008-02-21 Jan Hubicka <jh@suse.cz> |
1885 | ||
1886 | * predict.def (PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL, | |
1887 | PRED_TREE_OPCODE_POSITIVE, PRED_TREE_OPCODE_NONEQUAL, PRED_CALL, | |
1888 | PRED_TREE_EARLY_RETURN, PRED_NULL_RETURN): Update. | |
1889 | ||
6ef19463 | 1890 | 2008-02-21 Michael Matz <matz@suse.de> |
1891 | ||
1892 | PR target/35264 | |
1893 | * config/i386/i386.c (ix86_expand_branch): Add missing breaks. | |
1894 | ||
3da2a73c | 1895 | 2008-02-21 Uros Bizjak <ubizjak@gmail.com> |
1896 | ||
1897 | * config/i386/i386.md (mov<mode>cc): Macroize expander from movsfcc, | |
1898 | movdfcc and movxfcc using X87MODEF mode iterator and SSE_FLOAT_MODE_P | |
1899 | as insn constraint. | |
1900 | * config/i386/sse.md (<sse>_movup<ssemodesuffixf2c>): Macroize insn | |
1901 | from sse_movups adn sse2_movupd using SSEMODEF2P mode iterator and | |
1902 | SSE_VEC_FLOAT_MODE_P as insn constraint. | |
1903 | (<sse>_movmskp<ssemodesuffixf2c>): Ditto from similar patterns. | |
1904 | (sse4a_movnt<mode>): Macroize insn from sse4a_movntsf and | |
1905 | sse4a_movntdf using MODEF mode iterator. | |
1906 | (sse4a_vmmovnt<mode>): Macroize insn form sse4a_vmmovntv2df and | |
1907 | sse4a_vmmovntv4sf using SSEMODEF2P mode iterator. | |
1908 | (sse4_1_blendp<ssemodesuffixf2c>): Ditto from similar patterns. | |
1909 | (sse4_1_blendvp<ssemodesuffixf2c>): Ditto. | |
1910 | (sse4_1_dpp<ssemodesuffixf2c>): Ditto. | |
1911 | (sse4_1_roundp<ssemodesuffixf2c>): Ditto. | |
1912 | (sse4_1_rounds<ssemodesuffixf2c>): Ditto. | |
1913 | ||
751ff693 | 1914 | 2008-02-21 Richard Guenther <rguenther@suse.de> |
1915 | ||
1916 | * tree.def (PAREN_EXPR): New tree code. | |
1917 | * fold-const.c (fold_unary): Remove PAREN_EXPR around constants | |
1918 | and PAREN_EXPR. | |
1919 | * tree-pretty-print.c (dump_generic_node): Handle PAREN_EXPR. | |
1920 | * expr.c (expand_expr_real_1): Likewise. | |
1921 | * tree-inline.c (estimate_num_insns_1): Likewise. | |
1922 | * tree-complex.c (expand_complex_move): Likewise. | |
1923 | * tree-vectorizer.c (vect_is_simple_use): Treat PAREN_EXPR (x) | |
1924 | as plain x. | |
1925 | ||
64c985e4 | 1926 | 2008-02-20 Kaz Kojima <kkojima@gcc.gnu.org> |
1927 | ||
1928 | PR target/35225 | |
1929 | * config/sh/sh.c (find_barrier): Don't go past 'from' argument. | |
1930 | ||
af122d60 | 1931 | 2008-02-20 Kaz Kojima <kkojima@gcc.gnu.org> |
1932 | ||
1933 | PR target/35190 | |
1934 | * config/sh/sh.md (jump_compact): Disable for crossing jumps. | |
1935 | ||
1936 | * config/sh/sh.c (find_barrier): Don't go past | |
1937 | NOTE_INSN_SWITCH_TEXT_SECTIONS note. | |
1938 | ||
610e569b | 1939 | 2008-02-20 DJ Delorie <dj@redhat.com> |
1940 | ||
1941 | * config/h8300/h8300.md (insv): Force source operand to be a register. | |
1942 | ||
1943 | * config/h8300/h8300.c (h8300_expand_epilogue): Emit return insn | |
1944 | as a jump, not as a plain insn. | |
1945 | ||
6fdade09 | 1946 | 2008-02-20 Seongbae Park <seongbae.park@gmail.com> |
1947 | ||
1948 | * doc/invoke.texi (Warning Options): Add new option | |
1949 | -Wframe-larger-than=. | |
1950 | (-Wframe-larger-than): Document. | |
1951 | ||
1952 | * flags.h (warn_frame_larger_than, frame_larger_than_size): | |
1953 | Add declarations for new option variables. | |
1954 | ||
1955 | * final.c (final_start_function): Check the frame size | |
1956 | before emission and issue a Wframe-larger-than warning. | |
1957 | ||
1958 | * opts.c (warn_frame_larger_than, frame_larger_than_size): | |
1959 | Add definitions for new option variables. | |
1960 | (common_handle_option): Handle new option OPT_Wframe_larger_than_. | |
1961 | ||
1962 | * common.opt (Wframe-larger-than=): New option. | |
1963 | ||
82cc8ae1 | 1964 | 2008-02-20 Uros Bizjak <ubizjak@gmail.com> |
1965 | ||
1966 | * config/i386/sse.md (<sse>_vmmul<mode>3): Fix typo in asm template. | |
1967 | (<sse>_div<mode>3): Ditto. | |
1968 | (<sse>_vmdiv<mode>3): Ditto. | |
1969 | (<sse>_vmsqrt<mode>2): Ditto. | |
1970 | (*smax<mode>3): Ditto. | |
1971 | (sse5_frcz<mode>2): Ditto. | |
1972 | (sse5_vmfrcz<mode>2): Ditto. Use TARGET_SSE5 instead of TARGET_ROUND | |
1973 | as insn constraint. | |
1974 | ||
c7f617c2 | 1975 | 2008-02-20 Richard Guenther <rguenther@suse.de> |
1976 | ||
1977 | PR middle-end/35265 | |
1978 | * builtins.c (validate_arg): If we want an INTEGER_TYPE, | |
1979 | be happy with INTEGRAL_TYPE_P. | |
1980 | ||
a145256a | 1981 | 2008-02-20 Richard Guenther <rguenther@suse.de> |
1982 | ||
1983 | * fold-const.c (split_tree): Associate floatig-point expressions | |
1984 | if flag_associative_math is set. | |
1985 | ||
46ef5347 | 1986 | 2008-02-20 Richard Guenther <rguenther@suse.de> |
1987 | ||
1988 | * tree.h (fold_real_zero_addition_p): Declare. | |
1989 | * fold-const.c (fold_real_zero_addition_p): Export. | |
1990 | * tree-ssa-reassoc.c (eliminate_using_constants): Also handle | |
1991 | floating-point operations with zero and one. | |
1992 | ||
c898f165 | 1993 | 2008-02-20 Paolo Bonzini <bonzini@gnu.org> |
1994 | ||
a55f1b4b | 1995 | * doc/install.texi: Correct references to CFLAGS, replacing them |
1996 | with BOOT_CFLAGS. Document flags used during bootstrap for | |
1997 | target libraries. | |
c898f165 | 1998 | |
2a466fea | 1999 | 2008-02-20 Uros Bizjak <ubizjak@gmail.com> |
2000 | ||
2001 | * config/i386/i386.h (SSE_VEC_FLOAT_MODE_P): New define. | |
2002 | * config/i386/i386.md (*sse_setcc<mode>): Macroize from *sse_setccsf | |
2003 | and *sse_setccdf using MODEF mode iterator and SSE_FLOAT_MODE_P as | |
2004 | insn constraint. | |
2005 | (smin<mode>3): Ditto from similar patterns. | |
2006 | (smax<mode>3): Ditto. | |
2007 | (*ieee_smin<mode>3): Ditto. | |
2008 | (*ieee_smax<mode>3): Ditto. | |
2009 | * config/i386/sse.md (sse): New mode attribute. | |
2010 | (mov<mode>): Macroize expander from movv4sf and movv2df using | |
2011 | SSEMODEF2P mode iterator. | |
2012 | (<sse>_movnt<mode>): Ditto from similar patterns. Use | |
2013 | SSE_VEC_FLOAT_MODE_P as insn constraint. | |
2014 | (storent<mode>): Ditto. | |
2015 | (storent<mode>): Macroize expander from storentsf and storentdf using | |
2016 | MODEF mode iterator. | |
2017 | (neg<mode>2): Macroize from negv4sf2 and negv2df2 using SSEMODEF2P | |
2018 | mode iterator and SSE_VEC_FLOAT_MODE_P as insn constraint. | |
2019 | (abs<mode>2): Ditto from similar patterns. | |
2020 | (add<mode>3, *add<mode>3, <sse>_vmadd<mode>3): Ditto. | |
2021 | (sub<mode>3, *sub<mode>3, <sse>_vmsub<mode>3): Ditto. | |
2022 | (<sse>_div<mode>3, <sse>_vmdiv<mode>3): Ditto. | |
2023 | (<sse>_vmsqrt<mode>2): Ditto. | |
2024 | (smin<mode>3, *smin<mode>3_finite, *smin<mode>3) | |
2025 | (<sse>_vmsmin<mode>3, *ieee_smin<mode>3): Ditto. | |
2026 | (smax<mode>3, *smax<mode>3_finite, *smax<mode>3) | |
2027 | (<sse>_vmsmax<mode>3, *ieee_smax<mode>3): Ditto. | |
2028 | (<sse>_maskcmp<mode>3): Macroize from sse_maskcmpv4sf3, | |
2029 | sse_maskcmpsf3, sse2_maskcmpv2df3 and sse2_maskcmpdf3 using SSEMODEF4 | |
2030 | mode iterator. Use SSE_FLOAT_MODE_P with SSE_VEC_FLOAT_MODE_P as | |
2031 | insn constraint. | |
2032 | (<sse>_comi): Macroize from sse_comi and sse2_comi using MODEF mode | |
2033 | iterator and SSE_FLOAT_MODE_P as insn constraint. | |
2034 | (<sse>_ucomi): Ditto from similar patterns. | |
2035 | (<sse>_vmmaskcmp<mode>3): Macroize from sse_vmmaskcmpv4sf3 and | |
2036 | sse2_vmmaskcmpv2df3 using SSEMODEF2P mode iterator and | |
2037 | SSE_VEC_FLOAT_MODE_P as insn constraint. | |
2038 | (vcond<mode>): Ditto from similar patterns. | |
2039 | (and<mode>3, *and<mode>3): Ditto. | |
2040 | (<sse>_nand<mode>3): Ditto. | |
2041 | (ior<mode>3, *ior<mode>3): Ditto. | |
2042 | (xor<mode>3, *xor<mode>3): Ditto. | |
2043 | (*and<mode>3): Macroize from *andsf3 and *anddf3 using MODEF mode | |
2044 | iterator and SSE_FLOAT_MODE_P as insn constraint. | |
2045 | (*nand<mode>3): Ditto from similar patterns. | |
2046 | (*ior<mode>3): Ditto. | |
2047 | (*xor<mode>3): Ditto. | |
2048 | ||
8c85798c | 2049 | 2008-02-20 Ira Rosen <irar@il.ibm.com> |
2050 | ||
2051 | * config/spu/spu.md (vec_unpacku_hi_v8hi, vec_unpacku_lo_v8hi, | |
2052 | vec_unpacks_hi_v8hi, vec_unpacks_lo_v8hi, vec_unpacku_hi_v16qi, | |
2053 | vec_unpacku_lo_v16qi, vec_unpacks_lo_v16qi): Implement. | |
2054 | ||
3ed4a4a1 | 2055 | 2008-02-19 Jan Hubicka <jh@suse.cz> |
2056 | ||
2d5652e4 | 2057 | * predict.c (tree_bb_level_predictions): Remove variable next |
2058 | mistakely introduced by previous commit. | |
3ed4a4a1 | 2059 | |
d704ea82 | 2060 | 2008-02-19 Jan Hubicka <jh@suse.cz> |
2061 | ||
2062 | * predict.c (predict_paths_leading_to): Rewrite. | |
2063 | (predict_paths_for_bb): New. | |
2064 | (tree_bb_level_predictions): Update call of predict_paths_leading_to. | |
2065 | ||
fbf9447e | 2066 | 2008-02-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2067 | ||
2068 | PR bootstrap/35218 | |
2069 | * Makefile.in (build_file_translate): New. | |
2070 | (gcc-vers.texi): Use it for translating $(abs_srcdir). | |
2071 | * config.build (build_file_translate): Set to `CMD //c' on MinGW. | |
2072 | * configure.ac (build_file_translate): Substitute it. | |
2073 | * configure: Regenerate. | |
2074 | ||
f82220c2 | 2075 | 2008-02-19 Jan Hubicka <jh@suse.cz> |
2076 | ||
2077 | PR rtl-optimization/34408 | |
d704ea82 | 2078 | * see.c (see_def_extension_not_merged): Copy subreg so we don't have |
2079 | invalid sharing. | |
f82220c2 | 2080 | |
d4c3b5cd | 2081 | 2008-02-19 Jan Hubicka <jh@suse.cz> |
2082 | ||
2083 | PR middle-end/28779 | |
d704ea82 | 2084 | * tree-inline.c (estimate_num_insns_1): Fix counting of cost of |
2085 | call_expr. | |
d4c3b5cd | 2086 | |
1158320c | 2087 | 2008-02-19 H.J. Lu <hongjiu.lu@intel.com> |
2088 | ||
2089 | PR Ada/35186 | |
2090 | * config/i386/i386-modes.def: Revert the last DI alignment | |
2091 | change until Ada people can look into it. | |
2092 | ||
d06cb02d | 2093 | 2008-02-19 Nick Clifton <nickc@redhat.com> |
2094 | ||
2095 | * opts.c (print_specific_help): Fix typo in --help text. | |
2096 | ||
beb96ec8 | 2097 | 2008-02-19 Jakub Jelinek <jakub@redhat.com> |
2098 | ||
2099 | PR target/35239 | |
2100 | * config/i386/cpuid.h (__cpuid, __get_cpuid_max): Use special | |
2101 | 32-bit inline asm without asm alternatives for host GCC < 3.0. | |
2102 | ||
971c637a | 2103 | 2008-02-19 Richard Guenther <rguenther@suse.de> |
2104 | ||
2105 | PR tree-optimization/34989 | |
2106 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Re-structure. | |
2107 | Allow propagation to INDIRECT_REF if we can simplify only. | |
2108 | ||
23ce1cf6 | 2109 | 2008-02-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
2110 | ||
2111 | * c-common.c (warn_for_collisions_1): Use appropriate option when | |
2112 | warning. | |
2113 | ||
86895a67 | 2114 | 2008-02-19 Nick Clifton <nickc@redhat.com> |
2115 | ||
2116 | PR other/31349 | |
2d5652e4 | 2117 | * opts.c (undocumented_msg): Leave blank unless checking is enabled. |
86895a67 | 2118 | (handle_options): Fix indentation. |
2119 | (print_filtered_help): If no language-specific options were | |
2120 | displayed tell the user how to list all the options supported by | |
2121 | the language's front-end. | |
2122 | (print_specific_help): Fix indentation and remove duplicate line. | |
2123 | (common_handle_option): Handle the -v option. | |
2124 | For --help enable the display of undocumented options if the -v | |
2125 | switch has been included on the command line. | |
2126 | For --help= check for overlaps in the arguments between the option | |
2127 | classes and the language names and issue a warning when they | |
2128 | cannot be disambiguated. | |
2129 | * c.opt (v): Pass on to the common option handler. | |
2130 | ||
34c7f568 | 2131 | 2008-02-19 Revital Eres <eres@il.ibm.com> |
2132 | ||
2133 | * modulo-sched.c (sms_schedule): Change dump message when | |
2134 | create_ddg function fails. | |
2135 | (try_scheduling_node_in_cycle): Rename row to cycle. | |
2136 | (print_partial_schedule): Rename CYCLE to ROW. | |
2137 | ||
90bd1b58 | 2138 | 2008-02-19 Christian Bruel <christian.bruel@st.com> |
2d5652e4 | 2139 | Zdenek Dvorak <ook@ucw.cz> |
2140 | ||
2141 | * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Check step alignment. | |
2142 | ||
bd416d70 | 2143 | 2008-02-19 Uros Bizjak <ubizjak@gmail.com> |
2144 | ||
2145 | PR target/33555 | |
2146 | * config/i386/i386.md (*x86_movsicc_0_m1_se): New insn pattern. | |
2147 | (*x86_movdicc_0_m1_se): Ditto. | |
2148 | ||
2a5abea1 | 2149 | 2008-02-19 Uros Bizjak <ubizjak@gmail.com> |
2150 | ||
2151 | * config/i386/sfp-machine.h (__gcc_CMPtype): New typedef. | |
2152 | (CMPtype): Define as __gcc_CMPtype. | |
2153 | * config/rs6000/sfp-machine.h (__gcc_CMPtype): New typedef. | |
2154 | (CMPtype): Define as __gcc_CMPtype. | |
2155 | ||
a7779e75 | 2156 | 2008-02-19 Hans-Peter Nilsson <hp@axis.com> |
2157 | ||
2158 | Support valgrind 3.3 for --enable-checking=valgrind. | |
2159 | * system.h: Consolidate ENABLE_VALGRIND_CHECKING-dependent defines | |
2160 | here. | |
2161 | [!VALGRIND_MAKE_MEM_NOACCESS]: Define as VALGRIND_MAKE_NOACCESS. | |
2162 | [!VALGRIND_MAKE_MEM_DEFINED]: Define as VALGRIND_MAKE_READABLE. | |
2163 | [!VALGRIND_MAKE_MEM_UNDEFINED]: Define as VALGRIND_MAKE_WRITABLE. | |
2164 | * ggc-common.c: Remove ENABLE_VALGRIND_CHECKING-dependent defines. | |
2165 | Replace use of VALGRIND_MAKE_READABLE, VALGRIND_MAKE_WRITABLE, and | |
2166 | VALGRIND_MAKE_NOACCESS with VALGRIND_MAKE_MEM_DEFINED, | |
2167 | VALGRIND_MAKE_MEM_UNDEFINED, and VALGRIND_MAKE_MEM_NOACCESS | |
2168 | respectively. | |
2169 | * ggc-zone.c: Similar. | |
2170 | * ggc-page.c: Similar. | |
2171 | ||
7addba43 | 2172 | 2008-02-19 Paul Brook <paul@codesourcery.com> |
2173 | ||
2174 | PR target/35071 | |
2175 | * config/arm/ieee754-df.S: Fix do_it typo. | |
2176 | * config/arm/ieee754-sf.S: Fix do_it typo. | |
2177 | ||
4e06f6f8 | 2178 | 2008-02-18 H.J. Lu <hongjiu.lu@intel.com> |
2179 | ||
2180 | PR target/35189 | |
2181 | * config/i386/i386.c (OPTION_MASK_ISA_MMX_SET): New. | |
2182 | (OPTION_MASK_ISA_3DNOW_SET): Likewise. | |
2183 | (OPTION_MASK_ISA_SSE_SET): Likewise. | |
2184 | (OPTION_MASK_ISA_SSE2_SET): Likewise. | |
2185 | (OPTION_MASK_ISA_SSE3_SET): Likewise. | |
2186 | (OPTION_MASK_ISA_SSSE3_SET): Likewise. | |
2187 | (OPTION_MASK_ISA_SSE4_1_SET): Likewise. | |
2188 | (OPTION_MASK_ISA_SSE4_2_SET): Likewise. | |
2189 | (OPTION_MASK_ISA_SSE4_SET): Likewise. | |
2190 | (OPTION_MASK_ISA_SSE4A_SET): Likewise. | |
2191 | (OPTION_MASK_ISA_SSE5_SET): Likewise. | |
2192 | (OPTION_MASK_ISA_3DNOW_A_UNSET): Likewise. | |
2193 | (OPTION_MASK_ISA_MMX_UNSET): Updated. | |
2194 | (OPTION_MASK_ISA_3DNOW_UNSET): Updated. | |
2195 | (OPTION_MASK_ISA_SSE_UNSET): Likewise. | |
2196 | (OPTION_MASK_ISA_SSE3_UNSET): Likewise. | |
2197 | (OPTION_MASK_ISA_SSSE3_UNSET): Likewise. | |
2198 | (OPTION_MASK_ISA_SSE4_1_UNSET): Likewise. | |
2199 | (OPTION_MASK_ISA_SSE4_2_UNSET): Likewise. | |
2200 | (OPTION_MASK_ISA_SSE4A_UNSET): Likewise. | |
2201 | (OPTION_MASK_ISA_SSE5_UNSET): Likewise. | |
2202 | (OPTION_MASK_ISA_SSE4): Removed. | |
2203 | (ix86_handle_option): Turn on bits in ix86_isa_flags and | |
2f6e3388 | 2204 | ix86_isa_flags_explicit with OPTION_MASK_ISA_XXX_SET for -mXXX. |
4e06f6f8 | 2205 | (override_options): Don't turn on implied SSE/MMX bits in |
2206 | ix86_isa_flags. | |
2207 | ||
dbbcdcd5 | 2208 | 2008-02-18 H.J. Lu <hongjiu.lu@intel.com> |
2209 | ||
2210 | * config/i386/i386-modes.def: Use 4 byte alignment on DI for | |
2211 | 32bit host. | |
2212 | ||
beebc64a | 2213 | 2008-02-18 Joey Ye <joey.ye@intel.com> |
2214 | ||
2215 | PR middle-end/34921 | |
2216 | * tree-nested.c (insert_field_into_struct): Set type alignment | |
2217 | to field alignment if the former is less than the latter. | |
2218 | ||
8d705311 | 2219 | 2008-02-18 Jakub Jelinek <jakub@redhat.com> |
2220 | ||
2221 | * BASE-VER: Set to 4.4.0. | |
2222 | ||
7a5a9c54 | 2223 | 2008-02-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2224 | ||
2225 | * doc/c-tree.texi: Use @dots{} and @enddots{} where appropriate. | |
2226 | * doc/cfg.texi: Likewise. | |
2227 | * doc/extend.texi: Likewise. | |
2228 | * doc/gty.texi: Likewise. | |
2229 | * doc/invoke.texi: Likewise. | |
2230 | * doc/loop.texi: Likewise. | |
2231 | * doc/md.texi: Likewise. | |
2232 | * doc/passes.texi: Likewise. | |
2233 | * doc/rtl.texi: Likewise. | |
2234 | * doc/sourcebuild.texi: Likewise. | |
2235 | * doc/tm.texi: Likewise. | |
2236 | * doc/tree-ssa.texi: Likewise. | |
2237 | ||
89cd38e0 | 2238 | 2008-02-17 Richard Guenther <rguenther@suse.de> |
2239 | ||
2240 | PR middle-end/35227 | |
2241 | * tree-complex.c (init_parameter_lattice_values): Handle parameters | |
2242 | without default definition. | |
2243 | ||
d149d356 | 2244 | 2008-02-17 Richard Guenther <rguenther@suse.de> |
2245 | ||
2246 | PR tree-optimization/35231 | |
2247 | * tree-vrp.c (register_edge_assert_for): Do not assume A == 0 | |
2248 | if A | B != 1. | |
2249 | ||
a3c40304 | 2250 | 2008-02-17 Uros Bizjak <ubizjak@gmail.com> |
2251 | ||
2252 | Revert: | |
2253 | ||
2254 | 2008-02-15 Uros Bizjak <ubizjak@gmail.com> | |
2255 | * config/i386/sfp-machine.h (CMPtype): Define as typedef using | |
2256 | libgcc_cmp_return mode. | |
2257 | ||
a2e4e045 | 2258 | 2008-02-16 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
2259 | ||
2260 | PR c/28368 | |
2261 | * doc/invoke.texi (-std): Clarify description of -std= and -ansi. | |
2262 | ||
8e2e6800 | 2263 | 2008-02-16 Ralf Corsepius <ralf.corsepius@rtems.org> |
2264 | ||
2265 | * config/m68k/t-rtems (M68K_MLIB_CPU): Add 5208, 5307, 5407, 5475 | |
2266 | multilibs. | |
2267 | ||
a81d4cba | 2268 | 2008-02-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2269 | ||
2270 | * doc/c-tree.texi: Use `@.' where appropriate. | |
2271 | * doc/extend.texi: Likewise. | |
2272 | * doc/install.texi: Likewise. | |
2273 | * doc/invoke.texi: Likewise. | |
2274 | * doc/loop.texi: Likewise. | |
2275 | * doc/makefile.texi: Likewise. | |
2276 | * doc/md.texi: Likewise. | |
2277 | * doc/passes.texi: Likewise. | |
2278 | * doc/standards.texi: Likewise. | |
2279 | * doc/tm.texi: Likewise. | |
2280 | ||
d74e6897 | 2281 | 2008-02-15 Jakub Jelinek <jakub@redhat.com> |
2282 | ||
2283 | PR middle-end/35196 | |
2284 | * omp-low.c (expand_omp_for_generic): Don't initialize fd->v | |
2285 | in entry_bb. | |
2286 | (expand_omp_for_static_nochunk): Initialize fd->v in seq_start_bb | |
2287 | rather than in entry_bb. | |
2288 | ||
c12b3bc6 | 2289 | 2008-02-15 Uros Bizjak <ubizjak@gmail.com> |
2290 | ||
2291 | * config/i386/sfp-machine.h (CMPtype): Define as typedef using | |
2292 | libgcc_cmp_return mode. | |
2293 | ||
a5268989 | 2294 | 2008-02-15 Jakub Jelinek <jakub@redhat.com> |
2295 | ||
2296 | PR middle-end/35130 | |
2297 | * tree-nested.c (convert_call_expr): Put FRAME.* vars into | |
2298 | OMP_CLAUSE_SHARED rather than OMP_CLAUSE_FIRSTPRIVATE clause. | |
2299 | ||
b75537fb | 2300 | 2008-02-15 Richard Guenther <rguenther@suse.de> |
c12b3bc6 | 2301 | Zdenek Dvorak <ook@ucw.cz> |
b75537fb | 2302 | |
2303 | PR tree-optimization/35164 | |
2304 | * tree-flow.h (stmt_references_abnormal_ssa_name): Declare. | |
2305 | * tree-dfa.c (stmt_references_abnormal_ssa_name): New function. | |
2306 | * tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_vars): | |
2307 | Only propagate addresses which do not have abnormal SSA_NAMEs | |
2308 | in their operands. | |
2309 | ||
86891459 | 2310 | 2008-02-15 Joseph Myers <joseph@codesourcery.com> |
2311 | ||
2312 | PR target/35088 | |
2313 | * config/m68k/m68k.h (DWARF_CIE_DATA_ALIGNMENT): Define. | |
2314 | ||
a4cb010f | 2315 | 2008-02-15 Jan Hubicka <jh@suse.cz> |
2316 | ||
2317 | PR middle-end/35149 | |
2318 | * ipa.c (cgraph_remove_unreachable_nodes): Clear local.inlinable flag. | |
2319 | ||
b3f75873 | 2320 | 2008-02-15 Uros Bizjak <ubizjak@gmail.com> |
2321 | ||
2322 | PR middle-end/34621 | |
2323 | * function.c (pad_to_arg_alignment): Remove test for STACK_BOUNDARY | |
2324 | when calculating alignment_pad. | |
2325 | ||
46de89e7 | 2326 | 2008-02-15 Uros Bizjak <ubizjak@gmail.com> |
2327 | ||
2328 | * config/i386/i386.h (CLEAR_RATIO): Use MIN macro. | |
2329 | (WIDEST_HARDWARE_FP_SIZE): Use LONG_DOUBLE_TYPE_SIZE define. | |
2330 | * config/i386/darwin.h (PREFERRED_STACK_BOUNDARY): Use MAX macro | |
2331 | and STACK_BOUNDARY define. | |
2332 | ||
b8989bc3 | 2333 | 2008-02-14 Danny Smith <dannysmith@users.sourceforge.net> |
2334 | ||
2335 | PR preprocessor/35061 | |
2336 | * c-pragma.c (handle_pragma_pop_macro): Check that | |
2337 | pushed_macro_table has been allocated. | |
2338 | ||
0e41e637 | 2339 | 2008-02-14 Eric Botcazou <ebotcazou@adacore.com> |
2340 | ||
2341 | PR middle-end/35136 | |
2342 | * gimplify.c (force_gimple_operand_bsi): Revert 2008-02-12 change. | |
2343 | (force_gimple_operand): Likewise. | |
2344 | * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Add new cases | |
2345 | for TARGET_MEM_REF and CONVERT_EXPR/NON_LVALUE_EXPR/NOP_EXPR. | |
2346 | Also recurse on the operand for regular VIEW_CONVERT_EXPRs. | |
2347 | (find_interesting_uses_address): Check addressability and alignment | |
2348 | of the base expression only after substituting bases of IVs into it. | |
2349 | ||
7e507322 | 2350 | 2008-02-14 Michael Matz <matz@suse.de> |
2351 | ||
2352 | PR target/34930 | |
2353 | * function.c (instantiate_virtual_regs_in_insn): Reload address | |
2354 | before falling back to reloading the whole operand. | |
2355 | ||
7338c728 | 2356 | 2008-02-14 Andreas Krebbel <krebbel1@de.ibm.com> |
2357 | ||
2358 | * config/s390/s390.c (s390_mainpool_start): Emit the pool | |
2359 | before the first section switch note. | |
2360 | ||
83d10720 | 2361 | 2008-02-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2362 | ||
49a55c95 | 2363 | * doc/bugreport.texi: Update copyright years. |
2364 | * doc/c-tree.texi: Likewise. | |
2365 | * doc/cfg.texi: Likewise. | |
2366 | * doc/cpp.texi: Likewise. | |
2367 | * doc/cppinternals.texi: Likewise. | |
2368 | * doc/fragments.texi: Likewise. | |
2369 | * doc/frontends.texi: Likewise. | |
2370 | * doc/gcc.texi: Likewise. | |
2371 | * doc/gty.texi: Likewise. | |
2372 | * doc/hostconfig.texi: Likewise. | |
2373 | * doc/implement-c.texi: Likewise. | |
2374 | * doc/libgcc.texi: Likewise. | |
2375 | * doc/loop.texi: Likewise. | |
2376 | * doc/makefile.texi: Likewise. | |
2377 | * doc/options.texi: Likewise. | |
2378 | * doc/passes.texi: Likewise. | |
2379 | * doc/rtl.texi: Likewise. | |
2380 | * doc/sourcebuild.texi: Likewise. | |
2381 | * doc/standards.texi: Likewise. | |
2382 | * doc/tree-ssa.texi: Likewise. | |
2383 | * doc/trouble.texi: Likewise. | |
2384 | ||
83d10720 | 2385 | * doc/extend.texi: Use @: or add comma where appropriate. |
2386 | * doc/invoke.texi: Likewise. | |
2387 | * doc/tm.texi: Likewise. | |
2388 | ||
2a4fe7b7 | 2389 | 2008-02-14 Alan Modra <amodra@bigpond.net.au> |
2390 | ||
2391 | PR target/34393 | |
2392 | * config/rs6000/rs6000.md (restore_stack_block): Force operands[1] | |
2393 | to a reg. | |
2394 | ||
4ebee9e4 | 2395 | 2008-02-14 Jesper Nilsson <jesper.nilsson@axis.com> |
2396 | ||
2397 | * doc/md.texi (clz, ctz): Add reference. | |
2398 | * doc/rtl.texi (clz, ctz): Likewise. | |
2399 | ||
a1a0674f | 2400 | 2008-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2401 | ||
2402 | PR other/35148 | |
2403 | * Makefile.in (gcc-vers.texi): Use abs_srcdir for the value of | |
2404 | srcdir. | |
2405 | ||
86428198 | 2406 | 2008-02-13 Andreas Krebbel <krebbel1@de.ibm.com> |
2407 | ||
2408 | * config/s390/s390.c (struct constant_pool): New field | |
2409 | emit_pool_after added. | |
2410 | (s390_mainpool_start): Set the emit_pool_after flag according | |
2411 | to the section switch notes. | |
2412 | (s390_mainpool_finish): Consider emit_pool_after when emitting | |
2413 | the literal pool at the end of the function. | |
2414 | (s390_chunkify_start): Force literal pool splits at section | |
2415 | switch notes. | |
2416 | ||
86079287 | 2417 | 2008-02-13 Michael Matz <matz@suse.de> |
2418 | ||
2419 | PR debug/35065 | |
2420 | * var-tracking.c (clobber_variable_part): Correctly traverse the | |
2421 | list. | |
2422 | ||
bfce1236 | 2423 | 2008-02-13 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
2424 | ||
2425 | PR 29673 | |
2426 | * doc/invoke.texi (Debugging Options): Remove -fdump-tree-inlined. | |
2427 | Add -fdump-ipa-inline. | |
2428 | * tree-dump.c (dump_files): Remove tree-inlined dump. | |
2429 | * tree-pass.h (tree_dump_index): Remove TDI_inlined. | |
2430 | ||
e3e3ee4b | 2431 | 2008-02-12 Richard Guenther <rguenther@suse.de> |
2432 | ||
2433 | PR tree-optimization/35171 | |
2434 | * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Deal with | |
2435 | default defs. | |
2436 | ||
d06ed0b1 | 2437 | 2008-02-12 Richard Guenther <rguenther@suse.de> |
2438 | ||
2439 | PR middle-end/35163 | |
2440 | * fold-const.c (fold_widened_comparison): Use get_unwidened in | |
2441 | value-preserving mode. Disallow final truncation. | |
2442 | ||
06b0fbf1 | 2443 | 2008-02-12 Eric Botcazou <ebotcazou@adacore.com> |
2444 | ||
2445 | PR middle-end/35136 | |
2446 | * gimplify.c (force_gimple_operand_bsi): Move SSA renaming | |
2447 | code from here to... | |
2448 | (force_gimple_operand): ...here. | |
2449 | ||
3f982e5a | 2450 | 2008-02-12 Jakub Jelinek <jakub@redhat.com> |
2451 | ||
194bd83c | 2452 | PR c++/35144 |
2453 | * tree-sra.c (sra_build_assignment): fold_convert SRC if copying | |
2454 | non-compatible pointers. | |
2455 | (generate_element_copy): If SRC and DST are RECORD_TYPEs with | |
2456 | different FIELD_DECLs, try harder by comparing field offsets, sizes | |
2457 | and types. | |
2458 | ||
3f982e5a | 2459 | PR inline-asm/35160 |
2460 | * function.c (match_asm_constraints_1): Don't replace the same input | |
2461 | multiple times. | |
2462 | ||
637dc5b6 | 2463 | 2008-02-12 Anatoly Sokolov <aesok@post.ru> |
2464 | ||
2465 | * config/avr/avr.h (AVR_HAVE_RAMPZ): Define. | |
2466 | * config/avr/avr.c (expand_prologue): Save RAMPZ register. | |
2467 | (expand_epilogue): Restore RAMPZ register. | |
2468 | * config/avr/avr.md (RAMPZ_ADDR): New constant. | |
2469 | ||
41992f82 | 2470 | 2008-02-11 Kai Tietz <kai.tietz@onevision.com> |
2471 | ||
6144731c | 2472 | * config/i386/cygwin.asm: (__alloca): Correct calling |
41992f82 | 2473 | convention and alignment. |
2474 | (__chkstk): Force 8 byte stack alignment. | |
2475 | ||
3de988b5 | 2476 | 2008-02-11 Uros Bizjak <ubizjak@gmail.com> |
efd43187 | 2477 | Richard Guenther <rguenther@suse.de> |
3de988b5 | 2478 | |
2479 | PR tree-optimization/33992 | |
2480 | * tree-ssa-loop-im.c (rewrite_bittest): Fixup the type of | |
2481 | the zero we compare against. | |
2482 | ||
6144731c | 2483 | 2008-02-10 Danny Smith <dannysmith@users.sourceforge.net> |
2484 | ||
2485 | PR libfortran/35063 | |
2486 | * gthr-win32.h (__gthread_mutex_destroy_function): New function | |
2487 | to CloseHandle after unlocking to prevent accumulation of handle | |
2488 | count. | |
2489 | ||
3e478718 | 2490 | 2008-02-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2491 | ||
2492 | PR middle_end/34150 | |
2493 | * pa.c (legitimize_pic_address): Add REG_EQUAL note on sets with a | |
2494 | pic_label_operand source. Similarly, add a REG_LABEL_OPERAND note | |
2495 | and update LABEL_NUSES during and after reload. | |
2496 | ||
76d5115a | 2497 | 2008-02-08 Steven Bosscher <stevenb.gcc@gmail.com> |
2498 | ||
2499 | PR middle-end/34627 | |
ae731b4f | 2500 | * combine.c (simplify_if_then_else): Make sure the comparison is |
76d5115a | 2501 | against const0_rtx when simplifying to (abs x) or (neg (abs X)). |
2502 | ||
e506f1d4 | 2503 | 2008-02-08 Richard Sandiford <rsandifo@nildram.co.uk> |
2504 | ||
2505 | PR bootstrap/35051 | |
2506 | * double-int.h: Don't include gmp.h for GENERATOR_FILEs. | |
2507 | (mpz_set_double_int, mpz_get_double_int): Hide from GENERATOR_FILEs. | |
2508 | * real.h: Don't include gmp.h or mpfr.h for GENERATOR_FILEs. | |
2509 | (real_from_mpfr, mpfr_from_real): Hide from GENERATOR_FILEs. | |
2510 | * tree.h (get_type_static_bounds): Likewise. | |
2511 | ||
bfbab40c | 2512 | 2008-02-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2513 | ||
2514 | * doc/invoke.texi (Option Summary, C++ Dialect Options) | |
2515 | (Objective-C and Objective-C++ Dialect Options, Warning Options): | |
2516 | Make -Wfoo language annotations match what the compiler outputs. | |
2517 | ||
c7386c28 | 2518 | 2008-02-08 Sa Liu <saliu@de.ibm.com> |
2519 | ||
2520 | * config/spu/spu-builtins.def: Fixed wrong parameter type in spu | |
2521 | intrinsics spu_convts, spu_convtu, spu_convtf. | |
2522 | * testsuite/gcc.target/spu/intrinsics-3.c: New. Test error messages. | |
2523 | ||
9bc2537d | 2524 | 2008-02-08 Hans-Peter Nilsson <hp@axis.com> |
2525 | ||
2526 | * doc/extend.texi (Function Attributes) <noinline>: Mention | |
2527 | asm ("") as method to keep calls. | |
2528 | ||
30b0f428 | 2529 | 2008-02-07 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
2530 | ||
2531 | PR other/32754 | |
2532 | * doc/options.texi (Options): Replace references to opts.sh with | |
2533 | optc-gen.awk. | |
2534 | * opts-common.c: Likewise. | |
2535 | * optc-gen.awk: Likewise. | |
2536 | ||
8364148d | 2537 | 2008-02-07 Andreas Krebbel <krebbel1@de.ibm.com> |
2538 | ||
2539 | * config/s390/s390.h (FUNCTION_ARG_REGNO_P): Fix fprs for 64 bit. | |
2540 | ||
2541 | 2008-02-07 Richard Henderson <rth@redhat.com> | |
e8e27646 | 2542 | |
2543 | PR rtl-opt/33410 | |
2544 | * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use an | |
2545 | EXPR_LIST for the REG_EQUAL instead of a comparison with a | |
2546 | funny mode. | |
2547 | ||
4251ed76 | 2548 | 2008-02-07 Uros Bizjak <ubizjak@gmail.com> |
2549 | ||
2550 | PR tree-optimization/35085 | |
2551 | * tree-ssa-reassoc.c (rewrite_expr_tree): Enable destructive update | |
2552 | for operand entry oe2 in addition to operand entry oe3 in order to | |
2553 | expose more opportunities for vectorizer sum reduction. | |
2554 | ||
6ca01c3b | 2555 | 2008-02-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2556 | ||
2557 | PR other/35107 | |
2558 | * Makefile.in (LIBS): Remove $(GMPLIBS). | |
2559 | (cc1-dummy, cc1): Add $(GMPLIBS). | |
2560 | ||
1dbb4355 | 2561 | 2008-02-06 Jan Hubicka <jh@suse.cz> |
2562 | ||
5f704018 | 2563 | PR target/23322 |
1dbb4355 | 2564 | * i386.md (moddf_integer): Do not produce partial memory stalls for |
2565 | targets where it hurts. | |
2566 | ||
4c8054f4 | 2567 | 2008-02-06 Uros Bizjak <ubizjak@gmail.com> |
2568 | ||
2569 | PR target/35083 | |
2570 | * optabs.c (expand_float): Do not check for decimal modes when | |
2571 | expanding unsigned integer through signed conversion. | |
2572 | ||
48f4cf85 | 2573 | 2008-02-06 Nick Clifton <nickc@redhat.com> |
2574 | ||
2575 | * config/stormy16/stormy16.md (eqbranchsi): Replace a match_dup | |
2576 | inside the clobber with a match_operand and duplicated operand | |
2577 | number in the constraint. | |
2578 | (ineqbranchsi): Delete redundant comment. | |
2579 | ||
3b7a17d9 | 2580 | 2008-02-06 Ralf Corsepius <ralf.corsepius@rtems.org> |
2581 | ||
f04beaef | 2582 | * config/arm/rtems-elf.h (TARGET_OS_CPP_BUILTINS): Add |
2583 | builtin_define ("__USE_INIT_FINI__"). | |
2584 | * config/h8300/t-rtems (MULTILIB_OPTION,MULTILIB_DIRNAMES): Add | |
2585 | -msx multilibs. | |
3b7a17d9 | 2586 | * gthr-rtems.h: Remove __GTHREAD_MUTEX_INIT. |
2587 | ||
b518f2ae | 2588 | 2008-02-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2589 | ||
2590 | PR documentation/30330 | |
2591 | * doc/invoke.texi (C++ Dialect Options) | |
2592 | (Objective-C and Objective-C++ Dialect Options, Warning Options): | |
2593 | For each warning option -Wfoo that allows -Wno-foo, ensure both | |
2594 | -Wfoo and -Wno-foo are listed in the option index. Fix index | |
2595 | entry of -Wswitch-default, index -Wnormalized= including the | |
2596 | `=', and -Wlarger-than-@var{len} including @var{len}. | |
2597 | ||
840638ec | 2598 | 2008-02-05 Uros Bizjak <ubizjak@gmail.com> |
2599 | ||
2600 | * config/i386/i386.md (floatunssisf2): Use | |
2601 | ix86_expand_convert_uns_sisf_sse also for TARGET_SSE. | |
2602 | (floatunssi<mode>2): Rename from floatunssisf2 and floatunssidf2. | |
2603 | Macroize expander using MODEF mode iterator. | |
2604 | ||
09885372 | 2605 | 2008-02-05 Diego Novillo <dnovillo@google.com> |
2606 | ||
2607 | http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00140.html | |
2608 | ||
2609 | PR 33738 | |
840638ec | 2610 | * tree-vrp.c (vrp_evaluate_conditional): Revert fix for PR 33738. |
09885372 | 2611 | |
ceb21d85 | 2612 | 2008-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2613 | ||
2614 | PR other/35070 | |
2615 | * toplev.c (print_version): Honor `indent' for GMP/MPFR warnings. | |
2616 | ||
df3ba0fe | 2617 | 2008-02-05 H.J. Lu <hongjiu.lu@intel.com> |
2618 | ||
2619 | PR target/35084 | |
2620 | * config/i386/i386.c (ix86_function_sseregparm): Add an arg | |
2621 | to indicate if a message should be generated. | |
2622 | (init_cumulative_args): Updated. | |
2623 | (function_value_32): Likewise. | |
2624 | ||
79f7a0b8 | 2625 | 2008-02-05 Joseph Myers <joseph@codesourcery.com> |
2626 | ||
2627 | * doc/include/texinfo.tex: Update to version 2008-02-04.16. | |
2628 | ||
470195a4 | 2629 | 2008-02-05 Uros Bizjak <ubizjak@gmail.com> |
2630 | ||
2631 | PR target/35083 | |
2632 | * config/i386/i386.md (floatunsisf2): Enable for TARGET_SSE_MATH only. | |
2633 | Call ix86_expand_convert_uns_sisf_sse for TARGET_SSE2. | |
2634 | ||
82ec0d8f | 2635 | 2008-02-04 Diego Novillo <dnovillo@google.com> |
2636 | ||
2637 | http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html | |
2638 | ||
2639 | PR 33738 | |
2640 | * tree-vrp.c (vrp_evaluate_conditional): With | |
2641 | -Wtype-limits, emit a warning when comparing against a | |
2642 | constant outside the natural range of OP0's type. | |
2643 | ||
bbf511cd | 2644 | 2008-02-04 Richard Guenther <rguenther@suse.de> |
2645 | ||
2646 | PR middle-end/33631 | |
2647 | * expr.c (count_type_elements): Give for unions instead of | |
2648 | guessing. | |
2649 | ||
5bad702f | 2650 | 2008-02-04 Richard Guenther <rguenther@suse.de> |
2651 | ||
2652 | PR middle-end/35043 | |
2653 | * gimplify.c (gimplify_init_ctor_eval): Convert array indices | |
2654 | to TYPE_DOMAINs base type instead of using bitsizetype here. | |
2655 | ||
930e8175 | 2656 | 2008-02-03 Jason Merrill <jason@redhat.com> |
2657 | ||
2658 | * print-tree.c (print_node) [CONSTRUCTOR]: Print elements. | |
2659 | ||
c55906eb | 2660 | 2008-02-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2661 | ||
2662 | PR other/29972 | |
2663 | * doc/invoke.texi (C++ Dialect Options, Optimize Options) | |
2664 | (HPPA Options, i386 and x86-64 Options, IA-64 Options) | |
2665 | (RS/6000 and PowerPC Options): Fix typos and markup. | |
2666 | * doc/passes.texi (Tree-SSA passes): Likewise. | |
2667 | ||
ce53880e | 2668 | 2008-02-02 Michael Matz <matz@suse.de> |
2669 | ||
2670 | PR target/35045 | |
2671 | * postreload-gcse.c (record_last_reg_set_info_regno): Renamed | |
2672 | from record_last_reg_set_info. | |
2673 | (record_last_reg_set_info): Take an RTX argument, iterate over all | |
2674 | constituent hardregs. | |
2675 | (record_last_set_info, record_opr_changes): Change calls to | |
2676 | new signature or to record_last_reg_set_info_regno. | |
2677 | ||
957fb083 | 2678 | 2008-02-02 Gerald Pfeifer <gerald@pfeifer.com> |
2679 | ||
2680 | * doc/extend.texi (X86 Built-in Functions): Fix grammar. | |
2681 | ||
dec9a6b8 | 2682 | 2008-02-01 Hans-Peter Nilsson <hp@axis.com> |
2683 | ||
2684 | PR rtl-optimization/34773 | |
2685 | * reg-notes.def (EQUAL): Mention significance of combination of | |
2686 | REG_EQUAL and REG_RETVAL. | |
2687 | * fwprop.c (try_fwprop_subst): Don't add REG_EQUAL to an | |
2688 | insn that has a REG_RETVAL. | |
2689 | ||
6ccd4361 | 2690 | 2008-02-01 Roger Sayle <roger@eyesopen.com> |
2691 | ||
2692 | PR bootstrap/33781 | |
2693 | * configure.ac (--enable-fixed-point): Disable unless explicitly | |
2694 | requested on IRIX. | |
2695 | * configure: Regenerate. | |
2696 | ||
39e88a5d | 2697 | 2008-02-01 Richard Guenther <rguenther@suse.de> |
2698 | ||
2699 | PR other/35042 | |
2700 | * invoke.texi (-finline-limit): Remove no longer true parts | |
2701 | of the documentation. Note that there is no default value. | |
2702 | ||
2f5beddc | 2703 | 2008-02-01 Andrew Pinski <pinskia@gmail.com> |
2704 | Mark Mitchell <mark@codesourcery.com> | |
2705 | Ben Elliston <bje@au.ibm.com> | |
2706 | ||
2707 | PR c/29326 | |
2708 | * doc/extend.texi (Other Builtins): Document. | |
2709 | ||
d40533b6 | 2710 | 2008-01-31 Tom Browder <tom.browder@gmail.com> |
2711 | ||
2712 | * doc/c-tree.texi (Types): Fix grammar. | |
2713 | (Expression trees): Ditto. | |
2714 | * doc/passes.texi (Tree-SSA passes): Ditto. | |
2715 | ||
2716 | * doc/configterms.texi (Configure Terms): Fix typo. | |
2717 | * doc/cpp.texi (Common Predefined Macros): Ditto. | |
2718 | * doc/md.texi (Machine Constraints): Ditto. | |
2719 | ||
2720 | * doc/makefile.texi (Makefile): Add comma. | |
2721 | ||
38cd7009 | 2722 | 2008-01-31 Tom Browder <tom.browder@gmail.com> |
2723 | Gerald Pfeifer <gerald@pfeifer.com> | |
2724 | ||
2725 | * doc/sourcebuild.texi (Front End): Remove references to CVS | |
2726 | and CVSROOT/modules. | |
2727 | (Texinfo Manuals): Replace reference to CVS by one to SVN. | |
2728 | (Back End): Remove reference to CVS. | |
2729 | ||
0d399d52 | 2730 | 2008-01-31 Richard Sandiford <rsandifo@nildram.co.uk> |
2731 | ||
2732 | PR target/34900 | |
2733 | * config/mips/mips.c (gen_load_const_gp): New function, taking a | |
2734 | comment from... | |
2735 | (mips16_gp_pseudo_reg): ...here. | |
2736 | * config/mips/mips.md (load_const_gp): Replace with... | |
2737 | (load_const_gp_<mode>): ...this :P-based insn. | |
2738 | ||
c75a5ac5 | 2739 | 2008-01-31 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
2740 | ||
2741 | * doc/invoke.texi (-ansi): Mention explicitly corresponding -std= | |
2742 | options. Minor fixes. | |
2743 | (-std): Move reference to standards closer to where language | |
2744 | standards are first mentioned. | |
2745 | ||
53716799 | 2746 | 2008-01-31 Richard Sandiford <rsandifo@nildram.co.uk> |
2747 | ||
2748 | PR rtl-optimization/34995 | |
2749 | * reload.c (alternative_allows_const_pool_ref): Take an rtx | |
2750 | parameter and return a bool. If the rtx parameter is nonnull, | |
2751 | check that it satisfies an EXTRA_MEMORY_CONSTRAINT. | |
2752 | (find_reloads): Update call accordingly. Pass the new operand | |
2753 | if it needed no address reloads, otherwise pass null. | |
2754 | ||
e14d689c | 2755 | 2008-01-30 Richard Henderson <rth@redhat.com> |
2756 | ||
2757 | PR c/34993 | |
2758 | * tree.c (build_type_attribute_qual_variant): Skip TYPE_DOMAIN | |
2759 | for unbounded arrays. | |
2760 | ||
9424a8b9 | 2761 | 2008-01-30 Silvius Rus <rus@google.com> |
2762 | ||
2763 | * config/i386/xmmintrin.h (_mm_prefetch): Add const to first arg. | |
2764 | ||
89beb200 | 2765 | 2008-01-30 Jan Hubicka <jh@suse.cz> |
2766 | ||
2767 | PR target/34982 | |
2768 | * i386.c (init_cumulative_args): Use real function declaration when | |
2769 | calling locally. | |
2770 | ||
9a9cbcd2 | 2771 | 2008-01-30 Richard Sandiford <rsandifo@nildram.co.uk> |
2772 | ||
2773 | PR rtl-optimization/34998 | |
2774 | * global.c (build_insn_chain): Treat non-subreg_lowpart | |
2775 | SUBREGs of pseudos as clobbering all the words covered by the | |
2776 | SUBREG, not just all the bytes. | |
2777 | * ra-conflict.c (clear_reg_in_live): Likewise. Take the | |
2778 | original df_ref rather than an extract parameter. | |
2779 | (global_conflicts): Update call accordingly. | |
2780 | ||
365b8932 | 2781 | 2008-01-30 Andreas Krebbel <krebbel1@de.ibm.com> |
2782 | ||
2783 | * config/s390/fixdfdi.h (__fixunstfdi, __fixtfdi): Rearrange | |
2784 | the overflow check to make it easier to read. | |
2785 | (__fixtfdi): Change the type of the ll member in union | |
2786 | long_double to UDItype_x. | |
2787 | ||
c55e2943 | 2788 | 2008-01-30 Jakub Jelinek <jakub@redhat.com> |
2789 | ||
117ef3d7 | 2790 | PR middle-end/34969 |
2791 | * cgraph.h (cgraph_update_edges_for_call_stmt): New prototype. | |
2792 | * cgraph.c (cgraph_update_edges_for_call_stmt): New function. | |
2793 | * tree-inline.c (fold_marked_statements): Call | |
2794 | cgraph_update_edges_for_call_stmt if folding a call statement. | |
2795 | * cgraphunit.c (verify_cgraph_node): Set cfun to this_cfun for | |
2796 | debug_generic_stmt calls, reset it back afterwards. | |
2797 | ||
c55e2943 | 2798 | PR c/35017 |
2799 | * c-decl.c (start_decl): Don't pedwarn about TREE_READONLY | |
2800 | static decls. | |
2801 | * c-typeck.c (build_external_ref): Don't pedwarn about | |
2802 | static vars in current function's scope. | |
2803 | ||
5bcb8578 | 2804 | 2008-01-29 Joseph Myers <joseph@codesourcery.com> |
2805 | ||
2806 | * config.gcc (i[34567]86-*-nto-qnx*): Remove deprecation. | |
2807 | ||
94023798 | 2808 | 2008-01-29 Bernhard Fischer <aldot@gcc.gnu.org> |
2809 | ||
2810 | PR c/35002 | |
2811 | * ipa-struct-reorg.c: Fix spelling. | |
2812 | * params.def: Ditto. | |
2813 | ||
ed6049c8 | 2814 | 2008-01-29 Richard Guenther <rguenther@suse.de> |
2815 | ||
2816 | PR middle-end/35006 | |
2817 | * tree-inline.h (struct copy_body_data): Add remapping_type_depth | |
2818 | field. | |
2819 | * tree-inline.c (remap_type): Increment remapping_type_depth | |
2820 | around remapping types. | |
2821 | (copy_body_r): Only add referenced variables if they are referenced | |
2822 | from code, not types. | |
2823 | ||
830a6615 | 2824 | 2008-01-29 Douglas Gregor <doug.gregor@gmail.com> |
2825 | ||
2826 | PR c++/34055 | |
2827 | PR c++/34103 | |
2828 | PR c++/34219 | |
2829 | PR c++/34606 | |
2830 | PR c++/34753 | |
2831 | PR c++/34754 | |
2832 | PR c++/34755 | |
2833 | PR c++/34919 | |
2834 | PR c++/34961 | |
2835 | * c-pretty-print.c (pp_c_type_qualifier_list): Don't try to print | |
2836 | qualifiers for an ERROR_MARK_NODE or a NULL_TREE. | |
2837 | ||
48bffadc | 2838 | 2008-01-28 Andy Hutchinson <hutchinsonandy@netscape.net> |
2839 | ||
2840 | PR target/34412 | |
2841 | * config/avr/avr.c (expand_prologue): Use correct QI mode frame | |
2842 | pointer for tiny stack. | |
2843 | ||
260cf6df | 2844 | 2008-01-28 Bernhard Fischer <aldot@gcc.gnu.org> |
2845 | ||
2846 | * doc/tree-ssa.texi: Add cindex PHI nodes and improve wording. | |
2847 | ||
345ff830 | 2848 | 2008-01-28 Bernhard Fischer <aldot@gcc.gnu.org> |
2849 | ||
2850 | * config/vx-common.h: Fix typo in comment. | |
2851 | ||
c5f257af | 2852 | 2008-01-28 Ian Lance Taylor <iant@google.com> |
2853 | ||
2854 | PR c++/34862 | |
2855 | PR c++/33407 | |
2856 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't | |
2857 | coalesce pointers if they have different DECL_NO_TBAA_P values. | |
2858 | * tree-ssa-copy.c (may_propagate_copy): Don't propagate copies | |
2859 | between variables with different DECL_NO_TBAA_P values. | |
2860 | ||
c64b5439 | 2861 | 2008-01-28 Nathan Froyd <froydnj@codesourcery.com> |
2862 | ||
2863 | PR 31535 | |
2864 | * config/rs6000/rs6000.c (small_data_operand): Vectors and floats | |
2865 | are not legitimate small data references on SPE targets. | |
2866 | ||
bcedfa23 | 2867 | 2008-01-28 David Daney <ddaney@avtrex.com> |
2868 | ||
2869 | * doc/install.texi (mips-*-*): Recommend binutils 2.18. | |
2870 | ||
fe30b803 | 2871 | 2008-01-28 David Daney <ddaney@avtrex.com> |
2872 | ||
2873 | * doc/install.texi (--disable-libgcj-bc): Reword documentation. | |
2874 | ||
453829c7 | 2875 | 2008-01-27 Joseph Myers <joseph@codesourcery.com> |
2876 | ||
2877 | * config.gcc (strongarm*-*, ep9312*-*, xscale*-*, parisc*-*, | |
2878 | m680[012]0-*, *-*-beos*, *-*-kaos*, *-*-linux*aout*, | |
2879 | *-*-linux*libc1*, *-*-solaris2.[0-6], *-*-solaris2.[0-6].*, | |
2880 | *-*-sysv*, *-*-windiss*, alpha*-*-unicosmk*, cris-*-aout, | |
2881 | hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*, | |
2882 | i[34567]86-sequent-ptx4*, i[34567]86-*-nto-qnx*, | |
2883 | i[34567]86-*-sco3.2v5*, i[34567]86-*-uwin*, powerpc-*-chorusos*, | |
2884 | vax-*-bsd*, vax-*-ultrix*): Mark obsolete. | |
2885 | ||
511934f9 | 2886 | 2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org> |
2887 | ||
2888 | * basic-block.h (condjump_equiv_p): Fix comment. | |
2889 | ||
ba810638 | 2890 | 2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org> |
2891 | ||
2892 | * tree-pretty-print.c (print_generic_decl, print_generic_stmt, | |
2893 | print_generic_stmt_indented): Fix comment. | |
2894 | ||
e214b635 | 2895 | 2008-01-27 Bernhard Fischer <aldot@gcc.gnu.org> |
2896 | ||
2897 | * configure.ac (__stack_chk_fail): Add detecion for availability | |
2898 | of SSP in uClibc by checking if __UCLIBC_HAS_SSP__ is defined. | |
2899 | * configure: Regenerate. | |
2900 | ||
b32b308d | 2901 | 2008-01-26 Maxim Kuvyrkov <maxim@codesourcery.com> |
2902 | ||
2903 | PR middle-end/34688 | |
2904 | * final.c (output_addr_const): Handle TRUNCATE. | |
2905 | ||
3c2818b0 | 2906 | 2008-01-26 Zdenek Dvorak <ook@ucw.cz> |
2907 | ||
2908 | PR target/34711 | |
2909 | * tree-ssa-loop-ivopts.c (comp_cost): New type. | |
2910 | (zero_cost, infinite_cost): New constants. | |
2911 | (struct cost_pair): Change type of cost to comp_cost. | |
2912 | (struct iv_ca): Change type of cand_use_cost and cost to comp_cost. | |
2913 | (new_cost, add_costs, sub_costs, compare_costs, infinite_cost_p): | |
2914 | New functions. | |
2915 | (set_use_iv_cost, force_expr_to_var_cost, force_var_cost, | |
2916 | split_address_cost, ptr_difference_cost, difference_cost, | |
2917 | get_computation_cost_at, get_computation_cost, | |
2918 | determine_use_iv_cost_generic, determine_use_iv_cost_address, | |
2919 | determine_use_iv_cost_condition, determine_use_iv_costs, | |
2920 | cheaper_cost_pair, iv_ca_recount_cost, iv_ca_set_no_cp, | |
2921 | iv_ca_set_cp, iv_ca_cost, iv_ca_new, iv_ca_dump, iv_ca_extend, | |
2922 | iv_ca_narrow, iv_ca_prune, try_improve_iv_set, find_optimal_iv_set): | |
2923 | Change type of cost to comp_cost. | |
2924 | (determine_iv_cost): Increase cost of non-original ivs, instead | |
2925 | of decreasing the cost of original ones. | |
2926 | (get_address_cost): Indicate the complexity of the addressing mode | |
2927 | in comp_cost. | |
2928 | (try_add_cand_for): Prefer using ivs not specific to some object. | |
2929 | * tree-flow.h (force_expr_to_var_cost): Declaration removed. | |
2930 | ||
b32b308d | 2931 | 2008-01-26 Peter Bergner <bergner@vnet.ibm.com> |
bc5e6ea1 | 2932 | Janis Johnson <janis187@us.ibm.com> |
2933 | ||
2934 | PR target/34814 | |
2935 | * doc/tm.texi (TARGET_EXPAND_TO_RTL_HOOK): Document. | |
2936 | (TARGET_INSTANTIATE_DECLS): Likewise. | |
2937 | * target.h (expand_to_rtl_hook): New target hook. | |
2938 | (instantiate_decls): Likewise. | |
2939 | * function.c (instantiate_decl): Make non-static. Rename to... | |
2940 | (instantiate_decl_rtl): ... this. | |
2941 | (instantiate_expr): Use instantiate_decl_rtl. | |
2942 | (instantiate_decls_1): Likewise. | |
2943 | (instantiate_decls): Likewise. | |
2944 | (instantiate_virtual_regs: Call new instantiate_decls taget hook. | |
2945 | * function.h (instantiate_decl_rtl): Add prototype. | |
2946 | * cfgexpand.c (target.h): New include. | |
2947 | (tree_expand_cfg): Call new expand_to_rtl_hook target hook. | |
2948 | * target-def.h (TARGET_EXPAND_TO_RTL_HOOK): New define. | |
2949 | (TARGET_INSTANTIATE_DECLS): Likewise. | |
2950 | (TARGET_INITIALIZER): New target hooks added. | |
2951 | * config/rs6000/rs6000-protos.h (rs6000_secondary_memory_needed_rtx): | |
2952 | New prototype. | |
2953 | * config/rs6000/rs6000.c (tree-flow.h): New include. | |
2954 | (machine_function): Add sdmode_stack_slot field. | |
2955 | (rs6000_alloc_sdmode_stack_slot): New function. | |
2956 | (rs6000_instantiate_decls): Likewise. | |
2957 | (rs6000_secondary_memory_needed_rtx): Likewise. | |
2958 | (rs6000_check_sdmode): Likewise. | |
2959 | (TARGET_EXPAND_TO_RTL_HOOK): Target macro defined. | |
2960 | (TARGET_INSTANTIATE_DECLS): Likewise. | |
2961 | (rs6000_hard_regno_mode_ok): Allow SDmode. | |
2962 | (num_insns_constant): Likewise. Handle _Decimal32 constants. | |
2963 | (rs6000_emit_move): Handle SDmode. | |
2964 | (function_arg_advance): Likewise. | |
2965 | (function_arg): Likewise. | |
2966 | (rs6000_gimplify_va_arg): Likewise. Add special handling of | |
2967 | SDmode var args for 32-bit compiles. | |
2968 | (rs6000_secondary_reload_class): Handle SDmode. | |
2969 | (rs6000_output_function_epilogue): Likewise. | |
2970 | (rs6000_function_value): Simplify if statement. | |
2971 | (rs6000_libcall_value): Likewise. | |
2972 | * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Handle SDmode. | |
2973 | (SECONDARY_MEMORY_NEEDED_RTX): Add define. | |
2974 | * config/rs6000/dfp.md (movsd): New define_expand and splitter. | |
2975 | (movsd_hardfloat): New define_insn. | |
2976 | (movsd_softfloat): Likewise. | |
2977 | (movsd_store): Likewise. | |
2978 | (movsd_load): Likewise. | |
2979 | (extendsddd2): Likewise. | |
2980 | (extendsdtd2): Likewise. | |
2981 | (truncddsd2): Likewise. | |
2982 | (movdd_hardfloat64): Fixup comment. | |
2983 | (UNSPEC_MOVSD_LOAD): New constant. | |
2984 | (UNSPEC_MOVSD_STORE): Likewise. | |
2985 | ||
37aea014 | 2986 | 2008-01-26 Jakub Jelinek <jakub@redhat.com> |
2987 | ||
2988 | PR c++/34965 | |
2989 | * c-pretty-print.c (pp_c_exclusive_or_expression): Handle | |
2990 | TRUTH_XOR_EXPR. | |
2991 | (pp_c_logical_and_expression): Handle TRUTH_AND_EXPR. | |
2992 | (pp_c_logical_or_expression): Handle TRUTH_OR_EXPR. | |
2993 | (pp_c_expression): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR | |
2994 | and TRUTH_XOR_EXPR. | |
2995 | ||
0cc77516 | 2996 | 2008-01-26 David Edelsohn <edelsohn@gnu.org> |
2997 | ||
2998 | PR target/34794 | |
2999 | * config.gcc: Separate AIX 5.3 from AIX 6.1. | |
3000 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define | |
3001 | __LONGDOUBLE128 too. | |
3002 | * config/rs6000/aix61.h: New file. | |
3003 | ||
e03d813f | 3004 | 2008-01-26 Richard Sandiford <rsandifo@nildram.co.uk> |
3005 | ||
3006 | PR rtl-optimization/34959 | |
3007 | * optabs.c (expand_unop): In libcall notes, give ffs, clz, ctz, | |
3008 | popcount and parity rtxes the same mode as their operand. | |
3009 | Truncate or extend the result to the return value's mode | |
3010 | if necessary. | |
3011 | ||
5eec32fe | 3012 | 2008-01-26 Richard Sandiford <rsandifo@nildram.co.uk> |
3013 | ||
3014 | PR target/34981 | |
3015 | * config/mips/mips-protos.h (mips_expand_call): Return an rtx. | |
3016 | * config/mips/mips.h (FIRST_PSEUDO_REGISTER): Rename FAKE_CALL_REGNO | |
3017 | to GOT_VERSION_REGNUM. | |
3018 | (CALL_REALLY_USED_REGISTERS): Set the GOT_VERSION_REGNUM entry to 0. | |
3019 | (EPILOGUE_USES): Include GOT_VERSION_REGNUM if TARGET_USE_GOT. | |
3020 | * config/mips/mips.c (mips_emit_call_insn): New function. | |
3021 | (mips_call_tls_get_addr): Call mips_expand_call directly. | |
3022 | (mips16_copy_fpr_return_value): Use mips_emit_call_insn rather than | |
3023 | emit_call_insn. | |
3024 | (mips16_build_call_stub): Likewise. Return the call insn or null. | |
3025 | (mips_expand_call): Update the call to mips16_build_call_stub | |
3026 | accordingly and a remove redundant condition. Assert that MIPS16 | |
3027 | stubs do not use lazy binding. Use mips_emit_call_insn and return | |
3028 | the call insn. | |
3029 | (mips_extra_live_on_entry): Include GOT_VERSION_REGNUM if | |
3030 | TARGET_USE_GOT. | |
3031 | (mips_hard_regno_mode_ok_p): Allow SImode for GOT_VERSION_REGNUM. | |
3032 | (mips_avoid_hazard): Remove hazard_set handling. | |
3033 | * config/mips/mips.md (UNSPEC_EH_RECEIVER): Rename to... | |
3034 | (UNSPEC_RESTORE_GP): ...this. | |
3035 | (UNSPEC_SET_GOT_VERSION, UNSPEC_UPDATE_GOT_VERSION): New constants. | |
3036 | (FAKE_CALL_REGNO): Rename to... | |
3037 | (GOT_VERSION_REGNUM): ...this. | |
3038 | (type): Add "ghost" value. Add an associated insn reservation. | |
3039 | (hazard_set): Remove. | |
3040 | (exception_receiver): Rename to... | |
3041 | (restore_gp): ...this and update the unspec identifier accordingly. | |
3042 | (exception_receiver, nonlocal_got_receiver): New expanders. | |
3043 | (load_call<mode>): Use GOT_VERSION_REGNUM. Don't set | |
3044 | FAKE_CALL_REGNO. Remove hazard_set attribute. | |
3045 | (set_got_version, update_got_version): New patterns. | |
3046 | ||
26b142a4 | 3047 | 2008-01-26 Danny Smith <dannysmith@users.sourceforge.net> |
3048 | ||
3049 | PR target/34970 | |
3050 | * config/i386/cygming.h (ASM_OUTPUT_LABELREF): Define. | |
3051 | ||
74a4b47f | 3052 | 2008-01-25 Joseph Myers <joseph@codesourcery.com> |
3053 | ||
3054 | PR other/31955 | |
3055 | * doc/install.texi2html: Generate gcc-vers.texi. | |
3056 | ||
2cc20bba | 3057 | 2008-01-25 DJ Delorie <dj@redhat.com> |
3058 | ||
3059 | * config/m32c/m32c.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. | |
3060 | ||
99c77e32 | 3061 | 2008-01-25 Joseph Myers <joseph@codesourcery.com> |
3062 | ||
3063 | * config/c4x: Remove directory. | |
3064 | * config.gcc (crx-*, mt-*): Mark obsolete. | |
3065 | (c4x-*, tic4x-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*, tic4x-*, | |
3066 | h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*, | |
3067 | sh-*-rtemscoff*): Remove cases. | |
3068 | * defaults.h (C4X_FLOAT_FORMAT): Remove. | |
3069 | * real.c (encode_c4x_single, decode_c4x_single, | |
3070 | encode_c4x_extended, decode_c4x_extended, c4x_single_format, | |
3071 | c4x_extended_format): Remove. | |
3072 | * real.h (c4x_single_format, c4x_extended_format): Remove. | |
3073 | * doc/extend.texi (interrupt, naked): Remove mention of attributes | |
3074 | on C4x. | |
3075 | (Pragmas): Remove comment about c4x pragmas. | |
3076 | * doc/install.texi (c4x): Remove target-specific instructions. | |
3077 | * doc/invoke.texi (TMS320C3x/C4x Options): Remove. | |
3078 | * doc/md.texi (Machine Constraints): Remove C4x documentation. | |
3079 | * doc/tm.texi (MEMBER_TYPE_FORCES_BLK, c_register_pragma): Do not | |
3080 | refer to C4x source files as examples. | |
3081 | (C4X_FLOAT_FORMAT): Remove documentation. | |
3082 | ||
ced0033c | 3083 | 2008-01-25 Bernd Schmidt <bernd.schmidt@analog.com> |
3084 | ||
3085 | * config/bfin/bfin.c (override_options): Reorder tests so that | |
3086 | flag_pic gets enabled for -msep-data. | |
3087 | ||
5c9c131f | 3088 | 2008-01-25 Richard Guenther <rguenther@suse.de> |
3089 | ||
3090 | PR middle-end/32244 | |
3091 | * expr.c (expand_expr_real_1): Reduce result of LSHIFT_EXPR | |
3092 | to its bitfield precision if required. | |
3093 | ||
b43fc0dc | 3094 | 2008-01-25 Jakub Jelinek <jakub@redhat.com> |
3095 | ||
3096 | PR middle-end/33880 | |
3097 | * tree-nested.c (walk_omp_for): New function. | |
3098 | (convert_nonlocal_reference, convert_local_reference): Call | |
3099 | walk_omp_for on OMP_FOR. | |
3100 | (convert_call_expr): Call walk_body on OMP_FOR's | |
3101 | OMP_FOR_PRE_INIT_BODY. | |
3102 | ||
8090c12d | 3103 | 2008-01-25 Richard Guenther <rguenther@suse.de> |
3104 | ||
3105 | PR tree-optimization/34966 | |
3106 | * tree-ssa-math-opts.c (execute_cse_sincos_1): For all but | |
3107 | default defs and PHI_NODEs we have to insert after the | |
3108 | defining statement. | |
3109 | ||
bcf954af | 3110 | 2008-01-24 Nick Clifton <nickc@redhat.com> |
3111 | ||
3112 | * config/stormy16/stormy16-lib2.c (MIN_UNITS_PER_WORD): | |
3113 | Provide a default definition. | |
3114 | (LIBGCC2_UNITS_PER_WORD): Likewise. | |
3115 | ||
3116 | * config/stormy16/stormy16.c: Include df.h for the prototype | |
3117 | for df_regs_ever_live_p. | |
3118 | (xstormy16_expand_builtin_va_start): Convert the stack offset | |
3119 | into a component_ref and then use POINTER_PLUS_EXPR to add it | |
3120 | to the incoming_virtual_args_rtx. | |
3121 | (xstormy16_gimplify_va_arg_expr): Rename to | |
3122 | xstormy16_gimplify_va_arg_expr. | |
3123 | Use POINTER_PLUS_EXPR when performing pointer arithmetic. | |
3124 | (TARGET_GIMPLIFY_VA_ARG_EXPR): Use renamed | |
3125 | xstormy16_gimplify_va_arg_expr. | |
3126 | Fix up some formatting issues. | |
3127 | ||
3128 | * config/stormy16/stormy16.c: (xstormy16_carry_plus_operand): | |
3129 | Move to predicates.md. | |
3130 | (xs_hi_general_operand): Likewise. | |
3131 | (xs_hi_nonmemory_operand): Likewise. | |
3132 | * config/stormy16/predicates.md: | |
3133 | (xstormy16_carry_plus_operand): New predicate. | |
3134 | (xs_hi_general_operand): New predicate. | |
3135 | (xs_hi_nonmemory_operand): New predicate. | |
3136 | * config/stormy16/stormy16-protos.h: | |
3137 | (xstormy16_carry_plus_operand): Delete prototype. | |
3138 | (xs_hi_general_operand): Likewise. | |
3139 | (xs_hi_nonmemory_operand): Likewise. | |
3140 | ||
3141 | * config/storm16/stormy16.md (addhi3): Remove earlyclobber | |
3142 | modifiers as they are no longer needed and they can trigger | |
3143 | reload spill failures. | |
3144 | ||
3145 | * config/storm16/stormy16.md (ineqbranchsi): Replace match_dup | |
3146 | with a match_operand in order to help reload. | |
3147 | ||
3148 | * config/storm16/stormy16.md (movhi_internal): Replace 'r' | |
3149 | constraint with 'e' for the 8th alternative as this version of | |
3150 | the mov.w instruction only accepts the lower 8 registers. | |
3151 | ||
72412d4b | 3152 | 2008-01-25 Uros Bizjak <ubizjak@gmail.com> |
3153 | ||
3154 | PR target/34856 | |
3155 | * simplifx-rtx.c (simplify_const_binary_operation) [VEC_CONCAT]: | |
3156 | Consider only CONST_INT, CONST_DOUBLE and CONST_FIXED as constant | |
3157 | vector elements. | |
3158 | ||
b22f2ff4 | 3159 | 2008-01-25 Jakub Jelinek <jakub@redhat.com> |
3160 | ||
3161 | PR middle-end/33333 | |
3162 | * gimplify.c (gimplify_omp_for): Gimplify OMP_FOR_PRE_BODY. | |
3163 | ||
009b0c6d | 3164 | 2008-01-25 Golovanevsky Olga <olga@il.ibm.com> |
3165 | ||
3166 | * ipa-struct-reorg.c (remove_str_allocs_in_func, remove_str_allocs): | |
3167 | New functions. | |
3168 | (remove_structure): Update allocations list before removing structure. | |
3169 | ||
864a494e | 3170 | 2008-01-25 Golovanevsky Olga <olga@il.ibm.com> |
3171 | ||
3172 | * ipa-struct-reorg.c (is_safe_cond_expr, | |
3173 | create_new_stmts_for_cond_expr): Use integer_zerop function, | |
3174 | that recognize not only zero-pointer, but zero-integer too. | |
3175 | ||
98bdcbcf | 3176 | 2008-01-25 Ben Elliston <bje@au.ibm.com> |
3177 | ||
3178 | PR other/22232 | |
3179 | * fixproto: Escape "." in sed expression that strips leading "./". | |
3180 | ||
79d52444 | 3181 | 2008-01-24 H.J. Lu <hongjiu.lu@intel.com> |
3182 | ||
3183 | PR driver/34904 | |
3184 | * gcc.c (SWITCH_OK): Removed. | |
3185 | (SWITCH_LIVE): Changed to bit. | |
3186 | (SWITCH_FALSE): Likewise. | |
3187 | (SWITCH_IGNORE): Likewise. | |
3188 | (switchstr): Change live_cond to unsigned int. | |
3189 | (process_command): Replace SWITCH_OK with 0. | |
3190 | (do_self_spec): Likewise. | |
3191 | (set_collect_gcc_options): Check the SWITCH_IGNORE bit. | |
3192 | (give_switch): Likewise. | |
3193 | (used_arg): Likewise. | |
3194 | (do_spec_1): Set the SWITCH_IGNORE bit. | |
3195 | (check_live_switch): Check both SWITCH_LIVE and SWITCH_FALSE | |
3196 | bits. Set the SWITCH_LIVE bit. | |
3197 | ||
6cb659b1 | 3198 | 2008-01-24 Andreas Krebbel <krebbel1@de.ibm.com> |
3199 | ||
3200 | * config/s390/s390.h (MOVE_RATIO): Define new target macro. | |
3201 | ||
66bc4f2f | 3202 | 2008-01-24 Richard Sandiford <rsandifo@nildram.co.uk> |
3203 | ||
3204 | PR tree-optimization/34472 | |
3205 | * ipa-struct-reorg.c (safe_cond_expr_check): Change the DATA | |
3206 | parameter to a "bool *" and set *DATA to false if there is | |
3207 | an unsafe access. Do not delete the structure here. | |
3208 | (check_cond_exprs): Delete it here instead. | |
3209 | (check_cond_exprs, exclude_cold_structs): Do not increase | |
3210 | I when removing a structure. | |
3211 | ||
098e8492 | 3212 | 2008-01-24 Uros Bizjak <ubizjak@gmail.com> |
3213 | ||
3214 | PR target/34856 | |
3215 | * config/i386/i386.c (ix86_expand_vector_init): Consider only | |
3216 | CONST_INT, CONST_DOUBLE and CONST_FIXED as constant vector elements. | |
3217 | ||
4b53147e | 3218 | 2008-01-24 Jakub Jakub Jelinek <jakub@redhat.com> |
3219 | ||
3220 | PR middle-end/34934 | |
3221 | * tree-stdarg.c (reachable_at_most_once): Use VEC vector instead of | |
3222 | a fixed vector for stack. | |
3223 | ||
0af13ed4 | 3224 | 2008-01-24 Ben Elliston <bje@au.ibm.com> |
3225 | ||
3226 | PR c++/25701 | |
3227 | * doc/gcc.texi (Software development): Add a direntry for g++. | |
3228 | ||
631d7bf1 | 3229 | 2008-01-23 Hans-Peter Nilsson <hp@axis.com> |
3230 | ||
248c1389 | 3231 | * config/cris/cris.h (CC1PLUS_SPEC, OPTIMIZATION_OPTIONS): Drop |
3232 | stale and straggling -fforce-addr comments above. | |
3233 | ||
631d7bf1 | 3234 | * config/cris/cris.h (CRIS_SUBTARGET_VERSION, TARGET_VERSION): Don't |
3235 | define. | |
3236 | * config/cris/linux.h (CRIS_SUBTARGET_VERSION): Don't define. | |
3237 | * config/cris/aout.h (CRIS_SUBTARGET_VERSION): Don't define. | |
3238 | ||
f4aea3f4 | 3239 | 2008-01-23 Michael Matz <matz@suse.de> |
3240 | ||
3241 | PR debug/34895 | |
3242 | * dwarf2out.c (force_type_die): Use modified_type_die instead of | |
3243 | gen_type_die. | |
3244 | ||
c7108d79 | 3245 | 2008-01-23 Andreas Krebbel <krebbel1@de.ibm.com> |
3246 | ||
3247 | * ipa-struct-reorg.c (create_new_malloc): Use pointer type as | |
3248 | malloc result type. | |
3249 | ||
b1eb5c83 | 3250 | 2008-01-23 Anatoly Sokolov <aesok@post.ru> |
3251 | ||
3252 | * config/avr/avr.c (avr_current_arch): New variable. | |
3253 | (avr_arch_types): Add 'avr31' and 'avr51' entries. | |
3254 | (avr_arch): Add 'ARCH_AVR31' and 'ARCH_AVR51'. | |
3255 | (avr_mcu_types): Add 'avr31' and 'avr51' architectures. | |
3256 | (avr_override_options): Init 'avr_current_arch'. | |
3257 | (base_arch_s): Move from here... | |
3258 | * config/avr/avr.h (base_arch_s): ... here. Add new members | |
3259 | 'have_elpm', 'have_elpmx', 'have_eijmp_eicall', 'reserved'. Rename | |
3260 | 'mega' to 'have_jmp_call'. | |
3261 | (TARGET_CPU_CPP_BUILTINS): Define "__AVR_HAVE_JMP_CALL__", | |
3262 | "__AVR_HAVE_RAMPZ__", "__AVR_HAVE_ELPM__" and "__AVR_HAVE_ELPMX__" | |
3263 | macros. | |
3264 | (LINK_SPEC, CRT_BINUTILS_SPECS, ASM_SPEC): Add 'avr31' and 'avr51' | |
3265 | architectures. | |
3266 | * config/avr/t-avr (MULTILIB_OPTIONS, MULTILIB_DIRNAMES, | |
3267 | MULTILIB_MATCHES): (Ditto.). | |
3268 | ||
46beef9a | 3269 | 2008-01-23 Richard Guenther <rguenther@suse.de> |
3270 | ||
3271 | PR middle-end/31529 | |
3272 | * cgraphunit.c (cgraph_reset_node): Always mark the node | |
3273 | not reachable if it is not queued already. | |
3274 | ||
f5c2bcb7 | 3275 | 2008-01-23 Bernd Schmidt <bernd.schmidt@analog.com> |
3276 | ||
3277 | * config/bfin/bfin-protos.h (WA_RETS, ENABLE_WA_RETS): New macros. | |
3278 | * config/bfin/bfin.c (bfin_cpus): Add WA_RETS everywhere. | |
3279 | (cputype_selected): New static variable. | |
3280 | (bfin_handle_option): Set it if -mcpu is used. | |
3281 | (override_option): Select default set of workarounds if no cpu type | |
3282 | selected on the command line. | |
3283 | (workaround_rts_anomaly): Only run if ENABLE_WA_RETS. | |
27bedcb4 | 3284 | |
3285 | From Michael Frysinger <michael.frysinger@analog.com> | |
3286 | * config/bfin/bfin-protos.h (enum bfin_cpu_type): Add | |
3287 | BFIN_CPU_BF547, BFIN_CPU_BF523, BFIN_CPU_BF524, and BFIN_CPU_BF526. | |
3288 | ||
3289 | * config/bfin/elf.h (LIB_SPEC): Use proper linker script | |
3290 | for bf547, bf523, bf524, and bf526. | |
3291 | * config/bfin/bfin.c (bfin_cpus[]): Add bf547, bf523, bf524, and | |
3292 | bf526. | |
3293 | * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define | |
3294 | __ADSPBF523__ for bf523, __ADSPBF524__ for bf524, | |
3295 | __ADSPBF526__ for bf526, __ADSPBF52x__ for all three, as well as | |
3296 | __ADSPBF547__ and __ADSPBF54x__ for bf547. | |
3297 | * doc/invoke.texi (Blackfin Options): Document that | |
3298 | -mcpu now accept bf547, bf523, bf524, and bf526. | |
3299 | ||
3888eedd | 3300 | 2008-01-22 Eric Botcazou <ebotcazou@adacore.com> |
3301 | ||
3302 | PR rtl-optimization/34628 | |
3303 | * combine.c (try_combine): Stop and undo after the first combination | |
3304 | if an autoincrement side-effect on the first insn has effectively | |
3305 | been lost. | |
3306 | ||
e74b57b1 | 3307 | 2008-01-22 David Edelsohn <edelsohn@gnu.org> |
3308 | ||
3309 | PR target/34529 | |
3310 | * config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p): | |
3311 | Offset addresses are not valid for Altivec or paired float modes. | |
3312 | ||
06faa2fe | 3313 | 2008-01-22 Jakub Jelinek <jakub@redhat.com> |
3314 | ||
bb436d4e | 3315 | PR c++/34607 |
3316 | * c-parser.c (c_parser_omp_for_loop): Don't call c_finish_omp_for | |
3317 | if DECL_INITIAL (decl) is error_mark_node. | |
3318 | ||
2cb0e5d9 | 3319 | PR c++/34914 |
3320 | * c-common.c (handle_vector_size_attribute): Only allow | |
3321 | integral, scalar float and fixed point types. Handle OFFSET_TYPE | |
3322 | the same way as pointer, array etc. types. | |
3323 | * tree.c (reconstruct_complex_type): Handle OFFSET_TYPE. | |
3324 | ||
06faa2fe | 3325 | PR c++/34917 |
3326 | * tree.c (build_type_attribute_qual_variant): Call | |
3327 | build_qualified_type if attributes are equal, but quals are not. | |
3328 | ||
a54ab330 | 3329 | 2008-01-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
3330 | ||
3331 | PR 32102 | |
3332 | * doc/invoke.texi (-Wall): -Wall enables -Wstrict-overflow=1. | |
3333 | * flags.h (warn_strict_aliasing): Remove. | |
3334 | (warn_strict_overflow): Remove. | |
3335 | * opts.c (warn_strict_aliasing): Remove. | |
3336 | (warn_strict_overflow): Remove. | |
3337 | * c-opts.c (c_common_handle_option): -Wall only sets | |
3338 | -Wstrict-aliasing or -Wstrict-overflow if they are uninitialized. | |
3339 | (c_common_post_options): Give default values to -Wstrict-aliasing | |
3340 | and -Wstrict-overflow if they are uninitialized. | |
3341 | * common.opt (Wstrict-aliasing): Specify Var and Init. | |
3342 | (Wstrict-overflow): Likewise. | |
3343 | ||
f437e46d | 3344 | 2008-01-22 Kenneth Zadeck <zadeck@naturalbridge.com> |
3345 | ||
3346 | PR rtl-optimization/26854 | |
3347 | PR rtl-optimization/34400 | |
3348 | PR rtl-optimization/34884 | |
3349 | * ddg.c (create_ddg_dep_from_intra_loop_link): Use | |
3350 | DF_RD->gen. | |
3351 | * df.h (df_changeable_flags.DF_RD_NO_TRIM): Deleted | |
3352 | (df_rd_bb_info.expanded_lr_out): Deleted | |
3353 | * loop_invariant.c (find_defs): Deleted DF_RD_NO_TRIM flag. | |
3354 | * loop_iv.c (iv_analysis_loop_init): Ditto. * df-problems.c | |
3355 | (df_rd_free_bb_info, df_rd_alloc, df_rd_confluence_n, | |
3356 | df_rd_bb_local_compute, df_rd_transfer_function, df_rd_free): | |
3357 | Removed code to allocate, initialize or free expanded_lr_out. | |
3358 | (df_rd_bb_local_compute_process_def): Restructured to make more | |
3359 | understandable. | |
3360 | (df_rd_confluence_n): Removed code to no apply invalidate_by_call | |
3361 | sets if the sets are being trimmed. | |
3362 | ||
c7871c82 | 3363 | 2008-01-22 H.J. Lu <hongjiu.lu@intel.com> |
3364 | ||
3365 | PR bootstrap/32287 | |
3366 | * configure.ac (ld_vers): Support GNU linker version xx.xx.* | |
3367 | (as_vers): Likewise. | |
3368 | * configure: Regenerated. | |
3369 | ||
df3f0669 | 3370 | 2008-01-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
3371 | ||
3372 | PR middle-end/33092 | |
3373 | * tree-pass.h (pass_build_alias): New pass. | |
3374 | * tree-ssa-alias.c (gate_build_alias): New. | |
3375 | (pass_build_alias): New. | |
3376 | * passes.c (init_optimization_passes): Add pass_build_alias after | |
3377 | pass_create_structure_vars. | |
3378 | ||
d1191819 | 3379 | 2008-01-22 Wolfgang Gellerich <gellerich@de.ibm.com> |
3380 | ||
3381 | * config/s390/s390.h (S390_TDC_POSITIVE_NORMALIZED_NUMBER): | |
3382 | Renamed to S390_TDC_POSITIVE_NORMALIZED_BFP_NUMBER. | |
3383 | (S390_TDC_NEGATIVE_NORMALIZED_NUMBER): Renamed to | |
3384 | S390_TDC_NEGATIVE_NORMALIZED_BFP_NUMBER. | |
3385 | (S390_TDC_POSITIVE_DENORMALIZED_NUMBER): Renamed to | |
3386 | S390_TDC_POSITIVE_DENORMALIZED_BFP_NUMBER. | |
3387 | (S390_TDC_NEGATIVE_DENORMALIZED_NUMBER): Renamed to | |
3388 | S390_TDC_NEGATIVE_DENORMALIZED_BFP_NUMBER. | |
3389 | (S390_TDC_POSITIVE_NORMALIZED_BFP_NUMBER): New constant. | |
3390 | (S390_TDC_NEGATIVE_NORMALIZED_BFP_NUMBER): New constant. | |
3391 | (S390_TDC_POSITIVE_DENORMALIZED_BFP_NUMBER): New constant. | |
3392 | (S390_TDC_NEGATIVE_DENORMALIZED_BFP_NUMBER): New constant. | |
3393 | * config/s390/s390.md (FP_ALL): New mode iterator. | |
3394 | (_d): New mode attribute. | |
3395 | ("*signbit<mode>2>"): Changed mode of first operand. | |
3396 | ("isinf<mode>2"): Changed mode of first operand. | |
3397 | ("*TDC_insn"): Adaptation for DFP modes. | |
3398 | ||
f47ba5b1 | 3399 | 2008-01-22 Ben Elliston <bje@au.ibm.com> |
3400 | ||
3401 | * tree.c (check_qualified_type): Improve function description. | |
3402 | ||
0bc060a4 | 3403 | 2008-01-21 Jason Merrill <jason@redhat.com> |
3404 | ||
3405 | PR c++/34196 | |
3406 | * tree.h (TRY_CATCH_IS_CLEANUP): New macro. | |
3407 | * tree-eh.c (honor_protect_cleanup_actions): Strip TRY_CATCH_EXPR | |
3408 | if it is set. | |
3409 | ||
1c64e82e | 3410 | 2008-01-21 DJ Delorie <dj@redhat.com> |
3411 | ||
3412 | * doc/tm.texi (HARD_REGNO_NREGS): Note that this macro must not | |
3413 | return zero. | |
3414 | ||
2a2aef73 | 3415 | 2008-01-21 Richard Guenther <rguenther@suse.de> |
3416 | ||
3417 | PR middle-end/34856 | |
3418 | * tree-cfg.c (verify_expr): Allow all invariant expressions | |
3419 | instead of just constant class ones as reference argument. | |
3420 | * tree-ssa-loop-im.c (for_each_index): Handle CONSTRUCTOR | |
3421 | like any other constant. | |
3422 | * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Likewise. | |
3423 | ||
d8d756b9 | 3424 | 2008-01-21 H.J. Lu <hongjiu.lu@intel.com> |
3425 | ||
3426 | * regmove.c (fixup_match_1): Update call crossed frequencies. | |
3427 | ||
62437c86 | 3428 | 2008-01-21 Richard Guenther <rguenther@suse.de> |
3429 | ||
3430 | PR c/34885 | |
3431 | * tree-inline.c (setup_one_parameter): Deal with mismatched | |
3432 | types using a VIEW_CONVERT_EXPR. | |
3433 | ||
f25ba2cf | 3434 | 2008-01-21 Alon Dayan <alond@il.ibm.com> |
3435 | Olga Golovanevsky <olga@il.ibm.com> | |
3436 | ||
3437 | PR tree-optimization/34701 | |
3438 | * ipa-struct-reorg.c (gen_size): Fix the malloc parameter calculation | |
3439 | when the structure size is not a power of 2. | |
3440 | ||
dbc72697 | 3441 | 2008-01-20 Kenneth Zadeck <zadeck@naturalbridge.com> |
3442 | ||
3443 | * doc/install.texi: Add doc for --enable-checking=df. | |
3444 | ||
c556495e | 3445 | 2008-01-20 Kaz Kojima <kkojima@gcc.gnu.org> |
3446 | ||
3447 | PR rtl-optimization/34808 | |
3448 | * emit-rtl.c (try_split): Handle REG_RETVAL notes. | |
3449 | ||
d8f69cf6 | 3450 | 2008-01-20 Richard Sandiford <rsandifo@nildram.co.uk> |
3451 | ||
3452 | * global.c (find_reg): Only compute EH_RETURN_DATA_REGNO once per | |
3453 | input. | |
3454 | ||
2e49e3bc | 3455 | 2008-01-19 Kenneth Zadeck <zadeck@naturalbridge.com> |
3456 | ||
3457 | PR rtl-optimization/26854 | |
3458 | PR rtl-optimization/34400 | |
3459 | * ddg.c (create_ddg_dep_from_intra_loop_link): Do not use | |
3460 | DF_RD->gen. | |
3461 | * df.h (df_changeable_flags.DF_RD_NO_TRIM): New. | |
3462 | (df_rd_bb_info.expanded_lr_out): New. | |
3463 | * loop_invariant.c (find_defs): Added DF_RD_NO_TRIM flag. | |
3464 | * loop_iv.c (iv_analysis_loop_init): Ditto. | |
3465 | * df-problems.c (df_rd_free_bb_info, df_rd_alloc, df_rd_confluence_n, | |
3466 | df_rd_bb_local_compute, df_rd_transfer_function, df_rd_free): | |
3467 | Added code to allocate, initialize or free expanded_lr_out. | |
3468 | (df_rd_bb_local_compute_process_def): Restructured to make | |
3469 | more understandable. | |
3470 | (df_rd_confluence_n): Add code to do nothing with fake edges and | |
3471 | code to no apply invalidate_by_call sets if the sets are being trimmed. | |
3472 | (df_lr_local_finalize): Renamed to df_lr_finalize. | |
3473 | (df_live_local_finalize): Renamed to df_live_finalize. | |
3474 | ||
d2f3e075 | 3475 | 2008-01-20 Richard Sandiford <rsandifo@nildram.co.uk> |
3476 | ||
3477 | PR target/34831 | |
3478 | * config/mips/mips.md (div<mode>3): Use <recip_condition> when | |
3479 | deciding whether to use reciprocal instructions. | |
3480 | ||
4e971a07 | 3481 | 2008-01-19 Uros Bizjak <ubizjak@gmail.com> |
3482 | ||
3483 | * dwarf2out.c (dwarf2out_switch_text_section): Do not call | |
3484 | dwarf2out_note_section_used if cold_text_section is NULL. | |
3485 | ||
b3a3ddec | 3486 | 2008-01-19 Jakub Jelinek <jakub@redhat.com> |
3487 | ||
3488 | PR gcov-profile/34610 | |
3489 | * tree-cfg.c (make_edges): Mark both outgoing edges from | |
3490 | OMP_CONTINUE and from OMP_FOR as EDGE_ABNORMAL. | |
3491 | * omp-low.c (expand_omp_for): Clear EDGE_ABNORMAL bits | |
3492 | from OMP_FOR and OMP_CONTINUE outgoing edges. | |
3493 | ||
3494 | * tree-profile.c (tree_profiling): Return early if | |
3495 | cfun->after_tree_profile != 0. Set cfun->after_tree_profile | |
3496 | at the end. | |
3497 | * omp-low.c (expand_omp_parallel): Copy after_tree_profile | |
3498 | from cfun to child_cfun. | |
3499 | * function.h (struct function): Add after_tree_profile bit. | |
3500 | ||
cb20fbcc | 3501 | 2008-01-19 Anatoly Sokolov <aesok@post.ru> |
3502 | ||
3503 | * config/avr/avr.S (_exit): Disable interrupt. | |
3504 | ||
a7bc23c0 | 3505 | 2008-01-18 Kenneth Zadeck <zadeck@naturalbridge.com> |
3506 | Steven Bosscher <stevenb.gcc@gmail.com> | |
3507 | ||
3508 | PR rtl-optimization/26854 | |
3509 | PR rtl-optimization/34400 | |
3510 | * df-problems.c (df_live_scratch): New scratch bitmap. | |
3511 | (df_live_alloc): Allocate df_live_scratch when doing df_live. | |
3512 | (df_live_reset): Clear the proper bitmaps. | |
3513 | (df_live_bb_local_compute): Only process the artificial defs once | |
3514 | since the order is not important. | |
3515 | (df_live_init): Init the df_live sets only with the variables | |
3516 | found live by df_lr. | |
3517 | (df_live_transfer_function): Use the df_lr sets to prune the | |
3518 | df_live sets as they are being computed. | |
3519 | (df_live_free): Free df_live_scratch. | |
3520 | ||
7765591b | 3521 | 2008-01-18 Ian Lance Taylor <iant@google.com> |
3522 | ||
3523 | * common.opt: Add fmerge-debug-strings. | |
3524 | * dwarf2out.c (DEBUG_STR_SECTION_FLAGS): Test | |
3525 | flag_merge_debug_strings rather than flag_merge_constants. | |
3526 | * doc/invoke.texi (Option Summary): Mention | |
3527 | -fmerge-debug-strings. | |
3528 | (Debugging Options): Document -fmerge-debug-strings. | |
3529 | ||
68d6de5b | 3530 | 2008-01-18 Ian Lance Taylor <iant@google.com> |
3531 | ||
3532 | PR c++/33407 | |
3533 | * tree.h (DECL_IS_OPERATOR_NEW): Define. | |
3534 | (struct tree_function_decl): Add new field operator_new_flag. | |
3535 | * tree-inline.c (expand_call_inline): When inlining a call to | |
3536 | operator new, force the return value to go into a variable, and | |
3537 | set DECL_NO_TBAA_P on that variable. | |
3538 | * c-decl.c (merge_decls): Merge DECL_IS_OPERATOR_NEW flag. | |
3539 | ||
af30c139 | 3540 | 2008-01-18 Uros Bizjak <ubizjak@gmail.com> |
3541 | ||
3542 | PR debug/34484 | |
3543 | * dwarf2out.c (dwarf2out_switch_text_section): Do not guard with | |
3544 | DWARF2_DEBUGGING_INFO. | |
3545 | (dwarf2out_note_section_used): Ditto. Add prototype. | |
3546 | (have_multiple_function_sections, text_section_used, | |
3547 | cold_text_section_used, *cold_text_sections): Move declarations | |
3548 | before their uses. | |
3549 | ||
1650f4d3 | 3550 | 2008-01-17 Bob Wilson <bob.wilson@acm.org> |
92f6e056 | 3551 | |
3552 | * config/xtensa/unwind-dw2-xtensa.h (_Unwind_FrameState): Remove pc | |
3553 | field and add signal_ra. | |
3554 | * config/xtensa/unwind-dw2-xtensa.c (uw_frame_state_for): Remove | |
3555 | assignments to frame state pc. Move end of stack check after | |
3556 | MD_FALLBACK_FRAME_STATE_FOR. | |
3557 | (uw_update_context_1): Use frame state signal_regs if set, instead | |
3558 | of checking signal_frame flag. | |
3559 | (uw_update_context): Use frame state signal_ra if set. | |
3560 | * config/xtensa/linux.h (MD_UNWIND_SUPPORT): Define. | |
3561 | * config/xtensa/linux-unwind.h: New file. | |
3562 | ||
1650f4d3 | 3563 | 2008-01-18 Bernhard Fischer <aldot@gcc.gnu.org> |
c15d54d8 | 3564 | |
3565 | * modulo-sched.c (get_sched_window): Fix comment typo. | |
3566 | ||
ea5876d9 | 3567 | 2008-01-17 Andrew MacLeod <amacleod@redhat.com> |
3568 | ||
3569 | PR tree-optimization/34648 | |
3570 | * tree-ssa-sccvn.c (visit_use): Expressions which can throw are varying. | |
3571 | ||
d5f9ff99 | 3572 | 2008-01-17 Anatoly Sokolov <aesok@post.ru> |
3573 | ||
3574 | * config/avr/avr.h (LINK_SPEC): Support -mrelax and -mpmem-wrap-around. | |
3575 | * config/avr/avr.opt (mrelax, mpmem-wrap-around): Add. | |
3576 | ||
a9e21c4c | 3577 | 2008-01-17 Seongbae Park <seongbae.park@gmail.com> |
3578 | ||
3579 | PR rtl-optimization/34400 | |
3580 | * df-core.c (df_worklist_dataflow_overeager, | |
3581 | df_worklist_dataflow_doublequeue): New functions. | |
3582 | (df_worklist_dataflow): Two different worklist solvers. | |
3583 | * params.def (PARAM_DF_DOUBLE_QUEUE_THRESHOLD_FACTOR): | |
3584 | New param. | |
3585 | ||
9d6f50ba | 3586 | 2008-01-16 Sebastian Pop <sebastian.pop@amd.com> |
3587 | ||
3588 | PR testsuite/34821 | |
3589 | * doc/invoke.texi: Document the dependence on pthread for fopenmp | |
3590 | and ftree-parallelize-loops. | |
3591 | ||
fa7f4c0c | 3592 | 2008-01-17 Mircea Namolaru <namolaru@il.ibm.com> |
3593 | ||
3594 | PR rtl-optimization/34826 | |
3595 | * loop-doloop (doloop_modify): Update the REG_BR_PROB note. | |
3596 | ||
74748e47 | 3597 | 2008-01-17 Andreas Krebbel <krebbel1@de.ibm.com> |
3598 | ||
3599 | * global.c (find_reg): Mark the eh regs as used if necessary. | |
3600 | * ra-conflict.c (global_conflicts): Set no_eh_reg flag. | |
3601 | * ra.h (struct allocno): no_eh_reg field added. Changed | |
3602 | no_stack_reg type to bitfield. | |
3603 | ||
a13ff590 | 3604 | 2008-01-17 Eric Botcazou <ebotcazou@adacore.com> |
3605 | ||
3606 | * tree.c (substitute_in_expr): Add missing 'break'. | |
3607 | ||
119368d7 | 3608 | 2008-01-17 Richard Guenther <rguenther@suse.de> |
3609 | ||
3610 | PR tree-optimization/34825 | |
3611 | * tree-ssa-math-opts.c (is_division_by): Do not recognize | |
3612 | x / x as division to handle. | |
3613 | ||
9f4dc59e | 3614 | 2008-01-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3615 | ||
3616 | * pa64-hpux.h (LIB_SPEC): Add "-lpthread" in shared links if "-mt" or | |
3617 | "-pthread" is specified. | |
3618 | * pa-hpux11.h (LIB_SPEC): Likewise. | |
3619 | ||
1650f4d3 | 3620 | 2008-01-16 Janis Johnson <janis187@us.ibm.com> |
2379ccd9 | 3621 | Peter Bergner <bergner@vnet.ibm.com> |
3622 | ||
3623 | PR rtl-optimization/33796 | |
3624 | * sparseset.c (sparseset_alloc): Use xcalloc rather than xmalloc. | |
3625 | ||
a2060dc3 | 3626 | 2008-01-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3627 | ||
3628 | PR libgfortran/34699 | |
3629 | * pa-hpux.h (LINK_SPEC): Only search /lib/pa1.1 and /usr/lib/pa1.1 on | |
3630 | static links. | |
3631 | * pa-hpux10.h (LINK_SPEC): Likewise. | |
3632 | * pa-hpux11.h (LINK_SPEC): Don't search /lib/pa1.1 and /usr/lib/pa1.1. | |
3633 | ||
0cfec3e9 | 3634 | 2008-01-16 Richard Guenther <rguenther@suse.de> |
3635 | ||
3636 | PR middle-end/32628 | |
3637 | * fold-const.c (fold_convert_const_int_from_int): Do not | |
3638 | set overflow if that occured only because of a sign extension | |
3639 | change when converting from/to a sizetype with the same | |
3640 | precision and signedness. | |
3641 | ||
d848c04f | 3642 | 2008-01-16 Uros Bizjak <ubizjak@gmail.com> |
3643 | ||
3644 | PR debug/34249 | |
3645 | * dwarf2out.c (output_call_frame_info): Move output of FDE initial | |
3646 | location address to the correct place. Update copyright year. | |
3647 | ||
b44df49a | 3648 | 2008-01-16 Sebastian Pop <sebastian.pop@amd.com> |
3649 | ||
3650 | * lambda-code.c (lambda_transform_legal_p): Handle the case of | |
3651 | no dependences in the dependence_relations vector. | |
3652 | ||
a8587796 | 3653 | 2008-01-16 Jan Hubicka <jh@suse.cz> |
3654 | ||
3655 | PR rtl-optimization/31396 | |
3656 | * regstat.c (regstat_bb_compute_ri): Compute FREQ_CALLS_CROSSED. | |
3657 | * cfg.c (dump_reg_info): Print it. | |
3658 | * regs.h (struct reg_info_t): add freq_calls_crossed. | |
3659 | (REG_FREQ_CALLS_CROSSED): New macro. | |
3660 | * global.c (global_alloc): Compute freq_calls_crossed for allocno. | |
3661 | (find_reg): Update call of CALLER_SAVE_PROFITABLE. | |
3662 | * regmove.c (optimize_reg_copy_1, optimize_reg_copy_2, fixup_match_2, | |
3663 | regmove_optimize): Update call crossed frequencies. | |
3664 | * local-alloc.c (struct qty): Add freq_calls_crossed. | |
3665 | (alloc_qty): Copute freq_calls_crossed. | |
3666 | (update_equiv_regs, combine_regs): Update REG_FREQ_CALLS_CROSSED. | |
3667 | (find_free_reg): Update call of CALLER_SAVE_PROFITABLE. | |
3668 | * ra.h (struct allocno): Add freq_calls_crossed. | |
3669 | ||
061202f8 | 3670 | 2008-01-16 Sebastian Pop <sebastian.pop@amd.com> |
3671 | ||
3672 | * gcc.c (LINK_COMMAND_SPEC): Add includes and link options for | |
3673 | libgomp when compiling with ftree-parallelize-loops. | |
3674 | (GOMP_SELF_SPECS): Add -pthread for ftree-parallelize-loops. | |
3675 | ||
c782188f | 3676 | 2008-01-16 Richard Guenther <rguenther@suse.de> |
3677 | ||
3678 | PR tree-optimization/34769 | |
3679 | * tree-data-ref.c (initialize_matrix_A): Revert fix for PR34458. | |
3680 | * tree.c (int_cst_value): Instead make this function more | |
3681 | permissive in what it accepts as valid input. Document this | |
3682 | function always sign-extends the value. | |
3683 | ||
db812c94 | 3684 | 2008-01-16 Jakub Jelinek <jakub@redhat.com> |
4e971a07 | 3685 | Richard Guenther <rguenther@suse.de> |
db812c94 | 3686 | |
3687 | PR c/34668 | |
3688 | * gimplify.c (fold_indirect_ref_rhs): Rename to ... | |
3689 | (gimple_fold_indirect_ref_rhs): ... this. | |
3690 | (gimple_fold_indirect_ref): New function with foldings | |
3691 | that preserve lvalueness. | |
3692 | (gimplify_modify_expr_rhs): Call gimple_fold_indirect_ref_rhs. | |
3693 | * tree-flow.h (gimple_fold_indirect_ref): Declare. | |
3694 | * tree-inline.c (copy_body_r): Use gimple_fold_indirect_ref | |
3695 | to fold an INDIRECT_REF, fall back to the old use of | |
3696 | fold_indirect_ref_1. | |
3697 | ||
e34df749 | 3698 | 2008-01-16 Sebastian Pop <sebastian.pop@amd.com> |
3699 | ||
3700 | * tree-data-ref.c (subscript_dependence_tester_1): Call | |
3701 | free_conflict_function. | |
3702 | (compute_self_dependence): Same. | |
3703 | ||
9bf03e06 | 3704 | 2008-01-16 Uros Bizjak <ubizjak@gmail.com> |
3705 | ||
3706 | PR debug/34249 | |
3707 | * debug.h (dwarf2out_switch_text_section): Move declaration from ... | |
3708 | * dwarf2out.c (dwarf2out_switch_text_section): ... here. Make | |
3709 | function global. | |
3710 | * final.c (final_scan_insn) [NOTE_INSN_SWITCH_TEXT_SECTIONS]: | |
3711 | Depending on dwarf2out_do_frame, call dwarf2out_switch_text_section | |
3712 | for DWARF2_UNWIND_INFO targets. | |
3713 | ||
36d43c4a | 3714 | 2008-01-16 Richard Guenther <rguenther@suse.de> |
3715 | ||
3716 | PR c/34768 | |
3717 | * c-typeck.c (common_pointer_type): Do not merge inconsistent | |
3718 | type qualifiers for function types. | |
3719 | ||
6f22df65 | 3720 | 2008-01-15 Jerry DeLisle <jvdelisle@gcc.gnu.org> |
3721 | ||
3722 | * tree-parloops.c (gen_parallel_loop): Fix ommision of declaration for | |
3723 | loop_iterator li from previous commit. | |
3724 | ||
3725 | 2008-01-15 Sebastian Pop <sebastian.pop@amd.com> | |
d46d3c1c | 3726 | |
3727 | * tree-parloops.c (gen_parallel_loop): Free loop bound estimations. | |
3728 | ||
d4fcfd16 | 3729 | 2008-01-12 Sebastian Pop <sebastian.pop@amd.com> |
3730 | ||
3731 | * tree-parloops.c (loop_has_blocks_with_irreducible_flag): New. | |
3732 | (parallelize_loops): Don't parallelize irreducible components. | |
3733 | ||
c9d90c25 | 3734 | 2008-01-14 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
3735 | ||
3736 | PR c++/24924 | |
3737 | * c-opts (c_common_post_options): Do not enable CPP | |
3738 | flag_pedantic_errors by default. | |
3739 | ||
d2c970fe | 3740 | 2008-01-14 Eric Botcazou <ebotcazou@adacore.com> |
3741 | ||
3742 | PR rtl-optimization/31944 | |
3743 | * cse.c (remove_pseudo_from_table): New function. | |
3744 | (merge_equiv_classes): Use above function to remove pseudo-registers. | |
3745 | (invalidate): Likewise. | |
3746 | ||
3ff99faa | 3747 | 2008-01-13 Richard Guenther <rguenther@suse.de> |
3748 | ||
3749 | PR middle-end/34601 | |
3750 | * emit-rtl.c (set_reg_attrs_for_decl_rtl): Use DECL_MODE | |
3751 | instead of TYPE_MODE to deal with calls from expand_one_error_var. | |
3752 | ||
3e179c53 | 3753 | 2008-01-13 Uros Bizjak <ubizjak@gmail.com> |
3754 | ||
3755 | * gcse.c (cprop_jump): Call validate_unshare_change instead of | |
3756 | validate_change to unshare the source of the PC set. | |
3757 | ||
b513c084 | 3758 | 2008-01-12 Jan Hubicka <jh@suse.cz> |
3759 | ||
3760 | PR middle-end/32135 | |
3761 | * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Do not construct | |
3762 | references above array bounds. This might trigger bounds checks for | |
3763 | pointers to arrays. | |
3764 | ||
c2df357d | 3765 | 2008-01-12 Sebastian Pop <sebastian.pop@amd.com> |
3766 | ||
3767 | * tree-ssa-ter.c (free_temp_expr_table): Free num_in_part and | |
3768 | new_replaceable_dependencies. | |
3769 | ||
36e37a87 | 3770 | 2008-01-12 Doug Kwan <dougkwan@google.com> |
3771 | ||
3772 | * c-decl.c: (grokdeclarator): Use OPT_Wignored_qualifiers | |
3773 | instead of OPT_Wreturn_type in warning due to ignored return type | |
3774 | qualifiers. | |
3775 | * c-opt.c (c_common_post_option): Add -Wignored-qualifiers to | |
3776 | options included in -Wextra. | |
3777 | * c.opt: New option -Wignored_qualifiers. | |
3778 | * doc/invoke.texi (Warning Options, -Wextra): Add new option | |
3779 | -Wignore_qualifiers. | |
3780 | (-Wignored-qualifiers): Document. | |
3781 | (-Wreturn-type): Remove description of functionality now handled | |
3782 | by -Wignored-qualifiers. | |
3783 | ||
134ae613 | 3784 | 2008-01-12 Eric Botcazou <ebotcazou@adacore.com> |
3785 | ||
3786 | PR ada/33788 | |
3787 | * fold-const.c (fold_unary) <VIEW_CONVERT_EXPR>: Fold an existing | |
3788 | NOP_EXPR if it is between integral types with the same precision. | |
3789 | ||
f9f517cc | 3790 | 2008-01-12 Jan Hubicka <jh@suse.cz> |
3791 | ||
3792 | PR other/28023 | |
3793 | * invoke.texi (max-inline-recursive-depth): Fix default value. | |
3794 | ||
33f263f5 | 3795 | 2008-01-12 Zdenek Dvorak <ook@ucw.cz> |
3796 | ||
3797 | * tree-parloops.c (transform_to_exit_first_loop): Cast nit to the | |
3798 | correct type. | |
3799 | ||
0d1c6644 | 3800 | 2008-01-11 Bob Wilson <bob.wilson@acm.org> |
3801 | ||
3802 | * config/xtensa/xtensa.c (override_options): Set flag_shlib. | |
3803 | ||
6090393c | 3804 | 2008-01-11 James E. Wilson <wilson@specifix.com> |
3805 | ||
3806 | PR target/26015 | |
3807 | * config/vax/elf.h (FRAME_POINTER_CFA_OFFSET): Define. | |
3808 | ||
a0a028c2 | 3809 | 2008-01-11 Anatoly Sokolov <aesok@post.ru> |
3810 | ||
3811 | * config/avr/avr.c (expand_prologue, expand_epilogue): Don't | |
3812 | save/restore frame pointer register and don't use 'call-prologues' | |
3813 | optimization in function with "OS_task" attribute. | |
3814 | ||
13a68d5b | 3815 | 2008-01-11 Eric Botcazou <ebotcazou@adacore.com> |
3816 | ||
3817 | PR middle-end/31309 | |
3818 | * expr.c (copy_blkmode_from_reg): Use a mode suited to the size | |
3819 | when copying to memory. | |
3820 | ||
1ae2ffa7 | 3821 | 2008-01-11 Steven Bosscher <stevenb.gcc@gmail.com> |
3822 | ||
3823 | PR rtl-optimization/30905 | |
3824 | * cfgcleanup.c: Include dce.h | |
3825 | (crossjumps_occured): New global variable. | |
3826 | (try_crossjump_bb): Exit loop after finding a fallthru edge. | |
3827 | If something changed, set crossjumps_occured to true. | |
3828 | (try_optimize_cfg): Clear crossjumps_occured at the beginning. | |
3829 | Don't add/remove fake edges to exit here... | |
3830 | (cleanup_cfg): ...but do it here, when crossjumping. | |
3831 | Run a fast DCE when successful crossjumps occured in the latest | |
3832 | iteration of try_optimize_cfg. | |
3833 | ||
12661815 | 3834 | 2008-01-11 Richard Guenther <rguenther@suse.de> |
3835 | ||
3836 | * tree-ssa-sccvn.c (struct vn_binary_op_s): Move hashcode near opcode. | |
3837 | (struct vn_unary_op_s): Likewise. | |
3838 | (vn_reference_insert): Free old reference on hash collision. | |
3839 | ||
5bed1dca | 3840 | 2008-01-10 Raksit Ashok <raksit@google.com> |
3841 | ||
3842 | PR rtl-optimization/27971 | |
7650360f | 3843 | * combine.c (find_split_point): Split PLUS expressions which are |
3844 | inside a MEM rtx, and whose first operand is complex. | |
5bed1dca | 3845 | |
4a6a8336 | 3846 | 2008-01-10 DJ Delorie <dj@redhat.com> |
3847 | ||
3848 | * config/m32c/m32c.c (m32c_hard_regno_nregs_1): Renamed from... | |
3849 | (m32c_hard_regno_nregs): ...this, which is now a wrapper. | |
3850 | (m32c_hard_regno_ok): Call the underlying function. | |
3851 | ||
5c6e4974 | 3852 | 2008-01-10 Richard Guenther <rguenther@suse.de> |
3853 | ||
3854 | PR middle-end/34683 | |
3855 | * tree-cfg.c (tree_merge_blocks): Do not go through the | |
3856 | full-blown folding and stmt updating path if we just deal | |
3857 | with virtual operands. | |
3858 | * tree-ssa-copy.c (may_propagate_copy): Do not short-cut | |
3859 | test for abnormal SSA_NAMEs. | |
3860 | ||
cd6659e3 | 3861 | 2008-01-10 Andreas Krebbel <krebbel1@de.ibm.com> |
3862 | ||
3863 | PR middle-end/34641 | |
3864 | * reload.c (push_reload): Add assertions. All constants from | |
3865 | reg_equiv_constant should have been used for replacing the respective | |
3866 | pseudo earlier. | |
3867 | (find_reloads_address): Invoke find_reloads_address_part for | |
3868 | constant taken from the reg_equiv_constant array. | |
3869 | ||
6d6adc82 | 3870 | 2008-01-10 Steven Bosscher <stevenb.gcc@gmail.com> |
3871 | ||
3872 | * tree-ssa-sccvn.h (struct vn_ssa_aux): Make the most accessed | |
3873 | field (valnum) the first in the struct. Replace bools with | |
3874 | unit bit fields. | |
3875 | ||
b050ae3e | 3876 | 2008-01-10 Richard Guenther <rguenther@suse.de> |
3877 | ||
3878 | PR tree-optimization/34651 | |
3879 | * tree-sra.c (sra_build_assignment): Sanitize. Use the correct | |
3880 | types and ordering for masking and converting. | |
3881 | ||
77727654 | 3882 | 2008-01-09 Sebastian Pop <sebastian.pop@amd.com> |
3883 | ||
3884 | PR tree-optimization/34017 | |
3885 | * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Generate code | |
3886 | also for PHI_NODE expressions. | |
3887 | ||
cc9c1c51 | 3888 | 2008-01-09 Jan Hubicka <jh@suse.cz> |
3889 | ||
3890 | PR tree-optimization/34708 | |
3891 | * tree-inline.c (estimate_num_insns_1): Compute cost of SWITCH_EXPR | |
3892 | based on number of case labels. | |
3893 | (init_inline_once): Remove switch_cost. | |
3894 | * tree-inline.h (eni_weights_d): Remove switch_cost. | |
3895 | ||
e8b8bad7 | 3896 | 2008-01-09 Richard Guenther <rguenther@suse.de> |
3897 | Andrew Pinski <andrew_pinski@playstation.sony.com> | |
3898 | ||
3899 | PR middle-end/30132 | |
3900 | * gimplify.c (gimplify_cond_expr): Do not create an addressable | |
3901 | temporary if an rvalue is ok or an lvalue is not required. | |
3902 | ||
8b58aec5 | 3903 | 2008-01-09 Richard Guenther <rguenther@suse.de> |
3904 | ||
3905 | PR middle-end/34458 | |
3906 | * tree-data-ref.c (initialize_matrix_A): Use tree_low_cst, | |
3907 | adjust return type. | |
3908 | ||
b2ee3594 | 3909 | 2008-01-09 Richard Guenther <rguenther@suse.de> |
3910 | ||
3911 | PR middle-end/34679 | |
3912 | * tree.c (host_integerp): Check for sizetype only if the | |
3913 | type is an integer type. | |
3914 | ||
3e6bab0c | 3915 | 2008-01-09 Steven Bosscher <stevenb.gcc@gmail.com> |
3916 | ||
3917 | PR debug/26364 | |
3918 | * opts.c (decode_options): Disable inlining of functions called | |
3919 | once if not in unit-at-a-time mode. | |
3920 | ||
f72a5ea4 | 3921 | 2008-01-09 Alexandre Oliva <aoliva@redhat.com> |
3922 | ||
3923 | * Makefile.in (dse.o): Remove duplicate $(RECOG_H) dependency. | |
3924 | ||
454a1307 | 3925 | 2008-01-08 Richard Guenther <rguenther@suse.de> |
3926 | ||
3927 | PR middle-end/31863 | |
3928 | * tree-ssa-structalias.c (push_fields_onto_fieldstack): Bail | |
3929 | out early if the result will be unused. | |
3930 | ||
1615433d | 3931 | 2008-01-08 Uros Bizjak <ubizjak@gmail.com> |
3932 | ||
3933 | PR target/34709 | |
3934 | Revert: | |
3935 | ||
3936 | 2008-01-05 Uros Bizjak <ubizjak@gmail.com> | |
3937 | * config/i386/i386.c (ix86_builtin_reciprocal): Remove check | |
3938 | for TARGET_RECIP. | |
3939 | ||
e96df6c2 | 3940 | 2008-01-08 Jan Sjodin <jan.sjodin@amd.com> |
3941 | ||
1615433d | 3942 | * config/i386/i386.c (k8_cost, amdfam10_cost): Branch costs |
3943 | for vectorization tuned. | |
e96df6c2 | 3944 | |
911908dc | 3945 | 2008-01-08 Richard Guenther <rguenther@suse.de> |
3946 | ||
3947 | PR tree-optimization/34683 | |
3948 | * tree-ssa-operands.c (operand_build_cmp): Export. | |
3949 | * tree-ssa-operands.h (operand_build_cmp): Declare. | |
3950 | * tree-vn.c (vuses_compare): Remove. | |
3951 | (sort_vuses): Use operand_build_cmp. | |
3952 | (sort_vuses_heap): Likewise. | |
3953 | * tree-ssa-sccvn.c (vuses_to_vec): Use VEC_reserve, not VEC_alloc | |
3954 | to re-use old VEC if available. Do not sort already sorted VUSEs. | |
3955 | (vdefs_to_vec): Do not sort already sorted VDEFs. | |
3956 | ||
d7c85fac | 3957 | 2008-01-08 Jakub Jelinek <jakub@redhat.com> |
3958 | ||
3959 | PR middle-end/34694 | |
3960 | * omp-low.c (copy_var_decl): Copy also DECL_SOURCE_LOCATION. | |
3961 | ||
c7f0e882 | 3962 | 2008-01-08 Uros Bizjak <ubizjak@gmail.com> |
3963 | ||
3964 | PR target/34702 | |
3965 | * doc/invoke.texi (i386 and x86-64 Options) [mrecip]: Document | |
3966 | limitations of reciprocal sequences on x86 targets. | |
3967 | ||
b5ea3701 | 3968 | 2008-01-08 Richard Guenther <rguenther@suse.de> |
3969 | ||
3970 | PR tree-optimization/34683 | |
3971 | * tree-flow-inline.h (var_ann): Remove overzealous asserts. | |
3972 | ||
a7df40d7 | 3973 | 2008-01-07 Jakub Jelinek <jakub@redhat.com> |
3974 | ||
3975 | PR target/34622 | |
3976 | * config/darwin.c (darwin_mergeable_string_section): Don't use | |
3977 | .cstring if int_size_in_bytes != TREE_STRING_LENGTH. | |
3978 | ||
5921cbdf | 3979 | 2008-01-07 Uros Bizjak <ubizjak@gmail.com> |
3980 | ||
3981 | PR target/34682 | |
3982 | * config/i386/i386.md (neg<mode>2): Rename from negsf2, negdf2 and | |
3983 | negxf2. Macroize expander using X87MODEF mode iterator. Change | |
3984 | predicates of op0 and op1 to register_operand. | |
c7f0e882 | 3985 | (abs<mode>2): Rename from abssf2, absdf2 and negxf2. Macroize |
3986 | expander using X87MODEF mode iterator. Change predicates of | |
3987 | op0 and op1 to register_operand. | |
5921cbdf | 3988 | ("*absneg<mode>2_mixed", "*absneg<mode>2_sse"): Rename from |
3989 | corresponding patterns and macroize using MODEF macro. Change | |
3990 | predicates of op0 and op1 to register_operand and remove | |
3991 | "m" constraint. Disparage "r" alternative with "!". | |
3992 | ("*absneg<mode>2_i387"): Rename from corresponding patterns and | |
3993 | macroize using X87MODEF macro. Change predicates of op0 and op1 | |
3994 | to register_operand and remove "m" constraint. Disparage "r" | |
3995 | alternative with "!". | |
3996 | (absneg splitter with memory operands): Remove. | |
3997 | ("*neg<mode>2_1", "*abs<mode>2_1"): Rename from corresponding | |
3998 | patterns and macroize using X87MODEF mode iterator. | |
3999 | * config/i386/sse.md (negv4sf2, absv4sf2, neg2vdf2, absv2df2): | |
4000 | Change predicate of op1 to register_operand. | |
4001 | * config/i386/i386.c (ix86_expand_fp_absneg_operator): Remove support | |
c7f0e882 | 4002 | for memory operands. |
5921cbdf | 4003 | |
1dd6dd88 | 4004 | 2008-01-07 Nathan Froyd <froydnj@codesourcery.com> |
4005 | ||
4006 | * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add clause for mcpu=8548. | |
4007 | ||
b041d147 | 4008 | 2008-01-07 Richard Guenther <rguenther@suse.de> |
4009 | ||
4010 | * basic-block.h (struct edge_def): Pair dest_idx with goto_locus | |
4011 | fields. | |
4012 | ||
3ee3dfa4 | 4013 | 2008-01-07 Richard Guenther <rguenther@suse.de> |
4014 | ||
4015 | PR tree-optimization/34683 | |
4016 | * tree-ssa-sccvn.c (vuses_to_vec): Pre-allocate the vector of | |
4017 | VOPs of the needed size to save memory. Use VEC_quick_push | |
4018 | to save compile-time. | |
4019 | (vdefs_to_vec): Likewise. | |
4020 | ||
ca03fed0 | 4021 | 2008-01-07 Sa Liu <saliu@de.ibm.com> |
3ee3dfa4 | 4022 | |
5921cbdf | 4023 | * config/spu/spu.md (divdf3): Genetate inline code for double |
4024 | division. The implementation doesn't handle INF or NAN, therefore it | |
4025 | only applies when -ffinite-math-only is given. | |
ca03fed0 | 4026 | |
be46c846 | 4027 | 2008-01-06 Paolo Carlini <pcarlini@suse.de> |
4028 | ||
4029 | PR libstdc++/34680 | |
4030 | * c-cppbuiltin.c (c_cpp_builtins): Define __GXX_RTTI, if appropriate. | |
4031 | * doc/cpp.texi ([Common Predefined Macros]): Document. | |
4032 | ||
9edaf48c | 4033 | 2008-01-06 Uros Bizjak <ubizjak@gmail.com> |
4034 | ||
4035 | * config/i386/i386.c (ix86_emit_swsqrtsf): Use negative constants in | |
4036 | order to use commutative addition instead of subtraction. | |
4037 | ||
aa620173 | 4038 | 2008-01-06 Andrew Pinski <andrew_pinski@playstation.sony.com> |
4039 | Mircea Namolaru <namolaru@il.ibm.com> | |
4040 | Vladimir Yanovsky <yanov@il.ibm.com> | |
4041 | Revital Eres <eres@il.ibm.com> | |
4042 | ||
4043 | PR tree-optimization/34263 | |
4044 | * tree-outof-ssa.c (process_single_block_loop_latch, | |
4045 | contains_tree_r): New functions. | |
4046 | (analyze_edges_for_bb): Call process_single_block_loop_latch | |
4047 | function to empty single-basic-block latch block if possible. | |
4048 | ||
459609ab | 4049 | 2008-01-05 Uros Bizjak <ubizjak@gmail.com> |
4050 | ||
4051 | * config/i386/i386.c (ix86_builtin_reciprocal): Remove check | |
4052 | for TARGET_RECIP. | |
4053 | (ix86_emit_swsqrtsf): Do not filter out infinity for rsqrt expansion. | |
4054 | ||
35160457 | 4055 | 2008-01-05 Richard Sandiford <rsandifo@nildram.co.uk> |
4056 | ||
4057 | * c-omp.c (check_omp_for_incr_expr): Handle CONVERT_EXPR. | |
4058 | ||
5f98e2aa | 4059 | 2008-01-05 Richard Sandiford <rsandifo@nildram.co.uk> |
4060 | ||
4061 | * config/mips/mips.c (mips_in_small_data_p): Reinstate size > 0 check. | |
4062 | ||
640fba6f | 4063 | 2008-01-05 Jakub Jelinek <jakub@redhat.com> |
4064 | ||
4065 | PR tree-optimization/34618 | |
4066 | * tree-outof-ssa.c (create_temp): Copy over DECL_GIMPLE_REG_P | |
4067 | flag from T. | |
4068 | ||
1a086819 | 4069 | 2008-01-05 Uros Bizjak <ubizjak@gmail.com> |
4070 | ||
4071 | PR target/34673 | |
4072 | * config/i386/i386.c (ix86_emit_swsqrtsf): Swap input operands | |
4073 | in the call to gen_rtx_NE. Remove unneeded VECTOR_MODE_P check. | |
4074 | Update copyright year. | |
4075 | ||
4076 | * config/i386/i386.md (rsqrtsf2): Enable for TARGET_SSE_MATH. | |
4077 | Update copyright year. | |
4078 | * config/i386/sse.md (rsqrtv4sf2): Ditto. Unconditionally expand | |
4079 | using NR fixup. | |
4080 | ||
f831baaf | 4081 | 2008-01-05 Zhouyi Zhou <zhouzhouyi@FreeBSD.org> |
4082 | ||
4083 | * tree-vrp.c (find_conditional_asserts): Remove redundant check that | |
4084 | edge does not point to current bb before changing need_assert. | |
4085 | ||
cd3f90e2 | 4086 | 2008-01-04 Richard Guenther <rguenther@suse.de> |
4087 | ||
4088 | PR middle-end/34029 | |
4089 | * tree-cfg.c (verify_expr): Do not look inside ADDR_EXPRs | |
4090 | for verifying purposes if they are is_gimple_min_invariant. | |
4091 | ||
5b56c905 | 4092 | 2008-01-04 Aldy Hernandez <aldyh@redhat.com> |
4093 | ||
4094 | PR tree-optimization/34448 | |
4095 | PR tree-optimization/34465 | |
4096 | * gimplify.c (gimplify_init_constructor): Add new parameter | |
4097 | notify_temp_creation. Use it. | |
4098 | (gimplify_modify_expr_rhs): Take volatiles into account when | |
4099 | optimizing constructors. | |
4100 | Do not optimize constructors if gimplify_init_constructor will dump to | |
4101 | memory. | |
4102 | * gcc.dg/tree-ssa/pr32901.c: Tests const volatiles. | |
4103 | * gcc.c-torture/compile/pr34448.c: New. | |
4104 | ||
dfbb5324 | 4105 | 2008-01-04 Jakub Jelinek <jakub@redhat.com> |
4106 | ||
4107 | PR gcov-profile/34609 | |
4108 | * tree-inline.c (declare_return_variable): Set TREE_ADDRESSABLE on | |
4109 | return_slot if result is TREE_ADDRESSABLE. | |
4110 | ||
1bbc673e | 4111 | 2008-01-04 Richard Sandiford <rsandifo@nildram.co.uk> |
4112 | ||
4113 | * config/mips/mips.md (sqrt_condition): Tweak comment. | |
4114 | (recip_condition): Likewise. Require TARGET_FLOAT64 for DFmode. | |
4115 | ||
78c2e180 | 4116 | 2008-01-03 Tom Tromey <tromey@redhat.com> |
4117 | ||
dfbb5324 | 4118 | PR c/34457 |
78c2e180 | 4119 | * c-common.c (c_type_hash): Handle VLAs. |
4120 | ||
186f5fff | 4121 | 2008-01-03 Jan Hubicka <jh@suse.cz> |
4122 | ||
4123 | PR tree-optimization/31081 | |
4124 | * tree-inline.c (remap_ssa_name): Initialize uninitialized SSA vars to | |
4125 | 0 when inlining and not inlining to first basic block. | |
4126 | (remap_decl): When var is initialized to 0, don't set default_def. | |
4127 | (expand_call_inline): Set entry_bb. | |
4128 | * tree-inline.h (copy_body_data): Add entry_bb. | |
4129 | ||
361c9aad | 4130 | 2008-01-03 Jakub Jelinek <jakub@redhat.com> |
4131 | ||
e3a37aef | 4132 | PR c++/34619 |
4133 | * cgraphunit.c (cgraph_build_static_cdtor): set_cfun back to NULL | |
4134 | before returning. | |
4135 | ||
361c9aad | 4136 | PR tree-optimization/29484 |
4137 | * tree-inline.c (inline_forbidden_p_2): New function. | |
4138 | (inline_forbidden_p): Disallow inlining if some static var | |
4139 | has an address of a local LABEL_DECL in its initializer. | |
4140 | * doc/extend.texi (Labels as Values): Document &&foo behaviour | |
4141 | vs. inlining. | |
4142 | ||
e1feff4f | 4143 | 2008-01-03 Sebastian Pop <sebastian.pop@amd.com> |
bfe20447 | 4144 | |
4145 | PR tree-optimization/34635 | |
4146 | * tree-data-ref.c (add_other_self_distances): Make sure that the | |
4147 | evolution step is constant. | |
4148 | ||
fbe86b1b | 4149 | 2008-01-03 Jakub Jelinek <jakub@redhat.com> |
4150 | ||
4151 | PR middle-end/34608 | |
f831baaf | 4152 | * omp-low.c (expand_omp_parallel): Purge dead EH edges in the child fn. |
fbe86b1b | 4153 | |
99f35fae | 4154 | 2008-01-02 Richard Sandiford <rsandifo@nildram.co.uk> |
4155 | ||
4156 | * tree-sra.c (scalarize_init): Insert the generate_element_init | |
4157 | statements after the generate_element_zero statements. | |
4158 | ||
20e67c9a | 4159 | 2008-01-02 Richard Guenther <rguenther@suse.de> |
4160 | ||
4161 | PR middle-end/34093 | |
4162 | PR middle-end/31976 | |
4163 | * tree-ssa-operands.c (ssa_operand_alloc): Also allocate a buffer | |
4164 | for very large number of operands instead of ICEing. | |
4165 | ||
02be515c | 4166 | 2008-01-02 Arthur Norman <acn1@cam.ac.uk> |
4167 | ||
f831baaf | 4168 | PR target/34013 |
a4890dc9 | 4169 | * config/i386/i386.c (ix86_expand_prologue): Save red-zone |
02be515c | 4170 | while stack probing. |
4171 | ||
799bdf64 | 4172 | 2008-01-01 Douglas Gregor <doug.gregor@gmail.com> |
4173 | ||
02be515c | 4174 | * c-opts.c (sanitize_cpp_opts): Don't warn about "long long" when |
f831baaf | 4175 | in C++0x mode. |
799bdf64 | 4176 | |
65e47be2 | 4177 | 2008-01-01 Volker Reichelt <v.reichelt@netcologne.de> |
4178 | ||
4179 | PR libmudflap/26442 | |
4180 | * tree-mudflap.c (mx_register_decls): Guard warning by | |
4181 | !DECL_ARTIFICIAL check. | |
4182 | ||
25a3b4c5 | 4183 | 2008-01-01 Jakub Jelinek <jakub@redhat.com> |
4184 | ||
4185 | * config/i386/sse.md (sse5_pperm, sse5_pperm_pack_v2di_v4si, | |
4186 | sse5_pperm_pack_v4si_v8hi, sse5_pperm_pack_v8hi_v16qi, | |
4187 | sse5_perm<mode>): Fix constraints. |