This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the EGCS project.


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

chars and bools


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




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