m68k/m5484FireEngine and COBRA5475 strict alias warnings

Joel Sherrill joel.sherrill at oarcorp.com
Wed Oct 8 17:25:59 UTC 2014


Hi

There appears to be something in the way the register access
macros are defined for the genmcf548x BSP which results in
a fairly large number of type-punned breaking strict alias
warnings.  There are 60 unique warnings reported in this BSP
which is 3.5% of the total number of unique warnings overall
right now.

The mcf5235 BSP similarly has a large set of these and may
be the same pattern.

Eliminating these would be appreciated as I think it would nearly
eliminate strict aliasing warnings.

Thanks.

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985




More information about the devel mailing list