I ran into some issues when building the COBOL frontend with GCC 5.4. The patches are pretty simple, but I split them to make review easier.
Pietro Monteiro (3): cobol: Use gcc_fallthrough() instead of __attribute__((fallthrough)) cobol: Use sym_name_t constructor to instantiate new object libgcobol: Add hash function for enum cbl_enconding_t gcc/cobol/cdf-copy.cc | 2 +- gcc/cobol/lexio.cc | 2 +- gcc/cobol/parse.y | 10 +++++----- gcc/cobol/scan_ante.h | 6 +++--- gcc/cobol/symfind.cc | 3 ++- gcc/cobol/util.cc | 4 ++-- libgcobol/charmaps.cc | 8 +++++--- libgcobol/encodings.h | 11 +++++++++++ 8 files changed, 30 insertions(+), 16 deletions(-) base-commit: 29e4b7f1100ad3dd611da6fc3314a41978c5fc25 -- 2.43.0
