This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the EGCS project.
chars and bools
- To: egcs-bugs@egcs.cygnus.com
- Subject: chars and bools
- From: Kip Macy <kip@lyris.com>
- Date: Sat, 31 Jul 1999 08:27:06 -0700 (PDT)
I have been having a problem with chars and bools changing their value on
their own. This only happens with egcs and it only happens after many
iterations through the code typically, and where it happens seems to vary
by adding or taking away code. It is a somewhat large program, ~100k lines
of code so it is hard to trace the behaviour. Even when I place a
watchpoint on the variable in gdb the watchpoint does not get triggered
before an assertion does. Could this be an alignment problem? Any idea
what this could be attributed to? I realize I am being vague, but this
behaviour is too sporadic for me to make a simple test case out of.
Any suggestions would be much appreciated. Thanks.
-Kip