Hello,

  I am looking for some help on using -fstack-check. Here is the
description of the issue I am having. I am experiencing a very bizarre
stack corruption that I reproduce by setting a hardware breakpoint on
an int within gdb. At first I tought this was simply a miscompilation
and recompile everything. But then recompiling the code with -fstack-
check made the issue go away...

  My program is not threaded, I do not see anything reported by
valgrind at all. So I am stuck here in not knowing what to do.

  Why would my issue go away when recompiling simply with -fstack-
check ?

Thanks for comments,
-Mathieu

Using: debian oldstable
$ g++ --
version
g++ (GCC) 3.3.5 (Debian 1:3.3.5-13)

$ gdb --
version
GNU gdb 6.3-debian

_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to