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] followup fix to PR18425





Following http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00876.html:
When adding a stmt returned by force_gimple_operand - check first that it
is not NULL.
There are overall 3 such occurrences in the vectorizer (including the one
that causes PR18425).

Bootstrapped and tested on ppc-darwin.

ok for mainline?

Changelog:

      * tree-vectorize.c (vect_build_loop_niters): Do not insert
      NULL into the instruction stream. Initialize new_bb to NULL.
      (vect_update_ivs_after_vectorizer): Likewise.
      (vect_gen_niters_for_prolog_loop): Likewise.

Patch:

(See attached file: pr18425.fix)

Attachment: pr18425.fix
Description: Binary data


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