[RTEMS Project] #4013: Using the size of an object to deduce the alignment is broken on some architectures

RTEMS trac trac at rtems.org
Fri Jun 26 12:48:07 UTC 2020


#4013: Using the size of an object to deduce the alignment is broken on some
architectures
-----------------------------+------------------------------
 Reporter:  Sebastian Huber  |       Owner:  Sebastian Huber
     Type:  defect           |      Status:  assigned
 Priority:  normal           |   Milestone:  5.2
Component:  score            |     Version:  5
 Severity:  normal           |  Resolution:
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+------------------------------

Comment (by Joel Sherrill):

 Why isn't the area or the structure declared with RTEMS_ALIGNED()? It has
 alignment requirements that are known at compile time and should be
 specified.

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


More information about the bugs mailing list