[Bug d/95075] gcc/d/dmd/dscope.c: 2 * strange assignments ?

2020-06-25 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95075 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/95075] gcc/d/dmd/dscope.c: 2 * strange assignments ?

2020-06-25 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95075 --- Comment #3 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:1b7b352a8379dbdd74c962d11951982e21e20f13 commit r11-1662-g1b7b352a8379dbdd74c962d11951982e21e20f13 Author: Iain Buclaw Date: Wed Ju

[Bug d/95075] gcc/d/dmd/dscope.c: 2 * strange assignments ?

2020-05-18 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95075 --- Comment #2 from Iain Buclaw --- """ I think I wrote it that way to emphasize what the result should be, and relied on the optimizer removing the self-assignment. So, the code is correct. """ So I'll remove the self-assignment with a comment

[Bug d/95075] gcc/d/dmd/dscope.c: 2 * strange assignments ?

2020-05-17 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95075 --- Comment #1 from Iain Buclaw --- Also present in upstream implementation, I'll ask the author of the change about it.