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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <h...@gcc.gnu.org>:

https://gcc.gnu.org/g:46028a2f40329bbc6a7d7638b5bab6b3bb282009

commit r16-3809-g46028a2f40329bbc6a7d7638b5bab6b3bb282009
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Mon Sep 8 07:47:35 2025 -0700

    pr107421.f90: Require PIE and pass -fPIE for non-x86 targets

    -mno-direct-extern-access is used to disable direct access to external
    symbol from executable with and without PIE for x86.  Require PIE and
    pass -fPIE to disable direct access to external symbol for other targets.

            PR fortran/107421
            PR testsuite/121848
            * gfortran.dg/gomp/pr107421.f90: Require PIE and pass -fPIE for
            non-x86 targets.

    Signed-off-by: H.J. Lu <hjl.to...@gmail.com>

Reply via email to