]> gcc.gnu.org Git - gcc.git/commit
Fortran: Avoid running into assert with -fcheck= + UBSAN
authorTobias Burnus <tobias@codesourcery.com>
Fri, 22 Oct 2021 21:23:06 +0000 (23:23 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Mon, 7 Mar 2022 18:18:06 +0000 (19:18 +0100)
commit6fd96bd58cf343f5a08b132fd8d4a3ee779c9c5b
tree1e9fa55c8eb78a2464d8075ec787b74bff63e786
parentc0d260e27e7132e3696a5d6d0ded3ed39cc4bca5
Fortran: Avoid running into assert with -fcheck= + UBSAN

PR fortran/92621
gcc/fortran/
* trans-expr.c (gfc_trans_assignment_1): Add STRIP_NOPS.

gcc/testsuite/
* gfortran.dg/bind-c-intent-out-2.f90: New test.

(cherry picked from commit 24e99e6ec1cc57f3660c00ff677c7feb16aa94d2)
gcc/fortran/trans-expr.c
gcc/testsuite/gfortran.dg/bind-c-intent-out-2.f90 [new file with mode: 0644]
This page took 0.075125 seconds and 6 git commands to generate.