This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/25481] New: Segfault in tree-ssa-structalias.c
- From: "kazu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Dec 2005 15:41:59 -0000
- Subject: [Bug tree-optimization/25481] New: Segfault in tree-ssa-structalias.c
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Compiling the following test case with "./cc1 -O2" ends up causing a segfault.
struct s {
int *blah;
};
static struct s array[] = {
{ 0 }
};
void
foo (struct s *p)
{
unsigned int n = 1;
struct s *q = &array[n];
while (p < q)
p++;
}
--
Summary: Segfault in tree-ssa-structalias.c
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kazu at gcc dot gnu dot org
GCC target triplet: x86_64-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25481