On Tue, 2010-02-02 at 14:20 -0500, Jeffrey Stedfast wrote:
> Xavier Bestel wrote:
> > I don't know ... Jeff's demonstration was using obviously wrong C code,
> > so I'm on GCC side for that one.
> >   
> It's only wrong if you are targeting c99 (evolution was written to
> target c89 - that may have changed a bit since I've left the project,
> but the demonstration code is perfectly legal in c89 and works on all of
> the big-name compilers).

Sigh ... I know I'm kind of feeding a troll there, but accessing a
Node** as a Node* isn't legal, and just works by luck.

> This type of trick is used all over the place.


> In any case, the workaround is to just specify -fno-strict-aliasing.

... until some other optimisation pass misunderstands that kind of code.


Evolution-hackers mailing list

Reply via email to