> Eventually, when GCC moves to more a recent C++ revision, it will > become possible to simplify the for loops to make use of the range > based for loop syntax along the lines of: > > for (auto argtype: function_args (functype)) > { > ... > } > > Tested on x86_64-linux, and (lightly) on powerpc64le-linux using > a cross-compiler. I'll test the changes to the other back ends > before committing.
How does this interact with debugging? Because, in my experience, the more you convert things to modernish C++, the less you can easily debug them... -- Eric Botcazou