This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc question/bug
- To: gcc-bugs at gcc dot gnu dot org
- Subject: gcc question/bug
- From: David Spindler <spindler at mail dot utexas dot edu>
- Date: Wed, 2 Aug 2000 19:20:38 -0500 (CDT)
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