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/21817] New: [4.0 Regression] ICE in for_each_index, at tree-ssa-loop-im.c:200


giraff:~/edu/exjobb/src/mkexpl> /scratch/dva00mkn/gcc-4.0/bin/gcc bug.c -O -c
bug.c: In function 'foo':
bug.c:4: internal compiler error: in for_each_index, at tree-ssa-loop-im.c:200
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

giraff:~/> /scratch/dva00mkn/gcc-4.0/bin/gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.8
Configured with: /scratch/dva00mkn/gcc-4.0.0/configure
--prefix=/scratch/dva00mkn/gcc-4.0 --disable-multilib
Thread model: posix
gcc version 4.0.0

giraff:~/edu/exjobb/src/mkexpl> cat bug.c
typedef float v4sf __attribute__((vector_size(16)));
v4sf value;
void foo(void)
{
   unsigned int band;
   for(band=0; band < 2; band++)
   {
      value += (v4sf){1e9f,1e9f,1e9f,1e9f};
   }
}

Works with 3.4.3

-- 
           Summary: [4.0 Regression] ICE in for_each_index, at tree-ssa-
                    loop-im.c:200
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: betasoft at acc dot umu dot se
                CC: gcc-bugs at gcc dot gnu dot org


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


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