[RTEMS Project] #4662: Fix GCC 12 warnings
RTEMS trac
trac at rtems.org
Wed Jun 15 02:56:28 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 Chris Johns <chrisj@…>):
In [changeset:"5262b9c2ab43373ff03d31543c9c2ea72ae9ad51/rtems"
5262b9c/rtems]:
{{{
#!CommitTicketReference repository="rtems"
revision="5262b9c2ab43373ff03d31543c9c2ea72ae9ad51"
score/cpu: Silence ARM and AARCH64 GCC 12 false trigger array warning
The false trigger is covered in:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99578
GCC 11 and 12 has been patched for constant pointer casts above
4K. This code casts a constant pointer within the first 4K
page. As a result the patch disables the warning.
Updates #4662
}}}
--
Ticket URL: <http://devel.rtems.org/ticket/4662#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list