This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: internal compiler error while building egcs-19990616 onalpha_dux40
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: Re: internal compiler error while building egcs-19990616 onalpha_dux40
- From: Seapig6 at aol dot com
- Date: Fri, 18 Jun 1999 13:52:46 EDT
- CC: kosak at cs dot cmu dot edu
[ If you need to reply to me, please use the kosak@cs.cmu.edu address ]
Recap: egcs-19990616 (I also tried egcs-19990608, with the same result)
doesn't seem to build on alpha_dux40, failing when it tries to
compile./alpha-dec-osf4.0d/libiberty/vasprintf.c. I have done some digging
and have developed a small testcase that causes cc1 to segfault. I hope this
provides enough of a clue to enable you to track itdown.
% cat supercow.c
typedef struct { char *a; char b;} qqq_t;
typedef unsigned long size_t;
extern void *memcpy (void *, const void *, size_t ) ;
void vasprintf (qqq_t *args)
{
qqq_t ap;
memcpy ((void * ) &ap, (const void * ) &args, sizeof (qqq_t));
}
% /usr2/tmp/egcs-19990616/gcc/cc1 supercow.c
[OK]
% /usr2/tmp/egcs-19990616/gcc/cc1 supercow.c -O
vasprintfSegmentation fault