[Bug c++/103790] internal compiler error: Segmentation fault when playing with coroutine

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 28 11:36:20 GMT 2022


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

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andre Vehreschild <vehre@gcc.gnu.org>:

https://gcc.gnu.org/g:26e237fb5b83582b30ef7c5a388bc4e968a5a289

commit r12-6915-g26e237fb5b83582b30ef7c5a388bc4e968a5a289
Author: Andre Vehreschild <vehre@gcc.gnu.org>
Date:   Fri Jan 28 12:34:17 2022 +0100

    Prevent malicious descriptor stacking for scalar components [V2].

    gcc/fortran/ChangeLog:

            PR fortran/103790
            * trans-array.cc (structure_alloc_comps): Prevent descriptor
            stacking for non-array data; do not broadcast caf-tokens.
            * trans-intrinsic.cc (conv_co_collective): Prevent generation
            of unused descriptor.

    gcc/testsuite/ChangeLog:

            PR fortran/103790
            * gfortran.dg/coarray_collectives_18.f90: New test.


More information about the Gcc-bugs mailing list