IPC: compiler optimization related issues

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

IPC: compiler optimization related issues

Boost - Dev mailing list
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!



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: IPC: compiler optimization related issues

Boost - Dev mailing list
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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: IPC: compiler optimization related issues

Boost - Dev mailing list
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


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Loading...