[Bug testsuite/33775] Memset
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Oct 15 11:14:00 GMT 2007
------- 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 exactly why you
want the change, I am going to close this as invalid.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |gcc-bugs at gcc dot gnu dot
| |org
Component|classpath |testsuite
Product|classpath |gcc
Version|unspecified |unknown
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33775
More information about the Gcc-bugs
mailing list