This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,c++] use XALLOCAVEC in the C++ front-end
On Wed, 9 Jun 2010, Manuel López-Ibáñez wrote:
> note: to be safe all intermediate pointers must be equally qualified
The requirement is not that they be equally qualified, it's that they be
const-qualified. (That is, if you are adding "volatile" qualifiers,
"const" is still needed at intermediate levels; you can convert char ** to
volatile char *const * but not to volatile char *volatile *.)
--
Joseph S. Myers
joseph@codesourcery.com