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]
Other format: [Raw text]

[Bug target/52301] avr-gcc 4.6.2 produces NOP loop in simple while statement


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52301

--- Comment #6 from rickyrockrat <gpib at rickyrockrat dot net> 2012-02-22 05:05:56 UTC ---
I guess I'm a little confused. How can GCC NOT know it can change? 
Any RAM location not only can but usually does change. It seems that volatile
should be the norm.

Whatever. I'll just set all my data types to be volatile, since this doesn't
make sense to me.

Thanks.


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