This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/19341] [4.0 Regression] DCE eliminating non-dead code
- 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: 9 Jan 2005 01:54:03 -0000
- Subject: [Bug tree-optimization/19341] [4.0 Regression] DCE eliminating non-dead code
- References: <20050109012905.19341.belyshev@depni.sinp.msu.ru>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-09 01:54 -------
Another way to fix this is to add that this inline-asm clobers memory, aka:
asm volatile ("call g" :: "a" (&k):"memory");
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19341