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

           Summary: [4.6 Regression] Error: SSA name in freelist but still
                    referenced
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: d.g.gorbac...@gmail.com


With GCC 4.6.0 20110108 (experimental):

===================== foo.c ====================
struct S {
  char a[3];
  char b[3];
};

void bar(char *dst, const char *src, unsigned n)
{
  while (n--)
    *dst++ = *src ? *src++ : ' ';
}

void foo(struct S *s)
{
  bar(s->a, s->b, 3);
}
================================================

$ gcc -S -O3 foo.c
foo.c: In function 'foo':
foo.c:12:6: error: SSA name in freelist but still referenced
D.1961_2
cc1: note: in statement
src_19 = [cond_expr] D.1974_11 != 0 ? src_20 : D.1961_2;

foo.c:12:6: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Reply via email to