On Wed, 29 Feb 2012 03:22:47 +0100
ольга крыжановская <[email protected]> wrote:

> > reference the same memory location. This helps the compiler to
> > produce better and faster running code. If you turn strict aliasing
> > off with -fno-strict-aliasing you will suffer a performance penalty
> > with modern compilers, assuming your compiler still has such an
> > option to disable strict aliasing.

While vmalloc's debugging is less of a performance hit than some other
implementations of memory allocation debugging, performance is probably
less of a concern than correctness when debugging (and the specific
line of code that you referenced is only executed when debugging mode
is activated).  You might want to lower the -O level or disable the
strict aliasing "feature" for the specific file in question.

_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to