This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/78822] [cleanup] replace static char buffers by std:string


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

--- Comment #20 from Pedro Alves <palves at redhat dot com> ---
And in addition, since GCC is already using new/new[] to heap allocate its own
classes, GCC is _already_ inconsistent with allocation failure -- if one of
those currently fails, you'll end up with a C++ exception that nobody is
catching, so GCC dies a horrible death.  Replacing operator new of course would
handle those too.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]