https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78822
Bug ID: 78822 Summary: [cleanup] replace static char buffers by std:string Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: janus at gcc dot gnu.org Target Milestone: --- Several functions in interface.c use static-size char buffers for constructing error messages, e.g.: * gfc_compare_interfaces * gfc_check_result_characteristics * gfc_check_dummy_characteristics# * ... It would be more efficient to replace those by std::string, in order to allocate the memory dynamically as needed (and only if needed at all).