[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC, PATCH] shrink struct vectorlike_header #2

From: Stephen J. Turnbull
Subject: Re: [RFC, PATCH] shrink struct vectorlike_header #2
Date: Thu, 08 Nov 2012 15:56:04 +0900

Stefan Monnier writes:

 > I doubt (*(struct Lisp_Vector **)((char *) v + header_size))
 > is any better.  I guess it just defeats gcc's detection of the
 > problem.

Not true, in general.  Martin Buchholz (IIRC) reported that (at
least for some constructs, for some versions of GCC, and specific
optimization settings -- this was a few years ago) such gymnastics
change the code generated (presumably from something incorrect to
something correct).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]