https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
--- Comment #37 from CVS Commits ---
The master branch has been updated by Jason Merrill :
https://gcc.gnu.org/g:6d00f052ef209bacdd93f503b0c5fb428cc6c434
commit r10-6181-g6d00f052ef209bacdd93f503b0c5fb428cc6c434
Author: Jason Merrill
Date: T
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
--- Comment #36 from CVS Commits ---
The master branch has been updated by Jason Merrill :
https://gcc.gnu.org/g:55b7df8bfb12938e7716445d4e2dc0d2ddf44bac
commit r10-6157-g55b7df8bfb12938e7716445d4e2dc0d2ddf44bac
Author: Jason Merrill
Date: W
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
seurer at gcc dot gnu.org changed:
What|Removed |Added
CC||seurer at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
Christophe Lyon changed:
What|Removed |Added
CC||clyon at gcc dot gnu.org
--- Comment #
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
Jason Merrill changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
--- Comment #32 from CVS Commits ---
The master branch has been updated by Jason Merrill :
https://gcc.gnu.org/g:c77074d05691053ee7347d9e44ab89b3adb23fb1
commit r10-6126-gc77074d05691053ee7347d9e44ab89b3adb23fb1
Author: Jason Merrill
Date: T
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
Jason Merrill changed:
What|Removed |Added
CC||kosotiro at yahoo dot gr
--- Comment #31
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
--- Comment #30 from Jason Merrill ---
New patch: https://gcc.gnu.org/ml/gcc-patches/2020-01/msg00624.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
Jason Merrill changed:
What|Removed |Added
Status|NEW |ASSIGNED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
Eric Gallager changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
Marcin Ślusarz changed:
What|Removed |Added
CC||marcin.slusarz at intel dot com
--- Com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
hariharan.gcc at gmail dot com changed:
What|Removed |Added
CC||hariharan.gcc at gmail do
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
Manuel López-Ibáñez changed:
What|Removed |Added
CC||dchichkov at gmail dot com
--- Comm
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
--- Comment #25 from Chengnian Sun ---
Today I encountered a similar case as follows. The conversion warning by gcc is
not true as right-shifting an unsigned short decreases the value.
BTW clang does not emit warnings for this code snippet.
$
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
Mikhail Veltishchev changed:
What|Removed |Added
CC||dichlofos-mv at yandex dot
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
--- Comment #23 from Manuel López-Ibáñez 2012-05-05
15:30:06 UTC ---
(In reply to comment #22)
> If someone really thinks there should be a warning for this behavior, how
> about
> adding a separate
> -Wchar-arithmetic
> warning which warns on a
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
Wes changed:
What|Removed |Added
CC||wessjunk at gmail dot com
--- Comment #22 from Wes
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
--- Comment #21 from David Stone 2012-03-24
21:25:08 UTC ---
Why was this patch rejected, and is there a way to improve it so that obviously
safe cases (such as PR52703) are not warned about without having to specify a
'-Wno-' option?
Yes, accor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
Manuel López-Ibáñez changed:
What|Removed |Added
CC||DeusExSophismata at gmail
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40752
Manuel López-Ibáñez changed:
What|Removed |Added
CC||ebrahim at mohammadi dot ir
--- Com
--- Comment #18 from photon at seznam dot cz 2010-06-12 16:46 ---
(In reply to comment #17)
> The patch was rejected but it may be accepted by using a new -Wno-* option to
> disable these warnings. Perhaps -Wno-conversion-after-promotion?
>
> Suggestions are welcome.
>
-Wconversion s
--- Comment #17 from manu at gcc dot gnu dot org 2010-06-11 20:22 ---
The patch was rejected but it may be accepted by using a new -Wno-* option to
disable these warnings. Perhaps -Wno-conversion-after-promotion?
Suggestions are welcome.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?
--- Comment #16 from manu at gcc dot gnu dot org 2009-09-05 14:05 ---
*** Bug 41274 has been marked as a duplicate of this bug. ***
--
manu at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #15 from manu at gcc dot gnu dot org 2009-07-23 15:35 ---
Patch: http://gcc.gnu.org/ml/gcc-patches/2009-07/msg01179.html
--
manu at gcc dot gnu dot org changed:
What|Removed |Added
---
--
photon at seznam dot cz changed:
What|Removed |Added
Severity|enhancement |normal
Summary|-Wconversion: do not warn |-Wconversion generate
--- Comment #4 from ian at airs dot com 2009-07-14 22:23 ---
Manu, I agree that these warnings are in some sense technically correct but
they are not useful. They can't point to any actual bug. I guess would be
that if every input to the expression has the size of the target of the
exp
--- Comment #3 from manu at gcc dot gnu dot org 2009-07-14 20:56 ---
Joseph, could you comment on this?
--
manu at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #2 from manu at gcc dot gnu dot org 2009-07-14 20:55 ---
Andrew, what you say is true, but in this case the warning is not very useful.
I'd prefer to warn only when the operator is larger than the target of the
assignment. I would like to hear other opinions.
--
manu at g
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-07-14 19:21 ---
Theses are not false warnings:
c >>= 1;
is really c = (int)c >> 1;
c += (char) 1;
c = (int)c + (int)(char)1;
c += c2;
c = (int)c + (int) c2;
c = ~c2;
c = ~(int)c2;
Only the l
29 matches
Mail list logo