IPC: compiler optimization related issues
Hi! Before creating a bug in trac, would you accept issues related to compiler optimization (-O2 and -O3) flags? I have a very specific issue with an inter-process mutex (race condition), but it can be reproduced only when flag O2 or higher is being used during compilation. Thank you!
On 03/10/17 18:30, Robert via Boost wrote:
Hi!
Before creating a bug in trac, would you accept issues related to compiler optimization (-O2 and -O3) flags?
I have a very specific issue with an inter-process mutex (race condition), but it can be reproduced only when flag O2 or higher is being used during compilation.
The fact that the problem manifests only when optimizations are enabled may still indicate a bug in the code. I think, such problem should be reported, even if it ends up being a compiler bug - at least we'll be able to know for sure. If you can prepare a self-contained repro, that would be perfect.
Here it is: https://svn.boost.org/trac/boost/ticket/12898 Thanks. On 03/10/17 09:38, Andrey Semashev via Boost wrote:
On 03/10/17 18:30, Robert via Boost wrote:
Hi!
Before creating a bug in trac, would you accept issues related to compiler optimization (-O2 and -O3) flags?
I have a very specific issue with an inter-process mutex (race condition), but it can be reproduced only when flag O2 or higher is being used during compilation.
The fact that the problem manifests only when optimizations are enabled may still indicate a bug in the code. I think, such problem should be reported, even if it ends up being a compiler bug - at least we'll be able to know for sure. If you can prepare a self-contained repro, that would be perfect.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
Andrey Semashev
-
Robert