The following code ICEs with -ftree-vectorize -O1 -msse3 
-fdump-tree-copyprop3-details:
#include <stdlib.h>

void dupa()
{
        double* wagi;
        unsigned int i,synapsy=100;

        wagi = (double*)malloc(100*synapsy);

        for( i=0;i<synapsy;i++ ) {
                wagi[i] = 0;
        }

}

-- 
           Summary: [4.1 Regression] ICE with -fdump-tree-copyprop3-details
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          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: i686-pc-linux-gnu


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

Reply via email to