This is the mail archive of the gcc-patches@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]

Re: [4.0 PATCH] Fix for PR21951


On Sat, 11 Jun 2005, Dan Kegel wrote:
> C++ programs compiled with -fno-exceptions fail with gcc-4.0.0
> because of false positive warnings about control reaching
> the end of a inlined function without returning a value
> (see http://gcc.gnu.org/PR21951).

Yes, that's a bad one.

> 	PR c++/21951: avoid appearing to hit end of function when compiled
> with -fno-exceptions
> 	* libstdc++-v3/include/bits/stl_vector.h
> 	* libstdc++-v3/include/bits/stl_uninitialized.h
> 	* libstdc++-v3/include/ext/rope
> 	* libstdc++-v3/include/ext/memory
> 	* libstdc++-v3/include/ext/hashtable.h

Either this, or someone tries to convince Honza to backport his fixes
from mainline. (I believe it was Honza who fixed this by virtue of his
inline work, but I may be wrong.)

Gerald


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