|
Boost : |
From: Fletcher, John P (j.p.fletcher_at_[hidden])
Date: 2019-07-19 22:53:34
Sorry the last post was sent incomplete by mistake.
John
________________________________________
From: Boost [boost-bounces_at_[hidden]] on behalf of Fletcher, John P via Boost [boost_at_[hidden]]
Sent: 19 July 2019 23:49
To: navya deepika garakapati; boost_at_[hidden]
Cc: Fletcher, John P
Subject: Re: [boost] Lambda testcase fails when optimization enabled in gcc and llvm
________________________________
From: navya deepika garakapati [navyadeepika.9_at_[hidden]]
Sent: 19 July 2019 11:28
To: boost_at_[hidden]
Cc: Fletcher, John P
Subject: Re: [boost] Lambda testcase fails when optimization enabled in gcc and llvm
>Hi John,
>we tried with below compilers and version where it is failing
>g++ 8.1 and above. in clang++ 3.8.1 and 8.
>while it is passing on g++ 5.4.
>Thanks
An observation:
When I replace
int d= (apply1<int>(_1 ,one) == 1);
with this
int d= (apply1<int>(_1 + 0 ,one) == 1);
it works even when optimized.
I have tried this with clang 4.0
John
_______________________________________________
Unsubscribe & other changes: https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.boost.org%2Fmailman%2Flistinfo.cgi%2Fboost&data=02%7C01%7CJ.P.Fletcher%40aston.ac.uk%7C4065109385d74d061a8908d70c9b5e03%7Ca085950c4c2544d5945ab852fa44a221%7C0%7C0%7C636991733803734718&sdata=nvOui0rHUFYq%2FDI5ie3PkS4ffSGR0UkuGB6AxqaZCYU%3D&reserved=0
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk