This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/22000] [4.0 Regression] Read from volatile member of struct is optimized away
- 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: 10 Jun 2005 14:07:44 -0000
- Subject: [Bug tree-optimization/22000] [4.0 Regression] Read from volatile member of struct is optimized away
- References: <20050610135925.22000.rpedersen@atmel.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-10 14:07 -------
This works on the mainline, it might work on the 4.0.x branch too but I did not check yet.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|critical |normal
GCC build triplet|i686-pc-linux-gnu |
GCC host triplet|i686-pc-linux-gnu |
GCC target triplet|arm-unknown-elf |
Keywords| |wrong-code
Known to fail| |4.0.0
Known to work| |4.1.0 3.4.0
Summary|Read from volatile member of|[4.0 Regression] Read from
|struct is optimized away |volatile member of struct is
| |optimized away
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22000