[Bug ada/82813] warning: '.builtin_memcpy' writing between 2 and 6 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]

2019-08-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82813 Bug 82813 depends on bug 80545, which changed state. Bug 80545 Summary: option -Wstringop-overflow not recognized by Fortran https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80545 What|Removed |Added

[Bug ada/82813] warning: '.builtin_memcpy' writing between 2 and 6 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]

2018-03-12 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82813 Eric Botcazou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ada/82813] warning: '.builtin_memcpy' writing between 2 and 6 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]

2018-03-12 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82813 --- Comment #6 from Eric Botcazou --- Author: ebotcazou Date: Mon Mar 12 22:40:19 2018 New Revision: 258467 URL: https://gcc.gnu.org/viewcvs?rev=258467=gcc=rev Log: PR ada/82813 * gcc-interface/misc.c (gnat_post_options):

[Bug ada/82813] warning: '.builtin_memcpy' writing between 2 and 6 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]

2018-03-12 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82813 --- Comment #5 from Eric Botcazou --- Author: ebotcazou Date: Mon Mar 12 22:40:05 2018 New Revision: 258466 URL: https://gcc.gnu.org/viewcvs?rev=258466=gcc=rev Log: PR ada/82813 * gcc-interface/misc.c (gnat_post_options):

[Bug ada/82813] warning: '.builtin_memcpy' writing between 2 and 6 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]

2017-11-02 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82813 --- Comment #4 from Eric Botcazou --- > The warning will go away once pr80545 is fixed but I wonder if a better > (independent) solution in this case is to detect that the code is, in fact, > unreachable, and avoid emitting it to begin with.

[Bug ada/82813] warning: '.builtin_memcpy' writing between 2 and 6 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]

2017-11-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82813 Martin Sebor changed: What|Removed |Added Depends on||80545 --- Comment #3 from Martin Sebor

[Bug ada/82813] warning: '.builtin_memcpy' writing between 2 and 6 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]

2017-11-02 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82813 --- Comment #2 from Eric Botcazou --- It's unreachable code: [0.23%] [count: INV]: # DEBUG S117b.276 => .builtin_memcpy ([(void *)], pretmp_305, _250); The only predecessor is: [0.32%] [count: INV]: L113b_224 = start_130 + _322;

[Bug ada/82813] warning: '.builtin_memcpy' writing between 2 and 6 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]

2017-11-02 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82813 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|