This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
A weird crash
- To: bug-gcc at gnu dot org, djb at cr dot yp dot to
- Subject: A weird crash
- From: "D. J. Bernstein" <djb at cr dot yp dot to>
- Date: 21 Jan 2000 04:38:47 -0000
gcc 2.95.2 -O2 on a Pentium makes the following program crash:
void big(long long u) { }
void doit(unsigned int a,unsigned int b,char *id)
{ big(*id); big(a); big(b); }
main()
{ doit(1,1,"\n"); }
It's not immediately obvious to me what combination of compiler bugs
could account for this problem. I'd like to hear a complete explanation
of the bugs so that I can work around them.
---Dan