[Bug c/87387] trunk/gcc/builtins.c:585:7: warning: -Wself-assign problem

2018-10-21 Thread jamespharvey20 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87387 --- Comment #6 from jamespharvey20 at gmail dot com --- This fix introduces bug 87672.

[Bug c/87387] trunk/gcc/builtins.c:585:7: warning: -Wself-assign problem

2018-09-25 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87387 --- Comment #4 from Jeffrey A. Law --- Author: law Date: Tue Sep 25 22:17:45 2018 New Revision: 264585 URL: https://gcc.gnu.org/viewcvs?rev=264585=gcc=rev Log: PR c/87387 * builtins.c (unterminated_array): Simplify. *

[Bug c/87387] trunk/gcc/builtins.c:585:7: warning: -Wself-assign problem

2018-09-25 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87387 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/87387] trunk/gcc/builtins.c:585:7: warning: -Wself-assign problem

2018-09-23 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87387 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug c/87387] trunk/gcc/builtins.c:585:7: warning: -Wself-assign problem

2018-09-23 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87387 --- Comment #2 from David Binderman --- Looks like an old implementation: https://gcc.gnu.org/ml/gcc-patches/2010-06/msg02390.html It might be worth using this as a starting point.

[Bug c/87387] trunk/gcc/builtins.c:585:7: warning: -Wself-assign problem

2018-09-23 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87387 --- Comment #1 from David Binderman --- I found this bug by compiling gcc with the new clang 7.0 It seems that gcc can't be encouraged to warn about self-assignment. For example: $cat sep23a.cc // -Wself-assign. clang has it. gcc doesn't.