[Bug c/104711] Unnecessary -Wshift-negative-value warning

2022-05-11 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104711 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/104711] Unnecessary -Wshift-negative-value warning

2022-05-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104711 --- Comment #12 from CVS Commits --- The releases/gcc-9 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0e02b8468be6b655c43c6d64fef772678681 commit r9-10139-g0e02b8468be6b655c43c6d64fef772678681 Author: Jakub Jelinek

[Bug c/104711] Unnecessary -Wshift-negative-value warning

2022-05-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104711 --- Comment #11 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7a4db01ba8171e5f7b82cb5a36e0a6cbb6e996a0 commit r10-10693-g7a4db01ba8171e5f7b82cb5a36e0a6cbb6e996a0 Author: Jakub Jelinek

[Bug c/104711] Unnecessary -Wshift-negative-value warning

2022-03-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104711 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:ddc0d2593fb4d2eb432e24018d36dd3f337a8138 commit r11-9726-gddc0d2593fb4d2eb432e24018d36dd3f337a8138 Author: Jakub Jelinek

[Bug c/104711] Unnecessary -Wshift-negative-value warning

2022-03-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104711 --- Comment #9 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d76511138dc816ef66fd16f71531f48c37dac3b4 commit r12-7557-gd76511138dc816ef66fd16f71531f48c37dac3b4 Author: Jakub Jelinek Date: W

[Bug c/104711] Unnecessary -Wshift-negative-value warning

2022-03-01 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104711 --- Comment #8 from Segher Boessenkool --- Arnd's request was to not have -Wshift-negative-value implied by -W, or at least not if -fwrapv (-pedantic would be wrong btw, the standard does not require a diagnostic here, and that is what -pedantic

[Bug c/104711] Unnecessary -Wshift-negative-value warning

2022-03-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104711 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/104711] Unnecessary -Wshift-negative-value warning

2022-03-01 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104711 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug c/104711] Unnecessary -Wshift-negative-value warning

2022-02-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104711 --- Comment #5 from Richard Biener --- I agree that -fwrapv should make left-shift of positive values when the result is not representable well-defined but I'm not sure about the negative value case - the standard does not provide enough reasoni

[Bug c/104711] Unnecessary -Wshift-negative-value warning

2022-02-27 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104711 --- Comment #4 from Segher Boessenkool --- Created attachment 52522 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52522&action=edit testcase

[Bug c/104711] Unnecessary -Wshift-negative-value warning

2022-02-27 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104711 --- Comment #3 from Segher Boessenkool --- ... does NOT have a good enough balance ... Sorry :-)

[Bug c/104711] Unnecessary -Wshift-negative-value warning

2022-02-27 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104711 Segher Boessenkool changed: What|Removed |Added Last reconfirmed||2022-02-27 Ever confirmed|0

[Bug c/104711] Unnecessary -Wshift-negative-value warning

2022-02-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104711 Andrew Pinski changed: What|Removed |Added Keywords||documentation --- Comment #1 from Andre