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

--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>:

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

commit r13-2129-gdd899c7de36d19ddf18e3bfab4a0c150096e2368
Author: Jakub Jelinek <ja...@redhat.com>
Date:   Sat Aug 20 21:20:04 2022 +0200

    fortran: Drop -static-lib{gfortran,quadmath} from f951 [PR46539]

    As discussed earlier, all other -static-lib* options are Driver only,
    these 2 are Driver in common.opt and Fortran in lang.opt.

    The spec files never pass the -static-lib* options down to any compiler
    (f951 etc.), so the 2 errors below are reported only when one
    runs ./f951 -static-libgfortran by hand.

    The following patch just removes f951 support of these options, the
    gfortran driver behavior remains as before.  For other -static-lib*
    option (and even these because it is never passed to f951) we never
    error if we can't support those options, and e.g. Darwin is actually
    able to handle those options through other means.

    2022-08-20  Jakub Jelinek  <ja...@redhat.com>

            PR fortran/46539
            * lang.opt (static-libgfortran, static-libquadmath): Change Fortran
            to Driver.
            * options.cc (gfc_handle_option): Don't handle
OPT_static_libgfortran
            nor OPT_static_libquadmath here.

Reply via email to