This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Fix PR/18607





We accidentally overridden the 'dr' variable in 'vect_analyze_data_refs'
when calling 'analyze_array'. This patch fixes the problem by using a
different temporary variable 'tmp_dr' instead.

Tested on ppc-darwin.
OK for mainline?

Changelog entry:

2004-11-22  Ira Rosen  <irar@il.ibm.com>

        PR tree-opt/18607
        * tree-vectorizer.c (vect_analyze_data_refs): Use temporary
        variable for data_reference to find memory tag.

Patch:

(See attached file: diff.nov22)

Testcase:

(See attached file: vect-89.c)

Attachment: diff.nov22
Description: Binary data

Attachment: vect-89.c
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]