This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: (C++) patch for TYPE_READONLY handling
- To: jason at cygnus dot com
- Subject: Re: (C++) patch for TYPE_READONLY handling
- From: Mark Mitchell <mark at markmitchell dot com>
- Date: Fri, 23 Oct 1998 10:25:20 -0700
- CC: egcs-patches at cygnus dot com
- References: <199810230920.CAA05224@yorick.cygnus.com>
- Reply-to: mark at markmitchell dot com
>>>>> "Jason" == Jason Merrill <jason@cygnus.com> writes:
Jason> Applied. grokdeclarator was stripping const from an array
Jason> typedef. Fixes g++.other/conv3.C.
Rats. I've already fixed this in my tree as part of the `restrict'
integration, and created similar macros. Since I've used them
pervasively, I'm going to yank yours out and use mine instead, if it's
OK with you. Also, your version still doesn't work on things like:
const int a[10][10][10][10][10];
I don't think. I'll be putting in these fixes by the end of the day,
which also fix some long-standing problems with `volatile' virtual
functions, and miscellaneous other const-correctness issues.
--
Mark Mitchell mark@markmitchell.com
Mark Mitchell Consulting http://www.markmitchell.com