[Bug middle-end/56077] volatile ignored when function inlined
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56077 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2013-01-23 Ever Confirmed|0 |1 Known to fail||4.7.2, 4.8.0 --- Comment #5 from Richard Biener rguenth at gcc dot gnu.org 2013-01-23 16:33:36 UTC --- volatile asms and volatile insns are not supposed to be interchanged by scheduling. Confirmed with 4.7.2.
[Bug middle-end/56077] volatile ignored when function inlined
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56077 --- Comment #6 from Brad Huntting huntting at glarp dot com 2013-01-23 23:59:39 UTC --- Er... The asm()s are beside the point. There is no reording bug. The problem is that the 3 volatile assignments are being squished into 1. BTW: I first noticed this with the RX cross compiler which I've reported to KPIT, and they say it's fixed in their latest release. brad On Wed, Jan 23, 2013 at 9:34 AM, rguenth at gcc dot gnu.org gcc-bugzi...@gcc.gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56077 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code -- Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You reported the bug.
[Bug middle-end/56077] volatile ignored when function inlined
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56077 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Component|c |middle-end --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2013-01-22 22:40:26 UTC --- I thought I fixed this already via PR54494
[Bug middle-end/56077] volatile ignored when function inlined
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56077 --- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org 2013-01-22 22:51:33 UTC --- I think you need to report this bug to Ubuntu/Linaro as I said I had fixed this via bug 54494
[Bug middle-end/56077] volatile ignored when function inlined
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56077 --- Comment #3 from Marc Glisse glisse at gcc dot gnu.org 2013-01-22 23:13:44 UTC --- (In reply to comment #1) I thought I fixed this already via PR54494 Did you check? It looks like I can reproduce the issue with trunk from last week, whereas you fixed PR54494 months ago. Note that here the stores are not removed, they are just moved across a volatile asm.
[Bug middle-end/56077] volatile ignored when function inlined
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56077 --- Comment #4 from Andrew Pinski pinskia at gcc dot gnu.org 2013-01-22 23:15:22 UTC --- (In reply to comment #3) Did you check? It looks like I can reproduce the issue with trunk from last week, whereas you fixed PR54494 months ago. Note that here the stores are not removed, they are just moved across a volatile asm. That is different from what he reported and I don't think it is a bug.