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

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-13 branch has been updated by Georg-Johann Lay
<g...@gcc.gnu.org>:

https://gcc.gnu.org/g:3f6efe203484f7fb29c048d024dd8205e9e0f193

commit r13-8227-g3f6efe203484f7fb29c048d024dd8205e9e0f193
Author: Georg-Johann Lay <a...@gjlay.de>
Date:   Mon Jan 15 13:25:59 2024 +0100

    AVR: target/107201: Make -nodevicelib work for all devices.

            driver-avr.cc contains a spec that discriminates between cores
            and devices by means of a mmcu=avr* spec pattern.  This does not
            work for new devices like AVR128* which also start with mmcu=avr
            like all cores do.  The patch uses a new spec function in order to
            tell apart cores from devices.

    gcc/
            PR target/107201
            * config/avr/avr.h (EXTRA_SPEC_FUNCTIONS): Add no-devlib,
avr_no_devlib.
            * config/avr/driver-avr.cc (avr_no_devlib): New function.
            (avr_devicespecs_file): Use it to remove -nodevicelib from the
            options for cores only.
            * config/avr/avr-arch.h (avr_get_parch): New prototype.
            * config/avr/avr-devices.cc (avr_get_parch): New function.

    (cherry picked from commit 86fac7ee1688bdec245a43f6d2ab49fb238892e4)

Reply via email to