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]

gcc question/bug


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



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