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
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82813
Eric Botcazou changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
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&root=gcc&view=rev
Log:
PR ada/82813
* gcc-interface/misc.c (gnat_post_options
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&root=gcc&view=rev
Log:
PR ada/82813
* gcc-interface/misc.c (gnat_post_options
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.
Yes
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82813
Martin Sebor changed:
What|Removed |Added
Depends on||80545
--- Comment #3 from Martin Sebor -
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 => &D.9593
.builtin_memcpy (&MEM[(void *)&D.9593], pretmp_305, _250);
The only predecessor is:
[0.32%] [count: INV]:
L113b_224 = s
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82813
Eric Botcazou changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|