This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/24059] New: [4.1 Regression] ICE with -ftree-vectorize -O2


I was trying -O2 -g -ftree-vectorize while bootstrapping and ran into this.
Reduced testcase:
struct pred_data {
  unsigned char codes[((int) 100)];
};
void compute_predicate_codes (char *codes, struct pred_data *p)
{
  int i;
  for (i = 0;i < ((int) 100);i++)
    codes[i] = p->codes[i] ? 2 : 0;
}

----------
This does not happen with -m32.

-- 
           Summary: [4.1 Regression] ICE with -ftree-vectorize -O2
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, build
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: x86_64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24059


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