This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: Vectorizing a simple Fortran loop


On Mar 20, 2005 02:38 PM, Leehod Baruch <LEEHOD@il.ibm.com> wrote:
> Is there a good explanation for this?

No.

> Is there a way to prevent it from happening?

You did not say what version of GCC you are using.  Check if this patch
is in your gcc/fortran/ChangeLog:

2004-01-27  Steven Bosscher  <stevenb at suse dot de>
 
       * trans-decl.c (gfc_build_label_decl): Set DECL_ARTIFICAL and
       TREE_USED for all labels.
       (gfc_trans_entry_master_switch): Use it instead of building a
       label by hand.
       * trans-io.c (add_case): Likewise.
       * trans-stmt.c (gfc_trans_integer_select): Likewise.

If that patch is not in your tree, use a more recent version.  Otherwise
file a bug in bugzilla and assign it to me please.

Gr.
Steven



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