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

            Bug ID: 59860
           Summary: [4.8 Regression] ICE in compute_may_aliases, at
                    tree-ssa-structalias.c:6843
           Product: gcc
           Version: 4.8.3
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
            Target: s390x-*-*

The following testcase ICEs at -O1

extern __inline __attribute__ ((__always_inline__)) __attribute__
((__gnu_inline__)) __attribute__ ((__artificial__)) char * __attribute__
((__nothrow__ , __leaf__)) 
strcat (char *__restrict __dest, const char *__restrict __src)
{
  return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest,
2 > 1));
}
static char raw_decode;
void foo (char **argv, char *outfilename)
{
  if (**argv == 'r')
    raw_decode = 1;
  strcat (outfilename, raw_decode ? ".raw" : ".wav");
}

Reply via email to