This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -Wabi is misdesigned (answers the wrong question)
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Joe Buck <jbuck at synopsys dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 24 Oct 2003 10:58:17 -0700
- Subject: Re: -Wabi is misdesigned (answers the wrong question)
- Organization: CodeSourcery, LLC
- References: <20031022093738.A16135@synopsys.com>
- Reply-to: mark at codesourcery dot com
On Wed, 2003-10-22 at 09:37, Joe Buck wrote:
> I think that -Wabi as currently implemented is useless.
I agree. That's why I resisted adding it in the first place!
> The picture I had in mind when we first talked about it was this:
> if -Wabi is on, we would compute the layout of a class using the
> 3.2 algorithm and the ABI-compliant (modulo unknown bugs) algorithm,
> and object iff there is a difference.
That's not feasible without *major* work on the C++ front end itself.
--
Mark Mitchell <mark@codesourcery.com>
CodeSourcery, LLC