[Bug tree-optimization/88973] [8/9 Regression] New -Wrestrict warning since r268048

2019-02-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88973 --- Comment #8 from Martin Sebor --- The Asan warning is much clearer because it's based on actually observed values. This instance of the -Wrestrict warning is based on a heuristic: "we think the copy may overlap because it is within the same

[Bug tree-optimization/88973] [8/9 Regression] New -Wrestrict warning since r268048

2019-02-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88973 --- Comment #7 from Martin Liška --- (In reply to Martin Sebor from comment #4) > I've created a test case using the canonicalize_pathname function showing > that it does, in fact, cause an overlap to take place. The following line > in the

[Bug tree-optimization/88973] [8/9 Regression] New -Wrestrict warning since r268048

2019-02-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88973 --- Comment #6 from Martin Liška --- (In reply to Bruce Korb from comment #5) > (In reply to Martin Sebor from comment #4) > > > canonicalize_pathname.c: In function ‘canonicalize_pathname’: > > canonicalize_pathname.c:61:2: warning: ‘strcpy’

[Bug tree-optimization/88973] [8/9 Regression] New -Wrestrict warning since r268048

2019-02-19 Thread bkorb at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88973 Bruce Korb changed: What|Removed |Added CC||bkorb at gnu dot org --- Comment #5 from

[Bug tree-optimization/88973] [8/9 Regression] New -Wrestrict warning since r268048

2019-01-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88973 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/88973] [8/9 Regression] New -Wrestrict warning since r268048

2019-01-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88973 --- Comment #3 from Martin Sebor --- Created attachment 45497 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45497=edit canonicalize_pathname function extracted from the translation unit. Attached is the canonicalize_pathname function

[Bug tree-optimization/88973] [8/9 Regression] New -Wrestrict warning since r268048

2019-01-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88973 Martin Sebor changed: What|Removed |Added Blocks||84774 --- Comment #2 from Martin Sebor

[Bug tree-optimization/88973] [8/9 Regression] New -Wrestrict warning since r268048

2019-01-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88973 Richard Biener changed: What|Removed |Added Keywords||diagnostic Priority|P3