[Bug middle-end/107284] Option properties Mask infrastructure can be extended with wide_int_bitmask

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 28 10:45:48 GMT 2022


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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|marxin at gcc dot gnu.org          |unassigned at gcc dot gnu.org
             Status|ASSIGNED                    |NEW

--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
So apparently it won't be so simple as cl_target_option is a GGC structure and
thus wide_int_bitmask needs to use GTY. However, I get the following errors:

/home/marxin/Programming/gcc/gcc/wide-int-bitmask.h:26: undefined type
`constexpr'
/home/marxin/Programming/gcc/gcc/wide-int-bitmask.h:26: undefined type
`constexpr'
/home/marxin/Programming/gcc/gcc/wide-int-bitmask.h:26: undefined type
`constexpr'

Just for the record, right now, there are 26 free bits available in
ix86_isa_flags2.


More information about the Gcc-bugs mailing list