[Bug middle-end/79647] bogus warning when building openssl

2017-02-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79647 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #8

[Bug middle-end/79647] bogus warning when building openssl

2017-02-22 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79647 --- Comment #7 from Bernd Edlinger --- (In reply to Andrew Pinski from comment #1) > >The second warning is also bogus, the -Wno-parentheses-equality was accepted > before. > > Well this error message about an unknown warning option only happens

[Bug middle-end/79647] bogus warning when building openssl

2017-02-21 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79647 --- Comment #6 from Martin Sebor --- I'm not entirely sure. But the trouble with the test case is that it converts between signed and unsigned integers with different sizes. The async_jobs variable's type is int but memset takes size_t (which i

[Bug middle-end/79647] bogus warning when building openssl

2017-02-21 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79647 --- Comment #5 from Bernd Edlinger --- When I tried to limit the memory allocation to reasonable size, I triggered the warning again, with this modified check: @@ -1393,6 +1393,12 @@ int speed_main(int argc, char **argv)

[Bug middle-end/79647] bogus warning when building openssl

2017-02-20 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79647 --- Comment #4 from Bernd Edlinger --- (In reply to Martin Sebor from comment #3) > @@ -19021,6 +19021,13 @@ > case OPT_ASYNCJOBS: > > async_jobs = atoi(opt_arg()); > + if (async_jobs < 0) { > + BIO_print

[Bug middle-end/79647] bogus warning when building openssl

2017-02-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79647 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug middle-end/79647] bogus warning when building openssl

2017-02-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79647 --- Comment #2 from Andrew Pinski --- int async_jobs = 0; ... async_jobs = atoi(opt_arg()); loopargs_len = (async_jobs == 0 ? 1 : async_jobs); loopargs = app_malloc(loopargs_len * sizeof(loopargs_t), "array