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