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
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
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
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)
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79647
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
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