https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102344
--- Comment #7 from Gaius Mulley <gaius at gcc dot gnu.org> --- Created attachment 57575 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57575&action=edit Proposed fix Here is a proposed fix - it adds a new testlong4.mod test inside the extensions/cpp directory and conditionally compiles the correct constant value for the sizeof long.