On Wed, Mar 19, 2025 at 6:39 PM Matthias Klose <d...@debian.org> wrote: > > For building ghdl, the compiler needs to be patched to know the "vhdl" > language. Could that patch be applied to the upstream GCC, so that not > everybody needs to patch GCC to build ghdl?
I would suggest, since with LTO all languages are globbed to i == 0, to rework the if chain to instead of making it exhaustive with gcc_unreachable (), make it fall back to i == 0 for not otherwise handled languages. Whatever this code does. Thanks, Richard. > > Thanks, Matthias