[RTEMS Project] #4662: Fix GCC 12 warnings

RTEMS trac trac at rtems.org
Fri Aug 19 20:46:17 UTC 2022


#4662: Fix GCC 12 warnings
-------------------------+---------------------
 Reporter:  Chris Johns  |       Owner:  (none)
     Type:  defect       |      Status:  new
 Priority:  normal       |   Milestone:  6.1
Component:  tool/gcc     |     Version:  6
 Severity:  blocker      |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+---------------------

Comment (by Ryan Long <ryan.long@…>):

 In [changeset:"f930206724e65f188fe3b095826ceb1b11000f65/rtems"
 f9302067/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="f930206724e65f188fe3b095826ceb1b11000f65"
 linkersets.h: Fix gcc 12 warning

 Changing the offset from 0 to 1 got rid of a warning stating that offset 0
 is
 out of bounds.

 Updates #4662
 }}}

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


More information about the bugs mailing list