https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100920
--- Comment #11 from CVS Commits ---
The releases/gcc-11 branch has been updated by Eric Botcazou
:
https://gcc.gnu.org/g:5be418dc591014b1773d59abca8fba5be34df618
commit r11-8533-g5be418dc591014b1773d59abca8fba5be34df618
Author: Eric Botcazou
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100920
--- Comment #10 from Eric Botcazou ---
> Raising one for these cases is really problematic. Functions using void in
> stead of an explicit type are explicitly saying that the type does not
> matter. There never is a warning for any other type wh
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100920
--- Comment #9 from George Thopas ---
/*
Hi Eric,
1) I noticed there's a typo in the test, (which is my fault) and may give
unexpected behavior later on
memcpy(msg2, &msg1, sizeof(t_s12));
=> should be memcpy(msg2, msg1, sizeof(t_
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100920
--- Comment #8 from CVS Commits ---
The master branch has been updated by Eric Botcazou :
https://gcc.gnu.org/g:97d83259b91fb558f5b09bfb09529900f585c4c9
commit r12-1264-g97d83259b91fb558f5b09bfb09529900f585c4c9
Author: Eric Botcazou
Date: M
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100920
--- Comment #7 from Eric Botcazou ---
> Thanks for the swift fix. It nicely resolves it for the malloc/alloca ...
> It doesn't seem to do anything for the rest of the common idioms however
> when I extend the testcase.
Yet there is a provision
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100920
--- Comment #6 from George Thopas ---
(In reply to Eric Botcazou from comment #5)
> Thanks for reporting the problem.
Thanks for the swift fix. It nicely resolves it for the malloc/alloca ...
It doesn't seem to do anything for the rest of the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100920
Eric Botcazou changed:
What|Removed |Added
Target Milestone|--- |12.0
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100920
--- Comment #4 from CVS Commits ---
The master branch has been updated by Eric Botcazou :
https://gcc.gnu.org/g:a589877a0036fc2f66b7a957859940c53efdc7c9
commit r12-1242-ga589877a0036fc2f66b7a957859940c53efdc7c9
Author: Eric Botcazou
Date: S
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100920
--- Comment #3 from Eric Botcazou ---
> It may not be immediately obvious from my example but the the builtin_alloca
> is not the only problem.
>
> Any malloc/calloc has the same effect. Even if one requires casts at alloc
> time, any free wil
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100920
--- Comment #2 from George Thopas ---
(In reply to Eric Botcazou from comment #1)
> The warning on the union is indeed an oversight, but the other is
> conservatively correct, although we may make a special case for
> __builtin_alloca.
Hi Eric,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100920
Eric Botcazou changed:
What|Removed |Added
Summary|bogus warn on |bogus warnings with
|
11 matches
Mail list logo