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

Jerry DeLisle <jvdelisle at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jvdelisle at gcc dot gnu.org

--- Comment #22 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
(In reply to janus from comment #0)
> 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).

Efficient in what way? Memory use? Insignificant. Performance? No.

I suggest leaving this alone and close it as dont bother. If its not broke
don't fix it. Just my 2 cents worth.

Reply via email to