This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
-Wcast-align and performance
- From: John Boncek <jboncek at Hunter dot COM>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 13 Mar 2009 12:41:36 -0700 (PDT)
- Subject: -Wcast-align and performance
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.