[Bug middle-end/48591] New: OpenMP ICE with atomics on __float128 in 32-bit only i686 cc1

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 13 12:44:00 GMT 2011


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

           Summary: OpenMP ICE with atomics on __float128 in 32-bit only
                    i686 cc1
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, openmp
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: jakub@gcc.gnu.org
        ReportedBy: jakub@gcc.gnu.org


extern void abort (void);

int
main ()
{
  __float128 f = 0.0;
  int i;
  #pragma omp parallel for reduction(+:f)
  for (i = 0; i < 128; i++)
    f++;
  if (f != 128.0Q)
    abort ();
  return 0;
}

ICEs with -fopenmp in 32-bit i686-linux cc1 (while works fine with x86_64-linux
cc1 with -fopenmp -m32).



More information about the Gcc-bugs mailing list