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

            Bug ID: 60818
           Summary: ICE in validate_condition_mode on
                    powerpc-e500v2-linux-gnuspe
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com

gcc 4.9.0-alpha20140406 segfaults when compiling the following code for target
powerpc-e500v2-linux-gnuspe w/ optimization levels -O1 and above:

int d7;

static int
ca(int l3)
{
  for (d7 = 0; d7 < 1; ++d7)
    ;
  return l3;
}

int
c9(void)
{
  int yj;
  return ca(((yj != 1) & 65535U) > d7);
}

% powerpc-e500v2-linux-gnuspe-gcc -O1 -c 62931f03.c 
62931f03.c: In function 'c9':
62931f03.c:16:1: internal compiler error: in validate_condition_mode, at
config/rs6000/rs6000.c:15657

Reply via email to