https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120694

            Bug ID: 120694
           Summary: endless compile in ranger at expand
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: liuhongt at gcc dot gnu.org
  Target Milestone: ---

cat test.c

#include<stdlib.h>

typedef struct Symmetry
{
  int **GFSym;
} SymmetryGHex;

void *SetupGH (int convlevel, int maxdim, int numvars)
{
  int i, j;
  SymmetryGHex *myGH;

  myGH = (SymmetryGHex *) malloc (sizeof (SymmetryGHex));
  if (myGH)
    {
      myGH->GFSym = (int **) malloc (numvars * sizeof (int *));

      for (i = 0; i < numvars; i++)
        {
          myGH->GFSym[i] = (int *) malloc (2 * maxdim * sizeof (int));

          for (j = 0; j < 2 * maxdim; j++)
            {
              myGH->GFSym[i][j] = -41;
            }
        }
    }

  return (myGH);
}

with -O2 -march=x86-64-v3 -ftree-vectorize -fpeel-loops -ftracer on x86
platform

Reply via email to