https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55947
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55947
--- Comment #3 from Andi Kleen andi-gcc at firstfloor dot org 2013-03-13
13:49:10 UTC ---
It was pointed out to me that atomic triggers this with, when compiled with no
optimization. For HLE wrong hints would be generated.
bool
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55947
--- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2013-03-13
14:15:51 UTC ---
Not wrong, if the code isn't inlined and thus the model is variable, HLE hints
will be ignored and seq_cst model will be used.
If you want something
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55947
Jakub Jelinek jakub at gcc dot gnu.org changed:
What|Removed |Added
CC||jakub at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55947
--- Comment #2 from Andi Kleen andi-gcc at firstfloor dot org 2013-01-11
22:01:49 UTC ---
I would probably add at least a warning. The whole concept of a runtime
switched memory barrier is imho ill-defined.