This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/20523] gcc 3.4.3 optimizes volatile vars away (gcc 3.4.3 >= -O2)
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Mar 2005 20:58:52 -0000
- Subject: [Bug c/20523] gcc 3.4.3 optimizes volatile vars away (gcc 3.4.3 >= -O2)
- References: <20050317203939.20523.ltg@zes.uni-bremen.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-17 20:58 -------
You need to mark the variable as used.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20523