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

--- Comment #5 from Matthias Klose <doko at gcc dot gnu.org> ---
goes further, until:

../../src/gcc/cobol/lexio.cc: In function 'replacing_pair_t
parse_replacing_pair(const char*, const char*)':
../../src/gcc/cobol/lexio.cc:725:33: error: call of overloaded 'span_t(long
unsigned int, const char*&)' is ambiguous
  725 |     pair.stmt = span_t(0UL, stmt);
      |                                 ^
../../src/gcc/cobol/lexio.cc:725:33: note: there are 5 candidates

and

../../src/gcc/cobol/symbols.cc:2502:43: error: static assertion failed: need
bigger type
 2502 |   static_assert(sizeof(cbl_field_t::type) < sizeof(inherit), "need
bigger type");
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
../../src/gcc/cobol/symbols.cc:2502:43: note: the comparison reduces to '(4 <
4)'
../../src/gcc/cobol/parse.y: In function 'int yyparse()':
../../src/gcc/cobol/parse.y:3626:54: error: static assertion failed: size
matters
 3626 |                     static_assert(sizeof(sign_attrs) ==
sizeof($field->attr),
      |                                  
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~          
../../src/gcc/cobol/parse.y:3626:54: note: the comparison reduces to '(4 == 8)'
make[5]: *** [Makefile:1215: cobol/symbols.o] Error 1

Reply via email to