Re: [C++ Patch] PR 56582

2013-03-13 Thread Jason Merrill
OK for 4.8.1. Jason

[C++ Patch] PR 56582

2013-03-09 Thread Paolo Carlini
Hi, in cxx_eval_array_reference we don't check whether the subscript is negative and we end up either ICEing or emitting wrong code. Adding the check seems trivial, but I'm not sure if there is something more subtle to the issue which I'm missing. Also note that in principle we could have so