This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: internal compiler error while building egcs-19990616 onalpha_dux40


[ 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]