https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60712
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|"restrict" qualifier |"restrict" qualifier
|ignored on local variable |ignored on local variable
|or after inlining |
Blocks|104466 |
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
After inlining works as expected now (see comment#4 which shows this). We do
not honor __restrict on local variables because we cannot adhere to the
language constraints within our implementation framework. We only can do that
for function parameters.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104466
[Bug 104466] Inlining functions with restrict parameters can inhibit lim (e.g.
in 554.roms_r)