]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ChangeLog
pr26421.c: Fix testcase to force struct decomposition.
[thirdparty/gcc.git] / gcc / ChangeLog
CommitLineData
7ffe0f0d
DN
12006-02-28 Dorit Nuzman <dorit@il.ibm.com>
2
3 PR tree-optimization/26419
4 * doc/invoke.texi (ftree-vectorizer-verbose): Add information on
5 values of n.
6
3fa1b0e5
ZW
72006-02-27 Zack Weinberg <zackw@panix.com>
8
9 * doc/md.texi: Fix typo in previous change.
10
75743f02
KZ
112006-02-27 Kenneth Zadeck <zadeck@naturalbridge.com>
12
13 * df.c: Remove.
14
f38840db
ZW
152006-02-27 Zack Weinberg <zackw@panix.com>
16
17 * rtl.def (define_constraint, define_register_constraint)
18 (define_memory_constraint, define_address_constraint): New MD forms.
19 * gensupport.c (process_rtx): Put define_constraint etc on the
20 predicate queue.
21 * genpreds.c (process_define_predicate): Adjust comment. Validate
22 the name, and call validate_exp to validate the expression.
23 (mark_mode_tests, write_extract_subexp): Can assume correct input.
24 (write_predicate_expr): Likewise. NAME argument no longer necessary;
25 all callers changed.
26 (validate_exp, needs_variable, struct constraint_data)
27 (constraints_by_letter_table, first_constraint, last_constraint_ptr)
28 (FOR_ALL_CONSTRAINTS, generic_constraint_letters, const_int_constraints)
29 (const_dbl_constraints, constraint_max_namelen)
30 (have_register_constraints, have_memory_constraints)
31 (have_address_constraints, have_address_constraints)
32 (have_extra_constraints, have_const_int_constraints)
33 (have_const_dbl_constraints, mangle, add_constraint)
34 (process_define_constraint, process_define_register_constraint)
35 (write_enum_constraint_num, write_lookup_constraint)
36 (write_insn_constraint_len, write_regclass_for_constraint)
37 (write_constraint_satisfied_p, write_insn_const_int_ok_for_constraint)
38 (write_insn_extra_memory_constraint)
39 (write_insn_extra_address_constraint)
40 (write_satisfies_constraint_fns): New.
41 (write_tm_preds_h): If we have new-style constraint definitions,
42 prototype the functions generated from them, and define the
43 old constraint interface (still used by generic code) in terms of
44 those functions.
45 (write_insn_preds_c): If we have new-style constraint definitions,
46 generate all relevant functions from those definitions.
47 (main): Handle define_constraint etc.
48 * genoutput.c (struct constraint_data, indep_constraints)
49 (mdep_constraint_letters, constraints_by_letter_table, note_constraint)
50 (mdep_constraint_len): New data structures and functions, defined
51 #ifdef USE_MD_CONSTRAINTS.
52 (check_constraint_len): Don't define #ifdef USE_MD_CONSTRAINTS.
53 (validate_insn_alternatives): If USE_MD_CONSTRAINTS is defined,
54 use new logic to validate operand constraints against constraint
55 definitions.
56 (main): Process define_constraint etc. if USE_MD_CONSTRAINTS is
57 defined.
58 * defaults.h: If none of the old-style constraint macros are
59 defined, define USE_MD_CONSTRAINTS; do not provide defaults for any
60 old-style macros; and poison REG_CLASS_FROM_LETTER,
61 CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P, and
62 EXTRA_CONSTRAINT.
63 * recog.c (reg_fits_class_p): If cl is NO_REGS, return 0 immediately.
64 * doc/md.texi: Document new constraint-definition mechanism and the
65 C interface it provides. Remove references to old mechanism
66 elsewhere in the document.
67 (Machine Constraints): Use pathnames relative to gcc directory,
68 i.e. config/ARCH/FILE. Change i386 section to refer to
69 config/i386/predicates.md; update that section to match docstrings.
70 * doc/tm.texi: Move all documentation of the old constraint-
71 definition macros to their own section, clearly mark as obsolete.
72
73 * config/i386/predicates.md (R, q, Q, l, a, b, c, d, S, D, A, f, t)
74 (u, y, x, Y, I, J, K, L, M, N, O, G, C, e, Z): New constraint
75 definitions.
76 * config/i386/i386.h (REG_CLASS_FROM_LETTER, CONST_OK_FOR_LETTER_P)
77 (CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT): Delete.
78 * config/i386/i386.md (*movdf_nointeger): Remove stray 'H' from
79 constraint strings.
80 (splits and peepholes): Use satisfies_constraint_*.
81 * config/i386/i386.c (memory_address_length)
82 (ix86_attr_length_immediate_default): Use satisfies_constraint_*.
83
e3e868f6
DB
842006-02-27 Daniel Berlin <dberlin@dberlin.org>
85
86 * lambda-code.c (can_convert_to_perfect_nest): Allow any type of
87 scalar operation to be put back into the loop.
88
754e45a8
JJ
892006-02-27 Jakub Jelinek <jakub@redhat.com>
90
91 PR other/26208
92 * unwind-dw2.c (struct _Unwind_Context): Add signal_frame field.
93 (extract_cie_info): Handle S flag in augmentation string.
94 (execute_cfa_program): If context->signal_frame, execute also
95 fs->pc == context->ra instructions.
96 (uw_frame_state_for): If context->signal_frame, don't subtract one
97 from context->ra to find FDE.
98 (uw_update_context_1): Set context->signal_frame to
99 fs->signal_frame.
100 (_Unwind_GetIPInfo): New function.
101 * unwind-dw2.h (_Unwind_FrameState): Add signal_frame field.
102 * unwind-c.c (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
103 of _Unwind_GetIP.
104 * unwind-sjlj.c (_Unwind_GetIPInfo): New function.
105 * unwind-generic.h (_Unwind_GetIPInfo): New prototype.
106 * unwind-compat.c (_Unwind_GetIPInfo): New function.
107 * libgcc-std.ver (_Unwind_GetIPInfo): Export @@GCC_4.2.0.
108 * config/ia64/unwind-ia64.c (_Unwind_GetIPInfo): New function.
109 * config/arm/unwind-arm.h (_Unwind_GetIPInfo): Define.
110 * config/i386/linux-unwind.h (x86_fallback_frame_state,
111 x86_64_fallback_frame_state): Set fs->signal_frame.
112 * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
113 (MD_FROB_UPDATE_CONTEXT): Define unconditionally.
114 (frob_update_context): Likewise. Workaround missing S flag in
115 Linux 2.6.12 - 2.6.16 kernel vDSOs.
116 * config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
117 Remove the psw_addr + 1 hack.
118
6df11ca1
DB
1192006-02-27 Daniel Berlin <dberlin@dberlin.org>
120
121 * tree-ssa-structalias.c (get_constraint_for): Move code to deal
122 with aggregates here.
123 (find_func_aliases): Remove code for &<aggregate> from here.
124
5881ad5d
RS
1252006-02-26 Roger Sayle <roger@eyesopen.com>
126
127 * fold-const.c (fold_binary) <EQ_EXPR>: Fold (~X & C) eq/ne 0 as
128 (X & C) ne/eq 0, where C is a single bit, i.e. a power of two.
129 Fold both "((X & C) ^ C) eq/ne 0" and "((X ^ C) & C) eq/ne 0"
130 as (X & C) ne/eq 0.
131
53f1b560
RS
1322006-02-26 Roger Sayle <roger@eyesopen.com>
133
134 PR middle-end/19983
135 * real.c (real_nan): Allow both 0x and 0X as hexadecimal prefixes.
136
efa1cdf0
ZD
1372006-02-26 Zdenek Dvorak <dvorakz@suse.cz>
138
139 * opts.c (decode_options): Do not handle flag_strength_reduce.
140 (common_handle_option): Handle OPT_floop_optimize, OPT_frerun_loop_opt
141 and OPT_fstrength_reduce.
142 * tree-ssa-loop.c (tree_ssa_loop_prefetch): Only test
143 flag_prefetch_loop_arrays for being nonzero.
144 * common.opt (floop-optimize, frerun-loop-opt): Resurrected as
145 no-ops.
146 (fprefetch-loop-arrays-rtl): Removed.
147 (flag_prefetch_loop_arrays): Do not specify the value.
148
149 * doc/passes.texi: Update documentation of loop optimizer
150 passes.
151 * doc/invoke.texi (-fstrength-reduce, -fprefetch-loop-arrays-rtl,
152 -frerun-loop-opt): Remove.
153
651402f1
RG
1542006-02-26 Richard Guenther <rguenther@suse.de>
155
156 PR tree-optimization/26421
157 * tree-ssa-alias.c (find_used_portions): Don't treat parameters
158 in function calls that are ADDR_EXPRs as using the whole structure.
159
37818e7c
SB
1602006-02-26 Steven Bosscher <stevenb.gcc@gmail.com>
161
162 * common.opt (-floop-optimize, -frerun-loop-opt): Remove.
163 * tree-pass.h (pass_loop_optimize): Remove.
164 * passes.c (pass_loop_optimize): Never run it.
165 * toplev.c (backend_init): Don't call init_loop.
166 * opts.c (flag_loop_optimize_set): Remove.
167 (decode_options): Never set flag_loop_optimize or flag_rerun_loop_opt.
168 (common_handle_option) <OPT_floop_optimize>: Remove. Don't disable
169 the old RTL loop optimizer when profiling enabled.
170 * predict.c (tree_estimate_probability): Always strip builtin_expect.
171 * cfgcleanup.c (try_forward_edges): Don't avoid killing loop
172 pre-headers for the sake of the old RTL loop optimizer.
173 * Makefile.in: Remove all references to loop.o.
174
175 * doc/invoke.texi: Remove all references to -floop-optimize
176 and -frerun-loop-opt.
177
74fe790b
ZW
1782006-02-26 Zack Weinberg <zackw@panix.com>
179
180 * doc/md.texi (Machine Constraints): Refer to all files with paths
181 relative to gcc directory (i.e. config/CPU/file). Add missing
182 @table @code ... @end table to M32C subsection.
183
cef65eaa
RS
1842006-02-26 Roger Sayle <roger@eyesopen.com>
185
186 * fold-const.c (fold_binary) <BIT_XOR_EXPR>: Fold (X & 1) ^ 1 as
187 (X & 1) == 0.
188 <BIT_AND_EXPR>: Fold (X ^ 1) & 1 and ~X & 1 as (X & 1) == 0.
189
a861485c
RS
1902006-02-26 Roger Sayle <roger@eyesopen.com>
191 James A. Morrison <phython@gcc.gnu.org>
192
193 PR middle-end/21137
194 * fold-const.c (fold_binary) <EQ_EXPR>: Fold ((X>>C1)&C2) eq/ne 0,
195 when C2 is a power of two, as either (X&(C2<<C1)) eq/ne 0 if the
196 new constant C2<<C1, or as (X<0) or (X,false) depending upon the
197 signedness of the shift operation.
198
afa38a95
DN
1992006-02-26 Dorit Nuzman <dorit@il.ibm.com>
200
201 PR tree-optimization/26359
202 * tree-ssa-alias.c (new_type_alias): Set fields for new tag.
203
5484a3c3
RS
2042006-02-25 Roger Sayle <roger@eyesopen.com>
205
206 * simplify-rtx.c (simplify_relational_operation_1): Simplify
207 (X^Y) == 0 as X == Y and (X^Y) != 0 as X != Y. Simplify (X^Y) == Y
208 as X == 0, and some symmetry related transformations.
209 Simplify (X^C1) == C2 as X == (C1^C2). Split long comment line.
210
eb8dffe0
RS
2112006-02-25 Roger Sayle <roger@eyesopen.com>
212
213 PR middle-end/23673
214 * fold-const.c (fold_binary) <EQ_EXPR>: Fold (X^Y) == 0 as X == Y
215 and (X^Y) != 0 as X != Y. Fold (X^Y) == Y as X == 0, and some
216 symmetry related transformations. Fold (X^C1) == C2 as
217 X == (C1^C2).
218
332cf1b3
JW
2192006-02-25 Juergen Weigert <jw@suse.de>
220 Richard Guenther <rguenther@suse.de>
221
222 * scan-decls.c (scan_decls): Don't fetch new statement after CPP_EOF.
223
a4876725
AN
2242006-02-24 Adam Nemet <anemet@caviumnetworks.com>
225
226 * combine.c (gen_lowpart_or_truncate): Call
227 simplify_gen_unary(TRUNCATE, ...) instead of gen_rtx_TRUNCATE.
228
8d669cbd
DN
2292006-02-24 Diego Novillo <dnovillo@redhat.com>
230
231 * doc/invoke.texi: Move -fopenmp description to "Options for
232 Code Generation".
233 Remove reference to -lgomp.
234
f44a5ab6
DE
2352006-02-24 David Edelsohn <edelsohn@gnu.org>
236
237 * doc/install.texi: Require GNU tar version 1.14.
238
c7b5e395
GK
2392006-02-24 Geoffrey Keating <geoffk@apple.com>
240
241 * doc/tm.texi (Run-time Target): Document C_COMMON_OVERRIDE_OPTIONS.
74fe790b 242 * doc/invoke.texi (C++ Dialect Options): Document
c7b5e395
GK
243 -fno-use-cxa-get-exception-ptr.
244 * configure.ac: Define DEFAULT_USE_CXA_ATEXIT to 2 not 1.
245 * configure: Regenerate.
246 * c.opt (fuse-cxa-get-exception-ptr): New.
247 * c-opts.c (c_common_handle_option): Handle
248 OPT_fuse_cxa_get_exception_ptr.
249 * c-common.c (flag_use_cxa_atexit): Update documentation.
250 (flag_use_cxa_get_exception_ptr): New.
251 * c-common.h (flag_use_cxa_get_exception_ptr): New.
252 * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Improve
253 documentation.
254 (C_COMMON_OVERRIDE_OPTIONS): New.
255
676cb929
RS
2562006-02-24 Roger Sayle <roger@eyesopen.com>
257
258 PR middle-end/24952
259 * combine.c (try_combine): Explicitly check whether GET_CODE is
260 a SET or a CLOBBER, instead on checking that it isn't a USE.
261
e26ec0bb
RS
2622006-02-24 Roger Sayle <roger@eyesopen.com>
263
264 * fold-const.c (fold_comparison): New subroutine of fold_binary
265 containing transformations common to both the equality and
266 ordering relational operators, factored out of fold_binary.
267 (fold_binary): Separate out the equality operators (EQ_EXPR
268 and NE_EXPR) from the ordering operators (LT_EXPR, GT_EXPR,
269 LE_EXPR and GE_EXPR), calling fold_comparison to perform the
270 transformations common to both.
74fe790b 271 (fold_div_compare): Fix latent bugs in the previously unreachable
e26ec0bb
RS
272 LT_EXPR and GE_EXPR cases.
273
69ca3549
DE
2742006-02-24 David Edelsohn <edelsohn@gnu.org>
275
276 * config/rs6000/rs6000.c (rs6000_init_builtins): Change
277 decl libname for clog to __clog on AIX.
278
279 * config/rs6000/xcoff.h (MAX_OFILE_ALIGNMENT): Define.
280
8097c268
AM
2812006-02-24 Alan Modra <amodra@bigpond.net.au>
282
283 PR target/26453
284 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Don't
285 output traceback table for thunks. Localise rs6000_stack_info call.
286
efbbbb61
RS
2872006-02-23 Roger Sayle <roger@eyesopen.com>
288 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
289
290 * gthr-posix.h (__gthrw): Fix typo in comment.
291
2922006-02-23 Geoffrey Keating <geoffk@apple.com>
c1e12409
GK
293
294 * doc/cpp.texi (Character sets): Document that we do support
295 input files to be in any character set.
296
e260a614
JL
2972006-02-23 Jeff Law <law@redhat.com>
298
357e7a82
JL
299 * tree.h (PHI_ARG_NONZERO): Remove.
300 * tree-phinodes.c (add_phi_arg): No longer initialize PHI_ARG_NONZERO.
301 (remove_phi_arg_num): No longer copy PHI_ARG_NONZERO from the old
302 node to the new node.
303
e260a614
JL
304 PR tree-optimization/26425
305 * tree-vrp.c (vrp_visit_assignment): If the LHS's type has a NULL
306 min/max, then assume its varying.
307
e755fcf5
ZD
3082006-02-23 Zdenek Dvorak <dvorakz@suse.cz>
309
310 PR rtl-optimization/26316
311 * rtlanal.c (enum may_trap_p_flags): New.
312 (may_trap_p_1): Take flags instead of unaligned_mems argument. Ignore
313 MEM_NOTRAP_P if flags & MTP_AFTER_MOVE.
314 (may_trap_p, may_trap_or_fault_p): Pass flags to may_trap_p_1.
315 (may_trap_after_code_motion_p): New function.
316 * loop-invariant.c (find_identical_invariants): Fix dump formating.
317 (find_invariant_insn): Use may_trap_after_code_motion_p.
318 * rtl.h (may_trap_after_code_motion_p): Declare.
319
65acccdd
ZD
3202006-02-23 Zdenek Dvorak <dvorakz@suse.cz>
321
322 * emit-rtl.c (immed_double_const): Cleanup.
323
4b0e7346 3242006-02-23 Daniel Berlin <dberlin@dberlin.org>
74fe790b 325
4b0e7346
DB
326 Fix PR tree-optimization/26376
327 * tree-ssa-structalias.c (find_func_aliases): Use get_id_for_tree,
328 remove assert.
329
a5c8d67f
JJ
3302006-02-23 Jakub Jelinek <jakub@redhat.com>
331
332 PR middle-end/26412
333 * gimplify.c (omp_add_variable): Guard variable size decl test with
334 DECL_SIZE (decl) check.
335
98b2060a
RG
3362006-02-23 Richard Guenther <rguenther@suse.de>
337
338 PR middle-end/26439
339 * tree-ssa-structalias.c (find_func_aliases): Handle complex types
340 like aggregate types.
341
ed965309
JJ
3422006-02-23 Jakub Jelinek <jakub@redhat.com>
343
344 * configure.ac: Add --with{,out}-long-double-128 configure option.
345 (TARGET_DEFAULT_LONG_DOUBLE_128): New test.
346 * configure: Rebuilt.
347 * config.in: Rebuilt.
348 * doc/install.texi (Options specification): Document
349 --with-long-double-128.
350
351 * config/rs6000/linux.h [TARGET_DEFAULT_LONG_DOUBLE_128]
352 (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Define to 128.
353 * config/rs6000/linux64.h [TARGET_DEFAULT_LONG_DOUBLE_128]
354 (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Define to 128.
355
3562006-02-23 Aldy Hernandez <aldyh@redhat.com>
357
358 * config/s390/s390.c (override_options): Handle
359 TARGET_DEFAULT_LONG_DOUBLE_128.
360
361 * config/alpha/alpha.c (override_options): Handle
362 TARGET_DEFAULT_LONG_DOUBLE_128.
363
364 * config/sparc/sparc.c (sparc_override_options): Handle
365 TARGET_DEFAULT_LONG_DOUBLE_128.
366
9fb03bd8
DJ
3672006-02-22 Daniel Jacobowitz <dan@codesourcery.com>
368
369 * Makefile.in (stmp-fixinc): Use real-$(INSTALL_HEADERS_DIR).
370 (real-install-headers-tar, real-install-headers-cpio)
371 (real-install-headers-cp): New targets.
372
e8dad6f0
RS
3732006-02-22 Richard Sandiford <richard@codesourcery.com>
374
375 * tree.h (variable_section): Delete.
376 * varasm.c (variable_section): Delete.
377
d7f755c3
PB
3782006-02-22 Paolo Bonzini <bonzini@gnu.org>
379
380 * install.texi: Add notes on install.texi2html.
381 (Building in parallel): Do not use footnotes.
382
4fe7a8bc
AH
3832006-02-21 Aldy Hernandez <aldyh@redhat.com>
384
385 PR libgomp/26234
386 * doc/install.texi (Configuration): Document --disable-libgomp.
387
6070e8e5
GK
3882006-02-21 Geoffrey Keating <geoffk@apple.com>
389
390 * config/i386/darwin.h (DWARF2_FRAME_REG_OUT): New.
391
f8770111
AO
3922006-02-21 Alexandre Oliva <aoliva@redhat.com>
393
394 * config/i386/sse.md (vec_extractv2df_1_sse): New.
395 (vec_extractv2df_0_sse): New.
396
35d177a2
AO
3972006-02-21 Alexandre Oliva <aoliva@redhat.com>
398
399 * defaults.h (CFA_FRAME_BASE_OFFSET): Define.
400 * config/ia64/ia64.h (CFA_FRAME_BASE_OFFSET): Override.
401 * doc/tm.texi (CFA_FRAME_BASE_OFFSET): Document.
402 * dwarf2out.c (build_cfa_loc): New offset parameter. Add it
403 to the result of the expression.
404 (def_cfa_1): Adjust.
405 (frame_pointer_cfa_offset): Rename to...
406 (frame_pointer_fb_offset): ... this. Adjust all uses.
407 (convert_cfa_to_loc_list): Rename to...
408 (convert_cfa_to_fb_loc_list): ... this. New offset parameter.
409 Pass it on to build_cfa_loc.
410 (compute_frame_pointer_to_cfa_displacement): Rename to...
411 (compute_frame_pointer_to_fb_displacement): ... this. New
412 offset parameter. Use it in computation.
413 (gen_subprogram_die): Compute cfa_fb_offset with the new
414 macro, and use it to compute the fb loc list and the
415 displacement.
416
4729dc92
BS
4172006-02-21 Bernd Schmidt <bernd.schmidt@analog.com>
418
419 * config/bfin/predicates.md (cc_operand): Delete predicate. All uses
420 replaced with register_operand.
421 * config/bfin/bfin.c (bfin_register_move_cost): Moving CC to any
422 non-DREG is expensive.
423 * config/bfin/bfin.h (FIXED_REGISTERS): CC isn't fixed.
424 * config/bfin/bfin.md (movbi): Fix constraints and template for moves
425 involving memory.
426
520bc8a2
JM
4272006-02-21 Joseph S. Myers <joseph@codesourcery.com>
428
429 * doc/install.texi2html: Use set -e.
430
f5e605e5
RS
4312006-02-21 Richard Sandiford <richard@codesourcery.com>
432
433 * doc/tm.texi (ASM_OUTPUT_SHARED_COMMON, ASM_OUTPUT_SHARED_BSS)
434 (ASM_OUTPUT_SHARED_LOCAL): Delete.
435 * doc/invoke.texi (-fshared-data): Delete.
436 * common.opt (fshared-data): Delete.
437 * varasm.c (asm_emit_uninitialised): Remove flag_shared_data handling.
438 (assemble_static_space): Remove #if 0 code.
439 * system.h (ASM_OUTPUT_SHARED_COMMON, ASM_OUTPUT_SHARED_BSS)
440 (ASM_OUTPUT_SHARED_LOCAL): Poison.
441 * config/cris/cris.h: Remove FIXME.
442
880b9e7b
PB
4432006-02-21 Paolo Bonzini <bonzini@gnu.org>
444
445 * doc/sourcebuild.texi (Front End Directory): No more double-colon
446 hooks.
447
5a9e432d
JJ
4482006-02-21 Jakub Jelinek <jakub@redhat.com>
449
450 PR middle-end/26379
451 * combine.c (simplify_shift_const_1): Disable nested shifts
452 optimization for vector shifts.
453
c1a70a3c
RS
4542006-02-20 Roger Sayle <roger@eyesopen.com>
455
456 PR tree-optimization/26361
457 * tree-vrp.c (extract_range_from_unary_expr): Handle NEGATE_EXPR
458 of unsigned integer types.
459
0ff4040e
SP
4602006-02-20 Sebastian Pop <pop@cri.ensmp.fr>
461
462 * tree-chrec.c (eq_evolutions_p): New.
463 * tree-chrec.h (eq_evolutions_p): Declared.
464 * tree-data-ref.c: Fix formatting.
465 (datadep_stats, dependence_stats): New.
466 (gcd): Moved...
467 (print_direction_vector): New.
468 (dump_data_dependence_relation): Use print_direction_vector.
469 (object_analysis, create_data_ref): Handle COMPONENT_REF.
470 (compute_subscript_distance): Static.
471 (initialize_data_dependence_relation): Static. Get the number
472 of loops surrounding the references from the callers, and initialize
473 DDR_SIZE_VECT to nb_loops. Use both base_addr_differ_p and
474 base_object_differ_p analyzers.
74fe790b 475 (analyze_ziv_subscript, analyze_siv_subscript_cst_affine,
0ff4040e
SP
476 compute_overlap_steps_for_affine_1_2,
477 analyze_subscript_affine_affine): Count the classified dependences.
478 Print a message when a test failed.
74fe790b 479 (can_use_analyze_subscript_affine_affine): New.
0ff4040e
SP
480 (analyze_siv_subscript): Compute the data dependences on symbolic
481 scevs that verify can_use_analyze_subscript_affine_affine.
482 (chrec_steps_divide_constant_p): Returns true, false, or unknown.
483 (analyze_miv_subscript): Update use of chrec_steps_divide_constant_p.
484 Handle symbolic scevs.
485 (analyze_overlapping_iterations): Let symbolic affine scevs to be
486 analyzed.
487 (subscript_dependence_tester): Moved...
74fe790b 488 (build_classic_dist_vector, build_classic_dir_vector): Don't use
0ff4040e
SP
489 lambda_vector_clear on newly allocated vectors. Get nb_loops from
490 DDR_SIZE_VECT instead of getting it in parameter.
74fe790b 491 (subscript_dependence_tester): ... here. Take as a parameter
0ff4040e
SP
492 loop_nest_depth. Call build_classic_dist_vector and
493 build_classic_dir_vector.
74fe790b
ZW
494 (compute_affine_dependence): Update subscript_dependence_tester
495 parameters. Update datadep_stats counters. Call
0ff4040e 496 compute_subscript_distance.
74fe790b 497 (compute_self_dependence): Save the dist and dir vectors. Call
0ff4040e
SP
498 compute_subscript_distance.
499 (ddr_p, DEF_VEC_P(ddr_p), DEF_VEC_ALLOC_P(ddr_p,heap)): Moved...
500 (compute_all_dependences): Reorder parameters as they were before
501 conversion to VEC. Pass nb_loops and loop_nest_depth. Don't call
74fe790b 502 compute_subscript_distance. Update the use of
0ff4040e
SP
503 compute_affine_dependence and initialize_data_dependence_relation.
504 (find_data_references_in_loop): Handle COMPONENT_REF.
505 (compute_data_dependences_for_loop): Initialize dependence_stats.
506 Don't call build_classic_dist_vector and build_classic_dir_vector.
74fe790b 507 Update the parameters of initialize_data_dependence_relation and
0ff4040e
SP
508 compute_all_dependences. Print the statistics from datadep_stats.
509 (analyze_all_data_dependences): Static. Not used until the pass for
510 checking the data dependences is contributed.
511 * tree-data-ref.h (ddr_p, DEF_VEC_P(ddr_p),
512 DEF_VEC_ALLOC_P(ddr_p,heap)): ... here.
74fe790b 513 (initialize_data_dependence_relation, compute_affine_dependence,
0ff4040e
SP
514 analyze_all_data_dependences, compute_subscript_distance): Removed.
515 (print_direction_vector): New.
516 * lambda.h (gcd): ... here.
517 (lambda_vector_gcd): Moved here from gcd_vector.
518 * lambda-code.c (gcd, gcd_vector): Removed.
519 (lambda_compute_target_space): Use lambda_vector_gcd. Fix formatting.
520 * Makefile.in (tree-vect-patterns.o): Depends on TREE_DATA_REF_H.
521
643519b7
DN
5222006-02-20 Diego Novillo <dnovillo@redhat.com>
523
524 * ipa-type-escape.c: Tidy some comments and white space.
525 * tree-ssa-operands.c: Likewise.
526
406f9d5e
AP
5272006-02-20 Andrew Pinski <pinskia@physics.uc.edu>
528
529 PR tree-opt/25879
530 * tree-pretty-print.c (debug_tree_chain): Walk the chains.
531 (dump_decl_name): Do not walk the decl tree chains.
532 * tree-pass.h (TDF_CHAIN): Remove.
533
534