Patch to clean up build_array_ref
Kai Henningsen
kaih@khms.westfalen.de
Sun Nov 21 15:03:00 GMT 2004
joseph@codesourcery.com (Joseph S. Myers) wrote on 20.11.04 in <Pine.LNX.4.61.0411202031490.17088@digraph.polyomino.org.uk>:
> This patch cleans up build_array_ref in the C front end. This
> improves diagnostics and their consistency in various cases, ensuring
> that x[y] and y[x] are handled identically except that for some reason
> -Wchar-subscripts is designed only to warn for the char in one place.
That looks like a bug to me - should that really be preserved? Why?
MfG Kai
More information about the Gcc-patches
mailing list