https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106762

qinzhao at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |qinzhao at gcc dot gnu.org

--- Comment #4 from qinzhao at gcc dot gnu.org ---
adding -fdisable-tree-isolate-paths makes the warning disappearing.
I agree that GCC does catch the bug in the attached testing case as commented
in comment #1.

This is a similar issue as PR109071. it might be better to provide more
information to the end-user in the diagnostic.

Reply via email to