This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -Wabi is misdesigned (answers the wrong question)


On Wed, 2003-10-22 at 17:20, law@redhat.com wrote:
> In message <20031022165429.A20170@synopsys.com>, Joe Buck writes:
>  >It's not too complicated to implement, as the compiler already knows how
>  >to compute both layouts.
> But it may be difficult to compute one layout without side effects which
> may make computing the second layout exceedingly difficult.

Yes, that's the case.

It's probably possible to do what Joe wants, but it's not trivial.  One
would have to be very careful not to have the first layout algorithm
bias the results of the second; after running the first, you'd want to
clear out the layout entirely and do it again.

You'd risk introducing ABI breakage by doing that.

-- 
Mark Mitchell <mark@codesourcery.com>
CodeSourcery, LLC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]