https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119364
Simon Sobisch <simonsobisch at gnu dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simonsobisch at gnu dot org --- Comment #22 from Simon Sobisch <simonsobisch at gnu dot org> --- (In reply to Matthias Klose from comment #21) > the attached patch doesn't apply anymore for the 15.1.0 release, and the > build on i686 fails with > > In file included from ../../src/gcc/cobol/cdf.y:37: > ../../src/gcc/cobol/../../libgcobol/common-defs.h:186:23: error: enumerator > value '4294967296' is outside the range of underlying type 'size_t' {aka > 'unsigned int'} > 186 | depends_on_e = 0x0100000000, // A group hierachy contains a > DEPENDING_ON > | ^~~~~~~~~~~~ > ../../src/gcc/cobol/../../libgcobol/common-defs.h:187:23: error: enumerator > value '8589934592' is outside the range of underlying type 'size_t' {aka > 'unsigned int'} > 187 | initialized_e = 0x0200000000, // Don't call parser_initialize > from parser_symbol_add > | ^~~~~~~~~~~~ At least that one would be easily solvable by applying the last part of Jakub's original patch: --- libgcobol/common-defs.h.jj 2025-04-05 15:37:29.439058824 +0200 +++ libgcobol/common-defs.h 2025-04-05 15:38:05.024579514 +0200 @@ -146,7 +146,7 @@ enum cbl_field_type_t { * A field is padded (in the unjustified direction) either with 0 or SPC. * (But maybe the fill character should just be an explicit character.) */ -enum cbl_field_attr_t : size_t { +enum cbl_field_attr_t : uint64_t { @Bob: is there a reason to not apply the rebased patch from Jakub, even if 32bit is currently explicit out of scope?