Re: Vector subscripts in C++

2012-04-30 Thread Marc Glisse
Ping? Also added Richard in Cc: as the author of the C front-end code I am sharing with the C++ front-end. Looks like I forgot to say it here (was in bugzilla), but the patch was tested in a c,c++ bootstrap + make -k check on linux x86_64. Reattaching the patch (now using the recommended d

Vector subscripts in C++

2012-04-17 Thread Marc Glisse
Hello, this patch adds vector subscripting to C++ by reusing the C code. build_array_ref and cp_build_array_ref could probably share more, but I don't understand them enough to do it. (note that I can't commit, so if you like the patch...) gcc/cp/ChangeLog 2012-04-17 Marc Glisse