[Bug middle-end/112938] ice with -fstrub=internal

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 14 13:41:54 GMT 2023


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

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

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

commit r14-6547-ge1e71b4e0681974b3db41afa7fc18720a30d6848
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Thu Dec 14 10:41:19 2023 -0300

    strub: indirect volatile parms in wrappers

    Arrange for strub internal wrappers to pass volatile arguments by
    reference to the wrapped bodies.


    for  gcc/ChangeLog

            PR middle-end/112938
            * ipa-strub.cc (pass_ipa_strub::execute): Pass volatile args
            by reference to internal strub wrapped bodies.

    for  gcc/testsuite/ChangeLog

            PR middle-end/112938
            * gcc.dg/strub-internal-volatile.c: Check indirection of
            volatile args.


More information about the Gcc-bugs mailing list