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]

A weird crash


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

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