[riot-notifications] [RIOT-OS/RIOT] cpu/fe310: Silence -Wcast-align (#15463)

Marian Buschsieweke notifications at github.com
Wed Nov 18 10:01:25 CET 2020


### Contribution description

The stack pointer for the fe310 is aligned to a 16 byte boundary, hence, casts to `uint32_t` are safe. This PR silences -Wcast-align false positives.

### Testing procedure

No change in generated binaries.

### Issues/PRs references

Needed for https://github.com/RIOT-OS/RIOT/pull/14955
You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/15463

-- Commit Summary --

  * cpu/fe310: Silence -Wcast-align

-- File Changes --

    M cpu/fe310/thread_arch.c (9)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/15463.patch
https://github.com/RIOT-OS/RIOT/pull/15463.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15463
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201118/2d28daeb/attachment.htm>


More information about the notifications mailing list