bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug testsuite/33775] Memset


From: pinskia at gcc dot gnu dot org
Subject: [Bug testsuite/33775] Memset
Date: 15 Oct 2007 11:14:27 -0000


------- 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]