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

--- Comment #11 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andrea Pinski <[email protected]>:

https://gcc.gnu.org/g:ea9ca5b61117e57899e848def9124ea9f40aca49

commit r17-3262-gea9ca5b61117e57899e848def9124ea9f40aca49
Author: Andrea Pinski <[email protected]>
Date:   Thu Aug 13 09:53:50 2026 -0700

    testsuite: Add a returns_twice testcase for PR126815 [PR126815]

    This adds a returns_twice testcase that shows the ICE (already fixed)
    and show that adding a stmt before the call does not work either.

    Pushed as obvious after a quick test on x86_64-linux-gnu to make sure it
passes.

            PR tree-optimization/126815

    gcc/testsuite/ChangeLog:

            * gcc.dg/torture/returns-twice-1.c: New test.

    Signed-off-by: Andrea Pinski <[email protected]>

Reply via email to