https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114294
--- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> --- Created attachment 57704 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57704&action=edit Proposed fix The proposed fix was to assign a type to the result constant created by HIGH. The call to PutConst was missing.