]>
Commit | Line | Data |
---|---|---|
1799e5d5 RH |
1 | 2006-03-09 Diego Novillo <dnovillo@redhat.com> |
2 | ||
3 | * tree-cfg.c (move_block_to_fn): Remove the statements from the | |
4 | original fn's eh regions. | |
5 | ||
f8fe0545 EB |
6 | 2006-03-09 Eric Botcazou <ebotcazou@adacore.com> |
7 | ||
8 | * fold-const.c (build_range_check): Make sure to use a valid type to | |
9 | apply the "(c>=low) && (c<=high) into (c-low>=0) && (c-low<=high-low)" | |
10 | transformation. | |
11 | ||
12 | (range_predecessor): New static function. | |
13 | (range_successor): Likewise. | |
14 | (merge_ranges): Use them to compute predecessors and successors of | |
15 | range bounds. | |
16 | ||
d56ee62b RS |
17 | 2006-03-09 Roger Sayle <roger@eyesopen.com> |
18 | ||
19 | PR middle-end/26561 | |
20 | * fold-const.c (fold_div_compare): When optimizing X/C1 op C2 as | |
21 | X op C3, consider whether C3 overflows towards +Inf or -Inf. | |
22 | ||
07127a0a DD |
23 | 2006-03-08 DJ Delorie <dj@redhat.com> |
24 | ||
25 | * config/m32c/addsub.md (addqi3): Disparage a0/a1. | |
26 | (addpsi3): Expand to include memory operands. Remove | |
27 | reload-specific splits. | |
28 | * config/m32c/bitops.md (bset_qi, bset_hi, bclr_qi): New. | |
29 | (andqi3_16, andhi3_16, iorqi3_16, iorhi3_16): New. | |
30 | (andqi3_24, andhi3_24, iorqi3_24, iorhi3_24): New. | |
31 | (andqi3, andhi3, iorqi3, iorhi3): Convert to expanders. | |
32 | (shift1_qi, shift1_hi, insv): New. | |
33 | * config/m32c/cond.md (cbranchqi4, cbranchhi4): Remove. | |
34 | (cbranch<mode>4, stzx_16, stzx_24_<mode>, stzx_reversed, | |
35 | cmp<mode>, b<code>, s<code>, s<code>_24, movqicc, movhicc, | |
36 | cond_to_int): New. | |
37 | * config/m32c/m32c-protos.h: Update as needed. | |
38 | * config/m32c/m32c.c (m32c_reg_class_from_constraint): Don't | |
39 | default the Rcr, Rcl, Raw, and Ral constraints. Add Ra0 and Ra1. | |
40 | Fail for unrecognized R* constraints. | |
41 | (m32c_cannot_change_mode_class): Be more picky about pseudos. | |
42 | (m32c_const_ok_for_constraint_p): Add Imb, Imw, and I00. | |
43 | (m32c_extra_constraint_p2): Allow (mem (plus (plus fb int) int)). | |
44 | Add Sp constraint. | |
45 | (m32c_init_libfuncs): New. | |
46 | (m32c_legitimate_address_p): Add debug wrapper. | |
47 | (m32c_rtx_costs): New. | |
48 | (m32c_address_cost): New. | |
49 | (conversions): Add 'B' prefix. | |
50 | (m32c_print_operand): 'h' and 'H' pick lower and upper halves of | |
51 | operands, or word regnames for QI operands. 'B' prints bit | |
52 | position. | |
53 | (m32c_expand_setmemhi): New. | |
54 | (m32c_expand_movmemhi): New. | |
55 | (m32c_expand_movstr): New. | |
56 | (m32c_expand_cmpstr): New. | |
57 | (m32c_prepare_shift): Shift counts are limited to 16 bits at a time. | |
58 | (m32c_expand_neg_mulpsi3): Handle non-ints. | |
59 | (m32c_cmp_flg_0): New. | |
60 | (m32c_expand_movcc): New. | |
61 | (m32c_expand_insv): New. | |
62 | (m32c_scc_pattern): New. | |
63 | * config/m32c/m32c.h (reg classes): Add AO_REGS and A1_REGS. Take | |
64 | a0/a1 out of SIregs. | |
65 | (STORE_FLAG_VALUE): New. | |
66 | * config/m32c/m32c.md: Add unspecs for string moves. Define various mode and | |
67 | code macros. | |
68 | (no_insn): New. | |
69 | * config/m32c/mov.md: Make constraints more liberal. | |
70 | (zero_extendqihi2): Optimize r0/r1 case. | |
71 | * config/m32c/muldiv.md (mulpsi3): Check for intvals. | |
72 | * config/m32c/predicates.md (m32c_any_operand): New. | |
73 | (m32c_nonimmediate_operand): New. | |
74 | (m32c_hl_operand): New. | |
75 | (m32c_r3_operand): New. | |
76 | (ap_operand): New. | |
77 | (ma_operand): New. | |
78 | (memsym_operand): New. | |
79 | (memimmed_operand): New. | |
80 | (a_qi_operand): New. | |
81 | (m32c_eqne_operator): New. | |
82 | (m32c_1bit8_operand): New. | |
83 | (m32c_1bit16_operand): New. | |
84 | (m32c_1mask8_operand): New. | |
85 | (m32c_1mask16_operand): New. | |
86 | * config/m32c/blkmov.md: New file. | |
87 | * config/m32c/t-m32c (MD_FILES): Add blkmov. | |
88 | ||
6677e189 AT |
89 | 2006-03-08 Andreas Tobler <a.tobler@schweiz.ch> |
90 | ||
8f4fc766 AT |
91 | * dwarf2out.c (expand_builtin_dwarf_sp_column): Make dwarf_regnum |
92 | unsigned to fix signed/unsigned comparison issue in | |
93 | DWARF2_FRAME_REG_OUT. | |
94 | (expand_builtin_init_dwarf_reg_sizes): Make i unsigned to fix signed/ | |
95 | unsigned comparison issue in DWARF2_FRAME_REG_OUT. | |
96 | ||
6677e189 AT |
97 | * tree-ssa-operands.c (finalize_ssa_def_ops): Move the declaration |
98 | of ptr into the ENABLE_CHECKING section. | |
99 | ||
60c9ad46 JL |
100 | 2006-03-08 Jeff Law <law@redhat.com> |
101 | ||
102 | * tree-vrp.c (infer_value_range): Only count pointer uses | |
103 | and dereferences if -fdelete-null-pointer-checks is enabled. | |
104 | ||
105 | * tree-vrp.c (find_assert_locations): Infer value ranges for | |
106 | single use pointers, but do not create ASSERT_EXPRs for them. | |
107 | When a non-null range is inferred for a pointer, backwards | |
108 | propagate that range to other equivalent pointers through the | |
109 | use-def chain. | |
110 | ||
dedfa466 PB |
111 | 2006-03-08 Paolo Bonzini <bonzini@gnu.org> |
112 | ||
113 | PR bootstrap/26500 | |
114 | * Makefile.in (dvi, html, install-info): Invoke the corresponding | |
115 | language hook targets. | |
116 | * ada/Make-lang.in, cp/Make-lang.in, objc/Make-lang.in, | |
117 | objcp/Make-lang.in: Create stub rules for dvi, html, install-info | |
118 | if language hook targets were missing. | |
119 | ||
ac574e1b ZD |
120 | 2006-03-07 Zdenek Dvorak <dvorakz@suse.cz> |
121 | ||
122 | * tree-ssa-opfinalize.h: Removed. | |
123 | * Makefile.in (tree-ssa-operands.o): Remove tree-ssa-opfinalize.h | |
124 | dependency. | |
125 | * tree-ssa-operands.c: Do not include tree-ssa-opfinalize.h. | |
126 | (ALLOC_OPTYPE, APPEND_OP_AFTER, MOVE_HEAD_AFTER, MOVE_HEAD_TO_FREELIST, | |
127 | INITIALIZE_USE, add_def_op, add_use_op, add_vuse_op, add_maydef_op, | |
128 | add_mustdef_op, finalize_ssa_def_ops, finalize_ssa_use_ops, | |
129 | finalize_ssa_v_may_def_ops, finalize_ssa_vuse_ops, | |
130 | finalize_ssa_v_must_def_ops): New. | |
131 | ||
50d5ff7d KZ |
132 | 2006-03-07 Kenneth Zadeck <zadeck@naturalbridge.com> |
133 | ||
134 | * df-scan.c: (df_bb_refs_record): Fix obvious typo with wrong | |
135 | block as parameter. | |
136 | ||
fb638355 GK |
137 | 2006-03-07 Geoffrey Keating <geoffk@apple.com> |
138 | ||
cd554454 GK |
139 | * varasm.c (assemble_end_function): Say that 'fnname' is unused. |
140 | ||
dbde310d GK |
141 | * config/i386/i386.c (ix86_delegitimize_address): Handle Darwin |
142 | addresses with offsets; reorganize. | |
143 | ||
fb638355 GK |
144 | * dwarf2out.c (DWARF2_FRAME_REG_OUT): Move up in file. |
145 | (expand_builtin_dwarf_sp_column): Call DWARF2_FRAME_REG_OUT. | |
146 | (expand_builtin_init_dwarf_reg_sizes): Likewise. | |
147 | ||
0f047685 DB |
148 | 2006-03-08 David Billinghurst <David.Billinghurst@riotinto.com> |
149 | ||
150 | PR target/26588 | |
151 | * config/i386/cygwin.h (GOMP_SELF_SPECS): Define. | |
152 | ||
c18f0c26 BE |
153 | 2006-03-08 Ben Elliston <bje@au.ibm.com> |
154 | ||
155 | * config/fp-bit.h (CMPtype): Typedef to a word mode integer. | |
156 | ||
48fa3029 AH |
157 | 2006-03-07 Aldy Hernandez <aldyh@redhat.com> |
158 | ||
159 | PR gomp/26238 | |
160 | * doc/passes.texi (Tree-SSA passes): Document omp lowering and | |
161 | expansion. | |
162 | ||
6f1be8e1 RG |
163 | 2006-03-07 Richard Guenther <rguenther@suse.de> |
164 | ||
165 | PR tree-optimization/26587 | |
166 | * tree-ssa-structalias.c (handle_ptr_arith): Handle MINUS_EXPR. | |
167 | ||
6410fb81 RS |
168 | 2006-03-07 Richard Sandiford <richard@codesourcery.com> |
169 | ||
170 | * varasm.c (assemble_variable): Fix setting of DECL_IN_TEXT_SECTION. | |
171 | ||
1d3dbd99 RS |
172 | 2006-03-07 Richard Sandiford <richard@codesourcery.com> |
173 | ||
174 | * hooks.c (hook_bool_mode_rtx_true): New function. | |
175 | * hooks.h (hook_bool_mode_rtx_true): Declare. | |
176 | * toplev.c (compile_file): Call output_shared_constant_pool. | |
177 | * varasm.c (shared_constant_pool): New variable. | |
178 | (assemble_start_function, assemble_end_function): Remove arguments | |
179 | from call to output_constant_pool. | |
180 | (create_constant_pool): New function, split out from... | |
181 | (init_varasm_status): ...here. | |
182 | (force_const_mem): Choose between the shared and per-function constant | |
183 | pools. Set current_function_uses_const_pool when reusing old entries | |
184 | as well as when creating new ones. | |
185 | (mark_constant): Ignore data argument. | |
186 | (mark_constants): Remove pool argument. | |
187 | (mark_constant_pool): Likewise. Use current_function_uses_const_pool | |
188 | to decide whether the function uses a constant pool. | |
189 | (output_constant_pool_contents): New function, split out from... | |
190 | (output_constant_pool): ...here. | |
191 | (output_shared_constant_pool): New function. | |
192 | (init_varasm_once): Initialize shared_constant_pool. | |
193 | * output.h (output_constant_pool): Delete. | |
194 | (output_shared_constant_pool): Declare. | |
195 | * config/s390/s390-protos.h (s390_output_constant_pool): Delete. | |
196 | * config/i386/i386.c (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Override. | |
197 | ||
7d14f0fc NC |
198 | 2006-03-06 Nick Clifton <nickc@redhat.com> |
199 | ||
200 | * config/m32r/m32r.h (OPTIMIZATION_OPTIONS): Remove reference to | |
201 | flag_strength_reduce. | |
202 | ||
d9b9633d BE |
203 | 2006-03-06 Ben Elliston <bje@au.ibm.com> |
204 | ||
45b9a4e8 BE |
205 | * config.gcc: Add t-dfprules to $tmake_file for i*86-*-linux* and |
206 | x86_64-*-linux* configurations. | |
207 | ||
d9b9633d | 208 | * config/dfp-bit.h (CMPtype): Typedef to a word mode integer. |
c92f986f | 209 | (LIBGCC2_WORDS_BIG_ENDIAN): Define. |
d9b9633d | 210 | |
acfc4f0a KH |
211 | 2006-03-05 Kazu Hirata <kazu@codesourcery.com> |
212 | ||
213 | * tree-ssa-threadupdate.c (rediscover_loops_after_threading): | |
214 | Remove. | |
215 | * basic-block.h: Remove the extern for | |
216 | rediscover_loops_after_threading. | |
217 | ||
b00bf166 KH |
218 | * cfgloop.c (cancel_loop): Make it static. |
219 | * cfgloop.h: Remove the prototype for cancel_loop. | |
220 | ||
a678e384 KH |
221 | * flow.c (recompute_reg_usage): Make it static. |
222 | * rtl.h: Remove the prototype for recompute_reg_usage. | |
223 | ||
0bf8477d KH |
224 | * function.c (use_return_register): Make it static. |
225 | * function.h: Remove the prototype. | |
226 | ||
d42ee77a KH |
227 | 2006-03-05 Kazu Hirata <kazu@codesourcery.com> |
228 | ||
229 | * recog.c (volatile_mem_p, validate_change_maybe_volatile): | |
230 | Remove. | |
231 | * recog.h: Remove the prototype for | |
232 | validate_change_maybe_volatile. | |
233 | ||
dc782dcd KH |
234 | 2006-03-05 Kazu Hirata <kazu@codesourcery.com> |
235 | ||
236 | * rtlanal.c (replace_reg): Remove. | |
237 | * rtl.h: Remove the prototype for replace_reg. | |
238 | ||
3c491cab KH |
239 | 2006-03-05 Kazu Hirata <kazu@codesourcery.com> |
240 | ||
241 | * regclass.c (reg_scan_update): Remove. | |
242 | (reg_scan_mark_refs): Remove the last argument. | |
243 | * rtl.h: Remove the prototype for reg_scan_update. | |
244 | ||
c0220ea4 KH |
245 | 2006-03-04 Kazu Hirata <kazu@codesourcery.com> |
246 | ||
247 | * builtins.c, c-pragma.h, c-typeck.c, cgraph.c, cgraphunit.c, | |
248 | combine.c, common.opt, config/dfp-bit.c, config/i386/i386.c, | |
249 | config/m68k/m68k.c, config/m68k/m68k.md, config/mt/mt.c, | |
250 | config/mt/mt.h, config/s390/s390.md, df-core.c, df-problems.c, | |
251 | df-scan.c, df.h, diagnostic.c, expr.c, function.h, gimplify.c, | |
252 | loop-invariant.c, omp-low.c, opts.c, passes.c, | |
253 | rtl-factoring.c, rtlanal.c, struct-equiv.c, tree-cfgcleanup.c, | |
254 | tree-ssa-loop-niter.c, tree-ssa-loop-prefetch.c, | |
255 | tree-ssa-structalias.c, tree-ssa-threadedge.c, | |
256 | tree-ssa-threadupdate.c, tree-vect-patterns.c, | |
257 | tree-vect-transform.c, tree-vectorizer.h, tree-vrp.c, | |
258 | unwind-dw2.c: Fix comment typos. Follow spelling conventions. | |
259 | ||
ae3b9f19 KH |
260 | 2006-03-04 Kazu Hirata <kazu@codesourcery.com> |
261 | ||
262 | * dwarf2out.c (dwarf2out_add_library_unit_info): Remove. | |
263 | * dwarf2out.h: Remove the prototype for | |
264 | dwarf2out_add_library_unit_info. | |
265 | ||
a82db052 KH |
266 | 2006-03-04 Kazu Hirata <kazu@codesourcery.com> |
267 | ||
268 | * tree.c (add_var_to_bind_expr): Remove. | |
269 | * tree.h: Remove the prototype for add_var_to_bind_expr. | |
270 | ||
3c6c67f8 KH |
271 | 2006-03-04 Kazu Hirata <kazu@codesourcery.com> |
272 | ||
273 | * regclass.c (n_non_fixed_regs): Remove. | |
274 | (init_reg_sets_1, globalize_reg): Remove all uses of | |
275 | n_non_fixed_regs. | |
276 | * hard-reg-set.h: Remove the extern for n_non_fixed_regs. | |
277 | ||
22ec0cc8 KH |
278 | 2006-03-04 Kazu Hirata <kazu@codesourcery.com> |
279 | ||
280 | * rtlanal.c (insns_safe_to_move_p): Remove. | |
281 | * rtl.h: Remove the prototype for insns_safe_to_move_p. | |
282 | ||
2f8dc5bb KH |
283 | 2006-03-04 Kazu Hirata <kazu@codesourcery.com> |
284 | ||
285 | * expmed.c (expand_mult_add): Remove. | |
286 | * expr.h: Remove the prototype for expand_mult_add. | |
287 | ||
4469af7a JJ |
288 | 2006-03-04 Jakub Jelinek <jakub@redhat.com> |
289 | ||
290 | * unwind-dw2.h (_Unwind_FrameState): Add REG_SAVED_VAL_OFFSET | |
291 | and REG_SAVED_VAL_EXP constants. | |
292 | * unwind-dw2.c (struct _Unwind_Context): Add by_value array. | |
293 | (_Unwind_GetGR, _Unwind_SetGR, _Unwind_GetGRPtr, _Unwind_SetGRPtr): | |
294 | Handle regs stored by value. | |
295 | (_Unwind_SetGRValue, _Unwind_GRByValue): New functions. | |
296 | (execute_cfa_program): Handle DW_CFA_val_offset, | |
297 | DW_CFA_val_offset_sf and DW_CFA_val_expression. | |
298 | (uw_update_context_1): Handle REG_SAVED_REG with regs stored by | |
299 | value specially. Handle REG_SAVED_VAL_OFFSET and REG_SAVED_VAL_EXP. | |
300 | (uw_install_context_1): Handle target regs stored by value. | |
301 | ||
efdb3de9 DB |
302 | 2006-03-03 Daniel Berlin <dberlin@dberlin.org> |
303 | ||
304 | * tree-sra.c (tree_sra): Return todoflags; | |
305 | (generate_one_element): Set TODO_update_smt_usage if needed. | |
306 | (pass_sra): Remove TODO_update_smt_usage. | |
307 | * tree-ssa-forwprop.c (forward_propagate_addr_expr): Add some | |
308 | parameter. | |
309 | (tree_ssa_forward_propagate_single_use_vars): Return | |
310 | TODO_update_smt_usage if we need to update SMT usage. | |
311 | (pass_forwprop): Remove TODO_update_smt_usage. | |
312 | ||
65ad7c63 DN |
313 | 2006-03-03 Diego Novillo <dnovillo@redhat.com> |
314 | ||
315 | * tree-ssa-operands.c: Tidy whitespace. Fix spelling. | |
316 | (correct_use_link): Remove reference to get_stmt_operands. | |
317 | (update_stmt_operands): Likewise. | |
318 | (get_modify_expr_operands): New function factored out of | |
319 | parse_ssa_operands and get_expr_operands. | |
320 | Try to create V_MUST_DEFs for LHS by default. | |
321 | (get_expr_operands) <case MODIFY_EXPR>: Call | |
322 | get_modify_expr_operands. | |
323 | <case ARRAY_RANGE_REF>: Handle together with ARRAY_REF. | |
324 | <case BIT_FIELD_REF>: Clear opf_kill_def from FLAGS. | |
325 | (parse_ssa_operands) <case MODIFY_EXPR>: Call | |
326 | get_modify_expr_operands. | |
327 | ||
417e90ca KH |
328 | 2006-03-03 Kazu Hirata <kazu@codesourcery.com> |
329 | ||
330 | * tree-dfa.c (referenced_var_lookup_if_exists): Remove. | |
331 | * tree-flow.h: Remove the prototype for | |
332 | referenced_var_lookup_if_exists. | |
333 | ||
f6d65153 SE |
334 | 2006-03-03 Steve Ellcey <sje@cup.hp.com> |
335 | ||
336 | PR rtl-optimization/26345 | |
337 | PR target/19061 | |
338 | * config/ia64/predicates.md (basereg_operand): Don't look in subregs. | |
339 | ||
9a75ede0 RS |
340 | 2006-03-03 Roger Sayle <roger@eyesopen.com> |
341 | ||
342 | PR tree-optimization/26524 | |
343 | * tree-scalar-evolution.c (interpret_rhs_modify_expr): Use | |
344 | fold_convert to create a constant of the appropriate type. | |
345 | ||
3fa9c136 RS |
346 | 2006-03-03 Richard Sandiford <richard@codesourcery.com> |
347 | ||
348 | * doc/tm.texi: Refer to SYMBOL_REF_HAS_BLOCK_INFO_P instead of | |
349 | SYMBOL_REF_IN_BLOCK_P. | |
350 | * doc/rtl.texi: Likewise. Refer to SYMBOL_FLAG_HAS_BLOCK_INFO instead | |
351 | of SYMBOL_FLAG_IN_BLOCK. | |
352 | * gengtype.c (adjust_field_rtx_def): Use SYMBOL_REF_HAS_BLOCK_INFO_P | |
353 | instead of SYMBOL_REF_IN_BLOCK_P. | |
354 | * explow.c (use_anchored_address): Likewise. | |
355 | * rtl.c (rtx_size): Likewise. | |
356 | * varasm.c (create_block_symbol): Set SYMBOL_FLAG_HAS_BLOCK_INFO | |
357 | instead of SYMBOL_FLAG_IN_BLOCK. | |
358 | (make_decl_rtl): Use SYMBOL_REF_HAS_BLOCK_INFO_P instead of | |
359 | SYMBOL_REF_IN_BLOCK_P. | |
360 | (assemble_variable): Likewise. | |
361 | (output_constant_def_contents): Likewise. | |
362 | (output_constant_pool): Likewise. | |
363 | (default_encode_section_info): Preserve SYMBOL_FLAG_HAS_BLOCK_INFO | |
364 | instead of SYMBOL_FLAG_IN_BLOCK. | |
365 | * rtl.h (block_symbol): Refer to SYMBOL_REF_HAS_BLOCK_INFO_P instead of | |
366 | SYMBOL_REF_IN_BLOCK_P. | |
367 | (SYMBOL_REF_BLOCK): Likewise. | |
368 | (SYMBOL_REF_OFFSET): Likewise. | |
369 | (BLOCK_SYMBOL_CHECK): Use SYMBOL_REF_HAS_BLOCK_INFO_P instead of | |
370 | SYMBOL_REF_IN_BLOCK_P. | |
371 | (SYMBOL_FLAG_IN_BLOCK): Replace with... | |
372 | (SYMBOL_FLAG_HAS_BLOCK_INFO): ...this. | |
373 | (SYMBOL_REF_IN_BLOCK_P): Replace with... | |
374 | (SYMBOL_REF_HAS_BLOCK_INFO_P): ...this. | |
375 | ||
f677599e JJ |
376 | 2006-03-03 Jakub Jelinek <jakub@redhat.com> |
377 | ||
378 | * config/arm/unwind-arm.h (_Unwind_GetIPInfo): Fix pasto. | |
379 | ||
0f2f71b5 RS |
380 | 2006-03-02 Roger Sayle <roger@eyesopen.com> |
381 | ||
382 | * simplify-rtx.c (simplify_unary_operation): When simplifying | |
383 | (neg (lt X 0)) into (ashiftrt X C) or (lshiftrt X C), make sure | |
384 | that we perform the right shift in the appropriate mode, and | |
385 | then extend or truncate the result to requested mode. | |
386 | ||
f82783bd ZD |
387 | 2006-03-03 Zdenek Dvorak <dvorakz@suse.cz> |
388 | ||
389 | * gengtype.c (main): Handle double_int type. | |
390 | * tree.h (struct tree_int_cst): Make type of int_cst double_int. | |
391 | * double-int.c: New file. | |
392 | * double-int.h: New file. | |
393 | * system.h: Include doubleint.h. | |
394 | * Makefile.in (SYSTEM_H): Include double-int.h. | |
395 | (double-int.o): Add. | |
396 | ||
778f0e89 JM |
397 | 2006-03-03 Joseph S. Myers <joseph@codesourcery.com> |
398 | ||
399 | PR bootstrap/26478 | |
400 | * Makefile.in (stmp-int-hdrs): Remove include/unwind.h before | |
401 | copying over it. | |
402 | ||
701b8964 ZD |
403 | 2006-03-02 Zdenek Dvorak <dvorakz@suse.cz> |
404 | ||
0f2f71b5 RS |
405 | * tree-vrp.c (remove_range_assertions): Do not update statements |
406 | unnecessarily. | |
701b8964 | 407 | |
59994160 ZD |
408 | 2006-03-02 Zdenek Dvorak <dvorakz@suse.cz> |
409 | ||
410 | * cse.c (rest_of_handle_cse): Do not pass CLEANUP_PRE_LOOP to cfg | |
411 | cleanup. | |
412 | * gcse.c (rest_of_handle_gcse): Ditto. | |
413 | * except.c (gate_handle_eh): Ditto. | |
414 | * cfgcleanup.c (rest_of_handle_jump2): Ditto. | |
415 | * basic-block.h (CLEANUP_PRE_LOOP): Remove. | |
416 | ||
5143b5fc EC |
417 | 2006-03-02 Eric Christopher <echristo@apple.com> |
418 | ||
419 | * config/i386/i386.c (machopic_output_stub): Add indirection to | |
420 | jump. | |
421 | ||
c6ba18c6 ZD |
422 | 2006-03-02 Zdenek Dvorak <dvorakz@suse.cz> |
423 | ||
424 | * loop.c: Removed. | |
425 | ||
4c837a1e DM |
426 | 2006-03-02 David S. Miller <davem@sunset.davemloft.net> |
427 | ||
428 | Sun Niagara specific optimizations. | |
429 | * config.gcc: Recognize niagara as target. | |
430 | * config/sparc/sparc.h (SPARC_RELAXED_ORDERING): Mention Niagara. | |
431 | (TARGET_CPU_niagara): Define. | |
432 | (CPP_CPU64_DEFAULT_SPEC): Define __sparc_v9__ for Niagara. | |
433 | (ASM_CPU64_DEFAULT_SPEC): Pass -Av9b for Niagara. | |
434 | (CPP_CPU_SPEC): Handle -mcpu=niagara. | |
435 | (ASM_CPU_SPEC): Likewise. | |
436 | (PROCESSOR_NIAGARA): New enum entry. | |
437 | (REGISTER_MOVE_COST): Handle Niagara. | |
438 | (BRANCH_COST, PREFETCH_BLOCK, SIMULTANEOUS_PREFETCHES): Likewise. | |
439 | * config/sparc/sparc.c (niagara_costs): New processor_costs entry. | |
440 | (sparc_override_options): Recognize "niagara", set appropriate | |
441 | default MASK_* values for it, and align functions to 32-bytes | |
442 | by default just like ULTRASPARC/ULTRASPARC3. | |
443 | (sparc_initialize_trampoline): Handle niagara like ultrasparc. | |
444 | (sparc64_initialize_trampoline): Likewise. | |
445 | (sparc_use_sched_lookahead): Use zero for niagara. | |
446 | (sparc_issue_rate): Use one for niagara. | |
447 | * config/sparc/niagara.md: New file. | |
448 | * config/sparc/sparc.md: Include it. | |
449 | * config/sparc/sol2-bi.h (CPP_CPU64_DEFAULT_SPEC, | |
450 | ASM_CPU32_DEFAULT_SPEC, ASM_CPU64_DEFAULT_SPEC): Set appropriately | |
451 | when default cpu is niagara. | |
452 | (CPP_CPU_SPEC): Handle -mcpu=niagara. | |
453 | (ASM_CPU_SPEC): Likewise. | |
454 | * config/sparc/sol2.h (ASM_CPU_DEFAULT_SPEC): Set appropriately | |
455 | when default cpu is niagara. | |
456 | (ASM_CPU_SPEC): Handle -mcpu=niagara. | |
457 | * config/sparc/linux64.h: Handle a default of TARGET_CPU_niagara | |
458 | just like v9/ultrasparc/ultrasparc3. | |
459 | * doc/invoke.texi: Add documentation for "niagara" and improve | |
460 | existing documentation for ultrasparc variants. | |
5143b5fc | 461 | |
2434ab1d DN |
462 | 2006-03-02 Diego Novillo <dnovillo@redhat.com> |
463 | ||
464 | * tree-ssa-operands.c (update_stmt_operands): Update documentation. | |
465 | ||
434aeebb RS |
466 | 2006-03-02 Richard Sandiford <richard@codesourcery.com> |
467 | ||
468 | * doc/tm.texi (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Document. | |
469 | (ASM_OUTPUT_BSS): Describe the two ways of handling global BSS, | |
470 | and say that only one is needed. | |
471 | * doc/rtl.texi (SYMBOL_REF_BLOCK): Say that the block can be null. | |
472 | * target.h (have_switchable_bss_sections): New hook. | |
473 | * explow.c (use_anchored_address): Check that the symbol is in a block. | |
474 | * varasm.c (tls_comm_section, comm_section, lcomm_section) | |
475 | (bss_noswitch_section): New variables. | |
476 | (get_unnamed_section): Add SECTION_UNNAMED to the flags. | |
477 | (get_noswitch_section): New function. | |
478 | (get_block_for_section): Allow SECT to be null. | |
479 | (unlikely_text_section_p): Use SECTION_STYLE. | |
480 | (bss_initializer_p): New function. | |
481 | (get_variable_section): Move earlier in file. Take a new argument, | |
482 | prefer_noswitch_p. Move bss checks from assemble_variable to here. | |
483 | Return one of the new *_sections in such cases. | |
484 | (get_block_for_decl): New function, extracting some logic from | |
485 | use_blocks_for_decl_p. | |
486 | (change_symbol_section): Remove in favor of... | |
487 | (change_symbol_block): ...this new function. | |
488 | (use_blocks_for_decl_p): Remove checks now performed by | |
489 | get_block_for_decl. | |
490 | (make_decl_rtl): Use change_symbol_block and get_block_for_decl. | |
491 | (ASM_EMIT_LOCAL, ASM_EMIT_BSS, ASM_EMIT_COMMON): Delete in favor of... | |
492 | (emit_local, emit_bss, emit_common): ...these new functions. | |
493 | Return true if the alignment was honored. | |
494 | (emit_tls_common): New function. | |
495 | (asm_emit_uninitialised): Delete. | |
496 | (assemble_variable_noswitch): New function, split out from... | |
497 | (assemble_variable): ...here. Don't make decisions about common | |
498 | variables here. Globalize all public decls that go into non-common | |
499 | sections. Check whether SYMBOL_REF_BLOCK is null. | |
500 | (output_constant_def_contents): Check whether SYMBOL_REF_BLOCK is null. | |
501 | (output_constant_pool): Likewise. | |
502 | (init_varasm_once): Initialize the new section variables. | |
503 | (have_global_bss_p): New function. | |
504 | (categorize_decl_for_section): Use bss_initializer_p. | |
505 | (switch_to_section): Use SECTION_STYLE. Abort for SECTION_NOSWITCH. | |
506 | (place_block_symbol): Assert that the symbol must be in a block. | |
507 | * target-def.h (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): New macro. | |
508 | (TARGET_INITIALIZER): Include it. | |
509 | * rtl.h (SYMBOL_REF_BLOCK): Document the null alternative. | |
510 | * output.h (SECTION_STYLE_MASK, SECTION_COMMON): New macros. | |
511 | (SECTION_MACH_DEP): Bump by two. | |
512 | (SECTION_UNNAMED, SECTION_NOSWITCH): New macros. | |
513 | (unnamed_section): Mention SECTION_UNNAMED in comment. | |
514 | (named_section): Likewise SECTION_NAMED. | |
515 | (noswitch_section_callback): New type. | |
516 | (noswitch_section): New structure. | |
517 | (section): Add a noswitch_section alternative. | |
518 | (SECTION_STYLE): New macro. | |
519 | (tls_comm_section, comm_section, lcomm_section): Declare. | |
520 | (bss_noswitch_section, have_global_bss_p): Declare. | |
521 | * config/elfos.h (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Override. | |
522 | * config/iq2000/iq2000.c (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): | |
523 | Override. | |
524 | * config/v850/v850.c (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Override. | |
525 | * config/stormy16/stormy16.c (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): | |
526 | Override. | |
527 | ||
c2924966 DB |
528 | 2006-03-02 Daniel Berlin <dberlin@dberlin.org> |
529 | ||
530 | * gcc/tree-vrp.c (execute_vrp): Return value. | |
531 | * gcc/regrename.c (rest_of_handle_regrename): Ditto. | |
532 | * gcc/tree-into-ssa.c (rewrite_into_ssa): Ditto. | |
533 | * gcc/tree-complex.c (tree_lower_complex): Ditto. | |
534 | (tree_lower_complex_O0): Ditto. | |
535 | * gcc/tracer.c (rest_of_handle_tracer): Ditto. | |
536 | * gcc/postreload-gcse.c (rest_of_handle_gcse2): Ditto. | |
537 | * gcc/postreload.c (rest_of_handle_postreload): Ditto. | |
538 | * gcc/tree-tailcall.c (execute_tail_recursion): Ditto. | |
539 | (execute_tail_calls): Ditto. | |
540 | * gcc/tree-ssa-loop-ch.c (copy_loop_headers): Ditto. | |
541 | * gcc/tree.h (init_function_for_compilation): Ditto. | |
542 | * gcc/ipa-cp.c (ipcp_driver): Ditto. | |
543 | * gcc/tree-scalar-evolution.c (scev_const_prop): Ditto. | |
544 | * gcc/tree-scalar-evolution.h (scev_const_prop): Ditto. | |
545 | * gcc/final.c (compute_alignments): Ditto. | |
546 | (rest_of_handle_final): Ditto. | |
547 | (rest_of_handle_shorten_branches): Ditto. | |
548 | (rest_of_clean_state): Ditto. | |
549 | * gcc/omp-low.c (execute_expand_omp): Ditto. | |
550 | (execute_lower_omp): Ditto. | |
551 | * gcc/tree-ssa-dse.c (tree_ssa_dse): Ditto. | |
552 | * gcc/ipa-reference.c (static_execute): Ditto. | |
553 | * gcc/tree-ssa-uncprop.c (tree_ssa_uncprop): Ditto. | |
554 | * gcc/reorg.c (rest_of_handle_delay_slots): Ditto. | |
555 | (rest_of_handle_machine_reorg): Ditto. | |
556 | * gcc/cgraphunit.c (rebuild_cgraph_edges): Ditto. | |
557 | * gcc/flow.c (recompute_reg_usage): Ditto. | |
558 | (rest_of_handle_remove_death_notes): Ditto. | |
559 | (rest_of_handle_life): Ditto. | |
560 | (rest_of_handle_flow2): Ditto. | |
561 | * gcc/tree-ssa-copyrename.c (rename_ssa_copies): Ditto. | |
562 | * gcc/tree-ssa-ccp.c (do_ssa_ccp): Ditto. | |
563 | (do_ssa_store_ccp): Ditto. | |
564 | (execute_fold_all_builtins): Ditto. | |
565 | * gcc/mode-switching.c (rest_of_handle_mode_switching): Ditto. | |
566 | * gcc/modulo-sched.c (rest_of_handle_sms): Ditto. | |
567 | * gcc/ipa-pure-const.c (static_execute): Ditto. | |
568 | * gcc/cse.c (rest_of_handle_cse): Ditto. | |
569 | (rest_of_handle_cse2): Ditto. | |
570 | * gcc/web.c (rest_of_handle_web): Ditto. | |
571 | * gcc/tree-stdarg.c (execute_optimize_stdarg): Ditto. | |
572 | * gcc/tree-ssa-math-opts.c (execute_cse_reciprocals): Ditto. | |
573 | * gcc/tree-ssa-dom.c (tree_ssa_dominator_optimize): Ditto. | |
574 | * gcc/tree-nrv.c (tree_nrv): Ditto. | |
575 | (execute_return_slot_opt): Ditto. | |
576 | * gcc/tree-ssa-alias.c (compute_may_aliases): Ditto. | |
577 | (create_structure_vars): Ditto. | |
578 | * gcc/loop-init.c (rtl_loop_init): Ditto. | |
579 | (rtl_loop_done): Ditto. | |
580 | (rtl_move_loop_invariants): Ditto. | |
581 | (rtl_unswitch): Ditto. | |
582 | (rtl_unroll_and_peel_loops): Ditto. | |
583 | (rtl_doloop): Ditto. | |
584 | * gcc/gimple-low.c (lower_function_body): Ditto. | |
585 | (mark_used_blocks): Ditto. | |
586 | * gcc/tree-ssa-sink.c (execute_sink_code): Ditto. | |
587 | * gcc/ipa-inline.c (cgraph_decide_inlining): Ditto. | |
588 | (cgraph_early_inlining): Ditto. | |
589 | * gcc/global.c (rest_of_handle_global_alloc): Ditto. | |
590 | * gcc/jump.c (cleanup_barriers): Ditto. | |
591 | (purge_line_number_notes): Ditto. | |
592 | * gcc/ifcvt.c (rest_of_handle_if_conversion): Ditto. | |
593 | (rest_of_handle_if_after_reload): Ditto. | |
594 | * gcc/tree-ssa-loop.c (tree_ssa_loop_init): Ditto. | |
595 | (tree_ssa_loop_im): Ditto. | |
596 | (tree_ssa_loop_unswitch): Ditto. | |
597 | (tree_vectorize): Ditto. | |
598 | (tree_linear_transform): Ditto. | |
599 | (tree_ssa_loop_ivcanon): Ditto. | |
600 | (tree_ssa_empty_loop): Ditto. | |
601 | (tree_ssa_loop_bounds): Ditto. | |
602 | (tree_complete_unroll): Ditto. | |
603 | (tree_ssa_loop_prefetch): Ditto. | |
604 | (tree_ssa_loop_ivopts): Ditto. | |
605 | (tree_ssa_loop_done): Ditto. | |
606 | * gcc/predict.c (tree_estimate_probability): Ditto. | |
607 | * gcc/recog.c (split_all_insns_noflow): Ditto. | |
608 | (rest_of_handle_peephole2): Ditto. | |
609 | (rest_of_handle_split_all_insns): Ditto. | |
610 | * gcc/tree-eh.c (lower_eh_constructs): Ditto. | |
611 | * gcc/regmove.c (rest_of_handle_regmove): Ditto. | |
612 | (rest_of_handle_stack_adjustments): Ditto. | |
613 | * gcc/local-alloc.c (rest_of_handle_local_alloc): Ditto. | |
614 | * gcc/function.c (instantiate_virtual_regs): Ditto. | |
615 | (init_function_for_compilation): Ditto. | |
616 | (rest_of_handle_check_leaf_regs): Ditto. | |
617 | * gcc/gcse.c (rest_of_handle_jump_bypass): Ditto. | |
618 | (rest_of_handle_gcse): Ditto. | |
619 | * gcc/ipa-type-escape.c (type_escape_execute): Ditto. | |
620 | * gcc/alias.c (rest_of_handle_cfg): Ditto. | |
621 | * gcc/tree-if-conv.c (main_tree_if_conversion): Ditto. | |
622 | * gcc/profile.c (rest_of_handle_branch_prob): Ditto. | |
623 | * gcc/tree-ssa-phiopt.c (tree_ssa_phiopt): Ditto. | |
624 | * gcc/rtl-factoring.c (rest_of_rtl_seqabstr): Ditto. | |
625 | * gcc/bt-load.c (rest_of_handle_branch_target_load_optimize): Ditto | |
626 | * gcc/tree-dfa.c (find_referenced_vars): Ditto. | |
627 | * gcc/except.c (set_nothrow_function_flags): Ditto. | |
628 | (convert_to_eh_region_ranges): Ditto. | |
629 | (rest_of_handle_eh): Ditto. | |
630 | * gcc/emit-rtl.c (unshare_all_rtl): Ditto. | |
631 | (remove_unnecessary_notes): Ditto. | |
632 | * gcc/except.h (set_nothrow_function_flags): Ditto. | |
633 | (convert_to_eh_region_ranges): Ditto. | |
634 | * gcc/cfgexpand.c (tree_expand_cfg): Ditto. | |
635 | * gcc/tree-cfgcleanup.c (merge_phi_nodes): Ditto. | |
636 | * gcc/tree-ssa-pre.c (do_pre): Ditto. | |
637 | (execute_fre): Ditto. | |
638 | * gcc/cfgcleanup.c (rest_of_handle_jump): Ditto. | |
639 | (rest_of_handle_jump2): Ditto. | |
640 | * gcc/tree-sra.c (tree_sra): Ditto. | |
641 | * gcc/tree-mudflap.c (execute_mudflap_function_ops): Ditto. | |
642 | (execute_mudflap_function_decls): Ditto. | |
643 | * gcc/tree-ssa-copy.c (do_copy_prop): Ditto. | |
644 | (do_store_copy_prop): Ditto. | |
645 | * gcc/ipa-prop.h (ipcp_driver): Ditto. | |
646 | * gcc/cfglayout.c (insn_locators_initialize): Ditto. | |
647 | * gcc/tree-ssa-forwprop.c | |
648 | (tree_ssa_forward_propagate_single_use_vars): Ditto. | |
649 | * gcc/cfglayout.h (insn_locators_initialize): Ditto. | |
650 | * gcc/tree-ssa-dce.c (tree_ssa_dce): Ditto. | |
651 | * gcc/tree-ssa.c (execute_early_warn_uninitialized): Ditto. | |
652 | (execute_late_warn_uninitialized): Ditto. | |
653 | * gcc/rtl.h (cleanup_barriers): Ditto. | |
654 | (split_all_insns_noflow): Ditto. | |
655 | (purge_line_number_notes): Ditto. | |
656 | (unshare_all_rtl): Ditto. | |
657 | (remove_unnecessary_notes): Ditto. | |
658 | (recompute_reg_usage): Ditto. | |
659 | (variable_tracking_main): Ditto. | |
660 | * gcc/integrate.c (emit_initial_value_sets): Ditto. | |
661 | * gcc/integrate.h (emit_initial_value_sets): Ditto. | |
662 | * gcc/tree-optimize.c (execute_free_datastructures): Ditto | |
663 | (execute_free_cfg_annotations): Ditto. | |
664 | (execute_fixup_cfg): Ditto. | |
665 | (execute_cleanup_cfg_pre_ipa): Ditto. | |
666 | (execute_cleanup_cfg_post_optimizing): Ditto. | |
667 | (execute_init_datastructures): Ditto. | |
668 | * gcc/tree-object-size.c (compute_object_sizes): Ditto. | |
669 | * gcc/combine.c (rest_of_handle_combine): Ditto. | |
670 | * gcc/tree-outof-ssa.c (rewrite_out_of_ssa): Ditto. | |
671 | * gcc/bb-reorder.c (duplicate_computed_gotos): Ditto. | |
672 | (rest_of_handle_reorder_blocks): Ditto. | |
673 | (rest_of_handle_partition_blocks): Ditto. | |
674 | * gcc/var-tracking.c (variable_tracking_main): Ditto. | |
675 | * gcc/tree-profile.c (tree_profiling): Ditto. | |
676 | * gcc/tree-vect-generic.c (expand_vector_operations): Ditto. | |
677 | * gcc/reg-stack.c (rest_of_handle_stack_regs): Ditto. | |
678 | * gcc/sched-rgn.c (rest_of_handle_sched): Ditto. | |
679 | (rest_of_handle_sched2): Ditto. | |
680 | * gcc/basic-block.h (free_bb_insn): Ditto. | |
681 | * gcc/tree-ssa-structalias.c (ipa_pta_execute): Ditto. | |
682 | * gcc/tree-cfg.c (execute_build_cfg): Ditto. | |
683 | (remove_useless_stmts): Ditto. | |
684 | (split_critical_edges): Ditto. | |
685 | (execute_warn_function_return): Ditto. | |
686 | (execute_warn_function_noreturn): Ditto. | |
687 | * gcc/tree-ssa-reassoc.c (execute_reassoc): Ditto. | |
688 | * gcc/cfgrtl.c (free_bb_for_insn): Ditto. | |
689 | * gcc/passes.c (execute_one_pass): Run additional | |
690 | todos returned by execute function. | |
691 | * gcc/tree-pass.h (struct tree_opt_pass): Make execute | |
692 | return a value. | |
693 | ||
62c577fd RG |
694 | 2006-03-02 Richard Guenther <rguenther@suse.de> |
695 | ||
696 | * tree-ssa-alias.c (find_used_portions): Consider taking | |
697 | the address as making the variable not write-only. | |
698 | ||
c5dde55b NC |
699 | 2006-03-02 Nick Clifton <nickc@redhat.com> |
700 | ||
701 | * config.gcc (default_use_cxa_atexit): Extend the description of | |
702 | this configure variable. Set its default value to "yes" for | |
703 | Linux, NetBSD and ELF targets on the assumption that they will | |
704 | use C libraries with the __cxa_atexit function. | |
705 | ||
75334508 BE |
706 | 2006-03-02 Ben Elliston <bje@au.ibm.com> |
707 | ||
708 | * config/rs6000/linux-unwind.h (frob_update_context): Mark `fs' | |
709 | parameter as unused to suppress a build warning. | |
710 | ||
16c44183 BE |
711 | 2006-03-02 Ben Elliston <bje@au.ibm.com> |
712 | ||
713 | * mklibgcc.in: Depend on config/dfp-bit.h in rules that compile | |
714 | config/dfp-bit.c. | |
715 | ||
a11dd268 RS |
716 | 2006-03-01 Roger Sayle <roger@eyesopen.com> |
717 | ||
718 | PR other/26489 | |
719 | * gthr-posix.h (__gthrw2): Define to take three parameters, the | |
720 | declared name, the weak reference name, and the typeof name. | |
721 | (__gthrw): Avoid expanding the declared name suffix. | |
722 | (__gthrw3): New Tru64 specific macro to simplify the OSF/1 decls. | |
723 | ||
d213accd JJ |
724 | 2006-03-01 Jakub Jelinek <jakub@redhat.com> |
725 | ||
726 | * dwarf2.h (DW_TAG_condition, DW_TAG_shared_type): New constants | |
727 | from DWARF 3. | |
728 | (DW_AT_description, DW_AT_binary_scale, DW_AT_decimal_scale, | |
729 | DW_AT_small, DW_AT_decimal_sign, DW_AT_digit_count, | |
730 | DW_AT_picture_string, DW_AT_mutable, DW_AT_threads_scaled, | |
731 | DW_AT_explicit, DW_AT_object_pointer, DW_AT_endianity, | |
732 | DW_AT_elemental, DW_AT_pure, DW_AT_recursive): New. | |
733 | (DW_OP_form_tls_address, DW_OP_call_frame_cfa, DW_OP_bit_piece): New. | |
734 | (DW_ATE_packed_decimal, DW_ATE_numeric_string, DW_ATE_edited, | |
735 | DW_ATE_signed_fixed, DW_ATE_unsigned_fixed): New. | |
736 | (DW_DS_unsigned, DW_DS_leading_overpunch, DW_DS_trailing_overpunch, | |
737 | DW_DS_leading_separate, DW_DS_trailing_separate): New. | |
738 | (DW_END_default, DW_END_big, DW_END_little): New. | |
739 | (DW_END_lo_user, DW_END_hi_user): Define. | |
740 | (DW_LNE_lo_user, DW_LNE_hi_user): Define. | |
741 | (DW_CFA_val_offset, DW_CFA_val_offset_sf, DW_CFA_val_expression): New. | |
742 | (DW_LANG_PLI, DW_LANG_ObjC, DW_LANG_ObjC_plus_plus, DW_LANG_UPC, | |
743 | DW_LANG_D): New. | |
744 | ||
18cd8a03 DN |
745 | 2006-03-01 Diego Novillo <dnovillo@redhat.com> |
746 | ||
747 | * tree.def (SYMBOL_MEMORY_TAG): Rename from TYPE_MEMORY_TAG. | |
748 | Update all users. | |
749 | * tree-pass.h (PROP_smt_usage): Rename from PROP_tmt_usage. | |
750 | Update all users. | |
751 | (TODO_update_smt_usage): Rename from TODO_update_tmt_usage. | |
752 | Update all users. | |
753 | * tree.h (SMT_USED_ALONE): Rename from TMT_USED_ALONE. | |
754 | Update all users. | |
755 | * tree-flow.h (struct var_ann_d): Rename field 'type_mem_tag' | |
756 | to 'symbol_mem_tag'. | |
757 | Update all users. | |
758 | * doc/tree-ssa.texi: Update documentation to reflect TMT->SMT | |
759 | rename. | |
760 | ||
8acb1b3d RS |
761 | 2006-03-01 Roger Sayle <roger@eyesopen.com> |
762 | ||
763 | * builtins.c (fold_builtin_copysign): Delete unreachable code. | |
764 | ||
c446d1a7 AP |
765 | 2006-03-01 Andrew Pinski <pinskia@physics.uc.edu> |
766 | ||
767 | PR target/25761 | |
768 | * config/darwin.h (MACHOPIC_JUST_INDIRECT): Check just | |
769 | MACHO_DYNAMIC_NO_PIC_P. | |
770 | (MACHOPIC_PURE): Check flag_pic and not MACHO_DYNAMIC_NO_PIC_P. | |
771 | ||
ab0ff804 AP |
772 | 2006-03-01 Andrew Pinski <pinskia@physics.uc.edu> |
773 | ||
774 | PR target/26389 | |
775 | * config/darwin-protos.h (darwin_asm_output_anchor): | |
776 | Declare. | |
777 | * config/darwin-sections.def (cstring_section): | |
778 | Add SECTION_MERGE to the flags. | |
779 | (literal4_section): Likewise. | |
780 | (literal8_section): Likewise. | |
781 | (objc_selector_refs_section): Likewise. | |
782 | (objc_cls_refs_section): Likewise. | |
783 | * config/darwin.c (darwin_asm_output_anchor): New | |
784 | function. | |
785 | * config/darwin.h (TARGET_ASM_OUTPUT_ANCHOR): Define. | |
786 | ||
607f460c | 787 | 2006-03-01 Daniel Berlin <dberlin@dberlin.org> |
18cd8a03 | 788 | |
607f460c DB |
789 | Fix PR tree-optimization/26443 |
790 | * tree-vrp.c (pass_vrp): Add TODO_update_tmt_usage | |
791 | to todo and PROP_tmt_usage to properties_destroyed. | |
792 | * tree-ssa-ccp.c (pass_ccp): Ditto. | |
793 | (pass_store_ccp): Ditto. | |
794 | * tree-ssa-dom.c (pass_dominator): Ditto. | |
795 | ||
02075bb2 DN |
796 | 2006-03-01 Diego Novillo <dnovillo@redhat.com> |
797 | ||
798 | * tree-ssa-operands.c: Cleanup whitespace. | |
799 | (get_asm_expr_operands): Move before first invocation. | |
800 | (get_indirect_ref_operands): Likewise. | |
801 | (get_tmr_operands): Likewise. | |
802 | (get_call_expr_operands): Likewise. | |
803 | (append_def): Likewise. | |
804 | (append_use): Likewise. | |
805 | (append_v_may_def): Likewise. | |
806 | (append_v_must_def): Likewise. | |
807 | (add_call_clobber_ops): Likewise. | |
808 | (add_call_read_ops): Likewise. | |
809 | (add_stmt_operand): Likewise. | |
810 | (add_virtual_operand): Likewise. | |
811 | (build_ssa_operands): Likewise. | |
812 | ||
813 | 2006-03-01 Andrew Pinski <pinskia@physics.uc.edu> | |
1809ff6b AP |
814 | |
815 | PR middle-end/26022 | |
816 | Revert: | |
817 | PR middle-end/24437 | |
818 | * tree-ssa-ccp.c (fold_stmt): Move folding of OBJ_TYPE_REF | |
819 | with a call expr to ... | |
820 | * fold-const.c (fold_ternary) <case CALL_EXPR>: Here. | |
821 | ||
6578c101 DN |
822 | 2006-03-01 Diego Novillo <dnovillo@redhat.com> |
823 | ||
824 | * tree-vrp.c (extract_range_from_assert): Remove special | |
825 | handling for types with super-types. | |
826 | ||
0eafb3ec BE |
827 | 2006-03-01 Ben Elliston <bje@au.ibm.com> |
828 | ||
ec09c26e BE |
829 | * config.gcc: Add t-dfprules to $tmake_file for powerpc-*-linux* |
830 | and powerpc64-*-linux* configurations. | |
831 | * config/t-dfprules: New file. | |
832 | ||
0eafb3ec BE |
833 | * mklibgcc.in: Add logic to handle $DFP_ENABLE and $DFP_CFLAGS. |
834 | Compile dfp-bit.c from the source directory using -DWIDTH and | |
835 | $DFP_CFLAGS to control the compilation of that file, rather than | |
836 | generating width-specific versions in the build directory. | |
837 | * Makefile.in (libgcc.mk): Pass down DFP_ENABLE and DFP_CFLAGS. | |
838 | (LIBGCC_DEPS): Replace $(D32PBIT) et al with config/dfp-bit.[hc]. | |
839 | ||
cccb0908 ZW |
840 | 2006-02-28 Zack Weinberg <zackw@panix.com> |
841 | ||
842 | * doc/md.texi: Avoid use of @headitem so that makeinfo <4.7 | |
843 | continues to work. | |
844 | ||
31abac07 EC |
845 | 2006-02-28 Eric Christopher <echristo@apple.com> |
846 | ||
847 | * config/rs6000/darwin.h (ENABLE_STACK_EXECUTE): Define. | |
848 | Set up IN_LIBGCC definition of TARGET_64BIT. | |
849 | * config/i386/darwin.h (ENABLE_STACK_EXECUTE): Define. | |
850 | ||
c457fcec RS |
851 | 2006-02-28 Roger Sayle <roger@eyesopen.com> |
852 | ||
853 | PR middle-end/14752 | |
854 | * c-common.c (c_common_truthvalue_conversion) <MINUS_EXPR, | |
855 | BIT_XOR_EXPR, BIT_AND_EXPR>: Delete. Let fold optimize these | |
856 | cases via the construction of "expr != 0". | |
857 | ||
63292ebf SB |
858 | 2006-02-28 Steven Bosscher <stevenb.gcc@gmail.com> |
859 | ||
860 | * alias.c (alias_invariant, alias_invariant_size): Remove. | |
861 | (record_base_value): Remove. | |
862 | (memrefs_conflict_p): Don't look at alias_invariant. | |
863 | (end_alias_analysis): Don't free it. | |
864 | * alias.h (record_base_value): Remove prototype. | |
865 | ||
d3b72690 PB |
866 | 2006-02-28 Paolo Bonzini <bonzini@gnu.org> |
867 | Adam Nemet <anemet@caviumnetworks.com> | |
868 | ||
869 | * rtl.h (truncated_to_mode): Declare it. | |
870 | (struct rtl_hooks): Add reg_truncated_to_mode hook. | |
871 | * rtlhooks-def.h (RTL_HOOKS_REG_TRUNCATED_TO_MODE): New macro. | |
872 | (RTL_HOOKS_INITIALIZER): Include it. | |
873 | * rtlhooks.c (reg_truncated_to_mode_general): New function. | |
874 | * combine.c (RTL_HOOKS_REG_TRUNCATED_TO_MODE): Override to | |
875 | reg_truncated_to_mode. | |
876 | * rtlanal.c (truncated_to_mode): Define it. | |
877 | * simplify-rtx.c (simplify_unary_operation_1): Use it. | |
878 | ||
ea45681a JL |
879 | 2006-02-28 Jeff Law <law@redhat.com> |
880 | ||
e5c7f9f5 JL |
881 | * tree-chrec.c (chrec_convert_aggressive): Do not eliminate |
882 | conversions where TYPE_MIN_VALUE/TYPE_MAX_VALUE do not cover | |
883 | the range allowed by TYPE_PRECISION. | |
884 | ||
ea45681a JL |
885 | * tree.h (strct phi_arg_d): Remove unused NONZERO field. |
886 | ||
7ffe0f0d DN |
887 | 2006-02-28 Dorit Nuzman <dorit@il.ibm.com> |
888 | ||
889 | PR tree-optimization/26419 | |
890 | * doc/invoke.texi (ftree-vectorizer-verbose): Add information on | |
891 | values of n. | |
892 | ||
3fa1b0e5 ZW |
893 | 2006-02-27 Zack Weinberg <zackw@panix.com> |
894 | ||
895 | * doc/md.texi: Fix typo in previous change. | |
896 | ||
75743f02 KZ |
897 | 2006-02-27 Kenneth Zadeck <zadeck@naturalbridge.com> |
898 | ||
899 | * df.c: Remove. | |
900 | ||
f38840db ZW |
901 | 2006-02-27 Zack Weinberg <zackw@panix.com> |
902 | ||
903 | * rtl.def (define_constraint, define_register_constraint) | |
904 | (define_memory_constraint, define_address_constraint): New MD forms. | |
905 | * gensupport.c (process_rtx): Put define_constraint etc on the | |
906 | predicate queue. | |
907 | * genpreds.c (process_define_predicate): Adjust comment. Validate | |
908 | the name, and call validate_exp to validate the expression. | |
909 | (mark_mode_tests, write_extract_subexp): Can assume correct input. | |
910 | (write_predicate_expr): Likewise. NAME argument no longer necessary; | |
911 | all callers changed. | |
912 | (validate_exp, needs_variable, struct constraint_data) | |
913 | (constraints_by_letter_table, first_constraint, last_constraint_ptr) | |
914 | (FOR_ALL_CONSTRAINTS, generic_constraint_letters, const_int_constraints) | |
915 | (const_dbl_constraints, constraint_max_namelen) | |
916 | (have_register_constraints, have_memory_constraints) | |
917 | (have_address_constraints, have_address_constraints) | |
918 | (have_extra_constraints, have_const_int_constraints) | |
919 | (have_const_dbl_constraints, mangle, add_constraint) | |
920 | (process_define_constraint, process_define_register_constraint) | |
921 | (write_enum_constraint_num, write_lookup_constraint) | |
922 | (write_insn_constraint_len, write_regclass_for_constraint) | |
923 | (write_constraint_satisfied_p, write_insn_const_int_ok_for_constraint) | |
924 | (write_insn_extra_memory_constraint) | |
925 | (write_insn_extra_address_constraint) | |
926 | (write_satisfies_constraint_fns): New. | |
927 | (write_tm_preds_h): If we have new-style constraint definitions, | |
928 | prototype the functions generated from them, and define the | |
929 | old constraint interface (still used by generic code) in terms of | |
930 | those functions. | |
931 | (write_insn_preds_c): If we have new-style constraint definitions, | |
932 | generate all relevant functions from those definitions. | |
933 | (main): Handle define_constraint etc. | |
934 | * genoutput.c (struct constraint_data, indep_constraints) | |
935 | (mdep_constraint_letters, constraints_by_letter_table, note_constraint) | |
936 | (mdep_constraint_len): New data structures and functions, defined | |
937 | #ifdef USE_MD_CONSTRAINTS. | |
938 | (check_constraint_len): Don't define #ifdef USE_MD_CONSTRAINTS. | |
939 | (validate_insn_alternatives): If USE_MD_CONSTRAINTS is defined, | |
940 | use new logic to validate operand constraints against constraint | |
941 | definitions. | |
942 | (main): Process define_constraint etc. if USE_MD_CONSTRAINTS is | |
943 | defined. | |
944 | * defaults.h: If none of the old-style constraint macros are | |
945 | defined, define USE_MD_CONSTRAINTS; do not provide defaults for any | |
946 | old-style macros; and poison REG_CLASS_FROM_LETTER, | |
947 | CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P, and | |
948 | EXTRA_CONSTRAINT. | |
949 | * recog.c (reg_fits_class_p): If cl is NO_REGS, return 0 immediately. | |
950 | * doc/md.texi: Document new constraint-definition mechanism and the | |
951 | C interface it provides. Remove references to old mechanism | |
952 | elsewhere in the document. | |
953 | (Machine Constraints): Use pathnames relative to gcc directory, | |
954 | i.e. config/ARCH/FILE. Change i386 section to refer to | |
955 | config/i386/predicates.md; update that section to match docstrings. | |
956 | * doc/tm.texi: Move all documentation of the old constraint- | |
957 | definition macros to their own section, clearly mark as obsolete. | |
958 | ||
959 | * config/i386/predicates.md (R, q, Q, l, a, b, c, d, S, D, A, f, t) | |
960 | (u, y, x, Y, I, J, K, L, M, N, O, G, C, e, Z): New constraint | |
961 | definitions. | |
962 | * config/i386/i386.h (REG_CLASS_FROM_LETTER, CONST_OK_FOR_LETTER_P) | |
963 | (CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT): Delete. | |
964 | * config/i386/i386.md (*movdf_nointeger): Remove stray 'H' from | |
965 | constraint strings. | |
966 | (splits and peepholes): Use satisfies_constraint_*. | |
967 | * config/i386/i386.c (memory_address_length) | |
968 | (ix86_attr_length_immediate_default): Use satisfies_constraint_*. | |
969 | ||
e3e868f6 DB |
970 | 2006-02-27 Daniel Berlin <dberlin@dberlin.org> |
971 | ||
972 | * lambda-code.c (can_convert_to_perfect_nest): Allow any type of | |
973 | scalar operation to be put back into the loop. | |
974 | ||
754e45a8 JJ |
975 | 2006-02-27 Jakub Jelinek <jakub@redhat.com> |
976 | ||
977 | PR other/26208 | |
978 | * unwind-dw2.c (struct _Unwind_Context): Add signal_frame field. | |
979 | (extract_cie_info): Handle S flag in augmentation string. | |
980 | (execute_cfa_program): If context->signal_frame, execute also | |
981 | fs->pc == context->ra instructions. | |
982 | (uw_frame_state_for): If context->signal_frame, don't subtract one | |
983 | from context->ra to find FDE. | |
984 | (uw_update_context_1): Set context->signal_frame to | |
985 | fs->signal_frame. | |
986 | (_Unwind_GetIPInfo): New function. | |
987 | * unwind-dw2.h (_Unwind_FrameState): Add signal_frame field. | |
988 | * unwind-c.c (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead | |
989 | of _Unwind_GetIP. | |
990 | * unwind-sjlj.c (_Unwind_GetIPInfo): New function. | |
991 | * unwind-generic.h (_Unwind_GetIPInfo): New prototype. | |
992 | * unwind-compat.c (_Unwind_GetIPInfo): New function. | |
993 | * libgcc-std.ver (_Unwind_GetIPInfo): Export @@GCC_4.2.0. | |
994 | * config/ia64/unwind-ia64.c (_Unwind_GetIPInfo): New function. | |
995 | * config/arm/unwind-arm.h (_Unwind_GetIPInfo): Define. | |
996 | * config/i386/linux-unwind.h (x86_fallback_frame_state, | |
997 | x86_64_fallback_frame_state): Set fs->signal_frame. | |
998 | * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise. | |
999 | (MD_FROB_UPDATE_CONTEXT): Define unconditionally. | |
1000 | (frob_update_context): Likewise. Workaround missing S flag in | |
1001 | Linux 2.6.12 - 2.6.16 kernel vDSOs. | |
1002 | * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise. | |
1003 | Remove the psw_addr + 1 hack. | |
1004 | ||
6df11ca1 DB |
1005 | 2006-02-27 Daniel Berlin <dberlin@dberlin.org> |
1006 | ||
1007 | * tree-ssa-structalias.c (get_constraint_for): Move code to deal | |
1008 | with aggregates here. | |
1009 | (find_func_aliases): Remove code for &<aggregate> from here. | |
1010 | ||
5881ad5d RS |
1011 | 2006-02-26 Roger Sayle <roger@eyesopen.com> |
1012 | ||
1013 | * fold-const.c (fold_binary) <EQ_EXPR>: Fold (~X & C) eq/ne 0 as | |
1014 | (X & C) ne/eq 0, where C is a single bit, i.e. a power of two. | |
1015 | Fold both "((X & C) ^ C) eq/ne 0" and "((X ^ C) & C) eq/ne 0" | |
1016 | as (X & C) ne/eq 0. | |
1017 | ||
53f1b560 RS |
1018 | 2006-02-26 Roger Sayle <roger@eyesopen.com> |
1019 | ||
1020 | PR middle-end/19983 | |
1021 | * real.c (real_nan): Allow both 0x and 0X as hexadecimal prefixes. | |
1022 | ||
efa1cdf0 ZD |
1023 | 2006-02-26 Zdenek Dvorak <dvorakz@suse.cz> |
1024 | ||
1025 | * opts.c (decode_options): Do not handle flag_strength_reduce. | |
1026 | (common_handle_option): Handle OPT_floop_optimize, OPT_frerun_loop_opt | |
1027 | and OPT_fstrength_reduce. | |
1028 | * tree-ssa-loop.c (tree_ssa_loop_prefetch): Only test | |
1029 | flag_prefetch_loop_arrays for being nonzero. | |
1030 | * common.opt (floop-optimize, frerun-loop-opt): Resurrected as | |
1031 | no-ops. | |
1032 | (fprefetch-loop-arrays-rtl): Removed. | |
1033 | (flag_prefetch_loop_arrays): Do not specify the value. | |
1034 | ||
1035 | * doc/passes.texi: Update documentation of loop optimizer | |
1036 | passes. | |
1037 | * doc/invoke.texi (-fstrength-reduce, -fprefetch-loop-arrays-rtl, | |
1038 | -frerun-loop-opt): Remove. | |
1039 | ||
651402f1 RG |
1040 | 2006-02-26 Richard Guenther <rguenther@suse.de> |
1041 | ||
1042 | PR tree-optimization/26421 | |
1043 | * tree-ssa-alias.c (find_used_portions): Don't treat parameters | |
1044 | in function calls that are ADDR_EXPRs as using the whole structure. | |
1045 | ||
37818e7c SB |
1046 | 2006-02-26 Steven Bosscher <stevenb.gcc@gmail.com> |
1047 | ||
1048 | * common.opt (-floop-optimize, -frerun-loop-opt): Remove. | |
1049 | * tree-pass.h (pass_loop_optimize): Remove. | |
1050 | * passes.c (pass_loop_optimize): Never run it. | |
1051 | * toplev.c (backend_init): Don't call init_loop. | |
1052 | * opts.c (flag_loop_optimize_set): Remove. | |
1053 | (decode_options): Never set flag_loop_optimize or flag_rerun_loop_opt. | |
1054 | (common_handle_option) <OPT_floop_optimize>: Remove. Don't disable | |
1055 | the old RTL loop optimizer when profiling enabled. | |
1056 | * predict.c (tree_estimate_probability): Always strip builtin_expect. | |
1057 | * cfgcleanup.c (try_forward_edges): Don't avoid killing loop | |
1058 | pre-headers for the sake of the old RTL loop optimizer. | |
1059 | * Makefile.in: Remove all references to loop.o. | |
1060 | ||
1061 | * doc/invoke.texi: Remove all references to -floop-optimize | |
1062 | and -frerun-loop-opt. | |
1063 | ||
74fe790b ZW |
1064 | 2006-02-26 Zack Weinberg <zackw@panix.com> |
1065 | ||
1066 | * doc/md.texi (Machine Constraints): Refer to all files with paths | |
1067 | relative to gcc directory (i.e. config/CPU/file). Add missing | |
1068 | @table @code ... @end table to M32C subsection. | |
1069 | ||
cef65eaa RS |
1070 | 2006-02-26 Roger Sayle <roger@eyesopen.com> |
1071 | ||
1072 | * fold-const.c (fold_binary) <BIT_XOR_EXPR>: Fold (X & 1) ^ 1 as | |
1073 | (X & 1) == 0. | |
1074 | <BIT_AND_EXPR>: Fold (X ^ 1) & 1 and ~X & 1 as (X & 1) == 0. | |
1075 | ||
a861485c RS |
1076 | 2006-02-26 Roger Sayle <roger@eyesopen.com> |
1077 | James A. Morrison <phython@gcc.gnu.org> | |
1078 | ||
1079 | PR middle-end/21137 | |
1080 | * fold-const.c (fold_binary) <EQ_EXPR>: Fold ((X>>C1)&C2) eq/ne 0, | |
1081 | when C2 is a power of two, as either (X&(C2<<C1)) eq/ne 0 if the | |
1082 | new constant C2<<C1, or as (X<0) or (X,false) depending upon the | |
1083 | signedness of the shift operation. | |
1084 | ||
afa38a95 DN |
1085 | 2006-02-26 Dorit Nuzman <dorit@il.ibm.com> |
1086 | ||
1087 | PR tree-optimization/26359 | |
1088 | * tree-ssa-alias.c (new_type_alias): Set fields for new tag. | |
1089 | ||
5484a3c3 RS |
1090 | 2006-02-25 Roger Sayle <roger@eyesopen.com> |
1091 | ||
1092 | * simplify-rtx.c (simplify_relational_operation_1): Simplify | |
1093 | (X^Y) == 0 as X == Y and (X^Y) != 0 as X != Y. Simplify (X^Y) == Y | |
1094 | as X == 0, and some symmetry related transformations. | |
1095 | Simplify (X^C1) == C2 as X == (C1^C2). Split long comment line. | |
1096 | ||
eb8dffe0 RS |
1097 | 2006-02-25 Roger Sayle <roger@eyesopen.com> |
1098 | ||
1099 | PR middle-end/23673 | |
1100 | * fold-const.c (fold_binary) <EQ_EXPR>: Fold (X^Y) == 0 as X == Y | |
1101 | and (X^Y) != 0 as X != Y. Fold (X^Y) == Y as X == 0, and some | |
1102 | symmetry related transformations. Fold (X^C1) == C2 as | |
1103 | X == (C1^C2). | |
1104 | ||
332cf1b3 JW |
1105 | 2006-02-25 Juergen Weigert <jw@suse.de> |
1106 | Richard Guenther <rguenther@suse.de> | |
1107 | ||
1108 | * scan-decls.c (scan_decls): Don't fetch new statement after CPP_EOF. | |
1109 | ||
a4876725 AN |
1110 | 2006-02-24 Adam Nemet <anemet@caviumnetworks.com> |
1111 | ||
1112 | * combine.c (gen_lowpart_or_truncate): Call | |
1113 | simplify_gen_unary(TRUNCATE, ...) instead of gen_rtx_TRUNCATE. | |
1114 | ||
8d669cbd DN |
1115 | 2006-02-24 Diego Novillo <dnovillo@redhat.com> |
1116 | ||
1117 | * doc/invoke.texi: Move -fopenmp description to "Options for | |
1118 | Code Generation". | |
1119 | Remove reference to -lgomp. | |
1120 | ||
f44a5ab6 DE |
1121 | 2006-02-24 David Edelsohn <edelsohn@gnu.org> |
1122 | ||
1123 | * doc/install.texi: Require GNU tar version 1.14. | |
1124 | ||
c7b5e395 GK |
1125 | 2006-02-24 Geoffrey Keating <geoffk@apple.com> |
1126 | ||
1127 | * doc/tm.texi (Run-time Target): Document C_COMMON_OVERRIDE_OPTIONS. | |
74fe790b | 1128 | * doc/invoke.texi (C++ Dialect Options): Document |
c7b5e395 GK |
1129 | -fno-use-cxa-get-exception-ptr. |
1130 | * configure.ac: Define DEFAULT_USE_CXA_ATEXIT to 2 not 1. | |
1131 | * configure: Regenerate. | |
1132 | * c.opt (fuse-cxa-get-exception-ptr): New. | |
1133 | * c-opts.c (c_common_handle_option): Handle | |
1134 | OPT_fuse_cxa_get_exception_ptr. | |
1135 | * c-common.c (flag_use_cxa_atexit): Update documentation. | |
1136 | (flag_use_cxa_get_exception_ptr): New. | |
1137 | * c-common.h (flag_use_cxa_get_exception_ptr): New. | |
1138 | * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Improve | |
1139 | documentation. | |
1140 | (C_COMMON_OVERRIDE_OPTIONS): New. | |
1141 | ||
676cb929 RS |
1142 | 2006-02-24 Roger Sayle <roger@eyesopen.com> |
1143 | ||
1144 | PR middle-end/24952 | |
1145 | * combine.c (try_combine): Explicitly check whether GET_CODE is | |
1146 | a SET or a CLOBBER, instead on checking that it isn't a USE. | |
1147 | ||
e26ec0bb RS |
1148 | 2006-02-24 Roger Sayle <roger@eyesopen.com> |
1149 | ||
1150 | * fold-const.c (fold_comparison): New subroutine of fold_binary | |
1151 | containing transformations common to both the equality and | |
1152 | ordering relational operators, factored out of fold_binary. | |
1153 | (fold_binary): Separate out the equality operators (EQ_EXPR | |
1154 | and NE_EXPR) from the ordering operators (LT_EXPR, GT_EXPR, | |
1155 | LE_EXPR and GE_EXPR), calling fold_comparison to perform the | |
1156 | transformations common to both. | |
74fe790b | 1157 | (fold_div_compare): Fix latent bugs in the previously unreachable |
e26ec0bb RS |
1158 | LT_EXPR and GE_EXPR cases. |
1159 | ||
69ca3549 DE |
1160 | 2006-02-24 David Edelsohn <edelsohn@gnu.org> |
1161 | ||
1162 | * config/rs6000/rs6000.c (rs6000_init_builtins): Change | |
1163 | decl libname for clog to __clog on AIX. | |
1164 | ||
1165 | * config/rs6000/xcoff.h (MAX_OFILE_ALIGNMENT): Define. | |
1166 | ||
8097c268 AM |
1167 | 2006-02-24 Alan Modra <amodra@bigpond.net.au> |
1168 | ||
1169 | PR target/26453 | |
1170 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Don't | |
1171 | output traceback table for thunks. Localise rs6000_stack_info call. | |
1172 | ||
efbbbb61 RS |
1173 | 2006-02-23 Roger Sayle <roger@eyesopen.com> |
1174 | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | |
1175 | ||
1176 | * gthr-posix.h (__gthrw): Fix typo in comment. | |
1177 | ||
1178 | 2006-02-23 Geoffrey Keating <geoffk@apple.com> | |
c1e12409 GK |
1179 | |
1180 | * doc/cpp.texi (Character sets): Document that we do support | |
1181 | input files to be in any character set. | |
1182 | ||
e260a614 JL |
1183 | 2006-02-23 Jeff Law <law@redhat.com> |
1184 | ||
357e7a82 JL |
1185 | * tree.h (PHI_ARG_NONZERO): Remove. |
1186 | * tree-phinodes.c (add_phi_arg): No longer initialize PHI_ARG_NONZERO. | |
1187 | (remove_phi_arg_num): No longer copy PHI_ARG_NONZERO from the old | |
1188 | node to the new node. | |
1189 | ||
e260a614 JL |
1190 | PR tree-optimization/26425 |
1191 | * tree-vrp.c (vrp_visit_assignment): If the LHS's type has a NULL | |
1192 | min/max, then assume its varying. | |
1193 | ||
e755fcf5 ZD |
1194 | 2006-02-23 Zdenek Dvorak <dvorakz@suse.cz> |
1195 | ||
1196 | PR rtl-optimization/26316 | |
1197 | * rtlanal.c (enum may_trap_p_flags): New. | |
1198 | (may_trap_p_1): Take flags instead of unaligned_mems argument. Ignore | |
1199 | MEM_NOTRAP_P if flags & MTP_AFTER_MOVE. | |
1200 | (may_trap_p, may_trap_or_fault_p): Pass flags to may_trap_p_1. | |
1201 | (may_trap_after_code_motion_p): New function. | |
1202 | * loop-invariant.c (find_identical_invariants): Fix dump formating. | |
1203 | (find_invariant_insn): Use may_trap_after_code_motion_p. | |
1204 | * rtl.h (may_trap_after_code_motion_p): Declare. | |
1205 | ||
65acccdd ZD |
1206 | 2006-02-23 Zdenek Dvorak <dvorakz@suse.cz> |
1207 | ||
1208 | * emit-rtl.c (immed_double_const): Cleanup. | |
1209 | ||
4b0e7346 | 1210 | 2006-02-23 Daniel Berlin <dberlin@dberlin.org> |
74fe790b | 1211 | |
4b0e7346 DB |
1212 | Fix PR tree-optimization/26376 |
1213 | * tree-ssa-structalias.c (find_func_aliases): Use get_id_for_tree, | |
1214 | remove assert. | |
1215 | ||
a5c8d67f JJ |
1216 | 2006-02-23 Jakub Jelinek <jakub@redhat.com> |
1217 | ||
1218 | PR middle-end/26412 | |
1219 | * gimplify.c (omp_add_variable): Guard variable size decl test with | |
1220 | DECL_SIZE (decl) check. | |
1221 | ||
98b2060a RG |
1222 | 2006-02-23 Richard Guenther <rguenther@suse.de> |
1223 | ||
1224 | PR middle-end/26439 | |
1225 | * tree-ssa-structalias.c (find_func_aliases): Handle complex types | |
1226 | like aggregate types. | |
1227 | ||
ed965309 JJ |
1228 | 2006-02-23 Jakub Jelinek <jakub@redhat.com> |
1229 | ||
1230 | * configure.ac: Add --with{,out}-long-double-128 configure option. | |
1231 | (TARGET_DEFAULT_LONG_DOUBLE_128): New test. | |
1232 | * configure: Rebuilt. | |
1233 | * config.in: Rebuilt. | |
1234 | * doc/install.texi (Options specification): Document | |
1235 | --with-long-double-128. | |
1236 | ||
1237 | * config/rs6000/linux.h [TARGET_DEFAULT_LONG_DOUBLE_128] | |
1238 | (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Define to 128. | |
1239 | * config/rs6000/linux64.h [TARGET_DEFAULT_LONG_DOUBLE_128] | |
1240 | (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Define to 128. | |
1241 | ||
1242 | 2006-02-23 Aldy Hernandez <aldyh@redhat.com> | |
1243 | ||
1244 | * config/s390/s390.c (override_options): Handle | |
1245 | TARGET_DEFAULT_LONG_DOUBLE_128. | |
1246 | ||
1247 | * config/alpha/alpha.c (override_options): Handle | |
1248 | TARGET_DEFAULT_LONG_DOUBLE_128. | |
1249 | ||
1250 | * config/sparc/sparc.c (sparc_override_options): Handle | |
1251 | TARGET_DEFAULT_LONG_DOUBLE_128. | |
1252 | ||
9fb03bd8 DJ |
1253 | 2006-02-22 Daniel Jacobowitz <dan@codesourcery.com> |
1254 | ||
1255 | * Makefile.in (stmp-fixinc): Use real-$(INSTALL_HEADERS_DIR). | |
1256 | (real-install-headers-tar, real-install-headers-cpio) | |
1257 | (real-install-headers-cp): New targets. | |
1258 | ||
e8dad6f0 RS |
1259 | 2006-02-22 Richard Sandiford <richard@codesourcery.com> |
1260 | ||
1261 | * tree.h (variable_section): Delete. | |
1262 | * varasm.c (variable_section): Delete. | |
1263 | ||
d7f755c3 PB |
1264 | 2006-02-22 Paolo Bonzini <bonzini@gnu.org> |
1265 | ||
1266 | * install.texi: Add notes on install.texi2html. | |
1267 | (Building in parallel): Do not use footnotes. | |
1268 | ||
4fe7a8bc AH |
1269 | 2006-02-21 Aldy Hernandez <aldyh@redhat.com> |
1270 | ||
1271 | PR libgomp/26234 | |
1272 | * doc/install.texi (Configuration): Document --disable-libgomp. | |
1273 | ||
6070e8e5 GK |
1274 | 2006-02-21 Geoffrey Keating <geoffk@apple.com> |
1275 | ||
1276 | * config/i386/darwin.h (DWARF2_FRAME_REG_OUT): New. | |
1277 | ||
f8770111 AO |
1278 | 2006-02-21 Alexandre Oliva <aoliva@redhat.com> |
1279 | ||
1280 | * config/i386/sse.md (vec_extractv2df_1_sse): New. | |
1281 | (vec_extractv2df_0_sse): New. | |
1282 | ||
35d177a2 AO |
1283 | 2006-02-21 Alexandre Oliva <aoliva@redhat.com> |
1284 | ||
1285 | * defaults.h (CFA_FRAME_BASE_OFFSET): Define. | |
1286 | * config/ia64/ia64.h (CFA_FRAME_BASE_OFFSET): Override. | |
1287 | * doc/tm.texi (CFA_FRAME_BASE_OFFSET): Document. | |
1288 | * dwarf2out.c (build_cfa_loc): New offset parameter. Add it | |
1289 | to the result of the expression. | |
1290 | (def_cfa_1): Adjust. | |
1291 | (frame_pointer_cfa_offset): Rename to... | |
1292 | (frame_pointer_fb_offset): ... this. Adjust all uses. | |
1293 | (convert_cfa_to_loc_list): Rename to... | |
1294 | (convert_cfa_to_fb_loc_list): ... this. New offset parameter. | |
1295 | Pass it on to build_cfa_loc. | |
1296 | (compute_frame_pointer_to_cfa_displacement): Rename to... | |
1297 | (compute_frame_pointer_to_fb_displacement): ... this. New | |
1298 | offset parameter. Use it in computation. | |
1299 | (gen_subprogram_die): Compute cfa_fb_offset with the new | |
1300 | macro, and use it to compute the fb loc list and the | |
1301 | displacement. | |
1302 | ||
4729dc92 BS |
1303 | 2006-02-21 Bernd Schmidt <bernd.schmidt@analog.com> |
1304 | ||
1305 | * config/bfin/predicates.md (cc_operand): Delete predicate. All uses | |
1306 | replaced with register_operand. | |
1307 | * config/bfin/bfin.c (bfin_register_move_cost): Moving CC to any | |
1308 | non-DREG is expensive. | |
1309 | * config/bfin/bfin.h (FIXED_REGISTERS): CC isn't fixed. | |
1310 | * config/bfin/bfin.md (movbi): Fix constraints and template for moves | |
1311 | involving memory. | |
1312 | ||
520bc8a2 JM |
1313 | 2006-02-21 Joseph S. Myers <joseph@codesourcery.com> |
1314 | ||
1315 | * doc/install.texi2html: Use set -e. | |
1316 | ||
f5e605e5 RS |
1317 | 2006-02-21 Richard Sandiford <richard@codesourcery.com> |
1318 | ||
1319 | * doc/tm.texi (ASM_OUTPUT_SHARED_COMMON, ASM_OUTPUT_SHARED_BSS) | |
1320 | (ASM_OUTPUT_SHARED_LOCAL): Delete. | |
1321 | * doc/invoke.texi (-fshared-data): Delete. | |
1322 | * common.opt (fshared-data): Delete. | |
1323 | * varasm.c (asm_emit_uninitialised): Remove flag_shared_data handling. | |
1324 | (assemble_static_space): Remove #if 0 code. | |
1325 | * system.h (ASM_OUTPUT_SHARED_COMMON, ASM_OUTPUT_SHARED_BSS) | |
1326 | (ASM_OUTPUT_SHARED_LOCAL): Poison. | |
1327 | * config/cris/cris.h: Remove FIXME. | |
1328 | ||
880b9e7b PB |
1329 | 2006-02-21 Paolo Bonzini <bonzini@gnu.org> |
1330 | ||
1331 | * doc/sourcebuild.texi (Front End Directory): No more double-colon | |
1332 | hooks. | |
1333 | ||
5a9e432d JJ |
1334 | 2006-02-21 Jakub Jelinek <jakub@redhat.com> |
1335 | ||
1336 | PR middle-end/26379 | |
1337 | * combine.c (simplify_shift_const_1): Disable nested shifts | |
1338 | optimization for vector shifts. | |
1339 | ||
c1a70a3c RS |
1340 | 2006-02-20 Roger Sayle <roger@eyesopen.com> |
1341 | ||
1342 | PR tree-optimization/26361 | |
1343 | * tree-vrp.c (extract_range_from_unary_expr): Handle NEGATE_EXPR | |
1344 | of unsigned integer types. | |
1345 | ||
0ff4040e SP |
1346 | 2006-02-20 Sebastian Pop <pop@cri.ensmp.fr> |
1347 | ||
1348 | * tree-chrec.c (eq_evolutions_p): New. | |
1349 | * tree-chrec.h (eq_evolutions_p): Declared. | |
1350 | * tree-data-ref.c: Fix formatting. | |
1351 | (datadep_stats, dependence_stats): New. | |
1352 | (gcd): Moved... | |
1353 | (print_direction_vector): New. | |
1354 | (dump_data_dependence_relation): Use print_direction_vector. | |
1355 | (object_analysis, create_data_ref): Handle COMPONENT_REF. | |
1356 | (compute_subscript_distance): Static. | |
1357 | (initialize_data_dependence_relation): Static. Get the number | |
1358 | of loops surrounding the references from the callers, and initialize | |
1359 | DDR_SIZE_VECT to nb_loops. Use both base_addr_differ_p and | |
1360 | base_object_differ_p analyzers. | |
74fe790b | 1361 | (analyze_ziv_subscript, analyze_siv_subscript_cst_affine, |
0ff4040e SP |
1362 | compute_overlap_steps_for_affine_1_2, |
1363 | analyze_subscript_affine_affine): Count the classified dependences. | |
1364 | Print a message when a test failed. | |
74fe790b | 1365 | (can_use_analyze_subscript_affine_affine): New. |
0ff4040e SP |
1366 | (analyze_siv_subscript): Compute the data dependences on symbolic |
1367 | scevs that verify can_use_analyze_subscript_affine_affine. | |
1368 | (chrec_steps_divide_constant_p): Returns true, false, or unknown. | |
1369 | (analyze_miv_subscript): Update use of chrec_steps_divide_constant_p. | |
1370 | Handle symbolic scevs. | |
1371 | (analyze_overlapping_iterations): Let symbolic affine scevs to be | |
1372 | analyzed. | |
1373 | (subscript_dependence_tester): Moved... | |
74fe790b | 1374 | (build_classic_dist_vector, build_classic_dir_vector): Don't use |
0ff4040e SP |
1375 | lambda_vector_clear on newly allocated vectors. Get nb_loops from |
1376 | DDR_SIZE_VECT instead of getting it in parameter. | |
74fe790b | 1377 | (subscript_dependence_tester): ... here. Take as a parameter |
0ff4040e SP |
1378 | loop_nest_depth. Call build_classic_dist_vector and |
1379 | build_classic_dir_vector. | |
74fe790b ZW |
1380 | (compute_affine_dependence): Update subscript_dependence_tester |
1381 | parameters. Update datadep_stats counters. Call | |
0ff4040e | 1382 | compute_subscript_distance. |
74fe790b | 1383 | (compute_self_dependence): Save the dist and dir vectors. Call |
0ff4040e SP |
1384 | compute_subscript_distance. |
1385 | (ddr_p, DEF_VEC_P(ddr_p), DEF_VEC_ALLOC_P(ddr_p,heap)): Moved... | |
1386 | (compute_all_dependences): Reorder parameters as they were before | |
1387 | conversion to VEC. Pass nb_loops and loop_nest_depth. Don't call | |
74fe790b | 1388 | compute_subscript_distance. Update the use of |
0ff4040e SP |
1389 | compute_affine_dependence and initialize_data_dependence_relation. |
1390 | (find_data_references_in_loop): Handle COMPONENT_REF. | |
1391 | (compute_data_dependences_for_loop): Initialize dependence_stats. | |
1392 | Don't call build_classic_dist_vector and build_classic_dir_vector. | |
74fe790b | 1393 | Update the parameters of initialize_data_dependence_relation and |
0ff4040e SP |
1394 | compute_all_dependences. Print the statistics from datadep_stats. |
1395 | (analyze_all_data_dependences): Static. Not used until the pass for | |
1396 | checking the data dependences is contributed. | |
1397 | * tree-data-ref.h (ddr_p, DEF_VEC_P(ddr_p), | |
1398 | DEF_VEC_ALLOC_P(ddr_p,heap)): ... here. | |
74fe790b | 1399 | (initialize_data_dependence_relation, compute_affine_dependence, |
0ff4040e SP |
1400 | analyze_all_data_dependences, compute_subscript_distance): Removed. |
1401 | (print_direction_vector): New. | |
1402 | * lambda.h (gcd): ... here. | |
1403 | (lambda_vector_gcd): Moved here from gcd_vector. | |
1404 | * lambda-code.c (gcd, gcd_vector): Removed. | |
1405 | (lambda_compute_target_space): Use lambda_vector_gcd. Fix formatting. | |
1406 | * Makefile.in (tree-vect-patterns.o): Depends on TREE_DATA_REF_H. | |
1407 | ||
643519b7 DN |
1408 | 2006-02-20 Diego Novillo <dnovillo@redhat.com> |
1409 | ||
1410 | * ipa-type-escape.c: Tidy some comments and white space. | |
1411 | * tree-ssa-operands.c: Likewise. | |
1412 | ||
406f9d5e AP |
1413 | 2006-02-20 Andrew Pinski <pinskia@physics.uc.edu> |
1414 | ||
1415 | PR tree-opt/25879 | |
1416 | * tree-pretty-print.c (debug_tree_chain): Walk the chains. | |
1417 | (dump_decl_name): Do not walk the decl tree chains. | |
1418 | * tree-pass.h (TDF_CHAIN): Remove. | |
1419 | ||
1420 |