[RTEMS Project] #4013: m68k: Alignment of int, long, long long, float, double, and long double should be increased to 32-bit on chips with usually 32-bit busses

RTEMS trac trac at rtems.org
Wed Sep 30 11:41:52 UTC 2020


#4013: m68k: Alignment of int, long, long long, float, double, and long double
should be increased to 32-bit on chips with usually 32-bit busses
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  defect           |      Status:  assigned
 Priority:  normal           |   Milestone:  6.1
Component:  score            |     Version:  5
 Severity:  normal           |  Resolution:
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+------------------------------

Comment (by Sebastian Huber):

 GCC has an -malign-int option to increase the alignment of some basic
 types:

 https://gcc.gnu.org/onlinedocs/gcc/M680x0-Options.html

 It includes this warning:
 {{{
 Warning: if you use the -malign-int switch, GCC aligns structures
 containing the above types differently than most published application
 binary interface specifications for the m68k.
 }}}
 Should we use this flag for the Coldfire variants?

--
Ticket URL: <http://devel.rtems.org/ticket/4013#comment:11>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list