https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52774
Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #2 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
I started work on this one. I wonder if we should give a warning about the rhs
rededfining the lhs in these test cases. I am reading in both the 2018 and 2023
drafts:
10.1.4.2, second bullet.
- if a function reference causes definition or undefinition of an actual
argument of the function, that argument or any associated entities shall not
appear elsewhere in the same statement.
I dont think it applies here, but I am not 100% certain of it.