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 libstdc++/19573] [4.0 regression] g++.old-deja/g++.robertl/eb132.C, eb73.C failures


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-22 22:47 -------
Turns out this is correct warning and this is a dup of bug 19343 which has a way to fix it.

      pointer
      allocate(size_type __n, const void* = 0) 
      { 
        if (__builtin_expect(__n > this->max_size(), false)) 
          std::__throw_bad_alloc();   <-- this function does not have noreturn on it.

        return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
      }

*** This bug has been marked as a duplicate of 19343 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
          Component|c++                         |libstdc++
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19573


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