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 ________________________________ From: rguenth at gcc dot gnu.org <gcc-bugzi...@gcc.gnu.org> Sent: Friday, March 1, 2019 1:32 PM To: maqsood3...@live.com Subject: [Bug c/89547] pthread_mutex_lock and pthread_cond_wait do not behave properly when compiler with -flto https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89547 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2019-03-01 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- It works just fine for me - can you please cut&paste the output of the -flto compile command when you append -v? -- You are receiving this mail because: You reported the bug.