[Bug c++/84684] inserting random code / flags produces wrong code

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 5 12:49:00 GMT 2018


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Or also defining another method in union_composition, like:

    static constexpr auto make_value_to_char1()
    {
        constexpr auto N = sizeof...(alphabet_types);
        return N;
    }

makes it go away.


More information about the Gcc-bugs mailing list