-Wcast-align and performance

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

 



I have turned on -Wcast-align in a big C++ project for ARM PXA270
architecture and am receiving many warnings of the form:

warning: cast from `BYTE*' to `short int*' increases required alignment of
target type

This sounds like there will be a performance penalty to generate the correct
alignment for this.  Is that correct?

Thanks for your attention.

John Boncek
-- 
View this message in context: http://www.nabble.com/-Wcast-align-and-performance-tp22501453p22501453.html
Sent from the gcc - Help mailing list archive at Nabble.com.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux