Skip to content

rts: extend compiler function attribute usage

Nicolas Trangez requested to merge NicolasT/ghc:compiler-attributes into master

See #22381.

The annotations (when using a new-enough version of GCC for them to trigger) triggered one case where free was used on an stgMallocBytes allocation, instead of stgFree. Granted, they're currently the same anyway.

Edited by Nicolas Trangez

Merge request reports