diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-03 07:11:16 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-03 07:11:16 +0000 |
commit | 7657dcb9ff3f63747b3e659ab6501a9344101346 (patch) | |
tree | a69884d5943b35283998bcada5435805703a393b | |
parent | 065879726d3714d75d4d85f7d394dd635cb223ea (diff) | |
download | gcc-7657dcb9ff3f63747b3e659ab6501a9344101346.tar.gz |
* libsupc++/new_op.cc: Update comments.
* libsupc++/del_op.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85464 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/del_op.cc | 5 | ||||
-rw-r--r-- | libstdc++-v3/libsupc++/new_op.cc | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 68a7ad3535e..f38b706f127 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2004-08-03 Mark Mitchell <mark@codesourcery.com> + + * libsupc++/new_op.cc: Update comments. + * libsupc++/del_op.cc: Likewise. + 2004-08-02 Mark Mitchell <mark@codesourcery.com> * libsupc++/cxxabi.h: Make all declarations have default diff --git a/libstdc++-v3/libsupc++/del_op.cc b/libstdc++-v3/libsupc++/del_op.cc index cfaa798f4c1..e99f5b658d5 100644 --- a/libstdc++-v3/libsupc++/del_op.cc +++ b/libstdc++-v3/libsupc++/del_op.cc @@ -34,9 +34,8 @@ #if _GLIBCXX_HOSTED using std::free; #else -// In a freestanding environment, "free" may not be available. In -// that case, it may make sense not to define "operator delete" at -// all. For now, we assume that "free" will work. +// A freestanding C runtime may not provide "free" -- but there is no +// other reasonable way to implement "operator delete". extern "C" void free(void *); #endif diff --git a/libstdc++-v3/libsupc++/new_op.cc b/libstdc++-v3/libsupc++/new_op.cc index 186895bdf2e..983ae45420e 100644 --- a/libstdc++-v3/libsupc++/new_op.cc +++ b/libstdc++-v3/libsupc++/new_op.cc @@ -36,9 +36,8 @@ using std::bad_alloc; #if _GLIBCXX_HOSTED using std::malloc; #else -// In a freestanding environment, "malloc" may not be available. In -// that case, it may make sense not to define "operator new" at all. -// For now, we assume that "malloc" will work. +// A freestanding C runtime may not provide "malloc" -- but there is no +// other reasonable way to implement "operator new". extern "C" void *malloc (std::size_t); #endif |