[Bug testsuite/33775] Memset

2007-11-09 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2007-11-09 18:16 --- (In reply to comment #2) > IMO the proposed change would make the code more readable. Johan, the code you quote is in a file from the testsuite. Such code is used to test for some correct behavior under various circums

[Bug testsuite/33775] Memset

2007-11-09 Thread johan dot walles at gmail dot com
--- Comment #2 from johan dot walles at gmail dot com 2007-11-09 13:13 --- IMO the proposed change would make the code more readable. -- johan dot walles at gmail dot com changed: What|Removed |Added ---

[Bug testsuite/33775] Memset

2007-10-15 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-10-15 11:14 --- This code written as a[(char*)b] is valid even C code, in C, d[e] is the same as *(d+e) so d[e] is the same as e[d]. So the code is valid and does the correct thing. There is no bug here. Unless you can explain ex