This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/53436] Volatile behaves strange with OpenMP
- From: "o.mangold at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 22 May 2012 07:45:46 +0000
- Subject: [Bug tree-optimization/53436] Volatile behaves strange with OpenMP
- Auto-submitted: auto-generated
- References: <bug-53436-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53436
--- Comment #4 from o.mangold at googlemail dot com 2012-05-22 07:45:46 UTC ---
(In reply to comment #3)
> The testcase is not valid OpenMP, there is no flush operation in between the
> store and reads,
Is that also needed with volatile variables? Would be quite counterintuitive.
> that said, there was a bug on the GCC side that I've fixed.
Great, thanks.