On 6/12/25 11:03 AM, Alfie Richards wrote:
Add logic for the case of two FMV annotated functions with identical
signature other than the return type.
Previously this was ignored, this changes the behavior to emit a diagnostic.
gcc/cp/ChangeLog:
PR c++/119498
* decl.cc (duplicate_decls): Change logic to not always exclude FMV
annotated functions in cases of return type non-ambiguation.
OK. One could easily make the argument this should go in now given it
seems to fix a bug and appears to be independent of the rest of the
patchkit.
jeff