This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/47265] New: [4.6 Regression] Error: SSA name in freelist but still referenced
- From: "d.g.gorbachev at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 12 Jan 2011 08:50:24 +0000
- Subject: [Bug tree-optimization/47265] New: [4.6 Regression] Error: SSA name in freelist but still referenced
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: d.g.gorbachev@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.