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

--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Alexandre Oliva <aol...@gcc.gnu.org>:

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

commit r14-6062-gb8edb812ff4934c609fdfafe2e1c7f932bc18305
Author: Alexandre Oliva <ol...@adacore.com>
Date:   Fri Dec 1 14:31:22 2023 -0300

    hardcfr: make builtin_return tests more portable [PR112334]

    Rework __builtin_return tests to explicitly call __builtin_apply and
    use its return value rather than anything else.  Also require
    untyped_assembly.  Avoid the noise out of exceptions escaping the
    builtin-applied function, but add a test to cover their effects as
    well.


    for  gcc/testsuite/ChangeLog

            PR target/112334
            * c-c++-common/torture/harden-cfr-bret.c: Rework for stricter
            untyped_return requirements.  Require untyped_assembly.
            * c-c++-common/torture/harden-cfr-bret-except.c: New.
            * c-c++-common/torture/harden-cfr-bret-always.c: Require
            untyped_assembly.
            * c-c++-common/torture/harden-cfr-bret-never.c: Likewise.
            * c-c++-common/torture/harden-cfr-bret-noopt.c: Likewise.
            * c-c++-common/torture/harden-cfr-bret-noret.c: Likewise.
            * c-c++-common/torture/harden-cfr-bret-no-xthrow.c: Likewise.
            * c-c++-common/torture/harden-cfr-bret-nothrow.c: Likewise.
            * c-c++-common/torture/harden-cfr-bret-retcl.c: Likewise.

Reply via email to