[PATCH] fortran: remove redundant code related to constant pointer in atomic_cas
Yuao Ma
addr2line@gmail.com
Fri Oct 31 15:13:16 GMT 2025
Hi Tobias,
On Fri, Oct 31, 2025 at 8:52 PM Tobias Burnus <tburnus@baylibre.com> wrote:
>
> As mentioned, I'd recommend to add a gcc_assert(false) or gfc_error or …
> in code that is to be removed - and and run the testsuite to see
> where/whether it breaks.
>
> However, I am pretty sure that it won't break (because of the check)
> and that is was in the code effectively only because of the const
> issue, even though it could in theory handle more.
>
I ran another round of tests with gcc_assert(false), no issues found.
Pushed as r16-4910-g82384a2eda628a.
Thanks for the review!
Yuao
More information about the Fortran
mailing list