[Bug c/89547] pthread_mutex_lock and pthread_cond_wait do not behave properly when compiler with -flto

2019-03-01 Thread maqsood3525 at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89547 --- Comment #2 from maqsood3525 at live dot com --- Hi , pardon me for the my tardinees , i should have mentioned the gcc version that is gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 the -flto output is attached. Thanks Haroon

[Bug c/89547] New: pthread_mutex_lock and pthread_cond_wait do not behave properly when compiler with -flto

2019-03-01 Thread maqsood3525 at live dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: maqsood3525 at live dot com Target Milestone: --- Created attachment 45865 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45865&action=edit reporodu