gcc question/bug

David Spindler spindler@mail.utexas.edu
Wed Aug 2 17:21:00 GMT 2000


I am trying to locate a bug in some code compiled under freebsd/gcc
2.95.2. 

The code works just fine when compiled with -g but crashes when compiled with
out -g.  It looks like the compiler produces different assembly instructions in
one spot  when compiled with -g. Isn't g++ supposed to produce the same assembly
instructions regardless of the debug mode? 
Of course the corollary is how do you debug this type of problem and could the
crash be due to some bizarre bug?

David Spindler
Network Analyst
University of Texas at Austin
512-475-9299
512-415-1434




More information about the Gcc-bugs mailing list