This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/80520] [7/8 Regression] Performance regression from missing if-conversion
- From: "krister.walfridsson at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 26 Apr 2017 13:37:41 +0000
- Subject: [Bug tree-optimization/80520] [7/8 Regression] Performance regression from missing if-conversion
- Auto-submitted: auto-generated
- References: <bug-80520-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80520
--- Comment #3 from krister.walfridsson at gmail dot com ---
You can see the issue in the generated code with
int foo(std::mt19937 &gen)
{
std::uniform_int_distribution<int> dist(0,99);
return dist(gen);
}
too. I.e. it is not just an artifact of the uninteresting use in the
benchmarking loop.