gcc-10-20210424 is now available

2021-04-24 Thread GCC Administrator via Gcc
Snapshot gcc-10-20210424 is now available on https://gcc.gnu.org/pub/gcc/snapshots/10-20210424/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 10 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Possibly minor pessimisation at -O2 for logical-AND'd branch statements

2021-04-24 Thread Soul Studios
The following: #include int main() { const bool a =(rand() % 20) > 5; const bool b =(rand() & 1) == 1; int x = rand() % 5, y = rand() % 2, z = rand() % 3, c = rand() % 4, d = rand() % 5; if (a & b) d = y * c; else if (a & !b) c = 2 * d; else if (!a &